HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/vhost/disk-apps/pwa.sports-crowd.com/www/6766.a9b0d189a366a6e6.js
"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6766,5553,7934,315],{55553:(qt,G,d)=>{d.d(G,{h:()=>Q});var b=d(77897),v=d(56610),_=d(41683),V=d(13721),S=d(22882),K=d(37222),e=d(36594),B=d(2978);let Q=(()=>{class T{static#t=this.\u0275fac=function(q){return new(q||T)};static#e=this.\u0275mod=B.$C({type:T});static#i=this.\u0275inj=B.G2t({imports:[v.MD,b.bv,V.h,_.Y,S.h.forChild(),K.YN,e.rJ]})}return T})()},86766:(qt,G,d)=>{d.r(G),d.d(G,{TicketsPageModule:()=>Nn});var b=d(56610),v=d(37222),_=d(77897),V=d(36075),S=d(73308),K=d(56108),e=d(2978),B=d(22882);let Q=(()=>{class r{constructor(t,i){this.popoverCtrl=t,this.translateService=i,this.text=this.translateService.instant("tickets.scroll_propover")}close(){this.popoverCtrl.dismiss()}static#t=this.\u0275fac=function(i){return new(i||r)(e.rXU(_.IE),e.rXU(B.c$))};static#e=this.\u0275cmp=e.VBU({type:r,selectors:[["about-popover-ticket"]],decls:5,vars:1,consts:[["lines","none",3,"click"],["name","download-outline","slot","start"]],template:function(i,o){1&i&&(e.j41(0,"ion-list")(1,"ion-item",0),e.bIt("click",function(){return o.close()}),e.j41(2,"ion-label"),e.nrm(3,"ion-icon",1),e.EFF(4),e.k0s()()()),2&i&&(e.R7$(4),e.SpI(" ",o.text," "))},dependencies:[_.iq,_.uz,_.he,_.nf],encapsulation:2})}return r})();var T=d(47118),ft=d(27504),J=d(22126),q=d(57291),te=d(55467),ee=d(54171),ie=d(29885),ne=d(7125),oe=d(69942);class tt{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class re extends tt{constructor(n,t,i,o,a){super(),this.component=n,this.viewContainerRef=t,this.injector=i,this.componentFactoryResolver=o,this.projectableNodes=a}}class et extends tt{constructor(n,t,i,o){super(),this.templateRef=n,this.viewContainerRef=t,this.context=i,this.injector=o}get origin(){return this.templateRef.elementRef}attach(n,t=this.context){return this.context=t,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class ae extends tt{constructor(n){super(),this.element=n instanceof e.aKT?n.nativeElement:n}}class _t{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof re?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof et?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof ae?(this._attachedPortal=n,this.attachDomPortal(n)):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(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class se extends _t{constructor(n,t,i,o,a){super(),this.outletElement=n,this._componentFactoryResolver=t,this._appRef=i,this._defaultInjector=o,this.attachDomPortal=s=>{const c=s.element,l=this._document.createComment("dom-portal");c.parentNode.insertBefore(l,c),this.outletElement.appendChild(c),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(c,l)})},this._document=a}attachComponentPortal(n){const i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let o;return n.viewContainerRef?(o=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>o.destroy())):(o=i.create(n.injector||this._defaultInjector||e.zZn.NULL),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(o.hostView),o.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(o)),this._attachedPortal=n,o}attachTemplatePortal(n){let t=n.viewContainerRef,i=t.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(o=>this.outletElement.appendChild(o)),i.detectChanges(),this.setDisposeFn(()=>{let o=t.indexOf(i);-1!==o&&t.remove(o)}),this._attachedPortal=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let ce=(()=>{class r extends _t{constructor(t,i,o){super(),this._componentFactoryResolver=t,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new e.bkB,this.attachDomPortal=a=>{const s=a.element,c=this._document.createComment("dom-portal");a.setAttachedHost(this),s.parentNode.insertBefore(c,s),this._getRootNode().appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(s,c)})},this._document=o}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(t){t.setAttachedHost(this);const i=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,a=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),s=i.createComponent(a,i.length,t.injector||i.injector,t.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=t,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(t){t.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}static#t=this.\u0275fac=function(i){return new(i||r)(e.rXU(e.OM3),e.rXU(e.c1b),e.rXU(b.qQ))};static#e=this.\u0275dir=e.FsC({type:r,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[e.Vt3]})}return r})(),bt=(()=>{class r{static#t=this.\u0275fac=function(i){return new(i||r)};static#e=this.\u0275mod=e.$C({type:r});static#i=this.\u0275inj=e.G2t({})}return r})();var P=d(38977),D=d(3126),u=d(61432),x=d(76809),R=d(71857),w=d(16104),it=d(20756),L=d(20965),O=d(76340);function le(r,n){1&r&&e.SdG(0)}const de=["*"];let gt=(()=>{class r{constructor(t){this._elementRef=t}focus(){this._elementRef.nativeElement.focus()}static#t=this.\u0275fac=function(i){return new(i||r)(e.rXU(e.aKT))};static#e=this.\u0275dir=e.FsC({type:r,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]})}return r})(),vt=(()=>{class r{constructor(t){this.template=t}static#t=this.\u0275fac=function(i){return new(i||r)(e.rXU(e.C4Q))};static#e=this.\u0275dir=e.FsC({type:r,selectors:[["","cdkStepLabel",""]]})}return r})(),he=0;const xt=new e.nKC("STEPPER_GLOBAL_OPTIONS");let nt=(()=>{class r{get editable(){return this._editable}set editable(t){this._editable=(0,u.he)(t)}get optional(){return this._optional}set optional(t){this._optional=(0,u.he)(t)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(t){this._completedOverride=(0,u.he)(t)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(t){this._customError=(0,u.he)(t)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(t,i){this._stepper=t,this.interacted=!1,this.interactedStream=new e.bkB,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=i||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??null!=this._customError}static#t=this.\u0275fac=function(i){return new(i||r)(e.rXU((0,e.Rfq)(()=>ot)),e.rXU(xt,8))};static#e=this.\u0275cmp=e.VBU({type:r,selectors:[["cdk-step"]],contentQueries:function(i,o,a){if(1&i&&e.wni(a,vt,5),2&i){let s;e.mGM(s=e.lsd())&&(o.stepLabel=s.first)}},viewQuery:function(i,o){if(1&i&&e.GBs(e.C4Q,7),2&i){let a;e.mGM(a=e.lsd())&&(o.content=a.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:"editable",optional:"optional",completed:"completed",hasError:"hasError"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[e.OA$],ngContentSelectors:de,decls:1,vars:0,template:function(i,o){1&i&&(e.NAR(),e.DNE(0,le,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return r})(),ot=(()=>{class r{get linear(){return this._linear}set linear(t){this._linear=(0,u.he)(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){const i=(0,u.OE)(t);this.steps&&this._steps?(this._isValidIndex(i),this.selected?._markAsInteracted(),this._selectedIndex!==i&&!this._anyControlsInvalidOrPending(i)&&(i>=this._selectedIndex||this.steps.toArray()[i].editable)&&this._updateSelectedItemIndex(i)):this._selectedIndex=i}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(t){this.selectedIndex=t&&this.steps?this.steps.toArray().indexOf(t):-1}get orientation(){return this._orientation}set orientation(t){this._orientation=t,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===t)}constructor(t,i,o){this._dir=t,this._changeDetectorRef=i,this._elementRef=o,this._destroyed=new w.B,this.steps=new e.rOR,this._sortedHeaders=new e.rOR,this._linear=!1,this._selectedIndex=0,this.selectionChange=new e.bkB,this.selectedIndexChange=new e.bkB,this._orientation="horizontal",this._groupId=he++}ngAfterContentInit(){this._steps.changes.pipe((0,L.Z)(this._steps),(0,O.Q)(this._destroyed)).subscribe(t=>{this.steps.reset(t.filter(i=>i._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,L.Z)(this._stepHeader),(0,O.Q)(this._destroyed)).subscribe(t=>{this._sortedHeaders.reset(t.toArray().sort((i,o)=>i._elementRef.nativeElement.compareDocumentPosition(o._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new P.Bu(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,it.of)()).pipe((0,L.Z)(this._layoutDirection()),(0,O.Q)(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(t=>t.reset()),this._stateChanged()}_getStepLabelId(t){return`cdk-step-label-${this._groupId}-${t}`}_getStepContentId(t){return`cdk-step-content-${this._groupId}-${t}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(t){const i=t-this._selectedIndex;return i<0?"rtl"===this._layoutDirection()?"next":"previous":i>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(t,i="number"){const o=this.steps.toArray()[t],a=this._isCurrentStep(t);return o._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(o,a):this._getGuidelineLogic(o,a,i)}_getDefaultIndicatorLogic(t,i){return t._showError()&&t.hasError&&!i?"error":!t.completed||i?"number":t.editable?"edit":"done"}_getGuidelineLogic(t,i,o="number"){return t._showError()&&t.hasError&&!i?"error":t.completed&&!i?"done":t.completed&&i?o:t.editable&&i?"edit":o}_isCurrentStep(t){return this._selectedIndex===t}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(t){const i=this.steps.toArray();this.selectionChange.emit({selectedIndex:t,previouslySelectedIndex:this._selectedIndex,selectedStep:i[t],previouslySelectedStep:i[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(t):this._keyManager.updateActiveItem(t),this._selectedIndex=t,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown(t){const i=(0,x.rp)(t),o=t.keyCode,a=this._keyManager;null==a.activeItemIndex||i||o!==x.t6&&o!==x.Fm?a.setFocusOrigin("keyboard").onKeydown(t):(this.selectedIndex=a.activeItemIndex,t.preventDefault())}_anyControlsInvalidOrPending(t){return!!(this._linear&&t>=0)&&this.steps.toArray().slice(0,t).some(i=>{const o=i.stepControl;return(o?o.invalid||o.pending||!i.interacted:!i.completed)&&!i.optional&&!i._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const t=this._elementRef.nativeElement,i=(0,R.vc)();return t===i||t.contains(i)}_isValidIndex(t){return t>-1&&(!this.steps||t<this.steps.length)}static#t=this.\u0275fac=function(i){return new(i||r)(e.rXU(D.dS,8),e.rXU(e.gRc),e.rXU(e.aKT))};static#e=this.\u0275dir=e.FsC({type:r,selectors:[["","cdkStepper",""]],contentQueries:function(i,o,a){if(1&i&&(e.wni(a,nt,5),e.wni(a,gt,5)),2&i){let s;e.mGM(s=e.lsd())&&(o._steps=s),e.mGM(s=e.lsd())&&(o._stepHeader=s)}},inputs:{linear:"linear",selectedIndex:"selectedIndex",selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"]})}return r})(),pe=(()=>{class r{static#t=this.\u0275fac=function(i){return new(i||r)};static#e=this.\u0275mod=e.$C({type:r});static#i=this.\u0275inj=e.G2t({imports:[D.jI]})}return r})();var g=d(98278),rt=d(26182),F=d(42029),at=d(72831),st=d(93527),yt=d(73793),f=d(10194);function me(r,n){if(1&r&&e.eu8(0,8),2&r){const t=e.XpG();e.Y8G("ngTemplateOutlet",t.iconOverrides[t.state])("ngTemplateOutletContext",t._getIconContext())}}function ue(r,n){if(1&r&&(e.j41(0,"span",13),e.EFF(1),e.k0s()),2&r){const t=e.XpG(2);e.R7$(1),e.JRh(t._getDefaultTextForState(t.state))}}function fe(r,n){if(1&r&&(e.j41(0,"span",14),e.EFF(1),e.k0s()),2&r){const t=e.XpG(2);e.R7$(1),e.JRh(t._intl.completedLabel)}}function _e(r,n){if(1&r&&(e.j41(0,"span",14),e.EFF(1),e.k0s()),2&r){const t=e.XpG(2);e.R7$(1),e.JRh(t._intl.editableLabel)}}function be(r,n){if(1&r&&(e.j41(0,"mat-icon",13),e.EFF(1),e.k0s()),2&r){const t=e.XpG(2);e.R7$(1),e.JRh(t._getDefaultTextForState(t.state))}}function ge(r,n){if(1&r&&(e.qex(0,9),e.DNE(1,ue,2,1,"span",10),e.DNE(2,fe,2,1,"span",11),e.DNE(3,_e,2,1,"span",11),e.DNE(4,be,2,1,"mat-icon",12),e.bVm()),2&r){const t=e.XpG();e.Y8G("ngSwitch",t.state),e.R7$(1),e.Y8G("ngSwitchCase","number"),e.R7$(1),e.Y8G("ngIf","done"===t.state),e.R7$(1),e.Y8G("ngIf","edit"===t.state)}}function ve(r,n){if(1&r&&(e.j41(0,"div",15),e.eu8(1,16),e.k0s()),2&r){const t=e.XpG();e.R7$(1),e.Y8G("ngTemplateOutlet",t._templateLabel().template)}}function xe(r,n){if(1&r&&(e.j41(0,"div",15),e.EFF(1),e.k0s()),2&r){const t=e.XpG();e.R7$(1),e.JRh(t.label)}}function ye(r,n){if(1&r&&(e.j41(0,"div",17),e.EFF(1),e.k0s()),2&r){const t=e.XpG();e.R7$(1),e.JRh(t._intl.optionalLabel)}}function ke(r,n){if(1&r&&(e.j41(0,"div",18),e.EFF(1),e.k0s()),2&r){const t=e.XpG();e.R7$(1),e.JRh(t.errorMessage)}}function Se(r,n){}function Ce(r,n){if(1&r&&(e.SdG(0),e.DNE(1,Se,0,0,"ng-template",0)),2&r){const t=e.XpG();e.R7$(1),e.Y8G("cdkPortalOutlet",t._portal)}}const we=["*"];function Me(r,n){1&r&&e.nrm(0,"div",11)}const kt=function(r,n){return{step:r,i:n}};function Ee(r,n){if(1&r&&(e.qex(0),e.eu8(1,9),e.DNE(2,Me,1,0,"div",10),e.bVm()),2&r){const t=n.$implicit,i=n.index,o=n.last;e.XpG(2);const a=e.sdS(4);e.R7$(1),e.Y8G("ngTemplateOutlet",a)("ngTemplateOutletContext",e.l_i(3,kt,t,i)),e.R7$(1),e.Y8G("ngIf",!o)}}const St=function(r){return{animationDuration:r}},Ct=function(r,n){return{value:r,params:n}};function Re(r,n){if(1&r){const t=e.RV6();e.j41(0,"div",12),e.bIt("@horizontalStepTransition.done",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a._animationDone.next(o))}),e.eu8(1,13),e.k0s()}if(2&r){const t=n.$implicit,i=n.index,o=e.XpG(2);e.AVh("mat-horizontal-stepper-content-inactive",o.selectedIndex!==i),e.Y8G("@horizontalStepTransition",e.l_i(8,Ct,o._getAnimationDirection(i),e.eq3(6,St,o._getAnimationDuration())))("id",o._getStepContentId(i)),e.BMQ("aria-labelledby",o._getStepLabelId(i)),e.R7$(1),e.Y8G("ngTemplateOutlet",t.content)}}function Oe(r,n){if(1&r&&(e.j41(0,"div",4)(1,"div",5),e.DNE(2,Ee,3,6,"ng-container",6),e.k0s(),e.j41(3,"div",7),e.DNE(4,Re,2,11,"div",8),e.k0s()()),2&r){const t=e.XpG();e.R7$(2),e.Y8G("ngForOf",t.steps),e.R7$(2),e.Y8G("ngForOf",t.steps)}}function De(r,n){if(1&r){const t=e.RV6();e.j41(0,"div",15),e.eu8(1,9),e.j41(2,"div",16)(3,"div",17),e.bIt("@verticalStepTransition.done",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a._animationDone.next(o))}),e.j41(4,"div",18),e.eu8(5,13),e.k0s()()()()}if(2&r){const t=n.$implicit,i=n.index,o=n.last,a=e.XpG(2),s=e.sdS(4);e.R7$(1),e.Y8G("ngTemplateOutlet",s)("ngTemplateOutletContext",e.l_i(10,kt,t,i)),e.R7$(1),e.AVh("mat-stepper-vertical-line",!o),e.R7$(1),e.AVh("mat-vertical-stepper-content-inactive",a.selectedIndex!==i),e.Y8G("@verticalStepTransition",e.l_i(15,Ct,a._getAnimationDirection(i),e.eq3(13,St,a._getAnimationDuration())))("id",a._getStepContentId(i)),e.BMQ("aria-labelledby",a._getStepLabelId(i)),e.R7$(2),e.Y8G("ngTemplateOutlet",t.content)}}function Ie(r,n){if(1&r&&(e.qex(0),e.DNE(1,De,6,18,"div",14),e.bVm()),2&r){const t=e.XpG();e.R7$(1),e.Y8G("ngForOf",t.steps)}}function Te(r,n){if(1&r){const t=e.RV6();e.j41(0,"mat-step-header",19),e.bIt("click",function(){const a=e.eBV(t).step;return e.Njj(a.select())})("keydown",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a._onKeydown(o))}),e.k0s()}if(2&r){const t=n.step,i=n.i,o=e.XpG();e.AVh("mat-horizontal-stepper-header","horizontal"===o.orientation)("mat-vertical-stepper-header","vertical"===o.orientation),e.Y8G("tabIndex",o._getFocusIndex()===i?0:-1)("id",o._getStepLabelId(i))("index",i)("state",o._getIndicatorType(i,t.state))("label",t.stepLabel||t.label)("selected",o.selectedIndex===i)("active",o._stepIsNavigable(i,t))("optional",t.optional)("errorMessage",t.errorMessage)("iconOverrides",o._iconOverrides)("disableRipple",o.disableRipple||!o._stepIsNavigable(i,t))("color",t.color||o.color),e.BMQ("aria-posinset",i+1)("aria-setsize",o.steps.length)("aria-controls",o._getStepContentId(i))("aria-selected",o.selectedIndex==i)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null)("aria-disabled",!o._stepIsNavigable(i,t)||null)}}let X=(()=>{class r extends vt{static#t=this.\u0275fac=function(){let t;return function(o){return(t||(t=e.xGo(r)))(o||r)}}();static#e=this.\u0275dir=e.FsC({type:r,selectors:[["","matStepLabel",""]],features:[e.Vt3]})}return r})(),Y=(()=>{class r{constructor(){this.changes=new w.B,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}static#t=this.\u0275fac=function(i){return new(i||r)};static#e=this.\u0275prov=e.jDH({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const Fe={provide:Y,deps:[[new e.Xx1,new e.kdw,Y]],useFactory:function Pe(r){return r||new Y}},Ae=(0,g.Zc)(class extends gt{constructor(n){super(n)}},"primary");let wt=(()=>{class r extends Ae{constructor(t,i,o,a){super(o),this._intl=t,this._focusMonitor=i,this._intlSubscription=t.changes.subscribe(()=>a.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,i){t?this._focusMonitor.focusVia(this._elementRef,t,i):this._elementRef.nativeElement.focus(i)}_stringLabel(){return this.label instanceof X?null:this.label}_templateLabel(){return this.label instanceof X?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(t){return"number"==t?`${this.index+1}`:"edit"==t?"create":"error"==t?"warning":t}static#t=this.\u0275fac=function(i){return new(i||r)(e.rXU(Y),e.rXU(P.FN),e.rXU(e.aKT),e.rXU(e.gRc))};static#e=this.\u0275cmp=e.VBU({type:r,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[e.Vt3],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],["aria-hidden","true",4,"ngSwitchCase"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true",4,"ngSwitchDefault"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(i,o){1&i&&(e.nrm(0,"div",0),e.j41(1,"div")(2,"div",1),e.DNE(3,me,1,2,"ng-container",2),e.DNE(4,ge,5,4,"ng-container",3),e.k0s()(),e.j41(5,"div",4),e.DNE(6,ve,2,1,"div",5),e.DNE(7,xe,2,1,"div",5),e.DNE(8,ye,2,1,"div",6),e.DNE(9,ke,2,1,"div",7),e.k0s()),2&i&&(e.Y8G("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disableRipple),e.R7$(1),e.ZvI("mat-step-icon-state-",o.state," mat-step-icon"),e.AVh("mat-step-icon-selected",o.selected),e.R7$(1),e.Y8G("ngSwitch",!(!o.iconOverrides||!o.iconOverrides[o.state])),e.R7$(1),e.Y8G("ngSwitchCase",!0),e.R7$(2),e.AVh("mat-step-label-active",o.active)("mat-step-label-selected",o.selected)("mat-step-label-error","error"==o.state),e.R7$(1),e.Y8G("ngIf",o._templateLabel()),e.R7$(1),e.Y8G("ngIf",o._stringLabel()),e.R7$(1),e.Y8G("ngIf",o.optional&&"error"!=o.state),e.R7$(1),e.Y8G("ngIf","error"==o.state))},dependencies:[b.bT,b.T3,b.ux,b.e1,b.fG,rt.An,g.r6],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color)}@media(hover: none){.mat-step-header:hover{background:none}}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color)}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color);background-color:var(--mat-stepper-header-icon-background-color)}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color);color:var(--mat-stepper-header-error-state-icon-foreground-color)}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font);font-size:var(--mat-stepper-header-label-text-size);font-weight:var(--mat-stepper-header-label-text-weight);color:var(--mat-stepper-header-label-text-color)}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color)}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color);font-size:var(--mat-stepper-header-error-state-label-text-size)}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size);font-weight:var(--mat-stepper-header-selected-state-label-text-weight)}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color);color:var(--mat-stepper-header-selected-state-icon-foreground-color)}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color);color:var(--mat-stepper-header-edit-state-icon-foreground-color)}'],encapsulation:2,changeDetection:0})}return r})();const Rt={horizontalStepTransition:(0,f.hZ)("horizontalStepTransition",[(0,f.wk)("previous",(0,f.iF)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,f.wk)("current",(0,f.iF)({transform:"none",visibility:"inherit"})),(0,f.wk)("next",(0,f.iF)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,f.kY)("* => *",(0,f.Os)([(0,f.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),(0,f.P)("@*",(0,f.MA)(),{optional:!0})]),{params:{animationDuration:"500ms"}})]),verticalStepTransition:(0,f.hZ)("verticalStepTransition",[(0,f.wk)("previous",(0,f.iF)({height:"0px",visibility:"hidden"})),(0,f.wk)("next",(0,f.iF)({height:"0px",visibility:"hidden"})),(0,f.wk)("current",(0,f.iF)({height:"*",visibility:"inherit"})),(0,f.kY)("* <=> current",(0,f.Os)([(0,f.i0)("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),(0,f.P)("@*",(0,f.MA)(),{optional:!0})]),{params:{animationDuration:"225ms"}})])};let Be=(()=>{class r{constructor(t){this.templateRef=t}static#t=this.\u0275fac=function(i){return new(i||r)(e.rXU(e.C4Q))};static#e=this.\u0275dir=e.FsC({type:r,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}})}return r})(),ze=(()=>{class r{constructor(t){this._template=t}static#t=this.\u0275fac=function(i){return new(i||r)(e.rXU(e.C4Q))};static#e=this.\u0275dir=e.FsC({type:r,selectors:[["ng-template","matStepContent",""]]})}return r})(),Ot=(()=>{class r extends nt{constructor(t,i,o,a){super(t,a),this._errorStateMatcher=i,this._viewContainerRef=o,this._isSelected=F.yU.EMPTY,this.stepLabel=void 0}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,at.n)(()=>this._stepper.selectionChange.pipe((0,st.T)(t=>t.selectedStep===this),(0,L.Z)(this._stepper.selected===this)))).subscribe(t=>{t&&this._lazyContent&&!this._portal&&(this._portal=new et(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(t,i){return this._errorStateMatcher.isErrorState(t,i)||!!(t&&t.invalid&&this.interacted)}static#t=this.\u0275fac=function(i){return new(i||r)(e.rXU((0,e.Rfq)(()=>Dt)),e.rXU(g.es,4),e.rXU(e.c1b),e.rXU(xt,8))};static#e=this.\u0275cmp=e.VBU({type:r,selectors:[["mat-step"]],contentQueries:function(i,o,a){if(1&i&&(e.wni(a,X,5),e.wni(a,ze,5)),2&i){let s;e.mGM(s=e.lsd())&&(o.stepLabel=s.first),e.mGM(s=e.lsd())&&(o._lazyContent=s.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[e.Jv_([{provide:g.es,useExisting:r},{provide:nt,useExisting:r}]),e.Vt3],ngContentSelectors:we,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(i,o){1&i&&(e.NAR(),e.DNE(0,Ce,2,1,"ng-template"))},dependencies:[ce],encapsulation:2,changeDetection:0})}return r})(),Dt=(()=>{class r extends ot{get animationDuration(){return this._animationDuration}set animationDuration(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t}constructor(t,i,o){super(t,i,o),this._stepHeader=void 0,this._steps=void 0,this.steps=new e.rOR,this.animationDone=new e.bkB,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new w.B,this._animationDuration="";const a=o.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===a?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:t,templateRef:i})=>this._iconOverrides[t]=i),this.steps.changes.pipe((0,O.Q)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,yt.F)((t,i)=>t.fromState===i.fromState&&t.toState===i.toState),(0,O.Q)(this._destroyed)).subscribe(t=>{"current"===t.toState&&this.animationDone.emit()})}_stepIsNavigable(t,i){return i.completed||this.selectedIndex===t||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}static#t=this.\u0275fac=function(i){return new(i||r)(e.rXU(D.dS,8),e.rXU(e.gRc),e.rXU(e.aKT))};static#e=this.\u0275cmp=e.VBU({type:r,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(i,o,a){if(1&i&&(e.wni(a,Ot,5),e.wni(a,Be,5)),2&i){let s;e.mGM(s=e.lsd())&&(o._steps=s),e.mGM(s=e.lsd())&&(o._icons=s)}},viewQuery:function(i,o){if(1&i&&e.GBs(wt,5),2&i){let a;e.mGM(a=e.lsd())&&(o._stepHeader=a)}},hostAttrs:["role","tablist","ngSkipHydration",""],hostVars:11,hostBindings:function(i,o){2&i&&(e.BMQ("aria-orientation",o.orientation),e.AVh("mat-stepper-horizontal","horizontal"===o.orientation)("mat-stepper-vertical","vertical"===o.orientation)("mat-stepper-label-position-end","horizontal"===o.orientation&&"end"==o.labelPosition)("mat-stepper-label-position-bottom","horizontal"===o.orientation&&"bottom"==o.labelPosition)("mat-stepper-header-position-bottom","bottom"===o.headerPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[e.Jv_([{provide:ot,useExisting:r}]),e.Vt3],decls:5,vars:3,consts:[[3,"ngSwitch"],["class","mat-horizontal-stepper-wrapper",4,"ngSwitchCase"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id","mat-horizontal-stepper-content-inactive",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(i,o){1&i&&(e.qex(0,0),e.DNE(1,Oe,5,2,"div",1),e.DNE(2,Ie,2,1,"ng-container",2),e.bVm(),e.DNE(3,Te,1,23,"ng-template",null,3,e.C5r)),2&i&&(e.Y8G("ngSwitch",o.orientation),e.R7$(1),e.Y8G("ngSwitchCase","horizontal"),e.R7$(1),e.Y8G("ngSwitchCase","vertical"))},dependencies:[b.Sq,b.bT,b.T3,b.ux,b.e1,wt],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font);background:var(--mat-stepper-container-color)}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color);top:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[Rt.horizontalStepTransition,Rt.verticalStepTransition]},changeDetection:0})}return r})(),Ve=(()=>{class r{static#t=this.\u0275fac=function(i){return new(i||r)};static#e=this.\u0275mod=e.$C({type:r});static#i=this.\u0275inj=e.G2t({providers:[Fe,g.es],imports:[g.yE,b.MD,bt,pe,rt.m_,g.pZ,g.yE]})}return r})();var A=d(16375);const Le=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],je=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Ne=["mat-mini-fab",""],Xe=[{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"]}],Ye=(0,g.Zc)((0,g.Ob)((0,g.GG)(class{constructor(r){this._elementRef=r}})));let He=(()=>{class r extends Ye{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(t){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,t)}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=(0,u.he)(t),this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,u.he)(t),this._updateRippleDisabled()}constructor(t,i,o,a){super(t),this._platform=i,this._ngZone=o,this._animationMode=a,this._focusMonitor=(0,e.WQX)(P.FN),this._rippleLoader=(0,e.WQX)(g.Ej),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const s=t.nativeElement.classList;for(const c of Xe)this._hasHostAttributes(c.selector)&&c.mdcClasses.forEach(l=>{s.add(l)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(t="program",i){t?this._focusMonitor.focusVia(this._elementRef.nativeElement,t,i):this._elementRef.nativeElement.focus(i)}_hasHostAttributes(...t){return t.some(i=>this._elementRef.nativeElement.hasAttribute(i))}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#t=this.\u0275fac=function(i){e.QTQ()};static#e=this.\u0275dir=e.FsC({type:r,features:[e.Vt3]})}return r})();const $e=new e.nKC("mat-mdc-fab-default-options",{providedIn:"root",factory:It});function It(){return{color:"accent"}}const Tt=It();let We=(()=>{class r extends He{constructor(t,i,o,a,s){super(t,i,o,a),this._options=s,this._isFab=!0,this._options=this._options||Tt,this.color=this.defaultColor=this._options.color||Tt.color}static#t=this.\u0275fac=function(i){return new(i||r)(e.rXU(e.aKT),e.rXU(R.OD),e.rXU(e.SKi),e.rXU(e.bc$,8),e.rXU($e,8))};static#e=this.\u0275cmp=e.VBU({type:r,selectors:[["button","mat-mini-fab",""]],hostVars:7,hostBindings:function(i,o){2&i&&(e.BMQ("disabled",o.disabled||null),e.AVh("_mat-animation-noopable","NoopAnimations"===o._animationMode)("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[e.Vt3],attrs:Ne,ngContentSelectors:je,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(i,o){1&i&&(e.NAR(Le),e.nrm(0,"span",0),e.SdG(1),e.j41(2,"span",1),e.SdG(3,1),e.k0s(),e.SdG(4,2),e.nrm(5,"span",2)(6,"span",3)),2&i&&e.AVh("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._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);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab:hover{box-shadow: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)}.mdc-fab.mdc-ripple-upgraded--background-focused,.mdc-fab:not(.mdc-ripple-upgraded):focus{box-shadow: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)}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__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    )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__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-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family);font-size:var(--mdc-typography-button-font-size);line-height:var(--mdc-typography-button-line-height);font-weight:var(--mdc-typography-button-font-weight);letter-spacing:var(--mdc-typography-button-letter-spacing);text-decoration:var(--mdc-typography-button-text-decoration);text-transform:var(--mdc-typography-button-text-transform);border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab,.mat-mdc-mini-fab{background-color:var(--mdc-fab-container-color);--mdc-fab-container-shape:50%;--mdc-fab-icon-size:24px}.mat-mdc-fab .mdc-fab__icon,.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-extended-fab{font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow: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-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow: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-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0})}return r})(),Ze=(()=>{class r{static#t=this.\u0275fac=function(i){return new(i||r)};static#e=this.\u0275mod=e.$C({type:r});static#i=this.\u0275inj=e.G2t({imports:[g.yE,g.pZ,g.yE]})}return r})();var Ke=d(99406),Qe=d(98129),Pt=d(61227);const j={schedule(r){let n=requestAnimationFrame,t=cancelAnimationFrame;const{delegate:i}=j;i&&(n=i.requestAnimationFrame,t=i.cancelAnimationFrame);const o=n(a=>{t=void 0,r(a)});return new F.yU(()=>t?.(o))},requestAnimationFrame(...r){const{delegate:n}=j;return(n?.requestAnimationFrame||requestAnimationFrame)(...r)},cancelAnimationFrame(...r){const{delegate:n}=j;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...r)},delegate:void 0};var Ft=d(31246);new class qe extends Ft.q{flush(n){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;n=n||i.shift();do{if(o=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw o}}}(class Je extends Pt.R{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,i=0){return null!==i&&i>0?super.requestAsyncId(n,t,i):(n.actions.push(this),n._scheduled||(n._scheduled=j.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,t,i=0){var o;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);const{actions:a}=n;null!=t&&(null===(o=a[a.length-1])||void 0===o?void 0:o.id)!==t&&(j.cancelAnimationFrame(t),n._scheduled=void 0)}});let ct,ei=1;const H={};function At(r){return r in H&&(delete H[r],!0)}const ii={setImmediate(r){const n=ei++;return H[n]=!0,ct||(ct=Promise.resolve()),ct.then(()=>At(n)&&r()),n},clearImmediate(r){At(r)}},{setImmediate:ni,clearImmediate:oi}=ii,U={setImmediate(...r){const{delegate:n}=U;return(n?.setImmediate||ni)(...r)},clearImmediate(r){const{delegate:n}=U;return(n?.clearImmediate||oi)(r)},delegate:void 0};new class ai extends Ft.q{flush(n){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;n=n||i.shift();do{if(o=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw o}}}(class ri extends Pt.R{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,i=0){return null!==i&&i>0?super.requestAsyncId(n,t,i):(n.actions.push(this),n._scheduled||(n._scheduled=U.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,t,i=0){var o;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);const{actions:a}=n;null!=t&&(null===(o=a[a.length-1])||void 0===o?void 0:o.id)!==t&&(U.clearImmediate(t),n._scheduled===t&&(n._scheduled=void 0))}});var ci=d(14929),Bt=d(9867),li=d(18621),lt=d(96111),hi=d(53229);function zt(r,n=ci.E){return function di(r){return(0,Bt.N)((n,t)=>{let i=!1,o=null,a=null,s=!1;const c=()=>{if(a?.unsubscribe(),a=null,i){i=!1;const h=o;o=null,t.next(h)}s&&t.complete()},l=()=>{a=null,s&&t.complete()};n.subscribe((0,lt._)(t,h=>{i=!0,o=h,a||(0,li.Tg)(r(h)).subscribe(a=(0,lt._)(t,c,l))},()=>{s=!0,(!i||!a||a.closed)&&t.complete()}))})}(()=>(0,hi.O)(r,n))}var $=d(38503);let mi=(()=>{class r{constructor(t,i,o){this._ngZone=t,this._platform=i,this._scrolled=new w.B,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const i=this.scrollContainers.get(t);i&&(i.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new Ke.c(i=>{this._globalSubscription||this._addGlobalListener();const o=t>0?this._scrolled.pipe(zt(t)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,it.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(t,i){const o=this.getAncestorScrollContainers(t);return this.scrolled(i).pipe((0,$.p)(a=>!a||o.indexOf(a)>-1))}getAncestorScrollContainers(t){const i=[];return this.scrollContainers.forEach((o,a)=>{this._scrollableContainsElement(a,t)&&i.push(a)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,i){let o=(0,u.i8)(i),a=t.getElementRef().nativeElement;do{if(o==a)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const t=this._getWindow();return(0,Qe.R)(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#t=this.\u0275fac=function(i){return new(i||r)(e.KVO(e.SKi),e.KVO(R.OD),e.KVO(b.qQ,8))};static#e=this.\u0275prov=e.jDH({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),dt=(()=>{class r{constructor(t,i,o){this._platform=t,this._change=new w.B,this._changeListener=a=>{this._change.next(a)},this._document=o,i.runOutsideAngular(()=>{if(t.isBrowser){const a=this._getWindow();a.addEventListener("resize",this._changeListener),a.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:i,height:o}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+o,right:t.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,i=this._getWindow(),o=t.documentElement,a=o.getBoundingClientRect();return{top:-a.top||t.body.scrollTop||i.scrollY||o.scrollTop||0,left:-a.left||t.body.scrollLeft||i.scrollX||o.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(zt(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}}static#t=this.\u0275fac=function(i){return new(i||r)(e.KVO(R.OD),e.KVO(e.SKi),e.KVO(b.qQ,8))};static#e=this.\u0275prov=e.jDH({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),ht=(()=>{class r{static#t=this.\u0275fac=function(i){return new(i||r)};static#e=this.\u0275mod=e.$C({type:r});static#i=this.\u0275inj=e.G2t({})}return r})(),Vt=(()=>{class r{static#t=this.\u0275fac=function(i){return new(i||r)};static#e=this.\u0275mod=e.$C({type:r});static#i=this.\u0275inj=e.G2t({imports:[D.jI,ht,D.jI,ht]})}return r})();var pt=d(38486),W=d(52489);const Lt=(0,R.CZ)();class _i{constructor(n,t){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=(0,u.a1)(-this._previousScrollPosition.left),n.style.top=(0,u.a1)(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,o=this._document.body.style,a=i.scrollBehavior||"",s=o.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),Lt&&(i.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Lt&&(i.scrollBehavior=a,o.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,i=this._viewportRuler.getViewportSize();return t.scrollHeight>i.height||t.scrollWidth>i.width}}class bi{constructor(n,t,i,o){this._scrollDispatcher=n,this._ngZone=t,this._viewportRuler=i,this._config=o,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0).pipe((0,$.p)(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=n.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class jt{enable(){}disable(){}attach(){}}function mt(r,n){return n.some(t=>r.bottom<t.top||r.top>t.bottom||r.right<t.left||r.left>t.right)}function Nt(r,n){return n.some(t=>r.top<t.top||r.bottom>t.bottom||r.left<t.left||r.right>t.right)}class gi{constructor(n,t,i,o){this._scrollDispatcher=n,this._viewportRuler=t,this._ngZone=i,this._config=o,this._scrollSubscription=null}attach(n){this._overlayRef=n}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:i,height:o}=this._viewportRuler.getViewportSize();mt(t,[{width:i,height:o,bottom:o,right:i,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 vi=(()=>{class r{constructor(t,i,o,a){this._scrollDispatcher=t,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new jt,this.close=s=>new bi(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new _i(this._viewportRuler,this._document),this.reposition=s=>new gi(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=a}static#t=this.\u0275fac=function(i){return new(i||r)(e.KVO(mi),e.KVO(dt),e.KVO(e.SKi),e.KVO(b.qQ))};static#e=this.\u0275prov=e.jDH({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();class Gt{constructor(n){if(this.scrollStrategy=new jt,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const t=Object.keys(n);for(const i of t)void 0!==n[i]&&(this[i]=n[i])}}}class xi{constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}}let Xt=(()=>{class r{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const i=this._attachedOverlays.indexOf(t);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}static#t=this.\u0275fac=function(i){return new(i||r)(e.KVO(b.qQ))};static#e=this.\u0275prov=e.jDH({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),yi=(()=>{class r extends Xt{constructor(t,i){super(t),this._ngZone=i,this._keydownListener=o=>{const a=this._attachedOverlays;for(let s=a.length-1;s>-1;s--)if(a[s]._keydownEvents.observers.length>0){const c=a[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>c.next(o)):c.next(o);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)}static#t=this.\u0275fac=function(i){return new(i||r)(e.KVO(b.qQ),e.KVO(e.SKi,8))};static#e=this.\u0275prov=e.jDH({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),ki=(()=>{class r extends Xt{constructor(t,i,o){super(t),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=a=>{this._pointerDownEventTarget=(0,R.Fb)(a)},this._clickListener=a=>{const s=(0,R.Fb)(a),c="click"===a.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let h=l.length-1;h>-1;h--){const p=l[h];if(p._outsidePointerEvents.observers.length<1||!p.hasAttached())continue;if(p.overlayElement.contains(s)||p.overlayElement.contains(c))break;const m=p._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>m.next(a)):m.next(a)}}}add(t){if(super.add(t),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.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)}static#t=this.\u0275fac=function(i){return new(i||r)(e.KVO(b.qQ),e.KVO(R.OD),e.KVO(e.SKi,8))};static#e=this.\u0275prov=e.jDH({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Yt=(()=>{class r{constructor(t,i){this._platform=i,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,R.v8)()){const o=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let a=0;a<o.length;a++)o[a].remove()}const i=this._document.createElement("div");i.classList.add(t),(0,R.v8)()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}static#t=this.\u0275fac=function(i){return new(i||r)(e.KVO(b.qQ),e.KVO(R.OD))};static#e=this.\u0275prov=e.jDH({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();class Si{constructor(n,t,i,o,a,s,c,l,h,p=!1){this._portalOutlet=n,this._host=t,this._pane=i,this._config=o,this._ngZone=a,this._keyboardDispatcher=s,this._document=c,this._location=l,this._outsideClickDispatcher=h,this._animationsDisabled=p,this._backdropElement=null,this._backdropClick=new w.B,this._attachments=new w.B,this._detachments=new w.B,this._locationChanges=F.yU.EMPTY,this._backdropClickHandler=m=>this._backdropClick.next(m),this._backdropTransitionendHandler=m=>{this._disposeBackdrop(m.target)},this._keydownEvents=new w.B,this._outsidePointerEvents=new w.B,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const t=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,pt.s)(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 n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=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,n&&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(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=(0,u.a1)(this._config.width),n.height=(0,u.a1)(this._config.height),n.minWidth=(0,u.a1)(this._config.minWidth),n.minHeight=(0,u.a1)(this._config.minHeight),n.maxWidth=(0,u.a1)(this._config.maxWidth),n.maxHeight=(0,u.a1)(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="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(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,t,i){const o=(0,u.FG)(t||[]).filter(a=>!!a);o.length&&(i?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe((0,O.Q)((0,W.h)(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()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const Ht="cdk-overlay-connected-position-bounding-box",Ci=/([A-Za-z%]+)$/;class wi{get positions(){return this._preferredPositions}constructor(n,t,i,o,a){this._viewportRuler=t,this._document=i,this._platform=o,this._overlayContainer=a,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 w.B,this._resizeSubscription=F.yU.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(Ht),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.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 n=this._originRect,t=this._overlayRect,i=this._viewportRect,o=this._containerRect,a=[];let s;for(let c of this._preferredPositions){let l=this._getOriginPoint(n,o,c),h=this._getOverlayPoint(l,t,c),p=this._getOverlayFit(h,t,i,c);if(p.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(c,l);this._canFitWithFlexibleDimensions(p,h,i)?a.push({position:c,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,c)}):(!s||s.overlayFit.visibleArea<p.visibleArea)&&(s={overlayFit:p,overlayPoint:h,originPoint:l,position:c,overlayRect:t})}if(a.length){let c=null,l=-1;for(const h of a){const p=h.boundingBoxRect.width*h.boundingBoxRect.height*(h.position.weight||1);p>l&&(l=p,c=h)}return this._isPushed=!1,void this._applyPosition(c.position,c.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&z(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Ht),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){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,n);this._applyPosition(n,t)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,t,i){let o,a;if("center"==i.originX)o=n.left+n.width/2;else{const s=this._isRtl()?n.right:n.left,c=this._isRtl()?n.left:n.right;o="start"==i.originX?s:c}return t.left<0&&(o-=t.left),a="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,t.top<0&&(a-=t.top),{x:o,y:a}}_getOverlayPoint(n,t,i){let o,a;return o="center"==i.overlayX?-t.width/2:"start"===i.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,a="center"==i.overlayY?-t.height/2:"top"==i.overlayY?0:-t.height,{x:n.x+o,y:n.y+a}}_getOverlayFit(n,t,i,o){const a=$t(t);let{x:s,y:c}=n,l=this._getOffset(o,"x"),h=this._getOffset(o,"y");l&&(s+=l),h&&(c+=h);let E=0-c,y=c+a.height-i.height,k=this._subtractOverflows(a.width,0-s,s+a.width-i.width),C=this._subtractOverflows(a.height,E,y),M=k*C;return{visibleArea:M,isCompletelyWithinViewport:a.width*a.height===M,fitsInViewportVertically:C===a.height,fitsInViewportHorizontally:k==a.width}}_canFitWithFlexibleDimensions(n,t,i){if(this._hasFlexibleDimensions){const o=i.bottom-t.y,a=i.right-t.x,s=Ut(this._overlayRef.getConfig().minHeight),c=Ut(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=s&&s<=o)&&(n.fitsInViewportHorizontally||null!=c&&c<=a)}return!1}_pushOverlayOnScreen(n,t,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const o=$t(t),a=this._viewportRect,s=Math.max(n.x+o.width-a.width,0),c=Math.max(n.y+o.height-a.height,0),l=Math.max(a.top-i.top-n.y,0),h=Math.max(a.left-i.left-n.x,0);let p=0,m=0;return p=o.width<=a.width?h||-s:n.x<this._viewportMargin?a.left-i.left-n.x:0,m=o.height<=a.height?l||-c:n.y<this._viewportMargin?a.top-i.top-n.y:0,this._previousPushAmount={x:p,y:m},{x:n.x+p,y:n.y+m}}_applyPosition(n,t){if(this._setTransformOrigin(n),this._setOverlayElementStyles(t,n),this._setBoundingBoxStyles(t,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._lastPosition=n,this._positionChanges.observers.length){const i=this._getScrollVisibility(),o=new xi(n,i);this._positionChanges.next(o)}this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;const t=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,o=n.overlayY;i="center"===n.overlayX?"center":this._isRtl()?"start"===n.overlayX?"right":"left":"start"===n.overlayX?"left":"right";for(let a=0;a<t.length;a++)t[a].style.transformOrigin=`${i} ${o}`}_calculateBoundingBoxRect(n,t){const i=this._viewportRect,o=this._isRtl();let a,s,c,p,m,E;if("top"===t.overlayY)s=n.y,a=i.height-s+this._viewportMargin;else if("bottom"===t.overlayY)c=i.height-n.y+2*this._viewportMargin,a=i.height-c+this._viewportMargin;else{const y=Math.min(i.bottom-n.y+i.top,n.y),k=this._lastBoundingBoxSize.height;a=2*y,s=n.y-y,a>k&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-k/2)}if("end"===t.overlayX&&!o||"start"===t.overlayX&&o)E=i.width-n.x+this._viewportMargin,p=n.x-this._viewportMargin;else if("start"===t.overlayX&&!o||"end"===t.overlayX&&o)m=n.x,p=i.right-n.x;else{const y=Math.min(i.right-n.x+i.left,n.x),k=this._lastBoundingBoxSize.width;p=2*y,m=n.x-y,p>k&&!this._isInitialRender&&!this._growAfterOpen&&(m=n.x-k/2)}return{top:s,left:m,bottom:c,right:E,width:p,height:a}}_setBoundingBoxStyles(n,t){const i=this._calculateBoundingBoxRect(n,t);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{const a=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.height=(0,u.a1)(i.height),o.top=(0,u.a1)(i.top),o.bottom=(0,u.a1)(i.bottom),o.width=(0,u.a1)(i.width),o.left=(0,u.a1)(i.left),o.right=(0,u.a1)(i.right),o.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",o.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",a&&(o.maxHeight=(0,u.a1)(a)),s&&(o.maxWidth=(0,u.a1)(s))}this._lastBoundingBoxSize=i,z(this._boundingBox.style,o)}_resetBoundingBoxStyles(){z(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){z(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,t){const i={},o=this._hasExactPosition(),a=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){const p=this._viewportRuler.getViewportScrollPosition();z(i,this._getExactOverlayY(t,n,p)),z(i,this._getExactOverlayX(t,n,p))}else i.position="static";let c="",l=this._getOffset(t,"x"),h=this._getOffset(t,"y");l&&(c+=`translateX(${l}px) `),h&&(c+=`translateY(${h}px)`),i.transform=c.trim(),s.maxHeight&&(o?i.maxHeight=(0,u.a1)(s.maxHeight):a&&(i.maxHeight="")),s.maxWidth&&(o?i.maxWidth=(0,u.a1)(s.maxWidth):a&&(i.maxWidth="")),z(this._pane.style,i)}_getExactOverlayY(n,t,i){let o={top:"",bottom:""},a=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,i)),"bottom"===n.overlayY?o.bottom=this._document.documentElement.clientHeight-(a.y+this._overlayRect.height)+"px":o.top=(0,u.a1)(a.y),o}_getExactOverlayX(n,t,i){let s,o={left:"",right:""},a=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,i)),s=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===s?o.right=this._document.documentElement.clientWidth-(a.x+this._overlayRect.width)+"px":o.left=(0,u.a1)(a.x),o}_getScrollVisibility(){const n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Nt(n,i),isOriginOutsideView:mt(n,i),isOverlayClipped:Nt(t,i),isOverlayOutsideView:mt(t,i)}}_subtractOverflows(n,...t){return t.reduce((i,o)=>i-Math.max(o,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+t-this._viewportMargin,width:n-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,t){return"x"===t?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&(0,u.FG)(n).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof e.aKT)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const t=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+t,height:i,width:t}}}function z(r,n){for(let t in n)n.hasOwnProperty(t)&&(r[t]=n[t]);return r}function Ut(r){if("number"!=typeof r&&null!=r){const[n,t]=r.split(Ci);return t&&"px"!==t?null:parseFloat(n)}return r||null}function $t(r){return{top:Math.floor(r.top),right:Math.floor(r.right),bottom:Math.floor(r.bottom),left:Math.floor(r.left),width:Math.floor(r.width),height:Math.floor(r.height)}}const Wt="cdk-global-overlay-wrapper";class Mi{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){const t=n.getConfig();this._overlayRef=n,this._width&&!t.width&&n.updateSize({width:this._width}),this._height&&!t.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(Wt),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:o,height:a,maxWidth:s,maxHeight:c}=i,l=!("100%"!==o&&"100vw"!==o||s&&"100%"!==s&&"100vw"!==s),h=!("100%"!==a&&"100vh"!==a||c&&"100%"!==c&&"100vh"!==c),p=this._xPosition,m=this._xOffset,E="rtl"===this._overlayRef.getConfig().direction;let y="",k="",C="";l?C="flex-start":"center"===p?(C="center",E?k=m:y=m):E?"left"===p||"end"===p?(C="flex-end",y=m):("right"===p||"start"===p)&&(C="flex-start",k=m):"left"===p||"start"===p?(C="flex-start",y=m):("right"===p||"end"===p)&&(C="flex-end",k=m),n.position=this._cssPosition,n.marginLeft=l?"0":y,n.marginTop=h?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":k,t.justifyContent=C,t.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,i=t.style;t.classList.remove(Wt),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let Ei=(()=>{class r{constructor(t,i,o,a){this._viewportRuler=t,this._document=i,this._platform=o,this._overlayContainer=a}global(){return new Mi}flexibleConnectedTo(t){return new wi(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#t=this.\u0275fac=function(i){return new(i||r)(e.KVO(dt),e.KVO(b.qQ),e.KVO(R.OD),e.KVO(Yt))};static#e=this.\u0275prov=e.jDH({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Ri=0,Z=(()=>{class r{constructor(t,i,o,a,s,c,l,h,p,m,E,y){this.scrollStrategies=t,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=a,this._keyboardDispatcher=s,this._injector=c,this._ngZone=l,this._document=h,this._directionality=p,this._location=m,this._outsideClickDispatcher=E,this._animationsModuleType=y}create(t){const i=this._createHostElement(),o=this._createPaneElement(i),a=this._createPortalOutlet(o),s=new Gt(t);return s.direction=s.direction||this._directionality.value,new Si(a,i,o,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(t){const i=this._document.createElement("div");return i.id="cdk-overlay-"+Ri++,i.classList.add("cdk-overlay-pane"),t.appendChild(i),i}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(e.o8S)),new se(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#t=this.\u0275fac=function(i){return new(i||r)(e.KVO(vi),e.KVO(Yt),e.KVO(e.OM3),e.KVO(Ei),e.KVO(yi),e.KVO(e.zZn),e.KVO(e.SKi),e.KVO(b.qQ),e.KVO(D.dS),e.KVO(b.aZ),e.KVO(ki),e.KVO(e.bc$,8))};static#e=this.\u0275prov=e.jDH({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const Oi=[{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"}],Zt=new e.nKC("cdk-connected-overlay-scroll-strategy");let ut=(()=>{class r{constructor(t){this.elementRef=t}static#t=this.\u0275fac=function(i){return new(i||r)(e.rXU(e.aKT))};static#e=this.\u0275dir=e.FsC({type:r,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return r})(),Kt=(()=>{class r{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,u.he)(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=(0,u.he)(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=(0,u.he)(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=(0,u.he)(t)}get push(){return this._push}set push(t){this._push=(0,u.he)(t)}constructor(t,i,o,a,s){this._overlay=t,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=F.yU.EMPTY,this._attachSubscription=F.yU.EMPTY,this._detachSubscription=F.yU.EMPTY,this._positionSubscription=F.yU.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new e.bkB,this.positionChange=new e.bkB,this.attach=new e.bkB,this.detach=new e.bkB,this.overlayKeydown=new e.bkB,this.overlayOutsideClick=new e.bkB,this._templatePortal=new et(i,o),this._scrollStrategyFactory=a,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=Oi);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(i=>{this.overlayKeydown.next(i),i.keyCode===x._f&&!this.disableClose&&!(0,x.rp)(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),i=new Gt({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(t){const i=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return t.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).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 ut?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 fi(r,n=!1){return(0,Bt.N)((t,i)=>{let o=0;t.subscribe((0,lt._)(i,a=>{const s=r(a,o++);(s||n)&&i.next(a),!s&&i.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()}static#t=this.\u0275fac=function(i){return new(i||r)(e.rXU(Z),e.rXU(e.C4Q),e.rXU(e.c1b),e.rXU(Zt),e.rXU(D.dS,8))};static#e=this.\u0275dir=e.FsC({type:r,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:[e.OA$]})}return r})();const Ii={provide:Zt,deps:[Z],useFactory:function Di(r){return()=>r.scrollStrategies.reposition()}};let Ti=(()=>{class r{static#t=this.\u0275fac=function(i){return new(i||r)};static#e=this.\u0275mod=e.$C({type:r});static#i=this.\u0275inj=e.G2t({providers:[Z,Ii],imports:[D.jI,bt,Vt,Vt]})}return r})();d(92319);class Ai{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(n=!1,t,i=!0,o){this._multiple=n,this._emitChanges=i,this.compareWith=o,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new w.B,t&&t.length&&(n?t.forEach(a=>this._markSelected(a)):this._markSelected(t[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));const t=this._hasQueuedChanges();return this._emitChangeEvent(),t}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));const t=this._hasQueuedChanges();return this._emitChangeEvent(),t}setSelection(...n){this._verifyValueAssignment(n);const t=this.selected,i=new Set(n);n.forEach(a=>this._markSelected(a)),t.filter(a=>!i.has(a)).forEach(a=>this._unmarkSelected(a));const o=this._hasQueuedChanges();return this._emitChangeEvent(),o}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();const t=this._hasQueuedChanges();return n&&this._emitChangeEvent(),t}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}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(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(n){if(this.compareWith){for(let t of this._selection)if(this.compareWith(n,t))return t;return n}return n}}var Bi=d(68001);const zi=["trigger"],Vi=["panel"];function Li(r,n){if(1&r&&(e.j41(0,"span",10),e.EFF(1),e.k0s()),2&r){const t=e.XpG();e.R7$(1),e.JRh(t.placeholder)}}function ji(r,n){if(1&r&&(e.j41(0,"span",14),e.EFF(1),e.k0s()),2&r){const t=e.XpG(2);e.R7$(1),e.JRh(t.triggerValue)}}function Ni(r,n){1&r&&e.SdG(0,0,["*ngSwitchCase","true"])}function Gi(r,n){if(1&r&&(e.j41(0,"span",11),e.DNE(1,ji,2,1,"span",12),e.DNE(2,Ni,1,0,"ng-content",13),e.k0s()),2&r){const t=e.XpG();e.Y8G("ngSwitch",!!t.customTrigger),e.R7$(2),e.Y8G("ngSwitchCase",!0)}}function Xi(r,n){if(1&r){const t=e.RV6();e.qSk(),e.joV(),e.j41(0,"div",15,16),e.bIt("@transformPanel.done",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a._panelDoneAnimatingStream.next(o.toState))})("keydown",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a._handleKeydown(o))}),e.SdG(2,1),e.k0s()}if(2&r){const t=e.XpG();e.ZvI("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",t._getPanelTheme(),""),e.Y8G("ngClass",t.panelClass)("@transformPanel","showing"),e.BMQ("id",t.id+"-panel")("aria-multiselectable",t.multiple)("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby())}}const Yi=[[["mat-select-trigger"]],"*"],Hi=["mat-select-trigger","*"],Ui={transformPanelWrap:(0,f.hZ)("transformPanelWrap",[(0,f.kY)("* => void",(0,f.P)("@transformPanel",[(0,f.MA)()],{optional:!0}))]),transformPanel:(0,f.hZ)("transformPanel",[(0,f.wk)("void",(0,f.iF)({opacity:0,transform:"scale(1, 0.8)"})),(0,f.kY)("void => showing",(0,f.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,f.iF)({opacity:1,transform:"scale(1, 1)"}))),(0,f.kY)("* => void",(0,f.i0)("100ms linear",(0,f.iF)({opacity:0})))])};let Qt=0;const Jt=new e.nKC("mat-select-scroll-strategy"),Wi=new e.nKC("MAT_SELECT_CONFIG"),Zi={provide:Jt,deps:[Z],useFactory:function $i(r){return()=>r.scrollStrategies.reposition()}},Ki=new e.nKC("MatSelectTrigger");class Qi{constructor(n,t){this.source=n,this.value=t}}const Ji=(0,g.GG)((0,g.BF)((0,g.Ob)((0,g.J8)(class{constructor(r,n,t,i,o){this._elementRef=r,this._defaultErrorStateMatcher=n,this._parentForm=t,this._parentFormGroup=i,this.ngControl=o,this.stateChanges=new w.B}}))));let qi=(()=>{class r extends Ji{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(v.k0.required)??!1}set required(t){this._required=(0,u.he)(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._multiple=(0,u.he)(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=(0,u.he)(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,u.OE)(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}constructor(t,i,o,a,s,c,l,h,p,m,E,y,k,C){super(s,a,l,h,m),this._viewportRuler=t,this._changeDetectorRef=i,this._ngZone=o,this._dir=c,this._parentFormField=p,this._liveAnnouncer=k,this._defaultOptions=C,this._panelOpen=!1,this._compareWith=(M,N)=>M===N,this._uid="mat-select-"+Qt++,this._triggerAriaLabelledBy=null,this._destroy=new w.B,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Qt++,this._panelDoneAnimatingStream=new w.B,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,Bi.v)(()=>{const M=this.options;return M?M.changes.pipe((0,L.Z)(M),(0,at.n)(()=>(0,W.h)(...M.map(N=>N.onSelectionChange)))):this._ngZone.onStable.pipe((0,pt.s)(1),(0,at.n)(()=>this.optionSelectionChanges))}),this.openedChange=new e.bkB,this._openedStream=this.openedChange.pipe((0,$.p)(M=>M),(0,st.T)(()=>{})),this._closedStream=this.openedChange.pipe((0,$.p)(M=>!M),(0,st.T)(()=>{})),this.selectionChange=new e.bkB,this.valueChange=new e.bkB,this._trackedModal=null,this.ngControl&&(this.ngControl.valueAccessor=this),null!=C?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=C.typeaheadDebounceInterval),this._scrollStrategyFactory=y,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(E)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Ai(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,yt.F)(),(0,O.Q)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,O.Q)(this._destroy)).subscribe(t=>{t.added.forEach(i=>i.select()),t.removed.forEach(i=>i.deselect())}),this.options.changes.pipe((0,L.Z)(null),(0,O.Q)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const t=this._getTriggerAriaLabelledby(),i=this.ngControl;if(t!==this._triggerAriaLabelledBy){const o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?o.setAttribute("aria-labelledby",t):o.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(void 0!==this._previousControl&&null!==i.disabled&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.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 i=`${this.id}-panel`;this._trackedModal&&(0,P.Ae)(this._trackedModal,"aria-owns",i),(0,P.px)(t,"aria-owns",i),this._trackedModal=t}_clearFromModal(){this._trackedModal&&((0,P.Ae)(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(i=>i.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 i=t.keyCode,o=i===x.n6||i===x.i7||i===x.UQ||i===x.LE,a=i===x.Fm||i===x.t6,s=this._keyManager;if(!s.isTyping()&&a&&!(0,x.rp)(t)||(this.multiple||t.altKey)&&o)t.preventDefault(),this.open();else if(!this.multiple){const c=this.selected;s.onKeydown(t);const l=this.selected;l&&c!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(t){const i=this._keyManager,o=t.keyCode,a=o===x.n6||o===x.i7,s=i.isTyping();if(a&&t.altKey)t.preventDefault(),this.close();else if(s||o!==x.Fm&&o!==x.t6||!i.activeItem||(0,x.rp)(t))if(!s&&this._multiple&&o===x.A&&t.ctrlKey){t.preventDefault();const c=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(c?l.select():l.deselect())})}else{const c=i.activeItemIndex;i.onKeydown(t),this._multiple&&a&&t.shiftKey&&i.activeItem&&i.activeItemIndex!==c&&i.activeItem._selectViaInteraction()}else t.preventDefault(),i.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,pt.s)(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(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{const i=this._selectOptionByValue(t);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(t){const i=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return null!=o.value&&this._compareWith(o.value,t)}catch{return!1}});return i&&this._selectionModel.select(i),i}_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 P.Au(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,W.h)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,O.Q)(t)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,W.h)(...this.options.map(i=>i._stateChanges)).pipe((0,O.Q)(t)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(t,i){const o=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(o!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),i&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),i&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),o!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((i,o)=>this.sortComparator?this.sortComparator(i,o,t):t.indexOf(i)-t.indexOf(o)),this.stateChanges.next()}}_propagateChanges(t){let i=null;i=this.multiple?this.selected.map(o=>o.value):this.selected?this.selected.value:t,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let t=-1;for(let i=0;i<this.options.length;i++)if(!this.options.get(i).disabled){t=i;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 i=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_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}static#t=this.\u0275fac=function(i){return new(i||r)(e.rXU(dt),e.rXU(e.gRc),e.rXU(e.SKi),e.rXU(g.es),e.rXU(e.aKT),e.rXU(D.dS,8),e.rXU(v.cV,8),e.rXU(v.j4,8),e.rXU(A.xb,8),e.rXU(v.vO,10),e.kS0("tabindex"),e.rXU(Jt),e.rXU(P.Ai),e.rXU(Wi,8))};static#e=this.\u0275dir=e.FsC({type:r,viewQuery:function(i,o){if(1&i&&(e.GBs(zi,5),e.GBs(Vi,5),e.GBs(Kt,5)),2&i){let a;e.mGM(a=e.lsd())&&(o.trigger=a.first),e.mGM(a=e.lsd())&&(o.panel=a.first),e.mGM(a=e.lsd())&&(o._overlayDir=a.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:[e.Vt3,e.OA$]})}return r})(),tn=(()=>{class r extends qi{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,O.Q)(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 i=this.options.toArray()[t];if(i){const o=this.panel.nativeElement,a=(0,g.jb)(t,this.options,this.optionGroups),s=i._getHostElement();o.scrollTop=0===t&&1===a?0:(0,g.TL)(s.offsetTop,s.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(t){return new Qi(this,t)}_getOverlayWidth(t){return"auto"===this.panelWidth?(t instanceof ut?t.elementRef:t||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=(0,u.he)(t),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const t of this.options)t._changeDetectorRef.markForCheck()}static#t=this.\u0275fac=function(){let t;return function(o){return(t||(t=e.xGo(r)))(o||r)}}();static#e=this.\u0275cmp=e.VBU({type:r,selectors:[["mat-select"]],contentQueries:function(i,o,a){if(1&i&&(e.wni(a,Ki,5),e.wni(a,g.wT,5),e.wni(a,g.QC,5)),2&i){let s;e.mGM(s=e.lsd())&&(o.customTrigger=s.first),e.mGM(s=e.lsd())&&(o.options=s),e.mGM(s=e.lsd())&&(o.optionGroups=s)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox","ngSkipHydration","",1,"mat-mdc-select"],hostVars:19,hostBindings:function(i,o){1&i&&e.bIt("keydown",function(s){return o._handleKeydown(s)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),2&i&&(e.BMQ("id",o.id)("tabindex",o.tabIndex)("aria-controls",o.panelOpen?o.id+"-panel":null)("aria-expanded",o.panelOpen)("aria-label",o.ariaLabel||null)("aria-required",o.required.toString())("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState)("aria-activedescendant",o._getAriaActiveDescendant()),e.AVh("mat-mdc-select-disabled",o.disabled)("mat-mdc-select-invalid",o.errorState)("mat-mdc-select-required",o.required)("mat-mdc-select-empty",o.empty)("mat-mdc-select-multiple",o.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",panelWidth:"panelWidth",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matSelect"],features:[e.Jv_([{provide:A.qT,useExisting:r},{provide:g.is,useExisting:r}]),e.Vt3],ngContentSelectors:Hi,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(i,o){if(1&i&&(e.NAR(Yi),e.j41(0,"div",0,1),e.bIt("click",function(){return o.toggle()}),e.j41(3,"div",2),e.DNE(4,Li,2,1,"span",3),e.DNE(5,Gi,3,2,"span",4),e.k0s(),e.j41(6,"div",5)(7,"div",6),e.qSk(),e.j41(8,"svg",7),e.nrm(9,"path",8),e.k0s()()()(),e.DNE(10,Xi,3,9,"ng-template",9),e.bIt("backdropClick",function(){return o.close()})("attach",function(){return o._onAttached()})("detach",function(){return o.close()})),2&i){const a=e.sdS(1);e.R7$(3),e.Y8G("ngSwitch",o.empty),e.BMQ("id",o._valueId),e.R7$(1),e.Y8G("ngSwitchCase",!0),e.R7$(1),e.Y8G("ngSwitchCase",!1),e.R7$(5),e.Y8G("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",o._preferredOverlayOrigin||a)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayWidth",o._overlayWidth)}},dependencies:[b.YU,b.ux,b.e1,b.fG,Kt,ut],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.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;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.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}div.mat-mdc-select-panel{box-shadow: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);width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.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);color:var(--mat-select-placeholder-text-color)}._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:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.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})}return r})(),en=(()=>{class r{static#t=this.\u0275fac=function(i){return new(i||r)};static#e=this.\u0275mod=e.$C({type:r});static#i=this.\u0275inj=e.G2t({providers:[Zi],imports:[b.MD,Ti,g.Sy,g.yE,ht,A.RG,g.Sy,g.yE]})}return r})();var nn=d(81337),on=d(58901),rn=d(60822);const an=["container_image"],sn=["stadiumContainer"],cn=["stadium"];function ln(r,n){if(1&r&&e.nrm(0,"app-empty-component",10),2&r){const t=e.XpG();e.Y8G("emptySettingsSlide",t.emptySettingsSlide)}}function dn(r,n){if(1&r&&e.EFF(0),2&r){const t=e.XpG(2);e.JRh(null==t.current_match?null:t.current_match.name)}}function hn(r,n){if(1&r&&(e.j41(0,"mat-option",54),e.EFF(1),e.k0s()),2&r){const t=n.$implicit;e.Y8G("value",t.id),e.R7$(1),e.SpI(" ",t.name," ")}}function pn(r,n){1&r&&(e.j41(0,"mat-error"),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&r&&(e.R7$(1),e.SpI(" ",e.bMT(2,1,"tickets.error_select_event")," "))}function mn(r,n){if(1&r&&(e.EFF(0),e.nI1(1,"translate")),2&r){const t=e.XpG(2);e.JRh(""!=t.name_subzone?t.name_subzone:e.bMT(1,1,"tickets.label_location"))}}function un(r,n){1&r&&(e.EFF(0),e.nI1(1,"translate")),2&r&&e.JRh(e.bMT(1,1,"tickets.seat_selection"))}function fn(r,n){if(1&r&&e.nrm(0,"img",61),2&r){const t=e.XpG(4);e.FCK("src","",t.cityProvider._urlGallery,"ticketing/seats/available.png?_dc=",t.time,"",e.B4B)}}function _n(r,n){if(1&r&&e.nrm(0,"img",61),2&r){const t=e.XpG(4);e.FCK("src","",t.cityProvider._urlGallery,"ticketing/seats/not_available.png?_dc=",t.time,"",e.B4B)}}function bn(r,n){if(1&r){const t=e.RV6();e.j41(0,"div",58),e.bIt("click",function(o){const s=e.eBV(t).$implicit,c=e.XpG(3);return e.Njj(c.selectSeat(o,s))}),e.DNE(1,fn,1,2,"img",59),e.DNE(2,_n,1,2,"img",59),e.j41(3,"ion-label",60),e.EFF(4),e.k0s()()}if(2&r){const t=n.$implicit;e.R7$(1),e.Y8G("ngIf",!(t.ticket||t.ticket_user_block||t.presubscription||t.match_event_stage.length)),e.R7$(1),e.Y8G("ngIf",t.ticket||t.ticket_user_block||t.presubscription||t.match_event_stage.length),e.R7$(2),e.JRh(t.code)}}function gn(r,n){if(1&r&&(e.j41(0,"div",55)(1,"ion-label",56),e.EFF(2),e.k0s(),e.DNE(3,bn,5,3,"div",57),e.k0s()),2&r){const t=n.$implicit;e.R7$(2),e.JRh(t.value[0].letter.name),e.R7$(1),e.Y8G("ngForOf",t.value)}}function vn(r,n){1&r&&(e.EFF(0),e.nI1(1,"translate")),2&r&&e.JRh(e.bMT(1,1,"tickets.checkout"))}function xn(r,n){if(1&r&&(e.j41(0,"ion-item",62),e.nrm(1,"ion-icon",63),e.j41(2,"ion-label",64),e.EFF(3),e.k0s()()),2&r){const t=e.XpG(2);e.R7$(3),e.JRh(t.current_match.name)}}function yn(r,n){if(1&r&&(e.j41(0,"ion-chip")(1,"ion-avatar"),e.nrm(2,"img",67),e.k0s(),e.j41(3,"ion-label"),e.EFF(4),e.k0s()()),2&r){const t=e.XpG().$implicit;e.R7$(4),e.JRh(t.dataTicket.first_name+" "+t.dataTicket.last_name)}}function kn(r,n){if(1&r){const t=e.RV6();e.j41(0,"ion-item",65),e.bIt("click",function(){const o=e.eBV(t),a=o.index,s=o.$implicit,c=e.XpG(2);return e.Njj(c.openListSuscription(a,s.ticket_type_id))}),e.j41(1,"ion-label")(2,"h2",66),e.EFF(3),e.nI1(4,"translate"),e.nI1(5,"translate"),e.k0s(),e.j41(6,"h3",66),e.EFF(7),e.nI1(8,"translate"),e.k0s(),e.j41(9,"p"),e.EFF(10),e.nI1(11,"formatCurrency"),e.k0s()(),e.DNE(12,yn,5,1,"ion-chip",19),e.k0s()}if(2&r){const t=n.$implicit,i=e.XpG(2);e.FS9("detail",2==t.ticket_type_id),e.R7$(3),e.Lme("",1==t.ticket_type_id?e.bMT(4,8,"tickets.type_1"):e.bMT(5,10,"tickets.type_2"),": ",t.zone_name,""),e.R7$(4),e.E5c(" ",e.bMT(8,12,"tickets.label_seat"),": ",t.seat.letter.name,"",t.seat.code," "),e.R7$(3),e.JRh(e.i5U(11,14,t.price,i.currency)),e.R7$(2),e.Y8G("ngIf",2==t.ticket_type_id&&t.dataTicket)}}function Sn(r,n){if(1&r&&(e.j41(0,"ion-item",41)(1,"ion-label"),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"ion-item",43),e.nrm(5,"app-coin-info",44),e.k0s()()),2&r){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,2,"COINS_AFTER_PURCHASE")),e.R7$(3),e.Y8G("price",t.coinsAfterPurchase)}}function Cn(r,n){1&r&&(e.j41(0,"ion-item")(1,"ion-label",68),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&r&&(e.R7$(2),e.JRh(e.bMT(3,1,"BLOCKED_USER_CREDIT")))}function wn(r,n){1&r&&(e.j41(0,"p",49),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&r&&(e.R7$(1),e.SpI(" ",e.bMT(2,1,"service_label")," "))}function Mn(r,n){if(1&r&&(e.j41(0,"p",49),e.EFF(1),e.nI1(2,"formatCurrency"),e.k0s()),2&r){const t=e.XpG(2);e.R7$(1),e.SpI(" ",e.i5U(2,1,t.serviceCharge,t.currency)," ")}}function En(r,n){if(1&r&&e.nrm(0,"app-coin-info",44),2&r){const t=e.XpG(2);e.Y8G("price",t.total)}}function Rn(r,n){if(1&r){const t=e.RV6();e.j41(0,"mat-horizontal-stepper",11,12),e.bIt("selectionChange",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.selectionChange(o))}),e.j41(2,"mat-step",13)(3,"form",14),e.DNE(4,dn,1,1,"ng-template",15),e.j41(5,"mat-form-field",16)(6,"mat-label"),e.EFF(7),e.nI1(8,"translate"),e.k0s(),e.j41(9,"mat-select",17),e.bIt("ngModelChange",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.matchEventId=o)}),e.DNE(10,hn,2,2,"mat-option",18),e.k0s(),e.DNE(11,pn,3,3,"mat-error",19),e.j41(12,"mat-hint"),e.EFF(13),e.k0s()()()(),e.j41(14,"mat-step"),e.DNE(15,mn,2,3,"ng-template",15),e.j41(16,"div",20)(17,"ion-item",21),e.nrm(18,"div",22),e.j41(19,"ion-label"),e.EFF(20),e.nI1(21,"translate"),e.k0s()(),e.j41(22,"ion-item",21),e.nrm(23,"div",23),e.j41(24,"ion-label"),e.EFF(25),e.nI1(26,"translate"),e.k0s()(),e.j41(27,"ion-item",21),e.nrm(28,"div",24),e.j41(29,"ion-label"),e.EFF(30),e.nI1(31,"translate"),e.k0s()()(),e.j41(32,"div",25,26)(34,"div",27)(35,"button",28),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.zoomIn())}),e.nrm(36,"ion-icon",29),e.k0s(),e.j41(37,"button",30),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.zoomOut())}),e.nrm(38,"ion-icon",31),e.k0s()(),e.nrm(39,"div",null,32),e.k0s()(),e.j41(41,"mat-step"),e.DNE(42,un,2,3,"ng-template",15),e.j41(43,"div",33,34),e.bIt("click",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.presentPopover(o))}),e.j41(45,"ion-item",21)(46,"ion-avatar",35),e.nrm(47,"img",36),e.k0s(),e.j41(48,"ion-label"),e.EFF(49),e.nI1(50,"translate"),e.k0s()(),e.j41(51,"ion-item",21)(52,"ion-avatar",35),e.nrm(53,"img",36),e.k0s(),e.j41(54,"ion-label"),e.EFF(55),e.nI1(56,"translate"),e.k0s()()(),e.DNE(57,gn,4,2,"div",37),e.k0s(),e.j41(58,"mat-step"),e.DNE(59,vn,2,3,"ng-template",15),e.j41(60,"ion-card"),e.DNE(61,xn,4,1,"ion-item",38),e.j41(62,"ion-list"),e.DNE(63,kn,13,17,"ion-item",39),e.k0s(),e.nrm(64,"hr"),e.j41(65,"ion-card",40)(66,"ion-item",41)(67,"ion-avatar",35),e.nrm(68,"img",42),e.k0s(),e.j41(69,"ion-label"),e.EFF(70),e.nI1(71,"translate"),e.k0s(),e.j41(72,"ion-item",43),e.nrm(73,"app-coin-info",44),e.j41(74,"ion-checkbox",45),e.bIt("ngModelChange",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.payWithCoins=o)})("ionChange",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.validatePayWithCoins())}),e.k0s()()(),e.DNE(75,Sn,6,4,"ion-item",46),e.DNE(76,Cn,4,3,"ion-item",19),e.k0s(),e.j41(77,"ion-grid")(78,"ion-row")(79,"ion-col",47)(80,"ion-item",48)(81,"ion-label")(82,"p",49),e.EFF(83),e.nI1(84,"translate"),e.k0s(),e.DNE(85,wn,3,3,"p",50),e.j41(86,"h2"),e.EFF(87),e.nI1(88,"translate"),e.k0s()(),e.j41(89,"ion-label",51)(90,"p",49),e.EFF(91),e.nI1(92,"formatCurrency"),e.k0s(),e.DNE(93,Mn,3,4,"p",50),e.j41(94,"h2"),e.EFF(95),e.nI1(96,"formatCurrency"),e.k0s(),e.DNE(97,En,1,1,"app-coin-info",52),e.k0s()(),e.j41(98,"ion-item",48)(99,"ion-button",53),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.createBlocks())}),e.EFF(100),e.nI1(101,"translate"),e.k0s()()()()()()()()}if(2&r){const t=e.XpG();e.Y8G("selectedIndex",t.current_tab),e.R7$(2),e.Y8G("stepControl",t.eventGroup),e.R7$(1),e.Y8G("formGroup",t.eventGroup),e.R7$(4),e.JRh(e.bMT(8,35,"tickets.label_events")),e.R7$(2),e.Y8G("ngModel",t.matchEventId),e.R7$(1),e.Y8G("ngForOf",t.matchEvents),e.R7$(1),e.Y8G("ngIf",t.matchEventCtrl.hasError("required")),e.R7$(2),e.JRh(null==t.matchEventCtrl.value?null:t.matchEventCtrl.value.sound),e.R7$(7),e.JRh(e.bMT(21,37,"tickets.available")),e.R7$(5),e.JRh(e.bMT(26,39,"tickets.locked")),e.R7$(5),e.JRh(e.bMT(31,41,"tickets.no_capacity")),e.R7$(9),e.BMQ("disabled",!!t.stadiumContainerInvalid||null),e.R7$(8),e.FCK("src","",t.cityProvider._urlGallery,"ticketing/seats/available.png?_dc=",t.time,"",e.B4B),e.R7$(2),e.JRh(e.bMT(50,43,"tickets.image_1")),e.R7$(4),e.FCK("src","",t.cityProvider._urlGallery,"ticketing/seats/not_available.png?_dc=",t.time,"",e.B4B),e.R7$(2),e.JRh(e.bMT(56,45,"tickets.image_3")),e.R7$(2),e.Y8G("ngForOf",t.group_seats),e.R7$(4),e.Y8G("ngIf",t.current_match&&""!=t.current_match.name),e.R7$(2),e.Y8G("ngForOf",t.buy_tickets),e.R7$(2),e.Y8G("disabled",t.credit_locked),e.R7$(5),e.JRh(e.bMT(71,47,"AVAILABLE_CREDIT")),e.R7$(3),e.Y8G("price",t.currentCoinsInMoney),e.R7$(1),e.Y8G("ngModel",t.payWithCoins),e.R7$(1),e.Y8G("ngIf",0!=t.coinsAfterPurchase),e.R7$(1),e.Y8G("ngIf",t.credit_locked),e.R7$(7),e.SpI(" ",e.bMT(84,49,"subtotal_label")," "),e.R7$(2),e.Y8G("ngIf",t.serviceChargeEnabled&&t.serviceCharge),e.R7$(2),e.SpI(" ",e.bMT(88,51,"total_label")," "),e.R7$(4),e.SpI(" ",e.i5U(92,53,t.subtotal,t.currency)," "),e.R7$(2),e.Y8G("ngIf",t.serviceChargeEnabled&&t.serviceCharge),e.R7$(2),e.SpI(" ",e.i5U(96,56,t.total,t.currency)," "),e.R7$(2),e.Y8G("ngIf",t.enablePaymentWithCoins),e.R7$(3),e.SpI(" ",e.bMT(101,59,"tickets.buy_tickets")," ")}}function On(r,n){if(1&r&&(e.j41(0,"ion-select-option",75),e.EFF(1),e.k0s()),2&r){const t=n.$implicit;e.Y8G("value",t),e.R7$(1),e.SpI(" ",t.label," ")}}function Dn(r,n){if(1&r){const t=e.RV6();e.j41(0,"ion-content")(1,"ion-toolbar")(2,"ion-title"),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"ion-buttons",69)(6,"ion-button",70),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.closeModal())}),e.EFF(7),e.nI1(8,"translate"),e.k0s()()(),e.j41(9,"ion-item",71),e.nrm(10,"ion-label",72),e.j41(11,"ion-select",73),e.bIt("ionChange",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.onTypeTicketSelect(o))}),e.nI1(12,"translate"),e.DNE(13,On,2,2,"ion-select-option",74),e.k0s()()()}if(2&r){const t=e.XpG();e.R7$(3),e.JRh(e.bMT(4,4,"tickets.type_ticket")),e.R7$(4),e.JRh(e.bMT(8,6,"all.close")),e.R7$(4),e.FS9("placeholder",e.bMT(12,8,"TEXT_OK_SELECT")),e.R7$(2),e.Y8G("ngForOf",t.typeTickets)}}function In(r,n){if(1&r){const t=e.RV6();e.j41(0,"button",79),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.buttonsFabsBack())}),e.nrm(1,"ion-icon",80),e.k0s()}}function Tn(r,n){if(1&r){const t=e.RV6();e.j41(0,"button",7),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.buttonsFabsNext())}),e.nrm(1,"ion-icon",81),e.k0s()}}function Pn(r,n){if(1&r&&(e.j41(0,"ion-fab",76),e.DNE(1,In,2,0,"button",77),e.DNE(2,Tn,2,0,"button",78),e.k0s()),2&r){const t=e.XpG();e.R7$(1),e.Y8G("ngIf",t.current_tab>1),e.R7$(1),e.Y8G("ngIf",t.showFabsNextButton&&t.current_tab<3)}}const Fn=[{path:"",component:(()=>{class r{constructor(t,i,o,a,s,c,l,h,p,m,E,y,k,C,M,N,Gn){this.navCtrl=t,this.location=i,this._formBuilder=o,this.storage=a,this.ticketsService=s,this.utilsService=c,this.translateService=l,this.modalCtrl=h,this.alertController=p,this.currencyPipe=m,this.routerOutlet=E,this.popoverController=y,this.userService=k,this.router=C,this.cityProvider=M,this.route=N,this.corporateIdentityService=Gn,this.stadiumContainerInvalid=!0,this.current_tab=0,this.list_seats=[],this.name_zone="",this.name_subzone="",this.slideOpts={zoom:{maxRatio:5}},this.buy_tickets=[],this.subtotal=0,this.serviceChargeEnabled=!1,this.serviceCharge=0,this.total=0,this.oldTotal=0,this.listPreSubcriber=[],this.tribunesParent=[],this.isPresaleSuscription=!1,this.currentCoinsInMoney=0,this.payWithCoins=!1,this.credit_locked=!0,this.coinsAfterPurchase=0,this.enablePaymentWithCoins=!1,this.isModalOpen=!1,this.typeTickets=[],this.showFabsNextButton=!1,this.currency=this.corporateIdentityService.getCurrency()}ngOnInit(){var t=this;return(0,S.A)(function*(){t.time=(new Date).getTime(),t.matchEventId=parseInt(t.route.snapshot.paramMap.get("matchEventId"))??0,t.emptySettingsSlide={showImage:!1,urlImage:"",showText:!0,text:t.translateService.instant("tickets.empty_events")},t.storage.get("parameters").then(i=>{i&&(t.valuePointsCoin=i.value_points_coin,t.serviceChargeEnabled=i.service_charge_enabled,t.params=i,t.params.presale&&t.utilsService.validateDate(t.params.presale_end,"end")&&!t.utilsService.validateDateCustom(t.userService._infoUser.created_at,t.params.presale_date_condition,"start")&&t.alertForceBack(t.translateService.instant("tickets.alert"),t.params.presale_msj))}),t.matchEventId?(t.matchEvents=t.ticketsService.matchEvents,t.current_match=t.ticketsService.matchEvents.find(i=>i.id==t.matchEventId),t.eventGroup=t._formBuilder.group({match_event:["",v.k0.required]}),yield t.loadStadiumZones(),setTimeout(()=>{t.buttonsFabsNext()},500)):(yield t.getMatchEvents(),t.eventGroup=t._formBuilder.group({match_event:["",v.k0.required]}),t.eventGroup.controls.match_event.valueChanges.subscribe(function(){var i=(0,S.A)(function*(o){t.matchEventId=parseInt(o),t.current_match=t.matchEvents.find(a=>a.id==t.matchEventId),yield t.loadStadiumZones(),setTimeout(()=>{t.buttonsFabsNext()},500)});return function(o){return i.apply(this,arguments)}}()))})()}alertForceBack(t,i){var o=this;return(0,S.A)(function*(){yield(yield o.alertController.create({header:t,message:i,backdropDismiss:!1,buttons:[{text:"Ok",handler:()=>{o.back()}}]})).present()})()}get matchEventCtrl(){return this.eventGroup.get("match_event")}getSeats(){var t=this;this.showFabsNextButton=!1,this.storage.get("token").then(function(){var i=(0,S.A)(function*(o){t.utilsService.presentLoading(t.translateService.instant("all.loading")),(yield t.ticketsService.getSeats(o.access_token,t.current_sub_zone,t.matchEventId)).subscribe(a=>{t.utilsService.dismissLoading(),a.original.r?a.original.r?(t.list_seats=a.original.data,t.group_seats=t.orderGroupBy(t.list_seats,"letter_id"),t.group_seats&&(t.group_seats=t.group_seats.slice().reverse(),t.userService._infoUser.user_info&&!t.userService._infoUser.user_info.is_tutorial_viewed&&t.group_seats.length&&(t.container_image.nativeElement.click(),t.storage.get("token").then(c=>{t.userService.updateViewTutorial(c.access_token)}))),t.getSeatPrice(),t.buttonsFabsNext()):(t.current_sub_zone=null,t.name_subzone="",t.utilsService.presentToast(4e3,"warning","top",a.original.m)):t.utilsService.presentAlertInfo("Localidad ("+t.name_subzone+") no disponible","",a.original.m)},a=>{t.utilsService.dismissLoading(),console.log("error getSeats: ",a)})});return function(o){return i.apply(this,arguments)}}())}orderGroupBy(t,i){const o=t.reduce((a,s)=>(a[s[i]]?a[s[i]].push(s):a[s[i]]=[s],a),{});return Object.keys(o).map(a=>({key:a,value:o[a]}))}getMatchEvents(){var t=this;this.storage.get("token").then(function(){var i=(0,S.A)(function*(o){t.utilsService.presentLoading(t.translateService.instant("all.loading")),(yield t.ticketsService.getMatchEvents(o.access_token)).subscribe(a=>{t.utilsService.dismissLoading(),t.params.is_social_distancing&&t.alertConfirmBlock(t.translateService.instant("tickets.alert_distancing")),t.matchEvents=[],a.forEach(s=>{t.utilsService.validateDate(s.event_start_sale,"start")&&t.utilsService.validateDate(s.event_end_sale,"end")&&t.matchEvents.push(s)})},a=>{t.utilsService.dismissLoading(),console.log("error getMatchEvents: ",a)})});return function(o){return i.apply(this,arguments)}}())}loadStadiumZones(){var t=this;this.stadiumContainerInvalid=!0;var i=this;this.storage.get("token").then(function(){var o=(0,S.A)(function*(a){t.utilsService.presentLoading(t.translateService.instant("all.loading")),(yield t.ticketsService.loadStadiumZones(a.access_token,{matchEventId:t.matchEventId})).subscribe(s=>{if(t.stadium.nativeElement.innerHTML=t.current_match.stadium,t.utilsService.dismissLoading(),!s.r)return t.stadium.nativeElement.style.opacity="0.5",t.stadium.nativeElement.style.pointerEvents="none",void t.alertForceBack(t.translateService.instant("tickets.alert"),s.m);if(t.tribunesParent=s.data,!t.tribunesParent.length)return t.stadium.nativeElement.style.opacity="0.5",t.stadium.nativeElement.style.pointerEvents="none",void t.alertForceBack(t.translateService.instant("tickets.alert"),"No existen sectores configurados con precio para el evento ("+t.current_match.name+").");t.stadiumContainerInvalid=!1;let c=t.stadium.nativeElement.childNodes[0].childNodes;t.tribunesParent.forEach(l=>{let h=t.getElementChildNodes(c,l.alias);if(h.length)for(var p=0;p<h.length;p++){let m=h[p].cloneNode(!0);h[p].parentNode.replaceChild(m,h[p]),m.style.fill="D8D8D6",l.locked?(m.style.fill="#6A6A6A",m.addEventListener("click",function(){i.utilsService.presentToast(4e3,"warning","top",'El sector "'+l.name+'" est\xe1 bloqueada')})):l.available_seats?m.addEventListener("click",function(){i.loadStadiumSeats(l.id,l.name)}):(m.style.fill="#FF0000",m.addEventListener("click",function(){i.utilsService.presentToast(4e3,"warning","top",'El sector "'+l.name+'" no tiene sillas disponibles')}))}})},s=>{t.utilsService.dismissLoading(),console.log("error loadStadiumZones: ",s)})});return function(a){return o.apply(this,arguments)}}())}loadStadiumSeats(t,i){this.current_sub_zone=t,this.name_subzone=i,this.getSeats()}getSeatPrice(){var t=this;this.storage.get("token").then(function(){var i=(0,S.A)(function*(o){(yield t.ticketsService.getSeatPrice(o.access_token,t.current_sub_zone,t.matchEventId)).subscribe(a=>{if(!a.original.r)return t.alertConfirmBlock(a.original.m),void t.utilsService.dismissLoading();t.match_event_price=a.original.data},a=>{console.log("error getSeatPrice: ",a)})});return function(o){return i.apply(this,arguments)}}())}ionViewDidLeave(){this.unlockScreen()}selectionChange(t){this.resetTabs(t.selectedIndex)}buttonsFabsNext(){3==this.current_tab&&!this.buy_tickets.length||(this.current_tab+=1)}buttonsFabsBack(){this.current_tab-=1}resetTabs(t){this.showFabsNextButton=!1,0==t&&(this.buy_tickets=[],this.name_subzone="",this.current_sub_zone=null,this.group_seats=null,this.showFabsNextButton=!0),1==t&&(this.buy_tickets=[],this.name_subzone="",this.current_sub_zone=null,this.group_seats=null),2==t&&(this.current_sub_zone||setTimeout(()=>{this.buttonsFabsBack()},100),this.buy_tickets.length&&(this.showFabsNextButton=!0)),3==t&&(this.payWithCoins=!1,this.calculateTotal(),this.buy_tickets.length?this.showFabsNextButton=!0:setTimeout(()=>{this.buttonsFabsBack()},100)),this.current_tab=t}back(){this.lockScreen(T.l.PORTRAIT),this.location.back()}selectTypeTicket(t,i){var o=this;return(0,S.A)(function*(){o.isModalOpen=!0;let a=[];if(o.match_event_price){if(o.match_event_price.price>0){let s=o.currencyPipe.transform(o.match_event_price.price,"USD","symbol","1.0-0");a.push({type:"radio",label:o.translateService.instant("tickets.type_1")+" - "+s,value:1,seat:t,e:i})}if(o.match_event_price.price_suscription>0&&o.current_match.season.is_suscription){let s=o.currencyPipe.transform(o.match_event_price.price_suscription,"USD","symbol","1.0-0");if(o.match_event_price.subscriberPrices.length){let c=o.match_event_price.subscriberPrices.find(l=>l.seat_id==t.id);c&&(s=o.currencyPipe.transform(c.price_suscription,"USD","symbol","1.0-0"))}a.push({type:"radio",label:o.translateService.instant("tickets.type_2")+" - "+s,value:2,seat:t,e:i})}o.typeTickets=a}else o.alertConfirmBlock(o.translateService.instant("tickets.alert_not_price"))})()}onTypeTicketSelect(t){let i=t.target.value,o=i.ticket_type_id??i.value;this.validateAddSeat(o)&&(this.ticket_type_id=o,this.addTicket(i.seat,o),i.e.target.classList.add("bg-seat-selected"),this.isModalOpen=!1)}addTicket(t,i){let o=this.seatPrice(t.id,i);this.buy_tickets.push({seat:t,match_event_id:this.matchEventId,ticket_type_id:i,match_event_price:null,price:o,zone_name:this.name_subzone,dataTicket:null}),this.calculateTotal()}seatPrice(t,i){let o=0;if(1==i&&(o=this.match_event_price.price),2==i&&(o=this.match_event_price.price_suscription,this.match_event_price.subscriberPrices.length)){let a=this.match_event_price.subscriberPrices.find(s=>s.seat_id==t);a&&(o=a.price_suscription)}return o}calculateTotal(){this.showFabsNextButton=!1,this.subtotal=0,this.serviceCharge=0,this.buy_tickets.length&&(this.showFabsNextButton=!0,this.buy_tickets.forEach(t=>{this.subtotal+=t.price}),this.serviceChargeEnabled&&this.match_event_price.service_charge&&(this.serviceCharge=this.match_event_price.service_charge)),this.total=this.subtotal+this.serviceCharge}removeSeatListBuy(t){this.buy_tickets&&this.buy_tickets.length&&(this.buy_tickets.splice(t,1),this.calculateTotal())}validateAddSeat(t){return 1==t&&this.buy_tickets.length>=this.params.maximum_number_ballots?(this.utilsService.presentAlertInfo(this.translateService.instant("tickets.alert"),"",this.params.msj_maximum_number_tickets_buy??this.translateService.instant("tickets.title_message_1")),!1):2==t&&this.buy_tickets.length>=this.params.maximum_number_suscription?(this.utilsService.presentAlertInfo(this.translateService.instant("tickets.alert"),"",this.params.msj_maximum_number_subscriber_tickets_buy??this.translateService.instant("tickets.title_message_2")),!1):this.isPresaleSuscription&&1==t?(this.utilsService.presentAlertInfo(this.translateService.instant("tickets.alert"),"",this.params.msj_exclusivity_only_subscriber_ticket_sales.replaceAll("{{ type_ticket }}","Venta libre")??this.translateService.instant("tickets.title_message_6",{type_ticket:"Venta libre"})),!1):1==t&&this.buy_tickets.filter(i=>2==i.ticket_type_id).length?(this.utilsService.presentAlertInfo(this.translateService.instant("tickets.alert"),"",this.params.msj_add_tickets_same_type.replaceAll("{{ type_ticket }}","Abonado")??this.translateService.instant("tickets.title_message_4",{type_ticket:"Abonado"})),!1):2==t&&this.buy_tickets.filter(i=>1==i.ticket_type_id).length?(this.utilsService.presentAlertInfo(this.translateService.instant("tickets.alert"),"",this.params.msj_add_tickets_same_type.replaceAll("{{ type_ticket }}","Venta libre")??this.translateService.instant("tickets.title_message_4",{type_ticket:"Venta libre"})),!1):!(this.isPresaleSuscription&&this.buy_tickets.length>=this.listPreSubcriber.length&&(this.utilsService.presentAlertInfo(this.translateService.instant("tickets.alert"),"",this.params.msj_buy_same_number_subscriber_tickets??this.translateService.instant("tickets.title_message_5")),1))}selectSeat(t,i){if(t.target.classList.remove("bg-seat-selected"),i.ticket||i.ticket_user_block||i.presubscription||i.match_event_stage.length)this.utilsService.presentToast(4e3,"warning","top",this.translateService.instant("seat_not_available",{seat:i.letter.name+i.code}));else if(this.buy_tickets.find(a=>a.seat.id==i.id)){let s=this.buy_tickets.findIndex(c=>c.seat.id==i.id);s>=0&&(t.target.classList.remove("bg-seat-selected"),this.removeSeatListBuy(s))}else this.selectTypeTicket(i,t)}openListSuscription(t,i){var o=this;return(0,S.A)(function*(){if(2==i){o.unlockScreen();const a=yield o.modalCtrl.create({component:K.U,swipeToClose:!0,presentingElement:o.routerOutlet.nativeEl,componentProps:{dataTicket:o.buy_tickets[t].dataTicket,seasonId:o.current_match.season.id}}),s=yield a.present(),{data:c}=yield a.onWillDismiss();return c&&(o.buy_tickets[t].dataTicket=c),s}})()}alertConfirmBlock(t,i=!1,o=!1){var a=this;return(0,S.A)(function*(){yield(yield a.alertController.create({header:a.translateService.instant("tickets.alert"),message:t,backdropDismiss:!1,buttons:[{text:"Ok",handler:()=>{i&&(a.back(),setTimeout(()=>{a.ticketsService.purchaseTickets(o),ft.Nb.addListener("urlChangeEvent",c=>{-1!=c.url.indexOf("/close")&&ft.Nb.close()})},1e3))}}]})).present()})()}presentAlertConfirmExit(){var t=this;return(0,S.A)(function*(){yield(yield t.alertController.create({header:t.translateService.instant("tickets.alert"),message:t.translateService.instant("tickets.exit_alert"),backdropDismiss:!1,buttons:[{text:"No",role:"cancel",cssClass:"secondary",handler:()=>{}},{text:"Si",handler:()=>{t.back()}}]})).present()})()}createBlocks(){var t=this;if(this.userService.validateAlertsUseApp()&&this.buy_tickets&&this.buy_tickets.length){if(2==this.ticket_type_id&&this.buy_tickets.filter(o=>null==o.dataTicket).length>0)return void this.utilsService.presentAlertInfo(this.translateService.instant("tickets.alert"),"",this.params.msj_complete_information_subscriber_tickets??this.translateService.instant("tickets.title_message_7"));this.storage.get("token").then(function(){var i=(0,S.A)(function*(o){t.utilsService.presentLoading(t.translateService.instant("all.loading"));let a={tickets:t.buy_tickets,type_process:"block",subtotal:t.subtotal,serviceCharge:t.serviceCharge,amount:t.total,ticket_type_id:t.ticket_type_id,season_id:t.current_match.season.id,payWithCoins:t.payWithCoins,coinsInMoney:t.oldTotal,coinsUsed:Math.round(t.oldTotal/t.valuePointsCoin),currentValuePoint:t.valuePointsCoin};(yield t.ticketsService.createBlocks(o.access_token,a)).subscribe(function(){var s=(0,S.A)(function*(c){c.r?t.payWithCoins?(yield t.ticketsService.generateTicketBycoins(o.access_token,c.data)).subscribe(l=>{t.utilsService.dismissLoading(),l.r?t.alertForceBack(t.translateService.instant("tickets.alert"),t.translateService.instant("tickets.msg_ticketByCoins")):(l.locked&&(t.credit_locked=!0),t.utilsService.presentToast(6e3,"danger","top",l.m))},l=>{t.utilsService.dismissLoading(),console.log("error generateTicketBycoins: ",l)}):(t.utilsService.dismissLoading(),t.utilsService.presentToast(6e3,"success","top",c.m),t.router.navigate(["/payment-gateway-selection"],{state:{ticketId:c.data}})):(t.utilsService.dismissLoading(),t.utilsService.presentToast(6e3,"danger","top",c.m))});return function(c){return s.apply(this,arguments)}}(),s=>{t.utilsService.dismissLoading(),console.log("error createBlocks: ",s)})});return function(o){return i.apply(this,arguments)}}())}}presentPopover(t){var i=this;return(0,S.A)(function*(){return yield(yield i.popoverController.create({component:Q,cssClass:"my-custom-class",event:t,translucent:!0})).present()})()}validatePayWithCoins(){if(!this.payWithCoins&&this.currentCoinsInMoney>this.total&&(this.total=this.oldTotal,this.coinsAfterPurchase=0),this.payWithCoins&&this.currentCoinsInMoney<this.total)return this.utilsService.presentAlertInfo(this.translateService.instant("tickets.title_insufficientCoins"),"",this.translateService.instant("tickets.msg_insufficientCoins",{coins:Math.round((this.total-this.currentCoinsInMoney)/this.valuePointsCoin)})),void setTimeout(()=>{this.payWithCoins=!1},500);this.payWithCoins&&this.currentCoinsInMoney>this.total&&(this.coinsAfterPurchase=this.currentCoinsInMoney-this.total,this.oldTotal=this.total,this.total=0)}closeModal(){this.isModalOpen=!1}lockScreen(t){J.Ii.isNativePlatform()&&T.Z.lock({type:t})}unlockScreen(){J.Ii.isNativePlatform()&&T.Z.unlock()}getElementChildNodes(t,i,o=[]){for(var a=0;a<t.length;a++)t[a].attributes&&t[a].attributes.alt&&t[a].attributes.alt.value==i?o.push(t[a]):t[a].childNodes&&this.getElementChildNodes(t[a].childNodes,i,o);return o}zoomIn(){this.resize(1.2)}zoomOut(){this.resize(.8)}resize(t=1){const i=this.stadium.nativeElement.firstChild;let o=parseInt(i.width.animVal.value);i.setAttribute("width",""+o*t)}static#t=this.\u0275fac=function(i){return new(i||r)(e.rXU(_.q9),e.rXU(b.aZ),e.rXU(v.ze),e.rXU(q.n),e.rXU(te.t),e.rXU(ee.T),e.rXU(B.c$),e.rXU(_.W3),e.rXU(_.hG),e.rXU(b.oe),e.rXU(_.Rg),e.rXU(_.IE),e.rXU(ie.D),e.rXU(V.Ix),e.rXU(ne.h),e.rXU(V.nX),e.rXU(oe.r))};static#e=this.\u0275cmp=e.VBU({type:r,selectors:[["app-tickets"]],viewQuery:function(i,o){if(1&i&&(e.GBs(an,5),e.GBs(sn,5),e.GBs(cn,5)),2&i){let a;e.mGM(a=e.lsd())&&(o.container_image=a.first),e.mGM(a=e.lsd())&&(o.stadiumContainer=a.first),e.mGM(a=e.lsd())&&(o.stadium=a.first)}},decls:12,vars:4,consts:[[1,"ion-text-center","ion-no-padding"],[3,"emptySettingsSlide",4,"ngIf"],["linear","","style","height: 100%;",3,"selectedIndex","selectionChange",4,"ngIf"],[3,"isOpen"],[1,"ion-no-border","ion-text-center"],[2,"height","50px","display","flex"],["vertical","bottom","horizontal","start","slot","fixed"],["mat-mini-fab","","color","light",3,"click"],["name","close-outline","size","small"],["vertical","bottom","horizontal","end","slot","fixed",4,"ngIf"],[3,"emptySettingsSlide"],["linear","",2,"height","100%",3,"selectedIndex","selectionChange"],["stepper",""],[3,"stepControl"],[3,"formGroup"],["matStepLabel",""],["appearance","fill"],["formControlName","match_event","required","","disabled","",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"container_image"],["lines","none",2,"font-size","min(3vw, 12px)","--padding-start","0px"],[2,"background-color","#D8D8D6","width","32px","height","32px","margin-right","5px"],[2,"background-color","#6A6A6A","width","32px","height","32px","margin-right","5px"],[2,"background-color","#FF0000","width","32px","height","32px","margin-right","5px"],[2,"overflow","auto"],["stadiumContainer",""],[1,"zoom-controls"],[1,"zoom-button-in",3,"click"],["name","add-outline"],[1,"zoom-button-out",3,"click"],["name","remove-outline"],["stadium",""],[1,"container_image",3,"click"],["container_image",""],["slot","start"],[3,"src"],["class","container_row",4,"ngFor","ngForOf"],["lines","full",4,"ngIf"],[3,"detail","click",4,"ngFor","ngForOf"],["hidden","",3,"disabled"],["lines","none",1,"item_coins"],["src","assets/img/coins/coin.png"],["lines","none","slot","end"],[3,"price"],["slot","end",3,"ngModel","ngModelChange","ionChange"],["lines","none","class","item_coins",4,"ngIf"],["size","12"],["lines","none"],[1,"detailPayment"],["class","detailPayment",4,"ngIf"],["slot","end",2,"display","flex","flex-flow","column","align-items","flex-end"],[3,"price",4,"ngIf"],["size","large",1,"payButton",3,"click"],[3,"value"],[1,"container_row"],[1,"label_letter"],["class","d-i-t","seatSelected","",3,"click",4,"ngFor","ngForOf"],["seatSelected","",1,"d-i-t",3,"click"],["alt","seat_image","class","image_seat",3,"src",4,"ngIf"],[1,"m-r-5"],["alt","seat_image",1,"image_seat",3,"src"],["lines","full"],["name","ticket-outline","slot","start","size","small","color","secondary",2,"margin-right","5px"],["color","medium"],[3,"detail","click"],[1,"not-margin"],["src","data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBmaWxsPSIjYzVkYmZmIiBkPSJNMCAwaDUxMnY1MTJIMHoiLz48cGF0aCBkPSJNMjU2IDMwNGM2MS42IDAgMTEyLTUwLjQgMTEyLTExMlMzMTcuNiA4MCAyNTYgODBzLTExMiA1MC40LTExMiAxMTIgNTAuNCAxMTIgMTEyIDExMnptMCA0MGMtNzQuMiAwLTIyNCAzNy44LTIyNCAxMTJ2NTZoNDQ4di01NmMwLTc0LjItMTQ5LjgtMTEyLTIyNC0xMTJ6IiBmaWxsPSIjODJhZWZmIi8+PC9zdmc+",1,"radius"],[1,"noteCoins"],["slot","end"],["color","light",3,"click"],["lines","none",1,"inputBorderRadius","ion-margin-bottom"],["position","stacked"],["interface","popover","name","studentDocumentType","required","",1,"ion-text-center","placeholder-select",3,"placeholder","ionChange"],["class","ion-text-center",3,"value",4,"ngFor","ngForOf"],[1,"ion-text-center",3,"value"],["vertical","bottom","horizontal","end","slot","fixed"],["mat-mini-fab","","color","light","class","margin-button-r",3,"click",4,"ngIf"],["mat-mini-fab","","color","light",3,"click",4,"ngIf"],["mat-mini-fab","","color","light",1,"margin-button-r",3,"click"],["name","chevron-back-outline"],["name","chevron-forward-outline"]],template:function(i,o){1&i&&(e.j41(0,"ion-content",0),e.DNE(1,ln,1,1,"app-empty-component",1),e.DNE(2,Rn,102,61,"mat-horizontal-stepper",2),e.j41(3,"ion-modal",3),e.DNE(4,Dn,14,10,"ng-template"),e.k0s()(),e.j41(5,"ion-footer",4)(6,"ion-toolbar",5)(7,"div")(8,"ion-fab",6)(9,"button",7),e.bIt("click",function(){return o.presentAlertConfirmExit()}),e.nrm(10,"ion-icon",8),e.k0s()(),e.DNE(11,Pn,3,2,"ion-fab",9),e.k0s()()()),2&i&&(e.R7$(1),e.Y8G("ngIf",o.matchEvents&&!o.matchEvents.length),e.R7$(1),e.Y8G("ngIf",o.matchEvents&&o.matchEvents.length),e.R7$(1),e.Y8G("isOpen",o.isModalOpen),e.R7$(8),e.Y8G("ngIf",o.matchEvents&&o.matchEvents.length))},dependencies:[b.Sq,b.bT,v.qT,v.BC,v.cb,v.YS,v.vS,_.mC,_.Jm,_.QW,_.b_,_.eY,_.ZB,_.hU,_.W9,_.Q8,_.M0,_.lO,_.iq,_.uz,_.he,_.nf,_.ln,_.Nm,_.Ip,_.BC,_.ai,_.Sb,_.hB,_.Je,Ot,X,Dt,A.rl,A.nJ,A.MV,A.TL,We,tn,g.wT,v.j4,v.JD,nn.O,on.F,B.D9,rn.P],styles:[".container_buttons[_ngcontent-%COMP%]{position:absolute;right:10px;bottom:10px}.color-black[_ngcontent-%COMP%]{color:#000}.color-white[_ngcontent-%COMP%]{color:#fff}.image_seats[_ngcontent-%COMP%]{width:30px;margin-left:10px}ion-avatar[_ngcontent-%COMP%]{--border-radius: 0% !important}.radius[_ngcontent-%COMP%]{border-radius:50%}.container_image[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border-top:1px solid lightgray;border-bottom:1px solid lightgray;margin-bottom:15px}.image_seat[_ngcontent-%COMP%]{width:25px;margin-right:5px}.container_row[_ngcontent-%COMP%]{margin-bottom:15px}.pos-r[_ngcontent-%COMP%]{position:relative}.d-i-t[_ngcontent-%COMP%]{display:inline-grid}.pos-a[_ngcontent-%COMP%]{position:absolute;bottom:0;left:7px}.label_letter[_ngcontent-%COMP%]{padding-bottom:16px;position:absolute;left:5px;font-size:10px}ion-fab[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px;bottom:0}.fab_icon[_ngcontent-%COMP%]{font-size:20px}.m-r-5[_ngcontent-%COMP%], .margin-button-r[_ngcontent-%COMP%]{margin-right:5px}.bg-seat-selected[_ngcontent-%COMP%]{filter:invert(24%) sepia(53%) saturate(3980%) hue-rotate(232deg) brightness(89%) contrast(97%)}.label_name_zone[_ngcontent-%COMP%]{background-color:var(--ion-color-primary);padding:5px}@media (max-width: 640px){.m-r-5[_ngcontent-%COMP%]{margin-right:0}}.item_coins[_ngcontent-%COMP%]{margin:10px}.noteCoins[_ngcontent-%COMP%]{text-align:justify;white-space:normal}.payButton[_ngcontent-%COMP%]{width:100%}.detailPayment[_ngcontent-%COMP%]{--min-height: 5px;--padding-start: 0px;align-items:baseline;display:flex}ion-modal[_ngcontent-%COMP%]{--height: 180px;--border-radius: 16px;--box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--width: 400px;background:transparent;padding:10px}ion-modal[_ngcontent-%COMP%]::part(backdrop){background:rgb(209,213,219);opacity:1}ion-modal[_ngcontent-%COMP%]   ion-toolbar[_ngcontent-%COMP%]{--color: white}.placeholder-select[_ngcontent-%COMP%]{border:1px solid #dedede;width:-webkit-fill-available;border-radius:5px}map-steps[_ngcontent-%COMP%]{pointer-events:none!important}.zoom-controls[_ngcontent-%COMP%]{position:relative;font-size:20px}.zoom-controls[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{background:none;color:gray;cursor:pointer}.zoom-controls[_ngcontent-%COMP%]   ion-icon[_ngcontent-%COMP%]{width:32px;height:32px}.zoom-button-in[_ngcontent-%COMP%]{position:absolute;left:0}.zoom-button-out[_ngcontent-%COMP%]{position:absolute;left:0;top:30px}"]})}return r})()}];let An=(()=>{class r{static#t=this.\u0275fac=function(i){return new(i||r)};static#e=this.\u0275mod=e.$C({type:r});static#i=this.\u0275inj=e.G2t({imports:[V.iI.forChild(Fn),V.iI]})}return r})();var Bn=d(24587),zn=d(63422);let Vn=(()=>{class r{static#t=this.\u0275fac=function(i){return new(i||r)};static#e=this.\u0275mod=e.$C({type:r});static#i=this.\u0275inj=e.G2t({imports:[Ve,A.RG,Bn.fS,Ze,en,rt.m_,zn.g7]})}return r})();var Ln=d(55553),jn=d(41683);let Nn=(()=>{class r{static#t=this.\u0275fac=function(i){return new(i||r)};static#e=this.\u0275mod=e.$C({type:r});static#i=this.\u0275inj=e.G2t({imports:[b.MD,v.YN,_.bv,An,Vn,v.X1,B.h.forChild(),Ln.h,jn.Y]})}return r})()}}]);