-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path1023.bf13dd8c93e642bf.js
1 lines (1 loc) · 189 KB
/
1023.bf13dd8c93e642bf.js
1
"use strict";(self.webpackChunkmaterial_angular_io=self.webpackChunkmaterial_angular_io||[]).push([[1023],{6263:(De,ne,g)=>{g.d(ne,{IC:()=>q,Ky:()=>L,Lq:()=>J,aC:()=>B});var t=g(2831),F=g(5879),o=g(2495),I=g(1226),Q=g(2079),X=g(9016),H=g(5434),U=g(9352),A=g(6814);const $=(0,t.i$)({passive:!0});let J=(()=>{class E{constructor(f,p){this._platform=f,this._ngZone=p,this._monitoredElements=new Map}monitor(f){if(!this._platform.isBrowser)return I.E;const p=(0,o.fI)(f),M=this._monitoredElements.get(p);if(M)return M.subject;const Z=new Q.xQ,w="cdk-text-field-autofilled",Y=b=>{"cdk-text-field-autofill-start"!==b.animationName||p.classList.contains(w)?"cdk-text-field-autofill-end"===b.animationName&&p.classList.contains(w)&&(p.classList.remove(w),this._ngZone.run(()=>Z.next({target:b.target,isAutofilled:!1}))):(p.classList.add(w),this._ngZone.run(()=>Z.next({target:b.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{p.addEventListener("animationstart",Y,$),p.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(p,{subject:Z,unlisten:()=>{p.removeEventListener("animationstart",Y,$)}}),Z}stopMonitoring(f){const p=(0,o.fI)(f),M=this._monitoredElements.get(p);M&&(M.unlisten(),M.subject.complete(),p.classList.remove("cdk-text-field-autofill-monitored"),p.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(p))}ngOnDestroy(){this._monitoredElements.forEach((f,p)=>this.stopMonitoring(p))}}return E.\u0275fac=function(f){return new(f||E)(F.LFG(t.t4),F.LFG(F.R0b))},E.\u0275prov=F.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})(),B=(()=>{class E{constructor(f,p){this._elementRef=f,this._autofillMonitor=p,this.cdkAutofill=new F.vpe}ngOnInit(){this._autofillMonitor.monitor(this._elementRef).subscribe(f=>this.cdkAutofill.emit(f))}ngOnDestroy(){this._autofillMonitor.stopMonitoring(this._elementRef)}}return E.\u0275fac=function(f){return new(f||E)(F.Y36(F.SBq),F.Y36(J))},E.\u0275dir=F.lG2({type:E,selectors:[["","cdkAutofill",""]],outputs:{cdkAutofill:"cdkAutofill"}}),E})(),q=(()=>{class E{get minRows(){return this._minRows}set minRows(f){this._minRows=(0,o.su)(f),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(f){this._maxRows=(0,o.su)(f),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(f){f=(0,o.Ig)(f),this._enabled!==f&&((this._enabled=f)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(f){this._cachedPlaceholderHeight=void 0,f?this._textareaElement.setAttribute("placeholder",f):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}constructor(f,p,M,Z){this._elementRef=f,this._platform=p,this._ngZone=M,this._destroyed=new Q.xQ,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=w=>{this._hasFocus="focus"===w.type},this._document=Z,this._textareaElement=this._elementRef.nativeElement}_setMinHeight(){const f=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;f&&(this._textareaElement.style.minHeight=f)}_setMaxHeight(){const f=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;f&&(this._textareaElement.style.maxHeight=f)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const f=this._getWindow();(0,X.R)(f,"resize").pipe((0,H.e)(16),(0,U.R)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let f=this._textareaElement.cloneNode(!1);f.rows=1,f.style.position="absolute",f.style.visibility="hidden",f.style.border="none",f.style.padding="0",f.style.height="",f.style.minHeight="",f.style.maxHeight="",f.style.overflow="hidden",this._textareaElement.parentNode.appendChild(f),this._cachedLineHeight=f.clientHeight,f.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const f=this._textareaElement,p=f.style.marginBottom||"",M=this._platform.FIREFOX,Z=M&&this._hasFocus,w=M?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";Z&&(f.style.marginBottom=`${f.clientHeight}px`),f.classList.add(w);const Y=f.scrollHeight-4;return f.classList.remove(w),Z&&(f.style.marginBottom=p),Y}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const f=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=f}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(f=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const p=this._elementRef.nativeElement,M=p.value;if(!f&&this._minRows===this._previousMinRows&&M===this._previousValue)return;const Z=this._measureScrollHeight(),w=Math.max(Z,this._cachedPlaceholderHeight||0);p.style.height=`${w}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(p)):setTimeout(()=>this._scrollToCaretPosition(p))}),this._previousValue=M,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(f){const{selectionStart:p,selectionEnd:M}=f;!this._destroyed.isStopped&&this._hasFocus&&f.setSelectionRange(p,M)}}return E.\u0275fac=function(f){return new(f||E)(F.Y36(F.SBq),F.Y36(t.t4),F.Y36(F.R0b),F.Y36(A.K0,8))},E.\u0275dir=F.lG2({type:E,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(f,p){1&f&&F.NdJ("input",function(){return p._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),E})(),L=(()=>{class E{}return E.\u0275fac=function(f){return new(f||E)},E.\u0275mod=F.oAB({type:E}),E.\u0275inj=F.cJS({}),E})()},1894:(De,ne,g)=>{g.d(ne,{C2:()=>q,HI:()=>E,Hs:()=>P,Ud:()=>oe,VY:()=>L,XJ:()=>le,Xx:()=>ie,_0:()=>x,cu:()=>V,nZ:()=>_e,rO:()=>p});var t=g(8337),F=g(5363),o=g(2079),I=g(5125),Q=g(9193),X=g(1418),H=g(7734),U=g(9352),A=g(5879),$=g(2495),J=g(9388);class B{constructor(){this.expansionModel=new t.Ov(!0)}toggle(v){this.expansionModel.toggle(this._trackByValue(v))}expand(v){this.expansionModel.select(this._trackByValue(v))}collapse(v){this.expansionModel.deselect(this._trackByValue(v))}isExpanded(v){return this.expansionModel.isSelected(this._trackByValue(v))}toggleDescendants(v){this.expansionModel.isSelected(this._trackByValue(v))?this.collapseDescendants(v):this.expandDescendants(v)}collapseAll(){this.expansionModel.clear()}expandDescendants(v){let m=[v];m.push(...this.getDescendants(v)),this.expansionModel.select(...m.map(y=>this._trackByValue(y)))}collapseDescendants(v){let m=[v];m.push(...this.getDescendants(v)),this.expansionModel.deselect(...m.map(y=>this._trackByValue(y)))}_trackByValue(v){return this.trackBy?this.trackBy(v):v}}class q extends B{constructor(v,m,y){super(),this.getLevel=v,this.isExpandable=m,this.options=y,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(v){const y=[];for(let S=this.dataNodes.indexOf(v)+1;S<this.dataNodes.length&&this.getLevel(v)<this.getLevel(this.dataNodes[S]);S++)y.push(this.dataNodes[S]);return y}expandAll(){this.expansionModel.select(...this.dataNodes.map(v=>this._trackByValue(v)))}}class L extends B{constructor(v,m){super(),this.getChildren=v,this.options=m,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const v=this.dataNodes.reduce((m,y)=>[...m,...this.getDescendants(y),y],[]);this.expansionModel.select(...v.map(m=>this._trackByValue(m)))}getDescendants(v){const m=[];return this._getDescendants(m,v),m.splice(1)}_getDescendants(v,m){v.push(m);const y=this.getChildren(m);Array.isArray(y)?y.forEach(S=>this._getDescendants(v,S)):(0,F.b)(y)&&y.pipe((0,X.q)(1),(0,H.h)(Boolean)).subscribe(S=>{for(const G of S)this._getDescendants(v,G)})}}const E=new A.OlP("CDK_TREE_NODE_OUTLET_NODE");let V=(()=>{class k{constructor(m,y){this.viewContainer=m,this._node=y}}return k.\u0275fac=function(m){return new(m||k)(A.Y36(A.s_b),A.Y36(E,8))},k.\u0275dir=A.lG2({type:k,selectors:[["","cdkTreeNodeOutlet",""]]}),k})();class f{constructor(v){this.$implicit=v}}let p=(()=>{class k{constructor(m){this.template=m}}return k.\u0275fac=function(m){return new(m||k)(A.Y36(A.Rgc))},k.\u0275dir=A.lG2({type:k,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),k})(),x=(()=>{class k{get dataSource(){return this._dataSource}set dataSource(m){this._dataSource!==m&&this._switchDataSource(m)}constructor(m,y){this._differs=m,this._changeDetectorRef=y,this._onDestroy=new o.xQ,this._levels=new Map,this.viewChange=new I.X({start:0,end:Number.MAX_VALUE})}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy)}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}ngAfterContentChecked(){const m=this._nodeDefs.filter(y=>!y.when);this._defaultNodeDef=m[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(m){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),m||this._nodeOutlet.viewContainer.clear(),this._dataSource=m,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let m;(0,t.Z9)(this._dataSource)?m=this._dataSource.connect(this):(0,F.b)(this._dataSource)?m=this._dataSource:Array.isArray(this._dataSource)&&(m=(0,Q.of)(this._dataSource)),m&&(this._dataSubscription=m.pipe((0,U.R)(this._onDestroy)).subscribe(y=>this.renderNodeChanges(y)))}renderNodeChanges(m,y=this._dataDiffer,S=this._nodeOutlet.viewContainer,G){const de=y.diff(m);de&&(de.forEachOperation((ae,fe,ce)=>{if(null==ae.previousIndex)this.insertNode(m[ce],ce,S,G);else if(null==ce)S.remove(fe),this._levels.delete(ae.item);else{const me=S.get(fe);S.move(me,ce)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(m,y){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(G=>G.when&&G.when(y,m))||this._defaultNodeDef}insertNode(m,y,S,G){const de=this._getNodeDef(m,y),ae=new f(m);ae.level=this.treeControl.getLevel?this.treeControl.getLevel(m):typeof G<"u"&&this._levels.has(G)?this._levels.get(G)+1:0,this._levels.set(m,ae.level),(S||this._nodeOutlet.viewContainer).createEmbeddedView(de.template,ae,y),P.mostRecentTreeNode&&(P.mostRecentTreeNode.data=m)}}return k.\u0275fac=function(m){return new(m||k)(A.Y36(A.ZZ4),A.Y36(A.sBO))},k.\u0275cmp=A.Xpm({type:k,selectors:[["cdk-tree"]],contentQueries:function(m,y,S){if(1&m&&A.Suo(S,p,5),2&m){let G;A.iGM(G=A.CRH())&&(y._nodeDefs=G)}},viewQuery:function(m,y){if(1&m&&A.Gf(V,7),2&m){let S;A.iGM(S=A.CRH())&&(y._nodeOutlet=S.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(m,y){1&m&&A.GkF(0,0)},dependencies:[V],encapsulation:2}),k})(),P=(()=>{class k{get role(){return"treeitem"}set role(m){this._elementRef.nativeElement.setAttribute("role",m)}get data(){return this._data}set data(m){m!==this._data&&(this._data=m,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}constructor(m,y){this._elementRef=m,this._tree=y,this._destroyed=new o.xQ,this._dataChanges=new o.xQ,k.mostRecentTreeNode=this,this.role="treeitem"}ngOnInit(){this._parentNodeAriaLevel=function K(k){let v=k.parentElement;for(;v&&!j(v);)v=v.parentElement;return v?v.classList.contains("cdk-nested-tree-node")?(0,$.su)(v.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){k.mostRecentTreeNode===this&&(k.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}}return k.mostRecentTreeNode=null,k.\u0275fac=function(m){return new(m||k)(A.Y36(A.SBq),A.Y36(x))},k.\u0275dir=A.lG2({type:k,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(m,y){2&m&&A.uIk("aria-expanded",y.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"]}),k})();function j(k){const v=k.classList;return!(!v?.contains("cdk-nested-tree-node")&&!v?.contains("cdk-tree"))}let ie=(()=>{class k extends P{constructor(m,y,S){super(m,y),this._differs=S}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);const m=this._tree.treeControl.getChildren(this.data);Array.isArray(m)?this.updateChildrenNodes(m):(0,F.b)(m)&&m.pipe((0,U.R)(this._destroyed)).subscribe(y=>this.updateChildrenNodes(y)),this.nodeOutlet.changes.pipe((0,U.R)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(m){const y=this._getNodeOutlet();m&&(this._children=m),y&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,y.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const m=this._getNodeOutlet();m&&(m.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const m=this.nodeOutlet;return m&&m.find(y=>!y._node||y._node===this)}}return k.\u0275fac=function(m){return new(m||k)(A.Y36(A.SBq),A.Y36(x),A.Y36(A.ZZ4))},k.\u0275dir=A.lG2({type:k,selectors:[["cdk-nested-tree-node"]],contentQueries:function(m,y,S){if(1&m&&A.Suo(S,V,5),2&m){let G;A.iGM(G=A.CRH())&&(y.nodeOutlet=G)}},hostAttrs:[1,"cdk-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[A._Bn([{provide:P,useExisting:k},{provide:E,useExisting:k}]),A.qOj]}),k})();const re=/([A-Za-z%]+)$/;let le=(()=>{class k{get level(){return this._level}set level(m){this._setLevelInput(m)}get indent(){return this._indent}set indent(m){this._setIndentInput(m)}constructor(m,y,S,G){this._treeNode=m,this._tree=y,this._element=S,this._dir=G,this._destroyed=new o.xQ,this.indentUnits="px",this._indent=40,this._setPadding(),G&&G.change.pipe((0,U.R)(this._destroyed)).subscribe(()=>this._setPadding(!0)),m._dataChanges.subscribe(()=>this._setPadding())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const m=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,y=null==this._level?m:this._level;return"number"==typeof y?`${y*this._indent}${this.indentUnits}`:null}_setPadding(m=!1){const y=this._paddingIndent();if(y!==this._currentPadding||m){const S=this._element.nativeElement,G=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",de="paddingLeft"===G?"paddingRight":"paddingLeft";S.style[G]=y||"",S.style[de]="",this._currentPadding=y}}_setLevelInput(m){this._level=(0,$.su)(m,null),this._setPadding()}_setIndentInput(m){let y=m,S="px";if("string"==typeof m){const G=m.split(re);y=G[0],S=G[1]||S}this.indentUnits=S,this._indent=(0,$.su)(y),this._setPadding()}}return k.\u0275fac=function(m){return new(m||k)(A.Y36(P),A.Y36(x),A.Y36(A.SBq),A.Y36(J.Is,8))},k.\u0275dir=A.lG2({type:k,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),k})(),oe=(()=>{class k{get recursive(){return this._recursive}set recursive(m){this._recursive=(0,$.Ig)(m)}constructor(m,y){this._tree=m,this._treeNode=y,this._recursive=!1}_toggle(m){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),m.stopPropagation()}}return k.\u0275fac=function(m){return new(m||k)(A.Y36(x),A.Y36(P))},k.\u0275dir=A.lG2({type:k,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(m,y){1&m&&A.NdJ("click",function(G){return y._toggle(G)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),k})(),_e=(()=>{class k{}return k.\u0275fac=function(m){return new(m||k)},k.\u0275mod=A.oAB({type:k}),k.\u0275inj=A.cJS({}),k})()},1023:(De,ne,g)=>{g.r(ne),g.d(ne,{TreeChecklistExample:()=>se,TreeDynamicExample:()=>Se,TreeFlatOverviewExample:()=>be,TreeHarnessExample:()=>Ie,TreeLoadmoreExample:()=>Ge,TreeNestedOverviewExample:()=>tt});var t=g(8337),F=g(1894),o=g(5879),I=g(3680),Q=g(2495),X=g(5125),H=g(7354),U=g(1418),A=g(6124);const $=(0,I.sb)((0,I.Id)(F.Hs));let J=(()=>{class l extends ${constructor(a,s,D){super(a,s),this.tabIndex=Number(D)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}}return l.\u0275fac=function(a){return new(a||l)(o.Y36(o.SBq),o.Y36(F._0),o.$8M("tabindex"))},l.\u0275dir=o.lG2({type:l,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[o._Bn([{provide:F.Hs,useExisting:l}]),o.qOj]}),l})(),B=(()=>{class l extends F.rO{}return l.\u0275fac=function(){let h;return function(s){return(h||(h=o.n5z(l)))(s||l)}}(),l.\u0275dir=o.lG2({type:l,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[o._Bn([{provide:F.rO,useExisting:l}]),o.qOj]}),l})(),q=(()=>{class l extends F.Xx{get disabled(){return this._disabled}set disabled(a){this._disabled=(0,Q.Ig)(a)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(a){this._tabIndex=a??0}constructor(a,s,D,O){super(a,s,D),this._disabled=!1,this.tabIndex=Number(O)||0}ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}}return l.\u0275fac=function(a){return new(a||l)(o.Y36(o.SBq),o.Y36(F._0),o.Y36(o.ZZ4),o.$8M("tabindex"))},l.\u0275dir=o.lG2({type:l,selectors:[["mat-nested-tree-node"]],hostAttrs:[1,"mat-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex",node:["matNestedTreeNode","node"]},exportAs:["matNestedTreeNode"],features:[o._Bn([{provide:F.Xx,useExisting:l},{provide:F.Hs,useExisting:l},{provide:F.HI,useExisting:l}]),o.qOj]}),l})(),L=(()=>{class l extends F.XJ{get level(){return this._level}set level(a){this._setLevelInput(a)}get indent(){return this._indent}set indent(a){this._setIndentInput(a)}}return l.\u0275fac=function(){let h;return function(s){return(h||(h=o.n5z(l)))(s||l)}}(),l.\u0275dir=o.lG2({type:l,selectors:[["","matTreeNodePadding",""]],inputs:{level:["matTreeNodePadding","level"],indent:["matTreeNodePaddingIndent","indent"]},features:[o._Bn([{provide:F.XJ,useExisting:l}]),o.qOj]}),l})(),E=(()=>{class l{constructor(a,s){this.viewContainer=a,this._node=s}}return l.\u0275fac=function(a){return new(a||l)(o.Y36(o.s_b),o.Y36(F.HI,8))},l.\u0275dir=o.lG2({type:l,selectors:[["","matTreeNodeOutlet",""]],features:[o._Bn([{provide:F.cu,useExisting:l}])]}),l})(),V=(()=>{class l extends F._0{constructor(){super(...arguments),this._nodeOutlet=void 0}}return l.\u0275fac=function(){let h;return function(s){return(h||(h=o.n5z(l)))(s||l)}}(),l.\u0275cmp=o.Xpm({type:l,selectors:[["mat-tree"]],viewQuery:function(a,s){if(1&a&&o.Gf(E,7),2&a){let D;o.iGM(D=o.CRH())&&(s._nodeOutlet=D.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[o._Bn([{provide:F._0,useExisting:l}]),o.qOj],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(a,s){1&a&&o.GkF(0,0)},dependencies:[E],styles:[".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word}.mat-nested-tree-node{border-bottom-width:0}"],encapsulation:2}),l})(),f=(()=>{class l extends F.Ud{}return l.\u0275fac=function(){let h;return function(s){return(h||(h=o.n5z(l)))(s||l)}}(),l.\u0275dir=o.lG2({type:l,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[o._Bn([{provide:F.Ud,useExisting:l}]),o.qOj]}),l})(),M=(()=>{class l{}return l.\u0275fac=function(a){return new(a||l)},l.\u0275mod=o.oAB({type:l}),l.\u0275inj=o.cJS({imports:[F.nZ,I.BQ,I.BQ]}),l})();class Z{constructor(h,a,s,D){this.transformFunction=h,this.getLevel=a,this.isExpandable=s,this.getChildren=D}_flattenNode(h,a,s,D){const O=this.transformFunction(h,a);if(s.push(O),this.isExpandable(O)){const N=this.getChildren(h);N&&(Array.isArray(N)?this._flattenChildren(N,a,s,D):N.pipe((0,U.q)(1)).subscribe(W=>{this._flattenChildren(W,a,s,D)}))}return s}_flattenChildren(h,a,s,D){h.forEach((O,N)=>{let W=D.slice();W.push(N!=h.length-1),this._flattenNode(O,a+1,s,W)})}flattenNodes(h){let a=[];return h.forEach(s=>this._flattenNode(s,0,a,[])),a}expandFlattenedNodes(h,a){let s=[],D=[];return D[0]=!0,h.forEach(O=>{let N=!0;for(let W=0;W<=this.getLevel(O);W++)N=N&&D[W];N&&s.push(O),this.isExpandable(O)&&(D[this.getLevel(O)+1]=a.isExpanded(O))}),s}}class w extends t.o2{get data(){return this._data.value}set data(h){this._data.next(h),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}constructor(h,a,s){super(),this._treeControl=h,this._treeFlattener=a,this._flattenedData=new X.X([]),this._expandedData=new X.X([]),this._data=new X.X([]),s&&(this.data=s)}connect(h){return(0,H.T)(h.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe((0,A.U)(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}}class Y extends t.o2{constructor(){super(...arguments),this._data=new X.X([])}get data(){return this._data.value}set data(h){this._data.next(h)}connect(h){return(0,H.T)(h.viewChange,this._data).pipe((0,A.U)(()=>this.data))}disconnect(){}}var b=g(617),x=g(4516),P=g(4170),K=g(5986),j=g(2296),ie=g(4025),re=g(6814);function le(l,h){if(1&l){const a=o.EpF();o.TgZ(0,"mat-tree-node",3),o._UZ(1,"button",4),o.TgZ(2,"mat-checkbox",5),o.NdJ("change",function(){const O=o.CHM(a).$implicit,N=o.oxw();return o.KtG(N.todoLeafItemSelectionToggle(O))}),o._uU(3),o.qZA()()}if(2&l){const a=h.$implicit,s=o.oxw();o.xp6(2),o.Q6J("checked",s.checklistSelection.isSelected(a)),o.xp6(1),o.Oqu(a.item)}}function oe(l,h){if(1&l){const a=o.EpF();o.TgZ(0,"mat-tree-node",6),o._UZ(1,"button",4),o.TgZ(2,"mat-form-field")(3,"mat-label"),o._uU(4,"New item..."),o.qZA(),o._UZ(5,"input",7,8),o.qZA(),o.TgZ(7,"button",9),o.NdJ("click",function(){const O=o.CHM(a).$implicit,N=o.MAs(6),W=o.oxw();return o.KtG(W.saveNode(O,N.value))}),o._uU(8,"Save"),o.qZA()()}}function Ee(l,h){if(1&l){const a=o.EpF();o.TgZ(0,"mat-tree-node",6)(1,"button",10)(2,"mat-icon",11),o._uU(3),o.qZA()(),o.TgZ(4,"mat-checkbox",12),o.NdJ("change",function(){const O=o.CHM(a).$implicit,N=o.oxw();return o.KtG(N.todoItemSelectionToggle(O))}),o._uU(5),o.qZA(),o.TgZ(6,"button",13),o.NdJ("click",function(){const O=o.CHM(a).$implicit,N=o.oxw();return o.KtG(N.addNewItem(O))}),o.TgZ(7,"mat-icon"),o._uU(8,"add"),o.qZA()()()}if(2&l){const a=h.$implicit,s=o.oxw();o.xp6(1),o.uIk("aria-label","Toggle "+a.item),o.xp6(2),o.hij(" ",s.treeControl.isExpanded(a)?"expand_more":"chevron_right"," "),o.xp6(1),o.Q6J("checked",s.descendantsAllSelected(a))("indeterminate",s.descendantsPartiallySelected(a)),o.xp6(1),o.Oqu(a.item)}}function _e(l,h){if(1&l&&(o.TgZ(0,"mat-tree-node",3),o._UZ(1,"button",4),o._uU(2),o.qZA()),2&l){const a=h.$implicit;o.xp6(2),o.hij(" ",a.item," ")}}function k(l,h){1&l&&o._UZ(0,"mat-progress-bar",8)}function v(l,h){if(1&l&&(o.TgZ(0,"mat-tree-node",3)(1,"button",5)(2,"mat-icon",6),o._uU(3),o.qZA()(),o._uU(4),o.YNc(5,k,1,0,"mat-progress-bar",7),o.qZA()),2&l){const a=h.$implicit,s=o.oxw();o.xp6(1),o.uIk("aria-label","Toggle "+a.item),o.xp6(2),o.hij(" ",s.treeControl.isExpanded(a)?"expand_more":"chevron_right"," "),o.xp6(1),o.hij(" ",a.item," "),o.xp6(1),o.Q6J("ngIf",a.isLoading)}}function m(l,h){if(1&l&&(o.TgZ(0,"mat-tree-node",3),o._UZ(1,"button",4),o._uU(2),o.qZA()),2&l){const a=h.$implicit;o.xp6(2),o.hij(" ",a.name," ")}}function y(l,h){if(1&l&&(o.TgZ(0,"mat-tree-node",3)(1,"button",5)(2,"mat-icon",6),o._uU(3),o.qZA()(),o._uU(4),o.qZA()),2&l){const a=h.$implicit,s=o.oxw();o.xp6(1),o.uIk("aria-label","Toggle "+a.name),o.xp6(2),o.hij(" ",s.treeControl.isExpanded(a)?"expand_more":"chevron_right"," "),o.xp6(1),o.hij(" ",a.name," ")}}function S(l,h){if(1&l&&(o.TgZ(0,"mat-tree-node",3),o._UZ(1,"button",4),o._uU(2),o.qZA()),2&l){const a=h.$implicit;o.xp6(2),o.hij(" ",a.name," ")}}function G(l,h){if(1&l&&(o.TgZ(0,"mat-tree-node",3)(1,"button",5)(2,"mat-icon",6),o._uU(3),o.qZA()(),o._uU(4),o.qZA()),2&l){const a=h.$implicit,s=o.oxw();o.xp6(1),o.uIk("aria-label","Toggle "+a.name),o.xp6(2),o.hij(" ",s.treeControl.isExpanded(a)?"expand_more":"chevron_right"," "),o.xp6(1),o.hij(" ",a.name," ")}}function de(l,h){if(1&l&&(o.TgZ(0,"mat-tree-node",4),o._UZ(1,"button",5),o._uU(2),o.qZA()),2&l){const a=h.$implicit;o.xp6(2),o.hij(" ",a.item," ")}}function ae(l,h){if(1&l){const a=o.EpF();o.TgZ(0,"mat-tree-node",4)(1,"button",6),o.NdJ("click",function(){const O=o.CHM(a).$implicit,N=o.oxw();return o.KtG(N.loadChildren(O))}),o.TgZ(2,"mat-icon",7),o._uU(3),o.qZA()(),o._uU(4),o.qZA()}if(2&l){const a=h.$implicit,s=o.oxw();o.xp6(1),o.uIk("aria-label","Toggle "+a.item),o.xp6(2),o.hij(" ",s.treeControl.isExpanded(a)?"expand_more":"chevron_right"," "),o.xp6(1),o.hij(" ",a.item," ")}}function fe(l,h){if(1&l){const a=o.EpF();o.TgZ(0,"mat-tree-node")(1,"button",8),o.NdJ("click",function(){const O=o.CHM(a).$implicit,N=o.oxw();return o.KtG(N.loadMore(O.loadMoreParentItem))}),o._uU(2," Load more... "),o.qZA()()}}function ce(l,h){if(1&l&&(o.TgZ(0,"mat-tree-node",3),o._uU(1),o.qZA()),2&l){const a=h.$implicit;o.xp6(1),o.hij(" ",a.name," ")}}function me(l,h){if(1&l&&(o.TgZ(0,"mat-nested-tree-node")(1,"div",4)(2,"button",5)(3,"mat-icon",6),o._uU(4),o.qZA()(),o._uU(5),o.qZA(),o.TgZ(6,"div",7),o.GkF(7,8),o.qZA()()),2&l){const a=h.$implicit,s=o.oxw();o.xp6(2),o.uIk("aria-label","Toggle "+a.name),o.xp6(2),o.hij(" ",s.treeControl.isExpanded(a)?"expand_more":"chevron_right"," "),o.xp6(1),o.hij(" ",a.name," "),o.xp6(1),o.ekj("example-tree-invisible",!s.treeControl.isExpanded(a))}}class Ne{}class Fe{}const Ve={Groceries:{"Almond Meal flour":null,"Organic eggs":null,"Protein Powder":null,Fruits:{Apple:null,Berries:["Blueberry","Raspberry"],Orange:null}},Reminders:["Cook dinner","Read the Material Design spec","Upgrade Application to Angular"]};let ee=(()=>{class l{get data(){return this.dataChange.value}constructor(){this.dataChange=new X.X([]),this.initialize()}initialize(){const a=this.buildFileTree(Ve,0);this.dataChange.next(a)}buildFileTree(a,s){return Object.keys(a).reduce((D,O)=>{const N=a[O],W=new Ne;return W.item=O,null!=N&&("object"==typeof N?W.children=this.buildFileTree(N,s+1):W.item=N),D.concat(W)},[])}insertItem(a,s){a.children&&(a.children.push({item:s}),this.dataChange.next(this.data))}updateItem(a,s){a.item=s,this.dataChange.next(this.data)}}return l.\u0275fac=function(a){return new(a||l)},l.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac}),l})(),se=(()=>{class l{constructor(a){this._database=a,this.flatNodeMap=new Map,this.nestedNodeMap=new Map,this.selectedParent=null,this.newItemName="",this.checklistSelection=new t.Ov(!0),this.getLevel=s=>s.level,this.isExpandable=s=>s.expandable,this.getChildren=s=>s.children,this.hasChild=(s,D)=>D.expandable,this.hasNoContent=(s,D)=>""===D.item,this.transformer=(s,D)=>{const O=this.nestedNodeMap.get(s),N=O&&O.item===s.item?O:new Fe;return N.item=s.item,N.level=D,N.expandable=!!s.children?.length,this.flatNodeMap.set(N,s),this.nestedNodeMap.set(s,N),N},this.treeFlattener=new Z(this.transformer,this.getLevel,this.isExpandable,this.getChildren),this.treeControl=new F.C2(this.getLevel,this.isExpandable),this.dataSource=new w(this.treeControl,this.treeFlattener),a.dataChange.subscribe(s=>{this.dataSource.data=s})}descendantsAllSelected(a){const s=this.treeControl.getDescendants(a);return s.length>0&&s.every(O=>this.checklistSelection.isSelected(O))}descendantsPartiallySelected(a){return this.treeControl.getDescendants(a).some(O=>this.checklistSelection.isSelected(O))&&!this.descendantsAllSelected(a)}todoItemSelectionToggle(a){this.checklistSelection.toggle(a);const s=this.treeControl.getDescendants(a);this.checklistSelection.isSelected(a)?this.checklistSelection.select(...s):this.checklistSelection.deselect(...s),s.forEach(D=>this.checklistSelection.isSelected(D)),this.checkAllParentsSelection(a)}todoLeafItemSelectionToggle(a){this.checklistSelection.toggle(a),this.checkAllParentsSelection(a)}checkAllParentsSelection(a){let s=this.getParentNode(a);for(;s;)this.checkRootNodeSelection(s),s=this.getParentNode(s)}checkRootNodeSelection(a){const s=this.checklistSelection.isSelected(a),D=this.treeControl.getDescendants(a),O=D.length>0&&D.every(N=>this.checklistSelection.isSelected(N));s&&!O?this.checklistSelection.deselect(a):!s&&O&&this.checklistSelection.select(a)}getParentNode(a){const s=this.getLevel(a);if(s<1)return null;for(let O=this.treeControl.dataNodes.indexOf(a)-1;O>=0;O--){const N=this.treeControl.dataNodes[O];if(this.getLevel(N)<s)return N}return null}addNewItem(a){const s=this.flatNodeMap.get(a);this._database.insertItem(s,""),this.treeControl.expand(a)}saveNode(a,s){const D=this.flatNodeMap.get(a);this._database.updateItem(D,s)}}return l.\u0275fac=function(a){return new(a||l)(o.Y36(ee))},l.\u0275cmp=o.Xpm({type:l,selectors:[["tree-checklist-example"]],standalone:!0,features:[o._Bn([ee]),o.jDz],decls:4,vars:4,consts:[[3,"dataSource","treeControl"],["matTreeNodeToggle","","matTreeNodePadding","",4,"matTreeNodeDef"],["matTreeNodePadding","",4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodeToggle","","matTreeNodePadding",""],["mat-icon-button","","disabled",""],[1,"checklist-leaf-node",3,"checked","change"],["matTreeNodePadding",""],["matInput","","placeholder","Ex. Lettuce"],["itemValue",""],["mat-button","",3,"click"],["mat-icon-button","","matTreeNodeToggle",""],[1,"mat-icon-rtl-mirror"],[3,"checked","indeterminate","change"],["mat-icon-button","",3,"click"]],template:function(a,s){1&a&&(o.TgZ(0,"mat-tree",0),o.YNc(1,le,4,2,"mat-tree-node",1),o.YNc(2,oe,9,0,"mat-tree-node",2),o.YNc(3,Ee,9,5,"mat-tree-node",2),o.qZA()),2&a&&(o.Q6J("dataSource",s.dataSource)("treeControl",s.treeControl),o.xp6(2),o.Q6J("matTreeNodeDefWhen",s.hasNoContent),o.xp6(1),o.Q6J("matTreeNodeDefWhen",s.hasChild))},dependencies:[M,B,L,f,V,J,j.ot,j.lW,j.RK,K.p9,K.oG,P.lN,P.KE,P.hX,x.c,x.Nt,b.Ps,b.Hw],styles:[".mat-mdc-form-field[_ngcontent-%COMP%] {\n margin-right: 4px;\n}"]}),l})();class ge{constructor(h,a=1,s=!1,D=!1){this.item=h,this.level=a,this.expandable=s,this.isLoading=D}}let Ye=(()=>{class l{constructor(){this.dataMap=new Map([["Fruits",["Apple","Orange","Banana"]],["Vegetables",["Tomato","Potato","Onion"]],["Apple",["Fuji","Macintosh"]],["Onion",["Yellow","White","Purple"]]]),this.rootLevelNodes=["Fruits","Vegetables"]}initialData(){return this.rootLevelNodes.map(a=>new ge(a,0,!0))}getChildren(a){return this.dataMap.get(a)}isExpandable(a){return this.dataMap.has(a)}}return l.\u0275fac=function(a){return new(a||l)},l.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"}),l})();class Pe{get data(){return this.dataChange.value}set data(h){this._treeControl.dataNodes=h,this.dataChange.next(h)}constructor(h,a){this._treeControl=h,this._database=a,this.dataChange=new X.X([])}connect(h){return this._treeControl.expansionModel.changed.subscribe(a=>{(a.added||a.removed)&&this.handleTreeControl(a)}),(0,H.T)(h.viewChange,this.dataChange).pipe((0,A.U)(()=>this.data))}disconnect(h){}handleTreeControl(h){h.added&&h.added.forEach(a=>this.toggleNode(a,!0)),h.removed&&h.removed.slice().reverse().forEach(a=>this.toggleNode(a,!1))}toggleNode(h,a){const s=this._database.getChildren(h.item),D=this.data.indexOf(h);!s||D<0||(h.isLoading=!0,setTimeout(()=>{if(a){const O=s.map(N=>new ge(N,h.level+1,this._database.isExpandable(N)));this.data.splice(D+1,0,...O)}else{let O=0;for(let N=D+1;N<this.data.length&&this.data[N].level>h.level;N++,O++);this.data.splice(D+1,O)}this.dataChange.next(this.data),h.isLoading=!1},1e3))}}let Se=(()=>{class l{constructor(a){this.getLevel=s=>s.level,this.isExpandable=s=>s.expandable,this.hasChild=(s,D)=>D.expandable,this.treeControl=new F.C2(this.getLevel,this.isExpandable),this.dataSource=new Pe(this.treeControl,a),this.dataSource.data=a.initialData()}}return l.\u0275fac=function(a){return new(a||l)(o.Y36(Ye))},l.\u0275cmp=o.Xpm({type:l,selectors:[["tree-dynamic-example"]],standalone:!0,features:[o.jDz],decls:3,vars:3,consts:[[3,"dataSource","treeControl"],["matTreeNodePadding","",4,"matTreeNodeDef"],["matTreeNodePadding","",4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodePadding",""],["mat-icon-button","","disabled",""],["mat-icon-button","","matTreeNodeToggle",""],[1,"mat-icon-rtl-mirror"],["mode","indeterminate","class","example-tree-progress-bar",4,"ngIf"],["mode","indeterminate",1,"example-tree-progress-bar"]],template:function(a,s){1&a&&(o.TgZ(0,"mat-tree",0),o.YNc(1,_e,3,1,"mat-tree-node",1),o.YNc(2,v,6,4,"mat-tree-node",2),o.qZA()),2&a&&(o.Q6J("dataSource",s.dataSource)("treeControl",s.treeControl),o.xp6(2),o.Q6J("matTreeNodeDefWhen",s.hasChild))},dependencies:[M,B,L,f,V,J,j.ot,j.RK,b.Ps,b.Hw,re.O5,ie.Cv,ie.pW],styles:[".example-tree-progress-bar[_ngcontent-%COMP%] {\n margin-left: 30px;\n}"]}),l})();const Ae=[{name:"Fruit",children:[{name:"Apple"},{name:"Banana"},{name:"Fruit loops"}]},{name:"Vegetables",children:[{name:"Green",children:[{name:"Broccoli"},{name:"Brussels sprouts"}]},{name:"Orange",children:[{name:"Pumpkins"},{name:"Carrots"}]}]}];let be=(()=>{class l{constructor(){this._transformer=(a,s)=>({expandable:!!a.children&&a.children.length>0,name:a.name,level:s}),this.treeControl=new F.C2(a=>a.level,a=>a.expandable),this.treeFlattener=new Z(this._transformer,a=>a.level,a=>a.expandable,a=>a.children),this.dataSource=new w(this.treeControl,this.treeFlattener),this.hasChild=(a,s)=>s.expandable,this.dataSource.data=Ae}}return l.\u0275fac=function(a){return new(a||l)},l.\u0275cmp=o.Xpm({type:l,selectors:[["tree-flat-overview-example"]],standalone:!0,features:[o.jDz],decls:3,vars:3,consts:[[3,"dataSource","treeControl"],["matTreeNodePadding","",4,"matTreeNodeDef"],["matTreeNodePadding","",4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodePadding",""],["mat-icon-button","","disabled",""],["mat-icon-button","","matTreeNodeToggle",""],[1,"mat-icon-rtl-mirror"]],template:function(a,s){1&a&&(o.TgZ(0,"mat-tree",0),o.YNc(1,m,3,1,"mat-tree-node",1),o.YNc(2,y,5,3,"mat-tree-node",2),o.qZA()),2&a&&(o.Q6J("dataSource",s.dataSource)("treeControl",s.treeControl),o.xp6(2),o.Q6J("matTreeNodeDefWhen",s.hasChild))},dependencies:[M,B,L,f,V,J,j.ot,j.RK,b.Ps,b.Hw],encapsulation:2}),l})();const xe=[{name:"Flat Group 1",children:[{name:"Flat Leaf 1.1"},{name:"Flat Leaf 1.2"},{name:"Flat Leaf 1.3"}]},{name:"Flat Group 2",children:[{name:"Flat Group 2.1",children:[{name:"Flat Leaf 2.1.1"},{name:"Flat Leaf 2.1.2"},{name:"Flat Leaf 2.1.3"}]}]}];let Ie=(()=>{class l{constructor(){this._transformer=(a,s)=>({expandable:!!a.children&&a.children.length>0,name:a.name,level:s}),this.treeControl=new F.C2(a=>a.level,a=>a.expandable),this.treeFlattener=new Z(this._transformer,a=>a.level,a=>a.expandable,a=>a.children),this.dataSource=new w(this.treeControl,this.treeFlattener),this.hasChild=(a,s)=>s.expandable,this.dataSource.data=xe}}return l.\u0275fac=function(a){return new(a||l)},l.\u0275cmp=o.Xpm({type:l,selectors:[["tree-harness-example"]],standalone:!0,features:[o.jDz],decls:3,vars:3,consts:[[3,"dataSource","treeControl"],["matTreeNodePadding","",4,"matTreeNodeDef"],["matTreeNodePadding","",4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodePadding",""],["mat-icon-button","","disabled",""],["mat-icon-button","","matTreeNodeToggle",""],[1,"mat-icon-rtl-mirror"]],template:function(a,s){1&a&&(o.TgZ(0,"mat-tree",0),o.YNc(1,S,3,1,"mat-tree-node",1),o.YNc(2,G,5,3,"mat-tree-node",2),o.qZA()),2&a&&(o.Q6J("dataSource",s.dataSource)("treeControl",s.treeControl),o.xp6(2),o.Q6J("matTreeNodeDefWhen",s.hasChild))},dependencies:[M,B,L,f,V,J,j.ot,j.RK,b.Ps,b.Hw],encapsulation:2}),l})();const he="LOAD_MORE";class Te{get children(){return this.childrenChange.value}constructor(h,a=!1,s=null){this.item=h,this.hasChildren=a,this.loadMoreParentItem=s,this.childrenChange=new X.X([])}}class Be{constructor(h,a=1,s=!1,D=null){this.item=h,this.level=a,this.expandable=s,this.loadMoreParentItem=D}}let Le=(()=>{class l{constructor(){this.batchNumber=5,this.dataChange=new X.X([]),this.nodeMap=new Map,this.rootLevelNodes=["Vegetables","Fruits"],this.dataMap=new Map([["Fruits",["Apple","Orange","Banana"]],["Vegetables",["Tomato","Potato","Onion"]],["Apple",["Fuji","Macintosh"]],["Onion",["Yellow","White","Purple","Green","Shallot","Sweet","Red","Leek"]]])}initialize(){const a=this.rootLevelNodes.map(s=>this._generateNode(s));this.dataChange.next(a)}loadMore(a,s=!1){if(!this.nodeMap.has(a)||!this.dataMap.has(a))return;const D=this.nodeMap.get(a),O=this.dataMap.get(a);if(s&&D.children.length>0)return;const N=D.children.length+this.batchNumber,W=O.slice(0,N).map(ve=>this._generateNode(ve));N<O.length&&W.push(new Te(he,!1,a)),D.childrenChange.next(W),this.dataChange.next(this.dataChange.value)}_generateNode(a){if(this.nodeMap.has(a))return this.nodeMap.get(a);const s=new Te(a,this.dataMap.has(a));return this.nodeMap.set(a,s),s}}return l.\u0275fac=function(a){return new(a||l)},l.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac}),l})(),Ge=(()=>{class l{constructor(a){this._database=a,this.nodeMap=new Map,this.getChildren=s=>s.childrenChange,this.transformer=(s,D)=>{const O=this.nodeMap.get(s.item);if(O)return O;const N=new Be(s.item,D,s.hasChildren,s.loadMoreParentItem);return this.nodeMap.set(s.item,N),N},this.getLevel=s=>s.level,this.isExpandable=s=>s.expandable,this.hasChild=(s,D)=>D.expandable,this.isLoadMore=(s,D)=>D.item===he,this.treeFlattener=new Z(this.transformer,this.getLevel,this.isExpandable,this.getChildren),this.treeControl=new F.C2(this.getLevel,this.isExpandable),this.dataSource=new w(this.treeControl,this.treeFlattener),a.dataChange.subscribe(s=>{this.dataSource.data=s}),a.initialize()}loadMore(a){this._database.loadMore(a)}loadChildren(a){this._database.loadMore(a.item,!0)}}return l.\u0275fac=function(a){return new(a||l)(o.Y36(Le))},l.\u0275cmp=o.Xpm({type:l,selectors:[["tree-loadmore-example"]],standalone:!0,features:[o._Bn([Le]),o.jDz],decls:4,vars:4,consts:[[3,"dataSource","treeControl"],["matTreeNodePadding","",4,"matTreeNodeDef"],["matTreeNodePadding","",4,"matTreeNodeDef","matTreeNodeDefWhen"],[4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodePadding",""],["mat-icon-button","","disabled",""],["mat-icon-button","","matTreeNodeToggle","",3,"click"],[1,"mat-icon-rtl-mirror"],["mat-button","",3,"click"]],template:function(a,s){1&a&&(o.TgZ(0,"mat-tree",0),o.YNc(1,de,3,1,"mat-tree-node",1),o.YNc(2,ae,5,3,"mat-tree-node",2),o.YNc(3,fe,3,0,"mat-tree-node",3),o.qZA()),2&a&&(o.Q6J("dataSource",s.dataSource)("treeControl",s.treeControl),o.xp6(2),o.Q6J("matTreeNodeDefWhen",s.hasChild),o.xp6(1),o.Q6J("matTreeNodeDefWhen",s.isLoadMore))},dependencies:[M,B,L,f,V,J,j.ot,j.lW,j.RK,b.Ps,b.Hw],encapsulation:2}),l})();const et=[{name:"Fruit",children:[{name:"Apple"},{name:"Banana"},{name:"Fruit loops"}]},{name:"Vegetables",children:[{name:"Green",children:[{name:"Broccoli"},{name:"Brussels sprouts"}]},{name:"Orange",children:[{name:"Pumpkins"},{name:"Carrots"}]}]}];let tt=(()=>{class l{constructor(){this.treeControl=new F.VY(a=>a.children),this.dataSource=new Y,this.hasChild=(a,s)=>!!s.children&&s.children.length>0,this.dataSource.data=et}}return l.\u0275fac=function(a){return new(a||l)},l.\u0275cmp=o.Xpm({type:l,selectors:[["tree-nested-overview-example"]],standalone:!0,features:[o.jDz],decls:3,vars:3,consts:[[1,"example-tree",3,"dataSource","treeControl"],["matTreeNodeToggle","",4,"matTreeNodeDef"],[4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodeToggle",""],[1,"mat-tree-node"],["mat-icon-button","","matTreeNodeToggle",""],[1,"mat-icon-rtl-mirror"],["role","group"],["matTreeNodeOutlet",""]],template:function(a,s){1&a&&(o.TgZ(0,"mat-tree",0),o.YNc(1,ce,2,1,"mat-tree-node",1),o.YNc(2,me,8,5,"mat-nested-tree-node",2),o.qZA()),2&a&&(o.Q6J("dataSource",s.dataSource)("treeControl",s.treeControl),o.xp6(2),o.Q6J("matTreeNodeDefWhen",s.hasChild))},dependencies:[M,q,B,f,V,J,E,j.ot,j.RK,b.Ps,b.Hw],styles:[".example-tree-invisible[_ngcontent-%COMP%] {\n display: none;\n}\n\n.example-tree[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], .example-tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%] {\n margin-top: 0;\n margin-bottom: 0;\n list-style-type: none;\n}\n\n\n\n\n\n.example-tree[_ngcontent-%COMP%] .mat-nested-tree-node[_ngcontent-%COMP%] div[role=group][_ngcontent-%COMP%] {\n padding-left: 40px;\n}\n\n\n\n\n\n\n\n.example-tree[_ngcontent-%COMP%] div[role=group][_ngcontent-%COMP%] > .mat-tree-node[_ngcontent-%COMP%] {\n padding-left: 40px;\n}"]}),l})()},6223:(De,ne,g)=>{g.d(ne,{Cf:()=>f,EJ:()=>Qe,F:()=>Xe,Fj:()=>L,JJ:()=>Se,JL:()=>Ae,JU:()=>U,Kr:()=>St,NI:()=>Re,On:()=>at,Q7:()=>Je,UX:()=>Fi,Wl:()=>$,YN:()=>Nt,Zs:()=>pt,_Y:()=>Ft,a5:()=>se,cw:()=>Me,eT:()=>lt,gN:()=>ee,kI:()=>Z,oH:()=>ct,qu:()=>Di,sg:()=>$e,u:()=>ht,u5:()=>Ei,wV:()=>st});var t=g(5879),F=g(6814),o=g(5253),I=g(7504),Q=g(6124);let X=(()=>{class n{constructor(e,r){this._renderer=e,this._elementRef=r,this.onChange=c=>{},this.onTouched=()=>{}}setProperty(e,r){this._renderer.setProperty(this._elementRef.nativeElement,e,r)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.Qsj),t.Y36(t.SBq))},n.\u0275dir=t.lG2({type:n}),n})(),H=(()=>{class n extends X{}return n.\u0275fac=function(){let i;return function(r){return(i||(i=t.n5z(n)))(r||n)}}(),n.\u0275dir=t.lG2({type:n,features:[t.qOj]}),n})();const U=new t.OlP("NgValueAccessor"),A={provide:U,useExisting:(0,t.Gpc)(()=>$),multi:!0};let $=(()=>{class n extends H{writeValue(e){this.setProperty("checked",e)}}return n.\u0275fac=function(){let i;return function(r){return(i||(i=t.n5z(n)))(r||n)}}(),n.\u0275dir=t.lG2({type:n,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,r){1&e&&t.NdJ("change",function(T){return r.onChange(T.target.checked)})("blur",function(){return r.onTouched()})},features:[t._Bn([A]),t.qOj]}),n})();const J={provide:U,useExisting:(0,t.Gpc)(()=>L),multi:!0},q=new t.OlP("CompositionEventMode");let L=(()=>{class n extends X{constructor(e,r,c){super(e,r),this._compositionMode=c,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function B(){const n=(0,F.q)()?(0,F.q)().getUserAgent():"";return/android (\d+)/.test(n.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 n.\u0275fac=function(e){return new(e||n)(t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(q,8))},n.\u0275dir=t.lG2({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,r){1&e&&t.NdJ("input",function(T){return r._handleInput(T.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(T){return r._compositionEnd(T.target.value)})},features:[t._Bn([J]),t.qOj]}),n})();function E(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function V(n){return null!=n&&"number"==typeof n.length}const f=new t.OlP("NgValidators"),p=new t.OlP("NgAsyncValidators"),M=/^(?=.{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 Z{static min(i){return function w(n){return i=>{if(E(i.value)||E(n))return null;const e=parseFloat(i.value);return!isNaN(e)&&e<n?{min:{min:n,actual:i.value}}:null}}(i)}static max(i){return function Y(n){return i=>{if(E(i.value)||E(n))return null;const e=parseFloat(i.value);return!isNaN(e)&&e>n?{max:{max:n,actual:i.value}}:null}}(i)}static required(i){return b(i)}static requiredTrue(i){return x(i)}static email(i){return function P(n){return E(n.value)||M.test(n.value)?null:{email:!0}}(i)}static minLength(i){return function K(n){return i=>E(i.value)||!V(i.value)?null:i.value.length<n?{minlength:{requiredLength:n,actualLength:i.value.length}}:null}(i)}static maxLength(i){return function j(n){return i=>V(i.value)&&i.value.length>n?{maxlength:{requiredLength:n,actualLength:i.value.length}}:null}(i)}static pattern(i){return function ie(n){if(!n)return re;let i,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),i=new RegExp(e)):(e=n.toString(),i=n),r=>{if(E(r.value))return null;const c=r.value;return i.test(c)?null:{pattern:{requiredPattern:e,actualValue:c}}}}(i)}static nullValidator(i){return null}static compose(i){return m(i)}static composeAsync(i){return S(i)}}function b(n){return E(n.value)?{required:!0}:null}function x(n){return!0===n.value?null:{required:!0}}function re(n){return null}function le(n){return null!=n}function oe(n){return(0,t.QGY)(n)?(0,o.D)(n):n}function Ee(n){let i={};return n.forEach(e=>{i=null!=e?{...i,...e}:i}),0===Object.keys(i).length?null:i}function _e(n,i){return i.map(e=>e(n))}function v(n){return n.map(i=>function k(n){return!n.validate}(i)?i:e=>i.validate(e))}function m(n){if(!n)return null;const i=n.filter(le);return 0==i.length?null:function(e){return Ee(_e(e,i))}}function y(n){return null!=n?m(v(n)):null}function S(n){if(!n)return null;const i=n.filter(le);return 0==i.length?null:function(e){const r=_e(e,i).map(oe);return(0,I.D)(r).pipe((0,Q.U)(Ee))}}function G(n){return null!=n?S(v(n)):null}function de(n,i){return null===n?[i]:Array.isArray(n)?[...n,i]:[n,i]}function ae(n){return n._rawValidators}function fe(n){return n._rawAsyncValidators}function ce(n){return n?Array.isArray(n)?n:[n]:[]}function me(n,i){return Array.isArray(n)?n.includes(i):n===i}function Ne(n,i){const e=ce(i);return ce(n).forEach(c=>{me(e,c)||e.push(c)}),e}function Fe(n,i){return ce(i).filter(e=>!me(n,e))}class Ve{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(i){this._rawValidators=i||[],this._composedValidatorFn=y(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=G(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(i){this._onDestroyCallbacks.push(i)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(i=>i()),this._onDestroyCallbacks=[]}reset(i=void 0){this.control&&this.control.reset(i)}hasError(i,e){return!!this.control&&this.control.hasError(i,e)}getError(i,e){return this.control?this.control.getError(i,e):null}}class ee extends Ve{get formDirective(){return null}get path(){return null}}class se extends Ve{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ge{constructor(i){this._cd=i}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 Se=(()=>{class n extends ge{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(se,2))},n.\u0275dir=t.lG2({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,r){2&e&&t.ekj("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[t.qOj]}),n})(),Ae=(()=>{class n extends ge{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ee,10))},n.\u0275dir=t.lG2({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,r){2&e&&t.ekj("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[t.qOj]}),n})();const W="VALID",ve="INVALID",ye="PENDING",u="DISABLED";function C(n){return(z(n)?n.validators:n)||null}function _(n,i){return(z(i)?i.asyncValidators:n)||null}function z(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}function ke(n,i,e){const r=n.controls;if(!(i?Object.keys(r):r).length)throw new t.vHH(1e3,"");if(!r[e])throw new t.vHH(1001,"")}function ue(n,i,e){n._forEachChild((r,c)=>{if(void 0===e[c])throw new t.vHH(1002,"")})}class Ce{constructor(i,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(i),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(i){this._rawValidators=this._composedValidatorFn=i}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(i){this._rawAsyncValidators=this._composedAsyncValidatorFn=i}get parent(){return this._parent}get valid(){return this.status===W}get invalid(){return this.status===ve}get pending(){return this.status==ye}get disabled(){return this.status===u}get enabled(){return this.status!==u}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(i){this._assignValidators(i)}setAsyncValidators(i){this._assignAsyncValidators(i)}addValidators(i){this.setValidators(Ne(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(Ne(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(Fe(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(Fe(i,this._rawAsyncValidators))}hasValidator(i){return me(this._rawValidators,i)}hasAsyncValidator(i){return me(this._rawAsyncValidators,i)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(i={}){this.touched=!0,this._parent&&!i.onlySelf&&this._parent.markAsTouched(i)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(i=>i.markAllAsTouched())}markAsUntouched(i={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!i.onlySelf&&this._parent._updateTouched(i)}markAsDirty(i={}){this.pristine=!1,this._parent&&!i.onlySelf&&this._parent.markAsDirty(i)}markAsPristine(i={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!i.onlySelf&&this._parent._updatePristine(i)}markAsPending(i={}){this.status=ye,!1!==i.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!i.onlySelf&&this._parent.markAsPending(i)}disable(i={}){const e=this._parentMarkedDirty(i.onlySelf);this.status=u,this.errors=null,this._forEachChild(r=>{r.disable({...i,onlySelf:!0})}),this._updateValue(),!1!==i.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...i,skipPristineCheck:e}),this._onDisabledChange.forEach(r=>r(!0))}enable(i={}){const e=this._parentMarkedDirty(i.onlySelf);this.status=W,this._forEachChild(r=>{r.enable({...i,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent}),this._updateAncestors({...i,skipPristineCheck:e}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(i){this._parent&&!i.onlySelf&&(this._parent.updateValueAndValidity(i),i.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(i){this._parent=i}getRawValue(){return this.value}updateValueAndValidity(i={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===W||this.status===ye)&&this._runAsyncValidator(i.emitEvent)),!1!==i.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.updateValueAndValidity(i)}_updateTreeValidity(i={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(i)),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?u:W}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i){if(this.asyncValidator){this.status=ye,this._hasOwnPendingAsyncValidator=!0;const e=oe(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:i})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(i,e={}){this.errors=i,this._updateControlsErrors(!1!==e.emitEvent)}get(i){let e=i;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((r,c)=>r&&r._find(c),this)}getError(i,e){const r=e?this.get(e):this;return r&&r.errors?r.errors[i]:null}hasError(i,e){return!!this.getError(i,e)}get root(){let i=this;for(;i._parent;)i=i._parent;return i}_updateControlsErrors(i){this.status=this._calculateStatus(),i&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(i)}_initObservables(){this.valueChanges=new t.vpe,this.statusChanges=new t.vpe}_calculateStatus(){return this._allControlsDisabled()?u:this.errors?ve:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ye)?ye:this._anyControlsHaveStatus(ve)?ve:W}_anyControlsHaveStatus(i){return this._anyControls(e=>e.status===i)}_anyControlsDirty(){return this._anyControls(i=>i.dirty)}_anyControlsTouched(){return this._anyControls(i=>i.touched)}_updatePristine(i={}){this.pristine=!this._anyControlsDirty(),this._parent&&!i.onlySelf&&this._parent._updatePristine(i)}_updateTouched(i={}){this.touched=this._anyControlsTouched(),this._parent&&!i.onlySelf&&this._parent._updateTouched(i)}_registerOnCollectionChange(i){this._onCollectionChange=i}_setUpdateStrategy(i){z(i)&&null!=i.updateOn&&(this._updateOn=i.updateOn)}_parentMarkedDirty(i){return!i&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(i){return null}_assignValidators(i){this._rawValidators=Array.isArray(i)?i.slice():i,this._composedValidatorFn=function d(n){return Array.isArray(n)?y(n):n||null}(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=function R(n){return Array.isArray(n)?G(n):n||null}(this._rawAsyncValidators)}}class Me extends Ce{constructor(i,e,r){super(C(e),_(r,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(i,e){return this.controls[i]?this.controls[i]:(this.controls[i]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(i,e,r={}){this.registerControl(i,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(i,e={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(i,e,r={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],e&&this.registerControl(i,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(i){return this.controls.hasOwnProperty(i)&&this.controls[i].enabled}setValue(i,e={}){ue(this,0,i),Object.keys(i).forEach(r=>{ke(this,!0,r),this.controls[r].setValue(i[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(i,e={}){null!=i&&(Object.keys(i).forEach(r=>{const c=this.controls[r];c&&c.patchValue(i[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(i={},e={}){this._forEachChild((r,c)=>{r.reset(i[c],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(i,e,r)=>(i[r]=e.getRawValue(),i))}_syncPendingControls(){let i=this._reduceChildren(!1,(e,r)=>!!r._syncPendingControls()||e);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){Object.keys(this.controls).forEach(e=>{const r=this.controls[e];r&&i(r,e)})}_setUpControls(){this._forEachChild(i=>{i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(i){for(const[e,r]of Object.entries(this.controls))if(this.contains(e)&&i(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,r,c)=>((r.enabled||this.disabled)&&(e[c]=r.value),e))}_reduceChildren(i,e){let r=i;return this._forEachChild((c,T)=>{r=e(r,c,T)}),r}_allControlsDisabled(){for(const i of Object.keys(this.controls))if(this.controls[i].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(i){return this.controls.hasOwnProperty(i)?this.controls[i]:null}}class bt extends Me{}const we=new t.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>ze}),ze="always";function Ze(n,i){return[...i.path,n]}function He(n,i,e=ze){it(n,i),i.valueAccessor.writeValue(n.value),(n.disabled||"always"===e)&&i.valueAccessor.setDisabledState?.(n.disabled),function qt(n,i){i.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&xt(n,i)})}(n,i),function Xt(n,i){const e=(r,c)=>{i.valueAccessor.writeValue(r),c&&i.viewToModelUpdate(r)};n.registerOnChange(e),i._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,i),function Wt(n,i){i.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&xt(n,i),"submit"!==n.updateOn&&n.markAsTouched()})}(n,i),function jt(n,i){if(i.valueAccessor.setDisabledState){const e=r=>{i.valueAccessor.setDisabledState(r)};n.registerOnDisabledChange(e),i._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,i)}function je(n,i,e=!0){const r=()=>{};i.valueAccessor&&(i.valueAccessor.registerOnChange(r),i.valueAccessor.registerOnTouched(r)),We(n,i),n&&(i._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function qe(n,i){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(i)})}function it(n,i){const e=ae(n);null!==i.validator?n.setValidators(de(e,i.validator)):"function"==typeof e&&n.setValidators([e]);const r=fe(n);null!==i.asyncValidator?n.setAsyncValidators(de(r,i.asyncValidator)):"function"==typeof r&&n.setAsyncValidators([r]);const c=()=>n.updateValueAndValidity();qe(i._rawValidators,c),qe(i._rawAsyncValidators,c)}function We(n,i){let e=!1;if(null!==n){if(null!==i.validator){const c=ae(n);if(Array.isArray(c)&&c.length>0){const T=c.filter(te=>te!==i.validator);T.length!==c.length&&(e=!0,n.setValidators(T))}}if(null!==i.asyncValidator){const c=fe(n);if(Array.isArray(c)&&c.length>0){const T=c.filter(te=>te!==i.asyncValidator);T.length!==c.length&&(e=!0,n.setAsyncValidators(T))}}}const r=()=>{};return qe(i._rawValidators,r),qe(i._rawAsyncValidators,r),e}function xt(n,i){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function vt(n,i){it(n,i)}function rt(n,i){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(i,e.currentValue)}function yt(n,i){n._syncPendingControls(),i.forEach(e=>{const r=e.control;"submit"===r.updateOn&&r._pendingChange&&(e.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function ot(n,i){if(!i)return null;let e,r,c;return Array.isArray(i),i.forEach(T=>{T.constructor===L?e=T:function Jt(n){return Object.getPrototypeOf(n.constructor)===H}(T)?r=T:c=T}),c||r||e||null}const ei={provide:ee,useExisting:(0,t.Gpc)(()=>Xe)},Ue=(()=>Promise.resolve())();let Xe=(()=>{class n extends ee{constructor(e,r,c){super(),this.callSetDisabledState=c,this.submitted=!1,this._directives=new Set,this.ngSubmit=new t.vpe,this.form=new Me({},y(e),G(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Ue.then(()=>{const r=this._findContainer(e.path);e.control=r.registerControl(e.name,e.control),He(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Ue.then(()=>{const r=this._findContainer(e.path);r&&r.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Ue.then(()=>{const r=this._findContainer(e.path),c=new Me({});vt(c,e),r.registerControl(e.name,c),c.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Ue.then(()=>{const r=this._findContainer(e.path);r&&r.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,r){Ue.then(()=>{this.form.get(e.path).setValue(r)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,yt(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){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 n.\u0275fac=function(e){return new(e||n)(t.Y36(f,10),t.Y36(p,10),t.Y36(we,8))},n.\u0275dir=t.lG2({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,r){1&e&&t.NdJ("submit",function(T){return r.onSubmit(T)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t._Bn([ei]),t.qOj]}),n})();function kt(n,i){const e=n.indexOf(i);e>-1&&n.splice(e,1)}function Ct(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const Re=class extends Ce{constructor(i=null,e,r){super(C(e),_(r,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(i),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),z(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=Ct(i)?i.value:i)}setValue(i,e={}){this.value=this._pendingValue=i,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(i,e={}){this.setValue(i,e)}reset(i=this.defaultValue,e={}){this._applyFormState(i),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(i){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(i){this._onChange.push(i)}_unregisterOnChange(i){kt(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){kt(this._onDisabledChange,i)}_forEachChild(i){}_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(i){Ct(i)?(this.value=this._pendingValue=i.value,i.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=i}},ni={provide:se,useExisting:(0,t.Gpc)(()=>at)},Et=(()=>Promise.resolve())();let at=(()=>{class n extends se{constructor(e,r,c,T,te,pe){super(),this._changeDetectorRef=te,this.callSetDisabledState=pe,this.control=new Re,this._registered=!1,this.name="",this.update=new t.vpe,this._parent=e,this._setValidators(r),this._setAsyncValidators(c),this.valueAccessor=ot(0,T)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const r=e.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),rt(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(){He(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){Et.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const r=e.isDisabled.currentValue,c=0!==r&&(0,t.VuI)(r);Et.then(()=>{c&&!this.control.disabled?this.control.disable():!c&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?Ze(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(ee,9),t.Y36(f,10),t.Y36(p,10),t.Y36(U,10),t.Y36(t.sBO,8),t.Y36(we,8))},n.\u0275dir=t.lG2({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[t._Bn([ni]),t.qOj,t.TTD]}),n})(),Ft=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=t.lG2({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n})();const ri={provide:U,useExisting:(0,t.Gpc)(()=>st),multi:!0};let st=(()=>{class n extends H{writeValue(e){this.setProperty("value",e??"")}registerOnChange(e){this.onChange=r=>{e(""==r?null:parseFloat(r))}}}return n.\u0275fac=function(){let i;return function(r){return(i||(i=t.n5z(n)))(r||n)}}(),n.\u0275dir=t.lG2({type:n,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,r){1&e&&t.NdJ("input",function(T){return r.onChange(T.target.value)})("blur",function(){return r.onTouched()})},features:[t._Bn([ri]),t.qOj]}),n})(),At=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({}),n})();const si={provide:U,useExisting:(0,t.Gpc)(()=>lt),multi:!0};let lt=(()=>{class n extends H{writeValue(e){this.setProperty("value",parseFloat(e))}registerOnChange(e){this.onChange=r=>{e(""==r?null:parseFloat(r))}}}return n.\u0275fac=function(){let i;return function(r){return(i||(i=t.n5z(n)))(r||n)}}(),n.\u0275dir=t.lG2({type:n,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,r){1&e&&t.NdJ("change",function(T){return r.onChange(T.target.value)})("input",function(T){return r.onChange(T.target.value)})("blur",function(){return r.onTouched()})},features:[t._Bn([si]),t.qOj]}),n})();const dt=new t.OlP("NgModelWithFormControlWarning"),li={provide:se,useExisting:(0,t.Gpc)(()=>ct)};let ct=(()=>{class n extends se{set isDisabled(e){}constructor(e,r,c,T,te){super(),this._ngModelWarningConfig=T,this.callSetDisabledState=te,this.update=new t.vpe,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(r),this.valueAccessor=ot(0,c)}ngOnChanges(e){if(this._isControlChanged(e)){const r=e.form.previousValue;r&&je(r,this,!1),He(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}rt(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&je(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 n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(t.Y36(f,10),t.Y36(p,10),t.Y36(U,10),t.Y36(dt,8),t.Y36(we,8))},n.\u0275dir=t.lG2({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[t._Bn([li]),t.qOj,t.TTD]}),n})();const di={provide:ee,useExisting:(0,t.Gpc)(()=>$e)};let $e=(()=>{class n extends ee{constructor(e,r,c){super(),this.callSetDisabledState=c,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new t.vpe,this._setValidators(e),this._setAsyncValidators(r)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(We(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 r=this.form.get(e.path);return He(r,e,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),r}getControl(e){return this.form.get(e.path)}removeControl(e){je(e.control||null,e,!1),function Kt(n,i){const e=n.indexOf(i);e>-1&&n.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,r){this.form.get(e.path).setValue(r)}onSubmit(e){return this.submitted=!0,yt(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const r=e.control,c=this.form.get(e.path);r!==c&&(je(r||null,e),(n=>n instanceof Re)(c)&&(He(c,e,this.callSetDisabledState),e.control=c))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const r=this.form.get(e.path);vt(r,e),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const r=this.form.get(e.path);r&&function $t(n,i){return We(n,i)}(r,e)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){it(this.form,this),this._oldForm&&We(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(f,10),t.Y36(p,10),t.Y36(we,8))},n.\u0275dir=t.lG2({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,r){1&e&&t.NdJ("submit",function(T){return r.onSubmit(T)})("reset",function(){return r.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t._Bn([di]),t.qOj,t.TTD]}),n})();const ui={provide:se,useExisting:(0,t.Gpc)(()=>ht)};let ht=(()=>{class n extends se{set isDisabled(e){}constructor(e,r,c,T,te){super(),this._ngModelWarningConfig=te,this._added=!1,this.name=null,this.update=new t.vpe,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(r),this._setAsyncValidators(c),this.valueAccessor=ot(0,T)}ngOnChanges(e){this._added||this._setUpControl(),rt(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 Ze(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 n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(t.Y36(ee,13),t.Y36(f,10),t.Y36(p,10),t.Y36(U,10),t.Y36(dt,8))},n.\u0275dir=t.lG2({type:n,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[t._Bn([ui]),t.qOj,t.TTD]}),n})();const hi={provide:U,useExisting:(0,t.Gpc)(()=>Qe),multi:!0};function Ot(n,i){return null==n?`${i}`:(i&&"object"==typeof i&&(i="Object"),`${n}: ${i}`.slice(0,50))}let Qe=(()=>{class n extends H{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 c=Ot(this._getOptionId(e),e);this.setProperty("value",c)}registerOnChange(e){this.onChange=r=>{this.value=this._getOptionValue(r),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),e))return r;return null}_getOptionValue(e){const r=function fi(n){return n.split(":")[0]}(e);return this._optionMap.has(r)?this._optionMap.get(r):e}}return n.\u0275fac=function(){let i;return function(r){return(i||(i=t.n5z(n)))(r||n)}}(),n.\u0275dir=t.lG2({type:n,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,r){1&e&&t.NdJ("change",function(T){return r.onChange(T.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[t._Bn([hi]),t.qOj]}),n})(),Nt=(()=>{class n{constructor(e,r,c){this._element=e,this._renderer=r,this._select=c,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(Ot(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 n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(Qe,9))},n.\u0275dir=t.lG2({type:n,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),n})();const pi={provide:U,useExisting:(0,t.Gpc)(()=>ft),multi:!0};function Vt(n,i){return null==n?`${i}`:("string"==typeof i&&(i=`'${i}'`),i&&"object"==typeof i&&(i="Object"),`${n}: ${i}`.slice(0,50))}let ft=(()=>{class n extends H{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let r;if(this.value=e,Array.isArray(e)){const c=e.map(T=>this._getOptionId(T));r=(T,te)=>{T._setSelected(c.indexOf(te.toString())>-1)}}else r=(c,T)=>{c._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(e){this.onChange=r=>{const c=[],T=r.selectedOptions;if(void 0!==T){const te=T;for(let pe=0;pe<te.length;pe++){const _t=this._getOptionValue(te[pe].value);c.push(_t)}}else{const te=r.options;for(let pe=0;pe<te.length;pe++){const Ke=te[pe];if(Ke.selected){const _t=this._getOptionValue(Ke.value);c.push(_t)}}}this.value=c,e(c)}}_registerOption(e){const r=(this._idCounter++).toString();return this._optionMap.set(r,e),r}_getOptionId(e){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r)._value,e))return r;return null}_getOptionValue(e){const r=function _i(n){return n.split(":")[0]}(e);return this._optionMap.has(r)?this._optionMap.get(r)._value:e}}return n.\u0275fac=function(){let i;return function(r){return(i||(i=t.n5z(n)))(r||n)}}(),n.\u0275dir=t.lG2({type:n,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,r){1&e&&t.NdJ("change",function(T){return r.onChange(T.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[t._Bn([pi]),t.qOj]}),n})(),St=(()=>{class n{constructor(e,r,c){this._element=e,this._renderer=r,this._select=c,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(Vt(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(Vt(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 n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(ft,9))},n.\u0275dir=t.lG2({type:n,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),n})(),Oe=(()=>{class n{constructor(){this._validator=re}ngOnChanges(e){if(this.inputName in e){const r=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):re,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=t.lG2({type:n,features:[t.TTD]}),n})();const xi={provide:f,useExisting:(0,t.Gpc)(()=>Je),multi:!0},vi={provide:f,useExisting:(0,t.Gpc)(()=>pt),multi:!0};let Je=(()=>{class n extends Oe{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=t.VuI,this.createValidator=e=>b}enabled(e){return e}}return n.\u0275fac=function(){let i;return function(r){return(i||(i=t.n5z(n)))(r||n)}}(),n.\u0275dir=t.lG2({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,r){2&e&&t.uIk("required",r._enabled?"":null)},inputs:{required:"required"},features:[t._Bn([xi]),t.qOj]}),n})(),pt=(()=>{class n extends Je{constructor(){super(...arguments),this.createValidator=e=>x}}return n.\u0275fac=function(){let i;return function(r){return(i||(i=t.n5z(n)))(r||n)}}(),n.\u0275dir=t.lG2({type:n,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(e,r){2&e&&t.uIk("required",r._enabled?"":null)},features:[t._Bn([vi]),t.qOj]}),n})(),Ut=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[At]}),n})();class Yt extends Ce{constructor(i,e,r){super(C(e),_(r,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(i){return this.controls[this._adjustIndex(i)]}push(i,e={}){this.controls.push(i),this._registerControl(i),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(i,e,r={}){this.controls.splice(i,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(i,e={}){let r=this._adjustIndex(i);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(i,e,r={}){let c=this._adjustIndex(i);c<0&&(c=0),this.controls[c]&&this.controls[c]._registerOnCollectionChange(()=>{}),this.controls.splice(c,1),e&&(this.controls.splice(c,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(i,e={}){ue(this,0,i),i.forEach((r,c)=>{ke(this,!1,c),this.at(c).setValue(r,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(i,e={}){null!=i&&(i.forEach((r,c)=>{this.at(c)&&this.at(c).patchValue(r,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(i=[],e={}){this._forEachChild((r,c)=>{r.reset(i[c],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(i=>i.getRawValue())}clear(i={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:i.emitEvent}))}_adjustIndex(i){return i<0?i+this.length:i}_syncPendingControls(){let i=this.controls.reduce((e,r)=>!!r._syncPendingControls()||e,!1);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){this.controls.forEach((e,r)=>{i(e,r)})}_updateValue(){this.value=this.controls.filter(i=>i.enabled||this.disabled).map(i=>i.value)}_anyControls(i){return this.controls.some(e=>e.enabled&&i(e))}_setUpControls(){this._forEachChild(i=>this._registerControl(i))}_allControlsDisabled(){for(const i of this.controls)if(i.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(i){i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)}_find(i){return this.at(i)??null}}function Zt(n){return!!n&&(void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn)}let Di=(()=>{class n{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new n;return e.useNonNullable=!0,e}group(e,r=null){const c=this._reduceControls(e);let T={};return Zt(r)?T=r:null!==r&&(T.validators=r.validator,T.asyncValidators=r.asyncValidator),new Me(c,T)}record(e,r=null){const c=this._reduceControls(e);return new bt(c,r)}control(e,r,c){let T={};return this.useNonNullable?(Zt(r)?T=r:(T.validators=r,T.asyncValidators=c),new Re(e,{...T,nonNullable:!0})):new Re(e,r,c)}array(e,r,c){const T=e.map(te=>this._createControl(te));return new Yt(T,r,c)}_reduceControls(e){const r={};return Object.keys(e).forEach(c=>{r[c]=this._createControl(e[c])}),r}_createControl(e){return e instanceof Re||e instanceof Ce?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ei=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:we,useValue:e.callSetDisabledState??ze}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[Ut]}),n})(),Fi=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:dt,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:we,useValue:e.callSetDisabledState??ze}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[Ut]}),n})()},5986:(De,ne,g)=>{g.d(ne,{oG:()=>V,p9:()=>Z});var t=g(5879),F=g(6223),o=g(3680),I=g(2495);const Q=["input"],X=["label"],H=["*"],U=new t.OlP("mat-checkbox-default-options",{providedIn:"root",factory:A});function A(){return{color:"accent",clickAction:"check-indeterminate"}}const $={provide:F.JU,useExisting:(0,t.Gpc)(()=>V),multi:!0};class J{}let B=0;const q=A(),L=(0,o.sb)((0,o.pj)((0,o.Kr)((0,o.Id)(class{constructor(w){this._elementRef=w}}))));let E=(()=>{class w extends L{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(b){this._required=(0,I.Ig)(b)}constructor(b,x,P,K,j,ie,re){super(x),this._changeDetectorRef=P,this._ngZone=K,this._animationMode=ie,this._options=re,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new t.vpe,this.indeterminateChange=new t.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||q,this.color=this.defaultColor=this._options.color||q.color,this.tabIndex=parseInt(j)||0,this.id=this._uniqueId=`${b}${++B}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(b){const x=(0,I.Ig)(b);x!=this.checked&&(this._checked=x,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(b){const x=(0,I.Ig)(b);x!==this.disabled&&(this._disabled=x,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(b){const x=b!=this._indeterminate;this._indeterminate=(0,I.Ig)(b),x&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(b){this.checked=!!b}registerOnChange(b){this._controlValueAccessorChangeFn=b}registerOnTouched(b){this._onTouched=b}setDisabledState(b){this.disabled=b}_transitionCheckState(b){let x=this._currentCheckState,P=this._getAnimationTargetElement();if(x!==b&&P&&(this._currentAnimationClass&&P.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(x,b),this._currentCheckState=b,this._currentAnimationClass.length>0)){P.classList.add(this._currentAnimationClass);const K=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{P.classList.remove(K)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const b=this._options?.clickAction;this.disabled||"noop"===b?!this.disabled&&"noop"===b&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==b&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(b){b.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(b,x){if("NoopAnimations"===this._animationMode)return"";switch(b){case 0:if(1===x)return this._animationClasses.uncheckedToChecked;if(3==x)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===x?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===x?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===x?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(b){const x=this._inputElement;x&&(x.nativeElement.indeterminate=b)}}return w.\u0275fac=function(b){t.$Z()},w.\u0275dir=t.lG2({type:w,viewQuery:function(b,x){if(1&b&&(t.Gf(Q,5),t.Gf(X,5),t.Gf(o.wG,5)),2&b){let P;t.iGM(P=t.CRH())&&(x._inputElement=P.first),t.iGM(P=t.CRH())&&(x._labelElement=P.first),t.iGM(P=t.CRH())&&(x.ripple=P.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[t.qOj]}),w})(),V=(()=>{class w extends E{constructor(b,x,P,K,j,ie){super("mat-mdc-checkbox-",b,x,P,K,j,ie),this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"}}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(b){const x=new J;return x.source=this,x.checked=b,x}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_onTouchTargetClick(){super._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(b){b.target&&this._labelElement.nativeElement.contains(b.target)&&b.stopPropagation()}}return w.\u0275fac=function(b){return new(b||w)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(t.R0b),t.$8M("tabindex"),t.Y36(t.QbO,8),t.Y36(U,8))},w.\u0275cmp=t.Xpm({type:w,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(b,x){2&b&&(t.Ikx("id",x.id),t.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),t.ekj("_mat-animation-noopable","NoopAnimations"===x._animationMode)("mdc-checkbox--disabled",x.disabled)("mat-mdc-checkbox-disabled",x.disabled)("mat-mdc-checkbox-checked",x.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[t._Bn([$]),t.qOj],ngContentSelectors:H,decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"],["label",""]],template:function(b,x){if(1&b&&(t.F$t(),t.TgZ(0,"div",0),t.NdJ("click",function(K){return x._preventBubblingFromLabel(K)}),t.TgZ(1,"div",1,2)(3,"div",3),t.NdJ("click",function(){return x._onTouchTargetClick()}),t.qZA(),t.TgZ(4,"input",4,5),t.NdJ("blur",function(){return x._onBlur()})("click",function(){return x._onInputClick()})("change",function(K){return x._onInteractionEvent(K)}),t.qZA(),t._UZ(6,"div",6),t.TgZ(7,"div",7),t.O4$(),t.TgZ(8,"svg",8),t._UZ(9,"path",9),t.qZA(),t.kcU(),t._UZ(10,"div",10),t.qZA(),t._UZ(11,"div",11),t.qZA(),t.TgZ(12,"label",12,13),t.Hsn(14),t.qZA()()),2&b){const P=t.MAs(2);t.ekj("mdc-form-field--align-end","before"==x.labelPosition),t.xp6(4),t.ekj("mdc-checkbox--selected",x.checked),t.Q6J("checked",x.checked)("indeterminate",x.indeterminate)("disabled",x.disabled)("id",x.inputId)("required",x.required)("tabIndex",x.tabIndex),t.uIk("aria-label",x.ariaLabel||null)("aria-labelledby",x.ariaLabelledby)("aria-describedby",x.ariaDescribedby)("name",x.name)("value",x.value),t.xp6(7),t.Q6J("matRippleTrigger",P)("matRippleDisabled",x.disableRipple||x.disabled)("matRippleCentered",!0),t.xp6(1),t.Q6J("for",x.inputId)}},dependencies:[o.wG],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}html{--mdc-checkbox-disabled-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-state-layer-opacity:0.16;--mdc-checkbox-selected-hover-state-layer-opacity:0.04;--mdc-checkbox-selected-pressed-state-layer-opacity:0.16;--mdc-checkbox-unselected-focus-state-layer-opacity:0.16;--mdc-checkbox-unselected-hover-state-layer-opacity:0.04;--mdc-checkbox-unselected-pressed-state-layer-opacity:0.16}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),w})(),M=(()=>{class w{}return w.\u0275fac=function(b){return new(b||w)},w.\u0275mod=t.oAB({type:w}),w.\u0275inj=t.cJS({}),w})(),Z=(()=>{class w{}return w.\u0275fac=function(b){return new(b||w)},w.\u0275mod=t.oAB({type:w}),w.\u0275inj=t.cJS({imports:[o.BQ,o.si,M,o.BQ,M]}),w})()},4170:(De,ne,g)=>{g.d(ne,{G_:()=>h,TO:()=>Ve,KE:()=>ve,Eo:()=>Ge,lN:()=>ye,bx:()=>se,hX:()=>me,qo:()=>Ye,R9:()=>Se});var t=g(5879),F=g(9388),o=g(2831),I=g(7902),Q=g(2079),X=g(7354),H=g(9352),U=g(4699),A=g(7734),$=g(9185);class B{constructor(C){this._box=C,this._destroyed=new Q.xQ,this._resizeSubject=new Q.xQ,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(d=>this._resizeSubject.next(d)))}observe(C){return this._elementObservables.has(C)||this._elementObservables.set(C,new U.y(d=>{const _=this._resizeSubject.subscribe(d);return this._resizeObserver?.observe(C,{box:this._box}),()=>{this._resizeObserver?.unobserve(C),_.unsubscribe(),this._elementObservables.delete(C)}}).pipe((0,A.h)(d=>d.some(_=>_.target===C)),(0,$.d)({bufferSize:1,refCount:!0}),(0,H.R)(this._destroyed))),this._elementObservables.get(C)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let q=(()=>{class u{constructor(){this._observers=new Map,this._ngZone=(0,t.f3M)(t.R0b)}ngOnDestroy(){for(const[,d]of this._observers)d.destroy();this._observers.clear()}observe(d,_){const R=_?.box||"content-box";return this._observers.has(R)||this._observers.set(R,new B(R)),this._observers.get(R).observe(d)}}return u.\u0275fac=function(d){return new(d||u)},u.\u0275prov=t.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();var L=g(2495),E=g(6825),V=g(6814),f=g(7131),p=g(3680);const M=["notch"],Z=["matFormFieldNotchedOutline",""],w=["*"],Y=["textField"],b=["iconPrefixContainer"],x=["textPrefixContainer"];function P(u,C){1&u&&t._UZ(0,"span",19)}function K(u,C){if(1&u&&(t.TgZ(0,"label",17),t.Hsn(1,1),t.YNc(2,P,1,0,"span",18),t.qZA()),2&u){const d=t.oxw(2);t.Q6J("floating",d._shouldLabelFloat())("monitorResize",d._hasOutline())("id",d._labelId),t.uIk("for",d._control.id)("aria-owns",d._control.id),t.xp6(2),t.Q6J("ngIf",!d.hideRequiredMarker&&d._control.required)}}function j(u,C){if(1&u&&t.YNc(0,K,3,6,"label",16),2&u){const d=t.oxw();t.Q6J("ngIf",d._hasFloatingLabel())}}function ie(u,C){1&u&&t._UZ(0,"div",20)}function re(u,C){}function le(u,C){if(1&u&&t.YNc(0,re,0,0,"ng-template",22),2&u){t.oxw(2);const d=t.MAs(1);t.Q6J("ngTemplateOutlet",d)}}function oe(u,C){if(1&u&&(t.TgZ(0,"div",21),t.YNc(1,le,1,1,"ng-template",9),t.qZA()),2&u){const d=t.oxw();t.Q6J("matFormFieldNotchedOutlineOpen",d._shouldLabelFloat()),t.xp6(1),t.Q6J("ngIf",!d._forceDisplayInfixLabel())}}function Ee(u,C){1&u&&(t.TgZ(0,"div",23,24),t.Hsn(2,2),t.qZA())}function _e(u,C){1&u&&(t.TgZ(0,"div",25,26),t.Hsn(2,3),t.qZA())}function k(u,C){}function v(u,C){if(1&u&&t.YNc(0,k,0,0,"ng-template",22),2&u){t.oxw();const d=t.MAs(1);t.Q6J("ngTemplateOutlet",d)}}function m(u,C){1&u&&(t.TgZ(0,"div",27),t.Hsn(1,4),t.qZA())}function y(u,C){1&u&&(t.TgZ(0,"div",28),t.Hsn(1,5),t.qZA())}function S(u,C){1&u&&t._UZ(0,"div",29)}function G(u,C){if(1&u&&(t.TgZ(0,"div",30),t.Hsn(1,6),t.qZA()),2&u){const d=t.oxw();t.Q6J("@transitionMessages",d._subscriptAnimationState)}}function de(u,C){if(1&u&&(t.TgZ(0,"mat-hint",34),t._uU(1),t.qZA()),2&u){const d=t.oxw(2);t.Q6J("id",d._hintLabelId),t.xp6(1),t.Oqu(d.hintLabel)}}function ae(u,C){if(1&u&&(t.TgZ(0,"div",31),t.YNc(1,de,2,2,"mat-hint",32),t.Hsn(2,7),t._UZ(3,"div",33),t.Hsn(4,8),t.qZA()),2&u){const d=t.oxw();t.Q6J("@transitionMessages",d._subscriptAnimationState),t.xp6(1),t.Q6J("ngIf",d.hintLabel)}}const fe=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],ce=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let me=(()=>{class u{}return u.\u0275fac=function(d){return new(d||u)},u.\u0275dir=t.lG2({type:u,selectors:[["mat-label"]]}),u})(),Ne=0;const Fe=new t.OlP("MatError");let Ve=(()=>{class u{constructor(d,_){this.id="mat-mdc-error-"+Ne++,d||_.nativeElement.setAttribute("aria-live","polite")}}return u.\u0275fac=function(d){return new(d||u)(t.$8M("aria-live"),t.Y36(t.SBq))},u.\u0275dir=t.lG2({type:u,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(d,_){2&d&&t.Ikx("id",_.id)},inputs:{id:"id"},features:[t._Bn([{provide:Fe,useExisting:u}])]}),u})(),ee=0,se=(()=>{class u{constructor(){this.align="start",this.id="mat-mdc-hint-"+ee++}}return u.\u0275fac=function(d){return new(d||u)},u.\u0275dir=t.lG2({type:u,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(d,_){2&d&&(t.Ikx("id",_.id),t.uIk("align",null),t.ekj("mat-mdc-form-field-hint-end","end"===_.align))},inputs:{align:"align",id:"id"}}),u})();const ge=new t.OlP("MatPrefix");let Ye=(()=>{class u{constructor(){this._isText=!1}set _isTextSelector(d){this._isText=!0}}return u.\u0275fac=function(d){return new(d||u)},u.\u0275dir=t.lG2({type:u,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[t._Bn([{provide:ge,useExisting:u}])]}),u})();const Pe=new t.OlP("MatSuffix");let Se=(()=>{class u{constructor(){this._isText=!1}set _isTextSelector(d){this._isText=!0}}return u.\u0275fac=function(d){return new(d||u)},u.\u0275dir=t.lG2({type:u,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[t._Bn([{provide:Pe,useExisting:u}])]}),u})();const Ae=new t.OlP("FloatingLabelParent");let be=(()=>{class u{get floating(){return this._floating}set floating(d){this._floating=d,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(d){this._monitorResize=d,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(d){this._elementRef=d,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,t.f3M)(q),this._ngZone=(0,t.f3M)(t.R0b),this._parent=(0,t.f3M)(Ae),this._resizeSubscription=new I.w}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function xe(u){if(null!==u.offsetParent)return u.scrollWidth;const d=u.cloneNode(!0);d.style.setProperty("position","absolute"),d.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(d);const _=d.scrollWidth;return d.remove(),_}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}}return u.\u0275fac=function(d){return new(d||u)(t.Y36(t.SBq))},u.\u0275dir=t.lG2({type:u,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(d,_){2&d&&t.ekj("mdc-floating-label--float-above",_.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}}),u})();const Ie="mdc-line-ripple--active",he="mdc-line-ripple--deactivating";let Te=(()=>{class u{constructor(d,_){this._elementRef=d,this._handleTransitionEnd=R=>{const z=this._elementRef.nativeElement.classList,ke=z.contains(he);"opacity"===R.propertyName&&ke&&z.remove(Ie,he)},_.runOutsideAngular(()=>{d.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const d=this._elementRef.nativeElement.classList;d.remove(he),d.add(Ie)}deactivate(){this._elementRef.nativeElement.classList.add(he)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return u.\u0275fac=function(d){return new(d||u)(t.Y36(t.SBq),t.Y36(t.R0b))},u.\u0275dir=t.lG2({type:u,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),u})(),Be=(()=>{class u{constructor(d,_){this._elementRef=d,this._ngZone=_,this.open=!1}ngAfterViewInit(){const d=this._elementRef.nativeElement.querySelector(".mdc-floating-label");d?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(d.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>d.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(d){this._notch.nativeElement.style.width=this.open&&d?`calc(${d}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}}return u.\u0275fac=function(d){return new(d||u)(t.Y36(t.SBq),t.Y36(t.R0b))},u.\u0275cmp=t.Xpm({type:u,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(d,_){if(1&d&&t.Gf(M,5),2&d){let R;t.iGM(R=t.CRH())&&(_._notch=R.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(d,_){2&d&&t.ekj("mdc-notched-outline--notched",_.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:Z,ngContentSelectors:w,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(d,_){1&d&&(t.F$t(),t._UZ(0,"div",0),t.TgZ(1,"div",1,2),t.Hsn(3),t.qZA(),t._UZ(4,"div",3))},encapsulation:2,changeDetection:0}),u})();const Le={transitionMessages:(0,E.X$)("transitionMessages",[(0,E.SB)("enter",(0,E.oB)({opacity:1,transform:"translateY(0%)"})),(0,E.eR)("void => enter",[(0,E.oB)({opacity:0,transform:"translateY(-5px)"}),(0,E.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Ge=(()=>{class u{}return u.\u0275fac=function(d){return new(d||u)},u.\u0275dir=t.lG2({type:u}),u})();const h=new t.OlP("MatFormField"),a=new t.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let s=0;const D="fill",N="fixed";let ve=(()=>{class u{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(d){this._hideRequiredMarker=(0,L.Ig)(d)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(d){d!==this._floatLabel&&(this._floatLabel=d,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(d){const _=this._appearance;this._appearance=d||this._defaults?.appearance||D,"outline"===this._appearance&&this._appearance!==_&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||N}set subscriptSizing(d){this._subscriptSizing=d||this._defaults?.subscriptSizing||N}get hintLabel(){return this._hintLabel}set hintLabel(d){this._hintLabel=d,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(d){this._explicitFormFieldControl=d}constructor(d,_,R,z,ke,ue,Ce,Me){this._elementRef=d,this._changeDetectorRef=_,this._ngZone=R,this._dir=z,this._platform=ke,this._defaults=ue,this._animationMode=Ce,this._hideRequiredMarker=!1,this.color="primary",this._appearance=D,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+s++,this._hintLabelId="mat-mdc-hint-"+s++,this._subscriptAnimationState="",this._destroyed=new Q.xQ,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,ue&&(ue.appearance&&(this.appearance=ue.appearance),this._hideRequiredMarker=!!ue?.hideRequiredMarker,ue.color&&(this.color=ue.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const d=this._control;d.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${d.controlType}`),d.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),d.ngControl&&d.ngControl.valueChanges&&d.ngControl.valueChanges.pipe((0,H.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(d=>!d._isText),this._hasTextPrefix=!!this._prefixChildren.find(d=>d._isText),this._hasIconSuffix=!!this._suffixChildren.find(d=>!d._isText),this._hasTextSuffix=!!this._suffixChildren.find(d=>d._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,X.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,H.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,H.R)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(d){const _=this._control?this._control.ngControl:null;return _&&_[d]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let d=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&d.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const _=this._hintChildren?this._hintChildren.find(z=>"start"===z.align):null,R=this._hintChildren?this._hintChildren.find(z=>"end"===z.align):null;_?d.push(_.id):this._hintLabel&&d.push(this._hintLabelId),R&&d.push(R.id)}else this._errorChildren&&d.push(...this._errorChildren.map(_=>_.id));this._control.setDescribedByIds(d)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const d=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(d.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const _=this._iconPrefixContainer?.nativeElement,R=this._textPrefixContainer?.nativeElement,z=_?.getBoundingClientRect().width??0,ke=R?.getBoundingClientRect().width??0;d.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${z+ke}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const d=this._elementRef.nativeElement;if(d.getRootNode){const _=d.getRootNode();return _&&_!==d}return document.documentElement.contains(d)}}return u.\u0275fac=function(d){return new(d||u)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(t.R0b),t.Y36(F.Is),t.Y36(o.t4),t.Y36(a,8),t.Y36(t.QbO,8),t.Y36(V.K0))},u.\u0275cmp=t.Xpm({type:u,selectors:[["mat-form-field"]],contentQueries:function(d,_,R){if(1&d&&(t.Suo(R,me,5),t.Suo(R,me,7),t.Suo(R,Ge,5),t.Suo(R,ge,5),t.Suo(R,Pe,5),t.Suo(R,Fe,5),t.Suo(R,se,5)),2&d){let z;t.iGM(z=t.CRH())&&(_._labelChildNonStatic=z.first),t.iGM(z=t.CRH())&&(_._labelChildStatic=z.first),t.iGM(z=t.CRH())&&(_._formFieldControl=z.first),t.iGM(z=t.CRH())&&(_._prefixChildren=z),t.iGM(z=t.CRH())&&(_._suffixChildren=z),t.iGM(z=t.CRH())&&(_._errorChildren=z),t.iGM(z=t.CRH())&&(_._hintChildren=z)}},viewQuery:function(d,_){if(1&d&&(t.Gf(Y,5),t.Gf(b,5),t.Gf(x,5),t.Gf(be,5),t.Gf(Be,5),t.Gf(Te,5)),2&d){let R;t.iGM(R=t.CRH())&&(_._textField=R.first),t.iGM(R=t.CRH())&&(_._iconPrefixContainer=R.first),t.iGM(R=t.CRH())&&(_._textPrefixContainer=R.first),t.iGM(R=t.CRH())&&(_._floatingLabel=R.first),t.iGM(R=t.CRH())&&(_._notchedOutline=R.first),t.iGM(R=t.CRH())&&(_._lineRipple=R.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(d,_){2&d&&t.ekj("mat-mdc-form-field-label-always-float",_._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",_._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",_._hasIconSuffix)("mat-form-field-invalid",_._control.errorState)("mat-form-field-disabled",_._control.disabled)("mat-form-field-autofilled",_._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===_._animationMode)("mat-form-field-appearance-fill","fill"==_.appearance)("mat-form-field-appearance-outline","outline"==_.appearance)("mat-form-field-hide-placeholder",_._hasFloatingLabel()&&!_._shouldLabelFloat())("mat-focused",_._control.focused)("mat-primary","accent"!==_.color&&"warn"!==_.color)("mat-accent","accent"===_.color)("mat-warn","warn"===_.color)("ng-untouched",_._shouldForward("untouched"))("ng-touched",_._shouldForward("touched"))("ng-pristine",_._shouldForward("pristine"))("ng-dirty",_._shouldForward("dirty"))("ng-valid",_._shouldForward("valid"))("ng-invalid",_._shouldForward("invalid"))("ng-pending",_._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[t._Bn([{provide:h,useExisting:u},{provide:Ae,useExisting:u}])],ngContentSelectors:ce,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(d,_){1&d&&(t.F$t(fe),t.YNc(0,j,1,1,"ng-template",null,0,t.W1O),t.TgZ(2,"div",1,2),t.NdJ("click",function(z){return _._control.onContainerClick(z)}),t.YNc(4,ie,1,0,"div",3),t.TgZ(5,"div",4),t.YNc(6,oe,2,2,"div",5),t.YNc(7,Ee,3,0,"div",6),t.YNc(8,_e,3,0,"div",7),t.TgZ(9,"div",8),t.YNc(10,v,1,1,"ng-template",9),t.Hsn(11),t.qZA(),t.YNc(12,m,2,0,"div",10),t.YNc(13,y,2,0,"div",11),t.qZA(),t.YNc(14,S,1,0,"div",12),t.qZA(),t.TgZ(15,"div",13),t.YNc(16,G,2,1,"div",14),t.YNc(17,ae,5,2,"div",15),t.qZA()),2&d&&(t.xp6(2),t.ekj("mdc-text-field--filled",!_._hasOutline())("mdc-text-field--outlined",_._hasOutline())("mdc-text-field--no-label",!_._hasFloatingLabel())("mdc-text-field--disabled",_._control.disabled)("mdc-text-field--invalid",_._control.errorState),t.xp6(2),t.Q6J("ngIf",!_._hasOutline()&&!_._control.disabled),t.xp6(2),t.Q6J("ngIf",_._hasOutline()),t.xp6(1),t.Q6J("ngIf",_._hasIconPrefix),t.xp6(1),t.Q6J("ngIf",_._hasTextPrefix),t.xp6(2),t.Q6J("ngIf",!_._hasOutline()||_._forceDisplayInfixLabel()),t.xp6(2),t.Q6J("ngIf",_._hasTextSuffix),t.xp6(1),t.Q6J("ngIf",_._hasIconSuffix),t.xp6(1),t.Q6J("ngIf",!_._hasOutline()),t.xp6(1),t.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===_.subscriptSizing),t.Q6J("ngSwitch",_._getDisplayedMessages()),t.xp6(1),t.Q6J("ngSwitchCase","error"),t.xp6(1),t.Q6J("ngSwitchCase","hint"))},dependencies:[V.O5,V.tP,V.RF,V.n9,se,be,Be,Te],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px * 2)}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[Le.transitionMessages]},changeDetection:0}),u})(),ye=(()=>{class u{}return u.\u0275fac=function(d){return new(d||u)},u.\u0275mod=t.oAB({type:u}),u.\u0275inj=t.cJS({imports:[p.BQ,V.ez,f.Q8,p.BQ]}),u})()},4516:(De,ne,g)=>{g.d(ne,{Jk:()=>$,Nt:()=>L,c:()=>E});var t=g(2495),F=g(2831),o=g(6263),I=g(5879),Q=g(6223),X=g(3680),H=g(4170),U=g(2079);const $=new I.OlP("MAT_INPUT_VALUE_ACCESSOR"),J=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let B=0;const q=(0,X.FD)(class{constructor(V,f,p,M){this._defaultErrorStateMatcher=V,this._parentForm=f,this._parentFormGroup=p,this.ngControl=M,this.stateChanges=new U.xQ}});let L=(()=>{class V extends q{get disabled(){return this._disabled}set disabled(p){this._disabled=(0,t.Ig)(p),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(p){this._id=p||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(Q.kI.required)??!1}set required(p){this._required=(0,t.Ig)(p)}get type(){return this._type}set type(p){this._type=p||"text",this._validateType(),!this._isTextarea&&(0,F.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(p){p!==this.value&&(this._inputValueAccessor.value=p,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(p){this._readonly=(0,t.Ig)(p)}constructor(p,M,Z,w,Y,b,x,P,K,j){super(b,w,Y,Z),this._elementRef=p,this._platform=M,this._autofillMonitor=P,this._formField=j,this._uid="mat-input-"+B++,this.focused=!1,this.stateChanges=new U.xQ,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(le=>(0,F.qK)().has(le)),this._iOSKeyupListener=le=>{const oe=le.target;!oe.value&&0===oe.selectionStart&&0===oe.selectionEnd&&(oe.setSelectionRange(1,1),oe.setSelectionRange(0,0))};const ie=this._elementRef.nativeElement,re=ie.nodeName.toLowerCase();this._inputValueAccessor=x||ie,this._previousNativeValue=this.value,this.id=this.id,M.IOS&&K.runOutsideAngular(()=>{p.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===re,this._isTextarea="textarea"===re,this._isInFormField=!!j,this._isNativeSelect&&(this.controlType=ie.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(p=>{this.autofilled=p.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(p){this._elementRef.nativeElement.focus(p)}_focusChanged(p){p!==this.focused&&(this.focused=p,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const p=this._elementRef.nativeElement.value;this._previousNativeValue!==p&&(this._previousNativeValue=p,this.stateChanges.next())}_dirtyCheckPlaceholder(){const p=this._getPlaceholder();if(p!==this._previousPlaceholder){const M=this._elementRef.nativeElement;this._previousPlaceholder=p,p?M.setAttribute("placeholder",p):M.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){J.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let p=this._elementRef.nativeElement.validity;return p&&p.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const p=this._elementRef.nativeElement,M=p.options[0];return this.focused||p.multiple||!this.empty||!!(p.selectedIndex>-1&&M&&M.label)}return this.focused||!this.empty}setDescribedByIds(p){p.length?this._elementRef.nativeElement.setAttribute("aria-describedby",p.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const p=this._elementRef.nativeElement;return this._isNativeSelect&&(p.multiple||p.size>1)}}return V.\u0275fac=function(p){return new(p||V)(I.Y36(I.SBq),I.Y36(F.t4),I.Y36(Q.a5,10),I.Y36(Q.F,8),I.Y36(Q.sg,8),I.Y36(X.rD),I.Y36($,10),I.Y36(o.Lq),I.Y36(I.R0b),I.Y36(H.G_,8))},V.\u0275dir=I.lG2({type:V,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(p,M){1&p&&I.NdJ("focus",function(){return M._focusChanged(!0)})("blur",function(){return M._focusChanged(!1)})("input",function(){return M._onInput()}),2&p&&(I.Ikx("id",M.id)("disabled",M.disabled)("required",M.required),I.uIk("name",M.name||null)("readonly",M.readonly&&!M._isNativeSelect||null)("aria-invalid",M.empty&&M.required?null:M.errorState)("aria-required",M.required)("id",M.id),I.ekj("mat-input-server",M._isServer)("mat-mdc-form-field-textarea-control",M._isInFormField&&M._isTextarea)("mat-mdc-form-field-input-control",M._isInFormField)("mdc-text-field__input",M._isInFormField)("mat-mdc-native-select-inline",M._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[I._Bn([{provide:H.Eo,useExisting:V}]),I.qOj,I.TTD]}),V})(),E=(()=>{class V{}return V.\u0275fac=function(p){return new(p||V)},V.\u0275mod=I.oAB({type:V}),V.\u0275inj=I.cJS({imports:[X.BQ,H.lN,H.lN,o.Ky,X.BQ]}),V})()},4025:(De,ne,g)=>{g.d(ne,{Cv:()=>J,pW:()=>A});var t=g(5879),o=(g(6814),g(3680)),I=g(2495);const Q=new t.OlP("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),U=(0,o.pj)(class{constructor(B){this._elementRef=B}},"primary");let A=(()=>{class B extends U{constructor(L,E,V,f,p){super(L),this._ngZone=E,this._changeDetectorRef=V,this._animationMode=f,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new t.vpe,this._mode="determinate",this._transitionendHandler=M=>{0===this.animationEnd.observers.length||!M.target||!M.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation="NoopAnimations"===f,p&&(p.color&&(this.color=this.defaultColor=p.color),this.mode=p.mode||this.mode)}get value(){return this._value}set value(L){this._value=$((0,I.su)(L)),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(L){this._bufferValue=$((0,I.su)(L)),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(L){this._mode=L,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${"buffer"===this.mode?this.bufferValue:100}%`}_isIndeterminate(){return"indeterminate"===this.mode||"query"===this.mode}}return B.\u0275fac=function(L){return new(L||B)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(t.QbO,8),t.Y36(Q,8))},B.\u0275cmp=t.Xpm({type:B,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:8,hostBindings:function(L,E){2&L&&(t.uIk("aria-valuenow",E._isIndeterminate()?null:E.value)("mode",E.mode),t.ekj("_mat-animation-noopable",E._isNoopAnimation)("mdc-linear-progress--animation-ready",!E._isNoopAnimation)("mdc-linear-progress--indeterminate",E._isIndeterminate()))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[t.qOj],decls:7,vars:4,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(L,E){1&L&&(t.TgZ(0,"div",0),t._UZ(1,"div",1)(2,"div",2),t.qZA(),t.TgZ(3,"div",3),t._UZ(4,"span",4),t.qZA(),t.TgZ(5,"div",5),t._UZ(6,"span",4),t.qZA()),2&L&&(t.xp6(1),t.Udp("flex-basis",E._getBufferBarFlexBasis()),t.xp6(2),t.Udp("transform",E._getPrimaryBarTransform()))},styles:["@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half))}100%{transform:translateX(var(--mdc-linear-progress-primary-full))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color)}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-color:rgba(0,0,0,0);background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill=''/%3E%3C/svg%3E\")}}.mdc-linear-progress{height:max(var(--mdc-linear-progress-track-height), var(--mdc-linear-progress-active-indicator-height))}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress{height:4px}}.mdc-linear-progress__bar{height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{height:var(--mdc-linear-progress-track-height)}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height)}}.mdc-linear-progress__buffer{border-radius:var(--mdc-linear-progress-track-shape)}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-height:4px;--mdc-linear-progress-track-height:4px;--mdc-linear-progress-track-shape:0}.mat-mdc-progress-bar{display:block;--mdc-linear-progress-primary-half: 83.67142%;--mdc-linear-progress-primary-full: 200.611057%;--mdc-linear-progress-secondary-quarter: 37.651913%;--mdc-linear-progress-secondary-half: 84.386165%;--mdc-linear-progress-secondary-full: 160.277782%;--mdc-linear-progress-primary-half-neg: -83.67142%;--mdc-linear-progress-primary-full-neg: -200.611057%;--mdc-linear-progress-secondary-quarter-neg: -37.651913%;--mdc-linear-progress-secondary-half-neg: -84.386165%;--mdc-linear-progress-secondary-full-neg: -160.277782%}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}"],encapsulation:2,changeDetection:0}),B})();function $(B,q=0,L=100){return Math.max(q,Math.min(L,B))}let J=(()=>{class B{}return B.\u0275fac=function(L){return new(L||B)},B.\u0275mod=t.oAB({type:B}),B.\u0275inj=t.cJS({imports:[o.BQ]}),B})()}}]);