-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path4382.a23b7d4ca377f5c3.js
1 lines (1 loc) · 156 KB
/
4382.a23b7d4ca377f5c3.js
1
(self.webpackChunkmaterial_angular_io=self.webpackChunkmaterial_angular_io||[]).push([[4382],{4382:(st,Z,l)=>{"use strict";l.r(Z),l.d(Z,{GuideViewer:()=>T,GuideViewerModule:()=>Y});var a=l(6630),t=l(8553),D=l(2357),G=l(9298),y=l(5416),j=l(4006),L=l(485),g=l(4650),B=l(28),M=l(6790),A=l(383);class T{constructor(x,H,N,z){this._componentPageTitle=H,this.router=N,this.guideItems=z,this.mainContentClass=!0,x.params.subscribe(X=>{const W=z.getItemById(X.id);W&&(this.guide=W),this.guide||this.router.navigate(["/guides"])})}ngOnInit(){void 0!==this.guide&&(this._componentPageTitle.title=this.guide.name,this._componentPageTitle.titleCn=this.guide.nameCn)}static#t=this.\u0275fac=function(H){return new(H||T)(g.Y36(a.gz),g.Y36(B._),g.Y36(a.F0),g.Y36(t._))};static#e=this.\u0275cmp=g.Xpm({type:T,selectors:[["guide-viewer"]],hostVars:2,hostBindings:function(H,N){2&H&&g.ekj("main-content",N.mainContentClass)},decls:11,vars:3,consts:[[1,"docs-primary-header"],[1,"docs-guide-wrapper"],[1,"docs-guide-toc-and-content"],["focusOnNavigation","","id","guide-content","aria-label","Guide content",1,"docs-guide-content",3,"documentUrl","contentRendered"],["container","guide-viewer"],["toc",""]],template:function(H,N){if(1&H){const z=g.EpF();g.TgZ(0,"div",0)(1,"h1"),g._uU(2),g.TgZ(3,"small"),g._uU(4),g.qZA()()(),g.TgZ(5,"div",1)(6,"div",2)(7,"doc-viewer",3),g.NdJ("contentRendered",function(W){g.CHM(z);const O=g.MAs(9);return O.addHeaders("\u6307\u5357\u76ee\u5f55",W),g.KtG(O.updateScrollPosition())}),g.qZA(),g._UZ(8,"table-of-contents",4,5),g.qZA()(),g._UZ(10,"app-footer")}2&H&&(g.xp6(2),g.hij("",null==N.guide?null:N.guide.nameCn,"\xa0"),g.xp6(2),g.Oqu(null==N.guide?null:N.guide.name),g.xp6(3),g.Q6J("documentUrl",null==N.guide?null:N.guide.document))},dependencies:[M.z,D.$,A.o,L.y],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;flex-grow:1}.docs-guide-wrapper[_ngcontent-%COMP%]{padding:20px 70px 0;display:block;text-align:center}@media (max-width: 959px){.docs-guide-wrapper[_ngcontent-%COMP%]{padding-left:15px;padding-right:15px}}.docs-guide-toc-and-content[_ngcontent-%COMP%]{display:flex;align-items:flex-start;text-align:left;max-width:940px;margin:0 auto;min-height:100vh}@media (max-width: 720px){.docs-guide-toc-and-content[_ngcontent-%COMP%]{flex-direction:column}}.docs-guide-content[_ngcontent-%COMP%]{flex-grow:1;width:80%}@media (max-width: 720px){.docs-guide-content[_ngcontent-%COMP%]{width:100%}}table-of-contents[_ngcontent-%COMP%]{top:35px;position:sticky}@media (max-width: 720px){table-of-contents[_ngcontent-%COMP%]{order:-1;position:inherit;width:auto;padding-left:0}}"]})}const I=[{path:"",component:T}];class Y{static#t=this.\u0275fac=function(H){return new(H||Y)};static#e=this.\u0275mod=g.oAB({type:Y});static#n=this.\u0275inj=g.cJS({providers:[t._],imports:[G.N,D._,y.i,j.UX,a.Bz.forChild(I),L.d]})}},28:(st,Z,l)=>{"use strict";l.d(Z,{_:()=>D});var a=l(4650),t=l(1481);class D{constructor(y){this.bodyTitle=y,this._originalTitle="Angular Material UI \u7ec4\u4ef6\u5e93",this._title="",this._titleCn=""}get title(){return this._title}set title(y){this._title=y||"",this.updateTitle()}get titleCn(){return this._titleCn}set titleCn(y){this._titleCn=y||"\u9996\u9875",this.updateTitle()}updateTitle(){this.bodyTitle.setTitle(`${this.titleCn} ${this.title} - Angular Material \u7ec4\u4ef6\u5e93`)}static#t=this.\u0275fac=function(j){return new(j||D)(a.LFG(t.Dx))};static#e=this.\u0275prov=a.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"})}},9298:(st,Z,l)=>{"use strict";l.d(Z,{N:()=>Y});var a=l(6790),t=l(590),D=l(4788),G=l(4859),y=l(7392),j=l(7009),L=l(3848),g=l(266),B=l(4080),M=l(6895),A=l(3299),T=l(4650),I=l(989);class Y{static#t=this.\u0275fac=function(H){return new(H||Y)};static#e=this.\u0275mod=T.oAB({type:Y});static#n=this.\u0275inj=T.cJS({imports:[M.ez,G.ot,y.Ps,g.AV,j.ZX,L.Nh,B.eL,D.F]})}T.B6R(t.B,[M.$G,M.sg,M.O5,G.RK,y.Hw,g.gM,L.uX,L.SP,I.I,A.O],[]),T.B6R(A.O,[a.z],[])},6790:(st,Z,l)=>{"use strict";l.d(Z,{z:()=>I});var a=l(4080),t=l(4650),D=l(5154),G=l(2868),y=l(2986),j=l(590),L=l(6630),g=l(7392);class B{constructor(P){this._baseUrl=P.url.split("#")[0]}_getFragmentUrl(){return`${this._baseUrl}#${this.example}`}static#t=this.\u0275fac=function(x){return new(x||B)(t.Y36(L.F0))};static#e=this.\u0275cmp=t.Xpm({type:B,selectors:[["header-link"]],inputs:{example:"example"},decls:3,vars:2,consts:[["aria-label","Link to this heading",1,"docs-markdown-a",3,"href"]],template:function(x,H){1&x&&(t.TgZ(0,"a",0)(1,"mat-icon"),t._uU(2,"link"),t.qZA()()),2&x&&(t.Q6J("href",H._getFragmentUrl(),t.LSH),t.uIk("aria-describedby",H.example))},dependencies:[g.Hw],encapsulation:2})}var M=l(529),A=l(1481);class T{constructor(P){this._http=P,this._cache={}}fetchDocument(P){if(this._cache[P])return this._cache[P];const x=this._http.get(P,{responseType:"text"}).pipe((0,D.d)(1));return x.pipe((0,G.b)(()=>this._cache[P]=x))}static#t=this.\u0275fac=function(x){return new(x||T)(t.LFG(M.eN))};static#e=this.\u0275prov=t.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"})}class I{constructor(P,x,H,N,z,X,W,O){this._appRef=P,this._componentFactoryResolver=x,this._elementRef=H,this._injector=N,this._viewContainerRef=z,this._ngZone=X,this._domSanitizer=W,this._docFetcher=O,this._portalHosts=[],this.contentRendered=new t.vpe,this.textContent=""}set documentUrl(P){void 0!==P&&this._fetchDocument(P)}static initExampleViewer(P,x,H,N){P.example=x,H?(P.view="snippet",P.showCompactToggle=!0,P.file=H,N&&(P.region=N)):P.view="demo"}_fetchDocument(P){this._documentFetchSubscription?.unsubscribe(),this._documentFetchSubscription=this._docFetcher.fetchDocument(P).subscribe(x=>this.updateDocument(x),x=>this.showError(P,x))}updateDocument(P){P=P.replace(/href="#([^"]*)"/g,(x,H)=>{const N=`${location.pathname}#${H}`;return`href="${this._domSanitizer.sanitize(t.q3G.URL,N)}"`}),this._elementRef.nativeElement.innerHTML=P,this.textContent=this._elementRef.nativeElement.textContent,this._loadComponents("material-docs-example",j.B),this._loadComponents("header-link",B),this._ngZone.onStable.pipe((0,y.q)(1)).subscribe(()=>this.contentRendered.next(this._elementRef.nativeElement))}showError(P,x){console.error(x),this._elementRef.nativeElement.innerText=`Failed to load document: ${P}. Error: ${x.statusText}`}_loadComponents(P,x){[...this._elementRef.nativeElement.querySelectorAll(`[${P}]`)].forEach(N=>{const z=N.getAttribute(P),X=N.getAttribute("region"),W=N.getAttribute("file"),O=new a.u0(N,this._componentFactoryResolver,this._appRef,this._injector),C=new a.C5(x,this._viewContainerRef),R=O.attach(C).instance;null!==z&&I.initExampleViewer(R,z,W,X),this._portalHosts.push(O)})}_clearLiveExamples(){this._portalHosts.forEach(P=>P.dispose()),this._portalHosts=[]}ngOnDestroy(){this._clearLiveExamples(),this._documentFetchSubscription?.unsubscribe()}static#t=this.\u0275fac=function(x){return new(x||I)(t.Y36(t.z2F),t.Y36(t._Vd),t.Y36(t.SBq),t.Y36(t.zs3),t.Y36(t.s_b),t.Y36(t.R0b),t.Y36(A.H7),t.Y36(T))};static#e=this.\u0275cmp=t.Xpm({type:I,selectors:[["doc-viewer"]],inputs:{name:"name",documentUrl:"documentUrl"},outputs:{contentRendered:"contentRendered"},decls:1,vars:0,template:function(x,H){1&x&&t._uU(0,"Loading document...")},encapsulation:2})}},3299:(st,Z,l)=>{"use strict";l.d(Z,{O:()=>D});var a=l(4650);const t=["viewer"];class D{static#t=this.\u0275fac=function(j){return new(j||D)};static#e=this.\u0275cmp=a.Xpm({type:D,selectors:[["code-snippet"]],viewQuery:function(j,L){if(1&j&&a.Gf(t,5),2&j){let g;a.iGM(g=a.CRH())&&(L.viewer=g.first)}},inputs:{source:"source"},decls:4,vars:1,consts:[[1,"docs-example-source-wrapper"],[1,"docs-example-source"],[3,"documentUrl"],["viewer",""]],template:function(j,L){1&j&&(a.TgZ(0,"div",0)(1,"pre",1),a._UZ(2,"doc-viewer",2,3),a.qZA()()),2&j&&(a.xp6(2),a.Q6J("documentUrl",L.source))},styles:["[_nghost-%COMP%]{display:block;padding:20px 0}.docs-example-viewer-wrapper[_ngcontent-%COMP%]{border-radius:4px;margin:24px 0}.docs-example-viewer-wrapper[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-top:10px}.docs-example-viewer-title[_ngcontent-%COMP%]{align-content:center;align-items:center;display:flex;justify-content:center;padding:8px 8px 8px 16px}.docs-example-viewer-title-spacer[_ngcontent-%COMP%]{flex:1 1 auto}.docs-example-viewer-body[_ngcontent-%COMP%]{padding:30px}.button-bar[_ngcontent-%COMP%]{float:right;padding:8px}code-snippet[_ngcontent-%COMP%]{padding:20px}.docs-example-source[_ngcontent-%COMP%]{padding:0;margin:0;border:none;background:none}"],changeDetection:0})}},590:(st,Z,l)=>{"use strict";l.d(Z,{B:()=>X});var a=l(5861),t=l(4650),D=l(7739),G=l(3299),y=l(1950),j=l(7009),L=l(4425);function g(W,O){if(1&W){const C=t.EpF();t.TgZ(0,"button",11),t.NdJ("click",function(){t.CHM(C);const R=t.oxw(2);return t.KtG(R.toggleCompactView())}),t.TgZ(1,"mat-icon"),t.O4$(),t.TgZ(2,"svg",12),t._UZ(3,"path",13),t.qZA()()()}}function B(W,O){if(1&W){const C=t.EpF();t.TgZ(0,"div",5)(1,"div",6),t._uU(2),t.qZA(),t.TgZ(3,"button",7),t.NdJ("click",function(){t.CHM(C);const R=t.oxw();return t.KtG(R._copyLink())}),t.TgZ(4,"mat-icon"),t._uU(5,"link"),t.qZA()(),t.YNc(6,g,4,0,"button",8),t.TgZ(7,"button",9),t.NdJ("click",function(){t.CHM(C);const R=t.oxw();return t.KtG(R.toggleSourceView())}),t.TgZ(8,"mat-icon"),t._uU(9,"code"),t.qZA()(),t._UZ(10,"stack-blitz-button",10),t.qZA()}if(2&W){const C=t.oxw();t.xp6(2),t.Oqu(null==C.exampleData?null:C.exampleData.title),t.xp6(1),t.uIk("aria-label","Copy link to "+(null==C.exampleData?null:C.exampleData.title)+" example to the clipboard"),t.xp6(3),t.Q6J("ngIf",C.showCompactToggle),t.xp6(1),t.Q6J("matTooltip","demo"===C.view?"View code":"Hide code"),t.xp6(3),t.Q6J("example",C.example)}}function M(W,O){if(1&W){const C=t.EpF();t.TgZ(0,"mat-tab",17)(1,"div",18)(2,"button",19),t.NdJ("click",function(){t.CHM(C);const R=t.oxw(2);return t.KtG(R.copySource(R.snippet,R.selectedTab))}),t.TgZ(3,"mat-icon"),t._uU(4,"content_copy"),t.qZA()()(),t._UZ(5,"code-snippet",20),t.qZA()}if(2&W){const C=O.$implicit,V=t.oxw(2);t.Q6J("label",C),t.xp6(5),t.Q6J("source",V.exampleTabs[C])}}function A(W,O){if(1&W){const C=t.EpF();t.TgZ(0,"div",14)(1,"mat-tab-group",15),t.NdJ("selectedIndexChange",function(R){t.CHM(C);const et=t.oxw();return t.KtG(et.selectedTab=R)}),t.YNc(2,M,6,2,"mat-tab",16),t.qZA()()}if(2&W){const C=t.oxw();t.xp6(1),t.Q6J("selectedIndex",C.selectedTab),t.xp6(1),t.Q6J("ngForOf",C._getExampleTabNames())}}function T(W,O){if(1&W&&(t.O4$(),t.kcU(),t._UZ(0,"code-snippet",20)),2&W){const C=t.oxw(2);t.Q6J("source",C.fileUrl)}}function I(W,O){if(1&W){const C=t.EpF();t.TgZ(0,"div",21)(1,"div",18)(2,"button",22),t.NdJ("click",function(){t.CHM(C);const R=t.oxw();return t.KtG(R.copySource(R.snippet))}),t.TgZ(3,"mat-icon"),t._uU(4,"content_copy"),t.qZA()(),t.TgZ(5,"button",23),t.NdJ("click",function(){t.CHM(C);const R=t.oxw();return t.KtG(R.toggleCompactView())}),t.TgZ(6,"mat-icon"),t.O4$(),t.TgZ(7,"svg",12),t._UZ(8,"polygon",24),t.qZA()()()(),t.YNc(9,T,1,1,"code-snippet",25),t.qZA()}if(2&W){const C=t.oxw();t.xp6(9),t.Q6J("ngIf",C.fileUrl)}}function Y(W,O){}function P(W,O){if(1&W&&t.YNc(0,Y,0,0,"ng-template",28),2&W){const C=t.oxw(2);t.Q6J("ngComponentOutlet",C._exampleComponentType)("ngComponentOutletNgModuleFactory",C._exampleModuleFactory)}}function x(W,O){1&W&&(t.TgZ(0,"div"),t._uU(1," This example contains tests. Open in Stackblitz to run the tests. "),t.qZA())}function H(W,O){if(1&W&&(t.TgZ(0,"div",26),t.YNc(1,P,1,2,null,27),t.YNc(2,x,2,0,"div",27),t.qZA()),2&W){const C=t.oxw();t.xp6(1),t.Q6J("ngIf",C._exampleComponentType&&C._exampleModuleFactory&&!(null!=C.example&&C.example.includes("harness"))),t.xp6(1),t.Q6J("ngIf",null==C.example?null:C.example.includes("harness"))}}const N=/(.*)\.(\w+)/,z=["HTML","TS","CSS"];class X{constructor(O,C,V){this.snackbar=O,this.clipboard=C,this.elementRef=V,this.selectedTab=0,this.exampleTabs={},this.exampleData=null,this._exampleComponentType=null,this._exampleModuleFactory=null,this.showCompactToggle=!1}get example(){return this._example}set example(O){O&&O!==this._example&&D.EXAMPLE_COMPONENTS[O]?(this._example=O,this.exampleData=D.EXAMPLE_COMPONENTS[O],this._generateExampleTabs(),this._loadExampleComponent().catch(C=>console.error(`Could not load example '${O}': ${C}`))):console.error(`Could not find example: ${O}`)}ngOnInit(){this.file&&(this.fileUrl=this.generateUrl(this.file))}selectCorrectTab(){if(!this.file||!this.exampleTabs)return;const O=this.file.substring(this.file.lastIndexOf(".")+1),C=this._getExampleTabNames();for(let V=0;V<C.length;V++){const R=C[V];if(R.toLowerCase()===O||R.endsWith(`.${O}`))return void(this.selectedTab=V)}console.error(`Could not find tab for file extension: "${O}".`)}toggleCompactView(){"snippet"===this.view?(this.view="full",this.selectCorrectTab()):this.view="snippet"}toggleSourceView(){this.view="full"===this.view?"demo":"full"}copySource(O,C=0){const V=O.toArray()[C].viewer.textContent||"";this.clipboard.copy(V)?this.snackbar.open("Code copied","",{duration:2500}):this.snackbar.open("Copy failed. Please try again!","",{duration:2500})}generateUrl(O){const C=O.lastIndexOf("."),V=O.substring(0,C),R=O.substring(C+1);let et;return et=this.region?`${V}_${this.region}-${R}.html`:`${V}-${R}.html`,this.exampleData?`/docs-content/examples-highlighted/${this.exampleData.packagePath}/${et}`:""}_getExampleTabNames(){return this.exampleTabs?Object.keys(this.exampleTabs).sort((O,C)=>{let V=z.indexOf(O),R=z.indexOf(C);return-1===V&&(V=z.length),-1===R&&(R=z.length),V-R||1}):[]}_copyLink(){const O=location.origin+location.pathname+"#"+this._example;this.clipboard.copy(O)?this.snackbar.open("Link copied","",{duration:2500}):this.snackbar.open("Link copy failed. Please try again!","",{duration:2500})}_loadExampleComponent(){var O=this;return(0,a.Z)(function*(){if(null!=O._example){const{componentName:C,module:V}=D.EXAMPLE_COMPONENTS[O._example],R=yield l(5977)("./"+V.importSpecifier);O._exampleComponentType=R[C],O._exampleModuleFactory=new t.tDH(R[V.name]),typeof location<"u"&&location.hash.slice(1)===O._example&&setTimeout(()=>O.elementRef.nativeElement.scrollIntoView(),300)}})()}_generateExampleTabs(){if(this.exampleTabs={},this.exampleData){const O=`${this.example}-example`,C=`/docs-content/examples-highlighted/${this.exampleData.packagePath}`,V=(0,y.A)(`${O}.ts`),R=(0,y.A)(`${O}.css`),et=(0,y.A)(`${O}.html`);for(let rt of this.exampleData.files){const mt=`${C}/${rt.replace(N,"$1-$2.html")}`;rt=(0,y.A)(rt),rt===V?this.exampleTabs.TS=mt:rt===R?this.exampleTabs.CSS=mt:rt===et?this.exampleTabs.HTML=mt:this.exampleTabs[rt]=mt}}}static#t=this.\u0275fac=function(C){return new(C||X)(t.Y36(j.ux),t.Y36(L.TU),t.Y36(t.SBq))};static#e=this.\u0275cmp=t.Xpm({type:X,selectors:[["example-viewer"]],viewQuery:function(C,V){if(1&C&&t.Gf(G.O,5),2&C){let R;t.iGM(R=t.CRH())&&(V.snippet=R)}},hostVars:1,hostBindings:function(C,V){2&C&&t.uIk("id",V.example)},inputs:{view:"view",showCompactToggle:"showCompactToggle",example:"example",region:"region",file:"file"},decls:5,vars:4,consts:[[1,"docs-example-viewer-wrapper"],["class","docs-example-viewer-title",4,"ngIf"],["class","docs-example-viewer-source",4,"ngIf"],["class","docs-example-viewer-source-compact",4,"ngIf"],["class","docs-example-viewer-body",4,"ngIf"],[1,"docs-example-viewer-title"],[1,"docs-example-viewer-title-spacer"],["mat-icon-button","","type","button","matTooltip","Copy link to example",3,"click"],["mat-icon-button","","type","button","matTooltip","View snippet only","aria-label","View less",3,"click",4,"ngIf"],["mat-icon-button","","type","button","aria-label","View source",3,"matTooltip","click"],[3,"example"],["mat-icon-button","","type","button","matTooltip","View snippet only","aria-label","View less",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","100%","height","100%","focusable","false"],["d","M15.41,10H20v2h-8V4h2v4.59L20.59,2L22,3.41L15.41,10z M4,12v2h4.59L2,20.59L3.41,22L10,15.41V20h2v-8H4z"],[1,"docs-example-viewer-source"],["animationDuration","0ms","mat-stretch-tabs","false",3,"selectedIndex","selectedIndexChange"],[3,"label",4,"ngFor","ngForOf"],[3,"label"],[1,"button-bar"],["mat-icon-button","","type","button","matTooltip","Copy example source","title","Copy example source","aria-label","Copy example source to clipboard",1,"docs-example-source-copy","docs-example-button",3,"click"],[3,"source"],[1,"docs-example-viewer-source-compact"],["mat-icon-button","","type","button","matTooltip","Copy snippet","title","Copy example source","aria-label","Copy example source to clipboard",1,"docs-example-source-copy","docs-example-button",3,"click"],["mat-icon-button","","type","button","matTooltip","View full example","aria-label","View less",1,"docs-example-compact-toggle","docs-example-button",3,"click"],["points","13,3 13,5 17.59,5 5,17.59 5,13 3,13 3,21 11,21 11,19 6.41,19 19,6.41 19,11 21,11 21,3"],[3,"source",4,"ngIf"],[1,"docs-example-viewer-body"],[4,"ngIf"],[3,"ngComponentOutlet","ngComponentOutletNgModuleFactory"]],template:function(C,V){1&C&&(t.TgZ(0,"div",0),t.YNc(1,B,11,5,"div",1),t.YNc(2,A,3,2,"div",2),t.YNc(3,I,10,1,"div",3),t.YNc(4,H,3,2,"div",4),t.qZA()),2&C&&(t.xp6(1),t.Q6J("ngIf","snippet"!==V.view),t.xp6(1),t.Q6J("ngIf","full"===V.view),t.xp6(1),t.Q6J("ngIf","snippet"===V.view),t.xp6(1),t.Q6J("ngIf","snippet"!==V.view))},styles:["[_nghost-%COMP%]{display:block;padding:20px 0}.docs-example-viewer-wrapper[_ngcontent-%COMP%]{border-radius:4px;margin:24px 0}.docs-example-viewer-wrapper[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-top:10px}.docs-example-viewer-title[_ngcontent-%COMP%]{align-content:center;align-items:center;display:flex;justify-content:center;padding:8px 8px 8px 16px}.docs-example-viewer-title-spacer[_ngcontent-%COMP%]{flex:1 1 auto}.docs-example-viewer-body[_ngcontent-%COMP%]{padding:30px}.button-bar[_ngcontent-%COMP%]{float:right;padding:8px}code-snippet[_ngcontent-%COMP%]{padding:20px}.docs-example-source[_ngcontent-%COMP%]{padding:0;margin:0;border:none;background:none}"]})}},2357:(st,Z,l)=>{"use strict";l.d(Z,{$:()=>D,_:()=>G});var a=l(3238),t=l(4650);class D{constructor(){this.isNextVersion=location.hostname.startsWith("next.material.angular.io"),this.version=a.q4.full,this.year=(new Date).getFullYear()}static#t=this.\u0275fac=function(L){return new(L||D)};static#e=this.\u0275cmp=t.Xpm({type:D,selectors:[["app-footer"]],decls:25,vars:5,consts:[[1,"docs-footer"],[1,"docs-footer-list"],[1,"docs-footer-logo"],[1,"footer-logo"],["src","../../../assets/img/homepage/angular-white-transparent.svg","alt","Angular icon",1,"docs-footer-angular-logo"],["translation-result",""],["href","https://angular.cn"],["translation-origin","off"],["href","https://angular.io"],[1,"docs-footer-version"],["src","../../../assets/img/angular-material-logo.svg","alt","Angular Material icon",1,"angular-material-logo"],["translation-result","",1,"version"],["translation-origin","off",1,"version"],[1,"docs-footer-copyright"],["href","https://github.com/angular/components/blob/main/LICENSE"]],template:function(L,g){1&L&&(t.TgZ(0,"footer",0)(1,"div",1)(2,"div",2)(3,"div",3),t._UZ(4,"img",4),t.TgZ(5,"span",5)(6,"a",6),t._uU(7,"\u5b66\u4e60 Angular"),t.qZA()(),t.TgZ(8,"span",7)(9,"a",8),t._uU(10,"Learn Angular"),t.qZA()()()(),t.TgZ(11,"div",9),t._UZ(12,"img",10),t.TgZ(13,"span",11),t._uU(14),t.qZA(),t.TgZ(15,"span",12),t._uU(16),t.qZA()(),t.TgZ(17,"div",13)(18,"div")(19,"span"),t._uU(20),t.qZA(),t.TgZ(21,"a",14),t._uU(22,"Code licensed under an MIT-style License."),t.qZA(),t.TgZ(23,"span"),t._uU(24,"Documentation licensed under CC BY 4.0."),t.qZA()()()()()),2&L&&(t.ekj("is-next-version",g.isNextVersion),t.xp6(14),t.hij("\u5f53\u524d\u7248\u672c\uff1a",g.version,""),t.xp6(2),t.hij("Current Version: ",g.version,""),t.xp6(4),t.hij("Powered by Google LLC \xa92010-",g.year,"."))},styles:[".docs-footer[_ngcontent-%COMP%]{padding:12px;font-size:12px}.docs-footer-list[_ngcontent-%COMP%]{align-items:center;display:flex;flex-flow:row wrap;padding:8px}.docs-footer-logo[_ngcontent-%COMP%]{flex:1}.docs-footer-angular-logo[_ngcontent-%COMP%]{height:50px}.docs-footer-version[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex:1}.docs-footer-version[_ngcontent-%COMP%] .angular-material-logo[_ngcontent-%COMP%]{width:40px;height:40px;margin:10px 0 10px 16px}.docs-footer-version[_ngcontent-%COMP%] .version[_ngcontent-%COMP%]{margin:0 40px}.docs-footer-copyright[_ngcontent-%COMP%]{display:flex;flex:1;justify-content:flex-end;flex-direction:column;min-width:225px;margin-top:16px}.docs-footer-copyright[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-self:flex-end;text-align:center}@media (min-width: 885px){.docs-footer-copyright[_ngcontent-%COMP%]{margin-top:0}}.docs-footer-logo[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;line-height:50px;margin:0 40px;vertical-align:bottom}.docs-footer-logo[_ngcontent-%COMP%] span[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:16px;padding:0}a[_ngcontent-%COMP%]{text-decoration:none;color:inherit}a[_ngcontent-%COMP%]:hover, a[_ngcontent-%COMP%]:focus{text-decoration:underline}@media screen and (max-width: 884px){.docs-footer-list[_ngcontent-%COMP%]{flex-direction:column}}"]})}class G{static#t=this.\u0275fac=function(L){return new(L||G)};static#e=this.\u0275mod=t.oAB({type:G});static#n=this.\u0275inj=t.cJS({})}},8553:(st,Z,l)=>{"use strict";l.d(Z,{_:()=>D});var a=l(4650);const t=[{id:"getting-started",name:"Getting started",nameCn:"\u5feb\u901f\u4e0a\u624b",document:"/docs-content/guides/getting-started.html",overview:"Add Angular Material to your project!",overviewCn:"\u628a Angular Material \u6dfb\u52a0\u5230\u4f60\u7684\u9879\u76ee\u4e2d\uff01"},{id:"schematics",name:"Schematics",nameCn:"\u539f\u7406\u56fe",document:"/docs-content/guides/schematics.html",overview:"Use schematics to quickly generate views with Material Design components.",overviewCn:"\u4f7f\u7528\u539f\u7406\u56fe\u5feb\u901f\u751f\u6210\u5e26\u6709 Material Design \u7ec4\u4ef6\u7684\u89c6\u56fe\u3002"},{id:"theming",name:"Theming Angular Material",nameCn:"Angular Material \u4e3b\u9898",document:"/docs-content/guides/theming.html",overview:"Customize your application with Angular Material's theming system.",overviewCn:"\u4f7f\u7528 Angular Material \u7684\u4e3b\u9898\u4f53\u7cfb\u5b9a\u5236\u4f60\u7684\u5e94\u7528\u3002"},{id:"theming-your-components",name:"Theming your own components",nameCn:"\u4e3a\u4f60\u81ea\u5df1\u7684\u7ec4\u4ef6\u8bbe\u7f6e\u4e3b\u9898",document:"/docs-content/guides/theming-your-components.html",overview:"Use Angular Material's theming system in your own custom components.",overviewCn:"\u5728\u4f60\u7684\u81ea\u5b9a\u4e49\u7ec4\u4ef6\u4e2d\u4f7f\u7528 Angular Material \u7684\u4e3b\u9898\u4f53\u7cfb\u3002"},{id:"typography",name:"Customizing Typography",nameCn:"\u81ea\u5b9a\u4e49\u6392\u7248",document:"/docs-content/guides/typography.html",overview:"Configure the typography settings for Angular Material components.",overviewCn:"\u4e3a Angular Material \u7ec4\u4ef6\u914d\u7f6e\u6392\u7248\u8bbe\u7f6e\u3002"},{id:"customizing-component-styles",name:"Customizing component styles",nameCn:"\u81ea\u5b9a\u4e49\u7ec4\u4ef6\u6837\u5f0f",document:"/docs-content/guides/customizing-component-styles.html",overview:"Understand how to approach style customization with Angular Material components.",overviewCn:"\u4e86\u89e3\u5982\u4f55\u5b9a\u5236 Angular Material \u7ec4\u4ef6\u7684\u6837\u5f0f\u3002"},{id:"creating-a-custom-form-field-control",name:"Custom form field control",nameCn:"\u81ea\u5b9a\u4e49\u8868\u5355\u63a7\u4ef6",document:"/docs-content/guides/creating-a-custom-form-field-control.html",overview:"Build a custom control that integrates with `<mat-form-field>`.",overviewCn:"\u6784\u5efa\u4e00\u4e2a\u53ef\u4ee5\u548c `<mat-form-field>` \u96c6\u6210\u7684\u81ea\u5b9a\u4e49\u8868\u5355\u63a7\u4ef6\u3002"},{id:"elevation",name:"Elevation helpers",nameCn:"\u7eb5\u6df1\u52a9\u624b",document:"/docs-content/guides/elevation.html",overview:"Enhance your components with elevation and depth.",overviewCn:"\u5229\u7528\u7eb5\u6df1\u611f\u5f3a\u5316\u4f60\u7684\u7ec4\u4ef6\u3002"},{id:"creating-a-custom-stepper-using-the-cdk-stepper",name:"Custom stepper using the CdkStepper",nameCn:"\u4f7f\u7528 CdkStepper \u81ea\u5b9a\u4e49\u6b65\u8fdb\u5668",document:"/docs-content/guides/creating-a-custom-stepper-using-the-cdk-stepper.html",overview:"Create a custom stepper components using Angular CDK.",overviewCn:"\u4f7f\u7528 Angular CDK \u521b\u5efa\u81ea\u5b9a\u4e49\u6b65\u8fdb\u5668\u7ec4\u4ef6\u3002"},{id:"using-component-harnesses",name:"Testing with component harnesses",nameCn:"\u4f7f\u7528\u7ec4\u4ef6\u6d4b\u8bd5\u5de5\u5177\u8fdb\u884c\u6d4b\u8bd5",document:"/docs-content/guides/using-component-harnesses.html",overview:"Write tests with component harnesses for convenience and meaningful results.",overviewCn:"\u4f7f\u7528\u7ec4\u4ef6\u6d4b\u8bd5\u5de5\u5177\u7f16\u5199\u6d4b\u8bd5\uff0c\u4ee5\u83b7\u5f97\u4fbf\u5229\u6027\uff0c\u5e76\u8f93\u51fa\u66f4\u6709\u610f\u4e49\u7684\u7ed3\u679c\u3002"},{id:"duplicate-theming-styles",name:"Duplicate theming styles",nameCn:"\u6d88\u9664\u91cd\u590d\u4e3b\u9898\u6837\u5f0f",document:"/docs-content/guides/duplicate-theming-styles.html",overview:"Learn about our new color mixins for Sass that avoid duplicating theming styles.",overviewCn:"\u5b66\u4e60\u6211\u4eec\u7684\u65b0\u8272\u5f69 Sass mixin\uff0c\u4ee5\u6d88\u9664\u91cd\u590d\u7684\u4e3b\u9898\u6837\u5f0f"},{id:"mdc-migration",name:"Migrating to MDC-based Components",nameCn:"\u8fc1\u79fb\u5230\u57fa\u4e8e MDC \u7684\u7ec4\u4ef6",document:"/docs-content/guides/v15-mdc-migration.html",overview:"Learn how to migrate your app to the new MDC-based components available in v15.",overviewCn:"\u5b66\u4e60\u5982\u4f55\u628a\u4f60\u7684\u5e94\u7528\u8fc1\u79fb\u5230 v15 \u4e2d\u7684\u65b0\u7684\u57fa\u4e8e MDC \u7684\u7ec4\u4ef6"},{id:"deploy-to-local",name:"Deploy to local",nameCn:"\u90e8\u7f72\u5230\u672c\u5730\u73af\u5883\uff08\u8bd1\u8005\uff09",document:"/docs-content/guides/deploy-to-local.html",overview:"Deploy this document to a local environment for use in an intranet or offline environment",overviewCn:"\u5c06\u672c\u6587\u6863\u90e8\u7f72\u5230\u5c40\u57df\u7f51\u6216\u672c\u5730\u73af\u5883\uff0c\u4ee5\u4fbf\u5728\u4f01\u4e1a\u5185\u7f51\u6216\u8131\u673a\u7b49\u73af\u5883\u4e0b\u4f7f\u7528\u3002"}];class D{getAllItems(){return t}getItemById(y){return t.find(j=>j.id===y)}static#t=this.\u0275fac=function(j){return new(j||D)};static#e=this.\u0275prov=a.Yz7({token:D,factory:D.\u0275fac})}},485:(st,Z,l)=>{"use strict";l.d(Z,{d:()=>y,y:()=>G});var a=l(4650),t=l(8656);let D=0;class G{constructor(L,g){this.el=L,this.navigationFocusService=g,this.tabindex="-1",this.outline="none",L.nativeElement.id||(L.nativeElement.id="skip-link-target-"+D++),this.navigationFocusService.requestFocusOnNavigation(L.nativeElement),this.navigationFocusService.requestSkipLinkFocus(L.nativeElement)}ngOnDestroy(){this.navigationFocusService.relinquishFocusOnNavigation(this.el.nativeElement),this.navigationFocusService.relinquishSkipLinkFocus(this.el.nativeElement)}static#t=this.\u0275fac=function(g){return new(g||G)(a.Y36(a.SBq),a.Y36(t.Y))};static#e=this.\u0275dir=a.lG2({type:G,selectors:[["","focusOnNavigation",""]],hostVars:3,hostBindings:function(g,B){2&g&&(a.Ikx("tabindex",B.tabindex),a.Udp("outline",B.outline))}})}class y{static#t=this.\u0275fac=function(g){return new(g||y)};static#e=this.\u0275mod=a.oAB({type:y});static#n=this.\u0275inj=a.cJS({})}},1950:(st,Z,l)=>{"use strict";l.d(Z,{A:()=>D});var a=l(3901);function D(G){return(G=a(G.replace(/\\/g,"/"))).startsWith("./")&&(G=G.substring(2)),G}},4788:(st,Z,l)=>{"use strict";l.d(Z,{F:()=>a.F});var a=l(989)},989:(st,Z,l)=>{"use strict";l.d(Z,{I:()=>gt,F:()=>bt});var a=l(5861),t=l(7739),D=l(4859),G=l(7392),y=l(266),j=l(5154),L=l(2986),g=["angular-cli","create-react-app","html","javascript","node","polymer","typescript","vue"],B={clickToLoad:function(f){return A("ctl",f)},devToolsHeight:function(f){return T("devToolsHeight",f)},forceEmbedLayout:function(f){return A("embed",f)},hideDevTools:function(f){return A("hideDevTools",f)},hideExplorer:function(f){return A("hideExplorer",f)},hideNavigation:function(f){return A("hideNavigation",f)},showSidebar:function(f){return"boolean"==typeof(m=f)?"showSidebar="+(m?"1":"0"):"";var m},openFile:function(f){return(m=f,(Array.isArray(m)?m:[m]).filter(function(b){return"string"==typeof b&&""!==b.trim()}).map(function(b){return"file="+encodeURIComponent(b.trim())})).join("&");var m},terminalHeight:function(f){return T("terminalHeight",f)},theme:function(f){return I("theme",["light","dark"],f)},view:function(f){return I("view",["preview","editor"],f)}};function A(f,h){return!0===h?f+"=1":""}function T(f,h){return"number"==typeof h&&h>=0&&h<=100?f+"="+Math.round(h):""}function I(f,h,m){return"string"==typeof m&&h.includes(m)?f+"="+m:""}function P(f,h){return""+function H(f){return void 0===f&&(f={}),"string"==typeof f.origin?f.origin:"https://stackblitz.com"}(h)+f+function M(f){void 0===f&&(f={});var h=Object.entries(f).map(function(m){var b=m[0],w=m[1];return null!=w&&B.hasOwnProperty(b)?B[b](w):""}).filter(Boolean);return h.length?"?"+h.join("&"):""}(h)}function et(f,h){var m=document.createElement("input");return m.type="hidden",m.name=f,m.value=h,m}var mt_openProject=function(f,h){var b,w;b=h,(w=function rt(f){if(!g.includes(f.template)){var h=g.map(function(w){return"'"+w+"'"}).join(", ");console.warn("Unsupported project.template: must be one of "+h)}var m="node"===f.template,b=document.createElement("form");return b.method="POST",b.setAttribute("style","display:none!important;"),b.appendChild(et("project[title]",f.title)),b.appendChild(et("project[description]",f.description)),b.appendChild(et("project[template]",f.template)),f.dependencies&&(m?console.warn("Invalid project.dependencies: dependencies must be provided as a 'package.json' file when using the 'node' template."):b.appendChild(et("project[dependencies]",JSON.stringify(f.dependencies)))),f.settings&&b.appendChild(et("project[settings]",JSON.stringify(f.settings))),Object.keys(f.files).forEach(function(w){"string"==typeof f.files[w]&&b.appendChild(et("project[files]["+w+"]",f.files[w]))}),b}(f)).action=P("/run",b),w.target=function X(f){return f&&!1===f.newWindow?"_self":"_blank"}(b),document.body.appendChild(w),w.submit(),document.body.removeChild(w)},ft=l(2644),Ct=l(1950),at=l(4650),E=l(529);const K=`Copyright ${(new Date).getFullYear()} Google LLC. All Rights Reserved.\n Use of this source code is governed by an MIT-style license that\n can be found in the LICENSE file at https://angular.io/license`,U=[".gitignore",".stackblitzrc","angular.json","karma.conf.js","package.json","package-lock.json","tsconfig.app.json","tsconfig.json","tsconfig.spec.json","src/index.html","src/main.ts","src/material.module.ts","src/polyfills.ts","src/styles.scss","src/test.ts","src/theme.scss","src/app/app.module.ts","src/environments/environment.prod.ts","src/environments/environment.ts"],J=["angular","material","cdk","web","example"];class q{constructor(h,m){this._http=h,this._ngZone=m,this._fileCache=new Map}createStackBlitzForExample(h,m,b){var w=this;return this._ngZone.runOutsideAngular((0,a.Z)(function*(){const F=yield w._buildInMemoryFileDictionary(m,h,b),$=`src/app/${m.indexFilename}`;return()=>{w._openStackBlitz({files:F,title:`Angular Components - ${m.description}`,description:`${m.description}\n\nAuto-generated from: https://material.angular.io`,openFile:$})}}))}_openStackBlitz({title:h,description:m,openFile:b,files:w}){mt_openProject({title:h,files:w,description:m,template:"node",tags:J},{openFile:b})}_buildInMemoryFileDictionary(h,m,b){var w=this;return(0,a.Z)(function*(){const F={},$=[],pt=`/docs-content/examples-source/${t.EXAMPLE_COMPONENTS[m].module.importSpecifier}/${m}/`;for(const tt of U)$.push(w._loadFile("/assets/stack-blitz/"+tt).then(ot=>w._replaceExamplePlaceholders(h,tt,ot,b)).then(ot=>F[tt]=ot));for(const tt of h.exampleFiles){const ot=(0,Ct.A)(`src/app/${tt}`);$.push(w._loadFile(pt+tt).then(vt=>w._appendCopyright(tt,vt)).then(vt=>F[ot]=vt))}return yield Promise.all($),F})()}_loadFile(h){let m=this._fileCache.get(h);return m||(m=this._http.get(h,{responseType:"text"}).pipe((0,j.d)(1)),this._fileCache.set(h,m)),m.pipe((0,L.q)(1)).toPromise()}_replaceExamplePlaceholders(h,m,b,w){if(("src/index.html"===m||"package.json"===m)&&(b=b.replace(/\${version}/g,ft.l)),"src/index.html"===m)b=b.replace(/material-docs-example/g,h.selectorName).replace(/\${title}/g,h.description);else if(".stackblitzrc"===m)b=b.replace(/\${startCommand}/,w?"turbo test":"turbo start");else if("src/app/app.module.ts"===m){const F=h.componentNames.join(", ");b=(b=(b=(b=b.replace(/{MaterialDocsExample}/g,`{${F}}`)).replace(/declarations: \[MaterialDocsExample]/g,`declarations: [${F}]`)).replace(/entryComponents: \[MaterialDocsExample]/g,`entryComponents: [${F}]`)).replace(/bootstrap: \[MaterialDocsExample]/g,`bootstrap: [${h.componentNames[0]}]`);const $=h.indexFilename.lastIndexOf("."),lt=h.indexFilename.slice(0,-1===$?void 0:$);b=b.replace(/material-docs-example/g,lt)}return b}_appendCopyright(h,m){return h.indexOf(".ts")>-1||h.indexOf(".scss")>-1?m=`${m}\n\n/** ${K} */`:h.indexOf(".html")>-1&&(m=`${m}\n\n\x3c!-- ${K} --\x3e`),m}static#t=this.\u0275fac=function(m){return new(m||q)(at.LFG(E.eN),at.LFG(at.R0b))};static#e=this.\u0275prov=at.Yz7({token:q,factory:q.\u0275fac,providedIn:"root"})}var ht=l(7009);class gt{constructor(h,m,b){this.stackBlitzWriter=h,this.ngZone=m,this.snackBar=b,this._openStackBlitzFn=null}set example(h){h?(this.exampleData=new t.ExampleData(h),this._prepareStackBlitzForExample(h,this.exampleData)):(this.exampleData=void 0,this._openStackBlitzFn=null)}openStackBlitz(){this._openStackBlitzFn?this._openStackBlitzFn():this.snackBar.open("StackBlitz is not ready yet. Please try again in a few seconds.",void 0,{duration:5e3})}_prepareStackBlitzForExample(h,m){var b=this;this.ngZone.runOutsideAngular((0,a.Z)(function*(){const w=h.includes("harness");b._openStackBlitzFn=yield b.stackBlitzWriter.createStackBlitzForExample(h,m,w)}))}static#t=this.\u0275fac=function(m){return new(m||gt)(at.Y36(q),at.Y36(at.R0b),at.Y36(ht.ux))};static#e=this.\u0275cmp=at.Xpm({type:gt,selectors:[["stack-blitz-button"]],inputs:{example:"example"},decls:3,vars:1,consts:[["mat-icon-button","","type","button","aria-label","Edit this example in StackBlitz",3,"matTooltip","click"]],template:function(m,b){1&m&&(at.TgZ(0,"button",0),at.NdJ("click",function(){return b.openStackBlitz()}),at.TgZ(1,"mat-icon"),at._uU(2,"open_in_new"),at.qZA()()),2&m&&at.Q6J("matTooltip","Edit "+(null==b.exampleData?null:b.exampleData.description)+" example in StackBlitz")},dependencies:[y.gM,D.RK,G.Hw],encapsulation:2})}class bt{static#t=this.\u0275fac=function(m){return new(m||bt)};static#e=this.\u0275mod=at.oAB({type:bt});static#n=this.\u0275inj=at.cJS({providers:[q],imports:[y.AV,D.ot,G.Ps,ht.ZX]})}},5416:(st,Z,l)=>{"use strict";l.d(Z,{i:()=>G});var a=l(6895),t=l(6630),D=l(4650);class G{static#t=this.\u0275fac=function(L){return new(L||G)};static#e=this.\u0275mod=D.oAB({type:G});static#n=this.\u0275inj=D.cJS({imports:[a.ez,t.Bz]})}},383:(st,Z,l)=>{"use strict";l.d(Z,{o:()=>M});var a=l(6895),t=l(2654),D=l(3753),G=l(13),y=l(4650),j=l(6630),L=l(8656);function g(A,T){if(1&A&&(y.TgZ(0,"a",4),y._uU(1),y.qZA()),2&A){const I=T.$implicit,Y=y.oxw(2);y.Gre("docs-level-",I.type," docs-link"),y.ekj("docs-active",I.active),y.Q6J("href",Y._rootUrl+"#"+I.id,y.LSH),y.xp6(1),y.hij(" ",I.name," ")}}function B(A,T){if(1&A&&(y.TgZ(0,"div",1)(1,"div",2),y._uU(2),y.qZA(),y.TgZ(3,"nav"),y.YNc(4,g,2,7,"a",3),y.qZA()()),2&A){const I=T.$implicit;y.xp6(2),y.Oqu(null==I?null:I.name),y.xp6(1),y.uIk("aria-label",(null==I?null:I.name)+"\u76ee\u5f55"),y.xp6(1),y.Q6J("ngForOf",null==I?null:I.links)}}class M{constructor(T,I,Y,P,x,H,N){this._router=T,this._route=I,this._element=Y,this._navigationFocusService=P,this._document=x,this._ngZone=H,this._changeDetectorRef=N,this.headerSelectors=".docs-markdown-h3:not([translation-origin]),.docs-markdown-h4:not([translation-origin])",this._linkSections=[],this._links=[],this._rootUrl=this._router.url.split("#")[0],this._scrollContainer=null,this._urlFragment="",this.subscriptions=new t.w,this.subscriptions.add(this._navigationFocusService.navigationEndEvents.subscribe(()=>{const z=T.url.split("#")[0];z!==this._rootUrl&&(this._rootUrl=z)})),this.subscriptions.add(this._route.fragment.subscribe(z=>{if(null!=z){this._urlFragment=z;const X=document.getElementById(this._urlFragment);X&&X.scrollIntoView()}}))}ngOnInit(){this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._scrollContainer=this.container?this._document.querySelector(this.container):window,this._scrollContainer&&this.subscriptions.add((0,D.R)(this._scrollContainer,"scroll").pipe((0,G.b)(10)).subscribe(()=>this.onScroll()))})})}ngAfterViewInit(){this.updateScrollPosition()}ngOnDestroy(){this.subscriptions.unsubscribe()}updateScrollPosition(){this._document.getElementById(this._urlFragment)?.scrollIntoView()}resetHeaders(){this._linkSections=[],this._links=[]}addHeaders(T,I,Y=0){const P=Array.from(I.querySelectorAll("h3:not([translation-origin]), h4:not([translation-origin])"),x=>{const H=x.innerText.trim().replace(/^link/,""),{top:N}=x.getBoundingClientRect();return{name:H,type:x.tagName.toLowerCase(),top:N,id:x.id,active:!1}});this._linkSections[Y]={name:T,links:P},this._links.push(...P)}getScrollOffset(){const{top:T}=this._element.nativeElement.getBoundingClientRect(),I=this._scrollContainer;return I instanceof HTMLElement?I.scrollTop+T:I?I.pageYOffset+T:void 0}onScroll(){const T=this.getScrollOffset();let I=!1;for(let Y=0;Y<this._links.length;Y++){const P=this._links[Y],x=this._links[Y+1],H=T>=P.top&&(!x||x.top>=T);H!==P.active&&(P.active=H,I=!0)}I&&this._ngZone.run(()=>this._changeDetectorRef.markForCheck())}static#t=this.\u0275fac=function(I){return new(I||M)(y.Y36(j.F0),y.Y36(j.gz),y.Y36(y.SBq),y.Y36(L.Y),y.Y36(a.K0),y.Y36(y.R0b),y.Y36(y.sBO))};static#e=this.\u0275cmp=y.Xpm({type:M,selectors:[["table-of-contents"]],inputs:{container:"container",headerSelectors:"headerSelectors"},decls:1,vars:1,consts:[["class","docs-toc-container",4,"ngFor","ngForOf"],[1,"docs-toc-container"],[1,"docs-toc-heading"],[3,"href","class","docs-active",4,"ngFor","ngForOf"],[3,"href"]],template:function(I,Y){1&I&&y.YNc(0,B,5,3,"div",0),2&I&&y.Q6J("ngForOf",Y._linkSections)},dependencies:[a.sg],styles:["[_nghost-%COMP%]{font-size:13px;width:19%;position:sticky;top:0;padding-left:25px;box-sizing:border-box;display:inline-flex;flex-direction:column}.docs-toc-container[_ngcontent-%COMP%]{width:100%;padding:5px 0 10px 10px}.docs-toc-container[_ngcontent-%COMP%] + .docs-toc-container[_ngcontent-%COMP%]{padding-top:8px}.docs-toc-heading[_ngcontent-%COMP%]{margin:0;padding:0;font-size:13px;font-weight:700;text-transform:capitalize}a[_ngcontent-%COMP%]{line-height:16px;margin:8px 0 0;position:relative;text-decoration:none;display:block;text-overflow:ellipsis;width:100%;overflow:hidden}.docs-level-h4[_ngcontent-%COMP%]{margin-left:12px}"]})}},3901:(st,Z)=>{"use strict";function l(g){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(B){return typeof B}:function(B){return B&&"function"==typeof Symbol&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B})(g)}Object.defineProperty(Z,"__esModule",{value:!0}),Z.default=void 0,Z.default=function(B){!function(B){var M=l(B);if("string"!==M)throw new TypeError("Expected a string, got a ".concat(M))}(B);var M=B;if(0===M.length)return".";var A=47===M.charCodeAt(0),T=47===M.charCodeAt(M.length-1);return M=function(B){try{return decodeURIComponent(B)}catch{return B}}(M),M=function(B,M){for(var P,A="",T=0,I=-1,Y=0,x=0;x<=B.length;++x){if(x<B.length)P=B.charCodeAt(x);else{if(47===P)break;P=47}if(47===P){if(I!==x-1&&1!==Y)if(I!==x-1&&2===Y){if(A.length<2||2!==T||46!==A.charCodeAt(A.length-1)||46!==A.charCodeAt(A.length-2))if(A.length>2){var H=A.lastIndexOf("/");if(H!==A.length-1){-1===H?(A="",T=0):T=(A=A.slice(0,H)).length-1-A.lastIndexOf("/"),I=x,Y=0;continue}}else if(2===A.length||1===A.length){A="",T=0,I=x,Y=0;continue}M&&(A.length>0?A+="/..":A="..",T=2)}else A.length>0?A+="/"+B.slice(I+1,x):A=B.slice(I+1,x),T=x-I-1;I=x,Y=0}else 46===P&&-1!==Y?++Y:Y=-1}return A}(M,!A),0===M.length&&!A&&(M="."),M.length>0&&T&&(M+="/"),A?"/"+M:M},st.exports=Z.default},5977:(st,Z,l)=>{var a={"./cdk-experimental/popover-edit":[4978,4978],"./cdk-experimental/popover-edit.mjs":[4978,4978],"./cdk-experimental/selection":[2418,2418],"./cdk-experimental/selection.mjs":[2418,2418],"./cdk/a11y":[6122,6122],"./cdk/a11y.mjs":[6122,6122],"./cdk/accordion":[5682,5682],"./cdk/accordion.mjs":[5682,5682],"./cdk/clipboard":[8597,8597],"./cdk/clipboard.mjs":[8597,8597],"./cdk/dialog":[9554,9554],"./cdk/dialog.mjs":[9554,9554],"./cdk/drag-drop":[7007,7007],"./cdk/drag-drop.mjs":[7007,7007],"./cdk/layout":[2558,2558],"./cdk/layout.mjs":[2558,2558],"./cdk/listbox":[2515,2515],"./cdk/listbox.mjs":[2515,2515],"./cdk/menu":[8485,8485],"./cdk/menu.mjs":[8485,8485],"./cdk/overlay":[3453,3453],"./cdk/overlay.mjs":[3453,3453],"./cdk/platform":[6030,6030],"./cdk/platform.mjs":[6030,6030],"./cdk/portal":[9728,9728],"./cdk/portal.mjs":[9728,9728],"./cdk/scrolling":[4209,4209],"./cdk/scrolling.mjs":[4209,4209],"./cdk/stepper":[842,842],"./cdk/stepper.mjs":[842,842],"./cdk/table":[9958,9958],"./cdk/table.mjs":[9958,9958],"./cdk/text-field":[9730,9730],"./cdk/text-field.mjs":[9730,9730],"./cdk/tree":[1411,1411],"./cdk/tree.mjs":[1411,1411],"./components-examples":[7739],"./components-examples.mjs":[7739],"./material-experimental/column-resize":[1933,1933],"./material-experimental/column-resize.mjs":[1933,1933],"./material-experimental/popover-edit":[8169,8169],"./material-experimental/popover-edit.mjs":[8169,8169],"./material-experimental/selection":[1244,1244],"./material-experimental/selection.mjs":[1244,1244],"./material/autocomplete":[7540,7540],"./material/autocomplete.mjs":[7540,7540],"./material/badge":[6493,6493],"./material/badge.mjs":[6493,6493],"./material/bottom-sheet":[4762,4762],"./material/bottom-sheet.mjs":[4762,4762],"./material/button":[103,103],"./material/button-toggle":[9978,9978],"./material/button-toggle.mjs":[9978,9978],"./material/button.mjs":[103,103],"./material/card":[1113,1113],"./material/card.mjs":[1113,1113],"./material/checkbox":[3741,3741],"./material/checkbox.mjs":[3741,3741],"./material/chips":[3132,3132],"./material/chips.mjs":[3132,3132],"./material/core":[6638,6638],"./material/core.mjs":[6638,6638],"./material/datepicker":[3694,3694],"./material/datepicker.mjs":[3694,3694],"./material/dialog":[318,318],"./material/dialog.mjs":[318,318],"./material/divider":[2958,2958],"./material/divider.mjs":[2958,2958],"./material/expansion":[6990,6990],"./material/expansion.mjs":[6990,6990],"./material/form-field":[7082,1605],"./material/form-field.mjs":[7082,1605],"./material/grid-list":[2623,2623],"./material/grid-list.mjs":[2623,2623],"./material/icon":[3169,3169],"./material/icon.mjs":[3169,3169],"./material/input":[4110,4110],"./material/input.mjs":[4110,4110],"./material/list":[2385,2385],"./material/list.mjs":[2385,2385],"./material/menu":[29,29],"./material/menu.mjs":[29,29],"./material/paginator":[8504,8504],"./material/paginator.mjs":[8504,8504],"./material/progress-bar":[4223,4223],"./material/progress-bar.mjs":[4223,4223],"./material/progress-spinner":[548,548],"./material/progress-spinner.mjs":[548,548],"./material/radio":[3369,3369],"./material/radio.mjs":[3369,3369],"./material/select":[5585,5585],"./material/select.mjs":[5585,5585],"./material/sidenav":[7537,7537],"./material/sidenav.mjs":[7537,7537],"./material/slide-toggle":[3502,3502],"./material/slide-toggle.mjs":[3502,3502],"./material/slider":[5844,5844],"./material/slider.mjs":[5844,5844],"./material/snack-bar":[5239,5239],"./material/snack-bar.mjs":[5239,5239],"./material/sort":[6844,6844],"./material/sort.mjs":[6844,6844],"./material/stepper":[5729,5729],"./material/stepper.mjs":[5729,5729],"./material/table":[9966,9966],"./material/table.mjs":[9966,9966],"./material/tabs":[524,524],"./material/tabs.mjs":[524,524],"./material/toolbar":[263,263],"./material/toolbar.mjs":[263,263],"./material/tooltip":[2437,2437],"./material/tooltip.mjs":[2437,2437],"./material/tree":[77,77],"./material/tree.mjs":[77,77]};function t(D){if(!l.o(a,D))return Promise.resolve().then(()=>{var j=new Error("Cannot find module '"+D+"'");throw j.code="MODULE_NOT_FOUND",j});var G=a[D],y=G[0];return Promise.all(G.slice(1).map(l.e)).then(()=>l(y))}t.keys=()=>Object.keys(a),t.id=5977,st.exports=t},4425:(st,Z,l)=>{"use strict";l.d(Z,{Iq:()=>L,TU:()=>G,i3:()=>j});var a=l(6895),t=l(4650);class D{constructor(B,M){this._document=M;const A=this._textarea=this._document.createElement("textarea"),T=A.style;T.position="fixed",T.top=T.opacity="0",T.left="-999em",A.setAttribute("aria-hidden","true"),A.value=B,A.readOnly=!0,this._document.body.appendChild(A)}copy(){const B=this._textarea;let M=!1;try{if(B){const A=this._document.activeElement;B.select(),B.setSelectionRange(0,B.value.length),M=this._document.execCommand("copy"),A&&A.focus()}}catch{}return M}destroy(){const B=this._textarea;B&&(B.remove(),this._textarea=void 0)}}let G=(()=>{class g{constructor(M){this._document=M}copy(M){const A=this.beginCopy(M),T=A.copy();return A.destroy(),T}beginCopy(M){return new D(M,this._document)}}return g.\u0275fac=function(M){return new(M||g)(t.LFG(a.K0))},g.\u0275prov=t.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})();const y=new t.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let j=(()=>{class g{constructor(M,A,T){this._clipboard=M,this._ngZone=A,this.text="",this.attempts=1,this.copied=new t.vpe,this._pending=new Set,T&&null!=T.attempts&&(this.attempts=T.attempts)}copy(M=this.attempts){if(M>1){let A=M;const T=this._clipboard.beginCopy(this.text);this._pending.add(T);const I=()=>{const Y=T.copy();Y||!--A||this._destroyed?(this._currentTimeout=null,this._pending.delete(T),T.destroy(),this.copied.emit(Y)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(I,1))};I()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(M=>M.destroy()),this._pending.clear(),this._destroyed=!0}}return g.\u0275fac=function(M){return new(M||g)(t.Y36(G),t.Y36(t.R0b),t.Y36(y,8))},g.\u0275dir=t.lG2({type:g,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(M,A){1&M&&t.NdJ("click",function(){return A.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),g})(),L=(()=>{class g{}return g.\u0275fac=function(M){return new(M||g)},g.\u0275mod=t.oAB({type:g}),g.\u0275inj=t.cJS({}),g})()},4006:(st,Z,l)=>{"use strict";l.d(Z,{Cf:()=>N,EJ:()=>ee,F:()=>Xt,Fj:()=>Y,JJ:()=>ot,JL:()=>vt,JU:()=>g,Kr:()=>je,NI:()=>Ft,On:()=>ce,Q7:()=>ne,UX:()=>ye,Wl:()=>M,YN:()=>Ne,Zs:()=>ve,_Y:()=>Se,a5:()=>$,cw:()=>Et,eT:()=>ue,gN:()=>F,j3:()=>Vn,kI:()=>W,oH:()=>me,qQ:()=>be,qu:()=>qe,sg:()=>te,u:()=>fe,u5:()=>Pn,wV:()=>de});var a=l(4650),t=l(6895),D=l(5254),G=l(567),y=l(4850);let j=(()=>{class i{constructor(e,o){this._renderer=e,this._elementRef=o,this.onChange=u=>{},this.onTouched=()=>{}}setProperty(e,o){this._renderer.setProperty(this._elementRef.nativeElement,e,o)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return i.\u0275fac=function(e){return new(e||i)(a.Y36(a.Qsj),a.Y36(a.SBq))},i.\u0275dir=a.lG2({type:i}),i})(),L=(()=>{class i extends j{}return i.\u0275fac=function(){let n;return function(o){return(n||(n=a.n5z(i)))(o||i)}}(),i.\u0275dir=a.lG2({type:i,features:[a.qOj]}),i})();const g=new a.OlP("NgValueAccessor"),B={provide:g,useExisting:(0,a.Gpc)(()=>M),multi:!0};let M=(()=>{class i extends L{writeValue(e){this.setProperty("checked",e)}}return i.\u0275fac=function(){let n;return function(o){return(n||(n=a.n5z(i)))(o||i)}}(),i.\u0275dir=a.lG2({type:i,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,o){1&e&&a.NdJ("change",function(S){return o.onChange(S.target.checked)})("blur",function(){return o.onTouched()})},features:[a._Bn([B]),a.qOj]}),i})();const A={provide:g,useExisting:(0,a.Gpc)(()=>Y),multi:!0},I=new a.OlP("CompositionEventMode");let Y=(()=>{class i extends j{constructor(e,o,u){super(e,o),this._compositionMode=u,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function T(){const i=(0,t.q)()?(0,t.q)().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return i.\u0275fac=function(e){return new(e||i)(a.Y36(a.Qsj),a.Y36(a.SBq),a.Y36(I,8))},i.\u0275dir=a.lG2({type:i,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,o){1&e&&a.NdJ("input",function(S){return o._handleInput(S.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(S){return o._compositionEnd(S.target.value)})},features:[a._Bn([A]),a.qOj]}),i})();function x(i){return null==i||("string"==typeof i||Array.isArray(i))&&0===i.length}function H(i){return null!=i&&"number"==typeof i.length}const N=new a.OlP("NgValidators"),z=new a.OlP("NgAsyncValidators"),X=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class W{static min(n){return O(n)}static max(n){return function C(i){return n=>{if(x(n.value)||x(i))return null;const e=parseFloat(n.value);return!isNaN(e)&&e>i?{max:{max:i,actual:n.value}}:null}}(n)}static required(n){return V(n)}static requiredTrue(n){return R(n)}static email(n){return function et(i){return x(i.value)||X.test(i.value)?null:{email:!0}}(n)}static minLength(n){return function rt(i){return n=>x(n.value)||!H(n.value)?null:n.value.length<i?{minlength:{requiredLength:i,actualLength:n.value.length}}:null}(n)}static maxLength(n){return function ut(i){return n=>H(n.value)&&n.value.length>i?{maxlength:{requiredLength:i,actualLength:n.value.length}}:null}(n)}static pattern(n){return function mt(i){if(!i)return ft;let n,e;return"string"==typeof i?(e="","^"!==i.charAt(0)&&(e+="^"),e+=i,"$"!==i.charAt(i.length-1)&&(e+="$"),n=new RegExp(e)):(e=i.toString(),n=i),o=>{if(x(o.value))return null;const u=o.value;return n.test(u)?null:{pattern:{requiredPattern:e,actualValue:u}}}}(n)}static nullValidator(n){return null}static compose(n){return U(n)}static composeAsync(n){return nt(n)}}function O(i){return n=>{if(x(n.value)||x(i))return null;const e=parseFloat(n.value);return!isNaN(e)&&e<i?{min:{min:i,actual:n.value}}:null}}function V(i){return x(i.value)?{required:!0}:null}function R(i){return!0===i.value?null:{required:!0}}function ft(i){return null}function Ct(i){return null!=i}function at(i){return(0,a.QGY)(i)?(0,D.D)(i):i}function E(i){let n={};return i.forEach(e=>{n=null!=e?{...n,...e}:n}),0===Object.keys(n).length?null:n}function K(i,n){return n.map(e=>e(i))}function k(i){return i.map(n=>function _(i){return!i.validate}(n)?n:e=>n.validate(e))}function U(i){if(!i)return null;const n=i.filter(Ct);return 0==n.length?null:function(e){return E(K(e,n))}}function J(i){return null!=i?U(k(i)):null}function nt(i){if(!i)return null;const n=i.filter(Ct);return 0==n.length?null:function(e){const o=K(e,n).map(at);return(0,G.D)(o).pipe((0,y.U)(E))}}function q(i){return null!=i?nt(k(i)):null}function ht(i,n){return null===i?[n]:Array.isArray(i)?[...i,n]:[i,n]}function gt(i){return i._rawValidators}function bt(i){return i._rawAsyncValidators}function f(i){return i?Array.isArray(i)?i:[i]:[]}function h(i,n){return Array.isArray(i)?i.includes(n):i===n}function m(i,n){const e=f(n);return f(i).forEach(u=>{h(e,u)||e.push(u)}),e}function b(i,n){return f(n).filter(e=>!h(i,e))}class w{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=J(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=q(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n){this.control&&this.control.reset(n)}hasError(n,e){return!!this.control&&this.control.hasError(n,e)}getError(n,e){return this.control?this.control.getError(n,e):null}}class F extends w{get formDirective(){return null}get path(){return null}}class $ extends w{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class lt{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let ot=(()=>{class i extends lt{constructor(e){super(e)}}return i.\u0275fac=function(e){return new(e||i)(a.Y36($,2))},i.\u0275dir=a.lG2({type:i,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,o){2&e&&a.ekj("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[a.qOj]}),i})(),vt=(()=>{class i extends lt{constructor(e){super(e)}}return i.\u0275fac=function(e){return new(e||i)(a.Y36(F,10))},i.\u0275dir=a.lG2({type:i,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,o){2&e&&a.ekj("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[a.qOj]}),i})();const Dt="VALID",At="INVALID",xt="PENDING",kt="DISABLED";function wt(i){return(St(i)?i.validators:i)||null}function $t(i){return Array.isArray(i)?J(i):i||null}function Lt(i,n){return(St(n)?n.asyncValidators:i)||null}function Qt(i){return Array.isArray(i)?q(i):i||null}function St(i){return null!=i&&!Array.isArray(i)&&"object"==typeof i}function Jt(i,n,e){const o=i.controls;if(!(n?Object.keys(o):o).length)throw new a.vHH(1e3,"");if(!o[e])throw new a.vHH(1001,"")}function Nt(i,n,e){i._forEachChild((o,u)=>{if(void 0===e[u])throw new a.vHH(1002,"")})}class Ot{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=n,this._rawAsyncValidators=e,this._composedValidatorFn=$t(this._rawValidators),this._composedAsyncValidatorFn=Qt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Dt}get invalid(){return this.status===At}get pending(){return this.status==xt}get disabled(){return this.status===kt}get enabled(){return this.status!==kt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._rawValidators=n,this._composedValidatorFn=$t(n)}setAsyncValidators(n){this._rawAsyncValidators=n,this._composedAsyncValidatorFn=Qt(n)}addValidators(n){this.setValidators(m(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(m(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(b(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(b(n,this._rawAsyncValidators))}hasValidator(n){return h(this._rawValidators,n)}hasAsyncValidator(n){return h(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=xt,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=kt,this.errors=null,this._forEachChild(o=>{o.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(o=>o(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Dt,this._forEachChild(o=>{o.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(o=>o(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Dt||this.status===xt)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?kt:Dt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=xt,this._hasOwnPendingAsyncValidator=!0;const e=at(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(o=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(o,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(!1!==e.emitEvent)}get(n){let e=n;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((o,u)=>o&&o._find(u),this)}getError(n,e){const o=e?this.get(e):this;return o&&o.errors?o.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new a.vpe,this.statusChanges=new a.vpe}_calculateStatus(){return this._allControlsDisabled()?kt:this.errors?At:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(xt)?xt:this._anyControlsHaveStatus(At)?At:Dt}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){St(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}}class Et extends Ot{constructor(n,e,o){super(wt(e),Lt(o,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,o={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,o={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){Nt(this,0,n),Object.keys(n).forEach(o=>{Jt(this,!0,o),this.controls[o].setValue(n[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(Object.keys(n).forEach(o=>{const u=this.controls[o];u&&u.patchValue(n[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((o,u)=>{o.reset(n[u],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,o)=>(n[o]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,o)=>!!o._syncPendingControls()||e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{const o=this.controls[e];o&&n(o,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[e,o]of Object.entries(this.controls))if(this.contains(e)&&n(o))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,o,u)=>((o.enabled||this.disabled)&&(e[u]=o.value),e))}_reduceChildren(n,e){let o=n;return this._forEachChild((u,S)=>{o=e(o,u,S)}),o}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}class Gt extends Et{}const Tt=new a.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>It}),It="always";function c(i,n){return[...n.path,i]}function p(i,n,e=It){v(i,n),n.valueAccessor.writeValue(i.value),(i.disabled||"always"===e)&&n.valueAccessor.setDisabledState?.(i.disabled),function it(i,n){n.valueAccessor.registerOnChange(e=>{i._pendingValue=e,i._pendingChange=!0,i._pendingDirty=!0,"change"===i.updateOn&&_t(i,n)})}(i,n),function qt(i,n){const e=(o,u)=>{n.valueAccessor.writeValue(o),u&&n.viewToModelUpdate(o)};i.registerOnChange(e),n._registerOnDestroy(()=>{i._unregisterOnChange(e)})}(i,n),function ct(i,n){n.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,"blur"===i.updateOn&&i._pendingChange&&_t(i,n),"submit"!==i.updateOn&&i.markAsTouched()})}(i,n),function d(i,n){if(n.valueAccessor.setDisabledState){const e=o=>{n.valueAccessor.setDisabledState(o)};i.registerOnDisabledChange(e),n._registerOnDestroy(()=>{i._unregisterOnDisabledChange(e)})}}(i,n)}function r(i,n,e=!0){const o=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(o),n.valueAccessor.registerOnTouched(o)),Q(i,n),i&&(n._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function s(i,n){i.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function v(i,n){const e=gt(i);null!==n.validator?i.setValidators(ht(e,n.validator)):"function"==typeof e&&i.setValidators([e]);const o=bt(i);null!==n.asyncValidator?i.setAsyncValidators(ht(o,n.asyncValidator)):"function"==typeof o&&i.setAsyncValidators([o]);const u=()=>i.updateValueAndValidity();s(n._rawValidators,u),s(n._rawAsyncValidators,u)}function Q(i,n){let e=!1;if(null!==i){if(null!==n.validator){const u=gt(i);if(Array.isArray(u)&&u.length>0){const S=u.filter(dt=>dt!==n.validator);S.length!==u.length&&(e=!0,i.setValidators(S))}}if(null!==n.asyncValidator){const u=bt(i);if(Array.isArray(u)&&u.length>0){const S=u.filter(dt=>dt!==n.asyncValidator);S.length!==u.length&&(e=!0,i.setAsyncValidators(S))}}}const o=()=>{};return s(n._rawValidators,o),s(n._rawAsyncValidators,o),e}function _t(i,n){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function Ae(i,n){v(i,n)}function se(i,n){if(!i.hasOwnProperty("model"))return!1;const e=i.model;return!!e.isFirstChange()||!Object.is(n,e.currentValue)}function ke(i,n){i._syncPendingControls(),n.forEach(e=>{const o=e.control;"submit"===o.updateOn&&o._pendingChange&&(e.viewToModelUpdate(o._pendingValue),o._pendingChange=!1)})}function le(i,n){if(!n)return null;let e,o,u;return Array.isArray(n),n.forEach(S=>{S.constructor===Y?e=S:function on(i){return Object.getPrototypeOf(i.constructor)===L}(S)?o=S:u=S}),u||o||e||null}const sn={provide:F,useExisting:(0,a.Gpc)(()=>Xt)},jt=(()=>Promise.resolve())();let Xt=(()=>{class i extends F{constructor(e,o,u){super(),this.callSetDisabledState=u,this.submitted=!1,this._directives=new Set,this.ngSubmit=new a.vpe,this.form=new Et({},J(e),q(o))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){jt.then(()=>{const o=this._findContainer(e.path);e.control=o.registerControl(e.name,e.control),p(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){jt.then(()=>{const o=this._findContainer(e.path);o&&o.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){jt.then(()=>{const o=this._findContainer(e.path),u=new Et({});Ae(u,e),o.registerControl(e.name,u),u.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){jt.then(()=>{const o=this._findContainer(e.path);o&&o.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,o){jt.then(()=>{this.form.get(e.path).setValue(o)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,ke(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return i.\u0275fac=function(e){return new(e||i)(a.Y36(N,10),a.Y36(z,10),a.Y36(Tt,8))},i.\u0275dir=a.lG2({type:i,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,o){1&e&&a.NdJ("submit",function(S){return o.onSubmit(S)})("reset",function(){return o.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a._Bn([sn]),a.qOj]}),i})();function we(i,n){const e=i.indexOf(n);e>-1&&i.splice(e,1)}function Oe(i){return"object"==typeof i&&null!==i&&2===Object.keys(i).length&&"value"in i&&"disabled"in i}const Ft=class extends Ot{constructor(n=null,e,o){super(wt(e),Lt(o,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),St(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=Oe(n)?n.value:n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(o=>o(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){we(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){we(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){Oe(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},dn={provide:$,useExisting:(0,a.Gpc)(()=>ce)},Ve=(()=>Promise.resolve())();let ce=(()=>{class i extends ${constructor(e,o,u,S,dt,yt){super(),this._changeDetectorRef=dt,this.callSetDisabledState=yt,this.control=new Ft,this._registered=!1,this.update=new a.vpe,this._parent=e,this._setValidators(o),this._setAsyncValidators(u),this.valueAccessor=le(0,S)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const o=e.name.previousValue;this.formDirective.removeControl({name:o,path:this._getPath(o)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),se(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){p(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){Ve.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const o=e.isDisabled.currentValue,u=0!==o&&(0,a.D6c)(o);Ve.then(()=>{u&&!this.control.disabled?this.control.disable():!u&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?c(e,this._parent):[e]}}return i.\u0275fac=function(e){return new(e||i)(a.Y36(F,9),a.Y36(N,10),a.Y36(z,10),a.Y36(g,10),a.Y36(a.sBO,8),a.Y36(Tt,8))},i.\u0275dir=a.lG2({type:i,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[a._Bn([dn]),a.qOj,a.TTD]}),i})(),Se=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=a.lG2({type:i,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),i})();const un={provide:g,useExisting:(0,a.Gpc)(()=>de),multi:!0};let de=(()=>{class i extends L{writeValue(e){this.setProperty("value",e??"")}registerOnChange(e){this.onChange=o=>{e(""==o?null:parseFloat(o))}}}return i.\u0275fac=function(){let n;return function(o){return(n||(n=a.n5z(i)))(o||i)}}(),i.\u0275dir=a.lG2({type:i,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,o){1&e&&a.NdJ("input",function(S){return o.onChange(S.target.value)})("blur",function(){return o.onTouched()})},features:[a._Bn([un]),a.qOj]}),i})(),Ie=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=a.oAB({type:i}),i.\u0275inj=a.cJS({}),i})();const pn={provide:g,useExisting:(0,a.Gpc)(()=>ue),multi:!0};let ue=(()=>{class i extends L{writeValue(e){this.setProperty("value",parseFloat(e))}registerOnChange(e){this.onChange=o=>{e(""==o?null:parseFloat(o))}}}return i.\u0275fac=function(){let n;return function(o){return(n||(n=a.n5z(i)))(o||i)}}(),i.\u0275dir=a.lG2({type:i,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,o){1&e&&a.NdJ("change",function(S){return o.onChange(S.target.value)})("input",function(S){return o.onChange(S.target.value)})("blur",function(){return o.onTouched()})},features:[a._Bn([pn]),a.qOj]}),i})();const he=new a.OlP("NgModelWithFormControlWarning"),_n={provide:$,useExisting:(0,a.Gpc)(()=>me)};let me=(()=>{class i extends ${constructor(e,o,u,S,dt){super(),this._ngModelWarningConfig=S,this.callSetDisabledState=dt,this.update=new a.vpe,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(o),this.valueAccessor=le(0,u)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const o=e.form.previousValue;o&&r(o,this,!1),p(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}se(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&r(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return i._ngModelWarningSentOnce=!1,i.\u0275fac=function(e){return new(e||i)(a.Y36(N,10),a.Y36(z,10),a.Y36(g,10),a.Y36(he,8),a.Y36(Tt,8))},i.\u0275dir=a.lG2({type:i,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[a._Bn([_n]),a.qOj,a.TTD]}),i})();const fn={provide:F,useExisting:(0,a.Gpc)(()=>te)};let te=(()=>{class i extends F{constructor(e,o,u){super(),this.callSetDisabledState=u,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new a.vpe,this._setValidators(e),this._setAsyncValidators(o)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Q(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const o=this.form.get(e.path);return p(o,e,this.callSetDisabledState),o.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),o}getControl(e){return this.form.get(e.path)}removeControl(e){r(e.control||null,e,!1),function rn(i,n){const e=i.indexOf(n);e>-1&&i.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,o){this.form.get(e.path).setValue(o)}onSubmit(e){return this.submitted=!0,ke(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const o=e.control,u=this.form.get(e.path);o!==u&&(r(o||null,e),(i=>i instanceof Ft)(u)&&(p(u,e,this.callSetDisabledState),e.control=u))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const o=this.form.get(e.path);Ae(o,e),o.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const o=this.form.get(e.path);o&&function nn(i,n){return Q(i,n)}(o,e)&&o.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){v(this.form,this),this._oldForm&&Q(this._oldForm,this)}_checkFormPresent(){}}return i.\u0275fac=function(e){return new(e||i)(a.Y36(N,10),a.Y36(z,10),a.Y36(Tt,8))},i.\u0275dir=a.lG2({type:i,selectors:[["","formGroup",""]],hostBindings:function(e,o){1&e&&a.NdJ("submit",function(S){return o.onSubmit(S)})("reset",function(){return o.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a._Bn([fn]),a.qOj,a.TTD]}),i})();const vn={provide:$,useExisting:(0,a.Gpc)(()=>fe)};let fe=(()=>{class i extends ${constructor(e,o,u,S,dt){super(),this._ngModelWarningConfig=dt,this._added=!1,this.update=new a.vpe,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(o),this._setAsyncValidators(u),this.valueAccessor=le(0,S)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),se(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return c(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return i._ngModelWarningSentOnce=!1,i.\u0275fac=function(e){return new(e||i)(a.Y36(F,13),a.Y36(N,10),a.Y36(z,10),a.Y36(g,10),a.Y36(he,8))},i.\u0275dir=a.lG2({type:i,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[a._Bn([vn]),a.qOj,a.TTD]}),i})();const yn={provide:g,useExisting:(0,a.Gpc)(()=>ee),multi:!0};function Le(i,n){return null==i?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${i}: ${n}`.slice(0,50))}let ee=(()=>{class i extends L{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;const u=Le(this._getOptionId(e),e);this.setProperty("value",u)}registerOnChange(e){this.onChange=o=>{this.value=this._getOptionValue(o),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const o of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(o),e))return o;return null}_getOptionValue(e){const o=function Cn(i){return i.split(":")[0]}(e);return this._optionMap.has(o)?this._optionMap.get(o):e}}return i.\u0275fac=function(){let n;return function(o){return(n||(n=a.n5z(i)))(o||i)}}(),i.\u0275dir=a.lG2({type:i,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,o){1&e&&a.NdJ("change",function(S){return o.onChange(S.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[a._Bn([yn]),a.qOj]}),i})(),Ne=(()=>{class i{constructor(e,o,u){this._element=e,this._renderer=o,this._select=u,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(Le(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return i.\u0275fac=function(e){return new(e||i)(a.Y36(a.SBq),a.Y36(a.Qsj),a.Y36(ee,9))},i.\u0275dir=a.lG2({type:i,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),i})();const Mn={provide:g,useExisting:(0,a.Gpc)(()=>ge),multi:!0};function Ge(i,n){return null==i?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${i}: ${n}`.slice(0,50))}let ge=(()=>{class i extends L{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let o;if(this.value=e,Array.isArray(e)){const u=e.map(S=>this._getOptionId(S));o=(S,dt)=>{S._setSelected(u.indexOf(dt.toString())>-1)}}else o=(u,S)=>{u._setSelected(!1)};this._optionMap.forEach(o)}registerOnChange(e){this.onChange=o=>{const u=[],S=o.selectedOptions;if(void 0!==S){const dt=S;for(let yt=0;yt<dt.length;yt++){const Ce=this._getOptionValue(dt[yt].value);u.push(Ce)}}else{const dt=o.options;for(let yt=0;yt<dt.length;yt++){const ie=dt[yt];if(ie.selected){const Ce=this._getOptionValue(ie.value);u.push(Ce)}}}this.value=u,e(u)}}_registerOption(e){const o=(this._idCounter++).toString();return this._optionMap.set(o,e),o}_getOptionId(e){for(const o of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(o)._value,e))return o;return null}_getOptionValue(e){const o=function xn(i){return i.split(":")[0]}(e);return this._optionMap.has(o)?this._optionMap.get(o)._value:e}}return i.\u0275fac=function(){let n;return function(o){return(n||(n=a.n5z(i)))(o||i)}}(),i.\u0275dir=a.lG2({type:i,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,o){1&e&&a.NdJ("change",function(S){return o.onChange(S.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[a._Bn([Mn]),a.qOj]}),i})(),je=(()=>{class i{constructor(e,o,u){this._element=e,this._renderer=o,this._select=u,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(Ge(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(Ge(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return i.\u0275fac=function(e){return new(e||i)(a.Y36(a.SBq),a.Y36(a.Qsj),a.Y36(ge,9))},i.\u0275dir=a.lG2({type:i,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),i})();let Bt=(()=>{class i{constructor(){this._validator=ft}ngOnChanges(e){if(this.inputName in e){const o=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(o),this._validator=this._enabled?this.createValidator(o):ft,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=a.lG2({type:i,features:[a.TTD]}),i})();const Tn={provide:N,useExisting:(0,a.Gpc)(()=>be),multi:!0};let be=(()=>{class i extends Bt{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=e=>function He(i){return"number"==typeof i?i:parseFloat(i)}(e),this.createValidator=e=>O(e)}}return i.\u0275fac=function(){let n;return function(o){return(n||(n=a.n5z(i)))(o||i)}}(),i.\u0275dir=a.lG2({type:i,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(e,o){2&e&&a.uIk("min",o._enabled?o.min:null)},inputs:{min:"min"},features:[a._Bn([Tn]),a.qOj]}),i})();const Dn={provide:N,useExisting:(0,a.Gpc)(()=>ne),multi:!0},An={provide:N,useExisting:(0,a.Gpc)(()=>ve),multi:!0};let ne=(()=>{class i extends Bt{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=a.D6c,this.createValidator=e=>V}enabled(e){return e}}return i.\u0275fac=function(){let n;return function(o){return(n||(n=a.n5z(i)))(o||i)}}(),i.\u0275dir=a.lG2({type:i,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,o){2&e&&a.uIk("required",o._enabled?"":null)},inputs:{required:"required"},features:[a._Bn([Dn]),a.qOj]}),i})(),ve=(()=>{class i extends ne{constructor(){super(...arguments),this.createValidator=e=>R}}return i.\u0275fac=function(){let n;return function(o){return(n||(n=a.n5z(i)))(o||i)}}(),i.\u0275dir=a.lG2({type:i,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(e,o){2&e&&a.uIk("required",o._enabled?"":null)},features:[a._Bn([An]),a.qOj]}),i})(),$e=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=a.oAB({type:i}),i.\u0275inj=a.cJS({imports:[Ie]}),i})(),Pn=(()=>{class i{static withConfig(e){return{ngModule:i,providers:[{provide:Tt,useValue:e.callSetDisabledState??It}]}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=a.oAB({type:i}),i.\u0275inj=a.cJS({imports:[$e]}),i})(),ye=(()=>{class i{static withConfig(e){return{ngModule:i,providers:[{provide:he,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Tt,useValue:e.callSetDisabledState??It}]}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=a.oAB({type:i}),i.\u0275inj=a.cJS({imports:[$e]}),i})();class Qe extends Ot{constructor(n,e,o){super(wt(e),Lt(o,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,e={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(n,e,o={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:o.emitEvent})}removeAt(n,e={}){let o=this._adjustIndex(n);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,o={}){let u=this._adjustIndex(n);u<0&&(u=0),this.controls[u]&&this.controls[u]._registerOnCollectionChange(()=>{}),this.controls.splice(u,1),e&&(this.controls.splice(u,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){Nt(this,0,n),n.forEach((o,u)=>{Jt(this,!1,u),this.at(u).setValue(o,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(n.forEach((o,u)=>{this.at(u)&&this.at(u).patchValue(o,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n=[],e={}){this._forEachChild((o,u)=>{o.reset(n[u],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((e,o)=>!!o._syncPendingControls()||e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((e,o)=>{n(e,o)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function Je(i){return!!i&&(void 0!==i.asyncValidators||void 0!==i.validators||void 0!==i.updateOn)}let qe=(()=>{class i{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new i;return e.useNonNullable=!0,e}group(e,o=null){const u=this._reduceControls(e);let S={};return Je(o)?S=o:null!==o&&(S.validators=o.validator,S.asyncValidators=o.asyncValidator),new Et(u,S)}record(e,o=null){const u=this._reduceControls(e);return new Gt(u,o)}control(e,o,u){let S={};return this.useNonNullable?(Je(o)?S=o:(S.validators=o,S.asyncValidators=u),new Ft(e,{...S,nonNullable:!0})):new Ft(e,o,u)}array(e,o,u){const S=e.map(dt=>this._createControl(dt));return new Qe(S,o,u)}_reduceControls(e){const o={};return Object.keys(e).forEach(u=>{o[u]=this._createControl(e[u])}),o}_createControl(e){return e instanceof Ft||e instanceof Ot?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=a.Yz7({token:i,factory:i.\u0275fac,providedIn:ye}),i})(),Vn=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=a.Yz7({token:i,factory:function(){return(0,a.f3M)(qe).nonNullable},providedIn:ye}),i})()},7009:(st,Z,l)=>{"use strict";l.d(Z,{Mm:()=>W,OX:()=>N,Wf:()=>C,ZX:()=>ut,ZZ:()=>O,ux:()=>at});var a=l(4650),t=l(8929),D=l(6895),G=l(4859),y=l(7340),j=l(4080),L=l(3353),g=l(2986),B=l(7625),M=l(2687),A=l(2289),T=l(8184),I=l(3238);function Y(E,K){if(1&E){const _=a.EpF();a.TgZ(0,"div",2)(1,"button",3),a.NdJ("click",function(){a.CHM(_);const U=a.oxw();return a.KtG(U.action())}),a._uU(2),a.qZA()()}if(2&E){const _=a.oxw();a.xp6(2),a.hij(" ",_.data.action," ")}}const P=["label"];function x(E,K){}const H=Math.pow(2,31)-1;class N{constructor(K,_){this._overlayRef=_,this._afterDismissed=new t.xQ,this._afterOpened=new t.xQ,this._onAction=new t.xQ,this._dismissedByAction=!1,this.containerInstance=K,K._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(K){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(K,H))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const z=new a.OlP("MatSnackBarData");class X{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let W=(()=>{class E{}return E.\u0275fac=function(_){return new(_||E)},E.\u0275dir=a.lG2({type:E,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}),E})(),O=(()=>{class E{}return E.\u0275fac=function(_){return new(_||E)},E.\u0275dir=a.lG2({type:E,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}),E})(),C=(()=>{class E{}return E.\u0275fac=function(_){return new(_||E)},E.\u0275dir=a.lG2({type:E,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}),E})(),V=(()=>{class E{constructor(_,k){this.snackBarRef=_,this.data=k}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return E.\u0275fac=function(_){return new(_||E)(a.Y36(N),a.Y36(z))},E.\u0275cmp=a.Xpm({type:E,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions","",4,"ngIf"],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(_,k){1&_&&(a.TgZ(0,"div",0),a._uU(1),a.qZA(),a.YNc(2,Y,3,1,"div",1)),2&_&&(a.xp6(1),a.hij(" ",k.data.message,"\n"),a.xp6(1),a.Q6J("ngIf",k.hasAction))},dependencies:[D.O5,G.lW,W,O,C],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0}),E})();const R={snackBarState:(0,y.X$)("state",[(0,y.SB)("void, hidden",(0,y.oB)({transform:"scale(0.8)",opacity:0})),(0,y.SB)("visible",(0,y.oB)({transform:"scale(1)",opacity:1})),(0,y.eR)("* => visible",(0,y.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,y.eR)("* => void, * => hidden",(0,y.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,y.oB)({opacity:0})))])};let et=(()=>{class E extends j.en{constructor(_,k,U,J,nt){super(),this._ngZone=_,this._elementRef=k,this._changeDetectorRef=U,this._platform=J,this.snackBarConfig=nt,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new t.xQ,this._onExit=new t.xQ,this._onEnter=new t.xQ,this._animationState="void",this.attachDomPortal=q=>{this._assertNotAttached();const ht=this._portalOutlet.attachDomPortal(q);return this._afterPortalAttached(),ht},this._live="assertive"!==nt.politeness||nt.announcementMessage?"off"===nt.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(_){this._assertNotAttached();const k=this._portalOutlet.attachComponentPortal(_);return this._afterPortalAttached(),k}attachTemplatePortal(_){this._assertNotAttached();const k=this._portalOutlet.attachTemplatePortal(_);return this._afterPortalAttached(),k}onAnimationEnd(_){const{fromState:k,toState:U}=_;if(("void"===U&&"void"!==k||"hidden"===U)&&this._completeExit(),"visible"===U){const J=this._onEnter;this._ngZone.run(()=>{J.next(),J.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe((0,g.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const _=this._elementRef.nativeElement,k=this.snackBarConfig.panelClass;k&&(Array.isArray(k)?k.forEach(U=>_.classList.add(U)):_.classList.add(k))}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const _=this._elementRef.nativeElement.querySelector("[aria-hidden]"),k=this._elementRef.nativeElement.querySelector("[aria-live]");if(_&&k){let U=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&_.contains(document.activeElement)&&(U=document.activeElement),_.removeAttribute("aria-hidden"),k.appendChild(_),U?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return E.\u0275fac=function(_){return new(_||E)(a.Y36(a.R0b),a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(L.t4),a.Y36(X))},E.\u0275dir=a.lG2({type:E,viewQuery:function(_,k){if(1&_&&a.Gf(j.Pl,7),2&_){let U;a.iGM(U=a.CRH())&&(k._portalOutlet=U.first)}},features:[a.qOj]}),E})(),rt=(()=>{class E extends et{_afterPortalAttached(){super._afterPortalAttached();const _=this._label.nativeElement,k="mdc-snackbar__label";_.classList.toggle(k,!_.querySelector(`.${k}`))}}return E.\u0275fac=function(){let K;return function(k){return(K||(K=a.n5z(E)))(k||E)}}(),E.\u0275cmp=a.Xpm({type:E,selectors:[["mat-snack-bar-container"]],viewQuery:function(_,k){if(1&_&&a.Gf(P,7),2&_){let U;a.iGM(U=a.CRH())&&(k._label=U.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(_,k){1&_&&a.WFA("@state.done",function(J){return k.onAnimationEnd(J)}),2&_&&a.d8E("@state",k._animationState)},features:[a.qOj],decls:6,vars:2,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(_,k){1&_&&(a.TgZ(0,"div",0)(1,"div",1,2)(3,"div",3),a.YNc(4,x,0,0,"ng-template",4),a.qZA(),a._UZ(5,"div"),a.qZA()()),2&_&&(a.xp6(5),a.uIk("aria-live",k._live)("role",k._role))},dependencies:[j.Pl],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__dismiss .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-snack-bar-container .mdc-snackbar__dismiss svg,.mat-mdc-snack-bar-container .mdc-snackbar__dismiss img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color, inherit)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color, inherit)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size, inherit);font-family:var(--mdc-snackbar-supporting-text-font, inherit);font-weight:var(--mdc-snackbar-supporting-text-weight, inherit);line-height:var(--mdc-snackbar-supporting-text-line-height, inherit)}.cdk-high-contrast-active .mat-mdc-snack-bar-container{border:solid 1px}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-mdc-snack-bar-button-color, transparent);--mat-mdc-button-persistent-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{background-color:currentColor;opacity:.1}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[R.snackBarState]}}),E})(),ut=(()=>{class E{}return E.\u0275fac=function(_){return new(_||E)},E.\u0275mod=a.oAB({type:E}),E.\u0275inj=a.cJS({imports:[T.U8,j.eL,D.ez,G.ot,I.BQ,I.BQ]}),E})();const ft=new a.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function mt(){return new X}});let Ct=(()=>{class E{constructor(_,k,U,J,nt,q){this._overlay=_,this._live=k,this._injector=U,this._breakpointObserver=J,this._parentSnackBar=nt,this._defaultConfig=q,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const _=this._parentSnackBar;return _?_._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(_){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=_:this._snackBarRefAtThisLevel=_}openFromComponent(_,k){return this._attach(_,k)}openFromTemplate(_,k){return this._attach(_,k)}open(_,k="",U){const J={...this._defaultConfig,...U};return J.data={message:_,action:k},J.announcementMessage===_&&(J.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,J)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(_,k){const J=a.zs3.create({parent:k&&k.viewContainerRef&&k.viewContainerRef.injector||this._injector,providers:[{provide:X,useValue:k}]}),nt=new j.C5(this.snackBarContainerComponent,k.viewContainerRef,J),q=_.attach(nt);return q.instance.snackBarConfig=k,q.instance}_attach(_,k){const U={...new X,...this._defaultConfig,...k},J=this._createOverlay(U),nt=this._attachSnackBarContainer(J,U),q=new N(nt,J);if(_ instanceof a.Rgc){const ht=new j.UE(_,null,{$implicit:U.data,snackBarRef:q});q.instance=nt.attachTemplatePortal(ht)}else{const ht=this._createInjector(U,q),gt=new j.C5(_,void 0,ht),bt=nt.attachComponentPortal(gt);q.instance=bt.instance}return this._breakpointObserver.observe(A.u3.HandsetPortrait).pipe((0,B.R)(J.detachments())).subscribe(ht=>{J.overlayElement.classList.toggle(this.handsetCssClass,ht.matches)}),U.announcementMessage&&nt._onAnnounce.subscribe(()=>{this._live.announce(U.announcementMessage,U.politeness)}),this._animateSnackBar(q,U),this._openedSnackBarRef=q,this._openedSnackBarRef}_animateSnackBar(_,k){_.afterDismissed().subscribe(()=>{this._openedSnackBarRef==_&&(this._openedSnackBarRef=null),k.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{_.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):_.containerInstance.enter(),k.duration&&k.duration>0&&_.afterOpened().subscribe(()=>_._dismissAfter(k.duration))}_createOverlay(_){const k=new T.X_;k.direction=_.direction;let U=this._overlay.position().global();const J="rtl"===_.direction,nt="left"===_.horizontalPosition||"start"===_.horizontalPosition&&!J||"end"===_.horizontalPosition&&J,q=!nt&&"center"!==_.horizontalPosition;return nt?U.left("0"):q?U.right("0"):U.centerHorizontally(),"top"===_.verticalPosition?U.top("0"):U.bottom("0"),k.positionStrategy=U,this._overlay.create(k)}_createInjector(_,k){return a.zs3.create({parent:_&&_.viewContainerRef&&_.viewContainerRef.injector||this._injector,providers:[{provide:N,useValue:k},{provide:z,useValue:_.data}]})}}return E.\u0275fac=function(_){return new(_||E)(a.LFG(T.aV),a.LFG(M.Kd),a.LFG(a.zs3),a.LFG(A.Yg),a.LFG(E,12),a.LFG(ft))},E.\u0275prov=a.Yz7({token:E,factory:E.\u0275fac}),E})(),at=(()=>{class E extends Ct{constructor(_,k,U,J,nt,q){super(_,k,U,J,nt,q),this.simpleSnackBarComponent=V,this.snackBarContainerComponent=rt,this.handsetCssClass="mat-mdc-snack-bar-handset"}}return E.\u0275fac=function(_){return new(_||E)(a.LFG(T.aV),a.LFG(M.Kd),a.LFG(a.zs3),a.LFG(A.Yg),a.LFG(E,12),a.LFG(ft))},E.\u0275prov=a.Yz7({token:E,factory:E.\u0275fac,providedIn:ut}),E})()},3848:(st,Z,l)=>{"use strict";l.d(Z,{BU:()=>Gt,Nh:()=>It,Nj:()=>oe,SP:()=>St,Vc:()=>tt,sW:()=>Tt,uD:()=>Pt,uX:()=>zt});var a=l(6895),t=l(4650),D=l(3238),G=l(4080),y=l(9643),j=l(2687),L=l(445),g=l(2654),B=l(8929),M=l(3753),A=l(1086),T=l(6787),I=l(8896),Y=l(6498),P=l(8723),x=l(591),H=l(1059),N=l(5778),z=l(7625),X=l(2986),W=l(7545),O=l(1307),C=l(2198),V=l(7340),R=l(1281),et=l(7376),rt=l(3353),ut=l(9521);function mt(c,p){}const ft=function(c){return{animationDuration:c}},Ct=function(c,p){return{value:c,params:p}};function at(c,p){1&c&&t.Hsn(0)}const E=["*"],K=["tabListContainer"],_=["tabList"],k=["tabListInner"],U=["nextPaginator"],J=["previousPaginator"],nt=["tabBodyWrapper"],q=["tabHeader"];function ht(c,p){}function gt(c,p){if(1&c&&t.YNc(0,ht,0,0,"ng-template",14),2&c){const r=t.oxw().$implicit;t.Q6J("cdkPortalOutlet",r.templateLabel)}}function bt(c,p){if(1&c&&t._uU(0),2&c){const r=t.oxw().$implicit;t.Oqu(r.textLabel)}}function f(c,p){if(1&c){const r=t.EpF();t.TgZ(0,"div",6,7),t.NdJ("click",function(){const d=t.CHM(r),v=d.$implicit,Q=d.index,it=t.oxw(),ct=t.MAs(1);return t.KtG(it._handleClick(v,ct,Q))})("cdkFocusChange",function(d){const Q=t.CHM(r).index,it=t.oxw();return t.KtG(it._tabFocusChanged(d,Q))}),t._UZ(2,"span",8)(3,"div",9),t.TgZ(4,"span",10)(5,"span",11),t.YNc(6,gt,1,1,"ng-template",12),t.YNc(7,bt,1,1,"ng-template",null,13,t.W1O),t.qZA()()()}if(2&c){const r=p.$implicit,s=p.index,d=t.MAs(1),v=t.MAs(8),Q=t.oxw();t.ekj("mdc-tab--active",Q.selectedIndex===s),t.Q6J("id",Q._getTabLabelId(s))("ngClass",r.labelClass)("disabled",r.disabled)("fitInkBarToContent",Q.fitInkBarToContent),t.uIk("tabIndex",Q._getTabIndex(r,s))("aria-posinset",s+1)("aria-setsize",Q._tabs.length)("aria-controls",Q._getTabContentId(s))("aria-selected",Q.selectedIndex===s)("aria-label",r.ariaLabel||null)("aria-labelledby",!r.ariaLabel&&r.ariaLabelledby?r.ariaLabelledby:null),t.xp6(3),t.Q6J("matRippleTrigger",d)("matRippleDisabled",r.disabled||Q.disableRipple),t.xp6(3),t.Q6J("ngIf",r.templateLabel)("ngIfElse",v)}}function h(c,p){if(1&c){const r=t.EpF();t.TgZ(0,"mat-tab-body",15),t.NdJ("_onCentered",function(){t.CHM(r);const d=t.oxw();return t.KtG(d._removeTabBodyWrapperHeight())})("_onCentering",function(d){t.CHM(r);const v=t.oxw();return t.KtG(v._setTabBodyWrapperHeight(d))}),t.qZA()}if(2&c){const r=p.$implicit,s=p.index,d=t.oxw();t.ekj("mat-mdc-tab-body-active",d.selectedIndex===s),t.Q6J("id",d._getTabContentId(s))("ngClass",r.bodyClass)("content",r.content)("position",r.position)("origin",r.origin)("animationDuration",d.animationDuration)("preserveContent",d.preserveContent),t.uIk("tabindex",null!=d.contentTabIndex&&d.selectedIndex===s?d.contentTabIndex:null)("aria-labelledby",d._getTabLabelId(s))}}const m=["mat-tab-nav-bar",""],b=["mat-tab-link",""],w={translateTab:(0,V.X$)("translateTab",[(0,V.SB)("center, void, left-origin-center, right-origin-center",(0,V.oB)({transform:"none"})),(0,V.SB)("left",(0,V.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,V.SB)("right",(0,V.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,V.eR)("* => left, * => right, left => center, right => center",(0,V.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,V.eR)("void => left-origin-center",[(0,V.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,V.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,V.eR)("void => right-origin-center",[(0,V.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,V.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let F=(()=>{class c extends G.Pl{constructor(r,s,d,v){super(r,s,v),this._host=d,this._centeringSub=g.w.EMPTY,this._leavingSub=g.w.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,H.O)(this._host._isCenterPosition(this._host._position))).subscribe(r=>{r&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return c.\u0275fac=function(r){return new(r||c)(t.Y36(t._Vd),t.Y36(t.s_b),t.Y36((0,t.Gpc)(()=>lt)),t.Y36(a.K0))},c.\u0275dir=t.lG2({type:c,selectors:[["","matTabBodyHost",""]],features:[t.qOj]}),c})(),$=(()=>{class c{constructor(r,s,d){this._elementRef=r,this._dir=s,this._dirChangeSubscription=g.w.EMPTY,this._translateTabComplete=new B.xQ,this._onCentering=new t.vpe,this._beforeCentering=new t.vpe,this._afterLeavingCenter=new t.vpe,this._onCentered=new t.vpe(!0),this.animationDuration="500ms",this.preserveContent=!1,s&&(this._dirChangeSubscription=s.change.subscribe(v=>{this._computePositionAnimationState(v),d.markForCheck()})),this._translateTabComplete.pipe((0,N.x)((v,Q)=>v.fromState===Q.fromState&&v.toState===Q.toState)).subscribe(v=>{this._isCenterPosition(v.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(v.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(r){this._positionIndex=r,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(r){const s=this._isCenterPosition(r.toState);this._beforeCentering.emit(s),s&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(r){return"center"==r||"left-origin-center"==r||"right-origin-center"==r}_computePositionAnimationState(r=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==r?"left":"right":this._positionIndex>0?"ltr"==r?"right":"left":"center"}_computePositionFromOrigin(r){const s=this._getLayoutDirection();return"ltr"==s&&r<=0||"rtl"==s&&r>0?"left-origin-center":"right-origin-center"}}return c.\u0275fac=function(r){return new(r||c)(t.Y36(t.SBq),t.Y36(L.Is,8),t.Y36(t.sBO))},c.\u0275dir=t.lG2({type:c,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),c})(),lt=(()=>{class c extends ${constructor(r,s,d){super(r,s,d)}}return c.\u0275fac=function(r){return new(r||c)(t.Y36(t.SBq),t.Y36(L.Is,8),t.Y36(t.sBO))},c.\u0275cmp=t.Xpm({type:c,selectors:[["mat-tab-body"]],viewQuery:function(r,s){if(1&r&&t.Gf(G.Pl,5),2&r){let d;t.iGM(d=t.CRH())&&(s._portalHost=d.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[t.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(r,s){1&r&&(t.TgZ(0,"div",0,1),t.NdJ("@translateTab.start",function(v){return s._onTranslateTabStarted(v)})("@translateTab.done",function(v){return s._translateTabComplete.next(v)}),t.YNc(2,mt,0,0,"ng-template",2),t.qZA()),2&r&&t.Q6J("@translateTab",t.WLB(3,Ct,s._position,t.VKq(1,ft,s.animationDuration)))},dependencies:[F],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[w.translateTab]}}),c})();const pt=new t.OlP("MatTabContent");let tt=(()=>{class c{constructor(r){this.template=r}}return c.\u0275fac=function(r){return new(r||c)(t.Y36(t.Rgc))},c.\u0275dir=t.lG2({type:c,selectors:[["","matTabContent",""]],features:[t._Bn([{provide:pt,useExisting:c}])]}),c})();const ot=new t.OlP("MatTabLabel"),vt=new t.OlP("MAT_TAB");let Pt=(()=>{class c extends G.ig{constructor(r,s,d){super(r,s),this._closestTab=d}}return c.\u0275fac=function(r){return new(r||c)(t.Y36(t.Rgc),t.Y36(t.s_b),t.Y36(vt,8))},c.\u0275dir=t.lG2({type:c,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[t._Bn([{provide:ot,useExisting:c}]),t.qOj]}),c})();const Mt="mdc-tab-indicator--active",Ut="mdc-tab-indicator--no-transition";class Vt{constructor(p){this._items=p}hide(){this._items.forEach(p=>p.deactivateInkBar())}alignToElement(p){const r=this._items.find(d=>d.elementRef.nativeElement===p),s=this._currentItem;if(s?.deactivateInkBar(),r){const d=s?.elementRef.nativeElement.getBoundingClientRect?.();r.activateInkBar(d),this._currentItem=r}}}function Ht(c){return class extends c{constructor(...p){super(...p),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(p){const r=(0,R.Ig)(p);this._fitToContent!==r&&(this._fitToContent=r,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(p){const r=this.elementRef.nativeElement;if(!p||!r.getBoundingClientRect||!this._inkBarContentElement)return void r.classList.add(Mt);const s=r.getBoundingClientRect(),d=p.width/s.width,v=p.left-s.left;r.classList.add(Ut),this._inkBarContentElement.style.setProperty("transform",`translateX(${v}px) scaleX(${d})`),r.getBoundingClientRect(),r.classList.remove(Ut),r.classList.add(Mt),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(Mt)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const p=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=p.createElement("span"),this._inkBarContentElement=p.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const xe=(0,D.Id)(class{}),Ee=Ht((()=>{class c extends xe{constructor(r){super(),this.elementRef=r}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return c.\u0275fac=function(r){return new(r||c)(t.Y36(t.SBq))},c.\u0275dir=t.lG2({type:c,features:[t.qOj]}),c})());let ae=(()=>{class c extends Ee{}return c.\u0275fac=function(){let p;return function(s){return(p||(p=t.n5z(c)))(s||c)}}(),c.\u0275dir=t.lG2({type:c,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(r,s){2&r&&(t.uIk("aria-disabled",!!s.disabled),t.ekj("mat-mdc-tab-disabled",s.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[t.qOj]}),c})();const Te=(0,D.Id)(class{}),Yt=new t.OlP("MAT_TAB_GROUP");let Wt=(()=>{class c extends Te{constructor(r,s){super(),this._viewContainerRef=r,this._closestTabGroup=s,this.textLabel="",this._contentPortal=null,this._stateChanges=new B.xQ,this.position=null,this.origin=null,this.isActive=!1}get content(){return this._contentPortal}ngOnChanges(r){(r.hasOwnProperty("textLabel")||r.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new G.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(r){r&&r._closestTab===this&&(this._templateLabel=r)}}return c.\u0275fac=function(r){return new(r||c)(t.Y36(t.s_b),t.Y36(Yt,8))},c.\u0275dir=t.lG2({type:c,viewQuery:function(r,s){if(1&r&&t.Gf(t.Rgc,7),2&r){let d;t.iGM(d=t.CRH())&&(s._implicitContent=d.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[t.qOj,t.TTD]}),c})(),zt=(()=>{class c extends Wt{get templateLabel(){return this._templateLabel}set templateLabel(r){this._setTemplateLabelInput(r)}}return c.\u0275fac=function(){let p;return function(s){return(p||(p=t.n5z(c)))(s||c)}}(),c.\u0275cmp=t.Xpm({type:c,selectors:[["mat-tab"]],contentQueries:function(r,s,d){if(1&r&&(t.Suo(d,tt,7,t.Rgc),t.Suo(d,Pt,5)),2&r){let v;t.iGM(v=t.CRH())&&(s._explicitContent=v.first),t.iGM(v=t.CRH())&&(s.templateLabel=v.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[t._Bn([{provide:vt,useExisting:c}]),t.qOj],ngContentSelectors:E,decls:1,vars:0,template:function(r,s){1&r&&(t.F$t(),t.YNc(0,at,1,0,"ng-template"))},encapsulation:2}),c})();const Zt=(0,rt.i$)({passive:!0});let At=(()=>{class c{constructor(r,s,d,v,Q,it,ct){this._elementRef=r,this._changeDetectorRef=s,this._viewportRuler=d,this._dir=v,this._ngZone=Q,this._platform=it,this._animationMode=ct,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new B.xQ,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new B.xQ,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new t.vpe,this.indexFocused=new t.vpe,Q.runOutsideAngular(()=>{(0,M.R)(r.nativeElement,"mouseleave").pipe((0,z.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get disablePagination(){return this._disablePagination}set disablePagination(r){this._disablePagination=(0,R.Ig)(r)}get selectedIndex(){return this._selectedIndex}set selectedIndex(r){r=(0,R.su)(r),this._selectedIndex!=r&&(this._selectedIndexChanged=!0,this._selectedIndex=r,this._keyManager&&this._keyManager.updateActiveItem(r))}ngAfterViewInit(){(0,M.R)(this._previousPaginator.nativeElement,"touchstart",Zt).pipe((0,z.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,M.R)(this._nextPaginator.nativeElement,"touchstart",Zt).pipe((0,z.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const r=this._dir?this._dir.change:(0,A.of)("ltr"),s=this._viewportRuler.change(150),d=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new j.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,X.q)(1)).subscribe(d),(0,T.T)(r,s,this._items.changes,this._itemsResized()).pipe((0,z.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),d()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(v=>{this.indexFocused.emit(v),this._setTabFocus(v)})}_itemsResized(){return"function"!=typeof ResizeObserver?I.E:this._items.changes.pipe((0,H.O)(this._items),(0,W.w)(r=>new Y.y(s=>this._ngZone.runOutsideAngular(()=>{const d=new ResizeObserver(v=>s.next(v));return r.forEach(v=>d.observe(v.elementRef.nativeElement)),()=>{d.disconnect()}}))),(0,O.T)(1),(0,C.h)(r=>r.some(s=>s.contentRect.width>0&&s.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(r){if(!(0,ut.Vb)(r))switch(r.keyCode){case ut.K5:case ut.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(r));break;default:this._keyManager.onKeydown(r)}}_onContentChanges(){const r=this._elementRef.nativeElement.textContent;r!==this._currentTextContent&&(this._currentTextContent=r||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(r){!this._isValidIndex(r)||this.focusIndex===r||!this._keyManager||this._keyManager.setActiveItem(r)}_isValidIndex(r){if(!this._items)return!0;const s=this._items?this._items.toArray()[r]:null;return!!s&&!s.disabled}_setTabFocus(r){if(this._showPaginationControls&&this._scrollToLabel(r),this._items&&this._items.length){this._items.toArray()[r].focus();const s=this._tabListContainer.nativeElement;s.scrollLeft="ltr"==this._getLayoutDirection()?0:s.scrollWidth-s.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const r=this.scrollDistance,s="ltr"===this._getLayoutDirection()?-r:r;this._tabList.nativeElement.style.transform=`translateX(${Math.round(s)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(r){this._scrollTo(r)}_scrollHeader(r){return this._scrollTo(this._scrollDistance+("before"==r?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(r){this._stopInterval(),this._scrollHeader(r)}_scrollToLabel(r){if(this.disablePagination)return;const s=this._items?this._items.toArray()[r]:null;if(!s)return;const d=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:v,offsetWidth:Q}=s.elementRef.nativeElement;let it,ct;"ltr"==this._getLayoutDirection()?(it=v,ct=it+Q):(ct=this._tabListInner.nativeElement.offsetWidth-v,it=ct-Q);const _t=this.scrollDistance,qt=this.scrollDistance+d;it<_t?this.scrollDistance-=_t-it+60:ct>qt&&(this.scrollDistance+=ct-qt+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const r=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;r||(this.scrollDistance=0),r!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=r}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const r=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,s=r?r.elementRef.nativeElement:null;s?this._inkBar.alignToElement(s):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(r,s){s&&null!=s.button&&0!==s.button||(this._stopInterval(),(0,P.H)(650,100).pipe((0,z.R)((0,T.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:d,distance:v}=this._scrollHeader(r);(0===v||v>=d)&&this._stopInterval()}))}_scrollTo(r){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const s=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(s,r)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:s,distance:this._scrollDistance}}}return c.\u0275fac=function(r){return new(r||c)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(et.rL),t.Y36(L.Is,8),t.Y36(t.R0b),t.Y36(rt.t4),t.Y36(t.QbO,8))},c.\u0275dir=t.lG2({type:c,inputs:{disablePagination:"disablePagination"}}),c})(),xt=(()=>{class c extends At{constructor(r,s,d,v,Q,it,ct){super(r,s,d,v,Q,it,ct),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(r){this._disableRipple=(0,R.Ig)(r)}_itemSelected(r){r.preventDefault()}}return c.\u0275fac=function(r){return new(r||c)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(et.rL),t.Y36(L.Is,8),t.Y36(t.R0b),t.Y36(rt.t4),t.Y36(t.QbO,8))},c.\u0275dir=t.lG2({type:c,inputs:{disableRipple:"disableRipple"},features:[t.qOj]}),c})(),kt=(()=>{class c extends xt{constructor(r,s,d,v,Q,it,ct){super(r,s,d,v,Q,it,ct)}ngAfterContentInit(){this._inkBar=new Vt(this._items),super.ngAfterContentInit()}}return c.\u0275fac=function(r){return new(r||c)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(et.rL),t.Y36(L.Is,8),t.Y36(t.R0b),t.Y36(rt.t4),t.Y36(t.QbO,8))},c.\u0275cmp=t.Xpm({type:c,selectors:[["mat-tab-header"]],contentQueries:function(r,s,d){if(1&r&&t.Suo(d,ae,4),2&r){let v;t.iGM(v=t.CRH())&&(s._items=v)}},viewQuery:function(r,s){if(1&r&&(t.Gf(K,7),t.Gf(_,7),t.Gf(k,7),t.Gf(U,5),t.Gf(J,5)),2&r){let d;t.iGM(d=t.CRH())&&(s._tabListContainer=d.first),t.iGM(d=t.CRH())&&(s._tabList=d.first),t.iGM(d=t.CRH())&&(s._tabListInner=d.first),t.iGM(d=t.CRH())&&(s._nextPaginator=d.first),t.iGM(d=t.CRH())&&(s._previousPaginator=d.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(r,s){2&r&&t.ekj("mat-mdc-tab-header-pagination-controls-enabled",s._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==s._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[t.qOj],ngContentSelectors:E,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(r,s){1&r&&(t.F$t(),t.TgZ(0,"button",0,1),t.NdJ("click",function(){return s._handlePaginatorClick("before")})("mousedown",function(v){return s._handlePaginatorPress("before",v)})("touchend",function(){return s._stopInterval()}),t._UZ(2,"div",2),t.qZA(),t.TgZ(3,"div",3,4),t.NdJ("keydown",function(v){return s._handleKeydown(v)}),t.TgZ(5,"div",5,6),t.NdJ("cdkObserveContent",function(){return s._onContentChanges()}),t.TgZ(7,"div",7,8),t.Hsn(9),t.qZA()()(),t.TgZ(10,"button",9,10),t.NdJ("mousedown",function(v){return s._handlePaginatorPress("after",v)})("click",function(){return s._handlePaginatorClick("after")})("touchend",function(){return s._stopInterval()}),t._UZ(12,"div",2),t.qZA()),2&r&&(t.ekj("mat-mdc-tab-header-pagination-disabled",s._disableScrollBefore),t.Q6J("matRippleDisabled",s._disableScrollBefore||s.disableRipple)("disabled",s._disableScrollBefore||null),t.xp6(3),t.ekj("_mat-animation-noopable","NoopAnimations"===s._animationMode),t.xp6(7),t.ekj("mat-mdc-tab-header-pagination-disabled",s._disableScrollAfter),t.Q6J("matRippleDisabled",s._disableScrollAfter||s.disableRipple)("disabled",s._disableScrollAfter||null))},dependencies:[D.wG,y.wD],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2}),c})();const wt=new t.OlP("MAT_TABS_CONFIG");let $t=0;const Lt=(0,D.pj)((0,D.Kr)(class{constructor(c){this._elementRef=c}}),"primary");let Qt=(()=>{class c extends Lt{constructor(r,s,d,v){super(r),this._changeDetectorRef=s,this._animationMode=v,this._tabs=new t.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=g.w.EMPTY,this._tabLabelSubscription=g.w.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new t.vpe,this.focusChange=new t.vpe,this.animationDone=new t.vpe,this.selectedTabChange=new t.vpe(!0),this._groupId=$t++,this.animationDuration=d&&d.animationDuration?d.animationDuration:"500ms",this.disablePagination=!(!d||null==d.disablePagination)&&d.disablePagination,this.dynamicHeight=!(!d||null==d.dynamicHeight)&&d.dynamicHeight,this.contentTabIndex=d?.contentTabIndex??null,this.preserveContent=!!d?.preserveContent}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(r){this._dynamicHeight=(0,R.Ig)(r)}get selectedIndex(){return this._selectedIndex}set selectedIndex(r){this._indexToSelect=(0,R.su)(r,null)}get animationDuration(){return this._animationDuration}set animationDuration(r){this._animationDuration=/^\d+$/.test(r+"")?r+"ms":r}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(r){this._contentTabIndex=(0,R.su)(r,null)}get disablePagination(){return this._disablePagination}set disablePagination(r){this._disablePagination=(0,R.Ig)(r)}get preserveContent(){return this._preserveContent}set preserveContent(r){this._preserveContent=(0,R.Ig)(r)}get backgroundColor(){return this._backgroundColor}set backgroundColor(r){const s=this._elementRef.nativeElement;s.classList.remove(`mat-background-${this.backgroundColor}`),r&&s.classList.add(`mat-background-${r}`),this._backgroundColor=r}ngAfterContentChecked(){const r=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=r){const s=null==this._selectedIndex;if(!s){this.selectedTabChange.emit(this._createChangeEvent(r));const d=this._tabBodyWrapper.nativeElement;d.style.minHeight=d.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((d,v)=>d.isActive=v===r),s||(this.selectedIndexChange.emit(r),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((s,d)=>{s.position=d-r,null!=this._selectedIndex&&0==s.position&&!s.origin&&(s.origin=r-this._selectedIndex)}),this._selectedIndex!==r&&(this._selectedIndex=r,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const r=this._clampTabIndex(this._indexToSelect);if(r===this._selectedIndex){const s=this._tabs.toArray();let d;for(let v=0;v<s.length;v++)if(s[v].isActive){this._indexToSelect=this._selectedIndex=v,this._lastFocusedTabIndex=null,d=s[v];break}!d&&s[r]&&Promise.resolve().then(()=>{s[r].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(r))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,H.O)(this._allTabs)).subscribe(r=>{this._tabs.reset(r.filter(s=>s._closestTabGroup===this||!s._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(r){const s=this._tabHeader;s&&(s.focusIndex=r)}_focusChanged(r){this._lastFocusedTabIndex=r,this.focusChange.emit(this._createChangeEvent(r))}_createChangeEvent(r){const s=new Jt;return s.index=r,this._tabs&&this._tabs.length&&(s.tab=this._tabs.toArray()[r]),s}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,T.T)(...this._tabs.map(r=>r._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(r){return Math.min(this._tabs.length-1,Math.max(r||0,0))}_getTabLabelId(r){return`mat-tab-label-${this._groupId}-${r}`}_getTabContentId(r){return`mat-tab-content-${this._groupId}-${r}`}_setTabBodyWrapperHeight(r){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const s=this._tabBodyWrapper.nativeElement;s.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(s.style.height=r+"px")}_removeTabBodyWrapperHeight(){const r=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=r.clientHeight,r.style.height="",this.animationDone.emit()}_handleClick(r,s,d){r.disabled||(this.selectedIndex=s.focusIndex=d)}_getTabIndex(r,s){return r.disabled?null:s===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(r,s){r&&"mouse"!==r&&"touch"!==r&&(this._tabHeader.focusIndex=s)}}return c.\u0275fac=function(r){return new(r||c)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(wt,8),t.Y36(t.QbO,8))},c.\u0275dir=t.lG2({type:c,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[t.qOj]}),c})(),St=(()=>{class c extends Qt{constructor(r,s,d,v){super(r,s,d,v),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!d||null==d.fitInkBarToContent)&&d.fitInkBarToContent}get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(r){this._fitInkBarToContent=(0,R.Ig)(r),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(r){this._stretchTabs=(0,R.Ig)(r)}}return c.\u0275fac=function(r){return new(r||c)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(wt,8),t.Y36(t.QbO,8))},c.\u0275cmp=t.Xpm({type:c,selectors:[["mat-tab-group"]],contentQueries:function(r,s,d){if(1&r&&t.Suo(d,zt,5),2&r){let v;t.iGM(v=t.CRH())&&(s._allTabs=v)}},viewQuery:function(r,s){if(1&r&&(t.Gf(nt,5),t.Gf(q,5)),2&r){let d;t.iGM(d=t.CRH())&&(s._tabBodyWrapper=d.first),t.iGM(d=t.CRH())&&(s._tabHeader=d.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:6,hostBindings:function(r,s){2&r&&t.ekj("mat-mdc-tab-group-dynamic-height",s.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===s.headerPosition)("mat-mdc-tab-group-stretch-tabs",s.stretchTabs)},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[t._Bn([{provide:Yt,useExisting:c}]),t.qOj],decls:6,vars:6,consts:[[3,"selectedIndex","disableRipple","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(r,s){1&r&&(t.TgZ(0,"mat-tab-header",0,1),t.NdJ("indexFocused",function(v){return s._focusChanged(v)})("selectFocusedIndex",function(v){return s.selectedIndex=v}),t.YNc(2,f,9,17,"div",2),t.qZA(),t.TgZ(3,"div",3,4),t.YNc(5,h,1,11,"mat-tab-body",5),t.qZA()),2&r&&(t.Q6J("selectedIndex",s.selectedIndex||0)("disableRipple",s.disableRipple),t.xp6(2),t.Q6J("ngForOf",s._tabs),t.xp6(1),t.ekj("_mat-animation-noopable","NoopAnimations"===s._animationMode),t.xp6(2),t.Q6J("ngForOf",s._tabs))},dependencies:[a.mk,a.sg,a.O5,G.Pl,D.wG,j.kH,lt,ae,kt],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab.mdc-tab{height:48px;flex-grow:0}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none}.mat-mdc-tab .mdc-tab__content{position:relative}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2}),c})();class Jt{}let Nt=0,Ot=(()=>{class c extends At{constructor(r,s,d,v,Q,it,ct){super(r,v,Q,s,d,it,ct),this._disableRipple=!1,this.color="primary"}get backgroundColor(){return this._backgroundColor}set backgroundColor(r){const s=this._elementRef.nativeElement.classList;s.remove(`mat-background-${this.backgroundColor}`),r&&s.add(`mat-background-${r}`),this._backgroundColor=r}get disableRipple(){return this._disableRipple}set disableRipple(r){this._disableRipple=(0,R.Ig)(r)}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,H.O)(null),(0,z.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const r=this._items.toArray();for(let s=0;s<r.length;s++)if(r[s].active)return this.selectedIndex=s,this._changeDetectorRef.markForCheck(),void(this.tabPanel&&(this.tabPanel._activeTabId=r[s].id));this.selectedIndex=-1,this._inkBar.hide()}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}}return c.\u0275fac=function(r){return new(r||c)(t.Y36(t.SBq),t.Y36(L.Is,8),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(et.rL),t.Y36(rt.t4),t.Y36(t.QbO,8))},c.\u0275dir=t.lG2({type:c,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[t.qOj]}),c})();const Et=(0,D.sb)((0,D.Kr)((0,D.Id)(class{}))),De=Ht((()=>{class c extends Et{constructor(r,s,d,v,Q,it){super(),this._tabNavBar=r,this.elementRef=s,this._focusMonitor=Q,this._isActive=!1,this.id="mat-tab-link-"+Nt++,this.rippleConfig=d||{},this.tabIndex=parseInt(v)||0,"NoopAnimations"===it&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get active(){return this._isActive}set active(r){const s=(0,R.Ig)(r);s!==this._isActive&&(this._isActive=s,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(r){this._tabNavBar.tabPanel&&r.keyCode===ut.L_&&this.elementRef.nativeElement.click()}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex}}return c.\u0275fac=function(r){return new(r||c)(t.Y36(Ot),t.Y36(t.SBq),t.Y36(D.Y2,8),t.$8M("tabindex"),t.Y36(j.tE),t.Y36(t.QbO,8))},c.\u0275dir=t.lG2({type:c,inputs:{active:"active",id:"id"},features:[t.qOj]}),c})());let Gt=(()=>{class c extends Ot{constructor(r,s,d,v,Q,it,ct,_t){super(r,s,d,v,Q,it,ct),this._fitInkBarToContent=new x.X(!1),this._stretchTabs=!0,this.disablePagination=!(!_t||null==_t.disablePagination)&&_t.disablePagination,this.fitInkBarToContent=!(!_t||null==_t.fitInkBarToContent)&&_t.fitInkBarToContent}get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(r){this._fitInkBarToContent.next((0,R.Ig)(r)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(r){this._stretchTabs=(0,R.Ig)(r)}ngAfterContentInit(){this._inkBar=new Vt(this._items),super.ngAfterContentInit()}ngAfterViewInit(){}}return c.\u0275fac=function(r){return new(r||c)(t.Y36(t.SBq),t.Y36(L.Is,8),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(et.rL),t.Y36(rt.t4),t.Y36(t.QbO,8),t.Y36(wt,8))},c.\u0275cmp=t.Xpm({type:c,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(r,s,d){if(1&r&&t.Suo(d,oe,5),2&r){let v;t.iGM(v=t.CRH())&&(s._items=v)}},viewQuery:function(r,s){if(1&r&&(t.Gf(K,7),t.Gf(_,7),t.Gf(k,7),t.Gf(U,5),t.Gf(J,5)),2&r){let d;t.iGM(d=t.CRH())&&(s._tabListContainer=d.first),t.iGM(d=t.CRH())&&(s._tabList=d.first),t.iGM(d=t.CRH())&&(s._tabListInner=d.first),t.iGM(d=t.CRH())&&(s._nextPaginator=d.first),t.iGM(d=t.CRH())&&(s._previousPaginator=d.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:15,hostBindings:function(r,s){2&r&&(t.uIk("role",s._getRole()),t.ekj("mat-mdc-tab-header-pagination-controls-enabled",s._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==s._getLayoutDirection())("mat-mdc-tab-nav-bar-stretch-tabs",s.stretchTabs)("mat-primary","warn"!==s.color&&"accent"!==s.color)("mat-accent","accent"===s.color)("mat-warn","warn"===s.color)("_mat-animation-noopable","NoopAnimations"===s._animationMode))},inputs:{color:"color",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabNavBar","matTabNav"],features:[t.qOj],attrs:m,ngContentSelectors:E,decls:13,vars:8,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-links"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(r,s){1&r&&(t.F$t(),t.TgZ(0,"button",0,1),t.NdJ("click",function(){return s._handlePaginatorClick("before")})("mousedown",function(v){return s._handlePaginatorPress("before",v)})("touchend",function(){return s._stopInterval()}),t._UZ(2,"div",2),t.qZA(),t.TgZ(3,"div",3,4),t.NdJ("keydown",function(v){return s._handleKeydown(v)}),t.TgZ(5,"div",5,6),t.NdJ("cdkObserveContent",function(){return s._onContentChanges()}),t.TgZ(7,"div",7,8),t.Hsn(9),t.qZA()()(),t.TgZ(10,"button",9,10),t.NdJ("mousedown",function(v){return s._handlePaginatorPress("after",v)})("click",function(){return s._handlePaginatorClick("after")})("touchend",function(){return s._stopInterval()}),t._UZ(12,"div",2),t.qZA()),2&r&&(t.ekj("mat-mdc-tab-header-pagination-disabled",s._disableScrollBefore),t.Q6J("matRippleDisabled",s._disableScrollBefore||s.disableRipple)("disabled",s._disableScrollBefore||null),t.xp6(10),t.ekj("mat-mdc-tab-header-pagination-disabled",s._disableScrollAfter),t.Q6J("matRippleDisabled",s._disableScrollAfter||s.disableRipple)("disabled",s._disableScrollAfter||null))},dependencies:[D.wG,y.wD],styles:[".mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}"],encapsulation:2}),c})(),oe=(()=>{class c extends De{constructor(r,s,d,v,Q,it){super(r,s,d,v,Q,it),this._destroyed=new B.xQ,r._fitInkBarToContent.pipe((0,z.R)(this._destroyed)).subscribe(ct=>{this.fitInkBarToContent=ct})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy()}}return c.\u0275fac=function(r){return new(r||c)(t.Y36(Gt),t.Y36(t.SBq),t.Y36(D.Y2,8),t.$8M("tabindex"),t.Y36(j.tE),t.Y36(t.QbO,8))},c.\u0275cmp=t.Xpm({type:c,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(r,s){1&r&&t.NdJ("focus",function(){return s._handleFocus()})("keydown",function(v){return s._handleKeydown(v)}),2&r&&(t.uIk("aria-controls",s._getAriaControls())("aria-current",s._getAriaCurrent())("aria-disabled",s.disabled)("aria-selected",s._getAriaSelected())("id",s.id)("tabIndex",s._getTabIndex())("role",s._getRole()),t.ekj("mat-mdc-tab-disabled",s.disabled)("mdc-tab--active",s.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[t.qOj],attrs:b,ngContentSelectors:E,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(r,s){1&r&&(t.F$t(),t._UZ(0,"span",0)(1,"div",1),t.TgZ(2,"span",2)(3,"span",3),t.Hsn(4),t.qZA()()),2&r&&(t.xp6(1),t.Q6J("matRippleTrigger",s.elementRef.nativeElement)("matRippleDisabled",s.rippleDisabled))},dependencies:[D.wG],styles:['.mat-mdc-tab-link.mdc-tab{height:48px;flex-grow:0}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none}.mat-mdc-tab-link .mdc-tab__content{position:relative}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12}.mat-mdc-tab-link.mat-mdc-tab-disabled{pointer-events:none;opacity:.4}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0}),c})(),Tt=(()=>{class c{constructor(){this.id="mat-tab-nav-panel-"+Nt++}}return c.\u0275fac=function(r){return new(r||c)},c.\u0275cmp=t.Xpm({type:c,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(r,s){2&r&&t.uIk("aria-labelledby",s._activeTabId)("id",s.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:E,decls:1,vars:0,template:function(r,s){1&r&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0}),c})(),It=(()=>{class c{}return c.\u0275fac=function(r){return new(r||c)},c.\u0275mod=t.oAB({type:c}),c.\u0275inj=t.cJS({imports:[a.ez,D.BQ,G.eL,D.si,y.Q8,j.rt,D.BQ]}),c})()}}]);