-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathmain.091e74a6cc56bce0.js
More file actions
29 lines (29 loc) · 448 KB
/
main.091e74a6cc56bce0.js
File metadata and controls
29 lines (29 loc) · 448 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
"use strict";(self.webpackChunksite=self.webpackChunksite||[]).push([["main"],{5733:(Ue,q,_)=>{_.d(q,{bL:()=>he,Yp:()=>Te,Zg:()=>re,cH:()=>W,xx:()=>V});var p=_(7367),o=_(745),j=_(2673),H=_(9337),x=_(635),L=_(3158),N=_(2010);function P(Oe,Ge={}){let Ke=function(Oe){return Oe.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}(Oe);return Ge.preserveSpaces&&(Ke=Ke.replace(/ /g,"  ")),Ge.preserveNewlines&&(Ke=Ke.replace(/(\r\n|\n|\r)/g,"<br />")),(0,N.fS)(Ke)}var z=_(1285),X=_(3184),J=_(4541),G=_(8784),Z=_(5370);const V="file-not-found",W="fetching-error",he="generated/",Te=he+"docs/",Ce=Oe=>(0,z.Kw)(`\n <div class="nf-container l-flex-wrap flex-center">\n <div class="nf-icon material-icons">error_outline</div>\n <div class="nf-response l-flex-wrap center">\n <h1 class="no-toc">\u8bf7\u6c42\u6587\u6863\u5931\u8d25</h1>\n <p>\n \u62b1\u6b49\uff0c\u8fd9\u6b21\u6211\u4eec\u6ca1\u80fd\u53d6\u5230 "${P(Oe)}" \u9875\u3002\u8bf7\u68c0\u67e5\u4f60\u7684\u7f51\u7edc\u8fde\u63a5\uff0c\u7a0d\u540e\u518d\u8bd5\u3002\n </p>\n </div>\n </div>\n`,"inline HTML with interpolations escaped");let re=(()=>{class Oe{constructor(Ke,me,be){this.logger=Ke,this.http=me,this.cache=new Map,this.currentDocument=be.currentPath.pipe((0,j.w)(Se=>this.getDocument(Se)))}getDocument(Ke){const me=Ke||"index";return this.logger.log("getting document",me),this.cache.has(me)||this.cache.set(me,this.fetchDocument(me)),this.cache.get(me)}fetchDocument(Ke){const me=`${Te}${function(Oe){return Oe.replace(/[A-Z_]/g,Ge=>Ge.toLowerCase()+"_")}(Ke)}.json`,be=new p.c;return this.logger.log("fetching document from",me),this.http.get(me,{responseType:"json"}).pipe((0,H.b)(Se=>{if(!Se||"object"!=typeof Se)throw this.logger.log("received invalid data:",Se),Error("Invalid data")}),(0,x.U)(Se=>({id:Se.id,contents:null===Se.contents?null:(0,z.Kw)(Se.contents,"^")})),(0,L.K)(Se=>404===Se.status?this.getFileNotFoundDoc(Ke):this.getErrorDoc(Ke,Se))).subscribe(be),be.asObservable()}getFileNotFoundDoc(Ke){return Ke!==V?(this.logger.error(new Error(`Document file not found at '${Ke}'`)),this.getDocument(V)):(0,o.of)({id:V,contents:P("\u6587\u6863\u672a\u627e\u5230")})}getErrorDoc(Ke,me){return this.logger.error(new Error(`Error fetching document '${Ke}': (${me.message})`)),this.cache.delete(Ke),(0,o.of)({id:W,contents:Ce(Ke)})}}return Oe.\u0275fac=function(Ke){return new(Ke||Oe)(X.LFG(J.Y),X.LFG(G.eN),X.LFG(Z.a))},Oe.\u0275prov=X.Yz7({token:Oe,factory:Oe.\u0275fac}),Oe})()},5832:(Ue,q,_)=>{_.d(q,{o:()=>G});var p=_(3336),o=_(4987);const{isArray:j}=Array;var x=_(3945);var P=_(6067),U=_(5524),F=_(155),A=_(3853),z=_(8917);class X{constructor(V,W){this.worker=V,this.zone=W,this.nextId=0}static create(V,W){return new X(V,W)}sendMessage(V,W){return new p.y(he=>{const Te=this.nextId++,Ce=De=>{const{type:Oe,id:Ge,payload:Ke}=De.data;V===Oe&&Te===Ge&&this.zone.run(()=>{he.next(Ke),he.complete()})},re=De=>{this.zone.run(()=>he.error(De))};return this.worker.addEventListener("message",Ce),this.worker.addEventListener("error",re),this.worker.postMessage({type:V,id:Te,payload:W}),()=>{this.worker.removeEventListener("message",Ce),this.worker.removeEventListener("error",re)}})}}var J=_(3184);let G=(()=>{class Z{constructor(W){this.zone=W,this.searchesSubject=new P.t(1)}initWorker(W){const he=this.ready=function(...Z){return 1===(Z=function(Z){return 1===Z.length&&j(Z[0])?Z[0]:Z}(Z)).length?(0,o.Xf)(Z[0]):new p.y(function(Z){return V=>{let W=[];for(let he=0;W&&!V.closed&&he<Z.length;he++)W.push((0,o.Xf)(Z[he]).subscribe(new x.Q(V,Te=>{if(W){for(let Ce=0;Ce<W.length;Ce++)Ce!==he&&W[Ce].unsubscribe();W=null}V.next(Te)})))}}(Z))}((0,U.H)(W),this.searchesSubject.asObservable().pipe((0,F.P)())).pipe((0,A.b)(()=>{const Te=new Worker(_.tu(new URL(_.p+_.u("src_app_search_search_worker_ts"),_.b)),{type:void 0});return this.worker=X.create(Te,this.zone),this.worker.sendMessage("load-index")}),(0,z._)(1));return he.connect(),he}search(W){return this.searchesSubject.next(W),this.ready.pipe((0,A.b)(()=>this.worker.sendMessage("query-index",W)))}}return Z.\u0275fac=function(W){return new(W||Z)(J.LFG(J.R0b))},Z.\u0275prov=J.Yz7({token:Z,factory:Z.\u0275fac}),Z})()},3964:(Ue,q,_)=>{_.d(q,{O:()=>H});var p=_(2340),o=_(4783),j=_(3184);let H=(()=>{class x{constructor(N){this.window=N,this.ga("create",p.N.gaId,"auto")}locationChanged(N){this.sendPage(N)}sendPage(N){N!==this.previousUrl&&(this.previousUrl=N,this.ga("set","page","/"+N),this.ga("send","pageview"))}sendEvent(N,P,U,F){this.ga("send","event",N,P,U,F)}ga(...N){const P=this.window.ga;P&&P(...N)}}return x.\u0275fac=function(N){return new(N||x)(j.LFG(o.R))},x.\u0275prov=j.Yz7({token:x,factory:x.\u0275fac}),x})()},5370:(Ue,q,_)=>{_.d(q,{a:()=>P});var p=_(6067),o=_(635),j=_(9337),H=_(3184),x=_(3964),L=_(6362),N=_(9026);let P=(()=>{class U{constructor(A,z,X,J){this.gaService=A,this.location=z,this.scrollService=X,this.platformLocation=J,this.urlParser=document.createElement("a"),this.urlSubject=new p.t(1),this.fullPageNavigation=!1,this.currentUrl=this.urlSubject.pipe((0,o.U)(G=>this.stripSlashes(G))),this.currentPath=this.currentUrl.pipe((0,o.U)(G=>(G.match(/[^?#]*/)||[])[0]),(0,j.b)(G=>this.gaService.locationChanged(G))),this.urlSubject.next(z.path(!0)),this.location.subscribe(G=>this.urlSubject.next(G.url||""))}fullPageNavigationNeeded(){this.fullPageNavigation=!0}go(A){!A||(A=this.stripSlashes(A),/^http/.test(A)?this.goExternal(A):this.fullPageNavigation?(this.scrollService.removeStoredScrollInfo(),this.goExternal(A)):(this.location.go(A),this.urlSubject.next(A)))}goExternal(A){window.location.assign(A)}replace(A){window.location.replace(A)}reloadPage(){window.location.reload()}stripSlashes(A){return A.replace(/^\/+/,"").replace(/\/+(\?|#|$)/,"$1")}search(){const A={},z=this.location.path(),X=z.indexOf("?");if(X>-1)try{z.substr(X+1).split("&").forEach(G=>{const Z=G.split("=");Z[0]&&(A[decodeURIComponent(Z[0])]=Z[1]&&decodeURIComponent(Z[1]))})}catch(J){}return A}setSearch(A,z){const X=Object.keys(z).reduce((J,G)=>{const Z=z[G];return void 0===Z?J:J+=(J?"&":"?")+`${encodeURIComponent(G)}=${encodeURIComponent(Z)}`},"");this.platformLocation.replaceState({},A,this.platformLocation.pathname+X)}handleAnchorClick(A,z=0,X=!1,J=!1){var G,Z;if(0!==z||X||J)return!0;const V=A.target;if(V&&"_self"!==V||null!=A.getAttribute("download"))return!0;const{pathname:W,search:he,hash:Te}=A,Ce=null!==(Z=null===(G=A.getAttribute("href"))||void 0===G?void 0:G.startsWith("#"))&&void 0!==Z&&Z,De=(Ce?this.location.path():W)+he+Te;return this.urlParser.href=De,!Ce&&A.href!==this.urlParser.href||!/\/[^/.]*$/.test(W)||(this.go(De),!1)}}return U.\u0275fac=function(A){return new(A||U)(H.LFG(x.O),H.LFG(L.Ye),H.LFG(N.a),H.LFG(L.lw))},U.\u0275prov=H.Yz7({token:U,factory:U.\u0275fac}),U})()},4541:(Ue,q,_)=>{_.d(q,{Y:()=>j});var p=_(2340),o=_(3184);let j=(()=>{class H{constructor(L){this.errorHandler=L}log(L,...N){p.N.production||console.log(L,...N)}error(L){this.errorHandler.handleError(L)}warn(L,...N){console.warn(L,...N)}}return H.\u0275fac=function(L){return new(L||H)(o.LFG(o.qLn))},H.\u0275prov=o.Yz7({token:H,factory:H.\u0275fac}),H})()},4727:(Ue,q,_)=>{_.d(q,{f_:()=>z});var p=_(6362),o=_(6067),j=_(253),H=_(3280),x=_(9211),L=_(8951),N=_(8977),P=_(3184),U=_(9026);class F{constructor(J,G){this.element=J,this.index=G,this.top=0}calculateTop(J,G){this.top=J+this.element.getBoundingClientRect().top-G}}class A{constructor(J){this.activeScrollItem=new o.t(1),this.spiedElements=J.map((G,Z)=>new F(G,Z))}calibrate(J,G){this.spiedElements.forEach(Z=>Z.calculateTop(J,G)),this.spiedElements.sort((Z,V)=>V.top-Z.top)}onScroll(J,G){let Z;J+1>=G?Z=this.spiedElements[0]:this.spiedElements.some(V=>V.top<=J&&(Z=V,!0)),this.activeScrollItem.next(Z||null)}}let z=(()=>{class X{constructor(G,Z){this.doc=G,this.scrollService=Z,this.spiedElementGroups=[],this.onStopListening=new j.x,this.resizeEvents=(0,H.R)(window,"resize").pipe((0,x.e)(300),(0,L.R)(this.onStopListening)),this.scrollEvents=(0,H.R)(window,"scroll").pipe((0,x.e)(10),(0,L.R)(this.onStopListening))}spyOn(G){this.spiedElementGroups.length||(this.resizeEvents.subscribe(()=>this.onResize()),this.scrollEvents.subscribe(()=>this.onScroll()),this.onResize());const Z=this.getScrollTop(),V=this.getTopOffset(),W=this.lastMaxScrollTop,he=new A(G);return he.calibrate(Z,V),he.onScroll(Z,W),this.spiedElementGroups.push(he),{active:he.activeScrollItem.asObservable().pipe((0,N.x)()),unspy:()=>this.unspy(he)}}getContentHeight(){return this.doc.body.scrollHeight||Number.MAX_SAFE_INTEGER}getScrollTop(){return window&&window.pageYOffset||0}getTopOffset(){return this.scrollService.topOffset+50}getViewportHeight(){return this.doc.body.clientHeight||0}onResize(){const G=this.getContentHeight(),Z=this.getViewportHeight(),V=this.getScrollTop(),W=this.getTopOffset();this.lastContentHeight=G,this.lastMaxScrollTop=G-Z,this.spiedElementGroups.forEach(he=>he.calibrate(V,W))}onScroll(){this.lastContentHeight!==this.getContentHeight()&&this.onResize();const G=this.getScrollTop(),Z=this.lastMaxScrollTop;this.spiedElementGroups.forEach(V=>V.onScroll(G,Z))}unspy(G){G.activeScrollItem.complete(),this.spiedElementGroups=this.spiedElementGroups.filter(Z=>Z!==G),this.spiedElementGroups.length||this.onStopListening.next()}}return X.\u0275fac=function(G){return new(G||X)(P.LFG(p.K0),P.LFG(U.a))},X.\u0275prov=P.Yz7({token:X,factory:X.\u0275fac}),X})()},9026:(Ue,q,_)=>{_.d(q,{a:()=>U});var p=_(6362),o=_(253),j=_(3280),H=_(8951),x=_(1989),L=_(6945),N=_(3184);let U=(()=>{class A{constructor(X,J,G,Z,V){if(this.document=X,this.platformLocation=J,this.viewportScroller=G,this.location=Z,this.storage=V,this.onDestroy=new o.x,this.poppedStateScrollPosition=null,this.supportManualScrollRestoration=!!window&&"scrollTo"in window&&"pageXOffset"in window&&function(){const A=Object.getOwnPropertyDescriptor(history,"scrollRestoration")||Object.getOwnPropertyDescriptor(Object.getPrototypeOf(history),"scrollRestoration");return void 0!==A&&!(!A.writable&&!A.set)}(),(0,j.R)(window,"resize").pipe((0,H.R)(this.onDestroy)).subscribe(()=>this._topOffset=null),(0,j.R)(window,"scroll").pipe((0,x.b)(250),(0,H.R)(this.onDestroy)).subscribe(()=>this.updateScrollPositionInHistory()),(0,j.R)(window,"beforeunload").pipe((0,H.R)(this.onDestroy)).subscribe(()=>this.updateScrollLocationHref()),this.supportManualScrollRestoration){history.scrollRestoration="manual";const W=this.location.subscribe(he=>{"hashchange"===he.type?this.scrollToPosition():(this.removeStoredScrollInfo(),this.poppedStateScrollPosition=he.state?he.state.scrollPosition:null)});this.onDestroy.subscribe(()=>W.unsubscribe())}window.location.href!==this.getStoredScrollLocationHref()&&this.removeStoredScrollInfo()}get topOffset(){if(!this._topOffset){const X=this.document.querySelector(".app-toolbar");this._topOffset=(X&&X.clientHeight||0)+16}return this._topOffset}get topOfPageElement(){return this._topOfPageElement||(this._topOfPageElement=this.document.getElementById("top-of-page")||this.document.body),this._topOfPageElement}ngOnDestroy(){this.onDestroy.next()}scroll(){var X;const J=this.getCurrentHash(),G=J?null!==(X=this.document.getElementById(J))&&void 0!==X?X:null:this.topOfPageElement;this.scrollToElement(G)}isLocationWithHash(){return!!this.getCurrentHash()}scrollAfterRender(X){const J=this.getStoredScrollPosition();J?this.viewportScroller.scrollToPosition(J):this.needToFixScrollPosition()?this.scrollToPosition():this.isLocationWithHash()?setTimeout(()=>this.scroll(),X):this.scrollToTop()}scrollToElement(X){var J;X&&(X.scrollIntoView(),null===(J=X.focus)||void 0===J||J.call(X),window&&window.scrollBy&&(window.scrollBy(0,X.getBoundingClientRect().top-this.topOffset),window.pageYOffset<20&&window.scrollBy(0,-window.pageYOffset)))}scrollToTop(){this.scrollToElement(this.topOfPageElement)}scrollToPosition(){this.poppedStateScrollPosition&&(this.viewportScroller.scrollToPosition(this.poppedStateScrollPosition),this.poppedStateScrollPosition=null)}updateScrollLocationHref(){this.storage.setItem("scrollLocationHref",window.location.href)}updateScrollPositionInHistory(){if(this.supportManualScrollRestoration){const X=this.viewportScroller.getScrollPosition();this.location.replaceState(this.location.path(!0),void 0,{scrollPosition:X}),this.storage.setItem("scrollPosition",X.join(","))}}getStoredScrollLocationHref(){return this.storage.getItem("scrollLocationHref")||null}getStoredScrollPosition(){const X=this.storage.getItem("scrollPosition");if(!X)return null;const[J,G]=X.split(",");return[+J,+G]}removeStoredScrollInfo(){this.storage.removeItem("scrollLocationHref"),this.storage.removeItem("scrollPosition")}needToFixScrollPosition(){return this.supportManualScrollRestoration&&!!this.poppedStateScrollPosition}getCurrentHash(){return decodeURIComponent(this.platformLocation.hash.replace(/^#/,""))}}return A.\u0275fac=function(X){return new(X||A)(N.LFG(p.K0),N.LFG(p.lw),N.LFG(p.EM),N.LFG(p.Ye),N.LFG(L.xg))},A.\u0275prov=N.Yz7({token:A,factory:A.\u0275fac}),A})()},26:(Ue,q,_)=>{_.d(q,{G:()=>z});var p=_(3184),o=_(6362);function j(G,Z){1&G&&(p.ynx(0),p.TgZ(1,"p",2),p._uU(2,"Searching ..."),p.qZA(),p.BQk())}function H(G,Z){if(1&G&&p._UZ(0,"span"),2&G){const V=p.oxw().$implicit;p.Gre("symbol ",V.type,"")}}function x(G,Z){if(1&G){const V=p.EpF();p.TgZ(0,"li",9),p.TgZ(1,"a",10),p.NdJ("click",function(he){const Ce=p.CHM(V).$implicit;return p.oxw(3).onResultSelected(Ce,he)}),p.YNc(2,H,1,3,"span",11),p.TgZ(3,"span"),p._uU(4),p.qZA(),p.qZA(),p.qZA()}if(2&G){const V=Z.$implicit,W=p.oxw().$implicit;p.xp6(1),p.s9C("href",V.path,p.LSH),p.xp6(1),p.Q6J("ngIf","api"===W.name),p.xp6(1),p.ekj("deprecated-api-item",V.deprecated),p.xp6(1),p.Oqu(V.title)}}function L(G,Z){if(1&G&&p._UZ(0,"span"),2&G){const V=p.oxw().$implicit;p.Gre("symbol ",V.type,"")}}function N(G,Z){if(1&G){const V=p.EpF();p.TgZ(0,"li",9),p.TgZ(1,"a",10),p.NdJ("click",function(he){const Ce=p.CHM(V).$implicit;return p.oxw(3).onResultSelected(Ce,he)}),p.YNc(2,L,1,3,"span",11),p.TgZ(3,"span"),p._uU(4),p.qZA(),p.qZA(),p.qZA()}if(2&G){const V=Z.$implicit,W=p.oxw().$implicit;p.xp6(1),p.s9C("href",V.path,p.LSH),p.xp6(1),p.Q6J("ngIf","api"===W.name),p.xp6(1),p.ekj("deprecated-api-item",V.deprecated),p.xp6(1),p.Oqu(V.title)}}function P(G,Z){if(1&G&&(p.TgZ(0,"div",5),p.TgZ(1,"h3",6),p._uU(2),p.qZA(),p.TgZ(3,"ul",7),p.YNc(4,x,5,5,"li",8),p.qZA(),p.TgZ(5,"ul"),p.YNc(6,N,5,5,"li",8),p.qZA(),p.qZA()),2&G){const V=Z.$implicit;p.xp6(2),p.AsE("",V.name," (",V.pages.length+V.priorityPages.length,")"),p.xp6(2),p.Q6J("ngForOf",V.priorityPages),p.xp6(2),p.Q6J("ngForOf",V.pages)}}function U(G,Z){if(1&G&&(p.ynx(0),p.TgZ(1,"h2",3),p._uU(2,"Search Results"),p.qZA(),p.YNc(3,P,7,4,"div",4),p.BQk()),2&G){const V=p.oxw();p.xp6(3),p.Q6J("ngForOf",V.searchAreas)}}function F(G,Z){1&G&&(p.ynx(0),p.TgZ(1,"div",5),p.TgZ(2,"p",2),p._uU(3," No results found."),p._UZ(4,"br"),p._uU(5," Here are a few links that might be helpful in finding what you are looking for: "),p.qZA(),p.TgZ(6,"ul",7),p.TgZ(7,"li",9),p.TgZ(8,"a",12),p._uU(9,"API reference"),p.qZA(),p.qZA(),p.TgZ(10,"li",9),p.TgZ(11,"a",13),p._uU(12,"Resources"),p.qZA(),p.qZA(),p.TgZ(13,"li",9),p.TgZ(14,"a",14),p._uU(15,"Glossary"),p.qZA(),p.qZA(),p.TgZ(16,"li",9),p.TgZ(17,"a",15),p._uU(18,"Cheat-sheet"),p.qZA(),p.qZA(),p.TgZ(19,"li",9),p.TgZ(20,"a",16),p._uU(21,"Angular blog"),p.qZA(),p.qZA(),p.qZA(),p.qZA(),p.BQk())}var A=(()=>{return(G=A||(A={})).InProgress="in-progress",G.ResultsFound="results-found",G.NoResultsFound="no-results-found",A;var G})();let z=(()=>{class G{constructor(){this.searchResults=null,this.resultSelected=new p.vpe,this.searchState=A.InProgress,this.defaultArea="other",this.folderToAreaMap={api:"api",cli:"cli",docs:"guides",errors:"errors",guide:"guides",start:"tutorials",tutorial:"tutorials"},this.searchAreas=[]}ngOnChanges(){this.searchState=null===this.searchResults?A.InProgress:this.searchResults.results.length?A.ResultsFound:A.NoResultsFound,this.searchAreas=this.processSearchResults(this.searchResults)}onResultSelected(V,W){0===W.button&&!W.ctrlKey&&!W.metaKey&&this.resultSelected.emit(V)}processSearchResults(V){if(!V)return[];const W={};return V.results.forEach(Te=>{if(!Te.title)return;const Ce=this.computeAreaName(Te);(W[Ce]=W[Ce]||[]).push(Te)}),Object.keys(W).sort((Te,Ce)=>Te>Ce?1:-1).map(Te=>{const{priorityPages:Ce,pages:re,deprecated:De}=function(G){const Z=[],V=[],W=[];for(G.forEach(he=>{he.deprecated?W.push(he):Z.length<5?Z.push(he):V.push(he)});Z.length<5&&V.length;)Z.push(V.shift());for(;Z.length<5&&W.length;)Z.push(W.shift());return V.sort(J),{priorityPages:Z,pages:V,deprecated:W}}(W[Te]);return{name:Te,priorityPages:Ce,pages:re.concat(De)}})}computeAreaName(V){var W;const[he]=V.path.split("/",1);return null!==(W=this.folderToAreaMap[he])&&void 0!==W?W:this.defaultArea}}return G.\u0275fac=function(V){return new(V||G)},G.\u0275cmp=p.Xpm({type:G,selectors:[["aio-search-results"]],inputs:{searchResults:"searchResults"},outputs:{resultSelected:"resultSelected"},features:[p.TTD],decls:4,vars:4,consts:[[1,"search-results",3,"ngSwitch"],[4,"ngSwitchCase"],[1,"no-results"],[1,"visually-hidden"],["class","search-area",4,"ngFor","ngForOf"],[1,"search-area"],[1,"search-section-header"],[1,"priority-pages"],["class","search-page",4,"ngFor","ngForOf"],[1,"search-page"],[1,"search-result-item",3,"href","click"],[3,"class",4,"ngIf"],["href","api",1,"search-result-item"],["href","resources",1,"search-result-item"],["href","guide/glossary",1,"search-result-item"],["href","guide/cheatsheet",1,"search-result-item"],["href","https://blog.angular.io/",1,"search-result-item"]],template:function(V,W){1&V&&(p.TgZ(0,"div",0),p.YNc(1,j,3,0,"ng-container",1),p.YNc(2,U,4,1,"ng-container",1),p.YNc(3,F,22,0,"ng-container",1),p.qZA()),2&V&&(p.Q6J("ngSwitch",W.searchState),p.xp6(1),p.Q6J("ngSwitchCase","in-progress"),p.xp6(1),p.Q6J("ngSwitchCase","results-found"),p.xp6(1),p.Q6J("ngSwitchCase","no-results-found"))},directives:[o.RF,o.n9,o.sg,o.O5],encapsulation:2}),G})();function J(G,Z){return G.title.toUpperCase()>Z.title.toUpperCase()?1:-1}},6155:(Ue,q,_)=>{_.d(q,{Iv:()=>o,lZ:()=>j,YP:()=>H});var p=_(1285);function o(x){return(0,p.Kw)(x.innerHTML,"^")}function j(x){return(0,p.Kw)(x.outerHTML,"^")}function H(x){return(0,p.Kw)(x[0],"^")}},587:(Ue,q,_)=>{_.d(q,{H:()=>N});var p=_(3184),o=_(6362);function j(P,U){if(1&P&&p._UZ(0,"span"),2&P){const F=p.oxw();p.Gre("symbol ",null==F.selected?null:F.selected.value,"")}}function H(P,U){if(1&P&&p._UZ(0,"span"),2&P){const F=p.oxw().$implicit;p.Gre("symbol ",F.value,"")}}function x(P,U){if(1&P){const F=p.EpF();p.TgZ(0,"li",6),p.NdJ("click",function(){const z=p.CHM(F),X=z.$implicit,J=z.index;return p.oxw(2).select(X,J)})("keydown.enter",function(){const z=p.CHM(F),X=z.$implicit,J=z.index;return p.oxw(2).select(X,J)})("keydown.space",function(z){const X=p.CHM(F),J=X.$implicit,G=X.index;return p.oxw(2).select(J,G),z.preventDefault()}),p.YNc(1,H,1,3,"span",2),p.TgZ(2,"span"),p._uU(3),p.qZA(),p.qZA()}if(2&P){const F=U.$implicit,A=p.oxw(2);p.ekj("selected",F===A.selected),p.xp6(1),p.Q6J("ngIf",A.showSymbol),p.xp6(2),p.Oqu(F.title)}}function L(P,U){if(1&P&&(p.TgZ(0,"ul",4),p.YNc(1,x,4,4,"li",5),p.qZA()),2&P){const F=p.oxw();p.xp6(1),p.Q6J("ngForOf",F.options)}}let N=(()=>{class P{constructor(F){this.hostElement=F,this.change=new p.vpe,this.showSymbol=!1,this.showOptions=!1}ngOnInit(){this.label=this.label||""}toggleOptions(){this.showOptions=!this.showOptions}hideOptions(){this.showOptions=!1}select(F,A){this.selected=F,this.change.emit({option:F,index:A}),this.hideOptions()}onClick(F){this.hostElement.nativeElement.contains(F)||this.hideOptions()}onKeyDown(){this.hideOptions()}}return P.\u0275fac=function(F){return new(F||P)(p.Y36(p.SBq))},P.\u0275cmp=p.Xpm({type:P,selectors:[["aio-select"]],hostBindings:function(F,A){1&F&&p.NdJ("click",function(X){return A.onClick(X.target)},!1,p.evT)("keydown.escape",function(){return A.onKeyDown()},!1,p.evT)},inputs:{selected:"selected",options:"options",showSymbol:"showSymbol",label:"label",disabled:"disabled"},outputs:{change:"change"},decls:9,vars:5,consts:[[1,"form-select-menu"],[1,"form-select-button",3,"disabled","click"],[3,"class",4,"ngIf"],["class","form-select-dropdown",4,"ngIf"],[1,"form-select-dropdown"],["role","button","tabindex","0",3,"selected","click","keydown.enter","keydown.space",4,"ngFor","ngForOf"],["role","button","tabindex","0",3,"click","keydown.enter","keydown.space"]],template:function(F,A){1&F&&(p.TgZ(0,"div",0),p.TgZ(1,"button",1),p.NdJ("click",function(){return A.toggleOptions()}),p.TgZ(2,"span"),p.TgZ(3,"strong"),p._uU(4),p.qZA(),p.qZA(),p.YNc(5,j,1,3,"span",2),p.TgZ(6,"span"),p._uU(7),p.qZA(),p.qZA(),p.YNc(8,L,2,1,"ul",3),p.qZA()),2&F&&(p.xp6(1),p.Q6J("disabled",A.disabled),p.xp6(3),p.Oqu(A.label),p.xp6(1),p.Q6J("ngIf",A.showSymbol),p.xp6(2),p.Oqu(null==A.selected?null:A.selected.title),p.xp6(1),p.Q6J("ngIf",A.showOptions))},directives:[o.O5,o.sg],encapsulation:2}),P})()},4466:(Ue,q,_)=>{_.d(q,{m:()=>j});var p=_(6362),o=_(3184);let j=(()=>{class H{}return H.\u0275fac=function(L){return new(L||H)},H.\u0275mod=o.oAB({type:H}),H.\u0275inj=o.cJS({imports:[[p.ez]]}),H})()},6945:(Ue,q,_)=>{_.d(q,{mM:()=>j,xg:()=>H,Un:()=>x});var p=_(3184),o=_(4783);const j=new p.OlP("LocalStorage"),H=new p.OlP("SessionStorage"),x=[{provide:j,useFactory:P=>N(P,"localStorage"),deps:[o.R]},{provide:H,useFactory:P=>N(P,"sessionStorage"),deps:[o.R]}];class L{constructor(){this.length=0}clear(){}getItem(){return null}key(){return null}removeItem(){}setItem(){}}function N(P,U){try{return P[U]}catch(F){return new L}}},6308:(Ue,q,_)=>{_.d(q,{I:()=>P});var p=_(6362),o=_(6067),j=_(2010),H=_(6155),x=_(3184),L=_(318),N=_(4727);let P=(()=>{class A{constructor(X,J,G){this.document=X,this.domSanitizer=J,this.scrollSpyService=G,this.tocList=new o.t(1),this.activeItemIndex=new o.t(1),this.scrollSpyInfo=null}genToc(X,J=""){if(this.resetScrollSpyInfo(),!X)return void this.tocList.next([]);const G=this.findTocHeadings(X),Z=new Map,V=G.map(W=>{const{title:he,content:Te}=this.extractHeadingSafeHtml(W);return{level:W.tagName.toLowerCase(),href:`${J}#${this.getId(W,Z)}`,title:he,content:Te}});this.tocList.next(V),this.scrollSpyInfo=this.scrollSpyService.spyOn(G),this.scrollSpyInfo.active.subscribe(W=>this.activeItemIndex.next(W&&W.index))}reset(){this.resetScrollSpyInfo(),this.tocList.next([])}extractHeadingSafeHtml(X){const J=this.document.createElement("div");return J.innerHTML=(0,j.X$)((0,H.Iv)(X)),U(J,".github-links, .header-link").forEach(F),U(J,"a").forEach(G=>{const Z=G.parentNode;for(;G.childNodes.length;)Z.insertBefore(G.childNodes[0],G);F(G)}),{content:this.domSanitizer.bypassSecurityTrustHtml(J.innerHTML.trim()),title:(J.textContent||"").trim()}}findTocHeadings(X){return U(X,"h1,h2,h3").filter(Z=>!/(?:no-toc|notoc)/i.test(Z.className)&&!this.isOriginalText(Z))}isOriginalText(X){if(X&&X.hasAttribute("translation-origin")){let J=X.previousElementSibling;if(J&&"AIO-TOC"===J.tagName&&(J=J.previousElementSibling),J&&J.hasAttribute("translation-result"))return!0}return!1}resetScrollSpyInfo(){this.scrollSpyInfo&&(this.scrollSpyInfo.unspy(),this.scrollSpyInfo=null),this.activeItemIndex.next(null)}getId(X,J){let G=X.id;return G?Z(G):(G=(X.textContent||"").trim().toLowerCase().replace(/\W+/g,"-"),G=Z(G),X.id=G),G;function Z(V){const he=(J.get(V)||0)+1;return J.set(V,he),1===he?V:`${V}-${he}`}}}return A.\u0275fac=function(X){return new(X||A)(x.LFG(p.K0),x.LFG(L.H7),x.LFG(N.f_))},A.\u0275prov=x.Yz7({token:A,factory:A.\u0275fac}),A})();function U(A,z){return Array.from(A.querySelectorAll(z))}function F(A){null!==A.parentNode&&A.parentNode.removeChild(A)}},4783:(Ue,q,_)=>{_.d(q,{R:()=>o,s:()=>j});const o=new(_(3184).OlP)("Window");function j(){return window}},2340:(Ue,q,_)=>{_.d(q,{N:()=>p});const p={gaId:"UA-80456300-1",production:!0,mode:"stable"}},1065:(Ue,q,_)=>{var p=_(318),o=_(3184),j=_(8784),H=_(7481),x=_(6362),L=_(3336),N=_(4987);function P(l){return new L.y(c=>{(0,N.Xf)(l()).subscribe(c)})}var U=_(5474),F=_(3280),A=_(745),z=_(9319),X=_(253),J=_(9635);const G=new L.y(J.Z);var V=_(6646),W=_(635),he=_(116),Te=_(2673),Ce=_(8532),Oe=(_(1381),_(9295)),Ge=_(9337),Ke=_(6936),me=_(1944),be=_(3945);function ke(l){return(0,W.U)(()=>l)}var Be=_(9525);function we(l,c){return c?s=>(0,z.z)(c.pipe((0,Oe.q)(1),(0,me.e)((l,c)=>{l.subscribe(new be.Q(c,J.Z))})),s.pipe(we(l))):(0,Be.z)((s,d)=>l(s,d).pipe((0,Oe.q)(1),ke(s)))}var Dt=_(5524);const hn="Service workers are disabled or not supported by this browser";class Nt{constructor(c){if(this.serviceWorker=c,c){const d=(0,F.R)(c,"controllerchange").pipe((0,W.U)(()=>c.controller)),m=P(()=>(0,A.of)(c.controller)),D=(0,z.z)(m,d);this.worker=D.pipe((0,he.h)(it=>!!it)),this.registration=this.worker.pipe((0,Te.w)(()=>c.getRegistration()));const $e=(0,F.R)(c,"message").pipe((0,W.U)(it=>it.data)).pipe((0,he.h)(it=>it&&it.type)).pipe(c=>(0,Ce.O)(new X.x)(c));$e.connect(),this.events=$e}else this.worker=this.events=this.registration=(hn,P(()=>(0,U._)(new Error("Service workers are disabled or not supported by this browser"))))}postMessage(c,s){return this.worker.pipe((0,Oe.q)(1),(0,Ge.b)(d=>{d.postMessage(Object.assign({action:c},s))})).toPromise().then(()=>{})}postMessageWithOperation(c,s,d){const m=this.waitForOperationCompleted(d),D=this.postMessage(c,s);return Promise.all([D,m]).then(([,I])=>I)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(c){let s;return s="string"==typeof c?d=>d.type===c:d=>c.includes(d.type),this.events.pipe((0,he.h)(s))}nextEventOfType(c){return this.eventsOfType(c).pipe((0,Oe.q)(1))}waitForOperationCompleted(c){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,he.h)(s=>s.nonce===c),(0,Oe.q)(1),(0,W.U)(s=>{if(void 0!==s.result)return s.result;throw new Error(s.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let It=(()=>{class l{constructor(s){if(this.sw=s,this.subscriptionChanges=new X.x,!s.isEnabled)return this.messages=G,this.notificationClicks=G,void(this.subscription=G);this.messages=this.sw.eventsOfType("PUSH").pipe((0,W.U)(m=>m.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,W.U)(m=>m.data)),this.pushManager=this.sw.registration.pipe((0,W.U)(m=>m.pushManager));const d=this.pushManager.pipe((0,Te.w)(m=>m.getSubscription()));this.subscription=(0,V.T)(d,this.subscriptionChanges)}get isEnabled(){return this.sw.isEnabled}requestSubscription(s){if(!this.sw.isEnabled)return Promise.reject(new Error(hn));const d={userVisibleOnly:!0};let m=this.decodeBase64(s.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),D=new Uint8Array(new ArrayBuffer(m.length));for(let I=0;I<m.length;I++)D[I]=m.charCodeAt(I);return d.applicationServerKey=D,this.pushManager.pipe((0,Te.w)(I=>I.subscribe(d)),(0,Oe.q)(1)).toPromise().then(I=>(this.subscriptionChanges.next(I),I))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,Oe.q)(1),(0,Te.w)(d=>{if(null===d)throw new Error("Not subscribed to push notifications.");return d.unsubscribe().then(m=>{if(!m)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(hn))}decodeBase64(s){return atob(s)}}return l.\u0275fac=function(s){return new(s||l)(o.LFG(Nt))},l.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac}),l})(),Zt=(()=>{class l{constructor(s){if(this.sw=s,!s.isEnabled)return this.versionUpdates=G,this.available=G,this.activated=G,void(this.unrecoverable=G);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY"]),this.available=this.versionUpdates.pipe((0,he.h)(d=>"VERSION_READY"===d.type),(0,W.U)(d=>({type:"UPDATE_AVAILABLE",current:d.currentVersion,available:d.latestVersion}))),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}get isEnabled(){return this.sw.isEnabled}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(hn));const s=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:s},s)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(hn));const s=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:s},s)}}return l.\u0275fac=function(s){return new(s||l)(o.LFG(Nt))},l.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac}),l})();class ut{}const Ye=new o.OlP("NGSW_REGISTER_SCRIPT");function ne(l,c,s,d){return()=>{if(!(0,x.NF)(d)||!("serviceWorker"in navigator)||!1===s.enabled)return;let D;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof s.registrationStrategy)D=s.registrationStrategy();else{const[B,...de]=(s.registrationStrategy||"registerWhenStable:30000").split(":");switch(B){case"registerImmediately":D=(0,A.of)(null);break;case"registerWithDelay":D=je(+de[0]||0);break;case"registerWhenStable":D=de[0]?(0,V.T)(Je(l),je(+de[0])):Je(l);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${s.registrationStrategy}`)}}l.get(o.R0b).runOutsideAngular(()=>D.pipe((0,Oe.q)(1)).subscribe(()=>navigator.serviceWorker.register(c,{scope:s.scope}).catch(B=>console.error("Service worker registration failed with:",B))))}}function je(l){return(0,A.of)(null).pipe(function(l,c=Ke.z){const s=(0,Dt.H)(l,c);return we(()=>s)}(l))}function Je(l){return l.get(o.z2F).isStable.pipe((0,he.h)(s=>s))}function st(l,c){return new Nt((0,x.NF)(c)&&!1!==l.enabled?navigator.serviceWorker:void 0)}let Ht=(()=>{class l{static register(s,d={}){return{ngModule:l,providers:[{provide:Ye,useValue:s},{provide:ut,useValue:d},{provide:Nt,useFactory:st,deps:[ut,o.Lbi]},{provide:o.ip1,useFactory:ne,deps:[o.zs3,Ye,ut,o.Lbi],multi:!0}]}}}return l.\u0275fac=function(s){return new(s||l)},l.\u0275mod=o.oAB({type:l}),l.\u0275inj=o.cJS({providers:[It,Zt]}),l})();var nt=_(7317),ft=_(3149),ue=_(1130),Ee=_(6484),Qe=_(7714);const rt=["primaryValueBar"],yt=(0,ue.pj)(class{constructor(l){this._elementRef=l}},"primary"),ot=new o.OlP("mat-progress-bar-location",{providedIn:"root",factory:function(){const l=(0,o.f3M)(x.K0),c=l?l.location:null;return{getPathname:()=>c?c.pathname+c.search:""}}}),Cn=new o.OlP("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");let rn=0,Ne=(()=>{class l extends yt{constructor(s,d,m,D,I){super(s),this._ngZone=d,this._animationMode=m,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new o.vpe,this._animationEndSubscription=Qe.w0.EMPTY,this.mode="determinate",this.progressbarId="mat-progress-bar-"+rn++;const B=D?D.getPathname().split("#")[0]:"";this._rectangleFillValue=`url('${B}#${this.progressbarId}')`,this._isNoopAnimation="NoopAnimations"===m,I&&(I.color&&(this.color=this.defaultColor=I.color),this.mode=I.mode||this.mode)}get value(){return this._value}set value(s){this._value=ae((0,Ee.su)(s)||0)}get bufferValue(){return this._bufferValue}set bufferValue(s){this._bufferValue=ae(s||0)}_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 s=this._primaryValueBar.nativeElement;this._animationEndSubscription=(0,F.R)(s,"transitionend").pipe((0,he.h)(d=>d.target===s)).subscribe(()=>{("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))})})}ngOnDestroy(){this._animationEndSubscription.unsubscribe()}}return l.\u0275fac=function(s){return new(s||l)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(H.Qb,8),o.Y36(ot,8),o.Y36(Cn,8))},l.\u0275cmp=o.Xpm({type:l,selectors:[["mat-progress-bar"]],viewQuery:function(s,d){if(1&s&&o.Gf(rt,5),2&s){let m;o.iGM(m=o.CRH())&&(d._primaryValueBar=m.first)}},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-progress-bar"],hostVars:4,hostBindings:function(s,d){2&s&&(o.uIk("aria-valuenow","indeterminate"===d.mode||"query"===d.mode?null:d.value)("mode",d.mode),o.ekj("_mat-animation-noopable",d._isNoopAnimation))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[o.qOj],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(s,d){1&s&&(o.TgZ(0,"div",0),o.O4$(),o.TgZ(1,"svg",1),o.TgZ(2,"defs"),o.TgZ(3,"pattern",2),o._UZ(4,"circle",3),o.qZA(),o.qZA(),o._UZ(5,"rect",4),o.qZA(),o.kcU(),o._UZ(6,"div",5),o._UZ(7,"div",6,7),o._UZ(9,"div",8),o.qZA()),2&s&&(o.xp6(3),o.Q6J("id",d.progressbarId),o.xp6(2),o.uIk("fill",d._rectangleFillValue),o.xp6(1),o.Q6J("ngStyle",d._bufferTransform()),o.xp6(1),o.Q6J("ngStyle",d._primaryTransform()))},directives:[x.PC],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.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)}}\n'],encapsulation:2,changeDetection:0}),l})();function ae(l,c=0,s=100){return Math.max(c,Math.min(s,l))}let le=(()=>{class l{}return l.\u0275fac=function(s){return new(s||l)},l.\u0275mod=o.oAB({type:l}),l.\u0275inj=o.cJS({imports:[[x.ez,ue.BQ],ue.BQ]}),l})();var Ae=_(4390),xe=_(2792),ct=_(5939),We=_(8951),dt=_(8977),xt=_(4874),ln=_(1989),$t=_(1631),Vt=_(4128),cn=_(1588);const Bt=["*"];function bt(l,c){if(1&l){const s=o.EpF();o.TgZ(0,"div",2),o.NdJ("click",function(){return o.CHM(s),o.oxw()._onBackdropClicked()}),o.qZA()}if(2&l){const s=o.oxw();o.ekj("mat-drawer-shown",s._isShowingBackdrop())}}function Re(l,c){1&l&&(o.TgZ(0,"mat-drawer-content"),o.Hsn(1,2),o.qZA())}const se=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],ce=["mat-drawer","mat-drawer-content","*"];function Ve(l,c){if(1&l){const s=o.EpF();o.TgZ(0,"div",2),o.NdJ("click",function(){return o.CHM(s),o.oxw()._onBackdropClicked()}),o.qZA()}if(2&l){const s=o.oxw();o.ekj("mat-drawer-shown",s._isShowingBackdrop())}}function Mt(l,c){1&l&&(o.TgZ(0,"mat-sidenav-content",3),o.Hsn(1,2),o.qZA())}const ye=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],oe=["mat-sidenav","mat-sidenav-content","*"],_e={transformDrawer:(0,$t.X$)("transform",[(0,$t.SB)("open, open-instant",(0,$t.oB)({transform:"none",visibility:"visible"})),(0,$t.SB)("void",(0,$t.oB)({"box-shadow":"none",visibility:"hidden"})),(0,$t.eR)("void => open-instant",(0,$t.jt)("0ms")),(0,$t.eR)("void <=> open, open-instant => void",(0,$t.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},et=new o.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),wt=new o.OlP("MAT_DRAWER_CONTAINER");let Bn=(()=>{class l extends xe.PQ{constructor(s,d,m,D,I){super(m,D,I),this._changeDetectorRef=s,this._container=d}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return l.\u0275fac=function(s){return new(s||l)(o.Y36(o.sBO),o.Y36((0,o.Gpc)(()=>ie)),o.Y36(o.SBq),o.Y36(xe.mF),o.Y36(o.R0b))},l.\u0275cmp=o.Xpm({type:l,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(s,d){2&s&&o.Udp("margin-left",d._container._contentMargins.left,"px")("margin-right",d._container._contentMargins.right,"px")},features:[o.qOj],ngContentSelectors:Bt,decls:1,vars:0,template:function(s,d){1&s&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),l})(),ve=(()=>{class l{constructor(s,d,m,D,I,B,de,$e){this._elementRef=s,this._focusTrapFactory=d,this._focusMonitor=m,this._platform=D,this._ngZone=I,this._interactivityChecker=B,this._doc=de,this._container=$e,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new X.x,this._animationEnd=new X.x,this._animationState="void",this.openedChange=new o.vpe(!0),this._openedStream=this.openedChange.pipe((0,he.h)(it=>it),(0,W.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,he.h)(it=>it.fromState!==it.toState&&0===it.toState.indexOf("open")),ke(void 0)),this._closedStream=this.openedChange.pipe((0,he.h)(it=>!it),(0,W.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,he.h)(it=>it.fromState!==it.toState&&"void"===it.toState),ke(void 0)),this._destroyed=new X.x,this.onPositionChanged=new o.vpe,this._modeChanged=new X.x,this.openedChange.subscribe(it=>{it?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,F.R)(this._elementRef.nativeElement,"keydown").pipe((0,he.h)(it=>it.keyCode===ct.hY&&!this.disableClose&&!(0,ct.Vb)(it)),(0,We.R)(this._destroyed)).subscribe(it=>this._ngZone.run(()=>{this.close(),it.stopPropagation(),it.preventDefault()}))}),this._animationEnd.pipe((0,dt.x)((it,ht)=>it.fromState===ht.fromState&&it.toState===ht.toState)).subscribe(it=>{const{fromState:ht,toState:vt}=it;(0===vt.indexOf("open")&&"void"===ht||"void"===vt&&0===ht.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(s){(s="end"===s?"end":"start")!=this._position&&(this._position=s,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(s){this._mode=s,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(s){this._disableClose=(0,Ee.Ig)(s)}get autoFocus(){const s=this._autoFocus;return null==s?"side"===this.mode?"dialog":"first-tabbable":s}set autoFocus(s){("true"===s||"false"===s)&&(s=(0,Ee.Ig)(s)),this._autoFocus=s}get opened(){return this._opened}set opened(s){this.toggle((0,Ee.Ig)(s))}_forceFocus(s,d){this._interactivityChecker.isFocusable(s)||(s.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{s.addEventListener("blur",()=>s.removeAttribute("tabindex")),s.addEventListener("mousedown",()=>s.removeAttribute("tabindex"))})),s.focus(d)}_focusByCssSelector(s,d){let m=this._elementRef.nativeElement.querySelector(s);m&&this._forceFocus(m,d)}_takeFocus(){if(!this._focusTrap)return;const s=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(d=>{!d&&"function"==typeof this._elementRef.nativeElement.focus&&s.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(s){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,s):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){var s;const d=null===(s=this._doc)||void 0===s?void 0:s.activeElement;return!!d&&this._elementRef.nativeElement.contains(d)}ngAfterContentInit(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(s){return this.toggle(!0,s)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(s=!this.opened,d){s&&d&&(this._openedVia=d);const m=this._setOpen(s,!s&&this._isFocusWithinDrawer(),this._openedVia||"program");return s||(this._openedVia=null),m}_setOpen(s,d,m){return this._opened=s,s?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",d&&this._restoreFocus(m)),this._updateFocusTrapState(),new Promise(D=>{this.openedChange.pipe((0,Oe.q)(1)).subscribe(I=>D(I?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}}return l.\u0275fac=function(s){return new(s||l)(o.Y36(o.SBq),o.Y36(Vt.qV),o.Y36(Vt.tE),o.Y36(Ae.t4),o.Y36(o.R0b),o.Y36(Vt.ic),o.Y36(x.K0,8),o.Y36(wt,8))},l.\u0275cmp=o.Xpm({type:l,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(s,d){1&s&&o.WFA("@transform.start",function(D){return d._animationStarted.next(D)})("@transform.done",function(D){return d._animationEnd.next(D)}),2&s&&(o.uIk("align",null),o.d8E("@transform",d._animationState),o.ekj("mat-drawer-end","end"===d.position)("mat-drawer-over","over"===d.mode)("mat-drawer-push","push"===d.mode)("mat-drawer-side","side"===d.mode)("mat-drawer-opened",d.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:Bt,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(s,d){1&s&&(o.F$t(),o.TgZ(0,"div",0),o.Hsn(1),o.qZA())},directives:[xe.PQ],encapsulation:2,data:{animation:[_e.transformDrawer]},changeDetection:0}),l})(),ie=(()=>{class l{constructor(s,d,m,D,I,B=!1,de){this._dir=s,this._element=d,this._ngZone=m,this._changeDetectorRef=D,this._animationMode=de,this._drawers=new o.n_E,this.backdropClick=new o.vpe,this._destroyed=new X.x,this._doCheckSubject=new X.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new X.x,s&&s.change.pipe((0,We.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),I.change().pipe((0,We.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=B}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(s){this._autosize=(0,Ee.Ig)(s)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(s){this._backdropOverride=null==s?null:(0,Ee.Ig)(s)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,xt.O)(this._allDrawers),(0,We.R)(this._destroyed)).subscribe(s=>{this._drawers.reset(s.filter(d=>!d._container||d._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,xt.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(s=>{this._watchDrawerToggle(s),this._watchDrawerPosition(s),this._watchDrawerMode(s)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,ln.b)(10),(0,We.R)(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(s=>s.open())}close(){this._drawers.forEach(s=>s.close())}updateContentMargins(){let s=0,d=0;if(this._left&&this._left.opened)if("side"==this._left.mode)s+=this._left._getWidth();else if("push"==this._left.mode){const m=this._left._getWidth();s+=m,d-=m}if(this._right&&this._right.opened)if("side"==this._right.mode)d+=this._right._getWidth();else if("push"==this._right.mode){const m=this._right._getWidth();d+=m,s-=m}s=s||null,d=d||null,(s!==this._contentMargins.left||d!==this._contentMargins.right)&&(this._contentMargins={left:s,right:d},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(s){s._animationStarted.pipe((0,he.h)(d=>d.fromState!==d.toState),(0,We.R)(this._drawers.changes)).subscribe(d=>{"open-instant"!==d.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==s.mode&&s.openedChange.pipe((0,We.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(s.opened))}_watchDrawerPosition(s){!s||s.onPositionChanged.pipe((0,We.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,Oe.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(s){s&&s._modeChanged.pipe((0,We.R)((0,V.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(s){const d=this._element.nativeElement.classList,m="mat-drawer-container-has-open";s?d.add(m):d.remove(m)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(s=>{"end"==s.position?this._end=s:this._start=s}),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(s=>s&&!s.disableClose&&this._canHaveBackdrop(s)).forEach(s=>s._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(s){return"side"!==s.mode||!!this._backdropOverride}_isDrawerOpen(s){return null!=s&&s.opened}}return l.\u0275fac=function(s){return new(s||l)(o.Y36(cn.Is,8),o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(o.sBO),o.Y36(xe.rL),o.Y36(et),o.Y36(H.Qb,8))},l.\u0275cmp=o.Xpm({type:l,selectors:[["mat-drawer-container"]],contentQueries:function(s,d,m){if(1&s&&(o.Suo(m,Bn,5),o.Suo(m,ve,5)),2&s){let D;o.iGM(D=o.CRH())&&(d._content=D.first),o.iGM(D=o.CRH())&&(d._allDrawers=D)}},viewQuery:function(s,d){if(1&s&&o.Gf(Bn,5),2&s){let m;o.iGM(m=o.CRH())&&(d._userContent=m.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(s,d){2&s&&o.ekj("mat-drawer-container-explicit-backdrop",d._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[o._Bn([{provide:wt,useExisting:l}])],ngContentSelectors:ce,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(s,d){1&s&&(o.F$t(se),o.YNc(0,bt,1,2,"div",0),o.Hsn(1),o.Hsn(2,1),o.YNc(3,Re,2,0,"mat-drawer-content",1)),2&s&&(o.Q6J("ngIf",d.hasBackdrop),o.xp6(3),o.Q6J("ngIf",!d._content))},directives:[x.O5,Bn],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-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),l})(),$=(()=>{class l extends Bn{constructor(s,d,m,D,I){super(s,d,m,D,I)}}return l.\u0275fac=function(s){return new(s||l)(o.Y36(o.sBO),o.Y36((0,o.Gpc)(()=>Le)),o.Y36(o.SBq),o.Y36(xe.mF),o.Y36(o.R0b))},l.\u0275cmp=o.Xpm({type:l,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(s,d){2&s&&o.Udp("margin-left",d._container._contentMargins.left,"px")("margin-right",d._container._contentMargins.right,"px")},features:[o.qOj],ngContentSelectors:Bt,decls:1,vars:0,template:function(s,d){1&s&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),l})(),fe=(()=>{class l extends ve{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(s){this._fixedInViewport=(0,Ee.Ig)(s)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(s){this._fixedTopGap=(0,Ee.su)(s)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(s){this._fixedBottomGap=(0,Ee.su)(s)}}return l.\u0275fac=function(){let c;return function(d){return(c||(c=o.n5z(l)))(d||l)}}(),l.\u0275cmp=o.Xpm({type:l,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(s,d){2&s&&(o.uIk("align",null),o.Udp("top",d.fixedInViewport?d.fixedTopGap:null,"px")("bottom",d.fixedInViewport?d.fixedBottomGap:null,"px"),o.ekj("mat-drawer-end","end"===d.position)("mat-drawer-over","over"===d.mode)("mat-drawer-push","push"===d.mode)("mat-drawer-side","side"===d.mode)("mat-drawer-opened",d.opened)("mat-sidenav-fixed",d.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[o.qOj],ngContentSelectors:Bt,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(s,d){1&s&&(o.F$t(),o.TgZ(0,"div",0),o.Hsn(1),o.qZA())},directives:[xe.PQ],encapsulation:2,data:{animation:[_e.transformDrawer]},changeDetection:0}),l})(),Le=(()=>{class l extends ie{}return l.\u0275fac=function(){let c;return function(d){return(c||(c=o.n5z(l)))(d||l)}}(),l.\u0275cmp=o.Xpm({type:l,selectors:[["mat-sidenav-container"]],contentQueries:function(s,d,m){if(1&s&&(o.Suo(m,$,5),o.Suo(m,fe,5)),2&s){let D;o.iGM(D=o.CRH())&&(d._content=D.first),o.iGM(D=o.CRH())&&(d._allDrawers=D)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(s,d){2&s&&o.ekj("mat-drawer-container-explicit-backdrop",d._backdropOverride)},exportAs:["matSidenavContainer"],features:[o._Bn([{provide:wt,useExisting:l}]),o.qOj],ngContentSelectors:oe,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(s,d){1&s&&(o.F$t(ye),o.YNc(0,Ve,1,2,"div",0),o.Hsn(1),o.Hsn(2,1),o.YNc(3,Mt,2,0,"mat-sidenav-content",1)),2&s&&(o.Q6J("ngIf",d.hasBackdrop),o.xp6(3),o.Q6J("ngIf",!d._content))},directives:[x.O5,$,xe.PQ],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-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),l})(),_t=(()=>{class l{}return l.\u0275fac=function(s){return new(s||l)},l.\u0275mod=o.oAB({type:l}),l.\u0275inj=o.cJS({imports:[[x.ez,ue.BQ,Ae.ud,xe.ZD],xe.ZD,ue.BQ]}),l})();const Rt=["*",[["mat-toolbar-row"]]],qt=["*","mat-toolbar-row"],xn=(0,ue.pj)(class{constructor(l){this._elementRef=l}});let br=(()=>{class l{}return l.\u0275fac=function(s){return new(s||l)},l.\u0275dir=o.lG2({type:l,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),l})(),Ir=(()=>{class l extends xn{constructor(s,d,m){super(s),this._platform=d,this._document=m}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return l.\u0275fac=function(s){return new(s||l)(o.Y36(o.SBq),o.Y36(Ae.t4),o.Y36(x.K0))},l.\u0275cmp=o.Xpm({type:l,selectors:[["mat-toolbar"]],contentQueries:function(s,d,m){if(1&s&&o.Suo(m,br,5),2&s){let D;o.iGM(D=o.CRH())&&(d._toolbarRows=D)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(s,d){2&s&&o.ekj("mat-toolbar-multiple-rows",d._toolbarRows.length>0)("mat-toolbar-single-row",0===d._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[o.qOj],ngContentSelectors:qt,decls:2,vars:0,template:function(s,d){1&s&&(o.F$t(Rt),o.Hsn(0),o.Hsn(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%}\n"],encapsulation:2,changeDetection:0}),l})(),gr=(()=>{class l{}return l.\u0275fac=function(s){return new(s||l)},l.\u0275mod=o.oAB({type:l}),l.\u0275inj=o.cJS({imports:[[ue.BQ],ue.BQ]}),l})();var mn=_(6155),os=_(343),Kn=_(601);class at{constructor(c,s){this.privateDoNotAccessOrElseWrappedResourceUrl=c}toString(){return this.privateDoNotAccessOrElseWrappedResourceUrl.toString()}}function Pt(l){var c;const s=l,d=null===(c=(0,Kn.C2)())||void 0===c?void 0:c.createScriptURL(s);return null!=d?d:new at(s,os.Y)}function un(l){var c;if(null===(c=(0,Kn.Cm)())||void 0===c?void 0:c.isScriptURL(l))return l;if(l instanceof at)return l.privateDoNotAccessOrElseWrappedResourceUrl;throw new Error("")}function bn(l,...c){if(0===c.length)return Pt(l[0]);l[0].toLowerCase();const d=[l[0]];for(let m=0;m<c.length;m++)d.push(encodeURIComponent(c[m])),d.push(l[m+1]);return Pt(d.join(""))}const Dr=new o.OlP("CurrentDate");function Ri(){return new Date}var nr=_(6945);const Pn=["*"],Or="aio-notification/";let _r=(()=>{class l{constructor(s,d){this.storage=s,this.currentDate=d,this.dismissed=new o.vpe}ngOnInit(){const s="hide"===this.storage.getItem(Or+this.notificationId),d=this.currentDate>new Date(this.expirationDate);this.showNotification=s||d?"hide":"show"}contentClick(){this.dismissOnContentClick&&this.dismiss()}dismiss(){this.storage.setItem(Or+this.notificationId,"hide"),this.showNotification="hide",this.dismissed.next()}}return l.\u0275fac=function(s){return new(s||l)(o.Y36(nr.mM),o.Y36(Dr))},l.\u0275cmp=o.Xpm({type:l,selectors:[["aio-notification"]],hostVars:1,hostBindings:function(s,d){2&s&&o.d8E("@hideAnimation",d.showNotification)},inputs:{dismissOnContentClick:"dismissOnContentClick",notificationId:"notificationId",expirationDate:"expirationDate"},outputs:{dismissed:"dismissed"},ngContentSelectors:Pn,decls:4,vars:0,consts:[[1,"content",3,"click","keyup.enter"],["mat-icon-button","","aria-label","Close",1,"close-button",3,"click"],["svgIcon","close","aria-label","Dismiss notification"]],template:function(s,d){1&s&&(o.F$t(),o.TgZ(0,"span",0),o.NdJ("click",function(){return d.contentClick()})("keyup.enter",function(){return d.contentClick()}),o.Hsn(1),o.qZA(),o.TgZ(2,"button",1),o.NdJ("click",function(){return d.dismiss()}),o._UZ(3,"mat-icon",2),o.qZA())},directives:[nt.lW,ft.Hw],encapsulation:2,data:{animation:[(0,$t.X$)("hideAnimation",[(0,$t.SB)("show",(0,$t.oB)({height:"*"})),(0,$t.SB)("hide",(0,$t.oB)({display:"none",height:0})),(0,$t.eR)("show => hide",(0,$t.jt)(250))])]}}),l})();var wn=_(5370);const sn=["searchBox"];function si(l,c){if(1&l){const s=o.EpF();o.TgZ(0,"mat-icon",3),o.NdJ("click",function(){o.CHM(s),o.oxw();const m=o.MAs(1);return m.value="",m.focus()}),o._uU(1," close "),o.qZA()}}let Un=(()=>{class l{constructor(s){this.locationService=s,this.searchDebounce=300,this.searchSubject=new X.x,this.onSearch=this.searchSubject.pipe((0,dt.x)(),(0,ln.b)(this.searchDebounce)),this.onFocus=new o.vpe}ngAfterViewInit(){const s=this.locationService.search().search;s&&(this.query=this.decodeQuery(s),this.doSearch())}doSearch(){this.searchSubject.next(this.query)}doFocus(){this.onFocus.emit(this.query)}focus(){this.searchBox.nativeElement.focus()}decodeQuery(s){return s.replace(/\+/g," ")}get query(){return this.searchBox.nativeElement.value}set query(s){this.searchBox.nativeElement.value=s}}return l.\u0275fac=function(s){return new(s||l)(o.Y36(wn.a))},l.\u0275cmp=o.Xpm({type:l,selectors:[["aio-search-box"]],viewQuery:function(s,d){if(1&s&&o.Gf(sn,7),2&s){let m;o.iGM(m=o.CRH())&&(d.searchBox=m.first)}},outputs:{onSearch:"onSearch",onFocus:"onFocus"},decls:3,vars:1,consts:[["type","search","aria-label","search","placeholder","\u641c\u7d22",3,"input","keyup","focus","click"],["searchBox",""],[3,"click",4,"ngIf"],[3,"click"]],template:function(s,d){if(1&s&&(o.TgZ(0,"input",0,1),o.NdJ("input",function(){return d.doSearch()})("keyup",function(){return d.doSearch()})("focus",function(){return d.doFocus()})("click",function(){return d.doSearch()}),o.qZA(),o.YNc(2,si,2,0,"mat-icon",2)),2&s){const m=o.MAs(1);o.xp6(2),o.Q6J("ngIf",m.value)}},directives:[x.O5,ft.Hw],encapsulation:2}),l})();var yn=_(6317),An=_(6562),lr=_(155),jr=_(2340);let oi=(()=>{class l{constructor(s){this.location=s,this.mode=this.location.search().mode||jr.N.mode}}return l.\u0275fac=function(s){return new(s||l)(o.LFG(wn.a))},l.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac}),l})();var On=_(5733),zi=_(4),da=_(8917);const Yn=On.bL+"navigation.json";let as=(()=>{class l{constructor(s,d){this.http=s,this.location=d;const m=this.fetchNavigationInfo();this.navigationViews=this.getNavigationViews(m),this.currentNodes=this.getCurrentNodes(this.navigationViews),this.versionInfo=this.getVersionInfo(m)}fetchNavigationInfo(){const s=this.http.get(Yn).pipe((0,zi.C)());return s.connect(),s}getVersionInfo(s){const d=s.pipe((0,W.U)(m=>m.__versionInfo),(0,zi.C)());return d.connect(),d}getNavigationViews(s){const d=s.pipe((0,W.U)(m=>{const D=Object.assign({},m);return Object.keys(D).forEach(I=>{"_"===I[0]&&delete D[I]}),D}),(0,zi.C)());return d.connect(),d}getCurrentNodes(s){const d=(0,An.a)([s.pipe((0,W.U)(m=>this.computeUrlToNavNodesMap(m))),this.location.currentPath]).pipe((0,W.U)(m=>({navMap:m[0],url:m[1]})),(0,W.U)(m=>{const D=/^api/.exec(m.url);return D&&(m.url=D[0]),m.navMap.get(m.url)||{"":{view:"",url:m.url,nodes:[]}}}),(0,da._)(1));return d.connect(),d}computeUrlToNavNodesMap(s){const d=new Map;return Object.keys(s).forEach(m=>s[m].forEach(D=>this.walkNodes(m,d,D))),d}ensureHasTooltip(s){const d=s.title;null==s.tooltip&&d&&(s.tooltip=d+(/[a-zA-Z0-9]$/.test(d)?".":""))}walkNodes(s,d,m,D=[]){const I=[m,...D],B=m.url;if(this.ensureHasTooltip(m),B){const de=B.replace(/\/$/,"");d.has(de)||d.set(de,{}),d.get(de)[s]={url:B,view:s,nodes:I}}m.children&&m.children.forEach(de=>this.walkNodes(s,d,de,I))}}return l.\u0275fac=function(s){return new(s||l)(o.LFG(j.eN),o.LFG(wn.a))},l.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac}),l})();var ls=_(9026),cs=_(5832),Vr=_(4541);let ha=(()=>{class l{constructor(s,d,m,D,I){this.appRef=s,this.errorHandler=d,this.location=m,this.logger=D,this.swu=I,this.checkInterval=216e5,this.onDisable=new X.x}disable(){this.onDisable.next()}enable(){if(!this.swu.isEnabled)return;const s=this.appRef.isStable.pipe((0,lr.P)(d=>d));(0,z.z)(s,function(l=0,c=Ke.z){return l<0&&(l=0),(0,Dt.H)(l,l,c)}(this.checkInterval)).pipe((0,Ge.b)(()=>this.log("Checking for update...")),(0,We.R)(this.onDisable)).subscribe(()=>this.swu.checkForUpdate()),this.swu.available.pipe((0,Ge.b)(d=>this.log(`Update available: ${JSON.stringify(d)}`)),(0,We.R)(this.onDisable)).subscribe(()=>this.swu.activateUpdate()),this.swu.activated.pipe((0,Ge.b)(d=>this.log(`Update activated: ${JSON.stringify(d)}`)),(0,We.R)(this.onDisable)).subscribe(()=>this.location.fullPageNavigationNeeded()),this.swu.unrecoverable.pipe((0,Ge.b)(d=>{const m=`Unrecoverable state: ${d.reason}`;this.errorHandler.handleError(m),this.log(`${m}\nReloading...`)}),(0,We.R)(this.onDisable)).subscribe(()=>this.location.reloadPage())}ngOnDestroy(){this.disable()}log(s){const d=(new Date).toISOString();this.logger.log(`[SwUpdates - ${d}]: ${s}`)}}return l.\u0275fac=function(s){return new(s||l)(o.LFG(o.z2F),o.LFG(o.qLn),o.LFG(wn.a),o.LFG(Vr.Y),o.LFG(Zt))},l.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"}),l})();var Jn=_(6308);function ai(l,c){if(1&l){const s=o.EpF();o.TgZ(0,"div",1),o.TgZ(1,"h2",2),o._uU(2,"Cookie \u4f7f\u7528\u63d0\u9192"),o.qZA(),o.TgZ(3,"h2",3),o._uU(4,"Cookies concent notice"),o.qZA(),o.TgZ(5,"p",4),o._uU(6,"\u672c\u7ad9\u4f7f\u7528\u6765\u81ea Google \u7684 Cookie \u6765\u63d0\u4f9b\u670d\u52a1\u5e76\u5206\u6790\u4f7f\u7528\u884c\u4e3a\u3002"),o.qZA(),o.TgZ(7,"p",5),o._uU(8,"This site uses cookies from Google to deliver its services and to analyze traffic."),o.qZA(),o.TgZ(9,"div",6),o.TgZ(10,"a",7),o._uU(11," \u4e86\u89e3\u66f4\u591a "),o.qZA(),o.TgZ(12,"button",8),o.NdJ("click",function(){return o.CHM(s),o.oxw().acceptCookies()}),o._uU(13," \u597d\uff0c\u77e5\u9053\u4e86 "),o.qZA(),o.qZA(),o.qZA()}}const Os="aio-accepts-cookies";let go=(()=>{class l{constructor(s){this.storage=s,this.hasAcceptedCookies="true"===this.storage.getItem(Os)}acceptCookies(){this.storage.setItem(Os,"true"),this.hasAcceptedCookies=!0}}return l.\u0275fac=function(s){return new(s||l)(o.Y36(nr.mM))},l.\u0275cmp=o.Xpm({type:l,selectors:[["aio-cookies-popup"]],decls:1,vars:1,consts:[["class","cookies-popup no-print",4,"ngIf"],[1,"cookies-popup","no-print"],["translation-result","on",1,"visually-hidden"],["translation-origin","off",1,"visually-hidden"],["translation-result","on"],["translation-origin","off"],[1,"actions"],["mat-button","","href","https://policies.google.com/technologies/cookies","target","_blank","rel","noopener"],["mat-button","",3,"click"]],template:function(s,d){1&s&&o.YNc(0,ai,14,0,"div",0),2&s&&o.Q6J("ngIf",!d.hasAcceptedCookies)},directives:[x.O5,nt.zs,nt.lW],encapsulation:2}),l})();const us="aio-theme";let mo=(()=>{class l{constructor(s,d){this.document=s,this.storage=d,this.isDark=!1,this.initializeThemeFromPreferences()}toggleTheme(){this.isDark=!this.isDark,this.updateRenderedTheme()}initializeThemeFromPreferences(){var s,d;const m=this.storage.getItem(us);this.isDark=m?"true"===m:null!==(s=null==matchMedia?void 0:matchMedia("(prefers-color-scheme: dark)").matches)&&void 0!==s&&s;const D=this.document.querySelector("#aio-initial-theme");D&&(null===(d=D.parentElement)||void 0===d||d.removeChild(D));const I=this.document.createElement("link");I.id="aio-custom-theme",I.rel="stylesheet",I.href=`${this.getThemeName()}-theme.css`,this.document.head.appendChild(I)}getThemeName(){return this.isDark?"dark":"light"}getToggleLabel(){return`Switch to ${this.isDark?"light":"dark"} mode`}updateRenderedTheme(){const s=this.document.getElementById("aio-custom-theme");s&&(s.href=`${this.getThemeName()}-theme.css`),this.storage.setItem(us,String(this.isDark))}}return l.\u0275fac=function(s){return new(s||l)(o.Y36(x.K0),o.Y36(nr.mM))},l.\u0275cmp=o.Xpm({type:l,selectors:[["aio-theme-toggle"]],decls:3,vars:3,consts:[["mat-icon-button","","type","button",3,"title","click"]],template:function(s,d){1&s&&(o.TgZ(0,"button",0),o.NdJ("click",function(){return d.toggleTheme()}),o.TgZ(1,"mat-icon"),o._uU(2),o.qZA(),o.qZA()),2&s&&(o.Q6J("title",d.getToggleLabel()),o.uIk("aria-label",d.getToggleLabel()),o.xp6(2),o.hij(" ",d.isDark?"light":"dark","_mode "))},directives:[nt.lW,ft.Hw],encapsulation:2}),l})();function Rs(l,c){1&l&&(o.TgZ(0,"mat-icon"),o._uU(1,"open_in_new"),o.qZA())}function Wi(l,c){if(1&l&&(o.TgZ(0,"a",3),o.TgZ(1,"span"),o._uU(2),o.qZA(),o.YNc(3,Rs,2,0,"mat-icon",0),o.qZA()),2&l){const s=o.oxw(2);let d;o.s9C("href",s.node.url,o.LSH),o.s9C("title",s.node.tooltipCn),o.Q6J("ngClass",s.classes)("target",s.isExternalUrl(s.node.url)?"_blank":"_self"),o.xp6(2),o.Oqu(null!==(d=s.node.titleCn)&&void 0!==d?d:s.node.title),o.xp6(1),o.Q6J("ngIf",s.isExternalUrl(s.node.url))}}function xs(l,c){1&l&&o._UZ(0,"div",4)}function ds(l,c){if(1&l&&(o.TgZ(0,"div"),o.YNc(1,Wi,4,6,"a",1),o.YNc(2,xs,1,0,"div",2),o.qZA()),2&l){const s=o.oxw();o.xp6(1),o.Q6J("ngIf",!s.node.divider),o.xp6(1),o.Q6J("ngIf",s.node.divider)}}function li(l,c){if(1&l){const s=o.EpF();o.TgZ(0,"a",9),o.NdJ("click",function(){return o.CHM(s),o.oxw(2).headerClicked()}),o.TgZ(1,"span"),o._uU(2),o.qZA(),o._UZ(3,"mat-icon",10),o.qZA()}if(2&l){const s=o.oxw(2);let d;o.s9C("href",s.node.url,o.LSH),o.s9C("title",s.node.tooltipCn),o.Q6J("ngClass",s.classes),o.xp6(2),o.Oqu(null!==(d=s.node.titleCn)&&void 0!==d?d:s.node.title)}}function Ps(l,c){if(1&l){const s=o.EpF();o.TgZ(0,"button",11),o.NdJ("click",function(){return o.CHM(s),o.oxw(2).headerClicked()}),o.TgZ(1,"span"),o._uU(2),o.qZA(),o._UZ(3,"mat-icon",10),o.qZA()}if(2&l){const s=o.oxw(2);let d;o.s9C("title",s.node.tooltipCn),o.Q6J("ngClass",s.classes),o.uIk("aria-pressed",s.isExpanded),o.xp6(2),o.Oqu(null!==(d=s.node.titleCn)&&void 0!==d?d:s.node.title)}}function _o(l,c){if(1&l&&o._UZ(0,"aio-nav-item",12),2&l){const s=c.$implicit,d=o.oxw(2);o.Q6J("level",d.level+1)("isWide",d.isWide)("isParentExpanded",d.isExpanded)("node",s)("selectedNodes",d.selectedNodes)}}function Fs(l,c){if(1&l&&(o.TgZ(0,"div"),o.YNc(1,li,4,4,"a",5),o.YNc(2,Ps,4,4,"button",6),o.TgZ(3,"div",7),o.YNc(4,_o,1,5,"aio-nav-item",8),o.qZA(),o.qZA()),2&l){const s=o.oxw();o.xp6(1),o.Q6J("ngIf",!!s.node.url),o.xp6(1),o.Q6J("ngIf",!s.node.url),o.xp6(1),o.Q6J("ngClass",s.classes),o.xp6(1),o.Q6J("ngForOf",s.nodeChildren)}}let Rr=(()=>{class l{constructor(){this.isWide=!1,this.level=1,this.isParentExpanded=!0,this.isExpanded=!1,this.isSelected=!1}ngOnChanges(){if(this.nodeChildren=this.node&&this.node.children?this.node.children.filter(s=>!s.hidden):[],this.selectedNodes){const s=this.selectedNodes.indexOf(this.node);this.isSelected=-1!==s,this.isExpanded=this.isParentExpanded&&(this.isSelected||this.isWide&&this.isExpanded)}else this.isSelected=!1;this.setClasses()}setClasses(){this.classes={["level-"+this.level]:!0,collapsed:!this.isExpanded,expanded:this.isExpanded,selected:this.isSelected}}headerClicked(){this.isExpanded=!this.isExpanded,this.setClasses()}isExternalUrl(s){return/^https?:/.test(s)}}return l.\u0275fac=function(s){return new(s||l)},l.\u0275cmp=o.Xpm({type:l,selectors:[["aio-nav-item"]],inputs:{isWide:"isWide",level:"level",node:"node",isParentExpanded:"isParentExpanded",selectedNodes:"selectedNodes"},features:[o.TTD],decls:2,vars:2,consts:[[4,"ngIf"],["class","vertical-menu-item","style","position: relative",3,"href","ngClass","title","target",4,"ngIf"],["class","mat-divider","style","margin: 4px 20px; border-top: 1px solid lightgray",4,"ngIf"],[1,"vertical-menu-item",2,"position","relative",3,"href","ngClass","title","target"],[1,"mat-divider",2,"margin","4px 20px","border-top","1px solid lightgray"],["class","vertical-menu-item heading",3,"href","ngClass","title","click",4,"ngIf"],["type","button","class","vertical-menu-item heading",3,"ngClass","title","click",4,"ngIf"],[1,"heading-children",3,"ngClass"],[3,"level","isWide","isParentExpanded","node","selectedNodes",4,"ngFor","ngForOf"],[1,"vertical-menu-item","heading",3,"href","ngClass","title","click"],["svgIcon","keyboard_arrow_right",1,"rotating-icon"],["type","button",1,"vertical-menu-item","heading",3,"ngClass","title","click"],[3,"level","isWide","isParentExpanded","node","selectedNodes"]],template:function(s,d){1&s&&(o.YNc(0,ds,3,2,"div",0),o.YNc(1,Fs,5,4,"div",0)),2&s&&(o.Q6J("ngIf",!d.node.children),o.xp6(1),o.Q6J("ngIf",d.node.children))},directives:[x.O5,x.mk,ft.Hw,x.sg,l],encapsulation:2}),l})();function xi(l,c){if(1&l&&o._UZ(0,"aio-nav-item",1),2&l){const s=c.$implicit,d=o.oxw();o.Q6J("node",s)("selectedNodes",null==d.currentNode?null:d.currentNode.nodes)("isWide",d.isWide)}}let ci=(()=>{class l{constructor(){this.isWide=!1}get filteredNodes(){return this.nodes?this.nodes.filter(s=>!s.hidden):[]}}return l.\u0275fac=function(s){return new(s||l)},l.\u0275cmp=o.Xpm({type:l,selectors:[["aio-nav-menu"]],inputs:{currentNode:"currentNode",isWide:"isWide",nodes:"nodes"},decls:1,vars:1,consts:[[3,"node","selectedNodes","isWide",4,"ngFor","ngForOf"],[3,"node","selectedNodes","isWide"]],template:function(s,d){1&s&&o.YNc(0,xi,1,3,"aio-nav-item",0),2&s&&o.Q6J("ngForOf",d.filteredNodes)},directives:[x.sg,Rr],encapsulation:2}),l})();var Gi=_(587);function vo(l,c){if(1&l&&(o.TgZ(0,"div",1),o.TgZ(1,"p"),o._uU(2," This is the "),o.TgZ(3,"strong"),o._uU(4),o.qZA(),o._uU(5," Please visit "),o.TgZ(6,"a",2),o._uU(7,"angular.io"),o.qZA(),o._uU(8," to see documentation for the current version of Angular. "),o.qZA(),o.qZA()),2&l){const s=o.oxw();o.xp6(4),o.hij("archived documentation for Angular v",null==s.version?null:s.version.major,".")}}let Ns=(()=>{class l{}return l.\u0275fac=function(s){return new(s||l)},l.\u0275cmp=o.Xpm({type:l,selectors:[["aio-mode-banner"]],inputs:{mode:"mode",version:"version"},decls:1,vars:1,consts:[["class","mode-banner alert archive-warning",4,"ngIf"],[1,"mode-banner","alert","archive-warning"],["href","https://angular.cn/"]],template:function(s,d){1&s&&o.YNc(0,vo,9,1,"div",0),2&s&&o.Q6J("ngIf","archive"===d.mode)},directives:[x.O5],encapsulation:2}),l})();function ui(l,c,s,d,m,D,I){try{var B=l[D](I),de=B.value}catch($e){return void s($e)}B.done?c(de):Promise.resolve(de).then(d,m)}function xr(l){return function(){var c=this,s=arguments;return new Promise(function(d,m){var D=l.apply(c,s);function I(de){ui(D,d,m,I,B,"next",de)}function B(de){ui(D,d,m,I,B,"throw",de)}I(void 0)})}}var hs=_(3888),Gr=_(8728),vr=_(3158),Qn=_(2010);const fs=[{selector:"aio-announcement-bar",loadChildren:()=>_.e("src_app_custom-elements_announcement-bar_announcement-bar_module_ts").then(_.bind(_,6042)).then(l=>l.AnnouncementBarModule)},{selector:"aio-api-list",loadChildren:()=>_.e("src_app_custom-elements_api_api-list_module_ts").then(_.bind(_,4858)).then(l=>l.ApiListModule)},{selector:"aio-contributor-list",loadChildren:()=>_.e("src_app_custom-elements_contributor_contributor-list_module_ts").then(_.bind(_,7283)).then(l=>l.ContributorListModule)},{selector:"aio-file-not-found-search",loadChildren:()=>_.e("src_app_custom-elements_search_file-not-found-search_module_ts").then(_.bind(_,8359)).then(l=>l.FileNotFoundSearchModule)},{selector:"aio-angular-dist-tag",loadChildren:()=>_.e("src_app_custom-elements_dist-tag_dist-tag_module_ts").then(_.bind(_,9857)).then(l=>l.DistTagModule)},{selector:"aio-resource-list",loadChildren:()=>_.e("src_app_custom-elements_resource_resource-list_module_ts").then(_.bind(_,4994)).then(l=>l.ResourceListModule)},{selector:"aio-toc",loadChildren:()=>_.e("src_app_custom-elements_toc_toc_module_ts").then(_.bind(_,2786)).then(l=>l.TocModule)},{selector:"code-example",loadChildren:()=>Promise.all([_.e("default-src_app_custom-elements_code_code_component_ts-src_app_custom-elements_code_code_module_ts"),_.e("src_app_custom-elements_code_code-example_module_ts")]).then(_.bind(_,102)).then(l=>l.CodeExampleModule)},{selector:"code-tabs",loadChildren:()=>Promise.all([_.e("default-src_app_custom-elements_code_code_component_ts-src_app_custom-elements_code_code_module_ts"),_.e("src_app_custom-elements_code_code-tabs_module_ts")]).then(_.bind(_,8639)).then(l=>l.CodeTabsModule)},{selector:"live-example",loadChildren:()=>_.e("src_app_custom-elements_live-example_live-example_module_ts").then(_.bind(_,8517)).then(l=>l.LiveExampleModule)},{selector:"aio-events",loadChildren:()=>_.e("src_app_custom-elements_events_events_module_ts").then(_.bind(_,1122)).then(l=>l.EventsModule)}],ps=new o.OlP("aio/elements-map"),Pi=new Map;fs.forEach(l=>{Pi.set(l.selector,l.loadChildren)});var rr=_(3609),Ki=_(6067);const di={schedule(l,c){const s=setTimeout(l,c);return()=>clearTimeout(s)},scheduleBeforeRender(l){if("undefined"==typeof window)return di.schedule(l,0);if(void 0===window.requestAnimationFrame)return di.schedule(l,16);const c=window.requestAnimationFrame(l);return()=>window.cancelAnimationFrame(c)}};let b;function jt(l,c,s){let d=s;return function(l){return!!l&&l.nodeType===Node.ELEMENT_NODE}(l)&&c.some((m,D)=>!("*"===m||!function(l,c){if(!b){const s=Element.prototype;b=s.matches||s.matchesSelector||s.mozMatchesSelector||s.msMatchesSelector||s.oMatchesSelector||s.webkitMatchesSelector}return l.nodeType===Node.ELEMENT_NODE&&b.call(l,c)}(l,m)||(d=D,0))),d}class pn{constructor(c,s){this.componentFactory=s.get(o._Vd).resolveComponentFactory(c)}create(c){return new en(this.componentFactory,c)}}class en{constructor(c,s){this.componentFactory=c,this.injector=s,this.eventEmitters=new Ki.t(1),this.events=this.eventEmitters.pipe((0,Te.w)(d=>(0,V.T)(...d))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:d})=>d)),this.ngZone=this.injector.get(o.R0b),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(()=>Zone.current)}connect(c){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(c)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=di.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(c){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(c):this.componentRef.instance[c])}setInputValue(c,s){this.runInZone(()=>{null!==this.componentRef?function(l,c){return l===c||l!=l&&c!=c}(s,this.getInputValue(c))&&(void 0!==s||!this.unchangedInputs.has(c))||(this.recordInputChange(c,s),this.unchangedInputs.delete(c),this.hasInputChanges=!0,this.componentRef.instance[c]=s,this.scheduleDetectChanges()):this.initialInputValues.set(c,s)})}initializeComponent(c){const s=o.zs3.create({providers:[],parent:this.injector}),d=function(l,c){const s=l.childNodes,d=c.map(()=>[]);let m=-1;c.some((D,I)=>"*"===D&&(m=I,!0));for(let D=0,I=s.length;D<I;++D){const B=s[D],de=jt(B,c,m);-1!==de&&d[de].push(B)}return d}(c,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(s,d,c),this.viewChangeDetectorRef=this.componentRef.injector.get(o.sBO),this.implementsOnChanges="function"==typeof this.componentRef.instance.ngOnChanges,this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(o.z2F).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:c})=>{this.initialInputValues.has(c)&&this.setInputValue(c,this.initialInputValues.get(c))}),this.initialInputValues.clear()}initializeOutputs(c){const s=this.componentFactory.outputs.map(({propName:d,templateName:m})=>c.instance[d].pipe((0,W.U)(I=>({name:m,value:I}))));this.eventEmitters.next(s)}callNgOnChanges(c){if(!this.implementsOnChanges||null===this.inputChanges)return;const s=this.inputChanges;this.inputChanges=null,c.instance.ngOnChanges(s)}markViewForCheck(c){this.hasInputChanges&&(this.hasInputChanges=!1,c.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=di.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(c,s){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const d=this.inputChanges[c];if(d)return void(d.currentValue=s);const m=this.unchangedInputs.has(c),D=m?void 0:this.getInputValue(c);this.inputChanges[c]=new o.WD2(D,s,m)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(c){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(c):c()}}class gn extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}let Ct=(()=>{class l{constructor(s,d){this.moduleRef=s,this.elementsLoading=new Map,this.elementsToLoad=new Map(d)}loadContainedCustomElements(s){const d=Array.from(this.elementsToLoad.keys()).filter(D=>s.querySelector(D));if(!d.length)return(0,A.of)(void 0);const m=Promise.all(d.map(D=>this.loadCustomElement(D)));return(0,rr.D)(m.then(()=>{}))}loadCustomElement(s){if(this.elementsLoading.has(s))return this.elementsLoading.get(s);if(this.elementsToLoad.has(s)){const m=this.elementsToLoad.get(s)().then(D=>{const I=(0,o.hM9)(D,this.moduleRef.injector),$e=function(l,c){const s=function(l,c){return c.get(o._Vd).resolveComponentFactory(l).inputs}(l,c.injector),d=c.strategyFactory||new pn(l,c.injector),m=function(l){const c={};return l.forEach(({propName:s,templateName:d})=>{c[function(l){return l.replace(/[A-Z]/g,c=>`-${c.toLowerCase()}`)}(d)]=s}),c}(s);class D extends gn{constructor(B){super(),this.injector=B}get ngElementStrategy(){if(!this._ngElementStrategy){const B=this._ngElementStrategy=d.create(this.injector||c.injector);s.forEach(({propName:de})=>{if(!this.hasOwnProperty(de))return;const $e=this[de];delete this[de],B.setInputValue(de,$e)})}return this._ngElementStrategy}attributeChangedCallback(B,de,$e,it){this.ngElementStrategy.setInputValue(m[B],$e)}connectedCallback(){let B=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),B=!0),this.ngElementStrategy.connect(this),B||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(B=>{const de=function(l,c,s){if("function"!=typeof CustomEvent){const D=l.createEvent("CustomEvent");return D.initCustomEvent(c,!1,!1,s),D}return new CustomEvent(c,{bubbles:!1,cancelable:!1,detail:s})}(this.ownerDocument,B.name,B.value);this.dispatchEvent(de)})}}return D.observedAttributes=Object.keys(m),s.forEach(({propName:I})=>{Object.defineProperty(D.prototype,I,{get(){return this.ngElementStrategy.getInputValue(I)},set(B){this.ngElementStrategy.setInputValue(I,B)},configurable:!0,enumerable:!0})}),D}(I.instance.customElementComponent,{injector:I.injector});return customElements.define(s,$e),customElements.whenDefined(s)}).then(()=>{this.elementsLoading.delete(s),this.elementsToLoad.delete(s)}).catch(D=>(this.elementsLoading.delete(s),Promise.reject(D)));return this.elementsLoading.set(s,m),m}return Promise.resolve()}}return l.\u0275fac=function(s){return new(s||l)(o.LFG(o.h0i),o.LFG(ps))},l.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac}),l})();const hi=document.querySelector("aio-doc-viewer"),Zr=hi?(0,mn.Iv)(hi):Qn.sx;let gs=(()=>{class l{constructor(s,d,m,D,I){this.logger=d,this.titleService=m,this.tocService=D,this.elementsLoader=I,this.void$=(0,A.of)(void 0),this.onDestroy$=new o.vpe,this.docContents$=new o.vpe,this.currViewContainer=document.createElement("div"),this.nextViewContainer=document.createElement("div"),this.docReady=new o.vpe,this.docRemoved=new o.vpe,this.docInserted=new o.vpe,this.docRendered=new o.vpe,this.hostElement=s.nativeElement,this.hostElement.innerHTML=(0,Qn.X$)(Zr),this.hostElement.firstElementChild&&(this.currViewContainer=this.hostElement.firstElementChild),this.docContents$.pipe((0,Gr.Q)(hs.E),(0,Te.w)(B=>this.render(B)),(0,We.R)(this.onDestroy$)).subscribe()}set doc(s){s&&this.docContents$.emit(s)}ngOnDestroy(){this.onDestroy$.emit()}prepareTitleAndToc(s,d){const m=s.querySelector("h1"),D=!!m&&!/no-?toc/i.test(m.className),I=s.querySelector("aio-toc.embedded");if(m&&m.parentNode&&D&&!I){const B=document.createElement("aio-toc");B.className="embedded",m.parentNode.insertBefore(B,m.nextSibling)}else!D&&I&&null!==I.parentNode&&I.parentNode.removeChild(I);return()=>{this.tocService.reset();let B="";m&&(B="string"==typeof m.innerText?m.innerText:m.textContent,D&&this.tocService.genToc(s,d)),this.titleService.setTitle(B?`Angular - ${B}`:"Angular")}}render(s){let d;return this.setNoIndex(s.id===On.xx||s.id===On.cH),this.void$.pipe((0,Ge.b)(()=>{null===s.contents?this.nextViewContainer.textContent="":this.nextViewContainer.innerHTML=(0,Qn.X$)(s.contents)}),(0,Ge.b)(()=>d=this.prepareTitleAndToc(this.nextViewContainer,s.id)),(0,Te.w)(()=>this.elementsLoader.loadContainedCustomElements(this.nextViewContainer)),(0,Ge.b)(()=>this.docReady.emit()),(0,Te.w)(()=>this.swapViews(d)),(0,Ge.b)(()=>this.docRendered.emit()),(0,vr.K)(m=>{const D=`${m instanceof Error?m.stack:m}`;return this.logger.error(new Error(`[DocViewer] Error preparing document '${s.id}': ${D}`)),this.nextViewContainer.textContent="",this.setNoIndex(!0),/loading chunk \S+ failed/i.test(D)&&function(){Bs.apply(this,arguments)}(),this.void$}))}setNoIndex(s){console.log("no index: ",s)}swapViews(s=(()=>{})){const d=new L.y($e=>{const it=requestAnimationFrame(()=>{$e.next(),$e.complete()});return()=>cancelAnimationFrame(it)}),D=($e,it,ht,vt,zt=200)=>{const pr=this.hostElement.classList.contains("no-animations");return $e.style.transition="",pr?this.void$.pipe((0,Ge.b)(()=>$e.style[it]=vt)):this.void$.pipe((0,Te.w)(()=>d),(0,Ge.b)(()=>$e.style[it]=ht),(0,Te.w)(()=>d),(0,Ge.b)(()=>$e.style.transition=`all ${zt}ms ease-in-out`),(0,Te.w)(()=>d),(0,Ge.b)(()=>$e.style[it]=vt),(0,Te.w)(()=>(0,Dt.H)(($e=>{const it=getComputedStyle($e).transitionDuration||"";return 1e3*Number(it.replace(/s$/,""))})($e))),(0,Te.w)(()=>this.void$))};let de=this.void$;return this.currViewContainer.parentElement&&(de=de.pipe((0,Te.w)(()=>D(this.currViewContainer,"opacity","1","0.1")),(0,Ge.b)(()=>this.currViewContainer.parentElement.removeChild(this.currViewContainer)),(0,Ge.b)(()=>this.docRemoved.emit()))),de.pipe((0,Ge.b)(()=>this.hostElement.appendChild(this.nextViewContainer)),(0,Ge.b)(()=>s()),(0,Ge.b)(()=>this.docInserted.emit()),(0,Te.w)(()=>D(this.nextViewContainer,"opacity","0.1","1")),(0,Ge.b)(()=>{const $e=this.currViewContainer;this.currViewContainer=this.nextViewContainer,this.nextViewContainer=$e,this.nextViewContainer.textContent=""}))}toggleTranslationOrigin(s){const d=function(l){for(;l&&!l.hasAttribute("translation-result");)l=l.parentElement;return l}(s.target);if(d&&d.hasAttribute("translation-result")){const m=d.nextElementSibling;if(!m||m.hasAttribute("translation-result")||m.tagName!==d.tagName)return;"on"===m.getAttribute("translation-origin")?m.setAttribute("translation-origin","off"):m.setAttribute("translation-origin","on")}}}return l.\u0275fac=function(s){return new(s||l)(o.Y36(o.SBq),o.Y36(Vr.Y),o.Y36(p.Dx),o.Y36(Jn.I),o.Y36(Ct))},l.\u0275cmp=o.Xpm({type:l,selectors:[["aio-doc-viewer"]],hostBindings:function(s,d){1&s&&o.NdJ("click",function(D){return d.toggleTranslationOrigin(D)})},inputs:{doc:"doc"},outputs:{docReady:"docReady",docRemoved:"docRemoved",docInserted:"docInserted",docRendered:"docRendered"},decls:0,vars:0,template:function(s,d){},encapsulation:2}),l})();function Bs(){return Bs=xr(function*(){var l,c,s;const d="\n----------",m=null!==(s=null===(c=null===(l=navigator.serviceWorker)||void 0===l?void 0:l.controller)||void 0===c?void 0:c.state)&&void 0!==s?s:"N/A";if(console.log(`\nServiceWorker: ${m}`),"undefined"==typeof caches)console.log(`${d}\nCaches: N/A`);else{const zt=(yield caches.keys()).filter(pr=>pr.startsWith("ngsw:/:"));yield B(zt,"db:control",!0,["manifests"]),yield B(zt,"assets:app-shell:cache",!1),yield B(zt,"assets:app-shell:meta",!0)}function I(){return(I=xr(function*(){try{const vt=yield fetch("/ngsw/state");if(!vt.ok)throw new Error(`Response ${vt.status} ${vt.statusText}`);console.log(yield vt.text())}catch(vt){console.log(`Failed to retrieve debug info from '/ngsw/state': ${vt.message||vt}`)}})).apply(this,arguments)}function B(vt,zt,pr){return de.apply(this,arguments)}function de(){return(de=xr(function*(vt,zt,pr,or=[]){const ar=vt.filter(In=>In.endsWith(zt));for(const In of ar){const Ci=yield $e(In,pr,or);yield ht(In,Ci)}})).apply(this,arguments)}function $e(vt,zt){return it.apply(this,arguments)}function it(){return it=xr(function*(vt,zt,pr=[]){const or=new Set(pr.map(Gn=>new Request(Gn).url)),ar=yield caches.open(vt),In=(yield ar.keys()).map(Gn=>Gn.url).filter(Gn=>!or.has(Gn));return yield Promise.all(In.map(function(){var Gn=xr(function*(ei){var Ts;return{key:ei,value:zt?yield null===(Ts=yield ar.match(ei))||void 0===Ts?void 0:Ts.json():void 0}});return function(ei){return Gn.apply(this,arguments)}}()))}),it.apply(this,arguments)}function ht(vt,zt){const pr=zt.map(({key:or,value:ar})=>` - ${or}${ar?`: ${JSON.stringify(ar)}`:""}`).join("\n");console.log(`\nCache: ${vt} (${zt.length} entries)\n${pr}`)}"activated"===m&&(console.log(d),yield function(){return I.apply(this,arguments)}()),console.warn(`${d}\nIf you see this error, please report an issue at https://github.com/angular/angular/issues/new?template=3-docs-bug.md including the above logs.`)}),Bs.apply(this,arguments)}function ze(l,c){if(1&l&&(o.TgZ(0,"li"),o.TgZ(1,"a",7),o._uU(2),o.qZA(),o.qZA()),2&l){const s=c.$implicit;let d,m;o.xp6(1),o.Q6J("href",s.url,o.LSH)("title",null!==(d=null!==(d=null!==(d=s.tooltipCn)&&void 0!==d?d:s.tooltip)&&void 0!==d?d:s.titleCn)&&void 0!==d?d:s.title),o.xp6(1),o.Oqu(null!==(m=s.titleCn)&&void 0!==m?m:s.title)}}function tn(l,c){if(1&l&&(o.TgZ(0,"div",5),o.TgZ(1,"h3"),o._uU(2),o.qZA(),o.TgZ(3,"ul"),o.YNc(4,ze,3,3,"li",6),o.qZA(),o.qZA()),2&l){const s=c.$implicit;let d;o.xp6(2),o.Oqu(null!==(d=s.titleCn)&&void 0!==d?d:s.title),o.xp6(2),o.Q6J("ngForOf",s.children)}}let Us=(()=>{class l{}return l.\u0275fac=function(s){return new(s||l)},l.\u0275cmp=o.Xpm({type:l,selectors:[["aio-footer"]],inputs:{nodes:"nodes",versionInfo:"versionInfo"},decls:17,vars:2,consts:[[1,"grid-fluid"],["class","footer-block",4,"ngFor","ngForOf"],["href","license","title","License text"],["href","https://creativecommons.org/licenses/by/4.0/"],["href","https://beian.miit.gov.cn/","target","_blank"],[1,"footer-block"],[4,"ngFor","ngForOf"],[1,"link",3,"href","title"]],template:function(s,d){1&s&&(o.TgZ(0,"div",0),o.YNc(1,tn,5,2,"div",1),o.qZA(),o.TgZ(2,"p"),o._uU(3," Super-powered by Google \xa92010-2021.\n"),o.qZA(),o.TgZ(4,"p"),o._uU(5," \u4ee3\u7801\u6388\u6743\u65b9\u5f0f\uff1a"),o.TgZ(6,"a",2),o._uU(7,"MIT-style License"),o.qZA(),o._uU(8,". \u6587\u6863\u6388\u6743\u65b9\u5f0f\uff1a"),o.TgZ(9,"a",3),o._uU(10,"CC BY 4.0"),o.qZA(),o._uU(11,".\n"),o.qZA(),o.TgZ(12,"p"),o._uU(13),o.qZA(),o.TgZ(14,"p"),o.TgZ(15,"a",4),o._uU(16,"\u6caaICP\u590713038357\u53f7-21"),o.qZA(),o.qZA()),2&s&&(o.xp6(1),o.Q6J("ngForOf",d.nodes),o.xp6(12),o.hij(" \u5f53\u524d\u7248\u672c\uff1a",null==d.versionInfo?null:d.versionInfo.full,".\n"))},directives:[x.sg],encapsulation:2}),l})();const Fn=function(l){return{selected:l}};function yo(l,c){if(1&l&&(o.TgZ(0,"li",2),o.TgZ(1,"a",3),o.TgZ(2,"span",4),o._uU(3),o.qZA(),o.qZA(),o.qZA()),2&l){const s=c.$implicit,d=o.oxw();let m,D;o.Q6J("ngClass",o.VKq(7,Fn,s.url===d.currentUrl)),o.xp6(1),o.ekj("highlight",s.highlight),o.Q6J("href",s.url,o.LSH)("title",null!==(m=null!==(m=null!==(m=s.tooltipCn)&&void 0!==m?m:s.tooltip)&&void 0!==m?m:s.titleCn)&&void 0!==m?m:s.title)("target",s.external?"_blank":"_self"),o.xp6(2),o.Oqu(null!==(D=s.titleCn)&&void 0!==D?D:s.title)}}let _s=(()=>{class l{get currentUrl(){return this.currentNode?this.currentNode.url:null}}return l.\u0275fac=function(s){return new(s||l)},l.\u0275cmp=o.Xpm({type:l,selectors:[["aio-top-menu"]],inputs:{nodes:"nodes",currentNode:"currentNode"},decls:2,vars:1,consts:[["role","navigation"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[1,"nav-link",3,"href","title","target"],[1,"nav-link-inner"]],template:function(s,d){1&s&&(o.TgZ(0,"ul",0),o.YNc(1,yo,4,9,"li",1),o.qZA()),2&s&&(o.xp6(1),o.Q6J("ngForOf",d.nodes))},directives:[x.sg,x.mk],styles:[".nav-link.highlight[_ngcontent-%COMP%]{color:#ff0}\n/*# sourceMappingURL=top-menu.component.ts-angular-inline--2.css.map*/"]}),l})();var w=_(26);const u=["dt"];let f=(()=>{class l{constructor(){this.docChange=new o.vpe}get text(){return this.doc&&this.doc.contents}dtextSet(){this.doc.contents=this.dt.nativeElement.value,this.docChange.emit(Object.assign({},this.doc))}}return l.\u0275fac=function(s){return new(s||l)},l.\u0275cmp=o.Xpm({type:l,selectors:[["aio-dt"]],viewQuery:function(s,d){if(1&s&&o.Gf(u,7,o.SBq),2&s){let m;o.iGM(m=o.CRH())&&(d.dt=m.first)}},inputs:{doc:"doc"},outputs:{docChange:"docChange"},decls:7,vars:1,consts:[["rows","10","cols","80",3,"value"],["dt",""],[3,"click"]],template:function(s,d){1&s&&(o.TgZ(0,"div"),o._UZ(1,"hr"),o._UZ(2,"textarea",0,1),o._UZ(4,"br"),o.TgZ(5,"button",2),o.NdJ("click",function(){return d.dtextSet()}),o._uU(6,"Show change"),o.qZA(),o.qZA()),2&s&&(o.xp6(2),o.Q6J("value",d.text))},encapsulation:2}),l})(),y=(()=>{class l{constructor(s,d,m){this.elementRef=s,this.elementsLoader=d,this.logger=m,this.selector=""}ngOnInit(){this.selector&&!/[^\w-]/.test(this.selector)?(this.elementRef.nativeElement.textContent="",this.elementRef.nativeElement.appendChild(document.createElement(this.selector)),this.elementsLoader.loadCustomElement(this.selector)):this.logger.error(new Error(`Invalid selector for 'aio-lazy-ce': ${this.selector}`))}}return l.\u0275fac=function(s){return new(s||l)(o.Y36(o.SBq),o.Y36(Ct),o.Y36(Vr.Y))},l.\u0275cmp=o.Xpm({type:l,selectors:[["aio-lazy-ce"]],inputs:{selector:"selector"},decls:0,vars:0,template:function(s,d){},encapsulation:2}),l})();const S=["searchBox","searchResultsView"];function R(l,c){1&l&&(o.TgZ(0,"div",42),o._UZ(1,"mat-progress-bar",43),o.qZA())}function K(l,c){1&l&&o._UZ(0,"img",44)}function Q(l,c){1&l&&o._UZ(0,"img",45)}function pe(l,c){if(1&l&&o._UZ(0,"aio-top-menu",46),2&l){const s=o.oxw();o.Q6J("nodes",s.topMenuNodes)("currentNode",null==s.currentNodes?null:s.currentNodes.TopBar)}}function Fe(l,c){if(1&l){const s=o.EpF();o.TgZ(0,"aio-search-results",47,48),o.NdJ("resultSelected",function(){return o.CHM(s),o.oxw().hideSearchResults()}),o.ALo(2,"async"),o.qZA()}if(2&l){const s=o.oxw();o.Q6J("searchResults",o.lcZ(2,1,s.searchResults))}}function qe(l,c){if(1&l&&o._UZ(0,"aio-nav-menu",30),2&l){const s=o.oxw();o.Q6J("nodes",s.topMenuNarrowNodes)("currentNode",null==s.currentNodes?null:s.currentNodes.TopBarNarrow)("isWide",s.dockSideNav)}}function pt(l,c){if(1&l){const s=o.EpF();o.TgZ(0,"aio-dt",49),o.NdJ("docChange",function(m){return o.CHM(s),o.oxw().currentDocument=m}),o.qZA()}if(2&l){const s=o.oxw();o.Q6J("doc",s.currentDocument)}}function Lt(l,c){if(1&l){const s=o.EpF();o.TgZ(0,"div",50),o.NdJ("wheel",function(m){return o.CHM(s),o.oxw().restrainScrolling(m)}),o._UZ(1,"aio-lazy-ce",51),o.qZA()}if(2&l){const s=o.oxw();o.Udp("max-height",s.tocMaxHeight,"px")}}const Xt=function(l){return{collapsed:l}},Tt="SideNav";class dn{constructor(c,s,d,m,D,I,B,de,$e){this.deployment=c,this.documentService=s,this.hostElement=d,this.locationService=m,this.navigationService=D,this.scrollService=I,this.searchService=B,this.swUpdatesService=de,this.tocService=$e,this.currentNodes={},this.dtOn=!1,this.hostClasses="",this.isStarting=!0,this.isTransitioning=!0,this.isFetching=!1,this.showTopMenu=!1,this.dockSideNav=!1,this.isSideNavDoc=!1,this.hasFloatingToc=!1,this.showFloatingToc=new yn.X(!1),this.tocMaxHeightOffset=0,this.showSearchResults=!1,this.notificationAnimating=!1}get disableAnimations(){return dn.reducedMotion||this.isStarting}get isOpened(){return this.dockSideNav&&this.isSideNavDoc}get mode(){return this.isOpened?"side":"over"}ngOnInit(){"Worker"in window&&this.searchService.initWorker(2e3),this.onResize(window.innerWidth),this.documentService.currentDocument.subscribe(s=>this.currentDocument=s),this.locationService.currentPath.subscribe(s=>{s===this.currentPath?this.scrollService.scroll():(this.currentPath=s,clearTimeout(this.isFetchingTimeout),this.isFetchingTimeout=setTimeout(()=>this.isFetching=!0,200))}),this.navigationService.currentNodes.subscribe(s=>{this.currentNodes=s,"archive"===this.deployment.mode&&!s[Tt]&&this.locationService.replace("docs")}),(0,An.a)([this.navigationService.versionInfo,this.navigationService.navigationViews.pipe((0,W.U)(s=>s.docVersions))]).subscribe(([s,d])=>{const m=[{title:"next",url:"https://next.angular.io/"},{title:"rc",url:"https://rc.angular.io/"},{title:"stable",url:"https://angular.io/"}];"archive"===this.deployment.mode&&m.push({title:`v${s.major}`}),this.docVersions=[...m,...d],this.currentDocVersion=this.docVersions.find(D=>D.title===this.deployment.mode||D.title===`v${s.major}`),this.currentDocVersion.title+=` (v${s.raw})`}),this.navigationService.navigationViews.subscribe(s=>{this.footerNodes=s.Footer||[],this.sideNavNodes=s.SideNav||[],this.topMenuNodes=s.TopBar||[],this.topMenuNarrowNodes=s.TopBarNarrow||this.topMenuNodes}),this.navigationService.versionInfo.subscribe(s=>this.versionInfo=s);const c=this.tocService.tocList.pipe((0,W.U)(s=>s.length>0));(0,An.a)([c,this.showFloatingToc]).subscribe(([s,d])=>this.hasFloatingToc=s&&d),(0,An.a)([this.documentService.currentDocument,this.navigationService.currentNodes]).pipe((0,lr.P)()).subscribe(()=>this.updateShell()),this.locationService.currentUrl.subscribe(s=>this.currentUrl=s),this.swUpdatesService.enable()}onDocReady(){this.isTransitioning=!0,clearTimeout(this.isFetchingTimeout),setTimeout(()=>this.isFetching=!1,500)}onDocRemoved(){this.scrollService.removeStoredScrollInfo()}onDocInserted(){setTimeout(()=>this.updateShell()),this.scrollService.scrollAfterRender(500)}onDocRendered(){this.isStarting&&setTimeout(()=>this.isStarting=!1,100),this.isTransitioning=!1}onDocVersionChange(c){const s=this.docVersions[c];if(s.url){const d=s.url+(s.url.endsWith("/")?"":"/");this.locationService.go(`${d}${this.currentUrl}`)}}onResize(c){this.showTopMenu=c>=1150,this.dockSideNav=c>=992,this.showFloatingToc.next(c>800),this.showTopMenu&&!this.isSideNavDoc&&this.sidenav.toggle(!1)}onClick(c,s,d,m,D){if(this.searchElements.some(B=>B.nativeElement.contains(c))||this.hideSearchResults(),"FOOTER"===c.tagName&&m&&D)return this.dtOn=!this.dtOn,!1;let I=c;for(;I&&!(I instanceof HTMLAnchorElement);)I=I.parentElement;return!(I instanceof HTMLAnchorElement)||this.locationService.handleAnchorClick(I,s,d,m)}setPageId(c){this.pageId="index"===c?"home":c.replace("/","-")}setFolderId(c){this.folderId="index"===c?"home":c.split("/",1)[0]}notificationDismissed(){this.notificationAnimating=!0,setTimeout(()=>this.notificationAnimating=!1,250),this.updateHostClasses()}updateHostClasses(){const c=`mode-${this.deployment.mode}`,s="sidenav-"+(this.sidenav.opened?"open":"closed"),d=`page-${this.pageId}`,m=`folder-${this.folderId}`,D=Object.keys(this.currentNodes).map(de=>`view-${de}`).join(" ");this.hostClasses=[c,s,d,m,D,`aio-notification-${this.notification.showNotification}`,this.notificationAnimating?"aio-notification-animating":""].join(" ")}updateShell(){this.updateSideNav(),this.setPageId(this.currentDocument.id),this.setFolderId(this.currentDocument.id),this.updateHostClasses()}updateSideNav(){let c=this.sidenav.opened;const s=!!this.currentNodes[Tt];this.isSideNavDoc!==s&&(c=this.isSideNavDoc=s),this.sidenav.toggle(this.dockSideNav&&c)}onScroll(){if(!this.tocMaxHeightOffset){const c=this.hostElement.nativeElement,s=c.querySelector(".app-toolbar"),d=c.querySelector("footer");s&&d&&(this.tocMaxHeightOffset=s.clientHeight+d.clientHeight+24)}this.tocMaxHeight=(document.body.scrollHeight-window.pageYOffset-this.tocMaxHeightOffset).toFixed(2)}restrainScrolling(c){const s=c.currentTarget,d=s.scrollTop;c.deltaY<0?d<1&&c.preventDefault():s.scrollHeight-s.clientHeight-d<1&&c.preventDefault()}hideSearchResults(){this.showSearchResults=!1;const c=this.locationService.search();void 0!==c.search&&this.locationService.setSearch("",Object.assign(Object.assign({},c),{search:void 0}))}focusSearchBox(){this.searchBox&&this.searchBox.focus()}doSearch(c){this.searchResults=this.searchService.search(c),this.showSearchResults=!!c}onKeyUp(c,s){("/"===c||191===s)&&this.focusSearchBox(),("Escape"===c||27===s)&&this.showSearchResults&&(this.hideSearchResults(),this.focusSearchBox())}}dn.reducedMotion=window.matchMedia("(prefers-reduced-motion)").matches,dn.\u0275fac=function(c){return new(c||dn)(o.Y36(oi),o.Y36(On.Zg),o.Y36(o.SBq),o.Y36(wn.a),o.Y36(as),o.Y36(ls.a),o.Y36(cs.o),o.Y36(ha),o.Y36(Jn.I))},dn.\u0275cmp=o.Xpm({type:dn,selectors:[["aio-shell"]],viewQuery:function(c,s){if(1&c&&(o.Gf(Un,7),o.Gf(fe,7),o.Gf(_r,7),o.Gf(S,5,o.SBq)),2&c){let d;o.iGM(d=o.CRH())&&(s.searchBox=d.first),o.iGM(d=o.CRH())&&(s.sidenav=d.first),o.iGM(d=o.CRH())&&(s.notification=d.first),o.iGM(d=o.CRH())&&(s.searchElements=d)}},hostVars:3,hostBindings:function(c,s){1&c&&o.NdJ("resize",function(m){return s.onResize(m.target.innerWidth)},!1,o.Jf7)("click",function(m){return s.onClick(m.target,m.button,m.ctrlKey,m.metaKey,m.altKey)})("scroll",function(){return s.onScroll()},!1,o.Jf7)("keyup",function(m){return s.onKeyUp(m.key,m.which)},!1,o.evT),2&c&&(o.d8E("@.disabled",s.disableAnimations),o.Tol(s.hostClasses))},decls:50,vars:35,consts:[["id","top-of-page"],["href","#main-content",1,"skip-to-content-link"],["class","progress-bar-container",4,"ngIf"],["color","primary",1,"app-toolbar","no-print"],[1,"notification-container"],["notificationId","survey-october-2021","expirationDate","2021-12-04",3,"dismissOnContentClick","dismissed"],["href","https://goo.gle/angular-survey-2021","target","_blank"],["svgIcon","insert_comment","aria-label","Announcement",1,"icon"],[1,"message"],[1,"action-button"],["mat-button","","title","Docs menu",1,"hamburger",3,"click"],["svgIcon","menu"],["href","/",1,"nav-link","home",3,"ngSwitch"],["src","assets/images/logos/angular/logo-nav@2x.png","width","150","height","40","title","Home","alt","Home",4,"ngSwitchCase"],["src","assets/images/logos/angular/shield-large.svg","width","37","height","40","title","Home","alt","Home",4,"ngSwitchDefault"],[3,"nodes","currentNode",4,"ngIf"],[1,"search-container",3,"onSearch","onFocus"],["searchBox",""],[1,"toolbar-external-icons-container"],["mat-icon-button","","href","https://twitter.com/angular","title","Twitter","aria-label","Angular on twitter"],["svgIcon","logos:twitter"],["mat-icon-button","","href","https://github.com/angular/angular","title","GitHub","aria-label","Angular on github"],["svgIcon","logos:github"],["mat-icon-button","","href","https://youtube.com/angular","title","YouTube","aria-label","Angular on YouTube"],["svgIcon","logos:youtube"],[3,"searchResults","resultSelected",4,"ngIf"],["role","main",1,"sidenav-container"],[1,"sidenav",3,"ngClass","mode","opened","openedChange"],["sidenav",""],[3,"nodes","currentNode","isWide",4,"ngIf"],[3,"nodes","currentNode","isWide"],[1,"doc-version"],[3,"options","selected","change"],[1,"sidenav-content-container"],["role","main",1,"sidenav-content",3,"id"],["id","main-content","tabindex","-1"],[3,"mode","version"],[3,"doc","docReady","docRemoved","docInserted","docRendered"],[3,"doc","docChange",4,"ngIf"],["class","toc-container no-print",3,"max-height","wheel",4,"ngIf"],[1,"no-print"],[3,"nodes","versionInfo"],[1,"progress-bar-container"],["mode","indeterminate","color","warn"],["src","assets/images/logos/angular/logo-nav@2x.png","width","150","height","40","title","Home","alt","Home"],["src","assets/images/logos/angular/shield-large.svg","width","37","height","40","title","Home","alt","Home"],[3,"nodes","currentNode"],[3,"searchResults","resultSelected"],["searchResultsView",""],[3,"doc","docChange"],[1,"toc-container","no-print",3,"wheel"],["selector","aio-toc"]],template:function(c,s){if(1&c){const d=o.EpF();o._UZ(0,"div",0),o._UZ(1,"aio-cookies-popup"),o.TgZ(2,"a",1),o._uU(3,"Skip to main content"),o.qZA(),o.YNc(4,R,2,0,"div",2),o.TgZ(5,"mat-toolbar",3),o.TgZ(6,"mat-toolbar-row",4),o.TgZ(7,"aio-notification",5),o.NdJ("dismissed",function(){return s.notificationDismissed()}),o.TgZ(8,"a",6),o._UZ(9,"mat-icon",7),o.TgZ(10,"span",8),o.TgZ(11,"b"),o._uU(12,"\u586b\u5199\u8fd9\u4efd\u300a\u4e00\u5206\u949f\u8c03\u67e5\u300b"),o.qZA(),o._uU(13,"\uff0c\u5e2e\u6211\u4eec\uff08\u5f00\u53d1\u7ec4\uff09\u505a\u5f97\u66f4\u597d\uff01"),o.qZA(),o.TgZ(14,"span",9),o._uU(15,"\u53bb\u586b\u5199"),o.qZA(),o.qZA(),o.qZA(),o.qZA(),o.TgZ(16,"mat-toolbar-row"),o.TgZ(17,"button",10),o.NdJ("click",function(){return o.CHM(d),o.MAs(36).toggle()}),o._UZ(18,"mat-icon",11),o.qZA(),o.TgZ(19,"a",12),o.YNc(20,K,1,0,"img",13),o.YNc(21,Q,1,0,"img",14),o.qZA(),o.YNc(22,pe,1,2,"aio-top-menu",15),o.TgZ(23,"aio-search-box",16,17),o.NdJ("onSearch",function(D){return s.doSearch(D)})("onFocus",function(D){return s.doSearch(D)}),o.qZA(),o._UZ(25,"aio-theme-toggle"),o.TgZ(26,"div",18),o.TgZ(27,"a",19),o._UZ(28,"mat-icon",20),o.qZA(),o.TgZ(29,"a",21),o._UZ(30,"mat-icon",22),o.qZA(),o.TgZ(31,"a",23),o._UZ(32,"mat-icon",24),o.qZA(),o.qZA(),o.qZA(),o.qZA(),o.YNc(33,Fe,3,3,"aio-search-results",25),o.TgZ(34,"mat-sidenav-container",26),o.TgZ(35,"mat-sidenav",27,28),o.NdJ("openedChange",function(){return s.updateHostClasses()}),o.YNc(37,qe,1,3,"aio-nav-menu",29),o._UZ(38,"aio-nav-menu",30),o.TgZ(39,"div",31),o.TgZ(40,"aio-select",32),o.NdJ("change",function(D){return s.onDocVersionChange(D.index)}),o.qZA(),o.qZA(),o.qZA(),o.TgZ(41,"section",33),o.TgZ(42,"main",34),o._UZ(43,"div",35),o._UZ(44,"aio-mode-banner",36),o.TgZ(45,"aio-doc-viewer",37),o.NdJ("docReady",function(){return s.onDocReady()})("docRemoved",function(){return s.onDocRemoved()})("docInserted",function(){return s.onDocInserted()})("docRendered",function(){return s.onDocRendered()}),o.qZA(),o.YNc(46,pt,1,1,"aio-dt",38),o.qZA(),o.YNc(47,Lt,2,2,"div",39),o.qZA(),o.TgZ(48,"footer",40),o._UZ(49,"aio-footer",41),o.qZA(),o.qZA()}2&c&&(o.xp6(4),o.Q6J("ngIf",s.isFetching),o.xp6(1),o.ekj("transitioning",s.isTransitioning),o.xp6(2),o.Q6J("dismissOnContentClick",!0),o.xp6(10),o.ekj("no-animations",s.disableAnimations),o.xp6(2),o.Q6J("ngSwitch",s.showTopMenu),o.xp6(1),o.Q6J("ngSwitchCase",!0),o.xp6(2),o.Q6J("ngIf",s.showTopMenu),o.xp6(11),o.Q6J("ngIf",s.showSearchResults),o.xp6(1),o.ekj("no-animations",s.disableAnimations)("has-floating-toc",s.hasFloatingToc),o.xp6(1),o.Q6J("ngClass",o.VKq(33,Xt,!s.dockSideNav))("mode",s.mode)("opened",s.isOpened),o.xp6(2),o.Q6J("ngIf",!s.showTopMenu),o.xp6(1),o.Q6J("nodes",s.sideNavNodes)("currentNode",null==s.currentNodes?null:s.currentNodes.SideNav)("isWide",s.dockSideNav),o.xp6(2),o.Q6J("options",s.docVersions)("selected",s.currentDocVersion),o.xp6(2),o.Q6J("id",s.pageId),o.xp6(2),o.Q6J("mode",s.deployment.mode)("version",s.versionInfo),o.xp6(1),o.ekj("no-animations",s.disableAnimations),o.Q6J("doc",s.currentDocument),o.xp6(1),o.Q6J("ngIf",s.dtOn),o.xp6(1),o.Q6J("ngIf",s.hasFloatingToc),o.xp6(2),o.Q6J("nodes",s.footerNodes)("versionInfo",s.versionInfo))},directives:[go,x.O5,Ir,br,_r,ft.Hw,nt.lW,x.RF,x.n9,x.ED,Un,mo,nt.zs,Le,fe,x.mk,ci,Gi.H,Ns,gs,Us,Ne,_s,w.G,f,y],pipes:[x.Ov],encapsulation:2});const Tn=new o.OlP("SvgIcons"),Nn="$$default";let fi=(()=>{class l extends ft.jv{constructor(s,d,m,D,I){super(s,d,m,D),this.svgIcons=I,this.cachedSvgElements={[Nn]:{}}}getNamedSvgIcon(s,d){const m=this.cachedSvgElements[d||Nn];let D=m&&m[s];return D||(D=this.loadSvgElement(s,d)),D?(0,A.of)(D.cloneNode(!0)):super.getNamedSvgIcon(s,d)}loadSvgElement(s,d){const m=this.svgIcons.find($e=>d?$e.name===s&&$e.namespace===d:$e.name===s);if(!m)return;const D=m.namespace||Nn,I=this.cachedSvgElements[D]||(this.cachedSvgElements[D]={}),B=document.createElement("DIV");B.innerHTML=(0,Qn.X$)(m.svgSource);const de=B.querySelector("svg");return I[m.name]=de,de}}return l.\u0275fac=function(s){return new(s||l)(o.LFG(j.eN),o.LFG(p.H7),o.LFG(x.K0,8),o.LFG(o.qLn),o.LFG(Tn))},l.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac}),l})();var cr=_(3964),Vn=_(4783);let Pr=(()=>{class l extends o.qLn{constructor(s){super(),this.window=s}handleError(s){const d=this.prefixErrorWithVersion(s);try{super.handleError(d)}catch(m){this.reportError(m)}this.reportError(d)}prefixErrorWithVersion(s){const d=`[v${o.q4F.full}] `;if(s instanceof Error){const m=s.message,D=s.stack;s.message=d+m,s.stack=null==D?void 0:D.replace(m,s.message)}else"string"==typeof s&&(s=d+s);return s}reportError(s){if(this.window.onerror)if(s instanceof Error)this.window.onerror(s.message,void 0,void 0,void 0,s);else{if("object"==typeof s)try{s=JSON.stringify(s)}catch(d){}this.window.onerror(`${s}`)}}}return l.\u0275fac=function(s){return new(s||l)(o.LFG(Vn.R))},l.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac}),l})();var Fr=_(4727);_(4423),_(591),_(3932),_(3853),_(7354),_(4744),_(9173),_(6074),_(2313),_(1308);const rs=new o.OlP("ROUTES");let lo=(()=>{class l{}return l.\u0275fac=function(s){return new(s||l)},l.\u0275mod=o.oAB({type:l}),l.\u0275inj=o.cJS({providers:[Ct,{provide:ps,useValue:Pi},{provide:rs,useValue:fs,multi:!0}]}),l})();var mu=_(4466);const _u=[{provide:Tn,useValue:{name:"close",svgSource:mn.YP`<svg focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" />
<path d="M0 0h24v24H0z" fill="none" />
</svg>`},multi:!0},{provide:Tn,useValue:{name:"insert_comment",svgSource:mn.YP`<svg focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M20 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z" />
<path d="M0 0h24v24H0z" fill="none" />
</svg>`},multi:!0},{provide:Tn,useValue:{name:"keyboard_arrow_right",svgSource:mn.YP`<svg focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z" />
</svg>`},multi:!0},{provide:Tn,useValue:{name:"menu",svgSource:mn.YP`<svg focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" />
</svg>`},multi:!0},{provide:Tn,useValue:{namespace:"logos",name:"github",svgSource:mn.YP`<svg focusable="false" viewBox="0 0 51.8 50.4" xmlns="http://www.w3.org/2000/svg">
<path d="M25.9,0.2C11.8,0.2,0.3,11.7,0.3,25.8c0,11.3,7.3,20.9,17.5,24.3c1.3,0.2,1.7-0.6,1.7-1.2c0-0.6,0-2.6,0-4.8
c-7.1,1.5-8.6-3-8.6-3c-1.2-3-2.8-3.7-2.8-3.7c-2.3-1.6,0.2-1.6,0.2-1.6c2.6,0.2,3.9,2.6,3.9,2.6c2.3,3.9,6,2.8,7.5,2.1
c0.2-1.7,0.9-2.8,1.6-3.4c-5.7-0.6-11.7-2.8-11.7-12.7c0-2.8,1-5.1,2.6-6.9c-0.3-0.7-1.1-3.3,0.3-6.8c0,0,2.1-0.7,7,2.6
c2-0.6,4.2-0.9,6.4-0.9c2.2,0,4.4,0.3,6.4,0.9c4.9-3.3,7-2.6,7-2.6c1.4,3.5,0.5,6.1,0.3,6.8c1.6,1.8,2.6,4.1,2.6,6.9
c0,9.8-6,12-11.7,12.6c0.9,0.8,1.7,2.4,1.7,4.7c0,3.4,0,6.2,0,7c0,0.7,0.5,1.5,1.8,1.2c10.2-3.4,17.5-13,17.5-24.3
C51.5,11.7,40.1,0.2,25.9,0.2z" />
</svg>`},multi:!0},{provide:Tn,useValue:{namespace:"logos",name:"twitter",svgSource:mn.YP`<svg focusable="false" viewBox="0 0 50 59" xmlns="http://www.w3.org/2000/svg">
<path d="M50,9.3c-1.8,0.8-3.8,1.4-5.9,1.6c2.1-1.3,3.7-3.3,4.5-5.7c-2,1.2-4.2,2-6.5,2.5c-1.9-2-4.5-3.2-7.5-3.2
c-5.7,0-10.3,4.6-10.3,10.3c0,0.8,0.1,1.6,0.3,2.3C16.1,16.7,8.5,12.6,3.5,6.4c-0.9,1.5-1.4,3.3-1.4,5.2c0,3.6,1.8,6.7,4.6,8.5
C5,20,3.4,19.6,2,18.8c0,0,0,0.1,0,0.1c0,5,3.5,9.1,8.2,10.1c-0.9,0.2-1.8,0.4-2.7,0.4c-0.7,0-1.3-0.1-1.9-0.2
c1.3,4.1,5.1,7,9.6,7.1c-3.5,2.8-7.9,4.4-12.7,4.4c-0.8,0-1.6,0-2.4-0.1c4.5,2.9,9.9,4.6,15.7,4.6c18.9,0,29.2-15.6,29.2-29.2
c0-0.4,0-0.9,0-1.3C46.9,13.2,48.6,11.4,50,9.3z" />
</svg>`},multi:!0},{provide:Tn,useValue:{namespace:"logos",name:"youtube",svgSource:mn.YP`<svg focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M21.58 7.19c-.23-.86-.91-1.54-1.77-1.77C18.25 5 12 5 12 5s-6.25 0-7.81.42c-.86.23-1.54.91-1.77 1.77
C2 8.75 2 12 2 12s0 3.25.42 4.81c.23.86.91 1.54 1.77 1.77C5.75 19 12 19 12 19s6.25 0 7.81-.42
c.86-.23 1.54-.91 1.77-1.77C22 15.25 22 12 22 12s0-3.25-.42-4.81zM10 15V9l5.2 3-5.2 3z" />
</svg>`},multi:!0}];let vu=(()=>{class l{}return l.\u0275fac=function(s){return new(s||l)},l.\u0275mod=o.oAB({type:l,bootstrap:[dn]}),l.\u0275inj=o.cJS({providers:[oi,On.Zg,{provide:o.qLn,useClass:Pr},cr.O,Vr.Y,x.Ye,{provide:x.S$,useClass:x.b0},wn.a,{provide:ft.jv,useClass:fi},as,ls.a,Fr.f_,cs.o,nr.Un,_u,Jn.I,{provide:Dr,useFactory:Ri},{provide:Vn.R,useFactory:Vn.s},{provide:o.AFp,useFactory:()=>"ng-docs"}],imports:[[p.b2.withServerTransition({appId:"ng-docs"}),H.PW.withConfig({disableAnimations:dn.reducedMotion}),lo,j.JF,nt.ot,ft.Ps,le,_t,gr,mu.m,Ht.register(un(bn`/ngsw-worker.js`),{enabled:jr.N.production})]]}),l})();jr.N.production&&(0,o.G48)(),document.addEventListener("DOMContentLoaded",()=>{p.q6().bootstrapModule(vu).catch(l=>console.error(l))})},7367:(Ue,q,_)=>{_.d(q,{c:()=>o});var p=_(253);class o extends p.x{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(H){const{hasError:x,_hasValue:L,_value:N,thrownError:P,isStopped:U,_isComplete:F}=this;x?H.error(P):(U||F)&&(L&&H.next(N),H.complete())}next(H){this.isStopped||(this._value=H,this._hasValue=!0)}complete(){const{_hasValue:H,_value:x,_isComplete:L}=this;L||(this._isComplete=!0,H&&super.next(x),super.complete())}}},6317:(Ue,q,_)=>{_.d(q,{X:()=>o});var p=_(253);class o extends p.x{constructor(H){super(),this._value=H}get value(){return this.getValue()}_subscribe(H){const x=super._subscribe(H);return!x.closed&&H.next(this._value),x}getValue(){const{hasError:H,thrownError:x,_value:L}=this;if(H)throw x;return this._throwIfClosed(),L}next(H){super.next(this._value=H)}}},3336:(Ue,q,_)=>{_.d(q,{y:()=>F});var p=_(5463),o=_(7714),j=_(4585),H=_(9173);var N=_(9057),P=_(2971),U=_(2309);let F=(()=>{class J{constructor(Z){Z&&(this._subscribe=Z)}lift(Z){const V=new J;return V.source=this,V.operator=Z,V}subscribe(Z,V,W){const he=function(J){return J&&J instanceof p.Lv||function(J){return J&&(0,P.m)(J.next)&&(0,P.m)(J.error)&&(0,P.m)(J.complete)}(J)&&(0,o.Nn)(J)}(Z)?Z:new p.Hp(Z,V,W);return(0,U.x)(()=>{const{operator:Te,source:Ce}=this;he.add(Te?Te.call(he,Ce):Ce?this._subscribe(he):this._trySubscribe(he))}),he}_trySubscribe(Z){try{return this._subscribe(Z)}catch(V){Z.error(V)}}forEach(Z,V){return new(V=A(V))((W,he)=>{let Te;Te=this.subscribe(Ce=>{try{Z(Ce)}catch(re){he(re),null==Te||Te.unsubscribe()}},he,W)})}_subscribe(Z){var V;return null===(V=this.source)||void 0===V?void 0:V.subscribe(Z)}[j.L](){return this}pipe(...Z){return function(J){return 0===J.length?H.y:1===J.length?J[0]:function(Z){return J.reduce((V,W)=>W(V),Z)}}(Z)(this)}toPromise(Z){return new(Z=A(Z))((V,W)=>{let he;this.subscribe(Te=>he=Te,Te=>W(Te),()=>V(he))})}}return J.create=G=>new J(G),J})();function A(J){var G;return null!==(G=null!=J?J:N.v.Promise)&&void 0!==G?G:Promise}},6067:(Ue,q,_)=>{_.d(q,{t:()=>j});var p=_(253),o=_(7654);class j extends p.x{constructor(x=1/0,L=1/0,N=o.l){super(),this._bufferSize=x,this._windowTime=L,this._timestampProvider=N,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=L===1/0,this._bufferSize=Math.max(1,x),this._windowTime=Math.max(1,L)}next(x){const{isStopped:L,_buffer:N,_infiniteTimeWindow:P,_timestampProvider:U,_windowTime:F}=this;L||(N.push(x),!P&&N.push(U.now()+F)),this._trimBuffer(),super.next(x)}_subscribe(x){this._throwIfClosed(),this._trimBuffer();const L=this._innerSubscribe(x),{_infiniteTimeWindow:N,_buffer:P}=this,U=P.slice();for(let F=0;F<U.length&&!x.closed;F+=N?1:2)x.next(U[F]);return this._checkFinalizedStatuses(x),L}_trimBuffer(){const{_bufferSize:x,_timestampProvider:L,_buffer:N,_infiniteTimeWindow:P}=this,U=(P?1:2)*x;if(x<1/0&&U<N.length&&N.splice(0,N.length-U),!P){const F=L.now();let A=0;for(let z=1;z<N.length&&N[z]<=F;z+=2)A=z;A&&N.splice(0,A+1)}}}},253:(Ue,q,_)=>{_.d(q,{x:()=>N});var p=_(3336),o=_(7714);const H=(0,_(7543).d)(U=>function(){U(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var x=_(9663),L=_(2309);let N=(()=>{class U extends p.y{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(A){const z=new P(this,this);return z.operator=A,z}_throwIfClosed(){if(this.closed)throw new H}next(A){(0,L.x)(()=>{if(this._throwIfClosed(),!this.isStopped){const z=this.observers.slice();for(const X of z)X.next(A)}})}error(A){(0,L.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=A;const{observers:z}=this;for(;z.length;)z.shift().error(A)}})}complete(){(0,L.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:A}=this;for(;A.length;)A.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var A;return(null===(A=this.observers)||void 0===A?void 0:A.length)>0}_trySubscribe(A){return this._throwIfClosed(),super._trySubscribe(A)}_subscribe(A){return this._throwIfClosed(),this._checkFinalizedStatuses(A),this._innerSubscribe(A)}_innerSubscribe(A){const{hasError:z,isStopped:X,observers:J}=this;return z||X?o.Lc:(J.push(A),new o.w0(()=>(0,x.P)(J,A)))}_checkFinalizedStatuses(A){const{hasError:z,thrownError:X,isStopped:J}=this;z?A.error(X):J&&A.complete()}asObservable(){const A=new p.y;return A.source=this,A}}return U.create=(F,A)=>new P(F,A),U})();class P extends N{constructor(F,A){super(),this.destination=F,this.source=A}next(F){var A,z;null===(z=null===(A=this.destination)||void 0===A?void 0:A.next)||void 0===z||z.call(A,F)}error(F){var A,z;null===(z=null===(A=this.destination)||void 0===A?void 0:A.error)||void 0===z||z.call(A,F)}complete(){var F,A;null===(A=null===(F=this.destination)||void 0===F?void 0:F.complete)||void 0===A||A.call(F)}_subscribe(F){var A,z;return null!==(z=null===(A=this.source)||void 0===A?void 0:A.subscribe(F))&&void 0!==z?z:o.Lc}}},5463:(Ue,q,_)=>{_.d(q,{Hp:()=>X,Lv:()=>z});var p=_(2971),o=_(7714),j=_(9057),H=_(4709),x=_(9635);const L=U("C",void 0,void 0);function U(W,he,Te){return{kind:W,value:he,error:Te}}var F=_(3542),A=_(2309);class z extends o.w0{constructor(he){super(),this.isStopped=!1,he?(this.destination=he,(0,o.Nn)(he)&&he.add(this)):this.destination=V}static create(he,Te,Ce){return new X(he,Te,Ce)}next(he){this.isStopped?Z(U("N",he,void 0),this):this._next(he)}error(he){this.isStopped?Z(U("E",void 0,he),this):(this.isStopped=!0,this._error(he))}complete(){this.isStopped?Z(L,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(he){this.destination.next(he)}_error(he){try{this.destination.error(he)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class X extends z{constructor(he,Te,Ce){let re;if(super(),(0,p.m)(he))re=he;else if(he){let De;({next:re,error:Te,complete:Ce}=he),this&&j.v.useDeprecatedNextContext?(De=Object.create(he),De.unsubscribe=()=>this.unsubscribe()):De=he,re=null==re?void 0:re.bind(De),Te=null==Te?void 0:Te.bind(De),Ce=null==Ce?void 0:Ce.bind(De)}this.destination={next:re?J(re):x.Z,error:J(null!=Te?Te:G),complete:Ce?J(Ce):x.Z}}}function J(W,he){return(...Te)=>{try{W(...Te)}catch(Ce){j.v.useDeprecatedSynchronousErrorHandling?(0,A.O)(Ce):(0,H.h)(Ce)}}}function G(W){throw W}function Z(W,he){const{onStoppedNotification:Te}=j.v;Te&&F.z.setTimeout(()=>Te(W,he))}const V={closed:!0,next:x.Z,error:G,complete:x.Z}},7714:(Ue,q,_)=>{_.d(q,{Lc:()=>L,w0:()=>x,Nn:()=>N});var p=_(2971);const j=(0,_(7543).d)(U=>function(A){U(this),this.message=A?`${A.length} errors occurred during unsubscription:\n${A.map((z,X)=>`${X+1}) ${z.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=A});var H=_(9663);class x{constructor(F){this.initialTeardown=F,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let F;if(!this.closed){this.closed=!0;const{_parentage:A}=this;if(A)if(this._parentage=null,Array.isArray(A))for(const J of A)J.remove(this);else A.remove(this);const{initialTeardown:z}=this;if((0,p.m)(z))try{z()}catch(J){F=J instanceof j?J.errors:[J]}const{_teardowns:X}=this;if(X){this._teardowns=null;for(const J of X)try{P(J)}catch(G){F=null!=F?F:[],G instanceof j?F=[...F,...G.errors]:F.push(G)}}if(F)throw new j(F)}}add(F){var A;if(F&&F!==this)if(this.closed)P(F);else{if(F instanceof x){if(F.closed||F._hasParent(this))return;F._addParent(this)}(this._teardowns=null!==(A=this._teardowns)&&void 0!==A?A:[]).push(F)}}_hasParent(F){const{_parentage:A}=this;return A===F||Array.isArray(A)&&A.includes(F)}_addParent(F){const{_parentage:A}=this;this._parentage=Array.isArray(A)?(A.push(F),A):A?[A,F]:F}_removeParent(F){const{_parentage:A}=this;A===F?this._parentage=null:Array.isArray(A)&&(0,H.P)(A,F)}remove(F){const{_teardowns:A}=this;A&&(0,H.P)(A,F),F instanceof x&&F._removeParent(this)}}x.EMPTY=(()=>{const U=new x;return U.closed=!0,U})();const L=x.EMPTY;function N(U){return U instanceof x||U&&"closed"in U&&(0,p.m)(U.remove)&&(0,p.m)(U.add)&&(0,p.m)(U.unsubscribe)}function P(U){(0,p.m)(U)?U():U.unsubscribe()}},9057:(Ue,q,_)=>{_.d(q,{v:()=>p});const p={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3932:(Ue,q,_)=>{_.d(q,{c:()=>L});var p=_(3336),o=_(7714),j=_(6074),H=_(3945),x=_(1944);class L extends p.y{constructor(P,U){super(),this.source=P,this.subjectFactory=U,this._subject=null,this._refCount=0,this._connection=null,(0,x.A)(P)&&(this.lift=P.lift)}_subscribe(P){return this.getSubject().subscribe(P)}getSubject(){const P=this._subject;return(!P||P.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:P}=this;this._subject=this._connection=null,null==P||P.unsubscribe()}connect(){let P=this._connection;if(!P){P=this._connection=new o.w0;const U=this.getSubject();P.add(this.source.subscribe(new H.Q(U,void 0,()=>{this._teardown(),U.complete()},F=>{this._teardown(),U.error(F)},()=>this._teardown()))),P.closed&&(this._connection=null,P=o.w0.EMPTY)}return P}refCount(){return(0,j.x)()(this)}}},6562:(Ue,q,_)=>{_.d(q,{a:()=>F});var p=_(3336),o=_(5756),j=_(3609),H=_(9173),x=_(8385),L=_(420),N=_(1054),P=_(3945),U=_(1817);function F(...X){const J=(0,L.yG)(X),G=(0,L.jO)(X),{args:Z,keys:V}=(0,o.D)(X);if(0===Z.length)return(0,j.D)([],J);const W=new p.y(function(X,J,G=H.y){return Z=>{z(J,()=>{const{length:V}=X,W=new Array(V);let he=V,Te=V;for(let Ce=0;Ce<V;Ce++)z(J,()=>{const re=(0,j.D)(X[Ce],J);let De=!1;re.subscribe(new P.Q(Z,Oe=>{W[Ce]=Oe,De||(De=!0,Te--),Te||Z.next(G(W.slice()))},()=>{--he||Z.complete()}))},Z)},Z)}}(Z,J,V?he=>(0,N.n)(V,he):H.y));return G?W.pipe((0,x.Z)(G)):W}function z(X,J,G){X?(0,U.f)(G,X,J):J()}},9319:(Ue,q,_)=>{_.d(q,{z:()=>x});var p=_(1308),j=_(420),H=_(3609);function x(...L){return(0,p.J)(1)((0,H.D)(L,(0,j.yG)(L)))}},591:(Ue,q,_)=>{_.d(q,{E:()=>o});const o=new(_(3336).y)(x=>x.complete())},3609:(Ue,q,_)=>{_.d(q,{D:()=>re});var p=_(4987),o=_(8728),j=_(4317),L=_(3336),P=_(7321),U=_(2971),F=_(1817);function z(De,Oe){if(!De)throw new Error("Iterable cannot be null");return new L.y(Ge=>{(0,F.f)(Ge,Oe,()=>{const Ke=De[Symbol.asyncIterator]();(0,F.f)(Ge,Oe,()=>{Ke.next().then(me=>{me.done?Ge.complete():Ge.next(me.value)})},0,!0)})})}var X=_(1331),J=_(9548),G=_(9806),Z=_(3433),V=_(470),W=_(7785),he=_(181);function re(De,Oe){return Oe?function(De,Oe){if(null!=De){if((0,X.c)(De))return function(De,Oe){return(0,p.Xf)(De).pipe((0,j.R)(Oe),(0,o.Q)(Oe))}(De,Oe);if((0,G.z)(De))return function(De,Oe){return new L.y(Ge=>{let Ke=0;return Oe.schedule(function(){Ke===De.length?Ge.complete():(Ge.next(De[Ke++]),Ge.closed||this.schedule())})})}(De,Oe);if((0,J.t)(De))return function(De,Oe){return(0,p.Xf)(De).pipe((0,j.R)(Oe),(0,o.Q)(Oe))}(De,Oe);if((0,V.D)(De))return z(De,Oe);if((0,Z.T)(De))return function(De,Oe){return new L.y(Ge=>{let Ke;return(0,F.f)(Ge,Oe,()=>{Ke=De[P.h](),(0,F.f)(Ge,Oe,()=>{let me,be;try{({value:me,done:be}=Ke.next())}catch(Se){return void Ge.error(Se)}be?Ge.complete():Ge.next(me)},0,!0)}),()=>(0,U.m)(null==Ke?void 0:Ke.return)&&Ke.return()})}(De,Oe);if((0,he.L)(De))return function(De,Oe){return z((0,he.Q)(De),Oe)}(De,Oe)}throw(0,W.z)(De)}(De,Oe):(0,p.Xf)(De)}},3280:(Ue,q,_)=>{_.d(q,{R:()=>F});var p=_(4987),o=_(3336),j=_(9525),H=_(9806),x=_(2971),L=_(8385);const N=["addListener","removeListener"],P=["addEventListener","removeEventListener"],U=["on","off"];function F(G,Z,V,W){if((0,x.m)(V)&&(W=V,V=void 0),W)return F(G,Z,V).pipe((0,L.Z)(W));const[he,Te]=function(G){return(0,x.m)(G.addEventListener)&&(0,x.m)(G.removeEventListener)}(G)?P.map(Ce=>re=>G[Ce](Z,re,V)):function(G){return(0,x.m)(G.addListener)&&(0,x.m)(G.removeListener)}(G)?N.map(A(G,Z)):function(G){return(0,x.m)(G.on)&&(0,x.m)(G.off)}(G)?U.map(A(G,Z)):[];if(!he&&(0,H.z)(G))return(0,j.z)(Ce=>F(Ce,Z,V))((0,p.Xf)(G));if(!he)throw new TypeError("Invalid event target");return new o.y(Ce=>{const re=(...De)=>Ce.next(1<De.length?De:De[0]);return he(re),()=>Te(re)})}function A(G,Z){return V=>W=>G[V](Z,W)}},4987:(Ue,q,_)=>{_.d(q,{Xf:()=>X});var p=_(9126),o=_(9806),j=_(9548),H=_(3336),x=_(1331),L=_(470),N=_(7785),P=_(3433),U=_(181),F=_(2971),A=_(4709),z=_(4585);function X(Ce){if(Ce instanceof H.y)return Ce;if(null!=Ce){if((0,x.c)(Ce))return function(Ce){return new H.y(re=>{const De=Ce[z.L]();if((0,F.m)(De.subscribe))return De.subscribe(re);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Ce);if((0,o.z)(Ce))return function(Ce){return new H.y(re=>{for(let De=0;De<Ce.length&&!re.closed;De++)re.next(Ce[De]);re.complete()})}(Ce);if((0,j.t)(Ce))return function(Ce){return new H.y(re=>{Ce.then(De=>{re.closed||(re.next(De),re.complete())},De=>re.error(De)).then(null,A.h)})}(Ce);if((0,L.D)(Ce))return W(Ce);if((0,P.T)(Ce))return function(Ce){return new H.y(re=>{for(const De of Ce)if(re.next(De),re.closed)return;re.complete()})}(Ce);if((0,U.L)(Ce))return function(Ce){return W((0,U.Q)(Ce))}(Ce)}throw(0,N.z)(Ce)}function W(Ce){return new H.y(re=>{(function(Ce,re){var De,Oe,Ge,Ke;return(0,p.mG)(this,void 0,void 0,function*(){try{for(De=(0,p.KL)(Ce);!(Oe=yield De.next()).done;)if(re.next(Oe.value),re.closed)return}catch(me){Ge={error:me}}finally{try{Oe&&!Oe.done&&(Ke=De.return)&&(yield Ke.call(De))}finally{if(Ge)throw Ge.error}}re.complete()})})(Ce,re).catch(De=>re.error(De))})}},6646:(Ue,q,_)=>{_.d(q,{T:()=>L});var p=_(1308),o=_(4987),j=_(591),H=_(420),x=_(3609);function L(...N){const P=(0,H.yG)(N),U=(0,H._6)(N,1/0),F=N;return F.length?1===F.length?(0,o.Xf)(F[0]):(0,p.J)(U)((0,x.D)(F,P)):j.E}},745:(Ue,q,_)=>{_.d(q,{of:()=>j});var p=_(420),o=_(3609);function j(...H){const x=(0,p.yG)(H);return(0,o.D)(H,x)}},5474:(Ue,q,_)=>{_.d(q,{_:()=>j});var p=_(3336),o=_(2971);function j(H,x){const L=(0,o.m)(H)?H:()=>H,N=P=>P.error(L());return new p.y(x?P=>x.schedule(N,0,P):N)}},5524:(Ue,q,_)=>{_.d(q,{H:()=>x});var p=_(3336),o=_(6936),j=_(9867);function x(L=0,N,P=o.P){let U=-1;return null!=N&&((0,j.K)(N)?P=N:U=N),new p.y(F=>{let A=function(L){return L instanceof Date&&!isNaN(L)}(L)?+L-P.now():L;A<0&&(A=0);let z=0;return P.schedule(function(){F.closed||(F.next(z++),0<=U?this.schedule(void 0,U):F.complete())},A)})}},3945:(Ue,q,_)=>{_.d(q,{Q:()=>o});var p=_(5463);class o extends p.Lv{constructor(H,x,L,N,P){super(H),this.onFinalize=P,this._next=x?function(U){try{x(U)}catch(F){H.error(F)}}:super._next,this._error=N?function(U){try{N(U)}catch(F){H.error(F)}finally{this.unsubscribe()}}:super._error,this._complete=L?function(){try{L()}catch(U){H.error(U)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var H;const{closed:x}=this;super.unsubscribe(),!x&&(null===(H=this.onFinalize)||void 0===H||H.call(this))}}},9211:(Ue,q,_)=>{_.d(q,{e:()=>N});var p=_(6936),o=_(1944),j=_(4987),H=_(3945),L=_(5524);function N(P,U=p.P){return function(P){return(0,o.e)((U,F)=>{let A=!1,z=null,X=null,J=!1;const G=()=>{if(null==X||X.unsubscribe(),X=null,A){A=!1;const V=z;z=null,F.next(V)}J&&F.complete()},Z=()=>{X=null,J&&F.complete()};U.subscribe(new H.Q(F,V=>{A=!0,z=V,X||(0,j.Xf)(P()).subscribe(X=new H.Q(F,G,Z))},()=>{J=!0,(!A||!X||X.closed)&&F.complete()}))})}(()=>(0,L.H)(P,U))}},3158:(Ue,q,_)=>{_.d(q,{K:()=>H});var p=_(4987),o=_(3945),j=_(1944);function H(x){return(0,j.e)((L,N)=>{let F,P=null,U=!1;P=L.subscribe(new o.Q(N,void 0,void 0,A=>{F=(0,p.Xf)(x(A,H(x)(L))),P?(P.unsubscribe(),P=null,F.subscribe(N)):U=!0})),U&&(P.unsubscribe(),P=null,F.subscribe(N))})}},3853:(Ue,q,_)=>{_.d(q,{b:()=>j});var p=_(9525),o=_(2971);function j(H,x){return(0,o.m)(x)?(0,p.z)(H,x,1):(0,p.z)(H,1)}},1381:(Ue,q,_)=>{_.d(q,{$:()=>N});var p=_(253),o=_(3609),j=_(1944),H=_(3336);const L={connector:()=>new p.x};function N(P,U=L){const{connector:F}=U;return(0,j.e)((A,z)=>{const X=F();(0,o.D)(P(function(P){return new H.y(U=>P.subscribe(U))}(X))).subscribe(z),z.add(A.subscribe(X))})}},1989:(Ue,q,_)=>{_.d(q,{b:()=>H});var p=_(6936),o=_(1944),j=_(3945);function H(x,L=p.z){return(0,o.e)((N,P)=>{let U=null,F=null,A=null;const z=()=>{if(U){U.unsubscribe(),U=null;const J=F;F=null,P.next(J)}};function X(){const J=A+x,G=L.now();if(G<J)return U=this.schedule(void 0,J-G),void P.add(U);z()}N.subscribe(new j.Q(P,J=>{F=J,A=L.now(),U||(U=L.schedule(X,x),P.add(U))},()=>{z(),P.complete()},void 0,()=>{F=U=null}))})}},4744:(Ue,q,_)=>{_.d(q,{d:()=>j});var p=_(1944),o=_(3945);function j(H){return(0,p.e)((x,L)=>{let N=!1;x.subscribe(new o.Q(L,P=>{N=!0,L.next(P)},()=>{N||L.next(H),L.complete()}))})}},8977:(Ue,q,_)=>{_.d(q,{x:()=>H});var p=_(9173),o=_(1944),j=_(3945);function H(L,N=p.y){return L=null!=L?L:x,(0,o.e)((P,U)=>{let F,A=!0;P.subscribe(new j.Q(U,z=>{const X=N(z);(A||!L(F,X))&&(A=!1,F=X,U.next(z))}))})}function x(L,N){return L===N}},116:(Ue,q,_)=>{_.d(q,{h:()=>j});var p=_(1944),o=_(3945);function j(H,x){return(0,p.e)((L,N)=>{let P=0;L.subscribe(new o.Q(N,U=>H.call(x,U,P++)&&N.next(U)))})}},2313:(Ue,q,_)=>{_.d(q,{x:()=>o});var p=_(1944);function o(j){return(0,p.e)((H,x)=>{try{H.subscribe(x)}finally{x.add(j)}})}},155:(Ue,q,_)=>{_.d(q,{P:()=>N});var p=_(4423),o=_(116),j=_(9295),H=_(4744),x=_(7354),L=_(9173);function N(P,U){const F=arguments.length>=2;return A=>A.pipe(P?(0,o.h)((z,X)=>P(z,X,A)):L.y,(0,j.q)(1),F?(0,H.d)(U):(0,x.T)(()=>new p.K))}},635:(Ue,q,_)=>{_.d(q,{U:()=>j});var p=_(1944),o=_(3945);function j(H,x){return(0,p.e)((L,N)=>{let P=0;L.subscribe(new o.Q(N,U=>{N.next(H.call(x,U,P++))}))})}},1308:(Ue,q,_)=>{_.d(q,{J:()=>j});var p=_(9525),o=_(9173);function j(H=1/0){return(0,p.z)(o.y,H)}},9525:(Ue,q,_)=>{_.d(q,{z:()=>P});var p=_(635),o=_(4987),j=_(1944),x=(_(1817),_(3945)),N=_(2971);function P(U,F,A=1/0){return(0,N.m)(F)?P((z,X)=>(0,p.U)((J,G)=>F(z,J,X,G))((0,o.Xf)(U(z,X))),A):("number"==typeof F&&(A=F),(0,j.e)((z,X)=>function(U,F,A,z,X,J,G,Z){const V=[];let W=0,he=0,Te=!1;const Ce=()=>{Te&&!V.length&&!W&&F.complete()},re=Oe=>W<z?De(Oe):V.push(Oe),De=Oe=>{W++;let Ge=!1;(0,o.Xf)(A(Oe,he++)).subscribe(new x.Q(F,Ke=>{F.next(Ke)},()=>{Ge=!0},void 0,()=>{if(Ge)try{for(W--;V.length&&W<z;){const Ke=V.shift();De(Ke)}Ce()}catch(Ke){F.error(Ke)}}))};return U.subscribe(new x.Q(F,re,()=>{Te=!0,Ce()})),()=>{}}(z,X,U,A)))}},8532:(Ue,q,_)=>{_.d(q,{O:()=>H});var p=_(3932),o=_(2971),j=_(1381);function H(x,L){const N=(0,o.m)(x)?x:()=>x;return(0,o.m)(L)?(0,j.$)(L,{connector:N}):P=>new p.c(P,N)}},8728:(Ue,q,_)=>{_.d(q,{Q:()=>H});var p=_(1817),o=_(1944),j=_(3945);function H(x,L=0){return(0,o.e)((N,P)=>{N.subscribe(new j.Q(P,U=>(0,p.f)(P,x,()=>P.next(U),L),()=>(0,p.f)(P,x,()=>P.complete(),L),U=>(0,p.f)(P,x,()=>P.error(U),L)))})}},4:(Ue,q,_)=>{_.d(q,{C:()=>j});var p=_(7367),o=_(3932);function j(){return H=>{const x=new p.c;return new o.c(H,()=>x)}}},8917:(Ue,q,_)=>{_.d(q,{_:()=>H});var p=_(6067),o=_(8532),j=_(2971);function H(x,L,N,P){N&&!(0,j.m)(N)&&(P=N);const U=(0,j.m)(N)?N:void 0;return F=>(0,o.O)(new p.t(x,L,P),U)(F)}},6074:(Ue,q,_)=>{_.d(q,{x:()=>j});var p=_(1944),o=_(3945);function j(){return(0,p.e)((H,x)=>{let L=null;H._refCount++;const N=new o.Q(x,void 0,void 0,void 0,()=>{if(!H||H._refCount<=0||0<--H._refCount)return void(L=null);const P=H._connection,U=L;L=null,P&&(!U||P===U)&&P.unsubscribe(),x.unsubscribe()});H.subscribe(N),N.closed||(L=H.connect())})}},1203:(Ue,q,_)=>{_.d(q,{B:()=>L});var p=_(3609),o=_(9295),j=_(253),H=_(5463),x=_(1944);function L(P={}){const{connector:U=(()=>new j.x),resetOnError:F=!0,resetOnComplete:A=!0,resetOnRefCountZero:z=!0}=P;return X=>{let J=null,G=null,Z=null,V=0,W=!1,he=!1;const Te=()=>{null==G||G.unsubscribe(),G=null},Ce=()=>{Te(),J=Z=null,W=he=!1},re=()=>{const De=J;Ce(),null==De||De.unsubscribe()};return(0,x.e)((De,Oe)=>{V++,!he&&!W&&Te();const Ge=Z=null!=Z?Z:U();Oe.add(()=>{V--,0===V&&!he&&!W&&(G=N(re,z))}),Ge.subscribe(Oe),J||(J=new H.Hp({next:Ke=>Ge.next(Ke),error:Ke=>{he=!0,Te(),G=N(Ce,F,Ke),Ge.error(Ke)},complete:()=>{W=!0,Te(),G=N(Ce,A),Ge.complete()}}),(0,p.D)(De).subscribe(J))})(X)}}function N(P,U,...F){return!0===U?(P(),null):!1===U?null:U(...F).pipe((0,o.q)(1)).subscribe(()=>P())}},7260:(Ue,q,_)=>{_.d(q,{T:()=>o});var p=_(116);function o(j){return(0,p.h)((H,x)=>j<=x)}},4874:(Ue,q,_)=>{_.d(q,{O:()=>H});var p=_(9319),o=_(420),j=_(1944);function H(...x){const L=(0,o.yG)(x);return(0,j.e)((N,P)=>{(L?(0,p.z)(x,N,L):(0,p.z)(x,N)).subscribe(P)})}},4317:(Ue,q,_)=>{_.d(q,{R:()=>o});var p=_(1944);function o(j,H=0){return(0,p.e)((x,L)=>{L.add(j.schedule(()=>x.subscribe(L),H))})}},2673:(Ue,q,_)=>{_.d(q,{w:()=>H});var p=_(4987),o=_(1944),j=_(3945);function H(x,L){return(0,o.e)((N,P)=>{let U=null,F=0,A=!1;const z=()=>A&&!U&&P.complete();N.subscribe(new j.Q(P,X=>{null==U||U.unsubscribe();let J=0;const G=F++;(0,p.Xf)(x(X,G)).subscribe(U=new j.Q(P,Z=>P.next(L?L(X,Z,G,J++):Z),()=>{U=null,z()}))},()=>{A=!0,z()}))})}},9295:(Ue,q,_)=>{_.d(q,{q:()=>H});var p=_(591),o=_(1944),j=_(3945);function H(x){return x<=0?()=>p.E:(0,o.e)((L,N)=>{let P=0;L.subscribe(new j.Q(N,U=>{++P<=x&&(N.next(U),x<=P&&N.complete())}))})}},8951:(Ue,q,_)=>{_.d(q,{R:()=>x});var p=_(1944),o=_(3945),j=_(4987),H=_(9635);function x(L){return(0,p.e)((N,P)=>{(0,j.Xf)(L).subscribe(new o.Q(P,()=>P.complete(),H.Z)),!P.closed&&N.subscribe(P)})}},9337:(Ue,q,_)=>{_.d(q,{b:()=>x});var p=_(2971),o=_(1944),j=_(3945),H=_(9173);function x(L,N,P){const U=(0,p.m)(L)||N||P?{next:L,error:N,complete:P}:L;return U?(0,o.e)((F,A)=>{var z;null===(z=U.subscribe)||void 0===z||z.call(U);let X=!0;F.subscribe(new j.Q(A,J=>{var G;null===(G=U.next)||void 0===G||G.call(U,J),A.next(J)},()=>{var J;X=!1,null===(J=U.complete)||void 0===J||J.call(U),A.complete()},J=>{var G;X=!1,null===(G=U.error)||void 0===G||G.call(U,J),A.error(J)},()=>{var J,G;X&&(null===(J=U.unsubscribe)||void 0===J||J.call(U)),null===(G=U.finalize)||void 0===G||G.call(U)}))}):H.y}},7354:(Ue,q,_)=>{_.d(q,{T:()=>H});var p=_(4423),o=_(1944),j=_(3945);function H(L=x){return(0,o.e)((N,P)=>{let U=!1;N.subscribe(new j.Q(P,F=>{U=!0,P.next(F)},()=>U?P.complete():P.error(L())))})}function x(){return new p.K}},5417:(Ue,q,_)=>{_.d(q,{o:()=>x});var p=_(7714);class o extends p.w0{constructor(N,P){super()}schedule(N,P=0){return this}}const j={setInterval(...L){const{delegate:N}=j;return((null==N?void 0:N.setInterval)||setInterval)(...L)},clearInterval(L){const{delegate:N}=j;return((null==N?void 0:N.clearInterval)||clearInterval)(L)},delegate:void 0};var H=_(9663);class x extends o{constructor(N,P){super(N,P),this.scheduler=N,this.work=P,this.pending=!1}schedule(N,P=0){if(this.closed)return this;this.state=N;const U=this.id,F=this.scheduler;return null!=U&&(this.id=this.recycleAsyncId(F,U,P)),this.pending=!0,this.delay=P,this.id=this.id||this.requestAsyncId(F,this.id,P),this}requestAsyncId(N,P,U=0){return j.setInterval(N.flush.bind(N,this),U)}recycleAsyncId(N,P,U=0){if(null!=U&&this.delay===U&&!1===this.pending)return P;j.clearInterval(P)}execute(N,P){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const U=this._execute(N,P);if(U)return U;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(N,P){let F,U=!1;try{this.work(N)}catch(A){U=!0,F=A||new Error("Scheduled action threw falsy error")}if(U)return this.unsubscribe(),F}unsubscribe(){if(!this.closed){const{id:N,scheduler:P}=this,{actions:U}=P;this.work=this.state=this.scheduler=null,this.pending=!1,(0,H.P)(U,this),null!=N&&(this.id=this.recycleAsyncId(P,N,null)),this.delay=null,super.unsubscribe()}}}},1010:(Ue,q,_)=>{_.d(q,{v:()=>j});var p=_(7654);class o{constructor(x,L=o.now){this.schedulerActionCtor=x,this.now=L}schedule(x,L=0,N){return new this.schedulerActionCtor(this,x).schedule(N,L)}}o.now=p.l.now;class j extends o{constructor(x,L=o.now){super(x,L),this.actions=[],this._active=!1,this._scheduled=void 0}flush(x){const{actions:L}=this;if(this._active)return void L.push(x);let N;this._active=!0;do{if(N=x.execute(x.state,x.delay))break}while(x=L.shift());if(this._active=!1,N){for(;x=L.shift();)x.unsubscribe();throw N}}}},3888:(Ue,q,_)=>{_.d(q,{E:()=>J});var p=_(5417);let j,o=1;const H={};function x(Z){return Z in H&&(delete H[Z],!0)}const L={setImmediate(Z){const V=o++;return H[V]=!0,j||(j=Promise.resolve()),j.then(()=>x(V)&&Z()),V},clearImmediate(Z){x(Z)}},{setImmediate:P,clearImmediate:U}=L,F={setImmediate(...Z){const{delegate:V}=F;return((null==V?void 0:V.setImmediate)||P)(...Z)},clearImmediate(Z){const{delegate:V}=F;return((null==V?void 0:V.clearImmediate)||U)(Z)},delegate:void 0};var z=_(1010);const J=new class extends z.v{flush(V){this._active=!0,this._scheduled=void 0;const{actions:W}=this;let he,Te=-1;V=V||W.shift();const Ce=W.length;do{if(he=V.execute(V.state,V.delay))break}while(++Te<Ce&&(V=W.shift()));if(this._active=!1,he){for(;++Te<Ce&&(V=W.shift());)V.unsubscribe();throw he}}}(class extends p.o{constructor(V,W){super(V,W),this.scheduler=V,this.work=W}requestAsyncId(V,W,he=0){return null!==he&&he>0?super.requestAsyncId(V,W,he):(V.actions.push(this),V._scheduled||(V._scheduled=F.setImmediate(V.flush.bind(V,void 0))))}recycleAsyncId(V,W,he=0){if(null!=he&&he>0||null==he&&this.delay>0)return super.recycleAsyncId(V,W,he);0===V.actions.length&&(F.clearImmediate(W),V._scheduled=void 0)}})},6936:(Ue,q,_)=>{_.d(q,{z:()=>j,P:()=>H});var p=_(5417);const j=new(_(1010).v)(p.o),H=j},7654:(Ue,q,_)=>{_.d(q,{l:()=>p});const p={now:()=>(p.delegate||Date).now(),delegate:void 0}},3542:(Ue,q,_)=>{_.d(q,{z:()=>p});const p={setTimeout(...o){const{delegate:j}=p;return((null==j?void 0:j.setTimeout)||setTimeout)(...o)},clearTimeout(o){const{delegate:j}=p;return((null==j?void 0:j.clearTimeout)||clearTimeout)(o)},delegate:void 0}},7321:(Ue,q,_)=>{_.d(q,{h:()=>o});const o="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},4585:(Ue,q,_)=>{_.d(q,{L:()=>p});const p="function"==typeof Symbol&&Symbol.observable||"@@observable"},4423:(Ue,q,_)=>{_.d(q,{K:()=>o});const o=(0,_(7543).d)(j=>function(){j(this),this.name="EmptyError",this.message="no elements in sequence"})},420:(Ue,q,_)=>{_.d(q,{jO:()=>H,yG:()=>x,_6:()=>L});var p=_(2971),o=_(9867);function j(N){return N[N.length-1]}function H(N){return(0,p.m)(j(N))?N.pop():void 0}function x(N){return(0,o.K)(j(N))?N.pop():void 0}function L(N,P){return"number"==typeof j(N)?N.pop():P}},5756:(Ue,q,_)=>{_.d(q,{D:()=>x});const{isArray:p}=Array,{getPrototypeOf:o,prototype:j,keys:H}=Object;function x(N){if(1===N.length){const P=N[0];if(p(P))return{args:P,keys:null};if(function(N){return N&&"object"==typeof N&&o(N)===j}(P)){const U=H(P);return{args:U.map(F=>P[F]),keys:U}}}return{args:N,keys:null}}},9663:(Ue,q,_)=>{function p(o,j){if(o){const H=o.indexOf(j);0<=H&&o.splice(H,1)}}_.d(q,{P:()=>p})},7543:(Ue,q,_)=>{function p(o){const H=o(x=>{Error.call(x),x.stack=(new Error).stack});return H.prototype=Object.create(Error.prototype),H.prototype.constructor=H,H}_.d(q,{d:()=>p})},1054:(Ue,q,_)=>{function p(o,j){return o.reduce((H,x,L)=>(H[x]=j[L],H),{})}_.d(q,{n:()=>p})},2309:(Ue,q,_)=>{_.d(q,{x:()=>j,O:()=>H});var p=_(9057);let o=null;function j(x){if(p.v.useDeprecatedSynchronousErrorHandling){const L=!o;if(L&&(o={errorThrown:!1,error:null}),x(),L){const{errorThrown:N,error:P}=o;if(o=null,N)throw P}}else x()}function H(x){p.v.useDeprecatedSynchronousErrorHandling&&o&&(o.errorThrown=!0,o.error=x)}},1817:(Ue,q,_)=>{function p(o,j,H,x=0,L=!1){const N=j.schedule(function(){H(),L?o.add(this.schedule(null,x)):this.unsubscribe()},x);if(o.add(N),!L)return N}_.d(q,{f:()=>p})},9173:(Ue,q,_)=>{function p(o){return o}_.d(q,{y:()=>p})},9806:(Ue,q,_)=>{_.d(q,{z:()=>p});const p=o=>o&&"number"==typeof o.length&&"function"!=typeof o},470:(Ue,q,_)=>{_.d(q,{D:()=>o});var p=_(2971);function o(j){return Symbol.asyncIterator&&(0,p.m)(null==j?void 0:j[Symbol.asyncIterator])}},2971:(Ue,q,_)=>{function p(o){return"function"==typeof o}_.d(q,{m:()=>p})},1331:(Ue,q,_)=>{_.d(q,{c:()=>j});var p=_(4585),o=_(2971);function j(H){return(0,o.m)(H[p.L])}},3433:(Ue,q,_)=>{_.d(q,{T:()=>j});var p=_(7321),o=_(2971);function j(H){return(0,o.m)(null==H?void 0:H[p.h])}},9548:(Ue,q,_)=>{_.d(q,{t:()=>o});var p=_(2971);function o(j){return(0,p.m)(null==j?void 0:j.then)}},181:(Ue,q,_)=>{_.d(q,{Q:()=>j,L:()=>H});var p=_(9126),o=_(2971);function j(x){return(0,p.FC)(this,arguments,function*(){const N=x.getReader();try{for(;;){const{value:P,done:U}=yield(0,p.qq)(N.read());if(U)return yield(0,p.qq)(void 0);yield yield(0,p.qq)(P)}}finally{N.releaseLock()}})}function H(x){return(0,o.m)(null==x?void 0:x.getReader)}},9867:(Ue,q,_)=>{_.d(q,{K:()=>o});var p=_(2971);function o(j){return j&&(0,p.m)(j.schedule)}},1944:(Ue,q,_)=>{_.d(q,{A:()=>o,e:()=>j});var p=_(2971);function o(H){return(0,p.m)(null==H?void 0:H.lift)}function j(H){return x=>{if(o(x))return x.lift(function(L){try{return H(L,this)}catch(N){this.error(N)}});throw new TypeError("Unable to lift unknown Observable type")}}},8385:(Ue,q,_)=>{_.d(q,{Z:()=>H});var p=_(635);const{isArray:o}=Array;function H(x){return(0,p.U)(L=>function(x,L){return o(L)?x(...L):x(L)}(x,L))}},9635:(Ue,q,_)=>{function p(){}_.d(q,{Z:()=>p})},4709:(Ue,q,_)=>{_.d(q,{h:()=>j});var p=_(9057),o=_(3542);function j(H){o.z.setTimeout(()=>{const{onUnhandledError:x}=p.v;if(!x)throw H;x(H)})}},7785:(Ue,q,_)=>{function p(o){return new TypeError(`You provided ${null!==o&&"object"==typeof o?"an invalid object":`'${o}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}_.d(q,{z:()=>p})},2010:(Ue,q,_)=>{_.d(q,{sx:()=>N,fS:()=>L,X$:()=>P});var o=_(343),j=_(601);class H{constructor(A,z){this.privateDoNotAccessOrElseWrappedHtml=A}toString(){return this.privateDoNotAccessOrElseWrappedHtml.toString()}}function x(F,A){return null!=A?A:new H(F,o.Y)}function L(F){var A;const z=F;return x(z,null===(A=(0,j.C2)())||void 0===A?void 0:A.createHTML(z))}const N=x("",null===(F=(0,j.Cm)())||void 0===F?void 0:F.emptyHTML);var F;function P(F){var A;if(null===(A=(0,j.Cm)())||void 0===A?void 0:A.isHTML(F))return F;if(F instanceof H)return F.privateDoNotAccessOrElseWrappedHtml;throw new Error("")}},343:(Ue,q,_)=>{_.d(q,{Y:()=>p});const p={}},601:(Ue,q,_)=>{_.d(q,{Cm:()=>j,C2:()=>x});let H,p="google#safe";function j(){var N;return null!==(N=function(){if("undefined"!=typeof window)return window.trustedTypes}())&&void 0!==N?N:null}function x(){var N,P;if(void 0===H)try{H=null!==(P=null===(N=j())||void 0===N?void 0:N.createPolicy(p,{createHTML:U=>U,createScript:U=>U,createScriptURL:U=>U}))&&void 0!==P?P:null}catch(U){H=null,console.log(U)}return H}},1285:(Ue,q,_)=>{_.d(q,{Kw:()=>j});var p=_(2010);function j(L,N){return(0,p.fS)(L)}},9126:(Ue,q,_)=>{function P(me,be,Se,ke){return new(Se||(Se=Promise))(function(we,Dt){function Gt(Nt){try{Et(ke.next(Nt))}catch(It){Dt(It)}}function hn(Nt){try{Et(ke.throw(Nt))}catch(It){Dt(It)}}function Et(Nt){Nt.done?we(Nt.value):function(we){return we instanceof Se?we:new Se(function(Dt){Dt(we)})}(Nt.value).then(Gt,hn)}Et((ke=ke.apply(me,be||[])).next())})}function V(me){return this instanceof V?(this.v=me,this):new V(me)}function W(me,be,Se){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Be,ke=Se.apply(me,be||[]),we=[];return Be={},Dt("next"),Dt("throw"),Dt("return"),Be[Symbol.asyncIterator]=function(){return this},Be;function Dt(Zt){ke[Zt]&&(Be[Zt]=function(ut){return new Promise(function(Ye,ne){we.push([Zt,ut,Ye,ne])>1||Gt(Zt,ut)})})}function Gt(Zt,ut){try{!function(Zt){Zt.value instanceof V?Promise.resolve(Zt.value.v).then(Et,Nt):It(we[0][2],Zt)}(ke[Zt](ut))}catch(Ye){It(we[0][3],Ye)}}function Et(Zt){Gt("next",Zt)}function Nt(Zt){Gt("throw",Zt)}function It(Zt,ut){Zt(ut),we.shift(),we.length&&Gt(we[0][0],we[0][1])}}function Te(me){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Se,be=me[Symbol.asyncIterator];return be?be.call(me):(me=function(me){var be="function"==typeof Symbol&&Symbol.iterator,Se=be&&me[be],ke=0;if(Se)return Se.call(me);if(me&&"number"==typeof me.length)return{next:function(){return me&&ke>=me.length&&(me=void 0),{value:me&&me[ke++],done:!me}}};throw new TypeError(be?"Object is not iterable.":"Symbol.iterator is not defined.")}(me),Se={},ke("next"),ke("throw"),ke("return"),Se[Symbol.asyncIterator]=function(){return this},Se);function ke(we){Se[we]=me[we]&&function(Dt){return new Promise(function(Gt,hn){!function(we,Dt,Gt,hn){Promise.resolve(hn).then(function(Et){we({value:Et,done:Gt})},Dt)}(Gt,hn,(Dt=me[we](Dt)).done,Dt.value)})}}}_.d(q,{mG:()=>P,qq:()=>V,FC:()=>W,KL:()=>Te})},1631:(Ue,q,_)=>{_.d(q,{l3:()=>j,_j:()=>p,LC:()=>o,ZN:()=>W,jt:()=>x,vP:()=>N,SB:()=>U,oB:()=>P,eR:()=>A,X$:()=>H,ZE:()=>he,k1:()=>Te});class p{}class o{}const j="*";function H(Ce,re){return{type:7,name:Ce,definitions:re,options:{}}}function x(Ce,re=null){return{type:4,styles:re,timings:Ce}}function N(Ce,re=null){return{type:2,steps:Ce,options:re}}function P(Ce){return{type:6,styles:Ce,offset:null}}function U(Ce,re,De){return{type:0,name:Ce,styles:re,options:De}}function A(Ce,re,De=null){return{type:1,expr:Ce,animation:re,options:De}}function V(Ce){Promise.resolve(null).then(Ce)}class W{constructor(re=0,De=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=re+De}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(re=>re()),this._onDoneFns=[])}onStart(re){this._onStartFns.push(re)}onDone(re){this._onDoneFns.push(re)}onDestroy(re){this._onDestroyFns.push(re)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){V(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(re=>re()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(re=>re()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(re){this._position=this.totalTime?re*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(re){const De="start"==re?this._onStartFns:this._onDoneFns;De.forEach(Oe=>Oe()),De.length=0}}class he{constructor(re){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=re;let De=0,Oe=0,Ge=0;const Ke=this.players.length;0==Ke?V(()=>this._onFinish()):this.players.forEach(me=>{me.onDone(()=>{++De==Ke&&this._onFinish()}),me.onDestroy(()=>{++Oe==Ke&&this._onDestroy()}),me.onStart(()=>{++Ge==Ke&&this._onStart()})}),this.totalTime=this.players.reduce((me,be)=>Math.max(me,be.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(re=>re()),this._onDoneFns=[])}init(){this.players.forEach(re=>re.init())}onStart(re){this._onStartFns.push(re)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(re=>re()),this._onStartFns=[])}onDone(re){this._onDoneFns.push(re)}onDestroy(re){this._onDestroyFns.push(re)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(re=>re.play())}pause(){this.players.forEach(re=>re.pause())}restart(){this.players.forEach(re=>re.restart())}finish(){this._onFinish(),this.players.forEach(re=>re.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(re=>re.destroy()),this._onDestroyFns.forEach(re=>re()),this._onDestroyFns=[])}reset(){this.players.forEach(re=>re.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(re){const De=re*this.totalTime;this.players.forEach(Oe=>{const Ge=Oe.totalTime?Math.min(1,De/Oe.totalTime):1;Oe.setPosition(Ge)})}getPosition(){const re=this.players.reduce((De,Oe)=>null===De||Oe.totalTime>De.totalTime?Oe:De,null);return null!=re?re.getPosition():0}beforeDestroy(){this.players.forEach(re=>{re.beforeDestroy&&re.beforeDestroy()})}triggerCallback(re){const De="start"==re?this._onStartFns:this._onDoneFns;De.forEach(Oe=>Oe()),De.length=0}}const Te="!"},4128:(Ue,q,_)=>{_.d(q,{rt:()=>Mt,kH:()=>bt,Em:()=>Gt,tE:()=>Bt,qV:()=>Ee,qm:()=>Ve,ic:()=>Et,Kd:()=>ln,X6:()=>rn,yG:()=>Ne});var p=_(6362),o=_(3184),j=_(253),H=_(7714),x=_(6317),L=_(745),N=_(5939),P=_(9337),U=_(1989),F=_(116),A=_(635),z=_(9295),X=_(7260),J=_(8977),G=_(8951),Z=_(6484),V=_(4390),W=_(5837);class Gt extends class{constructor(oe){this._items=oe,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new j.x,this._typeaheadSubscription=H.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=Y=>Y.disabled,this._pressedLetters=[],this.tabOut=new j.x,this.change=new j.x,oe instanceof o.n_E&&oe.changes.subscribe(Y=>{if(this._activeItem){const Me=Y.toArray().indexOf(this._activeItem);Me>-1&&Me!==this._activeItemIndex&&(this._activeItemIndex=Me)}})}skipPredicate(oe){return this._skipPredicateFn=oe,this}withWrap(oe=!0){return this._wrap=oe,this}withVerticalOrientation(oe=!0){return this._vertical=oe,this}withHorizontalOrientation(oe){return this._horizontal=oe,this}withAllowedModifierKeys(oe){return this._allowedModifierKeys=oe,this}withTypeAhead(oe=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,P.b)(Y=>this._pressedLetters.push(Y)),(0,U.b)(oe),(0,F.h)(()=>this._pressedLetters.length>0),(0,A.U)(()=>this._pressedLetters.join(""))).subscribe(Y=>{const _e=this._getItemsArray();for(let Me=1;Me<_e.length+1;Me++){const et=(this._activeItemIndex+Me)%_e.length,wt=_e[et];if(!this._skipPredicateFn(wt)&&0===wt.getLabel().toUpperCase().trim().indexOf(Y)){this.setActiveItem(et);break}}this._pressedLetters=[]}),this}withHomeAndEnd(oe=!0){return this._homeAndEnd=oe,this}setActiveItem(oe){const Y=this._activeItem;this.updateActiveItem(oe),this._activeItem!==Y&&this.change.next(this._activeItemIndex)}onKeydown(oe){const Y=oe.keyCode,Me=["altKey","ctrlKey","metaKey","shiftKey"].every(et=>!oe[et]||this._allowedModifierKeys.indexOf(et)>-1);switch(Y){case N.Mf:return void this.tabOut.next();case N.JH:if(this._vertical&&Me){this.setNextItemActive();break}return;case N.LH:if(this._vertical&&Me){this.setPreviousItemActive();break}return;case N.SV:if(this._horizontal&&Me){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case N.oh:if(this._horizontal&&Me){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case N.Sd:if(this._homeAndEnd&&Me){this.setFirstItemActive();break}return;case N.uR:if(this._homeAndEnd&&Me){this.setLastItemActive();break}return;default:return void((Me||(0,N.Vb)(oe,"shiftKey"))&&(oe.key&&1===oe.key.length?this._letterKeyStream.next(oe.key.toLocaleUpperCase()):(Y>=N.A&&Y<=N.Z||Y>=N.xE&&Y<=N.aO)&&this._letterKeyStream.next(String.fromCharCode(Y))))}this._pressedLetters=[],oe.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(oe){const Y=this._getItemsArray(),_e="number"==typeof oe?oe:Y.indexOf(oe),Me=Y[_e];this._activeItem=null==Me?null:Me,this._activeItemIndex=_e}_setActiveItemByDelta(oe){this._wrap?this._setActiveInWrapMode(oe):this._setActiveInDefaultMode(oe)}_setActiveInWrapMode(oe){const Y=this._getItemsArray();for(let _e=1;_e<=Y.length;_e++){const Me=(this._activeItemIndex+oe*_e+Y.length)%Y.length;if(!this._skipPredicateFn(Y[Me]))return void this.setActiveItem(Me)}}_setActiveInDefaultMode(oe){this._setActiveItemByIndex(this._activeItemIndex+oe,oe)}_setActiveItemByIndex(oe,Y){const _e=this._getItemsArray();if(_e[oe]){for(;this._skipPredicateFn(_e[oe]);)if(!_e[oe+=Y])return;this.setActiveItem(oe)}}_getItemsArray(){return this._items instanceof o.n_E?this._items.toArray():this._items}}{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(oe){return this._origin=oe,this}setActiveItem(oe){super.setActiveItem(oe),this.activeItem&&this.activeItem.focus(this._origin)}}let Et=(()=>{class ye{constructor(Y){this._platform=Y}isDisabled(Y){return Y.hasAttribute("disabled")}isVisible(Y){return function(ye){return!!(ye.offsetWidth||ye.offsetHeight||"function"==typeof ye.getClientRects&&ye.getClientRects().length)}(Y)&&"visible"===getComputedStyle(Y).visibility}isTabbable(Y){if(!this._platform.isBrowser)return!1;const _e=function(ye){try{return ye.frameElement}catch(oe){return null}}(function(ye){return ye.ownerDocument&&ye.ownerDocument.defaultView||window}(Y));if(_e&&(-1===st(_e)||!this.isVisible(_e)))return!1;let Me=Y.nodeName.toLowerCase(),et=st(Y);return Y.hasAttribute("contenteditable")?-1!==et:!("iframe"===Me||"object"===Me||this._platform.WEBKIT&&this._platform.IOS&&!function(ye){let oe=ye.nodeName.toLowerCase(),Y="input"===oe&&ye.type;return"text"===Y||"password"===Y||"select"===oe||"textarea"===oe}(Y))&&("audio"===Me?!!Y.hasAttribute("controls")&&-1!==et:"video"===Me?-1!==et&&(null!==et||this._platform.FIREFOX||Y.hasAttribute("controls")):Y.tabIndex>=0)}isFocusable(Y,_e){return function(ye){return!function(ye){return function(ye){return"input"==ye.nodeName.toLowerCase()}(ye)&&"hidden"==ye.type}(ye)&&(function(ye){let oe=ye.nodeName.toLowerCase();return"input"===oe||"select"===oe||"button"===oe||"textarea"===oe}(ye)||function(ye){return function(ye){return"a"==ye.nodeName.toLowerCase()}(ye)&&ye.hasAttribute("href")}(ye)||ye.hasAttribute("contenteditable")||Je(ye))}(Y)&&!this.isDisabled(Y)&&((null==_e?void 0:_e.ignoreVisibility)||this.isVisible(Y))}}return ye.\u0275fac=function(Y){return new(Y||ye)(o.LFG(V.t4))},ye.\u0275prov=o.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})();function Je(ye){if(!ye.hasAttribute("tabindex")||void 0===ye.tabIndex)return!1;let oe=ye.getAttribute("tabindex");return!(!oe||isNaN(parseInt(oe,10)))}function st(ye){if(!Je(ye))return null;const oe=parseInt(ye.getAttribute("tabindex")||"",10);return isNaN(oe)?-1:oe}class ue{constructor(oe,Y,_e,Me,et=!1){this._element=oe,this._checker=Y,this._ngZone=_e,this._document=Me,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,et||this.attachAnchors()}get enabled(){return this._enabled}set enabled(oe){this._enabled=oe,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(oe,this._startAnchor),this._toggleAnchorTabIndex(oe,this._endAnchor))}destroy(){const oe=this._startAnchor,Y=this._endAnchor;oe&&(oe.removeEventListener("focus",this.startAnchorListener),oe.remove()),Y&&(Y.removeEventListener("focus",this.endAnchorListener),Y.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(oe){return new Promise(Y=>{this._executeOnStable(()=>Y(this.focusInitialElement(oe)))})}focusFirstTabbableElementWhenReady(oe){return new Promise(Y=>{this._executeOnStable(()=>Y(this.focusFirstTabbableElement(oe)))})}focusLastTabbableElementWhenReady(oe){return new Promise(Y=>{this._executeOnStable(()=>Y(this.focusLastTabbableElement(oe)))})}_getRegionBoundary(oe){const Y=this._element.querySelectorAll(`[cdk-focus-region-${oe}], [cdkFocusRegion${oe}], [cdk-focus-${oe}]`);return"start"==oe?Y.length?Y[0]:this._getFirstTabbableElement(this._element):Y.length?Y[Y.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(oe){const Y=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Y){if(!this._checker.isFocusable(Y)){const _e=this._getFirstTabbableElement(Y);return null==_e||_e.focus(oe),!!_e}return Y.focus(oe),!0}return this.focusFirstTabbableElement(oe)}focusFirstTabbableElement(oe){const Y=this._getRegionBoundary("start");return Y&&Y.focus(oe),!!Y}focusLastTabbableElement(oe){const Y=this._getRegionBoundary("end");return Y&&Y.focus(oe),!!Y}hasAttached(){return this._hasAttached}_getFirstTabbableElement(oe){if(this._checker.isFocusable(oe)&&this._checker.isTabbable(oe))return oe;const Y=oe.children;for(let _e=0;_e<Y.length;_e++){const Me=Y[_e].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(Y[_e]):null;if(Me)return Me}return null}_getLastTabbableElement(oe){if(this._checker.isFocusable(oe)&&this._checker.isTabbable(oe))return oe;const Y=oe.children;for(let _e=Y.length-1;_e>=0;_e--){const Me=Y[_e].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Y[_e]):null;if(Me)return Me}return null}_createAnchor(){const oe=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,oe),oe.classList.add("cdk-visually-hidden"),oe.classList.add("cdk-focus-trap-anchor"),oe.setAttribute("aria-hidden","true"),oe}_toggleAnchorTabIndex(oe,Y){oe?Y.setAttribute("tabindex","0"):Y.removeAttribute("tabindex")}toggleAnchors(oe){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(oe,this._startAnchor),this._toggleAnchorTabIndex(oe,this._endAnchor))}_executeOnStable(oe){this._ngZone.isStable?oe():this._ngZone.onStable.pipe((0,z.q)(1)).subscribe(oe)}}let Ee=(()=>{class ye{constructor(Y,_e,Me){this._checker=Y,this._ngZone=_e,this._document=Me}create(Y,_e=!1){return new ue(Y,this._checker,this._ngZone,this._document,_e)}}return ye.\u0275fac=function(Y){return new(Y||ye)(o.LFG(Et),o.LFG(o.R0b),o.LFG(p.K0))},ye.\u0275prov=o.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})();function rn(ye){return 0===ye.offsetX&&0===ye.offsetY}function Ne(ye){const oe=ye.touches&&ye.touches[0]||ye.changedTouches&&ye.changedTouches[0];return!(!oe||-1!==oe.identifier||null!=oe.radiusX&&1!==oe.radiusX||null!=oe.radiusY&&1!==oe.radiusY)}const ae=new o.OlP("cdk-input-modality-detector-options"),le={ignoreKeys:[N.zL,N.jx,N.b2,N.MW,N.JU]},xe=(0,V.i$)({passive:!0,capture:!0});let ct=(()=>{class ye{constructor(Y,_e,Me,et){this._platform=Y,this._mostRecentTarget=null,this._modality=new x.X(null),this._lastTouchMs=0,this._onKeydown=wt=>{var fn,Bn;(null===(Bn=null===(fn=this._options)||void 0===fn?void 0:fn.ignoreKeys)||void 0===Bn?void 0:Bn.some(ve=>ve===wt.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,V.sA)(wt))},this._onMousedown=wt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(rn(wt)?"keyboard":"mouse"),this._mostRecentTarget=(0,V.sA)(wt))},this._onTouchstart=wt=>{Ne(wt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,V.sA)(wt))},this._options=Object.assign(Object.assign({},le),et),this.modalityDetected=this._modality.pipe((0,X.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,J.x)()),Y.isBrowser&&_e.runOutsideAngular(()=>{Me.addEventListener("keydown",this._onKeydown,xe),Me.addEventListener("mousedown",this._onMousedown,xe),Me.addEventListener("touchstart",this._onTouchstart,xe)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,xe),document.removeEventListener("mousedown",this._onMousedown,xe),document.removeEventListener("touchstart",this._onTouchstart,xe))}}return ye.\u0275fac=function(Y){return new(Y||ye)(o.LFG(V.t4),o.LFG(o.R0b),o.LFG(p.K0),o.LFG(ae,8))},ye.\u0275prov=o.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})();const We=new o.OlP("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),xt=new o.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let ln=(()=>{class ye{constructor(Y,_e,Me,et){this._ngZone=_e,this._defaultOptions=et,this._document=Me,this._liveElement=Y||this._createLiveElement()}announce(Y,..._e){const Me=this._defaultOptions;let et,wt;return 1===_e.length&&"number"==typeof _e[0]?wt=_e[0]:[et,wt]=_e,this.clear(),clearTimeout(this._previousTimeout),et||(et=Me&&Me.politeness?Me.politeness:"polite"),null==wt&&Me&&(wt=Me.duration),this._liveElement.setAttribute("aria-live",et),this._ngZone.runOutsideAngular(()=>new Promise(fn=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=Y,fn(),"number"==typeof wt&&(this._previousTimeout=setTimeout(()=>this.clear(),wt))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var Y;clearTimeout(this._previousTimeout),null===(Y=this._liveElement)||void 0===Y||Y.remove(),this._liveElement=null}_createLiveElement(){const Y="cdk-live-announcer-element",_e=this._document.getElementsByClassName(Y),Me=this._document.createElement("div");for(let et=0;et<_e.length;et++)_e[et].remove();return Me.classList.add(Y),Me.classList.add("cdk-visually-hidden"),Me.setAttribute("aria-atomic","true"),Me.setAttribute("aria-live","polite"),this._document.body.appendChild(Me),Me}}return ye.\u0275fac=function(Y){return new(Y||ye)(o.LFG(We,8),o.LFG(o.R0b),o.LFG(p.K0),o.LFG(xt,8))},ye.\u0275prov=o.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})();const Vt=new o.OlP("cdk-focus-monitor-default-options"),cn=(0,V.i$)({passive:!0,capture:!0});let Bt=(()=>{class ye{constructor(Y,_e,Me,et,wt){this._ngZone=Y,this._platform=_e,this._inputModalityDetector=Me,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=setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new j.x,this._rootNodeFocusAndBlurListener=fn=>{const Bn=(0,V.sA)(fn),ve="focus"===fn.type?this._onFocus:this._onBlur;for(let ie=Bn;ie;ie=ie.parentElement)ve.call(this,fn,ie)},this._document=et,this._detectionMode=(null==wt?void 0:wt.detectionMode)||0}monitor(Y,_e=!1){const Me=(0,Z.fI)(Y);if(!this._platform.isBrowser||1!==Me.nodeType)return(0,L.of)(null);const et=(0,V.kV)(Me)||this._getDocument(),wt=this._elementInfo.get(Me);if(wt)return _e&&(wt.checkChildren=!0),wt.subject;const fn={checkChildren:_e,subject:new j.x,rootNode:et};return this._elementInfo.set(Me,fn),this._registerGlobalListeners(fn),fn.subject}stopMonitoring(Y){const _e=(0,Z.fI)(Y),Me=this._elementInfo.get(_e);Me&&(Me.subject.complete(),this._setClasses(_e),this._elementInfo.delete(_e),this._removeGlobalListeners(Me))}focusVia(Y,_e,Me){const et=(0,Z.fI)(Y);et===this._getDocument().activeElement?this._getClosestElementsInfo(et).forEach(([fn,Bn])=>this._originChanged(fn,_e,Bn)):(this._setOrigin(_e),"function"==typeof et.focus&&et.focus(Me))}ngOnDestroy(){this._elementInfo.forEach((Y,_e)=>this.stopMonitoring(_e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(Y){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(Y)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(Y){return 1===this._detectionMode||!!(null==Y?void 0:Y.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(Y,_e){Y.classList.toggle("cdk-focused",!!_e),Y.classList.toggle("cdk-touch-focused","touch"===_e),Y.classList.toggle("cdk-keyboard-focused","keyboard"===_e),Y.classList.toggle("cdk-mouse-focused","mouse"===_e),Y.classList.toggle("cdk-program-focused","program"===_e)}_setOrigin(Y,_e=!1){this._ngZone.runOutsideAngular(()=>{this._origin=Y,this._originFromTouchInteraction="touch"===Y&&_e,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(Y,_e){const Me=this._elementInfo.get(_e),et=(0,V.sA)(Y);!Me||!Me.checkChildren&&_e!==et||this._originChanged(_e,this._getFocusOrigin(et),Me)}_onBlur(Y,_e){const Me=this._elementInfo.get(_e);!Me||Me.checkChildren&&Y.relatedTarget instanceof Node&&_e.contains(Y.relatedTarget)||(this._setClasses(_e),this._emitOrigin(Me.subject,null))}_emitOrigin(Y,_e){this._ngZone.run(()=>Y.next(_e))}_registerGlobalListeners(Y){if(!this._platform.isBrowser)return;const _e=Y.rootNode,Me=this._rootNodeFocusListenerCount.get(_e)||0;Me||this._ngZone.runOutsideAngular(()=>{_e.addEventListener("focus",this._rootNodeFocusAndBlurListener,cn),_e.addEventListener("blur",this._rootNodeFocusAndBlurListener,cn)}),this._rootNodeFocusListenerCount.set(_e,Me+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,G.R)(this._stopInputModalityDetector)).subscribe(et=>{this._setOrigin(et,!0)}))}_removeGlobalListeners(Y){const _e=Y.rootNode;if(this._rootNodeFocusListenerCount.has(_e)){const Me=this._rootNodeFocusListenerCount.get(_e);Me>1?this._rootNodeFocusListenerCount.set(_e,Me-1):(_e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,cn),_e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,cn),this._rootNodeFocusListenerCount.delete(_e))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(Y,_e,Me){this._setClasses(Y,_e),this._emitOrigin(Me.subject,_e),this._lastFocusOrigin=_e}_getClosestElementsInfo(Y){const _e=[];return this._elementInfo.forEach((Me,et)=>{(et===Y||Me.checkChildren&&et.contains(Y))&&_e.push([et,Me])}),_e}}return ye.\u0275fac=function(Y){return new(Y||ye)(o.LFG(o.R0b),o.LFG(V.t4),o.LFG(ct),o.LFG(p.K0,8),o.LFG(Vt,8))},ye.\u0275prov=o.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})(),bt=(()=>{class ye{constructor(Y,_e){this._elementRef=Y,this._focusMonitor=_e,this.cdkFocusChange=new o.vpe}ngAfterViewInit(){const Y=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(Y,1===Y.nodeType&&Y.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(_e=>this.cdkFocusChange.emit(_e))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return ye.\u0275fac=function(Y){return new(Y||ye)(o.Y36(o.SBq),o.Y36(Bt))},ye.\u0275dir=o.lG2({type:ye,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),ye})();const Re="cdk-high-contrast-black-on-white",se="cdk-high-contrast-white-on-black",ce="cdk-high-contrast-active";let Ve=(()=>{class ye{constructor(Y,_e){this._platform=Y,this._document=_e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const Y=this._document.createElement("div");Y.style.backgroundColor="rgb(1,2,3)",Y.style.position="absolute",this._document.body.appendChild(Y);const _e=this._document.defaultView||window,Me=_e&&_e.getComputedStyle?_e.getComputedStyle(Y):null,et=(Me&&Me.backgroundColor||"").replace(/ /g,"");switch(Y.remove(),et){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const Y=this._document.body.classList;Y.remove(ce),Y.remove(Re),Y.remove(se),this._hasCheckedHighContrastMode=!0;const _e=this.getHighContrastMode();1===_e?(Y.add(ce),Y.add(Re)):2===_e&&(Y.add(ce),Y.add(se))}}}return ye.\u0275fac=function(Y){return new(Y||ye)(o.LFG(V.t4),o.LFG(p.K0))},ye.\u0275prov=o.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})(),Mt=(()=>{class ye{constructor(Y){Y._applyBodyHighContrastModeCssClasses()}}return ye.\u0275fac=function(Y){return new(Y||ye)(o.LFG(Ve))},ye.\u0275mod=o.oAB({type:ye}),ye.\u0275inj=o.cJS({imports:[[V.ud,W.Q8]]}),ye})()},1588:(Ue,q,_)=>{_.d(q,{vT:()=>N,Is:()=>x});var p=_(3184),o=_(6362);const j=new p.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,p.f3M)(o.K0)}});let x=(()=>{class P{constructor(F){if(this.value="ltr",this.change=new p.vpe,F){const z=F.documentElement?F.documentElement.dir:null,X=(F.body?F.body.dir:null)||z;this.value="ltr"===X||"rtl"===X?X:"ltr"}}ngOnDestroy(){this.change.complete()}}return P.\u0275fac=function(F){return new(F||P)(p.LFG(j,8))},P.\u0275prov=p.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),P})(),N=(()=>{class P{}return P.\u0275fac=function(F){return new(F||P)},P.\u0275mod=p.oAB({type:P}),P.\u0275inj=p.cJS({}),P})()},6484:(Ue,q,_)=>{_.d(q,{Eq:()=>x,Ig:()=>o,HM:()=>L,fI:()=>N,su:()=>j});var p=_(3184);function o(U){return null!=U&&"false"!=`${U}`}function j(U,F=0){return function(U){return!isNaN(parseFloat(U))&&!isNaN(Number(U))}(U)?Number(U):F}function x(U){return Array.isArray(U)?U:[U]}function L(U){return null==U?"":"string"==typeof U?U:`${U}px`}function N(U){return U instanceof p.SBq?U.nativeElement:U}},5939:(Ue,q,_)=>{_.d(q,{A:()=>Zt,zL:()=>P,jx:()=>N,JH:()=>Te,uR:()=>G,K5:()=>x,hY:()=>A,Sd:()=>Z,oh:()=>V,b2:()=>Or,MW:()=>dt,aO:()=>Gt,SV:()=>he,JU:()=>L,L_:()=>z,Mf:()=>j,LH:()=>W,Z:()=>We,xE:()=>Ge,Vb:()=>_r});const j=9,x=13,L=16,N=17,P=18,A=27,z=32,G=35,Z=36,V=37,W=38,he=39,Te=40,Ge=48,Gt=57,Zt=65,We=90,dt=91,Or=224;function _r(wn,...sn){return sn.length?sn.some(si=>wn[si]):wn.altKey||wn.shiftKey||wn.ctrlKey||wn.metaKey}},5837:(Ue,q,_)=>{_.d(q,{wD:()=>P,Q8:()=>U});var p=_(6484),o=_(3184),j=_(3336),H=_(253),x=_(1989);let L=(()=>{class F{create(z){return"undefined"==typeof MutationObserver?null:new MutationObserver(z)}}return F.\u0275fac=function(z){return new(z||F)},F.\u0275prov=o.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),N=(()=>{class F{constructor(z){this._mutationObserverFactory=z,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((z,X)=>this._cleanupObserver(X))}observe(z){const X=(0,p.fI)(z);return new j.y(J=>{const Z=this._observeElement(X).subscribe(J);return()=>{Z.unsubscribe(),this._unobserveElement(X)}})}_observeElement(z){if(this._observedElements.has(z))this._observedElements.get(z).count++;else{const X=new H.x,J=this._mutationObserverFactory.create(G=>X.next(G));J&&J.observe(z,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(z,{observer:J,stream:X,count:1})}return this._observedElements.get(z).stream}_unobserveElement(z){this._observedElements.has(z)&&(this._observedElements.get(z).count--,this._observedElements.get(z).count||this._cleanupObserver(z))}_cleanupObserver(z){if(this._observedElements.has(z)){const{observer:X,stream:J}=this._observedElements.get(z);X&&X.disconnect(),J.complete(),this._observedElements.delete(z)}}}return F.\u0275fac=function(z){return new(z||F)(o.LFG(L))},F.\u0275prov=o.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),P=(()=>{class F{constructor(z,X,J){this._contentObserver=z,this._elementRef=X,this._ngZone=J,this.event=new o.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(z){this._disabled=(0,p.Ig)(z),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(z){this._debounce=(0,p.su)(z),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const z=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?z.pipe((0,x.b)(this.debounce)):z).subscribe(this.event)})}_unsubscribe(){var z;null===(z=this._currentSubscription)||void 0===z||z.unsubscribe()}}return F.\u0275fac=function(z){return new(z||F)(o.Y36(N),o.Y36(o.SBq),o.Y36(o.R0b))},F.\u0275dir=o.lG2({type:F,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),F})(),U=(()=>{class F{}return F.\u0275fac=function(z){return new(z||F)},F.\u0275mod=o.oAB({type:F}),F.\u0275inj=o.cJS({providers:[L]}),F})()},4390:(Ue,q,_)=>{_.d(q,{t4:()=>H,ud:()=>x,sA:()=>Te,kV:()=>W,Oy:()=>Ce,_i:()=>G,i$:()=>A,Mq:()=>J});var p=_(3184),o=_(6362);let j;try{j="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(re){j=!1}let U,z,X,Z,H=(()=>{class re{constructor(Oe){this._platformId=Oe,this.isBrowser=this._platformId?(0,o.NF)(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&&!j)&&"undefined"!=typeof CSS&&!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}}return re.\u0275fac=function(Oe){return new(Oe||re)(p.LFG(p.Lbi))},re.\u0275prov=p.Yz7({token:re,factory:re.\u0275fac,providedIn:"root"}),re})(),x=(()=>{class re{}return re.\u0275fac=function(Oe){return new(Oe||re)},re.\u0275mod=p.oAB({type:re}),re.\u0275inj=p.cJS({}),re})();function A(re){return function(){if(null==U&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>U=!0}))}finally{U=U||!1}return U}()?re:!!re.capture}function J(){if(null==X){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return X=!1,X;if("scrollBehavior"in document.documentElement.style)X=!0;else{const re=Element.prototype.scrollTo;X=!!re&&!/\{\s*\[native code\]\s*\}/.test(re.toString())}}return X}function G(){if("object"!=typeof document||!document)return 0;if(null==z){const re=document.createElement("div"),De=re.style;re.dir="rtl",De.width="1px",De.overflow="auto",De.visibility="hidden",De.pointerEvents="none",De.position="absolute";const Oe=document.createElement("div"),Ge=Oe.style;Ge.width="2px",Ge.height="1px",re.appendChild(Oe),document.body.appendChild(re),z=0,0===re.scrollLeft&&(re.scrollLeft=1,z=0===re.scrollLeft?1:2),re.remove()}return z}function W(re){if(function(){if(null==Z){const re="undefined"!=typeof document?document.head:null;Z=!(!re||!re.createShadowRoot&&!re.attachShadow)}return Z}()){const De=re.getRootNode?re.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&De instanceof ShadowRoot)return De}return null}function Te(re){return re.composedPath?re.composedPath()[0]:re.target}function Ce(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},2792:(Ue,q,_)=>{_.d(q,{PQ:()=>ke,ZD:()=>It,mF:()=>Se,Cl:()=>Zt,rL:()=>we});var p=_(6484),o=_(3184),j=_(5417),H=_(7714);const x={schedule(ut){let Ye=requestAnimationFrame,ne=cancelAnimationFrame;const{delegate:je}=x;je&&(Ye=je.requestAnimationFrame,ne=je.cancelAnimationFrame);const Je=Ye(st=>{ne=void 0,ut(st)});return new H.w0(()=>null==ne?void 0:ne(Je))},requestAnimationFrame(...ut){const{delegate:Ye}=x;return((null==Ye?void 0:Ye.requestAnimationFrame)||requestAnimationFrame)(...ut)},cancelAnimationFrame(...ut){const{delegate:Ye}=x;return((null==Ye?void 0:Ye.cancelAnimationFrame)||cancelAnimationFrame)(...ut)},delegate:void 0};var N=_(1010);new class extends N.v{flush(Ye){this._active=!0,this._scheduled=void 0;const{actions:ne}=this;let je,Je=-1;Ye=Ye||ne.shift();const st=ne.length;do{if(je=Ye.execute(Ye.state,Ye.delay))break}while(++Je<st&&(Ye=ne.shift()));if(this._active=!1,je){for(;++Je<st&&(Ye=ne.shift());)Ye.unsubscribe();throw je}}}(class extends j.o{constructor(Ye,ne){super(Ye,ne),this.scheduler=Ye,this.work=ne}requestAsyncId(Ye,ne,je=0){return null!==je&&je>0?super.requestAsyncId(Ye,ne,je):(Ye.actions.push(this),Ye._scheduled||(Ye._scheduled=x.requestAnimationFrame(()=>Ye.flush(void 0))))}recycleAsyncId(Ye,ne,je=0){if(null!=je&&je>0||null==je&&this.delay>0)return super.recycleAsyncId(Ye,ne,je);0===Ye.actions.length&&(x.cancelAnimationFrame(ne),Ye._scheduled=void 0)}});var A=_(253),z=_(745),X=_(3336),J=_(3280),Z=(_(3888),_(9211)),V=_(116),W=_(8951),he=_(6362),Te=_(4390),Ce=_(1588);let Se=(()=>{class ut{constructor(ne,je,Je){this._ngZone=ne,this._platform=je,this._scrolled=new A.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Je}register(ne){this.scrollContainers.has(ne)||this.scrollContainers.set(ne,ne.elementScrolled().subscribe(()=>this._scrolled.next(ne)))}deregister(ne){const je=this.scrollContainers.get(ne);je&&(je.unsubscribe(),this.scrollContainers.delete(ne))}scrolled(ne=20){return this._platform.isBrowser?new X.y(je=>{this._globalSubscription||this._addGlobalListener();const Je=ne>0?this._scrolled.pipe((0,Z.e)(ne)).subscribe(je):this._scrolled.subscribe(je);return this._scrolledCount++,()=>{Je.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,z.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((ne,je)=>this.deregister(je)),this._scrolled.complete()}ancestorScrolled(ne,je){const Je=this.getAncestorScrollContainers(ne);return this.scrolled(je).pipe((0,V.h)(st=>!st||Je.indexOf(st)>-1))}getAncestorScrollContainers(ne){const je=[];return this.scrollContainers.forEach((Je,st)=>{this._scrollableContainsElement(st,ne)&&je.push(st)}),je}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(ne,je){let Je=(0,p.fI)(je),st=ne.getElementRef().nativeElement;do{if(Je==st)return!0}while(Je=Je.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const ne=this._getWindow();return(0,J.R)(ne.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return ut.\u0275fac=function(ne){return new(ne||ut)(o.LFG(o.R0b),o.LFG(Te.t4),o.LFG(he.K0,8))},ut.\u0275prov=o.Yz7({token:ut,factory:ut.\u0275fac,providedIn:"root"}),ut})(),ke=(()=>{class ut{constructor(ne,je,Je,st){this.elementRef=ne,this.scrollDispatcher=je,this.ngZone=Je,this.dir=st,this._destroyed=new A.x,this._elementScrolled=new X.y(Ht=>this.ngZone.runOutsideAngular(()=>(0,J.R)(this.elementRef.nativeElement,"scroll").pipe((0,W.R)(this._destroyed)).subscribe(Ht)))}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(ne){const je=this.elementRef.nativeElement,Je=this.dir&&"rtl"==this.dir.value;null==ne.left&&(ne.left=Je?ne.end:ne.start),null==ne.right&&(ne.right=Je?ne.start:ne.end),null!=ne.bottom&&(ne.top=je.scrollHeight-je.clientHeight-ne.bottom),Je&&0!=(0,Te._i)()?(null!=ne.left&&(ne.right=je.scrollWidth-je.clientWidth-ne.left),2==(0,Te._i)()?ne.left=ne.right:1==(0,Te._i)()&&(ne.left=ne.right?-ne.right:ne.right)):null!=ne.right&&(ne.left=je.scrollWidth-je.clientWidth-ne.right),this._applyScrollToOptions(ne)}_applyScrollToOptions(ne){const je=this.elementRef.nativeElement;(0,Te.Mq)()?je.scrollTo(ne):(null!=ne.top&&(je.scrollTop=ne.top),null!=ne.left&&(je.scrollLeft=ne.left))}measureScrollOffset(ne){const je="left",st=this.elementRef.nativeElement;if("top"==ne)return st.scrollTop;if("bottom"==ne)return st.scrollHeight-st.clientHeight-st.scrollTop;const Ht=this.dir&&"rtl"==this.dir.value;return"start"==ne?ne=Ht?"right":je:"end"==ne&&(ne=Ht?je:"right"),Ht&&2==(0,Te._i)()?ne==je?st.scrollWidth-st.clientWidth-st.scrollLeft:st.scrollLeft:Ht&&1==(0,Te._i)()?ne==je?st.scrollLeft+st.scrollWidth-st.clientWidth:-st.scrollLeft:ne==je?st.scrollLeft:st.scrollWidth-st.clientWidth-st.scrollLeft}}return ut.\u0275fac=function(ne){return new(ne||ut)(o.Y36(o.SBq),o.Y36(Se),o.Y36(o.R0b),o.Y36(Ce.Is,8))},ut.\u0275dir=o.lG2({type:ut,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),ut})(),we=(()=>{class ut{constructor(ne,je,Je){this._platform=ne,this._change=new A.x,this._changeListener=st=>{this._change.next(st)},this._document=Je,je.runOutsideAngular(()=>{if(ne.isBrowser){const st=this._getWindow();st.addEventListener("resize",this._changeListener),st.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const ne=this._getWindow();ne.removeEventListener("resize",this._changeListener),ne.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const ne={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),ne}getViewportRect(){const ne=this.getViewportScrollPosition(),{width:je,height:Je}=this.getViewportSize();return{top:ne.top,left:ne.left,bottom:ne.top+Je,right:ne.left+je,height:Je,width:je}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ne=this._document,je=this._getWindow(),Je=ne.documentElement,st=Je.getBoundingClientRect();return{top:-st.top||ne.body.scrollTop||je.scrollY||Je.scrollTop||0,left:-st.left||ne.body.scrollLeft||je.scrollX||Je.scrollLeft||0}}change(ne=20){return ne>0?this._change.pipe((0,Z.e)(ne)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const ne=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:ne.innerWidth,height:ne.innerHeight}:{width:0,height:0}}}return ut.\u0275fac=function(ne){return new(ne||ut)(o.LFG(Te.t4),o.LFG(o.R0b),o.LFG(he.K0,8))},ut.\u0275prov=o.Yz7({token:ut,factory:ut.\u0275fac,providedIn:"root"}),ut})(),It=(()=>{class ut{}return ut.\u0275fac=function(ne){return new(ne||ut)},ut.\u0275mod=o.oAB({type:ut}),ut.\u0275inj=o.cJS({}),ut})(),Zt=(()=>{class ut{}return ut.\u0275fac=function(ne){return new(ne||ut)},ut.\u0275mod=o.oAB({type:ut}),ut.\u0275inj=o.cJS({imports:[[Ce.vT,Te.ud,It],Ce.vT,It]}),ut})()},6362:(Ue,q,_)=>{_.d(q,{Ov:()=>Vr,ez:()=>Ns,K0:()=>N,Ye:()=>re,S$:()=>V,mk:()=>ii,sg:()=>nr,O5:()=>_r,PC:()=>On,RF:()=>Un,n9:()=>yn,ED:()=>An,b0:()=>Te,lw:()=>P,EM:()=>rr,JF:()=>ks,NF:()=>vr,w_:()=>L,bD:()=>ui,q:()=>j,Mx:()=>Ut,HT:()=>x});var p=_(3184);let o=null;function j(){return o}function x(E){o||(o=E)}class L{}const N=new p.OlP("DocumentToken");let P=(()=>{class E{historyGo(b){throw new Error("Not implemented")}}return E.\u0275fac=function(b){return new(b||E)},E.\u0275prov=p.Yz7({token:E,factory:function(){return(0,p.LFG)(A)},providedIn:"platform"}),E})(),A=(()=>{class E extends P{constructor(b){super(),this._doc=b,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return j().getBaseHref(this._doc)}onPopState(b){const O=j().getGlobalEventTarget(this._doc,"window");return O.addEventListener("popstate",b,!1),()=>O.removeEventListener("popstate",b)}onHashChange(b){const O=j().getGlobalEventTarget(this._doc,"window");return O.addEventListener("hashchange",b,!1),()=>O.removeEventListener("hashchange",b)}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(b){this.location.pathname=b}pushState(b,O,ee){z()?this._history.pushState(b,O,ee):this.location.hash=ee}replaceState(b,O,ee){z()?this._history.replaceState(b,O,ee):this.location.hash=ee}forward(){this._history.forward()}back(){this._history.back()}historyGo(b=0){this._history.go(b)}getState(){return this._history.state}}return E.\u0275fac=function(b){return new(b||E)(p.LFG(N))},E.\u0275prov=p.Yz7({token:E,factory:function(){return new A((0,p.LFG)(N))},providedIn:"platform"}),E})();function z(){return!!window.history.pushState}function J(E,M){if(0==E.length)return M;if(0==M.length)return E;let b=0;return E.endsWith("/")&&b++,M.startsWith("/")&&b++,2==b?E+M.substring(1):1==b?E+M:E+"/"+M}function G(E){const M=E.match(/#|\?|$/),b=M&&M.index||E.length;return E.slice(0,b-("/"===E[b-1]?1:0))+E.slice(b)}function Z(E){return E&&"?"!==E[0]?"?"+E:E}let V=(()=>{class E{historyGo(b){throw new Error("Not implemented")}}return E.\u0275fac=function(b){return new(b||E)},E.\u0275prov=p.Yz7({token:E,factory:function(){return function(E){const M=(0,p.LFG)(N).location;return new Te((0,p.LFG)(P),M&&M.origin||"")}()},providedIn:"root"}),E})();const he=new p.OlP("appBaseHref");let Te=(()=>{class E extends V{constructor(b,O){if(super(),this._platformLocation=b,this._removeListenerFns=[],null==O&&(O=this._platformLocation.getBaseHrefFromDOM()),null==O)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=O}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(b){this._removeListenerFns.push(this._platformLocation.onPopState(b),this._platformLocation.onHashChange(b))}getBaseHref(){return this._baseHref}prepareExternalUrl(b){return J(this._baseHref,b)}path(b=!1){const O=this._platformLocation.pathname+Z(this._platformLocation.search),ee=this._platformLocation.hash;return ee&&b?`${O}${ee}`:O}pushState(b,O,ee,Ie){const Ze=this.prepareExternalUrl(ee+Z(Ie));this._platformLocation.pushState(b,O,Ze)}replaceState(b,O,ee,Ie){const Ze=this.prepareExternalUrl(ee+Z(Ie));this._platformLocation.replaceState(b,O,Ze)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(b=0){var O,ee;null===(ee=(O=this._platformLocation).historyGo)||void 0===ee||ee.call(O,b)}}return E.\u0275fac=function(b){return new(b||E)(p.LFG(P),p.LFG(he,8))},E.\u0275prov=p.Yz7({token:E,factory:E.\u0275fac}),E})(),re=(()=>{class E{constructor(b,O){this._subject=new p.vpe,this._urlChangeListeners=[],this._platformStrategy=b;const ee=this._platformStrategy.getBaseHref();this._platformLocation=O,this._baseHref=G(Ge(ee)),this._platformStrategy.onPopState(Ie=>{this._subject.emit({url:this.path(!0),pop:!0,state:Ie.state,type:Ie.type})})}path(b=!1){return this.normalize(this._platformStrategy.path(b))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(b,O=""){return this.path()==this.normalize(b+Z(O))}normalize(b){return E.stripTrailingSlash(function(E,M){return E&&M.startsWith(E)?M.substring(E.length):M}(this._baseHref,Ge(b)))}prepareExternalUrl(b){return b&&"/"!==b[0]&&(b="/"+b),this._platformStrategy.prepareExternalUrl(b)}go(b,O="",ee=null){this._platformStrategy.pushState(ee,"",b,O),this._notifyUrlChangeListeners(this.prepareExternalUrl(b+Z(O)),ee)}replaceState(b,O="",ee=null){this._platformStrategy.replaceState(ee,"",b,O),this._notifyUrlChangeListeners(this.prepareExternalUrl(b+Z(O)),ee)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(b=0){var O,ee;null===(ee=(O=this._platformStrategy).historyGo)||void 0===ee||ee.call(O,b)}onUrlChange(b){this._urlChangeListeners.push(b),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(O=>{this._notifyUrlChangeListeners(O.url,O.state)}))}_notifyUrlChangeListeners(b="",O){this._urlChangeListeners.forEach(ee=>ee(b,O))}subscribe(b,O,ee){return this._subject.subscribe({next:b,error:O,complete:ee})}}return E.normalizeQueryParams=Z,E.joinWithSlash=J,E.stripTrailingSlash=G,E.\u0275fac=function(b){return new(b||E)(p.LFG(V),p.LFG(P))},E.\u0275prov=p.Yz7({token:E,factory:function(){return new re((0,p.LFG)(V),(0,p.LFG)(P))},providedIn:"root"}),E})();function Ge(E){return E.replace(/\/index.html$/,"")}var be=(()=>((be=be||{})[be.Zero=0]="Zero",be[be.One=1]="One",be[be.Two=2]="Two",be[be.Few=3]="Few",be[be.Many=4]="Many",be[be.Other=5]="Other",be))();const Ee=p.kL8;class mr{}let ri=(()=>{class E extends mr{constructor(b){super(),this.locale=b}getPluralCategory(b,O){switch(Ee(O||this.locale)(b)){case be.Zero:return"zero";case be.One:return"one";case be.Two:return"two";case be.Few:return"few";case be.Many:return"many";default:return"other"}}}return E.\u0275fac=function(b){return new(b||E)(p.LFG(p.soG))},E.\u0275prov=p.Yz7({token:E,factory:E.\u0275fac}),E})();function Ut(E,M){M=encodeURIComponent(M);for(const b of E.split(";")){const O=b.indexOf("="),[ee,Ie]=-1==O?[b,""]:[b.slice(0,O),b.slice(O+1)];if(ee.trim()===M)return decodeURIComponent(Ie)}return null}let ii=(()=>{class E{constructor(b,O,ee,Ie){this._iterableDiffers=b,this._keyValueDiffers=O,this._ngEl=ee,this._renderer=Ie,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(b){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof b?b.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(b){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof b?b.split(/\s+/):b,this._rawClass&&((0,p.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const b=this._iterableDiffer.diff(this._rawClass);b&&this._applyIterableChanges(b)}else if(this._keyValueDiffer){const b=this._keyValueDiffer.diff(this._rawClass);b&&this._applyKeyValueChanges(b)}}_applyKeyValueChanges(b){b.forEachAddedItem(O=>this._toggleClass(O.key,O.currentValue)),b.forEachChangedItem(O=>this._toggleClass(O.key,O.currentValue)),b.forEachRemovedItem(O=>{O.previousValue&&this._toggleClass(O.key,!1)})}_applyIterableChanges(b){b.forEachAddedItem(O=>{if("string"!=typeof O.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,p.AaK)(O.item)}`);this._toggleClass(O.item,!0)}),b.forEachRemovedItem(O=>this._toggleClass(O.item,!1))}_applyClasses(b){b&&(Array.isArray(b)||b instanceof Set?b.forEach(O=>this._toggleClass(O,!0)):Object.keys(b).forEach(O=>this._toggleClass(O,!!b[O])))}_removeClasses(b){b&&(Array.isArray(b)||b instanceof Set?b.forEach(O=>this._toggleClass(O,!1)):Object.keys(b).forEach(O=>this._toggleClass(O,!1)))}_toggleClass(b,O){(b=b.trim())&&b.split(/\s+/g).forEach(ee=>{O?this._renderer.addClass(this._ngEl.nativeElement,ee):this._renderer.removeClass(this._ngEl.nativeElement,ee)})}}return E.\u0275fac=function(b){return new(b||E)(p.Y36(p.ZZ4),p.Y36(p.aQg),p.Y36(p.SBq),p.Y36(p.Qsj))},E.\u0275dir=p.lG2({type:E,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),E})();class Ri{constructor(M,b,O,ee){this.$implicit=M,this.ngForOf=b,this.index=O,this.count=ee}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 nr=(()=>{class E{constructor(b,O,ee){this._viewContainer=b,this._template=O,this._differs=ee,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(b){this._ngForOf=b,this._ngForOfDirty=!0}set ngForTrackBy(b){this._trackByFn=b}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(b){b&&(this._template=b)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const b=this._ngForOf;if(!this._differ&&b)try{this._differ=this._differs.find(b).create(this.ngForTrackBy)}catch(O){throw new Error(`Cannot find a differ supporting object '${b}' of type '${function(E){return E.name||typeof E}(b)}'. NgFor only supports binding to Iterables such as Arrays.`)}}if(this._differ){const b=this._differ.diff(this._ngForOf);b&&this._applyChanges(b)}}_applyChanges(b){const O=[];b.forEachOperation((ee,Ie,Ze)=>{if(null==ee.previousIndex){const gt=this._viewContainer.createEmbeddedView(this._template,new Ri(null,this._ngForOf,-1,-1),null===Ze?void 0:Ze),jt=new Pn(ee,gt);O.push(jt)}else if(null==Ze)this._viewContainer.remove(null===Ie?void 0:Ie);else if(null!==Ie){const gt=this._viewContainer.get(Ie);this._viewContainer.move(gt,Ze);const jt=new Pn(ee,gt);O.push(jt)}});for(let ee=0;ee<O.length;ee++)this._perViewChange(O[ee].view,O[ee].record);for(let ee=0,Ie=this._viewContainer.length;ee<Ie;ee++){const Ze=this._viewContainer.get(ee);Ze.context.index=ee,Ze.context.count=Ie,Ze.context.ngForOf=this._ngForOf}b.forEachIdentityChange(ee=>{this._viewContainer.get(ee.currentIndex).context.$implicit=ee.item})}_perViewChange(b,O){b.context.$implicit=O.item}static ngTemplateContextGuard(b,O){return!0}}return E.\u0275fac=function(b){return new(b||E)(p.Y36(p.s_b),p.Y36(p.Rgc),p.Y36(p.ZZ4))},E.\u0275dir=p.lG2({type:E,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),E})();class Pn{constructor(M,b){this.record=M,this.view=b}}let _r=(()=>{class E{constructor(b,O){this._viewContainer=b,this._context=new wn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=O}set ngIf(b){this._context.$implicit=this._context.ngIf=b,this._updateView()}set ngIfThen(b){sn("ngIfThen",b),this._thenTemplateRef=b,this._thenViewRef=null,this._updateView()}set ngIfElse(b){sn("ngIfElse",b),this._elseTemplateRef=b,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(b,O){return!0}}return E.\u0275fac=function(b){return new(b||E)(p.Y36(p.s_b),p.Y36(p.Rgc))},E.\u0275dir=p.lG2({type:E,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),E})();class wn{constructor(){this.$implicit=null,this.ngIf=null}}function sn(E,M){if(M&&!M.createEmbeddedView)throw new Error(`${E} must be a TemplateRef, but received '${(0,p.AaK)(M)}'.`)}class si{constructor(M,b){this._viewContainerRef=M,this._templateRef=b,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(M){M&&!this._created?this.create():!M&&this._created&&this.destroy()}}let Un=(()=>{class E{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(b){this._ngSwitch=b,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(b){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(b)}_matchCase(b){const O=b==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||O,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),O}_updateDefaultCases(b){if(this._defaultViews&&b!==this._defaultUsed){this._defaultUsed=b;for(let O=0;O<this._defaultViews.length;O++)this._defaultViews[O].enforceState(b)}}}return E.\u0275fac=function(b){return new(b||E)},E.\u0275dir=p.lG2({type:E,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),E})(),yn=(()=>{class E{constructor(b,O,ee){this.ngSwitch=ee,ee._addCase(),this._view=new si(b,O)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return E.\u0275fac=function(b){return new(b||E)(p.Y36(p.s_b),p.Y36(p.Rgc),p.Y36(Un,9))},E.\u0275dir=p.lG2({type:E,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),E})(),An=(()=>{class E{constructor(b,O,ee){ee._addDefault(new si(b,O))}}return E.\u0275fac=function(b){return new(b||E)(p.Y36(p.s_b),p.Y36(p.Rgc),p.Y36(Un,9))},E.\u0275dir=p.lG2({type:E,selectors:[["","ngSwitchDefault",""]]}),E})(),On=(()=>{class E{constructor(b,O,ee){this._ngEl=b,this._differs=O,this._renderer=ee,this._ngStyle=null,this._differ=null}set ngStyle(b){this._ngStyle=b,!this._differ&&b&&(this._differ=this._differs.find(b).create())}ngDoCheck(){if(this._differ){const b=this._differ.diff(this._ngStyle);b&&this._applyChanges(b)}}_setStyle(b,O){const[ee,Ie]=b.split(".");null!=(O=null!=O&&Ie?`${O}${Ie}`:O)?this._renderer.setStyle(this._ngEl.nativeElement,ee,O):this._renderer.removeStyle(this._ngEl.nativeElement,ee)}_applyChanges(b){b.forEachRemovedItem(O=>this._setStyle(O.key,null)),b.forEachAddedItem(O=>this._setStyle(O.key,O.currentValue)),b.forEachChangedItem(O=>this._setStyle(O.key,O.currentValue))}}return E.\u0275fac=function(b){return new(b||E)(p.Y36(p.SBq),p.Y36(p.aQg),p.Y36(p.Qsj))},E.\u0275dir=p.lG2({type:E,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),E})();class as{createSubscription(M,b){return M.subscribe({next:b,error:O=>{throw O}})}dispose(M){M.unsubscribe()}onDestroy(M){M.unsubscribe()}}class ls{createSubscription(M,b){return M.then(b,O=>{throw O})}dispose(M){}onDestroy(M){}}const cs=new ls,Is=new as;let Vr=(()=>{class E{constructor(b){this._ref=b,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(b){return this._obj?b!==this._obj?(this._dispose(),this.transform(b)):this._latestValue:(b&&this._subscribe(b),this._latestValue)}_subscribe(b){this._obj=b,this._strategy=this._selectStrategy(b),this._subscription=this._strategy.createSubscription(b,O=>this._updateLatestValue(b,O))}_selectStrategy(b){if((0,p.QGY)(b))return cs;if((0,p.F4k)(b))return Is;throw function(E,M){return Error(`InvalidPipeArgument: '${M}' for pipe '${(0,p.AaK)(E)}'`)}(E,b)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(b,O){b===this._obj&&(this._latestValue=O,this._ref.markForCheck())}}return E.\u0275fac=function(b){return new(b||E)(p.Y36(p.sBO,16))},E.\u0275pipe=p.Yjl({name:"async",type:E,pure:!1}),E})(),Ns=(()=>{class E{}return E.\u0275fac=function(b){return new(b||E)},E.\u0275mod=p.oAB({type:E}),E.\u0275inj=p.cJS({providers:[{provide:mr,useClass:ri}]}),E})();const ui="browser";function vr(E){return E===ui}let rr=(()=>{class E{}return E.\u0275prov=(0,p.Yz7)({token:E,providedIn:"root",factory:()=>new Ki((0,p.LFG)(N),window)}),E})();class Ki{constructor(M,b){this.document=M,this.window=b,this.offset=()=>[0,0]}setOffset(M){this.offset=Array.isArray(M)?()=>M:M}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(M){this.supportsScrolling()&&this.window.scrollTo(M[0],M[1])}scrollToAnchor(M){if(!this.supportsScrolling())return;const b=function(E,M){const b=E.getElementById(M)||E.getElementsByName(M)[0];if(b)return b;if("function"==typeof E.createTreeWalker&&E.body&&(E.body.createShadowRoot||E.body.attachShadow)){const O=E.createTreeWalker(E.body,NodeFilter.SHOW_ELEMENT);let ee=O.currentNode;for(;ee;){const Ie=ee.shadowRoot;if(Ie){const Ze=Ie.getElementById(M)||Ie.querySelector(`[name="${M}"]`);if(Ze)return Ze}ee=O.nextNode()}}return null}(this.document,M);b&&(this.scrollToElement(b),this.attemptFocus(b))}setHistoryScrollRestoration(M){if(this.supportScrollRestoration()){const b=this.window.history;b&&b.scrollRestoration&&(b.scrollRestoration=M)}}scrollToElement(M){const b=M.getBoundingClientRect(),O=b.left+this.window.pageXOffset,ee=b.top+this.window.pageYOffset,Ie=this.offset();this.window.scrollTo(O-Ie[0],ee-Ie[1])}attemptFocus(M){return M.focus(),this.document.activeElement===M}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const M=di(this.window.history)||di(Object.getPrototypeOf(this.window.history));return!(!M||!M.writable&&!M.set)}catch(M){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(M){return!1}}}function di(E){return Object.getOwnPropertyDescriptor(E,"scrollRestoration")}class ks{}},8784:(Ue,q,_)=>{_.d(q,{eN:()=>we,JF:()=>Yt});var p=_(6362),o=_(3184),j=_(745),H=_(3336),x=_(3853),L=_(116),N=_(635);class P{}class U{}class F{constructor(ae){this.normalizedNames=new Map,this.lazyUpdate=null,ae?this.lazyInit="string"==typeof ae?()=>{this.headers=new Map,ae.split("\n").forEach(le=>{const Ae=le.indexOf(":");if(Ae>0){const xe=le.slice(0,Ae),ct=xe.toLowerCase(),We=le.slice(Ae+1).trim();this.maybeSetNormalizedName(xe,ct),this.headers.has(ct)?this.headers.get(ct).push(We):this.headers.set(ct,[We])}})}:()=>{this.headers=new Map,Object.keys(ae).forEach(le=>{let Ae=ae[le];const xe=le.toLowerCase();"string"==typeof Ae&&(Ae=[Ae]),Ae.length>0&&(this.headers.set(xe,Ae),this.maybeSetNormalizedName(le,xe))})}:this.headers=new Map}has(ae){return this.init(),this.headers.has(ae.toLowerCase())}get(ae){this.init();const le=this.headers.get(ae.toLowerCase());return le&&le.length>0?le[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ae){return this.init(),this.headers.get(ae.toLowerCase())||null}append(ae,le){return this.clone({name:ae,value:le,op:"a"})}set(ae,le){return this.clone({name:ae,value:le,op:"s"})}delete(ae,le){return this.clone({name:ae,value:le,op:"d"})}maybeSetNormalizedName(ae,le){this.normalizedNames.has(le)||this.normalizedNames.set(le,ae)}init(){this.lazyInit&&(this.lazyInit instanceof F?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(ae=>this.applyUpdate(ae)),this.lazyUpdate=null))}copyFrom(ae){ae.init(),Array.from(ae.headers.keys()).forEach(le=>{this.headers.set(le,ae.headers.get(le)),this.normalizedNames.set(le,ae.normalizedNames.get(le))})}clone(ae){const le=new F;return le.lazyInit=this.lazyInit&&this.lazyInit instanceof F?this.lazyInit:this,le.lazyUpdate=(this.lazyUpdate||[]).concat([ae]),le}applyUpdate(ae){const le=ae.name.toLowerCase();switch(ae.op){case"a":case"s":let Ae=ae.value;if("string"==typeof Ae&&(Ae=[Ae]),0===Ae.length)return;this.maybeSetNormalizedName(ae.name,le);const xe=("a"===ae.op?this.headers.get(le):void 0)||[];xe.push(...Ae),this.headers.set(le,xe);break;case"d":const ct=ae.value;if(ct){let We=this.headers.get(le);if(!We)return;We=We.filter(dt=>-1===ct.indexOf(dt)),0===We.length?(this.headers.delete(le),this.normalizedNames.delete(le)):this.headers.set(le,We)}else this.headers.delete(le),this.normalizedNames.delete(le)}}forEach(ae){this.init(),Array.from(this.normalizedNames.keys()).forEach(le=>ae(this.normalizedNames.get(le),this.headers.get(le)))}}class A{encodeKey(ae){return G(ae)}encodeValue(ae){return G(ae)}decodeKey(ae){return decodeURIComponent(ae)}decodeValue(ae){return decodeURIComponent(ae)}}const X=/%(\d[a-f0-9])/gi,J={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function G(Ne){return encodeURIComponent(Ne).replace(X,(ae,le)=>{var Ae;return null!==(Ae=J[le])&&void 0!==Ae?Ae:ae})}function Z(Ne){return`${Ne}`}class V{constructor(ae={}){if(this.updates=null,this.cloneFrom=null,this.encoder=ae.encoder||new A,ae.fromString){if(ae.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(Ne,ae){const le=new Map;return Ne.length>0&&Ne.replace(/^\?/,"").split("&").forEach(xe=>{const ct=xe.indexOf("="),[We,dt]=-1==ct?[ae.decodeKey(xe),""]:[ae.decodeKey(xe.slice(0,ct)),ae.decodeValue(xe.slice(ct+1))],xt=le.get(We)||[];xt.push(dt),le.set(We,xt)}),le}(ae.fromString,this.encoder)}else ae.fromObject?(this.map=new Map,Object.keys(ae.fromObject).forEach(le=>{const Ae=ae.fromObject[le];this.map.set(le,Array.isArray(Ae)?Ae:[Ae])})):this.map=null}has(ae){return this.init(),this.map.has(ae)}get(ae){this.init();const le=this.map.get(ae);return le?le[0]:null}getAll(ae){return this.init(),this.map.get(ae)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ae,le){return this.clone({param:ae,value:le,op:"a"})}appendAll(ae){const le=[];return Object.keys(ae).forEach(Ae=>{const xe=ae[Ae];Array.isArray(xe)?xe.forEach(ct=>{le.push({param:Ae,value:ct,op:"a"})}):le.push({param:Ae,value:xe,op:"a"})}),this.clone(le)}set(ae,le){return this.clone({param:ae,value:le,op:"s"})}delete(ae,le){return this.clone({param:ae,value:le,op:"d"})}toString(){return this.init(),this.keys().map(ae=>{const le=this.encoder.encodeKey(ae);return this.map.get(ae).map(Ae=>le+"="+this.encoder.encodeValue(Ae)).join("&")}).filter(ae=>""!==ae).join("&")}clone(ae){const le=new V({encoder:this.encoder});return le.cloneFrom=this.cloneFrom||this,le.updates=(this.updates||[]).concat(ae),le}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(ae=>this.map.set(ae,this.cloneFrom.map.get(ae))),this.updates.forEach(ae=>{switch(ae.op){case"a":case"s":const le=("a"===ae.op?this.map.get(ae.param):void 0)||[];le.push(Z(ae.value)),this.map.set(ae.param,le);break;case"d":if(void 0===ae.value){this.map.delete(ae.param);break}{let Ae=this.map.get(ae.param)||[];const xe=Ae.indexOf(Z(ae.value));-1!==xe&&Ae.splice(xe,1),Ae.length>0?this.map.set(ae.param,Ae):this.map.delete(ae.param)}}}),this.cloneFrom=this.updates=null)}}class he{constructor(){this.map=new Map}set(ae,le){return this.map.set(ae,le),this}get(ae){return this.map.has(ae)||this.map.set(ae,ae.defaultValue()),this.map.get(ae)}delete(ae){return this.map.delete(ae),this}keys(){return this.map.keys()}}function Ce(Ne){return"undefined"!=typeof ArrayBuffer&&Ne instanceof ArrayBuffer}function re(Ne){return"undefined"!=typeof Blob&&Ne instanceof Blob}function De(Ne){return"undefined"!=typeof FormData&&Ne instanceof FormData}class Ge{constructor(ae,le,Ae,xe){let ct;if(this.url=le,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=ae.toUpperCase(),function(Ne){switch(Ne){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||xe?(this.body=void 0!==Ae?Ae:null,ct=xe):ct=Ae,ct&&(this.reportProgress=!!ct.reportProgress,this.withCredentials=!!ct.withCredentials,ct.responseType&&(this.responseType=ct.responseType),ct.headers&&(this.headers=ct.headers),ct.context&&(this.context=ct.context),ct.params&&(this.params=ct.params)),this.headers||(this.headers=new F),this.context||(this.context=new he),this.params){const We=this.params.toString();if(0===We.length)this.urlWithParams=le;else{const dt=le.indexOf("?");this.urlWithParams=le+(-1===dt?"?":dt<le.length-1?"&":"")+We}}else this.params=new V,this.urlWithParams=le}serializeBody(){return null===this.body?null:Ce(this.body)||re(this.body)||De(this.body)||"undefined"!=typeof URLSearchParams&&this.body instanceof URLSearchParams||"string"==typeof this.body?this.body:this.body instanceof V?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||De(this.body)?null:re(this.body)?this.body.type||null:Ce(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof V?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(ae={}){var le;const Ae=ae.method||this.method,xe=ae.url||this.url,ct=ae.responseType||this.responseType,We=void 0!==ae.body?ae.body:this.body,dt=void 0!==ae.withCredentials?ae.withCredentials:this.withCredentials,xt=void 0!==ae.reportProgress?ae.reportProgress:this.reportProgress;let ln=ae.headers||this.headers,$t=ae.params||this.params;const Vt=null!==(le=ae.context)&&void 0!==le?le:this.context;return void 0!==ae.setHeaders&&(ln=Object.keys(ae.setHeaders).reduce((cn,Bt)=>cn.set(Bt,ae.setHeaders[Bt]),ln)),ae.setParams&&($t=Object.keys(ae.setParams).reduce((cn,Bt)=>cn.set(Bt,ae.setParams[Bt]),$t)),new Ge(Ae,xe,We,{params:$t,headers:ln,context:Vt,reportProgress:xt,responseType:ct,withCredentials:dt})}}var Ke=(()=>((Ke=Ke||{})[Ke.Sent=0]="Sent",Ke[Ke.UploadProgress=1]="UploadProgress",Ke[Ke.ResponseHeader=2]="ResponseHeader",Ke[Ke.DownloadProgress=3]="DownloadProgress",Ke[Ke.Response=4]="Response",Ke[Ke.User=5]="User",Ke))();class me{constructor(ae,le=200,Ae="OK"){this.headers=ae.headers||new F,this.status=void 0!==ae.status?ae.status:le,this.statusText=ae.statusText||Ae,this.url=ae.url||null,this.ok=this.status>=200&&this.status<300}}class be extends me{constructor(ae={}){super(ae),this.type=Ke.ResponseHeader}clone(ae={}){return new be({headers:ae.headers||this.headers,status:void 0!==ae.status?ae.status:this.status,statusText:ae.statusText||this.statusText,url:ae.url||this.url||void 0})}}class Se extends me{constructor(ae={}){super(ae),this.type=Ke.Response,this.body=void 0!==ae.body?ae.body:null}clone(ae={}){return new Se({body:void 0!==ae.body?ae.body:this.body,headers:ae.headers||this.headers,status:void 0!==ae.status?ae.status:this.status,statusText:ae.statusText||this.statusText,url:ae.url||this.url||void 0})}}class ke extends me{constructor(ae){super(ae,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${ae.url||"(unknown url)"}`:`Http failure response for ${ae.url||"(unknown url)"}: ${ae.status} ${ae.statusText}`,this.error=ae.error||null}}function Be(Ne,ae){return{body:ae,headers:Ne.headers,context:Ne.context,observe:Ne.observe,params:Ne.params,reportProgress:Ne.reportProgress,responseType:Ne.responseType,withCredentials:Ne.withCredentials}}let we=(()=>{class Ne{constructor(le){this.handler=le}request(le,Ae,xe={}){let ct;if(le instanceof Ge)ct=le;else{let xt,ln;xt=xe.headers instanceof F?xe.headers:new F(xe.headers),xe.params&&(ln=xe.params instanceof V?xe.params:new V({fromObject:xe.params})),ct=new Ge(le,Ae,void 0!==xe.body?xe.body:null,{headers:xt,context:xe.context,params:ln,reportProgress:xe.reportProgress,responseType:xe.responseType||"json",withCredentials:xe.withCredentials})}const We=(0,j.of)(ct).pipe((0,x.b)(xt=>this.handler.handle(xt)));if(le instanceof Ge||"events"===xe.observe)return We;const dt=We.pipe((0,L.h)(xt=>xt instanceof Se));switch(xe.observe||"body"){case"body":switch(ct.responseType){case"arraybuffer":return dt.pipe((0,N.U)(xt=>{if(null!==xt.body&&!(xt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return xt.body}));case"blob":return dt.pipe((0,N.U)(xt=>{if(null!==xt.body&&!(xt.body instanceof Blob))throw new Error("Response is not a Blob.");return xt.body}));case"text":return dt.pipe((0,N.U)(xt=>{if(null!==xt.body&&"string"!=typeof xt.body)throw new Error("Response is not a string.");return xt.body}));default:return dt.pipe((0,N.U)(xt=>xt.body))}case"response":return dt;default:throw new Error(`Unreachable: unhandled observe type ${xe.observe}}`)}}delete(le,Ae={}){return this.request("DELETE",le,Ae)}get(le,Ae={}){return this.request("GET",le,Ae)}head(le,Ae={}){return this.request("HEAD",le,Ae)}jsonp(le,Ae){return this.request("JSONP",le,{params:(new V).append(Ae,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(le,Ae={}){return this.request("OPTIONS",le,Ae)}patch(le,Ae,xe={}){return this.request("PATCH",le,Be(xe,Ae))}post(le,Ae,xe={}){return this.request("POST",le,Be(xe,Ae))}put(le,Ae,xe={}){return this.request("PUT",le,Be(xe,Ae))}}return Ne.\u0275fac=function(le){return new(le||Ne)(o.LFG(P))},Ne.\u0275prov=o.Yz7({token:Ne,factory:Ne.\u0275fac}),Ne})();class Dt{constructor(ae,le){this.next=ae,this.interceptor=le}handle(ae){return this.interceptor.intercept(ae,this.next)}}const Gt=new o.OlP("HTTP_INTERCEPTORS");let hn=(()=>{class Ne{intercept(le,Ae){return Ae.handle(le)}}return Ne.\u0275fac=function(le){return new(le||Ne)},Ne.\u0275prov=o.Yz7({token:Ne,factory:Ne.\u0275fac}),Ne})();const je=/^\)\]\}',?\n/;let st=(()=>{class Ne{constructor(le){this.xhrFactory=le}handle(le){if("JSONP"===le.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new H.y(Ae=>{const xe=this.xhrFactory.build();if(xe.open(le.method,le.urlWithParams),le.withCredentials&&(xe.withCredentials=!0),le.headers.forEach((Bt,bt)=>xe.setRequestHeader(Bt,bt.join(","))),le.headers.has("Accept")||xe.setRequestHeader("Accept","application/json, text/plain, */*"),!le.headers.has("Content-Type")){const Bt=le.detectContentTypeHeader();null!==Bt&&xe.setRequestHeader("Content-Type",Bt)}if(le.responseType){const Bt=le.responseType.toLowerCase();xe.responseType="json"!==Bt?Bt:"text"}const ct=le.serializeBody();let We=null;const dt=()=>{if(null!==We)return We;const Bt=1223===xe.status?204:xe.status,bt=xe.statusText||"OK",Re=new F(xe.getAllResponseHeaders()),se=function(Ne){return"responseURL"in Ne&&Ne.responseURL?Ne.responseURL:/^X-Request-URL:/m.test(Ne.getAllResponseHeaders())?Ne.getResponseHeader("X-Request-URL"):null}(xe)||le.url;return We=new be({headers:Re,status:Bt,statusText:bt,url:se}),We},xt=()=>{let{headers:Bt,status:bt,statusText:Re,url:se}=dt(),ce=null;204!==bt&&(ce=void 0===xe.response?xe.responseText:xe.response),0===bt&&(bt=ce?200:0);let Ve=bt>=200&&bt<300;if("json"===le.responseType&&"string"==typeof ce){const Mt=ce;ce=ce.replace(je,"");try{ce=""!==ce?JSON.parse(ce):null}catch(ye){ce=Mt,Ve&&(Ve=!1,ce={error:ye,text:ce})}}Ve?(Ae.next(new Se({body:ce,headers:Bt,status:bt,statusText:Re,url:se||void 0})),Ae.complete()):Ae.error(new ke({error:ce,headers:Bt,status:bt,statusText:Re,url:se||void 0}))},ln=Bt=>{const{url:bt}=dt(),Re=new ke({error:Bt,status:xe.status||0,statusText:xe.statusText||"Unknown Error",url:bt||void 0});Ae.error(Re)};let $t=!1;const Vt=Bt=>{$t||(Ae.next(dt()),$t=!0);let bt={type:Ke.DownloadProgress,loaded:Bt.loaded};Bt.lengthComputable&&(bt.total=Bt.total),"text"===le.responseType&&!!xe.responseText&&(bt.partialText=xe.responseText),Ae.next(bt)},cn=Bt=>{let bt={type:Ke.UploadProgress,loaded:Bt.loaded};Bt.lengthComputable&&(bt.total=Bt.total),Ae.next(bt)};return xe.addEventListener("load",xt),xe.addEventListener("error",ln),xe.addEventListener("timeout",ln),xe.addEventListener("abort",ln),le.reportProgress&&(xe.addEventListener("progress",Vt),null!==ct&&xe.upload&&xe.upload.addEventListener("progress",cn)),xe.send(ct),Ae.next({type:Ke.Sent}),()=>{xe.removeEventListener("error",ln),xe.removeEventListener("abort",ln),xe.removeEventListener("load",xt),xe.removeEventListener("timeout",ln),le.reportProgress&&(xe.removeEventListener("progress",Vt),null!==ct&&xe.upload&&xe.upload.removeEventListener("progress",cn)),xe.readyState!==xe.DONE&&xe.abort()}})}}return Ne.\u0275fac=function(le){return new(le||Ne)(o.LFG(p.JF))},Ne.\u0275prov=o.Yz7({token:Ne,factory:Ne.\u0275fac}),Ne})();const Ht=new o.OlP("XSRF_COOKIE_NAME"),nt=new o.OlP("XSRF_HEADER_NAME");class ft{}let ue=(()=>{class Ne{constructor(le,Ae,xe){this.doc=le,this.platform=Ae,this.cookieName=xe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const le=this.doc.cookie||"";return le!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,p.Mx)(le,this.cookieName),this.lastCookieString=le),this.lastToken}}return Ne.\u0275fac=function(le){return new(le||Ne)(o.LFG(p.K0),o.LFG(o.Lbi),o.LFG(Ht))},Ne.\u0275prov=o.Yz7({token:Ne,factory:Ne.\u0275fac}),Ne})(),Ee=(()=>{class Ne{constructor(le,Ae){this.tokenService=le,this.headerName=Ae}intercept(le,Ae){const xe=le.url.toLowerCase();if("GET"===le.method||"HEAD"===le.method||xe.startsWith("http://")||xe.startsWith("https://"))return Ae.handle(le);const ct=this.tokenService.getToken();return null!==ct&&!le.headers.has(this.headerName)&&(le=le.clone({headers:le.headers.set(this.headerName,ct)})),Ae.handle(le)}}return Ne.\u0275fac=function(le){return new(le||Ne)(o.LFG(ft),o.LFG(nt))},Ne.\u0275prov=o.Yz7({token:Ne,factory:Ne.\u0275fac}),Ne})(),Qe=(()=>{class Ne{constructor(le,Ae){this.backend=le,this.injector=Ae,this.chain=null}handle(le){if(null===this.chain){const Ae=this.injector.get(Gt,[]);this.chain=Ae.reduceRight((xe,ct)=>new Dt(xe,ct),this.backend)}return this.chain.handle(le)}}return Ne.\u0275fac=function(le){return new(le||Ne)(o.LFG(U),o.LFG(o.zs3))},Ne.\u0275prov=o.Yz7({token:Ne,factory:Ne.\u0275fac}),Ne})(),ot=(()=>{class Ne{static disable(){return{ngModule:Ne,providers:[{provide:Ee,useClass:hn}]}}static withOptions(le={}){return{ngModule:Ne,providers:[le.cookieName?{provide:Ht,useValue:le.cookieName}:[],le.headerName?{provide:nt,useValue:le.headerName}:[]]}}}return Ne.\u0275fac=function(le){return new(le||Ne)},Ne.\u0275mod=o.oAB({type:Ne}),Ne.\u0275inj=o.cJS({providers:[Ee,{provide:Gt,useExisting:Ee,multi:!0},{provide:ft,useClass:ue},{provide:Ht,useValue:"XSRF-TOKEN"},{provide:nt,useValue:"X-XSRF-TOKEN"}]}),Ne})(),Yt=(()=>{class Ne{}return Ne.\u0275fac=function(le){return new(le||Ne)},Ne.\u0275mod=o.oAB({type:Ne}),Ne.\u0275inj=o.cJS({providers:[we,{provide:P,useClass:Qe},st,{provide:U,useExisting:st}],imports:[[ot.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),Ne})()},3184:(Ue,q,_)=>{_.d(q,{AFp:()=>Zm,ip1:()=>Yd,CZH:()=>ua,hGG:()=>yD,z2F:()=>cl,sBO:()=>Zb,Sil:()=>Jd,_Vd:()=>nl,EJc:()=>qm,SBq:()=>rl,qLn:()=>lo,vpe:()=>$i,XFs:()=>ot,OlP:()=>Rn,zs3:()=>ti,ZZ4:()=>Ec,aQg:()=>bc,soG:()=>vc,YKP:()=>am,h0i:()=>aa,R0b:()=>zr,FiY:()=>Hr,Lbi:()=>Qm,g9A:()=>Ym,n_E:()=>hc,Qsj:()=>D0,FYo:()=>nm,JOm:()=>In,q3G:()=>kn,WD2:()=>xi,tp0:()=>Jr,Rgc:()=>al,dDg:()=>t_,q4F:()=>im,GfV:()=>rm,s_b:()=>pc,ifc:()=>We,hM9:()=>F0,eFA:()=>i_,G48:()=>Kb,Gpc:()=>A,f3M:()=>Lc,_c5:()=>hD,VLi:()=>Bb,c2e:()=>Jm,zSh:()=>Ju,wAp:()=>Ot,vHH:()=>G,EiD:()=>Na,mCW:()=>Ss,qzn:()=>Cs,JVY:()=>Zc,pB0:()=>Jc,eBb:()=>io,L6k:()=>Yc,LAX:()=>Qc,cg1:()=>Md,kL8:()=>Tg,yhl:()=>ws,dqk:()=>Vt,sIi:()=>Za,CqO:()=>Pp,QGY:()=>md,F4k:()=>xp,RDi:()=>rr,AaK:()=>P,z3N:()=>kr,qOj:()=>nd,TTD:()=>ci,_Bn:()=>Xg,xp6:()=>df,uIk:()=>sd,Tol:()=>eg,Gre:()=>gg,ekj:()=>Dd,Suo:()=>Mm,Xpm:()=>_e,lG2:()=>$,Yz7:()=>ne,cJS:()=>Je,oAB:()=>Bn,Yjl:()=>fe,Y36:()=>Qa,_UZ:()=>Op,BQk:()=>gd,ynx:()=>pd,qZA:()=>fd,TgZ:()=>hd,EpF:()=>Rp,n5z:()=>Da,LFG:()=>$n,$8M:()=>Es,$Z:()=>Ip,NdJ:()=>_d,CRH:()=>Am,kcU:()=>nn,O4$:()=>St,oxw:()=>Lp,ALo:()=>vm,lcZ:()=>ym,Hsn:()=>Bp,F$t:()=>kp,Q6J:()=>ud,s9C:()=>Ed,MGl:()=>rc,VKq:()=>dm,WLB:()=>hm,iGM:()=>Sm,MAs:()=>vp,evT:()=>$e,Jf7:()=>de,CHM:()=>Us,oJD:()=>jl,LSH:()=>ka,Udp:()=>bd,WFA:()=>vd,d8E:()=>Td,YNc:()=>_p,_uU:()=>ag,Oqu:()=>wd,hij:()=>sc,AsE:()=>Sd,Gf:()=>Tm});var p=_(253),o=_(7714),j=_(3336),H=_(6646),x=_(1203);function L(e){for(let t in e)if(e[t]===L)return t;throw Error("Could not find renamed property on target object.")}function N(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function P(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(P).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 U(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const F=L({__forward_ref__:L});function A(e){return e.__forward_ref__=A,e.toString=function(){return P(this())},e}function z(e){return X(e)?e():e}function X(e){return"function"==typeof e&&e.hasOwnProperty(F)&&e.__forward_ref__===A}class G extends Error{constructor(t,n){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(t,n)),this.code=t}}function W(e){return"string"==typeof e?e:null==e?"":String(e)}function he(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():W(e)}function De(e,t){const n=t?` in ${t}`:"";throw new G("201",`No provider for ${he(e)} found${n}`)}function Nt(e,t){null==e&&function(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function ne(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Je(e){return{providers:e.providers||[],imports:e.imports||[]}}function st(e){return Ht(e,Ee)||Ht(e,rt)}function Ht(e,t){return e.hasOwnProperty(t)?e[t]:null}function ue(e){return e&&(e.hasOwnProperty(Qe)||e.hasOwnProperty(yt))?e[Qe]:null}const Ee=L({\u0275prov:L}),Qe=L({\u0275inj:L}),rt=L({ngInjectableDef:L}),yt=L({ngInjectorDef:L});var ot=(()=>((ot=ot||{})[ot.Default=0]="Default",ot[ot.Host=1]="Host",ot[ot.Self=2]="Self",ot[ot.SkipSelf=4]="SkipSelf",ot[ot.Optional=8]="Optional",ot))();let Yt;function rn(e){const t=Yt;return Yt=e,t}function Ne(e,t,n){const r=st(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&ot.Optional?null:void 0!==t?t:void De(P(e),"Injector")}function le(e){return{toString:e}.toString()}var Ae=(()=>((Ae=Ae||{})[Ae.OnPush=0]="OnPush",Ae[Ae.Default=1]="Default",Ae))(),We=(()=>{return(e=We||(We={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",We;var e})();const dt="undefined"!=typeof globalThis&&globalThis,xt="undefined"!=typeof window&&window,ln="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Vt=dt||"undefined"!=typeof global&&global||xt||ln,bt={},Re=[],se=L({\u0275cmp:L}),ce=L({\u0275dir:L}),Ve=L({\u0275pipe:L}),Mt=L({\u0275mod:L}),ye=L({\u0275fac:L}),oe=L({__NG_ELEMENT_ID__:L});let Y=0;function _e(e){return le(()=>{const n={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Ae.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Re,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||We.Emulated,id:"c",styles:e.styles||Re,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,a=e.features,h=e.pipes;return r.id+=Y++,r.inputs=ie(e.inputs,n),r.outputs=ie(e.outputs),a&&a.forEach(g=>g(r)),r.directiveDefs=i?()=>("function"==typeof i?i():i).map(et):null,r.pipeDefs=h?()=>("function"==typeof h?h():h).map(wt):null,r})}function et(e){return Le(e)||function(e){return e[ce]||null}(e)}function wt(e){return function(e){return e[Ve]||null}(e)}const fn={};function Bn(e){return le(()=>{const t={type:e.type,bootstrap:e.bootstrap||Re,declarations:e.declarations||Re,imports:e.imports||Re,exports:e.exports||Re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(fn[e.id]=e.type),t})}function ie(e,t){if(null==e)return bt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],a=i;Array.isArray(i)&&(a=i[1],i=i[0]),n[i]=r,t&&(t[i]=a)}return n}const $=_e;function fe(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Le(e){return e[se]||null}function qt(e,t){const n=e[Mt]||null;if(!n&&!0===t)throw new Error(`Type ${P(e)} does not have '\u0275mod' property.`);return n}function yn(e){return Array.isArray(e)&&"object"==typeof e[1]}function An(e){return Array.isArray(e)&&!0===e[1]}function lr(e){return 0!=(8&e.flags)}function jr(e){return 2==(2&e.flags)}function oi(e){return 1==(1&e.flags)}function On(e){return null!==e.template}function zi(e){return 0!=(512&e[2])}function Rr(e,t){return e.hasOwnProperty(ye)?e[ye]:null}class xi{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function ci(){return Gi}function Gi(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ns),vo}function vo(){const e=xr(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===bt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ns(e,t,n,r){const i=xr(e)||function(e,t){return e[ui]=t}(e,{previous:bt,current:null}),a=i.current||(i.current={}),h=i.previous,g=this.declaredInputs[n],v=h[g];a[g]=new xi(v&&v.currentValue,t,h===bt),e[r]=t}ci.ngInherit=!0;const ui="__ngSimpleChanges__";function xr(e){return e[ui]||null}const fs="http://www.w3.org/2000/svg";let Pi;function rr(e){Pi=e}function Ki(){return void 0!==Pi?Pi:"undefined"!=typeof document?document:void 0}function Dn(e){return!!e.listen}const Ls={createRenderer:(e,t)=>Ki()};function E(e){for(;Array.isArray(e);)e=e[0];return e}function O(e,t){return E(t[e])}function ee(e,t){return E(t[e.index])}function Ze(e,t){return e.data[t]}function gt(e,t){return e[t]}function jt(e,t){const n=t[e];return yn(n)?n:n[0]}function _n(e){return 4==(4&e[2])}function pn(e){return 128==(128&e[2])}function gn(e,t){return null==t?null:e[t]}function vn(e){e[18]=0}function jn(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const Ct={lFrame:Pr(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Fi(){return Ct.bindingsEnabled}function ze(){return Ct.lFrame.lView}function tn(){return Ct.lFrame.tView}function Us(e){return Ct.lFrame.contextLView=e,e[8]}function Fn(){let e=yo();for(;null!==e&&64===e.type;)e=e.parent;return e}function yo(){return Ct.lFrame.currentTNode}function w(e,t){const n=Ct.lFrame;n.currentTNode=e,n.isParent=t}function u(){return Ct.lFrame.isParent}function f(){Ct.lFrame.isParent=!1}function R(){return Ct.isInCheckNoChangesMode}function K(e){Ct.isInCheckNoChangesMode=e}function Q(){const e=Ct.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function qe(){return Ct.lFrame.bindingIndex++}function pt(e){const t=Ct.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Tt(e,t){const n=Ct.lFrame;n.bindingIndex=n.bindingRootIndex=e,Qt(t)}function Qt(e){Ct.lFrame.currentDirectiveIndex=e}function Sn(e){const t=Ct.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function dn(){return Ct.lFrame.currentQueryIndex}function Tn(e){Ct.lFrame.currentQueryIndex=e}function Nn(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function fi(e,t,n){if(n&ot.SkipSelf){let i=t,a=e;for(;!(i=i.parent,null!==i||n&ot.Host||(i=Nn(a),null===i||(a=a[15],10&i.type))););if(null===i)return!1;t=i,e=a}const r=Ct.lFrame=Vn();return r.currentTNode=t,r.lView=e,!0}function cr(e){const t=Vn(),n=e[1];Ct.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Vn(){const e=Ct.lFrame,t=null===e?null:e.child;return null===t?Pr(e):t}function Pr(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 Fr(){const e=Ct.lFrame;return Ct.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Cr=Fr;function Nr(){const e=Fr();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 Wn(){return Ct.lFrame.selectedIndex}function ur(e){Ct.lFrame.selectedIndex=e}function tt(){const e=Ct.lFrame;return Ze(e.tView,e.selectedIndex)}function St(){Ct.lFrame.currentNamespace=fs}function nn(){Ct.lFrame.currentNamespace=null}function hr(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const a=e.data[n].type.prototype,{ngAfterContentInit:h,ngAfterContentChecked:g,ngAfterViewInit:v,ngAfterViewChecked:C,ngOnDestroy:T}=a;h&&(e.contentHooks||(e.contentHooks=[])).push(-n,h),g&&((e.contentHooks||(e.contentHooks=[])).push(n,g),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,g)),v&&(e.viewHooks||(e.viewHooks=[])).push(-n,v),C&&((e.viewHooks||(e.viewHooks=[])).push(n,C),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,C)),null!=T&&(e.destroyHooks||(e.destroyHooks=[])).push(n,T)}}function on(e,t,n){gi(e,t,3,n)}function Yi(e,t,n,r){(3&e[2])===n&&gi(e,t,n,r)}function qn(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function gi(e,t,n,r){const a=null!=r?r:-1,h=t.length-1;let g=0;for(let v=void 0!==r?65535&e[18]:0;v<h;v++)if("number"==typeof t[v+1]){if(g=t[v],null!=r&&g>=r)break}else t[v]<0&&(e[18]+=65536),(g<a||-1==a)&&(vs(e,n,t,v),e[18]=(4294901760&e[18])+v+2),v++}function vs(e,t,n,r){const i=n[r]<0,a=n[r+1],g=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{a.call(g)}finally{}}}else try{a.call(g)}finally{}}class mi{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function bo(e,t,n){const r=Dn(e);let i=0;for(;i<n.length;){const a=n[i];if("number"==typeof a){if(0!==a)break;i++;const h=n[i++],g=n[i++],v=n[i++];r?e.setAttribute(t,g,v,h):t.setAttributeNS(h,g,v)}else{const h=a,g=n[++i];Kt(h)?r&&e.setProperty(t,h,g):r?e.setAttribute(t,h,g):t.setAttribute(h,g),i++}}return i}function Sc(e){return 3===e||4===e||6===e}function Kt(e){return 64===e.charCodeAt(0)}function Do(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 i=t[r];"number"==typeof i?n=i:0===n||Qi(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function Qi(e,t,n,r,i){let a=0,h=e.length;if(-1===t)h=-1;else for(;a<e.length;){const g=e[a++];if("number"==typeof g){if(g===t){h=-1;break}if(g>t){h=a-1;break}}}for(;a<e.length;){const g=e[a];if("number"==typeof g)break;if(g===n){if(null===r)return void(null!==i&&(e[a+1]=i));if(r===e[a+1])return void(e[a+2]=i)}a++,null!==r&&a++,null!==i&&a++}-1!==h&&(e.splice(h,0,t),a=h+1),e.splice(a++,0,n),null!==r&&e.splice(a++,0,r),null!==i&&e.splice(a++,0,i)}function fa(e){return-1!==e}function Ni(e){return 32767&e}function ys(e,t){let n=function(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let pa=!0;function wr(e){const t=pa;return pa=e,t}let vh=0;function yr(e,t){const n=va(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,_a(r.data,e),_a(t,null),_a(r.blueprint,null));const i=Vs(e,t),a=e.injectorIndex;if(fa(i)){const h=Ni(i),g=ys(i,t),v=g[1].data;for(let C=0;C<8;C++)t[a+C]=g[h+C]|v[h+C]}return t[a+8]=i,a}function _a(e,t){e.push(0,0,0,0,0,0,0,0,t)}function va(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Vs(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){const a=i[1],h=a.type;if(r=2===h?a.declTNode:1===h?i[6]:null,null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Hs(e,t,n){!function(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(oe)&&(r=n[oe]),null==r&&(r=n[oe]=vh++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function ya(e,t,n){if(n&ot.Optional)return e;De(t,"NodeInjector")}function dl(e,t,n,r){if(n&ot.Optional&&void 0===r&&(r=null),0==(n&(ot.Self|ot.Host))){const i=e[9],a=rn(void 0);try{return i?i.get(t,r,n&ot.Optional):Ne(t,r,n&ot.Optional)}finally{rn(a)}}return ya(r,t,n)}function Ea(e,t,n,r=ot.Default,i){if(null!==e){const a=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(oe)?e[oe]:void 0;return"number"==typeof t?t>=0?255&t:Co:t}(n);if("function"==typeof a){if(!fi(t,e,r))return r&ot.Host?ya(i,n,r):dl(t,n,r,i);try{const h=a(r);if(null!=h||r&ot.Optional)return h;De(n)}finally{Cr()}}else if("number"==typeof a){let h=null,g=va(e,t),v=-1,C=r&ot.Host?t[16][6]:null;for((-1===g||r&ot.SkipSelf)&&(v=-1===g?Vs(e,t):t[g+8],-1!==v&&hl(r,!1)?(h=t[1],g=Ni(v),t=ys(v,t)):g=-1);-1!==g;){const T=t[1];if(Li(a,g,T.data)){const k=Ji(g,t,n,h,r,C);if(k!==ba)return k}v=t[g+8],-1!==v&&hl(r,t[1].data[g+8]===C)&&Li(a,g,t)?(h=T,g=Ni(v),t=ys(v,t)):g=-1}}}return dl(t,n,r,i)}const ba={};function Co(){return new qi(Fn(),ze())}function Ji(e,t,n,r,i,a){const h=t[1],g=h.data[e+8],T=Jt(g,h,n,null==r?jr(g)&&pa:r!=h&&0!=(3&g.type),i&ot.Host&&a===g);return null!==T?_i(t,h,T,g):ba}function Jt(e,t,n,r,i){const a=e.providerIndexes,h=t.data,g=1048575&a,v=e.directiveStart,T=a>>20,te=i?g+T:e.directiveEnd;for(let ge=r?g:g+T;ge<te;ge++){const Pe=h[ge];if(ge<v&&n===Pe||ge>=v&&Pe.type===n)return ge}if(i){const ge=h[v];if(ge&&On(ge)&&ge.type===n)return v}return null}function _i(e,t,n,r){let i=e[n];const a=t.data;if(function(e){return e instanceof mi}(i)){const h=i;h.resolving&&function(e,t){throw new G("200",`Circular dependency in DI detected for ${e}`)}(he(a[n]));const g=wr(h.canSeeViewProviders);h.resolving=!0;const v=h.injectImpl?rn(h.injectImpl):null;fi(e,r,ot.Default);try{i=e[n]=h.factory(void 0,a,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:a}=t.type.prototype;if(r){const h=Gi(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,h),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,h)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a))}(n,a[n],t)}finally{null!==v&&rn(v),wr(g),h.resolving=!1,Cr()}}return i}function Li(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function hl(e,t){return!(e&ot.Self||e&ot.Host&&t)}class qi{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Ea(this._tNode,this._lView,t,r,n)}}function Da(e){return le(()=>{const t=e.prototype.constructor,n=t[ye]||Ca(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const a=i[ye]||Ca(i);if(a&&a!==n)return a;i=Object.getPrototypeOf(i)}return a=>new a})}function Ca(e){return X(e)?()=>{const t=Ca(z(e));return t&&t()}:Rr(e)}function Es(e){return function(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 i=0;for(;i<r;){const a=n[i];if(Sc(a))break;if(0===a)i+=2;else if("number"==typeof a)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(a===t)return n[i+1];i+=2}}}return null}(Fn(),e)}const Xi="__parameters__";function yi(e,t,n){return le(()=>{const r=function(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...a){if(this instanceof i)return r.apply(this,a),this;const h=new i(...a);return g.annotation=h,g;function g(v,C,T){const k=v.hasOwnProperty(Xi)?v[Xi]:Object.defineProperty(v,Xi,{value:[]})[Xi];for(;k.length<=T;)k.push(null);return(k[T]=k[T]||[]).push(h),v}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}class Rn{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=ne({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}function Tr(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),Tr(r,t)):t!==e&&t.push(r)}return t}function Qr(e,t){e.forEach(n=>Array.isArray(n)?Qr(n,t):t(n))}function es(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ks(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Zs(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Mr(e,t,n){let r=bs(e,t);return r>=0?e[1|r]=n:(r=~r,function(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function ts(e,t){const n=bs(e,t);if(n>=0)return e[1|n]}function bs(e,t){return function(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const a=r+(i-r>>1),h=e[a<<n];if(t===h)return a<<n;h>t?i=a:r=a+1}return~(i<<n)}(e,t,1)}const qs={},Mo="__NG_DI_FLAG__",ns="ngTempTokenPath",Ma=/\n/gm,Aa="__source",Dl=L({provide:String,useValue:L});let Xs;function Cl(e){const t=Xs;return Xs=e,t}function Nc(e,t=ot.Default){if(void 0===Xs)throw new Error("inject() must be called from an injection context");return null===Xs?Ne(e,void 0,t):Xs.get(e,t&ot.Optional?null:void 0,t)}function $n(e,t=ot.Default){return(Yt||Nc)(z(e),t)}const Lc=$n;function bi(e){const t=[];for(let n=0;n<e.length;n++){const r=z(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let i,a=ot.Default;for(let h=0;h<r.length;h++){const g=r[h],v=kc(g);"number"==typeof v?-1===v?i=g.token:a|=v:i=g}t.push($n(i,a))}else t.push($n(r))}return t}function eo(e,t){return e[Mo]=t,e.prototype[Mo]=t,e}function kc(e){return e[Mo]}const ki=eo(yi("Inject",e=>({token:e})),-1),Hr=eo(yi("Optional"),8),Jr=eo(yi("SkipSelf"),4);let ro,xo;function qr(e){var t;return(null===(t=function(){if(void 0===ro&&(ro=null,Vt.trustedTypes))try{ro=Vt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return ro}())||void 0===t?void 0:t.createHTML(e))||e}function Ol(e){var t;return(null===(t=function(){if(void 0===xo&&(xo=null,Vt.trustedTypes))try{xo=Vt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return xo}())||void 0===t?void 0:t.createHTML(e))||e}class Di{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Wc extends Di{getTypeName(){return"HTML"}}class Pl extends Di{getTypeName(){return"Style"}}class Po extends Di{getTypeName(){return"Script"}}class Gc extends Di{getTypeName(){return"URL"}}class Kc extends Di{getTypeName(){return"ResourceURL"}}function kr(e){return e instanceof Di?e.changingThisBreaksApplicationSecurity:e}function Cs(e,t){const n=ws(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function ws(e){return e instanceof Di&&e.getTypeName()||null}function Zc(e){return new Wc(e)}function Yc(e){return new Pl(e)}function io(e){return new Po(e)}function Qc(e){return new Gc(e)}function Jc(e){return new Kc(e)}class qc{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(qr(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch(n){return null}}}class Xc{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=qr(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=qr(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let i=n.length-1;0<i;i--){const h=n.item(i).name;("xmlns:ns1"===h||0===h.indexOf("ns1:"))&&t.removeAttribute(h)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const tu=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,nu=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Ss(e){return(e=String(e)).match(tu)||e.match(nu)?e:"unsafe:"+e}function Xr(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function so(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Ll=Xr("area,br,col,hr,img,wbr"),kl=Xr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),xa=Xr("rp,rt"),Fo=so(Ll,so(kl,Xr("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")),so(xa,Xr("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")),so(xa,kl)),No=Xr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Pa=Xr("srcset"),Bl=so(No,Pa,Xr("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,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Xr("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")),su=Xr("script,style,template");class Fa{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;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)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=this.checkClobberedElement(n,n.nextSibling);if(i){n=i;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Fo.hasOwnProperty(n))return this.sanitizedSomething=!0,!su.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const a=r.item(i),h=a.name,g=h.toLowerCase();if(!Bl.hasOwnProperty(g)){this.sanitizedSomething=!0;continue}let v=a.value;No[g]&&(v=Ss(v)),Pa[g]&&(e=v,v=(e=String(e)).split(",").map(t=>Ss(t.trim())).join(", ")),this.buf.push(" ",h,'="',Ul(v),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Fo.hasOwnProperty(n)&&!Ll.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Ul(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const ou=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,au=/([^\#-~ |!])/g;function Ul(e){return e.replace(/&/g,"&").replace(ou,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(au,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let rs;function Na(e,t){let n=null;try{rs=rs||function(e){const t=new Xc(e);return function(){try{return!!(new window.DOMParser).parseFromString(qr(""),"text/html")}catch(e){return!1}}()?new qc(t):t}(e);let r=t?String(t):"";n=rs.getInertBodyElement(r);let i=5,a=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=a,a=n.innerHTML,n=rs.getInertBodyElement(r)}while(r!==a);return qr((new Fa).sanitizeChildren(La(n)||n))}finally{if(n){const r=La(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function La(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var kn=(()=>((kn=kn||{})[kn.NONE=0]="NONE",kn[kn.HTML=1]="HTML",kn[kn.STYLE=2]="STYLE",kn[kn.SCRIPT=3]="SCRIPT",kn[kn.URL=4]="URL",kn[kn.RESOURCE_URL=5]="RESOURCE_URL",kn))();function jl(e){const t=ao();return t?Ol(t.sanitize(kn.HTML,e)||""):Cs(e,"HTML")?Ol(kr(e)):Na(Ki(),W(e))}function ka(e){const t=ao();return t?t.sanitize(kn.URL,e)||"":Cs(e,"URL")?kr(e):Ss(W(e))}function ao(){const e=ze();return e&&e[12]}const zl="__ngContext__";function sr(e,t){e[zl]=t}function Bo(e){const t=function(e){return e[zl]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Uo(e){return e.ngOriginalError}function Uh(e,...t){e.error(...t)}class lo{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=(e=t)&&e.ngErrorLogger||Uh;var e;r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Uo(t);for(;n&&Uo(n);)n=Uo(n);return n||null}}const B=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Vt))();function de(e){return e.ownerDocument.defaultView}function $e(e){return e.ownerDocument}function vt(e){return e instanceof Function?e():e}var In=(()=>((In=In||{})[In.Important=1]="Important",In[In.DashCase=2]="DashCase",In))();function Gn(e,t){return undefined(e,t)}function $a(e){const t=e[3];return An(t)?t[3]:t}function yu(e){return Hh(e[13])}function Eu(e){return Hh(e[4])}function Hh(e){for(;null!==e&&!An(e);)e=e[4];return e}function jo(e,t,n,r,i){if(null!=r){let a,h=!1;An(r)?a=r:yn(r)&&(h=!0,r=r[0]);const g=E(r);0===e&&null!==n?null==i?Zh(t,n,g):co(t,n,g,i||null,!0):1===e&&null!==n?co(t,n,g,i||null,!0):2===e?function(e,t,n){const r=Wl(e,t);r&&function(e,t,n,r){Dn(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,g,h):3===e&&t.destroyNode(g),null!=a&&function(e,t,n,r,i){const a=n[7];a!==E(n)&&jo(t,e,r,a,i);for(let g=10;g<n.length;g++){const v=n[g];za(v[1],v,e,t,r,a)}}(t,e,a,n,i)}}function Du(e,t,n){return Dn(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function zh(e,t){const n=e[9],r=n.indexOf(t),i=t[3];1024&t[2]&&(t[2]&=-1025,jn(i,-1)),n.splice(r,1)}function Cu(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&zh(i,r),t>0&&(e[n-1][4]=r[4]);const a=Ks(e,10+t);!function(e,t){za(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const h=a[19];null!==h&&h.detachView(a[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Wh(e,t){if(!(256&t[2])){const n=t[11];Dn(n)&&n.destroyNode&&za(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return wu(e[1],e);for(;t;){let n=null;if(yn(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)yn(t)&&wu(t[1],t),t=t[3];null===t&&(t=e),yn(t)&&wu(t[1],t),n=t&&t[4]}t=n}}(t)}}function wu(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof mi)){const a=n[r+1];if(Array.isArray(a))for(let h=0;h<a.length;h+=2){const g=i[a[h]],v=a[h+1];try{v.call(g)}finally{}}else try{a.call(i)}finally{}}}}(e,t),function(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let a=0;a<n.length-1;a+=2)if("string"==typeof n[a]){const h=n[a+1],g="function"==typeof h?h(t):E(t[h]),v=r[i=n[a+2]],C=n[a+3];"boolean"==typeof C?g.removeEventListener(n[a],v,C):C>=0?r[i=C]():r[i=-C].unsubscribe(),a+=2}else{const h=r[i=n[a+1]];n[a].call(h)}if(null!==r){for(let a=i+1;a<r.length;a++)r[a]();t[7]=null}}(e,t),1===t[1].type&&Dn(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&An(t[3])){n!==t[3]&&zh(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function Gh(e,t,n){return function(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const i=e.data[r.directiveStart].encapsulation;if(i===We.None||i===We.Emulated)return null}return ee(r,n)}(e,t.parent,n)}function co(e,t,n,r,i){Dn(e)?e.insertBefore(t,n,r,i):t.insertBefore(n,r,i)}function Zh(e,t,n){Dn(e)?e.appendChild(t,n):t.appendChild(n)}function Yh(e,t,n,r,i){null!==r?co(e,t,n,r,i):Zh(e,t,n)}function Wl(e,t){return Dn(e)?e.parentNode(t):t.parentNode}function Qh(e,t,n){return qh(e,t,n)}let qh=function(e,t,n){return 40&e.type?ee(e,n):null};function Gl(e,t,n,r){const i=Gh(e,r,t),a=t[11],g=Qh(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let v=0;v<n.length;v++)Yh(a,i,n[v],g,!1);else Yh(a,i,n,g,!1)}function Kl(e,t){if(null!==t){const n=t.type;if(3&n)return ee(t,e);if(4&n)return Tu(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Kl(e,r);{const i=e[t.index];return An(i)?Tu(-1,i):E(i)}}if(32&n)return Gn(t,e)()||E(e[t.index]);{const r=ef(e,t);return null!==r?Array.isArray(r)?r[0]:Kl($a(e[16]),r):Kl(e,t.next)}}return null}function ef(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Tu(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return Kl(r,i)}return t[7]}function Mu(e,t,n,r,i,a,h){for(;null!=n;){const g=r[n.index],v=n.type;if(h&&0===t&&(g&&sr(E(g),r),n.flags|=4),64!=(64&n.flags))if(8&v)Mu(e,t,n.child,r,i,a,!1),jo(t,e,i,g,a);else if(32&v){const C=Gn(n,r);let T;for(;T=C();)jo(t,e,i,T,a);jo(t,e,i,g,a)}else 16&v?nf(e,t,r,n,i,a):jo(t,e,i,g,a);n=h?n.projectionNext:n.next}}function za(e,t,n,r,i,a){Mu(n,r,e.firstChild,t,i,a,!1)}function nf(e,t,n,r,i,a){const h=n[16],v=h[6].projection[r.projection];if(Array.isArray(v))for(let C=0;C<v.length;C++)jo(t,e,i,v[C],a);else Mu(e,t,v,h[3],i,a,!0)}function rf(e,t,n){Dn(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Au(e,t,n){Dn(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function sf(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const a=t.length;if(i+a===r||e.charCodeAt(i+a)<=32)return i}n=i+1}}const af="ng-template";function k_(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==sf(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function lf(e){return 4===e.type&&e.value!==af}function B_(e,t,n){return t===(4!==e.type||n?e.value:af)}function U_(e,t,n){let r=4;const i=e.attrs||[],a=function(e){for(let t=0;t<e.length;t++)if(Sc(e[t]))return t;return e.length}(i);let h=!1;for(let g=0;g<t.length;g++){const v=t[g];if("number"!=typeof v){if(!h)if(4&r){if(r=2|1&r,""!==v&&!B_(e,v,n)||""===v&&1===t.length){if(wi(r))return!1;h=!0}}else{const C=8&r?v:t[++g];if(8&r&&null!==e.attrs){if(!k_(e.attrs,C,n)){if(wi(r))return!1;h=!0}continue}const k=j_(8&r?"class":v,i,lf(e),n);if(-1===k){if(wi(r))return!1;h=!0;continue}if(""!==C){let te;te=k>a?"":i[k+1].toLowerCase();const ge=8&r?te:null;if(ge&&-1!==sf(ge,C,0)||2&r&&C!==te){if(wi(r))return!1;h=!0}}}}else{if(!h&&!wi(r)&&!wi(v))return!1;if(h&&wi(v))continue;h=!1,r=v|1&r}}return wi(r)||h}function wi(e){return 0==(1&e)}function j_(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let a=!1;for(;i<t.length;){const h=t[i];if(h===e)return i;if(3===h||6===h)a=!0;else{if(1===h||2===h){let g=t[++i];for(;"string"==typeof g;)g=t[++i];continue}if(4===h)break;if(0===h){i+=4;continue}}i+=a?1:2}return-1}return function(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 cf(e,t,n=!1){for(let r=0;r<t.length;r++)if(U_(e,t[r],n))return!0;return!1}function z_(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function uf(e,t){return e?":not("+t.trim()+")":t}function W_(e){let t=e[0],n=1,r=2,i="",a=!1;for(;n<e.length;){let h=e[n];if("string"==typeof h)if(2&r){const g=e[++n];i+="["+h+(g.length>0?'="'+g+'"':"")+"]"}else 8&r?i+="."+h:4&r&&(i+=" "+h);else""!==i&&!wi(h)&&(t+=uf(a,i),i=""),r=h,a=a||!wi(r);n++}return""!==i&&(t+=uf(a,i)),t}const Wt={};function df(e){hf(tn(),ze(),Wn()+e,R())}function hf(e,t,n,r){if(!r)if(3==(3&t[2])){const a=e.preOrderCheckHooks;null!==a&&on(t,a,n)}else{const a=e.preOrderHooks;null!==a&&Yi(t,a,0,n)}ur(n)}function Zl(e,t){return e<<17|t<<2}function Si(e){return e>>17&32767}function Iu(e){return 2|e}function is(e){return(131068&e)>>2}function Ou(e,t){return-131069&e|t<<2}function Ru(e){return 1|e}function Cf(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],a=n[r+1];if(-1!==a){const h=e.data[a];Tn(i),h.contentQueries(2,t[a],a)}}}function Wa(e,t,n,r,i,a,h,g,v,C){const T=t.blueprint.slice();return T[0]=i,T[2]=140|r,vn(T),T[3]=T[15]=e,T[8]=n,T[10]=h||e&&e[10],T[11]=g||e&&e[11],T[12]=v||e&&e[12]||null,T[9]=C||e&&e[9]||null,T[6]=a,T[16]=2==t.type?e[16]:T,T}function Vo(e,t,n,r,i){let a=e.data[t];if(null===a)a=function(e,t,n,r,i){const a=yo(),h=u(),v=e.data[t]=function(e,t,n,r,i,a){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:a,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next: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,h?a:a&&a.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=v),null!==a&&(h?null==a.child&&null!==v.parent&&(a.child=v):null===a.next&&(a.next=v)),v}(e,t,n,r,i),Ct.lFrame.inI18n&&(a.flags|=64);else if(64&a.type){a.type=n,a.value=r,a.attrs=i;const h=function(){const e=Ct.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();a.injectorIndex=null===h?-1:h.injectorIndex}return w(a,!0),a}function Ho(e,t,n,r){if(0===n)return-1;const i=t.length;for(let a=0;a<n;a++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function Ga(e,t,n){cr(t);try{const r=e.viewQuery;null!==r&&Yu(1,r,n);const i=e.template;null!==i&&wf(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Cf(e,t),e.staticViewQueries&&Yu(2,e.viewQuery,n);const a=e.components;null!==a&&function(e,t){for(let n=0;n<t.length;n++)Mv(e,t[n])}(t,a)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Nr()}}function $o(e,t,n,r){const i=t[2];if(256==(256&i))return;cr(t);const a=R();try{vn(t),function(e){Ct.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&wf(e,t,n,2,r);const h=3==(3&i);if(!a)if(h){const C=e.preOrderCheckHooks;null!==C&&on(t,C,null)}else{const C=e.preOrderHooks;null!==C&&Yi(t,C,0,null),qn(t,0)}if(function(e){for(let t=yu(e);null!==t;t=Eu(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const i=n[r],a=i[3];0==(1024&i[2])&&jn(a,1),i[2]|=1024}}}(t),function(e){for(let t=yu(e);null!==t;t=Eu(t))for(let n=10;n<t.length;n++){const r=t[n],i=r[1];pn(r)&&$o(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&Cf(e,t),!a)if(h){const C=e.contentCheckHooks;null!==C&&on(t,C)}else{const C=e.contentHooks;null!==C&&Yi(t,C,1),qn(t,1)}!function(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)ur(~i);else{const a=i,h=n[++r],g=n[++r];Tt(h,a),g(2,t[a])}}}finally{ur(-1)}}(e,t);const g=e.components;null!==g&&function(e,t){for(let n=0;n<t.length;n++)Tv(e,t[n])}(t,g);const v=e.viewQuery;if(null!==v&&Yu(2,v,r),!a)if(h){const C=e.viewCheckHooks;null!==C&&on(t,C)}else{const C=e.viewHooks;null!==C&&Yi(t,C,2),qn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),a||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,jn(t[3],-1))}finally{Nr()}}function av(e,t,n,r){const i=t[10],a=!R(),h=_n(t);try{a&&!h&&i.begin&&i.begin(),h&&Ga(e,t,r),$o(e,t,n,r)}finally{a&&!h&&i.end&&i.end()}}function wf(e,t,n,r,i){const a=Wn(),h=2&r;try{ur(-1),h&&t.length>20&&hf(e,t,20,R()),n(r,i)}finally{ur(a)}}function Sf(e,t,n){if(lr(t)){const i=t.directiveEnd;for(let a=t.directiveStart;a<i;a++){const h=e.data[a];h.contentQueries&&h.contentQueries(1,n[a],a)}}}function Vu(e,t,n){!Fi()||(function(e,t,n,r){const i=n.directiveStart,a=n.directiveEnd;e.firstCreatePass||yr(n,t),sr(r,t);const h=n.initialInputs;for(let g=i;g<a;g++){const v=e.data[g],C=On(v);C&&bv(t,n,v);const T=_i(t,e,g,n);sr(T,t),null!==h&&Dv(0,g-i,T,v,0,h),C&&(jt(n.index,t)[8]=T)}}(e,t,n,ee(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,i=n.directiveEnd,h=n.index,g=Ct.lFrame.currentDirectiveIndex;try{ur(h);for(let v=r;v<i;v++){const C=e.data[v],T=t[v];Qt(v),(null!==C.hostBindings||0!==C.hostVars||null!==C.hostAttrs)&&Pf(C,T)}}finally{ur(-1),Qt(g)}}(e,t,n))}function Hu(e,t,n=ee){const r=t.localNames;if(null!==r){let i=t.index+1;for(let a=0;a<r.length;a+=2){const h=r[a+1],g=-1===h?n(t,e):e[h];e[i++]=g}}}function Tf(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Jl(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Jl(e,t,n,r,i,a,h,g,v,C){const T=20+r,k=T+i,te=function(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Wt);return n}(T,k),ge="function"==typeof C?C():C;return te[1]={type:e,blueprint:te,template:n,queries:null,viewQuery:g,declTNode:t,data:te.slice().fill(null,T),bindingStartIndex:T,expandoStartIndex:k,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 a?a():a,pipeRegistry:"function"==typeof h?h():h,firstChild:null,schemas:v,consts:ge,incompleteFirstPass:!1}}function If(e,t,n,r){const i=Uf(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&jf(e).push(r,i.length-1))}function Of(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function $r(e,t,n,r,i,a,h,g){const v=ee(t,n);let T,C=t.inputs;!g&&null!=C&&(T=C[r])?($f(e,n,T,r,i),jr(t)&&function(e,t){const n=jt(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=h?h(i,t.value||"",r):i,Dn(a)?a.setProperty(v,r,i):Kt(r)||(v.setProperty?v.setProperty(r,i):v[r]=i))}function $u(e,t,n,r){let i=!1;if(Fi()){const a=function(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let a=0;a<r.length;a++){const h=r[a];cf(n,h.selectors,!1)&&(i||(i=[]),Hs(yr(n,t),e,h.type),On(h)?(Ff(e,n),i.unshift(h)):i.push(h))}return i}(e,t,n),h=null===r?null:{"":-1};if(null!==a){i=!0,Nf(n,e.data.length,a.length);for(let T=0;T<a.length;T++){const k=a[T];k.providersResolver&&k.providersResolver(k)}let g=!1,v=!1,C=Ho(e,t,a.length,null);for(let T=0;T<a.length;T++){const k=a[T];n.mergedAttrs=Do(n.mergedAttrs,k.hostAttrs),Lf(e,n,t,C,k),Ev(C,k,h),null!==k.contentQueries&&(n.flags|=8),(null!==k.hostBindings||null!==k.hostAttrs||0!==k.hostVars)&&(n.flags|=128);const te=k.type.prototype;!g&&(te.ngOnChanges||te.ngOnInit||te.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),g=!0),!v&&(te.ngOnChanges||te.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),v=!0),C++}!function(e,t){const r=t.directiveEnd,i=e.data,a=t.attrs,h=[];let g=null,v=null;for(let C=t.directiveStart;C<r;C++){const T=i[C],k=T.inputs,te=null===a||lf(t)?null:Cv(k,a);h.push(te),g=Of(k,C,g),v=Of(T.outputs,C,v)}null!==g&&(g.hasOwnProperty("class")&&(t.flags|=16),g.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=h,t.inputs=g,t.outputs=v}(e,n)}h&&function(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const a=n[t[i+1]];if(null==a)throw new G("301",`Export of name '${t[i+1]}' not found!`);r.push(t[i],a)}}}(n,r,h)}return n.mergedAttrs=Do(n.mergedAttrs,n.attrs),i}function xf(e,t,n,r,i,a){const h=a.hostBindings;if(h){let g=e.hostBindingOpCodes;null===g&&(g=e.hostBindingOpCodes=[]);const v=~t.index;(function(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(g)!=v&&g.push(v),g.push(r,i,h)}}function Pf(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Ff(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Ev(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;On(t)&&(n[""]=e)}}function Nf(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Lf(e,t,n,r,i){e.data[r]=i;const a=i.factory||(i.factory=Rr(i.type)),h=new mi(a,On(i),null);e.blueprint[r]=h,n[r]=h,xf(e,t,0,r,Ho(e,n,i.hostVars,Wt),i)}function bv(e,t,n){const r=ee(t,e),i=Tf(n),a=e[10],h=ql(e,Wa(e,i,null,n.onPush?64:16,r,t,a,a.createRenderer(r,n),null,null));e[t.index]=h}function Ui(e,t,n,r,i,a){const h=ee(e,t);!function(e,t,n,r,i,a,h){if(null==a)Dn(e)?e.removeAttribute(t,i,n):t.removeAttribute(i);else{const g=null==h?W(a):h(a,r||"",i);Dn(e)?e.setAttribute(t,i,g,n):n?t.setAttributeNS(n,i,g):t.setAttribute(i,g)}}(t[11],h,a,e.value,n,r,i)}function Dv(e,t,n,r,i,a){const h=a[t];if(null!==h){const g=r.setInput;for(let v=0;v<h.length;){const C=h[v++],T=h[v++],k=h[v++];null!==g?r.setInput(n,k,C,T):n[T]=k}}}function Cv(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function kf(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function Tv(e,t){const n=jt(t,e);if(pn(n)){const r=n[1];80&n[2]?$o(r,n,r.template,n[8]):n[5]>0&&Wu(n)}}function Wu(e){for(let r=yu(e);null!==r;r=Eu(r))for(let i=10;i<r.length;i++){const a=r[i];if(1024&a[2]){const h=a[1];$o(h,a,h.template,a[8])}else a[5]>0&&Wu(a)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=jt(n[r],e);pn(i)&&i[5]>0&&Wu(i)}}function Mv(e,t){const n=jt(t,e),r=n[1];(function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Ga(r,n,n[8])}function ql(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Gu(e){for(;e;){e[2]|=64;const t=$a(e);if(zi(e)&&!t)return e;e=t}return null}function Zu(e,t,n){const r=t[10];r.begin&&r.begin();try{$o(e,t,e.template,n)}catch(i){throw Hf(t,i),i}finally{r.end&&r.end()}}function Bf(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Bo(n),i=r[1];av(i,r,i.template,n)}}(e[8])}function Yu(e,t,n){Tn(0),t(e,n)}const xv=(()=>Promise.resolve(null))();function Uf(e){return e[7]||(e[7]=[])}function jf(e){return e.cleanup||(e.cleanup=[])}function Vf(e,t,n){return(null===e||On(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Hf(e,t){const n=e[9],r=n?n.get(lo,null):null;r&&r.handleError(t)}function $f(e,t,n,r,i){for(let a=0;a<n.length;){const h=n[a++],g=n[a++],v=t[h],C=e.data[h];null!==C.setInput?C.setInput(v,i,r,g):v[g]=i}}function ss(e,t,n){const r=O(t,e);!function(e,t,n){Dn(e)?e.setValue(t,n):t.textContent=n}(e[11],r,n)}function Xl(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,a=0;if(null!==t)for(let h=0;h<t.length;h++){const g=t[h];"number"==typeof g?a=g:1==a?i=U(i,g):2==a&&(r=U(r,g+": "+t[++h]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}const Qu=new Rn("INJECTOR",-1);class zf{get(t,n=qs){if(n===qs){const r=new Error(`NullInjectorError: No provider for ${P(t)}!`);throw r.name="NullInjectorError",r}return n}}const Ju=new Rn("Set Injector scope."),Ka={},Nv={};let qu;function Wf(){return void 0===qu&&(qu=new zf),qu}function Gf(e,t=null,n=null,r){const i=Kf(e,t,n,r);return i._resolveInjectorDefTypes(),i}function Kf(e,t=null,n=null,r){return new Lv(e,n,t||Wf(),r)}class Lv{constructor(t,n,r,i=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const a=[];n&&Qr(n,g=>this.processProvider(g,t,n)),Qr([t],g=>this.processInjectorType(g,[],a)),this.records.set(Qu,zo(void 0,this));const h=this.records.get(Ju);this.scope=null!=h?h.value:null,this.source=i||("object"==typeof t?null:P(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=qs,r=ot.Default){this.assertNotDestroyed();const i=Cl(this),a=rn(void 0);try{if(!(r&ot.SkipSelf)){let g=this.records.get(t);if(void 0===g){const v=("function"==typeof(e=t)||"object"==typeof e&&e instanceof Rn)&&st(t);g=v&&this.injectableDefInScope(v)?zo(Xu(t),Ka):null,this.records.set(t,g)}if(null!=g)return this.hydrate(t,g)}return(r&ot.Self?Wf():this.parent).get(t,n=r&ot.Optional&&n===qs?null:n)}catch(h){if("NullInjectorError"===h.name){if((h[ns]=h[ns]||[]).unshift(P(t)),i)throw h;return function(e,t,n,r){const i=e[ns];throw t[Aa]&&i.unshift(t[Aa]),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let i=P(t);if(Array.isArray(t))i=t.map(P).join(" -> ");else if("object"==typeof t){let a=[];for(let h in t)if(t.hasOwnProperty(h)){let g=t[h];a.push(h+":"+("string"==typeof g?JSON.stringify(g):P(g)))}i=`{${a.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(Ma,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[ns]=null,e}(h,t,"R3InjectorError",this.source)}throw h}finally{rn(a),Cl(i)}var e}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,i)=>t.push(P(i))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,n,r){if(!(t=z(t)))return!1;let i=ue(t);const a=null==i&&t.ngModule||void 0,h=void 0===a?t:a,g=-1!==r.indexOf(h);if(void 0!==a&&(i=ue(a)),null==i)return!1;if(null!=i.imports&&!g){let T;r.push(h);try{Qr(i.imports,k=>{this.processInjectorType(k,n,r)&&(void 0===T&&(T=[]),T.push(k))})}finally{}if(void 0!==T)for(let k=0;k<T.length;k++){const{ngModule:te,providers:ge}=T[k];Qr(ge,Pe=>this.processProvider(Pe,te,ge||Re))}}this.injectorDefTypes.add(h);const v=Rr(h)||(()=>new h);this.records.set(h,zo(v,Ka));const C=i.providers;if(null!=C&&!g){const T=t;Qr(C,k=>this.processProvider(k,T,C))}return void 0!==a&&void 0!==t.providers}processProvider(t,n,r){let i=Wo(t=z(t))?t:z(t&&t.provide);const a=(e=t,Yf(e)?zo(void 0,e.useValue):zo(Zf(e),Ka));var e;if(Wo(t)||!0!==t.multi)this.records.get(i);else{let h=this.records.get(i);h||(h=zo(void 0,Ka,!0),h.factory=()=>bi(h.multi),this.records.set(i,h)),i=t,h.multi.push(t)}this.records.set(i,a)}hydrate(t,n){return n.value===Ka&&(n.value=Nv,n.value=n.factory()),"object"==typeof n.value&&n.value&&null!==(e=n.value)&&"object"==typeof e&&"function"==typeof e.ngOnDestroy&&this.onDestroy.add(n.value),n.value;var e}injectableDefInScope(t){if(!t.providedIn)return!1;const n=z(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function Xu(e){const t=st(e),n=null!==t?t.factory:Rr(e);if(null!==n)return n;if(e instanceof Rn)throw new Error(`Token ${P(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const r=Zs(t,"?");throw new Error(`Can't resolve all parameters for ${P(e)}: (${r.join(", ")}).`)}const n=function(e){const t=e&&(e[Ee]||e[rt]);if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function Zf(e,t,n){let r;if(Wo(e)){const i=z(e);return Rr(i)||Xu(i)}if(Yf(e))r=()=>z(e.useValue);else if(function(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...bi(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>$n(z(e.useExisting));else{const i=z(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return Rr(i)||Xu(i);r=()=>new i(...bi(e.deps))}return r}function zo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Yf(e){return null!==e&&"object"==typeof e&&Dl in e}function Wo(e){return"function"==typeof e}let ti=(()=>{class e{static create(n,r){var i;if(Array.isArray(n))return Gf({name:""},r,n,"");{const a=null!==(i=n.name)&&void 0!==i?i:"";return Gf({name:a},n.parent,n.providers,a)}}}return e.THROW_IF_NOT_FOUND=qs,e.NULL=new zf,e.\u0275prov=ne({token:e,providedIn:"any",factory:()=>$n(Qu)}),e.__NG_ELEMENT_ID__=-1,e})();function qv(e,t){hr(Bo(e)[1],Fn())}function nd(e){let t=function(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(On(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");i=t.\u0275dir}if(i){if(n){r.push(i);const h=e;h.inputs=rd(e.inputs),h.declaredInputs=rd(e.declaredInputs),h.outputs=rd(e.outputs);const g=i.hostBindings;g&&ny(e,g);const v=i.viewQuery,C=i.contentQueries;if(v&&ey(e,v),C&&ty(e,C),N(e.inputs,i.inputs),N(e.declaredInputs,i.declaredInputs),N(e.outputs,i.outputs),On(i)&&i.data.animation){const T=e.data;T.animation=(T.animation||[]).concat(i.data.animation)}}const a=i.features;if(a)for(let h=0;h<a.length;h++){const g=a[h];g&&g.ngInherit&&g(e),g===nd&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Do(i.hostAttrs,n=Do(n,i.hostAttrs))}}(r)}function rd(e){return e===bt?{}:e===Re?[]:e}function ey(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function ty(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,a)=>{t(r,i,a),n(r,i,a)}:t}function ny(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}let ec=null;function Go(){if(!ec){const e=Vt.Symbol;if(e&&e.iterator)ec=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(ec=r)}}}return ec}function Za(e){return!!id(e)&&(Array.isArray(e)||!(e instanceof Map)&&Go()in e)}function id(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ji(e,t,n){return e[t]=n}function Er(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function uo(e,t,n,r){const i=Er(e,t,n);return Er(e,t+1,r)||i}function sd(e,t,n,r){const i=ze();return Er(i,qe(),t)&&(tn(),Ui(tt(),i,e,t,n,r)),sd}function Zo(e,t,n,r){return Er(e,qe(),n)?t+W(n)+r:Wt}function Yo(e,t,n,r,i,a){const g=uo(e,Ct.lFrame.bindingIndex,n,i);return pt(2),g?t+W(n)+r+W(i)+a:Wt}function _p(e,t,n,r,i,a,h,g){const v=ze(),C=tn(),T=e+20,k=C.firstCreatePass?function(e,t,n,r,i,a,h,g,v){const C=t.consts,T=Vo(t,e,4,h||null,gn(C,g));$u(t,n,T,gn(C,v)),hr(t,T);const k=T.tViews=Jl(2,T,r,i,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,C);return null!==t.queries&&(t.queries.template(t,T),k.queries=t.queries.embeddedTView(T)),T}(T,C,v,t,n,r,i,a,h):C.data[T];w(k,!1);const te=v[11].createComment("");Gl(C,v,te,k),sr(te,v),ql(v,v[T]=kf(te,v,te,k)),oi(k)&&Vu(C,v,k),null!=h&&Hu(v,k,g)}function vp(e){return gt(Ct.lFrame.contextLView,20+e)}function Qa(e,t=ot.Default){const n=ze();return null===n?$n(e,t):Ea(Fn(),n,z(e),t)}function Ip(){throw new Error("invalid")}function ud(e,t,n){const r=ze();return Er(r,qe(),t)&&$r(tn(),tt(),r,e,t,r[11],n,!1),ud}function dd(e,t,n,r,i){const h=i?"class":"style";$f(e,n,t.inputs[h],h,r)}function hd(e,t,n,r){const i=ze(),a=tn(),h=20+e,g=i[11],v=i[h]=Du(g,t,Ct.lFrame.currentNamespace),C=a.firstCreatePass?function(e,t,n,r,i,a,h){const g=t.consts,C=Vo(t,e,2,i,gn(g,a));return $u(t,n,C,gn(g,h)),null!==C.attrs&&Xl(C,C.attrs,!1),null!==C.mergedAttrs&&Xl(C,C.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,C),C}(h,a,i,0,t,n,r):a.data[h];w(C,!0);const T=C.mergedAttrs;null!==T&&bo(g,v,T);const k=C.classes;null!==k&&Au(g,v,k);const te=C.styles;null!==te&&rf(g,v,te),64!=(64&C.flags)&&Gl(a,i,v,C),0===Ct.lFrame.elementDepthCount&&sr(v,i),Ct.lFrame.elementDepthCount++,oi(C)&&(Vu(a,i,C),Sf(a,C,i)),null!==r&&Hu(i,C)}function fd(){let e=Fn();u()?f():(e=e.parent,w(e,!1));const t=e;Ct.lFrame.elementDepthCount--;const n=tn();n.firstCreatePass&&(hr(n,e),lr(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&dd(n,t,ze(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&dd(n,t,ze(),t.stylesWithoutHost,!1)}function Op(e,t,n,r){hd(e,t,n,r),fd()}function pd(e,t,n){const r=ze(),i=tn(),a=e+20,h=i.firstCreatePass?function(e,t,n,r,i){const a=t.consts,h=gn(a,r),g=Vo(t,e,8,"ng-container",h);return null!==h&&Xl(g,h,!0),$u(t,n,g,gn(a,i)),null!==t.queries&&t.queries.elementStart(t,g),g}(a,i,r,t,n):i.data[a];w(h,!0);const g=r[a]=r[11].createComment("");Gl(i,r,g,h),sr(g,r),oi(h)&&(Vu(i,r,h),Sf(i,h,r)),null!=n&&Hu(r,h)}function gd(){let e=Fn();const t=tn();u()?f():(e=e.parent,w(e,!1)),t.firstCreatePass&&(hr(t,e),lr(e)&&t.queries.elementEnd(e))}function Rp(){return ze()}function md(e){return!!e&&"function"==typeof e.then}function xp(e){return!!e&&"function"==typeof e.subscribe}const Pp=xp;function _d(e,t,n,r){const i=ze(),a=tn(),h=Fn();return Fp(a,i,i[11],h,e,t,!!n,r),_d}function vd(e,t){const n=Fn(),r=ze(),i=tn();return Fp(i,r,Vf(Sn(i.data),n,r),n,e,t,!1),vd}function Fp(e,t,n,r,i,a,h,g){const v=oi(r),T=e.firstCreatePass&&jf(e),k=t[8],te=Uf(t);let ge=!0;if(3&r.type||g){const lt=ee(r,t),mt=g?g(lt):lt,He=te.length,At=g?an=>g(E(an[r.index])):r.index;if(Dn(n)){let an=null;if(!g&&v&&(an=function(e,t,n,r){const i=e.cleanup;if(null!=i)for(let a=0;a<i.length-1;a+=2){const h=i[a];if(h===n&&i[a+1]===r){const g=t[7],v=i[a+2];return g.length>v?g[v]:null}"string"==typeof h&&(a+=2)}return null}(e,t,i,r.index)),null!==an)(an.__ngLastListenerFn__||an).__ngNextListenerFn__=a,an.__ngLastListenerFn__=a,ge=!1;else{a=yd(r,t,k,a,!1);const En=n.listen(mt,i,a);te.push(a,En),T&&T.push(i,At,He,He+1)}}else a=yd(r,t,k,a,!0),mt.addEventListener(i,a,h),te.push(a),T&&T.push(i,At,He,h)}else a=yd(r,t,k,a,!1);const Pe=r.outputs;let Xe;if(ge&&null!==Pe&&(Xe=Pe[i])){const lt=Xe.length;if(lt)for(let mt=0;mt<lt;mt+=2){const Wr=t[Xe[mt]][Xe[mt+1]].subscribe(a),po=te.length;te.push(a,Wr),T&&T.push(i,r.index,po,-(po+1))}}}function Np(e,t,n,r){try{return!1!==n(r)}catch(i){return Hf(e,i),!1}}function yd(e,t,n,r,i){return function a(h){if(h===Function)return r;const g=2&e.flags?jt(e.index,t):t;0==(32&t[2])&&Gu(g);let v=Np(t,0,r,h),C=a.__ngNextListenerFn__;for(;C;)v=Np(t,0,C,h)&&v,C=C.__ngNextListenerFn__;return i&&!1===v&&(h.preventDefault(),h.returnValue=!1),v}}function Lp(e=1){return function(e){return(Ct.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,Ct.lFrame.contextLView))[8]}(e)}function Fy(e,t){let n=null;const r=function(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const a=t[i];if("*"!==a){if(null===r?cf(e,a,!0):z_(r,a))return i}else n=i}return n}function kp(e){const t=ze()[16][6];if(!t.projection){const r=t.projection=Zs(e?e.length:1,null),i=r.slice();let a=t.child;for(;null!==a;){const h=e?Fy(a,e):0;null!==h&&(i[h]?i[h].projectionNext=a:r[h]=a,i[h]=a),a=a.next}}}function Bp(e,t=0,n){const r=ze(),i=tn(),a=Vo(i,20+e,16,null,n||null);null===a.projection&&(a.projection=t),f(),64!=(64&a.flags)&&function(e,t,n){nf(t[11],0,t,n,Gh(e,n,t),Qh(n.parent||t[6],n,t))}(i,r,a)}function Ed(e,t,n){return rc(e,"",t,"",n),Ed}function rc(e,t,n,r,i){const a=ze(),h=Zo(a,t,n,r);return h!==Wt&&$r(tn(),tt(),a,e,h,a[11],i,!1),rc}function Kp(e,t,n,r,i){const a=e[n+1],h=null===t;let g=r?Si(a):is(a),v=!1;for(;0!==g&&(!1===v||h);){const T=e[g+1];ky(e[g],t)&&(v=!0,e[g+1]=r?Ru(T):Iu(T)),g=r?Si(T):is(T)}v&&(e[n+1]=r?Iu(a):Ru(a))}function ky(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&bs(e,t)>=0}const tr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Zp(e){return e.substring(tr.key,tr.keyEnd)}function Yp(e,t){const n=tr.textEnd;return n===t?-1:(t=tr.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,tr.key=t,n),ra(e,t,n))}function ra(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function bd(e,t,n){return Mi(e,t,n,!1),bd}function Dd(e,t){return Mi(e,t,null,!0),Dd}function eg(e){Ai(Mr,Hi,e,!0)}function Hi(e,t){for(let n=function(e){return function(e){tr.key=0,tr.keyEnd=0,tr.value=0,tr.valueEnd=0,tr.textEnd=e.length}(e),Yp(e,ra(e,0,tr.textEnd))}(t);n>=0;n=Yp(t,n))Mr(e,Zp(t),!0)}function Mi(e,t,n,r){const i=ze(),a=tn(),h=pt(2);a.firstUpdatePass&&ng(a,e,h,r),t!==Wt&&Er(i,h,t)&&ig(a,a.data[Wn()],i,i[11],e,i[h+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=P(kr(e)))),e}(t,n),r,h)}function Ai(e,t,n,r){const i=tn(),a=pt(2);i.firstUpdatePass&&ng(i,null,a,r);const h=ze();if(n!==Wt&&Er(h,a,n)){const g=i.data[Wn()];if(og(g,r)&&!tg(i,a)){let v=r?g.classesWithoutHost:g.stylesWithoutHost;null!==v&&(n=U(v,n||"")),dd(i,g,h,n,r)}else!function(e,t,n,r,i,a,h,g){i===Wt&&(i=Re);let v=0,C=0,T=0<i.length?i[0]:null,k=0<a.length?a[0]:null;for(;null!==T||null!==k;){const te=v<i.length?i[v+1]:void 0,ge=C<a.length?a[C+1]:void 0;let Xe,Pe=null;T===k?(v+=2,C+=2,te!==ge&&(Pe=k,Xe=ge)):null===k||null!==T&&T<k?(v+=2,Pe=T):(C+=2,Pe=k,Xe=ge),null!==Pe&&ig(e,t,n,r,Pe,Xe,h,g),T=v<i.length?i[v]:null,k=C<a.length?a[C]:null}}(i,g,h,h[11],h[a+1],h[a+1]=function(e,t,n){if(null==n||""===n)return Re;const r=[],i=kr(n);if(Array.isArray(i))for(let a=0;a<i.length;a++)e(r,i[a],!0);else if("object"==typeof i)for(const a in i)i.hasOwnProperty(a)&&e(r,a,i[a]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,a)}}function tg(e,t){return t>=e.expandoStartIndex}function ng(e,t,n,r){const i=e.data;if(null===i[n+1]){const a=i[Wn()],h=tg(e,n);og(a,r)&&null===t&&!h&&(t=!1),t=function(e,t,n,r){const i=Sn(e);let a=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Ja(n=Cd(null,e,t,n,r),t.attrs,r),a=null);else{const h=t.directiveStylingLast;if(-1===h||e[h]!==i)if(n=Cd(i,e,t,n,r),null===a){let v=function(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==is(r))return e[Si(r)]}(e,t,r);void 0!==v&&Array.isArray(v)&&(v=Cd(null,e,t,v[1],r),v=Ja(v,t.attrs,r),function(e,t,n,r){e[Si(n?t.classBindings:t.styleBindings)]=r}(e,t,r,v))}else a=function(e,t,n){let r;const i=t.directiveEnd;for(let a=1+t.directiveStylingLast;a<i;a++)r=Ja(r,e[a].hostAttrs,n);return Ja(r,t.attrs,n)}(e,t,r)}return void 0!==a&&(r?t.residualClasses=a:t.residualStyles=a),n}(i,a,t,r),function(e,t,n,r,i,a){let h=a?t.classBindings:t.styleBindings,g=Si(h),v=is(h);e[r]=n;let T,C=!1;if(Array.isArray(n)){const k=n;T=k[1],(null===T||bs(k,T)>0)&&(C=!0)}else T=n;if(i)if(0!==v){const te=Si(e[g+1]);e[r+1]=Zl(te,g),0!==te&&(e[te+1]=Ou(e[te+1],r)),e[g+1]=function(e,t){return 131071&e|t<<17}(e[g+1],r)}else e[r+1]=Zl(g,0),0!==g&&(e[g+1]=Ou(e[g+1],r)),g=r;else e[r+1]=Zl(v,0),0===g?g=r:e[v+1]=Ou(e[v+1],r),v=r;C&&(e[r+1]=Iu(e[r+1])),Kp(e,T,r,!0),Kp(e,T,r,!1),function(e,t,n,r,i){const a=i?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&bs(a,t)>=0&&(n[r+1]=Ru(n[r+1]))}(t,T,e,r,a),h=Zl(g,v),a?t.classBindings=h:t.styleBindings=h}(i,a,t,n,h,r)}}function Cd(e,t,n,r,i){let a=null;const h=n.directiveEnd;let g=n.directiveStylingLast;for(-1===g?g=n.directiveStart:g++;g<h&&(a=t[g],r=Ja(r,a.hostAttrs,i),a!==e);)g++;return null!==e&&(n.directiveStylingLast=g),r}function Ja(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let a=0;a<t.length;a++){const h=t[a];"number"==typeof h?i=h:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Mr(e,h,!!n||t[++a]))}return void 0===e?null:e}function ig(e,t,n,r,i,a,h,g){if(!(3&t.type))return;const v=e.data,C=v[g+1];ic(function(e){return 1==(1&e)}(C)?sg(v,t,n,i,is(C),h):void 0)||(ic(a)||function(e){return 2==(2&e)}(C)&&(a=sg(v,null,n,i,g,h)),function(e,t,n,r,i){const a=Dn(e);if(t)i?a?e.addClass(n,r):n.classList.add(r):a?e.removeClass(n,r):n.classList.remove(r);else{let h=-1===r.indexOf("-")?void 0:In.DashCase;if(null==i)a?e.removeStyle(n,r,h):n.style.removeProperty(r);else{const g="string"==typeof i&&i.endsWith("!important");g&&(i=i.slice(0,-10),h|=In.Important),a?e.setStyle(n,r,i,h):n.style.setProperty(r,i,g?"important":"")}}}(r,h,O(Wn(),n),i,a))}function sg(e,t,n,r,i,a){const h=null===t;let g;for(;i>0;){const v=e[i],C=Array.isArray(v),T=C?v[1]:v,k=null===T;let te=n[i+1];te===Wt&&(te=k?Re:void 0);let ge=k?ts(te,r):T===r?te:void 0;if(C&&!ic(ge)&&(ge=ts(v,r)),ic(ge)&&(g=ge,h))return g;const Pe=e[i+1];i=h?Si(Pe):is(Pe)}if(null!==t){let v=a?t.residualClasses:t.residualStyles;null!=v&&(g=ts(v,r))}return g}function ic(e){return void 0!==e}function og(e,t){return 0!=(e.flags&(t?16:32))}function ag(e,t=""){const n=ze(),r=tn(),i=e+20,a=r.firstCreatePass?Vo(r,i,1,t,null):r.data[i],h=n[i]=function(e,t){return Dn(e)?e.createText(t):e.createTextNode(t)}(n[11],t);Gl(r,n,h,a),w(a,!1)}function wd(e){return sc("",e,""),wd}function sc(e,t,n){const r=ze(),i=Zo(r,e,t,n);return i!==Wt&&ss(r,Wn(),i),sc}function Sd(e,t,n,r,i){const a=ze(),h=Yo(a,e,t,n,r,i);return h!==Wt&&ss(a,Wn(),h),Sd}function gg(e,t,n){Ai(Mr,Hi,Zo(ze(),e,t,n),!0)}function Td(e,t,n){const r=ze();if(Er(r,qe(),t)){const a=tn(),h=tt();$r(a,h,r,e,t,Vf(Sn(a.data),h,r),n,!0)}return Td}const ho=void 0;var mE=["en",[["a","p"],["AM","PM"],ho],[["AM","PM"],ho,ho],[["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"]],ho,[["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"]],ho,[["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}",ho,"{1} 'at' {0}",ho],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let ia={};function Md(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Mg(t);if(n)return n;const r=t.split("-")[0];if(n=Mg(r),n)return n;if("en"===r)return mE;throw new Error(`Missing locale data for the locale "${e}".`)}function Tg(e){return Md(e)[Ot.PluralCase]}function Mg(e){return e in ia||(ia[e]=Vt.ng&&Vt.ng.common&&Vt.ng.common.locales&&Vt.ng.common.locales[e]),ia[e]}var Ot=(()=>((Ot=Ot||{})[Ot.LocaleId=0]="LocaleId",Ot[Ot.DayPeriodsFormat=1]="DayPeriodsFormat",Ot[Ot.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ot[Ot.DaysFormat=3]="DaysFormat",Ot[Ot.DaysStandalone=4]="DaysStandalone",Ot[Ot.MonthsFormat=5]="MonthsFormat",Ot[Ot.MonthsStandalone=6]="MonthsStandalone",Ot[Ot.Eras=7]="Eras",Ot[Ot.FirstDayOfWeek=8]="FirstDayOfWeek",Ot[Ot.WeekendRange=9]="WeekendRange",Ot[Ot.DateFormat=10]="DateFormat",Ot[Ot.TimeFormat=11]="TimeFormat",Ot[Ot.DateTimeFormat=12]="DateTimeFormat",Ot[Ot.NumberSymbols=13]="NumberSymbols",Ot[Ot.NumberFormats=14]="NumberFormats",Ot[Ot.CurrencyCode=15]="CurrencyCode",Ot[Ot.CurrencySymbol=16]="CurrencySymbol",Ot[Ot.CurrencyName=17]="CurrencyName",Ot[Ot.Currencies=18]="Currencies",Ot[Ot.Directionality=19]="Directionality",Ot[Ot.PluralCase=20]="PluralCase",Ot[Ot.ExtraData=21]="ExtraData",Ot))();const oc="en-US";let Ag=oc;function Od(e,t,n,r,i){if(e=z(e),Array.isArray(e))for(let a=0;a<e.length;a++)Od(e[a],t,n,r,i);else{const a=tn(),h=ze();let g=Wo(e)?e:z(e.provide),v=Zf(e);const C=Fn(),T=1048575&C.providerIndexes,k=C.directiveStart,te=C.providerIndexes>>20;if(Wo(e)||!e.multi){const ge=new mi(v,i,Qa),Pe=xd(g,t,i?T:T+te,k);-1===Pe?(Hs(yr(C,h),a,g),Rd(a,e,t.length),t.push(g),C.directiveStart++,C.directiveEnd++,i&&(C.providerIndexes+=1048576),n.push(ge),h.push(ge)):(n[Pe]=ge,h[Pe]=ge)}else{const ge=xd(g,t,T+te,k),Pe=xd(g,t,T,T+te),Xe=ge>=0&&n[ge],lt=Pe>=0&&n[Pe];if(i&&!lt||!i&&!Xe){Hs(yr(C,h),a,g);const mt=function(e,t,n,r,i){const a=new mi(e,n,Qa);return a.multi=[],a.index=t,a.componentProviders=0,qg(a,i,r&&!n),a}(i?g0:p0,n.length,i,r,v);!i&<&&(n[Pe].providerFactory=mt),Rd(a,e,t.length,0),t.push(g),C.directiveStart++,C.directiveEnd++,i&&(C.providerIndexes+=1048576),n.push(mt),h.push(mt)}else Rd(a,e,ge>-1?ge:Pe,qg(n[i?Pe:ge],v,!i&&r));!i&&r&<&&n[Pe].componentProviders++}}}function Rd(e,t,n,r){const i=Wo(t),a=function(e){return!!e.useClass}(t);if(i||a){const v=(a?z(t.useClass):t).prototype.ngOnDestroy;if(v){const C=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const T=C.indexOf(n);-1===T?C.push(n,[r,v]):C[T+1].push(r,v)}else C.push(n,v)}}}function qg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function xd(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function p0(e,t,n,r){return Pd(this.multi,[])}function g0(e,t,n,r){const i=this.multi;let a;if(this.providerFactory){const h=this.providerFactory.componentProviders,g=_i(n,n[1],this.providerFactory.index,r);a=g.slice(0,h),Pd(i,a);for(let v=h;v<g.length;v++)a.push(g[v])}else a=[],Pd(i,a);return a}function Pd(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Xg(e,t=[]){return n=>{n.providersResolver=(r,i)=>function(e,t,n){const r=tn();if(r.firstCreatePass){const i=On(e);Od(n,r.data,r.blueprint,i,!0),Od(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class em{}class y0{resolveComponentFactory(t){throw function(e){const t=Error(`No component factory found for ${P(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let nl=(()=>{class e{}return e.NULL=new y0,e})();function E0(){return oa(Fn(),ze())}function oa(e,t){return new rl(ee(e,t))}let rl=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=E0,e})();function b0(e){return e instanceof rl?e.nativeElement:e}class nm{}let D0=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function(){const e=ze(),n=jt(Fn().index,e);return function(e){return e[11]}(yn(n)?n:e)}(),e})(),S0=(()=>{class e{}return e.\u0275prov=ne({token:e,providedIn:"root",factory:()=>null}),e})();class rm{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const im=new rm("13.0.3"),Fd={};function dc(e,t,n,r,i=!1){for(;null!==n;){const a=t[n.index];if(null!==a&&r.push(E(a)),An(a))for(let g=10;g<a.length;g++){const v=a[g],C=v[1].firstChild;null!==C&&dc(v[1],v,C,r)}const h=n.type;if(8&h)dc(e,t,n.child,r);else if(32&h){const g=Gn(n,t);let v;for(;v=g();)r.push(v)}else if(16&h){const g=ef(t,n);if(Array.isArray(g))r.push(...g);else{const v=$a(t[16]);dc(v[1],v,g,r,!0)}}n=i?n.projectionNext:n.next}return r}class il{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return dc(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(An(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Cu(t,r),Ks(n,r))}this._attachedToViewContainer=!1}Wh(this._lView[1],this._lView)}onDestroy(t){If(this._lView[1],this._lView,null,t)}markForCheck(){Gu(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Zu(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){K(!0);try{Zu(e,t,n)}finally{K(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,za(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class T0 extends il{constructor(t){super(t),this._view=t}detectChanges(){Bf(this._view)}checkNoChanges(){!function(e){K(!0);try{Bf(e)}finally{K(!1)}}(this._view)}get context(){return null}}class sm extends nl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Le(t);return new Nd(n,this.ngModule)}}function om(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const A0=new Rn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>B});class Nd extends em{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=t.selectors.map(W_).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return om(this.componentDef.inputs)}get outputs(){return om(this.componentDef.outputs)}create(t,n,r,i){const a=(i=i||this.ngModule)?function(e,t){return{get:(n,r,i)=>{const a=e.get(n,Fd,i);return a!==Fd||r===Fd?a:t.get(n,r,i)}}}(t,i.injector):t,h=a.get(nm,Ls),g=a.get(S0,null),v=h.createRenderer(null,this.componentDef),C=this.componentDef.selectors[0][0]||"div",T=r?function(e,t,n){if(Dn(e))return e.selectRootElement(t,n===We.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(v,r,this.componentDef.encapsulation):Du(h.createRenderer(null,this.componentDef),C,function(e){const t=e.toLowerCase();return"svg"===t?fs:"math"===t?"http://www.w3.org/1998/MathML/":null}(C)),k=this.componentDef.onPush?576:528,te=function(e,t){return{components:[],scheduler:e||B,clean:xv,playerHandler:t||null,flags:0}}(),ge=Jl(0,null,null,1,0,null,null,null,null,null),Pe=Wa(null,ge,te,k,null,null,h,v,g,a);let Xe,lt;cr(Pe);try{const mt=function(e,t,n,r,i,a){const h=n[1];n[20]=e;const v=Vo(h,20,2,"#host",null),C=v.mergedAttrs=t.hostAttrs;null!==C&&(Xl(v,C,!0),null!==e&&(bo(i,e,C),null!==v.classes&&Au(i,e,v.classes),null!==v.styles&&rf(i,e,v.styles)));const T=r.createRenderer(e,t),k=Wa(n,Tf(t),null,t.onPush?64:16,n[20],v,r,T,a||null,null);return h.firstCreatePass&&(Hs(yr(v,n),h,t.type),Ff(h,v),Nf(v,n.length,1)),ql(n,k),n[20]=k}(T,this.componentDef,Pe,h,v);if(T)if(r)bo(v,T,["ng-version",im.full]);else{const{attrs:He,classes:At}=function(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let a=e[r];if("string"==typeof a)2===i?""!==a&&t.push(a,e[++r]):8===i&&n.push(a);else{if(!wi(i))break;i=a}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);He&&bo(v,T,He),At&&At.length>0&&Au(v,T,At.join(" "))}if(lt=Ze(ge,20),void 0!==n){const He=lt.projection=[];for(let At=0;At<this.ngContentSelectors.length;At++){const an=n[At];He.push(null!=an?Array.from(an):null)}}Xe=function(e,t,n,r,i){const a=n[1],h=function(e,t,n){const r=Fn();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Lf(e,r,t,Ho(e,t,1,null),n));const i=_i(t,e,r.directiveStart,r);sr(i,t);const a=ee(r,t);return a&&sr(a,t),i}(a,n,t);if(r.components.push(h),e[8]=h,i&&i.forEach(v=>v(h,t)),t.contentQueries){const v=Fn();t.contentQueries(1,h,v.directiveStart)}const g=Fn();return!a.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(ur(g.index),xf(n[1],g,0,g.directiveStart,g.directiveEnd,t),Pf(t,h)),h}(mt,this.componentDef,Pe,te,[qv]),Ga(ge,Pe,null)}finally{Nr()}return new R0(this.componentType,Xe,oa(lt,Pe),Pe,lt)}}class R0 extends class{}{constructor(t,n,r,i,a){super(),this.location=r,this._rootLView=i,this._tNode=a,this.instance=n,this.hostView=this.changeDetectorRef=new T0(i),this.componentType=t}get injector(){return new qi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class aa{}class am{}const la=new Map;function F0(e,t){return new um(e,null!=t?t:null)}class um extends aa{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new sm(this);const r=qt(t);this._bootstrapComponents=vt(r.bootstrap),this._r3Injector=Kf(t,n,[{provide:aa,useValue:this},{provide:nl,useValue:this.componentFactoryResolver}],P(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=ti.THROW_IF_NOT_FOUND,r=ot.Default){return t===ti||t===aa||t===Qu?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Ld extends am{constructor(t){super(),this.moduleType=t,null!==qt(t)&&function(e){const t=new Set;!function n(r){const i=qt(r,!0),a=i.id;null!==a&&(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${P(t)} vs ${P(t.name)}`)}(a,la.get(a),r),la.set(a,r));const h=vt(i.imports);for(const g of h)t.has(g)||(t.add(g),n(g))}(e)}(t)}create(t){return new um(this.moduleType,t)}}function dm(e,t,n,r){return fm(ze(),Q(),e,t,n,r)}function hm(e,t,n,r,i){return function(e,t,n,r,i,a,h){const g=t+n;return uo(e,g,i,a)?ji(e,g+2,h?r.call(h,i,a):r(i,a)):sl(e,g+2)}(ze(),Q(),e,t,n,r,i)}function sl(e,t){const n=e[t];return n===Wt?void 0:n}function fm(e,t,n,r,i,a){const h=t+n;return Er(e,h,i)?ji(e,h+1,a?r.call(a,i):r(i)):sl(e,h+1)}function vm(e,t){const n=tn();let r;const i=e+20;n.firstCreatePass?(r=function(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[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const a=r.factory||(r.factory=Rr(r.type)),h=rn(Qa);try{const g=wr(!1),v=a();return wr(g),function(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,ze(),i,v),v}finally{rn(h)}}function ym(e,t,n){const r=e+20,i=ze(),a=gt(i,r);return function(e,t){return e[1].data[t].pure}(i,r)?fm(i,Q(),t,a.transform,n,a):a.transform(n)}function kd(e){return t=>{setTimeout(e,void 0,t)}}const $i=class extends p.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var i,a,h;let g=t,v=n||(()=>null),C=r;if(t&&"object"==typeof t){const k=t;g=null===(i=k.next)||void 0===i?void 0:i.bind(k),v=null===(a=k.error)||void 0===a?void 0:a.bind(k),C=null===(h=k.complete)||void 0===h?void 0:h.bind(k)}this.__isAsync&&(v=kd(v),g&&(g=kd(g)),C&&(C=kd(C)));const T=super.subscribe({next:g,error:v,complete:C});return t instanceof o.w0&&t.add(T),T}};function Y0(){return this._results[Go()]()}class hc{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Go(),r=hc.prototype;r[n]||(r[n]=Y0)}get changes(){return this._changes||(this._changes=new $i)}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){const r=this;r.dirty=!1;const i=Tr(t);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],a=t[r];if(n&&(i=n(i),a=n(a)),a!==i)return!1}return!0}(r._results,i,n))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;let al=(()=>{class e{}return e.__NG_ELEMENT_ID__=q0,e})();const Q0=al,J0=class extends Q0{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=Wa(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const a=this._declarationLView[19];return null!==a&&(r[19]=a.createEmbeddedView(n)),Ga(n,r,t),new il(r)}};function q0(){return fc(Fn(),ze())}function fc(e,t){return 4&e.type?new J0(t,e,oa(e,t)):null}let pc=(()=>{class e{}return e.__NG_ELEMENT_ID__=X0,e})();function X0(){return Dm(Fn(),ze())}const eb=pc,Em=class extends eb{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return oa(this._hostTNode,this._hostLView)}get injector(){return new qi(this._hostTNode,this._hostLView)}get parentInjector(){const t=Vs(this._hostTNode,this._hostLView);if(fa(t)){const n=ys(t,this._hostLView),r=Ni(t);return new qi(n[1].data[r+8],n)}return new qi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=bm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const i=t.createEmbeddedView(n||{});return this.insert(i,r),i}createComponent(t,n,r,i,a){const h=t&&!("function"==typeof t);let g;if(h)g=n;else{const k=n||{};g=k.index,r=k.injector,i=k.projectableNodes,a=k.ngModuleRef}const v=h?t:new Nd(Le(t)),C=r||this.parentInjector;if(!a&&null==v.ngModule&&C){const k=C.get(aa,null);k&&(a=k)}const T=v.create(C,i,void 0,a);return this.insert(T.hostView,g),T}insert(t,n){const r=t._lView,i=r[1];if(An(r[3])){const T=this.indexOf(t);if(-1!==T)this.detach(T);else{const k=r[3],te=new Em(k,k[6],k[3]);te.detach(te.indexOf(t))}}const a=this._adjustIndex(n),h=this._lContainer;!function(e,t,n,r){const i=10+r,a=n.length;r>0&&(n[i-1][4]=t),r<a-10?(t[4]=n[i],es(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const h=t[17];null!==h&&n!==h&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(h,t);const g=t[19];null!==g&&g.insertView(e),t[2]|=128}(i,r,h,a);const g=Tu(a,h),v=r[11],C=Wl(v,h[7]);return null!==C&&function(e,t,n,r,i,a){r[0]=i,r[6]=t,za(e,r,n,1,i,a)}(i,h[6],v,r,C,g),t.attachToViewContainerRef(),es(Bd(h),a,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=bm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Cu(this._lContainer,n);r&&(Ks(Bd(this._lContainer),n),Wh(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=Cu(this._lContainer,n);return r&&null!=Ks(Bd(this._lContainer),n)?new il(r):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function bm(e){return e[8]}function Bd(e){return e[8]||(e[8]=[])}function Dm(e,t){let n;const r=t[e.index];if(An(r))n=r;else{let i;if(8&e.type)i=E(r);else{const a=t[11];i=a.createComment("");const h=ee(e,t);co(a,Wl(a,h),i,function(e,t){return Dn(e)?e.nextSibling(t):t.nextSibling}(a,h),!1)}t[e.index]=n=kf(r,t,i,e),ql(t,n)}return new Em(n,e,t)}class Ud{constructor(t){this.queryList=t,this.matches=null}clone(){return new Ud(this.queryList)}setDirty(){this.queryList.setDirty()}}class jd{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let a=0;a<r;a++){const h=n.getByIndex(a);i.push(this.queries[h.indexInDeclarationView].clone())}return new jd(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Rm(t,n).matches&&this.queries[n].setDirty()}}class Cm{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Vd{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 i=null!==n?n.length:0,a=this.getByIndex(r).embeddedTView(t,i);a&&(a.indexInDeclarationView=r,null!==n?n.push(a):n=[a])}return null!==n?new Vd(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 Hd{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 Hd(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 i=0;i<r.length;i++){const a=r[i];this.matchTNodeWithReadOption(t,n,rb(n,a)),this.matchTNodeWithReadOption(t,n,Jt(n,t,a,!1,!1))}else r===al?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Jt(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===rl||i===pc||i===al&&4&n.type)this.addMatch(n.index,-2);else{const a=Jt(n,t,i,!1,!1);null!==a&&this.addMatch(n.index,a)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function rb(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 sb(e,t,n,r){return-1===n?function(e,t){return 11&e.type?oa(e,t):4&e.type?fc(e,t):null}(t,e):-2===n?function(e,t,n){return n===rl?oa(t,e):n===al?fc(t,e):n===pc?Dm(t,e):void 0}(e,t,r):_i(e,e[1],n,t)}function wm(e,t,n,r){const i=t[19].queries[r];if(null===i.matches){const a=e.data,h=n.matches,g=[];for(let v=0;v<h.length;v+=2){const C=h[v];g.push(C<0?null:sb(t,a[C],h[v+1],n.metadata.read))}i.matches=g}return i.matches}function $d(e,t,n,r){const i=e.queries.getByIndex(n),a=i.matches;if(null!==a){const h=wm(e,t,i,n);for(let g=0;g<a.length;g+=2){const v=a[g];if(v>0)r.push(h[g/2]);else{const C=a[g+1],T=t[-v];for(let k=10;k<T.length;k++){const te=T[k];te[17]===te[3]&&$d(te[1],te,C,r)}if(null!==T[9]){const k=T[9];for(let te=0;te<k.length;te++){const ge=k[te];$d(ge[1],ge,C,r)}}}}}return r}function Sm(e){const t=ze(),n=tn(),r=dn();Tn(r+1);const i=Rm(n,r);if(e.dirty&&_n(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const a=i.crossesNgTemplate?$d(n,t,r,[]):wm(n,t,i,r);e.reset(a,b0),e.notifyOnChanges()}return!0}return!1}function Tm(e,t,n){const r=tn();r.firstCreatePass&&(Om(r,new Cm(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Im(r,ze(),t)}function Mm(e,t,n,r){const i=tn();if(i.firstCreatePass){const a=Fn();Om(i,new Cm(t,n,r),a.index),function(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),2==(2&n)&&(i.staticContentQueries=!0)}Im(i,ze(),n)}function Am(){return e=ze(),t=dn(),e[19].queries[t].queryList;var e,t}function Im(e,t,n){const r=new hc(4==(4&n));If(e,t,r,r.destroy),null===t[19]&&(t[19]=new jd),t[19].queries.push(new Ud(r))}function Om(e,t,n){null===e.queries&&(e.queries=new Vd),e.queries.track(new Hd(t,n))}function Rm(e,t){return e.queries.getByIndex(t)}function _c(...e){}const Yd=new Rn("Application Initializer");let ua=(()=>{class e{constructor(n){this.appInits=n,this.resolve=_c,this.reject=_c,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const a=this.appInits[i]();if(md(a))n.push(a);else if(Pp(a)){const h=new Promise((g,v)=>{a.subscribe({complete:g,error:v})});n.push(h)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)($n(Yd,8))},e.\u0275prov=ne({token:e,factory:e.\u0275fac}),e})();const Zm=new Rn("AppId"),Mb={provide:Zm,useFactory:function(){return`${Qd()}${Qd()}${Qd()}`},deps:[]};function Qd(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ym=new Rn("Platform Initializer"),Qm=new Rn("Platform ID"),Ab=new Rn("appBootstrapListener");let Jm=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=ne({token:e,factory:e.\u0275fac}),e})();const vc=new Rn("LocaleId"),qm=new Rn("DefaultCurrencyCode");class Ib{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Jd=(()=>{class e{compileModuleSync(n){return new Ld(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),a=vt(qt(n).declarations).reduce((h,g)=>{const v=Le(g);return v&&h.push(new Nd(v)),h},[]);return new Ib(r,a)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=ne({token:e,factory:e.\u0275fac}),e})();const Rb=(()=>Promise.resolve(0))();function qd(e){"undefined"==typeof Zone?Rb.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class zr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new $i(!1),this.onMicrotaskEmpty=new $i(!1),this.onStable=new $i(!1),this.onError=new $i(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function(){let e=Vt.requestAnimationFrame,t=Vt.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Vt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,eh(e),e.isCheckStableRunning=!0,Xd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),eh(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,a,h,g)=>{try{return Xm(e),n.invokeTask(i,a,h,g)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),e_(e)}},onInvoke:(n,r,i,a,h,g,v)=>{try{return Xm(e),n.invoke(i,a,h,g,v)}finally{e.shouldCoalesceRunChangeDetection&&t(),e_(e)}},onHasTask:(n,r,i,a)=>{n.hasTask(i,a),r===i&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,eh(e),Xd(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(n,r,i,a)=>(n.handleError(i,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(i)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!zr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(zr.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const a=this._inner,h=a.scheduleEventTask("NgZoneEvent: "+i,t,Pb,_c,_c);try{return a.runTask(h,n,r)}finally{a.cancelTask(h)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const Pb={};function Xd(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 eh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Xm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function e_(e){e._nesting--,Xd(e)}class Lb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new $i,this.onMicrotaskEmpty=new $i,this.onStable=new $i,this.onError=new $i}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,i){return t.apply(n,r)}}let t_=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{zr.assertNotInAngularZone(),qd(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,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())qd(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let a=-1;r&&r>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(h=>h.timeoutId!==a),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:a,updateCb:i})}whenStable(n,r,i){if(i&&!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,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,i){return[]}}return e.\u0275fac=function(n){return new(n||e)($n(zr))},e.\u0275prov=ne({token:e,factory:e.\u0275fac}),e})(),n_=(()=>{class e{constructor(){this._applications=new Map,th.addToWindow(this)}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 th.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=ne({token:e,factory:e.\u0275fac}),e})();class kb{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}function Bb(e){th=e}let Ii,th=new kb;const r_=new Rn("AllowMultipleToken");function i_(e,t,n=[]){const r=`Platform: ${t}`,i=new Rn(r);return(a=[])=>{let h=s_();if(!h||h.injector.get(r_,!1))if(e)e(n.concat(a).concat({provide:i,useValue:!0}));else{const g=n.concat(a).concat({provide:i,useValue:!0},{provide:Ju,useValue:"platform"});!function(e){if(Ii&&!Ii.destroyed&&!Ii.injector.get(r_,!1))throw new G("400","");Ii=e.get(o_);const t=e.get(Ym,null);t&&t.forEach(n=>n())}(ti.create({providers:g,name:r}))}return function(e){const t=s_();if(!t)throw new G("401","");return t}()}}function s_(){return Ii&&!Ii.destroyed?Ii:null}let o_=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const g=function(e,t){let n;return n="noop"===e?new Lb:("zone.js"===e?void 0:e)||new zr({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),v=[{provide:zr,useValue:g}];return g.run(()=>{const C=ti.create({providers:v,parent:this.injector,name:n.moduleType.name}),T=n.create(C),k=T.injector.get(lo,null);if(!k)throw new G("402","");return g.runOutsideAngular(()=>{const te=g.onError.subscribe({next:ge=>{k.handleError(ge)}});T.onDestroy(()=>{nh(this._modules,T),te.unsubscribe()})}),function(e,t,n){try{const r=n();return md(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(k,g,()=>{const te=T.injector.get(ua);return te.runInitializers(),te.donePromise.then(()=>(function(e){Nt(e,"Expected localeId to be defined"),"string"==typeof e&&(Ag=e.toLowerCase().replace(/_/g,"-"))}(T.injector.get(vc,oc)||oc),this._moduleDoBootstrap(T),T))})})}bootstrapModule(n,r=[]){const i=a_({},r);return function(e,t,n){const r=new Ld(n);return Promise.resolve(r)}(0,0,n).then(a=>this.bootstrapModuleFactory(a,i))}_moduleDoBootstrap(n){const r=n.injector.get(cl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new G("403","");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 G("404","");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)($n(ti))},e.\u0275prov=ne({token:e,factory:e.\u0275fac}),e})();function a_(e,t){return Array.isArray(t)?t.reduce(a_,e):Object.assign(Object.assign({},e),t)}let cl=(()=>{class e{constructor(n,r,i,a,h){this._zone=n,this._injector=r,this._exceptionHandler=i,this._componentFactoryResolver=a,this._initStatus=h,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const g=new j.y(C=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{C.next(this._stable),C.complete()})}),v=new j.y(C=>{let T;this._zone.runOutsideAngular(()=>{T=this._zone.onStable.subscribe(()=>{zr.assertNotInAngularZone(),qd(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,C.next(!0))})})});const k=this._zone.onUnstable.subscribe(()=>{zr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{C.next(!1)}))});return()=>{T.unsubscribe(),k.unsubscribe()}});this.isStable=(0,H.T)(g,v.pipe((0,x.B)()))}bootstrap(n,r){if(!this._initStatus.done)throw new G("405","");let i;i=n instanceof em?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(i.componentType);const a=function(e){return e.isBoundToModule}(i)?void 0:this._injector.get(aa),g=i.create(ti.NULL,[],r||i.selector,a),v=g.location.nativeElement,C=g.injector.get(t_,null),T=C&&g.injector.get(n_);return C&&T&&T.registerApplication(v,C),g.onDestroy(()=>{this.detachView(g.hostView),nh(this.components,g),T&&T.unregisterApplication(v)}),this._loadComponent(g),g}tick(){if(this._runningTick)throw new G("101","");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;nh(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Ab,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)($n(zr),$n(ti),$n(lo),$n(nl),$n(ua))},e.\u0275prov=ne({token:e,factory:e.\u0275fac}),e})();function nh(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let c_=!0;function Kb(){c_=!1}let Zb=(()=>{class e{}return e.__NG_ELEMENT_ID__=Yb,e})();function Yb(e){return function(e,t,n){if(jr(e)&&!n){const r=jt(e.index,t);return new il(r,r)}return 47&e.type?new il(t[16],t):null}(Fn(),ze(),16==(16&e))}class m_{constructor(){}supports(t){return Za(t)}create(t){return new nD(t)}}const tD=(e,t)=>t;class nD{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||tD}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,a=null;for(;n||r;){const h=!r||n&&n.currentIndex<v_(r,i,a)?n:r,g=v_(h,i,a),v=h.currentIndex;if(h===r)i--,r=r._nextRemoved;else if(n=n._next,null==h.previousIndex)i++;else{a||(a=[]);const C=g-i,T=v-i;if(C!=T){for(let te=0;te<C;te++){const ge=te<a.length?a[te]:a[te]=0,Pe=ge+te;T<=Pe&&Pe<C&&(a[te]=ge+1)}a[h.previousIndex]=T-C}}g!==v&&t(h,g,v)}}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=[]),!Za(t))throw new Error(`Error trying to diff '${P(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,a,h,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let g=0;g<this.length;g++)a=t[g],h=this._trackByFn(g,a),null!==n&&Object.is(n.trackById,h)?(r&&(n=this._verifyReinsertion(n,a,h,g)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,h,g),r=!0),n=n._next}else i=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Go()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,g=>{h=this._trackByFn(i,g),null!==n&&Object.is(n.trackById,h)?(r&&(n=this._verifyReinsertion(n,g,h,i)),Object.is(n.item,g)||this._addIdentityChange(n,g)):(n=this._mismatch(n,g,h,i),r=!0),n=n._next,i++}),this.length=i;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,i){let a;return null===t?a=this._itTail:(a=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,a,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,a,i)):t=this._addAfter(new rD(n,r),a,i),t}_verifyReinsertion(t,n,r,i){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==a?t=this._reinsertAfter(a,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),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 i=t._prevRemoved,a=t._nextRemoved;return null===i?this._removalsHead=a:i._nextRemoved=a,null===a?this._removalsTail=i:a._prevRemoved=i,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 i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new __),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 __),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 rD{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 iD{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 __{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new iD,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.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 v_(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class y_{constructor(){}supports(t){return t instanceof Map||id(t)}create(){return new sD}}class sD{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||id(t)))throw new Error(`Error trying to diff '${P(t)}'. Only maps and objects are allowed`)}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,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const a=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,a)}}),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 i=this._records.get(t);this._maybeAddToChanges(i,n);const a=i._prev,h=i._next;return a&&(a._next=h),h&&(h._prev=a),i._next=null,i._prev=null,i}const r=new oD(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 oD{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 E_(){return new Ec([new m_])}let Ec=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||E_()),deps:[[e,new Jr,new Hr]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new Error(`Cannot find a differ supporting object '${n}' of type '${function(e){return e.name||typeof e}(n)}'`)}}return e.\u0275prov=ne({token:e,providedIn:"root",factory:E_}),e})();function b_(){return new bc([new y_])}let bc=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||b_()),deps:[[e,new Jr,new Hr]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new Error(`Cannot find a differ supporting object '${n}'`)}}return e.\u0275prov=ne({token:e,providedIn:"root",factory:b_}),e})();const lD=[new y_],uD=new Ec([new m_]),dD=new bc(lD),hD=i_(null,"core",[{provide:Qm,useValue:"unknown"},{provide:o_,deps:[ti]},{provide:n_,deps:[]},{provide:Jm,deps:[]}]),_D=[{provide:cl,useClass:cl,deps:[zr,ti,lo,nl,ua]},{provide:A0,deps:[zr],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(n){t.push(n)}}},{provide:ua,useClass:ua,deps:[[new Hr,Yd]]},{provide:Jd,useClass:Jd,deps:[]},Mb,{provide:Ec,useFactory:function(){return uD},deps:[]},{provide:bc,useFactory:function(){return dD},deps:[]},{provide:vc,useFactory:function(e){return e||"undefined"!=typeof $localize&&$localize.locale||oc},deps:[[new ki(vc),new Hr,new Jr]]},{provide:qm,useValue:"USD"}];let yD=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)($n(cl))},e.\u0275mod=Bn({type:e}),e.\u0275inj=Je({providers:_D}),e})()},7317:(Ue,q,_)=>{_.d(q,{zs:()=>z,lW:()=>A,ot:()=>X});var p=_(3184),o=_(1130),j=_(7481),H=_(4128);const x=["mat-button",""],L=["*"],U=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],F=(0,o.pj)((0,o.Id)((0,o.Kr)(class{constructor(J){this._elementRef=J}})));let A=(()=>{class J extends F{constructor(Z,V,W){super(Z),this._focusMonitor=V,this._animationMode=W,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const he of U)this._hasHostAttributes(he)&&this._getHostElement().classList.add(he);Z.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(Z,V){Z?this._focusMonitor.focusVia(this._getHostElement(),Z,V):this._getHostElement().focus(V)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...Z){return Z.some(V=>this._getHostElement().hasAttribute(V))}}return J.\u0275fac=function(Z){return new(Z||J)(p.Y36(p.SBq),p.Y36(H.tE),p.Y36(j.Qb,8))},J.\u0275cmp=p.Xpm({type:J,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(Z,V){if(1&Z&&p.Gf(o.wG,5),2&Z){let W;p.iGM(W=p.CRH())&&(V.ripple=W.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(Z,V){2&Z&&(p.uIk("disabled",V.disabled||null),p.ekj("_mat-animation-noopable","NoopAnimations"===V._animationMode)("mat-button-disabled",V.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[p.qOj],attrs:x,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(Z,V){1&Z&&(p.F$t(),p.TgZ(0,"span",0),p.Hsn(1),p.qZA(),p._UZ(2,"span",1),p._UZ(3,"span",2)),2&Z&&(p.xp6(2),p.ekj("mat-button-ripple-round",V.isRoundButton||V.isIconButton),p.Q6J("matRippleDisabled",V._isRippleDisabled())("matRippleCentered",V.isIconButton)("matRippleTrigger",V._getHostElement()))},directives:[o.wG],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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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-animation-noopable.mat-raised-button{transition:none;animation:none}.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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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-animation-noopable.mat-fab{transition:none;animation:none}.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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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-animation-noopable.mat-mini-fab{transition:none;animation:none}.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}.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}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),J})(),z=(()=>{class J extends A{constructor(Z,V,W){super(V,Z,W)}_haltDisabledEvents(Z){this.disabled&&(Z.preventDefault(),Z.stopImmediatePropagation())}}return J.\u0275fac=function(Z){return new(Z||J)(p.Y36(H.tE),p.Y36(p.SBq),p.Y36(j.Qb,8))},J.\u0275cmp=p.Xpm({type:J,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(Z,V){1&Z&&p.NdJ("click",function(he){return V._haltDisabledEvents(he)}),2&Z&&(p.uIk("tabindex",V.disabled?-1:V.tabIndex||0)("disabled",V.disabled||null)("aria-disabled",V.disabled.toString()),p.ekj("_mat-animation-noopable","NoopAnimations"===V._animationMode)("mat-button-disabled",V.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[p.qOj],attrs:x,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(Z,V){1&Z&&(p.F$t(),p.TgZ(0,"span",0),p.Hsn(1),p.qZA(),p._UZ(2,"span",1),p._UZ(3,"span",2)),2&Z&&(p.xp6(2),p.ekj("mat-button-ripple-round",V.isRoundButton||V.isIconButton),p.Q6J("matRippleDisabled",V._isRippleDisabled())("matRippleCentered",V.isIconButton)("matRippleTrigger",V._getHostElement()))},directives:[o.wG],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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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-animation-noopable.mat-raised-button{transition:none;animation:none}.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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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-animation-noopable.mat-fab{transition:none;animation:none}.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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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-animation-noopable.mat-mini-fab{transition:none;animation:none}.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}.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}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),J})(),X=(()=>{class J{}return J.\u0275fac=function(Z){return new(Z||J)},J.\u0275mod=p.oAB({type:J}),J.\u0275inj=p.cJS({imports:[[o.si,o.BQ],o.BQ]}),J})()},1130:(Ue,q,_)=>{_.d(q,{BQ:()=>Te,wG:()=>Cn,si:()=>rn,pj:()=>Ge,Kr:()=>Ke,Id:()=>Oe});var p=_(3184),o=_(1588),H=_(6362),x=_(4390),L=_(4128),N=_(6484),P=_(7481);const he=new p.OlP("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let Te=(()=>{class Re{constructor(ce,Ve,Mt){this._sanityChecks=Ve,this._document=Mt,this._hasDoneGlobalChecks=!1,ce._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(ce){return!(0,x.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[ce])}}return Re.\u0275fac=function(ce){return new(ce||Re)(p.LFG(L.qm),p.LFG(he,8),p.LFG(H.K0))},Re.\u0275mod=p.oAB({type:Re}),Re.\u0275inj=p.cJS({imports:[[o.vT],o.vT]}),Re})();function Oe(Re){return class extends Re{constructor(...se){super(...se),this._disabled=!1}get disabled(){return this._disabled}set disabled(se){this._disabled=(0,N.Ig)(se)}}}function Ge(Re,se){return class extends Re{constructor(...ce){super(...ce),this.defaultColor=se,this.color=se}get color(){return this._color}set color(ce){const Ve=ce||this.defaultColor;Ve!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),Ve&&this._elementRef.nativeElement.classList.add(`mat-${Ve}`),this._color=Ve)}}}function Ke(Re){return class extends Re{constructor(...se){super(...se),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(se){this._disableRipple=(0,N.Ig)(se)}}}class Ht{constructor(se,ce,Ve){this._renderer=se,this.element=ce,this.config=Ve,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const nt={enterDuration:225,exitDuration:150},ue=(0,x.i$)({passive:!0}),Ee=["mousedown","touchstart"],Qe=["mouseup","mouseleave","touchend","touchcancel"];class rt{constructor(se,ce,Ve,Mt){this._target=se,this._ngZone=ce,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,Mt.isBrowser&&(this._containerElement=(0,N.fI)(Ve))}fadeInRipple(se,ce,Ve={}){const Mt=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),ye=Object.assign(Object.assign({},nt),Ve.animation);Ve.centered&&(se=Mt.left+Mt.width/2,ce=Mt.top+Mt.height/2);const oe=Ve.radius||function(Re,se,ce){const Ve=Math.max(Math.abs(Re-ce.left),Math.abs(Re-ce.right)),Mt=Math.max(Math.abs(se-ce.top),Math.abs(se-ce.bottom));return Math.sqrt(Ve*Ve+Mt*Mt)}(se,ce,Mt),Y=se-Mt.left,_e=ce-Mt.top,Me=ye.enterDuration,et=document.createElement("div");et.classList.add("mat-ripple-element"),et.style.left=Y-oe+"px",et.style.top=_e-oe+"px",et.style.height=2*oe+"px",et.style.width=2*oe+"px",null!=Ve.color&&(et.style.backgroundColor=Ve.color),et.style.transitionDuration=`${Me}ms`,this._containerElement.appendChild(et),window.getComputedStyle(et).getPropertyValue("opacity"),et.style.transform="scale(1)";const wt=new Ht(this,et,Ve);return wt.state=0,this._activeRipples.add(wt),Ve.persistent||(this._mostRecentTransientRipple=wt),this._runTimeoutOutsideZone(()=>{const fn=wt===this._mostRecentTransientRipple;wt.state=1,!Ve.persistent&&(!fn||!this._isPointerDown)&&wt.fadeOut()},Me),wt}fadeOutRipple(se){const ce=this._activeRipples.delete(se);if(se===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!ce)return;const Ve=se.element,Mt=Object.assign(Object.assign({},nt),se.config.animation);Ve.style.transitionDuration=`${Mt.exitDuration}ms`,Ve.style.opacity="0",se.state=2,this._runTimeoutOutsideZone(()=>{se.state=3,Ve.remove()},Mt.exitDuration)}fadeOutAll(){this._activeRipples.forEach(se=>se.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(se=>{se.config.persistent||se.fadeOut()})}setupTriggerEvents(se){const ce=(0,N.fI)(se);!ce||ce===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=ce,this._registerEvents(Ee))}handleEvent(se){"mousedown"===se.type?this._onMousedown(se):"touchstart"===se.type?this._onTouchStart(se):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Qe),this._pointerUpEventsRegistered=!0)}_onMousedown(se){const ce=(0,L.X6)(se),Ve=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!ce&&!Ve&&(this._isPointerDown=!0,this.fadeInRipple(se.clientX,se.clientY,this._target.rippleConfig))}_onTouchStart(se){if(!this._target.rippleDisabled&&!(0,L.yG)(se)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const ce=se.changedTouches;for(let Ve=0;Ve<ce.length;Ve++)this.fadeInRipple(ce[Ve].clientX,ce[Ve].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._activeRipples.forEach(se=>{!se.config.persistent&&(1===se.state||se.config.terminateOnPointerUp&&0===se.state)&&se.fadeOut()}))}_runTimeoutOutsideZone(se,ce=0){this._ngZone.runOutsideAngular(()=>setTimeout(se,ce))}_registerEvents(se){this._ngZone.runOutsideAngular(()=>{se.forEach(ce=>{this._triggerElement.addEventListener(ce,this,ue)})})}_removeTriggerEvents(){this._triggerElement&&(Ee.forEach(se=>{this._triggerElement.removeEventListener(se,this,ue)}),this._pointerUpEventsRegistered&&Qe.forEach(se=>{this._triggerElement.removeEventListener(se,this,ue)}))}}const Yt=new p.OlP("mat-ripple-global-options");let Cn=(()=>{class Re{constructor(ce,Ve,Mt,ye,oe){this._elementRef=ce,this._animationMode=oe,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=ye||{},this._rippleRenderer=new rt(this,Ve,ce,Mt)}get disabled(){return this._disabled}set disabled(ce){ce&&this.fadeOutAllNonPersistent(),this._disabled=ce,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(ce){this._trigger=ce,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:Object.assign(Object.assign(Object.assign({},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(ce,Ve=0,Mt){return"number"==typeof ce?this._rippleRenderer.fadeInRipple(ce,Ve,Object.assign(Object.assign({},this.rippleConfig),Mt)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),ce))}}return Re.\u0275fac=function(ce){return new(ce||Re)(p.Y36(p.SBq),p.Y36(p.R0b),p.Y36(x.t4),p.Y36(Yt,8),p.Y36(P.Qb,8))},Re.\u0275dir=p.lG2({type:Re,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(ce,Ve){2&ce&&p.ekj("mat-ripple-unbounded",Ve.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),Re})(),rn=(()=>{class Re{}return Re.\u0275fac=function(ce){return new(ce||Re)},Re.\u0275mod=p.oAB({type:Re}),Re.\u0275inj=p.cJS({imports:[[Te,x.ud],Te]}),Re})()},3149:(Ue,q,_)=>{_.d(q,{Hw:()=>st,Ps:()=>Ht,jv:()=>Dt});var p=_(3184),o=_(1130),j=_(6484),H=_(6362),x=_(3336),L=_(5756),N=_(4987),P=_(420),U=_(3945),F=_(8385),A=_(1054),X=_(745),J=_(5474),G=_(7714),Z=_(9337),V=_(635),W=_(3158),he=_(2313),Te=_(1203),Ce=_(9295),re=_(8784),De=_(318);const Oe=["*"];let Ge;function me(nt){var ft;return(null===(ft=function(){if(void 0===Ge&&(Ge=null,"undefined"!=typeof window)){const nt=window;void 0!==nt.trustedTypes&&(Ge=nt.trustedTypes.createPolicy("angular#components",{createHTML:ft=>ft}))}return Ge}())||void 0===ft?void 0:ft.createHTML(nt))||nt}function be(nt){return Error(`Unable to find icon with the name "${nt}"`)}function ke(nt){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${nt}".`)}function Be(nt){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${nt}".`)}class we{constructor(ft,ue,Ee){this.url=ft,this.svgText=ue,this.options=Ee}}let Dt=(()=>{class nt{constructor(ue,Ee,Qe,rt){this._httpClient=ue,this._sanitizer=Ee,this._errorHandler=rt,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",this._document=Qe}addSvgIcon(ue,Ee,Qe){return this.addSvgIconInNamespace("",ue,Ee,Qe)}addSvgIconLiteral(ue,Ee,Qe){return this.addSvgIconLiteralInNamespace("",ue,Ee,Qe)}addSvgIconInNamespace(ue,Ee,Qe,rt){return this._addSvgIconConfig(ue,Ee,new we(Qe,null,rt))}addSvgIconResolver(ue){return this._resolvers.push(ue),this}addSvgIconLiteralInNamespace(ue,Ee,Qe,rt){const yt=this._sanitizer.sanitize(p.q3G.HTML,Qe);if(!yt)throw Be(Qe);const ot=me(yt);return this._addSvgIconConfig(ue,Ee,new we("",ot,rt))}addSvgIconSet(ue,Ee){return this.addSvgIconSetInNamespace("",ue,Ee)}addSvgIconSetLiteral(ue,Ee){return this.addSvgIconSetLiteralInNamespace("",ue,Ee)}addSvgIconSetInNamespace(ue,Ee,Qe){return this._addSvgIconSetConfig(ue,new we(Ee,null,Qe))}addSvgIconSetLiteralInNamespace(ue,Ee,Qe){const rt=this._sanitizer.sanitize(p.q3G.HTML,Ee);if(!rt)throw Be(Ee);const yt=me(rt);return this._addSvgIconSetConfig(ue,new we("",yt,Qe))}registerFontClassAlias(ue,Ee=ue){return this._fontCssClassesByAlias.set(ue,Ee),this}classNameForFontAlias(ue){return this._fontCssClassesByAlias.get(ue)||ue}setDefaultFontSetClass(ue){return this._defaultFontSetClass=ue,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(ue){const Ee=this._sanitizer.sanitize(p.q3G.RESOURCE_URL,ue);if(!Ee)throw ke(ue);const Qe=this._cachedIconsByUrl.get(Ee);return Qe?(0,X.of)(Et(Qe)):this._loadSvgIconFromConfig(new we(ue,null)).pipe((0,Z.b)(rt=>this._cachedIconsByUrl.set(Ee,rt)),(0,V.U)(rt=>Et(rt)))}getNamedSvgIcon(ue,Ee=""){const Qe=Nt(Ee,ue);let rt=this._svgIconConfigs.get(Qe);if(rt)return this._getSvgFromConfig(rt);if(rt=this._getIconConfigFromResolvers(Ee,ue),rt)return this._svgIconConfigs.set(Qe,rt),this._getSvgFromConfig(rt);const yt=this._iconSetConfigs.get(Ee);return yt?this._getSvgFromIconSetConfigs(ue,yt):(0,J._)(be(Qe))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(ue){return ue.svgText?(0,X.of)(Et(this._svgElementFromConfig(ue))):this._loadSvgIconFromConfig(ue).pipe((0,V.U)(Ee=>Et(Ee)))}_getSvgFromIconSetConfigs(ue,Ee){const Qe=this._extractIconWithNameFromAnySet(ue,Ee);return Qe?(0,X.of)(Qe):function(...nt){const ft=(0,P.jO)(nt),{args:ue,keys:Ee}=(0,L.D)(nt),Qe=new x.y(rt=>{const{length:yt}=ue;if(!yt)return void rt.complete();const ot=new Array(yt);let Yt=yt,Cn=yt;for(let rn=0;rn<yt;rn++){let Ne=!1;(0,N.Xf)(ue[rn]).subscribe(new U.Q(rt,ae=>{Ne||(Ne=!0,Cn--),ot[rn]=ae},()=>Yt--,void 0,()=>{(!Yt||!Ne)&&(Cn||rt.next(Ee?(0,A.n)(Ee,ot):ot),rt.complete())}))}});return ft?Qe.pipe((0,F.Z)(ft)):Qe}(Ee.filter(yt=>!yt.svgText).map(yt=>this._loadSvgIconSetFromConfig(yt).pipe((0,W.K)(ot=>{const Cn=`Loading icon set URL: ${this._sanitizer.sanitize(p.q3G.RESOURCE_URL,yt.url)} failed: ${ot.message}`;return this._errorHandler.handleError(new Error(Cn)),(0,X.of)(null)})))).pipe((0,V.U)(()=>{const yt=this._extractIconWithNameFromAnySet(ue,Ee);if(!yt)throw be(ue);return yt}))}_extractIconWithNameFromAnySet(ue,Ee){for(let Qe=Ee.length-1;Qe>=0;Qe--){const rt=Ee[Qe];if(rt.svgText&&rt.svgText.toString().indexOf(ue)>-1){const yt=this._svgElementFromConfig(rt),ot=this._extractSvgIconFromSet(yt,ue,rt.options);if(ot)return ot}}return null}_loadSvgIconFromConfig(ue){return this._fetchIcon(ue).pipe((0,Z.b)(Ee=>ue.svgText=Ee),(0,V.U)(()=>this._svgElementFromConfig(ue)))}_loadSvgIconSetFromConfig(ue){return ue.svgText?(0,X.of)(null):this._fetchIcon(ue).pipe((0,Z.b)(Ee=>ue.svgText=Ee))}_extractSvgIconFromSet(ue,Ee,Qe){const rt=ue.querySelector(`[id="${Ee}"]`);if(!rt)return null;const yt=rt.cloneNode(!0);if(yt.removeAttribute("id"),"svg"===yt.nodeName.toLowerCase())return this._setSvgAttributes(yt,Qe);if("symbol"===yt.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(yt),Qe);const ot=this._svgElementFromString(me("<svg></svg>"));return ot.appendChild(yt),this._setSvgAttributes(ot,Qe)}_svgElementFromString(ue){const Ee=this._document.createElement("DIV");Ee.innerHTML=ue;const Qe=Ee.querySelector("svg");if(!Qe)throw Error("<svg> tag not found");return Qe}_toSvgElement(ue){const Ee=this._svgElementFromString(me("<svg></svg>")),Qe=ue.attributes;for(let rt=0;rt<Qe.length;rt++){const{name:yt,value:ot}=Qe[rt];"id"!==yt&&Ee.setAttribute(yt,ot)}for(let rt=0;rt<ue.childNodes.length;rt++)ue.childNodes[rt].nodeType===this._document.ELEMENT_NODE&&Ee.appendChild(ue.childNodes[rt].cloneNode(!0));return Ee}_setSvgAttributes(ue,Ee){return ue.setAttribute("fit",""),ue.setAttribute("height","100%"),ue.setAttribute("width","100%"),ue.setAttribute("preserveAspectRatio","xMidYMid meet"),ue.setAttribute("focusable","false"),Ee&&Ee.viewBox&&ue.setAttribute("viewBox",Ee.viewBox),ue}_fetchIcon(ue){var Ee;const{url:Qe,options:rt}=ue,yt=null!==(Ee=null==rt?void 0:rt.withCredentials)&&void 0!==Ee&&Ee;if(!this._httpClient)throw 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==Qe)throw Error(`Cannot fetch icon from URL "${Qe}".`);const ot=this._sanitizer.sanitize(p.q3G.RESOURCE_URL,Qe);if(!ot)throw ke(Qe);const Yt=this._inProgressUrlFetches.get(ot);if(Yt)return Yt;const Cn=this._httpClient.get(ot,{responseType:"text",withCredentials:yt}).pipe((0,V.U)(rn=>me(rn)),(0,he.x)(()=>this._inProgressUrlFetches.delete(ot)),(0,Te.B)());return this._inProgressUrlFetches.set(ot,Cn),Cn}_addSvgIconConfig(ue,Ee,Qe){return this._svgIconConfigs.set(Nt(ue,Ee),Qe),this}_addSvgIconSetConfig(ue,Ee){const Qe=this._iconSetConfigs.get(ue);return Qe?Qe.push(Ee):this._iconSetConfigs.set(ue,[Ee]),this}_svgElementFromConfig(ue){if(!ue.svgElement){const Ee=this._svgElementFromString(ue.svgText);this._setSvgAttributes(Ee,ue.options),ue.svgElement=Ee}return ue.svgElement}_getIconConfigFromResolvers(ue,Ee){for(let Qe=0;Qe<this._resolvers.length;Qe++){const rt=this._resolvers[Qe](Ee,ue);if(rt)return It(rt)?new we(rt.url,null,rt.options):new we(rt,null)}}}return nt.\u0275fac=function(ue){return new(ue||nt)(p.LFG(re.eN,8),p.LFG(De.H7),p.LFG(H.K0,8),p.LFG(p.qLn))},nt.\u0275prov=p.Yz7({token:nt,factory:nt.\u0275fac,providedIn:"root"}),nt})();function Et(nt){return nt.cloneNode(!0)}function Nt(nt,ft){return nt+":"+ft}function It(nt){return!(!nt.url||!nt.options)}const Zt=(0,o.pj)(class{constructor(nt){this._elementRef=nt}}),ut=new p.OlP("mat-icon-location",{providedIn:"root",factory:function(){const nt=(0,p.f3M)(H.K0),ft=nt?nt.location:null;return{getPathname:()=>ft?ft.pathname+ft.search:""}}}),ne=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],je=ne.map(nt=>`[${nt}]`).join(", "),Je=/^url\(['"]?#(.*?)['"]?\)$/;let st=(()=>{class nt extends Zt{constructor(ue,Ee,Qe,rt,yt){super(ue),this._iconRegistry=Ee,this._location=rt,this._errorHandler=yt,this._inline=!1,this._currentIconFetch=G.w0.EMPTY,Qe||ue.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(ue){this._inline=(0,j.Ig)(ue)}get svgIcon(){return this._svgIcon}set svgIcon(ue){ue!==this._svgIcon&&(ue?this._updateSvgIcon(ue):this._svgIcon&&this._clearSvgElement(),this._svgIcon=ue)}get fontSet(){return this._fontSet}set fontSet(ue){const Ee=this._cleanupFontValue(ue);Ee!==this._fontSet&&(this._fontSet=Ee,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(ue){const Ee=this._cleanupFontValue(ue);Ee!==this._fontIcon&&(this._fontIcon=Ee,this._updateFontIconClasses())}_splitIconName(ue){if(!ue)return["",""];const Ee=ue.split(":");switch(Ee.length){case 1:return["",Ee[0]];case 2:return Ee;default:throw Error(`Invalid icon name: "${ue}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const ue=this._elementsWithExternalReferences;if(ue&&ue.size){const Ee=this._location.getPathname();Ee!==this._previousPath&&(this._previousPath=Ee,this._prependPathToReferences(Ee))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(ue){this._clearSvgElement();const Ee=ue.querySelectorAll("style");for(let rt=0;rt<Ee.length;rt++)Ee[rt].textContent+=" ";const Qe=this._location.getPathname();this._previousPath=Qe,this._cacheChildrenWithExternalReferences(ue),this._prependPathToReferences(Qe),this._elementRef.nativeElement.appendChild(ue)}_clearSvgElement(){const ue=this._elementRef.nativeElement;let Ee=ue.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();Ee--;){const Qe=ue.childNodes[Ee];(1!==Qe.nodeType||"svg"===Qe.nodeName.toLowerCase())&&Qe.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const ue=this._elementRef.nativeElement,Ee=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();Ee!=this._previousFontSetClass&&(this._previousFontSetClass&&ue.classList.remove(this._previousFontSetClass),Ee&&ue.classList.add(Ee),this._previousFontSetClass=Ee),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&ue.classList.remove(this._previousFontIconClass),this.fontIcon&&ue.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(ue){return"string"==typeof ue?ue.trim().split(" ")[0]:ue}_prependPathToReferences(ue){const Ee=this._elementsWithExternalReferences;Ee&&Ee.forEach((Qe,rt)=>{Qe.forEach(yt=>{rt.setAttribute(yt.name,`url('${ue}#${yt.value}')`)})})}_cacheChildrenWithExternalReferences(ue){const Ee=ue.querySelectorAll(je),Qe=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let rt=0;rt<Ee.length;rt++)ne.forEach(yt=>{const ot=Ee[rt],Yt=ot.getAttribute(yt),Cn=Yt?Yt.match(Je):null;if(Cn){let rn=Qe.get(ot);rn||(rn=[],Qe.set(ot,rn)),rn.push({name:yt,value:Cn[1]})}})}_updateSvgIcon(ue){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),ue){const[Ee,Qe]=this._splitIconName(ue);Ee&&(this._svgNamespace=Ee),Qe&&(this._svgName=Qe),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Qe,Ee).pipe((0,Ce.q)(1)).subscribe(rt=>this._setSvgElement(rt),rt=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${Ee}:${Qe}! ${rt.message}`))})}}}return nt.\u0275fac=function(ue){return new(ue||nt)(p.Y36(p.SBq),p.Y36(Dt),p.$8M("aria-hidden"),p.Y36(ut),p.Y36(p.qLn))},nt.\u0275cmp=p.Xpm({type:nt,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(ue,Ee){2&ue&&(p.uIk("data-mat-icon-type",Ee._usingFontIcon()?"font":"svg")("data-mat-icon-name",Ee._svgName||Ee.fontIcon)("data-mat-icon-namespace",Ee._svgNamespace||Ee.fontSet),p.ekj("mat-icon-inline",Ee.inline)("mat-icon-no-color","primary"!==Ee.color&&"accent"!==Ee.color&&"warn"!==Ee.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[p.qOj],ngContentSelectors:Oe,decls:1,vars:0,template:function(ue,Ee){1&ue&&(p.F$t(),p.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[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}\n"],encapsulation:2,changeDetection:0}),nt})(),Ht=(()=>{class nt{}return nt.\u0275fac=function(ue){return new(ue||nt)},nt.\u0275mod=p.oAB({type:nt}),nt.\u0275inj=p.cJS({imports:[[o.BQ],o.BQ]}),nt})()},7481:(Ue,q,_)=>{_.d(q,{Qb:()=>ze,PW:()=>yo});var p=_(3184),o=_(318),j=_(1631);function H(){return"undefined"!=typeof window&&void 0!==window.document}function x(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function L(w){switch(w.length){case 0:return new j.ZN;case 1:return w[0];default:return new j.ZE(w)}}function N(w,u,f,y,S={},R={}){const K=[],Q=[];let pe=-1,Fe=null;if(y.forEach(qe=>{const pt=qe.offset,Lt=pt==pe,Xt=Lt&&Fe||{};Object.keys(qe).forEach(Tt=>{let kt=Tt,Qt=qe[Tt];if("offset"!==Tt)switch(kt=u.normalizePropertyName(kt,K),Qt){case j.k1:Qt=S[Tt];break;case j.l3:Qt=R[Tt];break;default:Qt=u.normalizeStyleValue(Tt,kt,Qt,K)}Xt[kt]=Qt}),Lt||Q.push(Xt),Fe=Xt,pe=pt}),K.length){const qe="\n - ";throw new Error(`Unable to animate due to the following errors:${qe}${K.join(qe)}`)}return Q}function P(w,u,f,y){switch(u){case"start":w.onStart(()=>y(f&&U(f,"start",w)));break;case"done":w.onDone(()=>y(f&&U(f,"done",w)));break;case"destroy":w.onDestroy(()=>y(f&&U(f,"destroy",w)))}}function U(w,u,f){const y=f.totalTime,R=F(w.element,w.triggerName,w.fromState,w.toState,u||w.phaseName,null==y?w.totalTime:y,!!f.disabled),K=w._data;return null!=K&&(R._data=K),R}function F(w,u,f,y,S="",R=0,K){return{element:w,triggerName:u,fromState:f,toState:y,phaseName:S,totalTime:R,disabled:!!K}}function A(w,u,f){let y;return w instanceof Map?(y=w.get(u),y||w.set(u,y=f)):(y=w[u],y||(y=w[u]=f)),y}function z(w){const u=w.indexOf(":");return[w.substring(1,u),w.substr(u+1)]}let X=(w,u)=>!1,J=(w,u)=>!1,G=(w,u,f)=>[];const Z=x();(Z||"undefined"!=typeof Element)&&(X=H()?(w,u)=>{for(;u&&u!==document.documentElement;){if(u===w)return!0;u=u.parentNode||u.host}return!1}:(w,u)=>w.contains(u),J=(()=>{if(Z||Element.prototype.matches)return(w,u)=>w.matches(u);{const w=Element.prototype,u=w.matchesSelector||w.mozMatchesSelector||w.msMatchesSelector||w.oMatchesSelector||w.webkitMatchesSelector;return u?(f,y)=>u.apply(f,[y]):J}})(),G=(w,u,f)=>{let y=[];if(f){const S=w.querySelectorAll(u);for(let R=0;R<S.length;R++)y.push(S[R])}else{const S=w.querySelector(u);S&&y.push(S)}return y});let W=null,he=!1;function Te(w){W||(W=("undefined"!=typeof document?document.body:null)||{},he=!!W.style&&"WebkitAppearance"in W.style);let u=!0;return W.style&&!function(w){return"ebkit"==w.substring(1,6)}(w)&&(u=w in W.style,!u&&he&&(u="Webkit"+w.charAt(0).toUpperCase()+w.substr(1)in W.style)),u}const re=J,De=X,Oe=G;function Ge(w){const u={};return Object.keys(w).forEach(f=>{const y=f.replace(/([a-z])([A-Z])/g,"$1-$2");u[y]=w[f]}),u}let Ke=(()=>{class w{validateStyleProperty(f){return Te(f)}matchesElement(f,y){return re(f,y)}containsElement(f,y){return De(f,y)}query(f,y,S){return Oe(f,y,S)}computeStyle(f,y,S){return S||""}animate(f,y,S,R,K,Q=[],pe){return new j.ZN(S,R)}}return w.\u0275fac=function(f){return new(f||w)},w.\u0275prov=p.Yz7({token:w,factory:w.\u0275fac}),w})(),me=(()=>{class w{}return w.NOOP=new Ke,w})();const Be="ng-enter",we="ng-leave",hn="ng-trigger",Et=".ng-trigger",Nt="ng-animating",It=".ng-animating";function Zt(w){if("number"==typeof w)return w;const u=w.match(/^(-?[\.\d]+)(m?s)/);return!u||u.length<2?0:ut(parseFloat(u[1]),u[2])}function ut(w,u){return"s"===u?1e3*w:w}function Ye(w,u,f){return w.hasOwnProperty("duration")?w:function(w,u,f){let S,R=0,K="";if("string"==typeof w){const Q=w.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Q)return u.push(`The provided timing value "${w}" is invalid.`),{duration:0,delay:0,easing:""};S=ut(parseFloat(Q[1]),Q[2]);const pe=Q[3];null!=pe&&(R=ut(parseFloat(pe),Q[4]));const Fe=Q[5];Fe&&(K=Fe)}else S=w;if(!f){let Q=!1,pe=u.length;S<0&&(u.push("Duration values below 0 are not allowed for this animation step."),Q=!0),R<0&&(u.push("Delay values below 0 are not allowed for this animation step."),Q=!0),Q&&u.splice(pe,0,`The provided timing value "${w}" is invalid.`)}return{duration:S,delay:R,easing:K}}(w,u,f)}function je(w,u={}){return Object.keys(w).forEach(f=>{u[f]=w[f]}),u}function st(w,u,f={}){if(u)for(let y in w)f[y]=w[y];else je(w,f);return f}function Ht(w,u,f){return f?u+":"+f+";":""}function nt(w){let u="";for(let f=0;f<w.style.length;f++){const y=w.style.item(f);u+=Ht(0,y,w.style.getPropertyValue(y))}for(const f in w.style)w.style.hasOwnProperty(f)&&!f.startsWith("_")&&(u+=Ht(0,Ne(f),w.style[f]));w.setAttribute("style",u)}function ft(w,u,f){w.style&&(Object.keys(u).forEach(y=>{const S=rn(y);f&&!f.hasOwnProperty(y)&&(f[y]=w.style[S]),w.style[S]=u[y]}),x()&&nt(w))}function ue(w,u){w.style&&(Object.keys(u).forEach(f=>{const y=rn(f);w.style[y]=""}),x()&&nt(w))}function Ee(w){return Array.isArray(w)?1==w.length?w[0]:(0,j.vP)(w):w}const rt=new RegExp("{{\\s*(.+?)\\s*}}","g");function yt(w){let u=[];if("string"==typeof w){let f;for(;f=rt.exec(w);)u.push(f[1]);rt.lastIndex=0}return u}function ot(w,u,f){const y=w.toString(),S=y.replace(rt,(R,K)=>{let Q=u[K];return u.hasOwnProperty(K)||(f.push(`Please provide a value for the animation param ${K}`),Q=""),Q.toString()});return S==y?w:S}function Yt(w){const u=[];let f=w.next();for(;!f.done;)u.push(f.value),f=w.next();return u}const Cn=/-+([a-z0-9])/g;function rn(w){return w.replace(Cn,(...u)=>u[1].toUpperCase())}function Ne(w){return w.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function ae(w,u){return 0===w||0===u}function le(w,u,f){const y=Object.keys(f);if(y.length&&u.length){let R=u[0],K=[];if(y.forEach(Q=>{R.hasOwnProperty(Q)||K.push(Q),R[Q]=f[Q]}),K.length)for(var S=1;S<u.length;S++){let Q=u[S];K.forEach(function(pe){Q[pe]=xe(w,pe)})}}return u}function Ae(w,u,f){switch(u.type){case 7:return w.visitTrigger(u,f);case 0:return w.visitState(u,f);case 1:return w.visitTransition(u,f);case 2:return w.visitSequence(u,f);case 3:return w.visitGroup(u,f);case 4:return w.visitAnimate(u,f);case 5:return w.visitKeyframes(u,f);case 6:return w.visitStyle(u,f);case 8:return w.visitReference(u,f);case 9:return w.visitAnimateChild(u,f);case 10:return w.visitAnimateRef(u,f);case 11:return w.visitQuery(u,f);case 12:return w.visitStagger(u,f);default:throw new Error(`Unable to resolve animation metadata node #${u.type}`)}}function xe(w,u){return window.getComputedStyle(w)[u]}function We(w,u){const f=[];return"string"==typeof w?w.split(/\s*,\s*/).forEach(y=>function(w,u,f){if(":"==w[0]){const pe=function(w,u){switch(w){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(f,y)=>parseFloat(y)>parseFloat(f);case":decrement":return(f,y)=>parseFloat(y)<parseFloat(f);default:return u.push(`The transition alias value "${w}" is not supported`),"* => *"}}(w,f);if("function"==typeof pe)return void u.push(pe);w=pe}const y=w.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==y||y.length<4)return f.push(`The provided transition expression "${w}" is not supported`),u;const S=y[1],R=y[2],K=y[3];u.push(Vt(S,K));"<"==R[0]&&!("*"==S&&"*"==K)&&u.push(Vt(K,S))}(y,f,u)):f.push(w),f}const ln=new Set(["true","1"]),$t=new Set(["false","0"]);function Vt(w,u){const f=ln.has(w)||$t.has(w),y=ln.has(u)||$t.has(u);return(S,R)=>{let K="*"==w||w==S,Q="*"==u||u==R;return!K&&f&&"boolean"==typeof S&&(K=S?ln.has(w):$t.has(w)),!Q&&y&&"boolean"==typeof R&&(Q=R?ln.has(u):$t.has(u)),K&&Q}}const Bt=new RegExp("s*:selfs*,?","g");function bt(w,u,f){return new se(w).build(u,f)}class se{constructor(u){this._driver=u}build(u,f){const y=new Mt(f);return this._resetContextStyleTimingState(y),Ae(this,Ee(u),y)}_resetContextStyleTimingState(u){u.currentQuerySelector="",u.collectedStyles={},u.collectedStyles[""]={},u.currentTime=0}visitTrigger(u,f){let y=f.queryCount=0,S=f.depCount=0;const R=[],K=[];return"@"==u.name.charAt(0)&&f.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),u.definitions.forEach(Q=>{if(this._resetContextStyleTimingState(f),0==Q.type){const pe=Q,Fe=pe.name;Fe.toString().split(/\s*,\s*/).forEach(qe=>{pe.name=qe,R.push(this.visitState(pe,f))}),pe.name=Fe}else if(1==Q.type){const pe=this.visitTransition(Q,f);y+=pe.queryCount,S+=pe.depCount,K.push(pe)}else f.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:u.name,states:R,transitions:K,queryCount:y,depCount:S,options:null}}visitState(u,f){const y=this.visitStyle(u.styles,f),S=u.options&&u.options.params||null;if(y.containsDynamicStyles){const R=new Set,K=S||{};if(y.styles.forEach(Q=>{if(oe(Q)){const pe=Q;Object.keys(pe).forEach(Fe=>{yt(pe[Fe]).forEach(qe=>{K.hasOwnProperty(qe)||R.add(qe)})})}}),R.size){const Q=Yt(R.values());f.errors.push(`state("${u.name}", ...) must define default values for all the following style substitutions: ${Q.join(", ")}`)}}return{type:0,name:u.name,style:y,options:S?{params:S}:null}}visitTransition(u,f){f.queryCount=0,f.depCount=0;const y=Ae(this,Ee(u.animation),f);return{type:1,matchers:We(u.expr,f.errors),animation:y,queryCount:f.queryCount,depCount:f.depCount,options:_e(u.options)}}visitSequence(u,f){return{type:2,steps:u.steps.map(y=>Ae(this,y,f)),options:_e(u.options)}}visitGroup(u,f){const y=f.currentTime;let S=0;const R=u.steps.map(K=>{f.currentTime=y;const Q=Ae(this,K,f);return S=Math.max(S,f.currentTime),Q});return f.currentTime=S,{type:3,steps:R,options:_e(u.options)}}visitAnimate(u,f){const y=function(w,u){let f=null;if(w.hasOwnProperty("duration"))f=w;else if("number"==typeof w)return Me(Ye(w,u).duration,0,"");const y=w;if(y.split(/\s+/).some(R=>"{"==R.charAt(0)&&"{"==R.charAt(1))){const R=Me(0,0,"");return R.dynamic=!0,R.strValue=y,R}return f=f||Ye(y,u),Me(f.duration,f.delay,f.easing)}(u.timings,f.errors);f.currentAnimateTimings=y;let S,R=u.styles?u.styles:(0,j.oB)({});if(5==R.type)S=this.visitKeyframes(R,f);else{let K=u.styles,Q=!1;if(!K){Q=!0;const Fe={};y.easing&&(Fe.easing=y.easing),K=(0,j.oB)(Fe)}f.currentTime+=y.duration+y.delay;const pe=this.visitStyle(K,f);pe.isEmptyStep=Q,S=pe}return f.currentAnimateTimings=null,{type:4,timings:y,style:S,options:null}}visitStyle(u,f){const y=this._makeStyleAst(u,f);return this._validateStyleAst(y,f),y}_makeStyleAst(u,f){const y=[];Array.isArray(u.styles)?u.styles.forEach(K=>{"string"==typeof K?K==j.l3?y.push(K):f.errors.push(`The provided style string value ${K} is not allowed.`):y.push(K)}):y.push(u.styles);let S=!1,R=null;return y.forEach(K=>{if(oe(K)){const Q=K,pe=Q.easing;if(pe&&(R=pe,delete Q.easing),!S)for(let Fe in Q)if(Q[Fe].toString().indexOf("{{")>=0){S=!0;break}}}),{type:6,styles:y,easing:R,offset:u.offset,containsDynamicStyles:S,options:null}}_validateStyleAst(u,f){const y=f.currentAnimateTimings;let S=f.currentTime,R=f.currentTime;y&&R>0&&(R-=y.duration+y.delay),u.styles.forEach(K=>{"string"!=typeof K&&Object.keys(K).forEach(Q=>{if(!this._driver.validateStyleProperty(Q))return void f.errors.push(`The provided animation property "${Q}" is not a supported CSS property for animations`);const pe=f.collectedStyles[f.currentQuerySelector],Fe=pe[Q];let qe=!0;Fe&&(R!=S&&R>=Fe.startTime&&S<=Fe.endTime&&(f.errors.push(`The CSS property "${Q}" that exists between the times of "${Fe.startTime}ms" and "${Fe.endTime}ms" is also being animated in a parallel animation between the times of "${R}ms" and "${S}ms"`),qe=!1),R=Fe.startTime),qe&&(pe[Q]={startTime:R,endTime:S}),f.options&&function(w,u,f){const y=u.params||{},S=yt(w);S.length&&S.forEach(R=>{y.hasOwnProperty(R)||f.push(`Unable to resolve the local animation param ${R} in the given list of values`)})}(K[Q],f.options,f.errors)})})}visitKeyframes(u,f){const y={type:5,styles:[],options:null};if(!f.currentAnimateTimings)return f.errors.push("keyframes() must be placed inside of a call to animate()"),y;let R=0;const K=[];let Q=!1,pe=!1,Fe=0;const qe=u.steps.map(Sn=>{const dn=this._makeStyleAst(Sn,f);let Tn=null!=dn.offset?dn.offset:function(w){if("string"==typeof w)return null;let u=null;if(Array.isArray(w))w.forEach(f=>{if(oe(f)&&f.hasOwnProperty("offset")){const y=f;u=parseFloat(y.offset),delete y.offset}});else if(oe(w)&&w.hasOwnProperty("offset")){const f=w;u=parseFloat(f.offset),delete f.offset}return u}(dn.styles),Nn=0;return null!=Tn&&(R++,Nn=dn.offset=Tn),pe=pe||Nn<0||Nn>1,Q=Q||Nn<Fe,Fe=Nn,K.push(Nn),dn});pe&&f.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),Q&&f.errors.push("Please ensure that all keyframe offsets are in order");const pt=u.steps.length;let Lt=0;R>0&&R<pt?f.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==R&&(Lt=1/(pt-1));const Xt=pt-1,Tt=f.currentTime,kt=f.currentAnimateTimings,Qt=kt.duration;return qe.forEach((Sn,dn)=>{const Tn=Lt>0?dn==Xt?1:Lt*dn:K[dn],Nn=Tn*Qt;f.currentTime=Tt+kt.delay+Nn,kt.duration=Nn,this._validateStyleAst(Sn,f),Sn.offset=Tn,y.styles.push(Sn)}),y}visitReference(u,f){return{type:8,animation:Ae(this,Ee(u.animation),f),options:_e(u.options)}}visitAnimateChild(u,f){return f.depCount++,{type:9,options:_e(u.options)}}visitAnimateRef(u,f){return{type:10,animation:this.visitReference(u.animation,f),options:_e(u.options)}}visitQuery(u,f){const y=f.currentQuerySelector,S=u.options||{};f.queryCount++,f.currentQuery=u;const[R,K]=function(w){const u=!!w.split(/\s*,\s*/).find(f=>":self"==f);return u&&(w=w.replace(Bt,"")),w=w.replace(/@\*/g,Et).replace(/@\w+/g,f=>Et+"-"+f.substr(1)).replace(/:animating/g,It),[w,u]}(u.selector);f.currentQuerySelector=y.length?y+" "+R:R,A(f.collectedStyles,f.currentQuerySelector,{});const Q=Ae(this,Ee(u.animation),f);return f.currentQuery=null,f.currentQuerySelector=y,{type:11,selector:R,limit:S.limit||0,optional:!!S.optional,includeSelf:K,animation:Q,originalSelector:u.selector,options:_e(u.options)}}visitStagger(u,f){f.currentQuery||f.errors.push("stagger() can only be used inside of query()");const y="full"===u.timings?{duration:0,delay:0,easing:"full"}:Ye(u.timings,f.errors,!0);return{type:12,animation:Ae(this,Ee(u.animation),f),timings:y,options:null}}}class Mt{constructor(u){this.errors=u,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function oe(w){return!Array.isArray(w)&&"object"==typeof w}function _e(w){return w?(w=je(w)).params&&(w.params=function(w){return w?je(w):null}(w.params)):w={},w}function Me(w,u,f){return{duration:w,delay:u,easing:f}}function et(w,u,f,y,S,R,K=null,Q=!1){return{type:1,element:w,keyframes:u,preStyleProps:f,postStyleProps:y,duration:S,delay:R,totalTime:S+R,easing:K,subTimeline:Q}}class wt{constructor(){this._map=new Map}consume(u){let f=this._map.get(u);return f?this._map.delete(u):f=[],f}append(u,f){let y=this._map.get(u);y||this._map.set(u,y=[]),y.push(...f)}has(u){return this._map.has(u)}clear(){this._map.clear()}}const ve=new RegExp(":enter","g"),$=new RegExp(":leave","g");function fe(w,u,f,y,S,R={},K={},Q,pe,Fe=[]){return(new Le).buildKeyframes(w,u,f,y,S,R,K,Q,pe,Fe)}class Le{buildKeyframes(u,f,y,S,R,K,Q,pe,Fe,qe=[]){Fe=Fe||new wt;const pt=new Rt(u,f,Fe,S,R,qe,[]);pt.options=pe,pt.currentTimeline.setStyles([K],null,pt.errors,pe),Ae(this,y,pt);const Lt=pt.timelines.filter(Xt=>Xt.containsAnimation());if(Lt.length&&Object.keys(Q).length){const Xt=Lt[Lt.length-1];Xt.allowOnlyTimelineStyles()||Xt.setStyles([Q],null,pt.errors,pe)}return Lt.length?Lt.map(Xt=>Xt.buildKeyframes()):[et(f,[],[],[],0,0,"",!1)]}visitTrigger(u,f){}visitState(u,f){}visitTransition(u,f){}visitAnimateChild(u,f){const y=f.subInstructions.consume(f.element);if(y){const S=f.createSubContext(u.options),R=f.currentTimeline.currentTime,K=this._visitSubInstructions(y,S,S.options);R!=K&&f.transformIntoNewTimeline(K)}f.previousNode=u}visitAnimateRef(u,f){const y=f.createSubContext(u.options);y.transformIntoNewTimeline(),this.visitReference(u.animation,y),f.transformIntoNewTimeline(y.currentTimeline.currentTime),f.previousNode=u}_visitSubInstructions(u,f,y){let R=f.currentTimeline.currentTime;const K=null!=y.duration?Zt(y.duration):null,Q=null!=y.delay?Zt(y.delay):null;return 0!==K&&u.forEach(pe=>{const Fe=f.appendInstructionToTimeline(pe,K,Q);R=Math.max(R,Fe.duration+Fe.delay)}),R}visitReference(u,f){f.updateOptions(u.options,!0),Ae(this,u.animation,f),f.previousNode=u}visitSequence(u,f){const y=f.subContextCount;let S=f;const R=u.options;if(R&&(R.params||R.delay)&&(S=f.createSubContext(R),S.transformIntoNewTimeline(),null!=R.delay)){6==S.previousNode.type&&(S.currentTimeline.snapshotCurrentStyles(),S.previousNode=_t);const K=Zt(R.delay);S.delayNextStep(K)}u.steps.length&&(u.steps.forEach(K=>Ae(this,K,S)),S.currentTimeline.applyStylesToKeyframe(),S.subContextCount>y&&S.transformIntoNewTimeline()),f.previousNode=u}visitGroup(u,f){const y=[];let S=f.currentTimeline.currentTime;const R=u.options&&u.options.delay?Zt(u.options.delay):0;u.steps.forEach(K=>{const Q=f.createSubContext(u.options);R&&Q.delayNextStep(R),Ae(this,K,Q),S=Math.max(S,Q.currentTimeline.currentTime),y.push(Q.currentTimeline)}),y.forEach(K=>f.currentTimeline.mergeTimelineCollectedStyles(K)),f.transformIntoNewTimeline(S),f.previousNode=u}_visitTiming(u,f){if(u.dynamic){const y=u.strValue;return Ye(f.params?ot(y,f.params,f.errors):y,f.errors)}return{duration:u.duration,delay:u.delay,easing:u.easing}}visitAnimate(u,f){const y=f.currentAnimateTimings=this._visitTiming(u.timings,f),S=f.currentTimeline;y.delay&&(f.incrementTime(y.delay),S.snapshotCurrentStyles());const R=u.style;5==R.type?this.visitKeyframes(R,f):(f.incrementTime(y.duration),this.visitStyle(R,f),S.applyStylesToKeyframe()),f.currentAnimateTimings=null,f.previousNode=u}visitStyle(u,f){const y=f.currentTimeline,S=f.currentAnimateTimings;!S&&y.getCurrentStyleProperties().length&&y.forwardFrame();const R=S&&S.easing||u.easing;u.isEmptyStep?y.applyEmptyStep(R):y.setStyles(u.styles,R,f.errors,f.options),f.previousNode=u}visitKeyframes(u,f){const y=f.currentAnimateTimings,S=f.currentTimeline.duration,R=y.duration,Q=f.createSubContext().currentTimeline;Q.easing=y.easing,u.styles.forEach(pe=>{Q.forwardTime((pe.offset||0)*R),Q.setStyles(pe.styles,pe.easing,f.errors,f.options),Q.applyStylesToKeyframe()}),f.currentTimeline.mergeTimelineCollectedStyles(Q),f.transformIntoNewTimeline(S+R),f.previousNode=u}visitQuery(u,f){const y=f.currentTimeline.currentTime,S=u.options||{},R=S.delay?Zt(S.delay):0;R&&(6===f.previousNode.type||0==y&&f.currentTimeline.getCurrentStyleProperties().length)&&(f.currentTimeline.snapshotCurrentStyles(),f.previousNode=_t);let K=y;const Q=f.invokeQuery(u.selector,u.originalSelector,u.limit,u.includeSelf,!!S.optional,f.errors);f.currentQueryTotal=Q.length;let pe=null;Q.forEach((Fe,qe)=>{f.currentQueryIndex=qe;const pt=f.createSubContext(u.options,Fe);R&&pt.delayNextStep(R),Fe===f.element&&(pe=pt.currentTimeline),Ae(this,u.animation,pt),pt.currentTimeline.applyStylesToKeyframe(),K=Math.max(K,pt.currentTimeline.currentTime)}),f.currentQueryIndex=0,f.currentQueryTotal=0,f.transformIntoNewTimeline(K),pe&&(f.currentTimeline.mergeTimelineCollectedStyles(pe),f.currentTimeline.snapshotCurrentStyles()),f.previousNode=u}visitStagger(u,f){const y=f.parentContext,S=f.currentTimeline,R=u.timings,K=Math.abs(R.duration),Q=K*(f.currentQueryTotal-1);let pe=K*f.currentQueryIndex;switch(R.duration<0?"reverse":R.easing){case"reverse":pe=Q-pe;break;case"full":pe=y.currentStaggerTime}const qe=f.currentTimeline;pe&&qe.delayNextStep(pe);const pt=qe.currentTime;Ae(this,u.animation,f),f.previousNode=u,y.currentStaggerTime=S.currentTime-pt+(S.startTime-y.currentTimeline.startTime)}}const _t={};class Rt{constructor(u,f,y,S,R,K,Q,pe){this._driver=u,this.element=f,this.subInstructions=y,this._enterClassName=S,this._leaveClassName=R,this.errors=K,this.timelines=Q,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=_t,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=pe||new qt(this._driver,f,0),Q.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(u,f){if(!u)return;const y=u;let S=this.options;null!=y.duration&&(S.duration=Zt(y.duration)),null!=y.delay&&(S.delay=Zt(y.delay));const R=y.params;if(R){let K=S.params;K||(K=this.options.params={}),Object.keys(R).forEach(Q=>{(!f||!K.hasOwnProperty(Q))&&(K[Q]=ot(R[Q],K,this.errors))})}}_copyOptions(){const u={};if(this.options){const f=this.options.params;if(f){const y=u.params={};Object.keys(f).forEach(S=>{y[S]=f[S]})}}return u}createSubContext(u=null,f,y){const S=f||this.element,R=new Rt(this._driver,S,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(S,y||0));return R.previousNode=this.previousNode,R.currentAnimateTimings=this.currentAnimateTimings,R.options=this._copyOptions(),R.updateOptions(u),R.currentQueryIndex=this.currentQueryIndex,R.currentQueryTotal=this.currentQueryTotal,R.parentContext=this,this.subContextCount++,R}transformIntoNewTimeline(u){return this.previousNode=_t,this.currentTimeline=this.currentTimeline.fork(this.element,u),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(u,f,y){const S={duration:null!=f?f:u.duration,delay:this.currentTimeline.currentTime+(null!=y?y:0)+u.delay,easing:""},R=new xn(this._driver,u.element,u.keyframes,u.preStyleProps,u.postStyleProps,S,u.stretchStartingKeyframe);return this.timelines.push(R),S}incrementTime(u){this.currentTimeline.forwardTime(this.currentTimeline.duration+u)}delayNextStep(u){u>0&&this.currentTimeline.delayNextStep(u)}invokeQuery(u,f,y,S,R,K){let Q=[];if(S&&Q.push(this.element),u.length>0){u=(u=u.replace(ve,"."+this._enterClassName)).replace($,"."+this._leaveClassName);let Fe=this._driver.query(this.element,u,1!=y);0!==y&&(Fe=y<0?Fe.slice(Fe.length+y,Fe.length):Fe.slice(0,y)),Q.push(...Fe)}return!R&&0==Q.length&&K.push(`\`query("${f}")\` returned zero elements. (Use \`query("${f}", { optional: true })\` if you wish to allow this.)`),Q}}class qt{constructor(u,f,y,S){this._driver=u,this.element=f,this.startTime=y,this._elementTimelineStylesLookup=S,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(f),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(f,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(u){const f=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||f?(this.forwardTime(this.currentTime+u),f&&this.snapshotCurrentStyles()):this.startTime+=u}fork(u,f){return this.applyStylesToKeyframe(),new qt(this._driver,u,f||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(u){this.applyStylesToKeyframe(),this.duration=u,this._loadKeyframe()}_updateStyle(u,f){this._localTimelineStyles[u]=f,this._globalTimelineStyles[u]=f,this._styleSummary[u]={time:this.currentTime,value:f}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(u){u&&(this._previousKeyframe.easing=u),Object.keys(this._globalTimelineStyles).forEach(f=>{this._backFill[f]=this._globalTimelineStyles[f]||j.l3,this._currentKeyframe[f]=j.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(u,f,y,S){f&&(this._previousKeyframe.easing=f);const R=S&&S.params||{},K=function(w,u){const f={};let y;return w.forEach(S=>{"*"===S?(y=y||Object.keys(u),y.forEach(R=>{f[R]=j.l3})):st(S,!1,f)}),f}(u,this._globalTimelineStyles);Object.keys(K).forEach(Q=>{const pe=ot(K[Q],R,y);this._pendingStyles[Q]=pe,this._localTimelineStyles.hasOwnProperty(Q)||(this._backFill[Q]=this._globalTimelineStyles.hasOwnProperty(Q)?this._globalTimelineStyles[Q]:j.l3),this._updateStyle(Q,pe)})}applyStylesToKeyframe(){const u=this._pendingStyles,f=Object.keys(u);0!=f.length&&(this._pendingStyles={},f.forEach(y=>{this._currentKeyframe[y]=u[y]}),Object.keys(this._localTimelineStyles).forEach(y=>{this._currentKeyframe.hasOwnProperty(y)||(this._currentKeyframe[y]=this._localTimelineStyles[y])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(u=>{const f=this._localTimelineStyles[u];this._pendingStyles[u]=f,this._updateStyle(u,f)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const u=[];for(let f in this._currentKeyframe)u.push(f);return u}mergeTimelineCollectedStyles(u){Object.keys(u._styleSummary).forEach(f=>{const y=this._styleSummary[f],S=u._styleSummary[f];(!y||S.time>y.time)&&this._updateStyle(f,S.value)})}buildKeyframes(){this.applyStylesToKeyframe();const u=new Set,f=new Set,y=1===this._keyframes.size&&0===this.duration;let S=[];this._keyframes.forEach((Q,pe)=>{const Fe=st(Q,!0);Object.keys(Fe).forEach(qe=>{const pt=Fe[qe];pt==j.k1?u.add(qe):pt==j.l3&&f.add(qe)}),y||(Fe.offset=pe/this.duration),S.push(Fe)});const R=u.size?Yt(u.values()):[],K=f.size?Yt(f.values()):[];if(y){const Q=S[0],pe=je(Q);Q.offset=0,pe.offset=1,S=[Q,pe]}return et(this.element,S,R,K,this.duration,this.startTime,this.easing,!1)}}class xn extends qt{constructor(u,f,y,S,R,K,Q=!1){super(u,f,K.delay),this.keyframes=y,this.preStyleProps=S,this.postStyleProps=R,this._stretchStartingKeyframe=Q,this.timings={duration:K.duration,delay:K.delay,easing:K.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let u=this.keyframes,{delay:f,duration:y,easing:S}=this.timings;if(this._stretchStartingKeyframe&&f){const R=[],K=y+f,Q=f/K,pe=st(u[0],!1);pe.offset=0,R.push(pe);const Fe=st(u[0],!1);Fe.offset=br(Q),R.push(Fe);const qe=u.length-1;for(let pt=1;pt<=qe;pt++){let Lt=st(u[pt],!1);Lt.offset=br((f+Lt.offset*y)/K),R.push(Lt)}y=K,f=0,S="",u=R}return et(this.element,u,this.preStyleProps,this.postStyleProps,y,f,S,!0)}}function br(w,u=3){const f=Math.pow(10,u-1);return Math.round(w*f)/f}class gr{}class os extends gr{normalizePropertyName(u,f){return rn(u)}normalizeStyleValue(u,f,y,S){let R="";const K=y.toString().trim();if(Kn[f]&&0!==y&&"0"!==y)if("number"==typeof y)R="px";else{const Q=y.match(/^[+-]?[\d\.]+([a-z]*)$/);Q&&0==Q[1].length&&S.push(`Please provide a CSS unit value for ${u}:${y}`)}return K+R}}const Kn=(()=>function(w){const u={};return w.forEach(f=>u[f]=!0),u}("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".split(",")))();function Pt(w,u,f,y,S,R,K,Q,pe,Fe,qe,pt,Lt){return{type:0,element:w,triggerName:u,isRemovalTransition:S,fromState:f,fromStyles:R,toState:y,toStyles:K,timelines:Q,queriedElements:pe,preStyleProps:Fe,postStyleProps:qe,totalTime:pt,errors:Lt}}const un={};class Zn{constructor(u,f,y){this._triggerName=u,this.ast=f,this._stateStyles=y}match(u,f,y,S){return function(w,u,f,y,S){return w.some(R=>R(u,f,y,S))}(this.ast.matchers,u,f,y,S)}buildStyles(u,f,y){const S=this._stateStyles["*"],R=this._stateStyles[u],K=S?S.buildStyles(f,y):{};return R?R.buildStyles(f,y):K}build(u,f,y,S,R,K,Q,pe,Fe,qe){const pt=[],Lt=this.ast.options&&this.ast.options.params||un,Tt=this.buildStyles(y,Q&&Q.params||un,pt),kt=pe&&pe.params||un,Qt=this.buildStyles(S,kt,pt),Sn=new Set,dn=new Map,Tn=new Map,Nn="void"===S,fi={params:Object.assign(Object.assign({},Lt),kt)},cr=qe?[]:fe(u,f,this.ast.animation,R,K,Tt,Qt,fi,Fe,pt);let Vn=0;if(cr.forEach(Fr=>{Vn=Math.max(Fr.duration+Fr.delay,Vn)}),pt.length)return Pt(f,this._triggerName,y,S,Nn,Tt,Qt,[],[],dn,Tn,Vn,pt);cr.forEach(Fr=>{const Cr=Fr.element,Nr=A(dn,Cr,{});Fr.preStyleProps.forEach(pi=>Nr[pi]=!0);const Zi=A(Tn,Cr,{});Fr.postStyleProps.forEach(pi=>Zi[pi]=!0),Cr!==f&&Sn.add(Cr)});const Pr=Yt(Sn.values());return Pt(f,this._triggerName,y,S,Nn,Tt,Qt,cr,Pr,dn,Tn,Vn)}}class Mn{constructor(u,f,y){this.styles=u,this.defaultParams=f,this.normalizer=y}buildStyles(u,f){const y={},S=je(this.defaultParams);return Object.keys(u).forEach(R=>{const K=u[R];null!=K&&(S[R]=K)}),this.styles.styles.forEach(R=>{if("string"!=typeof R){const K=R;Object.keys(K).forEach(Q=>{let pe=K[Q];pe.length>1&&(pe=ot(pe,S,f));const Fe=this.normalizer.normalizePropertyName(Q,f);pe=this.normalizer.normalizeStyleValue(Q,Fe,pe,f),y[Fe]=pe})}}),y}}class bn{constructor(u,f,y){this.name=u,this.ast=f,this._normalizer=y,this.transitionFactories=[],this.states={},f.states.forEach(S=>{this.states[S.name]=new Mn(S.style,S.options&&S.options.params||{},y)}),Ur(this.states,"true","1"),Ur(this.states,"false","0"),f.transitions.forEach(S=>{this.transitionFactories.push(new Zn(u,S,this.states))}),this.fallbackTransition=function(w,u,f){return new Zn(w,{type:1,animation:{type:2,steps:[],options:null},matchers:[(K,Q)=>!0],options:null,queryCount:0,depCount:0},u)}(u,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(u,f,y,S){return this.transitionFactories.find(K=>K.match(u,f,y,S))||null}matchStyles(u,f,y){return this.fallbackTransition.buildStyles(u,f,y)}}function Ur(w,u,f){w.hasOwnProperty(u)?w.hasOwnProperty(f)||(w[f]=w[u]):w.hasOwnProperty(f)&&(w[u]=w[f])}const Ut=new wt;class ii{constructor(u,f,y){this.bodyNode=u,this._driver=f,this._normalizer=y,this._animations={},this._playersById={},this.players=[]}register(u,f){const y=[],S=bt(this._driver,f,y);if(y.length)throw new Error(`Unable to build the animation due to the following errors: ${y.join("\n")}`);this._animations[u]=S}_buildPlayer(u,f,y){const S=u.element,R=N(0,this._normalizer,0,u.keyframes,f,y);return this._driver.animate(S,R,u.duration,u.delay,u.easing,[],!0)}create(u,f,y={}){const S=[],R=this._animations[u];let K;const Q=new Map;if(R?(K=fe(this._driver,f,R,Be,we,{},{},y,Ut,S),K.forEach(qe=>{const pt=A(Q,qe.element,{});qe.postStyleProps.forEach(Lt=>pt[Lt]=null)})):(S.push("The requested animation doesn't exist or has already been destroyed"),K=[]),S.length)throw new Error(`Unable to create the animation due to the following errors: ${S.join("\n")}`);Q.forEach((qe,pt)=>{Object.keys(qe).forEach(Lt=>{qe[Lt]=this._driver.computeStyle(pt,Lt,j.l3)})});const Fe=L(K.map(qe=>{const pt=Q.get(qe.element);return this._buildPlayer(qe,{},pt)}));return this._playersById[u]=Fe,Fe.onDestroy(()=>this.destroy(u)),this.players.push(Fe),Fe}destroy(u){const f=this._getPlayer(u);f.destroy(),delete this._playersById[u];const y=this.players.indexOf(f);y>=0&&this.players.splice(y,1)}_getPlayer(u){const f=this._playersById[u];if(!f)throw new Error(`Unable to find the timeline player referenced by ${u}`);return f}listen(u,f,y,S){const R=F(f,"","","");return P(this._getPlayer(u),y,R,S),()=>{}}command(u,f,y,S){if("register"==y)return void this.register(u,S[0]);if("create"==y)return void this.create(u,f,S[0]||{});const R=this._getPlayer(u);switch(y){case"play":R.play();break;case"pause":R.pause();break;case"reset":R.reset();break;case"restart":R.restart();break;case"finish":R.finish();break;case"init":R.init();break;case"setPosition":R.setPosition(parseFloat(S[0]));break;case"destroy":this.destroy(u)}}}const Dr="ng-animate-queued",nr="ng-animate-disabled",Pn=".ng-animate-disabled",wn=[],sn={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},si={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Un="__ng_removed";class yn{constructor(u,f=""){this.namespaceId=f;const y=u&&u.hasOwnProperty("value");if(this.value=null!=(w=y?u.value:u)?w:null,y){const R=je(u);delete R.value,this.options=R}else this.options={};var w;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(u){const f=u.params;if(f){const y=this.options.params;Object.keys(f).forEach(S=>{null==y[S]&&(y[S]=f[S])})}}}const An="void",lr=new yn(An);class jr{constructor(u,f,y){this.id=u,this.hostElement=f,this._engine=y,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+u,Jn(f,this._hostClassName)}listen(u,f,y,S){if(!this._triggers.hasOwnProperty(f))throw new Error(`Unable to listen on the animation trigger event "${y}" because the animation trigger "${f}" doesn't exist!`);if(null==y||0==y.length)throw new Error(`Unable to listen on the animation trigger "${f}" because the provided event is undefined!`);if("start"!=(w=y)&&"done"!=w)throw new Error(`The provided animation trigger event "${y}" for the animation trigger "${f}" is not supported!`);var w;const R=A(this._elementListeners,u,[]),K={name:f,phase:y,callback:S};R.push(K);const Q=A(this._engine.statesByElement,u,{});return Q.hasOwnProperty(f)||(Jn(u,hn),Jn(u,hn+"-"+f),Q[f]=lr),()=>{this._engine.afterFlush(()=>{const pe=R.indexOf(K);pe>=0&&R.splice(pe,1),this._triggers[f]||delete Q[f]})}}register(u,f){return!this._triggers[u]&&(this._triggers[u]=f,!0)}_getTrigger(u){const f=this._triggers[u];if(!f)throw new Error(`The provided animation trigger "${u}" has not been registered!`);return f}trigger(u,f,y,S=!0){const R=this._getTrigger(f),K=new On(this.id,f,u);let Q=this._engine.statesByElement.get(u);Q||(Jn(u,hn),Jn(u,hn+"-"+f),this._engine.statesByElement.set(u,Q={}));let pe=Q[f];const Fe=new yn(y,this.id);if(!(y&&y.hasOwnProperty("value"))&&pe&&Fe.absorbOptions(pe.options),Q[f]=Fe,pe||(pe=lr),Fe.value!==An&&pe.value===Fe.value){if(!function(w,u){const f=Object.keys(w),y=Object.keys(u);if(f.length!=y.length)return!1;for(let S=0;S<f.length;S++){const R=f[S];if(!u.hasOwnProperty(R)||w[R]!==u[R])return!1}return!0}(pe.params,Fe.params)){const kt=[],Qt=R.matchStyles(pe.value,pe.params,kt),Sn=R.matchStyles(Fe.value,Fe.params,kt);kt.length?this._engine.reportError(kt):this._engine.afterFlush(()=>{ue(u,Qt),ft(u,Sn)})}return}const Lt=A(this._engine.playersByElement,u,[]);Lt.forEach(kt=>{kt.namespaceId==this.id&&kt.triggerName==f&&kt.queued&&kt.destroy()});let Xt=R.matchTransition(pe.value,Fe.value,u,Fe.params),Tt=!1;if(!Xt){if(!S)return;Xt=R.fallbackTransition,Tt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:f,transition:Xt,fromState:pe,toState:Fe,player:K,isFallbackTransition:Tt}),Tt||(Jn(u,Dr),K.onStart(()=>{ai(u,Dr)})),K.onDone(()=>{let kt=this.players.indexOf(K);kt>=0&&this.players.splice(kt,1);const Qt=this._engine.playersByElement.get(u);if(Qt){let Sn=Qt.indexOf(K);Sn>=0&&Qt.splice(Sn,1)}}),this.players.push(K),Lt.push(K),K}deregister(u){delete this._triggers[u],this._engine.statesByElement.forEach((f,y)=>{delete f[u]}),this._elementListeners.forEach((f,y)=>{this._elementListeners.set(y,f.filter(S=>S.name!=u))})}clearElementCache(u){this._engine.statesByElement.delete(u),this._elementListeners.delete(u);const f=this._engine.playersByElement.get(u);f&&(f.forEach(y=>y.destroy()),this._engine.playersByElement.delete(u))}_signalRemovalForInnerTriggers(u,f){const y=this._engine.driver.query(u,Et,!0);y.forEach(S=>{if(S[Un])return;const R=this._engine.fetchNamespacesByElement(S);R.size?R.forEach(K=>K.triggerLeaveAnimation(S,f,!1,!0)):this.clearElementCache(S)}),this._engine.afterFlushAnimationsDone(()=>y.forEach(S=>this.clearElementCache(S)))}triggerLeaveAnimation(u,f,y,S){const R=this._engine.statesByElement.get(u);if(R){const K=[];if(Object.keys(R).forEach(Q=>{if(this._triggers[Q]){const pe=this.trigger(u,Q,An,S);pe&&K.push(pe)}}),K.length)return this._engine.markElementAsRemoved(this.id,u,!0,f),y&&L(K).onDone(()=>this._engine.processLeaveNode(u)),!0}return!1}prepareLeaveAnimationListeners(u){const f=this._elementListeners.get(u),y=this._engine.statesByElement.get(u);if(f&&y){const S=new Set;f.forEach(R=>{const K=R.name;if(S.has(K))return;S.add(K);const pe=this._triggers[K].fallbackTransition,Fe=y[K]||lr,qe=new yn(An),pt=new On(this.id,K,u);this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:K,transition:pe,fromState:Fe,toState:qe,player:pt,isFallbackTransition:!0})})}}removeNode(u,f){const y=this._engine;if(u.childElementCount&&this._signalRemovalForInnerTriggers(u,f),this.triggerLeaveAnimation(u,f,!0))return;let S=!1;if(y.totalAnimations){const R=y.players.length?y.playersByQueriedElement.get(u):[];if(R&&R.length)S=!0;else{let K=u;for(;K=K.parentNode;)if(y.statesByElement.get(K)){S=!0;break}}}if(this.prepareLeaveAnimationListeners(u),S)y.markElementAsRemoved(this.id,u,!1,f);else{const R=u[Un];(!R||R===sn)&&(y.afterFlush(()=>this.clearElementCache(u)),y.destroyInnerAnimations(u),y._onRemovalComplete(u,f))}}insertNode(u,f){Jn(u,this._hostClassName)}drainQueuedTransitions(u){const f=[];return this._queue.forEach(y=>{const S=y.player;if(S.destroyed)return;const R=y.element,K=this._elementListeners.get(R);K&&K.forEach(Q=>{if(Q.name==y.triggerName){const pe=F(R,y.triggerName,y.fromState.value,y.toState.value);pe._data=u,P(y.player,Q.phase,pe,Q.callback)}}),S.markedForDestroy?this._engine.afterFlush(()=>{S.destroy()}):f.push(y)}),this._queue=[],f.sort((y,S)=>{const R=y.transition.ast.depCount,K=S.transition.ast.depCount;return 0==R||0==K?R-K:this._engine.driver.containsElement(y.element,S.element)?1:-1})}destroy(u){this.players.forEach(f=>f.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,u)}elementContainsData(u){let f=!1;return this._elementListeners.has(u)&&(f=!0),f=!!this._queue.find(y=>y.element===u)||f,f}}class oi{constructor(u,f,y){this.bodyNode=u,this.driver=f,this._normalizer=y,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=(S,R)=>{}}_onRemovalComplete(u,f){this.onRemovalComplete(u,f)}get queuedPlayers(){const u=[];return this._namespaceList.forEach(f=>{f.players.forEach(y=>{y.queued&&u.push(y)})}),u}createNamespace(u,f){const y=new jr(u,f,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,f)?this._balanceNamespaceList(y,f):(this.newHostElements.set(f,y),this.collectEnterElement(f)),this._namespaceLookup[u]=y}_balanceNamespaceList(u,f){const y=this._namespaceList.length-1;if(y>=0){let S=!1;for(let R=y;R>=0;R--)if(this.driver.containsElement(this._namespaceList[R].hostElement,f)){this._namespaceList.splice(R+1,0,u),S=!0;break}S||this._namespaceList.splice(0,0,u)}else this._namespaceList.push(u);return this.namespacesByHostElement.set(f,u),u}register(u,f){let y=this._namespaceLookup[u];return y||(y=this.createNamespace(u,f)),y}registerTrigger(u,f,y){let S=this._namespaceLookup[u];S&&S.register(f,y)&&this.totalAnimations++}destroy(u,f){if(!u)return;const y=this._fetchNamespace(u);this.afterFlush(()=>{this.namespacesByHostElement.delete(y.hostElement),delete this._namespaceLookup[u];const S=this._namespaceList.indexOf(y);S>=0&&this._namespaceList.splice(S,1)}),this.afterFlushAnimationsDone(()=>y.destroy(f))}_fetchNamespace(u){return this._namespaceLookup[u]}fetchNamespacesByElement(u){const f=new Set,y=this.statesByElement.get(u);if(y){const S=Object.keys(y);for(let R=0;R<S.length;R++){const K=y[S[R]].namespaceId;if(K){const Q=this._fetchNamespace(K);Q&&f.add(Q)}}}return f}trigger(u,f,y,S){if(Yn(f)){const R=this._fetchNamespace(u);if(R)return R.trigger(f,y,S),!0}return!1}insertNode(u,f,y,S){if(!Yn(f))return;const R=f[Un];if(R&&R.setForRemoval){R.setForRemoval=!1,R.setForMove=!0;const K=this.collectedLeaveElements.indexOf(f);K>=0&&this.collectedLeaveElements.splice(K,1)}if(u){const K=this._fetchNamespace(u);K&&K.insertNode(f,y)}S&&this.collectEnterElement(f)}collectEnterElement(u){this.collectedEnterElements.push(u)}markElementAsDisabled(u,f){f?this.disabledNodes.has(u)||(this.disabledNodes.add(u),Jn(u,nr)):this.disabledNodes.has(u)&&(this.disabledNodes.delete(u),ai(u,nr))}removeNode(u,f,y,S){if(Yn(f)){const R=u?this._fetchNamespace(u):null;if(R?R.removeNode(f,S):this.markElementAsRemoved(u,f,!1,S),y){const K=this.namespacesByHostElement.get(f);K&&K.id!==u&&K.removeNode(f,S)}}else this._onRemovalComplete(f,S)}markElementAsRemoved(u,f,y,S){this.collectedLeaveElements.push(f),f[Un]={namespaceId:u,setForRemoval:S,hasAnimation:y,removedBeforeQueried:!1}}listen(u,f,y,S,R){return Yn(f)?this._fetchNamespace(u).listen(f,y,S,R):()=>{}}_buildInstruction(u,f,y,S,R){return u.transition.build(this.driver,u.element,u.fromState.value,u.toState.value,y,S,u.fromState.options,u.toState.options,f,R)}destroyInnerAnimations(u){let f=this.driver.query(u,Et,!0);f.forEach(y=>this.destroyActiveAnimationsForElement(y)),0!=this.playersByQueriedElement.size&&(f=this.driver.query(u,It,!0),f.forEach(y=>this.finishActiveQueriedAnimationOnElement(y)))}destroyActiveAnimationsForElement(u){const f=this.playersByElement.get(u);f&&f.forEach(y=>{y.queued?y.markedForDestroy=!0:y.destroy()})}finishActiveQueriedAnimationOnElement(u){const f=this.playersByQueriedElement.get(u);f&&f.forEach(y=>y.finish())}whenRenderingDone(){return new Promise(u=>{if(this.players.length)return L(this.players).onDone(()=>u());u()})}processLeaveNode(u){const f=u[Un];if(f&&f.setForRemoval){if(u[Un]=sn,f.namespaceId){this.destroyInnerAnimations(u);const y=this._fetchNamespace(f.namespaceId);y&&y.clearElementCache(u)}this._onRemovalComplete(u,f.setForRemoval)}this.driver.matchesElement(u,Pn)&&this.markElementAsDisabled(u,!1),this.driver.query(u,Pn,!0).forEach(y=>{this.markElementAsDisabled(y,!1)})}flush(u=-1){let f=[];if(this.newHostElements.size&&(this.newHostElements.forEach((y,S)=>this._balanceNamespaceList(y,S)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let y=0;y<this.collectedEnterElements.length;y++)Jn(this.collectedEnterElements[y],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const y=[];try{f=this._flushAnimations(y,u)}finally{for(let S=0;S<y.length;S++)y[S]()}}else for(let y=0;y<this.collectedLeaveElements.length;y++)this.processLeaveNode(this.collectedLeaveElements[y]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(y=>y()),this._flushFns=[],this._whenQuietFns.length){const y=this._whenQuietFns;this._whenQuietFns=[],f.length?L(f).onDone(()=>{y.forEach(S=>S())}):y.forEach(S=>S())}}reportError(u){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${u.join("\n")}`)}_flushAnimations(u,f){const y=new wt,S=[],R=new Map,K=[],Q=new Map,pe=new Map,Fe=new Map,qe=new Set;this.disabledNodes.forEach(tt=>{qe.add(tt);const St=this.driver.query(tt,".ng-animate-queued",!0);for(let Ft=0;Ft<St.length;Ft++)qe.add(St[Ft])});const pt=this.bodyNode,Lt=Array.from(this.statesByElement.keys()),Xt=Is(Lt,this.collectedEnterElements),Tt=new Map;let kt=0;Xt.forEach((tt,St)=>{const Ft=Be+kt++;Tt.set(St,Ft),tt.forEach(nn=>Jn(nn,Ft))});const Qt=[],Sn=new Set,dn=new Set;for(let tt=0;tt<this.collectedLeaveElements.length;tt++){const St=this.collectedLeaveElements[tt],Ft=St[Un];Ft&&Ft.setForRemoval&&(Qt.push(St),Sn.add(St),Ft.hasAnimation?this.driver.query(St,".ng-star-inserted",!0).forEach(nn=>Sn.add(nn)):dn.add(St))}const Tn=new Map,Nn=Is(Lt,Array.from(Sn));Nn.forEach((tt,St)=>{const Ft=we+kt++;Tn.set(St,Ft),tt.forEach(nn=>Jn(nn,Ft))}),u.push(()=>{Xt.forEach((tt,St)=>{const Ft=Tt.get(St);tt.forEach(nn=>ai(nn,Ft))}),Nn.forEach((tt,St)=>{const Ft=Tn.get(St);tt.forEach(nn=>ai(nn,Ft))}),Qt.forEach(tt=>{this.processLeaveNode(tt)})});const fi=[],cr=[];for(let tt=this._namespaceList.length-1;tt>=0;tt--)this._namespaceList[tt].drainQueuedTransitions(f).forEach(Ft=>{const nn=Ft.player,Hn=Ft.element;if(fi.push(nn),this.collectedEnterElements.length){const qn=Hn[Un];if(qn&&qn.setForMove)return void nn.destroy()}const Lr=!pt||!this.driver.containsElement(pt,Hn),dr=Tn.get(Hn),hr=Tt.get(Hn),on=this._buildInstruction(Ft,y,hr,dr,Lr);if(on.errors&&on.errors.length)cr.push(on);else{if(Lr)return nn.onStart(()=>ue(Hn,on.fromStyles)),nn.onDestroy(()=>ft(Hn,on.toStyles)),void S.push(nn);if(Ft.isFallbackTransition)return nn.onStart(()=>ue(Hn,on.fromStyles)),nn.onDestroy(()=>ft(Hn,on.toStyles)),void S.push(nn);on.timelines.forEach(qn=>qn.stretchStartingKeyframe=!0),y.append(Hn,on.timelines),K.push({instruction:on,player:nn,element:Hn}),on.queriedElements.forEach(qn=>A(Q,qn,[]).push(nn)),on.preStyleProps.forEach((qn,gi)=>{const vs=Object.keys(qn);if(vs.length){let ir=pe.get(gi);ir||pe.set(gi,ir=new Set),vs.forEach(mi=>ir.add(mi))}}),on.postStyleProps.forEach((qn,gi)=>{const vs=Object.keys(qn);let ir=Fe.get(gi);ir||Fe.set(gi,ir=new Set),vs.forEach(mi=>ir.add(mi))})}});if(cr.length){const tt=[];cr.forEach(St=>{tt.push(`@${St.triggerName} has failed due to:\n`),St.errors.forEach(Ft=>tt.push(`- ${Ft}\n`))}),fi.forEach(St=>St.destroy()),this.reportError(tt)}const Vn=new Map,Pr=new Map;K.forEach(tt=>{const St=tt.element;y.has(St)&&(Pr.set(St,St),this._beforeAnimationBuild(tt.player.namespaceId,tt.instruction,Vn))}),S.forEach(tt=>{const St=tt.element;this._getPreviousPlayers(St,!1,tt.namespaceId,tt.triggerName,null).forEach(nn=>{A(Vn,St,[]).push(nn),nn.destroy()})});const Fr=Qt.filter(tt=>Rs(tt,pe,Fe)),Cr=new Map;cs(Cr,this.driver,dn,Fe,j.l3).forEach(tt=>{Rs(tt,pe,Fe)&&Fr.push(tt)});const Zi=new Map;Xt.forEach((tt,St)=>{cs(Zi,this.driver,new Set(tt),pe,j.k1)}),Fr.forEach(tt=>{const St=Cr.get(tt),Ft=Zi.get(tt);Cr.set(tt,Object.assign(Object.assign({},St),Ft))});const pi=[],Wn=[],ur={};K.forEach(tt=>{const{element:St,player:Ft,instruction:nn}=tt;if(y.has(St)){if(qe.has(St))return Ft.onDestroy(()=>ft(St,nn.toStyles)),Ft.disabled=!0,Ft.overrideTotalTime(nn.totalTime),void S.push(Ft);let Hn=ur;if(Pr.size>1){let dr=St;const hr=[];for(;dr=dr.parentNode;){const on=Pr.get(dr);if(on){Hn=on;break}hr.push(dr)}hr.forEach(on=>Pr.set(on,Hn))}const Lr=this._buildAnimation(Ft.namespaceId,nn,Vn,R,Zi,Cr);if(Ft.setRealPlayer(Lr),Hn===ur)pi.push(Ft);else{const dr=this.playersByElement.get(Hn);dr&&dr.length&&(Ft.parentPlayer=L(dr)),S.push(Ft)}}else ue(St,nn.fromStyles),Ft.onDestroy(()=>ft(St,nn.toStyles)),Wn.push(Ft),qe.has(St)&&S.push(Ft)}),Wn.forEach(tt=>{const St=R.get(tt.element);if(St&&St.length){const Ft=L(St);tt.setRealPlayer(Ft)}}),S.forEach(tt=>{tt.parentPlayer?tt.syncPlayerEvents(tt.parentPlayer):tt.destroy()});for(let tt=0;tt<Qt.length;tt++){const St=Qt[tt],Ft=St[Un];if(ai(St,we),Ft&&Ft.hasAnimation)continue;let nn=[];if(Q.size){let Lr=Q.get(St);Lr&&Lr.length&&nn.push(...Lr);let dr=this.driver.query(St,It,!0);for(let hr=0;hr<dr.length;hr++){let on=Q.get(dr[hr]);on&&on.length&&nn.push(...on)}}const Hn=nn.filter(Lr=>!Lr.destroyed);Hn.length?Os(this,St,Hn):this.processLeaveNode(St)}return Qt.length=0,pi.forEach(tt=>{this.players.push(tt),tt.onDone(()=>{tt.destroy();const St=this.players.indexOf(tt);this.players.splice(St,1)}),tt.play()}),pi}elementContainsData(u,f){let y=!1;const S=f[Un];return S&&S.setForRemoval&&(y=!0),this.playersByElement.has(f)&&(y=!0),this.playersByQueriedElement.has(f)&&(y=!0),this.statesByElement.has(f)&&(y=!0),this._fetchNamespace(u).elementContainsData(f)||y}afterFlush(u){this._flushFns.push(u)}afterFlushAnimationsDone(u){this._whenQuietFns.push(u)}_getPreviousPlayers(u,f,y,S,R){let K=[];if(f){const Q=this.playersByQueriedElement.get(u);Q&&(K=Q)}else{const Q=this.playersByElement.get(u);if(Q){const pe=!R||R==An;Q.forEach(Fe=>{Fe.queued||!pe&&Fe.triggerName!=S||K.push(Fe)})}}return(y||S)&&(K=K.filter(Q=>!(y&&y!=Q.namespaceId||S&&S!=Q.triggerName))),K}_beforeAnimationBuild(u,f,y){const R=f.element,K=f.isRemovalTransition?void 0:u,Q=f.isRemovalTransition?void 0:f.triggerName;for(const pe of f.timelines){const Fe=pe.element,qe=Fe!==R,pt=A(y,Fe,[]);this._getPreviousPlayers(Fe,qe,K,Q,f.toState).forEach(Xt=>{const Tt=Xt.getRealPlayer();Tt.beforeDestroy&&Tt.beforeDestroy(),Xt.destroy(),pt.push(Xt)})}ue(R,f.fromStyles)}_buildAnimation(u,f,y,S,R,K){const Q=f.triggerName,pe=f.element,Fe=[],qe=new Set,pt=new Set,Lt=f.timelines.map(Tt=>{const kt=Tt.element;qe.add(kt);const Qt=kt[Un];if(Qt&&Qt.removedBeforeQueried)return new j.ZN(Tt.duration,Tt.delay);const Sn=kt!==pe,dn=function(w){const u=[];return us(w,u),u}((y.get(kt)||wn).map(Vn=>Vn.getRealPlayer())).filter(Vn=>!!Vn.element&&Vn.element===kt),Tn=R.get(kt),Nn=K.get(kt),fi=N(0,this._normalizer,0,Tt.keyframes,Tn,Nn),cr=this._buildPlayer(Tt,fi,dn);if(Tt.subTimeline&&S&&pt.add(kt),Sn){const Vn=new On(u,Q,kt);Vn.setRealPlayer(cr),Fe.push(Vn)}return cr});Fe.forEach(Tt=>{A(this.playersByQueriedElement,Tt.element,[]).push(Tt),Tt.onDone(()=>function(w,u,f){let y;if(w instanceof Map){if(y=w.get(u),y){if(y.length){const S=y.indexOf(f);y.splice(S,1)}0==y.length&&w.delete(u)}}else if(y=w[u],y){if(y.length){const S=y.indexOf(f);y.splice(S,1)}0==y.length&&delete w[u]}return y}(this.playersByQueriedElement,Tt.element,Tt))}),qe.forEach(Tt=>Jn(Tt,Nt));const Xt=L(Lt);return Xt.onDestroy(()=>{qe.forEach(Tt=>ai(Tt,Nt)),ft(pe,f.toStyles)}),pt.forEach(Tt=>{A(S,Tt,[]).push(Xt)}),Xt}_buildPlayer(u,f,y){return f.length>0?this.driver.animate(u.element,f,u.duration,u.delay,u.easing,y):new j.ZN(u.duration,u.delay)}}class On{constructor(u,f,y){this.namespaceId=u,this.triggerName=f,this.element=y,this._player=new j.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(u){this._containsRealPlayer||(this._player=u,Object.keys(this._queuedCallbacks).forEach(f=>{this._queuedCallbacks[f].forEach(y=>P(u,f,void 0,y))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(u.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(u){this.totalTime=u}syncPlayerEvents(u){const f=this._player;f.triggerCallback&&u.onStart(()=>f.triggerCallback("start")),u.onDone(()=>this.finish()),u.onDestroy(()=>this.destroy())}_queueEvent(u,f){A(this._queuedCallbacks,u,[]).push(f)}onDone(u){this.queued&&this._queueEvent("done",u),this._player.onDone(u)}onStart(u){this.queued&&this._queueEvent("start",u),this._player.onStart(u)}onDestroy(u){this.queued&&this._queueEvent("destroy",u),this._player.onDestroy(u)}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(u){this.queued||this._player.setPosition(u)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(u){const f=this._player;f.triggerCallback&&f.triggerCallback(u)}}function Yn(w){return w&&1===w.nodeType}function ls(w,u){const f=w.style.display;return w.style.display=null!=u?u:"none",f}function cs(w,u,f,y,S){const R=[];f.forEach(pe=>R.push(ls(pe)));const K=[];y.forEach((pe,Fe)=>{const qe={};pe.forEach(pt=>{const Lt=qe[pt]=u.computeStyle(Fe,pt,S);(!Lt||0==Lt.length)&&(Fe[Un]=si,K.push(Fe))}),w.set(Fe,qe)});let Q=0;return f.forEach(pe=>ls(pe,R[Q++])),K}function Is(w,u){const f=new Map;if(w.forEach(Q=>f.set(Q,[])),0==u.length)return f;const S=new Set(u),R=new Map;function K(Q){if(!Q)return 1;let pe=R.get(Q);if(pe)return pe;const Fe=Q.parentNode;return pe=f.has(Fe)?Fe:S.has(Fe)?1:K(Fe),R.set(Q,pe),pe}return u.forEach(Q=>{const pe=K(Q);1!==pe&&f.get(pe).push(Q)}),f}const Vr="$$classes";function Jn(w,u){if(w.classList)w.classList.add(u);else{let f=w[Vr];f||(f=w[Vr]={}),f[u]=!0}}function ai(w,u){if(w.classList)w.classList.remove(u);else{let f=w[Vr];f&&delete f[u]}}function Os(w,u,f){L(f).onDone(()=>w.processLeaveNode(u))}function us(w,u){for(let f=0;f<w.length;f++){const y=w[f];y instanceof j.ZE?us(y.players,u):u.push(y)}}function Rs(w,u,f){const y=f.get(w);if(!y)return!1;let S=u.get(w);return S?y.forEach(R=>S.add(R)):u.set(w,y),f.delete(w),!0}class Wi{constructor(u,f,y){this.bodyNode=u,this._driver=f,this._normalizer=y,this._triggerCache={},this.onRemovalComplete=(S,R)=>{},this._transitionEngine=new oi(u,f,y),this._timelineEngine=new ii(u,f,y),this._transitionEngine.onRemovalComplete=(S,R)=>this.onRemovalComplete(S,R)}registerTrigger(u,f,y,S,R){const K=u+"-"+S;let Q=this._triggerCache[K];if(!Q){const pe=[],Fe=bt(this._driver,R,pe);if(pe.length)throw new Error(`The animation trigger "${S}" has failed to build due to the following errors:\n - ${pe.join("\n - ")}`);Q=function(w,u,f){return new bn(w,u,f)}(S,Fe,this._normalizer),this._triggerCache[K]=Q}this._transitionEngine.registerTrigger(f,S,Q)}register(u,f){this._transitionEngine.register(u,f)}destroy(u,f){this._transitionEngine.destroy(u,f)}onInsert(u,f,y,S){this._transitionEngine.insertNode(u,f,y,S)}onRemove(u,f,y,S){this._transitionEngine.removeNode(u,f,S||!1,y)}disableAnimations(u,f){this._transitionEngine.markElementAsDisabled(u,f)}process(u,f,y,S){if("@"==y.charAt(0)){const[R,K]=z(y);this._timelineEngine.command(R,f,K,S)}else this._transitionEngine.trigger(u,f,y,S)}listen(u,f,y,S,R){if("@"==y.charAt(0)){const[K,Q]=z(y);return this._timelineEngine.listen(K,f,Q,R)}return this._transitionEngine.listen(u,f,y,S,R)}flush(u=-1){this._transitionEngine.flush(u)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function xs(w,u){let f=null,y=null;return Array.isArray(u)&&u.length?(f=li(u[0]),u.length>1&&(y=li(u[u.length-1]))):u&&(f=li(u)),f||y?new ds(w,f,y):null}let ds=(()=>{class w{constructor(f,y,S){this._element=f,this._startStyles=y,this._endStyles=S,this._state=0;let R=w.initialStylesByElement.get(f);R||w.initialStylesByElement.set(f,R={}),this._initialStyles=R}start(){this._state<1&&(this._startStyles&&ft(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ft(this._element,this._initialStyles),this._endStyles&&(ft(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(w.initialStylesByElement.delete(this._element),this._startStyles&&(ue(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ue(this._element,this._endStyles),this._endStyles=null),ft(this._element,this._initialStyles),this._state=3)}}return w.initialStylesByElement=new WeakMap,w})();function li(w){let u=null;const f=Object.keys(w);for(let y=0;y<f.length;y++){const S=f[y];Ps(S)&&(u=u||{},u[S]=w[S])}return u}function Ps(w){return"display"===w||"position"===w}const Fs="animation",Rr="animationend";class ci{constructor(u,f,y,S,R,K,Q){this._element=u,this._name=f,this._duration=y,this._delay=S,this._easing=R,this._fillMode=K,this._onDoneFn=Q,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=pe=>this._handleCallback(pe)}apply(){(function(w,u){const f=vr(w,"").trim();let y=0;f.length&&(function(w,u){let f=0;for(let y=0;y<w.length;y++)","===w.charAt(y)&&f++;return f}(f)+1,u=`${f}, ${u}`),Gr(w,"",u)})(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),hs(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){Gi(this._element,this._name,"paused")}resume(){Gi(this._element,this._name,"running")}setPosition(u){const f=ui(this._element,this._name);this._position=u*this._duration,Gr(this._element,"Delay",`-${this._position}ms`,f)}getPosition(){return this._position}_handleCallback(u){const f=u._ngTestManualTimestamp||Date.now(),y=1e3*parseFloat(u.elapsedTime.toFixed(3));u.animationName==this._name&&Math.max(f-this._startTime,0)>=this._delay&&y>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),hs(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(w,u){const y=vr(w,"").split(","),S=xr(y,u);S>=0&&(y.splice(S,1),Gr(w,"",y.join(",")))}(this._element,this._name))}}function Gi(w,u,f){Gr(w,"PlayState",f,ui(w,u))}function ui(w,u){const f=vr(w,"");return f.indexOf(",")>0?xr(f.split(","),u):xr([f],u)}function xr(w,u){for(let f=0;f<w.length;f++)if(w[f].indexOf(u)>=0)return f;return-1}function hs(w,u,f){f?w.removeEventListener(Rr,u):w.addEventListener(Rr,u)}function Gr(w,u,f,y){const S=Fs+u;if(null!=y){const R=w.style[S];if(R.length){const K=R.split(",");K[y]=f,f=K.join(",")}}w.style[S]=f}function vr(w,u){return w.style[Fs+u]||""}class Pi{constructor(u,f,y,S,R,K,Q,pe){this.element=u,this.keyframes=f,this.animationName=y,this._duration=S,this._delay=R,this._finalStyles=Q,this._specialStyles=pe,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=K||"linear",this.totalTime=S+R,this._buildStyler()}onStart(u){this._onStartFns.push(u)}onDone(u){this._onDoneFns.push(u)}onDestroy(u){this._onDestroyFns.push(u)}destroy(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(u=>u()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(u=>u()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(u=>u()),this._onStartFns=[]}finish(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(u){this._styler.setPosition(u)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new ci(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(u){const f="start"==u?this._onStartFns:this._onDoneFns;f.forEach(y=>y()),f.length=0}beforeDestroy(){this.init();const u={};if(this.hasStarted()){const f=this._state>=3;Object.keys(this._finalStyles).forEach(y=>{"offset"!=y&&(u[y]=f?this._finalStyles[y]:xe(this.element,y))})}this.currentSnapshot=u}}class rr extends j.ZN{constructor(u,f){super(),this.element=u,this._startingStyles={},this.__initialized=!1,this._styles=Ge(f)}init(){this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(u=>{this._startingStyles[u]=this.element.style[u]}),super.init())}play(){!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(u=>this.element.style.setProperty(u,this._styles[u])),super.play())}destroy(){!this._startingStyles||(Object.keys(this._startingStyles).forEach(u=>{const f=this._startingStyles[u];f?this.element.style.setProperty(u,f):this.element.style.removeProperty(u)}),this._startingStyles=null,super.destroy())}}class Dn{constructor(){this._count=0}validateStyleProperty(u){return Te(u)}matchesElement(u,f){return re(u,f)}containsElement(u,f){return De(u,f)}query(u,f,y){return Oe(u,f,y)}computeStyle(u,f,y){return window.getComputedStyle(u)[f]}buildKeyframeElement(u,f,y){y=y.map(Q=>Ge(Q));let S=`@keyframes ${f} {\n`,R="";y.forEach(Q=>{R=" ";const pe=parseFloat(Q.offset);S+=`${R}${100*pe}% {\n`,R+=" ",Object.keys(Q).forEach(Fe=>{const qe=Q[Fe];switch(Fe){case"offset":return;case"easing":return void(qe&&(S+=`${R}animation-timing-function: ${qe};\n`));default:return void(S+=`${R}${Fe}: ${qe};\n`)}}),S+=`${R}}\n`}),S+="}\n";const K=document.createElement("style");return K.textContent=S,K}animate(u,f,y,S,R,K=[],Q){const pe=K.filter(Qt=>Qt instanceof Pi),Fe={};ae(y,S)&&pe.forEach(Qt=>{let Sn=Qt.currentSnapshot;Object.keys(Sn).forEach(dn=>Fe[dn]=Sn[dn])});const qe=function(w){let u={};return w&&(Array.isArray(w)?w:[w]).forEach(y=>{Object.keys(y).forEach(S=>{"offset"==S||"easing"==S||(u[S]=y[S])})}),u}(f=le(u,f,Fe));if(0==y)return new rr(u,qe);const pt="gen_css_kf_"+this._count++,Lt=this.buildKeyframeElement(u,pt,f);(function(w){var u;const f=null===(u=w.getRootNode)||void 0===u?void 0:u.call(w);return"undefined"!=typeof ShadowRoot&&f instanceof ShadowRoot?f:document.head})(u).appendChild(Lt);const Tt=xs(u,f),kt=new Pi(u,f,pt,y,S,R,qe,Tt);return kt.onDestroy(()=>{var w;(w=Lt).parentNode.removeChild(w)}),kt}}class O{constructor(u,f,y,S){this.element=u,this.keyframes=f,this.options=y,this._specialStyles=S,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=y.duration,this._delay=y.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(u=>u()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const u=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,u,this.options),this._finalKeyframe=u.length?u[u.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(u,f,y){return u.animate(f,y)}onStart(u){this._onStartFns.push(u)}onDone(u){this._onDoneFns.push(u)}onDestroy(u){this._onDestroyFns.push(u)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(u=>u()),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}_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(u=>u()),this._onDestroyFns=[])}setPosition(u){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=u*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const u={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(f=>{"offset"!=f&&(u[f]=this._finished?this._finalKeyframe[f]:xe(this.element,f))}),this.currentSnapshot=u}triggerCallback(u){const f="start"==u?this._onStartFns:this._onDoneFns;f.forEach(y=>y()),f.length=0}}class ee{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Ze().toString()),this._cssKeyframesDriver=new Dn}validateStyleProperty(u){return Te(u)}matchesElement(u,f){return re(u,f)}containsElement(u,f){return De(u,f)}query(u,f,y){return Oe(u,f,y)}computeStyle(u,f,y){return window.getComputedStyle(u)[f]}overrideWebAnimationsSupport(u){this._isNativeImpl=u}animate(u,f,y,S,R,K=[],Q){if(!Q&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(u,f,y,S,R,K);const qe={duration:y,delay:S,fill:0==S?"both":"forwards"};R&&(qe.easing=R);const pt={},Lt=K.filter(Tt=>Tt instanceof O);ae(y,S)&&Lt.forEach(Tt=>{let kt=Tt.currentSnapshot;Object.keys(kt).forEach(Qt=>pt[Qt]=kt[Qt])});const Xt=xs(u,f=le(u,f=f.map(Tt=>st(Tt,!1)),pt));return new O(u,f,qe,Xt)}}function Ze(){return H()&&Element.prototype.animate||{}}var gt=_(6362);let jt=(()=>{class w extends j._j{constructor(f,y){super(),this._nextAnimationId=0,this._renderer=f.createRenderer(y.body,{id:"0",encapsulation:p.ifc.None,styles:[],data:{animation:[]}})}build(f){const y=this._nextAnimationId.toString();this._nextAnimationId++;const S=Array.isArray(f)?(0,j.vP)(f):f;return en(this._renderer,null,y,"register",[S]),new _n(y,this._renderer)}}return w.\u0275fac=function(f){return new(f||w)(p.LFG(p.FYo),p.LFG(gt.K0))},w.\u0275prov=p.Yz7({token:w,factory:w.\u0275fac}),w})();class _n extends j.LC{constructor(u,f){super(),this._id=u,this._renderer=f}create(u,f){return new pn(this._id,u,f||{},this._renderer)}}class pn{constructor(u,f,y,S){this.id=u,this.element=f,this._renderer=S,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",y)}_listen(u,f){return this._renderer.listen(this.element,`@@${this.id}:${u}`,f)}_command(u,...f){return en(this._renderer,this.element,this.id,u,f)}onDone(u){this._listen("done",u)}onStart(u){this._listen("start",u)}onDestroy(u){this._listen("destroy",u)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(u){this._command("setPosition",u)}getPosition(){var u,f;return null!==(f=null===(u=this._renderer.engine.players[+this.id])||void 0===u?void 0:u.getPosition())&&void 0!==f?f:0}}function en(w,u,f,y,S){return w.setProperty(u,`@@${f}:${y}`,S)}const vn="@.disabled";let jn=(()=>{class w{constructor(f,y,S){this.delegate=f,this.engine=y,this._zone=S,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),y.onRemovalComplete=(R,K)=>{const Q=null==K?void 0:K.parentNode(R);Q&&K.removeChild(Q,R)}}createRenderer(f,y){const R=this.delegate.createRenderer(f,y);if(!(f&&y&&y.data&&y.data.animation)){let qe=this._rendererCache.get(R);return qe||(qe=new Ct("",R,this.engine),this._rendererCache.set(R,qe)),qe}const K=y.id,Q=y.id+"-"+this._currentId;this._currentId++,this.engine.register(Q,f);const pe=qe=>{Array.isArray(qe)?qe.forEach(pe):this.engine.registerTrigger(K,Q,f,qe.name,qe)};return y.data.animation.forEach(pe),new Kr(this,Q,R,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(f,y,S){f>=0&&f<this._microtaskId?this._zone.run(()=>y(S)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(R=>{const[K,Q]=R;K(Q)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([y,S]))}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()}}return w.\u0275fac=function(f){return new(f||w)(p.LFG(p.FYo),p.LFG(Wi),p.LFG(p.R0b))},w.\u0275prov=p.Yz7({token:w,factory:w.\u0275fac}),w})();class Ct{constructor(u,f,y){this.namespaceId=u,this.delegate=f,this.engine=y,this.destroyNode=this.delegate.destroyNode?S=>f.destroyNode(S):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(u,f){return this.delegate.createElement(u,f)}createComment(u){return this.delegate.createComment(u)}createText(u){return this.delegate.createText(u)}appendChild(u,f){this.delegate.appendChild(u,f),this.engine.onInsert(this.namespaceId,f,u,!1)}insertBefore(u,f,y,S=!0){this.delegate.insertBefore(u,f,y),this.engine.onInsert(this.namespaceId,f,u,S)}removeChild(u,f,y){this.engine.onRemove(this.namespaceId,f,this.delegate,y)}selectRootElement(u,f){return this.delegate.selectRootElement(u,f)}parentNode(u){return this.delegate.parentNode(u)}nextSibling(u){return this.delegate.nextSibling(u)}setAttribute(u,f,y,S){this.delegate.setAttribute(u,f,y,S)}removeAttribute(u,f,y){this.delegate.removeAttribute(u,f,y)}addClass(u,f){this.delegate.addClass(u,f)}removeClass(u,f){this.delegate.removeClass(u,f)}setStyle(u,f,y,S){this.delegate.setStyle(u,f,y,S)}removeStyle(u,f,y){this.delegate.removeStyle(u,f,y)}setProperty(u,f,y){"@"==f.charAt(0)&&f==vn?this.disableAnimations(u,!!y):this.delegate.setProperty(u,f,y)}setValue(u,f){this.delegate.setValue(u,f)}listen(u,f,y){return this.delegate.listen(u,f,y)}disableAnimations(u,f){this.engine.disableAnimations(u,f)}}class Kr extends Ct{constructor(u,f,y,S){super(f,y,S),this.factory=u,this.namespaceId=f}setProperty(u,f,y){"@"==f.charAt(0)?"."==f.charAt(1)&&f==vn?this.disableAnimations(u,y=void 0===y||!!y):this.engine.process(this.namespaceId,u,f.substr(1),y):this.delegate.setProperty(u,f,y)}listen(u,f,y){if("@"==f.charAt(0)){const S=function(w){switch(w){case"body":return document.body;case"document":return document;case"window":return window;default:return w}}(u);let R=f.substr(1),K="";return"@"!=R.charAt(0)&&([R,K]=function(w){const u=w.indexOf(".");return[w.substring(0,u),w.substr(u+1)]}(R)),this.engine.listen(this.namespaceId,S,R,K,Q=>{this.factory.scheduleListenerCallback(Q._data||-1,y,Q)})}return this.delegate.listen(u,f,y)}}let gs=(()=>{class w extends Wi{constructor(f,y,S){super(f.body,y,S)}ngOnDestroy(){this.flush()}}return w.\u0275fac=function(f){return new(f||w)(p.LFG(gt.K0),p.LFG(me),p.LFG(gr))},w.\u0275prov=p.Yz7({token:w,factory:w.\u0275fac}),w})();const ze=new p.OlP("AnimationModuleType"),tn=[{provide:j._j,useClass:jt},{provide:gr,useFactory:function(){return new os}},{provide:Wi,useClass:gs},{provide:p.FYo,useFactory:function(w,u,f){return new jn(w,u,f)},deps:[o.se,Wi,p.R0b]}],Us=[{provide:me,useFactory:function(){return"function"==typeof Ze()?new ee:new Dn}},{provide:ze,useValue:"BrowserAnimations"},...tn],Fn=[{provide:me,useClass:Ke},{provide:ze,useValue:"NoopAnimations"},...tn];let yo=(()=>{class w{static withConfig(f){return{ngModule:w,providers:f.disableAnimations?Fn:Us}}}return w.\u0275fac=function(f){return new(f||w)},w.\u0275mod=p.oAB({type:w}),w.\u0275inj=p.cJS({providers:Us,imports:[o.b2]}),w})()},318:(Ue,q,_)=>{_.d(q,{b2:()=>Qe,H7:()=>et,Dx:()=>Cn,q6:()=>ue,se:()=>Be});var p=_(6362),o=_(3184);class j extends p.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class H extends j{static makeCurrent(){(0,p.HT)(new H)}onAndCancel(ie,$,fe){return ie.addEventListener($,fe,!1),()=>{ie.removeEventListener($,fe,!1)}}dispatchEvent(ie,$){ie.dispatchEvent($)}remove(ie){ie.parentNode&&ie.parentNode.removeChild(ie)}createElement(ie,$){return($=$||this.getDefaultDocument()).createElement(ie)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ie){return ie.nodeType===Node.ELEMENT_NODE}isShadowRoot(ie){return ie instanceof DocumentFragment}getGlobalEventTarget(ie,$){return"window"===$?window:"document"===$?ie:"body"===$?ie.body:null}getBaseHref(ie){const $=(x=x||document.querySelector("base"),x?x.getAttribute("href"):null);return null==$?null:function(ve){N=N||document.createElement("a"),N.setAttribute("href",ve);const ie=N.pathname;return"/"===ie.charAt(0)?ie:`/${ie}`}($)}resetBaseElement(){x=null}getUserAgent(){return window.navigator.userAgent}getCookie(ie){return(0,p.Mx)(document.cookie,ie)}}let N,x=null;const U=new o.OlP("TRANSITION_ID"),A=[{provide:o.ip1,useFactory:function(ve,ie,$){return()=>{$.get(o.CZH).donePromise.then(()=>{const fe=(0,p.q)(),Le=ie.querySelectorAll(`style[ng-transition="${ve}"]`);for(let _t=0;_t<Le.length;_t++)fe.remove(Le[_t])})}},deps:[U,p.K0,o.zs3],multi:!0}];class z{static init(){(0,o.VLi)(new z)}addToWindow(ie){o.dqk.getAngularTestability=(fe,Le=!0)=>{const _t=ie.findTestabilityInTree(fe,Le);if(null==_t)throw new Error("Could not find testability for element.");return _t},o.dqk.getAllAngularTestabilities=()=>ie.getAllTestabilities(),o.dqk.getAllAngularRootElements=()=>ie.getAllRootElements(),o.dqk.frameworkStabilizers||(o.dqk.frameworkStabilizers=[]),o.dqk.frameworkStabilizers.push(fe=>{const Le=o.dqk.getAllAngularTestabilities();let _t=Le.length,Rt=!1;const qt=function(xn){Rt=Rt||xn,_t--,0==_t&&fe(Rt)};Le.forEach(function(xn){xn.whenStable(qt)})})}findTestabilityInTree(ie,$,fe){if(null==$)return null;const Le=ie.getTestability($);return null!=Le?Le:fe?(0,p.q)().isShadowRoot($)?this.findTestabilityInTree(ie,$.host,!0):this.findTestabilityInTree(ie,$.parentElement,!0):null}}let X=(()=>{class ve{build(){return new XMLHttpRequest}}return ve.\u0275fac=function($){return new($||ve)},ve.\u0275prov=o.Yz7({token:ve,factory:ve.\u0275fac}),ve})();const J=new o.OlP("EventManagerPlugins");let G=(()=>{class ve{constructor($,fe){this._zone=fe,this._eventNameToPlugin=new Map,$.forEach(Le=>Le.manager=this),this._plugins=$.slice().reverse()}addEventListener($,fe,Le){return this._findPluginFor(fe).addEventListener($,fe,Le)}addGlobalEventListener($,fe,Le){return this._findPluginFor(fe).addGlobalEventListener($,fe,Le)}getZone(){return this._zone}_findPluginFor($){const fe=this._eventNameToPlugin.get($);if(fe)return fe;const Le=this._plugins;for(let _t=0;_t<Le.length;_t++){const Rt=Le[_t];if(Rt.supports($))return this._eventNameToPlugin.set($,Rt),Rt}throw new Error(`No event manager plugin found for event ${$}`)}}return ve.\u0275fac=function($){return new($||ve)(o.LFG(J),o.LFG(o.R0b))},ve.\u0275prov=o.Yz7({token:ve,factory:ve.\u0275fac}),ve})();class Z{constructor(ie){this._doc=ie}addGlobalEventListener(ie,$,fe){const Le=(0,p.q)().getGlobalEventTarget(this._doc,ie);if(!Le)throw new Error(`Unsupported event target ${Le} for event ${$}`);return this.addEventListener(Le,$,fe)}}let V=(()=>{class ve{constructor(){this._stylesSet=new Set}addStyles($){const fe=new Set;$.forEach(Le=>{this._stylesSet.has(Le)||(this._stylesSet.add(Le),fe.add(Le))}),this.onStylesAdded(fe)}onStylesAdded($){}getAllStyles(){return Array.from(this._stylesSet)}}return ve.\u0275fac=function($){return new($||ve)},ve.\u0275prov=o.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),W=(()=>{class ve extends V{constructor($){super(),this._doc=$,this._hostNodes=new Map,this._hostNodes.set($.head,[])}_addStylesToHost($,fe,Le){$.forEach(_t=>{const Rt=this._doc.createElement("style");Rt.textContent=_t,Le.push(fe.appendChild(Rt))})}addHost($){const fe=[];this._addStylesToHost(this._stylesSet,$,fe),this._hostNodes.set($,fe)}removeHost($){const fe=this._hostNodes.get($);fe&&fe.forEach(he),this._hostNodes.delete($)}onStylesAdded($){this._hostNodes.forEach((fe,Le)=>{this._addStylesToHost($,Le,fe)})}ngOnDestroy(){this._hostNodes.forEach($=>$.forEach(he))}}return ve.\u0275fac=function($){return new($||ve)(o.LFG(p.K0))},ve.\u0275prov=o.Yz7({token:ve,factory:ve.\u0275fac}),ve})();function he(ve){(0,p.q)().remove(ve)}const Te={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/"},Ce=/%COMP%/g;function be(ve,ie,$){for(let fe=0;fe<ie.length;fe++){let Le=ie[fe];Array.isArray(Le)?be(ve,Le,$):(Le=Le.replace(Ce,ve),$.push(Le))}return $}function Se(ve){return ie=>{if("__ngUnwrap__"===ie)return ve;!1===ve(ie)&&(ie.preventDefault(),ie.returnValue=!1)}}let Be=(()=>{class ve{constructor($,fe,Le){this.eventManager=$,this.sharedStylesHost=fe,this.appId=Le,this.rendererByCompId=new Map,this.defaultRenderer=new we($)}createRenderer($,fe){if(!$||!fe)return this.defaultRenderer;switch(fe.encapsulation){case o.ifc.Emulated:{let Le=this.rendererByCompId.get(fe.id);return Le||(Le=new hn(this.eventManager,this.sharedStylesHost,fe,this.appId),this.rendererByCompId.set(fe.id,Le)),Le.applyToHost($),Le}case 1:case o.ifc.ShadowDom:return new Et(this.eventManager,this.sharedStylesHost,$,fe);default:if(!this.rendererByCompId.has(fe.id)){const Le=be(fe.id,fe.styles,[]);this.sharedStylesHost.addStyles(Le),this.rendererByCompId.set(fe.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return ve.\u0275fac=function($){return new($||ve)(o.LFG(G),o.LFG(W),o.LFG(o.AFp))},ve.\u0275prov=o.Yz7({token:ve,factory:ve.\u0275fac}),ve})();class we{constructor(ie){this.eventManager=ie,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(ie,$){return $?document.createElementNS(Te[$]||$,ie):document.createElement(ie)}createComment(ie){return document.createComment(ie)}createText(ie){return document.createTextNode(ie)}appendChild(ie,$){ie.appendChild($)}insertBefore(ie,$,fe){ie&&ie.insertBefore($,fe)}removeChild(ie,$){ie&&ie.removeChild($)}selectRootElement(ie,$){let fe="string"==typeof ie?document.querySelector(ie):ie;if(!fe)throw new Error(`The selector "${ie}" did not match any elements`);return $||(fe.textContent=""),fe}parentNode(ie){return ie.parentNode}nextSibling(ie){return ie.nextSibling}setAttribute(ie,$,fe,Le){if(Le){$=Le+":"+$;const _t=Te[Le];_t?ie.setAttributeNS(_t,$,fe):ie.setAttribute($,fe)}else ie.setAttribute($,fe)}removeAttribute(ie,$,fe){if(fe){const Le=Te[fe];Le?ie.removeAttributeNS(Le,$):ie.removeAttribute(`${fe}:${$}`)}else ie.removeAttribute($)}addClass(ie,$){ie.classList.add($)}removeClass(ie,$){ie.classList.remove($)}setStyle(ie,$,fe,Le){Le&(o.JOm.DashCase|o.JOm.Important)?ie.style.setProperty($,fe,Le&o.JOm.Important?"important":""):ie.style[$]=fe}removeStyle(ie,$,fe){fe&o.JOm.DashCase?ie.style.removeProperty($):ie.style[$]=""}setProperty(ie,$,fe){ie[$]=fe}setValue(ie,$){ie.nodeValue=$}listen(ie,$,fe){return"string"==typeof ie?this.eventManager.addGlobalEventListener(ie,$,Se(fe)):this.eventManager.addEventListener(ie,$,Se(fe))}}class hn extends we{constructor(ie,$,fe,Le){super(ie),this.component=fe;const _t=be(Le+"-"+fe.id,fe.styles,[]);$.addStyles(_t),this.contentAttr="_ngcontent-%COMP%".replace(Ce,Le+"-"+fe.id),this.hostAttr="_nghost-%COMP%".replace(Ce,Le+"-"+fe.id)}applyToHost(ie){super.setAttribute(ie,this.hostAttr,"")}createElement(ie,$){const fe=super.createElement(ie,$);return super.setAttribute(fe,this.contentAttr,""),fe}}class Et extends we{constructor(ie,$,fe,Le){super(ie),this.sharedStylesHost=$,this.hostEl=fe,this.shadowRoot=fe.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const _t=be(Le.id,Le.styles,[]);for(let Rt=0;Rt<_t.length;Rt++){const qt=document.createElement("style");qt.textContent=_t[Rt],this.shadowRoot.appendChild(qt)}}nodeOrShadowRoot(ie){return ie===this.hostEl?this.shadowRoot:ie}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(ie,$){return super.appendChild(this.nodeOrShadowRoot(ie),$)}insertBefore(ie,$,fe){return super.insertBefore(this.nodeOrShadowRoot(ie),$,fe)}removeChild(ie,$){return super.removeChild(this.nodeOrShadowRoot(ie),$)}parentNode(ie){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ie)))}}let Nt=(()=>{class ve extends Z{constructor($){super($)}supports($){return!0}addEventListener($,fe,Le){return $.addEventListener(fe,Le,!1),()=>this.removeEventListener($,fe,Le)}removeEventListener($,fe,Le){return $.removeEventListener(fe,Le)}}return ve.\u0275fac=function($){return new($||ve)(o.LFG(p.K0))},ve.\u0275prov=o.Yz7({token:ve,factory:ve.\u0275fac}),ve})();const It=["alt","control","meta","shift"],ut={"\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"},Ye={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},ne={alt:ve=>ve.altKey,control:ve=>ve.ctrlKey,meta:ve=>ve.metaKey,shift:ve=>ve.shiftKey};let je=(()=>{class ve extends Z{constructor($){super($)}supports($){return null!=ve.parseEventName($)}addEventListener($,fe,Le){const _t=ve.parseEventName(fe),Rt=ve.eventCallback(_t.fullKey,Le,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,p.q)().onAndCancel($,_t.domEventName,Rt))}static parseEventName($){const fe=$.toLowerCase().split("."),Le=fe.shift();if(0===fe.length||"keydown"!==Le&&"keyup"!==Le)return null;const _t=ve._normalizeKey(fe.pop());let Rt="";if(It.forEach(xn=>{const br=fe.indexOf(xn);br>-1&&(fe.splice(br,1),Rt+=xn+".")}),Rt+=_t,0!=fe.length||0===_t.length)return null;const qt={};return qt.domEventName=Le,qt.fullKey=Rt,qt}static getEventFullKey($){let fe="",Le=function(ve){let ie=ve.key;if(null==ie){if(ie=ve.keyIdentifier,null==ie)return"Unidentified";ie.startsWith("U+")&&(ie=String.fromCharCode(parseInt(ie.substring(2),16)),3===ve.location&&Ye.hasOwnProperty(ie)&&(ie=Ye[ie]))}return ut[ie]||ie}($);return Le=Le.toLowerCase()," "===Le?Le="space":"."===Le&&(Le="dot"),It.forEach(_t=>{_t!=Le&&ne[_t]($)&&(fe+=_t+".")}),fe+=Le,fe}static eventCallback($,fe,Le){return _t=>{ve.getEventFullKey(_t)===$&&Le.runGuarded(()=>fe(_t))}}static _normalizeKey($){return"esc"===$?"escape":$}}return ve.\u0275fac=function($){return new($||ve)(o.LFG(p.K0))},ve.\u0275prov=o.Yz7({token:ve,factory:ve.\u0275fac}),ve})();const ue=(0,o.eFA)(o._c5,"browser",[{provide:o.Lbi,useValue:p.bD},{provide:o.g9A,useValue:function(){H.makeCurrent(),z.init()},multi:!0},{provide:p.K0,useFactory:function(){return(0,o.RDi)(document),document},deps:[]}]),Ee=[{provide:o.zSh,useValue:"root"},{provide:o.qLn,useFactory:function(){return new o.qLn},deps:[]},{provide:J,useClass:Nt,multi:!0,deps:[p.K0,o.R0b,o.Lbi]},{provide:J,useClass:je,multi:!0,deps:[p.K0]},{provide:Be,useClass:Be,deps:[G,W,o.AFp]},{provide:o.FYo,useExisting:Be},{provide:V,useExisting:W},{provide:W,useClass:W,deps:[p.K0]},{provide:o.dDg,useClass:o.dDg,deps:[o.R0b]},{provide:G,useClass:G,deps:[J,o.R0b]},{provide:p.JF,useClass:X,deps:[]}];let Qe=(()=>{class ve{constructor($){if($)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition($){return{ngModule:ve,providers:[{provide:o.AFp,useValue:$.appId},{provide:U,useExisting:o.AFp},A]}}}return ve.\u0275fac=function($){return new($||ve)(o.LFG(ve,12))},ve.\u0275mod=o.oAB({type:ve}),ve.\u0275inj=o.cJS({providers:Ee,imports:[p.ez,o.hGG]}),ve})(),Cn=(()=>{class ve{constructor($){this._doc=$}getTitle(){return this._doc.title}setTitle($){this._doc.title=$||""}}return ve.\u0275fac=function($){return new($||ve)(o.LFG(p.K0))},ve.\u0275prov=o.Yz7({token:ve,factory:function($){let fe=null;return fe=$?new $:new Cn((0,o.LFG)(p.K0)),fe},providedIn:"root"}),ve})();"undefined"!=typeof window&&window;let et=(()=>{class ve{}return ve.\u0275fac=function($){return new($||ve)},ve.\u0275prov=o.Yz7({token:ve,factory:function($){let fe=null;return fe=$?new($||ve):o.LFG(fn),fe},providedIn:"root"}),ve})(),fn=(()=>{class ve extends et{constructor($){super(),this._doc=$}sanitize($,fe){if(null==fe)return null;switch($){case o.q3G.NONE:return fe;case o.q3G.HTML:return(0,o.qzn)(fe,"HTML")?(0,o.z3N)(fe):(0,o.EiD)(this._doc,String(fe)).toString();case o.q3G.STYLE:return(0,o.qzn)(fe,"Style")?(0,o.z3N)(fe):fe;case o.q3G.SCRIPT:if((0,o.qzn)(fe,"Script"))return(0,o.z3N)(fe);throw new Error("unsafe value used in a script context");case o.q3G.URL:return(0,o.yhl)(fe),(0,o.qzn)(fe,"URL")?(0,o.z3N)(fe):(0,o.mCW)(String(fe));case o.q3G.RESOURCE_URL:if((0,o.qzn)(fe,"ResourceURL"))return(0,o.z3N)(fe);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${$} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml($){return(0,o.JVY)($)}bypassSecurityTrustStyle($){return(0,o.L6k)($)}bypassSecurityTrustScript($){return(0,o.eBb)($)}bypassSecurityTrustUrl($){return(0,o.LAX)($)}bypassSecurityTrustResourceUrl($){return(0,o.pB0)($)}}return ve.\u0275fac=function($){return new($||ve)(o.LFG(p.K0))},ve.\u0275prov=o.Yz7({token:ve,factory:function($){let fe=null;return fe=$?new $:function(ve){return new fn(ve.get(p.K0))}(o.LFG(o.zs3)),fe},providedIn:"root"}),ve})()}},Ue=>{Ue(Ue.s=1065)}]);
//# sourceMappingURL=main.091e74a6cc56bce0.js.map