fontanini.dev Open in urlscan Pro
67.55.175.201  Public Scan

URL: https://fontanini.dev/main.50eb63f1603d34e0.js
Submission: On December 14 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

(self.webpackChunkombi=self.webpackChunkombi||[]).push([[590],{4885:(lt,me,u)=>{"use strict";u.d(me,{Q:()=>l});var s=u(8860),d=u(2116),o=u(7564),f=u(6456);let l=(()=>{class i{constructor(_,I,B){this.auth=_,this.router=I,this.store=B}canActivate(){return!!this.auth.loggedIn()||(this.store.remove("token"),this.router.navigate(["login"]),!1)}static#e=this.\u0275fac=function(I){return new(I||i)(d.CoB(s.o),d.CoB(o.E5),d.CoB(f.y))};static#t=this.\u0275prov=d.wxM({token:i,factory:i.\u0275fac})}return i})()},8860:(lt,me,u)=>{"use strict";u.d(me,{o:()=>y});var s=u(1368),d=u(4324),o=u(2116),f=u(7048),l=u(224),i=u(6456);let y=(()=>{class _ extends d.Uh{constructor(B,K,ie,oe){super(B,"/api/v1/token",K),this.jwtHelperService=ie,this.store=oe}login(B){return this.http.post(`${this.url}/`,JSON.stringify(B),{headers:this.headers})}oAuth(B){return this.http.get(`${this.url}/${B}`,{headers:this.headers})}requiresPassword(B){return this.http.post(`${this.url}/requirePassword`,JSON.stringify(B),{headers:this.headers})}headerAuth(){return this.http.post(`${this.url}/header_auth`,{},{headers:this.headers})}getToken(){return this.jwtHelperService.tokenGetter()}loggedIn(){const B=this.jwtHelperService.tokenGetter();return!!B&&!this.jwtHelperService.isTokenExpired(B)}claims(){if(this.loggedIn()){const B=this.store.get("id_token");if(!B)throw new Error("Invalid token");const K=this.jwtHelperService.decodeToken(B),ie=K.role,ae={name:K.sub,roles:[],email:K.Email};return ie instanceof Array?ae.roles=ie:ae.roles.push(ie),ae}return{}}hasRole(B){const K=this.claims();return!!(K&&K.roles&&B&&K.roles.length>0)&&K.roles.some(ie=>null!=ie&&ie.toUpperCase()===B.toUpperCase())}isAdmin(){return this.hasRole("Admin")||this.hasRole("PowerUser")}logout(){this.store.remove("id_token")}static#e=this.\u0275fac=function(K){return new(K||_)(o.CoB(f.KK),o.CoB(s.wH),o.CoB(l.iM),o.CoB(i.y))};static#t=this.\u0275prov=o.wxM({token:_,factory:_.\u0275fac})}return _})()},5262:(lt,me,u)=>{"use strict";u.d(me,{a:()=>_});var s=u(1737),d=u(4324),o=u(9684);const f=(0,o.gV)("fadeInOut",[(0,o.aK)(":enter",[(0,o.wb)({opacity:0}),(0,o.Cs)(1e3,(0,o.wb)({opacity:1}))]),(0,o.aK)(":leave",[(0,o.Cs)(1e3,(0,o.wb)({opacity:0}))])]);var l=u(2116),i=u(4476),y=u(1368);let _=(()=>{class I{constructor(K,ie){this.images=K,this.sanitizer=ie}ngOnDestroy(){clearTimeout(this.timer)}ngOnInit(){this.cycleBackground(),this.timer=setInterval(()=>{this.cycleBackground()},3e4)}cycleBackground(){this.images.getRandomBackgroundWithInfo().subscribe(K=>{this.background=this.sanitizer.bypassSecurityTrustStyle("url("+K.url+")"),this.name=K.name})}static#e=this.\u0275fac=function(ie){return new(ie||I)(l.GI1(d.cb),l.GI1(i.mI))};static#t=this.\u0275cmp=l.In1({type:I,selectors:[["ombi-image-background"]],standalone:!0,features:[l.M5G([d.cb]),l.UHJ],decls:4,vars:4,consts:[[1,"bg"],[1,"login-gradient-bar"],[1,"poster-desc"]],template:function(ie,oe){1&ie&&(l.I0R(0,"div",0),l.wR5(1,"div",1),l.I0R(2,"div",2),l.OEk(3),l.C$Y()()),2&ie&&(l.m4B("background-image",oe.background),l.E7m("@fadeInOut",void 0),l.yG2(3),l.cNF(oe.name))},dependencies:[y.MD,s.KC],styles:[".login-gradient-bar[_ngcontent-%COMP%]{background:linear-gradient(-10deg,transparent 20%,rgba(0,0,0,.6) 20%,rgba(0,0,0,.6) 80%,transparent 60%),transparent;height:100%;width:100%;position:absolute}.bg[_ngcontent-%COMP%]{background-position:center center;background-repeat:no-repeat;background-attachment:fixed;background-size:cover;height:100vh;width:100vw;position:fixed}.poster-desc[_ngcontent-%COMP%]{padding-left:1%;color:#fff;height:100vh;width:100vw;display:flex;justify-content:end;flex-direction:column}"],data:{animation:[f]}})}return I})()},3920:(lt,me,u)=>{"use strict";u.d(me,{C:()=>f});var s=u(9966),d=u(1368),o=u(2116);let f=(()=>{class l{constructor(y){this.href=y,this.baseUrl="",this.defaultTv="/images/default_tv_poster.png",this.defaultMovie="/images/default_movie_poster.png",this.defaultMusic="/images/default-music-placeholder.png",this.maxRetries=1,this.retriesPerformed=0,this.href.length>1&&(this.baseUrl=this.href)}ngOnInit(){this.src||(this.src=this.getPlaceholderImage())}onError(y){if(y.target.src=this.getPlaceholderImage(),!this.src||this.retriesPerformed===this.maxRetries)return;this.retriesPerformed++;const _=setTimeout(()=>{clearTimeout(_),y.target.src=this.src},Math.floor(6001*Math.random())+1e3)}getPlaceholderImage(){switch(this.type){case s.ID.movie:return this.baseUrl+this.defaultMovie;case s.ID.tvShow:return this.baseUrl+this.defaultTv;case s.ID.album:return this.baseUrl+this.defaultMusic}}static#e=this.\u0275fac=function(_){return new(_||l)(o.GI1(d.wH))};static#t=this.\u0275cmp=o.In1({type:l,selectors:[["ombi-image"]],inputs:{src:"src",type:"type",class:"class",id:"id",alt:"alt",style:"style"},standalone:!0,features:[o.UHJ],decls:1,vars:6,consts:[[3,"src","id","error"]],template:function(_,I){1&_&&(o.I0R(0,"img",0),o.qCj("error",function(K){return I.onError(K)}),o.C$Y()),2&_&&(o.m_g(I.style),o.m8U(I.class),o._6D("src",I.src,o.K6U),o.E7m("id",I.id))},dependencies:[d.MD],encapsulation:2,changeDetection:0})}return l})()},5292:(lt,me,u)=>{"use strict";u.d(me,{cB:()=>j,a6:()=>s.a,Co:()=>d.C});var s=u(5262),d=u(3920),o=u(2116),f=u(9966),l=u(4324),i=u(5657),y=u(3616),_=u(4476),I=u(1368),B=u(8760),K=u(5372),ie=u(4748),oe=u(1592),Ge=u(2124);function ae(ke,rt){if(1&ke&&(o.I0R(0,"div",9)(1,"p",7),o.OEk(2),o.wVc(3,"translate"),o.C$Y()()),2&ke){const le=o.GaO();o.yG2(),o.CI5("id","detailed-request-requestedby-",le.request.mediaId,""),o.yG2(),o.CAO("",o.kDX(3,3,"MediaDetails.RequestedBy")," ",le.request.username,"")}}function Z(ke,rt){if(1&ke){const le=o.KQA();o.I0R(0,"div")(1,"button",12),o.qCj("click",function(){o.usT(le);const Y=o.GaO(2);return o.CGJ(Y.approve())}),o.wVc(2,"translate"),o.I0R(3,"mat-icon"),o.OEk(4,"check-circle"),o.C$Y()(),o.I0R(5,"button",12),o.qCj("click",function(){o.usT(le);const Y=o.GaO(2);return o.CGJ(Y.deny())}),o.wVc(6,"translate"),o.I0R(7,"mat-icon"),o.OEk(8,"cancel"),o.C$Y()()()}if(2&ke){const le=o.GaO(2);o.yG2(),o.CI5("id","detailed-request-approve-",le.request.mediaId,""),o._6D("matTooltip",o.kDX(2,4,"Common.Approve")),o.yG2(4),o.CI5("id","detailed-request-deny-",le.request.mediaId,""),o._6D("matTooltip",o.kDX(6,6,"Requests.Deny"))}}function _e(ke,rt){if(1&ke&&(o.I0R(0,"div",9),o.yuY(1,Z,9,8,"div",11),o.C$Y()),2&ke){const le=o.GaO();o.yG2(),o.E7m("ngIf",!le.request.approved&&!le.request.denied)}}let j=(()=>{class ke{constructor(le,ye){this.imageService=le,this.sanitizer=ye,this.isAdmin=!1,this.onClick=new o._w7,this.onApprove=new o._w7,this.onDeny=new o._w7,this.RequestType=f.ID,this.$imageSub=new i.E}ngOnInit(){this.loadPosterPath(),this.loadBackgroundPath()}getStatus(le){return le.denied?"Common.Denied":le.available?"Common.Available":le.tvPartiallyAvailable?"Common.PartiallyAvailable":le.approved?"Common.Approved":"Common.Pending"}click(){this.onClick.emit()}approve(){this.onApprove.emit()}deny(){this.onDeny.emit()}getClass(le){return le.denied?"danger":le.available||le.tvPartiallyAvailable?"success":le.approved?"primary":"info"}ngOnDestroy(){this.$imageSub.next(),this.$imageSub.complete()}loadPosterPath(){if(this.request.posterPath)this.setPosterPath(this.request.posterPath);else switch(this.request.type){case f.ID.movie:this.imageService.getMoviePoster(this.request.mediaId).pipe((0,y.a)(this.$imageSub)).subscribe(le=>this.setPosterPath(le));break;case f.ID.tvShow:this.imageService.getTmdbTvPoster(Number(this.request.mediaId)).pipe((0,y.a)(this.$imageSub)).subscribe(le=>this.setPosterPath(le))}}setPosterPath(le){this.request.posterPath=le?this.getImageUrl(le):null}loadBackgroundPath(){if(this.request.background)this.setBackgroundStyle(this.request.background);else switch(this.setBackgroundStyle(null),this.request.type){case f.ID.movie:this.imageService.getMovieBackground(this.request.mediaId).pipe((0,y.a)(this.$imageSub)).subscribe(le=>this.setBackgroundStyle(le));break;case f.ID.tvShow:this.imageService.getTmdbTvBackground(Number(this.request.mediaId)).pipe((0,y.a)(this.$imageSub)).subscribe(le=>this.setBackgroundStyle(le))}}setBackgroundStyle(le){this.background=le?this.sanitizer.bypassSecurityTrustStyle(`linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)), url(${this.getImageUrl(le)})`):"linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5))"}getImageUrl(le){return new RegExp("^(http|https)://").test(le)?le:`https://image.tmdb.org/t/p/w300${le}`}static#e=this.\u0275fac=function(ye){return new(ye||ke)(o.GI1(l.cb),o.GI1(_.mI))};static#t=this.\u0275cmp=o.In1({type:ke,selectors:[["ombi-detailed-card"]],inputs:{request:"request",isAdmin:"isAdmin"},outputs:{onClick:"onClick",onApprove:"onApprove",onDeny:"onDeny"},decls:28,vars:32,consts:[[1,"detailed-container",3,"id"],[1,"row"],[1,"col-xl-5","col-lg-5","col-md-5","col-sm-12","posterColumn"],[1,"poster",3,"src","type","alt","click"],[1,"col-xl-7","col-lg-7","col-md-7","col-sm-12"],[1,"col-12","title"],[1,"text-right","year"],[3,"id"],["class","col-12",4,"ngIf"],[1,"col-12"],[1,"row","action-items"],[4,"ngIf"],["color","accent","mat-raised-button","",3,"id","matTooltip","click"]],template:function(ye,Y){1&ye&&(o.I0R(0,"div",0)(1,"div",1)(2,"div",2)(3,"ombi-image",3),o.qCj("click",function(){return Y.click()}),o.C$Y()(),o.I0R(4,"div",4)(5,"div",1)(6,"div",5)(7,"div",6)(8,"sup"),o.OEk(9),o.wVc(10,"date"),o.C$Y()(),o.I0R(11,"h3",7),o.OEk(12),o.C$Y()(),o.yuY(13,ae,4,5,"div",8),o.I0R(14,"div",9)(15,"p",7),o.OEk(16),o.wVc(17,"translate"),o.wVc(18,"ombiDate"),o.C$Y()(),o.I0R(19,"div",9)(20,"p",7),o.OEk(21),o.wVc(22,"translate"),o.I0R(23,"span"),o.OEk(24),o.wVc(25,"translate"),o.C$Y()()()(),o.I0R(26,"div",10),o.yuY(27,_e,2,1,"div",8),o.C$Y()()()()),2&ye&&(o.m4B("background-image",Y.background),o.CI5("id","detailed-",Y.request.mediaId,""),o.yG2(3),o._6D("alt",Y.request.title),o.E7m("src",Y.request.posterPath)("type",Y.request.type),o.yG2(6),o.cNF(o.g7$(10,20,Y.request.releaseDate,"yyyy")),o.yG2(2),o.CI5("id","detailed-request-title-",Y.request.mediaId,""),o.yG2(),o.cNF(Y.request.title),o.yG2(),o.E7m("ngIf",Y.request.username),o.yG2(2),o.CI5("id","detailed-request-date-",Y.request.mediaId,""),o.yG2(),o.CAO("",o.kDX(17,23,"MediaDetails.OnDate")," ",o.g7$(18,25,Y.request.requestDate,"Ppp"),""),o.yG2(4),o.CI5("id","detailed-request-status-",Y.request.mediaId,""),o.yG2(),o.oRS("",o.kDX(22,28,"MediaDetails.Status")," "),o.yG2(2),o.uQ9("badge badge-",Y.getClass(Y.request),""),o.yG2(),o.cNF(o.kDX(25,30,Y.getStatus(Y.request))),o.yG2(3),o.E7m("ngIf",Y.isAdmin))},dependencies:[I.u_,B.Gw,K.qL,ie.a4,d.C,oe.sD,I.y,Ge.g],styles:[".detailed-container[_ngcontent-%COMP%]{width:400px;height:250px;margin:10px;padding:10px;border-radius:10px;border:1px solid #35465c;background-color:#1b242f;background-size:cover;background-repeat:no-repeat;background-position:center center}@media (max-width: 768px){.detailed-container[_ngcontent-%COMP%]{width:200px;height:auto}}.detailed-container[_ngcontent-%COMP%]   .overview[_ngcontent-%COMP%]{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}@media (max-width: 768px){.detailed-container[_ngcontent-%COMP%]   .year[_ngcontent-%COMP%]{padding-top:3%}}.detailed-container[_ngcontent-%COMP%]     .poster{cursor:pointer;border-radius:10px;opacity:1;display:block;height:225px;width:100%;transition:.5s ease;backface-visibility:hidden;border:1px solid #35465c}@media (min-width: 768px){.detailed-container[_ngcontent-%COMP%]   .action-items[_ngcontent-%COMP%]{bottom:0;position:absolute}}.detailed-container[_ngcontent-%COMP%]   .action-items[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin:4px}"]})}return ke})()},5664:(lt,me,u)=>{"use strict";u.d(me,{q:()=>d});var s=u(2116);let d=(()=>{class o{constructor(){this.onFilterChange=new s._w7}changeFilter(l){this.filter=l,this.onFilterChange.emit(this.filter)}static#e=this.\u0275fac=function(i){return new(i||o)};static#t=this.\u0275prov=s.wxM({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})()},9966:(lt,me,u)=>{"use strict";u.d(me,{KA:()=>B,c9:()=>oe,on:()=>Ge,KO:()=>d,kT:()=>K,OQ:()=>i,ID:()=>l,s5:()=>Z,sD:()=>ie,_m:()=>_e,CS:()=>o});var d=function(j){return j[j.NewRequest=0]="NewRequest",j[j.Issue=1]="Issue",j[j.RequestAvailable=2]="RequestAvailable",j[j.RequestApproved=3]="RequestApproved",j[j.AdminNote=4]="AdminNote",j[j.Test=5]="Test",j[j.RequestDeclined=6]="RequestDeclined",j[j.ItemAddedToFaultQueue=7]="ItemAddedToFaultQueue",j[j.WelcomeEmail=8]="WelcomeEmail",j[j.IssueResolved=9]="IssueResolved",j[j.IssueComment=10]="IssueComment",j[j.Newsletter=11]="Newsletter",j[j.PartiallyAvailable=12]="PartiallyAvailable",j}(d||{}),o=function(j){return j[j.Successful=0]="Successful",j[j.Failed=1]="Failed",j[j.NotEnabled=2]="NotEnabled",j}(o||{}),l=function(j){return j[j.tvShow=0]="tvShow",j[j.movie=1]="movie",j[j.album=2]="album",j}(l||{}),i=function(j){return j[j.Ombi=0]="Ombi",j[j.PlexWatchlist=1]="PlexWatchlist",j}(i||{}),B=function(j){return j[j.Stable=1]="Stable",j[j.Develop=0]="Develop",j}(B||{}),K=function(j){return j[j.Day=0]="Day",j[j.Week=1]="Week",j[j.Month=2]="Month",j}(K||{}),ie=function(j){return j[j.LocalUser=1]="LocalUser",j[j.PlexUser=2]="PlexUser",j[j.EmbyUser=3]="EmbyUser",j[j.EmbyConnect=4]="EmbyConnect",j[j.JellyfinUser=5]="JellyfinUser",j}(ie||{}),oe=function(j){return j[j.Email=0]="Email",j[j.Discord=1]="Discord",j[j.Pushbullet=2]="Pushbullet",j[j.Pushover=3]="Pushover",j[j.Telegram=4]="Telegram",j[j.Slack=5]="Slack",j[j.Mattermost=6]="Mattermost",j[j.Mobile=7]="Mobile",j[j.Gotify=8]="Gotify",j[j.Webhook=9]="Webhook",j[j.WhatsApp=10]="WhatsApp",j}(oe||{}),Ge=function(j){return j[j.Pending=0]="Pending",j[j.InProgress=1]="InProgress",j[j.Resolved=2]="Resolved",j}(Ge||{}),Z=function(j){return j[j.TvShow=0]="TvShow",j[j.Movie=1]="Movie",j[j.Album=2]="Album",j}(Z||{}),_e=function(j){return j[j.Upvote=0]="Upvote",j[j.Downvote=1]="Downvote",j}(_e||{})},4332:(lt,me,u)=>{"use strict";u.d(me,{C:()=>s});class s{constructor(o){Object.assign(this,o)}}},2124:(lt,me,u)=>{"use strict";u.d(me,{g:()=>o});var s=u(2116),d=u(9752);let o=(()=>{class f{constructor(i){this.FormatPipe=i}transform(i,y){const _=new Date(i);return this.FormatPipe.transform(_,y)}static#e=this.\u0275fac=function(y){return new(y||f)(s.GI1(d.ED_,16))};static#t=this.\u0275pipe=s.UTH({name:"ombiDate",type:f,pure:!0})}return f})()},6712:(lt,me,u)=>{"use strict";u.d(me,{E:()=>l});var s=u(1368),d=u(3636),o=u(2116),f=u(7048);let l=(()=>{class i extends d.U{constructor(_,I){super(_,"/api/v1/tester/",I)}discordTest(_){return this.http.post(`${this.url}discord`,JSON.stringify(_),{headers:this.headers})}pushbulletTest(_){return this.http.post(`${this.url}pushbullet`,JSON.stringify(_),{headers:this.headers})}pushoverTest(_){return this.http.post(`${this.url}pushover`,JSON.stringify(_),{headers:this.headers})}gotifyTest(_){return this.http.post(`${this.url}gotify`,JSON.stringify(_),{headers:this.headers})}webhookTest(_){return this.http.post(`${this.url}webhook`,JSON.stringify(_),{headers:this.headers})}mattermostTest(_){return this.http.post(`${this.url}mattermost`,JSON.stringify(_),{headers:this.headers})}whatsAppTest(_){return this.http.post(`${this.url}whatsapp`,JSON.stringify(_),{headers:this.headers})}slackTest(_){return this.http.post(`${this.url}slack`,JSON.stringify(_),{headers:this.headers})}emailTest(_){return this.http.post(`${this.url}email`,JSON.stringify(_),{headers:this.headers})}plexTest(_){return this.http.post(`${this.url}plex`,JSON.stringify(_),{headers:this.headers})}embyTest(_){return this.http.post(`${this.url}emby`,JSON.stringify(_),{headers:this.headers})}jellyfinTest(_){return this.http.post(`${this.url}jellyfin`,JSON.stringify(_),{headers:this.headers})}radarrTest(_){return this.http.post(`${this.url}radarr`,JSON.stringify(_),{headers:this.headers})}lidarrTest(_){return this.http.post(`${this.url}lidarr`,JSON.stringify(_),{headers:this.headers})}sonarrTest(_){return this.http.post(`${this.url}sonarr`,JSON.stringify(_),{headers:this.headers})}couchPotatoTest(_){return this.http.post(`${this.url}couchpotato`,JSON.stringify(_),{headers:this.headers})}telegramTest(_){return this.http.post(`${this.url}telegram`,JSON.stringify(_),{headers:this.headers})}sickrageTest(_){return this.http.post(`${this.url}sickrage`,JSON.stringify(_),{headers:this.headers})}newsletterTest(_){return this.http.post(`${this.url}newsletter`,JSON.stringify(_),{headers:this.headers})}mobileNotificationTest(_){return this.http.post(`${this.url}mobile`,JSON.stringify(_),{headers:this.headers})}static#e=this.\u0275fac=function(I){return new(I||i)(o.CoB(f.KK),o.CoB(s.wH))};static#t=this.\u0275prov=o.wxM({token:i,factory:i.\u0275fac})}return i})()},7332:(lt,me,u)=>{"use strict";u.d(me,{k:()=>l});var s=u(1368),d=u(3636),o=u(2116),f=u(7048);let l=(()=>{class i extends d.U{constructor(_,I){super(_,"/api/v2/hub/",I),this.http=_}getConnectedUsers(){return this.http.get(`${this.url}users`,{headers:this.headers}).toPromise()}static#e=this.\u0275fac=function(I){return new(I||i)(o.CoB(f.KK),o.CoB(s.wH))};static#t=this.\u0275prov=o.wxM({token:i,factory:i.\u0275fac})}return i})()},4324:(lt,me,u)=>{"use strict";u.d(me,{CW:()=>l,ec:()=>L,Yn:()=>i,K_:()=>dt,kr:()=>$e.k,Y$:()=>ye,cb:()=>Y,cj:()=>_t,Ss:()=>_,SA:()=>ot,ai:()=>g,XC:()=>ae,mi:()=>de,C6:()=>pt,Af:()=>Gt,gn:()=>V,QV:()=>oe,iG:()=>I,Ux:()=>Ge,CC:()=>B,Cs:()=>ce,Cm:()=>te.C,_w:()=>be,G_:()=>Ae.G,Uh:()=>d.U,Y7:()=>Fe,W8:()=>Et,An:()=>K,gF:()=>Se,Ti:()=>je,Er:()=>ie.E,Ci:()=>ke,NL:()=>le,KQ:()=>Je});var s=u(1368),d=u(3636),o=u(2116),f=u(7048);let l=(()=>{class Ye extends d.U{constructor(z,xe){super(z,"/api/v1/CouchPotato/",xe)}getProfiles(z){return this.http.post(`${this.url}profile`,JSON.stringify(z),{headers:this.headers})}getApiKey(z){return this.http.post(`${this.url}apikey`,JSON.stringify(z),{headers:this.headers})}static#e=this.\u0275fac=function(xe){return new(xe||Ye)(o.CoB(f.KK),o.CoB(s.wH))};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac})}return Ye})(),i=(()=>{class Ye extends d.U{constructor(z,xe){super(z,"/api/v1/Emby/",xe)}logIn(z){return this.http.post(`${this.url}`,JSON.stringify(z),{headers:this.headers})}getUsers(){return this.http.get(`${this.url}users`,{headers:this.headers})}getPublicInfo(z){return this.http.post(`${this.url}info`,JSON.stringify(z),{headers:this.headers})}getLibraries(z){return this.http.post(`${this.url}Library`,JSON.stringify(z),{headers:this.headers})}static#e=this.\u0275fac=function(xe){return new(xe||Ye)(o.CoB(f.KK),o.CoB(s.wH))};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac})}return Ye})();u(9966);let _=(()=>{class Ye extends d.U{constructor(z,xe){super(z,"/api/v1/Jellyfin/",xe)}logIn(z){return this.http.post(`${this.url}`,JSON.stringify(z),{headers:this.headers})}getUsers(){return this.http.get(`${this.url}users`,{headers:this.headers})}getPublicInfo(z){return this.http.post(`${this.url}info`,JSON.stringify(z),{headers:this.headers})}getLibraries(z){return this.http.post(`${this.url}Library`,JSON.stringify(z),{headers:this.headers})}static#e=this.\u0275fac=function(xe){return new(xe||Ye)(o.CoB(f.KK),o.CoB(s.wH))};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac})}return Ye})(),I=(()=>{class Ye extends d.U{constructor(z,xe){super(z,"/api/v1/Plex/",xe)}logIn(z,xe){return this.http.post(`${this.url}`,JSON.stringify({login:z,password:xe}),{headers:this.headers})}getServers(z,xe){return this.http.post(`${this.url}servers`,JSON.stringify({login:z,password:xe}),{headers:this.headers})}getServersFromSettings(){return this.http.get(`${this.url}servers`,{headers:this.headers})}getLibraries(z){return this.http.post(`${this.url}Libraries`,JSON.stringify(z),{headers:this.headers})}getLibrariesFromSettings(z){return this.http.get(`${this.url}Libraries/${z}`,{headers:this.headers})}addUserToServer(z){return this.http.post(`${this.url}user`,JSON.stringify(z),{headers:this.headers})}getFriends(){return this.http.get(`${this.url}Friends`,{headers:this.headers})}oAuth(z){return this.http.post(`${this.url}oauth`,JSON.stringify(z),{headers:this.headers})}getWatchlistUsers(){return this.http.get(`${this.url}WatchlistUsers`,{headers:this.headers})}static#e=this.\u0275fac=function(xe){return new(xe||Ye)(o.CoB(f.KK),o.CoB(s.wH))};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac})}return Ye})(),B=(()=>{class Ye extends d.U{constructor(z,xe){super(z,"/api/v1/Radarr",xe)}getRootFolders(z){return this.http.post(`${this.url}/RootFolders/`,JSON.stringify(z),{headers:this.headers})}getQualityProfiles(z){return this.http.post(`${this.url}/Profiles/`,JSON.stringify(z),{headers:this.headers})}getRootFoldersFromSettings(){return this.http.get(`${this.url}/RootFolders/`,{headers:this.headers})}getQualityProfilesFromSettings(){return this.http.get(`${this.url}/Profiles/`,{headers:this.headers})}getRootFolders4kFromSettings(){return this.http.get(`${this.url}/RootFolders/4k`,{headers:this.headers})}getQualityProfiles4kFromSettings(){return this.http.get(`${this.url}/Profiles/4k`,{headers:this.headers})}isRadarrEnabled(){return this.http.get(`${this.url}/enabled/`,{headers:this.headers})}getTagsWithSettings(z){return this.http.post(`${this.url}/tags/`,JSON.stringify(z),{headers:this.headers})}getTags(){return this.http.get(`${this.url}/tags/`,{headers:this.headers})}static#e=this.\u0275fac=function(xe){return new(xe||Ye)(o.CoB(f.KK),o.CoB(s.wH))};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac})}return Ye})(),K=(()=>{class Ye extends d.U{constructor(z,xe){super(z,"/api/v1/Sonarr",xe)}getRootFolders(z){return this.http.post(`${this.url}/RootFolders/`,JSON.stringify(z),{headers:this.headers})}getQualityProfiles(z){return this.http.post(`${this.url}/Profiles/`,JSON.stringify(z),{headers:this.headers})}getRootFoldersWithoutSettings(){return this.http.get(`${this.url}/RootFolders/`,{headers:this.headers})}getQualityProfilesWithoutSettings(){return this.http.get(`${this.url}/Profiles/`,{headers:this.headers})}getV3LanguageProfiles(z){return this.http.post(`${this.url}/v3/languageprofiles/`,JSON.stringify(z),{headers:this.headers})}getV3LanguageProfilesWithoutSettings(){return this.http.get(`${this.url}/v3/languageprofiles/`,{headers:this.headers})}getTags(z){return this.http.post(`${this.url}/tags/`,JSON.stringify(z),{headers:this.headers})}isEnabled(){return this.http.get(`${this.url}/enabled/`,{headers:this.headers})}getVersion(){return this.http.get(`${this.url}/version/`,{headers:this.headers})}static#e=this.\u0275fac=function(xe){return new(xe||Ye)(o.CoB(f.KK),o.CoB(s.wH))};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac})}return Ye})();var ie=u(6712);let oe=(()=>{class Ye extends d.U{constructor(z,xe){super(z,"/api/v1/PlexOAuth/",xe)}oAuth(z){return this.http.get(`${this.url}${z}`,{headers:this.headers})}static#e=this.\u0275fac=function(xe){return new(xe||Ye)(o.CoB(f.KK),o.CoB(s.wH))};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac})}return Ye})(),Ge=(()=>{class Ye{constructor(z){this.http=z}GetPin(z,xe){const Ct=new f.UD({"Content-Type":"application/json; charset=ISO-8859-1","X-Plex-Client-Identifier":z,"X-Plex-Product":xe,"X-Plex-Version":"3","X-Plex-Device":"Ombi (Web)","X-Plex-Platform":"Web",Accept:"application/json","X-Plex-Model":"Plex OAuth"});return this.http.post("https://plex.tv/api/v2/pins?strong=true",null,{headers:Ct})}static#e=this.\u0275fac=function(xe){return new(xe||Ye)(o.CoB(f.KK))};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac})}return Ye})(),ae=(()=>{class Ye extends d.U{constructor(z,xe){super(z,"/api/v1/Lidarr",xe)}enabled(){return this.http.get(`${this.url}/enabled/`,{headers:this.headers})}getRootFolders(z){return this.http.post(`${this.url}/RootFolders/`,JSON.stringify(z),{headers:this.headers})}getQualityProfiles(z){return this.http.post(`${this.url}/Profiles/`,JSON.stringify(z),{headers:this.headers})}getRootFoldersFromSettings(){return this.http.get(`${this.url}/RootFolders/`,{headers:this.headers})}getQualityProfilesFromSettings(){return this.http.get(`${this.url}/Profiles/`,{headers:this.headers})}getMetadataProfiles(z){return this.http.post(`${this.url}/Metadata/`,JSON.stringify(z),{headers:this.headers})}static#e=this.\u0275fac=function(xe){return new(xe||Ye)(o.CoB(f.KK),o.CoB(s.wH))};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac})}return Ye})();var Z=u(8960),_e=u(3800),j=u(9144);let ke=(()=>{class Ye extends d.U{constructor(z,xe){super(z,"/api/v1/TheMovieDb",xe)}getKeywords(z){const xe=(new f.i4).set("searchTerm",z);return this.http.get(`${this.url}/Keywords`,{headers:this.headers,params:xe})}getKeyword(z){return this.http.get(`${this.url}/Keywords/${z}`,{headers:this.headers}).pipe((0,j.a)(xe=>404===xe.status?(0,Z.F)():(0,_e.c)(xe)))}getWatchProviders(z){return this.http.get(`${this.url}/WatchProviders/${z}`,{headers:this.headers})}static#e=this.\u0275fac=function(xe){return new(xe||Ye)(o.CoB(f.KK),o.CoB(s.wH))};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac,providedIn:"root"})}return Ye})();var rt=u(6504);let le=(()=>{class Ye{disableValidation(z,xe){z.controls[xe].clearValidators(),z.controls[xe].updateValueAndValidity()}enableValidation(z,xe,Ct){z.controls[xe].setValidators(Ct||[rt.AQ.required]),z.controls[xe].updateValueAndValidity()}static#e=this.\u0275fac=function(xe){return new(xe||Ye)};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac})}return Ye})(),ye=(()=>{class Ye extends d.U{constructor(z,xe){super(z,"/api/v1/Identity/",xe)}createWizardUser(z){return this.http.post(`${this.url}Wizard/`,JSON.stringify(z),{headers:this.headers})}getUser(){return this.http.get(this.url,{headers:this.headers})}getAccessToken(){return this.http.get(`${this.url}accesstoken`,{headers:this.headers})}getUserAccessToken(z){return this.http.get(`${this.url}accesstoken/${z}`,{headers:this.headers})}getUserById(z){return this.http.get(`${this.url}User/${z}`,{headers:this.headers})}getUsers(){return this.http.get(`${this.url}Users`,{headers:this.headers})}getUsersDropdown(){return this.http.get(`${this.url}dropdown/Users`,{headers:this.headers})}getAllAvailableClaims(){return this.http.get(`${this.url}Claims`,{headers:this.headers})}createUser(z){return this.http.post(this.url,JSON.stringify(z),{headers:this.headers})}updateUser(z){return this.http.put(this.url,JSON.stringify(z),{headers:this.headers})}updateNotificationPreferences(z){return this.http.post(`${this.url}NotificationPreferences`,JSON.stringify(z),{headers:this.headers})}updateLocalUser(z){return this.http.put(this.url+"local",JSON.stringify(z),{headers:this.headers})}deleteUser(z){return this.http.delete(`${this.url}${z.id}`,{headers:this.headers})}hasUserRequested(z){return this.http.get(`${this.url}userhasrequest/${z}`,{headers:this.headers})}submitResetPassword(z){return this.http.post(this.url+"reset",JSON.stringify({email:z}),{headers:this.headers})}resetPassword(z){return this.http.post(this.url+"resetpassword",JSON.stringify(z),{headers:this.headers})}sendWelcomeEmail(z){return this.http.post(`${this.url}welcomeEmail`,JSON.stringify(z),{headers:this.headers})}getNotificationPreferences(){return this.http.get(`${this.url}notificationpreferences`,{headers:this.headers})}getNotificationPreferencesForUser(z){return this.http.get(`${this.url}notificationpreferences/${z}`,{headers:this.headers})}updateLanguage(z){return this.http.post(`${this.url}language`,{lang:z},{headers:this.headers})}getSupportedStreamingCountries(){return this.http.get(`${this.url}streamingcountry`,{headers:this.headers})}updateStreamingCountry(z){return this.http.post(`${this.url}streamingcountry`,{code:z},{headers:this.headers})}unsubscribeNewsletter(z){return this.http.get(`${this.url}newsletter/unsubscribe/${z}`,{headers:this.headers})}static#e=this.\u0275fac=function(xe){return new(xe||Ye)(o.CoB(f.KK),o.CoB(s.wH))};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac})}return Ye})(),Y=(()=>{class Ye extends d.U{constructor(z,xe){super(z,"/api/v1/Images/",xe),this.http=z}getRandomBackground(){return this.http.get(`${this.url}background/`,{headers:this.headers})}getRandomBackgroundWithInfo(){return this.http.get(`${this.url}background/info`,{headers:this.headers})}getTvBanner(z){return this.http.get(`${this.url}tv/${z}`,{headers:this.headers})}getMoviePoster(z){return this.http.get(`${this.url}poster/movie/${z}`,{headers:this.headers})}getTvPoster(z){return this.http.get(`${this.url}poster/tv/${z}`,{headers:this.headers})}getTmdbTvPoster(z){return this.http.get(`${this.url}poster/tv/tmdb/${z}`,{headers:this.headers})}getMovieBackground(z){return this.http.get(`${this.url}background/movie/${z}`,{headers:this.headers})}getMovieBanner(z){return this.http.get(`${this.url}banner/movie/${z}`,{headers:this.headers})}getTvBackground(z){return this.http.get(`${this.url}background/tv/${z}`,{headers:this.headers})}getTmdbTvBackground(z){return this.http.get(`${this.url}background/tv/tmdb/${z}`,{headers:this.headers})}static#e=this.\u0275fac=function(xe){return new(xe||Ye)(o.CoB(f.KK),o.CoB(s.wH))};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac})}return Ye})(),g=(()=>{class Ye extends d.U{constructor(z,xe){super(z,"/api/v1/LandingPage/",xe),this.http=z}getServerStatus(){return this.http.get(`${this.url}`,{headers:this.headers})}static#e=this.\u0275fac=function(xe){return new(xe||Ye)(o.CoB(f.KK),o.CoB(s.wH))};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac})}return Ye})();var X=u(8376);let V=(()=>{class Ye{constructor(z){this.snackbar=z,this.config={duration:3e3}}success(z){this.snackbar.open(z,"OK",this.config)}info(z,xe){this.snackbar.open(xe,"OK",this.config)}warning(z,xe){this.snackbar.open(xe,"OK",this.config)}error(z){this.snackbar.open(z,"OK",this.config)}static#e=this.\u0275fac=function(xe){return new(xe||Ye)(o.CoB(X.yS))};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac})}return Ye})();var te=u(6844);let be=(()=>{class Ye extends d.U{constructor(z,xe){super(z,"/api/v1/search",xe)}searchMovie(z){return this.http.get(`${this.url}/Movie/${z}`)}searchMovieWithRefined(z,xe,Ct){return this.http.post(`${this.url}/Movie/`,{searchTerm:z,year:xe,languageCode:Ct})}similarMovies(z,xe){return this.http.post(`${this.url}/Movie/similar`,{theMovieDbId:z,languageCode:xe})}popularMovies(){return this.http.get(`${this.url}/Movie/Popular`)}upcomingMovies(){return this.http.get(`${this.url}/Movie/upcoming`)}nowPlayingMovies(){return this.http.get(`${this.url}/Movie/nowplaying`)}topRatedMovies(){return this.http.get(`${this.url}/Movie/toprated`)}getMovieInformation(z){return this.http.get(`${this.url}/Movie/info/${z}`)}getMovieInformationWithRefined(z,xe){return this.http.post(`${this.url}/Movie/info`,{theMovieDbId:z,languageCode:xe})}searchMovieByActor(z,xe){return this.http.post(`${this.url}/Movie/Actor`,{searchTerm:z,languageCode:xe})}searchTv(z){return this.http.get(`${this.url}/Tv/${z}`,{headers:this.headers})}searchTvTreeNode(z){return this.http.get(`${this.url}/Tv/${z}/tree`,{headers:this.headers})}getShowInformationTreeNode(z){return this.http.get(`${this.url}/Tv/info/${z}/Tree`,{headers:this.headers})}getShowInformation(z){return this.http.get(`${this.url}/Tv/info/${z}`,{headers:this.headers})}popularTv(){return this.http.get(`${this.url}/Tv/popular`,{headers:this.headers})}mostWatchedTv(){return this.http.get(`${this.url}/Tv/mostwatched`,{headers:this.headers})}anticipatedTv(){return this.http.get(`${this.url}/Tv/anticipated`,{headers:this.headers})}trendingTv(){return this.http.get(`${this.url}/Tv/trending`,{headers:this.headers})}searchArtist(z){return this.http.get(`${this.url}/Music/Artist/`+z)}searchAlbum(z){return this.http.get(`${this.url}/Music/Album/`+z)}getAlbumInformation(z){return this.http.get(`${this.url}/Music/Album/info/`+z)}getAlbumsForArtist(z){return this.http.get(`${this.url}/Music/Artist/Album/${z}`)}static#e=this.\u0275fac=function(xe){return new(xe||Ye)(o.CoB(f.KK),o.CoB(s.wH))};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac})}return Ye})(),Fe=(()=>{class Ye extends d.U{constructor(z,xe){super(z,"/api/v1/Settings",xe),this.http=z}about(){return this.http.get(`${this.url}/About/`,{headers:this.headers})}getOmbi(){return this.http.get(`${this.url}/Ombi/`,{headers:this.headers})}getDefaultLanguage(){return this.http.get(`${this.url}/defaultlanguage/`,{headers:this.headers})}saveOmbi(z){return this.http.post(`${this.url}/Ombi/`,JSON.stringify(z),{headers:this.headers})}resetOmbiApi(){return this.http.post(`${this.url}/Ombi/resetApi`,{headers:this.headers})}getEmby(){return this.http.get(`${this.url}/Emby/`)}saveEmby(z){return this.http.post(`${this.url}/Emby/`,JSON.stringify(z),{headers:this.headers})}getJellyfin(){return this.http.get(`${this.url}/Jellyfin/`)}saveJellyfin(z){return this.http.post(`${this.url}/Jellyfin/`,JSON.stringify(z),{headers:this.headers})}getPlex(){return this.http.get(`${this.url}/Plex/`,{headers:this.headers})}savePlex(z){return this.http.post(`${this.url}/Plex/`,JSON.stringify(z),{headers:this.headers})}getSonarr(){return this.http.get(`${this.url}/Sonarr`,{headers:this.headers})}saveSonarr(z){return this.http.post(`${this.url}/Sonarr`,JSON.stringify(z),{headers:this.headers})}getRadarr(){return this.http.get(`${this.url}/Radarr`,{headers:this.headers})}saveRadarr(z){return this.http.post(`${this.url}/Radarr`,JSON.stringify(z),{headers:this.headers})}getLidarr(){return this.http.get(`${this.url}/Lidarr`,{headers:this.headers})}lidarrEnabled(){return this.http.get(`${this.url}/lidarrenabled`,{headers:this.headers})}saveLidarr(z){return this.http.post(`${this.url}/Lidarr`,JSON.stringify(z),{headers:this.headers})}getAuthentication(){return this.http.get(`${this.url}/Authentication`,{headers:this.headers})}getClientId(){return this.http.get(`${this.url}/clientid`,{headers:this.headers})}saveAuthentication(z){return this.http.post(`${this.url}/Authentication`,JSON.stringify(z),{headers:this.headers})}getLandingPage(){return this.http.get(`${this.url}/LandingPage`,{headers:this.headers})}saveLandingPage(z){return this.http.post(`${this.url}/LandingPage`,JSON.stringify(z),{headers:this.headers})}getCustomization(){return this.http.get(`${this.url}/customization`,{headers:this.headers})}saveCustomization(z){return this.http.post(`${this.url}/customization`,JSON.stringify(z),{headers:this.headers})}getEmailNotificationSettings(){return this.http.get(`${this.url}/notifications/email`,{headers:this.headers})}getEmailSettingsEnabled(){return this.http.get(`${this.url}/notifications/email/enabled`,{headers:this.headers})}saveEmailNotificationSettings(z){return this.http.post(`${this.url}/notifications/email`,JSON.stringify(z),{headers:this.headers})}getDiscordNotificationSettings(){return this.http.get(`${this.url}/notifications/discord`,{headers:this.headers})}getMattermostNotificationSettings(){return this.http.get(`${this.url}/notifications/mattermost`,{headers:this.headers})}saveMattermostNotificationSettings(z){return this.http.post(`${this.url}/notifications/mattermost`,JSON.stringify(z),{headers:this.headers})}saveDiscordNotificationSettings(z){return this.http.post(`${this.url}/notifications/discord`,JSON.stringify(z),{headers:this.headers})}getPushbulletNotificationSettings(){return this.http.get(`${this.url}/notifications/pushbullet`,{headers:this.headers})}getPushoverNotificationSettings(){return this.http.get(`${this.url}/notifications/pushover`,{headers:this.headers})}savePushbulletNotificationSettings(z){return this.http.post(`${this.url}/notifications/pushbullet`,JSON.stringify(z),{headers:this.headers})}savePushoverNotificationSettings(z){return this.http.post(`${this.url}/notifications/pushover`,JSON.stringify(z),{headers:this.headers})}getGotifyNotificationSettings(){return this.http.get(`${this.url}/notifications/gotify`,{headers:this.headers})}saveGotifyNotificationSettings(z){return this.http.post(`${this.url}/notifications/gotify`,JSON.stringify(z),{headers:this.headers})}getWebhookNotificationSettings(){return this.http.get(`${this.url}/notifications/webhook`,{headers:this.headers})}saveWebhookNotificationSettings(z){return this.http.post(`${this.url}/notifications/webhook`,JSON.stringify(z),{headers:this.headers})}getSlackNotificationSettings(){return this.http.get(`${this.url}/notifications/slack`,{headers:this.headers})}saveSlackNotificationSettings(z){return this.http.post(`${this.url}/notifications/slack`,JSON.stringify(z),{headers:this.headers})}getMobileNotificationSettings(){return this.http.get(`${this.url}/notifications/mobile`,{headers:this.headers})}saveMobileNotificationSettings(z){return this.http.post(`${this.url}/notifications/mobile`,JSON.stringify(z),{headers:this.headers})}getUpdateSettings(){return this.http.get(`${this.url}/update`,{headers:this.headers})}saveUpdateSettings(z){return this.http.post(`${this.url}/update`,JSON.stringify(z),{headers:this.headers})}getUserManagementSettings(){return this.http.get(`${this.url}/UserManagement`,{headers:this.headers})}saveUserManagementSettings(z){return this.http.post(`${this.url}/UserManagement`,JSON.stringify(z),{headers:this.headers})}getCouchPotatoSettings(){return this.http.get(`${this.url}/CouchPotato`,{headers:this.headers})}saveCouchPotatoSettings(z){return this.http.post(`${this.url}/CouchPotato`,JSON.stringify(z),{headers:this.headers})}getDogNzbSettings(){return this.http.get(`${this.url}/DogNzb`,{headers:this.headers})}saveDogNzbSettings(z){return this.http.post(`${this.url}/DogNzb`,JSON.stringify(z),{headers:this.headers})}getTelegramNotificationSettings(){return this.http.get(`${this.url}/notifications/telegram`,{headers:this.headers})}saveTelegramNotificationSettings(z){return this.http.post(`${this.url}/notifications/telegram`,JSON.stringify(z),{headers:this.headers})}getTwilioSettings(){return this.http.get(`${this.url}/notifications/twilio`,{headers:this.headers})}saveTwilioSettings(z){return this.http.post(`${this.url}/notifications/twilio`,JSON.stringify(z),{headers:this.headers})}getJobSettings(){return this.http.get(`${this.url}/jobs`,{headers:this.headers})}saveJobSettings(z){return this.http.post(`${this.url}/jobs`,JSON.stringify(z),{headers:this.headers})}testCron(z){return this.http.post(`${this.url}/testcron`,JSON.stringify(z),{headers:this.headers})}getSickRageSettings(){return this.http.get(`${this.url}/sickrage`,{headers:this.headers})}saveSickRageSettings(z){return this.http.post(`${this.url}/sickrage`,JSON.stringify(z),{headers:this.headers})}getIssueSettings(){return this.http.get(`${this.url}/issues`,{headers:this.headers})}issueEnabled(){return this.http.get(`${this.url}/issuesenabled`,{headers:this.headers})}saveIssueSettings(z){return this.http.post(`${this.url}/issues`,JSON.stringify(z),{headers:this.headers})}getVoteSettings(){return this.http.get(`${this.url}/vote`,{headers:this.headers})}voteEnabled(){return this.http.get(`${this.url}/voteenabled`,{headers:this.headers})}saveVoteSettings(z){return this.http.post(`${this.url}/vote`,JSON.stringify(z),{headers:this.headers})}getTheMovieDbSettings(){return this.http.get(`${this.url}/themoviedb`,{headers:this.headers})}saveTheMovieDbSettings(z){return this.http.post(`${this.url}/themoviedb`,JSON.stringify(z),{headers:this.headers})}getNewsletterSettings(){return this.http.get(`${this.url}/notifications/newsletter`,{headers:this.headers})}updateNewsletterDatabase(){return this.http.post(`${this.url}/notifications/newsletterdatabase`,{headers:this.headers})}saveNewsletterSettings(z){return this.http.post(`${this.url}/notifications/newsletter`,JSON.stringify(z),{headers:this.headers})}verifyUrl(z){return this.http.post(`${this.url}/customization/urlverify`,JSON.stringify({url:z}),{headers:this.headers})}static#e=this.\u0275fac=function(xe){return new(xe||Ye)(o.CoB(f.KK),o.CoB(s.wH))};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac})}return Ye})(),Se=(()=>{class Ye extends d.U{constructor(z,xe){super(z,"/api/v1/status/",xe)}getWizardStatus(){return this.http.get(`${this.url}Wizard/`,{headers:this.headers})}static#e=this.\u0275fac=function(xe){return new(xe||Ye)(o.CoB(f.KK),o.CoB(s.wH))};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac})}return Ye})(),ot=(()=>{class Ye extends d.U{constructor(z,xe){super(z,"/api/v1/Job/",xe)}forceUpdate(){return this.http.post(`${this.url}update/`,{headers:this.headers})}checkForNewUpdate(){return this.http.get(`${this.url}update/`,{headers:this.headers})}getCachedUpdate(){return this.http.get(`${this.url}updateCached/`,{headers:this.headers})}runPlexImporter(){return this.http.post(`${this.url}plexUserImporter/`,{headers:this.headers})}runPlexWatchlistImport(){return this.http.post(`${this.url}plexwatchlist/`,{headers:this.headers})}runEmbyImporter(){return this.http.post(`${this.url}embyUserImporter/`,{headers:this.headers})}runJellyfinImporter(){return this.http.post(`${this.url}jellyfinUserImporter/`,{headers:this.headers})}runPlexCacher(){return this.http.post(`${this.url}plexcontentcacher/`,{headers:this.headers})}runPlexRecentlyAddedCacher(){return this.http.post(`${this.url}plexrecentlyadded/`,{headers:this.headers})}runEmbyRecentlyAddedCacher(){return this.http.post(`${this.url}embyrecentlyadded/`,{headers:this.headers})}clearMediaserverData(){return this.http.post(`${this.url}clearmediaserverdata/`,{headers:this.headers})}runEmbyCacher(){return this.http.post(`${this.url}embycontentcacher/`,{headers:this.headers})}runJellyfinCacher(){return this.http.post(`${this.url}jellyfincontentcacher/`,{headers:this.headers})}runNewsletter(){return this.http.post(`${this.url}newsletter/`,{headers:this.headers})}runArrAvailabilityChecker(){return this.http.post(`${this.url}arrAvailability/`,{headers:this.headers})}static#e=this.\u0275fac=function(xe){return new(xe||Ye)(o.CoB(f.KK),o.CoB(s.wH))};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac})}return Ye})(),_t=(()=>{class Ye extends d.U{constructor(z,xe){super(z,"/api/v1/Issues/",xe)}getCategories(){return this.http.get(`${this.url}categories/`,{headers:this.headers})}createCategory(z){return this.http.post(`${this.url}categories/`,JSON.stringify(z),{headers:this.headers})}deleteCategory(z){return this.http.delete(`${this.url}categories/${z}`,{headers:this.headers})}getIssues(){return this.http.get(this.url,{headers:this.headers})}getIssuesByRequestId(z){return this.http.get(`${this.url}request/${z}`,{headers:this.headers}).toPromise()}getIssuesByProviderId(z){return this.http.get(`${this.url}provider/${z}`,{headers:this.headers}).toPromise()}getIssuesPage(z,xe,Ct){return this.http.get(`${this.url}${z}/${xe}/${Ct}`,{headers:this.headers})}getIssuesCount(){return this.http.get(`${this.url}count`,{headers:this.headers})}createIssue(z){return this.http.post(this.url,JSON.stringify(z),{headers:this.headers})}getIssue(z){return this.http.get(`${this.url}${z}`,{headers:this.headers})}getComments(z){return this.http.get(`${this.url}${z}/comments`,{headers:this.headers})}addComment(z){return this.http.post(`${this.url}comments`,JSON.stringify(z),{headers:this.headers})}updateStatus(z){return this.http.post(`${this.url}status`,JSON.stringify(z),{headers:this.headers})}deleteComment(z){return this.http.delete(`${this.url}comments/${z}`,{headers:this.headers})}deleteIssue(z){return this.http.delete(`${this.url}${z}`,{headers:this.headers}).toPromise()}static#e=this.\u0275fac=function(xe){return new(xe||Ye)(o.CoB(f.KK),o.CoB(s.wH))};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac})}return Ye})(),pt=(()=>{class Ye extends d.U{constructor(z,xe){super(z,"/api/v1/mobile/",xe)}getUserDeviceList(){return this.http.get(`${this.url}notification/`,{headers:this.headers})}deleteUser(z){return this.http.post(`${this.url}`,{userId:z},{headers:this.headers})}static#e=this.\u0275fac=function(xe){return new(xe||Ye)(o.CoB(f.KK),o.CoB(s.wH))};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac})}return Ye})(),Gt=(()=>{class Ye extends d.U{constructor(z,xe){super(z,"/api/v1/notifications/",xe)}sendMassEmail(z){return this.http.post(`${this.url}massemail/`,JSON.stringify(z),{headers:this.headers})}static#e=this.\u0275fac=function(xe){return new(xe||Ye)(o.CoB(f.KK),o.CoB(s.wH))};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac})}return Ye})();var qe=u(3448);let Je=(()=>{class Ye extends d.U{constructor(z,xe){super(z,"/api/v1/Vote/",xe),this.http=z}getModel(){var z=this;return(0,qe.c)(function*(){return yield z.http.get(`${z.url}`,{headers:z.headers}).toPromise()})()}upvoteMovie(z){var xe=this;return(0,qe.c)(function*(){return yield xe.http.post(`${xe.url}up/movie/${z}`,{headers:xe.headers}).toPromise()})()}upvoteTv(z){var xe=this;return(0,qe.c)(function*(){return yield xe.http.post(`${xe.url}up/tv/${z}`,{headers:xe.headers}).toPromise()})()}upvoteAlbum(z){var xe=this;return(0,qe.c)(function*(){return yield xe.http.post(`${xe.url}up/album/${z}`,{headers:xe.headers}).toPromise()})()}downvoteMovie(z){var xe=this;return(0,qe.c)(function*(){return yield xe.http.post(`${xe.url}down/movie/${z}`,{headers:xe.headers}).toPromise()})()}downvoteTv(z){var xe=this;return(0,qe.c)(function*(){return yield xe.http.post(`${xe.url}down/tv/${z}`,{headers:xe.headers}).toPromise()})()}downvoteAlbum(z){var xe=this;return(0,qe.c)(function*(){return yield xe.http.post(`${xe.url}down/album/${z}`,{headers:xe.headers}).toPromise()})()}static#e=this.\u0275fac=function(xe){return new(xe||Ye)(o.CoB(f.KK),o.CoB(s.wH))};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac})}return Ye})(),ce=(()=>{class Ye extends d.U{constructor(z,xe){super(z,"/api/v1/requestretry/",xe)}getFailedRequests(){return this.http.get(this.url,{headers:this.headers})}deleteFailedRequest(z){return this.http.delete(`${this.url}${z}`,{headers:this.headers})}static#e=this.\u0275fac=function(xe){return new(xe||Ye)(o.CoB(f.KK),o.CoB(s.wH))};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac})}return Ye})();var Ae=u(5176);let L=(()=>{class Ye extends d.U{constructor(z,xe){super(z,"/api/v1/CustomPage",xe),this.http=z}getCustomPage(){return this.http.get(this.url,{headers:this.headers})}saveCustomPage(z){return this.http.post(this.url,z,{headers:this.headers})}static#e=this.\u0275fac=function(xe){return new(xe||Ye)(o.CoB(f.KK),o.CoB(s.wH))};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac})}return Ye})();var H=u(1592);let de=(()=>{class Ye{constructor(z,xe){this.snackBar=z,this.translate=xe,this.config={duration:4e3}}send(z,xe){this.snackBar.open(z,xe?xe.toUpperCase():"OK",this.config)}sendRequestEngineResultError(z,xe="Ok"){const Ct="Requests.ErrorCodes."+z.errorCode;var Kt=this.translate.instant(Ct);Kt===Ct&&(Kt=z.errorMessage||z.message?z.errorMessage?z.errorMessage:z.message:this.translate.instant("ErrorPages.SomethingWentWrong")),this.send(Kt,xe)}static#e=this.\u0275fac=function(xe){return new(xe||Ye)(o.CoB(X.yS),o.CoB(H.qS))};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac})}return Ye})();var $e=u(7332);let je=(()=>{class Ye extends d.U{constructor(z,xe){super(z,"/api/v2/system/",xe)}getAvailableLogs(){return this.http.get(`${this.url}logs/`,{headers:this.headers})}getLog(z){return this.http.get(`${this.url}logs/${z}`,{responseType:"text"})}getNews(){return this.http.get(`${this.url}news`,{responseType:"text"})}static#e=this.\u0275fac=function(xe){return new(xe||Ye)(o.CoB(f.KK),o.CoB(s.wH))};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac})}return Ye})(),dt=(()=>{class Ye extends d.U{constructor(z,xe){super(z,"/api/v2/system/",xe)}downloadFile(z,xe){this.http.get(z).subscribe(Ct=>{const Kt=new Blob([Ct],{type:xe});if(window.navigator&&window.navigator.msSaveOrOpenBlob)return void window.navigator.msSaveOrOpenBlob(Kt);const gt=URL.createObjectURL(Ct);window.open(gt)})}static#e=this.\u0275fac=function(xe){return new(xe||Ye)(o.CoB(f.KK),o.CoB(s.wH))};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac})}return Ye})(),Et=(()=>{class Ye{getIssue(){return this.issuesEnabled}setIssue(z){this.issuesEnabled=z}static#e=this.\u0275fac=function(xe){return new(xe||Ye)};static#t=this.\u0275prov=o.wxM({token:Ye,factory:Ye.\u0275fac,providedIn:"root"})}return Ye})()},6844:(lt,me,u)=>{"use strict";u.d(me,{C:()=>l});var s=u(1368),d=u(3636),o=u(2116),f=u(7048);let l=(()=>{class i extends d.U{constructor(_,I){super(_,"/api/v1/Request/",I)}getRemainingMovieRequests(){return this.http.get(`${this.url}movie/remaining`,{headers:this.headers})}getRemainingTvRequests(){return this.http.get(`${this.url}tv/remaining`,{headers:this.headers})}getRemainingMusicRequests(){return this.http.get(`${this.url}music/remaining`,{headers:this.headers})}requestMovie(_){return this.http.post(`${this.url}Movie/`,JSON.stringify(_),{headers:this.headers})}getTotalMovies(){return this.http.get(`${this.url}Movie/total`,{headers:this.headers})}getTotalTv(){return this.http.get(`${this.url}tv/total`,{headers:this.headers})}approveMovie(_){return this.http.post(`${this.url}Movie/Approve`,JSON.stringify(_),{headers:this.headers})}denyMovie(_){return this.http.put(`${this.url}Movie/Deny`,JSON.stringify(_),{headers:this.headers})}markMovieAvailable(_){return this.http.post(`${this.url}Movie/available`,JSON.stringify(_),{headers:this.headers})}markMovieUnavailable(_){return this.http.post(`${this.url}Movie/unavailable`,JSON.stringify(_),{headers:this.headers})}getMovieRequests(_,I,B,K){return this.http.get(`${this.url}movie/${_}/${I}/${B}/${K.statusFilter}/${K.availabilityFilter}`,{headers:this.headers})}searchMovieRequests(_){return this.http.get(`${this.url}movie/search/${_}`,{headers:this.headers})}getMovieRequest(_){return this.http.get(`${this.url}movie/info/${_}`,{headers:this.headers}).toPromise()}removeMovieRequest(_){this.http.delete(`${this.url}movie/${_}`,{headers:this.headers}).subscribe()}removeMovieRequestAsync(_){return this.http.delete(`${this.url}movie/${_}`,{headers:this.headers})}updateMovieRequest(_){return this.http.put(`${this.url}movie/`,JSON.stringify(_),{headers:this.headers})}getTvRequests(_,I,B,K,ie){return this.http.get(`${this.url}tv/${_}/${I}/${B}/${K}/${ie}`,{headers:this.headers})}getTvRequestsTree(_,I){return this.http.get(`${this.url}tv/${_}/${I}/tree`,{headers:this.headers})}getChildRequests(_){return this.http.get(`${this.url}tv/${_}/child`,{headers:this.headers})}searchTvRequests(_){return this.http.get(`${this.url}tv/search/${_}`,{headers:this.headers})}searchTvRequestsTree(_){return this.http.get(`${this.url}tv/search/${_}/tree`,{headers:this.headers})}removeTvRequest(_){this.http.delete(`${this.url}tv/${_}`,{headers:this.headers}).subscribe()}markTvAvailable(_){return this.http.post(`${this.url}tv/available`,JSON.stringify(_),{headers:this.headers})}markTvUnavailable(_){return this.http.post(`${this.url}tv/unavailable`,JSON.stringify(_),{headers:this.headers})}updateTvRequest(_){return this.http.put(`${this.url}tv/`,JSON.stringify(_),{headers:this.headers})}updateChild(_){return this.http.put(`${this.url}tv/child`,JSON.stringify(_),{headers:this.headers})}denyChild(_){return this.http.put(`${this.url}tv/deny`,JSON.stringify(_),{headers:this.headers})}approveChild(_){return this.http.post(`${this.url}tv/approve`,JSON.stringify(_),{headers:this.headers})}deleteChild(_){return this.http.delete(`${this.url}tv/child/${_}`,{headers:this.headers})}subscribeToMovie(_){return this.http.post(`${this.url}movie/subscribe/${_}`,{headers:this.headers})}unSubscribeToMovie(_){return this.http.post(`${this.url}movie/unsubscribe/${_}`,{headers:this.headers})}subscribeToTv(_){return this.http.post(`${this.url}tv/subscribe/${_}`,{headers:this.headers})}unSubscribeToTv(_){return this.http.post(`${this.url}tv/unsubscribe/${_}`,{headers:this.headers})}setQualityProfile(_,I){return this.http.put(`${this.url}tv/quality/${_}/${I}`,{headers:this.headers})}setRootFolder(_,I){return this.http.put(`${this.url}tv/root/${_}/${I}`,{headers:this.headers})}requestAlbum(_){return this.http.post(`${this.url}music/`,JSON.stringify(_),{headers:this.headers})}getTotalAlbums(){return this.http.get(`${this.url}music/total`,{headers:this.headers})}approveAlbum(_){return this.http.post(`${this.url}music/Approve`,JSON.stringify(_),{headers:this.headers})}denyAlbum(_){return this.http.put(`${this.url}music/Deny`,JSON.stringify(_),{headers:this.headers})}markAlbumAvailable(_){return this.http.post(`${this.url}music/available`,JSON.stringify(_),{headers:this.headers})}markAlbumUnavailable(_){return this.http.post(`${this.url}music/unavailable`,JSON.stringify(_),{headers:this.headers})}getAlbumRequests(_,I,B,K){return this.http.get(`${this.url}music/${_}/${I}/${B}/${K.statusFilter}/${K.availabilityFilter}`,{headers:this.headers})}searchAlbumRequests(_){return this.http.get(`${this.url}music/search/${_}`,{headers:this.headers})}removeAlbumRequest(_){return this.http.delete(`${this.url}music/${_}`,{headers:this.headers})}static#e=this.\u0275fac=function(I){return new(I||i)(o.CoB(f.KK),o.CoB(s.wH))};static#t=this.\u0275prov=o.wxM({token:i,factory:i.\u0275fac})}return i})()},5176:(lt,me,u)=>{"use strict";u.d(me,{G:()=>l});var s=u(1368),d=u(3636),o=u(2116),f=u(7048);let l=(()=>{class i extends d.U{constructor(_,I){super(_,"/api/v2/search",I)}multiSearch(_,I){return this.http.post(`${this.url}/multi/${encodeURIComponent(_)}`,I)}getGenres(_){return this.http.get(`${this.url}/Genres/${_}`,{headers:this.headers})}getLanguages(){return this.http.get(`${this.url}/Languages`,{headers:this.headers})}getFullMovieDetails(_){return this.http.get(`${this.url}/Movie/${_}`)}getMovieByImdbId(_){return this.http.get(`${this.url}/Movie/imdb/${_}`)}getFullMovieDetailsByRequestId(_){return this.http.get(`${this.url}/Movie/request/${_}`).toPromise()}getFullMovieDetailsPromise(_){return this.http.get(`${this.url}/Movie/${_}`).toPromise()}similarMovies(_,I){return this.http.post(`${this.url}/Movie/similar`,{theMovieDbId:_,languageCode:I})}popularMovies(){return this.http.get(`${this.url}/Movie/Popular`)}popularMoviesByPage(_,I){return this.http.get(`${this.url}/Movie/Popular/${_}/${I}`).toPromise()}advancedSearch(_,I,B){return this.http.post(`${this.url}/advancedSearch/Movie/${I}/${B}`,_).toPromise()}upcomingMovies(){return this.http.get(`${this.url}/Movie/upcoming`)}upcomingMoviesByPage(_,I){return this.http.get(`${this.url}/Movie/upcoming/${_}/${I}`).toPromise()}recentlyRequestedMoviesByPage(_,I){return this.http.get(`${this.url}/Movie/requested/${_}/${I}`).toPromise()}recentlyRequestedTvByPage(_,I){return this.http.get(`${this.url}/tv/requested/${_}/${I}`).toPromise()}seasonalMoviesByPage(_,I){return this.http.get(`${this.url}/Movie/seasonal/${_}/${I}`).toPromise()}nowPlayingMovies(){return this.http.get(`${this.url}/Movie/nowplaying`)}nowPlayingMoviesByPage(_,I){return this.http.get(`${this.url}/Movie/nowplaying/${_}/${I}`).toPromise()}topRatedMovies(){return this.http.get(`${this.url}/Movie/toprated`)}popularTv(){return this.http.get(`${this.url}/Tv/popular`,{headers:this.headers})}popularTvByPage(_,I){return this.http.get(`${this.url}/Tv/popular/${_}/${I}`,{headers:this.headers}).toPromise()}mostWatchedTv(){return this.http.get(`${this.url}/Tv/mostwatched`,{headers:this.headers})}anticipatedTv(){return this.http.get(`${this.url}/Tv/anticipated`,{headers:this.headers})}anticipatedTvByPage(_,I){return this.http.get(`${this.url}/Tv/anticipated/${_}/${I}`,{headers:this.headers}).toPromise()}trendingTv(){return this.http.get(`${this.url}/Tv/trending`,{headers:this.headers})}trendingTvByPage(_,I){return this.http.get(`${this.url}/Tv/trending/${_}/${I}`,{headers:this.headers}).toPromise()}getTvInfo(_){return this.http.get(`${this.url}/Tv/${_}`,{headers:this.headers}).toPromise()}getTvInfoWithRequestId(_){return this.http.get(`${this.url}/Tv/request/${_}`,{headers:this.headers}).toPromise()}getTvInfoWithMovieDbId(_){return this.http.get(`${this.url}/Tv/moviedb/${_}`,{headers:this.headers}).toPromise()}getMovieCollections(_){return this.http.get(`${this.url}/movie/collection/${_}`,{headers:this.headers}).toPromise()}getMoviesByActor(_){return this.http.get(`${this.url}/actor/${_}/movie`,{headers:this.headers})}getTvByActor(_){return this.http.get(`${this.url}/actor/${_}/tv`,{headers:this.headers})}getArtistInformation(_){return this.http.get(`${this.url}/artist/${_}`)}getReleaseGroupArt(_){return this.http.get(`${this.url}/releasegroupart/${_}`)}getAlbum(_){return this.http.get(`${this.url}/artist/album/${_}`)}getRottenMovieRatings(_,I){return this.http.get(`${this.url}/ratings/movie/${_}/${I}`)}getRottenTvRatings(_,I){return this.http.get(`${this.url}/ratings/tv/${_}/${I}`)}getMovieStreams(_){return this.http.get(`${this.url}/stream/movie/${_}`)}getTvStreams(_){return this.http.get(`${this.url}/stream/tv/${_}`)}static#e=this.\u0275fac=function(I){return new(I||i)(o.CoB(f.KK),o.CoB(s.wH))};static#t=this.\u0275prov=o.wxM({token:i,factory:i.\u0275fac})}return i})()},3636:(lt,me,u)=>{"use strict";u.d(me,{U:()=>d});var s=u(7048);class d{constructor(f,l,i){this.http=f,this.url=l,this.href=i,this.headers=new s.UD;const y=i;this.headers=(new s.UD).set("Content-Type","application/json"),y.length>1&&(this.url=y+this.url)}}},3188:(lt,me,u)=>{"use strict";u.d(me,{a:()=>d});var s=u(2116);let d=(()=>{class o{constructor(){this.onDataChange=new s._w7,this.onOptionsChange=new s._w7}setData(l,i){this._data=l,this._type=i,this.onDataChange.emit(this._data)}setOptions(l,i,y,_,I,B){this._options={watchProviders:l,genres:i,keywords:y,releaseYear:_,type:I,position:B},this.onOptionsChange.emit(this._options)}getData(){return this._data}getOptions(){return this._options}getLoaded(){return this._options.loaded}getType(){return this._type}static#e=this.\u0275fac=function(i){return new(i||o)};static#t=this.\u0275prov=s.wxM({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})()},6456:(lt,me,u)=>{"use strict";u.d(me,{y:()=>d});var s=u(2116);let d=(()=>{class o{get(l){return localStorage.getItem(l)}save(l,i){this.remove(l),localStorage.setItem(l,i)}remove(l){localStorage.removeItem(l)}static#e=this.\u0275fac=function(i){return new(i||o)};static#t=this.\u0275prov=s.wxM({token:o,factory:o.\u0275fac})}return o})()},9124:(lt,me,u)=>{"use strict";u.d(me,{Y:()=>s,o:()=>d});let s=(()=>{class o{static#e=this.type="[Customization] LoadSettings"}return o})(),d=(()=>{class o{static#e=this.type="[Customization] UpdateSettings";constructor(l){this.settings=l}}return o})()},568:(lt,me,u)=>{"use strict";u.d(me,{C:()=>l});var s=u(9124),d=u(6580),o=u(1036),f=u(2116);let l=(()=>{class i{constructor(_){this.store=_,this.settings$=()=>this.store.select(d.q.customizationSettings),this.loadCustomziationSettings=()=>this.store.dispatch(new s.Y),this.logo=()=>this.store.selectSnapshot(d.q.logo),this.appName=()=>this.store.selectSnapshot(d.q.applicationName),this.appUrl=()=>this.store.selectSnapshot(d.q.applicationUrl),this.saveSettings=I=>this.store.dispatch(new s.o(I))}static#e=this.\u0275fac=function(I){return new(I||i)(f.CoB(o.m_))};static#t=this.\u0275prov=f.wxM({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})()},6580:(lt,me,u)=>{"use strict";u.d(me,{q:()=>l});var s=u(4),d=u(1036),o=function(i,y,_,I){var ie,B=arguments.length,K=B<3?y:null===I?I=Object.getOwnPropertyDescriptor(y,_):I;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)K=Reflect.decorate(i,y,_,I);else for(var oe=i.length-1;oe>=0;oe--)(ie=i[oe])&&(K=(B<3?ie(K):B>3?ie(y,_,K):ie(y,_))||K);return B>3&&K&&Object.defineProperty(y,_,K),K},f=function(i,y){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(i,y)};class l{static customizationSettings(y){return y}static logo({logo:y}){return y}static applicationName({applicationName:y}){return y}static applicationUrl({applicationUrl:y}){return y}}o([(0,d.C1)([s.k]),f("design:type",Function),f("design:paramtypes",[Object]),f("design:returntype",Object)],l,"customizationSettings",null),o([(0,d.C1)([l.customizationSettings]),f("design:type",Function),f("design:paramtypes",[Object]),f("design:returntype",String)],l,"logo",null),o([(0,d.C1)([l.customizationSettings]),f("design:type",Function),f("design:paramtypes",[Object]),f("design:returntype",String)],l,"applicationName",null),o([(0,d.C1)([l.customizationSettings]),f("design:type",Function),f("design:paramtypes",[Object]),f("design:returntype",String)],l,"applicationUrl",null)},1480:(lt,me,u)=>{"use strict";u.d(me,{I:()=>B});var s=u(1036),d=u(9124),o=u(4),f=u(3252),l=u(4324),i=u(9212),y=u(2116),_=function(K,ie,oe,Ge){var _e,ae=arguments.length,Z=ae<3?ie:null===Ge?Ge=Object.getOwnPropertyDescriptor(ie,oe):Ge;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Z=Reflect.decorate(K,ie,oe,Ge);else for(var j=K.length-1;j>=0;j--)(_e=K[j])&&(Z=(ae<3?_e(Z):ae>3?_e(ie,oe,Z):_e(ie,oe))||Z);return ae>3&&Z&&Object.defineProperty(ie,oe,Z),Z},I=function(K,ie){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(K,ie)};let B=class _h{constructor(ie){this.settingsService=ie}load({setState:ie}){return this.settingsService.getCustomization().pipe((0,i.y)(oe=>ie(oe)))}update({setState:ie},{settings:oe}){return this.settingsService.saveCustomization(oe).pipe((0,i.y)(()=>ie(oe)))}static#e=this.\u0275fac=function(oe){return new(oe||_h)(y.CoB(l.Y7))};static#t=this.\u0275prov=y.wxM({token:_h,factory:_h.\u0275fac})};_([(0,s.So)(d.Y),I("design:type",Function),I("design:paramtypes",[Object]),I("design:returntype",f._)],B.prototype,"load",null),_([(0,s.So)(d.o),I("design:type",Function),I("design:paramtypes",[Object,d.o]),I("design:returntype",f._)],B.prototype,"update",null),B=_([(0,s.Ad)({name:o.k}),I("design:paramtypes",[l.Y7])],B)},2728:(lt,me,u)=>{"use strict";u.d(me,{CG:()=>d.C}),u(1480);var d=u(568);u(6580)},4:(lt,me,u)=>{"use strict";u.d(me,{k:()=>d});const d=new(u(1036).Ir)("customizationSettings")},6756:(lt,me,u)=>{"use strict";u.d(me,{C0:()=>o,YH:()=>d,yg:()=>s});let s=(()=>{class f{static#e=this.type="[Features] LoadAll"}return f})(),d=(()=>{class f{static#e=this.type="[Features] Enable";constructor(i){this.feature=i}}return f})(),o=(()=>{class f{static#e=this.type="[Features] Disable";constructor(i){this.feature=i}}return f})()},4248:(lt,me,u)=>{"use strict";u.d(me,{Y:()=>l});var s=u(6756),d=u(4600),o=u(1036),f=u(2116);let l=(()=>{class i{constructor(_){this.store=_,this.features$=()=>this.store.select(d.k.features),this.enable=I=>this.store.dispatch(new s.YH(I)),this.disable=I=>this.store.dispatch(new s.C0(I)),this.loadFeatures=()=>this.store.dispatch(new s.yg),this.is4kEnabled=()=>this.store.selectSnapshot(d.k.is4kEnabled),this.isPlayedSyncEnabled=()=>this.store.selectSnapshot(d.k.isPlayedSyncEnabled)}static#e=this.\u0275fac=function(I){return new(I||i)(f.CoB(o.m_))};static#t=this.\u0275prov=f.wxM({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})()},4600:(lt,me,u)=>{"use strict";u.d(me,{k:()=>l});var s=u(4544),d=u(1036),o=function(i,y,_,I){var ie,B=arguments.length,K=B<3?y:null===I?I=Object.getOwnPropertyDescriptor(y,_):I;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)K=Reflect.decorate(i,y,_,I);else for(var oe=i.length-1;oe>=0;oe--)(ie=i[oe])&&(K=(B<3?ie(K):B>3?ie(y,_,K):ie(y,_))||K);return B>3&&K&&Object.defineProperty(y,_,K),K},f=function(i,y){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(i,y)};class l{static features(y){return y}static is4kEnabled(y){return y.filter(_=>"Movie4KRequests"===_.name)[0].enabled}static isPlayedSyncEnabled(y){return y.filter(_=>"PlayedSync"===_.name)[0].enabled}}o([(0,d.C1)([s.U]),f("design:type",Function),f("design:paramtypes",[Array]),f("design:returntype",Array)],l,"features",null),o([(0,d.C1)([l.features]),f("design:type",Function),f("design:paramtypes",[Array]),f("design:returntype",Boolean)],l,"is4kEnabled",null),o([(0,d.C1)([l.features]),f("design:type",Function),f("design:paramtypes",[Array]),f("design:returntype",Boolean)],l,"isPlayedSyncEnabled",null)},251:(lt,me,u)=>{"use strict";u.d(me,{uy:()=>oe,Yd:()=>Ge.Y});var s=u(1036),d=u(6756),o=u(4544),f=u(1368),l=u(3636),i=u(2116),y=u(7048);let _=(()=>{class Z extends l.U{constructor(j,ke){super(j,"/api/v2/Features/",ke)}getFeatures(){return this.http.get(this.url,{headers:this.headers})}enable(j){return this.http.post(`${this.url}enable`,JSON.stringify(j),{headers:this.headers})}disable(j){return this.http.post(`${this.url}disable`,JSON.stringify(j),{headers:this.headers})}static#e=this.\u0275fac=function(ke){return new(ke||Z)(i.CoB(y.KK),i.CoB(f.wH))};static#t=this.\u0275prov=i.wxM({token:Z,factory:Z.\u0275fac,providedIn:"root"})}return Z})();var I=u(3252),B=u(9212),K=function(Z,_e,j,ke){var ye,rt=arguments.length,le=rt<3?_e:null===ke?ke=Object.getOwnPropertyDescriptor(_e,j):ke;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)le=Reflect.decorate(Z,_e,j,ke);else for(var Y=Z.length-1;Y>=0;Y--)(ye=Z[Y])&&(le=(rt<3?ye(le):rt>3?ye(_e,j,le):ye(_e,j))||le);return rt>3&&le&&Object.defineProperty(_e,j,le),le},ie=function(Z,_e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(Z,_e)};let oe=class vh{constructor(_e){this.featuresService=_e}load({setState:_e}){return this.featuresService.getFeatures().pipe((0,B.y)(j=>_e(j)))}enable({setState:_e},{feature:j}){return this.featuresService.enable(j).pipe((0,B.y)(ke=>_e(ke)))}disable({setState:_e},{feature:j}){return this.featuresService.disable(j).pipe((0,B.y)(ke=>_e(ke)))}static#e=this.\u0275fac=function(j){return new(j||vh)(i.CoB(_))};static#t=this.\u0275prov=i.wxM({token:vh,factory:vh.\u0275fac})};K([(0,s.So)(d.yg),ie("design:type",Function),ie("design:paramtypes",[Object]),ie("design:returntype",I._)],oe.prototype,"load",null),K([(0,s.So)(d.YH),ie("design:type",Function),ie("design:paramtypes",[Object,d.YH]),ie("design:returntype",I._)],oe.prototype,"enable",null),K([(0,s.So)(d.C0),ie("design:type",Function),ie("design:paramtypes",[Object,d.C0]),ie("design:returntype",I._)],oe.prototype,"disable",null),oe=K([(0,s.Ad)({name:o.U}),ie("design:paramtypes",[_])],oe);var Ge=u(4248);u(4600)},4544:(lt,me,u)=>{"use strict";u.d(me,{U:()=>d});const d=new(u(1036).Ir)("featureEnablement")},9064:(lt,me,u)=>{"use strict";u.d(me,{aY:()=>ae.a,WO:()=>Ge});var s=u(1036),d=u(6120),o=u(4324),f=u(8860),l=u(2700),i=u(6040),y=u(3252),_=u(9212),I=u(4704),B=u(2207),K=u(2116),ie=function(_e,j,ke,rt){var Y,le=arguments.length,ye=le<3?j:null===rt?rt=Object.getOwnPropertyDescriptor(j,ke):rt;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ye=Reflect.decorate(_e,j,ke,rt);else for(var g=_e.length-1;g>=0;g--)(Y=_e[g])&&(ye=(le<3?Y(ye):le>3?Y(j,ke,ye):Y(j,ke))||ye);return le>3&&ye&&Object.defineProperty(j,ke,ye),ye},oe=function(_e,j){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(_e,j)};let Ge=class yh{constructor(j,ke){this.settingsService=j,this.authService=ke}load({setState:j}){const rt=this.authService.hasRole("Admin")?[this.settingsService.getRadarr()]:[(0,l.of)({})];return(0,i.E)(rt).pipe((0,_.y)(([le])=>{j({settings:le})}),(0,I.k)(le=>({settings:le[0]})))}enable(j,{settings:ke}){const rt=j.getState();return this.settingsService.saveRadarr(ke).pipe((0,_.y)(le=>j.setState({...rt,settings:ke})),(0,I.k)(le=>({...rt,settings:ke})))}static#e=this.\u0275fac=function(ke){return new(ke||yh)(K.CoB(o.Y7),K.CoB(f.o))};static#t=this.\u0275prov=K.wxM({token:yh,factory:yh.\u0275fac})};ie([(0,s.So)(B.Y),oe("design:type",Function),oe("design:paramtypes",[Object]),oe("design:returntype",y._)],Ge.prototype,"load",null),ie([(0,s.So)(B.o),oe("design:type",Function),oe("design:paramtypes",[Object,B.o]),oe("design:returntype",y._)],Ge.prototype,"enable",null),Ge=ie([(0,s.Ad)({name:d.U}),oe("design:paramtypes",[o.Y7,f.o])],Ge);var ae=u(6628);u(2868)},2207:(lt,me,u)=>{"use strict";u.d(me,{Y:()=>s,o:()=>d});let s=(()=>{class o{static#e=this.type="[Radarr] LoadSettings"}return o})(),d=(()=>{class o{static#e=this.type="[Radarr] UpdateSettings";constructor(l){this.settings=l}}return o})()},6628:(lt,me,u)=>{"use strict";u.d(me,{a:()=>l});var s=u(1036),d=u(2868),o=u(2207),f=u(2116);let l=(()=>{class i{constructor(_){this.store=_,this.state$=()=>this.store.select(d.O.state),this.updateSettings=I=>this.store.dispatch(new o.o(I)),this.load=()=>this.store.dispatch(new o.Y),this.settings=()=>this.store.selectSnapshot(d.O.settings),this.isEnabled=()=>this.store.selectSnapshot(d.O.isEnabled),this.is4KEnabled=()=>this.store.selectSnapshot(d.O.is4KEnabled)}static#e=this.\u0275fac=function(I){return new(I||i)(f.CoB(s.m_))};static#t=this.\u0275prov=f.wxM({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})()},2868:(lt,me,u)=>{"use strict";u.d(me,{O:()=>l});var s=u(6120),d=u(1036),o=function(i,y,_,I){var ie,B=arguments.length,K=B<3?y:null===I?I=Object.getOwnPropertyDescriptor(y,_):I;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)K=Reflect.decorate(i,y,_,I);else for(var oe=i.length-1;oe>=0;oe--)(ie=i[oe])&&(K=(B<3?ie(K):B>3?ie(y,_,K):ie(y,_))||K);return B>3&&K&&Object.defineProperty(y,_,K),K},f=function(i,y){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(i,y)};class l{static state(y){return y}static settings(y){return y.settings}static isEnabled(y){return y?.radarr?.enabled??!1}static is4KEnabled(y){return y?.radarr4K?.enabled??!1}}o([(0,d.C1)([s.U]),f("design:type",Function),f("design:paramtypes",[Object]),f("design:returntype",Object)],l,"state",null),o([(0,d.C1)([l.state]),f("design:type",Function),f("design:paramtypes",[Object]),f("design:returntype",Object)],l,"settings",null),o([(0,d.C1)([l.settings]),f("design:type",Function),f("design:paramtypes",[Object]),f("design:returntype",Boolean)],l,"isEnabled",null),o([(0,d.C1)([l.settings]),f("design:type",Function),f("design:paramtypes",[Object]),f("design:returntype",Boolean)],l,"is4KEnabled",null)},6120:(lt,me,u)=>{"use strict";u.d(me,{U:()=>d});const d=new(u(1036).Ir)("RadarrState")},6464:(lt,me,u)=>{"use strict";u.d(me,{CW:()=>ae.C,Uv:()=>Ge});var s=u(1036),d=u(7616),o=u(4324),f=u(8860),l=u(2700),i=u(6040),y=u(3252),_=u(9212),I=u(4704),B=u(8852),K=u(2116),ie=function(_e,j,ke,rt){var Y,le=arguments.length,ye=le<3?j:null===rt?rt=Object.getOwnPropertyDescriptor(j,ke):rt;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ye=Reflect.decorate(_e,j,ke,rt);else for(var g=_e.length-1;g>=0;g--)(Y=_e[g])&&(ye=(le<3?Y(ye):le>3?Y(j,ke,ye):Y(j,ke))||ye);return le>3&&ye&&Object.defineProperty(j,ke,ye),ye},oe=function(_e,j){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(_e,j)};let Ge=class bh{constructor(j,ke,rt){this.sonarrService=j,this.settingsService=ke,this.authService=rt}load({setState:j}){const rt=this.authService.hasRole("Admin")?[this.sonarrService.getVersion(),this.settingsService.getSonarr()]:[(0,l.of)(""),(0,l.of)({})];return(0,i.E)(rt).pipe((0,_.y)(([le,ye])=>{j({settings:ye,version:le})}),(0,I.k)(le=>({settings:le[1],version:le[0]})))}update(j,{settings:ke}){const rt=j.getState();return this.settingsService.saveSonarr(ke).pipe((0,_.y)(le=>j.setState({...rt,settings:ke})),(0,I.k)(le=>({...rt,settings:ke})))}static#e=this.\u0275fac=function(ke){return new(ke||bh)(K.CoB(o.An),K.CoB(o.Y7),K.CoB(f.o))};static#t=this.\u0275prov=K.wxM({token:bh,factory:bh.\u0275fac})};ie([(0,s.So)(B.Y),oe("design:type",Function),oe("design:paramtypes",[Object]),oe("design:returntype",y._)],Ge.prototype,"load",null),ie([(0,s.So)(B.o),oe("design:type",Function),oe("design:paramtypes",[Object,B.o]),oe("design:returntype",y._)],Ge.prototype,"update",null),Ge=ie([(0,s.Ad)({name:d.W}),oe("design:paramtypes",[o.An,o.Y7,f.o])],Ge);var ae=u(5168);u(2664)},8852:(lt,me,u)=>{"use strict";u.d(me,{Y:()=>s,o:()=>d});let s=(()=>{class o{static#e=this.type="[Sonarr] LoadSettings"}return o})(),d=(()=>{class o{static#e=this.type="[Sonarr] UpdateSettings";constructor(l){this.settings=l}}return o})()},5168:(lt,me,u)=>{"use strict";u.d(me,{C:()=>l});var s=u(1036),d=u(2664),o=u(8852),f=u(2116);let l=(()=>{class i{constructor(_){this.store=_,this.sonarrState$=()=>this.store.select(d.Q.state),this.updateSettings=I=>this.store.dispatch(new o.o(I)),this.load=()=>this.store.dispatch(new o.Y),this.version=()=>this.store.selectSnapshot(d.Q.version),this.settings=()=>this.store.selectSnapshot(d.Q.settings),this.isEnabled=()=>this.store.selectSnapshot(d.Q.isEnabled)}static#e=this.\u0275fac=function(I){return new(I||i)(f.CoB(s.m_))};static#t=this.\u0275prov=f.wxM({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})()},2664:(lt,me,u)=>{"use strict";u.d(me,{Q:()=>l});var s=u(7616),d=u(1036),o=function(i,y,_,I){var ie,B=arguments.length,K=B<3?y:null===I?I=Object.getOwnPropertyDescriptor(y,_):I;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)K=Reflect.decorate(i,y,_,I);else for(var oe=i.length-1;oe>=0;oe--)(ie=i[oe])&&(K=(B<3?ie(K):B>3?ie(y,_,K):ie(y,_))||K);return B>3&&K&&Object.defineProperty(y,_,K),K},f=function(i,y){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(i,y)};class l{static state(y){return y}static version(y){return y.version}static settings(y){return y.settings}static isEnabled(y){return y.settings?.enabled??!1}}o([(0,d.C1)([s.W]),f("design:type",Function),f("design:paramtypes",[Object]),f("design:returntype",Object)],l,"state",null),o([(0,d.C1)([l.state]),f("design:type",Function),f("design:paramtypes",[Object]),f("design:returntype",String)],l,"version",null),o([(0,d.C1)([l.state]),f("design:type",Function),f("design:paramtypes",[Object]),f("design:returntype",Object)],l,"settings",null),o([(0,d.C1)([l.state]),f("design:type",Function),f("design:paramtypes",[Object]),f("design:returntype",Boolean)],l,"isEnabled",null)},7616:(lt,me,u)=>{"use strict";u.d(me,{W:()=>d});const d=new(u(1036).Ir)("SonarrState")},2052:(lt,me,u)=>{"use strict";var s=u(4476);u(2584),u(1992);u(6540);var i=u(2116),y=u(1368),_=u(4324),I=u(6504),B=u(7048),K=u(7564),ie=u(1592),oe=u(8860);const Ge=[0,2e3,1e4,3e4,null];class ae{constructor(A){this._retryDelays=void 0!==A?[...A,null]:Ge}nextRetryDelayInMilliseconds(A){return this._retryDelays[A.previousRetryCount]}}var Z=u(3448);class _e extends Error{constructor(A,c){const E=new.target.prototype;super(`${A}: Status code '${c}'`),this.statusCode=c,this.__proto__=E}}class j extends Error{constructor(A="A timeout occurred."){const c=new.target.prototype;super(A),this.__proto__=c}}class ke extends Error{constructor(A="An abort occurred."){const c=new.target.prototype;super(A),this.__proto__=c}}class rt extends Error{constructor(A,c){const E=new.target.prototype;super(A),this.transport=c,this.errorType="UnsupportedTransportError",this.__proto__=E}}class le extends Error{constructor(A,c){const E=new.target.prototype;super(A),this.transport=c,this.errorType="DisabledTransportError",this.__proto__=E}}class ye extends Error{constructor(A,c){const E=new.target.prototype;super(A),this.transport=c,this.errorType="FailedToStartTransportError",this.__proto__=E}}class Y extends Error{constructor(A){const c=new.target.prototype;super(A),this.errorType="FailedToNegotiateWithServerError",this.__proto__=c}}class g extends Error{constructor(A,c){const E=new.target.prototype;super(A),this.innerErrors=c,this.__proto__=E}}class X{constructor(A,c,E){this.statusCode=A,this.statusText=c,this.content=E}}class V{get(A,c){return this.send({...c,method:"GET",url:A})}post(A,c){return this.send({...c,method:"POST",url:A})}delete(A,c){return this.send({...c,method:"DELETE",url:A})}getCookieString(A){return""}}var te=function(C){return C[C.Trace=0]="Trace",C[C.Debug=1]="Debug",C[C.Information=2]="Information",C[C.Warning=3]="Warning",C[C.Error=4]="Error",C[C.Critical=5]="Critical",C[C.None=6]="None",C}(te||{});class be{constructor(){}log(A,c){}}be.instance=new be;const Fe="6.0.25";class Se{static isRequired(A,c){if(null==A)throw new Error(`The '${c}' argument is required.`)}static isNotEmpty(A,c){if(!A||A.match(/^\s*$/))throw new Error(`The '${c}' argument should not be empty.`)}static isIn(A,c,E){if(!(A in c))throw new Error(`Unknown ${E} value: ${A}.`)}}class ot{static get isBrowser(){return"object"==typeof window&&"object"==typeof window.document}static get isWebWorker(){return"object"==typeof self&&"importScripts"in self}static get isReactNative(){return"object"==typeof window&&typeof window.document>"u"}static get isNode(){return!this.isBrowser&&!this.isWebWorker&&!this.isReactNative}}function _t(C,A){let c="";return Gt(C)?(c=`Binary data of length ${C.byteLength}`,A&&(c+=`. Content: '${function pt(C){const A=new Uint8Array(C);let c="";return A.forEach(E=>{c+=`0x${E<16?"0":""}${E.toString(16)} `}),c.substr(0,c.length-1)}(C)}'`)):"string"==typeof C&&(c=`String data of length ${C.length}`,A&&(c+=`. Content: '${C}'`)),c}function Gt(C){return C&&typeof ArrayBuffer<"u"&&(C instanceof ArrayBuffer||C.constructor&&"ArrayBuffer"===C.constructor.name)}function qe(C,A,c,E,S,Be,Dt){return Je.apply(this,arguments)}function Je(){return(Je=(0,Z.c)(function*(C,A,c,E,S,Be,Dt){let sn={};if(S){const ys=yield S();ys&&(sn={Authorization:`Bearer ${ys}`})}const[Mn,Rn]=H();sn[Mn]=Rn,C.log(te.Trace,`(${A} transport) sending data. ${_t(Be,Dt.logMessageContent)}.`);const Jn=Gt(Be)?"arraybuffer":"text",Lr=yield c.post(E,{content:Be,headers:{...sn,...Dt.headers},responseType:Jn,timeout:Dt.timeout,withCredentials:Dt.withCredentials});C.log(te.Trace,`(${A} transport) request complete. Response status: ${Lr.statusCode}.`)})).apply(this,arguments)}class Ae{constructor(A,c){this._subject=A,this._observer=c}dispose(){const A=this._subject.observers.indexOf(this._observer);A>-1&&this._subject.observers.splice(A,1),0===this._subject.observers.length&&this._subject.cancelCallback&&this._subject.cancelCallback().catch(c=>{})}}class L{constructor(A){this._minLevel=A,this.out=console}log(A,c){if(A>=this._minLevel){const E=`[${(new Date).toISOString()}] ${te[A]}: ${c}`;switch(A){case te.Critical:case te.Error:this.out.error(E);break;case te.Warning:this.out.warn(E);break;case te.Information:this.out.info(E);break;default:this.out.log(E)}}}}function H(){let C="X-SignalR-User-Agent";return ot.isNode&&(C="User-Agent"),[C,de(Fe,$e(),ot.isNode?"NodeJS":"Browser",je())]}function de(C,A,c,E){let S="Microsoft SignalR/";const Be=C.split(".");return S+=`${Be[0]}.${Be[1]}`,S+=` (${C}; `,S+=A&&""!==A?`${A}; `:"Unknown OS; ",S+=`${c}`,S+=E?`; ${E}`:"; Unknown Runtime Version",S+=")",S}function $e(){if(!ot.isNode)return"";switch(process.platform){case"win32":return"Windows NT";case"darwin":return"macOS";case"linux":return"Linux";default:return process.platform}}function je(){if(ot.isNode)return process.versions.node}function Et(C){return C.stack?C.stack:C.message?C.message:`${C}`}class Xe extends V{constructor(A){if(super(),this._logger=A,typeof fetch>"u"){const c=require;this._jar=new(c("tough-cookie").CookieJar),this._fetchType=c("node-fetch"),this._fetchType=c("fetch-cookie")(this._fetchType,this._jar)}else this._fetchType=fetch.bind(function Ye(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("could not find global")}());if(typeof AbortController>"u"){const c=require;this._abortControllerType=c("abort-controller")}else this._abortControllerType=AbortController}send(A){var c=this;return(0,Z.c)(function*(){if(A.abortSignal&&A.abortSignal.aborted)throw new ke;if(!A.method)throw new Error("No method defined.");if(!A.url)throw new Error("No url defined.");const E=new c._abortControllerType;let S;A.abortSignal&&(A.abortSignal.onabort=()=>{E.abort(),S=new ke});let Dt,Be=null;A.timeout&&(Be=setTimeout(()=>{E.abort(),c._logger.log(te.Warning,"Timeout from HTTP request."),S=new j},A.timeout));try{Dt=yield c._fetchType(A.url,{body:A.content,cache:"no-cache",credentials:!0===A.withCredentials?"include":"same-origin",headers:{"Content-Type":"text/plain;charset=UTF-8","X-Requested-With":"XMLHttpRequest",...A.headers},method:A.method,mode:"cors",redirect:"follow",signal:E.signal})}catch(Rn){throw S||(c._logger.log(te.Warning,`Error from HTTP request. ${Rn}.`),Rn)}finally{Be&&clearTimeout(Be),A.abortSignal&&(A.abortSignal.onabort=null)}if(!Dt.ok){const Rn=yield z(Dt,"text");throw new _e(Rn||Dt.statusText,Dt.status)}const Mn=yield z(Dt,A.responseType);return new X(Dt.status,Dt.statusText,Mn)})()}getCookieString(A){let c="";return ot.isNode&&this._jar&&this._jar.getCookies(A,(E,S)=>c=S.join("; ")),c}}function z(C,A){let c;switch(A){case"arraybuffer":c=C.arrayBuffer();break;case"text":default:c=C.text();break;case"blob":case"document":case"json":throw new Error(`${A} is not supported.`)}return c}class xe extends V{constructor(A){super(),this._logger=A}send(A){return A.abortSignal&&A.abortSignal.aborted?Promise.reject(new ke):A.method?A.url?new Promise((c,E)=>{const S=new XMLHttpRequest;S.open(A.method,A.url,!0),S.withCredentials=void 0===A.withCredentials||A.withCredentials,S.setRequestHeader("X-Requested-With","XMLHttpRequest"),S.setRequestHeader("Content-Type","text/plain;charset=UTF-8");const Be=A.headers;Be&&Object.keys(Be).forEach(Dt=>{S.setRequestHeader(Dt,Be[Dt])}),A.responseType&&(S.responseType=A.responseType),A.abortSignal&&(A.abortSignal.onabort=()=>{S.abort(),E(new ke)}),A.timeout&&(S.timeout=A.timeout),S.onload=()=>{A.abortSignal&&(A.abortSignal.onabort=null),S.status>=200&&S.status<300?c(new X(S.status,S.statusText,S.response||S.responseText)):E(new _e(S.response||S.responseText||S.statusText,S.status))},S.onerror=()=>{this._logger.log(te.Warning,`Error from HTTP request. ${S.status}: ${S.statusText}.`),E(new _e(S.statusText,S.status))},S.ontimeout=()=>{this._logger.log(te.Warning,"Timeout from HTTP request."),E(new j)},S.send(A.content||"")}):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))}}class Ct extends V{constructor(A){if(super(),typeof fetch<"u"||ot.isNode)this._httpClient=new Xe(A);else{if(!(typeof XMLHttpRequest<"u"))throw new Error("No usable HttpClient found.");this._httpClient=new xe(A)}}send(A){return A.abortSignal&&A.abortSignal.aborted?Promise.reject(new ke):A.method?A.url?this._httpClient.send(A):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))}getCookieString(A){return this._httpClient.getCookieString(A)}}let Kt=(()=>{class C{}return C.Authorization="Authorization",C.Cookie="Cookie",C})();var gt=function(C){return C[C.None=0]="None",C[C.WebSockets=1]="WebSockets",C[C.ServerSentEvents=2]="ServerSentEvents",C[C.LongPolling=4]="LongPolling",C}(gt||{}),vt=function(C){return C[C.Text=1]="Text",C[C.Binary=2]="Binary",C}(vt||{});class Ot{constructor(){this._isAborted=!1,this.onabort=null}abort(){this._isAborted||(this._isAborted=!0,this.onabort&&this.onabort())}get signal(){return this}get aborted(){return this._isAborted}}class Ke{constructor(A,c,E,S){this._httpClient=A,this._accessTokenFactory=c,this._logger=E,this._pollAbort=new Ot,this._options=S,this._running=!1,this.onreceive=null,this.onclose=null}get pollAborted(){return this._pollAbort.aborted}connect(A,c){var E=this;return(0,Z.c)(function*(){if(Se.isRequired(A,"url"),Se.isRequired(c,"transferFormat"),Se.isIn(c,vt,"transferFormat"),E._url=A,E._logger.log(te.Trace,"(LongPolling transport) Connecting."),c===vt.Binary&&typeof XMLHttpRequest<"u"&&"string"!=typeof(new XMLHttpRequest).responseType)throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");const[S,Be]=H(),Dt={[S]:Be,...E._options.headers},sn={abortSignal:E._pollAbort.signal,headers:Dt,timeout:1e5,withCredentials:E._options.withCredentials};c===vt.Binary&&(sn.responseType="arraybuffer");const Mn=yield E._getAccessToken();E._updateHeaderToken(sn,Mn);const Rn=`${A}&_=${Date.now()}`;E._logger.log(te.Trace,`(LongPolling transport) polling: ${Rn}.`);const Jn=yield E._httpClient.get(Rn,sn);200!==Jn.statusCode?(E._logger.log(te.Error,`(LongPolling transport) Unexpected response code: ${Jn.statusCode}.`),E._closeError=new _e(Jn.statusText||"",Jn.statusCode),E._running=!1):E._running=!0,E._receiving=E._poll(E._url,sn)})()}_getAccessToken(){var A=this;return(0,Z.c)(function*(){return A._accessTokenFactory?yield A._accessTokenFactory():null})()}_updateHeaderToken(A,c){A.headers||(A.headers={}),c?A.headers[Kt.Authorization]=`Bearer ${c}`:A.headers[Kt.Authorization]&&delete A.headers[Kt.Authorization]}_poll(A,c){var E=this;return(0,Z.c)(function*(){try{for(;E._running;){const S=yield E._getAccessToken();E._updateHeaderToken(c,S);try{const Be=`${A}&_=${Date.now()}`;E._logger.log(te.Trace,`(LongPolling transport) polling: ${Be}.`);const Dt=yield E._httpClient.get(Be,c);204===Dt.statusCode?(E._logger.log(te.Information,"(LongPolling transport) Poll terminated by server."),E._running=!1):200!==Dt.statusCode?(E._logger.log(te.Error,`(LongPolling transport) Unexpected response code: ${Dt.statusCode}.`),E._closeError=new _e(Dt.statusText||"",Dt.statusCode),E._running=!1):Dt.content?(E._logger.log(te.Trace,`(LongPolling transport) data received. ${_t(Dt.content,E._options.logMessageContent)}.`),E.onreceive&&E.onreceive(Dt.content)):E._logger.log(te.Trace,"(LongPolling transport) Poll timed out, reissuing.")}catch(Be){E._running?Be instanceof j?E._logger.log(te.Trace,"(LongPolling transport) Poll timed out, reissuing."):(E._closeError=Be,E._running=!1):E._logger.log(te.Trace,`(LongPolling transport) Poll errored after shutdown: ${Be.message}`)}}}finally{E._logger.log(te.Trace,"(LongPolling transport) Polling complete."),E.pollAborted||E._raiseOnClose()}})()}send(A){var c=this;return(0,Z.c)(function*(){return c._running?qe(c._logger,"LongPolling",c._httpClient,c._url,c._accessTokenFactory,A,c._options):Promise.reject(new Error("Cannot send until the transport is connected"))})()}stop(){var A=this;return(0,Z.c)(function*(){A._logger.log(te.Trace,"(LongPolling transport) Stopping polling."),A._running=!1,A._pollAbort.abort();try{yield A._receiving,A._logger.log(te.Trace,`(LongPolling transport) sending DELETE request to ${A._url}.`);const c={},[E,S]=H();c[E]=S;const Be={headers:{...c,...A._options.headers},timeout:A._options.timeout,withCredentials:A._options.withCredentials},Dt=yield A._getAccessToken();A._updateHeaderToken(Be,Dt),yield A._httpClient.delete(A._url,Be),A._logger.log(te.Trace,"(LongPolling transport) DELETE request sent.")}finally{A._logger.log(te.Trace,"(LongPolling transport) Stop finished."),A._raiseOnClose()}})()}_raiseOnClose(){if(this.onclose){let A="(LongPolling transport) Firing onclose event.";this._closeError&&(A+=" Error: "+this._closeError),this._logger.log(te.Trace,A),this.onclose(this._closeError)}}}class Ne{constructor(A,c,E,S){this._httpClient=A,this._accessTokenFactory=c,this._logger=E,this._options=S,this.onreceive=null,this.onclose=null}connect(A,c){var E=this;return(0,Z.c)(function*(){if(Se.isRequired(A,"url"),Se.isRequired(c,"transferFormat"),Se.isIn(c,vt,"transferFormat"),E._logger.log(te.Trace,"(SSE transport) Connecting."),E._url=A,E._accessTokenFactory){const S=yield E._accessTokenFactory();S&&(A+=(A.indexOf("?")<0?"?":"&")+`access_token=${encodeURIComponent(S)}`)}return new Promise((S,Be)=>{let sn,Dt=!1;if(c===vt.Text){if(ot.isBrowser||ot.isWebWorker)sn=new E._options.EventSource(A,{withCredentials:E._options.withCredentials});else{const Mn=E._httpClient.getCookieString(A),Rn={};Rn.Cookie=Mn;const[Jn,Lr]=H();Rn[Jn]=Lr,sn=new E._options.EventSource(A,{withCredentials:E._options.withCredentials,headers:{...Rn,...E._options.headers}})}try{sn.onmessage=Mn=>{if(E.onreceive)try{E._logger.log(te.Trace,`(SSE transport) data received. ${_t(Mn.data,E._options.logMessageContent)}.`),E.onreceive(Mn.data)}catch(Rn){return void E._close(Rn)}},sn.onerror=Mn=>{Dt?E._close():Be(new Error("EventSource failed to connect. The connection could not be found on the server, either the connection ID is not present on the server, or a proxy is refusing/buffering the connection. If you have multiple servers check that sticky sessions are enabled."))},sn.onopen=()=>{E._logger.log(te.Information,`SSE connected to ${E._url}`),E._eventSource=sn,Dt=!0,S()}}catch(Mn){return void Be(Mn)}}else Be(new Error("The Server-Sent Events transport only supports the 'Text' transfer format"))})})()}send(A){var c=this;return(0,Z.c)(function*(){return c._eventSource?qe(c._logger,"SSE",c._httpClient,c._url,c._accessTokenFactory,A,c._options):Promise.reject(new Error("Cannot send until the transport is connected"))})()}stop(){return this._close(),Promise.resolve()}_close(A){this._eventSource&&(this._eventSource.close(),this._eventSource=void 0,this.onclose&&this.onclose(A))}}class He{constructor(A,c,E,S,Be,Dt){this._logger=E,this._accessTokenFactory=c,this._logMessageContent=S,this._webSocketConstructor=Be,this._httpClient=A,this.onreceive=null,this.onclose=null,this._headers=Dt}connect(A,c){var E=this;return(0,Z.c)(function*(){if(Se.isRequired(A,"url"),Se.isRequired(c,"transferFormat"),Se.isIn(c,vt,"transferFormat"),E._logger.log(te.Trace,"(WebSockets transport) Connecting."),E._accessTokenFactory){const S=yield E._accessTokenFactory();S&&(A+=(A.indexOf("?")<0?"?":"&")+`access_token=${encodeURIComponent(S)}`)}return new Promise((S,Be)=>{let Dt;A=A.replace(/^http/,"ws");const sn=E._httpClient.getCookieString(A);let Mn=!1;if(ot.isNode){const Rn={},[Jn,Lr]=H();Rn[Jn]=Lr,sn&&(Rn[Kt.Cookie]=`${sn}`),Dt=new E._webSocketConstructor(A,void 0,{headers:{...Rn,...E._headers}})}Dt||(Dt=new E._webSocketConstructor(A)),c===vt.Binary&&(Dt.binaryType="arraybuffer"),Dt.onopen=Rn=>{E._logger.log(te.Information,`WebSocket connected to ${A}.`),E._webSocket=Dt,Mn=!0,S()},Dt.onerror=Rn=>{let Jn=null;Jn=typeof ErrorEvent<"u"&&Rn instanceof ErrorEvent?Rn.error:"There was an error with the transport",E._logger.log(te.Information,`(WebSockets transport) ${Jn}.`)},Dt.onmessage=Rn=>{if(E._logger.log(te.Trace,`(WebSockets transport) data received. ${_t(Rn.data,E._logMessageContent)}.`),E.onreceive)try{E.onreceive(Rn.data)}catch(Jn){return void E._close(Jn)}},Dt.onclose=Rn=>{if(Mn)E._close(Rn);else{let Jn=null;Jn=typeof ErrorEvent<"u"&&Rn instanceof ErrorEvent?Rn.error:"WebSocket failed to connect. The connection could not be found on the server, either the endpoint may not be a SignalR endpoint, the connection ID is not present on the server, or there is a proxy blocking WebSockets. If you have multiple servers check that sticky sessions are enabled.",Be(new Error(Jn))}}})})()}send(A){return this._webSocket&&this._webSocket.readyState===this._webSocketConstructor.OPEN?(this._logger.log(te.Trace,`(WebSockets transport) sending data. ${_t(A,this._logMessageContent)}.`),this._webSocket.send(A),Promise.resolve()):Promise.reject("WebSocket is not in the OPEN state")}stop(){return this._webSocket&&this._close(void 0),Promise.resolve()}_close(A){this._webSocket&&(this._webSocket.onclose=()=>{},this._webSocket.onmessage=()=>{},this._webSocket.onerror=()=>{},this._webSocket.close(),this._webSocket=void 0),this._logger.log(te.Trace,"(WebSockets transport) socket closed."),this.onclose&&(!this._isCloseEvent(A)||!1!==A.wasClean&&1e3===A.code?A instanceof Error?this.onclose(A):this.onclose():this.onclose(new Error(`WebSocket closed with status code: ${A.code} (${A.reason||"no reason given"}).`)))}_isCloseEvent(A){return A&&"boolean"==typeof A.wasClean&&"number"==typeof A.code}}class st{constructor(A,c={}){if(this._stopPromiseResolver=()=>{},this.features={},this._negotiateVersion=1,Se.isRequired(A,"url"),this._logger=function ce(C){return void 0===C?new L(te.Information):null===C?be.instance:void 0!==C.log?C:new L(C)}(c.logger),this.baseUrl=this._resolveUrl(A),(c=c||{}).logMessageContent=void 0!==c.logMessageContent&&c.logMessageContent,"boolean"!=typeof c.withCredentials&&void 0!==c.withCredentials)throw new Error("withCredentials option was not a 'boolean' or 'undefined' value");c.withCredentials=void 0===c.withCredentials||c.withCredentials,c.timeout=void 0===c.timeout?1e5:c.timeout;let E=null,S=null;if(ot.isNode){const Be=require;E=Be("ws"),S=Be("eventsource")}!ot.isNode&&typeof WebSocket<"u"&&!c.WebSocket?c.WebSocket=WebSocket:ot.isNode&&!c.WebSocket&&E&&(c.WebSocket=E),!ot.isNode&&typeof EventSource<"u"&&!c.EventSource?c.EventSource=EventSource:ot.isNode&&!c.EventSource&&typeof S<"u"&&(c.EventSource=S),this._httpClient=c.httpClient||new Ct(this._logger),this._connectionState="Disconnected",this._connectionStarted=!1,this._options=c,this.onreceive=null,this.onclose=null}start(A){var c=this;return(0,Z.c)(function*(){if(Se.isIn(A=A||vt.Binary,vt,"transferFormat"),c._logger.log(te.Debug,`Starting connection with transfer format '${vt[A]}'.`),"Disconnected"!==c._connectionState)return Promise.reject(new Error("Cannot start an HttpConnection that is not in the 'Disconnected' state."));if(c._connectionState="Connecting",c._startInternalPromise=c._startInternal(A),yield c._startInternalPromise,"Disconnecting"===c._connectionState){const E="Failed to start the HttpConnection before stop() was called.";return c._logger.log(te.Error,E),yield c._stopPromise,Promise.reject(new Error(E))}if("Connected"!==c._connectionState){const E="HttpConnection.startInternal completed gracefully but didn't enter the connection into the connected state!";return c._logger.log(te.Error,E),Promise.reject(new Error(E))}c._connectionStarted=!0})()}send(A){return"Connected"!==this._connectionState?Promise.reject(new Error("Cannot send data if the connection is not in the 'Connected' State.")):(this._sendQueue||(this._sendQueue=new Re(this.transport)),this._sendQueue.send(A))}stop(A){var c=this;return(0,Z.c)(function*(){return"Disconnected"===c._connectionState?(c._logger.log(te.Debug,`Call to HttpConnection.stop(${A}) ignored because the connection is already in the disconnected state.`),Promise.resolve()):"Disconnecting"===c._connectionState?(c._logger.log(te.Debug,`Call to HttpConnection.stop(${A}) ignored because the connection is already in the disconnecting state.`),c._stopPromise):(c._connectionState="Disconnecting",c._stopPromise=new Promise(E=>{c._stopPromiseResolver=E}),yield c._stopInternal(A),void(yield c._stopPromise))})()}_stopInternal(A){var c=this;return(0,Z.c)(function*(){c._stopError=A;try{yield c._startInternalPromise}catch{}if(c.transport){try{yield c.transport.stop()}catch(E){c._logger.log(te.Error,`HttpConnection.transport.stop() threw error '${E}'.`),c._stopConnection()}c.transport=void 0}else c._logger.log(te.Debug,"HttpConnection.transport is undefined in HttpConnection.stop() because start() failed.")})()}_startInternal(A){var c=this;return(0,Z.c)(function*(){let E=c.baseUrl;c._accessTokenFactory=c._options.accessTokenFactory;try{if(c._options.skipNegotiation){if(c._options.transport!==gt.WebSockets)throw new Error("Negotiation can only be skipped when using the WebSocket transport directly.");c.transport=c._constructTransport(gt.WebSockets),yield c._startTransport(E,A)}else{let S=null,Be=0;do{if(S=yield c._getNegotiationResponse(E),"Disconnecting"===c._connectionState||"Disconnected"===c._connectionState)throw new Error("The connection was stopped during negotiation.");if(S.error)throw new Error(S.error);if(S.ProtocolVersion)throw new Error("Detected a connection attempt to an ASP.NET SignalR Server. This client only supports connecting to an ASP.NET Core SignalR Server. See https://aka.ms/signalr-core-differences for details.");if(S.url&&(E=S.url),S.accessToken){const Dt=S.accessToken;c._accessTokenFactory=()=>Dt}Be++}while(S.url&&Be<100);if(100===Be&&S.url)throw new Error("Negotiate redirection limit exceeded.");yield c._createTransport(E,c._options.transport,S,A)}c.transport instanceof Ke&&(c.features.inherentKeepAlive=!0),"Connecting"===c._connectionState&&(c._logger.log(te.Debug,"The HttpConnection connected successfully."),c._connectionState="Connected")}catch(S){return c._logger.log(te.Error,"Failed to start the connection: "+S),c._connectionState="Disconnected",c.transport=void 0,c._stopPromiseResolver(),Promise.reject(S)}})()}_getNegotiationResponse(A){var c=this;return(0,Z.c)(function*(){const E={};if(c._accessTokenFactory){const sn=yield c._accessTokenFactory();sn&&(E[Kt.Authorization]=`Bearer ${sn}`)}const[S,Be]=H();E[S]=Be;const Dt=c._resolveNegotiateUrl(A);c._logger.log(te.Debug,`Sending negotiation request: ${Dt}.`);try{const sn=yield c._httpClient.post(Dt,{content:"",headers:{...E,...c._options.headers},timeout:c._options.timeout,withCredentials:c._options.withCredentials});if(200!==sn.statusCode)return Promise.reject(new Error(`Unexpected status code returned from negotiate '${sn.statusCode}'`));const Mn=JSON.parse(sn.content);return(!Mn.negotiateVersion||Mn.negotiateVersion<1)&&(Mn.connectionToken=Mn.connectionId),Mn}catch(sn){let Mn="Failed to complete negotiation with the server: "+sn;return sn instanceof _e&&404===sn.statusCode&&(Mn+=" Either this is not a SignalR endpoint or there is a proxy blocking the connection."),c._logger.log(te.Error,Mn),Promise.reject(new Y(Mn))}})()}_createConnectUrl(A,c){return c?A+(-1===A.indexOf("?")?"?":"&")+`id=${c}`:A}_createTransport(A,c,E,S){var Be=this;return(0,Z.c)(function*(){let Dt=Be._createConnectUrl(A,E.connectionToken);if(Be._isITransport(c))return Be._logger.log(te.Debug,"Connection was provided an instance of ITransport, using that directly."),Be.transport=c,yield Be._startTransport(Dt,S),void(Be.connectionId=E.connectionId);const sn=[],Mn=E.availableTransports||[];let Rn=E;for(const Jn of Mn){const Lr=Be._resolveTransportOrError(Jn,c,S);if(Lr instanceof Error)sn.push(`${Jn.transport} failed:`),sn.push(Lr);else if(Be._isITransport(Lr)){if(Be.transport=Lr,!Rn){try{Rn=yield Be._getNegotiationResponse(A)}catch(ys){return Promise.reject(ys)}Dt=Be._createConnectUrl(A,Rn.connectionToken)}try{return yield Be._startTransport(Dt,S),void(Be.connectionId=Rn.connectionId)}catch(ys){if(Be._logger.log(te.Error,`Failed to start the transport '${Jn.transport}': ${ys}`),Rn=void 0,sn.push(new ye(`${Jn.transport} failed: ${ys}`,gt[Jn.transport])),"Connecting"!==Be._connectionState){const ms="Failed to select transport before stop() was called.";return Be._logger.log(te.Debug,ms),Promise.reject(new Error(ms))}}}}return Promise.reject(sn.length>0?new g(`Unable to connect to the server with any of the available transports. ${sn.join(" ")}`,sn):new Error("None of the transports supported by the client are supported by the server."))})()}_constructTransport(A){switch(A){case gt.WebSockets:if(!this._options.WebSocket)throw new Error("'WebSocket' is not supported in your environment.");return new He(this._httpClient,this._accessTokenFactory,this._logger,this._options.logMessageContent,this._options.WebSocket,this._options.headers||{});case gt.ServerSentEvents:if(!this._options.EventSource)throw new Error("'EventSource' is not supported in your environment.");return new Ne(this._httpClient,this._accessTokenFactory,this._logger,this._options);case gt.LongPolling:return new Ke(this._httpClient,this._accessTokenFactory,this._logger,this._options);default:throw new Error(`Unknown transport: ${A}.`)}}_startTransport(A,c){return this.transport.onreceive=this.onreceive,this.transport.onclose=E=>this._stopConnection(E),this.transport.connect(A,c)}_resolveTransportOrError(A,c,E){const S=gt[A.transport];if(null==S)return this._logger.log(te.Debug,`Skipping transport '${A.transport}' because it is not supported by this client.`),new Error(`Skipping transport '${A.transport}' because it is not supported by this client.`);if(!function re(C,A){return!C||0!=(A&C)}(c,S))return this._logger.log(te.Debug,`Skipping transport '${gt[S]}' because it was disabled by the client.`),new le(`'${gt[S]}' is disabled by the client.`,S);if(!(A.transferFormats.map(Dt=>vt[Dt]).indexOf(E)>=0))return this._logger.log(te.Debug,`Skipping transport '${gt[S]}' because it does not support the requested transfer format '${vt[E]}'.`),new Error(`'${gt[S]}' does not support ${vt[E]}.`);if(S===gt.WebSockets&&!this._options.WebSocket||S===gt.ServerSentEvents&&!this._options.EventSource)return this._logger.log(te.Debug,`Skipping transport '${gt[S]}' because it is not supported in your environment.'`),new rt(`'${gt[S]}' is not supported in your environment.`,S);this._logger.log(te.Debug,`Selecting transport '${gt[S]}'.`);try{return this._constructTransport(S)}catch(Dt){return Dt}}_isITransport(A){return A&&"object"==typeof A&&"connect"in A}_stopConnection(A){if(this._logger.log(te.Debug,`HttpConnection.stopConnection(${A}) called while in state ${this._connectionState}.`),this.transport=void 0,A=this._stopError||A,this._stopError=void 0,"Disconnected"!==this._connectionState){if("Connecting"===this._connectionState)throw this._logger.log(te.Warning,`Call to HttpConnection.stopConnection(${A}) was ignored because the connection is still in the connecting state.`),new Error(`HttpConnection.stopConnection(${A}) was called while the connection is still in the connecting state.`);if("Disconnecting"===this._connectionState&&this._stopPromiseResolver(),A?this._logger.log(te.Error,`Connection disconnected with error '${A}'.`):this._logger.log(te.Information,"Connection disconnected."),this._sendQueue&&(this._sendQueue.stop().catch(c=>{this._logger.log(te.Error,`TransportSendQueue.stop() threw error '${c}'.`)}),this._sendQueue=void 0),this.connectionId=void 0,this._connectionState="Disconnected",this._connectionStarted){this._connectionStarted=!1;try{this.onclose&&this.onclose(A)}catch(c){this._logger.log(te.Error,`HttpConnection.onclose(${A}) threw error '${c}'.`)}}}else this._logger.log(te.Debug,`Call to HttpConnection.stopConnection(${A}) was ignored because the connection is already in the disconnected state.`)}_resolveUrl(A){if(0===A.lastIndexOf("https://",0)||0===A.lastIndexOf("http://",0))return A;if(!ot.isBrowser)throw new Error(`Cannot resolve '${A}'.`);const c=window.document.createElement("a");return c.href=A,this._logger.log(te.Information,`Normalizing '${A}' to '${c.href}'.`),c.href}_resolveNegotiateUrl(A){const c=A.indexOf("?");let E=A.substring(0,-1===c?A.length:c);return"/"!==E[E.length-1]&&(E+="/"),E+="negotiate",E+=-1===c?"":A.substring(c),-1===E.indexOf("negotiateVersion")&&(E+=-1===c?"?":"&",E+="negotiateVersion="+this._negotiateVersion),E}}class Re{constructor(A){this._transport=A,this._buffer=[],this._executing=!0,this._sendBufferedData=new pe,this._transportResult=new pe,this._sendLoopPromise=this._sendLoop()}send(A){return this._bufferData(A),this._transportResult||(this._transportResult=new pe),this._transportResult.promise}stop(){return this._executing=!1,this._sendBufferedData.resolve(),this._sendLoopPromise}_bufferData(A){if(this._buffer.length&&typeof this._buffer[0]!=typeof A)throw new Error(`Expected data to be of type ${typeof this._buffer} but was of type ${typeof A}`);this._buffer.push(A),this._sendBufferedData.resolve()}_sendLoop(){var A=this;return(0,Z.c)(function*(){for(;;){if(yield A._sendBufferedData.promise,!A._executing){A._transportResult&&A._transportResult.reject("Connection stopped.");break}A._sendBufferedData=new pe;const c=A._transportResult;A._transportResult=void 0;const E="string"==typeof A._buffer[0]?A._buffer.join(""):Re._concatBuffers(A._buffer);A._buffer.length=0;try{yield A._transport.send(E),c.resolve()}catch(S){c.reject(S)}}})()}static _concatBuffers(A){const c=A.map(Be=>Be.byteLength).reduce((Be,Dt)=>Be+Dt),E=new Uint8Array(c);let S=0;for(const Be of A)E.set(new Uint8Array(Be),S),S+=Be.byteLength;return E.buffer}}class pe{constructor(){this.promise=new Promise((A,c)=>[this._resolver,this._rejecter]=[A,c])}resolve(){this._resolver()}reject(A){this._rejecter(A)}}class Mt{static write(A){return`${A}${Mt.RecordSeparator}`}static parse(A){if(A[A.length-1]!==Mt.RecordSeparator)throw new Error("Message is incomplete.");const c=A.split(Mt.RecordSeparator);return c.pop(),c}}Mt.RecordSeparatorCode=30,Mt.RecordSeparator=String.fromCharCode(Mt.RecordSeparatorCode);class $t{writeHandshakeRequest(A){return Mt.write(JSON.stringify(A))}parseHandshakeResponse(A){let c,E;if(Gt(A)){const sn=new Uint8Array(A),Mn=sn.indexOf(Mt.RecordSeparatorCode);if(-1===Mn)throw new Error("Message is incomplete.");const Rn=Mn+1;c=String.fromCharCode.apply(null,Array.prototype.slice.call(sn.slice(0,Rn))),E=sn.byteLength>Rn?sn.slice(Rn).buffer:null}else{const sn=A,Mn=sn.indexOf(Mt.RecordSeparator);if(-1===Mn)throw new Error("Message is incomplete.");const Rn=Mn+1;c=sn.substring(0,Rn),E=sn.length>Rn?sn.substring(Rn):null}const S=Mt.parse(c),Be=JSON.parse(S[0]);if(Be.type)throw new Error("Expected a handshake response from the server.");return[E,Be]}}var zt=function(C){return C[C.Invocation=1]="Invocation",C[C.StreamItem=2]="StreamItem",C[C.Completion=3]="Completion",C[C.StreamInvocation=4]="StreamInvocation",C[C.CancelInvocation=5]="CancelInvocation",C[C.Ping=6]="Ping",C[C.Close=7]="Close",C}(zt||{});class bn{constructor(){this.observers=[]}next(A){for(const c of this.observers)c.next(A)}error(A){for(const c of this.observers)c.error&&c.error(A)}complete(){for(const A of this.observers)A.complete&&A.complete()}subscribe(A){return this.observers.push(A),new Ae(this,A)}}var dn=function(C){return C.Disconnected="Disconnected",C.Connecting="Connecting",C.Connected="Connected",C.Disconnecting="Disconnecting",C.Reconnecting="Reconnecting",C}(dn||{});class kn{constructor(A,c,E,S){this._nextKeepAlive=0,this._freezeEventListener=()=>{this._logger.log(te.Warning,"The page is being frozen, this will likely lead to the connection being closed and messages being lost. For more information see the docs at https://docs.microsoft.com/aspnet/core/signalr/javascript-client#bsleep")},Se.isRequired(A,"connection"),Se.isRequired(c,"logger"),Se.isRequired(E,"protocol"),this.serverTimeoutInMilliseconds=3e4,this.keepAliveIntervalInMilliseconds=15e3,this._logger=c,this._protocol=E,this.connection=A,this._reconnectPolicy=S,this._handshakeProtocol=new $t,this.connection.onreceive=Be=>this._processIncomingData(Be),this.connection.onclose=Be=>this._connectionClosed(Be),this._callbacks={},this._methods={},this._closedCallbacks=[],this._reconnectingCallbacks=[],this._reconnectedCallbacks=[],this._invocationId=0,this._receivedHandshakeResponse=!1,this._connectionState=dn.Disconnected,this._connectionStarted=!1,this._cachedPingMessage=this._protocol.writeMessage({type:zt.Ping})}static create(A,c,E,S){return new kn(A,c,E,S)}get state(){return this._connectionState}get connectionId(){return this.connection&&this.connection.connectionId||null}get baseUrl(){return this.connection.baseUrl||""}set baseUrl(A){if(this._connectionState!==dn.Disconnected&&this._connectionState!==dn.Reconnecting)throw new Error("The HubConnection must be in the Disconnected or Reconnecting state to change the url.");if(!A)throw new Error("The HubConnection url must be a valid url.");this.connection.baseUrl=A}start(){return this._startPromise=this._startWithStateTransitions(),this._startPromise}_startWithStateTransitions(){var A=this;return(0,Z.c)(function*(){if(A._connectionState!==dn.Disconnected)return Promise.reject(new Error("Cannot start a HubConnection that is not in the 'Disconnected' state."));A._connectionState=dn.Connecting,A._logger.log(te.Debug,"Starting HubConnection.");try{yield A._startInternal(),ot.isBrowser&&window.document.addEventListener("freeze",A._freezeEventListener),A._connectionState=dn.Connected,A._connectionStarted=!0,A._logger.log(te.Debug,"HubConnection connected successfully.")}catch(c){return A._connectionState=dn.Disconnected,A._logger.log(te.Debug,`HubConnection failed to start successfully because of error '${c}'.`),Promise.reject(c)}})()}_startInternal(){var A=this;return(0,Z.c)(function*(){A._stopDuringStartError=void 0,A._receivedHandshakeResponse=!1;const c=new Promise((E,S)=>{A._handshakeResolver=E,A._handshakeRejecter=S});yield A.connection.start(A._protocol.transferFormat);try{const E={protocol:A._protocol.name,version:A._protocol.version};if(A._logger.log(te.Debug,"Sending handshake request."),yield A._sendMessage(A._handshakeProtocol.writeHandshakeRequest(E)),A._logger.log(te.Information,`Using HubProtocol '${A._protocol.name}'.`),A._cleanupTimeout(),A._resetTimeoutPeriod(),A._resetKeepAliveInterval(),yield c,A._stopDuringStartError)throw A._stopDuringStartError}catch(E){throw A._logger.log(te.Debug,`Hub handshake failed with error '${E}' during start(). Stopping HubConnection.`),A._cleanupTimeout(),A._cleanupPingTimer(),yield A.connection.stop(E),E}})()}stop(){var A=this;return(0,Z.c)(function*(){const c=A._startPromise;A._stopPromise=A._stopInternal(),yield A._stopPromise;try{yield c}catch{}})()}_stopInternal(A){return this._connectionState===dn.Disconnected?(this._logger.log(te.Debug,`Call to HubConnection.stop(${A}) ignored because it is already in the disconnected state.`),Promise.resolve()):this._connectionState===dn.Disconnecting?(this._logger.log(te.Debug,`Call to HttpConnection.stop(${A}) ignored because the connection is already in the disconnecting state.`),this._stopPromise):(this._connectionState=dn.Disconnecting,this._logger.log(te.Debug,"Stopping HubConnection."),this._reconnectDelayHandle?(this._logger.log(te.Debug,"Connection stopped during reconnect delay. Done reconnecting."),clearTimeout(this._reconnectDelayHandle),this._reconnectDelayHandle=void 0,this._completeClose(),Promise.resolve()):(this._cleanupTimeout(),this._cleanupPingTimer(),this._stopDuringStartError=A||new Error("The connection was stopped before the hub handshake could complete."),this.connection.stop(A)))}stream(A,...c){const[E,S]=this._replaceStreamingParams(c),Be=this._createStreamInvocation(A,c,S);let Dt;const sn=new bn;return sn.cancelCallback=()=>{const Mn=this._createCancelInvocation(Be.invocationId);return delete this._callbacks[Be.invocationId],Dt.then(()=>this._sendWithProtocol(Mn))},this._callbacks[Be.invocationId]=(Mn,Rn)=>{Rn?sn.error(Rn):Mn&&(Mn.type===zt.Completion?Mn.error?sn.error(new Error(Mn.error)):sn.complete():sn.next(Mn.item))},Dt=this._sendWithProtocol(Be).catch(Mn=>{sn.error(Mn),delete this._callbacks[Be.invocationId]}),this._launchStreams(E,Dt),sn}_sendMessage(A){return this._resetKeepAliveInterval(),this.connection.send(A)}_sendWithProtocol(A){return this._sendMessage(this._protocol.writeMessage(A))}send(A,...c){const[E,S]=this._replaceStreamingParams(c),Be=this._sendWithProtocol(this._createInvocation(A,c,!0,S));return this._launchStreams(E,Be),Be}invoke(A,...c){const[E,S]=this._replaceStreamingParams(c),Be=this._createInvocation(A,c,!1,S);return new Promise((sn,Mn)=>{this._callbacks[Be.invocationId]=(Jn,Lr)=>{Lr?Mn(Lr):Jn&&(Jn.type===zt.Completion?Jn.error?Mn(new Error(Jn.error)):sn(Jn.result):Mn(new Error(`Unexpected message type: ${Jn.type}`)))};const Rn=this._sendWithProtocol(Be).catch(Jn=>{Mn(Jn),delete this._callbacks[Be.invocationId]});this._launchStreams(E,Rn)})}on(A,c){!A||!c||(A=A.toLowerCase(),this._methods[A]||(this._methods[A]=[]),-1===this._methods[A].indexOf(c)&&this._methods[A].push(c))}off(A,c){if(!A)return;A=A.toLowerCase();const E=this._methods[A];if(E)if(c){const S=E.indexOf(c);-1!==S&&(E.splice(S,1),0===E.length&&delete this._methods[A])}else delete this._methods[A]}onclose(A){A&&this._closedCallbacks.push(A)}onreconnecting(A){A&&this._reconnectingCallbacks.push(A)}onreconnected(A){A&&this._reconnectedCallbacks.push(A)}_processIncomingData(A){if(this._cleanupTimeout(),this._receivedHandshakeResponse||(A=this._processHandshakeResponse(A),this._receivedHandshakeResponse=!0),A){const c=this._protocol.parseMessages(A,this._logger);for(const E of c)switch(E.type){case zt.Invocation:this._invokeClientMethod(E);break;case zt.StreamItem:case zt.Completion:{const S=this._callbacks[E.invocationId];if(S){E.type===zt.Completion&&delete this._callbacks[E.invocationId];try{S(E)}catch(Be){this._logger.log(te.Error,`Stream callback threw error: ${Et(Be)}`)}}break}case zt.Ping:break;case zt.Close:{this._logger.log(te.Information,"Close message received from server.");const S=E.error?new Error("Server returned an error on close: "+E.error):void 0;!0===E.allowReconnect?this.connection.stop(S):this._stopPromise=this._stopInternal(S);break}default:this._logger.log(te.Warning,`Invalid message type: ${E.type}.`)}}this._resetTimeoutPeriod()}_processHandshakeResponse(A){let c,E;try{[E,c]=this._handshakeProtocol.parseHandshakeResponse(A)}catch(S){const Be="Error parsing handshake response: "+S;this._logger.log(te.Error,Be);const Dt=new Error(Be);throw this._handshakeRejecter(Dt),Dt}if(c.error){const S="Server returned handshake error: "+c.error;this._logger.log(te.Error,S);const Be=new Error(S);throw this._handshakeRejecter(Be),Be}return this._logger.log(te.Debug,"Server handshake complete."),this._handshakeResolver(),E}_resetKeepAliveInterval(){this.connection.features.inherentKeepAlive||(this._nextKeepAlive=(new Date).getTime()+this.keepAliveIntervalInMilliseconds,this._cleanupPingTimer())}_resetTimeoutPeriod(){var A=this;if(!(this.connection.features&&this.connection.features.inherentKeepAlive||(this._timeoutHandle=setTimeout(()=>this.serverTimeout(),this.serverTimeoutInMilliseconds),void 0!==this._pingServerHandle))){let c=this._nextKeepAlive-(new Date).getTime();c<0&&(c=0),this._pingServerHandle=setTimeout((0,Z.c)(function*(){if(A._connectionState===dn.Connected)try{yield A._sendMessage(A._cachedPingMessage)}catch{A._cleanupPingTimer()}}),c)}}serverTimeout(){this.connection.stop(new Error("Server timeout elapsed without receiving a message from the server."))}_invokeClientMethod(A){const c=this._methods[A.target.toLowerCase()];if(c){try{c.forEach(E=>E.apply(this,A.arguments))}catch(E){this._logger.log(te.Error,`A callback for the method ${A.target.toLowerCase()} threw error '${E}'.`)}if(A.invocationId){const E="Server requested a response, which is not supported in this version of the client.";this._logger.log(te.Error,E),this._stopPromise=this._stopInternal(new Error(E))}}else this._logger.log(te.Warning,`No client method with the name '${A.target}' found.`)}_connectionClosed(A){this._logger.log(te.Debug,`HubConnection.connectionClosed(${A}) called while in state ${this._connectionState}.`),this._stopDuringStartError=this._stopDuringStartError||A||new Error("The underlying connection was closed before the hub handshake could complete."),this._handshakeResolver&&this._handshakeResolver(),this._cancelCallbacksWithError(A||new Error("Invocation canceled due to the underlying connection being closed.")),this._cleanupTimeout(),this._cleanupPingTimer(),this._connectionState===dn.Disconnecting?this._completeClose(A):this._connectionState===dn.Connected&&this._reconnectPolicy?this._reconnect(A):this._connectionState===dn.Connected&&this._completeClose(A)}_completeClose(A){if(this._connectionStarted){this._connectionState=dn.Disconnected,this._connectionStarted=!1,ot.isBrowser&&window.document.removeEventListener("freeze",this._freezeEventListener);try{this._closedCallbacks.forEach(c=>c.apply(this,[A]))}catch(c){this._logger.log(te.Error,`An onclose callback called with error '${A}' threw error '${c}'.`)}}}_reconnect(A){var c=this;return(0,Z.c)(function*(){const E=Date.now();let S=0,Be=void 0!==A?A:new Error("Attempting to reconnect due to a unknown error."),Dt=c._getNextRetryDelay(S++,0,Be);if(null===Dt)return c._logger.log(te.Debug,"Connection not reconnecting because the IRetryPolicy returned null on the first reconnect attempt."),void c._completeClose(A);if(c._connectionState=dn.Reconnecting,c._logger.log(te.Information,A?`Connection reconnecting because of error '${A}'.`:"Connection reconnecting."),0!==c._reconnectingCallbacks.length){try{c._reconnectingCallbacks.forEach(sn=>sn.apply(c,[A]))}catch(sn){c._logger.log(te.Error,`An onreconnecting callback called with error '${A}' threw error '${sn}'.`)}if(c._connectionState!==dn.Reconnecting)return void c._logger.log(te.Debug,"Connection left the reconnecting state in onreconnecting callback. Done reconnecting.")}for(;null!==Dt;){if(c._logger.log(te.Information,`Reconnect attempt number ${S} will start in ${Dt} ms.`),yield new Promise(sn=>{c._reconnectDelayHandle=setTimeout(sn,Dt)}),c._reconnectDelayHandle=void 0,c._connectionState!==dn.Reconnecting)return void c._logger.log(te.Debug,"Connection left the reconnecting state during reconnect delay. Done reconnecting.");try{if(yield c._startInternal(),c._connectionState=dn.Connected,c._logger.log(te.Information,"HubConnection reconnected successfully."),0!==c._reconnectedCallbacks.length)try{c._reconnectedCallbacks.forEach(sn=>sn.apply(c,[c.connection.connectionId]))}catch(sn){c._logger.log(te.Error,`An onreconnected callback called with connectionId '${c.connection.connectionId}; threw error '${sn}'.`)}return}catch(sn){if(c._logger.log(te.Information,`Reconnect attempt failed because of error '${sn}'.`),c._connectionState!==dn.Reconnecting)return c._logger.log(te.Debug,`Connection moved to the '${c._connectionState}' from the reconnecting state during reconnect attempt. Done reconnecting.`),void(c._connectionState===dn.Disconnecting&&c._completeClose());Be=sn instanceof Error?sn:new Error(sn.toString()),Dt=c._getNextRetryDelay(S++,Date.now()-E,Be)}}c._logger.log(te.Information,`Reconnect retries have been exhausted after ${Date.now()-E} ms and ${S} failed attempts. Connection disconnecting.`),c._completeClose()})()}_getNextRetryDelay(A,c,E){try{return this._reconnectPolicy.nextRetryDelayInMilliseconds({elapsedMilliseconds:c,previousRetryCount:A,retryReason:E})}catch(S){return this._logger.log(te.Error,`IRetryPolicy.nextRetryDelayInMilliseconds(${A}, ${c}) threw error '${S}'.`),null}}_cancelCallbacksWithError(A){const c=this._callbacks;this._callbacks={},Object.keys(c).forEach(E=>{const S=c[E];try{S(null,A)}catch(Be){this._logger.log(te.Error,`Stream 'error' callback called with '${A}' threw error: ${Et(Be)}`)}})}_cleanupPingTimer(){this._pingServerHandle&&(clearTimeout(this._pingServerHandle),this._pingServerHandle=void 0)}_cleanupTimeout(){this._timeoutHandle&&clearTimeout(this._timeoutHandle)}_createInvocation(A,c,E,S){if(E)return 0!==S.length?{arguments:c,streamIds:S,target:A,type:zt.Invocation}:{arguments:c,target:A,type:zt.Invocation};{const Be=this._invocationId;return this._invocationId++,0!==S.length?{arguments:c,invocationId:Be.toString(),streamIds:S,target:A,type:zt.Invocation}:{arguments:c,invocationId:Be.toString(),target:A,type:zt.Invocation}}}_launchStreams(A,c){if(0!==A.length){c||(c=Promise.resolve());for(const E in A)A[E].subscribe({complete:()=>{c=c.then(()=>this._sendWithProtocol(this._createCompletionMessage(E)))},error:S=>{let Be;Be=S instanceof Error?S.message:S&&S.toString?S.toString():"Unknown error",c=c.then(()=>this._sendWithProtocol(this._createCompletionMessage(E,Be)))},next:S=>{c=c.then(()=>this._sendWithProtocol(this._createStreamItemMessage(E,S)))}})}}_replaceStreamingParams(A){const c=[],E=[];for(let S=0;S<A.length;S++){const Be=A[S];if(this._isObservable(Be)){const Dt=this._invocationId;this._invocationId++,c[Dt]=Be,E.push(Dt.toString()),A.splice(S,1)}}return[c,E]}_isObservable(A){return A&&A.subscribe&&"function"==typeof A.subscribe}_createStreamInvocation(A,c,E){const S=this._invocationId;return this._invocationId++,0!==E.length?{arguments:c,invocationId:S.toString(),streamIds:E,target:A,type:zt.StreamInvocation}:{arguments:c,invocationId:S.toString(),target:A,type:zt.StreamInvocation}}_createCancelInvocation(A){return{invocationId:A,type:zt.CancelInvocation}}_createStreamItemMessage(A,c){return{invocationId:A,item:c,type:zt.StreamItem}}_createCompletionMessage(A,c,E){return c?{error:c,invocationId:A,type:zt.Completion}:{invocationId:A,result:E,type:zt.Completion}}}class Bn{constructor(){this.name="json",this.version=1,this.transferFormat=vt.Text}parseMessages(A,c){if("string"!=typeof A)throw new Error("Invalid input for JSON hub protocol. Expected a string.");if(!A)return[];null===c&&(c=be.instance);const E=Mt.parse(A),S=[];for(const Be of E){const Dt=JSON.parse(Be);if("number"!=typeof Dt.type)throw new Error("Invalid payload.");switch(Dt.type){case zt.Invocation:this._isInvocationMessage(Dt);break;case zt.StreamItem:this._isStreamItemMessage(Dt);break;case zt.Completion:this._isCompletionMessage(Dt);break;case zt.Ping:case zt.Close:break;default:c.log(te.Information,"Unknown message type '"+Dt.type+"' ignored.");continue}S.push(Dt)}return S}writeMessage(A){return Mt.write(JSON.stringify(A))}_isInvocationMessage(A){this._assertNotEmptyString(A.target,"Invalid payload for Invocation message."),void 0!==A.invocationId&&this._assertNotEmptyString(A.invocationId,"Invalid payload for Invocation message.")}_isStreamItemMessage(A){if(this._assertNotEmptyString(A.invocationId,"Invalid payload for StreamItem message."),void 0===A.item)throw new Error("Invalid payload for StreamItem message.")}_isCompletionMessage(A){if(A.result&&A.error)throw new Error("Invalid payload for Completion message.");!A.result&&A.error&&this._assertNotEmptyString(A.error,"Invalid payload for Completion message."),this._assertNotEmptyString(A.invocationId,"Invalid payload for Completion message.")}_assertNotEmptyString(A,c){if("string"!=typeof A||""===A)throw new Error(c)}}const ti={trace:te.Trace,debug:te.Debug,info:te.Information,information:te.Information,warn:te.Warning,warning:te.Warning,error:te.Error,critical:te.Critical,none:te.None};class Nt{configureLogging(A){if(Se.isRequired(A,"logging"),function It(C){return void 0!==C.log}(A))this.logger=A;else if("string"==typeof A){const c=function Ft(C){const A=ti[C.toLowerCase()];if(typeof A<"u")return A;throw new Error(`Unknown log level: ${C}`)}(A);this.logger=new L(c)}else this.logger=new L(A);return this}withUrl(A,c){return Se.isRequired(A,"url"),Se.isNotEmpty(A,"url"),this.url=A,this.httpConnectionOptions="object"==typeof c?{...this.httpConnectionOptions,...c}:{...this.httpConnectionOptions,transport:c},this}withHubProtocol(A){return Se.isRequired(A,"protocol"),this.protocol=A,this}withAutomaticReconnect(A){if(this.reconnectPolicy)throw new Error("A reconnectPolicy has already been set.");return this.reconnectPolicy=A?Array.isArray(A)?new ae(A):A:new ae,this}build(){const A=this.httpConnectionOptions||{};if(void 0===A.logger&&(A.logger=this.logger),!this.url)throw new Error("The 'HubConnectionBuilder.withUrl' method must be called before building the connection.");const c=new st(this.url,A);return kn.create(c,this.logger||be.instance,this.protocol||new Bn,this.reconnectPolicy)}}let en=(()=>{class C{constructor(c){this.authService=c,this.Notification=new i._w7}initialize(){this.stopConnection(),this.hubConnection=(new Nt).withUrl("hubs/notification",{accessTokenFactory:()=>this.authService.getToken()}).configureLogging(te.Information).build(),this.hubConnection.on("Notification",S=>{this.Notification.emit(S)});let E=0;this.hubConnection.start().then(S=>{console.log("Now connected")}).catch(S=>{E++,console.log("Could not connect "+S),E<=3&&setTimeout(()=>this.initialize(),3e3)})}stopConnection(){this.hubConnection&&(this.hubConnection.stop(),this.hubConnection=null)}static#e=this.\u0275fac=function(E){return new(E||C)(i.CoB(oe.o))};static#t=this.\u0275prov=i.wxM({token:C,factory:C.\u0275fac})}return C})();var Vt=u(2728),We=u(68),De=u(8376),fe=u(1216),F=u(9966),Ce=u(2552),Te=u(3188),at=u(3040),Oe=u(4728),it=u(8480),bt=u(8760),jt=u(5568),mn=u(4680),Cn=u(4e3),xn=u(7368),Fn=u(7528),$n=u(9544),ln=u(3400),ni=u(5372);const Oi=["keywordInput"];function Er(C,A){if(1&C){const c=i.KQA();i.I0R(0,"mat-chip",9),i.qCj("removed",function(){const Be=i.usT(c).$implicit,Dt=i.GaO();return i.CGJ(Dt.remove(Be))}),i.OEk(1),i.I0R(2,"mat-icon",10),i.OEk(3,"cancel"),i.C$Y()()}if(2&C){const c=A.$implicit;i.E7m("removable",!0),i.yG2(),i.oRS(" ",c.name," ")}}function Vr(C,A){if(1&C&&(i.I0R(0,"mat-option",11),i.OEk(1),i.C$Y()),2&C){const c=A.$implicit;i.E7m("value",c),i.yG2(),i.oRS(" ",c.name," ")}}let Mi=(()=>{class C{constructor(c){this.tmdbService=c,this.control=new I.yM}ngOnInit(){this.filteredKeywords=this.control.valueChanges.pipe((0,jt.W)(""),(0,mn.o)(400),(0,Cn.a)(),(0,xn.G)(c=>this.filter(c||"")))}filter(c){return this.tmdbService.getKeywords(c)}remove(c){const E=this.form.controls.keywordIds.value,S=E.indexOf(c);S>=0&&(E.splice(S,1),this.form.controls.keywordIds.setValue(E))}selected(c){const E=c.option.value,S=this.form.controls.keywordIds.value;S.indexOf(E)<0&&S.push(E),this.form.controls.keywordIds.setValue(S),this.input.nativeElement.value="",this.control.setValue(null)}static#e=this.\u0275fac=function(E){return new(E||C)(i.GI1(_.Ci))};static#t=this.\u0275cmp=i.In1({type:C,selectors:[["keyword-search"]],viewQuery:function(E,S){if(1&E&&i.CC$(Oi,5),2&E){let Be;i.wto(Be=i.Gqi())&&(S.input=Be.first)}},inputs:{form:"form"},decls:14,vars:13,consts:[["appearance","outline","floatLabel","auto",1,"example-chip-list"],["aria-label","Fruit selection"],["chipList",""],[3,"removable","removed",4,"ngFor","ngForOf"],[3,"placeholder","formControl","matAutocomplete","matChipInputFor"],["keywordInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"removable","removed"],["matChipRemove",""],[3,"value"]],template:function(E,S){if(1&E&&(i.I0R(0,"mat-form-field",0)(1,"mat-label"),i.OEk(2),i.wVc(3,"translate"),i.C$Y(),i.I0R(4,"mat-chip-list",1,2),i.yuY(6,Er,4,2,"mat-chip",3),i.wR5(7,"input",4,5),i.wVc(9,"translate"),i.C$Y(),i.I0R(10,"mat-autocomplete",6,7),i.qCj("optionSelected",function(Dt){return S.selected(Dt)}),i.yuY(12,Vr,2,2,"mat-option",8),i.wVc(13,"async"),i.C$Y()()),2&E){const Be=i.Gew(5),Dt=i.Gew(11);i.yG2(2),i.cNF(i.kDX(3,7,"Filter.Keywords")),i.yG2(4),i.E7m("ngForOf",S.form.controls.keywordIds.value),i.yG2(),i.E7m("placeholder",i.kDX(9,9,"Search.SearchKeyword"))("formControl",S.control)("matAutocomplete",Dt)("matChipInputFor",Be),i.yG2(5),i.E7m("ngForOf",i.kDX(13,11,S.filteredKeywords))}},dependencies:[I.ot,I.ue,I.ug,y.ay,Fn.e,Fn.cG,$n.I5,at.Up,at.w5,ln.mI,ln.oH,ln.YF,ln.N5,ni.qL,y.a,ie.sD],encapsulation:2})}return C})();var qn=u(4704);const ls=["keywordInput"];function ur(C,A){if(1&C){const c=i.KQA();i.I0R(0,"mat-chip",9),i.qCj("removed",function(){const Be=i.usT(c).$implicit,Dt=i.GaO();return i.CGJ(Dt.remove(Be))}),i.OEk(1),i.I0R(2,"mat-icon",10),i.OEk(3,"cancel"),i.C$Y()()}if(2&C){const c=A.$implicit;i.E7m("removable",!0),i.yG2(),i.oRS(" ",c.name," ")}}function Nr(C,A){if(1&C&&(i.I0R(0,"mat-option",11),i.OEk(1),i.C$Y()),2&C){const c=A.$implicit;i.E7m("value",c),i.yG2(),i.oRS(" ",c.name," ")}}let ds=(()=>{class C{constructor(c){this.searchService=c,this.genres=[],this.control=new I.yM}set mediaType(c){this._mediaType=c,this.searchService.getGenres(this._mediaType).subscribe(E=>{this.genres=E,this.filteredKeywords=this.control.valueChanges.pipe((0,jt.W)(""),(0,qn.k)(S=>S?this._filter(S):this.genres.slice()))})}get mediaType(){return this._mediaType}remove(c){const E=this.form.controls.genreIds.value,S=E.indexOf(c);S>=0&&(E.splice(S,1),this.form.controls.genreIds.setValue(E))}selected(c){const E=c.option.value,S=this.form.controls.genreIds.value;S.indexOf(E)<0&&S.push(E),this.form.controls.genreIds.setValue(S),this.input.nativeElement.value="",this.control.setValue(null)}_filter(c){if("object"==typeof c){const E=c.name.toLowerCase();return this.genres.filter(S=>S.name.toLowerCase().includes(E))}if("string"==typeof c){const E=c.toLowerCase();return this.genres.filter(S=>S.name.toLowerCase().includes(E))}return this.genres}static#e=this.\u0275fac=function(E){return new(E||C)(i.GI1(_.G_))};static#t=this.\u0275cmp=i.In1({type:C,selectors:[["genre-select"]],viewQuery:function(E,S){if(1&E&&i.CC$(ls,5),2&E){let Be;i.wto(Be=i.Gqi())&&(S.input=Be.first)}},inputs:{form:"form",mediaType:"mediaType"},decls:14,vars:13,consts:[["appearance","outline","floatLabel","auto",1,"example-chip-list"],["aria-label","Fruit selection"],["chipList",""],[3,"removable","removed",4,"ngFor","ngForOf"],[3,"placeholder","formControl","matAutocomplete","matChipInputFor"],["keywordInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"removable","removed"],["matChipRemove",""],[3,"value"]],template:function(E,S){if(1&E&&(i.I0R(0,"mat-form-field",0)(1,"mat-label"),i.OEk(2),i.wVc(3,"translate"),i.C$Y(),i.I0R(4,"mat-chip-list",1,2),i.yuY(6,ur,4,2,"mat-chip",3),i.wR5(7,"input",4,5),i.wVc(9,"translate"),i.C$Y(),i.I0R(10,"mat-autocomplete",6,7),i.qCj("optionSelected",function(Dt){return S.selected(Dt)}),i.yuY(12,Nr,2,2,"mat-option",8),i.wVc(13,"async"),i.C$Y()()),2&E){const Be=i.Gew(5),Dt=i.Gew(11);i.yG2(2),i.cNF(i.kDX(3,7,"MediaDetails.Genres")),i.yG2(4),i.E7m("ngForOf",S.form.controls.genreIds.value),i.yG2(),i.E7m("placeholder",i.kDX(9,9,"Search.SearchGenre"))("formControl",S.control)("matAutocomplete",Dt)("matChipInputFor",Be),i.yG2(5),i.E7m("ngForOf",i.kDX(13,11,S.filteredKeywords))}},dependencies:[I.ot,I.ue,I.ug,y.ay,Fn.e,Fn.cG,$n.I5,at.Up,at.w5,ln.mI,ln.oH,ln.YF,ln.N5,ni.qL,y.a,ie.sD],encapsulation:2})}return C})();const Tr=["keywordInput"];function wr(C,A){if(1&C){const c=i.KQA();i.I0R(0,"mat-chip",9),i.qCj("removed",function(){const Be=i.usT(c).$implicit,Dt=i.GaO();return i.CGJ(Dt.remove(Be))}),i.OEk(1),i.I0R(2,"mat-icon",10),i.OEk(3,"cancel"),i.C$Y()()}if(2&C){const c=A.$implicit;i.E7m("removable",!0),i.yG2(),i.oRS(" ",c.provider_name," ")}}function Qr(C,A){if(1&C&&(i.I0R(0,"mat-option",11),i.OEk(1),i.C$Y()),2&C){const c=A.$implicit;i.E7m("value",c),i.yG2(),i.oRS(" ",c.provider_name," ")}}let ht=(()=>{class C{constructor(c){this.tmdbService=c,this.watchProviders=[],this.control=new I.yM}set mediaType(c){this._mediaType=c,this.tmdbService.getWatchProviders(this._mediaType).subscribe(E=>{this.watchProviders=E,this.filteredList=this.control.valueChanges.pipe((0,jt.W)(""),(0,qn.k)(S=>S?this._filter(S):this.watchProviders.slice()))})}get mediaType(){return this._mediaType}remove(c){const E=this.form.controls.watchProviders.value,S=E.indexOf(c);S>=0&&(E.splice(S,1),this.form.controls.watchProviders.setValue(E))}selected(c){const E=c.option.value,S=this.form.controls.watchProviders.value;S.indexOf(E)<0&&S.push(E),this.form.controls.watchProviders.setValue(S),this.input.nativeElement.value="",this.control.setValue(null)}_filter(c){if("object"==typeof c){const E=c.provider_name.toLowerCase();return this.watchProviders.filter(S=>S.provider_name.toLowerCase().includes(E))}if("string"==typeof c){const E=c.toLowerCase();return this.watchProviders.filter(S=>S.provider_name.toLowerCase().includes(E))}return this.watchProviders}static#e=this.\u0275fac=function(E){return new(E||C)(i.GI1(_.Ci))};static#t=this.\u0275cmp=i.In1({type:C,selectors:[["watch-providers-select"]],viewQuery:function(E,S){if(1&E&&i.CC$(Tr,5),2&E){let Be;i.wto(Be=i.Gqi())&&(S.input=Be.first)}},inputs:{mediaType:"mediaType",form:"form"},decls:14,vars:13,consts:[["appearance","outline","floatLabel","auto",1,"example-chip-list"],["aria-label","Fruit selection"],["chipList",""],[3,"removable","removed",4,"ngFor","ngForOf"],[3,"placeholder","formControl","matAutocomplete","matChipInputFor"],["keywordInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"removable","removed"],["matChipRemove",""],[3,"value"]],template:function(E,S){if(1&E&&(i.I0R(0,"mat-form-field",0)(1,"mat-label"),i.OEk(2),i.wVc(3,"translate"),i.C$Y(),i.I0R(4,"mat-chip-list",1,2),i.yuY(6,wr,4,2,"mat-chip",3),i.wR5(7,"input",4,5),i.wVc(9,"translate"),i.C$Y(),i.I0R(10,"mat-autocomplete",6,7),i.qCj("optionSelected",function(Dt){return S.selected(Dt)}),i.yuY(12,Qr,2,2,"mat-option",8),i.wVc(13,"async"),i.C$Y()()),2&E){const Be=i.Gew(5),Dt=i.Gew(11);i.yG2(2),i.cNF(i.kDX(3,7,"Filter.WatchProviders")),i.yG2(4),i.E7m("ngForOf",S.form.controls.watchProviders.value),i.yG2(),i.E7m("placeholder",i.kDX(9,9,"Search.SearchProvider"))("formControl",S.control)("matAutocomplete",Dt)("matChipInputFor",Be),i.yG2(5),i.E7m("ngForOf",i.kDX(13,11,S.filteredList))}},dependencies:[I.ot,I.ue,I.ug,y.ay,Fn.e,Fn.cG,$n.I5,at.Up,at.w5,ln.mI,ln.oH,ln.YF,ln.N5,ni.qL,y.a,ie.sD],encapsulation:2})}return C})();function xt(C,A){if(1&C){const c=i.KQA();i.I0R(0,"form",1),i.qCj("ngSubmit",function(){i.usT(c);const S=i.GaO();return i.CGJ(S.onSubmit())}),i.I0R(1,"h1",2),i.wR5(2,"i",3),i.OEk(3),i.wVc(4,"translate"),i.C$Y(),i.wR5(5,"hr"),i.I0R(6,"div",4),i.wR5(7,"i",5),i.I0R(8,"span"),i.OEk(9),i.wVc(10,"translate"),i.C$Y()(),i.I0R(11,"div",6),i.wR5(12,"input",7),i.C$Y(),i.I0R(13,"div",8)(14,"div",9)(15,"span"),i.OEk(16),i.wVc(17,"translate"),i.C$Y()(),i.I0R(18,"div",10)(19,"div",11)(20,"mat-radio-group",12)(21,"mat-radio-button",13),i.OEk(22),i.wVc(23,"translate"),i.C$Y(),i.I0R(24,"mat-radio-button",14),i.OEk(25),i.wVc(26,"translate"),i.C$Y()()()(),i.I0R(27,"div",15)(28,"mat-form-field",16)(29,"mat-label"),i.OEk(30),i.wVc(31,"translate"),i.C$Y(),i.wR5(32,"input",17),i.C$Y()(),i.I0R(33,"div",10),i.wR5(34,"genre-select",18),i.C$Y(),i.I0R(35,"div",10),i.wR5(36,"watch-providers-select",18),i.C$Y(),i.I0R(37,"div",10)(38,"span",19),i.OEk(39),i.wVc(40,"translate"),i.C$Y(),i.wR5(41,"keyword-search",20),i.C$Y()(),i.I0R(42,"div",21)(43,"button",22),i.wR5(44,"i",23),i.OEk(45),i.wVc(46,"translate"),i.C$Y(),i.I0R(47,"button",24),i.wR5(48,"i",25),i.OEk(49),i.wVc(50,"translate"),i.C$Y()()()}if(2&C){const c=i.GaO();i.E7m("formGroup",c.form),i.yG2(3),i.oRS(" ",i.kDX(4,15,"Search.AdvancedSearchHeader")," "),i.yG2(6),i.cNF(i.kDX(10,17,"Search.AdvancedSearch")),i.yG2(7),i.cNF(i.kDX(17,19,"Search.AdvancedSearchInstructions")),i.yG2(6),i.oRS("",i.kDX(23,21,"NavigationBar.Filter.Movies")," "),i.yG2(3),i.oRS("",i.kDX(26,23,"NavigationBar.Filter.TvShows")," "),i.yG2(5),i.cNF(i.kDX(31,25,"Search.YearOfRelease")),i.yG2(4),i.E7m("form",c.form)("mediaType",c.form.controls.type.value),i.yG2(2),i.E7m("form",c.form)("mediaType",c.form.controls.type.value),i.yG2(3),i.cNF(i.kDX(40,27,"Search.KeywordSearchingDisclaimer")),i.yG2(2),i.E7m("form",c.form),i.yG2(4),i.oRS(" ",i.kDX(46,29,"Common.Cancel")," "),i.yG2(4),i.oRS(" ",i.kDX(50,31,"Common.Search")," ")}}let At=(()=>{class C{constructor(c,E,S,Be){this.dialogRef=c,this.fb=E,this.searchService=S,this.advancedSearchDialogService=Be}ngOnInit(){var c=this;return(0,Z.c)(function*(){c.form=c.fb.group({keywordIds:[[]],genreIds:[[]],releaseYear:[],type:["movie"],watchProviders:[[]]}),c.form.controls.type.valueChanges.subscribe(E=>{c.form.controls.genres.setValue([]),c.form.controls.watchProviders.setValue([])})})()}onSubmit(){var c=this;return(0,Z.c)(function*(){const E=c.form.value,S=E.watchProviders.map(Rn=>Rn.provider_id),Be=E.genreIds.map(Rn=>Rn.id),Dt=E.keywordIds.map(Rn=>Rn.id),sn=yield c.searchService.advancedSearch({watchProviders:S,genreIds:Be,keywordIds:Dt,releaseYear:E.releaseYear,type:E.type},0,30),Mn="movie"===E.type?F.ID.movie:F.ID.tvShow;c.advancedSearchDialogService.setData(sn,Mn),c.advancedSearchDialogService.setOptions(S,Be,Dt,E.releaseYear,Mn,30),c.dialogRef.close(!0)})()}onClose(){this.dialogRef.close(!1)}static#e=this.\u0275fac=function(E){return new(E||C)(i.GI1(Ce.yI),i.GI1(I.KE),i.GI1(_.G_),i.GI1(Te.a))};static#t=this.\u0275cmp=i.In1({type:C,selectors:[["advanced-search-dialog"]],decls:1,vars:1,consts:[[3,"formGroup","ngSubmit",4,"ngIf"],[3,"formGroup","ngSubmit"],["id","advancedOptionsTitle"],[1,"fas","fa-sliders-h"],["role","alert",1,"alert","alert-info"],[1,"fas","fa-x7","fa-search","glyphicon"],[2,"max-width","0","max-height","0","overflow","hidden"],["autofocus","true"],[1,"row"],[2,"margin","2%"],[1,"col-md-12"],[1,"md-form-field"],["formControlName","type","aria-label","Select an option"],["value","movie"],["value","tv",2,"padding-left","5px"],[1,"col-md-12",2,"margin-top","1%"],["appearance","outline","floatLabel","auto"],["matInput","","id","releaseYear","name","releaseYear","formControlName","releaseYear"],[3,"form","mediaType"],[2,"margin","1%"],[3,"form"],["mat-dialog-actions","",1,"right-buttons"],["mat-raised-button","","id","cancelButton","color","warn",3,"mat-dialog-close"],[1,"fas","fa-times"],["mat-raised-button","","id","requestButton","color","accent","type","submit"],[1,"fas","fa-plus"]],template:function(E,S){1&E&&i.yuY(0,xt,51,33,"form",0),2&E&&i.E7m("ngIf",S.form)},dependencies:[I.sz,I.ot,I.ue,I.u,I.uW,I.Wo,y.u_,at.Up,at.w5,Oe.yi,it.cv,it.cT,bt.Gw,Ce.qq,Ce.Yp,Mi,ds,ht,ie.sD],styles:[".alert-info[_ngcontent-%COMP%]{background:#62d2fa;border-color:#0f171f;color:#fff}"]})}return C})();var hn=u(6008),nn=u(4332),Pn=u(3992),In=u(6456),fi=u(5664),Kn=u(4748),Wn=u(1624),Ii=u(3892),ii=u(6024),ui=u(1788),Ai=u(176),Xi=u(8960);let yi=(()=>{class C{constructor(c,E){this.router=c,this.fb=E}ngOnInit(){var c=this;return(0,Z.c)(function*(){c.searchForm=c.fb.group({input:null}),c.searchForm.get("input").valueChanges.pipe((0,mn.o)(1300),(0,xn.G)(E=>(E&&c.router.navigate(["discover",E]),(0,Xi.F)()))).subscribe()})()}static#e=this.\u0275fac=function(E){return new(E||C)(i.GI1(K.E5),i.GI1(I.KE))};static#t=this.\u0275cmp=i.In1({type:C,selectors:[["app-nav-search"]],decls:4,vars:4,consts:[[3,"formGroup"],["floatLabel","never",2,"width","100%"],["id","nav-search","autofocus","autofocus","matInput","","formControlName","input",3,"placeholder"]],template:function(E,S){1&E&&(i.I0R(0,"form",0)(1,"mat-form-field",1),i.wR5(2,"input",2),i.wVc(3,"translate"),i.C$Y()()),2&E&&(i.E7m("formGroup",S.searchForm),i.yG2(2),i._6D("placeholder",i.kDX(3,2,"NavigationBar.Search")))},dependencies:[I.sz,I.ot,I.ue,I.u,at.Up,Oe.yi,I.uW,I.Wo,ie.sD],styles:["@media (max-width: 767px){.quater-width[_ngcontent-%COMP%]{width:15em!important}}.quater-width[_ngcontent-%COMP%]{width:25em}.autocomplete-img[_ngcontent-%COMP%]{vertical-align:middle;height:63px}.mat-option[_ngcontent-%COMP%]{height:75px;line-height:50px;padding:0}.search-bar[_ngcontent-%COMP%]{background-color:#2b2b2b;border:solid 1px #2b2b2b}.search-bar[_ngcontent-%COMP%]:focus{background-color:#fff}  .top-search-bar .mat-form-field-underline{display:none}  .top-search-bar .mat-form-field-flex{border:1px solid #35465c;border-radius:30px;height:50px}  .top-search-bar .mat-form-field-infix{margin-left:20px;border-top:0px;margin-top:5px}  .top-search-bar .mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:0}.option-img[_ngcontent-%COMP%]{vertical-align:middle;margin-right:8px}.options[_ngcontent-%COMP%]{margin-bottom:5px}  .discoverResults{margin-top:40px;margin-left:35px}  button:focus{outline:none}  .col-2.top-filter{margin-top:10px}"]})}return C})();const mi=(C,A)=>({remaining:C,total:A});function Ui(C,A){if(1&C&&(i.I0R(0,"div")(1,"small",1),i.wR5(2,"i",2),i.OEk(3),i.wVc(4,"translate"),i.C$Y()()),2&C){const c=i.GaO();i.yG2(2),i.m8U(c.matIcon),i.E7m("matTooltip",c.getTooltipContent()),i.yG2(),i.oRS(" ",i.g7$(4,5,"Requests.Remaining.Quota",i.IBC(8,mi,c.remaining.remaining,c.remaining.limit))," ")}}let Dr=(()=>{class C{constructor(c,E){this.requestService=c,this.translate=E,this.RequestType=F.ID}ngOnInit(){this.start()}getTooltipContent(){return this.daysUntil>1?this.translate.instant("Requests.Remaining.NextDays",{time:this.daysUntil}):this.hoursUntil>1&&this.daysUntil<=1?this.translate.instant("Requests.Remaining.NextHours",{time:this.hoursUntil}):this.minutesUntil>=1&&this.hoursUntil<=1&&this.daysUntil<=1?this.translate.instant(1==this.minutesUntil?"Requests.Remaining.NextMinute":"Requests.Remaining.NextMinutes",{time:this.minutesUntil}):void 0}start(){const c=E=>{this.remaining=E,this.remaining&&this.remaining.hasLimit&&this.calculateTime()};switch(this.type){case F.ID.movie:this.requestService.getRemainingMovieRequests().subscribe(c),this.matIcon="fas fa-film";break;case F.ID.tvShow:this.requestService.getRemainingTvRequests().subscribe(c),this.matIcon="fas fa-tv";break;case F.ID.album:this.requestService.getRemainingMusicRequests().subscribe(c),this.matIcon="fas fa-music"}}calculateTime(){this.daysUntil=Math.ceil(this.daysUntilNextRequest()),this.hoursUntil=Math.ceil(this.hoursUntilNextRequest()),this.minutesUntil=Math.ceil(this.minutesUntilNextRequest())}daysUntilNextRequest(){return(new Date(this.remaining.nextRequest).getTime()-(new Date).getTime())/1e3/60/60/24}hoursUntilNextRequest(){return(new Date(this.remaining.nextRequest).getTime()-(new Date).getTime())/1e3/60/60}minutesUntilNextRequest(){return(new Date(this.remaining.nextRequest).getTime()-(new Date).getTime())/1e3/60}static#e=this.\u0275fac=function(E){return new(E||C)(i.GI1(_.Cm),i.GI1(ie.qS))};static#t=this.\u0275cmp=i.In1({type:C,selectors:[["app-remaining-requests"]],inputs:{type:"type"},decls:1,vars:1,consts:[[4,"ngIf"],["id","remainingRequests",1,"text-center"],[3,"matTooltip"]],template:function(E,S){1&E&&i.yuY(0,Ui,5,11,"div",0),2&E&&i.E7m("ngIf",null==S.remaining?null:S.remaining.hasLimit)},dependencies:[y.u_,Kn.a4,ie.sD],styles:[".mat-icon[_ngcontent-%COMP%]{vertical-align:middle}"]})}return C})();function dr(C,A){if(1&C&&(i.I0R(0,"a",36),i.OEk(1),i.C$Y()),2&C){const c=i.GaO(2);i.E7m("href",c.applicationUrl,i.K6U),i.yG2(),i.cNF(c.applicationName)}}function pr(C,A){if(1&C&&i.OEk(0),2&C){const c=i.GaO(2);i.oRS(" ",c.applicationName," ")}}function Br(C,A){if(1&C&&i.wR5(0,"i",43),2&C){const c=i.GaO(3).$implicit;i.uQ9("fa-lg ",c.icon," icon-spacing")}}function sr(C,A){if(1&C&&(i.I0R(0,"a",41),i.wVc(1,"translate"),i.yuY(2,Br,1,3,"i",42),i.OEk(3),i.wVc(4,"translate"),i.C$Y()),2&C){const c=i.GaO(2).$implicit;i._6D("id",c.id),i._6D("matTooltip",i.kDX(1,7,c.toolTipMessage)),i.E7m("disableRipple",!0)("href",c.link,i.K6U)("routerLinkActive","active-list-item"),i.yG2(2),i.E7m("ngIf",c.icon),i.yG2(),i.oRS(" \xa0",i.kDX(4,9,c.name)," ")}}function oi(C,A){if(1&C){const c=i.KQA();i.SAx(0),i.I0R(1,"em",44),i.qCj("click",function(){i.usT(c);const S=i.GaO(4);return i.CGJ(S.openAdvancedSearch())}),i.C$Y(),i.k70()}if(2&C){const c=i.GaO(2).$implicit;i.yG2(),i.E7m("routerLinkActive","active-advanced")("routerLink",c.link)}}function gi(C,A){if(1&C&&(i.I0R(0,"a",45),i.wR5(1,"i"),i.OEk(2),i.wVc(3,"translate"),i.C$Y()),2&C){const c=i.GaO(2).$implicit;i.m_g(c.style),i._6D("id",c.id),i.E7m("disableRipple",!0)("routerLink",c.link)("routerLinkActive","active-list-item"),i.yG2(),i.uQ9("fa-lg ",c.icon," icon-spacing"),i.yG2(),i.oRS(" \xa0",i.kDX(3,10,c.name)," ")}}function Zs(C,A){if(1&C&&(i.I0R(0,"div",38),i.yuY(1,sr,5,11,"a",39)(2,oi,2,2,"ng-container",1)(3,gi,4,12,"a",40),i.C$Y()),2&C){const c=i.GaO().$implicit;i.yG2(),i.E7m("ngIf",c.externalLink),i.yG2(),i.E7m("ngIf","nav-discover"===c.id),i.yG2(),i.E7m("ngIf",!c.externalLink)}}function Hr(C,A){if(1&C&&(i.I0R(0,"span",10),i.yuY(1,Zs,4,3,"div",37),i.C$Y()),2&C){const c=A.$implicit,E=i.GaO(2);i.yG2(),i.E7m("ngIf",(c.requiresAdmin&&E.isAdmin||!c.requiresAdmin)&&c.enabled)}}function Or(C,A){if(1&C){const c=i.KQA();i.I0R(0,"button",46),i.qCj("click",function(){i.usT(c),i.GaO();const S=i.Gew(2);return i.CGJ(S.toggle())}),i.wR5(1,"i",47),i.C$Y()}}function Pr(C,A){if(1&C){const c=i.KQA();i.I0R(0,"mat-slide-toggle",48),i.qCj("click",function(S){return S.stopPropagation()})("change",function(S){i.usT(c);const Be=i.GaO(2);return i.CGJ(Be.changeFilter(S,Be.SearchFilterType.Music))}),i.OEk(1),i.wVc(2,"translate"),i.C$Y()}if(2&C){const c=i.GaO(2);i.E7m("checked",c.searchFilter.music),i.yG2(),i.oRS(" ",i.kDX(2,2,"NavigationBar.Filter.Music"),"")}}function Gs(C,A){1&C&&i.C_f(0)}function bs(C,A){if(1&C){const c=i.KQA();i.I0R(0,"mat-sidenav-container",3)(1,"mat-sidenav",4,5),i.wVc(3,"async"),i.wVc(4,"async"),i.wVc(5,"async"),i.I0R(6,"mat-toolbar",6),i.yuY(7,dr,2,2,"a",7),i.C$Y(),i.yuY(8,pr,1,1,"ng-template",null,8,i.gJz),i.I0R(10,"mat-nav-list"),i.yuY(11,Hr,2,1,"span",9),i.I0R(12,"span",10)(13,"a",11),i.qCj("click",function(S){i.usT(c);const Be=i.GaO();return i.CGJ(Be.openMobileApp(S))}),i.wR5(14,"i",12),i.OEk(15),i.wVc(16,"translate"),i.C$Y()(),i.I0R(17,"a",13),i.qCj("click",function(){i.usT(c);const S=i.GaO();return i.CGJ(S.logOut())}),i.wR5(18,"i",14),i.OEk(19),i.wVc(20,"translate"),i.C$Y()(),i.I0R(21,"div",15)(22,"div",16),i.wR5(23,"app-remaining-requests",17)(24,"app-remaining-requests",17)(25,"app-remaining-requests",17),i.C$Y()()(),i.I0R(26,"mat-sidenav-content",18)(27,"mat-toolbar",19),i.yuY(28,Or,2,0,"button",20),i.wVc(29,"async"),i.I0R(30,"div",21)(31,"div",22),i.wR5(32,"app-nav-search"),i.C$Y(),i.I0R(33,"button",23),i.wR5(34,"i",24),i.C$Y(),i.I0R(35,"mat-menu",25,26)(37,"mat-slide-toggle",27),i.qCj("click",function(S){return S.stopPropagation()})("change",function(S){i.usT(c);const Be=i.GaO();return i.CGJ(Be.changeFilter(S,Be.SearchFilterType.Movie))}),i.OEk(38),i.wVc(39,"translate"),i.C$Y(),i.I0R(40,"mat-slide-toggle",28),i.qCj("click",function(S){return S.stopPropagation()})("change",function(S){i.usT(c);const Be=i.GaO();return i.CGJ(Be.changeFilter(S,Be.SearchFilterType.TvShow))}),i.OEk(41),i.wVc(42,"translate"),i.C$Y(),i.yuY(43,Pr,3,4,"mat-slide-toggle",29),i.wVc(44,"async"),i.C$Y()(),i.I0R(45,"div",30)(46,"a",31)(47,"div",32),i.OEk(48),i.C$Y(),i.I0R(49,"div",33)(50,"img",34),i.qCj("error",function(){i.usT(c);const S=i.GaO();return i.CGJ(S.onProfileImageError())}),i.C$Y()()()()(),i.yuY(51,Gs,1,0,"ng-container",35),i.C$Y()()}if(2&C){const c=i.Gew(9),E=i.Gew(36),S=i.GaO(),Be=i.Gew(3);i.yG2(),i.E7m("mode",i.kDX(4,27,S.isHandset$)?"over":"side")("opened",!i.kDX(5,29,S.isHandset$)),i.e48("role",i.kDX(3,25,S.isHandset$)?"dialog":"navigation"),i.yG2(6),i.E7m("ngIf",S.applicationUrl)("ngIfElse",c),i.yG2(4),i.E7m("ngForOf",S.navItems),i.yG2(2),i.E7m("disableRipple",!0)("routerLinkActive","active-list-item"),i.yG2(2),i.oRS(" \xa0",i.kDX(16,31,"NavigationBar.OpenMobileApp")," "),i.yG2(2),i.E7m("disableRipple",!0)("routerLinkActive","active-list-item"),i.yG2(2),i.oRS(" \xa0",i.kDX(20,33,"NavigationBar.Logout")," "),i.yG2(4),i.E7m("type",S.RequestType.movie),i.yG2(),i.E7m("type",S.RequestType.tvShow),i.yG2(),i.E7m("type",S.RequestType.album),i.yG2(3),i.E7m("ngIf",i.kDX(29,35,S.isHandset$)),i.yG2(5),i.E7m("matMenuTriggerFor",E),i.yG2(4),i.E7m("checked",S.searchFilter.movies),i.yG2(),i.oRS(" ",i.kDX(39,37,"NavigationBar.Filter.Movies"),""),i.yG2(2),i.E7m("checked",S.searchFilter.tvShows),i.yG2(),i.oRS(" ",i.kDX(42,39,"NavigationBar.Filter.TvShows"),""),i.yG2(2),i.E7m("ngIf",i.kDX(44,41,S.musicEnabled$)),i.yG2(5),i.cNF(S.userName),i.yG2(2),i.E7m("src",S.userProfileImageUrl,i.K6U),i.yG2(),i.E7m("ngTemplateOutlet",Be)}}function ci(C,A){1&C&&i.C_f(0)}function Vs(C,A){if(1&C&&(i.I0R(0,"div"),i.yuY(1,ci,1,0,"ng-container",35),i.C$Y()),2&C){i.GaO();const c=i.Gew(3);i.yG2(),i.E7m("ngTemplateOutlet",c)}}function Ms(C,A){1&C&&i.wR5(0,"router-outlet")}var Qi=function(C){return C[C.Movie=1]="Movie",C[C.TvShow=2]="TvShow",C[C.Music=3]="Music",C[C.People=4]="People",C}(Qi||{});let Is=(()=>{class C{constructor(c,E,S,Be,Dt,sn,Mn,Rn,Jn){this.breakpointObserver=c,this.settingsService=E,this.customizationFacade=S,this.lidarrService=Be,this.store=Dt,this.filterService=sn,this.dialogService=Mn,this.settingState=Rn,this.router=Jn,this.isHandset$=this.breakpointObserver.observe([fe.kP.Small,fe.kP.Handset,fe.kP.XSmall]).pipe((0,qn.k)(Lr=>Lr.matches)),this.logoutClick=new i._w7,this.issuesEnabled=!1,this.SearchFilterType=Qi,this.RequestType=F.ID,this.musicEnabled$=this.lidarrService.enabled().pipe((0,Pn.U)(1))}ngOnInit(){var c=this;return(0,Z.c)(function*(){c.searchFilter={movies:!0,music:!1,people:!1,tvShows:!0},c.setProfileImageUrl(c.userEmail),c.issuesEnabled=yield c.settingsService.issueEnabled().toPromise(),c.settingState.setIssue(c.issuesEnabled),c.customizationFacade.settings$().subscribe(S=>{c.customizationSettings=S}),c.theme=c.store.get("theme"),c.theme||c.store.save("theme","dark");var E=c.store.get("searchFilter");E&&(c.searchFilter=Object.assign(new nn.C,JSON.parse(E)),c.filterService.changeFilter(c.searchFilter)),c.navItems=[{id:"nav-discover",name:"NavigationBar.Discover",icon:"fas fa-bolt",style:"z-index:-1;",link:"/discover",requiresAdmin:!1,enabled:!0},{id:"nav-requests",name:"NavigationBar.Requests",icon:"fas fa-stream",link:"/requests-list",requiresAdmin:!1,enabled:!0},{id:"nav-issues",name:"NavigationBar.Issues",icon:"fas fa-exclamation-triangle",link:"/issues",requiresAdmin:!1,enabled:c.issuesEnabled},{id:"nav-userManagement",name:"NavigationBar.UserManagement",icon:"fas fa-users",link:"/usermanagement",requiresAdmin:!0,enabled:!0},{id:"nav-adminDonate",name:"NavigationBar.Donate",icon:"fas fa-dollar-sign",link:"https://www.paypal.me/PlexRequestsNet",externalLink:!0,requiresAdmin:!0,enabled:!0,toolTip:!0,style:"color:red;",toolTipMessage:"NavigationBar.DonateTooltip"},{id:"nav-userDonate",name:"NavigationBar.Donate",icon:"fas fa-dollar-sign",link:c.customizationSettings.customDonationUrl,externalLink:!0,requiresAdmin:!1,enabled:c.customizationSettings.enableCustomDonations,toolTip:!0,toolTipMessage:c.customizationSettings.customDonationMessage},{id:"nav-featureSuggestion",name:"NavigationBar.FeatureSuggestion",icon:"far fa-lightbulb",link:"https://features.ombi.io/",externalLink:!0,requiresAdmin:!0,enabled:!0,toolTip:!0,toolTipMessage:"NavigationBar.FeatureSuggestionTooltip"},{id:"nav-settings",name:"NavigationBar.Settings",icon:"fas fa-cogs",link:"/Settings/About",requiresAdmin:!0,enabled:!0}]})()}ngOnChanges(c){(c?.userEmail||c?.applicationLogo)&&this.setProfileImageUrl(this.userEmail)}logOut(){this.logoutClick.emit()}changeFilter(c,E){switch(E){case Qi.Movie:this.searchFilter.movies=c.checked;break;case Qi.TvShow:this.searchFilter.tvShows=c.checked;break;case Qi.Music:this.searchFilter.music=c.checked;break;case Qi.People:this.searchFilter.people=c.checked}this.filterService.changeFilter(this.searchFilter),this.store.save("searchFilter",JSON.stringify(this.searchFilter))}openAdvancedSearch(){this.dialogService.open(At,{panelClass:"dialog-responsive"}).afterClosed().subscribe(E=>{E&&this.router.navigate(["discover/advanced/search"])})}setProfileImageUrl(c){if(c){const S=(new hn.C).appendStr(c).end();this.userProfileImageUrl=`https://www.gravatar.com/avatar/${S}?d=404`}else this.userProfileImageUrl=this.getFallbackProfileImageUrl()}onProfileImageError(){const c=this.getFallbackProfileImageUrl();this.userProfileImageUrl!==c&&(this.userProfileImageUrl=c)}getFallbackProfileImageUrl(){return this.applicationLogo?this.applicationLogo:"https://raw.githubusercontent.com/Ombi-app/Ombi/gh-pages/img/android-chrome-512x512.png"}openMobileApp(c){c.preventDefault(),window.location.assign(`ombi://${this.applicationUrl}|${this.accessToken}`)}static#e=this.\u0275fac=function(E){return new(E||C)(i.GI1(fe.w$),i.GI1(_.Y7),i.GI1(Vt.CG),i.GI1(_.XC),i.GI1(In.y),i.GI1(fi.q),i.GI1(Ce.qW),i.GI1(_.W8),i.GI1(K.E5))};static#t=this.\u0275cmp=i.In1({type:C,selectors:[["app-my-nav"]],inputs:{showNav:"showNav",applicationName:"applicationName",applicationLogo:"applicationLogo",applicationUrl:"applicationUrl",accessToken:"accessToken",userName:"userName",userEmail:"userEmail",isAdmin:"isAdmin"},outputs:{logoutClick:"logoutClick"},features:[i.SYr],decls:4,vars:2,consts:[["class","sidenav-container",4,"ngIf"],[4,"ngIf"],["template",""],[1,"sidenav-container"],["fixedInViewport","true",1,"sidenav",3,"mode","opened"],["drawer",""],["id","nav-applicationName",1,"application-name"],["class","application-name-link",3,"href",4,"ngIf","ngIfElse"],["noApplicationUrlLogo",""],["mat-list-item","",4,"ngFor","ngForOf"],["mat-list-item",""],["mat-list-item","","id","nav-openMobile","aria-label","Toggle sidenav",3,"disableRipple","routerLinkActive","click"],[1,"fa-lg","fas","fa-mobile-alt","icon-spacing"],["mat-list-item","","id","nav-logout","aria-label","Toggle sidenav",1,"menu-spacing",3,"disableRipple","routerLinkActive","click"],[1,"fa-lg","fas","fa-sign-out-alt","icon-spacing"],[1,"bottom-nav","full"],[1,"outer-profile"],[3,"type"],["autosize","",1,"content-container"],["color","primary",1,"top-bar-container"],["type","button","aria-label","Toggle sidenav","mat-icon-button","",3,"click",4,"ngIf"],[1,"top-search-block"],[1,"top-search-bar"],["id","search-filter","mat-icon-button","",3,"matMenuTriggerFor"],[1,"fa-lg","fas","fa-filter"],["yPosition","below",1,"smaller-panel"],["filterMenu","matMenu"],["id","filterMovies",1,"mat-menu-item","slide-menu",3,"checked","click","change"],["id","filterTv",1,"mat-menu-item","slide-menu",3,"checked","click","change"],["id","filterMusic","class","mat-menu-item slide-menu",3,"checked","click","change",4,"ngIf"],[1,"profile-block"],["routerLink","/user-preferences"],["data-test","profile-username",1,"profile-username"],["data-test","profile-image",1,"profile-img"],[3,"src","error"],[4,"ngTemplateOutlet"],[1,"application-name-link",3,"href"],["class","menu-spacing mat-ripple","mat-ripple","",4,"ngIf"],["mat-ripple","",1,"menu-spacing","mat-ripple"],["mat-list-item","","target","_blank","matTooltipPosition","right",3,"disableRipple","id","href","matTooltip","routerLinkActive",4,"ngIf"],["mat-list-item","",3,"disableRipple","id","routerLink","style","routerLinkActive",4,"ngIf"],["mat-list-item","","target","_blank","matTooltipPosition","right",3,"disableRipple","id","href","matTooltip","routerLinkActive"],["style","padding-left: 5px; padding-right: 5px;","aria-hidden","true",3,"class",4,"ngIf"],["aria-hidden","true",2,"padding-left","5px","padding-right","5px"],[1,"advanced-search","fa-lg","fas","fa-filter",3,"routerLinkActive","routerLink","click"],["mat-list-item","",3,"disableRipple","id","routerLink","routerLinkActive"],["type","button","aria-label","Toggle sidenav","mat-icon-button","",3,"click"],[1,"fa-lg","fas","fa-bars"],["id","filterMusic",1,"mat-menu-item","slide-menu",3,"checked","click","change"]],template:function(E,S){1&E&&i.yuY(0,bs,52,43,"mat-sidenav-container",0)(1,Vs,2,1,"div",1)(2,Ms,1,0,"ng-template",null,2,i.gJz),2&E&&(i.E7m("ngIf",S.showNav),i.yG2(),i.E7m("ngIf",!S.showNav))},dependencies:[K.cP,K.ER,K.LC,y.ay,y.u_,y.XV,bt.Gw,Kn.a4,Wn.aM,Wn.yG,Ii.Ar,Ii.WS,Ii.Uq,ii.G2,ii.g9,ui.EZ,Ai.cP,yi,Dr,y.a,ie.sD],styles:[".sidenav-container[_ngcontent-%COMP%]{min-height:100vh;-webkit-overflow-scrolling:touch;overflow:auto}.sidenav[_ngcontent-%COMP%]   .mat-toolbar[_ngcontent-%COMP%]{background:inherit}.mat-toolbar.mat-primary[_ngcontent-%COMP%]{position:sticky;top:0;z-index:1}.middle[_ngcontent-%COMP%]{display:flex}.menu-spacing[_ngcontent-%COMP%]{margin-bottom:5%}.icon-spacing[_ngcontent-%COMP%]{width:40px;text-align:center}.example-form[_ngcontent-%COMP%]{min-width:150px;max-width:500px;width:100%}.quater-width[_ngcontent-%COMP%]{width:25%}.autocomplete-img[_ngcontent-%COMP%]{vertical-align:middle;height:63px}.mat-option[_ngcontent-%COMP%]{height:50px;line-height:50px;padding:0 5px}.slide-menu[_ngcontent-%COMP%]{width:100%}  .smaller-panel{max-width:170px!important}.top-bar-container[_ngcontent-%COMP%]{width:95%;display:flex;justify-content:center;align-items:center;margin:auto}.top-search-block[_ngcontent-%COMP%]{height:84px;display:flex;justify-content:center;align-items:center;flex:1;margin-right:5%}.top-search-bar[_ngcontent-%COMP%]{width:100%}.mat-drawer-content[_ngcontent-%COMP%]{position:relative;overflow:hidden;z-index:1;display:block;height:100%}.profile-block[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff;font-size:.8em;font-weight:100;display:flex;justify-content:flex-end;align-items:flex-end;text-transform:capitalize;flex:0 0 250px}.profile-username[_ngcontent-%COMP%]{justify-content:center;display:flex;height:50px;align-items:center;margin-right:5px}#nav-openMobile[_ngcontent-%COMP%]{display:none}@media (max-width: 600px){.profile-username[_ngcontent-%COMP%]{display:none}}@media (max-width: 950px){#nav-openMobile[_ngcontent-%COMP%]{display:block}}.profile-img[_ngcontent-%COMP%]{display:flex;justify-content:center;align-self:center}.profile-img[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:40px}.full[_ngcontent-%COMP%]{width:100%}.bottom-nav[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;text-align:center}.sidenav-container[_ngcontent-%COMP%]   .sidenav[_ngcontent-%COMP%]{background:#1b242f;color:#fff;font-family:Montserrat,sans-serif}.sidenav-container[_ngcontent-%COMP%]   .sidenav[_ngcontent-%COMP%]   .application-name[_ngcontent-%COMP%]{font-family:Montserrat,sans-serif;text-transform:uppercase;color:#62d2fa;align-items:center;font-weight:700;font-size:36px;padding:40px 20px;height:auto;max-width:300px;display:flex;white-space:normal;word-break:break-word}.sidenav-container[_ngcontent-%COMP%]   .sidenav[_ngcontent-%COMP%]   .application-name[_ngcontent-%COMP%]   .application-name-link[_ngcontent-%COMP%]{text-decoration:none;color:inherit}.sidenav-container[_ngcontent-%COMP%]   .sidenav[_ngcontent-%COMP%]   .application-name[_ngcontent-%COMP%]   .application-name-link[_ngcontent-%COMP%]:active, .sidenav-container[_ngcontent-%COMP%]   .sidenav[_ngcontent-%COMP%]   .application-name[_ngcontent-%COMP%]   .application-name-link[_ngcontent-%COMP%]:hover, .sidenav-container[_ngcontent-%COMP%]   .sidenav[_ngcontent-%COMP%]   .application-name[_ngcontent-%COMP%]   .application-name-link[_ngcontent-%COMP%]:focus{color:inherit}.sidenav-container[_ngcontent-%COMP%]   .sidenav[_ngcontent-%COMP%]   .outer-profile[_ngcontent-%COMP%]{background:inherit;box-shadow:none}.sidenav-container[_ngcontent-%COMP%]   .sidenav[_ngcontent-%COMP%]   .mat-list-item[_ngcontent-%COMP%]{color:#fff;font-family:Roboto,sans-serif;font-size:16px;font-weight:400;padding:10px 20px;height:auto;margin-bottom:.5rem}.sidenav-container[_ngcontent-%COMP%]   .sidenav[_ngcontent-%COMP%]   .active-list-item[_ngcontent-%COMP%]{color:#1b242f;background:#62d2fa;border-radius:0 30px 30px 0;padding:10px 20px;height:auto}@media (max-width: 600px){.sidenav-container[_ngcontent-%COMP%]   .sidenav[_ngcontent-%COMP%]   .application-name[_ngcontent-%COMP%]{font-size:2em;max-width:200px}.sidenav-container[_ngcontent-%COMP%]   .sidenav[_ngcontent-%COMP%]   .mat-list-item[_ngcontent-%COMP%], .sidenav-container[_ngcontent-%COMP%]   .sidenav[_ngcontent-%COMP%]   .active-list-item[_ngcontent-%COMP%]{width:14rem;padding:10px 0}}.sidenav[_ngcontent-%COMP%]{width:230px}.outer-profile[_ngcontent-%COMP%]   .profile-img-container[_ngcontent-%COMP%]{background:inherit}.content-container[_ngcontent-%COMP%]{background:#0f171f;color:#fff}.content-container[_ngcontent-%COMP%]   .top-bar-container[_ngcontent-%COMP%]{background:#0f171f;color:#35465c;padding-top:1em}  .mat-toolbar-row, .mat-toolbar-single-row[_ngcontent-%COMP%]{height:auto}  .mat-sidenav-fixed .mat-list-base .mat-list-item .mat-list-item-content, .mat-list-base[_ngcontent-%COMP%]   .mat-list-option[_ngcontent-%COMP%]   .mat-list-item-content[_ngcontent-%COMP%]{padding:0;margin:0 4em 0 .5em}.advanced-search[_ngcontent-%COMP%]{float:right;margin-top:6%;margin-right:10%;cursor:pointer}.active-advanced[_ngcontent-%COMP%]{color:#1b242f;background:#62d2fa}  .dialog-responsive{width:40%}@media only screen and (max-width: 760px){  .dialog-responsive{width:100%}}@media only screen and (min-width: 1025px){.content-container[_ngcontent-%COMP%]{margin-left:223px!important}}"]})}return C})(),As=(()=>{class C{constructor(c,E,S,Be,Dt,sn,Mn,Rn,Jn,Lr,ys,ms){this.notificationService=c,this.authService=E,this.router=S,this.settingsService=Be,this.customizationFacade=Dt,this.translate=sn,this.customPageService=Mn,this.overlayContainer=Rn,this.signalrNotification=Jn,this.snackBar=Lr,this.identity=ys,this.document=ms,this.voteEnabled=!1,this.applicationName="Ombi",this.translate.addLangs(["da","de","en","es","fr","it","hu","nl","no","pl","pt","sk","sv","bg","ru","cs","zh"]),this.authService.loggedIn()&&(this.identity.getAccessToken().subscribe(Fs=>this.accessToken=Fs),this.hubConnected||(this.signalrNotification.initialize(),this.hubConnected=!0,this.signalrNotification.Notification.subscribe(Fs=>{this.snackBar.open(Fs,"OK",{duration:3e3})})),this.identity.getUser().subscribe(Fs=>{this.userEmail=Fs.emailAddress,this.userName=Fs.userName,Fs.language&&this.translate.use(Fs.language)})),this.translate.setDefaultLang("en");const ws=sn.getBrowserLang();this.translate.use(ws.match(/da|de|en|es|fr|it|hu|nl|no|pl|pt|sk|sv|bg|ru|cs|zh/)?ws:"en")}ngOnInit(){this.customizationFacade.settings$().subscribe(c=>{if(this.customizationSettings=c,this.customizationSettings&&this.customizationSettings.applicationName&&(this.applicationName=this.customizationSettings.applicationName,this.document.getElementsByTagName("title")[0].innerText=this.applicationName),this.customizationSettings&&this.customizationSettings.favicon&&(this.favicon=this.customizationSettings.favicon,this.document.getElementById("favicon").setAttribute("href",this.favicon)),this.customizationSettings&&this.customizationSettings.customCss){var E=this.document.getElementsByTagName("head")[0],S=document.createElement("style");S.innerHTML=this.customizationSettings.customCss,E.appendChild(S)}this.customizationSettings.useCustomPage&&this.customPageService.getCustomPage().subscribe(Be=>{this.customPageSettings=Be,this.customPageSettings.title||(this.customPageSettings.title="Custom Page",this.customPageSettings.fontAwesomeIcon="fa-check")})}),this.settingsService.voteEnabled().subscribe(c=>this.voteEnabled=c),this.router.events.subscribe(c=>{this.currentUrl=c.url,c instanceof K.Qx&&(this.isAdmin=this.authService.hasRole("admin"),this.showNav=this.authService.loggedIn())})}logOut(){this.authService.logout(),this.router.navigate(["login"])}static#e=this.\u0275fac=function(E){return new(E||C)(i.GI1(_.gn),i.GI1(oe.o),i.GI1(K.E5),i.GI1(_.Y7),i.GI1(Vt.CG),i.GI1(ie.qS),i.GI1(_.ec),i.GI1(We.Y),i.GI1(en),i.GI1(De.yS),i.GI1(_.Y$),i.GI1(y.Ud))};static#t=this.\u0275cmp=i.In1({type:C,selectors:[["app-ombi"]],hostVars:2,hostBindings:function(E,S){2&E&&i.m8U(S.componentCssClass)},decls:2,vars:8,consts:[["id","main-container dark",3,"showNav","isAdmin","applicationName","applicationLogo","userName","userEmail","accessToken","applicationUrl","logoutClick"]],template:function(E,S){1&E&&(i.I0R(0,"div")(1,"app-my-nav",0),i.qCj("logoutClick",function(){return S.logOut()}),i.C$Y()()),2&E&&(i.yG2(),i.E7m("showNav",S.showNav)("isAdmin",S.isAdmin)("applicationName",S.applicationName)("applicationLogo",null==S.customizationSettings?null:S.customizationSettings.logo)("userName",S.userName)("userEmail",S.userEmail)("accessToken",S.accessToken)("applicationUrl",null==S.customizationSettings?null:S.customizationSettings.applicationUrl))},dependencies:[Is]})}return C})();var gs=u(4885),mr=u(1737),xr=u(232);const Zr={provide:i.kZF,useFactory:C=>()=>C.loadCustomziationSettings(),multi:!0,deps:[Vt.CG]};var Ns=u(5168);const Ss={provide:i.kZF,useFactory:C=>()=>C.load(),multi:!0,deps:[Ns.C]};var _s=u(6628);const vs={provide:i.kZF,useFactory:C=>()=>C.load(),multi:!0,deps:[_s.a]};var hs=u(6116),Ts=u(2032);let ss=(()=>{class C{constructor(c,E,S){this.cookieService=c,this.router=E,this.store=S}ngOnInit(){const c=this.cookieService.getAll();c.Auth?(this.store.save("id_token",c.Auth),this.router.navigate(["discover"])):this.router.navigate(["login"])}static#e=this.\u0275fac=function(E){return new(E||C)(i.GI1(Ts.CookieService),i.GI1(K.E5),i.GI1(In.y))};static#t=this.\u0275cmp=i.In1({type:C,selectors:[["ng-component"]],decls:0,vars:0,template:function(E,S){},encapsulation:2})}return C})();var Sr=u(3340);function nr(C,A){if(1&C){const c=i.KQA();i.I0R(0,"button",4),i.qCj("click",function(){i.usT(c);const S=i.GaO(2);return i.CGJ(S.isEditing=!S.isEditing)}),i.OEk(1,"Edit"),i.C$Y()}}function Jr(C,A){1&C&&i.wR5(0,"i",12)}function di(C,A){1&C&&i.wR5(0,"i",13)}const cs=C=>({"form-error":C});function Cs(C,A){if(1&C&&(i.I0R(0,"div")(1,"div",5)(2,"label",6),i.OEk(3,"Page Title "),i.yuY(4,Jr,1,0,"i",7),i.C$Y(),i.wR5(5,"input",8),i.C$Y(),i.I0R(6,"div",5)(7,"label",6),i.OEk(8,"Font Awesome Icon "),i.yuY(9,di,1,0,"i",9),i.C$Y(),i.wR5(10,"input",10),i.C$Y(),i.I0R(11,"button",11),i.OEk(12,"Save"),i.C$Y(),i.wR5(13,"hr"),i.C$Y()),2&C){const c=i.GaO(2);i.yG2(4),i.E7m("ngIf",c.form.get("title").hasError("required")),i.yG2(),i.E7m("ngClass",i.S45(4,cs,c.form.get("title").hasError("required"))),i.yG2(4),i.E7m("ngIf",c.form.get("fontAwesomeIcon").hasError("required")),i.yG2(),i.E7m("ngClass",i.S45(6,cs,c.form.get("fontAwesomeIcon").hasError("required")))}}function qr(C,A){if(1&C){const c=i.KQA();i.I0R(0,"div")(1,"form",1),i.qCj("ngSubmit",function(){i.usT(c);const S=i.GaO();return i.CGJ(S.onSubmit())}),i.yuY(2,nr,2,0,"button",2)(3,Cs,14,8,"div",0),i.C$Y(),i.wR5(4,"div",3),i.C$Y()}if(2&C){const c=i.GaO();i.yG2(),i.E7m("formGroup",c.form),i.yG2(),i.E7m("ngIf",c.isAdmin),i.yG2(),i.E7m("ngIf",c.isEditing),i.yG2(),i.E7m("innerHTML",c.form.controls.html.value,i.E3n)}}let os=(()=>{class C{constructor(c,E,S,Be,Dt){this.auth=c,this.settings=E,this.fb=S,this.notificationService=Be,this.sanitizer=Dt}ngOnInit(){this.settings.getCustomPage().subscribe(c=>{c.html=this.sanitizer.sanitize(i.SI6.HTML,this.sanitizer.bypassSecurityTrustHtml(c.html)),this.form=this.fb.group({enabled:[c.enabled],title:[c.title,[I.AQ.required]],html:[c.html,[I.AQ.required]],fontAwesomeIcon:[c.fontAwesomeIcon,[I.AQ.required]]})}),this.isAdmin=this.auth.hasRole("EditCustomPage")}onSubmit(){this.form.invalid?this.notificationService.error("Please check your entered values"):this.settings.saveCustomPage(this.form.value).subscribe(c=>{this.notificationService.success(c?"Successfully saved Custom Page settings":"There was an error when saving the Custom Page settings")})}static#e=this.\u0275fac=function(E){return new(E||C)(i.GI1(oe.o),i.GI1(_.ec),i.GI1(I.KE),i.GI1(_.gn),i.GI1(s.mI))};static#t=this.\u0275cmp=i.In1({type:C,selectors:[["ng-component"]],decls:1,vars:1,consts:[[4,"ngIf"],[3,"formGroup","ngSubmit"],["type","button","class","btn btn-info-outline",3,"click",4,"ngIf"],[3,"innerHTML"],["type","button",1,"btn","btn-info-outline",3,"click"],[1,"form-group"],["for","Ip",1,"control-label"],["class","fas fa-exclamation-circle error-text","pTooltip","Title is required",4,"ngIf"],["type","text","id","Ip","name","Ip","formControlName","title",1,"form-control","form-control-custom",3,"ngClass"],["class","fas fa-exclamation-circle error-text","pTooltip","Font Awesome Icon is required",4,"ngIf"],["type","text","id","fontAwesomeIcon","name","fontAwesomeIcon","formControlName","fontAwesomeIcon",1,"form-control","form-control-custom",3,"ngClass"],["type","submit",1,"btn","btn-primary-outline"],["pTooltip","Title is required",1,"fas","fa-exclamation-circle","error-text"],["pTooltip","Font Awesome Icon is required",1,"fas","fa-exclamation-circle","error-text"]],template:function(E,S){1&E&&i.yuY(0,qr,5,4,"div",0),2&E&&i.E7m("ngIf",S.form)},dependencies:[y.QF,y.u_,I.sz,I.ot,I.ue,I.u,I.uW,I.Wo,Sr.o],encapsulation:2})}return C})();var Os=u(1480),hr=u(5184),as=u(9216),Ei=u(144),Es=u(7885),es=u(4520),Ar=u(4900),Hi=u(4616),m=u(4715),b=u(2452),G=u(8891);function Q(C,A){if(1&C&&(i.I0R(0,"span"),i.OEk(1),i.C$Y()),2&C){const c=i.GaO();let E;i.yG2(),i.cNF(null!==(E=c.label)&&void 0!==E?E:"empty")}}function we(C,A){1&C&&i.C_f(0)}const Ee=C=>({height:C}),Ze=(C,A,c)=>({"p-dropdown-item":!0,"p-highlight":C,"p-disabled":A,"p-focus":c}),N=C=>({$implicit:C}),ue=["container"],q=["filter"],Pe=["focusInput"],ct=["editableInput"],ft=["items"],Qt=["scroller"],En=["overlay"],Zn=["firstHiddenFocusableEl"],Sn=["lastHiddenFocusableEl"];function zi(C,A){if(1&C&&(i.SAx(0),i.OEk(1),i.k70()),2&C){const c=i.GaO(2);i.yG2(),i.cNF("p-emptylabel"===c.label()?"\xa0":c.label())}}function Si(C,A){if(1&C&&i.C_f(0,15),2&C){const c=i.GaO(2);i.E7m("ngTemplateOutlet",c.selectedItemTemplate)("ngTemplateOutletContext",i.S45(2,N,c.selectedOption))}}function Wi(C,A){if(1&C&&(i.I0R(0,"span"),i.OEk(1),i.C$Y()),2&C){const c=i.GaO(3);i.yG2(),i.cNF("p-emptylabel"===c.label()?"\xa0":c.placeholder())}}function Ki(C,A){if(1&C&&i.yuY(0,Wi,2,1,"span",4),2&C){const c=i.GaO(2);i.E7m("ngIf",c.displayPlaceholder())}}function Ti(C,A){if(1&C){const c=i.KQA();i.I0R(0,"span",10,11),i.qCj("focus",function(S){i.usT(c);const Be=i.GaO();return i.CGJ(Be.onInputFocus(S))})("blur",function(S){i.usT(c);const Be=i.GaO();return i.CGJ(Be.onInputBlur(S))})("keydown",function(S){i.usT(c);const Be=i.GaO();return i.CGJ(Be.onKeyDown(S))}),i.yuY(2,zi,2,1,"ng-container",12)(3,Si,1,4,"ng-container",13)(4,Ki,1,1,"ng-template",null,14,i.gJz),i.C$Y()}if(2&C){const c=i.Gew(5),E=i.GaO();let S;i.E7m("ngClass",E.inputClass)("pTooltip",E.tooltip)("tooltipPosition",E.tooltipPosition)("positionStyle",E.tooltipPositionStyle)("tooltipStyleClass",E.tooltipStyleClass)("autofocus",E.autofocus),i.e48("aria-disabled",E.disabled)("id",E.inputId)("aria-label",E.ariaLabel||("p-emptylabel"===E.label()?void 0:E.label()))("aria-labelledby",E.ariaLabelledBy)("aria-haspopup","listbox")("aria-expanded",null!==(S=E.overlayVisible)&&void 0!==S&&S)("aria-controls",E.overlayVisible?E.id+"_list":null)("tabindex",E.disabled?-1:E.tabindex)("aria-activedescendant",E.focused?E.focusedOptionId:void 0)("aria-required",E.required)("required",E.required),i.yG2(2),i.E7m("ngIf",!E.selectedItemTemplate)("ngIfElse",c),i.yG2(),i.E7m("ngIf",E.selectedItemTemplate&&E.selectedOption)}}function Mr(C,A){if(1&C){const c=i.KQA();i.I0R(0,"input",16,17),i.qCj("input",function(S){i.usT(c);const Be=i.GaO();return i.CGJ(Be.onEditableInput(S))})("keydown",function(S){i.usT(c);const Be=i.GaO();return i.CGJ(Be.onKeyDown(S))})("focus",function(S){i.usT(c);const Be=i.GaO();return i.CGJ(Be.onInputFocus(S))})("blur",function(S){i.usT(c);const Be=i.GaO();return i.CGJ(Be.onInputBlur(S))}),i.C$Y()}if(2&C){const c=i.GaO();let E;i.E7m("ngClass",c.inputClass)("disabled",c.disabled),i.e48("maxlength",c.maxlength)("placeholder",void 0===c.modelValue()||null===c.modelValue()?c.placeholder():void 0)("aria-expanded",null!==(E=c.overlayVisible)&&void 0!==E&&E)}}function bi(C,A){if(1&C){const c=i.KQA();i.I0R(0,"TimesIcon",20),i.qCj("click",function(S){i.usT(c);const Be=i.GaO(2);return i.CGJ(Be.clear(S))}),i.C$Y()}2&C&&(i.E7m("styleClass","p-dropdown-clear-icon"),i.e48("data-pc-section","clearicon"))}function or(C,A){}function Rs(C,A){1&C&&i.yuY(0,or,0,0,"ng-template")}function he(C,A){if(1&C){const c=i.KQA();i.I0R(0,"span",21),i.qCj("click",function(S){i.usT(c);const Be=i.GaO(2);return i.CGJ(Be.clear(S))}),i.yuY(1,Rs,1,0,null,22),i.C$Y()}if(2&C){const c=i.GaO(2);i.e48("data-pc-section","clearicon"),i.yG2(),i.E7m("ngTemplateOutlet",c.clearIconTemplate)}}function Ie(C,A){if(1&C&&(i.SAx(0),i.yuY(1,bi,1,2,"TimesIcon",18)(2,he,2,2,"span",19),i.k70()),2&C){const c=i.GaO();i.yG2(),i.E7m("ngIf",!c.clearIconTemplate),i.yG2(),i.E7m("ngIf",c.clearIconTemplate)}}function $(C,A){if(1&C&&i.wR5(0,"span",25),2&C){const c=i.GaO(2);i.E7m("ngClass",c.dropdownIcon)}}function et(C,A){1&C&&i.wR5(0,"ChevronDownIcon",26),2&C&&i.E7m("styleClass","p-dropdown-trigger-icon")}function kt(C,A){if(1&C&&(i.SAx(0),i.yuY(1,$,1,1,"span",23)(2,et,1,1,"ChevronDownIcon",24),i.k70()),2&C){const c=i.GaO();i.yG2(),i.E7m("ngIf",c.dropdownIcon),i.yG2(),i.E7m("ngIf",!c.dropdownIcon)}}function Yn(C,A){}function ze(C,A){1&C&&i.yuY(0,Yn,0,0,"ng-template")}function M(C,A){if(1&C&&(i.I0R(0,"span",27),i.yuY(1,ze,1,0,null,22),i.C$Y()),2&C){const c=i.GaO();i.yG2(),i.E7m("ngTemplateOutlet",c.dropdownIconTemplate)}}function R(C,A){1&C&&i.C_f(0)}function ne(C,A){1&C&&i.C_f(0)}const Ue=C=>({options:C});function mt(C,A){if(1&C&&(i.SAx(0),i.yuY(1,ne,1,0,"ng-container",38),i.k70()),2&C){const c=i.GaO(3);i.yG2(),i.E7m("ngTemplateOutlet",c.filterTemplate)("ngTemplateOutletContext",i.S45(2,Ue,c.filterOptions))}}function Lt(C,A){1&C&&i.wR5(0,"SearchIcon",26),2&C&&i.E7m("styleClass","p-dropdown-filter-icon")}function Rt(C,A){}function Xt(C,A){1&C&&i.yuY(0,Rt,0,0,"ng-template")}function un(C,A){if(1&C&&(i.I0R(0,"span",43),i.yuY(1,Xt,1,0,null,22),i.C$Y()),2&C){const c=i.GaO(4);i.yG2(),i.E7m("ngTemplateOutlet",c.filterIconTemplate)}}function Gn(C,A){if(1&C){const c=i.KQA();i.I0R(0,"div",39)(1,"input",40,41),i.qCj("input",function(S){i.usT(c);const Be=i.GaO(3);return i.CGJ(Be.onFilterInputChange(S))})("keydown",function(S){i.usT(c);const Be=i.GaO(3);return i.CGJ(Be.onFilterKeyDown(S))})("blur",function(S){i.usT(c);const Be=i.GaO(3);return i.CGJ(Be.onFilterBlur(S))}),i.C$Y(),i.yuY(3,Lt,1,1,"SearchIcon",24)(4,un,2,1,"span",42),i.C$Y()}if(2&C){const c=i.GaO(3);i.yG2(),i.E7m("value",c._filterValue()||""),i.e48("placeholder",c.filterPlaceholder)("aria-owns",c.id+"_list")("aria-label",c.ariaFilterLabel)("aria-activedescendant",c.focusedOptionId),i.yG2(2),i.E7m("ngIf",!c.filterIconTemplate),i.yG2(),i.E7m("ngIf",c.filterIconTemplate)}}function Xn(C,A){if(1&C&&(i.I0R(0,"div",36),i.qCj("click",function(E){return E.stopPropagation()}),i.yuY(1,mt,2,4,"ng-container",12)(2,Gn,5,7,"ng-template",null,37,i.gJz),i.C$Y()),2&C){const c=i.Gew(3),E=i.GaO(2);i.yG2(),i.E7m("ngIf",E.filterTemplate)("ngIfElse",c)}}function Pi(C,A){1&C&&i.C_f(0)}const Ci=(C,A)=>({$implicit:C,options:A});function ri(C,A){if(1&C&&i.yuY(0,Pi,1,0,"ng-container",38),2&C){const c=A.$implicit,E=A.options;i.GaO(2);const S=i.Gew(9);i.E7m("ngTemplateOutlet",S)("ngTemplateOutletContext",i.IBC(2,Ci,c,E))}}function _i(C,A){1&C&&i.C_f(0)}function Fi(C,A){if(1&C&&i.yuY(0,_i,1,0,"ng-container",38),2&C){const c=A.options,E=i.GaO(4);i.E7m("ngTemplateOutlet",E.loaderTemplate)("ngTemplateOutletContext",i.S45(2,Ue,c))}}function gr(C,A){1&C&&(i.SAx(0),i.yuY(1,Fi,1,4,"ng-template",46),i.k70())}function ir(C,A){if(1&C){const c=i.KQA();i.I0R(0,"p-scroller",44,45),i.qCj("onLazyLoad",function(S){i.usT(c);const Be=i.GaO(2);return i.CGJ(Be.onLazyLoad.emit(S))}),i.yuY(2,ri,1,5,"ng-template",9)(3,gr,2,0,"ng-container",4),i.C$Y()}if(2&C){const c=i.GaO(2);i.m_g(i.S45(8,Ee,c.scrollHeight)),i.E7m("items",c.visibleOptions())("itemSize",c.virtualScrollItemSize||c._itemSize)("autoSize",!0)("lazy",c.lazy)("options",c.virtualScrollOptions),i.yG2(3),i.E7m("ngIf",c.loaderTemplate)}}function ts(C,A){1&C&&i.C_f(0)}const yr=()=>({});function vi(C,A){if(1&C&&(i.SAx(0),i.yuY(1,ts,1,0,"ng-container",38),i.k70()),2&C){i.GaO();const c=i.Gew(9),E=i.GaO();i.yG2(),i.E7m("ngTemplateOutlet",c)("ngTemplateOutletContext",i.IBC(3,Ci,E.visibleOptions(),i.q4q(2,yr)))}}function Ji(C,A){if(1&C&&(i.I0R(0,"span"),i.OEk(1),i.C$Y()),2&C){const c=i.GaO(2).$implicit,E=i.GaO(3);i.yG2(),i.cNF(E.getOptionGroupLabel(c.optionGroup))}}function Bi(C,A){1&C&&i.C_f(0)}function ji(C,A){if(1&C&&(i.SAx(0),i.I0R(1,"li",51),i.yuY(2,Ji,2,1,"span",4)(3,Bi,1,0,"ng-container",38),i.C$Y(),i.k70()),2&C){const c=i.GaO(),E=c.index,S=c.$implicit,Be=i.GaO().options,Dt=i.GaO(2);i.yG2(),i.E7m("ngStyle",i.S45(5,Ee,Be.itemSize+"px")),i.e48("id",Dt.id+"_"+Dt.getOptionIndex(E,Be)),i.yG2(),i.E7m("ngIf",!Dt.groupTemplate),i.yG2(),i.E7m("ngTemplateOutlet",Dt.groupTemplate)("ngTemplateOutletContext",i.S45(7,N,S.optionGroup))}}function qi(C,A){if(1&C){const c=i.KQA();i.SAx(0),i.I0R(1,"p-dropdownItem",52),i.qCj("onClick",function(S){i.usT(c);const Be=i.GaO().$implicit,Dt=i.GaO(3);return i.CGJ(Dt.onOptionSelect(S,Be))})("onMouseEnter",function(S){i.usT(c);const Be=i.GaO().index,Dt=i.GaO().options,sn=i.GaO(2);return i.CGJ(sn.onOptionMouseEnter(S,sn.getOptionIndex(Be,Dt)))}),i.C$Y(),i.k70()}if(2&C){const c=i.GaO(),E=c.index,S=c.$implicit,Be=i.GaO().options,Dt=i.GaO(2);i.yG2(),i.E7m("id",Dt.id+"_"+Dt.getOptionIndex(E,Be))("option",S)("selected",Dt.isSelected(S))("label",Dt.getOptionLabel(S))("disabled",Dt.isOptionDisabled(S))("template",Dt.itemTemplate)("focused",Dt.focusedOptionIndex()===Dt.getOptionIndex(E,Be))("ariaPosInset",Dt.getAriaPosInset(Dt.getOptionIndex(E,Be)))("ariaSetSize",Dt.ariaSetSize)}}function Us(C,A){if(1&C&&i.yuY(0,ji,4,9,"ng-container",4)(1,qi,2,9,"ng-container",4),2&C){const c=A.$implicit,E=i.GaO(3);i.E7m("ngIf",E.isOptionGroup(c)),i.yG2(),i.E7m("ngIf",!E.isOptionGroup(c))}}function ks(C,A){if(1&C&&(i.SAx(0),i.OEk(1),i.k70()),2&C){const c=i.GaO(4);i.yG2(),i.oRS(" ",c.emptyFilterMessageLabel," ")}}function br(C,A){1&C&&i.C_f(0,null,54)}function yt(C,A){if(1&C&&(i.I0R(0,"li",53),i.yuY(1,ks,2,1,"ng-container",12)(2,br,2,0,"ng-container",22),i.C$Y()),2&C){const c=i.GaO().options,E=i.GaO(2);i.E7m("ngStyle",i.S45(4,Ee,c.itemSize+"px")),i.yG2(),i.E7m("ngIf",!E.emptyFilterTemplate&&!E.emptyTemplate)("ngIfElse",E.emptyFilter),i.yG2(),i.E7m("ngTemplateOutlet",E.emptyFilterTemplate||E.emptyTemplate)}}function Ht(C,A){if(1&C&&(i.SAx(0),i.OEk(1),i.k70()),2&C){const c=i.GaO(4);i.yG2(),i.oRS(" ",c.emptyMessageLabel," ")}}function Jt(C,A){1&C&&i.C_f(0,null,55)}function Wt(C,A){if(1&C&&(i.I0R(0,"li",53),i.yuY(1,Ht,2,1,"ng-container",12)(2,Jt,2,0,"ng-container",22),i.C$Y()),2&C){const c=i.GaO().options,E=i.GaO(2);i.E7m("ngStyle",i.S45(4,Ee,c.itemSize+"px")),i.yG2(),i.E7m("ngIf",!E.emptyTemplate)("ngIfElse",E.empty),i.yG2(),i.E7m("ngTemplateOutlet",E.emptyTemplate)}}function Zt(C,A){if(1&C&&(i.I0R(0,"ul",47,48),i.yuY(2,Us,2,2,"ng-template",49)(3,yt,3,6,"li",50)(4,Wt,3,6,"li",50),i.C$Y()),2&C){const c=A.$implicit,E=A.options,S=i.GaO(2);i.m_g(E.contentStyle),i.E7m("ngClass",E.contentStyleClass),i.e48("id",S.id+"_list")("aria-label",S.listLabel),i.yG2(2),i.E7m("ngForOf",c),i.yG2(),i.E7m("ngIf",S.filterValue&&S.isEmpty()),i.yG2(),i.E7m("ngIf",!S.filterValue&&S.isEmpty())}}function fn(C,A){1&C&&i.C_f(0)}function wn(C,A){if(1&C){const c=i.KQA();i.I0R(0,"div",28)(1,"span",29,30),i.qCj("focus",function(S){i.usT(c);const Be=i.GaO();return i.CGJ(Be.onFirstHiddenFocus(S))}),i.C$Y(),i.yuY(3,R,1,0,"ng-container",22)(4,Xn,4,2,"div",31),i.I0R(5,"div",32),i.yuY(6,ir,4,10,"p-scroller",33)(7,vi,2,6,"ng-container",4)(8,Zt,5,8,"ng-template",null,34,i.gJz),i.C$Y(),i.yuY(10,fn,1,0,"ng-container",22),i.I0R(11,"span",29,35),i.qCj("focus",function(S){i.usT(c);const Be=i.GaO();return i.CGJ(Be.onLastHiddenFocus(S))}),i.C$Y()()}if(2&C){const c=i.GaO();i.m8U(c.panelStyleClass),i.E7m("ngClass","p-dropdown-panel p-component")("ngStyle",c.panelStyle),i.yG2(),i.e48("aria-hidden",!0)("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0),i.yG2(2),i.E7m("ngTemplateOutlet",c.headerTemplate),i.yG2(),i.E7m("ngIf",c.filter),i.yG2(),i.m4B("max-height",c.virtualScroll?"auto":c.scrollHeight||"auto"),i.yG2(),i.E7m("ngIf",c.virtualScroll),i.yG2(),i.E7m("ngIf",!c.virtualScroll),i.yG2(3),i.E7m("ngTemplateOutlet",c.footerTemplate),i.yG2(),i.e48("aria-hidden",!0)("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0)}}const Hn={provide:I.Y6,useExisting:(0,i.wd)(()=>pi),multi:!0};let Vn=(()=>{class C{id;option;selected;focused;label;disabled;visible;itemSize;ariaPosInset;ariaSetSize;template;onClick=new i._w7;onMouseEnter=new i._w7;ngOnInit(){}onOptionClick(c){this.onClick.emit(c)}onOptionMouseEnter(c){this.onMouseEnter.emit(c)}static \u0275fac=function(E){return new(E||C)};static \u0275cmp=i.In1({type:C,selectors:[["p-dropdownItem"]],hostAttrs:[1,"p-element"],inputs:{id:"id",option:"option",selected:"selected",focused:"focused",label:"label",disabled:"disabled",visible:"visible",itemSize:"itemSize",ariaPosInset:"ariaPosInset",ariaSetSize:"ariaSetSize",template:"template"},outputs:{onClick:"onClick",onMouseEnter:"onMouseEnter"},decls:3,vars:21,consts:[["role","option","pRipple","",3,"id","ngStyle","ngClass","click","mouseenter"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(E,S){1&E&&(i.I0R(0,"li",0),i.qCj("click",function(Dt){return S.onOptionClick(Dt)})("mouseenter",function(Dt){return S.onOptionMouseEnter(Dt)}),i.yuY(1,Q,2,1,"span",1)(2,we,1,0,"ng-container",2),i.C$Y()),2&E&&(i.E7m("id",S.id)("ngStyle",i.S45(13,Ee,S.itemSize+"px"))("ngClass",i.uAc(15,Ze,S.selected,S.disabled,S.focused)),i.e48("aria-label",S.label)("aria-setsize",S.ariaSetSize)("aria-posinset",S.ariaPosInset)("aria-selected",S.selected)("data-p-focused",S.focused)("data-p-highlight",S.selected)("data-p-disabled",S.disabled),i.yG2(),i.E7m("ngIf",!S.template),i.yG2(),i.E7m("ngTemplateOutlet",S.template)("ngTemplateOutletContext",i.S45(19,N,S.option)))},dependencies:[y.QF,y.u_,y.XV,y.Qt,es.I],encapsulation:2})}return C})(),pi=(()=>{class C{el;renderer;cd;zone;filterService;config;id;scrollHeight="200px";filter;name;style;panelStyle;styleClass;panelStyleClass;readonly;required;editable;appendTo;tabindex=0;set placeholder(c){this._placeholder.set(c)}get placeholder(){return this._placeholder.asReadonly()}filterPlaceholder;filterLocale;inputId;dataKey;filterBy;filterFields;autofocus;resetFilterOnHide=!1;dropdownIcon;optionLabel;optionValue;optionDisabled;optionGroupLabel="label";optionGroupChildren="items";autoDisplayFirst=!0;group;showClear;emptyFilterMessage="";emptyMessage="";lazy=!1;virtualScroll;virtualScrollItemSize;virtualScrollOptions;overlayOptions;ariaFilterLabel;ariaLabel;ariaLabelledBy;filterMatchMode="contains";maxlength;tooltip="";tooltipPosition="right";tooltipPositionStyle="absolute";tooltipStyleClass;focusOnHover=!1;selectOnFocus=!1;autoOptionFocus=!0;autofocusFilter=!0;get disabled(){return this._disabled}set disabled(c){c&&(this.focused=!1,this.overlayVisible&&this.hide()),this._disabled=c,this.cd.destroyed||this.cd.detectChanges()}get itemSize(){return this._itemSize}set itemSize(c){this._itemSize=c,console.warn("The itemSize property is deprecated, use virtualScrollItemSize property instead.")}_itemSize;get autoZIndex(){return this._autoZIndex}set autoZIndex(c){this._autoZIndex=c,console.warn("The autoZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}_autoZIndex;get baseZIndex(){return this._baseZIndex}set baseZIndex(c){this._baseZIndex=c,console.warn("The baseZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}_baseZIndex;get showTransitionOptions(){return this._showTransitionOptions}set showTransitionOptions(c){this._showTransitionOptions=c,console.warn("The showTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}_showTransitionOptions;get hideTransitionOptions(){return this._hideTransitionOptions}set hideTransitionOptions(c){this._hideTransitionOptions=c,console.warn("The hideTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}_hideTransitionOptions;get filterValue(){return this._filterValue()}set filterValue(c){setTimeout(()=>{this._filterValue.set(c)})}get options(){return this._options()}set options(c){Hi.Yv.deepEquals(c,this._options())||this._options.set(c)}onChange=new i._w7;onFilter=new i._w7;onFocus=new i._w7;onBlur=new i._w7;onClick=new i._w7;onShow=new i._w7;onHide=new i._w7;onClear=new i._w7;onLazyLoad=new i._w7;containerViewChild;filterViewChild;focusInputViewChild;editableInputViewChild;itemsViewChild;scroller;overlayViewChild;firstHiddenFocusableElementOnOverlay;lastHiddenFocusableElementOnOverlay;templates;_disabled;itemsWrapper;itemTemplate;groupTemplate;loaderTemplate;selectedItemTemplate;headerTemplate;filterTemplate;footerTemplate;emptyFilterTemplate;emptyTemplate;dropdownIconTemplate;clearIconTemplate;filterIconTemplate;filterOptions;_options=(0,i.OCB)(null);_placeholder=(0,i.OCB)(void 0);modelValue=(0,i.OCB)(null);value;onModelChange=()=>{};onModelTouched=()=>{};hover;focused;overlayVisible;optionsChanged;panel;dimensionsUpdated;hoveredItem;selectedOptionUpdated;_filterValue=(0,i.OCB)(null);searchValue;searchIndex;searchTimeout;previousSearchChar;currentSearchChar;preventModelTouched;focusedOptionIndex=(0,i.OCB)(-1);labelId;listId;clicked=(0,i.OCB)(!1);get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(hr.qe.EMPTY_MESSAGE)}get emptyFilterMessageLabel(){return this.emptyFilterMessage||this.config.getTranslation(hr.qe.EMPTY_FILTER_MESSAGE)}get isVisibleClearIcon(){return null!=this.modelValue()&&this.hasSelectedOption()&&this.showClear&&!this.disabled}get listLabel(){return this.config.getTranslation(hr.qe.ARIA).listLabel}get containerClass(){return{"p-dropdown p-component p-inputwrapper":!0,"p-disabled":this.disabled,"p-dropdown-clearable":this.showClear&&!this.disabled,"p-focus":this.focused,"p-inputwrapper-filled":void 0!==this.modelValue()&&null!==this.modelValue()&&!this.modelValue().length,"p-inputwrapper-focus":this.focused||this.overlayVisible}}get inputClass(){const c=this.label();return{"p-dropdown-label p-inputtext":!0,"p-placeholder":this.placeholder()&&c===this.placeholder(),"p-dropdown-label-empty":!(this.editable||this.selectedItemTemplate||null!=c&&"p-emptylabel"!==c&&0!==c.length)}}get panelClass(){return{"p-dropdown-panel p-component":!0,"p-input-filled":"filled"===this.config.inputStyle,"p-ripple-disabled":!1===this.config.ripple}}get focusedOptionId(){return-1!==this.focusedOptionIndex()?`${this.id}_${this.focusedOptionIndex()}`:null}visibleOptions=(0,i.S6b)(()=>{const c=this.getAllVisibleAndNonVisibleOptions();if(this._filterValue()){const S=this.filterBy||this.optionLabel||this.filterFields||this.optionValue?this.filterService.filter(c,this.searchFields(),this._filterValue().trim(),this.filterMatchMode,this.filterLocale):this.options.filter(Be=>Be.label?-1!==Be.label.toLowerCase().indexOf(this._filterValue().toLowerCase().trim()):-1!==Be.toLowerCase().indexOf(this._filterValue().toLowerCase().trim()));if(this.group){const Dt=[];return(this.options||[]).forEach(sn=>{const Rn=this.getOptionGroupChildren(sn).filter(Jn=>S.includes(Jn));Rn.length>0&&Dt.push({...sn,["string"==typeof this.optionGroupChildren?this.optionGroupChildren:"items"]:[...Rn]})}),this.flatOptions(Dt)}return S}return c});label=(0,i.S6b)(()=>{const c=this.getAllVisibleAndNonVisibleOptions(),E=c.findIndex(S=>this.isOptionValueEqualsModelValue(S));return-1!==E?this.getOptionLabel(c[E]):this.placeholder()||"p-emptylabel"});filled=(0,i.S6b)(()=>"string"==typeof this.modelValue()?!!this.modelValue():"p-emptylabel"!==this.label()&&void 0!==this.modelValue()&&null!==this.modelValue());selectedOption;editableInputValue=(0,i.S6b)(()=>this.getOptionLabel(this.selectedOption)||this.modelValue()||"");constructor(c,E,S,Be,Dt,sn){this.el=c,this.renderer=E,this.cd=S,this.zone=Be,this.filterService=Dt,this.config=sn,(0,i.o3l)(()=>{const Mn=this.modelValue(),Rn=this.visibleOptions();if(Rn&&Hi.Yv.isNotEmpty(Rn)){const Jn=this.findSelectedOptionIndex();(-1!==Jn||void 0===Mn||"string"==typeof Mn&&0===Mn.length||this.isModelValueNotSet()||this.editable)&&(this.selectedOption=Rn[Jn])}Hi.Yv.isEmpty(Rn)&&(void 0===Mn||this.isModelValueNotSet())&&Hi.Yv.isNotEmpty(this.selectedOption)&&(this.selectedOption=null),void 0!==Mn&&this.editable&&this.updateEditableLabel(),this.cd.markForCheck()})}isModelValueNotSet(){return null===this.modelValue()&&!this.isOptionValueEqualsModelValue(this.selectedOption)}displayPlaceholder(){return Hi.Yv.isEmpty(this.selectedOption)&&this.label()===this.placeholder()}getAllVisibleAndNonVisibleOptions(){return this.group?this.flatOptions(this.options):this.options||[]}ngOnInit(){this.id=this.id||(0,Hi.Oc)(),this.autoUpdateModel(),this.filterBy&&(this.filterOptions={filter:c=>this.onFilterInputChange(c),reset:()=>this.resetFilter()})}ngAfterViewChecked(){if(this.optionsChanged&&this.overlayVisible&&(this.optionsChanged=!1,this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.overlayViewChild&&this.overlayViewChild.alignOverlay()},1)})),this.selectedOptionUpdated&&this.itemsWrapper){let c=Ei.k.findSingle(this.overlayViewChild?.overlayViewChild?.nativeElement,"li.p-highlight");c&&Ei.k.scrollInView(this.itemsWrapper,c),this.selectedOptionUpdated=!1}}ngAfterContentInit(){this.templates.forEach(c=>{switch(c.getType()){case"item":default:this.itemTemplate=c.template;break;case"selectedItem":this.selectedItemTemplate=c.template;break;case"header":this.headerTemplate=c.template;break;case"filter":this.filterTemplate=c.template;break;case"footer":this.footerTemplate=c.template;break;case"emptyfilter":this.emptyFilterTemplate=c.template;break;case"empty":this.emptyTemplate=c.template;break;case"group":this.groupTemplate=c.template;break;case"loader":this.loaderTemplate=c.template;break;case"dropdownicon":this.dropdownIconTemplate=c.template;break;case"clearicon":this.clearIconTemplate=c.template;break;case"filtericon":this.filterIconTemplate=c.template}})}flatOptions(c){return(c||[]).reduce((E,S,Be)=>{E.push({optionGroup:S,group:!0,index:Be});const Dt=this.getOptionGroupChildren(S);return Dt&&Dt.forEach(sn=>E.push(sn)),E},[])}autoUpdateModel(){if(this.selectOnFocus&&this.autoOptionFocus&&!this.hasSelectedOption()&&(this.focusedOptionIndex.set(this.findFirstFocusedOptionIndex()),this.onOptionSelect(null,this.visibleOptions()[this.focusedOptionIndex()],!1)),this.autoDisplayFirst&&(null===this.modelValue()||void 0===this.modelValue())&&!this.placeholder()){const c=this.findFirstOptionIndex();this.onOptionSelect(null,this.visibleOptions()[c],!1,!0)}}onOptionSelect(c,E,S=!0,Be=!1){if(!this.isSelected(E)){const Dt=this.getOptionValue(E);this.updateModel(Dt,c),this.focusedOptionIndex.set(this.findSelectedOptionIndex()),S&&setTimeout(()=>this.hide(!0),1),!1===Be&&this.onChange.emit({originalEvent:c,value:Dt})}}onOptionMouseEnter(c,E){this.focusOnHover&&this.changeFocusedOptionIndex(c,E)}updateModel(c,E){this.value=c,this.onModelChange(c),this.modelValue.set(c),this.selectedOptionUpdated=!0}writeValue(c){this.filter&&this.resetFilter(),this.value=c,this.allowModelChange()&&this.onModelChange(c),this.modelValue.set(this.value),this.updateEditableLabel(),this.cd.markForCheck()}allowModelChange(){return this.autoDisplayFirst&&!this.placeholder()&&(void 0===this.modelValue()||null===this.modelValue())&&!this.editable&&this.options&&this.options.length}isSelected(c){return this.isValidOption(c)&&this.isOptionValueEqualsModelValue(c)}isOptionValueEqualsModelValue(c){return Hi.Yv.equals(this.modelValue(),this.getOptionValue(c),this.equalityKey())}ngAfterViewInit(){this.editable&&this.updateEditableLabel()}updateEditableLabel(){this.editableInputViewChild&&(this.editableInputViewChild.nativeElement.value=this.getOptionLabel(this.selectedOption)||this.modelValue()||"")}clearEditableLabel(){this.editableInputViewChild&&(this.editableInputViewChild.nativeElement.value="")}getOptionIndex(c,E){return this.virtualScrollerDisabled?c:E&&E.getItemOptions(c).index}getOptionLabel(c){return null!=this.optionLabel?Hi.Yv.resolveFieldData(c,this.optionLabel):c&&void 0!==c.label?c.label:c}getOptionValue(c){return this.optionValue&&null!==this.optionValue?Hi.Yv.resolveFieldData(c,this.optionValue):!this.optionLabel&&c&&void 0!==c.value?c.value:c}isOptionDisabled(c){return!(this.getOptionValue(this.modelValue())===this.getOptionValue(c)||this.getOptionLabel(this.modelValue()===this.getOptionLabel(c))&&!1===c.disabled)&&(this.optionDisabled?Hi.Yv.resolveFieldData(c,this.optionDisabled):!(!c||void 0===c.disabled)&&c.disabled)}getOptionGroupLabel(c){return null!=this.optionGroupLabel?Hi.Yv.resolveFieldData(c,this.optionGroupLabel):c&&void 0!==c.label?c.label:c}getOptionGroupChildren(c){return null!=this.optionGroupChildren?Hi.Yv.resolveFieldData(c,this.optionGroupChildren):c.items}getAriaPosInset(c){return(this.optionGroupLabel?c-this.visibleOptions().slice(0,c).filter(E=>this.isOptionGroup(E)).length:c)+1}get ariaSetSize(){return this.visibleOptions().filter(c=>!this.isOptionGroup(c)).length}resetFilter(){this._filterValue.set(null),this.filterViewChild&&this.filterViewChild.nativeElement&&(this.filterViewChild.nativeElement.value="")}registerOnChange(c){this.onModelChange=c}registerOnTouched(c){this.onModelTouched=c}setDisabledState(c){this.disabled=c,this.cd.markForCheck()}onContainerClick(c){this.disabled||this.readonly||(this.focusInputViewChild?.nativeElement.focus({preventScroll:!0}),"INPUT"!==c.target.tagName&&"clearicon"!==c.target.getAttribute("data-pc-section")&&!c.target.closest('[data-pc-section="clearicon"]')&&((!this.overlayViewChild||!this.overlayViewChild.el.nativeElement.contains(c.target))&&(this.overlayVisible?this.hide(!0):this.show(!0)),this.onClick.emit(c),this.clicked.set(!0),this.cd.detectChanges()))}isEmpty(){return!this._options()||this.visibleOptions()&&0===this.visibleOptions().length}onEditableInput(c){const E=c.target.value;this.searchValue="",!this.searchOptions(c,E)&&this.focusedOptionIndex.set(-1),this.onModelChange(E),this.updateModel(E,c),setTimeout(()=>{this.onChange.emit({originalEvent:c,value:E})},1),!this.overlayVisible&&Hi.Yv.isNotEmpty(E)&&this.show()}show(c){this.overlayVisible=!0;const E=-1!==this.focusedOptionIndex()?this.focusedOptionIndex():this.autoOptionFocus?this.findFirstFocusedOptionIndex():this.editable?-1:this.findSelectedOptionIndex();this.focusedOptionIndex.set(E),c&&Ei.k.focus(this.focusInputViewChild?.nativeElement),this.cd.markForCheck()}onOverlayAnimationStart(c){if("visible"===c.toState){if(this.itemsWrapper=Ei.k.findSingle(this.overlayViewChild?.overlayViewChild?.nativeElement,this.virtualScroll?".p-scroller":".p-dropdown-items-wrapper"),this.virtualScroll&&this.scroller?.setContentEl(this.itemsViewChild?.nativeElement),this.options&&this.options.length)if(this.virtualScroll){const E=this.modelValue()?this.focusedOptionIndex():-1;-1!==E&&this.scroller?.scrollToIndex(E)}else{let E=Ei.k.findSingle(this.itemsWrapper,".p-dropdown-item.p-highlight");E&&E.scrollIntoView({block:"nearest",inline:"nearest"})}this.filterViewChild&&this.filterViewChild.nativeElement&&(this.preventModelTouched=!0,this.autofocusFilter&&!this.editable&&this.filterViewChild.nativeElement.focus()),this.onShow.emit(c)}"void"===c.toState&&(this.itemsWrapper=null,this.onModelTouched(),this.onHide.emit(c))}hide(c){this.overlayVisible=!1,this.focusedOptionIndex.set(-1),this.clicked.set(!1),this.searchValue="",this.filter&&this.resetFilterOnHide&&this.resetFilter(),c&&(this.focusInputViewChild&&Ei.k.focus(this.focusInputViewChild?.nativeElement),this.editable&&this.editableInputViewChild&&Ei.k.focus(this.editableInputViewChild?.nativeElement)),this.cd.markForCheck()}onInputFocus(c){if(this.disabled)return;this.focused=!0;const E=-1!==this.focusedOptionIndex()?this.focusedOptionIndex():this.overlayVisible&&this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1;this.focusedOptionIndex.set(E),this.overlayVisible&&this.scrollInView(this.focusedOptionIndex()),this.onFocus.emit(c)}onInputBlur(c){this.focused=!1,!1===this.overlayVisible&&this.onBlur.emit(c),this.preventModelTouched||this.onModelTouched(),this.preventModelTouched=!1}onKeyDown(c,E){if(!this.disabled&&!this.readonly){switch(c.code){case"ArrowDown":this.onArrowDownKey(c);break;case"ArrowUp":this.onArrowUpKey(c,this.editable);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(c,this.editable);break;case"Delete":this.onDeleteKey(c);break;case"Home":this.onHomeKey(c,this.editable);break;case"End":this.onEndKey(c,this.editable);break;case"PageDown":this.onPageDownKey(c);break;case"PageUp":this.onPageUpKey(c);break;case"Space":this.onSpaceKey(c,E);break;case"Enter":case"NumpadEnter":this.onEnterKey(c);break;case"Escape":this.onEscapeKey(c);break;case"Tab":this.onTabKey(c);break;case"Backspace":this.onBackspaceKey(c,this.editable);break;case"ShiftLeft":case"ShiftRight":break;default:!c.metaKey&&Hi.Yv.isPrintableCharacter(c.key)&&(!this.overlayVisible&&this.show(),!this.editable&&this.searchOptions(c,c.key))}this.clicked.set(!1)}}onFilterKeyDown(c){switch(c.code){case"ArrowDown":this.onArrowDownKey(c);break;case"ArrowUp":this.onArrowUpKey(c,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(c,!0);break;case"Home":this.onHomeKey(c,!0);break;case"End":this.onEndKey(c,!0);break;case"Enter":this.onEnterKey(c,!0);break;case"Escape":this.onEscapeKey(c);break;case"Tab":this.onTabKey(c,!0)}}onFilterBlur(c){this.focusedOptionIndex.set(-1)}onArrowDownKey(c){if(this.overlayVisible){const E=-1!==this.focusedOptionIndex()?this.findNextOptionIndex(this.focusedOptionIndex()):this.clicked()?this.findFirstOptionIndex():this.findFirstFocusedOptionIndex();this.changeFocusedOptionIndex(c,E)}else this.show(),this.editable&&this.changeFocusedOptionIndex(c,this.findSelectedOptionIndex());c.preventDefault()}changeFocusedOptionIndex(c,E){if(this.focusedOptionIndex()!==E&&(this.focusedOptionIndex.set(E),this.scrollInView(),this.selectOnFocus)){const S=this.visibleOptions()[E];this.onOptionSelect(c,S,!1)}}get virtualScrollerDisabled(){return!this.virtualScroll}scrollInView(c=-1){if(this.itemsViewChild&&this.itemsViewChild.nativeElement){const S=Ei.k.findSingle(this.itemsViewChild.nativeElement,`li[id="${-1!==c?`${this.id}_${c}`:this.focusedOptionId}"]`);S?S.scrollIntoView&&S.scrollIntoView({block:"nearest",inline:"nearest"}):this.virtualScrollerDisabled||setTimeout(()=>{this.virtualScroll&&this.scroller?.scrollToIndex(-1!==c?c:this.focusedOptionIndex())},0)}}hasSelectedOption(){return void 0!==this.modelValue()}isValidSelectedOption(c){return this.isValidOption(c)&&this.isSelected(c)}equalityKey(){return this.optionValue?null:this.dataKey}findFirstFocusedOptionIndex(){const c=this.findSelectedOptionIndex();return c<0?this.findFirstOptionIndex():c}findFirstOptionIndex(){return this.visibleOptions().findIndex(c=>this.isValidOption(c))}findSelectedOptionIndex(){return this.hasSelectedOption()?this.visibleOptions().findIndex(c=>this.isValidSelectedOption(c)):-1}findNextOptionIndex(c){const E=c<this.visibleOptions().length-1?this.visibleOptions().slice(c+1).findIndex(S=>this.isValidOption(S)):-1;return E>-1?E+c+1:c}findPrevOptionIndex(c){const E=c>0?Hi.Yv.findLastIndex(this.visibleOptions().slice(0,c),S=>this.isValidOption(S)):-1;return E>-1?E:c}findLastOptionIndex(){return Hi.Yv.findLastIndex(this.visibleOptions(),c=>this.isValidOption(c))}findLastFocusedOptionIndex(){const c=this.findSelectedOptionIndex();return c<0?this.findLastOptionIndex():c}isValidOption(c){return null!=c&&!(this.isOptionDisabled(c)||this.isOptionGroup(c))}isOptionGroup(c){return null!=this.optionGroupLabel&&null!=c.optionGroup&&c.group}onArrowUpKey(c,E=!1){if(c.altKey&&!E){if(-1!==this.focusedOptionIndex()){const S=this.visibleOptions()[this.focusedOptionIndex()];this.onOptionSelect(c,S)}this.overlayVisible&&this.hide(),c.preventDefault()}else{const S=-1!==this.focusedOptionIndex()?this.findPrevOptionIndex(this.focusedOptionIndex()):this.clicked()?this.findLastOptionIndex():this.findLastFocusedOptionIndex();this.changeFocusedOptionIndex(c,S),!this.overlayVisible&&this.show(),c.preventDefault()}}onArrowLeftKey(c,E=!1){E&&this.focusedOptionIndex.set(-1)}onDeleteKey(c){this.showClear&&(this.clear(c),c.preventDefault())}onHomeKey(c,E=!1){if(E){const S=c.currentTarget;c.shiftKey?S.setSelectionRange(0,S.value.length):(S.setSelectionRange(0,0),this.focusedOptionIndex.set(-1))}else this.changeFocusedOptionIndex(c,this.findFirstOptionIndex()),!this.overlayVisible&&this.show();c.preventDefault()}onEndKey(c,E=!1){if(E){const S=c.currentTarget;if(c.shiftKey)S.setSelectionRange(0,S.value.length);else{const Be=S.value.length;S.setSelectionRange(Be,Be),this.focusedOptionIndex.set(-1)}}else this.changeFocusedOptionIndex(c,this.findLastOptionIndex()),!this.overlayVisible&&this.show();c.preventDefault()}onPageDownKey(c){this.scrollInView(this.visibleOptions().length-1),c.preventDefault()}onPageUpKey(c){this.scrollInView(0),c.preventDefault()}onSpaceKey(c,E=!1){!this.editable&&!E&&this.onEnterKey(c)}onEnterKey(c,E=!1){if(this.overlayVisible){if(-1!==this.focusedOptionIndex()){const S=this.visibleOptions()[this.focusedOptionIndex()];this.onOptionSelect(c,S)}!E&&this.hide()}else this.focusedOptionIndex.set(-1),this.onArrowDownKey(c);c.preventDefault()}onEscapeKey(c){this.overlayVisible&&this.hide(!0),c.preventDefault()}onTabKey(c,E=!1){if(!E)if(this.overlayVisible&&this.hasFocusableElements())Ei.k.focus(c.shiftKey?this.lastHiddenFocusableElementOnOverlay.nativeElement:this.firstHiddenFocusableElementOnOverlay.nativeElement),c.preventDefault();else{if(-1!==this.focusedOptionIndex()&&this.overlayVisible){const S=this.visibleOptions()[this.focusedOptionIndex()];this.onOptionSelect(c,S)}this.overlayVisible&&this.hide(this.filter)}}onFirstHiddenFocus(c){const E=c.relatedTarget===this.focusInputViewChild?.nativeElement?Ei.k.getFirstFocusableElement(this.overlayViewChild.el?.nativeElement,":not(.p-hidden-focusable)"):this.focusInputViewChild?.nativeElement;Ei.k.focus(E)}onLastHiddenFocus(c){const E=c.relatedTarget===this.focusInputViewChild?.nativeElement?Ei.k.getLastFocusableElement(this.overlayViewChild?.overlayViewChild?.nativeElement,':not([data-p-hidden-focusable="true"])'):this.focusInputViewChild?.nativeElement;Ei.k.focus(E)}hasFocusableElements(){return Ei.k.getFocusableElements(this.overlayViewChild.overlayViewChild.nativeElement,':not([data-p-hidden-focusable="true"])').length>0}onBackspaceKey(c,E=!1){E&&!this.overlayVisible&&this.show()}searchFields(){return this.filterBy?.split(",")||this.filterFields||[this.optionLabel]}searchOptions(c,E){this.searchValue=(this.searchValue||"")+E;let S=-1,Be=!1;return-1!==this.focusedOptionIndex()?(S=this.visibleOptions().slice(this.focusedOptionIndex()).findIndex(Dt=>this.isOptionMatched(Dt)),S=-1===S?this.visibleOptions().slice(0,this.focusedOptionIndex()).findIndex(Dt=>this.isOptionMatched(Dt)):S+this.focusedOptionIndex()):S=this.visibleOptions().findIndex(Dt=>this.isOptionMatched(Dt)),-1!==S&&(Be=!0),-1===S&&-1===this.focusedOptionIndex()&&(S=this.findFirstFocusedOptionIndex()),-1!==S&&this.changeFocusedOptionIndex(c,S),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>{this.searchValue="",this.searchTimeout=null},500),Be}isOptionMatched(c){return this.isValidOption(c)&&this.getOptionLabel(c).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))}onFilterInputChange(c){this._filterValue.set(c.target.value),this.focusedOptionIndex.set(-1),this.onFilter.emit({originalEvent:c,filter:this._filterValue()}),!this.virtualScrollerDisabled&&this.scroller.scrollToIndex(0),setTimeout(()=>{this.overlayViewChild.alignOverlay()}),this.cd.markForCheck()}applyFocus(){this.editable?Ei.k.findSingle(this.el.nativeElement,".p-dropdown-label.p-inputtext").focus():Ei.k.focus(this.focusInputViewChild?.nativeElement)}focus(){this.applyFocus()}clear(c){this.updateModel(null,c),this.clearEditableLabel(),this.onModelTouched(),this.onChange.emit({originalEvent:c,value:this.value}),this.onClear.emit(c),this.resetFilter()}static \u0275fac=function(E){return new(E||C)(i.GI1(i.GMv),i.GI1(i.q87),i.GI1(i.kD9),i.GI1(i.WW2),i.GI1(hr.qy),i.GI1(hr.MV))};static \u0275cmp=i.In1({type:C,selectors:[["p-dropdown"]],contentQueries:function(E,S,Be){if(1&E&&i.szK(Be,hr.U3,4),2&E){let Dt;i.wto(Dt=i.Gqi())&&(S.templates=Dt)}},viewQuery:function(E,S){if(1&E&&(i.CC$(ue,5),i.CC$(q,5),i.CC$(Pe,5),i.CC$(ct,5),i.CC$(ft,5),i.CC$(Qt,5),i.CC$(En,5),i.CC$(Zn,5),i.CC$(Sn,5)),2&E){let Be;i.wto(Be=i.Gqi())&&(S.containerViewChild=Be.first),i.wto(Be=i.Gqi())&&(S.filterViewChild=Be.first),i.wto(Be=i.Gqi())&&(S.focusInputViewChild=Be.first),i.wto(Be=i.Gqi())&&(S.editableInputViewChild=Be.first),i.wto(Be=i.Gqi())&&(S.itemsViewChild=Be.first),i.wto(Be=i.Gqi())&&(S.scroller=Be.first),i.wto(Be=i.Gqi())&&(S.overlayViewChild=Be.first),i.wto(Be=i.Gqi())&&(S.firstHiddenFocusableElementOnOverlay=Be.first),i.wto(Be=i.Gqi())&&(S.lastHiddenFocusableElementOnOverlay=Be.first)}},hostAttrs:[1,"p-element","p-inputwrapper"],hostVars:4,hostBindings:function(E,S){2&E&&i.eAK("p-inputwrapper-filled",S.filled())("p-inputwrapper-focus",S.focused||S.overlayVisible)},inputs:{id:"id",scrollHeight:"scrollHeight",filter:"filter",name:"name",style:"style",panelStyle:"panelStyle",styleClass:"styleClass",panelStyleClass:"panelStyleClass",readonly:"readonly",required:"required",editable:"editable",appendTo:"appendTo",tabindex:"tabindex",placeholder:"placeholder",filterPlaceholder:"filterPlaceholder",filterLocale:"filterLocale",inputId:"inputId",dataKey:"dataKey",filterBy:"filterBy",filterFields:"filterFields",autofocus:"autofocus",resetFilterOnHide:"resetFilterOnHide",dropdownIcon:"dropdownIcon",optionLabel:"optionLabel",optionValue:"optionValue",optionDisabled:"optionDisabled",optionGroupLabel:"optionGroupLabel",optionGroupChildren:"optionGroupChildren",autoDisplayFirst:"autoDisplayFirst",group:"group",showClear:"showClear",emptyFilterMessage:"emptyFilterMessage",emptyMessage:"emptyMessage",lazy:"lazy",virtualScroll:"virtualScroll",virtualScrollItemSize:"virtualScrollItemSize",virtualScrollOptions:"virtualScrollOptions",overlayOptions:"overlayOptions",ariaFilterLabel:"ariaFilterLabel",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",filterMatchMode:"filterMatchMode",maxlength:"maxlength",tooltip:"tooltip",tooltipPosition:"tooltipPosition",tooltipPositionStyle:"tooltipPositionStyle",tooltipStyleClass:"tooltipStyleClass",focusOnHover:"focusOnHover",selectOnFocus:"selectOnFocus",autoOptionFocus:"autoOptionFocus",autofocusFilter:"autofocusFilter",disabled:"disabled",itemSize:"itemSize",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",filterValue:"filterValue",options:"options"},outputs:{onChange:"onChange",onFilter:"onFilter",onFocus:"onFocus",onBlur:"onBlur",onClick:"onClick",onShow:"onShow",onHide:"onHide",onClear:"onClear",onLazyLoad:"onLazyLoad"},features:[i.M5G([Hn])],decls:11,vars:20,consts:[[3,"ngClass","ngStyle","click"],["container",""],["role","combobox","pAutoFocus","",3,"ngClass","pTooltip","tooltipPosition","positionStyle","tooltipStyleClass","autofocus","focus","blur","keydown",4,"ngIf"],["type","text","aria-haspopup","listbox",3,"ngClass","disabled","input","keydown","focus","blur",4,"ngIf"],[4,"ngIf"],["role","button","aria-label","dropdown trigger","aria-haspopup","listbox",1,"p-dropdown-trigger"],["class","p-dropdown-trigger-icon",4,"ngIf"],[3,"visible","options","target","appendTo","autoZIndex","baseZIndex","showTransitionOptions","hideTransitionOptions","visibleChange","onAnimationStart","onHide"],["overlay",""],["pTemplate","content"],["role","combobox","pAutoFocus","",3,"ngClass","pTooltip","tooltipPosition","positionStyle","tooltipStyleClass","autofocus","focus","blur","keydown"],["focusInput",""],[4,"ngIf","ngIfElse"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],["defaultPlaceholder",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["type","text","aria-haspopup","listbox",3,"ngClass","disabled","input","keydown","focus","blur"],["editableInput",""],[3,"styleClass","click",4,"ngIf"],["class","p-dropdown-clear-icon",3,"click",4,"ngIf"],[3,"styleClass","click"],[1,"p-dropdown-clear-icon",3,"click"],[4,"ngTemplateOutlet"],["class","p-dropdown-trigger-icon",3,"ngClass",4,"ngIf"],[3,"styleClass",4,"ngIf"],[1,"p-dropdown-trigger-icon",3,"ngClass"],[3,"styleClass"],[1,"p-dropdown-trigger-icon"],[3,"ngClass","ngStyle"],["role","presentation",1,"p-hidden-accessible","p-hidden-focusable",3,"focus"],["firstHiddenFocusableEl",""],["class","p-dropdown-header",3,"click",4,"ngIf"],[1,"p-dropdown-items-wrapper"],[3,"items","style","itemSize","autoSize","lazy","options","onLazyLoad",4,"ngIf"],["buildInItems",""],["lastHiddenFocusableEl",""],[1,"p-dropdown-header",3,"click"],["builtInFilterElement",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-dropdown-filter-container"],["type","text","autocomplete","off",1,"p-dropdown-filter","p-inputtext","p-component",3,"value","input","keydown","blur"],["filter",""],["class","p-dropdown-filter-icon",4,"ngIf"],[1,"p-dropdown-filter-icon"],[3,"items","itemSize","autoSize","lazy","options","onLazyLoad"],["scroller",""],["pTemplate","loader"],["role","listbox",1,"p-dropdown-items",3,"ngClass"],["items",""],["ngFor","",3,"ngForOf"],["class","p-dropdown-empty-message",3,"ngStyle",4,"ngIf"],["role","option",1,"p-dropdown-item-group",3,"ngStyle"],[3,"id","option","selected","label","disabled","template","focused","ariaPosInset","ariaSetSize","onClick","onMouseEnter"],[1,"p-dropdown-empty-message",3,"ngStyle"],["emptyFilter",""],["empty",""]],template:function(E,S){if(1&E&&(i.I0R(0,"div",0,1),i.qCj("click",function(Dt){return S.onContainerClick(Dt)}),i.yuY(2,Ti,6,20,"span",2)(3,Mr,2,5,"input",3)(4,Ie,3,2,"ng-container",4),i.I0R(5,"div",5),i.yuY(6,kt,3,2,"ng-container",4)(7,M,2,1,"span",6),i.C$Y(),i.I0R(8,"p-overlay",7,8),i.iHE("visibleChange",function(Dt){return i.kNx(S.overlayVisible,Dt)||(S.overlayVisible=Dt),Dt}),i.qCj("onAnimationStart",function(Dt){return S.onOverlayAnimationStart(Dt)})("onHide",function(){return S.hide()}),i.yuY(10,wn,13,19,"ng-template",9),i.C$Y()()),2&E){let Be;i.m8U(S.styleClass),i.E7m("ngClass",S.containerClass)("ngStyle",S.style),i.e48("id",S.id),i.yG2(2),i.E7m("ngIf",!S.editable),i.yG2(),i.E7m("ngIf",S.editable),i.yG2(),i.E7m("ngIf",S.isVisibleClearIcon),i.yG2(),i.e48("aria-expanded",null!==(Be=S.overlayVisible)&&void 0!==Be&&Be)("data-pc-section","trigger"),i.yG2(),i.E7m("ngIf",!S.dropdownIconTemplate),i.yG2(),i.E7m("ngIf",S.dropdownIconTemplate),i.yG2(),i.OKB("visible",S.overlayVisible),i.E7m("options",S.overlayOptions)("target","@parent")("appendTo",S.appendTo)("autoZIndex",S.autoZIndex)("baseZIndex",S.baseZIndex)("showTransitionOptions",S.showTransitionOptions)("hideTransitionOptions",S.hideTransitionOptions)}},dependencies:()=>[y.QF,y.ay,y.u_,y.XV,y.Qt,Es.mc,hr.U3,Sr.o,Ar.a,as.k,m.O,b.w,G.I,Vn],styles:["@layer primeng{.p-dropdown{display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;user-select:none}.p-dropdown-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.p-dropdown-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.p-dropdown-label{display:block;white-space:nowrap;overflow:hidden;flex:1 1 auto;width:1%;text-overflow:ellipsis;cursor:pointer}.p-dropdown-label-empty{overflow:hidden;opacity:0}input.p-dropdown-label{cursor:default}.p-dropdown .p-dropdown-panel{min-width:100%}.p-dropdown-items-wrapper{overflow:auto}.p-dropdown-item{cursor:pointer;font-weight:400;white-space:nowrap;position:relative;overflow:hidden}.p-dropdown-item-group{cursor:auto}.p-dropdown-items{margin:0;padding:0;list-style-type:none}.p-dropdown-filter{width:100%}.p-dropdown-filter-container{position:relative}.p-dropdown-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-dropdown{display:flex}.p-fluid .p-dropdown .p-dropdown-label{width:1%}}\n"],encapsulation:2,changeDetection:0})}return C})(),ai=(()=>{class C{static \u0275fac=function(E){return new(E||C)};static \u0275mod=i.a4G({type:C});static \u0275inj=i.s3X({imports:[y.MD,Es.Y1,hr.kT,Sr.a,es.c,Ar.i,as.q,m.O,b.w,G.I,Es.Y1,hr.kT,Ar.i]})}return C})();var Nn=u(7200);let Ni=(()=>{class C extends Nn.m{static \u0275fac=(()=>{let c;return function(S){return(c||(c=i.otF(C)))(S||C)}})();static \u0275cmp=i.In1({type:C,selectors:[["AngleDoubleLeftIcon"]],standalone:!0,features:[i.eg9,i.UHJ],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M5.71602 11.164C5.80782 11.2021 5.9063 11.2215 6.00569 11.221C6.20216 11.2301 6.39427 11.1612 6.54025 11.0294C6.68191 10.8875 6.76148 10.6953 6.76148 10.4948C6.76148 10.2943 6.68191 10.1021 6.54025 9.96024L3.51441 6.9344L6.54025 3.90855C6.624 3.76126 6.65587 3.59011 6.63076 3.42254C6.60564 3.25498 6.525 3.10069 6.40175 2.98442C6.2785 2.86815 6.11978 2.79662 5.95104 2.7813C5.78229 2.76598 5.61329 2.80776 5.47112 2.89994L1.97123 6.39983C1.82957 6.54167 1.75 6.73393 1.75 6.9344C1.75 7.13486 1.82957 7.32712 1.97123 7.46896L5.47112 10.9991C5.54096 11.0698 5.62422 11.1259 5.71602 11.164ZM11.0488 10.9689C11.1775 11.1156 11.3585 11.2061 11.5531 11.221C11.7477 11.2061 11.9288 11.1156 12.0574 10.9689C12.1815 10.8302 12.25 10.6506 12.25 10.4645C12.25 10.2785 12.1815 10.0989 12.0574 9.96024L9.03158 6.93439L12.0574 3.90855C12.1248 3.76739 12.1468 3.60881 12.1204 3.45463C12.0939 3.30045 12.0203 3.15826 11.9097 3.04765C11.7991 2.93703 11.6569 2.86343 11.5027 2.83698C11.3486 2.81053 11.19 2.83252 11.0488 2.89994L7.51865 6.36957C7.37699 6.51141 7.29742 6.70367 7.29742 6.90414C7.29742 7.1046 7.37699 7.29686 7.51865 7.4387L11.0488 10.9689Z","fill","currentColor"]],template:function(E,S){1&E&&(i.S2Z(),i.I0R(0,"svg",0),i.wR5(1,"path",1),i.C$Y()),2&E&&(i.m8U(S.getClassNames()),i.e48("aria-label",S.ariaLabel)("aria-hidden",S.ariaHidden)("role",S.role))},encapsulation:2})}return C})(),si=(()=>{class C extends Nn.m{static \u0275fac=(()=>{let c;return function(S){return(c||(c=i.otF(C)))(S||C)}})();static \u0275cmp=i.In1({type:C,selectors:[["AngleDoubleRightIcon"]],standalone:!0,features:[i.eg9,i.UHJ],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M7.68757 11.1451C7.7791 11.1831 7.8773 11.2024 7.9764 11.2019C8.07769 11.1985 8.17721 11.1745 8.26886 11.1312C8.36052 11.088 8.44238 11.0265 8.50943 10.9505L12.0294 7.49085C12.1707 7.34942 12.25 7.15771 12.25 6.95782C12.25 6.75794 12.1707 6.56622 12.0294 6.42479L8.50943 2.90479C8.37014 2.82159 8.20774 2.78551 8.04633 2.80192C7.88491 2.81833 7.73309 2.88635 7.6134 2.99588C7.4937 3.10541 7.41252 3.25061 7.38189 3.40994C7.35126 3.56927 7.37282 3.73423 7.44337 3.88033L10.4605 6.89748L7.44337 9.91463C7.30212 10.0561 7.22278 10.2478 7.22278 10.4477C7.22278 10.6475 7.30212 10.8393 7.44337 10.9807C7.51301 11.0512 7.59603 11.1071 7.68757 11.1451ZM1.94207 10.9505C2.07037 11.0968 2.25089 11.1871 2.44493 11.2019C2.63898 11.1871 2.81949 11.0968 2.94779 10.9505L6.46779 7.49085C6.60905 7.34942 6.68839 7.15771 6.68839 6.95782C6.68839 6.75793 6.60905 6.56622 6.46779 6.42479L2.94779 2.90479C2.80704 2.83757 2.6489 2.81563 2.49517 2.84201C2.34143 2.86839 2.19965 2.94178 2.08936 3.05207C1.97906 3.16237 1.90567 3.30415 1.8793 3.45788C1.85292 3.61162 1.87485 3.76975 1.94207 3.9105L4.95922 6.92765L1.94207 9.9448C1.81838 10.0831 1.75 10.2621 1.75 10.4477C1.75 10.6332 1.81838 10.8122 1.94207 10.9505Z","fill","currentColor"]],template:function(E,S){1&E&&(i.S2Z(),i.I0R(0,"svg",0),i.wR5(1,"path",1),i.C$Y()),2&E&&(i.m8U(S.getClassNames()),i.e48("aria-label",S.ariaLabel)("aria-hidden",S.ariaHidden)("role",S.role))},encapsulation:2})}return C})(),wi=(()=>{class C extends Nn.m{static \u0275fac=(()=>{let c;return function(S){return(c||(c=i.otF(C)))(S||C)}})();static \u0275cmp=i.In1({type:C,selectors:[["AngleLeftIcon"]],standalone:!0,features:[i.eg9,i.UHJ],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M8.75 11.185C8.65146 11.1854 8.55381 11.1662 8.4628 11.1284C8.37179 11.0906 8.28924 11.0351 8.22 10.965L4.72 7.46496C4.57955 7.32433 4.50066 7.13371 4.50066 6.93496C4.50066 6.73621 4.57955 6.54558 4.72 6.40496L8.22 2.93496C8.36095 2.84357 8.52851 2.80215 8.69582 2.81733C8.86312 2.83252 9.02048 2.90344 9.14268 3.01872C9.26487 3.134 9.34483 3.28696 9.36973 3.4531C9.39463 3.61924 9.36303 3.78892 9.28 3.93496L6.28 6.93496L9.28 9.93496C9.42045 10.0756 9.49934 10.2662 9.49934 10.465C9.49934 10.6637 9.42045 10.8543 9.28 10.995C9.13526 11.1257 8.9448 11.1939 8.75 11.185Z","fill","currentColor"]],template:function(E,S){1&E&&(i.S2Z(),i.I0R(0,"svg",0),i.wR5(1,"path",1),i.C$Y()),2&E&&(i.m8U(S.getClassNames()),i.e48("aria-label",S.ariaLabel)("aria-hidden",S.ariaHidden)("role",S.role))},encapsulation:2})}return C})(),Cr=(()=>{class C extends Nn.m{static \u0275fac=(()=>{let c;return function(S){return(c||(c=i.otF(C)))(S||C)}})();static \u0275cmp=i.In1({type:C,selectors:[["AngleRightIcon"]],standalone:!0,features:[i.eg9,i.UHJ],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M5.25 11.1728C5.14929 11.1694 5.05033 11.1455 4.9592 11.1025C4.86806 11.0595 4.78666 10.9984 4.72 10.9228C4.57955 10.7822 4.50066 10.5916 4.50066 10.3928C4.50066 10.1941 4.57955 10.0035 4.72 9.86283L7.72 6.86283L4.72 3.86283C4.66067 3.71882 4.64765 3.55991 4.68275 3.40816C4.71785 3.25642 4.79932 3.11936 4.91585 3.01602C5.03238 2.91268 5.17819 2.84819 5.33305 2.83149C5.4879 2.81479 5.64411 2.84671 5.78 2.92283L9.28 6.42283C9.42045 6.56346 9.49934 6.75408 9.49934 6.95283C9.49934 7.15158 9.42045 7.34221 9.28 7.48283L5.78 10.9228C5.71333 10.9984 5.63193 11.0595 5.5408 11.1025C5.44966 11.1455 5.35071 11.1694 5.25 11.1728Z","fill","currentColor"]],template:function(E,S){1&E&&(i.S2Z(),i.I0R(0,"svg",0),i.wR5(1,"path",1),i.C$Y()),2&E&&(i.m8U(S.getClassNames()),i.e48("aria-label",S.ariaLabel)("aria-hidden",S.ariaHidden)("role",S.role))},encapsulation:2})}return C})(),er=(()=>{class C extends Nn.m{static \u0275fac=(()=>{let c;return function(S){return(c||(c=i.otF(C)))(S||C)}})();static \u0275cmp=i.In1({type:C,selectors:[["AngleDownIcon"]],standalone:!0,features:[i.eg9,i.UHJ],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M3.58659 4.5007C3.68513 4.50023 3.78277 4.51945 3.87379 4.55723C3.9648 4.59501 4.04735 4.65058 4.11659 4.7207L7.11659 7.7207L10.1166 4.7207C10.2619 4.65055 10.4259 4.62911 10.5843 4.65956C10.7427 4.69002 10.8871 4.77074 10.996 4.88976C11.1049 5.00877 11.1726 5.15973 11.1889 5.32022C11.2052 5.48072 11.1693 5.6422 11.0866 5.7807L7.58659 9.2807C7.44597 9.42115 7.25534 9.50004 7.05659 9.50004C6.85784 9.50004 6.66722 9.42115 6.52659 9.2807L3.02659 5.7807C2.88614 5.64007 2.80725 5.44945 2.80725 5.2507C2.80725 5.05195 2.88614 4.86132 3.02659 4.7207C3.09932 4.64685 3.18675 4.58911 3.28322 4.55121C3.37969 4.51331 3.48305 4.4961 3.58659 4.5007Z","fill","currentColor"]],template:function(E,S){1&E&&(i.S2Z(),i.I0R(0,"svg",0),i.wR5(1,"path",1),i.C$Y()),2&E&&(i.m8U(S.getClassNames()),i.e48("aria-label",S.ariaLabel)("aria-hidden",S.ariaHidden)("role",S.role))},encapsulation:2})}return C})(),$r=(()=>{class C extends Nn.m{static \u0275fac=(()=>{let c;return function(S){return(c||(c=i.otF(C)))(S||C)}})();static \u0275cmp=i.In1({type:C,selectors:[["AngleUpIcon"]],standalone:!0,features:[i.eg9,i.UHJ],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M10.4134 9.49931C10.3148 9.49977 10.2172 9.48055 10.1262 9.44278C10.0352 9.405 9.95263 9.34942 9.88338 9.27931L6.88338 6.27931L3.88338 9.27931C3.73811 9.34946 3.57409 9.3709 3.41567 9.34044C3.25724 9.30999 3.11286 9.22926 3.00395 9.11025C2.89504 8.99124 2.82741 8.84028 2.8111 8.67978C2.79478 8.51928 2.83065 8.35781 2.91338 8.21931L6.41338 4.71931C6.55401 4.57886 6.74463 4.49997 6.94338 4.49997C7.14213 4.49997 7.33276 4.57886 7.47338 4.71931L10.9734 8.21931C11.1138 8.35994 11.1927 8.55056 11.1927 8.74931C11.1927 8.94806 11.1138 9.13868 10.9734 9.27931C10.9007 9.35315 10.8132 9.41089 10.7168 9.44879C10.6203 9.48669 10.5169 9.5039 10.4134 9.49931Z","fill","currentColor"]],template:function(E,S){1&E&&(i.S2Z(),i.I0R(0,"svg",0),i.wR5(1,"path",1),i.C$Y()),2&E&&(i.m8U(S.getClassNames()),i.e48("aria-label",S.ariaLabel)("aria-hidden",S.ariaHidden)("role",S.role))},encapsulation:2})}return C})();var Rr=u(2736);const Bs=["input"];function Ir(C,A){if(1&C){const c=i.KQA();i.I0R(0,"TimesIcon",8),i.qCj("click",function(){i.usT(c);const S=i.GaO(2);return i.CGJ(S.clear())}),i.C$Y()}2&C&&(i.E7m("ngClass","p-inputnumber-clear-icon"),i.e48("data-pc-section","clearIcon"))}function ho(C,A){}function Fo(C,A){1&C&&i.yuY(0,ho,0,0,"ng-template")}function No(C,A){if(1&C){const c=i.KQA();i.I0R(0,"span",9),i.qCj("click",function(){i.usT(c);const S=i.GaO(2);return i.CGJ(S.clear())}),i.yuY(1,Fo,1,0,null,10),i.C$Y()}if(2&C){const c=i.GaO(2);i.e48("data-pc-section","clearIcon"),i.yG2(),i.E7m("ngTemplateOutlet",c.clearIconTemplate)}}function ba(C,A){if(1&C&&(i.SAx(0),i.yuY(1,Ir,1,2,"TimesIcon",6)(2,No,2,2,"span",7),i.k70()),2&C){const c=i.GaO();i.yG2(),i.E7m("ngIf",!c.clearIconTemplate),i.yG2(),i.E7m("ngIf",c.clearIconTemplate)}}function oo(C,A){if(1&C&&i.wR5(0,"span",14),2&C){const c=i.GaO(2);i.E7m("ngClass",c.incrementButtonIcon),i.e48("data-pc-section","incrementbuttonicon")}}function Ws(C,A){1&C&&i.wR5(0,"AngleUpIcon"),2&C&&i.e48("data-pc-section","incrementbuttonicon")}function Bo(C,A){}function aa(C,A){1&C&&i.yuY(0,Bo,0,0,"ng-template")}function qo(C,A){if(1&C&&(i.SAx(0),i.yuY(1,Ws,1,1,"AngleUpIcon",3)(2,aa,1,0,null,10),i.k70()),2&C){const c=i.GaO(2);i.yG2(),i.E7m("ngIf",!c.incrementButtonIconTemplate),i.yG2(),i.E7m("ngTemplateOutlet",c.incrementButtonIconTemplate)}}function Ho(C,A){if(1&C&&i.wR5(0,"span",14),2&C){const c=i.GaO(2);i.E7m("ngClass",c.decrementButtonIcon),i.e48("data-pc-section","decrementbuttonicon")}}function Js(C,A){1&C&&i.wR5(0,"AngleDownIcon"),2&C&&i.e48("data-pc-section","decrementbuttonicon")}function ea(C,A){}function vo(C,A){1&C&&i.yuY(0,ea,0,0,"ng-template")}function x(C,A){if(1&C&&(i.SAx(0),i.yuY(1,Js,1,1,"AngleDownIcon",3)(2,vo,1,0,null,10),i.k70()),2&C){const c=i.GaO(2);i.yG2(),i.E7m("ngIf",!c.decrementButtonIconTemplate),i.yG2(),i.E7m("ngTemplateOutlet",c.decrementButtonIconTemplate)}}const Ve=()=>({"p-inputnumber-button p-inputnumber-button-up":!0}),J=()=>({"p-inputnumber-button p-inputnumber-button-down":!0});function ge(C,A){if(1&C){const c=i.KQA();i.I0R(0,"span",11)(1,"button",12),i.qCj("mousedown",function(S){i.usT(c);const Be=i.GaO();return i.CGJ(Be.onUpButtonMouseDown(S))})("mouseup",function(){i.usT(c);const S=i.GaO();return i.CGJ(S.onUpButtonMouseUp())})("mouseleave",function(){i.usT(c);const S=i.GaO();return i.CGJ(S.onUpButtonMouseLeave())})("keydown",function(S){i.usT(c);const Be=i.GaO();return i.CGJ(Be.onUpButtonKeyDown(S))})("keyup",function(){i.usT(c);const S=i.GaO();return i.CGJ(S.onUpButtonKeyUp())}),i.yuY(2,oo,1,2,"span",13)(3,qo,3,2,"ng-container",3),i.C$Y(),i.I0R(4,"button",12),i.qCj("mousedown",function(S){i.usT(c);const Be=i.GaO();return i.CGJ(Be.onDownButtonMouseDown(S))})("mouseup",function(){i.usT(c);const S=i.GaO();return i.CGJ(S.onDownButtonMouseUp())})("mouseleave",function(){i.usT(c);const S=i.GaO();return i.CGJ(S.onDownButtonMouseLeave())})("keydown",function(S){i.usT(c);const Be=i.GaO();return i.CGJ(Be.onDownButtonKeyDown(S))})("keyup",function(){i.usT(c);const S=i.GaO();return i.CGJ(S.onDownButtonKeyUp())}),i.yuY(5,Ho,1,2,"span",13)(6,x,3,2,"ng-container",3),i.C$Y()()}if(2&C){const c=i.GaO();i.e48("data-pc-section","buttonGroup"),i.yG2(),i.m8U(c.incrementButtonClass),i.E7m("ngClass",i.q4q(17,Ve))("disabled",c.disabled),i.e48("aria-hidden",!0)("data-pc-section","incrementbutton"),i.yG2(),i.E7m("ngIf",c.incrementButtonIcon),i.yG2(),i.E7m("ngIf",!c.incrementButtonIcon),i.yG2(),i.m8U(c.decrementButtonClass),i.E7m("ngClass",i.q4q(18,J))("disabled",c.disabled),i.e48("aria-hidden",!0)("data-pc-section",c.decrementbutton),i.yG2(),i.E7m("ngIf",c.decrementButtonIcon),i.yG2(),i.E7m("ngIf",!c.decrementButtonIcon)}}function Tt(C,A){if(1&C&&i.wR5(0,"span",14),2&C){const c=i.GaO(2);i.E7m("ngClass",c.incrementButtonIcon),i.e48("data-pc-section","incrementbuttonicon")}}function on(C,A){1&C&&i.wR5(0,"AngleUpIcon"),2&C&&i.e48("data-pc-section","incrementbuttonicon")}function yn(C,A){}function ei(C,A){1&C&&i.yuY(0,yn,0,0,"ng-template")}function fr(C,A){if(1&C&&(i.SAx(0),i.yuY(1,on,1,1,"AngleUpIcon",3)(2,ei,1,0,null,10),i.k70()),2&C){const c=i.GaO(2);i.yG2(),i.E7m("ngIf",!c.incrementButtonIconTemplate),i.yG2(),i.E7m("ngTemplateOutlet",c.incrementButtonIconTemplate)}}function _r(C,A){if(1&C){const c=i.KQA();i.I0R(0,"button",12),i.qCj("mousedown",function(S){i.usT(c);const Be=i.GaO();return i.CGJ(Be.onUpButtonMouseDown(S))})("mouseup",function(){i.usT(c);const S=i.GaO();return i.CGJ(S.onUpButtonMouseUp())})("mouseleave",function(){i.usT(c);const S=i.GaO();return i.CGJ(S.onUpButtonMouseLeave())})("keydown",function(S){i.usT(c);const Be=i.GaO();return i.CGJ(Be.onUpButtonKeyDown(S))})("keyup",function(){i.usT(c);const S=i.GaO();return i.CGJ(S.onUpButtonKeyUp())}),i.yuY(1,Tt,1,2,"span",13)(2,fr,3,2,"ng-container",3),i.C$Y()}if(2&C){const c=i.GaO();i.m8U(c.incrementButtonClass),i.E7m("ngClass",i.q4q(8,Ve))("disabled",c.disabled),i.e48("aria-hidden",!0)("data-pc-section","incrementbutton"),i.yG2(),i.E7m("ngIf",c.incrementButtonIcon),i.yG2(),i.E7m("ngIf",!c.incrementButtonIcon)}}function ar(C,A){if(1&C&&i.wR5(0,"span",14),2&C){const c=i.GaO(2);i.E7m("ngClass",c.decrementButtonIcon),i.e48("data-pc-section","decrementbuttonicon")}}function Gi(C,A){1&C&&i.wR5(0,"AngleDownIcon"),2&C&&i.e48("data-pc-section","decrementbuttonicon")}function zr(C,A){}function lr(C,A){1&C&&i.yuY(0,zr,0,0,"ng-template")}function ns(C,A){if(1&C&&(i.SAx(0),i.yuY(1,Gi,1,1,"AngleDownIcon",3)(2,lr,1,0,null,10),i.k70()),2&C){const c=i.GaO(2);i.yG2(),i.E7m("ngIf",!c.decrementButtonIconTemplate),i.yG2(),i.E7m("ngTemplateOutlet",c.decrementButtonIconTemplate)}}function Ri(C,A){if(1&C){const c=i.KQA();i.I0R(0,"button",12),i.qCj("mousedown",function(S){i.usT(c);const Be=i.GaO();return i.CGJ(Be.onDownButtonMouseDown(S))})("mouseup",function(){i.usT(c);const S=i.GaO();return i.CGJ(S.onDownButtonMouseUp())})("mouseleave",function(){i.usT(c);const S=i.GaO();return i.CGJ(S.onDownButtonMouseLeave())})("keydown",function(S){i.usT(c);const Be=i.GaO();return i.CGJ(Be.onDownButtonKeyDown(S))})("keyup",function(){i.usT(c);const S=i.GaO();return i.CGJ(S.onDownButtonKeyUp())}),i.yuY(1,ar,1,2,"span",13)(2,ns,3,2,"ng-container",3),i.C$Y()}if(2&C){const c=i.GaO();i.m8U(c.decrementButtonClass),i.E7m("ngClass",i.q4q(8,J))("disabled",c.disabled),i.e48("aria-hidden",!0)("data-pc-section","decrementbutton"),i.yG2(),i.E7m("ngIf",c.decrementButtonIcon),i.yG2(),i.E7m("ngIf",!c.decrementButtonIcon)}}const On=(C,A,c)=>({"p-inputnumber p-component":!0,"p-inputnumber-buttons-stacked":C,"p-inputnumber-buttons-horizontal":A,"p-inputnumber-buttons-vertical":c}),li={provide:I.Y6,useExisting:(0,i.wd)(()=>cr),multi:!0};let cr=(()=>{class C{document;el;cd;injector;showButtons=!1;format=!0;buttonLayout="stacked";inputId;styleClass;style;placeholder;size;maxlength;tabindex;title;ariaLabelledBy;ariaLabel;ariaRequired;name;required;autocomplete;min;max;incrementButtonClass;decrementButtonClass;incrementButtonIcon;decrementButtonIcon;readonly=!1;step=1;allowEmpty=!0;locale;localeMatcher;mode="decimal";currency;currencyDisplay;useGrouping=!0;minFractionDigits;maxFractionDigits;prefix;suffix;inputStyle;inputStyleClass;showClear=!1;get disabled(){return this._disabled}set disabled(c){c&&(this.focused=!1),this._disabled=c,this.timer&&this.clearTimer()}onInput=new i._w7;onFocus=new i._w7;onBlur=new i._w7;onKeyDown=new i._w7;onClear=new i._w7;input;templates;clearIconTemplate;incrementButtonIconTemplate;decrementButtonIconTemplate;value;onModelChange=()=>{};onModelTouched=()=>{};focused;initialized;groupChar="";prefixChar="";suffixChar="";isSpecialChar;timer;lastValue;_numeral;numberFormat;_decimal;_decimalChar;_group;_minusSign;_currency;_prefix;_suffix;_index;_disabled;ngControl=null;constructor(c,E,S,Be){this.document=c,this.el=E,this.cd=S,this.injector=Be}ngOnChanges(c){["locale","localeMatcher","mode","currency","currencyDisplay","useGrouping","minFractionDigits","maxFractionDigits","prefix","suffix"].some(S=>!!c[S])&&this.updateConstructParser()}ngAfterContentInit(){this.templates.forEach(c=>{switch(c.getType()){case"clearicon":this.clearIconTemplate=c.template;break;case"incrementbuttonicon":this.incrementButtonIconTemplate=c.template;break;case"decrementbuttonicon":this.decrementButtonIconTemplate=c.template}})}ngOnInit(){this.ngControl=this.injector.get(I.eq,null,{optional:!0}),this.constructParser(),this.initialized=!0}getOptions(){return{localeMatcher:this.localeMatcher,style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay,useGrouping:this.useGrouping,minimumFractionDigits:this.minFractionDigits,maximumFractionDigits:this.maxFractionDigits}}constructParser(){this.numberFormat=new Intl.NumberFormat(this.locale,this.getOptions());const c=[...new Intl.NumberFormat(this.locale,{useGrouping:!1}).format(9876543210)].reverse(),E=new Map(c.map((S,Be)=>[S,Be]));this._numeral=new RegExp(`[${c.join("")}]`,"g"),this._group=this.getGroupingExpression(),this._minusSign=this.getMinusSignExpression(),this._currency=this.getCurrencyExpression(),this._decimal=this.getDecimalExpression(),this._decimalChar=this.getDecimalChar(),this._suffix=this.getSuffixExpression(),this._prefix=this.getPrefixExpression(),this._index=S=>E.get(S)}updateConstructParser(){this.initialized&&this.constructParser()}escapeRegExp(c){return c.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}getDecimalExpression(){const c=this.getDecimalChar();return new RegExp(`[${c}]`,"g")}getDecimalChar(){return new Intl.NumberFormat(this.locale,{...this.getOptions(),useGrouping:!1}).format(1.1).replace(this._currency,"").trim().replace(this._numeral,"")}getGroupingExpression(){const c=new Intl.NumberFormat(this.locale,{useGrouping:!0});return this.groupChar=c.format(1e6).trim().replace(this._numeral,"").charAt(0),new RegExp(`[${this.groupChar}]`,"g")}getMinusSignExpression(){const c=new Intl.NumberFormat(this.locale,{useGrouping:!1});return new RegExp(`[${c.format(-1).trim().replace(this._numeral,"")}]`,"g")}getCurrencyExpression(){if(this.currency){const c=new Intl.NumberFormat(this.locale,{style:"currency",currency:this.currency,currencyDisplay:this.currencyDisplay,minimumFractionDigits:0,maximumFractionDigits:0});return new RegExp(`[${c.format(1).replace(/\s/g,"").replace(this._numeral,"").replace(this._group,"")}]`,"g")}return new RegExp("[]","g")}getPrefixExpression(){if(this.prefix)this.prefixChar=this.prefix;else{const c=new Intl.NumberFormat(this.locale,{style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay});this.prefixChar=c.format(1).split("1")[0]}return new RegExp(`${this.escapeRegExp(this.prefixChar||"")}`,"g")}getSuffixExpression(){if(this.suffix)this.suffixChar=this.suffix;else{const c=new Intl.NumberFormat(this.locale,{style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay,minimumFractionDigits:0,maximumFractionDigits:0});this.suffixChar=c.format(1).split("1")[1]}return new RegExp(`${this.escapeRegExp(this.suffixChar||"")}`,"g")}formatValue(c){if(null!=c){if("-"===c)return c;if(this.format){let S=new Intl.NumberFormat(this.locale,this.getOptions()).format(c);return this.prefix&&(S=this.prefix+S),this.suffix&&(S+=this.suffix),S}return c.toString()}return""}parseValue(c){let E=c.replace(this._suffix,"").replace(this._prefix,"").trim().replace(/\s/g,"").replace(this._currency,"").replace(this._group,"").replace(this._minusSign,"-").replace(this._decimal,".").replace(this._numeral,this._index);if(E){if("-"===E)return E;let S=+E;return isNaN(S)?null:S}return null}repeat(c,E,S){if(this.readonly)return;let Be=E||500;this.clearTimer(),this.timer=setTimeout(()=>{this.repeat(c,40,S)},Be),this.spin(c,S)}spin(c,E){let S=this.step*E,Be=this.parseValue(this.input?.nativeElement.value)||0,Dt=this.validateValue(Be+S);this.maxlength&&this.maxlength<this.formatValue(Dt).length||(this.updateInput(Dt,null,"spin",null),this.updateModel(c,Dt),this.handleOnInput(c,Be,Dt))}clear(){this.value=null,this.onModelChange(this.value),this.onClear.emit()}onUpButtonMouseDown(c){2!==c.button?this.disabled||(this.input?.nativeElement.focus(),this.repeat(c,null,1),c.preventDefault()):this.clearTimer()}onUpButtonMouseUp(){this.disabled||this.clearTimer()}onUpButtonMouseLeave(){this.disabled||this.clearTimer()}onUpButtonKeyDown(c){(32===c.keyCode||13===c.keyCode)&&this.repeat(c,null,1)}onUpButtonKeyUp(){this.disabled||this.clearTimer()}onDownButtonMouseDown(c){2!==c.button?this.disabled||(this.input?.nativeElement.focus(),this.repeat(c,null,-1),c.preventDefault()):this.clearTimer()}onDownButtonMouseUp(){this.disabled||this.clearTimer()}onDownButtonMouseLeave(){this.disabled||this.clearTimer()}onDownButtonKeyUp(){this.disabled||this.clearTimer()}onDownButtonKeyDown(c){(32===c.keyCode||13===c.keyCode)&&this.repeat(c,null,-1)}onUserInput(c){this.readonly||(this.isSpecialChar&&(c.target.value=this.lastValue),this.isSpecialChar=!1)}onInputKeyDown(c){if(this.readonly)return;if(this.lastValue=c.target.value,c.shiftKey||c.altKey)return void(this.isSpecialChar=!0);let E=c.target.selectionStart,S=c.target.selectionEnd,Be=c.target.value,Dt=null;switch(c.altKey&&c.preventDefault(),c.code){case"ArrowUp":this.spin(c,1),c.preventDefault();break;case"ArrowDown":this.spin(c,-1),c.preventDefault();break;case"ArrowLeft":for(let sn=E;sn<=Be.length;sn++)if(this.isNumeralChar(Be.charAt(0===sn?0:sn-1))){this.input.nativeElement.setSelectionRange(sn,sn);break}break;case"ArrowRight":for(let sn=S;sn>=0;sn--)if(this.isNumeralChar(Be.charAt(sn))){this.input.nativeElement.setSelectionRange(sn,sn);break}break;case"Tab":case"Enter":Dt=this.validateValue(this.parseValue(this.input.nativeElement.value)),this.input.nativeElement.value=this.formatValue(Dt),this.input.nativeElement.setAttribute("aria-valuenow",Dt),this.updateModel(c,Dt);break;case"Backspace":if(c.preventDefault(),E===S){const sn=Be.charAt(E-1),{decimalCharIndex:Mn,decimalCharIndexWithoutPrefix:Rn}=this.getDecimalCharIndexes(Be);if(this.isNumeralChar(sn)){const Jn=this.getDecimalLength(Be);if(this._group.test(sn))this._group.lastIndex=0,Dt=Be.slice(0,E-2)+Be.slice(E-1);else if(this._decimal.test(sn))this._decimal.lastIndex=0,Jn?this.input?.nativeElement.setSelectionRange(E-1,E-1):Dt=Be.slice(0,E-1)+Be.slice(E);else if(Mn>0&&E>Mn){const Lr=this.isDecimalMode()&&(this.minFractionDigits||0)<Jn?"":"0";Dt=Be.slice(0,E-1)+Lr+Be.slice(E)}else 1===Rn?(Dt=Be.slice(0,E-1)+"0"+Be.slice(E),Dt=this.parseValue(Dt)>0?Dt:""):Dt=Be.slice(0,E-1)+Be.slice(E)}else"currency"===this.mode&&-1!=sn.search(this._currency)&&(Dt=Be.slice(1));this.updateValue(c,Dt,null,"delete-single")}else Dt=this.deleteRange(Be,E,S),this.updateValue(c,Dt,null,"delete-range");break;case"Delete":if(c.preventDefault(),E===S){const sn=Be.charAt(E),{decimalCharIndex:Mn,decimalCharIndexWithoutPrefix:Rn}=this.getDecimalCharIndexes(Be);if(this.isNumeralChar(sn)){const Jn=this.getDecimalLength(Be);if(this._group.test(sn))this._group.lastIndex=0,Dt=Be.slice(0,E)+Be.slice(E+2);else if(this._decimal.test(sn))this._decimal.lastIndex=0,Jn?this.input?.nativeElement.setSelectionRange(E+1,E+1):Dt=Be.slice(0,E)+Be.slice(E+1);else if(Mn>0&&E>Mn){const Lr=this.isDecimalMode()&&(this.minFractionDigits||0)<Jn?"":"0";Dt=Be.slice(0,E)+Lr+Be.slice(E+1)}else 1===Rn?(Dt=Be.slice(0,E)+"0"+Be.slice(E+1),Dt=this.parseValue(Dt)>0?Dt:""):Dt=Be.slice(0,E)+Be.slice(E+1)}this.updateValue(c,Dt,null,"delete-back-single")}else Dt=this.deleteRange(Be,E,S),this.updateValue(c,Dt,null,"delete-range");break;case"Home":this.min&&(this.updateModel(c,this.min),c.preventDefault());break;case"End":this.max&&(this.updateModel(c,this.max),c.preventDefault())}this.onKeyDown.emit(c)}onInputKeyPress(c){if(this.readonly)return;let E=c.which||c.keyCode,S=String.fromCharCode(E),Be=this.isDecimalSign(S);const Dt=this.isMinusSign(S);13!=E&&c.preventDefault(),!Be&&"NumpadDecimal"===c.code&&(Be=!0,S=this._decimalChar,E=S.charCodeAt(0));const sn=this.parseValue(this.input.nativeElement.value+S),Mn=null!=sn?sn.toString():"";this.maxlength&&Mn.length>this.maxlength||(48<=E&&E<=57||Dt||Be)&&this.insert(c,S,{isDecimalSign:Be,isMinusSign:Dt})}onPaste(c){if(!this.disabled&&!this.readonly){c.preventDefault();let E=(c.clipboardData||this.document.defaultView.clipboardData).getData("Text");if(E){this.maxlength&&(E=E.toString().substring(0,this.maxlength));let S=this.parseValue(E);null!=S&&this.insert(c,S.toString())}}}allowMinusSign(){return null==this.min||this.min<0}isMinusSign(c){return!(!this._minusSign.test(c)&&"-"!==c||(this._minusSign.lastIndex=0,0))}isDecimalSign(c){return!!this._decimal.test(c)&&(this._decimal.lastIndex=0,!0)}isDecimalMode(){return"decimal"===this.mode}getDecimalCharIndexes(c){let E=c.search(this._decimal);this._decimal.lastIndex=0;const Be=c.replace(this._prefix,"").trim().replace(/\s/g,"").replace(this._currency,"").search(this._decimal);return this._decimal.lastIndex=0,{decimalCharIndex:E,decimalCharIndexWithoutPrefix:Be}}getCharIndexes(c){const E=c.search(this._decimal);this._decimal.lastIndex=0;const S=c.search(this._minusSign);this._minusSign.lastIndex=0;const Be=c.search(this._suffix);this._suffix.lastIndex=0;const Dt=c.search(this._currency);return this._currency.lastIndex=0,{decimalCharIndex:E,minusCharIndex:S,suffixCharIndex:Be,currencyCharIndex:Dt}}insert(c,E,S={isDecimalSign:!1,isMinusSign:!1}){const Be=E.search(this._minusSign);if(this._minusSign.lastIndex=0,!this.allowMinusSign()&&-1!==Be)return;let Dt=this.input?.nativeElement.selectionStart,sn=this.input?.nativeElement.selectionEnd,Mn=this.input?.nativeElement.value.trim();const{decimalCharIndex:Rn,minusCharIndex:Jn,suffixCharIndex:Lr,currencyCharIndex:ys}=this.getCharIndexes(Mn);let ms;if(S.isMinusSign)0===Dt&&(ms=Mn,(-1===Jn||0!==sn)&&(ms=this.insertText(Mn,E,0,sn)),this.updateValue(c,ms,E,"insert"));else if(S.isDecimalSign)Rn>0&&Dt===Rn?this.updateValue(c,Mn,E,"insert"):(Rn>Dt&&Rn<sn||-1===Rn&&this.maxFractionDigits)&&(ms=this.insertText(Mn,E,Dt,sn),this.updateValue(c,ms,E,"insert"));else{const ws=this.numberFormat.resolvedOptions().maximumFractionDigits,Fs=Dt!==sn?"range-insert":"insert";if(Rn>0&&Dt>Rn){if(Dt+E.length-(Rn+1)<=ws){const go=ys>=Dt?ys-1:Lr>=Dt?Lr:Mn.length;ms=Mn.slice(0,Dt)+E+Mn.slice(Dt+E.length,go)+Mn.slice(go),this.updateValue(c,ms,E,Fs)}}else ms=this.insertText(Mn,E,Dt,sn),this.updateValue(c,ms,E,Fs)}}insertText(c,E,S,Be){if(2===("."===E?E:E.split(".")).length){const sn=c.slice(S,Be).search(this._decimal);return this._decimal.lastIndex=0,sn>0?c.slice(0,S)+this.formatValue(E)+c.slice(Be):c||this.formatValue(E)}return Be-S===c.length?this.formatValue(E):0===S?E+c.slice(Be):Be===c.length?c.slice(0,S)+E:c.slice(0,S)+E+c.slice(Be)}deleteRange(c,E,S){let Be;return Be=S-E===c.length?"":0===E?c.slice(S):S===c.length?c.slice(0,E):c.slice(0,E)+c.slice(S),Be}initCursor(){let c=this.input?.nativeElement.selectionStart,E=this.input?.nativeElement.value,S=E.length,Be=null,Dt=(this.prefixChar||"").length;E=E.replace(this._prefix,""),c-=Dt;let sn=E.charAt(c);if(this.isNumeralChar(sn))return c+Dt;let Mn=c-1;for(;Mn>=0;){if(sn=E.charAt(Mn),this.isNumeralChar(sn)){Be=Mn+Dt;break}Mn--}if(null!==Be)this.input?.nativeElement.setSelectionRange(Be+1,Be+1);else{for(Mn=c;Mn<S;){if(sn=E.charAt(Mn),this.isNumeralChar(sn)){Be=Mn+Dt;break}Mn++}null!==Be&&this.input?.nativeElement.setSelectionRange(Be,Be)}return Be||0}onInputClick(){const c=this.input?.nativeElement.value;!this.readonly&&c!==Ei.k.getSelection()&&this.initCursor()}isNumeralChar(c){return!(1!==c.length||!(this._numeral.test(c)||this._decimal.test(c)||this._group.test(c)||this._minusSign.test(c))||(this.resetRegex(),0))}resetRegex(){this._numeral.lastIndex=0,this._decimal.lastIndex=0,this._group.lastIndex=0,this._minusSign.lastIndex=0}updateValue(c,E,S,Be){let Dt=this.input?.nativeElement.value,sn=null;null!=E&&(sn=this.parseValue(E),sn=sn||this.allowEmpty?sn:0,this.updateInput(sn,S,Be,E),this.handleOnInput(c,Dt,sn))}handleOnInput(c,E,S){this.isValueChanged(E,S)&&(this.input.nativeElement.value=this.formatValue(S),this.input?.nativeElement.setAttribute("aria-valuenow",S),this.updateModel(c,S),this.onInput.emit({originalEvent:c,value:S,formattedValue:E}))}isValueChanged(c,E){return null===E&&null!==c||null!=E&&E!==("string"==typeof c?this.parseValue(c):c)}validateValue(c){return"-"===c||null==c?null:null!=this.min&&c<this.min?this.min:null!=this.max&&c>this.max?this.max:c}updateInput(c,E,S,Be){E=E||"";let Dt=this.input?.nativeElement.value,sn=this.formatValue(c),Mn=Dt.length;if(sn!==Be&&(sn=this.concatValues(sn,Be)),0===Mn){this.input.nativeElement.value=sn,this.input.nativeElement.setSelectionRange(0,0);const Jn=this.initCursor()+E.length;this.input.nativeElement.setSelectionRange(Jn,Jn)}else{let Rn=this.input.nativeElement.selectionStart,Jn=this.input.nativeElement.selectionEnd;if(this.maxlength&&sn.length>this.maxlength&&(sn=sn.slice(0,this.maxlength),Rn=Math.min(Rn,this.maxlength),Jn=Math.min(Jn,this.maxlength)),this.maxlength&&this.maxlength<sn.length)return;this.input.nativeElement.value=sn;let Lr=sn.length;if("range-insert"===S){const ys=this.parseValue((Dt||"").slice(0,Rn)),ws=(null!==ys?ys.toString():"").split("").join(`(${this.groupChar})?`),Fs=new RegExp(ws,"g");Fs.test(sn);const go=E.split("").join(`(${this.groupChar})?`),Oa=new RegExp(go,"g");Oa.test(sn.slice(Fs.lastIndex)),Jn=Fs.lastIndex+Oa.lastIndex,this.input.nativeElement.setSelectionRange(Jn,Jn)}else if(Lr===Mn)"insert"===S||"delete-back-single"===S?this.input.nativeElement.setSelectionRange(Jn+1,Jn+1):"delete-single"===S?this.input.nativeElement.setSelectionRange(Jn-1,Jn-1):("delete-range"===S||"spin"===S)&&this.input.nativeElement.setSelectionRange(Jn,Jn);else if("delete-back-single"===S){let ys=Dt.charAt(Jn-1),ms=Dt.charAt(Jn),ws=Mn-Lr,Fs=this._group.test(ms);Fs&&1===ws?Jn+=1:!Fs&&this.isNumeralChar(ys)&&(Jn+=-1*ws+1),this._group.lastIndex=0,this.input.nativeElement.setSelectionRange(Jn,Jn)}else if("-"===Dt&&"insert"===S){this.input.nativeElement.setSelectionRange(0,0);const ms=this.initCursor()+E.length+1;this.input.nativeElement.setSelectionRange(ms,ms)}else Jn+=Lr-Mn,this.input.nativeElement.setSelectionRange(Jn,Jn)}this.input.nativeElement.setAttribute("aria-valuenow",c)}concatValues(c,E){if(c&&E){let S=E.search(this._decimal);return this._decimal.lastIndex=0,this.suffixChar?-1!==S?c:c.replace(this.suffixChar,"").split(this._decimal)[0]+E.replace(this.suffixChar,"").slice(S)+this.suffixChar:-1!==S?c.split(this._decimal)[0]+E.slice(S):c}return c}getDecimalLength(c){if(c){const E=c.split(this._decimal);if(2===E.length)return E[1].replace(this._suffix,"").trim().replace(/\s/g,"").replace(this._currency,"").length}return 0}onInputFocus(c){this.focused=!0,this.onFocus.emit(c)}onInputBlur(c){this.focused=!1;let E=this.validateValue(this.parseValue(this.input.nativeElement.value)).toString();this.input.nativeElement.value=this.formatValue(E),this.input.nativeElement.setAttribute("aria-valuenow",E),this.updateModel(c,E),this.onBlur.emit(c)}formattedValue(){return this.formatValue(this.value||this.allowEmpty?this.value:0)}updateModel(c,E){const S="blur"===this.ngControl?.control?.updateOn;this.value!==E?(this.value=E,S&&this.focused||this.onModelChange(E)):S&&this.onModelChange(E),this.onModelTouched()}writeValue(c){this.value=c,this.cd.markForCheck()}registerOnChange(c){this.onModelChange=c}registerOnTouched(c){this.onModelTouched=c}setDisabledState(c){this.disabled=c,this.cd.markForCheck()}get filled(){return null!=this.value&&this.value.toString().length>0}clearTimer(){this.timer&&clearInterval(this.timer)}static \u0275fac=function(E){return new(E||C)(i.GI1(y.Ud),i.GI1(i.GMv),i.GI1(i.kD9),i.GI1(i.zZn))};static \u0275cmp=i.In1({type:C,selectors:[["p-inputNumber"]],contentQueries:function(E,S,Be){if(1&E&&i.szK(Be,hr.U3,4),2&E){let Dt;i.wto(Dt=i.Gqi())&&(S.templates=Dt)}},viewQuery:function(E,S){if(1&E&&i.CC$(Bs,5),2&E){let Be;i.wto(Be=i.Gqi())&&(S.input=Be.first)}},hostAttrs:[1,"p-element","p-inputwrapper"],hostVars:6,hostBindings:function(E,S){2&E&&i.eAK("p-inputwrapper-filled",S.filled)("p-inputwrapper-focus",S.focused)("p-inputnumber-clearable",S.showClear&&"vertical"!=S.buttonLayout)},inputs:{showButtons:"showButtons",format:"format",buttonLayout:"buttonLayout",inputId:"inputId",styleClass:"styleClass",style:"style",placeholder:"placeholder",size:"size",maxlength:"maxlength",tabindex:"tabindex",title:"title",ariaLabelledBy:"ariaLabelledBy",ariaLabel:"ariaLabel",ariaRequired:"ariaRequired",name:"name",required:"required",autocomplete:"autocomplete",min:"min",max:"max",incrementButtonClass:"incrementButtonClass",decrementButtonClass:"decrementButtonClass",incrementButtonIcon:"incrementButtonIcon",decrementButtonIcon:"decrementButtonIcon",readonly:"readonly",step:"step",allowEmpty:"allowEmpty",locale:"locale",localeMatcher:"localeMatcher",mode:"mode",currency:"currency",currencyDisplay:"currencyDisplay",useGrouping:"useGrouping",minFractionDigits:"minFractionDigits",maxFractionDigits:"maxFractionDigits",prefix:"prefix",suffix:"suffix",inputStyle:"inputStyle",inputStyleClass:"inputStyleClass",showClear:"showClear",disabled:"disabled"},outputs:{onInput:"onInput",onFocus:"onFocus",onBlur:"onBlur",onKeyDown:"onKeyDown",onClear:"onClear"},features:[i.M5G([li]),i.SYr],decls:7,vars:39,consts:[[3,"ngClass","ngStyle"],["pInputText","","role","spinbutton","inputmode","decimal",3,"ngClass","ngStyle","value","disabled","readonly","input","keydown","keypress","paste","click","focus","blur"],["input",""],[4,"ngIf"],["class","p-inputnumber-button-group",4,"ngIf"],["type","button","pButton","","class","p-button-icon-only","tabindex","-1",3,"ngClass","class","disabled","mousedown","mouseup","mouseleave","keydown","keyup",4,"ngIf"],[3,"ngClass","click",4,"ngIf"],["class","p-inputnumber-clear-icon",3,"click",4,"ngIf"],[3,"ngClass","click"],[1,"p-inputnumber-clear-icon",3,"click"],[4,"ngTemplateOutlet"],[1,"p-inputnumber-button-group"],["type","button","pButton","","tabindex","-1",1,"p-button-icon-only",3,"ngClass","disabled","mousedown","mouseup","mouseleave","keydown","keyup"],[3,"ngClass",4,"ngIf"],[3,"ngClass"]],template:function(E,S){1&E&&(i.I0R(0,"span",0)(1,"input",1,2),i.qCj("input",function(Dt){return S.onUserInput(Dt)})("keydown",function(Dt){return S.onInputKeyDown(Dt)})("keypress",function(Dt){return S.onInputKeyPress(Dt)})("paste",function(Dt){return S.onPaste(Dt)})("click",function(){return S.onInputClick()})("focus",function(Dt){return S.onInputFocus(Dt)})("blur",function(Dt){return S.onInputBlur(Dt)}),i.C$Y(),i.yuY(3,ba,3,2,"ng-container",3)(4,ge,7,19,"span",4)(5,_r,3,9,"button",5)(6,Ri,3,9,"button",5),i.C$Y()),2&E&&(i.m8U(S.styleClass),i.E7m("ngClass",i.uAc(35,On,S.showButtons&&"stacked"===S.buttonLayout,S.showButtons&&"horizontal"===S.buttonLayout,S.showButtons&&"vertical"===S.buttonLayout))("ngStyle",S.style),i.e48("data-pc-name","inputnumber")("data-pc-section","root"),i.yG2(),i.m8U(S.inputStyleClass),i.E7m("ngClass","p-inputnumber-input")("ngStyle",S.inputStyle)("value",S.formattedValue())("disabled",S.disabled)("readonly",S.readonly),i.e48("id",S.inputId)("aria-valuemin",S.min)("aria-valuemax",S.max)("aria-valuenow",S.value)("placeholder",S.placeholder)("aria-label",S.ariaLabel)("aria-labelledby",S.ariaLabelledBy)("title",S.title)("size",S.size)("name",S.name)("autocomplete",S.autocomplete)("maxlength",S.maxlength)("tabindex",S.tabindex)("aria-required",S.ariaRequired)("required",S.required)("min",S.min)("max",S.max)("data-pc-section","input"),i.yG2(2),i.E7m("ngIf","vertical"!=S.buttonLayout&&S.showClear&&S.value),i.yG2(),i.E7m("ngIf",S.showButtons&&"stacked"===S.buttonLayout),i.yG2(),i.E7m("ngIf",S.showButtons&&"stacked"!==S.buttonLayout),i.yG2(),i.E7m("ngIf",S.showButtons&&"stacked"!==S.buttonLayout))},dependencies:()=>[y.QF,y.u_,y.XV,y.Qt,Rr.C,xr.A9,m.O,$r,er],styles:["@layer primeng{p-inputnumber,.p-inputnumber{display:inline-flex}.p-inputnumber-button{display:flex;align-items:center;justify-content:center;flex:0 0 auto}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button .p-button-label,.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button .p-button-label{display:none}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button-up{border-top-left-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:0}.p-inputnumber-buttons-stacked .p-inputnumber-input{border-top-right-radius:0;border-bottom-right-radius:0}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button-down{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;padding:0}.p-inputnumber-buttons-stacked .p-inputnumber-button-group{display:flex;flex-direction:column}.p-inputnumber-buttons-stacked .p-inputnumber-button-group .p-button.p-inputnumber-button{flex:1 1 auto}.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-up{order:3;border-top-left-radius:0;border-bottom-left-radius:0}.p-inputnumber-buttons-horizontal .p-inputnumber-input{order:2;border-radius:0}.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-down{order:1;border-top-right-radius:0;border-bottom-right-radius:0}.p-inputnumber-buttons-vertical{flex-direction:column}.p-inputnumber-buttons-vertical .p-button.p-inputnumber-button-up{order:1;border-bottom-left-radius:0;border-bottom-right-radius:0;width:100%}.p-inputnumber-buttons-vertical .p-inputnumber-input{order:2;border-radius:0;text-align:center}.p-inputnumber-buttons-vertical .p-button.p-inputnumber-button-down{order:3;border-top-left-radius:0;border-top-right-radius:0;width:100%}.p-inputnumber-input{flex:1 1 auto}.p-fluid p-inputnumber,.p-fluid .p-inputnumber{width:100%}.p-fluid .p-inputnumber .p-inputnumber-input{width:1%}.p-fluid .p-inputnumber-buttons-vertical .p-inputnumber-input{width:100%}.p-inputnumber-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.p-inputnumber-clearable{position:relative}}\n"],encapsulation:2,changeDetection:0})}return C})(),Kr=(()=>{class C{static \u0275fac=function(E){return new(E||C)};static \u0275mod=i.a4G({type:C});static \u0275inj=i.s3X({imports:[y.MD,Rr.s,xr.GS,m.O,$r,er,hr.kT]})}return C})(),Ml=(()=>{class C{static \u0275fac=function(E){return new(E||C)};static \u0275mod=i.a4G({type:C});static \u0275inj=i.s3X({imports:[y.MD,ai,Kr,I.y,hr.kT,es.c,Ni,si,wi,Cr,ai,Kr,I.y,hr.kT]})}return C})();var D=u(1556);let U=(()=>{class C extends Nn.m{pathId;ngOnInit(){this.pathId="url(#"+(0,Hi.Oc)()+")"}static \u0275fac=(()=>{let c;return function(S){return(c||(c=i.otF(C)))(S||C)}})();static \u0275cmp=i.In1({type:C,selectors:[["ThLargeIcon"]],standalone:!0,features:[i.eg9,i.UHJ],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M1.90909 6.36364H4.45455C4.96087 6.36364 5.44645 6.1625 5.80448 5.80448C6.1625 5.44645 6.36364 4.96087 6.36364 4.45455V1.90909C6.36364 1.40277 6.1625 0.917184 5.80448 0.55916C5.44645 0.201136 4.96087 0 4.45455 0H1.90909C1.40277 0 0.917184 0.201136 0.55916 0.55916C0.201136 0.917184 0 1.40277 0 1.90909V4.45455C0 4.96087 0.201136 5.44645 0.55916 5.80448C0.917184 6.1625 1.40277 6.36364 1.90909 6.36364ZM1.46154 1.46154C1.58041 1.34268 1.741 1.27492 1.90909 1.27273H4.45455C4.62264 1.27492 4.78322 1.34268 4.90209 1.46154C5.02096 1.58041 5.08871 1.741 5.09091 1.90909V4.45455C5.08871 4.62264 5.02096 4.78322 4.90209 4.90209C4.78322 5.02096 4.62264 5.08871 4.45455 5.09091H1.90909C1.741 5.08871 1.58041 5.02096 1.46154 4.90209C1.34268 4.78322 1.27492 4.62264 1.27273 4.45455V1.90909C1.27492 1.741 1.34268 1.58041 1.46154 1.46154ZM1.90909 14H4.45455C4.96087 14 5.44645 13.7989 5.80448 13.4408C6.1625 13.0828 6.36364 12.5972 6.36364 12.0909V9.54544C6.36364 9.03912 6.1625 8.55354 5.80448 8.19551C5.44645 7.83749 4.96087 7.63635 4.45455 7.63635H1.90909C1.40277 7.63635 0.917184 7.83749 0.55916 8.19551C0.201136 8.55354 0 9.03912 0 9.54544V12.0909C0 12.5972 0.201136 13.0828 0.55916 13.4408C0.917184 13.7989 1.40277 14 1.90909 14ZM1.46154 9.0979C1.58041 8.97903 1.741 8.91128 1.90909 8.90908H4.45455C4.62264 8.91128 4.78322 8.97903 4.90209 9.0979C5.02096 9.21677 5.08871 9.37735 5.09091 9.54544V12.0909C5.08871 12.259 5.02096 12.4196 4.90209 12.5384C4.78322 12.6573 4.62264 12.7251 4.45455 12.7273H1.90909C1.741 12.7251 1.58041 12.6573 1.46154 12.5384C1.34268 12.4196 1.27492 12.259 1.27273 12.0909V9.54544C1.27492 9.37735 1.34268 9.21677 1.46154 9.0979ZM12.0909 6.36364H9.54544C9.03912 6.36364 8.55354 6.1625 8.19551 5.80448C7.83749 5.44645 7.63635 4.96087 7.63635 4.45455V1.90909C7.63635 1.40277 7.83749 0.917184 8.19551 0.55916C8.55354 0.201136 9.03912 0 9.54544 0H12.0909C12.5972 0 13.0828 0.201136 13.4408 0.55916C13.7989 0.917184 14 1.40277 14 1.90909V4.45455C14 4.96087 13.7989 5.44645 13.4408 5.80448C13.0828 6.1625 12.5972 6.36364 12.0909 6.36364ZM9.54544 1.27273C9.37735 1.27492 9.21677 1.34268 9.0979 1.46154C8.97903 1.58041 8.91128 1.741 8.90908 1.90909V4.45455C8.91128 4.62264 8.97903 4.78322 9.0979 4.90209C9.21677 5.02096 9.37735 5.08871 9.54544 5.09091H12.0909C12.259 5.08871 12.4196 5.02096 12.5384 4.90209C12.6573 4.78322 12.7251 4.62264 12.7273 4.45455V1.90909C12.7251 1.741 12.6573 1.58041 12.5384 1.46154C12.4196 1.34268 12.259 1.27492 12.0909 1.27273H9.54544ZM9.54544 14H12.0909C12.5972 14 13.0828 13.7989 13.4408 13.4408C13.7989 13.0828 14 12.5972 14 12.0909V9.54544C14 9.03912 13.7989 8.55354 13.4408 8.19551C13.0828 7.83749 12.5972 7.63635 12.0909 7.63635H9.54544C9.03912 7.63635 8.55354 7.83749 8.19551 8.19551C7.83749 8.55354 7.63635 9.03912 7.63635 9.54544V12.0909C7.63635 12.5972 7.83749 13.0828 8.19551 13.4408C8.55354 13.7989 9.03912 14 9.54544 14ZM9.0979 9.0979C9.21677 8.97903 9.37735 8.91128 9.54544 8.90908H12.0909C12.259 8.91128 12.4196 8.97903 12.5384 9.0979C12.6573 9.21677 12.7251 9.37735 12.7273 9.54544V12.0909C12.7251 12.259 12.6573 12.4196 12.5384 12.5384C12.4196 12.6573 12.259 12.7251 12.0909 12.7273H9.54544C9.37735 12.7251 9.21677 12.6573 9.0979 12.5384C8.97903 12.4196 8.91128 12.259 8.90908 12.0909V9.54544C8.91128 9.37735 8.97903 9.21677 9.0979 9.0979Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(E,S){1&E&&(i.S2Z(),i.I0R(0,"svg",0)(1,"g"),i.wR5(2,"path",1),i.C$Y(),i.I0R(3,"defs")(4,"clipPath",2),i.wR5(5,"rect",3),i.C$Y()()()),2&E&&(i.m8U(S.getClassNames()),i.e48("aria-label",S.ariaLabel)("aria-hidden",S.ariaHidden)("role",S.role),i.yG2(),i.e48("clip-path",S.pathId),i.yG2(3),i.E7m("id",S.pathId))},encapsulation:2})}return C})(),T=(()=>{class C extends Nn.m{static \u0275fac=(()=>{let c;return function(S){return(c||(c=i.otF(C)))(S||C)}})();static \u0275cmp=i.In1({type:C,selectors:[["BarsIcon"]],standalone:!0,features:[i.eg9,i.UHJ],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M13.3226 3.6129H0.677419C0.497757 3.6129 0.325452 3.54152 0.198411 3.41448C0.0713707 3.28744 0 3.11514 0 2.93548C0 2.75581 0.0713707 2.58351 0.198411 2.45647C0.325452 2.32943 0.497757 2.25806 0.677419 2.25806H13.3226C13.5022 2.25806 13.6745 2.32943 13.8016 2.45647C13.9286 2.58351 14 2.75581 14 2.93548C14 3.11514 13.9286 3.28744 13.8016 3.41448C13.6745 3.54152 13.5022 3.6129 13.3226 3.6129ZM13.3226 7.67741H0.677419C0.497757 7.67741 0.325452 7.60604 0.198411 7.479C0.0713707 7.35196 0 7.17965 0 6.99999C0 6.82033 0.0713707 6.64802 0.198411 6.52098C0.325452 6.39394 0.497757 6.32257 0.677419 6.32257H13.3226C13.5022 6.32257 13.6745 6.39394 13.8016 6.52098C13.9286 6.64802 14 6.82033 14 6.99999C14 7.17965 13.9286 7.35196 13.8016 7.479C13.6745 7.60604 13.5022 7.67741 13.3226 7.67741ZM0.677419 11.7419H13.3226C13.5022 11.7419 13.6745 11.6706 13.8016 11.5435C13.9286 11.4165 14 11.2442 14 11.0645C14 10.8848 13.9286 10.7125 13.8016 10.5855C13.6745 10.4585 13.5022 10.3871 13.3226 10.3871H0.677419C0.497757 10.3871 0.325452 10.4585 0.198411 10.5855C0.0713707 10.7125 0 10.8848 0 11.0645C0 11.2442 0.0713707 11.4165 0.198411 11.5435C0.325452 11.6706 0.497757 11.7419 0.677419 11.7419Z","fill","currentColor"]],template:function(E,S){1&E&&(i.S2Z(),i.I0R(0,"svg",0),i.wR5(1,"path",1),i.C$Y()),2&E&&(i.m8U(S.getClassNames()),i.e48("aria-label",S.ariaLabel)("aria-hidden",S.ariaHidden)("role",S.role))},encapsulation:2})}return C})(),La=(()=>{class C{static \u0275fac=function(E){return new(E||C)};static \u0275mod=i.a4G({type:C});static \u0275inj=i.s3X({imports:[y.MD,hr.kT,Ml,D.i,T,U,hr.kT]})}return C})();var Fa=u(3856),Ys=u(4248);const Vu={provide:i.kZF,useFactory:C=>()=>C.loadFeatures(),multi:!0,deps:[Ys.Y]};var ca=u(251),ua=u(6464),eo=u(9064),Uu=u(224),na=u(5262);function Wu(C,A){if(1&C&&(i.I0R(0,"div"),i.wR5(1,"img",8),i.C$Y()),2&C){const c=i.GaO(2);i.yG2(),i.E7m("src",c.customizationSettings.logo,i.K6U)}}function bo(C,A){if(1&C&&(i.I0R(0,"div",9),i.OEk(1),i.C$Y()),2&C){const c=i.GaO(2);i.yG2(),i.oRS(" ",c.customizationSettings.applicationName," ")}}function wc(C,A){1&C&&(i.I0R(0,"div",9),i.OEk(1," OMBI "),i.C$Y())}function Sl(C,A){if(1&C&&(i.I0R(0,"div")(1,"h3"),i.wR5(2,"i",10),i.OEk(3,"\xa0"),i.I0R(4,"b"),i.OEk(5,"Notice"),i.C$Y()(),i.wR5(6,"span",11),i.C$Y()),2&C){const c=i.GaO(2);i.yG2(6),i.E7m("innerHtml",c.landingPageSettings.noticeText,i.E3n)}}function Dc(C,A){1&C&&(i.I0R(0,"div"),i.wR5(1,"i",12),i.C$Y())}function Na(C,A){1&C&&(i.I0R(0,"div")(1,"h3",15),i.wR5(2,"i",16),i.OEk(3),i.wVc(4,"translate"),i.C$Y(),i.wR5(5,"span",17)(6,"p",17),i.C$Y()),2&C&&(i.yG2(3),i.oRS(" ",i.kDX(4,3,"LandingPage.OnlineHeading"),""),i.yG2(2),i.E7m("translate","LandingPage.OnlineParagraph"),i.yG2(),i.E7m("translate","LandingPage.CheckPageForUpdates"))}const tl=(C,A)=>({serversUnavailable:C,totalServers:A});function da(C,A){if(1&C&&i.wR5(0,"p",21),2&C){const c=i.GaO(4);i.E7m("translate","LandingPage.MultipleServersUnavailable")("translateParams",i.IBC(2,tl,c.mediaServerStatus.serversUnavailable,c.mediaServerStatus.totalServers))}}function nl(C,A){if(1&C&&(i.I0R(0,"p",21),i.OEk(1),i.C$Y()),2&C){const c=i.GaO(4);i.E7m("translate","LandingPage.SingleServerUnavailable")("translateParams",i.IBC(4,tl,c.mediaServerStatus.serversUnavailable,c.mediaServerStatus.totalServers)),i.yG2(),i.CAO("There is ",c.mediaServerStatus.serversUnavailable," server offline out of ",c.mediaServerStatus.totalServers,".")}}function Ba(C,A){if(1&C&&(i.I0R(0,"div")(1,"h3",18),i.wR5(2,"i",19),i.OEk(3),i.wVc(4,"translate"),i.C$Y(),i.wR5(5,"span",17),i.yuY(6,da,1,5,"p",20)(7,nl,2,7,"p",20),i.wR5(8,"p",17),i.C$Y()),2&C){const c=i.GaO(3);i.yG2(3),i.oRS(" ",i.kDX(4,5,"LandingPage.PartiallyOnlineHeading"),""),i.yG2(2),i.E7m("translate","LandingPage.PartiallyOnlineParagraph"),i.yG2(),i.E7m("ngIf",c.mediaServerStatus.serversUnavailable>1),i.yG2(),i.E7m("ngIf",1==c.mediaServerStatus.serversUnavailable),i.yG2(),i.E7m("translate","LandingPage.CheckPageForUpdates")}}function ha(C,A){1&C&&(i.I0R(0,"div")(1,"h3",22),i.wR5(2,"i",23),i.OEk(3),i.wVc(4,"translate"),i.C$Y(),i.wR5(5,"span",17)(6,"p",17),i.C$Y()),2&C&&(i.yG2(3),i.oRS(" ",i.kDX(4,3,"LandingPage.OfflineHeading"),""),i.yG2(2),i.E7m("translate","LandingPage.OfflineParagraph"),i.yG2(),i.E7m("translate","LandingPage.CheckPageForUpdates"))}const Li=()=>["/login","true"];function Mc(C,A){if(1&C&&(i.I0R(0,"div"),i.yuY(1,Na,7,5,"div",5)(2,Ba,9,7,"div",5)(3,ha,7,5,"div",5),i.I0R(4,"div",13)(5,"button",14),i.OEk(6),i.wVc(7,"translate"),i.C$Y()()()),2&C){const c=i.GaO(2);i.yG2(),i.E7m("ngIf",c.mediaServerStatus.fullyAvailable),i.yG2(),i.E7m("ngIf",c.mediaServerStatus.partiallyDown),i.yG2(),i.E7m("ngIf",c.mediaServerStatus.completelyDown),i.yG2(2),i.E7m("routerLink",i.q4q(7,Li)),i.yG2(),i.cNF(i.kDX(7,5,"Common.ContinueButton"))}}function Ic(C,A){if(1&C&&(i.I0R(0,"div",1),i.wR5(1,"ombi-image-background"),i.I0R(2,"div",2)(3,"div",3)(4,"div",4),i.yuY(5,Wu,2,1,"div",5)(6,bo,2,1,"div",6)(7,wc,2,0,"div",6),i.C$Y(),i.I0R(8,"div",7),i.yuY(9,Sl,7,1,"div",5),i.wR5(10,"br"),i.yuY(11,Dc,2,0,"div",5)(12,Mc,8,8,"div",5),i.C$Y()()()()),2&C){const c=i.GaO();i.yG2(5),i.E7m("ngIf",c.customizationSettings.logo),i.yG2(),i.E7m("ngIf",!c.customizationSettings.logo&&c.customizationSettings.applicationName),i.yG2(),i.E7m("ngIf",!c.customizationSettings.logo&&!c.customizationSettings.applicationName),i.yG2(2),i.E7m("ngIf",c.landingPageSettings.noticeEnabled),i.yG2(2),i.E7m("ngIf",!c.mediaServerStatus),i.yG2(),i.E7m("ngIf",c.mediaServerStatus)}}let ju=(()=>{class C{constructor(c,E,S,Be){this.settingsService=c,this.landingPageService=E,this.customizationFacade=S,this.href=Be}ngOnInit(){this.customizationFacade.settings$().subscribe(E=>this.customizationSettings=E),this.settingsService.getLandingPage().subscribe(E=>this.landingPageSettings=E);const c=this.href;c.length>1&&(this.baseUrl=c),this.landingPageService.getServerStatus().subscribe(E=>{this.mediaServerStatus=E})}static#e=this.\u0275fac=function(E){return new(E||C)(i.GI1(_.Y7),i.GI1(_.ai),i.GI1(Vt.CG),i.GI1(y.wH))};static#t=this.\u0275cmp=i.In1({type:C,selectors:[["ng-component"]],decls:1,vars:1,consts:[["style","overflow: auto !important;",4,"ngIf"],[2,"overflow","auto !important"],[1,"small-middle-container"],[1,"row"],[1,"col-md-push-3","col-md-6","logo-container"],[4,"ngIf"],["class","logo",4,"ngIf"],[1,"col-md-4","col-md-push-3","vcenter"],[1,"logo-img",3,"src"],[1,"logo"],[1,"far","fa-bell"],[3,"innerHtml"],[1,"fas","fa-spinner","fa-spin","fa-3x","fa-fw"],[1,"button-continue"],["id","continue","mat-raised-button","","color","accent","type","submit","data-cy","continue",3,"routerLink"],[1,"online"],[1,"fas","fa-check-circle"],[3,"translate"],[1,"partial"],[1,"fas","fa-exclamation-triangle"],[3,"translate","translateParams",4,"ngIf"],[3,"translate","translateParams"],[1,"offline"],[1,"fas","fa-times"]],template:function(E,S){1&E&&i.yuY(0,Ic,13,6,"div",0),2&E&&i.E7m("ngIf",S.landingPageSettings&&S.customizationSettings)},dependencies:[K.ER,y.u_,bt.Gw,ie.eM,na.a,ie.sD],styles:[".small-middle-container[_ngcontent-%COMP%]{height:100vh;overflow:auto}.row[_ngcontent-%COMP%]{overflow:auto;display:flex;align-items:center;justify-content:center;height:100vh}@media only screen and (max-width: 992px){div.centered[_ngcontent-%COMP%]{max-height:100%;overflow-y:auto;width:100%;padding:50% 12.5%}}div.centered[_ngcontent-%COMP%]{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.online[_ngcontent-%COMP%]{color:#90ee90}.partial[_ngcontent-%COMP%]{color:#ffd800}.offline[_ngcontent-%COMP%]{color:#f44336}p[_ngcontent-%COMP%]{font-size:14px!important}span[_ngcontent-%COMP%], b[_ngcontent-%COMP%], i[_ngcontent-%COMP%], p[_ngcontent-%COMP%]{color:#fff!important}  body{background-color:#303030!important}.logo[_ngcontent-%COMP%]{font:700 6em Montserrat,sans-serif;text-align:center;text-transform:uppercase;color:#62d2fa;padding:40px 20px;white-space:normal}@media (max-width: 1000px){.logo[_ngcontent-%COMP%]{font:700 5em Montserrat,sans-serif}}@media (max-width: 800px){.logo[_ngcontent-%COMP%]{font:700 4em Montserrat,sans-serif}}@media (max-width: 767px){.vcenter[_ngcontent-%COMP%]{text-align:center}}.logo-img[_ngcontent-%COMP%]{max-width:420px;max-height:420px}.logo-container[_ngcontent-%COMP%]{display:flex;justify-content:center}"]})}return C})();var Co=u(704),Sc=u(5024);function il(C,A){1&C&&(i.I0R(0,"H1",8),i.OEk(1,"OMBI"),i.C$Y())}const Ea=(C,A)=>({bigText:C,hugeText:A});function Tl(C,A){if(1&C&&(i.I0R(0,"H1",9),i.OEk(1),i.C$Y()),2&C){const c=i.GaO(2);i.E7m("ngClass",i.IBC(2,Ea,c.customizationSettings.applicationName.length>=7&&c.customizationSettings.applicationName.length<14,c.customizationSettings.applicationName.length>=14)),i.yG2(),i.cNF(c.customizationSettings.applicationName)}}function Hu(C,A){if(1&C&&i.wR5(0,"img",10),2&C){const c=i.GaO(2);i.E7m("src",c.customizationSettings.logo,i.K6U)}}function Ol(C,A){1&C&&(i.I0R(0,"mat-error",22),i.OEk(1),i.wVc(2,"translate"),i.I0R(3,"strong"),i.OEk(4,"required"),i.C$Y()()),2&C&&(i.yG2(),i.oRS(" ",i.kDX(2,1,"Login.UsernamePlaceholder")," is "))}function $u(C,A){1&C&&(i.I0R(0,"mat-form-field",23)(1,"mat-label"),i.OEk(2),i.wVc(3,"translate"),i.C$Y(),i.wR5(4,"input",24),i.C$Y()),2&C&&(i.yG2(2),i.cNF(i.kDX(3,1,"Login.PasswordPlaceholder")))}const Pl=()=>["/reset"];function gn(C,A){if(1&C){const c=i.KQA();i.I0R(0,"form",13),i.qCj("ngSubmit",function(){i.usT(c);const S=i.GaO(3);return i.CGJ(S.onSubmit(S.form))}),i.I0R(1,"mat-form-field",14)(2,"mat-label"),i.OEk(3),i.wVc(4,"translate"),i.C$Y(),i.wR5(5,"input",15),i.yuY(6,Ol,5,3,"mat-error",16),i.C$Y(),i.yuY(7,$u,5,3,"mat-form-field",17),i.I0R(8,"mat-checkbox",18),i.OEk(9),i.wVc(10,"translate"),i.C$Y(),i.I0R(11,"button",19),i.OEk(12),i.wVc(13,"translate"),i.C$Y(),i.I0R(14,"a",20),i.wR5(15,"b",21),i.C$Y()()}if(2&C){const c=i.GaO(3);i.E7m("formGroup",c.form),i.yG2(3),i.cNF(i.kDX(4,8,"Login.UsernamePlaceholder")),i.yG2(3),i.E7m("ngIf",c.form.get("username").hasError("required")),i.yG2(),i.E7m("ngIf",!c.authenticationSettings.allowNoPassword),i.yG2(2),i.cNF(i.kDX(10,10,"Login.RememberMe")),i.yG2(3),i.cNF(i.kDX(13,12,"Login.SignInButton")),i.yG2(2),i.E7m("routerLink",i.q4q(14,Pl)),i.yG2(),i.E7m("translate","Login.ForgottenPassword")}}function rr(C,A){if(1&C&&(i.I0R(0,"mat-card-content",11),i.yuY(1,gn,16,15,"form",12),i.C$Y()),2&C){const c=i.GaO(2);i.yG2(),i.E7m("ngIf",c.authenticationSettings)}}function Tc(C,A){1&C&&(i.I0R(0,"span"),i.OEk(1),i.wVc(2,"translate"),i.C$Y()),2&C&&(i.yG2(),i.cNF(i.kDX(2,1,"Login.SignInWithPlex")))}function rl(C,A){1&C&&(i.I0R(0,"span"),i.wR5(1,"i",28),i.C$Y())}function Wr(C,A){if(1&C){const c=i.KQA();i.I0R(0,"mat-card-content",25)(1,"div")(2,"button",26),i.qCj("click",function(){i.usT(c);const S=i.GaO(2);return i.CGJ(S.loginWithOmbi=!0)}),i.OEk(3),i.wVc(4,"translate"),i.C$Y(),i.I0R(5,"button",27),i.qCj("click",function(){i.usT(c);const S=i.GaO(2);return i.CGJ(S.oauth())}),i.yuY(6,Tc,3,3,"span",1)(7,rl,2,0,"span",1),i.C$Y()()()}if(2&C){const c=i.GaO(2);i.yG2(3),i.cNF(i.g7$(4,3,"Login.SignInWith",c.appNameTranslate)),i.yG2(3),i.E7m("ngIf",!c.oauthLoading),i.yG2(),i.E7m("ngIf",c.oauthLoading)}}function sl(C,A){if(1&C&&(i.I0R(0,"div")(1,"mat-card",2),i.yuY(2,il,2,0,"H1",3)(3,Tl,2,5,"H1",4)(4,Hu,1,1,"img",5)(5,rr,2,1,"mat-card-content",6)(6,Wr,8,6,"mat-card-content",7),i.C$Y()()),2&C){const c=i.GaO();i.yG2(2),i.E7m("ngIf",!c.customizationSettings.logo&&!c.customizationSettings.applicationName),i.yG2(),i.E7m("ngIf",c.customizationSettings.applicationName&&!c.customizationSettings.logo),i.yG2(),i.E7m("ngIf",c.customizationSettings.logo),i.yG2(),i.E7m("ngIf",!c.authenticationSettings.enableOAuth||c.loginWithOmbi),i.yG2(),i.E7m("ngIf",c.authenticationSettings.enableOAuth&&!c.loginWithOmbi)}}let wa=(()=>{class C{get appName(){return this.customizationSettings.applicationName?this.customizationSettings.applicationName:"Ombi"}get appNameTranslate(){return{appName:this.appName}}constructor(c,E,S,Be,Dt,sn,Mn,Rn,Jn,Lr,ys,ms,ws,Fs){this.authService=c,this.router=E,this.status=S,this.fb=Be,this.settingsService=Dt,this.customziationFacade=sn,this.route=Mn,this.translate=Jn,this.plexTv=Lr,this.store=ys,this.sonarrFacade=ms,this.radarrFacade=ws,this.notify=Fs,this.href=Rn,this.route.params.subscribe(go=>{this.landingFlag=go.landing,this.landingFlag||this.settingsService.getLandingPage().subscribe(Oa=>{Oa.enabled&&!this.landingFlag&&this.router.navigate(["landingpage"])})}),this.form=this.fb.group({username:["",I.AQ.required],password:[""],rememberMe:[!1]}),this.status.getWizardStatus().subscribe(go=>{go.result||this.router.navigate(["Wizard"])}),c.loggedIn()&&(this.loadStores(),this.router.navigate(["/"]))}ngOnInit(){this.customziationFacade.settings$().subscribe(E=>this.customizationSettings=E),this.settingsService.getAuthentication().subscribe(E=>{this.authenticationSettings=E,this.headerAuth()}),this.settingsService.getClientId().subscribe(E=>this.clientId=E);const c=this.href;c.length>1&&(this.baseUrl=c),this.translate.get("Login.Errors.IncorrectCredentials").subscribe(E=>this.errorBody=E),this.translate.get("Common.Errors.Validation").subscribe(E=>this.errorValidation=E)}onSubmit(c){if(c.invalid)return void this.notify.open(this.errorValidation,"OK",{duration:3e5});const E=c.value,S={password:E.password,username:E.username,rememberMe:E.rememberMe,usePlexOAuth:!1,plexTvPin:{id:0,code:""}};this.authService.requiresPassword(S).subscribe(Be=>{Be&&this.authenticationSettings.allowNoPassword?this.authenticationSettings.allowNoPassword=!1:this.authService.login(S).subscribe(Dt=>{this.store.save("id_token",Dt.access_token),this.authService.loggedIn()?(this.ngOnDestroy(),this.loadStores(),this.router.navigate(["/"])):this.notify.open(this.errorBody,"OK",{duration:3e3})},Dt=>{this.notify.open(this.errorBody,"OK",{duration:3e6})})})}oauth(){this.oAuthWindow&&this.oAuthWindow.close(),this.oAuthWindow=window.open(window.location.toString(),"_blank","toolbar=0,\n        location=0,\n        status=0,\n        menubar=0,\n        scrollbars=1,\n        resizable=1,\n        width=500,\n        height=500"),this.plexTv.GetPin(this.clientId,this.appName).subscribe(c=>{this.authService.login({usePlexOAuth:!0,password:"",rememberMe:!0,username:"",plexTvPin:c}).subscribe(E=>{this.oAuthWindow.location.replace(E.url),this.pinTimer&&clearInterval(this.pinTimer),this.pinTimer=setInterval(()=>{this.oauthLoading=!0,this.getPinResult(E.pinId)},1e3)})})}getPinResult(c){this.oAuthWindow.closed&&this.pinTimer&&clearInterval(this.pinTimer),this.authService.oAuth(c).subscribe(E=>{if(E.access_token&&(clearInterval(this.pinTimer),this.store.save("id_token",E.access_token),this.authService.loggedIn()))return this.ngOnDestroy(),this.oAuthWindow&&this.oAuthWindow.close(),this.oauthLoading=!1,this.loadStores(),void this.router.navigate([""]);this.oauthLoading=!1},E=>{console.log(E),this.notify.open("You are not authenticated with Ombi","OK",{duration:3e3}),this.router.navigate(["login"])})}headerAuth(){this.authenticationSettings.enableHeaderAuth&&this.authService.headerAuth().subscribe({next:c=>{this.store.save("id_token",c.access_token),this.authService.loggedIn()?(this.ngOnDestroy(),this.loadStores(),this.router.navigate(["/"])):this.notify.open(this.errorBody,"OK",{duration:3e3})},error:c=>{this.notify.open(this.errorBody,"OK",{duration:3e6}),console.error(c)}})}ngOnDestroy(){clearInterval(this.pinTimer)}loadStores(){this.sonarrFacade.load().subscribe(),this.radarrFacade.load().subscribe()}static#e=this.\u0275fac=function(E){return new(E||C)(i.GI1(oe.o),i.GI1(K.E5),i.GI1(_.gF),i.GI1(I.KE),i.GI1(_.Y7),i.GI1(Vt.CG),i.GI1(K.gV),i.GI1(y.wH),i.GI1(ie.qS),i.GI1(_.Ux),i.GI1(In.y),i.GI1(ua.CW),i.GI1(eo.aY),i.GI1(De.yS))};static#t=this.\u0275cmp=i.In1({type:C,selectors:[["ng-component"]],decls:3,vars:1,consts:[[1,"small-middle-container"],[4,"ngIf"],[1,"mat-elevation-z8","top-margin","login-card"],["class","login_logo",4,"ngIf"],["class","login_logo custom",3,"ngClass",4,"ngIf"],["mat-card-image","","class","logo-img",3,"src",4,"ngIf"],["id","login-box",4,"ngIf"],["class","login-buttons",4,"ngIf"],[1,"login_logo"],[1,"login_logo","custom",3,"ngClass"],["mat-card-image","",1,"logo-img",3,"src"],["id","login-box"],["class","form-signin","novalidate","",3,"formGroup","ngSubmit",4,"ngIf"],["novalidate","",1,"form-signin",3,"formGroup","ngSubmit"],["appearance","outline",1,"dark","full-width"],["id","username-field","type","text","matInput","","formControlName","username"],["id","username-error",4,"ngIf"],["class","full-width","appearance","outline",4,"ngIf"],["formControlName","rememberMe"],["id","sign-in","mat-raised-button","","color","accent","data-cy","OmbiButton","type","submit"],[1,"forgot-password","col-md-12",3,"routerLink"],[3,"translate"],["id","username-error"],["appearance","outline",1,"full-width"],["id","password-field","color","black","type","password","matInput","","formControlName","password"],[1,"login-buttons"],["id","sign-in","mat-raised-button","","color","primary","type","submit","data-cy","OmbiButton",3,"click"],["id","sign-plex","mat-raised-button","","color","accent","type","button","data-cy","oAuthPlexButton",3,"click"],[1,"fas","fa-circle-notch","fa-spin","fa-fw"]],template:function(E,S){1&E&&(i.wR5(0,"ombi-image-background"),i.I0R(1,"div",0),i.yuY(2,sl,7,5,"div",1),i.C$Y()),2&E&&(i.yG2(2),i.E7m("ngIf",S.form&&S.customizationSettings&&S.authenticationSettings))},dependencies:[K.ER,y.QF,y.u_,I.sz,I.ot,I.ue,I.u,bt.Gw,Co.SM,Co.WK,Co.MN,at.wJ,at.Up,at.w5,Oe.yi,I.uW,I.Wo,Sc.WK,ie.eM,na.a,ie.sD],styles:["body[_ngcontent-%COMP%], html[_ngcontent-%COMP%]{height:100%!important;background-repeat:no-repeat!important}img.center[_ngcontent-%COMP%]{display:block;margin:0 auto;max-width:100%}.card-container.card[_ngcontent-%COMP%]{max-width:500px;padding:45px;background-color:#000000b3;border-radius:5%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:100%}.white-checkbox[_ngcontent-%COMP%]{color:#fff}.btn[_ngcontent-%COMP%]{font-weight:700;height:36px;-webkit-user-select:none;user-select:none;cursor:default}.profile-img-custom[_ngcontent-%COMP%]{width:100%;margin:0 auto 10px;display:block;border-radius:50%}.profile-img-card[_ngcontent-%COMP%]{width:100%;margin:0 auto 10px;display:block}.reauth-email[_ngcontent-%COMP%]{display:block;color:#fff;line-height:2;margin-bottom:10px;font-size:14px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box}.form-signin[_ngcontent-%COMP%]   #inputEmail[_ngcontent-%COMP%], .form-signin[_ngcontent-%COMP%]   #inputPassword[_ngcontent-%COMP%]{direction:ltr;height:44px;font-size:16px}.form-signin[_ngcontent-%COMP%]   input[type=email][_ngcontent-%COMP%], .form-signin[_ngcontent-%COMP%]   input[type=password][_ngcontent-%COMP%], .form-signin[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%], .form-signin[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%;display:block;margin-bottom:10px;z-index:1;position:relative;box-sizing:border-box}.btn.btn-signin[_ngcontent-%COMP%]{background-color:#6891a2;padding:0;font-weight:700;font-size:14px;height:36px;border-radius:3px;border:none;transition:all .218s}.btn.btn-signin[_ngcontent-%COMP%]:hover, .btn.btn-signin[_ngcontent-%COMP%]:active, .btn.btn-signin[_ngcontent-%COMP%]:focus{background-color:#0c6121}.forgot-password[_ngcontent-%COMP%]{color:#6891a2;text-align:center}.forgot-password[_ngcontent-%COMP%]:hover, .forgot-password[_ngcontent-%COMP%]:active, .forgot-password[_ngcontent-%COMP%]:focus{color:#0c6121}.full-width[_ngcontent-%COMP%]{width:100%}@media (max-width: 570px){.small-middle-container[_ngcontent-%COMP%]{margin:auto;overflow:auto;width:auto}}@media (min-width: 571px){.small-middle-container[_ngcontent-%COMP%]{margin:auto;overflow:auto}}.login-buttons[_ngcontent-%COMP%]{text-align:center}  button#sign-in{color:#1b242f}  .login-card .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#62d2fa}  .login-card .mat-form-field.mat-focused .mat-form-field-label{color:#62d2fa}  .login-card .mat-input-element{caret-color:#62d2fa}.small-middle-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;height:100vh}.login-card.mat-card[_ngcontent-%COMP%]{background-color:#0009;padding:60px 40px}.login-card[_ngcontent-%COMP%]   H1.login_logo[_ngcontent-%COMP%]{display:flex;font-family:Montserrat,sans-serif;text-transform:uppercase;color:#62d2fa;align-items:center;justify-content:center;font-weight:700;font-size:10em;width:100%;margin-bottom:70px}.login-card[_ngcontent-%COMP%]   H1.login_logo.hugeText[_ngcontent-%COMP%]{font-size:3vw}.logo-img[_ngcontent-%COMP%]{max-width:420px;max-height:420px}@media (max-width: 700px){.login-card[_ngcontent-%COMP%]   H1.login_logo[_ngcontent-%COMP%]{font-size:20vw}.login-card[_ngcontent-%COMP%]   H1.login_logo.hugeText[_ngcontent-%COMP%]{font-size:7vw}}"]})}return C})();const Eo=()=>["/login"];function xl(C,A){if(1&C&&(i.I0R(0,"div")(1,"label"),i.OEk(2),i.C$Y(),i.I0R(3,"a",3),i.OEk(4," Back "),i.C$Y()()),2&C){const c=i.GaO();i.yG2(2),i.cNF(c.error),i.yG2(),i.E7m("routerLink",i.q4q(2,Eo))}}let Ga=(()=>{class C{constructor(c,E,S,Be,Dt){this.authService=c,this.router=E,this.route=S,this.notify=Be,this.store=Dt,this.route.params.subscribe(sn=>{this.pin=sn.pin})}ngOnInit(){this.auth()}auth(){this.authService.oAuth(this.pin).subscribe(c=>{c.access_token&&(this.store.save("id_token",c.access_token),this.authService.loggedIn())?this.router.navigate(["search"]):c.errorMessage&&(this.error=c.errorMessage)},c=>{this.notify.error(c.statusText),this.router.navigate(["login"])})}static#e=this.\u0275fac=function(E){return new(E||C)(i.GI1(oe.o),i.GI1(K.E5),i.GI1(K.gV),i.GI1(_.gn),i.GI1(In.y))};static#t=this.\u0275cmp=i.In1({type:C,selectors:[["ng-component"]],decls:6,vars:1,consts:[["id","login",1,"container"],[1,"card","card-container"],[4,"ngIf"],[3,"routerLink"]],template:function(E,S){1&E&&(i.I0R(0,"div")(1,"div",0)(2,"div",1)(3,"label"),i.OEk(4,"Please Wait..."),i.C$Y(),i.yuY(5,xl,5,3,"div",2),i.C$Y()()()),2&E&&(i.yG2(5),i.E7m("ngIf",S.error))},dependencies:[K.ER,y.u_],encapsulation:2})}return C})();var Oc=u(204);class Pc{constructor(A){this.translate=A}getPaginatorIntl(){const A=new Oc.CQ;return A.itemsPerPageLabel=this.translate.instant("Paginator.itemsPerPageLabel"),A.nextPageLabel=this.translate.instant("Paginator.nextPageLabel"),A.previousPageLabel=this.translate.instant("Paginator.previousPageLabel"),A.firstPageLabel=this.translate.instant("Paginator.firstPageLabel"),A.lastPageLabel=this.translate.instant("Paginator.lastPageLabel"),A.getRangeLabel=this.getRangeLabel.bind(this),A}getRangeLabel(A,c,E){if(0==E||0==c)return this.translate.instant("Paginator.rangePageLabel1",{length:E});const S=A*c,Be=S<(E=Math.max(E,0))?Math.min(S+c,E):S+c;return this.translate.instant("Paginator.rangePageLabel2",{startIndex:S+1,endIndex:Be,length:E})}}var xc=u(6824),Xs=u(6440),Xo=u(6352),Da=u(1036),wo=u(9144);u(9212);new i.UbH("NGXS_DEVTOOLS_OPTIONS");new i.UbH("USER_OPTIONS");var Va=u(5192);let Rl=(()=>{class C{static#e=this.\u0275fac=function(E){return new(E||C)};static#t=this.\u0275cmp=i.In1({type:C,selectors:[["ng-component"]],decls:3,vars:3,template:function(E,S){1&E&&(i.I0R(0,"h2"),i.OEk(1),i.wVc(2,"translate"),i.C$Y()),2&E&&(i.yG2(),i.cNF(i.kDX(2,1,"ErrorPages.NotFound")))},dependencies:[ie.sD],encapsulation:2})}return C})();function Ma(C,A){1&C&&(i.I0R(0,"H1",12),i.OEk(1,"OMBI"),i.C$Y())}const Ku=(C,A)=>({bigText:C,hugeText:A});function ll(C,A){if(1&C&&(i.I0R(0,"H1",13),i.OEk(1),i.C$Y()),2&C){const c=i.GaO(2);i.E7m("ngClass",i.IBC(2,Ku,c.customizationSettings.applicationName.length>=7&&c.customizationSettings.applicationName.length<14,c.customizationSettings.applicationName.length>=14)),i.yG2(),i.cNF(c.customizationSettings.applicationName)}}function kl(C,A){if(1&C&&i.wR5(0,"img",14),2&C){const c=i.GaO(2);i.E7m("src",c.customizationSettings.logo,i.K6U)}}function cl(C,A){1&C&&(i.I0R(0,"mat-error",15),i.OEk(1),i.wVc(2,"translate"),i.I0R(3,"strong"),i.OEk(4,"required"),i.C$Y()()),2&C&&(i.yG2(),i.oRS(" ",i.kDX(2,1,"PasswordReset.EmailAddressPlaceholder")," is "))}function Rc(C,A){if(1&C){const c=i.KQA();i.I0R(0,"div")(1,"mat-card",2),i.yuY(2,Ma,2,0,"H1",3)(3,ll,2,5,"H1",4)(4,kl,1,1,"img",5),i.I0R(5,"mat-card-content",6)(6,"form",7),i.qCj("ngSubmit",function(){i.usT(c);const S=i.GaO();return i.CGJ(S.onSubmit(S.form))}),i.I0R(7,"mat-form-field",8)(8,"mat-label"),i.OEk(9),i.wVc(10,"translate"),i.C$Y(),i.wR5(11,"input",9),i.yuY(12,cl,5,3,"mat-error",10),i.C$Y(),i.I0R(13,"button",11),i.OEk(14),i.wVc(15,"translate"),i.C$Y()()()()()}if(2&C){const c=i.GaO();i.yG2(2),i.E7m("ngIf",!c.customizationSettings.logo&&!c.customizationSettings.applicationName),i.yG2(),i.E7m("ngIf",c.customizationSettings.applicationName&&!c.customizationSettings.logo),i.yG2(),i.E7m("ngIf",c.customizationSettings.logo),i.yG2(2),i.E7m("formGroup",c.form),i.yG2(3),i.cNF(i.kDX(10,7,"PasswordReset.EmailAddressPlaceholder")),i.yG2(3),i.E7m("ngIf",c.form.get("email").hasError("required")),i.yG2(2),i.cNF(i.kDX(15,9,"PasswordReset.ResetPasswordButton"))}}let ul=(()=>{class C{constructor(c,E,S,Be,Dt,sn){this.identityService=c,this.notify=E,this.fb=S,this.settingsService=Be,this.customizationFacade=sn,this.href=Dt,this.form=this.fb.group({email:["",[I.AQ.required]]})}ngOnInit(){const c=this.href;c.length>1&&(this.baseUrl=c),this.customizationFacade.settings$().subscribe(E=>this.customizationSettings=E),this.settingsService.getEmailSettingsEnabled().subscribe(E=>this.emailSettingsEnabled=E)}onSubmit(c){this.emailSettingsEnabled?c.invalid?this.notify.error("Email address is required"):this.identityService.submitResetPassword(c.value.email).subscribe(E=>{E.errors.forEach(S=>{this.notify.success(S)})}):this.notify.error("Sorry but the administrator has not set up email notifications!")}static#e=this.\u0275fac=function(E){return new(E||C)(i.GI1(_.Y$),i.GI1(_.gn),i.GI1(I.KE),i.GI1(_.Y7),i.GI1(y.wH),i.GI1(Vt.CG))};static#t=this.\u0275cmp=i.In1({type:C,selectors:[["ng-component"]],decls:3,vars:1,consts:[[1,"small-middle-container"],[4,"ngIf"],[1,"mat-elevation-z8","top-margin","login-card"],["class","login_logo",4,"ngIf"],["class","login_logo custom",3,"ngClass",4,"ngIf"],["mat-card-image","",3,"src",4,"ngIf"],["id","login-box"],["novalidate","",1,"form-signin",3,"formGroup","ngSubmit"],["appearance","outline",1,"dark","full-width"],["type","email","id","username-field","matInput","","formControlName","email","autofocus",""],["id","username-error",4,"ngIf"],["id","reset","mat-raised-button","","color","accent","type","submit"],[1,"login_logo"],[1,"login_logo","custom",3,"ngClass"],["mat-card-image","",3,"src"],["id","username-error"]],template:function(E,S){1&E&&(i.wR5(0,"ombi-image-background"),i.I0R(1,"div",0),i.yuY(2,Rc,16,11,"div",1),i.C$Y()),2&E&&(i.yG2(2),i.E7m("ngIf",S.form&&S.customizationSettings))},dependencies:[y.QF,y.u_,I.sz,I.ot,I.ue,I.u,bt.Gw,Co.SM,Co.WK,Co.MN,at.wJ,at.Up,at.w5,Oe.yi,I.uW,I.Wo,na.a,ie.sD],styles:["body[_ngcontent-%COMP%], html[_ngcontent-%COMP%]{height:100%!important;background-repeat:no-repeat!important}img.center[_ngcontent-%COMP%]{display:block;margin:0 auto;max-width:100%}.card-container.card[_ngcontent-%COMP%]{max-width:500px;padding:45px;background-color:#000000b3;border-radius:5%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:100%}.white-checkbox[_ngcontent-%COMP%]{color:#fff}.btn[_ngcontent-%COMP%]{font-weight:700;height:36px;-webkit-user-select:none;user-select:none;cursor:default}.profile-img-custom[_ngcontent-%COMP%]{width:100%;margin:0 auto 10px;display:block;border-radius:50%}.profile-img-card[_ngcontent-%COMP%]{width:100%;margin:0 auto 10px;display:block}.reauth-email[_ngcontent-%COMP%]{display:block;color:#fff;line-height:2;margin-bottom:10px;font-size:14px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box}.form-signin[_ngcontent-%COMP%]   #inputEmail[_ngcontent-%COMP%], .form-signin[_ngcontent-%COMP%]   #inputPassword[_ngcontent-%COMP%]{direction:ltr;height:44px;font-size:16px}.form-signin[_ngcontent-%COMP%]   input[type=email][_ngcontent-%COMP%], .form-signin[_ngcontent-%COMP%]   input[type=password][_ngcontent-%COMP%], .form-signin[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%], .form-signin[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%;display:block;margin-bottom:10px;z-index:1;position:relative;box-sizing:border-box}.btn.btn-signin[_ngcontent-%COMP%]{background-color:#6891a2;padding:0;font-weight:700;font-size:14px;height:36px;border-radius:3px;border:none;transition:all .218s}.btn.btn-signin[_ngcontent-%COMP%]:hover, .btn.btn-signin[_ngcontent-%COMP%]:active, .btn.btn-signin[_ngcontent-%COMP%]:focus{background-color:#0c6121}.forgot-password[_ngcontent-%COMP%]{color:#6891a2;text-align:center}.forgot-password[_ngcontent-%COMP%]:hover, .forgot-password[_ngcontent-%COMP%]:active, .forgot-password[_ngcontent-%COMP%]:focus{color:#0c6121}.full-width[_ngcontent-%COMP%]{width:100%}@media (max-width: 570px){.small-middle-container[_ngcontent-%COMP%]{margin:auto;overflow:auto;width:auto}}@media (min-width: 571px){.small-middle-container[_ngcontent-%COMP%]{margin:auto;overflow:auto}}.login-buttons[_ngcontent-%COMP%]{text-align:center}  button#sign-in{color:#1b242f}  .login-card .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#62d2fa}  .login-card .mat-form-field.mat-focused .mat-form-field-label{color:#62d2fa}  .login-card .mat-input-element{caret-color:#62d2fa}.small-middle-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;height:100vh}.login-card.mat-card[_ngcontent-%COMP%]{background-color:#0009;padding:60px 40px}.login-card[_ngcontent-%COMP%]   H1.login_logo[_ngcontent-%COMP%]{display:flex;font-family:Montserrat,sans-serif;text-transform:uppercase;color:#62d2fa;align-items:center;justify-content:center;font-weight:700;font-size:10em;width:100%;margin-bottom:70px}.login-card[_ngcontent-%COMP%]   H1.login_logo.hugeText[_ngcontent-%COMP%]{font-size:3vw}.logo-img[_ngcontent-%COMP%]{max-width:420px;max-height:420px}@media (max-width: 700px){.login-card[_ngcontent-%COMP%]   H1.login_logo[_ngcontent-%COMP%]{font-size:20vw}.login-card[_ngcontent-%COMP%]   H1.login_logo.hugeText[_ngcontent-%COMP%]{font-size:7vw}}"]})}return C})();var kc=u(5176),Ua=u(3953);function Yu(C,A){1&C&&(i.I0R(0,"H1",15),i.OEk(1,"OMBI"),i.C$Y())}const to=(C,A)=>({bigText:C,hugeText:A});function fa(C,A){if(1&C&&(i.I0R(0,"H1",16),i.OEk(1),i.C$Y()),2&C){const c=i.GaO(2);i.E7m("ngClass",i.IBC(2,to,c.customizationSettings.applicationName.length>=7&&c.customizationSettings.applicationName.length<14,c.customizationSettings.applicationName.length>=14)),i.yG2(),i.cNF(c.customizationSettings.applicationName)}}function Xr(C,A){if(1&C&&i.wR5(0,"img",17),2&C){const c=i.GaO(2);i.E7m("src",c.customizationSettings.logo,i.K6U)}}function Lc(C,A){1&C&&(i.I0R(0,"div",18),i.OEk(1,"The passwords do not match"),i.C$Y())}function Ll(C,A){1&C&&(i.I0R(0,"div"),i.OEk(1,"The Password is required"),i.C$Y())}function Fc(C,A){1&C&&(i.I0R(0,"div"),i.OEk(1,"The Email is required"),i.C$Y())}function Fl(C,A){1&C&&(i.I0R(0,"div"),i.OEk(1,"The Confirm Password is required"),i.C$Y())}function Nc(C,A){if(1&C&&(i.I0R(0,"div",18),i.yuY(1,Ll,2,0,"div",1)(2,Fc,2,0,"div",1)(3,Fl,2,0,"div",1),i.C$Y()),2&C){const c=i.GaO(2);i.yG2(),i.E7m("ngIf",c.form.get("password").hasError("required")),i.yG2(),i.E7m("ngIf",c.form.get("email").hasError("required")),i.yG2(),i.E7m("ngIf",c.form.get("confirmPassword").hasError("required"))}}function dl(C,A){1&C&&(i.I0R(0,"mat-error",19),i.OEk(1),i.wVc(2,"translate"),i.I0R(3,"strong"),i.OEk(4,"required"),i.C$Y()()),2&C&&(i.yG2(),i.oRS(" ",i.kDX(2,1,"PasswordReset.EmailAddressPlaceholder")," is "))}function Wa(C,A){1&C&&(i.I0R(0,"mat-error",19),i.OEk(1," Password is "),i.I0R(2,"strong"),i.OEk(3,"required"),i.C$Y()())}function Do(C,A){1&C&&(i.I0R(0,"mat-error",19),i.OEk(1," Password is "),i.I0R(2,"strong"),i.OEk(3,"required"),i.C$Y()())}function Xu(C,A){if(1&C){const c=i.KQA();i.I0R(0,"div")(1,"mat-card",2),i.yuY(2,Yu,2,0,"H1",3)(3,fa,2,5,"H1",4)(4,Xr,1,1,"img",5),i.I0R(5,"mat-card-content",6),i.yuY(6,Lc,2,0,"div",7)(7,Nc,4,3,"div",7),i.I0R(8,"form",8),i.qCj("ngSubmit",function(){i.usT(c);const S=i.GaO();return i.CGJ(S.onSubmit(S.form))}),i.I0R(9,"mat-form-field",9)(10,"mat-label"),i.OEk(11),i.wVc(12,"translate"),i.C$Y(),i.wR5(13,"input",10),i.yuY(14,dl,5,3,"mat-error",11),i.C$Y(),i.I0R(15,"mat-form-field",9)(16,"mat-label"),i.OEk(17,"New Password"),i.C$Y(),i.wR5(18,"input",12),i.yuY(19,Wa,4,0,"mat-error",11),i.C$Y(),i.I0R(20,"mat-form-field",9)(21,"mat-label"),i.OEk(22,"Confirm Password"),i.C$Y(),i.wR5(23,"input",13),i.yuY(24,Do,4,0,"mat-error",11),i.C$Y(),i.I0R(25,"button",14),i.OEk(26),i.wVc(27,"translate"),i.C$Y()()()()()}if(2&C){const c=i.GaO();i.yG2(2),i.E7m("ngIf",!c.customizationSettings.logo&&!c.customizationSettings.applicationName),i.yG2(),i.E7m("ngIf",c.customizationSettings.applicationName&&!c.customizationSettings.logo),i.yG2(),i.E7m("ngIf",c.customizationSettings.logo),i.yG2(2),i.E7m("ngIf",c.form.value.password!==c.form.value.confirmPassword),i.yG2(),i.E7m("ngIf",c.form.invalid&&c.form.dirty),i.yG2(),i.E7m("formGroup",c.form),i.yG2(3),i.cNF(i.kDX(12,12,"PasswordReset.EmailAddressPlaceholder")),i.yG2(3),i.E7m("ngIf",c.form.get("email").hasError("required")),i.yG2(5),i.E7m("ngIf",c.form.get("password").hasError("required")),i.yG2(5),i.E7m("ngIf",c.form.get("confirmPassword").hasError("required")),i.yG2(),i.E7m("disabled",c.form.invalid),i.yG2(),i.cNF(i.kDX(27,14,"Reset Password"))}}let Ia=(()=>{class C{constructor(c,E,S,Be,Dt,sn,Mn){this.identityService=c,this.router=E,this.route=S,this.notify=Be,this.fb=Dt,this.location=sn,this.customizationFacade=Mn,this.route.queryParams.subscribe(Rn=>{this.form=this.fb.group({email:["",[I.AQ.required]],password:["",[I.AQ.required]],confirmPassword:["",[I.AQ.required]],token:[Rn.token]})})}ngOnInit(){const c=this.location.getBaseHrefFromDOM();c.length>1&&(this.baseUrl=c),this.customizationFacade.settings$().subscribe(E=>this.customizationSettings=E)}onSubmit(c){c.invalid?this.notify.error("Email address is required"):this.identityService.resetPassword(c.value).subscribe(S=>{S.successful?(this.notify.success("Your Password has been reset"),this.router.navigate(["login"])):S.errors.forEach(Be=>{this.notify.error(Be)})})}static#e=this.\u0275fac=function(E){return new(E||C)(i.GI1(_.Y$),i.GI1(K.E5),i.GI1(K.gV),i.GI1(_.gn),i.GI1(I.KE),i.GI1(y.aO),i.GI1(Vt.CG))};static#t=this.\u0275cmp=i.In1({type:C,selectors:[["ng-component"]],decls:3,vars:1,consts:[[1,"small-middle-container"],[4,"ngIf"],[1,"mat-elevation-z8","top-margin","login-card"],["class","login_logo",4,"ngIf"],["class","login_logo custom",3,"ngClass",4,"ngIf"],["mat-card-image","",3,"src",4,"ngIf"],["id","login-box"],["class","alert alert-danger",4,"ngIf"],["novalidate","",1,"form-signin",3,"formGroup","ngSubmit"],["appearance","outline",1,"dark","full-width"],["type","email","id","username-field","matInput","","formControlName","email","autofocus",""],["id","username-error",4,"ngIf"],["type","password","id","username-field","matInput","","formControlName","password","autofocus",""],["type","password","id","username-field","matInput","","formControlName","confirmPassword","autofocus",""],["id","reset","mat-raised-button","","color","accent","type","submit",3,"disabled"],[1,"login_logo"],[1,"login_logo","custom",3,"ngClass"],["mat-card-image","",3,"src"],[1,"alert","alert-danger"],["id","username-error"]],template:function(E,S){1&E&&(i.wR5(0,"ombi-image-background"),i.I0R(1,"div",0),i.yuY(2,Xu,28,16,"div",1),i.C$Y()),2&E&&(i.yG2(2),i.E7m("ngIf",S.form&&S.customizationSettings))},dependencies:[y.QF,y.u_,I.sz,I.ot,I.ue,I.u,bt.Gw,Co.SM,Co.WK,Co.MN,at.wJ,at.Up,at.w5,Oe.yi,I.uW,I.Wo,na.a,ie.sD],styles:["body[_ngcontent-%COMP%], html[_ngcontent-%COMP%]{height:100%!important;background-repeat:no-repeat!important}img.center[_ngcontent-%COMP%]{display:block;margin:0 auto;max-width:100%}.card-container.card[_ngcontent-%COMP%]{max-width:500px;padding:45px;background-color:#000000b3;border-radius:5%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:100%}.white-checkbox[_ngcontent-%COMP%]{color:#fff}.btn[_ngcontent-%COMP%]{font-weight:700;height:36px;-webkit-user-select:none;user-select:none;cursor:default}.profile-img-custom[_ngcontent-%COMP%]{width:100%;margin:0 auto 10px;display:block;border-radius:50%}.profile-img-card[_ngcontent-%COMP%]{width:100%;margin:0 auto 10px;display:block}.reauth-email[_ngcontent-%COMP%]{display:block;color:#fff;line-height:2;margin-bottom:10px;font-size:14px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box}.form-signin[_ngcontent-%COMP%]   #inputEmail[_ngcontent-%COMP%], .form-signin[_ngcontent-%COMP%]   #inputPassword[_ngcontent-%COMP%]{direction:ltr;height:44px;font-size:16px}.form-signin[_ngcontent-%COMP%]   input[type=email][_ngcontent-%COMP%], .form-signin[_ngcontent-%COMP%]   input[type=password][_ngcontent-%COMP%], .form-signin[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%], .form-signin[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%;display:block;margin-bottom:10px;z-index:1;position:relative;box-sizing:border-box}.btn.btn-signin[_ngcontent-%COMP%]{background-color:#6891a2;padding:0;font-weight:700;font-size:14px;height:36px;border-radius:3px;border:none;transition:all .218s}.btn.btn-signin[_ngcontent-%COMP%]:hover, .btn.btn-signin[_ngcontent-%COMP%]:active, .btn.btn-signin[_ngcontent-%COMP%]:focus{background-color:#0c6121}.forgot-password[_ngcontent-%COMP%]{color:#6891a2;text-align:center}.forgot-password[_ngcontent-%COMP%]:hover, .forgot-password[_ngcontent-%COMP%]:active, .forgot-password[_ngcontent-%COMP%]:focus{color:#0c6121}.full-width[_ngcontent-%COMP%]{width:100%}@media (max-width: 570px){.small-middle-container[_ngcontent-%COMP%]{margin:auto;overflow:auto;width:auto}}@media (min-width: 571px){.small-middle-container[_ngcontent-%COMP%]{margin:auto;overflow:auto}}.login-buttons[_ngcontent-%COMP%]{text-align:center}  button#sign-in{color:#1b242f}  .login-card .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#62d2fa}  .login-card .mat-form-field.mat-focused .mat-form-field-label{color:#62d2fa}  .login-card .mat-input-element{caret-color:#62d2fa}.small-middle-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;height:100vh}.login-card.mat-card[_ngcontent-%COMP%]{background-color:#0009;padding:60px 40px}.login-card[_ngcontent-%COMP%]   H1.login_logo[_ngcontent-%COMP%]{display:flex;font-family:Montserrat,sans-serif;text-transform:uppercase;color:#62d2fa;align-items:center;justify-content:center;font-weight:700;font-size:10em;width:100%;margin-bottom:70px}.login-card[_ngcontent-%COMP%]   H1.login_logo.hugeText[_ngcontent-%COMP%]{font-size:3vw}.logo-img[_ngcontent-%COMP%]{max-width:420px;max-height:420px}@media (max-width: 700px){.login-card[_ngcontent-%COMP%]   H1.login_logo[_ngcontent-%COMP%]{font-size:20vw}.login-card[_ngcontent-%COMP%]   H1.login_logo.hugeText[_ngcontent-%COMP%]{font-size:7vw}}"]})}return C})();class ja{constructor(A,c="/assets/i18n/",E=".json"){this.http=A,this.prefix=c,this.suffix=E}getTranslation(A){return this.http.get(`${this.prefix}${A}${this.suffix}`)}}var Sa=u(5657),Nl=u(3800),hl=u(5800);let Bc=(()=>{class C{constructor(c,E){this.authService=c,this.router=E,this.throttleLogout=new Sa.E,this.throttleLogout.pipe((0,hl.U)(5e3)).subscribe(S=>{this.authService.logout(),this.router.navigate(["login"])})}intercept(c,E){return E.handle(c).pipe((0,wo.a)(S=>(401===S.status&&this.throttleLogout.next(c.url),(0,Nl.c)(S))))}static#e=this.\u0275fac=function(E){return new(E||C)(i.CoB(oe.o),i.CoB(K.E5))};static#t=this.\u0275prov=i.wxM({token:C,factory:C.\u0275fac})}return C})();var fl=u(5292);const Ta=[{path:"*",component:Rl},{path:"",redirectTo:"/discover",pathMatch:"full"},{path:"login",component:wa},{path:"Login/OAuth/:pin",component:Ga},{path:"Custom",component:os},{path:"login/:landing",component:wa},{path:"reset",component:ul},{path:"token",component:Ia},{path:"landingpage",component:ju},{path:"auth/cookie",component:ss},{loadChildren:()=>Promise.all([u.e(378),u.e(163),u.e(140)]).then(u.bind(u,5140)).then(C=>C.DiscoverModule),path:"discover"},{loadChildren:()=>Promise.all([u.e(378),u.e(612),u.e(292)]).then(u.bind(u,9292)).then(C=>C.IssuesModule),path:"issues"},{loadChildren:()=>Promise.all([u.e(378),u.e(312),u.e(904)]).then(u.bind(u,6904)).then(C=>C.SettingsModule),path:"Settings"},{loadChildren:()=>Promise.all([u.e(378),u.e(532)]).then(u.bind(u,9532)).then(C=>C.WizardModule),path:"Wizard"},{loadChildren:()=>Promise.all([u.e(378),u.e(312),u.e(512)]).then(u.bind(u,9132)).then(C=>C.UserManagementModule),path:"usermanagement"},{loadChildren:()=>Promise.all([u.e(378),u.e(312),u.e(84)]).then(u.bind(u,5704)).then(C=>C.RequestsListModule),path:"requests-list"},{loadChildren:()=>Promise.all([u.e(378),u.e(72)]).then(u.bind(u,5072)).then(C=>C.VoteModule),path:"vote"},{loadChildren:()=>Promise.all([u.e(378),u.e(163),u.e(612),u.e(312),u.e(288)]).then(u.bind(u,4288)).then(C=>C.MediaDetailsModule),path:"details"},{loadChildren:()=>Promise.all([u.e(378),u.e(356)]).then(u.bind(u,8356)).then(C=>C.UserPreferencesModule),path:"user-preferences"},{loadChildren:()=>Promise.all([u.e(378),u.e(784)]).then(u.bind(u,8784)).then(C=>C.UnsubscribeModule),path:"unsubscribe"}];function Ha(C,A){const c=window.baseHref,E=Math.floor(999999999*Math.random());return new ja(C,null!==c&&c.length>1?`${c}/translations/`:"/translations/",`.json?v=${E}`)}function Qu(){return localStorage.getItem("id_token")||""}let $a=(()=>{class C{static#e=this.\u0275fac=function(E){return new(E||C)};static#t=this.\u0275mod=i.a4G({type:C,bootstrap:[As]});static#n=this.\u0275inj=i.s3X({providers:[_.gn,oe.o,gs.Q,_.Y7,_.Y$,_.gF,_.ai,_.cb,_.ec,Ts.CookieService,_.SA,_.cj,_.Ux,_._w,kc.G,_.mi,In.y,_.Cm,_.An,_.XC,en,Vu,Ss,Zr,vs,{provide:y.wH,useValue:window.baseHref},{provide:B.So,useClass:Bc,multi:!0},{provide:Oc.CQ,deps:[ie.qS],useFactory:c=>new Pc(c).getPaginatorIntl()}],imports:[K.qQ.forRoot(Ta),s.iE,B.SU,mr.KC,xr.GS,I.y,La,De.uE,De.uE,Fa.k,bt.oJ,Co.NR,Kn.KO,Wn._A,Oe.cN,Xo.WG,ln.Gs,Ce.sr,I.sl,Fn.U1,Sr.a,hs.Y,Va.Y,y.MD,We.Y1,Sc.Vn,xc.kB,Xs.Ko,Uu.lV.forRoot({config:{tokenGetter:Qu}}),ie.O0.forRoot({loader:{provide:ie._E,useFactory:Ha,deps:[B.KK,y.aO]}}),Ua.E,$n.Ko,ni.oB,Ii.sb,ii.iI,ui.Gm,fe.O2,Ai.GE,Da.q2.forRoot([Os.I,ca.uy,ua.Uv,eo.WO],{developmentMode:!1}),[],fl.a6,fl.Co]})}return C})();(0,i.agy)(),s.o_().bootstrapModule($a).catch(C=>console.log(C))},1036:(lt,me,u)=>{"use strict";u.d(me,{So:()=>_s,S8:()=>Hr,S6:()=>ti,q2:()=>Ss,C1:()=>Ar,Ad:()=>vs,Ir:()=>Hi,m_:()=>gs,u:()=>Kt});var s=u(2116),d=u(2540);let o=(()=>{class N{constructor(){this.bootstrap$=new d.o(1)}get appBootstrapped$(){return this.bootstrap$.asObservable()}bootstrap(){this.bootstrap$.next(!0),this.bootstrap$.complete()}}return N.\u0275fac=function(q){return new(q||N)},N.\u0275prov=s.wxM({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();function f(N,ue){return N===ue}function i(N,ue=f){let q=null,Pe=null;function ct(){return function l(N,ue,q){if(null===ue||null===q||ue.length!==q.length)return!1;const Pe=ue.length;for(let ct=0;ct<Pe;ct++)if(!N(ue[ct],q[ct]))return!1;return!0}(ue,q,arguments)||(Pe=N.apply(null,arguments)),q=arguments,Pe}return ct.reset=function(){q=null,Pe=null},ct}let y=(()=>{class N{static set(q){this._value=q}static pop(){const q=this._value;return this._value={},q}}return N._value={},N})();const _=new s.UbH("INITIAL_STATE_TOKEN",{providedIn:"root",factory:()=>y.pop()}),I=new s.UbH("\u0275NGXS_STATE_FACTORY"),B=new s.UbH("\u0275NGXS_STATE_CONTEXT_FACTORY");var K=u(1368),ie=u(3252),oe=u(5657),Ge=u(6700),ae=u(2700),Z=u(9336),_e=u(3800),j=u(8960),ke=u(4496),rt=u(1116),le=u(6684),ye=u(4704),Y=u(8716),g=u(3992),X=u(560),V=u(5448),te=u(7773);function be(N,ue){return ue?q=>q.pipe(be((Pe,ct)=>(0,X.Uv)(N(Pe,ct)).pipe((0,ye.k)((ft,Qt)=>ue(Pe,ft,ct,Qt))))):(0,V.i)((q,Pe)=>{let ct=0,ft=null,Qt=!1;q.subscribe((0,te.e)(Pe,En=>{ft||(ft=(0,te.e)(Pe,void 0,()=>{ft=null,Qt&&Pe.complete()}),(0,X.Uv)(N(En,ct++)).subscribe(ft))},()=>{Qt=!0,!ft&&Pe.complete()}))})}var Fe=u(7400),Se=u(2156),ot=u(9144),_t=u(3616),pt=u(4e3),Gt=u(9212),qe=u(5568);function Kt(N){return N.constructor&&N.constructor.type?N.constructor.type:N.type}const vt=(N,ue,q)=>{N=Object.assign({},N);const Pe=ue.split("."),ct=Pe.length-1;return Pe.reduce((ft,Qt,En)=>(ft[Qt]=En===ct?q:Array.isArray(ft[Qt])?ft[Qt].slice():Object.assign({},ft[Qt]),ft&&ft[Qt]),N),N},Ot=(N,ue)=>ue.split(".").reduce((q,Pe)=>q&&q[Pe],N),Ke=N=>N&&"object"==typeof N&&!Array.isArray(N),Ne=(N,...ue)=>{if(!ue.length)return N;const q=ue.shift();if(Ke(N)&&Ke(q))for(const Pe in q)Ke(q[Pe])?(N[Pe]||Object.assign(N,{[Pe]:{}}),Ne(N[Pe],q[Pe])):Object.assign(N,{[Pe]:q[Pe]});return Ne(N,...ue)};let jn=(()=>{class N{constructor(q,Pe){this._ngZone=q,this._platformId=Pe}enter(q){return(0,K.uf)(this._platformId)?this.runInsideAngular(q):this.runOutsideAngular(q)}leave(q){return this.runInsideAngular(q)}runInsideAngular(q){return s.WW2.isInAngularZone()?q():this._ngZone.run(q)}runOutsideAngular(q){return s.WW2.isInAngularZone()?this._ngZone.runOutsideAngular(q):q()}}return N.\u0275fac=function(q){return new(q||N)(s.CoB(s.WW2),s.CoB(s.AHE))},N.\u0275prov=s.wxM({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();const kn=new s.UbH("ROOT_OPTIONS"),Ln=new s.UbH("ROOT_STATE_TOKEN"),Bn=new s.UbH("FEATURE_STATE_TOKEN"),ti=new s.UbH("NGXS_PLUGINS"),Ft="NGXS_META",Nt="NGXS_OPTIONS_META",It="NGXS_SELECTOR_META";let en=(()=>{class N{constructor(){this.defaultsState={},this.selectorOptions={injectContainerState:!0,suppressErrors:!0},this.compatibility={strictContentSecurityPolicy:!1},this.executionStrategy=jn}}return N.\u0275fac=function(q){return new(q||N)},N.\u0275prov=s.wxM({token:N,factory:function(q){let Pe=null;return q?Pe=new q:(ct=s.CoB(kn),Pe=Ne(new N,ct)),Pe;var ct},providedIn:"root"}),N})();class Vt{constructor(ue,q,Pe){this.previousValue=ue,this.currentValue=q,this.firstChange=Pe}}let We=(()=>{class N{enter(q){return q()}leave(q){return q()}}return N.\u0275fac=function(q){return new(q||N)},N.\u0275prov=s.wxM({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();const De=new s.UbH("USER_PROVIDED_NGXS_EXECUTION_STRATEGY"),fe=new s.UbH("NGXS_EXECUTION_STRATEGY",{providedIn:"root",factory:()=>{const N=(0,s.uUt)(s.YPA),ue=N.get(De);return N.get(ue||(typeof s.IHs.Zone<"u"?jn:We))}});function F(N){if(!N.hasOwnProperty(Ft)){const ue={name:null,actions:{},defaults:{},path:null,makeRootSelector:q=>q.getStateGetter(ue.name),children:[]};Object.defineProperty(N,Ft,{value:ue})}return Ce(N)}function Ce(N){return N[Ft]}function Te(N){return N.hasOwnProperty(It)||Object.defineProperty(N,It,{value:{makeRootSelector:null,originalFn:null,containerClass:null,selectorName:null,getSelectorOptions:()=>({})}}),at(N)}function at(N){return N[It]}function ln(...N){return function Mi(N,ue,q=ur){const Pe=function Nr(N){return N.reduce((ue,q)=>(ue[Kt(q)]=!0,ue),{})}(N),ct=ue&&function ds(N){return N.reduce((ue,q)=>(ue[q]=!0,ue),{})}(ue);return function(ft){return ft.pipe(function qn(N,ue){return(0,le.I)(q=>{const Pe=Kt(q.action);return N[Pe]&&(!ue||ue[q.status])})}(Pe,ct),q())}}(N,["DISPATCHED"])}function ur(){return(0,ye.k)(N=>N.action)}function Tr(N){return ue=>new ie._(q=>ue.subscribe({next(Pe){N.leave(()=>q.next(Pe))},error(Pe){N.leave(()=>q.error(Pe))},complete(){N.leave(()=>q.complete())}}))}let wr=(()=>{class N{constructor(q){this._executionStrategy=q}enter(q){return this._executionStrategy.enter(q)}leave(q){return this._executionStrategy.leave(q)}}return N.\u0275fac=function(q){return new(q||N)(s.CoB(fe))},N.\u0275prov=s.wxM({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();function Qr(N){const ue=[];let q=!1;return function(...ct){if(q)ue.unshift(ct);else{for(q=!0,N(...ct);ue.length>0;){const ft=ue.pop();ft&&N(...ft)}q=!1}}}class ht extends oe.E{constructor(){super(...arguments),this._orderedNext=Qr(ue=>super.next(ue))}next(ue){this._orderedNext(ue)}}class xt extends Ge.g{constructor(ue){super(ue),this._orderedNext=Qr(q=>super.next(q)),this._currentValue=ue}getValue(){return this._currentValue}next(ue){this._currentValue=ue,this._orderedNext(ue)}}let At=(()=>{class N extends ht{ngOnDestroy(){this.complete()}}return N.\u0275fac=(()=>{let ue;return function(Pe){return(ue||(ue=s.otF(N)))(Pe||N)}})(),N.\u0275prov=s.wxM({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();const nn=N=>(...ue)=>N.shift()(...ue,(...Pe)=>nn(N)(...Pe));let In=(()=>{class N{constructor(q){this._injector=q,this._errorHandler=null}reportErrorSafely(q){null===this._errorHandler&&(this._errorHandler=this._injector.get(s.eAe));try{this._errorHandler.handleError(q)}catch{}}}return N.\u0275fac=function(q){return new(q||N)(s.CoB(s.zZn))},N.\u0275prov=s.wxM({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),fi=(()=>{class N extends xt{constructor(){super({})}ngOnDestroy(){this.complete()}}return N.\u0275fac=function(q){return new(q||N)},N.\u0275prov=s.wxM({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),Kn=(()=>{class N{constructor(q,Pe){this._parentManager=q,this._pluginHandlers=Pe,this.plugins=[],this.registerHandlers()}get rootPlugins(){return this._parentManager&&this._parentManager.plugins||this.plugins}registerHandlers(){const q=this.getPluginHandlers();this.rootPlugins.push(...q)}getPluginHandlers(){return(this._pluginHandlers||[]).map(Pe=>Pe.handle?Pe.handle.bind(Pe):Pe)}}return N.\u0275fac=function(q){return new(q||N)(s.CoB(N,12),s.CoB(ti,8))},N.\u0275prov=s.wxM({token:N,factory:N.\u0275fac}),N})(),Wn=(()=>{class N extends oe.E{}return N.\u0275fac=(()=>{let ue;return function(Pe){return(ue||(ue=s.otF(N)))(Pe||N)}})(),N.\u0275prov=s.wxM({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),Ii=(()=>{class N{constructor(q,Pe,ct,ft,Qt,En){this._actions=q,this._actionResults=Pe,this._pluginManager=ct,this._stateStream=ft,this._ngxsExecutionStrategy=Qt,this._internalErrorReporter=En}dispatch(q){return this._ngxsExecutionStrategy.enter(()=>this.dispatchByEvents(q)).pipe(function Pn(N,ue){return q=>{let Pe=!1;return q.subscribe({error:ct=>{ue.enter(()=>Promise.resolve().then(()=>{Pe||ue.leave(()=>N.reportErrorSafely(ct))}))}}),new ie._(ct=>(Pe=!0,q.pipe(Tr(ue)).subscribe(ct)))}}(this._internalErrorReporter,this._ngxsExecutionStrategy))}dispatchByEvents(q){return Array.isArray(q)?0===q.length?(0,ae.of)(this._stateStream.getValue()):(0,Z.y)(q.map(Pe=>this.dispatchSingle(Pe))):this.dispatchSingle(q)}dispatchSingle(q){const Pe=this._stateStream.getValue();return nn([...this._pluginManager.plugins,(ft,Qt)=>{ft!==Pe&&this._stateStream.next(ft);const En=this.getActionResultStream(Qt);return En.subscribe(Zn=>this._actions.next(Zn)),this._actions.next({action:Qt,status:"DISPATCHED"}),this.createDispatchObservable(En)}])(Pe,q).pipe((0,Y.C)())}getActionResultStream(q){return this._actionResults.pipe((0,le.I)(Pe=>Pe.action===q&&"DISPATCHED"!==Pe.status),(0,g.U)(1),(0,Y.C)())}createDispatchObservable(q){return q.pipe(be(Pe=>{switch(Pe.status){case"SUCCESSFUL":return(0,ae.of)(this._stateStream.getValue());case"ERRORED":return(0,_e.c)(Pe.error);default:return j.k}})).pipe((0,Y.C)())}}return N.\u0275fac=function(q){return new(q||N)(s.CoB(At),s.CoB(Wn),s.CoB(Kn),s.CoB(fi),s.CoB(wr),s.CoB(In))},N.\u0275prov=s.wxM({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),ui=(()=>{class N{constructor(q,Pe,ct){this._stateStream=q,this._dispatcher=Pe,this._config=ct}getRootStateOperations(){return{getState:()=>this._stateStream.getValue(),setState:Pe=>this._stateStream.next(Pe),dispatch:Pe=>this._dispatcher.dispatch(Pe)}}setStateToTheCurrentWithNew(q){const Pe=this.getRootStateOperations(),ct=Pe.getState();Pe.setState(Object.assign(Object.assign({},ct),q.defaults))}}return N.\u0275fac=function(q){return new(q||N)(s.CoB(fi),s.CoB(Ii),s.CoB(en))},N.\u0275prov=s.wxM({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),yi=(()=>{class N{constructor(q){this._internalStateOperations=q}createStateContext(q){const Pe=this._internalStateOperations.getRootStateOperations();return{getState:()=>Dr(Pe.getState(),q.path),patchState(ct){const ft=Pe.getState(),Qt=function Xi(N){return ue=>{const q=Object.assign({},ue);for(const Pe in N)q[Pe]=N[Pe];return q}}(ct);return Ui(Pe,ft,Qt,q.path)},setState(ct){const ft=Pe.getState();return function L(N){return"function"==typeof N}(ct)?Ui(Pe,ft,ct,q.path):mi(Pe,ft,ct,q.path)},dispatch:ct=>Pe.dispatch(ct)}}}return N.\u0275fac=function(q){return new(q||N)(s.CoB(ui))},N.\u0275prov=s.wxM({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();function mi(N,ue,q,Pe){const ct=vt(ue,Pe,q);return N.setState(ct),ct}function Ui(N,ue,q,Pe){return mi(N,ue,q(Dr(ue,Pe)),Pe)}function Dr(N,ue){return Ot(N,ue)}new RegExp("^[a-zA-Z0-9_]+$");let Hr=(()=>{class N{}return N.type="@@INIT",N})(),Or=(()=>{class N{constructor(q){this.addedStates=q}}return N.type="@@UPDATE_STATE",N})();new s.UbH("NGXS_DEVELOPMENT_OPTIONS",{providedIn:"root",factory:()=>({warnOnUnhandledActions:!0})});let ci=(()=>{class N{constructor(q,Pe,ct,ft,Qt,En,Zn){this._injector=q,this._config=Pe,this._parentFactory=ct,this._actions=ft,this._actionResults=Qt,this._stateContextFactory=En,this._initialState=Zn,this._actionsSubscription=null,this._states=[],this._statesByName={},this._statePaths={},this.getRuntimeSelectorContext=i(()=>{const Sn=this;function zi(Wi){const Ki=Sn.statePaths[Wi];return Ki?function bt(N,ue){return ue&&ue.compatibility&&ue.compatibility.strictContentSecurityPolicy?function Oe(N){const ue=N.slice();return q=>ue.reduce((Pe,ct)=>Pe&&Pe[ct],q)}(N):function it(N){const ue=N;let q="store."+ue[0],Pe=0;const ct=ue.length;let ft=q;for(;++Pe<ct;)ft=ft+" && "+(q=q+"."+ue[Pe]);return new Function("store","return "+ft+";")}(N)}(Ki.split("."),Sn._config):null}return this._parentFactory?this._parentFactory.getRuntimeSelectorContext():{getStateGetter(Wi){let Ki=zi(Wi);return Ki||((...Ti)=>(Ki||(Ki=zi(Wi)),Ki?Ki(...Ti):void 0))},getSelectorOptions:Wi=>Object.assign(Object.assign({},Sn._config.selectorOptions),Wi||{})}})}get states(){return this._parentFactory?this._parentFactory.states:this._states}get statesByName(){return this._parentFactory?this._parentFactory.statesByName:this._statesByName}get statePaths(){return this._parentFactory?this._parentFactory.statePaths:this._statePaths}static _cloneDefaults(q){let Pe=q;return Array.isArray(q)?Pe=q.slice():function Fn(N){return"object"==typeof N&&null!==N||"function"==typeof N}(q)?Pe=Object.assign({},q):void 0===q&&(Pe={}),Pe}ngOnDestroy(){var q;null===(q=this._actionsSubscription)||void 0===q||q.unsubscribe()}add(q){const{newStates:Pe}=this.addToStatesMap(q);if(!Pe.length)return[];const ct=function jt(N){const ue=q=>N.find(ct=>ct===q)[Ft].name;return N.reduce((q,Pe)=>{const{name:ct,children:ft}=Pe[Ft];return q[ct]=(ft||[]).map(ue),q},{})}(Pe),ft=function xn(N){const ue=[],q={},Pe=(ct,ft=[])=>{Array.isArray(ft)||(ft=[]),ft.push(ct),q[ct]=!0,N[ct].forEach(Qt=>{q[Qt]||Pe(Qt,ft.slice(0))}),ue.indexOf(ct)<0&&ue.push(ct)};return Object.keys(N).forEach(ct=>Pe(ct)),ue.reverse()}(ct),Qt=function Cn(N,ue={}){const q=(Pe,ct)=>{for(const ft in Pe)if(Pe.hasOwnProperty(ft)&&Pe[ft].indexOf(ct)>=0){const Qt=q(Pe,ft);return null!==Qt?`${Qt}.${ft}`:ft}return null};for(const Pe in N)if(N.hasOwnProperty(Pe)){const ct=q(N,Pe);ue[Pe]=ct?`${ct}.${Pe}`:Pe}return ue}(ct),En=function mn(N){return N.reduce((ue,q)=>(ue[q[Ft].name]=q,ue),{})}(Pe),Zn=[];for(const Sn of ft){const zi=En[Sn],Si=Qt[Sn],Wi=zi[Ft];this.addRuntimeInfoToMeta(Wi,Si);const Ki={name:Sn,path:Si,isInitialised:!1,actions:Wi.actions,instance:this._injector.get(zi),defaults:N._cloneDefaults(Wi.defaults)};this.hasBeenMountedAndBootstrapped(Sn,Si)||Zn.push(Ki),this.states.push(Ki)}return Zn}addAndReturnDefaults(q){const ct=this.add(q||[]);return{defaults:ct.reduce((Qt,En)=>vt(Qt,En.path,En.defaults),{}),states:ct}}connectActionHandlers(){if(this._parentFactory||null!==this._actionsSubscription)return;const q=new oe.E;this._actionsSubscription=this._actions.pipe((0,le.I)(Pe=>"DISPATCHED"===Pe.status),(0,Fe.O)(Pe=>{q.next(Pe);const ct=Pe.action;return this.invokeActions(q,ct).pipe((0,ye.k)(()=>({action:ct,status:"SUCCESSFUL"})),(0,Se.G)({action:ct,status:"CANCELED"}),(0,ot.a)(ft=>(0,ae.of)({action:ct,status:"ERRORED",error:ft})))})).subscribe(Pe=>this._actionResults.next(Pe))}invokeActions(q,Pe){const ct=Kt(Pe),ft=[];let Qt=!1;for(const En of this.states){const Zn=En.actions[ct];if(Zn)for(const Sn of Zn){const zi=this._stateContextFactory.createStateContext(En);try{let Si=En.instance[Sn.fn](zi,Pe);Si instanceof Promise&&(Si=(0,ke.Q)(Si)),(0,rt.X)(Si)?(Si=Si.pipe((0,Fe.O)(Wi=>Wi instanceof Promise?(0,ke.Q)(Wi):(0,rt.X)(Wi)?Wi:(0,ae.of)(Wi)),(0,Se.G)({})),Sn.options.cancelUncompleted&&(Si=Si.pipe((0,_t.a)(q.pipe(ln(Pe)))))):Si=(0,ae.of)({}).pipe((0,Y.C)()),ft.push(Si)}catch(Si){ft.push((0,_e.c)(Si))}Qt=!0}}return ft.length||ft.push((0,ae.of)({})),(0,Z.y)(ft)}addToStatesMap(q){const Pe=[],ct=this.statesByName;for(const ft of q){const Qt=Ce(ft).name;!ct[Qt]&&(Pe.push(ft),ct[Qt]=ft)}return{newStates:Pe}}addRuntimeInfoToMeta(q,Pe){this.statePaths[q.name]=Pe,q.path=Pe}hasBeenMountedAndBootstrapped(q,Pe){const ct=void 0!==Ot(this._initialState,Pe);return this.statesByName[q]&&ct}}return N.\u0275fac=function(q){return new(q||N)(s.CoB(s.zZn),s.CoB(en),s.CoB(N,12),s.CoB(At),s.CoB(Wn),s.CoB(yi),s.CoB(_,8))},N.\u0275prov=s.wxM({token:N,factory:N.\u0275fac}),N})();function As(N){const ue=at(N)||Ce(N);return ue&&ue.makeRootSelector||(()=>N)}let gs=(()=>{class N{constructor(q,Pe,ct,ft,Qt,En){this._stateStream=q,this._internalStateOperations=Pe,this._config=ct,this._internalExecutionStrategy=ft,this._stateFactory=Qt,this._selectableStateStream=this._stateStream.pipe(Tr(this._internalExecutionStrategy),(0,Y.C)({bufferSize:1,refCount:!0})),this.initStateStream(En)}dispatch(q){return this._internalStateOperations.getRootStateOperations().dispatch(q)}select(q){const Pe=this.getStoreBoundSelectorFn(q);return this._selectableStateStream.pipe((0,ye.k)(Pe),(0,ot.a)(ct=>{const{suppressErrors:ft}=this._config.selectorOptions;return ct instanceof TypeError&&ft?(0,ae.of)(void 0):(0,_e.c)(ct)}),(0,pt.a)(),Tr(this._internalExecutionStrategy))}selectOnce(q){return this.select(q).pipe((0,g.U)(1))}selectSnapshot(q){return this.getStoreBoundSelectorFn(q)(this._stateStream.getValue())}subscribe(q){return this._selectableStateStream.pipe(Tr(this._internalExecutionStrategy)).subscribe(q)}snapshot(){return this._internalStateOperations.getRootStateOperations().getState()}reset(q){return this._internalStateOperations.getRootStateOperations().setState(q)}getStoreBoundSelectorFn(q){return As(q)(this._stateFactory.getRuntimeSelectorContext())}initStateStream(q){const Pe=this._stateStream.value;if(!Pe||0===Object.keys(Pe).length){const Qt=Object.keys(this._config.defaultsState).length>0?Object.assign(Object.assign({},this._config.defaultsState),q):q;this._stateStream.next(Qt)}}}return N.\u0275fac=function(q){return new(q||N)(s.CoB(fi),s.CoB(ui),s.CoB(en),s.CoB(wr),s.CoB(ci),s.CoB(_,8))},N.\u0275prov=s.wxM({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),mr=(()=>{class N{constructor(q,Pe){N.store=q,N.config=Pe}ngOnDestroy(){N.store=null,N.config=null}}return N.store=null,N.config=null,N.\u0275fac=function(q){return new(q||N)(s.CoB(gs),s.CoB(en))},N.\u0275prov=s.wxM({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),xr=(()=>{class N{constructor(q,Pe,ct,ft,Qt){this._store=q,this._internalErrorReporter=Pe,this._internalStateOperations=ct,this._stateContextFactory=ft,this._bootstrapper=Qt,this._destroy$=new oe.E}ngOnDestroy(){this._destroy$.next()}ngxsBootstrap(q,Pe){this._internalStateOperations.getRootStateOperations().dispatch(q).pipe((0,le.I)(()=>!!Pe),(0,Gt.y)(()=>this._invokeInitOnStates(Pe.states)),(0,Fe.O)(()=>this._bootstrapper.appBootstrapped$),(0,le.I)(ct=>!!ct),(0,ot.a)(ct=>(this._internalErrorReporter.reportErrorSafely(ct),j.k)),(0,_t.a)(this._destroy$)).subscribe(()=>this._invokeBootstrapOnStates(Pe.states))}_invokeInitOnStates(q){for(const Pe of q){const ct=Pe.instance;ct.ngxsOnChanges&&this._store.select(ft=>Ot(ft,Pe.path)).pipe((0,qe.W)(void 0),(0,V.i)((N,ue)=>{let q,Pe=!1;N.subscribe((0,te.e)(ue,ct=>{const ft=q;q=ct,Pe&&ue.next([ft,ct]),Pe=!0}))}),(0,_t.a)(this._destroy$)).subscribe(([ft,Qt])=>{const En=new Vt(ft,Qt,!Pe.isInitialised);ct.ngxsOnChanges(En)}),ct.ngxsOnInit&&ct.ngxsOnInit(this._getStateContext(Pe)),Pe.isInitialised=!0}}_invokeBootstrapOnStates(q){for(const Pe of q){const ct=Pe.instance;ct.ngxsAfterBootstrap&&ct.ngxsAfterBootstrap(this._getStateContext(Pe))}}_getStateContext(q){return this._stateContextFactory.createStateContext(q)}}return N.\u0275fac=function(q){return new(q||N)(s.CoB(gs),s.CoB(In),s.CoB(ui),s.CoB(yi),s.CoB(o))},N.\u0275prov=s.wxM({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),Zr=(()=>{class N{constructor(q,Pe,ct,ft,Qt=[],En){const Zn=q.addAndReturnDefaults(Qt);Pe.setStateToTheCurrentWithNew(Zn),q.connectActionHandlers(),En.ngxsBootstrap(new Hr,Zn)}}return N.\u0275fac=function(q){return new(q||N)(s.CoB(ci),s.CoB(ui),s.CoB(gs),s.CoB(mr),s.CoB(Ln,8),s.CoB(xr))},N.\u0275mod=s.a4G({type:N}),N.\u0275inj=s.s3X({}),N})(),Ns=(()=>{class N{constructor(q,Pe,ct,ft=[],Qt){const En=N.flattenStates(ft),Zn=ct.addAndReturnDefaults(En);Zn.states.length&&(Pe.setStateToTheCurrentWithNew(Zn),Qt.ngxsBootstrap(new Or(Zn.defaults),Zn))}static flattenStates(q=[]){return q.reduce((Pe,ct)=>Pe.concat(ct),[])}}return N.\u0275fac=function(q){return new(q||N)(s.CoB(gs),s.CoB(ui),s.CoB(ci),s.CoB(Bn,8),s.CoB(xr))},N.\u0275mod=s.a4G({type:N}),N.\u0275inj=s.s3X({}),N})(),Ss=(()=>{class N{static forRoot(q=[],Pe={}){return{ngModule:Zr,providers:[ci,Kn,...q,...N.ngxsTokenProviders(q,Pe)]}}static forFeature(q=[]){return{ngModule:Ns,providers:[ci,Kn,...q,{provide:Bn,multi:!0,useValue:q}]}}static ngxsTokenProviders(q,Pe){return[{provide:De,useValue:Pe.executionStrategy},{provide:Ln,useValue:q},{provide:kn,useValue:Pe},{provide:s.qid,useFactory:N.appBootstrapListenerFactory,multi:!0,deps:[o]},{provide:B,useExisting:yi},{provide:I,useExisting:ci}]}static appBootstrapListenerFactory(q){return()=>q.bootstrap()}}return N.\u0275fac=function(q){return new(q||N)},N.\u0275mod=s.a4G({type:N}),N.\u0275inj=s.s3X({}),N})();function _s(N,ue){return(q,Pe)=>{const ct=F(q.constructor);Array.isArray(N)||(N=[N]);for(const ft of N){const Qt=ft.type;ct.actions[Qt]||(ct.actions[Qt]=[]),ct.actions[Qt].push({fn:Pe,options:ue||{},type:Qt})}}}function vs(N){return ue=>{const q=ue,Pe=F(q),ct=Object.getPrototypeOf(q),ft=function hs(N,ue){return Object.assign(Object.assign({},N[Nt]||{}),ue)}(ct,N);(function Ts(N){const{meta:ue,inheritedStateClass:q,optionsWithInheritance:Pe}=N,{children:ct,defaults:ft,name:Qt}=Pe,En="string"==typeof Qt?Qt:Qt&&Qt.getName()||null;if(q.hasOwnProperty(Ft)){const Zn=q[Ft]||{};ue.actions=Object.assign(Object.assign({},ue.actions),Zn.actions)}ue.children=ct,ue.defaults=ft,ue.name=En})({meta:Pe,inheritedStateClass:ct,optionsWithInheritance:ft}),q[Nt]=ft}}const cs="NGXS_SELECTOR_OPTIONS_META",Cs={getOptions:N=>N&&N[cs]||{},defineOptions:(N,ue)=>{N&&(N[cs]=ue)}};function es(N,ue,q){const Pe=function Ms(N,ue){const q=ue&&ue.containerClass,ct=i(function(...Qt){const En=N.apply(q,Qt);return En instanceof Function?i.apply(null,[En]):En});return Object.setPrototypeOf(ct,N),ct}(ue,q),ct=function qr(N,ue){const q=Te(N);q.originalFn=N;let Pe=()=>({});ue&&(q.containerClass=ue.containerClass,q.selectorName=ue.selectorName||null,Pe=ue.getSelectorOptions||Pe);const ct=Object.assign({},q);return q.getSelectorOptions=()=>function os(N,ue){return Object.assign(Object.assign(Object.assign(Object.assign({},Cs.getOptions(N.containerClass)||{}),Cs.getOptions(N.originalFn)||{}),N.getSelectorOptions()||{}),ue)}(ct,Pe()),q}(ue,q);return ct.makeRootSelector=function Vs(N,ue,q){return Pe=>{const{argumentSelectorFunctions:ct,selectorOptions:ft}=function Qi(N,ue,q=[]){const Pe=ue.getSelectorOptions(),ct=N.getSelectorOptions(Pe),Qt=function Is(N=[],ue,q){const Pe=[];return q&&(0===N.length||ue.injectContainerState)&&Ce(q)&&Pe.push(q),N&&Pe.push(...N),Pe}(q,ct,ue.containerClass).map(En=>As(En)(N));return{selectorOptions:ct,argumentSelectorFunctions:Qt}}(Pe,N,ue);return function(En){const Zn=ct.map(Sn=>Sn(En));try{return q(...Zn)}catch(Sn){if(Sn instanceof TypeError&&ft.suppressErrors)return;throw Sn}}}}(ct,N,Pe),Pe}function Ar(N){return(ue,q,Pe)=>{Pe||(Pe=Object.getOwnPropertyDescriptor(ue,q));const ct=Pe?.value,ft=es(N,ct,{containerClass:ue,selectorName:q.toString(),getSelectorOptions:()=>({})}),Qt={configurable:!0,get:()=>ft};return Qt.originalFn=ct,Qt}}class Hi{constructor(ue){this.name=ue,Te(this).makeRootSelector=Pe=>Pe.getStateGetter(this.name)}getName(){return this.name}toString(){return`StateToken[${this.name}]`}}},1992:function(lt,me,u){!function(s,d,o){"use strict";function f(rn){return rn&&"object"==typeof rn&&"default"in rn?rn:{default:rn}}var l=f(d),i=f(o);function y(rn,Bt){for(var St=0;St<Bt.length;St++){var ee=Bt[St];ee.enumerable=ee.enumerable||!1,ee.configurable=!0,"value"in ee&&(ee.writable=!0),Object.defineProperty(rn,ee.key,ee)}}function _(rn,Bt,St){return Bt&&y(rn.prototype,Bt),St&&y(rn,St),Object.defineProperty(rn,"prototype",{writable:!1}),rn}function I(){return I=Object.assign?Object.assign.bind():function(rn){for(var Bt=1;Bt<arguments.length;Bt++){var St=arguments[Bt];for(var ee in St)Object.prototype.hasOwnProperty.call(St,ee)&&(rn[ee]=St[ee])}return rn},I.apply(this,arguments)}function B(rn,Bt){rn.prototype=Object.create(Bt.prototype),rn.prototype.constructor=rn,K(rn,Bt)}function K(rn,Bt){return(K=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ee,tt){return ee.__proto__=tt,ee})(rn,Bt)}var ie="transitionend";function _e(rn){var Bt=this,St=!1;return l.default(this).one(ke.TRANSITION_END,function(){St=!0}),setTimeout(function(){St||ke.triggerTransitionEnd(Bt)},rn),this}var ke={TRANSITION_END:"bsTransitionEnd",getUID:function(Bt){do{Bt+=~~(1e6*Math.random())}while(document.getElementById(Bt));return Bt},getSelectorFromElement:function(Bt){var St=Bt.getAttribute("data-target");if(!St||"#"===St){var ee=Bt.getAttribute("href");St=ee&&"#"!==ee?ee.trim():""}try{return document.querySelector(St)?St:null}catch{return null}},getTransitionDurationFromElement:function(Bt){if(!Bt)return 0;var St=l.default(Bt).css("transition-duration"),ee=l.default(Bt).css("transition-delay"),tt=parseFloat(St),wt=parseFloat(ee);return tt||wt?(St=St.split(",")[0],ee=ee.split(",")[0],1e3*(parseFloat(St)+parseFloat(ee))):0},reflow:function(Bt){return Bt.offsetHeight},triggerTransitionEnd:function(Bt){l.default(Bt).trigger(ie)},supportsTransitionEnd:function(){return!!ie},isElement:function(Bt){return(Bt[0]||Bt).nodeType},typeCheckConfig:function(Bt,St,ee){for(var tt in ee)if(Object.prototype.hasOwnProperty.call(ee,tt)){var wt=ee[tt],cn=St[tt],pn=cn&&ke.isElement(cn)?"element":null===(rn=cn)||typeof rn>"u"?""+rn:{}.toString.call(rn).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(wt).test(pn))throw new Error(Bt.toUpperCase()+': Option "'+tt+'" provided type "'+pn+'" but expected type "'+wt+'".')}var rn},findShadowRoot:function(Bt){if(!document.documentElement.attachShadow)return null;if("function"==typeof Bt.getRootNode){var St=Bt.getRootNode();return St instanceof ShadowRoot?St:null}return Bt instanceof ShadowRoot?Bt:Bt.parentNode?ke.findShadowRoot(Bt.parentNode):null},jQueryDetection:function(){if(typeof l.default>"u")throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var Bt=l.default.fn.jquery.split(" ")[0].split(".");if(Bt[0]<2&&Bt[1]<9||1===Bt[0]&&9===Bt[1]&&Bt[2]<1||Bt[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};ke.jQueryDetection(),function j(){l.default.fn.emulateTransitionEnd=_e,l.default.event.special[ke.TRANSITION_END]=function Z(){return{bindType:ie,delegateType:ie,handle:function(Bt){if(l.default(Bt.target).is(this))return Bt.handleObj.handler.apply(this,arguments)}}}()}();var rt="alert",ye="bs.alert",Y="."+ye,X=l.default.fn[rt],Fe="close"+Y,Se="closed"+Y,ot="click"+Y+".data-api",pt=function(){function rn(St){this._element=St}var Bt=rn.prototype;return Bt.close=function(ee){var tt=this._element;ee&&(tt=this._getRootElement(ee)),this._triggerCloseEvent(tt).isDefaultPrevented()||this._removeElement(tt)},Bt.dispose=function(){l.default.removeData(this._element,ye),this._element=null},Bt._getRootElement=function(ee){var tt=ke.getSelectorFromElement(ee),wt=!1;return tt&&(wt=document.querySelector(tt)),wt||(wt=l.default(ee).closest(".alert")[0]),wt},Bt._triggerCloseEvent=function(ee){var tt=l.default.Event(Fe);return l.default(ee).trigger(tt),tt},Bt._removeElement=function(ee){var tt=this;if(l.default(ee).removeClass("show"),l.default(ee).hasClass("fade")){var wt=ke.getTransitionDurationFromElement(ee);l.default(ee).one(ke.TRANSITION_END,function(cn){return tt._destroyElement(ee,cn)}).emulateTransitionEnd(wt)}else this._destroyElement(ee)},Bt._destroyElement=function(ee){l.default(ee).detach().trigger(Se).remove()},rn._jQueryInterface=function(ee){return this.each(function(){var tt=l.default(this),wt=tt.data(ye);wt||(wt=new rn(this),tt.data(ye,wt)),"close"===ee&&wt[ee](this)})},rn._handleDismiss=function(ee){return function(tt){tt&&tt.preventDefault(),ee.close(this)}},_(rn,null,[{key:"VERSION",get:function(){return"4.6.2"}}]),rn}();l.default(document).on(ot,'[data-dismiss="alert"]',pt._handleDismiss(new pt)),l.default.fn[rt]=pt._jQueryInterface,l.default.fn[rt].Constructor=pt,l.default.fn[rt].noConflict=function(){return l.default.fn[rt]=X,pt._jQueryInterface};var Gt="button",Je="bs.button",ce="."+Je,Ae=".data-api",L=l.default.fn[Gt],H="active",je="click"+ce+Ae,dt="focus"+ce+Ae+" blur"+ce+Ae,Et="load"+ce+Ae,Ye='[data-toggle^="button"]',Ct='input:not([type="hidden"])',vt=function(){function rn(St){this._element=St,this.shouldAvoidTriggerChange=!1}var Bt=rn.prototype;return Bt.toggle=function(){var ee=!0,tt=!0,wt=l.default(this._element).closest('[data-toggle="buttons"]')[0];if(wt){var cn=this._element.querySelector(Ct);if(cn){if("radio"===cn.type)if(cn.checked&&this._element.classList.contains(H))ee=!1;else{var pn=wt.querySelector(".active");pn&&l.default(pn).removeClass(H)}ee&&(("checkbox"===cn.type||"radio"===cn.type)&&(cn.checked=!this._element.classList.contains(H)),this.shouldAvoidTriggerChange||l.default(cn).trigger("change")),cn.focus(),tt=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(tt&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(H)),ee&&l.default(this._element).toggleClass(H))},Bt.dispose=function(){l.default.removeData(this._element,Je),this._element=null},rn._jQueryInterface=function(ee,tt){return this.each(function(){var wt=l.default(this),cn=wt.data(Je);cn||(cn=new rn(this),wt.data(Je,cn)),cn.shouldAvoidTriggerChange=tt,"toggle"===ee&&cn[ee]()})},_(rn,null,[{key:"VERSION",get:function(){return"4.6.2"}}]),rn}();l.default(document).on(je,Ye,function(rn){var Bt=rn.target,St=Bt;if(l.default(Bt).hasClass("btn")||(Bt=l.default(Bt).closest(".btn")[0]),!Bt||Bt.hasAttribute("disabled")||Bt.classList.contains("disabled"))rn.preventDefault();else{var ee=Bt.querySelector(Ct);if(ee&&(ee.hasAttribute("disabled")||ee.classList.contains("disabled")))return void rn.preventDefault();("INPUT"===St.tagName||"LABEL"!==Bt.tagName)&&vt._jQueryInterface.call(l.default(Bt),"toggle","INPUT"===St.tagName)}}).on(dt,Ye,function(rn){var Bt=l.default(rn.target).closest(".btn")[0];l.default(Bt).toggleClass("focus",/^focus(in)?$/.test(rn.type))}),l.default(window).on(Et,function(){for(var rn=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),Bt=0,St=rn.length;Bt<St;Bt++){var ee=rn[Bt],tt=ee.querySelector(Ct);tt.checked||tt.hasAttribute("checked")?ee.classList.add(H):ee.classList.remove(H)}for(var wt=0,cn=(rn=[].slice.call(document.querySelectorAll('[data-toggle="button"]'))).length;wt<cn;wt++){var pn=rn[wt];"true"===pn.getAttribute("aria-pressed")?pn.classList.add(H):pn.classList.remove(H)}}),l.default.fn[Gt]=vt._jQueryInterface,l.default.fn[Gt].Constructor=vt,l.default.fn[Gt].noConflict=function(){return l.default.fn[Gt]=L,vt._jQueryInterface};var Ot="carousel",Ne="bs.carousel",He="."+Ne,Me=".data-api",st=l.default.fn[Ot],zt="active",Bn="next",ti="prev",It="slide"+He,en="slid"+He,Vt="keydown"+He,We="mouseenter"+He,De="mouseleave"+He,fe="touchstart"+He,F="touchmove"+He,Ce="touchend"+He,Te="pointerdown"+He,at="pointerup"+He,Oe="dragstart"+He,it="load"+He+Me,bt="click"+He+Me,mn=".active.carousel-item",Oi={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},Er={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},Vr={TOUCH:"touch",PEN:"pen"},Mi=function(){function rn(St,ee){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(ee),this._element=St,this._indicatorsElement=this._element.querySelector(".carousel-indicators"),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=!(!window.PointerEvent&&!window.MSPointerEvent),this._addEventListeners()}var Bt=rn.prototype;return Bt.next=function(){this._isSliding||this._slide(Bn)},Bt.nextWhenVisible=function(){var ee=l.default(this._element);!document.hidden&&ee.is(":visible")&&"hidden"!==ee.css("visibility")&&this.next()},Bt.prev=function(){this._isSliding||this._slide(ti)},Bt.pause=function(ee){ee||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(ke.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},Bt.cycle=function(ee){ee||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},Bt.to=function(ee){var tt=this;this._activeElement=this._element.querySelector(mn);var wt=this._getItemIndex(this._activeElement);if(!(ee>this._items.length-1||ee<0)){if(this._isSliding)return void l.default(this._element).one(en,function(){return tt.to(ee)});if(wt===ee)return this.pause(),void this.cycle();this._slide(ee>wt?Bn:ti,this._items[ee])}},Bt.dispose=function(){l.default(this._element).off(He),l.default.removeData(this._element,Ne),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},Bt._getConfig=function(ee){return ee=I({},Oi,ee),ke.typeCheckConfig(Ot,ee,Er),ee},Bt._handleSwipe=function(){var ee=Math.abs(this.touchDeltaX);if(!(ee<=40)){var tt=ee/this.touchDeltaX;this.touchDeltaX=0,tt>0&&this.prev(),tt<0&&this.next()}},Bt._addEventListeners=function(){var ee=this;this._config.keyboard&&l.default(this._element).on(Vt,function(tt){return ee._keydown(tt)}),"hover"===this._config.pause&&l.default(this._element).on(We,function(tt){return ee.pause(tt)}).on(De,function(tt){return ee.cycle(tt)}),this._config.touch&&this._addTouchEventListeners()},Bt._addTouchEventListeners=function(){var ee=this;if(this._touchSupported){var tt=function(Tn){ee._pointerEvent&&Vr[Tn.originalEvent.pointerType.toUpperCase()]?ee.touchStartX=Tn.originalEvent.clientX:ee._pointerEvent||(ee.touchStartX=Tn.originalEvent.touches[0].clientX)},cn=function(Tn){ee._pointerEvent&&Vr[Tn.originalEvent.pointerType.toUpperCase()]&&(ee.touchDeltaX=Tn.originalEvent.clientX-ee.touchStartX),ee._handleSwipe(),"hover"===ee._config.pause&&(ee.pause(),ee.touchTimeout&&clearTimeout(ee.touchTimeout),ee.touchTimeout=setTimeout(function(hi){return ee.cycle(hi)},500+ee._config.interval))};l.default(this._element.querySelectorAll(".carousel-item img")).on(Oe,function(pn){return pn.preventDefault()}),this._pointerEvent?(l.default(this._element).on(Te,function(pn){return tt(pn)}),l.default(this._element).on(at,function(pn){return cn(pn)}),this._element.classList.add("pointer-event")):(l.default(this._element).on(fe,function(pn){return tt(pn)}),l.default(this._element).on(F,function(pn){var Tn;ee.touchDeltaX=(Tn=pn).originalEvent.touches&&Tn.originalEvent.touches.length>1?0:Tn.originalEvent.touches[0].clientX-ee.touchStartX}),l.default(this._element).on(Ce,function(pn){return cn(pn)}))}},Bt._keydown=function(ee){if(!/input|textarea/i.test(ee.target.tagName))switch(ee.which){case 37:ee.preventDefault(),this.prev();break;case 39:ee.preventDefault(),this.next()}},Bt._getItemIndex=function(ee){return this._items=ee&&ee.parentNode?[].slice.call(ee.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(ee)},Bt._getItemByDirection=function(ee,tt){var wt=ee===Bn,cn=ee===ti,pn=this._getItemIndex(tt);if((cn&&0===pn||wt&&pn===this._items.length-1)&&!this._config.wrap)return tt;var vr=(pn+(ee===ti?-1:1))%this._items.length;return-1===vr?this._items[this._items.length-1]:this._items[vr]},Bt._triggerSlideEvent=function(ee,tt){var wt=this._getItemIndex(ee),cn=this._getItemIndex(this._element.querySelector(mn)),pn=l.default.Event(It,{relatedTarget:ee,direction:tt,from:cn,to:wt});return l.default(this._element).trigger(pn),pn},Bt._setActiveIndicatorElement=function(ee){if(this._indicatorsElement){var tt=[].slice.call(this._indicatorsElement.querySelectorAll(".active"));l.default(tt).removeClass(zt);var wt=this._indicatorsElement.children[this._getItemIndex(ee)];wt&&l.default(wt).addClass(zt)}},Bt._updateInterval=function(){var ee=this._activeElement||this._element.querySelector(mn);if(ee){var tt=parseInt(ee.getAttribute("data-interval"),10);tt?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=tt):this._config.interval=this._config.defaultInterval||this._config.interval}},Bt._slide=function(ee,tt){var vr,ps,Ks,wt=this,cn=this._element.querySelector(mn),pn=this._getItemIndex(cn),Tn=tt||cn&&this._getItemByDirection(ee,cn),hi=this._getItemIndex(Tn),tr=!!this._interval;if(ee===Bn?(vr="carousel-item-left",ps="carousel-item-next",Ks="left"):(vr="carousel-item-right",ps="carousel-item-prev",Ks="right"),Tn&&l.default(Tn).hasClass(zt))this._isSliding=!1;else if(!this._triggerSlideEvent(Tn,Ks).isDefaultPrevented()&&cn&&Tn){this._isSliding=!0,tr&&this.pause(),this._setActiveIndicatorElement(Tn),this._activeElement=Tn;var Ko=l.default.Event(en,{relatedTarget:Tn,direction:Ks,from:pn,to:hi});if(l.default(this._element).hasClass("slide")){l.default(Tn).addClass(ps),ke.reflow(Tn),l.default(cn).addClass(vr),l.default(Tn).addClass(vr);var Vo=ke.getTransitionDurationFromElement(cn);l.default(cn).one(ke.TRANSITION_END,function(){l.default(Tn).removeClass(vr+" "+ps).addClass(zt),l.default(cn).removeClass(zt+" "+ps+" "+vr),wt._isSliding=!1,setTimeout(function(){return l.default(wt._element).trigger(Ko)},0)}).emulateTransitionEnd(Vo)}else l.default(cn).removeClass(zt),l.default(Tn).addClass(zt),this._isSliding=!1,l.default(this._element).trigger(Ko);tr&&this.cycle()}},rn._jQueryInterface=function(ee){return this.each(function(){var tt=l.default(this).data(Ne),wt=I({},Oi,l.default(this).data());"object"==typeof ee&&(wt=I({},wt,ee));var cn="string"==typeof ee?ee:wt.slide;if(tt||(tt=new rn(this,wt),l.default(this).data(Ne,tt)),"number"==typeof ee)tt.to(ee);else if("string"==typeof cn){if(typeof tt[cn]>"u")throw new TypeError('No method named "'+cn+'"');tt[cn]()}else wt.interval&&wt.ride&&(tt.pause(),tt.cycle())})},rn._dataApiClickHandler=function(ee){var tt=ke.getSelectorFromElement(this);if(tt){var wt=l.default(tt)[0];if(wt&&l.default(wt).hasClass("carousel")){var cn=I({},l.default(wt).data(),l.default(this).data()),pn=this.getAttribute("data-slide-to");pn&&(cn.interval=!1),rn._jQueryInterface.call(l.default(wt),cn),pn&&l.default(wt).data(Ne).to(pn),ee.preventDefault()}}},_(rn,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return Oi}}]),rn}();l.default(document).on(bt,"[data-slide], [data-slide-to]",Mi._dataApiClickHandler),l.default(window).on(it,function(){for(var rn=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),Bt=0,St=rn.length;Bt<St;Bt++){var ee=l.default(rn[Bt]);Mi._jQueryInterface.call(ee,ee.data())}}),l.default.fn[Ot]=Mi._jQueryInterface,l.default.fn[Ot].Constructor=Mi,l.default.fn[Ot].noConflict=function(){return l.default.fn[Ot]=st,Mi._jQueryInterface};var qn="collapse",ur="bs.collapse",Nr="."+ur,Tr=l.default.fn[qn],wr="show",Qr="collapse",ht="collapsing",xt="collapsed",nn="show"+Nr,Pn="shown"+Nr,In="hide"+Nr,fi="hidden"+Nr,Kn="click"+Nr+".data-api",Ii='[data-toggle="collapse"]',ii={toggle:!0,parent:""},ui={toggle:"boolean",parent:"(string|element)"},Ai=function(){function rn(St,ee){this._isTransitioning=!1,this._element=St,this._config=this._getConfig(ee),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+St.id+'"],[data-toggle="collapse"][data-target="#'+St.id+'"]'));for(var tt=[].slice.call(document.querySelectorAll(Ii)),wt=0,cn=tt.length;wt<cn;wt++){var pn=tt[wt],Tn=ke.getSelectorFromElement(pn),hi=[].slice.call(document.querySelectorAll(Tn)).filter(function(tr){return tr===St});null!==Tn&&hi.length>0&&(this._selector=Tn,this._triggerArray.push(pn))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var Bt=rn.prototype;return Bt.toggle=function(){l.default(this._element).hasClass(wr)?this.hide():this.show()},Bt.show=function(){var tt,wt,ee=this;if(!(this._isTransitioning||l.default(this._element).hasClass(wr)||(this._parent&&0===(tt=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter(function(ps){return"string"==typeof ee._config.parent?ps.getAttribute("data-parent")===ee._config.parent:ps.classList.contains(Qr)})).length&&(tt=null),tt&&(wt=l.default(tt).not(this._selector).data(ur),wt&&wt._isTransitioning)))){var cn=l.default.Event(nn);if(l.default(this._element).trigger(cn),!cn.isDefaultPrevented()){tt&&(rn._jQueryInterface.call(l.default(tt).not(this._selector),"hide"),wt||l.default(tt).data(ur,null));var pn=this._getDimension();l.default(this._element).removeClass(Qr).addClass(ht),this._element.style[pn]=0,this._triggerArray.length&&l.default(this._triggerArray).removeClass(xt).attr("aria-expanded",!0),this.setTransitioning(!0);var tr="scroll"+(pn[0].toUpperCase()+pn.slice(1)),vr=ke.getTransitionDurationFromElement(this._element);l.default(this._element).one(ke.TRANSITION_END,function(){l.default(ee._element).removeClass(ht).addClass(Qr+" "+wr),ee._element.style[pn]="",ee.setTransitioning(!1),l.default(ee._element).trigger(Pn)}).emulateTransitionEnd(vr),this._element.style[pn]=this._element[tr]+"px"}}},Bt.hide=function(){var ee=this;if(!this._isTransitioning&&l.default(this._element).hasClass(wr)){var tt=l.default.Event(In);if(l.default(this._element).trigger(tt),!tt.isDefaultPrevented()){var wt=this._getDimension();this._element.style[wt]=this._element.getBoundingClientRect()[wt]+"px",ke.reflow(this._element),l.default(this._element).addClass(ht).removeClass(Qr+" "+wr);var cn=this._triggerArray.length;if(cn>0)for(var pn=0;pn<cn;pn++){var Tn=this._triggerArray[pn],hi=ke.getSelectorFromElement(Tn);null!==hi&&(l.default([].slice.call(document.querySelectorAll(hi))).hasClass(wr)||l.default(Tn).addClass(xt).attr("aria-expanded",!1))}this.setTransitioning(!0);this._element.style[wt]="";var ps=ke.getTransitionDurationFromElement(this._element);l.default(this._element).one(ke.TRANSITION_END,function(){ee.setTransitioning(!1),l.default(ee._element).removeClass(ht).addClass(Qr).trigger(fi)}).emulateTransitionEnd(ps)}}},Bt.setTransitioning=function(ee){this._isTransitioning=ee},Bt.dispose=function(){l.default.removeData(this._element,ur),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},Bt._getConfig=function(ee){return(ee=I({},ii,ee)).toggle=!!ee.toggle,ke.typeCheckConfig(qn,ee,ui),ee},Bt._getDimension=function(){return l.default(this._element).hasClass("width")?"width":"height"},Bt._getParent=function(){var tt,ee=this;ke.isElement(this._config.parent)?(tt=this._config.parent,typeof this._config.parent.jquery<"u"&&(tt=this._config.parent[0])):tt=document.querySelector(this._config.parent);var cn=[].slice.call(tt.querySelectorAll('[data-toggle="collapse"][data-parent="'+this._config.parent+'"]'));return l.default(cn).each(function(pn,Tn){ee._addAriaAndCollapsedClass(rn._getTargetFromElement(Tn),[Tn])}),tt},Bt._addAriaAndCollapsedClass=function(ee,tt){var wt=l.default(ee).hasClass(wr);tt.length&&l.default(tt).toggleClass(xt,!wt).attr("aria-expanded",wt)},rn._getTargetFromElement=function(ee){var tt=ke.getSelectorFromElement(ee);return tt?document.querySelector(tt):null},rn._jQueryInterface=function(ee){return this.each(function(){var tt=l.default(this),wt=tt.data(ur),cn=I({},ii,tt.data(),"object"==typeof ee&&ee?ee:{});if(!wt&&cn.toggle&&"string"==typeof ee&&/show|hide/.test(ee)&&(cn.toggle=!1),wt||(wt=new rn(this,cn),tt.data(ur,wt)),"string"==typeof ee){if(typeof wt[ee]>"u")throw new TypeError('No method named "'+ee+'"');wt[ee]()}})},_(rn,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return ii}}]),rn}();l.default(document).on(Kn,Ii,function(rn){"A"===rn.currentTarget.tagName&&rn.preventDefault();var Bt=l.default(this),St=ke.getSelectorFromElement(this),ee=[].slice.call(document.querySelectorAll(St));l.default(ee).each(function(){var tt=l.default(this),cn=tt.data(ur)?"toggle":Bt.data();Ai._jQueryInterface.call(tt,cn)})}),l.default.fn[qn]=Ai._jQueryInterface,l.default.fn[qn].Constructor=Ai,l.default.fn[qn].noConflict=function(){return l.default.fn[qn]=Tr,Ai._jQueryInterface};var Xi="dropdown",mi="bs.dropdown",Ui="."+mi,Dr=".data-api",dr=l.default.fn[Xi],Hr=new RegExp("38|40|27"),Or="disabled",Pr="show",Vs="dropdown-menu-right",Qi="hide"+Ui,Is="hidden"+Ui,As="show"+Ui,gs="shown"+Ui,mr="click"+Ui,xr="click"+Ui+Dr,Zr="keydown"+Ui+Dr,Ns="keyup"+Ui+Dr,Ss='[data-toggle="dropdown"]',vs=".dropdown-menu",Cs={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},qr={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},os=function(){function rn(St,ee){this._element=St,this._popper=null,this._config=this._getConfig(ee),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var Bt=rn.prototype;return Bt.toggle=function(){if(!this._element.disabled&&!l.default(this._element).hasClass(Or)){var ee=l.default(this._menu).hasClass(Pr);rn._clearMenus(),!ee&&this.show(!0)}},Bt.show=function(ee){if(void 0===ee&&(ee=!1),!(this._element.disabled||l.default(this._element).hasClass(Or)||l.default(this._menu).hasClass(Pr))){var tt={relatedTarget:this._element},wt=l.default.Event(As,tt),cn=rn._getParentFromElement(this._element);if(l.default(cn).trigger(wt),!wt.isDefaultPrevented()){if(!this._inNavbar&&ee){if(typeof i.default>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");var pn=this._element;"parent"===this._config.reference?pn=cn:ke.isElement(this._config.reference)&&(pn=this._config.reference,typeof this._config.reference.jquery<"u"&&(pn=this._config.reference[0])),"scrollParent"!==this._config.boundary&&l.default(cn).addClass("position-static"),this._popper=new i.default(pn,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===l.default(cn).closest(".navbar-nav").length&&l.default(document.body).children().on("mouseover",null,l.default.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),l.default(this._menu).toggleClass(Pr),l.default(cn).toggleClass(Pr).trigger(l.default.Event(gs,tt))}}},Bt.hide=function(){if(!this._element.disabled&&!l.default(this._element).hasClass(Or)&&l.default(this._menu).hasClass(Pr)){var ee={relatedTarget:this._element},tt=l.default.Event(Qi,ee),wt=rn._getParentFromElement(this._element);l.default(wt).trigger(tt),!tt.isDefaultPrevented()&&(this._popper&&this._popper.destroy(),l.default(this._menu).toggleClass(Pr),l.default(wt).toggleClass(Pr).trigger(l.default.Event(Is,ee)))}},Bt.dispose=function(){l.default.removeData(this._element,mi),l.default(this._element).off(Ui),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},Bt.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},Bt._addEventListeners=function(){var ee=this;l.default(this._element).on(mr,function(tt){tt.preventDefault(),tt.stopPropagation(),ee.toggle()})},Bt._getConfig=function(ee){return ee=I({},this.constructor.Default,l.default(this._element).data(),ee),ke.typeCheckConfig(Xi,ee,this.constructor.DefaultType),ee},Bt._getMenuElement=function(){if(!this._menu){var ee=rn._getParentFromElement(this._element);ee&&(this._menu=ee.querySelector(vs))}return this._menu},Bt._getPlacement=function(){var ee=l.default(this._element.parentNode),tt="bottom-start";return ee.hasClass("dropup")?tt=l.default(this._menu).hasClass(Vs)?"top-end":"top-start":ee.hasClass("dropright")?tt="right-start":ee.hasClass("dropleft")?tt="left-start":l.default(this._menu).hasClass(Vs)&&(tt="bottom-end"),tt},Bt._detectNavbar=function(){return l.default(this._element).closest(".navbar").length>0},Bt._getOffset=function(){var ee=this,tt={};return"function"==typeof this._config.offset?tt.fn=function(wt){return wt.offsets=I({},wt.offsets,ee._config.offset(wt.offsets,ee._element)),wt}:tt.offset=this._config.offset,tt},Bt._getPopperConfig=function(){var ee={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(ee.modifiers.applyStyle={enabled:!1}),I({},ee,this._config.popperConfig)},rn._jQueryInterface=function(ee){return this.each(function(){var tt=l.default(this).data(mi);if(tt||(tt=new rn(this,"object"==typeof ee?ee:null),l.default(this).data(mi,tt)),"string"==typeof ee){if(typeof tt[ee]>"u")throw new TypeError('No method named "'+ee+'"');tt[ee]()}})},rn._clearMenus=function(ee){if(!ee||3!==ee.which&&("keyup"!==ee.type||9===ee.which))for(var tt=[].slice.call(document.querySelectorAll(Ss)),wt=0,cn=tt.length;wt<cn;wt++){var pn=rn._getParentFromElement(tt[wt]),Tn=l.default(tt[wt]).data(mi),hi={relatedTarget:tt[wt]};if(ee&&"click"===ee.type&&(hi.clickEvent=ee),Tn){var tr=Tn._menu;if(l.default(pn).hasClass(Pr)&&!(ee&&("click"===ee.type&&/input|textarea/i.test(ee.target.tagName)||"keyup"===ee.type&&9===ee.which)&&l.default.contains(pn,ee.target))){var vr=l.default.Event(Qi,hi);l.default(pn).trigger(vr),!vr.isDefaultPrevented()&&("ontouchstart"in document.documentElement&&l.default(document.body).children().off("mouseover",null,l.default.noop),tt[wt].setAttribute("aria-expanded","false"),Tn._popper&&Tn._popper.destroy(),l.default(tr).removeClass(Pr),l.default(pn).removeClass(Pr).trigger(l.default.Event(Is,hi)))}}}},rn._getParentFromElement=function(ee){var tt,wt=ke.getSelectorFromElement(ee);return wt&&(tt=document.querySelector(wt)),tt||ee.parentNode},rn._dataApiKeydownHandler=function(ee){if(!(/input|textarea/i.test(ee.target.tagName)?32===ee.which||27!==ee.which&&(40!==ee.which&&38!==ee.which||l.default(ee.target).closest(vs).length):!Hr.test(ee.which))&&!this.disabled&&!l.default(this).hasClass(Or)){var tt=rn._getParentFromElement(this),wt=l.default(tt).hasClass(Pr);if(wt||27!==ee.which){if(ee.preventDefault(),ee.stopPropagation(),!wt||27===ee.which||32===ee.which)return 27===ee.which&&l.default(tt.querySelector(Ss)).trigger("focus"),void l.default(this).trigger("click");var cn=[].slice.call(tt.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter(function(Tn){return l.default(Tn).is(":visible")});if(0!==cn.length){var pn=cn.indexOf(ee.target);38===ee.which&&pn>0&&pn--,40===ee.which&&pn<cn.length-1&&pn++,pn<0&&(pn=0),cn[pn].focus()}}}},_(rn,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return Cs}},{key:"DefaultType",get:function(){return qr}}]),rn}();l.default(document).on(Zr,Ss,os._dataApiKeydownHandler).on(Zr,vs,os._dataApiKeydownHandler).on(xr+" "+Ns,os._clearMenus).on(xr,Ss,function(rn){rn.preventDefault(),rn.stopPropagation(),os._jQueryInterface.call(l.default(this),"toggle")}).on(xr,".dropdown form",function(rn){rn.stopPropagation()}),l.default.fn[Xi]=os._jQueryInterface,l.default.fn[Xi].Constructor=os,l.default.fn[Xi].noConflict=function(){return l.default.fn[Xi]=dr,os._jQueryInterface};var Os="modal",as="bs.modal",Ei="."+as,es=l.default.fn[Os],G="modal-open",Q="fade",we="show",Ee="modal-static",Ze="hide"+Ei,N="hidePrevented"+Ei,ue="hidden"+Ei,q="show"+Ei,Pe="shown"+Ei,ct="focusin"+Ei,ft="resize"+Ei,Qt="click.dismiss"+Ei,En="keydown.dismiss"+Ei,Zn="mouseup.dismiss"+Ei,Sn="mousedown.dismiss"+Ei,zi="click"+Ei+".data-api",Mr=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",bi=".sticky-top",or={backdrop:!0,keyboard:!0,focus:!0,show:!0},Rs={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},he=function(){function rn(St,ee){this._config=this._getConfig(ee),this._element=St,this._dialog=St.querySelector(".modal-dialog"),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var Bt=rn.prototype;return Bt.toggle=function(ee){return this._isShown?this.hide():this.show(ee)},Bt.show=function(ee){var tt=this;if(!this._isShown&&!this._isTransitioning){var wt=l.default.Event(q,{relatedTarget:ee});l.default(this._element).trigger(wt),!wt.isDefaultPrevented()&&(this._isShown=!0,l.default(this._element).hasClass(Q)&&(this._isTransitioning=!0),this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),l.default(this._element).on(Qt,'[data-dismiss="modal"]',function(cn){return tt.hide(cn)}),l.default(this._dialog).on(Sn,function(){l.default(tt._element).one(Zn,function(cn){l.default(cn.target).is(tt._element)&&(tt._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return tt._showElement(ee)}))}},Bt.hide=function(ee){var tt=this;if(ee&&ee.preventDefault(),this._isShown&&!this._isTransitioning){var wt=l.default.Event(Ze);if(l.default(this._element).trigger(wt),this._isShown&&!wt.isDefaultPrevented()){this._isShown=!1;var cn=l.default(this._element).hasClass(Q);if(cn&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),l.default(document).off(ct),l.default(this._element).removeClass(we),l.default(this._element).off(Qt),l.default(this._dialog).off(Sn),cn){var pn=ke.getTransitionDurationFromElement(this._element);l.default(this._element).one(ke.TRANSITION_END,function(Tn){return tt._hideModal(Tn)}).emulateTransitionEnd(pn)}else this._hideModal()}}},Bt.dispose=function(){[window,this._element,this._dialog].forEach(function(ee){return l.default(ee).off(Ei)}),l.default(document).off(ct),l.default.removeData(this._element,as),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},Bt.handleUpdate=function(){this._adjustDialog()},Bt._getConfig=function(ee){return ee=I({},or,ee),ke.typeCheckConfig(Os,ee,Rs),ee},Bt._triggerBackdropTransition=function(){var ee=this,tt=l.default.Event(N);if(l.default(this._element).trigger(tt),!tt.isDefaultPrevented()){var wt=this._element.scrollHeight>document.documentElement.clientHeight;wt||(this._element.style.overflowY="hidden"),this._element.classList.add(Ee);var cn=ke.getTransitionDurationFromElement(this._dialog);l.default(this._element).off(ke.TRANSITION_END),l.default(this._element).one(ke.TRANSITION_END,function(){ee._element.classList.remove(Ee),wt||l.default(ee._element).one(ke.TRANSITION_END,function(){ee._element.style.overflowY=""}).emulateTransitionEnd(ee._element,cn)}).emulateTransitionEnd(cn),this._element.focus()}},Bt._showElement=function(ee){var tt=this,wt=l.default(this._element).hasClass(Q),cn=this._dialog?this._dialog.querySelector(".modal-body"):null;(!this._element.parentNode||this._element.parentNode.nodeType!==Node.ELEMENT_NODE)&&document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),l.default(this._dialog).hasClass("modal-dialog-scrollable")&&cn?cn.scrollTop=0:this._element.scrollTop=0,wt&&ke.reflow(this._element),l.default(this._element).addClass(we),this._config.focus&&this._enforceFocus();var pn=l.default.Event(Pe,{relatedTarget:ee}),Tn=function(){tt._config.focus&&tt._element.focus(),tt._isTransitioning=!1,l.default(tt._element).trigger(pn)};if(wt){var hi=ke.getTransitionDurationFromElement(this._dialog);l.default(this._dialog).one(ke.TRANSITION_END,Tn).emulateTransitionEnd(hi)}else Tn()},Bt._enforceFocus=function(){var ee=this;l.default(document).off(ct).on(ct,function(tt){document!==tt.target&&ee._element!==tt.target&&0===l.default(ee._element).has(tt.target).length&&ee._element.focus()})},Bt._setEscapeEvent=function(){var ee=this;this._isShown?l.default(this._element).on(En,function(tt){ee._config.keyboard&&27===tt.which?(tt.preventDefault(),ee.hide()):!ee._config.keyboard&&27===tt.which&&ee._triggerBackdropTransition()}):this._isShown||l.default(this._element).off(En)},Bt._setResizeEvent=function(){var ee=this;this._isShown?l.default(window).on(ft,function(tt){return ee.handleUpdate(tt)}):l.default(window).off(ft)},Bt._hideModal=function(){var ee=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop(function(){l.default(document.body).removeClass(G),ee._resetAdjustments(),ee._resetScrollbar(),l.default(ee._element).trigger(ue)})},Bt._removeBackdrop=function(){this._backdrop&&(l.default(this._backdrop).remove(),this._backdrop=null)},Bt._showBackdrop=function(ee){var tt=this,wt=l.default(this._element).hasClass(Q)?Q:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",wt&&this._backdrop.classList.add(wt),l.default(this._backdrop).appendTo(document.body),l.default(this._element).on(Qt,function(hi){tt._ignoreBackdropClick?tt._ignoreBackdropClick=!1:hi.target===hi.currentTarget&&("static"===tt._config.backdrop?tt._triggerBackdropTransition():tt.hide())}),wt&&ke.reflow(this._backdrop),l.default(this._backdrop).addClass(we),!ee)return;if(!wt)return void ee();var cn=ke.getTransitionDurationFromElement(this._backdrop);l.default(this._backdrop).one(ke.TRANSITION_END,ee).emulateTransitionEnd(cn)}else if(!this._isShown&&this._backdrop){l.default(this._backdrop).removeClass(we);var pn=function(){tt._removeBackdrop(),ee&&ee()};if(l.default(this._element).hasClass(Q)){var Tn=ke.getTransitionDurationFromElement(this._backdrop);l.default(this._backdrop).one(ke.TRANSITION_END,pn).emulateTransitionEnd(Tn)}else pn()}else ee&&ee()},Bt._adjustDialog=function(){var ee=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&ee&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!ee&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},Bt._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},Bt._checkScrollbar=function(){var ee=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(ee.left+ee.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},Bt._setScrollbar=function(){var ee=this;if(this._isBodyOverflowing){var tt=[].slice.call(document.querySelectorAll(Mr)),wt=[].slice.call(document.querySelectorAll(bi));l.default(tt).each(function(Tn,hi){var tr=hi.style.paddingRight,vr=l.default(hi).css("padding-right");l.default(hi).data("padding-right",tr).css("padding-right",parseFloat(vr)+ee._scrollbarWidth+"px")}),l.default(wt).each(function(Tn,hi){var tr=hi.style.marginRight,vr=l.default(hi).css("margin-right");l.default(hi).data("margin-right",tr).css("margin-right",parseFloat(vr)-ee._scrollbarWidth+"px")});var cn=document.body.style.paddingRight,pn=l.default(document.body).css("padding-right");l.default(document.body).data("padding-right",cn).css("padding-right",parseFloat(pn)+this._scrollbarWidth+"px")}l.default(document.body).addClass(G)},Bt._resetScrollbar=function(){var ee=[].slice.call(document.querySelectorAll(Mr));l.default(ee).each(function(cn,pn){var Tn=l.default(pn).data("padding-right");l.default(pn).removeData("padding-right"),pn.style.paddingRight=Tn||""});var tt=[].slice.call(document.querySelectorAll(""+bi));l.default(tt).each(function(cn,pn){var Tn=l.default(pn).data("margin-right");typeof Tn<"u"&&l.default(pn).css("margin-right",Tn).removeData("margin-right")});var wt=l.default(document.body).data("padding-right");l.default(document.body).removeData("padding-right"),document.body.style.paddingRight=wt||""},Bt._getScrollbarWidth=function(){var ee=document.createElement("div");ee.className="modal-scrollbar-measure",document.body.appendChild(ee);var tt=ee.getBoundingClientRect().width-ee.clientWidth;return document.body.removeChild(ee),tt},rn._jQueryInterface=function(ee,tt){return this.each(function(){var wt=l.default(this).data(as),cn=I({},or,l.default(this).data(),"object"==typeof ee&&ee?ee:{});if(wt||(wt=new rn(this,cn),l.default(this).data(as,wt)),"string"==typeof ee){if(typeof wt[ee]>"u")throw new TypeError('No method named "'+ee+'"');wt[ee](tt)}else cn.show&&wt.show(tt)})},_(rn,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return or}}]),rn}();l.default(document).on(zi,'[data-toggle="modal"]',function(rn){var St,Bt=this,ee=ke.getSelectorFromElement(this);ee&&(St=document.querySelector(ee));var tt=l.default(St).data(as)?"toggle":I({},l.default(St).data(),l.default(this).data());("A"===this.tagName||"AREA"===this.tagName)&&rn.preventDefault();var wt=l.default(St).one(q,function(cn){cn.isDefaultPrevented()||wt.one(ue,function(){l.default(Bt).is(":visible")&&Bt.focus()})});he._jQueryInterface.call(l.default(St),tt,this)}),l.default.fn[Os]=he._jQueryInterface,l.default.fn[Os].Constructor=he,l.default.fn[Os].noConflict=function(){return l.default.fn[Os]=es,he._jQueryInterface};var Ie=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],kt=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Yn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function M(rn,Bt,St){if(0===rn.length)return rn;if(St&&"function"==typeof St)return St(rn);for(var tt=(new window.DOMParser).parseFromString(rn,"text/html"),wt=Object.keys(Bt),cn=[].slice.call(tt.body.querySelectorAll("*")),pn=function(ps,Ks){var js=cn[ps],Ko=js.nodeName.toLowerCase();if(-1===wt.indexOf(js.nodeName.toLowerCase()))return js.parentNode.removeChild(js),"continue";var Vo=[].slice.call(js.attributes),Dl=[].concat(Bt["*"]||[],Bt[Ko]||[]);Vo.forEach(function(ka){(function ze(rn,Bt){var St=rn.nodeName.toLowerCase();if(-1!==Bt.indexOf(St))return-1===Ie.indexOf(St)||!(!kt.test(rn.nodeValue)&&!Yn.test(rn.nodeValue));for(var ee=Bt.filter(function(cn){return cn instanceof RegExp}),tt=0,wt=ee.length;tt<wt;tt++)if(ee[tt].test(St))return!0;return!1})(ka,Dl)||js.removeAttribute(ka.nodeName)})},Tn=0,hi=cn.length;Tn<hi;Tn++)pn(Tn);return tt.body.innerHTML}var R="tooltip",Ue="bs.tooltip",mt="."+Ue,Lt=l.default.fn[R],Rt="bs-tooltip",Xt=new RegExp("(^|\\s)"+Rt+"\\S+","g"),un=["sanitize","whiteList","sanitizeFn"],Gn="fade",Xn="show",Pi="show",Fi="hover",gr="focus",yr={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},vi={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",customClass:"",sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},Ji={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},Bi={HIDE:"hide"+mt,HIDDEN:"hidden"+mt,SHOW:"show"+mt,SHOWN:"shown"+mt,INSERTED:"inserted"+mt,CLICK:"click"+mt,FOCUSIN:"focusin"+mt,FOCUSOUT:"focusout"+mt,MOUSEENTER:"mouseenter"+mt,MOUSELEAVE:"mouseleave"+mt},ji=function(){function rn(St,ee){if(typeof i.default>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=St,this.config=this._getConfig(ee),this.tip=null,this._setListeners()}var Bt=rn.prototype;return Bt.enable=function(){this._isEnabled=!0},Bt.disable=function(){this._isEnabled=!1},Bt.toggleEnabled=function(){this._isEnabled=!this._isEnabled},Bt.toggle=function(ee){if(this._isEnabled)if(ee){var tt=this.constructor.DATA_KEY,wt=l.default(ee.currentTarget).data(tt);wt||(wt=new this.constructor(ee.currentTarget,this._getDelegateConfig()),l.default(ee.currentTarget).data(tt,wt)),wt._activeTrigger.click=!wt._activeTrigger.click,wt._isWithActiveTrigger()?wt._enter(null,wt):wt._leave(null,wt)}else{if(l.default(this.getTipElement()).hasClass(Xn))return void this._leave(null,this);this._enter(null,this)}},Bt.dispose=function(){clearTimeout(this._timeout),l.default.removeData(this.element,this.constructor.DATA_KEY),l.default(this.element).off(this.constructor.EVENT_KEY),l.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&l.default(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},Bt.show=function(){var ee=this;if("none"===l.default(this.element).css("display"))throw new Error("Please use show on visible elements");var tt=l.default.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){l.default(this.element).trigger(tt);var wt=ke.findShadowRoot(this.element),cn=l.default.contains(null!==wt?wt:this.element.ownerDocument.documentElement,this.element);if(tt.isDefaultPrevented()||!cn)return;var pn=this.getTipElement(),Tn=ke.getUID(this.constructor.NAME);pn.setAttribute("id",Tn),this.element.setAttribute("aria-describedby",Tn),this.setContent(),this.config.animation&&l.default(pn).addClass(Gn);var hi="function"==typeof this.config.placement?this.config.placement.call(this,pn,this.element):this.config.placement,tr=this._getAttachment(hi);this.addAttachmentClass(tr);var vr=this._getContainer();l.default(pn).data(this.constructor.DATA_KEY,this),l.default.contains(this.element.ownerDocument.documentElement,this.tip)||l.default(pn).appendTo(vr),l.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new i.default(this.element,pn,this._getPopperConfig(tr)),l.default(pn).addClass(Xn),l.default(pn).addClass(this.config.customClass),"ontouchstart"in document.documentElement&&l.default(document.body).children().on("mouseover",null,l.default.noop);var ps=function(){ee.config.animation&&ee._fixTransition();var Ko=ee._hoverState;ee._hoverState=null,l.default(ee.element).trigger(ee.constructor.Event.SHOWN),"out"===Ko&&ee._leave(null,ee)};if(l.default(this.tip).hasClass(Gn)){var Ks=ke.getTransitionDurationFromElement(this.tip);l.default(this.tip).one(ke.TRANSITION_END,ps).emulateTransitionEnd(Ks)}else ps()}},Bt.hide=function(ee){var tt=this,wt=this.getTipElement(),cn=l.default.Event(this.constructor.Event.HIDE),pn=function(){tt._hoverState!==Pi&&wt.parentNode&&wt.parentNode.removeChild(wt),tt._cleanTipClass(),tt.element.removeAttribute("aria-describedby"),l.default(tt.element).trigger(tt.constructor.Event.HIDDEN),null!==tt._popper&&tt._popper.destroy(),ee&&ee()};if(l.default(this.element).trigger(cn),!cn.isDefaultPrevented()){if(l.default(wt).removeClass(Xn),"ontouchstart"in document.documentElement&&l.default(document.body).children().off("mouseover",null,l.default.noop),this._activeTrigger.click=!1,this._activeTrigger[gr]=!1,this._activeTrigger[Fi]=!1,l.default(this.tip).hasClass(Gn)){var Tn=ke.getTransitionDurationFromElement(wt);l.default(wt).one(ke.TRANSITION_END,pn).emulateTransitionEnd(Tn)}else pn();this._hoverState=""}},Bt.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},Bt.isWithContent=function(){return!!this.getTitle()},Bt.addAttachmentClass=function(ee){l.default(this.getTipElement()).addClass(Rt+"-"+ee)},Bt.getTipElement=function(){return this.tip=this.tip||l.default(this.config.template)[0],this.tip},Bt.setContent=function(){var ee=this.getTipElement();this.setElementContent(l.default(ee.querySelectorAll(".tooltip-inner")),this.getTitle()),l.default(ee).removeClass(Gn+" "+Xn)},Bt.setElementContent=function(ee,tt){"object"!=typeof tt||!tt.nodeType&&!tt.jquery?this.config.html?(this.config.sanitize&&(tt=M(tt,this.config.whiteList,this.config.sanitizeFn)),ee.html(tt)):ee.text(tt):this.config.html?l.default(tt).parent().is(ee)||ee.empty().append(tt):ee.text(l.default(tt).text())},Bt.getTitle=function(){var ee=this.element.getAttribute("data-original-title");return ee||(ee="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),ee},Bt._getPopperConfig=function(ee){var tt=this;return I({},{placement:ee,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(pn){pn.originalPlacement!==pn.placement&&tt._handlePopperPlacementChange(pn)},onUpdate:function(pn){return tt._handlePopperPlacementChange(pn)}},this.config.popperConfig)},Bt._getOffset=function(){var ee=this,tt={};return"function"==typeof this.config.offset?tt.fn=function(wt){return wt.offsets=I({},wt.offsets,ee.config.offset(wt.offsets,ee.element)),wt}:tt.offset=this.config.offset,tt},Bt._getContainer=function(){return!1===this.config.container?document.body:ke.isElement(this.config.container)?l.default(this.config.container):l.default(document).find(this.config.container)},Bt._getAttachment=function(ee){return yr[ee.toUpperCase()]},Bt._setListeners=function(){var ee=this;this.config.trigger.split(" ").forEach(function(wt){if("click"===wt)l.default(ee.element).on(ee.constructor.Event.CLICK,ee.config.selector,function(Tn){return ee.toggle(Tn)});else if("manual"!==wt){var cn=wt===Fi?ee.constructor.Event.MOUSEENTER:ee.constructor.Event.FOCUSIN,pn=wt===Fi?ee.constructor.Event.MOUSELEAVE:ee.constructor.Event.FOCUSOUT;l.default(ee.element).on(cn,ee.config.selector,function(Tn){return ee._enter(Tn)}).on(pn,ee.config.selector,function(Tn){return ee._leave(Tn)})}}),this._hideModalHandler=function(){ee.element&&ee.hide()},l.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=I({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},Bt._fixTitle=function(){var ee=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==ee)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},Bt._enter=function(ee,tt){var wt=this.constructor.DATA_KEY;(tt=tt||l.default(ee.currentTarget).data(wt))||(tt=new this.constructor(ee.currentTarget,this._getDelegateConfig()),l.default(ee.currentTarget).data(wt,tt)),ee&&(tt._activeTrigger["focusin"===ee.type?gr:Fi]=!0),l.default(tt.getTipElement()).hasClass(Xn)||tt._hoverState===Pi?tt._hoverState=Pi:(clearTimeout(tt._timeout),tt._hoverState=Pi,tt.config.delay&&tt.config.delay.show?tt._timeout=setTimeout(function(){tt._hoverState===Pi&&tt.show()},tt.config.delay.show):tt.show())},Bt._leave=function(ee,tt){var wt=this.constructor.DATA_KEY;if((tt=tt||l.default(ee.currentTarget).data(wt))||(tt=new this.constructor(ee.currentTarget,this._getDelegateConfig()),l.default(ee.currentTarget).data(wt,tt)),ee&&(tt._activeTrigger["focusout"===ee.type?gr:Fi]=!1),!tt._isWithActiveTrigger()){if(clearTimeout(tt._timeout),tt._hoverState="out",!tt.config.delay||!tt.config.delay.hide)return void tt.hide();tt._timeout=setTimeout(function(){"out"===tt._hoverState&&tt.hide()},tt.config.delay.hide)}},Bt._isWithActiveTrigger=function(){for(var ee in this._activeTrigger)if(this._activeTrigger[ee])return!0;return!1},Bt._getConfig=function(ee){var tt=l.default(this.element).data();return Object.keys(tt).forEach(function(wt){-1!==un.indexOf(wt)&&delete tt[wt]}),"number"==typeof(ee=I({},this.constructor.Default,tt,"object"==typeof ee&&ee?ee:{})).delay&&(ee.delay={show:ee.delay,hide:ee.delay}),"number"==typeof ee.title&&(ee.title=ee.title.toString()),"number"==typeof ee.content&&(ee.content=ee.content.toString()),ke.typeCheckConfig(R,ee,this.constructor.DefaultType),ee.sanitize&&(ee.template=M(ee.template,ee.whiteList,ee.sanitizeFn)),ee},Bt._getDelegateConfig=function(){var ee={};if(this.config)for(var tt in this.config)this.constructor.Default[tt]!==this.config[tt]&&(ee[tt]=this.config[tt]);return ee},Bt._cleanTipClass=function(){var ee=l.default(this.getTipElement()),tt=ee.attr("class").match(Xt);null!==tt&&tt.length&&ee.removeClass(tt.join(""))},Bt._handlePopperPlacementChange=function(ee){this.tip=ee.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(ee.placement))},Bt._fixTransition=function(){var ee=this.getTipElement(),tt=this.config.animation;null===ee.getAttribute("x-placement")&&(l.default(ee).removeClass(Gn),this.config.animation=!1,this.hide(),this.show(),this.config.animation=tt)},rn._jQueryInterface=function(ee){return this.each(function(){var tt=l.default(this),wt=tt.data(Ue),cn="object"==typeof ee&&ee;if((wt||!/dispose|hide/.test(ee))&&(wt||(wt=new rn(this,cn),tt.data(Ue,wt)),"string"==typeof ee)){if(typeof wt[ee]>"u")throw new TypeError('No method named "'+ee+'"');wt[ee]()}})},_(rn,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return vi}},{key:"NAME",get:function(){return R}},{key:"DATA_KEY",get:function(){return Ue}},{key:"Event",get:function(){return Bi}},{key:"EVENT_KEY",get:function(){return mt}},{key:"DefaultType",get:function(){return Ji}}]),rn}();l.default.fn[R]=ji._jQueryInterface,l.default.fn[R].Constructor=ji,l.default.fn[R].noConflict=function(){return l.default.fn[R]=Lt,ji._jQueryInterface};var qi="popover",ks="bs.popover",br="."+ks,yt=l.default.fn[qi],Ht="bs-popover",Jt=new RegExp("(^|\\s)"+Ht+"\\S+","g"),Hn=I({},ji.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),Vn=I({},ji.DefaultType,{content:"(string|element|function)"}),pi={HIDE:"hide"+br,HIDDEN:"hidden"+br,SHOW:"show"+br,SHOWN:"shown"+br,INSERTED:"inserted"+br,CLICK:"click"+br,FOCUSIN:"focusin"+br,FOCUSOUT:"focusout"+br,MOUSEENTER:"mouseenter"+br,MOUSELEAVE:"mouseleave"+br},ai=function(rn){function Bt(){return rn.apply(this,arguments)||this}B(Bt,rn);var St=Bt.prototype;return St.isWithContent=function(){return this.getTitle()||this._getContent()},St.addAttachmentClass=function(tt){l.default(this.getTipElement()).addClass(Ht+"-"+tt)},St.getTipElement=function(){return this.tip=this.tip||l.default(this.config.template)[0],this.tip},St.setContent=function(){var tt=l.default(this.getTipElement());this.setElementContent(tt.find(".popover-header"),this.getTitle());var wt=this._getContent();"function"==typeof wt&&(wt=wt.call(this.element)),this.setElementContent(tt.find(".popover-body"),wt),tt.removeClass("fade show")},St._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},St._cleanTipClass=function(){var tt=l.default(this.getTipElement()),wt=tt.attr("class").match(Jt);null!==wt&&wt.length>0&&tt.removeClass(wt.join(""))},Bt._jQueryInterface=function(tt){return this.each(function(){var wt=l.default(this).data(ks),cn="object"==typeof tt?tt:null;if((wt||!/dispose|hide/.test(tt))&&(wt||(wt=new Bt(this,cn),l.default(this).data(ks,wt)),"string"==typeof tt)){if(typeof wt[tt]>"u")throw new TypeError('No method named "'+tt+'"');wt[tt]()}})},_(Bt,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return Hn}},{key:"NAME",get:function(){return qi}},{key:"DATA_KEY",get:function(){return ks}},{key:"Event",get:function(){return pi}},{key:"EVENT_KEY",get:function(){return br}},{key:"DefaultType",get:function(){return Vn}}]),Bt}(ji);l.default.fn[qi]=ai._jQueryInterface,l.default.fn[qi].Constructor=ai,l.default.fn[qi].noConflict=function(){return l.default.fn[qi]=yt,ai._jQueryInterface};var Nn="scrollspy",si="bs.scrollspy",wi="."+si,er=l.default.fn[Nn],Rr="active",Bs="activate"+wi,Ir="scroll"+wi,ho="load"+wi+".data-api",No="position",oo=".nav, .list-group",Ws=".nav-link",aa=".list-group-item",ea={offset:10,method:"auto",target:""},vo={offset:"number",method:"string",target:"(string|element)"},x=function(){function rn(St,ee){var tt=this;this._element=St,this._scrollElement="BODY"===St.tagName?window:St,this._config=this._getConfig(ee),this._selector=this._config.target+" "+Ws+","+this._config.target+" "+aa+","+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,l.default(this._scrollElement).on(Ir,function(wt){return tt._process(wt)}),this.refresh(),this._process()}var Bt=rn.prototype;return Bt.refresh=function(){var ee=this,wt="auto"===this._config.method?this._scrollElement===this._scrollElement.window?"offset":No:this._config.method,cn=wt===No?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(Tn){var hi,tr=ke.getSelectorFromElement(Tn);if(tr&&(hi=document.querySelector(tr)),hi){var vr=hi.getBoundingClientRect();if(vr.width||vr.height)return[l.default(hi)[wt]().top+cn,tr]}return null}).filter(Boolean).sort(function(Tn,hi){return Tn[0]-hi[0]}).forEach(function(Tn){ee._offsets.push(Tn[0]),ee._targets.push(Tn[1])})},Bt.dispose=function(){l.default.removeData(this._element,si),l.default(this._scrollElement).off(wi),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},Bt._getConfig=function(ee){if("string"!=typeof(ee=I({},ea,"object"==typeof ee&&ee?ee:{})).target&&ke.isElement(ee.target)){var tt=l.default(ee.target).attr("id");tt||(tt=ke.getUID(Nn),l.default(ee.target).attr("id",tt)),ee.target="#"+tt}return ke.typeCheckConfig(Nn,ee,vo),ee},Bt._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},Bt._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},Bt._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},Bt._process=function(){var ee=this._getScrollTop()+this._config.offset,tt=this._getScrollHeight(),wt=this._config.offset+tt-this._getOffsetHeight();if(this._scrollHeight!==tt&&this.refresh(),ee>=wt){var cn=this._targets[this._targets.length-1];this._activeTarget!==cn&&this._activate(cn)}else{if(this._activeTarget&&ee<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var pn=this._offsets.length;pn--;)this._activeTarget!==this._targets[pn]&&ee>=this._offsets[pn]&&(typeof this._offsets[pn+1]>"u"||ee<this._offsets[pn+1])&&this._activate(this._targets[pn])}},Bt._activate=function(ee){this._activeTarget=ee,this._clear();var tt=this._selector.split(",").map(function(cn){return cn+'[data-target="'+ee+'"],'+cn+'[href="'+ee+'"]'}),wt=l.default([].slice.call(document.querySelectorAll(tt.join(","))));wt.hasClass("dropdown-item")?(wt.closest(".dropdown").find(".dropdown-toggle").addClass(Rr),wt.addClass(Rr)):(wt.addClass(Rr),wt.parents(oo).prev(Ws+", "+aa).addClass(Rr),wt.parents(oo).prev(".nav-item").children(Ws).addClass(Rr)),l.default(this._scrollElement).trigger(Bs,{relatedTarget:ee})},Bt._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(ee){return ee.classList.contains(Rr)}).forEach(function(ee){return ee.classList.remove(Rr)})},rn._jQueryInterface=function(ee){return this.each(function(){var tt=l.default(this).data(si);if(tt||(tt=new rn(this,"object"==typeof ee&&ee),l.default(this).data(si,tt)),"string"==typeof ee){if(typeof tt[ee]>"u")throw new TypeError('No method named "'+ee+'"');tt[ee]()}})},_(rn,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return ea}}]),rn}();l.default(window).on(ho,function(){for(var rn=[].slice.call(document.querySelectorAll('[data-spy="scroll"]')),St=rn.length;St--;){var ee=l.default(rn[St]);x._jQueryInterface.call(ee,ee.data())}}),l.default.fn[Nn]=x._jQueryInterface,l.default.fn[Nn].Constructor=x,l.default.fn[Nn].noConflict=function(){return l.default.fn[Nn]=er,x._jQueryInterface};var Ve="tab",ge="bs.tab",Tt="."+ge,yn=l.default.fn[Ve],fr="active",zr="hide"+Tt,lr="hidden"+Tt,ns="show"+Tt,Ri="shown"+Tt,On="click"+Tt+".data-api",Kr=".active",Gr="> li > .active",Yr=function(){function rn(St){this._element=St}var Bt=rn.prototype;return Bt.show=function(){var ee=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&l.default(this._element).hasClass(fr)||l.default(this._element).hasClass("disabled")||this._element.hasAttribute("disabled"))){var tt,wt,cn=l.default(this._element).closest(".nav, .list-group")[0],pn=ke.getSelectorFromElement(this._element);if(cn){var Tn="UL"===cn.nodeName||"OL"===cn.nodeName?Gr:Kr;wt=(wt=l.default.makeArray(l.default(cn).find(Tn)))[wt.length-1]}var hi=l.default.Event(zr,{relatedTarget:this._element}),tr=l.default.Event(ns,{relatedTarget:wt});if(wt&&l.default(wt).trigger(hi),l.default(this._element).trigger(tr),!tr.isDefaultPrevented()&&!hi.isDefaultPrevented()){pn&&(tt=document.querySelector(pn)),this._activate(this._element,cn);var vr=function(){var Ks=l.default.Event(lr,{relatedTarget:ee._element}),js=l.default.Event(Ri,{relatedTarget:wt});l.default(wt).trigger(Ks),l.default(ee._element).trigger(js)};tt?this._activate(tt,tt.parentNode,vr):vr()}}},Bt.dispose=function(){l.default.removeData(this._element,ge),this._element=null},Bt._activate=function(ee,tt,wt){var cn=this,Tn=(!tt||"UL"!==tt.nodeName&&"OL"!==tt.nodeName?l.default(tt).children(Kr):l.default(tt).find(Gr))[0],hi=wt&&Tn&&l.default(Tn).hasClass("fade"),tr=function(){return cn._transitionComplete(ee,Tn,wt)};if(Tn&&hi){var vr=ke.getTransitionDurationFromElement(Tn);l.default(Tn).removeClass("show").one(ke.TRANSITION_END,tr).emulateTransitionEnd(vr)}else tr()},Bt._transitionComplete=function(ee,tt,wt){if(tt){l.default(tt).removeClass(fr);var cn=l.default(tt.parentNode).find("> .dropdown-menu .active")[0];cn&&l.default(cn).removeClass(fr),"tab"===tt.getAttribute("role")&&tt.setAttribute("aria-selected",!1)}l.default(ee).addClass(fr),"tab"===ee.getAttribute("role")&&ee.setAttribute("aria-selected",!0),ke.reflow(ee),ee.classList.contains("fade")&&ee.classList.add("show");var pn=ee.parentNode;if(pn&&"LI"===pn.nodeName&&(pn=pn.parentNode),pn&&l.default(pn).hasClass("dropdown-menu")){var Tn=l.default(ee).closest(".dropdown")[0];if(Tn){var hi=[].slice.call(Tn.querySelectorAll(".dropdown-toggle"));l.default(hi).addClass(fr)}ee.setAttribute("aria-expanded",!0)}wt&&wt()},rn._jQueryInterface=function(ee){return this.each(function(){var tt=l.default(this),wt=tt.data(ge);if(wt||(wt=new rn(this),tt.data(ge,wt)),"string"==typeof ee){if(typeof wt[ee]>"u")throw new TypeError('No method named "'+ee+'"');wt[ee]()}})},_(rn,null,[{key:"VERSION",get:function(){return"4.6.2"}}]),rn}();l.default(document).on(On,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(rn){rn.preventDefault(),Yr._jQueryInterface.call(l.default(this),"show")}),l.default.fn[Ve]=Yr._jQueryInterface,l.default.fn[Ve].Constructor=Yr,l.default.fn[Ve].noConflict=function(){return l.default.fn[Ve]=yn,Yr._jQueryInterface};var fs="toast",po="bs.toast",co="."+po,Ps=l.default.fn[fs],mo="show",ao="showing",So="click.dismiss"+co,$o="hide"+co,uo="hidden"+co,Go="show"+co,To="shown"+co,zo={animation:!0,autohide:!0,delay:500},Oo={animation:"boolean",autohide:"boolean",delay:"number"},qs=function(){function rn(St,ee){this._element=St,this._config=this._getConfig(ee),this._timeout=null,this._setListeners()}var Bt=rn.prototype;return Bt.show=function(){var ee=this,tt=l.default.Event(Go);if(l.default(this._element).trigger(tt),!tt.isDefaultPrevented()){this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");var wt=function(){ee._element.classList.remove(ao),ee._element.classList.add(mo),l.default(ee._element).trigger(To),ee._config.autohide&&(ee._timeout=setTimeout(function(){ee.hide()},ee._config.delay))};if(this._element.classList.remove("hide"),ke.reflow(this._element),this._element.classList.add(ao),this._config.animation){var cn=ke.getTransitionDurationFromElement(this._element);l.default(this._element).one(ke.TRANSITION_END,wt).emulateTransitionEnd(cn)}else wt()}},Bt.hide=function(){if(this._element.classList.contains(mo)){var ee=l.default.Event($o);l.default(this._element).trigger(ee),!ee.isDefaultPrevented()&&this._close()}},Bt.dispose=function(){this._clearTimeout(),this._element.classList.contains(mo)&&this._element.classList.remove(mo),l.default(this._element).off(So),l.default.removeData(this._element,po),this._element=null,this._config=null},Bt._getConfig=function(ee){return ee=I({},zo,l.default(this._element).data(),"object"==typeof ee&&ee?ee:{}),ke.typeCheckConfig(fs,ee,this.constructor.DefaultType),ee},Bt._setListeners=function(){var ee=this;l.default(this._element).on(So,'[data-dismiss="toast"]',function(){return ee.hide()})},Bt._close=function(){var ee=this,tt=function(){ee._element.classList.add("hide"),l.default(ee._element).trigger(uo)};if(this._element.classList.remove(mo),this._config.animation){var wt=ke.getTransitionDurationFromElement(this._element);l.default(this._element).one(ke.TRANSITION_END,tt).emulateTransitionEnd(wt)}else tt()},Bt._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},rn._jQueryInterface=function(ee){return this.each(function(){var tt=l.default(this),wt=tt.data(po);if(wt||(wt=new rn(this,"object"==typeof ee&&ee),tt.data(po,wt)),"string"==typeof ee){if(typeof wt[ee]>"u")throw new TypeError('No method named "'+ee+'"');wt[ee](this)}})},_(rn,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"DefaultType",get:function(){return Oo}},{key:"Default",get:function(){return zo}}]),rn}();l.default.fn[fs]=qs._jQueryInterface,l.default.fn[fs].Constructor=qs,l.default.fn[fs].noConflict=function(){return l.default.fn[fs]=Ps,qs._jQueryInterface},s.Alert=pt,s.Button=vt,s.Carousel=Mi,s.Collapse=Ai,s.Dropdown=os,s.Modal=he,s.Popover=ai,s.Scrollspy=x,s.Tab=Yr,s.Toast=qs,s.Tooltip=ji,s.Util=ke,Object.defineProperty(s,"__esModule",{value:!0})}(me,u(2584),u(7236))},2584:function(lt,me){var s;!function(d,o){"use strict";"object"==typeof lt.exports?lt.exports=d.document?o(d,!0):function(f){if(!f.document)throw new Error("jQuery requires a window with a document");return o(f)}:o(d)}(typeof window<"u"?window:this,function(d,o){"use strict";var f=[],l=Object.getPrototypeOf,i=f.slice,y=f.flat?function(m){return f.flat.call(m)}:function(m){return f.concat.apply([],m)},_=f.push,I=f.indexOf,B={},K=B.toString,ie=B.hasOwnProperty,oe=ie.toString,Ge=oe.call(Object),ae={},Z=function(b){return"function"==typeof b&&"number"!=typeof b.nodeType&&"function"!=typeof b.item},_e=function(b){return null!=b&&b===b.window},j=d.document,ke={type:!0,src:!0,nonce:!0,noModule:!0};function rt(m,b,G){var Q,we,Ee=(G=G||j).createElement("script");if(Ee.text=m,b)for(Q in ke)(we=b[Q]||b.getAttribute&&b.getAttribute(Q))&&Ee.setAttribute(Q,we);G.head.appendChild(Ee).parentNode.removeChild(Ee)}function le(m){return null==m?m+"":"object"==typeof m||"function"==typeof m?B[K.call(m)]||"object":typeof m}var Y=/HTML$/i,g=function(m,b){return new g.fn.init(m,b)};function X(m){var b=!!m&&"length"in m&&m.length,G=le(m);return!Z(m)&&!_e(m)&&("array"===G||0===b||"number"==typeof b&&b>0&&b-1 in m)}function V(m,b){return m.nodeName&&m.nodeName.toLowerCase()===b.toLowerCase()}g.fn=g.prototype={jquery:"3.7.1",constructor:g,length:0,toArray:function(){return i.call(this)},get:function(m){return null==m?i.call(this):m<0?this[m+this.length]:this[m]},pushStack:function(m){var b=g.merge(this.constructor(),m);return b.prevObject=this,b},each:function(m){return g.each(this,m)},map:function(m){return this.pushStack(g.map(this,function(b,G){return m.call(b,G,b)}))},slice:function(){return this.pushStack(i.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(g.grep(this,function(m,b){return(b+1)%2}))},odd:function(){return this.pushStack(g.grep(this,function(m,b){return b%2}))},eq:function(m){var b=this.length,G=+m+(m<0?b:0);return this.pushStack(G>=0&&G<b?[this[G]]:[])},end:function(){return this.prevObject||this.constructor()},push:_,sort:f.sort,splice:f.splice},g.extend=g.fn.extend=function(){var m,b,G,Q,we,Ee,Ze=arguments[0]||{},N=1,ue=arguments.length,q=!1;for("boolean"==typeof Ze&&(q=Ze,Ze=arguments[N]||{},N++),"object"!=typeof Ze&&!Z(Ze)&&(Ze={}),N===ue&&(Ze=this,N--);N<ue;N++)if(null!=(m=arguments[N]))for(b in m)Q=m[b],"__proto__"!==b&&Ze!==Q&&(q&&Q&&(g.isPlainObject(Q)||(we=Array.isArray(Q)))?(G=Ze[b],Ee=we&&!Array.isArray(G)?[]:we||g.isPlainObject(G)?G:{},we=!1,Ze[b]=g.extend(q,Ee,Q)):void 0!==Q&&(Ze[b]=Q));return Ze},g.extend({expando:"jQuery"+("3.7.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(m){throw new Error(m)},noop:function(){},isPlainObject:function(m){var b,G;return!(!m||"[object Object]"!==K.call(m)||(b=l(m))&&("function"!=typeof(G=ie.call(b,"constructor")&&b.constructor)||oe.call(G)!==Ge))},isEmptyObject:function(m){var b;for(b in m)return!1;return!0},globalEval:function(m,b,G){rt(m,{nonce:b&&b.nonce},G)},each:function(m,b){var G,Q=0;if(X(m))for(G=m.length;Q<G&&!1!==b.call(m[Q],Q,m[Q]);Q++);else for(Q in m)if(!1===b.call(m[Q],Q,m[Q]))break;return m},text:function(m){var b,G="",Q=0,we=m.nodeType;if(!we)for(;b=m[Q++];)G+=g.text(b);return 1===we||11===we?m.textContent:9===we?m.documentElement.textContent:3===we||4===we?m.nodeValue:G},makeArray:function(m,b){var G=b||[];return null!=m&&(X(Object(m))?g.merge(G,"string"==typeof m?[m]:m):_.call(G,m)),G},inArray:function(m,b,G){return null==b?-1:I.call(b,m,G)},isXMLDoc:function(m){var G=m&&(m.ownerDocument||m).documentElement;return!Y.test(m&&m.namespaceURI||G&&G.nodeName||"HTML")},merge:function(m,b){for(var G=+b.length,Q=0,we=m.length;Q<G;Q++)m[we++]=b[Q];return m.length=we,m},grep:function(m,b,G){for(var we=[],Ee=0,Ze=m.length,N=!G;Ee<Ze;Ee++)!b(m[Ee],Ee)!==N&&we.push(m[Ee]);return we},map:function(m,b,G){var Q,we,Ee=0,Ze=[];if(X(m))for(Q=m.length;Ee<Q;Ee++)null!=(we=b(m[Ee],Ee,G))&&Ze.push(we);else for(Ee in m)null!=(we=b(m[Ee],Ee,G))&&Ze.push(we);return y(Ze)},guid:1,support:ae}),"function"==typeof Symbol&&(g.fn[Symbol.iterator]=f[Symbol.iterator]),g.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(m,b){B["[object "+b+"]"]=b.toLowerCase()});var te=f.pop,be=f.sort,Fe=f.splice,Se="[\\x20\\t\\r\\n\\f]",ot=new RegExp("^"+Se+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Se+"+$","g");g.contains=function(m,b){var G=b&&b.parentNode;return m===G||!(!G||1!==G.nodeType||!(m.contains?m.contains(G):m.compareDocumentPosition&&16&m.compareDocumentPosition(G)))};var _t=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function pt(m,b){return b?"\0"===m?"\ufffd":m.slice(0,-1)+"\\"+m.charCodeAt(m.length-1).toString(16)+" ":"\\"+m}g.escapeSelector=function(m){return(m+"").replace(_t,pt)};var Gt=j,qe=_;!function(){var m,b,G,Q,we,Ze,N,ue,q,Pe,Ee=qe,ct=g.expando,ft=0,Qt=0,En=Xt(),Zn=Xt(),Sn=Xt(),zi=Xt(),Si=function(yt,Ht){return yt===Ht&&(we=!0),0},Wi="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Ki="(?:\\\\[\\da-fA-F]{1,6}"+Se+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Ti="\\["+Se+"*("+Ki+")(?:"+Se+"*([*^$|!~]?=)"+Se+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+Ki+"))|)"+Se+"*\\]",Mr=":("+Ki+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+Ti+")*)|.*)\\)|)",bi=new RegExp(Se+"+","g"),or=new RegExp("^"+Se+"*,"+Se+"*"),Rs=new RegExp("^"+Se+"*([>+~]|"+Se+")"+Se+"*"),he=new RegExp(Se+"|>"),Ie=new RegExp(Mr),$=new RegExp("^"+Ki+"$"),et={ID:new RegExp("^#("+Ki+")"),CLASS:new RegExp("^\\.("+Ki+")"),TAG:new RegExp("^("+Ki+"|[*])"),ATTR:new RegExp("^"+Ti),PSEUDO:new RegExp("^"+Mr),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Se+"*(even|odd|(([+-]|)(\\d*)n|)"+Se+"*(?:([+-]|)"+Se+"*(\\d+)|))"+Se+"*\\)|)","i"),bool:new RegExp("^(?:"+Wi+")$","i"),needsContext:new RegExp("^"+Se+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Se+"*((?:-\\d)?\\d*)"+Se+"*\\)|)(?=[^-]|$)","i")},kt=/^(?:input|select|textarea|button)$/i,Yn=/^h\d$/i,ze=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,M=/[+~]/,R=new RegExp("\\\\[\\da-fA-F]{1,6}"+Se+"?|\\\\([^\\r\\n\\f])","g"),ne=function(yt,Ht){var Jt="0x"+yt.slice(1)-65536;return Ht||(Jt<0?String.fromCharCode(Jt+65536):String.fromCharCode(Jt>>10|55296,1023&Jt|56320))},Ue=function(){Fi()},mt=yr(function(yt){return!0===yt.disabled&&V(yt,"fieldset")},{dir:"parentNode",next:"legend"});try{Ee.apply(f=i.call(Gt.childNodes),Gt.childNodes)}catch{Ee={apply:function(Ht,Jt){qe.apply(Ht,i.call(Jt))},call:function(Ht){qe.apply(Ht,i.call(arguments,1))}}}function Rt(yt,Ht,Jt,Wt){var Zt,fn,wn,Hn,Vn,pi,ai,Nn=Ht&&Ht.ownerDocument,Ni=Ht?Ht.nodeType:9;if(Jt=Jt||[],"string"!=typeof yt||!yt||1!==Ni&&9!==Ni&&11!==Ni)return Jt;if(!Wt&&(Fi(Ht),Ht=Ht||Ze,ue)){if(11!==Ni&&(Vn=ze.exec(yt)))if(Zt=Vn[1]){if(9===Ni){if(!(wn=Ht.getElementById(Zt)))return Jt;if(wn.id===Zt)return Ee.call(Jt,wn),Jt}else if(Nn&&(wn=Nn.getElementById(Zt))&&Rt.contains(Ht,wn)&&wn.id===Zt)return Ee.call(Jt,wn),Jt}else{if(Vn[2])return Ee.apply(Jt,Ht.getElementsByTagName(yt)),Jt;if((Zt=Vn[3])&&Ht.getElementsByClassName)return Ee.apply(Jt,Ht.getElementsByClassName(Zt)),Jt}if(!(zi[yt+" "]||q&&q.test(yt))){if(ai=yt,Nn=Ht,1===Ni&&(he.test(yt)||Rs.test(yt))){for(((Nn=M.test(yt)&&_i(Ht.parentNode)||Ht)!=Ht||!ae.scope)&&((Hn=Ht.getAttribute("id"))?Hn=g.escapeSelector(Hn):Ht.setAttribute("id",Hn=ct)),fn=(pi=ir(yt)).length;fn--;)pi[fn]=(Hn?"#"+Hn:":scope")+" "+ts(pi[fn]);ai=pi.join(",")}try{return Ee.apply(Jt,Nn.querySelectorAll(ai)),Jt}catch{zi(yt,!0)}finally{Hn===ct&&Ht.removeAttribute("id")}}}return br(yt.replace(ot,"$1"),Ht,Jt,Wt)}function Xt(){var yt=[];return function Ht(Jt,Wt){return yt.push(Jt+" ")>b.cacheLength&&delete Ht[yt.shift()],Ht[Jt+" "]=Wt}}function un(yt){return yt[ct]=!0,yt}function Gn(yt){var Ht=Ze.createElement("fieldset");try{return!!yt(Ht)}catch{return!1}finally{Ht.parentNode&&Ht.parentNode.removeChild(Ht),Ht=null}}function Xn(yt){return function(Ht){return V(Ht,"input")&&Ht.type===yt}}function Pi(yt){return function(Ht){return(V(Ht,"input")||V(Ht,"button"))&&Ht.type===yt}}function Ci(yt){return function(Ht){return"form"in Ht?Ht.parentNode&&!1===Ht.disabled?"label"in Ht?"label"in Ht.parentNode?Ht.parentNode.disabled===yt:Ht.disabled===yt:Ht.isDisabled===yt||Ht.isDisabled!==!yt&&mt(Ht)===yt:Ht.disabled===yt:"label"in Ht&&Ht.disabled===yt}}function ri(yt){return un(function(Ht){return Ht=+Ht,un(function(Jt,Wt){for(var Zt,fn=yt([],Jt.length,Ht),wn=fn.length;wn--;)Jt[Zt=fn[wn]]&&(Jt[Zt]=!(Wt[Zt]=Jt[Zt]))})})}function _i(yt){return yt&&typeof yt.getElementsByTagName<"u"&&yt}function Fi(yt){var Ht,Jt=yt?yt.ownerDocument||yt:Gt;return Jt==Ze||9!==Jt.nodeType||!Jt.documentElement||(N=(Ze=Jt).documentElement,ue=!g.isXMLDoc(Ze),Pe=N.matches||N.webkitMatchesSelector||N.msMatchesSelector,N.msMatchesSelector&&Gt!=Ze&&(Ht=Ze.defaultView)&&Ht.top!==Ht&&Ht.addEventListener("unload",Ue),ae.getById=Gn(function(Wt){return N.appendChild(Wt).id=g.expando,!Ze.getElementsByName||!Ze.getElementsByName(g.expando).length}),ae.disconnectedMatch=Gn(function(Wt){return Pe.call(Wt,"*")}),ae.scope=Gn(function(){return Ze.querySelectorAll(":scope")}),ae.cssHas=Gn(function(){try{return Ze.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),ae.getById?(b.filter.ID=function(Wt){var Zt=Wt.replace(R,ne);return function(fn){return fn.getAttribute("id")===Zt}},b.find.ID=function(Wt,Zt){if(typeof Zt.getElementById<"u"&&ue){var fn=Zt.getElementById(Wt);return fn?[fn]:[]}}):(b.filter.ID=function(Wt){var Zt=Wt.replace(R,ne);return function(fn){var wn=typeof fn.getAttributeNode<"u"&&fn.getAttributeNode("id");return wn&&wn.value===Zt}},b.find.ID=function(Wt,Zt){if(typeof Zt.getElementById<"u"&&ue){var fn,wn,Hn,Vn=Zt.getElementById(Wt);if(Vn){if((fn=Vn.getAttributeNode("id"))&&fn.value===Wt)return[Vn];for(Hn=Zt.getElementsByName(Wt),wn=0;Vn=Hn[wn++];)if((fn=Vn.getAttributeNode("id"))&&fn.value===Wt)return[Vn]}return[]}}),b.find.TAG=function(Wt,Zt){return typeof Zt.getElementsByTagName<"u"?Zt.getElementsByTagName(Wt):Zt.querySelectorAll(Wt)},b.find.CLASS=function(Wt,Zt){if(typeof Zt.getElementsByClassName<"u"&&ue)return Zt.getElementsByClassName(Wt)},q=[],Gn(function(Wt){var Zt;N.appendChild(Wt).innerHTML="<a id='"+ct+"' href='' disabled='disabled'></a><select id='"+ct+"-\r\\' disabled='disabled'><option selected=''></option></select>",Wt.querySelectorAll("[selected]").length||q.push("\\["+Se+"*(?:value|"+Wi+")"),Wt.querySelectorAll("[id~="+ct+"-]").length||q.push("~="),Wt.querySelectorAll("a#"+ct+"+*").length||q.push(".#.+[+~]"),Wt.querySelectorAll(":checked").length||q.push(":checked"),(Zt=Ze.createElement("input")).setAttribute("type","hidden"),Wt.appendChild(Zt).setAttribute("name","D"),N.appendChild(Wt).disabled=!0,2!==Wt.querySelectorAll(":disabled").length&&q.push(":enabled",":disabled"),(Zt=Ze.createElement("input")).setAttribute("name",""),Wt.appendChild(Zt),Wt.querySelectorAll("[name='']").length||q.push("\\["+Se+"*name"+Se+"*="+Se+"*(?:''|\"\")")}),ae.cssHas||q.push(":has"),q=q.length&&new RegExp(q.join("|")),Si=function(Wt,Zt){if(Wt===Zt)return we=!0,0;var fn=!Wt.compareDocumentPosition-!Zt.compareDocumentPosition;return fn||(1&(fn=(Wt.ownerDocument||Wt)==(Zt.ownerDocument||Zt)?Wt.compareDocumentPosition(Zt):1)||!ae.sortDetached&&Zt.compareDocumentPosition(Wt)===fn?Wt===Ze||Wt.ownerDocument==Gt&&Rt.contains(Gt,Wt)?-1:Zt===Ze||Zt.ownerDocument==Gt&&Rt.contains(Gt,Zt)?1:Q?I.call(Q,Wt)-I.call(Q,Zt):0:4&fn?-1:1)}),Ze}for(m in Rt.matches=function(yt,Ht){return Rt(yt,null,null,Ht)},Rt.matchesSelector=function(yt,Ht){if(Fi(yt),ue&&!zi[Ht+" "]&&(!q||!q.test(Ht)))try{var Jt=Pe.call(yt,Ht);if(Jt||ae.disconnectedMatch||yt.document&&11!==yt.document.nodeType)return Jt}catch{zi(Ht,!0)}return Rt(Ht,Ze,null,[yt]).length>0},Rt.contains=function(yt,Ht){return(yt.ownerDocument||yt)!=Ze&&Fi(yt),g.contains(yt,Ht)},Rt.attr=function(yt,Ht){(yt.ownerDocument||yt)!=Ze&&Fi(yt);var Jt=b.attrHandle[Ht.toLowerCase()],Wt=Jt&&ie.call(b.attrHandle,Ht.toLowerCase())?Jt(yt,Ht,!ue):void 0;return void 0!==Wt?Wt:yt.getAttribute(Ht)},Rt.error=function(yt){throw new Error("Syntax error, unrecognized expression: "+yt)},g.uniqueSort=function(yt){var Ht,Jt=[],Wt=0,Zt=0;if(we=!ae.sortStable,Q=!ae.sortStable&&i.call(yt,0),be.call(yt,Si),we){for(;Ht=yt[Zt++];)Ht===yt[Zt]&&(Wt=Jt.push(Zt));for(;Wt--;)Fe.call(yt,Jt[Wt],1)}return Q=null,yt},g.fn.uniqueSort=function(){return this.pushStack(g.uniqueSort(i.apply(this)))},(b=g.expr={cacheLength:50,createPseudo:un,match:et,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(yt){return yt[1]=yt[1].replace(R,ne),yt[3]=(yt[3]||yt[4]||yt[5]||"").replace(R,ne),"~="===yt[2]&&(yt[3]=" "+yt[3]+" "),yt.slice(0,4)},CHILD:function(yt){return yt[1]=yt[1].toLowerCase(),"nth"===yt[1].slice(0,3)?(yt[3]||Rt.error(yt[0]),yt[4]=+(yt[4]?yt[5]+(yt[6]||1):2*("even"===yt[3]||"odd"===yt[3])),yt[5]=+(yt[7]+yt[8]||"odd"===yt[3])):yt[3]&&Rt.error(yt[0]),yt},PSEUDO:function(yt){var Ht,Jt=!yt[6]&&yt[2];return et.CHILD.test(yt[0])?null:(yt[3]?yt[2]=yt[4]||yt[5]||"":Jt&&Ie.test(Jt)&&(Ht=ir(Jt,!0))&&(Ht=Jt.indexOf(")",Jt.length-Ht)-Jt.length)&&(yt[0]=yt[0].slice(0,Ht),yt[2]=Jt.slice(0,Ht)),yt.slice(0,3))}},filter:{TAG:function(yt){var Ht=yt.replace(R,ne).toLowerCase();return"*"===yt?function(){return!0}:function(Jt){return V(Jt,Ht)}},CLASS:function(yt){var Ht=En[yt+" "];return Ht||(Ht=new RegExp("(^|"+Se+")"+yt+"("+Se+"|$)"))&&En(yt,function(Jt){return Ht.test("string"==typeof Jt.className&&Jt.className||typeof Jt.getAttribute<"u"&&Jt.getAttribute("class")||"")})},ATTR:function(yt,Ht,Jt){return function(Wt){var Zt=Rt.attr(Wt,yt);return null==Zt?"!="===Ht:!Ht||(Zt+="","="===Ht?Zt===Jt:"!="===Ht?Zt!==Jt:"^="===Ht?Jt&&0===Zt.indexOf(Jt):"*="===Ht?Jt&&Zt.indexOf(Jt)>-1:"$="===Ht?Jt&&Zt.slice(-Jt.length)===Jt:"~="===Ht?(" "+Zt.replace(bi," ")+" ").indexOf(Jt)>-1:"|="===Ht&&(Zt===Jt||Zt.slice(0,Jt.length+1)===Jt+"-"))}},CHILD:function(yt,Ht,Jt,Wt,Zt){var fn="nth"!==yt.slice(0,3),wn="last"!==yt.slice(-4),Hn="of-type"===Ht;return 1===Wt&&0===Zt?function(Vn){return!!Vn.parentNode}:function(Vn,pi,ai){var Nn,Ni,si,wi,Cr,er=fn!==wn?"nextSibling":"previousSibling",$r=Vn.parentNode,Rr=Hn&&Vn.nodeName.toLowerCase(),Bs=!ai&&!Hn,Ir=!1;if($r){if(fn){for(;er;){for(si=Vn;si=si[er];)if(Hn?V(si,Rr):1===si.nodeType)return!1;Cr=er="only"===yt&&!Cr&&"nextSibling"}return!0}if(Cr=[wn?$r.firstChild:$r.lastChild],wn&&Bs){for(Ir=(wi=(Nn=(Ni=$r[ct]||($r[ct]={}))[yt]||[])[0]===ft&&Nn[1])&&Nn[2],si=wi&&$r.childNodes[wi];si=++wi&&si&&si[er]||(Ir=wi=0)||Cr.pop();)if(1===si.nodeType&&++Ir&&si===Vn){Ni[yt]=[ft,wi,Ir];break}}else if(Bs&&(Ir=wi=(Nn=(Ni=Vn[ct]||(Vn[ct]={}))[yt]||[])[0]===ft&&Nn[1]),!1===Ir)for(;(si=++wi&&si&&si[er]||(Ir=wi=0)||Cr.pop())&&(!(Hn?V(si,Rr):1===si.nodeType)||!++Ir||(Bs&&((Ni=si[ct]||(si[ct]={}))[yt]=[ft,Ir]),si!==Vn)););return(Ir-=Zt)===Wt||Ir%Wt==0&&Ir/Wt>=0}}},PSEUDO:function(yt,Ht){var Jt,Wt=b.pseudos[yt]||b.setFilters[yt.toLowerCase()]||Rt.error("unsupported pseudo: "+yt);return Wt[ct]?Wt(Ht):Wt.length>1?(Jt=[yt,yt,"",Ht],b.setFilters.hasOwnProperty(yt.toLowerCase())?un(function(Zt,fn){for(var wn,Hn=Wt(Zt,Ht),Vn=Hn.length;Vn--;)Zt[wn=I.call(Zt,Hn[Vn])]=!(fn[wn]=Hn[Vn])}):function(Zt){return Wt(Zt,0,Jt)}):Wt}},pseudos:{not:un(function(yt){var Ht=[],Jt=[],Wt=ks(yt.replace(ot,"$1"));return Wt[ct]?un(function(Zt,fn,wn,Hn){for(var Vn,pi=Wt(Zt,null,Hn,[]),ai=Zt.length;ai--;)(Vn=pi[ai])&&(Zt[ai]=!(fn[ai]=Vn))}):function(Zt,fn,wn){return Ht[0]=Zt,Wt(Ht,null,wn,Jt),Ht[0]=null,!Jt.pop()}}),has:un(function(yt){return function(Ht){return Rt(yt,Ht).length>0}}),contains:un(function(yt){return yt=yt.replace(R,ne),function(Ht){return(Ht.textContent||g.text(Ht)).indexOf(yt)>-1}}),lang:un(function(yt){return $.test(yt||"")||Rt.error("unsupported lang: "+yt),yt=yt.replace(R,ne).toLowerCase(),function(Ht){var Jt;do{if(Jt=ue?Ht.lang:Ht.getAttribute("xml:lang")||Ht.getAttribute("lang"))return(Jt=Jt.toLowerCase())===yt||0===Jt.indexOf(yt+"-")}while((Ht=Ht.parentNode)&&1===Ht.nodeType);return!1}}),target:function(yt){var Ht=d.location&&d.location.hash;return Ht&&Ht.slice(1)===yt.id},root:function(yt){return yt===N},focus:function(yt){return yt===function Lt(){try{return Ze.activeElement}catch{}}()&&Ze.hasFocus()&&!!(yt.type||yt.href||~yt.tabIndex)},enabled:Ci(!1),disabled:Ci(!0),checked:function(yt){return V(yt,"input")&&!!yt.checked||V(yt,"option")&&!!yt.selected},selected:function(yt){return!0===yt.selected},empty:function(yt){for(yt=yt.firstChild;yt;yt=yt.nextSibling)if(yt.nodeType<6)return!1;return!0},parent:function(yt){return!b.pseudos.empty(yt)},header:function(yt){return Yn.test(yt.nodeName)},input:function(yt){return kt.test(yt.nodeName)},button:function(yt){return V(yt,"input")&&"button"===yt.type||V(yt,"button")},text:function(yt){var Ht;return V(yt,"input")&&"text"===yt.type&&(null==(Ht=yt.getAttribute("type"))||"text"===Ht.toLowerCase())},first:ri(function(){return[0]}),last:ri(function(yt,Ht){return[Ht-1]}),eq:ri(function(yt,Ht,Jt){return[Jt<0?Jt+Ht:Jt]}),even:ri(function(yt,Ht){for(var Jt=0;Jt<Ht;Jt+=2)yt.push(Jt);return yt}),odd:ri(function(yt,Ht){for(var Jt=1;Jt<Ht;Jt+=2)yt.push(Jt);return yt}),lt:ri(function(yt,Ht,Jt){var Wt;for(Wt=Jt<0?Jt+Ht:Jt>Ht?Ht:Jt;--Wt>=0;)yt.push(Wt);return yt}),gt:ri(function(yt,Ht,Jt){for(var Wt=Jt<0?Jt+Ht:Jt;++Wt<Ht;)yt.push(Wt);return yt})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[m]=Xn(m);for(m in{submit:!0,reset:!0})b.pseudos[m]=Pi(m);function gr(){}function ir(yt,Ht){var Jt,Wt,Zt,fn,wn,Hn,Vn,pi=Zn[yt+" "];if(pi)return Ht?0:pi.slice(0);for(wn=yt,Hn=[],Vn=b.preFilter;wn;){for(fn in(!Jt||(Wt=or.exec(wn)))&&(Wt&&(wn=wn.slice(Wt[0].length)||wn),Hn.push(Zt=[])),Jt=!1,(Wt=Rs.exec(wn))&&(Jt=Wt.shift(),Zt.push({value:Jt,type:Wt[0].replace(ot," ")}),wn=wn.slice(Jt.length)),b.filter)(Wt=et[fn].exec(wn))&&(!Vn[fn]||(Wt=Vn[fn](Wt)))&&(Jt=Wt.shift(),Zt.push({value:Jt,type:fn,matches:Wt}),wn=wn.slice(Jt.length));if(!Jt)break}return Ht?wn.length:wn?Rt.error(yt):Zn(yt,Hn).slice(0)}function ts(yt){for(var Ht=0,Jt=yt.length,Wt="";Ht<Jt;Ht++)Wt+=yt[Ht].value;return Wt}function yr(yt,Ht,Jt){var Wt=Ht.dir,Zt=Ht.next,fn=Zt||Wt,wn=Jt&&"parentNode"===fn,Hn=Qt++;return Ht.first?function(Vn,pi,ai){for(;Vn=Vn[Wt];)if(1===Vn.nodeType||wn)return yt(Vn,pi,ai);return!1}:function(Vn,pi,ai){var Nn,Ni,si=[ft,Hn];if(ai){for(;Vn=Vn[Wt];)if((1===Vn.nodeType||wn)&&yt(Vn,pi,ai))return!0}else for(;Vn=Vn[Wt];)if(1===Vn.nodeType||wn)if(Ni=Vn[ct]||(Vn[ct]={}),Zt&&V(Vn,Zt))Vn=Vn[Wt]||Vn;else{if((Nn=Ni[fn])&&Nn[0]===ft&&Nn[1]===Hn)return si[2]=Nn[2];if(Ni[fn]=si,si[2]=yt(Vn,pi,ai))return!0}return!1}}function vi(yt){return yt.length>1?function(Ht,Jt,Wt){for(var Zt=yt.length;Zt--;)if(!yt[Zt](Ht,Jt,Wt))return!1;return!0}:yt[0]}function Bi(yt,Ht,Jt,Wt,Zt){for(var fn,wn=[],Hn=0,Vn=yt.length,pi=null!=Ht;Hn<Vn;Hn++)(fn=yt[Hn])&&(!Jt||Jt(fn,Wt,Zt))&&(wn.push(fn),pi&&Ht.push(Hn));return wn}function ji(yt,Ht,Jt,Wt,Zt,fn){return Wt&&!Wt[ct]&&(Wt=ji(Wt)),Zt&&!Zt[ct]&&(Zt=ji(Zt,fn)),un(function(wn,Hn,Vn,pi){var ai,Nn,Ni,si,wi=[],Cr=[],er=Hn.length,$r=wn||function Ji(yt,Ht,Jt){for(var Wt=0,Zt=Ht.length;Wt<Zt;Wt++)Rt(yt,Ht[Wt],Jt);return Jt}(Ht||"*",Vn.nodeType?[Vn]:Vn,[]),Rr=!yt||!wn&&Ht?$r:Bi($r,wi,yt,Vn,pi);if(Jt?Jt(Rr,si=Zt||(wn?yt:er||Wt)?[]:Hn,Vn,pi):si=Rr,Wt)for(ai=Bi(si,Cr),Wt(ai,[],Vn,pi),Nn=ai.length;Nn--;)(Ni=ai[Nn])&&(si[Cr[Nn]]=!(Rr[Cr[Nn]]=Ni));if(wn){if(Zt||yt){if(Zt){for(ai=[],Nn=si.length;Nn--;)(Ni=si[Nn])&&ai.push(Rr[Nn]=Ni);Zt(null,si=[],ai,pi)}for(Nn=si.length;Nn--;)(Ni=si[Nn])&&(ai=Zt?I.call(wn,Ni):wi[Nn])>-1&&(wn[ai]=!(Hn[ai]=Ni))}}else si=Bi(si===Hn?si.splice(er,si.length):si),Zt?Zt(null,Hn,si,pi):Ee.apply(Hn,si)})}function qi(yt){for(var Ht,Jt,Wt,Zt=yt.length,fn=b.relative[yt[0].type],wn=fn||b.relative[" "],Hn=fn?1:0,Vn=yr(function(Nn){return Nn===Ht},wn,!0),pi=yr(function(Nn){return I.call(Ht,Nn)>-1},wn,!0),ai=[function(Nn,Ni,si){var wi=!fn&&(si||Ni!=G)||((Ht=Ni).nodeType?Vn(Nn,Ni,si):pi(Nn,Ni,si));return Ht=null,wi}];Hn<Zt;Hn++)if(Jt=b.relative[yt[Hn].type])ai=[yr(vi(ai),Jt)];else{if((Jt=b.filter[yt[Hn].type].apply(null,yt[Hn].matches))[ct]){for(Wt=++Hn;Wt<Zt&&!b.relative[yt[Wt].type];Wt++);return ji(Hn>1&&vi(ai),Hn>1&&ts(yt.slice(0,Hn-1).concat({value:" "===yt[Hn-2].type?"*":""})).replace(ot,"$1"),Jt,Hn<Wt&&qi(yt.slice(Hn,Wt)),Wt<Zt&&qi(yt=yt.slice(Wt)),Wt<Zt&&ts(yt))}ai.push(Jt)}return vi(ai)}function ks(yt,Ht){var Jt,Wt=[],Zt=[],fn=Sn[yt+" "];if(!fn){for(Ht||(Ht=ir(yt)),Jt=Ht.length;Jt--;)(fn=qi(Ht[Jt]))[ct]?Wt.push(fn):Zt.push(fn);fn=Sn(yt,function Us(yt,Ht){var Jt=Ht.length>0,Wt=yt.length>0,Zt=function(fn,wn,Hn,Vn,pi){var ai,Nn,Ni,si=0,wi="0",Cr=fn&&[],er=[],$r=G,Rr=fn||Wt&&b.find.TAG("*",pi),Bs=ft+=null==$r?1:Math.random()||.1,Ir=Rr.length;for(pi&&(G=wn==Ze||wn||pi);wi!==Ir&&null!=(ai=Rr[wi]);wi++){if(Wt&&ai){for(Nn=0,!wn&&ai.ownerDocument!=Ze&&(Fi(ai),Hn=!ue);Ni=yt[Nn++];)if(Ni(ai,wn||Ze,Hn)){Ee.call(Vn,ai);break}pi&&(ft=Bs)}Jt&&((ai=!Ni&&ai)&&si--,fn&&Cr.push(ai))}if(si+=wi,Jt&&wi!==si){for(Nn=0;Ni=Ht[Nn++];)Ni(Cr,er,wn,Hn);if(fn){if(si>0)for(;wi--;)Cr[wi]||er[wi]||(er[wi]=te.call(Vn));er=Bi(er)}Ee.apply(Vn,er),pi&&!fn&&er.length>0&&si+Ht.length>1&&g.uniqueSort(Vn)}return pi&&(ft=Bs,G=$r),Cr};return Jt?un(Zt):Zt}(Zt,Wt)),fn.selector=yt}return fn}function br(yt,Ht,Jt,Wt){var Zt,fn,wn,Hn,Vn,pi="function"==typeof yt&&yt,ai=!Wt&&ir(yt=pi.selector||yt);if(Jt=Jt||[],1===ai.length){if((fn=ai[0]=ai[0].slice(0)).length>2&&"ID"===(wn=fn[0]).type&&9===Ht.nodeType&&ue&&b.relative[fn[1].type]){if(!(Ht=(b.find.ID(wn.matches[0].replace(R,ne),Ht)||[])[0]))return Jt;pi&&(Ht=Ht.parentNode),yt=yt.slice(fn.shift().value.length)}for(Zt=et.needsContext.test(yt)?0:fn.length;Zt--&&!b.relative[Hn=(wn=fn[Zt]).type];)if((Vn=b.find[Hn])&&(Wt=Vn(wn.matches[0].replace(R,ne),M.test(fn[0].type)&&_i(Ht.parentNode)||Ht))){if(fn.splice(Zt,1),!(yt=Wt.length&&ts(fn)))return Ee.apply(Jt,Wt),Jt;break}}return(pi||ks(yt,ai))(Wt,Ht,!ue,Jt,!Ht||M.test(yt)&&_i(Ht.parentNode)||Ht),Jt}gr.prototype=b.filters=b.pseudos,b.setFilters=new gr,ae.sortStable=ct.split("").sort(Si).join("")===ct,Fi(),ae.sortDetached=Gn(function(yt){return 1&yt.compareDocumentPosition(Ze.createElement("fieldset"))}),g.find=Rt,g.expr[":"]=g.expr.pseudos,g.unique=g.uniqueSort,Rt.compile=ks,Rt.select=br,Rt.setDocument=Fi,Rt.tokenize=ir,Rt.escape=g.escapeSelector,Rt.getText=g.text,Rt.isXML=g.isXMLDoc,Rt.selectors=g.expr,Rt.support=g.support,Rt.uniqueSort=g.uniqueSort}();var Je=function(m,b,G){for(var Q=[],we=void 0!==G;(m=m[b])&&9!==m.nodeType;)if(1===m.nodeType){if(we&&g(m).is(G))break;Q.push(m)}return Q},ce=function(m,b){for(var G=[];m;m=m.nextSibling)1===m.nodeType&&m!==b&&G.push(m);return G},Ae=g.expr.match.needsContext,L=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function H(m,b,G){return Z(b)?g.grep(m,function(Q,we){return!!b.call(Q,we,Q)!==G}):b.nodeType?g.grep(m,function(Q){return Q===b!==G}):"string"!=typeof b?g.grep(m,function(Q){return I.call(b,Q)>-1!==G}):g.filter(b,m,G)}g.filter=function(m,b,G){var Q=b[0];return G&&(m=":not("+m+")"),1===b.length&&1===Q.nodeType?g.find.matchesSelector(Q,m)?[Q]:[]:g.find.matches(m,g.grep(b,function(we){return 1===we.nodeType}))},g.fn.extend({find:function(m){var b,G,Q=this.length,we=this;if("string"!=typeof m)return this.pushStack(g(m).filter(function(){for(b=0;b<Q;b++)if(g.contains(we[b],this))return!0}));for(G=this.pushStack([]),b=0;b<Q;b++)g.find(m,we[b],G);return Q>1?g.uniqueSort(G):G},filter:function(m){return this.pushStack(H(this,m||[],!1))},not:function(m){return this.pushStack(H(this,m||[],!0))},is:function(m){return!!H(this,"string"==typeof m&&Ae.test(m)?g(m):m||[],!1).length}});var de,$e=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,je=g.fn.init=function(m,b,G){var Q,we;if(!m)return this;if(G=G||de,"string"==typeof m){if(!(Q="<"===m[0]&&">"===m[m.length-1]&&m.length>=3?[null,m,null]:$e.exec(m))||!Q[1]&&b)return!b||b.jquery?(b||G).find(m):this.constructor(b).find(m);if(Q[1]){if(g.merge(this,g.parseHTML(Q[1],(b=b instanceof g?b[0]:b)&&b.nodeType?b.ownerDocument||b:j,!0)),L.test(Q[1])&&g.isPlainObject(b))for(Q in b)Z(this[Q])?this[Q](b[Q]):this.attr(Q,b[Q]);return this}return(we=j.getElementById(Q[2]))&&(this[0]=we,this.length=1),this}return m.nodeType?(this[0]=m,this.length=1,this):Z(m)?void 0!==G.ready?G.ready(m):m(g):g.makeArray(m,this)};je.prototype=g.fn,de=g(j);var dt=/^(?:parents|prev(?:Until|All))/,Et={children:!0,contents:!0,next:!0,prev:!0};function Ye(m,b){for(;(m=m[b])&&1!==m.nodeType;);return m}g.fn.extend({has:function(m){var b=g(m,this),G=b.length;return this.filter(function(){for(var Q=0;Q<G;Q++)if(g.contains(this,b[Q]))return!0})},closest:function(m,b){var G,Q=0,we=this.length,Ee=[],Ze="string"!=typeof m&&g(m);if(!Ae.test(m))for(;Q<we;Q++)for(G=this[Q];G&&G!==b;G=G.parentNode)if(G.nodeType<11&&(Ze?Ze.index(G)>-1:1===G.nodeType&&g.find.matchesSelector(G,m))){Ee.push(G);break}return this.pushStack(Ee.length>1?g.uniqueSort(Ee):Ee)},index:function(m){return m?"string"==typeof m?I.call(g(m),this[0]):I.call(this,m.jquery?m[0]:m):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(m,b){return this.pushStack(g.uniqueSort(g.merge(this.get(),g(m,b))))},addBack:function(m){return this.add(null==m?this.prevObject:this.prevObject.filter(m))}}),g.each({parent:function(m){var b=m.parentNode;return b&&11!==b.nodeType?b:null},parents:function(m){return Je(m,"parentNode")},parentsUntil:function(m,b,G){return Je(m,"parentNode",G)},next:function(m){return Ye(m,"nextSibling")},prev:function(m){return Ye(m,"previousSibling")},nextAll:function(m){return Je(m,"nextSibling")},prevAll:function(m){return Je(m,"previousSibling")},nextUntil:function(m,b,G){return Je(m,"nextSibling",G)},prevUntil:function(m,b,G){return Je(m,"previousSibling",G)},siblings:function(m){return ce((m.parentNode||{}).firstChild,m)},children:function(m){return ce(m.firstChild)},contents:function(m){return null!=m.contentDocument&&l(m.contentDocument)?m.contentDocument:(V(m,"template")&&(m=m.content||m),g.merge([],m.childNodes))}},function(m,b){g.fn[m]=function(G,Q){var we=g.map(this,b,G);return"Until"!==m.slice(-5)&&(Q=G),Q&&"string"==typeof Q&&(we=g.filter(Q,we)),this.length>1&&(Et[m]||g.uniqueSort(we),dt.test(m)&&we.reverse()),this.pushStack(we)}});var Xe=/[^\x20\t\r\n\f]+/g;function xe(m){return m}function Ct(m){throw m}function Kt(m,b,G,Q){var we;try{m&&Z(we=m.promise)?we.call(m).done(b).fail(G):m&&Z(we=m.then)?we.call(m,b,G):b.apply(void 0,[m].slice(Q))}catch(Ee){G.apply(void 0,[Ee])}}g.Callbacks=function(m){m="string"==typeof m?function z(m){var b={};return g.each(m.match(Xe)||[],function(G,Q){b[Q]=!0}),b}(m):g.extend({},m);var b,G,Q,we,Ee=[],Ze=[],N=-1,ue=function(){for(we=we||m.once,Q=b=!0;Ze.length;N=-1)for(G=Ze.shift();++N<Ee.length;)!1===Ee[N].apply(G[0],G[1])&&m.stopOnFalse&&(N=Ee.length,G=!1);m.memory||(G=!1),b=!1,we&&(Ee=G?[]:"")},q={add:function(){return Ee&&(G&&!b&&(N=Ee.length-1,Ze.push(G)),function Pe(ct){g.each(ct,function(ft,Qt){Z(Qt)?(!m.unique||!q.has(Qt))&&Ee.push(Qt):Qt&&Qt.length&&"string"!==le(Qt)&&Pe(Qt)})}(arguments),G&&!b&&ue()),this},remove:function(){return g.each(arguments,function(Pe,ct){for(var ft;(ft=g.inArray(ct,Ee,ft))>-1;)Ee.splice(ft,1),ft<=N&&N--}),this},has:function(Pe){return Pe?g.inArray(Pe,Ee)>-1:Ee.length>0},empty:function(){return Ee&&(Ee=[]),this},disable:function(){return we=Ze=[],Ee=G="",this},disabled:function(){return!Ee},lock:function(){return we=Ze=[],!G&&!b&&(Ee=G=""),this},locked:function(){return!!we},fireWith:function(Pe,ct){return we||(ct=[Pe,(ct=ct||[]).slice?ct.slice():ct],Ze.push(ct),b||ue()),this},fire:function(){return q.fireWith(this,arguments),this},fired:function(){return!!Q}};return q},g.extend({Deferred:function(m){var b=[["notify","progress",g.Callbacks("memory"),g.Callbacks("memory"),2],["resolve","done",g.Callbacks("once memory"),g.Callbacks("once memory"),0,"resolved"],["reject","fail",g.Callbacks("once memory"),g.Callbacks("once memory"),1,"rejected"]],G="pending",Q={state:function(){return G},always:function(){return we.done(arguments).fail(arguments),this},catch:function(Ee){return Q.then(null,Ee)},pipe:function(){var Ee=arguments;return g.Deferred(function(Ze){g.each(b,function(N,ue){var q=Z(Ee[ue[4]])&&Ee[ue[4]];we[ue[1]](function(){var Pe=q&&q.apply(this,arguments);Pe&&Z(Pe.promise)?Pe.promise().progress(Ze.notify).done(Ze.resolve).fail(Ze.reject):Ze[ue[0]+"With"](this,q?[Pe]:arguments)})}),Ee=null}).promise()},then:function(Ee,Ze,N){var ue=0;function q(Pe,ct,ft,Qt){return function(){var En=this,Zn=arguments,Sn=function(){var Si,Wi;if(!(Pe<ue)){if((Si=ft.apply(En,Zn))===ct.promise())throw new TypeError("Thenable self-resolution");Z(Wi=Si&&("object"==typeof Si||"function"==typeof Si)&&Si.then)?Qt?Wi.call(Si,q(ue,ct,xe,Qt),q(ue,ct,Ct,Qt)):(ue++,Wi.call(Si,q(ue,ct,xe,Qt),q(ue,ct,Ct,Qt),q(ue,ct,xe,ct.notifyWith))):(ft!==xe&&(En=void 0,Zn=[Si]),(Qt||ct.resolveWith)(En,Zn))}},zi=Qt?Sn:function(){try{Sn()}catch(Si){g.Deferred.exceptionHook&&g.Deferred.exceptionHook(Si,zi.error),Pe+1>=ue&&(ft!==Ct&&(En=void 0,Zn=[Si]),ct.rejectWith(En,Zn))}};Pe?zi():(g.Deferred.getErrorHook?zi.error=g.Deferred.getErrorHook():g.Deferred.getStackHook&&(zi.error=g.Deferred.getStackHook()),d.setTimeout(zi))}}return g.Deferred(function(Pe){b[0][3].add(q(0,Pe,Z(N)?N:xe,Pe.notifyWith)),b[1][3].add(q(0,Pe,Z(Ee)?Ee:xe)),b[2][3].add(q(0,Pe,Z(Ze)?Ze:Ct))}).promise()},promise:function(Ee){return null!=Ee?g.extend(Ee,Q):Q}},we={};return g.each(b,function(Ee,Ze){var N=Ze[2],ue=Ze[5];Q[Ze[1]]=N.add,ue&&N.add(function(){G=ue},b[3-Ee][2].disable,b[3-Ee][3].disable,b[0][2].lock,b[0][3].lock),N.add(Ze[3].fire),we[Ze[0]]=function(){return we[Ze[0]+"With"](this===we?void 0:this,arguments),this},we[Ze[0]+"With"]=N.fireWith}),Q.promise(we),m&&m.call(we,we),we},when:function(m){var b=arguments.length,G=b,Q=Array(G),we=i.call(arguments),Ee=g.Deferred(),Ze=function(N){return function(ue){Q[N]=this,we[N]=arguments.length>1?i.call(arguments):ue,--b||Ee.resolveWith(Q,we)}};if(b<=1&&(Kt(m,Ee.done(Ze(G)).resolve,Ee.reject,!b),"pending"===Ee.state()||Z(we[G]&&we[G].then)))return Ee.then();for(;G--;)Kt(we[G],Ze(G),Ee.reject);return Ee.promise()}});var gt=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;g.Deferred.exceptionHook=function(m,b){d.console&&d.console.warn&&m&&gt.test(m.name)&&d.console.warn("jQuery.Deferred exception: "+m.message,m.stack,b)},g.readyException=function(m){d.setTimeout(function(){throw m})};var vt=g.Deferred();function Ot(){j.removeEventListener("DOMContentLoaded",Ot),d.removeEventListener("load",Ot),g.ready()}g.fn.ready=function(m){return vt.then(m).catch(function(b){g.readyException(b)}),this},g.extend({isReady:!1,readyWait:1,ready:function(m){(!0===m?--g.readyWait:g.isReady)||(g.isReady=!0,!(!0!==m&&--g.readyWait>0)&&vt.resolveWith(j,[g]))}}),g.ready.then=vt.then,"complete"===j.readyState||"loading"!==j.readyState&&!j.documentElement.doScroll?d.setTimeout(g.ready):(j.addEventListener("DOMContentLoaded",Ot),d.addEventListener("load",Ot));var Ke=function(m,b,G,Q,we,Ee,Ze){var N=0,ue=m.length,q=null==G;if("object"===le(G))for(N in we=!0,G)Ke(m,b,N,G[N],!0,Ee,Ze);else if(void 0!==Q&&(we=!0,Z(Q)||(Ze=!0),q&&(Ze?(b.call(m,Q),b=null):(q=b,b=function(Pe,ct,ft){return q.call(g(Pe),ft)})),b))for(;N<ue;N++)b(m[N],G,Ze?Q:Q.call(m[N],N,b(m[N],G)));return we?m:q?b.call(m):ue?b(m[0],G):Ee},Ne=/^-ms-/,He=/-([a-z])/g;function Me(m,b){return b.toUpperCase()}function st(m){return m.replace(Ne,"ms-").replace(He,Me)}var re=function(m){return 1===m.nodeType||9===m.nodeType||!+m.nodeType};function Re(){this.expando=g.expando+Re.uid++}Re.uid=1,Re.prototype={cache:function(m){var b=m[this.expando];return b||(b={},re(m)&&(m.nodeType?m[this.expando]=b:Object.defineProperty(m,this.expando,{value:b,configurable:!0}))),b},set:function(m,b,G){var Q,we=this.cache(m);if("string"==typeof b)we[st(b)]=G;else for(Q in b)we[st(Q)]=b[Q];return we},get:function(m,b){return void 0===b?this.cache(m):m[this.expando]&&m[this.expando][st(b)]},access:function(m,b,G){return void 0===b||b&&"string"==typeof b&&void 0===G?this.get(m,b):(this.set(m,b,G),void 0!==G?G:b)},remove:function(m,b){var G,Q=m[this.expando];if(void 0!==Q){if(void 0!==b)for((G=(b=Array.isArray(b)?b.map(st):(b=st(b))in Q?[b]:b.match(Xe)||[]).length);G--;)delete Q[b[G]];(void 0===b||g.isEmptyObject(Q))&&(m.nodeType?m[this.expando]=void 0:delete m[this.expando])}},hasData:function(m){var b=m[this.expando];return void 0!==b&&!g.isEmptyObject(b)}};var pe=new Re,Mt=new Re,$t=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,zt=/[A-Z]/g;function Un(m,b,G){var Q;if(void 0===G&&1===m.nodeType)if(Q="data-"+b.replace(zt,"-$&").toLowerCase(),"string"==typeof(G=m.getAttribute(Q))){try{G=function bn(m){return"true"===m||"false"!==m&&("null"===m?null:m===+m+""?+m:$t.test(m)?JSON.parse(m):m)}(G)}catch{}Mt.set(m,b,G)}else G=void 0;return G}g.extend({hasData:function(m){return Mt.hasData(m)||pe.hasData(m)},data:function(m,b,G){return Mt.access(m,b,G)},removeData:function(m,b){Mt.remove(m,b)},_data:function(m,b,G){return pe.access(m,b,G)},_removeData:function(m,b){pe.remove(m,b)}}),g.fn.extend({data:function(m,b){var G,Q,we,Ee=this[0],Ze=Ee&&Ee.attributes;if(void 0===m){if(this.length&&(we=Mt.get(Ee),1===Ee.nodeType&&!pe.get(Ee,"hasDataAttrs"))){for(G=Ze.length;G--;)Ze[G]&&0===(Q=Ze[G].name).indexOf("data-")&&(Q=st(Q.slice(5)),Un(Ee,Q,we[Q]));pe.set(Ee,"hasDataAttrs",!0)}return we}return"object"==typeof m?this.each(function(){Mt.set(this,m)}):Ke(this,function(N){var ue;if(Ee&&void 0===N)return void 0!==(ue=Mt.get(Ee,m))||void 0!==(ue=Un(Ee,m))?ue:void 0;this.each(function(){Mt.set(this,m,N)})},null,b,arguments.length>1,null,!0)},removeData:function(m){return this.each(function(){Mt.remove(this,m)})}}),g.extend({queue:function(m,b,G){var Q;if(m)return Q=pe.get(m,b=(b||"fx")+"queue"),G&&(!Q||Array.isArray(G)?Q=pe.access(m,b,g.makeArray(G)):Q.push(G)),Q||[]},dequeue:function(m,b){var G=g.queue(m,b=b||"fx"),Q=G.length,we=G.shift(),Ee=g._queueHooks(m,b);"inprogress"===we&&(we=G.shift(),Q--),we&&("fx"===b&&G.unshift("inprogress"),delete Ee.stop,we.call(m,function(){g.dequeue(m,b)},Ee)),!Q&&Ee&&Ee.empty.fire()},_queueHooks:function(m,b){var G=b+"queueHooks";return pe.get(m,G)||pe.access(m,G,{empty:g.Callbacks("once memory").add(function(){pe.remove(m,[b+"queue",G])})})}}),g.fn.extend({queue:function(m,b){var G=2;return"string"!=typeof m&&(b=m,m="fx",G--),arguments.length<G?g.queue(this[0],m):void 0===b?this:this.each(function(){var Q=g.queue(this,m,b);g._queueHooks(this,m),"fx"===m&&"inprogress"!==Q[0]&&g.dequeue(this,m)})},dequeue:function(m){return this.each(function(){g.dequeue(this,m)})},clearQueue:function(m){return this.queue(m||"fx",[])},promise:function(m,b){var G,Q=1,we=g.Deferred(),Ee=this,Ze=this.length,N=function(){--Q||we.resolveWith(Ee,[Ee])};for("string"!=typeof m&&(b=m,m=void 0),m=m||"fx";Ze--;)(G=pe.get(Ee[Ze],m+"queueHooks"))&&G.empty&&(Q++,G.empty.add(N));return N(),we.promise(b)}});var jn=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,dn=new RegExp("^(?:([+-])=|)("+jn+")([a-z%]*)$","i"),kn=["Top","Right","Bottom","Left"],Ln=j.documentElement,Bn=function(m){return g.contains(m.ownerDocument,m)},ti={composed:!0};Ln.getRootNode&&(Bn=function(m){return g.contains(m.ownerDocument,m)||m.getRootNode(ti)===m.ownerDocument});var Ft=function(m,b){return"none"===(m=b||m).style.display||""===m.style.display&&Bn(m)&&"none"===g.css(m,"display")};function Nt(m,b,G,Q){var we,Ee,Ze=20,N=Q?function(){return Q.cur()}:function(){return g.css(m,b,"")},ue=N(),q=G&&G[3]||(g.cssNumber[b]?"":"px"),Pe=m.nodeType&&(g.cssNumber[b]||"px"!==q&&+ue)&&dn.exec(g.css(m,b));if(Pe&&Pe[3]!==q){for(q=q||Pe[3],Pe=+(ue/=2)||1;Ze--;)g.style(m,b,Pe+q),(1-Ee)*(1-(Ee=N()/ue||.5))<=0&&(Ze=0),Pe/=Ee;g.style(m,b,(Pe*=2)+q),G=G||[]}return G&&(Pe=+Pe||+ue||0,we=G[1]?Pe+(G[1]+1)*G[2]:+G[2],Q&&(Q.unit=q,Q.start=Pe,Q.end=we)),we}var It={};function en(m){var b,G=m.ownerDocument,Q=m.nodeName,we=It[Q];return we||(b=G.body.appendChild(G.createElement(Q)),we=g.css(b,"display"),b.parentNode.removeChild(b),"none"===we&&(we="block"),It[Q]=we,we)}function Vt(m,b){for(var G,Q,we=[],Ee=0,Ze=m.length;Ee<Ze;Ee++)(Q=m[Ee]).style&&(G=Q.style.display,b?("none"===G&&(we[Ee]=pe.get(Q,"display")||null,we[Ee]||(Q.style.display="")),""===Q.style.display&&Ft(Q)&&(we[Ee]=en(Q))):"none"!==G&&(we[Ee]="none",pe.set(Q,"display",G)));for(Ee=0;Ee<Ze;Ee++)null!=we[Ee]&&(m[Ee].style.display=we[Ee]);return m}g.fn.extend({show:function(){return Vt(this,!0)},hide:function(){return Vt(this)},toggle:function(m){return"boolean"==typeof m?m?this.show():this.hide():this.each(function(){Ft(this)?g(this).show():g(this).hide()})}});var b,G,We=/^(?:checkbox|radio)$/i,De=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,fe=/^$|^module$|\/(?:java|ecma)script/i;b=j.createDocumentFragment().appendChild(j.createElement("div")),(G=j.createElement("input")).setAttribute("type","radio"),G.setAttribute("checked","checked"),G.setAttribute("name","t"),b.appendChild(G),ae.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="<textarea>x</textarea>",ae.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,b.innerHTML="<option></option>",ae.option=!!b.lastChild;var F={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Ce(m,b){var G;return G=typeof m.getElementsByTagName<"u"?m.getElementsByTagName(b||"*"):typeof m.querySelectorAll<"u"?m.querySelectorAll(b||"*"):[],void 0===b||b&&V(m,b)?g.merge([m],G):G}function Te(m,b){for(var G=0,Q=m.length;G<Q;G++)pe.set(m[G],"globalEval",!b||pe.get(b[G],"globalEval"))}F.tbody=F.tfoot=F.colgroup=F.caption=F.thead,F.th=F.td,ae.option||(F.optgroup=F.option=[1,"<select multiple='multiple'>","</select>"]);var at=/<|&#?\w+;/;function Oe(m,b,G,Q,we){for(var Ee,Ze,N,ue,q,Pe,ct=b.createDocumentFragment(),ft=[],Qt=0,En=m.length;Qt<En;Qt++)if((Ee=m[Qt])||0===Ee)if("object"===le(Ee))g.merge(ft,Ee.nodeType?[Ee]:Ee);else if(at.test(Ee)){for(Ze=Ze||ct.appendChild(b.createElement("div")),N=(De.exec(Ee)||["",""])[1].toLowerCase(),Ze.innerHTML=(ue=F[N]||F._default)[1]+g.htmlPrefilter(Ee)+ue[2],Pe=ue[0];Pe--;)Ze=Ze.lastChild;g.merge(ft,Ze.childNodes),(Ze=ct.firstChild).textContent=""}else ft.push(b.createTextNode(Ee));for(ct.textContent="",Qt=0;Ee=ft[Qt++];)if(Q&&g.inArray(Ee,Q)>-1)we&&we.push(Ee);else if(q=Bn(Ee),Ze=Ce(ct.appendChild(Ee),"script"),q&&Te(Ze),G)for(Pe=0;Ee=Ze[Pe++];)fe.test(Ee.type||"")&&G.push(Ee);return ct}var it=/^([^.]*)(?:\.(.+)|)/;function bt(){return!0}function jt(){return!1}function mn(m,b,G,Q,we,Ee){var Ze,N;if("object"==typeof b){for(N in"string"!=typeof G&&(Q=Q||G,G=void 0),b)mn(m,N,G,Q,b[N],Ee);return m}if(null==Q&&null==we?(we=G,Q=G=void 0):null==we&&("string"==typeof G?(we=Q,Q=void 0):(we=Q,Q=G,G=void 0)),!1===we)we=jt;else if(!we)return m;return 1===Ee&&(Ze=we,we=function(ue){return g().off(ue),Ze.apply(this,arguments)},we.guid=Ze.guid||(Ze.guid=g.guid++)),m.each(function(){g.event.add(this,b,we,Q,G)})}function Cn(m,b,G){G?(pe.set(m,b,!1),g.event.add(m,b,{namespace:!1,handler:function(Q){var we,Ee=pe.get(this,b);if(1&Q.isTrigger&&this[b]){if(Ee)(g.event.special[b]||{}).delegateType&&Q.stopPropagation();else if(Ee=i.call(arguments),pe.set(this,b,Ee),this[b](),we=pe.get(this,b),pe.set(this,b,!1),Ee!==we)return Q.stopImmediatePropagation(),Q.preventDefault(),we}else Ee&&(pe.set(this,b,g.event.trigger(Ee[0],Ee.slice(1),this)),Q.stopPropagation(),Q.isImmediatePropagationStopped=bt)}})):void 0===pe.get(m,b)&&g.event.add(m,b,bt)}g.event={global:{},add:function(m,b,G,Q,we){var Ee,Ze,N,ue,q,Pe,ct,ft,Qt,En,Zn,Sn=pe.get(m);if(re(m))for(G.handler&&(G=(Ee=G).handler,we=Ee.selector),we&&g.find.matchesSelector(Ln,we),G.guid||(G.guid=g.guid++),(ue=Sn.events)||(ue=Sn.events=Object.create(null)),(Ze=Sn.handle)||(Ze=Sn.handle=function(zi){return typeof g<"u"&&g.event.triggered!==zi.type?g.event.dispatch.apply(m,arguments):void 0}),q=(b=(b||"").match(Xe)||[""]).length;q--;)Qt=Zn=(N=it.exec(b[q])||[])[1],En=(N[2]||"").split(".").sort(),Qt&&(ct=g.event.special[Qt]||{},ct=g.event.special[Qt=(we?ct.delegateType:ct.bindType)||Qt]||{},Pe=g.extend({type:Qt,origType:Zn,data:Q,handler:G,guid:G.guid,selector:we,needsContext:we&&g.expr.match.needsContext.test(we),namespace:En.join(".")},Ee),(ft=ue[Qt])||((ft=ue[Qt]=[]).delegateCount=0,(!ct.setup||!1===ct.setup.call(m,Q,En,Ze))&&m.addEventListener&&m.addEventListener(Qt,Ze)),ct.add&&(ct.add.call(m,Pe),Pe.handler.guid||(Pe.handler.guid=G.guid)),we?ft.splice(ft.delegateCount++,0,Pe):ft.push(Pe),g.event.global[Qt]=!0)},remove:function(m,b,G,Q,we){var Ee,Ze,N,ue,q,Pe,ct,ft,Qt,En,Zn,Sn=pe.hasData(m)&&pe.get(m);if(Sn&&(ue=Sn.events)){for(q=(b=(b||"").match(Xe)||[""]).length;q--;)if(Qt=Zn=(N=it.exec(b[q])||[])[1],En=(N[2]||"").split(".").sort(),Qt){for(ct=g.event.special[Qt]||{},ft=ue[Qt=(Q?ct.delegateType:ct.bindType)||Qt]||[],N=N[2]&&new RegExp("(^|\\.)"+En.join("\\.(?:.*\\.|)")+"(\\.|$)"),Ze=Ee=ft.length;Ee--;)Pe=ft[Ee],(we||Zn===Pe.origType)&&(!G||G.guid===Pe.guid)&&(!N||N.test(Pe.namespace))&&(!Q||Q===Pe.selector||"**"===Q&&Pe.selector)&&(ft.splice(Ee,1),Pe.selector&&ft.delegateCount--,ct.remove&&ct.remove.call(m,Pe));Ze&&!ft.length&&((!ct.teardown||!1===ct.teardown.call(m,En,Sn.handle))&&g.removeEvent(m,Qt,Sn.handle),delete ue[Qt])}else for(Qt in ue)g.event.remove(m,Qt+b[q],G,Q,!0);g.isEmptyObject(ue)&&pe.remove(m,"handle events")}},dispatch:function(m){var b,G,Q,we,Ee,Ze,N=new Array(arguments.length),ue=g.event.fix(m),q=(pe.get(this,"events")||Object.create(null))[ue.type]||[],Pe=g.event.special[ue.type]||{};for(N[0]=ue,b=1;b<arguments.length;b++)N[b]=arguments[b];if(ue.delegateTarget=this,!Pe.preDispatch||!1!==Pe.preDispatch.call(this,ue)){for(Ze=g.event.handlers.call(this,ue,q),b=0;(we=Ze[b++])&&!ue.isPropagationStopped();)for(ue.currentTarget=we.elem,G=0;(Ee=we.handlers[G++])&&!ue.isImmediatePropagationStopped();)(!ue.rnamespace||!1===Ee.namespace||ue.rnamespace.test(Ee.namespace))&&(ue.handleObj=Ee,ue.data=Ee.data,void 0!==(Q=((g.event.special[Ee.origType]||{}).handle||Ee.handler).apply(we.elem,N))&&!1===(ue.result=Q)&&(ue.preventDefault(),ue.stopPropagation()));return Pe.postDispatch&&Pe.postDispatch.call(this,ue),ue.result}},handlers:function(m,b){var G,Q,we,Ee,Ze,N=[],ue=b.delegateCount,q=m.target;if(ue&&q.nodeType&&!("click"===m.type&&m.button>=1))for(;q!==this;q=q.parentNode||this)if(1===q.nodeType&&("click"!==m.type||!0!==q.disabled)){for(Ee=[],Ze={},G=0;G<ue;G++)void 0===Ze[we=(Q=b[G]).selector+" "]&&(Ze[we]=Q.needsContext?g(we,this).index(q)>-1:g.find(we,this,null,[q]).length),Ze[we]&&Ee.push(Q);Ee.length&&N.push({elem:q,handlers:Ee})}return q=this,ue<b.length&&N.push({elem:q,handlers:b.slice(ue)}),N},addProp:function(m,b){Object.defineProperty(g.Event.prototype,m,{enumerable:!0,configurable:!0,get:Z(b)?function(){if(this.originalEvent)return b(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[m]},set:function(G){Object.defineProperty(this,m,{enumerable:!0,configurable:!0,writable:!0,value:G})}})},fix:function(m){return m[g.expando]?m:new g.Event(m)},special:{load:{noBubble:!0},click:{setup:function(m){var b=this||m;return We.test(b.type)&&b.click&&V(b,"input")&&Cn(b,"click",!0),!1},trigger:function(m){var b=this||m;return We.test(b.type)&&b.click&&V(b,"input")&&Cn(b,"click"),!0},_default:function(m){var b=m.target;return We.test(b.type)&&b.click&&V(b,"input")&&pe.get(b,"click")||V(b,"a")}},beforeunload:{postDispatch:function(m){void 0!==m.result&&m.originalEvent&&(m.originalEvent.returnValue=m.result)}}}},g.removeEvent=function(m,b,G){m.removeEventListener&&m.removeEventListener(b,G)},g.Event=function(m,b){if(!(this instanceof g.Event))return new g.Event(m,b);m&&m.type?(this.originalEvent=m,this.type=m.type,this.isDefaultPrevented=m.defaultPrevented||void 0===m.defaultPrevented&&!1===m.returnValue?bt:jt,this.target=m.target&&3===m.target.nodeType?m.target.parentNode:m.target,this.currentTarget=m.currentTarget,this.relatedTarget=m.relatedTarget):this.type=m,b&&g.extend(this,b),this.timeStamp=m&&m.timeStamp||Date.now(),this[g.expando]=!0},g.Event.prototype={constructor:g.Event,isDefaultPrevented:jt,isPropagationStopped:jt,isImmediatePropagationStopped:jt,isSimulated:!1,preventDefault:function(){var m=this.originalEvent;this.isDefaultPrevented=bt,m&&!this.isSimulated&&m.preventDefault()},stopPropagation:function(){var m=this.originalEvent;this.isPropagationStopped=bt,m&&!this.isSimulated&&m.stopPropagation()},stopImmediatePropagation:function(){var m=this.originalEvent;this.isImmediatePropagationStopped=bt,m&&!this.isSimulated&&m.stopImmediatePropagation(),this.stopPropagation()}},g.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},g.event.addProp),g.each({focus:"focusin",blur:"focusout"},function(m,b){function G(Q){if(j.documentMode){var we=pe.get(this,"handle"),Ee=g.event.fix(Q);Ee.type="focusin"===Q.type?"focus":"blur",Ee.isSimulated=!0,we(Q),Ee.target===Ee.currentTarget&&we(Ee)}else g.event.simulate(b,Q.target,g.event.fix(Q))}g.event.special[m]={setup:function(){var Q;if(Cn(this,m,!0),!j.documentMode)return!1;(Q=pe.get(this,b))||this.addEventListener(b,G),pe.set(this,b,(Q||0)+1)},trigger:function(){return Cn(this,m),!0},teardown:function(){var Q;if(!j.documentMode)return!1;(Q=pe.get(this,b)-1)?pe.set(this,b,Q):(this.removeEventListener(b,G),pe.remove(this,b))},_default:function(Q){return pe.get(Q.target,m)},delegateType:b},g.event.special[b]={setup:function(){var Q=this.ownerDocument||this.document||this,we=j.documentMode?this:Q,Ee=pe.get(we,b);Ee||(j.documentMode?this.addEventListener(b,G):Q.addEventListener(m,G,!0)),pe.set(we,b,(Ee||0)+1)},teardown:function(){var Q=this.ownerDocument||this.document||this,we=j.documentMode?this:Q,Ee=pe.get(we,b)-1;Ee?pe.set(we,b,Ee):(j.documentMode?this.removeEventListener(b,G):Q.removeEventListener(m,G,!0),pe.remove(we,b))}}}),g.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(m,b){g.event.special[m]={delegateType:b,bindType:b,handle:function(G){var Q,Ee=G.relatedTarget,Ze=G.handleObj;return(!Ee||Ee!==this&&!g.contains(this,Ee))&&(G.type=Ze.origType,Q=Ze.handler.apply(this,arguments),G.type=b),Q}}}),g.fn.extend({on:function(m,b,G,Q){return mn(this,m,b,G,Q)},one:function(m,b,G,Q){return mn(this,m,b,G,Q,1)},off:function(m,b,G){var Q,we;if(m&&m.preventDefault&&m.handleObj)return Q=m.handleObj,g(m.delegateTarget).off(Q.namespace?Q.origType+"."+Q.namespace:Q.origType,Q.selector,Q.handler),this;if("object"==typeof m){for(we in m)this.off(we,b,m[we]);return this}return(!1===b||"function"==typeof b)&&(G=b,b=void 0),!1===G&&(G=jt),this.each(function(){g.event.remove(this,m,G,b)})}});var xn=/<script|<style|<link/i,Fn=/checked\s*(?:[^=]|=\s*.checked.)/i,$n=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function ln(m,b){return V(m,"table")&&V(11!==b.nodeType?b:b.firstChild,"tr")&&g(m).children("tbody")[0]||m}function ni(m){return m.type=(null!==m.getAttribute("type"))+"/"+m.type,m}function Oi(m){return"true/"===(m.type||"").slice(0,5)?m.type=m.type.slice(5):m.removeAttribute("type"),m}function Er(m,b){var G,Q,we,Ze,N,ue;if(1===b.nodeType){if(pe.hasData(m)&&(ue=pe.get(m).events))for(we in pe.remove(b,"handle events"),ue)for(G=0,Q=ue[we].length;G<Q;G++)g.event.add(b,we,ue[we][G]);Mt.hasData(m)&&(Ze=Mt.access(m),N=g.extend({},Ze),Mt.set(b,N))}}function Vr(m,b){var G=b.nodeName.toLowerCase();"input"===G&&We.test(m.type)?b.checked=m.checked:("input"===G||"textarea"===G)&&(b.defaultValue=m.defaultValue)}function Mi(m,b,G,Q){b=y(b);var we,Ee,Ze,N,ue,q,Pe=0,ct=m.length,ft=ct-1,Qt=b[0],En=Z(Qt);if(En||ct>1&&"string"==typeof Qt&&!ae.checkClone&&Fn.test(Qt))return m.each(function(Zn){var Sn=m.eq(Zn);En&&(b[0]=Qt.call(this,Zn,Sn.html())),Mi(Sn,b,G,Q)});if(ct&&(Ee=(we=Oe(b,m[0].ownerDocument,!1,m,Q)).firstChild,1===we.childNodes.length&&(we=Ee),Ee||Q)){for(N=(Ze=g.map(Ce(we,"script"),ni)).length;Pe<ct;Pe++)ue=we,Pe!==ft&&(ue=g.clone(ue,!0,!0),N&&g.merge(Ze,Ce(ue,"script"))),G.call(m[Pe],ue,Pe);if(N)for(q=Ze[Ze.length-1].ownerDocument,g.map(Ze,Oi),Pe=0;Pe<N;Pe++)fe.test((ue=Ze[Pe]).type||"")&&!pe.access(ue,"globalEval")&&g.contains(q,ue)&&(ue.src&&"module"!==(ue.type||"").toLowerCase()?g._evalUrl&&!ue.noModule&&g._evalUrl(ue.src,{nonce:ue.nonce||ue.getAttribute("nonce")},q):rt(ue.textContent.replace($n,""),ue,q))}return m}function qn(m,b,G){for(var Q,we=b?g.filter(b,m):m,Ee=0;null!=(Q=we[Ee]);Ee++)!G&&1===Q.nodeType&&g.cleanData(Ce(Q)),Q.parentNode&&(G&&Bn(Q)&&Te(Ce(Q,"script")),Q.parentNode.removeChild(Q));return m}g.extend({htmlPrefilter:function(m){return m},clone:function(m,b,G){var Q,we,Ee,Ze,N=m.cloneNode(!0),ue=Bn(m);if(!(ae.noCloneChecked||1!==m.nodeType&&11!==m.nodeType||g.isXMLDoc(m)))for(Ze=Ce(N),Q=0,we=(Ee=Ce(m)).length;Q<we;Q++)Vr(Ee[Q],Ze[Q]);if(b)if(G)for(Ee=Ee||Ce(m),Ze=Ze||Ce(N),Q=0,we=Ee.length;Q<we;Q++)Er(Ee[Q],Ze[Q]);else Er(m,N);return(Ze=Ce(N,"script")).length>0&&Te(Ze,!ue&&Ce(m,"script")),N},cleanData:function(m){for(var b,G,Q,we=g.event.special,Ee=0;void 0!==(G=m[Ee]);Ee++)if(re(G)){if(b=G[pe.expando]){if(b.events)for(Q in b.events)we[Q]?g.event.remove(G,Q):g.removeEvent(G,Q,b.handle);G[pe.expando]=void 0}G[Mt.expando]&&(G[Mt.expando]=void 0)}}}),g.fn.extend({detach:function(m){return qn(this,m,!0)},remove:function(m){return qn(this,m)},text:function(m){return Ke(this,function(b){return void 0===b?g.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=b)})},null,m,arguments.length)},append:function(){return Mi(this,arguments,function(m){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||ln(this,m).appendChild(m)})},prepend:function(){return Mi(this,arguments,function(m){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=ln(this,m);b.insertBefore(m,b.firstChild)}})},before:function(){return Mi(this,arguments,function(m){this.parentNode&&this.parentNode.insertBefore(m,this)})},after:function(){return Mi(this,arguments,function(m){this.parentNode&&this.parentNode.insertBefore(m,this.nextSibling)})},empty:function(){for(var m,b=0;null!=(m=this[b]);b++)1===m.nodeType&&(g.cleanData(Ce(m,!1)),m.textContent="");return this},clone:function(m,b){return m=m??!1,b=b??m,this.map(function(){return g.clone(this,m,b)})},html:function(m){return Ke(this,function(b){var G=this[0]||{},Q=0,we=this.length;if(void 0===b&&1===G.nodeType)return G.innerHTML;if("string"==typeof b&&!xn.test(b)&&!F[(De.exec(b)||["",""])[1].toLowerCase()]){b=g.htmlPrefilter(b);try{for(;Q<we;Q++)1===(G=this[Q]||{}).nodeType&&(g.cleanData(Ce(G,!1)),G.innerHTML=b);G=0}catch{}}G&&this.empty().append(b)},null,m,arguments.length)},replaceWith:function(){var m=[];return Mi(this,arguments,function(b){var G=this.parentNode;g.inArray(this,m)<0&&(g.cleanData(Ce(this)),G&&G.replaceChild(b,this))},m)}}),g.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(m,b){g.fn[m]=function(G){for(var Q,we=[],Ee=g(G),Ze=Ee.length-1,N=0;N<=Ze;N++)Q=N===Ze?this:this.clone(!0),g(Ee[N])[b](Q),_.apply(we,Q.get());return this.pushStack(we)}});var ls=new RegExp("^("+jn+")(?!px)[a-z%]+$","i"),ur=/^--/,Nr=function(m){var b=m.ownerDocument.defaultView;return(!b||!b.opener)&&(b=d),b.getComputedStyle(m)},ds=function(m,b,G){var Q,we,Ee={};for(we in b)Ee[we]=m.style[we],m.style[we]=b[we];for(we in Q=G.call(m),b)m.style[we]=Ee[we];return Q},Tr=new RegExp(kn.join("|"),"i");function wr(m,b,G){var Q,we,Ee,Ze,N=ur.test(b),ue=m.style;return(G=G||Nr(m))&&(Ze=G.getPropertyValue(b)||G[b],N&&Ze&&(Ze=Ze.replace(ot,"$1")||void 0),""===Ze&&!Bn(m)&&(Ze=g.style(m,b)),!ae.pixelBoxStyles()&&ls.test(Ze)&&Tr.test(b)&&(Q=ue.width,we=ue.minWidth,Ee=ue.maxWidth,ue.minWidth=ue.maxWidth=ue.width=Ze,Ze=G.width,ue.width=Q,ue.minWidth=we,ue.maxWidth=Ee)),void 0!==Ze?Ze+"":Ze}function Qr(m,b){return{get:function(){if(!m())return(this.get=b).apply(this,arguments);delete this.get}}}!function(){function m(){if(q){ue.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",q.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Ln.appendChild(ue).appendChild(q);var Pe=d.getComputedStyle(q);G="1%"!==Pe.top,N=12===b(Pe.marginLeft),q.style.right="60%",Ee=36===b(Pe.right),Q=36===b(Pe.width),q.style.position="absolute",we=12===b(q.offsetWidth/3),Ln.removeChild(ue),q=null}}function b(Pe){return Math.round(parseFloat(Pe))}var G,Q,we,Ee,Ze,N,ue=j.createElement("div"),q=j.createElement("div");q.style&&(q.style.backgroundClip="content-box",q.cloneNode(!0).style.backgroundClip="",ae.clearCloneStyle="content-box"===q.style.backgroundClip,g.extend(ae,{boxSizingReliable:function(){return m(),Q},pixelBoxStyles:function(){return m(),Ee},pixelPosition:function(){return m(),G},reliableMarginLeft:function(){return m(),N},scrollboxSize:function(){return m(),we},reliableTrDimensions:function(){var Pe,ct,ft,Qt;return null==Ze&&(Pe=j.createElement("table"),ct=j.createElement("tr"),ft=j.createElement("div"),Pe.style.cssText="position:absolute;left:-11111px;border-collapse:separate",ct.style.cssText="box-sizing:content-box;border:1px solid",ct.style.height="1px",ft.style.height="9px",ft.style.display="block",Ln.appendChild(Pe).appendChild(ct).appendChild(ft),Qt=d.getComputedStyle(ct),Ze=parseInt(Qt.height,10)+parseInt(Qt.borderTopWidth,10)+parseInt(Qt.borderBottomWidth,10)===ct.offsetHeight,Ln.removeChild(Pe)),Ze}}))}();var ht=["Webkit","Moz","ms"],xt=j.createElement("div").style,At={};function nn(m){return g.cssProps[m]||At[m]||(m in xt?m:At[m]=function hn(m){for(var b=m[0].toUpperCase()+m.slice(1),G=ht.length;G--;)if((m=ht[G]+b)in xt)return m}(m)||m)}var Pn=/^(none|table(?!-c[ea]).+)/,In={position:"absolute",visibility:"hidden",display:"block"},fi={letterSpacing:"0",fontWeight:"400"};function Kn(m,b,G){var Q=dn.exec(b);return Q?Math.max(0,Q[2]-(G||0))+(Q[3]||"px"):b}function Wn(m,b,G,Q,we,Ee){var Ze="width"===b?1:0,N=0,ue=0,q=0;if(G===(Q?"border":"content"))return 0;for(;Ze<4;Ze+=2)"margin"===G&&(q+=g.css(m,G+kn[Ze],!0,we)),Q?("content"===G&&(ue-=g.css(m,"padding"+kn[Ze],!0,we)),"margin"!==G&&(ue-=g.css(m,"border"+kn[Ze]+"Width",!0,we))):(ue+=g.css(m,"padding"+kn[Ze],!0,we),"padding"!==G?ue+=g.css(m,"border"+kn[Ze]+"Width",!0,we):N+=g.css(m,"border"+kn[Ze]+"Width",!0,we));return!Q&&Ee>=0&&(ue+=Math.max(0,Math.ceil(m["offset"+b[0].toUpperCase()+b.slice(1)]-Ee-ue-N-.5))||0),ue+q}function Ii(m,b,G){var Q=Nr(m),Ee=(!ae.boxSizingReliable()||G)&&"border-box"===g.css(m,"boxSizing",!1,Q),Ze=Ee,N=wr(m,b,Q),ue="offset"+b[0].toUpperCase()+b.slice(1);if(ls.test(N)){if(!G)return N;N="auto"}return(!ae.boxSizingReliable()&&Ee||!ae.reliableTrDimensions()&&V(m,"tr")||"auto"===N||!parseFloat(N)&&"inline"===g.css(m,"display",!1,Q))&&m.getClientRects().length&&(Ee="border-box"===g.css(m,"boxSizing",!1,Q),(Ze=ue in m)&&(N=m[ue])),(N=parseFloat(N)||0)+Wn(m,b,G||(Ee?"border":"content"),Ze,Q,N)+"px"}function ii(m,b,G,Q,we){return new ii.prototype.init(m,b,G,Q,we)}g.extend({cssHooks:{opacity:{get:function(m,b){if(b){var G=wr(m,"opacity");return""===G?"1":G}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(m,b,G,Q){if(m&&3!==m.nodeType&&8!==m.nodeType&&m.style){var we,Ee,Ze,N=st(b),ue=ur.test(b),q=m.style;if(ue||(b=nn(N)),Ze=g.cssHooks[b]||g.cssHooks[N],void 0===G)return Ze&&"get"in Ze&&void 0!==(we=Ze.get(m,!1,Q))?we:q[b];if("string"==(Ee=typeof G)&&(we=dn.exec(G))&&we[1]&&(G=Nt(m,b,we),Ee="number"),null==G||G!=G)return;"number"===Ee&&!ue&&(G+=we&&we[3]||(g.cssNumber[N]?"":"px")),!ae.clearCloneStyle&&""===G&&0===b.indexOf("background")&&(q[b]="inherit"),(!Ze||!("set"in Ze)||void 0!==(G=Ze.set(m,G,Q)))&&(ue?q.setProperty(b,G):q[b]=G)}},css:function(m,b,G,Q){var we,Ee,Ze,N=st(b);return ur.test(b)||(b=nn(N)),(Ze=g.cssHooks[b]||g.cssHooks[N])&&"get"in Ze&&(we=Ze.get(m,!0,G)),void 0===we&&(we=wr(m,b,Q)),"normal"===we&&b in fi&&(we=fi[b]),""===G||G?(Ee=parseFloat(we),!0===G||isFinite(Ee)?Ee||0:we):we}}),g.each(["height","width"],function(m,b){g.cssHooks[b]={get:function(G,Q,we){if(Q)return!Pn.test(g.css(G,"display"))||G.getClientRects().length&&G.getBoundingClientRect().width?Ii(G,b,we):ds(G,In,function(){return Ii(G,b,we)})},set:function(G,Q,we){var Ee,Ze=Nr(G),N=!ae.scrollboxSize()&&"absolute"===Ze.position,q=(N||we)&&"border-box"===g.css(G,"boxSizing",!1,Ze),Pe=we?Wn(G,b,we,q,Ze):0;return q&&N&&(Pe-=Math.ceil(G["offset"+b[0].toUpperCase()+b.slice(1)]-parseFloat(Ze[b])-Wn(G,b,"border",!1,Ze)-.5)),Pe&&(Ee=dn.exec(Q))&&"px"!==(Ee[3]||"px")&&(G.style[b]=Q,Q=g.css(G,b)),Kn(0,Q,Pe)}}}),g.cssHooks.marginLeft=Qr(ae.reliableMarginLeft,function(m,b){if(b)return(parseFloat(wr(m,"marginLeft"))||m.getBoundingClientRect().left-ds(m,{marginLeft:0},function(){return m.getBoundingClientRect().left}))+"px"}),g.each({margin:"",padding:"",border:"Width"},function(m,b){g.cssHooks[m+b]={expand:function(G){for(var Q=0,we={},Ee="string"==typeof G?G.split(" "):[G];Q<4;Q++)we[m+kn[Q]+b]=Ee[Q]||Ee[Q-2]||Ee[0];return we}},"margin"!==m&&(g.cssHooks[m+b].set=Kn)}),g.fn.extend({css:function(m,b){return Ke(this,function(G,Q,we){var Ee,Ze,N={},ue=0;if(Array.isArray(Q)){for(Ee=Nr(G),Ze=Q.length;ue<Ze;ue++)N[Q[ue]]=g.css(G,Q[ue],!1,Ee);return N}return void 0!==we?g.style(G,Q,we):g.css(G,Q)},m,b,arguments.length>1)}}),g.Tween=ii,ii.prototype={constructor:ii,init:function(m,b,G,Q,we,Ee){this.elem=m,this.prop=G,this.easing=we||g.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=Q,this.unit=Ee||(g.cssNumber[G]?"":"px")},cur:function(){var m=ii.propHooks[this.prop];return m&&m.get?m.get(this):ii.propHooks._default.get(this)},run:function(m){var b,G=ii.propHooks[this.prop];return this.pos=b=this.options.duration?g.easing[this.easing](m,this.options.duration*m,0,1,this.options.duration):m,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),G&&G.set?G.set(this):ii.propHooks._default.set(this),this}},ii.prototype.init.prototype=ii.prototype,ii.propHooks={_default:{get:function(m){var b;return 1!==m.elem.nodeType||null!=m.elem[m.prop]&&null==m.elem.style[m.prop]?m.elem[m.prop]:(b=g.css(m.elem,m.prop,""))&&"auto"!==b?b:0},set:function(m){g.fx.step[m.prop]?g.fx.step[m.prop](m):1!==m.elem.nodeType||!g.cssHooks[m.prop]&&null==m.elem.style[nn(m.prop)]?m.elem[m.prop]=m.now:g.style(m.elem,m.prop,m.now+m.unit)}}},ii.propHooks.scrollTop=ii.propHooks.scrollLeft={set:function(m){m.elem.nodeType&&m.elem.parentNode&&(m.elem[m.prop]=m.now)}},g.easing={linear:function(m){return m},swing:function(m){return.5-Math.cos(m*Math.PI)/2},_default:"swing"},g.fx=ii.prototype.init,g.fx.step={};var ui,Ai,Xi=/^(?:toggle|show|hide)$/,yi=/queueHooks$/;function mi(){Ai&&(!1===j.hidden&&d.requestAnimationFrame?d.requestAnimationFrame(mi):d.setTimeout(mi,g.fx.interval),g.fx.tick())}function Ui(){return d.setTimeout(function(){ui=void 0}),ui=Date.now()}function Dr(m,b){var G,Q=0,we={height:m};for(b=b?1:0;Q<4;Q+=2-b)we["margin"+(G=kn[Q])]=we["padding"+G]=m;return b&&(we.opacity=we.width=m),we}function dr(m,b,G){for(var Q,we=(sr.tweeners[b]||[]).concat(sr.tweeners["*"]),Ee=0,Ze=we.length;Ee<Ze;Ee++)if(Q=we[Ee].call(G,b,m))return Q}function sr(m,b,G){var Q,we,Ee=0,Ze=sr.prefilters.length,N=g.Deferred().always(function(){delete ue.elem}),ue=function(){if(we)return!1;for(var ct=ui||Ui(),ft=Math.max(0,q.startTime+q.duration-ct),En=1-(ft/q.duration||0),Zn=0,Sn=q.tweens.length;Zn<Sn;Zn++)q.tweens[Zn].run(En);return N.notifyWith(m,[q,En,ft]),En<1&&Sn?ft:(Sn||N.notifyWith(m,[q,1,0]),N.resolveWith(m,[q]),!1)},q=N.promise({elem:m,props:g.extend({},b),opts:g.extend(!0,{specialEasing:{},easing:g.easing._default},G),originalProperties:b,originalOptions:G,startTime:ui||Ui(),duration:G.duration,tweens:[],createTween:function(ct,ft){var Qt=g.Tween(m,q.opts,ct,ft,q.opts.specialEasing[ct]||q.opts.easing);return q.tweens.push(Qt),Qt},stop:function(ct){var ft=0,Qt=ct?q.tweens.length:0;if(we)return this;for(we=!0;ft<Qt;ft++)q.tweens[ft].run(1);return ct?(N.notifyWith(m,[q,1,0]),N.resolveWith(m,[q,ct])):N.rejectWith(m,[q,ct]),this}}),Pe=q.props;for(function Br(m,b){var G,Q,we,Ee,Ze;for(G in m)if(we=b[Q=st(G)],Ee=m[G],Array.isArray(Ee)&&(we=Ee[1],Ee=m[G]=Ee[0]),G!==Q&&(m[Q]=Ee,delete m[G]),(Ze=g.cssHooks[Q])&&"expand"in Ze)for(G in Ee=Ze.expand(Ee),delete m[Q],Ee)G in m||(m[G]=Ee[G],b[G]=we);else b[Q]=we}(Pe,q.opts.specialEasing);Ee<Ze;Ee++)if(Q=sr.prefilters[Ee].call(q,m,Pe,q.opts))return Z(Q.stop)&&(g._queueHooks(q.elem,q.opts.queue).stop=Q.stop.bind(Q)),Q;return g.map(Pe,dr,q),Z(q.opts.start)&&q.opts.start.call(m,q),q.progress(q.opts.progress).done(q.opts.done,q.opts.complete).fail(q.opts.fail).always(q.opts.always),g.fx.timer(g.extend(ue,{elem:m,anim:q,queue:q.opts.queue})),q}g.Animation=g.extend(sr,{tweeners:{"*":[function(m,b){var G=this.createTween(m,b);return Nt(G.elem,m,dn.exec(b),G),G}]},tweener:function(m,b){Z(m)?(b=m,m=["*"]):m=m.match(Xe);for(var G,Q=0,we=m.length;Q<we;Q++)(sr.tweeners[G=m[Q]]=sr.tweeners[G]||[]).unshift(b)},prefilters:[function pr(m,b,G){var Q,we,Ee,Ze,N,ue,q,Pe,ct="width"in b||"height"in b,ft=this,Qt={},En=m.style,Zn=m.nodeType&&Ft(m),Sn=pe.get(m,"fxshow");for(Q in G.queue||(null==(Ze=g._queueHooks(m,"fx")).unqueued&&(Ze.unqueued=0,N=Ze.empty.fire,Ze.empty.fire=function(){Ze.unqueued||N()}),Ze.unqueued++,ft.always(function(){ft.always(function(){Ze.unqueued--,g.queue(m,"fx").length||Ze.empty.fire()})})),b)if(Xi.test(we=b[Q])){if(delete b[Q],Ee=Ee||"toggle"===we,we===(Zn?"hide":"show")){if("show"!==we||!Sn||void 0===Sn[Q])continue;Zn=!0}Qt[Q]=Sn&&Sn[Q]||g.style(m,Q)}if((ue=!g.isEmptyObject(b))||!g.isEmptyObject(Qt))for(Q in ct&&1===m.nodeType&&(G.overflow=[En.overflow,En.overflowX,En.overflowY],null==(q=Sn&&Sn.display)&&(q=pe.get(m,"display")),"none"===(Pe=g.css(m,"display"))&&(q?Pe=q:(Vt([m],!0),q=m.style.display||q,Pe=g.css(m,"display"),Vt([m]))),("inline"===Pe||"inline-block"===Pe&&null!=q)&&"none"===g.css(m,"float")&&(ue||(ft.done(function(){En.display=q}),null==q&&(q="none"===(Pe=En.display)?"":Pe)),En.display="inline-block")),G.overflow&&(En.overflow="hidden",ft.always(function(){En.overflow=G.overflow[0],En.overflowX=G.overflow[1],En.overflowY=G.overflow[2]})),ue=!1,Qt)ue||(Sn?"hidden"in Sn&&(Zn=Sn.hidden):Sn=pe.access(m,"fxshow",{display:q}),Ee&&(Sn.hidden=!Zn),Zn&&Vt([m],!0),ft.done(function(){for(Q in Zn||Vt([m]),pe.remove(m,"fxshow"),Qt)g.style(m,Q,Qt[Q])})),ue=dr(Zn?Sn[Q]:0,Q,ft),Q in Sn||(Sn[Q]=ue.start,Zn&&(ue.end=ue.start,ue.start=0))}],prefilter:function(m,b){b?sr.prefilters.unshift(m):sr.prefilters.push(m)}}),g.speed=function(m,b,G){var Q=m&&"object"==typeof m?g.extend({},m):{complete:G||!G&&b||Z(m)&&m,duration:m,easing:G&&b||b&&!Z(b)&&b};return g.fx.off?Q.duration=0:"number"!=typeof Q.duration&&(Q.duration=Q.duration in g.fx.speeds?g.fx.speeds[Q.duration]:g.fx.speeds._default),(null==Q.queue||!0===Q.queue)&&(Q.queue="fx"),Q.old=Q.complete,Q.complete=function(){Z(Q.old)&&Q.old.call(this),Q.queue&&g.dequeue(this,Q.queue)},Q},g.fn.extend({fadeTo:function(m,b,G,Q){return this.filter(Ft).css("opacity",0).show().end().animate({opacity:b},m,G,Q)},animate:function(m,b,G,Q){var we=g.isEmptyObject(m),Ee=g.speed(b,G,Q),Ze=function(){var N=sr(this,g.extend({},m),Ee);(we||pe.get(this,"finish"))&&N.stop(!0)};return Ze.finish=Ze,we||!1===Ee.queue?this.each(Ze):this.queue(Ee.queue,Ze)},stop:function(m,b,G){var Q=function(we){var Ee=we.stop;delete we.stop,Ee(G)};return"string"!=typeof m&&(G=b,b=m,m=void 0),b&&this.queue(m||"fx",[]),this.each(function(){var we=!0,Ee=null!=m&&m+"queueHooks",Ze=g.timers,N=pe.get(this);if(Ee)N[Ee]&&N[Ee].stop&&Q(N[Ee]);else for(Ee in N)N[Ee]&&N[Ee].stop&&yi.test(Ee)&&Q(N[Ee]);for(Ee=Ze.length;Ee--;)Ze[Ee].elem===this&&(null==m||Ze[Ee].queue===m)&&(Ze[Ee].anim.stop(G),we=!1,Ze.splice(Ee,1));(we||!G)&&g.dequeue(this,m)})},finish:function(m){return!1!==m&&(m=m||"fx"),this.each(function(){var b,G=pe.get(this),Q=G[m+"queue"],we=G[m+"queueHooks"],Ee=g.timers,Ze=Q?Q.length:0;for(G.finish=!0,g.queue(this,m,[]),we&&we.stop&&we.stop.call(this,!0),b=Ee.length;b--;)Ee[b].elem===this&&Ee[b].queue===m&&(Ee[b].anim.stop(!0),Ee.splice(b,1));for(b=0;b<Ze;b++)Q[b]&&Q[b].finish&&Q[b].finish.call(this);delete G.finish})}}),g.each(["toggle","show","hide"],function(m,b){var G=g.fn[b];g.fn[b]=function(Q,we,Ee){return null==Q||"boolean"==typeof Q?G.apply(this,arguments):this.animate(Dr(b,!0),Q,we,Ee)}}),g.each({slideDown:Dr("show"),slideUp:Dr("hide"),slideToggle:Dr("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(m,b){g.fn[m]=function(G,Q,we){return this.animate(b,G,Q,we)}}),g.timers=[],g.fx.tick=function(){var m,b=0,G=g.timers;for(ui=Date.now();b<G.length;b++)!(m=G[b])()&&G[b]===m&&G.splice(b--,1);G.length||g.fx.stop(),ui=void 0},g.fx.timer=function(m){g.timers.push(m),g.fx.start()},g.fx.interval=13,g.fx.start=function(){Ai||(Ai=!0,mi())},g.fx.stop=function(){Ai=null},g.fx.speeds={slow:600,fast:200,_default:400},g.fn.delay=function(m,b){return m=g.fx&&g.fx.speeds[m]||m,this.queue(b=b||"fx",function(G,Q){var we=d.setTimeout(G,m);Q.stop=function(){d.clearTimeout(we)}})},function(){var m=j.createElement("input"),G=j.createElement("select").appendChild(j.createElement("option"));m.type="checkbox",ae.checkOn=""!==m.value,ae.optSelected=G.selected,(m=j.createElement("input")).value="t",m.type="radio",ae.radioValue="t"===m.value}();var oi,gi=g.expr.attrHandle;g.fn.extend({attr:function(m,b){return Ke(this,g.attr,m,b,arguments.length>1)},removeAttr:function(m){return this.each(function(){g.removeAttr(this,m)})}}),g.extend({attr:function(m,b,G){var Q,we,Ee=m.nodeType;if(3!==Ee&&8!==Ee&&2!==Ee)return typeof m.getAttribute>"u"?g.prop(m,b,G):((1!==Ee||!g.isXMLDoc(m))&&(we=g.attrHooks[b.toLowerCase()]||(g.expr.match.bool.test(b)?oi:void 0)),void 0!==G?null===G?void g.removeAttr(m,b):we&&"set"in we&&void 0!==(Q=we.set(m,G,b))?Q:(m.setAttribute(b,G+""),G):we&&"get"in we&&null!==(Q=we.get(m,b))?Q:(Q=g.find.attr(m,b))??void 0)},attrHooks:{type:{set:function(m,b){if(!ae.radioValue&&"radio"===b&&V(m,"input")){var G=m.value;return m.setAttribute("type",b),G&&(m.value=G),b}}}},removeAttr:function(m,b){var G,Q=0,we=b&&b.match(Xe);if(we&&1===m.nodeType)for(;G=we[Q++];)m.removeAttribute(G)}}),oi={set:function(m,b,G){return!1===b?g.removeAttr(m,G):m.setAttribute(G,G),G}},g.each(g.expr.match.bool.source.match(/\w+/g),function(m,b){var G=gi[b]||g.find.attr;gi[b]=function(Q,we,Ee){var Ze,N,ue=we.toLowerCase();return Ee||(N=gi[ue],gi[ue]=Ze,Ze=null!=G(Q,we,Ee)?ue:null,gi[ue]=N),Ze}});var Zs=/^(?:input|select|textarea|button)$/i,Hr=/^(?:a|area)$/i;function Or(m){return(m.match(Xe)||[]).join(" ")}function Pr(m){return m.getAttribute&&m.getAttribute("class")||""}function Gs(m){return Array.isArray(m)?m:"string"==typeof m&&m.match(Xe)||[]}g.fn.extend({prop:function(m,b){return Ke(this,g.prop,m,b,arguments.length>1)},removeProp:function(m){return this.each(function(){delete this[g.propFix[m]||m]})}}),g.extend({prop:function(m,b,G){var Q,we,Ee=m.nodeType;if(3!==Ee&&8!==Ee&&2!==Ee)return(1!==Ee||!g.isXMLDoc(m))&&(we=g.propHooks[b=g.propFix[b]||b]),void 0!==G?we&&"set"in we&&void 0!==(Q=we.set(m,G,b))?Q:m[b]=G:we&&"get"in we&&null!==(Q=we.get(m,b))?Q:m[b]},propHooks:{tabIndex:{get:function(m){var b=g.find.attr(m,"tabindex");return b?parseInt(b,10):Zs.test(m.nodeName)||Hr.test(m.nodeName)&&m.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),ae.optSelected||(g.propHooks.selected={get:function(m){return null},set:function(m){}}),g.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){g.propFix[this.toLowerCase()]=this}),g.fn.extend({addClass:function(m){var b,G,Q,we,Ee,Ze;return Z(m)?this.each(function(N){g(this).addClass(m.call(this,N,Pr(this)))}):(b=Gs(m)).length?this.each(function(){if(Q=Pr(this),G=1===this.nodeType&&" "+Or(Q)+" "){for(Ee=0;Ee<b.length;Ee++)G.indexOf(" "+(we=b[Ee])+" ")<0&&(G+=we+" ");Ze=Or(G),Q!==Ze&&this.setAttribute("class",Ze)}}):this},removeClass:function(m){var b,G,Q,we,Ee,Ze;return Z(m)?this.each(function(N){g(this).removeClass(m.call(this,N,Pr(this)))}):arguments.length?(b=Gs(m)).length?this.each(function(){if(Q=Pr(this),G=1===this.nodeType&&" "+Or(Q)+" "){for(Ee=0;Ee<b.length;Ee++)for(we=b[Ee];G.indexOf(" "+we+" ")>-1;)G=G.replace(" "+we+" "," ");Ze=Or(G),Q!==Ze&&this.setAttribute("class",Ze)}}):this:this.attr("class","")},toggleClass:function(m,b){var G,Q,we,Ee,Ze=typeof m,N="string"===Ze||Array.isArray(m);return Z(m)?this.each(function(ue){g(this).toggleClass(m.call(this,ue,Pr(this),b),b)}):"boolean"==typeof b&&N?b?this.addClass(m):this.removeClass(m):(G=Gs(m),this.each(function(){if(N)for(Ee=g(this),we=0;we<G.length;we++)Ee.hasClass(Q=G[we])?Ee.removeClass(Q):Ee.addClass(Q);else(void 0===m||"boolean"===Ze)&&((Q=Pr(this))&&pe.set(this,"__className__",Q),this.setAttribute&&this.setAttribute("class",Q||!1===m?"":pe.get(this,"__className__")||""))}))},hasClass:function(m){var b,G,Q=0;for(b=" "+m+" ";G=this[Q++];)if(1===G.nodeType&&(" "+Or(Pr(G))+" ").indexOf(b)>-1)return!0;return!1}});var bs=/\r/g;g.fn.extend({val:function(m){var b,G,Q,we=this[0];return arguments.length?(Q=Z(m),this.each(function(Ee){var Ze;1===this.nodeType&&(null==(Ze=Q?m.call(this,Ee,g(this).val()):m)?Ze="":"number"==typeof Ze?Ze+="":Array.isArray(Ze)&&(Ze=g.map(Ze,function(N){return null==N?"":N+""})),(!(b=g.valHooks[this.type]||g.valHooks[this.nodeName.toLowerCase()])||!("set"in b)||void 0===b.set(this,Ze,"value"))&&(this.value=Ze))})):we?(b=g.valHooks[we.type]||g.valHooks[we.nodeName.toLowerCase()])&&"get"in b&&void 0!==(G=b.get(we,"value"))?G:"string"==typeof(G=we.value)?G.replace(bs,""):G??"":void 0}}),g.extend({valHooks:{option:{get:function(m){return g.find.attr(m,"value")??Or(g.text(m))}},select:{get:function(m){var b,G,Q,we=m.options,Ee=m.selectedIndex,Ze="select-one"===m.type,N=Ze?null:[],ue=Ze?Ee+1:we.length;for(Q=Ee<0?ue:Ze?Ee:0;Q<ue;Q++)if(((G=we[Q]).selected||Q===Ee)&&!G.disabled&&(!G.parentNode.disabled||!V(G.parentNode,"optgroup"))){if(b=g(G).val(),Ze)return b;N.push(b)}return N},set:function(m,b){for(var G,Q,we=m.options,Ee=g.makeArray(b),Ze=we.length;Ze--;)((Q=we[Ze]).selected=g.inArray(g.valHooks.option.get(Q),Ee)>-1)&&(G=!0);return G||(m.selectedIndex=-1),Ee}}}}),g.each(["radio","checkbox"],function(){g.valHooks[this]={set:function(m,b){if(Array.isArray(b))return m.checked=g.inArray(g(m).val(),b)>-1}},ae.checkOn||(g.valHooks[this].get=function(m){return null===m.getAttribute("value")?"on":m.value})});var ci=d.location,Vs={guid:Date.now()},Ms=/\?/;g.parseXML=function(m){var b,G;if(!m||"string"!=typeof m)return null;try{b=(new d.DOMParser).parseFromString(m,"text/xml")}catch{}return G=b&&b.getElementsByTagName("parsererror")[0],(!b||G)&&g.error("Invalid XML: "+(G?g.map(G.childNodes,function(Q){return Q.textContent}).join("\n"):m)),b};var Qi=/^(?:focusinfocus|focusoutblur)$/,Is=function(m){m.stopPropagation()};g.extend(g.event,{trigger:function(m,b,G,Q){var we,Ee,Ze,N,ue,q,Pe,ct,ft=[G||j],Qt=ie.call(m,"type")?m.type:m,En=ie.call(m,"namespace")?m.namespace.split("."):[];if(Ee=ct=Ze=G=G||j,3!==G.nodeType&&8!==G.nodeType&&!Qi.test(Qt+g.event.triggered)&&(Qt.indexOf(".")>-1&&(En=Qt.split("."),Qt=En.shift(),En.sort()),ue=Qt.indexOf(":")<0&&"on"+Qt,(m=m[g.expando]?m:new g.Event(Qt,"object"==typeof m&&m)).isTrigger=Q?2:3,m.namespace=En.join("."),m.rnamespace=m.namespace?new RegExp("(^|\\.)"+En.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,m.result=void 0,m.target||(m.target=G),b=null==b?[m]:g.makeArray(b,[m]),Pe=g.event.special[Qt]||{},Q||!Pe.trigger||!1!==Pe.trigger.apply(G,b))){if(!Q&&!Pe.noBubble&&!_e(G)){for(Qi.test((N=Pe.delegateType||Qt)+Qt)||(Ee=Ee.parentNode);Ee;Ee=Ee.parentNode)ft.push(Ee),Ze=Ee;Ze===(G.ownerDocument||j)&&ft.push(Ze.defaultView||Ze.parentWindow||d)}for(we=0;(Ee=ft[we++])&&!m.isPropagationStopped();)ct=Ee,m.type=we>1?N:Pe.bindType||Qt,(q=(pe.get(Ee,"events")||Object.create(null))[m.type]&&pe.get(Ee,"handle"))&&q.apply(Ee,b),(q=ue&&Ee[ue])&&q.apply&&re(Ee)&&(m.result=q.apply(Ee,b),!1===m.result&&m.preventDefault());return m.type=Qt,!Q&&!m.isDefaultPrevented()&&(!Pe._default||!1===Pe._default.apply(ft.pop(),b))&&re(G)&&ue&&Z(G[Qt])&&!_e(G)&&((Ze=G[ue])&&(G[ue]=null),g.event.triggered=Qt,m.isPropagationStopped()&&ct.addEventListener(Qt,Is),G[Qt](),m.isPropagationStopped()&&ct.removeEventListener(Qt,Is),g.event.triggered=void 0,Ze&&(G[ue]=Ze)),m.result}},simulate:function(m,b,G){var Q=g.extend(new g.Event,G,{type:m,isSimulated:!0});g.event.trigger(Q,null,b)}}),g.fn.extend({trigger:function(m,b){return this.each(function(){g.event.trigger(m,b,this)})},triggerHandler:function(m,b){var G=this[0];if(G)return g.event.trigger(m,b,G,!0)}});var As=/\[\]$/,gs=/\r?\n/g,mr=/^(?:submit|button|image|reset|file)$/i,xr=/^(?:input|select|textarea|keygen)/i;function Zr(m,b,G,Q){var we;if(Array.isArray(b))g.each(b,function(Ee,Ze){G||As.test(m)?Q(m,Ze):Zr(m+"["+("object"==typeof Ze&&null!=Ze?Ee:"")+"]",Ze,G,Q)});else if(G||"object"!==le(b))Q(m,b);else for(we in b)Zr(m+"["+we+"]",b[we],G,Q)}g.param=function(m,b){var G,Q=[],we=function(Ee,Ze){var N=Z(Ze)?Ze():Ze;Q[Q.length]=encodeURIComponent(Ee)+"="+encodeURIComponent(N??"")};if(null==m)return"";if(Array.isArray(m)||m.jquery&&!g.isPlainObject(m))g.each(m,function(){we(this.name,this.value)});else for(G in m)Zr(G,m[G],b,we);return Q.join("&")},g.fn.extend({serialize:function(){return g.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var m=g.prop(this,"elements");return m?g.makeArray(m):this}).filter(function(){var m=this.type;return this.name&&!g(this).is(":disabled")&&xr.test(this.nodeName)&&!mr.test(m)&&(this.checked||!We.test(m))}).map(function(m,b){var G=g(this).val();return null==G?null:Array.isArray(G)?g.map(G,function(Q){return{name:b.name,value:Q.replace(gs,"\r\n")}}):{name:b.name,value:G.replace(gs,"\r\n")}}).get()}});var Ns=/%20/g,Ss=/#.*$/,_s=/([?&])_=[^&]*/,vs=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ts=/^(?:GET|HEAD)$/,ss=/^\/\//,Sr={},nr={},Jr="*/".concat("*"),di=j.createElement("a");function cs(m){return function(b,G){"string"!=typeof b&&(G=b,b="*");var Q,we=0,Ee=b.toLowerCase().match(Xe)||[];if(Z(G))for(;Q=Ee[we++];)"+"===Q[0]?(Q=Q.slice(1)||"*",(m[Q]=m[Q]||[]).unshift(G)):(m[Q]=m[Q]||[]).push(G)}}function Cs(m,b,G,Q){var we={},Ee=m===nr;function Ze(N){var ue;return we[N]=!0,g.each(m[N]||[],function(q,Pe){var ct=Pe(b,G,Q);return"string"!=typeof ct||Ee||we[ct]?Ee?!(ue=ct):void 0:(b.dataTypes.unshift(ct),Ze(ct),!1)}),ue}return Ze(b.dataTypes[0])||!we["*"]&&Ze("*")}function qr(m,b){var G,Q,we=g.ajaxSettings.flatOptions||{};for(G in b)void 0!==b[G]&&((we[G]?m:Q||(Q={}))[G]=b[G]);return Q&&g.extend(!0,m,Q),m}di.href=ci.href,g.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ci.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ci.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Jr,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":g.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(m,b){return b?qr(qr(m,g.ajaxSettings),b):qr(g.ajaxSettings,m)},ajaxPrefilter:cs(Sr),ajaxTransport:cs(nr),ajax:function(m,b){"object"==typeof m&&(b=m,m=void 0);var G,Q,we,Ee,Ze,N,ue,q,Pe,ct,ft=g.ajaxSetup({},b=b||{}),Qt=ft.context||ft,En=ft.context&&(Qt.nodeType||Qt.jquery)?g(Qt):g.event,Zn=g.Deferred(),Sn=g.Callbacks("once memory"),zi=ft.statusCode||{},Si={},Wi={},Ki="canceled",Ti={readyState:0,getResponseHeader:function(bi){var or;if(ue){if(!Ee)for(Ee={};or=vs.exec(we);)Ee[or[1].toLowerCase()+" "]=(Ee[or[1].toLowerCase()+" "]||[]).concat(or[2]);or=Ee[bi.toLowerCase()+" "]}return null==or?null:or.join(", ")},getAllResponseHeaders:function(){return ue?we:null},setRequestHeader:function(bi,or){return null==ue&&(bi=Wi[bi.toLowerCase()]=Wi[bi.toLowerCase()]||bi,Si[bi]=or),this},overrideMimeType:function(bi){return null==ue&&(ft.mimeType=bi),this},statusCode:function(bi){var or;if(bi)if(ue)Ti.always(bi[Ti.status]);else for(or in bi)zi[or]=[zi[or],bi[or]];return this},abort:function(bi){var or=bi||Ki;return G&&G.abort(or),Mr(0,or),this}};if(Zn.promise(Ti),ft.url=((m||ft.url||ci.href)+"").replace(ss,ci.protocol+"//"),ft.type=b.method||b.type||ft.method||ft.type,ft.dataTypes=(ft.dataType||"*").toLowerCase().match(Xe)||[""],null==ft.crossDomain){N=j.createElement("a");try{N.href=ft.url,N.href=N.href,ft.crossDomain=di.protocol+"//"+di.host!=N.protocol+"//"+N.host}catch{ft.crossDomain=!0}}if(ft.data&&ft.processData&&"string"!=typeof ft.data&&(ft.data=g.param(ft.data,ft.traditional)),Cs(Sr,ft,b,Ti),ue)return Ti;for(Pe in(q=g.event&&ft.global)&&0==g.active++&&g.event.trigger("ajaxStart"),ft.type=ft.type.toUpperCase(),ft.hasContent=!Ts.test(ft.type),Q=ft.url.replace(Ss,""),ft.hasContent?ft.data&&ft.processData&&0===(ft.contentType||"").indexOf("application/x-www-form-urlencoded")&&(ft.data=ft.data.replace(Ns,"+")):(ct=ft.url.slice(Q.length),ft.data&&(ft.processData||"string"==typeof ft.data)&&(Q+=(Ms.test(Q)?"&":"?")+ft.data,delete ft.data),!1===ft.cache&&(Q=Q.replace(_s,"$1"),ct=(Ms.test(Q)?"&":"?")+"_="+Vs.guid+++ct),ft.url=Q+ct),ft.ifModified&&(g.lastModified[Q]&&Ti.setRequestHeader("If-Modified-Since",g.lastModified[Q]),g.etag[Q]&&Ti.setRequestHeader("If-None-Match",g.etag[Q])),(ft.data&&ft.hasContent&&!1!==ft.contentType||b.contentType)&&Ti.setRequestHeader("Content-Type",ft.contentType),Ti.setRequestHeader("Accept",ft.dataTypes[0]&&ft.accepts[ft.dataTypes[0]]?ft.accepts[ft.dataTypes[0]]+("*"!==ft.dataTypes[0]?", "+Jr+"; q=0.01":""):ft.accepts["*"]),ft.headers)Ti.setRequestHeader(Pe,ft.headers[Pe]);if(ft.beforeSend&&(!1===ft.beforeSend.call(Qt,Ti,ft)||ue))return Ti.abort();if(Ki="abort",Sn.add(ft.complete),Ti.done(ft.success),Ti.fail(ft.error),G=Cs(nr,ft,b,Ti)){if(Ti.readyState=1,q&&En.trigger("ajaxSend",[Ti,ft]),ue)return Ti;ft.async&&ft.timeout>0&&(Ze=d.setTimeout(function(){Ti.abort("timeout")},ft.timeout));try{ue=!1,G.send(Si,Mr)}catch(bi){if(ue)throw bi;Mr(-1,bi)}}else Mr(-1,"No Transport");function Mr(bi,or,Rs,he){var Ie,$,et,kt,Yn,ze=or;ue||(ue=!0,Ze&&d.clearTimeout(Ze),G=void 0,we=he||"",Ti.readyState=bi>0?4:0,Ie=bi>=200&&bi<300||304===bi,Rs&&(kt=function os(m,b,G){for(var Q,we,Ee,Ze,N=m.contents,ue=m.dataTypes;"*"===ue[0];)ue.shift(),void 0===Q&&(Q=m.mimeType||b.getResponseHeader("Content-Type"));if(Q)for(we in N)if(N[we]&&N[we].test(Q)){ue.unshift(we);break}if(ue[0]in G)Ee=ue[0];else{for(we in G){if(!ue[0]||m.converters[we+" "+ue[0]]){Ee=we;break}Ze||(Ze=we)}Ee=Ee||Ze}if(Ee)return Ee!==ue[0]&&ue.unshift(Ee),G[Ee]}(ft,Ti,Rs)),!Ie&&g.inArray("script",ft.dataTypes)>-1&&g.inArray("json",ft.dataTypes)<0&&(ft.converters["text script"]=function(){}),kt=function Os(m,b,G,Q){var we,Ee,Ze,N,ue,q={},Pe=m.dataTypes.slice();if(Pe[1])for(Ze in m.converters)q[Ze.toLowerCase()]=m.converters[Ze];for(Ee=Pe.shift();Ee;)if(m.responseFields[Ee]&&(G[m.responseFields[Ee]]=b),!ue&&Q&&m.dataFilter&&(b=m.dataFilter(b,m.dataType)),ue=Ee,Ee=Pe.shift())if("*"===Ee)Ee=ue;else if("*"!==ue&&ue!==Ee){if(!(Ze=q[ue+" "+Ee]||q["* "+Ee]))for(we in q)if((N=we.split(" "))[1]===Ee&&(Ze=q[ue+" "+N[0]]||q["* "+N[0]])){!0===Ze?Ze=q[we]:!0!==q[we]&&(Ee=N[0],Pe.unshift(N[1]));break}if(!0!==Ze)if(Ze&&m.throws)b=Ze(b);else try{b=Ze(b)}catch(ct){return{state:"parsererror",error:Ze?ct:"No conversion from "+ue+" to "+Ee}}}return{state:"success",data:b}}(ft,kt,Ti,Ie),Ie?(ft.ifModified&&((Yn=Ti.getResponseHeader("Last-Modified"))&&(g.lastModified[Q]=Yn),(Yn=Ti.getResponseHeader("etag"))&&(g.etag[Q]=Yn)),204===bi||"HEAD"===ft.type?ze="nocontent":304===bi?ze="notmodified":(ze=kt.state,$=kt.data,Ie=!(et=kt.error))):(et=ze,(bi||!ze)&&(ze="error",bi<0&&(bi=0))),Ti.status=bi,Ti.statusText=(or||ze)+"",Ie?Zn.resolveWith(Qt,[$,ze,Ti]):Zn.rejectWith(Qt,[Ti,ze,et]),Ti.statusCode(zi),zi=void 0,q&&En.trigger(Ie?"ajaxSuccess":"ajaxError",[Ti,ft,Ie?$:et]),Sn.fireWith(Qt,[Ti,ze]),q&&(En.trigger("ajaxComplete",[Ti,ft]),--g.active||g.event.trigger("ajaxStop")))}return Ti},getJSON:function(m,b,G){return g.get(m,b,G,"json")},getScript:function(m,b){return g.get(m,void 0,b,"script")}}),g.each(["get","post"],function(m,b){g[b]=function(G,Q,we,Ee){return Z(Q)&&(Ee=Ee||we,we=Q,Q=void 0),g.ajax(g.extend({url:G,type:b,dataType:Ee,data:Q,success:we},g.isPlainObject(G)&&G))}}),g.ajaxPrefilter(function(m){var b;for(b in m.headers)"content-type"===b.toLowerCase()&&(m.contentType=m.headers[b]||"")}),g._evalUrl=function(m,b,G){return g.ajax({url:m,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(Q){g.globalEval(Q,b,G)}})},g.fn.extend({wrapAll:function(m){var b;return this[0]&&(Z(m)&&(m=m.call(this[0])),b=g(m,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){for(var G=this;G.firstElementChild;)G=G.firstElementChild;return G}).append(this)),this},wrapInner:function(m){return Z(m)?this.each(function(b){g(this).wrapInner(m.call(this,b))}):this.each(function(){var b=g(this),G=b.contents();G.length?G.wrapAll(m):b.append(m)})},wrap:function(m){var b=Z(m);return this.each(function(G){g(this).wrapAll(b?m.call(this,G):m)})},unwrap:function(m){return this.parent(m).not("body").each(function(){g(this).replaceWith(this.childNodes)}),this}}),g.expr.pseudos.hidden=function(m){return!g.expr.pseudos.visible(m)},g.expr.pseudos.visible=function(m){return!!(m.offsetWidth||m.offsetHeight||m.getClientRects().length)},g.ajaxSettings.xhr=function(){try{return new d.XMLHttpRequest}catch{}};var hr={0:200,1223:204},as=g.ajaxSettings.xhr();ae.cors=!!as&&"withCredentials"in as,ae.ajax=as=!!as,g.ajaxTransport(function(m){var b,G;if(ae.cors||as&&!m.crossDomain)return{send:function(Q,we){var Ee,Ze=m.xhr();if(Ze.open(m.type,m.url,m.async,m.username,m.password),m.xhrFields)for(Ee in m.xhrFields)Ze[Ee]=m.xhrFields[Ee];for(Ee in m.mimeType&&Ze.overrideMimeType&&Ze.overrideMimeType(m.mimeType),!m.crossDomain&&!Q["X-Requested-With"]&&(Q["X-Requested-With"]="XMLHttpRequest"),Q)Ze.setRequestHeader(Ee,Q[Ee]);b=function(N){return function(){b&&(b=G=Ze.onload=Ze.onerror=Ze.onabort=Ze.ontimeout=Ze.onreadystatechange=null,"abort"===N?Ze.abort():"error"===N?"number"!=typeof Ze.status?we(0,"error"):we(Ze.status,Ze.statusText):we(hr[Ze.status]||Ze.status,Ze.statusText,"text"!==(Ze.responseType||"text")||"string"!=typeof Ze.responseText?{binary:Ze.response}:{text:Ze.responseText},Ze.getAllResponseHeaders()))}},Ze.onload=b(),G=Ze.onerror=Ze.ontimeout=b("error"),void 0!==Ze.onabort?Ze.onabort=G:Ze.onreadystatechange=function(){4===Ze.readyState&&d.setTimeout(function(){b&&G()})},b=b("abort");try{Ze.send(m.hasContent&&m.data||null)}catch(N){if(b)throw N}},abort:function(){b&&b()}}}),g.ajaxPrefilter(function(m){m.crossDomain&&(m.contents.script=!1)}),g.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(m){return g.globalEval(m),m}}}),g.ajaxPrefilter("script",function(m){void 0===m.cache&&(m.cache=!1),m.crossDomain&&(m.type="GET")}),g.ajaxTransport("script",function(m){var b,G;if(m.crossDomain||m.scriptAttrs)return{send:function(Q,we){b=g("<script>").attr(m.scriptAttrs||{}).prop({charset:m.scriptCharset,src:m.url}).on("load error",G=function(Ee){b.remove(),G=null,Ee&&we("error"===Ee.type?404:200,Ee.type)}),j.head.appendChild(b[0])},abort:function(){G&&G()}}});var m,Ei=[],Es=/(=)\?(?=&|$)|\?\?/;g.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var m=Ei.pop()||g.expando+"_"+Vs.guid++;return this[m]=!0,m}}),g.ajaxPrefilter("json jsonp",function(m,b,G){var Q,we,Ee,Ze=!1!==m.jsonp&&(Es.test(m.url)?"url":"string"==typeof m.data&&0===(m.contentType||"").indexOf("application/x-www-form-urlencoded")&&Es.test(m.data)&&"data");if(Ze||"jsonp"===m.dataTypes[0])return Q=m.jsonpCallback=Z(m.jsonpCallback)?m.jsonpCallback():m.jsonpCallback,Ze?m[Ze]=m[Ze].replace(Es,"$1"+Q):!1!==m.jsonp&&(m.url+=(Ms.test(m.url)?"&":"?")+m.jsonp+"="+Q),m.converters["script json"]=function(){return Ee||g.error(Q+" was not called"),Ee[0]},m.dataTypes[0]="json",we=d[Q],d[Q]=function(){Ee=arguments},G.always(function(){void 0===we?g(d).removeProp(Q):d[Q]=we,m[Q]&&(m.jsonpCallback=b.jsonpCallback,Ei.push(Q)),Ee&&Z(we)&&we(Ee[0]),Ee=we=void 0}),"script"}),ae.createHTMLDocument=((m=j.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===m.childNodes.length),g.parseHTML=function(m,b,G){return"string"!=typeof m?[]:("boolean"==typeof b&&(G=b,b=!1),b||(ae.createHTMLDocument?((Q=(b=j.implementation.createHTMLDocument("")).createElement("base")).href=j.location.href,b.head.appendChild(Q)):b=j),Ee=!G&&[],(we=L.exec(m))?[b.createElement(we[1])]:(we=Oe([m],b,Ee),Ee&&Ee.length&&g(Ee).remove(),g.merge([],we.childNodes)));var Q,we,Ee},g.fn.load=function(m,b,G){var Q,we,Ee,Ze=this,N=m.indexOf(" ");return N>-1&&(Q=Or(m.slice(N)),m=m.slice(0,N)),Z(b)?(G=b,b=void 0):b&&"object"==typeof b&&(we="POST"),Ze.length>0&&g.ajax({url:m,type:we||"GET",dataType:"html",data:b}).done(function(ue){Ee=arguments,Ze.html(Q?g("<div>").append(g.parseHTML(ue)).find(Q):ue)}).always(G&&function(ue,q){Ze.each(function(){G.apply(this,Ee||[ue.responseText,q,ue])})}),this},g.expr.pseudos.animated=function(m){return g.grep(g.timers,function(b){return m===b.elem}).length},g.offset={setOffset:function(m,b,G){var Q,we,Ee,Ze,N,ue,Pe=g.css(m,"position"),ct=g(m),ft={};"static"===Pe&&(m.style.position="relative"),N=ct.offset(),Ee=g.css(m,"top"),ue=g.css(m,"left"),("absolute"===Pe||"fixed"===Pe)&&(Ee+ue).indexOf("auto")>-1?(Ze=(Q=ct.position()).top,we=Q.left):(Ze=parseFloat(Ee)||0,we=parseFloat(ue)||0),Z(b)&&(b=b.call(m,G,g.extend({},N))),null!=b.top&&(ft.top=b.top-N.top+Ze),null!=b.left&&(ft.left=b.left-N.left+we),"using"in b?b.using.call(m,ft):ct.css(ft)}},g.fn.extend({offset:function(m){if(arguments.length)return void 0===m?this:this.each(function(we){g.offset.setOffset(this,m,we)});var b,G,Q=this[0];return Q?Q.getClientRects().length?{top:(b=Q.getBoundingClientRect()).top+(G=Q.ownerDocument.defaultView).pageYOffset,left:b.left+G.pageXOffset}:{top:0,left:0}:void 0},position:function(){if(this[0]){var m,b,G,Q=this[0],we={top:0,left:0};if("fixed"===g.css(Q,"position"))b=Q.getBoundingClientRect();else{for(b=this.offset(),G=Q.ownerDocument,m=Q.offsetParent||G.documentElement;m&&(m===G.body||m===G.documentElement)&&"static"===g.css(m,"position");)m=m.parentNode;m&&m!==Q&&1===m.nodeType&&((we=g(m).offset()).top+=g.css(m,"borderTopWidth",!0),we.left+=g.css(m,"borderLeftWidth",!0))}return{top:b.top-we.top-g.css(Q,"marginTop",!0),left:b.left-we.left-g.css(Q,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var m=this.offsetParent;m&&"static"===g.css(m,"position");)m=m.offsetParent;return m||Ln})}}),g.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(m,b){var G="pageYOffset"===b;g.fn[m]=function(Q){return Ke(this,function(we,Ee,Ze){var N;if(_e(we)?N=we:9===we.nodeType&&(N=we.defaultView),void 0===Ze)return N?N[b]:we[Ee];N?N.scrollTo(G?N.pageXOffset:Ze,G?Ze:N.pageYOffset):we[Ee]=Ze},m,Q,arguments.length)}}),g.each(["top","left"],function(m,b){g.cssHooks[b]=Qr(ae.pixelPosition,function(G,Q){if(Q)return Q=wr(G,b),ls.test(Q)?g(G).position()[b]+"px":Q})}),g.each({Height:"height",Width:"width"},function(m,b){g.each({padding:"inner"+m,content:b,"":"outer"+m},function(G,Q){g.fn[Q]=function(we,Ee){var Ze=arguments.length&&(G||"boolean"!=typeof we),N=G||(!0===we||!0===Ee?"margin":"border");return Ke(this,function(ue,q,Pe){var ct;return _e(ue)?0===Q.indexOf("outer")?ue["inner"+m]:ue.document.documentElement["client"+m]:9===ue.nodeType?(ct=ue.documentElement,Math.max(ue.body["scroll"+m],ct["scroll"+m],ue.body["offset"+m],ct["offset"+m],ct["client"+m])):void 0===Pe?g.css(ue,q,N):g.style(ue,q,Pe,N)},b,Ze?we:void 0,Ze)}})}),g.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(m,b){g.fn[b]=function(G){return this.on(b,G)}}),g.fn.extend({bind:function(m,b,G){return this.on(m,null,b,G)},unbind:function(m,b){return this.off(m,null,b)},delegate:function(m,b,G,Q){return this.on(b,m,G,Q)},undelegate:function(m,b,G){return 1===arguments.length?this.off(m,"**"):this.off(b,m||"**",G)},hover:function(m,b){return this.on("mouseenter",m).on("mouseleave",b||m)}}),g.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(m,b){g.fn[b]=function(G,Q){return arguments.length>0?this.on(b,null,G,Q):this.trigger(b)}});var es=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;g.proxy=function(m,b){var G,Q,we;if("string"==typeof b&&(G=m[b],b=m,m=G),Z(m))return Q=i.call(arguments,2),we=function(){return m.apply(b||this,Q.concat(i.call(arguments)))},we.guid=m.guid=m.guid||g.guid++,we},g.holdReady=function(m){m?g.readyWait++:g.ready(!0)},g.isArray=Array.isArray,g.parseJSON=JSON.parse,g.nodeName=V,g.isFunction=Z,g.isWindow=_e,g.camelCase=st,g.type=le,g.now=Date.now,g.isNumeric=function(m){var b=g.type(m);return("number"===b||"string"===b)&&!isNaN(m-parseFloat(m))},g.trim=function(m){return null==m?"":(m+"").replace(es,"$1")},void 0!==(s=function(){return g}.apply(me,[]))&&(lt.exports=s);var Ar=d.jQuery,Hi=d.$;return g.noConflict=function(m){return d.$===g&&(d.$=Hi),m&&d.jQuery===g&&(d.jQuery=Ar),g},typeof o>"u"&&(d.jQuery=d.$=g),g})},1308:(lt,me)=>{"use strict";var u=function(){function s(){}return s.prototype.check=function(d){return!(typeof document>"u")&&(d=encodeURIComponent(d),new RegExp("(?:^"+d+"|;\\s*"+d+")=(.*?)(?:;|$)","g").test(document.cookie))},s.prototype.get=function(d){if(this.check(d)){d=encodeURIComponent(d);var f=new RegExp("(?:^"+d+"|;\\s*"+d+")=(.*?)(?:;|$)","g").exec(document.cookie);return decodeURIComponent(f[1])}return""},s.prototype.getAll=function(){var d={};if(document.cookie&&""!=document.cookie)for(var f=0,l=document.cookie.split(";");f<l.length;f++){var y=l[f].split("=");y[0]=y[0].replace(/^ /,""),d[decodeURIComponent(y[0])]=decodeURIComponent(y[1])}return d},s.prototype.set=function(d,o,f,l,i,y){var _=encodeURIComponent(d)+"="+encodeURIComponent(o)+";";f&&(_+="number"==typeof f?"expires="+new Date((new Date).getTime()+1e3*f*60*60*24).toUTCString()+";":"expires="+f.toUTCString()+";"),l&&(_+="path="+l+";"),i&&(_+="domain="+i+";"),y&&(_+="secure;"),document.cookie=_},s.prototype.delete=function(d,o,f){this.set(d,"",-1,o,f)},s.prototype.deleteAll=function(d,o){for(var f=this.getAll(),l=0,i=Object.keys(f);l<i.length;l++)this.delete(i[l],d,o)},s}();me.CookieService=u,me.Cookie=new u},2032:(lt,me,u)=>{"use strict";function s(d){for(var o in d)me.hasOwnProperty(o)||(me[o]=d[o])}s(u(1308)),s(u(1124))},1124:(lt,me)=>{"use strict";var u=function(){function s(){}return s.prototype.check=function(d){return!(typeof document>"u")&&new RegExp("(?:^"+d+"|;\\s*"+d+")=(.*?)(?:;|$)","g").test(document.cookie)},s.prototype.get=function(d){return this.check(d)?new RegExp("(?:^"+d+"|;\\s*"+d+")=(.*?)(?:;|$)","g").exec(document.cookie)[1]:""},s.prototype.getAll=function(){var d={};if(document.cookie&&""!=document.cookie)for(var f=0,l=document.cookie.split(";");f<l.length;f++){var y=l[f].split("=");y[0]=y[0].replace(/^ /,""),d[y[0]]=y[1]}return d},s.prototype.set=function(d,o,f,l,i,y){var _=d+"="+o+";";f&&(_+="number"==typeof f?"expires="+new Date((new Date).getTime()+1e3*f*60*60*24).toUTCString()+";":"expires="+f.toUTCString()+";"),l&&(_+="path="+l+";"),i&&(_+="domain="+i+";"),y&&(_+="secure;"),document.cookie=_},s.prototype.delete=function(d,o,f){this.set(d,"",-1,o,f)},s.prototype.deleteAll=function(d,o){for(var f=this.getAll(),l=0,i=Object.keys(f);l<i.length;l++)this.delete(i[l],d,o)},s}();me.UnmanagedCookieService=u,me.UnmanagedCookie=new u},7236:(lt,me,u)=>{"use strict";u.r(me),u.d(me,{default:()=>fe});var s=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",d=function(){for(var F=["Edge","Trident","Firefox"],Ce=0;Ce<F.length;Ce+=1)if(s&&navigator.userAgent.indexOf(F[Ce])>=0)return 1;return 0}(),i=s&&window.Promise?function o(F){var Ce=!1;return function(){Ce||(Ce=!0,window.Promise.resolve().then(function(){Ce=!1,F()}))}}:function f(F){var Ce=!1;return function(){Ce||(Ce=!0,setTimeout(function(){Ce=!1,F()},d))}};function y(F){return F&&"[object Function]"==={}.toString.call(F)}function _(F,Ce){if(1!==F.nodeType)return[];var at=F.ownerDocument.defaultView.getComputedStyle(F,null);return Ce?at[Ce]:at}function I(F){return"HTML"===F.nodeName?F:F.parentNode||F.host}function B(F){if(!F)return document.body;switch(F.nodeName){case"HTML":case"BODY":return F.ownerDocument.body;case"#document":return F.body}var Ce=_(F);return/(auto|scroll|overlay)/.test(Ce.overflow+Ce.overflowY+Ce.overflowX)?F:B(I(F))}function K(F){return F&&F.referenceNode?F.referenceNode:F}var ie=s&&!(!window.MSInputMethodContext||!document.documentMode),oe=s&&/MSIE 10/.test(navigator.userAgent);function Ge(F){return 11===F?ie:10===F?oe:ie||oe}function ae(F){if(!F)return document.documentElement;for(var Ce=Ge(10)?document.body:null,Te=F.offsetParent||null;Te===Ce&&F.nextElementSibling;)Te=(F=F.nextElementSibling).offsetParent;var at=Te&&Te.nodeName;return at&&"BODY"!==at&&"HTML"!==at?-1!==["TH","TD","TABLE"].indexOf(Te.nodeName)&&"static"===_(Te,"position")?ae(Te):Te:F?F.ownerDocument.documentElement:document.documentElement}function _e(F){return null!==F.parentNode?_e(F.parentNode):F}function j(F,Ce){if(!(F&&F.nodeType&&Ce&&Ce.nodeType))return document.documentElement;var Te=F.compareDocumentPosition(Ce)&Node.DOCUMENT_POSITION_FOLLOWING,at=Te?F:Ce,Oe=Te?Ce:F,it=document.createRange();it.setStart(at,0),it.setEnd(Oe,0);var bt=it.commonAncestorContainer;if(F!==bt&&Ce!==bt||at.contains(Oe))return function Z(F){var Ce=F.nodeName;return"BODY"!==Ce&&("HTML"===Ce||ae(F.firstElementChild)===F)}(bt)?bt:ae(bt);var jt=_e(F);return jt.host?j(jt.host,Ce):j(F,_e(Ce).host)}function ke(F){var Te="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",at=F.nodeName;return"BODY"===at||"HTML"===at?(F.ownerDocument.scrollingElement||F.ownerDocument.documentElement)[Te]:F[Te]}function le(F,Ce){var Te="x"===Ce?"Left":"Top",at="Left"===Te?"Right":"Bottom";return parseFloat(F["border"+Te+"Width"])+parseFloat(F["border"+at+"Width"])}function ye(F,Ce,Te,at){return Math.max(Ce["offset"+F],Ce["scroll"+F],Te["client"+F],Te["offset"+F],Te["scroll"+F],Ge(10)?parseInt(Te["offset"+F])+parseInt(at["margin"+("Height"===F?"Top":"Left")])+parseInt(at["margin"+("Height"===F?"Bottom":"Right")]):0)}function Y(F){var Ce=F.body,Te=F.documentElement,at=Ge(10)&&getComputedStyle(Te);return{height:ye("Height",Ce,Te,at),width:ye("Width",Ce,Te,at)}}var X=function(){function F(Ce,Te){for(var at=0;at<Te.length;at++){var Oe=Te[at];Oe.enumerable=Oe.enumerable||!1,Oe.configurable=!0,"value"in Oe&&(Oe.writable=!0),Object.defineProperty(Ce,Oe.key,Oe)}}return function(Ce,Te,at){return Te&&F(Ce.prototype,Te),at&&F(Ce,at),Ce}}(),V=function(F,Ce,Te){return Ce in F?Object.defineProperty(F,Ce,{value:Te,enumerable:!0,configurable:!0,writable:!0}):F[Ce]=Te,F},te=Object.assign||function(F){for(var Ce=1;Ce<arguments.length;Ce++){var Te=arguments[Ce];for(var at in Te)Object.prototype.hasOwnProperty.call(Te,at)&&(F[at]=Te[at])}return F};function be(F){return te({},F,{right:F.left+F.width,bottom:F.top+F.height})}function Fe(F){var Ce={};try{if(Ge(10)){Ce=F.getBoundingClientRect();var Te=ke(F,"top"),at=ke(F,"left");Ce.top+=Te,Ce.left+=at,Ce.bottom+=Te,Ce.right+=at}else Ce=F.getBoundingClientRect()}catch{}var Oe={left:Ce.left,top:Ce.top,width:Ce.right-Ce.left,height:Ce.bottom-Ce.top},it="HTML"===F.nodeName?Y(F.ownerDocument):{},mn=F.offsetWidth-(it.width||F.clientWidth||Oe.width),Cn=F.offsetHeight-(it.height||F.clientHeight||Oe.height);if(mn||Cn){var xn=_(F);mn-=le(xn,"x"),Cn-=le(xn,"y"),Oe.width-=mn,Oe.height-=Cn}return be(Oe)}function Se(F,Ce){var Te=arguments.length>2&&void 0!==arguments[2]&&arguments[2],at=Ge(10),Oe="HTML"===Ce.nodeName,it=Fe(F),bt=Fe(Ce),jt=B(F),mn=_(Ce),Cn=parseFloat(mn.borderTopWidth),xn=parseFloat(mn.borderLeftWidth);Te&&Oe&&(bt.top=Math.max(bt.top,0),bt.left=Math.max(bt.left,0));var Fn=be({top:it.top-bt.top-Cn,left:it.left-bt.left-xn,width:it.width,height:it.height});if(Fn.marginTop=0,Fn.marginLeft=0,!at&&Oe){var $n=parseFloat(mn.marginTop),ln=parseFloat(mn.marginLeft);Fn.top-=Cn-$n,Fn.bottom-=Cn-$n,Fn.left-=xn-ln,Fn.right-=xn-ln,Fn.marginTop=$n,Fn.marginLeft=ln}return(at&&!Te?Ce.contains(jt):Ce===jt&&"BODY"!==jt.nodeName)&&(Fn=function rt(F,Ce){var Te=arguments.length>2&&void 0!==arguments[2]&&arguments[2],at=ke(Ce,"top"),Oe=ke(Ce,"left"),it=Te?-1:1;return F.top+=at*it,F.bottom+=at*it,F.left+=Oe*it,F.right+=Oe*it,F}(Fn,Ce)),Fn}function _t(F){var Ce=F.nodeName;if("BODY"===Ce||"HTML"===Ce)return!1;if("fixed"===_(F,"position"))return!0;var Te=I(F);return!!Te&&_t(Te)}function pt(F){if(!F||!F.parentElement||Ge())return document.documentElement;for(var Ce=F.parentElement;Ce&&"none"===_(Ce,"transform");)Ce=Ce.parentElement;return Ce||document.documentElement}function Gt(F,Ce,Te,at){var Oe=arguments.length>4&&void 0!==arguments[4]&&arguments[4],it={top:0,left:0},bt=Oe?pt(F):j(F,K(Ce));if("viewport"===at)it=function ot(F){var Ce=arguments.length>1&&void 0!==arguments[1]&&arguments[1],Te=F.ownerDocument.documentElement,at=Se(F,Te),Oe=Math.max(Te.clientWidth,window.innerWidth||0),it=Math.max(Te.clientHeight,window.innerHeight||0),bt=Ce?0:ke(Te),jt=Ce?0:ke(Te,"left");return be({top:bt-at.top+at.marginTop,left:jt-at.left+at.marginLeft,width:Oe,height:it})}(bt,Oe);else{var jt=void 0;"scrollParent"===at?"BODY"===(jt=B(I(Ce))).nodeName&&(jt=F.ownerDocument.documentElement):jt="window"===at?F.ownerDocument.documentElement:at;var mn=Se(jt,bt,Oe);if("HTML"!==jt.nodeName||_t(bt))it=mn;else{var Cn=Y(F.ownerDocument),xn=Cn.height,Fn=Cn.width;it.top+=mn.top-mn.marginTop,it.bottom=xn+mn.top,it.left+=mn.left-mn.marginLeft,it.right=Fn+mn.left}}var $n="number"==typeof(Te=Te||0);return it.left+=$n?Te:Te.left||0,it.top+=$n?Te:Te.top||0,it.right-=$n?Te:Te.right||0,it.bottom-=$n?Te:Te.bottom||0,it}function qe(F){return F.width*F.height}function Je(F,Ce,Te,at,Oe){var it=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===F.indexOf("auto"))return F;var bt=Gt(Te,at,it,Oe),jt={top:{width:bt.width,height:Ce.top-bt.top},right:{width:bt.right-Ce.right,height:bt.height},bottom:{width:bt.width,height:bt.bottom-Ce.bottom},left:{width:Ce.left-bt.left,height:bt.height}},mn=Object.keys(jt).map(function($n){return te({key:$n},jt[$n],{area:qe(jt[$n])})}).sort(function($n,ln){return ln.area-$n.area}),Cn=mn.filter(function($n){return $n.width>=Te.clientWidth&&$n.height>=Te.clientHeight}),xn=Cn.length>0?Cn[0].key:mn[0].key,Fn=F.split("-")[1];return xn+(Fn?"-"+Fn:"")}function ce(F,Ce,Te){var at=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return Se(Te,at?pt(Ce):j(Ce,K(Te)),at)}function Ae(F){var Te=F.ownerDocument.defaultView.getComputedStyle(F),at=parseFloat(Te.marginTop||0)+parseFloat(Te.marginBottom||0),Oe=parseFloat(Te.marginLeft||0)+parseFloat(Te.marginRight||0);return{width:F.offsetWidth+Oe,height:F.offsetHeight+at}}function L(F){var Ce={left:"right",right:"left",bottom:"top",top:"bottom"};return F.replace(/left|right|bottom|top/g,function(Te){return Ce[Te]})}function H(F,Ce,Te){Te=Te.split("-")[0];var at=Ae(F),Oe={width:at.width,height:at.height},it=-1!==["right","left"].indexOf(Te),bt=it?"top":"left",jt=it?"left":"top",mn=it?"height":"width",Cn=it?"width":"height";return Oe[bt]=Ce[bt]+Ce[mn]/2-at[mn]/2,Oe[jt]=Te===jt?Ce[jt]-at[Cn]:Ce[L(jt)],Oe}function de(F,Ce){return Array.prototype.find?F.find(Ce):F.filter(Ce)[0]}function je(F,Ce,Te){var at=void 0===Te?F:F.slice(0,function $e(F,Ce,Te){if(Array.prototype.findIndex)return F.findIndex(function(Oe){return Oe[Ce]===Te});var at=de(F,function(Oe){return Oe[Ce]===Te});return F.indexOf(at)}(F,"name",Te));return at.forEach(function(Oe){Oe.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var it=Oe.function||Oe.fn;Oe.enabled&&y(it)&&(Ce.offsets.popper=be(Ce.offsets.popper),Ce.offsets.reference=be(Ce.offsets.reference),Ce=it(Ce,Oe))}),Ce}function dt(){if(!this.state.isDestroyed){var F={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};F.offsets.reference=ce(this.state,this.popper,this.reference,this.options.positionFixed),F.placement=Je(this.options.placement,F.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),F.originalPlacement=F.placement,F.positionFixed=this.options.positionFixed,F.offsets.popper=H(this.popper,F.offsets.reference,F.placement),F.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",F=je(this.modifiers,F),this.state.isCreated?this.options.onUpdate(F):(this.state.isCreated=!0,this.options.onCreate(F))}}function Et(F,Ce){return F.some(function(Te){return Te.enabled&&Te.name===Ce})}function Ye(F){for(var Ce=[!1,"ms","Webkit","Moz","O"],Te=F.charAt(0).toUpperCase()+F.slice(1),at=0;at<Ce.length;at++){var Oe=Ce[at],it=Oe?""+Oe+Te:F;if(typeof document.body.style[it]<"u")return it}return null}function Xe(){return this.state.isDestroyed=!0,Et(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[Ye("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function z(F){var Ce=F.ownerDocument;return Ce?Ce.defaultView:window}function xe(F,Ce,Te,at){var Oe="BODY"===F.nodeName,it=Oe?F.ownerDocument.defaultView:F;it.addEventListener(Ce,Te,{passive:!0}),Oe||xe(B(it.parentNode),Ce,Te,at),at.push(it)}function Ct(F,Ce,Te,at){Te.updateBound=at,z(F).addEventListener("resize",Te.updateBound,{passive:!0});var Oe=B(F);return xe(Oe,"scroll",Te.updateBound,Te.scrollParents),Te.scrollElement=Oe,Te.eventsEnabled=!0,Te}function Kt(){this.state.eventsEnabled||(this.state=Ct(this.reference,0,this.state,this.scheduleUpdate))}function vt(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=function gt(F,Ce){return z(F).removeEventListener("resize",Ce.updateBound),Ce.scrollParents.forEach(function(Te){Te.removeEventListener("scroll",Ce.updateBound)}),Ce.updateBound=null,Ce.scrollParents=[],Ce.scrollElement=null,Ce.eventsEnabled=!1,Ce}(this.reference,this.state))}function Ot(F){return""!==F&&!isNaN(parseFloat(F))&&isFinite(F)}function Ke(F,Ce){Object.keys(Ce).forEach(function(Te){var at="";-1!==["width","height","top","right","bottom","left"].indexOf(Te)&&Ot(Ce[Te])&&(at="px"),F.style[Te]=Ce[Te]+at})}var re=s&&/Firefox/i.test(navigator.userAgent);function pe(F,Ce,Te){var at=de(F,function(jt){return jt.name===Ce}),Oe=!!at&&F.some(function(jt){return jt.name===Te&&jt.enabled&&jt.order<at.order});if(!Oe){var it="`"+Ce+"`";console.warn("`"+Te+"` modifier is required by "+it+" modifier in order to work, be sure to include it before "+it+"!")}return Oe}var zt=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],bn=zt.slice(3);function Un(F){var Ce=arguments.length>1&&void 0!==arguments[1]&&arguments[1],Te=bn.indexOf(F),at=bn.slice(Te+1).concat(bn.slice(0,Te));return Ce?at.reverse():at}var We={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function Nt(F){var Ce=F.placement,Te=Ce.split("-")[0],at=Ce.split("-")[1];if(at){var Oe=F.offsets,it=Oe.reference,bt=Oe.popper,jt=-1!==["bottom","top"].indexOf(Te),mn=jt?"left":"top",Cn=jt?"width":"height",xn={start:V({},mn,it[mn]),end:V({},mn,it[mn]+it[Cn]-bt[Cn])};F.offsets.popper=te({},bt,xn[at])}return F}},offset:{order:200,enabled:!0,fn:function ti(F,Ce){var mn,Te=Ce.offset,Oe=F.offsets,it=Oe.popper,bt=Oe.reference,jt=F.placement.split("-")[0];return mn=Ot(+Te)?[+Te,0]:function Bn(F,Ce,Te,at){var Oe=[0,0],it=-1!==["right","left"].indexOf(at),bt=F.split(/(\+|\-)/).map(function(xn){return xn.trim()}),jt=bt.indexOf(de(bt,function(xn){return-1!==xn.search(/,|\s/)}));bt[jt]&&-1===bt[jt].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var mn=/\s*,\s*|\s+/,Cn=-1!==jt?[bt.slice(0,jt).concat([bt[jt].split(mn)[0]]),[bt[jt].split(mn)[1]].concat(bt.slice(jt+1))]:[bt];return Cn=Cn.map(function(xn,Fn){var $n=(1===Fn?!it:it)?"height":"width",ln=!1;return xn.reduce(function(ni,Oi){return""===ni[ni.length-1]&&-1!==["+","-"].indexOf(Oi)?(ni[ni.length-1]=Oi,ln=!0,ni):ln?(ni[ni.length-1]+=Oi,ln=!1,ni):ni.concat(Oi)},[]).map(function(ni){return function Ln(F,Ce,Te,at){var Oe=F.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),it=+Oe[1],bt=Oe[2];return it?0===bt.indexOf("%")?be("%p"===bt?Te:at)[Ce]/100*it:"vh"===bt||"vw"===bt?("vh"===bt?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*it:it:F}(ni,$n,Ce,Te)})}),Cn.forEach(function(xn,Fn){xn.forEach(function($n,ln){Ot($n)&&(Oe[Fn]+=$n*("-"===xn[ln-1]?-1:1))})}),Oe}(Te,it,bt,jt),"left"===jt?(it.top+=mn[0],it.left-=mn[1]):"right"===jt?(it.top+=mn[0],it.left+=mn[1]):"top"===jt?(it.left+=mn[0],it.top-=mn[1]):"bottom"===jt&&(it.left+=mn[0],it.top+=mn[1]),F.popper=it,F},offset:0},preventOverflow:{order:300,enabled:!0,fn:function Ft(F,Ce){var Te=Ce.boundariesElement||ae(F.instance.popper);F.instance.reference===Te&&(Te=ae(Te));var at=Ye("transform"),Oe=F.instance.popper.style,it=Oe.top,bt=Oe.left,jt=Oe[at];Oe.top="",Oe.left="",Oe[at]="";var mn=Gt(F.instance.popper,F.instance.reference,Ce.padding,Te,F.positionFixed);Oe.top=it,Oe.left=bt,Oe[at]=jt,Ce.boundaries=mn;var xn=F.offsets.popper,Fn={primary:function(ln){var ni=xn[ln];return xn[ln]<mn[ln]&&!Ce.escapeWithReference&&(ni=Math.max(xn[ln],mn[ln])),V({},ln,ni)},secondary:function(ln){var ni="right"===ln?"left":"top",Oi=xn[ni];return xn[ln]>mn[ln]&&!Ce.escapeWithReference&&(Oi=Math.min(xn[ni],mn[ln]-("right"===ln?xn.width:xn.height))),V({},ni,Oi)}};return Ce.priority.forEach(function($n){var ln=-1!==["left","top"].indexOf($n)?"primary":"secondary";xn=te({},xn,Fn[ln]($n))}),F.offsets.popper=xn,F},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function kn(F){var Ce=F.offsets,Te=Ce.popper,at=Ce.reference,Oe=F.placement.split("-")[0],it=Math.floor,bt=-1!==["top","bottom"].indexOf(Oe),jt=bt?"right":"bottom",mn=bt?"left":"top",Cn=bt?"width":"height";return Te[jt]<it(at[mn])&&(F.offsets.popper[mn]=it(at[mn])-Te[Cn]),Te[mn]>it(at[jt])&&(F.offsets.popper[mn]=it(at[jt])),F}},arrow:{order:500,enabled:!0,fn:function Mt(F,Ce){var Te;if(!pe(F.instance.modifiers,"arrow","keepTogether"))return F;var at=Ce.element;if("string"==typeof at){if(!(at=F.instance.popper.querySelector(at)))return F}else if(!F.instance.popper.contains(at))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),F;var Oe=F.placement.split("-")[0],it=F.offsets,bt=it.popper,jt=it.reference,mn=-1!==["left","right"].indexOf(Oe),Cn=mn?"height":"width",xn=mn?"Top":"Left",Fn=xn.toLowerCase(),$n=mn?"left":"top",ln=mn?"bottom":"right",ni=Ae(at)[Cn];jt[ln]-ni<bt[Fn]&&(F.offsets.popper[Fn]-=bt[Fn]-(jt[ln]-ni)),jt[Fn]+ni>bt[ln]&&(F.offsets.popper[Fn]+=jt[Fn]+ni-bt[ln]),F.offsets.popper=be(F.offsets.popper);var Oi=jt[Fn]+jt[Cn]/2-ni/2,Er=_(F.instance.popper),Vr=parseFloat(Er["margin"+xn]),Mi=parseFloat(Er["border"+xn+"Width"]),qn=Oi-F.offsets.popper[Fn]-Vr-Mi;return qn=Math.max(Math.min(bt[Cn]-ni,qn),0),F.arrowElement=at,F.offsets.arrow=(V(Te={},Fn,Math.round(qn)),V(Te,$n,""),Te),F},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function dn(F,Ce){if(Et(F.instance.modifiers,"inner")||F.flipped&&F.placement===F.originalPlacement)return F;var Te=Gt(F.instance.popper,F.instance.reference,Ce.padding,Ce.boundariesElement,F.positionFixed),at=F.placement.split("-")[0],Oe=L(at),it=F.placement.split("-")[1]||"",bt=[];switch(Ce.behavior){case"flip":bt=[at,Oe];break;case"clockwise":bt=Un(at);break;case"counterclockwise":bt=Un(at,!0);break;default:bt=Ce.behavior}return bt.forEach(function(jt,mn){if(at!==jt||bt.length===mn+1)return F;at=F.placement.split("-")[0],Oe=L(at);var Cn=F.offsets.popper,xn=F.offsets.reference,Fn=Math.floor,$n="left"===at&&Fn(Cn.right)>Fn(xn.left)||"right"===at&&Fn(Cn.left)<Fn(xn.right)||"top"===at&&Fn(Cn.bottom)>Fn(xn.top)||"bottom"===at&&Fn(Cn.top)<Fn(xn.bottom),ln=Fn(Cn.left)<Fn(Te.left),ni=Fn(Cn.right)>Fn(Te.right),Oi=Fn(Cn.top)<Fn(Te.top),Er=Fn(Cn.bottom)>Fn(Te.bottom),Vr="left"===at&&ln||"right"===at&&ni||"top"===at&&Oi||"bottom"===at&&Er,Mi=-1!==["top","bottom"].indexOf(at),ur=!!Ce.flipVariations&&(Mi&&"start"===it&&ln||Mi&&"end"===it&&ni||!Mi&&"start"===it&&Oi||!Mi&&"end"===it&&Er)||!!Ce.flipVariationsByContent&&(Mi&&"start"===it&&ni||Mi&&"end"===it&&ln||!Mi&&"start"===it&&Er||!Mi&&"end"===it&&Oi);($n||Vr||ur)&&(F.flipped=!0,($n||Vr)&&(at=bt[mn+1]),ur&&(it=function $t(F){return"end"===F?"start":"start"===F?"end":F}(it)),F.placement=at+(it?"-"+it:""),F.offsets.popper=te({},F.offsets.popper,H(F.instance.popper,F.offsets.reference,F.placement)),F=je(F.instance.modifiers,F,"flip"))}),F},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function en(F){var Ce=F.placement,Te=Ce.split("-")[0],at=F.offsets,Oe=at.popper,it=at.reference,bt=-1!==["left","right"].indexOf(Te),jt=-1===["top","left"].indexOf(Te);return Oe[bt?"left":"top"]=it[Te]-(jt?Oe[bt?"width":"height"]:0),F.placement=L(Ce),F.offsets.popper=be(Oe),F}},hide:{order:800,enabled:!0,fn:function It(F){if(!pe(F.instance.modifiers,"hide","preventOverflow"))return F;var Ce=F.offsets.reference,Te=de(F.instance.modifiers,function(at){return"preventOverflow"===at.name}).boundaries;if(Ce.bottom<Te.top||Ce.left>Te.right||Ce.top>Te.bottom||Ce.right<Te.left){if(!0===F.hide)return F;F.hide=!0,F.attributes["x-out-of-boundaries"]=""}else{if(!1===F.hide)return F;F.hide=!1,F.attributes["x-out-of-boundaries"]=!1}return F}},computeStyle:{order:850,enabled:!0,fn:function Re(F,Ce){var Te=Ce.x,at=Ce.y,Oe=F.offsets.popper,it=de(F.instance.modifiers,function(qn){return"applyStyle"===qn.name}).gpuAcceleration;void 0!==it&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var ni,Oi,bt=void 0!==it?it:Ce.gpuAcceleration,jt=ae(F.instance.popper),mn=Fe(jt),Cn={position:Oe.position},xn=function st(F,Ce){var Te=F.offsets,at=Te.popper,it=Math.round,bt=Math.floor,jt=function(Vr){return Vr},mn=it(Te.reference.width),Cn=it(at.width),xn=-1!==["left","right"].indexOf(F.placement),Fn=-1!==F.placement.indexOf("-"),ni=Ce?xn||Fn||mn%2==Cn%2?it:bt:jt,Oi=Ce?it:jt;return{left:ni(mn%2==1&&Cn%2==1&&!Fn&&Ce?at.left-1:at.left),top:Oi(at.top),bottom:Oi(at.bottom),right:ni(at.right)}}(F,window.devicePixelRatio<2||!re),Fn="bottom"===Te?"top":"bottom",$n="right"===at?"left":"right",ln=Ye("transform");if(Oi="bottom"===Fn?"HTML"===jt.nodeName?-jt.clientHeight+xn.bottom:-mn.height+xn.bottom:xn.top,ni="right"===$n?"HTML"===jt.nodeName?-jt.clientWidth+xn.right:-mn.width+xn.right:xn.left,bt&&ln)Cn[ln]="translate3d("+ni+"px, "+Oi+"px, 0)",Cn[Fn]=0,Cn[$n]=0,Cn.willChange="transform";else{var Vr="right"===$n?-1:1;Cn[Fn]=Oi*("bottom"===Fn?-1:1),Cn[$n]=ni*Vr,Cn.willChange=Fn+", "+$n}return F.attributes=te({},{"x-placement":F.placement},F.attributes),F.styles=te({},Cn,F.styles),F.arrowStyles=te({},F.offsets.arrow,F.arrowStyles),F},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function He(F){return Ke(F.instance.popper,F.styles),function Ne(F,Ce){Object.keys(Ce).forEach(function(Te){!1!==Ce[Te]?F.setAttribute(Te,Ce[Te]):F.removeAttribute(Te)})}(F.instance.popper,F.attributes),F.arrowElement&&Object.keys(F.arrowStyles).length&&Ke(F.arrowElement,F.arrowStyles),F},onLoad:function Me(F,Ce,Te,at,Oe){var it=ce(Oe,Ce,F,Te.positionFixed),bt=Je(Te.placement,it,Ce,F,Te.modifiers.flip.boundariesElement,Te.modifiers.flip.padding);return Ce.setAttribute("x-placement",bt),Ke(Ce,{position:Te.positionFixed?"fixed":"absolute"}),Te},gpuAcceleration:void 0}}},De=function(){function F(Ce,Te){var at=this,Oe=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(function(F,Ce){if(!(F instanceof Ce))throw new TypeError("Cannot call a class as a function")})(this,F),this.scheduleUpdate=function(){return requestAnimationFrame(at.update)},this.update=i(this.update.bind(this)),this.options=te({},F.Defaults,Oe),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=Ce&&Ce.jquery?Ce[0]:Ce,this.popper=Te&&Te.jquery?Te[0]:Te,this.options.modifiers={},Object.keys(te({},F.Defaults.modifiers,Oe.modifiers)).forEach(function(bt){at.options.modifiers[bt]=te({},F.Defaults.modifiers[bt]||{},Oe.modifiers?Oe.modifiers[bt]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(bt){return te({name:bt},at.options.modifiers[bt])}).sort(function(bt,jt){return bt.order-jt.order}),this.modifiers.forEach(function(bt){bt.enabled&&y(bt.onLoad)&&bt.onLoad(at.reference,at.popper,at.options,bt,at.state)}),this.update();var it=this.options.eventsEnabled;it&&this.enableEventListeners(),this.state.eventsEnabled=it}return X(F,[{key:"update",value:function(){return dt.call(this)}},{key:"destroy",value:function(){return Xe.call(this)}},{key:"enableEventListeners",value:function(){return Kt.call(this)}},{key:"disableEventListeners",value:function(){return vt.call(this)}}]),F}();De.Utils=(typeof window<"u"?window:global).PopperUtils,De.placements=zt,De.Defaults=We;const fe=De},6700:(lt,me,u)=>{"use strict";u.d(me,{g:()=>d});var s=u(5657);class d extends s.E{constructor(f){super(),this._value=f}get value(){return this.getValue()}_subscribe(f){const l=super._subscribe(f);return!l.closed&&f.next(this._value),l}getValue(){const{hasError:f,thrownError:l,_value:i}=this;if(f)throw l;return this._throwIfClosed(),i}next(f){super.next(this._value=f)}}},3252:(lt,me,u)=>{"use strict";u.d(me,{_:()=>_});var s=u(1760),d=u(6928),o=u(472),f=u(3928),l=u(4491),i=u(8880),y=u(2075);let _=(()=>{class ie{constructor(Ge){Ge&&(this._subscribe=Ge)}lift(Ge){const ae=new ie;return ae.source=this,ae.operator=Ge,ae}subscribe(Ge,ae,Z){const _e=function K(ie){return ie&&ie instanceof s.yR||function B(ie){return ie&&(0,i.m)(ie.next)&&(0,i.m)(ie.error)&&(0,i.m)(ie.complete)}(ie)&&(0,d.GI)(ie)}(Ge)?Ge:new s.ot(Ge,ae,Z);return(0,y.c)(()=>{const{operator:j,source:ke}=this;_e.add(j?j.call(_e,ke):ke?this._subscribe(_e):this._trySubscribe(_e))}),_e}_trySubscribe(Ge){try{return this._subscribe(Ge)}catch(ae){Ge.error(ae)}}forEach(Ge,ae){return new(ae=I(ae))((Z,_e)=>{const j=new s.ot({next:ke=>{try{Ge(ke)}catch(rt){_e(rt),j.unsubscribe()}},error:_e,complete:Z});this.subscribe(j)})}_subscribe(Ge){var ae;return null===(ae=this.source)||void 0===ae?void 0:ae.subscribe(Ge)}[o.a](){return this}pipe(...Ge){return(0,f.Y)(Ge)(this)}toPromise(Ge){return new(Ge=I(Ge))((ae,Z)=>{let _e;this.subscribe(j=>_e=j,j=>Z(j),()=>ae(_e))})}}return ie.create=oe=>new ie(oe),ie})();function I(ie){var oe;return null!==(oe=ie??l.config.Promise)&&void 0!==oe?oe:Promise}},2540:(lt,me,u)=>{"use strict";u.d(me,{o:()=>o});var s=u(5657),d=u(5960);class o extends s.E{constructor(l=1/0,i=1/0,y=d.K){super(),this._bufferSize=l,this._windowTime=i,this._timestampProvider=y,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=i===1/0,this._bufferSize=Math.max(1,l),this._windowTime=Math.max(1,i)}next(l){const{isStopped:i,_buffer:y,_infiniteTimeWindow:_,_timestampProvider:I,_windowTime:B}=this;i||(y.push(l),!_&&y.push(I.now()+B)),this._trimBuffer(),super.next(l)}_subscribe(l){this._throwIfClosed(),this._trimBuffer();const i=this._innerSubscribe(l),{_infiniteTimeWindow:y,_buffer:_}=this,I=_.slice();for(let B=0;B<I.length&&!l.closed;B+=y?1:2)l.next(I[B]);return this._checkFinalizedStatuses(l),i}_trimBuffer(){const{_bufferSize:l,_timestampProvider:i,_buffer:y,_infiniteTimeWindow:_}=this,I=(_?1:2)*l;if(l<1/0&&I<y.length&&y.splice(0,y.length-I),!_){const B=i.now();let K=0;for(let ie=1;ie<y.length&&y[ie]<=B;ie+=2)K=ie;K&&y.splice(0,K+1)}}}},5657:(lt,me,u)=>{"use strict";u.d(me,{E:()=>y});var s=u(3252),d=u(6928);const f=(0,u(4912).w)(I=>function(){I(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var l=u(1248),i=u(2075);let y=(()=>{class I extends s._{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(K){const ie=new _(this,this);return ie.operator=K,ie}_throwIfClosed(){if(this.closed)throw new f}next(K){(0,i.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const ie of this.currentObservers)ie.next(K)}})}error(K){(0,i.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=K;const{observers:ie}=this;for(;ie.length;)ie.shift().error(K)}})}complete(){(0,i.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:K}=this;for(;K.length;)K.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var K;return(null===(K=this.observers)||void 0===K?void 0:K.length)>0}_trySubscribe(K){return this._throwIfClosed(),super._trySubscribe(K)}_subscribe(K){return this._throwIfClosed(),this._checkFinalizedStatuses(K),this._innerSubscribe(K)}_innerSubscribe(K){const{hasError:ie,isStopped:oe,observers:Ge}=this;return ie||oe?d.au:(this.currentObservers=null,Ge.push(K),new d.wH(()=>{this.currentObservers=null,(0,l.k)(Ge,K)}))}_checkFinalizedStatuses(K){const{hasError:ie,thrownError:oe,isStopped:Ge}=this;ie?K.error(oe):Ge&&K.complete()}asObservable(){const K=new s._;return K.source=this,K}}return I.create=(B,K)=>new _(B,K),I})();class _ extends y{constructor(B,K){super(),this.destination=B,this.source=K}next(B){var K,ie;null===(ie=null===(K=this.destination)||void 0===K?void 0:K.next)||void 0===ie||ie.call(K,B)}error(B){var K,ie;null===(ie=null===(K=this.destination)||void 0===K?void 0:K.error)||void 0===ie||ie.call(K,B)}complete(){var B,K;null===(K=null===(B=this.destination)||void 0===B?void 0:B.complete)||void 0===K||K.call(B)}_subscribe(B){var K,ie;return null!==(ie=null===(K=this.source)||void 0===K?void 0:K.subscribe(B))&&void 0!==ie?ie:d.au}}},1760:(lt,me,u)=>{"use strict";u.d(me,{ot:()=>Z,yR:()=>ie});var s=u(8880),d=u(6928),o=u(4491),f=u(1984),l=u(308);const i=I("C",void 0,void 0);function I(le,ye,Y){return{kind:le,value:ye,error:Y}}var B=u(3376),K=u(2075);class ie extends d.wH{constructor(ye){super(),this.isStopped=!1,ye?(this.destination=ye,(0,d.GI)(ye)&&ye.add(this)):this.destination=rt}static create(ye,Y,g){return new Z(ye,Y,g)}next(ye){this.isStopped?ke(function _(le){return I("N",le,void 0)}(ye),this):this._next(ye)}error(ye){this.isStopped?ke(function y(le){return I("E",void 0,le)}(ye),this):(this.isStopped=!0,this._error(ye))}complete(){this.isStopped?ke(i,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ye){this.destination.next(ye)}_error(ye){try{this.destination.error(ye)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const oe=Function.prototype.bind;function Ge(le,ye){return oe.call(le,ye)}class ae{constructor(ye){this.partialObserver=ye}next(ye){const{partialObserver:Y}=this;if(Y.next)try{Y.next(ye)}catch(g){_e(g)}}error(ye){const{partialObserver:Y}=this;if(Y.error)try{Y.error(ye)}catch(g){_e(g)}else _e(ye)}complete(){const{partialObserver:ye}=this;if(ye.complete)try{ye.complete()}catch(Y){_e(Y)}}}class Z extends ie{constructor(ye,Y,g){let X;if(super(),(0,s.m)(ye)||!ye)X={next:ye??void 0,error:Y??void 0,complete:g??void 0};else{let V;this&&o.config.useDeprecatedNextContext?(V=Object.create(ye),V.unsubscribe=()=>this.unsubscribe(),X={next:ye.next&&Ge(ye.next,V),error:ye.error&&Ge(ye.error,V),complete:ye.complete&&Ge(ye.complete,V)}):X=ye}this.destination=new ae(X)}}function _e(le){o.config.useDeprecatedSynchronousErrorHandling?(0,K.q)(le):(0,f.U)(le)}function ke(le,ye){const{onStoppedNotification:Y}=o.config;Y&&B.u.setTimeout(()=>Y(le,ye))}const rt={closed:!0,next:l.K,error:function j(le){throw le},complete:l.K}},6928:(lt,me,u)=>{"use strict";u.d(me,{au:()=>i,wH:()=>l,GI:()=>y});var s=u(8880);const o=(0,u(4912).w)(I=>function(K){I(this),this.message=K?`${K.length} errors occurred during unsubscription:\n${K.map((ie,oe)=>`${oe+1}) ${ie.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=K});var f=u(1248);class l{constructor(B){this.initialTeardown=B,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let B;if(!this.closed){this.closed=!0;const{_parentage:K}=this;if(K)if(this._parentage=null,Array.isArray(K))for(const Ge of K)Ge.remove(this);else K.remove(this);const{initialTeardown:ie}=this;if((0,s.m)(ie))try{ie()}catch(Ge){B=Ge instanceof o?Ge.errors:[Ge]}const{_finalizers:oe}=this;if(oe){this._finalizers=null;for(const Ge of oe)try{_(Ge)}catch(ae){B=B??[],ae instanceof o?B=[...B,...ae.errors]:B.push(ae)}}if(B)throw new o(B)}}add(B){var K;if(B&&B!==this)if(this.closed)_(B);else{if(B instanceof l){if(B.closed||B._hasParent(this))return;B._addParent(this)}(this._finalizers=null!==(K=this._finalizers)&&void 0!==K?K:[]).push(B)}}_hasParent(B){const{_parentage:K}=this;return K===B||Array.isArray(K)&&K.includes(B)}_addParent(B){const{_parentage:K}=this;this._parentage=Array.isArray(K)?(K.push(B),K):K?[K,B]:B}_removeParent(B){const{_parentage:K}=this;K===B?this._parentage=null:Array.isArray(K)&&(0,f.k)(K,B)}remove(B){const{_finalizers:K}=this;K&&(0,f.k)(K,B),B instanceof l&&B._removeParent(this)}}l.EMPTY=(()=>{const I=new l;return I.closed=!0,I})();const i=l.EMPTY;function y(I){return I instanceof l||I&&"closed"in I&&(0,s.m)(I.remove)&&(0,s.m)(I.add)&&(0,s.m)(I.unsubscribe)}function _(I){(0,s.m)(I)?I():I.unsubscribe()}},4491:(lt,me,u)=>{"use strict";u.d(me,{config:()=>s});const s={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},2376:(lt,me,u)=>{"use strict";u.d(me,{C:()=>i});var s=u(3252),d=u(6928),o=u(8084),f=u(7773),l=u(5448);class i extends s._{constructor(_,I){super(),this.source=_,this.subjectFactory=I,this._subject=null,this._refCount=0,this._connection=null,(0,l.e)(_)&&(this.lift=_.lift)}_subscribe(_){return this.getSubject().subscribe(_)}getSubject(){const _=this._subject;return(!_||_.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:_}=this;this._subject=this._connection=null,_?.unsubscribe()}connect(){let _=this._connection;if(!_){_=this._connection=new d.wH;const I=this.getSubject();_.add(this.source.subscribe((0,f.e)(I,void 0,()=>{this._teardown(),I.complete()},B=>{this._teardown(),I.error(B)},()=>this._teardown()))),_.closed&&(this._connection=null,_=d.wH.EMPTY)}return _}refCount(){return(0,o.O)()(this)}}},6040:(lt,me,u)=>{"use strict";u.d(me,{E:()=>B});var s=u(3252),d=u(4300),o=u(4496),f=u(528),l=u(4187),i=u(6624),y=u(7904),_=u(7773),I=u(9399);function B(...oe){const Ge=(0,i.e_)(oe),ae=(0,i.yu)(oe),{args:Z,keys:_e}=(0,d.Q)(oe);if(0===Z.length)return(0,o.Q)([],Ge);const j=new s._(function K(oe,Ge,ae=f.Z){return Z=>{ie(Ge,()=>{const{length:_e}=oe,j=new Array(_e);let ke=_e,rt=_e;for(let le=0;le<_e;le++)ie(Ge,()=>{const ye=(0,o.Q)(oe[le],Ge);let Y=!1;ye.subscribe((0,_.e)(Z,g=>{j[le]=g,Y||(Y=!0,rt--),rt||Z.next(ae(j.slice()))},()=>{--ke||Z.complete()}))},Z)},Z)}}(Z,Ge,_e?ke=>(0,y.q)(_e,ke):f.Z));return ae?j.pipe((0,l.j)(ae)):j}function ie(oe,Ge,ae){oe?(0,I._)(ae,oe,Ge):Ge()}},4848:(lt,me,u)=>{"use strict";u.d(me,{W:()=>l});var s=u(267),o=u(6624),f=u(4496);function l(...i){return function d(){return(0,s.u)(1)}()((0,f.Q)(i,(0,o.e_)(i)))}},1424:(lt,me,u)=>{"use strict";u.d(me,{Q:()=>o});var s=u(3252),d=u(560);function o(f){return new s._(l=>{(0,d.Uv)(f()).subscribe(l)})}},8960:(lt,me,u)=>{"use strict";u.d(me,{F:()=>o,k:()=>d});var s=u(3252);const d=new s._(l=>l.complete());function o(l){return l?function f(l){return new s._(i=>l.schedule(()=>i.complete()))}(l):d}},9336:(lt,me,u)=>{"use strict";u.d(me,{y:()=>_});var s=u(3252),d=u(4300),o=u(560),f=u(6624),l=u(7773),i=u(4187),y=u(7904);function _(...I){const B=(0,f.yu)(I),{args:K,keys:ie}=(0,d.Q)(I),oe=new s._(Ge=>{const{length:ae}=K;if(!ae)return void Ge.complete();const Z=new Array(ae);let _e=ae,j=ae;for(let ke=0;ke<ae;ke++){let rt=!1;(0,o.Uv)(K[ke]).subscribe((0,l.e)(Ge,le=>{rt||(rt=!0,j--),Z[ke]=le},()=>_e--,void 0,()=>{(!_e||!rt)&&(j||Ge.next(ie?(0,y.q)(ie,Z):Z),Ge.complete())}))}});return B?oe.pipe((0,i.j)(B)):oe}},4496:(lt,me,u)=>{"use strict";u.d(me,{Q:()=>g});var s=u(560),d=u(9399),o=u(5448),f=u(7773);function l(X,V=0){return(0,o.i)((te,be)=>{te.subscribe((0,f.e)(be,Fe=>(0,d._)(be,X,()=>be.next(Fe),V),()=>(0,d._)(be,X,()=>be.complete(),V),Fe=>(0,d._)(be,X,()=>be.error(Fe),V)))})}function i(X,V=0){return(0,o.i)((te,be)=>{be.add(X.schedule(()=>te.subscribe(be),V))})}var I=u(3252),K=u(3835),ie=u(8880);function Ge(X,V){if(!X)throw new Error("Iterable cannot be null");return new I._(te=>{(0,d._)(te,V,()=>{const be=X[Symbol.asyncIterator]();(0,d._)(te,V,()=>{be.next().then(Fe=>{Fe.done?te.complete():te.next(Fe.value)})},0,!0)})})}var ae=u(5099),Z=u(3052),_e=u(5428),j=u(1688),ke=u(376),rt=u(8272),le=u(5832);function g(X,V){return V?function Y(X,V){if(null!=X){if((0,ae.O)(X))return function y(X,V){return(0,s.Uv)(X).pipe(i(V),l(V))}(X,V);if((0,_e.G)(X))return function B(X,V){return new I._(te=>{let be=0;return V.schedule(function(){be===X.length?te.complete():(te.next(X[be++]),te.closed||this.schedule())})})}(X,V);if((0,Z.u)(X))return function _(X,V){return(0,s.Uv)(X).pipe(i(V),l(V))}(X,V);if((0,ke.E)(X))return Ge(X,V);if((0,j.i)(X))return function oe(X,V){return new I._(te=>{let be;return(0,d._)(te,V,()=>{be=X[K.w](),(0,d._)(te,V,()=>{let Fe,Se;try{({value:Fe,done:Se}=be.next())}catch(ot){return void te.error(ot)}Se?te.complete():te.next(Fe)},0,!0)}),()=>(0,ie.m)(be?.return)&&be.return()})}(X,V);if((0,le.K)(X))return function ye(X,V){return Ge((0,le._)(X),V)}(X,V)}throw(0,rt.W)(X)}(X,V):(0,s.Uv)(X)}},8420:(lt,me,u)=>{"use strict";u.d(me,{w:()=>B});var s=u(560),d=u(3252),o=u(7400),f=u(5428),l=u(8880),i=u(4187);const y=["addListener","removeListener"],_=["addEventListener","removeEventListener"],I=["on","off"];function B(ae,Z,_e,j){if((0,l.m)(_e)&&(j=_e,_e=void 0),j)return B(ae,Z,_e).pipe((0,i.j)(j));const[ke,rt]=function Ge(ae){return(0,l.m)(ae.addEventListener)&&(0,l.m)(ae.removeEventListener)}(ae)?_.map(le=>ye=>ae[le](Z,ye,_e)):function ie(ae){return(0,l.m)(ae.addListener)&&(0,l.m)(ae.removeListener)}(ae)?y.map(K(ae,Z)):function oe(ae){return(0,l.m)(ae.on)&&(0,l.m)(ae.off)}(ae)?I.map(K(ae,Z)):[];if(!ke&&(0,f.G)(ae))return(0,o.O)(le=>B(le,Z,_e))((0,s.Uv)(ae));if(!ke)throw new TypeError("Invalid event target");return new d._(le=>{const ye=(...Y)=>le.next(1<Y.length?Y:Y[0]);return ke(ye),()=>rt(ye)})}function K(ae,Z){return _e=>j=>ae[_e](Z,j)}},560:(lt,me,u)=>{"use strict";u.d(me,{Uv:()=>oe});var s=u(1316),d=u(5428),o=u(3052),f=u(3252),l=u(5099),i=u(376),y=u(8272),_=u(1688),I=u(5832),B=u(8880),K=u(1984),ie=u(472);function oe(le){if(le instanceof f._)return le;if(null!=le){if((0,l.O)(le))return function Ge(le){return new f._(ye=>{const Y=le[ie.a]();if((0,B.m)(Y.subscribe))return Y.subscribe(ye);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(le);if((0,d.G)(le))return function ae(le){return new f._(ye=>{for(let Y=0;Y<le.length&&!ye.closed;Y++)ye.next(le[Y]);ye.complete()})}(le);if((0,o.u)(le))return function Z(le){return new f._(ye=>{le.then(Y=>{ye.closed||(ye.next(Y),ye.complete())},Y=>ye.error(Y)).then(null,K.U)})}(le);if((0,i.E)(le))return j(le);if((0,_.i)(le))return function _e(le){return new f._(ye=>{for(const Y of le)if(ye.next(Y),ye.closed)return;ye.complete()})}(le);if((0,I.K)(le))return function ke(le){return j((0,I._)(le))}(le)}throw(0,y.W)(le)}function j(le){return new f._(ye=>{(function rt(le,ye){var Y,g,X,V;return(0,s.kH)(this,void 0,void 0,function*(){try{for(Y=(0,s.mA)(le);!(g=yield Y.next()).done;)if(ye.next(g.value),ye.closed)return}catch(te){X={error:te}}finally{try{g&&!g.done&&(V=Y.return)&&(yield V.call(Y))}finally{if(X)throw X.error}}ye.complete()})})(le,ye).catch(Y=>ye.error(Y))})}},3412:(lt,me,u)=>{"use strict";u.d(me,{U:()=>i});var s=u(267),d=u(560),o=u(8960),f=u(6624),l=u(4496);function i(...y){const _=(0,f.e_)(y),I=(0,f._8)(y,1/0),B=y;return B.length?1===B.length?(0,d.Uv)(B[0]):(0,s.u)(I)((0,l.Q)(B,_)):o.k}},2700:(lt,me,u)=>{"use strict";u.d(me,{of:()=>o});var s=u(6624),d=u(4496);function o(...f){const l=(0,s.e_)(f);return(0,d.Q)(f,l)}},3800:(lt,me,u)=>{"use strict";u.d(me,{c:()=>o});var s=u(3252),d=u(8880);function o(f,l){const i=(0,d.m)(f)?f:()=>f,y=_=>_.error(i());return new s._(l?_=>l.schedule(y,0,_):y)}},4548:(lt,me,u)=>{"use strict";u.d(me,{k:()=>l});var s=u(3252),d=u(112),o=u(3048);function l(i=0,y,_=d.a){let I=-1;return null!=y&&((0,o.G)(y)?_=y:I=y),new s._(B=>{let K=function f(i){return i instanceof Date&&!isNaN(i)}(i)?+i-_.now():i;K<0&&(K=0);let ie=0;return _.schedule(function(){B.closed||(B.next(ie++),0<=I?this.schedule(void 0,I):B.complete())},K)})}},7773:(lt,me,u)=>{"use strict";u.d(me,{e:()=>d});var s=u(1760);function d(f,l,i,y,_){return new o(f,l,i,y,_)}class o extends s.yR{constructor(l,i,y,_,I,B){super(l),this.onFinalize=I,this.shouldUnsubscribe=B,this._next=i?function(K){try{i(K)}catch(ie){l.error(ie)}}:super._next,this._error=_?function(K){try{_(K)}catch(ie){l.error(ie)}finally{this.unsubscribe()}}:super._error,this._complete=y?function(){try{y()}catch(K){l.error(K)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var l;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:i}=this;super.unsubscribe(),!i&&(null===(l=this.onFinalize)||void 0===l||l.call(this))}}}},9144:(lt,me,u)=>{"use strict";u.d(me,{a:()=>f});var s=u(560),d=u(7773),o=u(5448);function f(l){return(0,o.i)((i,y)=>{let B,_=null,I=!1;_=i.subscribe((0,d.e)(y,void 0,void 0,K=>{B=(0,s.Uv)(l(K,f(l)(i))),_?(_.unsubscribe(),_=null,B.subscribe(y)):I=!0})),I&&(_.unsubscribe(),_=null,B.subscribe(y))})}},6020:(lt,me,u)=>{"use strict";u.d(me,{m:()=>o});var s=u(7400),d=u(8880);function o(f,l){return(0,d.m)(l)?(0,s.O)(f,l,1):(0,s.O)(f,1)}},4680:(lt,me,u)=>{"use strict";u.d(me,{o:()=>f});var s=u(112),d=u(5448),o=u(7773);function f(l,i=s.M){return(0,d.i)((y,_)=>{let I=null,B=null,K=null;const ie=()=>{if(I){I.unsubscribe(),I=null;const Ge=B;B=null,_.next(Ge)}};function oe(){const Ge=K+l,ae=i.now();if(ae<Ge)return I=this.schedule(void 0,Ge-ae),void _.add(I);ie()}y.subscribe((0,o.e)(_,Ge=>{B=Ge,K=i.now(),I||(I=i.schedule(oe,l),_.add(I))},()=>{ie(),_.complete()},void 0,()=>{B=I=null}))})}},2156:(lt,me,u)=>{"use strict";u.d(me,{G:()=>o});var s=u(5448),d=u(7773);function o(f){return(0,s.i)((l,i)=>{let y=!1;l.subscribe((0,d.e)(i,_=>{y=!0,i.next(_)},()=>{y||i.next(f),i.complete()}))})}},7680:(lt,me,u)=>{"use strict";u.d(me,{o:()=>oe});var s=u(112),d=u(4848),o=u(3992),f=u(5448),l=u(7773),i=u(308),_=u(320),I=u(7400),B=u(560);function K(Ge,ae){return ae?Z=>(0,d.W)(ae.pipe((0,o.U)(1),function y(){return(0,f.i)((Ge,ae)=>{Ge.subscribe((0,l.e)(ae,i.K))})}()),Z.pipe(K(Ge))):(0,I.O)((Z,_e)=>(0,B.Uv)(Ge(Z,_e)).pipe((0,o.U)(1),(0,_.e)(Z)))}var ie=u(4548);function oe(Ge,ae=s.M){const Z=(0,ie.k)(Ge,ae);return K(()=>Z)}},4e3:(lt,me,u)=>{"use strict";u.d(me,{a:()=>f});var s=u(528),d=u(5448),o=u(7773);function f(i,y=s.Z){return i=i??l,(0,d.i)((_,I)=>{let B,K=!0;_.subscribe((0,o.e)(I,ie=>{const oe=y(ie);(K||!i(B,oe))&&(K=!1,B=oe,I.next(ie))}))})}function l(i,y){return i===y}},6684:(lt,me,u)=>{"use strict";u.d(me,{I:()=>o});var s=u(5448),d=u(7773);function o(f,l){return(0,s.i)((i,y)=>{let _=0;i.subscribe((0,d.e)(y,I=>f.call(l,I,_++)&&y.next(I)))})}},8824:(lt,me,u)=>{"use strict";u.d(me,{U:()=>d});var s=u(5448);function d(o){return(0,s.i)((f,l)=>{try{f.subscribe(l)}finally{l.add(o)}})}},4704:(lt,me,u)=>{"use strict";u.d(me,{k:()=>o});var s=u(5448),d=u(7773);function o(f,l){return(0,s.i)((i,y)=>{let _=0;i.subscribe((0,d.e)(y,I=>{y.next(f.call(l,I,_++))}))})}},320:(lt,me,u)=>{"use strict";u.d(me,{e:()=>d});var s=u(4704);function d(o){return(0,s.k)(()=>o)}},267:(lt,me,u)=>{"use strict";u.d(me,{u:()=>o});var s=u(7400),d=u(528);function o(f=1/0){return(0,s.O)(d.Z,f)}},7400:(lt,me,u)=>{"use strict";u.d(me,{O:()=>_});var s=u(4704),d=u(560),o=u(5448),f=u(9399),l=u(7773),y=u(8880);function _(I,B,K=1/0){return(0,y.m)(B)?_((ie,oe)=>(0,s.k)((Ge,ae)=>B(ie,Ge,oe,ae))((0,d.Uv)(I(ie,oe))),K):("number"==typeof B&&(K=B),(0,o.i)((ie,oe)=>function i(I,B,K,ie,oe,Ge,ae,Z){const _e=[];let j=0,ke=0,rt=!1;const le=()=>{rt&&!_e.length&&!j&&B.complete()},ye=g=>j<ie?Y(g):_e.push(g),Y=g=>{Ge&&B.next(g),j++;let X=!1;(0,d.Uv)(K(g,ke++)).subscribe((0,l.e)(B,V=>{oe?.(V),Ge?ye(V):B.next(V)},()=>{X=!0},void 0,()=>{if(X)try{for(j--;_e.length&&j<ie;){const V=_e.shift();ae?(0,f._)(B,ae,()=>Y(V)):Y(V)}le()}catch(V){B.error(V)}}))};return I.subscribe((0,l.e)(B,ye,()=>{rt=!0,le()})),()=>{Z?.()}}(ie,oe,I,K)))}},8084:(lt,me,u)=>{"use strict";u.d(me,{O:()=>o});var s=u(5448),d=u(7773);function o(){return(0,s.i)((f,l)=>{let i=null;f._refCount++;const y=(0,d.e)(l,void 0,void 0,void 0,()=>{if(!f||f._refCount<=0||0<--f._refCount)return void(i=null);const _=f._connection,I=i;i=null,_&&(!I||_===I)&&_.unsubscribe(),l.unsubscribe()});f.subscribe(y),y.closed||(i=f.connect())})}},7648:(lt,me,u)=>{"use strict";u.d(me,{o:()=>l});var s=u(560),d=u(5657),o=u(1760),f=u(5448);function l(y={}){const{connector:_=(()=>new d.E),resetOnError:I=!0,resetOnComplete:B=!0,resetOnRefCountZero:K=!0}=y;return ie=>{let oe,Ge,ae,Z=0,_e=!1,j=!1;const ke=()=>{Ge?.unsubscribe(),Ge=void 0},rt=()=>{ke(),oe=ae=void 0,_e=j=!1},le=()=>{const ye=oe;rt(),ye?.unsubscribe()};return(0,f.i)((ye,Y)=>{Z++,!j&&!_e&&ke();const g=ae=ae??_();Y.add(()=>{Z--,0===Z&&!j&&!_e&&(Ge=i(le,K))}),g.subscribe(Y),!oe&&Z>0&&(oe=new o.ot({next:X=>g.next(X),error:X=>{j=!0,ke(),Ge=i(rt,I,X),g.error(X)},complete:()=>{_e=!0,ke(),Ge=i(rt,B),g.complete()}}),(0,s.Uv)(ye).subscribe(oe))})(ie)}}function i(y,_,...I){if(!0===_)return void y();if(!1===_)return;const B=new o.ot({next:()=>{B.unsubscribe(),y()}});return(0,s.Uv)(_(...I)).subscribe(B)}},8716:(lt,me,u)=>{"use strict";u.d(me,{C:()=>o});var s=u(2540),d=u(7648);function o(f,l,i){let y,_=!1;return f&&"object"==typeof f?({bufferSize:y=1/0,windowTime:l=1/0,refCount:_=!1,scheduler:i}=f):y=f??1/0,(0,d.o)({connector:()=>new s.o(y,l,i),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:_})}},2644:(lt,me,u)=>{"use strict";u.d(me,{s:()=>d});var s=u(6684);function d(o){return(0,s.I)((f,l)=>o<=l)}},5568:(lt,me,u)=>{"use strict";u.d(me,{W:()=>f});var s=u(4848),d=u(6624),o=u(5448);function f(...l){const i=(0,d.e_)(l);return(0,o.i)((y,_)=>{(i?(0,s.W)(l,y,i):(0,s.W)(l,y)).subscribe(_)})}},7368:(lt,me,u)=>{"use strict";u.d(me,{G:()=>f});var s=u(560),d=u(5448),o=u(7773);function f(l,i){return(0,d.i)((y,_)=>{let I=null,B=0,K=!1;const ie=()=>K&&!I&&_.complete();y.subscribe((0,o.e)(_,oe=>{I?.unsubscribe();let Ge=0;const ae=B++;(0,s.Uv)(l(oe,ae)).subscribe(I=(0,o.e)(_,Z=>_.next(i?i(oe,Z,ae,Ge++):Z),()=>{I=null,ie()}))},()=>{K=!0,ie()}))})}},3992:(lt,me,u)=>{"use strict";u.d(me,{U:()=>f});var s=u(8960),d=u(5448),o=u(7773);function f(l){return l<=0?()=>s.k:(0,d.i)((i,y)=>{let _=0;i.subscribe((0,o.e)(y,I=>{++_<=l&&(y.next(I),l<=_&&y.complete())}))})}},3616:(lt,me,u)=>{"use strict";u.d(me,{a:()=>l});var s=u(5448),d=u(7773),o=u(560),f=u(308);function l(i){return(0,s.i)((y,_)=>{(0,o.Uv)(i).subscribe((0,d.e)(_,()=>_.complete(),f.K)),!_.closed&&y.subscribe(_)})}},9212:(lt,me,u)=>{"use strict";u.d(me,{y:()=>l});var s=u(8880),d=u(5448),o=u(7773),f=u(528);function l(i,y,_){const I=(0,s.m)(i)||y||_?{next:i,error:y,complete:_}:i;return I?(0,d.i)((B,K)=>{var ie;null===(ie=I.subscribe)||void 0===ie||ie.call(I);let oe=!0;B.subscribe((0,o.e)(K,Ge=>{var ae;null===(ae=I.next)||void 0===ae||ae.call(I,Ge),K.next(Ge)},()=>{var Ge;oe=!1,null===(Ge=I.complete)||void 0===Ge||Ge.call(I),K.complete()},Ge=>{var ae;oe=!1,null===(ae=I.error)||void 0===ae||ae.call(I,Ge),K.error(Ge)},()=>{var Ge,ae;oe&&(null===(Ge=I.unsubscribe)||void 0===Ge||Ge.call(I)),null===(ae=I.finalize)||void 0===ae||ae.call(I)}))}):f.Z}},5800:(lt,me,u)=>{"use strict";u.d(me,{U:()=>y});var s=u(112),d=u(5448),o=u(7773),f=u(560),i=u(4548);function y(_,I=s.M,B){const K=(0,i.k)(_,I);return function l(_,I){return(0,d.i)((B,K)=>{const{leading:ie=!0,trailing:oe=!1}=I??{};let Ge=!1,ae=null,Z=null,_e=!1;const j=()=>{Z?.unsubscribe(),Z=null,oe&&(le(),_e&&K.complete())},ke=()=>{Z=null,_e&&K.complete()},rt=ye=>Z=(0,f.Uv)(_(ye)).subscribe((0,o.e)(K,j,ke)),le=()=>{if(Ge){Ge=!1;const ye=ae;ae=null,K.next(ye),!_e&&rt(ye)}};B.subscribe((0,o.e)(K,ye=>{Ge=!0,ae=ye,(!Z||Z.closed)&&(ie?le():rt(ye))},()=>{_e=!0,(!(oe&&Ge&&Z)||Z.closed)&&K.complete()}))})}(()=>K,B)}},1364:(lt,me,u)=>{"use strict";u.d(me,{m:()=>l});var s=u(6928);class d extends s.wH{constructor(y,_){super()}schedule(y,_=0){return this}}const o={setInterval(i,y,..._){const{delegate:I}=o;return I?.setInterval?I.setInterval(i,y,..._):setInterval(i,y,..._)},clearInterval(i){const{delegate:y}=o;return(y?.clearInterval||clearInterval)(i)},delegate:void 0};var f=u(1248);class l extends d{constructor(y,_){super(y,_),this.scheduler=y,this.work=_,this.pending=!1}schedule(y,_=0){var I;if(this.closed)return this;this.state=y;const B=this.id,K=this.scheduler;return null!=B&&(this.id=this.recycleAsyncId(K,B,_)),this.pending=!0,this.delay=_,this.id=null!==(I=this.id)&&void 0!==I?I:this.requestAsyncId(K,this.id,_),this}requestAsyncId(y,_,I=0){return o.setInterval(y.flush.bind(y,this),I)}recycleAsyncId(y,_,I=0){if(null!=I&&this.delay===I&&!1===this.pending)return _;null!=_&&o.clearInterval(_)}execute(y,_){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const I=this._execute(y,_);if(I)return I;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(y,_){let B,I=!1;try{this.work(y)}catch(K){I=!0,B=K||new Error("Scheduled action threw falsy error")}if(I)return this.unsubscribe(),B}unsubscribe(){if(!this.closed){const{id:y,scheduler:_}=this,{actions:I}=_;this.work=this.state=this.scheduler=null,this.pending=!1,(0,f.k)(I,this),null!=y&&(this.id=this.recycleAsyncId(_,y,null)),this.delay=null,super.unsubscribe()}}}},9816:(lt,me,u)=>{"use strict";u.d(me,{k:()=>o});var s=u(5960);class d{constructor(l,i=d.now){this.schedulerActionCtor=l,this.now=i}schedule(l,i=0,y){return new this.schedulerActionCtor(this,l).schedule(y,i)}}d.now=s.K.now;class o extends d{constructor(l,i=d.now){super(l,i),this.actions=[],this._active=!1}flush(l){const{actions:i}=this;if(this._active)return void i.push(l);let y;this._active=!0;do{if(y=l.execute(l.state,l.delay))break}while(l=i.shift());if(this._active=!1,y){for(;l=i.shift();)l.unsubscribe();throw y}}}},1472:(lt,me,u)=>{"use strict";u.d(me,{u:()=>Ge});var s=u(1364);let o,d=1;const f={};function l(Z){return Z in f&&(delete f[Z],!0)}const i={setImmediate(Z){const _e=d++;return f[_e]=!0,o||(o=Promise.resolve()),o.then(()=>l(_e)&&Z()),_e},clearImmediate(Z){l(Z)}},{setImmediate:_,clearImmediate:I}=i,B={setImmediate(...Z){const{delegate:_e}=B;return(_e?.setImmediate||_)(...Z)},clearImmediate(Z){const{delegate:_e}=B;return(_e?.clearImmediate||I)(Z)},delegate:void 0};var ie=u(9816);const Ge=new class oe extends ie.k{flush(_e){this._active=!0;const j=this._scheduled;this._scheduled=void 0;const{actions:ke}=this;let rt;_e=_e||ke.shift();do{if(rt=_e.execute(_e.state,_e.delay))break}while((_e=ke[0])&&_e.id===j&&ke.shift());if(this._active=!1,rt){for(;(_e=ke[0])&&_e.id===j&&ke.shift();)_e.unsubscribe();throw rt}}}(class K extends s.m{constructor(_e,j){super(_e,j),this.scheduler=_e,this.work=j}requestAsyncId(_e,j,ke=0){return null!==ke&&ke>0?super.requestAsyncId(_e,j,ke):(_e.actions.push(this),_e._scheduled||(_e._scheduled=B.setImmediate(_e.flush.bind(_e,void 0))))}recycleAsyncId(_e,j,ke=0){var rt;if(null!=ke?ke>0:this.delay>0)return super.recycleAsyncId(_e,j,ke);const{actions:le}=_e;null!=j&&(null===(rt=le[le.length-1])||void 0===rt?void 0:rt.id)!==j&&(B.clearImmediate(j),_e._scheduled===j&&(_e._scheduled=void 0))}})},112:(lt,me,u)=>{"use strict";u.d(me,{M:()=>o,a:()=>f});var s=u(1364);const o=new(u(9816).k)(s.m),f=o},5960:(lt,me,u)=>{"use strict";u.d(me,{K:()=>s});const s={now:()=>(s.delegate||Date).now(),delegate:void 0}},3376:(lt,me,u)=>{"use strict";u.d(me,{u:()=>s});const s={setTimeout(d,o,...f){const{delegate:l}=s;return l?.setTimeout?l.setTimeout(d,o,...f):setTimeout(d,o,...f)},clearTimeout(d){const{delegate:o}=s;return(o?.clearTimeout||clearTimeout)(d)},delegate:void 0}},3835:(lt,me,u)=>{"use strict";u.d(me,{w:()=>d});const d=function s(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},472:(lt,me,u)=>{"use strict";u.d(me,{a:()=>s});const s="function"==typeof Symbol&&Symbol.observable||"@@observable"},7696:(lt,me,u)=>{"use strict";u.d(me,{G:()=>d});const d=(0,u(4912).w)(o=>function(){o(this),this.name="EmptyError",this.message="no elements in sequence"})},6624:(lt,me,u)=>{"use strict";u.d(me,{_8:()=>i,e_:()=>l,yu:()=>f});var s=u(8880),d=u(3048);function o(y){return y[y.length-1]}function f(y){return(0,s.m)(o(y))?y.pop():void 0}function l(y){return(0,d.G)(o(y))?y.pop():void 0}function i(y,_){return"number"==typeof o(y)?y.pop():_}},4300:(lt,me,u)=>{"use strict";u.d(me,{Q:()=>l});const{isArray:s}=Array,{getPrototypeOf:d,prototype:o,keys:f}=Object;function l(y){if(1===y.length){const _=y[0];if(s(_))return{args:_,keys:null};if(function i(y){return y&&"object"==typeof y&&d(y)===o}(_)){const I=f(_);return{args:I.map(B=>_[B]),keys:I}}}return{args:y,keys:null}}},1248:(lt,me,u)=>{"use strict";function s(d,o){if(d){const f=d.indexOf(o);0<=f&&d.splice(f,1)}}u.d(me,{k:()=>s})},4912:(lt,me,u)=>{"use strict";function s(d){const f=d(l=>{Error.call(l),l.stack=(new Error).stack});return f.prototype=Object.create(Error.prototype),f.prototype.constructor=f,f}u.d(me,{w:()=>s})},7904:(lt,me,u)=>{"use strict";function s(d,o){return d.reduce((f,l,i)=>(f[l]=o[i],f),{})}u.d(me,{q:()=>s})},2075:(lt,me,u)=>{"use strict";u.d(me,{c:()=>o,q:()=>f});var s=u(4491);let d=null;function o(l){if(s.config.useDeprecatedSynchronousErrorHandling){const i=!d;if(i&&(d={errorThrown:!1,error:null}),l(),i){const{errorThrown:y,error:_}=d;if(d=null,y)throw _}}else l()}function f(l){s.config.useDeprecatedSynchronousErrorHandling&&d&&(d.errorThrown=!0,d.error=l)}},9399:(lt,me,u)=>{"use strict";function s(d,o,f,l=0,i=!1){const y=o.schedule(function(){f(),i?d.add(this.schedule(null,l)):this.unsubscribe()},l);if(d.add(y),!i)return y}u.d(me,{_:()=>s})},528:(lt,me,u)=>{"use strict";function s(d){return d}u.d(me,{Z:()=>s})},5428:(lt,me,u)=>{"use strict";u.d(me,{G:()=>s});const s=d=>d&&"number"==typeof d.length&&"function"!=typeof d},376:(lt,me,u)=>{"use strict";u.d(me,{E:()=>d});var s=u(8880);function d(o){return Symbol.asyncIterator&&(0,s.m)(o?.[Symbol.asyncIterator])}},8880:(lt,me,u)=>{"use strict";function s(d){return"function"==typeof d}u.d(me,{m:()=>s})},5099:(lt,me,u)=>{"use strict";u.d(me,{O:()=>o});var s=u(472),d=u(8880);function o(f){return(0,d.m)(f[s.a])}},1688:(lt,me,u)=>{"use strict";u.d(me,{i:()=>o});var s=u(3835),d=u(8880);function o(f){return(0,d.m)(f?.[s.w])}},1116:(lt,me,u)=>{"use strict";u.d(me,{X:()=>o});var s=u(3252),d=u(8880);function o(f){return!!f&&(f instanceof s._||(0,d.m)(f.lift)&&(0,d.m)(f.subscribe))}},3052:(lt,me,u)=>{"use strict";u.d(me,{u:()=>d});var s=u(8880);function d(o){return(0,s.m)(o?.then)}},5832:(lt,me,u)=>{"use strict";u.d(me,{K:()=>f,_:()=>o});var s=u(1316),d=u(8880);function o(l){return(0,s.o7)(this,arguments,function*(){const y=l.getReader();try{for(;;){const{value:_,done:I}=yield(0,s.U1)(y.read());if(I)return yield(0,s.U1)(void 0);yield yield(0,s.U1)(_)}}finally{y.releaseLock()}})}function f(l){return(0,d.m)(l?.getReader)}},3048:(lt,me,u)=>{"use strict";u.d(me,{G:()=>d});var s=u(8880);function d(o){return o&&(0,s.m)(o.schedule)}},5448:(lt,me,u)=>{"use strict";u.d(me,{e:()=>d,i:()=>o});var s=u(8880);function d(f){return(0,s.m)(f?.lift)}function o(f){return l=>{if(d(l))return l.lift(function(i){try{return f(i,this)}catch(y){this.error(y)}});throw new TypeError("Unable to lift unknown Observable type")}}},4187:(lt,me,u)=>{"use strict";u.d(me,{j:()=>f});var s=u(4704);const{isArray:d}=Array;function f(l){return(0,s.k)(i=>function o(l,i){return d(i)?l(...i):l(i)}(l,i))}},308:(lt,me,u)=>{"use strict";function s(){}u.d(me,{K:()=>s})},3928:(lt,me,u)=>{"use strict";u.d(me,{W:()=>d,Y:()=>o});var s=u(528);function d(...f){return o(f)}function o(f){return 0===f.length?s.Z:1===f.length?f[0]:function(i){return f.reduce((y,_)=>_(y),i)}}},1984:(lt,me,u)=>{"use strict";u.d(me,{U:()=>o});var s=u(4491),d=u(3376);function o(f){d.u.setTimeout(()=>{const{onUnhandledError:l}=s.config;if(!l)throw f;l(f)})}},8272:(lt,me,u)=>{"use strict";function s(d){return new TypeError(`You provided ${null!==d&&"object"==typeof d?"an invalid object":`'${d}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}u.d(me,{W:()=>s})},6008:(lt,me)=>{"use strict";me.C=void 0;var s=function(){function d(){this._dataLength=0,this._bufferLength=0,this._state=new Int32Array(4),this._buffer=new ArrayBuffer(68),this._buffer8=new Uint8Array(this._buffer,0,68),this._buffer32=new Uint32Array(this._buffer,0,17),this.start()}return d.hashStr=function(o,f){return void 0===f&&(f=!1),this.onePassHasher.start().appendStr(o).end(f)},d.hashAsciiStr=function(o,f){return void 0===f&&(f=!1),this.onePassHasher.start().appendAsciiStr(o).end(f)},d._hex=function(o){var i,y,_,I,f=d.hexChars,l=d.hexOut;for(I=0;I<4;I+=1)for(y=8*I,i=o[I],_=0;_<8;_+=2)l[y+1+_]=f.charAt(15&i),l[y+0+_]=f.charAt(15&(i>>>=4)),i>>>=4;return l.join("")},d._md5cycle=function(o,f){var l=o[0],i=o[1],y=o[2],_=o[3];i=((i+=((y=((y+=((_=((_+=((l=((l+=(i&y|~i&_)+f[0]-680876936|0)<<7|l>>>25)+i|0)&i|~l&y)+f[1]-389564586|0)<<12|_>>>20)+l|0)&l|~_&i)+f[2]+606105819|0)<<17|y>>>15)+_|0)&_|~y&l)+f[3]-1044525330|0)<<22|i>>>10)+y|0,i=((i+=((y=((y+=((_=((_+=((l=((l+=(i&y|~i&_)+f[4]-176418897|0)<<7|l>>>25)+i|0)&i|~l&y)+f[5]+1200080426|0)<<12|_>>>20)+l|0)&l|~_&i)+f[6]-1473231341|0)<<17|y>>>15)+_|0)&_|~y&l)+f[7]-45705983|0)<<22|i>>>10)+y|0,i=((i+=((y=((y+=((_=((_+=((l=((l+=(i&y|~i&_)+f[8]+1770035416|0)<<7|l>>>25)+i|0)&i|~l&y)+f[9]-1958414417|0)<<12|_>>>20)+l|0)&l|~_&i)+f[10]-42063|0)<<17|y>>>15)+_|0)&_|~y&l)+f[11]-1990404162|0)<<22|i>>>10)+y|0,i=((i+=((y=((y+=((_=((_+=((l=((l+=(i&y|~i&_)+f[12]+1804603682|0)<<7|l>>>25)+i|0)&i|~l&y)+f[13]-40341101|0)<<12|_>>>20)+l|0)&l|~_&i)+f[14]-1502002290|0)<<17|y>>>15)+_|0)&_|~y&l)+f[15]+1236535329|0)<<22|i>>>10)+y|0,i=((i+=((y=((y+=((_=((_+=((l=((l+=(i&_|y&~_)+f[1]-165796510|0)<<5|l>>>27)+i|0)&y|i&~y)+f[6]-1069501632|0)<<9|_>>>23)+l|0)&i|l&~i)+f[11]+643717713|0)<<14|y>>>18)+_|0)&l|_&~l)+f[0]-373897302|0)<<20|i>>>12)+y|0,i=((i+=((y=((y+=((_=((_+=((l=((l+=(i&_|y&~_)+f[5]-701558691|0)<<5|l>>>27)+i|0)&y|i&~y)+f[10]+38016083|0)<<9|_>>>23)+l|0)&i|l&~i)+f[15]-660478335|0)<<14|y>>>18)+_|0)&l|_&~l)+f[4]-405537848|0)<<20|i>>>12)+y|0,i=((i+=((y=((y+=((_=((_+=((l=((l+=(i&_|y&~_)+f[9]+568446438|0)<<5|l>>>27)+i|0)&y|i&~y)+f[14]-1019803690|0)<<9|_>>>23)+l|0)&i|l&~i)+f[3]-187363961|0)<<14|y>>>18)+_|0)&l|_&~l)+f[8]+1163531501|0)<<20|i>>>12)+y|0,i=((i+=((y=((y+=((_=((_+=((l=((l+=(i&_|y&~_)+f[13]-1444681467|0)<<5|l>>>27)+i|0)&y|i&~y)+f[2]-51403784|0)<<9|_>>>23)+l|0)&i|l&~i)+f[7]+1735328473|0)<<14|y>>>18)+_|0)&l|_&~l)+f[12]-1926607734|0)<<20|i>>>12)+y|0,i=((i+=((y=((y+=((_=((_+=((l=((l+=(i^y^_)+f[5]-378558|0)<<4|l>>>28)+i|0)^i^y)+f[8]-2022574463|0)<<11|_>>>21)+l|0)^l^i)+f[11]+1839030562|0)<<16|y>>>16)+_|0)^_^l)+f[14]-35309556|0)<<23|i>>>9)+y|0,i=((i+=((y=((y+=((_=((_+=((l=((l+=(i^y^_)+f[1]-1530992060|0)<<4|l>>>28)+i|0)^i^y)+f[4]+1272893353|0)<<11|_>>>21)+l|0)^l^i)+f[7]-155497632|0)<<16|y>>>16)+_|0)^_^l)+f[10]-1094730640|0)<<23|i>>>9)+y|0,i=((i+=((y=((y+=((_=((_+=((l=((l+=(i^y^_)+f[13]+681279174|0)<<4|l>>>28)+i|0)^i^y)+f[0]-358537222|0)<<11|_>>>21)+l|0)^l^i)+f[3]-722521979|0)<<16|y>>>16)+_|0)^_^l)+f[6]+76029189|0)<<23|i>>>9)+y|0,i=((i+=((y=((y+=((_=((_+=((l=((l+=(i^y^_)+f[9]-640364487|0)<<4|l>>>28)+i|0)^i^y)+f[12]-421815835|0)<<11|_>>>21)+l|0)^l^i)+f[15]+530742520|0)<<16|y>>>16)+_|0)^_^l)+f[2]-995338651|0)<<23|i>>>9)+y|0,i=((i+=((_=((_+=(i^((l=((l+=(y^(i|~_))+f[0]-198630844|0)<<6|l>>>26)+i|0)|~y))+f[7]+1126891415|0)<<10|_>>>22)+l|0)^((y=((y+=(l^(_|~i))+f[14]-1416354905|0)<<15|y>>>17)+_|0)|~l))+f[5]-57434055|0)<<21|i>>>11)+y|0,i=((i+=((_=((_+=(i^((l=((l+=(y^(i|~_))+f[12]+1700485571|0)<<6|l>>>26)+i|0)|~y))+f[3]-1894986606|0)<<10|_>>>22)+l|0)^((y=((y+=(l^(_|~i))+f[10]-1051523|0)<<15|y>>>17)+_|0)|~l))+f[1]-2054922799|0)<<21|i>>>11)+y|0,i=((i+=((_=((_+=(i^((l=((l+=(y^(i|~_))+f[8]+1873313359|0)<<6|l>>>26)+i|0)|~y))+f[15]-30611744|0)<<10|_>>>22)+l|0)^((y=((y+=(l^(_|~i))+f[6]-1560198380|0)<<15|y>>>17)+_|0)|~l))+f[13]+1309151649|0)<<21|i>>>11)+y|0,i=((i+=((_=((_+=(i^((l=((l+=(y^(i|~_))+f[4]-145523070|0)<<6|l>>>26)+i|0)|~y))+f[11]-1120210379|0)<<10|_>>>22)+l|0)^((y=((y+=(l^(_|~i))+f[2]+718787259|0)<<15|y>>>17)+_|0)|~l))+f[9]-343485551|0)<<21|i>>>11)+y|0,o[0]=l+o[0]|0,o[1]=i+o[1]|0,o[2]=y+o[2]|0,o[3]=_+o[3]|0},d.prototype.start=function(){return this._dataLength=0,this._bufferLength=0,this._state.set(d.stateIdentity),this},d.prototype.appendStr=function(o){var y,_,f=this._buffer8,l=this._buffer32,i=this._bufferLength;for(_=0;_<o.length;_+=1){if((y=o.charCodeAt(_))<128)f[i++]=y;else if(y<2048)f[i++]=192+(y>>>6),f[i++]=63&y|128;else if(y<55296||y>56319)f[i++]=224+(y>>>12),f[i++]=y>>>6&63|128,f[i++]=63&y|128;else{if((y=1024*(y-55296)+(o.charCodeAt(++_)-56320)+65536)>1114111)throw new Error("Unicode standard supports code points up to U+10FFFF");f[i++]=240+(y>>>18),f[i++]=y>>>12&63|128,f[i++]=y>>>6&63|128,f[i++]=63&y|128}i>=64&&(this._dataLength+=64,d._md5cycle(this._state,l),i-=64,l[0]=l[16])}return this._bufferLength=i,this},d.prototype.appendAsciiStr=function(o){for(var y,f=this._buffer8,l=this._buffer32,i=this._bufferLength,_=0;;){for(y=Math.min(o.length-_,64-i);y--;)f[i++]=o.charCodeAt(_++);if(i<64)break;this._dataLength+=64,d._md5cycle(this._state,l),i=0}return this._bufferLength=i,this},d.prototype.appendByteArray=function(o){for(var y,f=this._buffer8,l=this._buffer32,i=this._bufferLength,_=0;;){for(y=Math.min(o.length-_,64-i);y--;)f[i++]=o[_++];if(i<64)break;this._dataLength+=64,d._md5cycle(this._state,l),i=0}return this._bufferLength=i,this},d.prototype.getState=function(){var o=this._state;return{buffer:String.fromCharCode.apply(null,Array.from(this._buffer8)),buflen:this._bufferLength,length:this._dataLength,state:[o[0],o[1],o[2],o[3]]}},d.prototype.setState=function(o){var y,f=o.buffer,l=o.state,i=this._state;for(this._dataLength=o.length,this._bufferLength=o.buflen,i[0]=l[0],i[1]=l[1],i[2]=l[2],i[3]=l[3],y=0;y<f.length;y+=1)this._buffer8[y]=f.charCodeAt(y)},d.prototype.end=function(o){void 0===o&&(o=!1);var f=this._bufferLength,l=this._buffer8,i=this._buffer32,y=1+(f>>2);this._dataLength+=f;var _=8*this._dataLength;if(l[f]=128,l[f+1]=l[f+2]=l[f+3]=0,i.set(d.buffer32Identity.subarray(y),y),f>55&&(d._md5cycle(this._state,i),i.set(d.buffer32Identity)),_<=4294967295)i[14]=_;else{var I=_.toString(16).match(/(.*?)(.{0,8})$/);if(null===I)return;var B=parseInt(I[2],16),K=parseInt(I[1],16)||0;i[14]=B,i[15]=K}return d._md5cycle(this._state,i),o?this._state:d._hex(this._state)},d.stateIdentity=new Int32Array([1732584193,-271733879,-1732584194,271733878]),d.buffer32Identity=new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),d.hexChars="0123456789abcdef",d.hexOut=[],d.onePassHasher=new d,d}();if(me.C=s,"5d41402abc4b2a76b9719d911017c592"!==s.hashStr("hello"))throw new Error("Md5 self test failed.")},6540:(lt,me,u)=>{u(1516),u(2632),u(5456),u(6140),u(9120),u(896),u(7540),u(5544),u(2784),u(8432)},2016:lt=>{lt.exports=function(me){if("function"!=typeof me)throw TypeError(me+" is not a function!");return me}},2388:lt=>{lt.exports=function(me,u,s,d){if(!(me instanceof u)||void 0!==d&&d in me)throw TypeError(s+": incorrect invocation!");return me}},3504:(lt,me,u)=>{var s=u(3888);lt.exports=function(d){if(!s(d))throw TypeError(d+" is not an object!");return d}},5747:(lt,me,u)=>{var s=u(7228);lt.exports=function(d,o){var f=[];return s(d,!1,f.push,f,o),f}},7504:(lt,me,u)=>{var s=u(2780),d=u(3528),o=u(8508);lt.exports=function(f){return function(l,i,y){var K,_=s(l),I=d(_.length),B=o(y,I);if(f&&i!=i){for(;I>B;)if((K=_[B++])!=K)return!0}else for(;I>B;B++)if((f||B in _)&&_[B]===i)return f||B||0;return!f&&-1}}},8648:(lt,me,u)=>{var s=u(800),d=u(2936),o=u(1164),f=u(3528),l=u(2724);lt.exports=function(i,y){var _=1==i,I=2==i,B=3==i,K=4==i,ie=6==i,oe=5==i||ie,Ge=y||l;return function(ae,Z,_e){for(var g,X,j=o(ae),ke=d(j),rt=s(Z,_e,3),le=f(ke.length),ye=0,Y=_?Ge(ae,le):I?Ge(ae,0):void 0;le>ye;ye++)if((oe||ye in ke)&&(X=rt(g=ke[ye],ye,j),i))if(_)Y[ye]=X;else if(X)switch(i){case 3:return!0;case 5:return g;case 6:return ye;case 2:Y.push(g)}else if(K)return!1;return ie?-1:B||K?K:Y}}},1096:(lt,me,u)=>{var s=u(3888),d=u(7643),o=u(7096)("species");lt.exports=function(f){var l;return d(f)&&("function"==typeof(l=f.constructor)&&(l===Array||d(l.prototype))&&(l=void 0),s(l)&&null===(l=l[o])&&(l=void 0)),void 0===l?Array:l}},2724:(lt,me,u)=>{var s=u(1096);lt.exports=function(d,o){return new(s(d))(o)}},5848:(lt,me,u)=>{var s=u(6924),d=u(7096)("toStringTag"),o="Arguments"==s(function(){return arguments}());lt.exports=function(l){var i,y,_;return void 0===l?"Undefined":null===l?"Null":"string"==typeof(y=function(l,i){try{return l[i]}catch{}}(i=Object(l),d))?y:o?s(i):"Object"==(_=s(i))&&"function"==typeof i.callee?"Arguments":_}},6924:lt=>{var me={}.toString;lt.exports=function(u){return me.call(u).slice(8,-1)}},148:(lt,me,u)=>{"use strict";var s=u(8520).f,d=u(3472),o=u(7704),f=u(800),l=u(2388),i=u(7228),y=u(6952),_=u(172),I=u(3384),B=u(1668),K=u(2020).fastKey,ie=u(2772),oe=B?"_s":"size",Ge=function(ae,Z){var j,_e=K(Z);if("F"!==_e)return ae._i[_e];for(j=ae._f;j;j=j.n)if(j.k==Z)return j};lt.exports={getConstructor:function(ae,Z,_e,j){var ke=ae(function(rt,le){l(rt,ke,Z,"_i"),rt._t=Z,rt._i=d(null),rt._f=void 0,rt._l=void 0,rt[oe]=0,null!=le&&i(le,_e,rt[j],rt)});return o(ke.prototype,{clear:function(){for(var le=ie(this,Z),ye=le._i,Y=le._f;Y;Y=Y.n)Y.r=!0,Y.p&&(Y.p=Y.p.n=void 0),delete ye[Y.i];le._f=le._l=void 0,le[oe]=0},delete:function(rt){var le=ie(this,Z),ye=Ge(le,rt);if(ye){var Y=ye.n,g=ye.p;delete le._i[ye.i],ye.r=!0,g&&(g.n=Y),Y&&(Y.p=g),le._f==ye&&(le._f=Y),le._l==ye&&(le._l=g),le[oe]--}return!!ye},forEach:function(le){ie(this,Z);for(var Y,ye=f(le,arguments.length>1?arguments[1]:void 0,3);Y=Y?Y.n:this._f;)for(ye(Y.v,Y.k,this);Y&&Y.r;)Y=Y.p},has:function(le){return!!Ge(ie(this,Z),le)}}),B&&s(ke.prototype,"size",{get:function(){return ie(this,Z)[oe]}}),ke},def:function(ae,Z,_e){var ke,rt,j=Ge(ae,Z);return j?j.v=_e:(ae._l=j={i:rt=K(Z,!0),k:Z,v:_e,p:ke=ae._l,n:void 0,r:!1},ae._f||(ae._f=j),ke&&(ke.n=j),ae[oe]++,"F"!==rt&&(ae._i[rt]=j)),ae},getEntry:Ge,setStrong:function(ae,Z,_e){y(ae,Z,function(j,ke){this._t=ie(j,Z),this._k=ke,this._l=void 0},function(){for(var j=this,ke=j._k,rt=j._l;rt&&rt.r;)rt=rt.p;return j._t&&(j._l=rt=rt?rt.n:j._t._f)?_(0,"keys"==ke?rt.k:"values"==ke?rt.v:[rt.k,rt.v]):(j._t=void 0,_(1))},_e?"entries":"values",!_e,!0),I(Z)}}},1572:(lt,me,u)=>{"use strict";var s=u(7704),d=u(2020).getWeak,o=u(3504),f=u(3888),l=u(2388),i=u(7228),y=u(8648),_=u(9080),I=u(2772),B=y(5),K=y(6),ie=0,oe=function(Z){return Z._l||(Z._l=new Ge)},Ge=function(){this.a=[]},ae=function(Z,_e){return B(Z.a,function(j){return j[0]===_e})};Ge.prototype={get:function(Z){var _e=ae(this,Z);if(_e)return _e[1]},has:function(Z){return!!ae(this,Z)},set:function(Z,_e){var j=ae(this,Z);j?j[1]=_e:this.a.push([Z,_e])},delete:function(Z){var _e=K(this.a,function(j){return j[0]===Z});return~_e&&this.a.splice(_e,1),!!~_e}},lt.exports={getConstructor:function(Z,_e,j,ke){var rt=Z(function(le,ye){l(le,rt,_e,"_i"),le._t=_e,le._i=ie++,le._l=void 0,null!=ye&&i(ye,j,le[ke],le)});return s(rt.prototype,{delete:function(le){if(!f(le))return!1;var ye=d(le);return!0===ye?oe(I(this,_e)).delete(le):ye&&_(ye,this._i)&&delete ye[this._i]},has:function(ye){if(!f(ye))return!1;var Y=d(ye);return!0===Y?oe(I(this,_e)).has(ye):Y&&_(Y,this._i)}}),rt},def:function(Z,_e,j){var ke=d(o(_e),!0);return!0===ke?oe(Z).set(_e,j):ke[Z._i]=j,Z},ufstore:oe}},9412:(lt,me,u)=>{"use strict";var s=u(2804),d=u(7076),o=u(8868),f=u(7704),l=u(2020),i=u(7228),y=u(2388),_=u(3888),I=u(9316),B=u(8380),K=u(6256),ie=u(2672);lt.exports=function(oe,Ge,ae,Z,_e,j){var ke=s[oe],rt=ke,le=_e?"set":"add",ye=rt&&rt.prototype,Y={},g=function(Se){var ot=ye[Se];o(ye,Se,"delete"==Se?function(_t){return!(j&&!_(_t))&&ot.call(this,0===_t?0:_t)}:"has"==Se?function(pt){return!(j&&!_(pt))&&ot.call(this,0===pt?0:pt)}:"get"==Se?function(pt){return j&&!_(pt)?void 0:ot.call(this,0===pt?0:pt)}:"add"==Se?function(pt){return ot.call(this,0===pt?0:pt),this}:function(pt,Gt){return ot.call(this,0===pt?0:pt,Gt),this})};if("function"==typeof rt&&(j||ye.forEach&&!I(function(){(new rt).entries().next()}))){var X=new rt,V=X[le](j?{}:-0,1)!=X,te=I(function(){X.has(1)}),be=B(function(Se){new rt(Se)}),Fe=!j&&I(function(){for(var Se=new rt,ot=5;ot--;)Se[le](ot,ot);return!Se.has(-0)});be||((rt=Ge(function(Se,ot){y(Se,rt,oe);var _t=ie(new ke,Se,rt);return null!=ot&&i(ot,_e,_t[le],_t),_t})).prototype=ye,ye.constructor=rt),(te||Fe)&&(g("delete"),g("has"),_e&&g("get")),(Fe||V)&&g(le),j&&ye.clear&&delete ye.clear}else rt=Z.getConstructor(Ge,oe,_e,le),f(rt.prototype,ae),l.NEED=!0;return K(rt,oe),Y[oe]=rt,d(d.G+d.W+d.F*(rt!=ke),Y),j||Z.setStrong(rt,oe,_e),rt}},8432:lt=>{var me=lt.exports={version:"2.6.12"};"number"==typeof __e&&(__e=me)},800:(lt,me,u)=>{var s=u(2016);lt.exports=function(d,o,f){if(s(d),void 0===o)return d;switch(f){case 1:return function(l){return d.call(o,l)};case 2:return function(l,i){return d.call(o,l,i)};case 3:return function(l,i,y){return d.call(o,l,i,y)}}return function(){return d.apply(o,arguments)}}},24:lt=>{lt.exports=function(me){if(null==me)throw TypeError("Can't call method on  "+me);return me}},1668:(lt,me,u)=>{lt.exports=!u(9316)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},1300:(lt,me,u)=>{var s=u(3888),d=u(2804).document,o=s(d)&&s(d.createElement);lt.exports=function(f){return o?d.createElement(f):{}}},444:lt=>{lt.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},7076:(lt,me,u)=>{var s=u(2804),d=u(8432),o=u(2336),f=u(8868),l=u(800),i="prototype",y=function(_,I,B){var ke,rt,le,ye,K=_&y.F,ie=_&y.G,Ge=_&y.P,ae=_&y.B,Z=ie?s:_&y.S?s[I]||(s[I]={}):(s[I]||{})[i],_e=ie?d:d[I]||(d[I]={}),j=_e[i]||(_e[i]={});for(ke in ie&&(B=I),B)le=((rt=!K&&Z&&void 0!==Z[ke])?Z:B)[ke],ye=ae&&rt?l(le,s):Ge&&"function"==typeof le?l(Function.call,le):le,Z&&f(Z,ke,le,_&y.U),_e[ke]!=le&&o(_e,ke,ye),Ge&&j[ke]!=le&&(j[ke]=le)};s.core=d,y.F=1,y.G=2,y.S=4,y.P=8,y.B=16,y.W=32,y.U=64,y.R=128,lt.exports=y},9316:lt=>{lt.exports=function(me){try{return!!me()}catch{return!0}}},7228:(lt,me,u)=>{var s=u(800),d=u(2372),o=u(3164),f=u(3504),l=u(3528),i=u(2800),y={},_={},I=lt.exports=function(B,K,ie,oe,Ge){var j,ke,rt,le,ae=Ge?function(){return B}:i(B),Z=s(ie,oe,K?2:1),_e=0;if("function"!=typeof ae)throw TypeError(B+" is not iterable!");if(o(ae)){for(j=l(B.length);j>_e;_e++)if((le=K?Z(f(ke=B[_e])[0],ke[1]):Z(B[_e]))===y||le===_)return le}else for(rt=ae.call(B);!(ke=rt.next()).done;)if((le=d(rt,Z,ke.value,K))===y||le===_)return le};I.BREAK=y,I.RETURN=_},380:(lt,me,u)=>{lt.exports=u(5432)("native-function-to-string",Function.toString)},2804:lt=>{var me=lt.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=me)},9080:lt=>{var me={}.hasOwnProperty;lt.exports=function(u,s){return me.call(u,s)}},2336:(lt,me,u)=>{var s=u(8520),d=u(8164);lt.exports=u(1668)?function(o,f,l){return s.f(o,f,d(1,l))}:function(o,f,l){return o[f]=l,o}},4016:(lt,me,u)=>{var s=u(2804).document;lt.exports=s&&s.documentElement},5516:(lt,me,u)=>{lt.exports=!u(1668)&&!u(9316)(function(){return 7!=Object.defineProperty(u(1300)("div"),"a",{get:function(){return 7}}).a})},2672:(lt,me,u)=>{var s=u(3888),d=u(5076).set;lt.exports=function(o,f,l){var y,i=f.constructor;return i!==l&&"function"==typeof i&&(y=i.prototype)!==l.prototype&&s(y)&&d&&d(o,y),o}},2936:(lt,me,u)=>{var s=u(6924);lt.exports=Object("z").propertyIsEnumerable(0)?Object:function(d){return"String"==s(d)?d.split(""):Object(d)}},3164:(lt,me,u)=>{var s=u(2488),d=u(7096)("iterator"),o=Array.prototype;lt.exports=function(f){return void 0!==f&&(s.Array===f||o[d]===f)}},7643:(lt,me,u)=>{var s=u(6924);lt.exports=Array.isArray||function(o){return"Array"==s(o)}},3888:lt=>{lt.exports=function(me){return"object"==typeof me?null!==me:"function"==typeof me}},2372:(lt,me,u)=>{var s=u(3504);lt.exports=function(d,o,f,l){try{return l?o(s(f)[0],f[1]):o(f)}catch(y){var i=d.return;throw void 0!==i&&s(i.call(d)),y}}},128:(lt,me,u)=>{"use strict";var s=u(3472),d=u(8164),o=u(6256),f={};u(2336)(f,u(7096)("iterator"),function(){return this}),lt.exports=function(l,i,y){l.prototype=s(f,{next:d(1,y)}),o(l,i+" Iterator")}},6952:(lt,me,u)=>{"use strict";var s=u(4440),d=u(7076),o=u(8868),f=u(2336),l=u(2488),i=u(128),y=u(6256),_=u(9556),I=u(7096)("iterator"),B=!([].keys&&"next"in[].keys()),oe="values",Ge=function(){return this};lt.exports=function(ae,Z,_e,j,ke,rt,le){i(_e,Z,j);var ot,_t,pt,ye=function(Gt){if(!B&&Gt in V)return V[Gt];switch(Gt){case"keys":case oe:return function(){return new _e(this,Gt)}}return function(){return new _e(this,Gt)}},Y=Z+" Iterator",g=ke==oe,X=!1,V=ae.prototype,te=V[I]||V["@@iterator"]||ke&&V[ke],be=te||ye(ke),Fe=ke?g?ye("entries"):be:void 0,Se="Array"==Z&&V.entries||te;if(Se&&(pt=_(Se.call(new ae)))!==Object.prototype&&pt.next&&(y(pt,Y,!0),!s&&"function"!=typeof pt[I]&&f(pt,I,Ge)),g&&te&&te.name!==oe&&(X=!0,be=function(){return te.call(this)}),(!s||le)&&(B||X||!V[I])&&f(V,I,be),l[Z]=be,l[Y]=Ge,ke)if(ot={values:g?be:ye(oe),keys:rt?be:ye("keys"),entries:Fe},le)for(_t in ot)_t in V||o(V,_t,ot[_t]);else d(d.P+d.F*(B||X),Z,ot);return ot}},8380:(lt,me,u)=>{var s=u(7096)("iterator"),d=!1;try{var o=[7][s]();o.return=function(){d=!0},Array.from(o,function(){throw 2})}catch{}lt.exports=function(f,l){if(!l&&!d)return!1;var i=!1;try{var y=[7],_=y[s]();_.next=function(){return{done:i=!0}},y[s]=function(){return _},f(y)}catch{}return i}},172:lt=>{lt.exports=function(me,u){return{value:u,done:!!me}}},2488:lt=>{lt.exports={}},4440:lt=>{lt.exports=!1},2020:(lt,me,u)=>{var s=u(9664)("meta"),d=u(3888),o=u(9080),f=u(8520).f,l=0,i=Object.isExtensible||function(){return!0},y=!u(9316)(function(){return i(Object.preventExtensions({}))}),_=function(oe){f(oe,s,{value:{i:"O"+ ++l,w:{}}})},ie=lt.exports={KEY:s,NEED:!1,fastKey:function(oe,Ge){if(!d(oe))return"symbol"==typeof oe?oe:("string"==typeof oe?"S":"P")+oe;if(!o(oe,s)){if(!i(oe))return"F";if(!Ge)return"E";_(oe)}return oe[s].i},getWeak:function(oe,Ge){if(!o(oe,s)){if(!i(oe))return!0;if(!Ge)return!1;_(oe)}return oe[s].w},onFreeze:function(oe){return y&&ie.NEED&&i(oe)&&!o(oe,s)&&_(oe),oe}}},5864:(lt,me,u)=>{var s=u(3216),d=u(7076),o=u(5432)("metadata"),f=o.store||(o.store=new(u(2492))),l=function(ie,oe,Ge){var ae=f.get(ie);if(!ae){if(!Ge)return;f.set(ie,ae=new s)}var Z=ae.get(oe);if(!Z){if(!Ge)return;ae.set(oe,Z=new s)}return Z};lt.exports={store:f,map:l,has:function(ie,oe,Ge){var ae=l(oe,Ge,!1);return void 0!==ae&&ae.has(ie)},get:function(ie,oe,Ge){var ae=l(oe,Ge,!1);return void 0===ae?void 0:ae.get(ie)},set:function(ie,oe,Ge,ae){l(Ge,ae,!0).set(ie,oe)},keys:function(ie,oe){var Ge=l(ie,oe,!1),ae=[];return Ge&&Ge.forEach(function(Z,_e){ae.push(_e)}),ae},key:function(ie){return void 0===ie||"symbol"==typeof ie?ie:String(ie)},exp:function(ie){d(d.S,"Reflect",ie)}}},6472:(lt,me,u)=>{"use strict";var s=u(1668),d=u(5444),o=u(5364),f=u(3875),l=u(1164),i=u(2936),y=Object.assign;lt.exports=!y||u(9316)(function(){var _={},I={},B=Symbol(),K="abcdefghijklmnopqrst";return _[B]=7,K.split("").forEach(function(ie){I[ie]=ie}),7!=y({},_)[B]||Object.keys(y({},I)).join("")!=K})?function(I,B){for(var K=l(I),ie=arguments.length,oe=1,Ge=o.f,ae=f.f;ie>oe;)for(var rt,Z=i(arguments[oe++]),_e=Ge?d(Z).concat(Ge(Z)):d(Z),j=_e.length,ke=0;j>ke;)rt=_e[ke++],(!s||ae.call(Z,rt))&&(K[rt]=Z[rt]);return K}:y},3472:(lt,me,u)=>{var s=u(3504),d=u(1176),o=u(444),f=u(4588)("IE_PROTO"),l=function(){},i="prototype",y=function(){var ie,_=u(1300)("iframe"),I=o.length;for(_.style.display="none",u(4016).appendChild(_),_.src="javascript:",(ie=_.contentWindow.document).open(),ie.write("<script>document.F=Object<\/script>"),ie.close(),y=ie.F;I--;)delete y[i][o[I]];return y()};lt.exports=Object.create||function(I,B){var K;return null!==I?(l[i]=s(I),K=new l,l[i]=null,K[f]=I):K=y(),void 0===B?K:d(K,B)}},8520:(lt,me,u)=>{var s=u(3504),d=u(5516),o=u(1896),f=Object.defineProperty;me.f=u(1668)?Object.defineProperty:function(i,y,_){if(s(i),y=o(y,!0),s(_),d)try{return f(i,y,_)}catch{}if("get"in _||"set"in _)throw TypeError("Accessors not supported!");return"value"in _&&(i[y]=_.value),i}},1176:(lt,me,u)=>{var s=u(8520),d=u(3504),o=u(5444);lt.exports=u(1668)?Object.defineProperties:function(l,i){d(l);for(var B,y=o(i),_=y.length,I=0;_>I;)s.f(l,B=y[I++],i[B]);return l}},6524:(lt,me,u)=>{var s=u(3875),d=u(8164),o=u(2780),f=u(1896),l=u(9080),i=u(5516),y=Object.getOwnPropertyDescriptor;me.f=u(1668)?y:function(I,B){if(I=o(I),B=f(B,!0),i)try{return y(I,B)}catch{}if(l(I,B))return d(!s.f.call(I,B),I[B])}},5364:(lt,me)=>{me.f=Object.getOwnPropertySymbols},9556:(lt,me,u)=>{var s=u(9080),d=u(1164),o=u(4588)("IE_PROTO"),f=Object.prototype;lt.exports=Object.getPrototypeOf||function(l){return l=d(l),s(l,o)?l[o]:"function"==typeof l.constructor&&l instanceof l.constructor?l.constructor.prototype:l instanceof Object?f:null}},3816:(lt,me,u)=>{var s=u(9080),d=u(2780),o=u(7504)(!1),f=u(4588)("IE_PROTO");lt.exports=function(l,i){var B,y=d(l),_=0,I=[];for(B in y)B!=f&&s(y,B)&&I.push(B);for(;i.length>_;)s(y,B=i[_++])&&(~o(I,B)||I.push(B));return I}},5444:(lt,me,u)=>{var s=u(3816),d=u(444);lt.exports=Object.keys||function(f){return s(f,d)}},3875:(lt,me)=>{me.f={}.propertyIsEnumerable},8164:lt=>{lt.exports=function(me,u){return{enumerable:!(1&me),configurable:!(2&me),writable:!(4&me),value:u}}},7704:(lt,me,u)=>{var s=u(8868);lt.exports=function(d,o,f){for(var l in o)s(d,l,o[l],f);return d}},8868:(lt,me,u)=>{var s=u(2804),d=u(2336),o=u(9080),f=u(9664)("src"),l=u(380),i="toString",y=(""+l).split(i);u(8432).inspectSource=function(_){return l.call(_)},(lt.exports=function(_,I,B,K){var ie="function"==typeof B;ie&&(o(B,"name")||d(B,"name",I)),_[I]!==B&&(ie&&(o(B,f)||d(B,f,_[I]?""+_[I]:y.join(String(I)))),_===s?_[I]=B:K?_[I]?_[I]=B:d(_,I,B):(delete _[I],d(_,I,B)))})(Function.prototype,i,function(){return"function"==typeof this&&this[f]||l.call(this)})},5076:(lt,me,u)=>{var s=u(3888),d=u(3504),o=function(f,l){if(d(f),!s(l)&&null!==l)throw TypeError(l+": can't set as prototype!")};lt.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(f,l,i){try{(i=u(800)(Function.call,u(6524).f(Object.prototype,"__proto__").set,2))(f,[]),l=!(f instanceof Array)}catch{l=!0}return function(_,I){return o(_,I),l?_.__proto__=I:i(_,I),_}}({},!1):void 0),check:o}},3384:(lt,me,u)=>{"use strict";var s=u(2804),d=u(8520),o=u(1668),f=u(7096)("species");lt.exports=function(l){var i=s[l];o&&i&&!i[f]&&d.f(i,f,{configurable:!0,get:function(){return this}})}},6256:(lt,me,u)=>{var s=u(8520).f,d=u(9080),o=u(7096)("toStringTag");lt.exports=function(f,l,i){f&&!d(f=i?f:f.prototype,o)&&s(f,o,{configurable:!0,value:l})}},4588:(lt,me,u)=>{var s=u(5432)("keys"),d=u(9664);lt.exports=function(o){return s[o]||(s[o]=d(o))}},5432:(lt,me,u)=>{var s=u(8432),d=u(2804),o="__core-js_shared__",f=d[o]||(d[o]={});(lt.exports=function(l,i){return f[l]||(f[l]=void 0!==i?i:{})})("versions",[]).push({version:s.version,mode:u(4440)?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},8508:(lt,me,u)=>{var s=u(8236),d=Math.max,o=Math.min;lt.exports=function(f,l){return(f=s(f))<0?d(f+l,0):o(f,l)}},8236:lt=>{var me=Math.ceil,u=Math.floor;lt.exports=function(s){return isNaN(s=+s)?0:(s>0?u:me)(s)}},2780:(lt,me,u)=>{var s=u(2936),d=u(24);lt.exports=function(o){return s(d(o))}},3528:(lt,me,u)=>{var s=u(8236),d=Math.min;lt.exports=function(o){return o>0?d(s(o),9007199254740991):0}},1164:(lt,me,u)=>{var s=u(24);lt.exports=function(d){return Object(s(d))}},1896:(lt,me,u)=>{var s=u(3888);lt.exports=function(d,o){if(!s(d))return d;var f,l;if(o&&"function"==typeof(f=d.toString)&&!s(l=f.call(d))||"function"==typeof(f=d.valueOf)&&!s(l=f.call(d))||!o&&"function"==typeof(f=d.toString)&&!s(l=f.call(d)))return l;throw TypeError("Can't convert object to primitive value")}},9664:lt=>{var me=0,u=Math.random();lt.exports=function(s){return"Symbol(".concat(void 0===s?"":s,")_",(++me+u).toString(36))}},2772:(lt,me,u)=>{var s=u(3888);lt.exports=function(d,o){if(!s(d)||d._t!==o)throw TypeError("Incompatible receiver, "+o+" required!");return d}},7096:(lt,me,u)=>{var s=u(5432)("wks"),d=u(9664),o=u(2804).Symbol,f="function"==typeof o;(lt.exports=function(i){return s[i]||(s[i]=f&&o[i]||(f?o:d)("Symbol."+i))}).store=s},2800:(lt,me,u)=>{var s=u(5848),d=u(7096)("iterator"),o=u(2488);lt.exports=u(8432).getIteratorMethod=function(f){if(null!=f)return f[d]||f["@@iterator"]||o[s(f)]}},3216:(lt,me,u)=>{"use strict";var s=u(148),d=u(2772),o="Map";lt.exports=u(9412)(o,function(f){return function(){return f(this,arguments.length>0?arguments[0]:void 0)}},{get:function(l){var i=s.getEntry(d(this,o),l);return i&&i.v},set:function(l,i){return s.def(d(this,o),0===l?0:l,i)}},s,!0)},7276:(lt,me,u)=>{"use strict";var s=u(148),d=u(2772);lt.exports=u(9412)("Set",function(f){return function(){return f(this,arguments.length>0?arguments[0]:void 0)}},{add:function(l){return s.def(d(this,"Set"),l=0===l?0:l,l)}},s)},2492:(lt,me,u)=>{"use strict";var ae,s=u(2804),d=u(8648)(0),o=u(8868),f=u(2020),l=u(6472),i=u(1572),y=u(3888),_=u(2772),I=u(2772),B=!s.ActiveXObject&&"ActiveXObject"in s,K="WeakMap",ie=f.getWeak,oe=Object.isExtensible,Ge=i.ufstore,Z=function(ke){return function(){return ke(this,arguments.length>0?arguments[0]:void 0)}},_e={get:function(rt){if(y(rt)){var le=ie(rt);return!0===le?Ge(_(this,K)).get(rt):le?le[this._i]:void 0}},set:function(rt,le){return i.def(_(this,K),rt,le)}},j=lt.exports=u(9412)(K,Z,_e,i,!0,!0);I&&B&&(l((ae=i.getConstructor(Z,K)).prototype,_e),f.NEED=!0,d(["delete","has","get","set"],function(ke){var rt=j.prototype,le=rt[ke];o(rt,ke,function(ye,Y){if(y(ye)&&!oe(ye)){this._f||(this._f=new ae);var g=this._f[ke](ye,Y);return"set"==ke?this:g}return le.call(this,ye,Y)})}))},1516:(lt,me,u)=>{var s=u(5864),d=u(3504),o=s.key,f=s.set;s.exp({defineMetadata:function(i,y,_,I){f(i,y,d(_),o(I))}})},2632:(lt,me,u)=>{var s=u(5864),d=u(3504),o=s.key,f=s.map,l=s.store;s.exp({deleteMetadata:function(y,_){var I=arguments.length<3?void 0:o(arguments[2]),B=f(d(_),I,!1);if(void 0===B||!B.delete(y))return!1;if(B.size)return!0;var K=l.get(_);return K.delete(I),!!K.size||l.delete(_)}})},6140:(lt,me,u)=>{var s=u(7276),d=u(5747),o=u(5864),f=u(3504),l=u(9556),i=o.keys,y=o.key,_=function(I,B){var K=i(I,B),ie=l(I);if(null===ie)return K;var oe=_(ie,B);return oe.length?K.length?d(new s(K.concat(oe))):oe:K};o.exp({getMetadataKeys:function(B){return _(f(B),arguments.length<2?void 0:y(arguments[1]))}})},5456:(lt,me,u)=>{var s=u(5864),d=u(3504),o=u(9556),f=s.has,l=s.get,i=s.key,y=function(_,I,B){if(f(_,I,B))return l(_,I,B);var ie=o(I);return null!==ie?y(_,ie,B):void 0};s.exp({getMetadata:function(I,B){return y(I,d(B),arguments.length<3?void 0:i(arguments[2]))}})},896:(lt,me,u)=>{var s=u(5864),d=u(3504),o=s.keys,f=s.key;s.exp({getOwnMetadataKeys:function(i){return o(d(i),arguments.length<2?void 0:f(arguments[1]))}})},9120:(lt,me,u)=>{var s=u(5864),d=u(3504),o=s.get,f=s.key;s.exp({getOwnMetadata:function(i,y){return o(i,d(y),arguments.length<3?void 0:f(arguments[2]))}})},7540:(lt,me,u)=>{var s=u(5864),d=u(3504),o=u(9556),f=s.has,l=s.key,i=function(y,_,I){if(f(y,_,I))return!0;var K=o(_);return null!==K&&i(y,K,I)};s.exp({hasMetadata:function(_,I){return i(_,d(I),arguments.length<3?void 0:l(arguments[2]))}})},5544:(lt,me,u)=>{var s=u(5864),d=u(3504),o=s.has,f=s.key;s.exp({hasOwnMetadata:function(i,y){return o(i,d(y),arguments.length<3?void 0:f(arguments[2]))}})},2784:(lt,me,u)=>{var s=u(5864),d=u(3504),o=u(2016),f=s.key,l=s.set;s.exp({metadata:function(y,_){return function(B,K){l(y,_,(void 0!==K?d:o)(B),f(K))}}})},3448:(lt,me,u)=>{"use strict";function s(o,f,l,i,y,_,I){try{var B=o[_](I),K=B.value}catch(ie){return void l(ie)}B.done?f(K):Promise.resolve(K).then(i,y)}function d(o){return function(){var f=this,l=arguments;return new Promise(function(i,y){var _=o.apply(f,l);function I(K){s(_,i,y,I,B,"next",K)}function B(K){s(_,i,y,I,B,"throw",K)}I(void 0)})}}u.d(me,{c:()=>d})},9684:(lt,me,u)=>{"use strict";u.d(me,{AN:()=>d,Cs:()=>f,K2:()=>_,OH:()=>K,Ql:()=>ie,Uj:()=>oe,Wq:()=>X,aK:()=>B,aM:()=>V,gV:()=>o,iC:()=>i,kP:()=>g,kt:()=>Ge,m0:()=>s,wb:()=>y,xZ:()=>I,yA:()=>l});var s=function(te){return te[te.State=0]="State",te[te.Transition=1]="Transition",te[te.Sequence=2]="Sequence",te[te.Group=3]="Group",te[te.Animate=4]="Animate",te[te.Keyframes=5]="Keyframes",te[te.Style=6]="Style",te[te.Trigger=7]="Trigger",te[te.Reference=8]="Reference",te[te.AnimateChild=9]="AnimateChild",te[te.AnimateRef=10]="AnimateRef",te[te.Query=11]="Query",te[te.Stagger=12]="Stagger",te}(s||{});const d="*";function o(te,be){return{type:s.Trigger,name:te,definitions:be,options:{}}}function f(te,be=null){return{type:s.Animate,styles:be,timings:te}}function l(te,be=null){return{type:s.Group,steps:te,options:be}}function i(te,be=null){return{type:s.Sequence,steps:te,options:be}}function y(te){return{type:s.Style,styles:te,offset:null}}function _(te,be,Fe){return{type:s.State,name:te,styles:be,options:Fe}}function I(te){return{type:s.Keyframes,steps:te}}function B(te,be,Fe=null){return{type:s.Transition,expr:te,animation:be,options:Fe}}function K(te,be=null){return{type:s.Reference,animation:te,options:be}}function ie(te=null){return{type:s.AnimateChild,options:te}}function oe(te,be=null){return{type:s.AnimateRef,animation:te,options:be}}function Ge(te,be,Fe=null){return{type:s.Query,selector:te,animation:be,options:Fe}}class g{constructor(be=0,Fe=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=be+Fe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(be=>be()),this._onDoneFns=[])}onStart(be){this._originalOnStartFns.push(be),this._onStartFns.push(be)}onDone(be){this._originalOnDoneFns.push(be),this._onDoneFns.push(be)}onDestroy(be){this._onDestroyFns.push(be)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(be=>be()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(be=>be()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(be){this._position=this.totalTime?be*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(be){const Fe="start"==be?this._onStartFns:this._onDoneFns;Fe.forEach(Se=>Se()),Fe.length=0}}class X{constructor(be){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=be;let Fe=0,Se=0,ot=0;const _t=this.players.length;0==_t?queueMicrotask(()=>this._onFinish()):this.players.forEach(pt=>{pt.onDone(()=>{++Fe==_t&&this._onFinish()}),pt.onDestroy(()=>{++Se==_t&&this._onDestroy()}),pt.onStart(()=>{++ot==_t&&this._onStart()})}),this.totalTime=this.players.reduce((pt,Gt)=>Math.max(pt,Gt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(be=>be()),this._onDoneFns=[])}init(){this.players.forEach(be=>be.init())}onStart(be){this._onStartFns.push(be)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(be=>be()),this._onStartFns=[])}onDone(be){this._onDoneFns.push(be)}onDestroy(be){this._onDestroyFns.push(be)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(be=>be.play())}pause(){this.players.forEach(be=>be.pause())}restart(){this.players.forEach(be=>be.restart())}finish(){this._onFinish(),this.players.forEach(be=>be.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(be=>be.destroy()),this._onDestroyFns.forEach(be=>be()),this._onDestroyFns=[])}reset(){this.players.forEach(be=>be.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(be){const Fe=be*this.totalTime;this.players.forEach(Se=>{const ot=Se.totalTime?Math.min(1,Fe/Se.totalTime):1;Se.setPosition(ot)})}getPosition(){const be=this.players.reduce((Fe,Se)=>null===Fe||Se.totalTime>Fe.totalTime?Se:Fe,null);return null!=be?be.getPosition():0}beforeDestroy(){this.players.forEach(be=>{be.beforeDestroy&&be.beforeDestroy()})}triggerCallback(be){const Fe="start"==be?this._onStartFns:this._onDoneFns;Fe.forEach(Se=>Se()),Fe.length=0}}const V="!"},4723:(lt,me,u)=>{"use strict";u.d(me,{G:()=>xe,G3:()=>Ne,IH:()=>pt,Kk:()=>Ln,MM:()=>It,OE:()=>qe,Si:()=>Bn,Ux:()=>en,mE:()=>Un,mJ:()=>_t,o9:()=>be,q0:()=>He});var s=u(1368),d=u(2116),o=u(5792),f=u(5657),l=u(6928),i=u(6700),y=u(2700),_=u(7800),I=u(9212),B=u(4680),K=u(6684),ie=u(4704),oe=u(3992),Ge=u(2644),ae=u(4e3),Z=u(3616),_e=u(7712),j=u(6640),ke=u(1216);function Y(Vt,We){return(Vt.getAttribute(We)||"").match(/\S+/g)||[]}const X="cdk-describedby-message",V="cdk-describedby-host";let te=0,be=(()=>{class Vt{constructor(De,fe){this._platform=fe,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+te++,this._document=De,this._id=(0,d.uUt)(d.QHP)+"-"+te++}describe(De,fe,F){if(!this._canBeDescribed(De,fe))return;const Ce=Fe(fe,F);"string"!=typeof fe?(Se(fe,this._id),this._messageRegistry.set(Ce,{messageElement:fe,referenceCount:0})):this._messageRegistry.has(Ce)||this._createMessageElement(fe,F),this._isElementDescribedByMessage(De,Ce)||this._addMessageReference(De,Ce)}removeDescription(De,fe,F){if(!fe||!this._isElementNode(De))return;const Ce=Fe(fe,F);if(this._isElementDescribedByMessage(De,Ce)&&this._removeMessageReference(De,Ce),"string"==typeof fe){const Te=this._messageRegistry.get(Ce);Te&&0===Te.referenceCount&&this._deleteMessageElement(Ce)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const De=this._document.querySelectorAll(`[${V}="${this._id}"]`);for(let fe=0;fe<De.length;fe++)this._removeCdkDescribedByReferenceIds(De[fe]),De[fe].removeAttribute(V);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(De,fe){const F=this._document.createElement("div");Se(F,this._id),F.textContent=De,fe&&F.setAttribute("role",fe),this._createMessagesContainer(),this._messagesContainer.appendChild(F),this._messageRegistry.set(Fe(De,fe),{messageElement:F,referenceCount:0})}_deleteMessageElement(De){this._messageRegistry.get(De)?.messageElement?.remove(),this._messageRegistry.delete(De)}_createMessagesContainer(){if(this._messagesContainer)return;const De="cdk-describedby-message-container",fe=this._document.querySelectorAll(`.${De}[platform="server"]`);for(let Ce=0;Ce<fe.length;Ce++)fe[Ce].remove();const F=this._document.createElement("div");F.style.visibility="hidden",F.classList.add(De),F.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&F.setAttribute("platform","server"),this._document.body.appendChild(F),this._messagesContainer=F}_removeCdkDescribedByReferenceIds(De){const fe=Y(De,"aria-describedby").filter(F=>0!=F.indexOf(X));De.setAttribute("aria-describedby",fe.join(" "))}_addMessageReference(De,fe){const F=this._messageRegistry.get(fe);(function le(Vt,We,De){const fe=Y(Vt,We);fe.some(F=>F.trim()==De.trim())||(fe.push(De.trim()),Vt.setAttribute(We,fe.join(" ")))})(De,"aria-describedby",F.messageElement.id),De.setAttribute(V,this._id),F.referenceCount++}_removeMessageReference(De,fe){const F=this._messageRegistry.get(fe);F.referenceCount--,function ye(Vt,We,De){const F=Y(Vt,We).filter(Ce=>Ce!=De.trim());F.length?Vt.setAttribute(We,F.join(" ")):Vt.removeAttribute(We)}(De,"aria-describedby",F.messageElement.id),De.removeAttribute(V)}_isElementDescribedByMessage(De,fe){const F=Y(De,"aria-describedby"),Ce=this._messageRegistry.get(fe),Te=Ce&&Ce.messageElement.id;return!!Te&&-1!=F.indexOf(Te)}_canBeDescribed(De,fe){if(!this._isElementNode(De))return!1;if(fe&&"object"==typeof fe)return!0;const F=null==fe?"":`${fe}`.trim(),Ce=De.getAttribute("aria-label");return!(!F||Ce&&Ce.trim()===F)}_isElementNode(De){return De.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(fe){return new(fe||Vt)(d.CoB(s.Ud),d.CoB(o.WU))};static#t=this.\u0275prov=d.wxM({token:Vt,factory:Vt.\u0275fac,providedIn:"root"})}return Vt})();function Fe(Vt,We){return"string"==typeof Vt?`${We||""}/${Vt}`:Vt}function Se(Vt,We){Vt.id||(Vt.id=`${X}-${We}-${te++}`)}class ot{constructor(We){this._items=We,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new f.E,this._typeaheadSubscription=l.wH.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=De=>De.disabled,this._pressedLetters=[],this.tabOut=new f.E,this.change=new f.E,We instanceof d.VhX&&(this._itemChangesSubscription=We.changes.subscribe(De=>{if(this._activeItem){const F=De.toArray().indexOf(this._activeItem);F>-1&&F!==this._activeItemIndex&&(this._activeItemIndex=F)}}))}skipPredicate(We){return this._skipPredicateFn=We,this}withWrap(We=!0){return this._wrap=We,this}withVerticalOrientation(We=!0){return this._vertical=We,this}withHorizontalOrientation(We){return this._horizontal=We,this}withAllowedModifierKeys(We){return this._allowedModifierKeys=We,this}withTypeAhead(We=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,I.y)(De=>this._pressedLetters.push(De)),(0,B.o)(We),(0,K.I)(()=>this._pressedLetters.length>0),(0,ie.k)(()=>this._pressedLetters.join(""))).subscribe(De=>{const fe=this._getItemsArray();for(let F=1;F<fe.length+1;F++){const Ce=(this._activeItemIndex+F)%fe.length,Te=fe[Ce];if(!this._skipPredicateFn(Te)&&0===Te.getLabel().toUpperCase().trim().indexOf(De)){this.setActiveItem(Ce);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(We=!0){return this._homeAndEnd=We,this}withPageUpDown(We=!0,De=10){return this._pageUpAndDown={enabled:We,delta:De},this}setActiveItem(We){const De=this._activeItem;this.updateActiveItem(We),this._activeItem!==De&&this.change.next(this._activeItemIndex)}onKeydown(We){const De=We.keyCode,F=["altKey","ctrlKey","metaKey","shiftKey"].every(Ce=>!We[Ce]||this._allowedModifierKeys.indexOf(Ce)>-1);switch(De){case _.k0:return void this.tabOut.next();case _.Oq:if(this._vertical&&F){this.setNextItemActive();break}return;case _.qI:if(this._vertical&&F){this.setPreviousItemActive();break}return;case _.a4:if(this._horizontal&&F){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case _.Mx:if(this._horizontal&&F){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case _.qU:if(this._homeAndEnd&&F){this.setFirstItemActive();break}return;case _.Mp:if(this._homeAndEnd&&F){this.setLastItemActive();break}return;case _.u_:if(this._pageUpAndDown.enabled&&F){const Ce=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(Ce>0?Ce:0,1);break}return;case _.yI:if(this._pageUpAndDown.enabled&&F){const Ce=this._activeItemIndex+this._pageUpAndDown.delta,Te=this._getItemsArray().length;this._setActiveItemByIndex(Ce<Te?Ce:Te-1,-1);break}return;default:return void((F||(0,_.Yp)(We,"shiftKey"))&&(We.key&&1===We.key.length?this._letterKeyStream.next(We.key.toLocaleUpperCase()):(De>=_.A&&De<=_.Z||De>=_._I&&De<=_.SQ)&&this._letterKeyStream.next(String.fromCharCode(De))))}this._pressedLetters=[],We.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(We){const De=this._getItemsArray(),fe="number"==typeof We?We:De.indexOf(We);this._activeItem=De[fe]??null,this._activeItemIndex=fe}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(We){this._wrap?this._setActiveInWrapMode(We):this._setActiveInDefaultMode(We)}_setActiveInWrapMode(We){const De=this._getItemsArray();for(let fe=1;fe<=De.length;fe++){const F=(this._activeItemIndex+We*fe+De.length)%De.length;if(!this._skipPredicateFn(De[F]))return void this.setActiveItem(F)}}_setActiveInDefaultMode(We){this._setActiveItemByIndex(this._activeItemIndex+We,We)}_setActiveItemByIndex(We,De){const fe=this._getItemsArray();if(fe[We]){for(;this._skipPredicateFn(fe[We]);)if(!fe[We+=De])return;this.setActiveItem(We)}}_getItemsArray(){return this._items instanceof d.VhX?this._items.toArray():this._items}}class _t extends ot{setActiveItem(We){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(We),this.activeItem&&this.activeItem.setActiveStyles()}}class pt extends ot{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(We){return this._origin=We,this}setActiveItem(We){super.setActiveItem(We),this.activeItem&&this.activeItem.focus(this._origin)}}let qe=(()=>{class Vt{constructor(De){this._platform=De}isDisabled(De){return De.hasAttribute("disabled")}isVisible(De){return function ce(Vt){return!!(Vt.offsetWidth||Vt.offsetHeight||"function"==typeof Vt.getClientRects&&Vt.getClientRects().length)}(De)&&"visible"===getComputedStyle(De).visibility}isTabbable(De){if(!this._platform.isBrowser)return!1;const fe=function Je(Vt){try{return Vt.frameElement}catch{return null}}(function Xe(Vt){return Vt.ownerDocument&&Vt.ownerDocument.defaultView||window}(De));if(fe&&(-1===dt(fe)||!this.isVisible(fe)))return!1;let F=De.nodeName.toLowerCase(),Ce=dt(De);return De.hasAttribute("contenteditable")?-1!==Ce:!("iframe"===F||"object"===F||this._platform.WEBKIT&&this._platform.IOS&&!function Et(Vt){let We=Vt.nodeName.toLowerCase(),De="input"===We&&Vt.type;return"text"===De||"password"===De||"select"===We||"textarea"===We}(De))&&("audio"===F?!!De.hasAttribute("controls")&&-1!==Ce:"video"===F?-1!==Ce&&(null!==Ce||this._platform.FIREFOX||De.hasAttribute("controls")):De.tabIndex>=0)}isFocusable(De,fe){return function Ye(Vt){return!function L(Vt){return function de(Vt){return"input"==Vt.nodeName.toLowerCase()}(Vt)&&"hidden"==Vt.type}(Vt)&&(function Ae(Vt){let We=Vt.nodeName.toLowerCase();return"input"===We||"select"===We||"button"===We||"textarea"===We}(Vt)||function H(Vt){return function $e(Vt){return"a"==Vt.nodeName.toLowerCase()}(Vt)&&Vt.hasAttribute("href")}(Vt)||Vt.hasAttribute("contenteditable")||je(Vt))}(De)&&!this.isDisabled(De)&&(fe?.ignoreVisibility||this.isVisible(De))}static#e=this.\u0275fac=function(fe){return new(fe||Vt)(d.CoB(o.WU))};static#t=this.\u0275prov=d.wxM({token:Vt,factory:Vt.\u0275fac,providedIn:"root"})}return Vt})();function je(Vt){if(!Vt.hasAttribute("tabindex")||void 0===Vt.tabIndex)return!1;let We=Vt.getAttribute("tabindex");return!(!We||isNaN(parseInt(We,10)))}function dt(Vt){if(!je(Vt))return null;const We=parseInt(Vt.getAttribute("tabindex")||"",10);return isNaN(We)?-1:We}class z{get enabled(){return this._enabled}set enabled(We){this._enabled=We,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(We,this._startAnchor),this._toggleAnchorTabIndex(We,this._endAnchor))}constructor(We,De,fe,F,Ce=!1){this._element=We,this._checker=De,this._ngZone=fe,this._document=F,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,Ce||this.attachAnchors()}destroy(){const We=this._startAnchor,De=this._endAnchor;We&&(We.removeEventListener("focus",this.startAnchorListener),We.remove()),De&&(De.removeEventListener("focus",this.endAnchorListener),De.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(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(We){return new Promise(De=>{this._executeOnStable(()=>De(this.focusInitialElement(We)))})}focusFirstTabbableElementWhenReady(We){return new Promise(De=>{this._executeOnStable(()=>De(this.focusFirstTabbableElement(We)))})}focusLastTabbableElementWhenReady(We){return new Promise(De=>{this._executeOnStable(()=>De(this.focusLastTabbableElement(We)))})}_getRegionBoundary(We){const De=this._element.querySelectorAll(`[cdk-focus-region-${We}], [cdkFocusRegion${We}], [cdk-focus-${We}]`);return"start"==We?De.length?De[0]:this._getFirstTabbableElement(this._element):De.length?De[De.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(We){const De=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(De){if(!this._checker.isFocusable(De)){const fe=this._getFirstTabbableElement(De);return fe?.focus(We),!!fe}return De.focus(We),!0}return this.focusFirstTabbableElement(We)}focusFirstTabbableElement(We){const De=this._getRegionBoundary("start");return De&&De.focus(We),!!De}focusLastTabbableElement(We){const De=this._getRegionBoundary("end");return De&&De.focus(We),!!De}hasAttached(){return this._hasAttached}_getFirstTabbableElement(We){if(this._checker.isFocusable(We)&&this._checker.isTabbable(We))return We;const De=We.children;for(let fe=0;fe<De.length;fe++){const F=De[fe].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(De[fe]):null;if(F)return F}return null}_getLastTabbableElement(We){if(this._checker.isFocusable(We)&&this._checker.isTabbable(We))return We;const De=We.children;for(let fe=De.length-1;fe>=0;fe--){const F=De[fe].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(De[fe]):null;if(F)return F}return null}_createAnchor(){const We=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,We),We.classList.add("cdk-visually-hidden"),We.classList.add("cdk-focus-trap-anchor"),We.setAttribute("aria-hidden","true"),We}_toggleAnchorTabIndex(We,De){We?De.setAttribute("tabindex","0"):De.removeAttribute("tabindex")}toggleAnchors(We){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(We,this._startAnchor),this._toggleAnchorTabIndex(We,this._endAnchor))}_executeOnStable(We){this._ngZone.isStable?We():this._ngZone.onStable.pipe((0,oe.U)(1)).subscribe(We)}}let xe=(()=>{class Vt{constructor(De,fe,F){this._checker=De,this._ngZone=fe,this._document=F}create(De,fe=!1){return new z(De,this._checker,this._ngZone,this._document,fe)}static#e=this.\u0275fac=function(fe){return new(fe||Vt)(d.CoB(qe),d.CoB(d.WW2),d.CoB(s.Ud))};static#t=this.\u0275prov=d.wxM({token:Vt,factory:Vt.\u0275fac,providedIn:"root"})}return Vt})();function Ne(Vt){return 0===Vt.buttons||0===Vt.detail}function He(Vt){const We=Vt.touches&&Vt.touches[0]||Vt.changedTouches&&Vt.changedTouches[0];return!(!We||-1!==We.identifier||null!=We.radiusX&&1!==We.radiusX||null!=We.radiusY&&1!==We.radiusY)}const Me=new d.UbH("cdk-input-modality-detector-options"),st={ignoreKeys:[_.A$,_.s9,_.GW,_._Y,_._u]},Re=(0,o.W4)({passive:!0,capture:!0});let pe=(()=>{class Vt{get mostRecentModality(){return this._modality.value}constructor(De,fe,F,Ce){this._platform=De,this._mostRecentTarget=null,this._modality=new i.g(null),this._lastTouchMs=0,this._onKeydown=Te=>{this._options?.ignoreKeys?.some(at=>at===Te.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,o.oZ)(Te))},this._onMousedown=Te=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Ne(Te)?"keyboard":"mouse"),this._mostRecentTarget=(0,o.oZ)(Te))},this._onTouchstart=Te=>{He(Te)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,o.oZ)(Te))},this._options={...st,...Ce},this.modalityDetected=this._modality.pipe((0,Ge.s)(1)),this.modalityChanged=this.modalityDetected.pipe((0,ae.a)()),De.isBrowser&&fe.runOutsideAngular(()=>{F.addEventListener("keydown",this._onKeydown,Re),F.addEventListener("mousedown",this._onMousedown,Re),F.addEventListener("touchstart",this._onTouchstart,Re)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Re),document.removeEventListener("mousedown",this._onMousedown,Re),document.removeEventListener("touchstart",this._onTouchstart,Re))}static#e=this.\u0275fac=function(fe){return new(fe||Vt)(d.CoB(o.WU),d.CoB(d.WW2),d.CoB(s.Ud),d.CoB(Me,8))};static#t=this.\u0275prov=d.wxM({token:Vt,factory:Vt.\u0275fac,providedIn:"root"})}return Vt})();const Mt=new d.UbH("liveAnnouncerElement",{providedIn:"root",factory:function $t(){return null}}),zt=new d.UbH("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let bn=0,Un=(()=>{class Vt{constructor(De,fe,F,Ce){this._ngZone=fe,this._defaultOptions=Ce,this._document=F,this._liveElement=De||this._createLiveElement()}announce(De,...fe){const F=this._defaultOptions;let Ce,Te;return 1===fe.length&&"number"==typeof fe[0]?Te=fe[0]:[Ce,Te]=fe,this.clear(),clearTimeout(this._previousTimeout),Ce||(Ce=F&&F.politeness?F.politeness:"polite"),null==Te&&F&&(Te=F.duration),this._liveElement.setAttribute("aria-live",Ce),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(at=>this._currentResolve=at)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=De,"number"==typeof Te&&(this._previousTimeout=setTimeout(()=>this.clear(),Te)),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(){const De="cdk-live-announcer-element",fe=this._document.getElementsByClassName(De),F=this._document.createElement("div");for(let Ce=0;Ce<fe.length;Ce++)fe[Ce].remove();return F.classList.add(De),F.classList.add("cdk-visually-hidden"),F.setAttribute("aria-atomic","true"),F.setAttribute("aria-live","polite"),F.id="cdk-live-announcer-"+bn++,this._document.body.appendChild(F),F}_exposeAnnouncerToModals(De){const fe=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let F=0;F<fe.length;F++){const Ce=fe[F],Te=Ce.getAttribute("aria-owns");Te?-1===Te.indexOf(De)&&Ce.setAttribute("aria-owns",Te+" "+De):Ce.setAttribute("aria-owns",De)}}static#e=this.\u0275fac=function(fe){return new(fe||Vt)(d.CoB(Mt,8),d.CoB(d.WW2),d.CoB(s.Ud),d.CoB(zt,8))};static#t=this.\u0275prov=d.wxM({token:Vt,factory:Vt.\u0275fac,providedIn:"root"})}return Vt})();const dn=new d.UbH("cdk-focus-monitor-default-options"),kn=(0,o.W4)({passive:!0,capture:!0});let Ln=(()=>{class Vt{constructor(De,fe,F,Ce,Te){this._ngZone=De,this._platform=fe,this._inputModalityDetector=F,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new f.E,this._rootNodeFocusAndBlurListener=at=>{for(let it=(0,o.oZ)(at);it;it=it.parentElement)"focus"===at.type?this._onFocus(at,it):this._onBlur(at,it)},this._document=Ce,this._detectionMode=Te?.detectionMode||0}monitor(De,fe=!1){const F=(0,_e.mk)(De);if(!this._platform.isBrowser||1!==F.nodeType)return(0,y.of)();const Ce=(0,o.C8)(F)||this._getDocument(),Te=this._elementInfo.get(F);if(Te)return fe&&(Te.checkChildren=!0),Te.subject;const at={checkChildren:fe,subject:new f.E,rootNode:Ce};return this._elementInfo.set(F,at),this._registerGlobalListeners(at),at.subject}stopMonitoring(De){const fe=(0,_e.mk)(De),F=this._elementInfo.get(fe);F&&(F.subject.complete(),this._setClasses(fe),this._elementInfo.delete(fe),this._removeGlobalListeners(F))}focusVia(De,fe,F){const Ce=(0,_e.mk)(De);Ce===this._getDocument().activeElement?this._getClosestElementsInfo(Ce).forEach(([at,Oe])=>this._originChanged(at,fe,Oe)):(this._setOrigin(fe),"function"==typeof Ce.focus&&Ce.focus(F))}ngOnDestroy(){this._elementInfo.forEach((De,fe)=>this.stopMonitoring(fe))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(De){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(De)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:De&&this._isLastInteractionFromInputLabel(De)?"mouse":"program"}_shouldBeAttributedToTouch(De){return 1===this._detectionMode||!!De?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(De,fe){De.classList.toggle("cdk-focused",!!fe),De.classList.toggle("cdk-touch-focused","touch"===fe),De.classList.toggle("cdk-keyboard-focused","keyboard"===fe),De.classList.toggle("cdk-mouse-focused","mouse"===fe),De.classList.toggle("cdk-program-focused","program"===fe)}_setOrigin(De,fe=!1){this._ngZone.runOutsideAngular(()=>{this._origin=De,this._originFromTouchInteraction="touch"===De&&fe,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(De,fe){const F=this._elementInfo.get(fe),Ce=(0,o.oZ)(De);!F||!F.checkChildren&&fe!==Ce||this._originChanged(fe,this._getFocusOrigin(Ce),F)}_onBlur(De,fe){const F=this._elementInfo.get(fe);!F||F.checkChildren&&De.relatedTarget instanceof Node&&fe.contains(De.relatedTarget)||(this._setClasses(fe),this._emitOrigin(F,null))}_emitOrigin(De,fe){De.subject.observers.length&&this._ngZone.run(()=>De.subject.next(fe))}_registerGlobalListeners(De){if(!this._platform.isBrowser)return;const fe=De.rootNode,F=this._rootNodeFocusListenerCount.get(fe)||0;F||this._ngZone.runOutsideAngular(()=>{fe.addEventListener("focus",this._rootNodeFocusAndBlurListener,kn),fe.addEventListener("blur",this._rootNodeFocusAndBlurListener,kn)}),this._rootNodeFocusListenerCount.set(fe,F+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Z.a)(this._stopInputModalityDetector)).subscribe(Ce=>{this._setOrigin(Ce,!0)}))}_removeGlobalListeners(De){const fe=De.rootNode;if(this._rootNodeFocusListenerCount.has(fe)){const F=this._rootNodeFocusListenerCount.get(fe);F>1?this._rootNodeFocusListenerCount.set(fe,F-1):(fe.removeEventListener("focus",this._rootNodeFocusAndBlurListener,kn),fe.removeEventListener("blur",this._rootNodeFocusAndBlurListener,kn),this._rootNodeFocusListenerCount.delete(fe))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(De,fe,F){this._setClasses(De,fe),this._emitOrigin(F,fe),this._lastFocusOrigin=fe}_getClosestElementsInfo(De){const fe=[];return this._elementInfo.forEach((F,Ce)=>{(Ce===De||F.checkChildren&&Ce.contains(De))&&fe.push([Ce,F])}),fe}_isLastInteractionFromInputLabel(De){const{_mostRecentTarget:fe,mostRecentModality:F}=this._inputModalityDetector;if("mouse"!==F||!fe||fe===De||"INPUT"!==De.nodeName&&"TEXTAREA"!==De.nodeName||De.disabled)return!1;const Ce=De.labels;if(Ce)for(let Te=0;Te<Ce.length;Te++)if(Ce[Te].contains(fe))return!0;return!1}static#e=this.\u0275fac=function(fe){return new(fe||Vt)(d.CoB(d.WW2),d.CoB(o.WU),d.CoB(pe),d.CoB(s.Ud,8),d.CoB(dn,8))};static#t=this.\u0275prov=d.wxM({token:Vt,factory:Vt.\u0275fac,providedIn:"root"})}return Vt})(),Bn=(()=>{class Vt{constructor(De,fe){this._elementRef=De,this._focusMonitor=fe,this._focusOrigin=null,this.cdkFocusChange=new d._w7}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const De=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(De,1===De.nodeType&&De.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(fe=>{this._focusOrigin=fe,this.cdkFocusChange.emit(fe)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(fe){return new(fe||Vt)(d.GI1(d.GMv),d.GI1(Ln))};static#t=this.\u0275dir=d.Sc5({type:Vt,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return Vt})();const ti="cdk-high-contrast-black-on-white",Ft="cdk-high-contrast-white-on-black",Nt="cdk-high-contrast-active";let It=(()=>{class Vt{constructor(De,fe){this._platform=De,this._document=fe,this._breakpointSubscription=(0,d.uUt)(ke.w$).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const De=this._document.createElement("div");De.style.backgroundColor="rgb(1,2,3)",De.style.position="absolute",this._document.body.appendChild(De);const fe=this._document.defaultView||window,F=fe&&fe.getComputedStyle?fe.getComputedStyle(De):null,Ce=(F&&F.backgroundColor||"").replace(/ /g,"");switch(De.remove(),Ce){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const De=this._document.body.classList;De.remove(Nt,ti,Ft),this._hasCheckedHighContrastMode=!0;const fe=this.getHighContrastMode();1===fe?De.add(Nt,ti):2===fe&&De.add(Nt,Ft)}}static#e=this.\u0275fac=function(fe){return new(fe||Vt)(d.CoB(o.WU),d.CoB(s.Ud))};static#t=this.\u0275prov=d.wxM({token:Vt,factory:Vt.\u0275fac,providedIn:"root"})}return Vt})(),en=(()=>{class Vt{constructor(De){De._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(fe){return new(fe||Vt)(d.CoB(It))};static#t=this.\u0275mod=d.a4G({type:Vt});static#n=this.\u0275inj=d.s3X({imports:[j.IT]})}return Vt})()},1900:(lt,me,u)=>{"use strict";u.d(me,{gN:()=>I,yG:()=>y});var s=u(2116),d=u(1368);const o=new s.UbH("cdk-dir-doc",{providedIn:"root",factory:function f(){return(0,s.uUt)(d.Ud)}}),l=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let y=(()=>{class B{constructor(ie){this.value="ltr",this.change=new s._w7,ie&&(this.value=function i(B){const K=B?.toLowerCase()||"";return"auto"===K&&typeof navigator<"u"&&navigator?.language?l.test(navigator.language)?"rtl":"ltr":"rtl"===K?"rtl":"ltr"}((ie.body?ie.body.dir:null)||(ie.documentElement?ie.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(oe){return new(oe||B)(s.CoB(o,8))};static#t=this.\u0275prov=s.wxM({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})(),I=(()=>{class B{static#e=this.\u0275fac=function(oe){return new(oe||B)};static#t=this.\u0275mod=s.a4G({type:B});static#n=this.\u0275inj=s.s3X({})}return B})()},7712:(lt,me,u)=>{"use strict";u.d(me,{Mt:()=>l,W6:()=>d,_s:()=>_,mk:()=>y,ph:()=>i,s3:()=>f,wZ:()=>o});var s=u(2116);function d(I){return null!=I&&"false"!=`${I}`}function o(I,B=0){return f(I)?Number(I):B}function f(I){return!isNaN(parseFloat(I))&&!isNaN(Number(I))}function l(I){return Array.isArray(I)?I:[I]}function i(I){return null==I?"":"string"==typeof I?I:`${I}px`}function y(I){return I instanceof s.GMv?I.nativeElement:I}function _(I,B=/\s+/){const K=[];if(null!=I){const ie=Array.isArray(I)?I:`${I}`.split(B);for(const oe of ie){const Ge=`${oe}`.trim();Ge&&K.push(Ge)}}return K}},1032:(lt,me,u)=>{"use strict";u.d(me,{Cc:()=>i,Yx:()=>B,cz:()=>y,e2:()=>K,eo:()=>I,kT:()=>oe,ys:()=>Ge});var s=u(2376),f=(u(1116),u(2700),u(5657)),l=u(2116);class i{}function y(ae){return ae&&"function"==typeof ae.connect&&!(ae instanceof s.C)}class I{applyChanges(Z,_e,j,ke,rt){Z.forEachOperation((le,ye,Y)=>{let g,X;if(null==le.previousIndex){const V=j(le,ye,Y);g=_e.createEmbeddedView(V.templateRef,V.context,V.index),X=1}else null==Y?(_e.remove(ye),X=3):(g=_e.get(ye),_e.move(g,Y),X=2);rt&&rt({context:g?.context,operation:X,record:le})})}detach(){}}class B{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(Z,_e,j,ke,rt){Z.forEachOperation((le,ye,Y)=>{let g,X;null==le.previousIndex?(g=this._insertView(()=>j(le,ye,Y),Y,_e,ke(le)),X=g?1:0):null==Y?(this._detachAndCacheView(ye,_e),X=3):(g=this._moveView(ye,Y,_e,ke(le)),X=2),rt&&rt({context:g?.context,operation:X,record:le})})}detach(){for(const Z of this._viewCache)Z.destroy();this._viewCache=[]}_insertView(Z,_e,j,ke){const rt=this._insertViewFromCache(_e,j);if(rt)return void(rt.context.$implicit=ke);const le=Z();return j.createEmbeddedView(le.templateRef,le.context,le.index)}_detachAndCacheView(Z,_e){const j=_e.detach(Z);this._maybeCacheView(j,_e)}_moveView(Z,_e,j,ke){const rt=j.get(Z);return j.move(rt,_e),rt.context.$implicit=ke,rt}_maybeCacheView(Z,_e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(Z);else{const j=_e.indexOf(Z);-1===j?Z.destroy():_e.remove(j)}}_insertViewFromCache(Z,_e){const j=this._viewCache.pop();return j&&_e.insert(j,Z),j||null}}class K{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(Z=!1,_e,j=!0,ke){this._multiple=Z,this._emitChanges=j,this.compareWith=ke,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new f.E,_e&&_e.length&&(Z?_e.forEach(rt=>this._markSelected(rt)):this._markSelected(_e[0]),this._selectedToEmit.length=0)}select(...Z){this._verifyValueAssignment(Z),Z.forEach(j=>this._markSelected(j));const _e=this._hasQueuedChanges();return this._emitChangeEvent(),_e}deselect(...Z){this._verifyValueAssignment(Z),Z.forEach(j=>this._unmarkSelected(j));const _e=this._hasQueuedChanges();return this._emitChangeEvent(),_e}setSelection(...Z){this._verifyValueAssignment(Z);const _e=this.selected,j=new Set(Z);Z.forEach(rt=>this._markSelected(rt)),_e.filter(rt=>!j.has(rt)).forEach(rt=>this._unmarkSelected(rt));const ke=this._hasQueuedChanges();return this._emitChangeEvent(),ke}toggle(Z){return this.isSelected(Z)?this.deselect(Z):this.select(Z)}clear(Z=!0){this._unmarkAll();const _e=this._hasQueuedChanges();return Z&&this._emitChangeEvent(),_e}isSelected(Z){return this._selection.has(this._getConcreteValue(Z))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(Z){this._multiple&&this.selected&&this._selected.sort(Z)}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(Z){Z=this._getConcreteValue(Z),this.isSelected(Z)||(this._multiple||this._unmarkAll(),this.isSelected(Z)||this._selection.add(Z),this._emitChanges&&this._selectedToEmit.push(Z))}_unmarkSelected(Z){Z=this._getConcreteValue(Z),this.isSelected(Z)&&(this._selection.delete(Z),this._emitChanges&&this._deselectedToEmit.push(Z))}_unmarkAll(){this.isEmpty()||this._selection.forEach(Z=>this._unmarkSelected(Z))}_verifyValueAssignment(Z){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(Z){if(this.compareWith){for(let _e of this._selection)if(this.compareWith(Z,_e))return _e;return Z}return Z}}let oe=(()=>{class ae{constructor(){this._listeners=[]}notify(_e,j){for(let ke of this._listeners)ke(_e,j)}listen(_e){return this._listeners.push(_e),()=>{this._listeners=this._listeners.filter(j=>_e!==j)}}ngOnDestroy(){this._listeners=[]}static#e=this.\u0275fac=function(j){return new(j||ae)};static#t=this.\u0275prov=l.wxM({token:ae,factory:ae.\u0275fac,providedIn:"root"})}return ae})();const Ge=new l.UbH("_ViewRepeater")},6696:(lt,me,u)=>{"use strict";u.d(me,{Cn:()=>g,eS:()=>Ge,kX:()=>V,sv:()=>Z});var s=u(4723),d=u(68),o=u(5792),f=u(107),l=u(1368),i=u(2116),y=u(7800),_=u(5657),I=u(1424),B=u(2700),K=u(1900),ie=u(5568);function oe(te,be){}class Ge{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let Z=(()=>{class te extends f.Ef{constructor(Fe,Se,ot,_t,pt,Gt,qe,Je){super(),this._elementRef=Fe,this._focusTrapFactory=Se,this._config=_t,this._interactivityChecker=pt,this._ngZone=Gt,this._overlayRef=qe,this._focusMonitor=Je,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=ce=>{this._portalOutlet.hasAttached();const Ae=this._portalOutlet.attachDomPortal(ce);return this._contentAttached(),Ae},this._document=ot,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(Fe){this._portalOutlet.hasAttached();const Se=this._portalOutlet.attachComponentPortal(Fe);return this._contentAttached(),Se}attachTemplatePortal(Fe){this._portalOutlet.hasAttached();const Se=this._portalOutlet.attachTemplatePortal(Fe);return this._contentAttached(),Se}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(Fe,Se){this._interactivityChecker.isFocusable(Fe)||(Fe.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const ot=()=>{Fe.removeEventListener("blur",ot),Fe.removeEventListener("mousedown",ot),Fe.removeAttribute("tabindex")};Fe.addEventListener("blur",ot),Fe.addEventListener("mousedown",ot)})),Fe.focus(Se)}_focusByCssSelector(Fe,Se){let ot=this._elementRef.nativeElement.querySelector(Fe);ot&&this._forceFocus(ot,Se)}_trapFocus(){const Fe=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||Fe.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(Se=>{Se||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const Fe=this._config.restoreFocus;let Se=null;if("string"==typeof Fe?Se=this._document.querySelector(Fe):"boolean"==typeof Fe?Se=Fe?this._elementFocusedBeforeDialogWasOpened:null:Fe&&(Se=Fe),this._config.restoreFocus&&Se&&"function"==typeof Se.focus){const ot=(0,o.Yx)(),_t=this._elementRef.nativeElement;(!ot||ot===this._document.body||ot===_t||_t.contains(ot))&&(this._focusMonitor?(this._focusMonitor.focusVia(Se,this._closeInteractionType),this._closeInteractionType=null):Se.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const Fe=this._elementRef.nativeElement,Se=(0,o.Yx)();return Fe===Se||Fe.contains(Se)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,o.Yx)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static#e=this.\u0275fac=function(Se){return new(Se||te)(i.GI1(i.GMv),i.GI1(s.G),i.GI1(l.Ud,8),i.GI1(Ge),i.GI1(s.OE),i.GI1(i.WW2),i.GI1(d.aq),i.GI1(s.Kk))};static#t=this.\u0275cmp=i.In1({type:te,selectors:[["cdk-dialog-container"]],viewQuery:function(Se,ot){if(1&Se&&i.CC$(f.IP,7),2&Se){let _t;i.wto(_t=i.Gqi())&&(ot._portalOutlet=_t.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(Se,ot){2&Se&&i.e48("id",ot._config.id||null)("role",ot._config.role)("aria-modal",ot._config.ariaModal)("aria-labelledby",ot._config.ariaLabel?null:ot._ariaLabelledByQueue[0])("aria-label",ot._config.ariaLabel)("aria-describedby",ot._config.ariaDescribedBy||null)},features:[i.eg9],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(Se,ot){1&Se&&i.yuY(0,oe,0,0,"ng-template",0)},dependencies:[f.IP],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return te})();class _e{constructor(be,Fe){this.overlayRef=be,this.config=Fe,this.closed=new _.E,this.disableClose=Fe.disableClose,this.backdropClick=be.backdropClick(),this.keydownEvents=be.keydownEvents(),this.outsidePointerEvents=be.outsidePointerEvents(),this.id=Fe.id,this.keydownEvents.subscribe(Se=>{Se.keyCode===y.UX&&!this.disableClose&&!(0,y.Yp)(Se)&&(Se.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=be.detachments().subscribe(()=>{!1!==Fe.closeOnOverlayDetachments&&this.close()})}close(be,Fe){if(this.containerInstance){const Se=this.closed;this.containerInstance._closeInteractionType=Fe?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),Se.next(be),Se.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(be="",Fe=""){return this.overlayRef.updateSize({width:be,height:Fe}),this}addPanelClass(be){return this.overlayRef.addPanelClass(be),this}removePanelClass(be){return this.overlayRef.removePanelClass(be),this}}const j=new i.UbH("DialogScrollStrategy"),ke=new i.UbH("DialogData"),rt=new i.UbH("DefaultDialogConfig"),ye={provide:j,deps:[d.mc],useFactory:function le(te){return()=>te.scrollStrategies.block()}};let Y=0,g=(()=>{class te{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(Fe,Se,ot,_t,pt,Gt){this._overlay=Fe,this._injector=Se,this._defaultOptions=ot,this._parentDialog=_t,this._overlayContainer=pt,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new _.E,this._afterOpenedAtThisLevel=new _.E,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,I.Q)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,ie.W)(void 0))),this._scrollStrategy=Gt}open(Fe,Se){(Se={...this._defaultOptions||new Ge,...Se}).id=Se.id||"cdk-dialog-"+Y++,Se.id&&this.getDialogById(Se.id);const _t=this._getOverlayConfig(Se),pt=this._overlay.create(_t),Gt=new _e(pt,Se),qe=this._attachContainer(pt,Gt,Se);return Gt.containerInstance=qe,this._attachDialogContent(Fe,Gt,qe,Se),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Gt),Gt.closed.subscribe(()=>this._removeOpenDialog(Gt,!0)),this.afterOpened.next(Gt),Gt}closeAll(){X(this.openDialogs,Fe=>Fe.close())}getDialogById(Fe){return this.openDialogs.find(Se=>Se.id===Fe)}ngOnDestroy(){X(this._openDialogsAtThisLevel,Fe=>{!1===Fe.config.closeOnDestroy&&this._removeOpenDialog(Fe,!1)}),X(this._openDialogsAtThisLevel,Fe=>Fe.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(Fe){const Se=new d.o9({positionStrategy:Fe.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:Fe.scrollStrategy||this._scrollStrategy(),panelClass:Fe.panelClass,hasBackdrop:Fe.hasBackdrop,direction:Fe.direction,minWidth:Fe.minWidth,minHeight:Fe.minHeight,maxWidth:Fe.maxWidth,maxHeight:Fe.maxHeight,width:Fe.width,height:Fe.height,disposeOnNavigation:Fe.closeOnNavigation});return Fe.backdropClass&&(Se.backdropClass=Fe.backdropClass),Se}_attachContainer(Fe,Se,ot){const _t=ot.injector||ot.viewContainerRef?.injector,pt=[{provide:Ge,useValue:ot},{provide:_e,useValue:Se},{provide:d.aq,useValue:Fe}];let Gt;ot.container?"function"==typeof ot.container?Gt=ot.container:(Gt=ot.container.type,pt.push(...ot.container.providers(ot))):Gt=Z;const qe=new f.KC(Gt,ot.viewContainerRef,i.zZn.create({parent:_t||this._injector,providers:pt}),ot.componentFactoryResolver);return Fe.attach(qe).instance}_attachDialogContent(Fe,Se,ot,_t){if(Fe instanceof i.Yw2){const pt=this._createInjector(_t,Se,ot,void 0);let Gt={$implicit:_t.data,dialogRef:Se};_t.templateContext&&(Gt={...Gt,..."function"==typeof _t.templateContext?_t.templateContext():_t.templateContext}),ot.attachTemplatePortal(new f.CC(Fe,null,Gt,pt))}else{const pt=this._createInjector(_t,Se,ot,this._injector),Gt=ot.attachComponentPortal(new f.KC(Fe,_t.viewContainerRef,pt,_t.componentFactoryResolver));Se.componentRef=Gt,Se.componentInstance=Gt.instance}}_createInjector(Fe,Se,ot,_t){const pt=Fe.injector||Fe.viewContainerRef?.injector,Gt=[{provide:ke,useValue:Fe.data},{provide:_e,useValue:Se}];return Fe.providers&&("function"==typeof Fe.providers?Gt.push(...Fe.providers(Se,Fe,ot)):Gt.push(...Fe.providers)),Fe.direction&&(!pt||!pt.get(K.yG,null,{optional:!0}))&&Gt.push({provide:K.yG,useValue:{value:Fe.direction,change:(0,B.of)()}}),i.zZn.create({parent:pt||_t,providers:Gt})}_removeOpenDialog(Fe,Se){const ot=this.openDialogs.indexOf(Fe);ot>-1&&(this.openDialogs.splice(ot,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((_t,pt)=>{_t?pt.setAttribute("aria-hidden",_t):pt.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),Se&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const Fe=this._overlayContainer.getContainerElement();if(Fe.parentElement){const Se=Fe.parentElement.children;for(let ot=Se.length-1;ot>-1;ot--){const _t=Se[ot];_t!==Fe&&"SCRIPT"!==_t.nodeName&&"STYLE"!==_t.nodeName&&!_t.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(_t,_t.getAttribute("aria-hidden")),_t.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const Fe=this._parentDialog;return Fe?Fe._getAfterAllClosed():this._afterAllClosedAtThisLevel}static#e=this.\u0275fac=function(Se){return new(Se||te)(i.CoB(d.mc),i.CoB(i.zZn),i.CoB(rt,8),i.CoB(te,12),i.CoB(d.Y),i.CoB(j))};static#t=this.\u0275prov=i.wxM({token:te,factory:te.\u0275fac})}return te})();function X(te,be){let Fe=te.length;for(;Fe--;)be(te[Fe])}let V=(()=>{class te{static#e=this.\u0275fac=function(Se){return new(Se||te)};static#t=this.\u0275mod=i.a4G({type:te});static#n=this.\u0275inj=i.s3X({providers:[g,ye],imports:[d.Y1,f.g$,s.Ux,f.g$]})}return te})()},7800:(lt,me,u)=>{"use strict";u.d(me,{A:()=>L,A$:()=>_,G0:()=>g,GW:()=>Ii,Gi:()=>ie,Mp:()=>ae,Mx:()=>_e,Oq:()=>rt,SQ:()=>Gt,UX:()=>K,Yp:()=>ii,Z:()=>$t,_I:()=>X,_Y:()=>zt,_u:()=>i,a4:()=>ke,k0:()=>o,qI:()=>j,qU:()=>Z,s9:()=>y,u_:()=>oe,wJ:()=>l,yI:()=>Ge,y_:()=>d});const d=8,o=9,l=13,i=16,y=17,_=18,K=27,ie=32,oe=33,Ge=34,ae=35,Z=36,_e=37,j=38,ke=39,rt=40,g=46,X=48,Gt=57,L=65,$t=90,zt=91,Ii=224;function ii(ui,...Ai){return Ai.length?Ai.some(Xi=>ui[Xi]):ui.altKey||ui.shiftKey||ui.ctrlKey||ui.metaKey}},1216:(lt,me,u)=>{"use strict";u.d(me,{O2:()=>Ge,kP:()=>ye,w$:()=>rt});var s=u(2116),d=u(7712),o=u(5657),f=u(6040),l=u(4848),i=u(3252),y=u(3992),_=u(2644),I=u(4680),B=u(4704),K=u(5568),ie=u(3616),oe=u(5792);let Ge=(()=>{class Y{static#e=this.\u0275fac=function(V){return new(V||Y)};static#t=this.\u0275mod=s.a4G({type:Y});static#n=this.\u0275inj=s.s3X({})}return Y})();const ae=new Set;let Z,_e=(()=>{class Y{constructor(X,V){this._platform=X,this._nonce=V,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):ke}matchMedia(X){return(this._platform.WEBKIT||this._platform.BLINK)&&function j(Y,g){if(!ae.has(Y))try{Z||(Z=document.createElement("style"),g&&(Z.nonce=g),Z.setAttribute("type","text/css"),document.head.appendChild(Z)),Z.sheet&&(Z.sheet.insertRule(`@media ${Y} {body{ }}`,0),ae.add(Y))}catch(X){console.error(X)}}(X,this._nonce),this._matchMedia(X)}static#e=this.\u0275fac=function(V){return new(V||Y)(s.CoB(oe.WU),s.CoB(s.YND,8))};static#t=this.\u0275prov=s.wxM({token:Y,factory:Y.\u0275fac,providedIn:"root"})}return Y})();function ke(Y){return{matches:"all"===Y||""===Y,media:Y,addListener:()=>{},removeListener:()=>{}}}let rt=(()=>{class Y{constructor(X,V){this._mediaMatcher=X,this._zone=V,this._queries=new Map,this._destroySubject=new o.E}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(X){return le((0,d.Mt)(X)).some(te=>this._registerQuery(te).mql.matches)}observe(X){const te=le((0,d.Mt)(X)).map(Fe=>this._registerQuery(Fe).observable);let be=(0,f.E)(te);return be=(0,l.W)(be.pipe((0,y.U)(1)),be.pipe((0,_.s)(1),(0,I.o)(0))),be.pipe((0,B.k)(Fe=>{const Se={matches:!1,breakpoints:{}};return Fe.forEach(({matches:ot,query:_t})=>{Se.matches=Se.matches||ot,Se.breakpoints[_t]=ot}),Se}))}_registerQuery(X){if(this._queries.has(X))return this._queries.get(X);const V=this._mediaMatcher.matchMedia(X),be={observable:new i._(Fe=>{const Se=ot=>this._zone.run(()=>Fe.next(ot));return V.addListener(Se),()=>{V.removeListener(Se)}}).pipe((0,K.W)(V),(0,B.k)(({matches:Fe})=>({query:X,matches:Fe})),(0,ie.a)(this._destroySubject)),mql:V};return this._queries.set(X,be),be}static#e=this.\u0275fac=function(V){return new(V||Y)(s.CoB(_e),s.CoB(s.WW2))};static#t=this.\u0275prov=s.wxM({token:Y,factory:Y.\u0275fac,providedIn:"root"})}return Y})();function le(Y){return Y.map(g=>g.split(",")).reduce((g,X)=>g.concat(X)).map(g=>g.trim())}const ye={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)"}},6640:(lt,me,u)=>{"use strict";u.d(me,{IT:()=>I,Wk:()=>_});var s=u(7712),d=u(2116),o=u(3252),f=u(5657),l=u(4680);let i=(()=>{class B{create(ie){return typeof MutationObserver>"u"?null:new MutationObserver(ie)}static#e=this.\u0275fac=function(oe){return new(oe||B)};static#t=this.\u0275prov=d.wxM({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})(),y=(()=>{class B{constructor(ie){this._mutationObserverFactory=ie,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((ie,oe)=>this._cleanupObserver(oe))}observe(ie){const oe=(0,s.mk)(ie);return new o._(Ge=>{const Z=this._observeElement(oe).subscribe(Ge);return()=>{Z.unsubscribe(),this._unobserveElement(oe)}})}_observeElement(ie){if(this._observedElements.has(ie))this._observedElements.get(ie).count++;else{const oe=new f.E,Ge=this._mutationObserverFactory.create(ae=>oe.next(ae));Ge&&Ge.observe(ie,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(ie,{observer:Ge,stream:oe,count:1})}return this._observedElements.get(ie).stream}_unobserveElement(ie){this._observedElements.has(ie)&&(this._observedElements.get(ie).count--,this._observedElements.get(ie).count||this._cleanupObserver(ie))}_cleanupObserver(ie){if(this._observedElements.has(ie)){const{observer:oe,stream:Ge}=this._observedElements.get(ie);oe&&oe.disconnect(),Ge.complete(),this._observedElements.delete(ie)}}static#e=this.\u0275fac=function(oe){return new(oe||B)(d.CoB(i))};static#t=this.\u0275prov=d.wxM({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})(),_=(()=>{class B{get disabled(){return this._disabled}set disabled(ie){this._disabled=(0,s.W6)(ie),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(ie){this._debounce=(0,s.wZ)(ie),this._subscribe()}constructor(ie,oe,Ge){this._contentObserver=ie,this._elementRef=oe,this._ngZone=Ge,this.event=new d._w7,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const ie=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?ie.pipe((0,l.o)(this.debounce)):ie).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(oe){return new(oe||B)(d.GI1(y),d.GI1(d.GMv),d.GI1(d.WW2))};static#t=this.\u0275dir=d.Sc5({type:B,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[d.Wk5.None,"cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return B})(),I=(()=>{class B{static#e=this.\u0275fac=function(oe){return new(oe||B)};static#t=this.\u0275mod=d.a4G({type:B});static#n=this.\u0275inj=d.s3X({providers:[i]})}return B})()},68:(lt,me,u)=>{"use strict";u.d(me,{eC:()=>Ot,wW:()=>vt,mc:()=>Ct,o9:()=>te,Y:()=>Je,Y1:()=>He,aq:()=>ce});var s=u(3572),d=u(1368),o=u(2116),f=u(7712),l=u(5792),i=u(6684),y=u(3992),_=u(3616),I=u(5448),B=u(7773),ie=u(1900),oe=u(107),Ge=u(5657),ae=u(6928),Z=u(3412),_e=u(7800);const j=(0,l.kk)();class ke{constructor(re,Re){this._viewportRuler=re,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=Re}attach(){}enable(){if(this._canBeEnabled()){const re=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=re.style.left||"",this._previousHTMLStyles.top=re.style.top||"",re.style.left=(0,f.ph)(-this._previousScrollPosition.left),re.style.top=(0,f.ph)(-this._previousScrollPosition.top),re.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const re=this._document.documentElement,pe=re.style,Mt=this._document.body.style,$t=pe.scrollBehavior||"",zt=Mt.scrollBehavior||"";this._isEnabled=!1,pe.left=this._previousHTMLStyles.left,pe.top=this._previousHTMLStyles.top,re.classList.remove("cdk-global-scrollblock"),j&&(pe.scrollBehavior=Mt.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),j&&(pe.scrollBehavior=$t,Mt.scrollBehavior=zt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Re=this._document.body,pe=this._viewportRuler.getViewportSize();return Re.scrollHeight>pe.height||Re.scrollWidth>pe.width}}class le{constructor(re,Re,pe,Mt){this._scrollDispatcher=re,this._ngZone=Re,this._viewportRuler=pe,this._config=Mt,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(re){this._overlayRef=re}enable(){if(this._scrollSubscription)return;const re=this._scrollDispatcher.scrolled(0).pipe((0,i.I)(Re=>!Re||!this._overlayRef.overlayElement.contains(Re.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=re.subscribe(()=>{const Re=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Re-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=re.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class ye{enable(){}disable(){}attach(){}}function Y(st,re){return re.some(Re=>st.bottom<Re.top||st.top>Re.bottom||st.right<Re.left||st.left>Re.right)}function g(st,re){return re.some(Re=>st.top<Re.top||st.bottom>Re.bottom||st.left<Re.left||st.right>Re.right)}class X{constructor(re,Re,pe,Mt){this._scrollDispatcher=re,this._viewportRuler=Re,this._ngZone=pe,this._config=Mt,this._scrollSubscription=null}attach(re){this._overlayRef=re}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const Re=this._overlayRef.overlayElement.getBoundingClientRect(),{width:pe,height:Mt}=this._viewportRuler.getViewportSize();Y(Re,[{width:pe,height:Mt,bottom:Mt,right:pe,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}}let V=(()=>{class st{constructor(Re,pe,Mt,$t){this._scrollDispatcher=Re,this._viewportRuler=pe,this._ngZone=Mt,this.noop=()=>new ye,this.close=zt=>new le(this._scrollDispatcher,this._ngZone,this._viewportRuler,zt),this.block=()=>new ke(this._viewportRuler,this._document),this.reposition=zt=>new X(this._scrollDispatcher,this._viewportRuler,this._ngZone,zt),this._document=$t}static#e=this.\u0275fac=function(pe){return new(pe||st)(o.CoB(s.Yn),o.CoB(s.S8),o.CoB(o.WW2),o.CoB(d.Ud))};static#t=this.\u0275prov=o.wxM({token:st,factory:st.\u0275fac,providedIn:"root"})}return st})();class te{constructor(re){if(this.scrollStrategy=new ye,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,re){const Re=Object.keys(re);for(const pe of Re)void 0!==re[pe]&&(this[pe]=re[pe])}}}class Se{constructor(re,Re){this.connectionPair=re,this.scrollableViewProperties=Re}}let pt=(()=>{class st{constructor(Re){this._attachedOverlays=[],this._document=Re}ngOnDestroy(){this.detach()}add(Re){this.remove(Re),this._attachedOverlays.push(Re)}remove(Re){const pe=this._attachedOverlays.indexOf(Re);pe>-1&&this._attachedOverlays.splice(pe,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(pe){return new(pe||st)(o.CoB(d.Ud))};static#t=this.\u0275prov=o.wxM({token:st,factory:st.\u0275fac,providedIn:"root"})}return st})(),Gt=(()=>{class st extends pt{constructor(Re,pe){super(Re),this._ngZone=pe,this._keydownListener=Mt=>{const $t=this._attachedOverlays;for(let zt=$t.length-1;zt>-1;zt--)if($t[zt]._keydownEvents.observers.length>0){const bn=$t[zt]._keydownEvents;this._ngZone?this._ngZone.run(()=>bn.next(Mt)):bn.next(Mt);break}}}add(Re){super.add(Re),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)}static#e=this.\u0275fac=function(pe){return new(pe||st)(o.CoB(d.Ud),o.CoB(o.WW2,8))};static#t=this.\u0275prov=o.wxM({token:st,factory:st.\u0275fac,providedIn:"root"})}return st})(),qe=(()=>{class st extends pt{constructor(Re,pe,Mt){super(Re),this._platform=pe,this._ngZone=Mt,this._cursorStyleIsSet=!1,this._pointerDownListener=$t=>{this._pointerDownEventTarget=(0,l.oZ)($t)},this._clickListener=$t=>{const zt=(0,l.oZ)($t),bn="click"===$t.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:zt;this._pointerDownEventTarget=null;const Un=this._attachedOverlays.slice();for(let jn=Un.length-1;jn>-1;jn--){const dn=Un[jn];if(dn._outsidePointerEvents.observers.length<1||!dn.hasAttached())continue;if(dn.overlayElement.contains(zt)||dn.overlayElement.contains(bn))break;const kn=dn._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>kn.next($t)):kn.next($t)}}}add(Re){if(super.add(Re),!this._isAttached){const pe=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(pe)):this._addEventListeners(pe),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=pe.style.cursor,pe.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const Re=this._document.body;Re.removeEventListener("pointerdown",this._pointerDownListener,!0),Re.removeEventListener("click",this._clickListener,!0),Re.removeEventListener("auxclick",this._clickListener,!0),Re.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(Re.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(Re){Re.addEventListener("pointerdown",this._pointerDownListener,!0),Re.addEventListener("click",this._clickListener,!0),Re.addEventListener("auxclick",this._clickListener,!0),Re.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(pe){return new(pe||st)(o.CoB(d.Ud),o.CoB(l.WU),o.CoB(o.WW2,8))};static#t=this.\u0275prov=o.wxM({token:st,factory:st.\u0275fac,providedIn:"root"})}return st})(),Je=(()=>{class st{constructor(Re,pe){this._platform=pe,this._document=Re}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Re="cdk-overlay-container";if(this._platform.isBrowser||(0,l.mW)()){const Mt=this._document.querySelectorAll(`.${Re}[platform="server"], .${Re}[platform="test"]`);for(let $t=0;$t<Mt.length;$t++)Mt[$t].remove()}const pe=this._document.createElement("div");pe.classList.add(Re),(0,l.mW)()?pe.setAttribute("platform","test"):this._platform.isBrowser||pe.setAttribute("platform","server"),this._document.body.appendChild(pe),this._containerElement=pe}static#e=this.\u0275fac=function(pe){return new(pe||st)(o.CoB(d.Ud),o.CoB(l.WU))};static#t=this.\u0275prov=o.wxM({token:st,factory:st.\u0275fac,providedIn:"root"})}return st})();class ce{constructor(re,Re,pe,Mt,$t,zt,bn,Un,jn,dn=!1){this._portalOutlet=re,this._host=Re,this._pane=pe,this._config=Mt,this._ngZone=$t,this._keyboardDispatcher=zt,this._document=bn,this._location=Un,this._outsideClickDispatcher=jn,this._animationsDisabled=dn,this._backdropElement=null,this._backdropClick=new Ge.E,this._attachments=new Ge.E,this._detachments=new Ge.E,this._locationChanges=ae.wH.EMPTY,this._backdropClickHandler=kn=>this._backdropClick.next(kn),this._backdropTransitionendHandler=kn=>{this._disposeBackdrop(kn.target)},this._keydownEvents=new Ge.E,this._outsidePointerEvents=new Ge.E,Mt.scrollStrategy&&(this._scrollStrategy=Mt.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Mt.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(re){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Re=this._portalOutlet.attach(re);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,y.U)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),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),"function"==typeof Re?.onDestroy&&Re.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Re}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const re=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),re}dispose(){const re=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._previousHostParent=this._pane=this._host=null,re&&this._detachments.next(),this._detachments.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(re){re!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=re,this.hasAttached()&&(re.attach(this),this.updatePosition()))}updateSize(re){this._config={...this._config,...re},this._updateElementSize()}setDirection(re){this._config={...this._config,direction:re},this._updateElementDirection()}addPanelClass(re){this._pane&&this._toggleClasses(this._pane,re,!0)}removePanelClass(re){this._pane&&this._toggleClasses(this._pane,re,!1)}getDirection(){const re=this._config.direction;return re?"string"==typeof re?re:re.value:"ltr"}updateScrollStrategy(re){re!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=re,this.hasAttached()&&(re.attach(this),re.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const re=this._pane.style;re.width=(0,f.ph)(this._config.width),re.height=(0,f.ph)(this._config.height),re.minWidth=(0,f.ph)(this._config.minWidth),re.minHeight=(0,f.ph)(this._config.minHeight),re.maxWidth=(0,f.ph)(this._config.maxWidth),re.maxHeight=(0,f.ph)(this._config.maxHeight)}_togglePointerEvents(re){this._pane.style.pointerEvents=re?"":"none"}_attachBackdrop(){const re="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(re)})}):this._backdropElement.classList.add(re)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const re=this._backdropElement;if(re){if(this._animationsDisabled)return void this._disposeBackdrop(re);re.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{re.addEventListener("transitionend",this._backdropTransitionendHandler)}),re.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(re)},500))}}_toggleClasses(re,Re,pe){const Mt=(0,f.Mt)(Re||[]).filter($t=>!!$t);Mt.length&&(pe?re.classList.add(...Mt):re.classList.remove(...Mt))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const re=this._ngZone.onStable.pipe((0,_.a)((0,Z.U)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(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()),re.unsubscribe())})})}_disposeScrollStrategy(){const re=this._scrollStrategy;re&&(re.disable(),re.detach&&re.detach())}_disposeBackdrop(re){re&&(re.removeEventListener("click",this._backdropClickHandler),re.removeEventListener("transitionend",this._backdropTransitionendHandler),re.remove(),this._backdropElement===re&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const Ae="cdk-overlay-connected-position-bounding-box",L=/([A-Za-z%]+)$/;class H{get positions(){return this._preferredPositions}constructor(re,Re,pe,Mt,$t){this._viewportRuler=Re,this._document=pe,this._platform=Mt,this._overlayContainer=$t,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new Ge.E,this._resizeSubscription=ae.wH.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(re)}attach(re){this._validatePositions(),re.hostElement.classList.add(Ae),this._overlayRef=re,this._boundingBox=re.hostElement,this._pane=re.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)return void this.reapplyLastPosition();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();const re=this._originRect,Re=this._overlayRect,pe=this._viewportRect,Mt=this._containerRect,$t=[];let zt;for(let bn of this._preferredPositions){let Un=this._getOriginPoint(re,Mt,bn),jn=this._getOverlayPoint(Un,Re,bn),dn=this._getOverlayFit(jn,Re,pe,bn);if(dn.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(bn,Un);this._canFitWithFlexibleDimensions(dn,jn,pe)?$t.push({position:bn,origin:Un,overlayRect:Re,boundingBoxRect:this._calculateBoundingBoxRect(Un,bn)}):(!zt||zt.overlayFit.visibleArea<dn.visibleArea)&&(zt={overlayFit:dn,overlayPoint:jn,originPoint:Un,position:bn,overlayRect:Re})}if($t.length){let bn=null,Un=-1;for(const jn of $t){const dn=jn.boundingBoxRect.width*jn.boundingBoxRect.height*(jn.position.weight||1);dn>Un&&(Un=dn,bn=jn)}return this._isPushed=!1,void this._applyPosition(bn.position,bn.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(zt.position,zt.originPoint);this._applyPosition(zt.position,zt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&de(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Ae),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const re=this._lastPosition;if(re){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Re=this._getOriginPoint(this._originRect,this._containerRect,re);this._applyPosition(re,Re)}else this.apply()}withScrollableContainers(re){return this._scrollables=re,this}withPositions(re){return this._preferredPositions=re,-1===re.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(re){return this._viewportMargin=re,this}withFlexibleDimensions(re=!0){return this._hasFlexibleDimensions=re,this}withGrowAfterOpen(re=!0){return this._growAfterOpen=re,this}withPush(re=!0){return this._canPush=re,this}withLockedPosition(re=!0){return this._positionLocked=re,this}setOrigin(re){return this._origin=re,this}withDefaultOffsetX(re){return this._offsetX=re,this}withDefaultOffsetY(re){return this._offsetY=re,this}withTransformOriginOn(re){return this._transformOriginSelector=re,this}_getOriginPoint(re,Re,pe){let Mt,$t;if("center"==pe.originX)Mt=re.left+re.width/2;else{const zt=this._isRtl()?re.right:re.left,bn=this._isRtl()?re.left:re.right;Mt="start"==pe.originX?zt:bn}return Re.left<0&&(Mt-=Re.left),$t="center"==pe.originY?re.top+re.height/2:"top"==pe.originY?re.top:re.bottom,Re.top<0&&($t-=Re.top),{x:Mt,y:$t}}_getOverlayPoint(re,Re,pe){let Mt,$t;return Mt="center"==pe.overlayX?-Re.width/2:"start"===pe.overlayX?this._isRtl()?-Re.width:0:this._isRtl()?0:-Re.width,$t="center"==pe.overlayY?-Re.height/2:"top"==pe.overlayY?0:-Re.height,{x:re.x+Mt,y:re.y+$t}}_getOverlayFit(re,Re,pe,Mt){const $t=je(Re);let{x:zt,y:bn}=re,Un=this._getOffset(Mt,"x"),jn=this._getOffset(Mt,"y");Un&&(zt+=Un),jn&&(bn+=jn);let Ln=0-bn,Bn=bn+$t.height-pe.height,ti=this._subtractOverflows($t.width,0-zt,zt+$t.width-pe.width),Ft=this._subtractOverflows($t.height,Ln,Bn),Nt=ti*Ft;return{visibleArea:Nt,isCompletelyWithinViewport:$t.width*$t.height===Nt,fitsInViewportVertically:Ft===$t.height,fitsInViewportHorizontally:ti==$t.width}}_canFitWithFlexibleDimensions(re,Re,pe){if(this._hasFlexibleDimensions){const Mt=pe.bottom-Re.y,$t=pe.right-Re.x,zt=$e(this._overlayRef.getConfig().minHeight),bn=$e(this._overlayRef.getConfig().minWidth);return(re.fitsInViewportVertically||null!=zt&&zt<=Mt)&&(re.fitsInViewportHorizontally||null!=bn&&bn<=$t)}return!1}_pushOverlayOnScreen(re,Re,pe){if(this._previousPushAmount&&this._positionLocked)return{x:re.x+this._previousPushAmount.x,y:re.y+this._previousPushAmount.y};const Mt=je(Re),$t=this._viewportRect,zt=Math.max(re.x+Mt.width-$t.width,0),bn=Math.max(re.y+Mt.height-$t.height,0),Un=Math.max($t.top-pe.top-re.y,0),jn=Math.max($t.left-pe.left-re.x,0);let dn=0,kn=0;return dn=Mt.width<=$t.width?jn||-zt:re.x<this._viewportMargin?$t.left-pe.left-re.x:0,kn=Mt.height<=$t.height?Un||-bn:re.y<this._viewportMargin?$t.top-pe.top-re.y:0,this._previousPushAmount={x:dn,y:kn},{x:re.x+dn,y:re.y+kn}}_applyPosition(re,Re){if(this._setTransformOrigin(re),this._setOverlayElementStyles(Re,re),this._setBoundingBoxStyles(Re,re),re.panelClass&&this._addPanelClasses(re.panelClass),this._lastPosition=re,this._positionChanges.observers.length){const pe=this._getScrollVisibility(),Mt=new Se(re,pe);this._positionChanges.next(Mt)}this._isInitialRender=!1}_setTransformOrigin(re){if(!this._transformOriginSelector)return;const Re=this._boundingBox.querySelectorAll(this._transformOriginSelector);let pe,Mt=re.overlayY;pe="center"===re.overlayX?"center":this._isRtl()?"start"===re.overlayX?"right":"left":"start"===re.overlayX?"left":"right";for(let $t=0;$t<Re.length;$t++)Re[$t].style.transformOrigin=`${pe} ${Mt}`}_calculateBoundingBoxRect(re,Re){const pe=this._viewportRect,Mt=this._isRtl();let $t,zt,bn,dn,kn,Ln;if("top"===Re.overlayY)zt=re.y,$t=pe.height-zt+this._viewportMargin;else if("bottom"===Re.overlayY)bn=pe.height-re.y+2*this._viewportMargin,$t=pe.height-bn+this._viewportMargin;else{const Bn=Math.min(pe.bottom-re.y+pe.top,re.y),ti=this._lastBoundingBoxSize.height;$t=2*Bn,zt=re.y-Bn,$t>ti&&!this._isInitialRender&&!this._growAfterOpen&&(zt=re.y-ti/2)}if("end"===Re.overlayX&&!Mt||"start"===Re.overlayX&&Mt)Ln=pe.width-re.x+this._viewportMargin,dn=re.x-this._viewportMargin;else if("start"===Re.overlayX&&!Mt||"end"===Re.overlayX&&Mt)kn=re.x,dn=pe.right-re.x;else{const Bn=Math.min(pe.right-re.x+pe.left,re.x),ti=this._lastBoundingBoxSize.width;dn=2*Bn,kn=re.x-Bn,dn>ti&&!this._isInitialRender&&!this._growAfterOpen&&(kn=re.x-ti/2)}return{top:zt,left:kn,bottom:bn,right:Ln,width:dn,height:$t}}_setBoundingBoxStyles(re,Re){const pe=this._calculateBoundingBoxRect(re,Re);!this._isInitialRender&&!this._growAfterOpen&&(pe.height=Math.min(pe.height,this._lastBoundingBoxSize.height),pe.width=Math.min(pe.width,this._lastBoundingBoxSize.width));const Mt={};if(this._hasExactPosition())Mt.top=Mt.left="0",Mt.bottom=Mt.right=Mt.maxHeight=Mt.maxWidth="",Mt.width=Mt.height="100%";else{const $t=this._overlayRef.getConfig().maxHeight,zt=this._overlayRef.getConfig().maxWidth;Mt.height=(0,f.ph)(pe.height),Mt.top=(0,f.ph)(pe.top),Mt.bottom=(0,f.ph)(pe.bottom),Mt.width=(0,f.ph)(pe.width),Mt.left=(0,f.ph)(pe.left),Mt.right=(0,f.ph)(pe.right),Mt.alignItems="center"===Re.overlayX?"center":"end"===Re.overlayX?"flex-end":"flex-start",Mt.justifyContent="center"===Re.overlayY?"center":"bottom"===Re.overlayY?"flex-end":"flex-start",$t&&(Mt.maxHeight=(0,f.ph)($t)),zt&&(Mt.maxWidth=(0,f.ph)(zt))}this._lastBoundingBoxSize=pe,de(this._boundingBox.style,Mt)}_resetBoundingBoxStyles(){de(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){de(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(re,Re){const pe={},Mt=this._hasExactPosition(),$t=this._hasFlexibleDimensions,zt=this._overlayRef.getConfig();if(Mt){const dn=this._viewportRuler.getViewportScrollPosition();de(pe,this._getExactOverlayY(Re,re,dn)),de(pe,this._getExactOverlayX(Re,re,dn))}else pe.position="static";let bn="",Un=this._getOffset(Re,"x"),jn=this._getOffset(Re,"y");Un&&(bn+=`translateX(${Un}px) `),jn&&(bn+=`translateY(${jn}px)`),pe.transform=bn.trim(),zt.maxHeight&&(Mt?pe.maxHeight=(0,f.ph)(zt.maxHeight):$t&&(pe.maxHeight="")),zt.maxWidth&&(Mt?pe.maxWidth=(0,f.ph)(zt.maxWidth):$t&&(pe.maxWidth="")),de(this._pane.style,pe)}_getExactOverlayY(re,Re,pe){let Mt={top:"",bottom:""},$t=this._getOverlayPoint(Re,this._overlayRect,re);return this._isPushed&&($t=this._pushOverlayOnScreen($t,this._overlayRect,pe)),"bottom"===re.overlayY?Mt.bottom=this._document.documentElement.clientHeight-($t.y+this._overlayRect.height)+"px":Mt.top=(0,f.ph)($t.y),Mt}_getExactOverlayX(re,Re,pe){let zt,Mt={left:"",right:""},$t=this._getOverlayPoint(Re,this._overlayRect,re);return this._isPushed&&($t=this._pushOverlayOnScreen($t,this._overlayRect,pe)),zt=this._isRtl()?"end"===re.overlayX?"left":"right":"end"===re.overlayX?"right":"left","right"===zt?Mt.right=this._document.documentElement.clientWidth-($t.x+this._overlayRect.width)+"px":Mt.left=(0,f.ph)($t.x),Mt}_getScrollVisibility(){const re=this._getOriginRect(),Re=this._pane.getBoundingClientRect(),pe=this._scrollables.map(Mt=>Mt.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:g(re,pe),isOriginOutsideView:Y(re,pe),isOverlayClipped:g(Re,pe),isOverlayOutsideView:Y(Re,pe)}}_subtractOverflows(re,...Re){return Re.reduce((pe,Mt)=>pe-Math.max(Mt,0),re)}_getNarrowedViewportRect(){const re=this._document.documentElement.clientWidth,Re=this._document.documentElement.clientHeight,pe=this._viewportRuler.getViewportScrollPosition();return{top:pe.top+this._viewportMargin,left:pe.left+this._viewportMargin,right:pe.left+re-this._viewportMargin,bottom:pe.top+Re-this._viewportMargin,width:re-2*this._viewportMargin,height:Re-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(re,Re){return"x"===Re?null==re.offsetX?this._offsetX:re.offsetX:null==re.offsetY?this._offsetY:re.offsetY}_validatePositions(){}_addPanelClasses(re){this._pane&&(0,f.Mt)(re).forEach(Re=>{""!==Re&&-1===this._appliedPanelClasses.indexOf(Re)&&(this._appliedPanelClasses.push(Re),this._pane.classList.add(Re))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(re=>{this._pane.classList.remove(re)}),this._appliedPanelClasses=[])}_getOriginRect(){const re=this._origin;if(re instanceof o.GMv)return re.nativeElement.getBoundingClientRect();if(re instanceof Element)return re.getBoundingClientRect();const Re=re.width||0,pe=re.height||0;return{top:re.y,bottom:re.y+pe,left:re.x,right:re.x+Re,height:pe,width:Re}}}function de(st,re){for(let Re in re)re.hasOwnProperty(Re)&&(st[Re]=re[Re]);return st}function $e(st){if("number"!=typeof st&&null!=st){const[re,Re]=st.split(L);return Re&&"px"!==Re?null:parseFloat(re)}return st||null}function je(st){return{top:Math.floor(st.top),right:Math.floor(st.right),bottom:Math.floor(st.bottom),left:Math.floor(st.left),width:Math.floor(st.width),height:Math.floor(st.height)}}const Ye="cdk-global-overlay-wrapper";class Xe{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(re){const Re=re.getConfig();this._overlayRef=re,this._width&&!Re.width&&re.updateSize({width:this._width}),this._height&&!Re.height&&re.updateSize({height:this._height}),re.hostElement.classList.add(Ye),this._isDisposed=!1}top(re=""){return this._bottomOffset="",this._topOffset=re,this._alignItems="flex-start",this}left(re=""){return this._xOffset=re,this._xPosition="left",this}bottom(re=""){return this._topOffset="",this._bottomOffset=re,this._alignItems="flex-end",this}right(re=""){return this._xOffset=re,this._xPosition="right",this}start(re=""){return this._xOffset=re,this._xPosition="start",this}end(re=""){return this._xOffset=re,this._xPosition="end",this}width(re=""){return this._overlayRef?this._overlayRef.updateSize({width:re}):this._width=re,this}height(re=""){return this._overlayRef?this._overlayRef.updateSize({height:re}):this._height=re,this}centerHorizontally(re=""){return this.left(re),this._xPosition="center",this}centerVertically(re=""){return this.top(re),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const re=this._overlayRef.overlayElement.style,Re=this._overlayRef.hostElement.style,pe=this._overlayRef.getConfig(),{width:Mt,height:$t,maxWidth:zt,maxHeight:bn}=pe,Un=!("100%"!==Mt&&"100vw"!==Mt||zt&&"100%"!==zt&&"100vw"!==zt),jn=!("100%"!==$t&&"100vh"!==$t||bn&&"100%"!==bn&&"100vh"!==bn),dn=this._xPosition,kn=this._xOffset,Ln="rtl"===this._overlayRef.getConfig().direction;let Bn="",ti="",Ft="";Un?Ft="flex-start":"center"===dn?(Ft="center",Ln?ti=kn:Bn=kn):Ln?"left"===dn||"end"===dn?(Ft="flex-end",Bn=kn):("right"===dn||"start"===dn)&&(Ft="flex-start",ti=kn):"left"===dn||"start"===dn?(Ft="flex-start",Bn=kn):("right"===dn||"end"===dn)&&(Ft="flex-end",ti=kn),re.position=this._cssPosition,re.marginLeft=Un?"0":Bn,re.marginTop=jn?"0":this._topOffset,re.marginBottom=this._bottomOffset,re.marginRight=Un?"0":ti,Re.justifyContent=Ft,Re.alignItems=jn?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const re=this._overlayRef.overlayElement.style,Re=this._overlayRef.hostElement,pe=Re.style;Re.classList.remove(Ye),pe.justifyContent=pe.alignItems=re.marginTop=re.marginBottom=re.marginLeft=re.marginRight=re.position="",this._overlayRef=null,this._isDisposed=!0}}let z=(()=>{class st{constructor(Re,pe,Mt,$t){this._viewportRuler=Re,this._document=pe,this._platform=Mt,this._overlayContainer=$t}global(){return new Xe}flexibleConnectedTo(Re){return new H(Re,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(pe){return new(pe||st)(o.CoB(s.S8),o.CoB(d.Ud),o.CoB(l.WU),o.CoB(Je))};static#t=this.\u0275prov=o.wxM({token:st,factory:st.\u0275fac,providedIn:"root"})}return st})(),xe=0,Ct=(()=>{class st{constructor(Re,pe,Mt,$t,zt,bn,Un,jn,dn,kn,Ln,Bn){this.scrollStrategies=Re,this._overlayContainer=pe,this._componentFactoryResolver=Mt,this._positionBuilder=$t,this._keyboardDispatcher=zt,this._injector=bn,this._ngZone=Un,this._document=jn,this._directionality=dn,this._location=kn,this._outsideClickDispatcher=Ln,this._animationsModuleType=Bn}create(Re){const pe=this._createHostElement(),Mt=this._createPaneElement(pe),$t=this._createPortalOutlet(Mt),zt=new te(Re);return zt.direction=zt.direction||this._directionality.value,new ce($t,pe,Mt,zt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(Re){const pe=this._document.createElement("div");return pe.id="cdk-overlay-"+xe++,pe.classList.add("cdk-overlay-pane"),Re.appendChild(pe),pe}_createHostElement(){const Re=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(Re),Re}_createPortalOutlet(Re){return this._appRef||(this._appRef=this._injector.get(o.Swk)),new oe.S4(Re,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(pe){return new(pe||st)(o.CoB(V),o.CoB(Je),o.CoB(o.ce5),o.CoB(z),o.CoB(Gt),o.CoB(o.zZn),o.CoB(o.WW2),o.CoB(d.Ud),o.CoB(ie.yG),o.CoB(d.oB),o.CoB(qe),o.CoB(o.qwP,8))};static#t=this.\u0275prov=o.wxM({token:st,factory:st.\u0275fac,providedIn:"root"})}return st})();const Kt=[{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"}],gt=new o.UbH("cdk-connected-overlay-scroll-strategy");let vt=(()=>{class st{constructor(Re){this.elementRef=Re}static#e=this.\u0275fac=function(pe){return new(pe||st)(o.GI1(o.GMv))};static#t=this.\u0275dir=o.Sc5({type:st,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return st})(),Ot=(()=>{class st{get offsetX(){return this._offsetX}set offsetX(Re){this._offsetX=Re,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(Re){this._offsetY=Re,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(Re){this._hasBackdrop=(0,f.W6)(Re)}get lockPosition(){return this._lockPosition}set lockPosition(Re){this._lockPosition=(0,f.W6)(Re)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(Re){this._flexibleDimensions=(0,f.W6)(Re)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(Re){this._growAfterOpen=(0,f.W6)(Re)}get push(){return this._push}set push(Re){this._push=(0,f.W6)(Re)}constructor(Re,pe,Mt,$t,zt){this._overlay=Re,this._dir=zt,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=ae.wH.EMPTY,this._attachSubscription=ae.wH.EMPTY,this._detachSubscription=ae.wH.EMPTY,this._positionSubscription=ae.wH.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new o._w7,this.positionChange=new o._w7,this.attach=new o._w7,this.detach=new o._w7,this.overlayKeydown=new o._w7,this.overlayOutsideClick=new o._w7,this._templatePortal=new oe.CC(pe,Mt),this._scrollStrategyFactory=$t,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(Re){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),Re.origin&&this.open&&this._position.apply()),Re.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Kt);const Re=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=Re.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=Re.detachments().subscribe(()=>this.detach.emit()),Re.keydownEvents().subscribe(pe=>{this.overlayKeydown.next(pe),pe.keyCode===_e.UX&&!this.disableClose&&!(0,_e.Yp)(pe)&&(pe.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(pe=>{this.overlayOutsideClick.next(pe)})}_buildConfig(){const Re=this._position=this.positionStrategy||this._createPositionStrategy(),pe=new te({direction:this._dir,positionStrategy:Re,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(pe.width=this.width),(this.height||0===this.height)&&(pe.height=this.height),(this.minWidth||0===this.minWidth)&&(pe.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(pe.minHeight=this.minHeight),this.backdropClass&&(pe.backdropClass=this.backdropClass),this.panelClass&&(pe.panelClass=this.panelClass),pe}_updatePositionStrategy(Re){const pe=this.positions.map(Mt=>({originX:Mt.originX,originY:Mt.originY,overlayX:Mt.overlayX,overlayY:Mt.overlayY,offsetX:Mt.offsetX||this.offsetX,offsetY:Mt.offsetY||this.offsetY,panelClass:Mt.panelClass||void 0}));return Re.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(pe).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const Re=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(Re),Re}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof vt?this.origin.elementRef:this.origin}_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(Re=>{this.backdropClick.emit(Re)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function K(st,re=!1){return(0,I.i)((Re,pe)=>{let Mt=0;Re.subscribe((0,B.e)(pe,$t=>{const zt=st($t,Mt++);(zt||re)&&pe.next($t),!zt&&pe.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(Re=>{this.positionChange.emit(Re),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static#e=this.\u0275fac=function(pe){return new(pe||st)(o.GI1(Ct),o.GI1(o.Yw2),o.GI1(o.y8U),o.GI1(gt),o.GI1(ie.yG,8))};static#t=this.\u0275dir=o.Sc5({type:st,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[o.Wk5.None,"cdkConnectedOverlayOrigin","origin"],positions:[o.Wk5.None,"cdkConnectedOverlayPositions","positions"],positionStrategy:[o.Wk5.None,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[o.Wk5.None,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[o.Wk5.None,"cdkConnectedOverlayOffsetY","offsetY"],width:[o.Wk5.None,"cdkConnectedOverlayWidth","width"],height:[o.Wk5.None,"cdkConnectedOverlayHeight","height"],minWidth:[o.Wk5.None,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[o.Wk5.None,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[o.Wk5.None,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[o.Wk5.None,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[o.Wk5.None,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[o.Wk5.None,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[o.Wk5.None,"cdkConnectedOverlayOpen","open"],disableClose:[o.Wk5.None,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[o.Wk5.None,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[o.Wk5.None,"cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:[o.Wk5.None,"cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:[o.Wk5.None,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:[o.Wk5.None,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:[o.Wk5.None,"cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[o.SYr]})}return st})();const Ne={provide:gt,deps:[Ct],useFactory:function Ke(st){return()=>st.scrollStrategies.reposition()}};let He=(()=>{class st{static#e=this.\u0275fac=function(pe){return new(pe||st)};static#t=this.\u0275mod=o.a4G({type:st});static#n=this.\u0275inj=o.s3X({providers:[Ct,Ne],imports:[ie.gN,oe.g$,s.c$,s.c$]})}return st})()},5792:(lt,me,u)=>{"use strict";u.d(me,{C8:()=>j,Ml:()=>ae,W4:()=>K,WU:()=>f,Yx:()=>ke,kk:()=>Ge,mU:()=>_,mW:()=>le,oZ:()=>rt});var s=u(2116),d=u(1368);let o;try{o=typeof Intl<"u"&&Intl.v8BreakIterator}catch{o=!1}let i,f=(()=>{class ye{constructor(g){this._platformId=g,this.isBrowser=this._platformId?(0,d.c0)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!o)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(X){return new(X||ye)(s.CoB(s.AHE))};static#t=this.\u0275prov=s.wxM({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();const y=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function _(){if(i)return i;if("object"!=typeof document||!document)return i=new Set(y),i;let ye=document.createElement("input");return i=new Set(y.filter(Y=>(ye.setAttribute("type",Y),ye.type===Y))),i}let I,ie,oe,Z;function K(ye){return function B(){if(null==I&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>I=!0}))}finally{I=I||!1}return I}()?ye:!!ye.capture}function Ge(){if(null==oe){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return oe=!1,oe;if("scrollBehavior"in document.documentElement.style)oe=!0;else{const ye=Element.prototype.scrollTo;oe=!!ye&&!/\{\s*\[native code\]\s*\}/.test(ye.toString())}}return oe}function ae(){if("object"!=typeof document||!document)return 0;if(null==ie){const ye=document.createElement("div"),Y=ye.style;ye.dir="rtl",Y.width="1px",Y.overflow="auto",Y.visibility="hidden",Y.pointerEvents="none",Y.position="absolute";const g=document.createElement("div"),X=g.style;X.width="2px",X.height="1px",ye.appendChild(g),document.body.appendChild(ye),ie=0,0===ye.scrollLeft&&(ye.scrollLeft=1,ie=0===ye.scrollLeft?1:2),ye.remove()}return ie}function j(ye){if(function _e(){if(null==Z){const ye=typeof document<"u"?document.head:null;Z=!(!ye||!ye.createShadowRoot&&!ye.attachShadow)}return Z}()){const Y=ye.getRootNode?ye.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&Y instanceof ShadowRoot)return Y}return null}function ke(){let ye=typeof document<"u"&&document?document.activeElement:null;for(;ye&&ye.shadowRoot;){const Y=ye.shadowRoot.activeElement;if(Y===ye)break;ye=Y}return ye}function rt(ye){return ye.composedPath?ye.composedPath()[0]:ye.target}function le(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},107:(lt,me,u)=>{"use strict";u.d(me,{CC:()=>K,Ef:()=>oe,IP:()=>ke,KC:()=>B,S4:()=>ae,YT:()=>_e,g$:()=>le});var s=u(2116),d=u(1368);class I{attach(g){return this._attachedHost=g,g.attach(this)}detach(){let g=this._attachedHost;null!=g&&(this._attachedHost=null,g.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(g){this._attachedHost=g}}class B extends I{constructor(g,X,V,te,be){super(),this.component=g,this.viewContainerRef=X,this.injector=V,this.componentFactoryResolver=te,this.projectableNodes=be}}class K extends I{constructor(g,X,V,te){super(),this.templateRef=g,this.viewContainerRef=X,this.context=V,this.injector=te}get origin(){return this.templateRef.elementRef}attach(g,X=this.context){return this.context=X,super.attach(g)}detach(){return this.context=void 0,super.detach()}}class ie extends I{constructor(g){super(),this.element=g instanceof s.GMv?g.nativeElement:g}}class oe{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(g){return g instanceof B?(this._attachedPortal=g,this.attachComponentPortal(g)):g instanceof K?(this._attachedPortal=g,this.attachTemplatePortal(g)):this.attachDomPortal&&g instanceof ie?(this._attachedPortal=g,this.attachDomPortal(g)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(g){this._disposeFn=g}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class ae extends oe{constructor(g,X,V,te,be){super(),this.outletElement=g,this._componentFactoryResolver=X,this._appRef=V,this._defaultInjector=te,this.attachDomPortal=Fe=>{const Se=Fe.element,ot=this._document.createComment("dom-portal");Se.parentNode.insertBefore(ot,Se),this.outletElement.appendChild(Se),this._attachedPortal=Fe,super.setDisposeFn(()=>{ot.parentNode&&ot.parentNode.replaceChild(Se,ot)})},this._document=be}attachComponentPortal(g){const V=(g.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(g.component);let te;return g.viewContainerRef?(te=g.viewContainerRef.createComponent(V,g.viewContainerRef.length,g.injector||g.viewContainerRef.injector,g.projectableNodes||void 0),this.setDisposeFn(()=>te.destroy())):(te=V.create(g.injector||this._defaultInjector||s.zZn.NULL),this._appRef.attachView(te.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(te.hostView),te.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(te)),this._attachedPortal=g,te}attachTemplatePortal(g){let X=g.viewContainerRef,V=X.createEmbeddedView(g.templateRef,g.context,{injector:g.injector});return V.rootNodes.forEach(te=>this.outletElement.appendChild(te)),V.detectChanges(),this.setDisposeFn(()=>{let te=X.indexOf(V);-1!==te&&X.remove(te)}),this._attachedPortal=g,V}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(g){return g.hostView.rootNodes[0]}}let _e=(()=>{class Y extends K{constructor(X,V){super(X,V)}static#e=this.\u0275fac=function(V){return new(V||Y)(s.GI1(s.Yw2),s.GI1(s.y8U))};static#t=this.\u0275dir=s.Sc5({type:Y,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[s.eg9]})}return Y})(),ke=(()=>{class Y extends oe{constructor(X,V,te){super(),this._componentFactoryResolver=X,this._viewContainerRef=V,this._isInitialized=!1,this.attached=new s._w7,this.attachDomPortal=be=>{const Fe=be.element,Se=this._document.createComment("dom-portal");be.setAttachedHost(this),Fe.parentNode.insertBefore(Se,Fe),this._getRootNode().appendChild(Fe),this._attachedPortal=be,super.setDisposeFn(()=>{Se.parentNode&&Se.parentNode.replaceChild(Fe,Se)})},this._document=te}get portal(){return this._attachedPortal}set portal(X){this.hasAttached()&&!X&&!this._isInitialized||(this.hasAttached()&&super.detach(),X&&super.attach(X),this._attachedPortal=X||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(X){X.setAttachedHost(this);const V=null!=X.viewContainerRef?X.viewContainerRef:this._viewContainerRef,be=(X.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(X.component),Fe=V.createComponent(be,V.length,X.injector||V.injector,X.projectableNodes||void 0);return V!==this._viewContainerRef&&this._getRootNode().appendChild(Fe.hostView.rootNodes[0]),super.setDisposeFn(()=>Fe.destroy()),this._attachedPortal=X,this._attachedRef=Fe,this.attached.emit(Fe),Fe}attachTemplatePortal(X){X.setAttachedHost(this);const V=this._viewContainerRef.createEmbeddedView(X.templateRef,X.context,{injector:X.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=X,this._attachedRef=V,this.attached.emit(V),V}_getRootNode(){const X=this._viewContainerRef.element.nativeElement;return X.nodeType===X.ELEMENT_NODE?X:X.parentNode}static#e=this.\u0275fac=function(V){return new(V||Y)(s.GI1(s.ce5),s.GI1(s.y8U),s.GI1(d.Ud))};static#t=this.\u0275dir=s.Sc5({type:Y,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[s.Wk5.None,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[s.eg9]})}return Y})(),le=(()=>{class Y{static#e=this.\u0275fac=function(V){return new(V||Y)};static#t=this.\u0275mod=s.a4G({type:Y});static#n=this.\u0275inj=s.s3X({})}return Y})()},3572:(lt,me,u)=>{"use strict";u.d(me,{Ci:()=>Je,uU:()=>z,Yn:()=>qe,c$:()=>xe,S8:()=>Ae});var s=u(7712),d=u(2116),o=u(5657),f=u(2700),l=u(3252),i=u(8420),y=u(1364),_=u(6928);const I={schedule(Ct){let Kt=requestAnimationFrame,gt=cancelAnimationFrame;const{delegate:vt}=I;vt&&(Kt=vt.requestAnimationFrame,gt=vt.cancelAnimationFrame);const Ot=Kt(Ke=>{gt=void 0,Ct(Ke)});return new _.wH(()=>gt?.(Ot))},requestAnimationFrame(...Ct){const{delegate:Kt}=I;return(Kt?.requestAnimationFrame||requestAnimationFrame)(...Ct)},cancelAnimationFrame(...Ct){const{delegate:Kt}=I;return(Kt?.cancelAnimationFrame||cancelAnimationFrame)(...Ct)},delegate:void 0};var K=u(9816);new class ie extends K.k{flush(Kt){this._active=!0;const gt=this._scheduled;this._scheduled=void 0;const{actions:vt}=this;let Ot;Kt=Kt||vt.shift();do{if(Ot=Kt.execute(Kt.state,Kt.delay))break}while((Kt=vt[0])&&Kt.id===gt&&vt.shift());if(this._active=!1,Ot){for(;(Kt=vt[0])&&Kt.id===gt&&vt.shift();)Kt.unsubscribe();throw Ot}}}(class B extends y.m{constructor(Kt,gt){super(Kt,gt),this.scheduler=Kt,this.work=gt}requestAsyncId(Kt,gt,vt=0){return null!==vt&&vt>0?super.requestAsyncId(Kt,gt,vt):(Kt.actions.push(this),Kt._scheduled||(Kt._scheduled=I.requestAnimationFrame(()=>Kt.flush(void 0))))}recycleAsyncId(Kt,gt,vt=0){var Ot;if(null!=vt?vt>0:this.delay>0)return super.recycleAsyncId(Kt,gt,vt);const{actions:Ke}=Kt;null!=gt&&(null===(Ot=Ke[Ke.length-1])||void 0===Ot?void 0:Ot.id)!==gt&&(I.cancelAnimationFrame(gt),Kt._scheduled=void 0)}});u(1472);var Z=u(112),_e=u(5448),j=u(560),ke=u(7773),le=u(4548);function ye(Ct,Kt=Z.M){return function rt(Ct){return(0,_e.i)((Kt,gt)=>{let vt=!1,Ot=null,Ke=null,Ne=!1;const He=()=>{if(Ke?.unsubscribe(),Ke=null,vt){vt=!1;const st=Ot;Ot=null,gt.next(st)}Ne&&gt.complete()},Me=()=>{Ke=null,Ne&&gt.complete()};Kt.subscribe((0,ke.e)(gt,st=>{vt=!0,Ot=st,Ke||(0,j.Uv)(Ct(st)).subscribe(Ke=(0,ke.e)(gt,He,Me))},()=>{Ne=!0,(!vt||!Ke||Ke.closed)&&gt.complete()}))})}(()=>(0,le.k)(Ct,Kt))}var Y=u(6684),g=u(3616),X=u(5792),V=u(1368),te=u(1900);let qe=(()=>{class Ct{constructor(gt,vt,Ot){this._ngZone=gt,this._platform=vt,this._scrolled=new o.E,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Ot}register(gt){this.scrollContainers.has(gt)||this.scrollContainers.set(gt,gt.elementScrolled().subscribe(()=>this._scrolled.next(gt)))}deregister(gt){const vt=this.scrollContainers.get(gt);vt&&(vt.unsubscribe(),this.scrollContainers.delete(gt))}scrolled(gt=20){return this._platform.isBrowser?new l._(vt=>{this._globalSubscription||this._addGlobalListener();const Ot=gt>0?this._scrolled.pipe(ye(gt)).subscribe(vt):this._scrolled.subscribe(vt);return this._scrolledCount++,()=>{Ot.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,f.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((gt,vt)=>this.deregister(vt)),this._scrolled.complete()}ancestorScrolled(gt,vt){const Ot=this.getAncestorScrollContainers(gt);return this.scrolled(vt).pipe((0,Y.I)(Ke=>!Ke||Ot.indexOf(Ke)>-1))}getAncestorScrollContainers(gt){const vt=[];return this.scrollContainers.forEach((Ot,Ke)=>{this._scrollableContainsElement(Ke,gt)&&vt.push(Ke)}),vt}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(gt,vt){let Ot=(0,s.mk)(vt),Ke=gt.getElementRef().nativeElement;do{if(Ot==Ke)return!0}while(Ot=Ot.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const gt=this._getWindow();return(0,i.w)(gt.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(vt){return new(vt||Ct)(d.CoB(d.WW2),d.CoB(X.WU),d.CoB(V.Ud,8))};static#t=this.\u0275prov=d.wxM({token:Ct,factory:Ct.\u0275fac,providedIn:"root"})}return Ct})(),Je=(()=>{class Ct{constructor(gt,vt,Ot,Ke){this.elementRef=gt,this.scrollDispatcher=vt,this.ngZone=Ot,this.dir=Ke,this._destroyed=new o.E,this._elementScrolled=new l._(Ne=>this.ngZone.runOutsideAngular(()=>(0,i.w)(this.elementRef.nativeElement,"scroll").pipe((0,g.a)(this._destroyed)).subscribe(Ne)))}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(gt){const vt=this.elementRef.nativeElement,Ot=this.dir&&"rtl"==this.dir.value;null==gt.left&&(gt.left=Ot?gt.end:gt.start),null==gt.right&&(gt.right=Ot?gt.start:gt.end),null!=gt.bottom&&(gt.top=vt.scrollHeight-vt.clientHeight-gt.bottom),Ot&&0!=(0,X.Ml)()?(null!=gt.left&&(gt.right=vt.scrollWidth-vt.clientWidth-gt.left),2==(0,X.Ml)()?gt.left=gt.right:1==(0,X.Ml)()&&(gt.left=gt.right?-gt.right:gt.right)):null!=gt.right&&(gt.left=vt.scrollWidth-vt.clientWidth-gt.right),this._applyScrollToOptions(gt)}_applyScrollToOptions(gt){const vt=this.elementRef.nativeElement;(0,X.kk)()?vt.scrollTo(gt):(null!=gt.top&&(vt.scrollTop=gt.top),null!=gt.left&&(vt.scrollLeft=gt.left))}measureScrollOffset(gt){const vt="left",Ke=this.elementRef.nativeElement;if("top"==gt)return Ke.scrollTop;if("bottom"==gt)return Ke.scrollHeight-Ke.clientHeight-Ke.scrollTop;const Ne=this.dir&&"rtl"==this.dir.value;return"start"==gt?gt=Ne?"right":vt:"end"==gt&&(gt=Ne?vt:"right"),Ne&&2==(0,X.Ml)()?gt==vt?Ke.scrollWidth-Ke.clientWidth-Ke.scrollLeft:Ke.scrollLeft:Ne&&1==(0,X.Ml)()?gt==vt?Ke.scrollLeft+Ke.scrollWidth-Ke.clientWidth:-Ke.scrollLeft:gt==vt?Ke.scrollLeft:Ke.scrollWidth-Ke.clientWidth-Ke.scrollLeft}static#e=this.\u0275fac=function(vt){return new(vt||Ct)(d.GI1(d.GMv),d.GI1(qe),d.GI1(d.WW2),d.GI1(te.yG,8))};static#t=this.\u0275dir=d.Sc5({type:Ct,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}return Ct})(),Ae=(()=>{class Ct{constructor(gt,vt,Ot){this._platform=gt,this._change=new o.E,this._changeListener=Ke=>{this._change.next(Ke)},this._document=Ot,vt.runOutsideAngular(()=>{if(gt.isBrowser){const Ke=this._getWindow();Ke.addEventListener("resize",this._changeListener),Ke.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const gt=this._getWindow();gt.removeEventListener("resize",this._changeListener),gt.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const gt={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),gt}getViewportRect(){const gt=this.getViewportScrollPosition(),{width:vt,height:Ot}=this.getViewportSize();return{top:gt.top,left:gt.left,bottom:gt.top+Ot,right:gt.left+vt,height:Ot,width:vt}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const gt=this._document,vt=this._getWindow(),Ot=gt.documentElement,Ke=Ot.getBoundingClientRect();return{top:-Ke.top||gt.body.scrollTop||vt.scrollY||Ot.scrollTop||0,left:-Ke.left||gt.body.scrollLeft||vt.scrollX||Ot.scrollLeft||0}}change(gt=20){return gt>0?this._change.pipe(ye(gt)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const gt=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:gt.innerWidth,height:gt.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(vt){return new(vt||Ct)(d.CoB(X.WU),d.CoB(d.WW2),d.CoB(V.Ud,8))};static#t=this.\u0275prov=d.wxM({token:Ct,factory:Ct.\u0275fac,providedIn:"root"})}return Ct})(),z=(()=>{class Ct{static#e=this.\u0275fac=function(vt){return new(vt||Ct)};static#t=this.\u0275mod=d.a4G({type:Ct});static#n=this.\u0275inj=d.s3X({})}return Ct})(),xe=(()=>{class Ct{static#e=this.\u0275fac=function(vt){return new(vt||Ct)};static#t=this.\u0275mod=d.a4G({type:Ct});static#n=this.\u0275inj=d.s3X({imports:[te.gN,z,te.gN,z]})}return Ct})()},1368:(lt,me,u)=>{"use strict";u.d(me,{Ko:()=>mi,MD:()=>qr,MP:()=>_e,OM:()=>we,QF:()=>nn,Qd:()=>Ge,Qt:()=>oi,Sg:()=>xt,UZ:()=>Dr,Ud:()=>y,Wm:()=>Ui,XV:()=>gi,YZ:()=>m,_k:()=>os,a:()=>ci,aO:()=>_,ay:()=>Kn,c0:()=>Ei,cf:()=>nr,hl:()=>ss,mQ:()=>I,mg:()=>l,oB:()=>j,uC:()=>Z,u_:()=>ii,uf:()=>Es,ug:()=>f,uy:()=>o,wH:()=>ae,y:()=>xr});var s=u(2116);let d=null;function o(){return d}function f(x){d??=x}class l{}const y=new s.UbH("");let _=(()=>{class x{historyGo(J){throw new Error("")}static#e=this.\u0275fac=function(ge){return new(ge||x)};static#t=this.\u0275prov=s.wxM({token:x,factory:()=>(0,s.uUt)(B),providedIn:"platform"})}return x})();const I=new s.UbH("");let B=(()=>{class x extends _{constructor(){super(),this._doc=(0,s.uUt)(y),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return o().getBaseHref(this._doc)}onPopState(J){const ge=o().getGlobalEventTarget(this._doc,"window");return ge.addEventListener("popstate",J,!1),()=>ge.removeEventListener("popstate",J)}onHashChange(J){const ge=o().getGlobalEventTarget(this._doc,"window");return ge.addEventListener("hashchange",J,!1),()=>ge.removeEventListener("hashchange",J)}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(J){this._location.pathname=J}pushState(J,ge,Tt){this._history.pushState(J,ge,Tt)}replaceState(J,ge,Tt){this._history.replaceState(J,ge,Tt)}forward(){this._history.forward()}back(){this._history.back()}historyGo(J=0){this._history.go(J)}getState(){return this._history.state}static#e=this.\u0275fac=function(ge){return new(ge||x)};static#t=this.\u0275prov=s.wxM({token:x,factory:()=>new x,providedIn:"platform"})}return x})();function K(x,Ve){if(0==x.length)return Ve;if(0==Ve.length)return x;let J=0;return x.endsWith("/")&&J++,Ve.startsWith("/")&&J++,2==J?x+Ve.substring(1):1==J?x+Ve:x+"/"+Ve}function ie(x){const Ve=x.match(/#|\?|$/),J=Ve&&Ve.index||x.length;return x.slice(0,J-("/"===x[J-1]?1:0))+x.slice(J)}function oe(x){return x&&"?"!==x[0]?"?"+x:x}let Ge=(()=>{class x{historyGo(J){throw new Error("")}static#e=this.\u0275fac=function(ge){return new(ge||x)};static#t=this.\u0275prov=s.wxM({token:x,factory:()=>(0,s.uUt)(Z),providedIn:"root"})}return x})();const ae=new s.UbH("");let Z=(()=>{class x extends Ge{constructor(J,ge){super(),this._platformLocation=J,this._removeListenerFns=[],this._baseHref=ge??this._platformLocation.getBaseHrefFromDOM()??(0,s.uUt)(y).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(J){this._removeListenerFns.push(this._platformLocation.onPopState(J),this._platformLocation.onHashChange(J))}getBaseHref(){return this._baseHref}prepareExternalUrl(J){return K(this._baseHref,J)}path(J=!1){const ge=this._platformLocation.pathname+oe(this._platformLocation.search),Tt=this._platformLocation.hash;return Tt&&J?`${ge}${Tt}`:ge}pushState(J,ge,Tt,on){const yn=this.prepareExternalUrl(Tt+oe(on));this._platformLocation.pushState(J,ge,yn)}replaceState(J,ge,Tt,on){const yn=this.prepareExternalUrl(Tt+oe(on));this._platformLocation.replaceState(J,ge,yn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(J=0){this._platformLocation.historyGo?.(J)}static#e=this.\u0275fac=function(ge){return new(ge||x)(s.CoB(_),s.CoB(ae,8))};static#t=this.\u0275prov=s.wxM({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})(),_e=(()=>{class x extends Ge{constructor(J,ge){super(),this._platformLocation=J,this._baseHref="",this._removeListenerFns=[],null!=ge&&(this._baseHref=ge)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(J){this._removeListenerFns.push(this._platformLocation.onPopState(J),this._platformLocation.onHashChange(J))}getBaseHref(){return this._baseHref}path(J=!1){const ge=this._platformLocation.hash??"#";return ge.length>0?ge.substring(1):ge}prepareExternalUrl(J){const ge=K(this._baseHref,J);return ge.length>0?"#"+ge:ge}pushState(J,ge,Tt,on){let yn=this.prepareExternalUrl(Tt+oe(on));0==yn.length&&(yn=this._platformLocation.pathname),this._platformLocation.pushState(J,ge,yn)}replaceState(J,ge,Tt,on){let yn=this.prepareExternalUrl(Tt+oe(on));0==yn.length&&(yn=this._platformLocation.pathname),this._platformLocation.replaceState(J,ge,yn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(J=0){this._platformLocation.historyGo?.(J)}static#e=this.\u0275fac=function(ge){return new(ge||x)(s.CoB(_),s.CoB(ae,8))};static#t=this.\u0275prov=s.wxM({token:x,factory:x.\u0275fac})}return x})(),j=(()=>{class x{constructor(J){this._subject=new s._w7,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=J;const ge=this._locationStrategy.getBaseHref();this._basePath=function ye(x){if(new RegExp("^(https?:)?//").test(x)){const[,J]=x.split(/\/\/[^\/]+/);return J}return x}(ie(le(ge))),this._locationStrategy.onPopState(Tt=>{this._subject.emit({url:this.path(!0),pop:!0,state:Tt.state,type:Tt.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(J=!1){return this.normalize(this._locationStrategy.path(J))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(J,ge=""){return this.path()==this.normalize(J+oe(ge))}normalize(J){return x.stripTrailingSlash(function rt(x,Ve){if(!x||!Ve.startsWith(x))return Ve;const J=Ve.substring(x.length);return""===J||["/",";","?","#"].includes(J[0])?J:Ve}(this._basePath,le(J)))}prepareExternalUrl(J){return J&&"/"!==J[0]&&(J="/"+J),this._locationStrategy.prepareExternalUrl(J)}go(J,ge="",Tt=null){this._locationStrategy.pushState(Tt,"",J,ge),this._notifyUrlChangeListeners(this.prepareExternalUrl(J+oe(ge)),Tt)}replaceState(J,ge="",Tt=null){this._locationStrategy.replaceState(Tt,"",J,ge),this._notifyUrlChangeListeners(this.prepareExternalUrl(J+oe(ge)),Tt)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(J=0){this._locationStrategy.historyGo?.(J)}onUrlChange(J){return this._urlChangeListeners.push(J),this._urlChangeSubscription??=this.subscribe(ge=>{this._notifyUrlChangeListeners(ge.url,ge.state)}),()=>{const ge=this._urlChangeListeners.indexOf(J);this._urlChangeListeners.splice(ge,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(J="",ge){this._urlChangeListeners.forEach(Tt=>Tt(J,ge))}subscribe(J,ge,Tt){return this._subject.subscribe({next:J,error:ge,complete:Tt})}static#e=this.normalizeQueryParams=oe;static#t=this.joinWithSlash=K;static#n=this.stripTrailingSlash=ie;static#i=this.\u0275fac=function(ge){return new(ge||x)(s.CoB(Ge))};static#r=this.\u0275prov=s.wxM({token:x,factory:()=>function ke(){return new j((0,s.CoB)(Ge))}(),providedIn:"root"})}return x})();function le(x){return x.replace(/\/index.html$/,"")}const Y={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]};var g=function(x){return x[x.Decimal=0]="Decimal",x[x.Percent=1]="Percent",x[x.Currency=2]="Currency",x[x.Scientific=3]="Scientific",x}(g||{}),V=function(x){return x[x.Format=0]="Format",x[x.Standalone=1]="Standalone",x}(V||{}),te=function(x){return x[x.Narrow=0]="Narrow",x[x.Abbreviated=1]="Abbreviated",x[x.Wide=2]="Wide",x[x.Short=3]="Short",x}(te||{}),be=function(x){return x[x.Short=0]="Short",x[x.Medium=1]="Medium",x[x.Long=2]="Long",x[x.Full=3]="Full",x}(be||{});const Fe={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};function Ae(x,Ve){return gt((0,s.iMv)(x)[s.GUM.DateFormat],Ve)}function L(x,Ve){return gt((0,s.iMv)(x)[s.GUM.TimeFormat],Ve)}function H(x,Ve){return gt((0,s.iMv)(x)[s.GUM.DateTimeFormat],Ve)}function de(x,Ve){const J=(0,s.iMv)(x),ge=J[s.GUM.NumberSymbols][Ve];if(typeof ge>"u"){if(Ve===Fe.CurrencyDecimal)return J[s.GUM.NumberSymbols][Fe.Decimal];if(Ve===Fe.CurrencyGroup)return J[s.GUM.NumberSymbols][Fe.Group]}return ge}function $e(x,Ve){return(0,s.iMv)(x)[s.GUM.NumberFormats][Ve]}function z(x){if(!x[s.GUM.ExtraData])throw new Error(`Missing extra locale data for the locale "${x[s.GUM.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function gt(x,Ve){for(let J=Ve;J>-1;J--)if(typeof x[J]<"u")return x[J];throw new Error("Locale data API: locale data undefined")}function vt(x){const[Ve,J]=x.split(":");return{hours:+Ve,minutes:+J}}const He=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Me={},st=/((?:[^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]*)/;var re=function(x){return x[x.Short=0]="Short",x[x.ShortGMT=1]="ShortGMT",x[x.Long=2]="Long",x[x.Extended=3]="Extended",x}(re||{}),Re=function(x){return x[x.FullYear=0]="FullYear",x[x.Month=1]="Month",x[x.Date=2]="Date",x[x.Hours=3]="Hours",x[x.Minutes=4]="Minutes",x[x.Seconds=5]="Seconds",x[x.FractionalSeconds=6]="FractionalSeconds",x[x.Day=7]="Day",x}(Re||{}),pe=function(x){return x[x.DayPeriods=0]="DayPeriods",x[x.Days=1]="Days",x[x.Months=2]="Months",x[x.Eras=3]="Eras",x}(pe||{});function Mt(x,Ve,J,ge){let Tt=function at(x){if(it(x))return x;if("number"==typeof x&&!isNaN(x))return new Date(x);if("string"==typeof x){if(x=x.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(x)){const[Tt,on=1,yn=1]=x.split("-").map(ei=>+ei);return $t(Tt,on-1,yn)}const J=parseFloat(x);if(!isNaN(x-J))return new Date(J);let ge;if(ge=x.match(He))return function Oe(x){const Ve=new Date(0);let J=0,ge=0;const Tt=x[8]?Ve.setUTCFullYear:Ve.setFullYear,on=x[8]?Ve.setUTCHours:Ve.setHours;x[9]&&(J=Number(x[9]+x[10]),ge=Number(x[9]+x[11])),Tt.call(Ve,Number(x[1]),Number(x[2])-1,Number(x[3]));const yn=Number(x[4]||0)-J,ei=Number(x[5]||0)-ge,fr=Number(x[6]||0),_r=Math.floor(1e3*parseFloat("0."+(x[7]||0)));return on.call(Ve,yn,ei,fr,_r),Ve}(ge)}const Ve=new Date(x);if(!it(Ve))throw new Error(`Unable to convert "${x}" into a date`);return Ve}(x);Ve=zt(J,Ve)||Ve;let ei,yn=[];for(;Ve;){if(ei=st.exec(Ve),!ei){yn.push(Ve);break}{yn=yn.concat(ei.slice(1));const ar=yn.pop();if(!ar)break;Ve=ar}}let fr=Tt.getTimezoneOffset();ge&&(fr=F(ge,fr),Tt=function Te(x,Ve,J){const ge=J?-1:1,Tt=x.getTimezoneOffset();return function Ce(x,Ve){return(x=new Date(x.getTime())).setMinutes(x.getMinutes()+Ve),x}(x,ge*(F(Ve,Tt)-Tt))}(Tt,ge,!0));let _r="";return yn.forEach(ar=>{const Gi=function fe(x){if(De[x])return De[x];let Ve;switch(x){case"G":case"GG":case"GGG":Ve=Ln(pe.Eras,te.Abbreviated);break;case"GGGG":Ve=Ln(pe.Eras,te.Wide);break;case"GGGGG":Ve=Ln(pe.Eras,te.Narrow);break;case"y":Ve=dn(Re.FullYear,1,0,!1,!0);break;case"yy":Ve=dn(Re.FullYear,2,0,!0,!0);break;case"yyy":Ve=dn(Re.FullYear,3,0,!1,!0);break;case"yyyy":Ve=dn(Re.FullYear,4,0,!1,!0);break;case"Y":Ve=We(1);break;case"YY":Ve=We(2,!0);break;case"YYY":Ve=We(3);break;case"YYYY":Ve=We(4);break;case"M":case"L":Ve=dn(Re.Month,1,1);break;case"MM":case"LL":Ve=dn(Re.Month,2,1);break;case"MMM":Ve=Ln(pe.Months,te.Abbreviated);break;case"MMMM":Ve=Ln(pe.Months,te.Wide);break;case"MMMMM":Ve=Ln(pe.Months,te.Narrow);break;case"LLL":Ve=Ln(pe.Months,te.Abbreviated,V.Standalone);break;case"LLLL":Ve=Ln(pe.Months,te.Wide,V.Standalone);break;case"LLLLL":Ve=Ln(pe.Months,te.Narrow,V.Standalone);break;case"w":Ve=Vt(1);break;case"ww":Ve=Vt(2);break;case"W":Ve=Vt(1,!0);break;case"d":Ve=dn(Re.Date,1);break;case"dd":Ve=dn(Re.Date,2);break;case"c":case"cc":Ve=dn(Re.Day,1);break;case"ccc":Ve=Ln(pe.Days,te.Abbreviated,V.Standalone);break;case"cccc":Ve=Ln(pe.Days,te.Wide,V.Standalone);break;case"ccccc":Ve=Ln(pe.Days,te.Narrow,V.Standalone);break;case"cccccc":Ve=Ln(pe.Days,te.Short,V.Standalone);break;case"E":case"EE":case"EEE":Ve=Ln(pe.Days,te.Abbreviated);break;case"EEEE":Ve=Ln(pe.Days,te.Wide);break;case"EEEEE":Ve=Ln(pe.Days,te.Narrow);break;case"EEEEEE":Ve=Ln(pe.Days,te.Short);break;case"a":case"aa":case"aaa":Ve=Ln(pe.DayPeriods,te.Abbreviated);break;case"aaaa":Ve=Ln(pe.DayPeriods,te.Wide);break;case"aaaaa":Ve=Ln(pe.DayPeriods,te.Narrow);break;case"b":case"bb":case"bbb":Ve=Ln(pe.DayPeriods,te.Abbreviated,V.Standalone,!0);break;case"bbbb":Ve=Ln(pe.DayPeriods,te.Wide,V.Standalone,!0);break;case"bbbbb":Ve=Ln(pe.DayPeriods,te.Narrow,V.Standalone,!0);break;case"B":case"BB":case"BBB":Ve=Ln(pe.DayPeriods,te.Abbreviated,V.Format,!0);break;case"BBBB":Ve=Ln(pe.DayPeriods,te.Wide,V.Format,!0);break;case"BBBBB":Ve=Ln(pe.DayPeriods,te.Narrow,V.Format,!0);break;case"h":Ve=dn(Re.Hours,1,-12);break;case"hh":Ve=dn(Re.Hours,2,-12);break;case"H":Ve=dn(Re.Hours,1);break;case"HH":Ve=dn(Re.Hours,2);break;case"m":Ve=dn(Re.Minutes,1);break;case"mm":Ve=dn(Re.Minutes,2);break;case"s":Ve=dn(Re.Seconds,1);break;case"ss":Ve=dn(Re.Seconds,2);break;case"S":Ve=dn(Re.FractionalSeconds,1);break;case"SS":Ve=dn(Re.FractionalSeconds,2);break;case"SSS":Ve=dn(Re.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Ve=ti(re.Short);break;case"ZZZZZ":Ve=ti(re.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Ve=ti(re.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Ve=ti(re.Long);break;default:return null}return De[x]=Ve,Ve}(ar);_r+=Gi?Gi(Tt,J,fr):"''"===ar?"'":ar.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),_r}function $t(x,Ve,J){const ge=new Date(0);return ge.setFullYear(x,Ve,J),ge.setHours(0,0,0),ge}function zt(x,Ve){const J=function ot(x){return(0,s.iMv)(x)[s.GUM.LocaleId]}(x);if(Me[J]??={},Me[J][Ve])return Me[J][Ve];let ge="";switch(Ve){case"shortDate":ge=Ae(x,be.Short);break;case"mediumDate":ge=Ae(x,be.Medium);break;case"longDate":ge=Ae(x,be.Long);break;case"fullDate":ge=Ae(x,be.Full);break;case"shortTime":ge=L(x,be.Short);break;case"mediumTime":ge=L(x,be.Medium);break;case"longTime":ge=L(x,be.Long);break;case"fullTime":ge=L(x,be.Full);break;case"short":const Tt=zt(x,"shortTime"),on=zt(x,"shortDate");ge=bn(H(x,be.Short),[Tt,on]);break;case"medium":const yn=zt(x,"mediumTime"),ei=zt(x,"mediumDate");ge=bn(H(x,be.Medium),[yn,ei]);break;case"long":const fr=zt(x,"longTime"),_r=zt(x,"longDate");ge=bn(H(x,be.Long),[fr,_r]);break;case"full":const ar=zt(x,"fullTime"),Gi=zt(x,"fullDate");ge=bn(H(x,be.Full),[ar,Gi])}return ge&&(Me[J][Ve]=ge),ge}function bn(x,Ve){return Ve&&(x=x.replace(/\{([^}]+)}/g,function(J,ge){return null!=Ve&&ge in Ve?Ve[ge]:J})),x}function Un(x,Ve,J="-",ge,Tt){let on="";(x<0||Tt&&x<=0)&&(Tt?x=1-x:(x=-x,on=J));let yn=String(x);for(;yn.length<Ve;)yn="0"+yn;return ge&&(yn=yn.slice(yn.length-Ve)),on+yn}function dn(x,Ve,J=0,ge=!1,Tt=!1){return function(on,yn){let ei=function kn(x,Ve){switch(x){case Re.FullYear:return Ve.getFullYear();case Re.Month:return Ve.getMonth();case Re.Date:return Ve.getDate();case Re.Hours:return Ve.getHours();case Re.Minutes:return Ve.getMinutes();case Re.Seconds:return Ve.getSeconds();case Re.FractionalSeconds:return Ve.getMilliseconds();case Re.Day:return Ve.getDay();default:throw new Error(`Unknown DateType value "${x}".`)}}(x,on);if((J>0||ei>-J)&&(ei+=J),x===Re.Hours)0===ei&&-12===J&&(ei=12);else if(x===Re.FractionalSeconds)return function jn(x,Ve){return Un(x,3).substring(0,Ve)}(ei,Ve);const fr=de(yn,Fe.MinusSign);return Un(ei,Ve,fr,ge,Tt)}}function Ln(x,Ve,J=V.Format,ge=!1){return function(Tt,on){return function Bn(x,Ve,J,ge,Tt,on){switch(J){case pe.Months:return function Gt(x,Ve,J){const ge=(0,s.iMv)(x),on=gt([ge[s.GUM.MonthsFormat],ge[s.GUM.MonthsStandalone]],Ve);return gt(on,J)}(Ve,Tt,ge)[x.getMonth()];case pe.Days:return function pt(x,Ve,J){const ge=(0,s.iMv)(x),on=gt([ge[s.GUM.DaysFormat],ge[s.GUM.DaysStandalone]],Ve);return gt(on,J)}(Ve,Tt,ge)[x.getDay()];case pe.DayPeriods:const yn=x.getHours(),ei=x.getMinutes();if(on){const _r=function xe(x){const Ve=(0,s.iMv)(x);return z(Ve),(Ve[s.GUM.ExtraData][2]||[]).map(ge=>"string"==typeof ge?vt(ge):[vt(ge[0]),vt(ge[1])])}(Ve),ar=function Ct(x,Ve,J){const ge=(0,s.iMv)(x);z(ge);const on=gt([ge[s.GUM.ExtraData][0],ge[s.GUM.ExtraData][1]],Ve)||[];return gt(on,J)||[]}(Ve,Tt,ge),Gi=_r.findIndex(zr=>{if(Array.isArray(zr)){const[lr,ns]=zr,Ri=yn>=lr.hours&&ei>=lr.minutes,On=yn<ns.hours||yn===ns.hours&&ei<ns.minutes;if(lr.hours<ns.hours){if(Ri&&On)return!0}else if(Ri||On)return!0}else if(zr.hours===yn&&zr.minutes===ei)return!0;return!1});if(-1!==Gi)return ar[Gi]}return function _t(x,Ve,J){const ge=(0,s.iMv)(x),on=gt([ge[s.GUM.DayPeriodsFormat],ge[s.GUM.DayPeriodsStandalone]],Ve);return gt(on,J)}(Ve,Tt,ge)[yn<12?0:1];case pe.Eras:return function qe(x,Ve){return gt((0,s.iMv)(x)[s.GUM.Eras],Ve)}(Ve,ge)[x.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${J}`)}}(Tt,on,x,Ve,J,ge)}}function ti(x){return function(Ve,J,ge){const Tt=-1*ge,on=de(J,Fe.MinusSign),yn=Tt>0?Math.floor(Tt/60):Math.ceil(Tt/60);switch(x){case re.Short:return(Tt>=0?"+":"")+Un(yn,2,on)+Un(Math.abs(Tt%60),2,on);case re.ShortGMT:return"GMT"+(Tt>=0?"+":"")+Un(yn,1,on);case re.Long:return"GMT"+(Tt>=0?"+":"")+Un(yn,2,on)+":"+Un(Math.abs(Tt%60),2,on);case re.Extended:return 0===ge?"Z":(Tt>=0?"+":"")+Un(yn,2,on)+":"+Un(Math.abs(Tt%60),2,on);default:throw new Error(`Unknown zone width "${x}"`)}}}const Ft=0,Nt=4;function en(x){const Ve=x.getDay(),J=0===Ve?-3:Nt-Ve;return $t(x.getFullYear(),x.getMonth(),x.getDate()+J)}function Vt(x,Ve=!1){return function(J,ge){let Tt;if(Ve){const on=new Date(J.getFullYear(),J.getMonth(),1).getDay()-1,yn=J.getDate();Tt=1+Math.floor((yn+on)/7)}else{const on=en(J),yn=function It(x){const Ve=$t(x,Ft,1).getDay();return $t(x,0,1+(Ve<=Nt?Nt:Nt+7)-Ve)}(on.getFullYear()),ei=on.getTime()-yn.getTime();Tt=1+Math.round(ei/6048e5)}return Un(Tt,x,de(ge,Fe.MinusSign))}}function We(x,Ve=!1){return function(J,ge){return Un(en(J).getFullYear(),x,de(ge,Fe.MinusSign),Ve)}}const De={};function F(x,Ve){x=x.replace(/:/g,"");const J=Date.parse("Jan 01, 1970 00:00:00 "+x)/6e4;return isNaN(J)?Ve:J}function it(x){return x instanceof Date&&!isNaN(x.valueOf())}const bt=/^(\d+)?\.((\d+)(-(\d+))?)?$/,jt=22,mn=".",Cn="0",xn=";",Fn=",",$n="#";function Oi(x,Ve,J,ge,Tt,on,yn=!1){let ei="",fr=!1;if(isFinite(x)){let _r=function ur(x){let ge,Tt,on,yn,ei,Ve=Math.abs(x)+"",J=0;for((Tt=Ve.indexOf(mn))>-1&&(Ve=Ve.replace(mn,"")),(on=Ve.search(/e/i))>0?(Tt<0&&(Tt=on),Tt+=+Ve.slice(on+1),Ve=Ve.substring(0,on)):Tt<0&&(Tt=Ve.length),on=0;Ve.charAt(on)===Cn;on++);if(on===(ei=Ve.length))ge=[0],Tt=1;else{for(ei--;Ve.charAt(ei)===Cn;)ei--;for(Tt-=on,ge=[],yn=0;on<=ei;on++,yn++)ge[yn]=Number(Ve.charAt(on))}return Tt>jt&&(ge=ge.splice(0,jt-1),J=Tt-1,Tt=1),{digits:ge,exponent:J,integerLen:Tt}}(x);yn&&(_r=function ls(x){if(0===x.digits[0])return x;const Ve=x.digits.length-x.integerLen;return x.exponent?x.exponent+=2:(0===Ve?x.digits.push(0,0):1===Ve&&x.digits.push(0),x.integerLen+=2),x}(_r));let ar=Ve.minInt,Gi=Ve.minFrac,zr=Ve.maxFrac;if(on){const cr=on.match(bt);if(null===cr)throw new Error(`${on} is not a valid digit info`);const Kr=cr[1],Gr=cr[3],Ur=cr[5];null!=Kr&&(ar=ds(Kr)),null!=Gr&&(Gi=ds(Gr)),null!=Ur?zr=ds(Ur):null!=Gr&&Gi>zr&&(zr=Gi)}!function Nr(x,Ve,J){if(Ve>J)throw new Error(`The minimum number of digits after fraction (${Ve}) is higher than the maximum (${J}).`);let ge=x.digits,Tt=ge.length-x.integerLen;const on=Math.min(Math.max(Ve,Tt),J);let yn=on+x.integerLen,ei=ge[yn];if(yn>0){ge.splice(Math.max(x.integerLen,yn));for(let Gi=yn;Gi<ge.length;Gi++)ge[Gi]=0}else{Tt=Math.max(0,Tt),x.integerLen=1,ge.length=Math.max(1,yn=on+1),ge[0]=0;for(let Gi=1;Gi<yn;Gi++)ge[Gi]=0}if(ei>=5)if(yn-1<0){for(let Gi=0;Gi>yn;Gi--)ge.unshift(0),x.integerLen++;ge.unshift(1),x.integerLen++}else ge[yn-1]++;for(;Tt<Math.max(0,on);Tt++)ge.push(0);let fr=0!==on;const _r=Ve+x.integerLen,ar=ge.reduceRight(function(Gi,zr,lr,ns){return ns[lr]=(zr+=Gi)<10?zr:zr-10,fr&&(0===ns[lr]&&lr>=_r?ns.pop():fr=!1),zr>=10?1:0},0);ar&&(ge.unshift(ar),x.integerLen++)}(_r,Gi,zr);let lr=_r.digits,ns=_r.integerLen;const Ri=_r.exponent;let On=[];for(fr=lr.every(cr=>!cr);ns<ar;ns++)lr.unshift(0);for(;ns<0;ns++)lr.unshift(0);ns>0?On=lr.splice(ns,lr.length):(On=lr,lr=[0]);const li=[];for(lr.length>=Ve.lgSize&&li.unshift(lr.splice(-Ve.lgSize,lr.length).join(""));lr.length>Ve.gSize;)li.unshift(lr.splice(-Ve.gSize,lr.length).join(""));lr.length&&li.unshift(lr.join("")),ei=li.join(de(J,ge)),On.length&&(ei+=de(J,Tt)+On.join("")),Ri&&(ei+=de(J,Fe.Exponential)+"+"+Ri)}else ei=de(J,Fe.Infinity);return ei=x<0&&!fr?Ve.negPre+ei+Ve.negSuf:Ve.posPre+ei+Ve.posSuf,ei}function qn(x,Ve="-"){const J={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},ge=x.split(xn),Tt=ge[0],on=ge[1],yn=-1!==Tt.indexOf(mn)?Tt.split(mn):[Tt.substring(0,Tt.lastIndexOf(Cn)+1),Tt.substring(Tt.lastIndexOf(Cn)+1)],ei=yn[0],fr=yn[1]||"";J.posPre=ei.substring(0,ei.indexOf($n));for(let ar=0;ar<fr.length;ar++){const Gi=fr.charAt(ar);Gi===Cn?J.minFrac=J.maxFrac=ar+1:Gi===$n?J.maxFrac=ar+1:J.posSuf+=Gi}const _r=ei.split(Fn);if(J.gSize=_r[1]?_r[1].length:0,J.lgSize=_r[2]||_r[1]?(_r[2]||_r[1]).length:0,on){const ar=Tt.length-J.posPre.length-J.posSuf.length,Gi=on.indexOf($n);J.negPre=on.substring(0,Gi).replace(/'/g,""),J.negSuf=on.slice(Gi+ar).replace(/'/g,"")}else J.negPre=Ve+J.posPre,J.negSuf=J.posSuf;return J}function ds(x){const Ve=parseInt(x);if(isNaN(Ve))throw new Error("Invalid integer literal when parsing "+x);return Ve}function xt(x,Ve){Ve=encodeURIComponent(Ve);for(const J of x.split(";")){const ge=J.indexOf("="),[Tt,on]=-1==ge?[J,""]:[J.slice(0,ge),J.slice(ge+1)];if(Tt.trim()===Ve)return decodeURIComponent(on)}return null}const At=/\s+/,hn=[];let nn=(()=>{class x{constructor(J,ge){this._ngEl=J,this._renderer=ge,this.initialClasses=hn,this.stateMap=new Map}set klass(J){this.initialClasses=null!=J?J.trim().split(At):hn}set ngClass(J){this.rawClass="string"==typeof J?J.trim().split(At):J}ngDoCheck(){for(const ge of this.initialClasses)this._updateState(ge,!0);const J=this.rawClass;if(Array.isArray(J)||J instanceof Set)for(const ge of J)this._updateState(ge,!0);else if(null!=J)for(const ge of Object.keys(J))this._updateState(ge,!!J[ge]);this._applyStateDiff()}_updateState(J,ge){const Tt=this.stateMap.get(J);void 0!==Tt?(Tt.enabled!==ge&&(Tt.changed=!0,Tt.enabled=ge),Tt.touched=!0):this.stateMap.set(J,{enabled:ge,changed:!0,touched:!0})}_applyStateDiff(){for(const J of this.stateMap){const ge=J[0],Tt=J[1];Tt.changed?(this._toggleClass(ge,Tt.enabled),Tt.changed=!1):Tt.touched||(Tt.enabled&&this._toggleClass(ge,!1),this.stateMap.delete(ge)),Tt.touched=!1}}_toggleClass(J,ge){(J=J.trim()).length>0&&J.split(At).forEach(Tt=>{ge?this._renderer.addClass(this._ngEl.nativeElement,Tt):this._renderer.removeClass(this._ngEl.nativeElement,Tt)})}static#e=this.\u0275fac=function(ge){return new(ge||x)(s.GI1(s.GMv),s.GI1(s.q87))};static#t=this.\u0275dir=s.Sc5({type:x,selectors:[["","ngClass",""]],inputs:{klass:[s.Wk5.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return x})();class fi{constructor(Ve,J,ge,Tt){this.$implicit=Ve,this.ngForOf=J,this.index=ge,this.count=Tt}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Kn=(()=>{class x{set ngForOf(J){this._ngForOf=J,this._ngForOfDirty=!0}set ngForTrackBy(J){this._trackByFn=J}get ngForTrackBy(){return this._trackByFn}constructor(J,ge,Tt){this._viewContainer=J,this._template=ge,this._differs=Tt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(J){J&&(this._template=J)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const J=this._ngForOf;!this._differ&&J&&(this._differ=this._differs.find(J).create(this.ngForTrackBy))}if(this._differ){const J=this._differ.diff(this._ngForOf);J&&this._applyChanges(J)}}_applyChanges(J){const ge=this._viewContainer;J.forEachOperation((Tt,on,yn)=>{if(null==Tt.previousIndex)ge.createEmbeddedView(this._template,new fi(Tt.item,this._ngForOf,-1,-1),null===yn?void 0:yn);else if(null==yn)ge.remove(null===on?void 0:on);else if(null!==on){const ei=ge.get(on);ge.move(ei,yn),Wn(ei,Tt)}});for(let Tt=0,on=ge.length;Tt<on;Tt++){const ei=ge.get(Tt).context;ei.index=Tt,ei.count=on,ei.ngForOf=this._ngForOf}J.forEachIdentityChange(Tt=>{Wn(ge.get(Tt.currentIndex),Tt)})}static ngTemplateContextGuard(J,ge){return!0}static#e=this.\u0275fac=function(ge){return new(ge||x)(s.GI1(s.y8U),s.GI1(s.Yw2),s.GI1(s.Uj7))};static#t=this.\u0275dir=s.Sc5({type:x,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return x})();function Wn(x,Ve){x.context.$implicit=Ve.item}let ii=(()=>{class x{constructor(J,ge){this._viewContainer=J,this._context=new ui,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=ge}set ngIf(J){this._context.$implicit=this._context.ngIf=J,this._updateView()}set ngIfThen(J){Ai("ngIfThen",J),this._thenTemplateRef=J,this._thenViewRef=null,this._updateView()}set ngIfElse(J){Ai("ngIfElse",J),this._elseTemplateRef=J,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 ngTemplateContextGuard(J,ge){return!0}static#e=this.\u0275fac=function(ge){return new(ge||x)(s.GI1(s.y8U),s.GI1(s.Yw2))};static#t=this.\u0275dir=s.Sc5({type:x,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return x})();class ui{constructor(){this.$implicit=null,this.ngIf=null}}function Ai(x,Ve){if(Ve&&!Ve.createEmbeddedView)throw new Error(`${x} must be a TemplateRef, but received '${(0,s.GEN)(Ve)}'.`)}class yi{constructor(Ve,J){this._viewContainerRef=Ve,this._templateRef=J,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Ve){Ve&&!this._created?this.create():!Ve&&this._created&&this.destroy()}}let mi=(()=>{class x{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(J){this._ngSwitch=J,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(J){this._defaultViews.push(J)}_matchCase(J){const ge=J===this._ngSwitch;return this._lastCasesMatched||=ge,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),ge}_updateDefaultCases(J){if(this._defaultViews.length>0&&J!==this._defaultUsed){this._defaultUsed=J;for(const ge of this._defaultViews)ge.enforceState(J)}}static#e=this.\u0275fac=function(ge){return new(ge||x)};static#t=this.\u0275dir=s.Sc5({type:x,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return x})(),Ui=(()=>{class x{constructor(J,ge,Tt){this.ngSwitch=Tt,Tt._addCase(),this._view=new yi(J,ge)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(ge){return new(ge||x)(s.GI1(s.y8U),s.GI1(s.Yw2),s.GI1(mi,9))};static#t=this.\u0275dir=s.Sc5({type:x,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return x})(),Dr=(()=>{class x{constructor(J,ge,Tt){Tt._addDefault(new yi(J,ge))}static#e=this.\u0275fac=function(ge){return new(ge||x)(s.GI1(s.y8U),s.GI1(s.Yw2),s.GI1(mi,9))};static#t=this.\u0275dir=s.Sc5({type:x,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return x})(),oi=(()=>{class x{constructor(J,ge,Tt){this._ngEl=J,this._differs=ge,this._renderer=Tt,this._ngStyle=null,this._differ=null}set ngStyle(J){this._ngStyle=J,!this._differ&&J&&(this._differ=this._differs.find(J).create())}ngDoCheck(){if(this._differ){const J=this._differ.diff(this._ngStyle);J&&this._applyChanges(J)}}_setStyle(J,ge){const[Tt,on]=J.split("."),yn=-1===Tt.indexOf("-")?void 0:s.yzm.DashCase;null!=ge?this._renderer.setStyle(this._ngEl.nativeElement,Tt,on?`${ge}${on}`:ge,yn):this._renderer.removeStyle(this._ngEl.nativeElement,Tt,yn)}_applyChanges(J){J.forEachRemovedItem(ge=>this._setStyle(ge.key,null)),J.forEachAddedItem(ge=>this._setStyle(ge.key,ge.currentValue)),J.forEachChangedItem(ge=>this._setStyle(ge.key,ge.currentValue))}static#e=this.\u0275fac=function(ge){return new(ge||x)(s.GI1(s.GMv),s.GI1(s.YNh),s.GI1(s.q87))};static#t=this.\u0275dir=s.Sc5({type:x,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return x})(),gi=(()=>{class x{constructor(J){this._viewContainerRef=J,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(J){if(this._shouldRecreateView(J)){const ge=this._viewContainerRef;if(this._viewRef&&ge.remove(ge.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Tt=this._createContextForwardProxy();this._viewRef=ge.createEmbeddedView(this.ngTemplateOutlet,Tt,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(J){return!!J.ngTemplateOutlet||!!J.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(J,ge,Tt)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,ge,Tt),get:(J,ge,Tt)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,ge,Tt)}})}static#e=this.\u0275fac=function(ge){return new(ge||x)(s.GI1(s.y8U))};static#t=this.\u0275dir=s.Sc5({type:x,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[s.SYr]})}return x})();function Hr(x,Ve){return new s.OBp(2100,!1)}class Or{createSubscription(Ve,J){return(0,s.sRj)(()=>Ve.subscribe({next:J,error:ge=>{throw ge}}))}dispose(Ve){(0,s.sRj)(()=>Ve.unsubscribe())}}class Pr{createSubscription(Ve,J){return Ve.then(J,ge=>{throw ge})}dispose(Ve){}}const Gs=new Pr,bs=new Or;let ci=(()=>{class x{constructor(J){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=J}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(J){if(!this._obj){if(J)try{this.markForCheckOnValueUpdate=!1,this._subscribe(J)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return J!==this._obj?(this._dispose(),this.transform(J)):this._latestValue}_subscribe(J){this._obj=J,this._strategy=this._selectStrategy(J),this._subscription=this._strategy.createSubscription(J,ge=>this._updateLatestValue(J,ge))}_selectStrategy(J){if((0,s.w5$)(J))return Gs;if((0,s.gX2)(J))return bs;throw Hr()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(J,ge){J===this._obj&&(this._latestValue=ge,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(ge){return new(ge||x)(s.GI1(s.kD9,16))};static#t=this.\u0275pipe=s.UTH({name:"async",type:x,pure:!1,standalone:!0})}return x})();const gs=new s.UbH(""),mr=new s.UbH("");let xr=(()=>{class x{constructor(J,ge,Tt){this.locale=J,this.defaultTimezone=ge,this.defaultOptions=Tt}transform(J,ge,Tt,on){if(null==J||""===J||J!=J)return null;try{return Mt(J,ge??this.defaultOptions?.dateFormat??"mediumDate",on||this.locale,Tt??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(yn){throw Hr()}}static#e=this.\u0275fac=function(ge){return new(ge||x)(s.GI1(s.KYU,16),s.GI1(gs,24),s.GI1(mr,24))};static#t=this.\u0275pipe=s.UTH({name:"date",type:x,pure:!0,standalone:!0})}return x})(),ss=(()=>{class x{constructor(J){this._locale=J}transform(J,ge,Tt){if(!Jr(J))return null;Tt||=this._locale;try{return function Mi(x,Ve,J){return Oi(x,qn($e(Ve,g.Decimal),de(Ve,Fe.MinusSign)),Ve,Fe.Group,Fe.Decimal,J)}(di(J),Tt,ge)}catch(on){throw Hr()}}static#e=this.\u0275fac=function(ge){return new(ge||x)(s.GI1(s.KYU,16))};static#t=this.\u0275pipe=s.UTH({name:"number",type:x,pure:!0,standalone:!0})}return x})(),nr=(()=>{class x{constructor(J,ge="USD"){this._locale=J,this._defaultCurrencyCode=ge}transform(J,ge=this._defaultCurrencyCode,Tt="symbol",on,yn){if(!Jr(J))return null;yn||=this._locale,"boolean"==typeof Tt&&(Tt=Tt?"symbol":"code");let ei=ge||this._defaultCurrencyCode;"code"!==Tt&&(ei="symbol"===Tt||"symbol-narrow"===Tt?function Ot(x,Ve,J="en"){const ge=function Ye(x){return(0,s.iMv)(x)[s.GUM.Currencies]}(J)[x]||Y[x]||[],Tt=ge[1];return"narrow"===Ve&&"string"==typeof Tt?Tt:ge[0]||x}(ei,"symbol"===Tt?"wide":"narrow",yn):Tt);try{return function Er(x,Ve,J,ge,Tt){const yn=qn($e(Ve,g.Currency),de(Ve,Fe.MinusSign));return yn.minFrac=function Ne(x){let Ve;const J=Y[x];return J&&(Ve=J[2]),"number"==typeof Ve?Ve:2}(ge),yn.maxFrac=yn.minFrac,Oi(x,yn,Ve,Fe.CurrencyGroup,Fe.CurrencyDecimal,Tt).replace("\xa4",J).replace("\xa4","").trim()}(di(J),yn,ei,ge,on)}catch(fr){throw Hr()}}static#e=this.\u0275fac=function(ge){return new(ge||x)(s.GI1(s.KYU,16),s.GI1(s.ayF,16))};static#t=this.\u0275pipe=s.UTH({name:"currency",type:x,pure:!0,standalone:!0})}return x})();function Jr(x){return!(null==x||""===x||x!=x)}function di(x){if("string"==typeof x&&!isNaN(Number(x)-parseFloat(x)))return Number(x);if("number"!=typeof x)throw new Error(`${x} is not a number`);return x}let qr=(()=>{class x{static#e=this.\u0275fac=function(ge){return new(ge||x)};static#t=this.\u0275mod=s.a4G({type:x});static#n=this.\u0275inj=s.s3X({})}return x})();const os="browser",Os="server";function Ei(x){return x===os}function Es(x){return x===Os}let m=(()=>{class x{static#e=this.\u0275prov=(0,s.wxM)({token:x,providedIn:"root",factory:()=>Ei((0,s.uUt)(s.AHE))?new b((0,s.uUt)(y),window):new Q})}return x})();class b{constructor(Ve,J){this.document=Ve,this.window=J,this.offset=()=>[0,0]}setOffset(Ve){this.offset=Array.isArray(Ve)?()=>Ve:Ve}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(Ve){this.window.scrollTo(Ve[0],Ve[1])}scrollToAnchor(Ve){const J=function G(x,Ve){const J=x.getElementById(Ve)||x.getElementsByName(Ve)[0];if(J)return J;if("function"==typeof x.createTreeWalker&&x.body&&"function"==typeof x.body.attachShadow){const ge=x.createTreeWalker(x.body,NodeFilter.SHOW_ELEMENT);let Tt=ge.currentNode;for(;Tt;){const on=Tt.shadowRoot;if(on){const yn=on.getElementById(Ve)||on.querySelector(`[name="${Ve}"]`);if(yn)return yn}Tt=ge.nextNode()}}return null}(this.document,Ve);J&&(this.scrollToElement(J),J.focus())}setHistoryScrollRestoration(Ve){this.window.history.scrollRestoration=Ve}scrollToElement(Ve){const J=Ve.getBoundingClientRect(),ge=J.left+this.window.pageXOffset,Tt=J.top+this.window.pageYOffset,on=this.offset();this.window.scrollTo(ge-on[0],Tt-on[1])}}class Q{setOffset(Ve){}getScrollPosition(){return[0,0]}scrollToPosition(Ve){}scrollToAnchor(Ve){}setHistoryScrollRestoration(Ve){}}class we{}},7048:(lt,me,u)=>{"use strict";u.d(me,{KK:()=>Ae,SU:()=>xn,So:()=>xe,UD:()=>Ge,i4:()=>ye}),u(3448);var d=u(2116),o=u(2700),f=u(3252),l=u(4496),i=u(6020),y=u(6684),_=u(4704),I=u(8824),B=u(7368),K=u(1368);class ie{}class oe{}class Ge{constructor(xt){this.normalizedNames=new Map,this.lazyUpdate=null,xt?"string"==typeof xt?this.lazyInit=()=>{this.headers=new Map,xt.split("\n").forEach(At=>{const hn=At.indexOf(":");if(hn>0){const nn=At.slice(0,hn),Pn=nn.toLowerCase(),In=At.slice(hn+1).trim();this.maybeSetNormalizedName(nn,Pn),this.headers.has(Pn)?this.headers.get(Pn).push(In):this.headers.set(Pn,[In])}})}:typeof Headers<"u"&&xt instanceof Headers?(this.headers=new Map,xt.forEach((At,hn)=>{this.setHeaderEntries(hn,At)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(xt).forEach(([At,hn])=>{this.setHeaderEntries(At,hn)})}:this.headers=new Map}has(xt){return this.init(),this.headers.has(xt.toLowerCase())}get(xt){this.init();const At=this.headers.get(xt.toLowerCase());return At&&At.length>0?At[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(xt){return this.init(),this.headers.get(xt.toLowerCase())||null}append(xt,At){return this.clone({name:xt,value:At,op:"a"})}set(xt,At){return this.clone({name:xt,value:At,op:"s"})}delete(xt,At){return this.clone({name:xt,value:At,op:"d"})}maybeSetNormalizedName(xt,At){this.normalizedNames.has(At)||this.normalizedNames.set(At,xt)}init(){this.lazyInit&&(this.lazyInit instanceof Ge?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(xt=>this.applyUpdate(xt)),this.lazyUpdate=null))}copyFrom(xt){xt.init(),Array.from(xt.headers.keys()).forEach(At=>{this.headers.set(At,xt.headers.get(At)),this.normalizedNames.set(At,xt.normalizedNames.get(At))})}clone(xt){const At=new Ge;return At.lazyInit=this.lazyInit&&this.lazyInit instanceof Ge?this.lazyInit:this,At.lazyUpdate=(this.lazyUpdate||[]).concat([xt]),At}applyUpdate(xt){const At=xt.name.toLowerCase();switch(xt.op){case"a":case"s":let hn=xt.value;if("string"==typeof hn&&(hn=[hn]),0===hn.length)return;this.maybeSetNormalizedName(xt.name,At);const nn=("a"===xt.op?this.headers.get(At):void 0)||[];nn.push(...hn),this.headers.set(At,nn);break;case"d":const Pn=xt.value;if(Pn){let In=this.headers.get(At);if(!In)return;In=In.filter(fi=>-1===Pn.indexOf(fi)),0===In.length?(this.headers.delete(At),this.normalizedNames.delete(At)):this.headers.set(At,In)}else this.headers.delete(At),this.normalizedNames.delete(At)}}setHeaderEntries(xt,At){const hn=(Array.isArray(At)?At:[At]).map(Pn=>Pn.toString()),nn=xt.toLowerCase();this.headers.set(nn,hn),this.maybeSetNormalizedName(xt,nn)}forEach(xt){this.init(),Array.from(this.normalizedNames.keys()).forEach(At=>xt(this.normalizedNames.get(At),this.headers.get(At)))}}class Z{encodeKey(xt){return rt(xt)}encodeValue(xt){return rt(xt)}decodeKey(xt){return decodeURIComponent(xt)}decodeValue(xt){return decodeURIComponent(xt)}}const j=/%(\d[a-f0-9])/gi,ke={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function rt(ht){return encodeURIComponent(ht).replace(j,(xt,At)=>ke[At]??xt)}function le(ht){return`${ht}`}class ye{constructor(xt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=xt.encoder||new Z,xt.fromString){if(xt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function _e(ht,xt){const At=new Map;return ht.length>0&&ht.replace(/^\?/,"").split("&").forEach(nn=>{const Pn=nn.indexOf("="),[In,fi]=-1==Pn?[xt.decodeKey(nn),""]:[xt.decodeKey(nn.slice(0,Pn)),xt.decodeValue(nn.slice(Pn+1))],Kn=At.get(In)||[];Kn.push(fi),At.set(In,Kn)}),At}(xt.fromString,this.encoder)}else xt.fromObject?(this.map=new Map,Object.keys(xt.fromObject).forEach(At=>{const hn=xt.fromObject[At],nn=Array.isArray(hn)?hn.map(le):[le(hn)];this.map.set(At,nn)})):this.map=null}has(xt){return this.init(),this.map.has(xt)}get(xt){this.init();const At=this.map.get(xt);return At?At[0]:null}getAll(xt){return this.init(),this.map.get(xt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(xt,At){return this.clone({param:xt,value:At,op:"a"})}appendAll(xt){const At=[];return Object.keys(xt).forEach(hn=>{const nn=xt[hn];Array.isArray(nn)?nn.forEach(Pn=>{At.push({param:hn,value:Pn,op:"a"})}):At.push({param:hn,value:nn,op:"a"})}),this.clone(At)}set(xt,At){return this.clone({param:xt,value:At,op:"s"})}delete(xt,At){return this.clone({param:xt,value:At,op:"d"})}toString(){return this.init(),this.keys().map(xt=>{const At=this.encoder.encodeKey(xt);return this.map.get(xt).map(hn=>At+"="+this.encoder.encodeValue(hn)).join("&")}).filter(xt=>""!==xt).join("&")}clone(xt){const At=new ye({encoder:this.encoder});return At.cloneFrom=this.cloneFrom||this,At.updates=(this.updates||[]).concat(xt),At}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(xt=>this.map.set(xt,this.cloneFrom.map.get(xt))),this.updates.forEach(xt=>{switch(xt.op){case"a":case"s":const At=("a"===xt.op?this.map.get(xt.param):void 0)||[];At.push(le(xt.value)),this.map.set(xt.param,At);break;case"d":if(void 0===xt.value){this.map.delete(xt.param);break}{let hn=this.map.get(xt.param)||[];const nn=hn.indexOf(le(xt.value));-1!==nn&&hn.splice(nn,1),hn.length>0?this.map.set(xt.param,hn):this.map.delete(xt.param)}}}),this.cloneFrom=this.updates=null)}}class g{constructor(){this.map=new Map}set(xt,At){return this.map.set(xt,At),this}get(xt){return this.map.has(xt)||this.map.set(xt,xt.defaultValue()),this.map.get(xt)}delete(xt){return this.map.delete(xt),this}has(xt){return this.map.has(xt)}keys(){return this.map.keys()}}function V(ht){return typeof ArrayBuffer<"u"&&ht instanceof ArrayBuffer}function te(ht){return typeof Blob<"u"&&ht instanceof Blob}function be(ht){return typeof FormData<"u"&&ht instanceof FormData}class Se{constructor(xt,At,hn,nn){let Pn;if(this.url=At,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=xt.toUpperCase(),function X(ht){switch(ht){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||nn?(this.body=void 0!==hn?hn:null,Pn=nn):Pn=hn,Pn&&(this.reportProgress=!!Pn.reportProgress,this.withCredentials=!!Pn.withCredentials,Pn.responseType&&(this.responseType=Pn.responseType),Pn.headers&&(this.headers=Pn.headers),Pn.context&&(this.context=Pn.context),Pn.params&&(this.params=Pn.params),this.transferCache=Pn.transferCache),this.headers??=new Ge,this.context??=new g,this.params){const In=this.params.toString();if(0===In.length)this.urlWithParams=At;else{const fi=At.indexOf("?");this.urlWithParams=At+(-1===fi?"?":fi<At.length-1?"&":"")+In}}else this.params=new ye,this.urlWithParams=At}serializeBody(){return null===this.body?null:"string"==typeof this.body||V(this.body)||te(this.body)||be(this.body)||function Fe(ht){return typeof URLSearchParams<"u"&&ht instanceof URLSearchParams}(this.body)?this.body:this.body instanceof ye?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||be(this.body)?null:te(this.body)?this.body.type||null:V(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof ye?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(xt={}){const At=xt.method||this.method,hn=xt.url||this.url,nn=xt.responseType||this.responseType,Pn=xt.transferCache??this.transferCache,In=void 0!==xt.body?xt.body:this.body,fi=xt.withCredentials??this.withCredentials,Kn=xt.reportProgress??this.reportProgress;let Wn=xt.headers||this.headers,Ii=xt.params||this.params;const ii=xt.context??this.context;return void 0!==xt.setHeaders&&(Wn=Object.keys(xt.setHeaders).reduce((ui,Ai)=>ui.set(Ai,xt.setHeaders[Ai]),Wn)),xt.setParams&&(Ii=Object.keys(xt.setParams).reduce((ui,Ai)=>ui.set(Ai,xt.setParams[Ai]),Ii)),new Se(At,hn,In,{params:Ii,headers:Wn,context:ii,reportProgress:Kn,responseType:nn,withCredentials:fi,transferCache:Pn})}}var ot=function(ht){return ht[ht.Sent=0]="Sent",ht[ht.UploadProgress=1]="UploadProgress",ht[ht.ResponseHeader=2]="ResponseHeader",ht[ht.DownloadProgress=3]="DownloadProgress",ht[ht.Response=4]="Response",ht[ht.User=5]="User",ht}(ot||{});class _t{constructor(xt,At=Je.Ok,hn="OK"){this.headers=xt.headers||new Ge,this.status=void 0!==xt.status?xt.status:At,this.statusText=xt.statusText||hn,this.url=xt.url||null,this.ok=this.status>=200&&this.status<300}}class pt extends _t{constructor(xt={}){super(xt),this.type=ot.ResponseHeader}clone(xt={}){return new pt({headers:xt.headers||this.headers,status:void 0!==xt.status?xt.status:this.status,statusText:xt.statusText||this.statusText,url:xt.url||this.url||void 0})}}class Gt extends _t{constructor(xt={}){super(xt),this.type=ot.Response,this.body=void 0!==xt.body?xt.body:null}clone(xt={}){return new Gt({body:void 0!==xt.body?xt.body:this.body,headers:xt.headers||this.headers,status:void 0!==xt.status?xt.status:this.status,statusText:xt.statusText||this.statusText,url:xt.url||this.url||void 0})}}class qe extends _t{constructor(xt){super(xt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${xt.url||"(unknown url)"}`:`Http failure response for ${xt.url||"(unknown url)"}: ${xt.status} ${xt.statusText}`,this.error=xt.error||null}}var Je=function(ht){return ht[ht.Continue=100]="Continue",ht[ht.SwitchingProtocols=101]="SwitchingProtocols",ht[ht.Processing=102]="Processing",ht[ht.EarlyHints=103]="EarlyHints",ht[ht.Ok=200]="Ok",ht[ht.Created=201]="Created",ht[ht.Accepted=202]="Accepted",ht[ht.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",ht[ht.NoContent=204]="NoContent",ht[ht.ResetContent=205]="ResetContent",ht[ht.PartialContent=206]="PartialContent",ht[ht.MultiStatus=207]="MultiStatus",ht[ht.AlreadyReported=208]="AlreadyReported",ht[ht.ImUsed=226]="ImUsed",ht[ht.MultipleChoices=300]="MultipleChoices",ht[ht.MovedPermanently=301]="MovedPermanently",ht[ht.Found=302]="Found",ht[ht.SeeOther=303]="SeeOther",ht[ht.NotModified=304]="NotModified",ht[ht.UseProxy=305]="UseProxy",ht[ht.Unused=306]="Unused",ht[ht.TemporaryRedirect=307]="TemporaryRedirect",ht[ht.PermanentRedirect=308]="PermanentRedirect",ht[ht.BadRequest=400]="BadRequest",ht[ht.Unauthorized=401]="Unauthorized",ht[ht.PaymentRequired=402]="PaymentRequired",ht[ht.Forbidden=403]="Forbidden",ht[ht.NotFound=404]="NotFound",ht[ht.MethodNotAllowed=405]="MethodNotAllowed",ht[ht.NotAcceptable=406]="NotAcceptable",ht[ht.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",ht[ht.RequestTimeout=408]="RequestTimeout",ht[ht.Conflict=409]="Conflict",ht[ht.Gone=410]="Gone",ht[ht.LengthRequired=411]="LengthRequired",ht[ht.PreconditionFailed=412]="PreconditionFailed",ht[ht.PayloadTooLarge=413]="PayloadTooLarge",ht[ht.UriTooLong=414]="UriTooLong",ht[ht.UnsupportedMediaType=415]="UnsupportedMediaType",ht[ht.RangeNotSatisfiable=416]="RangeNotSatisfiable",ht[ht.ExpectationFailed=417]="ExpectationFailed",ht[ht.ImATeapot=418]="ImATeapot",ht[ht.MisdirectedRequest=421]="MisdirectedRequest",ht[ht.UnprocessableEntity=422]="UnprocessableEntity",ht[ht.Locked=423]="Locked",ht[ht.FailedDependency=424]="FailedDependency",ht[ht.TooEarly=425]="TooEarly",ht[ht.UpgradeRequired=426]="UpgradeRequired",ht[ht.PreconditionRequired=428]="PreconditionRequired",ht[ht.TooManyRequests=429]="TooManyRequests",ht[ht.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",ht[ht.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",ht[ht.InternalServerError=500]="InternalServerError",ht[ht.NotImplemented=501]="NotImplemented",ht[ht.BadGateway=502]="BadGateway",ht[ht.ServiceUnavailable=503]="ServiceUnavailable",ht[ht.GatewayTimeout=504]="GatewayTimeout",ht[ht.HttpVersionNotSupported=505]="HttpVersionNotSupported",ht[ht.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",ht[ht.InsufficientStorage=507]="InsufficientStorage",ht[ht.LoopDetected=508]="LoopDetected",ht[ht.NotExtended=510]="NotExtended",ht[ht.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",ht}(Je||{});function ce(ht,xt){return{body:xt,headers:ht.headers,context:ht.context,observe:ht.observe,params:ht.params,reportProgress:ht.reportProgress,responseType:ht.responseType,withCredentials:ht.withCredentials,transferCache:ht.transferCache}}let Ae=(()=>{class ht{constructor(At){this.handler=At}request(At,hn,nn={}){let Pn;if(At instanceof Se)Pn=At;else{let Kn,Wn;Kn=nn.headers instanceof Ge?nn.headers:new Ge(nn.headers),nn.params&&(Wn=nn.params instanceof ye?nn.params:new ye({fromObject:nn.params})),Pn=new Se(At,hn,void 0!==nn.body?nn.body:null,{headers:Kn,context:nn.context,params:Wn,reportProgress:nn.reportProgress,responseType:nn.responseType||"json",withCredentials:nn.withCredentials,transferCache:nn.transferCache})}const In=(0,o.of)(Pn).pipe((0,i.m)(Kn=>this.handler.handle(Kn)));if(At instanceof Se||"events"===nn.observe)return In;const fi=In.pipe((0,y.I)(Kn=>Kn instanceof Gt));switch(nn.observe||"body"){case"body":switch(Pn.responseType){case"arraybuffer":return fi.pipe((0,_.k)(Kn=>{if(null!==Kn.body&&!(Kn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Kn.body}));case"blob":return fi.pipe((0,_.k)(Kn=>{if(null!==Kn.body&&!(Kn.body instanceof Blob))throw new Error("Response is not a Blob.");return Kn.body}));case"text":return fi.pipe((0,_.k)(Kn=>{if(null!==Kn.body&&"string"!=typeof Kn.body)throw new Error("Response is not a string.");return Kn.body}));default:return fi.pipe((0,_.k)(Kn=>Kn.body))}case"response":return fi;default:throw new Error(`Unreachable: unhandled observe type ${nn.observe}}`)}}delete(At,hn={}){return this.request("DELETE",At,hn)}get(At,hn={}){return this.request("GET",At,hn)}head(At,hn={}){return this.request("HEAD",At,hn)}jsonp(At,hn){return this.request("JSONP",At,{params:(new ye).append(hn,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(At,hn={}){return this.request("OPTIONS",At,hn)}patch(At,hn,nn={}){return this.request("PATCH",At,ce(nn,hn))}post(At,hn,nn={}){return this.request("POST",At,ce(nn,hn))}put(At,hn,nn={}){return this.request("PUT",At,ce(nn,hn))}static#e=this.\u0275fac=function(hn){return new(hn||ht)(d.CoB(ie))};static#t=this.\u0275prov=d.wxM({token:ht,factory:ht.\u0275fac})}return ht})();function Ye(ht,xt){return xt(ht)}function Xe(ht,xt){return(At,hn)=>xt.intercept(At,{handle:nn=>ht(nn,hn)})}const xe=new d.UbH(""),Ct=new d.UbH(""),Kt=new d.UbH(""),gt=new d.UbH("");function vt(){let ht=null;return(xt,At)=>{null===ht&&(ht=((0,d.uUt)(xe,{optional:!0})??[]).reduceRight(Xe,Ye));const hn=(0,d.uUt)(d.g9Y),nn=hn.add();return ht(xt,At).pipe((0,I.U)(()=>hn.remove(nn)))}}let Ne=(()=>{class ht extends ie{constructor(At,hn){super(),this.backend=At,this.injector=hn,this.chain=null,this.pendingTasks=(0,d.uUt)(d.g9Y);const nn=(0,d.uUt)(gt,{optional:!0});this.backend=nn??At}handle(At){if(null===this.chain){const nn=Array.from(new Set([...this.injector.get(Ct),...this.injector.get(Kt,[])]));this.chain=nn.reduceRight((Pn,In)=>function z(ht,xt,At){return(hn,nn)=>(0,d.SMS)(At,()=>xt(hn,Pn=>ht(Pn,nn)))}(Pn,In,this.injector),Ye)}const hn=this.pendingTasks.add();return this.chain(At,nn=>this.backend.handle(nn)).pipe((0,I.U)(()=>this.pendingTasks.remove(hn)))}static#e=this.\u0275fac=function(hn){return new(hn||ht)(d.CoB(oe),d.CoB(d.SIe))};static#t=this.\u0275prov=d.wxM({token:ht,factory:ht.\u0275fac})}return ht})();const jn=/^\)\]\}',?\n/;let kn=(()=>{class ht{constructor(At){this.xhrFactory=At}handle(At){if("JSONP"===At.method)throw new d.OBp(-2800,!1);const hn=this.xhrFactory;return(hn.\u0275loadImpl?(0,l.Q)(hn.\u0275loadImpl()):(0,o.of)(null)).pipe((0,B.G)(()=>new f._(Pn=>{const In=hn.build();if(In.open(At.method,At.urlWithParams),At.withCredentials&&(In.withCredentials=!0),At.headers.forEach((yi,mi)=>In.setRequestHeader(yi,mi.join(","))),At.headers.has("Accept")||In.setRequestHeader("Accept","application/json, text/plain, */*"),!At.headers.has("Content-Type")){const yi=At.detectContentTypeHeader();null!==yi&&In.setRequestHeader("Content-Type",yi)}if(At.responseType){const yi=At.responseType.toLowerCase();In.responseType="json"!==yi?yi:"text"}const fi=At.serializeBody();let Kn=null;const Wn=()=>{if(null!==Kn)return Kn;const yi=In.statusText||"OK",mi=new Ge(In.getAllResponseHeaders()),Ui=function dn(ht){return"responseURL"in ht&&ht.responseURL?ht.responseURL:/^X-Request-URL:/m.test(ht.getAllResponseHeaders())?ht.getResponseHeader("X-Request-URL"):null}(In)||At.url;return Kn=new pt({headers:mi,status:In.status,statusText:yi,url:Ui}),Kn},Ii=()=>{let{headers:yi,status:mi,statusText:Ui,url:Dr}=Wn(),dr=null;mi!==Je.NoContent&&(dr=typeof In.response>"u"?In.responseText:In.response),0===mi&&(mi=dr?Je.Ok:0);let pr=mi>=200&&mi<300;if("json"===At.responseType&&"string"==typeof dr){const Br=dr;dr=dr.replace(jn,"");try{dr=""!==dr?JSON.parse(dr):null}catch(sr){dr=Br,pr&&(pr=!1,dr={error:sr,text:dr})}}pr?(Pn.next(new Gt({body:dr,headers:yi,status:mi,statusText:Ui,url:Dr||void 0})),Pn.complete()):Pn.error(new qe({error:dr,headers:yi,status:mi,statusText:Ui,url:Dr||void 0}))},ii=yi=>{const{url:mi}=Wn(),Ui=new qe({error:yi,status:In.status||0,statusText:In.statusText||"Unknown Error",url:mi||void 0});Pn.error(Ui)};let ui=!1;const Ai=yi=>{ui||(Pn.next(Wn()),ui=!0);let mi={type:ot.DownloadProgress,loaded:yi.loaded};yi.lengthComputable&&(mi.total=yi.total),"text"===At.responseType&&In.responseText&&(mi.partialText=In.responseText),Pn.next(mi)},Xi=yi=>{let mi={type:ot.UploadProgress,loaded:yi.loaded};yi.lengthComputable&&(mi.total=yi.total),Pn.next(mi)};return In.addEventListener("load",Ii),In.addEventListener("error",ii),In.addEventListener("timeout",ii),In.addEventListener("abort",ii),At.reportProgress&&(In.addEventListener("progress",Ai),null!==fi&&In.upload&&In.upload.addEventListener("progress",Xi)),In.send(fi),Pn.next({type:ot.Sent}),()=>{In.removeEventListener("error",ii),In.removeEventListener("abort",ii),In.removeEventListener("load",Ii),In.removeEventListener("timeout",ii),At.reportProgress&&(In.removeEventListener("progress",Ai),null!==fi&&In.upload&&In.upload.removeEventListener("progress",Xi)),In.readyState!==In.DONE&&In.abort()}})))}static#e=this.\u0275fac=function(hn){return new(hn||ht)(d.CoB(K.OM))};static#t=this.\u0275prov=d.wxM({token:ht,factory:ht.\u0275fac})}return ht})();const Ln=new d.UbH(""),ti=new d.UbH("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Nt=new d.UbH("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class It{}let en=(()=>{class ht{constructor(At,hn,nn){this.doc=At,this.platform=hn,this.cookieName=nn,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const At=this.doc.cookie||"";return At!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,K.Sg)(At,this.cookieName),this.lastCookieString=At),this.lastToken}static#e=this.\u0275fac=function(hn){return new(hn||ht)(d.CoB(K.Ud),d.CoB(d.AHE),d.CoB(ti))};static#t=this.\u0275prov=d.wxM({token:ht,factory:ht.\u0275fac})}return ht})();function Vt(ht,xt){const At=ht.url.toLowerCase();if(!(0,d.uUt)(Ln)||"GET"===ht.method||"HEAD"===ht.method||At.startsWith("http://")||At.startsWith("https://"))return xt(ht);const hn=(0,d.uUt)(It).getToken(),nn=(0,d.uUt)(Nt);return null!=hn&&!ht.headers.has(nn)&&(ht=ht.clone({headers:ht.headers.set(nn,hn)})),xt(ht)}var De=function(ht){return ht[ht.Interceptors=0]="Interceptors",ht[ht.LegacyInterceptors=1]="LegacyInterceptors",ht[ht.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",ht[ht.NoXsrfProtection=3]="NoXsrfProtection",ht[ht.JsonpSupport=4]="JsonpSupport",ht[ht.RequestsMadeViaParent=5]="RequestsMadeViaParent",ht[ht.Fetch=6]="Fetch",ht}(De||{});function F(...ht){const xt=[Ae,kn,Ne,{provide:ie,useExisting:Ne},{provide:oe,useExisting:kn},{provide:Ct,useValue:Vt,multi:!0},{provide:Ln,useValue:!0},{provide:It,useClass:en}];for(const At of ht)xt.push(...At.\u0275providers);return(0,d.AFj)(xt)}const Te=new d.UbH("");function at(){return function fe(ht,xt){return{\u0275kind:ht,\u0275providers:xt}}(De.LegacyInterceptors,[{provide:Te,useFactory:vt},{provide:Ct,useExisting:Te,multi:!0}])}let xn=(()=>{class ht{static#e=this.\u0275fac=function(hn){return new(hn||ht)};static#t=this.\u0275mod=d.a4G({type:ht});static#n=this.\u0275inj=d.s3X({providers:[F(at())]})}return ht})()},2116:(lt,me,u)=>{"use strict";function d(e,t){return Object.is(e,t)}u.d(me,{qwP:()=>AC,qid:()=>Zp,QHP:()=>Vm,kZF:()=>rb,Ev2:()=>NT,Swk:()=>Za,YND:()=>RC,kD9:()=>_b,ESV:()=>cT,ce5:()=>du,ayF:()=>_T,syz:()=>zi,GMv:()=>Wc,SIe:()=>Ir,eAe:()=>Pa,_w7:()=>ma,YPA:()=>Si,_6O:()=>ci,UbH:()=>nn,zZn:()=>Uo,Uj7:()=>sm,YNh:()=>om,KYU:()=>ch,obV:()=>tv,oF$:()=>vl,WW2:()=>Qs,T7N:()=>Ei,AHE:()=>Rh,crf:()=>Um,VhX:()=>ed,q87:()=>rD,O8F:()=>c_,yzm:()=>gd,SI6:()=>ml,Qfh:()=>es,Yw2:()=>ou,G4X:()=>nT,eOv:()=>nb,a8Z:()=>Y0,y8U:()=>Ld,K6R:()=>Mr,I44:()=>g_,cZD:()=>hO,S6b:()=>pO,SIz:()=>Xf,Gk1:()=>n1,grM:()=>fb,o3l:()=>Yb,agy:()=>ET,wd:()=>Vt,uUt:()=>di,_Ap:()=>ji,AFj:()=>Jt,m4O:()=>FT,o9M:()=>bO,SMS:()=>Js,OCB:()=>N_,sRj:()=>mO,yai:()=>xd,oPY:()=>X0,i4S:()=>Cr,GUM:()=>gc,g9Y:()=>Zl,OBp:()=>Ot,aS5:()=>eb,Mn9:()=>tb,Y8L:()=>vt,Om8:()=>og,ozE:()=>hd,K2p:()=>jl,GM_:()=>qC,u8n:()=>iE,ER9:()=>tE,Vfw:()=>eE,Gc:()=>nE,iMv:()=>Mp,G58:()=>Ke,y02:()=>iy,IHs:()=>dn,K_M:()=>ds,Guz:()=>Ka,w5$:()=>Xp,gX2:()=>ib,auf:()=>PC,GEN:()=>Ft,E2t:()=>xa,eg9:()=>zf,Wk5:()=>bi,QJr:()=>ev,SYr:()=>Ca,M5G:()=>f0,UHJ:()=>p0,yG2:()=>Ag,e48:()=>op,e0N:()=>ap,qJJ:()=>lp,m8U:()=>jv,uQ9:()=>Qv,eAK:()=>mp,szK:()=>Wy,_Yw:()=>bv,YZ9:()=>Ev,cZh:()=>Cv,In1:()=>ri,Sc5:()=>ts,wxM:()=>qn,s3X:()=>ur,a4G:()=>gr,UTH:()=>yr,GI1:()=>zl,wR5:()=>Cp,C_f:()=>Ep,k70:()=>Zd,SAx:()=>Qd,C$Y:()=>Xd,I0R:()=>Yd,KQA:()=>ny,otF:()=>cm,SoX:()=>wp,CoB:()=>nr,gJ8:()=>Ju,KEo:()=>kg,qCj:()=>Tp,Gqi:()=>$y,gRP:()=>Fc,S2Z:()=>Lc,GaO:()=>Ry,wVc:()=>O0,kDX:()=>P0,g7$:()=>x0,_Xx:()=>Ly,kPM:()=>ky,E7m:()=>hp,_6D:()=>xp,CI5:()=>nh,u6R:()=>Ap,qsE:()=>Rp,q4q:()=>_0,S45:()=>v0,IBC:()=>y0,uAc:()=>b0,SY1:()=>C0,Gyg:()=>E0,gFU:()=>w0,wto:()=>Hy,Gew:()=>zy,CGJ:()=>rl,wLc:()=>hg,usT:()=>Tc,E3n:()=>ag,CaN:()=>Zh,K6U:()=>Qh,YFg:()=>lg,AnM:()=>m0,m_g:()=>ra,m4B:()=>pp,wcw:()=>Op,Swe:()=>Dp,yuY:()=>Jl,gJz:()=>A0,OEk:()=>n0,cNF:()=>kp,oRS:()=>ih,CAO:()=>Lp,MjK:()=>Fp,kNx:()=>d0,iHE:()=>Bp,OKB:()=>Np,CC$:()=>jy}),u(3448);let o=null,f=!1,l=1;const i=Symbol("SIGNAL");function y(e){const t=o;return o=e,t}const K={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 ie(e){if(f)throw new Error("");if(null===o)return;o.consumerOnSignalRead(e);const t=o.nextProducerIndex++;X(o),t<o.producerNode.length&&o.producerNode[t]!==e&&g(o)&&Y(o.producerNode[t],o.producerIndexOfThis[t]),o.producerNode[t]!==e&&(o.producerNode[t]=e,o.producerIndexOfThis[t]=g(o)?ye(e,o,t):0),o.producerLastReadVersion[t]=e.version}function Ge(e){if((!g(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==l)){if(!e.producerMustRecompute(e)&&!rt(e))return e.dirty=!1,void(e.lastCleanEpoch=l);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=l}}function ae(e){if(void 0===e.liveConsumerNode)return;const t=f;f=!0;try{for(const n of e.liveConsumerNode)n.dirty||_e(n)}finally{f=t}}function Z(){return!1!==o?.consumerAllowSignalWrites}function _e(e){e.dirty=!0,ae(e),e.consumerMarkedDirty?.(e)}function j(e){return e&&(e.nextProducerIndex=0),y(e)}function ke(e,t){if(y(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(g(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Y(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function rt(e){X(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Ge(n),r!==n.version))return!0}return!1}function le(e){if(X(e),g(e))for(let t=0;t<e.producerNode.length;t++)Y(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function ye(e,t,n){if(V(e),X(e),0===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=ye(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Y(e,t){if(V(e),X(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)Y(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],a=e.liveConsumerNode[t];X(a),a.producerIndexOfThis[r]=t}}function g(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function X(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function V(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}const be=Symbol("UNSET"),Fe=Symbol("COMPUTING"),Se=Symbol("ERRORED"),ot={...K,value:be,dirty:!0,error:null,equal:d,producerMustRecompute:e=>e.value===be||e.value===Fe,producerRecomputeValue(e){if(e.value===Fe)throw new Error("Detected cycle in computations.");const t=e.value;e.value=Fe;const n=j(e);let r;try{r=e.computation()}catch(a){r=Se,e.error=a}finally{ke(e,n)}t!==be&&t!==Se&&r!==Se&&e.equal(t,r)?e.value=t:(e.value=r,e.version++)}};let pt=function _t(){throw new Error};function Gt(){pt()}let Je=null;function H(e,t){Z()||Gt(),e.equal(e.value,t)||(e.value=t,function je(e){e.version++,function oe(){l++}(),ae(e),Je?.()}(e))}const $e={...K,equal:d,value:void 0};const Et=()=>{},Ye={...K,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Et};var z=u(5657),xe=u(6928),Ct=u(6700),Kt=u(4704);const vt="https://g.co/ng/security#xss";class Ot extends Error{constructor(t,n){super(Ke(t,n)),this.code=t}}function Ke(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function Re(e){return{toString:e}.toString()}const Mt="__parameters__";function Un(e,t,n){return Re(()=>{const r=function bn(e){return function(...n){if(e){const r=e(...n);for(const a in r)this[a]=r[a]}}}(t);function a(...h){if(this instanceof a)return r.apply(this,h),this;const v=new a(...h);return w.annotation=v,w;function w(P,se,Le){const ut=P.hasOwnProperty(Mt)?P[Mt]:Object.defineProperty(P,Mt,{value:[]})[Mt];for(;ut.length<=Le;)ut.push(null);return(ut[Le]=ut[Le]||[]).push(v),P}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a})}const dn=globalThis;function Bn(e){for(let t in e)if(e[t]===Bn)return t;throw Error("Could not find renamed property on target object.")}function ti(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ft(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ft).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Nt(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const en=Bn({__forward_ref__:Bn});function Vt(e){return e.__forward_ref__=Vt,e.toString=function(){return Ft(this())},e}function We(e){return De(e)?e():e}function De(e){return"function"==typeof e&&e.hasOwnProperty(en)&&e.__forward_ref__===Vt}function ln(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function qn(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ur(e){return{providers:e.providers||[],imports:e.imports||[]}}function Nr(e){return Tr(e,ht)||Tr(e,At)}function ds(e){return null!==Nr(e)}function Tr(e,t){return e.hasOwnProperty(t)?e[t]:null}function Qr(e){return e&&(e.hasOwnProperty(xt)||e.hasOwnProperty(hn))?e[xt]:null}const ht=Bn({\u0275prov:Bn}),xt=Bn({\u0275inj:Bn}),At=Bn({ngInjectableDef:Bn}),hn=Bn({ngInjectorDef:Bn});class nn{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=qn({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function yi(e){return e&&!!e.\u0275providers}const mi=Bn({\u0275cmp:Bn}),Ui=Bn({\u0275dir:Bn}),Dr=Bn({\u0275pipe:Bn}),dr=Bn({\u0275mod:Bn}),pr=Bn({\u0275fac:Bn}),Br=Bn({__NG_ELEMENT_ID__:Bn}),sr=Bn({__NG_ENV_ID__:Bn});function oi(e){return"string"==typeof e?e:null==e?"":String(e)}function bs(e,t){throw new Ot(-201,!1)}var ci=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}(ci||{});let Vs;function Ms(){return Vs}function Qi(e){const t=Vs;return Vs=e,t}function Is(e,t,n){const r=Nr(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&ci.Optional?null:void 0!==t?t:void bs()}const mr={},xr="__NG_DI_FLAG__",Zr="ngTempTokenPath",Ss=/\n/gm,vs="__source";let hs;function ss(e){const t=hs;return hs=e,t}function Sr(e,t=ci.Default){if(void 0===hs)throw new Ot(-203,!1);return null===hs?Is(e,void 0,t):hs.get(e,t&ci.Optional?null:void 0,t)}function nr(e,t=ci.Default){return(Ms()||Sr)(We(e),t)}function di(e,t=ci.Default){return nr(e,cs(t))}function cs(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Cs(e){const t=[];for(let n=0;n<e.length;n++){const r=We(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Ot(900,!1);let a,h=ci.Default;for(let v=0;v<r.length;v++){const w=r[v],P=os(w);"number"==typeof P?-1===P?a=w.token:h|=P:a=w}t.push(nr(a,h))}else t.push(nr(r))}return t}function qr(e,t){return e[xr]=t,e.prototype[xr]=t,e}function os(e){return e[xr]}const Ei=qr(Un("Optional"),8),es=qr(Un("SkipSelf"),4);function Hi(e,t){return e.hasOwnProperty(pr)?e[pr]:null}function G(e,t){e.forEach(n=>Array.isArray(n)?G(n,t):t(n))}function Q(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function we(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Pe(e,t,n){let r=ft(e,t);return r>=0?e[1|r]=n:(r=~r,function ue(e,t,n,r){let a=e.length;if(a==t)e.push(n,r);else if(1===a)e.push(r,e[0]),e[0]=n;else{for(a--,e.push(e[a-1],e[a]);a>t;)e[a]=e[a-2],a--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function ct(e,t){const n=ft(e,t);if(n>=0)return e[1|n]}function ft(e,t){return function En(e,t,n){let r=0,a=e.length>>n;for(;a!==r;){const h=r+(a-r>>1),v=e[h<<n];if(t===v)return h<<n;v>t?a=h:r=h+1}return~(a<<n)}(e,t,1)}const Zn={},Sn=[],zi=new nn(""),Si=new nn("",-1),Wi=new nn("");class Ki{get(t,n=mr){if(n===mr){const r=new Error(`NullInjectorError: No provider for ${Ft(t)}!`);throw r.name="NullInjectorError",r}return n}}var Ti=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Ti||{}),Mr=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Mr||{}),bi=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(bi||{});function or(e,t,n){let r=e.length;for(;;){const a=e.indexOf(t,n);if(-1===a)return a;if(0===a||e.charCodeAt(a-1)<=32){const h=t.length;if(a+h===r||e.charCodeAt(a+h)<=32)return a}n=a+1}}function Rs(e,t,n){let r=0;for(;r<n.length;){const a=n[r];if("number"==typeof a){if(0!==a)break;r++;const h=n[r++],v=n[r++],w=n[r++];e.setAttribute(t,v,w,h)}else{const h=a,v=n[++r];Ie(h)?e.setProperty(t,h,v):e.setAttribute(t,h,v),r++}}return r}function he(e){return 3===e||4===e||6===e}function Ie(e){return 64===e.charCodeAt(0)}function $(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const a=t[r];"number"==typeof a?n=a:0===n||et(e,n,a,null,-1===n||2===n?t[++r]:null)}}return e}function et(e,t,n,r,a){let h=0,v=e.length;if(-1===t)v=-1;else for(;h<e.length;){const w=e[h++];if("number"==typeof w){if(w===t){v=-1;break}if(w>t){v=h-1;break}}}for(;h<e.length;){const w=e[h];if("number"==typeof w)break;if(w===n){if(null===r)return void(null!==a&&(e[h+1]=a));if(r===e[h+1])return void(e[h+2]=a)}h++,null!==r&&h++,null!==a&&h++}-1!==v&&(e.splice(v,0,t),h=v+1),e.splice(h++,0,n),null!==r&&e.splice(h++,0,r),null!==a&&e.splice(h++,0,a)}const kt="ng-template";function Yn(e,t,n,r){let a=0;if(r){for(;a<t.length&&"string"==typeof t[a];a+=2)if("class"===t[a]&&-1!==or(t[a+1].toLowerCase(),n,0))return!0}else if(ze(e))return!1;if(a=t.indexOf(1,a),a>-1){let h;for(;++a<t.length&&"string"==typeof(h=t[a]);)if(h.toLowerCase()===n)return!0}return!1}function ze(e){return 4===e.type&&e.value!==kt}function M(e,t,n){return t===(4!==e.type||n?e.value:kt)}function R(e,t,n){let r=4;const a=e.attrs,h=null!==a?function Rt(e){for(let t=0;t<e.length;t++)if(he(e[t]))return t;return e.length}(a):0;let v=!1;for(let w=0;w<t.length;w++){const P=t[w];if("number"!=typeof P){if(!v)if(4&r){if(r=2|1&r,""!==P&&!M(e,P,n)||""===P&&1===t.length){if(ne(r))return!1;v=!0}}else if(8&r){if(null===a||!Yn(e,a,P,n)){if(ne(r))return!1;v=!0}}else{const se=t[++w],Le=Ue(P,a,ze(e),n);if(-1===Le){if(ne(r))return!1;v=!0;continue}if(""!==se){let ut;if(ut=Le>h?"":a[Le+1].toLowerCase(),2&r&&se!==ut){if(ne(r))return!1;v=!0}}}}else{if(!v&&!ne(r)&&!ne(P))return!1;if(v&&ne(P))continue;v=!1,r=P|1&r}}return ne(r)||v}function ne(e){return 0==(1&e)}function Ue(e,t,n,r){if(null===t)return-1;let a=0;if(r||!n){let h=!1;for(;a<t.length;){const v=t[a];if(v===e)return a;if(3===v||6===v)h=!0;else{if(1===v||2===v){let w=t[++a];for(;"string"==typeof w;)w=t[++a];continue}if(4===v)break;if(0===v){a+=4;continue}}a+=h?1:2}return-1}return function Xt(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function mt(e,t,n=!1){for(let r=0;r<t.length;r++)if(R(e,t[r],n))return!0;return!1}function un(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let a=0;a<e.length;a++)if(e[a]!==r[a])continue e;return!0}}return!1}function Gn(e,t){return e?":not("+t.trim()+")":t}function Xn(e){let t=e[0],n=1,r=2,a="",h=!1;for(;n<e.length;){let v=e[n];if("string"==typeof v)if(2&r){const w=e[++n];a+="["+v+(w.length>0?'="'+w+'"':"")+"]"}else 8&r?a+="."+v:4&r&&(a+=" "+v);else""!==a&&!ne(v)&&(t+=Gn(h,a),a=""),r=v,h=h||!ne(r);n++}return""!==a&&(t+=Gn(h,a)),t}function ri(e){return Re(()=>{const t=Us(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ti.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Mr.Emulated,styles:e.styles||Sn,_:null,schemas:e.schemas||null,tView:null,id:""};ks(n);const r=e.dependencies;return n.directiveDefs=br(r,!1),n.pipeDefs=br(r,!0),n.id=function Ht(e){let t=0;const 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(const a of n)t=Math.imul(31,t)+a.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function _i(e){return vi(e)||Ji(e)}function Fi(e){return null!==e}function gr(e){return Re(()=>({type:e.type,bootstrap:e.bootstrap||Sn,declarations:e.declarations||Sn,imports:e.imports||Sn,exports:e.exports||Sn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function ir(e,t){if(null==e)return Zn;const n={};for(const r in e)if(e.hasOwnProperty(r)){const a=e[r];let h,v,w=bi.None;Array.isArray(a)?(w=a[0],h=a[1],v=a[2]??h):(h=a,v=a),t?(n[h]=w!==bi.None?[r,w]:r,t[h]=v):n[h]=r}return n}function ts(e){return Re(()=>{const t=Us(e);return ks(t),t})}function yr(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function vi(e){return e[mi]||null}function Ji(e){return e[Ui]||null}function Bi(e){return e[Dr]||null}function ji(e){const t=vi(e)||Ji(e)||Bi(e);return null!==t&&t.standalone}function qi(e,t){const n=e[dr]||null;if(!n&&!0===t)throw new Error(`Type ${Ft(e)} does not have '\u0275mod' property.`);return n}function Us(e){const 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||Zn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Sn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ir(e.inputs,t),outputs:ir(e.outputs),debugInfo:null}}function ks(e){e.features?.forEach(t=>t(e))}function br(e,t){if(!e)return null;const n=t?Bi:_i;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(Fi)}function Jt(e){return{\u0275providers:e}}function Wt(...e){return{\u0275providers:Zt(0,e),\u0275fromNgModule:!0}}function Zt(e,...t){const n=[],r=new Set;let a;const h=v=>{n.push(v)};return G(t,v=>{const w=v;wn(w,h,[],r)&&(a||=[],a.push(w))}),void 0!==a&&fn(a,h),n}function fn(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:a}=e[n];Vn(a,h=>{t(h,r)})}}function wn(e,t,n,r){if(!(e=We(e)))return!1;let a=null,h=Qr(e);const v=!h&&vi(e);if(h||v){if(v&&!v.standalone)return!1;a=e}else{const P=e.ngModule;if(h=Qr(P),!h)return!1;a=P}const w=r.has(a);if(v){if(w)return!1;if(r.add(a),v.dependencies){const P="function"==typeof v.dependencies?v.dependencies():v.dependencies;for(const se of P)wn(se,t,n,r)}}else{if(!h)return!1;{if(null!=h.imports&&!w){let se;r.add(a);try{G(h.imports,Le=>{wn(Le,t,n,r)&&(se||=[],se.push(Le))})}finally{}void 0!==se&&fn(se,t)}if(!w){const se=Hi(a)||(()=>new a);t({provide:a,useFactory:se,deps:Sn},a),t({provide:Wi,useValue:a,multi:!0},a),t({provide:zi,useValue:()=>nr(a),multi:!0},a)}const P=h.providers;if(null!=P&&!w){const se=e;Vn(P,Le=>{t(Le,se)})}}}return a!==e&&void 0!==e.providers}function Vn(e,t){for(let n of e)yi(n)&&(n=n.\u0275providers),Array.isArray(n)?Vn(n,t):t(n)}const pi=Bn({provide:String,useValue:Bn});function ai(e){return null!==e&&"object"==typeof e&&pi in e}function si(e){return"function"==typeof e}const Cr=new nn(""),er={},$r={};let Rr;function Bs(){return void 0===Rr&&(Rr=new Ki),Rr}class Ir{}class ho extends Ir{get destroyed(){return this._destroyed}constructor(t,n,r,a){super(),this.parent=n,this.source=r,this.scopes=a,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Ho(t,v=>this.processProvider(v)),this.records.set(Si,Ws(void 0,this)),a.has("environment")&&this.records.set(Ir,Ws(void 0,this));const h=this.records.get(Cr);null!=h&&"string"==typeof h.value&&this.scopes.add(h.value),this.injectorDefTypes=new Set(this.get(Wi,Sn,ci.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=y(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),y(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=ss(this),r=Qi(void 0);try{return t()}finally{ss(n),Qi(r)}}get(t,n=mr,r=ci.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(sr))return t[sr](this);r=cs(r);const h=ss(this),v=Qi(void 0);try{if(!(r&ci.SkipSelf)){let P=this.records.get(t);if(void 0===P){const se=function qo(e){return"function"==typeof e||"object"==typeof e&&e instanceof nn}(t)&&Nr(t);P=se&&this.injectableDefInScope(se)?Ws(Fo(t),er):null,this.records.set(t,P)}if(null!=P)return this.hydrate(t,P)}return(r&ci.Self?Bs():this.parent).get(t,n=r&ci.Optional&&n===mr?null:n)}catch(w){if("NullInjectorError"===w.name){if((w[Zr]=w[Zr]||[]).unshift(Ft(t)),h)throw w;return function Os(e,t,n,r){const a=e[Zr];throw t[vs]&&a.unshift(t[vs]),e.message=function hr(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let a=Ft(t);if(Array.isArray(t))a=t.map(Ft).join(" -> ");else if("object"==typeof t){let h=[];for(let v in t)if(t.hasOwnProperty(v)){let w=t[v];h.push(v+":"+("string"==typeof w?JSON.stringify(w):Ft(w)))}a=`{${h.join(", ")}}`}return`${n}${r?"("+r+")":""}[${a}]: ${e.replace(Ss,"\n  ")}`}("\n"+e.message,a,n,r),e.ngTokenPath=a,e[Zr]=null,e}(w,t,"R3InjectorError",this.source)}throw w}finally{Qi(v),ss(h)}}resolveInjectorInitializers(){const t=y(null),n=ss(this),r=Qi(void 0);try{const h=this.get(zi,Sn,ci.Self);for(const v of h)v()}finally{ss(n),Qi(r),y(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Ft(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ot(205,!1)}processProvider(t){let n=si(t=We(t))?t:We(t&&t.provide);const r=function ba(e){return ai(e)?Ws(void 0,e.useValue):Ws(oo(e),er)}(t);if(!si(t)&&!0===t.multi){let a=this.records.get(n);a||(a=Ws(void 0,er,!0),a.factory=()=>Cs(a.multi),this.records.set(n,a)),n=t,a.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=y(null);try{return n.value===er&&(n.value=$r,n.value=n.factory()),"object"==typeof n.value&&n.value&&function aa(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{y(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=We(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Fo(e){const t=Nr(e),n=null!==t?t.factory:Hi(e);if(null!==n)return n;if(e instanceof nn)throw new Ot(204,!1);if(e instanceof Function)return function No(e){if(e.length>0)throw new Ot(204,!1);const n=function wr(e){return e&&(e[ht]||e[At])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Ot(204,!1)}function oo(e,t,n){let r;if(si(e)){const a=We(e);return Hi(a)||Fo(a)}if(ai(e))r=()=>We(e.useValue);else if(function Ni(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Cs(e.deps||[]));else if(function Nn(e){return!(!e||!e.useExisting)}(e))r=()=>nr(We(e.useExisting));else{const a=We(e&&(e.useClass||e.provide));if(!function Bo(e){return!!e.deps}(e))return Hi(a)||Fo(a);r=()=>new a(...Cs(e.deps))}return r}function Ws(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ho(e,t){for(const n of e)Array.isArray(n)?Ho(n,t):n&&yi(n)?Ho(n.\u0275providers,t):t(n)}function Js(e,t){e instanceof ho&&e.assertNotDestroyed();const r=ss(e),a=Qi(void 0);try{return t()}finally{ss(r),Qi(a)}}function ea(){return void 0!==Ms()||null!=function Ts(){return hs}()}function vo(e){if(!ea())throw new Ot(-203,!1)}const Ri=0,On=1,li=2,cr=3,Kr=4,Gr=5,Ur=6,fo=7,kr=8,Yr=9,fs=10,Di=11,po=12,co=13,Ps=14,is=15,Io=16,mo=17,ao=18,So=19,$o=20,uo=21,Go=22,To=23,ki=25,zo=1,qs=7,Bt=9,St=10;var ee=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(ee||{});function tt(e){return Array.isArray(e)&&"object"==typeof e[zo]}function wt(e){return Array.isArray(e)&&!0===e[zo]}function cn(e){return 0!=(4&e.flags)}function pn(e){return e.componentOffset>-1}function Tn(e){return 1==(1&e.flags)}function hi(e){return!!e.template}function tr(e){return 0!=(512&e[li])}function Ks(e){return 256==(256&e[li])}class la{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Yo(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function Ca(){return yo}function yo(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ec),Eh}function Eh(){const e=Il(this),t=e?.current;if(t){const n=e.previous;if(n===Zn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ec(e,t,n,r,a){const h=this.declaredInputs[r],v=Il(e)||function wh(e,t){return e[Lu]=t}(e,{previous:Zn,current:null}),w=v.current||(v.current={}),P=v.previous,se=P[h];w[h]=new la(se&&se.currentValue,n,P===Zn),Yo(e,t,a,n)}Ca.ngInherit=!0;const Lu="__ngSimpleChanges__";function Il(e){return e[Lu]||null}const Po=function(e,t,n){},Nu="svg";let Bu=!1;function rs(e){for(;Array.isArray(e);)e=e[Ri];return e}function Fa(e,t){return rs(t[e])}function Ys(e,t){return rs(t[e.index])}function ca(e,t){return e.data[t]}function ua(e,t){return e[t]}function eo(e,t){const n=t[e];return tt(n)?n:n[Ri]}function na(e){return 128==(128&e[li])}function bo(e,t){return null==t?null:e[t]}function wc(e){e[mo]=0}function Sl(e){1024&e[li]||(e[li]|=1024,na(e)&&da(e))}function Dc(e,t){for(;e>0;)t=t[Ps],e--;return t}function Na(e){return!!(9216&e[li]||e[To]?.dirty)}function tl(e){e[fs].changeDetectionScheduler?.notify(1),Na(e)?da(e):64&e[li]&&(function Dh(){return Bu}()?(e[li]|=1024,da(e)):e[fs].changeDetectionScheduler?.notify())}function da(e){e[fs].changeDetectionScheduler?.notify();let t=ha(e);for(;null!==t&&!(8192&t[li])&&(t[li]|=8192,na(t));)t=ha(t)}function nl(e,t){if(256==(256&e[li]))throw new Ot(911,!1);null===e[uo]&&(e[uo]=[]),e[uo].push(t)}function Ba(e,t){if(null===e[uo])return;const n=e[uo].indexOf(t);-1!==n&&e[uo].splice(n,1)}function ha(e){const t=e[cr];return wt(t)?t[cr]:t}const Li={lFrame:Rc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function il(){return Li.bindingsEnabled}function Ea(){return null!==Li.skipHydrationRootTNode}function gn(){return Li.lFrame.lView}function rr(){return Li.lFrame.tView}function Tc(e){return Li.lFrame.contextLView=e,e[kr]}function rl(e){return Li.lFrame.contextLView=null,e}function Wr(){let e=sl();for(;null!==e&&64===e.type;)e=e.parent;return e}function sl(){return Li.lFrame.currentTNode}function Eo(e,t){const n=Li.lFrame;n.currentTNode=e,n.isParent=t}function xl(){return Li.lFrame.isParent}function Ga(){Li.lFrame.isParent=!1}function Xs(){const e=Li.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Xo(){return Li.lFrame.bindingIndex}function wo(){return Li.lFrame.bindingIndex++}function xo(e){const t=Li.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function zu(e,t){const n=Li.lFrame;n.bindingIndex=n.bindingRootIndex=e,Al(t)}function Al(e){Li.lFrame.currentDirectiveIndex=e}function Va(e){const t=Li.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Rl(){return Li.lFrame.currentQueryIndex}function Ma(e){Li.lFrame.currentQueryIndex=e}function Ku(e){const t=e[On];return 2===t.type?t.declTNode:1===t.type?e[Gr]:null}function ll(e,t,n){if(n&ci.SkipSelf){let a=t,h=e;for(;!(a=a.parent,null!==a||n&ci.Host||(a=Ku(h),null===a||(h=h[Ps],10&a.type))););if(null===a)return!1;t=a,e=h}const r=Li.lFrame=cl();return r.currentTNode=t,r.lView=e,!0}function kl(e){const t=cl(),n=e[On];Li.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function cl(){const e=Li.lFrame,t=null===e?null:e.child;return null===t?Rc(e):t}function Rc(e){const 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 null!==e&&(e.child=t),t}function ul(){const e=Li.lFrame;return Li.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const kc=ul;function Ua(){const e=ul();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 to(){return Li.lFrame.selectedIndex}function fa(e){Li.lFrame.selectedIndex=e}function Xr(){const e=Li.lFrame;return ca(e.tView,e.selectedIndex)}function Lc(){Li.lFrame.currentNamespace=Nu}function Fc(){!function Fl(){Li.lFrame.currentNamespace=null}()}let dl=!0;function Wa(){return dl}function Do(e){dl=e}function Ia(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const h=e.data[n].type.prototype,{ngAfterContentInit:v,ngAfterContentChecked:w,ngAfterViewInit:P,ngAfterViewChecked:se,ngOnDestroy:Le}=h;v&&(e.contentHooks??=[]).push(-n,v),w&&((e.contentHooks??=[]).push(n,w),(e.contentCheckHooks??=[]).push(n,w)),P&&(e.viewHooks??=[]).push(-n,P),se&&((e.viewHooks??=[]).push(n,se),(e.viewCheckHooks??=[]).push(n,se)),null!=Le&&(e.destroyHooks??=[]).push(n,Le)}}function ja(e,t,n){hl(e,t,3,n)}function Sa(e,t,n,r){(3&e[li])===n&&hl(e,t,n,r)}function Nl(e,t){let n=e[li];(3&n)===t&&(n&=16383,n+=1,e[li]=n)}function hl(e,t,n,r){const h=r??-1,v=t.length-1;let w=0;for(let P=void 0!==r?65535&e[mo]:0;P<v;P++)if("number"==typeof t[P+1]){if(w=t[P],null!=r&&w>=r)break}else t[P]<0&&(e[mo]+=65536),(w<h||-1==h)&&(fl(e,n,t,P),e[mo]=(4294901760&e[mo])+P+2),P++}function Bc(e,t){Po(4,e,t);const n=y(null);try{t.call(e)}finally{y(n),Po(5,e,t)}}function fl(e,t,n,r){const a=n[r]<0,h=n[r+1],w=e[a?-n[r]:n[r]];a?e[li]>>14<e[mo]>>16&&(3&e[li])===t&&(e[li]+=16384,Bc(w,h)):Bc(w,h)}const Ta=-1;class Ha{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function S(e){return e!==Ta}function Be(e){return 32767&e}function sn(e,t){let n=function Dt(e){return e>>16}(e),r=t;for(;n>0;)r=r[Ps],n--;return r}let Mn=!0;function Rn(e){const t=Mn;return Mn=e,t}const Lr=255,ys=5;let ms=0;const ws={};function go(e,t){const n=Gc(e,t);if(-1!==n)return n;const r=t[On];r.firstCreatePass&&(e.injectorIndex=t.length,Oa(r.data,e),Oa(t,null),Oa(r.blueprint,null));const a=Vc(e,t),h=e.injectorIndex;if(S(a)){const v=Be(a),w=sn(a,t),P=w[On].data;for(let se=0;se<8;se++)t[h+se]=w[v+se]|P[v+se]}return t[h+8]=a,h}function Oa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Gc(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Vc(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,a=t;for(;null!==a;){if(r=um(a),null===r)return Ta;if(n++,a=a[Ps],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Ta}function Uc(e,t,n){!function Fs(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Br)&&(r=n[Br]),null==r&&(r=n[Br]=ms++);const a=r&Lr;t.data[e+(a>>ys)]|=1<<a}(e,t,n)}function Qe(e,t,n){if(n&ci.Optional||void 0!==e)return e;bs()}function k(e,t,n,r){if(n&ci.Optional&&void 0===r&&(r=null),!(n&(ci.Self|ci.Host))){const a=e[Yr],h=Qi(void 0);try{return a?a.get(t,r,n&ci.Optional):Is(t,r,n&ci.Optional)}finally{Qi(h)}}return Qe(r,0,n)}function O(e,t,n,r=ci.Default,a){if(null!==e){if(2048&t[li]&&!(r&ci.Self)){const v=function Zb(e,t,n,r,a){let h=e,v=t;for(;null!==h&&null!==v&&2048&v[li]&&!(512&v[li]);){const w=_n(h,v,n,r|ci.Self,ws);if(w!==ws)return w;let P=h.parent;if(!P){const se=v[$o];if(se){const Le=se.get(n,ws,r);if(Le!==ws)return Le}P=um(v),v=v[Ps]}h=P}return a}(e,t,n,r,ws);if(v!==ws)return v}const h=_n(e,t,n,r,ws);if(h!==ws)return h}return k(t,n,r,a)}function _n(e,t,n,r,a){const h=function Qo(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Br)?e[Br]:void 0;return"number"==typeof t?t>=0?t&Lr:Qb:t}(n);if("function"==typeof h){if(!ll(t,e,r))return r&ci.Host?Qe(a,0,r):k(t,n,r,a);try{let v;if(v=h(r),null!=v||r&ci.Optional)return v;bs()}finally{kc()}}else if("number"==typeof h){let v=null,w=Gc(e,t),P=Ta,se=r&ci.Host?t[is][Gr]:null;for((-1===w||r&ci.SkipSelf)&&(P=-1===w?Vc(e,t):t[w+8],P!==Ta&&lo(r,!1)?(v=t[On],w=Be(P),t=sn(P,t)):w=-1);-1!==w;){const Le=t[On];if(Zo(h,w,Le.data)){const ut=xi(w,t,n,v,r,se);if(ut!==ws)return ut}P=t[w+8],P!==Ta&&lo(r,t[On].data[w+8]===se)&&Zo(h,w,t)?(v=Le,w=Be(P),t=sn(P,t)):w=-1}}return a}function xi(e,t,n,r,a,h){const v=t[On],w=v.data[e+8],Le=jr(w,v,n,null==r?pn(w)&&Mn:r!=v&&0!=(3&w.type),a&ci.Host&&h===w);return null!==Le?xs(t,v,Le,w):ws}function jr(e,t,n,r,a){const h=e.providerIndexes,v=t.data,w=1048575&h,P=e.directiveStart,Le=h>>20,Ut=a?w+Le:e.directiveEnd;for(let Yt=r?w:w+Le;Yt<Ut;Yt++){const qt=v[Yt];if(Yt<P&&n===qt||Yt>=P&&qt.type===n)return Yt}if(a){const Yt=v[P];if(Yt&&hi(Yt)&&Yt.type===n)return P}return null}function xs(e,t,n,r){let a=e[n];const h=t.data;if(function Qu(e){return e instanceof Ha}(a)){const v=a;v.resolving&&function Or(e,t){throw t&&t.join(" > "),new Ot(-200,e)}(function gi(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():oi(e)}(h[n]));const w=Rn(v.canSeeViewProviders);v.resolving=!0;const se=v.injectImpl?Qi(v.injectImpl):null;ll(e,r,ci.Default);try{a=e[n]=v.factory(void 0,h,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Xu(e,t,n){const{ngOnChanges:r,ngOnInit:a,ngDoCheck:h}=t.type.prototype;if(r){const v=yo(t);(n.preOrderHooks??=[]).push(e,v),(n.preOrderCheckHooks??=[]).push(e,v)}a&&(n.preOrderHooks??=[]).push(0-e,a),h&&((n.preOrderHooks??=[]).push(e,h),(n.preOrderCheckHooks??=[]).push(e,h))}(n,h[n],t)}finally{null!==se&&Qi(se),Rn(w),v.resolving=!1,kc()}}return a}function Zo(e,t,n){return!!(n[t+(e>>ys)]&1<<e)}function lo(e,t){return!(e&ci.Self||e&ci.Host&&t)}class no{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return O(this._tNode,this._lView,t,cs(r),n)}}function Qb(){return new no(Wr(),gn())}function cm(e){return Re(()=>{const t=e.prototype.constructor,n=t[pr]||Mh(t),r=Object.prototype;let a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==r;){const h=a[pr]||Mh(a);if(h&&h!==n)return h;a=Object.getPrototypeOf(a)}return h=>new h})}function Mh(e){return De(e)?()=>{const t=Mh(We(e));return t&&t()}:Hi(e)}function um(e){const t=e[On],n=t.type;return 2===n?t.declTNode:1===n?e[Gr]:null}function Ju(e){return function p(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let a=0;for(;a<r;){const h=n[a];if(he(h))break;if(0===h)a+=2;else if("number"==typeof h)for(a++;a<r&&"string"==typeof n[a];)a++;else{if(h===t)return n[a+1];a+=2}}}return null}(Wr(),e)}function mm(e,t=null,n=null,r){const a=gm(e,t,n,r);return a.resolveInjectorInitializers(),a}function gm(e,t=null,n=null,r,a=new Set){const h=[n||Sn,Wt(e)];return r=r||("object"==typeof e?void 0:Ft(e)),new ho(h,t||Bs(),r||null,a)}let Uo=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=mr;static#t=this.NULL=new Ki;static create(n,r){if(Array.isArray(n))return mm({name:""},r,n,"");{const a=n.name??"";return mm({name:a},n.parent,n.providers,a)}}static#n=this.\u0275prov=qn({token:e,providedIn:"any",factory:()=>nr(Si)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function Sh(e){return e.ngOriginalError}class Pa{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Sh(t);for(;n&&Sh(n);)n=Sh(n);return n||null}}const vm=new nn("",{providedIn:"root",factory:()=>di(Pa).handleError.bind(void 0)});let Bl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=oC;static#t=this.__NG_ENV_ID__=n=>n}return e})();class sC extends Bl{constructor(t){super(),this._lView=t}onDestroy(t){return nl(this._lView,t),()=>Ba(this._lView,t)}}function oC(){return new sC(gn())}function aC(){return Gl(Wr(),gn())}function Gl(e,t){return new Wc(Ys(e,t))}let Wc=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=aC}return e})();function bm(e){return e instanceof Wc?e.nativeElement:e}function Th(e){return t=>{setTimeout(e,void 0,t)}}const ma=class lC extends z.E{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,ea()&&(this.destroyRef=di(Bl,{optional:!0})??void 0)}emit(t){const n=y(null);try{super.next(t)}finally{y(n)}}subscribe(t,n,r){let a=t,h=n||(()=>null),v=r;if(t&&"object"==typeof t){const P=t;a=P.next?.bind(P),h=P.error?.bind(P),v=P.complete?.bind(P)}this.__isAsync&&(h=Th(h),a&&(a=Th(a)),v&&(v=Th(v)));const w=super.subscribe({next:a,error:h,complete:v});return t instanceof xe.wH&&t.add(w),w}};function cC(){return this._results[Symbol.iterator]()}class ed{static#e=Symbol.iterator;get changes(){return this._changes??=new ma}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=ed.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=cC)}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;const r=function b(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function m(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let a=e[r],h=t[r];if(n&&(a=n(a),h=n(h)),h!==a)return!1}return!0}(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function td(e){return 128==(128&e.flags)}const Oh=new Map;let dC=0;const xh="__ngContext__";function _o(e,t){tt(t)?(e[xh]=t[So],function fC(e){Oh.set(e[So],e)}(t)):e[xh]=t}function Pm(e){return Am(e[po])}function xm(e){return Am(e[Kr])}function Am(e){for(;null!==e&&!wt(e);)e=e[Kr];return e}let Ah;function PC(e){Ah=e}function za(){if(void 0!==Ah)return Ah;if(typeof document<"u")return document;throw new Ot(210,!1)}const Vm=new nn("",{providedIn:"root",factory:()=>xC}),xC="ng",Um=new nn(""),Rh=new nn("",{providedIn:"platform",factory:()=>"unknown"}),AC=new nn(""),RC=new nn("",{providedIn:"root",factory:()=>za().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Wm=()=>null;function Uh(e,t,n=!1){return Wm(e,t,n)}const Km=new nn("",{providedIn:"root",factory:()=>!1});let ud,dd;function Wl(e){return function $h(){if(void 0===ud&&(ud=null,dn.trustedTypes))try{ud=dn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ud}()?.createHTML(e)||e}function zh(){if(void 0===dd&&(dd=null,dn.trustedTypes))try{dd=dn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return dd}function Xm(e){return zh()?.createHTML(e)||e}function Zm(e){return zh()?.createScriptURL(e)||e}class pl{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${vt})`}}class KC extends pl{getTypeName(){return"HTML"}}class YC extends pl{getTypeName(){return"Style"}}class XC extends pl{getTypeName(){return"Script"}}class QC extends pl{getTypeName(){return"URL"}}class ZC extends pl{getTypeName(){return"ResourceURL"}}function xa(e){return e instanceof pl?e.changingThisBreaksApplicationSecurity:e}function jl(e,t){const n=function JC(e){return e instanceof pl&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${vt})`)}return n===t}function qC(e){return new KC(e)}function eE(e){return new YC(e)}function tE(e){return new XC(e)}function nE(e){return new QC(e)}function iE(e){return new ZC(e)}class rE{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Wl(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class sE{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Wl(t),n}}const aE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function hd(e){return(e=String(e)).match(aE)?e:"unsafe:"+e}function Aa(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Xc(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const qm=Aa("area,br,col,hr,img,wbr"),eg=Aa("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),tg=Aa("rp,rt"),Kh=Xc(qm,Xc(eg,Aa("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")),Xc(tg,Aa("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")),Xc(tg,eg)),Yh=Aa("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ng=Xc(Yh,Aa("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"),Aa("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")),lE=Aa("script,style,template");class cE{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,a=[];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)a.push(n),n=hE(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let h=dE(n);if(h){n=h;break}n=a.pop()}return this.buf.join("")}startElement(t){const n=ig(t).toLowerCase();if(!Kh.hasOwnProperty(n))return this.sanitizedSomething=!0,!lE.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let a=0;a<r.length;a++){const h=r.item(a),v=h.name,w=v.toLowerCase();if(!ng.hasOwnProperty(w)){this.sanitizedSomething=!0;continue}let P=h.value;Yh[w]&&(P=hd(P)),this.buf.push(" ",v,'="',sg(P),'"')}return this.buf.push(">"),!0}endElement(t){const n=ig(t).toLowerCase();Kh.hasOwnProperty(n)&&!qm.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(sg(t))}}function dE(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw rg(t);return t}function hE(e){const t=e.firstChild;if(t&&function uE(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw rg(t);return t}function ig(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function rg(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const fE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,pE=/([^\#-~ |!])/g;function sg(e){return e.replace(/&/g,"&amp;").replace(fE,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(pE,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let fd;function og(e,t){let n=null;try{fd=fd||function Jm(e){const t=new sE(e);return function oE(){try{return!!(new window.DOMParser).parseFromString(Wl(""),"text/html")}catch{return!1}}()?new rE(t):t}(e);let r=t?String(t):"";n=fd.getInertBodyElement(r);let a=5,h=r;do{if(0===a)throw new Error("Failed to sanitize html because the input is unstable");a--,r=h,h=n.innerHTML,n=fd.getInertBodyElement(r)}while(r!==h);return Wl((new cE).sanitizeChildren(Xh(n)||n))}finally{if(n){const r=Xh(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Xh(e){return"content"in e&&function mE(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ml=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}(ml||{});function ag(e){const t=Qc();return t?Xm(t.sanitize(ml.HTML,e)||""):jl(e,"HTML")?Xm(xa(e)):og(za(),oi(e))}function Qh(e){const t=Qc();return t?t.sanitize(ml.URL,e)||"":jl(e,"URL")?xa(e):hd(oi(e))}function Zh(e){const t=Qc();if(t)return Zm(t.sanitize(ml.RESOURCE_URL,e)||"");if(jl(e,"ResourceURL"))return Zm(xa(e));throw new Ot(904,!1)}function lg(e,t,n){return function bE(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Zh:Qh}(t,n)(e)}function Qc(){const e=gn();return e&&e[fs].sanitizer}const CE=/^>|^->|<!--|-->|--!>|<!-$/g,EE=/(<|>)/g,wE="\u200b$1\u200b";function ef(e){ln("Must never be called in production mode");const n=function pd(e){ln("Must never be called in production mode");const n=e[is][kr];return n&&n.constructor?vi(n.constructor):null}(e)?.type?.name;return n?` (used in the '${n}' component template)`:""}function hg(e){return e.ownerDocument}function Wo(e){return e instanceof Function?e():e}function ia(e){return"browser"===(e??di(Uo)).get(Rh)}var gd=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(gd||{});let tf;function nf(e,t){return tf(e,t)}function $l(e,t,n,r,a){if(null!=r){let h,v=!1;wt(r)?h=r:tt(r)&&(v=!0,r=r[Ri]);const w=rs(r);0===e&&null!==n?null==a?Cg(t,n,w):gl(t,n,w,a||null,!0):1===e&&null!==n?gl(t,n,w,a||null,!0):2===e?function qc(e,t,n){const r=yd(e,t);r&&function UE(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,w,v):3===e&&t.destroyNode(w),null!=h&&function HE(e,t,n,r,a){const h=n[qs];h!==rs(n)&&$l(t,e,r,h,a);for(let w=St;w<n.length;w++){const P=n[w];Cd(P[On],P,e,t,r,h)}}(t,e,h,n,a)}}function sf(e,t){return e.createComment(function cg(e){return e.replace(CE,t=>t.replace(EE,wE))}(t))}function _d(e,t,n){return e.createElement(t,n)}function vg(e,t){t[fs].changeDetectionScheduler?.notify(1),Cd(e,t,t[Di],2,null,null)}function yg(e,t){const n=e[Bt],r=n.indexOf(t);n.splice(r,1)}function Zc(e,t){if(e.length<=St)return;const n=St+t,r=e[n];if(r){const a=r[Io];null!==a&&a!==e&&yg(a,r),t>0&&(e[n-1][Kr]=r[Kr]);const h=we(e,St+t);!function kE(e,t){vg(e,t),t[Ri]=null,t[Gr]=null}(r[On],r);const v=h[ao];null!==v&&v.detachView(h[On]),r[cr]=null,r[Kr]=null,r[li]&=-129}return r}function vd(e,t){if(!(256&t[li])){const n=t[Di];n.destroyNode&&Cd(e,t,n,3,null,null),function FE(e){let t=e[po];if(!t)return af(e[On],e);for(;t;){let n=null;if(tt(t))n=t[po];else{const r=t[St];r&&(n=r)}if(!n){for(;t&&!t[Kr]&&t!==e;)tt(t)&&af(t[On],t),t=t[cr];null===t&&(t=e),tt(t)&&af(t[On],t),n=t&&t[Kr]}t=n}}(t)}}function af(e,t){if(256&t[li])return;const n=y(null);try{t[li]&=-129,t[li]|=256,t[To]&&le(t[To]),function VE(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const a=t[n[r]];if(!(a instanceof Ha)){const h=n[r+1];if(Array.isArray(h))for(let v=0;v<h.length;v+=2){const w=a[h[v]],P=h[v+1];Po(4,w,P);try{P.call(w)}finally{Po(5,w,P)}}else{Po(4,a,h);try{h.call(a)}finally{Po(5,a,h)}}}}}(e,t),function GE(e,t){const n=e.cleanup,r=t[fo];if(null!==n)for(let h=0;h<n.length-1;h+=2)if("string"==typeof n[h]){const v=n[h+3];v>=0?r[v]():r[-v].unsubscribe(),h+=2}else n[h].call(r[n[h+1]]);null!==r&&(t[fo]=null);const a=t[uo];if(null!==a){t[uo]=null;for(let h=0;h<a.length;h++)(0,a[h])()}}(e,t),1===t[On].type&&t[Di].destroy();const r=t[Io];if(null!==r&&wt(t[cr])){r!==t[cr]&&yg(r,t);const a=t[ao];null!==a&&a.detachView(e)}!function pC(e){Oh.delete(e[So])}(t)}finally{y(n)}}function lf(e,t,n){return function bg(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[Ri];{const{componentOffset:a}=r;if(a>-1){const{encapsulation:h}=e.data[r.directiveStart+a];if(h===Mr.None||h===Mr.Emulated)return null}return Ys(r,n)}}(e,t.parent,n)}function gl(e,t,n,r,a){e.insertBefore(t,n,r,a)}function Cg(e,t,n){e.appendChild(t,n)}function Eg(e,t,n,r,a){null!==r?gl(e,t,n,r,a):Cg(e,t,n)}function yd(e,t){return e.parentNode(t)}function wg(e,t,n){return Mg(e,t,n)}let cf,Mg=function Dg(e,t,n){return 40&e.type?Ys(e,n):null};function bd(e,t,n,r){const a=lf(e,r,t),h=t[Di],w=wg(r.parent||t[Gr],r,t);if(null!=a)if(Array.isArray(n))for(let P=0;P<n.length;P++)Eg(h,a,n[P],w,!1);else Eg(h,a,n,w,!1);void 0!==cf&&cf(h,r,t,n,a)}function Jc(e,t){if(null!==t){const n=t.type;if(3&n)return Ys(t,e);if(4&n)return uf(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Jc(e,r);{const a=e[t.index];return wt(a)?uf(-1,a):rs(a)}}if(32&n)return nf(t,e)()||rs(e[t.index]);{const r=Sg(e,t);return null!==r?Array.isArray(r)?r[0]:Jc(ha(e[is]),r):Jc(e,t.next)}}return null}function Sg(e,t){return null!==t?e[is][Gr].projection[t.projection]:null}function uf(e,t){const n=St+e+1;if(n<t.length){const r=t[n],a=r[On].firstChild;if(null!==a)return Jc(r,a)}return t[qs]}function df(e,t,n,r,a,h,v){for(;null!=n;){const w=r[n.index],P=n.type;if(v&&0===t&&(w&&_o(rs(w),r),n.flags|=2),32!=(32&n.flags))if(8&P)df(e,t,n.child,r,a,h,!1),$l(t,e,a,w,h);else if(32&P){const se=nf(n,r);let Le;for(;Le=se();)$l(t,e,a,Le,h);$l(t,e,a,w,h)}else 16&P?Og(e,t,r,n,a,h):$l(t,e,a,w,h);n=v?n.projectionNext:n.next}}function Cd(e,t,n,r,a,h){df(n,r,e.firstChild,t,a,h,!1)}function Og(e,t,n,r,a,h){const v=n[is],P=v[Gr].projection[r.projection];if(Array.isArray(P))for(let se=0;se<P.length;se++)$l(t,e,a,P[se],h);else{let se=P;const Le=v[cr];td(r)&&(se.flags|=128),df(e,t,se,Le,a,h,!0)}}function Pg(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function xg(e,t,n){const{mergedAttrs:r,classes:a,styles:h}=n;null!==r&&Rs(e,t,r),null!==a&&Pg(e,t,a),null!==h&&function zE(e,t,n){e.setAttribute(t,"style",n)}(e,t,h)}const Zi={};function Ag(e=1){Rg(rr(),gn(),to()+e,!1)}function Rg(e,t,n,r){if(!r)if(3==(3&t[li])){const h=e.preOrderCheckHooks;null!==h&&ja(t,h,n)}else{const h=e.preOrderHooks;null!==h&&Sa(t,h,0,n)}fa(n)}function zl(e,t=ci.Default){const n=gn();return null===n?nr(e,t):O(Wr(),n,We(e),t)}function kg(){throw new Error("invalid")}function Lg(e,t,n,r,a,h){const v=y(null);try{let w=null;a&bi.SignalBased&&(w=t[r][i]),null!==w&&void 0!==w.transformFn&&(h=w.transformFn(h)),a&bi.HasDecoratorInputTransform&&(h=e.inputTransforms[r].call(t,h)),null!==e.setInput?e.setInput(t,w,h,n,r):Yo(t,w,r,h)}finally{y(v)}}function Ed(e,t,n,r,a,h,v,w,P,se,Le){const ut=t.blueprint.slice();return ut[Ri]=a,ut[li]=204|r,(null!==se||e&&2048&e[li])&&(ut[li]|=2048),wc(ut),ut[cr]=ut[Ps]=e,ut[kr]=n,ut[fs]=v||e&&e[fs],ut[Di]=w||e&&e[Di],ut[Yr]=P||e&&e[Yr]||null,ut[Gr]=h,ut[So]=function hC(){return dC++}(),ut[Ur]=Le,ut[$o]=se,ut[is]=2==t.type?e[is]:ut,ut}function Kl(e,t,n,r,a){let h=e.data[t];if(null===h)h=function hf(e,t,n,r,a){const h=sl(),v=xl(),P=e.data[t]=function ew(e,t,n,r,a,h){let v=t?t.injectorIndex:-1,w=0;return Ea()&&(w|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:v,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:w,providerIndexes:0,value:a,attrs:h,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}}(0,v?h:h&&h.parent,n,t,r,a);return null===e.firstChild&&(e.firstChild=P),null!==h&&(v?null==h.child&&null!==P.parent&&(h.child=P):null===h.next&&(h.next=P,P.prev=h)),P}(e,t,n,r,a),function Ac(){return Li.lFrame.inI18n}()&&(h.flags|=32);else if(64&h.type){h.type=n,h.value=r,h.attrs=a;const v=function wa(){const e=Li.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();h.injectorIndex=null===v?-1:v.injectorIndex}return Eo(h,!0),h}function eu(e,t,n,r){if(0===n)return-1;const a=t.length;for(let h=0;h<n;h++)t.push(r),e.blueprint.push(r),e.data.push(null);return a}function Fg(e,t,n,r,a){const h=to(),v=2&r;try{fa(-1),v&&t.length>ki&&Rg(e,t,ki,!1),Po(v?2:0,a),n(r,a)}finally{fa(h),Po(v?3:1,a)}}function ff(e,t,n){if(cn(t)){const r=y(null);try{const h=t.directiveEnd;for(let v=t.directiveStart;v<h;v++){const w=e.data[v];w.contentQueries&&w.contentQueries(1,n[v],v)}}finally{y(r)}}}function pf(e,t,n){il()&&(function aw(e,t,n,r){const a=n.directiveStart,h=n.directiveEnd;pn(n)&&function pw(e,t,n){const r=Ys(t,e),a=Ng(n);let v=16;n.signals?v=4096:n.onPush&&(v=64);const w=wd(e,Ed(e,a,null,v,r,t,null,e[fs].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=w}(t,n,e.data[a+n.componentOffset]),e.firstCreatePass||go(n,t),_o(r,t);const v=n.initialInputs;for(let w=a;w<h;w++){const P=e.data[w],se=xs(t,e,w,n);_o(se,t),null!==v&&mw(0,w-a,se,P,0,v),hi(P)&&(eo(n.index,t)[kr]=xs(t,e,w,n))}}(e,t,n,Ys(n,t)),64==(64&n.flags)&&Wg(e,t,n))}function mf(e,t,n=Ys){const r=t.localNames;if(null!==r){let a=t.index+1;for(let h=0;h<r.length;h+=2){const v=r[h+1],w=-1===v?n(t,e):e[v];e[a++]=w}}}function Ng(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=gf(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function gf(e,t,n,r,a,h,v,w,P,se,Le){const ut=ki+r,Ut=ut+a,Yt=function YE(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Zi);return n}(ut,Ut),qt="function"==typeof se?se():se;return Yt[On]={type:e,blueprint:Yt,template:n,queries:null,viewQuery:w,declTNode:t,data:Yt.slice().fill(null,ut),bindingStartIndex:ut,expandoStartIndex:Ut,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof h?h():h,pipeRegistry:"function"==typeof v?v():v,firstChild:null,schemas:P,consts:qt,incompleteFirstPass:!1,ssrId:Le}}let Bg=()=>null;function Gg(e,t,n,r,a){for(let h in t){if(!t.hasOwnProperty(h))continue;const v=t[h];if(void 0===v)continue;r??={};let w,P=bi.None;Array.isArray(v)?(w=v[0],P=v[1]):w=v;let se=h;if(null!==a){if(!a.hasOwnProperty(h))continue;se=a[h]}0===e?Vg(r,n,se,w,P):Vg(r,n,se,w)}return r}function Vg(e,t,n,r,a){let h;e.hasOwnProperty(n)?(h=e[n]).push(t,r):h=e[n]=[t,r],void 0!==a&&h.push(a)}function Ro(e,t,n,r,a,h,v,w){const P=Ys(t,n);let Le,se=t.inputs;!w&&null!=se&&(Le=se[r])?(Cf(e,n,Le,r,a),pn(t)&&function iw(e,t){const n=eo(t,e);16&n[li]||(n[li]|=64)}(n,t.index)):3&t.type&&(r=function nw(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),a=null!=v?v(a,t.value||"",r):a,h.setProperty(P,r,a))}function _f(e,t,n,r){if(il()){const a=null===r?null:{"":-1},h=function cw(e,t){const n=e.directiveRegistry;let r=null,a=null;if(n)for(let h=0;h<n.length;h++){const v=n[h];if(mt(t,v.selectors,!1))if(r||(r=[]),hi(v))if(null!==v.findHostDirectiveDefs){const w=[];a=a||new Map,v.findHostDirectiveDefs(v,w,a),r.unshift(...w,v),vf(e,t,w.length)}else r.unshift(v),vf(e,t,0);else a=a||new Map,v.findHostDirectiveDefs?.(v,r,a),r.push(v)}return null===r?null:[r,a]}(e,n);let v,w;null===h?v=w=null:[v,w]=h,null!==v&&Ug(e,t,n,v,a,w),a&&function uw(e,t,n){if(t){const r=e.localNames=[];for(let a=0;a<t.length;a+=2){const h=n[t[a+1]];if(null==h)throw new Ot(-301,!1);r.push(t[a],h)}}}(n,r,a)}n.mergedAttrs=$(n.mergedAttrs,n.attrs)}function Ug(e,t,n,r,a,h){for(let se=0;se<r.length;se++)Uc(go(n,t),e,r[se].type);!function hw(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let se=0;se<r.length;se++){const Le=r[se];Le.providersResolver&&Le.providersResolver(Le)}let v=!1,w=!1,P=eu(e,t,r.length,null);for(let se=0;se<r.length;se++){const Le=r[se];n.mergedAttrs=$(n.mergedAttrs,Le.hostAttrs),fw(e,n,t,P,Le),dw(P,Le,a),null!==Le.contentQueries&&(n.flags|=4),(null!==Le.hostBindings||null!==Le.hostAttrs||0!==Le.hostVars)&&(n.flags|=64);const ut=Le.type.prototype;!v&&(ut.ngOnChanges||ut.ngOnInit||ut.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),v=!0),!w&&(ut.ngOnChanges||ut.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),w=!0),P++}!function tw(e,t,n){const a=t.directiveEnd,h=e.data,v=t.attrs,w=[];let P=null,se=null;for(let Le=t.directiveStart;Le<a;Le++){const ut=h[Le],Ut=n?n.get(ut):null,qt=Ut?Ut.outputs:null;P=Gg(0,ut.inputs,Le,P,Ut?Ut.inputs:null),se=Gg(1,ut.outputs,Le,se,qt);const vn=null===P||null===v||ze(t)?null:gw(P,Le,v);w.push(vn)}null!==P&&(P.hasOwnProperty("class")&&(t.flags|=8),P.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=w,t.inputs=P,t.outputs=se}(e,n,h)}function Wg(e,t,n){const r=n.directiveStart,a=n.directiveEnd,h=n.index,v=function al(){return Li.lFrame.currentDirectiveIndex}();try{fa(h);for(let w=r;w<a;w++){const P=e.data[w],se=t[w];Al(w),(null!==P.hostBindings||0!==P.hostVars||null!==P.hostAttrs)&&lw(P,se)}}finally{fa(-1),Al(v)}}function lw(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function vf(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function dw(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;hi(t)&&(n[""]=e)}}function fw(e,t,n,r,a){e.data[r]=a;const h=a.factory||(a.factory=Hi(a.type)),v=new Ha(h,hi(a),zl);e.blueprint[r]=v,n[r]=v,function sw(e,t,n,r,a){const h=a.hostBindings;if(h){let v=e.hostBindingOpCodes;null===v&&(v=e.hostBindingOpCodes=[]);const w=~t.index;(function ow(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(v)!=w&&v.push(w),v.push(n,r,h)}}(e,t,r,eu(e,n,a.hostVars,Zi),a)}function ga(e,t,n,r,a,h){const v=Ys(e,t);!function yf(e,t,n,r,a,h,v){if(null==h)e.removeAttribute(t,a,n);else{const w=null==v?oi(h):v(h,r||"",a);e.setAttribute(t,a,w,n)}}(t[Di],v,h,e.value,n,r,a)}function mw(e,t,n,r,a,h){const v=h[t];if(null!==v)for(let w=0;w<v.length;)Lg(r,n,v[w++],v[w++],v[w++],v[w++])}function gw(e,t,n){let r=null,a=0;for(;a<n.length;){const h=n[a];if(0!==h)if(5!==h){if("number"==typeof h)break;if(e.hasOwnProperty(h)){null===r&&(r=[]);const v=e[h];for(let w=0;w<v.length;w+=3)if(v[w]===t){r.push(h,v[w+1],v[w+2],n[a+1]);break}}a+=2}else a+=2;else a+=4}return r}function jg(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Hg(e,t){const n=e.contentQueries;if(null!==n){const r=y(null);try{for(let a=0;a<n.length;a+=2){const v=n[a+1];if(-1!==v){const w=e.data[v];Ma(n[a]),w.contentQueries(2,t[v],v)}}}finally{y(r)}}}function wd(e,t){return e[po]?e[co][Kr]=t:e[po]=t,e[co]=t,t}function bf(e,t,n){Ma(0);const r=y(null);try{t(e,n)}finally{y(r)}}function $g(e){return e[fo]||(e[fo]=[])}function zg(e){return e.cleanup||(e.cleanup=[])}function Kg(e,t,n){return(null===e||hi(e))&&(n=function La(e){for(;Array.isArray(e);){if("object"==typeof e[zo])return e;e=e[Ri]}return null}(n[t.index])),n[Di]}function Dd(e,t){const n=e[Yr],r=n?n.get(Pa,null):null;r&&r.handleError(t)}function Cf(e,t,n,r,a){for(let h=0;h<n.length;){const v=n[h++],w=n[h++],P=n[h++];Lg(e.data[v],t[v],r,w,P,a)}}function Ra(e,t,n){const r=Fa(t,e);!function _g(e,t,n){e.setValue(t,n)}(e[Di],r,n)}function _w(e,t){const n=eo(t,e),r=n[On];!function vw(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const a=n[Ri];null!==a&&null===n[Ur]&&(n[Ur]=Uh(a,n[Yr])),Ef(r,n,n[kr])}function Ef(e,t,n){kl(t);try{const r=e.viewQuery;null!==r&&bf(1,r,n);const a=e.template;null!==a&&Fg(e,t,a,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[ao]?.finishViewCreation(e),e.staticContentQueries&&Hg(e,t),e.staticViewQueries&&bf(2,e.viewQuery,n);const h=e.components;null!==h&&function yw(e,t){for(let n=0;n<t.length;n++)_w(e,t[n])}(t,h)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[li]&=-5,Ua()}}function tu(e,t,n,r){const a=y(null);try{const h=t.tView,P=Ed(e,h,n,4096&e[li]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);P[Io]=e[t.index];const Le=e[ao];return null!==Le&&(P[ao]=Le.createEmbeddedView(h)),Ef(h,P,n),P}finally{y(a)}}function Yl(e,t){return!t||null===t.firstChild||td(e)}function nu(e,t,n,r=!0){const a=t[On];if(function NE(e,t,n,r){const a=St+r,h=n.length;r>0&&(n[a-1][Kr]=t),r<h-St?(t[Kr]=n[a],Q(n,St+r,t)):(n.push(t),t[Kr]=null),t[cr]=n;const v=t[Io];null!==v&&n!==v&&function BE(e,t){const n=e[Bt];t[is]!==t[cr][cr][is]&&(e[li]|=ee.HasTransplantedViews),null===n?e[Bt]=[t]:n.push(t)}(v,t);const w=t[ao];null!==w&&w.insertView(e),tl(t),t[li]|=128}(a,t,e,n),r){const v=uf(n,e),w=t[Di],P=yd(w,e[qs]);null!==P&&function LE(e,t,n,r,a,h){r[Ri]=a,r[Gr]=t,Cd(e,r,n,1,a,h)}(a,e[Gr],w,t,P,v)}const h=t[Ur];null!==h&&null!==h.firstChild&&(h.firstChild=null)}function iu(e,t,n,r,a=!1){for(;null!==n;){const h=t[n.index];null!==h&&r.push(rs(h)),wt(h)&&Xg(h,r);const v=n.type;if(8&v)iu(e,t,n.child,r);else if(32&v){const w=nf(n,t);let P;for(;P=w();)r.push(P)}else if(16&v){const w=Sg(t,n);if(Array.isArray(w))r.push(...w);else{const P=ha(t[is]);iu(P[On],P,w,r,!0)}}n=a?n.projectionNext:n.next}return r}function Xg(e,t){for(let n=St;n<e.length;n++){const r=e[n],a=r[On].firstChild;null!==a&&iu(r[On],r,a,t)}e[qs]!==e[Ri]&&t.push(e[qs])}let Qg=[];const ww={...K,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{da(e.lView)},consumerOnSignalRead(){this.lView[To]=this}},Zg=100;function Md(e,t=!0,n=0){const r=e[fs],a=r.rendererFactory;a.begin?.();try{!function Dw(e,t){Df(e,t);let n=0;for(;Na(e);){if(n===Zg)throw new Ot(103,!1);n++,Df(e,1)}}(e,n)}catch(v){throw t&&Dd(e,v),v}finally{a.end?.(),r.inlineEffectRunner?.flush()}}function Mw(e,t,n,r){const a=t[li];if(256==(256&a))return;t[fs].inlineEffectRunner?.flush(),kl(t);let v=null,w=null;(function Iw(e){return 2!==e.type})(e)&&(w=function bw(e){return e[To]??function Cw(e){const t=Qg.pop()??Object.create(ww);return t.lView=e,t}(e)}(t),v=j(w));try{wc(t),function Da(e){return Li.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Fg(e,t,n,2,r);const P=3==(3&a);if(P){const ut=e.preOrderCheckHooks;null!==ut&&ja(t,ut,null)}else{const ut=e.preOrderHooks;null!==ut&&Sa(t,ut,0,null),Nl(t,0)}if(function Sw(e){for(let t=Pm(e);null!==t;t=xm(t)){if(!(t[li]&ee.HasTransplantedViews))continue;const n=t[Bt];for(let r=0;r<n.length;r++){Sl(n[r])}}}(t),Jg(t,0),null!==e.contentQueries&&Hg(e,t),P){const ut=e.contentCheckHooks;null!==ut&&ja(t,ut)}else{const ut=e.contentHooks;null!==ut&&Sa(t,ut,1),Nl(t,1)}!function KE(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const a=n[r];if(a<0)fa(~a);else{const h=a,v=n[++r],w=n[++r];zu(v,h),w(2,t[h])}}}finally{fa(-1)}}(e,t);const se=e.components;null!==se&&e_(t,se,0);const Le=e.viewQuery;if(null!==Le&&bf(2,Le,r),P){const ut=e.viewCheckHooks;null!==ut&&ja(t,ut)}else{const ut=e.viewHooks;null!==ut&&Sa(t,ut,2),Nl(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[Go]){for(const ut of t[Go])ut();t[Go]=null}t[li]&=-73}catch(P){throw da(t),P}finally{null!==w&&(ke(w,v),function Ew(e){e.lView[To]!==e&&(e.lView=null,Qg.push(e))}(w)),Ua()}}function Jg(e,t){for(let n=Pm(e);null!==n;n=xm(n))for(let r=St;r<n.length;r++)qg(n[r],t)}function Tw(e,t,n){qg(eo(t,e),n)}function qg(e,t){na(e)&&Df(e,t)}function Df(e,t){const r=e[On],a=e[li],h=e[To];let v=!!(0===t&&16&a);if(v||=!!(64&a&&0===t),v||=!!(1024&a),v||=!(!h?.dirty||!rt(h)),h&&(h.dirty=!1),e[li]&=-9217,v)Mw(r,e,r.template,e[kr]);else if(8192&a){Jg(e,1);const w=r.components;null!==w&&e_(e,w,1)}}function e_(e,t,n){for(let r=0;r<t.length;r++)Tw(e,t[r],n)}function ru(e){for(e[fs].changeDetectionScheduler?.notify();e;){e[li]|=64;const t=ha(e);if(tr(e)&&!t)return e;e=t}return null}class su{get rootNodes(){const t=this._lView,n=t[On];return iu(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[kr]}set context(t){this._lView[kr]=t}get destroyed(){return 256==(256&this._lView[li])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[cr];if(wt(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Zc(t,r),we(n,r))}this._attachedToViewContainer=!1}vd(this._lView[On],this._lView)}onDestroy(t){nl(this._lView,t)}markForCheck(){ru(this._cdRefInjectingView||this._lView)}detach(){this._lView[li]&=-129}reattach(){tl(this._lView),this._lView[li]|=128}detectChanges(){this._lView[li]|=1024,Md(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ot(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,vg(this._lView[On],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Ot(902,!1);this._appRef=t,tl(this._lView)}}let ou=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=xw}return e})();const Ow=ou,Pw=class extends Ow{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){const a=tu(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new su(a)}};function xw(){return Id(Wr(),gn())}function Id(e,t){return 4&e.type?new Pw(t,e,Gl(e,t)):null}let o_=()=>null;function Xl(e,t){return o_(e,t)}class xd{}class tD{}class a_{}class iD{resolveComponentFactory(t){throw function nD(e){const t=Error(`No component factory found for ${Ft(e)}.`);return t.ngComponent=e,t}(t)}}let du=(()=>{class e{static#e=this.NULL=new iD}return e})();class c_{}let rD=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function sD(){const e=gn(),n=eo(Wr().index,e);return(tt(n)?n:e)[Di]}()}return e})(),oD=(()=>{class e{static#e=this.\u0275prov=qn({token:e,providedIn:"root",factory:()=>null})}return e})();const Pf={},u_=new Set;function _a(e){u_.has(e)||(u_.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function d_(...e){}class Qs{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ma(!1),this.onMicrotaskEmpty=new ma(!1),this.onStable=new ma(!1),this.onError=new ma(!1),typeof Zone>"u")throw new Ot(908,!1);Zone.assertZonePatched();const a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!r&&n,a.shouldCoalesceRunChangeDetection=r,a.lastRequestAnimationFrameId=-1,a.nativeRequestAnimationFrame=function aD(){const e="function"==typeof dn.requestAnimationFrame;let t=dn[e?"requestAnimationFrame":"setTimeout"],n=dn[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const a=n[Zone.__symbol__("OriginalDelegate")];a&&(n=a)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function uD(e){const t=()=>{!function cD(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(dn,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Af(e),e.isCheckStableRunning=!0,xf(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Af(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,a,h,v,w)=>{if(function dD(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(w))return n.invokeTask(a,h,v,w);try{return h_(e),n.invokeTask(a,h,v,w)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===h.type||e.shouldCoalesceRunChangeDetection)&&t(),f_(e)}},onInvoke:(n,r,a,h,v,w,P)=>{try{return h_(e),n.invoke(a,h,v,w,P)}finally{e.shouldCoalesceRunChangeDetection&&t(),f_(e)}},onHasTask:(n,r,a,h)=>{n.hasTask(a,h),r===a&&("microTask"==h.change?(e._hasPendingMicrotasks=h.microTask,Af(e),xf(e)):"macroTask"==h.change&&(e.hasPendingMacrotasks=h.macroTask))},onHandleError:(n,r,a,h)=>(n.handleError(a,h),e.runOutsideAngular(()=>e.onError.emit(h)),!1)})}(a)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Qs.isInAngularZone())throw new Ot(909,!1)}static assertNotInAngularZone(){if(Qs.isInAngularZone())throw new Ot(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,a){const h=this._inner,v=h.scheduleEventTask("NgZoneEvent: "+a,t,lD,d_,d_);try{return h.runTask(v,n,r)}finally{h.cancelTask(v)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const lD={};function xf(e){if(0==e._nesting&&!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 Af(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function h_(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function f_(e){e._nesting--,xf(e)}class p_{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ma,this.onMicrotaskEmpty=new ma,this.onStable=new ma,this.onError=new ma}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,a){return t.apply(n,r)}}var _l=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(_l||{});const m_={destroy(){}};function Rf(e,t){const n=t?.injector??di(Uo);(t?.runOnServer||ia(n))&&n.get(hu).internalCallbacks.push(e)}function g_(e,t){!t&&vo();const n=t?.injector??di(Uo);if(!ia(n))return m_;_a("NgAfterNextRender");const r=n.get(hu),a=r.handler??=new v_,h=t?.phase??_l.MixedReadWrite,v=()=>{a.unregister(P),w()},w=n.get(Bl).onDestroy(v),P=Js(n,()=>new __(h,()=>{v(),e()}));return a.register(P),{destroy:v}}class __{constructor(t,n){this.phase=t,this.callbackFn=n,this.zone=di(Qs),this.errorHandler=di(Pa,{optional:!0}),di(xd,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class v_{constructor(){this.executingCallbacks=!1,this.buckets={[_l.EarlyRead]:new Set,[_l.Write]:new Set,[_l.MixedReadWrite]:new Set,[_l.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const n of t)n.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let hu=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const r of n)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=qn({token:e,providedIn:"root",factory:()=>new e})}return e})();function Ka(e){return!!qi(e)}function Rd(e,t,n){let r=n?e.styles:null,a=n?e.classes:null,h=0;if(null!==t)for(let v=0;v<t.length;v++){const w=t[v];"number"==typeof w?h=w:1==h?a=Nt(a,w):2==h&&(r=Nt(r,w+": "+t[++v]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=a:e.classesWithoutHost=a}class C_ extends du{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=vi(t);return new mu(n,this.ngModule)}}function E_(e){const t=[];for(const n in e){if(!e.hasOwnProperty(n))continue;const r=e[n];void 0!==r&&t.push({propName:Array.isArray(r)?r[0]:r,templateName:n})}return t}class kd{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=cs(r);const a=this.injector.get(t,Pf,r);return a!==Pf||n===Pf?a:this.parentInjector.get(t,n,r)}}class mu extends a_{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=E_(t.inputs);if(null!==n)for(const a of r)n.hasOwnProperty(a.propName)&&(a.transform=n[a.propName]);return r}get outputs(){return E_(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Pi(e){return e.map(Xn).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,a){const h=y(null);try{let v=(a=a||this.ngModule)instanceof Ir?a:a?.injector;v&&null!==this.componentDef.getStandaloneInjector&&(v=this.componentDef.getStandaloneInjector(v)||v);const w=v?new kd(t,v):t,P=w.get(c_,null);if(null===P)throw new Ot(407,!1);const se=w.get(oD,null),Ut={rendererFactory:P,sanitizer:se,inlineEffectRunner:null,afterRenderEventManager:w.get(hu,null),changeDetectionScheduler:w.get(xd,null)},Yt=P.createRenderer(null,this.componentDef),qt=this.componentDef.selectors[0][0]||"div",vn=r?function XE(e,t,n,r){const h=r.get(Km,!1)||n===Mr.ShadowDom,v=e.selectRootElement(t,h);return function QE(e){Bg(e)}(v),v}(Yt,r,this.componentDef.encapsulation,w):_d(Yt,qt,function gD(e){const t=e.toLowerCase();return"svg"===t?Nu:"math"===t?"math":null}(qt));let An=512;this.componentDef.signals?An|=4096:this.componentDef.onPush||(An|=16);let zn=null;null!==vn&&(zn=Uh(vn,w,!0));const Dn=gf(0,null,null,1,0,null,null,null,null,null,null),Vi=Ed(null,Dn,null,An,null,null,Ut,Yt,w,null,zn);let Fr,us;kl(Vi);try{const so=this.componentDef;let Lo,Cc=null;so.findHostDirectiveDefs?(Lo=[],Cc=new Map,so.findHostDirectiveDefs(so,Lo,Cc),Lo.push(so)):Lo=[so];const Xb=function vD(e,t){const n=e[On],r=ki;return e[r]=t,Kl(n,r,2,"#host",null)}(Vi,vn),CO=function yD(e,t,n,r,a,h,v){const w=a[On];!function bD(e,t,n,r){for(const a of e)t.mergedAttrs=$(t.mergedAttrs,a.hostAttrs);null!==t.mergedAttrs&&(Rd(t,t.mergedAttrs,!0),null!==n&&xg(r,n,t))}(r,e,t,v);let P=null;null!==t&&(P=Uh(t,a[Yr]));const se=h.rendererFactory.createRenderer(t,n);let Le=16;n.signals?Le=4096:n.onPush&&(Le=64);const ut=Ed(a,Ng(n),null,Le,a[e.index],e,h,se,null,null,P);return w.firstCreatePass&&vf(w,e,r.length-1),wd(a,ut),a[e.index]=ut}(Xb,vn,so,Lo,Vi,Ut,Yt);us=ca(Dn,ki),vn&&function ED(e,t,n,r){if(r)Rs(e,n,["ng-version","17.3.11"]);else{const{attrs:a,classes:h}=function Ci(e){const t=[],n=[];let r=1,a=2;for(;r<e.length;){let h=e[r];if("string"==typeof h)2===a?""!==h&&t.push(h,e[++r]):8===a&&n.push(h);else{if(!ne(a))break;a=h}r++}return{attrs:t,classes:n}}(t.selectors[0]);a&&Rs(e,n,a),h&&h.length>0&&Pg(e,n,h.join(" "))}}(Yt,so,vn,r),void 0!==n&&function wD(e,t,n){const r=e.projection=[];for(let a=0;a<t.length;a++){const h=n[a];r.push(null!=h?Array.from(h):null)}}(us,this.ngContentSelectors,n),Fr=function CD(e,t,n,r,a,h){const v=Wr(),w=a[On],P=Ys(v,a);Ug(w,a,v,n,null,r);for(let Le=0;Le<n.length;Le++)_o(xs(a,w,v.directiveStart+Le,v),a);Wg(w,a,v),P&&_o(P,a);const se=xs(a,w,v.directiveStart+v.componentOffset,v);if(e[kr]=a[kr]=se,null!==h)for(const Le of h)Le(se,t);return ff(w,v,a),se}(CO,so,Lo,Cc,Vi,[DD]),Ef(Dn,Vi,null)}finally{Ua()}return new _D(this.componentType,Fr,Gl(us,Vi),Vi,us)}finally{y(h)}}}class _D extends tD{constructor(t,n,r,a,h){super(),this.location=r,this._rootLView=a,this._tNode=h,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new su(a,void 0,!1),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let a;if(null!==r&&(a=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const h=this._rootLView;Cf(h[On],h,a,t,n),this.previousInputValues.set(t,n),ru(eo(this._tNode.index,h))}}get injector(){return new no(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function DD(){const e=Wr();Ia(gn()[On],e)}let Ld=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=MD}return e})();function MD(){return M_(Wr(),gn())}const ID=Ld,w_=class extends ID{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Gl(this._hostTNode,this._hostLView)}get injector(){return new no(this._hostTNode,this._hostLView)}get parentInjector(){const t=Vc(this._hostTNode,this._hostLView);if(S(t)){const n=sn(t,this._hostLView),r=Be(t);return new no(n[On].data[r+8],n)}return new no(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=D_(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-St}createEmbeddedView(t,n,r){let a,h;"number"==typeof r?a=r:null!=r&&(a=r.index,h=r.injector);const v=Xl(this._lContainer,t.ssrId),w=t.createEmbeddedViewImpl(n||{},h,v);return this.insertImpl(w,a,Yl(this._hostTNode,v)),w}createComponent(t,n,r,a,h){const v=t&&!function yn(e){return"function"==typeof e}(t);let w;if(v)w=n;else{const qt=n||{};w=qt.index,r=qt.injector,a=qt.projectableNodes,h=qt.environmentInjector||qt.ngModuleRef}const P=v?t:new mu(vi(t)),se=r||this.parentInjector;if(!h&&null==P.ngModule){const vn=(v?se:this.parentInjector).get(Ir,null);vn&&(h=vn)}const Le=vi(P.componentType??{}),ut=Xl(this._lContainer,Le?.id??null),Yt=P.create(se,a,ut?.firstChild??null,h);return this.insertImpl(Yt.hostView,w,Yl(this._hostTNode,ut)),Yt}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const a=t._lView;if(function Wu(e){return wt(e[cr])}(a)){const w=this.indexOf(t);if(-1!==w)this.detach(w);else{const P=a[cr],se=new w_(P,P[Gr],P[cr]);se.detach(se.indexOf(t))}}const h=this._adjustIndex(n),v=this._lContainer;return nu(v,a,h,r),t.attachToViewContainerRef(),Q(Ff(v),h,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=D_(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Zc(this._lContainer,n);r&&(we(Ff(this._lContainer),n),vd(r[On],r))}detach(t){const n=this._adjustIndex(t,-1),r=Zc(this._lContainer,n);return r&&null!=we(Ff(this._lContainer),n)?new su(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function D_(e){return e[8]}function Ff(e){return e[8]||(e[8]=[])}function M_(e,t){let n;const r=t[e.index];return wt(r)?n=r:(n=jg(r,t,null,e),t[e.index]=n,wd(t,n)),I_(n,t,e,r),new w_(n,e,t)}let I_=function T_(e,t,n,r){if(e[qs])return;let a;a=8&n.type?rs(r):function SD(e,t){const n=e[Di],r=n.createComment(""),a=Ys(t,e);return gl(n,yd(n,a),r,function WE(e,t){return e.nextSibling(t)}(n,a),!1),r}(t,n),e[qs]=a},Nf=()=>!1;function S_(e,t,n){return Nf(e,t,n)}class Bf{constructor(t){this.queryList=t,this.matches=null}clone(){return new Bf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Gf{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,a=[];for(let h=0;h<r;h++){const v=n.getByIndex(h);a.push(this.queries[v.indexInDeclarationView].clone())}return new Gf(a)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Hf(t,n).matches&&this.queries[n].setDirty()}}class O_{constructor(t,n,r=null){this.flags=n,this.read=r,this.predicate="string"==typeof t?function LD(e){return e.split(",").map(t=>t.trim())}(t):t}}class Vf{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const a=null!==n?n.length:0,h=this.getByIndex(r).embeddedTView(t,a);h&&(h.indexInDeclarationView=r,null!==n?n.push(h):n=[h])}return null!==n?new Vf(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Uf{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new Uf(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let a=0;a<r.length;a++){const h=r[a];this.matchTNodeWithReadOption(t,n,xD(n,h)),this.matchTNodeWithReadOption(t,n,jr(n,t,h,!1,!1))}else r===ou?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,jr(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const a=this.metadata.read;if(null!==a)if(a===Wc||a===Ld||a===ou&&4&n.type)this.addMatch(n.index,-2);else{const h=jr(n,t,a,!1,!1);null!==h&&this.addMatch(n.index,h)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function xD(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function RD(e,t,n,r){return-1===n?function AD(e,t){return 11&e.type?Gl(e,t):4&e.type?Id(e,t):null}(t,e):-2===n?function kD(e,t,n){return n===Wc?Gl(t,e):n===ou?Id(t,e):n===Ld?M_(t,e):void 0}(e,t,r):xs(e,e[On],n,t)}function P_(e,t,n,r){const a=t[ao].queries[r];if(null===a.matches){const h=e.data,v=n.matches,w=[];for(let P=0;null!==v&&P<v.length;P+=2){const se=v[P];w.push(se<0?null:RD(t,h[se],v[P+1],n.metadata.read))}a.matches=w}return a.matches}function Wf(e,t,n,r){const a=e.queries.getByIndex(n),h=a.matches;if(null!==h){const v=P_(e,t,a,n);for(let w=0;w<h.length;w+=2){const P=h[w];if(P>0)r.push(v[w/2]);else{const se=h[w+1],Le=t[-P];for(let ut=St;ut<Le.length;ut++){const Ut=Le[ut];Ut[Io]===Ut[cr]&&Wf(Ut[On],Ut,se,r)}if(null!==Le[Bt]){const ut=Le[Bt];for(let Ut=0;Ut<ut.length;Ut++){const Yt=ut[Ut];Wf(Yt[On],Yt,se,r)}}}}}return r}function x_(e,t,n){const r=new ed(4==(4&n));return function qE(e,t,n,r){const a=$g(t);a.push(n),e.firstCreatePass&&zg(e).push(r,a.length-1)}(e,t,r,r.destroy),(t[ao]??=new Gf).queries.push(new Bf(r))-1}function k_(e,t,n){null===e.queries&&(e.queries=new Vf),e.queries.track(new Uf(t,n))}function Hf(e,t){return e.queries.getByIndex(t)}function L_(e,t){const n=e[On],r=Hf(n,t);return r.crossesNgTemplate?Wf(n,e,t,[]):P_(n,e,r,t)}function N_(e,t){_a("NgSignals");const n=function ce(e){const t=Object.create($e);t.value=e;const n=()=>(ie(t),t.value);return n[i]=t,n}(e),r=n[i];return t?.equal&&(r.equal=t.equal),n.set=a=>H(r,a),n.update=a=>function de(e,t){Z()||Gt(),H(e,t(e.value))}(r,a),n.asReadonly=B_.bind(n),n}function B_(){const e=this[i];if(void 0===e.readonlyFn){const t=()=>this();t[i]=e,e.readonlyFn=t}return e.readonlyFn}function G_(e){return function F_(e){return"function"==typeof e&&void 0!==e[i]}(e)&&"function"==typeof e.set}function zf(e){let t=function Q_(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let a;if(hi(e))a=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Ot(903,!1);a=t.\u0275dir}if(a){if(n){r.push(a);const v=e;v.inputs=Nd(e.inputs),v.inputTransforms=Nd(e.inputTransforms),v.declaredInputs=Nd(e.declaredInputs),v.outputs=Nd(e.outputs);const w=a.hostBindings;w&&QD(e,w);const P=a.viewQuery,se=a.contentQueries;if(P&&YD(e,P),se&&XD(e,se),zD(e,a),ti(e.outputs,a.outputs),hi(a)&&a.data.animation){const Le=e.data;Le.animation=(Le.animation||[]).concat(a.data.animation)}}const h=a.features;if(h)for(let v=0;v<h.length;v++){const w=h[v];w&&w.ngInherit&&w(e),w===zf&&(n=!1)}}t=Object.getPrototypeOf(t)}!function KD(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const a=e[r];a.hostVars=t+=a.hostVars,a.hostAttrs=$(a.hostAttrs,n=$(n,a.hostAttrs))}}(r)}function zD(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];if(void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const a=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(a))continue;e.inputTransforms??={},e.inputTransforms[a]=t.inputTransforms[a]}}}function Nd(e){return e===Zn?{}:e===Sn?[]:e}function YD(e,t){const n=e.viewQuery;e.viewQuery=n?(r,a)=>{t(r,a),n(r,a)}:t}function XD(e,t){const n=e.contentQueries;e.contentQueries=n?(r,a,h)=>{t(r,a,h),n(r,a,h)}:t}function QD(e,t){const n=e.hostBindings;e.hostBindings=n?(r,a)=>{t(r,a),n(r,a)}:t}function ev(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const a=t[r];Array.isArray(a)&&a[3]&&(n[r]=a[3])}e.inputTransforms=n}class vl{}class tv{}function n1(e,t){return new Kf(e,t??null,[])}class Kf extends vl{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new C_(this);const a=qi(t);this._bootstrapComponents=Wo(a.bootstrap),this._r3Injector=gm(t,n,[{provide:vl,useValue:this},{provide:du,useValue:this.componentFactoryResolver},...r],Ft(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Yf extends tv{constructor(t){super(),this.moduleType=t}create(t){return new Kf(this.moduleType,t,[])}}class nv extends vl{constructor(t){super(),this.componentFactoryResolver=new C_(this),this.instance=null;const n=new ho([...t.providers,{provide:vl,useValue:this},{provide:du,useValue:this.componentFactoryResolver}],t.parent||Bs(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Xf(e,t,n=null){return new nv({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let s1=(()=>{class e{constructor(){this.cachedInjectors=new Map}getOrCreateInjector(n,r,a,h){if(!this.cachedInjectors.has(n)){const v=a.length>0?Xf(a,r,h):null;this.cachedInjectors.set(n,v)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=qn({token:e,providedIn:"environment",factory:()=>new e})}return e})(),Zl=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ct.g(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=qn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Gd(e){return!!Qf(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Qf(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function va(e,t,n){return e[t]=n}function _u(e,t){return e[t]}function Hs(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function yl(e,t,n,r){const a=Hs(e,t,n);return Hs(e,t+1,r)||a}function Vd(e,t,n,r,a){const h=yl(e,t,n,r);return Hs(e,t+2,a)||h}function Jo(e,t,n,r,a,h){const v=yl(e,t,n,r);return yl(e,t+2,a,h)||v}function Jl(e,t,n,r,a,h,v,w){const P=gn(),se=rr(),Le=e+ki,ut=se.firstCreatePass?function u1(e,t,n,r,a,h,v,w,P){const se=t.consts,Le=Kl(t,e,4,v||null,bo(se,w));_f(t,n,Le,bo(se,P)),Ia(t,Le);const ut=Le.tView=gf(2,Le,r,a,h,t.directiveRegistry,t.pipeRegistry,null,t.schemas,se,null);return null!==t.queries&&(t.queries.template(t,Le),ut.queries=t.queries.embeddedTView(Le)),Le}(Le,se,P,t,n,r,a,h,v):se.data[Le];Eo(ut,!1);const Ut=iv(se,P,ut,e);Wa()&&bd(se,P,Ut,ut),_o(Ut,P);const Yt=jg(Ut,P,Ut,ut);return P[Le]=Yt,wd(P,Yt),S_(Yt,ut,P),Tn(ut)&&pf(se,P,ut),null!=v&&mf(P,ut,w),Jl}let iv=function rv(e,t,n,r){return Do(!0),t[Di].createComment("")};var $s=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}($s||{});const sv=0,f1=1;var zs=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(zs||{}),yu=function(e){return e[e.Initial=-1]="Initial",e}(yu||{});const ql=0,Ud=1,ov=4,av=5;var lv=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(lv||{});function jd(e,t,n){const r=1===e?av:ov;null===t[r]&&(t[r]=[]),t[r].push(n)}function Zf(e,t){const n=1===e?av:ov,r=t[n];if(null!==r){for(const a of r)a();t[n]=null}}function cv(e){Zf(1,e),Zf(0,e)}function Hd(e){return e+1}function bl(e,t){return e[Hd(t.index)]}function jo(e,t){const n=Hd(t.index);return e.data[n]}function Jf(e,t){return t===zs.Placeholder?e.placeholderBlockConfig?.[sv]??null:t===zs.Loading?e.loadingBlockConfig?.[sv]??null:null}function dv(e,t){if(!e||0===e.length)return t;const n=new Set(e);for(const r of t)n.add(r);return e.length===n.size?e:Array.from(n)}const ec=new WeakMap;let tc=null,tp=0;class np{constructor(){this.callbacks=new Set,this.listener=()=>{for(const t of this.callbacks)t()}}}function gv(e,t,n){const r=n.get(Qs);let a=ec.get(e);return tc=tc||r.runOutsideAngular(()=>new IntersectionObserver(h=>{for(const v of h)v.isIntersecting&&ec.has(v.target)&&r.run(ec.get(v.target).listener)})),a||(a=new np,r.runOutsideAngular(()=>tc.observe(e)),ec.set(e,a),tp++),a.callbacks.add(t),()=>{ec.has(e)&&(a.callbacks.delete(t),0===a.callbacks.size&&(tc?.unobserve(e),ec.delete(e),tp--),0===tp&&(tc?.disconnect(),tc=null))}}function _v(e,t){const r=t[Yr].get(w1);return r.add(e),()=>r.remove(e)}let w1=(()=>{class e{constructor(){this.executingCallbacks=!1,this.idleId=null,this.current=new Set,this.deferred=new Set,this.ngZone=di(Qs),this.requestIdleCallbackFn=(typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout).bind(globalThis),this.cancelIdleCallbackFn=(typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout).bind(globalThis)}add(n){(this.executingCallbacks?this.deferred:this.current).add(n),null===this.idleId&&this.scheduleIdleCallback()}remove(n){const{current:r,deferred:a}=this;r.delete(n),a.delete(n),0===r.size&&0===a.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const n=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const r of this.current)r();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const r of this.deferred)this.current.add(r);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(n))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static#e=this.\u0275prov=qn({token:e,providedIn:"root",factory:()=>new e})}return e})();const M1=new nn("");function ip(e){return e.get(M1,null,{optional:!0})?.behavior!==lv.Manual&&ia(e)}let rp=null;function bv(e,t,n,r,a,h,v,w,P){const se=gn(),Le=rr(),ut=e+ki;if(Jl(e,null,0,0),Le.firstCreatePass){_a("NgDefer");const An={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:a??null,errorTmplIndex:h??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:$s.NOT_STARTED,loadingPromise:null,providers:null};P?.(Le,An,w,v),function m1(e,t,n){const r=Hd(t);e.data[r]=n}(Le,ut,An)}const Ut=Wr();S_(se[ut],Ut,se);const qt=[null,yu.Initial,null,null,null,null];!function p1(e,t,n){e[Hd(t)]=n}(se,ut,qt);const vn=()=>cv(qt);jd(0,qt,()=>Ba(se,vn)),nl(se,vn)}function Cv(){!function Dv(e){const t=gn();if(ia(t[Yr])){const n=Wr(),a=jo(t[On],n);a.loadingState===$s.NOT_STARTED&&jd(1,bl(t,n),e(()=>function Cu(e,t,n){t[Yr]&&ip(t[Yr])&&sp(e,t,n)}(a,t,n),t))}}(_v)}function Ev(e,t){const n=gn(),r=Wr();(function ic(e,t){Xa(zs.Placeholder,t,e[t.index])})(n,r),function nc(e,t,n,r,a,h,v){const w=e[Yr];Rf(function P(){if(Ks(e))return;const se=bl(e,t),Le=se[Ud];if(Le!==yu.Initial&&Le!==zs.Placeholder)return;const ut=function y1(e,t,n){return null==n?e:n>=0?Dc(n,e):e[t.index][St]??null}(e,t,r);if(!ut)return void Rf(P,{injector:w});if(Ks(ut))return;const Ut=function b1(e,t){return Fa(ki+t,e)}(ut,n),Yt=a(Ut,()=>{e!==ut&&Ba(ut,Yt),h()},w);e!==ut&&nl(ut,Yt),jd(v,se,Yt)},{injector:w})}(n,r,e,t,gv,()=>function rc(e,t){const n=e[On],r=e[t.index];if(!ip(e[Yr]))return;const h=bl(e,t),v=jo(n,t);switch(cv(h),v.loadingState){case $s.NOT_STARTED:Xa(zs.Loading,t,r),sp(v,e,t),v.loadingState===$s.IN_PROGRESS&&Tv(v,t,r);break;case $s.IN_PROGRESS:Xa(zs.Loading,t,r),Tv(v,t,r);break;case $s.COMPLETE:Xa(zs.Complete,t,r);break;case $s.FAILED:Xa(zs.Error,t,r)}}(n,r),0)}function Xa(e,t,n,r=!1){const a=n[cr],h=a[On];if(Ks(a))return;const v=bl(a,t);if(Sv(v[Ud],e)&&Sv(v[ql]??-1,e)){const P=a[Yr],se=jo(h,t),ut=r||!ia(P)||null===function uv(e){return e.loadingBlockConfig?.[f1]??null}(se)&&null===Jf(se,zs.Loading)&&!Jf(se,zs.Placeholder)?Mv:rp;try{ut(e,v,n,t,a)}catch(Ut){Dd(a,Ut)}}}function Mv(e,t,n,r,a){const h=function g1(e,t,n){const a=jo(t[On],n);switch(e){case zs.Complete:return a.primaryTmplIndex;case zs.Loading:return a.loadingTmplIndex;case zs.Error:return a.errorTmplIndex;case zs.Placeholder:return a.placeholderTmplIndex;default:return null}}(e,a,r);if(null!==h){t[Ud]=e;const v=a[On],P=ca(v,h+ki),se=0;let Le;if(function wf(e,t){const n=Zc(e,t);return void 0!==n&&vd(n[On],n),n}(n,se),e===zs.Complete){const Yt=jo(v,r),qt=Yt.providers;if(qt&&qt.length>0){const vn=a[Yr],An=function G1(e){return e instanceof kd&&"function"==typeof e.injector.__ngOutletInjector}(vn),zn=An?vn:vn.get(Ir);Le=zn.get(s1).getOrCreateInjector(Yt,zn,qt,""),An&&(Le=function V1(e,t){return e.injector.__ngOutletInjector(t)}(vn,Le))}}const ut=Xl(n,P.tView.ssrId),Ut=tu(a,P,null,{dehydratedView:ut,injector:Le});nu(n,Ut,se,Yl(P,ut)),ru(Ut)}}function Sv(e,t){return e<t}function sp(e,t,n){const r=t[Yr],a=t[On];if(e.loadingState!==$s.NOT_STARTED)return e.loadingPromise??Promise.resolve();const h=bl(t,n),v=function _1(e,t){return ca(e,t.primaryTmplIndex+ki)}(a,e);e.loadingState=$s.IN_PROGRESS,Zf(1,h);let w=e.dependencyResolverFn;const P=r.get(Zl),se=P.add();return w?(e.loadingPromise=Promise.allSettled(w()).then(Le=>{let ut=!1;const Ut=[],Yt=[];for(const qt of Le){if("fulfilled"!==qt.status){ut=!0;break}{const vn=qt.value,An=vi(vn)||Ji(vn);if(An)Ut.push(An);else{const zn=Bi(vn);zn&&Yt.push(zn)}}}if(e.loadingPromise=null,P.remove(se),ut){if(e.loadingState=$s.FAILED,null===e.errorTmplIndex){ef(t);const vn=new Ot(750,!1);Dd(t,vn)}}else{e.loadingState=$s.COMPLETE;const qt=v.tView;if(Ut.length>0){qt.directiveRegistry=dv(qt.directiveRegistry,Ut);const An=Zt(!1,...Ut.map(zn=>zn.type));e.providers=An}Yt.length>0&&(qt.pipeRegistry=dv(qt.pipeRegistry,Yt))}}),e.loadingPromise):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=$s.COMPLETE,P.remove(se)}),e.loadingPromise)}function Tv(e,t,n){e.loadingPromise.then(()=>{e.loadingState===$s.COMPLETE?Xa(zs.Complete,t,n):e.loadingState===$s.FAILED&&Xa(zs.Error,t,n)})}function op(e,t,n,r){const a=gn();return Hs(a,wo(),t)&&(rr(),ga(Xr(),a,e,t,n,r)),op}function oc(e,t,n,r){return Hs(e,wo(),n)?t+oi(n)+r:Zi}function ac(e,t,n,r,a,h){const w=yl(e,Xo(),n,a);return xo(2),w?t+oi(n)+r+oi(a)+h:Zi}function lc(e,t,n,r,a,h,v,w){const se=Vd(e,Xo(),n,a,v);return xo(3),se?t+oi(n)+r+oi(a)+h+oi(v)+w:Zi}function ap(e,t,n,r,a,h){const v=gn(),w=oc(v,t,n,r);return w!==Zi&&ga(Xr(),v,e,w,a,h),ap}function lp(e,t,n,r,a,h,v,w){const P=gn(),se=ac(P,t,n,r,a,h);return se!==Zi&&ga(Xr(),P,e,se,v,w),lp}function zd(e,t){return e<<17|t<<2}function Qa(e){return e>>17&32767}function cp(e){return 2|e}function Cl(e){return(131068&e)>>2}function up(e,t){return-131069&e|t<<2}function dp(e){return 1|e}function Fv(e,t,n,r){const a=e[n+1],h=null===t;let v=r?Qa(a):Cl(a),w=!1;for(;0!==v&&(!1===w||h);){const se=e[v+1];K1(e[v],t)&&(w=!0,e[v+1]=r?dp(se):cp(se)),v=r?Qa(se):Cl(se)}w&&(e[n+1]=r?cp(a):dp(a))}function K1(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ft(e,t)>=0}const io={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Nv(e){return e.substring(io.key,io.keyEnd)}function Y1(e){return e.substring(io.value,io.valueEnd)}function Bv(e,t){const n=io.textEnd;return n===t?-1:(t=io.keyEnd=function Z1(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,io.key=t,n),pc(e,t,n))}function Gv(e,t){const n=io.textEnd;let r=io.key=pc(e,t,n);return n===r?-1:(r=io.keyEnd=function J1(e,t,n){let r;for(;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=Uv(e,r,n),r=io.value=pc(e,r,n),r=io.valueEnd=function q1(e,t,n){let r=-1,a=-1,h=-1,v=t,w=v;for(;v<n;){const P=e.charCodeAt(v++);if(59===P)return w;34===P||39===P?w=v=Wv(e,P,v,n):t===v-4&&85===h&&82===a&&76===r&&40===P?w=v=Wv(e,41,v,n):P>32&&(w=v),h=a,a=r,r=-33&P}return w}(e,r,n),Uv(e,r,n))}function Vv(e){io.key=0,io.keyEnd=0,io.value=0,io.valueEnd=0,io.textEnd=e.length}function pc(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Uv(e,t,n,r){return(t=pc(e,t,n))<n&&t++,t}function Wv(e,t,n,r){let a=-1,h=n;for(;h<r;){const v=e.charCodeAt(h++);if(v==t&&92!==a)return h;a=92==v&&92===a?0:v}throw new Error}function hp(e,t,n){const r=gn();return Hs(r,wo(),t)&&Ro(rr(),Xr(),r,e,t,r[Di],n,!1),hp}function fp(e,t,n,r,a){const v=a?"class":"style";Cf(e,n,t.inputs[v],v,r)}function pp(e,t,n){return sa(e,t,n,!1),pp}function mp(e,t){return sa(e,t,null,!0),mp}function ra(e){oa(zv,eM,e,!1)}function eM(e,t){for(let n=function Q1(e){return Vv(e),Gv(e,pc(e,0,io.textEnd))}(t);n>=0;n=Gv(t,n))zv(e,Nv(t),Y1(t))}function jv(e){oa(oM,ya,e,!0)}function ya(e,t){for(let n=function X1(e){return Vv(e),Bv(e,pc(e,0,io.textEnd))}(t);n>=0;n=Bv(t,n))Pe(e,Nv(t),!0)}function sa(e,t,n,r){const a=gn(),h=rr(),v=xo(2);h.firstUpdatePass&&$v(h,e,v,r),t!==Zi&&Hs(a,v,t)&&Kv(h,h.data[to()],a,a[Di],e,a[v+1]=function lM(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Ft(xa(e)))),e}(t,n),r,v)}function oa(e,t,n,r){const a=rr(),h=xo(2);a.firstUpdatePass&&$v(a,null,h,r);const v=gn();if(n!==Zi&&Hs(v,h,n)){const w=a.data[to()];if(Xv(w,r)&&!Hv(a,h)){let P=r?w.classesWithoutHost:w.stylesWithoutHost;null!==P&&(n=Nt(P,n||"")),fp(a,w,v,n,r)}else!function aM(e,t,n,r,a,h,v,w){a===Zi&&(a=Sn);let P=0,se=0,Le=0<a.length?a[0]:null,ut=0<h.length?h[0]:null;for(;null!==Le||null!==ut;){const Ut=P<a.length?a[P+1]:void 0,Yt=se<h.length?h[se+1]:void 0;let vn,qt=null;Le===ut?(P+=2,se+=2,Ut!==Yt&&(qt=ut,vn=Yt)):null===ut||null!==Le&&Le<ut?(P+=2,qt=Le):(se+=2,qt=ut,vn=Yt),null!==qt&&Kv(e,t,n,r,qt,vn,v,w),Le=P<a.length?a[P]:null,ut=se<h.length?h[se]:null}}(a,w,v,v[Di],v[h+1],v[h+1]=function sM(e,t,n){if(null==n||""===n)return Sn;const r=[],a=xa(n);if(Array.isArray(a))for(let h=0;h<a.length;h++)e(r,a[h],!0);else if("object"==typeof a)for(const h in a)a.hasOwnProperty(h)&&e(r,h,a[h]);else"string"==typeof a&&t(r,a);return r}(e,t,n),r,h)}}function Hv(e,t){return t>=e.expandoStartIndex}function $v(e,t,n,r){const a=e.data;if(null===a[n+1]){const h=a[to()],v=Hv(e,n);Xv(h,r)&&null===t&&!v&&(t=!1),t=function tM(e,t,n,r){const a=Va(e);let h=r?t.residualClasses:t.residualStyles;if(null===a)0===(r?t.classBindings:t.styleBindings)&&(n=Eu(n=gp(null,e,t,n,r),t.attrs,r),h=null);else{const v=t.directiveStylingLast;if(-1===v||e[v]!==a)if(n=gp(a,e,t,n,r),null===h){let P=function nM(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Cl(r))return e[Qa(r)]}(e,t,r);void 0!==P&&Array.isArray(P)&&(P=gp(null,e,t,P[1],r),P=Eu(P,t.attrs,r),function iM(e,t,n,r){e[Qa(n?t.classBindings:t.styleBindings)]=r}(e,t,r,P))}else h=function rM(e,t,n){let r;const a=t.directiveEnd;for(let h=1+t.directiveStylingLast;h<a;h++)r=Eu(r,e[h].hostAttrs,n);return Eu(r,t.attrs,n)}(e,t,r)}return void 0!==h&&(r?t.residualClasses=h:t.residualStyles=h),n}(a,h,t,r),function $1(e,t,n,r,a,h){let v=h?t.classBindings:t.styleBindings,w=Qa(v),P=Cl(v);e[r]=n;let Le,se=!1;if(Array.isArray(n)?(Le=n[1],(null===Le||ft(n,Le)>0)&&(se=!0)):Le=n,a)if(0!==P){const Ut=Qa(e[w+1]);e[r+1]=zd(Ut,w),0!==Ut&&(e[Ut+1]=up(e[Ut+1],r)),e[w+1]=function j1(e,t){return 131071&e|t<<17}(e[w+1],r)}else e[r+1]=zd(w,0),0!==w&&(e[w+1]=up(e[w+1],r)),w=r;else e[r+1]=zd(P,0),0===w?w=r:e[P+1]=up(e[P+1],r),P=r;se&&(e[r+1]=cp(e[r+1])),Fv(e,Le,r,!0),Fv(e,Le,r,!1),function z1(e,t,n,r,a){const h=a?e.residualClasses:e.residualStyles;null!=h&&"string"==typeof t&&ft(h,t)>=0&&(n[r+1]=dp(n[r+1]))}(t,Le,e,r,h),v=zd(w,P),h?t.classBindings=v:t.styleBindings=v}(a,h,t,n,v,r)}}function gp(e,t,n,r,a){let h=null;const v=n.directiveEnd;let w=n.directiveStylingLast;for(-1===w?w=n.directiveStart:w++;w<v&&(h=t[w],r=Eu(r,h.hostAttrs,a),h!==e);)w++;return null!==e&&(n.directiveStylingLast=w),r}function Eu(e,t,n){const r=n?1:2;let a=-1;if(null!==t)for(let h=0;h<t.length;h++){const v=t[h];"number"==typeof v?a=v:a===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Pe(e,v,!!n||t[++h]))}return void 0===e?null:e}function zv(e,t,n){Pe(e,t,xa(n))}function oM(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&Pe(e,r,n)}function Kv(e,t,n,r,a,h,v,w){if(!(3&t.type))return;const P=e.data,se=P[w+1],Le=function H1(e){return 1==(1&e)}(se)?Yv(P,t,n,a,Cl(se),v):void 0;Kd(Le)||(Kd(h)||function W1(e){return 2==(2&e)}(se)&&(h=Yv(P,null,n,a,w,v)),function $E(e,t,n,r,a){if(t)a?e.addClass(n,r):e.removeClass(n,r);else{let h=-1===r.indexOf("-")?void 0:gd.DashCase;null==a?e.removeStyle(n,r,h):("string"==typeof a&&a.endsWith("!important")&&(a=a.slice(0,-10),h|=gd.Important),e.setStyle(n,r,a,h))}}(r,v,Fa(to(),n),a,h))}function Yv(e,t,n,r,a,h){const v=null===t;let w;for(;a>0;){const P=e[a],se=Array.isArray(P),Le=se?P[1]:P,ut=null===Le;let Ut=n[a+1];Ut===Zi&&(Ut=ut?Sn:void 0);let Yt=ut?ct(Ut,r):Le===r?Ut:void 0;if(se&&!Kd(Yt)&&(Yt=ct(P,r)),Kd(Yt)&&(w=Yt,v))return w;const qt=e[a+1];a=v?Qa(qt):Cl(qt)}if(null!==t){let P=h?t.residualClasses:t.residualStyles;null!=P&&(w=ct(P,r))}return w}function Kd(e){return void 0!==e}function Xv(e,t){return 0!=(e.flags&(t?8:16))}function Qv(e,t,n){oa(Pe,ya,oc(gn(),e,t,n),!0)}function Yd(e,t,n,r){const a=gn(),h=rr(),v=ki+e,w=a[Di],P=h.firstCreatePass?function PM(e,t,n,r,a,h){const v=t.consts,P=Kl(t,e,2,r,bo(v,a));return _f(t,n,P,bo(v,h)),null!==P.attrs&&Rd(P,P.attrs,!1),null!==P.mergedAttrs&&Rd(P,P.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,P),P}(v,h,a,t,n,r):h.data[v],se=ey(h,a,P,w,t,e);a[v]=se;const Le=Tn(P);return Eo(P,!0),xg(w,se,P),!function vu(e){return 32==(32&e.flags)}(P)&&Wa()&&bd(h,a,se,P),0===function ju(){return Li.lFrame.elementDepthCount}()&&_o(se,a),function Co(){Li.lFrame.elementDepthCount++}(),Le&&(pf(h,a,P),ff(h,P,a)),null!==r&&mf(a,P),Yd}function Xd(){let e=Wr();xl()?Ga():(e=e.parent,Eo(e,!1));const t=e;(function Tl(e){return Li.skipHydrationRootTNode===e})(t)&&function Pl(){Li.skipHydrationRootTNode=null}(),function Sc(){Li.lFrame.elementDepthCount--}();const n=rr();return n.firstCreatePass&&(Ia(n,e),cn(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function C(e){return 0!=(8&e.flags)}(t)&&fp(n,t,gn(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function A(e){return 0!=(16&e.flags)}(t)&&fp(n,t,gn(),t.stylesWithoutHost,!1),Xd}function Cp(e,t,n,r){return Yd(e,t,n,r),Xd(),Cp}let ey=(e,t,n,r,a,h)=>(Do(!0),_d(r,a,function Nc(){return Li.lFrame.currentNamespace}()));function Qd(e,t,n){const r=gn(),a=rr(),h=e+ki,v=a.firstCreatePass?function RM(e,t,n,r,a){const h=t.consts,v=bo(h,r),w=Kl(t,e,8,"ng-container",v);return null!==v&&Rd(w,v,!0),_f(t,n,w,bo(h,a)),null!==t.queries&&t.queries.elementStart(t,w),w}(h,a,r,t,n):a.data[h];Eo(v,!0);const w=ty(a,r,v,e);return r[h]=w,Wa()&&bd(a,r,w,v),_o(w,r),Tn(v)&&(pf(a,r,v),ff(a,v,r)),null!=n&&mf(r,v),Qd}function Zd(){let e=Wr();const t=rr();return xl()?Ga():(e=e.parent,Eo(e,!1)),t.firstCreatePass&&(Ia(t,e),cn(e)&&t.queries.elementEnd(e)),Zd}function Ep(e,t,n){return Qd(e,t,n),Zd(),Ep}let ty=(e,t,n,r)=>(Do(!0),sf(t[Di],""));function ny(){return gn()}function wp(e,t,n){const r=gn();return Hs(r,wo(),t)&&Ro(rr(),Xr(),r,e,t,r[Di],n,!0),wp}function Dp(e,t,n){const r=gn();if(Hs(r,wo(),t)){const h=rr(),v=Xr();Ro(h,v,r,e,t,Kg(Va(h.data),v,r),n,!0)}return Dp}const El=void 0;var NM=["en",[["a","p"],["AM","PM"],El],[["AM","PM"],El,El],[["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"]],El,[["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"]],El,[["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}",El,"{1} 'at' {0}",El],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function FM(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let mc={};function Mp(e){const t=function BM(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=ry(t);if(n)return n;const r=t.split("-")[0];if(n=ry(r),n)return n;if("en"===r)return NM;throw new Ot(701,!1)}function iy(e){return Mp(e)[gc.PluralCase]}function ry(e){return e in mc||(mc[e]=dn.ng&&dn.ng.common&&dn.ng.common.locales&&dn.ng.common.locales[e]),mc[e]}var gc=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}(gc||{});const _c="en-US";let sy=_c;function Tp(e,t,n,r){const a=gn(),h=rr(),v=Wr();return Pp(h,a,a[Di],v,e,t,r),Tp}function Op(e,t){const n=Wr(),r=gn(),a=rr();return Pp(a,r,Kg(Va(a.data),n,r),n,e,t),Op}function Pp(e,t,n,r,a,h,v){const w=Tn(r),se=e.firstCreatePass&&zg(e),Le=t[kr],ut=$g(t);let Ut=!0;if(3&r.type||v){const vn=Ys(r,t),An=v?v(vn):vn,zn=ut.length,Dn=v?Fr=>v(rs(Fr[r.index])):r.index;let Vi=null;if(!v&&w&&(Vi=function kI(e,t,n,r){const a=e.cleanup;if(null!=a)for(let h=0;h<a.length-1;h+=2){const v=a[h];if(v===n&&a[h+1]===r){const w=t[fo],P=a[h+2];return w.length>P?w[P]:null}"string"==typeof v&&(h+=2)}return null}(e,t,a,r.index)),null!==Vi)(Vi.__ngLastListenerFn__||Vi).__ngNextListenerFn__=h,Vi.__ngLastListenerFn__=h,Ut=!1;else{h=Ay(r,t,Le,h,!1);const Fr=n.listen(An,a,h);ut.push(h,Fr),se&&se.push(a,Dn,zn,zn+1)}}else h=Ay(r,t,Le,h,!1);const Yt=r.outputs;let qt;if(Ut&&null!==Yt&&(qt=Yt[a])){const vn=qt.length;if(vn)for(let An=0;An<vn;An+=2){const us=t[qt[An]][qt[An+1]].subscribe(h),so=ut.length;ut.push(h,us),se&&se.push(a,r.index,so,-(so+1))}}}function xy(e,t,n,r){const a=y(null);try{return Po(6,t,n),!1!==n(r)}catch(h){return Dd(e,h),!1}finally{Po(7,t,n),y(a)}}function Ay(e,t,n,r,a){return function h(v){if(v===Function)return r;ru(e.componentOffset>-1?eo(e.index,t):t);let P=xy(t,n,r,v),se=h.__ngNextListenerFn__;for(;se;)P=xy(t,n,se,v)&&P,se=se.__ngNextListenerFn__;return a&&!1===P&&v.preventDefault(),P}}function Ry(e=1){return function Yu(e){return(Li.lFrame.contextLView=Dc(e,Li.lFrame.contextLView))[kr]}(e)}function LI(e,t){let n=null;const r=function Lt(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let a=0;a<t.length;a++){const h=t[a];if("*"!==h){if(null===r?mt(e,h,!0):un(r,h))return a}else n=a}return n}function ky(e){const t=gn()[is][Gr];if(!t.projection){const r=t.projection=function Ee(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(e?e.length:1,null),a=r.slice();let h=t.child;for(;null!==h;){const v=e?LI(h,e):0;null!==v&&(a[v]?a[v].projectionNext=h:r[v]=h,a[v]=h),h=h.next}}}function Ly(e,t=0,n){const r=gn(),a=rr(),h=Kl(a,ki+e,16,null,n||null);null===h.projection&&(h.projection=t),Ga(),(!r[Ur]||Ea())&&32!=(32&h.flags)&&function jE(e,t,n){Og(t[Di],0,t,n,lf(e,n,t),wg(n.parent||t[Gr],n,t))}(a,r,h)}function xp(e,t,n){return nh(e,"",t,"",n),xp}function nh(e,t,n,r,a){const h=gn(),v=oc(h,t,n,r);return v!==Zi&&Ro(rr(),Xr(),h,e,v,h[Di],a,!1),nh}function Ap(e,t,n,r,a,h,v){const w=gn(),P=ac(w,t,n,r,a,h);return P!==Zi&&Ro(rr(),Xr(),w,e,P,w[Di],v,!1),Ap}function Rp(e,t,n,r,a,h,v,w,P){const se=gn(),Le=lc(se,t,n,r,a,h,v,w);return Le!==Zi&&Ro(rr(),Xr(),se,e,Le,se[Di],P,!1),Rp}function Wy(e,t,n,r){!function R_(e,t,n,r){const a=rr();if(a.firstCreatePass){const h=Wr();k_(a,new O_(t,n,r),h.index),function FD(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(a,e),2==(2&n)&&(a.staticContentQueries=!0)}return x_(a,gn(),n)}(e,t,n,r)}function jy(e,t,n){!function A_(e,t,n){const r=rr();return r.firstCreatePass&&(k_(r,new O_(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),x_(r,gn(),t)}(e,t,n)}function Hy(e){const t=gn(),n=rr(),r=Rl();Ma(r+1);const a=Hf(n,r);if(e.dirty&&function Uu(e){return 4==(4&e[li])}(t)===(2==(2&a.metadata.flags))){if(null===a.matches)e.reset([]);else{const h=L_(t,r);e.reset(h,bm),e.notifyOnChanges()}return!0}return!1}function $y(){return function jf(e,t){return e[ao].queries[t].queryList}(gn(),Rl())}function zy(e){return ua(function Oc(){return Li.lFrame.contextLView}(),ki+e)}function n0(e,t=""){const n=gn(),r=rr(),a=e+ki,h=r.firstCreatePass?Kl(r,a,1,t,null):r.data[a],v=r0(r,n,h,t,e);n[a]=v,Wa()&&bd(r,n,v,h),Eo(h,!1)}let r0=(e,t,n,r,a)=>(Do(!0),function rf(e,t){return e.createText(t)}(t[Di],r));function kp(e){return ih("",e,""),kp}function ih(e,t,n){const r=gn(),a=oc(r,e,t,n);return a!==Zi&&Ra(r,to(),a),ih}function Lp(e,t,n,r,a){const h=gn(),v=ac(h,e,t,n,r,a);return v!==Zi&&Ra(h,to(),v),Lp}function Fp(e,t,n,r,a,h,v){const w=gn(),P=lc(w,e,t,n,r,a,h,v);return P!==Zi&&Ra(w,to(),P),Fp}function Np(e,t,n){G_(t)&&(t=t());const r=gn();return Hs(r,wo(),t)&&Ro(rr(),Xr(),r,e,t,r[Di],n,!1),Np}function d0(e,t){const n=G_(e);return n&&e.set(t),n}function Bp(e,t){const n=gn(),r=rr(),a=Wr();return Pp(r,n,n[Di],a,e,t),Bp}function Gp(e,t,n,r,a){if(e=We(e),Array.isArray(e))for(let h=0;h<e.length;h++)Gp(e[h],t,n,r,a);else{const h=rr(),v=gn(),w=Wr();let P=si(e)?e:We(e.provide);const se=oo(e),Le=1048575&w.providerIndexes,ut=w.directiveStart,Ut=w.providerIndexes>>20;if(si(e)||!e.multi){const Yt=new Ha(se,a,zl),qt=Up(P,t,a?Le:Le+Ut,ut);-1===qt?(Uc(go(w,v),h,P),Vp(h,e,t.length),t.push(P),w.directiveStart++,w.directiveEnd++,a&&(w.providerIndexes+=1048576),n.push(Yt),v.push(Yt)):(n[qt]=Yt,v[qt]=Yt)}else{const Yt=Up(P,t,Le+Ut,ut),qt=Up(P,t,Le,Le+Ut),An=qt>=0&&n[qt];if(a&&!An||!a&&!(Yt>=0&&n[Yt])){Uc(go(w,v),h,P);const zn=function eS(e,t,n,r,a){const h=new Ha(e,n,zl);return h.multi=[],h.index=t,h.componentProviders=0,h0(h,a,r&&!n),h}(a?qI:JI,n.length,a,r,se);!a&&An&&(n[qt].providerFactory=zn),Vp(h,e,t.length,0),t.push(P),w.directiveStart++,w.directiveEnd++,a&&(w.providerIndexes+=1048576),n.push(zn),v.push(zn)}else Vp(h,e,Yt>-1?Yt:qt,h0(n[a?qt:Yt],se,!a&&r));!a&&r&&An&&n[qt].componentProviders++}}}function Vp(e,t,n,r){const a=si(t),h=function wi(e){return!!e.useClass}(t);if(a||h){const P=(h?We(t.useClass):t).prototype.ngOnDestroy;if(P){const se=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){const Le=se.indexOf(n);-1===Le?se.push(n,[r,P]):se[Le+1].push(r,P)}else se.push(n,P)}}}function h0(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Up(e,t,n,r){for(let a=n;a<r;a++)if(t[a]===e)return a;return-1}function JI(e,t,n,r){return Wp(this.multi,[])}function qI(e,t,n,r){const a=this.multi;let h;if(this.providerFactory){const v=this.providerFactory.componentProviders,w=xs(n,n[On],this.providerFactory.index,r);h=w.slice(0,v),Wp(a,h);for(let P=v;P<w.length;P++)h.push(w[P])}else h=[],Wp(a,h);return h}function Wp(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function f0(e,t=[]){return n=>{n.providersResolver=(r,a)=>function ZI(e,t,n){const r=rr();if(r.firstCreatePass){const a=hi(e);Gp(n,r.data,r.blueprint,a,!0),Gp(t,r.data,r.blueprint,a,!1)}}(r,a?a(e):e,t)}}let tS=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=Zt(0,n.type),a=r.length>0?Xf([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,a)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=qn({token:e,providedIn:"environment",factory:()=>new e(nr(Ir))})}return e})();function p0(e){_a("NgStandalone"),e.getStandaloneInjector=t=>t.get(tS).getOrCreateStandaloneInjector(e)}function m0(e,t,n){const r=e.\u0275cmp;r.directiveDefs=br(t,!1),r.pipeDefs=br(n,!0)}function _0(e,t,n){const r=Xs()+e,a=gn();return a[r]===Zi?va(a,r,n?t.call(n):t()):_u(a,r)}function v0(e,t,n,r){return D0(gn(),Xs(),e,t,n,r)}function y0(e,t,n,r,a){return M0(gn(),Xs(),e,t,n,r,a)}function b0(e,t,n,r,a,h){return function I0(e,t,n,r,a,h,v,w){const P=t+n;return Vd(e,P,a,h,v)?va(e,P+3,w?r.call(w,a,h,v):r(a,h,v)):Ou(e,P+3)}(gn(),Xs(),e,t,n,r,a,h)}function C0(e,t,n,r,a,h,v,w){const P=Xs()+e,se=gn(),Le=Jo(se,P,n,r,a,h);return Hs(se,P+4,v)||Le?va(se,P+5,w?t.call(w,n,r,a,h,v):t(n,r,a,h,v)):_u(se,P+5)}function E0(e,t,n,r,a,h,v,w,P){const se=Xs()+e,Le=gn(),ut=Jo(Le,se,n,r,a,h);return yl(Le,se+4,v,w)||ut?va(Le,se+6,P?t.call(P,n,r,a,h,v,w):t(n,r,a,h,v,w)):_u(Le,se+6)}function w0(e,t,n,r){return function T0(e,t,n,r,a,h){let v=t+n,w=!1;for(let P=0;P<a.length;P++)Hs(e,v++,a[P])&&(w=!0);return w?va(e,v,r.apply(h,a)):Ou(e,v)}(gn(),Xs(),e,t,n,r)}function Ou(e,t){const n=e[t];return n===Zi?void 0:n}function D0(e,t,n,r,a,h){const v=t+n;return Hs(e,v,a)?va(e,v+1,h?r.call(h,a):r(a)):Ou(e,v+1)}function M0(e,t,n,r,a,h,v){const w=t+n;return yl(e,w,a,h)?va(e,w+2,v?r.call(v,a,h):r(a,h)):Ou(e,w+2)}function O0(e,t){const n=rr();let r;const a=e+ki;n.firstCreatePass?(r=function oS(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[a]=r,r.onDestroy&&(n.destroyHooks??=[]).push(a,r.onDestroy)):r=n.data[a];const h=r.factory||(r.factory=Hi(r.type)),w=Qi(zl);try{const P=Rn(!1),se=h();return Rn(P),function GI(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,gn(),a,se),se}finally{Qi(w)}}function P0(e,t,n){const r=e+ki,a=gn(),h=ua(a,r);return Pu(a,r)?D0(a,Xs(),t,h.transform,n,h):h.transform(n)}function x0(e,t,n,r){const a=e+ki,h=gn(),v=ua(h,a);return Pu(h,a)?M0(h,Xs(),t,v.transform,n,r,v):v.transform(n,r)}function Pu(e,t){return e[On].data[t].pure}function A0(e,t){return Id(e,t)}class Y0{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let X0=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=qn({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const eb=new nn(""),tb=new nn("");let Yp,nT=(()=>{class e{constructor(n,r,a){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Yp||(function iT(e){Yp=e}(a),a.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Qs.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,a){let h=-1;r&&r>0&&(h=setTimeout(()=>{this._callbacks=this._callbacks.filter(v=>v.timeoutId!==h),n()},r)),this._callbacks.push({doneCb:n,timeoutId:h,updateCb:a})}whenStable(n,r,a){if(a&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,a),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,a){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(nr(Qs),nr(nb),nr(tb))};static#t=this.\u0275prov=qn({token:e,factory:e.\u0275fac})}return e})(),nb=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Yp?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=qn({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Xp(e){return!!e&&"function"==typeof e.then}function ib(e){return!!e&&"function"==typeof e.subscribe}const rb=new nn("");let Qp=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=di(rb,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const a of this.appInits){const h=a();if(Xp(h))n.push(h);else if(ib(h)){const v=new Promise((w,P)=>{h.subscribe({complete:w,error:P})});n.push(v)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(a=>{this.reject(a)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=qn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Zp=new nn("");function ab(e,t){return Array.isArray(t)?t.reduce(ab,e):{...e,...t}}let Za=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=di(vm),this.afterRenderEffectManager=di(hu),this.externalTestViews=new Set,this.beforeRender=new z.E,this.afterTick=new z.E,this.componentTypes=[],this.components=[],this.isStable=di(Zl).hasPendingTasks.pipe((0,Kt.k)(n=>!n)),this._injector=di(Ir)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const a=n instanceof a_;if(!this._injector.get(Qp).done)throw!a&&ji(n),new Ot(405,!1);let v;v=a?n:this._injector.get(du).resolveComponentFactory(n),this.componentTypes.push(v.componentType);const w=function rT(e){return e.isBoundToModule}(v)?void 0:this._injector.get(vl),se=v.create(Uo.NULL,[],r||v.selector,w),Le=se.location.nativeElement,ut=se.injector.get(eb,null);return ut?.registerApplication(Le),se.onDestroy(()=>{this.detachView(se.hostView),ah(this.components,se),ut?.unregisterApplication(Le)}),this._loadComponent(se),se}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new Ot(101,!1);const r=y(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(a){this.internalErrorHandler(a)}finally{this.afterTick.next(),this._runningTick=!1,y(r)}}detectChangesInAttachedViews(n){let r=0;const a=this.afterRenderEffectManager;for(;;){if(r===Zg)throw new Ot(103,!1);if(n){const h=0===r;this.beforeRender.next(h);for(let{_lView:v,notifyErrorHandler:w}of this._views)oT(v,h,w)}if(r++,a.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:h})=>Jp(h))&&(a.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:h})=>Jp(h))))break}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;ah(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Zp,[]);[...this._bootstrapListeners,...r].forEach(a=>a(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),()=>ah(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Ot(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=qn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ah(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function oT(e,t,n){!t&&!Jp(e)||function aT(e,t,n){let r;n?(r=0,e[li]|=1024):r=64&e[li]?0:1,Md(e,t,r)}(e,n,t)}function Jp(e){return Na(e)}class lT{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let cT=(()=>{class e{compileModuleSync(n){return new Yf(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),h=Wo(qi(n).declarations).reduce((v,w)=>{const P=vi(w);return P&&v.push(new mu(P)),v},[]);return new lT(r,h)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=qn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),hT=(()=>{class e{constructor(){this.zone=di(Qs),this.applicationRef=di(Za)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=qn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function fT(){const e=di(Qs),t=di(Pa);return n=>e.runOutsideAngular(()=>t.handleError(n))}let mT=(()=>{class e{constructor(){this.subscription=new xe.wH,this.initialized=!1,this.zone=di(Qs),this.pendingTasks=di(Zl)}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(()=>{Qs.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Qs.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=qn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ch=new nn("",{providedIn:"root",factory:()=>di(ch,ci.Optional|ci.SkipSelf)||function gT(){return typeof $localize<"u"&&$localize.locale||_c}()}),_T=new nn("",{providedIn:"root",factory:()=>"USD"}),qp=new nn("");let db=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const a=function hD(e="zone.js",t){return"noop"===e?new p_:"zone.js"===e?new Qs(t):e}(r?.ngZone,function ub(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return a.run(()=>{const h=function r1(e,t,n){return new Kf(e,t,n)}(n.moduleType,this.injector,function cb(e){return[{provide:Qs,useFactory:e},{provide:zi,multi:!0,useFactory:()=>{const t=di(hT,{optional:!0});return()=>t.initialize()}},{provide:zi,multi:!0,useFactory:()=>{const t=di(mT);return()=>{t.initialize()}}},{provide:vm,useFactory:fT}]}(()=>a)),v=h.injector.get(Pa,null);return a.runOutsideAngular(()=>{const w=a.onError.subscribe({next:P=>{v.handleError(P)}});h.onDestroy(()=>{ah(this._modules,h),w.unsubscribe()})}),function ob(e,t,n){try{const r=n();return Xp(r)?r.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(v,a,()=>{const w=h.injector.get(Qp);return w.runInitializers(),w.donePromise.then(()=>(function oy(e){"string"==typeof e&&(sy=e.toLowerCase().replace(/_/g,"-"))}(h.injector.get(ch,_c)||_c),this._moduleDoBootstrap(h),h))})})}bootstrapModule(n,r=[]){const a=ab({},r);return function dT(e,t,n){const r=new Yf(n);return Promise.resolve(r)}(0,0,n).then(h=>this.bootstrapModuleFactory(h,a))}_moduleDoBootstrap(n){const r=n.injector.get(Za);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(a=>r.bootstrap(a));else{if(!n.instance.ngDoBootstrap)throw new Ot(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Ot(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(qp,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(nr(Uo))};static#t=this.\u0275prov=qn({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Ja=null;const hb=new nn("");function fb(e,t,n=[]){const r=`Platform: ${t}`,a=new nn(r);return(h=[])=>{let v=em();if(!v||v.injector.get(hb,!1)){const w=[...n,...h,{provide:a,useValue:!0}];e?e(w):function yT(e){if(Ja&&!Ja.get(hb,!1))throw new Ot(400,!1);(function sb(){!function qe(e){pt=e}(()=>{throw new Ot(600,!1)})})(),Ja=e;const t=e.get(db);(function mb(e){e.get(Um,null)?.forEach(n=>n())})(e)}(function pb(e=[],t){return Uo.create({name:t,providers:[{provide:Cr,useValue:"platform"},{provide:qp,useValue:new Set([()=>Ja=null])},...e]})}(w,r))}return function bT(e){const t=em();if(!t)throw new Ot(401,!1);return t}()}}function em(){return Ja?.get(db)??null}function ET(){}let _b=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=wT}return e})();function wT(e){return function DT(e,t,n){if(pn(e)&&!n){const r=eo(e.index,t);return new su(r,r)}return 47&e.type?new su(t[is],t):null}(Wr(),gn(),16==(16&e))}class Cb{constructor(){}supports(t){return Gd(t)}create(t){return new OT(t)}}const TT=(e,t)=>t;class OT{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||TT}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,a=0,h=null;for(;n||r;){const v=!r||n&&n.currentIndex<wb(r,a,h)?n:r,w=wb(v,a,h),P=v.currentIndex;if(v===r)a--,r=r._nextRemoved;else if(n=n._next,null==v.previousIndex)a++;else{h||(h=[]);const se=w-a,Le=P-a;if(se!=Le){for(let Ut=0;Ut<se;Ut++){const Yt=Ut<h.length?h[Ut]:h[Ut]=0,qt=Yt+Ut;Le<=qt&&qt<se&&(h[Ut]=Yt+1)}h[v.previousIndex]=Le-se}}w!==P&&t(v,w,P)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Gd(t))throw new Ot(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let a,h,v,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let w=0;w<this.length;w++)h=t[w],v=this._trackByFn(w,h),null!==n&&Object.is(n.trackById,v)?(r&&(n=this._verifyReinsertion(n,h,v,w)),Object.is(n.item,h)||this._addIdentityChange(n,h)):(n=this._mismatch(n,h,v,w),r=!0),n=n._next}else a=0,function l1(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,w=>{v=this._trackByFn(a,w),null!==n&&Object.is(n.trackById,v)?(r&&(n=this._verifyReinsertion(n,w,v,a)),Object.is(n.item,w)||this._addIdentityChange(n,w)):(n=this._mismatch(n,w,v,a),r=!0),n=n._next,a++}),this.length=a;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;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,a){let h;return null===t?h=this._itTail:(h=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,h,a)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,a))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,h,a)):t=this._addAfter(new PT(n,r),h,a),t}_verifyReinsertion(t,n,r,a){let h=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==h?t=this._reinsertAfter(h,t._prev,a):t.currentIndex!=a&&(t.currentIndex=a,this._addToMoves(t,a)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const a=t._prevRemoved,h=t._nextRemoved;return null===a?this._removalsHead=h:a._nextRemoved=h,null===h?this._removalsTail=a:h._prevRemoved=a,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._nextAdded=t,t}_insertAfter(t,n,r){const a=null===n?this._itHead:n._next;return t._next=a,t._prev=n,null===a?this._itTail=t:a._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Eb),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Eb),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(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._nextIdentityChange=t,t}}class PT{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class xT{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(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;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Eb{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new xT,this.map.set(n,r)),r.add(t)}get(t,n){const a=this.map.get(t);return a?a.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function wb(e,t,n){const r=e.previousIndex;if(null===r)return r;let a=0;return n&&r<n.length&&(a=n[r]),r+t+a}class Db{constructor(){}supports(t){return t instanceof Map||Qf(t)}create(){return new AT}}class AT{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Qf(t)))throw new Ot(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,a)=>{if(n&&n.key===a)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const h=this._getOrCreateRecordForKey(a,r);n=this._insertBeforeOrAppend(n,h)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;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){const 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)){const a=this._records.get(t);this._maybeAddToChanges(a,n);const h=a._prev,v=a._next;return h&&(h._next=v),v&&(v._prev=h),a._next=null,a._prev=null,a}const r=new RT(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;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;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){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?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))}}class RT{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Mb(){return new sm([new Cb])}let sm=(()=>{class e{static#e=this.\u0275prov=qn({token:e,providedIn:"root",factory:Mb});constructor(n){this.factories=n}static create(n,r){if(null!=r){const a=r.factories.slice();n=n.concat(a)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Mb()),deps:[[e,new es,new Ei]]}}find(n){const r=this.factories.find(a=>a.supports(n));if(null!=r)return r;throw new Ot(901,!1)}}return e})();function Ib(){return new om([new Db])}let om=(()=>{class e{static#e=this.\u0275prov=qn({token:e,providedIn:"root",factory:Ib});constructor(n){this.factories=n}static create(n,r){if(r){const a=r.factories.slice();n=n.concat(a)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Ib()),deps:[[e,new es,new Ei]]}}find(n){const r=this.factories.find(a=>a.supports(n));if(r)return r;throw new Ot(901,!1)}}return e})();const FT=fb(null,"core",[]);let NT=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(nr(Za))};static#t=this.\u0275mod=gr({type:e});static#n=this.\u0275inj=ur({})}return e})();function hO(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function pO(e,t){_a("NgSignals");const n=function te(e){const t=Object.create(ot);t.computation=e;const n=()=>{if(Ge(t),ie(t),t.value===Se)throw t.error;return t.value};return n[i]=t,n}(e);return t?.equal&&(n[i].equal=t.equal),n}function mO(e){const t=y(null);try{return e()}finally{y(t)}}const gO=new nn("",{providedIn:"root",factory:()=>di(_O)});let _O=(()=>{class e{static#e=this.\u0275prov=qn({token:e,providedIn:"root",factory:()=>new vO})}return e})();class vO{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=di(Zl),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),null===this.taskId){const n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){const n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);const r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(const[t,n]of this.queues)null===t?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(const n of t)t.delete(n),this.queuedEffectCount--,n.run()}}class yO{constructor(t,n,r,a,h,v){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=h,this.watcher=function dt(e,t,n){const r=Object.create(Ye);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const a=P=>{r.cleanupFn=P};return r.ref={notify:()=>_e(r),run:()=>{if(null===r.fn)return;if(function I(){return f}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!rt(r))return;r.hasRun=!0;const P=j(r);try{r.cleanupFn(),r.cleanupFn=Et,r.fn(a)}finally{ke(r,P)}},cleanup:()=>r.cleanupFn(),destroy:()=>function v(P){(function h(P){return null===P.fn&&null===P.schedule})(P)||(le(P),P.cleanupFn(),P.fn=null,P.schedule=null,P.cleanupFn=Et)}(r),[i]:r},r.ref}(w=>this.runEffect(w),()=>this.schedule(),v),this.unregisterOnDestroy=a?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(Pa,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function Yb(e,t){_a("NgSignals"),!t?.injector&&vo();const n=t?.injector??di(Uo),r=!0!==t?.manualCleanup?n.get(Bl):null,a=new yO(n.get(gO),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),h=n.get(_b,null,{optional:!0});return h&&8&h._lView[li]?(h._lView[Go]??=[]).push(a.watcher.notify):a.watcher.notify(),a}function bO(e){const t=vi(e);if(!t)return null;const n=new mu(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}}}},6504:(lt,me,u)=>{"use strict";u.d(me,{AQ:()=>rt,E1:()=>ct,Gu:()=>Hi,KE:()=>Mr,Kh:()=>Zr,O4:()=>Or,SC:()=>Wn,WM:()=>_e,Wo:()=>hs,Y6:()=>_,_G:()=>gi,_t:()=>es,_w:()=>z,cX:()=>Q,eJ:()=>G,eq:()=>xe,ot:()=>Ge,sl:()=>Rs,sz:()=>Zs,u:()=>Ot,uW:()=>mr,ue:()=>vt,ug:()=>As,y:()=>or,yM:()=>Ai});var s=u(2116),d=u(1368),o=u(4496),f=u(9336),l=u(4704);let i=(()=>{class he{constructor($,et){this._renderer=$,this._elementRef=et,this.onChange=kt=>{},this.onTouched=()=>{}}setProperty($,et){this._renderer.setProperty(this._elementRef.nativeElement,$,et)}registerOnTouched($){this.onTouched=$}registerOnChange($){this.onChange=$}setDisabledState($){this.setProperty("disabled",$)}static#e=this.\u0275fac=function(et){return new(et||he)(s.GI1(s.q87),s.GI1(s.GMv))};static#t=this.\u0275dir=s.Sc5({type:he})}return he})(),y=(()=>{class he extends i{static#e=this.\u0275fac=(()=>{let $;return function(kt){return($||($=s.otF(he)))(kt||he)}})();static#t=this.\u0275dir=s.Sc5({type:he,features:[s.eg9]})}return he})();const _=new s.UbH(""),K={provide:_,useExisting:(0,s.wd)(()=>Ge),multi:!0},oe=new s.UbH("");let Ge=(()=>{class he extends i{constructor($,et,kt){super($,et),this._compositionMode=kt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ie(){const he=(0,d.uy)()?(0,d.uy)().getUserAgent():"";return/android (\d+)/.test(he.toLowerCase())}())}writeValue($){this.setProperty("value",$??"")}_handleInput($){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange($)}_compositionStart(){this._composing=!0}_compositionEnd($){this._composing=!1,this._compositionMode&&this.onChange($)}static#e=this.\u0275fac=function(et){return new(et||he)(s.GI1(s.q87),s.GI1(s.GMv),s.GI1(oe,8))};static#t=this.\u0275dir=s.Sc5({type:he,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(et,kt){1&et&&s.qCj("input",function(ze){return kt._handleInput(ze.target.value)})("blur",function(){return kt.onTouched()})("compositionstart",function(){return kt._compositionStart()})("compositionend",function(ze){return kt._compositionEnd(ze.target.value)})},features:[s.M5G([K]),s.eg9]})}return he})();function ae(he){return null==he||("string"==typeof he||Array.isArray(he))&&0===he.length}function Z(he){return null!=he&&"number"==typeof he.length}const _e=new s.UbH(""),j=new s.UbH(""),ke=/^(?=.{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])?)*$/;class rt{static min(Ie){return le(Ie)}static max(Ie){return ye(Ie)}static required(Ie){return Y(Ie)}static requiredTrue(Ie){return g(Ie)}static email(Ie){return function X(he){return ae(he.value)||ke.test(he.value)?null:{email:!0}}(Ie)}static minLength(Ie){return function V(he){return Ie=>ae(Ie.value)||!Z(Ie.value)?null:Ie.value.length<he?{minlength:{requiredLength:he,actualLength:Ie.value.length}}:null}(Ie)}static maxLength(Ie){return function te(he){return Ie=>Z(Ie.value)&&Ie.value.length>he?{maxlength:{requiredLength:he,actualLength:Ie.value.length}}:null}(Ie)}static pattern(Ie){return be(Ie)}static nullValidator(Ie){return null}static compose(Ie){return Je(Ie)}static composeAsync(Ie){return Ae(Ie)}}function le(he){return Ie=>{if(ae(Ie.value)||ae(he))return null;const $=parseFloat(Ie.value);return!isNaN($)&&$<he?{min:{min:he,actual:Ie.value}}:null}}function ye(he){return Ie=>{if(ae(Ie.value)||ae(he))return null;const $=parseFloat(Ie.value);return!isNaN($)&&$>he?{max:{max:he,actual:Ie.value}}:null}}function Y(he){return ae(he.value)?{required:!0}:null}function g(he){return!0===he.value?null:{required:!0}}function be(he){if(!he)return Fe;let Ie,$;return"string"==typeof he?($="","^"!==he.charAt(0)&&($+="^"),$+=he,"$"!==he.charAt(he.length-1)&&($+="$"),Ie=new RegExp($)):($=he.toString(),Ie=he),et=>{if(ae(et.value))return null;const kt=et.value;return Ie.test(kt)?null:{pattern:{requiredPattern:$,actualValue:kt}}}}function Fe(he){return null}function Se(he){return null!=he}function ot(he){return(0,s.w5$)(he)?(0,o.Q)(he):he}function _t(he){let Ie={};return he.forEach($=>{Ie=null!=$?{...Ie,...$}:Ie}),0===Object.keys(Ie).length?null:Ie}function pt(he,Ie){return Ie.map($=>$(he))}function qe(he){return he.map(Ie=>function Gt(he){return!he.validate}(Ie)?Ie:$=>Ie.validate($))}function Je(he){if(!he)return null;const Ie=he.filter(Se);return 0==Ie.length?null:function($){return _t(pt($,Ie))}}function ce(he){return null!=he?Je(qe(he)):null}function Ae(he){if(!he)return null;const Ie=he.filter(Se);return 0==Ie.length?null:function($){const et=pt($,Ie).map(ot);return(0,f.y)(et).pipe((0,l.k)(_t))}}function L(he){return null!=he?Ae(qe(he)):null}function H(he,Ie){return null===he?[Ie]:Array.isArray(he)?[...he,Ie]:[he,Ie]}function de(he){return he._rawValidators}function $e(he){return he._rawAsyncValidators}function je(he){return he?Array.isArray(he)?he:[he]:[]}function dt(he,Ie){return Array.isArray(he)?he.includes(Ie):he===Ie}function Et(he,Ie){const $=je(Ie);return je(he).forEach(kt=>{dt($,kt)||$.push(kt)}),$}function Ye(he,Ie){return je(Ie).filter($=>!dt(he,$))}class Xe{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}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}_setValidators(Ie){this._rawValidators=Ie||[],this._composedValidatorFn=ce(this._rawValidators)}_setAsyncValidators(Ie){this._rawAsyncValidators=Ie||[],this._composedAsyncValidatorFn=L(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(Ie){this._onDestroyCallbacks.push(Ie)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Ie=>Ie()),this._onDestroyCallbacks=[]}reset(Ie=void 0){this.control&&this.control.reset(Ie)}hasError(Ie,$){return!!this.control&&this.control.hasError(Ie,$)}getError(Ie,$){return this.control?this.control.getError(Ie,$):null}}class z extends Xe{get formDirective(){return null}get path(){return null}}class xe extends Xe{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ct{constructor(Ie){this._cd=Ie}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let vt=(()=>{class he extends Ct{constructor($){super($)}static#e=this.\u0275fac=function(et){return new(et||he)(s.GI1(xe,2))};static#t=this.\u0275dir=s.Sc5({type:he,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(et,kt){2&et&&s.eAK("ng-untouched",kt.isUntouched)("ng-touched",kt.isTouched)("ng-pristine",kt.isPristine)("ng-dirty",kt.isDirty)("ng-valid",kt.isValid)("ng-invalid",kt.isInvalid)("ng-pending",kt.isPending)},features:[s.eg9]})}return he})(),Ot=(()=>{class he extends Ct{constructor($){super($)}static#e=this.\u0275fac=function(et){return new(et||he)(s.GI1(z,10))};static#t=this.\u0275dir=s.Sc5({type:he,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(et,kt){2&et&&s.eAK("ng-untouched",kt.isUntouched)("ng-touched",kt.isTouched)("ng-pristine",kt.isPristine)("ng-dirty",kt.isDirty)("ng-valid",kt.isValid)("ng-invalid",kt.isInvalid)("ng-pending",kt.isPending)("ng-submitted",kt.isSubmitted)},features:[s.eg9]})}return he})();const Bn="VALID",ti="INVALID",Ft="PENDING",Nt="DISABLED";function It(he){return(De(he)?he.validators:he)||null}function Vt(he,Ie){return(De(Ie)?Ie.asyncValidators:he)||null}function De(he){return null!=he&&!Array.isArray(he)&&"object"==typeof he}function fe(he,Ie,$){const et=he.controls;if(!(Ie?Object.keys(et):et).length)throw new s.OBp(1e3,"");if(!et[$])throw new s.OBp(1001,"")}function F(he,Ie,$){he._forEachChild((et,kt)=>{if(void 0===$[kt])throw new s.OBp(1002,"")})}class Ce{constructor(Ie,$){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(Ie),this._assignAsyncValidators($)}get validator(){return this._composedValidatorFn}set validator(Ie){this._rawValidators=this._composedValidatorFn=Ie}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Ie){this._rawAsyncValidators=this._composedAsyncValidatorFn=Ie}get parent(){return this._parent}get valid(){return this.status===Bn}get invalid(){return this.status===ti}get pending(){return this.status==Ft}get disabled(){return this.status===Nt}get enabled(){return this.status!==Nt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Ie){this._assignValidators(Ie)}setAsyncValidators(Ie){this._assignAsyncValidators(Ie)}addValidators(Ie){this.setValidators(Et(Ie,this._rawValidators))}addAsyncValidators(Ie){this.setAsyncValidators(Et(Ie,this._rawAsyncValidators))}removeValidators(Ie){this.setValidators(Ye(Ie,this._rawValidators))}removeAsyncValidators(Ie){this.setAsyncValidators(Ye(Ie,this._rawAsyncValidators))}hasValidator(Ie){return dt(this._rawValidators,Ie)}hasAsyncValidator(Ie){return dt(this._rawAsyncValidators,Ie)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Ie={}){this.touched=!0,this._parent&&!Ie.onlySelf&&this._parent.markAsTouched(Ie)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(Ie=>Ie.markAllAsTouched())}markAsUntouched(Ie={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild($=>{$.markAsUntouched({onlySelf:!0})}),this._parent&&!Ie.onlySelf&&this._parent._updateTouched(Ie)}markAsDirty(Ie={}){this.pristine=!1,this._parent&&!Ie.onlySelf&&this._parent.markAsDirty(Ie)}markAsPristine(Ie={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild($=>{$.markAsPristine({onlySelf:!0})}),this._parent&&!Ie.onlySelf&&this._parent._updatePristine(Ie)}markAsPending(Ie={}){this.status=Ft,!1!==Ie.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!Ie.onlySelf&&this._parent.markAsPending(Ie)}disable(Ie={}){const $=this._parentMarkedDirty(Ie.onlySelf);this.status=Nt,this.errors=null,this._forEachChild(et=>{et.disable({...Ie,onlySelf:!0})}),this._updateValue(),!1!==Ie.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...Ie,skipPristineCheck:$}),this._onDisabledChange.forEach(et=>et(!0))}enable(Ie={}){const $=this._parentMarkedDirty(Ie.onlySelf);this.status=Bn,this._forEachChild(et=>{et.enable({...Ie,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ie.emitEvent}),this._updateAncestors({...Ie,skipPristineCheck:$}),this._onDisabledChange.forEach(et=>et(!1))}_updateAncestors(Ie){this._parent&&!Ie.onlySelf&&(this._parent.updateValueAndValidity(Ie),Ie.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(Ie){this._parent=Ie}getRawValue(){return this.value}updateValueAndValidity(Ie={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Bn||this.status===Ft)&&this._runAsyncValidator(Ie.emitEvent)),!1!==Ie.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Ie.onlySelf&&this._parent.updateValueAndValidity(Ie)}_updateTreeValidity(Ie={emitEvent:!0}){this._forEachChild($=>$._updateTreeValidity(Ie)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ie.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Nt:Bn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Ie){if(this.asyncValidator){this.status=Ft,this._hasOwnPendingAsyncValidator=!0;const $=ot(this.asyncValidator(this));this._asyncValidationSubscription=$.subscribe(et=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(et,{emitEvent:Ie})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(Ie,$={}){this.errors=Ie,this._updateControlsErrors(!1!==$.emitEvent)}get(Ie){let $=Ie;return null==$||(Array.isArray($)||($=$.split(".")),0===$.length)?null:$.reduce((et,kt)=>et&&et._find(kt),this)}getError(Ie,$){const et=$?this.get($):this;return et&&et.errors?et.errors[Ie]:null}hasError(Ie,$){return!!this.getError(Ie,$)}get root(){let Ie=this;for(;Ie._parent;)Ie=Ie._parent;return Ie}_updateControlsErrors(Ie){this.status=this._calculateStatus(),Ie&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(Ie)}_initObservables(){this.valueChanges=new s._w7,this.statusChanges=new s._w7}_calculateStatus(){return this._allControlsDisabled()?Nt:this.errors?ti:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ft)?Ft:this._anyControlsHaveStatus(ti)?ti:Bn}_anyControlsHaveStatus(Ie){return this._anyControls($=>$.status===Ie)}_anyControlsDirty(){return this._anyControls(Ie=>Ie.dirty)}_anyControlsTouched(){return this._anyControls(Ie=>Ie.touched)}_updatePristine(Ie={}){this.pristine=!this._anyControlsDirty(),this._parent&&!Ie.onlySelf&&this._parent._updatePristine(Ie)}_updateTouched(Ie={}){this.touched=this._anyControlsTouched(),this._parent&&!Ie.onlySelf&&this._parent._updateTouched(Ie)}_registerOnCollectionChange(Ie){this._onCollectionChange=Ie}_setUpdateStrategy(Ie){De(Ie)&&null!=Ie.updateOn&&(this._updateOn=Ie.updateOn)}_parentMarkedDirty(Ie){return!Ie&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(Ie){return null}_assignValidators(Ie){this._rawValidators=Array.isArray(Ie)?Ie.slice():Ie,this._composedValidatorFn=function en(he){return Array.isArray(he)?ce(he):he||null}(this._rawValidators)}_assignAsyncValidators(Ie){this._rawAsyncValidators=Array.isArray(Ie)?Ie.slice():Ie,this._composedAsyncValidatorFn=function We(he){return Array.isArray(he)?L(he):he||null}(this._rawAsyncValidators)}}class Te extends Ce{constructor(Ie,$,et){super(It($),Vt(et,$)),this.controls=Ie,this._initObservables(),this._setUpdateStrategy($),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(Ie,$){return this.controls[Ie]?this.controls[Ie]:(this.controls[Ie]=$,$.setParent(this),$._registerOnCollectionChange(this._onCollectionChange),$)}addControl(Ie,$,et={}){this.registerControl(Ie,$),this.updateValueAndValidity({emitEvent:et.emitEvent}),this._onCollectionChange()}removeControl(Ie,$={}){this.controls[Ie]&&this.controls[Ie]._registerOnCollectionChange(()=>{}),delete this.controls[Ie],this.updateValueAndValidity({emitEvent:$.emitEvent}),this._onCollectionChange()}setControl(Ie,$,et={}){this.controls[Ie]&&this.controls[Ie]._registerOnCollectionChange(()=>{}),delete this.controls[Ie],$&&this.registerControl(Ie,$),this.updateValueAndValidity({emitEvent:et.emitEvent}),this._onCollectionChange()}contains(Ie){return this.controls.hasOwnProperty(Ie)&&this.controls[Ie].enabled}setValue(Ie,$={}){F(this,0,Ie),Object.keys(Ie).forEach(et=>{fe(this,!0,et),this.controls[et].setValue(Ie[et],{onlySelf:!0,emitEvent:$.emitEvent})}),this.updateValueAndValidity($)}patchValue(Ie,$={}){null!=Ie&&(Object.keys(Ie).forEach(et=>{const kt=this.controls[et];kt&&kt.patchValue(Ie[et],{onlySelf:!0,emitEvent:$.emitEvent})}),this.updateValueAndValidity($))}reset(Ie={},$={}){this._forEachChild((et,kt)=>{et.reset(Ie?Ie[kt]:null,{onlySelf:!0,emitEvent:$.emitEvent})}),this._updatePristine($),this._updateTouched($),this.updateValueAndValidity($)}getRawValue(){return this._reduceChildren({},(Ie,$,et)=>(Ie[et]=$.getRawValue(),Ie))}_syncPendingControls(){let Ie=this._reduceChildren(!1,($,et)=>!!et._syncPendingControls()||$);return Ie&&this.updateValueAndValidity({onlySelf:!0}),Ie}_forEachChild(Ie){Object.keys(this.controls).forEach($=>{const et=this.controls[$];et&&Ie(et,$)})}_setUpControls(){this._forEachChild(Ie=>{Ie.setParent(this),Ie._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Ie){for(const[$,et]of Object.entries(this.controls))if(this.contains($)&&Ie(et))return!0;return!1}_reduceValue(){return this._reduceChildren({},($,et,kt)=>((et.enabled||this.disabled)&&($[kt]=et.value),$))}_reduceChildren(Ie,$){let et=Ie;return this._forEachChild((kt,Yn)=>{et=$(et,kt,Yn)}),et}_allControlsDisabled(){for(const Ie of Object.keys(this.controls))if(this.controls[Ie].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(Ie){return this.controls.hasOwnProperty(Ie)?this.controls[Ie]:null}}class bt extends Te{}const mn=new s.UbH("CallSetDisabledState",{providedIn:"root",factory:()=>Cn}),Cn="always";function xn(he,Ie){return[...Ie.path,he]}function Fn(he,Ie,$=Cn){Oi(he,Ie),Ie.valueAccessor.writeValue(he.value),(he.disabled||"always"===$)&&Ie.valueAccessor.setDisabledState?.(he.disabled),function Vr(he,Ie){Ie.valueAccessor.registerOnChange($=>{he._pendingValue=$,he._pendingChange=!0,he._pendingDirty=!0,"change"===he.updateOn&&qn(he,Ie)})}(he,Ie),function ls(he,Ie){const $=(et,kt)=>{Ie.valueAccessor.writeValue(et),kt&&Ie.viewToModelUpdate(et)};he.registerOnChange($),Ie._registerOnDestroy(()=>{he._unregisterOnChange($)})}(he,Ie),function Mi(he,Ie){Ie.valueAccessor.registerOnTouched(()=>{he._pendingTouched=!0,"blur"===he.updateOn&&he._pendingChange&&qn(he,Ie),"submit"!==he.updateOn&&he.markAsTouched()})}(he,Ie),function ni(he,Ie){if(Ie.valueAccessor.setDisabledState){const $=et=>{Ie.valueAccessor.setDisabledState(et)};he.registerOnDisabledChange($),Ie._registerOnDestroy(()=>{he._unregisterOnDisabledChange($)})}}(he,Ie)}function $n(he,Ie,$=!0){const et=()=>{};Ie.valueAccessor&&(Ie.valueAccessor.registerOnChange(et),Ie.valueAccessor.registerOnTouched(et)),Er(he,Ie),he&&(Ie._invokeOnDestroyCallbacks(),he._registerOnCollectionChange(()=>{}))}function ln(he,Ie){he.forEach($=>{$.registerOnValidatorChange&&$.registerOnValidatorChange(Ie)})}function Oi(he,Ie){const $=de(he);null!==Ie.validator?he.setValidators(H($,Ie.validator)):"function"==typeof $&&he.setValidators([$]);const et=$e(he);null!==Ie.asyncValidator?he.setAsyncValidators(H(et,Ie.asyncValidator)):"function"==typeof et&&he.setAsyncValidators([et]);const kt=()=>he.updateValueAndValidity();ln(Ie._rawValidators,kt),ln(Ie._rawAsyncValidators,kt)}function Er(he,Ie){let $=!1;if(null!==he){if(null!==Ie.validator){const kt=de(he);if(Array.isArray(kt)&&kt.length>0){const Yn=kt.filter(ze=>ze!==Ie.validator);Yn.length!==kt.length&&($=!0,he.setValidators(Yn))}}if(null!==Ie.asyncValidator){const kt=$e(he);if(Array.isArray(kt)&&kt.length>0){const Yn=kt.filter(ze=>ze!==Ie.asyncValidator);Yn.length!==kt.length&&($=!0,he.setAsyncValidators(Yn))}}}const et=()=>{};return ln(Ie._rawValidators,et),ln(Ie._rawAsyncValidators,et),$}function qn(he,Ie){he._pendingDirty&&he.markAsDirty(),he.setValue(he._pendingValue,{emitModelToViewChange:!1}),Ie.viewToModelUpdate(he._pendingValue),he._pendingChange=!1}function ur(he,Ie){Oi(he,Ie)}function xt(he,Ie){if(!he.hasOwnProperty("model"))return!1;const $=he.model;return!!$.isFirstChange()||!Object.is(Ie,$.currentValue)}function hn(he,Ie){he._syncPendingControls(),Ie.forEach($=>{const et=$.control;"submit"===et.updateOn&&et._pendingChange&&($.viewToModelUpdate(et._pendingValue),et._pendingChange=!1)})}function nn(he,Ie){if(!Ie)return null;let $,et,kt;return Array.isArray(Ie),Ie.forEach(Yn=>{Yn.constructor===Ge?$=Yn:function At(he){return Object.getPrototypeOf(he.constructor)===y}(Yn)?et=Yn:kt=Yn}),kt||et||$||null}const fi={provide:z,useExisting:(0,s.wd)(()=>Wn)},Kn=Promise.resolve();let Wn=(()=>{class he extends z{constructor($,et,kt){super(),this.callSetDisabledState=kt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new s._w7,this.form=new Te({},ce($),L(et))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl($){Kn.then(()=>{const et=this._findContainer($.path);$.control=et.registerControl($.name,$.control),Fn($.control,$,this.callSetDisabledState),$.control.updateValueAndValidity({emitEvent:!1}),this._directives.add($)})}getControl($){return this.form.get($.path)}removeControl($){Kn.then(()=>{const et=this._findContainer($.path);et&&et.removeControl($.name),this._directives.delete($)})}addFormGroup($){Kn.then(()=>{const et=this._findContainer($.path),kt=new Te({});ur(kt,$),et.registerControl($.name,kt),kt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup($){Kn.then(()=>{const et=this._findContainer($.path);et&&et.removeControl($.name)})}getFormGroup($){return this.form.get($.path)}updateModel($,et){Kn.then(()=>{this.form.get($.path).setValue(et)})}setValue($){this.control.setValue($)}onSubmit($){return this.submitted=!0,hn(this.form,this._directives),this.ngSubmit.emit($),"dialog"===$?.target?.method}onReset(){this.resetForm()}resetForm($=void 0){this.form.reset($),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer($){return $.pop(),$.length?this.form.get($):this.form}static#e=this.\u0275fac=function(et){return new(et||he)(s.GI1(_e,10),s.GI1(j,10),s.GI1(mn,8))};static#t=this.\u0275dir=s.Sc5({type:he,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(et,kt){1&et&&s.qCj("submit",function(ze){return kt.onSubmit(ze)})("reset",function(){return kt.onReset()})},inputs:{options:[s.Wk5.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[s.M5G([fi]),s.eg9]})}return he})();function Ii(he,Ie){const $=he.indexOf(Ie);$>-1&&he.splice($,1)}function ii(he){return"object"==typeof he&&null!==he&&2===Object.keys(he).length&&"value"in he&&"disabled"in he}const ui=class extends Ce{constructor(Ie=null,$,et){super(It($),Vt(et,$)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(Ie),this._setUpdateStrategy($),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),De($)&&($.nonNullable||$.initialValueIsDefault)&&(this.defaultValue=ii(Ie)?Ie.value:Ie)}setValue(Ie,$={}){this.value=this._pendingValue=Ie,this._onChange.length&&!1!==$.emitModelToViewChange&&this._onChange.forEach(et=>et(this.value,!1!==$.emitViewToModelChange)),this.updateValueAndValidity($)}patchValue(Ie,$={}){this.setValue(Ie,$)}reset(Ie=this.defaultValue,$={}){this._applyFormState(Ie),this.markAsPristine($),this.markAsUntouched($),this.setValue(this.value,$),this._pendingChange=!1}_updateValue(){}_anyControls(Ie){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Ie){this._onChange.push(Ie)}_unregisterOnChange(Ie){Ii(this._onChange,Ie)}registerOnDisabledChange(Ie){this._onDisabledChange.push(Ie)}_unregisterOnDisabledChange(Ie){Ii(this._onDisabledChange,Ie)}_forEachChild(Ie){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(Ie){ii(Ie)?(this.value=this._pendingValue=Ie.value,Ie.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Ie}},Ai=ui;let yi=(()=>{class he extends z{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return xn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=(()=>{let $;return function(kt){return($||($=s.otF(he)))(kt||he)}})();static#t=this.\u0275dir=s.Sc5({type:he,features:[s.eg9]})}return he})();const sr={provide:xe,useExisting:(0,s.wd)(()=>gi)},oi=Promise.resolve();let gi=(()=>{class he extends xe{constructor($,et,kt,Yn,ze,M){super(),this._changeDetectorRef=ze,this.callSetDisabledState=M,this.control=new ui,this._registered=!1,this.name="",this.update=new s._w7,this._parent=$,this._setValidators(et),this._setAsyncValidators(kt),this.valueAccessor=nn(0,Yn)}ngOnChanges($){if(this._checkForErrors(),!this._registered||"name"in $){if(this._registered&&(this._checkName(),this.formDirective)){const et=$.name.previousValue;this.formDirective.removeControl({name:et,path:this._getPath(et)})}this._setUpControl()}"isDisabled"in $&&this._updateDisabled($),xt($,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate($){this.viewModel=$,this.update.emit($)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Fn(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue($){oi.then(()=>{this.control.setValue($,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled($){const et=$.isDisabled.currentValue,kt=0!==et&&(0,s.cZD)(et);oi.then(()=>{kt&&!this.control.disabled?this.control.disable():!kt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath($){return this._parent?xn($,this._parent):[$]}static#e=this.\u0275fac=function(et){return new(et||he)(s.GI1(z,9),s.GI1(_e,10),s.GI1(j,10),s.GI1(_,10),s.GI1(s.kD9,8),s.GI1(mn,8))};static#t=this.\u0275dir=s.Sc5({type:he,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[s.Wk5.None,"disabled","isDisabled"],model:[s.Wk5.None,"ngModel","model"],options:[s.Wk5.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[s.M5G([sr]),s.eg9,s.SYr]})}return he})(),Zs=(()=>{class he{static#e=this.\u0275fac=function(et){return new(et||he)};static#t=this.\u0275dir=s.Sc5({type:he,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return he})();const Hr={provide:_,useExisting:(0,s.wd)(()=>Or),multi:!0};let Or=(()=>{class he extends y{writeValue($){this.setProperty("value",$??"")}registerOnChange($){this.onChange=et=>{$(""==et?null:parseFloat(et))}}static#e=this.\u0275fac=(()=>{let $;return function(kt){return($||($=s.otF(he)))(kt||he)}})();static#t=this.\u0275dir=s.Sc5({type:he,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(et,kt){1&et&&s.qCj("input",function(ze){return kt.onChange(ze.target.value)})("blur",function(){return kt.onTouched()})},features:[s.M5G([Hr]),s.eg9]})}return he})();const Qi=new s.UbH(""),Is={provide:xe,useExisting:(0,s.wd)(()=>As)};let As=(()=>{class he extends xe{set isDisabled($){}static#e=this._ngModelWarningSentOnce=!1;constructor($,et,kt,Yn,ze){super(),this._ngModelWarningConfig=Yn,this.callSetDisabledState=ze,this.update=new s._w7,this._ngModelWarningSent=!1,this._setValidators($),this._setAsyncValidators(et),this.valueAccessor=nn(0,kt)}ngOnChanges($){if(this._isControlChanged($)){const et=$.form.previousValue;et&&$n(et,this,!1),Fn(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}xt($,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&$n(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate($){this.viewModel=$,this.update.emit($)}_isControlChanged($){return $.hasOwnProperty("form")}static#t=this.\u0275fac=function(et){return new(et||he)(s.GI1(_e,10),s.GI1(j,10),s.GI1(_,10),s.GI1(Qi,8),s.GI1(mn,8))};static#n=this.\u0275dir=s.Sc5({type:he,selectors:[["","formControl",""]],inputs:{form:[s.Wk5.None,"formControl","form"],isDisabled:[s.Wk5.None,"disabled","isDisabled"],model:[s.Wk5.None,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[s.M5G([Is]),s.eg9,s.SYr]})}return he})();const gs={provide:z,useExisting:(0,s.wd)(()=>mr)};let mr=(()=>{class he extends z{constructor($,et,kt){super(),this.callSetDisabledState=kt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new s._w7,this._setValidators($),this._setAsyncValidators(et)}ngOnChanges($){this._checkFormPresent(),$.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Er(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl($){const et=this.form.get($.path);return Fn(et,$,this.callSetDisabledState),et.updateValueAndValidity({emitEvent:!1}),this.directives.push($),et}getControl($){return this.form.get($.path)}removeControl($){$n($.control||null,$,!1),function Pn(he,Ie){const $=he.indexOf(Ie);$>-1&&he.splice($,1)}(this.directives,$)}addFormGroup($){this._setUpFormContainer($)}removeFormGroup($){this._cleanUpFormContainer($)}getFormGroup($){return this.form.get($.path)}addFormArray($){this._setUpFormContainer($)}removeFormArray($){this._cleanUpFormContainer($)}getFormArray($){return this.form.get($.path)}updateModel($,et){this.form.get($.path).setValue(et)}onSubmit($){return this.submitted=!0,hn(this.form,this.directives),this.ngSubmit.emit($),"dialog"===$?.target?.method}onReset(){this.resetForm()}resetForm($=void 0){this.form.reset($),this.submitted=!1}_updateDomValue(){this.directives.forEach($=>{const et=$.control,kt=this.form.get($.path);et!==kt&&($n(et||null,$),(he=>he instanceof ui)(kt)&&(Fn(kt,$,this.callSetDisabledState),$.control=kt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer($){const et=this.form.get($.path);ur(et,$),et.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer($){if(this.form){const et=this.form.get($.path);et&&function Nr(he,Ie){return Er(he,Ie)}(et,$)&&et.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Oi(this.form,this),this._oldForm&&Er(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(et){return new(et||he)(s.GI1(_e,10),s.GI1(j,10),s.GI1(mn,8))};static#t=this.\u0275dir=s.Sc5({type:he,selectors:[["","formGroup",""]],hostBindings:function(et,kt){1&et&&s.qCj("submit",function(ze){return kt.onSubmit(ze)})("reset",function(){return kt.onReset()})},inputs:{form:[s.Wk5.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[s.M5G([gs]),s.eg9,s.SYr]})}return he})();const xr={provide:z,useExisting:(0,s.wd)(()=>Zr)};let Zr=(()=>{class he extends yi{constructor($,et,kt){super(),this.name=null,this._parent=$,this._setValidators(et),this._setAsyncValidators(kt)}_checkParentType(){_s(this._parent)}static#e=this.\u0275fac=function(et){return new(et||he)(s.GI1(z,13),s.GI1(_e,10),s.GI1(j,10))};static#t=this.\u0275dir=s.Sc5({type:he,selectors:[["","formGroupName",""]],inputs:{name:[s.Wk5.None,"formGroupName","name"]},features:[s.M5G([xr]),s.eg9]})}return he})();const Ns={provide:z,useExisting:(0,s.wd)(()=>Ss)};let Ss=(()=>{class he extends z{constructor($,et,kt){super(),this.name=null,this._parent=$,this._setValidators(et),this._setAsyncValidators(kt)}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 xn(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){_s(this._parent)}static#e=this.\u0275fac=function(et){return new(et||he)(s.GI1(z,13),s.GI1(_e,10),s.GI1(j,10))};static#t=this.\u0275dir=s.Sc5({type:he,selectors:[["","formArrayName",""]],inputs:{name:[s.Wk5.None,"formArrayName","name"]},features:[s.M5G([Ns]),s.eg9]})}return he})();function _s(he){return!(he instanceof Zr||he instanceof mr||he instanceof Ss)}const vs={provide:xe,useExisting:(0,s.wd)(()=>hs)};let hs=(()=>{class he extends xe{set isDisabled($){}static#e=this._ngModelWarningSentOnce=!1;constructor($,et,kt,Yn,ze){super(),this._ngModelWarningConfig=ze,this._added=!1,this.name=null,this.update=new s._w7,this._ngModelWarningSent=!1,this._parent=$,this._setValidators(et),this._setAsyncValidators(kt),this.valueAccessor=nn(0,Yn)}ngOnChanges($){this._added||this._setUpControl(),xt($,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate($){this.viewModel=$,this.update.emit($)}get path(){return xn(null==this.name?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#t=this.\u0275fac=function(et){return new(et||he)(s.GI1(z,13),s.GI1(_e,10),s.GI1(j,10),s.GI1(_,10),s.GI1(Qi,8))};static#n=this.\u0275dir=s.Sc5({type:he,selectors:[["","formControlName",""]],inputs:{name:[s.Wk5.None,"formControlName","name"],isDisabled:[s.Wk5.None,"disabled","isDisabled"],model:[s.Wk5.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[s.M5G([vs]),s.eg9,s.SYr]})}return he})();function as(he){return"number"==typeof he?he:parseFloat(he)}let Ei=(()=>{class he{constructor(){this._validator=Fe}ngOnChanges($){if(this.inputName in $){const et=this.normalizeInput($[this.inputName].currentValue);this._enabled=this.enabled(et),this._validator=this._enabled?this.createValidator(et):Fe,this._onChange&&this._onChange()}}validate($){return this._validator($)}registerOnValidatorChange($){this._onChange=$}enabled($){return null!=$}static#e=this.\u0275fac=function(et){return new(et||he)};static#t=this.\u0275dir=s.Sc5({type:he,features:[s.SYr]})}return he})();const Es={provide:_e,useExisting:(0,s.wd)(()=>es),multi:!0};let es=(()=>{class he extends Ei{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=$=>as($),this.createValidator=$=>ye($)}static#e=this.\u0275fac=(()=>{let $;return function(kt){return($||($=s.otF(he)))(kt||he)}})();static#t=this.\u0275dir=s.Sc5({type:he,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(et,kt){2&et&&s.e48("max",kt._enabled?kt.max:null)},inputs:{max:"max"},features:[s.M5G([Es]),s.eg9]})}return he})();const Ar={provide:_e,useExisting:(0,s.wd)(()=>Hi),multi:!0};let Hi=(()=>{class he extends Ei{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=$=>as($),this.createValidator=$=>le($)}static#e=this.\u0275fac=(()=>{let $;return function(kt){return($||($=s.otF(he)))(kt||he)}})();static#t=this.\u0275dir=s.Sc5({type:he,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(et,kt){2&et&&s.e48("min",kt._enabled?kt.min:null)},inputs:{min:"min"},features:[s.M5G([Ar]),s.eg9]})}return he})();const m={provide:_e,useExisting:(0,s.wd)(()=>G),multi:!0},b={provide:_e,useExisting:(0,s.wd)(()=>Q),multi:!0};let G=(()=>{class he extends Ei{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=s.cZD,this.createValidator=$=>Y}enabled($){return $}static#e=this.\u0275fac=(()=>{let $;return function(kt){return($||($=s.otF(he)))(kt||he)}})();static#t=this.\u0275dir=s.Sc5({type:he,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(et,kt){2&et&&s.e48("required",kt._enabled?"":null)},inputs:{required:"required"},features:[s.M5G([m]),s.eg9]})}return he})(),Q=(()=>{class he extends G{constructor(){super(...arguments),this.createValidator=$=>g}static#e=this.\u0275fac=(()=>{let $;return function(kt){return($||($=s.otF(he)))(kt||he)}})();static#t=this.\u0275dir=s.Sc5({type:he,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(et,kt){2&et&&s.e48("required",kt._enabled?"":null)},features:[s.M5G([b]),s.eg9]})}return he})();const Pe={provide:_e,useExisting:(0,s.wd)(()=>ct),multi:!0};let ct=(()=>{class he extends Ei{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=$=>$,this.createValidator=$=>be($)}static#e=this.\u0275fac=(()=>{let $;return function(kt){return($||($=s.otF(he)))(kt||he)}})();static#t=this.\u0275dir=s.Sc5({type:he,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(et,kt){2&et&&s.e48("pattern",kt._enabled?kt.pattern:null)},inputs:{pattern:"pattern"},features:[s.M5G([Pe]),s.eg9]})}return he})(),Zn=(()=>{class he{static#e=this.\u0275fac=function(et){return new(et||he)};static#t=this.\u0275mod=s.a4G({type:he});static#n=this.\u0275inj=s.s3X({})}return he})();class Sn extends Ce{constructor(Ie,$,et){super(It($),Vt(et,$)),this.controls=Ie,this._initObservables(),this._setUpdateStrategy($),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(Ie){return this.controls[this._adjustIndex(Ie)]}push(Ie,$={}){this.controls.push(Ie),this._registerControl(Ie),this.updateValueAndValidity({emitEvent:$.emitEvent}),this._onCollectionChange()}insert(Ie,$,et={}){this.controls.splice(Ie,0,$),this._registerControl($),this.updateValueAndValidity({emitEvent:et.emitEvent})}removeAt(Ie,$={}){let et=this._adjustIndex(Ie);et<0&&(et=0),this.controls[et]&&this.controls[et]._registerOnCollectionChange(()=>{}),this.controls.splice(et,1),this.updateValueAndValidity({emitEvent:$.emitEvent})}setControl(Ie,$,et={}){let kt=this._adjustIndex(Ie);kt<0&&(kt=0),this.controls[kt]&&this.controls[kt]._registerOnCollectionChange(()=>{}),this.controls.splice(kt,1),$&&(this.controls.splice(kt,0,$),this._registerControl($)),this.updateValueAndValidity({emitEvent:et.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Ie,$={}){F(this,0,Ie),Ie.forEach((et,kt)=>{fe(this,!1,kt),this.at(kt).setValue(et,{onlySelf:!0,emitEvent:$.emitEvent})}),this.updateValueAndValidity($)}patchValue(Ie,$={}){null!=Ie&&(Ie.forEach((et,kt)=>{this.at(kt)&&this.at(kt).patchValue(et,{onlySelf:!0,emitEvent:$.emitEvent})}),this.updateValueAndValidity($))}reset(Ie=[],$={}){this._forEachChild((et,kt)=>{et.reset(Ie[kt],{onlySelf:!0,emitEvent:$.emitEvent})}),this._updatePristine($),this._updateTouched($),this.updateValueAndValidity($)}getRawValue(){return this.controls.map(Ie=>Ie.getRawValue())}clear(Ie={}){this.controls.length<1||(this._forEachChild($=>$._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Ie.emitEvent}))}_adjustIndex(Ie){return Ie<0?Ie+this.length:Ie}_syncPendingControls(){let Ie=this.controls.reduce(($,et)=>!!et._syncPendingControls()||$,!1);return Ie&&this.updateValueAndValidity({onlySelf:!0}),Ie}_forEachChild(Ie){this.controls.forEach(($,et)=>{Ie($,et)})}_updateValue(){this.value=this.controls.filter(Ie=>Ie.enabled||this.disabled).map(Ie=>Ie.value)}_anyControls(Ie){return this.controls.some($=>$.enabled&&Ie($))}_setUpControls(){this._forEachChild(Ie=>this._registerControl(Ie))}_allControlsDisabled(){for(const Ie of this.controls)if(Ie.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Ie){Ie.setParent(this),Ie._registerOnCollectionChange(this._onCollectionChange)}_find(Ie){return this.at(Ie)??null}}function Wi(he){return!!he&&(void 0!==he.asyncValidators||void 0!==he.validators||void 0!==he.updateOn)}let Ki=(()=>{class he{constructor(){this.useNonNullable=!1}get nonNullable(){const $=new he;return $.useNonNullable=!0,$}group($,et=null){const kt=this._reduceControls($);let Yn={};return Wi(et)?Yn=et:null!==et&&(Yn.validators=et.validator,Yn.asyncValidators=et.asyncValidator),new Te(kt,Yn)}record($,et=null){const kt=this._reduceControls($);return new bt(kt,et)}control($,et,kt){let Yn={};return this.useNonNullable?(Wi(et)?Yn=et:(Yn.validators=et,Yn.asyncValidators=kt),new ui($,{...Yn,nonNullable:!0})):new ui($,et,kt)}array($,et,kt){const Yn=$.map(ze=>this._createControl(ze));return new Sn(Yn,et,kt)}_reduceControls($){const et={};return Object.keys($).forEach(kt=>{et[kt]=this._createControl($[kt])}),et}_createControl($){return $ instanceof ui||$ instanceof Ce?$:Array.isArray($)?this.control($[0],$.length>1?$[1]:null,$.length>2?$[2]:null):this.control($)}static#e=this.\u0275fac=function(et){return new(et||he)};static#t=this.\u0275prov=s.wxM({token:he,factory:he.\u0275fac,providedIn:"root"})}return he})(),Mr=(()=>{class he extends Ki{group($,et=null){return super.group($,et)}control($,et,kt){return super.control($,et,kt)}array($,et,kt){return super.array($,et,kt)}static#e=this.\u0275fac=(()=>{let $;return function(kt){return($||($=s.otF(he)))(kt||he)}})();static#t=this.\u0275prov=s.wxM({token:he,factory:he.\u0275fac,providedIn:"root"})}return he})(),or=(()=>{class he{static withConfig($){return{ngModule:he,providers:[{provide:mn,useValue:$.callSetDisabledState??Cn}]}}static#e=this.\u0275fac=function(et){return new(et||he)};static#t=this.\u0275mod=s.a4G({type:he});static#n=this.\u0275inj=s.s3X({imports:[Zn]})}return he})(),Rs=(()=>{class he{static withConfig($){return{ngModule:he,providers:[{provide:Qi,useValue:$.warnOnNgModelWithFormControl??"always"},{provide:mn,useValue:$.callSetDisabledState??Cn}]}}static#e=this.\u0275fac=function(et){return new(et||he)};static#t=this.\u0275mod=s.a4G({type:he});static#n=this.\u0275inj=s.s3X({imports:[Zn]})}return he})()},7528:(lt,me,u)=>{"use strict";u.d(me,{U1:()=>Ye,cG:()=>Et,e:()=>Je});var s=u(4723),d=u(7712),o=u(5792),f=u(2116),l=u(9544),i=u(6928),y=u(5657),_=u(1424),I=u(3412),B=u(2700),K=u(8420),ie=u(1368),oe=u(68),Ge=u(3572),ae=u(1900),Z=u(7800),_e=u(107),j=u(6504),ke=u(3040),rt=u(5568),le=u(7368),ye=u(3992),Y=u(6684),g=u(4704),X=u(9212),V=u(7680);const te=["panel"];function be(Xe,z){if(1&Xe&&(f.I0R(0,"div",0,1),f._Xx(2),f.C$Y()),2&Xe){const xe=z.id,Ct=f.GaO();f.E7m("id",Ct.id)("ngClass",Ct._classList),f.e48("aria-label",Ct.ariaLabel||null)("aria-labelledby",Ct._getPanelAriaLabelledby(xe))}}const Fe=["*"];let Se=0;class ot{constructor(z,xe){this.source=z,this.option=xe}}const _t=(0,l.bc)(class{}),pt=new f.UbH("mat-autocomplete-default-options",{providedIn:"root",factory:function Gt(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1}}});let qe=(()=>{class Xe extends _t{constructor(xe,Ct,Kt,gt){super(),this._changeDetectorRef=xe,this._elementRef=Ct,this._activeOptionChanges=i.wH.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new f._w7,this.opened=new f._w7,this.closed=new f._w7,this.optionActivated=new f._w7,this._classList={},this.id="mat-autocomplete-"+Se++,this.inertGroups=gt?.SAFARI||!1,this._autoActiveFirstOption=!!Kt.autoActiveFirstOption,this._autoSelectActiveOption=!!Kt.autoSelectActiveOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(xe){this._autoActiveFirstOption=(0,d.W6)(xe)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(xe){this._autoSelectActiveOption=(0,d.W6)(xe)}set classList(xe){this._classList=xe&&xe.length?(0,d._s)(xe).reduce((Ct,Kt)=>(Ct[Kt]=!0,Ct),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new s.mJ(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(xe=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[xe]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(xe){this.panel&&(this.panel.nativeElement.scrollTop=xe)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(xe){const Ct=new ot(this,xe);this.optionSelected.emit(Ct)}_getPanelAriaLabelledby(xe){return this.ariaLabel?null:this.ariaLabelledby?(xe?xe+" ":"")+this.ariaLabelledby:xe}_setVisibilityClasses(xe){xe[this._visibleClass]=this.showPanel,xe[this._hiddenClass]=!this.showPanel}}return Xe.\u0275fac=function(xe){return new(xe||Xe)(f.GI1(f.kD9),f.GI1(f.GMv),f.GI1(pt),f.GI1(o.WU))},Xe.\u0275dir=f.Sc5({type:Xe,viewQuery:function(xe,Ct){if(1&xe&&(f.CC$(f.Yw2,7),f.CC$(te,5)),2&xe){let Kt;f.wto(Kt=f.Gqi())&&(Ct.template=Kt.first),f.wto(Kt=f.Gqi())&&(Ct.panel=Kt.first)}},inputs:{ariaLabel:[f.Wk5.None,"aria-label","ariaLabel"],ariaLabelledby:[f.Wk5.None,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:[f.Wk5.None,"class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[f.eg9]}),Xe})(),Je=(()=>{class Xe extends qe{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return Xe.\u0275fac=(()=>{let z;return function(Ct){return(z||(z=f.otF(Xe)))(Ct||Xe)}})(),Xe.\u0275cmp=f.In1({type:Xe,selectors:[["mat-autocomplete"]],contentQueries:function(xe,Ct,Kt){if(1&xe&&(f.szK(Kt,l.KG,5),f.szK(Kt,l.I5,5)),2&xe){let gt;f.wto(gt=f.Gqi())&&(Ct.optionGroups=gt),f.wto(gt=f.Gqi())&&(Ct.options=gt)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[f.M5G([{provide:l.K6,useExisting:Xe}]),f.eg9],ngContentSelectors:Fe,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(xe,Ct){1&xe&&(f.kPM(),f.yuY(0,be,3,4,"ng-template"))},dependencies:[ie.QF],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}"],encapsulation:2,changeDetection:0}),Xe})();const L=new f.UbH("mat-autocomplete-scroll-strategy"),de={provide:L,deps:[oe.mc],useFactory:function H(Xe){return()=>Xe.scrollStrategies.reposition()}},$e={provide:j.Y6,useExisting:(0,f.wd)(()=>Et),multi:!0};let dt=(()=>{class Xe{constructor(xe,Ct,Kt,gt,vt,Ot,Ke,Ne,He,Me,st){this._element=xe,this._overlay=Ct,this._viewContainerRef=Kt,this._zone=gt,this._changeDetectorRef=vt,this._dir=Ke,this._formField=Ne,this._document=He,this._viewportRuler=Me,this._defaults=st,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=i.wH.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new y.E,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,_.Q)(()=>{const re=this.autocomplete?this.autocomplete.options:null;return re?re.changes.pipe((0,rt.W)(re),(0,le.G)(()=>(0,I.U)(...re.map(Re=>Re.onSelectionChange)))):this._zone.onStable.pipe((0,ye.U)(1),(0,le.G)(()=>this.optionSelections))}),this._scrollStrategy=Ot}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(xe){this._autocompleteDisabled=(0,d.W6)(xe)}ngAfterViewInit(){const xe=this._getWindow();typeof xe<"u"&&this._zone.runOutsideAngular(()=>xe.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(xe){xe.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const xe=this._getWindow();typeof xe<"u"&&xe.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,I.U)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,Y.I)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,Y.I)(()=>this._overlayAttached)):(0,B.of)()).pipe((0,g.k)(xe=>xe instanceof l.EZ?xe:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,I.U)((0,K.w)(this._document,"click"),(0,K.w)(this._document,"auxclick"),(0,K.w)(this._document,"touchend")).pipe((0,Y.I)(xe=>{const Ct=(0,o.oZ)(xe),Kt=this._formField?this._formField._elementRef.nativeElement:null,gt=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&Ct!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!Kt||!Kt.contains(Ct))&&(!gt||!gt.contains(Ct))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(Ct)}))}writeValue(xe){Promise.resolve(null).then(()=>this._assignOptionValue(xe))}registerOnChange(xe){this._onChange=xe}registerOnTouched(xe){this._onTouched=xe}setDisabledState(xe){this._element.nativeElement.disabled=xe}_handleKeydown(xe){const Ct=xe.keyCode,Kt=(0,Z.Yp)(xe);if(Ct===Z.UX&&!Kt&&xe.preventDefault(),this.activeOption&&Ct===Z.wJ&&this.panelOpen&&!Kt)this.activeOption._selectViaInteraction(),this._resetActiveItem(),xe.preventDefault();else if(this.autocomplete){const gt=this.autocomplete._keyManager.activeItem,vt=Ct===Z.qI||Ct===Z.Oq;Ct===Z.k0||vt&&!Kt&&this.panelOpen?this.autocomplete._keyManager.onKeydown(xe):vt&&this._canOpen()&&this.openPanel(),(vt||this.autocomplete._keyManager.activeItem!==gt)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(xe){let Ct=xe.target,Kt=Ct.value;"number"===Ct.type&&(Kt=""==Kt?null:parseFloat(Kt)),this._previousValue!==Kt&&(this._previousValue=Kt,this._pendingAutoselectedOption=null,this._onChange(Kt),this._canOpen()&&this._document.activeElement===xe.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(xe=!1){this._formField&&"auto"===this._formField.floatLabel&&(xe?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const xe=this._zone.onStable.pipe((0,ye.U)(1)),Ct=this.autocomplete.options.changes.pipe((0,X.y)(()=>this._positionStrategy.reapplyLastPosition()),(0,V.o)(0));return(0,I.U)(xe,Ct).pipe((0,le.G)(()=>(this._zone.run(()=>{const Kt=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),Kt!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,ye.U)(1)).subscribe(Kt=>this._setValueAndClose(Kt))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(xe){const Ct=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(xe):xe;this._updateNativeInputValue(Ct??"")}_updateNativeInputValue(xe){this._formField?this._formField._control.value=xe:this._element.nativeElement.value=xe,this._previousValue=xe}_setValueAndClose(xe){const Ct=xe?xe.source:this._pendingAutoselectedOption;Ct&&(this._clearPreviousSelectedOption(Ct),this._assignOptionValue(Ct.value),this._onChange(Ct.value),this.autocomplete._emitSelectEvent(Ct),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(xe){this.autocomplete.options.forEach(Ct=>{Ct!==xe&&Ct.selected&&Ct.deselect()})}_attachOverlay(){let xe=this._overlayRef;xe?(this._positionStrategy.setOrigin(this._getConnectedElement()),xe.updateSize({width:this._getPanelWidth()})):(this._portal=new _e.CC(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),xe=this._overlay.create(this._getOverlayConfig()),this._overlayRef=xe,this._handleOverlayEvents(xe),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&xe&&xe.updateSize({width:this._getPanelWidth()})})),xe&&!xe.hasAttached()&&(xe.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const Ct=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&Ct!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new oe.o9({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const xe=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(xe),this._positionStrategy=xe,xe}_setStrategyPositions(xe){const Ct=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Kt=this._aboveClass,gt=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:Kt},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:Kt}];let vt;vt="above"===this.position?gt:"below"===this.position?Ct:[...Ct,...gt],xe.withPositions(vt)}_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(){const xe=this.autocomplete;xe.autoActiveFirstOption?xe._keyManager.setFirstItemActive():xe._keyManager.setActiveItem(-1)}_canOpen(){const xe=this._element.nativeElement;return!xe.readOnly&&!xe.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(xe){const Ct=this.autocomplete,Kt=(0,l.aq)(xe,Ct.options,Ct.optionGroups);if(0===xe&&1===Kt)Ct._setScrollTop(0);else if(Ct.panel){const gt=Ct.options.toArray()[xe];if(gt){const vt=gt._getHostElement(),Ot=(0,l.ms)(vt.offsetTop,vt.offsetHeight,Ct._getScrollTop(),Ct.panel.nativeElement.offsetHeight);Ct._setScrollTop(Ot)}}}_handleOverlayEvents(xe){xe.keydownEvents().subscribe(Ct=>{(Ct.keyCode===Z.UX&&!(0,Z.Yp)(Ct)||Ct.keyCode===Z.qI&&(0,Z.Yp)(Ct,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),Ct.stopPropagation(),Ct.preventDefault())}),xe.outsidePointerEvents().subscribe()}}return Xe.\u0275fac=function(xe){return new(xe||Xe)(f.GI1(f.GMv),f.GI1(oe.mc),f.GI1(f.y8U),f.GI1(f.WW2),f.GI1(f.kD9),f.GI1(L),f.GI1(ae.yG,8),f.GI1(ke.Y$,9),f.GI1(ie.Ud,8),f.GI1(Ge.S8),f.GI1(pt,8))},Xe.\u0275dir=f.Sc5({type:Xe,inputs:{autocomplete:[f.Wk5.None,"matAutocomplete","autocomplete"],position:[f.Wk5.None,"matAutocompletePosition","position"],connectedTo:[f.Wk5.None,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[f.Wk5.None,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[f.Wk5.None,"matAutocompleteDisabled","autocompleteDisabled"]},features:[f.SYr]}),Xe})(),Et=(()=>{class Xe extends dt{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return Xe.\u0275fac=(()=>{let z;return function(Ct){return(z||(z=f.otF(Xe)))(Ct||Xe)}})(),Xe.\u0275dir=f.Sc5({type:Xe,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(xe,Ct){1&xe&&f.qCj("focusin",function(){return Ct._handleFocus()})("blur",function(){return Ct._onTouched()})("input",function(gt){return Ct._handleInput(gt)})("keydown",function(gt){return Ct._handleKeydown(gt)})("click",function(){return Ct._handleClick()}),2&xe&&f.e48("autocomplete",Ct.autocompleteAttribute)("role",Ct.autocompleteDisabled?null:"combobox")("aria-autocomplete",Ct.autocompleteDisabled?null:"list")("aria-activedescendant",Ct.panelOpen&&Ct.activeOption?Ct.activeOption.id:null)("aria-expanded",Ct.autocompleteDisabled?null:Ct.panelOpen.toString())("aria-owns",Ct.autocompleteDisabled||!Ct.panelOpen||null==Ct.autocomplete?null:Ct.autocomplete.id)("aria-haspopup",Ct.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[f.M5G([$e]),f.eg9]}),Xe})(),Ye=(()=>{class Xe{}return Xe.\u0275fac=function(xe){return new(xe||Xe)},Xe.\u0275mod=f.a4G({type:Xe}),Xe.\u0275inj=f.s3X({providers:[de],imports:[oe.Y1,l.Ax,l.AN,ie.MD,Ge.uU,l.Ax,l.AN]}),Xe})()},8760:(lt,me,u)=>{"use strict";u.d(me,{EB:()=>K,Gw:()=>B,oJ:()=>ie});var s=u(2116),d=u(9544),o=u(4723);const f=["mat-button",""],l=["*"],_=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],I=(0,d.i)((0,d.YB)((0,d.bc)(class{constructor(oe){this._elementRef=oe}})));let B=(()=>{class oe extends I{constructor(ae,Z,_e){super(ae),this._focusMonitor=Z,this._animationMode=_e,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const j of _)this._hasHostAttributes(j)&&this._getHostElement().classList.add(j);ae.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(ae,Z){ae?this._focusMonitor.focusVia(this._getHostElement(),ae,Z):this._getHostElement().focus(Z)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...ae){return ae.some(Z=>this._getHostElement().hasAttribute(Z))}}return oe.\u0275fac=function(ae){return new(ae||oe)(s.GI1(s.GMv),s.GI1(o.Kk),s.GI1(s.qwP,8))},oe.\u0275cmp=s.In1({type:oe,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(ae,Z){if(1&ae&&s.CC$(d.UZ,5),2&ae){let _e;s.wto(_e=s.Gqi())&&(Z.ripple=_e.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(ae,Z){2&ae&&(s.e48("disabled",Z.disabled||null),s.eAK("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-button-disabled",Z.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[s.eg9],attrs:f,ngContentSelectors:l,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(ae,Z){1&ae&&(s.kPM(),s.I0R(0,"span",0),s._Xx(1),s.C$Y(),s.wR5(2,"span",1)(3,"span",2)),2&ae&&(s.yG2(2),s.eAK("mat-button-ripple-round",Z.isRoundButton||Z.isIconButton),s.E7m("matRippleDisabled",Z._isRippleDisabled())("matRippleCentered",Z.isIconButton)("matRippleTrigger",Z._getHostElement()))},dependencies:[d.UZ],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}"],encapsulation:2,changeDetection:0}),oe})(),K=(()=>{class oe extends B{constructor(ae,Z,_e,j){super(Z,ae,_e),this._ngZone=j,this._haltDisabledEvents=ke=>{this.disabled&&(ke.preventDefault(),ke.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return oe.\u0275fac=function(ae){return new(ae||oe)(s.GI1(o.Kk),s.GI1(s.GMv),s.GI1(s.qwP,8),s.GI1(s.WW2,8))},oe.\u0275cmp=s.In1({type:oe,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(ae,Z){2&ae&&(s.e48("tabindex",Z.disabled?-1:Z.tabIndex)("disabled",Z.disabled||null)("aria-disabled",Z.disabled.toString()),s.eAK("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-button-disabled",Z.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[s.eg9],attrs:f,ngContentSelectors:l,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(ae,Z){1&ae&&(s.kPM(),s.I0R(0,"span",0),s._Xx(1),s.C$Y(),s.wR5(2,"span",1)(3,"span",2)),2&ae&&(s.yG2(2),s.eAK("mat-button-ripple-round",Z.isRoundButton||Z.isIconButton),s.E7m("matRippleDisabled",Z._isRippleDisabled())("matRippleCentered",Z.isIconButton)("matRippleTrigger",Z._getHostElement()))},dependencies:[d.UZ],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}"],encapsulation:2,changeDetection:0}),oe})(),ie=(()=>{class oe{}return oe.\u0275fac=function(ae){return new(ae||oe)},oe.\u0275mod=s.a4G({type:oe}),oe.\u0275inj=s.s3X({imports:[d.KE,d.AN,d.AN]}),oe})()},704:(lt,me,u)=>{"use strict";u.d(me,{MN:()=>Ge,NR:()=>Y,SM:()=>rt,Uc:()=>le,W0:()=>ie,WK:()=>I,gp:()=>B,uK:()=>K});var s=u(2116),d=u(9544);const o=["*",[["mat-card-footer"]]],f=["*","mat-card-footer"],l=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],i=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n      [mat-card-title], [mat-card-subtitle],\n      [matCardTitle], [matCardSubtitle]","*"];let I=(()=>{class g{}return g.\u0275fac=function(V){return new(V||g)},g.\u0275dir=s.Sc5({type:g,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),g})(),B=(()=>{class g{}return g.\u0275fac=function(V){return new(V||g)},g.\u0275dir=s.Sc5({type:g,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),g})(),K=(()=>{class g{}return g.\u0275fac=function(V){return new(V||g)},g.\u0275dir=s.Sc5({type:g,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),g})(),ie=(()=>{class g{constructor(){this.align="start"}}return g.\u0275fac=function(V){return new(V||g)},g.\u0275dir=s.Sc5({type:g,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(V,te){2&V&&s.eAK("mat-card-actions-align-end","end"===te.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),g})(),Ge=(()=>{class g{}return g.\u0275fac=function(V){return new(V||g)},g.\u0275dir=s.Sc5({type:g,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-card-image"]}),g})(),rt=(()=>{class g{constructor(V){this._animationMode=V}}return g.\u0275fac=function(V){return new(V||g)(s.GI1(s.qwP,8))},g.\u0275cmp=s.In1({type:g,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(V,te){2&V&&s.eAK("_mat-animation-noopable","NoopAnimations"===te._animationMode)},exportAs:["matCard"],ngContentSelectors:f,decls:2,vars:0,template:function(V,te){1&V&&(s.kPM(o),s._Xx(0),s._Xx(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}.mat-card._mat-animation-noopable{transition:none !important;animation:none !important}.mat-card>.mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card>.mat-divider-horizontal{left:auto;right:0}.mat-card>.mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card>.mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],encapsulation:2,changeDetection:0}),g})(),le=(()=>{class g{}return g.\u0275fac=function(V){return new(V||g)},g.\u0275cmp=s.In1({type:g,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:i,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(V,te){1&V&&(s.kPM(l),s._Xx(0),s.I0R(1,"div",0),s._Xx(2,1),s.C$Y(),s._Xx(3,2))},encapsulation:2,changeDetection:0}),g})(),Y=(()=>{class g{}return g.\u0275fac=function(V){return new(V||g)},g.\u0275mod=s.a4G({type:g}),g.\u0275inj=s.s3X({imports:[d.AN,d.AN]}),g})()},5024:(lt,me,u)=>{"use strict";u.d(me,{Vn:()=>Y,WK:()=>ke});var s=u(4723),d=u(7712),o=u(2116),f=u(6504),l=u(9544),i=u(6640);const y=["input"],_=["label"],I=g=>({enterDuration:g}),B=["*"],K=new o.UbH("mat-checkbox-default-options",{providedIn:"root",factory:ie});function ie(){return{color:"accent",clickAction:"check-indeterminate"}}let oe=0;const Ge=ie(),ae={provide:f.Y6,useExisting:(0,o.wd)(()=>ke),multi:!0};class Z{}const _e=(0,l.S)((0,l.i)((0,l.bc)((0,l.YB)(class{constructor(g){this._elementRef=g}}))));let j=(()=>{class g extends _e{constructor(V,te,be,Fe,Se,ot,_t){super(te),this._changeDetectorRef=be,this._ngZone=Fe,this._animationMode=ot,this._options=_t,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new o._w7,this.indeterminateChange=new o._w7,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||Ge,this.color=this.defaultColor=this._options.color||Ge.color,this.tabIndex=parseInt(Se)||0,this.id=this._uniqueId=`${V}${++oe}`}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(V){this._required=(0,d.W6)(V)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(V){const te=(0,d.W6)(V);te!=this.checked&&(this._checked=te,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(V){const te=(0,d.W6)(V);te!==this.disabled&&(this._disabled=te,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(V){const te=V!=this._indeterminate;this._indeterminate=(0,d.W6)(V),te&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(V){this.checked=!!V}registerOnChange(V){this._controlValueAccessorChangeFn=V}registerOnTouched(V){this._onTouched=V}setDisabledState(V){this.disabled=V}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(V){let te=this._currentCheckState,be=this._getAnimationTargetElement();if(te!==V&&be&&(this._currentAnimationClass&&be.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(te,V),this._currentCheckState=V,this._currentAnimationClass.length>0)){be.classList.add(this._currentAnimationClass);const Fe=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{be.classList.remove(Fe)},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(){const V=this._options?.clickAction;this.disabled||"noop"===V?!this.disabled&&"noop"===V&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==V&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(V){V.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(V,te){if("NoopAnimations"===this._animationMode)return"";switch(V){case 0:if(1===te)return this._animationClasses.uncheckedToChecked;if(3==te)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===te?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===te?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===te?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(V){const te=this._inputElement;te&&(te.nativeElement.indeterminate=V)}}return g.\u0275fac=function(V){o.KEo()},g.\u0275dir=o.Sc5({type:g,viewQuery:function(V,te){if(1&V&&(o.CC$(y,5),o.CC$(_,5),o.CC$(l.UZ,5)),2&V){let be;o.wto(be=o.Gqi())&&(te._inputElement=be.first),o.wto(be=o.Gqi())&&(te._labelElement=be.first),o.wto(be=o.Gqi())&&(te.ripple=be.first)}},inputs:{ariaLabel:[o.Wk5.None,"aria-label","ariaLabel"],ariaLabelledby:[o.Wk5.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[o.Wk5.None,"aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[o.eg9]}),g})(),ke=(()=>{class g extends j{constructor(V,te,be,Fe,Se,ot,_t){super("mat-checkbox-",V,te,Fe,Se,ot,_t),this._focusMonitor=be,this._animationClasses={uncheckedToChecked:"mat-checkbox-anim-unchecked-checked",uncheckedToIndeterminate:"mat-checkbox-anim-unchecked-indeterminate",checkedToUnchecked:"mat-checkbox-anim-checked-unchecked",checkedToIndeterminate:"mat-checkbox-anim-checked-indeterminate",indeterminateToChecked:"mat-checkbox-anim-indeterminate-checked",indeterminateToUnchecked:"mat-checkbox-anim-indeterminate-unchecked"}}_createChangeEvent(V){const te=new Z;return te.source=this,te.checked=V,te}_getAnimationTargetElement(){return this._elementRef.nativeElement}ngAfterViewInit(){super.ngAfterViewInit(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(V=>{V||this._onBlur()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onInputClick(V){V.stopPropagation(),super._handleInputClick()}focus(V,te){V?this._focusMonitor.focusVia(this._inputElement,V,te):this._inputElement.nativeElement.focus(te)}}return g.\u0275fac=function(V){return new(V||g)(o.GI1(o.GMv),o.GI1(o.kD9),o.GI1(s.Kk),o.GI1(o.WW2),o.gJ8("tabindex"),o.GI1(o.qwP,8),o.GI1(K,8))},g.\u0275cmp=o.In1({type:g,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(V,te){2&V&&(o.SoX("id",te.id),o.e48("tabindex",null)("aria-label",null)("aria-labelledby",null),o.eAK("mat-checkbox-indeterminate",te.indeterminate)("mat-checkbox-checked",te.checked)("mat-checkbox-disabled",te.disabled)("mat-checkbox-label-before","before"==te.labelPosition)("_mat-animation-noopable","NoopAnimations"===te._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[o.M5G([ae]),o.eg9],ngContentSelectors:B,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(V,te){if(1&V&&(o.kPM(),o.I0R(0,"label",0,1)(2,"span",2)(3,"input",3,4),o.qCj("change",function(Fe){return te._onInteractionEvent(Fe)})("click",function(Fe){return te._onInputClick(Fe)}),o.C$Y(),o.I0R(5,"span",5),o.wR5(6,"span",6),o.C$Y(),o.wR5(7,"span",7),o.I0R(8,"span",8),o.S2Z(),o.I0R(9,"svg",9),o.wR5(10,"path",10),o.C$Y(),o.gRP(),o.wR5(11,"span",11),o.C$Y()(),o.I0R(12,"span",12,13),o.qCj("cdkObserveContent",function(){return te._onLabelTextChange()}),o.I0R(14,"span",14),o.OEk(15,"\xa0"),o.C$Y(),o._Xx(16),o.C$Y()()),2&V){const be=o.Gew(1),Fe=o.Gew(13);o.e48("for",te.inputId),o.yG2(2),o.eAK("mat-checkbox-inner-container-no-side-margin",!Fe.textContent||!Fe.textContent.trim()),o.yG2(),o.E7m("id",te.inputId)("required",te.required)("checked",te.checked)("disabled",te.disabled)("tabIndex",te.tabIndex),o.e48("value",te.value)("name",te.name)("aria-label",te.ariaLabel||null)("aria-labelledby",te.ariaLabelledby)("aria-checked",te._getAriaChecked())("aria-describedby",te.ariaDescribedby),o.yG2(2),o.E7m("matRippleTrigger",be)("matRippleDisabled",te._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",o.S45(19,I,"NoopAnimations"===te._animationMode?0:150))}},dependencies:[l.UZ,i.Wk],styles:['@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-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 mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.mat-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:rgba(0,0,0,0);transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:rgba(0,0,0,0)}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox-input:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),g})(),ye=(()=>{class g{}return g.\u0275fac=function(V){return new(V||g)},g.\u0275mod=o.a4G({type:g}),g.\u0275inj=o.s3X({}),g})(),Y=(()=>{class g{}return g.\u0275fac=function(V){return new(V||g)},g.\u0275mod=o.a4G({type:g}),g.\u0275inj=o.s3X({imports:[l.KE,l.AN,i.IT,ye,l.AN,ye]}),g})()},3400:(lt,me,u)=>{"use strict";u.d(me,{Gs:()=>Je,N5:()=>te,YF:()=>Gt,mI:()=>_t,oH:()=>V});var s=u(7800),d=u(2116),o=u(9544),f=u(7712),l=u(5792),i=u(1368),y=u(5657),_=u(3412),I=u(3992),B=u(3616),K=u(5568),ie=u(4723),oe=u(1900),Ge=u(1032),ae=u(6504),Z=u(3040);const _e=["*"],ke=new d.UbH("MatChipRemove"),rt=new d.UbH("MatChipAvatar"),le=new d.UbH("MatChipTrailingIcon");class ye{constructor(Ae){this._elementRef=Ae}}const Y=(0,o.S)((0,o.i)((0,o.bc)(ye),"primary"),-1);let V=(()=>{class ce extends Y{constructor(L,H,de,$e,je,dt,Et,Ye){super(L),this._ngZone=H,this._changeDetectorRef=je,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this.role="option",this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new y.E,this._onBlur=new y.E,this.selectionChange=new d._w7,this.destroyed=new d._w7,this.removed=new d._w7,this._addHostClassName(),this._chipRippleTarget=dt.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new o.Ch(this,H,this._chipRippleTarget,de),this._chipRipple.setupTriggerEvents(L),this.rippleConfig=$e||{},this._animationsDisabled="NoopAnimations"===Et,this.tabIndex=null!=Ye&&parseInt(Ye)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(L){const H=(0,f.W6)(L);H!==this._selected&&(this._selected=H,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(L){this._value=L}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(L){this._selectable=(0,f.W6)(L)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(L){this._disabled=(0,f.W6)(L)}get removable(){return this._removable}set removable(L){this._removable=(0,f.W6)(L)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const L="mat-basic-chip",H=this._elementRef.nativeElement;H.hasAttribute(L)||H.tagName.toLowerCase()===L?H.classList.add(L):H.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(L=!1){return this._selected=!this.selected,this._dispatchSelectionChange(L),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(L){this.disabled&&L.preventDefault()}_handleKeydown(L){if(!this.disabled)switch(L.keyCode){case s.G0:case s.y_:this.remove(),L.preventDefault();break;case s.Gi:this.selectable&&this.toggleSelected(!0),L.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,I.U)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(L=!1){this.selectionChange.emit({source:this,isUserInput:L,selected:this._selected})}}return ce.\u0275fac=function(L){return new(L||ce)(d.GI1(d.GMv),d.GI1(d.WW2),d.GI1(l.WU),d.GI1(o.Ge,8),d.GI1(d.kD9),d.GI1(i.Ud),d.GI1(d.qwP,8),d.gJ8("tabindex"))},ce.\u0275dir=d.Sc5({type:ce,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(L,H,de){if(1&L&&(d.szK(de,rt,5),d.szK(de,le,5),d.szK(de,ke,5)),2&L){let $e;d.wto($e=d.Gqi())&&(H.avatar=$e.first),d.wto($e=d.Gqi())&&(H.trailingIcon=$e.first),d.wto($e=d.Gqi())&&(H.removeIcon=$e.first)}},hostAttrs:[1,"mat-chip","mat-focus-indicator"],hostVars:15,hostBindings:function(L,H){1&L&&d.qCj("click",function($e){return H._handleClick($e)})("keydown",function($e){return H._handleKeydown($e)})("focus",function(){return H.focus()})("blur",function(){return H._blur()}),2&L&&(d.e48("tabindex",H.disabled?null:H.tabIndex)("role",H.role)("disabled",H.disabled||null)("aria-disabled",H.disabled.toString())("aria-selected",H.ariaSelected),d.eAK("mat-chip-selected",H.selected)("mat-chip-with-avatar",H.avatar)("mat-chip-with-trailing-icon",H.trailingIcon||H.removeIcon)("mat-chip-disabled",H.disabled)("_mat-animation-noopable",H._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[d.eg9]}),ce})(),te=(()=>{class ce{constructor(L,H){this._parentChip=L,"BUTTON"===H.nativeElement.nodeName&&H.nativeElement.setAttribute("type","button")}_handleClick(L){const H=this._parentChip;H.removable&&!H.disabled&&H.remove(),L.stopPropagation(),L.preventDefault()}}return ce.\u0275fac=function(L){return new(L||ce)(d.GI1(V),d.GI1(d.GMv))},ce.\u0275dir=d.Sc5({type:ce,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(L,H){1&L&&d.qCj("click",function($e){return H._handleClick($e)})},features:[d.M5G([{provide:ke,useExisting:ce}])]}),ce})();const be=new d.UbH("mat-chips-default-options"),Fe=(0,o.Sk)(class{constructor(ce,Ae,L,H){this._defaultErrorStateMatcher=ce,this._parentForm=Ae,this._parentFormGroup=L,this.ngControl=H,this.stateChanges=new y.E}});let Se=0;class ot{constructor(Ae,L){this.source=Ae,this.value=L}}let _t=(()=>{class ce extends Fe{constructor(L,H,de,$e,je,dt,Et){super(dt,$e,je,Et),this._elementRef=L,this._changeDetectorRef=H,this._dir=de,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new y.E,this._uid="mat-chip-list-"+Se++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(Ye,Xe)=>Ye===Xe,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new d._w7,this.valueChange=new d._w7,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get role(){return this._explicitRole?this._explicitRole:this.empty?null:"listbox"}set role(L){this._explicitRole=L}get multiple(){return this._multiple}set multiple(L){this._multiple=(0,f.W6)(L),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(L){this._compareWith=L,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(L){this.writeValue(L),this._value=L}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(ae.AQ.required)??!1}set required(L){this._required=(0,f.W6)(L),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(L){this._placeholder=L,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(L){this._disabled=(0,f.W6)(L),this._syncChipsState()}get selectable(){return this._selectable}set selectable(L){this._selectable=(0,f.W6)(L),this._syncChipsState()}set tabIndex(L){this._userTabIndex=L,this._tabIndex=L}get chipSelectionChanges(){return(0,_.U)(...this.chips.map(L=>L.selectionChange))}get chipFocusChanges(){return(0,_.U)(...this.chips.map(L=>L._onFocus))}get chipBlurChanges(){return(0,_.U)(...this.chips.map(L=>L._onBlur))}get chipRemoveChanges(){return(0,_.U)(...this.chips.map(L=>L.destroyed))}ngAfterContentInit(){this._keyManager=new ie.IH(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,B.a)(this._destroyed)).subscribe(L=>this._keyManager.withHorizontalOrientation(L)),this._keyManager.tabOut.pipe((0,B.a)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe((0,K.W)(null),(0,B.a)(this._destroyed)).subscribe(()=>{(this.disabled||!this.selectable)&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new Ge.e2(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(L){this._chipInput=L,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",L.id)}setDescribedByIds(L){L.length?this._elementRef.nativeElement.setAttribute("aria-describedby",L.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}writeValue(L){this.chips&&this._setSelectionByValue(L,!1)}registerOnChange(L){this._onChange=L}registerOnTouched(L){this._onTouched=L}setDisabledState(L){this.disabled=L,this.stateChanges.next()}onContainerClick(L){this._originatesFromChip(L)||this.focus()}focus(L){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(L),this.stateChanges.next()))}_focusInput(L){this._chipInput&&this._chipInput.focus(L)}_keydown(L){const H=L.target;H&&H.classList.contains("mat-chip")&&(this._keyManager.onKeydown(L),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const L=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(L)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(L){return L>=0&&L<this.chips.length}_setSelectionByValue(L,H=!0){if(this._clearSelection(),this.chips.forEach(de=>de.deselect()),Array.isArray(L))L.forEach(de=>this._selectValue(de,H)),this._sortValues();else{const de=this._selectValue(L,H);de&&H&&this._keyManager.setActiveItem(de)}}_selectValue(L,H=!0){const de=this.chips.find($e=>null!=$e.value&&this._compareWith($e.value,L));return de&&(H?de.selectViaInteraction():de.select(),this._selectionModel.select(de)),de}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(L){this._selectionModel.clear(),this.chips.forEach(H=>{H!==L&&H.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(L=>{L.selected&&this._selectionModel.select(L)}),this.stateChanges.next())}_propagateChanges(L){let H=null;H=Array.isArray(this.selected)?this.selected.map(de=>de.value):this.selected?this.selected.value:L,this._value=H,this.change.emit(new ot(this,H)),this.valueChange.emit(H),this._onChange(H),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(L=>{L.source.selected?this._selectionModel.select(L.source):this._selectionModel.deselect(L.source),this.multiple||this.chips.forEach(H=>{!this._selectionModel.isSelected(H)&&H.selected&&H.deselect()}),L.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(L=>{let H=this.chips.toArray().indexOf(L.chip);this._isValidIndex(H)&&this._keyManager.updateActiveItem(H),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(L=>{const H=L.chip,de=this.chips.toArray().indexOf(L.chip);this._isValidIndex(de)&&H._hasFocus&&(this._lastDestroyedChipIndex=de)})}_originatesFromChip(L){let H=L.target;for(;H&&H!==this._elementRef.nativeElement;){if(H.classList.contains("mat-chip"))return!0;H=H.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(L=>L._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(L=>{L._chipListDisabled=this._disabled,L._chipListMultiple=this.multiple,L.chipListSelectable=this._selectable})}}return ce.\u0275fac=function(L){return new(L||ce)(d.GI1(d.GMv),d.GI1(d.kD9),d.GI1(oe.yG,8),d.GI1(ae.SC,8),d.GI1(ae.uW,8),d.GI1(o.u9),d.GI1(ae.eq,10))},ce.\u0275cmp=d.In1({type:ce,selectors:[["mat-chip-list"]],contentQueries:function(L,H,de){if(1&L&&d.szK(de,V,5),2&L){let $e;d.wto($e=d.Gqi())&&(H.chips=$e)}},hostAttrs:[1,"mat-chip-list"],hostVars:14,hostBindings:function(L,H){1&L&&d.qCj("focus",function(){return H.focus()})("blur",function(){return H._blur()})("keydown",function($e){return H._keydown($e)}),2&L&&(d.SoX("id",H._uid),d.e48("tabindex",H.disabled?null:H._tabIndex)("aria-required",H.role?H.required:null)("aria-disabled",H.disabled.toString())("aria-invalid",H.errorState)("aria-multiselectable",H.multiple)("role",H.role)("aria-orientation",H.ariaOrientation),d.eAK("mat-chip-list-disabled",H.disabled)("mat-chip-list-invalid",H.errorState)("mat-chip-list-required",H.required))},inputs:{role:"role",userAriaDescribedBy:[d.Wk5.None,"aria-describedby","userAriaDescribedBy"],errorStateMatcher:"errorStateMatcher",multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",ariaOrientation:[d.Wk5.None,"aria-orientation","ariaOrientation"],selectable:"selectable",tabIndex:"tabIndex"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[d.M5G([{provide:Z.u0,useExisting:ce}]),d.eg9],ngContentSelectors:_e,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(L,H){1&L&&(d.kPM(),d.I0R(0,"div",0),d._Xx(1),d.C$Y())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-chip::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}.mat-standard-chip._mat-animation-noopable{transition:none !important;animation:none !important}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden;transform:translateZ(0)}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}'],encapsulation:2,changeDetection:0}),ce})(),pt=0,Gt=(()=>{class ce{constructor(L,H){this._elementRef=L,this._defaultOptions=H,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new d._w7,this.placeholder="",this.id="mat-chip-list-input-"+pt++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}set chipList(L){L&&(this._chipList=L,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(L){this._addOnBlur=(0,f.W6)(L)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(L){this._disabled=(0,f.W6)(L)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(L){if(L){if(L.keyCode===s.k0&&!(0,s.Yp)(L,"shiftKey")&&this._chipList._allowFocusEscape(),L.keyCode===s.y_&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void L.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(L)}_keyup(L){!this._focusLastChipOnBackspace&&L.keyCode===s.y_&&this.empty&&(this._focusLastChipOnBackspace=!0,L.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipList.stateChanges.next()}_emitChipEnd(L){!this.inputElement.value&&L&&this._chipList._keydown(L),(!L||this._isSeparatorKey(L))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),L?.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(L){this.inputElement.focus(L)}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}_isSeparatorKey(L){return!(0,s.Yp)(L)&&new Set(this.separatorKeyCodes).has(L.keyCode)}}return ce.\u0275fac=function(L){return new(L||ce)(d.GI1(d.GMv),d.GI1(be))},ce.\u0275dir=d.Sc5({type:ce,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(L,H){1&L&&d.qCj("keydown",function($e){return H._keydown($e)})("keyup",function($e){return H._keyup($e)})("blur",function(){return H._blur()})("focus",function(){return H._focus()})("input",function(){return H._onInput()}),2&L&&(d.SoX("id",H.id),d.e48("disabled",H.disabled||null)("placeholder",H.placeholder||null)("aria-invalid",H._chipList&&H._chipList.ngControl?H._chipList.ngControl.invalid:null)("aria-required",H._chipList&&H._chipList.required||null))},inputs:{chipList:[d.Wk5.None,"matChipInputFor","chipList"],addOnBlur:[d.Wk5.None,"matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:[d.Wk5.None,"matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[d.SYr]}),ce})(),Je=(()=>{class ce{}return ce.\u0275fac=function(L){return new(L||ce)},ce.\u0275mod=d.a4G({type:ce}),ce.\u0275inj=d.s3X({providers:[o.u9,{provide:be,useValue:{separatorKeyCodes:[s.wJ]}}],imports:[o.AN]}),ce})()},9544:(lt,me,u)=>{"use strict";u.d(me,{iI:()=>j,Gs:()=>ke,u9:()=>je,KG:()=>zt,K6:()=>Re,Ge:()=>Ne,AN:()=>ye,Cs:()=>dt,A3:()=>Xe,Ko:()=>de,I5:()=>kn,Ax:()=>ti,EZ:()=>jn,iQ:()=>st,oD:()=>re,UZ:()=>He,KE:()=>Me,Ch:()=>Ot,aq:()=>Ln,ms:()=>Bn,i:()=>te,bc:()=>be,YB:()=>V,Sk:()=>Se,aU:()=>ot,S:()=>Fe,y0:()=>Et});var s=u(2116),d=u(4723),o=u(1900),l=u(1368),i=u(5792),y=u(7712),_=u(3252),I=u(5657),B=u(5568),K=u(7800);function Ge(Ft,Nt){if(1&Ft&&s.wR5(0,"mat-pseudo-checkbox",4),2&Ft){const It=s.GaO();s.E7m("state",It.selected?"checked":"unchecked")("disabled",It.disabled)}}function ae(Ft,Nt){if(1&Ft&&(s.I0R(0,"span",5),s.OEk(1),s.C$Y()),2&Ft){const It=s.GaO();s.yG2(),s.oRS("(",It.group.label,")")}}const Z=["*"];let j=(()=>{class Ft{}return Ft.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",Ft.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",Ft.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",Ft.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",Ft})(),ke=(()=>{class Ft{}return Ft.COMPLEX="375ms",Ft.ENTERING="225ms",Ft.EXITING="195ms",Ft})();const le=new s.UbH("mat-sanity-checks",{providedIn:"root",factory:function rt(){return!0}});let ye=(()=>{class Ft{constructor(It,en,Vt){this._sanityChecks=en,this._document=Vt,this._hasDoneGlobalChecks=!1,It._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(It){return!(0,i.mW)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[It])}}return Ft.\u0275fac=function(It){return new(It||Ft)(s.CoB(d.MM),s.CoB(le,8),s.CoB(l.Ud))},Ft.\u0275mod=s.a4G({type:Ft}),Ft.\u0275inj=s.s3X({imports:[o.gN,o.gN]}),Ft})();function V(Ft){return class extends Ft{constructor(...Nt){super(...Nt),this._disabled=!1}get disabled(){return this._disabled}set disabled(Nt){this._disabled=(0,y.W6)(Nt)}}}function te(Ft,Nt){return class extends Ft{constructor(...It){super(...It),this.defaultColor=Nt,this.color=Nt}get color(){return this._color}set color(It){const en=It||this.defaultColor;en!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),en&&this._elementRef.nativeElement.classList.add(`mat-${en}`),this._color=en)}}}function be(Ft){return class extends Ft{constructor(...Nt){super(...Nt),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Nt){this._disableRipple=(0,y.W6)(Nt)}}}function Fe(Ft,Nt=0){return class extends Ft{constructor(...It){super(...It),this._tabIndex=Nt,this.defaultTabIndex=Nt}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(It){this._tabIndex=null!=It?(0,y.wZ)(It):this.defaultTabIndex}}}function Se(Ft){return class extends Ft{constructor(...Nt){super(...Nt),this.errorState=!1}updateErrorState(){const Nt=this.errorState,We=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);We!==Nt&&(this.errorState=We,this.stateChanges.next())}}}function ot(Ft){return class extends Ft{constructor(...Nt){super(...Nt),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new _._(It=>{this._isInitialized?this._notifySubscriber(It):this._pendingSubscribers.push(It)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(Nt){Nt.next(),Nt.complete()}}}const _t=new s.UbH("MAT_DATE_LOCALE",{providedIn:"root",factory:function pt(){return(0,s.uUt)(s.KYU)}});class Gt{constructor(){this._localeChanges=new I.E,this.localeChanges=this._localeChanges}getValidDateOrNull(Nt){return this.isDateInstance(Nt)&&this.isValid(Nt)?Nt:null}deserialize(Nt){return null==Nt||this.isDateInstance(Nt)&&this.isValid(Nt)?Nt:this.invalid()}setLocale(Nt){this.locale=Nt,this._localeChanges.next()}compareDate(Nt,It){return this.getYear(Nt)-this.getYear(It)||this.getMonth(Nt)-this.getMonth(It)||this.getDate(Nt)-this.getDate(It)}sameDate(Nt,It){if(Nt&&It){let en=this.isValid(Nt),Vt=this.isValid(It);return en&&Vt?!this.compareDate(Nt,It):en==Vt}return Nt==It}clampDate(Nt,It,en){return It&&this.compareDate(Nt,It)<0?It:en&&this.compareDate(Nt,en)>0?en:Nt}}const qe=new s.UbH("mat-date-formats"),Je=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function ce(Ft,Nt){const It=Array(Ft);for(let en=0;en<Ft;en++)It[en]=Nt(en);return It}let Ae=(()=>{class Ft extends Gt{constructor(It,en){super(),this.useUtcForDisplay=!1,super.setLocale(It)}getYear(It){return It.getFullYear()}getMonth(It){return It.getMonth()}getDate(It){return It.getDate()}getDayOfWeek(It){return It.getDay()}getMonthNames(It){const en=new Intl.DateTimeFormat(this.locale,{month:It,timeZone:"utc"});return ce(12,Vt=>this._format(en,new Date(2017,Vt,1)))}getDateNames(){const It=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ce(31,en=>this._format(It,new Date(2017,0,en+1)))}getDayOfWeekNames(It){const en=new Intl.DateTimeFormat(this.locale,{weekday:It,timeZone:"utc"});return ce(7,Vt=>this._format(en,new Date(2017,0,Vt+1)))}getYearName(It){const en=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(en,It)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(It){return this.getDate(this._createDateWithOverflow(this.getYear(It),this.getMonth(It)+1,0))}clone(It){return new Date(It.getTime())}createDate(It,en,Vt){let We=this._createDateWithOverflow(It,en,Vt);return We.getMonth(),We}today(){return new Date}parse(It,en){return"number"==typeof It?new Date(It):It?new Date(Date.parse(It)):null}format(It,en){if(!this.isValid(It))throw Error("NativeDateAdapter: Cannot format invalid date.");const Vt=new Intl.DateTimeFormat(this.locale,{...en,timeZone:"utc"});return this._format(Vt,It)}addCalendarYears(It,en){return this.addCalendarMonths(It,12*en)}addCalendarMonths(It,en){let Vt=this._createDateWithOverflow(this.getYear(It),this.getMonth(It)+en,this.getDate(It));return this.getMonth(Vt)!=((this.getMonth(It)+en)%12+12)%12&&(Vt=this._createDateWithOverflow(this.getYear(Vt),this.getMonth(Vt),0)),Vt}addCalendarDays(It,en){return this._createDateWithOverflow(this.getYear(It),this.getMonth(It),this.getDate(It)+en)}toIso8601(It){return[It.getUTCFullYear(),this._2digit(It.getUTCMonth()+1),this._2digit(It.getUTCDate())].join("-")}deserialize(It){if("string"==typeof It){if(!It)return null;if(Je.test(It)){let en=new Date(It);if(this.isValid(en))return en}}return super.deserialize(It)}isDateInstance(It){return It instanceof Date}isValid(It){return!isNaN(It.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(It,en,Vt){const We=new Date;return We.setFullYear(It,en,Vt),We.setHours(0,0,0,0),We}_2digit(It){return("00"+It).slice(-2)}_format(It,en){const Vt=new Date;return Vt.setUTCFullYear(en.getFullYear(),en.getMonth(),en.getDate()),Vt.setUTCHours(en.getHours(),en.getMinutes(),en.getSeconds(),en.getMilliseconds()),It.format(Vt)}}return Ft.\u0275fac=function(It){return new(It||Ft)(s.CoB(_t,8),s.CoB(i.WU))},Ft.\u0275prov=s.wxM({token:Ft,factory:Ft.\u0275fac}),Ft})();const L={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let H=(()=>{class Ft{}return Ft.\u0275fac=function(It){return new(It||Ft)},Ft.\u0275mod=s.a4G({type:Ft}),Ft.\u0275inj=s.s3X({providers:[{provide:Gt,useClass:Ae}]}),Ft})(),de=(()=>{class Ft{}return Ft.\u0275fac=function(It){return new(It||Ft)},Ft.\u0275mod=s.a4G({type:Ft}),Ft.\u0275inj=s.s3X({providers:[{provide:qe,useValue:L}],imports:[H]}),Ft})(),je=(()=>{class Ft{isErrorState(It,en){return!!(It&&It.invalid&&(It.touched||en&&en.submitted))}}return Ft.\u0275fac=function(It){return new(It||Ft)},Ft.\u0275prov=s.wxM({token:Ft,factory:Ft.\u0275fac,providedIn:"root"}),Ft})(),dt=(()=>{class Ft{}return Ft.\u0275fac=function(It){return new(It||Ft)},Ft.\u0275dir=s.Sc5({type:Ft,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),Ft})();function Et(Ft,Nt,It="mat"){Ft.changes.pipe((0,B.W)(Ft)).subscribe(({length:en})=>{Ye(Nt,`${It}-2-line`,!1),Ye(Nt,`${It}-3-line`,!1),Ye(Nt,`${It}-multi-line`,!1),2===en||3===en?Ye(Nt,`${It}-${en}-line`,!0):en>3&&Ye(Nt,`${It}-multi-line`,!0)})}function Ye(Ft,Nt,It){Ft.nativeElement.classList.toggle(Nt,It)}let Xe=(()=>{class Ft{}return Ft.\u0275fac=function(It){return new(It||Ft)},Ft.\u0275mod=s.a4G({type:Ft}),Ft.\u0275inj=s.s3X({imports:[ye,ye]}),Ft})();class z{constructor(Nt,It,en,Vt=!1){this._renderer=Nt,this.element=It,this.config=en,this._animationForciblyDisabledThroughCss=Vt,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const xe={enterDuration:225,exitDuration:150},Kt=(0,i.W4)({passive:!0}),gt=["mousedown","touchstart"],vt=["mouseup","mouseleave","touchend","touchcancel"];class Ot{constructor(Nt,It,en,Vt){this._target=Nt,this._ngZone=It,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,Vt.isBrowser&&(this._containerElement=(0,y.mk)(en))}fadeInRipple(Nt,It,en={}){const Vt=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),We={...xe,...en.animation};en.centered&&(Nt=Vt.left+Vt.width/2,It=Vt.top+Vt.height/2);const De=en.radius||function Ke(Ft,Nt,It){const en=Math.max(Math.abs(Ft-It.left),Math.abs(Ft-It.right)),Vt=Math.max(Math.abs(Nt-It.top),Math.abs(Nt-It.bottom));return Math.sqrt(en*en+Vt*Vt)}(Nt,It,Vt),fe=Nt-Vt.left,F=It-Vt.top,Ce=We.enterDuration,Te=document.createElement("div");Te.classList.add("mat-ripple-element"),Te.style.left=fe-De+"px",Te.style.top=F-De+"px",Te.style.height=2*De+"px",Te.style.width=2*De+"px",null!=en.color&&(Te.style.backgroundColor=en.color),Te.style.transitionDuration=`${Ce}ms`,this._containerElement.appendChild(Te);const at=window.getComputedStyle(Te),it=at.transitionDuration,bt="none"===at.transitionProperty||"0s"===it||"0s, 0s"===it,jt=new z(this,Te,en,bt);Te.style.transform="scale3d(1, 1, 1)",jt.state=0,en.persistent||(this._mostRecentTransientRipple=jt);let mn=null;return!bt&&(Ce||We.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Cn=()=>this._finishRippleTransition(jt),xn=()=>this._destroyRipple(jt);Te.addEventListener("transitionend",Cn),Te.addEventListener("transitioncancel",xn),mn={onTransitionEnd:Cn,onTransitionCancel:xn}}),this._activeRipples.set(jt,mn),(bt||!Ce)&&this._finishRippleTransition(jt),jt}fadeOutRipple(Nt){if(2===Nt.state||3===Nt.state)return;const It=Nt.element,en={...xe,...Nt.config.animation};It.style.transitionDuration=`${en.exitDuration}ms`,It.style.opacity="0",Nt.state=2,(Nt._animationForciblyDisabledThroughCss||!en.exitDuration)&&this._finishRippleTransition(Nt)}fadeOutAll(){this._getActiveRipples().forEach(Nt=>Nt.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(Nt=>{Nt.config.persistent||Nt.fadeOut()})}setupTriggerEvents(Nt){const It=(0,y.mk)(Nt);!It||It===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=It,this._registerEvents(gt))}handleEvent(Nt){"mousedown"===Nt.type?this._onMousedown(Nt):"touchstart"===Nt.type?this._onTouchStart(Nt):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(vt),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(Nt){0===Nt.state?this._startFadeOutTransition(Nt):2===Nt.state&&this._destroyRipple(Nt)}_startFadeOutTransition(Nt){const It=Nt===this._mostRecentTransientRipple,{persistent:en}=Nt.config;Nt.state=1,!en&&(!It||!this._isPointerDown)&&Nt.fadeOut()}_destroyRipple(Nt){const It=this._activeRipples.get(Nt)??null;this._activeRipples.delete(Nt),this._activeRipples.size||(this._containerRect=null),Nt===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),Nt.state=3,null!==It&&(Nt.element.removeEventListener("transitionend",It.onTransitionEnd),Nt.element.removeEventListener("transitioncancel",It.onTransitionCancel)),Nt.element.remove()}_onMousedown(Nt){const It=(0,d.G3)(Nt),en=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!It&&!en&&(this._isPointerDown=!0,this.fadeInRipple(Nt.clientX,Nt.clientY,this._target.rippleConfig))}_onTouchStart(Nt){if(!this._target.rippleDisabled&&!(0,d.q0)(Nt)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const It=Nt.changedTouches;for(let en=0;en<It.length;en++)this.fadeInRipple(It[en].clientX,It[en].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(Nt=>{!Nt.config.persistent&&(1===Nt.state||Nt.config.terminateOnPointerUp&&0===Nt.state)&&Nt.fadeOut()}))}_registerEvents(Nt){this._ngZone.runOutsideAngular(()=>{Nt.forEach(It=>{this._triggerElement.addEventListener(It,this,Kt)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(gt.forEach(Nt=>{this._triggerElement.removeEventListener(Nt,this,Kt)}),this._pointerUpEventsRegistered&&vt.forEach(Nt=>{this._triggerElement.removeEventListener(Nt,this,Kt)}))}}const Ne=new s.UbH("mat-ripple-global-options");let He=(()=>{class Ft{constructor(It,en,Vt,We,De){this._elementRef=It,this._animationMode=De,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=We||{},this._rippleRenderer=new Ot(this,en,It,Vt)}get disabled(){return this._disabled}set disabled(It){It&&this.fadeOutAllNonPersistent(),this._disabled=It,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(It){this._trigger=It,this._setupTriggerEventsIfEnabled()}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:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{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(It,en=0,Vt){return"number"==typeof It?this._rippleRenderer.fadeInRipple(It,en,{...this.rippleConfig,...Vt}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...It})}}return Ft.\u0275fac=function(It){return new(It||Ft)(s.GI1(s.GMv),s.GI1(s.WW2),s.GI1(i.WU),s.GI1(Ne,8),s.GI1(s.qwP,8))},Ft.\u0275dir=s.Sc5({type:Ft,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(It,en){2&It&&s.eAK("mat-ripple-unbounded",en.unbounded)},inputs:{color:[s.Wk5.None,"matRippleColor","color"],unbounded:[s.Wk5.None,"matRippleUnbounded","unbounded"],centered:[s.Wk5.None,"matRippleCentered","centered"],radius:[s.Wk5.None,"matRippleRadius","radius"],animation:[s.Wk5.None,"matRippleAnimation","animation"],disabled:[s.Wk5.None,"matRippleDisabled","disabled"],trigger:[s.Wk5.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"]}),Ft})(),Me=(()=>{class Ft{}return Ft.\u0275fac=function(It){return new(It||Ft)},Ft.\u0275mod=s.a4G({type:Ft}),Ft.\u0275inj=s.s3X({imports:[ye,ye]}),Ft})(),st=(()=>{class Ft{constructor(It){this._animationMode=It,this.state="unchecked",this.disabled=!1}}return Ft.\u0275fac=function(It){return new(It||Ft)(s.GI1(s.qwP,8))},Ft.\u0275cmp=s.In1({type:Ft,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(It,en){2&It&&s.eAK("mat-pseudo-checkbox-indeterminate","indeterminate"===en.state)("mat-pseudo-checkbox-checked","checked"===en.state)("mat-pseudo-checkbox-disabled",en.disabled)("_mat-animation-noopable","NoopAnimations"===en._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(It,en){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;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-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.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{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}'],encapsulation:2,changeDetection:0}),Ft})(),re=(()=>{class Ft{}return Ft.\u0275fac=function(It){return new(It||Ft)},Ft.\u0275mod=s.a4G({type:Ft}),Ft.\u0275inj=s.s3X({imports:[ye]}),Ft})();const Re=new s.UbH("MAT_OPTION_PARENT_COMPONENT"),zt=new s.UbH("MatOptgroup");let Un=0;class jn{constructor(Nt,It=!1){this.source=Nt,this.isUserInput=It}}let dn=(()=>{class Ft{constructor(It,en,Vt,We){this._element=It,this._changeDetectorRef=en,this._parent=Vt,this.group=We,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Un++,this.onSelectionChange=new s._w7,this._stateChanges=new I.E}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(It){this._disabled=(0,y.W6)(It)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(It,en){const Vt=this._getHostElement();"function"==typeof Vt.focus&&Vt.focus(en)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(It){(It.keyCode===K.wJ||It.keyCode===K.Gi)&&!(0,K.Yp)(It)&&(this._selectViaInteraction(),It.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const It=this.viewValue;It!==this._mostRecentViewValue&&(this._mostRecentViewValue=It,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(It=!1){this.onSelectionChange.emit(new jn(this,It))}}return Ft.\u0275fac=function(It){s.KEo()},Ft.\u0275dir=s.Sc5({type:Ft,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),Ft})(),kn=(()=>{class Ft extends dn{constructor(It,en,Vt,We){super(It,en,Vt,We)}}return Ft.\u0275fac=function(It){return new(It||Ft)(s.GI1(s.GMv),s.GI1(s.kD9),s.GI1(Re,8),s.GI1(zt,8))},Ft.\u0275cmp=s.In1({type:Ft,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(It,en){1&It&&s.qCj("click",function(){return en._selectViaInteraction()})("keydown",function(We){return en._handleKeydown(We)}),2&It&&(s.SoX("id",en.id),s.e48("tabindex",en._getTabIndex())("aria-selected",en._getAriaSelected())("aria-disabled",en.disabled.toString()),s.eAK("mat-selected",en.selected)("mat-option-multiple",en.multiple)("mat-active",en.active)("mat-option-disabled",en.disabled))},exportAs:["matOption"],features:[s.eg9],ngContentSelectors:Z,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(It,en){1&It&&(s.kPM(),s.yuY(0,Ge,1,2,"mat-pseudo-checkbox",0),s.I0R(1,"span",1),s._Xx(2),s.C$Y(),s.yuY(3,ae,2,1,"span",2),s.wR5(4,"div",3)),2&It&&(s.E7m("ngIf",en.multiple),s.yG2(3),s.E7m("ngIf",en.group&&en.group._inert),s.yG2(),s.E7m("matRippleTrigger",en._getHostElement())("matRippleDisabled",en.disabled||en.disableRipple))},dependencies:[He,l.u_,st],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0}),Ft})();function Ln(Ft,Nt,It){if(It.length){let en=Nt.toArray(),Vt=It.toArray(),We=0;for(let De=0;De<Ft+1;De++)en[De].group&&en[De].group===Vt[We]&&We++;return We}return 0}function Bn(Ft,Nt,It,en){return Ft<It?Ft:Ft+Nt>It+en?Math.max(0,Ft-en+Nt):It}let ti=(()=>{class Ft{}return Ft.\u0275fac=function(It){return new(It||Ft)},Ft.\u0275mod=s.a4G({type:Ft}),Ft.\u0275inj=s.s3X({imports:[Me,l.MD,ye,re]}),Ft})()},2552:(lt,me,u)=>{"use strict";u.d(me,{WQ:()=>qe,Yp:()=>ce,iU:()=>Je,qW:()=>_t,qq:()=>Gt,sR:()=>g,sr:()=>L,yI:()=>ye});var s=u(6696),d=u(68),o=u(107),f=u(2116),l=u(9544),i=u(1368),y=u(5657),_=u(3412),I=u(1424),B=u(6684),K=u(3992),ie=u(5568),oe=u(9684),Ge=u(4723),ae=u(7800);function Z(H,de){}const _e={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},j={dialogContainer:(0,oe.gV)("dialogContainer",[(0,oe.K2)("void, exit",(0,oe.wb)({opacity:0,transform:"scale(0.7)"})),(0,oe.K2)("enter",(0,oe.wb)({transform:"none"})),(0,oe.aK)("* => enter",(0,oe.yA)([(0,oe.Cs)("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",(0,oe.wb)({transform:"none",opacity:1})),(0,oe.kt)("@*",(0,oe.Ql)(),{optional:!0})]),_e),(0,oe.aK)("* => void, * => exit",(0,oe.yA)([(0,oe.Cs)("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",(0,oe.wb)({opacity:0})),(0,oe.kt)("@*",(0,oe.Ql)(),{optional:!0})]),_e)])};class ke{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0,this.enterAnimationDuration=_e.params.enterAnimationDuration,this.exitAnimationDuration=_e.params.exitAnimationDuration}}let rt=(()=>{class H extends s.sv{constructor($e,je,dt,Et,Ye,Xe,z,xe){super($e,je,dt,Et,Ye,Xe,z,xe),this._animationStateChanged=new f._w7}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone($e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:$e})}}return H.\u0275fac=function($e){return new($e||H)(f.GI1(f.GMv),f.GI1(Ge.G),f.GI1(i.Ud,8),f.GI1(ke),f.GI1(Ge.OE),f.GI1(f.WW2),f.GI1(d.aq),f.GI1(Ge.Kk))},H.\u0275cmp=f.In1({type:H,selectors:[["ng-component"]],features:[f.eg9],decls:0,vars:0,template:function($e,je){},encapsulation:2}),H})(),le=(()=>{class H extends rt{constructor($e,je,dt,Et,Ye,Xe,z,xe,Ct){super($e,je,dt,Et,Ye,Xe,z,Ct),this._changeDetectorRef=xe,this._state="enter"}_onAnimationDone({toState:$e,totalTime:je}){"enter"===$e?this._openAnimationDone(je):"exit"===$e&&this._animationStateChanged.next({state:"closed",totalTime:je})}_onAnimationStart({toState:$e,totalTime:je}){"enter"===$e?this._animationStateChanged.next({state:"opening",totalTime:je}):("exit"===$e||"void"===$e)&&this._animationStateChanged.next({state:"closing",totalTime:je})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||_e.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||_e.params.exitAnimationDuration}}}}return H.\u0275fac=function($e){return new($e||H)(f.GI1(f.GMv),f.GI1(Ge.G),f.GI1(i.Ud,8),f.GI1(ke),f.GI1(Ge.OE),f.GI1(f.WW2),f.GI1(d.aq),f.GI1(f.kD9),f.GI1(Ge.Kk))},H.\u0275cmp=f.In1({type:H,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function($e,je){1&$e&&f.wcw("@dialogContainer.start",function(Et){return je._onAnimationStart(Et)})("@dialogContainer.done",function(Et){return je._onAnimationDone(Et)}),2&$e&&(f.SoX("id",je._config.id),f.e48("aria-modal",je._config.ariaModal)("role",je._config.role)("aria-labelledby",je._config.ariaLabel?null:je._ariaLabelledBy)("aria-label",je._config.ariaLabel)("aria-describedby",je._config.ariaDescribedBy||null),f.Swe("@dialogContainer",je._getAnimationState()))},features:[f.eg9],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function($e,je){1&$e&&f.yuY(0,Z,0,0,"ng-template",0)},dependencies:[o.IP],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[j.dialogContainer]}}),H})();class ye{constructor(de,$e,je){this._ref=de,this._containerInstance=je,this._afterOpened=new y.E,this._beforeClosed=new y.E,this._state=0,this.disableClose=$e.disableClose,this.id=de.id,je._animationStateChanged.pipe((0,B.I)(dt=>"opened"===dt.state),(0,K.U)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),je._animationStateChanged.pipe((0,B.I)(dt=>"closed"===dt.state),(0,K.U)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),de.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,_.U)(this.backdropClick(),this.keydownEvents().pipe((0,B.I)(dt=>dt.keyCode===ae.UX&&!this.disableClose&&!(0,ae.Yp)(dt)))).subscribe(dt=>{this.disableClose||(dt.preventDefault(),Y(this,"keydown"===dt.type?"keyboard":"mouse"))})}close(de){this._result=de,this._containerInstance._animationStateChanged.pipe((0,B.I)($e=>"closing"===$e.state),(0,K.U)(1)).subscribe($e=>{this._beforeClosed.next(de),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),$e.totalTime+100)}),this._state=1,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(de){let $e=this._ref.config.positionStrategy;return de&&(de.left||de.right)?de.left?$e.left(de.left):$e.right(de.right):$e.centerHorizontally(),de&&(de.top||de.bottom)?de.top?$e.top(de.top):$e.bottom(de.bottom):$e.centerVertically(),this._ref.updatePosition(),this}updateSize(de="",$e=""){return this._ref.updateSize(de,$e),this}addPanelClass(de){return this._ref.addPanelClass(de),this}removePanelClass(de){return this._ref.removePanelClass(de),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function Y(H,de,$e){return H._closeInteractionType=de,H.close($e)}const g=new f.UbH("MatDialogData"),X=new f.UbH("mat-dialog-default-options"),V=new f.UbH("mat-dialog-scroll-strategy"),Fe={provide:V,deps:[d.mc],useFactory:function be(H){return()=>H.scrollStrategies.block()}};let Se=0,ot=(()=>{class H{constructor($e,je,dt,Et,Ye,Xe,z,xe,Ct,Kt){this._overlay=$e,this._defaultOptions=dt,this._parentDialog=Et,this._dialogRefConstructor=z,this._dialogContainerType=xe,this._dialogDataToken=Ct,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new y.E,this._afterOpenedAtThisLevel=new y.E,this._idPrefix="mat-dialog-",this.afterAllClosed=(0,I.Q)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,ie.W)(void 0))),this._scrollStrategy=Xe,this._dialog=je.get(s.Cn)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const $e=this._parentDialog;return $e?$e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open($e,je){let dt;(je={...this._defaultOptions||new ke,...je}).id=je.id||`${this._idPrefix}${Se++}`,je.scrollStrategy=je.scrollStrategy||this._scrollStrategy();const Et=this._dialog.open($e,{...je,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:ke,useValue:je},{provide:s.eS,useValue:je}]},templateContext:()=>({dialogRef:dt}),providers:(Ye,Xe,z)=>(dt=new this._dialogRefConstructor(Ye,je,z),dt.updatePosition(je?.position),[{provide:this._dialogContainerType,useValue:z},{provide:this._dialogDataToken,useValue:Xe.data},{provide:this._dialogRefConstructor,useValue:dt}])});return dt.componentInstance=Et.componentInstance,this.openDialogs.push(dt),this.afterOpened.next(dt),dt.afterClosed().subscribe(()=>{const Ye=this.openDialogs.indexOf(dt);Ye>-1&&(this.openDialogs.splice(Ye,1),this.openDialogs.length||this._getAfterAllClosed().next())}),dt}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById($e){return this.openDialogs.find(je=>je.id===$e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs($e){let je=$e.length;for(;je--;)$e[je].close()}}return H.\u0275fac=function($e){f.KEo()},H.\u0275prov=f.wxM({token:H,factory:H.\u0275fac}),H})(),_t=(()=>{class H extends ot{constructor($e,je,dt,Et,Ye,Xe,z,xe){super($e,je,Et,Xe,z,Ye,ye,le,g,xe)}}return H.\u0275fac=function($e){return new($e||H)(f.CoB(d.mc),f.CoB(f.zZn),f.CoB(i.oB,8),f.CoB(X,8),f.CoB(V),f.CoB(H,12),f.CoB(d.Y),f.CoB(f.qwP,8))},H.\u0275prov=f.wxM({token:H,factory:H.\u0275fac}),H})(),pt=0,Gt=(()=>{class H{constructor($e,je,dt){this.dialogRef=$e,this._elementRef=je,this._dialog=dt,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Ae(this._elementRef,this._dialog.openDialogs))}ngOnChanges($e){const je=$e._matDialogClose||$e._matDialogCloseResult;je&&(this.dialogResult=je.currentValue)}_onButtonClick($e){Y(this.dialogRef,0===$e.screenX&&0===$e.screenY?"keyboard":"mouse",this.dialogResult)}}return H.\u0275fac=function($e){return new($e||H)(f.GI1(ye,8),f.GI1(f.GMv),f.GI1(_t))},H.\u0275dir=f.Sc5({type:H,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function($e,je){1&$e&&f.qCj("click",function(Et){return je._onButtonClick(Et)}),2&$e&&f.e48("aria-label",je.ariaLabel||null)("type",je.type)},inputs:{ariaLabel:[f.Wk5.None,"aria-label","ariaLabel"],type:"type",dialogResult:[f.Wk5.None,"mat-dialog-close","dialogResult"],_matDialogClose:[f.Wk5.None,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[f.SYr]}),H})(),qe=(()=>{class H{constructor($e,je,dt){this._dialogRef=$e,this._elementRef=je,this._dialog=dt,this.id="mat-dialog-title-"+pt++}ngOnInit(){this._dialogRef||(this._dialogRef=Ae(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const $e=this._dialogRef._containerInstance;$e&&!$e._ariaLabelledBy&&($e._ariaLabelledBy=this.id)})}}return H.\u0275fac=function($e){return new($e||H)(f.GI1(ye,8),f.GI1(f.GMv),f.GI1(_t))},H.\u0275dir=f.Sc5({type:H,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function($e,je){2&$e&&f.SoX("id",je.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),H})(),Je=(()=>{class H{}return H.\u0275fac=function($e){return new($e||H)},H.\u0275dir=f.Sc5({type:H,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),H})(),ce=(()=>{class H{constructor(){this.align="start"}}return H.\u0275fac=function($e){return new($e||H)},H.\u0275dir=f.Sc5({type:H,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function($e,je){2&$e&&f.eAK("mat-dialog-actions-align-center","center"===je.align)("mat-dialog-actions-align-end","end"===je.align)},inputs:{align:"align"}}),H})();function Ae(H,de){let $e=H.nativeElement.parentElement;for(;$e&&!$e.classList.contains("mat-dialog-container");)$e=$e.parentElement;return $e?de.find(je=>je.id===$e.id):null}let L=(()=>{class H{}return H.\u0275fac=function($e){return new($e||H)},H.\u0275mod=f.a4G({type:H}),H.\u0275inj=f.s3X({providers:[_t,Fe],imports:[s.kX,d.Y1,o.g$,l.AN,l.AN]}),H})()},7012:(lt,me,u)=>{"use strict";u.d(me,{U:()=>l,k:()=>f});var s=u(2116),d=u(7712),o=u(9544);let f=(()=>{class i{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(_){this._vertical=(0,d.W6)(_)}get inset(){return this._inset}set inset(_){this._inset=(0,d.W6)(_)}}return i.\u0275fac=function(_){return new(_||i)},i.\u0275cmp=s.In1({type:i,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(_,I){2&_&&(s.e48("aria-orientation",I.vertical?"vertical":"horizontal"),s.eAK("mat-divider-vertical",I.vertical)("mat-divider-horizontal",!I.vertical)("mat-divider-inset",I.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(_,I){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0}),i})(),l=(()=>{class i{}return i.\u0275fac=function(_){return new(_||i)},i.\u0275mod=s.a4G({type:i}),i.\u0275inj=s.s3X({imports:[o.AN,o.AN]}),i})()},3040:(lt,me,u)=>{"use strict";u.d(me,{Gm:()=>Xe,MX:()=>de,Up:()=>Ot,Y$:()=>vt,u0:()=>qe,w5:()=>$e,wJ:()=>pt,wb:()=>Ke});var s=u(6640),d=u(1368),o=u(2116),f=u(9544),l=u(1900),i=u(7712),y=u(5657),_=u(3412),I=u(8420),B=u(5568),K=u(3616),ie=u(3992),oe=u(9684),Ge=u(5792);const ae=["connectionContainer"],Z=["inputContainer"],_e=["label"];function j(Ne,He){1&Ne&&(o.SAx(0),o.I0R(1,"div",14),o.wR5(2,"div",15)(3,"div",16)(4,"div",17),o.C$Y(),o.I0R(5,"div",18),o.wR5(6,"div",15)(7,"div",16)(8,"div",17),o.C$Y(),o.k70())}function ke(Ne,He){if(1&Ne){const Me=o.KQA();o.I0R(0,"div",19),o.qCj("cdkObserveContent",function(){o.usT(Me);const re=o.GaO();return o.CGJ(re.updateOutlineGap())}),o._Xx(1,1),o.C$Y()}if(2&Ne){const Me=o.GaO();o.E7m("cdkObserveContentDisabled","outline"!=Me.appearance)}}function rt(Ne,He){if(1&Ne&&(o.SAx(0),o._Xx(1,2),o.I0R(2,"span"),o.OEk(3),o.C$Y(),o.k70()),2&Ne){const Me=o.GaO(2);o.yG2(3),o.cNF(Me._control.placeholder)}}function le(Ne,He){1&Ne&&o._Xx(0,3,["*ngSwitchCase","true"])}function ye(Ne,He){1&Ne&&(o.I0R(0,"span",23),o.OEk(1," *"),o.C$Y())}function Y(Ne,He){if(1&Ne){const Me=o.KQA();o.I0R(0,"label",20,21),o.qCj("cdkObserveContent",function(){o.usT(Me);const re=o.GaO();return o.CGJ(re.updateOutlineGap())}),o.yuY(2,rt,4,1,"ng-container",12)(3,le,1,0,"ng-content",12)(4,ye,2,0,"span",22),o.C$Y()}if(2&Ne){const Me=o.GaO();o.eAK("mat-empty",Me._control.empty&&!Me._shouldAlwaysFloat())("mat-form-field-empty",Me._control.empty&&!Me._shouldAlwaysFloat())("mat-accent","accent"==Me.color)("mat-warn","warn"==Me.color),o.E7m("cdkObserveContentDisabled","outline"!=Me.appearance)("id",Me._labelId)("ngSwitch",Me._hasLabel()),o.e48("for",Me._control.id)("aria-owns",Me._control.id),o.yG2(2),o.E7m("ngSwitchCase",!1),o.yG2(),o.E7m("ngSwitchCase",!0),o.yG2(),o.E7m("ngIf",!Me.hideRequiredMarker&&Me._control.required&&!Me._control.disabled)}}function g(Ne,He){1&Ne&&(o.I0R(0,"div",24),o._Xx(1,4),o.C$Y())}function X(Ne,He){if(1&Ne&&(o.I0R(0,"div",25),o.wR5(1,"span",26),o.C$Y()),2&Ne){const Me=o.GaO();o.yG2(),o.eAK("mat-accent","accent"==Me.color)("mat-warn","warn"==Me.color)}}function V(Ne,He){if(1&Ne&&(o.I0R(0,"div"),o._Xx(1,5),o.C$Y()),2&Ne){const Me=o.GaO();o.E7m("@transitionMessages",Me._subscriptAnimationState)}}function te(Ne,He){if(1&Ne&&(o.I0R(0,"div",30),o.OEk(1),o.C$Y()),2&Ne){const Me=o.GaO(2);o.E7m("id",Me._hintLabelId),o.yG2(),o.cNF(Me.hintLabel)}}function be(Ne,He){if(1&Ne&&(o.I0R(0,"div",27),o.yuY(1,te,2,2,"div",28),o._Xx(2,6),o.wR5(3,"div",29),o._Xx(4,7),o.C$Y()),2&Ne){const Me=o.GaO();o.E7m("@transitionMessages",Me._subscriptAnimationState),o.yG2(),o.E7m("ngIf",Me.hintLabel)}}const Fe=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Se=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let ot=0;const _t=new o.UbH("MatError");let pt=(()=>{class Ne{constructor(Me,st){this.id="mat-error-"+ot++,Me||st.nativeElement.setAttribute("aria-live","polite")}}return Ne.\u0275fac=function(Me){return new(Me||Ne)(o.gJ8("aria-live"),o.GI1(o.GMv))},Ne.\u0275dir=o.Sc5({type:Ne,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(Me,st){2&Me&&o.e48("id",st.id)},inputs:{id:"id"},features:[o.M5G([{provide:_t,useExisting:Ne}])]}),Ne})();const Gt={transitionMessages:(0,oe.gV)("transitionMessages",[(0,oe.K2)("enter",(0,oe.wb)({opacity:1,transform:"translateY(0%)"})),(0,oe.aK)("void => enter",[(0,oe.wb)({opacity:0,transform:"translateY(-5px)"}),(0,oe.Cs)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let qe=(()=>{class Ne{}return Ne.\u0275fac=function(Me){return new(Me||Ne)},Ne.\u0275dir=o.Sc5({type:Ne}),Ne})(),L=0;const H=new o.UbH("MatHint");let de=(()=>{class Ne{constructor(){this.align="start",this.id="mat-hint-"+L++}}return Ne.\u0275fac=function(Me){return new(Me||Ne)},Ne.\u0275dir=o.Sc5({type:Ne,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(Me,st){2&Me&&(o.e48("id",st.id)("align",null),o.eAK("mat-form-field-hint-end","end"===st.align))},inputs:{align:"align",id:"id"},features:[o.M5G([{provide:H,useExisting:Ne}])]}),Ne})(),$e=(()=>{class Ne{}return Ne.\u0275fac=function(Me){return new(Me||Ne)},Ne.\u0275dir=o.Sc5({type:Ne,selectors:[["mat-label"]]}),Ne})(),je=(()=>{class Ne{}return Ne.\u0275fac=function(Me){return new(Me||Ne)},Ne.\u0275dir=o.Sc5({type:Ne,selectors:[["mat-placeholder"]]}),Ne})();const dt=new o.UbH("MatPrefix"),Ye=new o.UbH("MatSuffix");let Xe=(()=>{class Ne{}return Ne.\u0275fac=function(Me){return new(Me||Ne)},Ne.\u0275dir=o.Sc5({type:Ne,selectors:[["","matSuffix",""]],features:[o.M5G([{provide:Ye,useExisting:Ne}])]}),Ne})(),z=0;const Kt=(0,f.i)(class{constructor(Ne){this._elementRef=Ne}},"primary"),gt=new o.UbH("MAT_FORM_FIELD_DEFAULT_OPTIONS"),vt=new o.UbH("MatFormField");let Ot=(()=>{class Ne extends Kt{constructor(Me,st,re,Re,pe,Mt,$t){super(Me),this._changeDetectorRef=st,this._dir=re,this._defaults=Re,this._platform=pe,this._ngZone=Mt,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new y.E,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+z++,this._labelId="mat-form-field-label-"+z++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==$t,this.appearance=Re?.appearance||"legacy",Re&&(this._hideRequiredMarker=!!Re.hideRequiredMarker,Re.color&&(this.color=this.defaultColor=Re.color))}get appearance(){return this._appearance}set appearance(Me){const st=this._appearance;this._appearance=Me||this._defaults?.appearance||"legacy","outline"===this._appearance&&st!==Me&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Me){this._hideRequiredMarker=(0,i.W6)(Me)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(Me){this._hintLabel=Me,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(Me){Me!==this._floatLabel&&(this._floatLabel=Me||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(Me){this._explicitFormFieldControl=Me}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const Me=this._control;Me.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${Me.controlType}`),Me.stateChanges.pipe((0,B.W)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),Me.ngControl&&Me.ngControl.valueChanges&&Me.ngControl.valueChanges.pipe((0,K.a)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,K.a)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,_.U)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,B.W)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,B.W)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,K.a)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(Me){const st=this._control?this._control.ngControl:null;return st&&st[Me]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,I.w)(this._label.nativeElement,"transitionend").pipe((0,ie.U)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let Me=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&Me.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const st=this._hintChildren?this._hintChildren.find(Re=>"start"===Re.align):null,re=this._hintChildren?this._hintChildren.find(Re=>"end"===Re.align):null;st?Me.push(st.id):this._hintLabel&&Me.push(this._hintLabelId),re&&Me.push(re.id)}else this._errorChildren&&Me.push(...this._errorChildren.map(st=>st.id));this._control.setDescribedByIds(Me)}}_validateControlChild(){}updateOutlineGap(){const Me=this._label?this._label.nativeElement:null,st=this._connectionContainerRef.nativeElement,re=".mat-form-field-outline-start",Re=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!Me||!Me.children.length||!Me.textContent.trim()){const bn=st.querySelectorAll(`${re}, ${Re}`);for(let Un=0;Un<bn.length;Un++)bn[Un].style.width="0";return}if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let pe=0,Mt=0;const $t=st.querySelectorAll(re),zt=st.querySelectorAll(Re);if(this._label&&this._label.nativeElement.children.length){const bn=st.getBoundingClientRect();if(0===bn.width&&0===bn.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const Un=this._getStartEnd(bn),jn=Me.children,dn=this._getStartEnd(jn[0].getBoundingClientRect());let kn=0;for(let Ln=0;Ln<jn.length;Ln++)kn+=jn[Ln].offsetWidth;pe=Math.abs(dn-Un)-5,Mt=kn>0?.75*kn+10:0}for(let bn=0;bn<$t.length;bn++)$t[bn].style.width=`${pe}px`;for(let bn=0;bn<zt.length;bn++)zt[bn].style.width=`${Mt}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(Me){return this._dir&&"rtl"===this._dir.value?Me.right:Me.left}_isAttachedToDOM(){const Me=this._elementRef.nativeElement;if(Me.getRootNode){const st=Me.getRootNode();return st&&st!==Me}return document.documentElement.contains(Me)}}return Ne.\u0275fac=function(Me){return new(Me||Ne)(o.GI1(o.GMv),o.GI1(o.kD9),o.GI1(l.yG,8),o.GI1(gt,8),o.GI1(Ge.WU),o.GI1(o.WW2),o.GI1(o.qwP,8))},Ne.\u0275cmp=o.In1({type:Ne,selectors:[["mat-form-field"]],contentQueries:function(Me,st,re){if(1&Me&&(o.szK(re,qe,5),o.szK(re,qe,7),o.szK(re,$e,5),o.szK(re,$e,7),o.szK(re,je,5),o.szK(re,_t,5),o.szK(re,H,5),o.szK(re,dt,5),o.szK(re,Ye,5)),2&Me){let Re;o.wto(Re=o.Gqi())&&(st._controlNonStatic=Re.first),o.wto(Re=o.Gqi())&&(st._controlStatic=Re.first),o.wto(Re=o.Gqi())&&(st._labelChildNonStatic=Re.first),o.wto(Re=o.Gqi())&&(st._labelChildStatic=Re.first),o.wto(Re=o.Gqi())&&(st._placeholderChild=Re.first),o.wto(Re=o.Gqi())&&(st._errorChildren=Re),o.wto(Re=o.Gqi())&&(st._hintChildren=Re),o.wto(Re=o.Gqi())&&(st._prefixChildren=Re),o.wto(Re=o.Gqi())&&(st._suffixChildren=Re)}},viewQuery:function(Me,st){if(1&Me&&(o.CC$(ae,7),o.CC$(Z,5),o.CC$(_e,5)),2&Me){let re;o.wto(re=o.Gqi())&&(st._connectionContainerRef=re.first),o.wto(re=o.Gqi())&&(st._inputContainerRef=re.first),o.wto(re=o.Gqi())&&(st._label=re.first)}},hostAttrs:[1,"mat-form-field"],hostVars:40,hostBindings:function(Me,st){2&Me&&o.eAK("mat-form-field-appearance-standard","standard"==st.appearance)("mat-form-field-appearance-fill","fill"==st.appearance)("mat-form-field-appearance-outline","outline"==st.appearance)("mat-form-field-appearance-legacy","legacy"==st.appearance)("mat-form-field-invalid",st._control.errorState)("mat-form-field-can-float",st._canLabelFloat())("mat-form-field-should-float",st._shouldLabelFloat())("mat-form-field-has-label",st._hasFloatingLabel())("mat-form-field-hide-placeholder",st._hideControlPlaceholder())("mat-form-field-disabled",st._control.disabled)("mat-form-field-autofilled",st._control.autofilled)("mat-focused",st._control.focused)("ng-untouched",st._shouldForward("untouched"))("ng-touched",st._shouldForward("touched"))("ng-pristine",st._shouldForward("pristine"))("ng-dirty",st._shouldForward("dirty"))("ng-valid",st._shouldForward("valid"))("ng-invalid",st._shouldForward("invalid"))("ng-pending",st._shouldForward("pending"))("_mat-animation-noopable",!st._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[o.M5G([{provide:vt,useExisting:Ne}]),o.eg9],ngContentSelectors:Se,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(Me,st){1&Me&&(o.kPM(Fe),o.I0R(0,"div",0)(1,"div",1,2),o.qCj("click",function(Re){return st._control.onContainerClick&&st._control.onContainerClick(Re)}),o.yuY(3,j,9,0,"ng-container",3)(4,ke,2,1,"div",4),o.I0R(5,"div",5,6),o._Xx(7),o.I0R(8,"span",7),o.yuY(9,Y,5,16,"label",8),o.C$Y()(),o.yuY(10,g,2,0,"div",9),o.C$Y(),o.yuY(11,X,2,4,"div",10),o.I0R(12,"div",11),o.yuY(13,V,2,1,"div",12)(14,be,5,2,"div",13),o.C$Y()()),2&Me&&(o.yG2(3),o.E7m("ngIf","outline"==st.appearance),o.yG2(),o.E7m("ngIf",st._prefixChildren.length),o.yG2(5),o.E7m("ngIf",st._hasFloatingLabel()),o.yG2(),o.E7m("ngIf",st._suffixChildren.length),o.yG2(),o.E7m("ngIf","outline"!=st.appearance),o.yG2(),o.E7m("ngSwitch",st._getDisplayedMessages()),o.yG2(),o.E7m("ngSwitchCase","error"),o.yG2(),o.E7m("ngSwitchCase","hint"))},dependencies:[d.u_,d.Ko,d.Wm,s.Wk],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.cdk-high-contrast-active .mat-form-field-disabled .mat-form-field-label{color:GrayText}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}','.mat-input-element{font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-input-element::placeholder{transition:none}._mat-animation-noopable .mat-input-element::-moz-placeholder{transition:none}._mat-animation-noopable .mat-input-element::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-input-element:-ms-input-placeholder{transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-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;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px;border-top-color:GrayText}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:rgba(0,0,0,0)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:GrayText}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}"],encapsulation:2,data:{animation:[Gt.transitionMessages]},changeDetection:0}),Ne})(),Ke=(()=>{class Ne{}return Ne.\u0275fac=function(Me){return new(Me||Ne)},Ne.\u0275mod=o.a4G({type:Ne}),Ne.\u0275inj=o.s3X({imports:[d.MD,f.AN,s.IT,f.AN]}),Ne})()},5372:(lt,me,u)=>{"use strict";u.d(me,{oB:()=>H,qL:()=>L});var s=u(2116),d=u(9544),o=u(7712),f=u(1368),l=u(2700),i=u(3800),y=u(9336),_=u(6928),I=u(9212),B=u(4704),K=u(9144),ie=u(8824),oe=u(7648),Ge=u(3992),ae=u(7048),Z=u(4476);const _e=["*"];let j;function rt(de){return function ke(){if(void 0===j&&(j=null,typeof window<"u")){const de=window;void 0!==de.trustedTypes&&(j=de.trustedTypes.createPolicy("angular#components",{createHTML:$e=>$e}))}return j}()?.createHTML(de)||de}function le(de){return Error(`Unable to find icon with the name "${de}"`)}function Y(de){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${de}".`)}function g(de){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${de}".`)}class X{constructor($e,je,dt){this.url=$e,this.svgText=je,this.options=dt}}let V=(()=>{class de{constructor(je,dt,Et,Ye){this._httpClient=je,this._sanitizer=dt,this._errorHandler=Ye,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=Et}addSvgIcon(je,dt,Et){return this.addSvgIconInNamespace("",je,dt,Et)}addSvgIconLiteral(je,dt,Et){return this.addSvgIconLiteralInNamespace("",je,dt,Et)}addSvgIconInNamespace(je,dt,Et,Ye){return this._addSvgIconConfig(je,dt,new X(Et,null,Ye))}addSvgIconResolver(je){return this._resolvers.push(je),this}addSvgIconLiteralInNamespace(je,dt,Et,Ye){const Xe=this._sanitizer.sanitize(s.SI6.HTML,Et);if(!Xe)throw g(Et);const z=rt(Xe);return this._addSvgIconConfig(je,dt,new X("",z,Ye))}addSvgIconSet(je,dt){return this.addSvgIconSetInNamespace("",je,dt)}addSvgIconSetLiteral(je,dt){return this.addSvgIconSetLiteralInNamespace("",je,dt)}addSvgIconSetInNamespace(je,dt,Et){return this._addSvgIconSetConfig(je,new X(dt,null,Et))}addSvgIconSetLiteralInNamespace(je,dt,Et){const Ye=this._sanitizer.sanitize(s.SI6.HTML,dt);if(!Ye)throw g(dt);const Xe=rt(Ye);return this._addSvgIconSetConfig(je,new X("",Xe,Et))}registerFontClassAlias(je,dt=je){return this._fontCssClassesByAlias.set(je,dt),this}classNameForFontAlias(je){return this._fontCssClassesByAlias.get(je)||je}setDefaultFontSetClass(...je){return this._defaultFontSetClass=je,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(je){const dt=this._sanitizer.sanitize(s.SI6.RESOURCE_URL,je);if(!dt)throw Y(je);const Et=this._cachedIconsByUrl.get(dt);return Et?(0,l.of)(Fe(Et)):this._loadSvgIconFromConfig(new X(je,null)).pipe((0,I.y)(Ye=>this._cachedIconsByUrl.set(dt,Ye)),(0,B.k)(Ye=>Fe(Ye)))}getNamedSvgIcon(je,dt=""){const Et=Se(dt,je);let Ye=this._svgIconConfigs.get(Et);if(Ye)return this._getSvgFromConfig(Ye);if(Ye=this._getIconConfigFromResolvers(dt,je),Ye)return this._svgIconConfigs.set(Et,Ye),this._getSvgFromConfig(Ye);const Xe=this._iconSetConfigs.get(dt);return Xe?this._getSvgFromIconSetConfigs(je,Xe):(0,i.c)(le(Et))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(je){return je.svgText?(0,l.of)(Fe(this._svgElementFromConfig(je))):this._loadSvgIconFromConfig(je).pipe((0,B.k)(dt=>Fe(dt)))}_getSvgFromIconSetConfigs(je,dt){const Et=this._extractIconWithNameFromAnySet(je,dt);if(Et)return(0,l.of)(Et);const Ye=dt.filter(Xe=>!Xe.svgText).map(Xe=>this._loadSvgIconSetFromConfig(Xe).pipe((0,K.a)(z=>{const Ct=`Loading icon set URL: ${this._sanitizer.sanitize(s.SI6.RESOURCE_URL,Xe.url)} failed: ${z.message}`;return this._errorHandler.handleError(new Error(Ct)),(0,l.of)(null)})));return(0,y.y)(Ye).pipe((0,B.k)(()=>{const Xe=this._extractIconWithNameFromAnySet(je,dt);if(!Xe)throw le(je);return Xe}))}_extractIconWithNameFromAnySet(je,dt){for(let Et=dt.length-1;Et>=0;Et--){const Ye=dt[Et];if(Ye.svgText&&Ye.svgText.toString().indexOf(je)>-1){const Xe=this._svgElementFromConfig(Ye),z=this._extractSvgIconFromSet(Xe,je,Ye.options);if(z)return z}}return null}_loadSvgIconFromConfig(je){return this._fetchIcon(je).pipe((0,I.y)(dt=>je.svgText=dt),(0,B.k)(()=>this._svgElementFromConfig(je)))}_loadSvgIconSetFromConfig(je){return je.svgText?(0,l.of)(null):this._fetchIcon(je).pipe((0,I.y)(dt=>je.svgText=dt))}_extractSvgIconFromSet(je,dt,Et){const Ye=je.querySelector(`[id="${dt}"]`);if(!Ye)return null;const Xe=Ye.cloneNode(!0);if(Xe.removeAttribute("id"),"svg"===Xe.nodeName.toLowerCase())return this._setSvgAttributes(Xe,Et);if("symbol"===Xe.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Xe),Et);const z=this._svgElementFromString(rt("<svg></svg>"));return z.appendChild(Xe),this._setSvgAttributes(z,Et)}_svgElementFromString(je){const dt=this._document.createElement("DIV");dt.innerHTML=je;const Et=dt.querySelector("svg");if(!Et)throw Error("<svg> tag not found");return Et}_toSvgElement(je){const dt=this._svgElementFromString(rt("<svg></svg>")),Et=je.attributes;for(let Ye=0;Ye<Et.length;Ye++){const{name:Xe,value:z}=Et[Ye];"id"!==Xe&&dt.setAttribute(Xe,z)}for(let Ye=0;Ye<je.childNodes.length;Ye++)je.childNodes[Ye].nodeType===this._document.ELEMENT_NODE&&dt.appendChild(je.childNodes[Ye].cloneNode(!0));return dt}_setSvgAttributes(je,dt){return je.setAttribute("fit",""),je.setAttribute("height","100%"),je.setAttribute("width","100%"),je.setAttribute("preserveAspectRatio","xMidYMid meet"),je.setAttribute("focusable","false"),dt&&dt.viewBox&&je.setAttribute("viewBox",dt.viewBox),je}_fetchIcon(je){const{url:dt,options:Et}=je,Ye=Et?.withCredentials??!1;if(!this._httpClient)throw function ye(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==dt)throw Error(`Cannot fetch icon from URL "${dt}".`);const Xe=this._sanitizer.sanitize(s.SI6.RESOURCE_URL,dt);if(!Xe)throw Y(dt);const z=this._inProgressUrlFetches.get(Xe);if(z)return z;const xe=this._httpClient.get(Xe,{responseType:"text",withCredentials:Ye}).pipe((0,B.k)(Ct=>rt(Ct)),(0,ie.U)(()=>this._inProgressUrlFetches.delete(Xe)),(0,oe.o)());return this._inProgressUrlFetches.set(Xe,xe),xe}_addSvgIconConfig(je,dt,Et){return this._svgIconConfigs.set(Se(je,dt),Et),this}_addSvgIconSetConfig(je,dt){const Et=this._iconSetConfigs.get(je);return Et?Et.push(dt):this._iconSetConfigs.set(je,[dt]),this}_svgElementFromConfig(je){if(!je.svgElement){const dt=this._svgElementFromString(je.svgText);this._setSvgAttributes(dt,je.options),je.svgElement=dt}return je.svgElement}_getIconConfigFromResolvers(je,dt){for(let Et=0;Et<this._resolvers.length;Et++){const Ye=this._resolvers[Et](dt,je);if(Ye)return ot(Ye)?new X(Ye.url,null,Ye.options):new X(Ye,null)}}}return de.\u0275fac=function(je){return new(je||de)(s.CoB(ae.KK,8),s.CoB(Z.mI),s.CoB(f.Ud,8),s.CoB(s.eAe))},de.\u0275prov=s.wxM({token:de,factory:de.\u0275fac,providedIn:"root"}),de})();function Fe(de){return de.cloneNode(!0)}function Se(de,$e){return de+":"+$e}function ot(de){return!(!de.url||!de.options)}const _t=(0,d.i)(class{constructor(de){this._elementRef=de}}),pt=new s.UbH("MAT_ICON_DEFAULT_OPTIONS"),Gt=new s.UbH("mat-icon-location",{providedIn:"root",factory:function qe(){const de=(0,s.uUt)(f.Ud),$e=de?de.location:null;return{getPathname:()=>$e?$e.pathname+$e.search:""}}}),Je=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],ce=Je.map(de=>`[${de}]`).join(", "),Ae=/^url\(['"]?#(.*?)['"]?\)$/;let L=(()=>{class de extends _t{constructor(je,dt,Et,Ye,Xe,z){super(je),this._iconRegistry=dt,this._location=Ye,this._errorHandler=Xe,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=_.wH.EMPTY,z&&(z.color&&(this.color=this.defaultColor=z.color),z.fontSet&&(this.fontSet=z.fontSet)),Et||je.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(je){this._inline=(0,o.W6)(je)}get svgIcon(){return this._svgIcon}set svgIcon(je){je!==this._svgIcon&&(je?this._updateSvgIcon(je):this._svgIcon&&this._clearSvgElement(),this._svgIcon=je)}get fontSet(){return this._fontSet}set fontSet(je){const dt=this._cleanupFontValue(je);dt!==this._fontSet&&(this._fontSet=dt,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(je){const dt=this._cleanupFontValue(je);dt!==this._fontIcon&&(this._fontIcon=dt,this._updateFontIconClasses())}_splitIconName(je){if(!je)return["",""];const dt=je.split(":");switch(dt.length){case 1:return["",dt[0]];case 2:return dt;default:throw Error(`Invalid icon name: "${je}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const je=this._elementsWithExternalReferences;if(je&&je.size){const dt=this._location.getPathname();dt!==this._previousPath&&(this._previousPath=dt,this._prependPathToReferences(dt))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(je){this._clearSvgElement();const dt=this._location.getPathname();this._previousPath=dt,this._cacheChildrenWithExternalReferences(je),this._prependPathToReferences(dt),this._elementRef.nativeElement.appendChild(je)}_clearSvgElement(){const je=this._elementRef.nativeElement;let dt=je.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();dt--;){const Et=je.childNodes[dt];(1!==Et.nodeType||"svg"===Et.nodeName.toLowerCase())&&Et.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const je=this._elementRef.nativeElement,dt=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Et=>Et.length>0);this._previousFontSetClass.forEach(Et=>je.classList.remove(Et)),dt.forEach(Et=>je.classList.add(Et)),this._previousFontSetClass=dt,this.fontIcon!==this._previousFontIconClass&&!dt.includes("mat-ligature-font")&&(this._previousFontIconClass&&je.classList.remove(this._previousFontIconClass),this.fontIcon&&je.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(je){return"string"==typeof je?je.trim().split(" ")[0]:je}_prependPathToReferences(je){const dt=this._elementsWithExternalReferences;dt&&dt.forEach((Et,Ye)=>{Et.forEach(Xe=>{Ye.setAttribute(Xe.name,`url('${je}#${Xe.value}')`)})})}_cacheChildrenWithExternalReferences(je){const dt=je.querySelectorAll(ce),Et=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Ye=0;Ye<dt.length;Ye++)Je.forEach(Xe=>{const z=dt[Ye],xe=z.getAttribute(Xe),Ct=xe?xe.match(Ae):null;if(Ct){let Kt=Et.get(z);Kt||(Kt=[],Et.set(z,Kt)),Kt.push({name:Xe,value:Ct[1]})}})}_updateSvgIcon(je){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),je){const[dt,Et]=this._splitIconName(je);dt&&(this._svgNamespace=dt),Et&&(this._svgName=Et),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Et,dt).pipe((0,Ge.U)(1)).subscribe(Ye=>this._setSvgElement(Ye),Ye=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${dt}:${Et}! ${Ye.message}`))})}}}return de.\u0275fac=function(je){return new(je||de)(s.GI1(s.GMv),s.GI1(V),s.gJ8("aria-hidden"),s.GI1(Gt),s.GI1(s.eAe),s.GI1(pt,8))},de.\u0275cmp=s.In1({type:de,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(je,dt){2&je&&(s.e48("data-mat-icon-type",dt._usingFontIcon()?"font":"svg")("data-mat-icon-name",dt._svgName||dt.fontIcon)("data-mat-icon-namespace",dt._svgNamespace||dt.fontSet)("fontIcon",dt._usingFontIcon()?dt.fontIcon:null),s.eAK("mat-icon-inline",dt.inline)("mat-icon-no-color","primary"!==dt.color&&"accent"!==dt.color&&"warn"!==dt.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[s.eg9],ngContentSelectors:_e,decls:1,vars:0,template:function(je,dt){1&je&&(s.kPM(),s._Xx(0))},styles:[".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}),de})(),H=(()=>{class de{}return de.\u0275fac=function(je){return new(je||de)},de.\u0275mod=s.a4G({type:de}),de.\u0275inj=s.s3X({imports:[d.AN,d.AN]}),de})()},4728:(lt,me,u)=>{"use strict";u.d(me,{yi:()=>ke,cN:()=>rt});var s=u(7712),d=u(5792),o=u(2116),f=u(8960),l=u(5657);const i=(0,d.W4)({passive:!0});let y=(()=>{class le{constructor(Y,g){this._platform=Y,this._ngZone=g,this._monitoredElements=new Map}monitor(Y){if(!this._platform.isBrowser)return f.k;const g=(0,s.mk)(Y),X=this._monitoredElements.get(g);if(X)return X.subject;const V=new l.E,te="cdk-text-field-autofilled",be=Fe=>{"cdk-text-field-autofill-start"!==Fe.animationName||g.classList.contains(te)?"cdk-text-field-autofill-end"===Fe.animationName&&g.classList.contains(te)&&(g.classList.remove(te),this._ngZone.run(()=>V.next({target:Fe.target,isAutofilled:!1}))):(g.classList.add(te),this._ngZone.run(()=>V.next({target:Fe.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{g.addEventListener("animationstart",be,i),g.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(g,{subject:V,unlisten:()=>{g.removeEventListener("animationstart",be,i)}}),V}stopMonitoring(Y){const g=(0,s.mk)(Y),X=this._monitoredElements.get(g);X&&(X.unlisten(),X.subject.complete(),g.classList.remove("cdk-text-field-autofill-monitored"),g.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(g))}ngOnDestroy(){this._monitoredElements.forEach((Y,g)=>this.stopMonitoring(g))}static#e=this.\u0275fac=function(g){return new(g||le)(o.CoB(d.WU),o.CoB(o.WW2))};static#t=this.\u0275prov=o.wxM({token:le,factory:le.\u0275fac,providedIn:"root"})}return le})(),B=(()=>{class le{static#e=this.\u0275fac=function(g){return new(g||le)};static#t=this.\u0275mod=o.a4G({type:le});static#n=this.\u0275inj=o.s3X({})}return le})();var K=u(6504),ie=u(9544),oe=u(3040);const ae=new o.UbH("MAT_INPUT_VALUE_ACCESSOR"),Z=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let _e=0;const j=(0,ie.Sk)(class{constructor(le,ye,Y,g){this._defaultErrorStateMatcher=le,this._parentForm=ye,this._parentFormGroup=Y,this.ngControl=g,this.stateChanges=new l.E}});let ke=(()=>{class le extends j{constructor(Y,g,X,V,te,be,Fe,Se,ot,_t){super(be,V,te,X),this._elementRef=Y,this._platform=g,this._autofillMonitor=Se,this._formField=_t,this._uid="mat-input-"+_e++,this.focused=!1,this.stateChanges=new l.E,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(qe=>(0,d.mU)().has(qe)),this._iOSKeyupListener=qe=>{const Je=qe.target;!Je.value&&0===Je.selectionStart&&0===Je.selectionEnd&&(Je.setSelectionRange(1,1),Je.setSelectionRange(0,0))};const pt=this._elementRef.nativeElement,Gt=pt.nodeName.toLowerCase();this._inputValueAccessor=Fe||pt,this._previousNativeValue=this.value,this.id=this.id,g.IOS&&ot.runOutsideAngular(()=>{Y.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Gt,this._isTextarea="textarea"===Gt,this._isInFormField=!!_t,this._isNativeSelect&&(this.controlType=pt.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(Y){this._disabled=(0,s.W6)(Y),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(Y){this._id=Y||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(K.AQ.required)??!1}set required(Y){this._required=(0,s.W6)(Y)}get type(){return this._type}set type(Y){this._type=Y||"text",this._validateType(),!this._isTextarea&&(0,d.mU)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(Y){Y!==this.value&&(this._inputValueAccessor.value=Y,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(Y){this._readonly=(0,s.W6)(Y)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(Y=>{this.autofilled=Y.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)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(Y){this._elementRef.nativeElement.focus(Y)}_focusChanged(Y){Y!==this.focused&&(this.focused=Y,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){const Y=this._formField,g=Y&&"legacy"===Y.appearance&&!Y._hasLabel?.()?null:this.placeholder;if(g!==this._previousPlaceholder){const X=this._elementRef.nativeElement;this._previousPlaceholder=g,g?X.setAttribute("placeholder",g):X.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const Y=this._elementRef.nativeElement.value;this._previousNativeValue!==Y&&(this._previousNativeValue=Y,this.stateChanges.next())}_validateType(){Z.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let Y=this._elementRef.nativeElement.validity;return Y&&Y.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const Y=this._elementRef.nativeElement,g=Y.options[0];return this.focused||Y.multiple||!this.empty||!!(Y.selectedIndex>-1&&g&&g.label)}return this.focused||!this.empty}setDescribedByIds(Y){Y.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Y.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const Y=this._elementRef.nativeElement;return this._isNativeSelect&&(Y.multiple||Y.size>1)}}return le.\u0275fac=function(Y){return new(Y||le)(o.GI1(o.GMv),o.GI1(d.WU),o.GI1(K.eq,10),o.GI1(K.SC,8),o.GI1(K.uW,8),o.GI1(ie.u9),o.GI1(ae,10),o.GI1(y),o.GI1(o.WW2),o.GI1(oe.Y$,8))},le.\u0275dir=o.Sc5({type:le,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(Y,g){1&Y&&o.qCj("focus",function(){return g._focusChanged(!0)})("blur",function(){return g._focusChanged(!1)})("input",function(){return g._onInput()}),2&Y&&(o.SoX("disabled",g.disabled)("required",g.required),o.e48("id",g.id)("data-placeholder",g.placeholder)("name",g.name||null)("readonly",g.readonly&&!g._isNativeSelect||null)("aria-invalid",g.empty&&g.required?null:g.errorState)("aria-required",g.required),o.eAK("mat-input-server",g._isServer)("mat-native-select-inline",g._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[o.Wk5.None,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[o.M5G([{provide:oe.u0,useExisting:le}]),o.eg9,o.SYr]}),le})(),rt=(()=>{class le{}return le.\u0275fac=function(Y){return new(Y||le)},le.\u0275mod=o.a4G({type:le}),le.\u0275inj=o.s3X({providers:[ie.u9],imports:[B,oe.wb,ie.AN,B,oe.wb]}),le})()},6024:(lt,me,u)=>{"use strict";u.d(me,{G2:()=>X,g9:()=>Se,iI:()=>ce,oL:()=>V});var s=u(1368),d=u(2116),o=u(9544),f=u(7712),l=u(5657),i=u(3616),ie=(u(5568),u(4723),u(1032),u(7800),u(6504),u(7012));const oe=["*"],ae=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],Z=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],le=(0,o.YB)((0,o.bc)(class{})),ye=(0,o.bc)(class{}),Y=new d.UbH("MatList"),g=new d.UbH("MatNavList");let X=(()=>{class Ae extends le{constructor(){super(...arguments),this._stateChanges=new l.E}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return Ae.\u0275fac=(()=>{let L;return function(de){return(L||(L=d.otF(Ae)))(de||Ae)}})(),Ae.\u0275cmp=d.In1({type:Ae,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[d.M5G([{provide:g,useExisting:Ae}]),d.eg9,d.SYr],ngContentSelectors:oe,decls:1,vars:0,template:function(H,de){1&H&&(d.kPM(),d._Xx(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}'],encapsulation:2,changeDetection:0}),Ae})(),V=(()=>{class Ae extends le{constructor(H){super(),this._elementRef=H,this._stateChanges=new l.E,"action-list"===this._getListType()&&(H.nativeElement.classList.add("mat-action-list"),H.nativeElement.setAttribute("role","group"))}_getListType(){const H=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===H?"list":"mat-action-list"===H?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return Ae.\u0275fac=function(H){return new(H||Ae)(d.GI1(d.GMv))},Ae.\u0275cmp=d.In1({type:Ae,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[d.M5G([{provide:Y,useExisting:Ae}]),d.eg9,d.SYr],ngContentSelectors:oe,decls:1,vars:0,template:function(H,de){1&H&&(d.kPM(),d._Xx(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}'],encapsulation:2,changeDetection:0}),Ae})(),te=(()=>{class Ae{}return Ae.\u0275fac=function(H){return new(H||Ae)},Ae.\u0275dir=d.Sc5({type:Ae,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),Ae})(),be=(()=>{class Ae{}return Ae.\u0275fac=function(H){return new(H||Ae)},Ae.\u0275dir=d.Sc5({type:Ae,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),Ae})(),Se=(()=>{class Ae extends ye{constructor(H,de,$e,je){super(),this._element=H,this._isInteractiveList=!1,this._destroyed=new l.E,this._disabled=!1,this._isInteractiveList=!!($e||je&&"action-list"===je._getListType()),this._list=$e||je;const dt=this._getHostElement();"button"===dt.nodeName.toLowerCase()&&!dt.hasAttribute("type")&&dt.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe((0,i.a)(this._destroyed)).subscribe(()=>{de.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(H){this._disabled=(0,f.W6)(H)}ngAfterContentInit(){(0,o.y0)(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return Ae.\u0275fac=function(H){return new(H||Ae)(d.GI1(d.GMv),d.GI1(d.kD9),d.GI1(g,8),d.GI1(Y,8))},Ae.\u0275cmp=d.In1({type:Ae,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(H,de,$e){if(1&H&&(d.szK($e,te,5),d.szK($e,be,5),d.szK($e,o.Cs,5)),2&H){let je;d.wto(je=d.Gqi())&&(de._avatar=je.first),d.wto(je=d.Gqi())&&(de._icon=je.first),d.wto(je=d.Gqi())&&(de._lines=je)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:4,hostBindings:function(H,de){2&H&&d.eAK("mat-list-item-disabled",de.disabled)("mat-list-item-with-avatar",de._avatar||de._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[d.eg9],ngContentSelectors:Z,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(H,de){1&H&&(d.kPM(ae),d.I0R(0,"span",0),d.wR5(1,"span",1),d._Xx(2),d.I0R(3,"span",2),d._Xx(4,1),d.C$Y(),d._Xx(5,2),d.C$Y()),2&H&&(d.yG2(),d.E7m("matRippleTrigger",de._getHostElement())("matRippleDisabled",de._isRippleDisabled()))},dependencies:[o.UZ],encapsulation:2,changeDetection:0}),Ae})(),ce=(()=>{class Ae{}return Ae.\u0275fac=function(H){return new(H||Ae)},Ae.\u0275mod=d.a4G({type:Ae}),Ae.\u0275inj=d.s3X({imports:[o.A3,o.KE,o.AN,o.oD,s.MD,o.A3,o.AN,o.oD,ie.U]}),Ae})()},1624:(lt,me,u)=>{"use strict";u.d(me,{OQ:()=>L,_A:()=>gt,aM:()=>dt,yG:()=>Kt});var s=u(4723),d=u(7712),o=u(7800),f=u(2116),l=u(5657),i=u(6928),y=u(3412),_=u(2700),I=u(1472),B=u(5568),K=u(7368),ie=u(3992),oe=u(3616),Ge=u(6684),ae=u(7680),Z=u(9684),_e=u(107),j=u(1368),ke=u(9544),rt=u(1900),le=u(68),ye=u(5792),Y=u(3572);const g=["mat-menu-item",""];function X(vt,Ot){1&vt&&(f.S2Z(),f.I0R(0,"svg",2),f.wR5(1,"polygon",3),f.C$Y())}const V=["*"];function te(vt,Ot){if(1&vt){const Ke=f.KQA();f.I0R(0,"div",0),f.qCj("keydown",function(He){f.usT(Ke);const Me=f.GaO();return f.CGJ(Me._handleKeydown(He))})("click",function(){f.usT(Ke);const He=f.GaO();return f.CGJ(He.closed.emit("click"))})("@transformMenu.start",function(He){f.usT(Ke);const Me=f.GaO();return f.CGJ(Me._onAnimationStart(He))})("@transformMenu.done",function(He){f.usT(Ke);const Me=f.GaO();return f.CGJ(Me._onAnimationDone(He))}),f.I0R(1,"div",1),f._Xx(2),f.C$Y()()}if(2&vt){const Ke=f.GaO();f.E7m("id",Ke.panelId)("ngClass",Ke._classList)("@transformMenu",Ke._panelAnimationState),f.e48("aria-label",Ke.ariaLabel||null)("aria-labelledby",Ke.ariaLabelledby||null)("aria-describedby",Ke.ariaDescribedby||null)}}const be={transformMenu:(0,Z.gV)("transformMenu",[(0,Z.K2)("void",(0,Z.wb)({opacity:0,transform:"scale(0.8)"})),(0,Z.aK)("void => enter",(0,Z.Cs)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Z.wb)({opacity:1,transform:"scale(1)"}))),(0,Z.aK)("* => void",(0,Z.Cs)("100ms 25ms linear",(0,Z.wb)({opacity:0})))]),fadeInItems:(0,Z.gV)("fadeInItems",[(0,Z.K2)("showing",(0,Z.wb)({opacity:1})),(0,Z.aK)("void => *",[(0,Z.wb)({opacity:0}),(0,Z.Cs)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},ot=new f.UbH("MatMenuContent"),ce=new f.UbH("MAT_MENU_PANEL"),Ae=(0,ke.bc)((0,ke.YB)(class{}));let L=(()=>{class vt extends Ae{constructor(Ke,Ne,He,Me,st){super(),this._elementRef=Ke,this._document=Ne,this._focusMonitor=He,this._parentMenu=Me,this._changeDetectorRef=st,this.role="menuitem",this._hovered=new l.E,this._focused=new l.E,this._highlighted=!1,this._triggersSubmenu=!1,Me?.addItem?.(this)}focus(Ke,Ne){this._focusMonitor&&Ke?this._focusMonitor.focusVia(this._getHostElement(),Ke,Ne):this._getHostElement().focus(Ne),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(Ke){this.disabled&&(Ke.preventDefault(),Ke.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const Ke=this._elementRef.nativeElement.cloneNode(!0),Ne=Ke.querySelectorAll("mat-icon, .material-icons");for(let He=0;He<Ne.length;He++)Ne[He].remove();return Ke.textContent?.trim()||""}_setHighlighted(Ke){this._highlighted=Ke,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}}return vt.\u0275fac=function(Ke){return new(Ke||vt)(f.GI1(f.GMv),f.GI1(j.Ud),f.GI1(s.Kk),f.GI1(ce,8),f.GI1(f.kD9))},vt.\u0275cmp=f.In1({type:vt,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(Ke,Ne){1&Ke&&f.qCj("click",function(Me){return Ne._checkDisabled(Me)})("mouseenter",function(){return Ne._handleMouseEnter()}),2&Ke&&(f.e48("role",Ne.role)("tabindex",Ne._getTabIndex())("aria-disabled",Ne.disabled.toString())("disabled",Ne.disabled||null),f.eAK("mat-menu-item",!0)("mat-menu-item-highlighted",Ne._highlighted)("mat-menu-item-submenu-trigger",Ne._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[f.eg9],attrs:g,ngContentSelectors:V,decls:3,vars:3,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-menu-submenu-icon","viewBox","0 0 5 10","focusable","false",4,"ngIf"],["viewBox","0 0 5 10","focusable","false",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(Ke,Ne){1&Ke&&(f.kPM(),f._Xx(0),f.wR5(1,"div",0),f.yuY(2,X,2,0,"svg",1)),2&Ke&&(f.yG2(),f.E7m("matRippleDisabled",Ne.disableRipple||Ne.disabled)("matRippleTrigger",Ne._getHostElement()),f.yG2(),f.E7m("ngIf",Ne._triggersSubmenu))},dependencies:[j.u_,ke.UZ],encapsulation:2,changeDetection:0}),vt})();const H=new f.UbH("mat-menu-default-options",{providedIn:"root",factory:function de(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let $e=0,je=(()=>{class vt{constructor(Ke,Ne,He,Me){this._elementRef=Ke,this._ngZone=Ne,this._defaultOptions=He,this._changeDetectorRef=Me,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new f.VhX,this._tabSubscription=i.wH.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new l.E,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new f._w7,this.close=this.closed,this.panelId="mat-menu-panel-"+$e++}get xPosition(){return this._xPosition}set xPosition(Ke){this._xPosition=Ke,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Ke){this._yPosition=Ke,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(Ke){this._overlapTrigger=(0,d.W6)(Ke)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(Ke){this._hasBackdrop=(0,d.W6)(Ke)}set panelClass(Ke){const Ne=this._previousPanelClass;Ne&&Ne.length&&Ne.split(" ").forEach(He=>{this._classList[He]=!1}),this._previousPanelClass=Ke,Ke&&Ke.length&&(Ke.split(" ").forEach(He=>{this._classList[He]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(Ke){this.panelClass=Ke}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new s.IH(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,B.W)(this._directDescendantItems),(0,K.G)(Ke=>(0,y.U)(...Ke.map(Ne=>Ne._focused)))).subscribe(Ke=>this._keyManager.updateActiveItem(Ke)),this._directDescendantItems.changes.subscribe(Ke=>{const Ne=this._keyManager;if("enter"===this._panelAnimationState&&Ne.activeItem?._hasFocus()){const He=Ke.toArray(),Me=Math.max(0,Math.min(He.length-1,Ne.activeItemIndex||0));He[Me]&&!He[Me].disabled?Ne.setActiveItem(Me):Ne.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,B.W)(this._directDescendantItems),(0,K.G)(Ne=>(0,y.U)(...Ne.map(He=>He._hovered))))}addItem(Ke){}removeItem(Ke){}_handleKeydown(Ke){const Ne=Ke.keyCode,He=this._keyManager;switch(Ne){case o.UX:(0,o.Yp)(Ke)||(Ke.preventDefault(),this.closed.emit("keydown"));break;case o.Mx:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case o.a4:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(Ne===o.qI||Ne===o.Oq)&&He.setFocusOrigin("keyboard"),void He.onKeydown(Ke)}Ke.stopPropagation()}focusFirstItem(Ke="program"){this._ngZone.onStable.pipe((0,ie.U)(1)).subscribe(()=>{let Ne=null;if(this._directDescendantItems.length&&(Ne=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!Ne||!Ne.contains(document.activeElement)){const He=this._keyManager;He.setFocusOrigin(Ke).setFirstItemActive(),!He.activeItem&&Ne&&Ne.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Ke){const Ne=Math.min(this._baseElevation+Ke,24),He=`${this._elevationPrefix}${Ne}`,Me=Object.keys(this._classList).find(st=>st.startsWith(this._elevationPrefix));(!Me||Me===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[He]=!0,this._previousElevation=He)}setPositionClasses(Ke=this.xPosition,Ne=this.yPosition){const He=this._classList;He["mat-menu-before"]="before"===Ke,He["mat-menu-after"]="after"===Ke,He["mat-menu-above"]="above"===Ne,He["mat-menu-below"]="below"===Ne,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(Ke){this._animationDone.next(Ke),this._isAnimating=!1}_onAnimationStart(Ke){this._isAnimating=!0,"enter"===Ke.toState&&0===this._keyManager.activeItemIndex&&(Ke.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,B.W)(this._allItems)).subscribe(Ke=>{this._directDescendantItems.reset(Ke.filter(Ne=>Ne._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return vt.\u0275fac=function(Ke){return new(Ke||vt)(f.GI1(f.GMv),f.GI1(f.WW2),f.GI1(H),f.GI1(f.kD9))},vt.\u0275dir=f.Sc5({type:vt,contentQueries:function(Ke,Ne,He){if(1&Ke&&(f.szK(He,ot,5),f.szK(He,L,5),f.szK(He,L,4)),2&Ke){let Me;f.wto(Me=f.Gqi())&&(Ne.lazyContent=Me.first),f.wto(Me=f.Gqi())&&(Ne._allItems=Me),f.wto(Me=f.Gqi())&&(Ne.items=Me)}},viewQuery:function(Ke,Ne){if(1&Ke&&f.CC$(f.Yw2,5),2&Ke){let He;f.wto(He=f.Gqi())&&(Ne.templateRef=He.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:[f.Wk5.None,"aria-label","ariaLabel"],ariaLabelledby:[f.Wk5.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[f.Wk5.None,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:[f.Wk5.None,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),vt})(),dt=(()=>{class vt extends je{constructor(Ke,Ne,He,Me){super(Ke,Ne,He,Me),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return vt.\u0275fac=function(Ke){return new(Ke||vt)(f.GI1(f.GMv),f.GI1(f.WW2),f.GI1(H),f.GI1(f.kD9))},vt.\u0275cmp=f.In1({type:vt,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(Ke,Ne){2&Ke&&f.e48("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[f.M5G([{provide:ce,useExisting:vt}]),f.eg9],ngContentSelectors:V,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(Ke,Ne){1&Ke&&(f.kPM(),f.yuY(0,te,3,6,"ng-template"))},dependencies:[j.QF],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px;position:relative}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[be.transformMenu,be.fadeInItems]},changeDetection:0}),vt})();const Et=new f.UbH("mat-menu-scroll-strategy"),Xe={provide:Et,deps:[le.mc],useFactory:function Ye(vt){return()=>vt.scrollStrategies.reposition()}},xe=(0,ye.W4)({passive:!0});let Ct=(()=>{class vt{constructor(Ke,Ne,He,Me,st,re,Re,pe,Mt){this._overlay=Ke,this._element=Ne,this._viewContainerRef=He,this._menuItemInstance=re,this._dir=Re,this._focusMonitor=pe,this._ngZone=Mt,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=i.wH.EMPTY,this._hoverSubscription=i.wH.EMPTY,this._menuCloseSubscription=i.wH.EMPTY,this._handleTouchStart=$t=>{(0,s.q0)($t)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new f._w7,this.onMenuOpen=this.menuOpened,this.menuClosed=new f._w7,this.onMenuClose=this.menuClosed,this._scrollStrategy=Me,this._parentMaterialMenu=st instanceof je?st:void 0,Ne.nativeElement.addEventListener("touchstart",this._handleTouchStart,xe),re&&(re._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Ke){this.menu=Ke}get menu(){return this._menu}set menu(Ke){Ke!==this._menu&&(this._menu=Ke,this._menuCloseSubscription.unsubscribe(),Ke&&(this._menuCloseSubscription=Ke.close.subscribe(Ne=>{this._destroyMenu(Ne),("click"===Ne||"tab"===Ne)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(Ne)})))}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,xe),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const Ke=this.menu;if(this._menuOpen||!Ke)return;const Ne=this._createOverlay(Ke),He=Ne.getConfig(),Me=He.positionStrategy;this._setPosition(Ke,Me),He.hasBackdrop=null==Ke.hasBackdrop?!this.triggersSubmenu():Ke.hasBackdrop,Ne.attach(this._getPortal(Ke)),Ke.lazyContent&&Ke.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(Ke),Ke instanceof je&&(Ke._startAnimation(),Ke._directDescendantItems.changes.pipe((0,oe.a)(Ke.close)).subscribe(()=>{Me.withLockedPosition(!1).reapplyLastPosition(),Me.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(Ke,Ne){this._focusMonitor&&Ke?this._focusMonitor.focusVia(this._element,Ke,Ne):this._element.nativeElement.focus(Ne)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(Ke){if(!this._overlayRef||!this.menuOpen)return;const Ne=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===Ke||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,Ne instanceof je?(Ne._resetAnimation(),Ne.lazyContent?Ne._animationDone.pipe((0,Ge.I)(He=>"void"===He.toState),(0,ie.U)(1),(0,oe.a)(Ne.lazyContent._attached)).subscribe({next:()=>Ne.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),Ne?.lazyContent?.detach())}_initMenu(Ke){Ke.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,Ke.direction=this.dir,this._setMenuElevation(Ke),Ke.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(Ke){if(Ke.setElevation){let Ne=0,He=Ke.parentMenu;for(;He;)Ne++,He=He.parentMenu;Ke.setElevation(Ne)}}_setIsMenuOpen(Ke){this._menuOpen=Ke,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(Ke)}_createOverlay(Ke){if(!this._overlayRef){const Ne=this._getOverlayConfig(Ke);this._subscribeToPositions(Ke,Ne.positionStrategy),this._overlayRef=this._overlay.create(Ne),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(Ke){return new le.o9({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:Ke.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:Ke.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(Ke,Ne){Ke.setPositionClasses&&Ne.positionChanges.subscribe(He=>{const Me="start"===He.connectionPair.overlayX?"after":"before",st="top"===He.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>Ke.setPositionClasses(Me,st)):Ke.setPositionClasses(Me,st)})}_setPosition(Ke,Ne){let[He,Me]="before"===Ke.xPosition?["end","start"]:["start","end"],[st,re]="above"===Ke.yPosition?["bottom","top"]:["top","bottom"],[Re,pe]=[st,re],[Mt,$t]=[He,Me],zt=0;if(this.triggersSubmenu()){if($t=He="before"===Ke.xPosition?"start":"end",Me=Mt="end"===He?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const bn=this._parentMaterialMenu.items.first;this._parentInnerPadding=bn?bn._getHostElement().offsetTop:0}zt="bottom"===st?this._parentInnerPadding:-this._parentInnerPadding}}else Ke.overlapTrigger||(Re="top"===st?"bottom":"top",pe="top"===re?"bottom":"top");Ne.withPositions([{originX:He,originY:Re,overlayX:Mt,overlayY:st,offsetY:zt},{originX:Me,originY:Re,overlayX:$t,overlayY:st,offsetY:zt},{originX:He,originY:pe,overlayX:Mt,overlayY:re,offsetY:-zt},{originX:Me,originY:pe,overlayX:$t,overlayY:re,offsetY:-zt}])}_menuClosingActions(){const Ke=this._overlayRef.backdropClick(),Ne=this._overlayRef.detachments(),He=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,_.of)(),Me=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,Ge.I)(st=>st!==this._menuItemInstance),(0,Ge.I)(()=>this._menuOpen)):(0,_.of)();return(0,y.U)(Ke,He,Me,Ne)}_handleMousedown(Ke){(0,s.G3)(Ke)||(this._openedBy=0===Ke.button?"mouse":void 0,this.triggersSubmenu()&&Ke.preventDefault())}_handleKeydown(Ke){const Ne=Ke.keyCode;(Ne===o.wJ||Ne===o.Gi)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(Ne===o.a4&&"ltr"===this.dir||Ne===o.Mx&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Ke){this.triggersSubmenu()?(Ke.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,Ge.I)(Ke=>Ke===this._menuItemInstance&&!Ke.disabled),(0,ae.o)(0,I.u)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof je&&this.menu._isAnimating?this.menu._animationDone.pipe((0,ie.U)(1),(0,ae.o)(0,I.u),(0,oe.a)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(Ke){return(!this._portal||this._portal.templateRef!==Ke.templateRef)&&(this._portal=new _e.CC(Ke.templateRef,this._viewContainerRef)),this._portal}}return vt.\u0275fac=function(Ke){return new(Ke||vt)(f.GI1(le.mc),f.GI1(f.GMv),f.GI1(f.y8U),f.GI1(Et),f.GI1(ce,8),f.GI1(L,10),f.GI1(rt.yG,8),f.GI1(s.Kk),f.GI1(f.WW2))},vt.\u0275dir=f.Sc5({type:vt,hostVars:3,hostBindings:function(Ke,Ne){1&Ke&&f.qCj("click",function(Me){return Ne._handleClick(Me)})("mousedown",function(Me){return Ne._handleMousedown(Me)})("keydown",function(Me){return Ne._handleKeydown(Me)}),2&Ke&&f.e48("aria-haspopup",Ne.menu?"menu":null)("aria-expanded",Ne.menuOpen||null)("aria-controls",Ne.menuOpen?Ne.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[f.Wk5.None,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[f.Wk5.None,"matMenuTriggerFor","menu"],menuData:[f.Wk5.None,"matMenuTriggerData","menuData"],restoreFocus:[f.Wk5.None,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),vt})(),Kt=(()=>{class vt extends Ct{}return vt.\u0275fac=(()=>{let Ot;return function(Ne){return(Ot||(Ot=f.otF(vt)))(Ne||vt)}})(),vt.\u0275dir=f.Sc5({type:vt,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[f.eg9]}),vt})(),gt=(()=>{class vt{}return vt.\u0275fac=function(Ke){return new(Ke||vt)},vt.\u0275mod=f.a4G({type:vt}),vt.\u0275inj=f.s3X({providers:[Xe],imports:[j.MD,ke.AN,ke.KE,le.Y1,Y.uU,ke.AN]}),vt})()},204:(lt,me,u)=>{"use strict";u.d(me,{CQ:()=>Z,Qb:()=>g,w5:()=>X});var s=u(1368),d=u(2116),o=u(9544),f=u(8760),l=u(1348),i=u(4748),y=u(7712),_=u(5657),I=u(3040);function B(V,te){if(1&V&&(d.I0R(0,"mat-option",19),d.OEk(1),d.C$Y()),2&V){const be=te.$implicit;d.E7m("value",be),d.yG2(),d.oRS(" ",be," ")}}function K(V,te){if(1&V){const be=d.KQA();d.I0R(0,"mat-form-field",16)(1,"mat-select",17),d.qCj("selectionChange",function(Se){d.usT(be);const ot=d.GaO(2);return d.CGJ(ot._changePageSize(Se.value))}),d.yuY(2,B,2,2,"mat-option",18),d.C$Y()()}if(2&V){const be=d.GaO(2);d.E7m("appearance",be._formFieldAppearance)("color",be.color),d.yG2(),d.E7m("value",be.pageSize)("disabled",be.disabled)("panelClass",be.selectConfig.panelClass||"")("disableOptionCentering",be.selectConfig.disableOptionCentering)("aria-label",be._intl.itemsPerPageLabel),d.yG2(),d.E7m("ngForOf",be._displayedPageSizeOptions)}}function ie(V,te){if(1&V&&(d.I0R(0,"div",20),d.OEk(1),d.C$Y()),2&V){const be=d.GaO(2);d.yG2(),d.cNF(be.pageSize)}}function oe(V,te){if(1&V&&(d.I0R(0,"div",12)(1,"div",13),d.OEk(2),d.C$Y(),d.yuY(3,K,3,8,"mat-form-field",14)(4,ie,2,1,"div",15),d.C$Y()),2&V){const be=d.GaO();d.yG2(2),d.oRS(" ",be._intl.itemsPerPageLabel," "),d.yG2(),d.E7m("ngIf",be._displayedPageSizeOptions.length>1),d.yG2(),d.E7m("ngIf",be._displayedPageSizeOptions.length<=1)}}function Ge(V,te){if(1&V){const be=d.KQA();d.I0R(0,"button",21),d.qCj("click",function(){d.usT(be);const Se=d.GaO();return d.CGJ(Se.firstPage())}),d.S2Z(),d.I0R(1,"svg",7),d.wR5(2,"path",22),d.C$Y()()}if(2&V){const be=d.GaO();d.E7m("matTooltip",be._intl.firstPageLabel)("matTooltipDisabled",be._previousButtonsDisabled())("matTooltipPosition","above")("disabled",be._previousButtonsDisabled()),d.e48("aria-label",be._intl.firstPageLabel)}}function ae(V,te){if(1&V){const be=d.KQA();d.S2Z(),d.gRP(),d.I0R(0,"button",23),d.qCj("click",function(){d.usT(be);const Se=d.GaO();return d.CGJ(Se.lastPage())}),d.S2Z(),d.I0R(1,"svg",7),d.wR5(2,"path",24),d.C$Y()()}if(2&V){const be=d.GaO();d.E7m("matTooltip",be._intl.lastPageLabel)("matTooltipDisabled",be._nextButtonsDisabled())("matTooltipPosition","above")("disabled",be._nextButtonsDisabled()),d.e48("aria-label",be._intl.lastPageLabel)}}let Z=(()=>{class V{constructor(){this.changes=new _.E,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(be,Fe,Se)=>{if(0==Se||0==Fe)return`0 of ${Se}`;const ot=be*Fe;return`${ot+1} \u2013 ${ot<(Se=Math.max(Se,0))?Math.min(ot+Fe,Se):ot+Fe} of ${Se}`}}}return V.\u0275fac=function(be){return new(be||V)},V.\u0275prov=d.wxM({token:V,factory:V.\u0275fac,providedIn:"root"}),V})();const j={provide:Z,deps:[[new d.T7N,new d.Qfh,Z]],useFactory:function _e(V){return V||new Z}},le=new d.UbH("MAT_PAGINATOR_DEFAULT_OPTIONS"),ye=(0,o.YB)((0,o.aU)(class{}));let Y=(()=>{class V extends ye{constructor(be,Fe,Se){if(super(),this._intl=be,this._changeDetectorRef=Fe,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new d._w7,this._intlChanges=be.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),Se){const{pageSize:ot,pageSizeOptions:_t,hidePageSize:pt,showFirstLastButtons:Gt}=Se;null!=ot&&(this._pageSize=ot),null!=_t&&(this._pageSizeOptions=_t),null!=pt&&(this._hidePageSize=pt),null!=Gt&&(this._showFirstLastButtons=Gt)}}get pageIndex(){return this._pageIndex}set pageIndex(be){this._pageIndex=Math.max((0,y.wZ)(be),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(be){this._length=(0,y.wZ)(be),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(be){this._pageSize=Math.max((0,y.wZ)(be),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(be){this._pageSizeOptions=(be||[]).map(Fe=>(0,y.wZ)(Fe)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(be){this._hidePageSize=(0,y.W6)(be)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(be){this._showFirstLastButtons=(0,y.W6)(be)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const be=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(be)}previousPage(){if(!this.hasPreviousPage())return;const be=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(be)}firstPage(){if(!this.hasPreviousPage())return;const be=this.pageIndex;this.pageIndex=0,this._emitPageEvent(be)}lastPage(){if(!this.hasNextPage())return;const be=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(be)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const be=this.getNumberOfPages()-1;return this.pageIndex<be&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(be){const Se=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/be)||0,this.pageSize=be,this._emitPageEvent(Se)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((be,Fe)=>be-Fe),this._changeDetectorRef.markForCheck())}_emitPageEvent(be){this.page.emit({previousPageIndex:be,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return V.\u0275fac=function(be){d.KEo()},V.\u0275dir=d.Sc5({type:V,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[d.eg9]}),V})(),g=(()=>{class V extends Y{constructor(be,Fe,Se){super(be,Fe,Se),Se&&null!=Se.formFieldAppearance&&(this._formFieldAppearance=Se.formFieldAppearance)}}return V.\u0275fac=function(be){return new(be||V)(d.GI1(Z),d.GI1(d.kD9),d.GI1(le,8))},V.\u0275cmp=d.In1({type:V,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[d.eg9],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","panelClass","disableOptionCentering","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(be,Fe){1&be&&(d.I0R(0,"div",0)(1,"div",1),d.yuY(2,oe,5,3,"div",2),d.I0R(3,"div",3)(4,"div",4),d.OEk(5),d.C$Y(),d.yuY(6,Ge,3,5,"button",5),d.I0R(7,"button",6),d.qCj("click",function(){return Fe.previousPage()}),d.S2Z(),d.I0R(8,"svg",7),d.wR5(9,"path",8),d.C$Y()(),d.gRP(),d.I0R(10,"button",9),d.qCj("click",function(){return Fe.nextPage()}),d.S2Z(),d.I0R(11,"svg",7),d.wR5(12,"path",10),d.C$Y()(),d.yuY(13,ae,3,5,"button",11),d.C$Y()()()),2&be&&(d.yG2(2),d.E7m("ngIf",!Fe.hidePageSize),d.yG2(3),d.oRS(" ",Fe._intl.getRangeLabel(Fe.pageIndex,Fe.pageSize,Fe.length)," "),d.yG2(),d.E7m("ngIf",Fe.showFirstLastButtons),d.yG2(),d.E7m("matTooltip",Fe._intl.previousPageLabel)("matTooltipDisabled",Fe._previousButtonsDisabled())("matTooltipPosition","above")("disabled",Fe._previousButtonsDisabled()),d.e48("aria-label",Fe._intl.previousPageLabel),d.yG2(3),d.E7m("matTooltip",Fe._intl.nextPageLabel)("matTooltipDisabled",Fe._nextButtonsDisabled())("matTooltipPosition","above")("disabled",Fe._nextButtonsDisabled()),d.e48("aria-label",Fe._intl.nextPageLabel),d.yG2(3),d.E7m("ngIf",Fe.showFirstLastButtons))},dependencies:[s.ay,s.u_,f.Gw,I.Up,l.kX,o.I5,i.a4],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{display:inline-block;width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}"],encapsulation:2,changeDetection:0}),V})(),X=(()=>{class V{}return V.\u0275fac=function(be){return new(be||V)},V.\u0275mod=d.a4G({type:V}),V.\u0275inj=d.s3X({providers:[j],imports:[s.MD,f.oJ,l.d5,i.KO,o.AN]}),V})()},6440:(lt,me,u)=>{"use strict";u.d(me,{Ko:()=>Z,wx:()=>Ge});var s=u(2116),d=u(1368),o=u(9544),f=u(7712),l=u(6928),i=u(8420),y=u(6684);const _=["primaryValueBar"],I=(0,o.i)(class{constructor(_e){this._elementRef=_e}},"primary"),B=new s.UbH("mat-progress-bar-location",{providedIn:"root",factory:function K(){const _e=(0,s.uUt)(d.Ud),j=_e?_e.location:null;return{getPathname:()=>j?j.pathname+j.search:""}}}),ie=new s.UbH("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");let oe=0,Ge=(()=>{class _e extends I{constructor(ke,rt,le,ye,Y,g){super(ke),this._ngZone=rt,this._animationMode=le,this._changeDetectorRef=g,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new s._w7,this._animationEndSubscription=l.wH.EMPTY,this.mode="determinate",this.progressbarId="mat-progress-bar-"+oe++;const X=ye?ye.getPathname().split("#")[0]:"";this._rectangleFillValue=`url('${X}#${this.progressbarId}')`,this._isNoopAnimation="NoopAnimations"===le,Y&&(Y.color&&(this.color=this.defaultColor=Y.color),this.mode=Y.mode||this.mode)}get value(){return this._value}set value(ke){this._value=ae((0,f.wZ)(ke)||0),this._changeDetectorRef?.markForCheck()}get bufferValue(){return this._bufferValue}set bufferValue(ke){this._bufferValue=ae(ke||0),this._changeDetectorRef?.markForCheck()}_primaryTransform(){return{transform:`scale3d(${this.value/100}, 1, 1)`}}_bufferTransform(){return"buffer"===this.mode?{transform:`scale3d(${this.bufferValue/100}, 1, 1)`}:null}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const ke=this._primaryValueBar.nativeElement;this._animationEndSubscription=(0,i.w)(ke,"transitionend").pipe((0,y.I)(rt=>rt.target===ke)).subscribe(()=>{0!==this.animationEnd.observers.length&&("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))})})}ngOnDestroy(){this._animationEndSubscription.unsubscribe()}}return _e.\u0275fac=function(ke){return new(ke||_e)(s.GI1(s.GMv),s.GI1(s.WW2),s.GI1(s.qwP,8),s.GI1(B,8),s.GI1(ie,8),s.GI1(s.kD9))},_e.\u0275cmp=s.In1({type:_e,selectors:[["mat-progress-bar"]],viewQuery:function(ke,rt){if(1&ke&&s.CC$(_,5),2&ke){let le;s.wto(le=s.Gqi())&&(rt._primaryValueBar=le.first)}},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-progress-bar"],hostVars:4,hostBindings:function(ke,rt){2&ke&&(s.e48("aria-valuenow","indeterminate"===rt.mode||"query"===rt.mode?null:rt.value)("mode",rt.mode),s.eAK("_mat-animation-noopable",rt._isNoopAnimation))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[s.eg9],decls:10,vars:4,consts:[["aria-hidden","true"],["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(ke,rt){1&ke&&(s.I0R(0,"div",0),s.S2Z(),s.I0R(1,"svg",1)(2,"defs")(3,"pattern",2),s.wR5(4,"circle",3),s.C$Y()(),s.wR5(5,"rect",4),s.C$Y(),s.gRP(),s.wR5(6,"div",5)(7,"div",6,7)(9,"div",8),s.C$Y()),2&ke&&(s.yG2(3),s.E7m("id",rt.progressbarId),s.yG2(2),s.e48("fill",rt._rectangleFillValue),s.yG2(),s.E7m("ngStyle",rt._bufferTransform()),s.yG2(),s.E7m("ngStyle",rt._primaryTransform()))},dependencies:[d.Qt],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}.mat-progress-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-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 mat-progress-bar-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 mat-progress-bar-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 mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}'],encapsulation:2,changeDetection:0}),_e})();function ae(_e,j=0,ke=100){return Math.max(j,Math.min(ke,_e))}let Z=(()=>{class _e{}return _e.\u0275fac=function(ke){return new(ke||_e)},_e.\u0275mod=s.a4G({type:_e}),_e.\u0275inj=s.s3X({imports:[d.MD,o.AN,o.AN]}),_e})()},6824:(lt,me,u)=>{"use strict";u.d(me,{cm:()=>Z,kB:()=>_e});var s=u(7712),d=u(5792),o=u(3572),f=u(1368),l=u(2116),i=u(9544),y=u(6928);function _(ke,rt){if(1&ke&&(l.S2Z(),l.wR5(0,"circle",4)),2&ke){const le=l.GaO(),ye=l.Gew(1);l.m4B("animation-name","mat-progress-spinner-stroke-rotate-"+le._spinnerAnimationLabel)("stroke-dashoffset",le._getStrokeDashOffset(),"px")("stroke-dasharray",le._getStrokeCircumference(),"px")("stroke-width",le._getCircleStrokeWidth(),"%")("transform-origin",le._getCircleTransformOrigin(ye)),l.e48("r",le._getCircleRadius())}}function I(ke,rt){if(1&ke&&(l.S2Z(),l.wR5(0,"circle",4)),2&ke){const le=l.GaO(),ye=l.Gew(1);l.m4B("stroke-dashoffset",le._getStrokeDashOffset(),"px")("stroke-dasharray",le._getStrokeCircumference(),"px")("stroke-width",le._getCircleStrokeWidth(),"%")("transform-origin",le._getCircleTransformOrigin(ye)),l.e48("r",le._getCircleRadius())}}const ie=(0,i.i)(class{constructor(ke){this._elementRef=ke}},"primary"),oe=new l.UbH("mat-progress-spinner-default-options",{providedIn:"root",factory:function Ge(){return{diameter:100}}});class Z extends ie{constructor(rt,le,ye,Y,g,X,V,te){super(rt),this._document=ye,this._diameter=100,this._value=0,this._resizeSubscription=y.wH.EMPTY,this.mode="determinate";const be=Z._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),be.has(ye.head)||be.set(ye.head,new Set([100])),this._noopAnimations="NoopAnimations"===Y&&!!g&&!g._forceAnimations,"mat-spinner"===rt.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),g&&(g.color&&(this.color=this.defaultColor=g.color),g.diameter&&(this.diameter=g.diameter),g.strokeWidth&&(this.strokeWidth=g.strokeWidth)),le.isBrowser&&le.SAFARI&&V&&X&&te&&(this._resizeSubscription=V.change(150).subscribe(()=>{"indeterminate"===this.mode&&te.run(()=>X.markForCheck())}))}get diameter(){return this._diameter}set diameter(rt){this._diameter=(0,s.wZ)(rt),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(rt){this._strokeWidth=(0,s.wZ)(rt)}get value(){return"determinate"===this.mode?this._value:0}set value(rt){this._value=Math.max(0,Math.min(100,(0,s.wZ)(rt)))}ngOnInit(){const rt=this._elementRef.nativeElement;this._styleRoot=(0,d.C8)(rt)||this._document.head,this._attachStyleNode(),rt.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const rt=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${rt} ${rt}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(rt){const le=50*(rt.currentScale??1);return`${le}% ${le}%`}_attachStyleNode(){const rt=this._styleRoot,le=this._diameter,ye=Z._diameters;let Y=ye.get(rt);if(!Y||!Y.has(le)){const g=this._document.createElement("style");g.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),g.textContent=this._getAnimationText(),rt.appendChild(g),Y||(Y=new Set,ye.set(rt,Y)),Y.add(le)}}_getAnimationText(){const rt=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n    0%      { stroke-dashoffset: START_VALUE;  transform: rotate(0); }\n    12.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(0); }\n    12.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(72.5deg); }\n    25%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(72.5deg); }\n\n    25.0001%   { stroke-dashoffset: START_VALUE;  transform: rotate(270deg); }\n    37.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(270deg); }\n    37.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(161.5deg); }\n    50%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(161.5deg); }\n\n    50.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(180deg); }\n    62.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(180deg); }\n    62.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(251.5deg); }\n    75%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(251.5deg); }\n\n    75.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(90deg); }\n    87.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(90deg); }\n    87.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(341.5deg); }\n    100%    { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(341.5deg); }\n  }\n".replace(/START_VALUE/g,""+.95*rt).replace(/END_VALUE/g,""+.2*rt).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Z._diameters=new WeakMap,Z.\u0275fac=function(rt){return new(rt||Z)(l.GI1(l.GMv),l.GI1(d.WU),l.GI1(f.Ud,8),l.GI1(l.qwP,8),l.GI1(oe),l.GI1(l.kD9),l.GI1(o.S8),l.GI1(l.WW2))},Z.\u0275cmp=l.In1({type:Z,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(rt,le){2&rt&&(l.e48("aria-valuemin","determinate"===le.mode?0:null)("aria-valuemax","determinate"===le.mode?100:null)("aria-valuenow","determinate"===le.mode?le.value:null)("mode",le.mode),l.m4B("width",le.diameter,"px")("height",le.diameter,"px"),l.eAK("_mat-animation-noopable",le._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[l.eg9],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(rt,le){1&rt&&(l.S2Z(),l.I0R(0,"svg",0,1),l.yuY(2,_,1,11,"circle",2)(3,I,1,9,"circle",3),l.C$Y()),2&rt&&(l.m4B("width",le.diameter,"px")("height",le.diameter,"px"),l.E7m("ngSwitch","indeterminate"===le.mode),l.e48("viewBox",le._getViewBox()),l.yG2(2),l.E7m("ngSwitchCase",!0),l.yG2(),l.E7m("ngSwitchCase",!1))},dependencies:[f.Ko,f.Wm],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:rgba(0,0,0,0);transition:stroke-dashoffset 225ms linear}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}.mat-progress-spinner[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}.mat-progress-spinner._mat-animation-noopable svg,.mat-progress-spinner._mat-animation-noopable circle{animation:none;transition:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}"],encapsulation:2,changeDetection:0});let _e=(()=>{class ke{}return ke.\u0275fac=function(le){return new(le||ke)},ke.\u0275mod=l.a4G({type:ke}),ke.\u0275inj=l.s3X({imports:[i.AN,f.MD,i.AN]}),ke})()},8480:(lt,me,u)=>{"use strict";u.d(me,{cT:()=>le,cv:()=>_e,yk:()=>ye});var s=u(2116),d=u(9544),o=u(4723),f=u(7712),l=u(1032),i=u(6504);const y=["input"],_=Y=>({enterDuration:Y}),I=["*"],B=new s.UbH("mat-radio-default-options",{providedIn:"root",factory:function K(){return{color:"accent"}}});let ie=0;const oe={provide:i.Y6,useExisting:(0,s.wd)(()=>_e),multi:!0};class Ge{constructor(g,X){this.source=g,this.value=X}}const ae=new s.UbH("MatRadioGroup");let Z=(()=>{class Y{constructor(X){this._changeDetector=X,this._value=null,this._name="mat-radio-group-"+ie++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new s._w7}get name(){return this._name}set name(X){this._name=X,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(X){this._labelPosition="before"===X?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(X){this._value!==X&&(this._value=X,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(X){this._selected=X,this.value=X?X.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(X){this._disabled=(0,f.W6)(X),this._markRadiosForCheck()}get required(){return this._required}set required(X){this._required=(0,f.W6)(X),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(X=>{X.name=this.name,X._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(V=>{V.checked=this.value===V.value,V.checked&&(this._selected=V)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new Ge(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(X=>X._markForCheck())}writeValue(X){this.value=X,this._changeDetector.markForCheck()}registerOnChange(X){this._controlValueAccessorChangeFn=X}registerOnTouched(X){this.onTouched=X}setDisabledState(X){this.disabled=X,this._changeDetector.markForCheck()}}return Y.\u0275fac=function(X){return new(X||Y)(s.GI1(s.kD9))},Y.\u0275dir=s.Sc5({type:Y,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),Y})(),_e=(()=>{class Y extends Z{}return Y.\u0275fac=(()=>{let g;return function(V){return(g||(g=s.otF(Y)))(V||Y)}})(),Y.\u0275dir=s.Sc5({type:Y,selectors:[["mat-radio-group"]],contentQueries:function(X,V,te){if(1&X&&s.szK(te,le,5),2&X){let be;s.wto(be=s.Gqi())&&(V._radios=be)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[s.M5G([oe,{provide:ae,useExisting:Y}]),s.eg9]}),Y})();class j{constructor(g){this._elementRef=g}}const ke=(0,d.bc)((0,d.S)(j));let rt=(()=>{class Y extends ke{constructor(X,V,te,be,Fe,Se,ot,_t){super(V),this._changeDetector=te,this._focusMonitor=be,this._radioDispatcher=Fe,this._providerOverride=ot,this._uniqueId="mat-radio-"+ ++ie,this.id=this._uniqueId,this.change=new s._w7,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=X,this._noopAnimations="NoopAnimations"===Se,_t&&(this.tabIndex=(0,f.wZ)(_t,0)),this._removeUniqueSelectionListener=Fe.listen((pt,Gt)=>{pt!==this.id&&Gt===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(X){const V=(0,f.W6)(X);this._checked!==V&&(this._checked=V,V&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!V&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),V&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(X){this._value!==X&&(this._value=X,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===X),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(X){this._labelPosition=X}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(X){this._setDisabled((0,f.W6)(X))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(X){this._required=(0,f.W6)(X)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(X){this._color=X}get inputId(){return`${this.id||this._uniqueId}-input`}focus(X,V){V?this._focusMonitor.focusVia(this._inputElement,V,X):this._inputElement.nativeElement.focus(X)}_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)}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(X=>{!X&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new Ge(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(X){X.stopPropagation()}_onInputInteraction(X){if(X.stopPropagation(),!this.checked&&!this.disabled){const V=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),V&&this.radioGroup._emitChangeEvent())}}_setDisabled(X){this._disabled!==X&&(this._disabled=X,this._changeDetector.markForCheck())}_updateTabIndex(){const X=this.radioGroup;let V;if(V=X&&X.selected&&!this.disabled?X.selected===this?this.tabIndex:-1:this.tabIndex,V!==this._previousTabIndex){const te=this._inputElement?.nativeElement;te&&(te.setAttribute("tabindex",V+""),this._previousTabIndex=V)}}}return Y.\u0275fac=function(X){s.KEo()},Y.\u0275dir=s.Sc5({type:Y,viewQuery:function(X,V){if(1&X&&s.CC$(y,5),2&X){let te;s.wto(te=s.Gqi())&&(V._inputElement=te.first)}},inputs:{id:"id",name:"name",ariaLabel:[s.Wk5.None,"aria-label","ariaLabel"],ariaLabelledby:[s.Wk5.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[s.Wk5.None,"aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[s.eg9]}),Y})(),le=(()=>{class Y extends rt{constructor(X,V,te,be,Fe,Se,ot,_t){super(X,V,te,be,Fe,Se,ot,_t)}}return Y.\u0275fac=function(X){return new(X||Y)(s.GI1(ae,8),s.GI1(s.GMv),s.GI1(s.kD9),s.GI1(o.Kk),s.GI1(l.kT),s.GI1(s.qwP,8),s.GI1(B,8),s.gJ8("tabindex"))},Y.\u0275cmp=s.In1({type:Y,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(X,V){1&X&&s.qCj("focus",function(){return V._inputElement.nativeElement.focus()}),2&X&&(s.e48("tabindex",null)("id",V.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),s.eAK("mat-radio-checked",V.checked)("mat-radio-disabled",V.disabled)("_mat-animation-noopable",V._noopAnimations)("mat-primary","primary"===V.color)("mat-accent","accent"===V.color)("mat-warn","warn"===V.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[s.eg9],ngContentSelectors:I,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input",3,"id","checked","disabled","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(X,V){if(1&X&&(s.kPM(),s.I0R(0,"label",0,1)(2,"span",2),s.wR5(3,"span",3)(4,"span",4),s.I0R(5,"input",5,6),s.qCj("change",function(be){return V._onInputInteraction(be)})("click",function(be){return V._onInputClick(be)}),s.C$Y(),s.I0R(7,"span",7),s.wR5(8,"span",8),s.C$Y()(),s.I0R(9,"span",9)(10,"span",10),s.OEk(11,"\xa0"),s.C$Y(),s._Xx(12),s.C$Y()()),2&X){const te=s.Gew(1);s.e48("for",V.inputId),s.yG2(5),s.E7m("id",V.inputId)("checked",V.checked)("disabled",V.disabled)("required",V.required),s.e48("name",V.name)("value",V.value)("aria-label",V.ariaLabel)("aria-labelledby",V.ariaLabelledby)("aria-describedby",V.ariaDescribedby),s.yG2(2),s.E7m("matRippleTrigger",te)("matRippleDisabled",V._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",s.S45(17,_,V._noopAnimations?0:150)),s.yG2(2),s.eAK("mat-radio-label-before","before"==V.labelPosition)}},dependencies:[d.UZ],styles:['.mat-radio-button{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-radio-label{-webkit-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{opacity:0;position:absolute;top:0;left:0;margin:0;width:100%;height:100%;cursor:inherit;z-index:-1}.mat-radio-input:focus~.mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}'],encapsulation:2,changeDetection:0}),Y})(),ye=(()=>{class Y{}return Y.\u0275fac=function(X){return new(X||Y)},Y.\u0275mod=s.a4G({type:Y}),Y.\u0275inj=s.s3X({imports:[d.KE,d.AN,d.AN]}),Y})()},1348:(lt,me,u)=>{"use strict";u.d(me,{d5:()=>Ot,kX:()=>vt});var s=u(68),d=u(1368),o=u(2116),f=u(9544),l=u(3040),i=u(3572),y=u(4723),_=u(1900),I=u(7712),B=u(1032),K=u(7800),ie=u(6504),oe=u(5657),Ge=u(1424),ae=u(3412),Z=u(5568),_e=u(7368),j=u(3992),ke=u(6684),rt=u(4704),le=u(4e3),ye=u(3616),Y=u(9684);const g=["trigger"],X=["panel"];function V(Ke,Ne){if(1&Ke&&(o.I0R(0,"span",8),o.OEk(1),o.C$Y()),2&Ke){const He=o.GaO();o.yG2(),o.cNF(He.placeholder)}}function te(Ke,Ne){if(1&Ke&&(o.I0R(0,"span",12),o.OEk(1),o.C$Y()),2&Ke){const He=o.GaO(2);o.yG2(),o.cNF(He.triggerValue)}}function be(Ke,Ne){1&Ke&&o._Xx(0,0,["*ngSwitchCase","true"])}function Fe(Ke,Ne){if(1&Ke&&(o.I0R(0,"span",9),o.yuY(1,te,2,1,"span",10)(2,be,1,0,"ng-content",11),o.C$Y()),2&Ke){const He=o.GaO();o.E7m("ngSwitch",!!He.customTrigger),o.yG2(2),o.E7m("ngSwitchCase",!0)}}function Se(Ke,Ne){if(1&Ke){const He=o.KQA();o.I0R(0,"div",13)(1,"div",14,15),o.qCj("@transformPanel.done",function(st){o.usT(He);const re=o.GaO();return o.CGJ(re._panelDoneAnimatingStream.next(st.toState))})("keydown",function(st){o.usT(He);const re=o.GaO();return o.CGJ(re._handleKeydown(st))}),o._Xx(3,1),o.C$Y()()}if(2&Ke){const He=o.GaO();o.E7m("@transformPanelWrap",void 0),o.yG2(),o.uQ9("mat-select-panel ",He._getPanelTheme(),""),o.m4B("transform-origin",He._transformOrigin)("font-size",He._triggerFontSize,"px"),o.E7m("ngClass",He.panelClass)("@transformPanel",He.multiple?"showing-multiple":"showing"),o.e48("id",He.id+"-panel")("aria-multiselectable",He.multiple)("aria-label",He.ariaLabel||null)("aria-labelledby",He._getPanelAriaLabelledby())}}const ot=[[["mat-select-trigger"]],"*"],_t=["mat-select-trigger","*"],pt={transformPanelWrap:(0,Y.gV)("transformPanelWrap",[(0,Y.aK)("* => void",(0,Y.kt)("@transformPanel",[(0,Y.Ql)()],{optional:!0}))]),transformPanel:(0,Y.gV)("transformPanel",[(0,Y.K2)("void",(0,Y.wb)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,Y.K2)("showing",(0,Y.wb)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,Y.K2)("showing-multiple",(0,Y.wb)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,Y.aK)("void => *",(0,Y.Cs)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,Y.aK)("* => void",(0,Y.Cs)("100ms 25ms linear",(0,Y.wb)({opacity:0})))])};let ce=0;const dt=new o.UbH("mat-select-scroll-strategy"),Ye=new o.UbH("MAT_SELECT_CONFIG"),Xe={provide:dt,deps:[s.mc],useFactory:function Et(Ke){return()=>Ke.scrollStrategies.reposition()}};class z{constructor(Ne,He){this.source=Ne,this.value=He}}const xe=(0,f.bc)((0,f.S)((0,f.YB)((0,f.Sk)(class{constructor(Ke,Ne,He,Me,st){this._elementRef=Ke,this._defaultErrorStateMatcher=Ne,this._parentForm=He,this._parentFormGroup=Me,this.ngControl=st,this.stateChanges=new oe.E}})))),Ct=new o.UbH("MatSelectTrigger");let gt=(()=>{class Ke extends xe{constructor(He,Me,st,re,Re,pe,Mt,$t,zt,bn,Un,jn,dn,kn){super(Re,re,Mt,$t,bn),this._viewportRuler=He,this._changeDetectorRef=Me,this._ngZone=st,this._dir=pe,this._parentFormField=zt,this._liveAnnouncer=dn,this._defaultOptions=kn,this._panelOpen=!1,this._compareWith=(Ln,Bn)=>Ln===Bn,this._uid="mat-select-"+ce++,this._triggerAriaLabelledBy=null,this._destroy=new oe.E,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+ce++,this._panelDoneAnimatingStream=new oe.E,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=(0,Ge.Q)(()=>{const Ln=this.options;return Ln?Ln.changes.pipe((0,Z.W)(Ln),(0,_e.G)(()=>(0,ae.U)(...Ln.map(Bn=>Bn.onSelectionChange)))):this._ngZone.onStable.pipe((0,j.U)(1),(0,_e.G)(()=>this.optionSelectionChanges))}),this.openedChange=new o._w7,this._openedStream=this.openedChange.pipe((0,ke.I)(Ln=>Ln),(0,rt.k)(()=>{})),this._closedStream=this.openedChange.pipe((0,ke.I)(Ln=>!Ln),(0,rt.k)(()=>{})),this.selectionChange=new o._w7,this.valueChange=new o._w7,this.ngControl&&(this.ngControl.valueAccessor=this),null!=kn?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=kn.typeaheadDebounceInterval),this._scrollStrategyFactory=jn,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Un)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(He){this._placeholder=He,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(ie.AQ.required)??!1}set required(He){this._required=(0,I.W6)(He),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(He){this._multiple=(0,I.W6)(He)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(He){this._disableOptionCentering=(0,I.W6)(He)}get compareWith(){return this._compareWith}set compareWith(He){this._compareWith=He,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(He){this._assignValue(He)&&this._onChange(He)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(He){this._typeaheadDebounceInterval=(0,I.wZ)(He)}get id(){return this._id}set id(He){this._id=He||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new B.e2(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,le.a)(),(0,ye.a)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,ye.a)(this._destroy)).subscribe(He=>{He.added.forEach(Me=>Me.select()),He.removed.forEach(Me=>Me.deselect())}),this.options.changes.pipe((0,Z.W)(null),(0,ye.a)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const He=this._getTriggerAriaLabelledby(),Me=this.ngControl;if(He!==this._triggerAriaLabelledBy){const st=this._elementRef.nativeElement;this._triggerAriaLabelledBy=He,He?st.setAttribute("aria-labelledby",He):st.removeAttribute("aria-labelledby")}Me&&(this._previousControl!==Me.control&&(void 0!==this._previousControl&&null!==Me.disabled&&Me.disabled!==this.disabled&&(this.disabled=Me.disabled),this._previousControl=Me.control),this.updateErrorState())}ngOnChanges(He){(He.disabled||He.userAriaDescribedBy)&&this.stateChanges.next(),He.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(He){this._assignValue(He)}registerOnChange(He){this._onChange=He}registerOnTouched(He){this._onTouched=He}setDisabledState(He){this.disabled=He,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){const He=this._selectionModel.selected.map(Me=>Me.viewValue);return this._isRtl()&&He.reverse(),He.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(He){this.disabled||(this.panelOpen?this._handleOpenKeydown(He):this._handleClosedKeydown(He))}_handleClosedKeydown(He){const Me=He.keyCode,st=Me===K.Oq||Me===K.qI||Me===K.Mx||Me===K.a4,re=Me===K.wJ||Me===K.Gi,Re=this._keyManager;if(!Re.isTyping()&&re&&!(0,K.Yp)(He)||(this.multiple||He.altKey)&&st)He.preventDefault(),this.open();else if(!this.multiple){const pe=this.selected;Re.onKeydown(He);const Mt=this.selected;Mt&&pe!==Mt&&this._liveAnnouncer.announce(Mt.viewValue,1e4)}}_handleOpenKeydown(He){const Me=this._keyManager,st=He.keyCode,re=st===K.Oq||st===K.qI,Re=Me.isTyping();if(re&&He.altKey)He.preventDefault(),this.close();else if(Re||st!==K.wJ&&st!==K.Gi||!Me.activeItem||(0,K.Yp)(He))if(!Re&&this._multiple&&st===K.A&&He.ctrlKey){He.preventDefault();const pe=this.options.some(Mt=>!Mt.disabled&&!Mt.selected);this.options.forEach(Mt=>{Mt.disabled||(pe?Mt.select():Mt.deselect())})}else{const pe=Me.activeItemIndex;Me.onKeydown(He),this._multiple&&re&&He.shiftKey&&Me.activeItem&&Me.activeItemIndex!==pe&&Me.activeItem._selectViaInteraction()}else He.preventDefault(),Me.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,j.U)(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(He){if(this._selectionModel.selected.forEach(Me=>Me.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&He)Array.isArray(He),He.forEach(Me=>this._selectOptionByValue(Me)),this._sortValues();else{const Me=this._selectOptionByValue(He);Me?this._keyManager.updateActiveItem(Me):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(He){const Me=this.options.find(st=>{if(this._selectionModel.isSelected(st))return!1;try{return null!=st.value&&this._compareWith(st.value,He)}catch{return!1}});return Me&&this._selectionModel.select(Me),Me}_assignValue(He){return!!(He!==this._value||this._multiple&&Array.isArray(He))&&(this.options&&this._setSelectionByValue(He),this._value=He,!0)}_initKeyManager(){this._keyManager=new y.mJ(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,ye.a)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,ye.a)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const He=(0,ae.U)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,ye.a)(He)).subscribe(Me=>{this._onSelect(Me.source,Me.isUserInput),Me.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,ae.U)(...this.options.map(Me=>Me._stateChanges)).pipe((0,ye.a)(He)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(He,Me){const st=this._selectionModel.isSelected(He);null!=He.value||this._multiple?(st!==He.selected&&(He.selected?this._selectionModel.select(He):this._selectionModel.deselect(He)),Me&&this._keyManager.setActiveItem(He),this.multiple&&(this._sortValues(),Me&&this.focus())):(He.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(He.value)),st!==this._selectionModel.isSelected(He)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const He=this.options.toArray();this._selectionModel.sort((Me,st)=>this.sortComparator?this.sortComparator(Me,st,He):He.indexOf(Me)-He.indexOf(st)),this.stateChanges.next()}}_propagateChanges(He){let Me=null;Me=this.multiple?this.selected.map(st=>st.value):this.selected?this.selected.value:He,this._value=Me,this.valueChange.emit(Me),this._onChange(Me),this.selectionChange.emit(this._getChangeEvent(Me)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(He){this._elementRef.nativeElement.focus(He)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const He=this._parentFormField?.getLabelId();return this.ariaLabelledby?(He?He+" ":"")+this.ariaLabelledby:He}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const He=this._parentFormField?.getLabelId();let Me=(He?He+" ":"")+this._valueId;return this.ariaLabelledby&&(Me+=" "+this.ariaLabelledby),Me}_panelDoneAnimating(He){this.openedChange.emit(He)}setDescribedByIds(He){He.length?this._elementRef.nativeElement.setAttribute("aria-describedby",He.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return Ke.\u0275fac=function(He){return new(He||Ke)(o.GI1(i.S8),o.GI1(o.kD9),o.GI1(o.WW2),o.GI1(f.u9),o.GI1(o.GMv),o.GI1(_.yG,8),o.GI1(ie.SC,8),o.GI1(ie.uW,8),o.GI1(l.Y$,8),o.GI1(ie.eq,10),o.gJ8("tabindex"),o.GI1(dt),o.GI1(y.mE),o.GI1(Ye,8))},Ke.\u0275dir=o.Sc5({type:Ke,viewQuery:function(He,Me){if(1&He&&(o.CC$(g,5),o.CC$(X,5),o.CC$(s.eC,5)),2&He){let st;o.wto(st=o.Gqi())&&(Me.trigger=st.first),o.wto(st=o.Gqi())&&(Me.panel=st.first),o.wto(st=o.Gqi())&&(Me._overlayDir=st.first)}},inputs:{userAriaDescribedBy:[o.Wk5.None,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:[o.Wk5.None,"aria-label","ariaLabel"],ariaLabelledby:[o.Wk5.None,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[o.eg9,o.SYr]}),Ke})(),vt=(()=>{class Ke extends gt{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(He,Me,st){const re=this._getItemHeight();return Math.min(Math.max(0,re*He-Me+re/2),st)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,ye.a)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,j.U)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(He){const Me=(0,f.aq)(He,this.options,this.optionGroups),st=this._getItemHeight();this.panel.nativeElement.scrollTop=0===He&&1===Me?0:(0,f.ms)((He+Me)*st,st,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(He){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(He)}_getChangeEvent(He){return new z(this,He)}_calculateOverlayOffsetX(){const He=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),Me=this._viewportRuler.getViewportSize(),st=this._isRtl(),re=this.multiple?56:32;let Re;if(this.multiple)Re=40;else if(this.disableOptionCentering)Re=16;else{let $t=this._selectionModel.selected[0]||this.options.first;Re=$t&&$t.group?32:16}st||(Re*=-1);const pe=0-(He.left+Re-(st?re:0)),Mt=He.right+Re-Me.width+(st?0:re);pe>0?Re+=pe+8:Mt>0&&(Re-=Mt+8),this._overlayDir.offsetX=Math.round(Re),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(He,Me,st){const re=this._getItemHeight(),Re=(re-this._triggerRect.height)/2,pe=Math.floor(256/re);let Mt;return this.disableOptionCentering?0:(Mt=0===this._scrollTop?He*re:this._scrollTop===st?(He-(this._getItemCount()-pe))*re+(re-(this._getItemCount()*re-256)%re):Me-re/2,Math.round(-1*Mt-Re))}_checkOverlayWithinViewport(He){const Me=this._getItemHeight(),st=this._viewportRuler.getViewportSize(),re=this._triggerRect.top-8,Re=st.height-this._triggerRect.bottom-8,pe=Math.abs(this._offsetY),$t=Math.min(this._getItemCount()*Me,256)-pe-this._triggerRect.height;$t>Re?this._adjustPanelUp($t,Re):pe>re?this._adjustPanelDown(pe,re,He):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(He,Me){const st=Math.round(He-Me);this._scrollTop-=st,this._offsetY-=st,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(He,Me,st){const re=Math.round(He-Me);if(this._scrollTop+=re,this._offsetY+=re,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=st)return this._scrollTop=st,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const He=this._getItemHeight(),Me=this._getItemCount(),st=Math.min(Me*He,256),Re=Me*He-st;let pe;pe=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),pe+=(0,f.aq)(pe,this.options,this.optionGroups);const Mt=st/2;this._scrollTop=this._calculateOverlayScroll(pe,Mt,Re),this._offsetY=this._calculateOverlayOffsetY(pe,Mt,Re),this._checkOverlayWithinViewport(Re)}_getOriginBasedOnOption(){const He=this._getItemHeight(),Me=(He-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-Me+He/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return Ke.\u0275fac=(()=>{let Ne;return function(Me){return(Ne||(Ne=o.otF(Ke)))(Me||Ke)}})(),Ke.\u0275cmp=o.In1({type:Ke,selectors:[["mat-select"]],contentQueries:function(He,Me,st){if(1&He&&(o.szK(st,Ct,5),o.szK(st,f.I5,5),o.szK(st,f.KG,5)),2&He){let re;o.wto(re=o.Gqi())&&(Me.customTrigger=re.first),o.wto(re=o.Gqi())&&(Me.options=re),o.wto(re=o.Gqi())&&(Me.optionGroups=re)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:19,hostBindings:function(He,Me){1&He&&o.qCj("keydown",function(re){return Me._handleKeydown(re)})("focus",function(){return Me._onFocus()})("blur",function(){return Me._onBlur()}),2&He&&(o.e48("id",Me.id)("tabindex",Me.tabIndex)("aria-controls",Me.panelOpen?Me.id+"-panel":null)("aria-expanded",Me.panelOpen)("aria-label",Me.ariaLabel||null)("aria-required",Me.required.toString())("aria-disabled",Me.disabled.toString())("aria-invalid",Me.errorState)("aria-activedescendant",Me._getAriaActiveDescendant()),o.eAK("mat-select-disabled",Me.disabled)("mat-select-invalid",Me.errorState)("mat-select-required",Me.required)("mat-select-empty",Me.empty)("mat-select-multiple",Me.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[o.M5G([{provide:l.u0,useExisting:Ke},{provide:f.K6,useExisting:Ke}]),o.eg9],ngContentSelectors:_t,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(He,Me){if(1&He&&(o.kPM(ot),o.I0R(0,"div",0,1),o.qCj("click",function(){return Me.toggle()}),o.I0R(3,"div",2),o.yuY(4,V,2,1,"span",3)(5,Fe,3,2,"span",4),o.C$Y(),o.I0R(6,"div",5),o.wR5(7,"div",6),o.C$Y()(),o.yuY(8,Se,4,14,"ng-template",7),o.qCj("backdropClick",function(){return Me.close()})("attach",function(){return Me._onAttached()})("detach",function(){return Me.close()})),2&He){const st=o.Gew(1);o.e48("aria-owns",Me.panelOpen?Me.id+"-panel":null),o.yG2(3),o.E7m("ngSwitch",Me.empty),o.e48("id",Me._valueId),o.yG2(),o.E7m("ngSwitchCase",!0),o.yG2(),o.E7m("ngSwitchCase",!1),o.yG2(3),o.E7m("cdkConnectedOverlayPanelClass",Me._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",Me._scrollStrategy)("cdkConnectedOverlayOrigin",st)("cdkConnectedOverlayOpen",Me.panelOpen)("cdkConnectedOverlayPositions",Me._positions)("cdkConnectedOverlayMinWidth",null==Me._triggerRect?null:Me._triggerRect.width)("cdkConnectedOverlayOffsetY",Me._offsetY)}},dependencies:[d.QF,d.Ko,d.Wm,d.UZ,s.eC,s.wW],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{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;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[pt.transformPanelWrap,pt.transformPanel]},changeDetection:0}),Ke})(),Ot=(()=>{class Ke{}return Ke.\u0275fac=function(He){return new(He||Ke)},Ke.\u0275mod=o.a4G({type:Ke}),Ke.\u0275inj=o.s3X({providers:[Xe],imports:[d.MD,s.Y1,f.Ax,f.AN,i.uU,l.wb,f.Ax,f.AN]}),Ke})()},3892:(lt,me,u)=>{"use strict";u.d(me,{Ar:()=>$e,Uq:()=>de,WS:()=>je,sb:()=>dt});var s=u(3572),d=u(1368),o=u(2116),f=u(9544),l=u(4723),i=u(1900),y=u(7712),_=u(7800),I=u(5792),B=u(5657),K=u(8420),ie=u(3412),oe=u(6684),Ge=u(4704),ae=u(320),Z=u(3616),_e=u(4e3),j=u(3992),ke=u(5568),rt=u(4680),le=u(9684);const ye=["*"],Y=["content"];function g(Et,Ye){if(1&Et){const Xe=o.KQA();o.I0R(0,"div",2),o.qCj("click",function(){o.usT(Xe);const xe=o.GaO();return o.CGJ(xe._onBackdropClicked())}),o.C$Y()}if(2&Et){const Xe=o.GaO();o.eAK("mat-drawer-shown",Xe._isShowingBackdrop())}}function X(Et,Ye){1&Et&&(o.I0R(0,"mat-drawer-content"),o._Xx(1,2),o.C$Y())}const V=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],te=["mat-drawer","mat-drawer-content","*"];function be(Et,Ye){if(1&Et){const Xe=o.KQA();o.I0R(0,"div",2),o.qCj("click",function(){o.usT(Xe);const xe=o.GaO();return o.CGJ(xe._onBackdropClicked())}),o.C$Y()}if(2&Et){const Xe=o.GaO();o.eAK("mat-drawer-shown",Xe._isShowingBackdrop())}}function Fe(Et,Ye){1&Et&&(o.I0R(0,"mat-sidenav-content"),o._Xx(1,2),o.C$Y())}const Se=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],ot=["mat-sidenav","mat-sidenav-content","*"],pt={transformDrawer:(0,le.gV)("transform",[(0,le.K2)("open, open-instant",(0,le.wb)({transform:"none",visibility:"visible"})),(0,le.K2)("void",(0,le.wb)({"box-shadow":"none",visibility:"hidden"})),(0,le.aK)("void => open-instant",(0,le.Cs)("0ms")),(0,le.aK)("void <=> open, open-instant => void",(0,le.Cs)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},qe=new o.UbH("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function ce(){return!1}}),Je=new o.UbH("MAT_DRAWER_CONTAINER");let Ae=(()=>{class Et extends s.Ci{constructor(Xe,z,xe,Ct,Kt){super(xe,Ct,Kt),this._changeDetectorRef=Xe,this._container=z}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return Et.\u0275fac=function(Xe){return new(Xe||Et)(o.GI1(o.kD9),o.GI1((0,o.wd)(()=>H)),o.GI1(o.GMv),o.GI1(s.Yn),o.GI1(o.WW2))},Et.\u0275cmp=o.In1({type:Et,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(Xe,z){2&Xe&&o.m4B("margin-left",z._container._contentMargins.left,"px")("margin-right",z._container._contentMargins.right,"px")},features:[o.M5G([{provide:s.Ci,useExisting:Et}]),o.eg9],ngContentSelectors:ye,decls:1,vars:0,template:function(Xe,z){1&Xe&&(o.kPM(),o._Xx(0))},encapsulation:2,changeDetection:0}),Et})(),L=(()=>{class Et{constructor(Xe,z,xe,Ct,Kt,gt,vt,Ot){this._elementRef=Xe,this._focusTrapFactory=z,this._focusMonitor=xe,this._platform=Ct,this._ngZone=Kt,this._interactivityChecker=gt,this._doc=vt,this._container=Ot,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new B.E,this._animationEnd=new B.E,this._animationState="void",this.openedChange=new o._w7(!0),this._openedStream=this.openedChange.pipe((0,oe.I)(Ke=>Ke),(0,Ge.k)(()=>{})),this.openedStart=this._animationStarted.pipe((0,oe.I)(Ke=>Ke.fromState!==Ke.toState&&0===Ke.toState.indexOf("open")),(0,ae.e)(void 0)),this._closedStream=this.openedChange.pipe((0,oe.I)(Ke=>!Ke),(0,Ge.k)(()=>{})),this.closedStart=this._animationStarted.pipe((0,oe.I)(Ke=>Ke.fromState!==Ke.toState&&"void"===Ke.toState),(0,ae.e)(void 0)),this._destroyed=new B.E,this.onPositionChanged=new o._w7,this._modeChanged=new B.E,this.openedChange.subscribe(Ke=>{Ke?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,K.w)(this._elementRef.nativeElement,"keydown").pipe((0,oe.I)(Ke=>Ke.keyCode===_.UX&&!this.disableClose&&!(0,_.Yp)(Ke)),(0,Z.a)(this._destroyed)).subscribe(Ke=>this._ngZone.run(()=>{this.close(),Ke.stopPropagation(),Ke.preventDefault()}))}),this._animationEnd.pipe((0,_e.a)((Ke,Ne)=>Ke.fromState===Ne.fromState&&Ke.toState===Ne.toState)).subscribe(Ke=>{const{fromState:Ne,toState:He}=Ke;(0===He.indexOf("open")&&"void"===Ne||"void"===He&&0===Ne.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(Xe){(Xe="end"===Xe?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(Xe),this._position=Xe,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(Xe){this._mode=Xe,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(Xe){this._disableClose=(0,y.W6)(Xe)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(Xe){("true"===Xe||"false"===Xe||null==Xe)&&(Xe=(0,y.W6)(Xe)),this._autoFocus=Xe}get opened(){return this._opened}set opened(Xe){this.toggle((0,y.W6)(Xe))}_forceFocus(Xe,z){this._interactivityChecker.isFocusable(Xe)||(Xe.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const xe=()=>{Xe.removeEventListener("blur",xe),Xe.removeEventListener("mousedown",xe),Xe.removeAttribute("tabindex")};Xe.addEventListener("blur",xe),Xe.addEventListener("mousedown",xe)})),Xe.focus(z)}_focusByCssSelector(Xe,z){let xe=this._elementRef.nativeElement.querySelector(Xe);xe&&this._forceFocus(xe,z)}_takeFocus(){if(!this._focusTrap)return;const Xe=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(z=>{!z&&"function"==typeof this._elementRef.nativeElement.focus&&Xe.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(Xe){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,Xe):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const Xe=this._doc.activeElement;return!!Xe&&this._elementRef.nativeElement.contains(Xe)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&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(Xe){return this.toggle(!0,Xe)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(Xe=!this.opened,z){Xe&&z&&(this._openedVia=z);const xe=this._setOpen(Xe,!Xe&&this._isFocusWithinDrawer(),this._openedVia||"program");return Xe||(this._openedVia=null),xe}_setOpen(Xe,z,xe){return this._opened=Xe,Xe?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",z&&this._restoreFocus(xe)),this._updateFocusTrapState(),new Promise(Ct=>{this.openedChange.pipe((0,j.U)(1)).subscribe(Kt=>Ct(Kt?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(Xe){const z=this._elementRef.nativeElement,xe=z.parentNode;"end"===Xe?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),xe.insertBefore(this._anchor,z)),xe.appendChild(z)):this._anchor&&this._anchor.parentNode.insertBefore(z,this._anchor)}}return Et.\u0275fac=function(Xe){return new(Xe||Et)(o.GI1(o.GMv),o.GI1(l.G),o.GI1(l.Kk),o.GI1(I.WU),o.GI1(o.WW2),o.GI1(l.OE),o.GI1(d.Ud,8),o.GI1(Je,8))},Et.\u0275cmp=o.In1({type:Et,selectors:[["mat-drawer"]],viewQuery:function(Xe,z){if(1&Xe&&o.CC$(Y,5),2&Xe){let xe;o.wto(xe=o.Gqi())&&(z._content=xe.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(Xe,z){1&Xe&&o.wcw("@transform.start",function(Ct){return z._animationStarted.next(Ct)})("@transform.done",function(Ct){return z._animationEnd.next(Ct)}),2&Xe&&(o.e48("align",null),o.Swe("@transform",z._animationState),o.eAK("mat-drawer-end","end"===z.position)("mat-drawer-over","over"===z.mode)("mat-drawer-push","push"===z.mode)("mat-drawer-side","side"===z.mode)("mat-drawer-opened",z.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:ye,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(Xe,z){1&Xe&&(o.kPM(),o.I0R(0,"div",0,1),o._Xx(2),o.C$Y())},dependencies:[s.Ci],encapsulation:2,data:{animation:[pt.transformDrawer]},changeDetection:0}),Et})(),H=(()=>{class Et{constructor(Xe,z,xe,Ct,Kt,gt=!1,vt){this._dir=Xe,this._element=z,this._ngZone=xe,this._changeDetectorRef=Ct,this._animationMode=vt,this._drawers=new o.VhX,this.backdropClick=new o._w7,this._destroyed=new B.E,this._doCheckSubject=new B.E,this._contentMargins={left:null,right:null},this._contentMarginChanges=new B.E,Xe&&Xe.change.pipe((0,Z.a)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),Kt.change().pipe((0,Z.a)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=gt}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(Xe){this._autosize=(0,y.W6)(Xe)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(Xe){this._backdropOverride=null==Xe?null:(0,y.W6)(Xe)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,ke.W)(this._allDrawers),(0,Z.a)(this._destroyed)).subscribe(Xe=>{this._drawers.reset(Xe.filter(z=>!z._container||z._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,ke.W)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(Xe=>{this._watchDrawerToggle(Xe),this._watchDrawerPosition(Xe),this._watchDrawerMode(Xe)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,rt.o)(10),(0,Z.a)(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(Xe=>Xe.open())}close(){this._drawers.forEach(Xe=>Xe.close())}updateContentMargins(){let Xe=0,z=0;if(this._left&&this._left.opened)if("side"==this._left.mode)Xe+=this._left._getWidth();else if("push"==this._left.mode){const xe=this._left._getWidth();Xe+=xe,z-=xe}if(this._right&&this._right.opened)if("side"==this._right.mode)z+=this._right._getWidth();else if("push"==this._right.mode){const xe=this._right._getWidth();z+=xe,Xe-=xe}Xe=Xe||null,z=z||null,(Xe!==this._contentMargins.left||z!==this._contentMargins.right)&&(this._contentMargins={left:Xe,right:z},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(Xe){Xe._animationStarted.pipe((0,oe.I)(z=>z.fromState!==z.toState),(0,Z.a)(this._drawers.changes)).subscribe(z=>{"open-instant"!==z.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==Xe.mode&&Xe.openedChange.pipe((0,Z.a)(this._drawers.changes)).subscribe(()=>this._setContainerClass(Xe.opened))}_watchDrawerPosition(Xe){Xe&&Xe.onPositionChanged.pipe((0,Z.a)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,j.U)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(Xe){Xe&&Xe._modeChanged.pipe((0,Z.a)((0,ie.U)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(Xe){const z=this._element.nativeElement.classList,xe="mat-drawer-container-has-open";Xe?z.add(xe):z.remove(xe)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(Xe=>{"end"==Xe.position?this._end=Xe:this._start=Xe}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(Xe=>Xe&&!Xe.disableClose&&this._canHaveBackdrop(Xe)).forEach(Xe=>Xe._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(Xe){return"side"!==Xe.mode||!!this._backdropOverride}_isDrawerOpen(Xe){return null!=Xe&&Xe.opened}}return Et.\u0275fac=function(Xe){return new(Xe||Et)(o.GI1(i.yG,8),o.GI1(o.GMv),o.GI1(o.WW2),o.GI1(o.kD9),o.GI1(s.S8),o.GI1(qe),o.GI1(o.qwP,8))},Et.\u0275cmp=o.In1({type:Et,selectors:[["mat-drawer-container"]],contentQueries:function(Xe,z,xe){if(1&Xe&&(o.szK(xe,Ae,5),o.szK(xe,L,5)),2&Xe){let Ct;o.wto(Ct=o.Gqi())&&(z._content=Ct.first),o.wto(Ct=o.Gqi())&&(z._allDrawers=Ct)}},viewQuery:function(Xe,z){if(1&Xe&&o.CC$(Ae,5),2&Xe){let xe;o.wto(xe=o.Gqi())&&(z._userContent=xe.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(Xe,z){2&Xe&&o.eAK("mat-drawer-container-explicit-backdrop",z._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[o.M5G([{provide:Je,useExisting:Et}])],ngContentSelectors:te,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(Xe,z){1&Xe&&(o.kPM(V),o.yuY(0,g,1,2,"div",0),o._Xx(1),o._Xx(2,1),o.yuY(3,X,2,0,"mat-drawer-content",1)),2&Xe&&(o.E7m("ngIf",z.hasBackdrop),o.yG2(3),o.E7m("ngIf",!z._content))},dependencies:[d.u_,Ae],styles:['.mat-drawer-container{position:relative;z-index:1;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}.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}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.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;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)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .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)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),Et})(),de=(()=>{class Et extends Ae{constructor(Xe,z,xe,Ct,Kt){super(Xe,z,xe,Ct,Kt)}}return Et.\u0275fac=function(Xe){return new(Xe||Et)(o.GI1(o.kD9),o.GI1((0,o.wd)(()=>je)),o.GI1(o.GMv),o.GI1(s.Yn),o.GI1(o.WW2))},Et.\u0275cmp=o.In1({type:Et,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(Xe,z){2&Xe&&o.m4B("margin-left",z._container._contentMargins.left,"px")("margin-right",z._container._contentMargins.right,"px")},features:[o.M5G([{provide:s.Ci,useExisting:Et}]),o.eg9],ngContentSelectors:ye,decls:1,vars:0,template:function(Xe,z){1&Xe&&(o.kPM(),o._Xx(0))},encapsulation:2,changeDetection:0}),Et})(),$e=(()=>{class Et extends L{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(Xe){this._fixedInViewport=(0,y.W6)(Xe)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(Xe){this._fixedTopGap=(0,y.wZ)(Xe)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(Xe){this._fixedBottomGap=(0,y.wZ)(Xe)}}return Et.\u0275fac=(()=>{let Ye;return function(z){return(Ye||(Ye=o.otF(Et)))(z||Et)}})(),Et.\u0275cmp=o.In1({type:Et,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(Xe,z){2&Xe&&(o.e48("align",null),o.m4B("top",z.fixedInViewport?z.fixedTopGap:null,"px")("bottom",z.fixedInViewport?z.fixedBottomGap:null,"px"),o.eAK("mat-drawer-end","end"===z.position)("mat-drawer-over","over"===z.mode)("mat-drawer-push","push"===z.mode)("mat-drawer-side","side"===z.mode)("mat-drawer-opened",z.opened)("mat-sidenav-fixed",z.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[o.eg9],ngContentSelectors:ye,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(Xe,z){1&Xe&&(o.kPM(),o.I0R(0,"div",0,1),o._Xx(2),o.C$Y())},dependencies:[s.Ci],encapsulation:2,data:{animation:[pt.transformDrawer]},changeDetection:0}),Et})(),je=(()=>{class Et extends H{}return Et.\u0275fac=(()=>{let Ye;return function(z){return(Ye||(Ye=o.otF(Et)))(z||Et)}})(),Et.\u0275cmp=o.In1({type:Et,selectors:[["mat-sidenav-container"]],contentQueries:function(Xe,z,xe){if(1&Xe&&(o.szK(xe,de,5),o.szK(xe,$e,5)),2&Xe){let Ct;o.wto(Ct=o.Gqi())&&(z._content=Ct.first),o.wto(Ct=o.Gqi())&&(z._allDrawers=Ct)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(Xe,z){2&Xe&&o.eAK("mat-drawer-container-explicit-backdrop",z._backdropOverride)},exportAs:["matSidenavContainer"],features:[o.M5G([{provide:Je,useExisting:Et}]),o.eg9],ngContentSelectors:ot,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(Xe,z){1&Xe&&(o.kPM(Se),o.yuY(0,be,1,2,"div",0),o._Xx(1),o._Xx(2,1),o.yuY(3,Fe,2,0,"mat-sidenav-content",1)),2&Xe&&(o.E7m("ngIf",z.hasBackdrop),o.yG2(3),o.E7m("ngIf",!z._content))},dependencies:[d.u_,de],styles:['.mat-drawer-container{position:relative;z-index:1;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}.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}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.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;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)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .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)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),Et})(),dt=(()=>{class Et{}return Et.\u0275fac=function(Xe){return new(Xe||Et)},Et.\u0275mod=o.a4G({type:Et}),Et.\u0275inj=o.s3X({imports:[d.MD,f.AN,s.uU,s.uU,f.AN]}),Et})()},176:(lt,me,u)=>{"use strict";u.d(me,{GE:()=>rt,cP:()=>Z});var s=u(6640),d=u(2116),o=u(9544),f=u(4723),l=u(7712),i=u(6504);const y=["input"],_=le=>({enterDuration:le}),I=["*"],B=new d.UbH("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let K=0;const ie={provide:i.Y6,useExisting:(0,d.wd)(()=>Z),multi:!0};class oe{constructor(ye,Y){this.source=ye,this.checked=Y}}const Ge=(0,o.S)((0,o.i)((0,o.bc)((0,o.YB)(class{constructor(le){this._elementRef=le}}))));let ae=(()=>{class le extends Ge{constructor(Y,g,X,V,te,be,Fe){super(Y),this._focusMonitor=g,this._changeDetectorRef=X,this.defaults=te,this._onChange=Se=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new d._w7,this.toggleChange=new d._w7,this.tabIndex=parseInt(V)||0,this.color=this.defaultColor=te.color||"accent",this._noopAnimations="NoopAnimations"===be,this.id=this._uniqueId=`${Fe}${++K}`}get required(){return this._required}set required(Y){this._required=(0,l.W6)(Y)}get checked(){return this._checked}set checked(Y){this._checked=(0,l.W6)(Y),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(Y=>{"keyboard"===Y||"program"===Y?this._focused=!0:Y||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(Y){this.checked=!!Y}registerOnChange(Y){this._onChange=Y}registerOnTouched(Y){this._onTouched=Y}setDisabledState(Y){this.disabled=Y,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}}return le.\u0275fac=function(Y){d.KEo()},le.\u0275dir=d.Sc5({type:le,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[d.Wk5.None,"aria-label","ariaLabel"],ariaLabelledby:[d.Wk5.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[d.Wk5.None,"aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},features:[d.eg9]}),le})(),Z=(()=>{class le extends ae{constructor(Y,g,X,V,te,be){super(Y,g,X,V,te,be,"mat-slide-toggle-")}_createChangeEvent(Y){return new oe(this,Y)}_onChangeEvent(Y){Y.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(Y){Y.stopPropagation()}focus(Y,g){g?this._focusMonitor.focusVia(this._inputElement,g,Y):this._inputElement.nativeElement.focus(Y)}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return le.\u0275fac=function(Y){return new(Y||le)(d.GI1(d.GMv),d.GI1(f.Kk),d.GI1(d.kD9),d.gJ8("tabindex"),d.GI1(B),d.GI1(d.qwP,8))},le.\u0275cmp=d.In1({type:le,selectors:[["mat-slide-toggle"]],viewQuery:function(Y,g){if(1&Y&&d.CC$(y,5),2&Y){let X;d.wto(X=d.Gqi())&&(g._inputElement=X.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(Y,g){2&Y&&(d.SoX("id",g.id),d.e48("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),d.eAK("mat-checked",g.checked)("mat-disabled",g.disabled)("mat-slide-toggle-label-before","before"==g.labelPosition)("_mat-animation-noopable",g._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[d.M5G([ie]),d.eg9],ngContentSelectors:I,decls:14,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(Y,g){if(1&Y&&(d.kPM(),d.I0R(0,"label",0,1)(2,"span",2)(3,"input",3,4),d.qCj("change",function(V){return g._onChangeEvent(V)})("click",function(V){return g._onInputClick(V)}),d.C$Y(),d.I0R(5,"span",5),d.wR5(6,"span",6),d.I0R(7,"span",7),d.wR5(8,"span",8),d.C$Y()()(),d.I0R(9,"span",9,10),d.qCj("cdkObserveContent",function(){return g._onLabelTextChange()}),d.I0R(11,"span",11),d.OEk(12,"\xa0"),d.C$Y(),d._Xx(13),d.C$Y()()),2&Y){const X=d.Gew(1),V=d.Gew(10);d.e48("for",g.inputId),d.yG2(2),d.eAK("mat-slide-toggle-bar-no-side-margin",!V.textContent||!V.textContent.trim()),d.yG2(),d.E7m("id",g.inputId)("required",g.required)("tabIndex",g.tabIndex)("checked",g.checked)("disabled",g.disabled),d.e48("name",g.name)("aria-checked",g.checked)("aria-label",g.ariaLabel)("aria-labelledby",g.ariaLabelledby)("aria-describedby",g.ariaDescribedby),d.yG2(4),d.E7m("matRippleTrigger",X)("matRippleDisabled",g.disableRipple||g.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",d.S45(18,_,g._noopAnimations?0:150))}},dependencies:[o.UZ,s.Wk],styles:['.mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.mat-slide-toggle-input:focus~.mat-slide-toggle-thumb-container .mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}'],encapsulation:2,changeDetection:0}),le})(),ke=(()=>{class le{}return le.\u0275fac=function(Y){return new(Y||le)},le.\u0275mod=d.a4G({type:le}),le.\u0275inj=d.s3X({}),le})(),rt=(()=>{class le{}return le.\u0275fac=function(Y){return new(Y||le)},le.\u0275mod=d.a4G({type:le}),le.\u0275inj=d.s3X({imports:[ke,o.KE,o.AN,s.IT,ke,o.AN]}),le})()},8376:(lt,me,u)=>{"use strict";u.d(me,{uE:()=>g,yS:()=>be});var s=u(68),d=u(107),o=u(1368),f=u(2116),l=u(9544),i=u(8760),y=u(5657),_=u(5792),I=u(3992),B=u(3616),K=u(9684),ie=u(4723),oe=u(1216);function Ge(Fe,Se){if(1&Fe){const ot=f.KQA();f.I0R(0,"div",2)(1,"button",3),f.qCj("click",function(){f.usT(ot);const pt=f.GaO();return f.CGJ(pt.action())}),f.OEk(2),f.C$Y()()}if(2&Fe){const ot=f.GaO();f.yG2(2),f.cNF(ot.data.action)}}function ae(Fe,Se){}const Z=new f.UbH("MatSnackBarData");class _e{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const j=Math.pow(2,31)-1;class ke{constructor(Se,ot){this._overlayRef=ot,this._afterDismissed=new y.E,this._afterOpened=new y.E,this._onAction=new y.E,this._dismissedByAction=!1,this.containerInstance=Se,Se._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(Se){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(Se,j))}_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}}let rt=(()=>{class Fe{constructor(ot,_t){this.snackBarRef=ot,this.data=_t}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return Fe.\u0275fac=function(ot){return new(ot||Fe)(f.GI1(ke),f.GI1(Z))},Fe.\u0275cmp=f.In1({type:Fe,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(ot,_t){1&ot&&(f.I0R(0,"span",0),f.OEk(1),f.C$Y(),f.yuY(2,Ge,3,1,"div",1)),2&ot&&(f.yG2(),f.cNF(_t.data.message),f.yG2(),f.E7m("ngIf",_t.hasAction))},dependencies:[o.u_,i.Gw],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}"],encapsulation:2,changeDetection:0}),Fe})();const le={snackBarState:(0,K.gV)("state",[(0,K.K2)("void, hidden",(0,K.wb)({transform:"scale(0.8)",opacity:0})),(0,K.K2)("visible",(0,K.wb)({transform:"scale(1)",opacity:1})),(0,K.aK)("* => visible",(0,K.Cs)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,K.aK)("* => void, * => hidden",(0,K.Cs)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,K.wb)({opacity:0})))])};let ye=(()=>{class Fe extends d.Ef{constructor(ot,_t,pt,Gt,qe){super(),this._ngZone=ot,this._elementRef=_t,this._changeDetectorRef=pt,this._platform=Gt,this.snackBarConfig=qe,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new y.E,this._onExit=new y.E,this._onEnter=new y.E,this._animationState="void",this.attachDomPortal=Je=>{this._assertNotAttached();const ce=this._portalOutlet.attachDomPortal(Je);return this._afterPortalAttached(),ce},this._live="assertive"!==qe.politeness||qe.announcementMessage?"off"===qe.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(ot){this._assertNotAttached();const _t=this._portalOutlet.attachComponentPortal(ot);return this._afterPortalAttached(),_t}attachTemplatePortal(ot){this._assertNotAttached();const _t=this._portalOutlet.attachTemplatePortal(ot);return this._afterPortalAttached(),_t}onAnimationEnd(ot){const{fromState:_t,toState:pt}=ot;if(("void"===pt&&"void"!==_t||"hidden"===pt)&&this._completeExit(),"visible"===pt){const Gt=this._onEnter;this._ngZone.run(()=>{Gt.next(),Gt.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe((0,I.U)(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const ot=this._elementRef.nativeElement,_t=this.snackBarConfig.panelClass;_t&&(Array.isArray(_t)?_t.forEach(pt=>ot.classList.add(pt)):ot.classList.add(_t))}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const ot=this._elementRef.nativeElement.querySelector("[aria-hidden]"),_t=this._elementRef.nativeElement.querySelector("[aria-live]");if(ot&&_t){let pt=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&ot.contains(document.activeElement)&&(pt=document.activeElement),ot.removeAttribute("aria-hidden"),_t.appendChild(ot),pt?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return Fe.\u0275fac=function(ot){return new(ot||Fe)(f.GI1(f.WW2),f.GI1(f.GMv),f.GI1(f.kD9),f.GI1(_.WU),f.GI1(_e))},Fe.\u0275dir=f.Sc5({type:Fe,viewQuery:function(ot,_t){if(1&ot&&f.CC$(d.IP,7),2&ot){let pt;f.wto(pt=f.Gqi())&&(_t._portalOutlet=pt.first)}},features:[f.eg9]}),Fe})(),Y=(()=>{class Fe extends ye{_afterPortalAttached(){super._afterPortalAttached(),"center"===this.snackBarConfig.horizontalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-top")}}return Fe.\u0275fac=(()=>{let Se;return function(_t){return(Se||(Se=f.otF(Fe)))(_t||Fe)}})(),Fe.\u0275cmp=f.In1({type:Fe,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(ot,_t){1&ot&&f.wcw("@state.done",function(Gt){return _t.onAnimationEnd(Gt)}),2&ot&&f.Swe("@state",_t._animationState)},features:[f.eg9],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(ot,_t){1&ot&&(f.I0R(0,"div",0),f.yuY(1,ae,0,0,"ng-template",1),f.C$Y(),f.wR5(2,"div")),2&ot&&(f.yG2(2),f.e48("aria-live",_t._live)("role",_t._role))},dependencies:[d.IP],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}"],encapsulation:2,data:{animation:[le.snackBarState]}}),Fe})(),g=(()=>{class Fe{}return Fe.\u0275fac=function(ot){return new(ot||Fe)},Fe.\u0275mod=f.a4G({type:Fe}),Fe.\u0275inj=f.s3X({imports:[s.Y1,d.g$,o.MD,i.oJ,l.AN,l.AN]}),Fe})();const X=new f.UbH("mat-snack-bar-default-options",{providedIn:"root",factory:function V(){return new _e}});let te=(()=>{class Fe{constructor(ot,_t,pt,Gt,qe,Je){this._overlay=ot,this._live=_t,this._injector=pt,this._breakpointObserver=Gt,this._parentSnackBar=qe,this._defaultConfig=Je,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const ot=this._parentSnackBar;return ot?ot._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(ot){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=ot:this._snackBarRefAtThisLevel=ot}openFromComponent(ot,_t){return this._attach(ot,_t)}openFromTemplate(ot,_t){return this._attach(ot,_t)}open(ot,_t="",pt){const Gt={...this._defaultConfig,...pt};return Gt.data={message:ot,action:_t},Gt.announcementMessage===ot&&(Gt.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,Gt)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(ot,_t){const Gt=f.zZn.create({parent:_t&&_t.viewContainerRef&&_t.viewContainerRef.injector||this._injector,providers:[{provide:_e,useValue:_t}]}),qe=new d.KC(this.snackBarContainerComponent,_t.viewContainerRef,Gt),Je=ot.attach(qe);return Je.instance.snackBarConfig=_t,Je.instance}_attach(ot,_t){const pt={...new _e,...this._defaultConfig,..._t},Gt=this._createOverlay(pt),qe=this._attachSnackBarContainer(Gt,pt),Je=new ke(qe,Gt);if(ot instanceof f.Yw2){const ce=new d.CC(ot,null,{$implicit:pt.data,snackBarRef:Je});Je.instance=qe.attachTemplatePortal(ce)}else{const ce=this._createInjector(pt,Je),Ae=new d.KC(ot,void 0,ce),L=qe.attachComponentPortal(Ae);Je.instance=L.instance}return this._breakpointObserver.observe(oe.kP.HandsetPortrait).pipe((0,B.a)(Gt.detachments())).subscribe(ce=>{Gt.overlayElement.classList.toggle(this.handsetCssClass,ce.matches)}),pt.announcementMessage&&qe._onAnnounce.subscribe(()=>{this._live.announce(pt.announcementMessage,pt.politeness)}),this._animateSnackBar(Je,pt),this._openedSnackBarRef=Je,this._openedSnackBarRef}_animateSnackBar(ot,_t){ot.afterDismissed().subscribe(()=>{this._openedSnackBarRef==ot&&(this._openedSnackBarRef=null),_t.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{ot.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):ot.containerInstance.enter(),_t.duration&&_t.duration>0&&ot.afterOpened().subscribe(()=>ot._dismissAfter(_t.duration))}_createOverlay(ot){const _t=new s.o9;_t.direction=ot.direction;let pt=this._overlay.position().global();const Gt="rtl"===ot.direction,qe="left"===ot.horizontalPosition||"start"===ot.horizontalPosition&&!Gt||"end"===ot.horizontalPosition&&Gt,Je=!qe&&"center"!==ot.horizontalPosition;return qe?pt.left("0"):Je?pt.right("0"):pt.centerHorizontally(),"top"===ot.verticalPosition?pt.top("0"):pt.bottom("0"),_t.positionStrategy=pt,this._overlay.create(_t)}_createInjector(ot,_t){return f.zZn.create({parent:ot&&ot.viewContainerRef&&ot.viewContainerRef.injector||this._injector,providers:[{provide:ke,useValue:_t},{provide:Z,useValue:ot.data}]})}}return Fe.\u0275fac=function(ot){return new(ot||Fe)(f.CoB(s.mc),f.CoB(ie.mE),f.CoB(f.zZn),f.CoB(oe.w$),f.CoB(Fe,12),f.CoB(X))},Fe.\u0275prov=f.wxM({token:Fe,factory:Fe.\u0275fac}),Fe})(),be=(()=>{class Fe extends te{constructor(ot,_t,pt,Gt,qe,Je){super(ot,_t,pt,Gt,qe,Je),this.simpleSnackBarComponent=rt,this.snackBarContainerComponent=Y,this.handsetCssClass="mat-snack-bar-handset"}}return Fe.\u0275fac=function(ot){return new(ot||Fe)(f.CoB(s.mc),f.CoB(ie.mE),f.CoB(f.zZn),f.CoB(oe.w$),f.CoB(Fe,12),f.CoB(X))},Fe.\u0275prov=f.wxM({token:Fe,factory:Fe.\u0275fac,providedIn:g}),Fe})()},6352:(lt,me,u)=>{"use strict";u.d(me,{WG:()=>Ce,_q:()=>Nt,aJ:()=>Ne,ey:()=>Ct,i0:()=>vt});var s=u(4723),d=u(6640),o=u(107),f=u(1368),l=u(2116),i=u(9544),y=u(3992),_=u(5568),I=u(4e3),B=u(3616),K=u(7368),ie=u(2644),oe=u(6684),Ge=u(5657),ae=u(6928),Z=u(8420),_e=u(2700),j=u(3412),ke=u(8960),rt=u(3252),le=u(4548),ye=u(1900),Y=u(9684),g=u(7712),X=u(3572),V=u(5792),te=u(7800);function be(Te,at){1&Te&&l._Xx(0)}const Fe=["*"];function Se(Te,at){}const ot=Te=>({animationDuration:Te}),_t=(Te,at)=>({value:Te,params:at}),pt=["tabListContainer"],Gt=["tabList"],qe=["tabListInner"],Je=["nextPaginator"],ce=["previousPaginator"],Ae=["tabBodyWrapper"],L=["tabHeader"];function H(Te,at){}function de(Te,at){if(1&Te&&l.yuY(0,H,0,0,"ng-template",10),2&Te){const Oe=l.GaO().$implicit;l.E7m("cdkPortalOutlet",Oe.templateLabel)}}function $e(Te,at){if(1&Te&&l.OEk(0),2&Te){const Oe=l.GaO().$implicit;l.cNF(Oe.textLabel)}}function je(Te,at){if(1&Te){const Oe=l.KQA();l.I0R(0,"div",6),l.qCj("click",function(){const bt=l.usT(Oe),jt=bt.$implicit,mn=bt.index,Cn=l.GaO(),xn=l.Gew(1);return l.CGJ(Cn._handleClick(jt,xn,mn))})("cdkFocusChange",function(bt){const mn=l.usT(Oe).index,Cn=l.GaO();return l.CGJ(Cn._tabFocusChanged(bt,mn))}),l.I0R(1,"div",7),l.yuY(2,de,1,1,"ng-template",8)(3,$e,1,1,"ng-template",null,9,l.gJz),l.C$Y()()}if(2&Te){const Oe=at.$implicit,it=at.index,bt=l.Gew(4),jt=l.GaO();l.eAK("mat-tab-label-active",jt.selectedIndex===it),l.E7m("id",jt._getTabLabelId(it))("ngClass",Oe.labelClass)("disabled",Oe.disabled)("matRippleDisabled",Oe.disabled||jt.disableRipple),l.e48("tabIndex",jt._getTabIndex(Oe,it))("aria-posinset",it+1)("aria-setsize",jt._tabs.length)("aria-controls",jt._getTabContentId(it))("aria-selected",jt.selectedIndex===it)("aria-label",Oe.ariaLabel||null)("aria-labelledby",!Oe.ariaLabel&&Oe.ariaLabelledby?Oe.ariaLabelledby:null),l.yG2(2),l.E7m("ngIf",Oe.templateLabel)("ngIfElse",bt)}}function dt(Te,at){if(1&Te){const Oe=l.KQA();l.I0R(0,"mat-tab-body",11),l.qCj("_onCentered",function(){l.usT(Oe);const bt=l.GaO();return l.CGJ(bt._removeTabBodyWrapperHeight())})("_onCentering",function(bt){l.usT(Oe);const jt=l.GaO();return l.CGJ(jt._setTabBodyWrapperHeight(bt))}),l.C$Y()}if(2&Te){const Oe=at.$implicit,it=at.index,bt=l.GaO();l.eAK("mat-tab-body-active",bt.selectedIndex===it),l.E7m("id",bt._getTabContentId(it))("ngClass",Oe.bodyClass)("content",Oe.content)("position",Oe.position)("origin",Oe.origin)("animationDuration",bt.animationDuration)("preserveContent",bt.preserveContent),l.e48("tabindex",null!=bt.contentTabIndex&&bt.selectedIndex===it?bt.contentTabIndex:null)("aria-labelledby",bt._getTabLabelId(it))}}const Ye=new l.UbH("MatInkBarPositioner",{providedIn:"root",factory:function Xe(){return at=>({left:at?(at.offsetLeft||0)+"px":"0",width:at?(at.offsetWidth||0)+"px":"0"})}});let z=(()=>{class Te{constructor(Oe,it,bt,jt){this._elementRef=Oe,this._ngZone=it,this._inkBarPositioner=bt,this._animationMode=jt}alignToElement(Oe){this.show(),this._ngZone.run(()=>{this._ngZone.onStable.pipe((0,y.U)(1)).subscribe(()=>{const it=this._inkBarPositioner(Oe),bt=this._elementRef.nativeElement;bt.style.left=it.left,bt.style.width=it.width})})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return Te.\u0275fac=function(Oe){return new(Oe||Te)(l.GI1(l.GMv),l.GI1(l.WW2),l.GI1(Ye),l.GI1(l.qwP,8))},Te.\u0275dir=l.Sc5({type:Te,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(Oe,it){2&Oe&&l.eAK("_mat-animation-noopable","NoopAnimations"===it._animationMode)}}),Te})();const xe=new l.UbH("MatTabContent");let Ct=(()=>{class Te{constructor(Oe){this.template=Oe}}return Te.\u0275fac=function(Oe){return new(Oe||Te)(l.GI1(l.Yw2))},Te.\u0275dir=l.Sc5({type:Te,selectors:[["","matTabContent",""]],features:[l.M5G([{provide:xe,useExisting:Te}])]}),Te})();const Kt=new l.UbH("MatTabLabel"),gt=new l.UbH("MAT_TAB");let vt=(()=>{class Te extends o.YT{constructor(Oe,it,bt){super(Oe,it),this._closestTab=bt}}return Te.\u0275fac=function(Oe){return new(Oe||Te)(l.GI1(l.Yw2),l.GI1(l.y8U),l.GI1(gt,8))},Te.\u0275dir=l.Sc5({type:Te,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[l.M5G([{provide:Kt,useExisting:Te}]),l.eg9]}),Te})();const Ot=(0,i.YB)(class{}),Ke=new l.UbH("MAT_TAB_GROUP");let Ne=(()=>{class Te extends Ot{constructor(Oe,it){super(),this._viewContainerRef=Oe,this._closestTabGroup=it,this.textLabel="",this._contentPortal=null,this._stateChanges=new Ge.E,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(Oe){this._setTemplateLabelInput(Oe)}get content(){return this._contentPortal}ngOnChanges(Oe){(Oe.hasOwnProperty("textLabel")||Oe.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new o.CC(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(Oe){Oe&&Oe._closestTab===this&&(this._templateLabel=Oe)}}return Te.\u0275fac=function(Oe){return new(Oe||Te)(l.GI1(l.y8U),l.GI1(Ke,8))},Te.\u0275cmp=l.In1({type:Te,selectors:[["mat-tab"]],contentQueries:function(Oe,it,bt){if(1&Oe&&(l.szK(bt,Kt,5),l.szK(bt,xe,7,l.Yw2)),2&Oe){let jt;l.wto(jt=l.Gqi())&&(it.templateLabel=jt.first),l.wto(jt=l.Gqi())&&(it._explicitContent=jt.first)}},viewQuery:function(Oe,it){if(1&Oe&&l.CC$(l.Yw2,7),2&Oe){let bt;l.wto(bt=l.Gqi())&&(it._implicitContent=bt.first)}},inputs:{disabled:"disabled",textLabel:[l.Wk5.None,"label","textLabel"],ariaLabel:[l.Wk5.None,"aria-label","ariaLabel"],ariaLabelledby:[l.Wk5.None,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[l.M5G([{provide:gt,useExisting:Te}]),l.eg9,l.SYr],ngContentSelectors:Fe,decls:1,vars:0,template:function(Oe,it){1&Oe&&(l.kPM(),l.yuY(0,be,1,0,"ng-template"))},encapsulation:2}),Te})();const He={translateTab:(0,Y.gV)("translateTab",[(0,Y.K2)("center, void, left-origin-center, right-origin-center",(0,Y.wb)({transform:"none"})),(0,Y.K2)("left",(0,Y.wb)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,Y.K2)("right",(0,Y.wb)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,Y.aK)("* => left, * => right, left => center, right => center",(0,Y.Cs)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,Y.aK)("void => left-origin-center",[(0,Y.wb)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,Y.Cs)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,Y.aK)("void => right-origin-center",[(0,Y.wb)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,Y.Cs)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let Me=(()=>{class Te extends o.IP{constructor(Oe,it,bt,jt){super(Oe,it,jt),this._host=bt,this._centeringSub=ae.wH.EMPTY,this._leavingSub=ae.wH.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,_.W)(this._host._isCenterPosition(this._host._position))).subscribe(Oe=>{Oe&&!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()}}return Te.\u0275fac=function(Oe){return new(Oe||Te)(l.GI1(l.ce5),l.GI1(l.y8U),l.GI1((0,l.wd)(()=>re)),l.GI1(f.Ud))},Te.\u0275dir=l.Sc5({type:Te,selectors:[["","matTabBodyHost",""]],features:[l.eg9]}),Te})(),st=(()=>{class Te{constructor(Oe,it,bt){this._elementRef=Oe,this._dir=it,this._dirChangeSubscription=ae.wH.EMPTY,this._translateTabComplete=new Ge.E,this._onCentering=new l._w7,this._beforeCentering=new l._w7,this._afterLeavingCenter=new l._w7,this._onCentered=new l._w7(!0),this.animationDuration="500ms",this.preserveContent=!1,it&&(this._dirChangeSubscription=it.change.subscribe(jt=>{this._computePositionAnimationState(jt),bt.markForCheck()})),this._translateTabComplete.pipe((0,I.a)((jt,mn)=>jt.fromState===mn.fromState&&jt.toState===mn.toState)).subscribe(jt=>{this._isCenterPosition(jt.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(jt.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(Oe){this._positionIndex=Oe,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(Oe){const it=this._isCenterPosition(Oe.toState);this._beforeCentering.emit(it),it&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(Oe){return"center"==Oe||"left-origin-center"==Oe||"right-origin-center"==Oe}_computePositionAnimationState(Oe=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==Oe?"left":"right":this._positionIndex>0?"ltr"==Oe?"right":"left":"center"}_computePositionFromOrigin(Oe){const it=this._getLayoutDirection();return"ltr"==it&&Oe<=0||"rtl"==it&&Oe>0?"left-origin-center":"right-origin-center"}}return Te.\u0275fac=function(Oe){return new(Oe||Te)(l.GI1(l.GMv),l.GI1(ye.yG,8),l.GI1(l.kD9))},Te.\u0275dir=l.Sc5({type:Te,inputs:{_content:[l.Wk5.None,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),Te})(),re=(()=>{class Te extends st{constructor(Oe,it,bt){super(Oe,it,bt)}}return Te.\u0275fac=function(Oe){return new(Oe||Te)(l.GI1(l.GMv),l.GI1(ye.yG,8),l.GI1(l.kD9))},Te.\u0275cmp=l.In1({type:Te,selectors:[["mat-tab-body"]],viewQuery:function(Oe,it){if(1&Oe&&l.CC$(o.IP,5),2&Oe){let bt;l.wto(bt=l.Gqi())&&(it._portalHost=bt.first)}},hostAttrs:[1,"mat-tab-body"],features:[l.eg9],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(Oe,it){1&Oe&&(l.I0R(0,"div",0,1),l.qCj("@translateTab.start",function(jt){return it._onTranslateTabStarted(jt)})("@translateTab.done",function(jt){return it._translateTabComplete.next(jt)}),l.yuY(2,Se,0,0,"ng-template",2),l.C$Y()),2&Oe&&l.E7m("@translateTab",l.IBC(3,_t,it._position,l.S45(1,ot,it.animationDuration)))},dependencies:[Me],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[He.translateTab]}}),Te})();const Re=new l.UbH("MAT_TABS_CONFIG"),pe=(0,i.YB)(class{});let Mt=(()=>{class Te extends pe{constructor(Oe){super(),this.elementRef=Oe}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return Te.\u0275fac=function(Oe){return new(Oe||Te)(l.GI1(l.GMv))},Te.\u0275dir=l.Sc5({type:Te,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(Oe,it){2&Oe&&(l.e48("aria-disabled",!!it.disabled),l.eAK("mat-tab-disabled",it.disabled))},inputs:{disabled:"disabled"},features:[l.eg9]}),Te})();const $t=(0,V.W4)({passive:!0});let jn=(()=>{class Te{constructor(Oe,it,bt,jt,mn,Cn,xn){this._elementRef=Oe,this._changeDetectorRef=it,this._viewportRuler=bt,this._dir=jt,this._ngZone=mn,this._platform=Cn,this._animationMode=xn,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new Ge.E,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new Ge.E,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new l._w7,this.indexFocused=new l._w7,mn.runOutsideAngular(()=>{(0,Z.w)(Oe.nativeElement,"mouseleave").pipe((0,B.a)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get disablePagination(){return this._disablePagination}set disablePagination(Oe){this._disablePagination=(0,g.W6)(Oe)}get selectedIndex(){return this._selectedIndex}set selectedIndex(Oe){Oe=(0,g.wZ)(Oe),this._selectedIndex!=Oe&&(this._selectedIndexChanged=!0,this._selectedIndex=Oe,this._keyManager&&this._keyManager.updateActiveItem(Oe))}ngAfterViewInit(){(0,Z.w)(this._previousPaginator.nativeElement,"touchstart",$t).pipe((0,B.a)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,Z.w)(this._nextPaginator.nativeElement,"touchstart",$t).pipe((0,B.a)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const Oe=this._dir?this._dir.change:(0,_e.of)("ltr"),it=this._viewportRuler.change(150),bt=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new s.IH(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,y.U)(1)).subscribe(bt),(0,j.U)(Oe,it,this._items.changes,this._itemsResized()).pipe((0,B.a)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),bt()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,B.a)(this._destroyed)).subscribe(jt=>{this.indexFocused.emit(jt),this._setTabFocus(jt)})}_itemsResized(){return"function"!=typeof ResizeObserver?ke.k:this._items.changes.pipe((0,_.W)(this._items),(0,K.G)(Oe=>new rt._(it=>this._ngZone.runOutsideAngular(()=>{const bt=new ResizeObserver(jt=>it.next(jt));return Oe.forEach(jt=>bt.observe(jt.elementRef.nativeElement)),()=>{bt.disconnect()}}))),(0,ie.s)(1),(0,oe.I)(Oe=>Oe.some(it=>it.contentRect.width>0&&it.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._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(Oe){if(!(0,te.Yp)(Oe))switch(Oe.keyCode){case te.wJ:case te.Gi:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(Oe));break;default:this._keyManager.onKeydown(Oe)}}_onContentChanges(){const Oe=this._elementRef.nativeElement.textContent;Oe!==this._currentTextContent&&(this._currentTextContent=Oe||"",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(Oe){!this._isValidIndex(Oe)||this.focusIndex===Oe||!this._keyManager||this._keyManager.setActiveItem(Oe)}_isValidIndex(Oe){if(!this._items)return!0;const it=this._items?this._items.toArray()[Oe]:null;return!!it&&!it.disabled}_setTabFocus(Oe){if(this._showPaginationControls&&this._scrollToLabel(Oe),this._items&&this._items.length){this._items.toArray()[Oe].focus();const it=this._tabListContainer.nativeElement;it.scrollLeft="ltr"==this._getLayoutDirection()?0:it.scrollWidth-it.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const Oe=this.scrollDistance,it="ltr"===this._getLayoutDirection()?-Oe:Oe;this._tabList.nativeElement.style.transform=`translateX(${Math.round(it)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(Oe){this._scrollTo(Oe)}_scrollHeader(Oe){return this._scrollTo(this._scrollDistance+("before"==Oe?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(Oe){this._stopInterval(),this._scrollHeader(Oe)}_scrollToLabel(Oe){if(this.disablePagination)return;const it=this._items?this._items.toArray()[Oe]:null;if(!it)return;const bt=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:jt,offsetWidth:mn}=it.elementRef.nativeElement;let Cn,xn;"ltr"==this._getLayoutDirection()?(Cn=jt,xn=Cn+mn):(xn=this._tabListInner.nativeElement.offsetWidth-jt,Cn=xn-mn);const Fn=this.scrollDistance,$n=this.scrollDistance+bt;Cn<Fn?this.scrollDistance-=Fn-Cn+60:xn>$n&&(this.scrollDistance+=xn-$n+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const Oe=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;Oe||(this.scrollDistance=0),Oe!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=Oe}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const Oe=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,it=Oe?Oe.elementRef.nativeElement:null;it?this._inkBar.alignToElement(it):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(Oe,it){it&&null!=it.button&&0!==it.button||(this._stopInterval(),(0,le.k)(650,100).pipe((0,B.a)((0,j.U)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:bt,distance:jt}=this._scrollHeader(Oe);(0===jt||jt>=bt)&&this._stopInterval()}))}_scrollTo(Oe){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const it=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(it,Oe)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:it,distance:this._scrollDistance}}}return Te.\u0275fac=function(Oe){return new(Oe||Te)(l.GI1(l.GMv),l.GI1(l.kD9),l.GI1(X.S8),l.GI1(ye.yG,8),l.GI1(l.WW2),l.GI1(V.WU),l.GI1(l.qwP,8))},Te.\u0275dir=l.Sc5({type:Te,inputs:{disablePagination:"disablePagination"}}),Te})(),dn=(()=>{class Te extends jn{constructor(Oe,it,bt,jt,mn,Cn,xn){super(Oe,it,bt,jt,mn,Cn,xn),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Oe){this._disableRipple=(0,g.W6)(Oe)}_itemSelected(Oe){Oe.preventDefault()}}return Te.\u0275fac=function(Oe){return new(Oe||Te)(l.GI1(l.GMv),l.GI1(l.kD9),l.GI1(X.S8),l.GI1(ye.yG,8),l.GI1(l.WW2),l.GI1(V.WU),l.GI1(l.qwP,8))},Te.\u0275dir=l.Sc5({type:Te,inputs:{disableRipple:"disableRipple"},features:[l.eg9]}),Te})(),kn=(()=>{class Te extends dn{constructor(Oe,it,bt,jt,mn,Cn,xn){super(Oe,it,bt,jt,mn,Cn,xn)}}return Te.\u0275fac=function(Oe){return new(Oe||Te)(l.GI1(l.GMv),l.GI1(l.kD9),l.GI1(X.S8),l.GI1(ye.yG,8),l.GI1(l.WW2),l.GI1(V.WU),l.GI1(l.qwP,8))},Te.\u0275cmp=l.In1({type:Te,selectors:[["mat-tab-header"]],contentQueries:function(Oe,it,bt){if(1&Oe&&l.szK(bt,Mt,4),2&Oe){let jt;l.wto(jt=l.Gqi())&&(it._items=jt)}},viewQuery:function(Oe,it){if(1&Oe&&(l.CC$(z,7),l.CC$(pt,7),l.CC$(Gt,7),l.CC$(qe,7),l.CC$(Je,5),l.CC$(ce,5)),2&Oe){let bt;l.wto(bt=l.Gqi())&&(it._inkBar=bt.first),l.wto(bt=l.Gqi())&&(it._tabListContainer=bt.first),l.wto(bt=l.Gqi())&&(it._tabList=bt.first),l.wto(bt=l.Gqi())&&(it._tabListInner=bt.first),l.wto(bt=l.Gqi())&&(it._nextPaginator=bt.first),l.wto(bt=l.Gqi())&&(it._previousPaginator=bt.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(Oe,it){2&Oe&&l.eAK("mat-tab-header-pagination-controls-enabled",it._showPaginationControls)("mat-tab-header-rtl","rtl"==it._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[l.eg9],ngContentSelectors:Fe,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(Oe,it){1&Oe&&(l.kPM(),l.I0R(0,"button",0,1),l.qCj("click",function(){return it._handlePaginatorClick("before")})("mousedown",function(jt){return it._handlePaginatorPress("before",jt)})("touchend",function(){return it._stopInterval()}),l.wR5(2,"div",2),l.C$Y(),l.I0R(3,"div",3,4),l.qCj("keydown",function(jt){return it._handleKeydown(jt)}),l.I0R(5,"div",5,6),l.qCj("cdkObserveContent",function(){return it._onContentChanges()}),l.I0R(7,"div",7,8),l._Xx(9),l.C$Y(),l.wR5(10,"mat-ink-bar"),l.C$Y()(),l.I0R(11,"button",9,10),l.qCj("mousedown",function(jt){return it._handlePaginatorPress("after",jt)})("click",function(){return it._handlePaginatorClick("after")})("touchend",function(){return it._stopInterval()}),l.wR5(13,"div",2),l.C$Y()),2&Oe&&(l.eAK("mat-tab-header-pagination-disabled",it._disableScrollBefore),l.E7m("matRippleDisabled",it._disableScrollBefore||it.disableRipple)("disabled",it._disableScrollBefore||null),l.yG2(5),l.eAK("_mat-animation-noopable","NoopAnimations"===it._animationMode),l.yG2(6),l.eAK("mat-tab-header-pagination-disabled",it._disableScrollAfter),l.E7m("matRippleDisabled",it._disableScrollAfter||it.disableRipple)("disabled",it._disableScrollAfter||null))},dependencies:[i.UZ,d.Wk,z],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-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;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}.mat-tab-label::before{margin:5px}@media(max-width: 599px){.mat-tab-label{min-width:72px}}"],encapsulation:2}),Te})(),Ln=0;class Bn{}const ti=(0,i.i)((0,i.bc)(class{constructor(Te){this._elementRef=Te}}),"primary");let Ft=(()=>{class Te extends ti{constructor(Oe,it,bt,jt){super(Oe),this._changeDetectorRef=it,this._animationMode=jt,this._tabs=new l.VhX,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=ae.wH.EMPTY,this._tabLabelSubscription=ae.wH.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new l._w7,this.focusChange=new l._w7,this.animationDone=new l._w7,this.selectedTabChange=new l._w7(!0),this._groupId=Ln++,this.animationDuration=bt&&bt.animationDuration?bt.animationDuration:"500ms",this.disablePagination=!(!bt||null==bt.disablePagination)&&bt.disablePagination,this.dynamicHeight=!(!bt||null==bt.dynamicHeight)&&bt.dynamicHeight,this.contentTabIndex=bt?.contentTabIndex??null,this.preserveContent=!!bt?.preserveContent}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(Oe){this._dynamicHeight=(0,g.W6)(Oe)}get selectedIndex(){return this._selectedIndex}set selectedIndex(Oe){this._indexToSelect=(0,g.wZ)(Oe,null)}get animationDuration(){return this._animationDuration}set animationDuration(Oe){this._animationDuration=/^\d+$/.test(Oe+"")?Oe+"ms":Oe}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(Oe){this._contentTabIndex=(0,g.wZ)(Oe,null)}get disablePagination(){return this._disablePagination}set disablePagination(Oe){this._disablePagination=(0,g.W6)(Oe)}get preserveContent(){return this._preserveContent}set preserveContent(Oe){this._preserveContent=(0,g.W6)(Oe)}get backgroundColor(){return this._backgroundColor}set backgroundColor(Oe){const it=this._elementRef.nativeElement;it.classList.remove(`mat-background-${this.backgroundColor}`),Oe&&it.classList.add(`mat-background-${Oe}`),this._backgroundColor=Oe}ngAfterContentChecked(){const Oe=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=Oe){const it=null==this._selectedIndex;if(!it){this.selectedTabChange.emit(this._createChangeEvent(Oe));const bt=this._tabBodyWrapper.nativeElement;bt.style.minHeight=bt.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((bt,jt)=>bt.isActive=jt===Oe),it||(this.selectedIndexChange.emit(Oe),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((it,bt)=>{it.position=bt-Oe,null!=this._selectedIndex&&0==it.position&&!it.origin&&(it.origin=Oe-this._selectedIndex)}),this._selectedIndex!==Oe&&(this._selectedIndex=Oe,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const Oe=this._clampTabIndex(this._indexToSelect);if(Oe===this._selectedIndex){const it=this._tabs.toArray();let bt;for(let jt=0;jt<it.length;jt++)if(it[jt].isActive){this._indexToSelect=this._selectedIndex=jt,this._lastFocusedTabIndex=null,bt=it[jt];break}!bt&&it[Oe]&&Promise.resolve().then(()=>{it[Oe].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(Oe))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,_.W)(this._allTabs)).subscribe(Oe=>{this._tabs.reset(Oe.filter(it=>it._closestTabGroup===this||!it._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(Oe){const it=this._tabHeader;it&&(it.focusIndex=Oe)}_focusChanged(Oe){this._lastFocusedTabIndex=Oe,this.focusChange.emit(this._createChangeEvent(Oe))}_createChangeEvent(Oe){const it=new Bn;return it.index=Oe,this._tabs&&this._tabs.length&&(it.tab=this._tabs.toArray()[Oe]),it}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,j.U)(...this._tabs.map(Oe=>Oe._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(Oe){return Math.min(this._tabs.length-1,Math.max(Oe||0,0))}_getTabLabelId(Oe){return`mat-tab-label-${this._groupId}-${Oe}`}_getTabContentId(Oe){return`mat-tab-content-${this._groupId}-${Oe}`}_setTabBodyWrapperHeight(Oe){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const it=this._tabBodyWrapper.nativeElement;it.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(it.style.height=Oe+"px")}_removeTabBodyWrapperHeight(){const Oe=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=Oe.clientHeight,Oe.style.height="",this.animationDone.emit()}_handleClick(Oe,it,bt){Oe.disabled||(this.selectedIndex=it.focusIndex=bt)}_getTabIndex(Oe,it){return Oe.disabled?null:it===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(Oe,it){Oe&&"mouse"!==Oe&&"touch"!==Oe&&(this._tabHeader.focusIndex=it)}}return Te.\u0275fac=function(Oe){return new(Oe||Te)(l.GI1(l.GMv),l.GI1(l.kD9),l.GI1(Re,8),l.GI1(l.qwP,8))},Te.\u0275dir=l.Sc5({type:Te,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[l.eg9]}),Te})(),Nt=(()=>{class Te extends Ft{constructor(Oe,it,bt,jt){super(Oe,it,bt,jt)}}return Te.\u0275fac=function(Oe){return new(Oe||Te)(l.GI1(l.GMv),l.GI1(l.kD9),l.GI1(Re,8),l.GI1(l.qwP,8))},Te.\u0275cmp=l.In1({type:Te,selectors:[["mat-tab-group"]],contentQueries:function(Oe,it,bt){if(1&Oe&&l.szK(bt,Ne,5),2&Oe){let jt;l.wto(jt=l.Gqi())&&(it._allTabs=jt)}},viewQuery:function(Oe,it){if(1&Oe&&(l.CC$(Ae,5),l.CC$(L,5)),2&Oe){let bt;l.wto(bt=l.Gqi())&&(it._tabBodyWrapper=bt.first),l.wto(bt=l.Gqi())&&(it._tabHeader=bt.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(Oe,it){2&Oe&&l.eAK("mat-tab-group-dynamic-height",it.dynamicHeight)("mat-tab-group-inverted-header","below"===it.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[l.M5G([{provide:Ke,useExisting:Te}]),l.eg9],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(Oe,it){1&Oe&&(l.I0R(0,"mat-tab-header",0,1),l.qCj("indexFocused",function(jt){return it._focusChanged(jt)})("selectFocusedIndex",function(jt){return it.selectedIndex=jt}),l.yuY(2,je,5,15,"div",2),l.C$Y(),l.I0R(3,"div",3,4),l.yuY(5,dt,1,11,"mat-tab-body",5),l.C$Y()),2&Oe&&(l.E7m("selectedIndex",it.selectedIndex||0)("disableRipple",it.disableRipple)("disablePagination",it.disablePagination),l.yG2(2),l.E7m("ngForOf",it._tabs),l.yG2(),l.eAK("_mat-animation-noopable","NoopAnimations"===it._animationMode),l.yG2(2),l.E7m("ngForOf",it._tabs))},dependencies:[f.QF,f.ay,f.u_,o.IP,i.UZ,s.Si,Mt,re,kn],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],encapsulation:2}),Te})(),Ce=(()=>{class Te{}return Te.\u0275fac=function(Oe){return new(Oe||Te)},Te.\u0275mod=l.a4G({type:Te}),Te.\u0275inj=l.s3X({imports:[f.MD,i.AN,o.g$,i.KE,d.IT,s.Ux,i.AN]}),Te})()},1788:(lt,me,u)=>{"use strict";u.d(me,{EZ:()=>I,Gm:()=>K});var s=u(2116),d=u(9544),o=u(5792),f=u(1368);const l=["*",[["mat-toolbar-row"]]],i=["*","mat-toolbar-row"],y=(0,d.i)(class{constructor(ie){this._elementRef=ie}});let _=(()=>{class ie{}return ie.\u0275fac=function(Ge){return new(Ge||ie)},ie.\u0275dir=s.Sc5({type:ie,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),ie})(),I=(()=>{class ie extends y{constructor(Ge,ae,Z){super(Ge),this._platform=ae,this._document=Z}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return ie.\u0275fac=function(Ge){return new(Ge||ie)(s.GI1(s.GMv),s.GI1(o.WU),s.GI1(f.Ud))},ie.\u0275cmp=s.In1({type:ie,selectors:[["mat-toolbar"]],contentQueries:function(Ge,ae,Z){if(1&Ge&&s.szK(Z,_,5),2&Ge){let _e;s.wto(_e=s.Gqi())&&(ae._toolbarRows=_e)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(Ge,ae){2&Ge&&s.eAK("mat-toolbar-multiple-rows",ae._toolbarRows.length>0)("mat-toolbar-single-row",0===ae._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[s.eg9],ngContentSelectors:i,decls:2,vars:0,template:function(Ge,ae){1&Ge&&(s.kPM(l),s._Xx(0),s._Xx(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.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}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0}),ie})(),K=(()=>{class ie{}return ie.\u0275fac=function(Ge){return new(Ge||ie)},ie.\u0275mod=s.a4G({type:ie}),ie.\u0275inj=s.s3X({imports:[d.AN,d.AN]}),ie})()},4748:(lt,me,u)=>{"use strict";u.d(me,{KO:()=>pt,a4:()=>Se});var s=u(68),d=u(4723),o=u(1368),f=u(2116),l=u(9544),i=u(3572),y=u(1900),_=u(7712),I=u(7800),B=u(1216),K=u(5792),ie=u(107),oe=u(5657),Ge=u(3616),ae=u(3992);u(9684);const _e=["tooltip"],rt="tooltip-panel",le=(0,K.W4)({passive:!0}),g=new f.UbH("mat-tooltip-scroll-strategy"),V={provide:g,deps:[s.mc],useFactory:function X(qe){return()=>qe.scrollStrategies.reposition({scrollThrottle:20})}},te=new f.UbH("mat-tooltip-default-options",{providedIn:"root",factory:function be(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let Fe=(()=>{class qe{constructor(ce,Ae,L,H,de,$e,je,dt,Et,Ye,Xe,z){this._overlay=ce,this._elementRef=Ae,this._scrollDispatcher=L,this._viewContainerRef=H,this._ngZone=de,this._platform=$e,this._ariaDescriber=je,this._focusMonitor=dt,this._dir=Ye,this._defaultOptions=Xe,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new oe.E,this._scrollStrategy=Et,this._document=z,Xe&&(Xe.position&&(this.position=Xe.position),Xe.touchGestures&&(this.touchGestures=Xe.touchGestures)),Ye.change.pipe((0,Ge.a)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(ce){ce!==this._position&&(this._position=ce,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(ce){this._disabled=(0,_.W6)(ce),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(ce){this._showDelay=(0,_.wZ)(ce)}get hideDelay(){return this._hideDelay}set hideDelay(ce){this._hideDelay=(0,_.wZ)(ce),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(ce){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=ce?String(ce).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(ce){this._tooltipClass=ce,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,Ge.a)(this._destroyed)).subscribe(ce=>{ce?"keyboard"===ce&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const ce=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([Ae,L])=>{ce.removeEventListener(Ae,L,le)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(ce,this.message,"tooltip"),this._focusMonitor.stopMonitoring(ce)}show(ce=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const Ae=this._createOverlay();this._detach(),this._portal=this._portal||new ie.KC(this._tooltipComponent,this._viewContainerRef);const L=this._tooltipInstance=Ae.attach(this._portal).instance;L._triggerElement=this._elementRef.nativeElement,L._mouseLeaveHideDelay=this._hideDelay,L.afterHidden().pipe((0,Ge.a)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),L.show(ce)}hide(ce=this.hideDelay){const Ae=this._tooltipInstance;Ae&&(Ae.isVisible()?Ae.hide(ce):(Ae._cancelPendingAnimations(),this._detach()))}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const ce=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),Ae=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(ce);return Ae.positionChanges.pipe((0,Ge.a)(this._destroyed)).subscribe(L=>{this._updateCurrentPositionClass(L.connectionPair),this._tooltipInstance&&L.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:Ae,panelClass:`${this._cssClassPrefix}-${rt}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,Ge.a)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,Ge.a)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,Ge.a)(this._destroyed)).subscribe(L=>{this._isTooltipVisible()&&L.keyCode===I.UX&&!(0,I.Yp)(L)&&(L.preventDefault(),L.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(ce){const Ae=ce.getConfig().positionStrategy,L=this._getOrigin(),H=this._getOverlayPosition();Ae.withPositions([this._addOffset({...L.main,...H.main}),this._addOffset({...L.fallback,...H.fallback})])}_addOffset(ce){return ce}_getOrigin(){const ce=!this._dir||"ltr"==this._dir.value,Ae=this.position;let L;"above"==Ae||"below"==Ae?L={originX:"center",originY:"above"==Ae?"top":"bottom"}:"before"==Ae||"left"==Ae&&ce||"right"==Ae&&!ce?L={originX:"start",originY:"center"}:("after"==Ae||"right"==Ae&&ce||"left"==Ae&&!ce)&&(L={originX:"end",originY:"center"});const{x:H,y:de}=this._invertPosition(L.originX,L.originY);return{main:L,fallback:{originX:H,originY:de}}}_getOverlayPosition(){const ce=!this._dir||"ltr"==this._dir.value,Ae=this.position;let L;"above"==Ae?L={overlayX:"center",overlayY:"bottom"}:"below"==Ae?L={overlayX:"center",overlayY:"top"}:"before"==Ae||"left"==Ae&&ce||"right"==Ae&&!ce?L={overlayX:"end",overlayY:"center"}:("after"==Ae||"right"==Ae&&ce||"left"==Ae&&!ce)&&(L={overlayX:"start",overlayY:"center"});const{x:H,y:de}=this._invertPosition(L.overlayX,L.overlayY);return{main:L,fallback:{overlayX:H,overlayY:de}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,ae.U)(1),(0,Ge.a)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(ce){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=ce,this._tooltipInstance._markForCheck())}_invertPosition(ce,Ae){return"above"===this.position||"below"===this.position?"top"===Ae?Ae="bottom":"bottom"===Ae&&(Ae="top"):"end"===ce?ce="start":"start"===ce&&(ce="end"),{x:ce,y:Ae}}_updateCurrentPositionClass(ce){const{overlayY:Ae,originX:L,originY:H}=ce;let de;if(de="center"===Ae?this._dir&&"rtl"===this._dir.value?"end"===L?"left":"right":"start"===L?"left":"right":"bottom"===Ae&&"top"===H?"above":"below",de!==this._currentPosition){const $e=this._overlayRef;if($e){const je=`${this._cssClassPrefix}-${rt}-`;$e.removePanelClass(je+this._currentPosition),$e.addPanelClass(je+de)}this._currentPosition=de}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const ce=[];if(this._platformSupportsMouseEvents())ce.push(["mouseleave",Ae=>{const L=Ae.relatedTarget;(!L||!this._overlayRef?.overlayElement.contains(L))&&this.hide()}],["wheel",Ae=>this._wheelListener(Ae)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const Ae=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};ce.push(["touchend",Ae],["touchcancel",Ae])}this._addListeners(ce),this._passiveListeners.push(...ce)}_addListeners(ce){ce.forEach(([Ae,L])=>{this._elementRef.nativeElement.addEventListener(Ae,L,le)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(ce){if(this._isTooltipVisible()){const Ae=this._document.elementFromPoint(ce.clientX,ce.clientY),L=this._elementRef.nativeElement;Ae!==L&&!L.contains(Ae)&&this.hide()}}_disableNativeGesturesIfNecessary(){const ce=this.touchGestures;if("off"!==ce){const Ae=this._elementRef.nativeElement,L=Ae.style;("on"===ce||"INPUT"!==Ae.nodeName&&"TEXTAREA"!==Ae.nodeName)&&(L.userSelect=L.msUserSelect=L.webkitUserSelect=L.MozUserSelect="none"),("on"===ce||!Ae.draggable)&&(L.webkitUserDrag="none"),L.touchAction="none",L.webkitTapHighlightColor="transparent"}}}return qe.\u0275fac=function(ce){f.KEo()},qe.\u0275dir=f.Sc5({type:qe,inputs:{position:[f.Wk5.None,"matTooltipPosition","position"],disabled:[f.Wk5.None,"matTooltipDisabled","disabled"],showDelay:[f.Wk5.None,"matTooltipShowDelay","showDelay"],hideDelay:[f.Wk5.None,"matTooltipHideDelay","hideDelay"],touchGestures:[f.Wk5.None,"matTooltipTouchGestures","touchGestures"],message:[f.Wk5.None,"matTooltip","message"],tooltipClass:[f.Wk5.None,"matTooltipClass","tooltipClass"]}}),qe})(),Se=(()=>{class qe extends Fe{constructor(ce,Ae,L,H,de,$e,je,dt,Et,Ye,Xe,z){super(ce,Ae,L,H,de,$e,je,dt,Et,Ye,Xe,z),this._tooltipComponent=_t}}return qe.\u0275fac=function(ce){return new(ce||qe)(f.GI1(s.mc),f.GI1(f.GMv),f.GI1(i.Yn),f.GI1(f.y8U),f.GI1(f.WW2),f.GI1(K.WU),f.GI1(d.o9),f.GI1(d.Kk),f.GI1(g),f.GI1(y.yG,8),f.GI1(te,8),f.GI1(o.Ud))},qe.\u0275dir=f.Sc5({type:qe,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[f.eg9]}),qe})(),ot=(()=>{class qe{constructor(ce,Ae){this._changeDetectorRef=ce,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new oe.E,this._animationsDisabled="NoopAnimations"===Ae}show(ce){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},ce)}hide(ce){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},ce)}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:ce}){(!ce||!this._triggerElement.contains(ce))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:ce}){(ce===this._showAnimation||ce===this._hideAnimation)&&this._finalizeAnimation(ce===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(ce){ce?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(ce){const Ae=this._tooltip.nativeElement,L=this._showAnimation,H=this._hideAnimation;if(Ae.classList.remove(ce?H:L),Ae.classList.add(ce?L:H),this._isVisible=ce,ce&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const de=getComputedStyle(Ae);("0s"===de.getPropertyValue("animation-duration")||"none"===de.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}ce&&this._onShow(),this._animationsDisabled&&(Ae.classList.add("_mat-animation-noopable"),this._finalizeAnimation(ce))}}return qe.\u0275fac=function(ce){return new(ce||qe)(f.GI1(f.kD9),f.GI1(f.qwP,8))},qe.\u0275dir=f.Sc5({type:qe}),qe})(),_t=(()=>{class qe extends ot{constructor(ce,Ae,L){super(ce,L),this._breakpointObserver=Ae,this._isHandset=this._breakpointObserver.observe(B.kP.Handset),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return qe.\u0275fac=function(ce){return new(ce||qe)(f.GI1(f.kD9),f.GI1(B.w$),f.GI1(f.qwP,8))},qe.\u0275cmp=f.In1({type:qe,selectors:[["mat-tooltip-component"]],viewQuery:function(ce,Ae){if(1&ce&&f.CC$(_e,7),2&ce){let L;f.wto(L=f.Gqi())&&(Ae._tooltip=L.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(ce,Ae){1&ce&&f.qCj("mouseleave",function(H){return Ae._handleMouseLeave(H)}),2&ce&&f.m4B("zoom",Ae.isVisible()?1:null)},features:[f.eg9],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(ce,Ae){if(1&ce&&(f.I0R(0,"div",0,1),f.qCj("animationend",function(H){return Ae._handleAnimationEnd(H)}),f.wVc(2,"async"),f.OEk(3),f.C$Y()),2&ce){let L;f.eAK("mat-tooltip-handset",null==(L=f.kDX(2,4,Ae._isHandset))?null:L.matches),f.E7m("ngClass",Ae.tooltipClass),f.yG2(3),f.cNF(Ae.message)}},dependencies:[o.QF,o.a],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0}),qe})(),pt=(()=>{class qe{}return qe.\u0275fac=function(ce){return new(ce||qe)},qe.\u0275mod=f.a4G({type:qe}),qe.\u0275inj=f.s3X({providers:[V],imports:[d.Ux,o.MD,s.Y1,l.AN,l.AN,i.uU]}),qe})()},1737:(lt,me,u)=>{"use strict";u.d(me,{KC:()=>$});var s=u(2116),d=u(4476),o=u(9684);function l(ze){return new s.OBp(3e3,!1)}function $e(ze){switch(ze.length){case 0:return new o.kP;case 1:return ze[0];default:return new o.Wq(ze)}}function je(ze,M,R=new Map,ne=new Map){const Ue=[],mt=[];let Lt=-1,Rt=null;if(M.forEach(Xt=>{const un=Xt.get("offset"),Gn=un==Lt,Xn=Gn&&Rt||new Map;Xt.forEach((Pi,Ci)=>{let ri=Ci,_i=Pi;if("offset"!==Ci)switch(ri=ze.normalizePropertyName(ri,Ue),_i){case o.aM:_i=R.get(Ci);break;case o.AN:_i=ne.get(Ci);break;default:_i=ze.normalizeStyleValue(Ci,ri,_i,Ue)}Xn.set(ri,_i)}),Gn||mt.push(Xn),Rt=Xn,Lt=un}),Ue.length)throw function Fe(ze){return new s.OBp(3502,!1)}();return mt}function dt(ze,M,R,ne){switch(M){case"start":ze.onStart(()=>ne(R&&Et(R,"start",ze)));break;case"done":ze.onDone(()=>ne(R&&Et(R,"done",ze)));break;case"destroy":ze.onDestroy(()=>ne(R&&Et(R,"destroy",ze)))}}function Et(ze,M,R){const mt=Ye(ze.element,ze.triggerName,ze.fromState,ze.toState,M||ze.phaseName,R.totalTime??ze.totalTime,!!R.disabled),Lt=ze._data;return null!=Lt&&(mt._data=Lt),mt}function Ye(ze,M,R,ne,Ue="",mt=0,Lt){return{element:ze,triggerName:M,fromState:R,toState:ne,phaseName:Ue,totalTime:mt,disabled:!!Lt}}function Xe(ze,M,R){let ne=ze.get(M);return ne||ze.set(M,ne=R),ne}function z(ze){const M=ze.indexOf(":");return[ze.substring(1,M),ze.slice(M+1)]}const xe=typeof document>"u"?null:document.documentElement;function Ct(ze){const M=ze.parentNode||ze.host||null;return M===xe?null:M}let gt=null,vt=!1;function He(ze,M){for(;M;){if(M===ze)return!0;M=Ct(M)}return!1}function Me(ze,M,R){if(R)return Array.from(ze.querySelectorAll(M));const ne=ze.querySelector(M);return ne?[ne]:[]}let re=(()=>{class ze{validateStyleProperty(R){return function Ot(ze){gt||(gt=function Ne(){return typeof document<"u"?document.body:null}()||{},vt=!!gt.style&&"WebkitAppearance"in gt.style);let M=!0;return gt.style&&!function Kt(ze){return"ebkit"==ze.substring(1,6)}(ze)&&(M=ze in gt.style,!M&&vt&&(M="Webkit"+ze.charAt(0).toUpperCase()+ze.slice(1)in gt.style)),M}(R)}matchesElement(R,ne){return!1}containsElement(R,ne){return He(R,ne)}getParentElement(R){return Ct(R)}query(R,ne,Ue){return Me(R,ne,Ue)}computeStyle(R,ne,Ue){return Ue||""}animate(R,ne,Ue,mt,Lt,Rt=[],Xt){return new o.kP(Ue,mt)}static#e=this.\u0275fac=function(ne){return new(ne||ze)};static#t=this.\u0275prov=s.wxM({token:ze,factory:ze.\u0275fac})}return ze})();class Re{static#e=this.NOOP=new re}class pe{}const $t=1e3,Un="ng-enter",jn="ng-leave",dn="ng-trigger",kn=".ng-trigger",Ln="ng-animating",Bn=".ng-animating";function ti(ze){if("number"==typeof ze)return ze;const M=ze.match(/^(-?[\.\d]+)(m?s)/);return!M||M.length<2?0:Ft(parseFloat(M[1]),M[2])}function Ft(ze,M){return"s"===M?ze*$t:ze}function Nt(ze,M,R){return ze.hasOwnProperty("duration")?ze:function It(ze,M,R){let Ue,mt=0,Lt="";if("string"==typeof ze){const Rt=ze.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Rt)return M.push(l()),{duration:0,delay:0,easing:""};Ue=Ft(parseFloat(Rt[1]),Rt[2]);const Xt=Rt[3];null!=Xt&&(mt=Ft(parseFloat(Xt),Rt[4]));const un=Rt[5];un&&(Lt=un)}else Ue=ze;if(!R){let Rt=!1,Xt=M.length;Ue<0&&(M.push(function i(){return new s.OBp(3100,!1)}()),Rt=!0),mt<0&&(M.push(function y(){return new s.OBp(3101,!1)}()),Rt=!0),Rt&&M.splice(Xt,0,l())}return{duration:Ue,delay:mt,easing:Lt}}(ze,M,R)}function We(ze,M,R){M.forEach((ne,Ue)=>{const mt=it(Ue);R&&!R.has(Ue)&&R.set(Ue,ze.style[mt]),ze.style[mt]=ne})}function De(ze,M){M.forEach((R,ne)=>{const Ue=it(ne);ze.style[Ue]=""})}function fe(ze){return Array.isArray(ze)?1==ze.length?ze[0]:(0,o.iC)(ze):ze}const Ce=new RegExp("{{\\s*(.+?)\\s*}}","g");function Te(ze){let M=[];if("string"==typeof ze){let R;for(;R=Ce.exec(ze);)M.push(R[1]);Ce.lastIndex=0}return M}function at(ze,M,R){const ne=`${ze}`,Ue=ne.replace(Ce,(mt,Lt)=>{let Rt=M[Lt];return null==Rt&&(R.push(function I(ze){return new s.OBp(3003,!1)}()),Rt=""),Rt.toString()});return Ue==ne?ze:Ue}const Oe=/-+([a-z0-9])/g;function it(ze){return ze.replace(Oe,(...M)=>M[1].toUpperCase())}function Cn(ze,M,R){switch(M.type){case o.m0.Trigger:return ze.visitTrigger(M,R);case o.m0.State:return ze.visitState(M,R);case o.m0.Transition:return ze.visitTransition(M,R);case o.m0.Sequence:return ze.visitSequence(M,R);case o.m0.Group:return ze.visitGroup(M,R);case o.m0.Animate:return ze.visitAnimate(M,R);case o.m0.Keyframes:return ze.visitKeyframes(M,R);case o.m0.Style:return ze.visitStyle(M,R);case o.m0.Reference:return ze.visitReference(M,R);case o.m0.AnimateChild:return ze.visitAnimateChild(M,R);case o.m0.AnimateRef:return ze.visitAnimateRef(M,R);case o.m0.Query:return ze.visitQuery(M,R);case o.m0.Stagger:return ze.visitStagger(M,R);default:throw function B(ze){return new s.OBp(3004,!1)}()}}function xn(ze,M){return window.getComputedStyle(ze)[M]}const Fn=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"]);class $n extends pe{normalizePropertyName(M,R){return it(M)}normalizeStyleValue(M,R,ne,Ue){let mt="";const Lt=ne.toString().trim();if(Fn.has(R)&&0!==ne&&"0"!==ne)if("number"==typeof ne)mt="px";else{const Rt=ne.match(/^[+-]?[\d\.]+([a-z]*)$/);Rt&&0==Rt[1].length&&Ue.push(function K(ze,M){return new s.OBp(3005,!1)}())}return Lt+mt}}const qn="*";const ds=new Set(["true","1"]),Tr=new Set(["false","0"]);function wr(ze,M){const R=ds.has(ze)||Tr.has(ze),ne=ds.has(M)||Tr.has(M);return(Ue,mt)=>{let Lt=ze==qn||ze==Ue,Rt=M==qn||M==mt;return!Lt&&R&&"boolean"==typeof Ue&&(Lt=Ue?ds.has(ze):Tr.has(ze)),!Rt&&ne&&"boolean"==typeof mt&&(Rt=mt?ds.has(M):Tr.has(M)),Lt&&Rt}}const ht=new RegExp("s*:selfs*,?","g");function xt(ze,M,R,ne){return new hn(ze).build(M,R,ne)}class hn{constructor(M){this._driver=M}build(M,R,ne){const Ue=new In(R);return this._resetContextStyleTimingState(Ue),Cn(this,fe(M),Ue)}_resetContextStyleTimingState(M){M.currentQuerySelector="",M.collectedStyles=new Map,M.collectedStyles.set("",new Map),M.currentTime=0}visitTrigger(M,R){let ne=R.queryCount=0,Ue=R.depCount=0;const mt=[],Lt=[];return"@"==M.name.charAt(0)&&R.errors.push(function ie(){return new s.OBp(3006,!1)}()),M.definitions.forEach(Rt=>{if(this._resetContextStyleTimingState(R),Rt.type==o.m0.State){const Xt=Rt,un=Xt.name;un.toString().split(/\s*,\s*/).forEach(Gn=>{Xt.name=Gn,mt.push(this.visitState(Xt,R))}),Xt.name=un}else if(Rt.type==o.m0.Transition){const Xt=this.visitTransition(Rt,R);ne+=Xt.queryCount,Ue+=Xt.depCount,Lt.push(Xt)}else R.errors.push(function oe(){return new s.OBp(3007,!1)}())}),{type:o.m0.Trigger,name:M.name,states:mt,transitions:Lt,queryCount:ne,depCount:Ue,options:null}}visitState(M,R){const ne=this.visitStyle(M.styles,R),Ue=M.options&&M.options.params||null;if(ne.containsDynamicStyles){const mt=new Set,Lt=Ue||{};ne.styles.forEach(Rt=>{Rt instanceof Map&&Rt.forEach(Xt=>{Te(Xt).forEach(un=>{Lt.hasOwnProperty(un)||mt.add(un)})})}),mt.size&&R.errors.push(function Ge(ze,M){return new s.OBp(3008,!1)}(0,mt.values()))}return{type:o.m0.State,name:M.name,style:ne,options:Ue?{params:Ue}:null}}visitTransition(M,R){R.queryCount=0,R.depCount=0;const ne=Cn(this,fe(M.animation),R),Ue=function ls(ze,M){const R=[];return"string"==typeof ze?ze.split(/\s*,\s*/).forEach(ne=>function ur(ze,M,R){if(":"==ze[0]){const Xt=function Nr(ze,M){switch(ze){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(R,ne)=>parseFloat(ne)>parseFloat(R);case":decrement":return(R,ne)=>parseFloat(ne)<parseFloat(R);default:return M.push(function X(ze){return new s.OBp(3016,!1)}()),"* => *"}}(ze,R);if("function"==typeof Xt)return void M.push(Xt);ze=Xt}const ne=ze.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==ne||ne.length<4)return R.push(function g(ze){return new s.OBp(3015,!1)}()),M;const Ue=ne[1],mt=ne[2],Lt=ne[3];M.push(wr(Ue,Lt)),"<"==mt[0]&&(Ue!=qn||Lt!=qn)&&M.push(wr(Lt,Ue))}(ne,R,M)):R.push(ze),R}(M.expr,R.errors);return{type:o.m0.Transition,matchers:Ue,animation:ne,queryCount:R.queryCount,depCount:R.depCount,options:Wn(M.options)}}visitSequence(M,R){return{type:o.m0.Sequence,steps:M.steps.map(ne=>Cn(this,ne,R)),options:Wn(M.options)}}visitGroup(M,R){const ne=R.currentTime;let Ue=0;const mt=M.steps.map(Lt=>{R.currentTime=ne;const Rt=Cn(this,Lt,R);return Ue=Math.max(Ue,R.currentTime),Rt});return R.currentTime=Ue,{type:o.m0.Group,steps:mt,options:Wn(M.options)}}visitAnimate(M,R){const ne=function Kn(ze,M){if(ze.hasOwnProperty("duration"))return ze;if("number"==typeof ze)return Ii(Nt(ze,M).duration,0,"");const R=ze;if(R.split(/\s+/).some(mt=>"{"==mt.charAt(0)&&"{"==mt.charAt(1))){const mt=Ii(0,0,"");return mt.dynamic=!0,mt.strValue=R,mt}const Ue=Nt(R,M);return Ii(Ue.duration,Ue.delay,Ue.easing)}(M.timings,R.errors);R.currentAnimateTimings=ne;let Ue,mt=M.styles?M.styles:(0,o.wb)({});if(mt.type==o.m0.Keyframes)Ue=this.visitKeyframes(mt,R);else{let Lt=M.styles,Rt=!1;if(!Lt){Rt=!0;const un={};ne.easing&&(un.easing=ne.easing),Lt=(0,o.wb)(un)}R.currentTime+=ne.duration+ne.delay;const Xt=this.visitStyle(Lt,R);Xt.isEmptyStep=Rt,Ue=Xt}return R.currentAnimateTimings=null,{type:o.m0.Animate,timings:ne,style:Ue,options:null}}visitStyle(M,R){const ne=this._makeStyleAst(M,R);return this._validateStyleAst(ne,R),ne}_makeStyleAst(M,R){const ne=[],Ue=Array.isArray(M.styles)?M.styles:[M.styles];for(let Rt of Ue)"string"==typeof Rt?Rt===o.AN?ne.push(Rt):R.errors.push(new s.OBp(3002,!1)):ne.push(new Map(Object.entries(Rt)));let mt=!1,Lt=null;return ne.forEach(Rt=>{if(Rt instanceof Map&&(Rt.has("easing")&&(Lt=Rt.get("easing"),Rt.delete("easing")),!mt))for(let Xt of Rt.values())if(Xt.toString().indexOf("{{")>=0){mt=!0;break}}),{type:o.m0.Style,styles:ne,easing:Lt,offset:M.offset,containsDynamicStyles:mt,options:null}}_validateStyleAst(M,R){const ne=R.currentAnimateTimings;let Ue=R.currentTime,mt=R.currentTime;ne&&mt>0&&(mt-=ne.duration+ne.delay),M.styles.forEach(Lt=>{"string"!=typeof Lt&&Lt.forEach((Rt,Xt)=>{const un=R.collectedStyles.get(R.currentQuerySelector),Gn=un.get(Xt);let Xn=!0;Gn&&(mt!=Ue&&mt>=Gn.startTime&&Ue<=Gn.endTime&&(R.errors.push(function _e(ze,M,R,ne,Ue){return new s.OBp(3010,!1)}()),Xn=!1),mt=Gn.startTime),Xn&&un.set(Xt,{startTime:mt,endTime:Ue}),R.options&&function F(ze,M,R){const ne=M.params||{},Ue=Te(ze);Ue.length&&Ue.forEach(mt=>{ne.hasOwnProperty(mt)||R.push(function _(ze){return new s.OBp(3001,!1)}())})}(Rt,R.options,R.errors)})})}visitKeyframes(M,R){const ne={type:o.m0.Keyframes,styles:[],options:null};if(!R.currentAnimateTimings)return R.errors.push(function j(){return new s.OBp(3011,!1)}()),ne;let mt=0;const Lt=[];let Rt=!1,Xt=!1,un=0;const Gn=M.steps.map(gr=>{const ir=this._makeStyleAst(gr,R);let ts=null!=ir.offset?ir.offset:function fi(ze){if("string"==typeof ze)return null;let M=null;if(Array.isArray(ze))ze.forEach(R=>{if(R instanceof Map&&R.has("offset")){const ne=R;M=parseFloat(ne.get("offset")),ne.delete("offset")}});else if(ze instanceof Map&&ze.has("offset")){const R=ze;M=parseFloat(R.get("offset")),R.delete("offset")}return M}(ir.styles),yr=0;return null!=ts&&(mt++,yr=ir.offset=ts),Xt=Xt||yr<0||yr>1,Rt=Rt||yr<un,un=yr,Lt.push(yr),ir});Xt&&R.errors.push(function ke(){return new s.OBp(3012,!1)}()),Rt&&R.errors.push(function rt(){return new s.OBp(3200,!1)}());const Xn=M.steps.length;let Pi=0;mt>0&&mt<Xn?R.errors.push(function le(){return new s.OBp(3202,!1)}()):0==mt&&(Pi=1/(Xn-1));const Ci=Xn-1,ri=R.currentTime,_i=R.currentAnimateTimings,Fi=_i.duration;return Gn.forEach((gr,ir)=>{const ts=Pi>0?ir==Ci?1:Pi*ir:Lt[ir],yr=ts*Fi;R.currentTime=ri+_i.delay+yr,_i.duration=yr,this._validateStyleAst(gr,R),gr.offset=ts,ne.styles.push(gr)}),ne}visitReference(M,R){return{type:o.m0.Reference,animation:Cn(this,fe(M.animation),R),options:Wn(M.options)}}visitAnimateChild(M,R){return R.depCount++,{type:o.m0.AnimateChild,options:Wn(M.options)}}visitAnimateRef(M,R){return{type:o.m0.AnimateRef,animation:this.visitReference(M.animation,R),options:Wn(M.options)}}visitQuery(M,R){const ne=R.currentQuerySelector,Ue=M.options||{};R.queryCount++,R.currentQuery=M;const[mt,Lt]=function nn(ze){const M=!!ze.split(/\s*,\s*/).find(R=>":self"==R);return M&&(ze=ze.replace(ht,"")),ze=ze.replace(/@\*/g,kn).replace(/@\w+/g,R=>kn+"-"+R.slice(1)).replace(/:animating/g,Bn),[ze,M]}(M.selector);R.currentQuerySelector=ne.length?ne+" "+mt:mt,Xe(R.collectedStyles,R.currentQuerySelector,new Map);const Rt=Cn(this,fe(M.animation),R);return R.currentQuery=null,R.currentQuerySelector=ne,{type:o.m0.Query,selector:mt,limit:Ue.limit||0,optional:!!Ue.optional,includeSelf:Lt,animation:Rt,originalSelector:M.selector,options:Wn(M.options)}}visitStagger(M,R){R.currentQuery||R.errors.push(function ye(){return new s.OBp(3013,!1)}());const ne="full"===M.timings?{duration:0,delay:0,easing:"full"}:Nt(M.timings,R.errors,!0);return{type:o.m0.Stagger,animation:Cn(this,fe(M.animation),R),timings:ne,options:null}}}class In{constructor(M){this.errors=M,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Wn(ze){return ze?(ze={...ze}).params&&(ze.params=function Pn(ze){return ze?{...ze}:null}(ze.params)):ze={},ze}function Ii(ze,M,R){return{duration:ze,delay:M,easing:R}}function ii(ze,M,R,ne,Ue,mt,Lt=null,Rt=!1){return{type:1,element:ze,keyframes:M,preStyleProps:R,postStyleProps:ne,duration:Ue,delay:mt,totalTime:Ue+mt,easing:Lt,subTimeline:Rt}}class ui{constructor(){this._map=new Map}get(M){return this._map.get(M)||[]}append(M,R){let ne=this._map.get(M);ne||this._map.set(M,ne=[]),ne.push(...R)}has(M){return this._map.has(M)}clear(){this._map.clear()}}const yi=new RegExp(":enter","g"),Ui=new RegExp(":leave","g");function Dr(ze,M,R,ne,Ue,mt=new Map,Lt=new Map,Rt,Xt,un=[]){return(new dr).buildKeyframes(ze,M,R,ne,Ue,mt,Lt,Rt,Xt,un)}class dr{buildKeyframes(M,R,ne,Ue,mt,Lt,Rt,Xt,un,Gn=[]){un=un||new ui;const Xn=new Br(M,R,un,Ue,mt,Gn,[]);Xn.options=Xt;const Pi=Xt.delay?ti(Xt.delay):0;Xn.currentTimeline.delayNextStep(Pi),Xn.currentTimeline.setStyles([Lt],null,Xn.errors,Xt),Cn(this,ne,Xn);const Ci=Xn.timelines.filter(ri=>ri.containsAnimation());if(Ci.length&&Rt.size){let ri;for(let _i=Ci.length-1;_i>=0;_i--){const Fi=Ci[_i];if(Fi.element===R){ri=Fi;break}}ri&&!ri.allowOnlyTimelineStyles()&&ri.setStyles([Rt],null,Xn.errors,Xt)}return Ci.length?Ci.map(ri=>ri.buildKeyframes()):[ii(R,[],[],[],0,Pi,"",!1)]}visitTrigger(M,R){}visitState(M,R){}visitTransition(M,R){}visitAnimateChild(M,R){const ne=R.subInstructions.get(R.element);if(ne){const Ue=R.createSubContext(M.options),mt=R.currentTimeline.currentTime,Lt=this._visitSubInstructions(ne,Ue,Ue.options);mt!=Lt&&R.transformIntoNewTimeline(Lt)}R.previousNode=M}visitAnimateRef(M,R){const ne=R.createSubContext(M.options);ne.transformIntoNewTimeline(),this._applyAnimationRefDelays([M.options,M.animation.options],R,ne),this.visitReference(M.animation,ne),R.transformIntoNewTimeline(ne.currentTimeline.currentTime),R.previousNode=M}_applyAnimationRefDelays(M,R,ne){for(const Ue of M){const mt=Ue?.delay;if(mt){const Lt="number"==typeof mt?mt:ti(at(mt,Ue?.params??{},R.errors));ne.delayNextStep(Lt)}}}_visitSubInstructions(M,R,ne){let mt=R.currentTimeline.currentTime;const Lt=null!=ne.duration?ti(ne.duration):null,Rt=null!=ne.delay?ti(ne.delay):null;return 0!==Lt&&M.forEach(Xt=>{const un=R.appendInstructionToTimeline(Xt,Lt,Rt);mt=Math.max(mt,un.duration+un.delay)}),mt}visitReference(M,R){R.updateOptions(M.options,!0),Cn(this,M.animation,R),R.previousNode=M}visitSequence(M,R){const ne=R.subContextCount;let Ue=R;const mt=M.options;if(mt&&(mt.params||mt.delay)&&(Ue=R.createSubContext(mt),Ue.transformIntoNewTimeline(),null!=mt.delay)){Ue.previousNode.type==o.m0.Style&&(Ue.currentTimeline.snapshotCurrentStyles(),Ue.previousNode=pr);const Lt=ti(mt.delay);Ue.delayNextStep(Lt)}M.steps.length&&(M.steps.forEach(Lt=>Cn(this,Lt,Ue)),Ue.currentTimeline.applyStylesToKeyframe(),Ue.subContextCount>ne&&Ue.transformIntoNewTimeline()),R.previousNode=M}visitGroup(M,R){const ne=[];let Ue=R.currentTimeline.currentTime;const mt=M.options&&M.options.delay?ti(M.options.delay):0;M.steps.forEach(Lt=>{const Rt=R.createSubContext(M.options);mt&&Rt.delayNextStep(mt),Cn(this,Lt,Rt),Ue=Math.max(Ue,Rt.currentTimeline.currentTime),ne.push(Rt.currentTimeline)}),ne.forEach(Lt=>R.currentTimeline.mergeTimelineCollectedStyles(Lt)),R.transformIntoNewTimeline(Ue),R.previousNode=M}_visitTiming(M,R){if(M.dynamic){const ne=M.strValue;return Nt(R.params?at(ne,R.params,R.errors):ne,R.errors)}return{duration:M.duration,delay:M.delay,easing:M.easing}}visitAnimate(M,R){const ne=R.currentAnimateTimings=this._visitTiming(M.timings,R),Ue=R.currentTimeline;ne.delay&&(R.incrementTime(ne.delay),Ue.snapshotCurrentStyles());const mt=M.style;mt.type==o.m0.Keyframes?this.visitKeyframes(mt,R):(R.incrementTime(ne.duration),this.visitStyle(mt,R),Ue.applyStylesToKeyframe()),R.currentAnimateTimings=null,R.previousNode=M}visitStyle(M,R){const ne=R.currentTimeline,Ue=R.currentAnimateTimings;!Ue&&ne.hasCurrentStyleProperties()&&ne.forwardFrame();const mt=Ue&&Ue.easing||M.easing;M.isEmptyStep?ne.applyEmptyStep(mt):ne.setStyles(M.styles,mt,R.errors,R.options),R.previousNode=M}visitKeyframes(M,R){const ne=R.currentAnimateTimings,Ue=R.currentTimeline.duration,mt=ne.duration,Rt=R.createSubContext().currentTimeline;Rt.easing=ne.easing,M.styles.forEach(Xt=>{Rt.forwardTime((Xt.offset||0)*mt),Rt.setStyles(Xt.styles,Xt.easing,R.errors,R.options),Rt.applyStylesToKeyframe()}),R.currentTimeline.mergeTimelineCollectedStyles(Rt),R.transformIntoNewTimeline(Ue+mt),R.previousNode=M}visitQuery(M,R){const ne=R.currentTimeline.currentTime,Ue=M.options||{},mt=Ue.delay?ti(Ue.delay):0;mt&&(R.previousNode.type===o.m0.Style||0==ne&&R.currentTimeline.hasCurrentStyleProperties())&&(R.currentTimeline.snapshotCurrentStyles(),R.previousNode=pr);let Lt=ne;const Rt=R.invokeQuery(M.selector,M.originalSelector,M.limit,M.includeSelf,!!Ue.optional,R.errors);R.currentQueryTotal=Rt.length;let Xt=null;Rt.forEach((un,Gn)=>{R.currentQueryIndex=Gn;const Xn=R.createSubContext(M.options,un);mt&&Xn.delayNextStep(mt),un===R.element&&(Xt=Xn.currentTimeline),Cn(this,M.animation,Xn),Xn.currentTimeline.applyStylesToKeyframe(),Lt=Math.max(Lt,Xn.currentTimeline.currentTime)}),R.currentQueryIndex=0,R.currentQueryTotal=0,R.transformIntoNewTimeline(Lt),Xt&&(R.currentTimeline.mergeTimelineCollectedStyles(Xt),R.currentTimeline.snapshotCurrentStyles()),R.previousNode=M}visitStagger(M,R){const ne=R.parentContext,Ue=R.currentTimeline,mt=M.timings,Lt=Math.abs(mt.duration),Rt=Lt*(R.currentQueryTotal-1);let Xt=Lt*R.currentQueryIndex;switch(mt.duration<0?"reverse":mt.easing){case"reverse":Xt=Rt-Xt;break;case"full":Xt=ne.currentStaggerTime}const Gn=R.currentTimeline;Xt&&Gn.delayNextStep(Xt);const Xn=Gn.currentTime;Cn(this,M.animation,R),R.previousNode=M,ne.currentStaggerTime=Ue.currentTime-Xn+(Ue.startTime-ne.currentTimeline.startTime)}}const pr={};class Br{constructor(M,R,ne,Ue,mt,Lt,Rt,Xt){this._driver=M,this.element=R,this.subInstructions=ne,this._enterClassName=Ue,this._leaveClassName=mt,this.errors=Lt,this.timelines=Rt,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=pr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Xt||new sr(this._driver,R,0),Rt.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(M,R){if(!M)return;const ne=M;let Ue=this.options;null!=ne.duration&&(Ue.duration=ti(ne.duration)),null!=ne.delay&&(Ue.delay=ti(ne.delay));const mt=ne.params;if(mt){let Lt=Ue.params;Lt||(Lt=this.options.params={}),Object.keys(mt).forEach(Rt=>{(!R||!Lt.hasOwnProperty(Rt))&&(Lt[Rt]=at(mt[Rt],Lt,this.errors))})}}_copyOptions(){const M={};if(this.options){const R=this.options.params;if(R){const ne=M.params={};Object.keys(R).forEach(Ue=>{ne[Ue]=R[Ue]})}}return M}createSubContext(M=null,R,ne){const Ue=R||this.element,mt=new Br(this._driver,Ue,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Ue,ne||0));return mt.previousNode=this.previousNode,mt.currentAnimateTimings=this.currentAnimateTimings,mt.options=this._copyOptions(),mt.updateOptions(M),mt.currentQueryIndex=this.currentQueryIndex,mt.currentQueryTotal=this.currentQueryTotal,mt.parentContext=this,this.subContextCount++,mt}transformIntoNewTimeline(M){return this.previousNode=pr,this.currentTimeline=this.currentTimeline.fork(this.element,M),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(M,R,ne){const Ue={duration:R??M.duration,delay:this.currentTimeline.currentTime+(ne??0)+M.delay,easing:""},mt=new oi(this._driver,M.element,M.keyframes,M.preStyleProps,M.postStyleProps,Ue,M.stretchStartingKeyframe);return this.timelines.push(mt),Ue}incrementTime(M){this.currentTimeline.forwardTime(this.currentTimeline.duration+M)}delayNextStep(M){M>0&&this.currentTimeline.delayNextStep(M)}invokeQuery(M,R,ne,Ue,mt,Lt){let Rt=[];if(Ue&&Rt.push(this.element),M.length>0){M=(M=M.replace(yi,"."+this._enterClassName)).replace(Ui,"."+this._leaveClassName);let un=this._driver.query(this.element,M,1!=ne);0!==ne&&(un=ne<0?un.slice(un.length+ne,un.length):un.slice(0,ne)),Rt.push(...un)}return!mt&&0==Rt.length&&Lt.push(function Y(ze){return new s.OBp(3014,!1)}()),Rt}}class sr{constructor(M,R,ne,Ue){this._driver=M,this.element=R,this.startTime=ne,this._elementTimelineStylesLookup=Ue,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(R),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(R,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(M){const R=1===this._keyframes.size&&this._pendingStyles.size;this.duration||R?(this.forwardTime(this.currentTime+M),R&&this.snapshotCurrentStyles()):this.startTime+=M}fork(M,R){return this.applyStylesToKeyframe(),new sr(this._driver,M,R||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+=1,this._loadKeyframe()}forwardTime(M){this.applyStylesToKeyframe(),this.duration=M,this._loadKeyframe()}_updateStyle(M,R){this._localTimelineStyles.set(M,R),this._globalTimelineStyles.set(M,R),this._styleSummary.set(M,{time:this.currentTime,value:R})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(M){M&&this._previousKeyframe.set("easing",M);for(let[R,ne]of this._globalTimelineStyles)this._backFill.set(R,ne||o.AN),this._currentKeyframe.set(R,o.AN);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(M,R,ne,Ue){R&&this._previousKeyframe.set("easing",R);const mt=Ue&&Ue.params||{},Lt=function Zs(ze,M){const R=new Map;let ne;return ze.forEach(Ue=>{if("*"===Ue){ne??=M.keys();for(let mt of ne)R.set(mt,o.AN)}else for(let[mt,Lt]of Ue)R.set(mt,Lt)}),R}(M,this._globalTimelineStyles);for(let[Rt,Xt]of Lt){const un=at(Xt,mt,ne);this._pendingStyles.set(Rt,un),this._localTimelineStyles.has(Rt)||this._backFill.set(Rt,this._globalTimelineStyles.get(Rt)??o.AN),this._updateStyle(Rt,un)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((M,R)=>{this._currentKeyframe.set(R,M)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((M,R)=>{this._currentKeyframe.has(R)||this._currentKeyframe.set(R,M)}))}snapshotCurrentStyles(){for(let[M,R]of this._localTimelineStyles)this._pendingStyles.set(M,R),this._updateStyle(M,R)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const M=[];for(let R in this._currentKeyframe)M.push(R);return M}mergeTimelineCollectedStyles(M){M._styleSummary.forEach((R,ne)=>{const Ue=this._styleSummary.get(ne);(!Ue||R.time>Ue.time)&&this._updateStyle(ne,R.value)})}buildKeyframes(){this.applyStylesToKeyframe();const M=new Set,R=new Set,ne=1===this._keyframes.size&&0===this.duration;let Ue=[];this._keyframes.forEach((Rt,Xt)=>{const un=new Map([...this._backFill,...Rt]);un.forEach((Gn,Xn)=>{Gn===o.aM?M.add(Xn):Gn===o.AN&&R.add(Xn)}),ne||un.set("offset",Xt/this.duration),Ue.push(un)});const mt=[...M.values()],Lt=[...R.values()];if(ne){const Rt=Ue[0],Xt=new Map(Rt);Rt.set("offset",0),Xt.set("offset",1),Ue=[Rt,Xt]}return ii(this.element,Ue,mt,Lt,this.duration,this.startTime,this.easing,!1)}}class oi extends sr{constructor(M,R,ne,Ue,mt,Lt,Rt=!1){super(M,R,Lt.delay),this.keyframes=ne,this.preStyleProps=Ue,this.postStyleProps=mt,this._stretchStartingKeyframe=Rt,this.timings={duration:Lt.duration,delay:Lt.delay,easing:Lt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let M=this.keyframes,{delay:R,duration:ne,easing:Ue}=this.timings;if(this._stretchStartingKeyframe&&R){const mt=[],Lt=ne+R,Rt=R/Lt,Xt=new Map(M[0]);Xt.set("offset",0),mt.push(Xt);const un=new Map(M[0]);un.set("offset",gi(Rt)),mt.push(un);const Gn=M.length-1;for(let Xn=1;Xn<=Gn;Xn++){let Pi=new Map(M[Xn]);const Ci=Pi.get("offset");Pi.set("offset",gi((R+Ci*ne)/Lt)),mt.push(Pi)}ne=Lt,R=0,Ue="",M=mt}return ii(this.element,M,this.preStyleProps,this.postStyleProps,ne,R,Ue,!0)}}function gi(ze,M=3){const R=Math.pow(10,M-1);return Math.round(ze*R)/R}function Hr(ze,M,R,ne,Ue,mt,Lt,Rt,Xt,un,Gn,Xn,Pi){return{type:0,element:ze,triggerName:M,isRemovalTransition:Ue,fromState:R,fromStyles:mt,toState:ne,toStyles:Lt,timelines:Rt,queriedElements:Xt,preStyleProps:un,postStyleProps:Gn,totalTime:Xn,errors:Pi}}const Or={};class Pr{constructor(M,R,ne){this._triggerName=M,this.ast=R,this._stateStyles=ne}match(M,R,ne,Ue){return function bs(ze,M,R,ne,Ue){return ze.some(mt=>mt(M,R,ne,Ue))}(this.ast.matchers,M,R,ne,Ue)}buildStyles(M,R,ne){let Ue=this._stateStyles.get("*");return void 0!==M&&(Ue=this._stateStyles.get(M?.toString())||Ue),Ue?Ue.buildStyles(R,ne):new Map}build(M,R,ne,Ue,mt,Lt,Rt,Xt,un,Gn){const Xn=[],Pi=this.ast.options&&this.ast.options.params||Or,ri=this.buildStyles(ne,Rt&&Rt.params||Or,Xn),_i=Xt&&Xt.params||Or,Fi=this.buildStyles(Ue,_i,Xn),gr=new Set,ir=new Map,ts=new Map,yr="void"===Ue,vi={params:ci(_i,Pi),delay:this.ast.options?.delay},Ji=Gn?[]:Dr(M,R,this.ast.animation,mt,Lt,ri,Fi,vi,un,Xn);let Bi=0;return Ji.forEach(ji=>{Bi=Math.max(ji.duration+ji.delay,Bi)}),Xn.length?Hr(R,this._triggerName,ne,Ue,yr,ri,Fi,[],[],ir,ts,Bi,Xn):(Ji.forEach(ji=>{const qi=ji.element,Us=Xe(ir,qi,new Set);ji.preStyleProps.forEach(br=>Us.add(br));const ks=Xe(ts,qi,new Set);ji.postStyleProps.forEach(br=>ks.add(br)),qi!==R&&gr.add(qi)}),Hr(R,this._triggerName,ne,Ue,yr,ri,Fi,Ji,[...gr.values()],ir,ts,Bi))}}function ci(ze,M){const R={...M};return Object.entries(ze).forEach(([ne,Ue])=>{null!=Ue&&(R[ne]=Ue)}),R}class Vs{constructor(M,R,ne){this.styles=M,this.defaultParams=R,this.normalizer=ne}buildStyles(M,R){const ne=new Map,Ue=ci(M,this.defaultParams);return this.styles.styles.forEach(mt=>{"string"!=typeof mt&&mt.forEach((Lt,Rt)=>{Lt&&(Lt=at(Lt,Ue,R));const Xt=this.normalizer.normalizePropertyName(Rt,R);Lt=this.normalizer.normalizeStyleValue(Rt,Xt,Lt,R),ne.set(Rt,Lt)})}),ne}}class Qi{constructor(M,R,ne){this.name=M,this.ast=R,this._normalizer=ne,this.transitionFactories=[],this.states=new Map,R.states.forEach(Ue=>{this.states.set(Ue.name,new Vs(Ue.style,Ue.options&&Ue.options.params||{},ne))}),As(this.states,"true","1"),As(this.states,"false","0"),R.transitions.forEach(Ue=>{this.transitionFactories.push(new Pr(M,Ue,this.states))}),this.fallbackTransition=function Is(ze,M,R){return new Pr(ze,{type:o.m0.Transition,animation:{type:o.m0.Sequence,steps:[],options:null},matchers:[(Lt,Rt)=>!0],options:null,queryCount:0,depCount:0},M)}(M,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(M,R,ne,Ue){return this.transitionFactories.find(Lt=>Lt.match(M,R,ne,Ue))||null}matchStyles(M,R,ne){return this.fallbackTransition.buildStyles(M,R,ne)}}function As(ze,M,R){ze.has(M)?ze.has(R)||ze.set(R,ze.get(M)):ze.has(R)&&ze.set(M,ze.get(R))}const gs=new ui;class mr{constructor(M,R,ne){this.bodyNode=M,this._driver=R,this._normalizer=ne,this._animations=new Map,this._playersById=new Map,this.players=[]}register(M,R){const ne=[],mt=xt(this._driver,R,ne,[]);if(ne.length)throw function Se(ze){return new s.OBp(3503,!1)}();this._animations.set(M,mt)}_buildPlayer(M,R,ne){const Ue=M.element,mt=je(this._normalizer,M.keyframes,R,ne);return this._driver.animate(Ue,mt,M.duration,M.delay,M.easing,[],!0)}create(M,R,ne={}){const Ue=[],mt=this._animations.get(M);let Lt;const Rt=new Map;if(mt?(Lt=Dr(this._driver,R,mt,Un,jn,new Map,new Map,ne,gs,Ue),Lt.forEach(Gn=>{const Xn=Xe(Rt,Gn.element,new Map);Gn.postStyleProps.forEach(Pi=>Xn.set(Pi,null))})):(Ue.push(function ot(){return new s.OBp(3300,!1)}()),Lt=[]),Ue.length)throw function _t(ze){return new s.OBp(3504,!1)}();Rt.forEach((Gn,Xn)=>{Gn.forEach((Pi,Ci)=>{Gn.set(Ci,this._driver.computeStyle(Xn,Ci,o.AN))})});const un=$e(Lt.map(Gn=>{const Xn=Rt.get(Gn.element);return this._buildPlayer(Gn,new Map,Xn)}));return this._playersById.set(M,un),un.onDestroy(()=>this.destroy(M)),this.players.push(un),un}destroy(M){const R=this._getPlayer(M);R.destroy(),this._playersById.delete(M);const ne=this.players.indexOf(R);ne>=0&&this.players.splice(ne,1)}_getPlayer(M){const R=this._playersById.get(M);if(!R)throw function pt(ze){return new s.OBp(3301,!1)}();return R}listen(M,R,ne,Ue){const mt=Ye(R,"","","");return dt(this._getPlayer(M),ne,mt,Ue),()=>{}}command(M,R,ne,Ue){if("register"==ne)return void this.register(M,Ue[0]);if("create"==ne)return void this.create(M,R,Ue[0]||{});const mt=this._getPlayer(M);switch(ne){case"play":mt.play();break;case"pause":mt.pause();break;case"reset":mt.reset();break;case"restart":mt.restart();break;case"finish":mt.finish();break;case"init":mt.init();break;case"setPosition":mt.setPosition(parseFloat(Ue[0]));break;case"destroy":this.destroy(M)}}}const xr="ng-animate-queued",Ns="ng-animate-disabled",hs=[],Ts={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ss={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Sr="__ng_removed";class nr{get params(){return this.options.params}constructor(M,R=""){this.namespaceId=R;const ne=M&&M.hasOwnProperty("value");if(this.value=function Os(ze){return ze??null}(ne?M.value:M),ne){const{value:mt,...Lt}=M;this.options=Lt}else this.options={};this.options.params||(this.options.params={})}absorbOptions(M){const R=M.params;if(R){const ne=this.options.params;Object.keys(R).forEach(Ue=>{null==ne[Ue]&&(ne[Ue]=R[Ue])})}}}const Jr="void",di=new nr(Jr);class cs{constructor(M,R,ne){this.id=M,this.hostElement=R,this._engine=ne,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+M,Ar(R,this._hostClassName)}listen(M,R,ne,Ue){if(!this._triggers.has(R))throw function Gt(ze,M){return new s.OBp(3302,!1)}();if(null==ne||0==ne.length)throw function qe(ze){return new s.OBp(3303,!1)}();if(!function as(ze){return"start"==ze||"done"==ze}(ne))throw function Je(ze,M){return new s.OBp(3400,!1)}();const mt=Xe(this._elementListeners,M,[]),Lt={name:R,phase:ne,callback:Ue};mt.push(Lt);const Rt=Xe(this._engine.statesByElement,M,new Map);return Rt.has(R)||(Ar(M,dn),Ar(M,dn+"-"+R),Rt.set(R,di)),()=>{this._engine.afterFlush(()=>{const Xt=mt.indexOf(Lt);Xt>=0&&mt.splice(Xt,1),this._triggers.has(R)||Rt.delete(R)})}}register(M,R){return!this._triggers.has(M)&&(this._triggers.set(M,R),!0)}_getTrigger(M){const R=this._triggers.get(M);if(!R)throw function ce(ze){return new s.OBp(3401,!1)}();return R}trigger(M,R,ne,Ue=!0){const mt=this._getTrigger(R),Lt=new qr(this.id,R,M);let Rt=this._engine.statesByElement.get(M);Rt||(Ar(M,dn),Ar(M,dn+"-"+R),this._engine.statesByElement.set(M,Rt=new Map));let Xt=Rt.get(R);const un=new nr(ne,this.id);if(!(ne&&ne.hasOwnProperty("value"))&&Xt&&un.absorbOptions(Xt.options),Rt.set(R,un),Xt||(Xt=di),un.value!==Jr&&Xt.value===un.value){if(!function Q(ze,M){const R=Object.keys(ze),ne=Object.keys(M);if(R.length!=ne.length)return!1;for(let Ue=0;Ue<R.length;Ue++){const mt=R[Ue];if(!M.hasOwnProperty(mt)||ze[mt]!==M[mt])return!1}return!0}(Xt.params,un.params)){const _i=[],Fi=mt.matchStyles(Xt.value,Xt.params,_i),gr=mt.matchStyles(un.value,un.params,_i);_i.length?this._engine.reportError(_i):this._engine.afterFlush(()=>{De(M,Fi),We(M,gr)})}return}const Pi=Xe(this._engine.playersByElement,M,[]);Pi.forEach(_i=>{_i.namespaceId==this.id&&_i.triggerName==R&&_i.queued&&_i.destroy()});let Ci=mt.matchTransition(Xt.value,un.value,M,un.params),ri=!1;if(!Ci){if(!Ue)return;Ci=mt.fallbackTransition,ri=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:M,triggerName:R,transition:Ci,fromState:Xt,toState:un,player:Lt,isFallbackTransition:ri}),ri||(Ar(M,xr),Lt.onStart(()=>{Hi(M,xr)})),Lt.onDone(()=>{let _i=this.players.indexOf(Lt);_i>=0&&this.players.splice(_i,1);const Fi=this._engine.playersByElement.get(M);if(Fi){let gr=Fi.indexOf(Lt);gr>=0&&Fi.splice(gr,1)}}),this.players.push(Lt),Pi.push(Lt),Lt}deregister(M){this._triggers.delete(M),this._engine.statesByElement.forEach(R=>R.delete(M)),this._elementListeners.forEach((R,ne)=>{this._elementListeners.set(ne,R.filter(Ue=>Ue.name!=M))})}clearElementCache(M){this._engine.statesByElement.delete(M),this._elementListeners.delete(M);const R=this._engine.playersByElement.get(M);R&&(R.forEach(ne=>ne.destroy()),this._engine.playersByElement.delete(M))}_signalRemovalForInnerTriggers(M,R){const ne=this._engine.driver.query(M,kn,!0);ne.forEach(Ue=>{if(Ue[Sr])return;const mt=this._engine.fetchNamespacesByElement(Ue);mt.size?mt.forEach(Lt=>Lt.triggerLeaveAnimation(Ue,R,!1,!0)):this.clearElementCache(Ue)}),this._engine.afterFlushAnimationsDone(()=>ne.forEach(Ue=>this.clearElementCache(Ue)))}triggerLeaveAnimation(M,R,ne,Ue){const mt=this._engine.statesByElement.get(M),Lt=new Map;if(mt){const Rt=[];if(mt.forEach((Xt,un)=>{if(Lt.set(un,Xt.value),this._triggers.has(un)){const Gn=this.trigger(M,un,Jr,Ue);Gn&&Rt.push(Gn)}}),Rt.length)return this._engine.markElementAsRemoved(this.id,M,!0,R,Lt),ne&&$e(Rt).onDone(()=>this._engine.processLeaveNode(M)),!0}return!1}prepareLeaveAnimationListeners(M){const R=this._elementListeners.get(M),ne=this._engine.statesByElement.get(M);if(R&&ne){const Ue=new Set;R.forEach(mt=>{const Lt=mt.name;if(Ue.has(Lt))return;Ue.add(Lt);const Xt=this._triggers.get(Lt).fallbackTransition,un=ne.get(Lt)||di,Gn=new nr(Jr),Xn=new qr(this.id,Lt,M);this._engine.totalQueuedPlayers++,this._queue.push({element:M,triggerName:Lt,transition:Xt,fromState:un,toState:Gn,player:Xn,isFallbackTransition:!0})})}}removeNode(M,R){const ne=this._engine;if(M.childElementCount&&this._signalRemovalForInnerTriggers(M,R),this.triggerLeaveAnimation(M,R,!0))return;let Ue=!1;if(ne.totalAnimations){const mt=ne.players.length?ne.playersByQueriedElement.get(M):[];if(mt&&mt.length)Ue=!0;else{let Lt=M;for(;Lt=Lt.parentNode;)if(ne.statesByElement.get(Lt)){Ue=!0;break}}}if(this.prepareLeaveAnimationListeners(M),Ue)ne.markElementAsRemoved(this.id,M,!1,R);else{const mt=M[Sr];(!mt||mt===Ts)&&(ne.afterFlush(()=>this.clearElementCache(M)),ne.destroyInnerAnimations(M),ne._onRemovalComplete(M,R))}}insertNode(M,R){Ar(M,this._hostClassName)}drainQueuedTransitions(M){const R=[];return this._queue.forEach(ne=>{const Ue=ne.player;if(Ue.destroyed)return;const mt=ne.element,Lt=this._elementListeners.get(mt);Lt&&Lt.forEach(Rt=>{if(Rt.name==ne.triggerName){const Xt=Ye(mt,ne.triggerName,ne.fromState.value,ne.toState.value);Xt._data=M,dt(ne.player,Rt.phase,Xt,Rt.callback)}}),Ue.markedForDestroy?this._engine.afterFlush(()=>{Ue.destroy()}):R.push(ne)}),this._queue=[],R.sort((ne,Ue)=>{const mt=ne.transition.ast.depCount,Lt=Ue.transition.ast.depCount;return 0==mt||0==Lt?mt-Lt:this._engine.driver.containsElement(ne.element,Ue.element)?1:-1})}destroy(M){this.players.forEach(R=>R.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,M)}}class Cs{_onRemovalComplete(M,R){this.onRemovalComplete(M,R)}constructor(M,R,ne,Ue){this.bodyNode=M,this.driver=R,this._normalizer=ne,this.scheduler=Ue,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(mt,Lt)=>{}}get queuedPlayers(){const M=[];return this._namespaceList.forEach(R=>{R.players.forEach(ne=>{ne.queued&&M.push(ne)})}),M}createNamespace(M,R){const ne=new cs(M,R,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,R)?this._balanceNamespaceList(ne,R):(this.newHostElements.set(R,ne),this.collectEnterElement(R)),this._namespaceLookup[M]=ne}_balanceNamespaceList(M,R){const ne=this._namespaceList,Ue=this.namespacesByHostElement;if(ne.length-1>=0){let Lt=!1,Rt=this.driver.getParentElement(R);for(;Rt;){const Xt=Ue.get(Rt);if(Xt){const un=ne.indexOf(Xt);ne.splice(un+1,0,M),Lt=!0;break}Rt=this.driver.getParentElement(Rt)}Lt||ne.unshift(M)}else ne.push(M);return Ue.set(R,M),M}register(M,R){let ne=this._namespaceLookup[M];return ne||(ne=this.createNamespace(M,R)),ne}registerTrigger(M,R,ne){let Ue=this._namespaceLookup[M];Ue&&Ue.register(R,ne)&&this.totalAnimations++}destroy(M,R){M&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const ne=this._fetchNamespace(M);this.namespacesByHostElement.delete(ne.hostElement);const Ue=this._namespaceList.indexOf(ne);Ue>=0&&this._namespaceList.splice(Ue,1),ne.destroy(R),delete this._namespaceLookup[M]}))}_fetchNamespace(M){return this._namespaceLookup[M]}fetchNamespacesByElement(M){const R=new Set,ne=this.statesByElement.get(M);if(ne)for(let Ue of ne.values())if(Ue.namespaceId){const mt=this._fetchNamespace(Ue.namespaceId);mt&&R.add(mt)}return R}trigger(M,R,ne,Ue){if(hr(R)){const mt=this._fetchNamespace(M);if(mt)return mt.trigger(R,ne,Ue),!0}return!1}insertNode(M,R,ne,Ue){if(!hr(R))return;const mt=R[Sr];if(mt&&mt.setForRemoval){mt.setForRemoval=!1,mt.setForMove=!0;const Lt=this.collectedLeaveElements.indexOf(R);Lt>=0&&this.collectedLeaveElements.splice(Lt,1)}if(M){const Lt=this._fetchNamespace(M);Lt&&Lt.insertNode(R,ne)}Ue&&this.collectEnterElement(R)}collectEnterElement(M){this.collectedEnterElements.push(M)}markElementAsDisabled(M,R){R?this.disabledNodes.has(M)||(this.disabledNodes.add(M),Ar(M,Ns)):this.disabledNodes.has(M)&&(this.disabledNodes.delete(M),Hi(M,Ns))}removeNode(M,R,ne){if(hr(R)){this.scheduler?.notify();const Ue=M?this._fetchNamespace(M):null;Ue?Ue.removeNode(R,ne):this.markElementAsRemoved(M,R,!1,ne);const mt=this.namespacesByHostElement.get(R);mt&&mt.id!==M&&mt.removeNode(R,ne)}else this._onRemovalComplete(R,ne)}markElementAsRemoved(M,R,ne,Ue,mt){this.collectedLeaveElements.push(R),R[Sr]={namespaceId:M,setForRemoval:Ue,hasAnimation:ne,removedBeforeQueried:!1,previousTriggersValues:mt}}listen(M,R,ne,Ue,mt){return hr(R)?this._fetchNamespace(M).listen(R,ne,Ue,mt):()=>{}}_buildInstruction(M,R,ne,Ue,mt){return M.transition.build(this.driver,M.element,M.fromState.value,M.toState.value,ne,Ue,M.fromState.options,M.toState.options,R,mt)}destroyInnerAnimations(M){let R=this.driver.query(M,kn,!0);R.forEach(ne=>this.destroyActiveAnimationsForElement(ne)),0!=this.playersByQueriedElement.size&&(R=this.driver.query(M,Bn,!0),R.forEach(ne=>this.finishActiveQueriedAnimationOnElement(ne)))}destroyActiveAnimationsForElement(M){const R=this.playersByElement.get(M);R&&R.forEach(ne=>{ne.queued?ne.markedForDestroy=!0:ne.destroy()})}finishActiveQueriedAnimationOnElement(M){const R=this.playersByQueriedElement.get(M);R&&R.forEach(ne=>ne.finish())}whenRenderingDone(){return new Promise(M=>{if(this.players.length)return $e(this.players).onDone(()=>M());M()})}processLeaveNode(M){const R=M[Sr];if(R&&R.setForRemoval){if(M[Sr]=Ts,R.namespaceId){this.destroyInnerAnimations(M);const ne=this._fetchNamespace(R.namespaceId);ne&&ne.clearElementCache(M)}this._onRemovalComplete(M,R.setForRemoval)}M.classList?.contains(Ns)&&this.markElementAsDisabled(M,!1),this.driver.query(M,".ng-animate-disabled",!0).forEach(ne=>{this.markElementAsDisabled(ne,!1)})}flush(M=-1){let R=[];if(this.newHostElements.size&&(this.newHostElements.forEach((ne,Ue)=>this._balanceNamespaceList(ne,Ue)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let ne=0;ne<this.collectedEnterElements.length;ne++)Ar(this.collectedEnterElements[ne],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const ne=[];try{R=this._flushAnimations(ne,M)}finally{for(let Ue=0;Ue<ne.length;Ue++)ne[Ue]()}}else for(let ne=0;ne<this.collectedLeaveElements.length;ne++)this.processLeaveNode(this.collectedLeaveElements[ne]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(ne=>ne()),this._flushFns=[],this._whenQuietFns.length){const ne=this._whenQuietFns;this._whenQuietFns=[],R.length?$e(R).onDone(()=>{ne.forEach(Ue=>Ue())}):ne.forEach(Ue=>Ue())}}reportError(M){throw function Ae(ze){return new s.OBp(3402,!1)}()}_flushAnimations(M,R){const ne=new ui,Ue=[],mt=new Map,Lt=[],Rt=new Map,Xt=new Map,un=new Map,Gn=new Set;this.disabledNodes.forEach(Wt=>{Gn.add(Wt);const Zt=this.driver.query(Wt,".ng-animate-queued",!0);for(let fn=0;fn<Zt.length;fn++)Gn.add(Zt[fn])});const Xn=this.bodyNode,Pi=Array.from(this.statesByElement.keys()),Ci=es(Pi,this.collectedEnterElements),ri=new Map;let _i=0;Ci.forEach((Wt,Zt)=>{const fn=Un+_i++;ri.set(Zt,fn),Wt.forEach(wn=>Ar(wn,fn))});const Fi=[],gr=new Set,ir=new Set;for(let Wt=0;Wt<this.collectedLeaveElements.length;Wt++){const Zt=this.collectedLeaveElements[Wt],fn=Zt[Sr];fn&&fn.setForRemoval&&(Fi.push(Zt),gr.add(Zt),fn.hasAnimation?this.driver.query(Zt,".ng-star-inserted",!0).forEach(wn=>gr.add(wn)):ir.add(Zt))}const ts=new Map,yr=es(Pi,Array.from(gr));yr.forEach((Wt,Zt)=>{const fn=jn+_i++;ts.set(Zt,fn),Wt.forEach(wn=>Ar(wn,fn))}),M.push(()=>{Ci.forEach((Wt,Zt)=>{const fn=ri.get(Zt);Wt.forEach(wn=>Hi(wn,fn))}),yr.forEach((Wt,Zt)=>{const fn=ts.get(Zt);Wt.forEach(wn=>Hi(wn,fn))}),Fi.forEach(Wt=>{this.processLeaveNode(Wt)})});const vi=[],Ji=[];for(let Wt=this._namespaceList.length-1;Wt>=0;Wt--)this._namespaceList[Wt].drainQueuedTransitions(R).forEach(fn=>{const wn=fn.player,Hn=fn.element;if(vi.push(wn),this.collectedEnterElements.length){const wi=Hn[Sr];if(wi&&wi.setForMove){if(wi.previousTriggersValues&&wi.previousTriggersValues.has(fn.triggerName)){const Cr=wi.previousTriggersValues.get(fn.triggerName),er=this.statesByElement.get(fn.element);if(er&&er.has(fn.triggerName)){const $r=er.get(fn.triggerName);$r.value=Cr,er.set(fn.triggerName,$r)}}return void wn.destroy()}}const Vn=!Xn||!this.driver.containsElement(Xn,Hn),pi=ts.get(Hn),ai=ri.get(Hn),Nn=this._buildInstruction(fn,ne,ai,pi,Vn);if(Nn.errors&&Nn.errors.length)return void Ji.push(Nn);if(Vn)return wn.onStart(()=>De(Hn,Nn.fromStyles)),wn.onDestroy(()=>We(Hn,Nn.toStyles)),void Ue.push(wn);if(fn.isFallbackTransition)return wn.onStart(()=>De(Hn,Nn.fromStyles)),wn.onDestroy(()=>We(Hn,Nn.toStyles)),void Ue.push(wn);const Ni=[];Nn.timelines.forEach(wi=>{wi.stretchStartingKeyframe=!0,this.disabledNodes.has(wi.element)||Ni.push(wi)}),Nn.timelines=Ni,ne.append(Hn,Nn.timelines),Lt.push({instruction:Nn,player:wn,element:Hn}),Nn.queriedElements.forEach(wi=>Xe(Rt,wi,[]).push(wn)),Nn.preStyleProps.forEach((wi,Cr)=>{if(wi.size){let er=Xt.get(Cr);er||Xt.set(Cr,er=new Set),wi.forEach(($r,Rr)=>er.add(Rr))}}),Nn.postStyleProps.forEach((wi,Cr)=>{let er=un.get(Cr);er||un.set(Cr,er=new Set),wi.forEach(($r,Rr)=>er.add(Rr))})});if(Ji.length){const Wt=[];Ji.forEach(Zt=>{Wt.push(function H(ze,M){return new s.OBp(3505,!1)}())}),vi.forEach(Zt=>Zt.destroy()),this.reportError(Wt)}const Bi=new Map,ji=new Map;Lt.forEach(Wt=>{const Zt=Wt.element;ne.has(Zt)&&(ji.set(Zt,Zt),this._beforeAnimationBuild(Wt.player.namespaceId,Wt.instruction,Bi))}),Ue.forEach(Wt=>{const Zt=Wt.element;this._getPreviousPlayers(Zt,!1,Wt.namespaceId,Wt.triggerName,null).forEach(wn=>{Xe(Bi,Zt,[]).push(wn),wn.destroy()})});const qi=Fi.filter(Wt=>we(Wt,Xt,un)),Us=new Map;Es(Us,this.driver,ir,un,o.AN).forEach(Wt=>{we(Wt,Xt,un)&&qi.push(Wt)});const br=new Map;Ci.forEach((Wt,Zt)=>{Es(br,this.driver,new Set(Wt),Xt,o.aM)}),qi.forEach(Wt=>{const Zt=Us.get(Wt),fn=br.get(Wt);Us.set(Wt,new Map([...Zt?.entries()??[],...fn?.entries()??[]]))});const yt=[],Ht=[],Jt={};Lt.forEach(Wt=>{const{element:Zt,player:fn,instruction:wn}=Wt;if(ne.has(Zt)){if(Gn.has(Zt))return fn.onDestroy(()=>We(Zt,wn.toStyles)),fn.disabled=!0,fn.overrideTotalTime(wn.totalTime),void Ue.push(fn);let Hn=Jt;if(ji.size>1){let pi=Zt;const ai=[];for(;pi=pi.parentNode;){const Nn=ji.get(pi);if(Nn){Hn=Nn;break}ai.push(pi)}ai.forEach(Nn=>ji.set(Nn,Hn))}const Vn=this._buildAnimation(fn.namespaceId,wn,Bi,mt,br,Us);if(fn.setRealPlayer(Vn),Hn===Jt)yt.push(fn);else{const pi=this.playersByElement.get(Hn);pi&&pi.length&&(fn.parentPlayer=$e(pi)),Ue.push(fn)}}else De(Zt,wn.fromStyles),fn.onDestroy(()=>We(Zt,wn.toStyles)),Ht.push(fn),Gn.has(Zt)&&Ue.push(fn)}),Ht.forEach(Wt=>{const Zt=mt.get(Wt.element);if(Zt&&Zt.length){const fn=$e(Zt);Wt.setRealPlayer(fn)}}),Ue.forEach(Wt=>{Wt.parentPlayer?Wt.syncPlayerEvents(Wt.parentPlayer):Wt.destroy()});for(let Wt=0;Wt<Fi.length;Wt++){const Zt=Fi[Wt],fn=Zt[Sr];if(Hi(Zt,jn),fn&&fn.hasAnimation)continue;let wn=[];if(Rt.size){let Vn=Rt.get(Zt);Vn&&Vn.length&&wn.push(...Vn);let pi=this.driver.query(Zt,Bn,!0);for(let ai=0;ai<pi.length;ai++){let Nn=Rt.get(pi[ai]);Nn&&Nn.length&&wn.push(...Nn)}}const Hn=wn.filter(Vn=>!Vn.destroyed);Hn.length?m(this,Zt,Hn):this.processLeaveNode(Zt)}return Fi.length=0,yt.forEach(Wt=>{this.players.push(Wt),Wt.onDone(()=>{Wt.destroy();const Zt=this.players.indexOf(Wt);this.players.splice(Zt,1)}),Wt.play()}),yt}afterFlush(M){this._flushFns.push(M)}afterFlushAnimationsDone(M){this._whenQuietFns.push(M)}_getPreviousPlayers(M,R,ne,Ue,mt){let Lt=[];if(R){const Rt=this.playersByQueriedElement.get(M);Rt&&(Lt=Rt)}else{const Rt=this.playersByElement.get(M);if(Rt){const Xt=!mt||mt==Jr;Rt.forEach(un=>{un.queued||!Xt&&un.triggerName!=Ue||Lt.push(un)})}}return(ne||Ue)&&(Lt=Lt.filter(Rt=>!(ne&&ne!=Rt.namespaceId||Ue&&Ue!=Rt.triggerName))),Lt}_beforeAnimationBuild(M,R,ne){const mt=R.element,Lt=R.isRemovalTransition?void 0:M,Rt=R.isRemovalTransition?void 0:R.triggerName;for(const Xt of R.timelines){const un=Xt.element,Gn=un!==mt,Xn=Xe(ne,un,[]);this._getPreviousPlayers(un,Gn,Lt,Rt,R.toState).forEach(Ci=>{const ri=Ci.getRealPlayer();ri.beforeDestroy&&ri.beforeDestroy(),Ci.destroy(),Xn.push(Ci)})}De(mt,R.fromStyles)}_buildAnimation(M,R,ne,Ue,mt,Lt){const Rt=R.triggerName,Xt=R.element,un=[],Gn=new Set,Xn=new Set,Pi=R.timelines.map(ri=>{const _i=ri.element;Gn.add(_i);const Fi=_i[Sr];if(Fi&&Fi.removedBeforeQueried)return new o.kP(ri.duration,ri.delay);const gr=_i!==Xt,ir=function b(ze){const M=[];return G(ze,M),M}((ne.get(_i)||hs).map(Bi=>Bi.getRealPlayer())).filter(Bi=>!!Bi.element&&Bi.element===_i),ts=mt.get(_i),yr=Lt.get(_i),vi=je(this._normalizer,ri.keyframes,ts,yr),Ji=this._buildPlayer(ri,vi,ir);if(ri.subTimeline&&Ue&&Xn.add(_i),gr){const Bi=new qr(M,Rt,_i);Bi.setRealPlayer(Ji),un.push(Bi)}return Ji});un.forEach(ri=>{Xe(this.playersByQueriedElement,ri.element,[]).push(ri),ri.onDone(()=>function os(ze,M,R){let ne=ze.get(M);if(ne){if(ne.length){const Ue=ne.indexOf(R);ne.splice(Ue,1)}0==ne.length&&ze.delete(M)}return ne}(this.playersByQueriedElement,ri.element,ri))}),Gn.forEach(ri=>Ar(ri,Ln));const Ci=$e(Pi);return Ci.onDestroy(()=>{Gn.forEach(ri=>Hi(ri,Ln)),We(Xt,R.toStyles)}),Xn.forEach(ri=>{Xe(Ue,ri,[]).push(Ci)}),Ci}_buildPlayer(M,R,ne){return R.length>0?this.driver.animate(M.element,R,M.duration,M.delay,M.easing,ne):new o.kP(M.duration,M.delay)}}class qr{constructor(M,R,ne){this.namespaceId=M,this.triggerName=R,this.element=ne,this._player=new o.kP,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(M){this._containsRealPlayer||(this._player=M,this._queuedCallbacks.forEach((R,ne)=>{R.forEach(Ue=>dt(M,ne,void 0,Ue))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(M.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(M){this.totalTime=M}syncPlayerEvents(M){const R=this._player;R.triggerCallback&&M.onStart(()=>R.triggerCallback("start")),M.onDone(()=>this.finish()),M.onDestroy(()=>this.destroy())}_queueEvent(M,R){Xe(this._queuedCallbacks,M,[]).push(R)}onDone(M){this.queued&&this._queueEvent("done",M),this._player.onDone(M)}onStart(M){this.queued&&this._queueEvent("start",M),this._player.onStart(M)}onDestroy(M){this.queued&&this._queueEvent("destroy",M),this._player.onDestroy(M)}init(){this._player.init()}hasStarted(){return!this.queued&&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(M){this.queued||this._player.setPosition(M)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(M){const R=this._player;R.triggerCallback&&R.triggerCallback(M)}}function hr(ze){return ze&&1===ze.nodeType}function Ei(ze,M){const R=ze.style.display;return ze.style.display=M??"none",R}function Es(ze,M,R,ne,Ue){const mt=[];R.forEach(Xt=>mt.push(Ei(Xt)));const Lt=[];ne.forEach((Xt,un)=>{const Gn=new Map;Xt.forEach(Xn=>{const Pi=M.computeStyle(un,Xn,Ue);Gn.set(Xn,Pi),(!Pi||0==Pi.length)&&(un[Sr]=ss,Lt.push(un))}),ze.set(un,Gn)});let Rt=0;return R.forEach(Xt=>Ei(Xt,mt[Rt++])),Lt}function es(ze,M){const R=new Map;if(ze.forEach(Rt=>R.set(Rt,[])),0==M.length)return R;const Ue=new Set(M),mt=new Map;function Lt(Rt){if(!Rt)return 1;let Xt=mt.get(Rt);if(Xt)return Xt;const un=Rt.parentNode;return Xt=R.has(un)?un:Ue.has(un)?1:Lt(un),mt.set(Rt,Xt),Xt}return M.forEach(Rt=>{const Xt=Lt(Rt);1!==Xt&&R.get(Xt).push(Rt)}),R}function Ar(ze,M){ze.classList?.add(M)}function Hi(ze,M){ze.classList?.remove(M)}function m(ze,M,R){$e(R).onDone(()=>ze.processLeaveNode(M))}function G(ze,M){for(let R=0;R<ze.length;R++){const ne=ze[R];ne instanceof o.Wq?G(ne.players,M):M.push(ne)}}function we(ze,M,R){const ne=R.get(ze);if(!ne)return!1;let Ue=M.get(ze);return Ue?ne.forEach(mt=>Ue.add(mt)):M.set(ze,ne),R.delete(ze),!0}class Ee{constructor(M,R,ne,Ue){this._driver=R,this._normalizer=ne,this._triggerCache={},this.onRemovalComplete=(mt,Lt)=>{},this._transitionEngine=new Cs(M.body,R,ne,Ue),this._timelineEngine=new mr(M.body,R,ne),this._transitionEngine.onRemovalComplete=(mt,Lt)=>this.onRemovalComplete(mt,Lt)}registerTrigger(M,R,ne,Ue,mt){const Lt=M+"-"+Ue;let Rt=this._triggerCache[Lt];if(!Rt){const Xt=[],Gn=xt(this._driver,mt,Xt,[]);if(Xt.length)throw function be(ze,M){return new s.OBp(3404,!1)}();Rt=function Ms(ze,M,R){return new Qi(ze,M,R)}(Ue,Gn,this._normalizer),this._triggerCache[Lt]=Rt}this._transitionEngine.registerTrigger(R,Ue,Rt)}register(M,R){this._transitionEngine.register(M,R)}destroy(M,R){this._transitionEngine.destroy(M,R)}onInsert(M,R,ne,Ue){this._transitionEngine.insertNode(M,R,ne,Ue)}onRemove(M,R,ne){this._transitionEngine.removeNode(M,R,ne)}disableAnimations(M,R){this._transitionEngine.markElementAsDisabled(M,R)}process(M,R,ne,Ue){if("@"==ne.charAt(0)){const[mt,Lt]=z(ne);this._timelineEngine.command(mt,R,Lt,Ue)}else this._transitionEngine.trigger(M,R,ne,Ue)}listen(M,R,ne,Ue,mt){if("@"==ne.charAt(0)){const[Lt,Rt]=z(ne);return this._timelineEngine.listen(Lt,R,Rt,mt)}return this._transitionEngine.listen(M,R,ne,Ue,mt)}flush(M=-1){this._transitionEngine.flush(M)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(M){this._transitionEngine.afterFlushAnimationsDone(M)}}class N{static#e=this.initialStylesByElement=new WeakMap;constructor(M,R,ne){this._element=M,this._startStyles=R,this._endStyles=ne,this._state=0;let Ue=N.initialStylesByElement.get(M);Ue||N.initialStylesByElement.set(M,Ue=new Map),this._initialStyles=Ue}start(){this._state<1&&(this._startStyles&&We(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(We(this._element,this._initialStyles),this._endStyles&&(We(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(N.initialStylesByElement.delete(this._element),this._startStyles&&(De(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(De(this._element,this._endStyles),this._endStyles=null),We(this._element,this._initialStyles),this._state=3)}}function ue(ze){let M=null;return ze.forEach((R,ne)=>{(function q(ze){return"display"===ze||"position"===ze})(ne)&&(M=M||new Map,M.set(ne,R))}),M}class Pe{constructor(M,R,ne,Ue){this.element=M,this.keyframes=R,this.options=ne,this._specialStyles=Ue,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=ne.duration,this._delay=ne.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(M=>M()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const M=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,M,this.options),this._finalKeyframe=M.length?M[M.length-1]:new Map;const R=()=>this._onFinish();this.domPlayer.addEventListener("finish",R),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",R)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(M){const R=[];return M.forEach(ne=>{R.push(Object.fromEntries(ne))}),R}_triggerWebAnimation(M,R,ne){return M.animate(this._convertKeyframesToObject(R),ne)}onStart(M){this._originalOnStartFns.push(M),this._onStartFns.push(M)}onDone(M){this._originalOnDoneFns.push(M),this._onDoneFns.push(M)}onDestroy(M){this._onDestroyFns.push(M)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(M=>M()),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(M=>M()),this._onDestroyFns=[])}setPosition(M){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=M*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const M=new Map;this.hasStarted()&&this._finalKeyframe.forEach((ne,Ue)=>{"offset"!==Ue&&M.set(Ue,this._finished?ne:xn(this.element,Ue))}),this.currentSnapshot=M}triggerCallback(M){const R="start"===M?this._onStartFns:this._onDoneFns;R.forEach(ne=>ne()),R.length=0}}class ct{validateStyleProperty(M){return!0}validateAnimatableStyleProperty(M){return!0}matchesElement(M,R){return!1}containsElement(M,R){return He(M,R)}getParentElement(M){return Ct(M)}query(M,R,ne){return Me(M,R,ne)}computeStyle(M,R,ne){return xn(M,R)}animate(M,R,ne,Ue,mt,Lt=[]){const Xt={duration:ne,delay:Ue,fill:0==Ue?"both":"forwards"};mt&&(Xt.easing=mt);const un=new Map,Gn=Lt.filter(Ci=>Ci instanceof Pe);(function jt(ze,M){return 0===ze||0===M})(ne,Ue)&&Gn.forEach(Ci=>{Ci.currentSnapshot.forEach((ri,_i)=>un.set(_i,ri))});let Xn=function en(ze){return ze.length?ze[0]instanceof Map?ze:ze.map(M=>new Map(Object.entries(M))):[]}(R).map(Ci=>new Map(Ci));Xn=function mn(ze,M,R){if(R.size&&M.length){let ne=M[0],Ue=[];if(R.forEach((mt,Lt)=>{ne.has(Lt)||Ue.push(Lt),ne.set(Lt,mt)}),Ue.length)for(let mt=1;mt<M.length;mt++){let Lt=M[mt];Ue.forEach(Rt=>Lt.set(Rt,xn(ze,Rt)))}}return M}(M,Xn,un);const Pi=function Ze(ze,M){let R=null,ne=null;return Array.isArray(M)&&M.length?(R=ue(M[0]),M.length>1&&(ne=ue(M[M.length-1]))):M instanceof Map&&(R=ue(M)),R||ne?new N(ze,R,ne):null}(M,Xn);return new Pe(M,Xn,Xt,Pi)}}const Zn="@.disabled";class Sn{constructor(M,R,ne,Ue){this.namespaceId=M,this.delegate=R,this.engine=ne,this._onDestroy=Ue,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(M){this.delegate.destroyNode?.(M)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(M,R){return this.delegate.createElement(M,R)}createComment(M){return this.delegate.createComment(M)}createText(M){return this.delegate.createText(M)}appendChild(M,R){this.delegate.appendChild(M,R),this.engine.onInsert(this.namespaceId,R,M,!1)}insertBefore(M,R,ne,Ue=!0){this.delegate.insertBefore(M,R,ne),this.engine.onInsert(this.namespaceId,R,M,Ue)}removeChild(M,R,ne){this.engine.onRemove(this.namespaceId,R,this.delegate)}selectRootElement(M,R){return this.delegate.selectRootElement(M,R)}parentNode(M){return this.delegate.parentNode(M)}nextSibling(M){return this.delegate.nextSibling(M)}setAttribute(M,R,ne,Ue){this.delegate.setAttribute(M,R,ne,Ue)}removeAttribute(M,R,ne){this.delegate.removeAttribute(M,R,ne)}addClass(M,R){this.delegate.addClass(M,R)}removeClass(M,R){this.delegate.removeClass(M,R)}setStyle(M,R,ne,Ue){this.delegate.setStyle(M,R,ne,Ue)}removeStyle(M,R,ne){this.delegate.removeStyle(M,R,ne)}setProperty(M,R,ne){"@"==R.charAt(0)&&R==Zn?this.disableAnimations(M,!!ne):this.delegate.setProperty(M,R,ne)}setValue(M,R){this.delegate.setValue(M,R)}listen(M,R,ne){return this.delegate.listen(M,R,ne)}disableAnimations(M,R){this.engine.disableAnimations(M,R)}}class zi extends Sn{constructor(M,R,ne,Ue,mt){super(R,ne,Ue,mt),this.factory=M,this.namespaceId=R}setProperty(M,R,ne){"@"==R.charAt(0)?"."==R.charAt(1)&&R==Zn?this.disableAnimations(M,ne=void 0===ne||!!ne):this.engine.process(this.namespaceId,M,R.slice(1),ne):this.delegate.setProperty(M,R,ne)}listen(M,R,ne){if("@"==R.charAt(0)){const Ue=function Si(ze){switch(ze){case"body":return document.body;case"document":return document;case"window":return window;default:return ze}}(M);let mt=R.slice(1),Lt="";return"@"!=mt.charAt(0)&&([mt,Lt]=function Wi(ze){const M=ze.indexOf(".");return[ze.substring(0,M),ze.slice(M+1)]}(mt)),this.engine.listen(this.namespaceId,Ue,mt,Lt,Rt=>{this.factory.scheduleListenerCallback(Rt._data||-1,ne,Rt)})}return this.delegate.listen(M,R,ne)}}class Ki{constructor(M,R,ne){this.delegate=M,this.engine=R,this._zone=ne,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,R.onRemovalComplete=(Ue,mt)=>{const Lt=mt?.parentNode(Ue);Lt&&mt.removeChild(Lt,Ue)}}createRenderer(M,R){const Ue=this.delegate.createRenderer(M,R);if(!M||!R?.data?.animation){const un=this._rendererCache;let Gn=un.get(Ue);return Gn||(Gn=new Sn("",Ue,this.engine,()=>un.delete(Ue)),un.set(Ue,Gn)),Gn}const mt=R.id,Lt=R.id+"-"+this._currentId;this._currentId++,this.engine.register(Lt,M);const Rt=un=>{Array.isArray(un)?un.forEach(Rt):this.engine.registerTrigger(mt,Lt,M,un.name,un)};return R.data.animation.forEach(Rt),new zi(this,Lt,Ue,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(M,R,ne){if(M>=0&&M<this._microtaskId)return void this._zone.run(()=>R(ne));const Ue=this._animationCallbacksBuffer;0==Ue.length&&queueMicrotask(()=>{this._zone.run(()=>{Ue.forEach(mt=>{const[Lt,Rt]=mt;Lt(Rt)}),this._animationCallbacksBuffer=[]})}),Ue.push([R,ne])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}var Ti=u(1368);const Rs=[{provide:pe,useFactory:function bi(){return new $n}},{provide:Ee,useClass:(()=>{class ze extends Ee{constructor(R,ne,Ue){super(R,ne,Ue,(0,s.uUt)(s.yai,{optional:!0}))}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(ne){return new(ne||ze)(s.CoB(Ti.Ud),s.CoB(Re),s.CoB(pe))};static#t=this.\u0275prov=s.wxM({token:ze,factory:ze.\u0275fac})}return ze})()},{provide:s.O8F,useFactory:function or(ze,M,R){return new Ki(ze,M,R)},deps:[d.q,Ee,s.WW2]}],he=[{provide:Re,useFactory:()=>new ct},{provide:s.qwP,useValue:"BrowserAnimations"},...Rs],Ie=[{provide:Re,useClass:re},{provide:s.qwP,useValue:"NoopAnimations"},...Rs];let $=(()=>{class ze{static withConfig(R){return{ngModule:ze,providers:R.disableAnimations?Ie:he}}static#e=this.\u0275fac=function(ne){return new(ne||ze)};static#t=this.\u0275mod=s.a4G({type:ze});static#n=this.\u0275inj=s.s3X({providers:he,imports:[d.iE]})}return ze})()},4476:(lt,me,u)=>{"use strict";u.d(me,{OY:()=>vt,iE:()=>Ct,mI:()=>jn,o_:()=>Ye,q:()=>X});var s=u(2116),d=u(1368);class o extends d.mg{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class f extends o{static makeCurrent(){(0,d.ug)(new f)}onAndCancel(De,fe,F){return De.addEventListener(fe,F),()=>{De.removeEventListener(fe,F)}}dispatchEvent(De,fe){De.dispatchEvent(fe)}remove(De){De.parentNode&&De.parentNode.removeChild(De)}createElement(De,fe){return(fe=fe||this.getDefaultDocument()).createElement(De)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(De){return De.nodeType===Node.ELEMENT_NODE}isShadowRoot(De){return De instanceof DocumentFragment}getGlobalEventTarget(De,fe){return"window"===fe?window:"document"===fe?De:"body"===fe?De.body:null}getBaseHref(De){const fe=function i(){return l=l||document.querySelector("base"),l?l.getAttribute("href"):null}();return null==fe?null:function y(We){return new URL(We,document.baseURI).pathname}(fe)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(De){return(0,d.Sg)(document.cookie,De)}}let l=null,I=(()=>{class We{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(F){return new(F||We)};static#t=this.\u0275prov=s.wxM({token:We,factory:We.\u0275fac})}return We})();const B=new s.UbH("");let K=(()=>{class We{constructor(fe,F){this._zone=F,this._eventNameToPlugin=new Map,fe.forEach(Ce=>{Ce.manager=this}),this._plugins=fe.slice().reverse()}addEventListener(fe,F,Ce){return this._findPluginFor(F).addEventListener(fe,F,Ce)}getZone(){return this._zone}_findPluginFor(fe){let F=this._eventNameToPlugin.get(fe);if(F)return F;if(F=this._plugins.find(Te=>Te.supports(fe)),!F)throw new s.OBp(5101,!1);return this._eventNameToPlugin.set(fe,F),F}static#e=this.\u0275fac=function(F){return new(F||We)(s.CoB(B),s.CoB(s.WW2))};static#t=this.\u0275prov=s.wxM({token:We,factory:We.\u0275fac})}return We})();class ie{constructor(De){this._doc=De}}const oe="ng-app-id";let Ge=(()=>{class We{constructor(fe,F,Ce,Te={}){this.doc=fe,this.appId=F,this.nonce=Ce,this.platformId=Te,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,d.uf)(Te),this.resetHostNodes()}addStyles(fe){for(const F of fe)1===this.changeUsageCount(F,1)&&this.onStyleAdded(F)}removeStyles(fe){for(const F of fe)this.changeUsageCount(F,-1)<=0&&this.onStyleRemoved(F)}ngOnDestroy(){const fe=this.styleNodesInDOM;fe&&(fe.forEach(F=>F.remove()),fe.clear());for(const F of this.getAllStyles())this.onStyleRemoved(F);this.resetHostNodes()}addHost(fe){this.hostNodes.add(fe);for(const F of this.getAllStyles())this.addStyleToHost(fe,F)}removeHost(fe){this.hostNodes.delete(fe)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(fe){for(const F of this.hostNodes)this.addStyleToHost(F,fe)}onStyleRemoved(fe){const F=this.styleRef;F.get(fe)?.elements?.forEach(Ce=>Ce.remove()),F.delete(fe)}collectServerRenderedStyles(){const fe=this.doc.head?.querySelectorAll(`style[${oe}="${this.appId}"]`);if(fe?.length){const F=new Map;return fe.forEach(Ce=>{null!=Ce.textContent&&F.set(Ce.textContent,Ce)}),F}return null}changeUsageCount(fe,F){const Ce=this.styleRef;if(Ce.has(fe)){const Te=Ce.get(fe);return Te.usage+=F,Te.usage}return Ce.set(fe,{usage:F,elements:[]}),F}getStyleElement(fe,F){const Ce=this.styleNodesInDOM,Te=Ce?.get(F);if(Te?.parentNode===fe)return Ce.delete(F),Te.removeAttribute(oe),Te;{const at=this.doc.createElement("style");return this.nonce&&at.setAttribute("nonce",this.nonce),at.textContent=F,this.platformIsServer&&at.setAttribute(oe,this.appId),fe.appendChild(at),at}}addStyleToHost(fe,F){const Ce=this.getStyleElement(fe,F),Te=this.styleRef,at=Te.get(F)?.elements;at?at.push(Ce):Te.set(F,{elements:[Ce],usage:1})}resetHostNodes(){const fe=this.hostNodes;fe.clear(),fe.add(this.doc.head)}static#e=this.\u0275fac=function(F){return new(F||We)(s.CoB(d.Ud),s.CoB(s.QHP),s.CoB(s.YND,8),s.CoB(s.AHE))};static#t=this.\u0275prov=s.wxM({token:We,factory:We.\u0275fac})}return We})();const ae={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/MathML/"},Z=/%COMP%/g,le=new s.UbH("",{providedIn:"root",factory:()=>!0});function g(We,De){return De.map(fe=>fe.replace(Z,We))}let X=(()=>{class We{constructor(fe,F,Ce,Te,at,Oe,it,bt=null){this.eventManager=fe,this.sharedStylesHost=F,this.appId=Ce,this.removeStylesOnCompDestroy=Te,this.doc=at,this.platformId=Oe,this.ngZone=it,this.nonce=bt,this.rendererByCompId=new Map,this.platformIsServer=(0,d.uf)(Oe),this.defaultRenderer=new V(fe,at,it,this.platformIsServer)}createRenderer(fe,F){if(!fe||!F)return this.defaultRenderer;this.platformIsServer&&F.encapsulation===s.K6R.ShadowDom&&(F={...F,encapsulation:s.K6R.Emulated});const Ce=this.getOrCreateRenderer(fe,F);return Ce instanceof _t?Ce.applyToHost(fe):Ce instanceof ot&&Ce.applyStyles(),Ce}getOrCreateRenderer(fe,F){const Ce=this.rendererByCompId;let Te=Ce.get(F.id);if(!Te){const at=this.doc,Oe=this.ngZone,it=this.eventManager,bt=this.sharedStylesHost,jt=this.removeStylesOnCompDestroy,mn=this.platformIsServer;switch(F.encapsulation){case s.K6R.Emulated:Te=new _t(it,bt,F,this.appId,jt,at,Oe,mn);break;case s.K6R.ShadowDom:return new Se(it,bt,fe,F,at,Oe,this.nonce,mn);default:Te=new ot(it,bt,F,jt,at,Oe,mn)}Ce.set(F.id,Te)}return Te}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(F){return new(F||We)(s.CoB(K),s.CoB(Ge),s.CoB(s.QHP),s.CoB(le),s.CoB(d.Ud),s.CoB(s.AHE),s.CoB(s.WW2),s.CoB(s.YND))};static#t=this.\u0275prov=s.wxM({token:We,factory:We.\u0275fac})}return We})();class V{constructor(De,fe,F,Ce){this.eventManager=De,this.doc=fe,this.ngZone=F,this.platformIsServer=Ce,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(De,fe){return fe?this.doc.createElementNS(ae[fe]||fe,De):this.doc.createElement(De)}createComment(De){return this.doc.createComment(De)}createText(De){return this.doc.createTextNode(De)}appendChild(De,fe){(Fe(De)?De.content:De).appendChild(fe)}insertBefore(De,fe,F){De&&(Fe(De)?De.content:De).insertBefore(fe,F)}removeChild(De,fe){De&&De.removeChild(fe)}selectRootElement(De,fe){let F="string"==typeof De?this.doc.querySelector(De):De;if(!F)throw new s.OBp(-5104,!1);return fe||(F.textContent=""),F}parentNode(De){return De.parentNode}nextSibling(De){return De.nextSibling}setAttribute(De,fe,F,Ce){if(Ce){fe=Ce+":"+fe;const Te=ae[Ce];Te?De.setAttributeNS(Te,fe,F):De.setAttribute(fe,F)}else De.setAttribute(fe,F)}removeAttribute(De,fe,F){if(F){const Ce=ae[F];Ce?De.removeAttributeNS(Ce,fe):De.removeAttribute(`${F}:${fe}`)}else De.removeAttribute(fe)}addClass(De,fe){De.classList.add(fe)}removeClass(De,fe){De.classList.remove(fe)}setStyle(De,fe,F,Ce){Ce&(s.yzm.DashCase|s.yzm.Important)?De.style.setProperty(fe,F,Ce&s.yzm.Important?"important":""):De.style[fe]=F}removeStyle(De,fe,F){F&s.yzm.DashCase?De.style.removeProperty(fe):De.style[fe]=""}setProperty(De,fe,F){null!=De&&(De[fe]=F)}setValue(De,fe){De.nodeValue=fe}listen(De,fe,F){if("string"==typeof De&&!(De=(0,d.uy)().getGlobalEventTarget(this.doc,De)))throw new Error(`Unsupported event target ${De} for event ${fe}`);return this.eventManager.addEventListener(De,fe,this.decoratePreventDefault(F))}decoratePreventDefault(De){return fe=>{if("__ngUnwrap__"===fe)return De;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>De(fe)):De(fe))&&fe.preventDefault()}}}function Fe(We){return"TEMPLATE"===We.tagName&&void 0!==We.content}class Se extends V{constructor(De,fe,F,Ce,Te,at,Oe,it){super(De,Te,at,it),this.sharedStylesHost=fe,this.hostEl=F,this.shadowRoot=F.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const bt=g(Ce.id,Ce.styles);for(const jt of bt){const mn=document.createElement("style");Oe&&mn.setAttribute("nonce",Oe),mn.textContent=jt,this.shadowRoot.appendChild(mn)}}nodeOrShadowRoot(De){return De===this.hostEl?this.shadowRoot:De}appendChild(De,fe){return super.appendChild(this.nodeOrShadowRoot(De),fe)}insertBefore(De,fe,F){return super.insertBefore(this.nodeOrShadowRoot(De),fe,F)}removeChild(De,fe){return super.removeChild(this.nodeOrShadowRoot(De),fe)}parentNode(De){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(De)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ot extends V{constructor(De,fe,F,Ce,Te,at,Oe,it){super(De,Te,at,Oe),this.sharedStylesHost=fe,this.removeStylesOnCompDestroy=Ce,this.styles=it?g(it,F.styles):F.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class _t extends ot{constructor(De,fe,F,Ce,Te,at,Oe,it){const bt=Ce+"-"+F.id;super(De,fe,F,Te,at,Oe,it,bt),this.contentAttr=function ye(We){return"_ngcontent-%COMP%".replace(Z,We)}(bt),this.hostAttr=function Y(We){return"_nghost-%COMP%".replace(Z,We)}(bt)}applyToHost(De){this.applyStyles(),this.setAttribute(De,this.hostAttr,"")}createElement(De,fe){const F=super.createElement(De,fe);return super.setAttribute(F,this.contentAttr,""),F}}let pt=(()=>{class We extends ie{constructor(fe){super(fe)}supports(fe){return!0}addEventListener(fe,F,Ce){return fe.addEventListener(F,Ce,!1),()=>this.removeEventListener(fe,F,Ce)}removeEventListener(fe,F,Ce){return fe.removeEventListener(F,Ce)}static#e=this.\u0275fac=function(F){return new(F||We)(s.CoB(d.Ud))};static#t=this.\u0275prov=s.wxM({token:We,factory:We.\u0275fac})}return We})();const Gt=["alt","control","meta","shift"],qe={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Je={alt:We=>We.altKey,control:We=>We.ctrlKey,meta:We=>We.metaKey,shift:We=>We.shiftKey};let ce=(()=>{class We extends ie{constructor(fe){super(fe)}supports(fe){return null!=We.parseEventName(fe)}addEventListener(fe,F,Ce){const Te=We.parseEventName(F),at=We.eventCallback(Te.fullKey,Ce,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,d.uy)().onAndCancel(fe,Te.domEventName,at))}static parseEventName(fe){const F=fe.toLowerCase().split("."),Ce=F.shift();if(0===F.length||"keydown"!==Ce&&"keyup"!==Ce)return null;const Te=We._normalizeKey(F.pop());let at="",Oe=F.indexOf("code");if(Oe>-1&&(F.splice(Oe,1),at="code."),Gt.forEach(bt=>{const jt=F.indexOf(bt);jt>-1&&(F.splice(jt,1),at+=bt+".")}),at+=Te,0!=F.length||0===Te.length)return null;const it={};return it.domEventName=Ce,it.fullKey=at,it}static matchEventFullKeyCode(fe,F){let Ce=qe[fe.key]||fe.key,Te="";return F.indexOf("code.")>-1&&(Ce=fe.code,Te="code."),!(null==Ce||!Ce)&&(Ce=Ce.toLowerCase()," "===Ce?Ce="space":"."===Ce&&(Ce="dot"),Gt.forEach(at=>{at!==Ce&&(0,Je[at])(fe)&&(Te+=at+".")}),Te+=Ce,Te===F)}static eventCallback(fe,F,Ce){return Te=>{We.matchEventFullKeyCode(Te,fe)&&Ce.runGuarded(()=>F(Te))}}static _normalizeKey(fe){return"esc"===fe?"escape":fe}static#e=this.\u0275fac=function(F){return new(F||We)(s.CoB(d.Ud))};static#t=this.\u0275prov=s.wxM({token:We,factory:We.\u0275fac})}return We})();const Ye=(0,s.grM)(s.m4O,"browser",[{provide:s.AHE,useValue:d._k},{provide:s.crf,useValue:function $e(){f.makeCurrent()},multi:!0},{provide:d.Ud,useFactory:function dt(){return(0,s.auf)(document),document},deps:[]}]),Xe=new s.UbH(""),z=[{provide:s.Mn9,useClass:class _{addToWindow(De){s.IHs.getAngularTestability=(F,Ce=!0)=>{const Te=De.findTestabilityInTree(F,Ce);if(null==Te)throw new s.OBp(5103,!1);return Te},s.IHs.getAllAngularTestabilities=()=>De.getAllTestabilities(),s.IHs.getAllAngularRootElements=()=>De.getAllRootElements(),s.IHs.frameworkStabilizers||(s.IHs.frameworkStabilizers=[]),s.IHs.frameworkStabilizers.push(F=>{const Ce=s.IHs.getAllAngularTestabilities();let Te=Ce.length;const at=function(){Te--,0==Te&&F()};Ce.forEach(Oe=>{Oe.whenStable(at)})})}findTestabilityInTree(De,fe,F){return null==fe?null:De.getTestability(fe)??(F?(0,d.uy)().isShadowRoot(fe)?this.findTestabilityInTree(De,fe.host,!0):this.findTestabilityInTree(De,fe.parentElement,!0):null)}},deps:[]},{provide:s.aS5,useClass:s.G4X,deps:[s.WW2,s.eOv,s.Mn9]},{provide:s.G4X,useClass:s.G4X,deps:[s.WW2,s.eOv,s.Mn9]}],xe=[{provide:s.i4S,useValue:"root"},{provide:s.eAe,useFactory:function je(){return new s.eAe},deps:[]},{provide:B,useClass:pt,multi:!0,deps:[d.Ud,s.WW2,s.AHE]},{provide:B,useClass:ce,multi:!0,deps:[d.Ud]},X,Ge,K,{provide:s.O8F,useExisting:X},{provide:d.OM,useClass:I,deps:[]},[]];let Ct=(()=>{class We{constructor(fe){}static withServerTransition(fe){return{ngModule:We,providers:[{provide:s.QHP,useValue:fe.appId}]}}static#e=this.\u0275fac=function(F){return new(F||We)(s.CoB(Xe,12))};static#t=this.\u0275mod=s.a4G({type:We});static#n=this.\u0275inj=s.s3X({providers:[...xe,...z],imports:[d.MD,s.Ev2]})}return We})(),vt=(()=>{class We{constructor(fe){this._doc=fe}getTitle(){return this._doc.title}setTitle(fe){this._doc.title=fe||""}static#e=this.\u0275fac=function(F){return new(F||We)(s.CoB(d.Ud))};static#t=this.\u0275prov=s.wxM({token:We,factory:We.\u0275fac,providedIn:"root"})}return We})(),jn=(()=>{class We{static#e=this.\u0275fac=function(F){return new(F||We)};static#t=this.\u0275prov=s.wxM({token:We,factory:function(F){let Ce=null;return Ce=F?new(F||We):s.CoB(dn),Ce},providedIn:"root"})}return We})(),dn=(()=>{class We extends jn{constructor(fe){super(),this._doc=fe}sanitize(fe,F){if(null==F)return null;switch(fe){case s.SI6.NONE:return F;case s.SI6.HTML:return(0,s.K2p)(F,"HTML")?(0,s.E2t)(F):(0,s.Om8)(this._doc,String(F)).toString();case s.SI6.STYLE:return(0,s.K2p)(F,"Style")?(0,s.E2t)(F):F;case s.SI6.SCRIPT:if((0,s.K2p)(F,"Script"))return(0,s.E2t)(F);throw new s.OBp(5200,!1);case s.SI6.URL:return(0,s.K2p)(F,"URL")?(0,s.E2t)(F):(0,s.ozE)(String(F));case s.SI6.RESOURCE_URL:if((0,s.K2p)(F,"ResourceURL"))return(0,s.E2t)(F);throw new s.OBp(5201,!1);default:throw new s.OBp(5202,!1)}}bypassSecurityTrustHtml(fe){return(0,s.GM_)(fe)}bypassSecurityTrustStyle(fe){return(0,s.Vfw)(fe)}bypassSecurityTrustScript(fe){return(0,s.ER9)(fe)}bypassSecurityTrustUrl(fe){return(0,s.Gc)(fe)}bypassSecurityTrustResourceUrl(fe){return(0,s.u8n)(fe)}static#e=this.\u0275fac=function(F){return new(F||We)(s.CoB(d.Ud))};static#t=this.\u0275prov=s.wxM({token:We,factory:We.\u0275fac,providedIn:"root"})}return We})()},7564:(lt,me,u)=>{"use strict";u.d(me,{gV:()=>_s,Qx:()=>ii,E5:()=>Ri,ER:()=>cr,LC:()=>Kr,qQ:()=>pn,cP:()=>cs});var s=u(3448),d=u(2116),o=u(1116),f=u(4496),l=u(2700),i=u(6700),y=u(6040),_=u(7696),I=u(4848),B=u(1424),K=u(3928),ie=u(3800),oe=u(8960),Ge=u(2376),ae=u(5657),Z=u(6928),_e=u(1368),j=u(4704),ke=u(7368),rt=u(3992),le=u(5568),ye=u(6684),Y=u(7400),g=u(2156),X=u(5448),V=u(7773);function te(D=be){return(0,X.i)((U,T)=>{let W=!1;U.subscribe((0,V.e)(T,ve=>{W=!0,T.next(ve)},()=>W?T.complete():T.error(D())))})}function be(){return new _.G}var Fe=u(528);function Se(D,U){const T=arguments.length>=2;return W=>W.pipe(D?(0,ye.I)((ve,nt)=>D(ve,nt,W)):Fe.Z,(0,rt.U)(1),T?(0,g.G)(U):te(()=>new _.G))}var ot=u(6020),_t=u(9212),pt=u(9144);function Je(D){return D<=0?()=>oe.k:(0,X.i)((U,T)=>{let W=[];U.subscribe((0,V.e)(T,ve=>{W.push(ve),D<W.length&&W.shift()},()=>{for(const ve of W)T.next(ve);T.complete()},void 0,()=>{W=null}))})}var Ae=u(320),L=u(8824),H=u(8084),de=u(3616),$e=u(267),je=u(4476);const dt="primary",Et=Symbol("RouteTitle");class Ye{constructor(U){this.params=U||{}}has(U){return Object.prototype.hasOwnProperty.call(this.params,U)}get(U){if(this.has(U)){const T=this.params[U];return Array.isArray(T)?T[0]:T}return null}getAll(U){if(this.has(U)){const T=this.params[U];return Array.isArray(T)?T:[T]}return[]}get keys(){return Object.keys(this.params)}}function Xe(D){return new Ye(D)}function z(D,U,T){const W=T.path.split("/");if(W.length>D.length||"full"===T.pathMatch&&(U.hasChildren()||W.length<D.length))return null;const ve={};for(let nt=0;nt<W.length;nt++){const Pt=W[nt],an=D[nt];if(Pt.startsWith(":"))ve[Pt.substring(1)]=an;else if(Pt!==an.path)return null}return{consumed:D.slice(0,W.length),posParams:ve}}function Ct(D,U){const T=D?Kt(D):void 0,W=U?Kt(U):void 0;if(!T||!W||T.length!=W.length)return!1;let ve;for(let nt=0;nt<T.length;nt++)if(ve=T[nt],!gt(D[ve],U[ve]))return!1;return!0}function Kt(D){return[...Object.keys(D),...Object.getOwnPropertySymbols(D)]}function gt(D,U){if(Array.isArray(D)&&Array.isArray(U)){if(D.length!==U.length)return!1;const T=[...D].sort(),W=[...U].sort();return T.every((ve,nt)=>W[nt]===ve)}return D===U}function vt(D){return D.length>0?D[D.length-1]:null}function Ot(D){return(0,o.X)(D)?D:(0,d.w5$)(D)?(0,f.Q)(Promise.resolve(D)):(0,l.of)(D)}const Ke={exact:function st(D,U,T){if(!jn(D.segments,U.segments)||!Mt(D.segments,U.segments,T)||D.numberOfChildren!==U.numberOfChildren)return!1;for(const W in U.children)if(!D.children[W]||!st(D.children[W],U.children[W],T))return!1;return!0},subset:Re},Ne={exact:function Me(D,U){return Ct(D,U)},subset:function re(D,U){return Object.keys(U).length<=Object.keys(D).length&&Object.keys(U).every(T=>gt(D[T],U[T]))},ignored:()=>!0};function He(D,U,T){return Ke[T.paths](D.root,U.root,T.matrixParams)&&Ne[T.queryParams](D.queryParams,U.queryParams)&&!("exact"===T.fragment&&D.fragment!==U.fragment)}function Re(D,U,T){return pe(D,U,U.segments,T)}function pe(D,U,T,W){if(D.segments.length>T.length){const ve=D.segments.slice(0,T.length);return!(!jn(ve,T)||U.hasChildren()||!Mt(ve,T,W))}if(D.segments.length===T.length){if(!jn(D.segments,T)||!Mt(D.segments,T,W))return!1;for(const ve in U.children)if(!D.children[ve]||!Re(D.children[ve],U.children[ve],W))return!1;return!0}{const ve=T.slice(0,D.segments.length),nt=T.slice(D.segments.length);return!!(jn(D.segments,ve)&&Mt(D.segments,ve,W)&&D.children[dt])&&pe(D.children[dt],U,nt,W)}}function Mt(D,U,T){return U.every((W,ve)=>Ne[T](D[ve].parameters,W.parameters))}class $t{constructor(U=new zt([],{}),T={},W=null){this.root=U,this.queryParams=T,this.fragment=W}get queryParamMap(){return this._queryParamMap??=Xe(this.queryParams),this._queryParamMap}toString(){return Bn.serialize(this)}}class zt{constructor(U,T){this.segments=U,this.children=T,this.parent=null,Object.values(T).forEach(W=>W.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ti(this)}}class bn{constructor(U,T){this.path=U,this.parameters=T}get parameterMap(){return this._parameterMap??=Xe(this.parameters),this._parameterMap}toString(){return fe(this)}}function jn(D,U){return D.length===U.length&&D.every((T,W)=>T.path===U[W].path)}let kn=(()=>{class D{static#e=this.\u0275fac=function(W){return new(W||D)};static#t=this.\u0275prov=d.wxM({token:D,factory:()=>new Ln,providedIn:"root"})}return D})();class Ln{parse(U){const T=new xn(U);return new $t(T.parseRootSegment(),T.parseQueryParams(),T.parseFragment())}serialize(U){const T=`/${Ft(U.root,!0)}`,W=function Ce(D){const U=Object.entries(D).map(([T,W])=>Array.isArray(W)?W.map(ve=>`${It(T)}=${It(ve)}`).join("&"):`${It(T)}=${It(W)}`).filter(T=>T);return U.length?`?${U.join("&")}`:""}(U.queryParams);return`${T}${W}${"string"==typeof U.fragment?`#${function en(D){return encodeURI(D)}(U.fragment)}`:""}`}}const Bn=new Ln;function ti(D){return D.segments.map(U=>fe(U)).join("/")}function Ft(D,U){if(!D.hasChildren())return ti(D);if(U){const T=D.children[dt]?Ft(D.children[dt],!1):"",W=[];return Object.entries(D.children).forEach(([ve,nt])=>{ve!==dt&&W.push(`${ve}:${Ft(nt,!1)}`)}),W.length>0?`${T}(${W.join("//")})`:T}{const T=function dn(D,U){let T=[];return Object.entries(D.children).forEach(([W,ve])=>{W===dt&&(T=T.concat(U(ve,W)))}),Object.entries(D.children).forEach(([W,ve])=>{W!==dt&&(T=T.concat(U(ve,W)))}),T}(D,(W,ve)=>ve===dt?[Ft(D.children[dt],!1)]:[`${ve}:${Ft(W,!1)}`]);return 1===Object.keys(D.children).length&&null!=D.children[dt]?`${ti(D)}/${T[0]}`:`${ti(D)}/(${T.join("//")})`}}function Nt(D){return encodeURIComponent(D).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function It(D){return Nt(D).replace(/%3B/gi,";")}function Vt(D){return Nt(D).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function We(D){return decodeURIComponent(D)}function De(D){return We(D.replace(/\+/g,"%20"))}function fe(D){return`${Vt(D.path)}${function F(D){return Object.entries(D).map(([U,T])=>`;${Vt(U)}=${Vt(T)}`).join("")}(D.parameters)}`}const Te=/^[^\/()?;#]+/;function at(D){const U=D.match(Te);return U?U[0]:""}const Oe=/^[^\/()?;=#]+/,bt=/^[^=?&#]+/,mn=/^[^&#]+/;class xn{constructor(U){this.url=U,this.remaining=U}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new zt([],{}):new zt([],this.parseChildren())}parseQueryParams(){const U={};if(this.consumeOptional("?"))do{this.parseQueryParam(U)}while(this.consumeOptional("&"));return U}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const U=[];for(this.peekStartsWith("(")||U.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),U.push(this.parseSegment());let T={};this.peekStartsWith("/(")&&(this.capture("/"),T=this.parseParens(!0));let W={};return this.peekStartsWith("(")&&(W=this.parseParens(!1)),(U.length>0||Object.keys(T).length>0)&&(W[dt]=new zt(U,T)),W}parseSegment(){const U=at(this.remaining);if(""===U&&this.peekStartsWith(";"))throw new d.OBp(4009,!1);return this.capture(U),new bn(We(U),this.parseMatrixParams())}parseMatrixParams(){const U={};for(;this.consumeOptional(";");)this.parseParam(U);return U}parseParam(U){const T=function it(D){const U=D.match(Oe);return U?U[0]:""}(this.remaining);if(!T)return;this.capture(T);let W="";if(this.consumeOptional("=")){const ve=at(this.remaining);ve&&(W=ve,this.capture(W))}U[We(T)]=We(W)}parseQueryParam(U){const T=function jt(D){const U=D.match(bt);return U?U[0]:""}(this.remaining);if(!T)return;this.capture(T);let W="";if(this.consumeOptional("=")){const Pt=function Cn(D){const U=D.match(mn);return U?U[0]:""}(this.remaining);Pt&&(W=Pt,this.capture(W))}const ve=De(T),nt=De(W);if(U.hasOwnProperty(ve)){let Pt=U[ve];Array.isArray(Pt)||(Pt=[Pt],U[ve]=Pt),Pt.push(nt)}else U[ve]=nt}parseParens(U){const T={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const W=at(this.remaining),ve=this.remaining[W.length];if("/"!==ve&&")"!==ve&&";"!==ve)throw new d.OBp(4010,!1);let nt;W.indexOf(":")>-1?(nt=W.slice(0,W.indexOf(":")),this.capture(nt),this.capture(":")):U&&(nt=dt);const Pt=this.parseChildren();T[nt]=1===Object.keys(Pt).length?Pt[dt]:new zt([],Pt),this.consumeOptional("//")}return T}peekStartsWith(U){return this.remaining.startsWith(U)}consumeOptional(U){return!!this.peekStartsWith(U)&&(this.remaining=this.remaining.substring(U.length),!0)}capture(U){if(!this.consumeOptional(U))throw new d.OBp(4011,!1)}}function Fn(D){return D.segments.length>0?new zt([],{[dt]:D}):D}function $n(D){const U={};for(const[W,ve]of Object.entries(D.children)){const nt=$n(ve);if(W===dt&&0===nt.segments.length&&nt.hasChildren())for(const[Pt,an]of Object.entries(nt.children))U[Pt]=an;else(nt.segments.length>0||nt.hasChildren())&&(U[W]=nt)}return function ln(D){if(1===D.numberOfChildren&&D.children[dt]){const U=D.children[dt];return new zt(D.segments.concat(U.segments),U.children)}return D}(new zt(D.segments,U))}function ni(D){return D instanceof $t}function Er(D){let U;const ve=Fn(function T(nt){const Pt={};for(const tn of nt.children){const Qn=T(tn);Pt[tn.outlet]=Qn}const an=new zt(nt.url,Pt);return nt===D&&(U=an),an}(D.root));return U??ve}function Vr(D,U,T,W){let ve=D;for(;ve.parent;)ve=ve.parent;if(0===U.length)return ls(ve,ve,ve,T,W);const nt=function ds(D){if("string"==typeof D[0]&&1===D.length&&"/"===D[0])return new Nr(!0,0,D);let U=0,T=!1;const W=D.reduce((ve,nt,Pt)=>{if("object"==typeof nt&&null!=nt){if(nt.outlets){const an={};return Object.entries(nt.outlets).forEach(([tn,Qn])=>{an[tn]="string"==typeof Qn?Qn.split("/"):Qn}),[...ve,{outlets:an}]}if(nt.segmentPath)return[...ve,nt.segmentPath]}return"string"!=typeof nt?[...ve,nt]:0===Pt?(nt.split("/").forEach((an,tn)=>{0==tn&&"."===an||(0==tn&&""===an?T=!0:".."===an?U++:""!=an&&ve.push(an))}),ve):[...ve,nt]},[]);return new Nr(T,U,W)}(U);if(nt.toRoot())return ls(ve,ve,new zt([],{}),T,W);const Pt=function wr(D,U,T){if(D.isAbsolute)return new Tr(U,!0,0);if(!T)return new Tr(U,!1,NaN);if(null===T.parent)return new Tr(T,!0,0);const W=Mi(D.commands[0])?0:1;return function Qr(D,U,T){let W=D,ve=U,nt=T;for(;nt>ve;){if(nt-=ve,W=W.parent,!W)throw new d.OBp(4005,!1);ve=W.segments.length}return new Tr(W,!1,ve-nt)}(T,T.segments.length-1+W,D.numberOfDoubleDots)}(nt,ve,D),an=Pt.processChildren?At(Pt.segmentGroup,Pt.index,nt.commands):xt(Pt.segmentGroup,Pt.index,nt.commands);return ls(ve,Pt.segmentGroup,an,T,W)}function Mi(D){return"object"==typeof D&&null!=D&&!D.outlets&&!D.segmentPath}function qn(D){return"object"==typeof D&&null!=D&&D.outlets}function ls(D,U,T,W,ve){let Pt,nt={};W&&Object.entries(W).forEach(([tn,Qn])=>{nt[tn]=Array.isArray(Qn)?Qn.map($i=>`${$i}`):`${Qn}`}),Pt=D===U?T:ur(D,U,T);const an=Fn($n(Pt));return new $t(an,nt,ve)}function ur(D,U,T){const W={};return Object.entries(D.children).forEach(([ve,nt])=>{W[ve]=nt===U?T:ur(nt,U,T)}),new zt(D.segments,W)}class Nr{constructor(U,T,W){if(this.isAbsolute=U,this.numberOfDoubleDots=T,this.commands=W,U&&W.length>0&&Mi(W[0]))throw new d.OBp(4003,!1);const ve=W.find(qn);if(ve&&ve!==vt(W))throw new d.OBp(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Tr{constructor(U,T,W){this.segmentGroup=U,this.processChildren=T,this.index=W}}function xt(D,U,T){if(D??=new zt([],{}),0===D.segments.length&&D.hasChildren())return At(D,U,T);const W=function hn(D,U,T){let W=0,ve=U;const nt={match:!1,pathIndex:0,commandIndex:0};for(;ve<D.segments.length;){if(W>=T.length)return nt;const Pt=D.segments[ve],an=T[W];if(qn(an))break;const tn=`${an}`,Qn=W<T.length-1?T[W+1]:null;if(ve>0&&void 0===tn)break;if(tn&&Qn&&"object"==typeof Qn&&void 0===Qn.outlets){if(!fi(tn,Qn,Pt))return nt;W+=2}else{if(!fi(tn,{},Pt))return nt;W++}ve++}return{match:!0,pathIndex:ve,commandIndex:W}}(D,U,T),ve=T.slice(W.commandIndex);if(W.match&&W.pathIndex<D.segments.length){const nt=new zt(D.segments.slice(0,W.pathIndex),{});return nt.children[dt]=new zt(D.segments.slice(W.pathIndex),D.children),At(nt,0,ve)}return W.match&&0===ve.length?new zt(D.segments,{}):W.match&&!D.hasChildren()?nn(D,U,T):W.match?At(D,0,ve):nn(D,U,T)}function At(D,U,T){if(0===T.length)return new zt(D.segments,{});{const W=function ht(D){return qn(D[0])?D[0].outlets:{[dt]:D}}(T),ve={};if(Object.keys(W).some(nt=>nt!==dt)&&D.children[dt]&&1===D.numberOfChildren&&0===D.children[dt].segments.length){const nt=At(D.children[dt],U,T);return new zt(D.segments,nt.children)}return Object.entries(W).forEach(([nt,Pt])=>{"string"==typeof Pt&&(Pt=[Pt]),null!==Pt&&(ve[nt]=xt(D.children[nt],U,Pt))}),Object.entries(D.children).forEach(([nt,Pt])=>{void 0===W[nt]&&(ve[nt]=Pt)}),new zt(D.segments,ve)}}function nn(D,U,T){const W=D.segments.slice(0,U);let ve=0;for(;ve<T.length;){const nt=T[ve];if(qn(nt)){const tn=Pn(nt.outlets);return new zt(W,tn)}if(0===ve&&Mi(T[0])){W.push(new bn(D.segments[U].path,In(T[0]))),ve++;continue}const Pt=qn(nt)?nt.outlets[dt]:`${nt}`,an=ve<T.length-1?T[ve+1]:null;Pt&&an&&Mi(an)?(W.push(new bn(Pt,In(an))),ve+=2):(W.push(new bn(Pt,{})),ve++)}return new zt(W,{})}function Pn(D){const U={};return Object.entries(D).forEach(([T,W])=>{"string"==typeof W&&(W=[W]),null!==W&&(U[T]=nn(new zt([],{}),0,W))}),U}function In(D){const U={};return Object.entries(D).forEach(([T,W])=>U[T]=`${W}`),U}function fi(D,U,T){return D==T.path&&Ct(U,T.parameters)}const Kn="imperative";var Wn=function(D){return D[D.NavigationStart=0]="NavigationStart",D[D.NavigationEnd=1]="NavigationEnd",D[D.NavigationCancel=2]="NavigationCancel",D[D.NavigationError=3]="NavigationError",D[D.RoutesRecognized=4]="RoutesRecognized",D[D.ResolveStart=5]="ResolveStart",D[D.ResolveEnd=6]="ResolveEnd",D[D.GuardsCheckStart=7]="GuardsCheckStart",D[D.GuardsCheckEnd=8]="GuardsCheckEnd",D[D.RouteConfigLoadStart=9]="RouteConfigLoadStart",D[D.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",D[D.ChildActivationStart=11]="ChildActivationStart",D[D.ChildActivationEnd=12]="ChildActivationEnd",D[D.ActivationStart=13]="ActivationStart",D[D.ActivationEnd=14]="ActivationEnd",D[D.Scroll=15]="Scroll",D[D.NavigationSkipped=16]="NavigationSkipped",D}(Wn||{});class Ii{constructor(U,T){this.id=U,this.url=T}}class ii extends Ii{constructor(U,T,W="imperative",ve=null){super(U,T),this.type=Wn.NavigationStart,this.navigationTrigger=W,this.restoredState=ve}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ui extends Ii{constructor(U,T,W){super(U,T),this.urlAfterRedirects=W,this.type=Wn.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Ai=function(D){return D[D.Redirect=0]="Redirect",D[D.SupersededByNewNavigation=1]="SupersededByNewNavigation",D[D.NoDataFromResolver=2]="NoDataFromResolver",D[D.GuardRejected=3]="GuardRejected",D}(Ai||{}),Xi=function(D){return D[D.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",D[D.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",D}(Xi||{});class yi extends Ii{constructor(U,T,W,ve){super(U,T),this.reason=W,this.code=ve,this.type=Wn.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class mi extends Ii{constructor(U,T,W,ve){super(U,T),this.reason=W,this.code=ve,this.type=Wn.NavigationSkipped}}class Ui extends Ii{constructor(U,T,W,ve){super(U,T),this.error=W,this.target=ve,this.type=Wn.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Dr extends Ii{constructor(U,T,W,ve){super(U,T),this.urlAfterRedirects=W,this.state=ve,this.type=Wn.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dr extends Ii{constructor(U,T,W,ve){super(U,T),this.urlAfterRedirects=W,this.state=ve,this.type=Wn.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pr extends Ii{constructor(U,T,W,ve,nt){super(U,T),this.urlAfterRedirects=W,this.state=ve,this.shouldActivate=nt,this.type=Wn.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Br extends Ii{constructor(U,T,W,ve){super(U,T),this.urlAfterRedirects=W,this.state=ve,this.type=Wn.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class sr extends Ii{constructor(U,T,W,ve){super(U,T),this.urlAfterRedirects=W,this.state=ve,this.type=Wn.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class oi{constructor(U){this.route=U,this.type=Wn.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class gi{constructor(U){this.route=U,this.type=Wn.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Zs{constructor(U){this.snapshot=U,this.type=Wn.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Hr{constructor(U){this.snapshot=U,this.type=Wn.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Or{constructor(U){this.snapshot=U,this.type=Wn.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Pr{constructor(U){this.snapshot=U,this.type=Wn.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Gs{constructor(U,T,W){this.routerEvent=U,this.position=T,this.anchor=W,this.type=Wn.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class bs{}class ci{constructor(U){this.url=U}}class Ms{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Qi,this.attachRef=null}}let Qi=(()=>{class D{constructor(){this.contexts=new Map}onChildOutletCreated(T,W){const ve=this.getOrCreateContext(T);ve.outlet=W,this.contexts.set(T,ve)}onChildOutletDestroyed(T){const W=this.getContext(T);W&&(W.outlet=null,W.attachRef=null)}onOutletDeactivated(){const T=this.contexts;return this.contexts=new Map,T}onOutletReAttached(T){this.contexts=T}getOrCreateContext(T){let W=this.getContext(T);return W||(W=new Ms,this.contexts.set(T,W)),W}getContext(T){return this.contexts.get(T)||null}static#e=this.\u0275fac=function(W){return new(W||D)};static#t=this.\u0275prov=d.wxM({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})();class Is{constructor(U){this._root=U}get root(){return this._root.value}parent(U){const T=this.pathFromRoot(U);return T.length>1?T[T.length-2]:null}children(U){const T=As(U,this._root);return T?T.children.map(W=>W.value):[]}firstChild(U){const T=As(U,this._root);return T&&T.children.length>0?T.children[0].value:null}siblings(U){const T=gs(U,this._root);return T.length<2?[]:T[T.length-2].children.map(ve=>ve.value).filter(ve=>ve!==U)}pathFromRoot(U){return gs(U,this._root).map(T=>T.value)}}function As(D,U){if(D===U.value)return U;for(const T of U.children){const W=As(D,T);if(W)return W}return null}function gs(D,U){if(D===U.value)return[U];for(const T of U.children){const W=gs(D,T);if(W.length)return W.unshift(U),W}return[]}class mr{constructor(U,T){this.value=U,this.children=T}toString(){return`TreeNode(${this.value})`}}function xr(D){const U={};return D&&D.children.forEach(T=>U[T.value.outlet]=T),U}class Zr extends Is{constructor(U,T){super(U),this.snapshot=T,ss(this,U)}toString(){return this.snapshot.toString()}}function Ns(D){const U=function Ss(D){const nt=new hs([],{},{},"",{},dt,D,null,{});return new Ts("",new mr(nt,[]))}(D),T=new i.g([new bn("",{})]),W=new i.g({}),ve=new i.g({}),nt=new i.g({}),Pt=new i.g(""),an=new _s(T,W,nt,Pt,ve,dt,D,U.root);return an.snapshot=U.root,new Zr(new mr(an,[]),U)}class _s{constructor(U,T,W,ve,nt,Pt,an,tn){this.urlSubject=U,this.paramsSubject=T,this.queryParamsSubject=W,this.fragmentSubject=ve,this.dataSubject=nt,this.outlet=Pt,this.component=an,this._futureSnapshot=tn,this.title=this.dataSubject?.pipe((0,j.k)(Qn=>Qn[Et]))??(0,l.of)(void 0),this.url=U,this.params=T,this.queryParams=W,this.fragment=ve,this.data=nt}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((0,j.k)(U=>Xe(U))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,j.k)(U=>Xe(U))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function vs(D,U,T="emptyOnly"){let W;const{routeConfig:ve}=D;return W=null===U||"always"!==T&&""!==ve?.path&&(U.component||U.routeConfig?.loadComponent)?{params:{...D.params},data:{...D.data},resolve:{...D.data,...D._resolvedData??{}}}:{params:{...U.params,...D.params},data:{...U.data,...D.data},resolve:{...D.data,...U.data,...ve?.data,...D._resolvedData}},ve&&di(ve)&&(W.resolve[Et]=ve.title),W}class hs{get title(){return this.data?.[Et]}constructor(U,T,W,ve,nt,Pt,an,tn,Qn){this.url=U,this.params=T,this.queryParams=W,this.fragment=ve,this.data=nt,this.outlet=Pt,this.component=an,this.routeConfig=tn,this._resolve=Qn}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??=Xe(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Xe(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(W=>W.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ts extends Is{constructor(U,T){super(T),this.url=U,ss(this,T)}toString(){return Sr(this._root)}}function ss(D,U){U.value._routerState=D,U.children.forEach(T=>ss(D,T))}function Sr(D){const U=D.children.length>0?` { ${D.children.map(Sr).join(", ")} } `:"";return`${D.value}${U}`}function nr(D){if(D.snapshot){const U=D.snapshot,T=D._futureSnapshot;D.snapshot=T,Ct(U.queryParams,T.queryParams)||D.queryParamsSubject.next(T.queryParams),U.fragment!==T.fragment&&D.fragmentSubject.next(T.fragment),Ct(U.params,T.params)||D.paramsSubject.next(T.params),function xe(D,U){if(D.length!==U.length)return!1;for(let T=0;T<D.length;++T)if(!Ct(D[T],U[T]))return!1;return!0}(U.url,T.url)||D.urlSubject.next(T.url),Ct(U.data,T.data)||D.dataSubject.next(T.data)}else D.snapshot=D._futureSnapshot,D.dataSubject.next(D._futureSnapshot.data)}function Jr(D,U){const T=Ct(D.params,U.params)&&function Un(D,U){return jn(D,U)&&D.every((T,W)=>Ct(T.parameters,U[W].parameters))}(D.url,U.url);return T&&!(!D.parent!=!U.parent)&&(!D.parent||Jr(D.parent,U.parent))}function di(D){return"string"==typeof D.title||null===D.title}let cs=(()=>{class D{constructor(){this.activated=null,this._activatedRoute=null,this.name=dt,this.activateEvents=new d._w7,this.deactivateEvents=new d._w7,this.attachEvents=new d._w7,this.detachEvents=new d._w7,this.parentContexts=(0,d.uUt)(Qi),this.location=(0,d.uUt)(d.y8U),this.changeDetector=(0,d.uUt)(d.kD9),this.environmentInjector=(0,d.uUt)(d.SIe),this.inputBinder=(0,d.uUt)(qr,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(T){if(T.name){const{firstChange:W,previousValue:ve}=T.name;if(W)return;this.isTrackedInParentContexts(ve)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(ve)),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;const 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 d.OBp(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new d.OBp(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new d.OBp(4012,!1);this.location.detach();const T=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(T.instance),T}attach(T,W){this.activated=T,this._activatedRoute=W,this.location.insert(T.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(T.instance)}deactivate(){if(this.activated){const T=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(T)}}activateWith(T,W){if(this.isActivated)throw new d.OBp(4013,!1);this._activatedRoute=T;const ve=this.location,Pt=T.snapshot.component,an=this.parentContexts.getOrCreateContext(this.name).children,tn=new Cs(T,an,ve.injector);this.activated=ve.createComponent(Pt,{index:ve.length,injector:tn,environmentInjector:W??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(W){return new(W||D)};static#t=this.\u0275dir=d.Sc5({type:D,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[d.SYr]})}return D})();class Cs{__ngOutletInjector(U){return new Cs(this.route,this.childContexts,U)}constructor(U,T,W){this.route=U,this.childContexts=T,this.parent=W}get(U,T){return U===_s?this.route:U===Qi?this.childContexts:this.parent.get(U,T)}}const qr=new d.UbH("");let os=(()=>{class D{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(T){this.unsubscribeFromRouteData(T),this.subscribeToRouteData(T)}unsubscribeFromRouteData(T){this.outletDataSubscriptions.get(T)?.unsubscribe(),this.outletDataSubscriptions.delete(T)}subscribeToRouteData(T){const{activatedRoute:W}=T,ve=(0,y.E)([W.queryParams,W.params,W.data]).pipe((0,ke.G)(([nt,Pt,an],tn)=>(an={...nt,...Pt,...an},0===tn?(0,l.of)(an):Promise.resolve(an)))).subscribe(nt=>{if(!T.isActivated||!T.activatedComponentRef||T.activatedRoute!==W||null===W.component)return void this.unsubscribeFromRouteData(T);const Pt=(0,d.o9M)(W.component);if(Pt)for(const{templateName:an}of Pt.inputs)T.activatedComponentRef.setInput(an,nt[an]);else this.unsubscribeFromRouteData(T)});this.outletDataSubscriptions.set(T,ve)}static#e=this.\u0275fac=function(W){return new(W||D)};static#t=this.\u0275prov=d.wxM({token:D,factory:D.\u0275fac})}return D})();function hr(D,U,T){if(T&&D.shouldReuseRoute(U.value,T.value.snapshot)){const W=T.value;W._futureSnapshot=U.value;const ve=function as(D,U,T){return U.children.map(W=>{for(const ve of T.children)if(D.shouldReuseRoute(W.value,ve.value.snapshot))return hr(D,W,ve);return hr(D,W)})}(D,U,T);return new mr(W,ve)}{if(D.shouldAttach(U.value)){const nt=D.retrieve(U.value);if(null!==nt){const Pt=nt.route;return Pt.value._futureSnapshot=U.value,Pt.children=U.children.map(an=>hr(D,an)),Pt}}const W=function Ei(D){return new _s(new i.g(D.url),new i.g(D.params),new i.g(D.queryParams),new i.g(D.fragment),new i.g(D.data),D.outlet,D.component,D)}(U.value),ve=U.children.map(nt=>hr(D,nt));return new mr(W,ve)}}const Es="ngNavigationCancelingError";function es(D,U){const{redirectTo:T,navigationBehaviorOptions:W}=ni(U)?{redirectTo:U,navigationBehaviorOptions:void 0}:U,ve=Ar(!1,Ai.Redirect);return ve.url=T,ve.navigationBehaviorOptions=W,ve}function Ar(D,U){const T=new Error(`NavigationCancelingError: ${D||""}`);return T[Es]=!0,T.cancellationCode=U,T}function m(D){return!!D&&D[Es]}let b=(()=>{class D{static#e=this.\u0275fac=function(W){return new(W||D)};static#t=this.\u0275cmp=d.In1({type:D,selectors:[["ng-component"]],standalone:!0,features:[d.UHJ],decls:1,vars:0,template:function(W,ve){1&W&&d.wR5(0,"router-outlet")},dependencies:[cs],encapsulation:2})}return D})();function ct(D){const U=D.children&&D.children.map(ct),T=U?{...D,children:U}:{...D};return!T.component&&!T.loadComponent&&(U||T.loadChildren)&&T.outlet&&T.outlet!==dt&&(T.component=b),T}function ft(D){return D.outlet||dt}function En(D){if(!D)return null;if(D.routeConfig?._injector)return D.routeConfig._injector;for(let U=D.parent;U;U=U.parent){const T=U.routeConfig;if(T?._loadedInjector)return T._loadedInjector;if(T?._injector)return T._injector}return null}class zi{constructor(U,T,W,ve,nt){this.routeReuseStrategy=U,this.futureState=T,this.currState=W,this.forwardEvent=ve,this.inputBindingEnabled=nt}activate(U){const T=this.futureState._root,W=this.currState?this.currState._root:null;this.deactivateChildRoutes(T,W,U),nr(this.futureState.root),this.activateChildRoutes(T,W,U)}deactivateChildRoutes(U,T,W){const ve=xr(T);U.children.forEach(nt=>{const Pt=nt.value.outlet;this.deactivateRoutes(nt,ve[Pt],W),delete ve[Pt]}),Object.values(ve).forEach(nt=>{this.deactivateRouteAndItsChildren(nt,W)})}deactivateRoutes(U,T,W){const ve=U.value,nt=T?T.value:null;if(ve===nt)if(ve.component){const Pt=W.getContext(ve.outlet);Pt&&this.deactivateChildRoutes(U,T,Pt.children)}else this.deactivateChildRoutes(U,T,W);else nt&&this.deactivateRouteAndItsChildren(T,W)}deactivateRouteAndItsChildren(U,T){U.value.component&&this.routeReuseStrategy.shouldDetach(U.value.snapshot)?this.detachAndStoreRouteSubtree(U,T):this.deactivateRouteAndOutlet(U,T)}detachAndStoreRouteSubtree(U,T){const W=T.getContext(U.value.outlet),ve=W&&U.value.component?W.children:T,nt=xr(U);for(const Pt of Object.values(nt))this.deactivateRouteAndItsChildren(Pt,ve);if(W&&W.outlet){const Pt=W.outlet.detach(),an=W.children.onOutletDeactivated();this.routeReuseStrategy.store(U.value.snapshot,{componentRef:Pt,route:U,contexts:an})}}deactivateRouteAndOutlet(U,T){const W=T.getContext(U.value.outlet),ve=W&&U.value.component?W.children:T,nt=xr(U);for(const Pt of Object.values(nt))this.deactivateRouteAndItsChildren(Pt,ve);W&&(W.outlet&&(W.outlet.deactivate(),W.children.onOutletDeactivated()),W.attachRef=null,W.route=null)}activateChildRoutes(U,T,W){const ve=xr(T);U.children.forEach(nt=>{this.activateRoutes(nt,ve[nt.value.outlet],W),this.forwardEvent(new Pr(nt.value.snapshot))}),U.children.length&&this.forwardEvent(new Hr(U.value.snapshot))}activateRoutes(U,T,W){const ve=U.value,nt=T?T.value:null;if(nr(ve),ve===nt)if(ve.component){const Pt=W.getOrCreateContext(ve.outlet);this.activateChildRoutes(U,T,Pt.children)}else this.activateChildRoutes(U,T,W);else if(ve.component){const Pt=W.getOrCreateContext(ve.outlet);if(this.routeReuseStrategy.shouldAttach(ve.snapshot)){const an=this.routeReuseStrategy.retrieve(ve.snapshot);this.routeReuseStrategy.store(ve.snapshot,null),Pt.children.onOutletReAttached(an.contexts),Pt.attachRef=an.componentRef,Pt.route=an.route.value,Pt.outlet&&Pt.outlet.attach(an.componentRef,an.route.value),nr(an.route.value),this.activateChildRoutes(U,null,Pt.children)}else{const an=En(ve.snapshot);Pt.attachRef=null,Pt.route=ve,Pt.injector=an,Pt.outlet&&Pt.outlet.activateWith(ve,Pt.injector),this.activateChildRoutes(U,null,Pt.children)}}else this.activateChildRoutes(U,null,W)}}class Si{constructor(U){this.path=U,this.route=this.path[this.path.length-1]}}class Wi{constructor(U,T){this.component=U,this.route=T}}function Ki(D,U,T){const W=D._root;return bi(W,U?U._root:null,T,[W.value])}function Mr(D,U){const T=Symbol(),W=U.get(D,T);return W===T?"function"!=typeof D||(0,d.K_M)(D)?U.get(D):D:W}function bi(D,U,T,W,ve={canDeactivateChecks:[],canActivateChecks:[]}){const nt=xr(U);return D.children.forEach(Pt=>{(function or(D,U,T,W,ve={canDeactivateChecks:[],canActivateChecks:[]}){const nt=D.value,Pt=U?U.value:null,an=T?T.getContext(D.value.outlet):null;if(Pt&&nt.routeConfig===Pt.routeConfig){const tn=function Rs(D,U,T){if("function"==typeof T)return T(D,U);switch(T){case"pathParamsChange":return!jn(D.url,U.url);case"pathParamsOrQueryParamsChange":return!jn(D.url,U.url)||!Ct(D.queryParams,U.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Jr(D,U)||!Ct(D.queryParams,U.queryParams);default:return!Jr(D,U)}}(Pt,nt,nt.routeConfig.runGuardsAndResolvers);tn?ve.canActivateChecks.push(new Si(W)):(nt.data=Pt.data,nt._resolvedData=Pt._resolvedData),bi(D,U,nt.component?an?an.children:null:T,W,ve),tn&&an&&an.outlet&&an.outlet.isActivated&&ve.canDeactivateChecks.push(new Wi(an.outlet.component,Pt))}else Pt&&he(U,an,ve),ve.canActivateChecks.push(new Si(W)),bi(D,null,nt.component?an?an.children:null:T,W,ve)})(Pt,nt[Pt.value.outlet],T,W.concat([Pt.value]),ve),delete nt[Pt.value.outlet]}),Object.entries(nt).forEach(([Pt,an])=>he(an,T.getContext(Pt),ve)),ve}function he(D,U,T){const W=xr(D),ve=D.value;Object.entries(W).forEach(([nt,Pt])=>{he(Pt,ve.component?U?U.children.getContext(nt):null:U,T)}),T.canDeactivateChecks.push(new Wi(ve.component&&U&&U.outlet&&U.outlet.isActivated?U.outlet.component:null,ve))}function Ie(D){return"function"==typeof D}function R(D){return D instanceof _.G||"EmptyError"===D?.name}const ne=Symbol("INITIAL_VALUE");function Ue(){return(0,ke.G)(D=>(0,y.E)(D.map(U=>U.pipe((0,rt.U)(1),(0,le.W)(ne)))).pipe((0,j.k)(U=>{for(const T of U)if(!0!==T){if(T===ne)return ne;if(!1===T||T instanceof $t)return T}return!0}),(0,ye.I)(U=>U!==ne),(0,rt.U)(1)))}function ri(D){return(0,K.W)((0,_t.y)(U=>{if(ni(U))throw es(0,U)}),(0,j.k)(U=>!0===U))}class Fi{constructor(U){this.segmentGroup=U||null}}class gr extends Error{constructor(U){super(),this.urlTree=U}}function ir(D){return(0,ie.c)(new Fi(D))}class Ji{constructor(U,T){this.urlSerializer=U,this.urlTree=T}lineralizeSegments(U,T){let W=[],ve=T.root;for(;;){if(W=W.concat(ve.segments),0===ve.numberOfChildren)return(0,l.of)(W);if(ve.numberOfChildren>1||!ve.children[dt])return(0,ie.c)(new d.OBp(4e3,!1));ve=ve.children[dt]}}applyRedirectCommands(U,T,W){const ve=this.applyRedirectCreateUrlTree(T,this.urlSerializer.parse(T),U,W);if(T.startsWith("/"))throw new gr(ve);return ve}applyRedirectCreateUrlTree(U,T,W,ve){const nt=this.createSegmentGroup(U,T.root,W,ve);return new $t(nt,this.createQueryParams(T.queryParams,this.urlTree.queryParams),T.fragment)}createQueryParams(U,T){const W={};return Object.entries(U).forEach(([ve,nt])=>{if("string"==typeof nt&&nt.startsWith(":")){const an=nt.substring(1);W[ve]=T[an]}else W[ve]=nt}),W}createSegmentGroup(U,T,W,ve){const nt=this.createSegments(U,T.segments,W,ve);let Pt={};return Object.entries(T.children).forEach(([an,tn])=>{Pt[an]=this.createSegmentGroup(U,tn,W,ve)}),new zt(nt,Pt)}createSegments(U,T,W,ve){return T.map(nt=>nt.path.startsWith(":")?this.findPosParam(U,nt,ve):this.findOrReturn(nt,W))}findPosParam(U,T,W){const ve=W[T.path.substring(1)];if(!ve)throw new d.OBp(4001,!1);return ve}findOrReturn(U,T){let W=0;for(const ve of T){if(ve.path===U.path)return T.splice(W),ve;W++}return U}}const Bi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ji(D,U,T,W,ve){const nt=qi(D,U,T);return nt.matched?(W=function G(D,U){return D.providers&&!D._injector&&(D._injector=(0,d.SIz)(D.providers,U,`Route: ${D.path}`)),D._injector??U}(U,W),function _i(D,U,T,W){const ve=U.canMatch;if(!ve||0===ve.length)return(0,l.of)(!0);const nt=ve.map(Pt=>{const an=Mr(Pt,D);return Ot(function M(D){return D&&Ie(D.canMatch)}(an)?an.canMatch(U,T):(0,d.SMS)(D,()=>an(U,T)))});return(0,l.of)(nt).pipe(Ue(),ri())}(W,U,T).pipe((0,j.k)(Pt=>!0===Pt?nt:{...Bi}))):(0,l.of)(nt)}function qi(D,U,T){if("**"===U.path)return function Us(D){return{matched:!0,parameters:D.length>0?vt(D).parameters:{},consumedSegments:D,remainingSegments:[],positionalParamSegments:{}}}(T);if(""===U.path)return"full"===U.pathMatch&&(D.hasChildren()||T.length>0)?{...Bi}:{matched:!0,consumedSegments:[],remainingSegments:T,parameters:{},positionalParamSegments:{}};const ve=(U.matcher||z)(T,D,U);if(!ve)return{...Bi};const nt={};Object.entries(ve.posParams??{}).forEach(([an,tn])=>{nt[an]=tn.path});const Pt=ve.consumed.length>0?{...nt,...ve.consumed[ve.consumed.length-1].parameters}:nt;return{matched:!0,consumedSegments:ve.consumed,remainingSegments:T.slice(ve.consumed.length),parameters:Pt,positionalParamSegments:ve.posParams??{}}}function ks(D,U,T,W){return T.length>0&&function Ht(D,U,T){return T.some(W=>Wt(D,U,W)&&ft(W)!==dt)}(D,T,W)?{segmentGroup:new zt(U,yt(W,new zt(T,D.children))),slicedSegments:[]}:0===T.length&&function Jt(D,U,T){return T.some(W=>Wt(D,U,W))}(D,T,W)?{segmentGroup:new zt(D.segments,br(D,T,W,D.children)),slicedSegments:T}:{segmentGroup:new zt(D.segments,D.children),slicedSegments:T}}function br(D,U,T,W){const ve={};for(const nt of T)if(Wt(D,U,nt)&&!W[ft(nt)]){const Pt=new zt([],{});ve[ft(nt)]=Pt}return{...W,...ve}}function yt(D,U){const T={};T[dt]=U;for(const W of D)if(""===W.path&&ft(W)!==dt){const ve=new zt([],{});T[ft(W)]=ve}return T}function Wt(D,U,T){return(!(D.hasChildren()||U.length>0)||"full"!==T.pathMatch)&&""===T.path}class wn{}class pi{constructor(U,T,W,ve,nt,Pt,an){this.injector=U,this.configLoader=T,this.rootComponentType=W,this.config=ve,this.urlTree=nt,this.paramsInheritanceStrategy=Pt,this.urlSerializer=an,this.applyRedirects=new Ji(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(U){return new d.OBp(4002,`'${U.segmentGroup}'`)}recognize(){const U=ks(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(U).pipe((0,j.k)(T=>{const W=new hs([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},dt,this.rootComponentType,null,{}),ve=new mr(W,T),nt=new Ts("",ve),Pt=function Oi(D,U,T=null,W=null){return Vr(Er(D),U,T,W)}(W,[],this.urlTree.queryParams,this.urlTree.fragment);return Pt.queryParams=this.urlTree.queryParams,nt.url=this.urlSerializer.serialize(Pt),this.inheritParamsAndData(nt._root,null),{state:nt,tree:Pt}}))}match(U){return this.processSegmentGroup(this.injector,this.config,U,dt).pipe((0,pt.a)(W=>{if(W instanceof gr)return this.urlTree=W.urlTree,this.match(W.urlTree.root);throw W instanceof Fi?this.noMatchError(W):W}))}inheritParamsAndData(U,T){const W=U.value,ve=vs(W,T,this.paramsInheritanceStrategy);W.params=Object.freeze(ve.params),W.data=Object.freeze(ve.data),U.children.forEach(nt=>this.inheritParamsAndData(nt,W))}processSegmentGroup(U,T,W,ve){return 0===W.segments.length&&W.hasChildren()?this.processChildren(U,T,W):this.processSegment(U,T,W,W.segments,ve,!0).pipe((0,j.k)(nt=>nt instanceof mr?[nt]:[]))}processChildren(U,T,W){const ve=[];for(const nt of Object.keys(W.children))"primary"===nt?ve.unshift(nt):ve.push(nt);return(0,f.Q)(ve).pipe((0,ot.m)(nt=>{const Pt=W.children[nt],an=function Qt(D,U){const T=D.filter(W=>ft(W)===U);return T.push(...D.filter(W=>ft(W)!==U)),T}(T,nt);return this.processSegmentGroup(U,an,Pt,nt)}),function qe(D,U){return(0,X.i)(function Gt(D,U,T,W,ve){return(nt,Pt)=>{let an=T,tn=U,Qn=0;nt.subscribe((0,V.e)(Pt,$i=>{const Yi=Qn++;tn=an?D(tn,$i,Yi):(an=!0,$i),W&&Pt.next(tn)},ve&&(()=>{an&&Pt.next(tn),Pt.complete()})))}}(D,U,arguments.length>=2,!0))}((nt,Pt)=>(nt.push(...Pt),nt)),(0,g.G)(null),function ce(D,U){const T=arguments.length>=2;return W=>W.pipe(D?(0,ye.I)((ve,nt)=>D(ve,nt,W)):Fe.Z,Je(1),T?(0,g.G)(U):te(()=>new _.G))}(),(0,Y.O)(nt=>{if(null===nt)return ir(W);const Pt=Ni(nt);return function ai(D){D.sort((U,T)=>U.value.outlet===dt?-1:T.value.outlet===dt?1:U.value.outlet.localeCompare(T.value.outlet))}(Pt),(0,l.of)(Pt)}))}processSegment(U,T,W,ve,nt,Pt){return(0,f.Q)(T).pipe((0,ot.m)(an=>this.processSegmentAgainstRoute(an._injector??U,T,an,W,ve,nt,Pt).pipe((0,pt.a)(tn=>{if(tn instanceof Fi)return(0,l.of)(null);throw tn}))),Se(an=>!!an),(0,pt.a)(an=>{if(R(an))return function fn(D,U,T){return 0===U.length&&!D.children[T]}(W,ve,nt)?(0,l.of)(new wn):ir(W);throw an}))}processSegmentAgainstRoute(U,T,W,ve,nt,Pt,an){return function Zt(D,U,T,W){return!!(ft(D)===W||W!==dt&&Wt(U,T,D))&&qi(U,D,T).matched}(W,ve,nt,Pt)?void 0===W.redirectTo?this.matchSegmentAgainstRoute(U,ve,W,nt,Pt):this.allowRedirects&&an?this.expandSegmentAgainstRouteUsingRedirect(U,ve,T,W,nt,Pt):ir(ve):ir(ve)}expandSegmentAgainstRouteUsingRedirect(U,T,W,ve,nt,Pt){const{matched:an,consumedSegments:tn,positionalParamSegments:Qn,remainingSegments:$i}=qi(T,ve,nt);if(!an)return ir(T);ve.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Yi=this.applyRedirects.applyRedirectCommands(tn,ve.redirectTo,Qn);return this.applyRedirects.lineralizeSegments(ve,Yi).pipe((0,Y.O)(Ls=>this.processSegment(U,W,T,Ls.concat($i),Pt,!1)))}matchSegmentAgainstRoute(U,T,W,ve,nt){const Pt=ji(T,W,ve,U);return"**"===W.path&&(T.children={}),Pt.pipe((0,ke.G)(an=>an.matched?this.getChildConfig(U=W._injector??U,W,ve).pipe((0,ke.G)(({routes:tn})=>{const Qn=W._loadedInjector??U,{consumedSegments:$i,remainingSegments:Yi,parameters:Ls}=an,ta=new hs($i,Ls,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function wi(D){return D.data||{}}(W),ft(W),W.component??W._loadedComponent??null,W,function Cr(D){return D.resolve||{}}(W)),{segmentGroup:la,slicedSegments:Yo}=ks(T,$i,Yi,tn);if(0===Yo.length&&la.hasChildren())return this.processChildren(Qn,tn,la).pipe((0,j.k)(yo=>null===yo?null:new mr(ta,yo)));if(0===tn.length&&0===Yo.length)return(0,l.of)(new mr(ta,[]));const Ca=ft(W)===nt;return this.processSegment(Qn,tn,la,Yo,Ca?dt:nt,!0).pipe((0,j.k)(yo=>new mr(ta,yo instanceof mr?[yo]:[])))})):ir(T)))}getChildConfig(U,T,W){return T.children?(0,l.of)({routes:T.children,injector:U}):T.loadChildren?void 0!==T._loadedRoutes?(0,l.of)({routes:T._loadedRoutes,injector:T._loadedInjector}):function Ci(D,U,T,W){const ve=U.canLoad;if(void 0===ve||0===ve.length)return(0,l.of)(!0);const nt=ve.map(Pt=>{const an=Mr(Pt,D);return Ot(function et(D){return D&&Ie(D.canLoad)}(an)?an.canLoad(U,T):(0,d.SMS)(D,()=>an(U,T)))});return(0,l.of)(nt).pipe(Ue(),ri())}(U,T,W).pipe((0,Y.O)(ve=>ve?this.configLoader.loadChildren(U,T).pipe((0,_t.y)(nt=>{T._loadedRoutes=nt.routes,T._loadedInjector=nt.injector})):function vi(D){return(0,ie.c)(Ar(!1,Ai.GuardRejected))}())):(0,l.of)({routes:[],injector:U})}}function Nn(D){const U=D.value.routeConfig;return U&&""===U.path}function Ni(D){const U=[],T=new Set;for(const W of D){if(!Nn(W)){U.push(W);continue}const ve=U.find(nt=>W.value.routeConfig===nt.value.routeConfig);void 0!==ve?(ve.children.push(...W.children),T.add(ve)):U.push(W)}for(const W of T){const ve=Ni(W.children);U.push(new mr(W.value,ve))}return U.filter(W=>!T.has(W))}function Rr(D){const U=D.children.map(T=>Rr(T)).flat();return[D,...U]}function Fo(D){return(0,ke.G)(U=>{const T=D(U);return T?(0,f.Q)(T).pipe((0,j.k)(()=>U)):(0,l.of)(U)})}let No=(()=>{class D{buildTitle(T){let W,ve=T.root;for(;void 0!==ve;)W=this.getResolvedTitleForRoute(ve)??W,ve=ve.children.find(nt=>nt.outlet===dt);return W}getResolvedTitleForRoute(T){return T.data[Et]}static#e=this.\u0275fac=function(W){return new(W||D)};static#t=this.\u0275prov=d.wxM({token:D,factory:()=>(0,d.uUt)(ba),providedIn:"root"})}return D})(),ba=(()=>{class D extends No{constructor(T){super(),this.title=T}updateTitle(T){const W=this.buildTitle(T);void 0!==W&&this.title.setTitle(W)}static#e=this.\u0275fac=function(W){return new(W||D)(d.CoB(je.OY))};static#t=this.\u0275prov=d.wxM({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})();const oo=new d.UbH("",{providedIn:"root",factory:()=>({})}),Ws=new d.UbH("");let Bo=(()=>{class D{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,d.uUt)(d.ESV)}loadComponent(T){if(this.componentLoaders.get(T))return this.componentLoaders.get(T);if(T._loadedComponent)return(0,l.of)(T._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(T);const W=Ot(T.loadComponent()).pipe((0,j.k)(Ho),(0,_t.y)(nt=>{this.onLoadEndListener&&this.onLoadEndListener(T),T._loadedComponent=nt}),(0,L.U)(()=>{this.componentLoaders.delete(T)})),ve=new Ge.C(W,()=>new ae.E).pipe((0,H.O)());return this.componentLoaders.set(T,ve),ve}loadChildren(T,W){if(this.childrenLoaders.get(W))return this.childrenLoaders.get(W);if(W._loadedRoutes)return(0,l.of)({routes:W._loadedRoutes,injector:W._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(W);const nt=function aa(D,U,T,W){return Ot(D.loadChildren()).pipe((0,j.k)(Ho),(0,Y.O)(ve=>ve instanceof d.obV||Array.isArray(ve)?(0,l.of)(ve):(0,f.Q)(U.compileModuleAsync(ve))),(0,j.k)(ve=>{W&&W(D);let nt,Pt,an=!1;return Array.isArray(ve)?(Pt=ve,!0):(nt=ve.create(T).injector,Pt=nt.get(Ws,[],{optional:!0,self:!0}).flat()),{routes:Pt.map(ct),injector:nt}}))}(W,this.compiler,T,this.onLoadEndListener).pipe((0,L.U)(()=>{this.childrenLoaders.delete(W)})),Pt=new Ge.C(nt,()=>new ae.E).pipe((0,H.O)());return this.childrenLoaders.set(W,Pt),Pt}static#e=this.\u0275fac=function(W){return new(W||D)};static#t=this.\u0275prov=d.wxM({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})();function Ho(D){return function qo(D){return D&&"object"==typeof D&&"default"in D}(D)?D.default:D}let Js=(()=>{class D{static#e=this.\u0275fac=function(W){return new(W||D)};static#t=this.\u0275prov=d.wxM({token:D,factory:()=>(0,d.uUt)(ea),providedIn:"root"})}return D})(),ea=(()=>{class D{shouldProcessUrl(T){return!0}extract(T){return T}merge(T,W){return T}static#e=this.\u0275fac=function(W){return new(W||D)};static#t=this.\u0275prov=d.wxM({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})();const vo=new d.UbH(""),x=new d.UbH("");function Ve(D,U,T){const W=D.get(x),ve=D.get(_e.Ud);return D.get(d.WW2).runOutsideAngular(()=>{if(!ve.startViewTransition||W.skipNextTransition)return W.skipNextTransition=!1,new Promise(Qn=>setTimeout(Qn));let nt;const Pt=new Promise(Qn=>{nt=Qn}),an=ve.startViewTransition(()=>(nt(),function J(D){return new Promise(U=>{(0,d.I44)(U,{injector:D})})}(D))),{onViewTransitionCreated:tn}=W;return tn&&(0,d.SMS)(D,()=>tn({transition:an,from:U,to:T})),Pt})}let ge=(()=>{class D{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ae.E,this.transitionAbortSubject=new ae.E,this.configLoader=(0,d.uUt)(Bo),this.environmentInjector=(0,d.uUt)(d.SIe),this.urlSerializer=(0,d.uUt)(kn),this.rootContexts=(0,d.uUt)(Qi),this.location=(0,d.uUt)(_e.oB),this.inputBindingEnabled=null!==(0,d.uUt)(qr,{optional:!0}),this.titleStrategy=(0,d.uUt)(No),this.options=(0,d.uUt)(oo,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,d.uUt)(Js),this.createViewTransition=(0,d.uUt)(vo,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,l.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=ve=>this.events.next(new gi(ve)),this.configLoader.onLoadStartListener=ve=>this.events.next(new oi(ve))}complete(){this.transitions?.complete()}handleNavigationRequest(T){const W=++this.navigationId;this.transitions?.next({...this.transitions.value,...T,id:W})}setupNavigations(T,W,ve){return this.transitions=new i.g({id:0,currentUrlTree:W,currentRawUrl:W,extractedUrl:this.urlHandlingStrategy.extract(W),urlAfterRedirects:this.urlHandlingStrategy.extract(W),rawUrl:W,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Kn,restoredState:null,currentSnapshot:ve.snapshot,targetSnapshot:null,currentRouterState:ve,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ye.I)(nt=>0!==nt.id),(0,j.k)(nt=>({...nt,extractedUrl:this.urlHandlingStrategy.extract(nt.rawUrl)})),(0,ke.G)(nt=>{let Pt=!1,an=!1;return(0,l.of)(nt).pipe((0,ke.G)(tn=>{if(this.navigationId>nt.id)return this.cancelNavigationTransition(nt,"",Ai.SupersededByNewNavigation),oe.k;this.currentTransition=nt,this.currentNavigation={id:tn.id,initialUrl:tn.rawUrl,extractedUrl:tn.extractedUrl,trigger:tn.source,extras:tn.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const Qn=!T.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Qn&&"reload"!==(tn.extras.onSameUrlNavigation??T.onSameUrlNavigation)){const Yi="";return this.events.next(new mi(tn.id,this.urlSerializer.serialize(tn.rawUrl),Yi,Xi.IgnoredSameUrlNavigation)),tn.resolve(null),oe.k}if(this.urlHandlingStrategy.shouldProcessUrl(tn.rawUrl))return(0,l.of)(tn).pipe((0,ke.G)(Yi=>{const Ls=this.transitions?.getValue();return this.events.next(new ii(Yi.id,this.urlSerializer.serialize(Yi.extractedUrl),Yi.source,Yi.restoredState)),Ls!==this.transitions?.getValue()?oe.k:Promise.resolve(Yi)}),function er(D,U,T,W,ve,nt){return(0,Y.O)(Pt=>function Hn(D,U,T,W,ve,nt,Pt="emptyOnly"){return new pi(D,U,T,W,ve,Pt,nt).recognize()}(D,U,T,W,Pt.extractedUrl,ve,nt).pipe((0,j.k)(({state:an,tree:tn})=>({...Pt,targetSnapshot:an,urlAfterRedirects:tn}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,T.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,_t.y)(Yi=>{nt.targetSnapshot=Yi.targetSnapshot,nt.urlAfterRedirects=Yi.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Yi.urlAfterRedirects};const Ls=new Dr(Yi.id,this.urlSerializer.serialize(Yi.extractedUrl),this.urlSerializer.serialize(Yi.urlAfterRedirects),Yi.targetSnapshot);this.events.next(Ls)}));if(Qn&&this.urlHandlingStrategy.shouldProcessUrl(tn.currentRawUrl)){const{id:Yi,extractedUrl:Ls,source:ta,restoredState:la,extras:Yo}=tn,Ca=new ii(Yi,this.urlSerializer.serialize(Ls),ta,la);this.events.next(Ca);const yo=Ns(this.rootComponentType).snapshot;return this.currentTransition=nt={...tn,targetSnapshot:yo,urlAfterRedirects:Ls,extras:{...Yo,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Ls,(0,l.of)(nt)}{const Yi="";return this.events.next(new mi(tn.id,this.urlSerializer.serialize(tn.extractedUrl),Yi,Xi.IgnoredByUrlHandlingStrategy)),tn.resolve(null),oe.k}}),(0,_t.y)(tn=>{const Qn=new dr(tn.id,this.urlSerializer.serialize(tn.extractedUrl),this.urlSerializer.serialize(tn.urlAfterRedirects),tn.targetSnapshot);this.events.next(Qn)}),(0,j.k)(tn=>(this.currentTransition=nt={...tn,guards:Ki(tn.targetSnapshot,tn.currentSnapshot,this.rootContexts)},nt)),function mt(D,U){return(0,Y.O)(T=>{const{targetSnapshot:W,currentSnapshot:ve,guards:{canActivateChecks:nt,canDeactivateChecks:Pt}}=T;return 0===Pt.length&&0===nt.length?(0,l.of)({...T,guardsResult:!0}):function Lt(D,U,T,W){return(0,f.Q)(D).pipe((0,Y.O)(ve=>function Pi(D,U,T,W,ve){const nt=U&&U.routeConfig?U.routeConfig.canDeactivate:null;if(!nt||0===nt.length)return(0,l.of)(!0);const Pt=nt.map(an=>{const tn=En(U)??ve,Qn=Mr(an,tn);return Ot(function ze(D){return D&&Ie(D.canDeactivate)}(Qn)?Qn.canDeactivate(D,U,T,W):(0,d.SMS)(tn,()=>Qn(D,U,T,W))).pipe(Se())});return(0,l.of)(Pt).pipe(Ue())}(ve.component,ve.route,T,U,W)),Se(ve=>!0!==ve,!0))}(Pt,W,ve,D).pipe((0,Y.O)(an=>an&&function $(D){return"boolean"==typeof D}(an)?function Rt(D,U,T,W){return(0,f.Q)(U).pipe((0,ot.m)(ve=>(0,I.W)(function un(D,U){return null!==D&&U&&U(new Zs(D)),(0,l.of)(!0)}(ve.route.parent,W),function Xt(D,U){return null!==D&&U&&U(new Or(D)),(0,l.of)(!0)}(ve.route,W),function Xn(D,U,T){const W=U[U.length-1],nt=U.slice(0,U.length-1).reverse().map(Pt=>function Ti(D){const U=D.routeConfig?D.routeConfig.canActivateChild:null;return U&&0!==U.length?{node:D,guards:U}:null}(Pt)).filter(Pt=>null!==Pt).map(Pt=>(0,B.Q)(()=>{const an=Pt.guards.map(tn=>{const Qn=En(Pt.node)??T,$i=Mr(tn,Qn);return Ot(function Yn(D){return D&&Ie(D.canActivateChild)}($i)?$i.canActivateChild(W,D):(0,d.SMS)(Qn,()=>$i(W,D))).pipe(Se())});return(0,l.of)(an).pipe(Ue())}));return(0,l.of)(nt).pipe(Ue())}(D,ve.path,T),function Gn(D,U,T){const W=U.routeConfig?U.routeConfig.canActivate:null;if(!W||0===W.length)return(0,l.of)(!0);const ve=W.map(nt=>(0,B.Q)(()=>{const Pt=En(U)??T,an=Mr(nt,Pt);return Ot(function kt(D){return D&&Ie(D.canActivate)}(an)?an.canActivate(U,D):(0,d.SMS)(Pt,()=>an(U,D))).pipe(Se())}));return(0,l.of)(ve).pipe(Ue())}(D,ve.route,T))),Se(ve=>!0!==ve,!0))}(W,nt,D,U):(0,l.of)(an)),(0,j.k)(an=>({...T,guardsResult:an})))})}(this.environmentInjector,tn=>this.events.next(tn)),(0,_t.y)(tn=>{if(nt.guardsResult=tn.guardsResult,ni(tn.guardsResult))throw es(0,tn.guardsResult);const Qn=new pr(tn.id,this.urlSerializer.serialize(tn.extractedUrl),this.urlSerializer.serialize(tn.urlAfterRedirects),tn.targetSnapshot,!!tn.guardsResult);this.events.next(Qn)}),(0,ye.I)(tn=>!!tn.guardsResult||(this.cancelNavigationTransition(tn,"",Ai.GuardRejected),!1)),Fo(tn=>{if(tn.guards.canActivateChecks.length)return(0,l.of)(tn).pipe((0,_t.y)(Qn=>{const $i=new Br(Qn.id,this.urlSerializer.serialize(Qn.extractedUrl),this.urlSerializer.serialize(Qn.urlAfterRedirects),Qn.targetSnapshot);this.events.next($i)}),(0,ke.G)(Qn=>{let $i=!1;return(0,l.of)(Qn).pipe(function $r(D,U){return(0,Y.O)(T=>{const{targetSnapshot:W,guards:{canActivateChecks:ve}}=T;if(!ve.length)return(0,l.of)(T);const nt=new Set(ve.map(tn=>tn.route)),Pt=new Set;for(const tn of nt)if(!Pt.has(tn))for(const Qn of Rr(tn))Pt.add(Qn);let an=0;return(0,f.Q)(Pt).pipe((0,ot.m)(tn=>nt.has(tn)?function Bs(D,U,T,W){const ve=D.routeConfig,nt=D._resolve;return void 0!==ve?.title&&!di(ve)&&(nt[Et]=ve.title),function Ir(D,U,T,W){const ve=Kt(D);if(0===ve.length)return(0,l.of)({});const nt={};return(0,f.Q)(ve).pipe((0,Y.O)(Pt=>function ho(D,U,T,W){const ve=En(U)??W,nt=Mr(D,ve);return Ot(nt.resolve?nt.resolve(U,T):(0,d.SMS)(ve,()=>nt(U,T)))}(D[Pt],U,T,W).pipe(Se(),(0,_t.y)(an=>{nt[Pt]=an}))),Je(1),(0,Ae.e)(nt),(0,pt.a)(Pt=>R(Pt)?oe.k:(0,ie.c)(Pt)))}(nt,D,U,W).pipe((0,j.k)(Pt=>(D._resolvedData=Pt,D.data=vs(D,D.parent,T).resolve,null)))}(tn,W,D,U):(tn.data=vs(tn,tn.parent,D).resolve,(0,l.of)(void 0))),(0,_t.y)(()=>an++),Je(1),(0,Y.O)(tn=>an===Pt.size?(0,l.of)(T):oe.k))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,_t.y)({next:()=>$i=!0,complete:()=>{$i||this.cancelNavigationTransition(Qn,"",Ai.NoDataFromResolver)}}))}),(0,_t.y)(Qn=>{const $i=new sr(Qn.id,this.urlSerializer.serialize(Qn.extractedUrl),this.urlSerializer.serialize(Qn.urlAfterRedirects),Qn.targetSnapshot);this.events.next($i)}))}),Fo(tn=>{const Qn=$i=>{const Yi=[];$i.routeConfig?.loadComponent&&!$i.routeConfig._loadedComponent&&Yi.push(this.configLoader.loadComponent($i.routeConfig).pipe((0,_t.y)(Ls=>{$i.component=Ls}),(0,j.k)(()=>{})));for(const Ls of $i.children)Yi.push(...Qn(Ls));return Yi};return(0,y.E)(Qn(tn.targetSnapshot.root)).pipe((0,g.G)(null),(0,rt.U)(1))}),Fo(()=>this.afterPreactivation()),(0,ke.G)(()=>{const{currentSnapshot:tn,targetSnapshot:Qn}=nt,$i=this.createViewTransition?.(this.environmentInjector,tn.root,Qn.root);return $i?(0,f.Q)($i).pipe((0,j.k)(()=>nt)):(0,l.of)(nt)}),(0,j.k)(tn=>{const Qn=function Os(D,U,T){const W=hr(D,U._root,T?T._root:void 0);return new Zr(W,U)}(T.routeReuseStrategy,tn.targetSnapshot,tn.currentRouterState);return this.currentTransition=nt={...tn,targetRouterState:Qn},this.currentNavigation.targetRouterState=Qn,nt}),(0,_t.y)(()=>{this.events.next(new bs)}),((D,U,T,W)=>(0,j.k)(ve=>(new zi(U,ve.targetRouterState,ve.currentRouterState,T,W).activate(D),ve)))(this.rootContexts,T.routeReuseStrategy,tn=>this.events.next(tn),this.inputBindingEnabled),(0,rt.U)(1),(0,_t.y)({next:tn=>{Pt=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ui(tn.id,this.urlSerializer.serialize(tn.extractedUrl),this.urlSerializer.serialize(tn.urlAfterRedirects))),this.titleStrategy?.updateTitle(tn.targetRouterState.snapshot),tn.resolve(!0)},complete:()=>{Pt=!0}}),(0,de.a)(this.transitionAbortSubject.pipe((0,_t.y)(tn=>{throw tn}))),(0,L.U)(()=>{!Pt&&!an&&this.cancelNavigationTransition(nt,"",Ai.SupersededByNewNavigation),this.currentTransition?.id===nt.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,pt.a)(tn=>{if(an=!0,m(tn))this.events.next(new yi(nt.id,this.urlSerializer.serialize(nt.extractedUrl),tn.message,tn.cancellationCode)),function Hi(D){return m(D)&&ni(D.url)}(tn)?this.events.next(new ci(tn.url)):nt.resolve(!1);else{this.events.next(new Ui(nt.id,this.urlSerializer.serialize(nt.extractedUrl),tn,nt.targetSnapshot??void 0));try{nt.resolve(T.errorHandler(tn))}catch(Qn){this.options.resolveNavigationPromiseOnError?nt.resolve(!1):nt.reject(Qn)}}return oe.k}))}))}cancelNavigationTransition(T,W,ve){const nt=new yi(T.id,this.urlSerializer.serialize(T.extractedUrl),W,ve);this.events.next(nt),T.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(W){return new(W||D)};static#t=this.\u0275prov=d.wxM({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})();function Tt(D){return D!==Kn}let on=(()=>{class D{static#e=this.\u0275fac=function(W){return new(W||D)};static#t=this.\u0275prov=d.wxM({token:D,factory:()=>(0,d.uUt)(ei),providedIn:"root"})}return D})();class yn{shouldDetach(U){return!1}store(U,T){}shouldAttach(U){return!1}retrieve(U){return null}shouldReuseRoute(U,T){return U.routeConfig===T.routeConfig}}let ei=(()=>{class D extends yn{static#e=this.\u0275fac=(()=>{let T;return function(ve){return(T||(T=d.otF(D)))(ve||D)}})();static#t=this.\u0275prov=d.wxM({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})(),fr=(()=>{class D{static#e=this.\u0275fac=function(W){return new(W||D)};static#t=this.\u0275prov=d.wxM({token:D,factory:()=>(0,d.uUt)(_r),providedIn:"root"})}return D})(),_r=(()=>{class D extends fr{constructor(){super(...arguments),this.location=(0,d.uUt)(_e.oB),this.urlSerializer=(0,d.uUt)(kn),this.options=(0,d.uUt)(oo,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,d.uUt)(Js),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new $t,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Ns(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(T){return this.location.subscribe(W=>{"popstate"===W.type&&T(W.url,W.state)})}handleRouterEvent(T,W){if(T instanceof ii)this.stateMemento=this.createStateMemento();else if(T instanceof mi)this.rawUrlTree=W.initialUrl;else if(T instanceof Dr){if("eager"===this.urlUpdateStrategy&&!W.extras.skipLocationChange){const ve=this.urlHandlingStrategy.merge(W.finalUrl,W.initialUrl);this.setBrowserUrl(ve,W)}}else T instanceof bs?(this.currentUrlTree=W.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(W.finalUrl,W.initialUrl),this.routerState=W.targetRouterState,"deferred"===this.urlUpdateStrategy&&(W.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,W))):T instanceof yi&&(T.code===Ai.GuardRejected||T.code===Ai.NoDataFromResolver)?this.restoreHistory(W):T instanceof Ui?this.restoreHistory(W,!0):T instanceof ui&&(this.lastSuccessfulId=T.id,this.currentPageId=this.browserPageId)}setBrowserUrl(T,W){const ve=this.urlSerializer.serialize(T);if(this.location.isCurrentPathEqualTo(ve)||W.extras.replaceUrl){const Pt={...W.extras.state,...this.generateNgRouterState(W.id,this.browserPageId)};this.location.replaceState(ve,"",Pt)}else{const nt={...W.extras.state,...this.generateNgRouterState(W.id,this.browserPageId+1)};this.location.go(ve,"",nt)}}restoreHistory(T,W=!1){if("computed"===this.canceledNavigationResolution){const nt=this.currentPageId-this.browserPageId;0!==nt?this.location.historyGo(nt):this.currentUrlTree===T.finalUrl&&0===nt&&(this.resetState(T),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(W&&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,W){return"computed"===this.canceledNavigationResolution?{navigationId:T,\u0275routerPageId:W}:{navigationId:T}}static#e=this.\u0275fac=(()=>{let T;return function(ve){return(T||(T=d.otF(D)))(ve||D)}})();static#t=this.\u0275prov=d.wxM({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})();var ar=function(D){return D[D.COMPLETE=0]="COMPLETE",D[D.FAILED=1]="FAILED",D[D.REDIRECTING=2]="REDIRECTING",D}(ar||{});function Gi(D,U){D.events.pipe((0,ye.I)(T=>T instanceof ui||T instanceof yi||T instanceof Ui||T instanceof mi),(0,j.k)(T=>T instanceof ui||T instanceof mi?ar.COMPLETE:T instanceof yi&&(T.code===Ai.Redirect||T.code===Ai.SupersededByNewNavigation)?ar.REDIRECTING:ar.FAILED),(0,ye.I)(T=>T!==ar.REDIRECTING),(0,rt.U)(1)).subscribe(()=>{U()})}function zr(D){throw D}const lr={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ns={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Ri=(()=>{class D{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,d.uUt)(d.oPY),this.stateManager=(0,d.uUt)(fr),this.options=(0,d.uUt)(oo,{optional:!0})||{},this.pendingTasks=(0,d.uUt)(d.g9Y),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,d.uUt)(ge),this.urlSerializer=(0,d.uUt)(kn),this.location=(0,d.uUt)(_e.oB),this.urlHandlingStrategy=(0,d.uUt)(Js),this._events=new ae.E,this.errorHandler=this.options.errorHandler||zr,this.navigated=!1,this.routeReuseStrategy=(0,d.uUt)(on),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,d.uUt)(Ws,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,d.uUt)(qr,{optional:!0}),this.eventsSubscription=new Z.wH,this.isNgZoneEnabled=(0,d.uUt)(d.WW2)instanceof d.WW2&&d.WW2.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:T=>{this.console.warn(T)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const T=this.navigationTransitions.events.subscribe(W=>{try{const ve=this.navigationTransitions.currentTransition,nt=this.navigationTransitions.currentNavigation;if(null!==ve&&null!==nt)if(this.stateManager.handleRouterEvent(W,nt),W instanceof yi&&W.code!==Ai.Redirect&&W.code!==Ai.SupersededByNewNavigation)this.navigated=!0;else if(W instanceof ui)this.navigated=!0;else if(W instanceof ci){const Pt=this.urlHandlingStrategy.merge(W.url,ve.currentRawUrl),an={info:ve.extras.info,skipLocationChange:ve.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Tt(ve.source)};this.scheduleNavigation(Pt,Kn,null,an,{resolve:ve.resolve,reject:ve.reject,promise:ve.promise})}(function li(D){return!(D instanceof bs||D instanceof ci)})(W)&&this._events.next(W)}catch(ve){this.navigationTransitions.transitionAbortSubject.next(ve)}});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),Kn,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((T,W)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(T,"popstate",W)},0)})}navigateToSyncWithBrowser(T,W,ve){const nt={replaceUrl:!0},Pt=ve?.navigationId?ve:null;if(ve){const tn={...ve};delete tn.navigationId,delete tn.\u0275routerPageId,0!==Object.keys(tn).length&&(nt.state=tn)}const an=this.parseUrl(T);this.scheduleNavigation(an,W,Pt,nt)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(T){this.config=T.map(ct),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,W={}){const{relativeTo:ve,queryParams:nt,fragment:Pt,queryParamsHandling:an,preserveFragment:tn}=W,Qn=tn?this.currentUrlTree.fragment:Pt;let Yi,$i=null;switch(an){case"merge":$i={...this.currentUrlTree.queryParams,...nt};break;case"preserve":$i=this.currentUrlTree.queryParams;break;default:$i=nt||null}null!==$i&&($i=this.removeEmptyProps($i));try{Yi=Er(ve?ve.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof T[0]||!T[0].startsWith("/"))&&(T=[]),Yi=this.currentUrlTree.root}return Vr(Yi,T,$i,Qn??null)}navigateByUrl(T,W={skipLocationChange:!1}){const ve=ni(T)?T:this.parseUrl(T),nt=this.urlHandlingStrategy.merge(ve,this.rawUrlTree);return this.scheduleNavigation(nt,Kn,null,W)}navigate(T,W={skipLocationChange:!1}){return function On(D){for(let U=0;U<D.length;U++)if(null==D[U])throw new d.OBp(4008,!1)}(T),this.navigateByUrl(this.createUrlTree(T,W),W)}serializeUrl(T){return this.urlSerializer.serialize(T)}parseUrl(T){try{return this.urlSerializer.parse(T)}catch{return this.urlSerializer.parse("/")}}isActive(T,W){let ve;if(ve=!0===W?{...lr}:!1===W?{...ns}:W,ni(T))return He(this.currentUrlTree,T,ve);const nt=this.parseUrl(T);return He(this.currentUrlTree,nt,ve)}removeEmptyProps(T){return Object.entries(T).reduce((W,[ve,nt])=>(null!=nt&&(W[ve]=nt),W),{})}scheduleNavigation(T,W,ve,nt,Pt){if(this.disposed)return Promise.resolve(!1);let an,tn,Qn;Pt?(an=Pt.resolve,tn=Pt.reject,Qn=Pt.promise):Qn=new Promise((Yi,Ls)=>{an=Yi,tn=Ls});const $i=this.pendingTasks.add();return Gi(this,()=>{queueMicrotask(()=>this.pendingTasks.remove($i))}),this.navigationTransitions.handleNavigationRequest({source:W,restoredState:ve,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:T,extras:nt,resolve:an,reject:tn,promise:Qn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Qn.catch(Yi=>Promise.reject(Yi))}static#e=this.\u0275fac=function(W){return new(W||D)};static#t=this.\u0275prov=d.wxM({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})(),cr=(()=>{class D{constructor(T,W,ve,nt,Pt,an){this.router=T,this.route=W,this.tabIndexAttribute=ve,this.renderer=nt,this.el=Pt,this.locationStrategy=an,this.href=null,this.commands=null,this.onChanges=new ae.E,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const tn=Pt.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===tn||"area"===tn,this.isAnchorElement?this.subscription=T.events.subscribe(Qn=>{Qn instanceof ui&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(T){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",T)}ngOnChanges(T){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(T){null!=T?(this.commands=Array.isArray(T)?T:[T],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(T,W,ve,nt,Pt){const an=this.urlTree;return!!(null===an||this.isAnchorElement&&(0!==T||W||ve||nt||Pt||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(an,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const T=this.urlTree;this.href=null!==T&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(T)):null;const W=null===this.href?null:(0,d.YFg)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",W)}applyAttributeValue(T,W){const ve=this.renderer,nt=this.el.nativeElement;null!==W?ve.setAttribute(nt,T,W):ve.removeAttribute(nt,T)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(W){return new(W||D)(d.GI1(Ri),d.GI1(_s),d.gJ8("tabindex"),d.GI1(d.q87),d.GI1(d.GMv),d.GI1(_e.Qd))};static#t=this.\u0275dir=d.Sc5({type:D,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(W,ve){1&W&&d.qCj("click",function(Pt){return ve.onClick(Pt.button,Pt.ctrlKey,Pt.shiftKey,Pt.altKey,Pt.metaKey)}),2&W&&d.e48("target",ve.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[d.Wk5.HasDecoratorInputTransform,"preserveFragment","preserveFragment",d.cZD],skipLocationChange:[d.Wk5.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",d.cZD],replaceUrl:[d.Wk5.HasDecoratorInputTransform,"replaceUrl","replaceUrl",d.cZD],routerLink:"routerLink"},standalone:!0,features:[d.QJr,d.SYr]})}return D})(),Kr=(()=>{class D{get isActive(){return this._isActive}constructor(T,W,ve,nt,Pt){this.router=T,this.element=W,this.renderer=ve,this.cdr=nt,this.link=Pt,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new d._w7,this.routerEventsSubscription=T.events.subscribe(an=>{an instanceof ui&&this.update()})}ngAfterContentInit(){(0,l.of)(this.links.changes,(0,l.of)(null)).pipe((0,$e.u)()).subscribe(T=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const T=[...this.links.toArray(),this.link].filter(W=>!!W).map(W=>W.onChanges);this.linkInputChangesSubscription=(0,f.Q)(T).pipe((0,$e.u)()).subscribe(W=>{this._isActive!==this.isLinkActive(this.router)(W)&&this.update()})}set routerLinkActive(T){const W=Array.isArray(T)?T:T.split(" ");this.classes=W.filter(ve=>!!ve)}ngOnChanges(T){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const T=this.hasActiveLinks();this.classes.forEach(W=>{T?this.renderer.addClass(this.element.nativeElement,W):this.renderer.removeClass(this.element.nativeElement,W)}),T&&void 0!==this.ariaCurrentWhenActive?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){const W=function Gr(D){return!!D.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return ve=>{const nt=ve.urlTree;return!!nt&&T.isActive(nt,W)}}hasActiveLinks(){const T=this.isLinkActive(this.router);return this.link&&T(this.link)||this.links.some(T)}static#e=this.\u0275fac=function(W){return new(W||D)(d.GI1(Ri),d.GI1(d.GMv),d.GI1(d.q87),d.GI1(d.kD9),d.GI1(cr,8))};static#t=this.\u0275dir=d.Sc5({type:D,selectors:[["","routerLinkActive",""]],contentQueries:function(W,ve,nt){if(1&W&&d.szK(nt,cr,5),2&W){let Pt;d.wto(Pt=d.Gqi())&&(ve.links=Pt)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[d.SYr]})}return D})();class Ur{}let Yr=(()=>{class D{constructor(T,W,ve,nt,Pt){this.router=T,this.injector=ve,this.preloadingStrategy=nt,this.loader=Pt}setUpPreloading(){this.subscription=this.router.events.pipe((0,ye.I)(T=>T instanceof ui),(0,ot.m)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(T,W){const ve=[];for(const nt of W){nt.providers&&!nt._injector&&(nt._injector=(0,d.SIz)(nt.providers,T,`Route: ${nt.path}`));const Pt=nt._injector??T,an=nt._loadedInjector??Pt;(nt.loadChildren&&!nt._loadedRoutes&&void 0===nt.canLoad||nt.loadComponent&&!nt._loadedComponent)&&ve.push(this.preloadConfig(Pt,nt)),(nt.children||nt._loadedRoutes)&&ve.push(this.processRoutes(an,nt.children??nt._loadedRoutes))}return(0,f.Q)(ve).pipe((0,$e.u)())}preloadConfig(T,W){return this.preloadingStrategy.preload(W,()=>{let ve;ve=W.loadChildren&&void 0===W.canLoad?this.loader.loadChildren(T,W):(0,l.of)(null);const nt=ve.pipe((0,Y.O)(Pt=>null===Pt?(0,l.of)(void 0):(W._loadedRoutes=Pt.routes,W._loadedInjector=Pt.injector,this.processRoutes(Pt.injector??T,Pt.routes))));if(W.loadComponent&&!W._loadedComponent){const Pt=this.loader.loadComponent(W);return(0,f.Q)([nt,Pt]).pipe((0,$e.u)())}return nt})}static#e=this.\u0275fac=function(W){return new(W||D)(d.CoB(Ri),d.CoB(d.ESV),d.CoB(d.SIe),d.CoB(Ur),d.CoB(Bo))};static#t=this.\u0275prov=d.wxM({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})();const fs=new d.UbH("");let Di=(()=>{class D{constructor(T,W,ve,nt,Pt={}){this.urlSerializer=T,this.transitions=W,this.viewportScroller=ve,this.zone=nt,this.options=Pt,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=(0,d.uUt)(d.SIe),Pt.scrollPositionRestoration||="disabled",Pt.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(T=>{T instanceof ii?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=T.navigationTrigger,this.restoredId=T.restoredState?T.restoredState.navigationId:0):T instanceof ui?(this.lastId=T.id,this.scheduleScrollEvent(T,this.urlSerializer.parse(T.urlAfterRedirects).fragment)):T instanceof mi&&T.code===Xi.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 Gs&&(T.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(T.position):T.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(T.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(T,W){var ve=this;this.zone.runOutsideAngular((0,s.c)(function*(){yield new Promise(nt=>{setTimeout(()=>{nt()}),(0,d.I44)(()=>{nt()},{injector:ve.environmentInjector})}),ve.zone.run(()=>{ve.transitions.events.next(new Gs(T,"popstate"===ve.lastSource?ve.store[ve.restoredId]:null,W))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(W){d.KEo()};static#t=this.\u0275prov=d.wxM({token:D,factory:D.\u0275fac})}return D})();function Ps(D,U){return{\u0275kind:D,\u0275providers:U}}function So(){const D=(0,d.uUt)(d.zZn);return U=>{const T=D.get(d.Swk);if(U!==T.components[0])return;const W=D.get(Ri),ve=D.get($o);1===D.get(uo)&&W.initialNavigation(),D.get(zo,null,d._6O.Optional)?.setUpPreloading(),D.get(fs,null,d._6O.Optional)?.init(),W.resetRootComponentType(T.componentTypes[0]),ve.closed||(ve.next(),ve.complete(),ve.unsubscribe())}}const $o=new d.UbH("",{factory:()=>new ae.E}),uo=new d.UbH("",{providedIn:"root",factory:()=>1}),zo=new d.UbH("");function Oo(D){return Ps(0,[{provide:zo,useExisting:Yr},{provide:Ur,useExisting:D}])}function ee(D){return Ps(9,[{provide:vo,useValue:Ve},{provide:x,useValue:{skipNextTransition:!!D?.skipInitialTransition,...D}}])}const wt=new d.UbH("ROUTER_FORROOT_GUARD"),cn=[_e.oB,{provide:kn,useClass:Ln},Ri,Qi,{provide:_s,useFactory:function co(D){return D.routerState.root},deps:[Ri]},Bo,[]];let pn=(()=>{class D{constructor(T){}static forRoot(T,W){return{ngModule:D,providers:[cn,[],{provide:Ws,multi:!0,useValue:T},{provide:wt,useFactory:vr,deps:[[Ri,new d.T7N,new d.Qfh]]},{provide:oo,useValue:W||{}},W?.useHash?{provide:_e.Qd,useClass:_e.MP}:{provide:_e.Qd,useClass:_e.uC},{provide:fs,useFactory:()=>{const D=(0,d.uUt)(_e.YZ),U=(0,d.uUt)(d.WW2),T=(0,d.uUt)(oo),W=(0,d.uUt)(ge),ve=(0,d.uUt)(kn);return T.scrollOffset&&D.setOffset(T.scrollOffset),new Di(ve,W,D,U,T)}},W?.preloadingStrategy?Oo(W.preloadingStrategy).\u0275providers:[],W?.initialNavigation?ps(W):[],W?.bindToComponentInputs?Ps(8,[os,{provide:qr,useExisting:os}]).\u0275providers:[],W?.enableViewTransitions?ee().\u0275providers:[],[{provide:Ks,useFactory:So},{provide:d.qid,multi:!0,useExisting:Ks}]]}}static forChild(T){return{ngModule:D,providers:[{provide:Ws,multi:!0,useValue:T}]}}static#e=this.\u0275fac=function(W){return new(W||D)(d.CoB(wt,8))};static#t=this.\u0275mod=d.a4G({type:D});static#n=this.\u0275inj=d.s3X({})}return D})();function vr(D){return"guarded"}function ps(D){return["disabled"===D.initialNavigation?Ps(3,[{provide:d.kZF,multi:!0,useFactory:()=>{const U=(0,d.uUt)(Ri);return()=>{U.setUpLocationChangeListener()}}},{provide:uo,useValue:2}]).\u0275providers:[],"enabledBlocking"===D.initialNavigation?Ps(2,[{provide:uo,useValue:0},{provide:d.kZF,multi:!0,deps:[d.zZn],useFactory:U=>{const T=U.get(_e.mQ,Promise.resolve());return()=>T.then(()=>new Promise(W=>{const ve=U.get(Ri),nt=U.get($o);Gi(ve,()=>{W(!0)}),U.get(ge).afterPreactivation=()=>(W(!0),nt.closed?(0,l.of)(void 0):nt),ve.initialNavigation()}))}}]).\u0275providers:[]]}const Ks=new d.UbH("")},224:(lt,me,u)=>{"use strict";u.d(me,{iM:()=>I,lV:()=>ie});var s=u(2116),d=u(1368),o=u(4704),f=u(7400),l=u(1424),i=u(2700),y=u(7048);const _=new s.UbH("JWT_OPTIONS");let I=(()=>{class oe{constructor(ae=null){this.tokenGetter=ae&&ae.tokenGetter||function(){}}urlBase64Decode(ae){let Z=ae.replace(/-/g,"+").replace(/_/g,"/");switch(Z.length%4){case 0:break;case 2:Z+="==";break;case 3:Z+="=";break;default:throw new Error("Illegal base64url string!")}return this.b64DecodeUnicode(Z)}b64decode(ae){let _e="";if((ae=String(ae).replace(/=+$/,"")).length%4==1)throw new Error("'atob' failed: The string to be decoded is not correctly encoded.");for(let ke,rt,j=0,le=0;rt=ae.charAt(le++);~rt&&(ke=j%4?64*ke+rt:rt,j++%4)?_e+=String.fromCharCode(255&ke>>(-2*j&6)):0)rt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(rt);return _e}b64DecodeUnicode(ae){return decodeURIComponent(Array.prototype.map.call(this.b64decode(ae),Z=>"%"+("00"+Z.charCodeAt(0).toString(16)).slice(-2)).join(""))}decodeToken(ae=this.tokenGetter()){return ae instanceof Promise?ae.then(Z=>this._decodeToken(Z)):this._decodeToken(ae)}_decodeToken(ae){if(!ae||""===ae)return null;const Z=ae.split(".");if(3!==Z.length)throw new Error("The inspected token doesn't appear to be a JWT. Check to make sure it has three parts and see https://jwt.io for more.");const _e=this.urlBase64Decode(Z[1]);if(!_e)throw new Error("Cannot decode the token.");return JSON.parse(_e)}getTokenExpirationDate(ae=this.tokenGetter()){return ae instanceof Promise?ae.then(Z=>this._getTokenExpirationDate(Z)):this._getTokenExpirationDate(ae)}_getTokenExpirationDate(ae){let Z;if(Z=this.decodeToken(ae),!Z||!Z.hasOwnProperty("exp"))return null;const _e=new Date(0);return _e.setUTCSeconds(Z.exp),_e}isTokenExpired(ae=this.tokenGetter(),Z){return ae instanceof Promise?ae.then(_e=>this._isTokenExpired(_e,Z)):this._isTokenExpired(ae,Z)}_isTokenExpired(ae,Z){if(!ae||""===ae)return!0;const _e=this.getTokenExpirationDate(ae);return Z=Z||0,null!==_e&&!(_e.valueOf()>(new Date).valueOf()+1e3*Z)}getAuthScheme(ae,Z){return"function"==typeof ae?ae(Z):ae}}return oe.\u0275fac=function(ae){return new(ae||oe)(s.CoB(_))},oe.\u0275prov=s.wxM({token:oe,factory:oe.\u0275fac}),oe})();const B=oe=>oe instanceof Promise?(0,l.Q)(()=>oe):(0,i.of)(oe);let K=(()=>{class oe{constructor(ae,Z,_e){this.jwtHelper=Z,this.document=_e,this.standardPorts=["80","443"],this.tokenGetter=ae.tokenGetter,this.headerName=ae.headerName||"Authorization",this.authScheme=ae.authScheme||""===ae.authScheme?ae.authScheme:"Bearer ",this.allowedDomains=ae.allowedDomains||[],this.disallowedRoutes=ae.disallowedRoutes||[],this.throwNoTokenError=ae.throwNoTokenError||!1,this.skipWhenExpired=ae.skipWhenExpired}isAllowedDomain(ae){const Z=new URL(ae.url,this.document.location.origin);if(Z.host===this.document.location.host)return!0;const _e=`${Z.hostname}${Z.port&&!this.standardPorts.includes(Z.port)?":"+Z.port:""}`;return this.allowedDomains.findIndex(j=>"string"==typeof j?j===_e:j instanceof RegExp&&j.test(_e))>-1}isDisallowedRoute(ae){const Z=new URL(ae.url,this.document.location.origin);return this.disallowedRoutes.findIndex(_e=>{if("string"==typeof _e){const j=new URL(_e,this.document.location.origin);return j.hostname===Z.hostname&&j.pathname===Z.pathname}return _e instanceof RegExp&&_e.test(ae.url)})>-1}handleInterception(ae,Z,_e){const j=this.jwtHelper.getAuthScheme(this.authScheme,Z);if(!ae&&this.throwNoTokenError)throw new Error("Could not get token from tokenGetter function.");let ke=(0,i.of)(!1);return this.skipWhenExpired&&(ke=ae?B(this.jwtHelper.isTokenExpired(ae)):(0,i.of)(!0)),ae?ke.pipe((0,o.k)(rt=>rt&&this.skipWhenExpired?Z.clone():Z.clone({setHeaders:{[this.headerName]:`${j}${ae}`}})),(0,f.O)(rt=>_e.handle(rt))):_e.handle(Z)}intercept(ae,Z){if(!this.isAllowedDomain(ae)||this.isDisallowedRoute(ae))return Z.handle(ae);const _e=this.tokenGetter(ae);return B(_e).pipe((0,f.O)(j=>this.handleInterception(j,ae,Z)))}}return oe.\u0275fac=function(ae){return new(ae||oe)(s.CoB(_),s.CoB(I),s.CoB(d.Ud))},oe.\u0275prov=s.wxM({token:oe,factory:oe.\u0275fac}),oe})(),ie=(()=>{class oe{constructor(ae){if(ae)throw new Error("JwtModule is already loaded. It should only be imported in your application's main module.")}static forRoot(ae){return{ngModule:oe,providers:[{provide:y.So,useClass:K,multi:!0},ae.jwtOptionsProvider||{provide:_,useValue:ae.config},I]}}}return oe.\u0275fac=function(ae){return new(ae||oe)(s.CoB(oe,12))},oe.\u0275mod=s.a4G({type:oe}),oe.\u0275inj=s.s3X({}),oe})()},1592:(lt,me,u)=>{"use strict";u.d(me,{O0:()=>_t,_E:()=>ie,eM:()=>Se,qS:()=>Fe,sD:()=>ot});var s=u(2116),d=u(2700),o=u(1116),f=u(9336),l=u(4848),i=u(1424),y=u(3992),_=u(8716),I=u(4704),B=u(6020),K=u(7368);class ie{}let oe=(()=>{class pt extends ie{getTranslation(qe){return(0,d.of)({})}}return pt.\u0275fac=(()=>{let Gt;return function(Je){return(Gt||(Gt=s.otF(pt)))(Je||pt)}})(),pt.\u0275prov=s.wxM({token:pt,factory:pt.\u0275fac}),pt})();class Ge{}let ae=(()=>{class pt{handle(qe){return qe.key}}return pt.\u0275fac=function(qe){return new(qe||pt)},pt.\u0275prov=s.wxM({token:pt,factory:pt.\u0275fac}),pt})();function Z(pt,Gt){if(pt===Gt)return!0;if(null===pt||null===Gt)return!1;if(pt!=pt&&Gt!=Gt)return!0;let ce,Ae,L,qe=typeof pt;if(qe==typeof Gt&&"object"==qe){if(!Array.isArray(pt)){if(Array.isArray(Gt))return!1;for(Ae in L=Object.create(null),pt){if(!Z(pt[Ae],Gt[Ae]))return!1;L[Ae]=!0}for(Ae in Gt)if(!(Ae in L)&&typeof Gt[Ae]<"u")return!1;return!0}if(!Array.isArray(Gt))return!1;if((ce=pt.length)==Gt.length){for(Ae=0;Ae<ce;Ae++)if(!Z(pt[Ae],Gt[Ae]))return!1;return!0}}return!1}function _e(pt){return typeof pt<"u"&&null!==pt}function j(pt){return pt&&"object"==typeof pt&&!Array.isArray(pt)}function ke(pt,Gt){let qe=Object.assign({},pt);return j(pt)&&j(Gt)&&Object.keys(Gt).forEach(Je=>{j(Gt[Je])?Je in pt?qe[Je]=ke(pt[Je],Gt[Je]):Object.assign(qe,{[Je]:Gt[Je]}):Object.assign(qe,{[Je]:Gt[Je]})}),qe}class rt{}let le=(()=>{class pt extends rt{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(qe,Je){let ce;return ce="string"==typeof qe?this.interpolateString(qe,Je):"function"==typeof qe?this.interpolateFunction(qe,Je):qe,ce}getValue(qe,Je){let ce="string"==typeof Je?Je.split("."):[Je];Je="";do{Je+=ce.shift(),!_e(qe)||!_e(qe[Je])||"object"!=typeof qe[Je]&&ce.length?ce.length?Je+=".":qe=void 0:(qe=qe[Je],Je="")}while(ce.length);return qe}interpolateFunction(qe,Je){return qe(Je)}interpolateString(qe,Je){return Je?qe.replace(this.templateMatcher,(ce,Ae)=>{let L=this.getValue(Je,Ae);return _e(L)?L:ce}):qe}}return pt.\u0275fac=(()=>{let Gt;return function(Je){return(Gt||(Gt=s.otF(pt)))(Je||pt)}})(),pt.\u0275prov=s.wxM({token:pt,factory:pt.\u0275fac}),pt})();class ye{}let Y=(()=>{class pt extends ye{compile(qe,Je){return qe}compileTranslations(qe,Je){return qe}}return pt.\u0275fac=(()=>{let Gt;return function(Je){return(Gt||(Gt=s.otF(pt)))(Je||pt)}})(),pt.\u0275prov=s.wxM({token:pt,factory:pt.\u0275fac}),pt})();class g{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new s._w7,this.onLangChange=new s._w7,this.onDefaultLangChange=new s._w7}}const X=new s.UbH("USE_STORE"),V=new s.UbH("USE_DEFAULT_LANG"),te=new s.UbH("DEFAULT_LANGUAGE"),be=new s.UbH("USE_EXTEND");let Fe=(()=>{class pt{constructor(qe,Je,ce,Ae,L,H=!0,de=!1,$e=!1,je){this.store=qe,this.currentLoader=Je,this.compiler=ce,this.parser=Ae,this.missingTranslationHandler=L,this.useDefaultLang=H,this.isolate=de,this.extend=$e,this.pending=!1,this._onTranslationChange=new s._w7,this._onLangChange=new s._w7,this._onDefaultLangChange=new s._w7,this._langs=[],this._translations={},this._translationRequests={},je&&this.setDefaultLang(je)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(qe){this.isolate?this._defaultLang=qe:this.store.defaultLang=qe}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(qe){this.isolate?this._currentLang=qe:this.store.currentLang=qe}get langs(){return this.isolate?this._langs:this.store.langs}set langs(qe){this.isolate?this._langs=qe:this.store.langs=qe}get translations(){return this.isolate?this._translations:this.store.translations}set translations(qe){this.isolate?this._translations=qe:this.store.translations=qe}setDefaultLang(qe){if(qe===this.defaultLang)return;let Je=this.retrieveTranslations(qe);typeof Je<"u"?(null==this.defaultLang&&(this.defaultLang=qe),Je.pipe((0,y.U)(1)).subscribe(ce=>{this.changeDefaultLang(qe)})):this.changeDefaultLang(qe)}getDefaultLang(){return this.defaultLang}use(qe){if(qe===this.currentLang)return(0,d.of)(this.translations[qe]);let Je=this.retrieveTranslations(qe);return typeof Je<"u"?(this.currentLang||(this.currentLang=qe),Je.pipe((0,y.U)(1)).subscribe(ce=>{this.changeLang(qe)}),Je):(this.changeLang(qe),(0,d.of)(this.translations[qe]))}retrieveTranslations(qe){let Je;return(typeof this.translations[qe]>"u"||this.extend)&&(this._translationRequests[qe]=this._translationRequests[qe]||this.getTranslation(qe),Je=this._translationRequests[qe]),Je}getTranslation(qe){this.pending=!0;const Je=this.currentLoader.getTranslation(qe).pipe((0,_.C)(1),(0,y.U)(1));return this.loadingTranslations=Je.pipe((0,I.k)(ce=>this.compiler.compileTranslations(ce,qe)),(0,_.C)(1),(0,y.U)(1)),this.loadingTranslations.subscribe({next:ce=>{this.translations[qe]=this.extend&&this.translations[qe]?{...ce,...this.translations[qe]}:ce,this.updateLangs(),this.pending=!1},error:ce=>{this.pending=!1}}),Je}setTranslation(qe,Je,ce=!1){Je=this.compiler.compileTranslations(Je,qe),this.translations[qe]=(ce||this.extend)&&this.translations[qe]?ke(this.translations[qe],Je):Je,this.updateLangs(),this.onTranslationChange.emit({lang:qe,translations:this.translations[qe]})}getLangs(){return this.langs}addLangs(qe){qe.forEach(Je=>{-1===this.langs.indexOf(Je)&&this.langs.push(Je)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(qe,Je,ce){let Ae;if(Je instanceof Array){let L={},H=!1;for(let de of Je)L[de]=this.getParsedResult(qe,de,ce),(0,o.X)(L[de])&&(H=!0);if(H){const de=Je.map($e=>(0,o.X)(L[$e])?L[$e]:(0,d.of)(L[$e]));return(0,f.y)(de).pipe((0,I.k)($e=>{let je={};return $e.forEach((dt,Et)=>{je[Je[Et]]=dt}),je}))}return L}if(qe&&(Ae=this.parser.interpolate(this.parser.getValue(qe,Je),ce)),typeof Ae>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(Ae=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],Je),ce)),typeof Ae>"u"){let L={key:Je,translateService:this};typeof ce<"u"&&(L.interpolateParams=ce),Ae=this.missingTranslationHandler.handle(L)}return typeof Ae<"u"?Ae:Je}get(qe,Je){if(!_e(qe)||!qe.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,B.m)(ce=>(ce=this.getParsedResult(ce,qe,Je),(0,o.X)(ce)?ce:(0,d.of)(ce))));{let ce=this.getParsedResult(this.translations[this.currentLang],qe,Je);return(0,o.X)(ce)?ce:(0,d.of)(ce)}}getStreamOnTranslationChange(qe,Je){if(!_e(qe)||!qe.length)throw new Error('Parameter "key" required');return(0,l.W)((0,i.Q)(()=>this.get(qe,Je)),this.onTranslationChange.pipe((0,K.G)(ce=>{const Ae=this.getParsedResult(ce.translations,qe,Je);return"function"==typeof Ae.subscribe?Ae:(0,d.of)(Ae)})))}stream(qe,Je){if(!_e(qe)||!qe.length)throw new Error('Parameter "key" required');return(0,l.W)((0,i.Q)(()=>this.get(qe,Je)),this.onLangChange.pipe((0,K.G)(ce=>{const Ae=this.getParsedResult(ce.translations,qe,Je);return(0,o.X)(Ae)?Ae:(0,d.of)(Ae)})))}instant(qe,Je){if(!_e(qe)||!qe.length)throw new Error('Parameter "key" required');let ce=this.getParsedResult(this.translations[this.currentLang],qe,Je);if((0,o.X)(ce)){if(qe instanceof Array){let Ae={};return qe.forEach((L,H)=>{Ae[qe[H]]=qe[H]}),Ae}return qe}return ce}set(qe,Je,ce=this.currentLang){this.translations[ce][qe]=this.compiler.compile(Je,ce),this.updateLangs(),this.onTranslationChange.emit({lang:ce,translations:this.translations[ce]})}changeLang(qe){this.currentLang=qe,this.onLangChange.emit({lang:qe,translations:this.translations[qe]}),null==this.defaultLang&&this.changeDefaultLang(qe)}changeDefaultLang(qe){this.defaultLang=qe,this.onDefaultLangChange.emit({lang:qe,translations:this.translations[qe]})}reloadLang(qe){return this.resetLang(qe),this.getTranslation(qe)}resetLang(qe){this._translationRequests[qe]=void 0,this.translations[qe]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let qe=window.navigator.languages?window.navigator.languages[0]:null;return qe=qe||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof qe>"u"?void 0:(-1!==qe.indexOf("-")&&(qe=qe.split("-")[0]),-1!==qe.indexOf("_")&&(qe=qe.split("_")[0]),qe)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let qe=window.navigator.languages?window.navigator.languages[0]:null;return qe=qe||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,qe}}return pt.\u0275fac=function(qe){return new(qe||pt)(s.CoB(g),s.CoB(ie),s.CoB(ye),s.CoB(rt),s.CoB(Ge),s.CoB(V),s.CoB(X),s.CoB(be),s.CoB(te))},pt.\u0275prov=s.wxM({token:pt,factory:pt.\u0275fac}),pt})(),Se=(()=>{class pt{constructor(qe,Je,ce){this.translateService=qe,this.element=Je,this._ref=ce,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(Ae=>{Ae.lang===this.translateService.currentLang&&this.checkNodes(!0,Ae.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(Ae=>{this.checkNodes(!0,Ae.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(Ae=>{this.checkNodes(!0)}))}set translate(qe){qe&&(this.key=qe,this.checkNodes())}set translateParams(qe){Z(this.currentParams,qe)||(this.currentParams=qe,this.checkNodes(!0))}ngAfterViewChecked(){this.checkNodes()}checkNodes(qe=!1,Je){let ce=this.element.nativeElement.childNodes;ce.length||(this.setContent(this.element.nativeElement,this.key),ce=this.element.nativeElement.childNodes);for(let Ae=0;Ae<ce.length;++Ae){let L=ce[Ae];if(3===L.nodeType){let H;if(qe&&(L.lastKey=null),_e(L.lookupKey))H=L.lookupKey;else if(this.key)H=this.key;else{let de=this.getContent(L),$e=de.trim();$e.length&&(L.lookupKey=$e,de!==L.currentValue?(H=$e,L.originalContent=de||L.originalContent):L.originalContent?H=L.originalContent.trim():de!==L.currentValue&&(H=$e,L.originalContent=de||L.originalContent))}this.updateValue(H,L,Je)}}}updateValue(qe,Je,ce){if(qe){if(Je.lastKey===qe&&this.lastParams===this.currentParams)return;this.lastParams=this.currentParams;let Ae=L=>{L!==qe&&(Je.lastKey=qe),Je.originalContent||(Je.originalContent=this.getContent(Je)),Je.currentValue=_e(L)?L:Je.originalContent||qe,this.setContent(Je,this.key?Je.currentValue:Je.originalContent.replace(qe,Je.currentValue)),this._ref.markForCheck()};if(_e(ce)){let L=this.translateService.getParsedResult(ce,qe,this.currentParams);(0,o.X)(L)?L.subscribe({next:Ae}):Ae(L)}else this.translateService.get(qe,this.currentParams).subscribe(Ae)}}getContent(qe){return _e(qe.textContent)?qe.textContent:qe.data}setContent(qe,Je){_e(qe.textContent)?qe.textContent=Je:qe.data=Je}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}}return pt.\u0275fac=function(qe){return new(qe||pt)(s.GI1(Fe),s.GI1(s.GMv),s.GI1(s.kD9))},pt.\u0275dir=s.Sc5({type:pt,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"}}),pt})(),ot=(()=>{class pt{constructor(qe,Je){this.translate=qe,this._ref=Je,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(qe,Je,ce){let Ae=L=>{this.value=void 0!==L?L:qe,this.lastKey=qe,this._ref.markForCheck()};if(ce){let L=this.translate.getParsedResult(ce,qe,Je);(0,o.X)(L.subscribe)?L.subscribe(Ae):Ae(L)}this.translate.get(qe,Je).subscribe(Ae)}transform(qe,...Je){if(!qe||!qe.length)return qe;if(Z(qe,this.lastKey)&&Z(Je,this.lastParams))return this.value;let ce;if(_e(Je[0])&&Je.length)if("string"==typeof Je[0]&&Je[0].length){let Ae=Je[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{ce=JSON.parse(Ae)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${Je[0]}`)}}else"object"==typeof Je[0]&&!Array.isArray(Je[0])&&(ce=Je[0]);return this.lastKey=qe,this.lastParams=Je,this.updateValue(qe,ce),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(Ae=>{this.lastKey&&Ae.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(qe,ce,Ae.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(Ae=>{this.lastKey&&(this.lastKey=null,this.updateValue(qe,ce,Ae.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(qe,ce))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return pt.\u0275fac=function(qe){return new(qe||pt)(s.GI1(Fe,16),s.GI1(s.kD9,16))},pt.\u0275pipe=s.UTH({name:"translate",type:pt,pure:!1}),pt.\u0275prov=s.wxM({token:pt,factory:pt.\u0275fac}),pt})(),_t=(()=>{class pt{static forRoot(qe={}){return{ngModule:pt,providers:[qe.loader||{provide:ie,useClass:oe},qe.compiler||{provide:ye,useClass:Y},qe.parser||{provide:rt,useClass:le},qe.missingTranslationHandler||{provide:Ge,useClass:ae},g,{provide:X,useValue:qe.isolate},{provide:V,useValue:qe.useDefaultLang},{provide:be,useValue:qe.extend},{provide:te,useValue:qe.defaultLanguage},Fe]}}static forChild(qe={}){return{ngModule:pt,providers:[qe.loader||{provide:ie,useClass:oe},qe.compiler||{provide:ye,useClass:Y},qe.parser||{provide:rt,useClass:le},qe.missingTranslationHandler||{provide:Ge,useClass:ae},{provide:X,useValue:qe.isolate},{provide:V,useValue:qe.useDefaultLang},{provide:be,useValue:qe.extend},{provide:te,useValue:qe.defaultLanguage},Fe]}}}return pt.\u0275fac=function(qe){return new(qe||pt)},pt.\u0275mod=s.a4G({type:pt}),pt.\u0275inj=s.s3X({}),pt})()},9752:(lt,me,u)=>{"use strict";u.d(me,{ExB:()=>Uc,ED_:()=>_s,cZ0:()=>vs});var s=u(2116),d=u(5657);const o={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function l(p){return(Qe={})=>{const k=Qe.width?String(Qe.width):p.defaultWidth;return p.formats[k]||p.formats[p.defaultWidth]}}const I={date:l({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:l({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:l({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},B={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function ie(p){return(Qe,k)=>{let _n;if("formatting"===(k?.context?String(k.context):"standalone")&&p.formattingValues){const jr=p.defaultFormattingWidth||p.defaultWidth,xs=k?.width?String(k.width):jr;_n=p.formattingValues[xs]||p.formattingValues[jr]}else{const jr=p.defaultWidth,xs=k?.width?String(k.width):p.defaultWidth;_n=p.values[xs]||p.values[jr]}return _n[p.argumentCallback?p.argumentCallback(Qe):Qe]}}function le(p){return(Qe,k={})=>{const O=k.width,xi=Qe.match(O&&p.matchPatterns[O]||p.matchPatterns[p.defaultMatchWidth]);if(!xi)return null;const jr=xi[0],xs=O&&p.parsePatterns[O]||p.parsePatterns[p.defaultParseWidth],Qo=Array.isArray(xs)?function Y(p,Qe){for(let k=0;k<p.length;k++)if(Qe(p[k]))return k}(xs,Ds=>Ds.test(jr)):function ye(p,Qe){for(const k in p)if(Object.prototype.hasOwnProperty.call(p,k)&&Qe(p[k]))return k}(xs,Ds=>Ds.test(jr));let Zo;return Zo=p.valueCallback?p.valueCallback(Qo):Qo,Zo=k.valueCallback?k.valueCallback(Zo):Zo,{value:Zo,rest:Qe.slice(jr.length)}}}const Ae={code:"en-US",formatDistance:(p,Qe,k)=>{let O;const _n=o[p];return O="string"==typeof _n?_n:1===Qe?_n.one:_n.other.replace("{{count}}",Qe.toString()),k?.addSuffix?k.comparison&&k.comparison>0?"in "+O:O+" ago":O},formatLong:I,formatRelative:(p,Qe,k,O)=>B[p],localize:{ordinalNumber:(p,Qe)=>{const k=Number(p),O=k%100;if(O>20||O<10)switch(O%10){case 1:return k+"st";case 2:return k+"nd";case 3:return k+"rd"}return k+"th"},era:ie({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:ie({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:p=>p-1}),month:ie({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:ie({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:ie({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:function g(p){return(Qe,k={})=>{const O=Qe.match(p.matchPattern);if(!O)return null;const _n=O[0],xi=Qe.match(p.parsePattern);if(!xi)return null;let jr=p.valueCallback?p.valueCallback(xi[0]):xi[0];return jr=k.valueCallback?k.valueCallback(jr):jr,{value:jr,rest:Qe.slice(_n.length)}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:p=>parseInt(p,10)}),era:le({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:le({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:p=>p+1}),month:le({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:le({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:le({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};let H={};function de(){return H}Math.pow(10,8);const Xe=6048e5;function bn(p){const Qe=Object.prototype.toString.call(p);return p instanceof Date||"object"==typeof p&&"[object Date]"===Qe?new p.constructor(+p):"number"==typeof p||"[object Number]"===Qe||"string"==typeof p||"[object String]"===Qe?new Date(p):new Date(NaN)}function jn(p){const Qe=bn(p);return Qe.setHours(0,0,0,0),Qe}function kn(p){const Qe=bn(p),k=new Date(Date.UTC(Qe.getFullYear(),Qe.getMonth(),Qe.getDate(),Qe.getHours(),Qe.getMinutes(),Qe.getSeconds(),Qe.getMilliseconds()));return k.setUTCFullYear(Qe.getFullYear()),+p-+k}function ti(p,Qe){return p instanceof Date?new p.constructor(Qe):new Date(Qe)}function We(p,Qe){const k=de(),O=Qe?.weekStartsOn??Qe?.locale?.options?.weekStartsOn??k.weekStartsOn??k.locale?.options?.weekStartsOn??0,_n=bn(p),xi=_n.getDay(),jr=(xi<O?7:0)+xi-O;return _n.setDate(_n.getDate()-jr),_n.setHours(0,0,0,0),_n}function fe(p){return We(p,{weekStartsOn:1})}function Ce(p){const Qe=bn(p),k=Qe.getFullYear(),O=ti(p,0);O.setFullYear(k+1,0,4),O.setHours(0,0,0,0);const _n=fe(O),xi=ti(p,0);xi.setFullYear(k,0,4),xi.setHours(0,0,0,0);const jr=fe(xi);return Qe.getTime()>=_n.getTime()?k+1:Qe.getTime()>=jr.getTime()?k:k-1}function jt(p,Qe){const k=bn(p),O=k.getFullYear(),_n=de(),xi=Qe?.firstWeekContainsDate??Qe?.locale?.options?.firstWeekContainsDate??_n.firstWeekContainsDate??_n.locale?.options?.firstWeekContainsDate??1,jr=ti(p,0);jr.setFullYear(O+1,0,xi),jr.setHours(0,0,0,0);const xs=We(jr,Qe),Qo=ti(p,0);Qo.setFullYear(O,0,xi),Qo.setHours(0,0,0,0);const Zo=We(Qo,Qe);return k.getTime()>=xs.getTime()?O+1:k.getTime()>=Zo.getTime()?O:O-1}function ln(p,Qe){return(p<0?"-":"")+Math.abs(p).toString().padStart(Qe,"0")}const ni={y(p,Qe){const k=p.getFullYear(),O=k>0?k:1-k;return ln("yy"===Qe?O%100:O,Qe.length)},M(p,Qe){const k=p.getMonth();return"M"===Qe?String(k+1):ln(k+1,2)},d:(p,Qe)=>ln(p.getDate(),Qe.length),a(p,Qe){const k=p.getHours()/12>=1?"pm":"am";switch(Qe){case"a":case"aa":return k.toUpperCase();case"aaa":return k;case"aaaaa":return k[0];default:return"am"===k?"a.m.":"p.m."}},h:(p,Qe)=>ln(p.getHours()%12||12,Qe.length),H:(p,Qe)=>ln(p.getHours(),Qe.length),m:(p,Qe)=>ln(p.getMinutes(),Qe.length),s:(p,Qe)=>ln(p.getSeconds(),Qe.length),S(p,Qe){const k=Qe.length,O=p.getMilliseconds();return ln(Math.trunc(O*Math.pow(10,k-3)),Qe.length)}},Er={G:function(p,Qe,k){const O=p.getFullYear()>0?1:0;switch(Qe){case"G":case"GG":case"GGG":return k.era(O,{width:"abbreviated"});case"GGGGG":return k.era(O,{width:"narrow"});default:return k.era(O,{width:"wide"})}},y:function(p,Qe,k){if("yo"===Qe){const O=p.getFullYear();return k.ordinalNumber(O>0?O:1-O,{unit:"year"})}return ni.y(p,Qe)},Y:function(p,Qe,k,O){const _n=jt(p,O),xi=_n>0?_n:1-_n;return"YY"===Qe?ln(xi%100,2):"Yo"===Qe?k.ordinalNumber(xi,{unit:"year"}):ln(xi,Qe.length)},R:function(p,Qe){return ln(Ce(p),Qe.length)},u:function(p,Qe){return ln(p.getFullYear(),Qe.length)},Q:function(p,Qe,k){const O=Math.ceil((p.getMonth()+1)/3);switch(Qe){case"Q":return String(O);case"QQ":return ln(O,2);case"Qo":return k.ordinalNumber(O,{unit:"quarter"});case"QQQ":return k.quarter(O,{width:"abbreviated",context:"formatting"});case"QQQQQ":return k.quarter(O,{width:"narrow",context:"formatting"});default:return k.quarter(O,{width:"wide",context:"formatting"})}},q:function(p,Qe,k){const O=Math.ceil((p.getMonth()+1)/3);switch(Qe){case"q":return String(O);case"qq":return ln(O,2);case"qo":return k.ordinalNumber(O,{unit:"quarter"});case"qqq":return k.quarter(O,{width:"abbreviated",context:"standalone"});case"qqqqq":return k.quarter(O,{width:"narrow",context:"standalone"});default:return k.quarter(O,{width:"wide",context:"standalone"})}},M:function(p,Qe,k){const O=p.getMonth();switch(Qe){case"M":case"MM":return ni.M(p,Qe);case"Mo":return k.ordinalNumber(O+1,{unit:"month"});case"MMM":return k.month(O,{width:"abbreviated",context:"formatting"});case"MMMMM":return k.month(O,{width:"narrow",context:"formatting"});default:return k.month(O,{width:"wide",context:"formatting"})}},L:function(p,Qe,k){const O=p.getMonth();switch(Qe){case"L":return String(O+1);case"LL":return ln(O+1,2);case"Lo":return k.ordinalNumber(O+1,{unit:"month"});case"LLL":return k.month(O,{width:"abbreviated",context:"standalone"});case"LLLLL":return k.month(O,{width:"narrow",context:"standalone"});default:return k.month(O,{width:"wide",context:"standalone"})}},w:function(p,Qe,k,O){const _n=function Fn(p,Qe){const k=bn(p),O=+We(k,Qe)-+function Cn(p,Qe){const k=de(),O=Qe?.firstWeekContainsDate??Qe?.locale?.options?.firstWeekContainsDate??k.firstWeekContainsDate??k.locale?.options?.firstWeekContainsDate??1,_n=jt(p,Qe),xi=ti(p,0);return xi.setFullYear(_n,0,O),xi.setHours(0,0,0,0),We(xi,Qe)}(k,Qe);return Math.round(O/Xe)+1}(p,O);return"wo"===Qe?k.ordinalNumber(_n,{unit:"week"}):ln(_n,Qe.length)},I:function(p,Qe,k){const O=function it(p){const Qe=bn(p),k=+fe(Qe)-+function at(p){const Qe=Ce(p),k=ti(p,0);return k.setFullYear(Qe,0,4),k.setHours(0,0,0,0),fe(k)}(Qe);return Math.round(k/Xe)+1}(p);return"Io"===Qe?k.ordinalNumber(O,{unit:"week"}):ln(O,Qe.length)},d:function(p,Qe,k){return"do"===Qe?k.ordinalNumber(p.getDate(),{unit:"date"}):ni.d(p,Qe)},D:function(p,Qe,k){const O=function en(p){const Qe=bn(p);return function Ln(p,Qe){const k=jn(p),O=jn(Qe),_n=+k-kn(k),xi=+O-kn(O);return Math.round((_n-xi)/864e5)}(Qe,function Nt(p){const Qe=bn(p),k=ti(p,0);return k.setFullYear(Qe.getFullYear(),0,1),k.setHours(0,0,0,0),k}(Qe))+1}(p);return"Do"===Qe?k.ordinalNumber(O,{unit:"dayOfYear"}):ln(O,Qe.length)},E:function(p,Qe,k){const O=p.getDay();switch(Qe){case"E":case"EE":case"EEE":return k.day(O,{width:"abbreviated",context:"formatting"});case"EEEEE":return k.day(O,{width:"narrow",context:"formatting"});case"EEEEEE":return k.day(O,{width:"short",context:"formatting"});default:return k.day(O,{width:"wide",context:"formatting"})}},e:function(p,Qe,k,O){const _n=p.getDay(),xi=(_n-O.weekStartsOn+8)%7||7;switch(Qe){case"e":return String(xi);case"ee":return ln(xi,2);case"eo":return k.ordinalNumber(xi,{unit:"day"});case"eee":return k.day(_n,{width:"abbreviated",context:"formatting"});case"eeeee":return k.day(_n,{width:"narrow",context:"formatting"});case"eeeeee":return k.day(_n,{width:"short",context:"formatting"});default:return k.day(_n,{width:"wide",context:"formatting"})}},c:function(p,Qe,k,O){const _n=p.getDay(),xi=(_n-O.weekStartsOn+8)%7||7;switch(Qe){case"c":return String(xi);case"cc":return ln(xi,Qe.length);case"co":return k.ordinalNumber(xi,{unit:"day"});case"ccc":return k.day(_n,{width:"abbreviated",context:"standalone"});case"ccccc":return k.day(_n,{width:"narrow",context:"standalone"});case"cccccc":return k.day(_n,{width:"short",context:"standalone"});default:return k.day(_n,{width:"wide",context:"standalone"})}},i:function(p,Qe,k){const O=p.getDay(),_n=0===O?7:O;switch(Qe){case"i":return String(_n);case"ii":return ln(_n,Qe.length);case"io":return k.ordinalNumber(_n,{unit:"day"});case"iii":return k.day(O,{width:"abbreviated",context:"formatting"});case"iiiii":return k.day(O,{width:"narrow",context:"formatting"});case"iiiiii":return k.day(O,{width:"short",context:"formatting"});default:return k.day(O,{width:"wide",context:"formatting"})}},a:function(p,Qe,k){const _n=p.getHours()/12>=1?"pm":"am";switch(Qe){case"a":case"aa":return k.dayPeriod(_n,{width:"abbreviated",context:"formatting"});case"aaa":return k.dayPeriod(_n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return k.dayPeriod(_n,{width:"narrow",context:"formatting"});default:return k.dayPeriod(_n,{width:"wide",context:"formatting"})}},b:function(p,Qe,k){const O=p.getHours();let _n;switch(_n=12===O?"noon":0===O?"midnight":O/12>=1?"pm":"am",Qe){case"b":case"bb":return k.dayPeriod(_n,{width:"abbreviated",context:"formatting"});case"bbb":return k.dayPeriod(_n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return k.dayPeriod(_n,{width:"narrow",context:"formatting"});default:return k.dayPeriod(_n,{width:"wide",context:"formatting"})}},B:function(p,Qe,k){const O=p.getHours();let _n;switch(_n=O>=17?"evening":O>=12?"afternoon":O>=4?"morning":"night",Qe){case"B":case"BB":case"BBB":return k.dayPeriod(_n,{width:"abbreviated",context:"formatting"});case"BBBBB":return k.dayPeriod(_n,{width:"narrow",context:"formatting"});default:return k.dayPeriod(_n,{width:"wide",context:"formatting"})}},h:function(p,Qe,k){if("ho"===Qe){let O=p.getHours()%12;return 0===O&&(O=12),k.ordinalNumber(O,{unit:"hour"})}return ni.h(p,Qe)},H:function(p,Qe,k){return"Ho"===Qe?k.ordinalNumber(p.getHours(),{unit:"hour"}):ni.H(p,Qe)},K:function(p,Qe,k){const O=p.getHours()%12;return"Ko"===Qe?k.ordinalNumber(O,{unit:"hour"}):ln(O,Qe.length)},k:function(p,Qe,k){let O=p.getHours();return 0===O&&(O=24),"ko"===Qe?k.ordinalNumber(O,{unit:"hour"}):ln(O,Qe.length)},m:function(p,Qe,k){return"mo"===Qe?k.ordinalNumber(p.getMinutes(),{unit:"minute"}):ni.m(p,Qe)},s:function(p,Qe,k){return"so"===Qe?k.ordinalNumber(p.getSeconds(),{unit:"second"}):ni.s(p,Qe)},S:function(p,Qe){return ni.S(p,Qe)},X:function(p,Qe,k){const O=p.getTimezoneOffset();if(0===O)return"Z";switch(Qe){case"X":return Mi(O);case"XXXX":case"XX":return qn(O);default:return qn(O,":")}},x:function(p,Qe,k){const O=p.getTimezoneOffset();switch(Qe){case"x":return Mi(O);case"xxxx":case"xx":return qn(O);default:return qn(O,":")}},O:function(p,Qe,k){const O=p.getTimezoneOffset();switch(Qe){case"O":case"OO":case"OOO":return"GMT"+Vr(O,":");default:return"GMT"+qn(O,":")}},z:function(p,Qe,k){const O=p.getTimezoneOffset();switch(Qe){case"z":case"zz":case"zzz":return"GMT"+Vr(O,":");default:return"GMT"+qn(O,":")}},t:function(p,Qe,k){return ln(Math.trunc(p.getTime()/1e3),Qe.length)},T:function(p,Qe,k){return ln(p.getTime(),Qe.length)}};function Vr(p,Qe=""){const k=p>0?"-":"+",O=Math.abs(p),_n=Math.trunc(O/60),xi=O%60;return 0===xi?k+String(_n):k+String(_n)+Qe+ln(xi,2)}function Mi(p,Qe){return p%60==0?(p>0?"-":"+")+ln(Math.abs(p)/60,2):qn(p,Qe)}function qn(p,Qe=""){const k=p>0?"-":"+",O=Math.abs(p);return k+ln(Math.trunc(O/60),2)+Qe+ln(O%60,2)}const ls=(p,Qe)=>{switch(p){case"P":return Qe.date({width:"short"});case"PP":return Qe.date({width:"medium"});case"PPP":return Qe.date({width:"long"});default:return Qe.date({width:"full"})}},ur=(p,Qe)=>{switch(p){case"p":return Qe.time({width:"short"});case"pp":return Qe.time({width:"medium"});case"ppp":return Qe.time({width:"long"});default:return Qe.time({width:"full"})}},ds={p:ur,P:(p,Qe)=>{const k=p.match(/(P+)(p+)?/)||[],O=k[1],_n=k[2];if(!_n)return ls(p,Qe);let xi;switch(O){case"P":xi=Qe.dateTime({width:"short"});break;case"PP":xi=Qe.dateTime({width:"medium"});break;case"PPP":xi=Qe.dateTime({width:"long"});break;default:xi=Qe.dateTime({width:"full"})}return xi.replace("{{date}}",ls(O,Qe)).replace("{{time}}",ur(_n,Qe))}},Tr=/^D+$/,wr=/^Y+$/,Qr=["D","DD","YY","YYYY"];function In(p){if(!function nn(p){return p instanceof Date||"object"==typeof p&&"[object Date]"===Object.prototype.toString.call(p)}(p)&&"number"!=typeof p)return!1;const Qe=bn(p);return!isNaN(Number(Qe))}const Kn=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Wn=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ii=/^'([^]*?)'?$/,ii=/''/g,ui=/[a-zA-Z]/;function Xi(p){const Qe=p.match(Ii);return Qe?Qe[1].replace(ii,"'"):p}let Ui=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),dr=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Br=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),oi=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Zs=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Or=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Gs=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),ci=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Ms=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Is=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),gs=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),xr=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Zr=(()=>{class p{constructor(){this.localeChanged=new d.E}locale(){return this.locale$}setLocale(k){this.locale$=k,this.localeChanged.next()}static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275prov=s.wxM({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})(),_s=(()=>{class p{constructor(k,O){this.config=k,this.cd=O,this.localeChanged$=this.config.localeChanged.subscribe(_n=>this.cd.markForCheck())}ngOnDestroy(){this.localeChanged$.unsubscribe()}transform(k,O,_n){return(p=>!(null==p||!In(p)))(k)?function Ai(p,Qe,k){const O=de(),_n=k?.locale??O.locale??Ae,xi=k?.firstWeekContainsDate??k?.locale?.options?.firstWeekContainsDate??O.firstWeekContainsDate??O.locale?.options?.firstWeekContainsDate??1,jr=k?.weekStartsOn??k?.locale?.options?.weekStartsOn??O.weekStartsOn??O.locale?.options?.weekStartsOn??0,xs=bn(p);if(!In(xs))throw new RangeError("Invalid time value");let Qo=Qe.match(Wn).map(lo=>{const Ds=lo[0];return"p"===Ds||"P"===Ds?(0,ds[Ds])(lo,_n.formatLong):lo}).join("").match(Kn).map(lo=>{if("''"===lo)return{isToken:!1,value:"'"};const Ds=lo[0];if("'"===Ds)return{isToken:!1,value:Xi(lo)};if(Er[Ds])return{isToken:!0,value:lo};if(Ds.match(ui))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Ds+"`");return{isToken:!1,value:lo}});_n.localize.preprocessor&&(Qo=_n.localize.preprocessor(xs,Qo));const Zo={firstWeekContainsDate:xi,weekStartsOn:jr,locale:_n};return Qo.map(lo=>{if(!lo.isToken)return lo.value;const Ds=lo.value;return(!k?.useAdditionalWeekYearTokens&&function xt(p){return wr.test(p)}(Ds)||!k?.useAdditionalDayOfYearTokens&&function ht(p){return Tr.test(p)}(Ds))&&function At(p,Qe,k){const O=function hn(p,Qe,k){const O="Y"===p[0]?"years":"days of the month";return`Use \`${p.toLowerCase()}\` instead of \`${p}\` (in \`${Qe}\`) for formatting ${O} to the input \`${k}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(p,Qe,k);if(console.warn(O),Qr.includes(p))throw new RangeError(O)}(Ds,Qe,String(p)),(0,Er[Ds[0]])(xs,Ds,_n.localize,Zo)}).join("")}(k,O,((p,Qe)=>{const k=this.config.locale();return!p&&k?{locale:k}:p&&!p.locale&&k?{...p,locale:k}:p})(_n)):""}static#e=this.\u0275fac=function(O){return new(O||p)(s.GI1(Zr,16),s.GI1(s.kD9,16))};static#t=this.\u0275pipe=s.UTH({name:"dfnsFormat",type:p,pure:!1})}return p})(),vs=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Ts=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Sr=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Jr=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),cs=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),qr=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Os=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),as=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Es=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Ar=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),m=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),G=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),we=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Ze=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),ue=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Pe=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),ft=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),En=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Sn=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Si=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Ki=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Mr=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),or=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),he=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),$=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),kt=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),ze=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),R=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Ue=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Lt=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Xt=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Gn=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Pi=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),ri=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Fi=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),ir=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),yr=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Ji=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),ji=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Us=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),br=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Ht=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Wt=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),fn=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Hn=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),pi=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Nn=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),si=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Cr=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),$r=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Bs=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),ho=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),No=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),oo=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Bo=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),qo=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Js=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),vo=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Ve=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),ge=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),on=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),ei=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),_r=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Gi=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),lr=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Ri=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),li=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Kr=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Ur=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),kr=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),fs=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),po=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Ps=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Io=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),ao=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),$o=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Go=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),ki=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Oo=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),rn=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),St=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),tt=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),cn=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Tn=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),tr=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),ps=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),js=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Vo=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),ka=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Ml=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),U=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),W=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),nt=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),an=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Qn=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Yi=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),ta=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Yo=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),yo=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Ec=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Il=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),qa=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Po=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),el=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Gu=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),La=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Ys=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),ca=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),eo=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),na=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),bo=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Sl=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Na=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),da=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Ba=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Li=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Ic=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Co=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),il=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Tl=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Ol=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Pl=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),rr=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),rl=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),sl=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Eo=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Ga=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Pc=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Xs=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),xo=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),ol=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),al=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Va=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Ma=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),ll=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),cl=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),ul=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Ua=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Xr=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Ll=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Fl=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),dl=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Do=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Ia=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Sa=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),hl=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),fl=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),$a=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),C=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),c=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),S=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Dt=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Mn=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Jn=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),ys=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),ws=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),go=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Gc=(()=>{class p{static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({})}return p})(),Uc=(()=>{class p{static forRoot(){return{ngModule:p,providers:[Zr]}}static#e=this.\u0275fac=function(O){return new(O||p)};static#t=this.\u0275mod=s.a4G({type:p});static#n=this.\u0275inj=s.s3X({imports:[Ui,dr,Br,oi,Zs,Or,Gs,ci,Ms,Is,gs,xr,vs,Ts,Sr,Jr,cs,Ys,qr,Os,as,Es,Ar,m,G,we,Ze,ue,Pe,ft,En,Sn,Si,Ki,Mr,or,he,$,ze,kt,R,Ue,Lt,Xt,Gn,Pi,ri,Fi,ir,yr,Ji,ji,Us,br,Ht,Wt,fn,Hn,ca,pi,Nn,si,Cr,$r,Bs,ho,oo,No,Bo,qo,Js,vo,Ve,ge,on,ei,_r,Gi,lr,Ri,li,Kr,Ur,kr,fs,po,Ps,Io,ao,$o,Go,ki,Oo,rn,St,tt,cn,Tn,tr,ps,js,Vo,ka,Ml,U,W,nt,an,Qn,Yi,ta,Yo,yo,Ec,Il,qa,Po,rl,sl,Eo,Ga,Pc,Xs,xo,ol,al,Ma,Va,ll,cl,ul,Ua,Xr,Ll,Fl,dl,Do,Ia,Sa,hl,fl,$a,C,c,S,Dt,Mn,Jn,el,Gu,La,eo,ys,na,bo,Sl,ws,Na,da,Ba,Li,Ic,Co,il,Tl,Ol,rr,Pl,go,Gc]})}return p})()},5184:(lt,me,u)=>{"use strict";u.d(me,{Go:()=>_e,MV:()=>ae,U3:()=>j,Yh:()=>oe,ek:()=>Z,kT:()=>ke,qe:()=>rt,qy:()=>K});var s=u(2116),d=u(5657),o=u(4616),f=u(1368);const l=["*"];let I=(()=>class ye{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static IN="in";static LESS_THAN="lt";static LESS_THAN_OR_EQUAL_TO="lte";static GREATER_THAN="gt";static GREATER_THAN_OR_EQUAL_TO="gte";static BETWEEN="between";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static DATE_IS="dateIs";static DATE_IS_NOT="dateIsNot";static DATE_BEFORE="dateBefore";static DATE_AFTER="dateAfter"})(),K=(()=>{class ye{filter(g,X,V,te,be){let Fe=[];if(g)for(let Se of g)for(let ot of X){let _t=o.Yv.resolveFieldData(Se,ot);if(this.filters[te](_t,V,be)){Fe.push(Se);break}}return Fe}filters={startsWith:(g,X,V)=>{if(null==X||""===X.trim())return!0;if(null==g)return!1;let te=o.Yv.removeAccents(X.toString()).toLocaleLowerCase(V);return o.Yv.removeAccents(g.toString()).toLocaleLowerCase(V).slice(0,te.length)===te},contains:(g,X,V)=>{if(null==X||"string"==typeof X&&""===X.trim())return!0;if(null==g)return!1;let te=o.Yv.removeAccents(X.toString()).toLocaleLowerCase(V);return-1!==o.Yv.removeAccents(g.toString()).toLocaleLowerCase(V).indexOf(te)},notContains:(g,X,V)=>{if(null==X||"string"==typeof X&&""===X.trim())return!0;if(null==g)return!1;let te=o.Yv.removeAccents(X.toString()).toLocaleLowerCase(V);return-1===o.Yv.removeAccents(g.toString()).toLocaleLowerCase(V).indexOf(te)},endsWith:(g,X,V)=>{if(null==X||""===X.trim())return!0;if(null==g)return!1;let te=o.Yv.removeAccents(X.toString()).toLocaleLowerCase(V),be=o.Yv.removeAccents(g.toString()).toLocaleLowerCase(V);return-1!==be.indexOf(te,be.length-te.length)},equals:(g,X,V)=>null==X||"string"==typeof X&&""===X.trim()||null!=g&&(g.getTime&&X.getTime?g.getTime()===X.getTime():o.Yv.removeAccents(g.toString()).toLocaleLowerCase(V)==o.Yv.removeAccents(X.toString()).toLocaleLowerCase(V)),notEquals:(g,X,V)=>!(null==X||"string"==typeof X&&""===X.trim()||null!=g&&(g.getTime&&X.getTime?g.getTime()===X.getTime():o.Yv.removeAccents(g.toString()).toLocaleLowerCase(V)==o.Yv.removeAccents(X.toString()).toLocaleLowerCase(V))),in:(g,X)=>{if(null==X||0===X.length)return!0;for(let V=0;V<X.length;V++)if(o.Yv.equals(g,X[V]))return!0;return!1},between:(g,X)=>null==X||null==X[0]||null==X[1]||null!=g&&(g.getTime?X[0].getTime()<=g.getTime()&&g.getTime()<=X[1].getTime():X[0]<=g&&g<=X[1]),lt:(g,X,V)=>null==X||null!=g&&(g.getTime&&X.getTime?g.getTime()<X.getTime():g<X),lte:(g,X,V)=>null==X||null!=g&&(g.getTime&&X.getTime?g.getTime()<=X.getTime():g<=X),gt:(g,X,V)=>null==X||null!=g&&(g.getTime&&X.getTime?g.getTime()>X.getTime():g>X),gte:(g,X,V)=>null==X||null!=g&&(g.getTime&&X.getTime?g.getTime()>=X.getTime():g>=X),is:(g,X,V)=>this.filters.equals(g,X,V),isNot:(g,X,V)=>this.filters.notEquals(g,X,V),before:(g,X,V)=>this.filters.lt(g,X,V),after:(g,X,V)=>this.filters.gt(g,X,V),dateIs:(g,X)=>null==X||null!=g&&g.toDateString()===X.toDateString(),dateIsNot:(g,X)=>null==X||null!=g&&g.toDateString()!==X.toDateString(),dateBefore:(g,X)=>null==X||null!=g&&g.getTime()<X.getTime(),dateAfter:(g,X)=>null==X||null!=g&&g.getTime()>X.getTime()};register(g,X){this.filters[g]=X}static \u0275fac=function(X){return new(X||ye)};static \u0275prov=s.wxM({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})(),oe=(()=>{class ye{clickSource=new d.E;clickObservable=this.clickSource.asObservable();add(g){g&&this.clickSource.next(g)}static \u0275fac=function(X){return new(X||ye)};static \u0275prov=s.wxM({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})(),ae=(()=>{class ye{ripple=!1;inputStyle="outlined";overlayOptions={};filterMatchModeOptions={text:[I.STARTS_WITH,I.CONTAINS,I.NOT_CONTAINS,I.ENDS_WITH,I.EQUALS,I.NOT_EQUALS],numeric:[I.EQUALS,I.NOT_EQUALS,I.LESS_THAN,I.LESS_THAN_OR_EQUAL_TO,I.GREATER_THAN,I.GREATER_THAN_OR_EQUAL_TO],date:[I.DATE_IS,I.DATE_IS_NOT,I.DATE_BEFORE,I.DATE_AFTER]};translation={startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",is:"Is",isNot:"Is not",before:"Before",after:"After",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",pending:"Pending",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",dateFormat:"mm/dd/yy",firstDayOfWeek:0,today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",searchMessage:"{0} results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",emptyFilterMessage:"No results found",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"{page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",previousPageLabel:"Previous Page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left",listLabel:"Option List"}};zIndex={modal:1100,overlay:1e3,menu:1e3,tooltip:1100};translationSource=new d.E;translationObserver=this.translationSource.asObservable();getTranslation(g){return this.translation[g]}setTranslation(g){this.translation={...this.translation,...g},this.translationSource.next(this.translation)}static \u0275fac=function(X){return new(X||ye)};static \u0275prov=s.wxM({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})(),Z=(()=>{class ye{static \u0275fac=function(X){return new(X||ye)};static \u0275cmp=s.In1({type:ye,selectors:[["p-header"]],ngContentSelectors:l,decls:1,vars:0,template:function(X,V){1&X&&(s.kPM(),s._Xx(0))},encapsulation:2})}return ye})(),_e=(()=>{class ye{static \u0275fac=function(X){return new(X||ye)};static \u0275cmp=s.In1({type:ye,selectors:[["p-footer"]],ngContentSelectors:l,decls:1,vars:0,template:function(X,V){1&X&&(s.kPM(),s._Xx(0))},encapsulation:2})}return ye})(),j=(()=>{class ye{template;type;name;constructor(g){this.template=g}getType(){return this.name}static \u0275fac=function(X){return new(X||ye)(s.GI1(s.Yw2))};static \u0275dir=s.Sc5({type:ye,selectors:[["","pTemplate",""]],inputs:{type:"type",name:[s.Wk5.None,"pTemplate","name"]}})}return ye})(),ke=(()=>{class ye{static \u0275fac=function(X){return new(X||ye)};static \u0275mod=s.a4G({type:ye});static \u0275inj=s.s3X({imports:[f.MD]})}return ye})(),rt=(()=>class ye{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static NO_FILTER="noFilter";static LT="lt";static LTE="lte";static GT="gt";static GTE="gte";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static CLEAR="clear";static APPLY="apply";static MATCH_ALL="matchAll";static MATCH_ANY="matchAny";static ADD_RULE="addRule";static REMOVE_RULE="removeRule";static ACCEPT="accept";static REJECT="reject";static CHOOSE="choose";static UPLOAD="upload";static CANCEL="cancel";static PENDING="pending";static FILE_SIZE_TYPES="fileSizeTypes";static DAY_NAMES="dayNames";static DAY_NAMES_SHORT="dayNamesShort";static DAY_NAMES_MIN="dayNamesMin";static MONTH_NAMES="monthNames";static MONTH_NAMES_SHORT="monthNamesShort";static FIRST_DAY_OF_WEEK="firstDayOfWeek";static TODAY="today";static WEEK_HEADER="weekHeader";static WEAK="weak";static MEDIUM="medium";static STRONG="strong";static PASSWORD_PROMPT="passwordPrompt";static EMPTY_MESSAGE="emptyMessage";static EMPTY_FILTER_MESSAGE="emptyFilterMessage";static SHOW_FILTER_MENU="showFilterMenu";static HIDE_FILTER_MENU="hideFilterMenu";static SELECTION_MESSAGE="selectionMessage";static ARIA="aria"})()},9216:(lt,me,u)=>{"use strict";u.d(me,{k:()=>f,q:()=>l});var s=u(1368),d=u(2116),o=u(144);let f=(()=>{class i{host;constructor(_){this.host=_}autofocus;focused=!1;ngAfterContentChecked(){this.focused||this.autofocus&&setTimeout(()=>{const _=o.k.getFocusableElements(this.host.nativeElement);0===_.length&&this.host.nativeElement.focus(),_.length>0&&_[0].focus(),this.focused=!0})}static \u0275fac=function(I){return new(I||i)(d.GI1(d.GMv))};static \u0275dir=d.Sc5({type:i,selectors:[["","pAutoFocus",""]],hostAttrs:[1,"p-element"],inputs:{autofocus:"autofocus"}})}return i})(),l=(()=>{class i{static \u0275fac=function(I){return new(I||i)};static \u0275mod=d.a4G({type:i});static \u0275inj=d.s3X({imports:[s.MD]})}return i})()},7200:(lt,me,u)=>{"use strict";u.d(me,{m:()=>f});var s=u(2116),d=u(4616);const o=["*"];let f=(()=>{class l{label;spin=!1;styleClass;role;ariaLabel;ariaHidden;ngOnInit(){this.getAttributes()}getAttributes(){const y=d.Yv.isEmpty(this.label);this.role=y?void 0:"img",this.ariaLabel=y?void 0:this.label,this.ariaHidden=y}getClassNames(){return`p-icon ${this.styleClass?this.styleClass+" ":""}${this.spin?"p-icon-spin":""}`}static \u0275fac=function(_){return new(_||l)};static \u0275cmp=s.In1({type:l,selectors:[["ng-component"]],hostAttrs:[1,"p-element","p-icon-wrapper"],inputs:{label:"label",spin:"spin",styleClass:"styleClass"},standalone:!0,features:[s.UHJ],ngContentSelectors:o,decls:1,vars:0,template:function(_,I){1&_&&(s.kPM(),s._Xx(0))},encapsulation:2,changeDetection:0})}return l})()},232:(lt,me,u)=>{"use strict";u.d(me,{A9:()=>X,GS:()=>te});var s=u(1368),d=u(2116),o=u(5184),f=u(144),l=u(1556),i=u(4520),y=u(4616);const g={button:"p-button",component:"p-component",iconOnly:"p-button-icon-only",disabled:"p-disabled",loading:"p-button-loading",labelOnly:"p-button-loading-label-only"};let X=(()=>{class be{el;document;iconPos="left";loadingIcon;get label(){return this._label}set label(Se){this._label=Se,this.initialized&&(this.updateLabel(),this.updateIcon(),this.setStyleClass())}get icon(){return this._icon}set icon(Se){this._icon=Se,this.initialized&&(this.updateIcon(),this.setStyleClass())}get loading(){return this._loading}set loading(Se){this._loading=Se,this.initialized&&(this.updateIcon(),this.setStyleClass())}_label;_icon;_loading=!1;initialized;get htmlElement(){return this.el.nativeElement}_internalClasses=Object.values(g);spinnerIcon='<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg" class="p-icon-spin">\n        <g clip-path="url(#clip0_417_21408)">\n            <path\n                d="M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z"\n                fill="currentColor"\n            />\n        </g>\n        <defs>\n            <clipPath id="clip0_417_21408">\n                <rect width="14" height="14" fill="white" />\n            </clipPath>\n        </defs>\n    </svg>';constructor(Se,ot){this.el=Se,this.document=ot}ngAfterViewInit(){f.k.addMultipleClasses(this.htmlElement,this.getStyleClass().join(" ")),this.createIcon(),this.createLabel(),this.initialized=!0}getStyleClass(){const Se=[g.button,g.component];return this.icon&&!this.label&&y.Yv.isEmpty(this.htmlElement.textContent)&&Se.push(g.iconOnly),this.loading&&(Se.push(g.disabled,g.loading),!this.icon&&this.label&&Se.push(g.labelOnly),this.icon&&!this.label&&!y.Yv.isEmpty(this.htmlElement.textContent)&&Se.push(g.iconOnly)),Se}setStyleClass(){const Se=this.getStyleClass();this.htmlElement.classList.remove(...this._internalClasses),this.htmlElement.classList.add(...Se)}createLabel(){if(!f.k.findSingle(this.htmlElement,".p-button-label")&&this.label){let ot=this.document.createElement("span");this.icon&&!this.label&&ot.setAttribute("aria-hidden","true"),ot.className="p-button-label",ot.appendChild(this.document.createTextNode(this.label)),this.htmlElement.appendChild(ot)}}createIcon(){if(!f.k.findSingle(this.htmlElement,".p-button-icon")&&(this.icon||this.loading)){let ot=this.document.createElement("span");ot.className="p-button-icon",ot.setAttribute("aria-hidden","true");let _t=this.label?"p-button-icon-"+this.iconPos:null;_t&&f.k.addClass(ot,_t);let pt=this.getIconClass();pt&&f.k.addMultipleClasses(ot,pt),!this.loadingIcon&&this.loading&&(ot.innerHTML=this.spinnerIcon),this.htmlElement.insertBefore(ot,this.htmlElement.firstChild)}}updateLabel(){let Se=f.k.findSingle(this.htmlElement,".p-button-label");this.label?Se?Se.textContent=this.label:this.createLabel():Se&&this.htmlElement.removeChild(Se)}updateIcon(){let Se=f.k.findSingle(this.htmlElement,".p-button-icon"),ot=f.k.findSingle(this.htmlElement,".p-button-label");this.loading&&!this.loadingIcon&&Se?Se.innerHTML=this.spinnerIcon:Se?.innerHTML&&(Se.innerHTML=""),Se?Se.className=this.iconPos?"p-button-icon "+(ot?"p-button-icon-"+this.iconPos:"")+" "+this.getIconClass():"p-button-icon "+this.getIconClass():this.createIcon()}getIconClass(){return this.loading?"p-button-loading-icon "+(this.loadingIcon?this.loadingIcon:"p-icon"):this.icon||"p-hidden"}ngOnDestroy(){this.initialized=!1}static \u0275fac=function(ot){return new(ot||be)(d.GI1(d.GMv),d.GI1(s.Ud))};static \u0275dir=d.Sc5({type:be,selectors:[["","pButton",""]],hostAttrs:[1,"p-element"],inputs:{iconPos:"iconPos",loadingIcon:"loadingIcon",label:"label",icon:"icon",loading:"loading"}})}return be})(),te=(()=>{class be{static \u0275fac=function(ot){return new(ot||be)};static \u0275mod=d.a4G({type:be});static \u0275inj=d.s3X({imports:[s.MD,i.c,o.kT,l.i,o.kT]})}return be})()},6116:(lt,me,u)=>{"use strict";u.d(me,{Y:()=>Ke});var s=u(9684),d=u(1368),o=u(2116),f=u(5184),l=u(232),i=u(1708),y=u(4715),_=u(4520);(0,s.OH)([(0,s.wb)({transform:"{{transform}}",opacity:0}),(0,s.Cs)("{{transition}}",(0,s.wb)({transform:"none",opacity:1}))]),(0,s.OH)([(0,s.Cs)("{{transition}}",(0,s.wb)({transform:"{{transform}}",opacity:0}))]);let Ke=(()=>{class Ne{static \u0275fac=function(st){return new(st||Ne)};static \u0275mod=o.a4G({type:Ne});static \u0275inj=o.s3X({imports:[d.MD,l.GS,_.c,y.O,i.w,l.GS,f.kT]})}return Ne})()},3856:(lt,me,u)=>{"use strict";u.d(me,{k:()=>st});var s=u(9684),d=u(1368),o=u(2116),f=u(5184);let i=(()=>{class re{static \u0275fac=function(Mt){return new(Mt||re)};static \u0275mod=o.a4G({type:re});static \u0275inj=o.s3X({imports:[d.MD]})}return re})();var y=u(4715),_=u(7200),I=u(4616);let B=(()=>{class re extends _.m{pathId;ngOnInit(){this.pathId="url(#"+(0,I.Oc)()+")"}static \u0275fac=(()=>{let pe;return function($t){return(pe||(pe=o.otF(re)))($t||re)}})();static \u0275cmp=o.In1({type:re,selectors:[["WindowMaximizeIcon"]],standalone:!0,features:[o.eg9,o.UHJ],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(Mt,$t){1&Mt&&(o.S2Z(),o.I0R(0,"svg",0)(1,"g"),o.wR5(2,"path",1),o.C$Y(),o.I0R(3,"defs")(4,"clipPath",2),o.wR5(5,"rect",3),o.C$Y()()()),2&Mt&&(o.m8U($t.getClassNames()),o.e48("aria-label",$t.ariaLabel)("aria-hidden",$t.ariaHidden)("role",$t.role),o.yG2(),o.e48("clip-path",$t.pathId),o.yG2(3),o.E7m("id",$t.pathId))},encapsulation:2})}return re})(),K=(()=>{class re extends _.m{pathId;ngOnInit(){this.pathId="url(#"+(0,I.Oc)()+")"}static \u0275fac=(()=>{let pe;return function($t){return(pe||(pe=o.otF(re)))($t||re)}})();static \u0275cmp=o.In1({type:re,selectors:[["WindowMinimizeIcon"]],standalone:!0,features:[o.eg9,o.UHJ],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(Mt,$t){1&Mt&&(o.S2Z(),o.I0R(0,"svg",0)(1,"g"),o.wR5(2,"path",1),o.C$Y(),o.I0R(3,"defs")(4,"clipPath",2),o.wR5(5,"rect",3),o.C$Y()()()),2&Mt&&(o.m8U($t.getClassNames()),o.e48("aria-label",$t.ariaLabel)("aria-hidden",$t.ariaHidden)("role",$t.role),o.yG2(),o.e48("clip-path",$t.pathId),o.yG2(3),o.E7m("id",$t.pathId))},encapsulation:2})}return re})();var ie=u(4520),oe=u(232);(0,s.OH)([(0,s.wb)({transform:"{{transform}}",opacity:0}),(0,s.Cs)("{{transition}}")]),(0,s.OH)([(0,s.Cs)("{{transition}}",(0,s.wb)({transform:"{{transform}}",opacity:0}))]);let st=(()=>{class re{static \u0275fac=function(Mt){return new(Mt||re)};static \u0275mod=o.a4G({type:re});static \u0275inj=o.s3X({imports:[d.MD,i,oe.GS,ie.c,y.O,B,K,f.kT]})}return re})()},144:(lt,me,u)=>{"use strict";u.d(me,{M:()=>d,k:()=>s});let s=(()=>{class o{static zindex=1e3;static calculatedScrollbarWidth=null;static calculatedScrollbarHeight=null;static browser;static addClass(l,i){l&&i&&(l.classList?l.classList.add(i):l.className+=" "+i)}static addMultipleClasses(l,i){if(l&&i)if(l.classList){let y=i.trim().split(" ");for(let _=0;_<y.length;_++)l.classList.add(y[_])}else{let y=i.split(" ");for(let _=0;_<y.length;_++)l.className+=" "+y[_]}}static removeClass(l,i){l&&i&&(l.classList?l.classList.remove(i):l.className=l.className.replace(new RegExp("(^|\\b)"+i.split(" ").join("|")+"(\\b|$)","gi")," "))}static removeMultipleClasses(l,i){l&&i&&[i].flat().filter(Boolean).forEach(y=>y.split(" ").forEach(_=>this.removeClass(l,_)))}static hasClass(l,i){return!(!l||!i)&&(l.classList?l.classList.contains(i):new RegExp("(^| )"+i+"( |$)","gi").test(l.className))}static siblings(l){return Array.prototype.filter.call(l.parentNode.children,function(i){return i!==l})}static find(l,i){return Array.from(l.querySelectorAll(i))}static findSingle(l,i){return this.isElement(l)?l.querySelector(i):null}static index(l){let i=l.parentNode.childNodes,y=0;for(var _=0;_<i.length;_++){if(i[_]==l)return y;1==i[_].nodeType&&y++}return-1}static indexWithinGroup(l,i){let y=l.parentNode?l.parentNode.childNodes:[],_=0;for(var I=0;I<y.length;I++){if(y[I]==l)return _;y[I].attributes&&y[I].attributes[i]&&1==y[I].nodeType&&_++}return-1}static appendOverlay(l,i,y="self"){"self"!==y&&l&&i&&this.appendChild(l,i)}static alignOverlay(l,i,y="self",_=!0){l&&i&&(_&&(l.style.minWidth=`${o.getOuterWidth(i)}px`),"self"===y?this.relativePosition(l,i):this.absolutePosition(l,i))}static relativePosition(l,i){const y=rt=>{if(rt)return"relative"===getComputedStyle(rt).getPropertyValue("position")?rt:y(rt.parentElement)},_=l.offsetParent?{width:l.offsetWidth,height:l.offsetHeight}:this.getHiddenElementDimensions(l),I=i.offsetHeight,B=i.getBoundingClientRect(),K=this.getWindowScrollTop(),ie=this.getWindowScrollLeft(),oe=this.getViewport(),ae=y(l)?.getBoundingClientRect()||{top:-1*K,left:-1*ie};let Z,_e;B.top+I+_.height>oe.height?(Z=B.top-ae.top-_.height,l.style.transformOrigin="bottom",B.top+Z<0&&(Z=-1*B.top)):(Z=I+B.top-ae.top,l.style.transformOrigin="top");const j=B.left+_.width-oe.width;_e=_.width>oe.width?-1*(B.left-ae.left):j>0?B.left-ae.left-j:B.left-ae.left,l.style.top=Z+"px",l.style.left=_e+"px"}static absolutePosition(l,i){const y=l.offsetParent?{width:l.offsetWidth,height:l.offsetHeight}:this.getHiddenElementDimensions(l),_=y.height,I=y.width,B=i.offsetHeight,K=i.offsetWidth,ie=i.getBoundingClientRect(),oe=this.getWindowScrollTop(),Ge=this.getWindowScrollLeft(),ae=this.getViewport();let Z,_e;ie.top+B+_>ae.height?(Z=ie.top+oe-_,l.style.transformOrigin="bottom",Z<0&&(Z=oe)):(Z=B+ie.top+oe,l.style.transformOrigin="top"),_e=ie.left+I>ae.width?Math.max(0,ie.left+Ge+K-I):ie.left+Ge,l.style.top=Z+"px",l.style.left=_e+"px"}static getParents(l,i=[]){return null===l.parentNode?i:this.getParents(l.parentNode,i.concat([l.parentNode]))}static getScrollableParents(l){let i=[];if(l){let y=this.getParents(l);const _=/(auto|scroll)/,I=B=>{let K=window.getComputedStyle(B,null);return _.test(K.getPropertyValue("overflow"))||_.test(K.getPropertyValue("overflowX"))||_.test(K.getPropertyValue("overflowY"))};for(let B of y){let K=1===B.nodeType&&B.dataset.scrollselectors;if(K){let ie=K.split(",");for(let oe of ie){let Ge=this.findSingle(B,oe);Ge&&I(Ge)&&i.push(Ge)}}9!==B.nodeType&&I(B)&&i.push(B)}}return i}static getHiddenElementOuterHeight(l){l.style.visibility="hidden",l.style.display="block";let i=l.offsetHeight;return l.style.display="none",l.style.visibility="visible",i}static getHiddenElementOuterWidth(l){l.style.visibility="hidden",l.style.display="block";let i=l.offsetWidth;return l.style.display="none",l.style.visibility="visible",i}static getHiddenElementDimensions(l){let i={};return l.style.visibility="hidden",l.style.display="block",i.width=l.offsetWidth,i.height=l.offsetHeight,l.style.display="none",l.style.visibility="visible",i}static scrollInView(l,i){let y=getComputedStyle(l).getPropertyValue("borderTopWidth"),_=y?parseFloat(y):0,I=getComputedStyle(l).getPropertyValue("paddingTop"),B=I?parseFloat(I):0,K=l.getBoundingClientRect(),oe=i.getBoundingClientRect().top+document.body.scrollTop-(K.top+document.body.scrollTop)-_-B,Ge=l.scrollTop,ae=l.clientHeight,Z=this.getOuterHeight(i);oe<0?l.scrollTop=Ge+oe:oe+Z>ae&&(l.scrollTop=Ge+oe-ae+Z)}static fadeIn(l,i){l.style.opacity=0;let y=+new Date,_=0,I=function(){_=+l.style.opacity.replace(",",".")+((new Date).getTime()-y)/i,l.style.opacity=_,y=+new Date,+_<1&&(window.requestAnimationFrame&&requestAnimationFrame(I)||setTimeout(I,16))};I()}static fadeOut(l,i){var y=1,B=50/i;let K=setInterval(()=>{(y-=B)<=0&&(y=0,clearInterval(K)),l.style.opacity=y},50)}static getWindowScrollTop(){let l=document.documentElement;return(window.pageYOffset||l.scrollTop)-(l.clientTop||0)}static getWindowScrollLeft(){let l=document.documentElement;return(window.pageXOffset||l.scrollLeft)-(l.clientLeft||0)}static matches(l,i){var y=Element.prototype;return(y.matches||y.webkitMatchesSelector||y.mozMatchesSelector||y.msMatchesSelector||function(I){return-1!==[].indexOf.call(document.querySelectorAll(I),this)}).call(l,i)}static getOuterWidth(l,i){let y=l.offsetWidth;if(i){let _=getComputedStyle(l);y+=parseFloat(_.marginLeft)+parseFloat(_.marginRight)}return y}static getHorizontalPadding(l){let i=getComputedStyle(l);return parseFloat(i.paddingLeft)+parseFloat(i.paddingRight)}static getHorizontalMargin(l){let i=getComputedStyle(l);return parseFloat(i.marginLeft)+parseFloat(i.marginRight)}static innerWidth(l){let i=l.offsetWidth,y=getComputedStyle(l);return i+=parseFloat(y.paddingLeft)+parseFloat(y.paddingRight),i}static width(l){let i=l.offsetWidth,y=getComputedStyle(l);return i-=parseFloat(y.paddingLeft)+parseFloat(y.paddingRight),i}static getInnerHeight(l){let i=l.offsetHeight,y=getComputedStyle(l);return i+=parseFloat(y.paddingTop)+parseFloat(y.paddingBottom),i}static getOuterHeight(l,i){let y=l.offsetHeight;if(i){let _=getComputedStyle(l);y+=parseFloat(_.marginTop)+parseFloat(_.marginBottom)}return y}static getHeight(l){let i=l.offsetHeight,y=getComputedStyle(l);return i-=parseFloat(y.paddingTop)+parseFloat(y.paddingBottom)+parseFloat(y.borderTopWidth)+parseFloat(y.borderBottomWidth),i}static getWidth(l){let i=l.offsetWidth,y=getComputedStyle(l);return i-=parseFloat(y.paddingLeft)+parseFloat(y.paddingRight)+parseFloat(y.borderLeftWidth)+parseFloat(y.borderRightWidth),i}static getViewport(){let l=window,i=document,y=i.documentElement,_=i.getElementsByTagName("body")[0];return{width:l.innerWidth||y.clientWidth||_.clientWidth,height:l.innerHeight||y.clientHeight||_.clientHeight}}static getOffset(l){var i=l.getBoundingClientRect();return{top:i.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:i.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(l,i){let y=l.parentNode;if(!y)throw"Can't replace element";return y.replaceChild(i,l)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var l=window.navigator.userAgent;return l.indexOf("MSIE ")>0||(l.indexOf("Trident/")>0?(l.indexOf("rv:"),!0):l.indexOf("Edge/")>0)}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(l,i){if(this.isElement(i))i.appendChild(l);else{if(!(i&&i.el&&i.el.nativeElement))throw"Cannot append "+i+" to "+l;i.el.nativeElement.appendChild(l)}}static removeChild(l,i){if(this.isElement(i))i.removeChild(l);else{if(!i.el||!i.el.nativeElement)throw"Cannot remove "+l+" from "+i;i.el.nativeElement.removeChild(l)}}static removeElement(l){"remove"in Element.prototype?l.remove():l.parentNode.removeChild(l)}static isElement(l){return"object"==typeof HTMLElement?l instanceof HTMLElement:l&&"object"==typeof l&&null!==l&&1===l.nodeType&&"string"==typeof l.nodeName}static calculateScrollbarWidth(l){if(l){let i=getComputedStyle(l);return l.offsetWidth-l.clientWidth-parseFloat(i.borderLeftWidth)-parseFloat(i.borderRightWidth)}{if(null!==this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;let i=document.createElement("div");i.className="p-scrollbar-measure",document.body.appendChild(i);let y=i.offsetWidth-i.clientWidth;return document.body.removeChild(i),this.calculatedScrollbarWidth=y,y}}static calculateScrollbarHeight(){if(null!==this.calculatedScrollbarHeight)return this.calculatedScrollbarHeight;let l=document.createElement("div");l.className="p-scrollbar-measure",document.body.appendChild(l);let i=l.offsetHeight-l.clientHeight;return document.body.removeChild(l),this.calculatedScrollbarWidth=i,i}static invokeElementMethod(l,i,y){l[i].apply(l,y)}static clearSelection(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let l=this.resolveUserAgent();this.browser={},l.browser&&(this.browser[l.browser]=!0,this.browser.version=l.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let l=navigator.userAgent.toLowerCase(),i=/(chrome)[ \/]([\w.]+)/.exec(l)||/(webkit)[ \/]([\w.]+)/.exec(l)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(l)||/(msie) ([\w.]+)/.exec(l)||l.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(l)||[];return{browser:i[1]||"",version:i[2]||"0"}}static isInteger(l){return Number.isInteger?Number.isInteger(l):"number"==typeof l&&isFinite(l)&&Math.floor(l)===l}static isHidden(l){return!l||null===l.offsetParent}static isVisible(l){return l&&null!=l.offsetParent}static isExist(l){return null!==l&&typeof l<"u"&&l.nodeName&&l.parentNode}static focus(l,i){l&&document.activeElement!==l&&l.focus(i)}static getFocusableElements(l,i=""){let y=this.find(l,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i},\n                [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i},\n                input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i},\n                select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i},\n                textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i},\n                [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i},\n                [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i}`),_=[];for(let I of y){const B=getComputedStyle(I);this.isVisible(I)&&"none"!=B.display&&"hidden"!=B.visibility&&_.push(I)}return _}static getFirstFocusableElement(l,i){const y=this.getFocusableElements(l,i);return y.length>0?y[0]:null}static getLastFocusableElement(l,i){const y=this.getFocusableElements(l,i);return y.length>0?y[y.length-1]:null}static getNextFocusableElement(l,i=!1){const y=o.getFocusableElements(l);let _=0;if(y&&y.length>0){const I=y.indexOf(y[0].ownerDocument.activeElement);i?_=-1==I||0===I?y.length-1:I-1:-1!=I&&I!==y.length-1&&(_=I+1)}return y[_]}static generateZIndex(){return this.zindex=this.zindex||999,++this.zindex}static getSelection(){return window.getSelection?window.getSelection().toString():document.getSelection?document.getSelection().toString():document.selection?document.selection.createRange().text:null}static getTargetElement(l,i){if(!l)return null;switch(l){case"document":return document;case"window":return window;case"@next":return i?.nextElementSibling;case"@prev":return i?.previousElementSibling;case"@parent":return i?.parentElement;case"@grandparent":return i?.parentElement.parentElement;default:const y=typeof l;if("string"===y)return document.querySelector(l);if("object"===y&&l.hasOwnProperty("nativeElement"))return this.isExist(l.nativeElement)?l.nativeElement:void 0;const I=(B=l)&&B.constructor&&B.call&&B.apply?l():l;return I&&9===I.nodeType||this.isExist(I)?I:null}var B}static isClient(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}static getAttribute(l,i){if(l){const y=l.getAttribute(i);return isNaN(y)?"true"===y||"false"===y?"true"===y:y:+y}}static calculateBodyScrollbarWidth(){return window.innerWidth-document.documentElement.offsetWidth}static blockBodyScroll(l="p-overflow-hidden"){document.body.style.setProperty("--scrollbar-width",this.calculateBodyScrollbarWidth()+"px"),this.addClass(document.body,l)}static unblockBodyScroll(l="p-overflow-hidden"){document.body.style.removeProperty("--scrollbar-width"),this.removeClass(document.body,l)}}return o})();class d{element;listener;scrollableParents;constructor(f,l=(()=>{})){this.element=f,this.listener=l}bindScrollListener(){this.scrollableParents=s.getScrollableParents(this.element);for(let f=0;f<this.scrollableParents.length;f++)this.scrollableParents[f].addEventListener("scroll",this.listener)}unbindScrollListener(){if(this.scrollableParents)for(let f=0;f<this.scrollableParents.length;f++)this.scrollableParents[f].removeEventListener("scroll",this.listener)}destroy(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null}}},1708:(lt,me,u)=>{"use strict";u.d(me,{w:()=>o});var s=u(2116),d=u(7200);let o=(()=>{class f extends d.m{static \u0275fac=(()=>{let i;return function(_){return(i||(i=s.otF(f)))(_||f)}})();static \u0275cmp=s.In1({type:f,selectors:[["CheckIcon"]],standalone:!0,features:[s.eg9,s.UHJ],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z","fill","currentColor"]],template:function(y,_){1&y&&(s.S2Z(),s.I0R(0,"svg",0),s.wR5(1,"path",1),s.C$Y()),2&y&&(s.m8U(_.getClassNames()),s.e48("aria-label",_.ariaLabel)("aria-hidden",_.ariaHidden)("role",_.role))},encapsulation:2})}return f})()},2452:(lt,me,u)=>{"use strict";u.d(me,{w:()=>o});var s=u(2116),d=u(7200);let o=(()=>{class f extends d.m{static \u0275fac=(()=>{let i;return function(_){return(i||(i=s.otF(f)))(_||f)}})();static \u0275cmp=s.In1({type:f,selectors:[["ChevronDownIcon"]],standalone:!0,features:[s.eg9,s.UHJ],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z","fill","currentColor"]],template:function(y,_){1&y&&(s.S2Z(),s.I0R(0,"svg",0),s.wR5(1,"path",1),s.C$Y()),2&y&&(s.m8U(_.getClassNames()),s.e48("aria-label",_.ariaLabel)("aria-hidden",_.ariaHidden)("role",_.role))},encapsulation:2})}return f})()},8891:(lt,me,u)=>{"use strict";u.d(me,{I:()=>f});var s=u(2116),d=u(7200),o=u(4616);let f=(()=>{class l extends d.m{pathId;ngOnInit(){this.pathId="url(#"+(0,o.Oc)()+")"}static \u0275fac=(()=>{let y;return function(I){return(y||(y=s.otF(l)))(I||l)}})();static \u0275cmp=s.In1({type:l,selectors:[["SearchIcon"]],standalone:!0,features:[s.eg9,s.UHJ],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M2.67602 11.0265C3.6661 11.688 4.83011 12.0411 6.02086 12.0411C6.81149 12.0411 7.59438 11.8854 8.32483 11.5828C8.87005 11.357 9.37808 11.0526 9.83317 10.6803L12.9769 13.8241C13.0323 13.8801 13.0983 13.9245 13.171 13.9548C13.2438 13.985 13.3219 14.0003 13.4007 14C13.4795 14.0003 13.5575 13.985 13.6303 13.9548C13.7031 13.9245 13.7691 13.8801 13.8244 13.8241C13.9367 13.7116 13.9998 13.5592 13.9998 13.4003C13.9998 13.2414 13.9367 13.089 13.8244 12.9765L10.6807 9.8328C11.053 9.37773 11.3573 8.86972 11.5831 8.32452C11.8857 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0268 2.67572C10.3652 1.68564 9.42494 0.913972 8.32483 0.45829C7.22472 0.00260857 6.01418 -0.116618 4.84631 0.115686C3.67844 0.34799 2.60568 0.921393 1.76369 1.76338C0.921698 2.60537 0.348296 3.67813 0.115991 4.84601C-0.116313 6.01388 0.00291375 7.22441 0.458595 8.32452C0.914277 9.42464 1.68595 10.3649 2.67602 11.0265ZM3.35565 2.0158C4.14456 1.48867 5.07206 1.20731 6.02086 1.20731C7.29317 1.20731 8.51338 1.71274 9.41304 2.6124C10.3127 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5368 7.88088 10.0096 8.66978C9.48251 9.45868 8.73328 10.0736 7.85669 10.4367C6.98011 10.7997 6.01554 10.8947 5.08496 10.7096C4.15439 10.5245 3.2996 10.0676 2.62869 9.39674C1.95778 8.72583 1.50089 7.87104 1.31579 6.94046C1.13068 6.00989 1.22568 5.04532 1.58878 4.16874C1.95187 3.29215 2.56675 2.54292 3.35565 2.0158Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(_,I){1&_&&(s.S2Z(),s.I0R(0,"svg",0)(1,"g"),s.wR5(2,"path",1),s.C$Y(),s.I0R(3,"defs")(4,"clipPath",2),s.wR5(5,"rect",3),s.C$Y()()()),2&_&&(s.m8U(I.getClassNames()),s.e48("aria-label",I.ariaLabel)("aria-hidden",I.ariaHidden)("role",I.role),s.yG2(),s.e48("clip-path",I.pathId),s.yG2(3),s.E7m("id",I.pathId))},encapsulation:2})}return l})()},1556:(lt,me,u)=>{"use strict";u.d(me,{i:()=>f});var s=u(2116),d=u(7200),o=u(4616);let f=(()=>{class l extends d.m{pathId;ngOnInit(){this.pathId="url(#"+(0,o.Oc)()+")"}static \u0275fac=(()=>{let y;return function(I){return(y||(y=s.otF(l)))(I||l)}})();static \u0275cmp=s.In1({type:l,selectors:[["SpinnerIcon"]],standalone:!0,features:[s.eg9,s.UHJ],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(_,I){1&_&&(s.S2Z(),s.I0R(0,"svg",0)(1,"g"),s.wR5(2,"path",1),s.C$Y(),s.I0R(3,"defs")(4,"clipPath",2),s.wR5(5,"rect",3),s.C$Y()()()),2&_&&(s.m8U(I.getClassNames()),s.e48("aria-label",I.ariaLabel)("aria-hidden",I.ariaHidden)("role",I.role),s.yG2(),s.e48("clip-path",I.pathId),s.yG2(3),s.E7m("id",I.pathId))},encapsulation:2})}return l})()},4715:(lt,me,u)=>{"use strict";u.d(me,{O:()=>o});var s=u(2116),d=u(7200);let o=(()=>{class f extends d.m{static \u0275fac=(()=>{let i;return function(_){return(i||(i=s.otF(f)))(_||f)}})();static \u0275cmp=s.In1({type:f,selectors:[["TimesIcon"]],standalone:!0,features:[s.eg9,s.UHJ],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z","fill","currentColor"]],template:function(y,_){1&y&&(s.S2Z(),s.I0R(0,"svg",0),s.wR5(1,"path",1),s.C$Y()),2&y&&(s.m8U(_.getClassNames()),s.e48("aria-label",_.ariaLabel)("aria-hidden",_.ariaHidden)("role",_.role))},encapsulation:2})}return f})()},2736:(lt,me,u)=>{"use strict";u.d(me,{C:()=>f,s:()=>l});var s=u(2116),d=u(1368),o=u(6504);let f=(()=>{class i{el;ngModel;cd;filled;constructor(_,I,B){this.el=_,this.ngModel=I,this.cd=B}ngAfterViewInit(){this.updateFilledState(),this.cd.detectChanges()}ngDoCheck(){this.updateFilledState()}onInput(){this.updateFilledState()}updateFilledState(){this.filled=this.el.nativeElement.value&&this.el.nativeElement.value.length||this.ngModel&&this.ngModel.model}static \u0275fac=function(I){return new(I||i)(s.GI1(s.GMv),s.GI1(o._G,8),s.GI1(s.kD9))};static \u0275dir=s.Sc5({type:i,selectors:[["","pInputText",""]],hostAttrs:[1,"p-inputtext","p-component","p-element"],hostVars:2,hostBindings:function(I,B){1&I&&s.qCj("input",function(ie){return B.onInput(ie)}),2&I&&s.eAK("p-filled",B.filled)}})}return i})(),l=(()=>{class i{static \u0275fac=function(I){return new(I||i)};static \u0275mod=s.a4G({type:i});static \u0275inj=s.s3X({imports:[d.MD]})}return i})()},7885:(lt,me,u)=>{"use strict";u.d(me,{Y1:()=>Y,mc:()=>ye});var s=u(9684),d=u(1368),o=u(2116),f=u(6504),l=u(5184),i=u(144),y=u(4616);const _=["overlay"],I=["content"];function B(g,X){1&g&&o.C_f(0)}const K=(g,X,V)=>({showTransitionParams:g,hideTransitionParams:X,transform:V}),ie=g=>({value:"visible",params:g}),oe=g=>({mode:g}),Ge=g=>({$implicit:g});function ae(g,X){if(1&g){const V=o.KQA();o.I0R(0,"div",1,3),o.qCj("click",function(be){o.usT(V);const Fe=o.GaO(2);return o.CGJ(Fe.onOverlayContentClick(be))})("@overlayContentAnimation.start",function(be){o.usT(V);const Fe=o.GaO(2);return o.CGJ(Fe.onOverlayContentAnimationStart(be))})("@overlayContentAnimation.done",function(be){o.usT(V);const Fe=o.GaO(2);return o.CGJ(Fe.onOverlayContentAnimationDone(be))}),o._Xx(2),o.yuY(3,B,1,0,"ng-container",4),o.C$Y()}if(2&g){const V=o.GaO(2);o.m8U(V.contentStyleClass),o.E7m("ngStyle",V.contentStyle)("ngClass","p-overlay-content")("@overlayContentAnimation",o.S45(11,ie,o.uAc(7,K,V.showTransitionOptions,V.hideTransitionOptions,V.transformOptions[V.modal?V.overlayResponsiveDirection:"default"]))),o.yG2(3),o.E7m("ngTemplateOutlet",V.contentTemplate)("ngTemplateOutletContext",o.S45(15,Ge,o.S45(13,oe,V.overlayMode)))}}const Z=(g,X,V,te,be,Fe,Se,ot,_t,pt,Gt,qe,Je,ce)=>({"p-overlay p-component":!0,"p-overlay-modal p-component-overlay p-component-overlay-enter":g,"p-overlay-center":X,"p-overlay-top":V,"p-overlay-top-start":te,"p-overlay-top-end":be,"p-overlay-bottom":Fe,"p-overlay-bottom-start":Se,"p-overlay-bottom-end":ot,"p-overlay-left":_t,"p-overlay-left-start":pt,"p-overlay-left-end":Gt,"p-overlay-right":qe,"p-overlay-right-start":Je,"p-overlay-right-end":ce});function _e(g,X){if(1&g){const V=o.KQA();o.I0R(0,"div",1,2),o.qCj("click",function(){o.usT(V);const be=o.GaO();return o.CGJ(be.onOverlayClick())}),o.yuY(2,ae,4,17,"div",0),o.C$Y()}if(2&g){const V=o.GaO();o.m8U(V.styleClass),o.E7m("ngStyle",V.style)("ngClass",o.gFU(5,Z,[V.modal,V.modal&&"center"===V.overlayResponsiveDirection,V.modal&&"top"===V.overlayResponsiveDirection,V.modal&&"top-start"===V.overlayResponsiveDirection,V.modal&&"top-end"===V.overlayResponsiveDirection,V.modal&&"bottom"===V.overlayResponsiveDirection,V.modal&&"bottom-start"===V.overlayResponsiveDirection,V.modal&&"bottom-end"===V.overlayResponsiveDirection,V.modal&&"left"===V.overlayResponsiveDirection,V.modal&&"left-start"===V.overlayResponsiveDirection,V.modal&&"left-end"===V.overlayResponsiveDirection,V.modal&&"right"===V.overlayResponsiveDirection,V.modal&&"right-start"===V.overlayResponsiveDirection,V.modal&&"right-end"===V.overlayResponsiveDirection])),o.yG2(2),o.E7m("ngIf",V.visible)}}const j=["*"],ke={provide:f.Y6,useExisting:(0,o.wd)(()=>ye),multi:!0},rt=(0,s.OH)([(0,s.wb)({transform:"{{transform}}",opacity:0}),(0,s.Cs)("{{showTransitionParams}}")]),le=(0,s.OH)([(0,s.Cs)("{{hideTransitionParams}}",(0,s.wb)({transform:"{{transform}}",opacity:0}))]);let ye=(()=>{class g{document;platformId;el;renderer;config;overlayService;cd;zone;get visible(){return this._visible}set visible(V){this._visible=V,this._visible&&!this.modalVisible&&(this.modalVisible=!0)}get mode(){return this._mode||this.overlayOptions?.mode}set mode(V){this._mode=V}get style(){return y.Yv.merge(this._style,this.modal?this.overlayResponsiveOptions?.style:this.overlayOptions?.style)}set style(V){this._style=V}get styleClass(){return y.Yv.merge(this._styleClass,this.modal?this.overlayResponsiveOptions?.styleClass:this.overlayOptions?.styleClass)}set styleClass(V){this._styleClass=V}get contentStyle(){return y.Yv.merge(this._contentStyle,this.modal?this.overlayResponsiveOptions?.contentStyle:this.overlayOptions?.contentStyle)}set contentStyle(V){this._contentStyle=V}get contentStyleClass(){return y.Yv.merge(this._contentStyleClass,this.modal?this.overlayResponsiveOptions?.contentStyleClass:this.overlayOptions?.contentStyleClass)}set contentStyleClass(V){this._contentStyleClass=V}get target(){const V=this._target||this.overlayOptions?.target;return void 0===V?"@prev":V}set target(V){this._target=V}get appendTo(){return this._appendTo||this.overlayOptions?.appendTo}set appendTo(V){this._appendTo=V}get autoZIndex(){const V=this._autoZIndex||this.overlayOptions?.autoZIndex;return void 0===V||V}set autoZIndex(V){this._autoZIndex=V}get baseZIndex(){const V=this._baseZIndex||this.overlayOptions?.baseZIndex;return void 0===V?0:V}set baseZIndex(V){this._baseZIndex=V}get showTransitionOptions(){const V=this._showTransitionOptions||this.overlayOptions?.showTransitionOptions;return void 0===V?".12s cubic-bezier(0, 0, 0.2, 1)":V}set showTransitionOptions(V){this._showTransitionOptions=V}get hideTransitionOptions(){const V=this._hideTransitionOptions||this.overlayOptions?.hideTransitionOptions;return void 0===V?".1s linear":V}set hideTransitionOptions(V){this._hideTransitionOptions=V}get listener(){return this._listener||this.overlayOptions?.listener}set listener(V){this._listener=V}get responsive(){return this._responsive||this.overlayOptions?.responsive}set responsive(V){this._responsive=V}get options(){return this._options}set options(V){this._options=V}visibleChange=new o._w7;onBeforeShow=new o._w7;onShow=new o._w7;onBeforeHide=new o._w7;onHide=new o._w7;onAnimationStart=new o._w7;onAnimationDone=new o._w7;templates;overlayViewChild;contentViewChild;contentTemplate;_visible=!1;_mode;_style;_styleClass;_contentStyle;_contentStyleClass;_target;_appendTo;_autoZIndex;_baseZIndex;_showTransitionOptions;_hideTransitionOptions;_listener;_responsive;_options;modalVisible=!1;isOverlayClicked=!1;isOverlayContentClicked=!1;scrollHandler;documentClickListener;documentResizeListener;documentKeyboardListener;window;transformOptions={default:"scaleY(0.8)",center:"scale(0.7)",top:"translate3d(0px, -100%, 0px)","top-start":"translate3d(0px, -100%, 0px)","top-end":"translate3d(0px, -100%, 0px)",bottom:"translate3d(0px, 100%, 0px)","bottom-start":"translate3d(0px, 100%, 0px)","bottom-end":"translate3d(0px, 100%, 0px)",left:"translate3d(-100%, 0px, 0px)","left-start":"translate3d(-100%, 0px, 0px)","left-end":"translate3d(-100%, 0px, 0px)",right:"translate3d(100%, 0px, 0px)","right-start":"translate3d(100%, 0px, 0px)","right-end":"translate3d(100%, 0px, 0px)"};get modal(){if((0,d.c0)(this.platformId))return"modal"===this.mode||this.overlayResponsiveOptions&&this.window?.matchMedia(this.overlayResponsiveOptions.media?.replace("@media","")||`(max-width: ${this.overlayResponsiveOptions.breakpoint})`).matches}get overlayMode(){return this.mode||(this.modal?"modal":"overlay")}get overlayOptions(){return{...this.config?.overlayOptions,...this.options}}get overlayResponsiveOptions(){return{...this.overlayOptions?.responsive,...this.responsive}}get overlayResponsiveDirection(){return this.overlayResponsiveOptions?.direction||"center"}get overlayEl(){return this.overlayViewChild?.nativeElement}get contentEl(){return this.contentViewChild?.nativeElement}get targetEl(){return i.k.getTargetElement(this.target,this.el?.nativeElement)}constructor(V,te,be,Fe,Se,ot,_t,pt){this.document=V,this.platformId=te,this.el=be,this.renderer=Fe,this.config=Se,this.overlayService=ot,this.cd=_t,this.zone=pt,this.window=this.document.defaultView}ngAfterContentInit(){this.templates?.forEach(V=>{V.getType(),this.contentTemplate=V.template})}show(V,te=!1){this.onVisibleChange(!0),this.handleEvents("onShow",{overlay:V||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),te&&i.k.focus(this.targetEl),this.modal&&i.k.addClass(this.document?.body,"p-overflow-hidden")}hide(V,te=!1){this.visible&&(this.onVisibleChange(!1),this.handleEvents("onHide",{overlay:V||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),te&&i.k.focus(this.targetEl),this.modal&&i.k.removeClass(this.document?.body,"p-overflow-hidden"))}alignOverlay(){!this.modal&&i.k.alignOverlay(this.overlayEl,this.targetEl,this.appendTo)}onVisibleChange(V){this._visible=V,this.visibleChange.emit(V)}onOverlayClick(){this.isOverlayClicked=!0}onOverlayContentClick(V){this.overlayService.add({originalEvent:V,target:this.targetEl}),this.isOverlayContentClicked=!0}onOverlayContentAnimationStart(V){switch(V.toState){case"visible":this.handleEvents("onBeforeShow",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.autoZIndex&&y.eI.set(this.overlayMode,this.overlayEl,this.baseZIndex+this.config?.zIndex[this.overlayMode]),i.k.appendOverlay(this.overlayEl,"body"===this.appendTo?this.document.body:this.appendTo,this.appendTo),this.alignOverlay();break;case"void":this.handleEvents("onBeforeHide",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.modal&&i.k.addClass(this.overlayEl,"p-component-overlay-leave")}this.handleEvents("onAnimationStart",V)}onOverlayContentAnimationDone(V){const te=this.overlayEl||V.element.parentElement;switch(V.toState){case"visible":this.show(te,!0),this.bindListeners();break;case"void":this.hide(te,!0),this.unbindListeners(),i.k.appendOverlay(this.overlayEl,this.targetEl,this.appendTo),y.eI.clear(te),this.modalVisible=!1,this.cd.markForCheck()}this.handleEvents("onAnimationDone",V)}handleEvents(V,te){this[V].emit(te),this.options&&this.options[V]&&this.options[V](te),this.config?.overlayOptions&&(this.config?.overlayOptions)[V]&&(this.config?.overlayOptions)[V](te)}bindListeners(){this.bindScrollListener(),this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindDocumentKeyboardListener()}unbindListeners(){this.unbindScrollListener(),this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindDocumentKeyboardListener()}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new i.M(this.targetEl,V=>{(!this.listener||this.listener(V,{type:"scroll",mode:this.overlayMode,valid:!0}))&&this.hide(V,!0)})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen(this.document,"click",V=>{const be=!(this.targetEl&&(this.targetEl.isSameNode(V.target)||!this.isOverlayClicked&&this.targetEl.contains(V.target))||this.isOverlayContentClicked);(this.listener?this.listener(V,{type:"outside",mode:this.overlayMode,valid:3!==V.which&&be}):be)&&this.hide(V),this.isOverlayClicked=this.isOverlayContentClicked=!1}))}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){this.documentResizeListener||(this.documentResizeListener=this.renderer.listen(this.window,"resize",V=>{(this.listener?this.listener(V,{type:"resize",mode:this.overlayMode,valid:!i.k.isTouchDevice()}):!i.k.isTouchDevice())&&this.hide(V,!0)}))}unbindDocumentResizeListener(){this.documentResizeListener&&(this.documentResizeListener(),this.documentResizeListener=null)}bindDocumentKeyboardListener(){this.documentKeyboardListener||this.zone.runOutsideAngular(()=>{this.documentKeyboardListener=this.renderer.listen(this.window,"keydown",V=>{!1!==this.overlayOptions.hideOnEscape&&"Escape"===V.code&&(this.listener?this.listener(V,{type:"keydown",mode:this.overlayMode,valid:!i.k.isTouchDevice()}):!i.k.isTouchDevice())&&this.zone.run(()=>{this.hide(V,!0)})})})}unbindDocumentKeyboardListener(){this.documentKeyboardListener&&(this.documentKeyboardListener(),this.documentKeyboardListener=null)}ngOnDestroy(){this.hide(this.overlayEl,!0),this.overlayEl&&(i.k.appendOverlay(this.overlayEl,this.targetEl,this.appendTo),y.eI.clear(this.overlayEl)),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.unbindListeners()}static \u0275fac=function(te){return new(te||g)(o.GI1(d.Ud),o.GI1(o.AHE),o.GI1(o.GMv),o.GI1(o.q87),o.GI1(l.MV),o.GI1(l.Yh),o.GI1(o.kD9),o.GI1(o.WW2))};static \u0275cmp=o.In1({type:g,selectors:[["p-overlay"]],contentQueries:function(te,be,Fe){if(1&te&&o.szK(Fe,l.U3,4),2&te){let Se;o.wto(Se=o.Gqi())&&(be.templates=Se)}},viewQuery:function(te,be){if(1&te&&(o.CC$(_,5),o.CC$(I,5)),2&te){let Fe;o.wto(Fe=o.Gqi())&&(be.overlayViewChild=Fe.first),o.wto(Fe=o.Gqi())&&(be.contentViewChild=Fe.first)}},hostAttrs:[1,"p-element"],inputs:{visible:"visible",mode:"mode",style:"style",styleClass:"styleClass",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",target:"target",appendTo:"appendTo",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",listener:"listener",responsive:"responsive",options:"options"},outputs:{visibleChange:"visibleChange",onBeforeShow:"onBeforeShow",onShow:"onShow",onBeforeHide:"onBeforeHide",onHide:"onHide",onAnimationStart:"onAnimationStart",onAnimationDone:"onAnimationDone"},features:[o.M5G([ke])],ngContentSelectors:j,decls:1,vars:1,consts:[[3,"ngStyle","class","ngClass","click",4,"ngIf"],[3,"ngStyle","ngClass","click"],["overlay",""],["content",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(te,be){1&te&&(o.kPM(),o.yuY(0,_e,3,20,"div",0)),2&te&&o.E7m("ngIf",be.modalVisible)},dependencies:[d.QF,d.u_,d.XV,d.Qt],styles:["@layer primeng{.p-overlay{position:absolute;top:0;left:0}.p-overlay-modal{display:flex;align-items:center;justify-content:center;position:fixed;top:0;left:0;width:100%;height:100%}.p-overlay-content{transform-origin:inherit}.p-overlay-modal>.p-overlay-content{z-index:1;width:90%}.p-overlay-top{align-items:flex-start}.p-overlay-top-start{align-items:flex-start;justify-content:flex-start}.p-overlay-top-end{align-items:flex-start;justify-content:flex-end}.p-overlay-bottom{align-items:flex-end}.p-overlay-bottom-start{align-items:flex-end;justify-content:flex-start}.p-overlay-bottom-end{align-items:flex-end;justify-content:flex-end}.p-overlay-left{justify-content:flex-start}.p-overlay-left-start{justify-content:flex-start;align-items:flex-start}.p-overlay-left-end{justify-content:flex-start;align-items:flex-end}.p-overlay-right{justify-content:flex-end}.p-overlay-right-start{justify-content:flex-end;align-items:flex-start}.p-overlay-right-end{justify-content:flex-end;align-items:flex-end}}\n"],encapsulation:2,data:{animation:[(0,s.gV)("overlayContentAnimation",[(0,s.aK)(":enter",[(0,s.Uj)(rt)]),(0,s.aK)(":leave",[(0,s.Uj)(le)])])]},changeDetection:0})}return g})(),Y=(()=>{class g{static \u0275fac=function(te){return new(te||g)};static \u0275mod=o.a4G({type:g});static \u0275inj=o.s3X({imports:[d.MD,l.kT,l.kT]})}return g})()},5192:(lt,me,u)=>{"use strict";u.d(me,{W:()=>ke,Y:()=>rt});var s=u(9684),d=u(1368),o=u(2116),f=u(5184),l=u(144),i=u(4715),y=u(4520),_=u(4616);function I(le,ye){1&le&&o.C_f(0)}function B(le,ye){1&le&&o.wR5(0,"TimesIcon",8),2&le&&o.E7m("styleClass","p-overlaypanel-close-icon")}function K(le,ye){}function ie(le,ye){1&le&&o.yuY(0,K,0,0,"ng-template")}function oe(le,ye){if(1&le&&(o.I0R(0,"span",9),o.yuY(1,ie,1,0,null,3),o.C$Y()),2&le){const Y=o.GaO(3);o.yG2(),o.E7m("ngTemplateOutlet",Y.closeIconTemplate)}}function Ge(le,ye){if(1&le){const Y=o.KQA();o.I0R(0,"button",5),o.qCj("click",function(X){o.usT(Y);const V=o.GaO(2);return o.CGJ(V.onCloseClick(X))})("keydown.enter",function(){o.usT(Y);const X=o.GaO(2);return o.CGJ(X.hide())}),o.yuY(1,B,1,1,"TimesIcon",6)(2,oe,2,1,"span",7),o.C$Y()}if(2&le){const Y=o.GaO(2);o.e48("aria-label",Y.ariaCloseLabel),o.yG2(),o.E7m("ngIf",!Y.closeIconTemplate),o.yG2(),o.E7m("ngIf",Y.closeIconTemplate)}}const ae=(le,ye)=>({showTransitionParams:le,hideTransitionParams:ye}),Z=(le,ye)=>({value:le,params:ye});function _e(le,ye){if(1&le){const Y=o.KQA();o.I0R(0,"div",1),o.qCj("click",function(X){o.usT(Y);const V=o.GaO();return o.CGJ(V.onOverlayClick(X))})("@animation.start",function(X){o.usT(Y);const V=o.GaO();return o.CGJ(V.onAnimationStart(X))})("@animation.done",function(X){o.usT(Y);const V=o.GaO();return o.CGJ(V.onAnimationEnd(X))}),o.I0R(1,"div",2),o.qCj("click",function(X){o.usT(Y);const V=o.GaO();return o.CGJ(V.onContentClick(X))})("mousedown",function(X){o.usT(Y);const V=o.GaO();return o.CGJ(V.onContentClick(X))}),o._Xx(2),o.yuY(3,I,1,0,"ng-container",3),o.C$Y(),o.yuY(4,Ge,3,3,"button",4),o.C$Y()}if(2&le){const Y=o.GaO();o.m8U(Y.styleClass),o.E7m("ngClass","p-overlaypanel p-component")("ngStyle",Y.style)("@animation",o.IBC(13,Z,Y.overlayVisible?"open":"close",o.IBC(10,ae,Y.showTransitionOptions,Y.hideTransitionOptions))),o.e48("aria-modal",Y.overlayVisible)("aria-label",Y.ariaLabel)("aria-labelledBy",Y.ariaLabelledBy),o.yG2(3),o.E7m("ngTemplateOutlet",Y.contentTemplate),o.yG2(),o.E7m("ngIf",Y.showCloseIcon)}}const j=["*"];let ke=(()=>{class le{document;platformId;el;renderer;cd;zone;config;overlayService;ariaLabel;ariaLabelledBy;dismissable=!0;showCloseIcon;style;styleClass;appendTo="body";autoZIndex=!0;ariaCloseLabel;baseZIndex=0;focusOnShow=!0;showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)";hideTransitionOptions=".1s linear";onShow=new o._w7;onHide=new o._w7;templates;container;overlayVisible=!1;render=!1;isOverlayAnimationInProgress=!1;selfClick=!1;documentClickListener;target;willHide;scrollHandler;documentResizeListener;contentTemplate;closeIconTemplate;destroyCallback;overlayEventListener;overlaySubscription;constructor(Y,g,X,V,te,be,Fe,Se){this.document=Y,this.platformId=g,this.el=X,this.renderer=V,this.cd=te,this.zone=be,this.config=Fe,this.overlayService=Se}ngAfterContentInit(){this.templates?.forEach(Y=>{switch(Y.getType()){case"content":default:this.contentTemplate=Y.template;break;case"closeicon":this.closeIconTemplate=Y.template}this.cd.markForCheck()})}bindDocumentClickListener(){if((0,d.c0)(this.platformId)&&!this.documentClickListener&&this.dismissable){let Y=l.k.isIOS()?"touchstart":"click";this.documentClickListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:this.document,Y,X=>{!this.container?.contains(X.target)&&this.target!==X.target&&!this.target.contains(X.target)&&!this.selfClick&&this.hide(),this.selfClick=!1,this.cd.markForCheck()})}}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null,this.selfClick=!1)}toggle(Y,g){this.isOverlayAnimationInProgress||(this.overlayVisible?(this.hasTargetChanged(Y,g)&&(this.destroyCallback=()=>{this.show(null,g||Y.currentTarget||Y.target)}),this.hide()):this.show(Y,g))}show(Y,g){g&&Y&&Y.stopPropagation(),!this.isOverlayAnimationInProgress&&(this.target=g||Y.currentTarget||Y.target,this.overlayVisible=!0,this.render=!0,this.cd.markForCheck())}onOverlayClick(Y){this.overlayService.add({originalEvent:Y,target:this.el.nativeElement}),this.selfClick=!0}onContentClick(Y){const g=Y.target;this.selfClick=Y.offsetX<g.clientWidth&&Y.offsetY<g.clientHeight}hasTargetChanged(Y,g){return null!=this.target&&this.target!==(g||Y.currentTarget||Y.target)}appendContainer(){this.appendTo&&("body"===this.appendTo?this.renderer.appendChild(this.document.body,this.container):l.k.appendChild(this.container,this.appendTo))}restoreAppend(){this.container&&this.appendTo&&this.renderer.appendChild(this.el.nativeElement,this.container)}align(){this.autoZIndex&&_.eI.set("overlay",this.container,this.baseZIndex+this.config.zIndex.overlay),l.k.absolutePosition(this.container,this.target);const Y=l.k.getOffset(this.container),g=l.k.getOffset(this.target),X=this.document.defaultView?.getComputedStyle(this.container).getPropertyValue("border-radius");let V=0;Y.left<g.left&&(V=g.left-Y.left-2*parseFloat(X)),this.container?.style.setProperty("--overlayArrowLeft",`${V}px`),Y.top<g.top&&(l.k.addClass(this.container,"p-overlaypanel-flipped"),this.showCloseIcon&&this.renderer.setStyle(this.container,"margin-top","-30px"))}onAnimationStart(Y){"open"===Y.toState&&(this.container=Y.element,this.appendContainer(),this.align(),this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindScrollListener(),this.focusOnShow&&this.focus(),this.overlayEventListener=g=>{this.container&&this.container.contains(g.target)&&(this.selfClick=!0)},this.overlaySubscription=this.overlayService.clickObservable.subscribe(this.overlayEventListener),this.onShow.emit(null)),this.isOverlayAnimationInProgress=!0}onAnimationEnd(Y){switch(Y.toState){case"void":this.destroyCallback&&(this.destroyCallback(),this.destroyCallback=null),this.overlaySubscription&&this.overlaySubscription.unsubscribe();break;case"close":this.autoZIndex&&_.eI.clear(this.container),this.overlaySubscription&&this.overlaySubscription.unsubscribe(),this.onContainerDestroy(),this.onHide.emit({}),this.render=!1}this.isOverlayAnimationInProgress=!1}focus(){let Y=l.k.findSingle(this.container,"[autofocus]");Y&&this.zone.runOutsideAngular(()=>{setTimeout(()=>Y.focus(),5)})}hide(){this.overlayVisible=!1,this.cd.markForCheck()}onCloseClick(Y){this.hide(),Y.preventDefault()}onEscapeKeydown(Y){this.hide()}onWindowResize(){this.overlayVisible&&!l.k.isTouchDevice()&&this.hide()}bindDocumentResizeListener(){(0,d.c0)(this.platformId)&&!this.documentResizeListener&&(this.documentResizeListener=this.renderer.listen(this.document.defaultView,"resize",this.onWindowResize.bind(this)))}unbindDocumentResizeListener(){this.documentResizeListener&&(this.documentResizeListener(),this.documentResizeListener=null)}bindScrollListener(){(0,d.c0)(this.platformId)&&(this.scrollHandler||(this.scrollHandler=new l.M(this.target,()=>{this.overlayVisible&&this.hide()})),this.scrollHandler.bindScrollListener())}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}onContainerDestroy(){this.cd.destroyed||(this.target=null),this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindScrollListener()}ngOnDestroy(){this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.container&&this.autoZIndex&&_.eI.clear(this.container),this.cd.destroyed||(this.target=null),this.destroyCallback=null,this.container&&(this.restoreAppend(),this.onContainerDestroy()),this.overlaySubscription&&this.overlaySubscription.unsubscribe()}static \u0275fac=function(g){return new(g||le)(o.GI1(d.Ud),o.GI1(o.AHE),o.GI1(o.GMv),o.GI1(o.q87),o.GI1(o.kD9),o.GI1(o.WW2),o.GI1(f.MV),o.GI1(f.Yh))};static \u0275cmp=o.In1({type:le,selectors:[["p-overlayPanel"]],contentQueries:function(g,X,V){if(1&g&&o.szK(V,f.U3,4),2&g){let te;o.wto(te=o.Gqi())&&(X.templates=te)}},hostAttrs:[1,"p-element"],hostBindings:function(g,X){1&g&&o.qCj("keydown.escape",function(te){return X.onEscapeKeydown(te)},!1,o.wLc)},inputs:{ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",dismissable:"dismissable",showCloseIcon:"showCloseIcon",style:"style",styleClass:"styleClass",appendTo:"appendTo",autoZIndex:"autoZIndex",ariaCloseLabel:"ariaCloseLabel",baseZIndex:"baseZIndex",focusOnShow:"focusOnShow",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions"},outputs:{onShow:"onShow",onHide:"onHide"},ngContentSelectors:j,decls:1,vars:1,consts:[["role","dialog",3,"ngClass","ngStyle","class","click",4,"ngIf"],["role","dialog",3,"ngClass","ngStyle","click"],[1,"p-overlaypanel-content",3,"click","mousedown"],[4,"ngTemplateOutlet"],["type","button","class","p-overlaypanel-close p-link","pRipple","",3,"click","keydown.enter",4,"ngIf"],["type","button","pRipple","",1,"p-overlaypanel-close","p-link",3,"click","keydown.enter"],[3,"styleClass",4,"ngIf"],["class","p-overlaypanel-close-icon",4,"ngIf"],[3,"styleClass"],[1,"p-overlaypanel-close-icon"]],template:function(g,X){1&g&&(o.kPM(),o.yuY(0,_e,5,16,"div",0)),2&g&&o.E7m("ngIf",X.render)},dependencies:()=>[d.QF,d.u_,d.XV,d.Qt,y.I,i.O],styles:['@layer primeng{.p-overlaypanel{position:absolute;margin-top:10px;top:0;left:0}.p-overlaypanel-flipped{margin-top:0;margin-bottom:10px}.p-overlaypanel-close{display:flex;justify-content:center;align-items:center;overflow:hidden;position:relative}.p-overlaypanel:after,.p-overlaypanel:before{bottom:100%;left:calc(var(--overlayArrowLeft, 0) + 1.25rem);content:" ";height:0;width:0;position:absolute;pointer-events:none}.p-overlaypanel:after{border-width:8px;margin-left:-8px}.p-overlaypanel:before{border-width:10px;margin-left:-10px}.p-overlaypanel-shifted:after,.p-overlaypanel-shifted:before{left:auto;right:1.25em;margin-left:auto}.p-overlaypanel-flipped:after,.p-overlaypanel-flipped:before{bottom:auto;top:100%}.p-overlaypanel.p-overlaypanel-flipped:after{border-bottom-color:transparent}.p-overlaypanel.p-overlaypanel-flipped:before{border-bottom-color:transparent}}\n'],encapsulation:2,data:{animation:[(0,s.gV)("animation",[(0,s.K2)("void",(0,s.wb)({transform:"scaleY(0.8)",opacity:0})),(0,s.K2)("close",(0,s.wb)({opacity:0})),(0,s.K2)("open",(0,s.wb)({transform:"translateY(0)",opacity:1})),(0,s.aK)("void => open",(0,s.Cs)("{{showTransitionParams}}")),(0,s.aK)("open => close",(0,s.Cs)("{{hideTransitionParams}}"))])]},changeDetection:0})}return le})(),rt=(()=>{class le{static \u0275fac=function(g){return new(g||le)};static \u0275mod=o.a4G({type:le});static \u0275inj=o.s3X({imports:[d.MD,y.c,f.kT,i.O,f.kT]})}return le})()},4520:(lt,me,u)=>{"use strict";u.d(me,{I:()=>l,c:()=>i});var s=u(1368),d=u(2116),o=u(144),f=u(5184);let l=(()=>{class y{document;platformId;renderer;el;zone;config;constructor(I,B,K,ie,oe,Ge){this.document=I,this.platformId=B,this.renderer=K,this.el=ie,this.zone=oe,this.config=Ge}animationListener;mouseDownListener;timeout;ngAfterViewInit(){(0,s.c0)(this.platformId)&&this.config&&this.config.ripple&&this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.renderer.listen(this.el.nativeElement,"mousedown",this.onMouseDown.bind(this))})}onMouseDown(I){let B=this.getInk();if(!B||"none"===this.document.defaultView?.getComputedStyle(B,null).display)return;if(o.k.removeClass(B,"p-ink-active"),!o.k.getHeight(B)&&!o.k.getWidth(B)){let Ge=Math.max(o.k.getOuterWidth(this.el.nativeElement),o.k.getOuterHeight(this.el.nativeElement));B.style.height=Ge+"px",B.style.width=Ge+"px"}let K=o.k.getOffset(this.el.nativeElement),ie=I.pageX-K.left+this.document.body.scrollTop-o.k.getWidth(B)/2,oe=I.pageY-K.top+this.document.body.scrollLeft-o.k.getHeight(B)/2;this.renderer.setStyle(B,"top",oe+"px"),this.renderer.setStyle(B,"left",ie+"px"),o.k.addClass(B,"p-ink-active"),this.timeout=setTimeout(()=>{let Ge=this.getInk();Ge&&o.k.removeClass(Ge,"p-ink-active")},401)}getInk(){const I=this.el.nativeElement.children;for(let B=0;B<I.length;B++)if("string"==typeof I[B].className&&-1!==I[B].className.indexOf("p-ink"))return I[B];return null}resetInk(){let I=this.getInk();I&&o.k.removeClass(I,"p-ink-active")}onAnimationEnd(I){this.timeout&&clearTimeout(this.timeout),o.k.removeClass(I.currentTarget,"p-ink-active")}create(){let I=this.renderer.createElement("span");this.renderer.addClass(I,"p-ink"),this.renderer.appendChild(this.el.nativeElement,I),this.renderer.setAttribute(I,"aria-hidden","true"),this.renderer.setAttribute(I,"role","presentation"),this.animationListener||(this.animationListener=this.renderer.listen(I,"animationend",this.onAnimationEnd.bind(this)))}remove(){let I=this.getInk();I&&(this.mouseDownListener&&this.mouseDownListener(),this.animationListener&&this.animationListener(),this.mouseDownListener=null,this.animationListener=null,o.k.removeElement(I))}ngOnDestroy(){this.config&&this.config.ripple&&this.remove()}static \u0275fac=function(B){return new(B||y)(d.GI1(s.Ud),d.GI1(d.AHE),d.GI1(d.q87),d.GI1(d.GMv),d.GI1(d.WW2),d.GI1(f.MV,8))};static \u0275dir=d.Sc5({type:y,selectors:[["","pRipple",""]],hostAttrs:[1,"p-ripple","p-element"]})}return y})(),i=(()=>{class y{static \u0275fac=function(B){return new(B||y)};static \u0275mod=d.a4G({type:y});static \u0275inj=d.s3X({imports:[s.MD]})}return y})()},4900:(lt,me,u)=>{"use strict";u.d(me,{a:()=>qe,i:()=>Je});var s=u(1368),d=u(2116),o=u(5184),f=u(144),l=u(1556);const i=["element"],y=["content"];function _(ce,Ae){1&ce&&d.C_f(0)}const I=(ce,Ae)=>({$implicit:ce,options:Ae});function B(ce,Ae){if(1&ce&&(d.SAx(0),d.yuY(1,_,1,0,"ng-container",7),d.k70()),2&ce){const L=d.GaO(2);d.yG2(),d.E7m("ngTemplateOutlet",L.contentTemplate)("ngTemplateOutletContext",d.IBC(2,I,L.loadedItems,L.getContentOptions()))}}function K(ce,Ae){1&ce&&d.C_f(0)}function ie(ce,Ae){if(1&ce&&(d.SAx(0),d.yuY(1,K,1,0,"ng-container",7),d.k70()),2&ce){const L=Ae.$implicit,H=Ae.index,de=d.GaO(3);d.yG2(),d.E7m("ngTemplateOutlet",de.itemTemplate)("ngTemplateOutletContext",d.IBC(2,I,L,de.getOptions(H)))}}const oe=ce=>({"p-scroller-loading":ce});function Ge(ce,Ae){if(1&ce&&(d.I0R(0,"div",8,9),d.yuY(2,ie,2,5,"ng-container",10),d.C$Y()),2&ce){const L=d.GaO(2);d.E7m("ngClass",d.S45(5,oe,L.d_loading))("ngStyle",L.contentStyle),d.e48("data-pc-section","content"),d.yG2(2),d.E7m("ngForOf",L.loadedItems)("ngForTrackBy",L._trackBy||L.index)}}function ae(ce,Ae){if(1&ce&&d.wR5(0,"div",11),2&ce){const L=d.GaO(2);d.E7m("ngStyle",L.spacerStyle),d.e48("data-pc-section","spacer")}}function Z(ce,Ae){1&ce&&d.C_f(0)}const _e=ce=>({numCols:ce}),j=ce=>({options:ce});function ke(ce,Ae){if(1&ce&&(d.SAx(0),d.yuY(1,Z,1,0,"ng-container",7),d.k70()),2&ce){const L=Ae.index,H=d.GaO(4);d.yG2(),d.E7m("ngTemplateOutlet",H.loaderTemplate)("ngTemplateOutletContext",d.S45(4,j,H.getLoaderOptions(L,H.both&&d.S45(2,_e,H._numItemsInViewport.cols))))}}function rt(ce,Ae){if(1&ce&&(d.SAx(0),d.yuY(1,ke,2,6,"ng-container",14),d.k70()),2&ce){const L=d.GaO(3);d.yG2(),d.E7m("ngForOf",L.loaderArr)}}function le(ce,Ae){1&ce&&d.C_f(0)}const ye=()=>({styleClass:"p-scroller-loading-icon"});function Y(ce,Ae){if(1&ce&&(d.SAx(0),d.yuY(1,le,1,0,"ng-container",7),d.k70()),2&ce){const L=d.GaO(4);d.yG2(),d.E7m("ngTemplateOutlet",L.loaderIconTemplate)("ngTemplateOutletContext",d.S45(3,j,d.q4q(2,ye)))}}function g(ce,Ae){1&ce&&d.wR5(0,"SpinnerIcon",16),2&ce&&(d.E7m("styleClass","p-scroller-loading-icon pi-spin"),d.e48("data-pc-section","loadingIcon"))}function X(ce,Ae){if(1&ce&&d.yuY(0,Y,2,5,"ng-container",0)(1,g,1,2,"ng-template",null,15,d.gJz),2&ce){const L=d.Gew(2),H=d.GaO(3);d.E7m("ngIf",H.loaderIconTemplate)("ngIfElse",L)}}const V=ce=>({"p-component-overlay":ce});function te(ce,Ae){if(1&ce&&(d.I0R(0,"div",12),d.yuY(1,rt,2,1,"ng-container",0)(2,X,3,2,"ng-template",null,13,d.gJz),d.C$Y()),2&ce){const L=d.Gew(3),H=d.GaO(2);d.E7m("ngClass",d.S45(4,V,!H.loaderTemplate)),d.e48("data-pc-section","loader"),d.yG2(),d.E7m("ngIf",H.loaderTemplate)("ngIfElse",L)}}const be=(ce,Ae,L)=>({"p-scroller":!0,"p-scroller-inline":ce,"p-both-scroll":Ae,"p-horizontal-scroll":L});function Fe(ce,Ae){if(1&ce){const L=d.KQA();d.SAx(0),d.I0R(1,"div",2,3),d.qCj("scroll",function(de){d.usT(L);const $e=d.GaO();return d.CGJ($e.onContainerScroll(de))}),d.yuY(3,B,2,5,"ng-container",0)(4,Ge,3,7,"ng-template",null,4,d.gJz)(6,ae,1,2,"div",5)(7,te,4,6,"div",6),d.C$Y(),d.k70()}if(2&ce){const L=d.Gew(5),H=d.GaO();d.yG2(),d.m8U(H._styleClass),d.E7m("ngStyle",H._style)("ngClass",d.uAc(12,be,H.inline,H.both,H.horizontal)),d.e48("id",H._id)("tabindex",H.tabindex)("data-pc-name","scroller")("data-pc-section","root"),d.yG2(2),d.E7m("ngIf",H.contentTemplate)("ngIfElse",L),d.yG2(3),d.E7m("ngIf",H._showSpacer),d.yG2(),d.E7m("ngIf",!H.loaderDisabled&&H._showLoader&&H.d_loading)}}function Se(ce,Ae){1&ce&&d.C_f(0)}const ot=(ce,Ae)=>({rows:ce,columns:Ae});function _t(ce,Ae){if(1&ce&&(d.SAx(0),d.yuY(1,Se,1,0,"ng-container",7),d.k70()),2&ce){const L=d.GaO(2);d.yG2(),d.E7m("ngTemplateOutlet",L.contentTemplate)("ngTemplateOutletContext",d.IBC(5,I,L.items,d.IBC(2,ot,L._items,L.loadedColumns)))}}function pt(ce,Ae){if(1&ce&&(d._Xx(0),d.yuY(1,_t,2,8,"ng-container",17)),2&ce){const L=d.GaO();d.yG2(),d.E7m("ngIf",L.contentTemplate)}}const Gt=["*"];let qe=(()=>{class ce{document;platformId;renderer;cd;zone;get id(){return this._id}set id(L){this._id=L}get style(){return this._style}set style(L){this._style=L}get styleClass(){return this._styleClass}set styleClass(L){this._styleClass=L}get tabindex(){return this._tabindex}set tabindex(L){this._tabindex=L}get items(){return this._items}set items(L){this._items=L}get itemSize(){return this._itemSize}set itemSize(L){this._itemSize=L}get scrollHeight(){return this._scrollHeight}set scrollHeight(L){this._scrollHeight=L}get scrollWidth(){return this._scrollWidth}set scrollWidth(L){this._scrollWidth=L}get orientation(){return this._orientation}set orientation(L){this._orientation=L}get step(){return this._step}set step(L){this._step=L}get delay(){return this._delay}set delay(L){this._delay=L}get resizeDelay(){return this._resizeDelay}set resizeDelay(L){this._resizeDelay=L}get appendOnly(){return this._appendOnly}set appendOnly(L){this._appendOnly=L}get inline(){return this._inline}set inline(L){this._inline=L}get lazy(){return this._lazy}set lazy(L){this._lazy=L}get disabled(){return this._disabled}set disabled(L){this._disabled=L}get loaderDisabled(){return this._loaderDisabled}set loaderDisabled(L){this._loaderDisabled=L}get columns(){return this._columns}set columns(L){this._columns=L}get showSpacer(){return this._showSpacer}set showSpacer(L){this._showSpacer=L}get showLoader(){return this._showLoader}set showLoader(L){this._showLoader=L}get numToleratedItems(){return this._numToleratedItems}set numToleratedItems(L){this._numToleratedItems=L}get loading(){return this._loading}set loading(L){this._loading=L}get autoSize(){return this._autoSize}set autoSize(L){this._autoSize=L}get trackBy(){return this._trackBy}set trackBy(L){this._trackBy=L}get options(){return this._options}set options(L){this._options=L,L&&"object"==typeof L&&Object.entries(L).forEach(([H,de])=>this[`_${H}`]!==de&&(this[`_${H}`]=de))}onLazyLoad=new d._w7;onScroll=new d._w7;onScrollIndexChange=new d._w7;elementViewChild;contentViewChild;templates;_id;_style;_styleClass;_tabindex=0;_items;_itemSize=0;_scrollHeight;_scrollWidth;_orientation="vertical";_step=0;_delay=0;_resizeDelay=10;_appendOnly=!1;_inline=!1;_lazy=!1;_disabled=!1;_loaderDisabled=!1;_columns;_showSpacer=!0;_showLoader=!1;_numToleratedItems;_loading;_autoSize=!1;_trackBy;_options;d_loading=!1;d_numToleratedItems;contentEl;contentTemplate;itemTemplate;loaderTemplate;loaderIconTemplate;first=0;last=0;page=0;isRangeChanged=!1;numItemsInViewport=0;lastScrollPos=0;lazyLoadState={};loaderArr=[];spacerStyle={};contentStyle={};scrollTimeout;resizeTimeout;initialized=!1;windowResizeListener;defaultWidth;defaultHeight;defaultContentWidth;defaultContentHeight;get vertical(){return"vertical"===this._orientation}get horizontal(){return"horizontal"===this._orientation}get both(){return"both"===this._orientation}get loadedItems(){return this._items&&!this.d_loading?this.both?this._items.slice(this._appendOnly?0:this.first.rows,this.last.rows).map(L=>this._columns?L:L.slice(this._appendOnly?0:this.first.cols,this.last.cols)):this.horizontal&&this._columns?this._items:this._items.slice(this._appendOnly?0:this.first,this.last):[]}get loadedRows(){return this.d_loading?this._loaderDisabled?this.loaderArr:[]:this.loadedItems}get loadedColumns(){return this._columns&&(this.both||this.horizontal)?this.d_loading&&this._loaderDisabled?this.both?this.loaderArr[0]:this.loaderArr:this._columns.slice(this.both?this.first.cols:this.first,this.both?this.last.cols:this.last):this._columns}constructor(L,H,de,$e,je){this.document=L,this.platformId=H,this.renderer=de,this.cd=$e,this.zone=je}ngOnInit(){this.setInitialState()}ngOnChanges(L){let H=!1;if(L.loading){const{previousValue:de,currentValue:$e}=L.loading;this.lazy&&de!==$e&&$e!==this.d_loading&&(this.d_loading=$e,H=!0)}if(L.orientation&&(this.lastScrollPos=this.both?{top:0,left:0}:0),L.numToleratedItems){const{previousValue:de,currentValue:$e}=L.numToleratedItems;de!==$e&&$e!==this.d_numToleratedItems&&(this.d_numToleratedItems=$e)}if(L.options){const{previousValue:de,currentValue:$e}=L.options;this.lazy&&de?.loading!==$e?.loading&&$e?.loading!==this.d_loading&&(this.d_loading=$e.loading,H=!0),de?.numToleratedItems!==$e?.numToleratedItems&&$e?.numToleratedItems!==this.d_numToleratedItems&&(this.d_numToleratedItems=$e.numToleratedItems)}this.initialized&&!H&&(L.items?.previousValue?.length!==L.items?.currentValue?.length||L.itemSize||L.scrollHeight||L.scrollWidth)&&(this.init(),this.calculateAutoSize())}ngAfterContentInit(){this.templates.forEach(L=>{switch(L.getType()){case"content":this.contentTemplate=L.template;break;case"item":default:this.itemTemplate=L.template;break;case"loader":this.loaderTemplate=L.template;break;case"loadericon":this.loaderIconTemplate=L.template}})}ngAfterViewInit(){Promise.resolve().then(()=>{this.viewInit()})}ngAfterViewChecked(){this.initialized||this.viewInit()}ngOnDestroy(){this.unbindResizeListener(),this.contentEl=null,this.initialized=!1}viewInit(){(0,s.c0)(this.platformId)&&f.k.isVisible(this.elementViewChild?.nativeElement)&&(this.setInitialState(),this.setContentEl(this.contentEl),this.init(),this.defaultWidth=f.k.getWidth(this.elementViewChild?.nativeElement),this.defaultHeight=f.k.getHeight(this.elementViewChild?.nativeElement),this.defaultContentWidth=f.k.getWidth(this.contentEl),this.defaultContentHeight=f.k.getHeight(this.contentEl),this.initialized=!0)}init(){this._disabled||(this.setSize(),this.calculateOptions(),this.setSpacerSize(),this.bindResizeListener(),this.cd.detectChanges())}setContentEl(L){this.contentEl=L||this.contentViewChild?.nativeElement||f.k.findSingle(this.elementViewChild?.nativeElement,".p-scroller-content")}setInitialState(){this.first=this.both?{rows:0,cols:0}:0,this.last=this.both?{rows:0,cols:0}:0,this.numItemsInViewport=this.both?{rows:0,cols:0}:0,this.lastScrollPos=this.both?{top:0,left:0}:0,this.d_loading=this._loading||!1,this.d_numToleratedItems=this._numToleratedItems,this.loaderArr=[],this.spacerStyle={},this.contentStyle={}}getElementRef(){return this.elementViewChild}getPageByFirst(L){return Math.floor(((L??this.first)+4*this.d_numToleratedItems)/(this._step||1))}isPageChanged(L){return!this._step||this.page!==this.getPageByFirst(L??this.first)}scrollTo(L){this.elementViewChild?.nativeElement?.scrollTo(L)}scrollToIndex(L,H="auto"){if(this.both?L.every($e=>$e>-1):L>-1){const $e=this.first,{scrollTop:je=0,scrollLeft:dt=0}=this.elementViewChild?.nativeElement,{numToleratedItems:Et}=this.calculateNumItems(),Ye=this.getContentPosition(),Xe=this.itemSize,z=(Ot=0,Ke)=>Ot<=Ke?0:Ot,xe=(Ot,Ke,Ne)=>Ot*Ke+Ne,Ct=(Ot=0,Ke=0)=>this.scrollTo({left:Ot,top:Ke,behavior:H});let Kt=this.both?{rows:0,cols:0}:0,gt=!1,vt=!1;this.both?(Kt={rows:z(L[0],Et[0]),cols:z(L[1],Et[1])},Ct(xe(Kt.cols,Xe[1],Ye.left),xe(Kt.rows,Xe[0],Ye.top)),vt=this.lastScrollPos.top!==je||this.lastScrollPos.left!==dt,gt=Kt.rows!==$e.rows||Kt.cols!==$e.cols):(Kt=z(L,Et),this.horizontal?Ct(xe(Kt,Xe,Ye.left),je):Ct(dt,xe(Kt,Xe,Ye.top)),vt=this.lastScrollPos!==(this.horizontal?dt:je),gt=Kt!==$e),this.isRangeChanged=gt,vt&&(this.first=Kt)}}scrollInView(L,H,de="auto"){if(H){const{first:$e,viewport:je}=this.getRenderedRange(),dt=(Xe=0,z=0)=>this.scrollTo({left:Xe,top:z,behavior:de}),Ye="to-end"===H;if("to-start"===H){if(this.both)je.first.rows-$e.rows>L[0]?dt(je.first.cols*this._itemSize[1],(je.first.rows-1)*this._itemSize[0]):je.first.cols-$e.cols>L[1]&&dt((je.first.cols-1)*this._itemSize[1],je.first.rows*this._itemSize[0]);else if(je.first-$e>L){const Xe=(je.first-1)*this._itemSize;this.horizontal?dt(Xe,0):dt(0,Xe)}}else if(Ye)if(this.both)je.last.rows-$e.rows<=L[0]+1?dt(je.first.cols*this._itemSize[1],(je.first.rows+1)*this._itemSize[0]):je.last.cols-$e.cols<=L[1]+1&&dt((je.first.cols+1)*this._itemSize[1],je.first.rows*this._itemSize[0]);else if(je.last-$e<=L+1){const Xe=(je.first+1)*this._itemSize;this.horizontal?dt(Xe,0):dt(0,Xe)}}else this.scrollToIndex(L,de)}getRenderedRange(){const L=($e,je)=>Math.floor($e/(je||$e));let H=this.first,de=0;if(this.elementViewChild?.nativeElement){const{scrollTop:$e,scrollLeft:je}=this.elementViewChild.nativeElement;this.both?(H={rows:L($e,this._itemSize[0]),cols:L(je,this._itemSize[1])},de={rows:H.rows+this.numItemsInViewport.rows,cols:H.cols+this.numItemsInViewport.cols}):(H=L(this.horizontal?je:$e,this._itemSize),de=H+this.numItemsInViewport)}return{first:this.first,last:this.last,viewport:{first:H,last:de}}}calculateNumItems(){const L=this.getContentPosition(),H=(this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetWidth-L.left:0)||0,de=(this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetHeight-L.top:0)||0,$e=(Ye,Xe)=>Math.ceil(Ye/(Xe||Ye)),je=Ye=>Math.ceil(Ye/2),dt=this.both?{rows:$e(de,this._itemSize[0]),cols:$e(H,this._itemSize[1])}:$e(this.horizontal?H:de,this._itemSize);return{numItemsInViewport:dt,numToleratedItems:this.d_numToleratedItems||(this.both?[je(dt.rows),je(dt.cols)]:je(dt))}}calculateOptions(){const{numItemsInViewport:L,numToleratedItems:H}=this.calculateNumItems(),de=(dt,Et,Ye,Xe=!1)=>this.getLast(dt+Et+(dt<Ye?2:3)*Ye,Xe),$e=this.first,je=this.both?{rows:de(this.first.rows,L.rows,H[0]),cols:de(this.first.cols,L.cols,H[1],!0)}:de(this.first,L,H);this.last=je,this.numItemsInViewport=L,this.d_numToleratedItems=H,this.showLoader&&(this.loaderArr=this.both?Array.from({length:L.rows}).map(()=>Array.from({length:L.cols})):Array.from({length:L})),this._lazy&&Promise.resolve().then(()=>{this.lazyLoadState={first:this._step?this.both?{rows:0,cols:$e.cols}:0:$e,last:Math.min(this._step?this._step:this.last,this.items.length)},this.handleEvents("onLazyLoad",this.lazyLoadState)})}calculateAutoSize(){this._autoSize&&!this.d_loading&&Promise.resolve().then(()=>{if(this.contentEl){this.contentEl.style.minHeight=this.contentEl.style.minWidth="auto",this.contentEl.style.position="relative",this.elementViewChild.nativeElement.style.contain="none";const[L,H]=[f.k.getWidth(this.contentEl),f.k.getHeight(this.contentEl)];L!==this.defaultContentWidth&&(this.elementViewChild.nativeElement.style.width=""),H!==this.defaultContentHeight&&(this.elementViewChild.nativeElement.style.height="");const[de,$e]=[f.k.getWidth(this.elementViewChild.nativeElement),f.k.getHeight(this.elementViewChild.nativeElement)];(this.both||this.horizontal)&&(this.elementViewChild.nativeElement.style.width=de<this.defaultWidth?de+"px":this._scrollWidth||this.defaultWidth+"px"),(this.both||this.vertical)&&(this.elementViewChild.nativeElement.style.height=$e<this.defaultHeight?$e+"px":this._scrollHeight||this.defaultHeight+"px"),this.contentEl.style.minHeight=this.contentEl.style.minWidth="",this.contentEl.style.position="",this.elementViewChild.nativeElement.style.contain=""}})}getLast(L=0,H=!1){return this._items?Math.min(H?(this._columns||this._items[0]).length:this._items.length,L):0}getContentPosition(){if(this.contentEl){const L=getComputedStyle(this.contentEl),H=parseFloat(L.paddingLeft)+Math.max(parseFloat(L.left)||0,0),de=parseFloat(L.paddingRight)+Math.max(parseFloat(L.right)||0,0),$e=parseFloat(L.paddingTop)+Math.max(parseFloat(L.top)||0,0),je=parseFloat(L.paddingBottom)+Math.max(parseFloat(L.bottom)||0,0);return{left:H,right:de,top:$e,bottom:je,x:H+de,y:$e+je}}return{left:0,right:0,top:0,bottom:0,x:0,y:0}}setSize(){if(this.elementViewChild?.nativeElement){const L=this.elementViewChild.nativeElement.parentElement.parentElement,H=this._scrollWidth||`${this.elementViewChild.nativeElement.offsetWidth||L.offsetWidth}px`,de=this._scrollHeight||`${this.elementViewChild.nativeElement.offsetHeight||L.offsetHeight}px`,$e=(je,dt)=>this.elementViewChild.nativeElement.style[je]=dt;this.both||this.horizontal?($e("height",de),$e("width",H)):$e("height",de)}}setSpacerSize(){if(this._items){const L=this.getContentPosition(),H=(de,$e,je,dt=0)=>this.spacerStyle={...this.spacerStyle,[`${de}`]:($e||[]).length*je+dt+"px"};this.both?(H("height",this._items,this._itemSize[0],L.y),H("width",this._columns||this._items[1],this._itemSize[1],L.x)):this.horizontal?H("width",this._columns||this._items,this._itemSize,L.x):H("height",this._items,this._itemSize,L.y)}}setContentPosition(L){if(this.contentEl&&!this._appendOnly){const H=L?L.first:this.first,de=(je,dt)=>je*dt,$e=(je=0,dt=0)=>this.contentStyle={...this.contentStyle,transform:`translate3d(${je}px, ${dt}px, 0)`};if(this.both)$e(de(H.cols,this._itemSize[1]),de(H.rows,this._itemSize[0]));else{const je=de(H,this._itemSize);this.horizontal?$e(je,0):$e(0,je)}}}onScrollPositionChange(L){const H=L.target,de=this.getContentPosition(),$e=(vt,Ot)=>vt?vt>Ot?vt-Ot:vt:0,je=(vt,Ot)=>Math.floor(vt/(Ot||vt)),dt=(vt,Ot,Ke,Ne,He,Me)=>vt<=He?He:Me?Ke-Ne-He:Ot+He-1,Et=(vt,Ot,Ke,Ne,He,Me,st)=>vt<=Me?0:Math.max(0,st?vt<Ot?Ke:vt-Me:vt>Ot?Ke:vt-2*Me),Ye=(vt,Ot,Ke,Ne,He,Me=!1)=>{let st=Ot+Ne+2*He;return vt>=He&&(st+=He+1),this.getLast(st,Me)},Xe=$e(H.scrollTop,de.top),z=$e(H.scrollLeft,de.left);let xe=this.both?{rows:0,cols:0}:0,Ct=this.last,Kt=!1,gt=this.lastScrollPos;if(this.both){const vt=this.lastScrollPos.top<=Xe,Ot=this.lastScrollPos.left<=z;if(!this._appendOnly||this._appendOnly&&(vt||Ot)){const Ke={rows:je(Xe,this._itemSize[0]),cols:je(z,this._itemSize[1])},Ne={rows:dt(Ke.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],vt),cols:dt(Ke.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],Ot)};xe={rows:Et(Ke.rows,Ne.rows,this.first.rows,0,0,this.d_numToleratedItems[0],vt),cols:Et(Ke.cols,Ne.cols,this.first.cols,0,0,this.d_numToleratedItems[1],Ot)},Ct={rows:Ye(Ke.rows,xe.rows,0,this.numItemsInViewport.rows,this.d_numToleratedItems[0]),cols:Ye(Ke.cols,xe.cols,0,this.numItemsInViewport.cols,this.d_numToleratedItems[1],!0)},Kt=xe.rows!==this.first.rows||Ct.rows!==this.last.rows||xe.cols!==this.first.cols||Ct.cols!==this.last.cols||this.isRangeChanged,gt={top:Xe,left:z}}}else{const vt=this.horizontal?z:Xe,Ot=this.lastScrollPos<=vt;if(!this._appendOnly||this._appendOnly&&Ot){const Ke=je(vt,this._itemSize);xe=Et(Ke,dt(Ke,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,Ot),this.first,0,0,this.d_numToleratedItems,Ot),Ct=Ye(Ke,xe,0,this.numItemsInViewport,this.d_numToleratedItems),Kt=xe!==this.first||Ct!==this.last||this.isRangeChanged,gt=vt}}return{first:xe,last:Ct,isRangeChanged:Kt,scrollPos:gt}}onScrollChange(L){const{first:H,last:de,isRangeChanged:$e,scrollPos:je}=this.onScrollPositionChange(L);if($e){const dt={first:H,last:de};if(this.setContentPosition(dt),this.first=H,this.last=de,this.lastScrollPos=je,this.handleEvents("onScrollIndexChange",dt),this._lazy&&this.isPageChanged(H)){const Et={first:this._step?Math.min(this.getPageByFirst(H)*this._step,this.items.length-this._step):H,last:Math.min(this._step?(this.getPageByFirst(H)+1)*this._step:de,this.items.length)};(this.lazyLoadState.first!==Et.first||this.lazyLoadState.last!==Et.last)&&this.handleEvents("onLazyLoad",Et),this.lazyLoadState=Et}}}onContainerScroll(L){if(this.handleEvents("onScroll",{originalEvent:L}),this._delay&&this.isPageChanged()){if(this.scrollTimeout&&clearTimeout(this.scrollTimeout),!this.d_loading&&this.showLoader){const{isRangeChanged:H}=this.onScrollPositionChange(L);(H||this._step&&this.isPageChanged())&&(this.d_loading=!0,this.cd.detectChanges())}this.scrollTimeout=setTimeout(()=>{this.onScrollChange(L),this.d_loading&&this.showLoader&&(!this._lazy||void 0===this._loading)&&(this.d_loading=!1,this.page=this.getPageByFirst(),this.cd.detectChanges())},this._delay)}else!this.d_loading&&this.onScrollChange(L)}bindResizeListener(){(0,s.c0)(this.platformId)&&(this.windowResizeListener||this.zone.runOutsideAngular(()=>{const L=this.document.defaultView,H=f.k.isTouchDevice()?"orientationchange":"resize";this.windowResizeListener=this.renderer.listen(L,H,this.onWindowResize.bind(this))}))}unbindResizeListener(){this.windowResizeListener&&(this.windowResizeListener(),this.windowResizeListener=null)}onWindowResize(){this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{if(f.k.isVisible(this.elementViewChild?.nativeElement)){const[L,H]=[f.k.getWidth(this.elementViewChild?.nativeElement),f.k.getHeight(this.elementViewChild?.nativeElement)],[de,$e]=[L!==this.defaultWidth,H!==this.defaultHeight];(this.both?de||$e:this.horizontal?de:this.vertical&&$e)&&this.zone.run(()=>{this.d_numToleratedItems=this._numToleratedItems,this.defaultWidth=L,this.defaultHeight=H,this.defaultContentWidth=f.k.getWidth(this.contentEl),this.defaultContentHeight=f.k.getHeight(this.contentEl),this.init()})}},this._resizeDelay)}handleEvents(L,H){return this.options&&this.options[L]?this.options[L](H):this[L].emit(H)}getContentOptions(){return{contentStyleClass:"p-scroller-content "+(this.d_loading?"p-scroller-loading":""),items:this.loadedItems,getItemOptions:L=>this.getOptions(L),loading:this.d_loading,getLoaderOptions:(L,H)=>this.getLoaderOptions(L,H),itemSize:this._itemSize,rows:this.loadedRows,columns:this.loadedColumns,spacerStyle:this.spacerStyle,contentStyle:this.contentStyle,vertical:this.vertical,horizontal:this.horizontal,both:this.both}}getOptions(L){const H=(this._items||[]).length,de=this.both?this.first.rows+L:this.first+L;return{index:de,count:H,first:0===de,last:de===H-1,even:de%2==0,odd:de%2!=0}}getLoaderOptions(L,H){const de=this.loaderArr.length;return{index:L,count:de,first:0===L,last:L===de-1,even:L%2==0,odd:L%2!=0,...H}}static \u0275fac=function(H){return new(H||ce)(d.GI1(s.Ud),d.GI1(d.AHE),d.GI1(d.q87),d.GI1(d.kD9),d.GI1(d.WW2))};static \u0275cmp=d.In1({type:ce,selectors:[["p-scroller"]],contentQueries:function(H,de,$e){if(1&H&&d.szK($e,o.U3,4),2&H){let je;d.wto(je=d.Gqi())&&(de.templates=je)}},viewQuery:function(H,de){if(1&H&&(d.CC$(i,5),d.CC$(y,5)),2&H){let $e;d.wto($e=d.Gqi())&&(de.elementViewChild=$e.first),d.wto($e=d.Gqi())&&(de.contentViewChild=$e.first)}},hostAttrs:[1,"p-scroller-viewport","p-element"],inputs:{id:"id",style:"style",styleClass:"styleClass",tabindex:"tabindex",items:"items",itemSize:"itemSize",scrollHeight:"scrollHeight",scrollWidth:"scrollWidth",orientation:"orientation",step:"step",delay:"delay",resizeDelay:"resizeDelay",appendOnly:"appendOnly",inline:"inline",lazy:"lazy",disabled:"disabled",loaderDisabled:"loaderDisabled",columns:"columns",showSpacer:"showSpacer",showLoader:"showLoader",numToleratedItems:"numToleratedItems",loading:"loading",autoSize:"autoSize",trackBy:"trackBy",options:"options"},outputs:{onLazyLoad:"onLazyLoad",onScroll:"onScroll",onScrollIndexChange:"onScrollIndexChange"},features:[d.SYr],ngContentSelectors:Gt,decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["disabledContainer",""],[3,"ngStyle","ngClass","scroll"],["element",""],["buildInContent",""],["class","p-scroller-spacer",3,"ngStyle",4,"ngIf"],["class","p-scroller-loader",3,"ngClass",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-scroller-content",3,"ngClass","ngStyle"],["content",""],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"p-scroller-spacer",3,"ngStyle"],[1,"p-scroller-loader",3,"ngClass"],["buildInLoader",""],[4,"ngFor","ngForOf"],["buildInLoaderIcon",""],[3,"styleClass"],[4,"ngIf"]],template:function(H,de){if(1&H&&(d.kPM(),d.yuY(0,Fe,8,16,"ng-container",0)(1,pt,2,1,"ng-template",null,1,d.gJz)),2&H){const $e=d.Gew(2);d.E7m("ngIf",!de._disabled)("ngIfElse",$e)}},dependencies:()=>[s.QF,s.ay,s.u_,s.XV,s.Qt,l.i],styles:["@layer primeng{p-scroller{flex:1;outline:0 none}.p-scroller{position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;outline:0 none}.p-scroller-content{position:absolute;top:0;left:0;min-height:100%;min-width:100%;will-change:transform}.p-scroller-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0;pointer-events:none}.p-scroller-loader{position:sticky;top:0;left:0;width:100%;height:100%}.p-scroller-loader.p-component-overlay{display:flex;align-items:center;justify-content:center}.p-scroller-loading-icon{scale:2}.p-scroller-inline .p-scroller-content{position:static}}\n"],encapsulation:2})}return ce})(),Je=(()=>{class ce{static \u0275fac=function(H){return new(H||ce)};static \u0275mod=d.a4G({type:ce});static \u0275inj=d.s3X({imports:[s.MD,o.kT,l.i,o.kT]})}return ce})()},3953:(lt,me,u)=>{"use strict";u.d(me,{E:()=>Fe,M:()=>be});var s=u(9684),d=u(1368),o=u(2116),f=u(5184),l=u(144),i=u(4715),y=u(4520),_=u(4616);function I(Se,ot){1&Se&&o.C_f(0)}function B(Se,ot){if(1&Se&&(o.SAx(0),o.yuY(1,I,1,0,"ng-container",5),o.k70()),2&Se){const _t=o.GaO(2);o.yG2(),o.E7m("ngTemplateOutlet",_t.headlessTemplate)}}function K(Se,ot){1&Se&&o.C_f(0)}function ie(Se,ot){1&Se&&o.wR5(0,"TimesIcon",13),2&Se&&(o.E7m("styleClass","p-sidebar-close-icon"),o.e48("data-pc-section","closeicon"))}function oe(Se,ot){}function Ge(Se,ot){1&Se&&o.yuY(0,oe,0,0,"ng-template")}function ae(Se,ot){if(1&Se&&(o.I0R(0,"span",14),o.yuY(1,Ge,1,0,null,5),o.C$Y()),2&Se){const _t=o.GaO(4);o.e48("data-pc-section","closeicon"),o.yG2(),o.E7m("ngTemplateOutlet",_t.closeIconTemplate)}}function Z(Se,ot){if(1&Se){const _t=o.KQA();o.I0R(0,"button",10),o.qCj("click",function(Gt){o.usT(_t);const qe=o.GaO(3);return o.CGJ(qe.close(Gt))})("keydown.enter",function(Gt){o.usT(_t);const qe=o.GaO(3);return o.CGJ(qe.close(Gt))}),o.yuY(1,ie,1,2,"TimesIcon",11)(2,ae,2,2,"span",12),o.C$Y()}if(2&Se){const _t=o.GaO(3);o.e48("aria-label",_t.ariaCloseLabel)("data-pc-section","closebutton")("data-pc-group-section","iconcontainer"),o.yG2(),o.E7m("ngIf",!_t.closeIconTemplate),o.yG2(),o.E7m("ngIf",_t.closeIconTemplate)}}function _e(Se,ot){1&Se&&o.C_f(0)}function j(Se,ot){1&Se&&o.C_f(0)}function ke(Se,ot){if(1&Se&&(o.SAx(0),o.I0R(1,"div",15),o.yuY(2,j,1,0,"ng-container",5),o.C$Y(),o.k70()),2&Se){const _t=o.GaO(3);o.yG2(),o.e48("data-pc-section","footer"),o.yG2(),o.E7m("ngTemplateOutlet",_t.footerTemplate)}}function rt(Se,ot){if(1&Se&&(o.I0R(0,"div",6),o.yuY(1,K,1,0,"ng-container",5)(2,Z,3,5,"button",7),o.C$Y(),o.I0R(3,"div",8),o._Xx(4),o.yuY(5,_e,1,0,"ng-container",5),o.C$Y(),o.yuY(6,ke,3,2,"ng-container",9)),2&Se){const _t=o.GaO(2);o.e48("data-pc-section","header"),o.yG2(),o.E7m("ngTemplateOutlet",_t.headerTemplate),o.yG2(),o.E7m("ngIf",_t.showCloseIcon),o.yG2(),o.e48("data-pc-section","content"),o.yG2(2),o.E7m("ngTemplateOutlet",_t.contentTemplate),o.yG2(),o.E7m("ngIf",_t.footerTemplate)}}const le=(Se,ot,_t,pt,Gt,qe)=>({"p-sidebar":!0,"p-sidebar-active":Se,"p-sidebar-left":ot,"p-sidebar-right":_t,"p-sidebar-top":pt,"p-sidebar-bottom":Gt,"p-sidebar-full":qe}),ye=(Se,ot)=>({transform:Se,transition:ot}),Y=Se=>({value:"visible",params:Se});function g(Se,ot){if(1&Se){const _t=o.KQA();o.I0R(0,"div",1,2),o.qCj("@panelState.start",function(Gt){o.usT(_t);const qe=o.GaO();return o.CGJ(qe.onAnimationStart(Gt))})("@panelState.done",function(Gt){o.usT(_t);const qe=o.GaO();return o.CGJ(qe.onAnimationEnd(Gt))})("keydown",function(Gt){o.usT(_t);const qe=o.GaO();return o.CGJ(qe.onKeyDown(Gt))}),o.yuY(2,B,2,1,"ng-container",3)(3,rt,7,6,"ng-template",null,4,o.gJz),o.C$Y()}if(2&Se){const _t=o.Gew(4),pt=o.GaO();o.m8U(pt.styleClass),o.E7m("ngClass",o.Gyg(9,le,pt.visible,"left"===pt.position&&!pt.fullScreen,"right"===pt.position&&!pt.fullScreen,"top"===pt.position&&!pt.fullScreen,"bottom"===pt.position&&!pt.fullScreen,pt.fullScreen))("@panelState",o.S45(19,Y,o.IBC(16,ye,pt.transformOptions,pt.transitionOptions)))("ngStyle",pt.style),o.e48("data-pc-name","sidebar")("data-pc-section","root"),o.yG2(2),o.E7m("ngIf",pt.headlessTemplate)("ngIfElse",_t)}}const X=["*"],V=(0,s.OH)([(0,s.wb)({transform:"{{transform}}",opacity:0}),(0,s.Cs)("{{transition}}")]),te=(0,s.OH)([(0,s.Cs)("{{transition}}",(0,s.wb)({transform:"{{transform}}",opacity:0}))]);let be=(()=>{class Se{document;el;renderer;cd;config;appendTo;blockScroll=!1;style;styleClass;ariaCloseLabel;autoZIndex=!0;baseZIndex=0;modal=!0;dismissible=!0;showCloseIcon=!0;closeOnEscape=!0;transitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";get visible(){return this._visible}set visible(_t){this._visible=_t}get position(){return this._position}set position(_t){switch(this._position=_t,_t){case"left":this.transformOptions="translate3d(-100%, 0px, 0px)";break;case"right":this.transformOptions="translate3d(100%, 0px, 0px)";break;case"bottom":this.transformOptions="translate3d(0px, 100%, 0px)";break;case"top":this.transformOptions="translate3d(0px, -100%, 0px)"}}get fullScreen(){return this._fullScreen}set fullScreen(_t){this._fullScreen=_t,_t&&(this.transformOptions="none")}templates;onShow=new o._w7;onHide=new o._w7;visibleChange=new o._w7;initialized;_visible;_position="left";_fullScreen=!1;container;transformOptions="translate3d(-100%, 0px, 0px)";mask;maskClickListener;documentEscapeListener;animationEndListener;contentTemplate;headerTemplate;footerTemplate;closeIconTemplate;headlessTemplate;constructor(_t,pt,Gt,qe,Je){this.document=_t,this.el=pt,this.renderer=Gt,this.cd=qe,this.config=Je}ngAfterViewInit(){this.initialized=!0}ngAfterContentInit(){this.templates?.forEach(_t=>{switch(_t.getType()){case"content":default:this.contentTemplate=_t.template;break;case"header":this.headerTemplate=_t.template;break;case"footer":this.footerTemplate=_t.template;break;case"closeicon":this.closeIconTemplate=_t.template;break;case"headless":this.headlessTemplate=_t.template}})}onKeyDown(_t){"Escape"===_t.code&&this.hide(!1)}show(){this.autoZIndex&&_.eI.set("modal",this.container,this.baseZIndex||this.config.zIndex.modal),this.modal&&this.enableModality(),this.onShow.emit({}),this.visibleChange.emit(!0)}hide(_t=!0){_t&&this.onHide.emit({}),this.modal&&this.disableModality()}close(_t){this.hide(),this.visibleChange.emit(!1),_t.preventDefault()}enableModality(){this.mask||(this.mask=this.renderer.createElement("div"),this.renderer.setStyle(this.mask,"zIndex",String(parseInt(this.container.style.zIndex)-1)),l.k.addMultipleClasses(this.mask,"p-component-overlay p-sidebar-mask p-component-overlay p-component-overlay-enter"),this.dismissible&&(this.maskClickListener=this.renderer.listen(this.mask,"click",_t=>{this.dismissible&&this.close(_t)})),this.renderer.appendChild(this.document.body,this.mask),this.blockScroll&&l.k.blockBodyScroll())}disableModality(){this.mask&&(l.k.addClass(this.mask,"p-component-overlay-leave"),this.animationEndListener=this.renderer.listen(this.mask,"animationend",this.destroyModal.bind(this)))}destroyModal(){this.unbindMaskClickListener(),this.mask&&this.renderer.removeChild(this.document.body,this.mask),this.blockScroll&&l.k.unblockBodyScroll(),this.unbindAnimationEndListener(),this.mask=null}onAnimationStart(_t){"visible"===_t.toState&&(this.container=_t.element,this.appendContainer(),this.show(),this.closeOnEscape&&this.bindDocumentEscapeListener())}onAnimationEnd(_t){"void"===_t.toState&&(this.hide(!1),_.eI.clear(this.container),this.unbindGlobalListeners())}appendContainer(){this.appendTo&&("body"===this.appendTo?this.renderer.appendChild(this.document.body,this.container):l.k.appendChild(this.container,this.appendTo))}bindDocumentEscapeListener(){this.documentEscapeListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:this.document,"keydown",pt=>{27==pt.which&&parseInt(this.container.style.zIndex)===_.eI.get(this.container)&&this.close(pt)})}unbindDocumentEscapeListener(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}unbindGlobalListeners(){this.unbindMaskClickListener(),this.unbindDocumentEscapeListener()}unbindAnimationEndListener(){this.animationEndListener&&this.mask&&(this.animationEndListener(),this.animationEndListener=null)}ngOnDestroy(){this.initialized=!1,this.visible&&this.modal&&this.destroyModal(),this.appendTo&&this.container&&this.renderer.appendChild(this.el.nativeElement,this.container),this.container&&this.autoZIndex&&_.eI.clear(this.container),this.container=null,this.unbindGlobalListeners(),this.unbindAnimationEndListener()}static \u0275fac=function(pt){return new(pt||Se)(o.GI1(d.Ud),o.GI1(o.GMv),o.GI1(o.q87),o.GI1(o.kD9),o.GI1(f.MV))};static \u0275cmp=o.In1({type:Se,selectors:[["p-sidebar"]],contentQueries:function(pt,Gt,qe){if(1&pt&&o.szK(qe,f.U3,4),2&pt){let Je;o.wto(Je=o.Gqi())&&(Gt.templates=Je)}},hostAttrs:[1,"p-element"],inputs:{appendTo:"appendTo",blockScroll:"blockScroll",style:"style",styleClass:"styleClass",ariaCloseLabel:"ariaCloseLabel",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",modal:"modal",dismissible:"dismissible",showCloseIcon:"showCloseIcon",closeOnEscape:"closeOnEscape",transitionOptions:"transitionOptions",visible:"visible",position:"position",fullScreen:"fullScreen"},outputs:{onShow:"onShow",onHide:"onHide",visibleChange:"visibleChange"},ngContentSelectors:X,decls:1,vars:1,consts:[["role","complementary",3,"ngClass","ngStyle","class","keydown",4,"ngIf"],["role","complementary",3,"ngClass","ngStyle","keydown"],["container",""],[4,"ngIf","ngIfElse"],["notHeadless",""],[4,"ngTemplateOutlet"],[1,"p-sidebar-header"],["type","button","class","p-sidebar-close p-sidebar-icon p-link","pRipple","",3,"click","keydown.enter",4,"ngIf"],[1,"p-sidebar-content"],[4,"ngIf"],["type","button","pRipple","",1,"p-sidebar-close","p-sidebar-icon","p-link",3,"click","keydown.enter"],[3,"styleClass",4,"ngIf"],["class","p-sidebar-close-icon",4,"ngIf"],[3,"styleClass"],[1,"p-sidebar-close-icon"],[1,"p-sidebar-footer"]],template:function(pt,Gt){1&pt&&(o.kPM(),o.yuY(0,g,5,21,"div",0)),2&pt&&o.E7m("ngIf",Gt.visible)},dependencies:()=>[d.QF,d.u_,d.XV,d.Qt,y.I,i.O],styles:["@layer primeng{.p-sidebar{position:fixed;transition:transform .3s;display:flex;flex-direction:column}.p-sidebar-content{position:relative;overflow-y:auto;flex-grow:1}.p-sidebar-header{display:flex;align-items:center}.p-sidebar-footer{margin-top:auto}.p-sidebar-icon{display:flex;align-items:center;justify-content:center;margin-left:auto}.p-sidebar-left{top:0;left:0;width:20rem;height:100%}.p-sidebar-right{top:0;right:0;width:20rem;height:100%}.p-sidebar-top{top:0;left:0;width:100%;height:10rem}.p-sidebar-bottom{bottom:0;left:0;width:100%;height:10rem}.p-sidebar-full{width:100%;height:100%;top:0;left:0;-webkit-transition:none;transition:none}.p-sidebar-left.p-sidebar-sm,.p-sidebar-right.p-sidebar-sm{width:20rem}.p-sidebar-left.p-sidebar-md,.p-sidebar-right.p-sidebar-md{width:40rem}.p-sidebar-left.p-sidebar-lg,.p-sidebar-right.p-sidebar-lg{width:60rem}.p-sidebar-top.p-sidebar-sm,.p-sidebar-bottom.p-sidebar-sm{height:10rem}.p-sidebar-top.p-sidebar-md,.p-sidebar-bottom.p-sidebar-md{height:20rem}.p-sidebar-top.p-sidebar-lg,.p-sidebar-bottom.p-sidebar-lg{height:30rem}@media screen and (max-width: 64em){.p-sidebar-left.p-sidebar-lg,.p-sidebar-left.p-sidebar-md,.p-sidebar-right.p-sidebar-lg,.p-sidebar-right.p-sidebar-md{width:20rem}}}\n"],encapsulation:2,data:{animation:[(0,s.gV)("panelState",[(0,s.aK)("void => visible",[(0,s.Uj)(V)]),(0,s.aK)("visible => void",[(0,s.Uj)(te)])])]},changeDetection:0})}return Se})(),Fe=(()=>{class Se{static \u0275fac=function(pt){return new(pt||Se)};static \u0275mod=o.a4G({type:Se});static \u0275inj=o.s3X({imports:[d.MD,y.c,f.kT,i.O,f.kT]})}return Se})()},3340:(lt,me,u)=>{"use strict";u.d(me,{a:()=>y,o:()=>i});var s=u(1368),d=u(2116),o=u(144),f=u(4616),l=u(5184);let i=(()=>{class _{platformId;el;zone;config;renderer;viewContainer;tooltipPosition;tooltipEvent="hover";appendTo;positionStyle;tooltipStyleClass;tooltipZIndex;escape=!0;showDelay;hideDelay;life;positionTop;positionLeft;autoHide=!0;fitContent=!0;hideOnEscape=!0;content;get disabled(){return this._disabled}set disabled(B){this._disabled=B,this.deactivate()}tooltipOptions;_tooltipOptions={tooltipLabel:null,tooltipPosition:"right",tooltipEvent:"hover",appendTo:"body",positionStyle:null,tooltipStyleClass:null,tooltipZIndex:"auto",escape:!0,disabled:null,showDelay:null,hideDelay:null,positionTop:null,positionLeft:null,life:null,autoHide:!0,hideOnEscape:!0,id:(0,f.Oc)()+"_tooltip"};_disabled;container;styleClass;tooltipText;showTimeout;hideTimeout;active;mouseEnterListener;mouseLeaveListener;containerMouseleaveListener;clickListener;focusListener;blurListener;scrollHandler;resizeListener;constructor(B,K,ie,oe,Ge,ae){this.platformId=B,this.el=K,this.zone=ie,this.config=oe,this.renderer=Ge,this.viewContainer=ae}ngAfterViewInit(){(0,s.c0)(this.platformId)&&this.zone.runOutsideAngular(()=>{if("hover"===this.getOption("tooltipEvent"))this.mouseEnterListener=this.onMouseEnter.bind(this),this.mouseLeaveListener=this.onMouseLeave.bind(this),this.clickListener=this.onInputClick.bind(this),this.el.nativeElement.addEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.addEventListener("click",this.clickListener),this.el.nativeElement.addEventListener("mouseleave",this.mouseLeaveListener);else if("focus"===this.getOption("tooltipEvent")){this.focusListener=this.onFocus.bind(this),this.blurListener=this.onBlur.bind(this);let B=this.getTarget(this.el.nativeElement);B.addEventListener("focus",this.focusListener),B.addEventListener("blur",this.blurListener)}})}ngOnChanges(B){B.tooltipPosition&&this.setOption({tooltipPosition:B.tooltipPosition.currentValue}),B.tooltipEvent&&this.setOption({tooltipEvent:B.tooltipEvent.currentValue}),B.appendTo&&this.setOption({appendTo:B.appendTo.currentValue}),B.positionStyle&&this.setOption({positionStyle:B.positionStyle.currentValue}),B.tooltipStyleClass&&this.setOption({tooltipStyleClass:B.tooltipStyleClass.currentValue}),B.tooltipZIndex&&this.setOption({tooltipZIndex:B.tooltipZIndex.currentValue}),B.escape&&this.setOption({escape:B.escape.currentValue}),B.showDelay&&this.setOption({showDelay:B.showDelay.currentValue}),B.hideDelay&&this.setOption({hideDelay:B.hideDelay.currentValue}),B.life&&this.setOption({life:B.life.currentValue}),B.positionTop&&this.setOption({positionTop:B.positionTop.currentValue}),B.positionLeft&&this.setOption({positionLeft:B.positionLeft.currentValue}),B.disabled&&this.setOption({disabled:B.disabled.currentValue}),B.content&&(this.setOption({tooltipLabel:B.content.currentValue}),this.active&&(B.content.currentValue?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide())),B.autoHide&&this.setOption({autoHide:B.autoHide.currentValue}),B.id&&this.setOption({id:B.id.currentValue}),B.tooltipOptions&&(this._tooltipOptions={...this._tooltipOptions,...B.tooltipOptions.currentValue},this.deactivate(),this.active&&(this.getOption("tooltipLabel")?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide()))}isAutoHide(){return this.getOption("autoHide")}onMouseEnter(B){!this.container&&!this.showTimeout&&this.activate()}onMouseLeave(B){(this.isAutoHide()||!(o.k.hasClass(B.relatedTarget,"p-tooltip")||o.k.hasClass(B.relatedTarget,"p-tooltip-text")||o.k.hasClass(B.relatedTarget,"p-tooltip-arrow")))&&this.deactivate()}onFocus(B){this.activate()}onBlur(B){this.deactivate()}onInputClick(B){this.deactivate()}onPressEscape(){this.hideOnEscape&&this.deactivate()}activate(){if(this.active=!0,this.clearHideTimeout(),this.getOption("showDelay")?this.showTimeout=setTimeout(()=>{this.show()},this.getOption("showDelay")):this.show(),this.getOption("life")){let B=this.getOption("showDelay")?this.getOption("life")+this.getOption("showDelay"):this.getOption("life");this.hideTimeout=setTimeout(()=>{this.hide()},B)}}deactivate(){this.active=!1,this.clearShowTimeout(),this.getOption("hideDelay")?(this.clearHideTimeout(),this.hideTimeout=setTimeout(()=>{this.hide()},this.getOption("hideDelay"))):this.hide()}create(){this.container&&(this.clearHideTimeout(),this.remove()),this.container=document.createElement("div"),this.container.setAttribute("id",this.getOption("id")),this.container.setAttribute("role","tooltip");let B=document.createElement("div");B.className="p-tooltip-arrow",this.container.appendChild(B),this.tooltipText=document.createElement("div"),this.tooltipText.className="p-tooltip-text",this.updateText(),this.getOption("positionStyle")&&(this.container.style.position=this.getOption("positionStyle")),this.container.appendChild(this.tooltipText),"body"===this.getOption("appendTo")?document.body.appendChild(this.container):"target"===this.getOption("appendTo")?o.k.appendChild(this.container,this.el.nativeElement):o.k.appendChild(this.container,this.getOption("appendTo")),this.container.style.display="inline-block",this.fitContent&&(this.container.style.width="fit-content"),this.isAutoHide()?this.container.style.pointerEvents="none":(this.container.style.pointerEvents="unset",this.bindContainerMouseleaveListener())}bindContainerMouseleaveListener(){this.containerMouseleaveListener||(this.containerMouseleaveListener=this.renderer.listen(this.container??this.container.nativeElement,"mouseleave",K=>{this.deactivate()}))}unbindContainerMouseleaveListener(){this.containerMouseleaveListener&&(this.bindContainerMouseleaveListener(),this.containerMouseleaveListener=null)}show(){!this.getOption("tooltipLabel")||this.getOption("disabled")||(this.create(),this.align(),o.k.fadeIn(this.container,250),"auto"===this.getOption("tooltipZIndex")?f.eI.set("tooltip",this.container,this.config.zIndex.tooltip):this.container.style.zIndex=this.getOption("tooltipZIndex"),this.bindDocumentResizeListener(),this.bindScrollListener())}hide(){"auto"===this.getOption("tooltipZIndex")&&f.eI.clear(this.container),this.remove()}updateText(){const B=this.getOption("tooltipLabel");if(B instanceof d.Yw2){const K=this.viewContainer.createEmbeddedView(B);K.detectChanges(),K.rootNodes.forEach(ie=>this.tooltipText.appendChild(ie))}else this.getOption("escape")?(this.tooltipText.innerHTML="",this.tooltipText.appendChild(document.createTextNode(B))):this.tooltipText.innerHTML=B}align(){switch(this.getOption("tooltipPosition")){case"top":this.alignTop(),this.isOutOfBounds()&&(this.alignBottom(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&this.alignLeft()));break;case"bottom":this.alignBottom(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&this.alignLeft()));break;case"left":this.alignLeft(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&this.alignBottom()));break;case"right":this.alignRight(),this.isOutOfBounds()&&(this.alignLeft(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&this.alignBottom()))}}getHostOffset(){if("body"===this.getOption("appendTo")||"target"===this.getOption("appendTo")){let B=this.el.nativeElement.getBoundingClientRect();return{left:B.left+o.k.getWindowScrollLeft(),top:B.top+o.k.getWindowScrollTop()}}return{left:0,top:0}}alignRight(){this.preAlign("right");let B=this.getHostOffset(),K=B.left+o.k.getOuterWidth(this.el.nativeElement),ie=B.top+(o.k.getOuterHeight(this.el.nativeElement)-o.k.getOuterHeight(this.container))/2;this.container.style.left=K+this.getOption("positionLeft")+"px",this.container.style.top=ie+this.getOption("positionTop")+"px"}alignLeft(){this.preAlign("left");let B=this.getHostOffset(),K=B.left-o.k.getOuterWidth(this.container),ie=B.top+(o.k.getOuterHeight(this.el.nativeElement)-o.k.getOuterHeight(this.container))/2;this.container.style.left=K+this.getOption("positionLeft")+"px",this.container.style.top=ie+this.getOption("positionTop")+"px"}alignTop(){this.preAlign("top");let B=this.getHostOffset(),K=B.left+(o.k.getOuterWidth(this.el.nativeElement)-o.k.getOuterWidth(this.container))/2,ie=B.top-o.k.getOuterHeight(this.container);this.container.style.left=K+this.getOption("positionLeft")+"px",this.container.style.top=ie+this.getOption("positionTop")+"px"}alignBottom(){this.preAlign("bottom");let B=this.getHostOffset(),K=B.left+(o.k.getOuterWidth(this.el.nativeElement)-o.k.getOuterWidth(this.container))/2,ie=B.top+o.k.getOuterHeight(this.el.nativeElement);this.container.style.left=K+this.getOption("positionLeft")+"px",this.container.style.top=ie+this.getOption("positionTop")+"px"}setOption(B){this._tooltipOptions={...this._tooltipOptions,...B}}getOption(B){return this._tooltipOptions[B]}getTarget(B){return o.k.hasClass(B,"p-inputwrapper")?o.k.findSingle(B,"input"):B}preAlign(B){this.container.style.left="-999px",this.container.style.top="-999px";let K="p-tooltip p-component p-tooltip-"+B;this.container.className=this.getOption("tooltipStyleClass")?K+" "+this.getOption("tooltipStyleClass"):K}isOutOfBounds(){let B=this.container.getBoundingClientRect(),K=B.top,ie=B.left,oe=o.k.getOuterWidth(this.container),Ge=o.k.getOuterHeight(this.container),ae=o.k.getViewport();return ie+oe>ae.width||ie<0||K<0||K+Ge>ae.height}onWindowResize(B){this.hide()}bindDocumentResizeListener(){this.zone.runOutsideAngular(()=>{this.resizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.resizeListener)})}unbindDocumentResizeListener(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new o.M(this.el.nativeElement,()=>{this.container&&this.hide()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}unbindEvents(){if("hover"===this.getOption("tooltipEvent"))this.el.nativeElement.removeEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.removeEventListener("mouseleave",this.mouseLeaveListener),this.el.nativeElement.removeEventListener("click",this.clickListener);else if("focus"===this.getOption("tooltipEvent")){let B=this.getTarget(this.el.nativeElement);B.removeEventListener("focus",this.focusListener),B.removeEventListener("blur",this.blurListener)}this.unbindDocumentResizeListener()}remove(){this.container&&this.container.parentElement&&("body"===this.getOption("appendTo")?document.body.removeChild(this.container):"target"===this.getOption("appendTo")?this.el.nativeElement.removeChild(this.container):o.k.removeChild(this.container,this.getOption("appendTo"))),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.unbindContainerMouseleaveListener(),this.clearTimeouts(),this.container=null,this.scrollHandler=null}clearShowTimeout(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null)}clearHideTimeout(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)}clearTimeouts(){this.clearShowTimeout(),this.clearHideTimeout()}ngOnDestroy(){this.unbindEvents(),this.container&&f.eI.clear(this.container),this.remove(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null)}static \u0275fac=function(K){return new(K||_)(d.GI1(d.AHE),d.GI1(d.GMv),d.GI1(d.WW2),d.GI1(l.MV),d.GI1(d.q87),d.GI1(d.y8U))};static \u0275dir=d.Sc5({type:_,selectors:[["","pTooltip",""]],hostAttrs:[1,"p-element"],hostBindings:function(K,ie){1&K&&d.qCj("keydown.escape",function(Ge){return ie.onPressEscape(Ge)},!1,d.wLc)},inputs:{tooltipPosition:"tooltipPosition",tooltipEvent:"tooltipEvent",appendTo:"appendTo",positionStyle:"positionStyle",tooltipStyleClass:"tooltipStyleClass",tooltipZIndex:"tooltipZIndex",escape:"escape",showDelay:"showDelay",hideDelay:"hideDelay",life:"life",positionTop:"positionTop",positionLeft:"positionLeft",autoHide:"autoHide",fitContent:"fitContent",hideOnEscape:"hideOnEscape",content:[d.Wk5.None,"pTooltip","content"],disabled:[d.Wk5.None,"tooltipDisabled","disabled"],tooltipOptions:"tooltipOptions"},features:[d.SYr]})}return _})(),y=(()=>{class _{static \u0275fac=function(K){return new(K||_)};static \u0275mod=d.a4G({type:_});static \u0275inj=d.s3X({imports:[s.MD]})}return _})()},4616:(lt,me,u)=>{"use strict";u.d(me,{Oc:()=>o,Yv:()=>s,eI:()=>l});class s{static isArray(y,_=!0){return Array.isArray(y)&&(_||0!==y.length)}static isObject(y,_=!0){return"object"==typeof y&&!Array.isArray(y)&&null!=y&&(_||0!==Object.keys(y).length)}static equals(y,_,I){return I?this.resolveFieldData(y,I)===this.resolveFieldData(_,I):this.equalsByValue(y,_)}static equalsByValue(y,_){if(y===_)return!0;if(y&&_&&"object"==typeof y&&"object"==typeof _){var K,ie,oe,I=Array.isArray(y),B=Array.isArray(_);if(I&&B){if((ie=y.length)!=_.length)return!1;for(K=ie;0!=K--;)if(!this.equalsByValue(y[K],_[K]))return!1;return!0}if(I!=B)return!1;var Ge=this.isDate(y),ae=this.isDate(_);if(Ge!=ae)return!1;if(Ge&&ae)return y.getTime()==_.getTime();var Z=y instanceof RegExp,_e=_ instanceof RegExp;if(Z!=_e)return!1;if(Z&&_e)return y.toString()==_.toString();var j=Object.keys(y);if((ie=j.length)!==Object.keys(_).length)return!1;for(K=ie;0!=K--;)if(!Object.prototype.hasOwnProperty.call(_,j[K]))return!1;for(K=ie;0!=K--;)if(!this.equalsByValue(y[oe=j[K]],_[oe]))return!1;return!0}return y!=y&&_!=_}static resolveFieldData(y,_){if(y&&_){if(this.isFunction(_))return _(y);if(-1==_.indexOf("."))return y[_];{let I=_.split("."),B=y;for(let K=0,ie=I.length;K<ie;++K){if(null==B)return null;B=B[I[K]]}return B}}return null}static isFunction(y){return!!(y&&y.constructor&&y.call&&y.apply)}static reorderArray(y,_,I){y&&_!==I&&(I>=y.length&&(I%=y.length,_%=y.length),y.splice(I,0,y.splice(_,1)[0]))}static insertIntoOrderedArray(y,_,I,B){if(I.length>0){let K=!1;for(let ie=0;ie<I.length;ie++)if(this.findIndexInList(I[ie],B)>_){I.splice(ie,0,y),K=!0;break}K||I.push(y)}else I.push(y)}static findIndexInList(y,_){let I=-1;if(_)for(let B=0;B<_.length;B++)if(_[B]==y){I=B;break}return I}static contains(y,_){if(null!=y&&_&&_.length)for(let I of _)if(this.equals(y,I))return!0;return!1}static removeAccents(y){return y&&(y=y.normalize("NFKD").replace(new RegExp("\\p{Diacritic}","gu"),"")),y}static isDate(y){return"[object Date]"===Object.prototype.toString.call(y)}static isEmpty(y){return null==y||""===y||Array.isArray(y)&&0===y.length||!this.isDate(y)&&"object"==typeof y&&0===Object.keys(y).length}static isNotEmpty(y){return!this.isEmpty(y)}static compare(y,_,I,B=1){let K=-1;const ie=this.isEmpty(y),oe=this.isEmpty(_);return K=ie&&oe?0:ie?B:oe?-B:"string"==typeof y&&"string"==typeof _?y.localeCompare(_,I,{numeric:!0}):y<_?-1:y>_?1:0,K}static sort(y,_,I=1,B,K=1){const ie=s.compare(y,_,B,I);let oe=I;return(s.isEmpty(y)||s.isEmpty(_))&&(oe=1===K?I:K),oe*ie}static merge(y,_){if(null!=y||null!=_)return null!=y&&"object"!=typeof y||null!=_&&"object"!=typeof _?null!=y&&"string"!=typeof y||null!=_&&"string"!=typeof _?_||y:[y||"",_||""].join(" "):{...y||{},..._||{}}}static isPrintableCharacter(y=""){return this.isNotEmpty(y)&&1===y.length&&y.match(/\S| /)}static getItemValue(y,..._){return this.isFunction(y)?y(..._):y}static findLastIndex(y,_){let I=-1;if(this.isNotEmpty(y))try{I=y.findLastIndex(_)}catch{I=y.lastIndexOf([...y].reverse().find(_))}return I}static findLast(y,_){let I;if(this.isNotEmpty(y))try{I=y.findLast(_)}catch{I=[...y].reverse().find(_)}return I}static deepEquals(y,_){if(y===_)return!0;if(y&&_&&"object"==typeof y&&"object"==typeof _){var K,ie,oe,I=Array.isArray(y),B=Array.isArray(_);if(I&&B){if((ie=y.length)!=_.length)return!1;for(K=ie;0!=K--;)if(!this.deepEquals(y[K],_[K]))return!1;return!0}if(I!=B)return!1;var Ge=y instanceof Date,ae=_ instanceof Date;if(Ge!=ae)return!1;if(Ge&&ae)return y.getTime()==_.getTime();var Z=y instanceof RegExp,_e=_ instanceof RegExp;if(Z!=_e)return!1;if(Z&&_e)return y.toString()==_.toString();var j=Object.keys(y);if((ie=j.length)!==Object.keys(_).length)return!1;for(K=ie;0!=K--;)if(!Object.prototype.hasOwnProperty.call(_,j[K]))return!1;for(K=ie;0!=K--;)if(!this.deepEquals(y[oe=j[K]],_[oe]))return!1;return!0}return y!=y&&_!=_}}var d=0;function o(i="pn_id_"){return`${i}${++d}`}var l=function f(){let i=[];const B=K=>K&&parseInt(K.style.zIndex,10)||0;return{get:B,set:(K,ie,oe)=>{ie&&(ie.style.zIndex=String(((K,ie)=>{let oe=i.length>0?i[i.length-1]:{key:K,value:ie},Ge=oe.value+(oe.key===K?0:ie)+2;return i.push({key:K,value:Ge}),Ge})(K,oe)))},clear:K=>{K&&((K=>{i=i.filter(ie=>ie.value!==K)})(B(K)),K.style.zIndex="")},getCurrent:()=>i.length>0?i[i.length-1].value:0}}()},1316:(lt,me,u)=>{"use strict";function ie(Je,ce,Ae,L){return new(Ae||(Ae=Promise))(function(de,$e){function je(Ye){try{Et(L.next(Ye))}catch(Xe){$e(Xe)}}function dt(Ye){try{Et(L.throw(Ye))}catch(Xe){$e(Xe)}}function Et(Ye){Ye.done?de(Ye.value):function H(de){return de instanceof Ae?de:new Ae(function($e){$e(de)})}(Ye.value).then(je,dt)}Et((L=L.apply(Je,ce||[])).next())})}function le(Je){return this instanceof le?(this.v=Je,this):new le(Je)}function ye(Je,ce,Ae){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var H,L=Ae.apply(Je,ce||[]),de=[];return H={},$e("next"),$e("throw"),$e("return"),H[Symbol.asyncIterator]=function(){return this},H;function $e(z){L[z]&&(H[z]=function(xe){return new Promise(function(Ct,Kt){de.push([z,xe,Ct,Kt])>1||je(z,xe)})})}function je(z,xe){try{!function dt(z){z.value instanceof le?Promise.resolve(z.value.v).then(Et,Ye):Xe(de[0][2],z)}(L[z](xe))}catch(Ct){Xe(de[0][3],Ct)}}function Et(z){je("next",z)}function Ye(z){je("throw",z)}function Xe(z,xe){z(xe),de.shift(),de.length&&je(de[0][0],de[0][1])}}function g(Je){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ae,ce=Je[Symbol.asyncIterator];return ce?ce.call(Je):(Je=function Z(Je){var ce="function"==typeof Symbol&&Symbol.iterator,Ae=ce&&Je[ce],L=0;if(Ae)return Ae.call(Je);if(Je&&"number"==typeof Je.length)return{next:function(){return Je&&L>=Je.length&&(Je=void 0),{value:Je&&Je[L++],done:!Je}}};throw new TypeError(ce?"Object is not iterable.":"Symbol.iterator is not defined.")}(Je),Ae={},L("next"),L("throw"),L("return"),Ae[Symbol.asyncIterator]=function(){return this},Ae);function L(de){Ae[de]=Je[de]&&function($e){return new Promise(function(je,dt){!function H(de,$e,je,dt){Promise.resolve(dt).then(function(Et){de({value:Et,done:je})},$e)}(je,dt,($e=Je[de]($e)).done,$e.value)})}}}u.d(me,{U1:()=>le,kH:()=>ie,mA:()=>g,o7:()=>ye}),"function"==typeof SuppressedError&&SuppressedError}},lt=>{lt(lt.s=2052)}]);