-
Notifications
You must be signed in to change notification settings - Fork 1
/
182.7764dbbd2e93c7cb.js
1 lines (1 loc) · 223 KB
/
182.7764dbbd2e93c7cb.js
1
"use strict";(self.webpackChunkyurii_hrebeniuk_quiz=self.webpackChunkyurii_hrebeniuk_quiz||[]).push([[182],{9099:(Mt,J,v)=>{v.d(J,{$:()=>W});var e=v(2296),l=v(1941),B=v(3224),G=v(5879);let W=(()=>{class T{}return T.\u0275fac=function(V){return new(V||T)},T.\u0275mod=G.oAB({type:T}),T.\u0275inj=G.cJS({imports:[e.ot,B.LD,l.lN,e.ot,B.LD,l.lN]}),T})()},5446:(Mt,J,v)=>{v.d(J,{q:()=>W});var e=v(5879),l=v(6814),B=v(5054);const G=function(T){return{"quiz-button-selected":T}};let W=(()=>{class T{constructor(){this.isDisabled=!1,this.isSelectedAnswer=!1,this.classNames="",this.clickEvent=new e.vpe}ngOnInit(){this.classNames="quiz-answer-button "+this.classNames}}return T.\u0275fac=function(V){return new(V||T)},T.\u0275cmp=e.Xpm({type:T,selectors:[["app-quiz-answer-button"]],inputs:{isDisabled:"isDisabled",isSelectedAnswer:"isSelectedAnswer",answerText:"answerText",classNames:"classNames"},outputs:{clickEvent:"clickEvent"},decls:3,vars:9,consts:[["type","button",3,"disabled","ngClass","click"],[3,"innerHTML"]],template:function(V,k){1&V&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return k.clickEvent.emit(k.answerText)}),e._UZ(1,"span",1),e.ALo(2,"sanitizer"),e.qZA()),2&V&&(e.Tol(k.classNames),e.Q6J("disabled",k.isDisabled)("ngClass",e.VKq(7,G,k.isSelectedAnswer)),e.xp6(1),e.Q6J("innerHTML",e.lcZ(2,5,k.answerText),e.oJD))},dependencies:[l.mk,B.M],styles:[".quiz-answer-button[_ngcontent-%COMP%]{background-color:#fff;border-radius:4px;border:1px solid green;padding:8px 24px;color:green;margin-bottom:12px;transition:all .2s linear}.quiz-answer-button[_ngcontent-%COMP%]:not(:disabled):hover{color:#fff;background-color:green}.quiz-button-selected[_ngcontent-%COMP%]{color:#fff;background-color:green}.quiz-button-right-answer[_ngcontent-%COMP%]{background-color:green;color:#fff}.quiz-button-wrong-answer[_ngcontent-%COMP%]{background-color:red;color:#fff}"]}),T})()},5054:(Mt,J,v)=>{v.d(J,{M:()=>B});var e=v(5879),l=v(6593);let B=(()=>{class G{constructor(T){this.domSanitizer=T}transform(T){return this.domSanitizer.sanitize(e.q3G.HTML,T)??"Not secure text"}}return G.\u0275fac=function(T){return new(T||G)(e.Y36(l.H7,16))},G.\u0275pipe=e.Yjl({name:"sanitizer",type:G,pure:!0}),G})()},6208:(Mt,J,v)=>{v.d(J,{m:()=>B});var e=v(6814),l=v(5879);let B=(()=>{class G{}return G.\u0275fac=function(T){return new(T||G)},G.\u0275mod=l.oAB({type:G}),G.\u0275inj=l.cJS({imports:[e.ez]}),G})()},9773:(Mt,J,v)=>{v.d(J,{R:()=>W});var e=v(9360),l=v(8251),B=v(4829),G=v(2420);function W(T){return(0,e.e)((L,V)=>{(0,B.Xf)(T).subscribe((0,l.x)(V,()=>V.complete(),G.Z)),!V.closed&&L.subscribe(V)})}},1954:(Mt,J,v)=>{v.d(J,{o:()=>W});var e=v(7394);class l extends e.w0{constructor(L,V){super()}schedule(L,V=0){return this}}const B={setInterval(T,L,...V){const{delegate:k}=B;return k?.setInterval?k.setInterval(T,L,...V):setInterval(T,L,...V)},clearInterval(T){const{delegate:L}=B;return(L?.clearInterval||clearInterval)(T)},delegate:void 0};var G=v(9039);class W extends l{constructor(L,V){super(L,V),this.scheduler=L,this.work=V,this.pending=!1}schedule(L,V=0){var k;if(this.closed)return this;this.state=L;const $=this.id,nt=this.scheduler;return null!=$&&(this.id=this.recycleAsyncId(nt,$,V)),this.pending=!0,this.delay=V,this.id=null!==(k=this.id)&&void 0!==k?k:this.requestAsyncId(nt,this.id,V),this}requestAsyncId(L,V,k=0){return B.setInterval(L.flush.bind(L,this),k)}recycleAsyncId(L,V,k=0){if(null!=k&&this.delay===k&&!1===this.pending)return V;null!=V&&B.clearInterval(V)}execute(L,V){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const k=this._execute(L,V);if(k)return k;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(L,V){let $,k=!1;try{this.work(L)}catch(nt){k=!0,$=nt||new Error("Scheduled action threw falsy error")}if(k)return this.unsubscribe(),$}unsubscribe(){if(!this.closed){const{id:L,scheduler:V}=this,{actions:k}=V;this.work=this.state=this.scheduler=null,this.pending=!1,(0,G.P)(k,this),null!=L&&(this.id=this.recycleAsyncId(V,L,null)),this.delay=null,super.unsubscribe()}}}},2631:(Mt,J,v)=>{v.d(J,{v:()=>B});var e=v(4552);class l{constructor(W,T=l.now){this.schedulerActionCtor=W,this.now=T}schedule(W,T=0,L){return new this.schedulerActionCtor(this,W).schedule(L,T)}}l.now=e.l.now;class B extends l{constructor(W,T=l.now){super(W,T),this.actions=[],this._active=!1}flush(W){const{actions:T}=this;if(this._active)return void T.push(W);let L;this._active=!0;do{if(L=W.execute(W.state,W.delay))break}while(W=T.shift());if(this._active=!1,L){for(;W=T.shift();)W.unsubscribe();throw L}}}},6321:(Mt,J,v)=>{v.d(J,{P:()=>G,z:()=>B});var e=v(1954);const B=new(v(2631).v)(e.o),G=B},4552:(Mt,J,v)=>{v.d(J,{l:()=>e});const e={now:()=>(e.delegate||Date).now(),delegate:void 0}},5643:(Mt,J,v)=>{v.d(J,{s1:()=>z,tE:()=>P,qm:()=>ue,Kd:()=>p,Zf:()=>Nt,X6:()=>Me,yG:()=>we,iD:()=>jt});var e=v(6814),l=v(5879),B=v(2831),G=v(8645),W=v(7394),T=v(5619),L=v(2096),V=v(6028),k=v(9397),$=v(6321),nt=v(9360),ot=v(8251);function at(x,_=$.z){return(0,nt.e)((u,b)=>{let y=null,S=null,R=null;const tt=()=>{if(y){y.unsubscribe(),y=null;const bt=S;S=null,b.next(bt)}};function Dt(){const bt=R+x,Se=_.now();if(Se<bt)return y=this.schedule(void 0,bt-Se),void b.add(y);tt()}u.subscribe((0,ot.x)(b,bt=>{S=bt,R=_.now(),y||(y=_.schedule(Dt,x),b.add(y))},()=>{tt(),b.complete()},void 0,()=>{S=y=null}))})}var st=v(2181),ct=v(7398);function At(x){return(0,st.h)((_,u)=>x<=u)}var St=v(3997),pt=v(9773),lt=v(2495),vt=v(2572),yt=v(5211),N=v(5592),et=v(8180),it=v(7921);const ie=new Set;let wt,Pt=(()=>{class x{constructor(u,b){this._platform=u,this._nonce=b,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Lt}matchMedia(u){return(this._platform.WEBKIT||this._platform.BLINK)&&function Rt(x,_){if(!ie.has(x))try{wt||(wt=document.createElement("style"),_&&(wt.nonce=_),wt.setAttribute("type","text/css"),document.head.appendChild(wt)),wt.sheet&&(wt.sheet.insertRule(`@media ${x} {body{ }}`,0),ie.add(x))}catch(u){console.error(u)}}(u,this._nonce),this._matchMedia(u)}}return x.\u0275fac=function(u){return new(u||x)(l.LFG(B.t4),l.LFG(l.Ojb,8))},x.\u0275prov=l.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"}),x})();function Lt(x){return{matches:"all"===x||""===x,media:x,addListener:()=>{},removeListener:()=>{}}}let $t=(()=>{class x{constructor(u,b){this._mediaMatcher=u,this._zone=b,this._queries=new Map,this._destroySubject=new G.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(u){return ne((0,lt.Eq)(u)).some(y=>this._registerQuery(y).mql.matches)}observe(u){const y=ne((0,lt.Eq)(u)).map(R=>this._registerQuery(R).observable);let S=(0,vt.a)(y);return S=(0,yt.z)(S.pipe((0,et.q)(1)),S.pipe(At(1),at(0))),S.pipe((0,ct.U)(R=>{const tt={matches:!1,breakpoints:{}};return R.forEach(({matches:Dt,query:bt})=>{tt.matches=tt.matches||Dt,tt.breakpoints[bt]=Dt}),tt}))}_registerQuery(u){if(this._queries.has(u))return this._queries.get(u);const b=this._mediaMatcher.matchMedia(u),S={observable:new N.y(R=>{const tt=Dt=>this._zone.run(()=>R.next(Dt));return b.addListener(tt),()=>{b.removeListener(tt)}}).pipe((0,it.O)(b),(0,ct.U)(({matches:R})=>({query:u,matches:R})),(0,pt.R)(this._destroySubject)),mql:b};return this._queries.set(u,S),S}}return x.\u0275fac=function(u){return new(u||x)(l.LFG(Pt),l.LFG(l.R0b))},x.\u0275prov=l.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"}),x})();function ne(x){return x.map(_=>_.split(",")).reduce((_,u)=>_.concat(u)).map(_=>_.trim())}const Bt=" ";function Nt(x,_,u){const b=Kt(x,_);b.some(y=>y.trim()==u.trim())||(b.push(u.trim()),x.setAttribute(_,b.join(Bt)))}function jt(x,_,u){const y=Kt(x,_).filter(S=>S!=u.trim());y.length?x.setAttribute(_,y.join(Bt)):x.removeAttribute(_)}function Kt(x,_){return(x.getAttribute(_)||"").match(/\S+/g)||[]}class F{constructor(_){this._items=_,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new G.x,this._typeaheadSubscription=W.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=u=>u.disabled,this._pressedLetters=[],this.tabOut=new G.x,this.change=new G.x,_ instanceof l.n_E&&(this._itemChangesSubscription=_.changes.subscribe(u=>{if(this._activeItem){const y=u.toArray().indexOf(this._activeItem);y>-1&&y!==this._activeItemIndex&&(this._activeItemIndex=y)}}))}skipPredicate(_){return this._skipPredicateFn=_,this}withWrap(_=!0){return this._wrap=_,this}withVerticalOrientation(_=!0){return this._vertical=_,this}withHorizontalOrientation(_){return this._horizontal=_,this}withAllowedModifierKeys(_){return this._allowedModifierKeys=_,this}withTypeAhead(_=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,k.b)(u=>this._pressedLetters.push(u)),at(_),(0,st.h)(()=>this._pressedLetters.length>0),(0,ct.U)(()=>this._pressedLetters.join(""))).subscribe(u=>{const b=this._getItemsArray();for(let y=1;y<b.length+1;y++){const S=(this._activeItemIndex+y)%b.length,R=b[S];if(!this._skipPredicateFn(R)&&0===R.getLabel().toUpperCase().trim().indexOf(u)){this.setActiveItem(S);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(_=!0){return this._homeAndEnd=_,this}withPageUpDown(_=!0,u=10){return this._pageUpAndDown={enabled:_,delta:u},this}setActiveItem(_){const u=this._activeItem;this.updateActiveItem(_),this._activeItem!==u&&this.change.next(this._activeItemIndex)}onKeydown(_){const u=_.keyCode,y=["altKey","ctrlKey","metaKey","shiftKey"].every(S=>!_[S]||this._allowedModifierKeys.indexOf(S)>-1);switch(u){case V.Mf:return void this.tabOut.next();case V.JH:if(this._vertical&&y){this.setNextItemActive();break}return;case V.LH:if(this._vertical&&y){this.setPreviousItemActive();break}return;case V.SV:if(this._horizontal&&y){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case V.oh:if(this._horizontal&&y){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case V.Sd:if(this._homeAndEnd&&y){this.setFirstItemActive();break}return;case V.uR:if(this._homeAndEnd&&y){this.setLastItemActive();break}return;case V.Ku:if(this._pageUpAndDown.enabled&&y){const S=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(S>0?S:0,1);break}return;case V.VM:if(this._pageUpAndDown.enabled&&y){const S=this._activeItemIndex+this._pageUpAndDown.delta,R=this._getItemsArray().length;this._setActiveItemByIndex(S<R?S:R-1,-1);break}return;default:return void((y||(0,V.Vb)(_,"shiftKey"))&&(_.key&&1===_.key.length?this._letterKeyStream.next(_.key.toLocaleUpperCase()):(u>=V.A&&u<=V.Z||u>=V.xE&&u<=V.aO)&&this._letterKeyStream.next(String.fromCharCode(u))))}this._pressedLetters=[],_.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(_){const u=this._getItemsArray(),b="number"==typeof _?_:u.indexOf(_);this._activeItem=u[b]??null,this._activeItemIndex=b}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(_){this._wrap?this._setActiveInWrapMode(_):this._setActiveInDefaultMode(_)}_setActiveInWrapMode(_){const u=this._getItemsArray();for(let b=1;b<=u.length;b++){const y=(this._activeItemIndex+_*b+u.length)%u.length;if(!this._skipPredicateFn(u[y]))return void this.setActiveItem(y)}}_setActiveInDefaultMode(_){this._setActiveItemByIndex(this._activeItemIndex+_,_)}_setActiveItemByIndex(_,u){const b=this._getItemsArray();if(b[_]){for(;this._skipPredicateFn(b[_]);)if(!b[_+=u])return;this.setActiveItem(_)}}_getItemsArray(){return this._items instanceof l.n_E?this._items.toArray():this._items}}class z extends F{setActiveItem(_){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(_),this.activeItem&&this.activeItem.setActiveStyles()}}function Me(x){return 0===x.buttons||0===x.offsetX&&0===x.offsetY}function we(x){const _=x.touches&&x.touches[0]||x.changedTouches&&x.changedTouches[0];return!(!_||-1!==_.identifier||null!=_.radiusX&&1!==_.radiusX||null!=_.radiusY&&1!==_.radiusY)}const te=new l.OlP("cdk-input-modality-detector-options"),fe={ignoreKeys:[V.zL,V.jx,V.b2,V.MW,V.JU]},_t=(0,B.i$)({passive:!0,capture:!0});let ge=(()=>{class x{get mostRecentModality(){return this._modality.value}constructor(u,b,y,S){this._platform=u,this._mostRecentTarget=null,this._modality=new T.X(null),this._lastTouchMs=0,this._onKeydown=R=>{this._options?.ignoreKeys?.some(tt=>tt===R.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,B.sA)(R))},this._onMousedown=R=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Me(R)?"keyboard":"mouse"),this._mostRecentTarget=(0,B.sA)(R))},this._onTouchstart=R=>{we(R)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,B.sA)(R))},this._options={...fe,...S},this.modalityDetected=this._modality.pipe(At(1)),this.modalityChanged=this.modalityDetected.pipe((0,St.x)()),u.isBrowser&&b.runOutsideAngular(()=>{y.addEventListener("keydown",this._onKeydown,_t),y.addEventListener("mousedown",this._onMousedown,_t),y.addEventListener("touchstart",this._onTouchstart,_t)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,_t),document.removeEventListener("mousedown",this._onMousedown,_t),document.removeEventListener("touchstart",this._onTouchstart,_t))}}return x.\u0275fac=function(u){return new(u||x)(l.LFG(B.t4),l.LFG(l.R0b),l.LFG(e.K0),l.LFG(te,8))},x.\u0275prov=l.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"}),x})();const A=new l.OlP("liveAnnouncerElement",{providedIn:"root",factory:function g(){return null}}),h=new l.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let C=0,p=(()=>{class x{constructor(u,b,y,S){this._ngZone=b,this._defaultOptions=S,this._document=y,this._liveElement=u||this._createLiveElement()}announce(u,...b){const y=this._defaultOptions;let S,R;return 1===b.length&&"number"==typeof b[0]?R=b[0]:[S,R]=b,this.clear(),clearTimeout(this._previousTimeout),S||(S=y&&y.politeness?y.politeness:"polite"),null==R&&y&&(R=y.duration),this._liveElement.setAttribute("aria-live",S),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(tt=>this._currentResolve=tt)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=u,"number"==typeof R&&(this._previousTimeout=setTimeout(()=>this.clear(),R)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const u="cdk-live-announcer-element",b=this._document.getElementsByClassName(u),y=this._document.createElement("div");for(let S=0;S<b.length;S++)b[S].remove();return y.classList.add(u),y.classList.add("cdk-visually-hidden"),y.setAttribute("aria-atomic","true"),y.setAttribute("aria-live","polite"),y.id="cdk-live-announcer-"+C++,this._document.body.appendChild(y),y}_exposeAnnouncerToModals(u){const b=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let y=0;y<b.length;y++){const S=b[y],R=S.getAttribute("aria-owns");R?-1===R.indexOf(u)&&S.setAttribute("aria-owns",R+" "+u):S.setAttribute("aria-owns",u)}}}return x.\u0275fac=function(u){return new(u||x)(l.LFG(A,8),l.LFG(l.R0b),l.LFG(e.K0),l.LFG(h,8))},x.\u0275prov=l.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"}),x})();const m=new l.OlP("cdk-focus-monitor-default-options"),M=(0,B.i$)({passive:!0,capture:!0});let P=(()=>{class x{constructor(u,b,y,S,R){this._ngZone=u,this._platform=b,this._inputModalityDetector=y,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new G.x,this._rootNodeFocusAndBlurListener=tt=>{for(let bt=(0,B.sA)(tt);bt;bt=bt.parentElement)"focus"===tt.type?this._onFocus(tt,bt):this._onBlur(tt,bt)},this._document=S,this._detectionMode=R?.detectionMode||0}monitor(u,b=!1){const y=(0,lt.fI)(u);if(!this._platform.isBrowser||1!==y.nodeType)return(0,L.of)(null);const S=(0,B.kV)(y)||this._getDocument(),R=this._elementInfo.get(y);if(R)return b&&(R.checkChildren=!0),R.subject;const tt={checkChildren:b,subject:new G.x,rootNode:S};return this._elementInfo.set(y,tt),this._registerGlobalListeners(tt),tt.subject}stopMonitoring(u){const b=(0,lt.fI)(u),y=this._elementInfo.get(b);y&&(y.subject.complete(),this._setClasses(b),this._elementInfo.delete(b),this._removeGlobalListeners(y))}focusVia(u,b,y){const S=(0,lt.fI)(u);S===this._getDocument().activeElement?this._getClosestElementsInfo(S).forEach(([tt,Dt])=>this._originChanged(tt,b,Dt)):(this._setOrigin(b),"function"==typeof S.focus&&S.focus(y))}ngOnDestroy(){this._elementInfo.forEach((u,b)=>this.stopMonitoring(b))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(u){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(u)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:u&&this._isLastInteractionFromInputLabel(u)?"mouse":"program"}_shouldBeAttributedToTouch(u){return 1===this._detectionMode||!!u?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(u,b){u.classList.toggle("cdk-focused",!!b),u.classList.toggle("cdk-touch-focused","touch"===b),u.classList.toggle("cdk-keyboard-focused","keyboard"===b),u.classList.toggle("cdk-mouse-focused","mouse"===b),u.classList.toggle("cdk-program-focused","program"===b)}_setOrigin(u,b=!1){this._ngZone.runOutsideAngular(()=>{this._origin=u,this._originFromTouchInteraction="touch"===u&&b,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(u,b){const y=this._elementInfo.get(b),S=(0,B.sA)(u);!y||!y.checkChildren&&b!==S||this._originChanged(b,this._getFocusOrigin(S),y)}_onBlur(u,b){const y=this._elementInfo.get(b);!y||y.checkChildren&&u.relatedTarget instanceof Node&&b.contains(u.relatedTarget)||(this._setClasses(b),this._emitOrigin(y,null))}_emitOrigin(u,b){u.subject.observers.length&&this._ngZone.run(()=>u.subject.next(b))}_registerGlobalListeners(u){if(!this._platform.isBrowser)return;const b=u.rootNode,y=this._rootNodeFocusListenerCount.get(b)||0;y||this._ngZone.runOutsideAngular(()=>{b.addEventListener("focus",this._rootNodeFocusAndBlurListener,M),b.addEventListener("blur",this._rootNodeFocusAndBlurListener,M)}),this._rootNodeFocusListenerCount.set(b,y+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,pt.R)(this._stopInputModalityDetector)).subscribe(S=>{this._setOrigin(S,!0)}))}_removeGlobalListeners(u){const b=u.rootNode;if(this._rootNodeFocusListenerCount.has(b)){const y=this._rootNodeFocusListenerCount.get(b);y>1?this._rootNodeFocusListenerCount.set(b,y-1):(b.removeEventListener("focus",this._rootNodeFocusAndBlurListener,M),b.removeEventListener("blur",this._rootNodeFocusAndBlurListener,M),this._rootNodeFocusListenerCount.delete(b))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(u,b,y){this._setClasses(u,b),this._emitOrigin(y,b),this._lastFocusOrigin=b}_getClosestElementsInfo(u){const b=[];return this._elementInfo.forEach((y,S)=>{(S===u||y.checkChildren&&S.contains(u))&&b.push([S,y])}),b}_isLastInteractionFromInputLabel(u){const{_mostRecentTarget:b,mostRecentModality:y}=this._inputModalityDetector;if("mouse"!==y||!b||b===u||"INPUT"!==u.nodeName&&"TEXTAREA"!==u.nodeName||u.disabled)return!1;const S=u.labels;if(S)for(let R=0;R<S.length;R++)if(S[R].contains(b))return!0;return!1}}return x.\u0275fac=function(u){return new(u||x)(l.LFG(l.R0b),l.LFG(B.t4),l.LFG(ge),l.LFG(e.K0,8),l.LFG(m,8))},x.\u0275prov=l.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"}),x})();const K="cdk-high-contrast-black-on-white",mt="cdk-high-contrast-white-on-black",xt="cdk-high-contrast-active";let ue=(()=>{class x{constructor(u,b){this._platform=u,this._document=b,this._breakpointSubscription=(0,l.f3M)($t).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const u=this._document.createElement("div");u.style.backgroundColor="rgb(1,2,3)",u.style.position="absolute",this._document.body.appendChild(u);const b=this._document.defaultView||window,y=b&&b.getComputedStyle?b.getComputedStyle(u):null,S=(y&&y.backgroundColor||"").replace(/ /g,"");switch(u.remove(),S){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const u=this._document.body.classList;u.remove(xt,K,mt),this._hasCheckedHighContrastMode=!0;const b=this.getHighContrastMode();1===b?u.add(xt,K):2===b&&u.add(xt,mt)}}}return x.\u0275fac=function(u){return new(u||x)(l.LFG(B.t4),l.LFG(e.K0))},x.\u0275prov=l.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"}),x})()},9388:(Mt,J,v)=>{v.d(J,{Is:()=>L,vT:()=>k});var e=v(5879),l=v(6814);const B=new e.OlP("cdk-dir-doc",{providedIn:"root",factory:function G(){return(0,e.f3M)(l.K0)}}),W=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let L=(()=>{class ${constructor(ot){this.value="ltr",this.change=new e.vpe,ot&&(this.value=function T($){const nt=$?.toLowerCase()||"";return"auto"===nt&&typeof navigator<"u"&&navigator?.language?W.test(navigator.language)?"rtl":"ltr":"rtl"===nt?"rtl":"ltr"}((ot.body?ot.body.dir:null)||(ot.documentElement?ot.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return $.\u0275fac=function(ot){return new(ot||$)(e.LFG(B,8))},$.\u0275prov=e.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"}),$})(),k=(()=>{class ${}return $.\u0275fac=function(ot){return new(ot||$)},$.\u0275mod=e.oAB({type:$}),$.\u0275inj=e.cJS({}),$})()},2495:(Mt,J,v)=>{v.d(J,{Eq:()=>W,HM:()=>T,Ig:()=>l,fI:()=>L,su:()=>B});var e=v(5879);function l(k){return null!=k&&"false"!=`${k}`}function B(k,$=0){return function G(k){return!isNaN(parseFloat(k))&&!isNaN(Number(k))}(k)?Number(k):$}function W(k){return Array.isArray(k)?k:[k]}function T(k){return null==k?"":"string"==typeof k?k:`${k}px`}function L(k){return k instanceof e.SBq?k.nativeElement:k}},6028:(Mt,J,v)=>{v.d(J,{A:()=>re,JH:()=>vt,JU:()=>T,K5:()=>W,Ku:()=>at,LH:()=>pt,L_:()=>ot,MW:()=>ce,Mf:()=>B,SV:()=>lt,Sd:()=>At,VM:()=>st,Vb:()=>Ze,Z:()=>Ut,aO:()=>Bt,b2:()=>Ee,hY:()=>nt,jx:()=>L,oh:()=>St,uR:()=>ct,xE:()=>gt,zL:()=>V});const B=9,W=13,T=16,L=17,V=18,nt=27,ot=32,at=33,st=34,ct=35,At=36,St=37,pt=38,lt=39,vt=40,gt=48,Bt=57,re=65,Ut=90,ce=91,Ee=224;function Ze(De,...ee){return ee.length?ee.some(pe=>De[pe]):De.altKey||De.shiftKey||De.ctrlKey||De.metaKey}},2831:(Mt,J,v)=>{v.d(J,{Mq:()=>st,Oy:()=>yt,i$:()=>nt,kV:()=>pt,sA:()=>vt,t4:()=>G});var e=v(5879),l=v(6814);let B;try{B=typeof Intl<"u"&&Intl.v8BreakIterator}catch{B=!1}let k,at,At,G=(()=>{class N{constructor(it){this._platformId=it,this.isBrowser=this._platformId?(0,l.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!B)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return N.\u0275fac=function(it){return new(it||N)(e.LFG(e.Lbi))},N.\u0275prov=e.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();function nt(N){return function $(){if(null==k&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>k=!0}))}finally{k=k||!1}return k}()?N:!!N.capture}function st(){if(null==at){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return at=!1,at;if("scrollBehavior"in document.documentElement.style)at=!0;else{const N=Element.prototype.scrollTo;at=!!N&&!/\{\s*\[native code\]\s*\}/.test(N.toString())}}return at}function pt(N){if(function St(){if(null==At){const N=typeof document<"u"?document.head:null;At=!(!N||!N.createShadowRoot&&!N.attachShadow)}return At}()){const et=N.getRootNode?N.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&et instanceof ShadowRoot)return et}return null}function vt(N){return N.composedPath?N.composedPath()[0]:N.target}function yt(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},95:(Mt,J,v)=>{v.d(J,{NI:()=>Pe,u:()=>Ke,cw:()=>Wt,sg:()=>Ie,a5:()=>Et,JJ:()=>de,JL:()=>Qt,F:()=>Fe,UX:()=>tn,Q7:()=>Be,kI:()=>wt,_Y:()=>Ot});var e=v(5879),l=v(6814),B=v(7715),G=v(5592),W=v(7453),T=v(4829),L=v(9940),V=v(8251),k=v(7400),$=v(2714),ot=v(7398);let at=(()=>{class r{constructor(n,s){this._renderer=n,this._elementRef=s,this.onChange=w=>{},this.onTouched=()=>{}}setProperty(n,s){this._renderer.setProperty(this._elementRef.nativeElement,n,s)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return r.\u0275fac=function(n){return new(n||r)(e.Y36(e.Qsj),e.Y36(e.SBq))},r.\u0275dir=e.lG2({type:r}),r})(),st=(()=>{class r extends at{}return r.\u0275fac=function(){let o;return function(s){return(o||(o=e.n5z(r)))(s||r)}}(),r.\u0275dir=e.lG2({type:r,features:[e.qOj]}),r})();const ct=new e.OlP("NgValueAccessor"),pt={provide:ct,useExisting:(0,e.Gpc)(()=>yt),multi:!0},vt=new e.OlP("CompositionEventMode");let yt=(()=>{class r extends at{constructor(n,s,w){super(n,s),this._compositionMode=w,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function lt(){const r=(0,l.q)()?(0,l.q)().getUserAgent():"";return/android (\d+)/.test(r.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}}return r.\u0275fac=function(n){return new(n||r)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(vt,8))},r.\u0275dir=e.lG2({type:r,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(n,s){1&n&&e.NdJ("input",function(j){return s._handleInput(j.target.value)})("blur",function(){return s.onTouched()})("compositionstart",function(){return s._compositionStart()})("compositionend",function(j){return s._compositionEnd(j.target.value)})},features:[e._Bn([pt]),e.qOj]}),r})();function N(r){return null==r||("string"==typeof r||Array.isArray(r))&&0===r.length}function et(r){return null!=r&&"number"==typeof r.length}const it=new e.OlP("NgValidators"),gt=new e.OlP("NgAsyncValidators"),ie=/^(?=.{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 wt{static min(o){return function Pt(r){return o=>{if(N(o.value)||N(r))return null;const n=parseFloat(o.value);return!isNaN(n)&&n<r?{min:{min:r,actual:o.value}}:null}}(o)}static max(o){return function Rt(r){return o=>{if(N(o.value)||N(r))return null;const n=parseFloat(o.value);return!isNaN(n)&&n>r?{max:{max:r,actual:o.value}}:null}}(o)}static required(o){return Lt(o)}static requiredTrue(o){return function $t(r){return!0===r.value?null:{required:!0}}(o)}static email(o){return function ne(r){return N(r.value)||ie.test(r.value)?null:{email:!0}}(o)}static minLength(o){return function oe(r){return o=>N(o.value)||!et(o.value)?null:o.value.length<r?{minlength:{requiredLength:r,actualLength:o.value.length}}:null}(o)}static maxLength(o){return function Bt(r){return o=>et(o.value)&&o.value.length>r?{maxlength:{requiredLength:r,actualLength:o.value.length}}:null}(o)}static pattern(o){return function Nt(r){if(!r)return jt;let o,n;return"string"==typeof r?(n="","^"!==r.charAt(0)&&(n+="^"),n+=r,"$"!==r.charAt(r.length-1)&&(n+="$"),o=new RegExp(n)):(n=r.toString(),o=r),s=>{if(N(s.value))return null;const w=s.value;return o.test(w)?null:{pattern:{requiredPattern:n,actualValue:w}}}}(o)}static nullValidator(o){return null}static compose(o){return X(o)}static composeAsync(o){return F(o)}}function Lt(r){return N(r.value)?{required:!0}:null}function jt(r){return null}function Kt(r){return null!=r}function he(r){return(0,e.QGY)(r)?(0,B.D)(r):r}function re(r){let o={};return r.forEach(n=>{o=null!=n?{...o,...n}:o}),0===Object.keys(o).length?null:o}function ae(r,o){return o.map(n=>n(r))}function Gt(r){return r.map(o=>function se(r){return!r.validate}(o)?o:n=>o.validate(n))}function X(r){if(!r)return null;const o=r.filter(Kt);return 0==o.length?null:function(n){return re(ae(n,o))}}function U(r){return null!=r?X(Gt(r)):null}function F(r){if(!r)return null;const o=r.filter(Kt);return 0==o.length?null:function(n){return function nt(...r){const o=(0,L.jO)(r),{args:n,keys:s}=(0,W.D)(r),w=new G.y(j=>{const{length:ft}=n;if(!ft)return void j.complete();const Xt=new Array(ft);let Re=ft,Ne=ft;for(let vi=0;vi<ft;vi++){let Yi=!1;(0,T.Xf)(n[vi]).subscribe((0,V.x)(j,en=>{Yi||(Yi=!0,Ne--),Xt[vi]=en},()=>Re--,void 0,()=>{(!Re||!Yi)&&(Ne||j.next(s?(0,$.n)(s,Xt):Xt),j.complete())}))}});return o?w.pipe((0,k.Z)(o)):w}(ae(n,o).map(he)).pipe((0,ot.U)(re))}}function z(r){return null!=r?F(Gt(r)):null}function q(r,o){return null===r?[o]:Array.isArray(r)?[...r,o]:[r,o]}function ut(r){return r._rawValidators}function dt(r){return r._rawAsyncValidators}function rt(r){return r?Array.isArray(r)?r:[r]:[]}function Ct(r,o){return Array.isArray(r)?r.includes(o):r===o}function qt(r,o){const n=rt(o);return rt(r).forEach(w=>{Ct(n,w)||n.push(w)}),n}function me(r,o){return rt(o).filter(n=>!Ct(r,n))}class le{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(o){this._rawValidators=o||[],this._composedValidatorFn=U(this._rawValidators)}_setAsyncValidators(o){this._rawAsyncValidators=o||[],this._composedAsyncValidatorFn=z(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(o){this._onDestroyCallbacks.push(o)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(o=>o()),this._onDestroyCallbacks=[]}reset(o=void 0){this.control&&this.control.reset(o)}hasError(o,n){return!!this.control&&this.control.hasError(o,n)}getError(o,n){return this.control?this.control.getError(o,n):null}}class ht extends le{get formDirective(){return null}get path(){return null}}class Et extends le{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Tt{constructor(o){this._cd=o}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 de=(()=>{class r extends Tt{constructor(n){super(n)}}return r.\u0275fac=function(n){return new(n||r)(e.Y36(Et,2))},r.\u0275dir=e.lG2({type:r,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,s){2&n&&e.ekj("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)},features:[e.qOj]}),r})(),Qt=(()=>{class r extends Tt{constructor(n){super(n)}}return r.\u0275fac=function(n){return new(n||r)(e.Y36(ht,10))},r.\u0275dir=e.lG2({type:r,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,s){2&n&&e.ekj("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)("ng-submitted",s.isSubmitted)},features:[e.qOj]}),r})();const h="VALID",C="INVALID",p="PENDING",D="DISABLED";function m(r){return(K(r)?r.validators:r)||null}function P(r,o){return(K(o)?o.asyncValidators:r)||null}function K(r){return null!=r&&!Array.isArray(r)&&"object"==typeof r}class ue{constructor(o,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(o),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(o){this._rawValidators=this._composedValidatorFn=o}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(o){this._rawAsyncValidators=this._composedAsyncValidatorFn=o}get parent(){return this._parent}get valid(){return this.status===h}get invalid(){return this.status===C}get pending(){return this.status==p}get disabled(){return this.status===D}get enabled(){return this.status!==D}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(o){this._assignValidators(o)}setAsyncValidators(o){this._assignAsyncValidators(o)}addValidators(o){this.setValidators(qt(o,this._rawValidators))}addAsyncValidators(o){this.setAsyncValidators(qt(o,this._rawAsyncValidators))}removeValidators(o){this.setValidators(me(o,this._rawValidators))}removeAsyncValidators(o){this.setAsyncValidators(me(o,this._rawAsyncValidators))}hasValidator(o){return Ct(this._rawValidators,o)}hasAsyncValidator(o){return Ct(this._rawAsyncValidators,o)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(o={}){this.touched=!0,this._parent&&!o.onlySelf&&this._parent.markAsTouched(o)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(o=>o.markAllAsTouched())}markAsUntouched(o={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!o.onlySelf&&this._parent._updateTouched(o)}markAsDirty(o={}){this.pristine=!1,this._parent&&!o.onlySelf&&this._parent.markAsDirty(o)}markAsPristine(o={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!o.onlySelf&&this._parent._updatePristine(o)}markAsPending(o={}){this.status=p,!1!==o.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!o.onlySelf&&this._parent.markAsPending(o)}disable(o={}){const n=this._parentMarkedDirty(o.onlySelf);this.status=D,this.errors=null,this._forEachChild(s=>{s.disable({...o,onlySelf:!0})}),this._updateValue(),!1!==o.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...o,skipPristineCheck:n}),this._onDisabledChange.forEach(s=>s(!0))}enable(o={}){const n=this._parentMarkedDirty(o.onlySelf);this.status=h,this._forEachChild(s=>{s.enable({...o,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent}),this._updateAncestors({...o,skipPristineCheck:n}),this._onDisabledChange.forEach(s=>s(!1))}_updateAncestors(o){this._parent&&!o.onlySelf&&(this._parent.updateValueAndValidity(o),o.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(o){this._parent=o}getRawValue(){return this.value}updateValueAndValidity(o={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===h||this.status===p)&&this._runAsyncValidator(o.emitEvent)),!1!==o.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!o.onlySelf&&this._parent.updateValueAndValidity(o)}_updateTreeValidity(o={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(o)),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?D:h}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(o){if(this.asyncValidator){this.status=p,this._hasOwnPendingAsyncValidator=!0;const n=he(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(s=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(s,{emitEvent:o})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(o,n={}){this.errors=o,this._updateControlsErrors(!1!==n.emitEvent)}get(o){let n=o;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((s,w)=>s&&s._find(w),this)}getError(o,n){const s=n?this.get(n):this;return s&&s.errors?s.errors[o]:null}hasError(o,n){return!!this.getError(o,n)}get root(){let o=this;for(;o._parent;)o=o._parent;return o}_updateControlsErrors(o){this.status=this._calculateStatus(),o&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(o)}_initObservables(){this.valueChanges=new e.vpe,this.statusChanges=new e.vpe}_calculateStatus(){return this._allControlsDisabled()?D:this.errors?C:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(p)?p:this._anyControlsHaveStatus(C)?C:h}_anyControlsHaveStatus(o){return this._anyControls(n=>n.status===o)}_anyControlsDirty(){return this._anyControls(o=>o.dirty)}_anyControlsTouched(){return this._anyControls(o=>o.touched)}_updatePristine(o={}){this.pristine=!this._anyControlsDirty(),this._parent&&!o.onlySelf&&this._parent._updatePristine(o)}_updateTouched(o={}){this.touched=this._anyControlsTouched(),this._parent&&!o.onlySelf&&this._parent._updateTouched(o)}_registerOnCollectionChange(o){this._onCollectionChange=o}_setUpdateStrategy(o){K(o)&&null!=o.updateOn&&(this._updateOn=o.updateOn)}_parentMarkedDirty(o){return!o&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(o){return null}_assignValidators(o){this._rawValidators=Array.isArray(o)?o.slice():o,this._composedValidatorFn=function M(r){return Array.isArray(r)?U(r):r||null}(this._rawValidators)}_assignAsyncValidators(o){this._rawAsyncValidators=Array.isArray(o)?o.slice():o,this._composedAsyncValidatorFn=function Z(r){return Array.isArray(r)?z(r):r||null}(this._rawAsyncValidators)}}class Wt extends ue{constructor(o,n,s){super(m(n),P(s,n)),this.controls=o,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(o,n){return this.controls[o]?this.controls[o]:(this.controls[o]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(o,n,s={}){this.registerControl(o,n),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}removeControl(o,n={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(o,n,s={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],n&&this.registerControl(o,n),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}contains(o){return this.controls.hasOwnProperty(o)&&this.controls[o].enabled}setValue(o,n={}){(function xt(r,o,n){r._forEachChild((s,w)=>{if(void 0===n[w])throw new e.vHH(1002,"")})})(this,0,o),Object.keys(o).forEach(s=>{(function mt(r,o,n){const s=r.controls;if(!(o?Object.keys(s):s).length)throw new e.vHH(1e3,"");if(!s[n])throw new e.vHH(1001,"")})(this,!0,s),this.controls[s].setValue(o[s],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(o,n={}){null!=o&&(Object.keys(o).forEach(s=>{const w=this.controls[s];w&&w.patchValue(o[s],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(o={},n={}){this._forEachChild((s,w)=>{s.reset(o[w],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(o,n,s)=>(o[s]=n.getRawValue(),o))}_syncPendingControls(){let o=this._reduceChildren(!1,(n,s)=>!!s._syncPendingControls()||n);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_forEachChild(o){Object.keys(this.controls).forEach(n=>{const s=this.controls[n];s&&o(s,n)})}_setUpControls(){this._forEachChild(o=>{o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(o){for(const[n,s]of Object.entries(this.controls))if(this.contains(n)&&o(s))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,s,w)=>((s.enabled||this.disabled)&&(n[w]=s.value),n))}_reduceChildren(o,n){let s=o;return this._forEachChild((w,j)=>{s=n(s,w,j)}),s}_allControlsDisabled(){for(const o of Object.keys(this.controls))if(this.controls[o].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(o){return this.controls.hasOwnProperty(o)?this.controls[o]:null}}const y=new e.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>S}),S="always";function tt(r,o,n=S){Oe(r,o),o.valueAccessor.writeValue(r.value),(r.disabled||"always"===n)&&o.valueAccessor.setDisabledState?.(r.disabled),function He(r,o){o.valueAccessor.registerOnChange(n=>{r._pendingValue=n,r._pendingChange=!0,r._pendingDirty=!0,"change"===r.updateOn&&je(r,o)})}(r,o),function Ge(r,o){const n=(s,w)=>{o.valueAccessor.writeValue(s),w&&o.viewToModelUpdate(s)};r.registerOnChange(n),o._registerOnDestroy(()=>{r._unregisterOnChange(n)})}(r,o),function Je(r,o){o.valueAccessor.registerOnTouched(()=>{r._pendingTouched=!0,"blur"===r.updateOn&&r._pendingChange&&je(r,o),"submit"!==r.updateOn&&r.markAsTouched()})}(r,o),function Se(r,o){if(o.valueAccessor.setDisabledState){const n=s=>{o.valueAccessor.setDisabledState(s)};r.registerOnDisabledChange(n),o._registerOnDestroy(()=>{r._unregisterOnDisabledChange(n)})}}(r,o)}function Dt(r,o,n=!0){const s=()=>{};o.valueAccessor&&(o.valueAccessor.registerOnChange(s),o.valueAccessor.registerOnTouched(s)),be(r,o),r&&(o._invokeOnDestroyCallbacks(),r._registerOnCollectionChange(()=>{}))}function bt(r,o){r.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(o)})}function Oe(r,o){const n=ut(r);null!==o.validator?r.setValidators(q(n,o.validator)):"function"==typeof n&&r.setValidators([n]);const s=dt(r);null!==o.asyncValidator?r.setAsyncValidators(q(s,o.asyncValidator)):"function"==typeof s&&r.setAsyncValidators([s]);const w=()=>r.updateValueAndValidity();bt(o._rawValidators,w),bt(o._rawAsyncValidators,w)}function be(r,o){let n=!1;if(null!==r){if(null!==o.validator){const w=ut(r);if(Array.isArray(w)&&w.length>0){const j=w.filter(ft=>ft!==o.validator);j.length!==w.length&&(n=!0,r.setValidators(j))}}if(null!==o.asyncValidator){const w=dt(r);if(Array.isArray(w)&&w.length>0){const j=w.filter(ft=>ft!==o.asyncValidator);j.length!==w.length&&(n=!0,r.setAsyncValidators(j))}}}const s=()=>{};return bt(o._rawValidators,s),bt(o._rawAsyncValidators,s),n}function je(r,o){r._pendingDirty&&r.markAsDirty(),r.setValue(r._pendingValue,{emitModelToViewChange:!1}),o.viewToModelUpdate(r._pendingValue),r._pendingChange=!1}function ti(r,o){Oe(r,o)}function We(r,o){r._syncPendingControls(),o.forEach(n=>{const s=n.control;"submit"===s.updateOn&&s._pendingChange&&(n.viewToModelUpdate(s._pendingValue),s._pendingChange=!1)})}const ee={provide:ht,useExisting:(0,e.Gpc)(()=>Fe)},pe=(()=>Promise.resolve())();let Fe=(()=>{class r extends ht{constructor(n,s,w){super(),this.callSetDisabledState=w,this.submitted=!1,this._directives=new Set,this.ngSubmit=new e.vpe,this.form=new Wt({},U(n),z(s))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){pe.then(()=>{const s=this._findContainer(n.path);n.control=s.registerControl(n.name,n.control),tt(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){pe.then(()=>{const s=this._findContainer(n.path);s&&s.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){pe.then(()=>{const s=this._findContainer(n.path),w=new Wt({});ti(w,n),s.registerControl(n.name,w),w.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){pe.then(()=>{const s=this._findContainer(n.path);s&&s.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,s){pe.then(()=>{this.form.get(n.path).setValue(s)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,We(this.form,this._directives),this.ngSubmit.emit(n),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}}return r.\u0275fac=function(n){return new(n||r)(e.Y36(it,10),e.Y36(gt,10),e.Y36(y,8))},r.\u0275dir=e.lG2({type:r,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,s){1&n&&e.NdJ("submit",function(j){return s.onSubmit(j)})("reset",function(){return s.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([ee]),e.qOj]}),r})();function wi(r,o){const n=r.indexOf(o);n>-1&&r.splice(n,1)}function Ei(r){return"object"==typeof r&&null!==r&&2===Object.keys(r).length&&"value"in r&&"disabled"in r}const Pe=class extends ue{constructor(o=null,n,s){super(m(n),P(s,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(o),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),K(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=Ei(o)?o.value:o)}setValue(o,n={}){this.value=this._pendingValue=o,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(s=>s(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(o,n={}){this.setValue(o,n)}reset(o=this.defaultValue,n={}){this._applyFormState(o),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(o){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(o){this._onChange.push(o)}_unregisterOnChange(o){wi(this._onChange,o)}registerOnDisabledChange(o){this._onDisabledChange.push(o)}_unregisterOnDisabledChange(o){wi(this._onDisabledChange,o)}_forEachChild(o){}_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(o){Ei(o)?(this.value=this._pendingValue=o.value,o.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=o}};let Ot=(()=>{class r{}return r.\u0275fac=function(n){return new(n||r)},r.\u0275dir=e.lG2({type:r,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),r})(),Fi=(()=>{class r{}return r.\u0275fac=function(n){return new(n||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})();const si=new e.OlP("NgModelWithFormControlWarning"),Ti={provide:ht,useExisting:(0,e.Gpc)(()=>Ie)};let Ie=(()=>{class r extends ht{constructor(n,s,w){super(),this.callSetDisabledState=w,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.vpe,this._setValidators(n),this._setAsyncValidators(s)}ngOnChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(be(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){const s=this.form.get(n.path);return tt(s,n,this.callSetDisabledState),s.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),s}getControl(n){return this.form.get(n.path)}removeControl(n){Dt(n.control||null,n,!1),function Ze(r,o){const n=r.indexOf(o);n>-1&&r.splice(n,1)}(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,s){this.form.get(n.path).setValue(s)}onSubmit(n){return this.submitted=!0,We(this.form,this.directives),this.ngSubmit.emit(n),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_updateDomValue(){this.directives.forEach(n=>{const s=n.control,w=this.form.get(n.path);s!==w&&(Dt(s||null,n),(r=>r instanceof Pe)(w)&&(tt(w,n,this.callSetDisabledState),n.control=w))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){const s=this.form.get(n.path);ti(s,n),s.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){const s=this.form.get(n.path);s&&function xi(r,o){return be(r,o)}(s,n)&&s.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Oe(this.form,this),this._oldForm&&be(this._oldForm,this)}_checkFormPresent(){}}return r.\u0275fac=function(n){return new(n||r)(e.Y36(it,10),e.Y36(gt,10),e.Y36(y,8))},r.\u0275dir=e.lG2({type:r,selectors:[["","formGroup",""]],hostBindings:function(n,s){1&n&&e.NdJ("submit",function(j){return s.onSubmit(j)})("reset",function(){return s.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([Ti]),e.qOj,e.TTD]}),r})();const Pi={provide:Et,useExisting:(0,e.Gpc)(()=>Ke)};let Ke=(()=>{class r extends Et{set isDisabled(n){}constructor(n,s,w,j,ft){super(),this._ngModelWarningConfig=ft,this._added=!1,this.name=null,this.update=new e.vpe,this._ngModelWarningSent=!1,this._parent=n,this._setValidators(s),this._setAsyncValidators(w),this.valueAccessor=function Ee(r,o){if(!o)return null;let n,s,w;return Array.isArray(o),o.forEach(j=>{j.constructor===yt?n=j:function Ue(r){return Object.getPrototypeOf(r.constructor)===st}(j)?s=j:w=j}),w||s||n||null}(0,j)}ngOnChanges(n){this._added||this._setUpControl(),function Ve(r,o){if(!r.hasOwnProperty("model"))return!1;const n=r.model;return!!n.isFirstChange()||!Object.is(o,n.currentValue)}(n,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}get path(){return function R(r,o){return[...o.path,r]}(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 r._ngModelWarningSentOnce=!1,r.\u0275fac=function(n){return new(n||r)(e.Y36(ht,13),e.Y36(it,10),e.Y36(gt,10),e.Y36(ct,10),e.Y36(si,8))},r.\u0275dir=e.lG2({type:r,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[e._Bn([Pi]),e.qOj,e.TTD]}),r})(),ve=(()=>{class r{constructor(){this._validator=jt}ngOnChanges(n){if(this.inputName in n){const s=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(s),this._validator=this._enabled?this.createValidator(s):jt,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return null!=n}}return r.\u0275fac=function(n){return new(n||r)},r.\u0275dir=e.lG2({type:r,features:[e.TTD]}),r})();const Gi={provide:it,useExisting:(0,e.Gpc)(()=>Be),multi:!0};let Be=(()=>{class r extends ve{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e.VuI,this.createValidator=n=>Lt}enabled(n){return n}}return r.\u0275fac=function(){let o;return function(s){return(o||(o=e.n5z(r)))(s||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,s){2&n&&e.uIk("required",s._enabled?"":null)},inputs:{required:"required"},features:[e._Bn([Gi]),e.qOj]}),r})(),Q=(()=>{class r{}return r.\u0275fac=function(n){return new(n||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[Fi]}),r})(),tn=(()=>{class r{static withConfig(n){return{ngModule:r,providers:[{provide:si,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:y,useValue:n.callSetDisabledState??S}]}}}return r.\u0275fac=function(n){return new(n||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[Q]}),r})()},2296:(Mt,J,v)=>{v.d(J,{lW:()=>Lt,ot:()=>Gt});var e=v(2831),l=v(5879),B=v(5643),G=v(3680),W=v(6814);const T=["mat-button",""],L=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],V=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],St={capture:!0},pt=["focus","click","mouseenter","touchstart"],lt="mat-button-ripple-uninitialized";let vt=(()=>{class X{constructor(){this._document=(0,l.f3M)(W.K0,{optional:!0}),this._animationMode=(0,l.f3M)(l.QbO,{optional:!0}),this._globalRippleOptions=(0,l.f3M)(G.Y2,{optional:!0}),this._platform=(0,l.f3M)(e.t4),this._ngZone=(0,l.f3M)(l.R0b),this._onInteraction=F=>{if(F.target===this._document)return;const q=F.target.closest(`[${lt}]`);q&&(q.removeAttribute(lt),this._appendRipple(q))},this._ngZone.runOutsideAngular(()=>{for(const F of pt)this._document?.addEventListener(F,this._onInteraction,St)})}ngOnDestroy(){for(const F of pt)this._document?.removeEventListener(F,this._onInteraction,St)}_appendRipple(F){if(!this._document)return;const z=this._document.createElement("span");z.classList.add("mat-mdc-button-ripple");const q=new yt(F,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);q.rippleConfig.centered=F.hasAttribute("mat-icon-button"),new G.IR(q,this._ngZone,z,this._platform).setupTriggerEvents(F),F.append(z)}_createMatRipple(F){if(!this._document)return;F.querySelector(".mat-mdc-button-ripple")?.remove(),F.removeAttribute(lt);const z=this._document.createElement("span");z.classList.add("mat-mdc-button-ripple");const q=new G.wG(new l.SBq(z),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return q._isInitialized=!0,q.trigger=F,F.append(z),q}}return X.\u0275fac=function(F){return new(F||X)},X.\u0275prov=l.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),X})();class yt{constructor(U,F,z){this._button=U,this._globalRippleOptions=F,this._setRippleConfig(F,z)}_setRippleConfig(U,F){this.rippleConfig=U||{},"NoopAnimations"===F&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get rippleDisabled(){return this._button.hasAttribute("disabled")||!!this._globalRippleOptions?.disabled}}const it=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],gt=(0,G.pj)((0,G.Id)((0,G.Kr)(class{constructor(X){this._elementRef=X}})));let ie=(()=>{class X extends gt{get ripple(){return!this._ripple&&this._rippleLoader&&(this._ripple=this._rippleLoader._createMatRipple(this._elementRef.nativeElement)),this._ripple}set ripple(F){this._ripple=F}constructor(F,z,q,ut){super(F),this._platform=z,this._ngZone=q,this._animationMode=ut,this._focusMonitor=(0,l.f3M)(B.tE),this._rippleLoader=(0,l.f3M)(vt),this._isFab=!1;const dt=F.nativeElement.classList;for(const rt of it)this._hasHostAttributes(rt.selector)&&rt.mdcClasses.forEach(Ct=>{dt.add(Ct)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnChanges(){this._ripple&&(this._ripple.disabled=this.disableRipple||this.disabled)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(F="program",z){F?this._focusMonitor.focusVia(this._elementRef.nativeElement,F,z):this._elementRef.nativeElement.focus(z)}_hasHostAttributes(...F){return F.some(z=>this._elementRef.nativeElement.hasAttribute(z))}}return X.\u0275fac=function(F){l.$Z()},X.\u0275dir=l.lG2({type:X,features:[l.qOj,l.TTD]}),X})(),Lt=(()=>{class X extends ie{constructor(F,z,q,ut){super(F,z,q,ut)}}return X.\u0275fac=function(F){return new(F||X)(l.Y36(l.SBq),l.Y36(e.t4),l.Y36(l.R0b),l.Y36(l.QbO,8))},X.\u0275cmp=l.Xpm({type:X,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:7,hostBindings:function(F,z){2&F&&(l.uIk("disabled",z.disabled||null),l.ekj("_mat-animation-noopable","NoopAnimations"===z._animationMode)("mat-unthemed",!z.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[l.qOj],attrs:T,ngContentSelectors:V,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(F,z){1&F&&(l.F$t(L),l._UZ(0,"span",0),l.Hsn(1),l.TgZ(2,"span",1),l.Hsn(3,1),l.qZA(),l.Hsn(4,2),l._UZ(5,"span",2)(6,"span",3)),2&F&&l.ekj("mdc-button__ripple",!z._isFab)("mdc-fab__ripple",z._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__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:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__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-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),X})(),Gt=(()=>{class X{}return X.\u0275fac=function(F){return new(F||X)},X.\u0275mod=l.oAB({type:X}),X.\u0275inj=l.cJS({imports:[G.BQ,G.si,G.BQ]}),X})()},3680:(Mt,J,v)=>{v.d(J,{rD:()=>U,K7:()=>_e,HF:()=>Ut,Y2:()=>ye,BQ:()=>et,ey:()=>fe,Ng:()=>ge,wG:()=>de,si:()=>Qt,IR:()=>Tt,CB:()=>zt,jH:()=>_t,pj:()=>Pt,Kr:()=>Rt,Id:()=>wt,FD:()=>$t,sb:()=>Lt});var e=v(5879),l=v(5643),B=v(9388),W=v(6814),T=v(2831),L=v(2495),V=v(8645),k=v(6028);const ot=["text"];function at(A,g){if(1&A&&e._UZ(0,"mat-pseudo-checkbox",6),2&A){const h=e.oxw();e.Q6J("disabled",h.disabled)("state",h.selected?"checked":"unchecked")}}function st(A,g){if(1&A&&e._UZ(0,"mat-pseudo-checkbox",7),2&A){const h=e.oxw();e.Q6J("disabled",h.disabled)}}function ct(A,g){if(1&A&&(e.TgZ(0,"span",8),e._uU(1),e.qZA()),2&A){const h=e.oxw();e.xp6(1),e.hij("(",h.group.label,")")}}const At=[[["mat-icon"]],"*"],St=["mat-icon","*"],N=new e.OlP("mat-sanity-checks",{providedIn:"root",factory:function yt(){return!0}});let et=(()=>{class A{constructor(h,C,p){this._sanityChecks=C,this._document=p,this._hasDoneGlobalChecks=!1,h._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(h){return!(0,T.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[h])}}return A.\u0275fac=function(h){return new(h||A)(e.LFG(l.qm),e.LFG(N,8),e.LFG(W.K0))},A.\u0275mod=e.oAB({type:A}),A.\u0275inj=e.cJS({imports:[B.vT,B.vT]}),A})();function wt(A){return class extends A{get disabled(){return this._disabled}set disabled(g){this._disabled=(0,L.Ig)(g)}constructor(...g){super(...g),this._disabled=!1}}}function Pt(A,g){return class extends A{get color(){return this._color}set color(h){const C=h||this.defaultColor;C!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),C&&this._elementRef.nativeElement.classList.add(`mat-${C}`),this._color=C)}constructor(...h){super(...h),this.defaultColor=g,this.color=g}}}function Rt(A){return class extends A{get disableRipple(){return this._disableRipple}set disableRipple(g){this._disableRipple=(0,L.Ig)(g)}constructor(...g){super(...g),this._disableRipple=!1}}}function Lt(A,g=0){return class extends A{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(h){this._tabIndex=null!=h?(0,L.su)(h):this.defaultTabIndex}constructor(...h){super(...h),this._tabIndex=g,this.defaultTabIndex=g}}}function $t(A){return class extends A{updateErrorState(){const g=this.errorState,D=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);D!==g&&(this.errorState=D,this.stateChanges.next())}constructor(...g){super(...g),this.errorState=!1}}}let U=(()=>{class A{isErrorState(h,C){return!!(h&&h.invalid&&(h.touched||C&&C.submitted))}}return A.\u0275fac=function(h){return new(h||A)},A.\u0275prov=e.Yz7({token:A,factory:A.\u0275fac,providedIn:"root"}),A})();class dt{constructor(g,h,C,p=!1){this._renderer=g,this.element=h,this.config=C,this._animationForciblyDisabledThroughCss=p,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const rt=(0,T.i$)({passive:!0,capture:!0});class Ct{constructor(){this._events=new Map,this._delegateEventHandler=g=>{const h=(0,T.sA)(g);h&&this._events.get(g.type)?.forEach((C,p)=>{(p===h||p.contains(h))&&C.forEach(D=>D.handleEvent(g))})}}addHandler(g,h,C,p){const D=this._events.get(h);if(D){const m=D.get(C);m?m.add(p):D.set(C,new Set([p]))}else this._events.set(h,new Map([[C,new Set([p])]])),g.runOutsideAngular(()=>{document.addEventListener(h,this._delegateEventHandler,rt)})}removeHandler(g,h,C){const p=this._events.get(g);if(!p)return;const D=p.get(h);D&&(D.delete(C),0===D.size&&p.delete(h),0===p.size&&(this._events.delete(g),document.removeEventListener(g,this._delegateEventHandler,rt)))}}const qt={enterDuration:225,exitDuration:150},le=(0,T.i$)({passive:!0,capture:!0}),ht=["mousedown","touchstart"],Et=["mouseup","mouseleave","touchend","touchcancel"];class Tt{constructor(g,h,C,p){this._target=g,this._ngZone=h,this._platform=p,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,p.isBrowser&&(this._containerElement=(0,L.fI)(C))}fadeInRipple(g,h,C={}){const p=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),D={...qt,...C.animation};C.centered&&(g=p.left+p.width/2,h=p.top+p.height/2);const m=C.radius||function xe(A,g,h){const C=Math.max(Math.abs(A-h.left),Math.abs(A-h.right)),p=Math.max(Math.abs(g-h.top),Math.abs(g-h.bottom));return Math.sqrt(C*C+p*p)}(g,h,p),M=g-p.left,P=h-p.top,Z=D.enterDuration,K=document.createElement("div");K.classList.add("mat-ripple-element"),K.style.left=M-m+"px",K.style.top=P-m+"px",K.style.height=2*m+"px",K.style.width=2*m+"px",null!=C.color&&(K.style.backgroundColor=C.color),K.style.transitionDuration=`${Z}ms`,this._containerElement.appendChild(K);const mt=window.getComputedStyle(K),ue=mt.transitionDuration,Wt="none"===mt.transitionProperty||"0s"===ue||"0s, 0s"===ue||0===p.width&&0===p.height,x=new dt(this,K,C,Wt);K.style.transform="scale3d(1, 1, 1)",x.state=0,C.persistent||(this._mostRecentTransientRipple=x);let _=null;return!Wt&&(Z||D.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const u=()=>this._finishRippleTransition(x),b=()=>this._destroyRipple(x);K.addEventListener("transitionend",u),K.addEventListener("transitioncancel",b),_={onTransitionEnd:u,onTransitionCancel:b}}),this._activeRipples.set(x,_),(Wt||!Z)&&this._finishRippleTransition(x),x}fadeOutRipple(g){if(2===g.state||3===g.state)return;const h=g.element,C={...qt,...g.config.animation};h.style.transitionDuration=`${C.exitDuration}ms`,h.style.opacity="0",g.state=2,(g._animationForciblyDisabledThroughCss||!C.exitDuration)&&this._finishRippleTransition(g)}fadeOutAll(){this._getActiveRipples().forEach(g=>g.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(g=>{g.config.persistent||g.fadeOut()})}setupTriggerEvents(g){const h=(0,L.fI)(g);!this._platform.isBrowser||!h||h===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=h,ht.forEach(C=>{Tt._eventManager.addHandler(this._ngZone,C,h,this)}))}handleEvent(g){"mousedown"===g.type?this._onMousedown(g):"touchstart"===g.type?this._onTouchStart(g):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Et.forEach(h=>{this._triggerElement.addEventListener(h,this,le)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(g){0===g.state?this._startFadeOutTransition(g):2===g.state&&this._destroyRipple(g)}_startFadeOutTransition(g){const h=g===this._mostRecentTransientRipple,{persistent:C}=g.config;g.state=1,!C&&(!h||!this._isPointerDown)&&g.fadeOut()}_destroyRipple(g){const h=this._activeRipples.get(g)??null;this._activeRipples.delete(g),this._activeRipples.size||(this._containerRect=null),g===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),g.state=3,null!==h&&(g.element.removeEventListener("transitionend",h.onTransitionEnd),g.element.removeEventListener("transitioncancel",h.onTransitionCancel)),g.element.remove()}_onMousedown(g){const h=(0,l.X6)(g),C=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!h&&!C&&(this._isPointerDown=!0,this.fadeInRipple(g.clientX,g.clientY,this._target.rippleConfig))}_onTouchStart(g){if(!this._target.rippleDisabled&&!(0,l.yG)(g)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const h=g.changedTouches;for(let C=0;C<h.length;C++)this.fadeInRipple(h[C].clientX,h[C].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(g=>{!g.config.persistent&&(1===g.state||g.config.terminateOnPointerUp&&0===g.state)&&g.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const g=this._triggerElement;g&&(ht.forEach(h=>Tt._eventManager.removeHandler(h,g,this)),this._pointerUpEventsRegistered&&Et.forEach(h=>g.removeEventListener(h,this,le)))}}Tt._eventManager=new Ct;const ye=new e.OlP("mat-ripple-global-options");let de=(()=>{class A{get disabled(){return this._disabled}set disabled(h){h&&this.fadeOutAllNonPersistent(),this._disabled=h,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(h){this._trigger=h,this._setupTriggerEventsIfEnabled()}constructor(h,C,p,D,m){this._elementRef=h,this._animationMode=m,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=D||{},this._rippleRenderer=new Tt(this,C,h,p)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(h,C=0,p){return"number"==typeof h?this._rippleRenderer.fadeInRipple(h,C,{...this.rippleConfig,...p}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...h})}}return A.\u0275fac=function(h){return new(h||A)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(T.t4),e.Y36(ye,8),e.Y36(e.QbO,8))},A.\u0275dir=e.lG2({type:A,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(h,C){2&h&&e.ekj("mat-ripple-unbounded",C.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),A})(),Qt=(()=>{class A{}return A.\u0275fac=function(h){return new(h||A)},A.\u0275mod=e.oAB({type:A}),A.\u0275inj=e.cJS({imports:[et,et]}),A})(),Yt=(()=>{class A{constructor(h){this._animationMode=h,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return A.\u0275fac=function(h){return new(h||A)(e.Y36(e.QbO,8))},A.\u0275cmp=e.Xpm({type:A,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(h,C){2&h&&e.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===C.state)("mat-pseudo-checkbox-checked","checked"===C.state)("mat-pseudo-checkbox-disabled",C.disabled)("mat-pseudo-checkbox-minimal","minimal"===C.appearance)("mat-pseudo-checkbox-full","full"===C.appearance)("_mat-animation-noopable","NoopAnimations"===C._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(h,C){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0}),A})(),Jt=(()=>{class A{}return A.\u0275fac=function(h){return new(h||A)},A.\u0275mod=e.oAB({type:A}),A.\u0275inj=e.cJS({imports:[et]}),A})();const Ut=new e.OlP("MAT_OPTION_PARENT_COMPONENT"),_e=new e.OlP("MatOptgroup");let Me=0;class we{constructor(g,h=!1){this.source=g,this.isUserInput=h}}let te=(()=>{class A{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(h){this._disabled=(0,L.Ig)(h)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(h,C,p,D){this._element=h,this._changeDetectorRef=C,this._parent=p,this.group=D,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Me++,this.onSelectionChange=new e.vpe,this._stateChanges=new V.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(h,C){const p=this._getHostElement();"function"==typeof p.focus&&p.focus(C)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(h){(h.keyCode===k.K5||h.keyCode===k.L_)&&!(0,k.Vb)(h)&&(this._selectViaInteraction(),h.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const h=this.viewValue;h!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=h)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(h=!1){this.onSelectionChange.emit(new we(this,h))}}return A.\u0275fac=function(h){e.$Z()},A.\u0275dir=e.lG2({type:A,viewQuery:function(h,C){if(1&h&&e.Gf(ot,7),2&h){let p;e.iGM(p=e.CRH())&&(C._text=p.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),A})(),fe=(()=>{class A extends te{constructor(h,C,p,D){super(h,C,p,D)}}return A.\u0275fac=function(h){return new(h||A)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Ut,8),e.Y36(_e,8))},A.\u0275cmp=e.Xpm({type:A,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(h,C){1&h&&e.NdJ("click",function(){return C._selectViaInteraction()})("keydown",function(D){return C._handleKeydown(D)}),2&h&&(e.Ikx("id",C.id),e.uIk("aria-selected",C.selected)("aria-disabled",C.disabled.toString()),e.ekj("mdc-list-item--selected",C.selected)("mat-mdc-option-multiple",C.multiple)("mat-mdc-option-active",C.active)("mdc-list-item--disabled",C.disabled))},exportAs:["matOption"],features:[e.qOj],ngContentSelectors:St,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(h,C){1&h&&(e.F$t(At),e.YNc(0,at,1,2,"mat-pseudo-checkbox",0),e.Hsn(1),e.TgZ(2,"span",1,2),e.Hsn(4,1),e.qZA(),e.YNc(5,st,1,1,"mat-pseudo-checkbox",3),e.YNc(6,ct,2,1,"span",4),e._UZ(7,"div",5)),2&h&&(e.Q6J("ngIf",C.multiple),e.xp6(5),e.Q6J("ngIf",!C.multiple&&C.selected&&!C.hideSingleSelectionIndicator),e.xp6(1),e.Q6J("ngIf",C.group&&C.group._inert),e.xp6(1),e.Q6J("matRippleTrigger",C._getHostElement())("matRippleDisabled",C.disabled||C.disableRipple))},dependencies:[de,W.O5,Yt],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),A})();function zt(A,g,h){if(h.length){let C=g.toArray(),p=h.toArray(),D=0;for(let m=0;m<A+1;m++)C[m].group&&C[m].group===p[D]&&D++;return D}return 0}function _t(A,g,h,C){return A<h?A:A+g>h+C?Math.max(0,A-C+g):h}let ge=(()=>{class A{}return A.\u0275fac=function(h){return new(h||A)},A.\u0275mod=e.oAB({type:A}),A.\u0275inj=e.cJS({imports:[Qt,W.ez,et,Jt]}),A})()},1941:(Mt,J,v)=>{v.d(J,{G_:()=>te,TO:()=>me,KE:()=>h,Eo:()=>_e,lN:()=>C,hX:()=>rt});var e=v(5879),l=v(9388),B=v(2831),G=v(7394),W=v(8645),T=v(3019),L=v(9773),V=v(5592),k=v(2181),$=v(4552);class nt extends W.x{constructor(D=1/0,m=1/0,M=$.l){super(),this._bufferSize=D,this._windowTime=m,this._timestampProvider=M,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=m===1/0,this._bufferSize=Math.max(1,D),this._windowTime=Math.max(1,m)}next(D){const{isStopped:m,_buffer:M,_infiniteTimeWindow:P,_timestampProvider:Z,_windowTime:K}=this;m||(M.push(D),!P&&M.push(Z.now()+K)),this._trimBuffer(),super.next(D)}_subscribe(D){this._throwIfClosed(),this._trimBuffer();const m=this._innerSubscribe(D),{_infiniteTimeWindow:M,_buffer:P}=this,Z=P.slice();for(let K=0;K<Z.length&&!D.closed;K+=M?1:2)D.next(Z[K]);return this._checkFinalizedStatuses(D),m}_trimBuffer(){const{_bufferSize:D,_timestampProvider:m,_buffer:M,_infiniteTimeWindow:P}=this,Z=(P?1:2)*D;if(D<1/0&&Z<M.length&&M.splice(0,M.length-Z),!P){const K=m.now();let mt=0;for(let xt=1;xt<M.length&&M[xt]<=K;xt+=2)mt=xt;mt&&M.splice(0,mt+1)}}}var ot=v(3020);class ct{constructor(D){this._box=D,this._destroyed=new W.x,this._resizeSubject=new W.x,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(m=>this._resizeSubject.next(m)))}observe(D){return this._elementObservables.has(D)||this._elementObservables.set(D,new V.y(m=>{const M=this._resizeSubject.subscribe(m);return this._resizeObserver?.observe(D,{box:this._box}),()=>{this._resizeObserver?.unobserve(D),M.unsubscribe(),this._elementObservables.delete(D)}}).pipe((0,k.h)(m=>m.some(M=>M.target===D)),function at(p,D,m){let M,P=!1;return p&&"object"==typeof p?({bufferSize:M=1/0,windowTime:D=1/0,refCount:P=!1,scheduler:m}=p):M=p??1/0,(0,ot.B)({connector:()=>new nt(M,D,m),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:P})}({bufferSize:1,refCount:!0}),(0,L.R)(this._destroyed))),this._elementObservables.get(D)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let At=(()=>{class p{constructor(){this._observers=new Map,this._ngZone=(0,e.f3M)(e.R0b)}ngOnDestroy(){for(const[,m]of this._observers)m.destroy();this._observers.clear()}observe(m,M){const P=M?.box||"content-box";return this._observers.has(P)||this._observers.set(P,new ct(P)),this._observers.get(P).observe(m)}}return p.\u0275fac=function(m){return new(m||p)},p.\u0275prov=e.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();var St=v(2495),pt=v(6825),lt=v(6814);let vt=(()=>{class p{create(m){return typeof MutationObserver>"u"?null:new MutationObserver(m)}}return p.\u0275fac=function(m){return new(m||p)},p.\u0275prov=e.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),et=(()=>{class p{}return p.\u0275fac=function(m){return new(m||p)},p.\u0275mod=e.oAB({type:p}),p.\u0275inj=e.cJS({providers:[vt]}),p})();var it=v(3680);const gt=["notch"],ie=["matFormFieldNotchedOutline",""],wt=["*"],Pt=["textField"],Rt=["iconPrefixContainer"],Lt=["textPrefixContainer"];function $t(p,D){1&p&&e._UZ(0,"span",19)}function ne(p,D){if(1&p&&(e.TgZ(0,"label",17),e.Hsn(1,1),e.YNc(2,$t,1,0,"span",18),e.qZA()),2&p){const m=e.oxw(2);e.Q6J("floating",m._shouldLabelFloat())("monitorResize",m._hasOutline())("id",m._labelId),e.uIk("for",m._control.id)("aria-owns",m._control.id),e.xp6(2),e.Q6J("ngIf",!m.hideRequiredMarker&&m._control.required)}}function oe(p,D){if(1&p&&e.YNc(0,ne,3,6,"label",16),2&p){const m=e.oxw();e.Q6J("ngIf",m._hasFloatingLabel())}}function Bt(p,D){1&p&&e._UZ(0,"div",20)}function Nt(p,D){}function jt(p,D){if(1&p&&e.YNc(0,Nt,0,0,"ng-template",22),2&p){e.oxw(2);const m=e.MAs(1);e.Q6J("ngTemplateOutlet",m)}}function Kt(p,D){if(1&p&&(e.TgZ(0,"div",21),e.YNc(1,jt,1,1,"ng-template",9),e.qZA()),2&p){const m=e.oxw();e.Q6J("matFormFieldNotchedOutlineOpen",m._shouldLabelFloat()),e.xp6(1),e.Q6J("ngIf",!m._forceDisplayInfixLabel())}}function he(p,D){1&p&&(e.TgZ(0,"div",23,24),e.Hsn(2,2),e.qZA())}function re(p,D){1&p&&(e.TgZ(0,"div",25,26),e.Hsn(2,3),e.qZA())}function ae(p,D){}function se(p,D){if(1&p&&e.YNc(0,ae,0,0,"ng-template",22),2&p){e.oxw();const m=e.MAs(1);e.Q6J("ngTemplateOutlet",m)}}function Gt(p,D){1&p&&(e.TgZ(0,"div",27),e.Hsn(1,4),e.qZA())}function X(p,D){1&p&&(e.TgZ(0,"div",28),e.Hsn(1,5),e.qZA())}function U(p,D){1&p&&e._UZ(0,"div",29)}function F(p,D){if(1&p&&(e.TgZ(0,"div",30),e.Hsn(1,6),e.qZA()),2&p){const m=e.oxw();e.Q6J("@transitionMessages",m._subscriptAnimationState)}}function z(p,D){if(1&p&&(e.TgZ(0,"mat-hint",34),e._uU(1),e.qZA()),2&p){const m=e.oxw(2);e.Q6J("id",m._hintLabelId),e.xp6(1),e.Oqu(m.hintLabel)}}function q(p,D){if(1&p&&(e.TgZ(0,"div",31),e.YNc(1,z,2,2,"mat-hint",32),e.Hsn(2,7),e._UZ(3,"div",33),e.Hsn(4,8),e.qZA()),2&p){const m=e.oxw();e.Q6J("@transitionMessages",m._subscriptAnimationState),e.xp6(1),e.Q6J("ngIf",m.hintLabel)}}const ut=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],dt=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let rt=(()=>{class p{}return p.\u0275fac=function(m){return new(m||p)},p.\u0275dir=e.lG2({type:p,selectors:[["mat-label"]]}),p})(),Ct=0;const qt=new e.OlP("MatError");let me=(()=>{class p{constructor(m,M){this.id="mat-mdc-error-"+Ct++,m||M.nativeElement.setAttribute("aria-live","polite")}}return p.\u0275fac=function(m){return new(m||p)(e.$8M("aria-live"),e.Y36(e.SBq))},p.\u0275dir=e.lG2({type:p,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(m,M){2&m&&e.Ikx("id",M.id)},inputs:{id:"id"},features:[e._Bn([{provide:qt,useExisting:p}])]}),p})(),le=0,ht=(()=>{class p{constructor(){this.align="start",this.id="mat-mdc-hint-"+le++}}return p.\u0275fac=function(m){return new(m||p)},p.\u0275dir=e.lG2({type:p,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(m,M){2&m&&(e.Ikx("id",M.id),e.uIk("align",null),e.ekj("mat-mdc-form-field-hint-end","end"===M.align))},inputs:{align:"align",id:"id"}}),p})();const Et=new e.OlP("MatPrefix"),xe=new e.OlP("MatSuffix"),de=new e.OlP("FloatingLabelParent");let Qt=(()=>{class p{get floating(){return this._floating}set floating(m){this._floating=m,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(m){this._monitorResize=m,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(m){this._elementRef=m,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,e.f3M)(At),this._ngZone=(0,e.f3M)(e.R0b),this._parent=(0,e.f3M)(de),this._resizeSubscription=new G.w0}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function Yt(p){if(null!==p.offsetParent)return p.scrollWidth;const m=p.cloneNode(!0);m.style.setProperty("position","absolute"),m.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(m);const M=m.scrollWidth;return m.remove(),M}(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 p.\u0275fac=function(m){return new(m||p)(e.Y36(e.SBq))},p.\u0275dir=e.lG2({type:p,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(m,M){2&m&&e.ekj("mdc-floating-label--float-above",M.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}}),p})();const Jt="mdc-line-ripple--active",Ut="mdc-line-ripple--deactivating";let ce=(()=>{class p{constructor(m,M){this._elementRef=m,this._handleTransitionEnd=P=>{const Z=this._elementRef.nativeElement.classList,K=Z.contains(Ut);"opacity"===P.propertyName&&K&&Z.remove(Jt,Ut)},M.runOutsideAngular(()=>{m.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const m=this._elementRef.nativeElement.classList;m.remove(Ut),m.add(Jt)}deactivate(){this._elementRef.nativeElement.classList.add(Ut)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return p.\u0275fac=function(m){return new(m||p)(e.Y36(e.SBq),e.Y36(e.R0b))},p.\u0275dir=e.lG2({type:p,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),p})(),Ce=(()=>{class p{constructor(m,M){this._elementRef=m,this._ngZone=M,this.open=!1}ngAfterViewInit(){const m=this._elementRef.nativeElement.querySelector(".mdc-floating-label");m?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(m.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>m.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(m){this._notch.nativeElement.style.width=this.open&&m?`calc(${m}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}}return p.\u0275fac=function(m){return new(m||p)(e.Y36(e.SBq),e.Y36(e.R0b))},p.\u0275cmp=e.Xpm({type:p,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(m,M){if(1&m&&e.Gf(gt,5),2&m){let P;e.iGM(P=e.CRH())&&(M._notch=P.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(m,M){2&m&&e.ekj("mdc-notched-outline--notched",M.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:ie,ngContentSelectors:wt,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(m,M){1&m&&(e.F$t(),e._UZ(0,"div",0),e.TgZ(1,"div",1,2),e.Hsn(3),e.qZA(),e._UZ(4,"div",3))},encapsulation:2,changeDetection:0}),p})();const Te={transitionMessages:(0,pt.X$)("transitionMessages",[(0,pt.SB)("enter",(0,pt.oB)({opacity:1,transform:"translateY(0%)"})),(0,pt.eR)("void => enter",[(0,pt.oB)({opacity:0,transform:"translateY(-5px)"}),(0,pt.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let _e=(()=>{class p{}return p.\u0275fac=function(m){return new(m||p)},p.\u0275dir=e.lG2({type:p}),p})();const te=new e.OlP("MatFormField"),fe=new e.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let zt=0;const A="fixed";let h=(()=>{class p{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(m){this._hideRequiredMarker=(0,St.Ig)(m)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(m){m!==this._floatLabel&&(this._floatLabel=m,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(m){const M=this._appearance;this._appearance=m||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==M&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||A}set subscriptSizing(m){this._subscriptSizing=m||this._defaults?.subscriptSizing||A}get hintLabel(){return this._hintLabel}set hintLabel(m){this._hintLabel=m,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(m){this._explicitFormFieldControl=m}constructor(m,M,P,Z,K,mt,xt,ue){this._elementRef=m,this._changeDetectorRef=M,this._ngZone=P,this._dir=Z,this._platform=K,this._defaults=mt,this._animationMode=xt,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+zt++,this._hintLabelId="mat-mdc-hint-"+zt++,this._subscriptAnimationState="",this._destroyed=new W.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,mt&&(mt.appearance&&(this.appearance=mt.appearance),this._hideRequiredMarker=!!mt?.hideRequiredMarker,mt.color&&(this.color=mt.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 m=this._control;m.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${m.controlType}`),m.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),m.ngControl&&m.ngControl.valueChanges&&m.ngControl.valueChanges.pipe((0,L.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(m=>!m._isText),this._hasTextPrefix=!!this._prefixChildren.find(m=>m._isText),this._hasIconSuffix=!!this._suffixChildren.find(m=>!m._isText),this._hasTextSuffix=!!this._suffixChildren.find(m=>m._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,T.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,L.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,L.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(m){const M=this._control?this._control.ngControl:null;return M&&M[m]}_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 m=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&m.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const M=this._hintChildren?this._hintChildren.find(Z=>"start"===Z.align):null,P=this._hintChildren?this._hintChildren.find(Z=>"end"===Z.align):null;M?m.push(M.id):this._hintLabel&&m.push(this._hintLabelId),P&&m.push(P.id)}else this._errorChildren&&m.push(...this._errorChildren.map(M=>M.id));this._control.setDescribedByIds(m)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const m=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(m.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const M=this._iconPrefixContainer?.nativeElement,P=this._textPrefixContainer?.nativeElement,Z=M?.getBoundingClientRect().width??0,K=P?.getBoundingClientRect().width??0;m.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Z+K}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const m=this._elementRef.nativeElement;if(m.getRootNode){const M=m.getRootNode();return M&&M!==m}return document.documentElement.contains(m)}}return p.\u0275fac=function(m){return new(m||p)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(l.Is),e.Y36(B.t4),e.Y36(fe,8),e.Y36(e.QbO,8),e.Y36(lt.K0))},p.\u0275cmp=e.Xpm({type:p,selectors:[["mat-form-field"]],contentQueries:function(m,M,P){if(1&m&&(e.Suo(P,rt,5),e.Suo(P,rt,7),e.Suo(P,_e,5),e.Suo(P,Et,5),e.Suo(P,xe,5),e.Suo(P,qt,5),e.Suo(P,ht,5)),2&m){let Z;e.iGM(Z=e.CRH())&&(M._labelChildNonStatic=Z.first),e.iGM(Z=e.CRH())&&(M._labelChildStatic=Z.first),e.iGM(Z=e.CRH())&&(M._formFieldControl=Z.first),e.iGM(Z=e.CRH())&&(M._prefixChildren=Z),e.iGM(Z=e.CRH())&&(M._suffixChildren=Z),e.iGM(Z=e.CRH())&&(M._errorChildren=Z),e.iGM(Z=e.CRH())&&(M._hintChildren=Z)}},viewQuery:function(m,M){if(1&m&&(e.Gf(Pt,5),e.Gf(Rt,5),e.Gf(Lt,5),e.Gf(Qt,5),e.Gf(Ce,5),e.Gf(ce,5)),2&m){let P;e.iGM(P=e.CRH())&&(M._textField=P.first),e.iGM(P=e.CRH())&&(M._iconPrefixContainer=P.first),e.iGM(P=e.CRH())&&(M._textPrefixContainer=P.first),e.iGM(P=e.CRH())&&(M._floatingLabel=P.first),e.iGM(P=e.CRH())&&(M._notchedOutline=P.first),e.iGM(P=e.CRH())&&(M._lineRipple=P.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(m,M){2&m&&e.ekj("mat-mdc-form-field-label-always-float",M._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",M._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",M._hasIconSuffix)("mat-form-field-invalid",M._control.errorState)("mat-form-field-disabled",M._control.disabled)("mat-form-field-autofilled",M._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===M._animationMode)("mat-form-field-appearance-fill","fill"==M.appearance)("mat-form-field-appearance-outline","outline"==M.appearance)("mat-form-field-hide-placeholder",M._hasFloatingLabel()&&!M._shouldLabelFloat())("mat-focused",M._control.focused)("mat-primary","accent"!==M.color&&"warn"!==M.color)("mat-accent","accent"===M.color)("mat-warn","warn"===M.color)("ng-untouched",M._shouldForward("untouched"))("ng-touched",M._shouldForward("touched"))("ng-pristine",M._shouldForward("pristine"))("ng-dirty",M._shouldForward("dirty"))("ng-valid",M._shouldForward("valid"))("ng-invalid",M._shouldForward("invalid"))("ng-pending",M._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[e._Bn([{provide:te,useExisting:p},{provide:de,useExisting:p}])],ngContentSelectors:dt,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(m,M){1&m&&(e.F$t(ut),e.YNc(0,oe,1,1,"ng-template",null,0,e.W1O),e.TgZ(2,"div",1,2),e.NdJ("click",function(Z){return M._control.onContainerClick(Z)}),e.YNc(4,Bt,1,0,"div",3),e.TgZ(5,"div",4),e.YNc(6,Kt,2,2,"div",5),e.YNc(7,he,3,0,"div",6),e.YNc(8,re,3,0,"div",7),e.TgZ(9,"div",8),e.YNc(10,se,1,1,"ng-template",9),e.Hsn(11),e.qZA(),e.YNc(12,Gt,2,0,"div",10),e.YNc(13,X,2,0,"div",11),e.qZA(),e.YNc(14,U,1,0,"div",12),e.qZA(),e.TgZ(15,"div",13),e.YNc(16,F,2,1,"div",14),e.YNc(17,q,5,2,"div",15),e.qZA()),2&m&&(e.xp6(2),e.ekj("mdc-text-field--filled",!M._hasOutline())("mdc-text-field--outlined",M._hasOutline())("mdc-text-field--no-label",!M._hasFloatingLabel())("mdc-text-field--disabled",M._control.disabled)("mdc-text-field--invalid",M._control.errorState),e.xp6(2),e.Q6J("ngIf",!M._hasOutline()&&!M._control.disabled),e.xp6(2),e.Q6J("ngIf",M._hasOutline()),e.xp6(1),e.Q6J("ngIf",M._hasIconPrefix),e.xp6(1),e.Q6J("ngIf",M._hasTextPrefix),e.xp6(2),e.Q6J("ngIf",!M._hasOutline()||M._forceDisplayInfixLabel()),e.xp6(2),e.Q6J("ngIf",M._hasTextSuffix),e.xp6(1),e.Q6J("ngIf",M._hasIconSuffix),e.xp6(1),e.Q6J("ngIf",!M._hasOutline()),e.xp6(1),e.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===M.subscriptSizing),e.Q6J("ngSwitch",M._getDisplayedMessages()),e.xp6(1),e.Q6J("ngSwitchCase","error"),e.xp6(1),e.Q6J("ngSwitchCase","hint"))},dependencies:[lt.O5,lt.tP,lt.RF,lt.n9,ht,Qt,Ce,ce],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:[Te.transitionMessages]},changeDetection:0}),p})(),C=(()=>{class p{}return p.\u0275fac=function(m){return new(m||p)},p.\u0275mod=e.oAB({type:p}),p.\u0275inj=e.cJS({imports:[it.BQ,lt.ez,et,it.BQ]}),p})()},3224:(Mt,J,v)=>{v.d(J,{gD:()=>Be,LD:()=>gi});var e=v(2495),l=v(5879),B=v(8645),G=v(2096),W=v(5592),T=v(4829),L=v(1631),V=v(4266),k=v(4674),$=v(7400);const nt=["addListener","removeListener"],ot=["addEventListener","removeEventListener"],at=["on","off"];function st(c,i,t,a){if((0,k.m)(t)&&(a=t,t=void 0),a)return st(c,i,t).pipe((0,$.Z)(a));const[d,f]=function pt(c){return(0,k.m)(c.addEventListener)&&(0,k.m)(c.removeEventListener)}(c)?ot.map(E=>O=>c[E](i,O,t)):function At(c){return(0,k.m)(c.addListener)&&(0,k.m)(c.removeListener)}(c)?nt.map(ct(c,i)):function St(c){return(0,k.m)(c.on)&&(0,k.m)(c.off)}(c)?at.map(ct(c,i)):[];if(!d&&(0,V.z)(c))return(0,L.z)(E=>st(E,i,t))((0,T.Xf)(c));if(!d)throw new TypeError("Invalid event target");return new W.y(E=>{const O=(...I)=>E.next(1<I.length?I:I[0]);return d(O),()=>f(O)})}function ct(c,i){return t=>a=>c[t](i,a)}var lt=v(1954),vt=v(7394);const yt={schedule(c){let i=requestAnimationFrame,t=cancelAnimationFrame;const{delegate:a}=yt;a&&(i=a.requestAnimationFrame,t=a.cancelAnimationFrame);const d=i(f=>{t=void 0,c(f)});return new vt.w0(()=>t?.(d))},requestAnimationFrame(...c){const{delegate:i}=yt;return(i?.requestAnimationFrame||requestAnimationFrame)(...c)},cancelAnimationFrame(...c){const{delegate:i}=yt;return(i?.cancelAnimationFrame||cancelAnimationFrame)(...c)},delegate:void 0};var et=v(2631);new class it extends et.v{flush(i){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:a}=this;let d;i=i||a.shift();do{if(d=i.execute(i.state,i.delay))break}while((i=a[0])&&i.id===t&&a.shift());if(this._active=!1,d){for(;(i=a[0])&&i.id===t&&a.shift();)i.unsubscribe();throw d}}}(class N extends lt.o{constructor(i,t){super(i,t),this.scheduler=i,this.work=t}requestAsyncId(i,t,a=0){return null!==a&&a>0?super.requestAsyncId(i,t,a):(i.actions.push(this),i._scheduled||(i._scheduled=yt.requestAnimationFrame(()=>i.flush(void 0))))}recycleAsyncId(i,t,a=0){var d;if(null!=a?a>0:this.delay>0)return super.recycleAsyncId(i,t,a);const{actions:f}=i;null!=t&&(null===(d=f[f.length-1])||void 0===d?void 0:d.id)!==t&&(yt.cancelAnimationFrame(t),i._scheduled=void 0)}});let Pt,wt=1;const Rt={};function Lt(c){return c in Rt&&(delete Rt[c],!0)}const $t={setImmediate(c){const i=wt++;return Rt[i]=!0,Pt||(Pt=Promise.resolve()),Pt.then(()=>Lt(i)&&c()),i},clearImmediate(c){Lt(c)}},{setImmediate:oe,clearImmediate:Bt}=$t,Nt={setImmediate(...c){const{delegate:i}=Nt;return(i?.setImmediate||oe)(...c)},clearImmediate(c){const{delegate:i}=Nt;return(i?.clearImmediate||Bt)(c)},delegate:void 0};new class Kt extends et.v{flush(i){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:a}=this;let d;i=i||a.shift();do{if(d=i.execute(i.state,i.delay))break}while((i=a[0])&&i.id===t&&a.shift());if(this._active=!1,d){for(;(i=a[0])&&i.id===t&&a.shift();)i.unsubscribe();throw d}}}(class jt extends lt.o{constructor(i,t){super(i,t),this.scheduler=i,this.work=t}requestAsyncId(i,t,a=0){return null!==a&&a>0?super.requestAsyncId(i,t,a):(i.actions.push(this),i._scheduled||(i._scheduled=Nt.setImmediate(i.flush.bind(i,void 0))))}recycleAsyncId(i,t,a=0){var d;if(null!=a?a>0:this.delay>0)return super.recycleAsyncId(i,t,a);const{actions:f}=i;null!=t&&(null===(d=f[f.length-1])||void 0===d?void 0:d.id)!==t&&(Nt.clearImmediate(t),i._scheduled===t&&(i._scheduled=void 0))}});var ae=v(6321),se=v(9360),Gt=v(8251),U=v(671);function q(c,i=ae.z){return function X(c){return(0,se.e)((i,t)=>{let a=!1,d=null,f=null,E=!1;const O=()=>{if(f?.unsubscribe(),f=null,a){a=!1;const H=d;d=null,t.next(H)}E&&t.complete()},I=()=>{f=null,E&&t.complete()};i.subscribe((0,Gt.x)(t,H=>{a=!0,d=H,f||(0,T.Xf)(c(H)).subscribe(f=(0,Gt.x)(t,O,I))},()=>{E=!0,(!a||!f||f.closed)&&t.complete()}))})}(()=>function z(c=0,i,t=ae.P){let a=-1;return null!=i&&((0,U.K)(i)?t=i:a=i),new W.y(d=>{let f=function F(c){return c instanceof Date&&!isNaN(c)}(c)?+c-t.now():c;f<0&&(f=0);let E=0;return t.schedule(function(){d.closed||(d.next(E++),0<=a?this.schedule(void 0,a):d.complete())},f)})}(c,i))}var ut=v(2181),dt=v(2831),rt=v(6814),Ct=v(9388);let ye=(()=>{class c{constructor(t,a,d){this._ngZone=t,this._platform=a,this._scrolled=new B.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=d}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const a=this.scrollContainers.get(t);a&&(a.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new W.y(a=>{this._globalSubscription||this._addGlobalListener();const d=t>0?this._scrolled.pipe(q(t)).subscribe(a):this._scrolled.subscribe(a);return this._scrolledCount++,()=>{d.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,G.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,a)=>this.deregister(a)),this._scrolled.complete()}ancestorScrolled(t,a){const d=this.getAncestorScrollContainers(t);return this.scrolled(a).pipe((0,ut.h)(f=>!f||d.indexOf(f)>-1))}getAncestorScrollContainers(t){const a=[];return this.scrollContainers.forEach((d,f)=>{this._scrollableContainsElement(f,t)&&a.push(f)}),a}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,a){let d=(0,e.fI)(a),f=t.getElementRef().nativeElement;do{if(d==f)return!0}while(d=d.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>st(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return c.\u0275fac=function(t){return new(t||c)(l.LFG(l.R0b),l.LFG(dt.t4),l.LFG(rt.K0,8))},c.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Yt=(()=>{class c{constructor(t,a,d){this._platform=t,this._change=new B.x,this._changeListener=f=>{this._change.next(f)},this._document=d,a.runOutsideAngular(()=>{if(t.isBrowser){const f=this._getWindow();f.addEventListener("resize",this._changeListener),f.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:a,height:d}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+d,right:t.left+a,height:d,width:a}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,a=this._getWindow(),d=t.documentElement,f=d.getBoundingClientRect();return{top:-f.top||t.body.scrollTop||a.scrollY||d.scrollTop||0,left:-f.left||t.body.scrollLeft||a.scrollX||d.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(q(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return c.\u0275fac=function(t){return new(t||c)(l.LFG(dt.t4),l.LFG(l.R0b),l.LFG(rt.K0,8))},c.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),te=(()=>{class c{}return c.\u0275fac=function(t){return new(t||c)},c.\u0275mod=l.oAB({type:c}),c.\u0275inj=l.cJS({}),c})(),fe=(()=>{class c{}return c.\u0275fac=function(t){return new(t||c)},c.\u0275mod=l.oAB({type:c}),c.\u0275inj=l.cJS({imports:[Ct.vT,te,Ct.vT,te]}),c})();var zt=v(8180),_t=v(9773);class m{attach(i){return this._attachedHost=i,i.attach(this)}detach(){let i=this._attachedHost;null!=i&&(this._attachedHost=null,i.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(i){this._attachedHost=i}}class M extends m{constructor(i,t,a,d,f){super(),this.component=i,this.viewContainerRef=t,this.injector=a,this.componentFactoryResolver=d,this.projectableNodes=f}}class P extends m{constructor(i,t,a,d){super(),this.templateRef=i,this.viewContainerRef=t,this.context=a,this.injector=d}get origin(){return this.templateRef.elementRef}attach(i,t=this.context){return this.context=t,super.attach(i)}detach(){return this.context=void 0,super.detach()}}class Z extends m{constructor(i){super(),this.element=i instanceof l.SBq?i.nativeElement:i}}class K{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(i){return i instanceof M?(this._attachedPortal=i,this.attachComponentPortal(i)):i instanceof P?(this._attachedPortal=i,this.attachTemplatePortal(i)):this.attachDomPortal&&i instanceof Z?(this._attachedPortal=i,this.attachDomPortal(i)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(i){this._disposeFn=i}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class xt extends K{constructor(i,t,a,d,f){super(),this.outletElement=i,this._componentFactoryResolver=t,this._appRef=a,this._defaultInjector=d,this.attachDomPortal=E=>{const O=E.element,I=this._document.createComment("dom-portal");O.parentNode.insertBefore(I,O),this.outletElement.appendChild(O),this._attachedPortal=E,super.setDisposeFn(()=>{I.parentNode&&I.parentNode.replaceChild(O,I)})},this._document=f}attachComponentPortal(i){const a=(i.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(i.component);let d;return i.viewContainerRef?(d=i.viewContainerRef.createComponent(a,i.viewContainerRef.length,i.injector||i.viewContainerRef.injector,i.projectableNodes||void 0),this.setDisposeFn(()=>d.destroy())):(d=a.create(i.injector||this._defaultInjector||l.zs3.NULL),this._appRef.attachView(d.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(d.hostView),d.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(d)),this._attachedPortal=i,d}attachTemplatePortal(i){let t=i.viewContainerRef,a=t.createEmbeddedView(i.templateRef,i.context,{injector:i.injector});return a.rootNodes.forEach(d=>this.outletElement.appendChild(d)),a.detectChanges(),this.setDisposeFn(()=>{let d=t.indexOf(a);-1!==d&&t.remove(d)}),this._attachedPortal=i,a}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(i){return i.hostView.rootNodes[0]}}let b=(()=>{class c{}return c.\u0275fac=function(t){return new(t||c)},c.\u0275mod=l.oAB({type:c}),c.\u0275inj=l.cJS({}),c})();var S=v(3019),R=v(6028);const tt=(0,dt.Mq)();class Dt{constructor(i,t){this._viewportRuler=i,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const i=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=i.style.left||"",this._previousHTMLStyles.top=i.style.top||"",i.style.left=(0,e.HM)(-this._previousScrollPosition.left),i.style.top=(0,e.HM)(-this._previousScrollPosition.top),i.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const i=this._document.documentElement,a=i.style,d=this._document.body.style,f=a.scrollBehavior||"",E=d.scrollBehavior||"";this._isEnabled=!1,a.left=this._previousHTMLStyles.left,a.top=this._previousHTMLStyles.top,i.classList.remove("cdk-global-scrollblock"),tt&&(a.scrollBehavior=d.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),tt&&(a.scrollBehavior=f,d.scrollBehavior=E)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,a=this._viewportRuler.getViewportSize();return t.scrollHeight>a.height||t.scrollWidth>a.width}}class Se{constructor(i,t,a,d){this._scrollDispatcher=i,this._ngZone=t,this._viewportRuler=a,this._config=d,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(i){this._overlayRef=i}enable(){if(this._scrollSubscription)return;const i=this._scrollDispatcher.scrolled(0).pipe((0,ut.h)(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=i.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=i.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Oe{enable(){}disable(){}attach(){}}function be(c,i){return i.some(t=>c.bottom<t.top||c.top>t.bottom||c.right<t.left||c.left>t.right)}function He(c,i){return i.some(t=>c.top<t.top||c.bottom>t.bottom||c.left<t.left||c.right>t.right)}class Je{constructor(i,t,a,d){this._scrollDispatcher=i,this._viewportRuler=t,this._ngZone=a,this._config=d,this._scrollSubscription=null}attach(i){this._overlayRef=i}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:a,height:d}=this._viewportRuler.getViewportSize();be(t,[{width:a,height:d,bottom:d,right:a,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let je=(()=>{class c{constructor(t,a,d,f){this._scrollDispatcher=t,this._viewportRuler=a,this._ngZone=d,this.noop=()=>new Oe,this.close=E=>new Se(this._scrollDispatcher,this._ngZone,this._viewportRuler,E),this.block=()=>new Dt(this._viewportRuler,this._document),this.reposition=E=>new Je(this._scrollDispatcher,this._viewportRuler,this._ngZone,E),this._document=f}}return c.\u0275fac=function(t){return new(t||c)(l.LFG(ye),l.LFG(Yt),l.LFG(l.R0b),l.LFG(rt.K0))},c.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();class Ge{constructor(i){if(this.scrollStrategy=new Oe,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,i){const t=Object.keys(i);for(const a of t)void 0!==i[a]&&(this[a]=i[a])}}}class yi{constructor(i,t){this.connectionPair=i,this.scrollableViewProperties=t}}let ei=(()=>{class c{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const a=this._attachedOverlays.indexOf(t);a>-1&&this._attachedOverlays.splice(a,1),0===this._attachedOverlays.length&&this.detach()}}return c.\u0275fac=function(t){return new(t||c)(l.LFG(rt.K0))},c.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Mi=(()=>{class c extends ei{constructor(t,a){super(t),this._ngZone=a,this._keydownListener=d=>{const f=this._attachedOverlays;for(let E=f.length-1;E>-1;E--)if(f[E]._keydownEvents.observers.length>0){const O=f[E]._keydownEvents;this._ngZone?this._ngZone.run(()=>O.next(d)):O.next(d);break}}}add(t){super.add(t),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return c.\u0275fac=function(t){return new(t||c)(l.LFG(rt.K0),l.LFG(l.R0b,8))},c.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Ve=(()=>{class c extends ei{constructor(t,a,d){super(t),this._platform=a,this._ngZone=d,this._cursorStyleIsSet=!1,this._pointerDownListener=f=>{this._pointerDownEventTarget=(0,dt.sA)(f)},this._clickListener=f=>{const E=(0,dt.sA)(f),O="click"===f.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:E;this._pointerDownEventTarget=null;const I=this._attachedOverlays.slice();for(let H=I.length-1;H>-1;H--){const Y=I[H];if(Y._outsidePointerEvents.observers.length<1||!Y.hasAttached())continue;if(Y.overlayElement.contains(E)||Y.overlayElement.contains(O))break;const Q=Y._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Q.next(f)):Q.next(f)}}}add(t){if(super.add(t),!this._isAttached){const a=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(a)):this._addEventListeners(a),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=a.style.cursor,a.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}}return c.\u0275fac=function(t){return new(t||c)(l.LFG(rt.K0),l.LFG(dt.t4),l.LFG(l.R0b,8))},c.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Ue=(()=>{class c{constructor(t,a){this._platform=a,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||(0,dt.Oy)()){const d=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let f=0;f<d.length;f++)d[f].remove()}const a=this._document.createElement("div");a.classList.add(t),(0,dt.Oy)()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server"),this._document.body.appendChild(a),this._containerElement=a}}return c.\u0275fac=function(t){return new(t||c)(l.LFG(rt.K0),l.LFG(dt.t4))},c.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();class We{constructor(i,t,a,d,f,E,O,I,H,Y=!1){this._portalOutlet=i,this._host=t,this._pane=a,this._config=d,this._ngZone=f,this._keyboardDispatcher=E,this._document=O,this._location=I,this._outsideClickDispatcher=H,this._animationsDisabled=Y,this._backdropElement=null,this._backdropClick=new B.x,this._attachments=new B.x,this._detachments=new B.x,this._locationChanges=vt.w0.EMPTY,this._backdropClickHandler=Q=>this._backdropClick.next(Q),this._backdropTransitionendHandler=Q=>{this._disposeBackdrop(Q.target)},this._keydownEvents=new B.x,this._outsidePointerEvents=new B.x,d.scrollStrategy&&(this._scrollStrategy=d.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=d.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(i){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const t=this._portalOutlet.attach(i);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,zt.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof t?.onDestroy&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const i=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),i}dispose(){const i=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,i&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(i){i!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=i,this.hasAttached()&&(i.attach(this),this.updatePosition()))}updateSize(i){this._config={...this._config,...i},this._updateElementSize()}setDirection(i){this._config={...this._config,direction:i},this._updateElementDirection()}addPanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!0)}removePanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!1)}getDirection(){const i=this._config.direction;return i?"string"==typeof i?i:i.value:"ltr"}updateScrollStrategy(i){i!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=i,this.hasAttached()&&(i.attach(this),i.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const i=this._pane.style;i.width=(0,e.HM)(this._config.width),i.height=(0,e.HM)(this._config.height),i.minWidth=(0,e.HM)(this._config.minWidth),i.minHeight=(0,e.HM)(this._config.minHeight),i.maxWidth=(0,e.HM)(this._config.maxWidth),i.maxHeight=(0,e.HM)(this._config.maxHeight)}_togglePointerEvents(i){this._pane.style.pointerEvents=i?"":"none"}_attachBackdrop(){const i="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(i)})}):this._backdropElement.classList.add(i)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const i=this._backdropElement;if(i){if(this._animationsDisabled)return void this._disposeBackdrop(i);i.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{i.addEventListener("transitionend",this._backdropTransitionendHandler)}),i.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(i)},500))}}_toggleClasses(i,t,a){const d=(0,e.Eq)(t||[]).filter(f=>!!f);d.length&&(a?i.classList.add(...d):i.classList.remove(...d))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const i=this._ngZone.onStable.pipe((0,_t.R)((0,S.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),i.unsubscribe())})})}_disposeScrollStrategy(){const i=this._scrollStrategy;i&&(i.disable(),i.detach&&i.detach())}_disposeBackdrop(i){i&&(i.removeEventListener("click",this._backdropClickHandler),i.removeEventListener("transitionend",this._backdropTransitionendHandler),i.remove(),this._backdropElement===i&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const Ee="cdk-overlay-connected-position-bounding-box",Ze=/([A-Za-z%]+)$/;class De{get positions(){return this._preferredPositions}constructor(i,t,a,d,f){this._viewportRuler=t,this._document=a,this._platform=d,this._overlayContainer=f,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new B.x,this._resizeSubscription=vt.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(i)}attach(i){this._validatePositions(),i.hostElement.classList.add(Ee),this._overlayRef=i,this._boundingBox=i.hostElement,this._pane=i.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const i=this._originRect,t=this._overlayRect,a=this._viewportRect,d=this._containerRect,f=[];let E;for(let O of this._preferredPositions){let I=this._getOriginPoint(i,d,O),H=this._getOverlayPoint(I,t,O),Y=this._getOverlayFit(H,t,a,O);if(Y.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(O,I);this._canFitWithFlexibleDimensions(Y,H,a)?f.push({position:O,origin:I,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(I,O)}):(!E||E.overlayFit.visibleArea<Y.visibleArea)&&(E={overlayFit:Y,overlayPoint:H,originPoint:I,position:O,overlayRect:t})}if(f.length){let O=null,I=-1;for(const H of f){const Y=H.boundingBoxRect.width*H.boundingBoxRect.height*(H.position.weight||1);Y>I&&(I=Y,O=H)}return this._isPushed=!1,void this._applyPosition(O.position,O.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(E.position,E.originPoint);this._applyPosition(E.position,E.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ee(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Ee),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const i=this._lastPosition;if(i){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._getOriginPoint(this._originRect,this._containerRect,i);this._applyPosition(i,t)}else this.apply()}withScrollableContainers(i){return this._scrollables=i,this}withPositions(i){return this._preferredPositions=i,-1===i.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(i){return this._viewportMargin=i,this}withFlexibleDimensions(i=!0){return this._hasFlexibleDimensions=i,this}withGrowAfterOpen(i=!0){return this._growAfterOpen=i,this}withPush(i=!0){return this._canPush=i,this}withLockedPosition(i=!0){return this._positionLocked=i,this}setOrigin(i){return this._origin=i,this}withDefaultOffsetX(i){return this._offsetX=i,this}withDefaultOffsetY(i){return this._offsetY=i,this}withTransformOriginOn(i){return this._transformOriginSelector=i,this}_getOriginPoint(i,t,a){let d,f;if("center"==a.originX)d=i.left+i.width/2;else{const E=this._isRtl()?i.right:i.left,O=this._isRtl()?i.left:i.right;d="start"==a.originX?E:O}return t.left<0&&(d-=t.left),f="center"==a.originY?i.top+i.height/2:"top"==a.originY?i.top:i.bottom,t.top<0&&(f-=t.top),{x:d,y:f}}_getOverlayPoint(i,t,a){let d,f;return d="center"==a.overlayX?-t.width/2:"start"===a.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,f="center"==a.overlayY?-t.height/2:"top"==a.overlayY?0:-t.height,{x:i.x+d,y:i.y+f}}_getOverlayFit(i,t,a,d){const f=Fe(t);let{x:E,y:O}=i,I=this._getOffset(d,"x"),H=this._getOffset(d,"y");I&&(E+=I),H&&(O+=H);let Zt=0-O,kt=O+f.height-a.height,It=this._subtractOverflows(f.width,0-E,E+f.width-a.width),Vt=this._subtractOverflows(f.height,Zt,kt),Ht=It*Vt;return{visibleArea:Ht,isCompletelyWithinViewport:f.width*f.height===Ht,fitsInViewportVertically:Vt===f.height,fitsInViewportHorizontally:It==f.width}}_canFitWithFlexibleDimensions(i,t,a){if(this._hasFlexibleDimensions){const d=a.bottom-t.y,f=a.right-t.x,E=pe(this._overlayRef.getConfig().minHeight),O=pe(this._overlayRef.getConfig().minWidth);return(i.fitsInViewportVertically||null!=E&&E<=d)&&(i.fitsInViewportHorizontally||null!=O&&O<=f)}return!1}_pushOverlayOnScreen(i,t,a){if(this._previousPushAmount&&this._positionLocked)return{x:i.x+this._previousPushAmount.x,y:i.y+this._previousPushAmount.y};const d=Fe(t),f=this._viewportRect,E=Math.max(i.x+d.width-f.width,0),O=Math.max(i.y+d.height-f.height,0),I=Math.max(f.top-a.top-i.y,0),H=Math.max(f.left-a.left-i.x,0);let Y=0,Q=0;return Y=d.width<=f.width?H||-E:i.x<this._viewportMargin?f.left-a.left-i.x:0,Q=d.height<=f.height?I||-O:i.y<this._viewportMargin?f.top-a.top-i.y:0,this._previousPushAmount={x:Y,y:Q},{x:i.x+Y,y:i.y+Q}}_applyPosition(i,t){if(this._setTransformOrigin(i),this._setOverlayElementStyles(t,i),this._setBoundingBoxStyles(t,i),i.panelClass&&this._addPanelClasses(i.panelClass),this._lastPosition=i,this._positionChanges.observers.length){const a=this._getScrollVisibility(),d=new yi(i,a);this._positionChanges.next(d)}this._isInitialRender=!1}_setTransformOrigin(i){if(!this._transformOriginSelector)return;const t=this._boundingBox.querySelectorAll(this._transformOriginSelector);let a,d=i.overlayY;a="center"===i.overlayX?"center":this._isRtl()?"start"===i.overlayX?"right":"left":"start"===i.overlayX?"left":"right";for(let f=0;f<t.length;f++)t[f].style.transformOrigin=`${a} ${d}`}_calculateBoundingBoxRect(i,t){const a=this._viewportRect,d=this._isRtl();let f,E,O,Y,Q,Zt;if("top"===t.overlayY)E=i.y,f=a.height-E+this._viewportMargin;else if("bottom"===t.overlayY)O=a.height-i.y+2*this._viewportMargin,f=a.height-O+this._viewportMargin;else{const kt=Math.min(a.bottom-i.y+a.top,i.y),It=this._lastBoundingBoxSize.height;f=2*kt,E=i.y-kt,f>It&&!this._isInitialRender&&!this._growAfterOpen&&(E=i.y-It/2)}if("end"===t.overlayX&&!d||"start"===t.overlayX&&d)Zt=a.width-i.x+this._viewportMargin,Y=i.x-this._viewportMargin;else if("start"===t.overlayX&&!d||"end"===t.overlayX&&d)Q=i.x,Y=a.right-i.x;else{const kt=Math.min(a.right-i.x+a.left,i.x),It=this._lastBoundingBoxSize.width;Y=2*kt,Q=i.x-kt,Y>It&&!this._isInitialRender&&!this._growAfterOpen&&(Q=i.x-It/2)}return{top:E,left:Q,bottom:O,right:Zt,width:Y,height:f}}_setBoundingBoxStyles(i,t){const a=this._calculateBoundingBoxRect(i,t);!this._isInitialRender&&!this._growAfterOpen&&(a.height=Math.min(a.height,this._lastBoundingBoxSize.height),a.width=Math.min(a.width,this._lastBoundingBoxSize.width));const d={};if(this._hasExactPosition())d.top=d.left="0",d.bottom=d.right=d.maxHeight=d.maxWidth="",d.width=d.height="100%";else{const f=this._overlayRef.getConfig().maxHeight,E=this._overlayRef.getConfig().maxWidth;d.height=(0,e.HM)(a.height),d.top=(0,e.HM)(a.top),d.bottom=(0,e.HM)(a.bottom),d.width=(0,e.HM)(a.width),d.left=(0,e.HM)(a.left),d.right=(0,e.HM)(a.right),d.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",d.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",f&&(d.maxHeight=(0,e.HM)(f)),E&&(d.maxWidth=(0,e.HM)(E))}this._lastBoundingBoxSize=a,ee(this._boundingBox.style,d)}_resetBoundingBoxStyles(){ee(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ee(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(i,t){const a={},d=this._hasExactPosition(),f=this._hasFlexibleDimensions,E=this._overlayRef.getConfig();if(d){const Y=this._viewportRuler.getViewportScrollPosition();ee(a,this._getExactOverlayY(t,i,Y)),ee(a,this._getExactOverlayX(t,i,Y))}else a.position="static";let O="",I=this._getOffset(t,"x"),H=this._getOffset(t,"y");I&&(O+=`translateX(${I}px) `),H&&(O+=`translateY(${H}px)`),a.transform=O.trim(),E.maxHeight&&(d?a.maxHeight=(0,e.HM)(E.maxHeight):f&&(a.maxHeight="")),E.maxWidth&&(d?a.maxWidth=(0,e.HM)(E.maxWidth):f&&(a.maxWidth="")),ee(this._pane.style,a)}_getExactOverlayY(i,t,a){let d={top:"",bottom:""},f=this._getOverlayPoint(t,this._overlayRect,i);return this._isPushed&&(f=this._pushOverlayOnScreen(f,this._overlayRect,a)),"bottom"===i.overlayY?d.bottom=this._document.documentElement.clientHeight-(f.y+this._overlayRect.height)+"px":d.top=(0,e.HM)(f.y),d}_getExactOverlayX(i,t,a){let E,d={left:"",right:""},f=this._getOverlayPoint(t,this._overlayRect,i);return this._isPushed&&(f=this._pushOverlayOnScreen(f,this._overlayRect,a)),E=this._isRtl()?"end"===i.overlayX?"left":"right":"end"===i.overlayX?"right":"left","right"===E?d.right=this._document.documentElement.clientWidth-(f.x+this._overlayRect.width)+"px":d.left=(0,e.HM)(f.x),d}_getScrollVisibility(){const i=this._getOriginRect(),t=this._pane.getBoundingClientRect(),a=this._scrollables.map(d=>d.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:He(i,a),isOriginOutsideView:be(i,a),isOverlayClipped:He(t,a),isOverlayOutsideView:be(t,a)}}_subtractOverflows(i,...t){return t.reduce((a,d)=>a-Math.max(d,0),i)}_getNarrowedViewportRect(){const i=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,a=this._viewportRuler.getViewportScrollPosition();return{top:a.top+this._viewportMargin,left:a.left+this._viewportMargin,right:a.left+i-this._viewportMargin,bottom:a.top+t-this._viewportMargin,width:i-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(i,t){return"x"===t?null==i.offsetX?this._offsetX:i.offsetX:null==i.offsetY?this._offsetY:i.offsetY}_validatePositions(){}_addPanelClasses(i){this._pane&&(0,e.Eq)(i).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(i=>{this._pane.classList.remove(i)}),this._appliedPanelClasses=[])}_getOriginRect(){const i=this._origin;if(i instanceof l.SBq)return i.nativeElement.getBoundingClientRect();if(i instanceof Element)return i.getBoundingClientRect();const t=i.width||0,a=i.height||0;return{top:i.y,bottom:i.y+a,left:i.x,right:i.x+t,height:a,width:t}}}function ee(c,i){for(let t in i)i.hasOwnProperty(t)&&(c[t]=i[t]);return c}function pe(c){if("number"!=typeof c&&null!=c){const[i,t]=c.split(Ze);return t&&"px"!==t?null:parseFloat(i)}return c||null}function Fe(c){return{top:Math.floor(c.top),right:Math.floor(c.right),bottom:Math.floor(c.bottom),left:Math.floor(c.left),width:Math.floor(c.width),height:Math.floor(c.height)}}const Pe="cdk-global-overlay-wrapper";class Ui{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(i){const t=i.getConfig();this._overlayRef=i,this._width&&!t.width&&i.updateSize({width:this._width}),this._height&&!t.height&&i.updateSize({height:this._height}),i.hostElement.classList.add(Pe),this._isDisposed=!1}top(i=""){return this._bottomOffset="",this._topOffset=i,this._alignItems="flex-start",this}left(i=""){return this._xOffset=i,this._xPosition="left",this}bottom(i=""){return this._topOffset="",this._bottomOffset=i,this._alignItems="flex-end",this}right(i=""){return this._xOffset=i,this._xPosition="right",this}start(i=""){return this._xOffset=i,this._xPosition="start",this}end(i=""){return this._xOffset=i,this._xPosition="end",this}width(i=""){return this._overlayRef?this._overlayRef.updateSize({width:i}):this._width=i,this}height(i=""){return this._overlayRef?this._overlayRef.updateSize({height:i}):this._height=i,this}centerHorizontally(i=""){return this.left(i),this._xPosition="center",this}centerVertically(i=""){return this.top(i),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const i=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,a=this._overlayRef.getConfig(),{width:d,height:f,maxWidth:E,maxHeight:O}=a,I=!("100%"!==d&&"100vw"!==d||E&&"100%"!==E&&"100vw"!==E),H=!("100%"!==f&&"100vh"!==f||O&&"100%"!==O&&"100vh"!==O),Y=this._xPosition,Q=this._xOffset,Zt="rtl"===this._overlayRef.getConfig().direction;let kt="",It="",Vt="";I?Vt="flex-start":"center"===Y?(Vt="center",Zt?It=Q:kt=Q):Zt?"left"===Y||"end"===Y?(Vt="flex-end",kt=Q):("right"===Y||"start"===Y)&&(Vt="flex-start",It=Q):"left"===Y||"start"===Y?(Vt="flex-start",kt=Q):("right"===Y||"end"===Y)&&(Vt="flex-end",It=Q),i.position=this._cssPosition,i.marginLeft=I?"0":kt,i.marginTop=H?"0":this._topOffset,i.marginBottom=this._bottomOffset,i.marginRight=I?"0":It,t.justifyContent=Vt,t.alignItems=H?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const i=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,a=t.style;t.classList.remove(Pe),a.justifyContent=a.alignItems=i.marginTop=i.marginBottom=i.marginLeft=i.marginRight=i.position="",this._overlayRef=null,this._isDisposed=!0}}let Di=(()=>{class c{constructor(t,a,d,f){this._viewportRuler=t,this._document=a,this._platform=d,this._overlayContainer=f}global(){return new Ui}flexibleConnectedTo(t){return new De(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return c.\u0275fac=function(t){return new(t||c)(l.LFG(Yt),l.LFG(rt.K0),l.LFG(dt.t4),l.LFG(Ue))},c.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),ii=0,Xe=(()=>{class c{constructor(t,a,d,f,E,O,I,H,Y,Q,Zt,kt){this.scrollStrategies=t,this._overlayContainer=a,this._componentFactoryResolver=d,this._positionBuilder=f,this._keyboardDispatcher=E,this._injector=O,this._ngZone=I,this._document=H,this._directionality=Y,this._location=Q,this._outsideClickDispatcher=Zt,this._animationsModuleType=kt}create(t){const a=this._createHostElement(),d=this._createPaneElement(a),f=this._createPortalOutlet(d),E=new Ge(t);return E.direction=E.direction||this._directionality.value,new We(f,a,d,E,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(t){const a=this._document.createElement("div");return a.id="cdk-overlay-"+ii++,a.classList.add("cdk-overlay-pane"),t.appendChild(a),a}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(l.z2F)),new xt(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return c.\u0275fac=function(t){return new(t||c)(l.LFG(je),l.LFG(Ue),l.LFG(l._Vd),l.LFG(Di),l.LFG(Mi),l.LFG(l.zs3),l.LFG(l.R0b),l.LFG(rt.K0),l.LFG(Ct.Is),l.LFG(rt.Ye),l.LFG(Ve),l.LFG(l.QbO,8))},c.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const Wi=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Ai=new l.OlP("cdk-connected-overlay-scroll-strategy");let ni=(()=>{class c{constructor(t){this.elementRef=t}}return c.\u0275fac=function(t){return new(t||c)(l.Y36(l.SBq))},c.\u0275dir=l.lG2({type:c,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),c})(),oi=(()=>{class c{get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=(0,e.Ig)(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=(0,e.Ig)(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=(0,e.Ig)(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=(0,e.Ig)(t)}get push(){return this._push}set push(t){this._push=(0,e.Ig)(t)}constructor(t,a,d,f,E){this._overlay=t,this._dir=E,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=vt.w0.EMPTY,this._attachSubscription=vt.w0.EMPTY,this._detachSubscription=vt.w0.EMPTY,this._positionSubscription=vt.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new l.vpe,this.positionChange=new l.vpe,this.attach=new l.vpe,this.detach=new l.vpe,this.overlayKeydown=new l.vpe,this.overlayOutsideClick=new l.vpe,this._templatePortal=new P(a,d),this._scrollStrategyFactory=f,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Wi);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(a=>{this.overlayKeydown.next(a),a.keyCode===R.hY&&!this.disableClose&&!(0,R.Vb)(a)&&(a.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(a=>{this.overlayOutsideClick.next(a)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),a=new Ge({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(a.width=this.width),(this.height||0===this.height)&&(a.height=this.height),(this.minWidth||0===this.minWidth)&&(a.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(a.minHeight=this.minHeight),this.backdropClass&&(a.backdropClass=this.backdropClass),this.panelClass&&(a.panelClass=this.panelClass),a}_updatePositionStrategy(t){const a=this.positions.map(d=>({originX:d.originX,originY:d.originY,overlayX:d.overlayX,overlayY:d.overlayY,offsetX:d.offsetX||this.offsetX,offsetY:d.offsetY||this.offsetY,panelClass:d.panelClass||void 0}));return t.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(a).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(t),t}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof ni?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function ge(c,i=!1){return(0,se.e)((t,a)=>{let d=0;t.subscribe((0,Gt.x)(a,f=>{const E=c(f,d++);(E||i)&&a.next(f),!E&&a.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this.positionChange.emit(t),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return c.\u0275fac=function(t){return new(t||c)(l.Y36(Xe),l.Y36(l.Rgc),l.Y36(l.s_b),l.Y36(Ai),l.Y36(Ct.Is,8))},c.\u0275dir=l.lG2({type:c,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[l.TTD]}),c})();const Si={provide:Ai,deps:[Xe],useFactory:function ri(c){return()=>c.scrollStrategies.reposition()}};let ai=(()=>{class c{}return c.\u0275fac=function(t){return new(t||c)},c.\u0275mod=l.oAB({type:c}),c.\u0275inj=l.cJS({providers:[Xe,Si],imports:[Ct.vT,b,fe,fe]}),c})();var Ot=v(3680),$e=v(1941),Ae=v(5643);class Ii{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(i=!1,t,a=!0,d){this._multiple=i,this._emitChanges=a,this.compareWith=d,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new B.x,t&&t.length&&(i?t.forEach(f=>this._markSelected(f)):this._markSelected(t[0]),this._selectedToEmit.length=0)}select(...i){this._verifyValueAssignment(i),i.forEach(a=>this._markSelected(a));const t=this._hasQueuedChanges();return this._emitChangeEvent(),t}deselect(...i){this._verifyValueAssignment(i),i.forEach(a=>this._unmarkSelected(a));const t=this._hasQueuedChanges();return this._emitChangeEvent(),t}setSelection(...i){this._verifyValueAssignment(i);const t=this.selected,a=new Set(i);i.forEach(f=>this._markSelected(f)),t.filter(f=>!a.has(f)).forEach(f=>this._unmarkSelected(f));const d=this._hasQueuedChanges();return this._emitChangeEvent(),d}toggle(i){return this.isSelected(i)?this.deselect(i):this.select(i)}clear(i=!0){this._unmarkAll();const t=this._hasQueuedChanges();return i&&this._emitChangeEvent(),t}isSelected(i){return this._selection.has(this._getConcreteValue(i))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(i){this._multiple&&this.selected&&this._selected.sort(i)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(i){i=this._getConcreteValue(i),this.isSelected(i)||(this._multiple||this._unmarkAll(),this.isSelected(i)||this._selection.add(i),this._emitChanges&&this._selectedToEmit.push(i))}_unmarkSelected(i){i=this._getConcreteValue(i),this.isSelected(i)&&(this._selection.delete(i),this._emitChanges&&this._deselectedToEmit.push(i))}_unmarkAll(){this.isEmpty()||this._selection.forEach(i=>this._unmarkSelected(i))}_verifyValueAssignment(i){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(i){if(this.compareWith){for(let t of this._selection)if(this.compareWith(i,t))return t;return i}return i}}var ke=v(95),Ti=v(4911),Ie=v(7921),li=v(4664),Le=v(7398),Vi=v(3997),Ft=v(6825);const di=["trigger"],Pi=["panel"];function Ke(c,i){if(1&c&&(l.TgZ(0,"span",10),l._uU(1),l.qZA()),2&c){const t=l.oxw();l.xp6(1),l.Oqu(t.placeholder)}}function Li(c,i){if(1&c&&(l.TgZ(0,"span",14),l._uU(1),l.qZA()),2&c){const t=l.oxw(2);l.xp6(1),l.Oqu(t.triggerValue)}}function ci(c,i){1&c&&l.Hsn(0,0,["*ngSwitchCase","true"])}function Bi(c,i){if(1&c&&(l.TgZ(0,"span",11),l.YNc(1,Li,2,1,"span",12),l.YNc(2,ci,1,0,"ng-content",13),l.qZA()),2&c){const t=l.oxw();l.Q6J("ngSwitch",!!t.customTrigger),l.xp6(2),l.Q6J("ngSwitchCase",!0)}}function qe(c,i){if(1&c){const t=l.EpF();l.O4$(),l.kcU(),l.TgZ(0,"div",15,16),l.NdJ("@transformPanel.done",function(d){l.CHM(t);const f=l.oxw();return l.KtG(f._panelDoneAnimatingStream.next(d.toState))})("keydown",function(d){l.CHM(t);const f=l.oxw();return l.KtG(f._handleKeydown(d))}),l.Hsn(2,1),l.qZA()}if(2&c){const t=l.oxw();l.Gre("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",t._getPanelTheme(),""),l.Q6J("ngClass",t.panelClass)("@transformPanel","showing"),l.uIk("id",t.id+"-panel")("aria-multiselectable",t.multiple)("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby())}}const Ni=[[["mat-select-trigger"]],"*"],zi=["mat-select-trigger","*"],ui={transformPanelWrap:(0,Ft.X$)("transformPanelWrap",[(0,Ft.eR)("* => void",(0,Ft.IO)("@transformPanel",[(0,Ft.pV)()],{optional:!0}))]),transformPanel:(0,Ft.X$)("transformPanel",[(0,Ft.SB)("void",(0,Ft.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,Ft.eR)("void => showing",(0,Ft.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Ft.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,Ft.eR)("* => void",(0,Ft.jt)("100ms linear",(0,Ft.oB)({opacity:0})))])};let mi=0;const Qe=new l.OlP("mat-select-scroll-strategy"),ve=new l.OlP("MAT_SELECT_CONFIG"),Hi={provide:Qe,deps:[Xe],useFactory:function fi(c){return()=>c.scrollStrategies.reposition()}},pi=new l.OlP("MatSelectTrigger");class ji{constructor(i,t){this.source=i,this.value=t}}const _i=(0,Ot.Kr)((0,Ot.sb)((0,Ot.Id)((0,Ot.FD)(class{constructor(c,i,t,a,d){this._elementRef=c,this._defaultErrorStateMatcher=i,this._parentForm=t,this._parentFormGroup=a,this.ngControl=d,this.stateChanges=new B.x}}))));let Gi=(()=>{class c extends _i{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(ke.kI.required)??!1}set required(t){this._required=(0,e.Ig)(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._multiple=(0,e.Ig)(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=(0,e.Ig)(t)}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){this._assignValue(t)&&this._onChange(t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=(0,e.su)(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}constructor(t,a,d,f,E,O,I,H,Y,Q,Zt,kt,It,Vt){super(E,f,I,H,Q),this._viewportRuler=t,this._changeDetectorRef=a,this._ngZone=d,this._dir=O,this._parentFormField=Y,this._liveAnnouncer=It,this._defaultOptions=Vt,this._panelOpen=!1,this._compareWith=(Ht,bi)=>Ht===bi,this._uid="mat-select-"+mi++,this._triggerAriaLabelledBy=null,this._destroy=new B.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+mi++,this._panelDoneAnimatingStream=new B.x,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=(0,Ti.P)(()=>{const Ht=this.options;return Ht?Ht.changes.pipe((0,Ie.O)(Ht),(0,li.w)(()=>(0,S.T)(...Ht.map(bi=>bi.onSelectionChange)))):this._ngZone.onStable.pipe((0,zt.q)(1),(0,li.w)(()=>this.optionSelectionChanges))}),this.openedChange=new l.vpe,this._openedStream=this.openedChange.pipe((0,ut.h)(Ht=>Ht),(0,Le.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,ut.h)(Ht=>!Ht),(0,Le.U)(()=>{})),this.selectionChange=new l.vpe,this.valueChange=new l.vpe,this._trackedModal=null,this.ngControl&&(this.ngControl.valueAccessor=this),null!=Vt?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=Vt.typeaheadDebounceInterval),this._scrollStrategyFactory=kt,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Zt)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Ii(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,Vi.x)(),(0,_t.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,_t.R)(this._destroy)).subscribe(t=>{t.added.forEach(a=>a.select()),t.removed.forEach(a=>a.deselect())}),this.options.changes.pipe((0,Ie.O)(null),(0,_t.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const t=this._getTriggerAriaLabelledby(),a=this.ngControl;if(t!==this._triggerAriaLabelledBy){const d=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?d.setAttribute("aria-labelledby",t):d.removeAttribute("aria-labelledby")}a&&(this._previousControl!==a.control&&(void 0!==this._previousControl&&null!==a.disabled&&a.disabled!==this.disabled&&(this.disabled=a.disabled),this._previousControl=a.control),this.updateErrorState())}ngOnChanges(t){(t.disabled||t.userAriaDescribedBy)&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}_applyModalPanelOwnership(){const t=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!t)return;const a=`${this.id}-panel`;this._trackedModal&&(0,Ae.iD)(this._trackedModal,"aria-owns",a),(0,Ae.Zf)(t,"aria-owns",a),this._trackedModal=t}_clearFromModal(){this._trackedModal&&((0,Ae.iD)(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(t){this._assignValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const t=this._selectionModel.selected.map(a=>a.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const a=t.keyCode,d=a===R.JH||a===R.LH||a===R.oh||a===R.SV,f=a===R.K5||a===R.L_,E=this._keyManager;if(!E.isTyping()&&f&&!(0,R.Vb)(t)||(this.multiple||t.altKey)&&d)t.preventDefault(),this.open();else if(!this.multiple){const O=this.selected;E.onKeydown(t);const I=this.selected;I&&O!==I&&this._liveAnnouncer.announce(I.viewValue,1e4)}}_handleOpenKeydown(t){const a=this._keyManager,d=t.keyCode,f=d===R.JH||d===R.LH,E=a.isTyping();if(f&&t.altKey)t.preventDefault(),this.close();else if(E||d!==R.K5&&d!==R.L_||!a.activeItem||(0,R.Vb)(t))if(!E&&this._multiple&&d===R.A&&t.ctrlKey){t.preventDefault();const O=this.options.some(I=>!I.disabled&&!I.selected);this.options.forEach(I=>{I.disabled||(O?I.select():I.deselect())})}else{const O=a.activeItemIndex;a.onKeydown(t),this._multiple&&f&&t.shiftKey&&a.activeItem&&a.activeItemIndex!==O&&a.activeItem._selectViaInteraction()}else t.preventDefault(),a.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,zt.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this.options.forEach(a=>a.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(a=>this._selectOptionByValue(a)),this._sortValues();else{const a=this._selectOptionByValue(t);a?this._keyManager.updateActiveItem(a):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(t){const a=this.options.find(d=>{if(this._selectionModel.isSelected(d))return!1;try{return null!=d.value&&this._compareWith(d.value,t)}catch{return!1}});return a&&this._selectionModel.select(a),a}_assignValue(t){return!!(t!==this._value||this._multiple&&Array.isArray(t))&&(this.options&&this._setSelectionByValue(t),this._value=t,!0)}_skipPredicate(t){return t.disabled}_initKeyManager(){this._keyManager=new Ae.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const t=(0,S.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,_t.R)(t)).subscribe(a=>{this._onSelect(a.source,a.isUserInput),a.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,S.T)(...this.options.map(a=>a._stateChanges)).pipe((0,_t.R)(t)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(t,a){const d=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(d!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),a&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),a&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),d!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((a,d)=>this.sortComparator?this.sortComparator(a,d,t):t.indexOf(a)-t.indexOf(d)),this.stateChanges.next()}}_propagateChanges(t){let a=null;a=this.multiple?this.selected.map(d=>d.value):this.selected?this.selected.value:t,this._value=a,this.valueChange.emit(a),this._onChange(a),this.selectionChange.emit(this._getChangeEvent(a)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let t=-1;for(let a=0;a<this.options.length;a++)if(!this.options.get(a).disabled){t=a;break}this._keyManager.setActiveItem(t)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const t=this._parentFormField?.getLabelId();return this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const t=this._parentFormField?.getLabelId();let a=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(a+=" "+this.ariaLabelledby),a}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return c.\u0275fac=function(t){return new(t||c)(l.Y36(Yt),l.Y36(l.sBO),l.Y36(l.R0b),l.Y36(Ot.rD),l.Y36(l.SBq),l.Y36(Ct.Is,8),l.Y36(ke.F,8),l.Y36(ke.sg,8),l.Y36($e.G_,8),l.Y36(ke.a5,10),l.$8M("tabindex"),l.Y36(Qe),l.Y36(Ae.Kd),l.Y36(ve,8))},c.\u0275dir=l.lG2({type:c,viewQuery:function(t,a){if(1&t&&(l.Gf(di,5),l.Gf(Pi,5),l.Gf(oi,5)),2&t){let d;l.iGM(d=l.CRH())&&(a.trigger=d.first),l.iGM(d=l.CRH())&&(a.panel=d.first),l.iGM(d=l.CRH())&&(a._overlayDir=d.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[l.qOj,l.TTD]}),c})(),Be=(()=>{class c extends Gi{constructor(){super(...arguments),this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._skipPredicate=t=>!this.panelOpen&&t.disabled}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,_t.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}open(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(t){const a=this.options.toArray()[t];if(a){const d=this.panel.nativeElement,f=(0,Ot.CB)(t,this.options,this.optionGroups),E=a._getHostElement();d.scrollTop=0===t&&1===f?0:(0,Ot.jH)(E.offsetTop,E.offsetHeight,d.scrollTop,d.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(t){return new ji(this,t)}_getOverlayWidth(t){return"auto"===this.panelWidth?(t instanceof ni?t.elementRef:t||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=(0,e.Ig)(t),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const t of this.options)t._changeDetectorRef.markForCheck()}}return c.\u0275fac=function(){let i;return function(a){return(i||(i=l.n5z(c)))(a||c)}}(),c.\u0275cmp=l.Xpm({type:c,selectors:[["mat-select"]],contentQueries:function(t,a,d){if(1&t&&(l.Suo(d,pi,5),l.Suo(d,Ot.ey,5),l.Suo(d,Ot.K7,5)),2&t){let f;l.iGM(f=l.CRH())&&(a.customTrigger=f.first),l.iGM(f=l.CRH())&&(a.options=f),l.iGM(f=l.CRH())&&(a.optionGroups=f)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox","ngSkipHydration","",1,"mat-mdc-select"],hostVars:19,hostBindings:function(t,a){1&t&&l.NdJ("keydown",function(f){return a._handleKeydown(f)})("focus",function(){return a._onFocus()})("blur",function(){return a._onBlur()}),2&t&&(l.uIk("id",a.id)("tabindex",a.tabIndex)("aria-controls",a.panelOpen?a.id+"-panel":null)("aria-expanded",a.panelOpen)("aria-label",a.ariaLabel||null)("aria-required",a.required.toString())("aria-disabled",a.disabled.toString())("aria-invalid",a.errorState)("aria-activedescendant",a._getAriaActiveDescendant()),l.ekj("mat-mdc-select-disabled",a.disabled)("mat-mdc-select-invalid",a.errorState)("mat-mdc-select-required",a.required)("mat-mdc-select-empty",a.empty)("mat-mdc-select-multiple",a.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",panelWidth:"panelWidth",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matSelect"],features:[l._Bn([{provide:$e.Eo,useExisting:c},{provide:Ot.HF,useExisting:c}]),l.qOj],ngContentSelectors:zi,decls:11,vars:10,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(t,a){if(1&t&&(l.F$t(Ni),l.TgZ(0,"div",0,1),l.NdJ("click",function(){return a.toggle()}),l.TgZ(3,"div",2),l.YNc(4,Ke,2,1,"span",3),l.YNc(5,Bi,3,2,"span",4),l.qZA(),l.TgZ(6,"div",5)(7,"div",6),l.O4$(),l.TgZ(8,"svg",7),l._UZ(9,"path",8),l.qZA()()()(),l.YNc(10,qe,3,9,"ng-template",9),l.NdJ("backdropClick",function(){return a.close()})("attach",function(){return a._onAttached()})("detach",function(){return a.close()})),2&t){const d=l.MAs(1);l.xp6(3),l.Q6J("ngSwitch",a.empty),l.uIk("id",a._valueId),l.xp6(1),l.Q6J("ngSwitchCase",!0),l.xp6(1),l.Q6J("ngSwitchCase",!1),l.xp6(5),l.Q6J("cdkConnectedOverlayPanelClass",a._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",a._scrollStrategy)("cdkConnectedOverlayOrigin",a._preferredOverlayOrigin||d)("cdkConnectedOverlayOpen",a.panelOpen)("cdkConnectedOverlayPositions",a._positions)("cdkConnectedOverlayWidth",a._overlayWidth)}},dependencies:[rt.mk,rt.RF,rt.n9,rt.ED,oi,ni],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface{max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px)}.mat-mdc-select{display:inline-block;width:100%;outline:none}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}.mdc-menu-surface.mat-mdc-select-panel{width:100%;max-height:275px;position:static;outline:0;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-select-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) .mdc-menu-surface.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above .mdc-menu-surface.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[ui.transformPanel]},changeDetection:0}),c})(),gi=(()=>{class c{}return c.\u0275fac=function(t){return new(t||c)},c.\u0275mod=l.oAB({type:c}),c.\u0275inj=l.cJS({providers:[Hi],imports:[rt.ez,ai,Ot.Ng,Ot.BQ,te,$e.lN,Ot.Ng,Ot.BQ]}),c})()}}]);