(window.cpWebpackJsonp=window.cpWebpackJsonp||[]).push([[1],{"/uUt":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("7o/Q");function i(e,t){return n=>n.lift(new o(e,t))}class o{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new s(e,this.compare,this.keySelector))}}class s extends r.a{constructor(e,t,n){super(e),this.keySelector=n,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:n}=this;t=n?n(e):e}catch(r){return this.destination.error(r)}let n=!1;if(this.hasKey)try{const{compare:e}=this;n=e(this.key,t)}catch(r){return this.destination.error(r)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))}}},0:function(e,t,n){e.exports=n("zUnb")},"1G5W":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("zx2A");function i(e){return t=>t.lift(new o(e))}class o{constructor(e){this.notifier=e}call(e,t){const n=new s(e),i=Object(r.c)(this.notifier,new r.a(n));return i&&!n.seenValue?(n.add(i),t.subscribe(n)):n}}class s extends r.b{constructor(e){super(e),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},"1O3W":function(e,t,n){"use strict";n.d(t,"a",function(){return X}),n.d(t,"b",function(){return Q}),n.d(t,"c",function(){return Y}),n.d(t,"d",function(){return E}),n.d(t,"e",function(){return T}),n.d(t,"f",function(){return J});var r=n("7KAL"),i=n("8Y7J"),o=n("SCoL"),s=n("9gLZ"),a=n("SVse"),l=n("8LU1"),c=n("1z/I"),u=n("XNiG"),d=n("quSY"),h=n("VRyK"),p=n("IzEk"),f=n("1G5W"),m=n("7o/Q");class g{constructor(e,t){this.predicate=e,this.inclusive=t}call(e,t){return t.subscribe(new _(e,this.predicate,this.inclusive))}}class _ extends m.a{constructor(e,t,n){super(e),this.predicate=t,this.inclusive=n,this.index=0}_next(e){const t=this.destination;let n;try{n=this.predicate(e,this.index++)}catch(r){return void t.error(r)}this.nextOrComplete(e,n)}nextOrComplete(e,t){const n=this.destination;Boolean(t)?n.next(e):(this.inclusive&&n.next(e),n.complete())}}var b=n("Ht+U");const v=Object(o.g)();class y{constructor(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Object(l.c)(-this._previousScrollPosition.left),e.style.top=Object(l.c)(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const e=this._document.documentElement,t=e.style,n=this._document.body.style,r=t.scrollBehavior||"",i=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),v&&(t.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),v&&(t.scrollBehavior=r,n.scrollBehavior=i)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}class w{constructor(e,t,n,r){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef=e}enable(){if(this._scrollSubscription)return;const e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class x{enable(){}disable(){}attach(){}}function C(e,t){return t.some(t=>e.bottom<t.top||e.top>t.bottom||e.right<t.left||e.left>t.right)}function O(e,t){return t.some(t=>e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right)}class S{constructor(e,t,n,r){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this._config=r,this._scrollSubscription=null}attach(e){this._overlayRef=e}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 e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:n}=this._viewportRuler.getViewportSize();C(e,[{width:t,height:n,bottom:n,right:t,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 k=(()=>{class e{constructor(e,t,n,r){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this.noop=()=>new x,this.close=e=>new w(this._scrollDispatcher,this._ngZone,this._viewportRuler,e),this.block=()=>new y(this._viewportRuler,this._document),this.reposition=e=>new S(this._scrollDispatcher,this._viewportRuler,this._ngZone,e),this._document=r}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](r.b),i["\u0275\u0275inject"](r.d),i["\u0275\u0275inject"](i.NgZone),i["\u0275\u0275inject"](a.d))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(r.b),Object(i["\u0275\u0275inject"])(r.d),Object(i["\u0275\u0275inject"])(i.NgZone),Object(i["\u0275\u0275inject"])(a.d))},token:e,providedIn:"root"}),e})();class E{constructor(e){if(this.scrollStrategy=new x,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){const t=Object.keys(e);for(const n of t)void 0!==e[n]&&(this[n]=e[n])}}}class I{constructor(e,t,n,r,i){this.offsetX=n,this.offsetY=r,this.panelClass=i,this.originX=e.originX,this.originY=e.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY}}class P{constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}let j=(()=>{class e{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](a.d))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(a.d))},token:e,providedIn:"root"}),e})(),M=(()=>{class e extends j{constructor(e){super(e),this._keydownListener=e=>{const t=this._attachedOverlays;for(let n=t.length-1;n>-1;n--)if(t[n]._keydownEvents.observers.length>0){t[n]._keydownEvents.next(e);break}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](a.d))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(a.d))},token:e,providedIn:"root"}),e})(),R=(()=>{class e extends j{constructor(e,t){super(e),this._platform=t,this._cursorStyleIsSet=!1,this._clickListener=e=>{const t=e.composedPath?e.composedPath()[0]:e.target,n=this._attachedOverlays.slice();for(let r=n.length-1;r>-1;r--){const i=n[r];if(!(i._outsidePointerEvents.observers.length<1)&&i.hasAttached()){if(i.overlayElement.contains(t))break;i._outsidePointerEvents.next(e)}}}}add(e){if(super.add(e),!this._isAttached){const e=this._document.body;e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=e.style.cursor,e.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](a.d),i["\u0275\u0275inject"](o.a))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(a.d),Object(i["\u0275\u0275inject"])(o.a))},token:e,providedIn:"root"}),e})();const A=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let T=(()=>{class e{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){const e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||A){const t=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let e=0;e<t.length;e++)t[e].parentNode.removeChild(t[e])}const t=this._document.createElement("div");t.classList.add(e),A?t.setAttribute("platform","test"):this._platform.isBrowser||t.setAttribute("platform","server"),this._document.body.appendChild(t),this._containerElement=t}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](a.d),i["\u0275\u0275inject"](o.a))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(a.d),Object(i["\u0275\u0275inject"])(o.a))},token:e,providedIn:"root"}),e})();class D{constructor(e,t,n,r,i,o,s,a,l){this._portalOutlet=e,this._host=t,this._pane=n,this._config=r,this._ngZone=i,this._keyboardDispatcher=o,this._document=s,this._location=a,this._outsideClickDispatcher=l,this._backdropElement=null,this._backdropClick=new u.a,this._attachments=new u.a,this._detachments=new u.a,this._locationChanges=d.a.EMPTY,this._backdropClickHandler=e=>this._backdropClick.next(e),this._keydownEvents=new u.a,this._outsidePointerEvents=new u.a,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){let t=this._portalOutlet.attach(e);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Object(p.a)(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),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 e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),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&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,e&&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(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=Object.assign(Object.assign({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Object.assign(Object.assign({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){const e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const e=this._pane.style;e.width=Object(l.c)(this._config.width),e.height=Object(l.c)(this._config.height),e.minWidth=Object(l.c)(this._config.minWidth),e.minHeight=Object(l.c)(this._config.minHeight),e.maxWidth=Object(l.c)(this._config.maxWidth),e.maxHeight=Object(l.c)(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){const e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),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),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e,t=this._backdropElement;if(!t)return;let n=()=>{t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",n),t.parentNode&&t.parentNode.removeChild(t)),this._backdropElement==t&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(t,this._config.backdropClass,!1),clearTimeout(e)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",n)}),t.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(e,t,n){const r=e.classList;Object(l.a)(t).forEach(e=>{e&&(n?r.add(e):r.remove(e))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const e=this._ngZone.onStable.pipe(Object(f.a)(Object(h.a)(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._previousHostParent.removeChild(this._host)),e.unsubscribe())})})}_disposeScrollStrategy(){const e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}}const F="cdk-overlay-connected-position-bounding-box",L=/([A-Za-z%]+)$/;class N{constructor(e,t,n,r,i){this._viewportRuler=t,this._document=n,this._platform=r,this._overlayContainer=i,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 u.a,this._resizeSubscription=d.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){this._validatePositions(),e.hostElement.classList.add(F),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.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();const e=this._originRect,t=this._overlayRect,n=this._viewportRect,r=[];let i;for(let o of this._preferredPositions){let s=this._getOriginPoint(e,o),a=this._getOverlayPoint(s,t,o),l=this._getOverlayFit(a,t,n,o);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(o,s);this._canFitWithFlexibleDimensions(l,a,n)?r.push({position:o,origin:s,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(s,o)}):(!i||i.overlayFit.visibleArea<l.visibleArea)&&(i={overlayFit:l,overlayPoint:a,originPoint:s,position:o,overlayRect:t})}if(r.length){let e=null,t=-1;for(const n of r){const r=n.boundingBoxRect.width*n.boundingBoxRect.height*(n.position.weight||1);r>t&&(t=r,e=n)}return this._isPushed=!1,void this._applyPosition(e.position,e.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(i.position,i.originPoint);this._applyPosition(i.position,i.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&V(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(F),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t){let n,r;if("center"==t.originX)n=e.left+e.width/2;else{const r=this._isRtl()?e.right:e.left,i=this._isRtl()?e.left:e.right;n="start"==t.originX?r:i}return r="center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom,{x:n,y:r}}_getOverlayPoint(e,t,n){let r,i;return r="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,i="center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height,{x:e.x+r,y:e.y+i}}_getOverlayFit(e,t,n,r){const i=z(t);let{x:o,y:s}=e,a=this._getOffset(r,"x"),l=this._getOffset(r,"y");a&&(o+=a),l&&(s+=l);let c=0-s,u=s+i.height-n.height,d=this._subtractOverflows(i.width,0-o,o+i.width-n.width),h=this._subtractOverflows(i.height,c,u),p=d*h;return{visibleArea:p,isCompletelyWithinViewport:i.width*i.height===p,fitsInViewportVertically:h===i.height,fitsInViewportHorizontally:d==i.width}}_canFitWithFlexibleDimensions(e,t,n){if(this._hasFlexibleDimensions){const r=n.bottom-t.y,i=n.right-t.x,o=B(this._overlayRef.getConfig().minHeight),s=B(this._overlayRef.getConfig().minWidth),a=e.fitsInViewportHorizontally||null!=s&&s<=i;return(e.fitsInViewportVertically||null!=o&&o<=r)&&a}return!1}_pushOverlayOnScreen(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};const r=z(t),i=this._viewportRect,o=Math.max(e.x+r.width-i.width,0),s=Math.max(e.y+r.height-i.height,0),a=Math.max(i.top-n.top-e.y,0),l=Math.max(i.left-n.left-e.x,0);let c=0,u=0;return c=r.width<=i.width?l||-o:e.x<this._viewportMargin?i.left-n.left-e.x:0,u=r.height<=i.height?a||-s:e.y<this._viewportMargin?i.top-n.top-e.y:0,this._previousPushAmount={x:c,y:u},{x:e.x+c,y:e.y+u}}_applyPosition(e,t){if(this._setTransformOrigin(e),this._setOverlayElementStyles(t,e),this._setBoundingBoxStyles(t,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._lastPosition=e,this._positionChanges.observers.length){const t=this._getScrollVisibility(),n=new P(e,t);this._positionChanges.next(n)}this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;const t=this._boundingBox.querySelectorAll(this._transformOriginSelector);let n,r=e.overlayY;n="center"===e.overlayX?"center":this._isRtl()?"start"===e.overlayX?"right":"left":"start"===e.overlayX?"left":"right";for(let i=0;i<t.length;i++)t[i].style.transformOrigin=`${n} ${r}`}_calculateBoundingBoxRect(e,t){const n=this._viewportRect,r=this._isRtl();let i,o,s,a,l,c;if("top"===t.overlayY)o=e.y,i=n.height-o+this._viewportMargin;else if("bottom"===t.overlayY)s=n.height-e.y+2*this._viewportMargin,i=n.height-s+this._viewportMargin;else{const t=Math.min(n.bottom-e.y+n.top,e.y),r=this._lastBoundingBoxSize.height;i=2*t,o=e.y-t,i>r&&!this._isInitialRender&&!this._growAfterOpen&&(o=e.y-r/2)}if("end"===t.overlayX&&!r||"start"===t.overlayX&&r)c=n.width-e.x+this._viewportMargin,a=e.x-this._viewportMargin;else if("start"===t.overlayX&&!r||"end"===t.overlayX&&r)l=e.x,a=n.right-e.x;else{const t=Math.min(n.right-e.x+n.left,e.x),r=this._lastBoundingBoxSize.width;a=2*t,l=e.x-t,a>r&&!this._isInitialRender&&!this._growAfterOpen&&(l=e.x-r/2)}return{top:o,left:l,bottom:s,right:c,width:a,height:i}}_setBoundingBoxStyles(e,t){const n=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const e=this._overlayRef.getConfig().maxHeight,i=this._overlayRef.getConfig().maxWidth;r.height=Object(l.c)(n.height),r.top=Object(l.c)(n.top),r.bottom=Object(l.c)(n.bottom),r.width=Object(l.c)(n.width),r.left=Object(l.c)(n.left),r.right=Object(l.c)(n.right),r.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",r.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",e&&(r.maxHeight=Object(l.c)(e)),i&&(r.maxWidth=Object(l.c)(i))}this._lastBoundingBoxSize=n,V(this._boundingBox.style,r)}_resetBoundingBoxStyles(){V(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){V(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){const n={},r=this._hasExactPosition(),i=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(r){const r=this._viewportRuler.getViewportScrollPosition();V(n,this._getExactOverlayY(t,e,r)),V(n,this._getExactOverlayX(t,e,r))}else n.position="static";let s="",a=this._getOffset(t,"x"),c=this._getOffset(t,"y");a&&(s+=`translateX(${a}px) `),c&&(s+=`translateY(${c}px)`),n.transform=s.trim(),o.maxHeight&&(r?n.maxHeight=Object(l.c)(o.maxHeight):i&&(n.maxHeight="")),o.maxWidth&&(r?n.maxWidth=Object(l.c)(o.maxWidth):i&&(n.maxWidth="")),V(this._pane.style,n)}_getExactOverlayY(e,t,n){let r={top:"",bottom:""},i=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n));let o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return i.y-=o,"bottom"===e.overlayY?r.bottom=this._document.documentElement.clientHeight-(i.y+this._overlayRect.height)+"px":r.top=Object(l.c)(i.y),r}_getExactOverlayX(e,t,n){let r,i={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),r=this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left","right"===r?i.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":i.left=Object(l.c)(o.x),i}_getScrollVisibility(){const e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(e=>e.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:O(e,n),isOriginOutsideView:C(e,n),isOverlayClipped:O(t,n),isOverlayOutsideView:C(t,n)}}_subtractOverflows(e,...t){return t.reduce((e,t)=>e-Math.max(t,0),e)}_getNarrowedViewportRect(){const e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&Object(l.a)(e).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){const e=this._origin;if(e instanceof i.ElementRef)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();const t=e.width||0,n=e.height||0;return{top:e.y,bottom:e.y+n,left:e.x,right:e.x+t,height:n,width:t}}}function V(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function B(e){if("number"!=typeof e&&null!=e){const[t,n]=e.split(L);return n&&"px"!==n?null:parseFloat(t)}return e||null}function z(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}class H{constructor(e,t,n,r,i,o,s){this._preferredPositions=[],this._positionStrategy=new N(n,r,i,o,s).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(e,t),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(e){this._overlayRef=e,this._positionStrategy.attach(e),this._direction&&(e.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(e){this._positionStrategy.withScrollableContainers(e)}withFallbackPosition(e,t,n,r){const i=new I(e,t,n,r);return this._preferredPositions.push(i),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(e){return this._overlayRef?this._overlayRef.setDirection(e):this._direction=e,this}withOffsetX(e){return this._positionStrategy.withDefaultOffsetX(e),this}withOffsetY(e){return this._positionStrategy.withDefaultOffsetY(e),this}withLockedPosition(e){return this._positionStrategy.withLockedPosition(e),this}withPositions(e){return this._preferredPositions=e.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(e){return this._positionStrategy.setOrigin(e),this}}const U="cdk-global-overlay-wrapper";class ${constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(e){const t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(U),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._justifyContent="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:r,height:i,maxWidth:o,maxHeight:s}=n,a=!("100%"!==r&&"100vw"!==r||o&&"100%"!==o&&"100vw"!==o),l=!("100%"!==i&&"100vh"!==i||s&&"100%"!==s&&"100vh"!==s);e.position=this._cssPosition,e.marginLeft=a?"0":this._leftOffset,e.marginTop=l?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,a?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove(U),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}let G=(()=>{class e{constructor(e,t,n,r){this._viewportRuler=e,this._document=t,this._platform=n,this._overlayContainer=r}global(){return new $}connectedTo(e,t,n){return new H(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(e){return new N(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](r.d),i["\u0275\u0275inject"](a.d),i["\u0275\u0275inject"](o.a),i["\u0275\u0275inject"](T))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(r.d),Object(i["\u0275\u0275inject"])(a.d),Object(i["\u0275\u0275inject"])(o.a),Object(i["\u0275\u0275inject"])(T))},token:e,providedIn:"root"}),e})(),W=0,Y=(()=>{class e{constructor(e,t,n,r,i,o,s,a,l,c,u){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=n,this._positionBuilder=r,this._keyboardDispatcher=i,this._injector=o,this._ngZone=s,this._document=a,this._directionality=l,this._location=c,this._outsideClickDispatcher=u}create(e){const t=this._createHostElement(),n=this._createPaneElement(t),r=this._createPortalOutlet(n),i=new E(e);return i.direction=i.direction||this._directionality.value,new D(r,t,n,i,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const t=this._document.createElement("div");return t.id="cdk-overlay-"+W++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(i.ApplicationRef)),new c.d(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](k),i["\u0275\u0275inject"](T),i["\u0275\u0275inject"](i.ComponentFactoryResolver),i["\u0275\u0275inject"](G),i["\u0275\u0275inject"](M),i["\u0275\u0275inject"](i.Injector),i["\u0275\u0275inject"](i.NgZone),i["\u0275\u0275inject"](a.d),i["\u0275\u0275inject"](s.b),i["\u0275\u0275inject"](a.i),i["\u0275\u0275inject"](R))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();const q=[{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"}],Z=new i.InjectionToken("cdk-connected-overlay-scroll-strategy");let Q=(()=>{class e{constructor(e){this.elementRef=e}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ElementRef))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),e})(),X=(()=>{class e{constructor(e,t,n,r,o){this._overlay=e,this._dir=o,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=d.a.EMPTY,this._attachSubscription=d.a.EMPTY,this._detachSubscription=d.a.EMPTY,this._positionSubscription=d.a.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new i.EventEmitter,this.positionChange=new i.EventEmitter,this.attach=new i.EventEmitter,this.detach=new i.EventEmitter,this.overlayKeydown=new i.EventEmitter,this.overlayOutsideClick=new i.EventEmitter,this._templatePortal=new c.f(t,n),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Object(l.b)(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=Object(l.b)(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=Object(l.b)(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=Object(l.b)(e)}get push(){return this._push}set push(e){this._push=Object(l.b)(e)}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(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=q);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(e=>{this.overlayKeydown.next(e),e.keyCode!==b.e||this.disableClose||Object(b.q)(e)||(e.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(e=>{this.overlayOutsideClick.next(e)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new E({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){const t=this.positions.map(e=>({originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||this.offsetX,offsetY:e.offsetY||this.offsetY,panelClass:e.panelClass||void 0}));return e.setOrigin(this.origin.elementRef).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e}_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(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(e,t=!1){return n=>n.lift(new g(e,t))}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](Y),i["\u0275\u0275directiveInject"](i.TemplateRef),i["\u0275\u0275directiveInject"](i.ViewContainerRef),i["\u0275\u0275directiveInject"](Z),i["\u0275\u0275directiveInject"](s.b,8))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[i["\u0275\u0275NgOnChangesFeature"]]}),e})();const K={provide:Z,deps:[Y],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};let J=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({providers:[Y,K],imports:[[s.a,c.e,r.c],r.c]}),e})()},"1z/I":function(e,t,n){"use strict";n.d(t,"a",function(){return c}),n.d(t,"b",function(){return d}),n.d(t,"c",function(){return s}),n.d(t,"d",function(){return u}),n.d(t,"e",function(){return h}),n.d(t,"f",function(){return a});var r=n("8Y7J"),i=n("SVse");class o{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class s extends o{constructor(e,t,n,r){super(),this.component=e,this.viewContainerRef=t,this.injector=n,this.componentFactoryResolver=r}}class a extends o{constructor(e,t,n){super(),this.templateRef=e,this.viewContainerRef=t,this.context=n}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}}class l extends o{constructor(e){super(),this.element=e instanceof r.ElementRef?e.nativeElement:e}}class c{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){return e instanceof s?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof a?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof l?(this._attachedPortal=e,this.attachDomPortal(e)):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(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class u extends c{constructor(e,t,n,r,i){super(),this.outletElement=e,this._componentFactoryResolver=t,this._appRef=n,this._defaultInjector=r,this.attachDomPortal=e=>{const t=e.element,n=this._document.createComment("dom-portal");t.parentNode.insertBefore(n,t),this.outletElement.appendChild(t),this._attachedPortal=e,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(t,n)})},this._document=i}attachComponentPortal(e){const t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);let n;return e.viewContainerRef?(n=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=t.create(e.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=e,n}attachTemplatePortal(e){let t=e.viewContainerRef,n=t.createEmbeddedView(e.templateRef,e.context);return n.rootNodes.forEach(e=>this.outletElement.appendChild(e)),n.detectChanges(),this.setDisposeFn(()=>{let e=t.indexOf(n);-1!==e&&t.remove(e)}),this._attachedPortal=e,n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}let d=(()=>{class e extends c{constructor(e,t,n){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new r.EventEmitter,this.attachDomPortal=e=>{const t=e.element,n=this._document.createComment("dom-portal");e.setAttachedHost(this),t.parentNode.insertBefore(n,t),this._getRootNode().appendChild(t),this._attachedPortal=e,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(t,n)})},this._document=n}get portal(){return this._attachedPortal}set portal(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,n=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r=t.createComponent(n,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);const t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ComponentFactoryResolver),r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](i.d))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[r["\u0275\u0275InheritDefinitionFeature"]]}),e})(),h=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({}),e})()},"2QA8":function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2Vo4":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("XNiG"),i=n("9ppp");class o extends r.a{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new i.a;return this._value}next(e){super.next(this._value=e)}}},"2fFW":function(e,t,n){"use strict";n.d(t,"a",function(){return i});let r=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},"3E0/":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("D0XW"),i=n("7o/Q"),o=n("WMd4");function s(e,t=r.a){var n;const i=(n=e)instanceof Date&&!isNaN(+n)?+e-t.now():Math.abs(e);return e=>e.lift(new a(i,t))}class a{constructor(e,t){this.delay=e,this.scheduler=t}call(e,t){return t.subscribe(new l(e,this.delay,this.scheduler))}}class l extends i.a{constructor(e,t,n){super(e),this.delay=t,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(e){const t=e.source,n=t.queue,r=e.scheduler,i=e.destination;for(;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){const t=Math.max(0,n[0].time-r.now());this.schedule(e,t)}else this.unsubscribe(),t.active=!1}_schedule(e){this.active=!0,this.destination.add(e.schedule(l.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}scheduleNotification(e){if(!0===this.errored)return;const t=this.scheduler,n=new c(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}_next(e){this.scheduleNotification(o.a.createNext(e))}_error(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}_complete(){this.scheduleNotification(o.a.createComplete()),this.unsubscribe()}}class c{constructor(e,t){this.time=e,this.notification=t}}},"3N8a":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("quSY");class i extends r.a{constructor(e,t){super()}schedule(e,t=0){return this}}class o extends i{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n,r=!1;try{this.work(e)}catch(i){r=!0,n=!!i&&i||new Error(i)}if(r)return this.unsubscribe(),n}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}},"3UWI":function(e,t,n){"use strict";n.d(t,"a",function(){return h});var r=n("D0XW"),i=n("zx2A");class o{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new s(e,this.durationSelector))}}class s extends i.b{constructor(e,t){super(e),this.durationSelector=t,this.hasValue=!1}_next(e){if(this.value=e,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:t}=this;n=t(e)}catch(t){return this.destination.error(t)}const r=Object(i.c)(n,new i.a(this));!r||r.closed?this.clearThrottle():this.add(this.throttled=r)}}clearThrottle(){const{value:e,hasValue:t,throttled:n}=this;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),t&&(this.value=void 0,this.hasValue=!1,this.destination.next(e))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var a=n("HDdC"),l=n("DH7j");function c(e){return!Object(l.a)(e)&&e-parseFloat(e)+1>=0}var u=n("z+Ro");function d(e){const{index:t,period:n,subscriber:r}=e;if(r.next(t),!r.closed){if(-1===n)return r.complete();e.index=t+1,this.schedule(e,n)}}function h(e,t=r.a){return n=()=>function(e=0,t,n){let i=-1;return c(t)?i=Number(t)<1?1:Number(t):Object(u.a)(t)&&(n=t),Object(u.a)(n)||(n=r.a),new a.a(t=>{const r=c(e)?e:+e-n.now();return n.schedule(d,r,{index:0,period:i,subscriber:t})})}(e,t),function(e){return e.lift(new o(n))};var n}},"4I5i":function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})()},"4iSV":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("8Y7J");let i=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({}),e})()},"4tXz":function(e,t,n){"use strict";function r(e){return e>=0?e:0}function i(e){switch(typeof e){case"string":return Number(e.replace(/\s/g,""));case"number":return e;default:return null}}n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i})},"5+tZ":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("lJxs"),i=n("Cfvw"),o=n("zx2A");function s(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?o=>o.pipe(s((n,o)=>Object(i.a)(e(n,o)).pipe(Object(r.a)((e,r)=>t(n,e,o,r))),n)):("number"==typeof t&&(n=t),t=>t.lift(new a(e,n)))}class a{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new l(e,this.project,this.concurrent))}}class l extends o.b{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t)}_innerSub(e){const t=new o.a(this),n=this.destination;n.add(t);const r=Object(o.c)(e,t);r!==t&&n.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"6rF9":function(e,t,n){"use strict";function r(e,t){document.documentElement.style.setProperty(e,t)}function i(e){return e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(e,t,n)=>"#"+e+e+t+t+n+n).substring(1).match(/.{2}/g).map(e=>parseInt(e,16)).join(",")}n.d(t,"i",function(){return r}),n.d(t,"e",function(){return i}),n.d(t,"g",function(){return s}),n.d(t,"d",function(){return a}),n.d(t,"h",function(){return l}),n.d(t,"a",function(){return u}),n.d(t,"f",function(){return d}),n.d(t,"c",function(){return h}),n.d(t,"j",function(){return p.b}),n.d(t,"b",function(){return f});var o=n("s7LF");function s(e){return!!e&&(e.pristine||e.valid)}function a(e){if(!e.errors)return"";const t=e.errors;return Object.keys(e.errors).map(e=>{switch(e){case"pattern":case"invalidDate":return"\u0412\u0432\u0435\u0434\u0435\u043d\u043e \u043d\u0435\u0432\u0435\u0440\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435";case"required":return"\u042d\u0442\u043e \u043f\u043e\u043b\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f";case"max":return`\u0412\u0432\u0435\u0434\u0435\u043d\u043e \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 (\u043c\u0430\u043a\u0441. ${t[e].max})`;case"min":return`\u0412\u0432\u0435\u0434\u0435\u043d\u043e \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 (\u043c\u0438\u043d. ${t[e].min})`;case"minlength":return`\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043c\u0438\u043d\u0438\u043c\u0443\u043c ${t[e].requiredLength} \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432`;case"errorDescription":return`${t[e]}`;case"maxlength":return"\u0421\u043b\u0438\u0448\u043a\u043e\u043c \u0434\u043b\u0438\u043d\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442";default:return null}}).filter(e=>!!e).join("\r\n")}function l(e){!function(e,t){for(const n in e.controls){const r=e.get(n);r&&(r.errors&&t(r),r instanceof o.FormGroup&&this.traversalInvalidControls(r,t),r instanceof o.FormArray&&r.controls.forEach(e=>this.traversalInvalidControls(e,t)))}}(e,e=>e.markAsDirty())}var c=n("7l3C");let u=(()=>{class e{static extendValidatorWithErrorDescription(e,t,n=!0){return r=>{const i=e(r);return i?n?{errorDescription:t,originalResult:i}:i:null}}}return e.nameValidator=e.extendValidatorWithErrorDescription(o.Validators.pattern(c.b.namePattern),"\u0418\u043c\u044f \u0434\u043e\u043b\u0436\u043d\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u0442\u044c \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u0438\u0437 2-\u0445 \u0431\u0443\u043a\u0432"),e.mobilePhoneValidator=e.extendValidatorWithErrorDescription(o.Validators.pattern(c.b.mobilePhonePattern),"\u0423\u043a\u0430\u0436\u0438\u0442\u0435 \u043d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430"),e.agreementCheckBoxValidator=e.extendValidatorWithErrorDescription(o.Validators.requiredTrue,"\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u0430\u0448\u0435 \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0435, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c"),e})();function d(e=[],...t){return t=t.map(e=>new Set(e)),e.filter(e=>t.every(t=>t.has(e)))}function h(e,t,n){return e&&e.length>0?`http://${e}?regionId=${n}`:t?`/?regionId=${n}`:null}var p=n("4tXz");function f(e){if(!e)return"\u20bd";switch(e){case 201:return"\u0e3f";default:return"\u20bd"}}},"7+OI":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("HDdC");function i(e){return!!e&&(e instanceof r.a||"function"==typeof e.lift&&"function"==typeof e.subscribe)}},"7Hc7":function(e,t,n){"use strict";n.d(t,"a",function(){return h});let r=1;const i=(()=>Promise.resolve())(),o={};function s(e){return e in o&&(delete o[e],!0)}const a={setImmediate(e){const t=r++;return o[t]=!0,i.then(()=>s(t)&&e()),t},clearImmediate(e){s(e)}};var l=n("3N8a");class c extends l.a{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=a.setImmediate(e.flush.bind(e,null))))}recycleAsyncId(e,t,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(e,t,n);0===e.actions.length&&(a.clearImmediate(t),e.scheduled=void 0)}}var u=n("IjjT");class d extends u.a{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let n,r=-1,i=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++r<i&&(e=t.shift()));if(this.active=!1,n){for(;++r<i&&(e=t.shift());)e.unsubscribe();throw n}}}const h=new d(c)},"7KAL":function(e,t,n){"use strict";n.d(t,"a",function(){return g}),n.d(t,"b",function(){return f}),n.d(t,"c",function(){return _}),n.d(t,"d",function(){return m});var r=n("8LU1"),i=n("8Y7J"),o=n("XNiG"),s=n("LRne"),a=n("HDdC"),l=n("xgIS");n("3N8a"),n("IjjT"),n("7Hc7");var c=(n("quSY"),n("7+OI"),n("/uUt"),n("3UWI")),u=n("pLZG");n("1G5W"),n("JX91"),n("7o/Q"),n("eIep"),n("WMd4"),n("9ppp"),n("Ylt2");var d=n("SCoL"),h=n("SVse"),p=n("9gLZ");n("CtHx");let f=(()=>{class e{constructor(e,t,n){this._ngZone=e,this._platform=t,this._scrolled=new o.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new a.a(t=>{this._globalSubscription||this._addGlobalListener();const n=e>0?this._scrolled.pipe(Object(c.a)(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Object(s.a)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(Object(u.a)(e=>!e||n.indexOf(e)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((n,r)=>{this._scrollableContainsElement(r,e)&&t.push(r)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let n=Object(r.d)(t),i=e.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const e=this._getWindow();return Object(l.a)(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](i.NgZone),i["\u0275\u0275inject"](d.a),i["\u0275\u0275inject"](h.d,8))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(i.NgZone),Object(i["\u0275\u0275inject"])(d.a),Object(i["\u0275\u0275inject"])(h.d,8))},token:e,providedIn:"root"}),e})(),m=(()=>{class e{constructor(e,t,n){this._platform=e,this._change=new o.a,this._changeListener=e=>{this._change.next(e)},this._document=n,t.runOutsideAngular(()=>{if(e.isBrowser){const e=this._getWindow();e.addEventListener("resize",this._changeListener),e.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:n}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+n,right:e.left+t,height:n,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,t=this._getWindow(),n=e.documentElement,r=n.getBoundingClientRect();return{top:-r.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-r.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(Object(c.a)(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](d.a),i["\u0275\u0275inject"](i.NgZone),i["\u0275\u0275inject"](h.d,8))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(d.a),Object(i["\u0275\u0275inject"])(i.NgZone),Object(i["\u0275\u0275inject"])(h.d,8))},token:e,providedIn:"root"}),e})(),g=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({}),e})(),_=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[[p.a,d.b,g],p.a,g]}),e})()},"7UyQ":function(e,t,n){"use strict";n.d(t,"a",function(){return d});var r=n("8Y7J"),i=n("pFkP"),o=n("8wYR");let s=(()=>{class e{constructor(){this.metroList=o,this.metroNamePipe=new i.e}getMetroStationColor(e,t){if(t){const n=this.metroList.find(e=>e.id===t);if(n){const t=this.metroNamePipe.transform(e),r=n.stations.find(e=>e.name.includes(t));if(r)return`#${r.hex_color}`}}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var a=n("SVse"),l=n("fGr/");const c=function(e){return{color:e}};function u(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"div",1),r["\u0275\u0275elementStart"](1,"span",2),r["\u0275\u0275elementStart"](2,"span"),r["\u0275\u0275text"](3),r["\u0275\u0275pipe"](4,"metroName"),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275property"]("ngStyle",r["\u0275\u0275pureFunction1"](4,c,e.metroColor)),r["\u0275\u0275advance"](3),r["\u0275\u0275textInterpolate"](r["\u0275\u0275pipeBind1"](4,2,e.metroStation))}}let d=(()=>{class e{constructor(e,t){this.subwayService=e,this.cd=t,this.metroStation=null}ngOnChanges(e){this.metroColor=this.subwayService.getMetroStationColor(this.metroStation,this.regionId.toString()),this.cd.detectChanges()}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](s),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["app-subway"]],inputs:{metroStation:"metroStation",regionId:"regionId"},features:[r["\u0275\u0275NgOnChangesFeature"]],decls:1,vars:1,consts:[["class","subway",3,"ngStyle",4,"ngIf"],[1,"subway",3,"ngStyle"],[1,"subway__name"]],template:function(e,t){1&e&&r["\u0275\u0275template"](0,u,5,6,"div",0),2&e&&r["\u0275\u0275property"]("ngIf",t.metroStation)},directives:[a.m,a.n],pipes:[l.a],styles:['.subway[_ngcontent-%COMP%]{display:inline-flex;align-items:baseline;gap:6px}.subway[_ngcontent-%COMP%]:before{--size:8px;content:"";position:relative;top:-1px;display:block;width:var(--size);height:var(--size);border-radius:50%;background-color:currentColor}.subway__name[_ngcontent-%COMP%]{font-size:14px;line-height:145%;color:RGB(var(--color-contrast-700,71,70,69))}.subway__name[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{text-transform:capitalize}'],changeDetection:0}),e})()},"7l3C":function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"a",function(){return s});const r={emailPattern:"^([\\w\\.\\-]+)@([\\w\\-]+)((\\.(\\w){2,})+)$",mobilePhonePattern:"\\+{0,1}(7|8)\\s*\\({0,1}\\d{3}\\){0,1}\\s*\\d{3}-{0,1}\\s*\\d{2}-{0,1}\\s*\\d{2}",namePattern:"[\\s\\a-zA-Z\u0451\u0430-\u044f\u0401A-\u042f-]{2,50}",fullNamePattern:"[a-zA-Z\u0451\u0430-\u044f\u0401A-\u042f-]{2,20}(\\s[a-zA-Z\u0451\u0430-\u044f\u0401A-\u042f-]{2,20}){1,3}"};var i=n("lY5u"),o=n.n(i);const s={numberMask:o()({prefix:"",suffix:"",thousandsSeparatorSymbol:" "}),priceMask:o()({prefix:"",suffix:"",thousandsSeparatorSymbol:" ",integerLimit:10}),percentMask:o()({prefix:"",suffix:"",thousandsSeparatorSymbol:"",integerLimit:2,allowDecimal:!0,decimalLimit:2}),phoneMask:e=>{const t=["+",/[78]/," ","(",/\d/,/\d/,/\d/,")"," ",/\d/,/\d/,/\d/,"-",/\d/,/\d/,"-",/\d/,/\d/];return e&&1===e.length&&"7"!==e&&(t[1]="7",t[4]=/ /),t},createNumberMask:e=>o()({prefix:"",suffix:"",thousandsSeparatorSymbol:"",includeThousandsSeparator:!1,integerLimit:e,allowLeadingZeroes:!0})}},"7mzw":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("8Y7J");let i=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["close-btn"]],decls:3,vars:0,consts:[["id","close-btn","aria-label","close-btn"],["viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M6.7951 5.30799C6.38445 4.89734 5.71864 4.89734 5.30799 5.30799C4.89734 5.71865 4.89734 6.38445 5.30799 6.7951L10.5129 12L5.30804 17.2049C4.89739 17.6156 4.89739 18.2814 5.30804 18.692C5.71869 19.1027 6.3845 19.1027 6.79515 18.692L12 13.4871L17.2049 18.692C17.6155 19.1026 18.2813 19.1026 18.692 18.692C19.1026 18.2813 19.1026 17.6155 18.692 17.2049L13.4871 12L18.692 6.79512C19.1027 6.38446 19.1027 5.71866 18.692 5.30801C18.2814 4.89735 17.6156 4.89735 17.2049 5.30801L12 10.5129L6.7951 5.30799Z","fill","currentColor"]],template:function(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"button",0),r["\u0275\u0275namespaceSVG"](),r["\u0275\u0275elementStart"](1,"svg",1),r["\u0275\u0275element"](2,"path",2),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]())},styles:["[_nghost-%COMP%]{display:inline-block;line-height:0}button[_ngcontent-%COMP%]{width:24px;height:24px;padding:0;border:0;background-color:initial;line-height:0;color:RGB(var(--smoky-black-color));cursor:pointer;outline:none}svg[_ngcontent-%COMP%]{width:100%;height:100%;line-height:inherit}"],changeDetection:0}),e})()},"7o/Q":function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n("n6bG"),i=n("gRHU"),o=n("quSY"),s=n("2QA8"),a=n("2fFW"),l=n("NJ4a");class c extends o.a{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=i.a;break;case 1:if(!e){this.destination=i.a;break}if("object"==typeof e){e instanceof c?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new u(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new u(this,e,t,n)}}[s.a](){return this}static create(e,t,n){const r=new c(e,t,n);return r.syncErrorThrowable=!1,r}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class u extends c{constructor(e,t,n,o){let s;super(),this._parentSubscriber=e;let a=this;Object(r.a)(t)?s=t:t&&(s=t.next,n=t.error,o=t.complete,t!==i.a&&(a=Object.create(t),Object(r.a)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=s,this._error=n,this._complete=o}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;a.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=a.a;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):Object(l.a)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;Object(l.a)(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);a.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),a.a.useDeprecatedSynchronousErrorHandling)throw n;Object(l.a)(n)}}__tryOrSetError(e,t,n){if(!a.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return a.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(Object(l.a)(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}},"8LU1":function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return a}),n.d(t,"d",function(){return l}),n.d(t,"e",function(){return o}),n.d(t,"f",function(){return c});var r=n("8Y7J");function i(e){return null!=e&&"false"!=`${e}`}function o(e,t=0){return function(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):t}function s(e){return Array.isArray(e)?e:[e]}function a(e){return null==e?"":"string"==typeof e?e:`${e}px`}function l(e){return e instanceof r.ElementRef?e.nativeElement:e}function c(e,t=/\s+/){const n=[];if(null!=e){const r=Array.isArray(e)?e:`${e}`.split(t);for(const e of r){const t=`${e}`.trim();t&&n.push(t)}}return n}},"8Y7J":function(e,t,n){"use strict";n.r(t),n.d(t,"ANALYZE_FOR_ENTRY_COMPONENTS",function(){return Bn}),n.d(t,"APP_BOOTSTRAP_LISTENER",function(){return rb}),n.d(t,"APP_ID",function(){return X_}),n.d(t,"APP_INITIALIZER",function(){return Z_}),n.d(t,"ApplicationInitStatus",function(){return Q_}),n.d(t,"ApplicationModule",function(){return Gv}),n.d(t,"ApplicationRef",function(){return rv}),n.d(t,"Attribute",function(){return Nn}),n.d(t,"COMPILER_OPTIONS",function(){return Cb}),n.d(t,"CUSTOM_ELEMENTS_SCHEMA",function(){return Yi}),n.d(t,"ChangeDetectionStrategy",function(){return V}),n.d(t,"ChangeDetectorRef",function(){return Pp}),n.d(t,"Compiler",function(){return xb}),n.d(t,"CompilerFactory",function(){return Ob}),n.d(t,"Component",function(){return T_}),n.d(t,"ComponentFactory",function(){return Hh}),n.d(t,"ComponentFactoryResolver",function(){return Wh}),n.d(t,"ComponentRef",function(){return zh}),n.d(t,"ContentChild",function(){return Un}),n.d(t,"ContentChildren",function(){return Hn}),n.d(t,"DEFAULT_CURRENCY_CODE",function(){return ab}),n.d(t,"DebugElement",function(){return Lv}),n.d(t,"DebugEventListener",function(){return gv}),n.d(t,"DebugNode",function(){return Fv}),n.d(t,"DefaultIterableDiffer",function(){return hp}),n.d(t,"Directive",function(){return A_}),n.d(t,"ElementRef",function(){return ep}),n.d(t,"EmbeddedViewRef",function(){return mv}),n.d(t,"ErrorHandler",function(){return Wi}),n.d(t,"EventEmitter",function(){return jg}),n.d(t,"Host",function(){return Ir}),n.d(t,"HostBinding",function(){return N_}),n.d(t,"HostListener",function(){return V_}),n.d(t,"INJECTOR",function(){return ga}),n.d(t,"Inject",function(){return Or}),n.d(t,"InjectFlags",function(){return A}),n.d(t,"Injectable",function(){return Ql}),n.d(t,"InjectionToken",function(){return Vn}),n.d(t,"Injector",function(){return Ta}),n.d(t,"Input",function(){return F_}),n.d(t,"IterableDiffers",function(){return wp}),n.d(t,"KeyValueDiffers",function(){return Cp}),n.d(t,"LOCALE_ID",function(){return sb}),n.d(t,"MissingTranslationStrategy",function(){return ub}),n.d(t,"ModuleWithComponentFactories",function(){return pb}),n.d(t,"NO_ERRORS_SCHEMA",function(){return qi}),n.d(t,"NgModule",function(){return W_}),n.d(t,"NgModuleFactory",function(){return Hp}),n.d(t,"NgModuleFactoryLoader",function(){return ov}),n.d(t,"NgModuleRef",function(){return zp}),n.d(t,"NgProbeToken",function(){return Zb}),n.d(t,"NgZone",function(){return Eb}),n.d(t,"Optional",function(){return Sr}),n.d(t,"Output",function(){return L_}),n.d(t,"PACKAGE_ROOT_URL",function(){return ib}),n.d(t,"PLATFORM_ID",function(){return nb}),n.d(t,"PLATFORM_INITIALIZER",function(){return tb}),n.d(t,"Pipe",function(){return D_}),n.d(t,"PlatformRef",function(){return tv}),n.d(t,"Query",function(){return zn}),n.d(t,"QueryList",function(){return Rg}),n.d(t,"ReflectiveInjector",function(){return yc}),n.d(t,"ReflectiveKey",function(){return rc}),n.d(t,"Renderer2",function(){return rp}),n.d(t,"RendererFactory2",function(){return np}),n.d(t,"RendererStyleFlags2",function(){return fo}),n.d(t,"ResolvedReflectiveFactory",function(){return dc}),n.d(t,"Sanitizer",function(){return ap}),n.d(t,"SecurityContext",function(){return Ri}),n.d(t,"Self",function(){return kr}),n.d(t,"SimpleChange",function(){return Ie}),n.d(t,"SkipSelf",function(){return Er}),n.d(t,"SystemJsNgModuleLoader",function(){return hv}),n.d(t,"SystemJsNgModuleLoaderConfig",function(){return uv}),n.d(t,"TRANSLATIONS",function(){return lb}),n.d(t,"TRANSLATIONS_FORMAT",function(){return cb}),n.d(t,"TemplateRef",function(){return Fp}),n.d(t,"Testability",function(){return Tb}),n.d(t,"TestabilityRegistry",function(){return Db}),n.d(t,"Type",function(){return qn}),n.d(t,"VERSION",function(){return cp}),n.d(t,"Version",function(){return lp}),n.d(t,"ViewChild",function(){return Gn}),n.d(t,"ViewChildren",function(){return $n}),n.d(t,"ViewContainerRef",function(){return Gp}),n.d(t,"ViewEncapsulation",function(){return H}),n.d(t,"ViewRef",function(){return fv}),n.d(t,"WrappedValue",function(){return fl}),n.d(t,"asNativeElements",function(){return vv}),n.d(t,"assertPlatform",function(){return Kb}),n.d(t,"createPlatform",function(){return Qb}),n.d(t,"createPlatformFactory",function(){return Xb}),n.d(t,"defineInjectable",function(){return O}),n.d(t,"destroyPlatform",function(){return Jb}),n.d(t,"enableProdMode",function(){return Ub}),n.d(t,"forwardRef",function(){return m}),n.d(t,"getDebugNode",function(){return Rv}),n.d(t,"getModuleFactory",function(){return lv}),n.d(t,"getPlatform",function(){return ev}),n.d(t,"inject",function(){return yr}),n.d(t,"isDevMode",function(){return Hb}),n.d(t,"platformCore",function(){return Nv}),n.d(t,"resolveForwardRef",function(){return g}),n.d(t,"setTestabilityGetter",function(){return Lb}),n.d(t,"\u02750",function(){return Cr}),n.d(t,"\u0275ALLOW_MULTIPLE_PLATFORMS",function(){return qb}),n.d(t,"\u0275APP_ID_RANDOM_PROVIDER",function(){return J_}),n.d(t,"\u0275CREATE_ATTRIBUTE_DECORATOR__POST_R3__",function(){return Ln}),n.d(t,"\u0275ChangeDetectorStatus",function(){return B}),n.d(t,"\u0275CodegenComponentFactoryResolver",function(){return Yh}),n.d(t,"\u0275Compiler_compileModuleAndAllComponentsAsync__POST_R3__",function(){return yb}),n.d(t,"\u0275Compiler_compileModuleAndAllComponentsSync__POST_R3__",function(){return bb}),n.d(t,"\u0275Compiler_compileModuleAsync__POST_R3__",function(){return gb}),n.d(t,"\u0275Compiler_compileModuleSync__POST_R3__",function(){return fb}),n.d(t,"\u0275ComponentFactory",function(){return Hh}),n.d(t,"\u0275Console",function(){return ob}),n.d(t,"\u0275DEFAULT_LOCALE_ID",function(){return kd}),n.d(t,"\u0275EMPTY_ARRAY",function(){return Yf}),n.d(t,"\u0275EMPTY_MAP",function(){return qf}),n.d(t,"\u0275INJECTOR_IMPL__POST_R3__",function(){return Ra}),n.d(t,"\u0275INJECTOR_SCOPE",function(){return ba}),n.d(t,"\u0275LifecycleHooksFeature",function(){return el}),n.d(t,"\u0275LocaleDataIndex",function(){return Od}),n.d(t,"\u0275NG_COMP_DEF",function(){return X}),n.d(t,"\u0275NG_DIR_DEF",function(){return K}),n.d(t,"\u0275NG_ELEMENT_ID",function(){return re}),n.d(t,"\u0275NG_INJ_DEF",function(){return j}),n.d(t,"\u0275NG_MOD_DEF",function(){return ee}),n.d(t,"\u0275NG_PIPE_DEF",function(){return J}),n.d(t,"\u0275NG_PROV_DEF",function(){return P}),n.d(t,"\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",function(){return Vm}),n.d(t,"\u0275NO_CHANGE",function(){return us}),n.d(t,"\u0275NgModuleFactory",function(){return ig}),n.d(t,"\u0275NoopNgZone",function(){return Ab}),n.d(t,"\u0275ReflectionCapabilities",function(){return lr}),n.d(t,"\u0275Render3ComponentFactory",function(){return Zm}),n.d(t,"\u0275Render3ComponentRef",function(){return Qm}),n.d(t,"\u0275Render3NgModuleRef",function(){return rg}),n.d(t,"\u0275RuntimeError",function(){return b}),n.d(t,"\u0275SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__",function(){return Ep}),n.d(t,"\u0275SWITCH_COMPILE_COMPONENT__POST_R3__",function(){return B_}),n.d(t,"\u0275SWITCH_COMPILE_DIRECTIVE__POST_R3__",function(){return z_}),n.d(t,"\u0275SWITCH_COMPILE_INJECTABLE__POST_R3__",function(){return Xl}),n.d(t,"\u0275SWITCH_COMPILE_NGMODULE__POST_R3__",function(){return Y_}),n.d(t,"\u0275SWITCH_COMPILE_PIPE__POST_R3__",function(){return H_}),n.d(t,"\u0275SWITCH_ELEMENT_REF_FACTORY__POST_R3__",function(){return Kh}),n.d(t,"\u0275SWITCH_IVY_ENABLED__POST_R3__",function(){return db}),n.d(t,"\u0275SWITCH_RENDERER2_FACTORY__POST_R3__",function(){return ip}),n.d(t,"\u0275SWITCH_TEMPLATE_REF_FACTORY__POST_R3__",function(){return Tp}),n.d(t,"\u0275SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__",function(){return Up}),n.d(t,"\u0275_sanitizeHtml",function(){return ji}),n.d(t,"\u0275_sanitizeUrl",function(){return hi}),n.d(t,"\u0275allowSanitizationBypassAndThrow",function(){return ei}),n.d(t,"\u0275and",function(){return Wv}),n.d(t,"\u0275angular_packages_core_core_a",function(){return _}),n.d(t,"\u0275angular_packages_core_core_b",function(){return _r}),n.d(t,"\u0275angular_packages_core_core_ba",function(){return $v}),n.d(t,"\u0275angular_packages_core_core_bb",function(){return Ed}),n.d(t,"\u0275angular_packages_core_core_bc",function(){return Rm}),n.d(t,"\u0275angular_packages_core_core_bd",function(){return cf}),n.d(t,"\u0275angular_packages_core_core_be",function(){return je}),n.d(t,"\u0275angular_packages_core_core_bf",function(){return qm}),n.d(t,"\u0275angular_packages_core_core_bg",function(){return mn}),n.d(t,"\u0275angular_packages_core_core_bh",function(){return at}),n.d(t,"\u0275angular_packages_core_core_bi",function(){return bt}),n.d(t,"\u0275angular_packages_core_core_bj",function(){return Lt}),n.d(t,"\u0275angular_packages_core_core_bl",function(){return gg}),n.d(t,"\u0275angular_packages_core_core_bm",function(){return _g}),n.d(t,"\u0275angular_packages_core_core_bn",function(){return bg}),n.d(t,"\u0275angular_packages_core_core_bo",function(){return vg}),n.d(t,"\u0275angular_packages_core_core_bp",function(){return yg}),n.d(t,"\u0275angular_packages_core_core_bq",function(){return Bi}),n.d(t,"\u0275angular_packages_core_core_br",function(){return Fn}),n.d(t,"\u0275angular_packages_core_core_bs",function(){return Dn}),n.d(t,"\u0275angular_packages_core_core_bv",function(){return u}),n.d(t,"\u0275angular_packages_core_core_bw",function(){return _a}),n.d(t,"\u0275angular_packages_core_core_bx",function(){return D}),n.d(t,"\u0275angular_packages_core_core_bz",function(){return We}),n.d(t,"\u0275angular_packages_core_core_c",function(){return xr}),n.d(t,"\u0275angular_packages_core_core_cb",function(){return bo}),n.d(t,"\u0275angular_packages_core_core_cc",function(){return Sh}),n.d(t,"\u0275angular_packages_core_core_d",function(){return wc}),n.d(t,"\u0275angular_packages_core_core_e",function(){return lc}),n.d(t,"\u0275angular_packages_core_core_f",function(){return fc}),n.d(t,"\u0275angular_packages_core_core_g",function(){return K_}),n.d(t,"\u0275angular_packages_core_core_h",function(){return sp}),n.d(t,"\u0275angular_packages_core_core_i",function(){return Qh}),n.d(t,"\u0275angular_packages_core_core_j",function(){return Xh}),n.d(t,"\u0275angular_packages_core_core_k",function(){return sv}),n.d(t,"\u0275angular_packages_core_core_l",function(){return Vp}),n.d(t,"\u0275angular_packages_core_core_m",function(){return Bp}),n.d(t,"\u0275angular_packages_core_core_n",function(){return Wp}),n.d(t,"\u0275angular_packages_core_core_o",function(){return _v}),n.d(t,"\u0275angular_packages_core_core_p",function(){return bv}),n.d(t,"\u0275angular_packages_core_core_q",function(){return Av}),n.d(t,"\u0275angular_packages_core_core_r",function(){return jp}),n.d(t,"\u0275angular_packages_core_core_s",function(){return up}),n.d(t,"\u0275angular_packages_core_core_t",function(){return _p}),n.d(t,"\u0275angular_packages_core_core_u",function(){return yp}),n.d(t,"\u0275angular_packages_core_core_v",function(){return xp}),n.d(t,"\u0275angular_packages_core_core_w",function(){return Vv}),n.d(t,"\u0275angular_packages_core_core_x",function(){return Bv}),n.d(t,"\u0275angular_packages_core_core_y",function(){return zv}),n.d(t,"\u0275angular_packages_core_core_z",function(){return Uv}),n.d(t,"\u0275bypassSanitizationTrustHtml",function(){return ni}),n.d(t,"\u0275bypassSanitizationTrustResourceUrl",function(){return si}),n.d(t,"\u0275bypassSanitizationTrustScript",function(){return ii}),n.d(t,"\u0275bypassSanitizationTrustStyle",function(){return ri}),n.d(t,"\u0275bypassSanitizationTrustUrl",function(){return oi}),n.d(t,"\u0275ccf",function(){return am}),n.d(t,"\u0275clearOverrides",function(){return yw}),n.d(t,"\u0275clearResolutionOfComponentResourcesQueue",function(){return Lr}),n.d(t,"\u0275cmf",function(){return ww}),n.d(t,"\u0275compileComponent",function(){return g_}),n.d(t,"\u0275compileDirective",function(){return __}),n.d(t,"\u0275compileNgModule",function(){return o_}),n.d(t,"\u0275compileNgModuleDefs",function(){return s_}),n.d(t,"\u0275compileNgModuleFactory__POST_R3__",function(){return Gb}),n.d(t,"\u0275compilePipe",function(){return M_}),n.d(t,"\u0275createInjector",function(){return Oa}),n.d(t,"\u0275crt",function(){return _f}),n.d(t,"\u0275defaultIterableDiffers",function(){return Rp}),n.d(t,"\u0275defaultKeyValueDiffers",function(){return Ap}),n.d(t,"\u0275detectChanges",function(){return fa}),n.d(t,"\u0275devModeEqual",function(){return pl}),n.d(t,"\u0275did",function(){return Pm}),n.d(t,"\u0275eld",function(){return Yv}),n.d(t,"\u0275findLocaleData",function(){return vd}),n.d(t,"\u0275flushModuleScopingQueueAsMuchAsPossible",function(){return r_}),n.d(t,"\u0275getComponentViewDefinitionFactory",function(){return lm}),n.d(t,"\u0275getDebugNodeR2",function(){return Tv}),n.d(t,"\u0275getDebugNode__POST_R3__",function(){return Mv}),n.d(t,"\u0275getDirectives",function(){return Ba}),n.d(t,"\u0275getHostElement",function(){return Ha}),n.d(t,"\u0275getInjectableDef",function(){return k}),n.d(t,"\u0275getLContext",function(){return eo}),n.d(t,"\u0275getLocaleCurrencyCode",function(){return yd}),n.d(t,"\u0275getLocalePluralCase",function(){return wd}),n.d(t,"\u0275getModuleFactory__POST_R3__",function(){return av}),n.d(t,"\u0275getSanitizationBypassType",function(){return ti}),n.d(t,"\u0275global",function(){return Y}),n.d(t,"\u0275initServicesIfNeeded",function(){return Dy}),n.d(t,"\u0275inlineInterpolate",function(){return Gf}),n.d(t,"\u0275interpolate",function(){return $f}),n.d(t,"\u0275isBoundToModule__POST_R3__",function(){return Yb}),n.d(t,"\u0275isDefaultChangeDetectionStrategy",function(){return z}),n.d(t,"\u0275isListLikeIterable",function(){return ml}),n.d(t,"\u0275isObservable",function(){return Dc}),n.d(t,"\u0275isPromise",function(){return Ac}),n.d(t,"\u0275isSubscribable",function(){return Tc}),n.d(t,"\u0275ivyEnabled",function(){return hb}),n.d(t,"\u0275makeDecorator",function(){return An}),n.d(t,"\u0275markDirty",function(){return ma}),n.d(t,"\u0275mod",function(){return em}),n.d(t,"\u0275mpd",function(){return Jf}),n.d(t,"\u0275ncd",function(){return ry}),n.d(t,"\u0275noSideEffects",function(){return N}),n.d(t,"\u0275nov",function(){return vm}),n.d(t,"\u0275overrideComponentView",function(){return vw}),n.d(t,"\u0275overrideProvider",function(){return bw}),n.d(t,"\u0275pad",function(){return sy}),n.d(t,"\u0275patchComponentDefWithScope",function(){return d_}),n.d(t,"\u0275pid",function(){return jm}),n.d(t,"\u0275pod",function(){return ay}),n.d(t,"\u0275ppd",function(){return oy}),n.d(t,"\u0275prd",function(){return Mm}),n.d(t,"\u0275publishDefaultGlobalUtils",function(){return qa}),n.d(t,"\u0275publishGlobalUtil",function(){return Za}),n.d(t,"\u0275qud",function(){return Kv}),n.d(t,"\u0275registerLocaleData",function(){return bd}),n.d(t,"\u0275registerModuleFactory",function(){return Jm}),n.d(t,"\u0275registerNgModuleType",function(){return tg}),n.d(t,"\u0275renderComponent",function(){return Qa}),n.d(t,"\u0275resetCompiledComponents",function(){return c_}),n.d(t,"\u0275resetJitOptions",function(){return Jg}),n.d(t,"\u0275resolveComponentResources",function(){return Ar}),n.d(t,"\u0275setClassMetadata",function(){return Xm}),n.d(t,"\u0275setCurrentInjector",function(){return gr}),n.d(t,"\u0275setDocument",function(){return Be}),n.d(t,"\u0275setLocaleId",function(){return Rd}),n.d(t,"\u0275store",function(){return Ul}),n.d(t,"\u0275stringify",function(){return h}),n.d(t,"\u0275ted",function(){return cy}),n.d(t,"\u0275transitiveScopesFor",function(){return h_}),n.d(t,"\u0275unregisterLocaleData",function(){return Cd}),n.d(t,"\u0275unv",function(){return ff}),n.d(t,"\u0275unwrapSafeValue",function(){return Jr}),n.d(t,"\u0275vid",function(){return hy}),n.d(t,"\u0275whenRendered",function(){return tl}),n.d(t,"\u0275\u0275CopyDefinitionFeature",function(){return ul}),n.d(t,"\u0275\u0275InheritDefinitionFeature",function(){return rl}),n.d(t,"\u0275\u0275NgOnChangesFeature",function(){return Pe}),n.d(t,"\u0275\u0275ProvidersFeature",function(){return Bh}),n.d(t,"\u0275\u0275advance",function(){return ds}),n.d(t,"\u0275\u0275attribute",function(){return Cl}),n.d(t,"\u0275\u0275attributeInterpolate1",function(){return Al}),n.d(t,"\u0275\u0275attributeInterpolate2",function(){return Tl}),n.d(t,"\u0275\u0275attributeInterpolate3",function(){return Dl}),n.d(t,"\u0275\u0275attributeInterpolate4",function(){return Fl}),n.d(t,"\u0275\u0275attributeInterpolate5",function(){return Ll}),n.d(t,"\u0275\u0275attributeInterpolate6",function(){return Nl}),n.d(t,"\u0275\u0275attributeInterpolate7",function(){return Vl}),n.d(t,"\u0275\u0275attributeInterpolate8",function(){return Bl}),n.d(t,"\u0275\u0275attributeInterpolateV",function(){return zl}),n.d(t,"\u0275\u0275classMap",function(){return gu}),n.d(t,"\u0275\u0275classMapInterpolate1",function(){return Bu}),n.d(t,"\u0275\u0275classMapInterpolate2",function(){return zu}),n.d(t,"\u0275\u0275classMapInterpolate3",function(){return Hu}),n.d(t,"\u0275\u0275classMapInterpolate4",function(){return Uu}),n.d(t,"\u0275\u0275classMapInterpolate5",function(){return $u}),n.d(t,"\u0275\u0275classMapInterpolate6",function(){return Gu}),n.d(t,"\u0275\u0275classMapInterpolate7",function(){return Wu}),n.d(t,"\u0275\u0275classMapInterpolate8",function(){return Yu}),n.d(t,"\u0275\u0275classMapInterpolateV",function(){return qu}),n.d(t,"\u0275\u0275classProp",function(){return pu}),n.d(t,"\u0275\u0275contentQuery",function(){return $g}),n.d(t,"\u0275\u0275defineComponent",function(){return oe}),n.d(t,"\u0275\u0275defineDirective",function(){return pe}),n.d(t,"\u0275\u0275defineInjectable",function(){return C}),n.d(t,"\u0275\u0275defineInjector",function(){return S}),n.d(t,"\u0275\u0275defineNgModule",function(){return ue}),n.d(t,"\u0275\u0275definePipe",function(){return fe}),n.d(t,"\u0275\u0275directiveInject",function(){return xc}),n.d(t,"\u0275\u0275disableBindings",function(){return st}),n.d(t,"\u0275\u0275element",function(){return Ic}),n.d(t,"\u0275\u0275elementContainer",function(){return Mc}),n.d(t,"\u0275\u0275elementContainerEnd",function(){return jc}),n.d(t,"\u0275\u0275elementContainerStart",function(){return Pc}),n.d(t,"\u0275\u0275elementEnd",function(){return Ec}),n.d(t,"\u0275\u0275elementStart",function(){return kc}),n.d(t,"\u0275\u0275enableBindings",function(){return ot}),n.d(t,"\u0275\u0275getCurrentView",function(){return Rc}),n.d(t,"\u0275\u0275getInheritedFactory",function(){return En}),n.d(t,"\u0275\u0275hostProperty",function(){return pd}),n.d(t,"\u0275\u0275i18n",function(){return Ih}),n.d(t,"\u0275\u0275i18nApply",function(){return Mh}),n.d(t,"\u0275\u0275i18nAttributes",function(){return Ph}),n.d(t,"\u0275\u0275i18nEnd",function(){return Eh}),n.d(t,"\u0275\u0275i18nExp",function(){return jh}),n.d(t,"\u0275\u0275i18nPostprocess",function(){return Rh}),n.d(t,"\u0275\u0275i18nStart",function(){return kh}),n.d(t,"\u0275\u0275inject",function(){return br}),n.d(t,"\u0275\u0275injectAttribute",function(){return Pn}),n.d(t,"\u0275\u0275injectPipeChangeDetectorRef",function(){return Qg}),n.d(t,"\u0275\u0275invalidFactory",function(){return Cc}),n.d(t,"\u0275\u0275invalidFactoryDep",function(){return vr}),n.d(t,"\u0275\u0275listener",function(){return Fc}),n.d(t,"\u0275\u0275loadQuery",function(){return Gg}),n.d(t,"\u0275\u0275namespaceHTML",function(){return Ut}),n.d(t,"\u0275\u0275namespaceMathML",function(){return Ht}),n.d(t,"\u0275\u0275namespaceSVG",function(){return zt}),n.d(t,"\u0275\u0275nextContext",function(){return zc}),n.d(t,"\u0275\u0275ngDeclareComponent",function(){return Ow}),n.d(t,"\u0275\u0275ngDeclareDirective",function(){return Cw}),n.d(t,"\u0275\u0275ngDeclarePipe",function(){return Sw}),n.d(t,"\u0275\u0275pipe",function(){return wg}),n.d(t,"\u0275\u0275pipeBind1",function(){return xg}),n.d(t,"\u0275\u0275pipeBind2",function(){return Cg}),n.d(t,"\u0275\u0275pipeBind3",function(){return Og}),n.d(t,"\u0275\u0275pipeBind4",function(){return Sg}),n.d(t,"\u0275\u0275pipeBindV",function(){return kg}),n.d(t,"\u0275\u0275projection",function(){return $c}),n.d(t,"\u0275\u0275projectionDef",function(){return Uc}),n.d(t,"\u0275\u0275property",function(){return Oc}),n.d(t,"\u0275\u0275propertyInterpolate",function(){return Gc}),n.d(t,"\u0275\u0275propertyInterpolate1",function(){return Wc}),n.d(t,"\u0275\u0275propertyInterpolate2",function(){return Yc}),n.d(t,"\u0275\u0275propertyInterpolate3",function(){return qc}),n.d(t,"\u0275\u0275propertyInterpolate4",function(){return Zc}),n.d(t,"\u0275\u0275propertyInterpolate5",function(){return Qc}),n.d(t,"\u0275\u0275propertyInterpolate6",function(){return Xc}),n.d(t,"\u0275\u0275propertyInterpolate7",function(){return Kc}),n.d(t,"\u0275\u0275propertyInterpolate8",function(){return Jc}),n.d(t,"\u0275\u0275propertyInterpolateV",function(){return eu}),n.d(t,"\u0275\u0275pureFunction0",function(){return og}),n.d(t,"\u0275\u0275pureFunction1",function(){return sg}),n.d(t,"\u0275\u0275pureFunction2",function(){return ag}),n.d(t,"\u0275\u0275pureFunction3",function(){return lg}),n.d(t,"\u0275\u0275pureFunction4",function(){return cg}),n.d(t,"\u0275\u0275pureFunction5",function(){return ug}),n.d(t,"\u0275\u0275pureFunction6",function(){return dg}),n.d(t,"\u0275\u0275pureFunction7",function(){return hg}),n.d(t,"\u0275\u0275pureFunction8",function(){return pg}),n.d(t,"\u0275\u0275pureFunctionV",function(){return fg}),n.d(t,"\u0275\u0275queryRefresh",function(){return Hg}),n.d(t,"\u0275\u0275reference",function(){return $l}),n.d(t,"\u0275\u0275resolveBody",function(){return ho}),n.d(t,"\u0275\u0275resolveDocument",function(){return uo}),n.d(t,"\u0275\u0275resolveWindow",function(){return co}),n.d(t,"\u0275\u0275restoreView",function(){return ct}),n.d(t,"\u0275\u0275sanitizeHtml",function(){return Ai}),n.d(t,"\u0275\u0275sanitizeResourceUrl",function(){return Fi}),n.d(t,"\u0275\u0275sanitizeScript",function(){return Li}),n.d(t,"\u0275\u0275sanitizeStyle",function(){return Ti}),n.d(t,"\u0275\u0275sanitizeUrl",function(){return Di}),n.d(t,"\u0275\u0275sanitizeUrlOrResourceUrl",function(){return zi}),n.d(t,"\u0275\u0275setComponentScope",function(){return se}),n.d(t,"\u0275\u0275setNgModuleScope",function(){return de}),n.d(t,"\u0275\u0275styleMap",function(){return fu}),n.d(t,"\u0275\u0275styleMapInterpolate1",function(){return Zu}),n.d(t,"\u0275\u0275styleMapInterpolate2",function(){return Qu}),n.d(t,"\u0275\u0275styleMapInterpolate3",function(){return Xu}),n.d(t,"\u0275\u0275styleMapInterpolate4",function(){return Ku}),n.d(t,"\u0275\u0275styleMapInterpolate5",function(){return Ju}),n.d(t,"\u0275\u0275styleMapInterpolate6",function(){return ed}),n.d(t,"\u0275\u0275styleMapInterpolate7",function(){return td}),n.d(t,"\u0275\u0275styleMapInterpolate8",function(){return nd}),n.d(t,"\u0275\u0275styleMapInterpolateV",function(){return rd}),n.d(t,"\u0275\u0275styleProp",function(){return hu}),n.d(t,"\u0275\u0275stylePropInterpolate1",function(){return id}),n.d(t,"\u0275\u0275stylePropInterpolate2",function(){return od}),n.d(t,"\u0275\u0275stylePropInterpolate3",function(){return sd}),n.d(t,"\u0275\u0275stylePropInterpolate4",function(){return ad}),n.d(t,"\u0275\u0275stylePropInterpolate5",function(){return ld}),n.d(t,"\u0275\u0275stylePropInterpolate6",function(){return cd}),n.d(t,"\u0275\u0275stylePropInterpolate7",function(){return ud}),n.d(t,"\u0275\u0275stylePropInterpolate8",function(){return dd}),n.d(t,"\u0275\u0275stylePropInterpolateV",function(){return hd}),n.d(t,"\u0275\u0275syntheticHostListener",function(){return Lc}),n.d(t,"\u0275\u0275syntheticHostProperty",function(){return fd}),n.d(t,"\u0275\u0275template",function(){return Hl}),n.d(t,"\u0275\u0275templateRefExtractor",function(){return Zg}),n.d(t,"\u0275\u0275text",function(){return Pu}),n.d(t,"\u0275\u0275textInterpolate",function(){return ju}),n.d(t,"\u0275\u0275textInterpolate1",function(){return Mu}),n.d(t,"\u0275\u0275textInterpolate2",function(){return Ru}),n.d(t,"\u0275\u0275textInterpolate3",function(){return Au}),n.d(t,"\u0275\u0275textInterpolate4",function(){return Tu}),n.d(t,"\u0275\u0275textInterpolate5",function(){return Du}),n.d(t,"\u0275\u0275textInterpolate6",function(){return Fu}),n.d(t,"\u0275\u0275textInterpolate7",function(){return Lu}),n.d(t,"\u0275\u0275textInterpolate8",function(){return Nu}),n.d(t,"\u0275\u0275textInterpolateV",function(){return Vu}),n.d(t,"\u0275\u0275trustConstantHtml",function(){return Ni}),n.d(t,"\u0275\u0275trustConstantResourceUrl",function(){return Vi}),n.d(t,"\u0275\u0275viewQuery",function(){return Ug});var r=n("XNiG"),i=n("quSY"),o=n("HDdC"),s=n("VRyK"),a=n("EQ5u"),l=n("x+ZX");function c(){return new r.a}function u(e){for(let t in e)if(e[t]===u)return t;throw Error("Could not find renamed property on target object.")}function d(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function h(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(h).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function p(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const f=u({__forward_ref__:u});function m(e){return e.__forward_ref__=m,e.toString=function(){return h(this())},e}function g(e){return _(e)?e():e}function _(e){return"function"==typeof e&&e.hasOwnProperty(f)&&e.__forward_ref__===m}class b extends Error{constructor(e,t){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(e,t)),this.code=e}}function v(e){return"string"==typeof e?e:null==e?"":String(e)}function y(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():v(e)}function w(e,t){const n=t?` in ${t}`:"";throw new b("201",`No provider for ${y(e)} found${n}`)}function x(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function C(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const O=C;function S(e){return{providers:e.providers||[],imports:e.imports||[]}}function k(e){return E(e,P)||E(e,M)}function E(e,t){return e.hasOwnProperty(t)?e[t]:null}function I(e){return e&&(e.hasOwnProperty(j)||e.hasOwnProperty(R))?e[j]:null}const P=u({"\u0275prov":u}),j=u({"\u0275inj":u}),M=u({ngInjectableDef:u}),R=u({ngInjectorDef:u});var A=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});let T;function D(){return T}function F(e){const t=T;return T=e,t}function L(e,t,n){const r=k(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&A.Optional?null:void 0!==t?t:void w(h(e),"Injector")}function N(e){return{toString:e}.toString()}var V=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),B=function(e){return e[e.CheckOnce=0]="CheckOnce",e[e.Checked=1]="Checked",e[e.CheckAlways=2]="CheckAlways",e[e.Detached=3]="Detached",e[e.Errored=4]="Errored",e[e.Destroyed=5]="Destroyed",e}({});function z(e){return null==e||e===V.Default}var H=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({});const U="undefined"!=typeof globalThis&&globalThis,$="undefined"!=typeof window&&window,G="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,W="undefined"!=typeof global&&global,Y=U||W||$||G,q={},Z=[],Q=[],X=u({"\u0275cmp":u}),K=u({"\u0275dir":u}),J=u({"\u0275pipe":u}),ee=u({"\u0275mod":u}),te=u({"\u0275loc":u}),ne=u({"\u0275fac":u}),re=u({__NG_ELEMENT_ID__:u});let ie=0;function oe(e){return N(()=>{const t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===V.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Q,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||H.Emulated,id:"c",styles:e.styles||Q,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,i=e.features,o=e.pipes;return n.id+=ie++,n.inputs=he(e.inputs,t),n.outputs=he(e.outputs),i&&i.forEach(e=>e(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(ae):null,n.pipeDefs=o?()=>("function"==typeof o?o():o).map(le):null,n})}function se(e,t,n){const r=e.\u0275cmp;r.directiveDefs=()=>t.map(ae),r.pipeDefs=()=>n.map(le)}function ae(e){return me(e)||ge(e)}function le(e){return _e(e)}const ce={};function ue(e){const t={type:e.type,bootstrap:e.bootstrap||Q,declarations:e.declarations||Q,imports:e.imports||Q,exports:e.exports||Q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&N(()=>{ce[e.id]=e.type}),t}function de(e,t){return N(()=>{const n=be(e,!0);n.declarations=t.declarations||Q,n.imports=t.imports||Q,n.exports=t.exports||Q})}function he(e,t){if(null==e)return q;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}const pe=oe;function fe(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function me(e){return e[X]||null}function ge(e){return e[K]||null}function _e(e){return e[J]||null}function be(e,t){const n=e[ee]||null;if(!n&&!0===t)throw new Error(`Type ${h(e)} does not have '\u0275mod' property.`);return n}const ve=20,ye=10;function we(e){return Array.isArray(e)&&"object"==typeof e[1]}function xe(e){return Array.isArray(e)&&!0===e[1]}function Ce(e){return 0!=(8&e.flags)}function Oe(e){return 2==(2&e.flags)}function Se(e){return 1==(1&e.flags)}function ke(e){return null!==e.template}function Ee(e,t){return e.hasOwnProperty(ne)?e[ne]:null}class Ie{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function Pe(){return je}function je(e){return e.type.prototype.ngOnChanges&&(e.setInput=Re),Me}function Me(){const e=Ae(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===q)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function Re(e,t,n,r){const i=Ae(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:q,current:null}),o=i.current||(i.current={}),s=i.previous,a=this.declaredInputs[n],l=s[a];o[a]=new Ie(l&&l.currentValue,t,s===q),e[r]=t}function Ae(e){return e.__ngSimpleChanges__||null}Pe.ngInherit=!0;let Te=null;const De=e=>{Te=e},Fe=function(e,t,n){null!=Te&&Te(e,t,n)},Le="http://www.w3.org/2000/svg",Ne="http://www.w3.org/1998/MathML/";let Ve;function Be(e){Ve=e}function ze(){return void 0!==Ve?Ve:"undefined"!=typeof document?document:void 0}function He(e){return!!e.listen}const Ue={createRenderer:(e,t)=>ze()};function $e(e){for(;Array.isArray(e);)e=e[0];return e}function Ge(e,t){return $e(t[e])}function We(e,t){return $e(t[e.index])}function Ye(e,t){return e.data[t]}function qe(e,t){return e[t]}function Ze(e,t){const n=t[e];return we(n)?n:n[0]}function Qe(e){return e.__ngContext__||null}function Xe(e){const t=Qe(e);return t?Array.isArray(t)?t:t.lView:null}function Ke(e){return 4==(4&e[2])}function Je(e){return 128==(128&e[2])}function et(e,t){return null==t?null:e[t]}function tt(e){e[18]=0}function nt(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const rt={lFrame:At(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function it(){return rt.bindingsEnabled}function ot(){rt.bindingsEnabled=!0}function st(){rt.bindingsEnabled=!1}function at(){return rt.lFrame.lView}function lt(){return rt.lFrame.tView}function ct(e){rt.lFrame.contextLView=e}function ut(){let e=dt();for(;null!==e&&64===e.type;)e=e.parent;return e}function dt(){return rt.lFrame.currentTNode}function ht(){const e=rt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function pt(e,t){const n=rt.lFrame;n.currentTNode=e,n.isParent=t}function ft(){return rt.lFrame.isParent}function mt(){rt.lFrame.isParent=!1}function gt(){return rt.isInCheckNoChangesMode}function _t(e){rt.isInCheckNoChangesMode=e}function bt(){const e=rt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function vt(){return rt.lFrame.bindingIndex}function yt(e){return rt.lFrame.bindingIndex=e}function wt(){return rt.lFrame.bindingIndex++}function xt(e){const t=rt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ct(e){rt.lFrame.inI18n=e}function Ot(e,t){const n=rt.lFrame;n.bindingIndex=n.bindingRootIndex=e,St(t)}function St(e){rt.lFrame.currentDirectiveIndex=e}function kt(e){const t=rt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Et(){return rt.lFrame.currentQueryIndex}function It(e){rt.lFrame.currentQueryIndex=e}function Pt(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function jt(e,t,n){if(n&A.SkipSelf){let r=t,i=e;for(;r=r.parent,!(null!==r||n&A.Host||(r=Pt(i),null===r)||(i=i[15],10&r.type)););if(null===r)return!1;t=r,e=i}const r=rt.lFrame=Rt();return r.currentTNode=t,r.lView=e,!0}function Mt(e){const t=Rt(),n=e[1];rt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Rt(){const e=rt.lFrame,t=null===e?null:e.child;return null===t?At(e):t}function At(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Tt(){const e=rt.lFrame;return rt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Dt=Tt;function Ft(){const e=Tt();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Lt(e){return(rt.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,rt.lFrame.contextLView))[8]}function Nt(){return rt.lFrame.selectedIndex}function Vt(e){rt.lFrame.selectedIndex=e}function Bt(){const e=rt.lFrame;return Ye(e.tView,e.selectedIndex)}function zt(){rt.lFrame.currentNamespace=Le}function Ht(){rt.lFrame.currentNamespace=Ne}function Ut(){rt.lFrame.currentNamespace=null}function $t(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const t=e.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:i,ngAfterViewInit:o,ngAfterViewChecked:s,ngOnDestroy:a}=t;r&&(e.contentHooks||(e.contentHooks=[])).push(-n,r),i&&((e.contentHooks||(e.contentHooks=[])).push(n,i),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,i)),o&&(e.viewHooks||(e.viewHooks=[])).push(-n,o),s&&((e.viewHooks||(e.viewHooks=[])).push(n,s),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,s)),null!=a&&(e.destroyHooks||(e.destroyHooks=[])).push(n,a)}}function Gt(e,t,n){qt(e,t,3,n)}function Wt(e,t,n,r){(3&e[2])===n&&qt(e,t,n,r)}function Yt(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function qt(e,t,n,r){const i=null!=r?r:-1,o=t.length-1;let s=0;for(let a=void 0!==r?65535&e[18]:0;a<o;a++)if("number"==typeof t[a+1]){if(s=t[a],null!=r&&s>=r)break}else t[a]<0&&(e[18]+=65536),(s<i||-1==i)&&(Zt(e,n,t,a),e[18]=(4294901760&e[18])+a+2),a++}function Zt(e,t,n,r){const i=n[r]<0,o=n[r+1],s=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048,Fe(4,s,o);try{o.call(s)}finally{Fe(5,s,o)}}}else{Fe(4,s,o);try{o.call(s)}finally{Fe(5,s,o)}}}const Qt=-1;class Xt{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function Kt(e,t,n){const r=He(e);let i=0;for(;i<n.length;){const o=n[i];if("number"==typeof o){if(0!==o)break;i++;const s=n[i++],a=n[i++],l=n[i++];r?e.setAttribute(t,a,l,s):t.setAttributeNS(s,a,l)}else{const s=o,a=n[++i];en(s)?r&&e.setProperty(t,s,a):r?e.setAttribute(t,s,a):t.setAttribute(s,a),i++}}return i}function Jt(e){return 3===e||4===e||6===e}function en(e){return 64===e.charCodeAt(0)}function tn(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||nn(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function nn(e,t,n,r,i){let o=0,s=e.length;if(-1===t)s=-1;else for(;o<e.length;){const n=e[o++];if("number"==typeof n){if(n===t){s=-1;break}if(n>t){s=o-1;break}}}for(;o<e.length;){const t=e[o];if("number"==typeof t)break;if(t===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}function rn(e){return e!==Qt}function on(e){return 32767&e}function sn(e,t){let n=e>>16,r=t;for(;n>0;)r=r[15],n--;return r}let an=!0;function ln(e){const t=an;return an=e,t}let cn=0;function un(e,t){const n=hn(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,dn(r.data,e),dn(t,null),dn(r.blueprint,null));const i=pn(e,t),o=e.injectorIndex;if(rn(i)){const e=on(i),n=sn(i,t),r=n[1].data;for(let i=0;i<8;i++)t[o+i]=n[e+i]|r[e+i]}return t[o+8]=i,o}function dn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function hn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function pn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){const e=i[1],t=e.type;if(r=2===t?e.declTNode:1===t?i[6]:null,null===r)return Qt;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Qt}function fn(e,t,n){!function(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(re)&&(r=n[re]),null==r&&(r=n[re]=cn++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function mn(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const e=n.length;let r=0;for(;r<e;){const i=n[r];if(Jt(i))break;if(0===i)r+=2;else if("number"==typeof i)for(r++;r<e&&"string"==typeof n[r];)r++;else{if(i===t)return n[r+1];r+=2}}}return null}function gn(e,t,n){if(n&A.Optional)return e;w(t,"NodeInjector")}function _n(e,t,n,r){if(n&A.Optional&&void 0===r&&(r=null),0==(n&(A.Self|A.Host))){const i=e[9],o=F(void 0);try{return i?i.get(t,r,n&A.Optional):L(t,r,n&A.Optional)}finally{F(o)}}return gn(r,t,n)}function bn(e,t,n,r=A.Default,i){if(null!==e){const o=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(re)?e[re]:void 0;return"number"==typeof t?t>=0?255&t:yn:t}(n);if("function"==typeof o){if(!jt(t,e,r))return r&A.Host?gn(i,n,r):_n(t,n,r,i);try{const e=o();if(null!=e||r&A.Optional)return e;w(n)}finally{Dt()}}else if("number"==typeof o){let i=null,s=hn(e,t),a=Qt,l=r&A.Host?t[16][6]:null;for((-1===s||r&A.SkipSelf)&&(a=-1===s?pn(e,t):t[s+8],a!==Qt&&Sn(r,!1)?(i=t[1],s=on(a),t=sn(a,t)):s=-1);-1!==s;){const e=t[1];if(On(o,s,e.data)){const e=wn(s,t,n,i,r,l);if(e!==vn)return e}a=t[s+8],a!==Qt&&Sn(r,t[1].data[s+8]===l)&&On(o,s,t)?(i=e,s=on(a),t=sn(a,t)):s=-1}}}return _n(t,n,r,i)}const vn={};function yn(){return new kn(ut(),at())}function wn(e,t,n,r,i,o){const s=t[1],a=s.data[e+8],l=xn(a,s,n,null==r?Oe(a)&&an:r!=s&&0!=(3&a.type),i&A.Host&&o===a);return null!==l?Cn(t,s,l,a):vn}function xn(e,t,n,r,i){const o=e.providerIndexes,s=t.data,a=1048575&o,l=e.directiveStart,c=o>>20,u=i?a+c:e.directiveEnd;for(let d=r?a:a+c;d<u;d++){const e=s[d];if(d<l&&n===e||d>=l&&e.type===n)return d}if(i){const e=s[l];if(e&&ke(e)&&e.type===n)return l}return null}function Cn(e,t,n,r){let i=e[n];const o=t.data;if(i instanceof Xt){const s=i;s.resolving&&function(e,t){throw new b("200",`Circular dependency in DI detected for ${e}`)}(y(o[n]));const a=ln(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?F(s.injectImpl):null;jt(e,r,A.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const r=je(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==l&&F(l),ln(a),s.resolving=!1,Dt()}}return i}function On(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Sn(e,t){return!(e&A.Self||e&A.Host&&t)}class kn{constructor(e,t){this._tNode=e,this._lView=t}get(e,t){return bn(this._tNode,this._lView,e,void 0,t)}}function En(e){return N(()=>{const t=e.prototype.constructor,n=t[ne]||In(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const e=i[ne]||In(i);if(e&&e!==n)return e;i=Object.getPrototypeOf(i)}return e=>new e})}function In(e){return _(e)?()=>{const t=In(g(e));return t&&t()}:Ee(e)}function Pn(e){return mn(ut(),e)}const jn="__annotations__",Mn="__parameters__",Rn="__prop__metadata__";function An(e,t,n,r,i){return N(()=>{const o=Tn(t);function s(...e){if(this instanceof s)return o.call(this,...e),this;const t=new s(...e);return function(n){return i&&i(n,...e),(n.hasOwnProperty(jn)?n[jn]:Object.defineProperty(n,jn,{value:[]})[jn]).push(t),r&&r(n),n}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}function Tn(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}function Dn(e,t,n){return N(()=>{const r=Tn(t);function i(...e){if(this instanceof i)return r.apply(this,e),this;const t=new i(...e);return n.annotation=t,n;function n(e,n,r){const i=e.hasOwnProperty(Mn)?e[Mn]:Object.defineProperty(e,Mn,{value:[]})[Mn];for(;i.length<=r;)i.push(null);return(i[r]=i[r]||[]).push(t),e}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function Fn(e,t,n,r){return N(()=>{const i=Tn(t);function o(...e){if(this instanceof o)return i.apply(this,e),this;const t=new o(...e);return function(n,i){const o=n.constructor,s=o.hasOwnProperty(Rn)?o[Rn]:Object.defineProperty(o,Rn,{value:{}})[Rn];s[i]=s.hasOwnProperty(i)&&s[i]||[],s[i].unshift(t),r&&r(n,i,...e)}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function Ln(){return Dn("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>Pn(e)}))}const Nn=Ln();class Vn{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=C({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Bn=new Vn("AnalyzeForEntryComponents");class zn{}const Hn=Fn("ContentChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!1},t),zn),Un=Fn("ContentChild",(e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t),zn),$n=Fn("ViewChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!1},t),zn),Gn=Fn("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t),zn);var Wn=function(e){return e[e.Token=0]="Token",e[e.Attribute=1]="Attribute",e[e.ChangeDetectorRef=2]="ChangeDetectorRef",e[e.Invalid=3]="Invalid",e}({});function Yn(){const e=Y.ng;if(!e||!e.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n  - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n  - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n  - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.\u0275compilerFacade}const qn=Function;function Zn(e){return"function"==typeof e}function Qn(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),Qn(r,t)):t!==e&&t.push(r)}return t}function Xn(e,t){e.forEach(e=>Array.isArray(e)?Xn(e,t):t(e))}function Kn(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Jn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function er(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function tr(e,t,n){let r=rr(e,t);return r>=0?e[1|r]=n:(r=~r,function(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function nr(e,t){const n=rr(e,t);if(n>=0)return e[1|n]}function rr(e,t){return function(e,t,n){let r=0,i=e.length>>1;for(;i!==r;){const n=r+(i-r>>1),o=e[n<<1];if(t===o)return n<<1;o>t?i=n:r=n+1}return~(i<<1)}(e,t)}const ir=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|[^()]+\(arguments\))\)/,or=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,sr=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,ar=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s*super\(\.\.\.arguments\)/;class lr{constructor(e){this._reflect=e||Y.Reflect}isReflectionEnabled(){return!0}factory(e){return(...t)=>new e(...t)}_zipTypesAndAnnotations(e,t){let n;n=er(void 0===e?t.length:e.length);for(let r=0;r<n.length;r++)n[r]=void 0===e?[]:e[r]&&e[r]!=Object?[e[r]]:[],t&&null!=t[r]&&(n[r]=n[r].concat(t[r]));return n}_ownParameters(e,t){if(n=e.toString(),ir.test(n)||ar.test(n)||or.test(n)&&!sr.test(n))return null;var n;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;const r=e.ctorParameters;if(r&&r!==t.ctorParameters){const e="function"==typeof r?r():r,t=e.map(e=>e&&e.type),n=e.map(e=>e&&cr(e.decorators));return this._zipTypesAndAnnotations(t,n)}const i=e.hasOwnProperty(Mn)&&e[Mn],o=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return o||i?this._zipTypesAndAnnotations(o,i):er(e.length)}parameters(e){if(!Zn(e))return[];const t=ur(e);let n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]}_ownAnnotations(e,t){if(e.annotations&&e.annotations!==t.annotations){let t=e.annotations;return"function"==typeof t&&t.annotations&&(t=t.annotations),t}return e.decorators&&e.decorators!==t.decorators?cr(e.decorators):e.hasOwnProperty(jn)?e[jn]:null}annotations(e){if(!Zn(e))return[];const t=ur(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)}_ownPropMetadata(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){let t=e.propMetadata;return"function"==typeof t&&t.propMetadata&&(t=t.propMetadata),t}if(e.propDecorators&&e.propDecorators!==t.propDecorators){const t=e.propDecorators,n={};return Object.keys(t).forEach(e=>{n[e]=cr(t[e])}),n}return e.hasOwnProperty(Rn)?e[Rn]:null}propMetadata(e){if(!Zn(e))return{};const t=ur(e),n={};if(t!==Object){const e=this.propMetadata(t);Object.keys(e).forEach(t=>{n[t]=e[t]})}const r=this._ownPropMetadata(e,t);return r&&Object.keys(r).forEach(e=>{const t=[];n.hasOwnProperty(e)&&t.push(...n[e]),t.push(...r[e]),n[e]=t}),n}ownPropMetadata(e){return Zn(e)&&this._ownPropMetadata(e,ur(e))||{}}hasLifecycleHook(e,t){return e instanceof qn&&t in e.prototype}guards(e){return{}}getter(e){return new Function("o","return o."+e+";")}setter(e){return new Function("o","v","return o."+e+" = v;")}method(e){return new Function("o","args",`if (!o.${e}) throw new Error('"${e}" is undefined');\n        return o.${e}.apply(o, args);`)}importUri(e){return"object"==typeof e&&e.filePath?e.filePath:`./${h(e)}`}resourceUri(e){return`./${h(e)}`}resolveIdentifier(e,t,n,r){return r}resolveEnum(e,t){return e[t]}}function cr(e){return e?e.map(e=>new(0,e.type.annotationCls)(...e.args?e.args:[])):[]}function ur(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const dr={},hr=/\n/gm,pr="__source",fr=u({provide:String,useValue:u});let mr;function gr(e){const t=mr;return mr=e,t}function _r(e,t=A.Default){if(void 0===mr)throw new Error("inject() must be called from an injection context");return null===mr?L(e,void 0,t):mr.get(e,t&A.Optional?null:void 0,t)}function br(e,t=A.Default){return(D()||_r)(g(e),t)}function vr(e){throw new Error("invalid")}const yr=br;function wr(e){const t=[];for(let n=0;n<e.length;n++){const r=g(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let e,n=A.Default;for(let t=0;t<r.length;t++){const i=r[t],o=i.__NG_DI_FLAG__;"number"==typeof o?-1===o?e=i.token:n|=o:e=i}t.push(br(e,n))}else t.push(br(r))}return t}function xr(e,t){return e.__NG_DI_FLAG__=t,e.prototype.__NG_DI_FLAG__=t,e}const Cr=e=>({token:e}),Or=xr(Dn("Inject",Cr),-1),Sr=xr(Dn("Optional"),8),kr=xr(Dn("Self"),2),Er=xr(Dn("SkipSelf"),4),Ir=xr(Dn("Host"),1);let Pr=null;function jr(){return Pr=Pr||new lr}function Mr(e){return Rr(jr().parameters(e))}function Rr(e){const t=Yn();return e.map(e=>function(e,t){const n={token:null,host:!1,optional:!1,resolved:e.R3ResolvedDependencyType.Token,self:!1,skipSelf:!1};function r(t){n.resolved=e.R3ResolvedDependencyType.Token,n.token=t}if(Array.isArray(t)&&t.length>0)for(let i=0;i<t.length;i++){const o=t[i];if(void 0===o)continue;const s=Object.getPrototypeOf(o);if(o instanceof Sr||"Optional"===s.ngMetadataName)n.optional=!0;else if(o instanceof Er||"SkipSelf"===s.ngMetadataName)n.skipSelf=!0;else if(o instanceof kr||"Self"===s.ngMetadataName)n.self=!0;else if(o instanceof Ir||"Host"===s.ngMetadataName)n.host=!0;else if(o instanceof Or)n.token=o.token;else if(o instanceof Nn){if(void 0===o.attributeName)throw new Error("Attribute name must be defined.");n.token=o.attributeName,n.resolved=e.R3ResolvedDependencyType.Attribute}else!0===o.__ChangeDetectorRef__?(n.token=o,n.resolved=e.R3ResolvedDependencyType.ChangeDetectorRef):r(o)}else void 0===t||Array.isArray(t)&&0===t.length?(n.token=void 0,n.resolved=Wn.Invalid):r(t);return n}(t,e))}function Ar(e){const t=[],n=new Map;function r(t){let r=n.get(t);if(!r){const i=e(t);n.set(t,r=i.then(Nr))}return r}return Tr.forEach((e,n)=>{const i=[];e.templateUrl&&i.push(r(e.templateUrl).then(t=>{e.template=t}));const o=e.styleUrls,s=e.styles||(e.styles=[]),a=e.styles.length;o&&o.forEach((t,n)=>{s.push(""),i.push(r(t).then(r=>{s[a+n]=r,o.splice(o.indexOf(t),1),0==o.length&&(e.styleUrls=void 0)}))});const l=Promise.all(i).then(()=>function(e){Dr.delete(e)}(n));t.push(l)}),Lr(),Promise.all(t).then(()=>{})}let Tr=new Map;const Dr=new Set;function Fr(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function Lr(){const e=Tr;return Tr=new Map,e}function Nr(e){return"string"==typeof e?e:e.text()}let Vr,Br;function zr(){if(void 0===Vr&&(Vr=null,Y.trustedTypes))try{Vr=Y.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Vr}function Hr(e){var t;return(null===(t=zr())||void 0===t?void 0:t.createHTML(e))||e}function Ur(){if(void 0===Br&&(Br=null,Y.trustedTypes))try{Br=Y.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Br}function $r(e){var t;return(null===(t=Ur())||void 0===t?void 0:t.createHTML(e))||e}function Gr(e){var t;return(null===(t=Ur())||void 0===t?void 0:t.createScript(e))||e}function Wr(e){var t;return(null===(t=Ur())||void 0===t?void 0:t.createScriptURL(e))||e}class Yr{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class qr extends Yr{getTypeName(){return"HTML"}}class Zr extends Yr{getTypeName(){return"Style"}}class Qr extends Yr{getTypeName(){return"Script"}}class Xr extends Yr{getTypeName(){return"URL"}}class Kr extends Yr{getTypeName(){return"ResourceURL"}}function Jr(e){return e instanceof Yr?e.changingThisBreaksApplicationSecurity:e}function ei(e,t){const n=ti(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function ti(e){return e instanceof Yr&&e.getTypeName()||null}function ni(e){return new qr(e)}function ri(e){return new Zr(e)}function ii(e){return new Qr(e)}function oi(e){return new Xr(e)}function si(e){return new Kr(e)}function ai(e){const t=new ci(e);return function(){try{return!!(new window.DOMParser).parseFromString(Hr(""),"text/html")}catch(e){return!1}}()?new li(t):t}class li{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{const t=(new window.DOMParser).parseFromString(Hr(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(t){return null}}}class ci{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const t=this.inertDocument.createElement("body");e.appendChild(t)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=Hr(e),t;const n=this.inertDocument.createElement("body");return n.innerHTML=Hr(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(e){const t=e.attributes;for(let r=t.length-1;0<r;r--){const n=t.item(r).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||e.removeAttribute(n)}let n=e.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const ui=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,di=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function hi(e){return(e=String(e)).match(ui)||e.match(di)?e:"unsafe:"+e}function pi(e){return(e=String(e)).split(",").map(e=>hi(e.trim())).join(", ")}function fi(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function mi(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const gi=fi("area,br,col,hr,img,wbr"),_i=fi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),bi=fi("rp,rt"),vi=mi(bi,_i),yi=mi(gi,mi(_i,fi("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),mi(bi,fi("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),vi),wi=fi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),xi=fi("srcset"),Ci=mi(wi,xi,fi("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),fi("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Oi=fi("script,style,template");class Si{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!yi.hasOwnProperty(t))return this.sanitizedSomething=!0,!Oi.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let r=0;r<n.length;r++){const e=n.item(r),t=e.name,i=t.toLowerCase();if(!Ci.hasOwnProperty(i)){this.sanitizedSomething=!0;continue}let o=e.value;wi[i]&&(o=hi(o)),xi[i]&&(o=pi(o)),this.buf.push(" ",t,'="',Ii(o),'"')}return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();yi.hasOwnProperty(t)&&!gi.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Ii(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return t}}const ki=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ei=/([^\#-~ |!])/g;function Ii(e){return e.replace(/&/g,"&amp;").replace(ki,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(Ei,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Pi;function ji(e,t){let n=null;try{Pi=Pi||ai(e);let r=t?String(t):"";n=Pi.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=Pi.getInertBodyElement(r)}while(r!==o);return Hr((new Si).sanitizeChildren(Mi(n)||n))}finally{if(n){const e=Mi(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function Mi(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ri=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({});function Ai(e){const t=Hi();return t?$r(t.sanitize(Ri.HTML,e)||""):ei(e,"HTML")?$r(Jr(e)):ji(ze(),v(e))}function Ti(e){const t=Hi();return t?t.sanitize(Ri.STYLE,e)||"":ei(e,"Style")?Jr(e):v(e)}function Di(e){const t=Hi();return t?t.sanitize(Ri.URL,e)||"":ei(e,"URL")?Jr(e):hi(v(e))}function Fi(e){const t=Hi();if(t)return Wr(t.sanitize(Ri.RESOURCE_URL,e)||"");if(ei(e,"ResourceURL"))return Wr(Jr(e));throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)")}function Li(e){const t=Hi();if(t)return Gr(t.sanitize(Ri.SCRIPT,e)||"");if(ei(e,"Script"))return Gr(Jr(e));throw new Error("unsafe value used in a script context")}function Ni(e){return Hr(e[0])}function Vi(e){return function(e){var t;return(null===(t=zr())||void 0===t?void 0:t.createScriptURL(e))||e}(e[0])}function Bi(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Fi:Di}function zi(e,t,n){return Bi(t,n)(e)}function Hi(){const e=at();return e&&e[12]}function Ui(e){return e.ngDebugContext}function $i(e){return e.ngOriginalError}function Gi(e,...t){e.error(...t)}class Wi{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||Gi}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?Ui(e)?Ui(e):this._findContext($i(e)):null}_findOriginalError(e){let t=$i(e);for(;t&&$i(t);)t=$i(t);return t}}const Yi={name:"custom-elements"},qi={name:"no-errors-schema"},Zi=/^>|^->|<!--|-->|--!>|<!-$/g,Qi=/(<|>)/;function Xi(e){return e.replace(Zi,e=>e.replace(Qi,"\u200b$1\u200b"))}const Ki=/([A-Z])/g;function Ji(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}function eo(e){let t=Qe(e);if(t){if(Array.isArray(t)){const r=t;let i,o,s;if((n=e)&&n.constructor&&n.constructor.\u0275cmp){if(i=so(r,e),-1==i)throw new Error("The provided component was not found in the application");o=e}else if(function(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(i=function(e,t){let n=e[1].firstChild;for(;n;){const r=n.directiveEnd;for(let i=n.directiveStart;i<r;i++)if(e[i]===t)return n.index;n=oo(n)}return-1}(r,e),-1==i)throw new Error("The provided directive was not found in the application");s=ao(i,r,!1)}else if(i=io(r,e),-1==i)return null;const a=$e(r[i]),l=Qe(a),c=l&&!Array.isArray(l)?l:to(r,i,a);if(o&&void 0===c.component&&(c.component=o,ro(c.component,c)),s&&void 0===c.directives){c.directives=s;for(let e=0;e<s.length;e++)ro(s[e],c)}ro(c.native,c),t=c}}else{const n=e;let r=n;for(;r=r.parentNode;){const e=Qe(r);if(e){let r;if(r=Array.isArray(e)?e:e.lView,!r)return null;const i=io(r,n);if(i>=0){const e=$e(r[i]),n=to(r,i,e);ro(e,n),t=n;break}}}}var n;return t||null}function to(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function no(e){let t,n=Qe(e);if(Array.isArray(n)){const r=so(n,e);t=Ze(r,n);const i=to(n,r,t[0]);i.component=e,ro(e,i),ro(i.native,i)}else t=Ze(n.nodeIndex,n.lView);return t}function ro(e,t){e.__ngContext__=t}function io(e,t){const n=e[1];for(let r=ve;r<n.bindingStartIndex;r++)if($e(e[r])===t)return r;return-1}function oo(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function so(e,t){const n=e[1].components;if(n)for(let r=0;r<n.length;r++){const i=n[r];if(Ze(i,e)[8]===t)return i}else if(Ze(ve,e)[8]===t)return ve;return-1}function ao(e,t,n){const r=t[1].data[e];let i=r.directiveStart;return 0==i?Q:(!n&&2&r.flags&&i++,t.slice(i,r.directiveEnd))}const lo=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Y))();function co(e){return{name:"window",target:e.ownerDocument.defaultView}}function uo(e){return{name:"document",target:e.ownerDocument}}function ho(e){return{name:"body",target:e.ownerDocument.body}}function po(e){return e instanceof Function?e():e}var fo=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});let mo;function go(e,t){return mo(e,t)}function _o(e){const t=e[3];return xe(t)?t[3]:t}function bo(e){return function(e){let t=we(e)?e:Xe(e);for(;t&&!(512&t[2]);)t=_o(t);return t}(e)[8]}function vo(e){return wo(e[13])}function yo(e){return wo(e[4])}function wo(e){for(;null!==e&&!xe(e);)e=e[4];return e}function xo(e,t,n,r,i){if(null!=r){let o,s=!1;xe(r)?o=r:we(r)&&(s=!0,r=r[0]);const a=$e(r);0===e&&null!==n?null==i?To(t,n,a):Ao(t,n,a,i||null,!0):1===e&&null!==n?Ao(t,n,a,i||null,!0):2===e?Wo(t,a,s):3===e&&t.destroyNode(a),null!=o&&function(e,t,n,r,i){const o=n[7];o!==$e(n)&&xo(t,e,r,o,i);for(let s=ye;s<n.length;s++){const i=n[s];qo(i[1],i,e,t,r,o)}}(t,e,o,n,i)}}function Co(e,t){return He(e)?e.createText(t):e.createTextNode(t)}function Oo(e,t,n){He(e)?e.setValue(t,n):t.textContent=n}function So(e,t){return e.createComment(Xi(t))}function ko(e,t,n){return He(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function Eo(e,t){const n=e[9],r=n.indexOf(t),i=t[3];1024&t[2]&&(t[2]&=-1025,nt(i,-1)),n.splice(r,1)}function Io(e,t){if(e.length<=ye)return;const n=ye+t,r=e[n];if(r){const o=r[17];null!==o&&o!==e&&Eo(o,r),t>0&&(e[n-1][4]=r[4]);const s=Jn(e,ye+t);qo(r[1],i=r,i[11],2,null,null),i[0]=null,i[6]=null;const a=s[19];null!==a&&a.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-129}var i;return r}function Po(e,t){if(!(256&t[2])){const n=t[11];He(n)&&n.destroyNode&&qo(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return jo(e[1],e);for(;t;){let n=null;if(we(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)we(t)&&jo(t[1],t),t=t[3];null===t&&(t=e),we(t)&&jo(t[1],t),n=t&&t[4]}t=n}}(t)}}function jo(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const e=t[n[r]];if(!(e instanceof Xt)){const t=n[r+1];if(Array.isArray(t))for(let n=0;n<t.length;n+=2){const r=e[t[n]],i=t[n+1];Fe(4,r,i);try{i.call(r)}finally{Fe(5,r,i)}}else{Fe(4,e,t);try{t.call(e)}finally{Fe(5,e,t)}}}}}(e,t),function(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const e=n[o+1],s="function"==typeof e?e(t):$e(t[e]),a=r[i=n[o+2]],l=n[o+3];"boolean"==typeof l?s.removeEventListener(n[o],a,l):l>=0?r[i=l]():r[i=-l].unsubscribe(),o+=2}else{const e=r[i=n[o+1]];n[o].call(e)}if(null!==r){for(let e=i+1;e<r.length;e++)(0,r[e])();t[7]=null}}(e,t),1===t[1].type&&He(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&xe(t[3])){n!==t[3]&&Eo(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function Mo(e,t,n){return Ro(e,t.parent,n)}function Ro(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const t=e.data[r.directiveStart].encapsulation;if(t===H.None||t===H.Emulated)return null}return We(r,n)}function Ao(e,t,n,r,i){He(e)?e.insertBefore(t,n,r,i):t.insertBefore(n,r,i)}function To(e,t,n){He(e)?e.appendChild(t,n):t.appendChild(n)}function Do(e,t,n,r,i){null!==r?Ao(e,t,n,r,i):To(e,t,n)}function Fo(e,t){return He(e)?e.parentNode(t):t.parentNode}function Lo(e,t,n){return Bo(e,t,n)}function No(e,t,n){return 40&e.type?We(e,n):null}let Vo,Bo=No;function zo(e,t){Bo=e,Vo=t}function Ho(e,t,n,r){const i=Mo(e,r,t),o=t[11],s=Lo(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let a=0;a<n.length;a++)Do(o,i,n[a],s,!1);else Do(o,i,n,s,!1);void 0!==Vo&&Vo(o,r,t,n,i)}function Uo(e,t){if(null!==t){const n=t.type;if(3&n)return We(t,e);if(4&n)return Go(-1,e[t.index]);if(8&n){const n=t.child;if(null!==n)return Uo(e,n);{const n=e[t.index];return xe(n)?Go(-1,n):$e(n)}}if(32&n)return go(t,e)()||$e(e[t.index]);{const n=$o(e,t);return null!==n?Array.isArray(n)?n[0]:Uo(_o(e[16]),n):Uo(e,t.next)}}return null}function $o(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Go(e,t){const n=ye+e+1;if(n<t.length){const e=t[n],r=e[1].firstChild;if(null!==r)return Uo(e,r)}return t[7]}function Wo(e,t,n){const r=Fo(e,t);r&&function(e,t,n,r){He(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}function Yo(e,t,n,r,i,o,s){for(;null!=n;){const a=r[n.index],l=n.type;if(s&&0===t&&(a&&ro($e(a),r),n.flags|=4),64!=(64&n.flags))if(8&l)Yo(e,t,n.child,r,i,o,!1),xo(t,e,i,a,o);else if(32&l){const s=go(n,r);let l;for(;l=s();)xo(t,e,i,l,o);xo(t,e,i,a,o)}else 16&l?Zo(e,t,r,n,i,o):xo(t,e,i,a,o);n=s?n.projectionNext:n.next}}function qo(e,t,n,r,i,o){Yo(n,r,e.firstChild,t,i,o,!1)}function Zo(e,t,n,r,i,o){const s=n[16],a=s[6].projection[r.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)xo(t,e,i,a[l],o);else Yo(e,t,a,s[3],i,o,!0)}function Qo(e,t,n){He(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Xo(e,t,n){He(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function Ko(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const n=t.length;if(i+n===r||e.charCodeAt(i+n)<=32)return i}n=i+1}}const Jo="ng-template";function es(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==Ko(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function ts(e){return 4===e.type&&e.value!==Jo}function ns(e,t,n){return t===(4!==e.type||n?e.value:Jo)}function rs(e,t,n){let r=4;const i=e.attrs||[],o=function(e){for(let t=0;t<e.length;t++)if(Jt(e[t]))return t;return e.length}(i);let s=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!s)if(4&r){if(r=2|1&r,""!==l&&!ns(e,l,n)||""===l&&1===t.length){if(is(r))return!1;s=!0}}else{const c=8&r?l:t[++a];if(8&r&&null!==e.attrs){if(!es(e.attrs,c,n)){if(is(r))return!1;s=!0}continue}const u=os(8&r?"class":l,i,ts(e),n);if(-1===u){if(is(r))return!1;s=!0;continue}if(""!==c){let e;e=u>o?"":i[u+1].toLowerCase();const t=8&r?e:null;if(t&&-1!==Ko(t,c,0)||2&r&&c!==e){if(is(r))return!1;s=!0}}}}else{if(!s&&!is(r)&&!is(l))return!1;if(s&&is(l))continue;s=!1,r=l|1&r}}return is(r)||s}function is(e){return 0==(1&e)}function os(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let n=!1;for(;i<t.length;){const r=t[i];if(r===e)return i;if(3===r||6===r)n=!0;else{if(1===r||2===r){let e=t[++i];for(;"string"==typeof e;)e=t[++i];continue}if(4===r)break;if(0===r){i+=4;continue}}i+=n?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function ss(e,t,n=!1){for(let r=0;r<t.length;r++)if(rs(e,t[r],n))return!0;return!1}function as(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let t=0;t<e.length;t++)if(e[t]!==r[t])continue e;return!0}}return!1}function ls(e,t){return e?":not("+t.trim()+")":t}function cs(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const t=e[++n];i+="["+s+(t.length>0?'="'+t+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""===i||is(s)||(t+=ls(o,i),i=""),r=s,o=o||!is(r);n++}return""!==i&&(t+=ls(o,i)),t}const us={};function ds(e){hs(lt(),at(),Nt()+e,gt())}function hs(e,t,n,r){if(!r)if(3==(3&t[2])){const r=e.preOrderCheckHooks;null!==r&&Gt(t,r,n)}else{const r=e.preOrderHooks;null!==r&&Wt(t,r,0,n)}Vt(n)}function ps(e,t){return e<<17|t<<2}function fs(e){return e>>17&32767}function ms(e){return 2|e}function gs(e){return(131068&e)>>2}function _s(e,t){return-131069&e|t<<2}function bs(e){return 1|e}const vs=(()=>Promise.resolve(null))();function ys(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],o=n[r+1];if(-1!==o){const n=e.data[o];It(i),n.contentQueries(2,t[o],o)}}}function ws(e,t,n,r,i,o,s,a,l,c){const u=t.blueprint.slice();return u[0]=i,u[2]=140|r,tt(u),u[3]=u[15]=e,u[8]=n,u[10]=s||e&&e[10],u[11]=a||e&&e[11],u[12]=l||e&&e[12]||null,u[9]=c||e&&e[9]||null,u[6]=o,u[16]=2==t.type?e[16]:u,u}function xs(e,t,n,r,i){let o=e.data[t];if(null===o)o=Cs(e,t,n,r,i),rt.lFrame.inI18n&&(o.flags|=64);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const e=ht();o.injectorIndex=null===e?-1:e.injectorIndex}return pt(o,!0),o}function Cs(e,t,n,r,i){const o=dt(),s=ft(),a=e.data[t]=function(e,t,n,r,i,o){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=a),null!==o&&(s?null==o.child&&null!==a.parent&&(o.child=a):null===o.next&&(o.next=a)),a}function Os(e,t,n,r){if(0===n)return-1;const i=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function Ss(e,t,n){Mt(t);try{const r=e.viewQuery;null!==r&&oa(1,r,n);const i=e.template;null!==i&&Is(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&ys(e,t),e.staticViewQueries&&oa(2,e.viewQuery,n);const o=e.components;null!==o&&function(e,t){for(let n=0;n<t.length;n++)Js(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),r}finally{t[2]&=-5,Ft()}}function ks(e,t,n,r){const i=t[2];if(256==(256&i))return;Mt(t);const o=gt();try{tt(t),yt(e.bindingStartIndex),null!==n&&Is(e,t,n,2,r);const s=3==(3&i);if(!o)if(s){const n=e.preOrderCheckHooks;null!==n&&Gt(t,n,null)}else{const n=e.preOrderHooks;null!==n&&Wt(t,n,0,null),Yt(t,0)}if(function(e){for(let t=vo(e);null!==t;t=yo(t)){if(!t[2])continue;const e=t[9];for(let t=0;t<e.length;t++){const n=e[t],r=n[3];0==(1024&n[2])&&nt(r,1),n[2]|=1024}}}(t),function(e){for(let t=vo(e);null!==t;t=yo(t))for(let e=ye;e<t.length;e++){const n=t[e],r=n[1];Je(n)&&ks(r,n,r.template,n[8])}}(t),null!==e.contentQueries&&ys(e,t),!o)if(s){const n=e.contentCheckHooks;null!==n&&Gt(t,n)}else{const n=e.contentHooks;null!==n&&Wt(t,n,1),Yt(t,1)}!function(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let e=0;e<n.length;e++){const r=n[e];if(r<0)Vt(~r);else{const i=r,o=n[++e],s=n[++e];Ot(o,i),s(2,t[i])}}}finally{Vt(-1)}}(e,t);const a=e.components;null!==a&&function(e,t){for(let n=0;n<t.length;n++)Xs(e,t[n])}(t,a);const l=e.viewQuery;if(null!==l&&oa(2,l,r),!o)if(s){const n=e.viewCheckHooks;null!==n&&Gt(t,n)}else{const n=e.viewHooks;null!==n&&Wt(t,n,2),Yt(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,nt(t[3],-1))}finally{Ft()}}function Es(e,t,n,r){const i=t[10],o=!gt(),s=Ke(t);try{o&&!s&&i.begin&&i.begin(),s&&Ss(e,t,r),ks(e,t,n,r)}finally{o&&!s&&i.end&&i.end()}}function Is(e,t,n,r,i){const o=Nt(),s=2&r;try{Vt(-1),s&&t.length>ve&&hs(e,t,ve,gt()),Fe(s?2:0,i),n(r,i)}finally{Vt(o),Fe(s?3:1,i)}}function Ps(e,t,n){if(Ce(t)){const r=t.directiveEnd;for(let i=t.directiveStart;i<r;i++){const t=e.data[i];t.contentQueries&&t.contentQueries(1,n[i],i)}}}function js(e,t,n){it()&&(function(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||un(n,t),ro(r,t);const s=n.initialInputs;for(let a=i;a<o;a++){const r=e.data[a],o=ke(r);o&&Gs(t,n,r);const l=Cn(t,e,a,n);ro(l,t),null!==s&&qs(0,a-i,l,r,0,s),o&&(Ze(n.index,t)[8]=l)}}(e,t,n,We(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,i=n.directiveEnd,o=n.index,s=rt.lFrame.currentDirectiveIndex;try{Vt(o);for(let n=r;n<i;n++){const r=e.data[n],i=t[n];St(n),null===r.hostBindings&&0===r.hostVars&&null===r.hostAttrs||Bs(r,i)}}finally{Vt(-1),St(s)}}(e,t,n))}function Ms(e,t,n=We){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],a=-1===s?n(t,e):e[s];e[i++]=a}}}function Rs(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=As(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function As(e,t,n,r,i,o,s,a,l,c){const u=ve+r,d=u+i,h=function(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:us);return n}(u,d),p="function"==typeof c?c():c;return h[1]={type:e,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:t,data:h.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1}}function Ts(e,t,n){if(He(e))return e.selectRootElement(t,n===H.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}function Ds(e,t,n,r){const i=aa(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&la(e).push(r,i.length-1))}function Fs(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function Ls(e,t,n,r,i,o,s,a){const l=We(t,n);let c,u=t.inputs;var d;!a&&null!=u&&(c=u[r])?(da(e,n,c,r,i),Oe(t)&&function(e,t){const n=Ze(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r="class"===(d=r)?"className":"for"===d?"htmlFor":"formaction"===d?"formAction":"innerHtml"===d?"innerHTML":"readonly"===d?"readOnly":"tabindex"===d?"tabIndex":d,i=null!=s?s(i,t.value||"",r):i,He(o)?o.setProperty(l,r,i):en(r)||(l.setProperty?l.setProperty(r,i):l[r]=i))}function Ns(e,t,n,r){let i=!1;if(it()){const o=function(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let o=0;o<r.length;o++){const s=r[o];ss(n,s.selectors,!1)&&(i||(i=[]),fn(un(n,t),e,s.type),ke(s)?(zs(e,n),i.unshift(s)):i.push(s))}return i}(e,t,n),s=null===r?null:{"":-1};if(null!==o){i=!0,Us(n,e.data.length,o.length);for(let e=0;e<o.length;e++){const t=o[e];t.providersResolver&&t.providersResolver(t)}let r=!1,a=!1,l=Os(e,t,o.length,null);for(let i=0;i<o.length;i++){const c=o[i];n.mergedAttrs=tn(n.mergedAttrs,c.hostAttrs),$s(e,n,t,l,c),Hs(l,c,s),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128);const u=c.type.prototype;!r&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),r=!0),a||!u.ngOnChanges&&!u.ngDoCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),a=!0),l++}!function(e,t){const n=t.directiveEnd,r=e.data,i=t.attrs,o=[];let s=null,a=null;for(let l=t.directiveStart;l<n;l++){const e=r[l],n=e.inputs,c=null===i||ts(t)?null:Zs(n,i);o.push(c),s=Fs(n,l,s),a=Fs(e.outputs,l,a)}null!==s&&(s.hasOwnProperty("class")&&(t.flags|=16),s.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=s,t.outputs=a}(e,n)}s&&function(e,t,n){if(t){const r=e.localNames=[];for(let e=0;e<t.length;e+=2){const i=n[t[e+1]];if(null==i)throw new b("301",`Export of name '${t[e+1]}' not found!`);r.push(t[e],i)}}}(n,r,s)}return n.mergedAttrs=tn(n.mergedAttrs,n.attrs),i}function Vs(e,t,n,r,i,o){const s=o.hostBindings;if(s){let n=e.hostBindingOpCodes;null===n&&(n=e.hostBindingOpCodes=[]);const o=~t.index;(function(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(n)!=o&&n.push(o),n.push(r,i,s)}}function Bs(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function zs(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Hs(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ke(t)&&(n[""]=e)}}function Us(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function $s(e,t,n,r,i){e.data[r]=i;const o=i.factory||(i.factory=Ee(i.type)),s=new Xt(o,ke(i),null);e.blueprint[r]=s,n[r]=s,Vs(e,t,0,r,Os(e,n,i.hostVars,us),i)}function Gs(e,t,n){const r=We(t,e),i=Rs(n),o=e[10],s=ea(e,ws(e,i,null,n.onPush?64:16,r,t,o,o.createRenderer(r,n),null,null));e[t.index]=s}function Ws(e,t,n,r,i,o){const s=We(e,t);Ys(t[11],s,o,e.value,n,r,i)}function Ys(e,t,n,r,i,o,s){if(null==o)He(e)?e.removeAttribute(t,i,n):t.removeAttribute(i);else{const a=null==s?v(o):s(o,r||"",i);He(e)?e.setAttribute(t,i,a,n):n?t.setAttributeNS(n,i,a):t.setAttribute(i,a)}}function qs(e,t,n,r,i,o){const s=o[t];if(null!==s){const e=r.setInput;for(let t=0;t<s.length;){const i=s[t++],o=s[t++],a=s[t++];null!==e?r.setInput(n,a,i,o):n[o]=a}}}function Zs(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Qs(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function Xs(e,t){const n=Ze(t,e);if(Je(n)){const e=n[1];80&n[2]?ks(e,n,e.template,n[8]):n[5]>0&&Ks(n)}}function Ks(e){for(let n=vo(e);null!==n;n=yo(n))for(let e=ye;e<n.length;e++){const t=n[e];if(1024&t[2]){const e=t[1];ks(e,t,e.template,t[8])}else t[5]>0&&Ks(t)}const t=e[1].components;if(null!==t)for(let n=0;n<t.length;n++){const r=Ze(t[n],e);Je(r)&&r[5]>0&&Ks(r)}}function Js(e,t){const n=Ze(t,e),r=n[1];!function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n),Ss(r,n,n[8])}function ea(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function ta(e){for(;e;){e[2]|=64;const t=_o(e);if(0!=(512&e[2])&&!t)return e;e=t}return null}function na(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Xe(n),i=r[1];Es(i,r,i.template,n)}}function ra(e,t,n){const r=t[10];r.begin&&r.begin();try{ks(e,t,e.template,n)}catch(i){throw ua(t,i),i}finally{r.end&&r.end()}}function ia(e){na(e[8])}function oa(e,t,n){It(0),t(e,n)}const sa=vs;function aa(e){return e[7]||(e[7]=[])}function la(e){return e.cleanup||(e.cleanup=[])}function ca(e,t,n){return(null===e||ke(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function ua(e,t){const n=e[9],r=n?n.get(Wi,null):null;r&&r.handleError(t)}function da(e,t,n,r,i){for(let o=0;o<n.length;){const s=n[o++],a=n[o++],l=t[s],c=e.data[s];null!==c.setInput?c.setInput(l,i,r,a):l[a]=i}}function ha(e,t,n){const r=Ge(t,e);Oo(e[11],r,n)}function pa(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let s=0;s<t.length;s++){const e=t[s];"number"==typeof e?o=e:1==o?i=p(i,e):2==o&&(r=p(r,e+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function fa(e){const t=no(e);ra(t[1],t,e)}function ma(e){!function(e,t){if(0===e.flags&&e.clean==vs){let t;e.flags|=1,e.clean=new Promise(e=>t=e),e.scheduler(()=>{if(1&e.flags&&(e.flags&=-2,na(e)),2&e.flags){e.flags&=-3;const t=e.playerHandler;t&&t.flushPlayers()}e.clean=vs,t(null)})}}(ta(no(e))[8])}const ga=new Vn("INJECTOR",-1);class _a{get(e,t=dr){if(t===dr){const t=new Error(`NullInjectorError: No provider for ${h(e)}!`);throw t.name="NullInjectorError",t}return t}}const ba=new Vn("Set Injector scope."),va={},ya={},wa=[];let xa;function Ca(){return void 0===xa&&(xa=new _a),xa}function Oa(e,t=null,n=null,r){const i=Sa(e,t,n,r);return i._resolveInjectorDefTypes(),i}function Sa(e,t=null,n=null,r){return new ka(e,n,t||Ca(),r)}class ka{constructor(e,t,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];t&&Xn(t,n=>this.processProvider(n,e,t)),Xn([e],e=>this.processInjectorType(e,[],i)),this.records.set(ga,Pa(void 0,this));const o=this.records.get(ba);this.scope=null!=o?o.value:null,this.source=r||("object"==typeof e?null:h(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=dr,n=A.Default){this.assertNotDestroyed();const r=gr(this);try{if(!(n&A.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(i=e)||"object"==typeof i&&i instanceof Vn)&&k(e);t=n&&this.injectableDefInScope(n)?Pa(Ea(e),va):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&A.Self?Ca():this.parent).get(e,t=n&A.Optional&&t===dr?null:t)}catch(o){if("NullInjectorError"===o.name){if((o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(h(e)),r)throw o;return function(e,t,n,r){const i=e.ngTempTokenPath;throw t[pr]&&i.unshift(t[pr]),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let i=h(t);if(Array.isArray(t))i=t.map(h).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e.push(n+":"+("string"==typeof r?JSON.stringify(r):h(r)))}i=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(hr,"\n  ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e.ngTempTokenPath=null,e}(o,e,"R3InjectorError",this.source)}throw o}finally{gr(r)}var i}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(h(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=g(e)))return!1;let r=I(e);const i=null==r&&e.ngModule||void 0,o=void 0===i?e:i,s=-1!==n.indexOf(o);if(void 0!==i&&(r=I(i)),null==r)return!1;if(null!=r.imports&&!s){let e;n.push(o);try{Xn(r.imports,r=>{this.processInjectorType(r,t,n)&&(void 0===e&&(e=[]),e.push(r))})}finally{}if(void 0!==e)for(let t=0;t<e.length;t++){const{ngModule:n,providers:r}=e[t];Xn(r,e=>this.processProvider(e,n,r||wa))}}this.injectorDefTypes.add(o);const a=Ee(o)||(()=>new o);this.records.set(o,Pa(a,va));const l=r.providers;if(null!=l&&!s){const t=e;Xn(l,e=>this.processProvider(e,t,l))}return void 0!==i&&void 0!==e.providers}processProvider(e,t,n){let r=Ma(e=g(e))?e:g(e&&e.provide);const i=function(e,t,n){return ja(e)?Pa(void 0,e.useValue):Pa(Ia(e),va)}(e);if(Ma(e)||!0!==e.multi)this.records.get(r);else{let t=this.records.get(r);t||(t=Pa(void 0,va,!0),t.factory=()=>wr(t.multi),this.records.set(r,t)),r=e,t.multi.push(e)}this.records.set(r,i)}hydrate(e,t){var n;return t.value===va&&(t.value=ya,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function Ea(e){const t=k(e),n=null!==t?t.factory:Ee(e);if(null!==n)return n;if(e instanceof Vn)throw new Error(`Token ${h(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=er(t,"?");throw new Error(`Can't resolve all parameters for ${h(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[P]||e[M]);if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function Ia(e,t,n){let r;if(Ma(e)){const t=g(e);return Ee(t)||Ea(t)}if(ja(e))r=()=>g(e.useValue);else if((i=e)&&i.useFactory)r=()=>e.useFactory(...wr(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>br(g(e.useExisting));else{const t=g(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return Ee(t)||Ea(t);r=()=>new t(...wr(e.deps))}var i;return r}function Pa(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ja(e){return null!==e&&"object"==typeof e&&fr in e}function Ma(e){return"function"==typeof e}function Ra(e,t,n){return Oa({name:n},t,e,n)}const Aa=Ra;let Ta=(()=>{class e{static create(e,t){return Array.isArray(e)?Aa(e,t,""):Aa(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=dr,e.NULL=new _a,e.\u0275prov=C({token:e,providedIn:"any",factory:()=>br(ga)}),e.__NG_ELEMENT_ID__=-1,e})();function Da(e){Ga(e);const t=za(e,!1);return null===t?null:(void 0===t.component&&(t.component=function(e,t){const n=t[1].data[e];return 2&n.flags?t[n.directiveStart]:null}(t.nodeIndex,t.lView)),t.component)}function Fa(e){Ga(e);const t=za(e,!1);return null===t?null:t.lView[8]}function La(e){const t=za(e,!1);if(null===t)return null;let n,r=t.lView;for(;2===r[1].type&&(n=_o(r));)r=n;return 512&r[2]?null:r[8]}function Na(e){return[...bo(e).components]}function Va(e){const t=za(e,!1);return null===t?Ta.NULL:new kn(t.lView[1].data[t.nodeIndex],t.lView)}function Ba(e){const t=za(e);return void 0===t.directives&&(t.directives=ao(t.nodeIndex,t.lView,!1)),null===t.directives?[]:[...t.directives]}function za(e,t=!0){const n=eo(e);if(!n&&t)throw new Error("Invalid ng target");return n}function Ha(e){return eo(e).native}function Ua(e){Ga(e);const t=za(e,!1);if(null===t)return[];const n=t.lView,r=n[7],i=n[1].cleanup,o=[];if(i&&r)for(let s=0;s<i.length;){const t=i[s++],a=i[s++];if("string"==typeof t){const l=t,c=$e(n[a]),u=r[i[s++]],d=i[s++],h="boolean"==typeof d||d>=0?"dom":"output",p="boolean"==typeof d&&d;e==c&&o.push({element:e,name:l,callback:u,useCapture:p,type:h})}}return o.sort($a),o}function $a(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function Ga(e){if("undefined"!=typeof Element&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}function Wa(e){ma(e),Na(e).forEach(e=>fa(e))}let Ya=!1;function qa(){Ya||(Ya=!0,Za("\u0275setProfiler",De),Za("getComponent",Da),Za("getContext",Fa),Za("getListeners",Ua),Za("getOwningComponent",La),Za("getHostElement",Ha),Za("getInjector",Va),Za("getRootComponents",Na),Za("getDirectives",Ba),Za("applyChanges",Wa))}function Za(e,t){if("undefined"==typeof COMPILED||!COMPILED){const n=Y;if(n){let r=n.ng;r||(r=n.ng={}),r[e]=t}}}function Qa(e,t={}){const n=t.rendererFactory||Ue,r=t.sanitizer||null,i=me(e);i.type!=e&&(i.type=e);const o=i.selectors[0][0],s=Ts(n.createRenderer(null,null),t.host||o,i.encapsulation),a=i.onPush?576:528,l=Ja(t.scheduler,t.playerHandler),c=n.createRenderer(s,i),u=As(0,null,null,1,0,null,null,null,null,null),d=ws(null,u,l,a,null,null,n,c,null,t.injector||null);let h;Mt(d);try{n.begin&&n.begin(),h=Ka(Xa(s,i,d,n,c,r),i,d,l,t.hostFeatures||null),Ss(u,d,null),ks(u,d,null,null)}finally{Ft(),n.end&&n.end()}return h}function Xa(e,t,n,r,i,o){const s=n[1];n[20]=e;const a=xs(s,20,2,"#host",null),l=a.mergedAttrs=t.hostAttrs;null!==l&&(pa(a,l,!0),null!==e&&(Kt(i,e,l),null!==a.classes&&Xo(i,e,a.classes),null!==a.styles&&Qo(i,e,a.styles)));const c=r.createRenderer(e,t),u=ws(n,Rs(t),null,t.onPush?64:16,n[20],a,r,c,o||null,null);return s.firstCreatePass&&(fn(un(a,n),s,t.type),zs(s,a),Us(a,n.length,1)),ea(n,u),n[20]=u}function Ka(e,t,n,r,i){const o=n[1],s=function(e,t,n){const r=ut();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),$s(e,r,t,Os(e,t,1,null),n));const i=Cn(t,e,r.directiveStart,r);ro(i,t);const o=We(r,t);return o&&ro(o,t),i}(o,n,t);if(r.components.push(s),e[8]=s,i&&i.forEach(e=>e(s,t)),t.contentQueries){const e=ut();t.contentQueries(1,s,e.directiveStart)}const a=ut();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Vt(a.index),Vs(n[1],a,0,a.directiveStart,a.directiveEnd,t),Bs(t,s)),s}function Ja(e,t){return{components:[],scheduler:e||lo,clean:sa,playerHandler:t||null,flags:0}}function el(e,t){$t(Xe(e)[1],ut())}function tl(e){return bo(e).clean}function nl(e){return Object.getPrototypeOf(e.prototype).constructor}function rl(e){let t=nl(e.type),n=!0;const r=[e];for(;t;){let i;if(ke(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");i=t.\u0275dir}if(i){if(n){r.push(i);const t=e;t.inputs=il(e.inputs),t.declaredInputs=il(e.declaredInputs),t.outputs=il(e.outputs);const n=i.hostBindings;n&&al(e,n);const o=i.viewQuery,s=i.contentQueries;if(o&&ol(e,o),s&&sl(e,s),d(e.inputs,i.inputs),d(e.declaredInputs,i.declaredInputs),d(e.outputs,i.outputs),ke(i)&&i.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(i.data.animation)}}const t=i.features;if(t)for(let r=0;r<t.length;r++){const i=t[r];i&&i.ngInherit&&i(e),i===rl&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=tn(i.hostAttrs,n=tn(n,i.hostAttrs))}}(r)}function il(e){return e===q?{}:e===Q?[]:e}function ol(e,t){const n=e.viewQuery;e.viewQuery=n?(e,r)=>{t(e,r),n(e,r)}:t}function sl(e,t){const n=e.contentQueries;e.contentQueries=n?(e,r,i)=>{t(e,r,i),n(e,r,i)}:t}function al(e,t){const n=e.hostBindings;e.hostBindings=n?(e,r)=>{t(e,r),n(e,r)}:t}const ll=["providersResolver"],cl=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function ul(e){let t,n=nl(e.type);t=ke(e)?n.\u0275cmp:n.\u0275dir;const r=e;for(const i of ll)r[i]=t[i];if(ke(t))for(const i of cl)r[i]=t[i]}let dl=null;function hl(){if(!dl){const e=Y.Symbol;if(e&&e.iterator)dl=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(dl=n)}}}return dl}function pl(e,t){const n=ml(e),r=ml(t);if(n&&r)return function(e,t,n){const r=e[hl()](),i=t[hl()]();for(;;){const e=r.next(),t=i.next();if(e.done&&t.done)return!0;if(e.done||t.done)return!1;if(!n(e.value,t.value))return!1}}(e,t,pl);{const i=e&&("object"==typeof e||"function"==typeof e),o=t&&("object"==typeof t||"function"==typeof t);return!(n||!i||r||!o)||Object.is(e,t)}}class fl{constructor(e){this.wrapped=e}static wrap(e){return new fl(e)}static unwrap(e){return fl.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof fl}}function ml(e){return!!gl(e)&&(Array.isArray(e)||!(e instanceof Map)&&hl()in e)}function gl(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function _l(e,t,n){return e[t]=n}function bl(e,t){return e[t]}function vl(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function yl(e,t,n,r){const i=vl(e,t,n);return vl(e,t+1,r)||i}function wl(e,t,n,r,i){const o=yl(e,t,n,r);return vl(e,t+2,i)||o}function xl(e,t,n,r,i,o){const s=yl(e,t,n,r);return yl(e,t+2,i,o)||s}function Cl(e,t,n,r){const i=at();return vl(i,wt(),t)&&(lt(),Ws(Bt(),i,e,t,n,r)),Cl}function Ol(e,t){let n=!1,r=vt();for(let o=1;o<t.length;o+=2)n=vl(e,r++,t[o])||n;if(yt(r),!n)return us;let i=t[0];for(let o=1;o<t.length;o+=2)i+=v(t[o])+t[o+1];return i}function Sl(e,t,n,r){return vl(e,wt(),n)?t+v(n)+r:us}function kl(e,t,n,r,i,o){const s=yl(e,vt(),n,i);return xt(2),s?t+v(n)+r+v(i)+o:us}function El(e,t,n,r,i,o,s,a){const l=wl(e,vt(),n,i,s);return xt(3),l?t+v(n)+r+v(i)+o+v(s)+a:us}function Il(e,t,n,r,i,o,s,a,l,c){const u=xl(e,vt(),n,i,s,l);return xt(4),u?t+v(n)+r+v(i)+o+v(s)+a+v(l)+c:us}function Pl(e,t,n,r,i,o,s,a,l,c,u,d){const h=vt();let p=xl(e,h,n,i,s,l);return p=vl(e,h+4,u)||p,xt(5),p?t+v(n)+r+v(i)+o+v(s)+a+v(l)+c+v(u)+d:us}function jl(e,t,n,r,i,o,s,a,l,c,u,d,h,p){const f=vt();let m=xl(e,f,n,i,s,l);return m=yl(e,f+4,u,h)||m,xt(6),m?t+v(n)+r+v(i)+o+v(s)+a+v(l)+c+v(u)+d+v(h)+p:us}function Ml(e,t,n,r,i,o,s,a,l,c,u,d,h,p,f,m){const g=vt();let _=xl(e,g,n,i,s,l);return _=wl(e,g+4,u,h,f)||_,xt(7),_?t+v(n)+r+v(i)+o+v(s)+a+v(l)+c+v(u)+d+v(h)+p+v(f)+m:us}function Rl(e,t,n,r,i,o,s,a,l,c,u,d,h,p,f,m,g,_){const b=vt();let y=xl(e,b,n,i,s,l);return y=xl(e,b+4,u,h,f,g)||y,xt(8),y?t+v(n)+r+v(i)+o+v(s)+a+v(l)+c+v(u)+d+v(h)+p+v(f)+m+v(g)+_:us}function Al(e,t,n,r,i,o){const s=at(),a=Sl(s,t,n,r);return a!==us&&Ws(Bt(),s,e,a,i,o),Al}function Tl(e,t,n,r,i,o,s,a){const l=at(),c=kl(l,t,n,r,i,o);return c!==us&&Ws(Bt(),l,e,c,s,a),Tl}function Dl(e,t,n,r,i,o,s,a,l,c){const u=at(),d=El(u,t,n,r,i,o,s,a);return d!==us&&Ws(Bt(),u,e,d,l,c),Dl}function Fl(e,t,n,r,i,o,s,a,l,c,u,d){const h=at(),p=Il(h,t,n,r,i,o,s,a,l,c);return p!==us&&Ws(Bt(),h,e,p,u,d),Fl}function Ll(e,t,n,r,i,o,s,a,l,c,u,d,h,p){const f=at(),m=Pl(f,t,n,r,i,o,s,a,l,c,u,d);return m!==us&&Ws(Bt(),f,e,m,h,p),Ll}function Nl(e,t,n,r,i,o,s,a,l,c,u,d,h,p,f,m){const g=at(),_=jl(g,t,n,r,i,o,s,a,l,c,u,d,h,p);return _!==us&&Ws(Bt(),g,e,_,f,m),Nl}function Vl(e,t,n,r,i,o,s,a,l,c,u,d,h,p,f,m,g,_){const b=at(),v=Ml(b,t,n,r,i,o,s,a,l,c,u,d,h,p,f,m);return v!==us&&Ws(Bt(),b,e,v,g,_),Vl}function Bl(e,t,n,r,i,o,s,a,l,c,u,d,h,p,f,m,g,_,b,v){const y=at(),w=Rl(y,t,n,r,i,o,s,a,l,c,u,d,h,p,f,m,g,_);return w!==us&&Ws(Bt(),y,e,w,b,v),Bl}function zl(e,t,n,r){const i=at(),o=Ol(i,t);return o!==us&&Ws(Bt(),i,e,o,n,r),zl}function Hl(e,t,n,r,i,o,s,a){const l=at(),c=lt(),u=e+ve,d=c.firstCreatePass?function(e,t,n,r,i,o,s,a,l){const c=t.consts,u=xs(t,e,4,s||null,et(c,a));Ns(t,n,u,et(c,l)),$t(t,u);const d=u.tViews=As(2,u,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,c,l,t,n,r,i,o,s):c.data[u];pt(d,!1);const h=l[11].createComment("");Ho(c,l,h,d),ro(h,l),ea(l,l[u]=Qs(h,l,h,d)),Se(d)&&js(c,l,d),null!=s&&Ms(l,d,a)}function Ul(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function $l(e){return qe(rt.lFrame.contextLView,ve+e)}const Gl={"\u0275\u0275defineInjectable":C,"\u0275\u0275defineInjector":S,"\u0275\u0275inject":br,"\u0275\u0275invalidFactoryDep":vr},Wl=u({provide:String,useValue:u});function Yl(e){return void 0!==e.useClass}function ql(e){return void 0!==e.useFactory}function Zl(e,t){const n=t||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn,userDeps:void 0};return(Yl(n)||ql(n))&&void 0!==n.deps&&(r.userDeps=Rr(n.deps)),Yl(n)?r.useClass=g(n.useClass):function(e){return Wl in e}(n)?r.useValue=g(n.useValue):ql(n)?r.useFactory=n.useFactory:function(e){return void 0!==e.useExisting}(n)&&(r.useExisting=g(n.useExisting)),r}const Ql=An("Injectable",void 0,void 0,void 0,(e,t)=>Kl(e,t)),Xl=function(e,t){let n=null,r=null;e.hasOwnProperty(P)||Object.defineProperty(e,P,{get:()=>(null===n&&(n=Yn().compileInjectable(Gl,`ng:///${e.name}/\u0275prov.js`,Zl(e,t))),n)}),e.hasOwnProperty(ne)||Object.defineProperty(e,ne,{get:()=>{if(null===r){const n=Zl(e,t),i=Yn();r=i.compileFactory(Gl,`ng:///${e.name}/\u0275fac.js`,{name:n.name,type:n.type,typeArgumentCount:n.typeArgumentCount,deps:Mr(e),injectFn:"inject",target:i.R3FactoryTarget.Injectable})}return r},configurable:!0})},Kl=Xl;function Jl(e){return e.length>1?" ("+function(e){const t=[];for(let n=0;n<e.length;++n){if(t.indexOf(e[n])>-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(e=>h(e.token)).join(" -> ")+")":""}function ec(e,t,n,r){const i=[t],o=n(i),s=r?function(e,t){const n=`${e} caused by: ${t instanceof Error?t.message:t}`,r=Error(n);return r.ngOriginalError=t,r}(o,r):Error(o);return s.addKey=tc,s.keys=i,s.injectors=[e],s.constructResolvingMessage=n,s.ngOriginalError=r,s}function tc(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function nc(e,t){const n=[];for(let r=0,i=t.length;r<i;r++){const e=t[r];n.push(e&&0!=e.length?e.map(h).join(" "):"?")}return Error("Cannot resolve all parameters for '"+h(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+h(e)+"' is decorated with Injectable.")}class rc{constructor(e,t){if(this.token=e,this.id=t,!e)throw new Error("Token must be defined!");this.displayName=h(this.token)}static get(e){return oc.get(g(e))}static get numberOfKeys(){return oc.numberOfKeys}}class ic{constructor(){this._allKeys=new Map}get(e){if(e instanceof rc)return e;if(this._allKeys.has(e))return this._allKeys.get(e);const t=new rc(e,rc.numberOfKeys);return this._allKeys.set(e,t),t}get numberOfKeys(){return this._allKeys.size}}const oc=new ic;class sc{constructor(e){this.reflectionCapabilities=e}updateCapabilities(e){this.reflectionCapabilities=e}factory(e){return this.reflectionCapabilities.factory(e)}parameters(e){return this.reflectionCapabilities.parameters(e)}annotations(e){return this.reflectionCapabilities.annotations(e)}propMetadata(e){return this.reflectionCapabilities.propMetadata(e)}hasLifecycleHook(e,t){return this.reflectionCapabilities.hasLifecycleHook(e,t)}getter(e){return this.reflectionCapabilities.getter(e)}setter(e){return this.reflectionCapabilities.setter(e)}method(e){return this.reflectionCapabilities.method(e)}importUri(e){return this.reflectionCapabilities.importUri(e)}resourceUri(e){return this.reflectionCapabilities.resourceUri(e)}resolveIdentifier(e,t,n,r){return this.reflectionCapabilities.resolveIdentifier(e,t,n,r)}resolveEnum(e,t){return this.reflectionCapabilities.resolveEnum(e,t)}}const ac=new sc(new lr);class lc{constructor(e,t,n){this.key=e,this.optional=t,this.visibility=n}static fromKey(e){return new lc(e,!1,null)}}const cc=[];class uc{constructor(e,t,n){this.key=e,this.resolvedFactories=t,this.multiProvider=n,this.resolvedFactory=this.resolvedFactories[0]}}class dc{constructor(e,t){this.factory=e,this.dependencies=t}}function hc(e){let t,n;if(e.useClass){const r=g(e.useClass);t=ac.factory(r),n=gc(r)}else e.useExisting?(t=e=>e,n=[lc.fromKey(rc.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function(e,t){if(t){const n=t.map(e=>[e]);return t.map(t=>_c(e,t,n))}return gc(e)}(e.useFactory,e.deps)):(t=()=>e.useValue,n=cc);return new dc(t,n)}function pc(e){return new uc(rc.get(e.provide),[hc(e)],e.multi||!1)}function fc(e){const t=function(e,t){for(let n=0;n<e.length;n++){const r=e[n],i=t.get(r.key.id);if(i){if(r.multiProvider!==i.multiProvider)throw Error(`Cannot mix multi providers and regular providers, got: ${i} ${r}`);if(r.multiProvider)for(let e=0;e<r.resolvedFactories.length;e++)i.resolvedFactories.push(r.resolvedFactories[e]);else t.set(r.key.id,r)}else{let e;e=r.multiProvider?new uc(r.key,r.resolvedFactories.slice(),r.multiProvider):r,t.set(r.key.id,e)}}return t}(mc(e,[]).map(pc),new Map);return Array.from(t.values())}function mc(e,t){return e.forEach(e=>{if(e instanceof qn)t.push({provide:e,useClass:e});else if(e&&"object"==typeof e&&void 0!==e.provide)t.push(e);else{if(!Array.isArray(e))throw Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${e}`);mc(e,t)}}),t}function gc(e){const t=ac.parameters(e);if(!t)return[];if(t.some(e=>null==e))throw nc(e,t);return t.map(n=>_c(e,n,t))}function _c(e,t,n){let r=null,i=!1;if(!Array.isArray(t))return bc(t instanceof Or?t.token:t,i,null);let o=null;for(let s=0;s<t.length;++s){const e=t[s];e instanceof qn?r=e:e instanceof Or?r=e.token:e instanceof Sr?i=!0:e instanceof kr||e instanceof Er?o=e:e instanceof Vn&&(r=e)}if(r=g(r),null!=r)return bc(r,i,o);throw nc(e,n)}function bc(e,t,n){return new lc(rc.get(e),t,n)}const vc={};class yc{static resolve(e){return fc(e)}static resolveAndCreate(e,t){const n=yc.resolve(e);return yc.fromResolvedProviders(n,t)}static fromResolvedProviders(e,t){return new wc(e,t)}}let wc=(()=>{class e{constructor(e,t){this._constructionCounter=0,this._providers=e,this.parent=t||null;const n=e.length;this.keyIds=[],this.objs=[];for(let r=0;r<n;r++)this.keyIds[r]=e[r].key.id,this.objs[r]=vc}get(e,t=dr){return this._getByKey(rc.get(e),null,t)}resolveAndCreateChild(e){const t=yc.resolve(e);return this.createChildFromResolved(t)}createChildFromResolved(t){const n=new e(t);return n.parent=this,n}resolveAndInstantiate(e){return this.instantiateResolved(yc.resolve([e])[0])}instantiateResolved(e){return this._instantiateProvider(e)}getProviderAtIndex(e){if(e<0||e>=this._providers.length)throw function(e){return Error(`Index ${e} is out-of-bounds.`)}(e);return this._providers[e]}_new(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw ec(this,e.key,function(e){return`Cannot instantiate cyclic dependency!${Jl(e)}`});return this._instantiateProvider(e)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(e){if(e.multiProvider){const t=[];for(let n=0;n<e.resolvedFactories.length;++n)t[n]=this._instantiate(e,e.resolvedFactories[n]);return t}return this._instantiate(e,e.resolvedFactories[0])}_instantiate(e,t){const n=t.factory;let r,i;try{r=t.dependencies.map(e=>this._getByReflectiveDependency(e))}catch(s){throw s.addKey&&s.addKey(this,e.key),s}try{i=n(...r)}catch(s){throw ec(this,e.key,function(e){const t=h(e[0].token);return`${o.message}: Error during instantiation of ${t}!${Jl(e)}.`},o=s)}var o;return i}_getByReflectiveDependency(e){return this._getByKey(e.key,e.visibility,e.optional?null:dr)}_getByKey(t,n,r){return t===e.INJECTOR_KEY?this:n instanceof kr?this._getByKeySelf(t,r):this._getByKeyDefault(t,r,n)}_getObjByKeyId(e){for(let t=0;t<this.keyIds.length;t++)if(this.keyIds[t]===e)return this.objs[t]===vc&&(this.objs[t]=this._new(this._providers[t])),this.objs[t];return vc}_throwOrNull(e,t){if(t!==dr)return t;throw function(e,t){return ec(e,t,function(e){return`No provider for ${h(e[0].token)}!${Jl(e)}`})}(this,e)}_getByKeySelf(e,t){const n=this._getObjByKeyId(e.id);return n!==vc?n:this._throwOrNull(e,t)}_getByKeyDefault(t,n,r){let i;for(i=r instanceof Er?this.parent:this;i instanceof e;){const e=i,n=e._getObjByKeyId(t.id);if(n!==vc)return n;i=e.parent}return null!==i?i.get(t.token,n):this._throwOrNull(t,n)}get displayName(){return`ReflectiveInjector(providers: [${function(e,t){const n=[];for(let r=0;r<e._providers.length;++r)n[r]=' "'+e.getProviderAtIndex(r).key.displayName+'" ';return n}(this).join(", ")}])`}toString(){return this.displayName}}return e.INJECTOR_KEY=rc.get(Ta),e})();function xc(e,t=A.Default){const n=at();return null===n?br(e,t):bn(ut(),n,g(e),t)}function Cc(){throw new Error("invalid")}function Oc(e,t,n){const r=at();return vl(r,wt(),t)&&Ls(lt(),Bt(),r,e,t,r[11],n,!1),Oc}function Sc(e,t,n,r,i){const o=i?"class":"style";da(e,n,t.inputs[o],o,r)}function kc(e,t,n,r){const i=at(),o=lt(),s=ve+e,a=i[11],l=i[s]=ko(a,t,rt.lFrame.currentNamespace),c=o.firstCreatePass?function(e,t,n,r,i,o,s){const a=t.consts,l=xs(t,e,2,i,et(a,o));return Ns(t,n,l,et(a,s)),null!==l.attrs&&pa(l,l.attrs,!1),null!==l.mergedAttrs&&pa(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,o,i,0,t,n,r):o.data[s];pt(c,!0);const u=c.mergedAttrs;null!==u&&Kt(a,l,u);const d=c.classes;null!==d&&Xo(a,l,d);const h=c.styles;null!==h&&Qo(a,l,h),64!=(64&c.flags)&&Ho(o,i,l,c),0===rt.lFrame.elementDepthCount&&ro(l,i),rt.lFrame.elementDepthCount++,Se(c)&&(js(o,i,c),Ps(o,c,i)),null!==r&&Ms(i,c)}function Ec(){let e=ut();ft()?mt():(e=e.parent,pt(e,!1));const t=e;rt.lFrame.elementDepthCount--;const n=lt();n.firstCreatePass&&($t(n,e),Ce(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Sc(n,t,at(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Sc(n,t,at(),t.stylesWithoutHost,!1)}function Ic(e,t,n,r){kc(e,t,n,r),Ec()}function Pc(e,t,n){const r=at(),i=lt(),o=e+ve,s=i.firstCreatePass?function(e,t,n,r,i){const o=t.consts,s=et(o,r),a=xs(t,e,8,"ng-container",s);return null!==s&&pa(a,s,!0),Ns(t,n,a,et(o,i)),null!==t.queries&&t.queries.elementStart(t,a),a}(o,i,r,t,n):i.data[o];pt(s,!0);const a=r[o]=r[11].createComment("");Ho(i,r,a,s),ro(a,r),Se(s)&&(js(i,r,s),Ps(i,s,r)),null!=n&&Ms(r,s)}function jc(){let e=ut();const t=lt();ft()?mt():(e=e.parent,pt(e,!1)),t.firstCreatePass&&($t(t,e),Ce(e)&&t.queries.elementEnd(e))}function Mc(e,t,n){Pc(e,t,n),jc()}function Rc(){return at()}function Ac(e){return!!e&&"function"==typeof e.then}function Tc(e){return!!e&&"function"==typeof e.subscribe}const Dc=Tc;function Fc(e,t,n=!1,r){const i=at(),o=lt(),s=ut();return Nc(o,i,i[11],s,e,t,n,r),Fc}function Lc(e,t,n=!1,r){const i=ut(),o=at(),s=lt();return Nc(s,o,ca(kt(s.data),i,o),i,e,t,n,r),Lc}function Nc(e,t,n,r,i,o,s=!1,a){const l=Se(r),c=e.firstCreatePass&&la(e),u=t[8],d=aa(t);let h=!0;if(3&r.type){const p=We(r,t),f=a?a(p):q,m=f.target||p,g=d.length,_=a?e=>a($e(e[r.index])).target:r.index;if(He(n)){let s=null;if(!a&&l&&(s=function(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const e=i[o];if(e===n&&i[o+1]===r){const e=t[7],n=i[o+2];return e.length>n?e[n]:null}"string"==typeof e&&(o+=2)}return null}(e,t,i,r.index)),null!==s)(s.__ngLastListenerFn__||s).__ngNextListenerFn__=o,s.__ngLastListenerFn__=o,h=!1;else{o=Bc(r,t,u,o,!1);const e=n.listen(f.name||m,i,o);d.push(o,e),c&&c.push(i,_,g,g+1)}}else o=Bc(r,t,u,o,!0),m.addEventListener(i,o,s),d.push(o),c&&c.push(i,_,g,s)}else o=Bc(r,t,u,o,!1);const p=r.outputs;let f;if(h&&null!==p&&(f=p[i])){const e=f.length;if(e)for(let n=0;n<e;n+=2){const e=t[f[n]][f[n+1]].subscribe(o),s=d.length;d.push(o,e),c&&c.push(i,r.index,s,-(s+1))}}}function Vc(e,t,n,r){try{return Fe(6,t,n),!1!==n(r)}catch(i){return ua(e,i),!1}finally{Fe(7,t,n)}}function Bc(e,t,n,r,i){return function o(s){if(s===Function)return r;const a=2&e.flags?Ze(e.index,t):t;0==(32&t[2])&&ta(a);let l=Vc(t,n,r,s),c=o.__ngNextListenerFn__;for(;c;)l=Vc(t,n,c,s)&&l,c=c.__ngNextListenerFn__;return i&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function zc(e=1){return Lt(e)}function Hc(e,t){let n=null;const r=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(e);for(let i=0;i<t.length;i++){const o=t[i];if("*"!==o){if(null===r?ss(e,o,!0):as(r,o))return i}else n=i}return n}function Uc(e){const t=at()[16][6];if(!t.projection){const n=t.projection=er(e?e.length:1,null),r=n.slice();let i=t.child;for(;null!==i;){const t=e?Hc(i,e):0;null!==t&&(r[t]?r[t].projectionNext=i:n[t]=i,r[t]=i),i=i.next}}}function $c(e,t=0,n){const r=at(),i=lt(),o=xs(i,ve+e,16,null,n||null);null===o.projection&&(o.projection=t),mt(),64!=(64&o.flags)&&function(e,t,n){Zo(t[11],0,t,n,Mo(e,n,t),Lo(n.parent||t[6],n,t))}(i,r,o)}function Gc(e,t,n){return Wc(e,"",t,"",n),Gc}function Wc(e,t,n,r,i){const o=at(),s=Sl(o,t,n,r);return s!==us&&Ls(lt(),Bt(),o,e,s,o[11],i,!1),Wc}function Yc(e,t,n,r,i,o,s){const a=at(),l=kl(a,t,n,r,i,o);return l!==us&&Ls(lt(),Bt(),a,e,l,a[11],s,!1),Yc}function qc(e,t,n,r,i,o,s,a,l){const c=at(),u=El(c,t,n,r,i,o,s,a);return u!==us&&Ls(lt(),Bt(),c,e,u,c[11],l,!1),qc}function Zc(e,t,n,r,i,o,s,a,l,c,u){const d=at(),h=Il(d,t,n,r,i,o,s,a,l,c);return h!==us&&Ls(lt(),Bt(),d,e,h,d[11],u,!1),Zc}function Qc(e,t,n,r,i,o,s,a,l,c,u,d,h){const p=at(),f=Pl(p,t,n,r,i,o,s,a,l,c,u,d);return f!==us&&Ls(lt(),Bt(),p,e,f,p[11],h,!1),Qc}function Xc(e,t,n,r,i,o,s,a,l,c,u,d,h,p,f){const m=at(),g=jl(m,t,n,r,i,o,s,a,l,c,u,d,h,p);return g!==us&&Ls(lt(),Bt(),m,e,g,m[11],f,!1),Xc}function Kc(e,t,n,r,i,o,s,a,l,c,u,d,h,p,f,m,g){const _=at(),b=Ml(_,t,n,r,i,o,s,a,l,c,u,d,h,p,f,m);return b!==us&&Ls(lt(),Bt(),_,e,b,_[11],g,!1),Kc}function Jc(e,t,n,r,i,o,s,a,l,c,u,d,h,p,f,m,g,_,b){const v=at(),y=Rl(v,t,n,r,i,o,s,a,l,c,u,d,h,p,f,m,g,_);return y!==us&&Ls(lt(),Bt(),v,e,y,v[11],b,!1),Jc}function eu(e,t,n){const r=at(),i=Ol(r,t);return i!==us&&Ls(lt(),Bt(),r,e,i,r[11],n,!1),eu}function tu(e,t,n,r,i){const o=e[n+1],s=null===t;let a=r?fs(o):gs(o),l=!1;for(;0!==a&&(!1===l||s);){const n=e[a+1];nu(e[a],t)&&(l=!0,e[a+1]=r?bs(n):ms(n)),a=r?fs(n):gs(n)}l&&(e[n+1]=r?ms(o):bs(o))}function nu(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&rr(e,t)>=0}const ru={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function iu(e){return e.substring(ru.key,ru.keyEnd)}function ou(e){return e.substring(ru.value,ru.valueEnd)}function su(e,t){const n=ru.textEnd;return n===t?-1:(t=ru.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,ru.key=t,n),cu(e,t,n))}function au(e,t){const n=ru.textEnd;let r=ru.key=cu(e,t,n);return n===r?-1:(r=ru.keyEnd=function(e,t,n){let r;for(;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=uu(e,r,n),r=ru.value=cu(e,r,n),r=ru.valueEnd=function(e,t,n){let r=-1,i=-1,o=-1,s=t,a=s;for(;s<n;){const l=e.charCodeAt(s++);if(59===l)return a;34===l||39===l?a=s=du(e,l,s,n):t===s-4&&85===o&&82===i&&76===r&&40===l?a=s=du(e,41,s,n):l>32&&(a=s),o=i,i=r,r=-33&l}return a}(e,r,n),uu(e,r,n))}function lu(e){ru.key=0,ru.keyEnd=0,ru.value=0,ru.valueEnd=0,ru.textEnd=e.length}function cu(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function uu(e,t,n,r){return(t=cu(e,t,n))<n&&t++,t}function du(e,t,n,r){let i=-1,o=n;for(;o<r;){const n=e.charCodeAt(o++);if(n==t&&92!==i)return o;i=92==n&&92===i?0:n}throw new Error}function hu(e,t,n){return bu(e,t,n,!1),hu}function pu(e,t){return bu(e,t,null,!0),pu}function fu(e){vu(Ou,mu,e,!1)}function mu(e,t){for(let n=function(e){return lu(e),au(e,cu(e,0,ru.textEnd))}(t);n>=0;n=au(t,n))Ou(e,iu(t),ou(t))}function gu(e){vu(tr,_u,e,!0)}function _u(e,t){for(let n=function(e){return lu(e),su(e,cu(e,0,ru.textEnd))}(t);n>=0;n=su(t,n))tr(e,iu(t),!0)}function bu(e,t,n,r){const i=at(),o=lt(),s=xt(2);o.firstUpdatePass&&wu(o,e,s,r),t!==us&&vl(i,s,t)&&Su(o,o.data[Nt()],i,i[11],e,i[s+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=h(Jr(e)))),e}(t,n),r,s)}function vu(e,t,n,r){const i=lt(),o=xt(2);i.firstUpdatePass&&wu(i,null,o,r);const s=at();if(n!==us&&vl(s,o,n)){const a=i.data[Nt()];if(Iu(a,r)&&!yu(i,o)){let e=r?a.classesWithoutHost:a.stylesWithoutHost;null!==e&&(n=p(e,n||"")),Sc(i,a,s,n,r)}else!function(e,t,n,r,i,o,s,a){i===us&&(i=Z);let l=0,c=0,u=0<i.length?i[0]:null,d=0<o.length?o[0]:null;for(;null!==u||null!==d;){const h=l<i.length?i[l+1]:void 0,p=c<o.length?o[c+1]:void 0;let f,m=null;u===d?(l+=2,c+=2,h!==p&&(m=d,f=p)):null===d||null!==u&&u<d?(l+=2,m=u):(c+=2,m=d,f=p),null!==m&&Su(e,t,n,r,m,f,s,a),u=l<i.length?i[l]:null,d=c<o.length?o[c]:null}}(i,a,s,s[11],s[o+1],s[o+1]=function(e,t,n){if(null==n||""===n)return Z;const r=[],i=Jr(n);if(Array.isArray(i))for(let o=0;o<i.length;o++)e(r,i[o],!0);else if("object"==typeof i)for(const o in i)i.hasOwnProperty(o)&&e(r,o,i[o]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,o)}}function yu(e,t){return t>=e.expandoStartIndex}function wu(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[Nt()],s=yu(e,n);Iu(o,r)&&null===t&&!s&&(t=!1),t=function(e,t,n,r){const i=kt(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Cu(n=xu(null,e,t,n,r),t.attrs,r),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==i)if(n=xu(i,e,t,n,r),null===o){let n=function(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==gs(r))return e[fs(r)]}(e,t,r);void 0!==n&&Array.isArray(n)&&(n=xu(null,e,t,n[1],r),n=Cu(n,t.attrs,r),function(e,t,n,r){e[fs(n?t.classBindings:t.styleBindings)]=r}(e,t,r,n))}else o=function(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++)r=Cu(r,e[o].hostAttrs,n);return Cu(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function(e,t,n,r,i,o){let s=o?t.classBindings:t.styleBindings,a=fs(s),l=gs(s);e[r]=n;let c,u=!1;if(Array.isArray(n)){const e=n;c=e[1],(null===c||rr(e,c)>0)&&(u=!0)}else c=n;if(i)if(0!==l){const t=fs(e[a+1]);e[r+1]=ps(t,a),0!==t&&(e[t+1]=_s(e[t+1],r)),e[a+1]=131071&e[a+1]|r<<17}else e[r+1]=ps(a,0),0!==a&&(e[a+1]=_s(e[a+1],r)),a=r;else e[r+1]=ps(l,0),0===a?a=r:e[l+1]=_s(e[l+1],r),l=r;u&&(e[r+1]=ms(e[r+1])),tu(e,c,r,!0),tu(e,c,r,!1),function(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&rr(o,t)>=0&&(n[r+1]=bs(n[r+1]))}(t,c,e,r,o),s=ps(a,l),o?t.classBindings=s:t.styleBindings=s}(i,o,t,n,s,r)}}function xu(e,t,n,r,i){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(o=t[a],r=Cu(r,o.hostAttrs,i),o!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function Cu(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let o=0;o<t.length;o++){const s=t[o];"number"==typeof s?i=s:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),tr(e,s,!!n||t[++o]))}return void 0===e?null:e}function Ou(e,t,n){tr(e,t,Jr(n))}function Su(e,t,n,r,i,o,s,a){if(!(3&t.type))return;const l=e.data,c=l[a+1];Eu(1==(1&c)?ku(l,t,n,i,gs(c),s):void 0)||(Eu(o)||2==(2&c)&&(o=ku(l,null,n,i,a,s)),function(e,t,n,r,i){const o=He(e);if(t)i?o?e.addClass(n,r):n.classList.add(r):o?e.removeClass(n,r):n.classList.remove(r);else{let t=-1===r.indexOf("-")?void 0:fo.DashCase;if(null==i)o?e.removeStyle(n,r,t):n.style.removeProperty(r);else{const s="string"==typeof i&&i.endsWith("!important");s&&(i=i.slice(0,-10),t|=fo.Important),o?e.setStyle(n,r,i,t):n.style.setProperty(r,i,s?"important":"")}}}(r,s,Ge(Nt(),n),i,o))}function ku(e,t,n,r,i,o){const s=null===t;let a;for(;i>0;){const t=e[i],o=Array.isArray(t),l=o?t[1]:t,c=null===l;let u=n[i+1];u===us&&(u=c?Z:void 0);let d=c?nr(u,r):l===r?u:void 0;if(o&&!Eu(d)&&(d=nr(t,r)),Eu(d)&&(a=d,s))return a;const h=e[i+1];i=s?fs(h):gs(h)}if(null!==t){let e=o?t.residualClasses:t.residualStyles;null!=e&&(a=nr(e,r))}return a}function Eu(e){return void 0!==e}function Iu(e,t){return 0!=(e.flags&(t?16:32))}function Pu(e,t=""){const n=at(),r=lt(),i=e+ve,o=r.firstCreatePass?xs(r,i,1,t,null):r.data[i],s=n[i]=Co(n[11],t);Ho(r,n,s,o),pt(o,!1)}function ju(e){return Mu("",e,""),ju}function Mu(e,t,n){const r=at(),i=Sl(r,e,t,n);return i!==us&&ha(r,Nt(),i),Mu}function Ru(e,t,n,r,i){const o=at(),s=kl(o,e,t,n,r,i);return s!==us&&ha(o,Nt(),s),Ru}function Au(e,t,n,r,i,o,s){const a=at(),l=El(a,e,t,n,r,i,o,s);return l!==us&&ha(a,Nt(),l),Au}function Tu(e,t,n,r,i,o,s,a,l){const c=at(),u=Il(c,e,t,n,r,i,o,s,a,l);return u!==us&&ha(c,Nt(),u),Tu}function Du(e,t,n,r,i,o,s,a,l,c,u){const d=at(),h=Pl(d,e,t,n,r,i,o,s,a,l,c,u);return h!==us&&ha(d,Nt(),h),Du}function Fu(e,t,n,r,i,o,s,a,l,c,u,d,h){const p=at(),f=jl(p,e,t,n,r,i,o,s,a,l,c,u,d,h);return f!==us&&ha(p,Nt(),f),Fu}function Lu(e,t,n,r,i,o,s,a,l,c,u,d,h,p,f){const m=at(),g=Ml(m,e,t,n,r,i,o,s,a,l,c,u,d,h,p,f);return g!==us&&ha(m,Nt(),g),Lu}function Nu(e,t,n,r,i,o,s,a,l,c,u,d,h,p,f,m,g){const _=at(),b=Rl(_,e,t,n,r,i,o,s,a,l,c,u,d,h,p,f,m,g);return b!==us&&ha(_,Nt(),b),Nu}function Vu(e){const t=at(),n=Ol(t,e);return n!==us&&ha(t,Nt(),n),Vu}function Bu(e,t,n){vu(tr,_u,Sl(at(),e,t,n),!0)}function zu(e,t,n,r,i){vu(tr,_u,kl(at(),e,t,n,r,i),!0)}function Hu(e,t,n,r,i,o,s){vu(tr,_u,El(at(),e,t,n,r,i,o,s),!0)}function Uu(e,t,n,r,i,o,s,a,l){vu(tr,_u,Il(at(),e,t,n,r,i,o,s,a,l),!0)}function $u(e,t,n,r,i,o,s,a,l,c,u){vu(tr,_u,Pl(at(),e,t,n,r,i,o,s,a,l,c,u),!0)}function Gu(e,t,n,r,i,o,s,a,l,c,u,d,h){vu(tr,_u,jl(at(),e,t,n,r,i,o,s,a,l,c,u,d,h),!0)}function Wu(e,t,n,r,i,o,s,a,l,c,u,d,h,p,f){vu(tr,_u,Ml(at(),e,t,n,r,i,o,s,a,l,c,u,d,h,p,f),!0)}function Yu(e,t,n,r,i,o,s,a,l,c,u,d,h,p,f,m,g){vu(tr,_u,Rl(at(),e,t,n,r,i,o,s,a,l,c,u,d,h,p,f,m,g),!0)}function qu(e){vu(tr,_u,Ol(at(),e),!0)}function Zu(e,t,n){fu(Sl(at(),e,t,n))}function Qu(e,t,n,r,i){fu(kl(at(),e,t,n,r,i))}function Xu(e,t,n,r,i,o,s){fu(El(at(),e,t,n,r,i,o,s))}function Ku(e,t,n,r,i,o,s,a,l){fu(Il(at(),e,t,n,r,i,o,s,a,l))}function Ju(e,t,n,r,i,o,s,a,l,c,u){fu(Pl(at(),e,t,n,r,i,o,s,a,l,c,u))}function ed(e,t,n,r,i,o,s,a,l,c,u,d,h){fu(jl(at(),e,t,n,r,i,o,s,a,l,c,u,d,h))}function td(e,t,n,r,i,o,s,a,l,c,u,d,h,p,f){fu(Ml(at(),e,t,n,r,i,o,s,a,l,c,u,d,h,p,f))}function nd(e,t,n,r,i,o,s,a,l,c,u,d,h,p,f,m,g){fu(Rl(at(),e,t,n,r,i,o,s,a,l,c,u,d,h,p,f,m,g))}function rd(e){fu(Ol(at(),e))}function id(e,t,n,r,i){return bu(e,Sl(at(),t,n,r),i,!1),id}function od(e,t,n,r,i,o,s){return bu(e,kl(at(),t,n,r,i,o),s,!1),od}function sd(e,t,n,r,i,o,s,a,l){return bu(e,El(at(),t,n,r,i,o,s,a),l,!1),sd}function ad(e,t,n,r,i,o,s,a,l,c,u){return bu(e,Il(at(),t,n,r,i,o,s,a,l,c),u,!1),ad}function ld(e,t,n,r,i,o,s,a,l,c,u,d,h){return bu(e,Pl(at(),t,n,r,i,o,s,a,l,c,u,d),h,!1),ld}function cd(e,t,n,r,i,o,s,a,l,c,u,d,h,p,f){return bu(e,jl(at(),t,n,r,i,o,s,a,l,c,u,d,h,p),f,!1),cd}function ud(e,t,n,r,i,o,s,a,l,c,u,d,h,p,f,m,g){return bu(e,Ml(at(),t,n,r,i,o,s,a,l,c,u,d,h,p,f,m),g,!1),ud}function dd(e,t,n,r,i,o,s,a,l,c,u,d,h,p,f,m,g,_,b){return bu(e,Rl(at(),t,n,r,i,o,s,a,l,c,u,d,h,p,f,m,g,_),b,!1),dd}function hd(e,t,n){return bu(e,Ol(at(),t),n,!1),hd}function pd(e,t,n){const r=at();return vl(r,wt(),t)&&Ls(lt(),Bt(),r,e,t,r[11],n,!0),pd}function fd(e,t,n){const r=at();if(vl(r,wt(),t)){const i=lt(),o=Bt();Ls(i,o,r,e,t,ca(kt(i.data),o,r),n,!0)}return fd}const md=void 0;var gd=["en",[["a","p"],["AM","PM"],md],[["AM","PM"],md,md],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],md,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],md,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",md,"{1} 'at' {0}",md],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let _d={};function bd(e,t,n){"string"!=typeof t&&(n=t,t=e[Od.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),_d[t]=e,n&&(_d[t][Od.ExtraData]=n)}function vd(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=xd(t);if(n)return n;const r=t.split("-")[0];if(n=xd(r),n)return n;if("en"===r)return gd;throw new Error(`Missing locale data for the locale "${e}".`)}function yd(e){return vd(e)[Od.CurrencyCode]||null}function wd(e){return vd(e)[Od.PluralCase]}function xd(e){return e in _d||(_d[e]=Y.ng&&Y.ng.common&&Y.ng.common.locales&&Y.ng.common.locales[e]),_d[e]}function Cd(){_d={}}var Od=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({});const Sd=["zero","one","two","few","many"],kd="en-US",Ed="USD",Id={marker:"element"},Pd={marker:"ICU"};var jd=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}({});let Md=kd;function Rd(e){var t;null==(t=e)&&x("Expected localeId to be defined",t,null,"!="),"string"==typeof e&&(Md=e.toLowerCase().replace(/_/g,"-"))}function Ad(e,t,n){const r=t.insertBeforeIndex,i=Array.isArray(r)?r[0]:r;return null===i?No(e,0,n):$e(n[i])}function Td(e,t,n,r,i){const o=t.insertBeforeIndex;if(Array.isArray(o)){let s=r,a=null;if(3&t.type||(a=s,s=i),null!==s&&0==(2&t.flags))for(let t=1;t<o.length;t++)Ao(e,s,n[o[t]],a,!1)}}function Dd(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const r=e[n];Fd(r)||Ld(r,t)&&null===Nd(r)&&Vd(r,t.index)}}function Fd(e){return!(64&e.type)}function Ld(e,t){return Fd(t)||e.index>t.index}function Nd(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function Vd(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(zo(Ad,Td),e.insertBeforeIndex=t)}function Bd(e,t){const n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function zd(e,t,n){const r=Cs(e,n,64,null,null);return Dd(t,r),r}function Hd(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}let Ud=0,$d=0;function Gd(e,t,n,r){const i=n[11];let o,s=null;for(let a=0;a<t.length;a++){const l=t[a];if("string"==typeof l){const e=t[++a];null===n[e]&&(n[e]=Co(i,l))}else if("number"==typeof l)switch(1&l){case 0:const c=l>>>17;let u,d;if(null===s&&(s=c,o=Fo(i,r)),c===s?(u=r,d=o):(u=null,d=$e(n[c])),null!==d){const t=(131070&l)>>>1;Ao(i,d,n[t],u,!1);const r=Bd(e,t);if(null!==r&&"object"==typeof r){const t=Hd(r,n);null!==t&&Gd(e,r.create[t],n,n[r.anchorIdx])}}break;case 1:const h=t[++a],p=t[++a];Ys(i,Ge(l>>>1,n),null,null,h,p,null);break;default:throw new Error(`Unable to determine the type of mutate operation for "${l}"`)}else switch(l){case Pd:const e=t[++a],r=t[++a];null===n[r]&&ro(n[r]=So(i,e),n);break;case Id:const o=t[++a],s=t[++a];null===n[s]&&ro(n[s]=ko(i,o,null),n)}}}function Wd(e,t,n,r,i){for(let o=0;o<n.length;o++){const s=n[o],a=n[++o];if(s&i){let i="";for(let s=o+1;s<=o+a;s++){const o=n[s];if("string"==typeof o)i+=o;else if("number"==typeof o)if(o<0)i+=v(t[r-o]);else{const a=o>>>2;switch(3&o){case 1:const o=n[++s],l=n[++s],c=e.data[a];"string"==typeof c?Ys(t[11],t[a],null,c,o,i,l):Ls(e,c,t,o,i,t[11],l,!1);break;case 0:const u=t[a];null!==u&&Oo(t[11],u,i);break;case 2:qd(e,Bd(e,a),t,i);break;case 3:Yd(e,Bd(e,a),r,t)}}}}else{const i=n[o+1];if(i>0&&3==(3&i)){const n=Bd(e,i>>>2);t[n.currentCaseLViewIndex]<0&&Yd(e,n,r,t)}}o+=a}}function Yd(e,t,n,r){let i=r[t.currentCaseLViewIndex];if(null!==i){let o=Ud;i<0&&(i=r[t.currentCaseLViewIndex]=~i,o=-1),Wd(e,r,t.update[i],n,o)}}function qd(e,t,n,r){const i=function(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function(e,t){const n=wd(t)(parseInt(e,10)),r=Sd[n];return void 0!==r?r:"other"}(t,Md);n=e.cases.indexOf(r),-1===n&&"other"!==r&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,r);if(Hd(t,n)!==i&&(Zd(e,t,n),n[t.currentCaseLViewIndex]=null===i?null:~i,null!==i)){const r=n[t.anchorIdx];r&&Gd(e,t.create[i],n,r)}}function Zd(e,t,n){let r=Hd(t,n);if(null!==r){const i=t.remove[r];for(let t=0;t<i.length;t++){const r=i[t];if(r>0){const e=Ge(r,n);null!==e&&Wo(n[11],e)}else Zd(e,Bd(e,~r),n)}}}const Qd=/\ufffd(\d+):?\d*\ufffd/gi,Xd=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,Kd=/\ufffd(\d+)\ufffd/,Jd=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,eh=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,th=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,nh=/\uE500/g;function rh(e,t,n,r,i,o,s){const a=Os(e,r,1,null);let l=a<<jd.SHIFT,c=ht();t===c&&(c=null),null===c&&(l|=jd.APPEND_EAGERLY),s&&(l|=jd.COMMENT,void 0===mo&&(mo=function(){const e=[];let t,n,r=-1;function i(e,t){r=0;const i=Hd(e,t);n=null!==i?e.remove[i]:Q}function o(){if(r<n.length){const s=n[r++];return s>0?t[s]:(e.push(r,n),i(t[1].data[~s],t),o())}return 0===e.length?null:(n=e.pop(),r=e.pop(),o())}return function(n,r){for(t=r;e.length;)e.pop();return i(n.value,r),o}}())),i.push(l,null===o?"":o);const u=Cs(e,a,s?32:1,null===o?"":o,null);Dd(n,u);const d=u.index;return pt(u,!1),null!==c&&t!==c&&function(e,t){let n=e.insertBeforeIndex;var r;null===n?(zo(Ad,Td),n=e.insertBeforeIndex=[null,t]):("Expecting array here",(r=Array.isArray(n))!=!0&&x("Expecting array here",r,true,"=="),n.push(t))}(c,d),u}function ih(e,t,n,r,i,o,s){const a=s.match(Qd),l=rh(e,t,n,o,r,a?null:s,!1);a&&oh(i,s,l.index,null,0,null)}function oh(e,t,n,r,i,o){const s=e.length,a=s+1;e.push(null,null);const l=s+2,c=t.split(Qd);let u=0;for(let d=0;d<c.length;d++){const t=c[d];if(1&d){const n=i+parseInt(t,10);e.push(-1-n),u|=ah(n)}else""!==t&&e.push(t)}return e.push(n<<2|(r?1:0)),r&&e.push(r,o),e[s]=u,e[a]=e.length-l,u}function sh(e){let t=0;for(let n=0;n<e.length;n++){const r=e[n];"number"==typeof r&&r<0&&t++}return t}function ah(e){return 1<<Math.min(e,31)}function lh(e){let t,n,r="",i=0,o=!1;for(;null!==(t=eh.exec(e));)o?t[0]===`\ufffd/*${n}\ufffd`&&(i=t.index,o=!1):(r+=e.substring(i,t.index+t[0].length),n=t[1],o=!0);return r+=e.substr(i),r}function ch(e,t,n,r,i,o){let s=0;const a={type:i.type,currentCaseLViewIndex:Os(e,t,1,null),anchorIdx:o,cases:[],create:[],remove:[],update:[]};!function(e,t,n){e.push(ah(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}(n,i,o),function(e,t,n){const r=e.data[t];null===r?e.data[t]=n:r.value=n}(e,o,a);const l=i.values;for(let c=0;c<l.length;c++){const o=l[c],u=[];for(let e=0;e<o.length;e++){const t=o[e];if("string"!=typeof t){const n=u.push(t)-1;o[e]=`\x3c!--\ufffd${n}\ufffd--\x3e`}}s=hh(e,a,t,n,r,i.cases[c],o.join(""),u)|s}s&&function(e,t,n){e.push(t,1,n<<2|3)}(n,s,o)}function uh(e){const t=[],n=[];let r=1,i=0;const o=dh(e=e.replace(Jd,function(e,t,n){return r="select"===n?0:1,i=parseInt(t.substr(1),10),""}));for(let s=0;s<o.length;){let e=o[s++].trim();1===r&&(e=e.replace(/\s*(?:=)?(\w+)\s*/,"$1")),e.length&&t.push(e);const i=dh(o[s++]);t.length>n.length&&n.push(i)}return{type:r,mainBinding:i,cases:t,values:n}}function dh(e){if(!e)return[];let t=0;const n=[],r=[],i=/[{}]/g;let o;for(i.lastIndex=0;o=i.exec(e);){const i=o.index;if("}"==o[0]){if(n.pop(),0==n.length){const n=e.substring(t,i);Jd.test(n)?r.push(uh(n)):r.push(n),t=i+1}}else{if(0==n.length){const n=e.substring(t,i);r.push(n),t=i+1}n.push("{")}}const s=e.substring(t);return r.push(s),r}function hh(e,t,n,r,i,o,s,a){const l=[],c=[],u=[];t.cases.push(o),t.create.push(l),t.remove.push(c),t.update.push(u);const d=ai(ze()).getInertBodyElement(s),h=Mi(d)||d;return h?ph(e,t,n,r,l,c,u,h,i,a,0):0}function ph(e,t,n,r,i,o,s,a,l,c,u){let d=0,h=a.firstChild;for(;h;){const a=Os(e,n,1,null);switch(h.nodeType){case Node.ELEMENT_NODE:const p=h,f=p.tagName.toLowerCase();if(yi.hasOwnProperty(f)){gh(i,Id,f,l,a),e.data[a]=f;const m=p.attributes;for(let e=0;e<m.length;e++){const t=m.item(e),n=t.name.toLowerCase();t.value.match(Qd)?Ci.hasOwnProperty(n)&&oh(s,t.value,a,t.name,0,wi[n]?hi:xi[n]?pi:null):_h(i,a,t)}d=ph(e,t,n,r,i,o,s,h,a,c,u+1)|d,fh(o,a,u)}break;case Node.TEXT_NODE:const m=h.textContent||"",g=m.match(Qd);gh(i,null,g?"":m,l,a),fh(o,a,u),g&&(d=oh(s,m,a,null,0,null)|d);break;case Node.COMMENT_NODE:const _=Kd.exec(h.textContent||"");if(_){const t=c[parseInt(_[1],10)];gh(i,Pd,"",l,a),ch(e,n,r,l,t,a),mh(o,a,u)}}h=h.nextSibling}return d}function fh(e,t,n){0===n&&e.push(t)}function mh(e,t,n){0===n&&(e.push(~t),e.push(t))}function gh(e,t,n,r,i){null!==t&&e.push(t),e.push(n,i,0|r<<17|i<<1)}function _h(e,t,n){e.push(t<<1|1,n.name,n.value)}const bh=/\[(\ufffd.+?\ufffd?)\]/,vh=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,yh=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,wh=/{([A-Z0-9_]+)}/g,xh=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,Ch=/\/\*/,Oh=/\d+\:(\d+)/;function Sh(e,t={}){let n=e;if(bh.test(e)){const e={},t=[0];n=n.replace(vh,(n,r,i)=>{const o=r||i,s=e[o]||[];if(s.length||(o.split("|").forEach(e=>{const t=e.match(Oh),n=t?parseInt(t[1],10):0,r=Ch.test(e);s.push([n,r,e])}),e[o]=s),!s.length)throw new Error(`i18n postprocess: unmatched placeholder - ${o}`);const a=t[t.length-1];let l=0;for(let e=0;e<s.length;e++)if(s[e][0]===a){l=e;break}const[c,u,d]=s[l];return u?t.pop():a!==c&&t.push(c),s.splice(l,1),d})}return Object.keys(t).length?(n=n.replace(yh,(e,n,r,i,o,s)=>t.hasOwnProperty(r)?`${n}${t[r]}${s}`:e),n=n.replace(wh,(e,n)=>t.hasOwnProperty(n)?t[n]:e),n=n.replace(xh,(e,n)=>{if(t.hasOwnProperty(n)){const r=t[n];if(!r.length)throw new Error(`i18n postprocess: unmatched ICU - ${e} with key: ${n}`);return r.shift()}return e}),n):n}function kh(e,t,n=-1){const r=lt(),i=at(),o=ve+e,s=et(r.consts,t),a=ht();r.firstCreatePass&&function(e,t,n,r,i,o){const s=ht(),a=[],l=[],c=[[]],u=(d=i=function(e,t){if(function(e){return-1===e}(t))return lh(e);{const n=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,r=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return lh(e.substring(n,r))}}(i,o),d.replace(nh," ")).split(th);var d;for(let h=0;h<u.length;h++){let r=u[h];if(0==(1&h)){const o=dh(r);for(let r=0;r<o.length;r++){let u=o[r];if(0==(1&r)){const t=u;""!==t&&ih(e,s,c[0],a,l,n,t)}else{const r=u;if("object"!=typeof r)throw new Error(`Unable to parse ICU expression in "${i}" message.`);ch(e,n,l,t,r,rh(e,s,c[0],n,a,"",!0).index)}}}else{const t=47===r.charCodeAt(0),n=(r.charCodeAt(t?1:0),ve+Number.parseInt(r.substring(t?2:1)));if(t)c.shift(),pt(ht(),!1);else{const t=zd(e,c[0],n);c.unshift([]),pt(t,!0)}}}e.data[r]={create:a,update:l}}(r,null===a?0:a.index,i,o,s,n);const l=r.data[o],c=Ro(r,a===i[6]?null:a,i);!function(e,t,n,r){const i=e[11];for(let o=0;o<t.length;o++){const s=t[o++],a=t[o],l=(s&jd.COMMENT)===jd.COMMENT,c=(s&jd.APPEND_EAGERLY)===jd.APPEND_EAGERLY,u=s>>>jd.SHIFT;let d=e[u];null===d&&(d=e[u]=l?i.createComment(a):Co(i,a)),c&&null!==n&&Ao(i,n,d,r,!1)}}(i,l.create,c,a&&8&a.type?i[a.index]:null),Ct(!0)}function Eh(){Ct(!1)}function Ih(e,t,n){kh(e,t,n),Eh()}function Ph(e,t){const n=lt(),r=et(n.consts,t);!function(e,t,n){const r=ut().index,i=[];if(e.firstCreatePass&&null===e.data[t]){for(let e=0;e<n.length;e+=2){const t=n[e],o=n[e+1];if(""!==o){if(Xd.test(o))throw new Error(`ICU expressions are not supported in attributes. Message: "${o}".`);oh(i,o,r,t,sh(i),null)}}e.data[t]=i}}(n,e+ve,r)}function jh(e){return vl(at(),wt(),e)&&(Ud|=1<<Math.min($d,31)),$d++,jh}function Mh(e){!function(e,t,n){if($d>0){const r=e.data[n];Wd(e,t,Array.isArray(r)?r:r.update,vt()-$d-1,Ud)}Ud=0,$d=0}(lt(),at(),e+ve)}function Rh(e,t={}){return Sh(e,t)}function Ah(e,t,n,r,i){if(e=g(e),Array.isArray(e))for(let o=0;o<e.length;o++)Ah(e[o],t,n,r,i);else{const o=lt(),s=at();let a=Ma(e)?e:g(e.provide),l=Ia(e);const c=ut(),u=1048575&c.providerIndexes,d=c.directiveStart,h=c.providerIndexes>>20;if(Ma(e)||!e.multi){const r=new Xt(l,i,xc),p=Fh(a,t,i?u:u+h,d);-1===p?(fn(un(c,s),o,a),Th(o,e,t.length),t.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(r),s.push(r)):(n[p]=r,s[p]=r)}else{const p=Fh(a,t,u+h,d),f=Fh(a,t,u,u+h),m=p>=0&&n[p],g=f>=0&&n[f];if(i&&!g||!i&&!m){fn(un(c,s),o,a);const u=function(e,t,n,r,i){const o=new Xt(e,n,xc);return o.multi=[],o.index=t,o.componentProviders=0,Dh(o,i,r&&!n),o}(i?Nh:Lh,n.length,i,r,l);!i&&g&&(n[f].providerFactory=u),Th(o,e,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(u),s.push(u)}else Th(o,e,p>-1?p:f,Dh(n[i?f:p],l,!i&&r));!i&&r&&g&&n[f].componentProviders++}}}function Th(e,t,n,r){const i=Ma(t);if(i||t.useClass){const o=(t.useClass||t).prototype.ngOnDestroy;if(o){const s=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const e=s.indexOf(n);-1===e?s.push(n,[r,o]):s[e+1].push(r,o)}else s.push(n,o)}}}function Dh(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Fh(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function Lh(e,t,n,r){return Vh(this.multi,[])}function Nh(e,t,n,r){const i=this.multi;let o;if(this.providerFactory){const e=this.providerFactory.componentProviders,t=Cn(n,n[1],this.providerFactory.index,r);o=t.slice(0,e),Vh(i,o);for(let n=e;n<t.length;n++)o.push(t[n])}else o=[],Vh(i,o);return o}function Vh(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Bh(e,t=[]){return n=>{n.providersResolver=(n,r)=>function(e,t,n){const r=lt();if(r.firstCreatePass){const i=ke(e);Ah(n,r.data,r.blueprint,i,!0),Ah(t,r.data,r.blueprint,i,!1)}}(n,r?r(e):e,t)}}class zh{}class Hh{}function Uh(e){const t=Error(`No component factory found for ${h(e)}. Did you add it to @NgModule.entryComponents?`);return t[$h]=e,t}const $h="ngComponent";class Gh{resolveComponentFactory(e){throw Uh(e)}}let Wh=(()=>{class e{}return e.NULL=new Gh,e})();class Yh{constructor(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(let r=0;r<e.length;r++){const t=e[r];this._factories.set(t.componentType,t)}}resolveComponentFactory(e){let t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw Uh(e);return new qh(t,this._ngModule)}}class qh extends Hh{constructor(e,t){super(),this.factory=e,this.ngModule=t,this.selector=e.selector,this.componentType=e.componentType,this.ngContentSelectors=e.ngContentSelectors,this.inputs=e.inputs,this.outputs=e.outputs}create(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)}}function Zh(...e){}function Qh(){return Xh(ut(),at())}function Xh(e,t){return new ep(We(e,t))}const Kh=Qh,Jh=Kh;let ep=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=Jh,e})();function tp(e){return e instanceof ep?e.nativeElement:e}class np{}let rp=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>op(),e})();const ip=sp,op=ip;function sp(){const e=at(),t=Ze(ut().index,e);return function(e){return e[11]}(we(t)?t:e)}let ap=(()=>{class e{}return e.\u0275prov=C({token:e,providedIn:"root",factory:()=>null}),e})();class lp{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const cp=new lp("11.2.14");class up{constructor(){}supports(e){return ml(e)}create(e){return new hp(e)}}const dp=(e,t)=>t;class hp{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||dp}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,i=null;for(;t||n;){const o=!n||t&&t.currentIndex<gp(n,r,i)?t:n,s=gp(o,r,i),a=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{i||(i=[]);const e=s-r,t=a-r;if(e!=t){for(let n=0;n<e;n++){const r=n<i.length?i[n]:i[n]=0,o=r+n;t<=o&&o<e&&(i[n]=r+1)}i[o.previousIndex]=t-e}}s!==a&&e(o,s,a)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!ml(e))throw new Error(`Error trying to diff '${h(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,i=this._itHead,o=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],r=this._trackByFn(t,n),null!==i&&Object.is(i.trackById,r)?(o&&(i=this._verifyReinsertion(i,n,r,t)),Object.is(i.item,n)||this._addIdentityChange(i,n)):(i=this._mismatch(i,n,r,t),o=!0),i=i._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[hl()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==i&&Object.is(i.trackById,r)?(o&&(i=this._verifyReinsertion(i,e,r,t)),Object.is(i.item,e)||this._addIdentityChange(i,e)):(i=this._mismatch(i,e,r,t),o=!0),i=i._next,t++}),this.length=t;return this._truncate(i),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,r)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,r)):e=this._addAfter(new pp(t,n),i,r),e}_verifyReinsertion(e,t,n,r){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?e=this._reinsertAfter(i,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,i=e._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new mp),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new mp),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class pp{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class fp{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class mp{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new fp,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function gp(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class _p{constructor(){}supports(e){return e instanceof Map||gl(e)}create(){return new bp}}class bp{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||gl(e)))throw new Error(`Error trying to diff '${h(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}const n=new vp(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class vp{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function yp(){return new wp([new up])}let wp=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||yp()),deps:[[e,new Er,new Sr]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.\u0275prov=C({token:e,providedIn:"root",factory:yp}),e})();function xp(){return new Cp([new _p])}let Cp=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||xp()),deps:[[e,new Er,new Sr]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=C({token:e,providedIn:"root",factory:xp}),e})();function Op(e,t,n,r,i=!1){for(;null!==n;){const o=t[n.index];if(null!==o&&r.push($e(o)),xe(o))for(let e=ye;e<o.length;e++){const t=o[e],n=t[1].firstChild;null!==n&&Op(t[1],t,n,r)}const s=n.type;if(8&s)Op(e,t,n.child,r);else if(32&s){const e=go(n,t);let i;for(;i=e();)r.push(i)}else if(16&s){const e=$o(t,n);if(Array.isArray(e))r.push(...e);else{const n=_o(t[16]);Op(n[1],n,e,r,!0)}}n=i?n.projectionNext:n.next}return r}class Sp{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const e=this._lView,t=e[1];return Op(t,e,t.firstChild,[])}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const e=this._lView[3];if(xe(e)){const t=e[8],n=t?t.indexOf(this):-1;n>-1&&(Io(e,n),Jn(t,n))}this._attachedToViewContainer=!1}Po(this._lView[1],this._lView)}onDestroy(e){Ds(this._lView[1],this._lView,null,e)}markForCheck(){ta(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){ra(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){_t(!0);try{ra(e,t,n)}finally{_t(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var e;this._appRef=null,qo(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class kp extends Sp{constructor(e){super(e),this._view=e}detectChanges(){ia(this._view)}checkNoChanges(){!function(e){_t(!0);try{ia(e)}finally{_t(!1)}}(this._view)}get context(){return null}}const Ep=jp,Ip=Ep;let Pp=(()=>{class e{}return e.__NG_ELEMENT_ID__=Ip,e.__ChangeDetectorRef__=!0,e})();function jp(e=!1){return function(e,t,n){if(!n&&Oe(e)){const n=Ze(e.index,t);return new Sp(n,n)}return 47&e.type?new Sp(t[16],t):null}(ut(),at(),e)}const Mp=[new _p],Rp=new wp([new up]),Ap=new Cp(Mp),Tp=Vp,Dp=Tp;let Fp=(()=>{class e{}return e.__NG_ELEMENT_ID__=Dp,e})();const Lp=Fp,Np=class extends Lp{constructor(e,t,n){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=ws(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const r=this._declarationLView[19];return null!==r&&(n[19]=r.createEmbeddedView(t)),Ss(t,n,e),new Sp(n)}};function Vp(){return Bp(ut(),at())}function Bp(e,t){return 4&e.type?new Np(t,e,Xh(e,t)):null}class zp{}class Hp{}const Up=Wp,$p=Up;let Gp=(()=>{class e{}return e.__NG_ELEMENT_ID__=$p,e})();function Wp(){return Xp(ut(),at())}const Yp=Gp,qp=class extends Yp{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return Xh(this._hostTNode,this._hostLView)}get injector(){return new kn(this._hostTNode,this._hostLView)}get parentInjector(){const e=pn(this._hostTNode,this._hostLView);if(rn(e)){const t=sn(e,this._hostLView),n=on(e);return new kn(t[1].data[n+8],t)}return new kn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=Zp(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-ye}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,i){const o=n||this.parentInjector;if(!i&&null==e.ngModule&&o){const e=o.get(zp,null);e&&(i=e)}const s=e.create(o,r,void 0,i);return this.insert(s.hostView,t),s}insert(e,t){const n=e._lView,r=n[1];if(xe(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],r=new qp(t,t[6],t[3]);r.detach(r.indexOf(e))}}const i=this._adjustIndex(t),o=this._lContainer;!function(e,t,n,r){const i=ye+r,o=n.length;r>0&&(n[i-1][4]=t),r<o-ye?(t[4]=n[i],Kn(n,ye+r,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[17];null!==s&&n!==s&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(s,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=128}(r,n,o,i);const s=Go(i,o),a=n[11],l=Fo(a,o[7]);return null!==l&&function(e,t,n,r,i,o){r[0]=i,r[6]=t,qo(e,r,n,1,i,o)}(r,o[6],a,n,l,s),e.attachToViewContainerRef(),Kn(Qp(o),i,e),e}move(e,t){return this.insert(e,t)}indexOf(e){const t=Zp(this._lContainer);return null!==t?t.indexOf(e):-1}remove(e){const t=this._adjustIndex(e,-1),n=Io(this._lContainer,t);n&&(Jn(Qp(this._lContainer),t),Po(n[1],n))}detach(e){const t=this._adjustIndex(e,-1),n=Io(this._lContainer,t);return n&&null!=Jn(Qp(this._lContainer),t)?new Sp(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}};function Zp(e){return e[8]}function Qp(e){return e[8]||(e[8]=[])}function Xp(e,t){let n;const r=t[e.index];if(xe(r))n=r;else{let i;if(8&e.type)i=$e(r);else{const n=t[11];i=n.createComment("");const r=We(e,t);Ao(n,Fo(n,r),i,function(e,t){return He(e)?e.nextSibling(t):t.nextSibling}(n,r),!1)}t[e.index]=n=Qs(r,t,i,e),ea(t,n)}return new qp(n,e,t)}function Kp(e,t,n,r){let i=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${t}'. Current value: '${n}'.`;return r&&(i+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){const n=new Error(e);return Jp(n,t),n}(i,e)}function Jp(e,t){e.ngDebugContext=t,e.ngErrorLogger=t.logError.bind(t)}function ef(e){return new Error(`ViewDestroyedError: Attempt to use a destroyed view: ${e}`)}function tf(e,t,n){const r=e.state,i=1792&r;return i===t?(e.state=-1793&r|n,e.initIndex=-1,!0):i===n}function nf(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function rf(e,t){return e.nodes[t]}function of(e,t){return e.nodes[t]}function sf(e,t){return e.nodes[t]}function af(e,t){return e.nodes[t]}function lf(e,t){return e.nodes[t]}class cf{}const uf={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},df=()=>{},hf=new Map;function pf(e){let t=hf.get(e);return t||(t=h(e)+"_"+hf.size,hf.set(e,t)),t}function ff(e,t,n,r){if(fl.isWrapped(r)){r=fl.unwrap(r);const i=e.def.nodes[t].bindingIndex+n,o=fl.unwrap(e.oldValues[i]);e.oldValues[i]=new fl(o)}return r}const mf="$$undefined",gf="$$empty";function _f(e){return{id:mf,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}let bf=0;function vf(e,t,n,r){return!(!(2&e.state)&&Object.is(e.oldValues[t.bindingIndex+n],r))}function yf(e,t,n,r){return!!vf(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function wf(e,t,n,r){const i=e.oldValues[t.bindingIndex+n];if(1&e.state||!pl(i,r)){const o=t.bindings[n].name;throw Kp(uf.createDebugContext(e,t.nodeIndex),`${o}: ${i}`,`${o}: ${r}`,0!=(1&e.state))}}function xf(e){let t=e;for(;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function Cf(e,t){let n=e;for(;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Of(e,t,n,r){try{return xf(33554432&e.def.nodes[t].flags?of(e,t).componentView:e),uf.handleEvent(e,t,n,r)}catch(i){e.root.errorHandler.handleError(i)}}function Sf(e){return e.parent?of(e.parent,e.parentNodeDef.nodeIndex):null}function kf(e){return e.parent?e.parentNodeDef.parent:null}function Ef(e,t){switch(201347067&t.flags){case 1:return of(e,t.nodeIndex).renderElement;case 2:return rf(e,t.nodeIndex).renderText}}function If(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function Pf(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function jf(e){return 1<<e%32}function Mf(e){const t={};let n=0;const r={};return e&&e.forEach(([e,i])=>{"number"==typeof e?(t[e]=i,n|=jf(e)):r[e]=i}),{matchedQueries:t,references:r,matchedQueryIds:n}}function Rf(e,t){return e.map(e=>{let n,r;return Array.isArray(e)?[r,n]=e:(r=0,n=e),n&&("function"==typeof n||"object"==typeof n)&&t&&Object.defineProperty(n,pr,{value:t,configurable:!0}),{flags:r,token:n,tokenKey:pf(n)}})}function Af(e,t,n){let r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&(r.element.componentRendererType.encapsulation===H.ShadowDom||1===r.element.componentRendererType.encapsulation)?of(e,n.renderParent.nodeIndex).renderElement:void 0:t}const Tf=new WeakMap;function Df(e){let t=Tf.get(e);return t||(t=e(()=>df),t.factory=e,Tf.set(e,t)),t}function Ff(e,t,n,r,i){3===t&&(n=e.renderer.parentNode(Ef(e,e.def.lastRenderRootNode))),Lf(e,t,0,e.def.nodes.length-1,n,r,i)}function Lf(e,t,n,r,i,o,s){for(let a=n;a<=r;a++){const n=e.def.nodes[a];11&n.flags&&Vf(e,n,t,i,o,s),a+=n.childCount}}function Nf(e,t,n,r,i,o){let s=e;for(;s&&!If(s);)s=s.parent;const a=s.parent,l=kf(s),c=l.nodeIndex+l.childCount;for(let u=l.nodeIndex+1;u<=c;u++){const e=a.def.nodes[u];e.ngContentIndex===t&&Vf(a,e,n,r,i,o),u+=e.childCount}if(!a.parent){const s=e.root.projectableNodes[t];if(s)for(let t=0;t<s.length;t++)Bf(e,s[t],n,r,i,o)}}function Vf(e,t,n,r,i,o){if(8&t.flags)Nf(e,t.ngContent.index,n,r,i,o);else{const s=Ef(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&Bf(e,s,n,r,i,o),32&t.bindingFlags&&Bf(of(e,t.nodeIndex).componentView,s,n,r,i,o)):Bf(e,s,n,r,i,o),16777216&t.flags){const s=of(e,t.nodeIndex).viewContainer._embeddedViews;for(let e=0;e<s.length;e++)Ff(s[e],n,r,i,o)}1&t.flags&&!t.element.name&&Lf(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,i,o)}}function Bf(e,t,n,r,i,o){const s=e.renderer;switch(n){case 1:s.appendChild(r,t);break;case 2:s.insertBefore(r,t,i);break;case 3:s.removeChild(r,t);break;case 0:o.push(t)}}const zf=/^:([^:]+):(.+)$/;function Hf(e){if(":"===e[0]){const t=e.match(zf);return[t[1],t[2]]}return["",e]}function Uf(e){let t=0;for(let n=0;n<e.length;n++)t|=e[n].flags;return t}function $f(e,t){let n="";for(let r=0;r<2*e;r+=2)n=n+t[r]+Wf(t[r+1]);return n+t[2*e]}function Gf(e,t,n,r,i,o,s,a,l,c,u,d,h,p,f,m,g,_,b,v){switch(e){case 1:return t+Wf(n)+r;case 2:return t+Wf(n)+r+Wf(i)+o;case 3:return t+Wf(n)+r+Wf(i)+o+Wf(s)+a;case 4:return t+Wf(n)+r+Wf(i)+o+Wf(s)+a+Wf(l)+c;case 5:return t+Wf(n)+r+Wf(i)+o+Wf(s)+a+Wf(l)+c+Wf(u)+d;case 6:return t+Wf(n)+r+Wf(i)+o+Wf(s)+a+Wf(l)+c+Wf(u)+d+Wf(h)+p;case 7:return t+Wf(n)+r+Wf(i)+o+Wf(s)+a+Wf(l)+c+Wf(u)+d+Wf(h)+p+Wf(f)+m;case 8:return t+Wf(n)+r+Wf(i)+o+Wf(s)+a+Wf(l)+c+Wf(u)+d+Wf(h)+p+Wf(f)+m+Wf(g)+_;case 9:return t+Wf(n)+r+Wf(i)+o+Wf(s)+a+Wf(l)+c+Wf(u)+d+Wf(h)+p+Wf(f)+m+Wf(g)+_+Wf(b)+v;default:throw new Error("Does not support more than 9 expressions")}}function Wf(e){return null!=e?e.toString():""}const Yf=[],qf={},Zf={},Qf=pf(Ta),Xf=pf(ga),Kf=pf(zp);function Jf(e,t,n,r){return n=g(n),{index:-1,deps:Rf(r,h(t)),flags:e,token:t,value:n}}function em(e){const t={},n=[];let r=null;for(let i=0;i<e.length;i++){const o=e[i];o.token===ba&&(r=o.value),1073741824&o.flags&&n.push(o.token),o.index=i,t[pf(o.token)]=o}return{factory:null,providersByKey:t,providers:e,modules:n,scope:r}}function tm(e,t,n=Ta.THROW_IF_NOT_FOUND){const r=gr(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);const i=t.tokenKey;switch(i){case Qf:case Xf:case Kf:return e}const o=e._def.providersByKey[i];let s;if(o){let t=e._providers[o.index];return void 0===t&&(t=e._providers[o.index]=nm(e,o)),t===Zf?void 0:t}if((s=k(t.token))&&function(e,t){const n=t.providedIn;return null!=n&&("any"===n||n===e._def.scope||function(e,t){return e._def.modules.indexOf(t)>-1}(e,n))}(e,s)){const n=e._providers.length;return e._def.providers[n]=e._def.providersByKey[t.tokenKey]={flags:5120,value:s.factory,deps:[],index:n,token:t.token},e._providers[n]=Zf,e._providers[n]=nm(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{gr(r)}}function nm(e,t){let n;switch(201347067&t.flags){case 512:n=function(e,t,n){const r=n.length;switch(r){case 0:return new t;case 1:return new t(tm(e,n[0]));case 2:return new t(tm(e,n[0]),tm(e,n[1]));case 3:return new t(tm(e,n[0]),tm(e,n[1]),tm(e,n[2]));default:const i=[];for(let t=0;t<r;t++)i[t]=tm(e,n[t]);return new t(...i)}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){const r=n.length;switch(r){case 0:return t();case 1:return t(tm(e,n[0]));case 2:return t(tm(e,n[0]),tm(e,n[1]));case 3:return t(tm(e,n[0]),tm(e,n[1]),tm(e,n[2]));default:const i=[];for(let t=0;t<r;t++)i[t]=tm(e,n[t]);return t(...i)}}(e,t.value,t.deps);break;case 2048:n=tm(e,t.deps[0]);break;case 256:n=t.value}return n===Zf||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?Zf:n}function rm(e,t){const n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;const r=n[t];return r.viewContainerParent=null,Jn(n,t),uf.dirtyParentQueries(r),om(r),r}function im(e,t,n){const r=t?Ef(t,t.def.lastRenderRootNode):e.renderElement,i=n.renderer.parentNode(r),o=n.renderer.nextSibling(r);Ff(n,2,i,o,void 0)}function om(e){Ff(e,3,null,null,void 0)}const sm={};function am(e,t,n,r,i,o){return new cm(e,t,n,r,i,o)}function lm(e){return e.viewDefFactory}class cm extends Hh{constructor(e,t,n,r,i,o){super(),this.selector=e,this.componentType=t,this._inputs=r,this._outputs=i,this.ngContentSelectors=o,this.viewDefFactory=n}get inputs(){const e=[],t=this._inputs;for(let n in t)e.push({propName:n,templateName:t[n]});return e}get outputs(){const e=[];for(let t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e}create(e,t,n,r){if(!r)throw new Error("ngModule should be provided");const i=Df(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,s=uf.createRootView(e,t||[],n,i,r,sm),a=sf(s,o).instance;return n&&s.renderer.setAttribute(of(s,0).renderElement,"ng-version",cp.full),new um(s,new fm(s),a)}}class um extends zh{constructor(e,t,n){super(),this._view=e,this._viewRef=t,this._component=n,this._elDef=this._view.def.nodes[0],this.hostView=t,this.changeDetectorRef=t,this.instance=n}get location(){return new ep(of(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new bm(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(e){this._viewRef.onDestroy(e)}}function dm(e,t,n){return new hm(e,t,n)}class hm{constructor(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}get element(){return new ep(this._data.renderElement)}get injector(){return new bm(this._view,this._elDef)}get parentInjector(){let e=this._view,t=this._elDef.parent;for(;!t&&e;)t=kf(e),e=e.parent;return e?new bm(e,t):new bm(this._view,null)}clear(){for(let e=this._embeddedViews.length-1;e>=0;e--){const t=rm(this._data,e);uf.destroyView(t)}}get(e){const t=this._embeddedViews[e];if(t){const e=new fm(t);return e.attachToViewContainerRef(this),e}return null}get length(){return this._embeddedViews.length}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,i){const o=n||this.parentInjector;i||e instanceof qh||(i=o.get(zp));const s=e.create(o,r,void 0,i);return this.insert(s.hostView,t),s}insert(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=e;return function(e,t,n,r){let i=t.viewContainer._embeddedViews;null==n&&(n=i.length),r.viewContainerParent=e,Kn(i,n,r),function(e,t){const n=Sf(t);if(!n||n===e||16&t.state)return;t.state|=16;let r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,t){if(4&t.flags)return;e.nodeFlags|=4,t.flags|=4;let n=t.parent;for(;n;)n.childFlags|=4,n=n.parent}(t.parent.def,t.parentNodeDef)}(t,r),uf.dirtyParentQueries(r),im(t,n>0?i[n-1]:null,r)}(this._view,this._data,t,n._view),n.attachToViewContainerRef(this),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this._embeddedViews.indexOf(e._view);return function(e,t,n){const r=e.viewContainer._embeddedViews,i=r[t];Jn(r,t),null==n&&(n=r.length),Kn(r,n,i),uf.dirtyParentQueries(i),om(i),im(e,n>0?r[n-1]:null,i)}(this._data,n,t),e}indexOf(e){return this._embeddedViews.indexOf(e._view)}remove(e){const t=rm(this._data,e);t&&uf.destroyView(t)}detach(e){const t=rm(this._data,e);return t?new fm(t):null}}function pm(e){return new fm(e)}class fm{constructor(e){this._view=e,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(e){const t=[];return Ff(e,0,void 0,void 0,t),t}(this._view)}get context(){return this._view.context}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){xf(this._view)}detach(){this._view.state&=-5}detectChanges(){const e=this._view.root.rendererFactory;e.begin&&e.begin();try{uf.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}checkNoChanges(){uf.checkNoChangesView(this._view)}reattach(){this._view.state|=4}onDestroy(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)}destroy(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),uf.destroyView(this._view)}detachFromAppRef(){this._appRef=null,om(this._view),uf.dirtyParentQueries(this._view)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}}function mm(e,t){return new gm(e,t)}class gm extends Fp{constructor(e,t){super(),this._parentView=e,this._def=t}createEmbeddedView(e){return new fm(uf.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}get elementRef(){return new ep(of(this._parentView,this._def.nodeIndex).renderElement)}}function _m(e,t){return new bm(e,t)}class bm{constructor(e,t){this.view=e,this.elDef=t}get(e,t=Ta.THROW_IF_NOT_FOUND){return uf.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:pf(e)},t)}}function vm(e,t){const n=e.def.nodes[t];if(1&n.flags){const t=of(e,n.nodeIndex);return n.element.template?t.template:t.renderElement}if(2&n.flags)return rf(e,n.nodeIndex).renderText;if(20240&n.flags)return sf(e,n.nodeIndex).instance;throw new Error(`Illegal state: read nodeValue for node index ${t}`)}function ym(e,t,n,r){return new wm(e,t,n,r)}class wm{constructor(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){const t=e._def,n=e._providers=er(t.providers.length);for(let r=0;r<t.providers.length;r++){const i=t.providers[r];4096&i.flags||void 0===n[r]&&(n[r]=nm(e,i))}}(this)}get(e,t=Ta.THROW_IF_NOT_FOUND,n=A.Default){let r=0;return n&A.SkipSelf?r|=1:n&A.Self&&(r|=4),tm(this,{token:e,tokenKey:pf(e),flags:r},t)}get instance(){return this.get(this._moduleType)}get componentFactoryResolver(){return this.get(Wh)}destroy(){if(this._destroyed)throw new Error(`The ng module ${h(this.instance.constructor)} has already been destroyed.`);this._destroyed=!0,function(e,t){const n=e._def,r=new Set;for(let i=0;i<n.providers.length;i++)if(131072&n.providers[i].flags){const t=e._providers[i];if(t&&t!==Zf){const e=t.ngOnDestroy;"function"!=typeof e||r.has(t)||(e.apply(t),r.add(t))}}}(this),this._destroyListeners.forEach(e=>e())}onDestroy(e){this._destroyListeners.push(e)}}const xm=pf(rp),Cm=pf(ep),Om=pf(Gp),Sm=pf(Fp),km=pf(Pp),Em=pf(Ta),Im=pf(ga);function Pm(e,t,n,r,i,o,s,a){const l=[];if(s)for(let u in s){const[e,t]=s[u];l[e]={flags:8,name:u,nonMinifiedName:t,ns:null,securityContext:null,suffix:null}}const c=[];if(a)for(let u in a)c.push({type:1,propName:u,target:null,eventName:a[u]});return Rm(e,t|=16384,n,r,i,i,o,l,c)}function jm(e,t,n){return Rm(-1,e|=16,null,0,t,t,n)}function Mm(e,t,n,r,i){return Rm(-1,e,t,0,n,r,i)}function Rm(e,t,n,r,i,o,s,a,l){const{matchedQueries:c,references:u,matchedQueryIds:d}=Mf(n);l||(l=[]),a||(a=[]),o=g(o);const p=Rf(s,h(i));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:d,references:u,ngContentIndex:-1,childCount:r,bindings:a,bindingFlags:Uf(a),outputs:l,element:null,provider:{token:i,value:o,deps:p},text:null,query:null,ngContent:null}}function Am(e,t){return Lm(e,t)}function Tm(e,t){let n=e;for(;n.parent&&!If(n);)n=n.parent;return Nm(n.parent,kf(n),!0,t.provider.value,t.provider.deps)}function Dm(e,t){const n=Nm(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(let r=0;r<t.outputs.length;r++){const i=t.outputs[r],o=n[i.propName];if(!Dc(o))throw new Error(`@Output ${i.propName} not initialized in '${n.constructor.name}'.`);{const n=o.subscribe(Fm(e,t.parent.nodeIndex,i.eventName));e.disposables[t.outputIndex+r]=n.unsubscribe.bind(n)}}return n}function Fm(e,t,n){return r=>Of(e,t,n,r)}function Lm(e,t){const n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return Nm(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,i){const o=i.length;switch(o){case 0:return r();case 1:return r(Bm(e,t,n,i[0]));case 2:return r(Bm(e,t,n,i[0]),Bm(e,t,n,i[1]));case 3:return r(Bm(e,t,n,i[0]),Bm(e,t,n,i[1]),Bm(e,t,n,i[2]));default:const s=[];for(let r=0;r<o;r++)s.push(Bm(e,t,n,i[r]));return r(...s)}}(e,t.parent,n,r.value,r.deps);case 2048:return Bm(e,t.parent,n,r.deps[0]);case 256:return r.value}}function Nm(e,t,n,r,i){const o=i.length;switch(o){case 0:return new r;case 1:return new r(Bm(e,t,n,i[0]));case 2:return new r(Bm(e,t,n,i[0]),Bm(e,t,n,i[1]));case 3:return new r(Bm(e,t,n,i[0]),Bm(e,t,n,i[1]),Bm(e,t,n,i[2]));default:const s=[];for(let r=0;r<o;r++)s.push(Bm(e,t,n,i[r]));return new r(...s)}}const Vm={};function Bm(e,t,n,r,i=Ta.THROW_IF_NOT_FOUND){if(8&r.flags)return r.token;const o=e;2&r.flags&&(i=null);const s=r.tokenKey;s===km&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);let a=e;for(;a;){if(t)switch(s){case xm:return zm(a,t,n).renderer;case Cm:return new ep(of(a,t.nodeIndex).renderElement);case Om:return of(a,t.nodeIndex).viewContainer;case Sm:if(t.element.template)return of(a,t.nodeIndex).template;break;case km:return pm(zm(a,t,n));case Em:case Im:return _m(a,t);default:const e=(n?t.element.allProviders:t.element.publicProviders)[s];if(e){let t=sf(a,e.nodeIndex);return t||(t={instance:Lm(a,e)},a.nodes[e.nodeIndex]=t),t.instance}}n=If(a),t=kf(a),a=a.parent,4&r.flags&&(a=null)}const l=o.root.injector.get(r.token,Vm);return l!==Vm||i===Vm?l:o.root.ngModule.injector.get(r.token,i)}function zm(e,t,n){let r;if(n)r=of(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!If(r);)r=r.parent;return r}function Hm(e,t,n,r,i,o){if(32768&n.flags){const t=of(e,n.parent.nodeIndex).componentView;2&t.def.flags&&(t.state|=8)}if(t.instance[n.bindings[r].name]=i,524288&n.flags){o=o||{};const t=fl.unwrap(e.oldValues[n.bindingIndex+r]);o[n.bindings[r].nonMinifiedName]=new Ie(t,i,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=i,o}function Um(e,t){if(!(e.def.nodeFlags&t))return;const n=e.def.nodes;let r=0;for(let i=0;i<n.length;i++){const o=n[i];let s=o.parent;for(!s&&o.flags&t&&Gm(e,i,o.flags&t,r++),0==(o.childFlags&t)&&(i+=o.childCount);s&&1&s.flags&&i===s.nodeIndex+s.childCount;)s.directChildFlags&t&&(r=$m(e,s,t,r)),s=s.parent}}function $m(e,t,n,r){for(let i=t.nodeIndex+1;i<=t.nodeIndex+t.childCount;i++){const t=e.def.nodes[i];t.flags&n&&Gm(e,i,t.flags&n,r++),i+=t.childCount}return r}function Gm(e,t,n,r){const i=sf(e,t);if(!i)return;const o=i.instance;o&&(uf.setCurrentNode(e,t),1048576&n&&nf(e,512,r)&&o.ngAfterContentInit(),2097152&n&&o.ngAfterContentChecked(),4194304&n&&nf(e,768,r)&&o.ngAfterViewInit(),8388608&n&&o.ngAfterViewChecked(),131072&n&&o.ngOnDestroy())}class Wm extends Wh{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=me(e);return new Zm(t,this.ngModule)}}function Ym(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const qm=new Vn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>lo});class Zm extends Hh{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(cs).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return Ym(this.componentDef.inputs)}get outputs(){return Ym(this.componentDef.outputs)}create(e,t,n,r){const i=(r=r||this.ngModule)?function(e,t){return{get:(n,r,i)=>{const o=e.get(n,Vm,i);return o!==Vm||r===Vm?o:t.get(n,r,i)}}}(e,r.injector):e,o=i.get(np,Ue),s=i.get(ap,null),a=o.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?Ts(a,n,this.componentDef.encapsulation):ko(o.createRenderer(null,this.componentDef),l,function(e){const t=e.toLowerCase();return"svg"===t?Le:"math"===t?Ne:null}(l)),u=this.componentDef.onPush?576:528,d=Ja(),h=As(0,null,null,1,0,null,null,null,null,null),p=ws(null,h,d,u,null,null,o,a,s,i);let f,m;Mt(p);try{const e=Xa(c,this.componentDef,p,o,a);if(c)if(n)Kt(a,c,["ng-version",cp.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!is(i))break;i=o}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);e&&Kt(a,c,e),t&&t.length>0&&Xo(a,c,t.join(" "))}if(m=Ye(h,ve),void 0!==t){const e=m.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=t[n];e.push(null!=r?Array.from(r):null)}}f=Ka(e,this.componentDef,p,d,[el]),Ss(h,p,null)}finally{Ft()}return new Qm(this.componentType,f,Xh(m,p),p,m)}}class Qm extends zh{constructor(e,t,n,r,i){super(),this.location=n,this._rootLView=r,this._tNode=i,this.instance=t,this.hostView=this.changeDetectorRef=new kp(r),this.componentType=e}get injector(){return new kn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}function Xm(e,t,n,r){return N(()=>{const i=e;null!==t&&(i.hasOwnProperty("decorators")&&void 0!==i.decorators?i.decorators.push(...t):i.decorators=t),null!==n&&(i.ctorParameters=n),null!==r&&(i.propDecorators=i.hasOwnProperty("propDecorators")&&void 0!==i.propDecorators?Object.assign(Object.assign({},i.propDecorators),r):r)})}const Km=new Map;function Jm(e,t){const n=Km.get(e);eg(e,n&&n.moduleType,t.moduleType),Km.set(e,t)}function eg(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${h(t)} vs ${h(t.name)}`)}function tg(e){const t=new Set;!function e(n){const r=be(n,!0),i=r.id;null!==i&&(eg(i,Km.get(i),n),Km.set(i,n));const o=po(r.imports);for(const s of o)t.has(s)||(t.add(s),e(s))}(e)}function ng(e){return Km.get(e)||ce[e]}class rg extends zp{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Wm(this);const n=be(e),r=e[te]||null;r&&Rd(r),this._bootstrapComponents=po(n.bootstrap),this._r3Injector=Sa(e,t,[{provide:zp,useValue:this},{provide:Wh,useValue:this.componentFactoryResolver}],h(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=Ta.THROW_IF_NOT_FOUND,n=A.Default){return e===Ta||e===zp||e===ga?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class ig extends Hp{constructor(e){super(),this.moduleType=e,null!==be(e)&&tg(e)}create(e){return new rg(this.moduleType,e)}}function og(e,t,n){const r=bt()+e,i=at();return i[r]===us?_l(i,r,n?t.call(n):t()):bl(i,r)}function sg(e,t,n,r){return gg(at(),bt(),e,t,n,r)}function ag(e,t,n,r,i){return _g(at(),bt(),e,t,n,r,i)}function lg(e,t,n,r,i,o){return bg(at(),bt(),e,t,n,r,i,o)}function cg(e,t,n,r,i,o,s){return vg(at(),bt(),e,t,n,r,i,o,s)}function ug(e,t,n,r,i,o,s,a){const l=bt()+e,c=at(),u=xl(c,l,n,r,i,o);return vl(c,l+4,s)||u?_l(c,l+5,a?t.call(a,n,r,i,o,s):t(n,r,i,o,s)):bl(c,l+5)}function dg(e,t,n,r,i,o,s,a,l){const c=bt()+e,u=at(),d=xl(u,c,n,r,i,o);return yl(u,c+4,s,a)||d?_l(u,c+6,l?t.call(l,n,r,i,o,s,a):t(n,r,i,o,s,a)):bl(u,c+6)}function hg(e,t,n,r,i,o,s,a,l,c){const u=bt()+e,d=at();let h=xl(d,u,n,r,i,o);return wl(d,u+4,s,a,l)||h?_l(d,u+7,c?t.call(c,n,r,i,o,s,a,l):t(n,r,i,o,s,a,l)):bl(d,u+7)}function pg(e,t,n,r,i,o,s,a,l,c,u){const d=bt()+e,h=at(),p=xl(h,d,n,r,i,o);return xl(h,d+4,s,a,l,c)||p?_l(h,d+8,u?t.call(u,n,r,i,o,s,a,l,c):t(n,r,i,o,s,a,l,c)):bl(h,d+8)}function fg(e,t,n,r){return yg(at(),bt(),e,t,n,r)}function mg(e,t){const n=e[t];return n===us?void 0:n}function gg(e,t,n,r,i,o){const s=t+n;return vl(e,s,i)?_l(e,s+1,o?r.call(o,i):r(i)):mg(e,s+1)}function _g(e,t,n,r,i,o,s){const a=t+n;return yl(e,a,i,o)?_l(e,a+2,s?r.call(s,i,o):r(i,o)):mg(e,a+2)}function bg(e,t,n,r,i,o,s,a){const l=t+n;return wl(e,l,i,o,s)?_l(e,l+3,a?r.call(a,i,o,s):r(i,o,s)):mg(e,l+3)}function vg(e,t,n,r,i,o,s,a,l){const c=t+n;return xl(e,c,i,o,s,a)?_l(e,c+4,l?r.call(l,i,o,s,a):r(i,o,s,a)):mg(e,c+4)}function yg(e,t,n,r,i,o){let s=t+n,a=!1;for(let l=0;l<i.length;l++)vl(e,s++,i[l])&&(a=!0);return a?_l(e,s,r.apply(o,i)):mg(e,s)}function wg(e,t){const n=lt();let r;const i=e+ve;n.firstCreatePass?(r=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}throw new b("302",`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const o=r.factory||(r.factory=Ee(r.type)),s=F(xc);try{const e=ln(!1),t=o();return ln(e),Ul(n,at(),i,t),t}finally{F(s)}}function xg(e,t,n){const r=e+ve,i=at(),o=qe(i,r);return Ig(i,Eg(i,r)?gg(i,bt(),t,o.transform,n,o):o.transform(n))}function Cg(e,t,n,r){const i=e+ve,o=at(),s=qe(o,i);return Ig(o,Eg(o,i)?_g(o,bt(),t,s.transform,n,r,s):s.transform(n,r))}function Og(e,t,n,r,i){const o=e+ve,s=at(),a=qe(s,o);return Ig(s,Eg(s,o)?bg(s,bt(),t,a.transform,n,r,i,a):a.transform(n,r,i))}function Sg(e,t,n,r,i,o){const s=e+ve,a=at(),l=qe(a,s);return Ig(a,Eg(a,s)?vg(a,bt(),t,l.transform,n,r,i,o,l):l.transform(n,r,i,o))}function kg(e,t,n){const r=e+ve,i=at(),o=qe(i,r);return Ig(i,Eg(i,r)?yg(i,bt(),t,o.transform,n,o):o.transform.apply(o,n))}function Eg(e,t){return e[1].data[t].pure}function Ig(e,t){return fl.isWrapped(t)&&(t=fl.unwrap(t),e[vt()]=us),t}function Pg(e){return t=>{setTimeout(e,void 0,t)}}const jg=class extends r.a{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){var r,o,s;let a=e,l=t||(()=>null),c=n;if(e&&"object"==typeof e){const t=e;a=null===(r=t.next)||void 0===r?void 0:r.bind(t),l=null===(o=t.error)||void 0===o?void 0:o.bind(t),c=null===(s=t.complete)||void 0===s?void 0:s.bind(t)}this.__isAsync&&(l=Pg(l),a&&(a=Pg(a)),c&&(c=Pg(c)));const u=super.subscribe({next:a,error:l,complete:c});return e instanceof i.a&&e.add(u),u}};function Mg(){return this._results[hl()]()}class Rg{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=hl(),n=Rg.prototype;n[t]||(n[t]=Mg)}get changes(){return this._changes||(this._changes=new jg)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){const n=this;n.dirty=!1;const r=Qn(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],o=t[r];if(n&&(i=n(i),o=n(o)),o!==i)return!1}return!0}(n._results,r,t))&&(n._results=r,n.length=r.length,n.last=r[this.length-1],n.first=r[0])}notifyOnChanges(){!this._changes||!this._changesDetected&&this._emitDistinctChangesOnly||this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class Ag{constructor(e){this.queryList=e,this.matches=null}clone(){return new Ag(this.queryList)}setDirty(){this.queryList.setDirty()}}class Tg{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const n=null!==e.contentQueries?e.contentQueries[0]:t.length,r=[];for(let e=0;e<n;e++){const n=t.getByIndex(e);r.push(this.queries[n.indexInDeclarationView].clone())}return new Tg(r)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==qg(e,t).matches&&this.queries[t].setDirty()}}class Dg{constructor(e,t,n=null){this.predicate=e,this.flags=t,this.read=n}}class Fg{constructor(e=[]){this.queries=e}elementStart(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let n=0;n<this.length;n++){const r=null!==t?t.length:0,i=this.getByIndex(n).embeddedTView(e,r);i&&(i.indexInDeclarationView=n,null!==t?t.push(i):t=[i])}return null!==t?new Fg(t):null}template(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class Lg{constructor(e,t=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new Lg(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const t=this._declarationNodeIndex;let n=e.parent;for(;null!==n&&8&n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(e,t){const n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){const i=n[r];this.matchTNodeWithReadOption(e,t,Ng(t,i)),this.matchTNodeWithReadOption(e,t,xn(t,e,i,!1,!1))}else n===Fp?4&t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,xn(t,e,n,!1,!1))}matchTNodeWithReadOption(e,t,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===ep||r===Gp||r===Fp&&4&t.type)this.addMatch(t.index,-2);else{const n=xn(t,e,r,!1,!1);null!==n&&this.addMatch(t.index,n)}else this.addMatch(t.index,n)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function Ng(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function Vg(e,t,n,r){return-1===n?function(e,t){return 11&e.type?Xh(e,t):4&e.type?Bp(e,t):null}(t,e):-2===n?function(e,t,n){return n===ep?Xh(t,e):n===Fp?Bp(t,e):n===Gp?Xp(t,e):void 0}(e,t,r):Cn(e,e[1],n,t)}function Bg(e,t,n,r){const i=t[19].queries[r];if(null===i.matches){const r=e.data,o=n.matches,s=[];for(let e=0;e<o.length;e+=2){const i=o[e];s.push(i<0?null:Vg(t,r[i],o[e+1],n.metadata.read))}i.matches=s}return i.matches}function zg(e,t,n,r){const i=e.queries.getByIndex(n),o=i.matches;if(null!==o){const s=Bg(e,t,i,n);for(let e=0;e<o.length;e+=2){const n=o[e];if(n>0)r.push(s[e/2]);else{const i=o[e+1],s=t[-n];for(let e=ye;e<s.length;e++){const t=s[e];t[17]===t[3]&&zg(t[1],t,i,r)}if(null!==s[9]){const e=s[9];for(let t=0;t<e.length;t++){const n=e[t];zg(n[1],n,i,r)}}}}}return r}function Hg(e){const t=at(),n=lt(),r=Et();It(r+1);const i=qg(n,r);if(e.dirty&&Ke(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const o=i.crossesNgTemplate?zg(n,t,r,[]):Bg(n,t,i,r);e.reset(o,tp),e.notifyOnChanges()}return!0}return!1}function Ug(e,t,n){const r=lt();r.firstCreatePass&&(Yg(r,new Dg(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Wg(r,at(),t)}function $g(e,t,n,r){const i=lt();if(i.firstCreatePass){const o=ut();Yg(i,new Dg(t,n,r),o.index),function(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),2==(2&n)&&(i.staticContentQueries=!0)}Wg(i,at(),n)}function Gg(){return e=at(),t=Et(),e[19].queries[t].queryList;var e,t}function Wg(e,t,n){const r=new Rg(4==(4&n));Ds(e,t,r,r.destroy),null===t[19]&&(t[19]=new Tg),t[19].queries.push(new Ag(r))}function Yg(e,t,n){null===e.queries&&(e.queries=new Fg),e.queries.track(new Lg(t,n))}function qg(e,t){return e.queries.getByIndex(t)}function Zg(e,t){return Bp(e,t)}function Qg(e=A.Default){const t=jp(!0);if(null!=t||e&A.Optional)return t;w("ChangeDetectorRef")}const Xg=(()=>({"\u0275\u0275attribute":Cl,"\u0275\u0275attributeInterpolate1":Al,"\u0275\u0275attributeInterpolate2":Tl,"\u0275\u0275attributeInterpolate3":Dl,"\u0275\u0275attributeInterpolate4":Fl,"\u0275\u0275attributeInterpolate5":Ll,"\u0275\u0275attributeInterpolate6":Nl,"\u0275\u0275attributeInterpolate7":Vl,"\u0275\u0275attributeInterpolate8":Bl,"\u0275\u0275attributeInterpolateV":zl,"\u0275\u0275defineComponent":oe,"\u0275\u0275defineDirective":pe,"\u0275\u0275defineInjectable":C,"\u0275\u0275defineInjector":S,"\u0275\u0275defineNgModule":ue,"\u0275\u0275definePipe":fe,"\u0275\u0275directiveInject":xc,"\u0275\u0275getInheritedFactory":En,"\u0275\u0275inject":br,"\u0275\u0275injectAttribute":Pn,"\u0275\u0275invalidFactory":Cc,"\u0275\u0275invalidFactoryDep":vr,"\u0275\u0275injectPipeChangeDetectorRef":Qg,"\u0275\u0275templateRefExtractor":Zg,"\u0275\u0275NgOnChangesFeature":Pe,"\u0275\u0275ProvidersFeature":Bh,"\u0275\u0275CopyDefinitionFeature":ul,"\u0275\u0275InheritDefinitionFeature":rl,"\u0275\u0275nextContext":zc,"\u0275\u0275namespaceHTML":Ut,"\u0275\u0275namespaceMathML":Ht,"\u0275\u0275namespaceSVG":zt,"\u0275\u0275enableBindings":ot,"\u0275\u0275disableBindings":st,"\u0275\u0275elementStart":kc,"\u0275\u0275elementEnd":Ec,"\u0275\u0275element":Ic,"\u0275\u0275elementContainerStart":Pc,"\u0275\u0275elementContainerEnd":jc,"\u0275\u0275elementContainer":Mc,"\u0275\u0275pureFunction0":og,"\u0275\u0275pureFunction1":sg,"\u0275\u0275pureFunction2":ag,"\u0275\u0275pureFunction3":lg,"\u0275\u0275pureFunction4":cg,"\u0275\u0275pureFunction5":ug,"\u0275\u0275pureFunction6":dg,"\u0275\u0275pureFunction7":hg,"\u0275\u0275pureFunction8":pg,"\u0275\u0275pureFunctionV":fg,"\u0275\u0275getCurrentView":Rc,"\u0275\u0275restoreView":ct,"\u0275\u0275listener":Fc,"\u0275\u0275projection":$c,"\u0275\u0275syntheticHostProperty":fd,"\u0275\u0275syntheticHostListener":Lc,"\u0275\u0275pipeBind1":xg,"\u0275\u0275pipeBind2":Cg,"\u0275\u0275pipeBind3":Og,"\u0275\u0275pipeBind4":Sg,"\u0275\u0275pipeBindV":kg,"\u0275\u0275projectionDef":Uc,"\u0275\u0275hostProperty":pd,"\u0275\u0275property":Oc,"\u0275\u0275propertyInterpolate":Gc,"\u0275\u0275propertyInterpolate1":Wc,"\u0275\u0275propertyInterpolate2":Yc,"\u0275\u0275propertyInterpolate3":qc,"\u0275\u0275propertyInterpolate4":Zc,"\u0275\u0275propertyInterpolate5":Qc,"\u0275\u0275propertyInterpolate6":Xc,"\u0275\u0275propertyInterpolate7":Kc,"\u0275\u0275propertyInterpolate8":Jc,"\u0275\u0275propertyInterpolateV":eu,"\u0275\u0275pipe":wg,"\u0275\u0275queryRefresh":Hg,"\u0275\u0275viewQuery":Ug,"\u0275\u0275loadQuery":Gg,"\u0275\u0275contentQuery":$g,"\u0275\u0275reference":$l,"\u0275\u0275classMap":gu,"\u0275\u0275classMapInterpolate1":Bu,"\u0275\u0275classMapInterpolate2":zu,"\u0275\u0275classMapInterpolate3":Hu,"\u0275\u0275classMapInterpolate4":Uu,"\u0275\u0275classMapInterpolate5":$u,"\u0275\u0275classMapInterpolate6":Gu,"\u0275\u0275classMapInterpolate7":Wu,"\u0275\u0275classMapInterpolate8":Yu,"\u0275\u0275classMapInterpolateV":qu,"\u0275\u0275styleMap":fu,"\u0275\u0275styleMapInterpolate1":Zu,"\u0275\u0275styleMapInterpolate2":Qu,"\u0275\u0275styleMapInterpolate3":Xu,"\u0275\u0275styleMapInterpolate4":Ku,"\u0275\u0275styleMapInterpolate5":Ju,"\u0275\u0275styleMapInterpolate6":ed,"\u0275\u0275styleMapInterpolate7":td,"\u0275\u0275styleMapInterpolate8":nd,"\u0275\u0275styleMapInterpolateV":rd,"\u0275\u0275styleProp":hu,"\u0275\u0275stylePropInterpolate1":id,"\u0275\u0275stylePropInterpolate2":od,"\u0275\u0275stylePropInterpolate3":sd,"\u0275\u0275stylePropInterpolate4":ad,"\u0275\u0275stylePropInterpolate5":ld,"\u0275\u0275stylePropInterpolate6":cd,"\u0275\u0275stylePropInterpolate7":ud,"\u0275\u0275stylePropInterpolate8":dd,"\u0275\u0275stylePropInterpolateV":hd,"\u0275\u0275classProp":pu,"\u0275\u0275advance":ds,"\u0275\u0275template":Hl,"\u0275\u0275text":Pu,"\u0275\u0275textInterpolate":ju,"\u0275\u0275textInterpolate1":Mu,"\u0275\u0275textInterpolate2":Ru,"\u0275\u0275textInterpolate3":Au,"\u0275\u0275textInterpolate4":Tu,"\u0275\u0275textInterpolate5":Du,"\u0275\u0275textInterpolate6":Fu,"\u0275\u0275textInterpolate7":Lu,"\u0275\u0275textInterpolate8":Nu,"\u0275\u0275textInterpolateV":Vu,"\u0275\u0275i18n":Ih,"\u0275\u0275i18nAttributes":Ph,"\u0275\u0275i18nExp":jh,"\u0275\u0275i18nStart":kh,"\u0275\u0275i18nEnd":Eh,"\u0275\u0275i18nApply":Mh,"\u0275\u0275i18nPostprocess":Rh,"\u0275\u0275resolveWindow":co,"\u0275\u0275resolveDocument":uo,"\u0275\u0275resolveBody":ho,"\u0275\u0275setComponentScope":se,"\u0275\u0275setNgModuleScope":de,"\u0275\u0275sanitizeHtml":Ai,"\u0275\u0275sanitizeStyle":Ti,"\u0275\u0275sanitizeResourceUrl":Fi,"\u0275\u0275sanitizeScript":Li,"\u0275\u0275sanitizeUrl":Di,"\u0275\u0275sanitizeUrlOrResourceUrl":zi,"\u0275\u0275trustConstantHtml":Ni,"\u0275\u0275trustConstantResourceUrl":Vi,forwardRef:m,resolveForwardRef:g}))();let Kg=null;function Jg(){Kg=null}const e_=[],t_=[];let n_=!1;function r_(){if(!n_){n_=!0;try{for(let e=t_.length-1;e>=0;e--){const{moduleType:t,ngModule:n}=t_[e];n.declarations&&n.declarations.every(i_)&&(t_.splice(e,1),u_(t,n))}}finally{n_=!1}}}function i_(e){return Array.isArray(e)?e.every(i_):!!g(e)}function o_(e,t={}){s_(e,t),function(e,t){t_.push({moduleType:e,ngModule:t})}(e,t)}function s_(e,t,n=!1){const r=Qn(t.declarations||e_);let i=null;Object.defineProperty(e,ee,{configurable:!0,get:()=>(null===i&&(i=Yn().compileNgModule(Xg,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:Qn(t.bootstrap||e_).map(g),declarations:r.map(g),imports:Qn(t.imports||e_).map(g).map(p_),exports:Qn(t.exports||e_).map(g).map(p_),schemas:t.schemas?Qn(t.schemas):null,id:t.id||null}),i.schemas||(i.schemas=[])),i)});let o=null;Object.defineProperty(e,ne,{get:()=>{if(null===o){const t=Yn();o=t.compileFactory(Xg,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:Mr(e),injectFn:"inject",target:t.R3FactoryTarget.NgModule,typeArgumentCount:0})}return o},configurable:!1});let s=null;Object.defineProperty(e,j,{get:()=>{if(null===s){const n={name:e.name,type:e,providers:t.providers||e_,imports:[(t.imports||e_).map(g),(t.exports||e_).map(g)]};s=Yn().compileInjector(Xg,`ng:///${e.name}/\u0275inj.js`,n)}return s},configurable:!1})}let a_=new WeakMap,l_=new WeakMap;function c_(){a_=new WeakMap,l_=new WeakMap,t_.length=0}function u_(e,t){const n=Qn(t.declarations||e_),r=h_(e);n.forEach(t=>{t.hasOwnProperty(X)?d_(me(t),r):t.hasOwnProperty(K)||t.hasOwnProperty(J)||(t.ngSelectorScope=e)})}function d_(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(e=>e.hasOwnProperty(X)?me(e):ge(e)).filter(e=>!!e),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(e=>_e(e)),e.schemas=t.schemas,e.tView=null}function h_(e){if(!f_(e))throw new Error(`${e.name} does not have a module def (\u0275mod property)`);const t=be(e);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;const n={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return po(t.imports).forEach(e=>{const t=e;if(!f_(t))throw new Error(`Importing ${t.name} which does not have a \u0275mod property`);const r=h_(t);r.exported.directives.forEach(e=>n.compilation.directives.add(e)),r.exported.pipes.forEach(e=>n.compilation.pipes.add(e))}),po(t.declarations).forEach(e=>{_e(e)?n.compilation.pipes.add(e):n.compilation.directives.add(e)}),po(t.exports).forEach(e=>{const t=e;if(f_(t)){const e=h_(t);e.exported.directives.forEach(e=>{n.compilation.directives.add(e),n.exported.directives.add(e)}),e.exported.pipes.forEach(e=>{n.compilation.pipes.add(e),n.exported.pipes.add(e)})}else _e(t)?n.exported.pipes.add(t):n.exported.directives.add(t)}),t.transitiveCompileScopes=n,n}function p_(e){return function(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function f_(e){return!!be(e)}let m_=0;function g_(e,t){let n=null;!function(e,t){Fr(t)&&(Tr.set(e,t),Dr.add(e))}(e,t),v_(e,t),Object.defineProperty(e,X,{get:()=>{if(null===n){const r=Yn();if(Fr(t)){const n=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&n.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&n.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),n.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(n.join("\n"))}const i=Kg;let o=t.preserveWhitespaces;void 0===o&&(o=null!==i&&void 0!==i.preserveWhitespaces&&i.preserveWhitespaces);let s=t.encapsulation;void 0===s&&(s=null!==i&&void 0!==i.defaultEncapsulation?i.defaultEncapsulation:H.Emulated);const a=t.templateUrl||`ng:///${e.name}/template.html`,l=Object.assign(Object.assign({},w_(e,t)),{typeSourceSpan:r.createParseSourceSpan("Component",e.name,a),template:t.template||"",preserveWhitespaces:o,styles:t.styles||Q,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:s,interpolation:t.interpolation,viewProviders:t.viewProviders||null});m_++;try{l.usesInheritance&&x_(e),n=r.compileComponent(Xg,a,l)}finally{m_--}if(0===m_&&r_(),void 0!==e.ngSelectorScope){const t=h_(e.ngSelectorScope);d_(n,t)}}return n},configurable:!1})}function __(e,t){let n=null;v_(e,t||{}),Object.defineProperty(e,K,{get:()=>{if(null===n){const r=b_(e,t||{});n=Yn().compileDirective(Xg,r.sourceMapUrl,r.metadata)}return n},configurable:!1})}function b_(e,t){const n=e&&e.name,r=`ng:///${n}/\u0275dir.js`,i=Yn(),o=w_(e,t);return o.typeSourceSpan=i.createParseSourceSpan("Directive",n,r),o.usesInheritance&&x_(e),{metadata:o,sourceMapUrl:r}}function v_(e,t){let n=null;Object.defineProperty(e,ne,{get:()=>{if(null===n){const r=b_(e,t),i=Yn();n=i.compileFactory(Xg,`ng:///${e.name}/\u0275fac.js`,Object.assign(Object.assign({},r.metadata),{injectFn:"directiveInject",target:i.R3FactoryTarget.Directive}))}return n},configurable:!1})}function y_(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function w_(e,t){const n=jr(),r=n.ownPropMetadata(e);return{name:e.name,type:e,typeArgumentCount:0,selector:void 0!==t.selector?t.selector:null,deps:Mr(e),host:t.host||q,propMetadata:r,inputs:t.inputs||Q,outputs:t.outputs||Q,queries:O_(e,r,S_),lifecycle:{usesOnChanges:n.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!y_(e),exportAs:(i=t.exportAs,void 0===i?null:I_(i)),providers:t.providers||null,viewQueries:O_(e,r,k_)};var i}function x_(e){const t=Object.prototype;let n=Object.getPrototypeOf(e.prototype).constructor;for(;n&&n!==t;)ge(n)||me(n)||!j_(n)||__(n,null),n=Object.getPrototypeOf(n)}function C_(e,t){return{propertyName:e,predicate:(n=t.selector,"string"==typeof n?I_(n):g(n)),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly};var n}function O_(e,t,n){const r=[];for(const i in t)if(t.hasOwnProperty(i)){const o=t[i];o.forEach(t=>{if(n(t)){if(!t.selector)throw new Error(`Can't construct a query for the property "${i}" of "${y(e)}" since the query selector wasn't defined.`);if(o.some(E_))throw new Error("Cannot combine @Input decorators with query decorators");r.push(C_(i,t))}})}return r}function S_(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function k_(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function E_(e){return"Input"===e.ngMetadataName}function I_(e){return e.split(",").map(e=>e.trim())}const P_=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function j_(e){const t=jr();if(P_.some(n=>t.hasLifecycleHook(e,n)))return!0;const n=t.propMetadata(e);for(const r in n){const e=n[r];for(let t=0;t<e.length;t++){const n=e[t],r=n.ngMetadataName;if(E_(n)||S_(n)||k_(n)||"Output"===r||"HostBinding"===r||"HostListener"===r)return!0}}return!1}function M_(e,t){let n=null,r=null;Object.defineProperty(e,ne,{get:()=>{if(null===r){const n=R_(e,t),i=Yn();r=i.compileFactory(Xg,`ng:///${n.name}/\u0275fac.js`,Object.assign(Object.assign({},n),{injectFn:"directiveInject",target:i.R3FactoryTarget.Pipe}))}return r},configurable:!1}),Object.defineProperty(e,J,{get:()=>{if(null===n){const r=R_(e,t);n=Yn().compilePipe(Xg,`ng:///${r.name}/\u0275pipe.js`,r)}return n},configurable:!1})}function R_(e,t){return{type:e,typeArgumentCount:0,name:e.name,deps:Mr(e),pipeName:t.name,pure:void 0===t.pure||t.pure}}const A_=An("Directive",(e={})=>e,void 0,void 0,(e,t)=>$_(e,t)),T_=An("Component",(e={})=>Object.assign({changeDetection:V.Default},e),A_,void 0,(e,t)=>U_(e,t)),D_=An("Pipe",e=>Object.assign({pure:!0},e),void 0,void 0,(e,t)=>G_(e,t)),F_=Fn("Input",e=>({bindingPropertyName:e})),L_=Fn("Output",e=>({bindingPropertyName:e})),N_=Fn("HostBinding",e=>({hostPropertyName:e})),V_=Fn("HostListener",(e,t)=>({eventName:e,args:t})),B_=g_,z_=__,H_=M_,U_=B_,$_=z_,G_=H_,W_=An("NgModule",e=>e,void 0,void 0,(e,t)=>q_(e,t)),Y_=o_,q_=Y_,Z_=new Vn("Application Initializer");let Q_=(()=>{class e{constructor(e){this.appInits=e,this.resolve=Zh,this.reject=Zh,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();Ac(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(br(Z_,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac}),e})();const X_=new Vn("AppId");function K_(){return`${eb()}${eb()}${eb()}`}const J_={provide:X_,useFactory:K_,deps:[]};function eb(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const tb=new Vn("Platform Initializer"),nb=new Vn("Platform ID"),rb=new Vn("appBootstrapListener"),ib=new Vn("Application Packages Root URL");let ob=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac}),e})();const sb=new Vn("LocaleId"),ab=new Vn("DefaultCurrencyCode"),lb=new Vn("Translations"),cb=new Vn("TranslationsFormat");var ub=function(e){return e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore",e}({});const db=!0,hb=db;class pb{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const fb=function(e){return new ig(e)},mb=fb,gb=function(e){return Promise.resolve(fb(e))},_b=gb,bb=function(e){const t=fb(e),n=po(be(e).declarations).reduce((e,t)=>{const n=me(t);return n&&e.push(new Zm(n)),e},[]);return new pb(t,n)},vb=bb,yb=function(e){return Promise.resolve(bb(e))},wb=yb;let xb=(()=>{class e{constructor(){this.compileModuleSync=mb,this.compileModuleAsync=_b,this.compileModuleAndAllComponentsSync=vb,this.compileModuleAndAllComponentsAsync=wb}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac}),e})();const Cb=new Vn("compilerOptions");class Ob{}const Sb=(()=>Promise.resolve(0))();function kb(e){"undefined"==typeof Zone?Sb.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Eb{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new jg(!1),this.onMicrotaskEmpty=new jg(!1),this.onStable=new jg(!1),this.onError=new jg(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!n&&t,r.shouldCoalesceRunChangeDetection=n,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function(){let e=Y.requestAnimationFrame,t=Y.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Y,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,jb(e),Pb(e)},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),jb(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,s,a)=>{try{return Mb(e),n.invokeTask(i,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),Rb(e)}},onInvoke:(n,r,i,o,s,a,l)=>{try{return Mb(e),n.invoke(i,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Rb(e)}},onHasTask:(t,n,r,i)=>{t.hasTask(r,i),n===r&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,jb(e),Pb(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,n,r,i)=>(t.handleError(r,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(r)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Eb.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Eb.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){const i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,e,Ib,Zh,Zh);try{return i.runTask(o,t,n)}finally{i.cancelTask(o)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}const Ib={};function Pb(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function jb(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Mb(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Rb(e){e._nesting--,Pb(e)}class Ab{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new jg,this.onMicrotaskEmpty=new jg,this.onStable=new jg,this.onError=new jg}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,r){return e.apply(t,n)}}let Tb=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Eb.assertNotInAngularZone(),kb(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())kb(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==r),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}return e.\u0275fac=function(t){return new(t||e)(br(Eb))},e.\u0275prov=C({token:e,factory:e.\u0275fac}),e})(),Db=(()=>{class e{constructor(){this._applications=new Map,Vb.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return Vb.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac}),e})();class Fb{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}function Lb(e){Vb=e}let Nb,Vb=new Fb,Bb=!0,zb=!1;function Hb(){return zb=!0,Bb}function Ub(){if(zb)throw new Error("Cannot enable prod mode after platform setup.");Bb=!1}let $b=Gb;function Gb(e,t,n){const r=new ig(n);return Promise.resolve(r)}let Wb=Yb;function Yb(e){return e.isBoundToModule}const qb=new Vn("AllowMultipleToken");class Zb{constructor(e,t){this.name=e,this.token=t}}function Qb(e){if(Nb&&!Nb.destroyed&&!Nb.injector.get(qb,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Nb=e.get(tv);const t=e.get(tb,null);return t&&t.forEach(e=>e()),Nb}function Xb(e,t,n=[]){const r=`Platform: ${t}`,i=new Vn(r);return(t=[])=>{let o=ev();if(!o||o.injector.get(qb,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{const e=n.concat(t).concat({provide:i,useValue:!0},{provide:ba,useValue:"platform"});Qb(Ta.create({providers:e,name:r}))}return Kb(i)}}function Kb(e){const t=ev();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}function Jb(){Nb&&!Nb.destroyed&&Nb.destroy()}function ev(){return Nb&&!Nb.destroyed?Nb:null}let tv=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;return n="noop"===e?new Ab:("zone.js"===e?void 0:e)||new Eb({enableLongStackTrace:Hb(),shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(t?t.ngZone:void 0,{ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1}),r=[{provide:Eb,useValue:n}];return n.run(()=>{const t=Ta.create({providers:r,parent:this.injector,name:e.moduleType.name}),i=e.create(t),o=i.injector.get(Wi,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const e=n.onError.subscribe({next:e=>{o.handleError(e)}});i.onDestroy(()=>{iv(this._modules,i),e.unsubscribe()})}),function(e,t,n){try{const r=n();return Ac(r)?r.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(o,n,()=>{const e=i.injector.get(Q_);return e.runInitializers(),e.donePromise.then(()=>(hb&&Rd(i.injector.get(sb,kd)||kd),this._moduleDoBootstrap(i),i))})})}bootstrapModule(e,t=[]){const n=nv({},t);return $b(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(rv);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${h(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(br(Ta))},e.\u0275prov=C({token:e,factory:e.\u0275fac}),e})();function nv(e,t){return Array.isArray(t)?t.reduce(nv,e):Object.assign(Object.assign({},e),t)}let rv=(()=>{class e{constructor(e,t,n,r,i){this._zone=e,this._injector=t,this._exceptionHandler=n,this._componentFactoryResolver=r,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const u=new o.a(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),d=new o.a(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{Eb.assertNotInAngularZone(),kb(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Eb.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(s.a)(u,d.pipe(e=>{return Object(l.a)()((t=c,function(e){let n;n="function"==typeof t?t:function(){return t};const r=Object.create(e,a.b);return r.source=e,r.subjectFactory=n,r})(e));var t}))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=e instanceof Hh?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=Wb(n)?void 0:this._injector.get(zp),i=n.create(Ta.NULL,[],t||n.selector,r),o=i.location.nativeElement,s=i.injector.get(Tb,null),a=s&&i.injector.get(Db);return s&&a&&a.registerApplication(o,s),i.onDestroy(()=>{this.detachView(i.hostView),iv(this.components,i),a&&a.unregisterApplication(o)}),this._loadComponent(i),i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;iv(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(rb,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)(br(Eb),br(Ta),br(Wi),br(Wh),br(Q_))},e.\u0275prov=C({token:e,factory:e.\u0275fac}),e})();function iv(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class ov{}function sv(e){const t=ng(e);if(!t)throw cv(e);return t}function av(e){const t=ng(e);if(!t)throw cv(e);return new ig(t)}const lv=av;function cv(e){return new Error(`No module with ID ${e} loaded`)}class uv{}const dv={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let hv=(()=>{class e{constructor(e,t){this._compiler=e,this._config=t||dv}load(e){return!hb&&this._compiler instanceof xb?this.loadFactory(e):this.loadAndCompile(e)}loadAndCompile(e){let[t,r]=e.split("#");return void 0===r&&(r="default"),n("zn8P")(t).then(e=>e[r]).then(e=>pv(e,t,r)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,r]=e.split("#"),i="NgFactory";return void 0===r&&(r="default",i=""),n("zn8P")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[r+i]).then(e=>pv(e,t,r))}}return e.\u0275fac=function(t){return new(t||e)(br(xb),br(uv,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac}),e})();function pv(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}class fv extends Pp{}class mv extends fv{}class gv{constructor(e,t){this.name=e,this.callback=t}}class _v{constructor(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof bv&&t.addChild(this)}get injector(){return this._debugContext.injector}get componentInstance(){return this._debugContext.component}get context(){return this._debugContext.context}get references(){return this._debugContext.references}get providerTokens(){return this._debugContext.providerTokens}}class bv extends _v{constructor(e,t,n){super(e,t,n),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=e}addChild(e){e&&(this.childNodes.push(e),e.parent=this)}removeChild(e){const t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))}insertChildrenAfter(e,t){const n=this.childNodes.indexOf(e);-1!==n&&(this.childNodes.splice(n+1,0,...t),t.forEach(t=>{t.parent&&t.parent.removeChild(t),e.parent=this}))}insertBefore(e,t){const n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return yv(this,e,t),t}queryAllNodes(e){const t=[];return wv(this,e,t),t}get children(){return this.childNodes.filter(e=>e instanceof bv)}triggerEventHandler(e,t){this.listeners.forEach(n=>{n.name==e&&n.callback(t)})}}function vv(e){return e.map(e=>e.nativeElement)}function yv(e,t,n){e.childNodes.forEach(e=>{e instanceof bv&&(t(e)&&n.push(e),yv(e,t,n))})}function wv(e,t,n){e instanceof bv&&e.childNodes.forEach(e=>{t(e)&&n.push(e),e instanceof bv&&wv(e,t,n)})}class xv{constructor(e){this.nativeNode=e}get parent(){const e=this.nativeNode.parentNode;return e?new Cv(e):null}get injector(){return Va(this.nativeNode)}get componentInstance(){const e=this.nativeNode;return e&&(Da(e)||La(e))}get context(){return Da(this.nativeNode)||Fa(this.nativeNode)}get listeners(){return Ua(this.nativeNode).filter(e=>"dom"===e.type)}get references(){return function(e){const t=za(e,!1);return null===t?{}:(void 0===t.localRefs&&(t.localRefs=function(e,t){const n=e[1].data[t];if(n&&n.localNames){const t={};let r=n.index+1;for(let i=0;i<n.localNames.length;i+=2)t[n.localNames[i]]=e[r],r++;return t}return null}(t.lView,t.nodeIndex)),t.localRefs||{})}(this.nativeNode)}get providerTokens(){return function(e){const t=za(e,!1);if(null===t)return[];const n=t.lView[1],r=n.data[t.nodeIndex],i=[],o=r.directiveEnd;for(let a=1048575&r.providerIndexes;a<o;a++){let e=n.data[a];void 0!==(s=e).type&&void 0!==s.template&&void 0!==s.declaredInputs&&(e=e.type),i.push(e)}var s;return i}(this.nativeNode)}}class Cv extends xv{constructor(e){super(e)}get nativeElement(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}get name(){try{const e=za(this.nativeNode);return e.lView[1].data[e.nodeIndex].value}catch(e){return this.nativeNode.nodeName}}get properties(){const e=za(this.nativeNode,!1);if(null==e)return{};const t=e.lView,n=t[1].data,r=n[e.nodeIndex],i={};return function(e,t){if(e){let n=Object.getPrototypeOf(e);const r=Node.prototype;for(;null!==n&&n!==r;){const r=Object.getOwnPropertyDescriptors(n);for(let n in r)if(!n.startsWith("__")&&!n.startsWith("on")){const r=e[n];Ov(r)&&(t[n]=r)}n=Object.getPrototypeOf(n)}}}(this.nativeElement,i),function(e,t,n,r){let i=t.propertyBindings;if(null!==i)for(let o=0;o<i.length;o++){const t=i[o],s=r[t].split("\ufffd"),a=s[0];if(s.length>1){let r=s[1];for(let e=1;e<s.length-1;e++)r+=v(n[t+e-1])+s[e+1];e[a]=r}else e[a]=n[t]}}(i,r,t,n),i}get attributes(){const e={},t=this.nativeElement;if(!t)return e;const n=za(t,!1);if(null==n)return{};const r=n.lView[1].data[n.nodeIndex].attrs,i=[];if(r){let t=0;for(;t<r.length;){const n=r[t];if("string"!=typeof n)break;e[n]=r[t+1],i.push(n.toLowerCase()),t+=2}}const o=t.attributes;for(let s=0;s<o.length;s++){const t=o[s],n=t.name.toLowerCase();-1===i.indexOf(n)&&(e[n]=t.value)}return e}get styles(){return this.nativeElement&&this.nativeElement.style?this.nativeElement.style:{}}get classes(){const e={},t=this.nativeElement.className;return(t&&"string"!=typeof t?t.baseVal.split(" "):t.split(" ")).forEach(t=>e[t]=!0),e}get childNodes(){const e=this.nativeNode.childNodes,t=[];for(let n=0;n<e.length;n++)t.push(Mv(e[n]));return t}get children(){const e=this.nativeElement;if(!e)return[];const t=e.children,n=[];for(let r=0;r<t.length;r++)n.push(Mv(t[r]));return n}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return Sv(this,e,t,!0),t}queryAllNodes(e){const t=[];return Sv(this,e,t,!1),t}triggerEventHandler(e,t){const n=this.nativeNode,r=[];this.listeners.forEach(i=>{if(i.name===e){const e=i.callback;e.call(n,t),r.push(e)}}),"function"==typeof n.eventListeners&&n.eventListeners(e).forEach(e=>{if(-1!==e.toString().indexOf("__ngUnwrap__")){const i=e("__ngUnwrap__");return-1===r.indexOf(i)&&i.call(n,t)}})}}function Ov(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function Sv(e,t,n,r){const i=za(e.nativeNode,!1);null!==i?kv(i.lView[1].data[i.nodeIndex],i.lView,t,n,r,e.nativeNode):Pv(e.nativeNode,t,n,r)}function kv(e,t,n,r,i,o){const s=function(e,t){const n=null===e?-1:e.index;return-1!==n?$e(t[n]):null}(e,t);if(11&e.type){if(Iv(s,n,r,i,o),Oe(e)){const s=Ze(e.index,t);s&&s[1].firstChild&&kv(s[1].firstChild,s,n,r,i,o)}else e.child&&kv(e.child,t,n,r,i,o),s&&Pv(s,n,r,i);const a=t[e.index];xe(a)&&Ev(a,n,r,i,o)}else if(4&e.type){const s=t[e.index];Iv(s[7],n,r,i,o),Ev(s,n,r,i,o)}else if(16&e.type){const s=t[16],a=s[6].projection[e.projection];if(Array.isArray(a))for(let e of a)Iv(e,n,r,i,o);else if(a){const e=s[3];kv(e[1].data[a.index],e,n,r,i,o)}}else e.child&&kv(e.child,t,n,r,i,o);if(o!==s){const s=4&e.flags?e.projectionNext:e.next;s&&kv(s,t,n,r,i,o)}}function Ev(e,t,n,r,i){for(let o=ye;o<e.length;o++){const s=e[o],a=s[1].firstChild;a&&kv(a,s,t,n,r,i)}}function Iv(e,t,n,r,i){if(i!==e){const i=Rv(e);if(!i)return;(r&&i instanceof Cv&&t(i)&&-1===n.indexOf(i)||!r&&t(i)&&-1===n.indexOf(i))&&n.push(i)}}function Pv(e,t,n,r){const i=e.childNodes,o=i.length;for(let s=0;s<o;s++){const e=i[s],o=Rv(e);o&&((r&&o instanceof Cv&&t(o)&&-1===n.indexOf(o)||!r&&t(o)&&-1===n.indexOf(o))&&n.push(o),Pv(e,t,n,r))}}const jv=new Map;function Mv(e){return e instanceof Node?(e.hasOwnProperty("__ng_debug__")||(e.__ng_debug__=e.nodeType==Node.ELEMENT_NODE?new Cv(e):new xv(e)),e.__ng_debug__):null}const Rv=Mv;function Av(e){return function(e){return jv.get(e)||null}(e)}const Tv=function(e){return null};function Dv(e){jv.set(e.nativeNode,e)}const Fv=xv,Lv=Cv,Nv=Xb(null,"core",[{provide:nb,useValue:"unknown"},{provide:tv,deps:[Ta]},{provide:Db,deps:[]},{provide:ob,deps:[]}]);function Vv(){return Rp}function Bv(){return Ap}function zv(e){return e=e||hb&&"undefined"!=typeof $localize&&$localize.locale||kd,hb&&Rd(e),e}const Hv=Ed,Uv=[{provide:rv,useClass:rv,deps:[Eb,Ta,Wi,Wh,Q_]},{provide:qm,deps:[Eb],useFactory:$v},{provide:Q_,useClass:Q_,deps:[[new Sr,Z_]]},{provide:xb,useClass:xb,deps:[]},J_,{provide:wp,useFactory:Vv,deps:[]},{provide:Cp,useFactory:Bv,deps:[]},{provide:sb,useFactory:zv,deps:[[new Or(sb),new Sr,new Er]]},{provide:ab,useValue:Hv}];function $v(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}let Gv=(()=>{class e{constructor(e){}}return e.\u0275fac=function(t){return new(t||e)(br(rv))},e.\u0275mod=ue({type:e}),e.\u0275inj=S({providers:Uv}),e})();function Wv(e,t,n,r,i,o){e|=1;const{matchedQueries:s,references:a,matchedQueryIds:l}=Mf(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:s,matchedQueryIds:l,references:a,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:o?Df(o):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:i||df},provider:null,text:null,query:null,ngContent:null}}function Yv(e,t,n,r,i,o,s=[],a,l,c,u,d){c||(c=df);const{matchedQueries:h,references:p,matchedQueryIds:f}=Mf(n);let m=null,g=null;o&&([m,g]=Hf(o)),a=a||[];const _=[];for(let y=0;y<a.length;y++){const[e,t,n]=a[y],[r,i]=Hf(t);let o,s;switch(15&e){case 4:s=n;break;case 1:case 8:o=n}_[y]={flags:e,ns:r,name:i,nonMinifiedName:i,securityContext:o,suffix:s}}l=l||[];const b=[];for(let y=0;y<l.length;y++){const[e,t]=l[y];b[y]={type:0,target:e,eventName:t,propName:null}}const v=(s=s||[]).map(([e,t])=>{const[n,r]=Hf(e);return[n,r,t]});return d=function(e){if(e&&e.id===mf){const t=null!=e.encapsulation&&e.encapsulation!==H.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+bf++:gf}return e&&e.id===gf&&(e=null),e||null}(d),u&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:h,matchedQueryIds:f,references:p,ngContentIndex:r,childCount:i,bindings:_,bindingFlags:Uf(_),outputs:b,element:{ns:m,name:g,attrs:v,template:null,componentProvider:null,componentView:u||null,componentRendererType:d,publicProviders:null,allProviders:null,handleEvent:c||df},provider:null,text:null,query:null,ngContent:null}}function qv(e,t,n){const r=n.element,i=e.root.selectorOrNode,o=e.renderer;let s;if(e.parent||!i){s=r.name?o.createElement(r.name,r.ns):o.createComment("");const i=Af(e,t,n);i&&o.appendChild(i,s)}else s=o.selectRootElement(i,!!r.componentRendererType&&r.componentRendererType.encapsulation===H.ShadowDom);if(r.attrs)for(let a=0;a<r.attrs.length;a++){const[e,t,n]=r.attrs[a];o.setAttribute(s,t,n,e)}return s}function Zv(e,t,n,r){for(let s=0;s<n.outputs.length;s++){const a=n.outputs[s],l=Qv(e,n.nodeIndex,(o=a.eventName,(i=a.target)?`${i}:${o}`:o));let c=a.target,u=e;"component"===a.target&&(c=null,u=t);const d=u.renderer.listen(c||r,a.eventName,l);e.disposables[n.outputIndex+s]=d}var i,o}function Qv(e,t,n){return r=>Of(e,t,n,r)}function Xv(e,t,n,r){if(!yf(e,t,n,r))return!1;const i=t.bindings[n],o=of(e,t.nodeIndex),s=o.renderElement,a=i.name;switch(15&i.flags){case 1:!function(e,t,n,r,i,o){const s=t.securityContext;let a=s?e.root.sanitizer.sanitize(s,o):o;a=null!=a?a.toString():null;const l=e.renderer;null!=o?l.setAttribute(n,i,a,r):l.removeAttribute(n,i,r)}(e,i,s,i.ns,a,r);break;case 2:!function(e,t,n,r){const i=e.renderer;r?i.addClass(t,n):i.removeClass(t,n)}(e,s,a,r);break;case 4:!function(e,t,n,r,i){let o=e.root.sanitizer.sanitize(Ri.STYLE,i);if(null!=o){o=o.toString();const e=t.suffix;null!=e&&(o+=e)}else o=null;const s=e.renderer;null!=o?s.setStyle(n,r,o):s.removeStyle(n,r)}(e,i,s,a,r);break;case 8:!function(e,t,n,r,i){const o=t.securityContext;let s=o?e.root.sanitizer.sanitize(o,i):i;e.renderer.setProperty(n,r,s)}(33554432&t.flags&&32&i.flags?o.componentView:e,i,s,a,r)}return!0}function Kv(e,t,n){let r=[];for(let i in n)r.push({propName:i,bindingType:n[i]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:t,filterId:jf(t),bindings:r},ngContent:null}}function Jv(e){const t=e.def.nodeMatchedQueries;for(;e.parent&&Pf(e);){let n=e.parentNodeDef;e=e.parent;const r=n.nodeIndex+n.childCount;for(let i=0;i<=r;i++){const r=e.def.nodes[i];67108864&r.flags&&536870912&r.flags&&(r.query.filterId&t)===r.query.filterId&&lf(e,i).setDirty(),!(1&r.flags&&i+r.childCount<n.nodeIndex)&&67108864&r.childFlags&&536870912&r.childFlags||(i+=r.childCount)}}if(134217728&e.def.nodeFlags)for(let n=0;n<e.def.nodes.length;n++){const t=e.def.nodes[n];134217728&t.flags&&536870912&t.flags&&lf(e,n).setDirty(),n+=t.childCount}}function ey(e,t){const n=lf(e,t.nodeIndex);if(!n.dirty)return;let r,i;if(67108864&t.flags){const n=t.parent.parent;i=ty(e,n.nodeIndex,n.nodeIndex+n.childCount,t.query,[]),r=sf(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(i=ty(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(i,tp);const o=t.query.bindings;let s=!1;for(let a=0;a<o.length;a++){const e=o[a];let t;switch(e.bindingType){case 0:t=n.first;break;case 1:t=n,s=!0}r[e.propName]=t}s&&n.notifyOnChanges()}function ty(e,t,n,r,i){for(let o=t;o<=n;o++){const t=e.def.nodes[o],n=t.matchedQueries[r.id];if(null!=n&&i.push(ny(e,t,n)),1&t.flags&&t.element.template&&(t.element.template.nodeMatchedQueries&r.filterId)===r.filterId){const n=of(e,o);if((t.childMatchedQueries&r.filterId)===r.filterId&&(ty(e,o+1,o+t.childCount,r,i),o+=t.childCount),16777216&t.flags){const e=n.viewContainer._embeddedViews;for(let t=0;t<e.length;t++){const o=e[t],s=Sf(o);s&&s===n&&ty(o,0,o.def.nodes.length-1,r,i)}}const s=n.template._projectedViews;if(s)for(let e=0;e<s.length;e++){const t=s[e];ty(t,0,t.def.nodes.length-1,r,i)}}(t.childMatchedQueries&r.filterId)!==r.filterId&&(o+=t.childCount)}return i}function ny(e,t,n){if(null!=n)switch(n){case 1:return of(e,t.nodeIndex).renderElement;case 0:return new ep(of(e,t.nodeIndex).renderElement);case 2:return of(e,t.nodeIndex).template;case 3:return of(e,t.nodeIndex).viewContainer;case 4:return sf(e,t.nodeIndex).instance}}function ry(e,t){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:t}}}function iy(e,t,n){const r=Af(e,t,n);r&&Nf(e,n.ngContent.index,1,r,null,void 0)}function oy(e,t){return ly(128,e,er(t+1))}function sy(e,t){return ly(32,e,er(t))}function ay(e,t){const n=Object.keys(t),r=n.length,i=[];for(let o=0;o<r;o++)i.push(n[o]);return ly(64,e,i)}function ly(e,t,n){const r=[];for(let i=0;i<n.length;i++){const e=n[i];r.push({flags:8,name:e,ns:null,nonMinifiedName:e,securityContext:null,suffix:null})}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:Uf(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function cy(e,t,n){const r=[];for(let i=1;i<n.length;i++)r[i-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[i]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function uy(e,t,n){let r;const i=e.renderer;r=i.createText(n.text.prefix);const o=Af(e,t,n);return o&&i.appendChild(o,r),{renderText:r}}function dy(e,t){return(null!=e?e.toString():"")+t.suffix}function hy(e,t,n,r){let i=0,o=0,s=0,a=0,l=0,c=null,u=null,d=!1,h=!1,p=null;for(let f=0;f<t.length;f++){const e=t[f];if(e.nodeIndex=f,e.parent=c,e.bindingIndex=i,e.outputIndex=o,e.renderParent=u,s|=e.flags,l|=e.matchedQueryIds,e.element){const t=e.element;t.publicProviders=c?c.element.publicProviders:Object.create(null),t.allProviders=t.publicProviders,d=!1,h=!1,e.element.template&&(l|=e.element.template.nodeMatchedQueries)}if(fy(c,e,t.length),i+=e.bindings.length,o+=e.outputs.length,!u&&3&e.flags&&(p=e),20224&e.flags){d||(d=!0,c.element.publicProviders=Object.create(c.element.publicProviders),c.element.allProviders=c.element.publicProviders);const t=0!=(32768&e.flags);0==(8192&e.flags)||t?c.element.publicProviders[pf(e.provider.token)]=e:(h||(h=!0,c.element.allProviders=Object.create(c.element.publicProviders)),c.element.allProviders[pf(e.provider.token)]=e),t&&(c.element.componentProvider=e)}if(c?(c.childFlags|=e.flags,c.directChildFlags|=e.flags,c.childMatchedQueries|=e.matchedQueryIds,e.element&&e.element.template&&(c.childMatchedQueries|=e.element.template.nodeMatchedQueries)):a|=e.flags,e.childCount>0)c=e,py(e)||(u=e);else for(;c&&f===c.nodeIndex+c.childCount;){const e=c.parent;e&&(e.childFlags|=c.childFlags,e.childMatchedQueries|=c.childMatchedQueries),c=e,u=c&&py(c)?c.renderParent:c}}return{factory:null,nodeFlags:s,rootNodeFlags:a,nodeMatchedQueries:l,flags:e,nodes:t,updateDirectives:n||df,updateRenderer:r||df,handleEvent:(e,n,r,i)=>t[n].element.handleEvent(e,r,i),bindingCount:i,outputCount:o,lastRenderRootNode:p}}function py(e){return 0!=(1&e.flags)&&null===e.element.name}function fy(e,t,n){const r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error(`Illegal State: Last root node of a template can't have embedded views, at index ${t.nodeIndex}!`)}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error(`Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${t.nodeIndex}!`);if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error(`Illegal State: Content Query nodes need to be children of directives, at index ${t.nodeIndex}!`);if(134217728&t.flags&&e)throw new Error(`Illegal State: View Query nodes have to be top level nodes, at index ${t.nodeIndex}!`)}if(t.childCount){const r=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=r&&t.nodeIndex+t.childCount>r)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${t.nodeIndex}!`)}}function my(e,t,n,r){const i=by(e.root,e.renderer,e,t,n);return vy(i,e.component,r),yy(i),i}function gy(e,t,n){const r=by(e,e.renderer,null,null,t);return vy(r,n,n),yy(r),r}function _y(e,t,n,r){const i=t.element.componentRendererType;let o;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,by(e.root,o,e,t.element.componentProvider,n)}function by(e,t,n,r,i){const o=new Array(i.nodes.length),s=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:e,renderer:t,oldValues:new Array(i.bindingCount),disposables:s,initIndex:-1}}function vy(e,t,n){e.component=t,e.context=n}function yy(e){let t;If(e)&&(t=of(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);const n=e.def,r=e.nodes;for(let i=0;i<n.nodes.length;i++){const o=n.nodes[i];let s;switch(uf.setCurrentNode(e,i),201347067&o.flags){case 1:const n=qv(e,t,o);let a;if(33554432&o.flags){const t=Df(o.element.componentView);a=uf.createComponentView(e,o,t,n)}Zv(e,a,o,n),s={renderElement:n,componentView:a,viewContainer:null,template:o.element.template?mm(e,o):void 0},16777216&o.flags&&(s.viewContainer=dm(e,o,s));break;case 2:s=uy(e,t,o);break;case 512:case 1024:case 2048:case 256:s=r[i],s||4096&o.flags||(s={instance:Am(e,o)});break;case 16:s={instance:Tm(e,o)};break;case 16384:s=r[i],s||(s={instance:Dm(e,o)}),32768&o.flags&&vy(of(e,o.parent.nodeIndex).componentView,s.instance,s.instance);break;case 32:case 64:case 128:s={value:void 0};break;case 67108864:case 134217728:s=new Rg(-2147483648==(-2147483648&o.flags));break;case 8:iy(e,t,o),s=void 0}r[i]=s}Py(e,Iy.CreateViewNodes),Ay(e,201326592,268435456,0)}function wy(e){Oy(e),uf.updateDirectives(e,1),jy(e,Iy.CheckNoChanges),uf.updateRenderer(e,1),Py(e,Iy.CheckNoChanges),e.state&=-97}function xy(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,tf(e,0,256),Oy(e),uf.updateDirectives(e,0),jy(e,Iy.CheckAndUpdate),Ay(e,67108864,536870912,0);let t=tf(e,256,512);Um(e,2097152|(t?1048576:0)),uf.updateRenderer(e,0),Py(e,Iy.CheckAndUpdate),Ay(e,134217728,536870912,0),t=tf(e,512,768),Um(e,8388608|(t?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,tf(e,768,1024)}function Cy(e,t,n,r,i,o,s,a,l,c,u,d,h){return 0===n?function(e,t,n,r,i,o,s,a,l,c,u,d){switch(201347067&t.flags){case 1:return function(e,t,n,r,i,o,s,a,l,c,u,d){const h=t.bindings.length;let p=!1;return h>0&&Xv(e,t,0,n)&&(p=!0),h>1&&Xv(e,t,1,r)&&(p=!0),h>2&&Xv(e,t,2,i)&&(p=!0),h>3&&Xv(e,t,3,o)&&(p=!0),h>4&&Xv(e,t,4,s)&&(p=!0),h>5&&Xv(e,t,5,a)&&(p=!0),h>6&&Xv(e,t,6,l)&&(p=!0),h>7&&Xv(e,t,7,c)&&(p=!0),h>8&&Xv(e,t,8,u)&&(p=!0),h>9&&Xv(e,t,9,d)&&(p=!0),p}(e,t,n,r,i,o,s,a,l,c,u,d);case 2:return function(e,t,n,r,i,o,s,a,l,c,u,d){let h=!1;const p=t.bindings,f=p.length;if(f>0&&yf(e,t,0,n)&&(h=!0),f>1&&yf(e,t,1,r)&&(h=!0),f>2&&yf(e,t,2,i)&&(h=!0),f>3&&yf(e,t,3,o)&&(h=!0),f>4&&yf(e,t,4,s)&&(h=!0),f>5&&yf(e,t,5,a)&&(h=!0),f>6&&yf(e,t,6,l)&&(h=!0),f>7&&yf(e,t,7,c)&&(h=!0),f>8&&yf(e,t,8,u)&&(h=!0),f>9&&yf(e,t,9,d)&&(h=!0),h){let h=t.text.prefix;f>0&&(h+=dy(n,p[0])),f>1&&(h+=dy(r,p[1])),f>2&&(h+=dy(i,p[2])),f>3&&(h+=dy(o,p[3])),f>4&&(h+=dy(s,p[4])),f>5&&(h+=dy(a,p[5])),f>6&&(h+=dy(l,p[6])),f>7&&(h+=dy(c,p[7])),f>8&&(h+=dy(u,p[8])),f>9&&(h+=dy(d,p[9]));const m=rf(e,t.nodeIndex).renderText;e.renderer.setValue(m,h)}return h}(e,t,n,r,i,o,s,a,l,c,u,d);case 16384:return function(e,t,n,r,i,o,s,a,l,c,u,d){const h=sf(e,t.nodeIndex),p=h.instance;let f,m=!1;const g=t.bindings.length;return g>0&&vf(e,t,0,n)&&(m=!0,f=Hm(e,h,t,0,n,f)),g>1&&vf(e,t,1,r)&&(m=!0,f=Hm(e,h,t,1,r,f)),g>2&&vf(e,t,2,i)&&(m=!0,f=Hm(e,h,t,2,i,f)),g>3&&vf(e,t,3,o)&&(m=!0,f=Hm(e,h,t,3,o,f)),g>4&&vf(e,t,4,s)&&(m=!0,f=Hm(e,h,t,4,s,f)),g>5&&vf(e,t,5,a)&&(m=!0,f=Hm(e,h,t,5,a,f)),g>6&&vf(e,t,6,l)&&(m=!0,f=Hm(e,h,t,6,l,f)),g>7&&vf(e,t,7,c)&&(m=!0,f=Hm(e,h,t,7,c,f)),g>8&&vf(e,t,8,u)&&(m=!0,f=Hm(e,h,t,8,u,f)),g>9&&vf(e,t,9,d)&&(m=!0,f=Hm(e,h,t,9,d,f)),f&&p.ngOnChanges(f),65536&t.flags&&nf(e,256,t.nodeIndex)&&p.ngOnInit(),262144&t.flags&&p.ngDoCheck(),m}(e,t,n,r,i,o,s,a,l,c,u,d);case 32:case 64:case 128:return function(e,t,n,r,i,o,s,a,l,c,u,d){const h=t.bindings;let p=!1;const f=h.length;if(f>0&&yf(e,t,0,n)&&(p=!0),f>1&&yf(e,t,1,r)&&(p=!0),f>2&&yf(e,t,2,i)&&(p=!0),f>3&&yf(e,t,3,o)&&(p=!0),f>4&&yf(e,t,4,s)&&(p=!0),f>5&&yf(e,t,5,a)&&(p=!0),f>6&&yf(e,t,6,l)&&(p=!0),f>7&&yf(e,t,7,c)&&(p=!0),f>8&&yf(e,t,8,u)&&(p=!0),f>9&&yf(e,t,9,d)&&(p=!0),p){const p=af(e,t.nodeIndex);let m;switch(201347067&t.flags){case 32:m=[],f>0&&m.push(n),f>1&&m.push(r),f>2&&m.push(i),f>3&&m.push(o),f>4&&m.push(s),f>5&&m.push(a),f>6&&m.push(l),f>7&&m.push(c),f>8&&m.push(u),f>9&&m.push(d);break;case 64:m={},f>0&&(m[h[0].name]=n),f>1&&(m[h[1].name]=r),f>2&&(m[h[2].name]=i),f>3&&(m[h[3].name]=o),f>4&&(m[h[4].name]=s),f>5&&(m[h[5].name]=a),f>6&&(m[h[6].name]=l),f>7&&(m[h[7].name]=c),f>8&&(m[h[8].name]=u),f>9&&(m[h[9].name]=d);break;case 128:const e=n;switch(f){case 1:m=e.transform(n);break;case 2:m=e.transform(r);break;case 3:m=e.transform(r,i);break;case 4:m=e.transform(r,i,o);break;case 5:m=e.transform(r,i,o,s);break;case 6:m=e.transform(r,i,o,s,a);break;case 7:m=e.transform(r,i,o,s,a,l);break;case 8:m=e.transform(r,i,o,s,a,l,c);break;case 9:m=e.transform(r,i,o,s,a,l,c,u);break;case 10:m=e.transform(r,i,o,s,a,l,c,u,d)}}p.value=m}return p}(e,t,n,r,i,o,s,a,l,c,u,d);default:throw"unreachable"}}(e,t,r,i,o,s,a,l,c,u,d,h):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){let r=!1;for(let i=0;i<n.length;i++)Xv(e,t,i,n[i])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){const r=t.bindings;let i=!1;for(let o=0;o<n.length;o++)yf(e,t,o,n[o])&&(i=!0);if(i){let i="";for(let e=0;e<n.length;e++)i+=dy(n[e],r[e]);i=t.text.prefix+i;const o=rf(e,t.nodeIndex).renderText;e.renderer.setValue(o,i)}return i}(e,t,n);case 16384:return function(e,t,n){const r=sf(e,t.nodeIndex),i=r.instance;let o,s=!1;for(let a=0;a<n.length;a++)vf(e,t,a,n[a])&&(s=!0,o=Hm(e,r,t,a,n[a],o));return o&&i.ngOnChanges(o),65536&t.flags&&nf(e,256,t.nodeIndex)&&i.ngOnInit(),262144&t.flags&&i.ngDoCheck(),s}(e,t,n);case 32:case 64:case 128:return function(e,t,n){const r=t.bindings;let i=!1;for(let o=0;o<n.length;o++)yf(e,t,o,n[o])&&(i=!0);if(i){const i=af(e,t.nodeIndex);let o;switch(201347067&t.flags){case 32:o=n;break;case 64:o={};for(let i=0;i<n.length;i++)o[r[i].name]=n[i];break;case 128:const e=n[0],t=n.slice(1);o=e.transform(...t)}i.value=o}return i}(e,t,n);default:throw"unreachable"}}(e,t,r)}function Oy(e){const t=e.def;if(4&t.nodeFlags)for(let n=0;n<t.nodes.length;n++){const r=t.nodes[n];if(4&r.flags){const t=of(e,n).template._projectedViews;if(t)for(let n=0;n<t.length;n++){const r=t[n];r.state|=32,Cf(r,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function Sy(e,t,n,r,i,o,s,a,l,c,u,d,h){return 0===n?function(e,t,n,r,i,o,s,a,l,c,u,d){const h=t.bindings.length;h>0&&wf(e,t,0,n),h>1&&wf(e,t,1,r),h>2&&wf(e,t,2,i),h>3&&wf(e,t,3,o),h>4&&wf(e,t,4,s),h>5&&wf(e,t,5,a),h>6&&wf(e,t,6,l),h>7&&wf(e,t,7,c),h>8&&wf(e,t,8,u),h>9&&wf(e,t,9,d)}(e,t,r,i,o,s,a,l,c,u,d,h):function(e,t,n){for(let r=0;r<n.length;r++)wf(e,t,r,n[r])}(e,t,r),!1}function ky(e,t){if(lf(e,t.nodeIndex).dirty)throw Kp(uf.createDebugContext(e,t.nodeIndex),`Query ${t.query.id} not dirty`,`Query ${t.query.id} dirty`,0!=(1&e.state))}function Ey(e){if(!(128&e.state)){if(jy(e,Iy.Destroy),Py(e,Iy.Destroy),Um(e,131072),e.disposables)for(let t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(!(16&e.state))return;const t=Sf(e);if(t){const n=t.template._projectedViews;n&&(Jn(n,n.indexOf(e)),uf.dirtyParentQueries(e))}}(e),e.renderer.destroyNode&&function(e){const t=e.def.nodes.length;for(let n=0;n<t;n++){const t=e.def.nodes[n];1&t.flags?e.renderer.destroyNode(of(e,n).renderElement):2&t.flags?e.renderer.destroyNode(rf(e,n).renderText):(67108864&t.flags||134217728&t.flags)&&lf(e,n).destroy()}}(e),If(e)&&e.renderer.destroy(),e.state|=128}}var Iy=function(e){return e[e.CreateViewNodes=0]="CreateViewNodes",e[e.CheckNoChanges=1]="CheckNoChanges",e[e.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate=3]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",e[e.Destroy=5]="Destroy",e}({});function Py(e,t){const n=e.def;if(33554432&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const i=n.nodes[r];33554432&i.flags?My(of(e,r).componentView,t):0==(33554432&i.childFlags)&&(r+=i.childCount)}}function jy(e,t){const n=e.def;if(16777216&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const i=n.nodes[r];if(16777216&i.flags){const n=of(e,r).viewContainer._embeddedViews;for(let e=0;e<n.length;e++)My(n[e],t)}else 0==(16777216&i.childFlags)&&(r+=i.childCount)}}function My(e,t){const n=e.state;switch(t){case Iy.CheckNoChanges:0==(128&n)&&(12==(12&n)?wy(e):64&n&&Ry(e,Iy.CheckNoChangesProjectedViews));break;case Iy.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?wy(e):64&n&&Ry(e,t));break;case Iy.CheckAndUpdate:0==(128&n)&&(12==(12&n)?xy(e):64&n&&Ry(e,Iy.CheckAndUpdateProjectedViews));break;case Iy.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?xy(e):64&n&&Ry(e,t));break;case Iy.Destroy:Ey(e);break;case Iy.CreateViewNodes:yy(e)}}function Ry(e,t){jy(e,t),Py(e,t)}function Ay(e,t,n,r){if(!(e.def.nodeFlags&t&&e.def.nodeFlags&n))return;const i=e.def.nodes.length;for(let o=0;o<i;o++){const i=e.def.nodes[o];if(i.flags&t&&i.flags&n)switch(uf.setCurrentNode(e,i.nodeIndex),r){case 0:ey(e,i);break;case 1:ky(e,i)}i.childFlags&t&&i.childFlags&n||(o+=i.childCount)}}let Ty=!1;function Dy(){if(Ty)return;Ty=!0;const e=Hb()?{setCurrentNode:iw,createRootView:Ly,createEmbeddedView:Vy,createComponentView:By,createNgModuleRef:zy,overrideProvider:Gy,overrideComponentView:Wy,clearOverrides:Yy,checkAndUpdateView:Xy,checkNoChangesView:Ky,destroyView:Jy,createDebugContext:(e,t)=>new hw(e,t),handleEvent:ow,updateDirectives:sw,updateRenderer:aw}:{setCurrentNode:()=>{},createRootView:Fy,createEmbeddedView:my,createComponentView:_y,createNgModuleRef:ym,overrideProvider:df,overrideComponentView:df,clearOverrides:df,checkAndUpdateView:xy,checkNoChangesView:wy,destroyView:Ey,createDebugContext:(e,t)=>new hw(e,t),handleEvent:(e,t,n,r)=>e.def.handleEvent(e,t,n,r),updateDirectives:(e,t)=>e.def.updateDirectives(0===t?Zy:Qy,e),updateRenderer:(e,t)=>e.def.updateRenderer(0===t?Zy:Qy,e)};uf.setCurrentNode=e.setCurrentNode,uf.createRootView=e.createRootView,uf.createEmbeddedView=e.createEmbeddedView,uf.createComponentView=e.createComponentView,uf.createNgModuleRef=e.createNgModuleRef,uf.overrideProvider=e.overrideProvider,uf.overrideComponentView=e.overrideComponentView,uf.clearOverrides=e.clearOverrides,uf.checkAndUpdateView=e.checkAndUpdateView,uf.checkNoChangesView=e.checkNoChangesView,uf.destroyView=e.destroyView,uf.resolveDep=Bm,uf.createDebugContext=e.createDebugContext,uf.handleEvent=e.handleEvent,uf.updateDirectives=e.updateDirectives,uf.updateRenderer=e.updateRenderer,uf.dirtyParentQueries=Jv}function Fy(e,t,n,r,i,o){const s=i.injector.get(np);return gy(Ny(e,i,s,t,n),r,o)}function Ly(e,t,n,r,i,o){const s=i.injector.get(np),a=Ny(e,i,new gw(s),t,n),l=qy(r);return fw(ew.create,gy,null,[a,l,o])}function Ny(e,t,n,r,i){const o=t.injector.get(ap),s=t.injector.get(Wi),a=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:i,sanitizer:o,rendererFactory:n,renderer:a,errorHandler:s}}function Vy(e,t,n,r){const i=qy(n);return fw(ew.create,my,null,[e,t,i,r])}function By(e,t,n,r){return n=$y.get(t.element.componentProvider.provider.token)||qy(n),fw(ew.create,_y,null,[e,t,n,r])}function zy(e,t,n,r){return ym(e,t,n,function(e){const{hasOverrides:t,hasDeprecatedOverrides:n}=function(e){let t=!1,n=!1;return 0===Hy.size||(e.providers.forEach(e=>{const r=Hy.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(e=>{Uy.forEach((r,i)=>{k(i).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})})),{hasOverrides:t,hasDeprecatedOverrides:n}}(e);return t?(function(e){for(let t=0;t<e.providers.length;t++){const r=e.providers[t];n&&(r.flags|=4096);const i=Hy.get(r.token);i&&(r.flags=-3841&r.flags|i.flags,r.deps=Rf(i.deps),r.value=i.value)}if(Uy.size>0){let t=new Set(e.modules);Uy.forEach((r,i)=>{if(t.has(k(i).providedIn)){let t={token:i,flags:r.flags|(n?4096:0),deps:Rf(r.deps),value:r.value,index:e.providers.length};e.providers.push(t),e.providersByKey[pf(i)]=t}})}}(e=e.factory(()=>df)),e):e}(r))}const Hy=new Map,Uy=new Map,$y=new Map;function Gy(e){let t;Hy.set(e.token,e),"function"==typeof e.token&&(t=k(e.token))&&"function"==typeof t.providedIn&&Uy.set(e.token,e)}function Wy(e,t){const n=Df(lm(t)),r=Df(n.nodes[0].element.componentView);$y.set(e,r)}function Yy(){Hy.clear(),Uy.clear(),$y.clear()}function qy(e){if(0===Hy.size)return e;const t=function(e){const t=[];let n=null;for(let r=0;r<e.nodes.length;r++){const i=e.nodes[r];1&i.flags&&(n=i),n&&3840&i.flags&&Hy.has(i.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(()=>df);for(let r=0;r<t.length;r++)n(e,t[r]);return e;function n(e,t){for(let n=t+1;n<e.nodes.length;n++){const t=e.nodes[n];if(1&t.flags)return;if(3840&t.flags){const e=t.provider,n=Hy.get(e.token);n&&(t.flags=-3841&t.flags|n.flags,e.deps=Rf(n.deps),e.value=n.value)}}}}function Zy(e,t,n,r,i,o,s,a,l,c,u,d,h){const p=e.def.nodes[t];return Cy(e,p,n,r,i,o,s,a,l,c,u,d,h),224&p.flags?af(e,t).value:void 0}function Qy(e,t,n,r,i,o,s,a,l,c,u,d,h){const p=e.def.nodes[t];return Sy(e,p,n,r,i,o,s,a,l,c,u,d,h),224&p.flags?af(e,t).value:void 0}function Xy(e){return fw(ew.detectChanges,xy,null,[e])}function Ky(e){return fw(ew.checkNoChanges,wy,null,[e])}function Jy(e){return fw(ew.destroy,Ey,null,[e])}var ew=function(e){return e[e.create=0]="create",e[e.detectChanges=1]="detectChanges",e[e.checkNoChanges=2]="checkNoChanges",e[e.destroy=3]="destroy",e[e.handleEvent=4]="handleEvent",e}({});let tw,nw,rw;function iw(e,t){nw=e,rw=t}function ow(e,t,n,r){return iw(e,t),fw(ew.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function sw(e,t){if(128&e.state)throw ef(ew[tw]);return iw(e,uw(e,0)),e.def.updateDirectives(function(e,n,r,...i){const o=e.def.nodes[n];return 0===t?lw(e,o,r,i):cw(e,o,r,i),16384&o.flags&&iw(e,uw(e,n)),224&o.flags?af(e,o.nodeIndex).value:void 0},e)}function aw(e,t){if(128&e.state)throw ef(ew[tw]);return iw(e,dw(e,0)),e.def.updateRenderer(function(e,n,r,...i){const o=e.def.nodes[n];return 0===t?lw(e,o,r,i):cw(e,o,r,i),3&o.flags&&iw(e,dw(e,n)),224&o.flags?af(e,o.nodeIndex).value:void 0},e)}function lw(e,t,n,r){if(Cy(e,t,n,...r)){const s=1===n?r[0]:r;if(16384&t.flags){const n={};for(let e=0;e<t.bindings.length;e++){const r=t.bindings[e],a=s[e];8&r.flags&&(n[(i=r.nonMinifiedName,o=void 0,o=i.replace(/[$@]/g,"_"),`ng-reflect-${i=o.replace(Ki,(...e)=>"-"+e[1].toLowerCase())}`)]=Ji(a))}const r=t.parent,a=of(e,r.nodeIndex).renderElement;if(r.element.name)for(let t in n){const r=n[t];null!=r?e.renderer.setAttribute(a,t,r):e.renderer.removeAttribute(a,t)}else e.renderer.setValue(a,Xi(`bindings=${JSON.stringify(n,null,2)}`))}}var i,o}function cw(e,t,n,r){Sy(e,t,n,...r)}function uw(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(16384&t.flags&&t.bindings&&t.bindings.length)return n}return null}function dw(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(3&t.flags&&t.bindings&&t.bindings.length)return n}return null}class hw{constructor(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];let n=this.nodeDef,r=e;for(;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=kf(r),r=r.parent;this.elDef=n,this.elView=r}get elOrCompView(){return of(this.elView,this.elDef.nodeIndex).componentView||this.view}get injector(){return _m(this.elView,this.elDef)}get component(){return this.elOrCompView.component}get context(){return this.elOrCompView.context}get providerTokens(){const e=[];if(this.elDef)for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e}get references(){const e={};if(this.elDef){pw(this.elView,this.elDef,e);for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&pw(this.elView,n,e),t+=n.childCount}}return e}get componentRenderElement(){const e=function(e){for(;e&&!If(e);)e=e.parent;return e.parent?of(e.parent,kf(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0}get renderNode(){return 2&this.nodeDef.flags?Ef(this.view,this.nodeDef):Ef(this.elView,this.elDef)}logError(e,...t){let n,r;2&this.nodeDef.flags?(n=this.view.def,r=this.nodeDef.nodeIndex):(n=this.elView.def,r=this.elDef.nodeIndex);const i=function(e,t){let n=-1;for(let r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(n,r);let o=-1;n.factory(()=>(o++,o===i?e.error.bind(e,...t):df)),o<i&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error(...t))}}function pw(e,t,n){for(let r in t.references)n[r]=ny(e,t,t.references[r])}function fw(e,t,n,r){const i=tw,o=nw,s=rw;try{tw=e;const a=t.apply(n,r);return nw=o,rw=s,tw=i,a}catch(c){if(Ui(c)||!nw)throw c;throw a=c,l=mw(),a instanceof Error||(a=new Error(a.toString())),Jp(a,l),a}var a,l}function mw(){return nw?new hw(nw,rw):null}class gw{constructor(e){this.delegate=e}createRenderer(e,t){return new _w(this.delegate.createRenderer(e,t))}begin(){this.delegate.begin&&this.delegate.begin()}end(){this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)}}class _w{constructor(e){this.delegate=e,this.debugContextFactory=mw,this.data=this.delegate.data}createDebugContext(e){return this.debugContextFactory(e)}destroyNode(e){const t=Rv(e);t&&(function(e){jv.delete(e.nativeNode)}(t),t instanceof _v&&(t.listeners.length=0)),this.delegate.destroyNode&&this.delegate.destroyNode(e)}destroy(){this.delegate.destroy()}createElement(e,t){const n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){const t=new bv(n,null,r);t.name=e,Dv(t)}return n}createComment(e){const t=this.delegate.createComment(Xi(e)),n=this.createDebugContext(t);return n&&Dv(new _v(t,null,n)),t}createText(e){const t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&Dv(new _v(t,null,n)),t}appendChild(e,t){const n=Rv(e),r=Rv(t);n&&r&&n instanceof bv&&n.addChild(r),this.delegate.appendChild(e,t)}insertBefore(e,t,n,r){const i=Rv(e),o=Rv(t),s=Rv(n);i&&o&&i instanceof bv&&i.insertBefore(s,o),this.delegate.insertBefore(e,t,n,r)}removeChild(e,t){const n=Rv(e),r=Rv(t);n&&r&&n instanceof bv&&n.removeChild(r),this.delegate.removeChild(e,t)}selectRootElement(e,t){const n=this.delegate.selectRootElement(e,t),r=mw();return r&&Dv(new bv(n,null,r)),n}setAttribute(e,t,n,r){const i=Rv(e);i&&i instanceof bv&&(i.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){const r=Rv(e);r&&r instanceof bv&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)}addClass(e,t){const n=Rv(e);n&&n instanceof bv&&(n.classes[t]=!0),this.delegate.addClass(e,t)}removeClass(e,t){const n=Rv(e);n&&n instanceof bv&&(n.classes[t]=!1),this.delegate.removeClass(e,t)}setStyle(e,t,n,r){const i=Rv(e);i&&i instanceof bv&&(i.styles[t]=n),this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){const r=Rv(e);r&&r instanceof bv&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){const r=Rv(e);r&&r instanceof bv&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)}listen(e,t,n){if("string"!=typeof e){const r=Rv(e);r&&r.listeners.push(new gv(t,n))}return this.delegate.listen(e,t,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setValue(e,t){return this.delegate.setValue(e,t)}}function bw(e){return Dy(),uf.overrideProvider(e)}function vw(e,t){return Dy(),uf.overrideComponentView(e,t)}function yw(){return Dy(),uf.clearOverrides()}function ww(e,t,n){return new xw(e,t,n)}class xw extends Hp{constructor(e,t,n){super(),this.moduleType=e,this._bootstrapComponents=t,this._ngModuleDefFactory=n}create(e){Dy();const t=function(e){const t=Array.from(e.providers),n=Array.from(e.modules),r={};for(const i in e.providersByKey)r[i]=e.providersByKey[i];return{factory:e.factory,scope:e.scope,providers:t,modules:n,providersByKey:r}}(Df(this._ngModuleDefFactory));return uf.createNgModuleRef(this.moduleType,e||Ta.NULL,this._bootstrapComponents,t)}}function Cw(e){return Yn().compileDirectiveDeclaration(Xg,`ng:///${e.type.name}/\u0275fac.js`,e)}function Ow(e){return Yn().compileComponentDeclaration(Xg,`ng:///${e.type.name}/\u0275cmp.js`,e)}function Sw(e){return Yn().compilePipeDeclaration(Xg,`ng:///${e.type.name}/\u0275pipe.js`,e)}},"8wYR":function(e){e.exports=JSON.parse('[{"id":"77","name":"\u041c\u043e\u0441\u043a\u0432\u0430","stations":[{"name":"\u041d\u0430\u0445\u0430\u0431\u0438\u043d\u043e","hex_color":"EA4184"},{"name":"\u0410\u043d\u0438\u043a\u0435\u0435\u0432\u043a\u0430","hex_color":"EA4184"},{"name":"\u041e\u043f\u0430\u043b\u0438\u0445\u0430","hex_color":"EA4184"},{"name":"\u041a\u0440\u0430\u0441\u043d\u043e\u0433\u043e\u0440\u0441\u043a\u0430\u044f","hex_color":"EA4184"},{"name":"\u041f\u0430\u0432\u0448\u0438\u043d\u043e","hex_color":"EA4184"},{"name":"\u041f\u0435\u043d\u044f\u0433\u0438\u043d\u043e","hex_color":"EA4184"},{"name":"\u0412\u043e\u043b\u043e\u043a\u043e\u043b\u0430\u043c\u0441\u043a\u0430\u044f","hex_color":"EA4184"},{"name":"\u0422\u0443\u0448\u0438\u043d\u0441\u043a\u0430\u044f","hex_color":"EA4184"},{"name":"\u041f\u043e\u043a\u0440\u043e\u0432\u0441\u043a\u043e\u0435-\u0421\u0442\u0440\u0435\u0448\u043d\u0435\u0432\u043e","hex_color":"EA4184"},{"name":"\u0421\u0442\u0440\u0435\u0448\u043d\u0435\u0432\u043e","hex_color":"EA4184"},{"name":"\u041a\u0440\u0430\u0441\u043d\u044b\u0439 \u0411\u0430\u043b\u0442\u0438\u0435\u0446","hex_color":"EA4184"},{"name":"\u0413\u0440\u0430\u0436\u0434\u0430\u043d\u0441\u043a\u0430\u044f","hex_color":"EA4184"},{"name":"\u0414\u043c\u0438\u0442\u0440\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"EA4184"},{"name":"\u0420\u0438\u0436\u0441\u043a\u0430\u044f","hex_color":"EA4184"},{"name":"\u041a\u0430\u043b\u0430\u043d\u0447\u0435\u0432\u0441\u043a\u0430\u044f","hex_color":"EA4184"},{"name":"\u041a\u0443\u0440\u0441\u043a\u0430\u044f","hex_color":"EA4184"},{"name":"\u041c\u043e\u0441\u043a\u0432\u0430 \u0422\u043e\u0432\u0430\u0440\u043d\u0430\u044f","hex_color":"EA4184"},{"name":"\u041a\u0430\u043b\u0438\u0442\u043d\u0438\u043a\u0438","hex_color":"EA4184"},{"name":"\u041d\u043e\u0432\u043e\u0445\u043e\u0445\u043b\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"EA4184"},{"name":"\u0422\u0435\u043a\u0441\u0442\u0438\u043b\u044c\u0449\u0438\u043a\u0438","hex_color":"EA4184"},{"name":"\u041b\u044e\u0431\u043b\u0438\u043d\u043e","hex_color":"EA4184"},{"name":"\u0414\u0435\u043f\u043e","hex_color":"EA4184"},{"name":"\u041f\u0435\u0440\u0435\u0440\u0432\u0430","hex_color":"EA4184"},{"name":"\u041c\u043e\u0441\u043a\u0432\u043e\u0440\u0435\u0447\u044c\u0435","hex_color":"EA4184"},{"name":"\u0426\u0430\u0440\u0438\u0446\u044b\u043d\u043e","hex_color":"EA4184"},{"name":"\u041f\u043e\u043a\u0440\u043e\u0432\u0441\u043a\u043e\u0435","hex_color":"EA4184"},{"name":"\u041a\u0440\u0430\u0441\u043d\u044b\u0439 \u0441\u0442\u0440\u043e\u0438\u0442\u0435\u043b\u044c","hex_color":"EA4184"},{"name":"\u0411\u0438\u0442\u0446\u0430","hex_color":"EA4184"},{"name":"\u0411\u0443\u0442\u043e\u0432\u043e","hex_color":"EA4184"},{"name":"\u0429\u0435\u0440\u0431\u0438\u043d\u043a\u0430","hex_color":"EA4184"},{"name":"\u041e\u0441\u0442\u0430\u0444\u044c\u0435\u0432\u043e","hex_color":"EA4184"},{"name":"\u0421\u0438\u043b\u0438\u043a\u0430\u0442\u043d\u0430\u044f","hex_color":"EA4184"},{"name":"\u041f\u043e\u0434\u043e\u043b\u044c\u0441\u043a","hex_color":"EA4184"},{"name":"\u0422\u0440\u0438\u043a\u043e\u0442\u0430\u0436\u043d\u0430\u044f","hex_color":"EA4184"},{"name":"\u041a\u0443\u0440\u044c\u044f\u043d\u043e\u0432\u043e","hex_color":"EA4184"},{"name":"\u041b\u043e\u0431\u043d\u044f","hex_color":"FAA400"},{"name":"\u0428\u0435\u0440\u0435\u043c\u0435\u0442\u044c\u0435\u0432\u0441\u043a\u0430\u044f","hex_color":"FAA400"},{"name":"\u0425\u043b\u0435\u0431\u043d\u0438\u043a\u043e\u0432\u043e","hex_color":"FAA400"},{"name":"\u0412\u043e\u0434\u043d\u0438\u043a\u0438","hex_color":"FAA400"},{"name":"\u0414\u043e\u043b\u0433\u043e\u043f\u0440\u0443\u0434\u043d\u0430\u044f","hex_color":"FAA400"},{"name":"\u041d\u043e\u0432\u043e\u0434\u0430\u0447\u043d\u0430\u044f","hex_color":"FAA400"},{"name":"\u041c\u0430\u0440\u043a","hex_color":"FAA400"},{"name":"\u041b\u0438\u0430\u043d\u043e\u0437\u043e\u0432\u043e","hex_color":"FAA400"},{"name":"\u0411\u0435\u0441\u043a\u0443\u0434\u043d\u0438\u043a\u043e\u0432\u043e","hex_color":"FAA400"},{"name":"\u0414\u0435\u0433\u0443\u043d\u0438\u043d\u043e","hex_color":"FAA400"},{"name":"\u041e\u043a\u0440\u0443\u0436\u043d\u0430\u044f","hex_color":"FAA400"},{"name":"\u0422\u0438\u043c\u0438\u0440\u044f\u0437\u0435\u0432\u0441\u043a\u0430\u044f","hex_color":"FAA400"},{"name":"\u0421\u0430\u0432\u0451\u043b\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"FAA400"},{"name":"\u0411\u0435\u043b\u043e\u0440\u0443\u0441\u0441\u043a\u0430\u044f","hex_color":"FAA400"},{"name":"\u0411\u0435\u0433\u043e\u0432\u0430\u044f","hex_color":"FAA400"},{"name":"\u0422\u0435\u0441\u0442\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"FAA400"},{"name":"\u0424\u0438\u043b\u0438","hex_color":"FAA400"},{"name":"\u041a\u0443\u043d\u0446\u0435\u0432\u0441\u043a\u0430\u044f","hex_color":"FAA400"},{"name":"\u0420\u0430\u0431\u043e\u0447\u0438\u0439 \u041f\u043e\u0441\u0435\u043b\u043e\u043a","hex_color":"FAA400"},{"name":"\u0421\u0435\u0442\u0443\u043d\u044c","hex_color":"FAA400"},{"name":"\u041d\u0435\u043c\u0447\u0438\u043d\u043e\u0432\u043a\u0430","hex_color":"FAA400"},{"name":"\u0421\u043a\u043e\u043b\u043a\u043e\u0432\u043e","hex_color":"FAA400"},{"name":"\u0411\u0430\u043a\u043e\u0432\u043a\u0430","hex_color":"FAA400"},{"name":"\u041e\u0434\u0438\u043d\u0446\u043e\u0432\u043e","hex_color":"FAA400"},{"name":"\u0421\u043b\u0430\u0432\u044f\u043d\u0441\u043a\u0438\u0439 \u0431\u0443\u043b\u044c\u0432\u0430\u0440","hex_color":"FAA400"},{"name":"\u041a\u043e\u0441\u0438\u043d\u043e","hex_color":"E66AC0"},{"name":"\u0423\u043b\u0438\u0446\u0430 \u0414\u043c\u0438\u0442\u0440\u0438\u0435\u0432\u0441\u043a\u043e\u0433\u043e","hex_color":"E66AC0"},{"name":"\u041b\u0443\u0445\u043c\u0430\u043d\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"E66AC0"},{"name":"\u041d\u0435\u043a\u0440\u0430\u0441\u043e\u0432\u043a\u0430","hex_color":"E66AC0"},{"name":"\u042e\u0433\u043e-\u0412\u043e\u0441\u0442\u043e\u0447\u043d\u0430\u044f","hex_color":"E66AC0"},{"name":"\u041e\u043a\u0441\u043a\u0430\u044f","hex_color":"E66AC0"},{"name":"\u0421\u0442\u0430\u0445\u0430\u043d\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"E66AC0"},{"name":"\u041d\u0438\u0436\u0435\u0433\u043e\u0440\u043e\u0434\u0441\u043a\u0430\u044f","hex_color":"E66AC0"},{"name":"\u041b\u0435\u0444\u043e\u0440\u0442\u043e\u0432\u043e","hex_color":"E66AC0"},{"name":"\u042d\u043b\u0435\u043a\u0442\u0440\u043e\u0437\u0430\u0432\u043e\u0434\u0441\u043a\u0430\u044f","hex_color":"E66AC0"},{"name":"\u0410\u0432\u0438\u0430\u043c\u043e\u0442\u043e\u0440\u043d\u0430\u044f","hex_color":"E66AC0"},{"name":"\u041f\u0435\u0442\u0440\u043e\u0432\u0441\u043a\u0438\u0439 \u043f\u0430\u0440\u043a","hex_color":"6AC9C8"},{"name":"\u0426\u0421\u041a\u0410","hex_color":"6AC9C8"},{"name":"\u0425\u043e\u0440\u043e\u0448\u0435\u0432\u0441\u043a\u043e\u0435","hex_color":"6AC9C8"},{"name":"\u0428\u0435\u043b\u0435\u043f\u0438\u0445\u0430","hex_color":"6AC9C8"},{"name":"\u0414\u0435\u043b\u043e\u0432\u043e\u0439 \u0446\u0435\u043d\u0442\u0440","hex_color":"6AC9C8"},{"name":"\u0421\u0430\u0432\u0435\u043b\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"6AC9C8"},{"name":"\u042d\u043b\u0435\u043a\u0442\u0440\u043e\u0437\u0430\u0432\u043e\u0434\u0441\u043a\u0430\u044f","hex_color":"6AC9C8"},{"name":"\u041c\u043d\u0435\u0432\u043d\u0438\u043a\u0438","hex_color":"6AC9C8"},{"name":"\u041d\u0430\u0440\u043e\u0434\u043d\u043e\u0435 \u041e\u043f\u043e\u043b\u0447\u0435\u043d\u0438\u0435","hex_color":"6AC9C8"},{"name":"\u0422\u0435\u0440\u0435\u0445\u043e\u0432\u043e","hex_color":"6AC9C8"},{"name":"\u041a\u0443\u043d\u0446\u0435\u0432\u0441\u043a\u0430\u044f","hex_color":"6AC9C8"},{"name":"\u0414\u0430\u0432\u044b\u0434\u043a\u043e\u0432\u043e","hex_color":"6AC9C8"},{"name":"\u0410\u043c\u0438\u043d\u044c\u0435\u0432\u0441\u043a\u0430\u044f","hex_color":"6AC9C8"},{"name":"\u041c\u0438\u0447\u0443\u0440\u0438\u043d\u0441\u043a\u0438\u0439 \u043f\u0440\u043e\u0441\u043f\u0435\u043a\u0442","hex_color":"6AC9C8"},{"name":"\u041f\u0440\u043e\u0441\u043f\u0435\u043a\u0442 \u0412\u0435\u0440\u043d\u0430\u0434\u0441\u043a\u043e\u0433\u043e","hex_color":"6AC9C8"},{"name":"\u041d\u043e\u0432\u0430\u0442\u043e\u0440\u0441\u043a\u0430\u044f","hex_color":"6AC9C8"},{"name":"\u0412\u043e\u0440\u043e\u043d\u0446\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"6AC9C8"},{"name":"\u0417\u044e\u0437\u0438\u043d\u043e","hex_color":"6AC9C8"},{"name":"\u041a\u0430\u0445\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"6AC9C8"},{"name":"\u0422\u0438\u043c\u0438\u0440\u044f\u0437\u0435\u0432\u0441\u043a\u0430\u044f","hex_color":"006DA8"},{"name":"\u0423\u043b\u0438\u0446\u0430 \u041c\u0438\u043b\u0430\u0448\u0435\u043d\u043a\u043e\u0432\u0430","hex_color":"006DA8"},{"name":"\u0422\u0435\u043b\u0435\u0446\u0435\u043d\u0442\u0440","hex_color":"006DA8"},{"name":"\u0423\u043b\u0438\u0446\u0430 \u0410\u043a\u0430\u0434\u0435\u043c\u0438\u043a\u0430 \u041a\u043e\u0440\u043e\u043b\u0435\u0432\u0430","hex_color":"006DA8"},{"name":"\u0412\u044b\u0441\u0442\u0430\u0432\u043e\u0447\u043d\u044b\u0439 \u0446\u0435\u043d\u0442\u0440","hex_color":"006DA8"},{"name":"\u0423\u043b\u0438\u0446\u0430 \u0421\u0435\u0440\u0433\u0435\u044f \u042d\u0439\u0437\u0435\u043d\u0448\u0442\u0435\u0439\u043d\u0430","hex_color":"006DA8"},{"name":"\u041e\u043a\u0440\u0443\u0436\u043d\u0430\u044f","hex_color":"CC4C6E"},{"name":"\u0412\u043b\u0430\u0434\u044b\u043a\u0438\u043d\u043e","hex_color":"CC4C6E"},{"name":"\u0411\u043e\u0442\u0430\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0441\u0430\u0434","hex_color":"CC4C6E"},{"name":"\u0420\u043e\u0441\u0442\u043e\u043a\u0438\u043d\u043e","hex_color":"CC4C6E"},{"name":"\u0411\u0435\u043b\u043e\u043a\u0430\u043c\u0435\u043d\u043d\u0430\u044f","hex_color":"CC4C6E"},{"name":"\u0411\u0443\u043b\u044c\u0432\u0430\u0440 \u0420\u043e\u043a\u043e\u0441\u0441\u043e\u0432\u0441\u043a\u043e\u0433\u043e","hex_color":"CC4C6E"},{"name":"\u041b\u043e\u043a\u043e\u043c\u043e\u0442\u0438\u0432","hex_color":"CC4C6E"},{"name":"\u0418\u0437\u043c\u0430\u0439\u043b\u043e\u0432\u043e","hex_color":"CC4C6E"},{"name":"\u0421\u043e\u043a\u043e\u043b\u0438\u043d\u0430\u044f \u0413\u043e\u0440\u0430","hex_color":"CC4C6E"},{"name":"\u0428\u043e\u0441\u0441\u0435 \u042d\u043d\u0442\u0443\u0437\u0438\u0430\u0441\u0442\u043e\u0432","hex_color":"CC4C6E"},{"name":"\u0410\u043d\u0434\u0440\u043e\u043d\u043e\u0432\u043a\u0430","hex_color":"CC4C6E"},{"name":"\u041d\u0438\u0436\u0435\u0433\u043e\u0440\u043e\u0434\u0441\u043a\u0430\u044f","hex_color":"CC4C6E"},{"name":"\u041d\u043e\u0432\u043e\u0445\u043e\u0445\u043b\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"CC4C6E"},{"name":"\u0423\u0433\u0440\u0435\u0448\u0441\u043a\u0430\u044f","hex_color":"CC4C6E"},{"name":"\u0414\u0443\u0431\u0440\u043e\u0432\u043a\u0430","hex_color":"CC4C6E"},{"name":"\u0410\u0432\u0442\u043e\u0437\u0430\u0432\u043e\u0434\u0441\u043a\u0430\u044f","hex_color":"CC4C6E"},{"name":"\u0417\u0418\u041b","hex_color":"CC4C6E"},{"name":"\u0412\u0435\u0440\u0445\u043d\u0438\u0435 \u041a\u043e\u0442\u043b\u044b","hex_color":"CC4C6E"},{"name":"\u041a\u0440\u044b\u043c\u0441\u043a\u0430\u044f","hex_color":"CC4C6E"},{"name":"\u041f\u043b\u043e\u0449\u0430\u0434\u044c \u0413\u0430\u0433\u0430\u0440\u0438\u043d\u0430","hex_color":"CC4C6E"},{"name":"\u041b\u0443\u0436\u043d\u0438\u043a\u0438","hex_color":"CC4C6E"},{"name":"\u041a\u0443\u0442\u0443\u0437\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"CC4C6E"},{"name":"\u0414\u0435\u043b\u043e\u0432\u043e\u0439 \u0446\u0435\u043d\u0442\u0440","hex_color":"CC4C6E"},{"name":"\u0428\u0435\u043b\u0435\u043f\u0438\u0445\u0430","hex_color":"CC4C6E"},{"name":"\u0425\u043e\u0440\u043e\u0448\u0435\u0432\u043e","hex_color":"CC4C6E"},{"name":"\u0417\u043e\u0440\u0433\u0435","hex_color":"CC4C6E"},{"name":"\u041f\u0430\u043d\u0444\u0438\u043b\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"CC4C6E"},{"name":"\u0421\u0442\u0440\u0435\u0448\u043d\u0435\u0432\u043e","hex_color":"CC4C6E"},{"name":"\u0411\u0430\u043b\u0442\u0438\u0439\u0441\u043a\u0430\u044f","hex_color":"CC4C6E"},{"name":"\u041a\u043e\u043f\u0442\u0435\u0432\u043e","hex_color":"CC4C6E"},{"name":"\u041b\u0438\u0445\u043e\u0431\u043e\u0440\u044b","hex_color":"CC4C6E"},{"name":"\u0414\u0435\u043b\u043e\u0432\u043e\u0439 \u0446\u0435\u043d\u0442\u0440","hex_color":"FAC62D"},{"name":"\u041f\u0430\u0440\u043a \u041f\u043e\u0431\u0435\u0434\u044b","hex_color":"FAC62D"},{"name":"\u041c\u0438\u043d\u0441\u043a\u0430\u044f","hex_color":"FAC62D"},{"name":"\u041b\u043e\u043c\u043e\u043d\u043e\u0441\u043e\u0432\u0441\u043a\u0438\u0439 \u043f\u0440\u043e\u0441\u043f\u0435\u043a\u0442","hex_color":"FAC62D"},{"name":"\u0420\u0430\u043c\u0435\u043d\u043a\u0438","hex_color":"FAC62D"},{"name":"\u041c\u0438\u0447\u0443\u0440\u0438\u043d\u0441\u043a\u0438\u0439 \u043f\u0440\u043e\u0441\u043f\u0435\u043a\u0442","hex_color":"FAC62D"},{"name":"\u041e\u0437\u0435\u0440\u043d\u0430\u044f","hex_color":"FAC62D"},{"name":"\u0413\u043e\u0432\u043e\u0440\u043e\u0432\u043e","hex_color":"FAC62D"},{"name":"\u0421\u043e\u043b\u043d\u0446\u0435\u0432\u043e","hex_color":"FAC62D"},{"name":"\u0411\u043e\u0440\u043e\u0432\u0441\u043a\u043e\u0435 \u0448\u043e\u0441\u0441\u0435","hex_color":"FAC62D"},{"name":"\u041d\u043e\u0432\u043e\u043f\u0435\u0440\u0435\u0434\u0435\u043b\u043a\u0438\u043d\u043e","hex_color":"FAC62D"},{"name":"\u0420\u0430\u0441\u0441\u043a\u0430\u0437\u043e\u0432\u043a\u0430","hex_color":"FAC62D"},{"name":"\u0411\u0443\u043d\u0438\u043d\u0441\u043a\u0430\u044f \u0410\u043b\u043b\u0435\u044f","hex_color":"ACBFE3"},{"name":"\u0423\u043b\u0438\u0446\u0430 \u0413\u043e\u0440\u0447\u0430\u043a\u043e\u0432\u0430","hex_color":"ACBFE3"},{"name":"\u0411\u0443\u043b\u044c\u0432\u0430\u0440 \u0410\u0434\u043c\u0438\u0440\u0430\u043b\u0430 \u0423\u0448\u0430\u043a\u043e\u0432\u0430","hex_color":"ACBFE3"},{"name":"\u0423\u043b\u0438\u0446\u0430 \u0421\u043a\u043e\u0431\u0435\u043b\u0435\u0432\u0441\u043a\u0430\u044f","hex_color":"ACBFE3"},{"name":"\u0423\u043b\u0438\u0446\u0430 \u0421\u0442\u0430\u0440\u043e\u043a\u0430\u0447\u0430\u043b\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"ACBFE3"},{"name":"\u041b\u0435\u0441\u043e\u043f\u0430\u0440\u043a\u043e\u0432\u0430\u044f","hex_color":"ACBFE3"},{"name":"\u0411\u0438\u0442\u0446\u0435\u0432\u0441\u043a\u0438\u0439 \u041f\u0430\u0440\u043a","hex_color":"ACBFE3"},{"name":"\u041a\u0430\u0448\u0438\u0440\u0441\u043a\u0430\u044f","hex_color":"6AC9C8"},{"name":"\u0412\u0430\u0440\u0448\u0430\u0432\u0441\u043a\u0430\u044f","hex_color":"6AC9C8"},{"name":"\u041a\u0430\u0445\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"6AC9C8"},{"name":"\u0421\u0435\u043b\u0438\u0433\u0435\u0440\u0441\u043a\u0430\u044f","hex_color":"B4D445"},{"name":"\u0412\u0435\u0440\u0445\u043d\u0438\u0435 \u041b\u0438\u0445\u043e\u0431\u043e\u0440\u044b","hex_color":"B4D445"},{"name":"\u041e\u043a\u0440\u0443\u0436\u043d\u0430\u044f","hex_color":"B4D445"},{"name":"\u041f\u0435\u0442\u0440\u043e\u0432\u0441\u043a\u043e-\u0420\u0430\u0437\u0443\u043c\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"B4D445"},{"name":"\u0424\u043e\u043d\u0432\u0438\u0437\u0438\u043d\u0441\u043a\u0430\u044f","hex_color":"B4D445"},{"name":"\u0411\u0443\u0442\u044b\u0440\u0441\u043a\u0430\u044f","hex_color":"B4D445"},{"name":"\u041c\u0430\u0440\u044c\u0438\u043d\u0430 \u0420\u043e\u0449\u0430","hex_color":"B4D445"},{"name":"\u0414\u043e\u0441\u0442\u043e\u0435\u0432\u0441\u043a\u0430\u044f","hex_color":"B4D445"},{"name":"\u0422\u0440\u0443\u0431\u043d\u0430\u044f","hex_color":"B4D445"},{"name":"\u0421\u0440\u0435\u0442\u0435\u043d\u0441\u043a\u0438\u0439 \u0431\u0443\u043b\u044c\u0432\u0430\u0440","hex_color":"B4D445"},{"name":"\u0427\u043a\u0430\u043b\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"B4D445"},{"name":"\u0420\u0438\u043c\u0441\u043a\u0430\u044f","hex_color":"B4D445"},{"name":"\u041a\u0440\u0435\u0441\u0442\u044c\u044f\u043d\u0441\u043a\u0430\u044f \u0437\u0430\u0441\u0442\u0430\u0432\u0430","hex_color":"B4D445"},{"name":"\u0414\u0443\u0431\u0440\u043e\u0432\u043a\u0430","hex_color":"B4D445"},{"name":"\u041a\u043e\u0436\u0443\u0445\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"B4D445"},{"name":"\u041f\u0435\u0447\u0430\u0442\u043d\u0438\u043a\u0438","hex_color":"B4D445"},{"name":"\u0412\u043e\u043b\u0436\u0441\u043a\u0430\u044f","hex_color":"B4D445"},{"name":"\u041b\u044e\u0431\u043b\u0438\u043d\u043e","hex_color":"B4D445"},{"name":"\u0411\u0440\u0430\u0442\u0438\u0441\u043b\u0430\u0432\u0441\u043a\u0430\u044f","hex_color":"B4D445"},{"name":"\u041c\u0430\u0440\u044c\u0438\u043d\u043e","hex_color":"B4D445"},{"name":"\u0411\u043e\u0440\u0438\u0441\u043e\u0432\u043e","hex_color":"B4D445"},{"name":"\u0428\u0438\u043f\u0438\u043b\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"B4D445"},{"name":"\u0417\u044f\u0431\u043b\u0438\u043a\u043e\u0432\u043e","hex_color":"B4D445"},{"name":"\u041d\u043e\u0432\u043e\u0441\u043b\u043e\u0431\u043e\u0434\u0441\u043a\u0430\u044f","hex_color":"894E35"},{"name":"\u041f\u0440\u043e\u0441\u043f\u0435\u043a\u0442 \u041c\u0438\u0440\u0430","hex_color":"894E35"},{"name":"\u041a\u043e\u043c\u0441\u043e\u043c\u043e\u043b\u044c\u0441\u043a\u0430\u044f","hex_color":"894E35"},{"name":"\u041a\u0443\u0440\u0441\u043a\u0430\u044f","hex_color":"894E35"},{"name":"\u0422\u0430\u0433\u0430\u043d\u0441\u043a\u0430\u044f","hex_color":"894E35"},{"name":"\u041f\u0430\u0432\u0435\u043b\u0435\u0446\u043a\u0430\u044f","hex_color":"894E35"},{"name":"\u0414\u043e\u0431\u0440\u044b\u043d\u0438\u043d\u0441\u043a\u0430\u044f","hex_color":"894E35"},{"name":"\u041e\u043a\u0442\u044f\u0431\u0440\u044c\u0441\u043a\u0430\u044f","hex_color":"894E35"},{"name":"\u041f\u0430\u0440\u043a \u043a\u0443\u043b\u044c\u0442\u0443\u0440\u044b","hex_color":"894E35"},{"name":"\u041a\u0438\u0435\u0432\u0441\u043a\u0430\u044f","hex_color":"894E35"},{"name":"\u041a\u0440\u0430\u0441\u043d\u043e\u043f\u0440\u0435\u0441\u043d\u0435\u043d\u0441\u043a\u0430\u044f","hex_color":"894E35"},{"name":"\u0411\u0435\u043b\u043e\u0440\u0443\u0441\u0441\u043a\u0430\u044f","hex_color":"894E35"},{"name":"\u041f\u043b\u0430\u043d\u0435\u0440\u043d\u0430\u044f","hex_color":"9E00BB"},{"name":"\u0421\u0445\u043e\u0434\u043d\u0435\u043d\u0441\u043a\u0430\u044f","hex_color":"9E00BB"},{"name":"\u0422\u0443\u0448\u0438\u043d\u0441\u043a\u0430\u044f","hex_color":"9E00BB"},{"name":"\u0421\u043f\u0430\u0440\u0442\u0430\u043a","hex_color":"9E00BB"},{"name":"\u0429\u0443\u043a\u0438\u043d\u0441\u043a\u0430\u044f","hex_color":"9E00BB"},{"name":"\u041e\u043a\u0442\u044f\u0431\u0440\u044c\u0441\u043a\u043e\u0435 \u043f\u043e\u043b\u0435","hex_color":"9E00BB"},{"name":"\u041f\u043e\u043b\u0435\u0436\u0430\u0435\u0432\u0441\u043a\u0430\u044f","hex_color":"9E00BB"},{"name":"\u0411\u0435\u0433\u043e\u0432\u0430\u044f","hex_color":"9E00BB"},{"name":"\u0423\u043b\u0438\u0446\u0430 1905 \u0433\u043e\u0434\u0430","hex_color":"9E00BB"},{"name":"\u0411\u0430\u0440\u0440\u0438\u043a\u0430\u0434\u043d\u0430\u044f","hex_color":"9E00BB"},{"name":"\u041f\u0443\u0448\u043a\u0438\u043d\u0441\u043a\u0430\u044f","hex_color":"9E00BB"},{"name":"\u041a\u0443\u0437\u043d\u0435\u0446\u043a\u0438\u0439 \u043c\u043e\u0441\u0442","hex_color":"9E00BB"},{"name":"\u041a\u0438\u0442\u0430\u0439-\u0433\u043e\u0440\u043e\u0434","hex_color":"9E00BB"},{"name":"\u0422\u0430\u0433\u0430\u043d\u0441\u043a\u0430\u044f","hex_color":"9E00BB"},{"name":"\u041f\u0440\u043e\u043b\u0435\u0442\u0430\u0440\u0441\u043a\u0430\u044f","hex_color":"9E00BB"},{"name":"\u0412\u043e\u043b\u0433\u043e\u0433\u0440\u0430\u0434\u0441\u043a\u0438\u0439 \u043f\u0440\u043e\u0441\u043f\u0435\u043a\u0442","hex_color":"9E00BB"},{"name":"\u0422\u0435\u043a\u0441\u0442\u0438\u043b\u044c\u0449\u0438\u043a\u0438","hex_color":"9E00BB"},{"name":"\u041a\u0443\u0437\u044c\u043c\u0438\u043d\u043a\u0438","hex_color":"9E00BB"},{"name":"\u0420\u044f\u0437\u0430\u043d\u0441\u043a\u0438\u0439 \u043f\u0440\u043e\u0441\u043f\u0435\u043a\u0442","hex_color":"9E00BB"},{"name":"\u0412\u044b\u0445\u0438\u043d\u043e","hex_color":"9E00BB"},{"name":"\u041b\u0435\u0440\u043c\u043e\u043d\u0442\u043e\u0432\u0441\u043a\u0438\u0439 \u043f\u0440\u043e\u0441\u043f\u0435\u043a\u0442","hex_color":"9E00BB"},{"name":"\u0416\u0443\u043b\u0435\u0431\u0438\u043d\u043e","hex_color":"9E00BB"},{"name":"\u041a\u043e\u0442\u0435\u043b\u044c\u043d\u0438\u043a\u0438","hex_color":"9E00BB"},{"name":"\u0410\u043b\u0442\u0443\u0444\u044c\u0435\u0432\u043e","hex_color":"989691"},{"name":"\u0411\u0438\u0431\u0438\u0440\u0435\u0432\u043e","hex_color":"989691"},{"name":"\u041e\u0442\u0440\u0430\u0434\u043d\u043e\u0435","hex_color":"989691"},{"name":"\u0412\u043b\u0430\u0434\u044b\u043a\u0438\u043d\u043e","hex_color":"989691"},{"name":"\u041f\u0435\u0442\u0440\u043e\u0432\u0441\u043a\u043e-\u0420\u0430\u0437\u0443\u043c\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"989691"},{"name":"\u0422\u0438\u043c\u0438\u0440\u044f\u0437\u0435\u0432\u0441\u043a\u0430\u044f","hex_color":"989691"},{"name":"\u0414\u043c\u0438\u0442\u0440\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"989691"},{"name":"\u0421\u0430\u0432\u0435\u043b\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"989691"},{"name":"\u041c\u0435\u043d\u0434\u0435\u043b\u0435\u0435\u0432\u0441\u043a\u0430\u044f","hex_color":"989691"},{"name":"\u0426\u0432\u0435\u0442\u043d\u043e\u0439 \u0431\u0443\u043b\u044c\u0432\u0430\u0440","hex_color":"989691"},{"name":"\u0427\u0435\u0445\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"989691"},{"name":"\u0411\u043e\u0440\u043e\u0432\u0438\u0446\u043a\u0430\u044f","hex_color":"989691"},{"name":"\u041f\u043e\u043b\u044f\u043d\u043a\u0430","hex_color":"989691"},{"name":"\u0421\u0435\u0440\u043f\u0443\u0445\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"989691"},{"name":"\u0422\u0443\u043b\u044c\u0441\u043a\u0430\u044f","hex_color":"989691"},{"name":"\u041d\u0430\u0433\u0430\u0442\u0438\u043d\u0441\u043a\u0430\u044f","hex_color":"989691"},{"name":"\u041d\u0430\u0433\u043e\u0440\u043d\u0430\u044f","hex_color":"989691"},{"name":"\u041d\u0430\u0445\u0438\u043c\u043e\u0432\u0441\u043a\u0438\u0439 \u043f\u0440\u043e\u0441\u043f\u0435\u043a\u0442","hex_color":"989691"},{"name":"\u0421\u0435\u0432\u0430\u0441\u0442\u043e\u043f\u043e\u043b\u044c\u0441\u043a\u0430\u044f","hex_color":"989691"},{"name":"\u0427\u0435\u0440\u0442\u0430\u043d\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"989691"},{"name":"\u042e\u0436\u043d\u0430\u044f","hex_color":"989691"},{"name":"\u041f\u0440\u0430\u0436\u0441\u043a\u0430\u044f","hex_color":"989691"},{"name":"\u0423\u043b\u0438\u0446\u0430 \u0410\u043a\u0430\u0434\u0435\u043c\u0438\u043a\u0430 \u042f\u043d\u0433\u0435\u043b\u044f","hex_color":"989691"},{"name":"\u0410\u043d\u043d\u0438\u043d\u043e","hex_color":"989691"},{"name":"\u0411\u0443\u043b\u044c\u0432\u0430\u0440 \u0414\u043c\u0438\u0442\u0440\u0438\u044f \u0414\u043e\u043d\u0441\u043a\u043e\u0433\u043e","hex_color":"989691"},{"name":"\u041a\u0443\u043d\u0446\u0435\u0432\u0441\u043a\u0430\u044f","hex_color":"00C1F3"},{"name":"\u041f\u0438\u043e\u043d\u0435\u0440\u0441\u043a\u0430\u044f","hex_color":"00C1F3"},{"name":"\u0424\u0438\u043b\u0435\u0432\u0441\u043a\u0438\u0439 \u043f\u0430\u0440\u043a","hex_color":"00C1F3"},{"name":"\u0411\u0430\u0433\u0440\u0430\u0442\u0438\u043e\u043d\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"00C1F3"},{"name":"\u0424\u0438\u043b\u0438","hex_color":"00C1F3"},{"name":"\u041a\u0443\u0442\u0443\u0437\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"00C1F3"},{"name":"\u0421\u0442\u0443\u0434\u0435\u043d\u0447\u0435\u0441\u043a\u0430\u044f","hex_color":"00C1F3"},{"name":"\u041a\u0438\u0435\u0432\u0441\u043a\u0430\u044f","hex_color":"00C1F3"},{"name":"\u0421\u043c\u043e\u043b\u0435\u043d\u0441\u043a\u0430\u044f","hex_color":"00C1F3"},{"name":"\u0410\u0440\u0431\u0430\u0442\u0441\u043a\u0430\u044f","hex_color":"00C1F3"},{"name":"\u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440\u043e\u0432\u0441\u043a\u0438\u0439 \u0441\u0430\u0434","hex_color":"00C1F3"},{"name":"\u0412\u044b\u0441\u0442\u0430\u0432\u043e\u0447\u043d\u0430\u044f","hex_color":"00C1F3"},{"name":"\u041c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u0430\u044f","hex_color":"00C1F3"},{"name":"\u0429\u0435\u043b\u043a\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"0F7AC1"},{"name":"\u041f\u0435\u0440\u0432\u043e\u043c\u0430\u0439\u0441\u043a\u0430\u044f","hex_color":"0F7AC1"},{"name":"\u0418\u0437\u043c\u0430\u0439\u043b\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"0F7AC1"},{"name":"\u041f\u0430\u0440\u0442\u0438\u0437\u0430\u043d\u0441\u043a\u0430\u044f","hex_color":"0F7AC1"},{"name":"\u0421\u0435\u043c\u0435\u043d\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"0F7AC1"},{"name":"\u042d\u043b\u0435\u043a\u0442\u0440\u043e\u0437\u0430\u0432\u043e\u0434\u0441\u043a\u0430\u044f","hex_color":"0F7AC1"},{"name":"\u0411\u0430\u0443\u043c\u0430\u043d\u0441\u043a\u0430\u044f","hex_color":"0F7AC1"},{"name":"\u041f\u043b\u043e\u0449\u0430\u0434\u044c \u0420\u0435\u0432\u043e\u043b\u044e\u0446\u0438\u0438","hex_color":"0F7AC1"},{"name":"\u041a\u0443\u0440\u0441\u043a\u0430\u044f","hex_color":"0F7AC1"},{"name":"\u0410\u0440\u0431\u0430\u0442\u0441\u043a\u0430\u044f","hex_color":"0F7AC1"},{"name":"\u0421\u043c\u043e\u043b\u0435\u043d\u0441\u043a\u0430\u044f","hex_color":"0F7AC1"},{"name":"\u041a\u0438\u0435\u0432\u0441\u043a\u0430\u044f","hex_color":"0F7AC1"},{"name":"\u041f\u0430\u0440\u043a \u041f\u043e\u0431\u0435\u0434\u044b","hex_color":"0F7AC1"},{"name":"\u0421\u043b\u0430\u0432\u044f\u043d\u0441\u043a\u0438\u0439 \u0431\u0443\u043b\u044c\u0432\u0430\u0440","hex_color":"0F7AC1"},{"name":"\u041a\u0443\u043d\u0446\u0435\u0432\u0441\u043a\u0430\u044f","hex_color":"0F7AC1"},{"name":"\u041c\u043e\u043b\u043e\u0434\u0451\u0436\u043d\u0430\u044f","hex_color":"0F7AC1"},{"name":"\u041a\u0440\u044b\u043b\u0430\u0442\u0441\u043a\u043e\u0435","hex_color":"0F7AC1"},{"name":"\u0421\u0442\u0440\u043e\u0433\u0438\u043d\u043e","hex_color":"0F7AC1"},{"name":"\u041c\u044f\u043a\u0438\u043d\u0438\u043d\u043e","hex_color":"0F7AC1"},{"name":"\u0412\u043e\u043b\u043e\u043a\u043e\u043b\u0430\u043c\u0441\u043a\u0430\u044f","hex_color":"0F7AC1"},{"name":"\u041c\u0438\u0442\u0438\u043d\u043e","hex_color":"0F7AC1"},{"name":"\u041f\u044f\u0442\u043d\u0438\u0446\u043a\u043e\u0435 \u0448\u043e\u0441\u0441\u0435","hex_color":"0F7AC1"},{"name":"\u0411\u0443\u043b\u044c\u0432\u0430\u0440 \u0420\u043e\u043a\u043e\u0441\u0441\u043e\u0432\u0441\u043a\u043e\u0433\u043e","hex_color":"DB1F26"},{"name":"\u0427\u0435\u0440\u043a\u0438\u0437\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"DB1F26"},{"name":"\u041f\u0440\u0435\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0441\u043a\u0430\u044f \u043f\u043b\u043e\u0449\u0430\u0434\u044c","hex_color":"DB1F26"},{"name":"\u0421\u043e\u043a\u043e\u043b\u044c\u043d\u0438\u043a\u0438","hex_color":"DB1F26"},{"name":"\u041a\u0440\u0430\u0441\u043d\u043e\u0441\u0435\u043b\u044c\u0441\u043a\u0430\u044f","hex_color":"DB1F26"},{"name":"\u041a\u043e\u043c\u0441\u043e\u043c\u043e\u043b\u044c\u0441\u043a\u0430\u044f","hex_color":"DB1F26"},{"name":"\u041a\u0440\u0430\u0441\u043d\u044b\u0435 \u0432\u043e\u0440\u043e\u0442\u0430","hex_color":"DB1F26"},{"name":"\u0427\u0438\u0441\u0442\u044b\u0435 \u043f\u0440\u0443\u0434\u044b","hex_color":"DB1F26"},{"name":"\u041b\u0443\u0431\u044f\u043d\u043a\u0430","hex_color":"DB1F26"},{"name":"\u041e\u0445\u043e\u0442\u043d\u044b\u0439 \u0440\u044f\u0434","hex_color":"DB1F26"},{"name":"\u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0438\u043c.\u041b\u0435\u043d\u0438\u043d\u0430","hex_color":"DB1F26"},{"name":"\u041a\u0440\u043e\u043f\u043e\u0442\u043a\u0438\u043d\u0441\u043a\u0430\u044f","hex_color":"DB1F26"},{"name":"\u041f\u0430\u0440\u043a \u043a\u0443\u043b\u044c\u0442\u0443\u0440\u044b","hex_color":"DB1F26"},{"name":"\u0424\u0440\u0443\u043d\u0437\u0435\u043d\u0441\u043a\u0430\u044f","hex_color":"DB1F26"},{"name":"\u0421\u043f\u043e\u0440\u0442\u0438\u0432\u043d\u0430\u044f","hex_color":"DB1F26"},{"name":"\u0412\u043e\u0440\u043e\u0431\u044c\u0435\u0432\u044b \u0433\u043e\u0440\u044b","hex_color":"DB1F26"},{"name":"\u0423\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442","hex_color":"DB1F26"},{"name":"\u041f\u0440\u043e\u0441\u043f\u0435\u043a\u0442 \u0412\u0435\u0440\u043d\u0430\u0434\u0441\u043a\u043e\u0433\u043e","hex_color":"DB1F26"},{"name":"\u042e\u0433\u043e-\u0417\u0430\u043f\u0430\u0434\u043d\u0430\u044f","hex_color":"DB1F26"},{"name":"\u0422\u0440\u043e\u043f\u0430\u0440\u0435\u0432\u043e","hex_color":"DB1F26"},{"name":"\u0420\u0443\u043c\u044f\u043d\u0446\u0435\u0432\u043e","hex_color":"DB1F26"},{"name":"\u0421\u0430\u043b\u0430\u0440\u044c\u0435\u0432\u043e","hex_color":"DB1F26"},{"name":"\u0424\u0438\u043b\u0430\u0442\u043e\u0432 \u041b\u0443\u0433","hex_color":"DB1F26"},{"name":"\u041f\u0440\u043e\u043a\u0448\u0438\u043d\u043e","hex_color":"DB1F26"},{"name":"\u041e\u043b\u044c\u0445\u043e\u0432\u0430\u044f","hex_color":"DB1F26"},{"name":"\u041a\u043e\u043c\u043c\u0443\u043d\u0430\u0440\u043a\u0430","hex_color":"DB1F26"},{"name":"\u041c\u0435\u0434\u0432\u0435\u0434\u043a\u043e\u0432\u043e","hex_color":"F58220"},{"name":"\u0411\u0430\u0431\u0443\u0448\u043a\u0438\u043d\u0441\u043a\u0430\u044f","hex_color":"F58220"},{"name":"\u0421\u0432\u0438\u0431\u043b\u043e\u0432\u043e","hex_color":"F58220"},{"name":"\u0411\u043e\u0442\u0430\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0441\u0430\u0434","hex_color":"F58220"},{"name":"\u0412\u0414\u041d\u0425","hex_color":"F58220"},{"name":"\u0410\u043b\u0435\u043a\u0441\u0435\u0435\u0432\u0441\u043a\u0430\u044f","hex_color":"F58220"},{"name":"\u0420\u0438\u0436\u0441\u043a\u0430\u044f","hex_color":"F58220"},{"name":"\u041f\u0440\u043e\u0441\u043f\u0435\u043a\u0442 \u041c\u0438\u0440\u0430","hex_color":"F58220"},{"name":"\u0421\u0443\u0445\u0430\u0440\u0435\u0432\u0441\u043a\u0430\u044f","hex_color":"F58220"},{"name":"\u0422\u0443\u0440\u0433\u0435\u043d\u0435\u0432\u0441\u043a\u0430\u044f","hex_color":"F58220"},{"name":"\u041a\u0438\u0442\u0430\u0439-\u0433\u043e\u0440\u043e\u0434","hex_color":"F58220"},{"name":"\u0422\u0440\u0435\u0442\u044c\u044f\u043a\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"F58220"},{"name":"\u041e\u043a\u0442\u044f\u0431\u0440\u044c\u0441\u043a\u0430\u044f","hex_color":"F58220"},{"name":"\u0428\u0430\u0431\u043e\u043b\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"F58220"},{"name":"\u041b\u0435\u043d\u0438\u043d\u0441\u043a\u0438\u0439 \u043f\u0440\u043e\u0441\u043f\u0435\u043a\u0442","hex_color":"F58220"},{"name":"\u0410\u043a\u0430\u0434\u0435\u043c\u0438\u0447\u0435\u0441\u043a\u0430\u044f","hex_color":"F58220"},{"name":"\u041f\u0440\u043e\u0444\u0441\u043e\u044e\u0437\u043d\u0430\u044f","hex_color":"F58220"},{"name":"\u041d\u043e\u0432\u044b\u0435 \u0427\u0435\u0440\u0451\u043c\u0443\u0448\u043a\u0438","hex_color":"F58220"},{"name":"\u041a\u0430\u043b\u0443\u0436\u0441\u043a\u0430\u044f","hex_color":"F58220"},{"name":"\u0411\u0435\u043b\u044f\u0435\u0432\u043e","hex_color":"F58220"},{"name":"\u041a\u043e\u043d\u044c\u043a\u043e\u0432\u043e","hex_color":"F58220"},{"name":"\u0422\u0451\u043f\u043b\u044b\u0439 \u0421\u0442\u0430\u043d","hex_color":"F58220"},{"name":"\u042f\u0441\u0435\u043d\u0435\u0432\u043e","hex_color":"F58220"},{"name":"\u041d\u043e\u0432\u043e\u044f\u0441\u0435\u043d\u0435\u0432\u0441\u043a\u0430\u044f","hex_color":"F58220"},{"name":"\u0425\u043e\u0432\u0440\u0438\u043d\u043e","hex_color":"5EAD4C"},{"name":"\u0411\u0435\u043b\u043e\u043c\u043e\u0440\u0441\u043a\u0430\u044f","hex_color":"5EAD4C"},{"name":"\u0420\u0435\u0447\u043d\u043e\u0439 \u0432\u043e\u043a\u0437\u0430\u043b","hex_color":"5EAD4C"},{"name":"\u0412\u043e\u0434\u043d\u044b\u0439 \u0441\u0442\u0430\u0434\u0438\u043e\u043d","hex_color":"5EAD4C"},{"name":"\u0412\u043e\u0439\u043a\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"5EAD4C"},{"name":"\u0421\u043e\u043a\u043e\u043b","hex_color":"5EAD4C"},{"name":"\u0410\u044d\u0440\u043e\u043f\u043e\u0440\u0442","hex_color":"5EAD4C"},{"name":"\u0414\u0438\u043d\u0430\u043c\u043e","hex_color":"5EAD4C"},{"name":"\u0411\u0435\u043b\u043e\u0440\u0443\u0441\u0441\u043a\u0430\u044f","hex_color":"5EAD4C"},{"name":"\u041c\u0430\u044f\u043a\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"5EAD4C"},{"name":"\u0422\u0432\u0435\u0440\u0441\u043a\u0430\u044f","hex_color":"5EAD4C"},{"name":"\u0422\u0435\u0430\u0442\u0440\u0430\u043b\u044c\u043d\u0430\u044f","hex_color":"5EAD4C"},{"name":"\u041d\u043e\u0432\u043e\u043a\u0443\u0437\u043d\u0435\u0446\u043a\u0430\u044f","hex_color":"5EAD4C"},{"name":"\u041f\u0430\u0432\u0435\u043b\u0435\u0446\u043a\u0430\u044f","hex_color":"5EAD4C"},{"name":"\u0410\u0432\u0442\u043e\u0437\u0430\u0432\u043e\u0434\u0441\u043a\u0430\u044f","hex_color":"5EAD4C"},{"name":"\u0422\u0435\u0445\u043d\u043e\u043f\u0430\u0440\u043a","hex_color":"5EAD4C"},{"name":"\u041a\u043e\u043b\u043e\u043c\u0435\u043d\u0441\u043a\u0430\u044f","hex_color":"5EAD4C"},{"name":"\u041a\u0430\u0448\u0438\u0440\u0441\u043a\u0430\u044f","hex_color":"5EAD4C"},{"name":"\u041a\u0430\u043d\u0442\u0435\u043c\u0438\u0440\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"5EAD4C"},{"name":"\u0426\u0430\u0440\u0438\u0446\u044b\u043d\u043e","hex_color":"5EAD4C"},{"name":"\u041e\u0440\u0435\u0445\u043e\u0432\u043e","hex_color":"5EAD4C"},{"name":"\u0414\u043e\u043c\u043e\u0434\u0435\u0434\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"5EAD4C"},{"name":"\u041a\u0440\u0430\u0441\u043d\u043e\u0433\u0432\u0430\u0440\u0434\u0435\u0439\u0441\u043a\u0430\u044f","hex_color":"5EAD4C"},{"name":"\u0410\u043b\u043c\u0430-\u0410\u0442\u0438\u043d\u0441\u043a\u0430\u044f","hex_color":"5EAD4C"},{"name":"\u041d\u043e\u0432\u043e\u043a\u043e\u0441\u0438\u043d\u043e","hex_color":"FAC62D"},{"name":"\u041d\u043e\u0432\u043e\u0433\u0438\u0440\u0435\u0435\u0432\u043e","hex_color":"FAC62D"},{"name":"\u041f\u0435\u0440\u043e\u0432\u043e","hex_color":"FAC62D"},{"name":"\u0428\u043e\u0441\u0441\u0435 \u042d\u043d\u0442\u0443\u0437\u0438\u0430\u0441\u0442\u043e\u0432","hex_color":"FAC62D"},{"name":"\u0410\u0432\u0438\u0430\u043c\u043e\u0442\u043e\u0440\u043d\u0430\u044f","hex_color":"FAC62D"},{"name":"\u041f\u043b\u043e\u0449\u0430\u0434\u044c \u0418\u043b\u044c\u0438\u0447\u0430","hex_color":"FAC62D"},{"name":"\u041c\u0430\u0440\u043a\u0441\u0438\u0441\u0442\u0441\u043a\u0430\u044f","hex_color":"FAC62D"},{"name":"\u0422\u0440\u0435\u0442\u044c\u044f\u043a\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"FAC62D"}]},{"id":"78","name":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","stations":[{"name":"\u041a\u043e\u043c\u0435\u043d\u0434\u0430\u043d\u0442\u0441\u043a\u0438\u0439 \u043f\u0440\u043e\u0441\u043f\u0435\u043a\u0442","hex_color":"9E00BB"},{"name":"\u0421\u0442\u0430\u0440\u0430\u044f \u0434\u0435\u0440\u0435\u0432\u043d\u044f","hex_color":"9E00BB"},{"name":"\u041a\u0440\u0435\u0441\u0442\u043e\u0432\u0441\u043a\u0438\u0439 \u043e\u0441\u0442\u0440\u043e\u0432","hex_color":"9E00BB"},{"name":"\u0427\u043a\u0430\u043b\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"9E00BB"},{"name":"\u0421\u043f\u043e\u0440\u0442\u0438\u0432\u043d\u0430\u044f","hex_color":"9E00BB"},{"name":"\u0410\u0434\u043c\u0438\u0440\u0430\u043b\u0442\u0435\u0439\u0441\u043a\u0430\u044f","hex_color":"9E00BB"},{"name":"\u0421\u0430\u0434\u043e\u0432\u0430\u044f","hex_color":"9E00BB"},{"name":"\u0417\u0432\u0435\u043d\u0438\u0433\u043e\u0440\u043e\u0434\u0441\u043a\u0430\u044f","hex_color":"9E00BB"},{"name":"\u041e\u0431\u0432\u043e\u0434\u043d\u044b\u0439 \u041a\u0430\u043d\u0430\u043b","hex_color":"9E00BB"},{"name":"\u0412\u043e\u043b\u043a\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"9E00BB"},{"name":"\u0411\u0443\u0445\u0430\u0440\u0435\u0441\u0442\u0441\u043a\u0430\u044f","hex_color":"9E00BB"},{"name":"\u041c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u0430\u044f","hex_color":"9E00BB"},{"name":"\u0414\u0443\u043d\u0430\u0439\u0441\u043a\u0430\u044f","hex_color":"9E00BB"},{"name":"\u041f\u0440\u043e\u0441\u043f\u0435\u043a\u0442 \u0421\u043b\u0430\u0432\u044b","hex_color":"9E00BB"},{"name":"\u0428\u0443\u0448\u0430\u0440\u044b","hex_color":"9E00BB"},{"name":"\u0421\u043f\u0430\u0441\u0441\u043a\u0430\u044f","hex_color":"F58220"},{"name":"\u0414\u043e\u0441\u0442\u043e\u0435\u0432\u0441\u043a\u0430\u044f","hex_color":"F58220"},{"name":"\u041b\u0438\u0433\u043e\u0432\u0441\u043a\u0438\u0439 \u043f\u0440\u043e\u0441\u043f\u0435\u043a\u0442","hex_color":"F58220"},{"name":"\u041f\u043b\u043e\u0449\u0430\u0434\u044c \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440\u0430 \u041d\u0435\u0432\u0441\u043a\u043e\u0433\u043e 2","hex_color":"F58220"},{"name":"\u041d\u043e\u0432\u043e\u0447\u0435\u0440\u043a\u0430\u0441\u0441\u043a\u0430\u044f","hex_color":"F58220"},{"name":"\u041b\u0430\u0434\u043e\u0436\u0441\u043a\u0430\u044f","hex_color":"F58220"},{"name":"\u041f\u0440\u043e\u0441\u043f\u0435\u043a\u0442 \u0411\u043e\u043b\u044c\u0448\u0435\u0432\u0438\u043a\u043e\u0432","hex_color":"F58220"},{"name":"\u0423\u043b\u0438\u0446\u0430 \u0414\u044b\u0431\u0435\u043d\u043a\u043e","hex_color":"F58220"},{"name":"\u0411\u0435\u0433\u043e\u0432\u0430\u044f","hex_color":"5EAD4C"},{"name":"\u041f\u0440\u0438\u043c\u043e\u0440\u0441\u043a\u0430\u044f","hex_color":"5EAD4C"},{"name":"\u0412\u0430\u0441\u0438\u043b\u0435\u043e\u0441\u0442\u0440\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"5EAD4C"},{"name":"\u0413\u043e\u0441\u0442\u0438\u043d\u044b\u0439 \u0434\u0432\u043e\u0440","hex_color":"5EAD4C"},{"name":"\u041c\u0430\u044f\u043a\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"5EAD4C"},{"name":"\u041f\u043b\u043e\u0449\u0430\u0434\u044c \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440\u0430 \u041d\u0435\u0432\u0441\u043a\u043e\u0433\u043e 1","hex_color":"5EAD4C"},{"name":"\u0415\u043b\u0438\u0437\u0430\u0440\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"5EAD4C"},{"name":"\u041b\u043e\u043c\u043e\u043d\u043e\u0441\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"5EAD4C"},{"name":"\u041f\u0440\u043e\u043b\u0435\u0442\u0430\u0440\u0441\u043a\u0430\u044f","hex_color":"5EAD4C"},{"name":"\u041e\u0431\u0443\u0445\u043e\u0432\u043e","hex_color":"5EAD4C"},{"name":"\u0420\u044b\u0431\u0430\u0446\u043a\u043e\u0435","hex_color":"5EAD4C"},{"name":"\u0417\u0435\u043d\u0438\u0442","hex_color":"5EAD4C"},{"name":"\u041f\u0430\u0440\u043d\u0430\u0441","hex_color":"0F7AC1"},{"name":"\u041f\u0440\u043e\u0441\u043f\u0435\u043a\u0442 \u041f\u0440\u043e\u0441\u0432\u0435\u0449\u0435\u043d\u0438\u044f","hex_color":"0F7AC1"},{"name":"\u041e\u0437\u0435\u0440\u043a\u0438","hex_color":"0F7AC1"},{"name":"\u0423\u0434\u0435\u043b\u044c\u043d\u0430\u044f","hex_color":"0F7AC1"},{"name":"\u041f\u0438\u043e\u043d\u0435\u0440\u0441\u043a\u0430\u044f","hex_color":"0F7AC1"},{"name":"\u0427\u0435\u0440\u043d\u0430\u044f \u0420\u0435\u0447\u043a\u0430","hex_color":"0F7AC1"},{"name":"\u041f\u0435\u0442\u0440\u043e\u0433\u0440\u0430\u0434\u0441\u043a\u0430\u044f","hex_color":"0F7AC1"},{"name":"\u0413\u043e\u0440\u044c\u043a\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"0F7AC1"},{"name":"\u041d\u0435\u0432\u0441\u043a\u0438\u0439 \u043f\u0440\u043e\u0441\u043f\u0435\u043a\u0442","hex_color":"0F7AC1"},{"name":"\u0421\u0435\u043d\u043d\u0430\u044f \u043f\u043b\u043e\u0449\u0430\u0434\u044c","hex_color":"0F7AC1"},{"name":"\u0422\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0438\u043d\u0441\u0442\u0438\u0442\u0443\u0442 2","hex_color":"0F7AC1"},{"name":"\u0424\u0440\u0443\u043d\u0437\u0435\u043d\u0441\u043a\u0430\u044f","hex_color":"0F7AC1"},{"name":"\u041c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u0438\u0435 \u0432\u043e\u0440\u043e\u0442\u0430","hex_color":"0F7AC1"},{"name":"\u042d\u043b\u0435\u043a\u0442\u0440\u043e\u0441\u0438\u043b\u0430","hex_color":"0F7AC1"},{"name":"\u041f\u0430\u0440\u043a \u041f\u043e\u0431\u0435\u0434\u044b","hex_color":"0F7AC1"},{"name":"\u041c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"0F7AC1"},{"name":"\u0417\u0432\u0435\u0437\u0434\u043d\u0430\u044f","hex_color":"0F7AC1"},{"name":"\u041a\u0443\u043f\u0447\u0438\u043d\u043e","hex_color":"0F7AC1"},{"name":"\u0414\u0435\u0432\u044f\u0442\u043a\u0438\u043d\u043e","hex_color":"DB1F26"},{"name":"\u0413\u0440\u0430\u0436\u0434\u0430\u043d\u0441\u043a\u0438\u0439 \u043f\u0440\u043e\u0441\u043f\u0435\u043a\u0442","hex_color":"DB1F26"},{"name":"\u0410\u043a\u0430\u0434\u0435\u043c\u0438\u0447\u0435\u0441\u043a\u0430\u044f","hex_color":"DB1F26"},{"name":"\u041f\u043e\u043b\u0438\u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0430\u044f","hex_color":"DB1F26"},{"name":"\u041f\u043b\u043e\u0449\u0430\u0434\u044c \u041c\u0443\u0436\u0435\u0441\u0442\u0432\u0430","hex_color":"DB1F26"},{"name":"\u041b\u0435\u0441\u043d\u0430\u044f","hex_color":"DB1F26"},{"name":"\u0412\u044b\u0431\u043e\u0440\u0433\u0441\u043a\u0430\u044f","hex_color":"DB1F26"},{"name":"\u041f\u043b\u043e\u0449\u0430\u0434\u044c \u041b\u0435\u043d\u0438\u043d\u0430","hex_color":"DB1F26"},{"name":"\u0427\u0435\u0440\u043d\u044b\u0448\u0435\u0432\u0441\u043a\u0430\u044f","hex_color":"DB1F26"},{"name":"\u041f\u043b\u043e\u0449\u0430\u0434\u044c \u0412\u043e\u0441\u0441\u0442\u0430\u043d\u0438\u044f","hex_color":"DB1F26"},{"name":"\u0412\u043b\u0430\u0434\u0438\u043c\u0438\u0440\u0441\u043a\u0430\u044f","hex_color":"DB1F26"},{"name":"\u041f\u0443\u0448\u043a\u0438\u043d\u0441\u043a\u0430\u044f","hex_color":"DB1F26"},{"name":"\u0422\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0438\u043d\u0441\u0442\u0438\u0442\u0443\u0442","hex_color":"DB1F26"},{"name":"\u0411\u0430\u043b\u0442\u0438\u0439\u0441\u043a\u0430\u044f","hex_color":"DB1F26"},{"name":"\u041d\u0430\u0440\u0432\u0441\u043a\u0430\u044f","hex_color":"DB1F26"},{"name":"\u041a\u0438\u0440\u043e\u0432\u0441\u043a\u0438\u0439 \u0437\u0430\u0432\u043e\u0434","hex_color":"DB1F26"},{"name":"\u0410\u0432\u0442\u043e\u0432\u043e","hex_color":"DB1F26"},{"name":"\u041b\u0435\u043d\u0438\u043d\u0441\u043a\u0438\u0439 \u043f\u0440\u043e\u0441\u043f\u0435\u043a\u0442","hex_color":"DB1F26"},{"name":"\u041f\u0440\u043e\u0441\u043f\u0435\u043a\u0442 \u0412\u0435\u0442\u0435\u0440\u0430\u043d\u043e\u0432","hex_color":"DB1F26"}]},{"id":"66","name":"\u0415\u043a\u0430\u0442\u0435\u0440\u0438\u043d\u0431\u0443\u0440\u0433","stations":[{"name":"\u041f\u0440\u043e\u0441\u043f\u0435\u043a\u0442 \u041a\u043e\u0441\u043c\u043e\u043d\u0430\u0432\u0442\u043e\u0432","hex_color":"0A6F20"},{"name":"\u0423\u0440\u0430\u043b\u043c\u0430\u0448","hex_color":"0A6F20"},{"name":"\u041c\u0430\u0448\u0438\u043d\u043e\u0441\u0442\u0440\u043e\u0438\u0442\u0435\u043b\u0435\u0439","hex_color":"0A6F20"},{"name":"\u0423\u0440\u0430\u043b\u044c\u0441\u043a\u0430\u044f","hex_color":"0A6F20"},{"name":"\u0414\u0438\u043d\u0430\u043c\u043e","hex_color":"0A6F20"},{"name":"\u041f\u043b\u043e\u0449\u0430\u0434\u044c 1905 \u0433\u043e\u0434\u0430","hex_color":"0A6F20"},{"name":"\u0413\u0435\u043e\u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0430\u044f","hex_color":"0A6F20"},{"name":"\u0427\u043a\u0430\u043b\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"0A6F20"},{"name":"\u0411\u043e\u0442\u0430\u043d\u0438\u0447\u0435\u0441\u043a\u0430\u044f","hex_color":"0A6F20"}]},{"id":"16","name":"\u041a\u0430\u0437\u0430\u043d\u044c","stations":[{"name":"\u0410\u0432\u0438\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f","hex_color":"CD0505"},{"name":"\u0421\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u0432\u043e\u043a\u0437\u0430\u043b","hex_color":"CD0505"},{"name":"\u042f\u0448\u044c\u043b\u0435\u043a (\u042e\u043d\u043e\u0441\u0442\u044c)","hex_color":"CD0505"},{"name":"\u041a\u043e\u0437\u044c\u044f \u0441\u043b\u043e\u0431\u043e\u0434\u0430","hex_color":"CD0505"},{"name":"\u041a\u0440\u0435\u043c\u043b\u0435\u0432\u0441\u043a\u0430\u044f","hex_color":"CD0505"},{"name":"\u041f\u043b\u043e\u0449\u0430\u0434\u044c \u0422\u0443\u043a\u0430\u044f","hex_color":"CD0505"},{"name":"\u0421\u0443\u043a\u043e\u043d\u043d\u0430\u044f \u0441\u043b\u043e\u0431\u043e\u0434\u0430","hex_color":"CD0505"},{"name":"\u0410\u043c\u0435\u0442\u044c\u0435\u0432\u043e","hex_color":"CD0505"},{"name":"\u0413\u043e\u0440\u043a\u0438","hex_color":"CD0505"},{"name":"\u041f\u0440\u043e\u0441\u043f\u0435\u043a\u0442 \u041f\u043e\u0431\u0435\u0434\u044b","hex_color":"CD0505"},{"name":"\u0414\u0443\u0431\u0440\u0430\u0432\u043d\u0430\u044f","hex_color":"CD0505"}]},{"id":"52","name":"\u041d\u0438\u0436\u043d\u0438\u0439 \u041d\u043e\u0432\u0433\u043e\u0440\u043e\u0434","stations":[{"name":"\u0421\u0442\u0440\u0435\u043b\u043a\u0430","hex_color":"0071BC"},{"name":"\u041c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u0430\u044f 2","hex_color":"0071BC"},{"name":"\u041a\u0430\u043d\u0430\u0432\u0438\u043d\u0441\u043a\u0430\u044f","hex_color":"0071BC"},{"name":"\u0411\u0443\u0440\u043d\u0430\u043a\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"0071BC"},{"name":"\u0411\u0443\u0440\u0435\u0432\u0435\u0441\u0442\u043d\u0438\u043a","hex_color":"0071BC"},{"name":"\u0413\u043e\u0440\u044c\u043a\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"D80707"},{"name":"\u041c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"D80707"},{"name":"\u0427\u043a\u0430\u043b\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"D80707"},{"name":"\u041b\u0435\u043d\u0438\u043d\u0441\u043a\u0430\u044f","hex_color":"D80707"},{"name":"\u0417\u0430\u0440\u0435\u0447\u043d\u0430\u044f","hex_color":"D80707"},{"name":"\u0414\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044c \u0420\u0435\u0432\u043e\u043b\u044e\u0446\u0438\u0438","hex_color":"D80707"},{"name":"\u041f\u0440\u043e\u043b\u0435\u0442\u0430\u0440\u0441\u043a\u0430\u044f","hex_color":"D80707"},{"name":"\u0410\u0432\u0442\u043e\u0437\u0430\u0432\u043e\u0434\u0441\u043a\u0430\u044f","hex_color":"D80707"},{"name":"\u041a\u043e\u043c\u0441\u043e\u043c\u043e\u043b\u044c\u0441\u043a\u0430\u044f","hex_color":"D80707"},{"name":"\u041a\u0438\u0440\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"D80707"},{"name":"\u041f\u0430\u0440\u043a \u041a\u0443\u043b\u044c\u0442\u0443\u0440\u044b","hex_color":"D80707"}]},{"id":"54","name":"\u041d\u043e\u0432\u043e\u0441\u0438\u0431\u0438\u0440\u0441\u043a","stations":[{"name":"\u041f\u043b\u043e\u0449\u0430\u0434\u044c \u0413\u0430\u0440\u0438\u043d\u0430-\u041c\u0438\u0445\u0430\u0439\u043b\u043e\u0432\u0441\u043a\u043e\u0433\u043e","hex_color":"0A6F20"},{"name":"\u0421\u0438\u0431\u0438\u0440\u0441\u043a\u0430\u044f","hex_color":"0A6F20"},{"name":"\u041c\u0430\u0440\u0448\u0430\u043b\u0430 \u041f\u043e\u043a\u0440\u044b\u0448\u043a\u0438\u043d\u0430","hex_color":"0A6F20"},{"name":"\u0411\u0435\u0440\u0435\u0437\u043e\u0432\u0430\u044f \u0440\u043e\u0449\u0430","hex_color":"0A6F20"},{"name":"\u0417\u043e\u043b\u043e\u0442\u0430\u044f \u043d\u0438\u0432\u0430","hex_color":"0A6F20"},{"name":"\u0417\u0430\u0435\u043b\u044c\u0446\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"CD0505"},{"name":"\u0413\u0430\u0433\u0430\u0440\u0438\u043d\u0441\u043a\u0430\u044f","hex_color":"CD0505"},{"name":"\u041a\u0440\u0430\u0441\u043d\u044b\u0439 \u043f\u0440\u043e\u0441\u043f\u0435\u043a\u0442","hex_color":"CD0505"},{"name":"\u041f\u043b\u043e\u0449\u0430\u0434\u044c \u041b\u0435\u043d\u0438\u043d\u0430","hex_color":"CD0505"},{"name":"\u041e\u043a\u0442\u044f\u0431\u0440\u044c\u0441\u043a\u0430\u044f","hex_color":"CD0505"},{"name":"\u0420\u0435\u0447\u043d\u043e\u0439 \u0432\u043e\u043a\u0437\u0430\u043b","hex_color":"CD0505"},{"name":"\u0421\u0442\u0443\u0434\u0435\u043d\u0447\u0435\u0441\u043a\u0430\u044f","hex_color":"CD0505"},{"name":"\u043f\u043b\u043e\u0449\u0430\u0434\u044c \u041a\u0430\u0440\u043b\u0430 \u041c\u0430\u0440\u043a\u0441\u0430","hex_color":"CD0505"}]},{"id":"63","name":"\u0421\u0430\u043c\u0430\u0440\u0430","stations":[{"name":"\u0410\u043b\u0430\u0431\u0438\u043d\u0441\u043a\u0430\u044f","hex_color":"CD0505"},{"name":"\u0420\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0430\u044f","hex_color":"CD0505"},{"name":"\u041c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"CD0505"},{"name":"\u0413\u0430\u0433\u0430\u0440\u0438\u043d\u0441\u043a\u0430\u044f","hex_color":"CD0505"},{"name":"\u0421\u043f\u043e\u0440\u0442\u0438\u0432\u043d\u0430\u044f","hex_color":"CD0505"},{"name":"\u0421\u043e\u0432\u0435\u0442\u0441\u043a\u0430\u044f","hex_color":"CD0505"},{"name":"\u041f\u043e\u0431\u0435\u0434\u0430","hex_color":"CD0505"},{"name":"\u0411\u0435\u0437\u044b\u043c\u044f\u043d\u043a\u0430","hex_color":"CD0505"},{"name":"\u041a\u0438\u0440\u043e\u0432\u0441\u043a\u0430\u044f","hex_color":"CD0505"},{"name":"\u042e\u043d\u0433\u043e\u0440\u043e\u0434\u043e\u043a","hex_color":"CD0505"}]}]')},"9b/N":function(e,t,n){"use strict";n.d(t,"a",function(){return u}),n.d(t,"b",function(){return c}),n.d(t,"c",function(){return d});var r=n("8LU1"),i=n("8Y7J"),o=n("HDdC"),s=n("XNiG"),a=n("Kj3r");let l=(()=>{class e{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:"root"}),e})(),c=(()=>{class e{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=Object(r.d)(e);return new o.a(e=>{const n=this._observeElement(t).subscribe(e);return()=>{n.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new s.a,n=this._mutationObserverFactory.create(e=>t.next(e));n&&n.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:n,stream:t,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:t,stream:n}=this._observedElements.get(e);t&&t.disconnect(),n.complete(),this._observedElements.delete(e)}}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](l))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(l))},token:e,providedIn:"root"}),e})(),u=(()=>{class e{constructor(e,t,n){this._contentObserver=e,this._elementRef=t,this._ngZone=n,this.event=new i.EventEmitter,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=Object(r.b)(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Object(r.e)(e),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(Object(a.a)(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](c),i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](i.NgZone))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),e})(),d=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({providers:[l]}),e})()},"9gLZ":function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return s});var r=n("8Y7J"),i=n("SVse");const o=new r.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(r.inject)(i.d)}});let s=(()=>{class e{constructor(e){if(this.value="ltr",this.change=new r.EventEmitter,e){const t=e.documentElement?e.documentElement.dir:null,n=(e.body?e.body.dir:null)||t;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](o,8))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(o,8))},token:e,providedIn:"root"}),e})(),a=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({}),e})()},"9ppp":function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})()},"B+Cw":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("6rF9"),i=n("8Y7J");let o=(()=>{class e{transform(e,t){const n=Object(r.b)(t);return e<1e6?`${Number((e/1e3).toFixed(1)).toString().replace(".",",")} \u0442\u044b\u0441 ${n}`:`${Number((e/1e6).toFixed(1)).toString().replace(".",",")} \u043c\u043b\u043d ${n}`}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i["\u0275\u0275definePipe"]({name:"shortNoteMillions",type:e,pure:!0}),e})()},Cfvw:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var r=n("HDdC"),i=n("SeVD"),o=n("quSY"),s=n("kJWO"),a=n("jZKg"),l=n("Lhse"),c=n("c2HN"),u=n("I55L");function d(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[s.a]}(e))return function(e,t){return new r.a(n=>{const r=new o.a;return r.add(t.schedule(()=>{const i=e[s.a]();r.add(i.subscribe({next(e){r.add(t.schedule(()=>n.next(e)))},error(e){r.add(t.schedule(()=>n.error(e)))},complete(){r.add(t.schedule(()=>n.complete()))}}))})),r})}(e,t);if(Object(c.a)(e))return function(e,t){return new r.a(n=>{const r=new o.a;return r.add(t.schedule(()=>e.then(e=>{r.add(t.schedule(()=>{n.next(e),r.add(t.schedule(()=>n.complete()))}))},e=>{r.add(t.schedule(()=>n.error(e)))}))),r})}(e,t);if(Object(u.a)(e))return Object(a.a)(e,t);if(function(e){return e&&"function"==typeof e[l.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new r.a(n=>{const r=new o.a;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(t.schedule(()=>{i=e[l.a](),r.add(t.schedule(function(){if(n.closed)return;let e,t;try{const n=i.next();e=n.value,t=n.done}catch(r){return void n.error(r)}t?n.complete():(n.next(e),this.schedule())}))})),r})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof r.a?e:new r.a(Object(i.a)(e))}},CtHx:function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return u}),n.d(t,"c",function(){return d}),n.d(t,"d",function(){return c}),n.d(t,"e",function(){return h}),n.d(t,"f",function(){return a});var r=n("7+OI"),i=n("LRne"),o=n("XNiG"),s=n("8Y7J");function a(e){return e&&"function"==typeof e.connect}class l extends class{}{constructor(e){super(),this._data=e}connect(){return Object(r.a)(this._data)?this._data:Object(i.a)(this._data)}disconnect(){}}class c{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(e,t,n,r,i){e.forEachOperation((e,o,s)=>{let a,l;null==e.previousIndex?(a=this._insertView(()=>n(e,o,s),s,t,r(e)),l=a?1:0):null==s?(this._detachAndCacheView(o,t),l=3):(a=this._moveView(o,s,t,r(e)),l=2),i&&i({context:null==a?void 0:a.context,operation:l,record:e})})}detach(){for(const e of this._viewCache)e.destroy();this._viewCache=[]}_insertView(e,t,n,r){const i=this._insertViewFromCache(t,n);if(i)return void(i.context.$implicit=r);const o=e();return n.createEmbeddedView(o.templateRef,o.context,o.index)}_detachAndCacheView(e,t){const n=t.detach(e);this._maybeCacheView(n,t)}_moveView(e,t,n,r){const i=n.get(e);return n.move(i,t),i.context.$implicit=r,i}_maybeCacheView(e,t){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(e);else{const n=t.indexOf(e);-1===n?e.destroy():t.remove(n)}}_insertViewFromCache(e,t){const n=this._viewCache.pop();return n&&t.insert(n,e),n||null}}class u{constructor(e=!1,t,n=!0){this._multiple=e,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new o.a,t&&t.length&&(e?t.forEach(e=>this._markSelected(e)):this._markSelected(t[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...e){this._verifyValueAssignment(e),e.forEach(e=>this._markSelected(e)),this._emitChangeEvent()}deselect(...e){this._verifyValueAssignment(e),e.forEach(e=>this._unmarkSelected(e)),this._emitChangeEvent()}toggle(e){this.isSelected(e)?this.deselect(e):this.select(e)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(e){return this._selection.has(e)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}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(e){this.isSelected(e)||(this._multiple||this._unmarkAll(),this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){}}let d=(()=>{class e{constructor(){this._listeners=[]}notify(e,t){for(let n of this._listeners)n(e,t)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(t=>e!==t)}}ngOnDestroy(){this._listeners=[]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(s["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:"root"}),e})();const h=new s.InjectionToken("_ViewRepeater")},D0XW:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("3N8a");const i=new(n("IjjT").a)(r.a)},DH7j:function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))()},EQ5u:function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return l});var r=n("XNiG"),i=n("HDdC"),o=(n("7o/Q"),n("quSY")),s=n("x+ZX");class a extends i.a{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new o.a,e.add(this.source.subscribe(new c(this.getSubject(),this))),e.closed&&(this._connection=null,e=o.a.EMPTY)),e}refCount(){return Object(s.a)()(this)}}const l=(()=>{const e=a.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class c extends r.b{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}},EY2u:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return o});var r=n("HDdC");const i=new r.a(e=>e.complete());function o(e){return e?function(e){return new r.a(t=>e.schedule(()=>t.complete()))}(e):i}},FpO7:function(e,t,n){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(3);Object.defineProperty(t,"conformToMask",{enumerable:!0,get:function(){return r(i).default}});var o=n(2);Object.defineProperty(t,"adjustCaretPosition",{enumerable:!0,get:function(){return r(o).default}});var s=n(5);Object.defineProperty(t,"createTextMaskInputElement",{enumerable:!0,get:function(){return r(s).default}})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.placeholderChar="_",t.strFunction="function"},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.previousConformedValue,i=void 0===t?r:t,o=e.previousPlaceholder,s=void 0===o?r:o,a=e.currentCaretPosition,l=void 0===a?0:a,c=e.conformedValue,u=e.rawValue,d=e.placeholderChar,h=e.placeholder,p=e.indexesOfPipedChars,f=void 0===p?n:p,m=e.caretTrapIndexes,g=void 0===m?n:m;if(0===l||!u.length)return 0;var _=i.length,b=h.length,v=c.length,y=u.length-_,w=y>0;if(y>1&&!w&&0!==_)return l;var x=0,C=void 0,O=void 0;if(!w||i!==c&&c!==h){var S=c.toLowerCase(),k=u.toLowerCase().substr(0,l).split(r).filter(function(e){return-1!==S.indexOf(e)});O=k[k.length-1];var E=s.substr(0,k.length).split(r).filter(function(e){return e!==d}).length,I=h.substr(0,k.length).split(r).filter(function(e){return e!==d}).length;!w&&(I!==E||void 0!==s[k.length-1]&&void 0!==h[k.length-2]&&s[k.length-1]!==d&&s[k.length-1]!==h[k.length-1]&&s[k.length-1]===h[k.length-2])&&E>0&&h.indexOf(O)>-1&&void 0!==u[l]&&(C=!0,O=u[l]);for(var P=f.map(function(e){return S[e]}).filter(function(e){return e===O}).length,j=k.filter(function(e){return e===O}).length,M=h.substr(0,h.indexOf(d)).split(r).filter(function(e,t){return e===O&&u[t]!==e}).length+j+P+(C?1:0),R=0,A=0;A<v&&(x=A+1,S[A]===O&&R++,!(R>=M));A++);}else x=l-y;if(w){for(var T=x,D=x;D<=b;D++)if(h[D]===d&&(T=D),h[D]===d||-1!==g.indexOf(D)||D===b)return T}else if(C){for(var F=x-1;F>=0;F--)if(c[F]===O||-1!==g.indexOf(F)||0===F)return F}else for(var L=x;L>=0;L--)if(h[L-1]===d||-1!==g.indexOf(L)||0===L)return L};var n=[],r=""},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(0,i.isArray)(t)){if((void 0===t?"undefined":r(t))!==o.strFunction)throw new Error("Text-mask:conformToMask; The mask property must be an array.");t=t(e,n),t=(0,i.processCaretTraps)(t).maskWithoutCaretTraps}var l=n.guide,c=void 0===l||l,u=n.previousConformedValue,d=void 0===u?a:u,h=n.placeholderChar,p=void 0===h?o.placeholderChar:h,f=n.placeholder,m=void 0===f?(0,i.convertMaskToPlaceholder)(t,p):f,g=n.keepCharPositions,_=!1===c&&void 0!==d,b=e.length,v=d.length,y=m.length,w=t.length,x=b-v,C=x>0,O=n.currentCaretPosition+(C?-x:0),S=O+Math.abs(x);if(!0===g&&!C){for(var k=a,E=O;E<S;E++)m[E]===p&&(k+=p);e=e.slice(0,O)+k+e.slice(O,b)}for(var I=e.split(a).map(function(e,t){return{char:e,isNew:t>=O&&t<S}}),P=b-1;P>=0;P--){var j=I[P].char;j!==p&&j===m[P>=O&&v===w?P-x:P]&&I.splice(P,1)}var M=a,R=!1;e:for(var A=0;A<y;A++){var T=m[A];if(T===p){if(I.length>0)for(;I.length>0;){var D=I.shift(),F=D.char,L=D.isNew;if(F===p&&!0!==_){M+=p;continue e}if(t[A].test(F)){if(!0===g&&!1!==L&&d!==a&&!1!==c&&C){for(var N=I.length,V=null,B=0;B<N;B++){var z=I[B];if(z.char!==p&&!1===z.isNew)break;if(z.char===p){V=B;break}}null!==V?(M+=F,I.splice(V,1)):A--}else M+=F;continue e}R=!0}!1===_&&(M+=m.substr(A,y));break}M+=T}if(_&&!1===C){for(var H=null,U=0;U<M.length;U++)m[U]===p&&(H=U);M=null!==H?M.substr(0,H+1):a}return{conformedValue:M,meta:{someCharsRejected:R}}};var i=n(4),o=n(1),s=[],a=""},function(e,t,n){"use strict";function r(e){return Array.isArray&&Array.isArray(e)||e instanceof Array}Object.defineProperty(t,"__esModule",{value:!0}),t.convertMaskToPlaceholder=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.placeholderChar;if(!r(e))throw new Error("Text-mask:convertMaskToPlaceholder; The mask property must be an array.");if(-1!==e.indexOf(t))throw new Error("Placeholder character must not be used as part of the mask. Please specify a character that is not present in your mask as your placeholder character.\n\nThe placeholder character that was received is: "+JSON.stringify(t)+"\n\nThe mask that was received is: "+JSON.stringify(e));return e.map(function(e){return e instanceof RegExp?t:e}).join("")},t.isArray=r,t.isString=function(e){return"string"==typeof e||e instanceof String},t.isNumber=function(e){return"number"==typeof e&&void 0===e.length&&!isNaN(e)},t.isNil=function(e){return null==e},t.processCaretTraps=function(e){for(var t=[],n=void 0;-1!==(n=e.indexOf(s));)t.push(n),e.splice(n,1);return{maskWithoutCaretTraps:e,indexes:t}};var i=n(1),o=[],s="[]"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){document.activeElement===e&&(m?g(function(){return e.setSelectionRange(t,t,p)},0):e.setSelectionRange(t,t,p))}function o(e){if((0,u.isString)(e))return e;if((0,u.isNumber)(e))return String(e);if(null==e)return h;throw new Error("The 'value' provided to Text Mask needs to be a string or a number. The value received was:\n\n "+JSON.stringify(e))}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){var t={previousConformedValue:void 0,previousPlaceholder:void 0};return{state:t,update:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,p=r.inputElement,m=r.mask,g=r.guide,_=r.pipe,b=r.placeholderChar,v=void 0===b?d.placeholderChar:b,y=r.keepCharPositions,w=void 0!==y&&y,x=r.showMask,C=void 0!==x&&x;if(void 0===n&&(n=p.value),n!==t.previousConformedValue){(void 0===m?"undefined":a(m))===f&&void 0!==m.pipe&&void 0!==m.mask&&(_=m.pipe,m=m.mask);var O=void 0,S=void 0;if(m instanceof Array&&(O=(0,u.convertMaskToPlaceholder)(m,v)),!1!==m){var k=o(n),E=p.selectionEnd,I=t.previousConformedValue,P=t.previousPlaceholder,j=void 0;if((void 0===m?"undefined":a(m))===d.strFunction){if(!1===(S=m(k,{currentCaretPosition:E,previousConformedValue:I,placeholderChar:v})))return;var M=(0,u.processCaretTraps)(S);j=M.indexes,O=(0,u.convertMaskToPlaceholder)(S=M.maskWithoutCaretTraps,v)}else S=m;var R={previousConformedValue:I,guide:g,placeholderChar:v,pipe:_,placeholder:O,currentCaretPosition:E,keepCharPositions:w},A=(0,c.default)(k,S,R).conformedValue,T=(void 0===_?"undefined":a(_))===d.strFunction,D={};T&&(!1===(D=_(A,s({rawValue:k},R)))?D={value:I,rejected:!0}:(0,u.isString)(D)&&(D={value:D}));var F=T?D.value:A,L=(0,l.default)({previousConformedValue:I,previousPlaceholder:P,conformedValue:F,placeholder:O,rawValue:k,currentCaretPosition:E,placeholderChar:v,indexesOfPipedChars:D.indexesOfPipedChars,caretTrapIndexes:j}),N=F===O&&0===L?C?O:h:F;t.previousConformedValue=N,t.previousPlaceholder=O,p.value!==N&&(p.value=N,i(p,L))}}}}};var l=r(n(2)),c=r(n(3)),u=n(4),d=n(1),h="",p="none",f="object",m="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),g="undefined"!=typeof requestAnimationFrame?requestAnimationFrame:setTimeout}])},GS7A:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return r}),n.d(t,"c",function(){return i}),n.d(t,"d",function(){return m}),n.d(t,"e",function(){return a}),n.d(t,"f",function(){return h}),n.d(t,"g",function(){return p}),n.d(t,"h",function(){return l}),n.d(t,"i",function(){return u}),n.d(t,"j",function(){return c}),n.d(t,"k",function(){return d}),n.d(t,"l",function(){return s}),n.d(t,"m",function(){return g}),n.d(t,"n",function(){return _});class r{}class i{}const o="*";function s(e,t){return{type:7,name:e,definitions:t,options:{}}}function a(e,t=null){return{type:4,styles:t,timings:e}}function l(e,t=null){return{type:2,steps:e,options:t}}function c(e){return{type:6,styles:e,offset:null}}function u(e,t,n){return{type:0,name:e,styles:t,options:n}}function d(e,t,n=null){return{type:1,expr:e,animation:t,options:n}}function h(e=null){return{type:9,options:e}}function p(e,t,n=null){return{type:11,selector:e,animation:t,options:n}}function f(e){Promise.resolve(null).then(e)}class m{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){f(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class g{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,n=0,r=0;const i=this.players.length;0==i?f(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==i&&this._onFinish()}),e.onDestroy(()=>{++n==i&&this._onDestroy()}),e.onStart(()=>{++r==i&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(e=>{const n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}getPosition(){const e=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}const _="!"},GyhO:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("LRne"),i=n("bHdf");function o(...e){return Object(i.a)(1)(Object(r.a)(...e))}},HDdC:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n("7o/Q"),i=n("2QA8"),o=n("gRHU"),s=n("kJWO"),a=n("SpAZ"),l=n("2fFW");let c=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:s}=this,a=function(e,t,n){if(e){if(e instanceof r.a)return e;if(e[i.a])return e[i.a]()}return e||t||n?new r.a(e,t,n):new r.a(o.a)}(e,t,n);if(a.add(s?s.call(a,this.source):this.source||l.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),l.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(e){try{return this._subscribe(e)}catch(t){l.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:i}=e;if(t||i)return!1;e=n&&n instanceof r.a?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=u(t))((t,n)=>{let r;r=this.subscribe(t=>{try{e(t)}catch(i){n(i),r&&r.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[s.a](){return this}pipe(...e){return 0===e.length?this:(0===(t=e).length?a.a:1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)})(this);var t}toPromise(e){return new(e=u(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function u(e){if(e||(e=l.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},"Ht+U":function(e,t,n){"use strict";n.d(t,"a",function(){return _}),n.d(t,"b",function(){return f}),n.d(t,"c",function(){return c}),n.d(t,"d",function(){return i}),n.d(t,"e",function(){return o}),n.d(t,"f",function(){return u}),n.d(t,"g",function(){return d}),n.d(t,"h",function(){return g}),n.d(t,"i",function(){return l}),n.d(t,"j",function(){return a}),n.d(t,"k",function(){return p}),n.d(t,"l",function(){return s}),n.d(t,"m",function(){return r}),n.d(t,"n",function(){return h}),n.d(t,"o",function(){return b}),n.d(t,"p",function(){return m}),n.d(t,"q",function(){return v});const r=9,i=13,o=27,s=32,a=33,l=34,c=35,u=36,d=37,h=38,p=39,f=40,m=48,g=57,_=65,b=90;function v(e,...t){return t.length?t.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}},I55L:function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r=e=>e&&"number"==typeof e.length&&"function"!=typeof e},IheW:function(e,t,n){"use strict";n.d(t,"a",function(){return k}),n.d(t,"b",function(){return z});var r=n("8Y7J"),i=n("LRne"),o=n("HDdC"),s=n("bOdf"),a=n("pLZG"),l=n("lJxs"),c=n("SVse");class u{}class d{}class h{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const n=e.slice(0,t),r=n.toLowerCase(),i=e.slice(t+1).trim();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(i):this.headers.set(r,[i])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let n=e[t];const r=t.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(t,r))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof h?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new h;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof h?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);const r=("a"===e.op?this.headers.get(t):void 0)||[];r.push(...n),this.headers.set(t,r);break;case"d":const i=e.value;if(i){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===i.indexOf(e)),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class p{encodeKey(e){return f(e)}encodeValue(e){return f(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function f(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class m{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new p,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(e=>{const r=e.indexOf("="),[i,o]=-1==r?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,r)),t.decodeValue(e.slice(r+1))],s=n.get(i)||[];s.push(o),n.set(i,s)}),n}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const n=e.fromObject[t];this.map.set(t,Array.isArray(n)?n:[n])})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){const t=[];return Object.keys(e).forEach(n=>{const r=e[n];Array.isArray(r)?r.forEach(e=>{t.push({param:n,value:e,op:"a"})}):t.push({param:n,value:r,op:"a"})}),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(e=>t+"="+this.encoder.encodeValue(e)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new m({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(e.value),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const n=t.indexOf(e.value);-1!==n&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}function g(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function _(e){return"undefined"!=typeof Blob&&e instanceof Blob}function b(e){return"undefined"!=typeof FormData&&e instanceof FormData}class v{constructor(e,t,n,r){let i;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new h),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const n=t.indexOf("?");this.urlWithParams=t+(-1===n?"?":n<t.length-1?"&":"")+e}}else this.params=new m,this.urlWithParams=t}serializeBody(){return null===this.body?null:g(this.body)||_(this.body)||b(this.body)||"string"==typeof this.body?this.body:this.body instanceof m?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||b(this.body)?null:_(this.body)?this.body.type||null:g(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof m?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(e={}){const t=e.method||this.method,n=e.url||this.url,r=e.responseType||this.responseType,i=void 0!==e.body?e.body:this.body,o=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,s=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let a=e.headers||this.headers,l=e.params||this.params;return void 0!==e.setHeaders&&(a=Object.keys(e.setHeaders).reduce((t,n)=>t.set(n,e.setHeaders[n]),a)),e.setParams&&(l=Object.keys(e.setParams).reduce((t,n)=>t.set(n,e.setParams[n]),l)),new v(t,n,i,{params:l,headers:a,reportProgress:s,responseType:r,withCredentials:o})}}var y=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({});class w{constructor(e,t=200,n="OK"){this.headers=e.headers||new h,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class x extends w{constructor(e={}){super(e),this.type=y.ResponseHeader}clone(e={}){return new x({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class C extends w{constructor(e={}){super(e),this.type=y.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new C({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class O extends w{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${e.url||"(unknown url)"}`:`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function S(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let k=(()=>{class e{constructor(e){this.handler=e}request(e,t,n={}){let r;if(e instanceof v)r=e;else{let i,o;i=n.headers instanceof h?n.headers:new h(n.headers),n.params&&(o=n.params instanceof m?n.params:new m({fromObject:n.params})),r=new v(e,t,void 0!==n.body?n.body:null,{headers:i,params:o,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const o=Object(i.a)(r).pipe(Object(s.a)(e=>this.handler.handle(e)));if(e instanceof v||"events"===n.observe)return o;const c=o.pipe(Object(a.a)(e=>e instanceof C));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return c.pipe(Object(l.a)(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return c.pipe(Object(l.a)(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return c.pipe(Object(l.a)(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return c.pipe(Object(l.a)(e=>e.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new m).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,n={}){return this.request("PATCH",e,S(n,t))}post(e,t,n={}){return this.request("POST",e,S(n,t))}put(e,t,n={}){return this.request("PUT",e,S(n,t))}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](u))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();class E{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const I=new r.InjectionToken("HTTP_INTERCEPTORS");let P=(()=>{class e{intercept(e,t){return t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();const j=/^\)\]\}',?\n/;class M{}let R=(()=>{class e{constructor(){}build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),A=(()=>{class e{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new o.a(t=>{const n=this.xhrFactory.build();if(n.open(e.method,e.urlWithParams),e.withCredentials&&(n.withCredentials=!0),e.headers.forEach((e,t)=>n.setRequestHeader(e,t.join(","))),e.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&n.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();n.responseType="json"!==t?t:"text"}const r=e.serializeBody();let i=null;const o=()=>{if(null!==i)return i;const t=1223===n.status?204:n.status,r=n.statusText||"OK",o=new h(n.getAllResponseHeaders()),s=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(n)||e.url;return i=new x({headers:o,status:t,statusText:r,url:s}),i},s=()=>{let{headers:r,status:i,statusText:s,url:a}=o(),l=null;204!==i&&(l=void 0===n.response?n.responseText:n.response),0===i&&(i=l?200:0);let c=i>=200&&i<300;if("json"===e.responseType&&"string"==typeof l){const e=l;l=l.replace(j,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=e,c&&(c=!1,l={error:u,text:l})}}c?(t.next(new C({body:l,headers:r,status:i,statusText:s,url:a||void 0})),t.complete()):t.error(new O({error:l,headers:r,status:i,statusText:s,url:a||void 0}))},a=e=>{const{url:r}=o(),i=new O({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});t.error(i)};let l=!1;const c=r=>{l||(t.next(o()),l=!0);let i={type:y.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(i.total=r.total),"text"===e.responseType&&n.responseText&&(i.partialText=n.responseText),t.next(i)},u=e=>{let n={type:y.UploadProgress,loaded:e.loaded};e.lengthComputable&&(n.total=e.total),t.next(n)};return n.addEventListener("load",s),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),e.reportProgress&&(n.addEventListener("progress",c),null!==r&&n.upload&&n.upload.addEventListener("progress",u)),n.send(r),t.next({type:y.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",s),n.removeEventListener("timeout",a),e.reportProgress&&(n.removeEventListener("progress",c),null!==r&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](M))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();const T=new r.InjectionToken("XSRF_COOKIE_NAME"),D=new r.InjectionToken("XSRF_HEADER_NAME");class F{}let L=(()=>{class e{constructor(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(c.z)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](c.d),r["\u0275\u0275inject"](r.PLATFORM_ID),r["\u0275\u0275inject"](T))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),N=(()=>{class e{constructor(e,t){this.tokenService=e,this.headerName=t}intercept(e,t){const n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);const r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](F),r["\u0275\u0275inject"](D))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),V=(()=>{class e{constructor(e,t){this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=this.injector.get(I,[]);this.chain=e.reduceRight((e,t)=>new E(e,t),this.backend)}return this.chain.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](d),r["\u0275\u0275inject"](r.Injector))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),B=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:N,useClass:P}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:T,useValue:t.cookieName}:[],t.headerName?{provide:D,useValue:t.headerName}:[]]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({providers:[N,{provide:I,useExisting:N,multi:!0},{provide:F,useClass:L},{provide:T,useValue:"XSRF-TOKEN"},{provide:D,useValue:"X-XSRF-TOKEN"}]}),e})(),z=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({providers:[k,{provide:u,useClass:V},A,{provide:d,useExisting:A},R,{provide:M,useExisting:R}],imports:[[B.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})()},IjjT:function(e,t,n){"use strict";n.d(t,"a",function(){return i});let r=(()=>{class e{constructor(t,n=e.now){this.SchedulerAction=t,this.now=n}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}return e.now=()=>Date.now(),e})();class i extends r{constructor(e,t=r.now){super(e,()=>i.delegate&&i.delegate!==this?i.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return i.delegate&&i.delegate!==this?i.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}},IzEk:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("7o/Q"),i=n("4I5i"),o=n("EY2u");function s(e){return t=>0===e?Object(o.b)():t.lift(new a(e))}class a{constructor(e){if(this.total=e,this.total<0)throw new i.a}call(e,t){return t.subscribe(new l(e,this.total))}}class l extends r.a{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}},JNcY:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("8Y7J");let i=(()=>{class e{transform(e,t){const n=new Date;return n>t?"\u0421\u0434\u0430\u043d":n>e?`\u0421\u0434\u0430\u043d - ${this.yearWithQuarter(t)}`:e<t?`${this.yearWithQuarter(e)} - ${this.yearWithQuarter(t)}`:`${this.yearWithQuarter(t)}`}yearWithQuarter(e){const t=e.getFullYear();return`${Math.floor((e.getMonth()+3)/3)} \u043a\u0432. ${t}`}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r["\u0275\u0275definePipe"]({name:"doneDate",type:e,pure:!0}),e})()},JUsA:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("SVse"),i=n("8Y7J");let o=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[[r.c]]}),e})()},JX91:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("GyhO"),i=n("z+Ro");function o(...e){const t=e[e.length-1];return Object(i.a)(t)?(e.pop(),n=>Object(r.a)(e,n,t)):t=>Object(r.a)(e,t)}},Kj3r:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("7o/Q"),i=n("D0XW");function o(e,t=i.a){return n=>n.lift(new s(e,t))}class s{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new a(e,this.dueTime,this.scheduler))}}class a extends r.a{constructor(e,t,n){super(e),this.dueTime=t,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(l,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:e}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}clearDebounce(){const e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}function l(e){e.debouncedNext()}},LE1F:function(e,t,n){"use strict";n.d(t,"a",function(){return h});var r=n("ey9i"),i=n("6rF9"),o=n("XNiG"),s=n("/uUt"),a=n("8Y7J"),l=n("SVse");function c(e,t){if(1&e&&(a["\u0275\u0275elementStart"](0,"div",2),a["\u0275\u0275text"](1),a["\u0275\u0275elementEnd"]()),2&e){const e=a["\u0275\u0275nextContext"]();a["\u0275\u0275advance"](1),a["\u0275\u0275textInterpolate1"](" ",e.errorDescription," ")}}const u=function(e,t){return{"cp-error-wrapper":e,"required-field":t}},d=["*"];let h=(()=>{class e extends r.a{constructor(e){super(),this.cd=e,this.labelClass="",this.dirtySubject=new o.a,this.errorsSubject=new o.a}get isControlDirty(){return!!this.control&&(this.dirtySubject.next(this.control.dirty),this.errorsSubject.next(this.control.errors),this.control.dirty)}get isControlValid(){return Object(i.g)(this.control)}get isRequired(){if(this.control&&this.control.validator){const e=this.control.validator({});return e&&(e.required||e.originalResult.required)}return!1}get errorDescription(){return Object(i.d)(this.control)}ngOnInit(){this.subs=[this.control.statusChanges.pipe(Object(s.a)()).subscribe(()=>this.cd.detectChanges()),this.dirtySubject.pipe(Object(s.a)()).subscribe(()=>this.cd.detectChanges()),this.errorsSubject.pipe(Object(s.a)()).subscribe(()=>this.cd.detectChanges())]}}return e.\u0275fac=function(t){return new(t||e)(a["\u0275\u0275directiveInject"](a.ChangeDetectorRef))},e.\u0275cmp=a["\u0275\u0275defineComponent"]({type:e,selectors:[["form-control-wrapper"]],hostVars:2,hostBindings:function(e,t){2&e&&a["\u0275\u0275classProp"]("dirty",t.isControlDirty)},inputs:{labelClass:"labelClass",control:"control"},features:[a["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:d,decls:3,vars:5,consts:[[3,"ngClass"],["class","cp-error cp-error_danger",4,"ngIf"],[1,"cp-error","cp-error_danger"]],template:function(e,t){1&e&&(a["\u0275\u0275projectionDef"](),a["\u0275\u0275elementStart"](0,"div",0),a["\u0275\u0275projection"](1),a["\u0275\u0275template"](2,c,2,1,"div",1),a["\u0275\u0275elementEnd"]()),2&e&&(a["\u0275\u0275property"]("ngClass",a["\u0275\u0275pureFunction2"](2,u,!t.isControlValid,t.isRequired)),a["\u0275\u0275advance"](2),a["\u0275\u0275property"]("ngIf",!t.isControlValid&&t.errorDescription))},directives:[l.k,l.m],styles:["[_nghost-%COMP%]{display:block;position:relative}"],changeDetection:0}),e})()},LRne:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("z+Ro"),i=n("yCtX"),o=n("jZKg");function s(...e){let t=e[e.length-1];return Object(r.a)(t)?(e.pop(),Object(o.a)(e,t)):Object(i.a)(e)}},Lhse:function(e,t,n){"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(t,"a",function(){return i});const i=r()},NJ4a:function(e,t,n){"use strict";function r(e){setTimeout(()=>{throw e},0)}n.d(t,"a",function(){return r})},NXyV:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("HDdC"),i=n("Cfvw"),o=n("EY2u");function s(e){return new r.a(t=>{let n;try{n=e()}catch(r){return void t.error(r)}return(n?Object(i.a)(n):Object(o.b)()).subscribe(t)})}},Q2Ze:function(e,t,n){"use strict";n.d(t,"a",function(){return Y}),n.d(t,"b",function(){return q}),n.d(t,"c",function(){return L}),n.d(t,"d",function(){return Z});var r=n("9b/N"),i=n("SVse"),o=n("8Y7J"),s=n("UhP/"),a=n("8LU1"),l=n("XNiG"),c=n("VRyK"),u=n("xgIS"),d=n("JX91"),h=n("1G5W"),p=n("IzEk"),f=n("GS7A"),m=n("omvX"),g=n("9gLZ"),_=n("SCoL");const b=["underline"],v=["connectionContainer"],y=["inputContainer"],w=["label"];function x(e,t){1&e&&(o["\u0275\u0275elementContainerStart"](0),o["\u0275\u0275elementStart"](1,"div",14),o["\u0275\u0275element"](2,"div",15),o["\u0275\u0275element"](3,"div",16),o["\u0275\u0275element"](4,"div",17),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementStart"](5,"div",18),o["\u0275\u0275element"](6,"div",15),o["\u0275\u0275element"](7,"div",16),o["\u0275\u0275element"](8,"div",17),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementContainerEnd"]())}function C(e,t){1&e&&(o["\u0275\u0275elementStart"](0,"div",19),o["\u0275\u0275projection"](1,1),o["\u0275\u0275elementEnd"]())}function O(e,t){if(1&e&&(o["\u0275\u0275elementContainerStart"](0),o["\u0275\u0275projection"](1,2),o["\u0275\u0275elementStart"](2,"span"),o["\u0275\u0275text"](3),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementContainerEnd"]()),2&e){const e=o["\u0275\u0275nextContext"](2);o["\u0275\u0275advance"](3),o["\u0275\u0275textInterpolate"](e._control.placeholder)}}function S(e,t){1&e&&o["\u0275\u0275projection"](0,3,["*ngSwitchCase","true"])}function k(e,t){1&e&&(o["\u0275\u0275elementStart"](0,"span",23),o["\u0275\u0275text"](1," *"),o["\u0275\u0275elementEnd"]())}function E(e,t){if(1&e){const e=o["\u0275\u0275getCurrentView"]();o["\u0275\u0275elementStart"](0,"label",20,21),o["\u0275\u0275listener"]("cdkObserveContent",function(){return o["\u0275\u0275restoreView"](e),o["\u0275\u0275nextContext"]().updateOutlineGap()}),o["\u0275\u0275template"](2,O,4,1,"ng-container",12),o["\u0275\u0275template"](3,S,1,0,"ng-content",12),o["\u0275\u0275template"](4,k,2,0,"span",22),o["\u0275\u0275elementEnd"]()}if(2&e){const e=o["\u0275\u0275nextContext"]();o["\u0275\u0275classProp"]("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),o["\u0275\u0275property"]("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),o["\u0275\u0275attribute"]("for",e._control.id)("aria-owns",e._control.id),o["\u0275\u0275advance"](2),o["\u0275\u0275property"]("ngSwitchCase",!1),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngSwitchCase",!0),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function I(e,t){1&e&&(o["\u0275\u0275elementStart"](0,"div",24),o["\u0275\u0275projection"](1,4),o["\u0275\u0275elementEnd"]())}function P(e,t){if(1&e&&(o["\u0275\u0275elementStart"](0,"div",25,26),o["\u0275\u0275element"](2,"span",27),o["\u0275\u0275elementEnd"]()),2&e){const e=o["\u0275\u0275nextContext"]();o["\u0275\u0275advance"](2),o["\u0275\u0275classProp"]("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function j(e,t){if(1&e&&(o["\u0275\u0275elementStart"](0,"div"),o["\u0275\u0275projection"](1,5),o["\u0275\u0275elementEnd"]()),2&e){const e=o["\u0275\u0275nextContext"]();o["\u0275\u0275property"]("@transitionMessages",e._subscriptAnimationState)}}function M(e,t){if(1&e&&(o["\u0275\u0275elementStart"](0,"div",31),o["\u0275\u0275text"](1),o["\u0275\u0275elementEnd"]()),2&e){const e=o["\u0275\u0275nextContext"](2);o["\u0275\u0275property"]("id",e._hintLabelId),o["\u0275\u0275advance"](1),o["\u0275\u0275textInterpolate"](e.hintLabel)}}function R(e,t){if(1&e&&(o["\u0275\u0275elementStart"](0,"div",28),o["\u0275\u0275template"](1,M,2,2,"div",29),o["\u0275\u0275projection"](2,6),o["\u0275\u0275element"](3,"div",30),o["\u0275\u0275projection"](4,7),o["\u0275\u0275elementEnd"]()),2&e){const e=o["\u0275\u0275nextContext"]();o["\u0275\u0275property"]("@transitionMessages",e._subscriptAnimationState),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngIf",e.hintLabel)}}const A=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],T=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],D=new o.InjectionToken("MatError"),F={transitionMessages:Object(f.l)("transitionMessages",[Object(f.i)("enter",Object(f.j)({opacity:1,transform:"translateY(0%)"})),Object(f.k)("void => enter",[Object(f.j)({opacity:0,transform:"translateY(-5px)"}),Object(f.e)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let L=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e}),e})();const N=new o.InjectionToken("MatHint");let V=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["mat-label"]]}),e})(),B=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["mat-placeholder"]]}),e})();const z=new o.InjectionToken("MatPrefix"),H=new o.InjectionToken("MatSuffix");let U=0;class ${constructor(e){this._elementRef=e}}const G=Object(s.l)($,"primary"),W=new o.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Y=new o.InjectionToken("MatFormField");let q=(()=>{class e extends G{constructor(e,t,n,r,i,o,s,a){super(e),this._elementRef=e,this._changeDetectorRef=t,this._dir=r,this._defaults=i,this._platform=o,this._ngZone=s,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new l.a,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+U++,this._labelId="mat-form-field-label-"+U++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==a,this.appearance=i&&i.appearance?i.appearance:"legacy",this._hideRequiredMarker=!(!i||null==i.hideRequiredMarker)&&i.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Object(a.b)(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(Object(d.a)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(Object(h.a)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Object(h.a)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Object(c.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Object(d.a)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Object(d.a)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Object(h.a)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const t=this._control?this._control.ngControl:null;return t&&t[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Object(u.a)(this._label.nativeElement,"transitionend").pipe(Object(p.a)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const t=this._hintChildren?this._hintChildren.find(e=>"start"===e.align):null,n=this._hintChildren?this._hintChildren.find(e=>"end"===e.align):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),n&&e.push(n.id)}else this._errorChildren&&e.push(...this._errorChildren.map(e=>e.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!e||!e.children.length||!e.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let t=0,n=0;const r=this._connectionContainerRef.nativeElement,i=r.querySelectorAll(".mat-form-field-outline-start"),o=r.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const i=r.getBoundingClientRect();if(0===i.width&&0===i.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const o=this._getStartEnd(i),s=e.children,a=this._getStartEnd(s[0].getBoundingClientRect());let l=0;for(let e=0;e<s.length;e++)l+=s[e].offsetWidth;t=Math.abs(a-o)-5,n=l>0?.75*l+10:0}for(let s=0;s<i.length;s++)i[s].style.width=`${t}px`;for(let s=0;s<o.length;s++)o[s].style.width=`${n}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(e){return this._dir&&"rtl"===this._dir.value?e.right:e.left}_isAttachedToDOM(){const e=this._elementRef.nativeElement;if(e.getRootNode){const t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}}return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](o.ElementRef),o["\u0275\u0275directiveInject"](o.ChangeDetectorRef),o["\u0275\u0275directiveInject"](o.ElementRef),o["\u0275\u0275directiveInject"](g.b,8),o["\u0275\u0275directiveInject"](W,8),o["\u0275\u0275directiveInject"](_.a),o["\u0275\u0275directiveInject"](o.NgZone),o["\u0275\u0275directiveInject"](m.a,8))},e.\u0275cmp=o["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-form-field"]],contentQueries:function(e,t,n){if(1&e&&(o["\u0275\u0275contentQuery"](n,L,1),o["\u0275\u0275contentQuery"](n,L,3),o["\u0275\u0275contentQuery"](n,V,1),o["\u0275\u0275contentQuery"](n,V,3),o["\u0275\u0275contentQuery"](n,B,1),o["\u0275\u0275contentQuery"](n,D,1),o["\u0275\u0275contentQuery"](n,N,1),o["\u0275\u0275contentQuery"](n,z,1),o["\u0275\u0275contentQuery"](n,H,1)),2&e){let e;o["\u0275\u0275queryRefresh"](e=o["\u0275\u0275loadQuery"]())&&(t._controlNonStatic=e.first),o["\u0275\u0275queryRefresh"](e=o["\u0275\u0275loadQuery"]())&&(t._controlStatic=e.first),o["\u0275\u0275queryRefresh"](e=o["\u0275\u0275loadQuery"]())&&(t._labelChildNonStatic=e.first),o["\u0275\u0275queryRefresh"](e=o["\u0275\u0275loadQuery"]())&&(t._labelChildStatic=e.first),o["\u0275\u0275queryRefresh"](e=o["\u0275\u0275loadQuery"]())&&(t._placeholderChild=e.first),o["\u0275\u0275queryRefresh"](e=o["\u0275\u0275loadQuery"]())&&(t._errorChildren=e),o["\u0275\u0275queryRefresh"](e=o["\u0275\u0275loadQuery"]())&&(t._hintChildren=e),o["\u0275\u0275queryRefresh"](e=o["\u0275\u0275loadQuery"]())&&(t._prefixChildren=e),o["\u0275\u0275queryRefresh"](e=o["\u0275\u0275loadQuery"]())&&(t._suffixChildren=e)}},viewQuery:function(e,t){if(1&e&&(o["\u0275\u0275viewQuery"](b,1),o["\u0275\u0275viewQuery"](v,3),o["\u0275\u0275viewQuery"](y,1),o["\u0275\u0275viewQuery"](w,1)),2&e){let e;o["\u0275\u0275queryRefresh"](e=o["\u0275\u0275loadQuery"]())&&(t.underlineRef=e.first),o["\u0275\u0275queryRefresh"](e=o["\u0275\u0275loadQuery"]())&&(t._connectionContainerRef=e.first),o["\u0275\u0275queryRefresh"](e=o["\u0275\u0275loadQuery"]())&&(t._inputContainerRef=e.first),o["\u0275\u0275queryRefresh"](e=o["\u0275\u0275loadQuery"]())&&(t._label=e.first)}},hostAttrs:[1,"mat-form-field"],hostVars:40,hostBindings:function(e,t){2&e&&o["\u0275\u0275classProp"]("mat-form-field-appearance-standard","standard"==t.appearance)("mat-form-field-appearance-fill","fill"==t.appearance)("mat-form-field-appearance-outline","outline"==t.appearance)("mat-form-field-appearance-legacy","legacy"==t.appearance)("mat-form-field-invalid",t._control.errorState)("mat-form-field-can-float",t._canLabelFloat())("mat-form-field-should-float",t._shouldLabelFloat())("mat-form-field-has-label",t._hasFloatingLabel())("mat-form-field-hide-placeholder",t._hideControlPlaceholder())("mat-form-field-disabled",t._control.disabled)("mat-form-field-autofilled",t._control.autofilled)("mat-focused",t._control.focused)("ng-untouched",t._shouldForward("untouched"))("ng-touched",t._shouldForward("touched"))("ng-pristine",t._shouldForward("pristine"))("ng-dirty",t._shouldForward("dirty"))("ng-valid",t._shouldForward("valid"))("ng-invalid",t._shouldForward("invalid"))("ng-pending",t._shouldForward("pending"))("_mat-animation-noopable",!t._animationsEnabled)},inputs:{color:"color",floatLabel:"floatLabel",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[o["\u0275\u0275ProvidersFeature"]([{provide:Y,useExisting:e}]),o["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:T,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],["underline",""],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(e,t){1&e&&(o["\u0275\u0275projectionDef"](A),o["\u0275\u0275elementStart"](0,"div",0),o["\u0275\u0275elementStart"](1,"div",1,2),o["\u0275\u0275listener"]("click",function(e){return t._control.onContainerClick&&t._control.onContainerClick(e)}),o["\u0275\u0275template"](3,x,9,0,"ng-container",3),o["\u0275\u0275template"](4,C,2,0,"div",4),o["\u0275\u0275elementStart"](5,"div",5,6),o["\u0275\u0275projection"](7),o["\u0275\u0275elementStart"](8,"span",7),o["\u0275\u0275template"](9,E,5,16,"label",8),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementEnd"](),o["\u0275\u0275template"](10,I,2,0,"div",9),o["\u0275\u0275elementEnd"](),o["\u0275\u0275template"](11,P,3,4,"div",10),o["\u0275\u0275elementStart"](12,"div",11),o["\u0275\u0275template"](13,j,2,1,"div",12),o["\u0275\u0275template"](14,R,5,2,"div",13),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementEnd"]()),2&e&&(o["\u0275\u0275advance"](3),o["\u0275\u0275property"]("ngIf","outline"==t.appearance),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngIf",t._prefixChildren.length),o["\u0275\u0275advance"](5),o["\u0275\u0275property"]("ngIf",t._hasFloatingLabel()),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngIf",t._suffixChildren.length),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngIf","outline"!=t.appearance),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngSwitch",t._getDisplayedMessages()),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngSwitchCase","error"),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngSwitchCase","hint"))},directives:[i.m,i.o,i.p,r.a],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[F.transitionMessages]},changeDetection:0}),e})(),Z=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({imports:[[i.c,s.d,r.c],s.d]}),e})()},SCoL:function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return l}),n.d(t,"c",function(){return b}),n.d(t,"d",function(){return _}),n.d(t,"e",function(){return u}),n.d(t,"f",function(){return m}),n.d(t,"g",function(){return g});var r=n("8Y7J"),i=n("SVse");let o;try{o="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(v){o=!1}let s,a=(()=>{class e{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Object(i.v)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!o)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](r.PLATFORM_ID))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(r.PLATFORM_ID))},token:e,providedIn:"root"}),e})(),l=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({}),e})();const c=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function u(){if(s)return s;if("object"!=typeof document||!document)return s=new Set(c),s;let e=document.createElement("input");return s=new Set(c.filter(t=>(e.setAttribute("type",t),e.type===t))),s}let d,h,p,f;function m(e){return function(){if(null==d&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>d=!0}))}finally{d=d||!1}return d}()?e:!!e.capture}function g(){if(null==p){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return p=!1,p;if("scrollBehavior"in document.documentElement.style)p=!0;else{const e=Element.prototype.scrollTo;p=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return p}function _(){if("object"!=typeof document||!document)return 0;if(null==h){const e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";const n=document.createElement("div"),r=n.style;r.width="2px",r.height="1px",e.appendChild(n),document.body.appendChild(e),h=0,0===e.scrollLeft&&(e.scrollLeft=1,h=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return h}function b(e){if(function(){if(null==f){const e="undefined"!=typeof document?document.head:null;f=!(!e||!e.createShadowRoot&&!e.attachShadow)}return f}()){const t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}},SVse:function(e,t,n){"use strict";n.d(t,"a",function(){return y}),n.d(t,"b",function(){return Me}),n.d(t,"c",function(){return Te}),n.d(t,"d",function(){return l}),n.d(t,"e",function(){return Re}),n.d(t,"f",function(){return Ae}),n.d(t,"g",function(){return x}),n.d(t,"h",function(){return d}),n.d(t,"i",function(){return C}),n.d(t,"j",function(){return b}),n.d(t,"k",function(){return pe}),n.d(t,"l",function(){return me}),n.d(t,"m",function(){return _e}),n.d(t,"n",function(){return Oe}),n.d(t,"o",function(){return we}),n.d(t,"p",function(){return xe}),n.d(t,"q",function(){return Ce}),n.d(t,"r",function(){return Se}),n.d(t,"s",function(){return w}),n.d(t,"t",function(){return c}),n.d(t,"u",function(){return Le}),n.d(t,"v",function(){return Fe}),n.d(t,"w",function(){return a}),n.d(t,"x",function(){return De}),n.d(t,"y",function(){return o}),n.d(t,"z",function(){return he}),n.d(t,"A",function(){return s});var r=n("8Y7J");let i=null;function o(){return i}function s(e){i||(i=e)}class a{}const l=new r.InjectionToken("DocumentToken");let c=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:u,token:e,providedIn:"platform"}),e})();function u(){return Object(r["\u0275\u0275inject"])(h)}const d=new r.InjectionToken("Location Initialized");let h=(()=>{class e extends c{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=o().getLocation(),this._history=o().getHistory()}getBaseHrefFromDOM(){return o().getBaseHref(this._doc)}onPopState(e){o().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){o().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,t,n){p()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){p()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](l))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:f,token:e,providedIn:"platform"}),e})();function p(){return!!window.history.pushState}function f(){return new h(Object(r["\u0275\u0275inject"])(l))}function m(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function g(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function _(e){return e&&"?"!==e[0]?"?"+e:e}let b=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:v,token:e,providedIn:"root"}),e})();function v(e){const t=Object(r["\u0275\u0275inject"])(l).location;return new w(Object(r["\u0275\u0275inject"])(c),t&&t.origin||"")}const y=new r.InjectionToken("appBaseHref");let w=(()=>{class e extends b{constructor(e,t){if(super(),this._platformLocation=e,null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=t}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return m(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+_(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,r){const i=this.prepareExternalUrl(n+_(r));this._platformLocation.pushState(e,t,i)}replaceState(e,t,n,r){const i=this.prepareExternalUrl(n+_(r));this._platformLocation.replaceState(e,t,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](c),r["\u0275\u0275inject"](y,8))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),x=(()=>{class e extends b{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",null!=t&&(this._baseHref=t)}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=m(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,r){let i=this.prepareExternalUrl(n+_(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(e,t,i)}replaceState(e,t,n,r){let i=this.prepareExternalUrl(n+_(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](c),r["\u0275\u0275inject"](y,8))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),C=(()=>{class e{constructor(e,t){this._subject=new r.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=e;const n=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=g(S(n)),this._platformStrategy.onPopState(e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+_(t))}normalize(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,S(t)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+_(t)),n)}replaceState(e,t="",n=null){this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+_(t)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(e){this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)}))}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(n=>n(e,t))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](b),r["\u0275\u0275inject"](c))},e.normalizeQueryParams=_,e.joinWithSlash=m,e.stripTrailingSlash=g,e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:O,token:e,providedIn:"root"}),e})();function O(){return new C(Object(r["\u0275\u0275inject"])(b),Object(r["\u0275\u0275inject"])(c))}function S(e){return e.replace(/\/index.html$/,"")}var k=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}({}),E=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),I=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),P=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),j=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),M=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({});function R(e,t){return N(Object(r["\u0275findLocaleData"])(e)[r["\u0275LocaleDataIndex"].DateFormat],t)}function A(e,t){return N(Object(r["\u0275findLocaleData"])(e)[r["\u0275LocaleDataIndex"].TimeFormat],t)}function T(e,t){return N(Object(r["\u0275findLocaleData"])(e)[r["\u0275LocaleDataIndex"].DateTimeFormat],t)}function D(e,t){const n=Object(r["\u0275findLocaleData"])(e),i=n[r["\u0275LocaleDataIndex"].NumberSymbols][t];if(void 0===i){if(t===M.CurrencyDecimal)return n[r["\u0275LocaleDataIndex"].NumberSymbols][M.Decimal];if(t===M.CurrencyGroup)return n[r["\u0275LocaleDataIndex"].NumberSymbols][M.Group]}return i}const F=r["\u0275getLocalePluralCase"];function L(e){if(!e[r["\u0275LocaleDataIndex"].ExtraData])throw new Error(`Missing extra locale data for the locale "${e[r["\u0275LocaleDataIndex"].LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function N(e,t){for(let n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function V(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}const B=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,z={},H=/((?:[^GyYMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var U=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),$=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}({}),G=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function W(e,t,n,r){let i=function(e){if(oe(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[t,n=1,r=1]=e.split("-").map(e=>+e);return Y(t,n-1,r)}const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(B))return function(e){const t=new Date(0);let n=0,r=0;const i=e[8]?t.setUTCFullYear:t.setFullYear,o=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,l=Number(e[6]||0),c=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return o.call(t,s,a,l,c),t}(n)}const t=new Date(e);if(!oe(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=q(n,t)||t;let o,s=[];for(;t;){if(o=H.exec(t),!o){s.push(t);break}{s=s.concat(o.slice(1));const e=s.pop();if(!e)break;t=e}}let a=i.getTimezoneOffset();r&&(a=ie(r,a),i=function(e,t,n){const r=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(ie(t,r)-r))}(i,r));let l="";return s.forEach(e=>{const t=function(e){if(re[e])return re[e];let t;switch(e){case"G":case"GG":case"GGG":t=K(G.Eras,P.Abbreviated);break;case"GGGG":t=K(G.Eras,P.Wide);break;case"GGGGG":t=K(G.Eras,P.Narrow);break;case"y":t=X($.FullYear,1,0,!1,!0);break;case"yy":t=X($.FullYear,2,0,!0,!0);break;case"yyy":t=X($.FullYear,3,0,!1,!0);break;case"yyyy":t=X($.FullYear,4,0,!1,!0);break;case"Y":t=ne(1);break;case"YY":t=ne(2,!0);break;case"YYY":t=ne(3);break;case"YYYY":t=ne(4);break;case"M":case"L":t=X($.Month,1,1);break;case"MM":case"LL":t=X($.Month,2,1);break;case"MMM":t=K(G.Months,P.Abbreviated);break;case"MMMM":t=K(G.Months,P.Wide);break;case"MMMMM":t=K(G.Months,P.Narrow);break;case"LLL":t=K(G.Months,P.Abbreviated,I.Standalone);break;case"LLLL":t=K(G.Months,P.Wide,I.Standalone);break;case"LLLLL":t=K(G.Months,P.Narrow,I.Standalone);break;case"w":t=te(1);break;case"ww":t=te(2);break;case"W":t=te(1,!0);break;case"d":t=X($.Date,1);break;case"dd":t=X($.Date,2);break;case"E":case"EE":case"EEE":t=K(G.Days,P.Abbreviated);break;case"EEEE":t=K(G.Days,P.Wide);break;case"EEEEE":t=K(G.Days,P.Narrow);break;case"EEEEEE":t=K(G.Days,P.Short);break;case"a":case"aa":case"aaa":t=K(G.DayPeriods,P.Abbreviated);break;case"aaaa":t=K(G.DayPeriods,P.Wide);break;case"aaaaa":t=K(G.DayPeriods,P.Narrow);break;case"b":case"bb":case"bbb":t=K(G.DayPeriods,P.Abbreviated,I.Standalone,!0);break;case"bbbb":t=K(G.DayPeriods,P.Wide,I.Standalone,!0);break;case"bbbbb":t=K(G.DayPeriods,P.Narrow,I.Standalone,!0);break;case"B":case"BB":case"BBB":t=K(G.DayPeriods,P.Abbreviated,I.Format,!0);break;case"BBBB":t=K(G.DayPeriods,P.Wide,I.Format,!0);break;case"BBBBB":t=K(G.DayPeriods,P.Narrow,I.Format,!0);break;case"h":t=X($.Hours,1,-12);break;case"hh":t=X($.Hours,2,-12);break;case"H":t=X($.Hours,1);break;case"HH":t=X($.Hours,2);break;case"m":t=X($.Minutes,1);break;case"mm":t=X($.Minutes,2);break;case"s":t=X($.Seconds,1);break;case"ss":t=X($.Seconds,2);break;case"S":t=X($.FractionalSeconds,1);break;case"SS":t=X($.FractionalSeconds,2);break;case"SSS":t=X($.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=J(U.Short);break;case"ZZZZZ":t=J(U.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=J(U.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=J(U.Long);break;default:return null}return re[e]=t,t}(e);l+=t?t(i,n,a):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function Y(e,t,n){const r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function q(e,t){const n=function(e){return Object(r["\u0275findLocaleData"])(e)[r["\u0275LocaleDataIndex"].LocaleId]}(e);if(z[n]=z[n]||{},z[n][t])return z[n][t];let i="";switch(t){case"shortDate":i=R(e,j.Short);break;case"mediumDate":i=R(e,j.Medium);break;case"longDate":i=R(e,j.Long);break;case"fullDate":i=R(e,j.Full);break;case"shortTime":i=A(e,j.Short);break;case"mediumTime":i=A(e,j.Medium);break;case"longTime":i=A(e,j.Long);break;case"fullTime":i=A(e,j.Full);break;case"short":const t=q(e,"shortTime"),n=q(e,"shortDate");i=Z(T(e,j.Short),[t,n]);break;case"medium":const r=q(e,"mediumTime"),o=q(e,"mediumDate");i=Z(T(e,j.Medium),[r,o]);break;case"long":const s=q(e,"longTime"),a=q(e,"longDate");i=Z(T(e,j.Long),[s,a]);break;case"full":const l=q(e,"fullTime"),c=q(e,"fullDate");i=Z(T(e,j.Full),[l,c])}return i&&(z[n][t]=i),i}function Z(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function Q(e,t,n="-",r,i){let o="";(e<0||i&&e<=0)&&(i?e=1-e:(e=-e,o=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.substr(s.length-t)),o+s}function X(e,t,n=0,r=!1,i=!1){return function(o,s){let a=function(e,t){switch(e){case $.FullYear:return t.getFullYear();case $.Month:return t.getMonth();case $.Date:return t.getDate();case $.Hours:return t.getHours();case $.Minutes:return t.getMinutes();case $.Seconds:return t.getSeconds();case $.FractionalSeconds:return t.getMilliseconds();case $.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}(e,o);if((n>0||a>-n)&&(a+=n),e===$.Hours)0===a&&-12===n&&(a=12);else if(e===$.FractionalSeconds)return l=t,Q(a,3).substr(0,l);var l;const c=D(s,M.MinusSign);return Q(a,t,c,r,i)}}function K(e,t,n=I.Format,i=!1){return function(o,s){return function(e,t,n,i,o,s){switch(n){case G.Months:return function(e,t,n){const i=Object(r["\u0275findLocaleData"])(e),o=N([i[r["\u0275LocaleDataIndex"].MonthsFormat],i[r["\u0275LocaleDataIndex"].MonthsStandalone]],t);return N(o,n)}(t,o,i)[e.getMonth()];case G.Days:return function(e,t,n){const i=Object(r["\u0275findLocaleData"])(e),o=N([i[r["\u0275LocaleDataIndex"].DaysFormat],i[r["\u0275LocaleDataIndex"].DaysStandalone]],t);return N(o,n)}(t,o,i)[e.getDay()];case G.DayPeriods:const a=e.getHours(),l=e.getMinutes();if(s){const e=function(e){const t=Object(r["\u0275findLocaleData"])(e);return L(t),(t[r["\u0275LocaleDataIndex"].ExtraData][2]||[]).map(e=>"string"==typeof e?V(e):[V(e[0]),V(e[1])])}(t),n=function(e,t,n){const i=Object(r["\u0275findLocaleData"])(e);L(i);const o=N([i[r["\u0275LocaleDataIndex"].ExtraData][0],i[r["\u0275LocaleDataIndex"].ExtraData][1]],t)||[];return N(o,n)||[]}(t,o,i),s=e.findIndex(e=>{if(Array.isArray(e)){const[t,n]=e,r=a>=t.hours&&l>=t.minutes,i=a<n.hours||a===n.hours&&l<n.minutes;if(t.hours<n.hours){if(r&&i)return!0}else if(r||i)return!0}else if(e.hours===a&&e.minutes===l)return!0;return!1});if(-1!==s)return n[s]}return function(e,t,n){const i=Object(r["\u0275findLocaleData"])(e),o=N([i[r["\u0275LocaleDataIndex"].DayPeriodsFormat],i[r["\u0275LocaleDataIndex"].DayPeriodsStandalone]],t);return N(o,n)}(t,o,i)[a<12?0:1];case G.Eras:return function(e,t){return N(Object(r["\u0275findLocaleData"])(e)[r["\u0275LocaleDataIndex"].Eras],t)}(t,i)[e.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${n}`)}}(o,s,e,t,n,i)}}function J(e){return function(t,n,r){const i=-1*r,o=D(n,M.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(e){case U.Short:return(i>=0?"+":"")+Q(s,2,o)+Q(Math.abs(i%60),2,o);case U.ShortGMT:return"GMT"+(i>=0?"+":"")+Q(s,1,o);case U.Long:return"GMT"+(i>=0?"+":"")+Q(s,2,o)+":"+Q(Math.abs(i%60),2,o);case U.Extended:return 0===r?"Z":(i>=0?"+":"")+Q(s,2,o)+":"+Q(Math.abs(i%60),2,o);default:throw new Error(`Unknown zone width "${e}"`)}}}function ee(e){return Y(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function te(e,t=!1){return function(n,r){let i;if(t){const e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();i=1+Math.floor((t+e)/7)}else{const e=ee(n),t=function(e){const t=Y(e,0,1).getDay();return Y(e,0,1+(t<=4?4:11)-t)}(e.getFullYear()),r=e.getTime()-t.getTime();i=1+Math.round(r/6048e5)}return Q(i,e,D(r,M.MinusSign))}}function ne(e,t=!1){return function(n,r){return Q(ee(n).getFullYear(),e,D(r,M.MinusSign),t)}}const re={};function ie(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function oe(e){return e instanceof Date&&!isNaN(e.valueOf())}const se=/^(\d+)?\.((\d+)(-(\d+))?)?$/,ae=".",le="0";function ce(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}class ue{}let de=(()=>{class e extends ue{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(F(t||this.locale)(e)){case E.Zero:return"zero";case E.One:return"one";case E.Two:return"two";case E.Few:return"few";case E.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](r.LOCALE_ID))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();function he(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,i]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(i)}return null}let pe=(()=>{class e{constructor(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(r["\u0275isListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Object(r["\u0275stringify"])(e.item)}`);this._toggleClass(e.item,!0)}),e.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!0)):Object.keys(e).forEach(t=>this._toggleClass(t,!!e[t])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!1)):Object.keys(e).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.IterableDiffers),r["\u0275\u0275directiveInject"](r.KeyValueDiffers),r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.Renderer2))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})();class fe{constructor(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let me=(()=>{class e{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${n}' of type '${e=n,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,n,r)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new fe(null,this._ngForOf,-1,-1),null===r?void 0:r),i=new ge(e,n);t.push(i)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const i=this._viewContainer.get(n);this._viewContainer.move(i,r);const o=new ge(e,i);t.push(o)}});for(let n=0;n<t.length;n++)this._perViewChange(t[n].view,t[n].record);for(let n=0,r=this._viewContainer.length;n<r;n++){const e=this._viewContainer.get(n);e.context.index=n,e.context.count=r,e.context.ngForOf=this._ngForOf}e.forEachIdentityChange(e=>{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](r.TemplateRef),r["\u0275\u0275directiveInject"](r.IterableDiffers))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class ge{constructor(e,t){this.record=e,this.view=t}}let _e=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new be,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){ve("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){ve("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](r.TemplateRef))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class be{constructor(){this.$implicit=null,this.ngIf=null}}function ve(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Object(r["\u0275stringify"])(t)}'.`)}class ye{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}let we=(()=>{class e{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let t=0;t<this._defaultViews.length;t++)this._defaultViews[t].enforceState(e)}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),e})(),xe=(()=>{class e{constructor(e,t,n){this.ngSwitch=n,n._addCase(),this._view=new ye(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](r.TemplateRef),r["\u0275\u0275directiveInject"](we,9))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e})(),Ce=(()=>{class e{constructor(e,t,n){n._addDefault(new ye(e,t))}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](r.TemplateRef),r["\u0275\u0275directiveInject"](we,9))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngSwitchDefault",""]]}),e})(),Oe=(()=>{class e{constructor(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){const[n,r]=e.split(".");null!=(t=null!=t&&r?`${t}${r}`:t)?this._renderer.setStyle(this._ngEl.nativeElement,n,t):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(e){e.forEachRemovedItem(e=>this._setStyle(e.key,null)),e.forEachAddedItem(e=>this._setStyle(e.key,e.currentValue)),e.forEachChangedItem(e=>this._setStyle(e.key,e.currentValue))}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.KeyValueDiffers),r["\u0275\u0275directiveInject"](r.Renderer2))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),e})(),Se=(()=>{class e{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(e){if(this._shouldRecreateView(e)){const e=this._viewContainerRef;this._viewRef&&e.remove(e.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?e.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(e){const t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)}_hasContextShapeChanged(e){const t=Object.keys(e.previousValue||{}),n=Object.keys(e.currentValue||{});if(t.length===n.length){for(let e of n)if(-1===t.indexOf(e))return!0;return!1}return!0}_updateExistingContext(e){for(let t of Object.keys(e))this._viewRef.context[t]=this.ngTemplateOutletContext[t]}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ViewContainerRef))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[r["\u0275\u0275NgOnChangesFeature"]]}),e})();function ke(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${Object(r["\u0275stringify"])(e)}'`)}class Ee{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class Ie{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}}const Pe=new Ie,je=new Ee;let Me=(()=>{class e{constructor(e){this._ref=e,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(t){if(Object(r["\u0275isPromise"])(t))return Pe;if(Object(r["\u0275isSubscribable"])(t))return je;throw ke(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275injectPipeChangeDetectorRef"]())},e.\u0275pipe=r["\u0275\u0275definePipe"]({name:"async",type:e,pure:!1}),e})(),Re=(()=>{class e{constructor(e){this.locale=e}transform(t,n="mediumDate",r,i){if(null==t||""===t||t!=t)return null;try{return W(t,n,i||this.locale,r)}catch(o){throw ke(e,o.message)}}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.LOCALE_ID))},e.\u0275pipe=r["\u0275\u0275definePipe"]({name:"date",type:e,pure:!0}),e})(),Ae=(()=>{class e{constructor(e){this._locale=e}transform(t,n,i){if(!function(e){return!(null==e||""===e||e!=e)}(t))return null;i=i||this._locale;try{return function(e,t,n){return function(e,t,n,r,i,o,s=!1){let a="",l=!1;if(isFinite(e)){let c=function(e){let t,n,r,i,o,s=Math.abs(e)+"",a=0;for((n=s.indexOf(ae))>-1&&(s=s.replace(ae,"")),(r=s.search(/e/i))>0?(n<0&&(n=r),n+=+s.slice(r+1),s=s.substring(0,r)):n<0&&(n=s.length),r=0;s.charAt(r)===le;r++);if(r===(o=s.length))t=[0],n=1;else{for(o--;s.charAt(o)===le;)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=Number(s.charAt(r))}return n>22&&(t=t.splice(0,21),a=n-1,n=1),{digits:t,exponent:a,integerLen:n}}(e);s&&(c=function(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(c));let u=t.minInt,d=t.minFrac,h=t.maxFrac;if(o){const e=o.match(se);if(null===e)throw new Error(`${o} is not a valid digit info`);const t=e[1],n=e[3],r=e[5];null!=t&&(u=ce(t)),null!=n&&(d=ce(n)),null!=r?h=ce(r):null!=n&&d>h&&(h=d)}!function(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,i=r.length-e.integerLen;const o=Math.min(Math.max(t,i),n);let s=o+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let e=s;e<r.length;e++)r[e]=0}else{i=Math.max(0,i),e.integerLen=1,r.length=Math.max(1,s=o+1),r[0]=0;for(let e=1;e<s;e++)r[e]=0}if(a>=5)if(s-1<0){for(let t=0;t>s;t--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;i<Math.max(0,o);i++)r.push(0);let l=0!==o;const c=t+e.integerLen,u=r.reduceRight(function(e,t,n,r){return r[n]=(t+=e)<10?t:t-10,l&&(0===r[n]&&n>=c?r.pop():l=!1),t>=10?1:0},0);u&&(r.unshift(u),e.integerLen++)}(c,d,h);let p=c.digits,f=c.integerLen;const m=c.exponent;let g=[];for(l=p.every(e=>!e);f<u;f++)p.unshift(0);for(;f<0;f++)p.unshift(0);f>0?g=p.splice(f,p.length):(g=p,p=[0]);const _=[];for(p.length>=t.lgSize&&_.unshift(p.splice(-t.lgSize,p.length).join(""));p.length>t.gSize;)_.unshift(p.splice(-t.gSize,p.length).join(""));p.length&&_.unshift(p.join("")),a=_.join(D(n,r)),g.length&&(a+=D(n,i)+g.join("")),m&&(a+=D(n,M.Exponential)+"+"+m)}else a=D(n,M.Infinity);return a=e<0&&!l?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}(e,function(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(";"),i=r[0],o=r[1],s=-1!==i.indexOf(ae)?i.split(ae):[i.substring(0,i.lastIndexOf(le)+1),i.substring(i.lastIndexOf(le)+1)],a=s[0],l=s[1]||"";n.posPre=a.substr(0,a.indexOf("#"));for(let u=0;u<l.length;u++){const e=l.charAt(u);e===le?n.minFrac=n.maxFrac=u+1:"#"===e?n.maxFrac=u+1:n.posSuf+=e}const c=a.split(",");if(n.gSize=c[1]?c[1].length:0,n.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,o){const e=i.length-n.posPre.length-n.posSuf.length,t=o.indexOf("#");n.negPre=o.substr(0,t).replace(/'/g,""),n.negSuf=o.substr(t+e).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}(function(e,t){return Object(r["\u0275findLocaleData"])(e)[r["\u0275LocaleDataIndex"].NumberFormats][t]}(t,k.Decimal),D(t,M.MinusSign)),t,M.Group,M.Decimal,n)}(function(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(`${e} is not a number`);return e}(t),i,n)}catch(o){throw ke(e,o.message)}}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.LOCALE_ID))},e.\u0275pipe=r["\u0275\u0275definePipe"]({name:"number",type:e,pure:!0}),e})(),Te=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({providers:[{provide:ue,useClass:de}]}),e})();const De="browser";function Fe(e){return e===De}let Le=(()=>{class e{}return e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({token:e,providedIn:"root",factory:()=>new Ne(Object(r["\u0275\u0275inject"])(l),window)}),e})();class Ne{constructor(e,t){this.document=e,this.window=t,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;const t=function(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow)){const n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let r=n.currentNode;for(;r;){const e=r.shadowRoot;if(e){const n=e.getElementById(t)||e.querySelector(`[name="${t}"]`);if(n)return n}r=n.nextNode()}}return null}(this.document,e);t&&(this.scrollToElement(t),this.attemptFocus(t))}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])}attemptFocus(e){return e.focus(),this.document.activeElement===e}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const e=Ve(this.window.history)||Ve(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(e){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}function Ve(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}},SeVD:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n("ngJS"),i=n("NJ4a"),o=n("Lhse"),s=n("kJWO"),a=n("I55L"),l=n("c2HN"),c=n("XoHu");const u=e=>{if(e&&"function"==typeof e[s.a])return u=e,e=>{const t=u[s.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Object(a.a)(e))return Object(r.a)(e);if(Object(l.a)(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,i.a),e);if(e&&"function"==typeof e[o.a])return t=e,e=>{const n=t[o.a]();for(;;){let t;try{t=n.next()}catch(r){return e.error(r),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e};{const t=Object(c.a)(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var t,n,u}},ShDn:function(e,t,n){"use strict";n.d(t,"a",function(){return M});var r=n("ey9i"),i=n("vm46"),o=n("zO3f"),s=n("IzEk"),a=n("8Y7J"),l=n("iELJ"),c=n("7mzw"),u=n("o0su"),d=n("SVse");let h=(()=>{class e{transform(e){if(e.includes(" "))return e;const t=e.replace(/[\+()-]/g,"");return`+7 (${t.slice(1,4)}) ${t.slice(4,7)}-${t.slice(7,9)}-${t.slice(9)}`}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=a["\u0275\u0275definePipe"]({name:"phoneTransform",type:e,pure:!0}),e})();function p(e,t){if(1&e&&(a["\u0275\u0275elementStart"](0,"li",3),a["\u0275\u0275elementStart"](1,"a",4),a["\u0275\u0275namespaceSVG"](),a["\u0275\u0275elementStart"](2,"svg",5),a["\u0275\u0275element"](3,"path",6),a["\u0275\u0275elementEnd"](),a["\u0275\u0275text"](4),a["\u0275\u0275pipe"](5,"phoneTransform"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"]()),2&e){const e=t.$implicit;a["\u0275\u0275advance"](1),a["\u0275\u0275propertyInterpolate1"]("href","tel:",e,"",a["\u0275\u0275sanitizeUrl"]),a["\u0275\u0275advance"](3),a["\u0275\u0275textInterpolate1"](" ",a["\u0275\u0275pipeBind1"](5,2,e)," ")}}function f(e,t){if(1&e&&(a["\u0275\u0275elementStart"](0,"ul",1),a["\u0275\u0275template"](1,p,6,4,"li",2),a["\u0275\u0275elementEnd"]()),2&e){const e=a["\u0275\u0275nextContext"]();a["\u0275\u0275advance"](1),a["\u0275\u0275property"]("ngForOf",e.phones)}}let m=(()=>{class e extends r.a{constructor(e,t){super(),this.siteProService=e,this.cd=t,this.phones=[]}ngOnInit(){this.subs=[this.siteProService.data$.subscribe(e=>{this.phones=e.phones,this.cd.detectChanges()})]}}return e.\u0275fac=function(t){return new(t||e)(a["\u0275\u0275directiveInject"](u.h),a["\u0275\u0275directiveInject"](a.ChangeDetectorRef))},e.\u0275cmp=a["\u0275\u0275defineComponent"]({type:e,selectors:[["phone-list"]],features:[a["\u0275\u0275InheritDefinitionFeature"]],decls:1,vars:1,consts:[["class","phone-list",4,"ngIf"],[1,"phone-list"],["class","phone-list__item",4,"ngFor","ngForOf"],[1,"phone-list__item"],["target","_blank",1,"phone-list__link",3,"href"],["viewBox","0 0 16 16","fill","none","xmlns","http://www.w3.org/2000/svg",1,"phone-list__icon"],["fill-rule","evenodd","clip-rule","evenodd","d","M4 2C2.89543 2 2 2.89543 2 4C2 4 2.5 8.5 5.5 11C8.5 13.5 12 14 12 14C13.1046 14 14 13.1046 14 12V10.9236C14 10.6791 13.8233 10.4705 13.5822 10.4304L11.2538 10.0423C11.0945 10.0158 10.9322 10.0678 10.8181 10.1819L10.0528 10.9472C9.72799 11.272 9.22449 11.3334 8.84313 11.0774C8.24734 10.6774 7.35254 10.0348 6.6181 9.33084C5.88522 8.62838 5.44888 7.92861 5.21731 7.48189C5.0649 7.18787 5.11895 6.8414 5.31765 6.57646L6.34281 5.20958C6.44126 5.07832 6.46904 4.90712 6.41716 4.75147L5.61396 2.34189C5.54591 2.13772 5.35484 2 5.13962 2H4Z","fill","currentColor"]],template:function(e,t){1&e&&a["\u0275\u0275template"](0,f,2,1,"ul",0),2&e&&a["\u0275\u0275property"]("ngIf",t.phones.length>0)},directives:[d.m,d.l],pipes:[h],styles:[".mobile-menu__item[_nghost-%COMP%]   .phone-list[_ngcontent-%COMP%], .mobile-menu__item   [_nghost-%COMP%]   .phone-list[_ngcontent-%COMP%]{flex-direction:column}.mobile-menu__item[_nghost-%COMP%]   .phone-list__item[_ngcontent-%COMP%]:not(:first-of-type), .mobile-menu__item   [_nghost-%COMP%]   .phone-list__item[_ngcontent-%COMP%]:not(:first-of-type){margin-top:36px;margin-left:0}.phone-list[_ngcontent-%COMP%]{display:flex;align-items:center;margin:0;padding:0}.phone-list__item[_ngcontent-%COMP%]{list-style-type:none;line-height:0}.phone-list__item[_ngcontent-%COMP%]:not(:first-of-type){margin-left:16px}.phone-list__link[_ngcontent-%COMP%]{display:inline-flex;align-items:center;font-size:14px;font-weight:500;line-height:20px;color:RGB(var(--smoky-black-color),.85);text-decoration:none;transition:color .3s}.phone-list__link[_ngcontent-%COMP%]:hover{color:RGB(var(--smoky-black-color))}.phone-list__icon[_ngcontent-%COMP%]{--size:16px;display:inline-block;flex-shrink:0;width:var(--size);height:var(--size);margin-right:4px;color:RGB(var(--brand-color))}"],changeDetection:0}),e})();var g=n("VHTt");let _=(()=>{class e{transform(e){return this.getSocialMediaName(e)}getSocialMediaName(e){switch(e){case g.b.Facebook:return"facebook";case g.b.Telegram:return"telegram";case g.b.Instagram:return"instagram";case g.b.Vkontakte:return"vkontakte";case g.b.WhatsApp:return"whatsapp";case g.b.YouTube:return"youtube"}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=a["\u0275\u0275definePipe"]({name:"socialLinkName",type:e,pure:!0}),e})();function b(e,t){if(1&e&&(a["\u0275\u0275elementStart"](0,"li",3),a["\u0275\u0275elementStart"](1,"a",4),a["\u0275\u0275element"](2,"img",5),a["\u0275\u0275pipe"](3,"socialLinkName"),a["\u0275\u0275pipe"](4,"socialLinkName"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"]()),2&e){const e=t.$implicit;a["\u0275\u0275advance"](1),a["\u0275\u0275property"]("href",e.relation,a["\u0275\u0275sanitizeUrl"]),a["\u0275\u0275advance"](1),a["\u0275\u0275propertyInterpolate1"]("src","/catalog/assets/icons/social-links/",a["\u0275\u0275pipeBind1"](3,3,e.type),".svg",a["\u0275\u0275sanitizeUrl"]),a["\u0275\u0275propertyInterpolate"]("alt",a["\u0275\u0275pipeBind1"](4,5,e.type))}}function v(e,t){if(1&e&&(a["\u0275\u0275elementStart"](0,"ul",1),a["\u0275\u0275template"](1,b,5,7,"li",2),a["\u0275\u0275elementEnd"]()),2&e){const e=a["\u0275\u0275nextContext"]();a["\u0275\u0275advance"](1),a["\u0275\u0275property"]("ngForOf",e.socialLinks)}}let y=(()=>{class e extends r.a{constructor(e,t){super(),this.siteProService=e,this.cd=t,this.socialLinks=[]}ngOnInit(){this.subs=[this.siteProService.data$.subscribe(e=>{this.socialLinks=e.socialMedia,this.cd.detectChanges()})]}}return e.\u0275fac=function(t){return new(t||e)(a["\u0275\u0275directiveInject"](u.h),a["\u0275\u0275directiveInject"](a.ChangeDetectorRef))},e.\u0275cmp=a["\u0275\u0275defineComponent"]({type:e,selectors:[["social-links"]],features:[a["\u0275\u0275InheritDefinitionFeature"]],decls:1,vars:1,consts:[["class","social",4,"ngIf"],[1,"social"],["class","social__item",4,"ngFor","ngForOf"],[1,"social__item"],["target","_blank",1,"social__link",3,"href"],[1,"social__icon",3,"src","alt"]],template:function(e,t){1&e&&a["\u0275\u0275template"](0,v,2,1,"ul",0),2&e&&a["\u0275\u0275property"]("ngIf",t.socialLinks.length>0)},directives:[d.m,d.l],pipes:[_],styles:[".mobile-menu__item[_nghost-%COMP%]   .social[_ngcontent-%COMP%], .mobile-menu__item   [_nghost-%COMP%]   .social[_ngcontent-%COMP%]{justify-content:center}.social[_ngcontent-%COMP%]{display:flex;align-items:center;margin:0;padding:0}.social__item[_ngcontent-%COMP%]{--indent:14px;list-style-type:none;line-height:0}.social__item[_ngcontent-%COMP%]:not(:first-of-type){margin-left:var(--indent)}@media screen and (max-width:1280px){.social__item[_ngcontent-%COMP%]{--indent:10px}}.social__link[_ngcontent-%COMP%]{display:inline-block;padding:2px;opacity:.85;transition:opacity .3s}.social__link[_ngcontent-%COMP%]:hover{opacity:1}.social__icon[_ngcontent-%COMP%]{--size:20px;display:inline-block!important;width:var(--size);height:var(--size);line-height:0}"],changeDetection:0}),e})(),w=(()=>{class e{constructor(e){this.dialog=e}openLeadDialog(){this.dialog.closeAll(),this.dialog.afterAllClosed.pipe(Object(s.a)(1)).subscribe(()=>this.dialog.open(i.a,o.a))}}return e.\u0275fac=function(t){return new(t||e)(a["\u0275\u0275directiveInject"](l.b))},e.\u0275cmp=a["\u0275\u0275defineComponent"]({type:e,selectors:[["ng-component"]],decls:8,vars:0,consts:[[1,"mobile-menu"],[1,"mobile-menu__header"],["mat-dialog-close",""],[1,"mobile-menu__list"],[1,"mobile-menu__item"],["id","mobile-menu-callback-btn","aria-label","mobile-menu-callback-btn",1,"mobile-menu__callback",3,"click"]],template:function(e,t){1&e&&(a["\u0275\u0275elementStart"](0,"div",0),a["\u0275\u0275elementStart"](1,"header",1),a["\u0275\u0275element"](2,"close-btn",2),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](3,"div",3),a["\u0275\u0275element"](4,"phone-list",4),a["\u0275\u0275element"](5,"social-links",4),a["\u0275\u0275elementStart"](6,"button",5),a["\u0275\u0275listener"]("click",function(){return t.openLeadDialog()}),a["\u0275\u0275text"](7," \u041e\u0431\u0440\u0430\u0442\u043d\u044b\u0439 \u0437\u0432\u043e\u043d\u043e\u043a "),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"]())},directives:[c.a,l.c,m,y],styles:['@keyframes spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}  .cp-mobile-menu__dialog{--padding:0}.mobile-menu[_ngcontent-%COMP%]{height:100%;min-height:100vh;padding:0 8px 12px;box-sizing:border-box}.mobile-menu__header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;flex-shrink:0;height:66px}.mobile-menu__list[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex-grow:1;align-items:center;padding:16px 0;box-sizing:border-box}.mobile-menu__list[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not(:empty):not(:last-child){margin-bottom:36px}.mobile-menu__item[_ngcontent-%COMP%]{display:block}.mobile-menu__callback[_ngcontent-%COMP%]{display:inline-block;position:relative;padding:12px 24px;border:0;font-size:14px;font-weight:500;line-height:20px;text-decoration:none;cursor:pointer;border-radius:6px;background-color:RGB(var(--brand-color));color:RGB(var(--white-color))}.mobile-menu__callback[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;display:block;width:100%;height:100%;background-color:RGB(var(--color-contrast-750,56,55,54),.05);opacity:0;transition:opacity .3s}.mobile-menu__callback[_ngcontent-%COMP%]:hover:before{opacity:1}.mobile-menu__callback[_ngcontent-%COMP%]:disabled{background-color:RGB(var(--violet-5));color:RGB(var(--violet-40));pointer-events:none;box-shadow:inset 0 0 0 1px RGB(var(--black-10));cursor:default}.mobile-menu__callback[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{position:relative}'],changeDetection:0}),e})();const x={hasBackdrop:!1,width:"100vw",maxWidth:"100%",height:"100vh",maxHeight:"100vh",minHeight:"100vh",panelClass:["cp-dialog-pane","cp-mobile-menu__dialog"]};var C=n("6rF9"),O=n("vkgz"),S=n("5+tZ"),k=n("itXk"),E=n("iInd");function I(e,t){if(1&e&&(a["\u0275\u0275elementContainerStart"](0),a["\u0275\u0275elementStart"](1,"a",8),a["\u0275\u0275element"](2,"img",9),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementContainerEnd"]()),2&e){const e=a["\u0275\u0275nextContext"]();a["\u0275\u0275advance"](1),a["\u0275\u0275property"]("href",e.userDomain,a["\u0275\u0275sanitizeUrl"]),a["\u0275\u0275advance"](1),a["\u0275\u0275propertyInterpolate"]("src",e.logo,a["\u0275\u0275sanitizeUrl"])}}function P(e,t){if(1&e&&(a["\u0275\u0275elementStart"](0,"a",10),a["\u0275\u0275element"](1,"img",9),a["\u0275\u0275elementEnd"]()),2&e){const e=a["\u0275\u0275nextContext"]();a["\u0275\u0275advance"](1),a["\u0275\u0275propertyInterpolate"]("src",e.logo,a["\u0275\u0275sanitizeUrl"])}}const j=["*"];let M=(()=>{class e extends r.a{constructor(e,t,n,r){super(),this.siteProService=e,this.dialog=t,this.route=n,this.cd=r,this.logo="/catalog/assets/images/logo-default.png",this.userDomain="",this.isShowRootDomain=!1}ngOnInit(){this.subs=[this.route.queryParams.pipe(Object(O.a)(e=>this.regionId=e.regionId),Object(S.a)(e=>Object(k.a)([this.siteProService.data$]))).subscribe(([e])=>{this.logo=e.logo?e.logo.url:this.logo,this.userDomain=`${Object(C.c)(e.userDomain,e.isSite,this.regionId)}`,this.isShowRootDomain=!this.userDomain.includes("null"),this.cd.detectChanges()})]}openMenu(){this.dialog.open(w,x)}openLeadDialog(){this.dialog.open(i.a,o.a)}}return e.\u0275fac=function(t){return new(t||e)(a["\u0275\u0275directiveInject"](u.h),a["\u0275\u0275directiveInject"](l.b),a["\u0275\u0275directiveInject"](E.a),a["\u0275\u0275directiveInject"](a.ChangeDetectorRef))},e.\u0275cmp=a["\u0275\u0275defineComponent"]({type:e,selectors:[["app-header"]],features:[a["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:j,decls:19,vars:2,consts:[[1,"header"],[1,"header__wrapper"],[4,"ngIf","ngIfElse"],["emptyMainSite",""],[1,"header__contacts"],["id","header-callback-btn","aria-label","header-callback-btn",1,"header__callback",3,"click"],["id","mobile-menu-btn","aria-label","mobile-menu-btn",1,"mobile-menu__btn",3,"click"],[1,"header__additional"],[1,"header__logo",3,"href"],["alt","logo",1,"header__logo-img",3,"src"],[1,"header__logo"]],template:function(e,t){if(1&e&&(a["\u0275\u0275projectionDef"](),a["\u0275\u0275elementStart"](0,"header",0),a["\u0275\u0275elementStart"](1,"div",1),a["\u0275\u0275template"](2,I,3,2,"ng-container",2),a["\u0275\u0275template"](3,P,2,1,"ng-template",null,3,a["\u0275\u0275templateRefExtractor"]),a["\u0275\u0275elementStart"](5,"div",4),a["\u0275\u0275element"](6,"phone-list"),a["\u0275\u0275element"](7,"social-links"),a["\u0275\u0275elementStart"](8,"button",5),a["\u0275\u0275listener"]("click",function(){return t.openLeadDialog()}),a["\u0275\u0275text"](9,"\u041e\u0431\u0440\u0430\u0442\u043d\u044b\u0439 \u0437\u0432\u043e\u043d\u043e\u043a"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](10,"button",6),a["\u0275\u0275listener"]("click",function(){return t.openMenu()}),a["\u0275\u0275elementStart"](11,"div"),a["\u0275\u0275text"](12,"\xa0"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](13,"div"),a["\u0275\u0275text"](14,"\xa0"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](15,"div"),a["\u0275\u0275text"](16,"\xa0"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](17,"div",7),a["\u0275\u0275projection"](18),a["\u0275\u0275elementEnd"]()),2&e){const e=a["\u0275\u0275reference"](4);a["\u0275\u0275advance"](2),a["\u0275\u0275property"]("ngIf",t.isShowRootDomain)("ngIfElse",e)}},directives:[d.m,m,y],styles:['@keyframes spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.header[_ngcontent-%COMP%]{display:block;width:100%;padding:12px 0;background-color:RGB(var(--white-color));border-bottom:1px solid rgb(var(--violet-20))}.header__wrapper[_ngcontent-%COMP%]{--padding:40px;box-sizing:border-box;width:100%;max-width:1280px;margin-left:auto;margin-right:auto;padding-left:var(--padding);padding-right:var(--padding);display:flex}@media screen and (max-width:1023px){.header__wrapper[_ngcontent-%COMP%]{--padding:28px}}@media screen and (max-width:767px){.header__wrapper[_ngcontent-%COMP%]{--padding:20px}}@media screen and (max-width:640px){.header__wrapper[_ngcontent-%COMP%]{--padding:8px}}.header__logo[_ngcontent-%COMP%]{display:inline-block;height:42px}.header__logo-img[_ngcontent-%COMP%]{display:block;max-height:100%}.header__contacts[_ngcontent-%COMP%]{--indent:24px;display:flex;align-items:center;margin-left:auto}@media screen and (max-width:1280px){.header__contacts[_ngcontent-%COMP%]{--indent:18px}}@media screen and (max-width:767px){.header__contacts[_ngcontent-%COMP%]{display:none}}.header__contacts[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not(:empty){margin-left:var(--indent)}.header__callback[_ngcontent-%COMP%]{display:inline-block;position:relative;border:0;font-size:14px;font-weight:500;line-height:20px;text-decoration:none;cursor:pointer;border-radius:6px;padding:10px 24px;background-color:RGB(var(--brand-color));color:RGB(var(--white-color));white-space:nowrap}.header__callback[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;display:block;width:100%;height:100%;background-color:RGB(var(--color-contrast-750,56,55,54),.05);opacity:0;transition:opacity .3s}.header__callback[_ngcontent-%COMP%]:hover:before{opacity:1}.header__callback[_ngcontent-%COMP%]:disabled{background-color:RGB(var(--violet-5));color:RGB(var(--violet-40));pointer-events:none;box-shadow:inset 0 0 0 1px RGB(var(--black-10));cursor:default}.header__callback[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{position:relative}.mobile-menu__btn[_ngcontent-%COMP%]{display:none;flex-direction:column;align-items:center;align-self:center;justify-content:center;width:24px;height:24px;margin-left:auto;padding:0;border:0;background-color:initial;line-height:0;cursor:pointer}@media screen and (max-width:767px){.mobile-menu__btn[_ngcontent-%COMP%]{display:flex}}.mobile-menu__btn[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{width:18px;height:2px;border-radius:1px;background-color:RGB(var(--smoky-black-color))}.mobile-menu__btn[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:not(:last-of-type){margin-bottom:4px}.header__additional[_ngcontent-%COMP%]{width:100%}'],changeDetection:0}),e})()},SpAZ:function(e,t,n){"use strict";function r(e){return e}n.d(t,"a",function(){return r})},SsCj:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n("8Y7J"),i=n("o0su"),o=n("SVse");function s(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"li",2),r["\u0275\u0275elementStart"](1,"button",6),r["\u0275\u0275listener"]("click",function(){r["\u0275\u0275restoreView"](e);const n=t.$implicit;return r["\u0275\u0275nextContext"](2).clickButton(n)}),r["\u0275\u0275text"](2),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit,n=r["\u0275\u0275nextContext"](2);r["\u0275\u0275advance"](1),r["\u0275\u0275classProp"]("paginator__btn_active",n.activePage===e),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e)}}function a(e,t){if(1&e){const e=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementContainerStart"](0),r["\u0275\u0275elementStart"](1,"ul",1),r["\u0275\u0275elementStart"](2,"li",2),r["\u0275\u0275elementStart"](3,"button",3),r["\u0275\u0275listener"]("click",function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().prevButton()}),r["\u0275\u0275namespaceSVG"](),r["\u0275\u0275elementStart"](4,"svg",4),r["\u0275\u0275element"](5,"path",5),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275namespaceHTML"](),r["\u0275\u0275elementStart"](6,"li",2),r["\u0275\u0275elementStart"](7,"button",6),r["\u0275\u0275listener"]("click",function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().clickButton(1)}),r["\u0275\u0275text"](8,"1"),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](9,"li",7),r["\u0275\u0275elementStart"](10,"div",8),r["\u0275\u0275text"](11,"..."),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275template"](12,s,3,3,"li",9),r["\u0275\u0275elementStart"](13,"li",7),r["\u0275\u0275elementStart"](14,"div",8),r["\u0275\u0275text"](15,"..."),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](16,"li",2),r["\u0275\u0275elementStart"](17,"button",6),r["\u0275\u0275listener"]("click",function(){r["\u0275\u0275restoreView"](e);const t=r["\u0275\u0275nextContext"]();return t.clickButton(t.pages)}),r["\u0275\u0275text"](18),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](19,"li",2),r["\u0275\u0275elementStart"](20,"button",3),r["\u0275\u0275listener"]("click",function(){return r["\u0275\u0275restoreView"](e),r["\u0275\u0275nextContext"]().nextButton()}),r["\u0275\u0275namespaceSVG"](),r["\u0275\u0275elementStart"](21,"svg",4),r["\u0275\u0275element"](22,"path",10),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementContainerEnd"]()}if(2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](3),r["\u0275\u0275property"]("disabled",1===e.activePage),r["\u0275\u0275advance"](4),r["\u0275\u0275classProp"]("paginator__btn_active",1===e.activePage),r["\u0275\u0275advance"](2),r["\u0275\u0275classProp"]("show",e.isShowPrevDots()),r["\u0275\u0275advance"](3),r["\u0275\u0275property"]("ngForOf",e.buttonList),r["\u0275\u0275advance"](1),r["\u0275\u0275classProp"]("show",e.isShowNextDots()),r["\u0275\u0275advance"](4),r["\u0275\u0275classProp"]("paginator__btn_active",e.activePage===e.pages),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](e.pages),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("disabled",e.activePage===e.pages)}}let l=(()=>{class e{constructor(e){this.activePage=1,this.isScrollTop=!0,this.indentSize=1,this.changePage=new r.EventEmitter,this.buttonList=[],this.pages=0,e.selectedFilters$.subscribe(()=>{this.clickButton(1)})}ngOnChanges(e){this.pages=Math.ceil(this.listSize/this.pageSize),this.initButtonList()}clickButton(e){this.activePage=e,this.updateButtonList()}nextButton(){this.activePage!==this.pages&&(this.activePage++,this.updateButtonList())}prevButton(){1!==this.activePage&&(this.activePage--,this.updateButtonList())}isShowNextDots(){return this.activePage<this.pages-2}isShowPrevDots(){return this.activePage>3}initButtonList(){let e=[];for(let t=this.activePage-this.indentSize;t<this.activePage+this.indentSize+1;t++)t>=1&&t<=this.pages&&(e=[...e,t]);e.includes(1)&&e.shift(),e.includes(this.pages)&&e.pop(),this.buttonList=e}updateButtonList(){this.initButtonList(),this.changePage.emit(this.activePage),this.isScrollTop&&window.scroll(0,0)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](i.b))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["paginator"]],inputs:{listSize:"listSize",pageSize:"pageSize",activePage:"activePage",isScrollTop:"isScrollTop",indentSize:"indentSize"},outputs:{changePage:"changePage"},features:[r["\u0275\u0275NgOnChangesFeature"]],decls:1,vars:1,consts:[[4,"ngIf"],[1,"paginator"],[1,"paginator__item"],[1,"paginator__btn","paginator__btn_arrow",3,"disabled","click"],["viewBox","0 0 16 16","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M2.07516 8.4C1.97495 8.2 1.97495 7.9 2.07516 7.6C2.17537 7.5 2.17537 7.4 2.27558 7.3L5.28184 4.3C5.68267 3.9 6.28393 3.9 6.68476 4.3C7.0856 4.7 7.0856 5.3 6.68476 5.7L5.38205 7H12.9979C13.5992 7 14 7.4 14 8C14 8.6 13.5992 9 12.9979 9H5.38205L6.68476 10.3C7.0856 10.7 7.0856 11.3 6.68476 11.7C6.48434 11.9 6.28393 12 5.9833 12C5.68267 12 5.48226 11.9 5.28184 11.7L2.27558 8.7C2.17537 8.6 2.07516 8.5 2.07516 8.4Z","fill","currentColor"],[1,"paginator__btn",3,"click"],[1,"paginator__item","paginator__item_dots"],[1,"paginator__dots"],["class","paginator__item",4,"ngFor","ngForOf"],["d","M13.9248 8.4C14.0251 8.2 14.0251 7.9 13.9248 7.6C13.8246 7.5 13.8246 7.4 13.7244 7.3L10.7182 4.3C10.3173 3.9 9.71607 3.9 9.31524 4.3C8.9144 4.7 8.9144 5.3 9.31524 5.7L10.618 7H3.00209C2.40084 7 2 7.4 2 8C2 8.6 2.40084 9 3.00209 9H10.618L9.31524 10.3C8.9144 10.7 8.9144 11.3 9.31524 11.7C9.51566 11.9 9.71607 12 10.0167 12C10.3173 12 10.5177 11.9 10.7182 11.7L13.7244 8.7C13.8246 8.6 13.9248 8.5 13.9248 8.4Z","fill","currentColor"]],template:function(e,t){1&e&&r["\u0275\u0275template"](0,a,23,12,"ng-container",0),2&e&&r["\u0275\u0275property"]("ngIf",t.pages>1)},directives:[o.m,o.l],styles:["[_nghost-%COMP%]{--item-size:40px}.paginator[_ngcontent-%COMP%]{display:flex;margin:0;padding:0}.paginator__item[_ngcontent-%COMP%]{list-style-type:none}.paginator__item[_ngcontent-%COMP%]:not(:first-child){margin-left:8px}.paginator__item_dots[_ngcontent-%COMP%]{display:none}.paginator__item_dots.show[_ngcontent-%COMP%]{display:block}.paginator__dots[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:var(--item-size);height:var(--item-size)}.paginator-mobile__counter[_ngcontent-%COMP%], .paginator__btn[_ngcontent-%COMP%]{width:var(--item-size);height:var(--item-size);border:0;border-radius:50%;background-color:initial;color:RGB(var(--shadow-blue-color));cursor:pointer}.paginator-mobile__counter_active[_ngcontent-%COMP%], .paginator__btn_active[_ngcontent-%COMP%]{background-color:RGB(var(--shadow-blue-color));color:RGB(var(--white-color))}.paginator__btn_arrow[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;color:RGB(var(--shadow-blue-color),.85);transition:color .3s}.paginator__btn_arrow[_ngcontent-%COMP%]:hover{color:RGB(var(--shadow-blue-color))}.paginator__btn_arrow[_ngcontent-%COMP%]:disabled{opacity:.5;cursor:default}.paginator__btn_arrow[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:16px;height:16px}.paginator-mobile[_ngcontent-%COMP%]{display:none}@media screen and (max-width:640px){.paginator-mobile[_ngcontent-%COMP%]{display:flex}}.paginator-mobile__counters[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin-right:40px}.paginator-mobile__counter[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;pointer-events:auto}.paginator-mobile__controls[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}"],changeDetection:0}),e})()},UVXo:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("8Y7J"),i=n("s7LF"),o=n("cUpR"),s=n("FpO7"),a=n("8Y7J");t.TextMaskConfig=function(){return function(){}}(),t.MASKEDINPUT_VALUE_ACCESSOR={provide:i.NG_VALUE_ACCESSOR,useExisting:r.forwardRef(function(){return l}),multi:!0};var l=function(){function e(e,t,n){var r;this._renderer=e,this._elementRef=t,this._compositionMode=n,this.textMaskConfig={mask:[],guide:!0,placeholderChar:"_",pipe:void 0,keepCharPositions:!1},this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=o.\u0275getDOM()?o.\u0275getDOM().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return e.prototype.ngOnChanges=function(e){this._setupMask(!0),void 0!==this.textMaskInputElement&&this.textMaskInputElement.update(this.inputElement.value)},e.prototype.writeValue=function(e){this._setupMask(),this._renderer.setProperty(this.inputElement,"value",null==e?"":e),void 0!==this.textMaskInputElement&&this.textMaskInputElement.update(e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._handleInput=function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&(this._setupMask(),void 0!==this.textMaskInputElement&&(this.textMaskInputElement.update(e),this.onChange(e=this.inputElement.value)))},e.prototype._setupMask=function(e){void 0===e&&(e=!1),this.inputElement||(this.inputElement="INPUT"===this._elementRef.nativeElement.tagName.toUpperCase()?this._elementRef.nativeElement:this._elementRef.nativeElement.getElementsByTagName("INPUT")[0]),this.inputElement&&e&&(this.textMaskInputElement=s.createTextMaskInputElement(Object.assign({inputElement:this.inputElement},this.textMaskConfig)))},e.prototype._compositionStart=function(){this._composing=!0},e.prototype._compositionEnd=function(e){this._composing=!1,this._compositionMode&&this._handleInput(e)},e.propDecorators={textMaskConfig:[{type:r.Input,args:["textMask"]}]},e.\u0275fac=function(t){return new(t||e)(a.\u0275\u0275directiveInject(a.Renderer2),a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(i.COMPOSITION_BUFFER_MODE,8))},e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["","textMask",""]],hostBindings:function(e,t){1&e&&a.\u0275\u0275listener("input",function(e){return t._handleInput(e.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(e){return t._compositionEnd(e.target.value)})},inputs:{textMaskConfig:["textMask","textMaskConfig"]},exportAs:["textMask"],features:[a.\u0275\u0275ProvidersFeature([t.MASKEDINPUT_VALUE_ACCESSOR]),a.\u0275\u0275NgOnChangesFeature]}),e}();t.MaskedInputDirective=l,t.TextMaskModule=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=a.\u0275\u0275defineInjector({}),e}();var c=n("FpO7");t.conformToMask=c.conformToMask},"UhP/":function(e,t,n){"use strict";n.d(t,"a",function(){return S}),n.d(t,"b",function(){return H}),n.d(t,"c",function(){return L}),n.d(t,"d",function(){return v}),n.d(t,"e",function(){return W}),n.d(t,"f",function(){return Z}),n.d(t,"g",function(){return $}),n.d(t,"h",function(){return A}),n.d(t,"i",function(){return T}),n.d(t,"j",function(){return Y}),n.d(t,"k",function(){return q}),n.d(t,"l",function(){return w}),n.d(t,"m",function(){return x}),n.d(t,"n",function(){return y}),n.d(t,"o",function(){return O}),n.d(t,"p",function(){return C});var r=n("8Y7J"),i=n("YEUz"),o=n("9gLZ");const s=new r.Version("11.2.13");var a=n("SVse"),l=n("8LU1"),c=n("XNiG"),u=(n("HDdC"),n("SCoL")),d=(n("JX91"),n("omvX")),h=n("Ht+U");function p(e,t){if(1&e&&r["\u0275\u0275element"](0,"mat-pseudo-checkbox",4),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275property"]("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function f(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"span",5),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"]("(",e.group.label,")")}}const m=["*"],g=new r.Version("11.2.13"),_=new r.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let b,v=(()=>{class e{constructor(e,t,n){this._hasDoneGlobalChecks=!1,this._document=n,e._applyBodyHighContrastModeCssClasses(),this._sanityChecks=t,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getWindow(){const e=this._document.defaultView||window;return"object"==typeof e&&e?e:null}_checksAreEnabled(){return Object(r.isDevMode)()&&!this._isTestEnv()}_isTestEnv(){const e=this._getWindow();return e&&(e.__karma__||e.jasmine)}_checkDoctypeIsDefined(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme||!this._document.body||"function"!=typeof getComputedStyle)return;const e=this._document.createElement("div");e.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(e);const t=getComputedStyle(e);t&&"none"!==t.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(e)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&g.full!==s.full&&console.warn("The Angular Material version ("+g.full+") does not match the Angular CDK version ("+s.full+").\nPlease ensure the versions of these two packages exactly match.")}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](i.e),r["\u0275\u0275inject"](_,8),r["\u0275\u0275inject"](a.d))},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({imports:[[o.a],o.a]}),e})();function y(e){return class extends e{constructor(...e){super(...e),this._disabled=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=Object(l.b)(e)}}}function w(e,t){return class extends e{constructor(...e){super(...e),this.defaultColor=t,this.color=t}get color(){return this._color}set color(e){const t=e||this.defaultColor;t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),t&&this._elementRef.nativeElement.classList.add(`mat-${t}`),this._color=t)}}}function x(e){return class extends e{constructor(...e){super(...e),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Object(l.b)(e)}}}function C(e,t=0){return class extends e{constructor(...e){super(...e),this._tabIndex=t,this.defaultTabIndex=t}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?Object(l.e)(e):this.defaultTabIndex}}}function O(e){return class extends e{constructor(...e){super(...e),this.errorState=!1,this.stateChanges=new c.a}updateErrorState(){const e=this.errorState,t=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);t!==e&&(this.errorState=t,this.stateChanges.next())}}}try{b="undefined"!=typeof Intl}catch(Q){b=!1}let S=(()=>{class e{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:"root"}),e})();class k{constructor(e,t,n){this._renderer=e,this.element=t,this.config=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const E={enterDuration:450,exitDuration:400},I=Object(u.f)({passive:!0}),P=["mousedown","touchstart"],j=["mouseup","mouseleave","touchend","touchcancel"];class M{constructor(e,t,n,r){this._target=e,this._ngZone=t,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Object(l.d)(n))}fadeInRipple(e,t,n={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=Object.assign(Object.assign({},E),n.animation);n.centered&&(e=r.left+r.width/2,t=r.top+r.height/2);const o=n.radius||function(e,t,n){const r=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),i=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(r*r+i*i)}(e,t,r),s=e-r.left,a=t-r.top,l=i.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=s-o+"px",c.style.top=a-o+"px",c.style.height=2*o+"px",c.style.width=2*o+"px",null!=n.color&&(c.style.backgroundColor=n.color),c.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";const u=new k(this,c,n);return u.state=0,this._activeRipples.add(u),n.persistent||(this._mostRecentTransientRipple=u),this._runTimeoutOutsideZone(()=>{const e=u===this._mostRecentTransientRipple;u.state=1,n.persistent||e&&this._isPointerDown||u.fadeOut()},l),u}fadeOutRipple(e){const t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!t)return;const n=e.element,r=Object.assign(Object.assign({},E),e.config.animation);n.style.transitionDuration=`${r.exitDuration}ms`,n.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(()=>{e.state=3,n.parentNode.removeChild(n)},r.exitDuration)}fadeOutAll(){this._activeRipples.forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){const t=Object(l.d)(e);t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(P))}handleEvent(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(j),this._pointerUpEventsRegistered=!0)}_onMousedown(e){const t=Object(i.g)(e),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||t||n||(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}_onTouchStart(e){if(!this._target.rippleDisabled&&!Object(i.h)(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const t=e.changedTouches;for(let e=0;e<t.length;e++)this.fadeInRipple(t[e].clientX,t[e].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach(e=>{!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()}))}_runTimeoutOutsideZone(e,t=0){this._ngZone.runOutsideAngular(()=>setTimeout(e,t))}_registerEvents(e){this._ngZone.runOutsideAngular(()=>{e.forEach(e=>{this._triggerElement.addEventListener(e,this,I)})})}_removeTriggerEvents(){this._triggerElement&&(P.forEach(e=>{this._triggerElement.removeEventListener(e,this,I)}),this._pointerUpEventsRegistered&&j.forEach(e=>{this._triggerElement.removeEventListener(e,this,I)}))}}const R=new r.InjectionToken("mat-ripple-global-options");let A=(()=>{class e{constructor(e,t,n,r,i){this._elementRef=e,this._animationMode=i,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new M(this,t,e,n)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,n){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.NgZone),r["\u0275\u0275directiveInject"](u.a),r["\u0275\u0275directiveInject"](R,8),r["\u0275\u0275directiveInject"](d.a,8))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&r["\u0275\u0275classProp"]("mat-ripple-unbounded",t.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),e})(),T=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({imports:[[v,u.b],v]}),e})(),D=(()=>{class e{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](d.a,8))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&r["\u0275\u0275classProp"]("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),e})(),F=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({imports:[[v]]}),e})();const L=new r.InjectionToken("MAT_OPTION_PARENT_COMPONENT");class N{}const V=y(N);let B=0,z=(()=>{class e extends V{constructor(e){var t;super(),this._labelId="mat-optgroup-label-"+B++,this._inert=null!==(t=null==e?void 0:e.inertGroups)&&void 0!==t&&t}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](L,8))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,inputs:{label:"label"},features:[r["\u0275\u0275InheritDefinitionFeature"]]}),e})();const H=new r.InjectionToken("MatOptgroup");let U=0;class ${constructor(e,t=!1){this.source=e,this.isUserInput=t}}let G=(()=>{class e{constructor(e,t,n,i){this._element=e,this._changeDetectorRef=t,this._parent=n,this.group=i,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+U++,this.onSelectionChange=new r.EventEmitter,this._stateChanges=new c.a}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=Object(l.b)(e)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,t){const n=this._getHostElement();"function"==typeof n.focus&&n.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){e.keyCode!==h.d&&e.keyCode!==h.l||Object(h.q)(e)||(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new $(this,e))}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef),r["\u0275\u0275directiveInject"](void 0),r["\u0275\u0275directiveInject"](z))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),e})(),W=(()=>{class e extends G{constructor(e,t,n,r){super(e,t,n,r)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef),r["\u0275\u0275directiveInject"](L,8),r["\u0275\u0275directiveInject"](H,8))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("click",function(){return t._selectViaInteraction()})("keydown",function(e){return t._handleKeydown(e)}),2&e&&(r["\u0275\u0275hostProperty"]("id",t.id),r["\u0275\u0275attribute"]("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),r["\u0275\u0275classProp"]("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[r["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:m,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,t){1&e&&(r["\u0275\u0275projectionDef"](),r["\u0275\u0275template"](0,p,1,2,"mat-pseudo-checkbox",0),r["\u0275\u0275elementStart"](1,"span",1),r["\u0275\u0275projection"](2),r["\u0275\u0275elementEnd"](),r["\u0275\u0275template"](3,f,2,1,"span",2),r["\u0275\u0275element"](4,"div",3)),2&e&&(r["\u0275\u0275property"]("ngIf",t.multiple),r["\u0275\u0275advance"](3),r["\u0275\u0275property"]("ngIf",t.group&&t.group._inert),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[a.m,A,D],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),e})();function Y(e,t,n){if(n.length){let r=t.toArray(),i=n.toArray(),o=0;for(let t=0;t<e+1;t++)r[t].group&&r[t].group===i[o]&&o++;return o}return 0}function q(e,t,n,r){return e<n?e:e+t>n+r?Math.max(0,e-r+t):n}let Z=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({imports:[[T,a.c,v,F]]}),e})()},Utyn:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("SVse"),i=n("8Y7J");let o=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[[r.c]]}),e})()},VHTt:function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"a",function(){return i});var r=function(e){return e[e.WhatsApp=1]="WhatsApp",e[e.Facebook=2]="Facebook",e[e.Instagram=3]="Instagram",e[e.Telegram=4]="Telegram",e[e.YouTube=5]="YouTube",e[e.Vkontakte=6]="Vkontakte",e}({}),i=function(e){return e[e.InProgress=0]="InProgress",e[e.Success=1]="Success",e[e.Error=2]="Error",e[e.Reset=3]="Reset",e}({})},VRyK:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("HDdC"),i=n("z+Ro"),o=n("bHdf"),s=n("yCtX");function a(...e){let t=Number.POSITIVE_INFINITY,n=null,a=e[e.length-1];return Object(i.a)(a)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof a&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof r.a?e[0]:Object(o.a)(t)(Object(s.a)(e,n))}},WMd4:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("EY2u"),i=n("LRne"),o=n("z6cu");let s=(()=>{class e{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}accept(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}toObservable(){switch(this.kind){case"N":return Object(i.a)(this.value);case"E":return Object(o.a)(this.error);case"C":return Object(r.b)()}throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}static createError(t){return new e("E",void 0,t)}static createComplete(){return e.completeNotification}}return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e})()},XNiG:function(e,t,n){"use strict";n.d(t,"b",function(){return c}),n.d(t,"a",function(){return u});var r=n("HDdC"),i=n("7o/Q"),o=n("quSY"),s=n("9ppp"),a=n("Ylt2"),l=n("2QA8");class c extends i.a{constructor(e){super(e),this.destination=e}}let u=(()=>{class e extends r.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[l.a](){return new c(this)}lift(e){const t=new d(this,this);return t.operator=e,t}next(e){if(this.closed)throw new s.a;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let i=0;i<n;i++)r[i].next(e)}}error(e){if(this.closed)throw new s.a;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,r=t.slice();for(let i=0;i<n;i++)r[i].error(e);this.observers.length=0}complete(){if(this.closed)throw new s.a;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let r=0;r<t;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new s.a;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new s.a;return this.hasError?(e.error(this.thrownError),o.a.EMPTY):this.isStopped?(e.complete(),o.a.EMPTY):(this.observers.push(e),new a.a(this,e))}asObservable(){const e=new r.a;return e.source=this,e}}return e.create=(e,t)=>new d(e,t),e})();class d extends u{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):o.a.EMPTY}}},XoHu:function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e}n.d(t,"a",function(){return r})},YEUz:function(e,t,n){"use strict";n.d(t,"a",function(){return _}),n.d(t,"b",function(){return b}),n.d(t,"c",function(){return M}),n.d(t,"d",function(){return C}),n.d(t,"e",function(){return F}),n.d(t,"f",function(){return k}),n.d(t,"g",function(){return E}),n.d(t,"h",function(){return I});var r=n("SVse"),i=n("8Y7J"),o=n("XNiG"),s=n("quSY"),a=n("LRne"),l=n("Ht+U"),c=n("vkgz"),u=n("Kj3r"),d=n("pLZG"),h=n("lJxs"),p=n("IzEk"),f=n("8LU1"),m=n("SCoL");n("9b/N");class g{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new o.a,this._typeaheadSubscription=s.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new o.a,this.change=new o.a,e instanceof i.QueryList&&e.changes.subscribe(e=>{if(this._activeItem){const t=e.toArray().indexOf(this._activeItem);t>-1&&t!==this._activeItemIndex&&(this._activeItemIndex=t)}})}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(c.a)(e=>this._pressedLetters.push(e)),Object(u.a)(e),Object(d.a)(()=>this._pressedLetters.length>0),Object(h.a)(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let n=1;n<t.length+1;n++){const r=(this._activeItemIndex+n)%t.length,i=t[r];if(!this._skipPredicateFn(i)&&0===i.getLabel().toUpperCase().trim().indexOf(e)){this.setActiveItem(r);break}}this._pressedLetters=[]}),this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}setActiveItem(e){const t=this._activeItem;this.updateActiveItem(e),this._activeItem!==t&&this.change.next(this._activeItemIndex)}onKeydown(e){const t=e.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(t=>!e[t]||this._allowedModifierKeys.indexOf(t)>-1);switch(t){case l.m:return void this.tabOut.next();case l.b:if(this._vertical&&n){this.setNextItemActive();break}return;case l.n:if(this._vertical&&n){this.setPreviousItemActive();break}return;case l.k:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case l.g:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case l.f:if(this._homeAndEnd&&n){this.setFirstItemActive();break}return;case l.c:if(this._homeAndEnd&&n){this.setLastItemActive();break}return;default:return void((n||Object(l.q)(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(t>=l.a&&t<=l.o||t>=l.p&&t<=l.h)&&this._letterKeyStream.next(String.fromCharCode(t))))}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){const t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),r=t[n];this._activeItem=null==r?null:r,this._activeItemIndex=n}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){const t=this._getItemsArray();for(let n=1;n<=t.length;n++){const r=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,t){const n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof i.QueryList?this._items.toArray():this._items}}class _ extends g{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}}class b extends g{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}}let v=(()=>{class e{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function(e){try{return e.frameElement}catch(t){return null}}((n=e).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(t){if(-1===w(t))return!1;if(!this.isVisible(t))return!1}let r=e.nodeName.toLowerCase(),i=w(e);return e.hasAttribute("contenteditable")?-1!==i:"iframe"!==r&&"object"!==r&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){let t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&("audio"===r?!!e.hasAttribute("controls")&&-1!==i:"video"===r?-1!==i&&(null!==i||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){let t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||y(e))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](m.a))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(m.a))},token:e,providedIn:"root"}),e})();function y(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;let t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function w(e){if(!y(e))return null;const t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class x{constructor(e,t,n,r,i=!1){this._element=e,this._checker=t,this._ngZone=n,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,i||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){const e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement()))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);for(let n=0;n<t.length;n++)t[n].hasAttribute(`cdk-focus-${e}`)?console.warn(`Found use of deprecated attribute 'cdk-focus-${e}', use 'cdkFocusRegion${e}' instead. The deprecated attribute will be removed in 8.0.0.`,t[n]):t[n].hasAttribute(`cdk-focus-region-${e}`)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${e}', use 'cdkFocusRegion${e}' instead. The deprecated attribute will be removed in 8.0.0.`,t[n]);return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(e.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",e),!this._checker.isFocusable(e)){const t=this._getFirstTabbableElement(e);return null==t||t.focus(),!!t}return e.focus(),!0}return this.focusFirstTabbableElement()}focusFirstTabbableElement(){const e=this._getRegionBoundary("start");return e&&e.focus(),!!e}focusLastTabbableElement(){const e=this._getRegionBoundary("end");return e&&e.focus(),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children||e.childNodes;for(let n=0;n<t.length;n++){let e=t[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[n]):null;if(e)return e}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children||e.childNodes;for(let n=t.length-1;n>=0;n--){let e=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(e)return e}return null}_createAnchor(){const e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(Object(p.a)(1)).subscribe(e)}}let C=(()=>{class e{constructor(e,t,n){this._checker=e,this._ngZone=t,this._document=n}create(e,t=!1){return new x(e,this._checker,this._ngZone,this._document,t)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](v),i["\u0275\u0275inject"](i.NgZone),i["\u0275\u0275inject"](r.d))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(v),Object(i["\u0275\u0275inject"])(i.NgZone),Object(i["\u0275\u0275inject"])(r.d))},token:e,providedIn:"root"}),e})();"undefined"!=typeof Element&&Element;const O=new i.InjectionToken("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),S=new i.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let k=(()=>{class e{constructor(e,t,n,r){this._ngZone=t,this._defaultOptions=r,this._document=n,this._liveElement=e||this._createLiveElement()}announce(e,...t){const n=this._defaultOptions;let r,i;return 1===t.length&&"number"==typeof t[0]?i=t[0]:[r,i]=t,this.clear(),clearTimeout(this._previousTimeout),r||(r=n&&n.politeness?n.politeness:"polite"),null==i&&n&&(i=n.duration),this._liveElement.setAttribute("aria-live",r),this._ngZone.runOutsideAngular(()=>new Promise(t=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,t(),"number"==typeof i&&(this._previousTimeout=setTimeout(()=>this.clear(),i))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),n=this._document.createElement("div");for(let r=0;r<t.length;r++)t[r].parentNode.removeChild(t[r]);return n.classList.add(e),n.classList.add("cdk-visually-hidden"),n.setAttribute("aria-atomic","true"),n.setAttribute("aria-live","polite"),this._document.body.appendChild(n),n}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](O,8),i["\u0275\u0275inject"](i.NgZone),i["\u0275\u0275inject"](r.d),i["\u0275\u0275inject"](S,8))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(O,8),Object(i["\u0275\u0275inject"])(i.NgZone),Object(i["\u0275\u0275inject"])(r.d),Object(i["\u0275\u0275inject"])(S,8))},token:e,providedIn:"root"}),e})();function E(e){return 0===e.buttons}function I(e){const t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}const P=new i.InjectionToken("cdk-focus-monitor-default-options"),j=Object(m.f)({passive:!0,capture:!0});let M=(()=>{class e{constructor(e,t,n,r){this._ngZone=e,this._platform=t,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=e=>{if(!this._lastTouchTarget){const t=E(e)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(t)}},this._documentTouchstartListener=e=>{I(e)?this._lastTouchTarget||this._setOriginForCurrentEventQueue("keyboard"):(null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=R(e),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650))},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=e=>{const t=R(e),n="focus"===e.type?this._onFocus:this._onBlur;for(let r=t;r;r=r.parentElement)n.call(this,e,r)},this._document=n,this._detectionMode=(null==r?void 0:r.detectionMode)||0}monitor(e,t=!1){const n=Object(f.d)(e);if(!this._platform.isBrowser||1!==n.nodeType)return Object(a.a)(null);const r=Object(m.c)(n)||this._getDocument(),i=this._elementInfo.get(n);if(i)return t&&(i.checkChildren=!0),i.subject;const s={checkChildren:t,subject:new o.a,rootNode:r};return this._elementInfo.set(n,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){const t=Object(f.d)(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}focusVia(e,t,n){const r=Object(f.d)(e);r===this._getDocument().activeElement?this._getClosestElementsInfo(r).forEach(([e,n])=>this._originChanged(e,t,n)):(this._setOriginForCurrentEventQueue(t),"function"==typeof r.focus&&r.focus(n))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(e,t,n){n?e.classList.add(t):e.classList.remove(t)}_getFocusOrigin(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"}_setClasses(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}_setOriginForCurrentEventQueue(e){this._ngZone.runOutsideAngular(()=>{this._origin=e,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(e){const t=R(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}_onFocus(e,t){const n=this._elementInfo.get(t);n&&(n.checkChildren||t===R(e))&&this._originChanged(t,this._getFocusOrigin(e),n)}_onBlur(e,t){const n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,n=this._rootNodeFocusListenerCount.get(t)||0;n||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,j),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,j)}),this._rootNodeFocusListenerCount.set(t,n+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const e=this._getDocument(),t=this._getWindow();e.addEventListener("keydown",this._documentKeydownListener,j),e.addEventListener("mousedown",this._documentMousedownListener,j),e.addEventListener("touchstart",this._documentTouchstartListener,j),t.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const e=this._rootNodeFocusListenerCount.get(t);e>1?this._rootNodeFocusListenerCount.set(t,e-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,j),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,j),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){const e=this._getDocument(),t=this._getWindow();e.removeEventListener("keydown",this._documentKeydownListener,j),e.removeEventListener("mousedown",this._documentMousedownListener,j),e.removeEventListener("touchstart",this._documentTouchstartListener,j),t.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}_originChanged(e,t,n){this._setClasses(e,t),this._emitOrigin(n.subject,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){const t=[];return this._elementInfo.forEach((n,r)=>{(r===e||n.checkChildren&&r.contains(e))&&t.push([r,n])}),t}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](i.NgZone),i["\u0275\u0275inject"](m.a),i["\u0275\u0275inject"](r.d,8),i["\u0275\u0275inject"](P,8))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(i.NgZone),Object(i["\u0275\u0275inject"])(m.a),Object(i["\u0275\u0275inject"])(r.d,8),Object(i["\u0275\u0275inject"])(P,8))},token:e,providedIn:"root"}),e})();function R(e){return e.composedPath?e.composedPath()[0]:e.target}const A="cdk-high-contrast-black-on-white",T="cdk-high-contrast-white-on-black",D="cdk-high-contrast-active";let F=(()=>{class e{constructor(e,t){this._platform=e,this._document=t}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,r=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),r){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(D),e.remove(A),e.remove(T);const t=this.getHighContrastMode();1===t?(e.add(D),e.add(A)):2===t&&(e.add(D),e.add(T))}}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](m.a),i["\u0275\u0275inject"](r.d))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(m.a),Object(i["\u0275\u0275inject"])(r.d))},token:e,providedIn:"root"}),e})()},Ylt2:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("quSY");class i extends r.a{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},YwCB:function(e,t,n){"use strict";n.d(t,"a",function(){return g});var r=n("SVse"),i=n("pFkP"),o=n("8Y7J");let s=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({imports:[[r.c,i.j]]}),e})(),a=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({imports:[[r.c,i.g]]}),e})();var l=n("iELJ"),c=n("wAoj"),u=n("s7LF"),d=n("JUsA"),h=n("nZVP"),p=n("UVXo");let f=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({imports:[[r.c,u.ReactiveFormsModule,p.TextMaskModule,d.a,h.a,l.d,c.a]]}),e})(),m=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({imports:[[l.d,s,a,c.a,f]]}),e})(),g=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({imports:[[r.c,s,a,m,f]]}),e})()},ZAkL:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("SVse"),i=n("pFkP"),o=n("8Y7J");let s=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({imports:[[r.c,i.f]]}),e})()},"ZTz/":function(e,t,n){"use strict";n.d(t,"a",function(){return W}),n.d(t,"b",function(){return q});var r=n("1O3W"),i=n("SVse"),o=n("8Y7J"),s=n("UhP/"),a=n("Q2Ze"),l=n("7KAL"),c=n("YEUz"),u=n("8LU1"),d=n("CtHx"),h=n("Ht+U"),p=n("XNiG"),f=n("NXyV"),m=n("VRyK"),g=n("JX91"),_=n("eIep"),b=n("IzEk"),v=n("pLZG"),y=n("lJxs"),w=n("/uUt"),x=n("1G5W"),C=n("GS7A"),O=n("9gLZ"),S=n("s7LF");const k=["trigger"],E=["panel"];function I(e,t){if(1&e&&(o["\u0275\u0275elementStart"](0,"span",8),o["\u0275\u0275text"](1),o["\u0275\u0275elementEnd"]()),2&e){const e=o["\u0275\u0275nextContext"]();o["\u0275\u0275advance"](1),o["\u0275\u0275textInterpolate"](e.placeholder)}}function P(e,t){if(1&e&&(o["\u0275\u0275elementStart"](0,"span",12),o["\u0275\u0275text"](1),o["\u0275\u0275elementEnd"]()),2&e){const e=o["\u0275\u0275nextContext"](2);o["\u0275\u0275advance"](1),o["\u0275\u0275textInterpolate"](e.triggerValue)}}function j(e,t){1&e&&o["\u0275\u0275projection"](0,0,["*ngSwitchCase","true"])}function M(e,t){if(1&e&&(o["\u0275\u0275elementStart"](0,"span",9),o["\u0275\u0275template"](1,P,2,1,"span",10),o["\u0275\u0275template"](2,j,1,0,"ng-content",11),o["\u0275\u0275elementEnd"]()),2&e){const e=o["\u0275\u0275nextContext"]();o["\u0275\u0275property"]("ngSwitch",!!e.customTrigger),o["\u0275\u0275advance"](2),o["\u0275\u0275property"]("ngSwitchCase",!0)}}function R(e,t){if(1&e){const e=o["\u0275\u0275getCurrentView"]();o["\u0275\u0275elementStart"](0,"div",13),o["\u0275\u0275elementStart"](1,"div",14,15),o["\u0275\u0275listener"]("@transformPanel.done",function(t){return o["\u0275\u0275restoreView"](e),o["\u0275\u0275nextContext"]()._panelDoneAnimatingStream.next(t.toState)})("keydown",function(t){return o["\u0275\u0275restoreView"](e),o["\u0275\u0275nextContext"]()._handleKeydown(t)}),o["\u0275\u0275projection"](3,1),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementEnd"]()}if(2&e){const e=o["\u0275\u0275nextContext"]();o["\u0275\u0275property"]("@transformPanelWrap",void 0),o["\u0275\u0275advance"](1),o["\u0275\u0275classMapInterpolate1"]("mat-select-panel ",e._getPanelTheme(),""),o["\u0275\u0275styleProp"]("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),o["\u0275\u0275property"]("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),o["\u0275\u0275attribute"]("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const A=[[["mat-select-trigger"]],"*"],T=["mat-select-trigger","*"],D={transformPanelWrap:Object(C.l)("transformPanelWrap",[Object(C.k)("* => void",Object(C.g)("@transformPanel",[Object(C.f)()],{optional:!0}))]),transformPanel:Object(C.l)("transformPanel",[Object(C.i)("void",Object(C.j)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Object(C.i)("showing",Object(C.j)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Object(C.i)("showing-multiple",Object(C.j)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Object(C.k)("void => *",Object(C.e)("120ms cubic-bezier(0, 0, 0.2, 1)")),Object(C.k)("* => void",Object(C.e)("100ms 25ms linear",Object(C.j)({opacity:0})))])};let F=0;const L=256,N=new o.InjectionToken("mat-select-scroll-strategy"),V=new o.InjectionToken("MAT_SELECT_CONFIG"),B={provide:N,deps:[r.c],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};class z{constructor(e,t){this.source=e,this.value=t}}class H{constructor(e,t,n,r,i){this._elementRef=e,this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=r,this.ngControl=i}}const U=Object(s.m)(Object(s.p)(Object(s.n)(Object(s.o)(H)))),$=new o.InjectionToken("MatSelectTrigger");let G=(()=>{class e extends U{constructor(e,t,n,r,i,s,a,l,c,u,d,h,w,x){var C,O,S;super(i,r,a,l,u),this._viewportRuler=e,this._changeDetectorRef=t,this._ngZone=n,this._dir=s,this._parentFormField=c,this.ngControl=u,this._liveAnnouncer=w,this._defaultOptions=x,this._panelOpen=!1,this._compareWith=(e,t)=>e===t,this._uid="mat-select-"+F++,this._triggerAriaLabelledBy=null,this._destroy=new p.a,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+F++,this._panelDoneAnimatingStream=new p.a,this._overlayPanelClass=(null===(C=this._defaultOptions)||void 0===C?void 0:C.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._required=!1,this._multiple=!1,this._disableOptionCentering=null!==(S=null===(O=this._defaultOptions)||void 0===O?void 0:O.disableOptionCentering)&&void 0!==S&&S,this.ariaLabel="",this.optionSelectionChanges=Object(f.a)(()=>{const e=this.options;return e?e.changes.pipe(Object(g.a)(e),Object(_.a)(()=>Object(m.a)(...e.map(e=>e.onSelectionChange)))):this._ngZone.onStable.pipe(Object(b.a)(1),Object(_.a)(()=>this.optionSelectionChanges))}),this.openedChange=new o.EventEmitter,this._openedStream=this.openedChange.pipe(Object(v.a)(e=>e),Object(y.a)(()=>{})),this._closedStream=this.openedChange.pipe(Object(v.a)(e=>!e),Object(y.a)(()=>{})),this.selectionChange=new o.EventEmitter,this.valueChange=new o.EventEmitter,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==x?void 0:x.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=x.typeaheadDebounceInterval),this._scrollStrategyFactory=h,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(d)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required}set required(e){this._required=Object(u.b)(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=Object(u.b)(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=Object(u.b)(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=Object(u.e)(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new d.b(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(w.a)(),Object(x.a)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(Object(x.a)(this._destroy)).subscribe(e=>{e.added.forEach(e=>e.select()),e.removed.forEach(e=>e.deselect())}),this.options.changes.pipe(Object(g.a)(null),Object(x.a)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby();if(e!==this._triggerAriaLabelledBy){const t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?t.setAttribute("aria-labelledby",e):t.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this.value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,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 e=this._selectionModel.selected.map(e=>e.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const t=e.keyCode,n=t===h.b||t===h.n||t===h.g||t===h.k,r=t===h.d||t===h.l,i=this._keyManager;if(!i.isTyping()&&r&&!Object(h.q)(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){const t=this.selected;i.onKeydown(e);const n=this.selected;n&&t!==n&&this._liveAnnouncer.announce(n.viewValue,1e4)}}_handleOpenKeydown(e){const t=this._keyManager,n=e.keyCode,r=n===h.b||n===h.n,i=t.isTyping();if(r&&e.altKey)e.preventDefault(),this.close();else if(i||n!==h.d&&n!==h.l||!t.activeItem||Object(h.q)(e))if(!i&&this._multiple&&n===h.a&&e.ctrlKey){e.preventDefault();const t=this.options.some(e=>!e.disabled&&!e.selected);this.options.forEach(e=>{e.disabled||(t?e.select():e.deselect())})}else{const n=t.activeItemIndex;t.onKeydown(e),this._multiple&&r&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==n&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this.overlayDir.positionChange.pipe(Object(b.a)(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._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this._selectionModel.selected.forEach(e=>e.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(e=>this._selectValue(e)),this._sortValues();else{const t=this._selectValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(e){const t=this.options.find(t=>{if(this._selectionModel.isSelected(t))return!1;try{return null!=t.value&&this._compareWith(t.value,e)}catch(n){return!1}});return t&&this._selectionModel.select(t),t}_initKeyManager(){this._keyManager=new c.a(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Object(x.a)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(Object(x.a)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=Object(m.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(x.a)(e)).subscribe(e=>{this._onSelect(e.source,e.isUserInput),e.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Object(m.a)(...this.options.map(e=>e._stateChanges)).pipe(Object(x.a)(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,t){const n=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(n!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),n!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((t,n)=>this.sortComparator?this.sortComparator(t,n,e):e.indexOf(t)-e.indexOf(n)),this.stateChanges.next()}}_propagateChanges(e){let t=null;t=this.multiple?this.selected.map(e=>e.value):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){var e;if(this.ariaLabel)return null;const t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var e;if(this.ariaLabel)return null;const t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();let n=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](l.d),o["\u0275\u0275directiveInject"](o.ChangeDetectorRef),o["\u0275\u0275directiveInject"](o.NgZone),o["\u0275\u0275directiveInject"](s.a),o["\u0275\u0275directiveInject"](o.ElementRef),o["\u0275\u0275directiveInject"](O.b,8),o["\u0275\u0275directiveInject"](S.NgForm,8),o["\u0275\u0275directiveInject"](S.FormGroupDirective,8),o["\u0275\u0275directiveInject"](a.a,8),o["\u0275\u0275directiveInject"](S.NgControl,10),o["\u0275\u0275injectAttribute"]("tabindex"),o["\u0275\u0275directiveInject"](N),o["\u0275\u0275directiveInject"](c.f),o["\u0275\u0275directiveInject"](V,8))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,viewQuery:function(e,t){if(1&e&&(o["\u0275\u0275viewQuery"](k,1),o["\u0275\u0275viewQuery"](E,1),o["\u0275\u0275viewQuery"](r.a,1)),2&e){let e;o["\u0275\u0275queryRefresh"](e=o["\u0275\u0275loadQuery"]())&&(t.trigger=e.first),o["\u0275\u0275queryRefresh"](e=o["\u0275\u0275loadQuery"]())&&(t.panel=e.first),o["\u0275\u0275queryRefresh"](e=o["\u0275\u0275loadQuery"]())&&(t.overlayDir=e.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[o["\u0275\u0275InheritDefinitionFeature"],o["\u0275\u0275NgOnChangesFeature"]]}),e})(),W=(()=>{class e extends G{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,t,n){const r=this._getItemHeight();return Math.min(Math.max(0,r*e-t+r/2),n)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(Object(x.a)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(Object(b.a)(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){const t=Object(s.j)(e,this.options,this.optionGroups),n=this._getItemHeight();this.panel.nativeElement.scrollTop=Object(s.k)((e+t)*n,n,this.panel.nativeElement.scrollTop,L)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new z(this,e)}_calculateOverlayOffsetX(){const e=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),t=this._viewportRuler.getViewportSize(),n=this._isRtl(),r=this.multiple?56:32;let i;if(this.multiple)i=40;else if(this.disableOptionCentering)i=16;else{let e=this._selectionModel.selected[0]||this.options.first;i=e&&e.group?32:16}n||(i*=-1);const o=0-(e.left+i-(n?r:0)),s=e.right+i-t.width+(n?0:r);o>0?i+=o+8:s>0&&(i-=s+8),this.overlayDir.offsetX=Math.round(i),this.overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,t,n){const r=this._getItemHeight(),i=(r-this._triggerRect.height)/2,o=Math.floor(L/r);let s;return this.disableOptionCentering?0:(s=0===this._scrollTop?e*r:this._scrollTop===n?(e-(this._getItemCount()-o))*r+(r-(this._getItemCount()*r-L)%r):t-r/2,Math.round(-1*s-i))}_checkOverlayWithinViewport(e){const t=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),r=this._triggerRect.top-8,i=n.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),s=Math.min(this._getItemCount()*t,L)-o-this._triggerRect.height;s>i?this._adjustPanelUp(s,i):o>r?this._adjustPanelDown(o,r,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,t){const n=Math.round(e-t);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,t,n){const r=Math.round(e-t);if(this._scrollTop+=r,this._offsetY+=r,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),t=this._getItemCount(),n=Math.min(t*e,L),r=t*e-n;let i;i=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),i+=Object(s.j)(i,this.options,this.optionGroups);const o=n/2;this._scrollTop=this._calculateOverlayScroll(i,o,r),this._offsetY=this._calculateOverlayOffsetY(i,o,r),this._checkOverlayWithinViewport(r)}_getOriginBasedOnOption(){const e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-t+e/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return e.\u0275fac=function(t){return Y(t||e)},e.\u0275cmp=o["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-select"]],contentQueries:function(e,t,n){if(1&e&&(o["\u0275\u0275contentQuery"](n,$,1),o["\u0275\u0275contentQuery"](n,s.e,1),o["\u0275\u0275contentQuery"](n,s.b,1)),2&e){let e;o["\u0275\u0275queryRefresh"](e=o["\u0275\u0275loadQuery"]())&&(t.customTrigger=e.first),o["\u0275\u0275queryRefresh"](e=o["\u0275\u0275loadQuery"]())&&(t.options=e),o["\u0275\u0275queryRefresh"](e=o["\u0275\u0275loadQuery"]())&&(t.optionGroups=e)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&o["\u0275\u0275listener"]("keydown",function(e){return t._handleKeydown(e)})("focus",function(){return t._onFocus()})("blur",function(){return t._onBlur()}),2&e&&(o["\u0275\u0275attribute"]("id",t.id)("tabindex",t.tabIndex)("aria-controls",t.panelOpen?t.id+"-panel":null)("aria-expanded",t.panelOpen)("aria-label",t.ariaLabel||null)("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),o["\u0275\u0275classProp"]("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty)("mat-select-multiple",t.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[o["\u0275\u0275ProvidersFeature"]([{provide:a.c,useExisting:e},{provide:s.c,useExisting:e}]),o["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:T,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(o["\u0275\u0275projectionDef"](A),o["\u0275\u0275elementStart"](0,"div",0,1),o["\u0275\u0275listener"]("click",function(){return t.toggle()}),o["\u0275\u0275elementStart"](3,"div",2),o["\u0275\u0275template"](4,I,2,1,"span",3),o["\u0275\u0275template"](5,M,3,2,"span",4),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementStart"](6,"div",5),o["\u0275\u0275element"](7,"div",6),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementEnd"](),o["\u0275\u0275template"](8,R,4,14,"ng-template",7),o["\u0275\u0275listener"]("backdropClick",function(){return t.close()})("attach",function(){return t._onAttached()})("detach",function(){return t.close()})),2&e){const e=o["\u0275\u0275reference"](1);o["\u0275\u0275attribute"]("aria-owns",t.panelOpen?t.id+"-panel":null),o["\u0275\u0275advance"](3),o["\u0275\u0275property"]("ngSwitch",t.empty),o["\u0275\u0275attribute"]("id",t._valueId),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngSwitchCase",!0),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngSwitchCase",!1),o["\u0275\u0275advance"](3),o["\u0275\u0275property"]("cdkConnectedOverlayPanelClass",t._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",e)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[r.b,i.o,i.p,r.a,i.q,i.k],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px}\n'],encapsulation:2,data:{animation:[D.transformPanelWrap,D.transformPanel]},changeDetection:0}),e})();const Y=o["\u0275\u0275getInheritedFactory"](W);let q=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({providers:[B],imports:[[i.c,r.f,s.f,s.d],l.a,a.d,s.f,s.d]}),e})()},ZhTg:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n("8Y7J"),i=n("SVse");function o(e,t){1&e&&(r["\u0275\u0275namespaceSVG"](),r["\u0275\u0275elementStart"](0,"svg",2),r["\u0275\u0275element"](1,"path",3),r["\u0275\u0275elementEnd"]())}function s(e,t){1&e&&(r["\u0275\u0275namespaceSVG"](),r["\u0275\u0275elementStart"](0,"svg",2),r["\u0275\u0275element"](1,"path",4),r["\u0275\u0275elementEnd"]())}function a(e,t){1&e&&(r["\u0275\u0275namespaceSVG"](),r["\u0275\u0275elementStart"](0,"svg",2),r["\u0275\u0275element"](1,"path",5),r["\u0275\u0275elementEnd"]())}let l=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["transport-icon"]],inputs:{type:"type"},decls:4,vars:4,consts:[[3,"ngSwitch"],["viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg",4,"ngSwitchCase"],["viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M9.62506 2.1875C9.62506 2.91237 9.03744 3.5 8.31256 3.5C7.58769 3.5 7.00006 2.91237 7.00006 2.1875C7.00006 1.46263 7.58769 0.875 8.31256 0.875C9.03744 0.875 9.62506 1.46263 9.62506 2.1875ZM9.19937 12.1004C9.28293 12.4115 9.09845 12.7315 8.78731 12.8151C8.47617 12.8986 8.1562 12.7142 8.07263 12.403L7.47339 10.1719C7.44142 10.0529 7.37258 9.94705 7.27673 9.86958L6.84393 9.51973L5.5955 8.49687C5.52206 8.41188 5.46691 8.33253 5.43007 8.25885C5.17687 7.75245 5.54903 6.29606 5.65161 5.92067L5.54425 5.97009C5.43307 6.02126 5.34081 6.1061 5.28051 6.2126L4.55908 7.48694C4.40037 7.7673 4.04443 7.86591 3.76407 7.70719C3.48371 7.54848 3.38511 7.19254 3.54382 6.91218L4.35799 5.47403C4.47857 5.26102 4.6631 5.09134 4.88545 4.989L6.63848 4.18212C6.66753 4.16875 6.69711 4.15797 6.72697 4.14968C6.83395 4.1073 6.95083 4.0833 7.07835 4.0833C8.16486 4.0833 8.16588 4.73536 8.16668 5.24739L8.16669 5.24996C8.16678 5.307 8.1615 5.38136 8.15205 5.46882L9.15508 6.46117C9.22642 6.53175 9.31477 6.58273 9.41157 6.60919L10.6768 6.95494C10.9876 7.03987 11.1707 7.36064 11.0857 7.67142C11.0008 7.98219 10.68 8.16527 10.3693 8.08035L8.95636 7.69424C8.76275 7.64133 8.58606 7.53936 8.44338 7.3982L7.91496 6.87541L7.89268 6.99229C7.80731 7.43999 7.73507 7.81883 7.73507 7.91974C7.73507 8.05087 8.18984 8.86178 8.3743 9.1853C8.42495 9.27413 8.46412 9.36837 8.49069 9.46711L9.19937 12.1004ZM6.27013 10.5491C6.32336 10.4664 6.36585 10.3775 6.3967 10.2845L5.39247 9.4617L5.30783 9.83443C5.29254 9.90186 5.26538 9.96604 5.22763 10.024C4.75469 10.7495 4.32581 11.378 3.94097 11.9096C3.75206 12.1706 3.81047 12.5353 4.07143 12.7242C4.33239 12.9131 4.69709 12.8547 4.88601 12.5938C5.29169 12.0334 5.75307 11.3518 6.27013 10.5491Z","fill","currentColor"],["fill-rule","evenodd","clip-rule","evenodd","d","M3.5 1.75C3.01675 1.75 2.625 2.14175 2.625 2.625V3.5H2.1875C1.94588 3.5 1.75 3.69588 1.75 3.9375V4.8125C1.75 5.05412 1.94588 5.25 2.1875 5.25H2.625V10.5C2.625 10.9832 3.01675 11.375 3.5 11.375L3.5 11.8125C3.5 12.0541 3.69588 12.25 3.9375 12.25H4.8125C5.05412 12.25 5.25 12.0541 5.25 11.8125V11.375H8.75V11.8125C8.75 12.0541 8.94588 12.25 9.1875 12.25H10.0625C10.3041 12.25 10.5 12.0541 10.5 11.8125V11.375C10.9832 11.375 11.375 10.9832 11.375 10.5V5.25H11.8125C12.0541 5.25 12.25 5.05412 12.25 4.8125V3.9375C12.25 3.69588 12.0541 3.5 11.8125 3.5H11.375V2.625C11.375 2.14175 10.9832 1.75 10.5 1.75H3.5ZM10.5 3.5H3.5V7H10.5V3.5ZM4.375 9.625C4.85825 9.625 5.25 9.23325 5.25 8.75C5.25 8.26675 4.85825 7.875 4.375 7.875C3.89175 7.875 3.5 8.26675 3.5 8.75C3.5 9.23325 3.89175 9.625 4.375 9.625ZM10.5 8.75C10.5 9.23325 10.1082 9.625 9.625 9.625C9.14175 9.625 8.75 9.23325 8.75 8.75C8.75 8.26675 9.14175 7.875 9.625 7.875C10.1082 7.875 10.5 8.26675 10.5 8.75Z","fill","currentColor"],["fill","currentColor","d","M11.0367 3.17734C10.92 2.85469 10.5933 2.625 10.2083 2.625H3.79167C3.40667 2.625 3.08583 2.85469 2.96333 3.17734L1.75 6.45312V10.8281C1.75 11.1289 2.0125 11.375 2.33333 11.375H2.91667C3.2375 11.375 3.5 11.1289 3.5 10.8281V10.2812H10.5V10.8281C10.5 11.1289 10.7625 11.375 11.0833 11.375H11.6667C11.9875 11.375 12.25 11.1289 12.25 10.8281V6.45312L11.0367 3.17734ZM3.79167 8.64062C3.3075 8.64062 2.91667 8.27422 2.91667 7.82031C2.91667 7.36641 3.3075 7 3.79167 7C4.27583 7 4.66667 7.36641 4.66667 7.82031C4.66667 8.27422 4.27583 8.64062 3.79167 8.64062ZM10.2083 8.64062C9.72417 8.64062 9.33333 8.27422 9.33333 7.82031C9.33333 7.36641 9.72417 7 10.2083 7C10.6925 7 11.0833 7.36641 11.0833 7.82031C11.0833 8.27422 10.6925 8.64062 10.2083 8.64062ZM2.91667 5.90625L3.79167 3.44531H10.2083L11.0833 5.90625H2.91667Z"]],template:function(e,t){1&e&&(r["\u0275\u0275elementContainerStart"](0,0),r["\u0275\u0275template"](1,o,2,0,"svg",1),r["\u0275\u0275template"](2,s,2,0,"svg",1),r["\u0275\u0275template"](3,a,2,0,"svg",1),r["\u0275\u0275elementContainerEnd"]()),2&e&&(r["\u0275\u0275property"]("ngSwitch",t.type),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngSwitchCase","\u043f\u0435\u0448"),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngSwitchCase","\u0442\u0440"),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngSwitchCase","\u0430"))},directives:[i.o,i.p],styles:["svg[_ngcontent-%COMP%]{width:100%;height:100%}"],changeDetection:0}),e})()},"aLe/":function(e,t,n){"use strict";n.d(t,"a",function(){return pe}),n.d(t,"b",function(){return ve}),n.d(t,"c",function(){return ye});var r=n("XNiG"),i=n("xgIS"),o=n("VRyK"),s=n("3UWI"),a=n("1G5W"),l=n("/uUt"),c=n("7o/Q");function u(e){return t=>t.lift(new d(e))}class d{constructor(e){this.value=e}call(e,t){return t.subscribe(new h(e,this.value))}}class h extends c.a{constructor(e,t){super(e),this.value=t}_next(e){this.destination.next(this.value)}}var p=n("8Y7J"),f=n("SVse");function m(e){return getComputedStyle(e)}function g(e,t){for(var n in t){var r=t[n];"number"==typeof r&&(r+="px"),e.style[n]=r}return e}function _(e){var t=document.createElement("div");return t.className=e,t}var b="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function v(e,t){if(!b)throw new Error("No element matching method supported");return b.call(e,t)}function y(e){e.remove?e.remove():e.parentNode&&e.parentNode.removeChild(e)}function w(e,t){return Array.prototype.filter.call(e.children,function(e){return v(e,t)})}var x=function(e){return"ps__thumb-"+e},C=function(e){return"ps__rail-"+e},O="ps__child--consume",S="ps--focus",k="ps--clicking",E=function(e){return"ps--active-"+e},I=function(e){return"ps--scrolling-"+e},P={x:null,y:null};function j(e,t){var n=e.element.classList,r=I(t);n.contains(r)?clearTimeout(P[t]):n.add(r)}function M(e,t){P[t]=setTimeout(function(){return e.isAlive&&e.element.classList.remove(I(t))},e.settings.scrollingThreshold)}var R=function(e){this.element=e,this.handlers={}},A={isEmpty:{configurable:!0}};R.prototype.bind=function(e,t){void 0===this.handlers[e]&&(this.handlers[e]=[]),this.handlers[e].push(t),this.element.addEventListener(e,t,!1)},R.prototype.unbind=function(e,t){var n=this;this.handlers[e]=this.handlers[e].filter(function(r){return!(!t||r===t)||(n.element.removeEventListener(e,r,!1),!1)})},R.prototype.unbindAll=function(){for(var e in this.handlers)this.unbind(e)},A.isEmpty.get=function(){var e=this;return Object.keys(this.handlers).every(function(t){return 0===e.handlers[t].length})},Object.defineProperties(R.prototype,A);var T=function(){this.eventElements=[]};function D(e){if("function"==typeof window.CustomEvent)return new CustomEvent(e);var t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}function F(e,t,n,r,i){var o;if(void 0===r&&(r=!0),void 0===i&&(i=!1),"top"===t)o=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==t)throw new Error("A proper axis should be provided");o=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function(e,t,n,r,i){var o=n[0],s=n[1],a=n[2],l=n[3],c=n[4],u=n[5];void 0===r&&(r=!0),void 0===i&&(i=!1);var d=e.element;e.reach[l]=null,d[a]<1&&(e.reach[l]="start"),d[a]>e[o]-e[s]-1&&(e.reach[l]="end"),t&&(d.dispatchEvent(D("ps-scroll-"+l)),t<0?d.dispatchEvent(D("ps-scroll-"+c)):t>0&&d.dispatchEvent(D("ps-scroll-"+u)),r&&function(e,t){j(e,t),M(e,t)}(e,l)),e.reach[l]&&(t||i)&&d.dispatchEvent(D("ps-"+l+"-reach-"+e.reach[l]))}(e,n,o,r,i)}function L(e){return parseInt(e,10)||0}T.prototype.eventElement=function(e){var t=this.eventElements.filter(function(t){return t.element===e})[0];return t||(t=new R(e),this.eventElements.push(t)),t},T.prototype.bind=function(e,t,n){this.eventElement(e).bind(t,n)},T.prototype.unbind=function(e,t,n){var r=this.eventElement(e);r.unbind(t,n),r.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(r),1)},T.prototype.unbindAll=function(){this.eventElements.forEach(function(e){return e.unbindAll()}),this.eventElements=[]},T.prototype.once=function(e,t,n){var r=this.eventElement(e),i=function(e){r.unbind(t,i),n(e)};r.bind(t,i)};var N={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)};function V(e){var t=e.element,n=Math.floor(t.scrollTop),r=t.getBoundingClientRect();e.containerWidth=Math.ceil(r.width),e.containerHeight=Math.ceil(r.height),e.contentWidth=t.scrollWidth,e.contentHeight=t.scrollHeight,t.contains(e.scrollbarXRail)||(w(t,C("x")).forEach(function(e){return y(e)}),t.appendChild(e.scrollbarXRail)),t.contains(e.scrollbarYRail)||(w(t,C("y")).forEach(function(e){return y(e)}),t.appendChild(e.scrollbarYRail)),!e.settings.suppressScrollX&&e.containerWidth+e.settings.scrollXMarginOffset<e.contentWidth?(e.scrollbarXActive=!0,e.railXWidth=e.containerWidth-e.railXMarginWidth,e.railXRatio=e.containerWidth/e.railXWidth,e.scrollbarXWidth=B(e,L(e.railXWidth*e.containerWidth/e.contentWidth)),e.scrollbarXLeft=L((e.negativeScrollAdjustment+t.scrollLeft)*(e.railXWidth-e.scrollbarXWidth)/(e.contentWidth-e.containerWidth))):e.scrollbarXActive=!1,!e.settings.suppressScrollY&&e.containerHeight+e.settings.scrollYMarginOffset<e.contentHeight?(e.scrollbarYActive=!0,e.railYHeight=e.containerHeight-e.railYMarginHeight,e.railYRatio=e.containerHeight/e.railYHeight,e.scrollbarYHeight=B(e,L(e.railYHeight*e.containerHeight/e.contentHeight)),e.scrollbarYTop=L(n*(e.railYHeight-e.scrollbarYHeight)/(e.contentHeight-e.containerHeight))):e.scrollbarYActive=!1,e.scrollbarXLeft>=e.railXWidth-e.scrollbarXWidth&&(e.scrollbarXLeft=e.railXWidth-e.scrollbarXWidth),e.scrollbarYTop>=e.railYHeight-e.scrollbarYHeight&&(e.scrollbarYTop=e.railYHeight-e.scrollbarYHeight),function(e,t){var n={width:t.railXWidth},r=Math.floor(e.scrollTop);n.left=t.isRtl?t.negativeScrollAdjustment+e.scrollLeft+t.containerWidth-t.contentWidth:e.scrollLeft,t.isScrollbarXUsingBottom?n.bottom=t.scrollbarXBottom-r:n.top=t.scrollbarXTop+r,g(t.scrollbarXRail,n);var i={top:r,height:t.railYHeight};t.isScrollbarYUsingRight?i.right=t.isRtl?t.contentWidth-(t.negativeScrollAdjustment+e.scrollLeft)-t.scrollbarYRight-t.scrollbarYOuterWidth-9:t.scrollbarYRight-e.scrollLeft:i.left=t.isRtl?t.negativeScrollAdjustment+e.scrollLeft+2*t.containerWidth-t.contentWidth-t.scrollbarYLeft-t.scrollbarYOuterWidth:t.scrollbarYLeft+e.scrollLeft,g(t.scrollbarYRail,i),g(t.scrollbarX,{left:t.scrollbarXLeft,width:t.scrollbarXWidth-t.railBorderXWidth}),g(t.scrollbarY,{top:t.scrollbarYTop,height:t.scrollbarYHeight-t.railBorderYWidth})}(t,e),e.scrollbarXActive?t.classList.add(E("x")):(t.classList.remove(E("x")),e.scrollbarXWidth=0,e.scrollbarXLeft=0,t.scrollLeft=!0===e.isRtl?e.contentWidth:0),e.scrollbarYActive?t.classList.add(E("y")):(t.classList.remove(E("y")),e.scrollbarYHeight=0,e.scrollbarYTop=0,t.scrollTop=0)}function B(e,t){return e.settings.minScrollbarLength&&(t=Math.max(t,e.settings.minScrollbarLength)),e.settings.maxScrollbarLength&&(t=Math.min(t,e.settings.maxScrollbarLength)),t}function z(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],s=t[4],a=t[5],l=t[6],c=t[7],u=t[8],d=e.element,h=null,p=null,f=null;function m(t){t.touches&&t.touches[0]&&(t[i]=t.touches[0].pageY),d[l]=h+f*(t[i]-p),j(e,c),V(e),t.stopPropagation(),t.preventDefault()}function g(){M(e,c),e[u].classList.remove(k),e.event.unbind(e.ownerDocument,"mousemove",m)}function _(t,s){h=d[l],s&&t.touches&&(t[i]=t.touches[0].pageY),p=t[i],f=(e[r]-e[n])/(e[o]-e[a]),s?e.event.bind(e.ownerDocument,"touchmove",m):(e.event.bind(e.ownerDocument,"mousemove",m),e.event.once(e.ownerDocument,"mouseup",g),t.preventDefault()),e[u].classList.add(k),t.stopPropagation()}e.event.bind(e[s],"mousedown",function(e){_(e)}),e.event.bind(e[s],"touchstart",function(e){_(e,!0)})}var H={"click-rail":function(e){e.event.bind(e.scrollbarY,"mousedown",function(e){return e.stopPropagation()}),e.event.bind(e.scrollbarYRail,"mousedown",function(t){var n=t.pageY-window.pageYOffset-e.scrollbarYRail.getBoundingClientRect().top;e.element.scrollTop+=(n>e.scrollbarYTop?1:-1)*e.containerHeight,V(e),t.stopPropagation()}),e.event.bind(e.scrollbarX,"mousedown",function(e){return e.stopPropagation()}),e.event.bind(e.scrollbarXRail,"mousedown",function(t){var n=t.pageX-window.pageXOffset-e.scrollbarXRail.getBoundingClientRect().left;e.element.scrollLeft+=(n>e.scrollbarXLeft?1:-1)*e.containerWidth,V(e),t.stopPropagation()})},"drag-thumb":function(e){z(e,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),z(e,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function(e){var t=e.element;e.event.bind(e.ownerDocument,"keydown",function(n){if(!(n.isDefaultPrevented&&n.isDefaultPrevented()||n.defaultPrevented)&&(v(t,":hover")||v(e.scrollbarX,":focus")||v(e.scrollbarY,":focus"))){var r,i=document.activeElement?document.activeElement:e.ownerDocument.activeElement;if(i){if("IFRAME"===i.tagName)i=i.contentDocument.activeElement;else for(;i.shadowRoot;)i=i.shadowRoot.activeElement;if(v(r=i,"input,[contenteditable]")||v(r,"select,[contenteditable]")||v(r,"textarea,[contenteditable]")||v(r,"button,[contenteditable]"))return}var o=0,s=0;switch(n.which){case 37:o=n.metaKey?-e.contentWidth:n.altKey?-e.containerWidth:-30;break;case 38:s=n.metaKey?e.contentHeight:n.altKey?e.containerHeight:30;break;case 39:o=n.metaKey?e.contentWidth:n.altKey?e.containerWidth:30;break;case 40:s=n.metaKey?-e.contentHeight:n.altKey?-e.containerHeight:-30;break;case 32:s=n.shiftKey?e.containerHeight:-e.containerHeight;break;case 33:s=e.containerHeight;break;case 34:s=-e.containerHeight;break;case 36:s=e.contentHeight;break;case 35:s=-e.contentHeight;break;default:return}e.settings.suppressScrollX&&0!==o||e.settings.suppressScrollY&&0!==s||(t.scrollTop-=s,t.scrollLeft+=o,V(e),function(n,r){var i=Math.floor(t.scrollTop);if(0===n){if(!e.scrollbarYActive)return!1;if(0===i&&r>0||i>=e.contentHeight-e.containerHeight&&r<0)return!e.settings.wheelPropagation}var o=t.scrollLeft;if(0===r){if(!e.scrollbarXActive)return!1;if(0===o&&n<0||o>=e.contentWidth-e.containerWidth&&n>0)return!e.settings.wheelPropagation}return!0}(o,s)&&n.preventDefault())}})},wheel:function(e){var t=e.element;function n(n){var r=function(e){var t=e.deltaX,n=-1*e.deltaY;return void 0!==t&&void 0!==n||(t=-1*e.wheelDeltaX/6,n=e.wheelDeltaY/6),e.deltaMode&&1===e.deltaMode&&(t*=10,n*=10),t!=t&&n!=n&&(t=0,n=e.wheelDelta),e.shiftKey?[-n,-t]:[t,n]}(n),i=r[0],o=r[1];if(!function(e,n,r){if(!N.isWebKit&&t.querySelector("select:focus"))return!0;if(!t.contains(e))return!1;for(var i=e;i&&i!==t;){if(i.classList.contains(O))return!0;var o=m(i);if(r&&o.overflowY.match(/(scroll|auto)/)){var s=i.scrollHeight-i.clientHeight;if(s>0&&(i.scrollTop>0&&r<0||i.scrollTop<s&&r>0))return!0}if(n&&o.overflowX.match(/(scroll|auto)/)){var a=i.scrollWidth-i.clientWidth;if(a>0&&(i.scrollLeft>0&&n<0||i.scrollLeft<a&&n>0))return!0}i=i.parentNode}return!1}(n.target,i,o)){var s=!1;e.settings.useBothWheelAxes?e.scrollbarYActive&&!e.scrollbarXActive?(o?t.scrollTop-=o*e.settings.wheelSpeed:t.scrollTop+=i*e.settings.wheelSpeed,s=!0):e.scrollbarXActive&&!e.scrollbarYActive&&(i?t.scrollLeft+=i*e.settings.wheelSpeed:t.scrollLeft-=o*e.settings.wheelSpeed,s=!0):(t.scrollTop-=o*e.settings.wheelSpeed,t.scrollLeft+=i*e.settings.wheelSpeed),V(e),(s=s||function(n,r){var i=Math.floor(t.scrollTop),o=0===t.scrollTop,s=i+t.offsetHeight===t.scrollHeight,a=0===t.scrollLeft,l=t.scrollLeft+t.offsetWidth===t.scrollWidth;return!(Math.abs(r)>Math.abs(n)?o||s:a||l)||!e.settings.wheelPropagation}(i,o))&&!n.ctrlKey&&(n.stopPropagation(),n.preventDefault())}}void 0!==window.onwheel?e.event.bind(t,"wheel",n):void 0!==window.onmousewheel&&e.event.bind(t,"mousewheel",n)},touch:function(e){if(N.supportsTouch||N.supportsIePointer){var t=e.element,n={},r=0,i={},o=null;N.supportsTouch?(e.event.bind(t,"touchstart",c),e.event.bind(t,"touchmove",u),e.event.bind(t,"touchend",d)):N.supportsIePointer&&(window.PointerEvent?(e.event.bind(t,"pointerdown",c),e.event.bind(t,"pointermove",u),e.event.bind(t,"pointerup",d)):window.MSPointerEvent&&(e.event.bind(t,"MSPointerDown",c),e.event.bind(t,"MSPointerMove",u),e.event.bind(t,"MSPointerUp",d)))}function s(n,r){t.scrollTop-=r,t.scrollLeft-=n,V(e)}function a(e){return e.targetTouches?e.targetTouches[0]:e}function l(e){return!(e.pointerType&&"pen"===e.pointerType&&0===e.buttons||(!e.targetTouches||1!==e.targetTouches.length)&&(!e.pointerType||"mouse"===e.pointerType||e.pointerType===e.MSPOINTER_TYPE_MOUSE))}function c(e){if(l(e)){var t=a(e);n.pageX=t.pageX,n.pageY=t.pageY,r=(new Date).getTime(),null!==o&&clearInterval(o)}}function u(o){if(l(o)){var c=a(o),u={pageX:c.pageX,pageY:c.pageY},d=u.pageX-n.pageX,h=u.pageY-n.pageY;if(function(e,n,r){if(!t.contains(e))return!1;for(var i=e;i&&i!==t;){if(i.classList.contains(O))return!0;var o=m(i);if(r&&o.overflowY.match(/(scroll|auto)/)){var s=i.scrollHeight-i.clientHeight;if(s>0&&(i.scrollTop>0&&r<0||i.scrollTop<s&&r>0))return!0}if(n&&o.overflowX.match(/(scroll|auto)/)){var a=i.scrollWidth-i.clientWidth;if(a>0&&(i.scrollLeft>0&&n<0||i.scrollLeft<a&&n>0))return!0}i=i.parentNode}return!1}(o.target,d,h))return;s(d,h),n=u;var p=(new Date).getTime(),f=p-r;f>0&&(i.x=d/f,i.y=h/f,r=p),function(n,r){var i=Math.floor(t.scrollTop),o=t.scrollLeft,s=Math.abs(n),a=Math.abs(r);if(a>s){if(r<0&&i===e.contentHeight-e.containerHeight||r>0&&0===i)return 0===window.scrollY&&r>0&&N.isChrome}else if(s>a&&(n<0&&o===e.contentWidth-e.containerWidth||n>0&&0===o))return!0;return!0}(d,h)&&o.preventDefault()}}function d(){e.settings.swipeEasing&&(clearInterval(o),o=setInterval(function(){e.isInitialized?clearInterval(o):i.x||i.y?Math.abs(i.x)<.01&&Math.abs(i.y)<.01?clearInterval(o):(s(30*i.x,30*i.y),i.x*=.8,i.y*=.8):clearInterval(o)},10))}}},U=function(e,t){var n=this;if(void 0===t&&(t={}),"string"==typeof e&&(e=document.querySelector(e)),!e||!e.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var r in this.element=e,e.classList.add("ps"),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},t)this.settings[r]=t[r];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var i,o,s=function(){return e.classList.add(S)},a=function(){return e.classList.remove(S)};this.isRtl="rtl"===m(e).direction,!0===this.isRtl&&e.classList.add("ps__rtl"),this.isNegativeScroll=(o=e.scrollLeft,e.scrollLeft=-1,i=e.scrollLeft<0,e.scrollLeft=o,i),this.negativeScrollAdjustment=this.isNegativeScroll?e.scrollWidth-e.clientWidth:0,this.event=new T,this.ownerDocument=e.ownerDocument||document,this.scrollbarXRail=_(C("x")),e.appendChild(this.scrollbarXRail),this.scrollbarX=_(x("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",s),this.event.bind(this.scrollbarX,"blur",a),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var l=m(this.scrollbarXRail);this.scrollbarXBottom=parseInt(l.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=L(l.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=L(l.borderLeftWidth)+L(l.borderRightWidth),g(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=L(l.marginLeft)+L(l.marginRight),g(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=_(C("y")),e.appendChild(this.scrollbarYRail),this.scrollbarY=_(x("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",s),this.event.bind(this.scrollbarY,"blur",a),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var c=m(this.scrollbarYRail);this.scrollbarYRight=parseInt(c.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=L(c.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function(e){var t=m(e);return L(t.width)+L(t.paddingLeft)+L(t.paddingRight)+L(t.borderLeftWidth)+L(t.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=L(c.borderTopWidth)+L(c.borderBottomWidth),g(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=L(c.marginTop)+L(c.marginBottom),g(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:e.scrollLeft<=0?"start":e.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:e.scrollTop<=0?"start":e.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(e){return H[e](n)}),this.lastScrollTop=Math.floor(e.scrollTop),this.lastScrollLeft=e.scrollLeft,this.event.bind(this.element,"scroll",function(e){return n.onScroll(e)}),V(this)};U.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,g(this.scrollbarXRail,{display:"block"}),g(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=L(m(this.scrollbarXRail).marginLeft)+L(m(this.scrollbarXRail).marginRight),this.railYMarginHeight=L(m(this.scrollbarYRail).marginTop)+L(m(this.scrollbarYRail).marginBottom),g(this.scrollbarXRail,{display:"none"}),g(this.scrollbarYRail,{display:"none"}),V(this),F(this,"top",0,!1,!0),F(this,"left",0,!1,!0),g(this.scrollbarXRail,{display:""}),g(this.scrollbarYRail,{display:""}))},U.prototype.onScroll=function(e){this.isAlive&&(V(this),F(this,"top",this.element.scrollTop-this.lastScrollTop),F(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},U.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),y(this.scrollbarX),y(this.scrollbarY),y(this.scrollbarXRail),y(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},U.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(e){return!e.match(/^ps([-_].+|)$/)}).join(" ")};var $=U,G=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),W="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,Y="undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),q="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(Y):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},Z=["top","right","bottom","left","width","height","size","weight"],Q="undefined"!=typeof MutationObserver,X=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function o(){n&&(n=!1,e()),r&&a()}function s(){q(o)}function a(){var e=Date.now();if(n){if(e-i<2)return;r=!0}else n=!0,r=!1,setTimeout(s,20);i=e}return a}(this.refresh.bind(this))}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){W&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Q?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){W&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;Z.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),K=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},J=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||Y},ee=ie(0,0,0,0);function te(e){return parseFloat(e)||0}function ne(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(t,n){return t+te(e["border-"+n+"-width"])},0)}var re="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof J(e).SVGGraphicsElement}:function(e){return e instanceof J(e).SVGElement&&"function"==typeof e.getBBox};function ie(e,t,n,r){return{x:e,y:t,width:n,height:r}}var oe=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=ie(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e,t=(e=this.target,W?re(e)?function(e){var t=e.getBBox();return ie(0,0,t.width,t.height)}(e):function(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return ee;var r=J(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n];t[i]=te(e["padding-"+i])}return t}(r),o=i.left+i.right,s=i.top+i.bottom,a=te(r.width),l=te(r.height);if("border-box"===r.boxSizing&&(Math.round(a+o)!==t&&(a-=ne(r,"left","right")+o),Math.round(l+s)!==n&&(l-=ne(r,"top","bottom")+s)),!function(e){return e===J(e).document.documentElement}(e)){var c=Math.round(a+o)-t,u=Math.round(l+s)-n;1!==Math.abs(c)&&(a-=c),1!==Math.abs(u)&&(l-=u)}return ie(i.left,i.top,a,l)}(e):ee);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),se=function(e,t){var n,r,i,o,s,a,l,c=(r=(n=t).x,i=n.y,o=n.width,s=n.height,a="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(a.prototype),K(l,{x:r,y:i,width:o,height:s,top:i,right:r+o,bottom:s+i,left:r}),l);K(this,{target:e,contentRect:c})},ae=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new G,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof J(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new oe(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof J(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new se(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),le="undefined"!=typeof WeakMap?new WeakMap:new G,ce=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=X.getInstance(),r=new ae(t,n,this);le.set(this,r)};["observe","unobserve","disconnect"].forEach(function(e){ce.prototype[e]=function(){var t;return(t=le.get(this))[e].apply(t,arguments)}});var ue=void 0!==Y.ResizeObserver?Y.ResizeObserver:ce;function de(e,t){if(1&e&&(p["\u0275\u0275elementStart"](0,"div",3),p["\u0275\u0275element"](1,"div",4),p["\u0275\u0275element"](2,"div",5),p["\u0275\u0275element"](3,"div",6),p["\u0275\u0275element"](4,"div",7),p["\u0275\u0275elementEnd"]()),2&e){const e=p["\u0275\u0275nextContext"]();p["\u0275\u0275classProp"]("ps-at-top",e.states.top)("ps-at-left",e.states.left)("ps-at-right",e.states.right)("ps-at-bottom",e.states.bottom),p["\u0275\u0275advance"](1),p["\u0275\u0275classProp"]("ps-indicator-show",e.indicatorY&&e.interaction),p["\u0275\u0275advance"](1),p["\u0275\u0275classProp"]("ps-indicator-show",e.indicatorX&&e.interaction),p["\u0275\u0275advance"](1),p["\u0275\u0275classProp"]("ps-indicator-show",e.indicatorX&&e.interaction),p["\u0275\u0275advance"](1),p["\u0275\u0275classProp"]("ps-indicator-show",e.indicatorY&&e.interaction)}}const he=["*"],pe=new p.InjectionToken("PERFECT_SCROLLBAR_CONFIG");class fe{constructor(e,t,n,r){this.x=e,this.y=t,this.w=n,this.h=r}}class me{constructor(e,t){this.x=e,this.y=t}}const ge=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class _e{constructor(e={}){this.assign(e)}assign(e={}){for(const t in e)this[t]=e[t]}}let be=(()=>{class e{constructor(e,t,n,i,o){this.zone=e,this.differs=t,this.elementRef=n,this.platformId=i,this.defaults=o,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new r.a,this.disabled=!1,this.psScrollY=new p.EventEmitter,this.psScrollX=new p.EventEmitter,this.psScrollUp=new p.EventEmitter,this.psScrollDown=new p.EventEmitter,this.psScrollLeft=new p.EventEmitter,this.psScrollRight=new p.EventEmitter,this.psYReachEnd=new p.EventEmitter,this.psYReachStart=new p.EventEmitter,this.psXReachEnd=new p.EventEmitter,this.psXReachStart=new p.EventEmitter}ngOnInit(){if(!this.disabled&&Object(f.v)(this.platformId)){const e=new _e(this.defaults);e.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new $(this.elementRef.nativeElement,e)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(()=>{this.ro=new ue(()=>{this.update()}),this.elementRef.nativeElement.children[0]&&this.ro.observe(this.elementRef.nativeElement.children[0]),this.ro.observe(this.elementRef.nativeElement)}),this.zone.runOutsideAngular(()=>{ge.forEach(e=>{const t=e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`);Object(i.a)(this.elementRef.nativeElement,t).pipe(Object(s.a)(20),Object(a.a)(this.ngDestroy)).subscribe(t=>{this[e].emit(t)})})})}}ngOnDestroy(){Object(f.v)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.complete(),this.ro&&this.ro.disconnect(),this.timeout&&"undefined"!=typeof window&&window.clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.instance&&this.instance.destroy()}),this.instance=null)}ngDoCheck(){!this.disabled&&this.configDiff&&Object(f.v)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}ngOnChanges(e){e.disabled&&!e.disabled.isFirstChange()&&Object(f.v)(this.platformId)&&e.disabled.currentValue!==e.disabled.previousValue&&(!0===e.disabled.currentValue?this.ngOnDestroy():!1===e.disabled.currentValue&&this.ngOnInit())}ps(){return this.instance}update(){"undefined"!=typeof window&&(this.timeout&&window.clearTimeout(this.timeout),this.timeout=window.setTimeout(()=>{if(!this.disabled&&this.configDiff)try{this.zone.runOutsideAngular(()=>{this.instance&&this.instance.update()})}catch(e){}},0))}geometry(e="scroll"){return new fe(this.elementRef.nativeElement[e+"Left"],this.elementRef.nativeElement[e+"Top"],this.elementRef.nativeElement[e+"Width"],this.elementRef.nativeElement[e+"Height"])}position(e=!1){return!e&&this.instance?new me(this.instance.reach.x||0,this.instance.reach.y||0):new me(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}scrollable(e="any"){const t=this.elementRef.nativeElement;return"any"===e?t.classList.contains("ps--active-x")||t.classList.contains("ps--active-y"):"both"===e?t.classList.contains("ps--active-x")&&t.classList.contains("ps--active-y"):t.classList.contains("ps--active-"+e)}scrollTo(e,t,n){this.disabled||(null==t&&null==n?this.animateScrolling("scrollTop",e,n):(null!=e&&this.animateScrolling("scrollLeft",e,n),null!=t&&this.animateScrolling("scrollTop",t,n)))}scrollToX(e,t){this.animateScrolling("scrollLeft",e,t)}scrollToY(e,t){this.animateScrolling("scrollTop",e,t)}scrollToTop(e,t){this.animateScrolling("scrollTop",e||0,t)}scrollToLeft(e,t){this.animateScrolling("scrollLeft",e||0,t)}scrollToRight(e,t){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(e||0),t)}scrollToBottom(e,t){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(e||0),t)}scrollToElement(e,t,n){if("string"==typeof e&&(e=this.elementRef.nativeElement.querySelector(e)),e){const r=e.getBoundingClientRect(),i=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",r.left-i.left+this.elementRef.nativeElement.scrollLeft+(t||0),n),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",r.top-i.top+this.elementRef.nativeElement.scrollTop+(t||0),n)}}animateScrolling(e,t,n){if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),n&&"undefined"!=typeof window){if(t!==this.elementRef.nativeElement[e]){let r=0,i=0,o=performance.now(),s=this.elementRef.nativeElement[e];const a=(s-t)/2,l=c=>{i+=Math.PI/(n/(c-o)),r=Math.round(t+a+a*Math.cos(i)),this.elementRef.nativeElement[e]===s&&(i>=Math.PI?this.animateScrolling(e,t,0):(this.elementRef.nativeElement[e]=r,s=this.elementRef.nativeElement[e],o=c,this.animation=window.requestAnimationFrame(l)))};window.requestAnimationFrame(l)}}else this.elementRef.nativeElement[e]=t}}return e.\u0275fac=function(t){return new(t||e)(p["\u0275\u0275directiveInject"](p.NgZone),p["\u0275\u0275directiveInject"](p.KeyValueDiffers),p["\u0275\u0275directiveInject"](p.ElementRef),p["\u0275\u0275directiveInject"](p.PLATFORM_ID),p["\u0275\u0275directiveInject"](pe,8))},e.\u0275dir=p["\u0275\u0275defineDirective"]({type:e,selectors:[["","perfectScrollbar",""]],inputs:{disabled:"disabled",config:["perfectScrollbar","config"]},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],features:[p["\u0275\u0275NgOnChangesFeature"]]}),e})(),ve=(()=>{class e{constructor(e,t,n){this.zone=e,this.cdRef=t,this.platformId=n,this.states={},this.indicatorX=!1,this.indicatorY=!1,this.interaction=!1,this.scrollPositionX=0,this.scrollPositionY=0,this.scrollDirectionX=0,this.scrollDirectionY=0,this.usePropagationX=!1,this.usePropagationY=!1,this.allowPropagationX=!1,this.allowPropagationY=!1,this.stateTimeout=null,this.ngDestroy=new r.a,this.stateUpdate=new r.a,this.disabled=!1,this.usePSClass=!0,this.autoPropagation=!1,this.scrollIndicators=!1,this.psScrollY=new p.EventEmitter,this.psScrollX=new p.EventEmitter,this.psScrollUp=new p.EventEmitter,this.psScrollDown=new p.EventEmitter,this.psScrollLeft=new p.EventEmitter,this.psScrollRight=new p.EventEmitter,this.psYReachEnd=new p.EventEmitter,this.psYReachStart=new p.EventEmitter,this.psXReachEnd=new p.EventEmitter,this.psXReachStart=new p.EventEmitter}ngOnInit(){Object(f.v)(this.platformId)&&(this.stateUpdate.pipe(Object(a.a)(this.ngDestroy),Object(l.a)((e,t)=>e===t&&!this.stateTimeout)).subscribe(e=>{this.stateTimeout&&"undefined"!=typeof window&&(window.clearTimeout(this.stateTimeout),this.stateTimeout=null),"x"===e||"y"===e?(this.interaction=!1,"x"===e?(this.indicatorX=!1,this.states.left=!1,this.states.right=!1,this.autoPropagation&&this.usePropagationX&&(this.allowPropagationX=!1)):"y"===e&&(this.indicatorY=!1,this.states.top=!1,this.states.bottom=!1,this.autoPropagation&&this.usePropagationY&&(this.allowPropagationY=!1))):("left"===e||"right"===e?(this.states.left=!1,this.states.right=!1,this.states[e]=!0,this.autoPropagation&&this.usePropagationX&&(this.indicatorX=!0)):"top"!==e&&"bottom"!==e||(this.states.top=!1,this.states.bottom=!1,this.states[e]=!0,this.autoPropagation&&this.usePropagationY&&(this.indicatorY=!0)),this.autoPropagation&&"undefined"!=typeof window&&(this.stateTimeout=window.setTimeout(()=>{this.indicatorX=!1,this.indicatorY=!1,this.stateTimeout=null,this.interaction&&(this.states.left||this.states.right)&&(this.allowPropagationX=!0),this.interaction&&(this.states.top||this.states.bottom)&&(this.allowPropagationY=!0),this.cdRef.markForCheck()},500))),this.cdRef.markForCheck(),this.cdRef.detectChanges()}),this.zone.runOutsideAngular(()=>{if(this.directiveRef){const e=this.directiveRef.elementRef.nativeElement;Object(i.a)(e,"wheel").pipe(Object(a.a)(this.ngDestroy)).subscribe(e=>{!this.disabled&&this.autoPropagation&&this.checkPropagation(e,e.deltaX,e.deltaY)}),Object(i.a)(e,"touchmove").pipe(Object(a.a)(this.ngDestroy)).subscribe(e=>{if(!this.disabled&&this.autoPropagation){const t=e.touches[0].clientX,n=e.touches[0].clientY;this.checkPropagation(e,t-this.scrollPositionX,n-this.scrollPositionY),this.scrollPositionX=t,this.scrollPositionY=n}}),Object(o.a)(Object(i.a)(e,"ps-scroll-x").pipe(u("x")),Object(i.a)(e,"ps-scroll-y").pipe(u("y")),Object(i.a)(e,"ps-x-reach-end").pipe(u("right")),Object(i.a)(e,"ps-y-reach-end").pipe(u("bottom")),Object(i.a)(e,"ps-x-reach-start").pipe(u("left")),Object(i.a)(e,"ps-y-reach-start").pipe(u("top"))).pipe(Object(a.a)(this.ngDestroy)).subscribe(e=>{this.disabled||!this.autoPropagation&&!this.scrollIndicators||this.stateUpdate.next(e)})}}),window.setTimeout(()=>{ge.forEach(e=>{this.directiveRef&&(this.directiveRef[e]=this[e])})},0))}ngOnDestroy(){Object(f.v)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&"undefined"!=typeof window&&window.clearTimeout(this.stateTimeout))}ngDoCheck(){if(Object(f.v)(this.platformId)&&!this.disabled&&this.autoPropagation&&this.directiveRef){const e=this.directiveRef.elementRef.nativeElement;this.usePropagationX=e.classList.contains("ps--active-x"),this.usePropagationY=e.classList.contains("ps--active-y")}}checkPropagation(e,t,n){this.interaction=!0;const r=t<0?-1:1,i=n<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==r)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==i))&&(e.preventDefault(),e.stopPropagation()),t&&(this.scrollDirectionX=r),n&&(this.scrollDirectionY=i),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}}return e.\u0275fac=function(t){return new(t||e)(p["\u0275\u0275directiveInject"](p.NgZone),p["\u0275\u0275directiveInject"](p.ChangeDetectorRef),p["\u0275\u0275directiveInject"](p.PLATFORM_ID))},e.\u0275cmp=p["\u0275\u0275defineComponent"]({type:e,selectors:[["perfect-scrollbar"]],viewQuery:function(e,t){if(1&e&&p["\u0275\u0275viewQuery"](be,3),2&e){let e;p["\u0275\u0275queryRefresh"](e=p["\u0275\u0275loadQuery"]())&&(t.directiveRef=e.first)}},hostVars:4,hostBindings:function(e,t){2&e&&p["\u0275\u0275classProp"]("ps-show-limits",t.autoPropagation)("ps-show-active",t.scrollIndicators)},inputs:{disabled:"disabled",usePSClass:"usePSClass",autoPropagation:"autoPropagation",scrollIndicators:"scrollIndicators",config:"config"},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],ngContentSelectors:he,decls:4,vars:5,consts:[[2,"position","static",3,"perfectScrollbar","disabled"],[1,"ps-content"],["class","ps-overlay",3,"ps-at-top","ps-at-left","ps-at-right","ps-at-bottom",4,"ngIf"],[1,"ps-overlay"],[1,"ps-indicator-top"],[1,"ps-indicator-left"],[1,"ps-indicator-right"],[1,"ps-indicator-bottom"]],template:function(e,t){1&e&&(p["\u0275\u0275projectionDef"](),p["\u0275\u0275elementStart"](0,"div",0),p["\u0275\u0275elementStart"](1,"div",1),p["\u0275\u0275projection"](2),p["\u0275\u0275elementEnd"](),p["\u0275\u0275template"](3,de,5,16,"div",2),p["\u0275\u0275elementEnd"]()),2&e&&(p["\u0275\u0275classProp"]("ps",t.usePSClass),p["\u0275\u0275property"]("perfectScrollbar",t.config)("disabled",t.disabled),p["\u0275\u0275advance"](3),p["\u0275\u0275property"]("ngIf",t.scrollIndicators))},directives:[be,f.m],styles:["perfect-scrollbar{display:block;height:100%;max-height:100%;max-width:100%;overflow:hidden;position:relative;width:100%}perfect-scrollbar[hidden]{display:none}perfect-scrollbar[fxflex]{display:flex;flex-direction:column;height:auto;min-height:0;min-width:0}perfect-scrollbar[fxflex]>.ps{-webkit-box-flex:1;flex:1 1 auto;height:auto;min-height:0;min-width:0;width:auto}perfect-scrollbar[fxlayout]>.ps,perfect-scrollbar[fxlayout]>.ps>.ps-content{-webkit-box-align:inherit;-webkit-box-flex:1;-webkit-box-pack:inherit;align-content:inherit;align-items:inherit;display:flex;flex:1 1 auto;flex-direction:inherit;height:100%;justify-content:inherit;width:100%},perfect-scrollbar[fxlayout=row]>.ps,perfect-scrollbar[fxlayout=row]>.ps>.ps-content{flex-direction:row!important}perfect-scrollbar[fxlayout=column]>.ps,perfect-scrollbar[fxlayout=column]>.ps>.ps-content{flex-direction:column!important}perfect-scrollbar>.ps{display:block;height:100%;max-height:100%;max-width:100%;position:static;width:100%}perfect-scrollbar>.ps textarea{-ms-overflow-style:scrollbar}perfect-scrollbar>.ps>.ps-overlay{bottom:0;display:block;left:0;overflow:hidden;pointer-events:none;position:absolute;right:0;top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{opacity:0;position:absolute;transition:opacity .3s ease-in-out}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{left:0;min-height:24px;min-width:100%}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{min-height:100%;min-width:24px;top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left{left:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{right:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{bottom:0}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y{cursor:default;left:auto!important;right:0!important;top:0!important;transition:width .2s linear,opacity .2s linear,background-color .2s linear;width:10px}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y.ps--clicking,perfect-scrollbar>.ps.ps--active-y>.ps__rail-y:hover{width:15px}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x{bottom:0!important;cursor:default;height:10px;left:0!important;top:auto!important;transition:height .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x.ps--clicking,perfect-scrollbar>.ps.ps--active-x>.ps__rail-x:hover{height:15px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-y{margin:0 0 10px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-x{margin:0 10px 0 0}perfect-scrollbar>.ps.ps--scrolling-x>.ps__rail-x,perfect-scrollbar>.ps.ps--scrolling-y>.ps__rail-y{background-color:#eee;opacity:.9}perfect-scrollbar.ps-show-always>.ps.ps--active-x>.ps__rail-x,perfect-scrollbar.ps-show-always>.ps.ps--active-y>.ps__rail-y{opacity:.6}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-top) .ps-indicator-top{background:linear-gradient(180deg,hsla(0,0%,100%,.5) 0,hsla(0,0%,100%,0));opacity:1}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-bottom) .ps-indicator-bottom{background:linear-gradient(0deg,hsla(0,0%,100%,.5) 0,hsla(0,0%,100%,0));opacity:1}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-left) .ps-indicator-left{background:linear-gradient(90deg,hsla(0,0%,100%,.5) 0,hsla(0,0%,100%,0));opacity:1}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-right) .ps-indicator-right{background:linear-gradient(270deg,hsla(0,0%,100%,.5) 0,hsla(0,0%,100%,0));opacity:1}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top{background:linear-gradient(180deg,hsla(0,0%,66.7%,.5) 0,hsla(0,0%,66.7%,0))}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom{background:linear-gradient(0deg,hsla(0,0%,66.7%,.5) 0,hsla(0,0%,66.7%,0))}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left{background:linear-gradient(90deg,hsla(0,0%,66.7%,.5) 0,hsla(0,0%,66.7%,0))}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right{background:linear-gradient(270deg,hsla(0,0%,66.7%,.5) 0,hsla(0,0%,66.7%,0))}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top.ps-indicator-show{opacity:1}",".ps{-ms-overflow-style:none;-ms-touch-action:auto;overflow:hidden!important;overflow-anchor:none;touch-action:auto}.ps__rail-x{bottom:0;height:15px}.ps__rail-x,.ps__rail-y{-webkit-transition:background-color .2s linear,opacity .2s linear;display:none;opacity:0;position:absolute;transition:background-color .2s linear,opacity .2s linear}.ps__rail-y{right:0;width:15px}.ps--active-x>.ps__rail-x,.ps--active-y>.ps__rail-y{background-color:transparent;display:block}.ps--focus>.ps__rail-x,.ps--focus>.ps__rail-y,.ps--scrolling-x>.ps__rail-x,.ps--scrolling-y>.ps__rail-y,.ps:hover>.ps__rail-x,.ps:hover>.ps__rail-y{opacity:.6}.ps .ps__rail-x.ps--clicking,.ps .ps__rail-x:focus,.ps .ps__rail-x:hover,.ps .ps__rail-y.ps--clicking,.ps .ps__rail-y:focus,.ps .ps__rail-y:hover{background-color:#eee;opacity:.9}.ps__thumb-x{-webkit-transition:background-color .2s linear,height .2s ease-in-out;bottom:2px;height:6px;transition:background-color .2s linear,height .2s ease-in-out}.ps__thumb-x,.ps__thumb-y{background-color:#aaa;border-radius:6px;position:absolute}.ps__thumb-y{-webkit-transition:background-color .2s linear,width .2s ease-in-out;right:2px;transition:background-color .2s linear,width .2s ease-in-out;width:6px}.ps__rail-x.ps--clicking .ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x:hover>.ps__thumb-x{background-color:#999;height:11px}.ps__rail-y.ps--clicking .ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y:hover>.ps__thumb-y{background-color:#999;width:11px}@supports (-ms-overflow-style:none){.ps{overflow:auto!important}}@media (-ms-high-contrast:none),screen and (-ms-high-contrast:active){.ps{overflow:auto!important}}"],encapsulation:2}),e})(),ye=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=p["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=p["\u0275\u0275defineInjector"]({imports:[[f.c],f.c]}),e})()},akkN:function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r=function(){const e=window.location.origin,t={siteProApi:"",ecatalogApi:"",pictureUrl:""};return e.indexOf("localhost")>=0?(t.siteProApi="https://site-pro-api.test-nmarket.pro",t.ecatalogApi="https://site-pro-api.test-nmarket.pro",t.pictureUrl="brokerage.iy"):e.indexOf("nmstaging3.ru")>=0||e.indexOf("brokerage.iy")>=0||e.indexOf("wnmarket.pro")>=0?(t.siteProApi="http://site-pro-api.test-nmarket.pro",t.ecatalogApi="http://site-pro-api.test-nmarket.pro",t.pictureUrl="brokerage.iy"):e.indexOf("test-site-pro-spa.nmarket.pro")>=0||e.indexOf("zmarket.pro")>=0?(t.siteProApi="https://test-site-pro-api.nmarket.pro",t.ecatalogApi="https://test-site-pro-api.nmarket.pro",t.pictureUrl="nmarket.pro"):(t.siteProApi="https://site-pro-api.nmarket.pro",t.ecatalogApi="https://site-pro-api.nmarket.pro",t.pictureUrl="nmarket.pro"),t}()},bHdf:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("5+tZ"),i=n("SpAZ");function o(e=Number.POSITIVE_INFINITY){return Object(r.a)(i.a,e)}},bOdf:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("5+tZ");function i(e,t){return Object(r.a)(e,t,1)}},c0AU:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("8Y7J");let i=(()=>{class e{transform(e,t,n,r,i){const o=e%100;if(o>10&&o<20)return`${e} ${t}${i}`;switch(o%10){case 2:case 3:case 4:return`${e} ${t}${r}`;case 5:case 6:case 7:case 8:case 9:case 0:return`${e} ${t}${i}`;default:return`${e} ${t}${n}`}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r["\u0275\u0275definePipe"]({name:"countSuffix",type:e,pure:!0}),e})()},c2HN:function(e,t,n){"use strict";function r(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",function(){return r})},cUpR:function(e,t,n){"use strict";n.r(t),n.d(t,"BrowserModule",function(){return le}),n.d(t,"BrowserTransferStateModule",function(){return Oe}),n.d(t,"By",function(){return Se}),n.d(t,"DomSanitizer",function(){return X}),n.d(t,"EVENT_MANAGER_PLUGINS",function(){return y}),n.d(t,"EventManager",function(){return w}),n.d(t,"HAMMER_GESTURE_CONFIG",function(){return N}),n.d(t,"HAMMER_LOADER",function(){return V}),n.d(t,"HammerGestureConfig",function(){return B}),n.d(t,"HammerModule",function(){return G}),n.d(t,"Meta",function(){return ue}),n.d(t,"Title",function(){return pe}),n.d(t,"TransferState",function(){return xe}),n.d(t,"VERSION",function(){return ke}),n.d(t,"disableDebugTools",function(){return ve}),n.d(t,"enableDebugTools",function(){return be}),n.d(t,"makeStateKey",function(){return we}),n.d(t,"platformBrowser",function(){return se}),n.d(t,"\u0275BROWSER_SANITIZATION_PROVIDERS",function(){return oe}),n.d(t,"\u0275BROWSER_SANITIZATION_PROVIDERS__POST_R3__",function(){return ie}),n.d(t,"\u0275BrowserDomAdapter",function(){return s}),n.d(t,"\u0275BrowserGetTestability",function(){return h}),n.d(t,"\u0275DomEventsPlugin",function(){return F}),n.d(t,"\u0275DomRendererFactory2",function(){return R}),n.d(t,"\u0275DomSanitizerImpl",function(){return J}),n.d(t,"\u0275DomSharedStylesHost",function(){return O}),n.d(t,"\u0275ELEMENT_PROBE_PROVIDERS",function(){return v}),n.d(t,"\u0275ELEMENT_PROBE_PROVIDERS__POST_R3__",function(){return _}),n.d(t,"\u0275HAMMER_PROVIDERS__POST_R3__",function(){return H}),n.d(t,"\u0275HammerGesturesPlugin",function(){return z}),n.d(t,"\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS",function(){return re}),n.d(t,"\u0275KeyEventsPlugin",function(){return Q}),n.d(t,"\u0275NAMESPACE_URIS",function(){return k}),n.d(t,"\u0275SharedStylesHost",function(){return C}),n.d(t,"\u0275TRANSITION_ID",function(){return c}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_a",function(){return te}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_b",function(){return ne}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_c",function(){return ae}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_d",function(){return ce}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_e",function(){return he}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_f",function(){return Ce}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_g",function(){return x}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_h",function(){return U}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_i",function(){return $}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_j",function(){return K}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_k",function(){return u}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_l",function(){return d}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_m",function(){return g}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_n",function(){return b}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_o",function(){return o}),n.d(t,"\u0275escapeHtml",function(){return ye}),n.d(t,"\u0275flattenStyles",function(){return j}),n.d(t,"\u0275initDomAdapter",function(){return ee}),n.d(t,"\u0275shimContentAttribute",function(){return I}),n.d(t,"\u0275shimHostAttribute",function(){return P});var r=n("SVse"),i=n("8Y7J");n.d(t,"\u0275getDOM",function(){return r.y});class o extends r.w{constructor(){super()}supportsDOMEvents(){return!0}}class s extends o{static makeCurrent(){Object(r.A)(new s)}getProperty(e,t){return e[t]}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=l||(l=document.querySelector("base"),l)?l.getAttribute("href"):null;return null==t?null:(n=t,a||(a=document.createElement("a")),a.setAttribute("href",n),"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname);var n}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return Object(r.z)(document.cookie,e)}}let a,l=null;const c=new i.InjectionToken("TRANSITION_ID");function u(e,t,n){return()=>{n.get(i.ApplicationInitStatus).donePromise.then(()=>{const n=Object(r.y)();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}}const d=[{provide:i.APP_INITIALIZER,useFactory:u,deps:[c,r.d,i.Injector],multi:!0}];class h{static init(){Object(i.setTestabilityGetter)(new h)}addToWindow(e){i["\u0275global"].getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},i["\u0275global"].getAllAngularTestabilities=()=>e.getAllTestabilities(),i["\u0275global"].getAllAngularRootElements=()=>e.getAllRootElements(),i["\u0275global"].frameworkStabilizers||(i["\u0275global"].frameworkStabilizers=[]),i["\u0275global"].frameworkStabilizers.push(e=>{const t=i["\u0275global"].getAllAngularTestabilities();let n=t.length,r=!1;const o=function(t){r=r||t,n--,0==n&&e(r)};t.forEach(function(e){e.whenStable(o)})})}findTestabilityInTree(e,t,n){if(null==t)return null;const i=e.getTestability(t);return null!=i?i:n?Object(r.y)().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}function p(e,t){"undefined"!=typeof COMPILED&&COMPILED||((i["\u0275global"].ng=i["\u0275global"].ng||{})[e]=t)}const f=(()=>({ApplicationRef:i.ApplicationRef,NgZone:i.NgZone}))();function m(e){return Object(i["\u0275getDebugNodeR2"])(e)}function g(e){return p("probe",m),p("coreTokens",Object.assign(Object.assign({},f),(e||[]).reduce((e,t)=>(e[t.name]=t.token,e),{}))),()=>m}const _=[],b=[{provide:i.APP_INITIALIZER,useFactory:g,deps:[[i.NgProbeToken,new i.Optional]],multi:!0}],v=_,y=new i.InjectionToken("EventManagerPlugins");let w=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let r=0;r<n.length;r++){const t=n[r];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error(`No event manager plugin found for event ${e}`)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](y),i["\u0275\u0275inject"](i.NgZone))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();class x{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const i=Object(r.y)().getGlobalEventTarget(this._doc,e);if(!i)throw new Error(`Unsupported event target ${i} for event ${t}`);return this.addEventListener(i,t,n)}}let C=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),O=(()=>{class e extends C{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,t,n){e.forEach(e=>{const r=this._doc.createElement("style");r.textContent=e,n.push(t.appendChild(r))})}addHost(e){const t=[];this._addStylesToHost(this._stylesSet,e,t),this._hostNodes.set(e,t)}removeHost(e){const t=this._hostNodes.get(e);t&&t.forEach(S),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((t,n)=>{this._addStylesToHost(e,n,t)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(S))}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](r.d))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();function S(e){Object(r.y)().remove(e)}const k={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},E=/%COMP%/g;function I(e){return"_ngcontent-%COMP%".replace(E,e)}function P(e){return"_nghost-%COMP%".replace(E,e)}function j(e,t,n){for(let r=0;r<t.length;r++){let i=t[r];Array.isArray(i)?j(e,i,n):(i=i.replace(E,e),n.push(i))}return n}function M(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let R=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new A(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case i.ViewEncapsulation.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new T(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case 1:case i.ViewEncapsulation.ShadowDom:return new D(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=j(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](w),i["\u0275\u0275inject"](O),i["\u0275\u0275inject"](i.APP_ID))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();class A{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(k[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;const i=k[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=k[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&(i.RendererStyleFlags2.DashCase|i.RendererStyleFlags2.Important)?e.style.setProperty(t,n,r&i.RendererStyleFlags2.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&i.RendererStyleFlags2.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,M(n)):this.eventManager.addEventListener(e,t,M(n))}}class T extends A{constructor(e,t,n,r){super(e),this.component=n;const i=j(r+"-"+n.id,n.styles,[]);t.addStyles(i),this.contentAttr=I(r+"-"+n.id),this.hostAttr=P(r+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class D extends A{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=j(r.id,r.styles,[]);for(let o=0;o<i.length;o++){const e=document.createElement("style");e.textContent=i[o],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let F=(()=>{class e extends x{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](r.d))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();const L={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},N=new i.InjectionToken("HammerGestureConfig"),V=new i.InjectionToken("HammerLoader");let B=(()=>{class e{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const n in this.overrides)t.get(n).set(this.overrides[n]);return t}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),z=(()=>{class e extends x{constructor(e,t,n,r){super(e),this._config=t,this.console=n,this.loader=r,this._loaderPromise=null}supports(e){return!(!L.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader)}addEventListener(e,t,n){const r=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||this.loader();let r=!1,i=()=>{r=!0};return this._loaderPromise.then(()=>{window.Hammer?r||(i=this.addEventListener(e,t,n)):i=()=>{}}).catch(()=>{i=()=>{}}),()=>{i()}}return r.runOutsideAngular(()=>{const i=this._config.buildHammer(e),o=function(e){r.runGuarded(function(){n(e)})};return i.on(t,o),()=>{i.off(t,o),"function"==typeof i.destroy&&i.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](r.d),i["\u0275\u0275inject"](N),i["\u0275\u0275inject"](i["\u0275Console"]),i["\u0275\u0275inject"](V,8))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();const H=[],U=[{provide:y,useClass:z,multi:!0,deps:[r.d,N,i["\u0275Console"],[new i.Optional,V]]},{provide:N,useClass:B,deps:[]}],$=H;let G=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({providers:U}),e})();const W=["alt","control","meta","shift"],Y={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},q={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Z={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let Q=(()=>{class e extends x{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,i){const o=e.parseEventName(n),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Object(r.y)().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const i=e._normalizeKey(n.pop());let o="";if(W.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),o+=e+".")}),o+=i,0!=n.length||0===i.length)return null;const s={};return s.domEventName=r,s.fullKey=o,s}static getEventFullKey(e){let t="",n=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&q.hasOwnProperty(t)&&(t=q[t]))}return Y[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),W.forEach(r=>{r!=n&&(0,Z[r])(e)&&(t+=r+".")}),t+=n,t}static eventCallback(t,n,r){return i=>{e.getEventFullKey(i)===t&&r.runGuarded(()=>n(i))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](r.d))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),X=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return Object(i["\u0275\u0275inject"])(J)},token:e,providedIn:"root"}),e})();function K(e){return new J(e.get(r.d))}let J=(()=>{class e extends X{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case i.SecurityContext.NONE:return t;case i.SecurityContext.HTML:return Object(i["\u0275allowSanitizationBypassAndThrow"])(t,"HTML")?Object(i["\u0275unwrapSafeValue"])(t):Object(i["\u0275_sanitizeHtml"])(this._doc,String(t)).toString();case i.SecurityContext.STYLE:return Object(i["\u0275allowSanitizationBypassAndThrow"])(t,"Style")?Object(i["\u0275unwrapSafeValue"])(t):t;case i.SecurityContext.SCRIPT:if(Object(i["\u0275allowSanitizationBypassAndThrow"])(t,"Script"))return Object(i["\u0275unwrapSafeValue"])(t);throw new Error("unsafe value used in a script context");case i.SecurityContext.URL:return Object(i["\u0275getSanitizationBypassType"])(t),Object(i["\u0275allowSanitizationBypassAndThrow"])(t,"URL")?Object(i["\u0275unwrapSafeValue"])(t):Object(i["\u0275_sanitizeUrl"])(String(t));case i.SecurityContext.RESOURCE_URL:if(Object(i["\u0275allowSanitizationBypassAndThrow"])(t,"ResourceURL"))return Object(i["\u0275unwrapSafeValue"])(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return Object(i["\u0275bypassSanitizationTrustHtml"])(e)}bypassSecurityTrustStyle(e){return Object(i["\u0275bypassSanitizationTrustStyle"])(e)}bypassSecurityTrustScript(e){return Object(i["\u0275bypassSanitizationTrustScript"])(e)}bypassSecurityTrustUrl(e){return Object(i["\u0275bypassSanitizationTrustUrl"])(e)}bypassSecurityTrustResourceUrl(e){return Object(i["\u0275bypassSanitizationTrustResourceUrl"])(e)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](r.d))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return K(Object(i["\u0275\u0275inject"])(i.INJECTOR))},token:e,providedIn:"root"}),e})();function ee(){s.makeCurrent(),h.init()}function te(){return new i.ErrorHandler}function ne(){return Object(i["\u0275setDocument"])(document),document}const re=[{provide:i.PLATFORM_ID,useValue:r.x},{provide:i.PLATFORM_INITIALIZER,useValue:ee,multi:!0},{provide:r.d,useFactory:ne,deps:[]}],ie=[],oe=ie,se=Object(i.createPlatformFactory)(i.platformCore,"browser",re),ae=[oe,{provide:i["\u0275INJECTOR_SCOPE"],useValue:"root"},{provide:i.ErrorHandler,useFactory:te,deps:[]},{provide:y,useClass:F,multi:!0,deps:[r.d,i.NgZone,i.PLATFORM_ID]},{provide:y,useClass:Q,multi:!0,deps:[r.d]},$,{provide:R,useClass:R,deps:[w,O,i.APP_ID]},{provide:i.RendererFactory2,useExisting:R},{provide:C,useExisting:O},{provide:O,useClass:O,deps:[r.d]},{provide:i.Testability,useClass:i.Testability,deps:[i.NgZone]},{provide:w,useClass:w,deps:[y,i.NgZone]},v];let le=(()=>{class e{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:i.APP_ID,useValue:t.appId},{provide:c,useExisting:i.APP_ID},d]}}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](e,12))},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({providers:ae,imports:[r.c,i.ApplicationModule]}),e})();function ce(){return new ue(Object(i["\u0275\u0275inject"])(r.d))}let ue=(()=>{class e{constructor(e){this._doc=e,this._dom=Object(r.y)()}addTag(e,t=!1){return e?this._getOrCreateElement(e,t):null}addTags(e,t=!1){return e?e.reduce((e,n)=>(n&&e.push(this._getOrCreateElement(n,t)),e),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];const t=this._doc.querySelectorAll(`meta[${e}]`);return t?[].slice.call(t):[]}updateTag(e,t){if(!e)return null;t=t||this._parseSelector(e);const n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,t=!1){if(!t){const t=this._parseSelector(e),n=this.getTag(t);if(n&&this._containsAttributes(e,n))return n}const n=this._dom.createElement("meta");return this._setMetaElementAttributes(e,n),this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(e,t){return Object.keys(e).forEach(n=>t.setAttribute(this._getMetaKeyMap(n),e[n])),t}_parseSelector(e){const t=e.name?"name":"property";return`${t}="${e[t]}"`}_containsAttributes(e,t){return Object.keys(e).every(n=>t.getAttribute(this._getMetaKeyMap(n))===e[n])}_getMetaKeyMap(e){return de[e]||e}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](r.d))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:ce,token:e,providedIn:"root"}),e})();const de={httpEquiv:"http-equiv"};function he(){return new pe(Object(i["\u0275\u0275inject"])(r.d))}let pe=(()=>{class e{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](r.d))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:he,token:e,providedIn:"root"}),e})();const fe="undefined"!=typeof window&&window||{};class me{constructor(e,t){this.msPerTick=e,this.numTicks=t}}class ge{constructor(e){this.appRef=e.injector.get(i.ApplicationRef)}timeChangeDetection(e){const t=e&&e.record,n="Change Detection",i=null!=fe.console.profile;t&&i&&fe.console.profile(n);const o=Object(r.y)().performanceNow();let s=0;for(;s<5||Object(r.y)().performanceNow()-o<500;)this.appRef.tick(),s++;const a=Object(r.y)().performanceNow();t&&i&&fe.console.profileEnd(n);const l=(a-o)/s;return fe.console.log(`ran ${s} change detection cycles`),fe.console.log(`${l.toFixed(2)} ms per check`),new me(l,s)}}const _e="profiler";function be(e){return p(_e,new ge(e)),e}function ve(){p(_e,null)}function ye(e){const t={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return e.replace(/[&"'<>]/g,e=>t[e])}function we(e){return e}let xe=(()=>{class e{constructor(){this.store={},this.onSerializeCallbacks={}}static init(t){const n=new e;return n.store=t,n}get(e,t){return void 0!==this.store[e]?this.store[e]:t}set(e,t){this.store[e]=t}remove(e){delete this.store[e]}hasKey(e){return this.store.hasOwnProperty(e)}onSerialize(e,t){this.onSerializeCallbacks[e]=t}toJson(){for(const t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(e){console.warn("Exception in onSerialize callback: ",e)}return JSON.stringify(this.store)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();function Ce(e,t){const n=e.getElementById(t+"-state");let r={};if(n&&n.textContent)try{r=JSON.parse(function(e){const t={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return e.replace(/&[^;]+;/g,e=>t[e])}(n.textContent))}catch(i){console.warn("Exception while restoring TransferState for app "+t,i)}return xe.init(r)}let Oe=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({providers:[{provide:xe,useFactory:Ce,deps:[r.d,i.APP_ID]}]}),e})();class Se{static all(){return()=>!0}static css(e){return t=>null!=t.nativeElement&&function(e,t){return!!Object(r.y)().isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))}(t.nativeElement,e)}static directive(e){return t=>-1!==t.providerTokens.indexOf(e)}}const ke=new i.Version("11.2.14")},eIep:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("lJxs"),i=n("Cfvw"),o=n("zx2A");function s(e,t){return"function"==typeof t?n=>n.pipe(s((n,o)=>Object(i.a)(e(n,o)).pipe(Object(r.a)((e,r)=>t(n,e,o,r))))):t=>t.lift(new a(e))}class a{constructor(e){this.project=e}call(e,t){return t.subscribe(new l(e,this.project))}}class l extends o.b{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const n=new o.a(this),r=this.destination;r.add(n),this.innerSubscription=Object(o.c)(e,n),this.innerSubscription!==n&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}},ey9i:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return s});var r=n("8Y7J");let i=(()=>{class e{constructor(){this.subs=[]}ngOnDestroy(){this.subs.forEach(e=>!!e&&e.unsubscribe())}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e}),e})();var o=n("1O3W");let s=(()=>{class e extends o.e{_createContainer(){const e="cp-overlay-container",t=this._document.createElement("div");if(t.classList.add("cdk-overlay-container",e),this._platform.isBrowser){const t=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let e=0;e<t.length;e++)t[e].parentNode.removeChild(t[e])}else t.setAttribute("platform","server");this._document.body.appendChild(t),this._containerElement=t}}return e.\u0275fac=function(t){return a(t||e)},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const a=r["\u0275\u0275getInheritedFactory"](s)},"fGr/":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("8Y7J");let i=(()=>{class e{transform(e){return e?e.replace(" \u043c.",""):""}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r["\u0275\u0275definePipe"]({name:"metroName",type:e,pure:!0}),e})()},gRHU:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("2fFW"),i=n("NJ4a");const o={closed:!0,next(e){},error(e){if(r.a.useDeprecatedSynchronousErrorHandling)throw e;Object(i.a)(e)},complete(){}}},gsLV:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("8Y7J");let i=(()=>{class e{onWindowScroll(){this.toggleView()}ngOnInit(){this.toggleView()}scrollTop(){window.scroll(0,0)}toggleView(){this.isShow=window.pageYOffset>200}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["scroll-top-btn"]],hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("scroll",function(){return t.onWindowScroll()},!1,r["\u0275\u0275resolveWindow"])},decls:3,vars:2,consts:[[3,"click"],["width","16","height","16","viewBox","0 0 16 16","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M13.7288 11.2048C14.0922 10.8374 14.0915 10.2458 13.7273 9.8792L8.70925 4.82886C8.31821 4.43531 7.68154 4.43531 7.2905 4.82886L2.27569 9.87599C1.90968 10.2443 1.90901 10.8389 2.27417 11.2081C2.64444 11.5824 3.24912 11.5824 3.61939 11.2081L7.64439 7.13867C7.84008 6.94082 8.15966 6.94082 8.35536 7.13867L12.3772 11.2048C12.7492 11.581 13.3567 11.581 13.7288 11.2048Z","fill","currentColor"]],template:function(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"div",0),r["\u0275\u0275listener"]("click",function(){return t.scrollTop()}),r["\u0275\u0275namespaceSVG"](),r["\u0275\u0275elementStart"](1,"svg",1),r["\u0275\u0275element"](2,"path",2),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e&&r["\u0275\u0275classProp"]("show",t.isShow)},styles:["div[_ngcontent-%COMP%]{position:fixed;bottom:20px;right:20px;padding:0;border:0;line-height:0;cursor:pointer;opacity:0;visibility:hidden;background-color:initial;transition:all .3s}div.show[_ngcontent-%COMP%]{opacity:1;visibility:visible}@media screen and (max-width:1023px){div[_ngcontent-%COMP%]{bottom:55px}}svg[_ngcontent-%COMP%]{color:RGB(var(--white-color));line-height:inherit;display:block;padding:16px;border-radius:50%;opacity:.1;background-color:RGB(var(--smoky-black-color));transition:inherit}@media screen and (max-width:1280px){svg[_ngcontent-%COMP%], svg[_ngcontent-%COMP%]:hover{opacity:.3}}"],changeDetection:0}),e})()},gu9F:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n("8Y7J"),i=n("SVse");function o(e,t){if(1&e&&(r["\u0275\u0275elementContainerStart"](0),r["\u0275\u0275element"](1,"div",5),r["\u0275\u0275elementContainerEnd"]()),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("innerHTML",e.labelText,r["\u0275\u0275sanitizeHtml"])}}function s(e,t){if(1&e&&r["\u0275\u0275text"](0),2&e){const e=r["\u0275\u0275nextContext"]();r["\u0275\u0275textInterpolate1"](" ",e.labelText," ")}}const a=["*"];let l=(()=>{class e{constructor(){this.inputWrapperClass="cp-input-wrapper__text",this.isLabelHtml=!1}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["app-input"]],inputs:{labelText:"labelText",inputWrapperClass:"inputWrapperClass",inputId:"inputId",isLabelHtml:"isLabelHtml",postfix:"postfix",currency:"currency"},ngContentSelectors:a,decls:7,vars:6,consts:[[1,"cp-input-wrapper",3,"ngClass"],[1,"label","unselectable",3,"for"],[1,"label__text"],[4,"ngIf","ngIfElse"],["lText",""],[3,"innerHTML"]],template:function(e,t){if(1&e&&(r["\u0275\u0275projectionDef"](),r["\u0275\u0275elementStart"](0,"div",0),r["\u0275\u0275projection"](1),r["\u0275\u0275elementStart"](2,"label",1),r["\u0275\u0275elementStart"](3,"span",2),r["\u0275\u0275template"](4,o,2,1,"ng-container",3),r["\u0275\u0275template"](5,s,1,1,"ng-template",null,4,r["\u0275\u0275templateRefExtractor"]),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275reference"](6);r["\u0275\u0275property"]("ngClass",t.inputWrapperClass),r["\u0275\u0275attribute"]("data-postfix",t.postfix)("data-currency",t.currency),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("for",t.inputId),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngIf",t.isLabelHtml)("ngIfElse",e)}},directives:[i.k,i.m],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0}),e})()},iELJ:function(e,t,n){"use strict";n.d(t,"a",function(){return E}),n.d(t,"b",function(){return R}),n.d(t,"c",function(){return A}),n.d(t,"d",function(){return T}),n.d(t,"e",function(){return S});var r=n("1O3W"),i=n("1z/I"),o=n("8Y7J"),s=n("UhP/"),a=n("9gLZ"),l=n("SVse"),c=n("XNiG"),u=n("NXyV"),d=n("LRne"),h=n("pLZG"),p=n("IzEk"),f=n("JX91"),m=n("GS7A"),g=n("Ht+U"),_=n("YEUz");function b(e,t){}class v{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const y={dialogContainer:Object(m.l)("dialogContainer",[Object(m.i)("void, exit",Object(m.j)({opacity:0,transform:"scale(0.7)"})),Object(m.i)("enter",Object(m.j)({transform:"none"})),Object(m.k)("* => enter",Object(m.e)("150ms cubic-bezier(0, 0, 0.2, 1)",Object(m.j)({transform:"none",opacity:1}))),Object(m.k)("* => void, * => exit",Object(m.e)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Object(m.j)({opacity:0})))])};let w=(()=>{class e extends i.a{constructor(e,t,n,r,i,s){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=n,this._config=i,this._focusMonitor=s,this._animationStateChanged=new o.EventEmitter,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=e=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(e)),this._ariaLabelledBy=i.ariaLabelledBy||null,this._document=r}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const t=this._getActiveElement(),n=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==n&&!n.contains(t)||(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._getActiveElement())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=this._getActiveElement();return e===t||e.contains(t)}_getActiveElement(){var e;const t=this._document.activeElement;return(null===(e=null==t?void 0:t.shadowRoot)||void 0===e?void 0:e.activeElement)||t}}return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](o.ElementRef),o["\u0275\u0275directiveInject"](_.d),o["\u0275\u0275directiveInject"](o.ChangeDetectorRef),o["\u0275\u0275directiveInject"](l.d,8),o["\u0275\u0275directiveInject"](v),o["\u0275\u0275directiveInject"](_.c))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,viewQuery:function(e,t){if(1&e&&o["\u0275\u0275viewQuery"](i.b,3),2&e){let e;o["\u0275\u0275queryRefresh"](e=o["\u0275\u0275loadQuery"]())&&(t._portalOutlet=e.first)}},features:[o["\u0275\u0275InheritDefinitionFeature"]]}),e})(),x=(()=>{class e extends w{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:t}))}_onAnimationStart({toState:e,totalTime:t}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:t}):"exit"!==e&&"void"!==e||this._animationStateChanged.next({state:"closing",totalTime:t})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return e.\u0275fac=function(t){return C(t||e)},e.\u0275cmp=o["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&o["\u0275\u0275syntheticHostListener"]("@dialogContainer.start",function(e){return t._onAnimationStart(e)})("@dialogContainer.done",function(e){return t._onAnimationDone(e)}),2&e&&(o["\u0275\u0275hostProperty"]("id",t._id),o["\u0275\u0275attribute"]("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),o["\u0275\u0275syntheticHostProperty"]("@dialogContainer",t._state))},features:[o["\u0275\u0275InheritDefinitionFeature"]],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&o["\u0275\u0275template"](0,b,0,0,"ng-template",0)},directives:[i.b],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[y.dialogContainer]}}),e})();const C=o["\u0275\u0275getInheritedFactory"](x);let O=0;class S{constructor(e,t,n="mat-dialog-"+O++){this._overlayRef=e,this._containerInstance=t,this.id=n,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new c.a,this._afterClosed=new c.a,this._beforeClosed=new c.a,this._state=0,t._id=n,t._animationStateChanged.pipe(Object(h.a)(e=>"opened"===e.state),Object(p.a)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(Object(h.a)(e=>"closed"===e.state),Object(p.a)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),e.keydownEvents().pipe(Object(h.a)(e=>e.keyCode===g.e&&!this.disableClose&&!Object(g.q)(e))).subscribe(e=>{e.preventDefault(),k(this,"keyboard")}),e.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():k(this,"mouse")})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(Object(h.a)(e=>"closing"===e.state),Object(p.a)(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(e){let t=this._getPositionStrategy();return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(e="",t=""){return this._overlayRef.updateSize({width:e,height:t}),this._overlayRef.updatePosition(),this}addPanelClass(e){return this._overlayRef.addPanelClass(e),this}removePanelClass(e){return this._overlayRef.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function k(e,t,n){return void 0!==e._containerInstance&&(e._containerInstance._closeInteractionType=t),e.close(n)}const E=new o.InjectionToken("MatDialogData"),I=new o.InjectionToken("mat-dialog-default-options"),P=new o.InjectionToken("mat-dialog-scroll-strategy"),j={provide:P,deps:[r.c],useFactory:function(e){return()=>e.scrollStrategies.block()}};let M=(()=>{class e{constructor(e,t,n,r,i,o,s,a,l){this._overlay=e,this._injector=t,this._defaultOptions=n,this._parentDialog=r,this._overlayContainer=i,this._dialogRefConstructor=s,this._dialogContainerType=a,this._dialogDataToken=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new c.a,this._afterOpenedAtThisLevel=new c.a,this._ariaHiddenElements=new Map,this.afterAllClosed=Object(u.a)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Object(f.a)(void 0))),this._scrollStrategy=o}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,t){(t=function(e,t){return Object.assign(Object.assign({},t),e)}(t,this._defaultOptions||new v)).id&&this.getDialogById(t.id);const n=this._createOverlay(t),r=this._attachDialogContainer(n,t),i=this._attachDialogContent(e,r,n,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(i),i.afterClosed().subscribe(()=>this._removeOpenDialog(i)),this.afterOpened.next(i),r._initializeWithAttachedContent(),i}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new r.d({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachDialogContainer(e,t){const n=o.Injector.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:v,useValue:t}]}),r=new i.c(this._dialogContainerType,t.viewContainerRef,n,t.componentFactoryResolver);return e.attach(r).instance}_attachDialogContent(e,t,n,r){const s=new this._dialogRefConstructor(n,t,r.id);if(e instanceof o.TemplateRef)t.attachTemplatePortal(new i.f(e,null,{$implicit:r.data,dialogRef:s}));else{const n=this._createInjector(r,s,t),o=t.attachComponentPortal(new i.c(e,r.viewContainerRef,n));s.componentInstance=o.instance}return s.updateSize(r.width,r.height).updatePosition(r.position),s}_createInjector(e,t,n){const r=e&&e.viewContainerRef&&e.viewContainerRef.injector,i=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return!e.direction||r&&r.get(a.b,null)||i.push({provide:a.b,useValue:{value:e.direction,change:Object(d.a)()}}),o.Injector.create({parent:r||this._injector,providers:i})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((e,t)=>{e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const t=e.parentElement.children;for(let n=t.length-1;n>-1;n--){let r=t[n];r===e||"SCRIPT"===r.nodeName||"STYLE"===r.nodeName||r.hasAttribute("aria-live")||(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](r.c),o["\u0275\u0275directiveInject"](o.Injector),o["\u0275\u0275directiveInject"](void 0),o["\u0275\u0275directiveInject"](void 0),o["\u0275\u0275directiveInject"](r.e),o["\u0275\u0275directiveInject"](void 0),o["\u0275\u0275directiveInject"](o.Type),o["\u0275\u0275directiveInject"](o.Type),o["\u0275\u0275directiveInject"](o.InjectionToken))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e}),e})(),R=(()=>{class e extends M{constructor(e,t,n,r,i,o,s){super(e,t,r,o,s,i,S,x,E)}}return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](r.c),o["\u0275\u0275inject"](o.Injector),o["\u0275\u0275inject"](l.i,8),o["\u0275\u0275inject"](I,8),o["\u0275\u0275inject"](P),o["\u0275\u0275inject"](e,12),o["\u0275\u0275inject"](r.e))},e.\u0275prov=o["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),A=(()=>{class e{constructor(e,t,n){this.dialogRef=e,this._elementRef=t,this._dialog=n,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=function(e,t){let n=e.nativeElement.parentElement;for(;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?t.find(e=>e.id===n.id):null}(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){const t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)}_onButtonClick(e){k(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}}return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](S,8),o["\u0275\u0275directiveInject"](o.ElementRef),o["\u0275\u0275directiveInject"](R))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,t){1&e&&o["\u0275\u0275listener"]("click",function(e){return t._onButtonClick(e)}),2&e&&o["\u0275\u0275attribute"]("aria-label",t.ariaLabel||null)("type",t.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[o["\u0275\u0275NgOnChangesFeature"]]}),e})(),T=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({providers:[R,j],imports:[[r.f,i.e,s.d],s.d]}),e})()},iInd:function(e,t,n){"use strict";n.d(t,"a",function(){return Je}),n.d(t,"b",function(){return yn}),n.d(t,"c",function(){return wn}),n.d(t,"d",function(){return An}),n.d(t,"e",function(){return Cn});var r=n("SVse"),i=n("8Y7J"),o=n("Cfvw"),s=n("LRne"),a=n("2Vo4"),l=n("itXk"),c=n("HDdC");const u=(()=>{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})();var d=n("GyhO"),h=n("NXyV"),p=n("EY2u"),f=n("EQ5u"),m=n("XNiG"),g=n("lJxs"),_=n("eIep"),b=n("IzEk"),v=n("JX91"),y=n("7o/Q");function w(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new x(e,t,n))}}class x{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new C(e,this.accumulator,this.seed,this.hasSeed))}}class C extends y.a{constructor(e,t,n,r){super(e),this.accumulator=t,this._seed=n,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let n;try{n=this.accumulator(this.seed,e,t)}catch(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}var O=n("pLZG"),S=n("zx2A");function k(e){return function(t){const n=new E(e),r=t.lift(n);return n.caught=r}}class E{constructor(e){this.selector=e}call(e,t){return t.subscribe(new I(e,this.selector,this.caught))}}class I extends S.b{constructor(e,t,n){super(e),this.selector=t,this.caught=n}error(e){if(!this.isStopped){let n;try{n=this.selector(e,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const r=new S.a(this);this.add(r);const i=Object(S.c)(n,r);i!==r&&this.add(i)}}}var P=n("bOdf"),j=n("4I5i");function M(e){return function(t){return 0===e?Object(p.b)():t.lift(new R(e))}}class R{constructor(e){if(this.total=e,this.total<0)throw new j.a}call(e,t){return t.subscribe(new A(e,this.total))}}class A extends y.a{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,n=this.total,r=this.count++;t.length<n?t.push(e):t[r%n]=e}_complete(){const e=this.destination;let t=this.count;if(t>0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let i=0;i<n;i++){const i=t++%n;e.next(r[i])}}e.complete()}}function T(e=L){return t=>t.lift(new D(e))}class D{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new F(e,this.errorFactory))}}class F extends y.a{constructor(e,t){super(e),this.errorFactory=t,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function L(){return new u}function N(e=null){return t=>t.lift(new V(e))}class V{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new B(e,this.defaultValue))}}class B extends y.a{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var z=n("SpAZ");function H(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Object(O.a)((t,n)=>e(t,n,r)):z.a,Object(b.a)(1),n?N(t):T(()=>new u))}var U=n("5+tZ"),$=n("vkgz"),G=n("x+ZX"),W=n("nYR2"),Y=n("bHdf");class q{constructor(e,t){this.id=e,this.url=t}}class Z extends q{constructor(e,t,n="imperative",r=null){super(e,t),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Q extends q{constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class X extends q{constructor(e,t,n){super(e,t),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class K extends q{constructor(e,t,n){super(e,t),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class J extends q{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ee extends q{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class te extends q{constructor(e,t,n,r,i){super(e,t),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ne extends q{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class re extends q{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ie{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class oe{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class se{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ae{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class le{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ce{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ue{constructor(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const de="primary";class he{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function pe(e){return new he(e)}function fe(e){const t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function me(e,t,n){const r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;const i={};for(let o=0;o<r.length;o++){const t=r[o],n=e[o];if(t.startsWith(":"))i[t.substring(1)]=n;else if(t!==n.path)return null}return{consumed:e.slice(0,r.length),posParams:i}}function ge(e,t){const n=e?Object.keys(e):void 0,r=t?Object.keys(t):void 0;if(!n||!r||n.length!=r.length)return!1;let i;for(let o=0;o<n.length;o++)if(i=n[o],!_e(e[i],t[i]))return!1;return!0}function _e(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;const n=[...e].sort(),r=[...t].sort();return n.every((e,t)=>r[t]===e)}return e===t}function be(e){return Array.prototype.concat.apply([],e)}function ve(e){return e.length>0?e[e.length-1]:null}function ye(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function we(e){return Object(i["\u0275isObservable"])(e)?e:Object(i["\u0275isPromise"])(e)?Object(o.a)(Promise.resolve(e)):Object(s.a)(e)}function xe(e,t,n){return n?function(e,t){return ge(e,t)}(e.queryParams,t.queryParams)&&Ce(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>_e(e[n],t[n]))}(e.queryParams,t.queryParams)&&Oe(e.root,t.root)}function Ce(e,t){if(!Pe(e.segments,t.segments))return!1;if(e.numberOfChildren!==t.numberOfChildren)return!1;for(const n in t.children){if(!e.children[n])return!1;if(!Ce(e.children[n],t.children[n]))return!1}return!0}function Oe(e,t){return Se(e,t,t.segments)}function Se(e,t,n){if(e.segments.length>n.length)return!!Pe(e.segments.slice(0,n.length),n)&&!t.hasChildren();if(e.segments.length===n.length){if(!Pe(e.segments,n))return!1;for(const n in t.children){if(!e.children[n])return!1;if(!Oe(e.children[n],t.children[n]))return!1}return!0}{const r=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!!Pe(e.segments,r)&&!!e.children.primary&&Se(e.children.primary,t,i)}}class ke{constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=pe(this.queryParams)),this._queryParamMap}toString(){return Re.serialize(this)}}class Ee{constructor(e,t){this.segments=e,this.children=t,this.parent=null,ye(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ae(this)}}class Ie{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=pe(this.parameters)),this._parameterMap}toString(){return Be(this)}}function Pe(e,t){return e.length===t.length&&e.every((e,n)=>e.path===t[n].path)}class je{}class Me{parse(e){const t=new Ge(e);return new ke(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){var t;return`/${Te(e.root,!0)}${function(e){const t=Object.keys(e).map(t=>{const n=e[t];return Array.isArray(n)?n.map(e=>`${Fe(t)}=${Fe(e)}`).join("&"):`${Fe(t)}=${Fe(n)}`});return t.length?`?${t.join("&")}`:""}(e.queryParams)}${"string"==typeof e.fragment?`#${t=e.fragment,encodeURI(t)}`:""}`}}const Re=new Me;function Ae(e){return e.segments.map(e=>Be(e)).join("/")}function Te(e,t){if(!e.hasChildren())return Ae(e);if(t){const t=e.children.primary?Te(e.children.primary,!1):"",n=[];return ye(e.children,(e,t)=>{t!==de&&n.push(`${t}:${Te(e,!1)}`)}),n.length>0?`${t}(${n.join("//")})`:t}{const t=function(e,t){let n=[];return ye(e.children,(e,r)=>{r===de&&(n=n.concat(t(e,r)))}),ye(e.children,(e,r)=>{r!==de&&(n=n.concat(t(e,r)))}),n}(e,(t,n)=>n===de?[Te(e.children.primary,!1)]:[`${n}:${Te(t,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children.primary?`${Ae(e)}/${t[0]}`:`${Ae(e)}/(${t.join("//")})`}}function De(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Fe(e){return De(e).replace(/%3B/gi,";")}function Le(e){return De(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ne(e){return decodeURIComponent(e)}function Ve(e){return Ne(e.replace(/\+/g,"%20"))}function Be(e){return`${Le(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${Le(e)}=${Le(t[e])}`).join("")}`;var t}const ze=/^[^\/()?;=#]+/;function He(e){const t=e.match(ze);return t?t[0]:""}const Ue=/^[^=?&#]+/,$e=/^[^?&#]+/;class Ge{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ee([],{}):new Ee([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new Ee(e,t)),n}parseSegment(){const e=He(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new Ie(Ne(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=He(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=He(this.remaining);e&&(n=e,this.capture(n))}e[Ne(t)]=Ne(n)}parseQueryParam(e){const t=function(e){const t=e.match(Ue);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=function(e){const t=e.match($e);return t?t[0]:""}(this.remaining);e&&(n=e,this.capture(n))}const r=Ve(t),i=Ve(n);if(e.hasOwnProperty(r)){let t=e[r];Array.isArray(t)||(t=[t],e[r]=t),t.push(i)}else e[r]=i}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=He(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let i;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=de);const o=this.parseChildren();t[i]=1===Object.keys(o).length?o.primary:new Ee([],o),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class We{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=Ye(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=Ye(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=qe(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return qe(e,this._root).map(e=>e.value)}}function Ye(e,t){if(e===t.value)return t;for(const n of t.children){const t=Ye(e,n);if(t)return t}return null}function qe(e,t){if(e===t.value)return[t];for(const n of t.children){const r=qe(e,n);if(r.length)return r.unshift(t),r}return[]}class Ze{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function Qe(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class Xe extends We{constructor(e,t){super(e),this.snapshot=t,rt(this,e)}toString(){return this.snapshot.toString()}}function Ke(e,t){const n=function(e,t){const n=new tt([],{},{},"",{},de,t,null,e.root,-1,{});return new nt("",new Ze(n,[]))}(e,t),r=new a.a([new Ie("",{})]),i=new a.a({}),o=new a.a({}),s=new a.a({}),l=new a.a(""),c=new Je(r,i,s,l,o,de,t,n.root);return c.snapshot=n.root,new Xe(new Ze(c,[]),n)}class Je{constructor(e,t,n,r,i,o,s,a){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=s,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(g.a)(e=>pe(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(g.a)(e=>pe(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function et(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const e=n[r],t=n[r-1];if(e.routeConfig&&""===e.routeConfig.path)r--;else{if(t.component)break;r--}}return function(e){return e.reduce((e,t)=>({params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class tt{constructor(e,t,n,r,i,o,s,a,l,c,u){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=s,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=pe(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=pe(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class nt extends We{constructor(e,t){super(t),this.url=e,rt(this,t)}toString(){return it(this._root)}}function rt(e,t){t.value._routerState=e,t.children.forEach(t=>rt(e,t))}function it(e){const t=e.children.length>0?` { ${e.children.map(it).join(", ")} } `:"";return`${e.value}${t}`}function ot(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,ge(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),ge(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!ge(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),ge(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function st(e,t){var n,r;return ge(e.params,t.params)&&Pe(n=e.url,r=t.url)&&n.every((e,t)=>ge(e.parameters,r[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||st(e.parent,t.parent))}function at(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const i=function(e,t,n){return t.children.map(t=>{for(const r of n.children)if(e.shouldReuseRoute(t.value,r.value.snapshot))return at(e,t,r);return at(e,t)})}(e,t,n);return new Ze(r,i)}{if(e.shouldAttach(t.value)){const n=e.retrieve(t.value);if(null!==n){const e=n.route;return lt(t,e),e}}const n=new Je(new a.a((r=t.value).url),new a.a(r.params),new a.a(r.queryParams),new a.a(r.fragment),new a.a(r.data),r.outlet,r.component,r),i=t.children.map(t=>at(e,t));return new Ze(n,i)}var r}function lt(e,t){if(e.value.routeConfig!==t.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==t.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");t.value._futureSnapshot=e.value;for(let n=0;n<e.children.length;++n)lt(e.children[n],t.children[n])}function ct(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function ut(e){return"object"==typeof e&&null!=e&&e.outlets}function dt(e,t,n,r,i){let o={};return r&&ye(r,(e,t)=>{o[t]=Array.isArray(e)?e.map(e=>`${e}`):`${e}`}),new ke(n.root===e?t:ht(n.root,e,t),o,i)}function ht(e,t,n){const r={};return ye(e.children,(e,i)=>{r[i]=e===t?n:ht(e,t,n)}),new Ee(e.segments,r)}class pt{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&ct(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(ut);if(r&&r!==ve(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ft{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function mt(e,t,n){if(e||(e=new Ee([],{})),0===e.segments.length&&e.hasChildren())return gt(e,t,n);const r=function(e,t,n){let r=0,i=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;i<e.segments.length;){if(r>=n.length)return o;const t=e.segments[i],s=n[r];if(ut(s))break;const a=`${s}`,l=r<n.length-1?n[r+1]:null;if(i>0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!yt(a,l,t))return o;r+=2}else{if(!yt(a,{},t))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){const t=new Ee(e.segments.slice(0,r.pathIndex),{});return t.children.primary=new Ee(e.segments.slice(r.pathIndex),e.children),gt(t,0,i)}return r.match&&0===i.length?new Ee(e.segments,{}):r.match&&!e.hasChildren()?_t(e,t,n):r.match?gt(e,0,i):_t(e,t,n)}function gt(e,t,n){if(0===n.length)return new Ee(e.segments,{});{const r=function(e){return ut(e[0])?e[0].outlets:{[de]:e}}(n),i={};return ye(r,(n,r)=>{"string"==typeof n&&(n=[n]),null!==n&&(i[r]=mt(e.children[r],t,n))}),ye(e.children,(e,t)=>{void 0===r[t]&&(i[t]=e)}),new Ee(e.segments,i)}}function _t(e,t,n){const r=e.segments.slice(0,t);let i=0;for(;i<n.length;){const o=n[i];if(ut(o)){const e=bt(o.outlets);return new Ee(r,e)}if(0===i&&ct(n[0])){r.push(new Ie(e.segments[t].path,vt(n[0]))),i++;continue}const s=ut(o)?o.outlets.primary:`${o}`,a=i<n.length-1?n[i+1]:null;s&&a&&ct(a)?(r.push(new Ie(s,vt(a))),i+=2):(r.push(new Ie(s,{})),i++)}return new Ee(r,{})}function bt(e){const t={};return ye(e,(e,n)=>{"string"==typeof e&&(e=[e]),null!==e&&(t[n]=_t(new Ee([],{}),0,e))}),t}function vt(e){const t={};return ye(e,(e,n)=>t[n]=`${e}`),t}function yt(e,t,n){return e==n.path&&ge(t,n.parameters)}class wt{constructor(e,t,n,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=r}activate(e){const t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),ot(this.futureState.root),this.activateChildRoutes(t,n,e)}deactivateChildRoutes(e,t,n){const r=Qe(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,r[t],n),delete r[t]}),ye(r,(e,t)=>{this.deactivateRouteAndItsChildren(e,n)})}deactivateRoutes(e,t,n){const r=e.value,i=t?t.value:null;if(r===i)if(r.component){const i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(e,t,i.children)}else this.deactivateChildRoutes(e,t,n);else i&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const n=t.getContext(e.value.outlet);if(n&&n.outlet){const t=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:r})}}deactivateRouteAndOutlet(e,t){const n=t.getContext(e.value.outlet),r=n&&e.value.component?n.children:t,i=Qe(e);for(const o of Object.keys(i))this.deactivateRouteAndItsChildren(i[o],r);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(e,t,n){const r=Qe(t);e.children.forEach(e=>{this.activateRoutes(e,r[e.value.outlet],n),this.forwardEvent(new ce(e.value.snapshot))}),e.children.length&&this.forwardEvent(new ae(e.value.snapshot))}activateRoutes(e,t,n){const r=e.value,i=t?t.value:null;if(ot(r),r===i)if(r.component){const i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,i.children)}else this.activateChildRoutes(e,t,n);else if(r.component){const t=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const e=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),xt(e.route)}else{const n=function(e){for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(r.snapshot),i=n?n.module.componentFactoryResolver:null;t.attachRef=null,t.route=r,t.resolver=i,t.outlet&&t.outlet.activateWith(r,i),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,n)}}function xt(e){ot(e.value),e.children.forEach(xt)}class Ct{constructor(e,t){this.routes=e,this.module=t}}function Ot(e){return"function"==typeof e}function St(e){return e instanceof ke}const kt=Symbol("INITIAL_VALUE");function Et(){return Object(_.a)(e=>Object(l.a)(e.map(e=>e.pipe(Object(b.a)(1),Object(v.a)(kt)))).pipe(w((e,t)=>{let n=!1;return t.reduce((e,r,i)=>{if(e!==kt)return e;if(r===kt&&(n=!0),!n){if(!1===r)return r;if(i===t.length-1||St(r))return r}return e},e)},kt),Object(O.a)(e=>e!==kt),Object(g.a)(e=>St(e)?e:!0===e),Object(b.a)(1)))}let It=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&i["\u0275\u0275element"](0,"router-outlet")},directives:function(){return[Cn]},encapsulation:2}),e})();function Pt(e,t=""){for(let n=0;n<e.length;n++){const r=e[n];jt(r,Mt(t,r))}}function jt(e,t){e.children&&Pt(e.children,t)}function Mt(e,t){return t?e||t.path?e&&!t.path?`${e}/`:!e&&t.path?t.path:`${e}/${t.path}`:"":e}function Rt(e){const t=e.children&&e.children.map(Rt),n=t?Object.assign(Object.assign({},e),{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==de&&(n.component=It),n}function At(e){return e.outlet||de}function Tt(e,t){const n=e.filter(e=>At(e)===t);return n.push(...e.filter(e=>At(e)!==t)),n}const Dt={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Ft(e,t,n){var r;if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?Object.assign({},Dt):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const i=(t.matcher||me)(n,e,t);if(!i)return Object.assign({},Dt);const o={};ye(i.posParams,(e,t)=>{o[t]=e.path});const s=i.consumed.length>0?Object.assign(Object.assign({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:s,positionalParamSegments:null!==(r=i.posParams)&&void 0!==r?r:{}}}function Lt(e,t,n,r,i="corrected"){if(n.length>0&&function(e,t,n){return n.some(n=>Nt(e,t,n)&&At(n)!==de)}(e,n,r)){const i=new Ee(t,function(e,t,n,r){const i={};i.primary=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const o of n)if(""===o.path&&At(o)!==de){const n=new Ee([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,i[At(o)]=n}return i}(e,t,r,new Ee(n,e.children)));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(n=>Nt(e,t,n))}(e,n,r)){const o=new Ee(e.segments,function(e,t,n,r,i,o){const s={};for(const a of r)if(Nt(e,n,a)&&!i[At(a)]){const n=new Ee([],{});n._sourceSegment=e,n._segmentIndexShift="legacy"===o?e.segments.length:t.length,s[At(a)]=n}return Object.assign(Object.assign({},i),s)}(e,t,n,r,e.children,i));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}const o=new Ee(e.segments,e.children);return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}function Nt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function Vt(e,t,n,r){return!!(At(e)===r||r!==de&&Nt(t,n,e))&&("**"===e.path||Ft(t,e,n).matched)}function Bt(e,t,n){return 0===t.length&&!e.children[n]}class zt{constructor(e){this.segmentGroup=e||null}}class Ht{constructor(e){this.urlTree=e}}function Ut(e){return new c.a(t=>t.error(new zt(e)))}function $t(e){return new c.a(t=>t.error(new Ht(e)))}function Gt(e){return new c.a(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class Wt{constructor(e,t,n,r,o){this.configLoader=t,this.urlSerializer=n,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=e.get(i.NgModuleRef)}apply(){const e=Lt(this.urlTree.root,[],[],this.config).segmentGroup,t=new Ee(e.segments,e.children);return this.expandSegmentGroup(this.ngModule,this.config,t,de).pipe(Object(g.a)(e=>this.createUrlTree(Yt(e),this.urlTree.queryParams,this.urlTree.fragment))).pipe(k(e=>{if(e instanceof Ht)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof zt)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,de).pipe(Object(g.a)(t=>this.createUrlTree(Yt(t),e.queryParams,e.fragment))).pipe(k(e=>{if(e instanceof zt)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,n){const r=e.segments.length>0?new Ee([],{[de]:e}):e;return new ke(r,t,n)}expandSegmentGroup(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Object(g.a)(e=>new Ee([],e))):this.expandSegment(e,n,t,n.segments,r,!0)}expandChildren(e,t,n){const r=[];for(const i of Object.keys(n.children))"primary"===i?r.unshift(i):r.push(i);return Object(o.a)(r).pipe(Object(P.a)(r=>{const i=n.children[r],o=Tt(t,r);return this.expandSegmentGroup(e,o,i,r).pipe(Object(g.a)(e=>({segment:e,outlet:r})))}),w((e,t)=>(e[t.outlet]=t.segment,e),{}),function(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Object(O.a)((t,n)=>e(t,n,r)):z.a,M(1),n?N(t):T(()=>new u))}())}expandSegment(e,t,n,r,i,a){return Object(o.a)(n).pipe(Object(P.a)(o=>this.expandSegmentAgainstRoute(e,t,n,o,r,i,a).pipe(k(e=>{if(e instanceof zt)return Object(s.a)(null);throw e}))),H(e=>!!e),k((e,n)=>{if(e instanceof u||"EmptyError"===e.name){if(Bt(t,r,i))return Object(s.a)(new Ee([],{}));throw new zt(t)}throw e}))}expandSegmentAgainstRoute(e,t,n,r,i,o,s){return Vt(r,t,i,o)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,i,o):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o):Ut(t):Ut(t)}expandSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,n,r){const i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?$t(i):this.lineralizeSegments(n,i).pipe(Object(U.a)(n=>{const i=new Ee(n,{});return this.expandSegment(e,i,t,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o){const{matched:s,consumedSegments:a,lastChild:l,positionalParamSegments:c}=Ft(t,r,i);if(!s)return Ut(t);const u=this.applyRedirectCommands(a,r.redirectTo,c);return r.redirectTo.startsWith("/")?$t(u):this.lineralizeSegments(r,u).pipe(Object(U.a)(r=>this.expandSegment(e,t,n,r.concat(i.slice(l)),o,!1)))}matchSegmentAgainstRoute(e,t,n,r,i){if("**"===n.path)return n.loadChildren?(n._loadedConfig?Object(s.a)(n._loadedConfig):this.configLoader.load(e.injector,n)).pipe(Object(g.a)(e=>(n._loadedConfig=e,new Ee(r,{})))):Object(s.a)(new Ee(r,{}));const{matched:o,consumedSegments:a,lastChild:l}=Ft(t,n,r);if(!o)return Ut(t);const c=r.slice(l);return this.getChildConfig(e,n,r).pipe(Object(U.a)(e=>{const r=e.module,o=e.routes,{segmentGroup:l,slicedSegments:u}=Lt(t,a,c,o),d=new Ee(l.segments,l.children);if(0===u.length&&d.hasChildren())return this.expandChildren(r,o,d).pipe(Object(g.a)(e=>new Ee(a,e)));if(0===o.length&&0===u.length)return Object(s.a)(new Ee(a,{}));const h=At(n)===i;return this.expandSegment(r,d,o,u,h?de:i,!0).pipe(Object(g.a)(e=>new Ee(a.concat(e.segments),e.children)))}))}getChildConfig(e,t,n){return t.children?Object(s.a)(new Ct(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Object(s.a)(t._loadedConfig):this.runCanLoadGuards(e.injector,t,n).pipe(Object(U.a)(n=>n?this.configLoader.load(e.injector,t).pipe(Object(g.a)(e=>(t._loadedConfig=e,e))):function(e){return new c.a(t=>t.error(fe(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):Object(s.a)(new Ct([],e))}runCanLoadGuards(e,t,n){const r=t.canLoad;if(!r||0===r.length)return Object(s.a)(!0);const i=r.map(r=>{const i=e.get(r);let o;if(function(e){return e&&Ot(e.canLoad)}(i))o=i.canLoad(t,n);else{if(!Ot(i))throw new Error("Invalid CanLoad guard");o=i(t,n)}return we(o)});return Object(s.a)(i).pipe(Et(),Object($.a)(e=>{if(!St(e))return;const t=fe(`Redirecting to "${this.urlSerializer.serialize(e)}"`);throw t.url=e,t}),Object(g.a)(e=>!0===e))}lineralizeSegments(e,t){let n=[],r=t.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(s.a)(n);if(r.numberOfChildren>1||!r.children.primary)return Gt(e.redirectTo);r=r.children.primary}}applyRedirectCommands(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}applyRedirectCreatreUrlTree(e,t,n,r){const i=this.createSegmentGroup(e,t.root,n,r);return new ke(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return ye(e,(e,r)=>{if("string"==typeof e&&e.startsWith(":")){const i=e.substring(1);n[r]=t[i]}else n[r]=e}),n}createSegmentGroup(e,t,n,r){const i=this.createSegments(e,t.segments,n,r);let o={};return ye(t.children,(t,i)=>{o[i]=this.createSegmentGroup(e,t,n,r)}),new Ee(i,o)}createSegments(e,t,n,r){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,r):this.findOrReturn(t,n))}findPosParam(e,t,n){const r=n[t.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return r}findOrReturn(e,t){let n=0;for(const r of t){if(r.path===e.path)return t.splice(n),r;n++}return e}}function Yt(e){const t={};for(const n of Object.keys(e.children)){const r=Yt(e.children[n]);(r.segments.length>0||r.hasChildren())&&(t[n]=r)}return function(e){if(1===e.numberOfChildren&&e.children.primary){const t=e.children.primary;return new Ee(e.segments.concat(t.segments),t.children)}return e}(new Ee(e.segments,t))}class qt{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class Zt{constructor(e,t){this.component=e,this.route=t}}function Qt(e,t,n){const r=e._root;return Kt(r,t?t._root:null,n,[r.value])}function Xt(e,t,n){const r=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function Kt(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=Qe(t);return e.children.forEach(e=>{!function(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Pe(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Pe(e.url,t.url)||!ge(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!st(e,t)||!ge(e.queryParams,t.queryParams);case"paramsChange":default:return!st(e,t)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new qt(r)):(o.data=s.data,o._resolvedData=s._resolvedData),Kt(e,t,o.component?a?a.children:null:n,r,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Zt(a.outlet.component,s))}else s&&Jt(t,a,i),i.canActivateChecks.push(new qt(r)),Kt(e,null,o.component?a?a.children:null:n,r,i)}(e,o[e.value.outlet],n,r.concat([e.value]),i),delete o[e.value.outlet]}),ye(o,(e,t)=>Jt(e,n.getContext(t),i)),i}function Jt(e,t,n){const r=Qe(e),i=e.value;ye(r,(e,r)=>{Jt(e,i.component?t?t.children.getContext(r):null:t,n)}),n.canDeactivateChecks.push(new Zt(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}class en{}function tn(e){return new c.a(t=>t.error(e))}class nn{constructor(e,t,n,r,i,o){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=o}recognize(){const e=Lt(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,de);if(null===t)return null;const n=new tt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},de,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Ze(n,t),i=new nt(this.url,r);return this.inheritParamsAndData(i._root),i}inheritParamsAndData(e){const t=e.value,n=et(t,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}processChildren(e,t){const n=[];for(const i of Object.keys(t.children)){const r=t.children[i],o=Tt(e,i),s=this.processSegmentGroup(o,r,i);if(null===s)return null;n.push(...s)}const r=on(n);return r.sort((e,t)=>e.value.outlet===de?-1:t.value.outlet===de?1:e.value.outlet.localeCompare(t.value.outlet)),r}processSegment(e,t,n,r){for(const i of e){const e=this.processSegmentAgainstRoute(i,t,n,r);if(null!==e)return e}return Bt(t,n,r)?[]:null}processSegmentAgainstRoute(e,t,n,r){if(e.redirectTo||!Vt(e,t,n,r))return null;let i,o=[],s=[];if("**"===e.path){const r=n.length>0?ve(n).parameters:{};i=new tt(n,r,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,ln(e),At(e),e.component,e,sn(t),an(t)+n.length,cn(e))}else{const r=Ft(t,e,n);if(!r.matched)return null;o=r.consumedSegments,s=n.slice(r.lastChild),i=new tt(o,r.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,ln(e),At(e),e.component,e,sn(t),an(t)+o.length,cn(e))}const a=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:l,slicedSegments:c}=Lt(t,o,s,a.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const e=this.processChildren(a,l);return null===e?null:[new Ze(i,e)]}if(0===a.length&&0===c.length)return[new Ze(i,[])];const u=At(e)===r,d=this.processSegment(a,l,c,u?de:r);return null===d?null:[new Ze(i,d)]}}function rn(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function on(e){const t=[],n=new Set;for(const r of e){if(!rn(r)){t.push(r);continue}const e=t.find(e=>r.value.routeConfig===e.value.routeConfig);void 0!==e?(e.children.push(...r.children),n.add(e)):t.push(r)}for(const r of n){const e=on(r.children);t.push(new Ze(r.value,e))}return t.filter(e=>!n.has(e))}function sn(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function an(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function ln(e){return e.data||{}}function cn(e){return e.resolve||{}}function un(e){return Object(_.a)(t=>{const n=e(t);return n?Object(o.a)(n).pipe(Object(g.a)(()=>t)):Object(s.a)(t)})}class dn extends class{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}{}const hn=new i.InjectionToken("ROUTES");class pn{constructor(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}load(e,t){if(t._loader$)return t._loader$;this.onLoadStartListener&&this.onLoadStartListener(t);const n=this.loadModuleFactory(t.loadChildren).pipe(Object(g.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(t);const r=n.create(e);return new Ct(be(r.injector.get(hn,void 0,i.InjectFlags.Self|i.InjectFlags.Optional)).map(Rt),r)}),k(e=>{throw t._loader$=void 0,e}));return t._loader$=new f.a(n,()=>new m.a).pipe(Object(G.a)()),t._loader$}loadModuleFactory(e){return"string"==typeof e?Object(o.a)(this.loader.load(e)):we(e()).pipe(Object(U.a)(e=>e instanceof i.NgModuleFactory?Object(s.a)(e):Object(o.a)(this.compiler.compileModuleAsync(e))))}}class fn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new mn,this.attachRef=null}}class mn{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new fn,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}class gn{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function _n(e){throw e}function bn(e,t,n){return t.parse("/")}function vn(e,t){return Object(s.a)(null)}let yn=(()=>{class e{constructor(e,t,n,r,o,s,l,c){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new m.a,this.errorHandler=_n,this.malformedUriErrorHandler=bn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:vn,afterPreactivation:vn},this.urlHandlingStrategy=new gn,this.routeReuseStrategy=new dn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.ngModule=o.get(i.NgModuleRef),this.console=o.get(i["\u0275Console"]);const u=o.get(i.NgZone);this.isNgZoneEnabled=u instanceof i.NgZone&&i.NgZone.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=new ke(new Ee([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new pn(s,l,e=>this.triggerEvent(new ie(e)),e=>this.triggerEvent(new oe(e))),this.routerState=Ke(this.currentUrlTree,this.rootComponentType),this.transitions=new a.a({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(e){const t=this.events;return e.pipe(Object(O.a)(e=>0!==e.id),Object(g.a)(e=>Object.assign(Object.assign({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),Object(_.a)(e=>{let n=!1,r=!1;return Object(s.a)(e).pipe(Object($.a)(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Object(_.a)(e=>{const n=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Object(s.a)(e).pipe(Object(_.a)(e=>{const n=this.transitions.getValue();return t.next(new Z(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?p.a:Promise.resolve(e)}),(r=this.ngModule.injector,i=this.configLoader,o=this.urlSerializer,a=this.config,Object(_.a)(e=>function(e,t,n,r,i){return new Wt(e,t,n,r,i).apply()}(r,i,o,e.extractedUrl,a).pipe(Object(g.a)(t=>Object.assign(Object.assign({},e),{urlAfterRedirects:t}))))),Object($.a)(e=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,t,n,r,i){return Object(U.a)(o=>function(e,t,n,r,i="emptyOnly",o="legacy"){try{const a=new nn(e,t,n,r,i,o).recognize();return null===a?tn(new en):Object(s.a)(a)}catch(a){return tn(a)}}(e,t,o.urlAfterRedirects,n(o.urlAfterRedirects),r,i).pipe(Object(g.a)(e=>Object.assign(Object.assign({},o),{targetSnapshot:e}))))}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object($.a)(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects);const n=new J(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(n)}));var r,i,o,a;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:i,restoredState:o,extras:a}=e,l=new Z(n,this.serializeUrl(r),i,o);t.next(l);const c=Ke(r,this.rootComponentType).snapshot;return Object(s.a)(Object.assign(Object.assign({},e),{targetSnapshot:c,urlAfterRedirects:r,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),p.a}),un(e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:i,extras:{skipLocationChange:o,replaceUrl:s}}=e;return this.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!o,replaceUrl:!!s})}),Object($.a)(e=>{const t=new ee(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Object(g.a)(e=>Object.assign(Object.assign({},e),{guards:Qt(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return Object(U.a)(n=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:a,canDeactivateChecks:l}}=n;return 0===l.length&&0===a.length?Object(s.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,r){return Object(o.a)(e).pipe(Object(U.a)(e=>function(e,t,n,r,i){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||0===o.length)return Object(s.a)(!0);const a=o.map(o=>{const s=Xt(o,t,i);let a;if(function(e){return e&&Ot(e.canDeactivate)}(s))a=we(s.canDeactivate(e,t,n,r));else{if(!Ot(s))throw new Error("Invalid CanDeactivate guard");a=we(s(e,t,n,r))}return a.pipe(H())});return Object(s.a)(a).pipe(Et())}(e.component,e.route,n,t,r)),H(e=>!0!==e,!0))}(l,r,i,e).pipe(Object(U.a)(n=>n&&"boolean"==typeof n?function(e,t,n,r){return Object(o.a)(t).pipe(Object(P.a)(t=>Object(d.a)(function(e,t){return null!==e&&t&&t(new se(e)),Object(s.a)(!0)}(t.route.parent,r),function(e,t){return null!==e&&t&&t(new le(e)),Object(s.a)(!0)}(t.route,r),function(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(e=>function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)).filter(e=>null!==e).map(t=>Object(h.a)(()=>{const i=t.guards.map(i=>{const o=Xt(i,t.node,n);let s;if(function(e){return e&&Ot(e.canActivateChild)}(o))s=we(o.canActivateChild(r,e));else{if(!Ot(o))throw new Error("Invalid CanActivateChild guard");s=we(o(r,e))}return s.pipe(H())});return Object(s.a)(i).pipe(Et())}));return Object(s.a)(i).pipe(Et())}(e,t.path,n),function(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return Object(s.a)(!0);const i=r.map(r=>Object(h.a)(()=>{const i=Xt(r,t,n);let o;if(function(e){return e&&Ot(e.canActivate)}(i))o=we(i.canActivate(t,e));else{if(!Ot(i))throw new Error("Invalid CanActivate guard");o=we(i(t,e))}return o.pipe(H())}));return Object(s.a)(i).pipe(Et())}(e,t.route,n))),H(e=>!0!==e,!0))}(r,a,e,t):Object(s.a)(n)),Object(g.a)(e=>Object.assign(Object.assign({},n),{guardsResult:e})))})}(this.ngModule.injector,e=>this.triggerEvent(e)),Object($.a)(e=>{if(St(e.guardsResult)){const t=fe(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}const t=new te(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),Object(O.a)(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const n=new X(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(n),e.resolve(!1),!1}return!0}),un(e=>{if(e.guards.canActivateChecks.length)return Object(s.a)(e).pipe(Object($.a)(e=>{const t=new ne(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Object(_.a)(e=>{let n=!1;return Object(s.a)(e).pipe((r=this.paramsInheritanceStrategy,i=this.ngModule.injector,Object(U.a)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:n}}=e;if(!n.length)return Object(s.a)(e);let a=0;return Object(o.a)(n).pipe(Object(P.a)(e=>function(e,t,n,r){return function(e,t,n,r){const i=Object.keys(e);if(0===i.length)return Object(s.a)({});const a={};return Object(o.a)(i).pipe(Object(U.a)(i=>function(e,t,n,r){const i=Xt(e,t,r);return we(i.resolve?i.resolve(t,n):i(t,n))}(e[i],t,n,r).pipe(Object($.a)(e=>{a[i]=e}))),M(1),Object(U.a)(()=>Object.keys(a).length===i.length?Object(s.a)(a):p.a))}(e._resolve,e,t,r).pipe(Object(g.a)(t=>(e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),et(e,n).resolve),null)))}(e.route,t,r,i)),Object($.a)(()=>a++),M(1),Object(U.a)(t=>a===n.length?Object(s.a)(e):p.a))})),Object($.a)({next:()=>n=!0,complete:()=>{if(!n){const n=new X(e.id,this.serializeUrl(e.extractedUrl),"At least one route resolver didn't emit any value.");t.next(n),e.resolve(!1)}}}));var r,i}),Object($.a)(e=>{const t=new re(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}))}),un(e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:i,extras:{skipLocationChange:o,replaceUrl:s}}=e;return this.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!o,replaceUrl:!!s})}),Object(g.a)(e=>{const t=function(e,t,n){const r=at(e,t._root,n?n._root:void 0);return new Xe(r,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:t})}),Object($.a)(e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),(i=this.rootContexts,a=this.routeReuseStrategy,l=e=>this.triggerEvent(e),Object(g.a)(e=>(new wt(a,e.targetRouterState,e.currentRouterState,l).activate(i),e))),Object($.a)({next(){n=!0},complete(){n=!0}}),Object(W.a)(()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new X(e.id,this.serializeUrl(e.extractedUrl),`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`);t.next(n),e.resolve(!1)}this.currentNavigation=null}),k(n=>{if(r=!0,(i=n)&&i.ngNavigationCancelingError){const r=St(n.url);r||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const i=new X(e.id,this.serializeUrl(e.extractedUrl),n.message);t.next(i),r?setTimeout(()=>{const t=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);this.scheduleNavigation(t,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const r=new K(e.id,this.serializeUrl(e.extractedUrl),n);t.next(r);try{e.resolve(this.errorHandler(n))}catch(o){e.reject(o)}}var i;return p.a}));var i,a,l}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const t=this.extractLocationChangeInfoFromEvent(e);this.shouldScheduleNavigation(this.lastLocationChangeInfo,t)&&setTimeout(()=>{const{source:e,state:n,urlTree:r}=t,i={replaceUrl:!0};if(n){const e=Object.assign({},n);delete e.navigationId,0!==Object.keys(e).length&&(i.state=e)}this.scheduleNavigation(r,e,n,i)},0),this.lastLocationChangeInfo=t}))}extractLocationChangeInfoFromEvent(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(e,t){if(!e)return!0;const n=t.urlTree.toString()===e.urlTree.toString();return!(t.transitionId===e.transitionId&&n&&("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){Pt(e),this.config=e.map(Rt),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,t={}){const{relativeTo:n,queryParams:r,fragment:i,queryParamsHandling:o,preserveFragment:s}=t,a=n||this.routerState.root,l=s?this.currentUrlTree.fragment:i;let c=null;switch(o){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=r||null}return null!==c&&(c=this.removeEmptyProps(c)),function(e,t,n,r,i){if(0===n.length)return dt(t.root,t.root,t,r,i);const o=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new pt(!0,0,e);let t=0,n=!1;const r=e.reduce((e,r,i)=>{if("object"==typeof r&&null!=r){if(r.outlets){const t={};return ye(r.outlets,(e,n)=>{t[n]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(r.segmentPath)return[...e,r.segmentPath]}return"string"!=typeof r?[...e,r]:0===i?(r.split("/").forEach((r,i)=>{0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))}),e):[...e,r]},[]);return new pt(n,t,r)}(n);if(o.toRoot())return dt(t.root,new Ee([],{}),t,r,i);const s=function(e,t,n){if(e.isAbsolute)return new ft(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){const e=n.snapshot._urlSegment;return new ft(e,e===t.root,0)}const r=ct(e.commands[0])?0:1;return function(e,t,n){let r=e,i=t,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new Error("Invalid number of '../'");i=r.segments.length}return new ft(r,!1,i-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(o,t,e),a=s.processChildren?gt(s.segmentGroup,s.index,o.commands):mt(s.segmentGroup,s.index,o.commands);return dt(s.segmentGroup,a,t,r,i)}(a,this.currentUrlTree,e,c,l)}navigateByUrl(e,t={skipLocationChange:!1}){const n=St(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t<e.length;t++){const n=e[t];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${t}`)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t}isActive(e,t){if(St(e))return xe(this.currentUrlTree,e,t);const n=this.parseUrl(e);return xe(this.currentUrlTree,n,t)}removeEmptyProps(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return null!=r&&(t[n]=r),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.events.next(new Q(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,e.resolve(!0)},e=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(e,t,n,r,i){if(this.disposed)return Promise.resolve(!1);const o=this.getTransition(),s="imperative"!==t&&"imperative"===(null==o?void 0:o.source),a=(this.lastSuccessfulId===o.id||this.currentNavigation?o.rawUrl:o.urlAfterRedirects).toString()===e.toString();if(s&&a)return Promise.resolve(!0);let l,c,u;i?(l=i.resolve,c=i.reject,u=i.promise):u=new Promise((e,t)=>{l=e,c=t});const d=++this.navigationId;return this.setTransition({id:d,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:l,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(e=>Promise.reject(e))}setBrowserUrl(e,t,n,r){const i=this.urlSerializer.serialize(e);r=r||{},this.location.isCurrentPathEqualTo(i)||t?this.location.replaceState(i,"",Object.assign(Object.assign({},r),{navigationId:n})):this.location.go(i,"",Object.assign(Object.assign({},r),{navigationId:n}))}resetStateAndUrl(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](i.Type),i["\u0275\u0275inject"](je),i["\u0275\u0275inject"](mn),i["\u0275\u0275inject"](r.i),i["\u0275\u0275inject"](i.Injector),i["\u0275\u0275inject"](i.NgModuleFactoryLoader),i["\u0275\u0275inject"](i.Compiler),i["\u0275\u0275inject"](void 0))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),wn=(()=>{class e{constructor(e,t,n){this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.onChanges=new m.a,this.subscription=e.events.subscribe(e=>{e instanceof Q&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,n,r,i){if(0!==e||t||n||r||i)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const o={skipLocationChange:xn(this.skipLocationChange),replaceUrl:xn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:xn(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](yn),i["\u0275\u0275directiveInject"](Je),i["\u0275\u0275directiveInject"](r.j))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("click",function(e){return t.onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)}),2&e&&(i["\u0275\u0275hostProperty"]("href",t.href,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275attribute"]("target",t.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[i["\u0275\u0275NgOnChangesFeature"]]}),e})();function xn(e){return""===e||!!e}let Cn=(()=>{class e{constructor(e,t,n,r,o){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new i.EventEmitter,this.deactivateEvents=new i.EventEmitter,this.name=r||de,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,i=new On(e,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](mn),i["\u0275\u0275directiveInject"](i.ViewContainerRef),i["\u0275\u0275directiveInject"](i.ComponentFactoryResolver),i["\u0275\u0275injectAttribute"]("name"),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e})();class On{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===Je?this.route:e===mn?this.childContexts:this.parent.get(e,t)}}class Sn{}class kn{preload(e,t){return Object(s.a)(null)}}let En=(()=>{class e{constructor(e,t,n,r,i){this.router=e,this.injector=r,this.preloadingStrategy=i,this.loader=new pn(t,n,t=>e.triggerEvent(new ie(t)),t=>e.triggerEvent(new oe(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(O.a)(e=>e instanceof Q),Object(P.a)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(i.NgModuleRef);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const n=[];for(const r of t)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const e=r._loadedConfig;n.push(this.processRoutes(e.module,e.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(e,r)):r.children&&n.push(this.processRoutes(e,r.children));return Object(o.a)(n).pipe(Object(Y.a)(),Object(g.a)(e=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>(t._loadedConfig?Object(s.a)(t._loadedConfig):this.loader.load(e.injector,t)).pipe(Object(U.a)(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](yn),i["\u0275\u0275inject"](i.NgModuleFactoryLoader),i["\u0275\u0275inject"](i.Compiler),i["\u0275\u0275inject"](i.Injector),i["\u0275\u0275inject"](Sn))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),In=(()=>{class e{constructor(e,t,n={}){this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof Z?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Q&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof ue&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new ue(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](yn),i["\u0275\u0275inject"](r.u),i["\u0275\u0275inject"](void 0))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();const Pn=new i.InjectionToken("ROUTER_CONFIGURATION"),jn=new i.InjectionToken("ROUTER_FORROOT_GUARD"),Mn=[r.i,{provide:je,useClass:Me},{provide:yn,useFactory:function(e,t,n,i,o,s,a,l={},c,u){const d=new yn(null,e,t,n,i,o,s,be(a));if(c&&(d.urlHandlingStrategy=c),u&&(d.routeReuseStrategy=u),function(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy)}(l,d),l.enableTracing){const e=Object(r.y)();d.events.subscribe(t=>{e.logGroup(`Router Event: ${t.constructor.name}`),e.log(t.toString()),e.log(t),e.logGroupEnd()})}return d},deps:[je,mn,r.i,i.Injector,i.NgModuleFactoryLoader,i.Compiler,hn,Pn,[class{},new i.Optional],[class{},new i.Optional]]},mn,{provide:Je,useFactory:function(e){return e.routerState.root},deps:[yn]},{provide:i.NgModuleFactoryLoader,useClass:i.SystemJsNgModuleLoader},En,kn,class{preload(e,t){return t().pipe(k(()=>Object(s.a)(null)))}},{provide:Pn,useValue:{enableTracing:!1}}];function Rn(){return new i.NgProbeToken("Router",yn)}let An=(()=>{class e{constructor(e,t){}static forRoot(t,n){return{ngModule:e,providers:[Mn,Ln(t),{provide:jn,useFactory:Fn,deps:[[yn,new i.Optional,new i.SkipSelf]]},{provide:Pn,useValue:n||{}},{provide:r.j,useFactory:Dn,deps:[r.t,[new i.Inject(r.a),new i.Optional],Pn]},{provide:In,useFactory:Tn,deps:[yn,r.u,Pn]},{provide:Sn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:kn},{provide:i.NgProbeToken,multi:!0,useFactory:Rn},[Nn,{provide:i.APP_INITIALIZER,multi:!0,useFactory:Vn,deps:[Nn]},{provide:zn,useFactory:Bn,deps:[Nn]},{provide:i.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:zn}]]}}static forChild(t){return{ngModule:e,providers:[Ln(t)]}}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](jn,8),i["\u0275\u0275inject"](yn,8))},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({}),e})();function Tn(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new In(e,t,n)}function Dn(e,t,n={}){return n.useHash?new r.g(e,t):new r.s(e,t)}function Fn(e){return"guarded"}function Ln(e){return[{provide:i.ANALYZE_FOR_ENTRY_COMPONENTS,multi:!0,useValue:e},{provide:hn,multi:!0,useValue:e}]}let Nn=(()=>{class e{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new m.a}appInitializer(){return this.injector.get(r.h,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),n=this.injector.get(yn),r=this.injector.get(Pn);return"disabled"===r.initialNavigation?(n.setUpLocationChangeListener(),e(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?Object(s.a)(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),n.initialNavigation()):e(!0),t})}bootstrapListener(e){const t=this.injector.get(Pn),n=this.injector.get(En),r=this.injector.get(In),o=this.injector.get(yn),s=this.injector.get(i.ApplicationRef);e===s.components[0]&&("enabledNonBlocking"!==t.initialNavigation&&void 0!==t.initialNavigation||o.initialNavigation(),n.setUpPreloading(),r.init(),o.resetRootComponentType(s.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](i.Injector))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();function Vn(e){return e.appInitializer.bind(e)}function Bn(e){return e.bootstrapListener.bind(e)}const zn=new i.InjectionToken("Router Initializer")},itXk:function(e,t,n){"use strict";n.d(t,"a",function(){return p});var r=n("z+Ro"),i=n("DH7j"),o=n("7o/Q");class s extends o.a{notifyNext(e,t,n,r,i){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}class a extends o.a{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var l=n("SeVD"),c=n("HDdC");function u(e,t,n,r,i=new a(e,n,r)){if(!i.closed)return t instanceof c.a?t.subscribe(i):Object(l.a)(t)(i)}var d=n("yCtX");const h={};function p(...e){let t,n;return Object(r.a)(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&Object(i.a)(e[0])&&(e=e[0]),Object(d.a)(e,n).lift(new f(t))}class f{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new m(e,this.resultSelector))}}class m extends s{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(h),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let n=0;n<t;n++)this.add(u(this,e[n],void 0,n))}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,t,n){const r=this.values,i=this.toRespond?r[n]===h?--this.toRespond:this.toRespond:0;r[n]=t,0===i&&(this.resultSelector?this._tryResultSelector(r):this.destination.next(r.slice()))}_tryResultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}},jZKg:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("HDdC"),i=n("quSY");function o(e,t){return new r.a(n=>{const r=new i.a;let o=0;return r.add(t.schedule(function(){o!==e.length?(n.next(e[o++]),n.closed||r.add(this.schedule())):n.complete()})),r})}},kJWO:function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},lDRY:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("SVse"),i=n("8Y7J");let o=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[[r.c]]}),e})()},lJxs:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("7o/Q");function i(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new o(e,t))}}class o{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new s(e,this.project,this.thisArg))}}class s extends r.a{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}},lY5u:function(e,t,n){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){e.exports=n(2)},,function(e,t){"use strict";function n(e){return e.split(s).map(function(e){return p.test(e)?p:e})}function r(e,t){return e.replace(/\B(?=(\d{3})+(?!\d))/g,t)}Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(){function e(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=e.length;if(e===s||e[0]===g[0]&&1===t)return g.split(s).concat([p]).concat(b.split(s));if(e===k&&O)return g.split(s).concat(["0",k,p]).concat(b.split(s));var o=e[0]===c&&R;o&&(e=e.toString().substr(1));var a=e.lastIndexOf(k),l=-1!==a,m=void 0,_=void 0,v=void 0;if(e.slice(-1*N)===b&&(e=e.slice(0,-1*N)),l&&(O||j)?(m=e.slice(e.slice(0,L)===g?L:0,a),_=n((_=e.slice(a+1,t)).replace(d,s))):m=e.slice(0,L)===g?e.slice(L):e,F&&(void 0===F?"undefined":i(F))===h){var w=(m.match(new RegExp("."===x?"[.]":""+x,"g"))||[]).length;m=m.slice(0,F+w*V)}return m=m.replace(d,s),T||(m=m.replace(/^0+(0$|[^0])/,"$1")),v=n(m=y?r(m,x):m),(l&&O||!0===j)&&(e[a-1]!==k&&v.push(f),v.push(k,f),_&&((void 0===I?"undefined":i(I))===h&&(_=_.slice(0,I)),v=v.concat(_)),!0===j&&e[a-1]===k&&v.push(p)),L>0&&(v=g.split(s).concat(v)),o&&(v.length===L&&v.push(p),v=[u].concat(v)),b.length>0&&(v=v.concat(b.split(s))),v}var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},m=t.prefix,g=void 0===m?o:m,_=t.suffix,b=void 0===_?s:_,v=t.includeThousandsSeparator,y=void 0===v||v,w=t.thousandsSeparatorSymbol,x=void 0===w?a:w,C=t.allowDecimal,O=void 0!==C&&C,S=t.decimalSymbol,k=void 0===S?l:S,E=t.decimalLimit,I=void 0===E?2:E,P=t.requireDecimal,j=void 0!==P&&P,M=t.allowNegative,R=void 0!==M&&M,A=t.allowLeadingZeroes,T=void 0!==A&&A,D=t.integerLimit,F=void 0===D?null:D,L=g&&g.length||0,N=b&&b.length||0,V=x&&x.length||0;return e.instanceOf="createNumberMask",e};var o="$",s="",a=",",l=".",c="-",u=/-/,d=/\D+/g,h="number",p=/\d/,f="[]"}])},mrSG:function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}n.d(t,"a",function(){return r})},n6bG:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.d(t,"a",function(){return r})},nYR2:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("7o/Q"),i=n("quSY");function o(e){return t=>t.lift(new s(e))}class s{constructor(e){this.callback=e}call(e,t){return t.subscribe(new a(e,this.callback))}}class a extends r.a{constructor(e,t){super(e),this.add(new i.a(t))}}},nZVP:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("SVse"),i=n("8Y7J");let o=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[[r.c]]}),e})()},ngJS:function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r=e=>t=>{for(let n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()}},o0su:function(e,t,n){"use strict";n.d(t,"h",function(){return l}),n.d(t,"c",function(){return h}),n.d(t,"e",function(){return p}),n.d(t,"g",function(){return f}),n.d(t,"a",function(){return _}),n.d(t,"d",function(){return v}),n.d(t,"b",function(){return w}),n.d(t,"f",function(){return C}),n.d(t,"i",function(){return O});var r=n("akkN"),i=n("2Vo4"),o=n("pLZG"),s=n("8Y7J"),a=n("IheW");let l=(()=>{class e{constructor(e){this.http=e,this.siteProSource=new i.a(void 0),this.data$=this.siteProSource.pipe(Object(o.a)(e=>void 0!==e))}fetchData(){this.http.get(`${r.a.siteProApi}/api/siteContext`,{headers:{"Access-Control-Allow-Origin":"*"}}).subscribe(e=>this.siteProSource.next(e))}}return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275inject"](a.a))},e.\u0275prov=s["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var c=n("VHTt"),u=n("XNiG"),d=n("/uUt");let h=(()=>{class e{constructor(e){this.notificationService=e,this.httpProgressSubject=new u.a,this.httpProgress$=this.httpProgressSubject.pipe(Object(d.a)(),Object(o.a)(e=>!!e))}showProgress(){this.httpProgressSubject.next({state:c.a.InProgress})}hideProgress(){this.httpProgressSubject.next(null)}complete(e,t){this.httpProgressSubject.next(e?{state:c.a.Success}:{state:c.a.Error}),this.notificationService.showMessage(t||"\u041f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u043e\u0448\u0438\u0431\u043a\u0430, \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0435 \u0440\u0430\u0437",e),setTimeout(()=>{this.httpProgressSubject.next({state:c.a.Reset})},3e3)}}return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275inject"](f))},e.\u0275prov=s["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),p=(()=>{class e{constructor(e){this.http=e}sendLead(e){return this.http.post(`${r.a.siteProApi}/api/lead`,e,{observe:"response"})}}return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275inject"](a.a))},e.\u0275prov=s["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),f=(()=>{class e{constructor(){this.notificationSubject=new u.a,this.notifications$=this.notificationSubject.pipe(Object(o.a)(e=>!!e))}showMessage(e,t){this.notificationSubject.next({msg:e,isSuccess:t})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=s["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var m=n("iInd");const g=/([\d]+\.[\d]{4,}),([\d]+\.[\d]{4,})/;let _=(()=>{class e{constructor(e,t){this.http=e,this.router=t,this.complexListSource=new i.a(void 0),this.complexFullRegionListSource=new i.a(void 0),this.complexSource=new i.a(void 0),this.complexFullRegionList$=this.complexFullRegionListSource.pipe(Object(o.a)(e=>void 0!==e)),this.complexList$=this.complexListSource.pipe(Object(o.a)(e=>void 0!==e)),this.complex$=this.complexSource.pipe(Object(o.a)(e=>void 0!==e))}updateComplexList(e){this.complexListSource.next(e)}updatePlanList(e){this.complexSource.next(e)}fetchComplexList(e,t){this.http.get(`${r.a.ecatalogApi}/api/v1/complex/${e||t?`?page=${e}&pageSize=${t}`:""}`,{headers:{"Access-Control-Allow-Origin":`${window.location.host}`}}).subscribe(e=>{e.complexList.forEach(e=>{if(e.coordinates){const t=e.coordinates.match(g);t.length>0&&(e.coordinatesToNumber={x:parseFloat(t[1]),y:parseFloat(t[2])})}}),this.complexFullRegionListSource.next(e)})}fetchComplex(e){this.http.get(`${r.a.ecatalogApi}/api/v1/complex/${e}`).subscribe(e=>{if(e.coordinates){const t=e.coordinates.match(g);t.length>0&&(e.coordinatesToNumber={x:parseFloat(t[1]),y:parseFloat(t[2])})}this.complexSource.next(e)},()=>{this.router.navigateByUrl("/error")})}getComplexFullRegion(){return this.complexFullRegionListSource.getValue()}}return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275inject"](a.a),s["\u0275\u0275inject"](m.b))},e.\u0275prov=s["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var b=n("cUpR");let v=(()=>{class e{constructor(e){this.title=e}setTitle(e){this.title.setTitle(e)}}return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275inject"](b.Title))},e.\u0275prov=s["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var y=n("6rF9");let w=(()=>{class e{constructor(){this.selectedFilters=new i.a(void 0),this.filteredComplexList=new i.a(void 0),this.regionId=new i.a(void 0),this.filtersToPlanList=new i.a(void 0),this.filteredPlanList=new i.a(void 0),this.selectedFilters$=this.selectedFilters.pipe(Object(o.a)(e=>void 0!==e)),this.filteredComplexList$=this.filteredComplexList.pipe(Object(o.a)(e=>void 0!==e)),this.filtersToPlanList$=this.filtersToPlanList.pipe(Object(o.a)(e=>void 0!==e)),this.filteresPlanList$=this.filteredPlanList.pipe(Object(o.a)(e=>void 0!==e)),this.regionId$=this.regionId.pipe(Object(o.a)(e=>void 0!==e)),this.selectedFilters$.subscribe(e=>{let t=[];if(this.fullComplexList){const n=this.fullComplexList.complexList;t=null===e.price.priceMax&&null===e.price.priceMin?[...t,...n]:[...this.filterByPrice(n,e.price,e.rooms)],null!==e.deadline&&(t="all"===e.deadline.value?[...t]:[...this.filterByDeadline(t,e.deadline)]),null!==e.rooms&&(t=0===e.rooms.length?[...t]:[...this.filterByRooms(t,e.rooms)]),null!==e.name&&(t=0===e.name.length?[...t]:[...this.filterByName(t,e.name)]),this.filteredComplexList.next({count:t.length,complexList:t})}})}setFullComplexList(e){this.fullComplexList=e}updateFiltersToComplexList(e){this.selectedFilters.next(e)}getFiltersToComplexList(){return this.selectedFilters.getValue()}getCountFiltersToComplexList(){var e,t,n,r,i,o;let s=0;const a=this.selectedFilters.getValue();return s+=(null===(e=null==a?void 0:a.name)||void 0===e?void 0:e.length)?null===(t=null==a?void 0:a.name)||void 0===t?void 0:t.length:0,s+=(null===(n=null==a?void 0:a.rooms)||void 0===n?void 0:n.length)?null===(r=null==a?void 0:a.rooms)||void 0===r?void 0:r.length:0,s+=null!=(null==a?void 0:a.deadline)?1:0,s+=null!=(null===(i=null==a?void 0:a.price)||void 0===i?void 0:i.priceMax)?1:0,s+=null!=(null===(o=null==a?void 0:a.price)||void 0===o?void 0:o.priceMin)?1:0,s}getFullComplexList(){var e;return(null===(e=this.fullComplexList)||void 0===e?void 0:e.complexList)||[]}getFilters(){return this.selectedFilters.getValue()}setSelectedComplex(e){this.complex=e}updateFiltersToPlanList(e){this.filtersToPlanList.next(e)}filterPlanList(){this.filtersToPlanList$.subscribe(e=>{let t=[];t=null===e.price.priceMax&&null===e.price.priceMin?[...t,...this.complex.apartmentPlans]:[...this.filterByPriceInPlan(e.price,this.complex.apartmentPlans)],null!==e.rooms&&(t=0===e.rooms.length?[...t]:[...this.filterByRoomsInPLan(e.rooms,t)]),this.filteredPlanList.next(Object.assign(Object.assign({},this.complex),{apartmentPlans:t,apartmentCount:t.length}))})}generateDeadlineList(){const e=(new Date).getFullYear();let t=[];t=[...t,{value:"all",label:"\u0412\u0441\u0435"},{value:"done",label:"\u0421\u0434\u0430\u043d"}];for(let n=0;n<5;n++){const r=e+n;for(let e=1;e<5;e++)t=[...t,{value:`${r}`,quarter:e,label:`\u0434\u043e ${e} \u043a\u0432. ${r}`}]}return t}generateDeadlineListForPlan(){return[{value:"all",quarter:0,label:"\u0412\u0441\u0435"},{value:"done",quarter:0,label:"\u0421\u0434\u0430\u043d"}]}initFilters(){const e={deadline:null,name:[],price:{priceMax:null,priceMin:null},regionId:this.regionId.getValue(),rooms:null,selected:[]};this.updateFiltersToComplexList(e)}setRegionId(e){this.regionId.next(e)}filterByName(e,t){var n,r,i,o;const s=[];for(let a of t){a=a.toLowerCase();for(const t of e)(void 0!==t.subway&&(null===(n=t.subway)||void 0===n?void 0:n.toLowerCase().includes(a))||void 0!==t.complexName&&(null===(r=t.complexName)||void 0===r?void 0:r.toLowerCase().includes(a))||void 0!==t.district&&(null===(i=t.district)||void 0===i?void 0:i.toLowerCase().includes(a))||void 0!==t.developerName&&(null===(o=t.developerName)||void 0===o?void 0:o.toLowerCase().includes(a)))&&s.push(t)}return s}filterByPrice(e,t,n){let r=[];return t.priceMin&&(r=[...r,this.filterByPriceLoyout(e,t.priceMin,!1,n)]),t.priceMax&&(r=[...r,this.filterByPriceLoyout(e,t.priceMax,!0,n)]),Object(y.f)(...r)}filterByPriceLoyout(e,t,n,r){let i=[];return e.map(null!==r&&r.length>0?e=>{let o=[];r.includes("st")&&e.studioTotalPriceMin&&(o=[...o,e.studioTotalPriceMin]),r.includes("1")&&e.oneRoomsTotalPriceMin&&(o=[...o,e.oneRoomsTotalPriceMin]),r.includes("2")&&e.twoRoomsTotalPriceMin&&(o=[...o,e.twoRoomsTotalPriceMin]),r.includes("3")&&e.threeRoomsTotalPriceMin&&(o=[...o,e.threeRoomsTotalPriceMin]),r.includes("4+")&&e.fourAndMoreRoomsTotalPriceMin&&(o=[...o,e.fourAndMoreRoomsTotalPriceMin]),n&&o.length>0&&Math.min(...o)<t&&(i=[...i,e]),!n&&o.length>0&&Math.max(...o)>t&&(i=[...i,e])}:e=>{let r=[];e.studioTotalPriceMin&&(r=[...r,e.studioTotalPriceMin]),e.oneRoomsTotalPriceMin&&(r=[...r,e.oneRoomsTotalPriceMin]),e.twoRoomsTotalPriceMin&&(r=[...r,e.twoRoomsTotalPriceMin]),e.threeRoomsTotalPriceMin&&(r=[...r,e.threeRoomsTotalPriceMin]),e.fourAndMoreRoomsTotalPriceMin&&(r=[...r,e.fourAndMoreRoomsTotalPriceMin]),n&&r.length>0&&Math.min(...r)<t&&(i=[...i,e]),!n&&r.length>0&&Math.max(...r)>t&&(i=[...i,e])}),i}filterByRooms(e,t){let n=[];return t.includes("st")&&(n=[...n,...e.filter(e=>e.studioTotalPriceMin)]),t.includes("1")&&(n=[...n,...e.filter(e=>e.oneRoomsTotalPriceMin)]),t.includes("2")&&(n=[...n,...e.filter(e=>e.twoRoomsTotalPriceMin)]),t.includes("3")&&(n=[...n,...e.filter(e=>e.threeRoomsTotalPriceMin)]),t.includes("4+")&&(n=[...n,...e.filter(e=>e.fourAndMoreRoomsTotalPriceMin>0)]),Array.from(new Set(n))}filterByDeadline(e,t){if("done"===t.value)return e.filter(e=>new Date>new Date(e.completionStartDate));let n;switch(t.quarter){case 1:n=new Date(`${t.value} 3 31`);break;case 2:n=new Date(`${t.value} 6 30`);break;case 3:n=new Date(`${t.value} 9 30`);break;case 4:n=new Date(`${t.value} 12 31`)}return e.filter(e=>new Date(e.completionStartDate)<n)}filterByRoomsInPLan(e,t){let n=[];return e.includes("st")&&!e.includes("1")?n=[...n,...t.filter(e=>e.isStudio)]:e.includes("1")&&!e.includes("st")?n=[...n,...t.filter(e=>1===e.rooms&&!1===e.isStudio)]:e.includes("st")&&e.includes("1")&&(n=[...n,...t.filter(e=>1===e.rooms||e.isStudio)]),e.includes("2")&&(n=[...n,...t.filter(e=>2===e.rooms)]),e.includes("3")&&(n=[...n,...t.filter(e=>3===e.rooms)]),e.includes("4+")&&(n=[...n,...t.filter(e=>e.rooms>=4)]),Array.from(new Set(n))}filterByPriceInPlan(e,t){let n=[];return e.priceMin&&(n=[...n,t.filter(t=>t.minPrice>=e.priceMin)]),e.priceMax&&(n=[...n,t.filter(t=>t.minPrice<=e.priceMax)]),Object(y.f)(...n)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=s["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var x=n("SVse");let C=(()=>{class e{constructor(){this.datePipe=new x.e("ru-RU")}static addMonth(e){const t=new Date;return new Date(t.setMonth(t.getMonth()+e))}getMonthlyPayment(e,t,n){return e&&n&&1!==n?Math.round(e*t*n/(n-1)):0}getCreditAmount(e,t,n){return Math.round(e*(n-1)/(t*n))}getDelayCreditAmount(e,t,n,r){return 0===r?0:e-function e(r,i){return 0===i?r:e(r-(n-Math.ceil(r*t)),i-1)}(e,r)}getTotalRate(e,t){return Math.pow(1+e,t)}getMonthlyRate(e){return e/12/100}getLoanTerms(e,t,n,r){r||(r=0);const i=this.getMonthlyRate(e),o=t/(t-n*i);return Math.ceil(Math.log(o>0?o:1)/Math.log(1+i))+r}getMortgageMaturityDate(e){const t=new Date,n=new Date(t.setMonth(t.getMonth()+e));return this.datePipe.transform(n,"MM/yyyy")}getLoanTermsMonths(t,n){const r=n?e.addMonth(n):new Date,i=new Date(this.convertDateToMonthYear(t)),o=r.getFullYear(),s=i.getFullYear(),a=r.getMonth()+1;return 12*(s-o)+(i.getMonth()+1-a)}convertYearsToMonths(e){return 12*e}convertDateToMonthYear(e){return e.replace(/(\d{2})\/(\d{4})/,"$1.01.$2")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=s["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),O=(()=>{class e{constructor(){this.isShowMapSource=new i.a(void 0),this.isShowMap$=this.isShowMapSource.pipe(Object(o.a)(e=>void 0!==e))}setShowMap(e){this.isShowMapSource.next(e)}setPredefinedComplex(e){this.card=e}getPredefinedComplex(){return this.card}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=s["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},o4Yh:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n("8Y7J");n("8LU1"),n("XNiG"),n("quSY"),n("CtHx");let i=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({}),e})();var o=n("1z/I"),s=n("SVse"),a=n("UhP/");n("YEUz"),n("/uUt"),n("JX91"),n("pLZG"),n("IzEk"),n("Ht+U"),n("omvX"),n("EY2u"),n("VRyK"),n("GS7A");let l=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({imports:[[s.c,a.d,i,o.e]]}),e})()},omvX:function(e,t,n){"use strict";n.d(t,"a",function(){return at}),n.d(t,"b",function(){return ct});var r=n("8Y7J"),i=n("cUpR"),o=n("GS7A");function s(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function a(e){switch(e.length){case 0:return new o.d;case 1:return e[0];default:return new o.m(e)}}function l(e,t,n,r,i={},s={}){const a=[],l=[];let c=-1,u=null;if(r.forEach(e=>{const n=e.offset,r=n==c,d=r&&u||{};Object.keys(e).forEach(n=>{let r=n,l=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,a),l){case o.n:l=i[n];break;case o.a:l=s[n];break;default:l=t.normalizeStyleValue(n,r,l,a)}d[r]=l}),r||l.push(d),u=d,c=n}),a.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${a.join(e)}`)}return l}function c(e,t,n,r){switch(t){case"start":e.onStart(()=>r(n&&u(n,"start",e)));break;case"done":e.onDone(()=>r(n&&u(n,"done",e)));break;case"destroy":e.onDestroy(()=>r(n&&u(n,"destroy",e)))}}function u(e,t,n){const r=n.totalTime,i=d(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==r?e.totalTime:r,!!n.disabled),o=e._data;return null!=o&&(i._data=o),i}function d(e,t,n,r,i="",o=0,s){return{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function h(e,t,n){let r;return e instanceof Map?(r=e.get(t),r||e.set(t,r=n)):(r=e[t],r||(r=e[t]=n)),r}function p(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let f=(e,t)=>!1,m=(e,t)=>!1,g=(e,t,n)=>[];const _=s();(_||"undefined"!=typeof Element)&&(f=(e,t)=>e.contains(t),m=(()=>{if(_||Element.prototype.matches)return(e,t)=>e.matches(t);{const e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?(e,n)=>t.apply(e,[n]):m}})(),g=(e,t,n)=>{let r=[];if(n){const n=e.querySelectorAll(t);for(let e=0;e<n.length;e++)r.push(n[e])}else{const n=e.querySelector(t);n&&r.push(n)}return r});let b=null,v=!1;const y=m,w=f,x=g;let C=(()=>{class e{validateStyleProperty(e){return function(e){b||(b=("undefined"!=typeof document?document.body:null)||{},v=!!b.style&&"WebkitAppearance"in b.style);let t=!0;return b.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in b.style,!t&&v)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in b.style),t}(e)}matchesElement(e,t){return y(e,t)}containsElement(e,t){return w(e,t)}query(e,t,n){return x(e,t,n)}computeStyle(e,t,n){return n||""}animate(e,t,n,r,i,s=[],a){return new o.d(n,r)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),O=(()=>{class e{}return e.NOOP=new C,e})();const S="ng-enter",k="ng-leave",E="ng-trigger",I=".ng-trigger",P="ng-animating",j=".ng-animating";function M(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:R(parseFloat(t[1]),t[2])}function R(e,t){switch(t){case"s":return 1e3*e;default:return e}}function A(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){let r,i=0,o="";if("string"==typeof e){const n=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return t.push(`The provided timing value "${e}" is invalid.`),{duration:0,delay:0,easing:""};r=R(parseFloat(n[1]),n[2]);const s=n[3];null!=s&&(i=R(parseFloat(s),n[4]));const a=n[5];a&&(o=a)}else r=e;if(!n){let n=!1,o=t.length;r<0&&(t.push("Duration values below 0 are not allowed for this animation step."),n=!0),i<0&&(t.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&t.splice(o,0,`The provided timing value "${e}" is invalid.`)}return{duration:r,delay:i,easing:o}}(e,t,n)}function T(e,t={}){return Object.keys(e).forEach(n=>{t[n]=e[n]}),t}function D(e,t,n={}){if(t)for(let r in e)n[r]=e[r];else T(e,n);return n}function F(e,t,n){return n?t+":"+n+";":""}function L(e){let t="";for(let n=0;n<e.style.length;n++){const r=e.style.item(n);t+=F(0,r,e.style.getPropertyValue(r))}for(const n in e.style)e.style.hasOwnProperty(n)&&!n.startsWith("_")&&(t+=F(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[n]));e.setAttribute("style",t)}function N(e,t,n){e.style&&(Object.keys(t).forEach(r=>{const i=W(r);n&&!n.hasOwnProperty(r)&&(n[r]=e.style[i]),e.style[i]=t[r]}),s()&&L(e))}function V(e,t){e.style&&(Object.keys(t).forEach(t=>{const n=W(t);e.style[n]=""}),s()&&L(e))}function B(e){return Array.isArray(e)?1==e.length?e[0]:Object(o.h)(e):e}const z=new RegExp("{{\\s*(.+?)\\s*}}","g");function H(e){let t=[];if("string"==typeof e){let n;for(;n=z.exec(e);)t.push(n[1]);z.lastIndex=0}return t}function U(e,t,n){const r=e.toString(),i=r.replace(z,(e,r)=>{let i=t[r];return t.hasOwnProperty(r)||(n.push(`Please provide a value for the animation param ${r}`),i=""),i.toString()});return i==r?e:i}function $(e){const t=[];let n=e.next();for(;!n.done;)t.push(n.value),n=e.next();return t}const G=/-+([a-z0-9])/g;function W(e){return e.replace(G,(...e)=>e[1].toUpperCase())}function Y(e,t,n){switch(t.type){case 7:return e.visitTrigger(t,n);case 0:return e.visitState(t,n);case 1:return e.visitTransition(t,n);case 2:return e.visitSequence(t,n);case 3:return e.visitGroup(t,n);case 4:return e.visitAnimate(t,n);case 5:return e.visitKeyframes(t,n);case 6:return e.visitStyle(t,n);case 8:return e.visitReference(t,n);case 9:return e.visitAnimateChild(t,n);case 10:return e.visitAnimateRef(t,n);case 11:return e.visitQuery(t,n);case 12:return e.visitStagger(t,n);default:throw new Error(`Unable to resolve animation metadata node #${t.type}`)}}const q="*";function Z(e,t){const n=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(e=>function(e,t,n){if(":"==e[0]){const r=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t)<parseFloat(e);default:return t.push(`The transition alias value "${e}" is not supported`),"* => *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}const r=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(`The provided transition expression "${e}" is not supported`),t;const i=r[1],o=r[2],s=r[3];t.push(K(i,s)),"<"!=o[0]||i==q&&s==q||t.push(K(s,i))}(e,n,t)):n.push(e),n}const Q=new Set(["true","1"]),X=new Set(["false","0"]);function K(e,t){const n=Q.has(e)||X.has(e),r=Q.has(t)||X.has(t);return(i,o)=>{let s=e==q||e==i,a=t==q||t==o;return!s&&n&&"boolean"==typeof i&&(s=i?Q.has(e):X.has(e)),!a&&r&&"boolean"==typeof o&&(a=o?Q.has(t):X.has(t)),s&&a}}const J=new RegExp("s*:selfs*,?","g");function ee(e,t,n){return new te(e).build(t,n)}class te{constructor(e){this._driver=e}build(e,t){const n=new ne(t);return this._resetContextStyleTimingState(n),Y(this,B(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,r=t.depCount=0;const i=[],o=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(e=>{if(this._resetContextStyleTimingState(t),0==e.type){const n=e,r=n.name;r.toString().split(/\s*,\s*/).forEach(e=>{n.name=e,i.push(this.visitState(n,t))}),n.name=r}else if(1==e.type){const i=this.visitTransition(e,t);n+=i.queryCount,r+=i.depCount,o.push(i)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:i,transitions:o,queryCount:n,depCount:r,options:null}}visitState(e,t){const n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){const i=new Set,o=r||{};if(n.styles.forEach(e=>{if(re(e)){const t=e;Object.keys(t).forEach(e=>{H(t[e]).forEach(e=>{o.hasOwnProperty(e)||i.add(e)})})}}),i.size){const n=$(i.values());t.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:e.name,style:n,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const n=Y(this,B(e.animation),t);return{type:1,matchers:Z(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:ie(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>Y(this,e,t)),options:ie(e.options)}}visitGroup(e,t){const n=t.currentTime;let r=0;const i=e.steps.map(e=>{t.currentTime=n;const i=Y(this,e,t);return r=Math.max(r,t.currentTime),i});return t.currentTime=r,{type:3,steps:i,options:ie(e.options)}}visitAnimate(e,t){const n=function(e,t){let n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return oe(A(e,t).duration,0,"");const r=e;if(r.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=oe(0,0,"");return e.dynamic=!0,e.strValue=r,e}return n=n||A(r,t),oe(n.duration,n.delay,n.easing)}(e.timings,t.errors);let r;t.currentAnimateTimings=n;let i=e.styles?e.styles:Object(o.j)({});if(5==i.type)r=this.visitKeyframes(i,t);else{let i=e.styles,s=!1;if(!i){s=!0;const e={};n.easing&&(e.easing=n.easing),i=Object(o.j)(e)}t.currentTime+=n.duration+n.delay;const a=this.visitStyle(i,t);a.isEmptyStep=s,r=a}return t.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(e,t){const n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){const n=[];Array.isArray(e.styles)?e.styles.forEach(e=>{"string"==typeof e?e==o.a?n.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):n.push(e)}):n.push(e.styles);let r=!1,i=null;return n.forEach(e=>{if(re(e)){const t=e,n=t.easing;if(n&&(i=n,delete t.easing),!r)for(let e in t)if(t[e].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:i,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){const n=t.currentAnimateTimings;let r=t.currentTime,i=t.currentTime;n&&i>0&&(i-=n.duration+n.delay),e.styles.forEach(e=>{"string"!=typeof e&&Object.keys(e).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void t.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const o=t.collectedStyles[t.currentQuerySelector],s=o[n];let a=!0;s&&(i!=r&&i>=s.startTime&&r<=s.endTime&&(t.errors.push(`The CSS property "${n}" that exists between the times of "${s.startTime}ms" and "${s.endTime}ms" is also being animated in a parallel animation between the times of "${i}ms" and "${r}ms"`),a=!1),i=s.startTime),a&&(o[n]={startTime:i,endTime:r}),t.options&&function(e,t,n){const r=t.params||{},i=H(e);i.length&&i.forEach(e=>{r.hasOwnProperty(e)||n.push(`Unable to resolve the local animation param ${e} in the given list of values`)})}(e[n],t.options,t.errors)})})}visitKeyframes(e,t){const n={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),n;let r=0;const i=[];let o=!1,s=!1,a=0;const l=e.steps.map(e=>{const n=this._makeStyleAst(e,t);let l=null!=n.offset?n.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(e=>{if(re(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}});else if(re(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}return t}(n.styles),c=0;return null!=l&&(r++,c=n.offset=l),s=s||c<0||c>1,o=o||c<a,a=c,i.push(c),n});s&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),o&&t.errors.push("Please ensure that all keyframe offsets are in order");const c=e.steps.length;let u=0;r>0&&r<c?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(u=1/(c-1));const d=c-1,h=t.currentTime,p=t.currentAnimateTimings,f=p.duration;return l.forEach((e,r)=>{const o=u>0?r==d?1:u*r:i[r],s=o*f;t.currentTime=h+p.delay+s,p.duration=s,this._validateStyleAst(e,t),e.offset=o,n.styles.push(e)}),n}visitReference(e,t){return{type:8,animation:Y(this,B(e.animation),t),options:ie(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:ie(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ie(e.options)}}visitQuery(e,t){const n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;const[i,o]=function(e){const t=!!e.split(/\s*,\s*/).find(e=>":self"==e);return t&&(e=e.replace(J,"")),[e=e.replace(/@\*/g,I).replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,j),t]}(e.selector);t.currentQuerySelector=n.length?n+" "+i:i,h(t.collectedStyles,t.currentQuerySelector,{});const s=Y(this,B(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:i,limit:r.limit||0,optional:!!r.optional,includeSelf:o,animation:s,originalSelector:e.selector,options:ie(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");const n="full"===e.timings?{duration:0,delay:0,easing:"full"}:A(e.timings,t.errors,!0);return{type:12,animation:Y(this,B(e.animation),t),timings:n,options:null}}}class ne{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function re(e){return!Array.isArray(e)&&"object"==typeof e}function ie(e){var t;return e?(e=T(e)).params&&(e.params=(t=e.params)?T(t):null):e={},e}function oe(e,t,n){return{duration:e,delay:t,easing:n}}function se(e,t,n,r,i,o,s=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}class ae{constructor(){this._map=new Map}consume(e){let t=this._map.get(e);return t?this._map.delete(e):t=[],t}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const le=new RegExp(":enter","g"),ce=new RegExp(":leave","g");function ue(e,t,n,r,i,o={},s={},a,l,c=[]){return(new de).buildKeyframes(e,t,n,r,i,o,s,a,l,c)}class de{buildKeyframes(e,t,n,r,i,o,s,a,l,c=[]){l=l||new ae;const u=new pe(e,t,l,r,i,c,[]);u.options=a,u.currentTimeline.setStyles([o],null,u.errors,a),Y(this,n,u);const d=u.timelines.filter(e=>e.containsAnimation());if(d.length&&Object.keys(s).length){const e=d[d.length-1];e.allowOnlyTimelineStyles()||e.setStyles([s],null,u.errors,a)}return d.length?d.map(e=>e.buildKeyframes()):[se(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const n=t.subInstructions.consume(t.element);if(n){const r=t.createSubContext(e.options),i=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){const n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,n){let r=t.currentTimeline.currentTime;const i=null!=n.duration?M(n.duration):null,o=null!=n.delay?M(n.delay):null;return 0!==i&&e.forEach(e=>{const n=t.appendInstructionToTimeline(e,i,o);r=Math.max(r,n.duration+n.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),Y(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const n=t.subContextCount;let r=t;const i=e.options;if(i&&(i.params||i.delay)&&(r=t.createSubContext(i),r.transformIntoNewTimeline(),null!=i.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=he);const e=M(i.delay);r.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>Y(this,e,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const n=[];let r=t.currentTimeline.currentTime;const i=e.options&&e.options.delay?M(e.options.delay):0;e.steps.forEach(o=>{const s=t.createSubContext(e.options);i&&s.delayNextStep(i),Y(this,o,s),r=Math.max(r,s.currentTimeline.currentTime),n.push(s.currentTimeline)}),n.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const n=e.strValue;return A(t.params?U(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());const i=e.style;5==i.type?this.visitKeyframes(i,t):(t.incrementTime(n.duration),this.visitStyle(i,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();const i=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(i):n.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const n=t.currentAnimateTimings,r=t.currentTimeline.duration,i=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach(e=>{o.forwardTime((e.offset||0)*i),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(r+i),t.previousNode=e}visitQuery(e,t){const n=t.currentTimeline.currentTime,r=e.options||{},i=r.delay?M(r.delay):0;i&&(6===t.previousNode.type||0==n&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=he);let o=n;const s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=s.length;let a=null;s.forEach((n,r)=>{t.currentQueryIndex=r;const s=t.createSubContext(e.options,n);i&&s.delayNextStep(i),n===t.element&&(a=s.currentTimeline),Y(this,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,s.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),a&&(t.currentTimeline.mergeTimelineCollectedStyles(a),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const n=t.parentContext,r=t.currentTimeline,i=e.timings,o=Math.abs(i.duration),s=o*(t.currentQueryTotal-1);let a=o*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}const l=t.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;Y(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-c+(r.startTime-n.currentTimeline.startTime)}}const he={};class pe{constructor(e,t,n,r,i,o,s,a){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=he,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new fe(this._driver,t,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const n=e;let r=this.options;null!=n.duration&&(r.duration=M(n.duration)),null!=n.delay&&(r.delay=M(n.delay));const i=n.params;if(i){let e=r.params;e||(e=this.options.params={}),Object.keys(i).forEach(n=>{t&&e.hasOwnProperty(n)||(e[n]=U(i[n],e,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const n=e.params={};Object.keys(t).forEach(e=>{n[e]=t[e]})}}return e}createSubContext(e=null,t,n){const r=t||this.element,i=new pe(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(e),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(e){return this.previousNode=he,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){const r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},i=new me(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(i),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,r,i,o){let s=[];if(r&&s.push(this.element),e.length>0){e=(e=e.replace(le,"."+this._enterClassName)).replace(ce,"."+this._leaveClassName);let t=this._driver.query(this.element,e,1!=n);0!==n&&(t=n<0?t.slice(t.length+n,t.length):t.slice(0,n)),s.push(...t)}return i||0!=s.length||o.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),s}}class fe{constructor(e,t,n,r){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new fe(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||o.a,this._currentKeyframe[e]=o.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,r){t&&(this._previousKeyframe.easing=t);const i=r&&r.params||{},s=function(e,t){const n={};let r;return e.forEach(e=>{"*"===e?(r=r||Object.keys(t),r.forEach(e=>{n[e]=o.a})):D(e,!1,n)}),n}(e,this._globalTimelineStyles);Object.keys(s).forEach(e=>{const t=U(s[e],i,n);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:o.a),this._updateStyle(e,t)})}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(t=>{this._currentKeyframe[t]=e[t]}),Object.keys(this._localTimelineStyles).forEach(e=>{this._currentKeyframe.hasOwnProperty(e)||(this._currentKeyframe[e]=this._localTimelineStyles[e])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const n=this._styleSummary[t],r=e._styleSummary[t];(!n||r.time>n.time)&&this._updateStyle(t,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((i,s)=>{const a=D(i,!0);Object.keys(a).forEach(n=>{const r=a[n];r==o.n?e.add(n):r==o.a&&t.add(n)}),n||(a.offset=s/this.duration),r.push(a)});const i=e.size?$(e.values()):[],s=t.size?$(t.values()):[];if(n){const e=r[0],t=T(e);e.offset=0,t.offset=1,r=[e,t]}return se(this.element,r,i,s,this.duration,this.startTime,this.easing,!1)}}class me extends fe{constructor(e,t,n,r,i,o,s=!1){super(e,t,o.delay),this.element=t,this.keyframes=n,this.preStyleProps=r,this.postStyleProps=i,this._stretchStartingKeyframe=s,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const i=[],o=n+t,s=t/o,a=D(e[0],!1);a.offset=0,i.push(a);const l=D(e[0],!1);l.offset=ge(s),i.push(l);const c=e.length-1;for(let r=1;r<=c;r++){let s=D(e[r],!1);s.offset=ge((t+s.offset*n)/o),i.push(s)}n=o,t=0,r="",e=i}return se(this.element,e,this.preStyleProps,this.postStyleProps,n,t,r,!0)}}function ge(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}class _e{}class be extends _e{normalizePropertyName(e,t){return W(e)}normalizeStyleValue(e,t,n,r){let i="";const o=n.toString().trim();if(ve[t]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{const t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&r.push(`Please provide a CSS unit value for ${e}:${n}`)}return o+i}}const ve=(()=>function(e){const t={};return e.forEach(e=>t[e]=!0),t}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function ye(e,t,n,r,i,o,s,a,l,c,u,d,h){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}const we={};class xe{constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,r){return function(e,t,n,r,i){return e.some(e=>e(t,n,r,i))}(this.ast.matchers,e,t,n,r)}buildStyles(e,t,n){const r=this._stateStyles["*"],i=this._stateStyles[e],o=r?r.buildStyles(t,n):{};return i?i.buildStyles(t,n):o}build(e,t,n,r,i,o,s,a,l,c){const u=[],d=this.ast.options&&this.ast.options.params||we,p=this.buildStyles(n,s&&s.params||we,u),f=a&&a.params||we,m=this.buildStyles(r,f,u),g=new Set,_=new Map,b=new Map,v="void"===r,y={params:Object.assign(Object.assign({},d),f)},w=c?[]:ue(e,t,this.ast.animation,i,o,p,m,y,l,u);let x=0;if(w.forEach(e=>{x=Math.max(e.duration+e.delay,x)}),u.length)return ye(t,this._triggerName,n,r,v,p,m,[],[],_,b,x,u);w.forEach(e=>{const n=e.element,r=h(_,n,{});e.preStyleProps.forEach(e=>r[e]=!0);const i=h(b,n,{});e.postStyleProps.forEach(e=>i[e]=!0),n!==t&&g.add(n)});const C=$(g.values());return ye(t,this._triggerName,n,r,v,p,m,w,C,_,b,x)}}class Ce{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const n={},r=T(this.defaultParams);return Object.keys(e).forEach(t=>{const n=e[t];null!=n&&(r[t]=n)}),this.styles.styles.forEach(e=>{if("string"!=typeof e){const i=e;Object.keys(i).forEach(e=>{let o=i[e];o.length>1&&(o=U(o,r,t)),n[e]=o})}}),n}}class Oe{constructor(e,t){this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(e=>{this.states[e.name]=new Ce(e.style,e.options&&e.options.params||{})}),Se(this.states,"true","1"),Se(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new xe(e,t,this.states))}),this.fallbackTransition=new xe(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,r){return this.transitionFactories.find(i=>i.match(e,t,n,r))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}function Se(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}const ke=new ae;class Ee{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(e,t){const n=[],r=ee(this._driver,t,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[e]=r}_buildPlayer(e,t,n){const r=e.element,i=l(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,i,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){const r=[],i=this._animations[e];let s;const l=new Map;if(i?(s=ue(this._driver,t,i,S,k,{},{},n,ke,r),s.forEach(e=>{const t=h(l,e.element,{});e.postStyleProps.forEach(e=>t[e]=null)})):(r.push("The requested animation doesn't exist or has already been destroyed"),s=[]),r.length)throw new Error(`Unable to create the animation due to the following errors: ${r.join("\n")}`);l.forEach((e,t)=>{Object.keys(e).forEach(n=>{e[n]=this._driver.computeStyle(t,n,o.a)})});const c=a(s.map(e=>{const t=l.get(e.element);return this._buildPlayer(e,{},t)}));return this._playersById[e]=c,c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw new Error(`Unable to find the timeline player referenced by ${e}`);return t}listen(e,t,n,r){const i=d(t,"","","");return c(this._getPlayer(e),n,i,r),()=>{}}command(e,t,n,r){if("register"==n)return void this.register(e,r[0]);if("create"==n)return void this.create(e,t,r[0]||{});const i=this._getPlayer(e);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}}const Ie="ng-animate-queued",Pe="ng-animate-disabled",je=".ng-animate-disabled",Me=[],Re={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ae={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Te{constructor(e,t=""){this.namespaceId=t;const n=e&&e.hasOwnProperty("value");if(this.value=null!=(r=n?e.value:e)?r:null,n){const t=T(e);delete t.value,this.options=t}else this.options={};var r;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach(n=>{null==e[n]&&(e[n]=t[n])})}}}const De="void",Fe=new Te(De);class Le{constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,$e(t,this._hostClassName)}listen(e,t,n,r){if(!this._triggers.hasOwnProperty(t))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${t}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${t}" because the provided event is undefined!`);if("start"!=(i=n)&&"done"!=i)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${t}" is not supported!`);var i;const o=h(this._elementListeners,e,[]),s={name:t,phase:n,callback:r};o.push(s);const a=h(this._engine.statesByElement,e,{});return a.hasOwnProperty(t)||($e(e,E),$e(e,"ng-trigger-"+t),a[t]=Fe),()=>{this._engine.afterFlush(()=>{const e=o.indexOf(s);e>=0&&o.splice(e,1),this._triggers[t]||delete a[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return t}trigger(e,t,n,r=!0){const i=this._getTrigger(t),o=new Ve(this.id,t,e);let s=this._engine.statesByElement.get(e);s||($e(e,E),$e(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));let a=s[t];const l=new Te(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),s[t]=l,a||(a=Fe),l.value!==De&&a.value===l.value){if(!function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(let i=0;i<n.length;i++){const r=n[i];if(!t.hasOwnProperty(r)||e[r]!==t[r])return!1}return!0}(a.params,l.params)){const t=[],n=i.matchStyles(a.value,a.params,t),r=i.matchStyles(l.value,l.params,t);t.length?this._engine.reportError(t):this._engine.afterFlush(()=>{V(e,n),N(e,r)})}return}const c=h(this._engine.playersByElement,e,[]);c.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let u=i.matchTransition(a.value,l.value,e,l.params),d=!1;if(!u){if(!r)return;u=i.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:u,fromState:a,toState:l,player:o,isFallbackTransition:d}),d||($e(e,Ie),o.onStart(()=>{Ge(e,Ie)})),o.onDone(()=>{let t=this.players.indexOf(o);t>=0&&this.players.splice(t,1);const n=this._engine.playersByElement.get(e);if(n){let e=n.indexOf(o);e>=0&&n.splice(e,1)}}),this.players.push(o),c.push(o),o}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((t,n)=>{delete t[e]}),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(t=>t.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(e=>e.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const n=this._engine.driver.query(e,I,!0);n.forEach(e=>{if(e.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(e);n.size?n.forEach(n=>n.triggerLeaveAnimation(e,t,!1,!0)):this.clearElementCache(e)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,n,r){const i=this._engine.statesByElement.get(e);if(i){const o=[];if(Object.keys(i).forEach(t=>{if(this._triggers[t]){const n=this.trigger(e,t,De,r);n&&o.push(n)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&a(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(t&&n){const r=new Set;t.forEach(t=>{const i=t.name;if(r.has(i))return;r.add(i);const o=this._triggers[i].fallbackTransition,s=n[i]||Fe,a=new Te(De),l=new Ve(this.id,i,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:o,fromState:s,toState:a,player:l,isFallbackTransition:!0})})}}removeNode(e,t){const n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(n.totalAnimations){const t=n.players.length?n.playersByQueriedElement.get(e):[];if(t&&t.length)r=!0;else{let t=e;for(;t=t.parentNode;)if(n.statesByElement.get(t)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)n.markElementAsRemoved(this.id,e,!1,t);else{const r=e.__ng_removed;r&&r!==Re||(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){$e(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const i=n.element,o=this._elementListeners.get(i);o&&o.forEach(t=>{if(t.name==n.triggerName){const r=d(i,n.triggerName,n.fromState.value,n.toState.value);r._data=e,c(n.player,t.phase,r,t.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(n)}),this._queue=[],t.sort((e,t)=>{const n=e.transition.ast.depCount,r=t.transition.ast.depCount;return 0==n||0==r?n-r:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(t=>t.element===e)||t,t}}class Ne{constructor(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(e,t)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,t){const n=new Le(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){const n=this._namespaceList.length-1;if(n>=0){let r=!1;for(let i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,t)){this._namespaceList.splice(i+1,0,e),r=!0;break}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++}destroy(e,t){if(!e)return;const n=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[e];const t=this._namespaceList.indexOf(n);t>=0&&this._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(()=>n.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,n=this.statesByElement.get(e);if(n){const e=Object.keys(n);for(let r=0;r<e.length;r++){const i=n[e[r]].namespaceId;if(i){const e=this._fetchNamespace(i);e&&t.add(e)}}}return t}trigger(e,t,n,r){if(Be(t)){const i=this._fetchNamespace(e);if(i)return i.trigger(t,n,r),!0}return!1}insertNode(e,t,n,r){if(!Be(t))return;const i=t.__ng_removed;if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;const e=this.collectedLeaveElements.indexOf(t);e>=0&&this.collectedLeaveElements.splice(e,1)}if(e){const r=this._fetchNamespace(e);r&&r.insertNode(t,n)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),$e(e,Pe)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Ge(e,Pe))}removeNode(e,t,n,r){if(Be(t)){const i=e?this._fetchNamespace(e):null;if(i?i.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),n){const n=this.namespacesByHostElement.get(t);n&&n.id!==e&&n.removeNode(t,r)}}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,n,r){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}listen(e,t,n,r,i){return Be(t)?this._fetchNamespace(e).listen(t,n,r,i):()=>{}}_buildInstruction(e,t,n,r,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,i)}destroyInnerAnimations(e){let t=this.driver.query(e,I,!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,j,!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return a(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=Re,t.namespaceId){this.destroyInnerAnimations(e);const n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,je)&&this.markElementAsDisabled(e,!1),this.driver.query(e,je,!0).forEach(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)$e(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{t=this._flushAnimations(n,e)}finally{for(let e=0;e<n.length;e++)n[e]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(e=>e()),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?a(t).onDone(()=>{e.forEach(e=>e())}):e.forEach(e=>e())}}reportError(e){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${e.join("\n")}`)}_flushAnimations(e,t){const n=new ae,r=[],i=new Map,s=[],l=new Map,c=new Map,u=new Map,d=new Set;this.disabledNodes.forEach(e=>{d.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let n=0;n<t.length;n++)d.add(t[n])});const p=this.bodyNode,f=Array.from(this.statesByElement.keys()),m=Ue(f,this.collectedEnterElements),g=new Map;let _=0;m.forEach((e,t)=>{const n=S+_++;g.set(t,n),e.forEach(e=>$e(e,n))});const b=[],v=new Set,y=new Set;for(let o=0;o<this.collectedLeaveElements.length;o++){const e=this.collectedLeaveElements[o],t=e.__ng_removed;t&&t.setForRemoval&&(b.push(e),v.add(e),t.hasAnimation?this.driver.query(e,".ng-star-inserted",!0).forEach(e=>v.add(e)):y.add(e))}const w=new Map,x=Ue(f,Array.from(v));x.forEach((e,t)=>{const n=k+_++;w.set(t,n),e.forEach(e=>$e(e,n))}),e.push(()=>{m.forEach((e,t)=>{const n=g.get(t);e.forEach(e=>Ge(e,n))}),x.forEach((e,t)=>{const n=w.get(t);e.forEach(e=>Ge(e,n))}),b.forEach(e=>{this.processLeaveNode(e)})});const C=[],O=[];for(let o=this._namespaceList.length-1;o>=0;o--)this._namespaceList[o].drainQueuedTransitions(t).forEach(e=>{const t=e.player,i=e.element;if(C.push(t),this.collectedEnterElements.length){const e=i.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const o=!p||!this.driver.containsElement(p,i),a=w.get(i),d=g.get(i),f=this._buildInstruction(e,n,d,a,o);if(f.errors&&f.errors.length)O.push(f);else{if(o)return t.onStart(()=>V(i,f.fromStyles)),t.onDestroy(()=>N(i,f.toStyles)),void r.push(t);if(e.isFallbackTransition)return t.onStart(()=>V(i,f.fromStyles)),t.onDestroy(()=>N(i,f.toStyles)),void r.push(t);f.timelines.forEach(e=>e.stretchStartingKeyframe=!0),n.append(i,f.timelines),s.push({instruction:f,player:t,element:i}),f.queriedElements.forEach(e=>h(l,e,[]).push(t)),f.preStyleProps.forEach((e,t)=>{const n=Object.keys(e);if(n.length){let e=c.get(t);e||c.set(t,e=new Set),n.forEach(t=>e.add(t))}}),f.postStyleProps.forEach((e,t)=>{const n=Object.keys(e);let r=u.get(t);r||u.set(t,r=new Set),n.forEach(e=>r.add(e))})}});if(O.length){const e=[];O.forEach(t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach(t=>e.push(`- ${t}\n`))}),C.forEach(e=>e.destroy()),this.reportError(e)}const E=new Map,I=new Map;s.forEach(e=>{const t=e.element;n.has(t)&&(I.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,E))}),r.forEach(e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{h(E,t,[]).push(e),e.destroy()})});const P=b.filter(e=>qe(e,c,u)),M=new Map;He(M,this.driver,y,u,o.a).forEach(e=>{qe(e,c,u)&&P.push(e)});const R=new Map;m.forEach((e,t)=>{He(R,this.driver,new Set(e),c,o.n)}),P.forEach(e=>{const t=M.get(e),n=R.get(e);M.set(e,Object.assign(Object.assign({},t),n))});const A=[],T=[],D={};s.forEach(e=>{const{element:t,player:o,instruction:s}=e;if(n.has(t)){if(d.has(t))return o.onDestroy(()=>N(t,s.toStyles)),o.disabled=!0,o.overrideTotalTime(s.totalTime),void r.push(o);let e=D;if(I.size>1){let n=t;const r=[];for(;n=n.parentNode;){const t=I.get(n);if(t){e=t;break}r.push(n)}r.forEach(t=>I.set(t,e))}const n=this._buildAnimation(o.namespaceId,s,E,i,R,M);if(o.setRealPlayer(n),e===D)A.push(o);else{const t=this.playersByElement.get(e);t&&t.length&&(o.parentPlayer=a(t)),r.push(o)}}else V(t,s.fromStyles),o.onDestroy(()=>N(t,s.toStyles)),T.push(o),d.has(t)&&r.push(o)}),T.forEach(e=>{const t=i.get(e.element);if(t&&t.length){const n=a(t);e.setRealPlayer(n)}}),r.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let o=0;o<b.length;o++){const e=b[o],t=e.__ng_removed;if(Ge(e,k),t&&t.hasAnimation)continue;let n=[];if(l.size){let t=l.get(e);t&&t.length&&n.push(...t);let r=this.driver.query(e,j,!0);for(let e=0;e<r.length;e++){let t=l.get(r[e]);t&&t.length&&n.push(...t)}}const r=n.filter(e=>!e.destroyed);r.length?We(this,e,r):this.processLeaveNode(e)}return b.length=0,A.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),A}elementContainsData(e,t){let n=!1;const r=t.__ng_removed;return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,r,i){let o=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(o=t)}else{const t=this.playersByElement.get(e);if(t){const e=!i||i==De;t.forEach(t=>{t.queued||(e||t.triggerName==r)&&o.push(t)})}}return(n||r)&&(o=o.filter(e=>!(n&&n!=e.namespaceId||r&&r!=e.triggerName))),o}_beforeAnimationBuild(e,t,n){const r=t.element,i=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:t.triggerName;for(const s of t.timelines){const e=s.element,a=e!==r,l=h(n,e,[]);this._getPreviousPlayers(e,a,i,o,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)})}V(r,t.fromStyles)}_buildAnimation(e,t,n,r,i,s){const c=t.triggerName,u=t.element,d=[],p=new Set,f=new Set,m=t.timelines.map(t=>{const a=t.element;p.add(a);const h=a.__ng_removed;if(h&&h.removedBeforeQueried)return new o.d(t.duration,t.delay);const m=a!==u,g=function(e){const t=[];return Ye(e,t),t}((n.get(a)||Me).map(e=>e.getRealPlayer())).filter(e=>!!e.element&&e.element===a),_=i.get(a),b=s.get(a),v=l(0,this._normalizer,0,t.keyframes,_,b),y=this._buildPlayer(t,v,g);if(t.subTimeline&&r&&f.add(a),m){const t=new Ve(e,c,a);t.setRealPlayer(y),d.push(t)}return y});d.forEach(e=>{h(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,n){let r;if(e instanceof Map){if(r=e.get(t),r){if(r.length){const e=r.indexOf(n);r.splice(e,1)}0==r.length&&e.delete(t)}}else if(r=e[t],r){if(r.length){const e=r.indexOf(n);r.splice(e,1)}0==r.length&&delete e[t]}return r}(this.playersByQueriedElement,e.element,e))}),p.forEach(e=>$e(e,P));const g=a(m);return g.onDestroy(()=>{p.forEach(e=>Ge(e,P)),N(u,t.toStyles)}),f.forEach(e=>{h(r,e,[]).push(g)}),g}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new o.d(e.duration,e.delay)}}class Ve{constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new o.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(t=>{this._queuedCallbacks[t].forEach(n=>c(e,t,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){h(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function Be(e){return e&&1===e.nodeType}function ze(e,t){const n=e.style.display;return e.style.display=null!=t?t:"none",n}function He(e,t,n,r,i){const o=[];n.forEach(e=>o.push(ze(e)));const s=[];r.forEach((n,r)=>{const o={};n.forEach(e=>{const n=o[e]=t.computeStyle(r,e,i);n&&0!=n.length||(r.__ng_removed=Ae,s.push(r))}),e.set(r,o)});let a=0;return n.forEach(e=>ze(e,o[a++])),s}function Ue(e,t){const n=new Map;if(e.forEach(e=>n.set(e,[])),0==t.length)return n;const r=new Set(t),i=new Map;function o(e){if(!e)return 1;let t=i.get(e);if(t)return t;const s=e.parentNode;return t=n.has(s)?s:r.has(s)?1:o(s),i.set(e,t),t}return t.forEach(e=>{const t=o(e);1!==t&&n.get(t).push(e)}),n}function $e(e,t){if(e.classList)e.classList.add(t);else{let n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function Ge(e,t){if(e.classList)e.classList.remove(t);else{let n=e.$$classes;n&&delete n[t]}}function We(e,t,n){a(n).onDone(()=>e.processLeaveNode(t))}function Ye(e,t){for(let n=0;n<e.length;n++){const r=e[n];r instanceof o.m?Ye(r.players,t):t.push(r)}}function qe(e,t,n){const r=n.get(e);if(!r)return!1;let i=t.get(e);return i?r.forEach(e=>i.add(e)):t.set(e,r),n.delete(e),!0}class Ze{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new Ne(e,t,n),this._timelineEngine=new Ee(e,t,n),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,n,r,i){const o=e+"-"+r;let s=this._triggerCache[o];if(!s){const e=[],t=ee(this._driver,i,e);if(e.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);s=function(e,t){return new Oe(e,t)}(r,t),this._triggerCache[o]=s}this._transitionEngine.registerTrigger(t,r,s)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)}onRemove(e,t,n,r){this._transitionEngine.removeNode(e,t,r||!1,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,r){if("@"==n.charAt(0)){const[e,i]=p(n);this._timelineEngine.command(e,t,i,r)}else this._transitionEngine.trigger(e,t,n,r)}listen(e,t,n,r,i){if("@"==n.charAt(0)){const[e,r]=p(n);return this._timelineEngine.listen(e,t,r,i)}return this._transitionEngine.listen(e,t,n,r,i)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}var Qe=n("SVse");let Xe=(()=>{class e extends o.b{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:r.ViewEncapsulation.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(e)?Object(o.h)(e):e;return et(this._renderer,null,t,"register",[n]),new Ke(t,this._renderer)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](r.RendererFactory2),r["\u0275\u0275inject"](Qe.d))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();class Ke extends o.c{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new Je(this._id,e,t||{},this._renderer)}}class Je{constructor(e,t,n,r){this.id=e,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return et(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(e){this._command("setPosition",e)}getPosition(){var e,t;return null!==(t=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==t?t:0}}function et(e,t,n,r,i){return e.setProperty(t,`@@${n}:${r}`,i)}const tt="@",nt="@.disabled";let rt=(()=>{class e{constructor(e,t,n){this.delegate=e,this.engine=t,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(e,t)=>{t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}createRenderer(e,t){const n=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let e=this._rendererCache.get(n);return e||(e=new it("",n,this.engine),this._rendererCache.set(n,e)),e}const r=t.id,i=t.id+"-"+this._currentId;this._currentId++,this.engine.register(i,e);const o=t=>{Array.isArray(t)?t.forEach(o):this.engine.registerTrigger(r,i,e,t.name,t)};return t.data.animation.forEach(o),new ot(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){e>=0&&e<this._microtaskId?this._zone.run(()=>t(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(e=>{const[t,n]=e;t(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](r.RendererFactory2),r["\u0275\u0275inject"](Ze),r["\u0275\u0275inject"](r.NgZone))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();class it{constructor(e,t,n){this.namespaceId=e,this.delegate=t,this.engine=n,this.destroyNode=this.delegate.destroyNode?e=>t.destroyNode(e):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,n,r=!0){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,r)}removeChild(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,r){this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,r){this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){t.charAt(0)==tt&&t==nt?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n){return this.delegate.listen(e,t,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class ot extends it{constructor(e,t,n,r){super(t,n,r),this.factory=e,this.namespaceId=t}setProperty(e,t,n){t.charAt(0)==tt?"."==t.charAt(1)&&t==nt?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}listen(e,t,n){if(t.charAt(0)==tt){const r=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let i=t.substr(1),o="";return i.charAt(0)!=tt&&([i,o]=function(e){const t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(i)),this.engine.listen(this.namespaceId,r,i,o,e=>{this.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}let st=(()=>{class e extends Ze{constructor(e,t,n){super(e.body,t,n)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](Qe.d),r["\u0275\u0275inject"](O),r["\u0275\u0275inject"](_e))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();const at=new r.InjectionToken("AnimationModuleType"),lt=[{provide:O,useClass:C},{provide:at,useValue:"NoopAnimations"},{provide:o.b,useClass:Xe},{provide:_e,useFactory:function(){return new be}},{provide:Ze,useClass:st},{provide:r.RendererFactory2,useFactory:function(e,t,n){return new rt(e,t,n)},deps:[i["\u0275DomRendererFactory2"],Ze,r.NgZone]}];let ct=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({providers:lt,imports:[i.BrowserModule]}),e})()},pFkP:function(e,t,n){"use strict";n.d(t,"j",function(){return i}),n.d(t,"f",function(){return o}),n.d(t,"e",function(){return s.a}),n.d(t,"i",function(){return a}),n.d(t,"a",function(){return l}),n.d(t,"k",function(){return c}),n.d(t,"d",function(){return u}),n.d(t,"g",function(){return d}),n.d(t,"b",function(){return h}),n.d(t,"h",function(){return p}),n.d(t,"c",function(){return f});var r=n("8Y7J");let i=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({}),e})(),o=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({}),e})();var s=n("fGr/");let a=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({}),e})(),l=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({}),e})(),c=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({}),e})(),u=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({}),e})(),d=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({}),e})(),h=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({}),e})(),p=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({}),e})(),f=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({}),e})()},pLZG:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("7o/Q");function i(e,t){return function(n){return n.lift(new o(e,t))}}class o{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new s(e,this.predicate,this.thisArg))}}class s extends r.a{constructor(e,t,n){super(e),this.predicate=t,this.thisArg=n,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}},pMoy:function(e,t,n){"use strict";n.d(t,"a",function(){return w}),n.d(t,"b",function(){return C});var r=n("8LU1"),i=n("8Y7J"),o=n("s7LF"),s=n("UhP/"),a=n("omvX"),l=n("9b/N"),c=n("YEUz");const u=["input"],d=function(){return{enterDuration:150}},h=["*"],p=new i.InjectionToken("mat-checkbox-default-options",{providedIn:"root",factory:f});function f(){return{color:"accent",clickAction:"check-indeterminate"}}let m=0;const g=f(),_={provide:o.NG_VALUE_ACCESSOR,useExisting:Object(i.forwardRef)(()=>w),multi:!0};class b{}class v{constructor(e){this._elementRef=e}}const y=Object(s.p)(Object(s.l)(Object(s.m)(Object(s.n)(v))));let w=(()=>{class e extends y{constructor(e,t,n,r,o,s,a){super(e),this._changeDetectorRef=t,this._focusMonitor=n,this._ngZone=r,this._animationMode=s,this._options=a,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++m,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new i.EventEmitter,this.indeterminateChange=new i.EventEmitter,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||g,this.color=this.defaultColor=this._options.color||g.color,this.tabIndex=parseInt(o)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=Object(r.b)(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const t=Object(r.b)(e);t!==this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const t=e!=this._indeterminate;this._indeterminate=Object(r.b)(e),t&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let t=this._currentCheckState,n=this._elementRef.nativeElement;if(t!==e&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);const e=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{n.classList.remove(e)},1e3)})}}_emitChangeEvent(){const e=new b;e.source=this,e.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(e),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(e){var t;const n=null===(t=this._options)||void 0===t?void 0:t.clickAction;e.stopPropagation(),this.disabled||"noop"===n?this.disabled||"noop"!==n||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==n&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(e,t){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}_onInteractionEvent(e){e.stopPropagation()}_getAnimationClassForCheckStateTransition(e,t){if("NoopAnimations"===this._animationMode)return"";let n="";switch(e){case 0:if(1===t)n="unchecked-checked";else{if(3!=t)return"";n="unchecked-indeterminate"}break;case 2:n=1===t?"unchecked-checked":"unchecked-indeterminate";break;case 1:n=2===t?"checked-unchecked":"checked-indeterminate";break;case 3:n=1===t?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${n}`}_syncIndeterminate(e){const t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef),i["\u0275\u0275directiveInject"](c.c),i["\u0275\u0275directiveInject"](i.NgZone),i["\u0275\u0275injectAttribute"]("tabindex"),i["\u0275\u0275directiveInject"](a.a,8),i["\u0275\u0275directiveInject"](p,8))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-checkbox"]],viewQuery:function(e,t){if(1&e&&(i["\u0275\u0275viewQuery"](u,1),i["\u0275\u0275viewQuery"](s.h,1)),2&e){let e;i["\u0275\u0275queryRefresh"](e=i["\u0275\u0275loadQuery"]())&&(t._inputElement=e.first),i["\u0275\u0275queryRefresh"](e=i["\u0275\u0275loadQuery"]())&&(t.ripple=e.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(e,t){2&e&&(i["\u0275\u0275hostProperty"]("id",t.id),i["\u0275\u0275attribute"]("tabindex",null),i["\u0275\u0275classProp"]("mat-checkbox-indeterminate",t.indeterminate)("mat-checkbox-checked",t.checked)("mat-checkbox-disabled",t.disabled)("mat-checkbox-label-before","before"==t.labelPosition)("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[i["\u0275\u0275ProvidersFeature"]([_]),i["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:h,decls:17,vars:20,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,t){if(1&e&&(i["\u0275\u0275projectionDef"](),i["\u0275\u0275elementStart"](0,"label",0,1),i["\u0275\u0275elementStart"](2,"span",2),i["\u0275\u0275elementStart"](3,"input",3,4),i["\u0275\u0275listener"]("change",function(e){return t._onInteractionEvent(e)})("click",function(e){return t._onInputClick(e)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"span",5),i["\u0275\u0275element"](6,"span",6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](7,"span",7),i["\u0275\u0275elementStart"](8,"span",8),i["\u0275\u0275namespaceSVG"](),i["\u0275\u0275elementStart"](9,"svg",9),i["\u0275\u0275element"](10,"path",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275namespaceHTML"](),i["\u0275\u0275element"](11,"span",11),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"span",12,13),i["\u0275\u0275listener"]("cdkObserveContent",function(){return t._onLabelTextChange()}),i["\u0275\u0275elementStart"](14,"span",14),i["\u0275\u0275text"](15,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275projection"](16),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275reference"](1),n=i["\u0275\u0275reference"](13);i["\u0275\u0275attribute"]("for",t.inputId),i["\u0275\u0275advance"](2),i["\u0275\u0275classProp"]("mat-checkbox-inner-container-no-side-margin",!n.textContent||!n.textContent.trim()),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("id",t.inputId)("required",t.required)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex),i["\u0275\u0275attribute"]("value",t.value)("name",t.name)("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby)("aria-checked",t._getAriaChecked())("aria-describedby",t.ariaDescribedby),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("matRippleTrigger",e)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",i["\u0275\u0275pureFunction0"](19,d))}},directives:[s.h,l.a],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-frame{border-style:dotted}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),e})(),x=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({}),e})(),C=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[[s.i,s.d,l.c,x],s.d,x]}),e})()},qCvH:function(e,t,n){"use strict";n.d(t,"a",function(){return x}),n.d(t,"b",function(){return y}),n.d(t,"c",function(){return w});var r=n("8Y7J"),i=n("mrSG"),o=n("SVse"),s=n("Cfvw"),a=n("xgIS"),l=n("z6cu"),c=n("VRyK"),u=n("2Vo4"),d=n("HDdC"),h=n("quSY"),p=n("lJxs"),f=n("eIep"),m=n("IzEk");n("pLZG");const g=["container"],_=new r.InjectionToken("YA_CONFIG");let b=(()=>{class e{constructor(e,t){this._document=t,this._defaultConfig={lang:"ru_RU"},this._config=Object.assign(Object.assign({},this._defaultConfig),e)}load(){if(window.ymaps)return Object(s.a)(ymaps.ready()).pipe(Object(p.a)(()=>ymaps));if(!this._script){const e=this._document.createElement("script");e.type="text/javascript",e.src=this._getScriptSource(this._config),e.id="yandexMapsApiScript",e.async=!0,e.defer=!0,this._script=this._document.body.appendChild(e)}const e=Object(a.a)(this._script,"load").pipe(Object(f.a)(()=>Object(s.a)(ymaps.ready()).pipe(Object(p.a)(()=>ymaps)))),t=Object(a.a)(this._script,"error").pipe(Object(f.a)(e=>Object(l.a)(e)));return Object(c.a)(e,t).pipe(Object(m.a)(1))}_getScriptSource(e){const{enterprise:t,version:n="2.1"}=e,r=Object(i.a)(e,["enterprise","version"]);return`https://${t?"enterprise.":""}api-maps.yandex.ru/${n}/?${this._convertConfigIntoQueryParams(r)}`}_convertConfigIntoQueryParams(e){return Object.entries(e).map(([e,t])=>`${e}=${t}`).join("&")}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](_,8),r["\u0275\u0275inject"](o.d))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({factory:function(){return new e(r["\u0275\u0275inject"](_,8),r["\u0275\u0275inject"](o.d))},token:e,providedIn:"root"}),e})();class v{constructor(e){this._ngZone=e,this._pending=[],this._listeners=[],this._targetStream=new u.a(void 0)}getLazyEmitter(e){return this._targetStream.pipe(Object(f.a)(t=>{const n=new d.a(r=>{if(!t)return void this._pending.push({observable:n,observer:r});const i=e=>{const n={event:e,target:t,ymaps:ymaps};this._ngZone.run(()=>r.next(n))},o=t.events.add(e,i);return this._listeners.push({name:e,callback:i,manager:o}),()=>o.remove(e,i)});return n}))}setTarget(e){const t=this._targetStream.value;e!==t&&(t&&(this._clearListeners(),this._pending=[]),this._targetStream.next(e),this._pending.forEach(e=>e.observable.subscribe(e.observer)),this._pending=[])}destroy(){this._clearListeners(),this._pending=[],this._targetStream.complete()}_clearListeners(){this._listeners.forEach(e=>{const{name:t,callback:n,manager:r}=e;r.remove(t,n)}),this._listeners=[]}}let y=(()=>{class e{constructor(e,t,n){this._ngZone=e,this._yaApiLoaderService=t,this._sub=new h.a,this._eventManager=new v(this._ngZone),this.map$=new u.a(void 0),this.ready=new r.EventEmitter,this.actionbegin=this._eventManager.getLazyEmitter("actionbegin"),this.actionbreak=this._eventManager.getLazyEmitter("actionbreak"),this.actionend=this._eventManager.getLazyEmitter("actionend"),this.actiontick=this._eventManager.getLazyEmitter("actiontick"),this.actiontickcomplete=this._eventManager.getLazyEmitter("actiontickcomplete"),this.balloonclose=this._eventManager.getLazyEmitter("balloonclose"),this.balloonopen=this._eventManager.getLazyEmitter("balloonopen"),this.boundschange=this._eventManager.getLazyEmitter("boundschange"),this.yaclick=this._eventManager.getLazyEmitter("click"),this.yacontextmenu=this._eventManager.getLazyEmitter("contextmenu"),this.yadblclick=this._eventManager.getLazyEmitter("dblclick"),this.destroy=this._eventManager.getLazyEmitter("destroy"),this.hintclose=this._eventManager.getLazyEmitter("hintclose"),this.hintopen=this._eventManager.getLazyEmitter("hintopen"),this.marginchange=this._eventManager.getLazyEmitter("marginchange"),this.yamousedown=this._eventManager.getLazyEmitter("mousedown"),this.yamouseenter=this._eventManager.getLazyEmitter("mouseenter"),this.yamouseleave=this._eventManager.getLazyEmitter("mouseleave"),this.yamousemove=this._eventManager.getLazyEmitter("mousemove"),this.yamouseup=this._eventManager.getLazyEmitter("mouseup"),this.multitouchend=this._eventManager.getLazyEmitter("multitouchend"),this.multitouchmove=this._eventManager.getLazyEmitter("multitouchmove"),this.multitouchstart=this._eventManager.getLazyEmitter("multitouchstart"),this.optionschange=this._eventManager.getLazyEmitter("optionschange"),this.sizechange=this._eventManager.getLazyEmitter("sizechange"),this.typechange=this._eventManager.getLazyEmitter("typechange"),this.yawheel=this._eventManager.getLazyEmitter("wheel"),this.isBrowser=Object(o.v)(n)}ngOnChanges(e){const t=this.map$.value;if(t){const{center:n,zoom:r,state:i,options:o}=e;i&&this._setState(this._combineState(),t),n&&t.setCenter(n.currentValue),r&&t.setZoom(r.currentValue),o&&t.options.set(o.currentValue)}}ngAfterViewInit(){if(this.isBrowser){const e=this._yaApiLoaderService.load().subscribe(()=>{const e=`f${Number(new Date).toString(16)}`,t=this._createMap(e);this.map$.next(t),this._eventManager.setTarget(t),this._ngZone.run(()=>this.ready.emit({ymaps:ymaps,target:t}))});this._sub.add(e)}}ngOnDestroy(){this._eventManager.destroy(),this._sub.unsubscribe()}_setState(e,t){const{behaviors:n,bounds:r,center:i,controls:o,margin:s,type:a,zoom:l}=e;n&&t.behaviors.enable(n),r&&t.setBounds(r),i&&t.setCenter(i),o&&o.forEach(e=>t.controls.add(e)),s&&t.margin.setDefaultMargin(s),a&&t.setType(a),l&&t.setZoom(l)}_createMap(e){const t=this.container.nativeElement;return t.setAttribute("id",e),t.style.cssText="width: 100%; height: 100%;",new ymaps.Map(e,this._combineState(),this.options||{})}_combineState(){var e,t;const n=this.state||{};return Object.assign(Object.assign({},n),{center:this.center||n.center||[0,0],zoom:null!==(t=null!==(e=this.zoom)&&void 0!==e?e:n.zoom)&&void 0!==t?t:10})}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.NgZone),r["\u0275\u0275directiveInject"](b),r["\u0275\u0275directiveInject"](r.PLATFORM_ID))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["ya-map"]],viewQuery:function(e,t){if(1&e&&r["\u0275\u0275viewQuery"](g,1),2&e){let e;r["\u0275\u0275queryRefresh"](e=r["\u0275\u0275loadQuery"]())&&(t.container=e.first)}},inputs:{center:"center",zoom:"zoom",state:"state",options:"options"},outputs:{ready:"ready",actionbegin:"actionbegin",actionbreak:"actionbreak",actionend:"actionend",actiontick:"actiontick",actiontickcomplete:"actiontickcomplete",balloonclose:"balloonclose",balloonopen:"balloonopen",boundschange:"boundschange",yaclick:"yaclick",yacontextmenu:"yacontextmenu",yadblclick:"yadblclick",destroy:"destroy",hintclose:"hintclose",hintopen:"hintopen",marginchange:"marginchange",yamousedown:"yamousedown",yamouseenter:"yamouseenter",yamouseleave:"yamouseleave",yamousemove:"yamousemove",yamouseup:"yamouseup",multitouchend:"multitouchend",multitouchmove:"multitouchmove",multitouchstart:"multitouchstart",optionschange:"optionschange",sizechange:"sizechange",typechange:"typechange",yawheel:"yawheel"},features:[r["\u0275\u0275NgOnChangesFeature"]],decls:2,vars:0,consts:[["container",""]],template:function(e,t){1&e&&r["\u0275\u0275element"](0,"div",null,0)},encapsulation:2,changeDetection:0}),e})(),w=(()=>{class e{constructor(e,t){this._ngZone=e,this._yaMapComponent=t,this._sub=new h.a,this._eventManager=new v(this._ngZone),this.ready=new r.EventEmitter,this.balloonclose=this._eventManager.getLazyEmitter("balloonclose"),this.balloonopen=this._eventManager.getLazyEmitter("balloonopen"),this.beforedrag=this._eventManager.getLazyEmitter("beforedrag"),this.beforedragstart=this._eventManager.getLazyEmitter("beforedragstart"),this.yaclick=this._eventManager.getLazyEmitter("click"),this.yacontextmenu=this._eventManager.getLazyEmitter("contextmenu"),this.yadblclick=this._eventManager.getLazyEmitter("dblclick"),this.yadrag=this._eventManager.getLazyEmitter("drag"),this.yadragend=this._eventManager.getLazyEmitter("dragend"),this.yadragstart=this._eventManager.getLazyEmitter("dragstart"),this.editorstatechange=this._eventManager.getLazyEmitter("editorstatechange"),this.geometrychange=this._eventManager.getLazyEmitter("geometrychange"),this.hintclose=this._eventManager.getLazyEmitter("hintclose"),this.hintopen=this._eventManager.getLazyEmitter("hintopen"),this.mapchange=this._eventManager.getLazyEmitter("mapchange"),this.yamousedown=this._eventManager.getLazyEmitter("mousedown"),this.yamouseenter=this._eventManager.getLazyEmitter("mouseenter"),this.yamouseleave=this._eventManager.getLazyEmitter("mouseleave"),this.yamousemove=this._eventManager.getLazyEmitter("mousemove"),this.yamouseup=this._eventManager.getLazyEmitter("mouseup"),this.multitouchend=this._eventManager.getLazyEmitter("multitouchend"),this.multitouchmove=this._eventManager.getLazyEmitter("multitouchmove"),this.multitouchstart=this._eventManager.getLazyEmitter("multitouchstart"),this.optionschange=this._eventManager.getLazyEmitter("optionschange"),this.overlaychange=this._eventManager.getLazyEmitter("overlaychange"),this.parentchange=this._eventManager.getLazyEmitter("parentchange"),this.propertieschange=this._eventManager.getLazyEmitter("propertieschange"),this.yawheel=this._eventManager.getLazyEmitter("wheel")}ngOnChanges(e){var t;const{placemark:n}=this;if(n){const{geometry:r,properties:i,options:o}=e;r&&(null===(t=n.geometry)||void 0===t||t.setCoordinates(r.currentValue)),i&&n.properties.set(i.currentValue),o&&n.options.set(o.currentValue)}}ngOnInit(){if(this._yaMapComponent.isBrowser){const e=this._yaMapComponent.map$.subscribe(e=>{if(e){const t=this._createPlacemark();this.placemark=t,e.geoObjects.add(t),this._eventManager.setTarget(t),this._ngZone.run(()=>this.ready.emit({ymaps:ymaps,target:t}))}});this._sub.add(e)}}ngOnDestroy(){var e,t;this.placemark&&(null===(t=null===(e=this._yaMapComponent)||void 0===e?void 0:e.map$.value)||void 0===t||t.geoObjects.remove(this.placemark),this._eventManager.destroy()),this._sub.unsubscribe()}_createPlacemark(){return new ymaps.Placemark(this.geometry,this.properties,this.options)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.NgZone),r["\u0275\u0275directiveInject"](y))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["ya-placemark"]],inputs:{geometry:"geometry",properties:"properties",options:"options"},outputs:{ready:"ready",balloonclose:"balloonclose",balloonopen:"balloonopen",beforedrag:"beforedrag",beforedragstart:"beforedragstart",yaclick:"yaclick",yacontextmenu:"yacontextmenu",yadblclick:"yadblclick",yadrag:"yadrag",yadragend:"yadragend",yadragstart:"yadragstart",editorstatechange:"editorstatechange",geometrychange:"geometrychange",hintclose:"hintclose",hintopen:"hintopen",mapchange:"mapchange",yamousedown:"yamousedown",yamouseenter:"yamouseenter",yamouseleave:"yamouseleave",yamousemove:"yamousemove",yamouseup:"yamouseup",multitouchend:"multitouchend",multitouchmove:"multitouchmove",multitouchstart:"multitouchstart",optionschange:"optionschange",overlaychange:"overlaychange",parentchange:"parentchange",propertieschange:"propertieschange",yawheel:"yawheel"},features:[r["\u0275\u0275NgOnChangesFeature"]]}),e})(),x=(()=>{class e{static forRoot(t){return{ngModule:e,providers:[{provide:_,useValue:t}]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({}),e})()},quSY:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("DH7j"),i=n("XoHu"),o=n("n6bG");const s=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();let a=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:a,_unsubscribe:c,_subscriptions:u}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(let e=0;e<n.length;++e)n[e].remove(this);if(Object(o.a)(c)){a&&(this._unsubscribe=void 0);try{c.call(this)}catch(d){t=d instanceof s?l(d.errors):[d]}}if(Object(r.a)(u)){let e=-1,n=u.length;for(;++e<n;){const n=u[e];if(Object(i.a)(n))try{n.unsubscribe()}catch(d){t=t||[],d instanceof s?t=t.concat(l(d.errors)):t.push(d)}}}if(t)throw new s(t)}add(t){let n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){const t=n;n=new e,n._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof e){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const i=this._subscriptions;return null===i?this._subscriptions=[n]:i.push(n),n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}var t;return e.EMPTY=((t=new e).closed=!0,t),e})();function l(e){return e.reduce((e,t)=>e.concat(t instanceof s?t.errors:t),[])}},rJgo:function(e,t,n){"use strict";n.d(t,"a",function(){return u}),n("YEUz"),n("8LU1"),n("Ht+U");var r=n("8Y7J"),i=(n("XNiG"),n("quSY"),n("VRyK"),n("LRne"),n("7Hc7"),n("JX91"),n("eIep"),n("IzEk"),n("pLZG"),n("1G5W"),n("3E0/"),n("GS7A"),n("1z/I"),n("SVse")),o=n("UhP/"),s=n("1O3W"),a=(n("SCoL"),n("7KAL"));n("9gLZ");const l={provide:new r.InjectionToken("mat-menu-scroll-strategy"),deps:[s.c],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};let c=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({providers:[l],imports:[o.d]}),e})(),u=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({providers:[l],imports:[[i.c,o.d,o.i,s.f,c],a.a,o.d,c]}),e})()},s7LF:function(e,t,n){"use strict";n.r(t),n.d(t,"AbstractControl",function(){return ye}),n.d(t,"AbstractControlDirective",function(){return G}),n.d(t,"AbstractFormGroupDirective",function(){return Ee}),n.d(t,"COMPOSITION_BUFFER_MODE",function(){return g}),n.d(t,"CheckboxControlValueAccessor",function(){return f}),n.d(t,"CheckboxRequiredValidator",function(){return ht}),n.d(t,"ControlContainer",function(){return W}),n.d(t,"DefaultValueAccessor",function(){return _}),n.d(t,"EmailValidator",function(){return mt}),n.d(t,"FormArray",function(){return Ce}),n.d(t,"FormArrayName",function(){return Xe}),n.d(t,"FormBuilder",function(){return It}),n.d(t,"FormControl",function(){return we}),n.d(t,"FormControlDirective",function(){return Ge}),n.d(t,"FormControlName",function(){return et}),n.d(t,"FormGroup",function(){return xe}),n.d(t,"FormGroupDirective",function(){return Ye}),n.d(t,"FormGroupName",function(){return Ze}),n.d(t,"FormsModule",function(){return kt}),n.d(t,"MaxLengthValidator",function(){return vt}),n.d(t,"MinLengthValidator",function(){return _t}),n.d(t,"NG_ASYNC_VALIDATORS",function(){return w}),n.d(t,"NG_VALIDATORS",function(){return y}),n.d(t,"NG_VALUE_ACCESSOR",function(){return h}),n.d(t,"NgControl",function(){return q}),n.d(t,"NgControlStatus",function(){return X}),n.d(t,"NgControlStatusGroup",function(){return K}),n.d(t,"NgForm",function(){return ke}),n.d(t,"NgModel",function(){return Ae}),n.d(t,"NgModelGroup",function(){return je}),n.d(t,"NgSelectOption",function(){return it}),n.d(t,"NumberValueAccessor",function(){return Fe}),n.d(t,"PatternValidator",function(){return wt}),n.d(t,"RadioControlValueAccessor",function(){return Be}),n.d(t,"RangeValueAccessor",function(){return He}),n.d(t,"ReactiveFormsModule",function(){return Et}),n.d(t,"RequiredValidator",function(){return dt}),n.d(t,"SelectControlValueAccessor",function(){return rt}),n.d(t,"SelectMultipleControlValueAccessor",function(){return at}),n.d(t,"VERSION",function(){return Pt}),n.d(t,"Validators",function(){return C}),n.d(t,"\u0275InternalFormsSharedModule",function(){return St}),n.d(t,"\u0275NgNoValidate",function(){return Te}),n.d(t,"\u0275NgSelectMultipleOption",function(){return lt}),n.d(t,"\u0275angular_packages_forms_forms_a",function(){return xt}),n.d(t,"\u0275angular_packages_forms_forms_b",function(){return Ct}),n.d(t,"\u0275angular_packages_forms_forms_ba",function(){return Te}),n.d(t,"\u0275angular_packages_forms_forms_bb",function(){return ct}),n.d(t,"\u0275angular_packages_forms_forms_bc",function(){return ut}),n.d(t,"\u0275angular_packages_forms_forms_bd",function(){return ft}),n.d(t,"\u0275angular_packages_forms_forms_be",function(){return gt}),n.d(t,"\u0275angular_packages_forms_forms_bf",function(){return bt}),n.d(t,"\u0275angular_packages_forms_forms_bg",function(){return yt}),n.d(t,"\u0275angular_packages_forms_forms_bh",function(){return O}),n.d(t,"\u0275angular_packages_forms_forms_bi",function(){return S}),n.d(t,"\u0275angular_packages_forms_forms_bj",function(){return k}),n.d(t,"\u0275angular_packages_forms_forms_bk",function(){return E}),n.d(t,"\u0275angular_packages_forms_forms_bl",function(){return I}),n.d(t,"\u0275angular_packages_forms_forms_bm",function(){return P}),n.d(t,"\u0275angular_packages_forms_forms_bn",function(){return j}),n.d(t,"\u0275angular_packages_forms_forms_bo",function(){return M}),n.d(t,"\u0275angular_packages_forms_forms_bp",function(){return R}),n.d(t,"\u0275angular_packages_forms_forms_c",function(){return Ot}),n.d(t,"\u0275angular_packages_forms_forms_d",function(){return St}),n.d(t,"\u0275angular_packages_forms_forms_e",function(){return p}),n.d(t,"\u0275angular_packages_forms_forms_f",function(){return d}),n.d(t,"\u0275angular_packages_forms_forms_g",function(){return m}),n.d(t,"\u0275angular_packages_forms_forms_h",function(){return Z}),n.d(t,"\u0275angular_packages_forms_forms_i",function(){return Q}),n.d(t,"\u0275angular_packages_forms_forms_j",function(){return Oe}),n.d(t,"\u0275angular_packages_forms_forms_k",function(){return Me}),n.d(t,"\u0275angular_packages_forms_forms_l",function(){return Pe}),n.d(t,"\u0275angular_packages_forms_forms_m",function(){return De}),n.d(t,"\u0275angular_packages_forms_forms_n",function(){return Le}),n.d(t,"\u0275angular_packages_forms_forms_o",function(){return Ne}),n.d(t,"\u0275angular_packages_forms_forms_p",function(){return Ve}),n.d(t,"\u0275angular_packages_forms_forms_q",function(){return ze}),n.d(t,"\u0275angular_packages_forms_forms_r",function(){return Ue}),n.d(t,"\u0275angular_packages_forms_forms_s",function(){return $e}),n.d(t,"\u0275angular_packages_forms_forms_t",function(){return Je}),n.d(t,"\u0275angular_packages_forms_forms_u",function(){return We}),n.d(t,"\u0275angular_packages_forms_forms_v",function(){return qe}),n.d(t,"\u0275angular_packages_forms_forms_w",function(){return Qe}),n.d(t,"\u0275angular_packages_forms_forms_x",function(){return tt}),n.d(t,"\u0275angular_packages_forms_forms_y",function(){return ot}),n.d(t,"\u0275angular_packages_forms_forms_z",function(){return lt});var r=n("8Y7J"),i=n("SVse"),o=n("Cfvw"),s=n("HDdC"),a=n("DH7j"),l=n("lJxs"),c=n("XoHu");function u(e,t){return new s.a(n=>{const r=e.length;if(0===r)return void n.complete();const i=new Array(r);let s=0,a=0;for(let l=0;l<r;l++){const c=Object(o.a)(e[l]);let u=!1;n.add(c.subscribe({next:e=>{u||(u=!0,a++),i[l]=e},error:e=>n.error(e),complete:()=>{s++,s!==r&&u||(a===r&&n.next(t?t.reduce((e,t,n)=>(e[t]=i[n],e),{}):i),n.complete())}}))}})}class d{}const h=new r.InjectionToken("NgValueAccessor"),p={provide:h,useExisting:Object(r.forwardRef)(()=>f),multi:!0};let f=(()=>{class e extends d{constructor(e,t){super(),this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ElementRef))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("change",function(e){return t.onChange(e.target.checked)})("blur",function(){return t.onTouched()})},features:[r["\u0275\u0275ProvidersFeature"]([p]),r["\u0275\u0275InheritDefinitionFeature"]]}),e})();const m={provide:h,useExisting:Object(r.forwardRef)(()=>_),multi:!0},g=new r.InjectionToken("CompositionEventMode");let _=(()=>{class e{constructor(e,t,n){this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=e=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=Object(i.y)()?Object(i.y)().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](g,8))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("input",function(e){return t._handleInput(e.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(e){return t._compositionEnd(e.target.value)})},features:[r["\u0275\u0275ProvidersFeature"]([m])]}),e})();function b(e){return null==e||0===e.length}function v(e){return null!=e&&"number"==typeof e.length}const y=new r.InjectionToken("NgValidators"),w=new r.InjectionToken("NgAsyncValidators"),x=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class C{static min(e){return O(e)}static max(e){return S(e)}static required(e){return k(e)}static requiredTrue(e){return E(e)}static email(e){return I(e)}static minLength(e){return P(e)}static maxLength(e){return j(e)}static pattern(e){return M(e)}static nullValidator(e){return null}static compose(e){return N(e)}static composeAsync(e){return B(e)}}function O(e){return t=>{if(b(t.value)||b(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}function S(e){return t=>{if(b(t.value)||b(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}function k(e){return b(e.value)?{required:!0}:null}function E(e){return!0===e.value?null:{required:!0}}function I(e){return b(e.value)||x.test(e.value)?null:{email:!0}}function P(e){return t=>b(t.value)||!v(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}function j(e){return t=>v(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}function M(e){if(!e)return R;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),e=>{if(b(e.value))return null;const r=e.value;return t.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}function R(e){return null}function A(e){return null!=e}function T(e){const t=Object(r["\u0275isPromise"])(e)?Object(o.a)(e):e;return Object(r["\u0275isObservable"])(t),t}function D(e){let t={};return e.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function F(e,t){return t.map(t=>t(e))}function L(e){return e.map(e=>function(e){return!e.validate}(e)?e:t=>e.validate(t))}function N(e){if(!e)return null;const t=e.filter(A);return 0==t.length?null:function(e){return D(F(e,t))}}function V(e){return null!=e?N(L(e)):null}function B(e){if(!e)return null;const t=e.filter(A);return 0==t.length?null:function(e){return function(...e){if(1===e.length){const t=e[0];if(Object(a.a)(t))return u(t,null);if(Object(c.a)(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return u(e.map(e=>t[e]),e)}}if("function"==typeof e[e.length-1]){const t=e.pop();return u(e=1===e.length&&Object(a.a)(e[0])?e[0]:e,null).pipe(Object(l.a)(e=>t(...e)))}return u(e,null)}(F(e,t).map(T)).pipe(Object(l.a)(D))}}function z(e){return null!=e?B(L(e)):null}function H(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function U(e){return e._rawValidators}function $(e){return e._rawAsyncValidators}let G=(()=>{class e{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=V(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=z(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e}),e})(),W=(()=>{class e extends G{get formDirective(){return null}get path(){return null}}return e.\u0275fac=function(t){return Y(t||e)},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,features:[r["\u0275\u0275InheritDefinitionFeature"]]}),e})();const Y=r["\u0275\u0275getInheritedFactory"](W);class q extends G{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Z{constructor(e){this._cd=e}is(e){var t,n;return!!(null===(n=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===n?void 0:n[e])}}const Q={"[class.ng-untouched]":'is("untouched")',"[class.ng-touched]":'is("touched")',"[class.ng-pristine]":'is("pristine")',"[class.ng-dirty]":'is("dirty")',"[class.ng-valid]":'is("valid")',"[class.ng-invalid]":'is("invalid")',"[class.ng-pending]":'is("pending")'};let X=(()=>{class e extends Z{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](q,2))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&r["\u0275\u0275classProp"]("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[r["\u0275\u0275InheritDefinitionFeature"]]}),e})(),K=(()=>{class e extends Z{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](W,10))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&r["\u0275\u0275classProp"]("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[r["\u0275\u0275InheritDefinitionFeature"]]}),e})();function J(e,t){return[...t.path,e]}function ee(e,t){re(e,t,!0),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&oe(e,t)})}(e,t),function(e,t){const n=(e,n)=>{t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&oe(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function(e,t){if(t.valueAccessor.setDisabledState){const n=e=>{t.valueAccessor.setDisabledState(e)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function te(e,t,n=!0){const r=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),ie(e,t,!0),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function ne(e,t){e.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function re(e,t,n){const r=U(e);null!==t.validator?e.setValidators(H(r,t.validator)):"function"==typeof r&&e.setValidators([r]);const i=$(e);if(null!==t.asyncValidator?e.setAsyncValidators(H(i,t.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]),n){const n=()=>e.updateValueAndValidity();ne(t._rawValidators,n),ne(t._rawAsyncValidators,n)}}function ie(e,t,n){let r=!1;if(null!==e){if(null!==t.validator){const n=U(e);if(Array.isArray(n)&&n.length>0){const i=n.filter(e=>e!==t.validator);i.length!==n.length&&(r=!0,e.setValidators(i))}}if(null!==t.asyncValidator){const n=$(e);if(Array.isArray(n)&&n.length>0){const i=n.filter(e=>e!==t.asyncValidator);i.length!==n.length&&(r=!0,e.setAsyncValidators(i))}}}if(n){const e=()=>{};ne(t._rawValidators,e),ne(t._rawAsyncValidators,e)}return r}function oe(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function se(e,t){re(e,t,!1)}function ae(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}function le(e,t){e._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function ce(e,t){if(!t)return null;let n,r,i;return Array.isArray(t),t.forEach(e=>{e.constructor===_?n=e:Object.getPrototypeOf(e.constructor)===d?r=e:i=e}),i||r||n||null}function ue(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const de="VALID",he="INVALID",pe="PENDING",fe="DISABLED";function me(e){return(ve(e)?e.validators:e)||null}function ge(e){return Array.isArray(e)?V(e):e||null}function _e(e,t){return(ve(t)?t.asyncValidators:e)||null}function be(e){return Array.isArray(e)?z(e):e||null}function ve(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class ye{constructor(e,t){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=t,this._composedValidatorFn=ge(this._rawValidators),this._composedAsyncValidatorFn=be(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===de}get invalid(){return this.status===he}get pending(){return this.status==pe}get disabled(){return this.status===fe}get enabled(){return this.status!==fe}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._rawValidators=e,this._composedValidatorFn=ge(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=be(e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=pe,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=fe,this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=de,this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==de&&this.status!==pe||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?fe:de}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=pe,this._hasOwnPendingAsyncValidator=!0;const t=T(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;let r=e;return t.forEach(e=>{r=r instanceof xe?r.controls.hasOwnProperty(e)?r.controls[e]:null:r instanceof Ce&&r.at(e)||null}),r}(this,e)}getError(e,t){const n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new r.EventEmitter,this.statusChanges=new r.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?fe:this.errors?he:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(pe)?pe:this._anyControlsHaveStatus(he)?he:de}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){ve(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class we extends ye{constructor(e=null,t,n){super(me(t),_e(n,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(e=>e(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){ue(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){ue(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}class xe extends ye{constructor(e,t,n){super(me(t),_e(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){this._checkAllValuesPresent(e),Object.keys(e).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(Object.keys(e).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,n)=>(e[n]=t instanceof we?t.value:t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[e])throw new Error(`Cannot find form control with name: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach(t=>{const n=this.controls[t];n&&e(n,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const t of Object.keys(this.controls)){const n=this.controls[t];if(this.contains(t)&&e(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(e,t,n)=>((t.enabled||this.disabled)&&(e[n]=t.value),e))}_reduceChildren(e,t){let n=e;return this._forEachChild((e,r)=>{n=t(n,e,r)}),n}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class Ce extends ye{constructor(e,t,n){super(me(t),_e(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}at(e){return this.controls[e]}push(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}insert(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}removeAt(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach((e,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(e.forEach((e,n)=>{this.at(n)&&this.at(n).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e=[],t={}){this._forEachChild((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e instanceof we?e.value:e.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let e=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(e))throw new Error(`Cannot find form control at index ${e}`)}_forEachChild(e){this.controls.forEach((t,n)=>{e(t,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}const Oe={provide:W,useExisting:Object(r.forwardRef)(()=>ke)},Se=(()=>Promise.resolve(null))();let ke=(()=>{class e extends W{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new r.EventEmitter,this.form=new xe({},V(e),z(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Se.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),ee(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Se.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),ue(this._directives,e)})}addFormGroup(e){Se.then(()=>{const t=this._findContainer(e.path),n=new xe({});se(n,e),t.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Se.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){Se.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,le(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](y,10),r["\u0275\u0275directiveInject"](w,10))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r["\u0275\u0275ProvidersFeature"]([Oe]),r["\u0275\u0275InheritDefinitionFeature"]]}),e})(),Ee=(()=>{class e extends W{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return J(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return e.\u0275fac=function(t){return Ie(t||e)},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,features:[r["\u0275\u0275InheritDefinitionFeature"]]}),e})();const Ie=r["\u0275\u0275getInheritedFactory"](Ee),Pe={provide:W,useExisting:Object(r.forwardRef)(()=>je)};let je=(()=>{class e extends Ee{constructor(e,t,n){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(n)}_checkParentType(){}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](W,5),r["\u0275\u0275directiveInject"](y,10),r["\u0275\u0275directiveInject"](w,10))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[r["\u0275\u0275ProvidersFeature"]([Pe]),r["\u0275\u0275InheritDefinitionFeature"]]}),e})();const Me={provide:q,useExisting:Object(r.forwardRef)(()=>Ae)},Re=(()=>Promise.resolve(null))();let Ae=(()=>{class e extends q{constructor(e,t,n,i){super(),this.control=new we,this._registered=!1,this.update=new r.EventEmitter,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=ce(0,i)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),ae(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?J(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){ee(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){Re.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const t=e.isDisabled.currentValue,n=""===t||t&&"false"!==t;Re.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](W,9),r["\u0275\u0275directiveInject"](y,10),r["\u0275\u0275directiveInject"](w,10),r["\u0275\u0275directiveInject"](h,10))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[r["\u0275\u0275ProvidersFeature"]([Me]),r["\u0275\u0275InheritDefinitionFeature"],r["\u0275\u0275NgOnChangesFeature"]]}),e})(),Te=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const De={provide:h,useExisting:Object(r.forwardRef)(()=>Fe),multi:!0};let Fe=(()=>{class e extends d{constructor(e,t){super(),this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ElementRef))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("input",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},features:[r["\u0275\u0275ProvidersFeature"]([De]),r["\u0275\u0275InheritDefinitionFeature"]]}),e})();const Le={provide:h,useExisting:Object(r.forwardRef)(()=>Be),multi:!0};let Ne=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({}),e})(),Ve=(()=>{class e{constructor(){this._accessors=[]}add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}select(e){this._accessors.forEach(t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)})}_isSameGroup(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:Ne}),e})(),Be=(()=>{class e extends d{constructor(e,t,n,r){super(),this._renderer=e,this._elementRef=t,this._registry=n,this._injector=r,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(q),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}fireUncheck(e){this.writeValue(e)}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](Ve),r["\u0275\u0275directiveInject"](r.Injector))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("change",function(){return t.onChange()})("blur",function(){return t.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[r["\u0275\u0275ProvidersFeature"]([Le]),r["\u0275\u0275InheritDefinitionFeature"]]}),e})();const ze={provide:h,useExisting:Object(r.forwardRef)(()=>He),multi:!0};let He=(()=>{class e extends d{constructor(e,t){super(),this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ElementRef))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("change",function(e){return t.onChange(e.target.value)})("input",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},features:[r["\u0275\u0275ProvidersFeature"]([ze]),r["\u0275\u0275InheritDefinitionFeature"]]}),e})();const Ue=new r.InjectionToken("NgModelWithFormControlWarning"),$e={provide:q,useExisting:Object(r.forwardRef)(()=>Ge)};let Ge=(()=>{class e extends q{constructor(e,t,n,i){super(),this._ngModelWarningConfig=i,this.update=new r.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=ce(0,n)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&te(t,this,!1),ee(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}ae(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&te(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](y,10),r["\u0275\u0275directiveInject"](w,10),r["\u0275\u0275directiveInject"](h,10),r["\u0275\u0275directiveInject"](Ue,8))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[r["\u0275\u0275ProvidersFeature"]([$e]),r["\u0275\u0275InheritDefinitionFeature"],r["\u0275\u0275NgOnChangesFeature"]]}),e._ngModelWarningSentOnce=!1,e})();const We={provide:W,useExisting:Object(r.forwardRef)(()=>Ye)};let Ye=(()=>{class e extends W{constructor(e,t){super(),this.validators=e,this.asyncValidators=t,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new r.EventEmitter,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ie(this.form,this,!1),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return ee(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){te(e.control||null,e,!1),ue(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,le(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=e.control,n=this.form.get(e.path);t!==n&&(te(t||null,e),n instanceof we&&(ee(n,e),e.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);se(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function(e,t){return ie(e,t,!1)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){re(this.form,this,!1),this._oldForm&&ie(this._oldForm,this,!1)}_checkFormPresent(){}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](y,10),r["\u0275\u0275directiveInject"](w,10))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r["\u0275\u0275ProvidersFeature"]([We]),r["\u0275\u0275InheritDefinitionFeature"],r["\u0275\u0275NgOnChangesFeature"]]}),e})();const qe={provide:W,useExisting:Object(r.forwardRef)(()=>Ze)};let Ze=(()=>{class e extends Ee{constructor(e,t,n){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(n)}_checkParentType(){Ke(this._parent)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](W,13),r["\u0275\u0275directiveInject"](y,10),r["\u0275\u0275directiveInject"](w,10))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[r["\u0275\u0275ProvidersFeature"]([qe]),r["\u0275\u0275InheritDefinitionFeature"]]}),e})();const Qe={provide:W,useExisting:Object(r.forwardRef)(()=>Xe)};let Xe=(()=>{class e extends W{constructor(e,t,n){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(n)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return J(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Ke(this._parent)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](W,13),r["\u0275\u0275directiveInject"](y,10),r["\u0275\u0275directiveInject"](w,10))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[r["\u0275\u0275ProvidersFeature"]([Qe]),r["\u0275\u0275InheritDefinitionFeature"]]}),e})();function Ke(e){return!(e instanceof Ze||e instanceof Ye||e instanceof Xe)}const Je={provide:q,useExisting:Object(r.forwardRef)(()=>et)};let et=(()=>{class e extends q{constructor(e,t,n,i,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.update=new r.EventEmitter,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=ce(0,i)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),ae(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return J(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](W,13),r["\u0275\u0275directiveInject"](y,10),r["\u0275\u0275directiveInject"](w,10),r["\u0275\u0275directiveInject"](h,10),r["\u0275\u0275directiveInject"](Ue,8))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[r["\u0275\u0275ProvidersFeature"]([Je]),r["\u0275\u0275InheritDefinitionFeature"],r["\u0275\u0275NgOnChangesFeature"]]}),e._ngModelWarningSentOnce=!1,e})();const tt={provide:h,useExisting:Object(r.forwardRef)(()=>rt),multi:!0};function nt(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let rt=(()=>{class e extends d{constructor(e,t){super(),this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;const t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=nt(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ElementRef))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("change",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[r["\u0275\u0275ProvidersFeature"]([tt]),r["\u0275\u0275InheritDefinitionFeature"]]}),e})(),it=(()=>{class e{constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(nt(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](rt,9))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const ot={provide:h,useExisting:Object(r.forwardRef)(()=>at),multi:!0};function st(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let at=(()=>{class e extends d{constructor(e,t){super(),this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const n=e.map(e=>this._getOptionId(e));t=(e,t)=>{e._setSelected(n.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const n=[];if(void 0!==t.selectedOptions){const e=t.selectedOptions;for(let t=0;t<e.length;t++){const r=e.item(t),i=this._getOptionValue(r.value);n.push(i)}}else{const e=t.options;for(let t=0;t<e.length;t++){const r=e.item(t);if(r.selected){const e=this._getOptionValue(r.value);n.push(e)}}}this.value=n,e(n)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(e){const t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t)._value,e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ElementRef))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("change",function(e){return t.onChange(e.target)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[r["\u0275\u0275ProvidersFeature"]([ot]),r["\u0275\u0275InheritDefinitionFeature"]]}),e})(),lt=(()=>{class e{constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(st(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(st(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](at,9))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const ct={provide:y,useExisting:Object(r.forwardRef)(()=>dt),multi:!0},ut={provide:y,useExisting:Object(r.forwardRef)(()=>ht),multi:!0};let dt=(()=>{class e{constructor(){this._required=!1}get required(){return this._required}set required(e){this._required=null!=e&&!1!==e&&"false"!=`${e}`,this._onChange&&this._onChange()}validate(e){return this.required?k(e):null}registerOnValidatorChange(e){this._onChange=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&r["\u0275\u0275attribute"]("required",t.required?"":null)},inputs:{required:"required"},features:[r["\u0275\u0275ProvidersFeature"]([ct])]}),e})(),ht=(()=>{class e extends dt{validate(e){return this.required?E(e):null}}return e.\u0275fac=function(t){return pt(t||e)},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r["\u0275\u0275attribute"]("required",t.required?"":null)},features:[r["\u0275\u0275ProvidersFeature"]([ut]),r["\u0275\u0275InheritDefinitionFeature"]]}),e})();const pt=r["\u0275\u0275getInheritedFactory"](ht),ft={provide:y,useExisting:Object(r.forwardRef)(()=>mt),multi:!0};let mt=(()=>{class e{constructor(){this._enabled=!1}set email(e){this._enabled=""===e||!0===e||"true"===e,this._onChange&&this._onChange()}validate(e){return this._enabled?I(e):null}registerOnValidatorChange(e){this._onChange=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[r["\u0275\u0275ProvidersFeature"]([ft])]}),e})();const gt={provide:y,useExisting:Object(r.forwardRef)(()=>_t),multi:!0};let _t=(()=>{class e{constructor(){this._validator=R}ngOnChanges(e){"minlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return null==this.minlength?null:this._validator(e)}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=P("number"==typeof this.minlength?this.minlength:parseInt(this.minlength,10))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r["\u0275\u0275attribute"]("minlength",t.minlength?t.minlength:null)},inputs:{minlength:"minlength"},features:[r["\u0275\u0275ProvidersFeature"]([gt]),r["\u0275\u0275NgOnChangesFeature"]]}),e})();const bt={provide:y,useExisting:Object(r.forwardRef)(()=>vt),multi:!0};let vt=(()=>{class e{constructor(){this._validator=R}ngOnChanges(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return null!=this.maxlength?this._validator(e):null}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=j("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r["\u0275\u0275attribute"]("maxlength",t.maxlength?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[r["\u0275\u0275ProvidersFeature"]([bt]),r["\u0275\u0275NgOnChangesFeature"]]}),e})();const yt={provide:y,useExisting:Object(r.forwardRef)(()=>wt),multi:!0};let wt=(()=>{class e{constructor(){this._validator=R}ngOnChanges(e){"pattern"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=M(this.pattern)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r["\u0275\u0275attribute"]("pattern",t.pattern?t.pattern:null)},inputs:{pattern:"pattern"},features:[r["\u0275\u0275ProvidersFeature"]([yt]),r["\u0275\u0275NgOnChangesFeature"]]}),e})();const xt=[Te,it,lt,_,Fe,He,f,rt,at,Be,X,K,dt,_t,vt,wt,ht,mt],Ct=[Ae,je,ke],Ot=[Ge,Ye,et,Ze,Xe];let St=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({imports:[[Ne]]}),e})(),kt=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({imports:[St]}),e})(),Et=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Ue,useValue:t.warnOnNgModelWithFormControl}]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({imports:[St]}),e})(),It=(()=>{class e{group(e,t=null){const n=this._reduceControls(e);let r,i=null,o=null;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(i=null!=t.validators?t.validators:null,o=null!=t.asyncValidators?t.asyncValidators:null,r=null!=t.updateOn?t.updateOn:void 0):(i=null!=t.validator?t.validator:null,o=null!=t.asyncValidator?t.asyncValidator:null)),new xe(n,{asyncValidators:o,updateOn:r,validators:i})}control(e,t,n){return new we(e,t,n)}array(e,t,n){const r=e.map(e=>this._createControl(e));return new Ce(r,t,n)}_reduceControls(e){const t={};return Object.keys(e).forEach(n=>{t[n]=this._createControl(e[n])}),t}_createControl(e){return e instanceof we||e instanceof xe||e instanceof Ce?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:Et}),e})();const Pt=new r.Version("11.2.14")},vkgz:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("7o/Q");function i(){}var o=n("n6bG");function s(e,t,n){return function(r){return r.lift(new a(e,t,n))}}class a{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new l(e,this.nextOrObserver,this.error,this.complete))}}class l extends r.a{constructor(e,t,n,r){super(e),this._tapNext=i,this._tapError=i,this._tapComplete=i,this._tapError=n||i,this._tapComplete=r||i,Object(o.a)(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||i,this._tapError=t.error||i,this._tapComplete=t.complete||i)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}},vm46:function(e,t,n){"use strict";n.d(t,"a",function(){return g});var r=n("mrSG"),i=n("s7LF"),o=n("iELJ"),s=n("7l3C"),a=n("ey9i"),l=n("6rF9"),c=n("nYR2"),u=n("8Y7J"),d=n("o0su"),h=n("LE1F"),p=n("gu9F"),f=n("UVXo"),m=n("7mzw");let g=(()=>{class e extends a.a{constructor(e,t,n,r){super(),this.leadService=e,this.httpEventsService=t,this.dialogRef=n,this.maskPhone={mask:s.a.phoneMask,guide:!1},this.data=null,this.data=r}ngOnInit(){this.formInit()}formSubmit(){if(this.form.invalid)return void Object(l.h)(this.form);this.httpEventsService.showProgress();const e=this.form.value,t=Object(r.a)(e,["agreement"]);this.data&&(t.complexName=this.data.complexName,t.apartment=this.data.apartment),this.subs=[this.leadService.sendLead(t).pipe(Object(c.a)(()=>{this.dialogRef.close()})).subscribe(()=>{this.httpEventsService.complete(!0,"\u0417\u0430\u044f\u0432\u043a\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0430")},()=>{this.httpEventsService.complete(!1)})]}formInit(){this.form=new i.FormGroup({name:new i.FormControl(null,[l.a.nameValidator,i.Validators.required]),phone:new i.FormControl(null,[l.a.mobilePhoneValidator,i.Validators.required]),agreement:new i.FormControl(!1,[l.a.agreementCheckBoxValidator])})}}return e.\u0275fac=function(t){return new(t||e)(u["\u0275\u0275directiveInject"](d.e),u["\u0275\u0275directiveInject"](d.c),u["\u0275\u0275directiveInject"](o.e),u["\u0275\u0275directiveInject"](o.a))},e.\u0275cmp=u["\u0275\u0275defineComponent"]({type:e,selectors:[["app-lead-dialog"]],features:[u["\u0275\u0275InheritDefinitionFeature"]],decls:21,vars:7,consts:[[1,"lead__header"],[1,"lead__title"],[3,"formGroup","ngSubmit"],[1,"lead__form-row"],[3,"control"],["labelText","\u0418\u043c\u044f","inputWrapperClass","cp-input-wrapper__text","inputId","lead-name"],["type","text","id","lead-name","name","lead-name","formControlName","name","placeholder","\u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440 \u0418\u0432\u0430\u043d\u043e\u0432","appInput",""],["labelText","\u0422\u0435\u043b\u0435\u0444\u043e\u043d","inputWrapperClass","cp-input-wrapper__text","inputId","lead-phone"],["type","tel","id","lead-phone","name","lead-phone","formControlName","phone","placeholder","+7 (123) 456-78-90","appInput","",3,"textMask"],[1,"lead__form-row","callback__form-row_checkbox"],["labelText","\u042f \u0441\u043e\u0433\u043b\u0430\u0448\u0430\u044e\u0441\u044c \u043d\u0430 <a target='_blank'>\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0441\u0432\u043e\u0438\u0445 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445</a>","inputId","lead-agreement","inputWrapperClass","cp-input-wrapper__checkbox",3,"isLabelHtml"],["type","checkbox","id","lead-agreement","name","lead-agreement","formControlName","agreement","placeholder","\u0422\u0435\u043b\u0435\u0444\u043e\u043d","appInput",""],["id","lead-submit-btn","aria-label","lead-submit-btn","type","submit",1,"lead__submit",3,"disabled"],["mat-dialog-close","",1,"lead__close"]],template:function(e,t){1&e&&(u["\u0275\u0275elementStart"](0,"header",0),u["\u0275\u0275elementStart"](1,"div",1),u["\u0275\u0275text"](2,"\u041e\u0431\u0440\u0430\u0442\u043d\u044b\u0439 \u0437\u0432\u043e\u043d\u043e\u043a"),u["\u0275\u0275elementEnd"](),u["\u0275\u0275elementEnd"](),u["\u0275\u0275elementStart"](3,"form",2),u["\u0275\u0275listener"]("ngSubmit",function(){return t.formSubmit()}),u["\u0275\u0275elementStart"](4,"div",3),u["\u0275\u0275elementStart"](5,"form-control-wrapper",4),u["\u0275\u0275elementStart"](6,"app-input",5),u["\u0275\u0275element"](7,"input",6),u["\u0275\u0275elementEnd"](),u["\u0275\u0275elementEnd"](),u["\u0275\u0275elementEnd"](),u["\u0275\u0275elementStart"](8,"div",3),u["\u0275\u0275elementStart"](9,"form-control-wrapper",4),u["\u0275\u0275elementStart"](10,"app-input",7),u["\u0275\u0275element"](11,"input",8),u["\u0275\u0275elementEnd"](),u["\u0275\u0275elementEnd"](),u["\u0275\u0275elementEnd"](),u["\u0275\u0275elementStart"](12,"div",9),u["\u0275\u0275elementStart"](13,"form-control-wrapper",4),u["\u0275\u0275elementStart"](14,"app-input",10),u["\u0275\u0275element"](15,"input",11),u["\u0275\u0275elementEnd"](),u["\u0275\u0275elementEnd"](),u["\u0275\u0275elementEnd"](),u["\u0275\u0275elementStart"](16,"footer",3),u["\u0275\u0275elementStart"](17,"button",12),u["\u0275\u0275elementStart"](18,"span"),u["\u0275\u0275text"](19,"\u041f\u0435\u0440\u0435\u0437\u0432\u043e\u043d\u0438\u0442\u044c \u043c\u043d\u0435"),u["\u0275\u0275elementEnd"](),u["\u0275\u0275elementEnd"](),u["\u0275\u0275elementEnd"](),u["\u0275\u0275elementEnd"](),u["\u0275\u0275element"](20,"close-btn",13)),2&e&&(u["\u0275\u0275advance"](3),u["\u0275\u0275property"]("formGroup",t.form),u["\u0275\u0275advance"](2),u["\u0275\u0275property"]("control",t.form.controls.name),u["\u0275\u0275advance"](4),u["\u0275\u0275property"]("control",t.form.controls.phone),u["\u0275\u0275advance"](2),u["\u0275\u0275property"]("textMask",t.maskPhone),u["\u0275\u0275advance"](2),u["\u0275\u0275property"]("control",t.form.controls.agreement),u["\u0275\u0275advance"](1),u["\u0275\u0275property"]("isLabelHtml",!0),u["\u0275\u0275advance"](3),u["\u0275\u0275property"]("disabled",t.form.invalid))},directives:[i["\u0275angular_packages_forms_forms_ba"],i.NgControlStatusGroup,i.FormGroupDirective,h.a,p.a,i.DefaultValueAccessor,i.NgControlStatus,i.FormControlName,f.MaskedInputDirective,i.CheckboxControlValueAccessor,m.a,o.c],styles:['@keyframes spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}  .cp-lead-dialog__dialog{--padding:40px}@media screen and (max-width:640px){  .cp-lead-dialog__dialog{--padding:40px 20px 30px}}@media screen and (max-width:419px){  .cp-lead-dialog__dialog{--padding:40px 12px 20px}}.lead__close[_ngcontent-%COMP%]{position:absolute;top:16px;right:16px}.lead__header[_ngcontent-%COMP%]{margin-bottom:24px}.lead__title[_ngcontent-%COMP%]{font-size:24px;font-weight:700;line-height:125%;text-align:center}.lead__subtitle[_ngcontent-%COMP%]{margin-top:8px;font-size:14px;line-height:145%;text-align:center}.lead__form-row[_ngcontent-%COMP%]:not(:first-child){margin-top:20px}.lead__submit[_ngcontent-%COMP%]{display:inline-block;position:relative;padding:12px 24px;border:0;font-size:14px;font-weight:500;line-height:20px;text-decoration:none;cursor:pointer;border-radius:6px;background-color:RGB(var(--brand-color));color:RGB(var(--white-color));width:100%}.lead__submit[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;display:block;width:100%;height:100%;background-color:RGB(var(--color-contrast-750,56,55,54),.05);opacity:0;transition:opacity .3s}.lead__submit[_ngcontent-%COMP%]:hover:before{opacity:1}.lead__submit[_ngcontent-%COMP%]:disabled{background-color:RGB(var(--violet-5));color:RGB(var(--violet-40));pointer-events:none;box-shadow:inset 0 0 0 1px RGB(var(--black-10));cursor:default}.lead__submit[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{position:relative}'],changeDetection:0}),e})()},vrAh:function(e,t,n){"use strict";n.d(t,"a",function(){return L}),n.d(t,"b",function(){return G}),n.d(t,"c",function(){return U});var r=n("YEUz"),i=n("8LU1"),o=n("SCoL"),s=n("8Y7J"),a=n("UhP/"),l=n("quSY"),c=n("XNiG"),u=n("NXyV"),d=n("VRyK"),h=n("LRne"),p=n("xgIS"),f=n("SVse"),m=n("1O3W"),g=n("7KAL"),_=n("Ht+U"),b=n("1z/I"),v=n("s7LF"),y=n("Q2Ze"),w=n("IzEk"),x=n("eIep"),C=n("pLZG"),O=n("lJxs"),S=n("vkgz"),k=n("3E0/"),E=n("9gLZ");const I=["panel"];function P(e,t){if(1&e&&(s["\u0275\u0275elementStart"](0,"div",0,1),s["\u0275\u0275projection"](2),s["\u0275\u0275elementEnd"]()),2&e){const e=t.id,n=s["\u0275\u0275nextContext"]();s["\u0275\u0275property"]("id",n.id)("ngClass",n._classList),s["\u0275\u0275attribute"]("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby(e))}}const j=["*"];let M=0;class R{constructor(e,t){this.source=e,this.option=t}}class A{}const T=Object(a.m)(A),D=new s.InjectionToken("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}});let F=(()=>{class e extends T{constructor(e,t,n,r){super(),this._changeDetectorRef=e,this._elementRef=t,this._activeOptionChanges=l.a.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new s.EventEmitter,this.opened=new s.EventEmitter,this.closed=new s.EventEmitter,this.optionActivated=new s.EventEmitter,this._classList={},this.id="mat-autocomplete-"+M++,this.inertGroups=(null==r?void 0:r.SAFARI)||!1,this._autoActiveFirstOption=!!n.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(e){this._autoActiveFirstOption=Object(i.b)(e)}set classList(e){this._classList=e&&e.length?Object(i.f)(e).reduce((e,t)=>(e[t]=!0,e),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new r.a(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){const t=new R(this,e);this.optionSelected.emit(t)}_getPanelAriaLabelledby(e){return this.ariaLabel?null:this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_setVisibilityClasses(e){e[this._visibleClass]=this.showPanel,e[this._hiddenClass]=!this.showPanel}}return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275directiveInject"](s.ChangeDetectorRef),s["\u0275\u0275directiveInject"](s.ElementRef),s["\u0275\u0275directiveInject"](D),s["\u0275\u0275directiveInject"](o.a))},e.\u0275dir=s["\u0275\u0275defineDirective"]({type:e,viewQuery:function(e,t){if(1&e&&(s["\u0275\u0275viewQuery"](s.TemplateRef,3),s["\u0275\u0275viewQuery"](I,1)),2&e){let e;s["\u0275\u0275queryRefresh"](e=s["\u0275\u0275loadQuery"]())&&(t.template=e.first),s["\u0275\u0275queryRefresh"](e=s["\u0275\u0275loadQuery"]())&&(t.panel=e.first)}},inputs:{displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",classList:["class","classList"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],panelWidth:"panelWidth"},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[s["\u0275\u0275InheritDefinitionFeature"]]}),e})(),L=(()=>{class e extends F{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return e.\u0275fac=function(t){return N(t||e)},e.\u0275cmp=s["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-autocomplete"]],contentQueries:function(e,t,n){if(1&e&&(s["\u0275\u0275contentQuery"](n,a.b,1),s["\u0275\u0275contentQuery"](n,a.e,1)),2&e){let e;s["\u0275\u0275queryRefresh"](e=s["\u0275\u0275loadQuery"]())&&(t.optionGroups=e),s["\u0275\u0275queryRefresh"](e=s["\u0275\u0275loadQuery"]())&&(t.options=e)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[s["\u0275\u0275ProvidersFeature"]([{provide:a.c,useExisting:e}]),s["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:j,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(e,t){1&e&&(s["\u0275\u0275projectionDef"](),s["\u0275\u0275template"](0,P,3,4,"ng-template"))},directives:[f.k],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}\n"],encapsulation:2,changeDetection:0}),e})();const N=s["\u0275\u0275getInheritedFactory"](L),V=new s.InjectionToken("mat-autocomplete-scroll-strategy"),B={provide:V,deps:[m.c],useFactory:function(e){return()=>e.scrollStrategies.reposition()}},z={provide:v.NG_VALUE_ACCESSOR,useExisting:Object(s.forwardRef)(()=>U),multi:!0};let H=(()=>{class e{constructor(e,t,n,r,i,o,s,a,h,p,f){this._element=e,this._overlay=t,this._viewContainerRef=n,this._zone=r,this._changeDetectorRef=i,this._dir=s,this._formField=a,this._document=h,this._viewportRuler=p,this._defaults=f,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=l.a.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new c.a,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=Object(u.a)(()=>this.autocomplete&&this.autocomplete.options?Object(d.a)(...this.autocomplete.options.map(e=>e.onSelectionChange)):this._zone.onStable.pipe(Object(w.a)(1),Object(x.a)(()=>this.optionSelections))),this._scrollStrategy=o}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(e){this._autocompleteDisabled=Object(i.b)(e)}ngAfterViewInit(){const e=this._getWindow();void 0!==e&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const e=this._getWindow();void 0!==e&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Object(d.a)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Object(C.a)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Object(C.a)(()=>this._overlayAttached)):Object(h.a)()).pipe(Object(O.a)(e=>e instanceof a.g?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Object(d.a)(Object(p.a)(this._document,"click"),Object(p.a)(this._document,"auxclick"),Object(p.a)(this._document,"touchend")).pipe(Object(C.a)(e=>{const t=this._isInsideShadowRoot&&e.composedPath?e.composedPath()[0]:e.target,n=this._formField?this._formField._elementRef.nativeElement:null,r=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&t!==this._element.nativeElement&&(!n||!n.contains(t))&&(!r||!r.contains(t))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(t)}))}writeValue(e){Promise.resolve(null).then(()=>this._setTriggerValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){const t=e.keyCode;if(t!==_.e||Object(_.q)(e)||e.preventDefault(),this.activeOption&&t===_.d&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){const n=this.autocomplete._keyManager.activeItem,r=t===_.n||t===_.b;this.panelOpen||t===_.m?this.autocomplete._keyManager.onKeydown(e):r&&this._canOpen()&&this.openPanel(),(r||this.autocomplete._keyManager.activeItem!==n)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(e){let t=e.target,n=t.value;"number"===t.type&&(n=""==n?null:parseFloat(n)),this._previousValue!==n&&(this._previousValue=n,this._onChange(n),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_floatLabel(e=!1){this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const e=this._zone.onStable.pipe(Object(w.a)(1)),t=this.autocomplete.options.changes.pipe(Object(S.a)(()=>this._positionStrategy.reapplyLastPosition()),Object(k.a)(0));return Object(d.a)(e,t).pipe(Object(x.a)(()=>{const e=this.panelOpen;return this._resetActiveItem(),this.autocomplete._setVisibility(),this.panelOpen&&(this._overlayRef.updatePosition(),e!==this.panelOpen&&this.autocomplete.opened.emit()),this.panelClosingActions}),Object(w.a)(1)).subscribe(e=>this._setValueAndClose(e))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(e){const t=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e,n=null!=t?t:"";this._formField?this._formField._control.value=n:this._element.nativeElement.value=n,this._previousValue=n}_setValueAndClose(e){e&&e.source&&(this._clearPreviousSelectedOption(e.source),this._setTriggerValue(e.source.value),this._onChange(e.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(e.source)),this.closePanel()}_clearPreviousSelectedOption(e){this.autocomplete.options.forEach(t=>{t!==e&&t.selected&&t.deselect()})}_attachOverlay(){var e;null==this._isInsideShadowRoot&&(this._isInsideShadowRoot=!!Object(o.c)(this._element.nativeElement));let t=this._overlayRef;t?(this._positionStrategy.setOrigin(this._getConnectedElement()),t.updateSize({width:this._getPanelWidth()})):(this._portal=new b.f(this.autocomplete.template,this._viewContainerRef,{id:null===(e=this._formField)||void 0===e?void 0:e.getLabelId()}),t=this._overlay.create(this._getOverlayConfig()),this._overlayRef=t,t.keydownEvents().subscribe(e=>{(e.keyCode===_.e&&!Object(_.q)(e)||e.keyCode===_.n&&Object(_.q)(e,"altKey"))&&(this._resetActiveItem(),this._closeKeyEventStream.next(),e.stopPropagation(),e.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&t&&t.updateSize({width:this._getPanelWidth()})})),t&&!t.hasAttached()&&(t.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const n=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&n!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var e;return new m.d({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(e=this._defaults)||void 0===e?void 0:e.overlayPanelClass})}_getOverlayPosition(){const e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){const t=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],n=this._aboveClass,r=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:n},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:n}];let i;i="above"===this.position?r:"below"===this.position?t:[...t,...r],e.withPositions(i)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const e=this.autocomplete;e.autoActiveFirstOption?e._keyManager.setFirstItemActive():e._keyManager.setActiveItem(-1)}_canOpen(){const e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this._autocompleteDisabled}_getWindow(){var e;return(null===(e=this._document)||void 0===e?void 0:e.defaultView)||window}_scrollToOption(e){const t=this.autocomplete,n=Object(a.j)(e,t.options,t.optionGroups);if(0===e&&1===n)t._setScrollTop(0);else if(t.panel){const n=t.options.toArray()[e];if(n){const e=n._getHostElement(),r=Object(a.k)(e.offsetTop,e.offsetHeight,t._getScrollTop(),t.panel.nativeElement.offsetHeight);t._setScrollTop(r)}}}}return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275directiveInject"](s.ElementRef),s["\u0275\u0275directiveInject"](m.c),s["\u0275\u0275directiveInject"](s.ViewContainerRef),s["\u0275\u0275directiveInject"](s.NgZone),s["\u0275\u0275directiveInject"](s.ChangeDetectorRef),s["\u0275\u0275directiveInject"](V),s["\u0275\u0275directiveInject"](E.b,8),s["\u0275\u0275directiveInject"](y.a,9),s["\u0275\u0275directiveInject"](f.d,8),s["\u0275\u0275directiveInject"](g.d),s["\u0275\u0275directiveInject"](D,8))},e.\u0275dir=s["\u0275\u0275defineDirective"]({type:e,inputs:{position:["matAutocompletePosition","position"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"],autocomplete:["matAutocomplete","autocomplete"],connectedTo:["matAutocompleteConnectedTo","connectedTo"]},features:[s["\u0275\u0275NgOnChangesFeature"]]}),e})(),U=(()=>{class e extends H{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return e.\u0275fac=function(t){return $(t||e)},e.\u0275dir=s["\u0275\u0275defineDirective"]({type:e,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(e,t){1&e&&s["\u0275\u0275listener"]("focusin",function(){return t._handleFocus()})("blur",function(){return t._onTouched()})("input",function(e){return t._handleInput(e)})("keydown",function(e){return t._handleKeydown(e)}),2&e&&s["\u0275\u0275attribute"]("autocomplete",t.autocompleteAttribute)("role",t.autocompleteDisabled?null:"combobox")("aria-autocomplete",t.autocompleteDisabled?null:"list")("aria-activedescendant",t.panelOpen&&t.activeOption?t.activeOption.id:null)("aria-expanded",t.autocompleteDisabled?null:t.panelOpen.toString())("aria-owns",t.autocompleteDisabled||!t.panelOpen||null==t.autocomplete?null:t.autocomplete.id)("aria-haspopup",!t.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[s["\u0275\u0275ProvidersFeature"]([z]),s["\u0275\u0275InheritDefinitionFeature"]]}),e})();const $=s["\u0275\u0275getInheritedFactory"](U);let G=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=s["\u0275\u0275defineInjector"]({providers:[B],imports:[[m.f,a.f,a.d,f.c],g.a,a.f,a.d]}),e})()},wAoj:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("8Y7J");let i=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({}),e})()},"wO+i":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("lJxs");function i(...e){const t=e.length;if(0===t)throw new Error("list of properties cannot be empty.");return n=>Object(r.a)(function(e,t){return n=>{let r=n;for(let i=0;i<t;i++){const t=null!=r?r[e[i]]:void 0;if(void 0===t)return;r=t}return r}}(e,t))(n)}},wsBN:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("akkN"),i=n("8Y7J");let o=(()=>{class e{transform(e){return`//img${Math.floor(7*Math.random()+1)}.${r.a.pictureUrl}/photo/pid/${e}`}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i["\u0275\u0275definePipe"]({name:"imagePath",type:e,pure:!0}),e})()},"x+ZX":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("7o/Q");function i(){return function(e){return e.lift(new o(e))}}class o{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new s(e,n),i=t.subscribe(r);return r.closed||(r.connection=n.connect()),i}}class s extends r.a{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}},xgIS:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("HDdC"),i=n("DH7j"),o=n("n6bG"),s=n("lJxs");function a(e,t,n,c){return Object(o.a)(n)&&(c=n,n=void 0),c?a(e,t,n).pipe(Object(s.a)(e=>Object(i.a)(e)?c(...e):c(e))):new r.a(r=>{l(e,t,function(e){r.next(arguments.length>1?Array.prototype.slice.call(arguments):e)},r,n)})}function l(e,t,n,r,i){let o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){const r=e;e.addEventListener(t,n,i),o=()=>r.removeEventListener(t,n,i)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){const r=e;e.on(t,n),o=()=>r.off(t,n)}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){const r=e;e.addListener(t,n),o=()=>r.removeListener(t,n)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let o=0,s=e.length;o<s;o++)l(e[o],t,n,r,i)}r.add(o)}},yCtX:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("HDdC"),i=n("ngJS"),o=n("jZKg");function s(e,t){return t?Object(o.a)(e,t):new r.a(Object(i.a)(e))}},"z+Ro":function(e,t,n){"use strict";function r(e){return e&&"function"==typeof e.schedule}n.d(t,"a",function(){return r})},z6cu:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("HDdC");function i(e,t){return new r.a(t?n=>t.schedule(o,0,{error:e,subscriber:n}):t=>t.error(e))}function o({error:e,subscriber:t}){t.error(e)}},zO3f:function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r={hasBackdrop:!0,maxWidth:"96vw",panelClass:["cp-dialog-pane","cp-dialog-pane__popup","cp-lead-dialog__dialog"],backdropClass:"cp-dialog-backdrop"}},zQhy:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("8Y7J"),i=n("UhP/");n("8LU1"),n("s7LF"),n("omvX"),n("YEUz"),n("CtHx");let o=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({imports:[[i.i,i.d],i.d]}),e})()},zUnb:function(e,t,n){"use strict";n.r(t);var r=n("cUpR"),i=n("8Y7J"),o=n("IheW"),s=n("iInd");let a=(()=>{class e{canActivate(e,t){return!1}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();var l=n("SVse"),c=n("ey9i"),u=n("IzEk"),d=n("vkgz"),h=n("5+tZ"),p=n("wO+i"),f=n("itXk"),m=n("o0su"),g=n("ShDn"),_=n("B+Cw"),b=n("s7LF"),v=n("7l3C"),y=function(e){return e.Subway="\u041c\u0435\u0442\u0440\u043e",e.District="\u0420\u0430\u0439\u043e\u043d",e.ComplexName="\u0416\u041a",e.DeveloperName="\u0417\u0430\u0441\u0442\u0440\u043e\u0439\u0449\u0438\u043a",e}({}),w=n("JX91"),x=n("lJxs"),C=n("7o/Q");function O(e){return t=>t.lift(new S(e))}class S{constructor(e){this.total=e}call(e,t){return t.subscribe(new k(e,this.total))}}class k extends C.a{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){++this.count>this.total&&this.destination.next(e)}}var E=n("pLZG"),I=n("Kj3r"),P=n("6rF9");let j=(()=>{class e extends c.a{constructor(e,t,n,r){super(),this.ecatalogService=e,this.filterService=t,this.cd=n,this.shortNoteMillionsPipe=r,this.priceMask={mask:v.a.priceMask,guide:!1},this.isShowClearFilterButton=!1,this.autoCompleteInputPlaceholder="\u041c\u0435\u0442\u0440\u043e, \u0440\u0430\u0439\u043e\u043d, \u0416\u041a, \u0437\u0430\u0441\u0442\u0440\u043e\u0439\u0449\u0438\u043a",this.autocompleteList=[],this.deadlineYears=[],this.filterCount=0,this.complexCount=0,this.rooms=[{value:"st",quarter:1,label:"\u0421\u0442\u0443\u0434\u0438\u044f"},{value:"1",quarter:1,label:"1"},{value:"2",quarter:2,label:"2"},{value:"3",quarter:3,label:"3"},{value:"4+",quarter:4,label:"4+"}],this.nameControl=new b.FormControl(null),this.roomsControl=new b.FormControl(null),this.priceMaxControl=new b.FormControl(null),this.priceMinControl=new b.FormControl(null),this.deadlineControl=new b.FormControl(null),this.priceRange="",this.currency="\u20bd",this.selected=[],this.isNeedUpdateChanged=!1}ngOnInit(){this.formInit(),this.subs=[this.ecatalogService.complexList$.subscribe(e=>{if(this.autocompleteList=this.generateAutocompleteList(e.complexList),this.autocompleteList.length){const e=Math.floor(Math.random()*(this.autocompleteList.length-1));this.autoCompleteInputPlaceholder=`\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, ${this.autocompleteList[e].name}`}this.filteredComplex=this.nameControl.valueChanges.pipe(Object(w.a)(""),Object(x.a)(e=>this.filterObject(e))),this.deadlineYears=this.filterService.generateDeadlineList(),this.complexCount=e.count}),this.filterService.filteredComplexList$.subscribe(e=>{this.complexCount=e.count}),this.filterService.regionId$.pipe(Object(d.a)(e=>{this.currency=Object(P.b)(e),this.cd.detectChanges()}),O(1)).subscribe(()=>{this.isNeedUpdateChanged=!0,this.clearFilters(),this.isNeedUpdateChanged=!1}),this.deadlineControl.valueChanges.subscribe(()=>{this.isNeedUpdateChanged||this.updateFilters()}),this.roomsControl.valueChanges.subscribe(()=>{this.isNeedUpdateChanged||this.updateFilters()}),this.priceMaxControl.valueChanges.pipe(Object(E.a)(()=>!this.isNeedUpdateChanged),Object(I.a)(600)).subscribe(()=>{this.isNeedUpdateChanged||(this.renderPriceRange(this.priceMinControl.value,this.priceMaxControl.value),this.updateFilters())}),this.priceMinControl.valueChanges.pipe(Object(E.a)(()=>!this.isNeedUpdateChanged),Object(I.a)(600)).subscribe(()=>{this.renderPriceRange(this.priceMinControl.value,this.priceMaxControl.value),this.updateFilters()})],this.isShowClearFilterButton=!0}updateFilters(){this.filterService.updateFiltersToComplexList(this.preparationDataToFilterModel()),this.cd.detectChanges()}clearFilters(){this.isNeedUpdateChanged=!0,this.roomsControl.setValue(null),this.priceMaxControl.setValue(null),this.priceMinControl.setValue(null),this.deadlineControl.setValue(null),this.selected=[],this.complexCount=0,this.isNeedUpdateChanged=!1,this.updateFilters()}renderPriceRange(e,t){const n=e?this.shortNoteMillionsPipe.transform(Number.parseInt(e.toString().split(" ").join(""),10)):null,r=t?this.shortNoteMillionsPipe.transform(Number.parseInt(t.toString().split(" ").join(""),10)):null;n&&r&&(this.priceRange=`${r} - ${n}`),n&&!r&&(this.priceRange=`\u0414\u043e ${n}`),r&&!n&&(this.priceRange=`\u041e\u0442 ${r}`),r||n||(this.priceRange="")}formInit(){this.form=new b.FormGroup({name:this.nameControl,rooms:this.roomsControl,priceMax:this.priceMaxControl,priceMin:this.priceMinControl,deadline:this.deadlineControl});const e=this.filterService.getFiltersToComplexList();e&&(e.selected&&(this.selected=null==e?void 0:e.selected),e.rooms&&this.roomsControl.setValue(e.rooms),e.price&&e.price.priceMax&&this.priceMaxControl.setValue(e.price.priceMax),e.price&&e.price.priceMin&&this.priceMinControl.setValue(e.price.priceMin),e.deadline&&this.deadlineControl.setValue(e.deadline))}filterObject(e){if(null==e||(t=e,Object.prototype.hasOwnProperty.call(t,"name")&&Object.prototype.hasOwnProperty.call(t,"type")&&Object.prototype.hasOwnProperty.call(t,"icon")))return[];var t;const n=e.toString().toLowerCase();return this.autocompleteList.filter(e=>{var t,r;return null!=e.name&&(null===(t=e.name)||void 0===t?void 0:t.toLowerCase().includes(n))||null!=e.type&&(null===(r=e.type)||void 0===r?void 0:r.toLowerCase().includes(n))})}preparationDataToFilterModel(){return{selected:this.selected,name:this.selected.map(e=>e.name),rooms:this.roomsControl.value,deadline:this.deadlineControl.value,price:{priceMax:this.priceMaxControl.value?Number.parseInt(this.priceMaxControl.value.toString().split(" ").join(""),10):null,priceMin:this.priceMinControl.value?Number.parseInt(this.priceMinControl.value.toString().split(" ").join(""),10):null}}}generateAutocompleteList(e){const t=[y.Subway,y.District,y.ComplexName,y.DeveloperName];let n=[];return e.forEach(e=>{null!=e.subway&&n.findIndex(t=>t.name===e.subway)<0&&n.push({name:e.subway,type:y.Subway,icon:"/catalog/assets/icons/metro-icon.svg"}),null!=e.district&&n.findIndex(t=>t.name===e.district)<0&&n.push({name:e.district,type:y.District,icon:"/catalog/assets/icons/place_icon.svg"}),null!=e.complexName&&n.findIndex(t=>t.name===e.complexName)<0&&n.push({name:e.complexName,type:y.ComplexName,icon:"/catalog/assets/icons/house-icon.svg"}),null!=e.developerName&&n.findIndex(t=>t.name===e.developerName)<0&&n.push({name:e.developerName,type:y.DeveloperName,icon:"/catalog/assets/icons/developer-icon.svg"})}),n=n.sort((e,n)=>t.indexOf(e.type)-t.indexOf(n.type)),n}matAutocompleteSelectHandler(){-1===this.selected.indexOf(this.nameControl.value)&&this.selected.push(this.nameControl.value),this.nameControl.disable(),this.nameControl.setValue(""),this.nameControl.enable(),this.updateFilters()}displayProperty(){return""}deleteFilterItem(e){const t=this.selected.indexOf(e);t>-1&&this.selected.splice(t,1),this.updateFilters()}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](m.a),i["\u0275\u0275directiveInject"](m.b),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef),i["\u0275\u0275directiveInject"](_.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["ng-component"]],features:[i["\u0275\u0275InheritDefinitionFeature"]],decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})();var M=n("iELJ"),R=n("LE1F"),A=n("gu9F"),T=n("vrAh"),D=n("UVXo"),F=n("Q2Ze"),L=n("ZTz/"),N=n("UhP/");function V(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",32),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",e.filterCount,"")}}function B(e,t){1&e&&(i["\u0275\u0275namespaceSVG"](),i["\u0275\u0275elementStart"](0,"svg",33),i["\u0275\u0275element"](1,"path",34),i["\u0275\u0275element"](2,"path",35),i["\u0275\u0275elementEnd"]())}function z(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",36),i["\u0275\u0275elementStart"](1,"span",37),i["\u0275\u0275elementStart"](2,"div",38),i["\u0275\u0275element"](3,"img",39),i["\u0275\u0275elementStart"](4,"div",40),i["\u0275\u0275elementStart"](5,"div",41),i["\u0275\u0275text"](6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",42),i["\u0275\u0275text"](8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=t.$implicit;i["\u0275\u0275property"]("value",e),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("src",e.icon,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",e.name," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](e.type)}}function H(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",45),i["\u0275\u0275elementStart"](1,"div",40),i["\u0275\u0275elementStart"](2,"div",46),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",42),i["\u0275\u0275text"](5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",47),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](e);const n=t.$implicit;return i["\u0275\u0275nextContext"](2).deleteFilterItem(n)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit;i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](e.name),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](e.type)}}function U(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",8),i["\u0275\u0275elementStart"](1,"div",43),i["\u0275\u0275template"](2,H,7,2,"div",44),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",e.selected)}}function $(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",36),i["\u0275\u0275elementStart"](1,"span",37),i["\u0275\u0275element"](2,"span",48),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=t.$implicit;i["\u0275\u0275property"]("value",e.value),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](e.label)}}function G(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",36),i["\u0275\u0275elementStart"](1,"span",37),i["\u0275\u0275element"](2,"span",48),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=t.$implicit;i["\u0275\u0275property"]("value",e),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](e.label)}}let W=(()=>{class e extends j{constructor(e,t,n,r){super(e,t,n,r)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](m.a),i["\u0275\u0275directiveInject"](m.b),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef),i["\u0275\u0275directiveInject"](_.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["catalog-filter-dialog"]],features:[i["\u0275\u0275ProvidersFeature"]([_.a]),i["\u0275\u0275InheritDefinitionFeature"]],decls:50,vars:27,consts:[[1,"filter__header"],[1,"filter__title"],["class","filter-count",4,"ngIf","ngIfElse"],["filterIcon",""],["mat-dialog-close","",1,"catalog-list__btn-close"],["src","./catalog/assets/icons/arrow-icon.svg"],[1,"catalog-filter__form",3,"formGroup"],[1,"catalog-filter__row"],[1,"catalog-filter__item"],[3,"control"],["labelText","\u041c\u0435\u0442\u0440\u043e, \u0440\u0430\u0439\u043e\u043d, \u0416\u041a, \u0437\u0430\u0441\u0442\u0440\u043e\u0439\u0449\u0438\u043a","inputWrapperClass","cp-input-wrapper__text","inputId","name"],["type","text","id","name","name","name","appInput","",3,"matAutocomplete","formControl","placeholder"],["autoCompleteInput",""],["autoActiveFirstOption","","disableRipple","",1,"cp-autocomplete-panel",3,"displayWith","optionSelected"],["names","matAutocomplete"],["class","cp-option",3,"value",4,"ngFor","ngForOf"],["class","catalog-filter__item",4,"ngIf"],[1,"catalog-filter__item","catalog-filter__item_row"],["labelText","\u0426\u0435\u043d\u0430 \u043e\u0442","inputWrapperClass","cp-input-wrapper__text cp-input-wrapper__text_price","inputId","priceMin",3,"currency"],["type","text","id","priceMin","name","priceMin","placeholder","1 000 000","appInput","",3,"formControl","textMask"],[1,"catalog-filter__item_last",3,"control"],["labelText","\u0426\u0435\u043d\u0430 \u0434\u043e","inputWrapperClass","cp-input-wrapper__text cp-input-wrapper__text_price","inputId","priceMax",3,"currency"],["type","text","id","priceMax","name","priceMax","placeholder","1 000 000 000","appInput","",3,"formControl","textMask"],[1,"cp-select__form-field"],[1,"cp-select__label"],["panelClass","cp-select-panel","disableOptionCentering","","disableRipple","","multiple","","name","rooms",1,"cp-select__select",3,"formControl"],["panelClass","cp-select-panel","disableOptionCentering","","disableRipple","","name","deadline",1,"cp-select__select",3,"formControl"],[1,"filter__footer"],[1,"filter__footer-item"],["mat-dialog-close","",1,"catalog-filter__btn",3,"click"],["mat-dialog-close","",1,"catalog-filter__btn","catalog-filter__btn_clean",3,"click"],[1,"catalog-filter__btn_svg"],[1,"filter-count"],["width","17","height","16","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M10.75 2a3.001 3.001 0 0 0-2.83 2H.75v2h7.17a3.001 3.001 0 1 0 2.83-4Zm1 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM5.75 8a3.001 3.001 0 0 0-2.83 2H.75v2h2.17a3.001 3.001 0 1 0 2.83-4Zm1 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z","fill","#2C3238"],["d","M9.75 10h7v2h-7v-2ZM14.75 4h2v2h-2V4Z","fill","currentColor"],[1,"cp-option",3,"value"],[1,"cp-option__value"],[1,"option-item"],[1,"option-item__icon",3,"src"],[1,"option-item__content"],[1,"option-item__name"],[1,"option-item__type"],[1,"catalog-filter__container"],["class","option-item__container",4,"ngFor","ngForOf"],[1,"option-item__container"],[1,"catalog-filter-item__name"],[1,"option-item__delete_icon",3,"click"],[1,"cp-option__checkbox"]],template:function(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"header",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275template"](2,V,2,1,"div",2),i["\u0275\u0275template"](3,B,3,0,"ng-template",null,3,i["\u0275\u0275templateRefExtractor"]),i["\u0275\u0275text"](5," \u0424\u0438\u043b\u044c\u0442\u0440\u044b "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"button",4),i["\u0275\u0275element"](7,"img",5),i["\u0275\u0275text"](8," \u0421\u0432\u0435\u0440\u043d\u0443\u0442\u044c "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"form",6),i["\u0275\u0275elementStart"](10,"div",7),i["\u0275\u0275elementStart"](11,"div",8),i["\u0275\u0275elementStart"](12,"form-control-wrapper",9),i["\u0275\u0275elementStart"](13,"app-input",10),i["\u0275\u0275element"](14,"input",11,12),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"mat-autocomplete",13,14),i["\u0275\u0275listener"]("optionSelected",function(){return t.matAutocompleteSelectHandler()}),i["\u0275\u0275template"](18,z,9,4,"mat-option",15),i["\u0275\u0275pipe"](19,"async"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](20,U,3,1,"div",16),i["\u0275\u0275elementStart"](21,"div",17),i["\u0275\u0275elementStart"](22,"form-control-wrapper",9),i["\u0275\u0275elementStart"](23,"app-input",18),i["\u0275\u0275element"](24,"input",19),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"form-control-wrapper",20),i["\u0275\u0275elementStart"](26,"app-input",21),i["\u0275\u0275element"](27,"input",22),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"div",8),i["\u0275\u0275elementStart"](29,"form-control-wrapper",9),i["\u0275\u0275elementStart"](30,"mat-form-field",23),i["\u0275\u0275elementStart"](31,"div",24),i["\u0275\u0275text"](32,"\u041a\u043e\u043b-\u0432\u043e \u043a\u043e\u043c\u043d\u0430\u0442"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](33,"mat-select",25),i["\u0275\u0275template"](34,$,4,2,"mat-option",15),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](35,"div",8),i["\u0275\u0275elementStart"](36,"form-control-wrapper",9),i["\u0275\u0275elementStart"](37,"mat-form-field",23),i["\u0275\u0275elementStart"](38,"div",24),i["\u0275\u0275text"](39,"\u0421\u0440\u043e\u043a \u0441\u0434\u0430\u0447\u0438"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](40,"mat-select",26),i["\u0275\u0275template"](41,G,4,2,"mat-option",15),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](42,"footer",27),i["\u0275\u0275elementStart"](43,"div",28),i["\u0275\u0275elementStart"](44,"button",29),i["\u0275\u0275listener"]("click",function(){return t.updateFilters()}),i["\u0275\u0275text"](45),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](46,"div",28),i["\u0275\u0275elementStart"](47,"button",30),i["\u0275\u0275listener"]("click",function(){return t.clearFilters()}),i["\u0275\u0275element"](48,"div",31),i["\u0275\u0275text"](49," \u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0444\u0438\u043b\u044c\u0442\u0440\u044b "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275reference"](4),n=i["\u0275\u0275reference"](17);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",t.filterCount>0)("ngIfElse",e),i["\u0275\u0275advance"](7),i["\u0275\u0275property"]("formGroup",t.form),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("control",t.form.controls.name),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("placeholder",t.autoCompleteInputPlaceholder),i["\u0275\u0275property"]("matAutocomplete",n)("formControl",t.nameControl),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("displayWith",t.displayProperty),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",i["\u0275\u0275pipeBind1"](19,25,t.filteredComplex)),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",t.selected.length>0),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("control",t.form.controls.priceMin),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("currency",t.currency),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("formControl",t.priceMinControl)("textMask",t.priceMask),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("control",t.form.controls.priceMax),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("currency",t.currency),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("formControl",t.priceMaxControl)("textMask",t.priceMask),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("control",t.form.controls.rooms),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("formControl",t.roomsControl),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",t.rooms),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("control",t.form.controls.deadline),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("formControl",t.deadlineControl),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",t.deadlineYears),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"]("\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c ",t.complexCount," \u0416\u041a ")}},directives:[l.m,M.c,b["\u0275angular_packages_forms_forms_ba"],b.NgControlStatusGroup,b.FormGroupDirective,R.a,A.a,T.c,b.DefaultValueAccessor,b.NgControlStatus,b.FormControlDirective,T.a,l.l,D.MaskedInputDirective,F.b,L.a,N.e],pipes:[l.b],styles:['@keyframes spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}[_nghost-%COMP%]{height:100%;display:flex;flex-direction:column;background-color:RGB(var(--violet-1))}.cp-insert[_nghost-%COMP%], .cp-insert   [_nghost-%COMP%]{margin-top:0}.filter__header[_ngcontent-%COMP%]{padding-left:8px;padding-right:8px;height:44px;border-bottom:1px solid rgb(var(--violet-20));background-color:RGB(var(--white-color))}.filter__header[_ngcontent-%COMP%], .filter__title[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.filter__title[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{padding-right:4px}.filter-count[_ngcontent-%COMP%]{--size:16px;width:var(--size);height:var(--size);display:flex;background:RGB(var(--red-500));color:RGB(var(--white-color));box-sizing:border-box;border-radius:16px;margin-right:4px;font-weight:700;font-size:12px;box-shadow:0 1px 10px 0 RGB(var(--red-500),.16)}.catalog-list__btn-close[_ngcontent-%COMP%], .filter-count[_ngcontent-%COMP%]{align-items:center;justify-content:center;flex-shrink:0}.catalog-list__btn-close[_ngcontent-%COMP%]{display:inline-block;position:relative;border:0;font-size:14px;font-weight:500;line-height:20px;text-decoration:none;cursor:pointer;border-radius:6px;margin-left:auto;height:28px;padding:8px 10px;display:inline-flex;opacity:1;border:1px solid rgb(var(--violet-10),.5);background-color:RGB(var(--white-color));color:RGB(var(--color-contrast-750,56,55,54))}.catalog-list__btn-close[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;display:block;width:100%;height:100%;background-color:RGB(var(--color-contrast-750,56,55,54),.05);opacity:0;transition:opacity .3s}.catalog-list__btn-close[_ngcontent-%COMP%]:hover:before{opacity:1}.catalog-list__btn-close[_ngcontent-%COMP%]:disabled{background-color:RGB(var(--violet-5));color:RGB(var(--violet-40));pointer-events:none;box-shadow:inset 0 0 0 1px RGB(var(--black-10));cursor:default}.catalog-list__btn-close[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{position:relative}.catalog-list__btn-close[_ngcontent-%COMP%]:disabled{border:1px solid rgb(var(--color-contrast-400,152,150,145));background-color:initial}.catalog-list__btn-close[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{padding-right:0;padding-left:10px;transform:rotate(180deg)}.catalog-filter__form[_ngcontent-%COMP%]{padding:8px}@media screen and (max-width:767px){.catalog-filter__form[_ngcontent-%COMP%]{padding:16px 32px}}@media screen and (max-width:640px){.catalog-filter__form[_ngcontent-%COMP%]{padding:16px 8px 8px}}.catalog-filter__row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:24px}.catalog-filter__item[_ngcontent-%COMP%]{--border-radius:8px;width:100%}.catalog-filter__item[_ngcontent-%COMP%], .catalog-filter__item[_ngcontent-%COMP%]   .cp-range-form-field[_ngcontent-%COMP%], .catalog-filter__item[_ngcontent-%COMP%]   .mat-select[_ngcontent-%COMP%]{border-radius:var(--border-radius)}.catalog-filter__item_row[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:4px}.catalog-filter__item_row[_ngcontent-%COMP%]:before{order:1;content:"";display:block;width:8px;height:1px;background-color:RGB(var(--violet-20));opacity:1}.catalog-filter__item_row[_ngcontent-%COMP%]   form-control-wrapper[_ngcontent-%COMP%]{width:100%}.catalog-filter__item_last[_ngcontent-%COMP%]{order:2}.catalog-filter__item_last[_ngcontent-%COMP%]   .mat-select[_ngcontent-%COMP%]{border-radius:8px;position:relative;left:-1px}@media screen and (max-width:767px){.catalog-filter__item_last[_ngcontent-%COMP%]   .mat-select[_ngcontent-%COMP%]{border-radius:var(--border-radius)}}.catalog-filter__footer[_ngcontent-%COMP%]{display:flex;align-items:flex-start;padding-top:8px}.catalog-filter__container[_ngcontent-%COMP%]{width:100%;display:flex;flex-wrap:wrap;gap:16px 8px;margin-top:-16px}.option-item[_ngcontent-%COMP%]{display:flex}.option-item__container[_ngcontent-%COMP%]{display:flex;padding:6px 8px;border-radius:4px;background-color:RGB(var(--violet-10),.5);font-size:12px;line-height:145%}.option-item__container[_ngcontent-%COMP%]:hover{background-color:RGB(var(--violet-20))}.option-item__icon[_ngcontent-%COMP%]{width:20px;height:20px;display:block;object-fit:contain;object-position:center;flex-grow:0;margin-right:8px}.option-item__content[_ngcontent-%COMP%]{color:RGB(var(--tertiary-bg-color))}.catalog-filter-item__name[_ngcontent-%COMP%], .option-item__name[_ngcontent-%COMP%]{color:RGB(var(--grey-smoky-blue))}.option-item__type[_ngcontent-%COMP%]{color:RGB(var(--shadow-blue-color))}.option-item__delete_icon[_ngcontent-%COMP%]{width:14px;height:14px;margin-left:15px;display:block;object-fit:contain;object-position:center;align-self:center;flex-grow:0;cursor:pointer;background-color:RGB(var(--violet-40));-webkit-mask-image:url(/catalog/assets/icons/cross-icon.svg);mask-image:url(/catalog/assets/icons/cross-icon.svg)}.option-item__delete_icon[_ngcontent-%COMP%]:hover{background-color:RGB(var(--violet-100))}.catalog-filter__container_btn_clear[_ngcontent-%COMP%]{margin-left:auto;height:47px}.catalog-filter__btn-clear[_ngcontent-%COMP%], .catalog-filter__container_btn_clear[_ngcontent-%COMP%]{display:inline-flex;align-items:center;text-align:center;justify-content:center}.catalog-filter__btn-clear[_ngcontent-%COMP%]{font-size:14px;line-height:145%;height:20px;background-color:initial;color:RGB(var(--color-contrast-750,56,55,54));padding-right:0;border:0;cursor:pointer}.catalog-filter__btn-clear[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{padding-left:4px}.filter__footer[_ngcontent-%COMP%]{position:fixed;z-index:100;bottom:0;left:0;margin-top:auto;flex-shrink:0;flex-direction:column}.filter__footer[_ngcontent-%COMP%], .filter__footer-item[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:center}.filter__footer-item[_ngcontent-%COMP%]{align-items:center;padding:8px;box-sizing:border-box}.catalog-filter__btn[_ngcontent-%COMP%]{display:inline-block;position:relative;padding:12px 24px;border:0;font-size:14px;font-weight:500;line-height:20px;text-decoration:none;cursor:pointer;border-radius:6px;background-color:RGB(var(--brand-color));color:RGB(var(--white-color));height:100%;width:100%;opacity:1;margin-left:auto;display:inline-flex;align-items:center;text-align:center;justify-content:center}.catalog-filter__btn[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;display:block;width:100%;height:100%;background-color:RGB(var(--color-contrast-750,56,55,54),.05);opacity:0;transition:opacity .3s}.catalog-filter__btn[_ngcontent-%COMP%]:hover:before{opacity:1}.catalog-filter__btn[_ngcontent-%COMP%]:disabled{background-color:RGB(var(--violet-5));color:RGB(var(--violet-40));pointer-events:none;box-shadow:inset 0 0 0 1px RGB(var(--black-10));cursor:default}.catalog-filter__btn[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{position:relative}.catalog-filter__btn_clean[_ngcontent-%COMP%]{background-color:RGB(var(--violet-10));color:RGB(var(--color-contrast-750,56,55,54))}.catalog-filter__btn_svg[_ngcontent-%COMP%]{height:16px;width:16px;margin-right:8px;background-color:RGB(var(--color-contrast-750,56,55,54));-webkit-mask-image:url(/catalog/assets/icons/cross-blue-icon.svg);mask-image:url(/catalog/assets/icons/cross-blue-icon.svg)}'],changeDetection:0}),e})();const Y={hasBackdrop:!0,width:"100vw",maxWidth:"100vw",height:"100vh",maxHeight:"100vh",panelClass:["cp-dialog-pane","cp-dialog-pane__popup","cp-filter-dialog__dialog"],backdropClass:"cp-dialog-backdrop"};function q(e,t){1&e&&(i["\u0275\u0275elementContainerStart"](0),i["\u0275\u0275namespaceSVG"](),i["\u0275\u0275elementStart"](1,"svg",7),i["\u0275\u0275element"](2,"path",8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](3," \u0421\u043f\u0438\u0441\u043a\u043e\u043c "),i["\u0275\u0275elementContainerEnd"]())}function Z(e,t){1&e&&(i["\u0275\u0275namespaceSVG"](),i["\u0275\u0275elementStart"](0,"svg",9),i["\u0275\u0275element"](1,"path",10),i["\u0275\u0275element"](2,"path",11),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](3," \u041d\u0430 \u043a\u0430\u0440\u0442\u0435 "))}function Q(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",e.filterCount,"")}}function X(e,t){1&e&&(i["\u0275\u0275namespaceSVG"](),i["\u0275\u0275elementStart"](0,"svg",13),i["\u0275\u0275element"](1,"path",14),i["\u0275\u0275element"](2,"path",15),i["\u0275\u0275elementEnd"]())}const K=function(e){return{"switch-button_active":e}};let J=(()=>{class e extends c.a{constructor(e,t,n,r){super(),this.dialog=e,this.cd=t,this.filterService=n,this.switchMapServiceService=r,this.showMap=!1,this.filterCount=0,this.subs=[this.switchMapServiceService.isShowMap$.subscribe(e=>{this.showMap=e}),this.filterService.filteredComplexList$.subscribe(e=>{this.filterCount=this.filterService.getCountFiltersToComplexList(),this.cd.detectChanges()})]}openFilterDialog(){this.dialog.open(W,Y)}switchShow(e){this.switchMapServiceService.setShowMap(e),this.cd.detectChanges()}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](M.b),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef),i["\u0275\u0275directiveInject"](m.b),i["\u0275\u0275directiveInject"](m.i))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["view-switcher-mobile"]],features:[i["\u0275\u0275InheritDefinitionFeature"]],decls:10,vars:7,consts:[[1,"switch-button",3,"ngClass","click"],[4,"ngIf","ngIfElse"],["map",""],[1,"filter-button",3,"click"],[1,"filter__title"],["class","filter-count",4,"ngIf","ngIfElse"],["filterIcon",""],["width","16","height","16","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M1 0a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1H1Zm5 2a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1Zm1 5a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2H7Zm-1 7a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1ZM0 7a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V7Zm1 5a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H1Z","fill","currentColor"],["width","20","height","20","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M13 9a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm-1.5 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z","fill","currentColor"],["fill-rule","evenodd","clip-rule","evenodd","d","M17 9c0 4.5-7 9-7 9s-7-4.5-7-9a7 7 0 0 1 14 0Zm-1.5 0c0 .742-.293 1.59-.867 2.512-.569.913-1.35 1.802-2.174 2.596A24.442 24.442 0 0 1 10 16.17a24.446 24.446 0 0 1-2.459-2.063c-.823-.793-1.605-1.682-2.174-2.595C4.793 10.59 4.5 9.742 4.5 9a5.5 5.5 0 1 1 11 0Z","fill","currentColor"],[1,"filter-count"],["width","17","height","16","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M10.75 2a3.001 3.001 0 0 0-2.83 2H.75v2h7.17a3.001 3.001 0 1 0 2.83-4Zm1 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM5.75 8a3.001 3.001 0 0 0-2.83 2H.75v2h2.17a3.001 3.001 0 1 0 2.83-4Zm1 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z","fill","#2C3238"],["d","M9.75 10h7v2h-7v-2ZM14.75 4h2v2h-2V4Z","fill","currentColor"]],template:function(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"button",0),i["\u0275\u0275listener"]("click",function(){return t.switchShow(!t.showMap)}),i["\u0275\u0275template"](1,q,4,0,"ng-container",1),i["\u0275\u0275template"](2,Z,4,0,"ng-template",null,2,i["\u0275\u0275templateRefExtractor"]),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"button",3),i["\u0275\u0275listener"]("click",function(){return t.openFilterDialog()}),i["\u0275\u0275elementStart"](5,"div",4),i["\u0275\u0275template"](6,Q,2,1,"div",5),i["\u0275\u0275template"](7,X,3,0,"ng-template",null,6,i["\u0275\u0275templateRefExtractor"]),i["\u0275\u0275text"](9," \u0424\u0438\u043b\u044c\u0442\u0440\u044b "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275reference"](3),n=i["\u0275\u0275reference"](8);i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](5,K,!t.showMap)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showMap)("ngIfElse",e),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",t.filterCount>0)("ngIfElse",n)}},directives:[l.k,l.m],styles:['@keyframes spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}[_nghost-%COMP%]{width:100%;display:flex;justify-content:center;align-items:center;background-color:RGB(var(--white-color));position:fixed;bottom:0;flex-direction:row;border-top:1px solid rgb(var(--violet-20));box-shadow:0 1px 10px RGB(var(--smoky-black-color),.1)}.switch-button[_ngcontent-%COMP%]{display:inline-block;position:relative;padding:12px 24px;border:0;font-size:14px;font-weight:500;line-height:20px;text-decoration:none;cursor:pointer;border-radius:6px;background-color:RGB(var(--brand-color));color:RGB(var(--white-color));width:100%;background-color:initial;color:RGB(var(--smoky-black-color));display:inline-flex;justify-content:center}.switch-button[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;display:block;width:100%;height:100%;background-color:RGB(var(--color-contrast-750,56,55,54),.05);opacity:0;transition:opacity .3s}.switch-button[_ngcontent-%COMP%]:hover:before{opacity:1}.switch-button[_ngcontent-%COMP%]:disabled{background-color:RGB(var(--violet-5));color:RGB(var(--violet-40));pointer-events:none;box-shadow:inset 0 0 0 1px RGB(var(--black-10));cursor:default}.switch-button[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{position:relative}.switch-button[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{padding-right:10px}.filter__title[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.filter__title[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{padding-right:4px}.filter-button[_ngcontent-%COMP%]{display:inline-block;position:relative;padding:12px 24px;border:0;font-size:14px;font-weight:500;line-height:20px;text-decoration:none;cursor:pointer;border-radius:6px;background-color:RGB(var(--brand-color));color:RGB(var(--white-color));width:100%;background-color:initial;color:RGB(var(--smoky-black-color));display:inline-flex;justify-content:center;align-items:center}.filter-button[_ngcontent-%COMP%]:before{position:absolute;top:0;left:0;width:100%;height:100%;background-color:RGB(var(--color-contrast-750,56,55,54),.05);opacity:0;transition:opacity .3s}.filter-button[_ngcontent-%COMP%]:hover:before{opacity:1}.filter-button[_ngcontent-%COMP%]:disabled{background-color:RGB(var(--violet-5));color:RGB(var(--violet-40));pointer-events:none;box-shadow:inset 0 0 0 1px RGB(var(--black-10));cursor:default}.filter-button[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{position:relative}.filter-button[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{padding-right:10px}.filter-button[_ngcontent-%COMP%]:before{content:"";display:block;width:1px;height:32px;background-color:RGB(var(--violet-20));opacity:1;top:6px;left:-1}.filter-count[_ngcontent-%COMP%]{--size:16px;width:var(--size);height:var(--size);display:flex;align-items:center;justify-content:center;flex-shrink:0;background:RGB(var(--red-500));color:RGB(var(--white-color));box-sizing:border-box;border-radius:16px;margin-right:4px;font-weight:700;font-size:12px;box-shadow:0 1px 10px 0 RGB(var(--red-500),.16)}'],changeDetection:0}),e})();function ee(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"h1",2),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](e.title)}}const te=function(e){return{"catalog-header_minimize":e}},ne=["*"];let re=(()=>{class e extends c.a{constructor(e,t,n){super(),this.siteProService=e,this.switchMapServiceService=t,this.cd=n,this.isShowMapMode=!1,this.title="",this.isMultiRegion=!1}ngOnInit(){this.subs=[this.siteProService.data$.subscribe(e=>{this.isMultiRegion=e.regionGroupList.length>1,this.title=e.title,this.cd.detectChanges()}),this.switchMapServiceService.isShowMap$.subscribe(e=>{this.isShowMapMode=e,this.cd.detectChanges()})]}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](m.h),i["\u0275\u0275directiveInject"](m.i),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["catalog-header"]],features:[i["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:ne,decls:3,vars:4,consts:[[1,"catalog-header",3,"ngClass"],["class","catalog-header__title",4,"ngIf"],[1,"catalog-header__title"]],template:function(e,t){1&e&&(i["\u0275\u0275projectionDef"](),i["\u0275\u0275elementStart"](0,"section",0),i["\u0275\u0275template"](1,ee,2,1,"h1",1),i["\u0275\u0275projection"](2),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](2,te,t.isShowMapMode)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.isShowMapMode))},directives:[l.k,l.m],styles:["[_nghost-%COMP%]{--padding-top:0px;--padding-bottom:32px;display:block;background-color:RGB(var(--head-color));border-bottom:1px solid rgb(var(--violet-20))}.catalog-header[_ngcontent-%COMP%]{--padding:40px;box-sizing:border-box;width:100%;max-width:1280px;margin-left:auto;margin-right:auto;padding:var(--padding-top) var(--padding) var(--padding-bottom)}@media screen and (max-width:1023px){.catalog-header[_ngcontent-%COMP%]{--padding:28px}}@media screen and (max-width:767px){.catalog-header[_ngcontent-%COMP%]{--padding:20px}}@media screen and (max-width:640px){.catalog-header[_ngcontent-%COMP%]{--padding:8px}}@media screen and (max-width:1023px){.catalog-header[_ngcontent-%COMP%]{--padding-top:0px;--padding-bottom:0px}}@media screen and (max-width:640px){.catalog-header[_ngcontent-%COMP%]{--padding-top:0px;--padding-bottom:0px}}.catalog-header__title[_ngcontent-%COMP%]{padding-top:32px;padding-bottom:32px;margin:0;font-size:32px;font-weight:700;line-height:125%;text-align:center}@media screen and (max-width:1023px){.catalog-header__title[_ngcontent-%COMP%]{font-size:24px;font-weight:700;line-height:125%;text-align:center}}@media screen and (max-width:419px){.catalog-header__title[_ngcontent-%COMP%]{font-size:24px;font-weight:700;line-height:125%}}.catalog-header_minimize[_ngcontent-%COMP%]{--padding-top:0;--padding-bottom:16px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom)}@media screen and (max-width:1023px){.catalog-header_minimize[_ngcontent-%COMP%]{--padding-top:0;--padding-bottom:0}}"],changeDetection:0}),e})();function ie(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",29),i["\u0275\u0275elementStart"](1,"span",30),i["\u0275\u0275elementStart"](2,"div",31),i["\u0275\u0275element"](3,"img",32),i["\u0275\u0275elementStart"](4,"div",33),i["\u0275\u0275elementStart"](5,"div",34),i["\u0275\u0275text"](6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",35),i["\u0275\u0275text"](8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=t.$implicit;i["\u0275\u0275property"]("value",e),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("src",e.icon,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",e.name," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](e.type)}}function oe(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",29),i["\u0275\u0275elementStart"](1,"span",30),i["\u0275\u0275element"](2,"span",36),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=t.$implicit;i["\u0275\u0275property"]("value",e.value),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](e.label)}}function se(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",29),i["\u0275\u0275elementStart"](1,"span",30),i["\u0275\u0275element"](2,"span",36),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=t.$implicit;i["\u0275\u0275property"]("value",e),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](e.label)}}function ae(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",39),i["\u0275\u0275elementStart"](1,"div",33),i["\u0275\u0275elementStart"](2,"div",40),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",35),i["\u0275\u0275text"](5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",41),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](e);const n=t.$implicit;return i["\u0275\u0275nextContext"](2).deleteFilterItem(n)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit;i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](e.name),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](e.type)}}function le(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",37),i["\u0275\u0275template"](1,ae,7,2,"div",38),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",e.selected)}}function ce(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",42),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().clearFilters()}),i["\u0275\u0275text"](1," \u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0444\u0438\u043b\u044c\u0442\u0440\u044b "),i["\u0275\u0275element"](2,"img",43),i["\u0275\u0275elementEnd"]()}}let ue=(()=>{class e extends j{constructor(e,t,n,r){super(e,t,n,r)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](m.a),i["\u0275\u0275directiveInject"](m.b),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef),i["\u0275\u0275directiveInject"](_.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["catalog-filter"]],features:[i["\u0275\u0275ProvidersFeature"]([_.a]),i["\u0275\u0275InheritDefinitionFeature"]],decls:39,vars:25,consts:[[1,"catalog-filter__form",3,"formGroup"],[1,"catalog-filter__row"],[1,"catalog-filter__item","catalog-filter__item_large"],[3,"control"],["labelText","\u041c\u0435\u0442\u0440\u043e, \u0440\u0430\u0439\u043e\u043d, \u0416\u041a, \u0437\u0430\u0441\u0442\u0440\u043e\u0439\u0449\u0438\u043a","inputWrapperClass","cp-input-wrapper__text","inputId","name"],["type","text","id","name","name","name","appInput","",3,"matAutocomplete","formControl","placeholder"],["autoCompleteInput",""],["autoActiveFirstOption","","disableRipple","",1,"cp-autocomplete-panel",3,"displayWith","optionSelected"],["names","matAutocomplete"],["class","cp-option",3,"value",4,"ngFor","ngForOf"],[1,"catalog-filter__item","catalog-filter__item_row","catalog-filter__item_medium"],[1,"catalog-filter__item_first",3,"control"],["labelText","\u0426\u0435\u043d\u0430 \u043e\u0442","inputWrapperClass","cp-input-wrapper__text cp-input-wrapper__text_price","inputId","priceMin",3,"currency"],["type","text","id","priceMin","name","priceMin","placeholder","1 000 000","appInput","",3,"formControl","textMask"],[1,"catalog-filter__item_last",3,"control"],["labelText","\u0426\u0435\u043d\u0430 \u0434\u043e","inputWrapperClass","cp-input-wrapper__text cp-input-wrapper__text_price catalog-filter__item_last","inputId","priceMax",3,"currency"],["type","text","id","priceMax","name","priceMax","placeholder","1 000 000 000","appInput","",3,"formControl","textMask"],[1,"catalog-filter__item"],[1,"cp-select__form-field"],[1,"cp-select__label"],["panelClass","cp-select-panel","disableOptionCentering","","disableRipple","","multiple","","name","rooms",1,"cp-select__select",3,"formControl"],[1,"catalog-filter__item","catalog-filter__item_last"],["panelClass","cp-select-panel","disableOptionCentering","","disableRipple","","name","deadline",1,"cp-select__select",3,"formControl"],[1,"catalog-filter__item","catalog-filter__item_search"],[1,"catalog-filter__btn-submit",3,"click"],[1,"catalog-filter__footer"],["class","catalog-filter__container",4,"ngIf"],[1,"catalog-filter__container_btn_clear"],["class","catalog-filter__btn-clear",3,"click",4,"ngIf"],[1,"cp-option",3,"value"],[1,"cp-option__value"],[1,"option-item"],[1,"option-item__icon",3,"src"],[1,"option-item__content"],[1,"option-item__name"],[1,"option-item__type"],[1,"cp-option__checkbox"],[1,"catalog-filter__container"],["class","option-item__container",4,"ngFor","ngForOf"],[1,"option-item__container"],[1,"catalog-filter-item__name"],[1,"option-item__delete_icon",3,"click"],[1,"catalog-filter__btn-clear",3,"click"],["src","/catalog/assets/icons/cross-blue-icon.svg"]],template:function(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"form",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275elementStart"](2,"div",2),i["\u0275\u0275elementStart"](3,"form-control-wrapper",3),i["\u0275\u0275elementStart"](4,"app-input",4),i["\u0275\u0275element"](5,"input",5,6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"mat-autocomplete",7,8),i["\u0275\u0275listener"]("optionSelected",function(){return t.matAutocompleteSelectHandler()}),i["\u0275\u0275template"](9,ie,9,4,"mat-option",9),i["\u0275\u0275pipe"](10,"async"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"div",10),i["\u0275\u0275elementStart"](12,"form-control-wrapper",11),i["\u0275\u0275elementStart"](13,"app-input",12),i["\u0275\u0275element"](14,"input",13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"form-control-wrapper",14),i["\u0275\u0275elementStart"](16,"app-input",15),i["\u0275\u0275element"](17,"input",16),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"div",17),i["\u0275\u0275elementStart"](19,"form-control-wrapper",3),i["\u0275\u0275elementStart"](20,"mat-form-field",18),i["\u0275\u0275elementStart"](21,"div",19),i["\u0275\u0275text"](22,"\u041a\u043e\u043b-\u0432\u043e \u043a\u043e\u043c\u043d\u0430\u0442"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"mat-select",20),i["\u0275\u0275template"](24,oe,4,2,"mat-option",9),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"div",21),i["\u0275\u0275elementStart"](26,"form-control-wrapper",3),i["\u0275\u0275elementStart"](27,"mat-form-field",18),i["\u0275\u0275elementStart"](28,"div",19),i["\u0275\u0275text"](29,"\u0421\u0440\u043e\u043a \u0441\u0434\u0430\u0447\u0438"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"mat-select",22),i["\u0275\u0275template"](31,se,4,2,"mat-option",9),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](32,"div",23),i["\u0275\u0275elementStart"](33,"button",24),i["\u0275\u0275listener"]("click",function(){return t.updateFilters()}),i["\u0275\u0275text"](34,"\u041d\u0430\u0439\u0442\u0438"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](35,"footer",25),i["\u0275\u0275template"](36,le,2,1,"div",26),i["\u0275\u0275elementStart"](37,"div",27),i["\u0275\u0275template"](38,ce,3,0,"button",28),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275reference"](8);i["\u0275\u0275property"]("formGroup",t.form),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("control",t.form.controls.name),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("placeholder",t.autoCompleteInputPlaceholder),i["\u0275\u0275property"]("matAutocomplete",e)("formControl",t.nameControl),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("displayWith",t.displayProperty),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",i["\u0275\u0275pipeBind1"](10,23,t.filteredComplex)),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("control",t.form.controls.priceMin),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("currency",t.currency),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("formControl",t.priceMinControl)("textMask",t.priceMask),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("control",t.form.controls.priceMax),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("currency",t.currency),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("formControl",t.priceMaxControl)("textMask",t.priceMask),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("control",t.form.controls.rooms),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("formControl",t.roomsControl),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",t.rooms),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("control",t.form.controls.deadline),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("formControl",t.deadlineControl),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",t.deadlineYears),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",t.selected.length>0),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",t.isShowClearFilterButton)}},directives:[b["\u0275angular_packages_forms_forms_ba"],b.NgControlStatusGroup,b.FormGroupDirective,R.a,A.a,T.c,b.DefaultValueAccessor,b.NgControlStatus,b.FormControlDirective,T.a,l.l,D.MaskedInputDirective,F.b,L.a,l.m,N.e],pipes:[l.b],styles:['@keyframes spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}[_nghost-%COMP%]{display:block;margin-top:12px}.cp-insert[_nghost-%COMP%], .cp-insert   [_nghost-%COMP%]{margin-top:0}.catalog-filter__row[_ngcontent-%COMP%]{display:flex}@media screen and (max-width:767px){.catalog-filter__row[_ngcontent-%COMP%]{flex-wrap:wrap;gap:24px}}@media screen and (max-width:640px){.catalog-filter__row[_ngcontent-%COMP%]{flex-wrap:wrap;gap:24px}}.catalog-filter__item[_ngcontent-%COMP%]{--border-right:8px;--border-radius:0;width:20%;min-height:44px}@media screen and (max-width:767px){.catalog-filter__item[_ngcontent-%COMP%]{--border-radius:8px;min-width:48%}.catalog-filter__item[_ngcontent-%COMP%]   .cp-range-form-field[_ngcontent-%COMP%], .catalog-filter__item[_ngcontent-%COMP%]   .mat-select[_ngcontent-%COMP%]{border-radius:var(--border-radius)}}@media screen and (max-width:640px){.catalog-filter__item[_ngcontent-%COMP%]{--border-radius:8px;width:100%}}.catalog-filter__item[_ngcontent-%COMP%]:first-child{--border-radius:8px 0px 0px 8px;position:relative;left:0}.catalog-filter__item[_ngcontent-%COMP%]:not(first-child){position:relative;left:-1px}.catalog-filter__item[_ngcontent-%COMP%]:last-child   .mat-select[_ngcontent-%COMP%]{position:relative}.catalog-filter__item_row[_ngcontent-%COMP%]{display:flex}.catalog-filter__item_last[_ngcontent-%COMP%]   .mat-select[_ngcontent-%COMP%]{border-radius:0 8px 8px 0;position:relative;left:-1px}@media screen and (max-width:767px){.catalog-filter__item_last[_ngcontent-%COMP%]   .mat-select[_ngcontent-%COMP%]{border-radius:var(--border-radius)}}.catalog-filter__item_search[_ngcontent-%COMP%]{padding-left:8px}.catalog-filter__btn-submit[_ngcontent-%COMP%]{display:inline-block;position:relative;padding:12px 24px;border:0;font-size:14px;font-weight:500;line-height:20px;text-decoration:none;cursor:pointer;border-radius:6px;background-color:RGB(var(--brand-color));color:RGB(var(--white-color));height:100%;width:160px;opacity:1;border-radius:8px;margin-left:auto;display:inline-flex;align-items:center;text-align:center;justify-content:center}.catalog-filter__btn-submit[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;display:block;width:100%;height:100%;background-color:RGB(var(--color-contrast-750,56,55,54),.05);opacity:0;transition:opacity .3s}.catalog-filter__btn-submit[_ngcontent-%COMP%]:hover:before{opacity:1}.catalog-filter__btn-submit[_ngcontent-%COMP%]:disabled{background-color:RGB(var(--violet-5));color:RGB(var(--violet-40));pointer-events:none;box-shadow:inset 0 0 0 1px RGB(var(--black-10));cursor:default}.catalog-filter__btn-submit[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{position:relative}@media screen and (max-width:767px){.catalog-filter__btn-submit[_ngcontent-%COMP%]{width:100%}}.catalog-filter__item_medium[_ngcontent-%COMP%]{width:60%}@media screen and (max-width:767px){.catalog-filter__item_medium[_ngcontent-%COMP%]{width:100%}}.catalog-filter__item_large[_ngcontent-%COMP%]{width:80%}@media screen and (max-width:767px){.catalog-filter__item_large[_ngcontent-%COMP%]{width:100%}}.catalog-filter__item_first[_ngcontent-%COMP%]     input{border-radius:0;border-right:initial}.catalog-filter__item_last[_ngcontent-%COMP%]     input{border-radius:0;border-left:initial}.catalog-filter__footer[_ngcontent-%COMP%]{display:flex;align-items:flex-start;padding-top:8px}@media screen and (max-width:767px){.catalog-filter__footer[_ngcontent-%COMP%]{flex-wrap:wrap}}.catalog-filter__container[_ngcontent-%COMP%]{width:52%;display:flex;flex-wrap:wrap;gap:16px 8px}@media screen and (max-width:767px){.catalog-filter__container[_ngcontent-%COMP%]{width:100%}}.option-item[_ngcontent-%COMP%]{display:flex}.option-item__container[_ngcontent-%COMP%]{display:flex;padding:6px 8px;border-radius:4px;background-color:RGB(var(--violet-10),.5);font-size:12px;line-height:145%}.option-item__container[_ngcontent-%COMP%]:hover{background-color:RGB(var(--violet-20))}.option-item__icon[_ngcontent-%COMP%]{width:20px;height:20px;display:block;object-fit:contain;object-position:center;flex-grow:0;margin-right:8px}.option-item__content[_ngcontent-%COMP%]{color:RGB(var(--tertiary-bg-color))}.catalog-filter-item__name[_ngcontent-%COMP%], .option-item__name[_ngcontent-%COMP%]{color:RGB(var(--grey-smoky-blue))}.option-item__type[_ngcontent-%COMP%]{color:RGB(var(--shadow-blue-color))}.option-item__delete_icon[_ngcontent-%COMP%]{width:14px;height:14px;margin-left:15px;display:block;object-fit:contain;object-position:center;align-self:center;flex-grow:0;cursor:pointer;background-color:RGB(var(--violet-40));-webkit-mask-image:url(/catalog/assets/icons/cross-icon.svg);mask-image:url(/catalog/assets/icons/cross-icon.svg)}.option-item__delete_icon[_ngcontent-%COMP%]:hover{background-color:RGB(var(--violet-100))}.catalog-filter__container_btn_clear[_ngcontent-%COMP%]{margin-left:auto;height:47px}.catalog-filter__btn-clear[_ngcontent-%COMP%], .catalog-filter__container_btn_clear[_ngcontent-%COMP%]{display:inline-flex;align-items:center;text-align:center;justify-content:center}.catalog-filter__btn-clear[_ngcontent-%COMP%]{font-size:14px;line-height:145%;height:20px;background-color:initial;color:RGB(var(--color-contrast-750,56,55,54));padding-right:0;border:0;cursor:pointer}.catalog-filter__btn-clear[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{padding-left:4px}'],changeDetection:0}),e})();var de=n("gsLV");const he=function(e){return{"show-map-button_active":e}};let pe=(()=>{class e extends c.a{constructor(e,t){super(),this.cd=e,this.switchMapServiceService=t,this.showMap=!1}ngOnInit(){this.subs=[this.switchMapServiceService.isShowMap$.subscribe(e=>{this.showMap=e})]}switchShow(e){this.switchMapServiceService.setShowMap(e),this.cd.detectChanges()}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ChangeDetectorRef),i["\u0275\u0275directiveInject"](m.i))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["switch-map-list"]],features:[i["\u0275\u0275InheritDefinitionFeature"]],decls:10,vars:6,consts:[[1,"show-map-button__container"],[1,"show-map-button",3,"ngClass","click"],["width","16","height","16","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M1 0a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1H1Zm5 2a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1Zm1 5a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2H7Zm-1 7a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1ZM0 7a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V7Zm1 5a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H1Z","fill","currentColor"],["width","20","height","20","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M13 9a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm-1.5 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z","fill","currentColor"],["fill-rule","evenodd","clip-rule","evenodd","d","M17 9c0 4.5-7 9-7 9s-7-4.5-7-9a7 7 0 0 1 14 0Zm-1.5 0c0 .742-.293 1.59-.867 2.512-.569.913-1.35 1.802-2.174 2.596A24.442 24.442 0 0 1 10 16.17a24.446 24.446 0 0 1-2.459-2.063c-.823-.793-1.605-1.682-2.174-2.595C4.793 10.59 4.5 9.742 4.5 9a5.5 5.5 0 1 1 11 0Z","fill","currentColor"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"button",1),i["\u0275\u0275listener"]("click",function(){return t.switchShow(!1)}),i["\u0275\u0275namespaceSVG"](),i["\u0275\u0275elementStart"](2,"svg",2),i["\u0275\u0275element"](3,"path",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](4," \u0421\u043f\u0438\u0441\u043a\u043e\u043c"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275namespaceHTML"](),i["\u0275\u0275elementStart"](5,"button",1),i["\u0275\u0275listener"]("click",function(){return t.switchShow(!0)}),i["\u0275\u0275namespaceSVG"](),i["\u0275\u0275elementStart"](6,"svg",4),i["\u0275\u0275element"](7,"path",5),i["\u0275\u0275element"](8,"path",6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](9," \u041d\u0430 \u043a\u0430\u0440\u0442\u0435"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](2,he,!t.showMap)),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](4,he,t.showMap)))},directives:[l.k],styles:['@keyframes gradient{0%{left:-100%}to{left:100%}}@keyframes spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}[_nghost-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;display:flex;justify-content:flex-end;text-align:right;z-index:1}.show-map-button__container[_ngcontent-%COMP%]{background-color:RGB(var(--white-color));width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:4px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgb(var(--tertiary-bg-color))}.show-map-button[_ngcontent-%COMP%]{display:inline-block;position:relative;padding:12px 24px;border:0;font-size:14px;font-weight:500;line-height:20px;text-decoration:none;cursor:pointer;border-radius:6px;background-color:RGB(var(--brand-color));color:RGB(var(--white-color));display:inline-flex;align-items:center;justify-content:center;height:36px;background-color:initial;color:#000}.show-map-button[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;display:block;width:100%;height:100%;background-color:RGB(var(--color-contrast-750,56,55,54),.05);opacity:0;transition:opacity .3s}.show-map-button[_ngcontent-%COMP%]:hover:before{opacity:1}.show-map-button[_ngcontent-%COMP%]:disabled{background-color:RGB(var(--violet-5));color:RGB(var(--violet-40));pointer-events:none;box-shadow:inset 0 0 0 1px RGB(var(--black-10));cursor:default}.show-map-button[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{position:relative}.show-map-button[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{padding-right:10px}.show-map-button_active[_ngcontent-%COMP%]{background-color:RGB(var(--black-60));color:RGB(var(--white-color))}.show-map-button_active[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{padding-right:10px;color:RGB(var(--white-color))}.catalog-list__no-result[_ngcontent-%COMP%]{font-size:18px;font-weight:700;line-height:125%;height:400px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px}'],changeDetection:0}),e})();var fe=n("qCvH"),me=n("aLe/"),ge=n("wsBN"),_e=n("7UyQ"),be=n("ZhTg");function ve(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"header",11),i["\u0275\u0275elementStart"](1,"span",12),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"div",13),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"shortNoteMillions"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("\u0416\u041a \xab",e.card.complexName,"\xbb"),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("\u043e\u0442 ",i["\u0275\u0275pipeBind2"](5,2,e.card.totalPriceMin,e.regionId),"")}}function ye(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",14),i["\u0275\u0275elementStart"](1,"span",15),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](e.card.developerName)}}function we(e,t){if(1&e&&i["\u0275\u0275element"](0,"transport-icon",20),2&e){const e=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("type",e.card.subwayTypeShort)}}function xe(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",21),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",e.card.fromSubway," \u043c\u0438\u043d.")}}function Ce(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",16),i["\u0275\u0275element"](1,"app-subway",17),i["\u0275\u0275template"](2,we,1,1,"transport-icon",18),i["\u0275\u0275template"](3,xe,2,1,"span",19),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("metroStation",e.card.subway)("regionId",e.card.regionGroupId),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.card.subwayTypeShort),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.card.fromSubway)}}function Oe(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementContainerStart"](0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275elementStart"](2,"img",2),i["\u0275\u0275listener"]("load",function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().load()}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"div",3),i["\u0275\u0275elementStart"](4,"div",4),i["\u0275\u0275template"](5,ve,6,5,"header",5),i["\u0275\u0275elementStart"](6,"div",6),i["\u0275\u0275template"](7,ye,3,1,"div",7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"div",8),i["\u0275\u0275template"](9,Ce,4,4,"div",9),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](10,"a",10),i["\u0275\u0275elementContainerEnd"]()}if(2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275classProp"]("card__aside_load",e.isLoadImage),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("src",e.imageUrl,i["\u0275\u0275sanitizeUrl"])("alt",e.card.complexName),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",e.card.complexName),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",e.card.developerName),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",e.card.subway||e.card.subwayTypeShort||e.card.addressBuilder),i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("href",e.link,i["\u0275\u0275sanitizeUrl"])}}let Se=(()=>{class e extends c.a{constructor(e,t,n){super(),this.filterService=e,this.imagePathPipe=t,this.cd=n,this.isDone=!1,this.link="",this.isLoadImage=!1,this.imageUrl=""}ngOnInit(){this.completionStartDate=new Date(this.card.completionStartDate),this.completionEndDate=new Date(this.card.completionEndDate),this.isDone=new Date>this.completionStartDate,this.imageUrl=`${this.imagePathPipe.transform(this.card.pictureGuid)}?type=jpg&v=2&wpsid=9`,this.link=window.cpWidgetSettings?`${window.cpWidgetSettings.baseHref}complex/${this.card.complexId}`:`catalog/complex/${this.card.complexId}`,this.subs=[this.filterService.regionId$.subscribe(e=>{this.regionId=e,this.cd.detectChanges()})]}load(){this.isLoadImage=!0}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](m.b),i["\u0275\u0275directiveInject"](ge.a),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["complex-card-item"]],inputs:{card:"card"},features:[i["\u0275\u0275ProvidersFeature"]([ge.a]),i["\u0275\u0275InheritDefinitionFeature"]],decls:1,vars:1,consts:[[4,"ngIf"],[1,"card__aside"],["loading","lazy",1,"card__image",3,"src","alt","load"],[1,"card__body"],[1,"card__info"],["class","card__header",4,"ngIf"],[1,"card__timing"],["class","card__info-developer",4,"ngIf"],[1,"card__location"],["class","card__info-item",4,"ngIf"],["target","_blank",1,"card__link-mobile",3,"href"],[1,"card__header"],[1,"card__title"],[1,"card__price"],[1,"card__info-developer"],[1,"card-timing__value"],[1,"card__info-item"],[3,"metroStation","regionId"],["class","card-location__transport",3,"type",4,"ngIf"],["class","card-location__timing",4,"ngIf"],[1,"card-location__transport",3,"type"],[1,"card-location__timing"]],template:function(e,t){1&e&&i["\u0275\u0275template"](0,Oe,11,8,"ng-container",0),2&e&&i["\u0275\u0275property"]("ngIf",t.card)},directives:[l.m,_e.a,be.a],pipes:[_.a],styles:['@keyframes gradient{0%{left:-100%}to{left:100%}}@keyframes spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}[_nghost-%COMP%]{--border-radius-mobile:6px;position:relative;display:flex;align-items:flex-start;gap:8px;padding:12px 8px 12px 16px}[_nghost-%COMP%]:hover{background-color:RGB(var(--violet-5))}.card__aside[_ngcontent-%COMP%]{--size:80px;width:var(--size);height:var(--size);flex-shrink:0;position:relative;overflow:hidden;background-color:RGB(var(--tertiary-bg-color))}.card__aside[_ngcontent-%COMP%]:before{content:"";display:block;width:100px;height:100%;background-image:linear-gradient(90deg,RGB(var(--white-color),0) 0,RGB(var(--white-color),.671875) 51.04%,RGB(var(--white-color),0) 100%);position:absolute;top:0;left:-116px;animation:gradient 3s linear .2s infinite running;will-change:left;z-index:1}.card__aside_load[_ngcontent-%COMP%]{background-color:initial}.card__aside_load[_ngcontent-%COMP%]:before{content:none}.card__image[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;top:0;left:0;object-fit:cover;object-position:center;border-radius:8px}.card__link-mobile[_ngcontent-%COMP%]{width:0;height:0}.card__link-mobile[_ngcontent-%COMP%]:before{position:absolute;top:0;left:0;display:block;width:100%;height:100%}@media screen and (max-width:767px){.card__link-mobile[_ngcontent-%COMP%]:before{content:""}}.card__body[_ngcontent-%COMP%]{flex-grow:1;width:100%;box-sizing:border-box}.card__info[_ngcontent-%COMP%]{height:100%}.card__header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;gap:12px;grid-area:header}.card__title[_ngcontent-%COMP%]{font-size:16px;line-height:145%;font-weight:600;text-decoration:none}.card__price[_ngcontent-%COMP%], .card__title[_ngcontent-%COMP%]{color:RGB(var(--color-contrast-750,56,55,54))}.card__price[_ngcontent-%COMP%]{white-space:nowrap}.card__location[_ngcontent-%COMP%]{grid-area:location;margin-top:8px}.card__timing[_ngcontent-%COMP%]{grid-area:timing}.card__info-developer[_ngcontent-%COMP%]{font-size:12px;line-height:145%;color:RGB(var(--color-contrast-300,178,176,171))}.card__layout[_ngcontent-%COMP%]{grid-area:layout}@media screen and (max-width:1023px){.card__layout[_ngcontent-%COMP%]{display:flex;width:100%;flex-direction:column;justify-content:space-between}}.card__info-item[_ngcontent-%COMP%]{font-size:14px;line-height:145%}.card__info-item[_ngcontent-%COMP%]:not(:last-of-type){margin-bottom:8px}.card-location__metro[_ngcontent-%COMP%]{position:relative;color:RGB(var(--color-contrast-750,56,55,54))}.card-location__metro[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{position:relative;width:14px;height:14px;top:2px}.card-location__timing[_ngcontent-%COMP%]{color:RGB(var(--shadow-blue-color));white-space:nowrap}.card-location__transport[_ngcontent-%COMP%]{display:inline-block;position:relative;top:2px;width:14px;height:14px;margin-left:6px;margin-right:8px}.card-location__transport[_ngcontent-%COMP%], .card-timing__name[_ngcontent-%COMP%]{color:RGB(var(--shadow-blue-color))}'],changeDetection:0}),e})();var ke=n("JNcY"),Ee=n("c0AU");function Ie(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"header",14),i["\u0275\u0275elementStart"](1,"a",15),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("href",e.link,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("\u0416\u041a \xab",e.card.complexName,"\xbb")}}function Pe(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",16),i["\u0275\u0275elementStart"](1,"div",17),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](e.card.addressBuilder)}}function je(e,t){if(1&e&&i["\u0275\u0275element"](0,"transport-icon",21),2&e){const e=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("type",e.card.subwayTypeShort)}}function Me(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",22),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",e.card.fromSubway," \u043c\u0438\u043d.")}}function Re(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",16),i["\u0275\u0275element"](1,"app-subway",18),i["\u0275\u0275template"](2,je,1,1,"transport-icon",19),i["\u0275\u0275template"](3,Me,2,1,"span",20),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("metroStation",e.card.subway)("regionId",e.card.regionGroupId),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.card.subwayTypeShort),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.card.fromSubway)}}function Ae(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",16),i["\u0275\u0275elementStart"](1,"span",23),i["\u0275\u0275text"](2,"\u0421\u0434\u0430\u0447\u0430: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"span",24),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"doneDate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](5,1,e.completionStartDate,e.completionEndDate)," ")}}function Te(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",16),i["\u0275\u0275elementStart"](1,"span",23),i["\u0275\u0275text"](2,"\u0417\u0430\u0441\u0442\u0440\u043e\u0439\u0449\u0438\u043a: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"span",24),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](e.card.developerName)}}const De=function(e){return[e,"\u043a\u043e\u0440\u043f\u0443\u0441","","a","\u043e\u0432"]},Fe=function(e){return[e,"\u043a\u0432\u0430\u0440\u0442\u0438\u0440","\u0430","\u044b",""]};function Le(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",16),i["\u0275\u0275elementStart"](1,"span",23),i["\u0275\u0275text"](2,"\u0412 \u043f\u0440\u043e\u0434\u0430\u0436\u0435: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"span",24),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"countSuffix"),i["\u0275\u0275pipe"](6,"countSuffix"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBindV"](5,2,i["\u0275\u0275pureFunction1"](14,De,e.card.sectionCount)),", ",i["\u0275\u0275pipeBindV"](6,8,i["\u0275\u0275pureFunction1"](16,Fe,e.card.apartmentCount))," ")}}function Ne(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",25),i["\u0275\u0275elementStart"](1,"div",26),i["\u0275\u0275text"](2,"\u0421\u0442\u0443\u0434\u0438\u044f"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](3,"div",27),i["\u0275\u0275elementStart"](4,"div",28),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"shortNoteMillions"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"]("\u043e\u0442 ",i["\u0275\u0275pipeBind2"](6,1,e.card.studioTotalPriceMin,e.regionId),"")}}function Ve(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",25),i["\u0275\u0275elementStart"](1,"div",26),i["\u0275\u0275text"](2,"1-\u043a"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](3,"div",27),i["\u0275\u0275elementStart"](4,"div",28),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"shortNoteMillions"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"]("\u043e\u0442 ",i["\u0275\u0275pipeBind2"](6,1,e.card.oneRoomsTotalPriceMin,e.regionId),"")}}function Be(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",25),i["\u0275\u0275elementStart"](1,"div",26),i["\u0275\u0275text"](2,"2-\u043a"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](3,"div",27),i["\u0275\u0275elementStart"](4,"div",28),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"shortNoteMillions"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"]("\u043e\u0442 ",i["\u0275\u0275pipeBind2"](6,1,e.card.twoRoomsTotalPriceMin,e.regionId),"")}}function ze(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",25),i["\u0275\u0275elementStart"](1,"div",26),i["\u0275\u0275text"](2,"3-\u043a"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](3,"div",27),i["\u0275\u0275elementStart"](4,"div",28),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"shortNoteMillions"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"]("\u043e\u0442 ",i["\u0275\u0275pipeBind2"](6,1,e.card.threeRoomsTotalPriceMin,e.regionId),"")}}function He(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",25),i["\u0275\u0275elementStart"](1,"div",26),i["\u0275\u0275text"](2,"4-\u043a \u0438 \u0431\u043e\u043b\u0435\u0435"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](3,"div",27),i["\u0275\u0275elementStart"](4,"div",28),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"shortNoteMillions"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"]("\u043e\u0442 ",i["\u0275\u0275pipeBind2"](6,1,e.card.fourAndMoreRoomsTotalPriceMin,e.regionId),"")}}function Ue(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementContainerStart"](0),i["\u0275\u0275elementStart"](1,"a",1),i["\u0275\u0275elementStart"](2,"img",2),i["\u0275\u0275listener"]("load",function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().load()}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"div",3),i["\u0275\u0275elementStart"](4,"div",4),i["\u0275\u0275template"](5,Ie,3,2,"header",5),i["\u0275\u0275elementStart"](6,"div",6),i["\u0275\u0275template"](7,Pe,3,1,"div",7),i["\u0275\u0275template"](8,Re,4,4,"div",7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"div",8),i["\u0275\u0275template"](10,Ae,6,4,"div",7),i["\u0275\u0275template"](11,Te,5,1,"div",7),i["\u0275\u0275template"](12,Le,7,18,"div",7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"div",9),i["\u0275\u0275template"](14,Ne,7,4,"div",10),i["\u0275\u0275template"](15,Ve,7,4,"div",10),i["\u0275\u0275template"](16,Be,7,4,"div",10),i["\u0275\u0275template"](17,ze,7,4,"div",10),i["\u0275\u0275template"](18,He,7,4,"div",10),i["\u0275\u0275elementStart"](19,"a",11),i["\u0275\u0275elementStart"](20,"button",12),i["\u0275\u0275text"](21," \u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a \u0416\u041a "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](22,"a",13),i["\u0275\u0275elementContainerEnd"]()}if(2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275classProp"]("card__aside_load",e.isLoadImage),i["\u0275\u0275propertyInterpolate"]("href",e.link,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("src",e.imageUrl,i["\u0275\u0275sanitizeUrl"])("alt",e.card.complexName),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",e.card.complexName),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",e.card.addressBuilder),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.card.subway||e.card.subwayTypeShort||e.card.addressBuilder),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",e.completionStartDate||e.completionEndDate),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.card.developerName),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.card.sectionCount||e.card.apartmentCount),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",e.isShowRooms.studio),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.isShowRooms.one),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.isShowRooms.two),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.isShowRooms.three),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.isShowRooms.fourAndMore),i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("href",e.link,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](3),i["\u0275\u0275propertyInterpolate"]("href",e.link,i["\u0275\u0275sanitizeUrl"])}}let $e=(()=>{class e extends c.a{constructor(e,t,n){super(),this.imagePathPipe=e,this.filterService=t,this.cd=n,this.link="",this.isLoadImage=!1,this.imageUrl="",this.isShowRooms={studio:!1,one:!1,two:!1,three:!1,fourAndMore:!1}}ngOnInit(){this.subs=[this.filterService.selectedFilters$.subscribe(e=>{this.filters=e,this.updateShowLayout(),this.cd.detectChanges()})]}ngOnChanges(e){this.completionStartDate=new Date(this.card.completionStartDate),this.completionEndDate=new Date(this.card.completionEndDate),this.imageUrl=`${this.imagePathPipe.transform(this.card.pictureGuid)}?type=jpg&v=2&wpsid=9`,this.subs=[this.filterService.regionId$.pipe(Object(h.a)(e=>(this.regionId=e,Object(f.a)([this.filterService.selectedFilters$])))).subscribe(([e])=>{this.filtersQueryParams=btoa(encodeURIComponent(JSON.stringify(e))),this.link=window.cpWidgetSettings?`${window.cpWidgetSettings.baseHref}complex/${this.card.complexId}?filters=${this.filtersQueryParams}`:`catalog/complex/${this.card.complexId}?filters=${this.filtersQueryParams}?regionId=${this.regionId}`,this.cd.detectChanges()})]}load(){this.isLoadImage=!0}updateShowLayout(){this.isShowRooms.studio=!!this.card.studioTotalPriceMin&&this.checkShowLayout(this.card.studioTotalPriceMin,"st"),this.isShowRooms.one=!!this.card.oneRoomsTotalPriceMin&&this.checkShowLayout(this.card.oneRoomsTotalPriceMin,"1"),this.isShowRooms.two=!!this.card.twoRoomsTotalPriceMin&&this.checkShowLayout(this.card.twoRoomsTotalPriceMin,"2"),this.isShowRooms.three=!!this.card.threeRoomsTotalPriceMin&&this.checkShowLayout(this.card.threeRoomsTotalPriceMin,"3"),this.isShowRooms.fourAndMore=!!this.card.fourAndMoreRoomsTotalPriceMin&&this.checkShowLayout(this.card.fourAndMoreRoomsTotalPriceMin,"4+")}checkShowLayout(e,t){var n,r,i,o,s,a,l;return null===(null===(n=this.filters)||void 0===n?void 0:n.rooms)||(null===(i=null===(r=this.filters)||void 0===r?void 0:r.rooms)||void 0===i?void 0:i.length)<=0?null===this.filters.price.priceMax||e<this.filters.price.priceMax:null!==this.filters.price.priceMax?(null===(s=null===(o=this.filters)||void 0===o?void 0:o.rooms)||void 0===s?void 0:s.includes(t))&&e<this.filters.price.priceMax:null===(l=null===(a=this.filters)||void 0===a?void 0:a.rooms)||void 0===l?void 0:l.includes(t)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](ge.a),i["\u0275\u0275directiveInject"](m.b),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["complex-card-detailed"]],inputs:{card:"card"},features:[i["\u0275\u0275ProvidersFeature"]([ge.a]),i["\u0275\u0275InheritDefinitionFeature"],i["\u0275\u0275NgOnChangesFeature"]],decls:1,vars:1,consts:[[4,"ngIf"],["target","_blank",1,"card__aside",3,"href"],["loading","lazy",1,"card__image",3,"src","alt","load"],[1,"card__body"],[1,"card__info"],["class","card__header",4,"ngIf"],[1,"card__location"],["class","card__info-item",4,"ngIf"],[1,"card__timing"],[1,"card__layout"],["class","card-layout",4,"ngIf"],["id","analytics_compilation_suitable_plans","target","_blank",1,"card-layout","card-layout_button",3,"href"],[1,"catalog-header__btn-send"],["target","_blank",1,"card__link-mobile",3,"href"],[1,"card__header"],["target","_blank",1,"card__title",3,"href"],[1,"card__info-item"],[1,"card-location__address"],[3,"metroStation","regionId"],["class","card-location__transport",3,"type",4,"ngIf"],["class","card-location__timing",4,"ngIf"],[1,"card-location__transport",3,"type"],[1,"card-location__timing"],[1,"card-timing__name"],[1,"card-timing__value"],[1,"card-layout"],[1,"card-layout__name"],[1,"card-layout__dots"],[1,"card-layout__price"]],template:function(e,t){1&e&&i["\u0275\u0275template"](0,Ue,23,18,"ng-container",0),2&e&&i["\u0275\u0275property"]("ngIf",t.card)},directives:[l.m,_e.a,be.a],pipes:[ke.a,Ee.a,_.a],styles:['@keyframes gradient{0%{left:-100%}to{left:100%}}@keyframes spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}[_nghost-%COMP%]{--border-radius-mobile:6px;position:relative;display:flex;flex-direction:column;align-items:center;border-radius:var(--border-radius-mobile);overflow:hidden}@media screen and (max-width:1023px){[_nghost-%COMP%]{flex-direction:column;align-items:center;border-radius:var(--border-radius-mobile);overflow:hidden}}.card__aside[_ngcontent-%COMP%]{flex-shrink:0;position:relative;width:calc(100%);height:160px;overflow:hidden;background-color:RGB(var(--tertiary-bg-color))}.card__aside[_ngcontent-%COMP%]:before{content:"";display:block;width:100px;height:100%;background-image:linear-gradient(90deg,RGB(var(--white-color),0) 0,RGB(var(--white-color),.671875) 51.04%,RGB(var(--white-color),0) 100%);position:absolute;top:0;left:-116px;animation:gradient 3s linear .2s infinite running;will-change:left;z-index:1}.card__aside[_ngcontent-%COMP%]:after{content:"";display:block;width:100%;padding-bottom:66%}@media screen and (max-width:1023px){.card__aside[_ngcontent-%COMP%]{width:calc(100%);height:160px}}@media screen and (max-width:640px){.card__aside[_ngcontent-%COMP%]{width:100%;height:auto}}.card__aside_load[_ngcontent-%COMP%]{background-color:initial}.card__aside_load[_ngcontent-%COMP%]:before{content:none}.card__link-mobile[_ngcontent-%COMP%]{width:0;height:0}.card__link-mobile[_ngcontent-%COMP%]:before{position:absolute;top:0;left:0;display:block;width:100%;height:100%}@media screen and (max-width:767px){.card__link-mobile[_ngcontent-%COMP%]:before{content:""}}.card__image[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;top:0;left:0;object-fit:cover;object-position:center;border-radius:4px}@media screen and (max-width:1023px){.card__image[_ngcontent-%COMP%]{border-radius:4px 4px 0 0}}.card__body[_ngcontent-%COMP%]{flex-grow:1;width:100%;padding:16px;box-sizing:border-box}@media screen and (max-width:1023px){.card__body[_ngcontent-%COMP%]{padding-bottom:16px}}.card__header[_ngcontent-%COMP%]{grid-area:header}.card__title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;line-height:125%;color:RGB(var(--color-contrast-750,56,55,54));text-decoration:none}.card__info[_ngcontent-%COMP%]{height:100%;display:grid;grid-template-rows:auto;grid-template-columns:1fr;grid-template-areas:"header" "location" "timing" "layout";gap:6px}@media screen and (max-width:1023px){.card__info[_ngcontent-%COMP%]{grid-template-columns:1fr;grid-template-areas:"header" "location" "timing" "layout";gap:6px}}.card__location[_ngcontent-%COMP%]{grid-area:location}.card__timing[_ngcontent-%COMP%]{grid-area:timing}.card__layout[_ngcontent-%COMP%]{grid-area:layout;display:flex;width:100%;flex-direction:column;justify-content:space-between;padding-top:6px}@media screen and (max-width:1023px){.card__layout[_ngcontent-%COMP%]{display:flex;width:100%;flex-direction:column;justify-content:space-between}}.card-layout[_ngcontent-%COMP%], .card__info-item[_ngcontent-%COMP%]{font-size:14px;line-height:145%}.card-layout[_ngcontent-%COMP%]:not(:last-of-type), .card__info-item[_ngcontent-%COMP%]:not(:last-of-type){margin-bottom:4px}.card-location__metro[_ngcontent-%COMP%]{position:relative;color:RGB(var(--shadow-blue-color))}.card-location__metro[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{position:relative;width:14px;height:14px;top:2px}.card-location__timing[_ngcontent-%COMP%]{color:RGB(var(--shadow-blue-color));white-space:nowrap}.card-location__transport[_ngcontent-%COMP%]{display:inline-block;position:relative;top:2px;width:14px;height:14px;margin-left:6px;margin-right:8px}.card-location__transport[_ngcontent-%COMP%], .card-timing__name[_ngcontent-%COMP%]{color:RGB(var(--shadow-blue-color))}.card-layout[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;position:relative;white-space:nowrap;break-inside:avoid-column;align-content:baseline}.card-layout_button[_ngcontent-%COMP%]{margin-top:18px;break-inside:avoid-column;text-decoration:none}.card-layout__name[_ngcontent-%COMP%]{position:relative;padding-right:6px}.card-layout__dots[_ngcontent-%COMP%]{position:relative;top:1px;width:100%;border-bottom:1px dotted rgb(var(--shadow-blue-color))}.card-layout__price[_ngcontent-%COMP%]{position:relative;padding-left:6px;white-space:nowrap}.catalog-header__btn-send[_ngcontent-%COMP%]{display:inline-block;position:relative;padding:12px 24px;border:0;font-size:14px;font-weight:500;line-height:20px;text-decoration:none;cursor:pointer;border-radius:6px;background-color:RGB(var(--brand-color));color:RGB(var(--white-color));width:100%}.catalog-header__btn-send[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;display:block;width:100%;height:100%;background-color:RGB(var(--color-contrast-750,56,55,54),.05);opacity:0;transition:opacity .3s}.catalog-header__btn-send[_ngcontent-%COMP%]:hover:before{opacity:1}.catalog-header__btn-send[_ngcontent-%COMP%]:disabled{background-color:RGB(var(--violet-5));color:RGB(var(--violet-40));pointer-events:none;box-shadow:inset 0 0 0 1px RGB(var(--black-10));cursor:default}.catalog-header__btn-send[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{position:relative}.catalog-header__svg[_ngcontent-%COMP%]{line-height:0;margin-right:9px}']}),e})();function Ge(e,t){1&e&&(i["\u0275\u0275elementContainerStart"](0),i["\u0275\u0275text"](1,"\u0421\u0432\u0435\u0440\u043d\u0443\u0442\u044c"),i["\u0275\u0275elementContainerEnd"]())}function We(e,t){1&e&&i["\u0275\u0275text"](0,"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c")}const Ye=function(e){return{"catalog-list__card_hover":e}};function qe(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"complex-card-item",21),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](e);const n=t.$implicit;return i["\u0275\u0275nextContext"](4).clickPlacemark(n,!0)})("mouseenter",function(){i["\u0275\u0275restoreView"](e);const n=t.$implicit;return i["\u0275\u0275nextContext"](4).onPointHoverInEvent(n)})("mouseleave",function(){i["\u0275\u0275restoreView"](e);const n=t.$implicit;return i["\u0275\u0275nextContext"](4).onPointHoverOutEvent(n)}),i["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit;i["\u0275\u0275property"]("card",e.complexCard)("ngClass",i["\u0275\u0275pureFunction1"](2,Ye,2===e.options.zIndex))}}function Ze(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",22),i["\u0275\u0275element"](1,"img",23),i["\u0275\u0275text"](2," \u041d\u0435\xa0\u043d\u0430\u0439\u0434\u0435\u043d\u043e\xa0\u0416\u041a "),i["\u0275\u0275elementEnd"]())}function Qe(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"perfect-scrollbar",18),i["\u0275\u0275template"](1,qe,1,4,"complex-card-item",19),i["\u0275\u0275template"](2,Ze,3,0,"div",20),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",e.placemarks),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",(null==e.placemarks?null:e.placemarks.length)<=0&&e.isLoad)}}function Xe(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",16),i["\u0275\u0275template"](1,Qe,3,2,"perfect-scrollbar",17),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!e.selectedComplexCard)}}const Ke=function(e){return{"catalog-list__minimize-arrow_rotate":e}};function Je(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",10),i["\u0275\u0275elementStart"](1,"div",11),i["\u0275\u0275elementStart"](2,"div"),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"button",12),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](e);const t=i["\u0275\u0275nextContext"]();return t.isListMinimize=!t.isListMinimize}),i["\u0275\u0275element"](5,"img",13),i["\u0275\u0275template"](6,Ge,2,0,"ng-container",2),i["\u0275\u0275template"](7,We,1,0,"ng-template",null,14,i["\u0275\u0275templateRefExtractor"]),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](9,Xe,2,1,"div",15),i["\u0275\u0275elementEnd"]()}if(2&e){const e=i["\u0275\u0275reference"](8),t=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("\u041d\u0430\u0439\u0434\u0435\u043d\u043e ",t.countPoint," \u0416\u041a"),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](5,Ke,!t.isListMinimize)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.isListMinimize)("ngIfElse",e),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.isListMinimize)}}function et(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementContainerStart"](0),i["\u0275\u0275elementStart"](1,"div",24),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().clickMap()}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](2,"div",25),i["\u0275\u0275elementStart"](3,"button",26),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().deleteFilterItem()}),i["\u0275\u0275element"](4,"img",27),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](5,"complex-card-detailed",28),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementContainerEnd"]()}if(2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("card",e.selectedComplexCard)}}function tt(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"ya-placemark",29),i["\u0275\u0275listener"]("yamouseenter",function(){i["\u0275\u0275restoreView"](e);const n=t.$implicit;return i["\u0275\u0275nextContext"]().onPointHoverInEvent(n)})("yamouseleave",function(){i["\u0275\u0275restoreView"](e);const n=t.$implicit;return i["\u0275\u0275nextContext"]().onPointHoverOutEvent(n)})("yaclick",function(){i["\u0275\u0275restoreView"](e);const n=t.$implicit;return i["\u0275\u0275nextContext"]().clickPlacemark(n,!1)}),i["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit;i["\u0275\u0275property"]("geometry",e.geometry)("properties",e.properties)("options",e.options)}}let nt=(()=>{class e extends c.a{constructor(e,t,n,r){super(),this.filterService=e,this.ecatalogService=t,this.switchMapServiceService=n,this.cd=r,this.countPoint=0,this.renderList=[],this.isListMinimize=!1,this.isLoad=!1,this.state={controls:[]},this.mapOptions={autoFitToViewport:"always",copyrightProvidersVisible:!1,copyrightUaVisible:!1,suppressMapOpenBlock:!0},this.defaultPlasemark={iconLayout:"default#image",iconImageHref:"/catalog/assets/icons/pointer-icon.png",iconImageSize:[32,32],zIndex:1}}onMapReady(e){this.ymaps=e.target,this.ymaps.margin.addArea({top:0,left:0,width:"800px",height:"100%"}),this.subs=[this.filterService.filteredComplexList$.subscribe(e=>{this.placemarks=[],this.renderList=[],this.showPoint(e.complexList),this.cd.detectChanges()}),this.filterService.regionId$.subscribe(()=>{this.deleteFilterItem(),this.cd.detectChanges()})]}showPoint(e){if(this.renderList=e,this.countPoint=e.length,0===this.countPoint)return;this.placemarks=[];let t=9999,n=9999,r=0,i=0;e.forEach(e=>{var o,s,a,l,c,u;this.placemarks.push({complexCard:e,geometry:[null===(o=e.coordinatesToNumber)||void 0===o?void 0:o.x,null===(s=e.coordinatesToNumber)||void 0===s?void 0:s.y],properties:{},options:this.defaultPlasemark}),t=(null===(a=e.coordinatesToNumber)||void 0===a?void 0:a.x)<t?e.coordinatesToNumber.x:t,n=(null===(l=e.coordinatesToNumber)||void 0===l?void 0:l.y)<n?e.coordinatesToNumber.y:n,r=(null===(c=e.coordinatesToNumber)||void 0===c?void 0:c.x)>r?e.coordinatesToNumber.x:r,i=(null===(u=e.coordinatesToNumber)||void 0===u?void 0:u.y)>i?e.coordinatesToNumber.y:i});let o=[20,20,20,20];this.ymaps.container.getSize()[0]>1023&&(o=[20,20,20,400]),1===this.placemarks.length?this.ymaps.panTo([this.placemarks[0].geometry],{checkZoomRange:!0,flying:!0}):this.ymaps.setBounds([[t,n],[r,i]],{checkZoomRange:!0,timingFunction:"ease-out",duration:100,zoomMargin:o}),this.isLoad=!0,this.isListMinimize=!0,this.setPredefined()}clickMap(){this.clearSelection()}onPointHoverInEvent(e){"/catalog/assets/icons/pointer-red-large-icon.png"!==e.options.iconImageHref&&(e.options={iconLayout:"default#image",iconImageHref:"/catalog/assets/icons/pointer-red-icon.png",zIndex:2})}onPointHoverOutEvent(e){"/catalog/assets/icons/pointer-red-large-icon.png"!==e.options.iconImageHref&&(e.options=this.defaultPlasemark)}clickPlacemark(e,t){t&&this.ymaps.panTo([e.geometry],{checkZoomRange:!0,flying:!0}),this.clearSelection(),e.options={iconLayout:"default#image",iconImageHref:"/catalog/assets/icons/pointer-red-large-icon.png",zIndex:999},this.selectedComplexCard=e.complexCard}setPredefined(){const e=this.switchMapServiceService.getPredefinedComplex();if(e){this.switchMapServiceService.setPredefinedComplex(null);const t=this.placemarks.find(t=>t.complexCard.complexId===e.complexId);this.clearSelection(),t.options={iconLayout:"default#image",iconImageSize:[32,32],iconImageHref:"/catalog/assets/icons/pointer-red-large-icon.png",zIndex:999},this.selectedComplexCard=t.complexCard,this.ymaps.panTo([t.geometry],{checkZoomRange:!0,flying:!0})}}clearSelection(){var e;this.selectedComplexCard=null,null===(e=this.placemarks)||void 0===e||e.forEach(e=>{"/catalog/assets/icons/pointer-red-large-icon.png"===e.options.iconImageHref&&(e.options=this.defaultPlasemark)})}zoomIn(){this.ymaps.setZoom(this.ymaps.getZoom()+1,{checkZoomRange:!0})}zoomOut(){this.ymaps.setZoom(this.ymaps.getZoom()-1,{checkZoomRange:!0})}deleteFilterItem(){this.clearSelection()}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](m.b),i["\u0275\u0275directiveInject"](m.a),i["\u0275\u0275directiveInject"](m.i),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-map-full"]],features:[i["\u0275\u0275InheritDefinitionFeature"]],decls:11,vars:5,consts:[[1,"map__container"],["selected",""],[4,"ngIf","ngIfElse"],[1,"switch-map-list"],[1,"map-zoom__container"],["id","zoom-in",1,"map-zoom-btn","map-zoom-btn__in",3,"click"],["id","zoom-out",1,"map-zoom-btn","map-zoom-btn__out",3,"click"],[1,"map__yandex"],[3,"state","options","yaclick","ready"],[3,"geometry","properties","options","yamouseenter","yamouseleave","yaclick",4,"ngFor","ngForOf"],[1,"map__catalog-list","map__catalog-list_adaptive"],[1,"catalog-list__header"],[1,"catalog-list__minimize",3,"click"],["src","./catalog/assets/icons/arrow-icon.svg",1,"catalog-list__minimize-arrow",3,"ngClass"],["expand",""],["class","catalog-list__container",4,"ngIf"],[1,"catalog-list__container"],["class","catalog-list__list",4,"ngIf"],[1,"catalog-list__list"],["class","catalog-list__card",3,"card","ngClass","click","mouseenter","mouseleave",4,"ngFor","ngForOf"],["class","catalog-list__no-result",4,"ngIf"],[1,"catalog-list__card",3,"card","ngClass","click","mouseenter","mouseleave"],[1,"catalog-list__no-result"],["src","/catalog/assets/icons/laptop-icon.svg"],[1,"catalog-list__background",3,"click"],[1,"map__catalog-selected","catalog-list__container_selected"],[1,"catalog-list__header-close",3,"click"],["src","/catalog/assets/icons/cross-btn.svg"],[1,"catalog-list__card",3,"card"],[3,"geometry","properties","options","yamouseenter","yamouseleave","yaclick"]],template:function(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275template"](1,Je,10,7,"ng-template",null,1,i["\u0275\u0275templateRefExtractor"]),i["\u0275\u0275template"](3,et,6,1,"ng-container",2),i["\u0275\u0275element"](4,"switch-map-list",3),i["\u0275\u0275elementStart"](5,"div",4),i["\u0275\u0275elementStart"](6,"button",5),i["\u0275\u0275listener"]("click",function(){return t.zoomIn()}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"button",6),i["\u0275\u0275listener"]("click",function(){return t.zoomOut()}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"div",7),i["\u0275\u0275elementStart"](9,"ya-map",8),i["\u0275\u0275listener"]("yaclick",function(){return t.clickMap()})("ready",function(e){return t.onMapReady(e)}),i["\u0275\u0275template"](10,tt,1,3,"ya-placemark",9),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275reference"](2);i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.selectedComplexCard)("ngIfElse",e),i["\u0275\u0275advance"](6),i["\u0275\u0275property"]("state",t.state)("options",t.mapOptions),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",t.placemarks)}},directives:[l.m,pe,fe.b,l.l,l.k,me.b,Se,$e,fe.c],styles:['.ps[_ngcontent-%COMP%]{overflow:hidden!important;overflow-anchor:none;-ms-overflow-style:none;touch-action:auto;-ms-touch-action:auto}.ps__rail-x[_ngcontent-%COMP%]{height:15px;bottom:0}.ps__rail-x[_ngcontent-%COMP%], .ps__rail-y[_ngcontent-%COMP%]{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;position:absolute}.ps__rail-y[_ngcontent-%COMP%]{width:15px;right:0}.ps--active-x[_ngcontent-%COMP%] > .ps__rail-x[_ngcontent-%COMP%], .ps--active-y[_ngcontent-%COMP%] > .ps__rail-y[_ngcontent-%COMP%]{display:block;background-color:initial}.ps--focus[_ngcontent-%COMP%] > .ps__rail-x[_ngcontent-%COMP%], .ps--focus[_ngcontent-%COMP%] > .ps__rail-y[_ngcontent-%COMP%], .ps--scrolling-x[_ngcontent-%COMP%] > .ps__rail-x[_ngcontent-%COMP%], .ps--scrolling-y[_ngcontent-%COMP%] > .ps__rail-y[_ngcontent-%COMP%], .ps[_ngcontent-%COMP%]:hover > .ps__rail-x[_ngcontent-%COMP%], .ps[_ngcontent-%COMP%]:hover > .ps__rail-y[_ngcontent-%COMP%]{opacity:.6}.ps[_ngcontent-%COMP%]   .ps__rail-x.ps--clicking[_ngcontent-%COMP%], .ps[_ngcontent-%COMP%]   .ps__rail-x[_ngcontent-%COMP%]:focus, .ps[_ngcontent-%COMP%]   .ps__rail-x[_ngcontent-%COMP%]:hover, .ps[_ngcontent-%COMP%]   .ps__rail-y.ps--clicking[_ngcontent-%COMP%], .ps[_ngcontent-%COMP%]   .ps__rail-y[_ngcontent-%COMP%]:focus, .ps[_ngcontent-%COMP%]   .ps__rail-y[_ngcontent-%COMP%]:hover{background-color:#eee;opacity:.9}.ps__thumb-x[_ngcontent-%COMP%]{transition:background-color .2s linear,height .2s ease-in-out;-webkit-transition:background-color .2s linear,height .2s ease-in-out;height:6px;bottom:2px}.ps__thumb-x[_ngcontent-%COMP%], .ps__thumb-y[_ngcontent-%COMP%]{background-color:#aaa;border-radius:6px;position:absolute}.ps__thumb-y[_ngcontent-%COMP%]{transition:background-color .2s linear,width .2s ease-in-out;-webkit-transition:background-color .2s linear,width .2s ease-in-out;width:6px;right:2px}.ps__rail-x.ps--clicking[_ngcontent-%COMP%]   .ps__thumb-x[_ngcontent-%COMP%], .ps__rail-x[_ngcontent-%COMP%]:focus > .ps__thumb-x[_ngcontent-%COMP%], .ps__rail-x[_ngcontent-%COMP%]:hover > .ps__thumb-x[_ngcontent-%COMP%]{background-color:#999;height:11px}.ps__rail-y.ps--clicking[_ngcontent-%COMP%]   .ps__thumb-y[_ngcontent-%COMP%], .ps__rail-y[_ngcontent-%COMP%]:focus > .ps__thumb-y[_ngcontent-%COMP%], .ps__rail-y[_ngcontent-%COMP%]:hover > .ps__thumb-y[_ngcontent-%COMP%]{background-color:#999;width:11px}@supports (-ms-overflow-style:none){.ps[_ngcontent-%COMP%]{overflow:auto!important}}@media (-ms-high-contrast:none),screen and (-ms-high-contrast:active){.ps[_ngcontent-%COMP%]{overflow:auto!important}}@keyframes gradient{0%{left:-100%}to{left:100%}}@keyframes spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}[_nghost-%COMP%]{--padding:40px 0 56px;height:100%;position:relative;overflow:hidden;display:grid;grid-template-columns:1fr;grid-template-rows:auto;gap:12px;flex-grow:1}.map-zoom__container[_ngcontent-%COMP%]{--height:36px;--width:40px;position:absolute;z-index:11;right:5px;top:calc(50% - var(--height))}@media screen and (max-width:1023px){.map-zoom__container[_ngcontent-%COMP%]{top:calc(50% - var(--height) - 44px)}}.map-zoom-btn[_ngcontent-%COMP%]{display:block;position:relative;width:var(--width);height:var(--height);background-color:RGB(var(--white-color));border:1px solid rgb(var(--tertiary-bg-color));box-sizing:border-box;padding:0;cursor:pointer}.map-zoom-btn[_ngcontent-%COMP%]:after, .map-zoom-btn[_ngcontent-%COMP%]:before{height:2px;width:calc(100% - 24px);display:block;background-color:#000;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;border-radius:2px}.map-zoom-btn[_ngcontent-%COMP%]:after{transform:rotate(90deg)}.map-zoom-btn__in[_ngcontent-%COMP%]{border-top-right-radius:50%;border-top-left-radius:50%}.map-zoom-btn__in[_ngcontent-%COMP%]:after, .map-zoom-btn__in[_ngcontent-%COMP%]:before{content:""}.map-zoom-btn__out[_ngcontent-%COMP%]{border-bottom-right-radius:50%;border-bottom-left-radius:50%}.map-zoom-btn__out[_ngcontent-%COMP%]:before{content:""}.map__container[_ngcontent-%COMP%]{position:relative;max-width:100%;overflow:hidden}.map__catalog-list[_ngcontent-%COMP%], .map__catalog-selected[_ngcontent-%COMP%]{--padding:40px;position:absolute;top:8px;left:8px;display:flex;flex-direction:column;width:416px;max-height:calc(100% - 16px);box-sizing:border-box;border-radius:8px;background-color:RGB(var(--white-color));overflow:hidden;z-index:9;transform:none;box-shadow:0 1px 10px 0 RGB(var(--color-contrast-750,56,55,54),.1)}.catalog-list__container_selected[_ngcontent-%COMP%]{width:323px}@media screen and (max-width:767px){.catalog-list__container_selected[_ngcontent-%COMP%]{width:100%;top:auto;bottom:0;left:0;z-index:10010;border-radius:8px 8px 0 0}.catalog-list__background[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;background-color:#00000052;opacity:.24;z-index:1000;transition:opacity .3s}}@media screen and (max-width:1023px){.map__catalog-list_adaptive[_ngcontent-%COMP%]{visibility:hidden}}.catalog-list__header[_ngcontent-%COMP%]{font-size:16px;font-weight:700;line-height:125%;padding:16px;display:flex;align-items:center;flex-shrink:1}.catalog-list__header-close[_ngcontent-%COMP%]{position:absolute;justify-content:flex-end;text-align:right;right:0;top:4px;z-index:1;border:0;background-color:initial;cursor:pointer}.catalog-list__minimize[_ngcontent-%COMP%]{display:inline-block;position:relative;border:0;font-size:14px;font-weight:500;line-height:20px;text-decoration:none;cursor:pointer;border-radius:6px;margin-left:auto;height:28px;padding:8px 10px;display:inline-flex;align-items:center;justify-content:center;opacity:1;border:1px solid rgb(var(--violet-10),.5);background-color:RGB(var(--white-color));color:RGB(var(--color-contrast-750,56,55,54));flex-shrink:0}.catalog-list__minimize[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;display:block;width:100%;height:100%;background-color:RGB(var(--color-contrast-750,56,55,54),.05);opacity:0;transition:opacity .3s}.catalog-list__minimize[_ngcontent-%COMP%]:hover:before{opacity:1}.catalog-list__minimize[_ngcontent-%COMP%]:disabled{background-color:RGB(var(--violet-5));color:RGB(var(--violet-40));pointer-events:none;box-shadow:inset 0 0 0 1px RGB(var(--black-10));cursor:default}.catalog-list__minimize[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{position:relative}.catalog-list__minimize[_ngcontent-%COMP%]:disabled{border:1px solid rgb(var(--color-contrast-400,152,150,145));background-color:initial}.catalog-list__minimize-arrow[_ngcontent-%COMP%]{padding-right:10px}.catalog-list__minimize-arrow_rotate[_ngcontent-%COMP%]{padding-right:0;padding-left:10px;transform:rotate(180deg)}.map__yandex[_ngcontent-%COMP%]{width:100%;height:100%;position:relative}.catalog-list__list[_ngcontent-%COMP%]{position:relative;height:480px;max-height:100%;display:block}.catalog-list__card[_ngcontent-%COMP%]:after{content:"";display:block;width:100%;height:1px;background-color:RGB(var(--color-contrast-40,245,244,242));position:absolute;bottom:0;left:0}.catalog-list__card_hover[_ngcontent-%COMP%]{background-color:RGB(var(--violet-5));cursor:pointer}.switch-map-list[_ngcontent-%COMP%]{top:32px;right:16px;position:absolute}@media screen and (max-width:1023px){.switch-map-list[_ngcontent-%COMP%]{display:none}}.catalog-list__no-result[_ngcontent-%COMP%]{font-size:18px;font-weight:700;line-height:125%;height:400px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px}'],changeDetection:0}),e})();function rt(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"header",17),i["\u0275\u0275elementStart"](1,"a",18),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("href",e.link,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("\u0416\u041a \xab",e.card.complexName,"\xbb")}}function it(e,t){if(1&e&&i["\u0275\u0275element"](0,"transport-icon",22),2&e){const e=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("type",e.card.subwayTypeShort)}}function ot(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",23),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",e.card.fromSubway," \u043c\u0438\u043d.")}}function st(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",8),i["\u0275\u0275element"](1,"app-subway",19),i["\u0275\u0275template"](2,it,1,1,"transport-icon",20),i["\u0275\u0275template"](3,ot,2,1,"span",21),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("metroStation",e.card.subway)("regionId",e.card.regionGroupId),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.card.subwayTypeShort),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.card.fromSubway)}}function at(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",8),i["\u0275\u0275elementStart"](1,"div",24),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](e.card.addressBuilder)}}function lt(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",8),i["\u0275\u0275elementStart"](1,"span",25),i["\u0275\u0275text"](2,"\u0421\u0434\u0430\u0447\u0430: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"span",26),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"doneDate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](5,1,e.completionStartDate,e.completionEndDate)," ")}}function ct(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",8),i["\u0275\u0275elementStart"](1,"span",25),i["\u0275\u0275text"](2,"\u0417\u0430\u0441\u0442\u0440\u043e\u0439\u0449\u0438\u043a: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"span",26),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](e.card.developerName)}}function ut(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",27),i["\u0275\u0275elementStart"](1,"div",28),i["\u0275\u0275text"](2,"\u0421\u0442\u0443\u0434\u0438\u044f"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](3,"div",29),i["\u0275\u0275elementStart"](4,"div",30),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"shortNoteMillions"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"]("\u043e\u0442 ",i["\u0275\u0275pipeBind2"](6,1,e.card.studioTotalPriceMin,e.regionId),"")}}function dt(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",27),i["\u0275\u0275elementStart"](1,"div",28),i["\u0275\u0275text"](2,"1-\u043a\u043e\u043c\u043d"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](3,"div",29),i["\u0275\u0275elementStart"](4,"div",30),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"shortNoteMillions"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"]("\u043e\u0442 ",i["\u0275\u0275pipeBind2"](6,1,e.card.oneRoomsTotalPriceMin,e.regionId),"")}}function ht(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",27),i["\u0275\u0275elementStart"](1,"div",28),i["\u0275\u0275text"](2,"2-\u043a\u043e\u043c\u043d"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](3,"div",29),i["\u0275\u0275elementStart"](4,"div",30),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"shortNoteMillions"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"]("\u043e\u0442 ",i["\u0275\u0275pipeBind2"](6,1,e.card.twoRoomsTotalPriceMin,e.regionId),"")}}function pt(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",27),i["\u0275\u0275elementStart"](1,"div",28),i["\u0275\u0275text"](2,"3-\u043a\u043e\u043c\u043d"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](3,"div",29),i["\u0275\u0275elementStart"](4,"div",30),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"shortNoteMillions"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"]("\u043e\u0442 ",i["\u0275\u0275pipeBind2"](6,1,e.card.threeRoomsTotalPriceMin,e.regionId),"")}}function ft(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",27),i["\u0275\u0275elementStart"](1,"div",28),i["\u0275\u0275text"](2,"4+"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](3,"div",29),i["\u0275\u0275elementStart"](4,"div",30),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"shortNoteMillions"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"]("\u043e\u0442 ",i["\u0275\u0275pipeBind2"](6,1,e.card.fourAndMoreRoomsTotalPriceMin,e.regionId),"")}}const mt=function(e){return[e,"\u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432","\u043a\u0430","\u043a\u0438","\u043e\u043a"]};function gt(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementContainerStart"](0),i["\u0275\u0275elementStart"](1,"a",1),i["\u0275\u0275elementStart"](2,"img",2),i["\u0275\u0275listener"]("load",function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().load()}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"div",3),i["\u0275\u0275elementStart"](4,"div",4),i["\u0275\u0275template"](5,rt,3,2,"header",5),i["\u0275\u0275elementStart"](6,"div",6),i["\u0275\u0275template"](7,st,4,4,"div",7),i["\u0275\u0275template"](8,at,3,1,"div",7),i["\u0275\u0275elementStart"](9,"div",8),i["\u0275\u0275elementStart"](10,"div",9),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().openComplexOnTheMap()}),i["\u0275\u0275text"](11,"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043d\u0430 \u043a\u0430\u0440\u0442\u0435"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"div",10),i["\u0275\u0275template"](13,lt,6,4,"div",7),i["\u0275\u0275template"](14,ct,5,1,"div",7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"div",11),i["\u0275\u0275template"](16,ut,7,4,"div",12),i["\u0275\u0275template"](17,dt,7,4,"div",12),i["\u0275\u0275template"](18,ht,7,4,"div",12),i["\u0275\u0275template"](19,pt,7,4,"div",12),i["\u0275\u0275template"](20,ft,7,4,"div",12),i["\u0275\u0275elementStart"](21,"a",13),i["\u0275\u0275elementStart"](22,"button",14),i["\u0275\u0275namespaceSVG"](),i["\u0275\u0275elementStart"](23,"svg",15),i["\u0275\u0275element"](24,"path",16),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](25),i["\u0275\u0275pipe"](26,"countSuffix"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementContainerEnd"]()}if(2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275classProp"]("card__aside_load",e.isLoadImage),i["\u0275\u0275propertyInterpolate"]("href",e.link,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("src",e.imageUrl,i["\u0275\u0275sanitizeUrl"])("alt",e.card.complexName),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",e.card.complexName),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",e.card.subway||e.card.subwayTypeShort||e.card.addressBuilder),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.card.addressBuilder),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",e.completionStartDate||e.completionEndDate),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.card.developerName),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",e.isShowRooms.studio),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.isShowRooms.one),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.isShowRooms.two),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.isShowRooms.three),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.isShowRooms.fourAndMore),i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("href",e.link,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBindV"](26,17,i["\u0275\u0275pureFunction1"](23,mt,e.card.apartmentCount))," \u0432 \u0416\u041a ")}}let _t=(()=>{class e extends c.a{constructor(e,t,n,r){super(),this.imagePathPipe=e,this.switchMapServiceService=t,this.filterService=n,this.cd=r,this.link="",this.isLoadImage=!1,this.imageUrl="",this.isShowRooms={studio:!1,one:!1,two:!1,three:!1,fourAndMore:!1},this.isHideCard=!1}ngOnInit(){this.completionStartDate=new Date(this.card.completionStartDate),this.completionEndDate=new Date(this.card.completionEndDate),this.imageUrl=`${this.imagePathPipe.transform(this.card.pictureGuid)}?type=jpg&v=2&wpsid=9`,this.subs=[this.filterService.selectedFilters$.subscribe(e=>{this.filters=e,this.updateShowLayout(),this.cd.detectChanges()}),this.filterService.regionId$.subscribe(e=>{this.regionId=e,this.cd.detectChanges()})]}ngOnChanges(e){this.link=window.cpWidgetSettings?`${window.cpWidgetSettings.baseHref}complex/${this.card.complexId}?filters=${this.filtersQueryParams}?regionId=${this.regionId}`:`catalog/complex/${this.card.complexId}?filters=${this.filtersQueryParams}?regionId=${this.regionId}`}load(){this.isLoadImage=!0}openComplexOnTheMap(){this.switchMapServiceService.setShowMap(!0),this.switchMapServiceService.setPredefinedComplex(this.card)}updateShowLayout(){let e=!0;this.isShowRooms.studio=!!this.card.studioTotalPriceMin&&this.checkShowLayout(this.card.studioTotalPriceMin,"st"),this.isShowRooms.one=!!this.card.oneRoomsTotalPriceMin&&this.checkShowLayout(this.card.oneRoomsTotalPriceMin,"1"),this.isShowRooms.two=!!this.card.twoRoomsTotalPriceMin&&this.checkShowLayout(this.card.twoRoomsTotalPriceMin,"2"),this.isShowRooms.three=!!this.card.threeRoomsTotalPriceMin&&this.checkShowLayout(this.card.threeRoomsTotalPriceMin,"3"),this.isShowRooms.fourAndMore=!!this.card.fourAndMoreRoomsTotalPriceMin&&this.checkShowLayout(this.card.fourAndMoreRoomsTotalPriceMin,"4+");for(const t in this.isShowRooms)this.isShowRooms[t]&&(e=!1);this.isHideCard=e}checkShowLayout(e,t){var n,r,i,o,s,a,l;return null===(null===(n=this.filters)||void 0===n?void 0:n.rooms)||(null===(i=null===(r=this.filters)||void 0===r?void 0:r.rooms)||void 0===i?void 0:i.length)<=0?null===this.filters.price.priceMax||e<this.filters.price.priceMax:null!==this.filters.price.priceMax?(null===(s=null===(o=this.filters)||void 0===o?void 0:o.rooms)||void 0===s?void 0:s.includes(t))&&e<this.filters.price.priceMax:null===(l=null===(a=this.filters)||void 0===a?void 0:a.rooms)||void 0===l?void 0:l.includes(t)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](ge.a),i["\u0275\u0275directiveInject"](m.i),i["\u0275\u0275directiveInject"](m.b),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["catalog-card"]],hostVars:2,hostBindings:function(e,t){2&e&&i["\u0275\u0275classProp"]("hide__card",t.isHideCard)},inputs:{card:"card",filters:"filters",filtersQueryParams:"filtersQueryParams"},features:[i["\u0275\u0275ProvidersFeature"]([ge.a]),i["\u0275\u0275InheritDefinitionFeature"],i["\u0275\u0275NgOnChangesFeature"]],decls:1,vars:1,consts:[[4,"ngIf"],["target","_blank",1,"card__aside",3,"href"],["loading","lazy",1,"card__image",3,"src","alt","load"],[1,"card__body"],[1,"card__info"],["class","card__header",4,"ngIf"],[1,"card__location"],["class","card__info-item",4,"ngIf"],[1,"card__info-item"],[1,"card-map",3,"click"],[1,"card__timing"],[1,"card__layout"],["class","card-layout",4,"ngIf"],["id","analytics_compilation_suitable_plans","target","_blank",1,"card-layout","card-layout_button",3,"href"],[1,"catalog-header__btn-send"],["width","17","height","16","viewBox","0 0 17 16","fill","none","xmlns","http://www.w3.org/2000/svg",1,"catalog-header__svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M9.16667 14.6667H1.83333V4.66667H9.16667H10.5H15.1667V14.6667L10.5 14.6667L10.5 9.33333H9.16667V14.6667ZM9.16667 16H0.5V4.66667V3.33333V0H1.83333H9.16667H9.5H10.5V3.33333H16.5V16H13.1667V14.6667H10.5V16H9.16667ZM9.16667 1.33333V3.33333H1.83333V1.33333H9.16667Z","fill","#08090A"],[1,"card__header"],["target","_blank",1,"card__title",3,"href"],[3,"metroStation","regionId"],["class","card-location__transport",3,"type",4,"ngIf"],["class","card-location__timing",4,"ngIf"],[1,"card-location__transport",3,"type"],[1,"card-location__timing"],[1,"card-location__address"],[1,"card-timing__name"],[1,"card-timing__value"],[1,"card-layout"],[1,"card-layout__name"],[1,"card-layout__dots"],[1,"card-layout__price"]],template:function(e,t){1&e&&i["\u0275\u0275template"](0,gt,27,25,"ng-container",0),2&e&&i["\u0275\u0275property"]("ngIf",t.card)},directives:[l.m,_e.a,be.a],pipes:[Ee.a,ke.a,_.a],styles:['@keyframes gradient{0%{left:-100%}to{left:100%}}@keyframes spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}[_nghost-%COMP%]{--border-radius-mobile:6px;position:relative;display:flex;align-items:flex-start}@media screen and (max-width:1023px){[_nghost-%COMP%]{flex-direction:column;align-items:center;border-radius:var(--border-radius-mobile);overflow:hidden}}.hide__card[_nghost-%COMP%]{display:none}.card__aside[_ngcontent-%COMP%]{flex-shrink:0;position:relative;width:320px;overflow:hidden;background-color:RGB(var(--tertiary-bg-color))}.card__aside[_ngcontent-%COMP%]:before{content:"";display:block;width:100px;height:100%;background-image:linear-gradient(90deg,RGB(var(--white-color),0) 0,RGB(var(--white-color),.671875) 51.04%,RGB(var(--white-color),0) 100%);position:absolute;top:0;left:-116px;animation:gradient 3s linear .2s infinite running;will-change:left;z-index:1}.card__aside[_ngcontent-%COMP%]:after{content:"";display:block;width:100%;padding-bottom:66%}@media screen and (max-width:1023px){.card__aside[_ngcontent-%COMP%]{width:calc(100%);height:160px}}@media screen and (max-width:640px){.card__aside[_ngcontent-%COMP%]{width:100%;height:auto}}.card__aside_load[_ngcontent-%COMP%]{background-color:initial}.card__aside_load[_ngcontent-%COMP%]:before{content:none}.card__image[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;top:0;left:0;object-fit:cover;object-position:center;border-radius:4px 0 0 4px}@media screen and (max-width:1023px){.card__image[_ngcontent-%COMP%]{border-radius:4px 4px 0 0}}.card__body[_ngcontent-%COMP%]{flex-grow:1;width:100%;padding:24px;box-sizing:border-box}@media screen and (max-width:1023px){.card__body[_ngcontent-%COMP%]{padding:16px;padding-bottom:16px}}.card__header[_ngcontent-%COMP%]{grid-area:header}.card__title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;line-height:125%;color:RGB(var(--color-contrast-750,56,55,54));text-decoration:none}.card__info[_ngcontent-%COMP%]{height:100%;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:23px auto;grid-template-areas:"header header layout" "location timing layout";gap:8px 16px}@media screen and (max-width:1023px){.card__info[_ngcontent-%COMP%]{grid-template-columns:1fr;grid-template-areas:"header" "location" "timing" "layout";gap:12px}}.card__location[_ngcontent-%COMP%]{grid-area:location}.card__timing[_ngcontent-%COMP%]{grid-area:timing}.card__layout[_ngcontent-%COMP%]{grid-area:layout}@media screen and (max-width:1023px){.card__layout[_ngcontent-%COMP%]{display:flex;width:100%;flex-direction:column;justify-content:space-between}}.card-layout[_ngcontent-%COMP%], .card__info-item[_ngcontent-%COMP%]{font-size:14px;line-height:145%}.card-layout[_ngcontent-%COMP%]:not(:last-of-type), .card__info-item[_ngcontent-%COMP%]:not(:last-of-type){margin-bottom:4px}.card-location__timing[_ngcontent-%COMP%]{color:RGB(var(--shadow-blue-color));white-space:nowrap}.card-location__transport[_ngcontent-%COMP%]{display:inline-block;position:relative;top:2px;width:14px;height:14px;margin-left:6px;margin-right:8px;color:RGB(var(--shadow-blue-color))}.card-map[_ngcontent-%COMP%]{color:RGB(var(--color-accent-80,5,110,234));text-decoration:none;cursor:pointer}.card-timing__name[_ngcontent-%COMP%]{color:RGB(var(--shadow-blue-color))}.card-layout[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;position:relative;white-space:nowrap;break-inside:avoid-column}.card-layout_button[_ngcontent-%COMP%]{width:100%;margin-top:18px;break-inside:avoid-column;text-decoration:none}.card-layout__name[_ngcontent-%COMP%]{position:relative;padding-right:6px}.card-layout__dots[_ngcontent-%COMP%]{position:relative;top:1px;width:100%;border-bottom:1px dotted rgb(var(--shadow-blue-color))}.card-layout__price[_ngcontent-%COMP%]{position:relative;padding-left:6px;white-space:nowrap}.catalog-header__btn-send[_ngcontent-%COMP%]{display:inline-block;position:relative;border:0;font-weight:500;line-height:20px;text-decoration:none;cursor:pointer;border-radius:6px;font-size:14px;line-height:145%;background-color:RGB(var(--violet-10));padding:8px 10px;display:inline-flex;align-items:center;justify-content:center;min-height:36px;opacity:1;color:RGB(var(--color-contrast-750,56,55,54));flex-shrink:0;width:100%}.catalog-header__btn-send[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;display:block;width:100%;height:100%;background-color:RGB(var(--color-contrast-750,56,55,54),.05);opacity:0;transition:opacity .3s}.catalog-header__btn-send[_ngcontent-%COMP%]:hover:before{opacity:1}.catalog-header__btn-send[_ngcontent-%COMP%]:disabled{background-color:RGB(var(--violet-5));color:RGB(var(--violet-40));pointer-events:none;box-shadow:inset 0 0 0 1px RGB(var(--black-10));cursor:default}.catalog-header__btn-send[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{position:relative}.catalog-header__btn-send[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{padding-right:10px}@media screen and (max-width:1023px){.catalog-header__btn-send[_ngcontent-%COMP%]{width:100%}}.catalog-header__svg[_ngcontent-%COMP%]{line-height:0;margin-right:9px}'],changeDetection:0}),e})();var bt=n("SsCj");let vt=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["catalog-card-loader"]],decls:19,vars:0,consts:[[1,"card__aside"],[1,"card__body"],[1,"card__header"],[1,"card__title"],[1,"card__info"],[1,"card__location"],[1,"card__info-item"],[1,"card__timing"],[1,"card__layout"],[1,"card-layout"]],template:function(e,t){1&e&&(i["\u0275\u0275element"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275elementStart"](2,"header",2),i["\u0275\u0275element"](3,"div",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",4),i["\u0275\u0275elementStart"](5,"div",5),i["\u0275\u0275element"](6,"div",6),i["\u0275\u0275element"](7,"div",6),i["\u0275\u0275element"](8,"div",6),i["\u0275\u0275element"](9,"div",6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div",7),i["\u0275\u0275element"](11,"div",6),i["\u0275\u0275element"](12,"div",6),i["\u0275\u0275element"](13,"div",6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"div",8),i["\u0275\u0275element"](15,"div",9),i["\u0275\u0275element"](16,"div",9),i["\u0275\u0275element"](17,"div",9),i["\u0275\u0275element"](18,"div",9),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())},styles:['[_nghost-%COMP%]{position:relative;overflow:hidden;display:flex;align-items:flex-start}@media screen and (max-width:1023px){[_nghost-%COMP%]{flex-direction:column;align-items:center}}.card__aside[_ngcontent-%COMP%]{flex-shrink:0;position:relative;width:284px;background-color:RGB(var(--tertiary-bg-color))}.card__aside[_ngcontent-%COMP%]:before{content:"";display:block;width:100%;padding-bottom:66%}@media screen and (max-width:767px){.card__aside[_ngcontent-%COMP%]{width:100%}}.card__body[_ngcontent-%COMP%]{flex-grow:1;width:100%;padding:20px 20px 20px 16px;box-sizing:border-box}@media screen and (max-width:1023px){.card__body[_ngcontent-%COMP%]{padding:16px}}.card__header[_ngcontent-%COMP%]{margin-bottom:12px}.card__title[_ngcontent-%COMP%]{width:200px;height:22px;background-color:RGB(var(--tertiary-bg-color))}.card__info[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:auto;grid-template-areas:"location timing layout";gap:52px}@media screen and (max-width:1023px){.card__info[_ngcontent-%COMP%]{grid-template-columns:1fr;grid-template-areas:"location" "timing" "layout";gap:12px}}.card-layout[_ngcontent-%COMP%], .card__info-item[_ngcontent-%COMP%]{width:100%;height:17px;background-color:RGB(var(--tertiary-bg-color))}.card-layout[_ngcontent-%COMP%]:not(:first-of-type), .card__info-item[_ngcontent-%COMP%]:not(:first-of-type){margin-top:4px}'],changeDetection:0}),e})();function yt(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",6),i["\u0275\u0275element"](1,"switch-map-list",7),i["\u0275\u0275elementEnd"]())}function wt(e,t){if(1&e&&i["\u0275\u0275element"](0,"catalog-card",10),2&e){const e=t.$implicit,n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("card",e)("filtersQueryParams",n.filtersQueryParams)}}const xt=function(e){return{"catalog-list__list_alone":e}};function Ct(e,t){if(1&e&&(i["\u0275\u0275elementContainerStart"](0),i["\u0275\u0275elementStart"](1,"div",8),i["\u0275\u0275template"](2,wt,1,2,"catalog-card",9),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementContainerEnd"]()),2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](2,xt,1===e.renderList.length)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",e.renderList)}}function Ot(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"paginator",11),i["\u0275\u0275listener"]("changePage",function(t){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().changeRenderPage(t)}),i["\u0275\u0275elementEnd"]()}if(2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("listSize",e.complexList.length)("pageSize",e.renderSize)("isScrollTop",e.isScrollTop)}}function St(e,t){1&e&&i["\u0275\u0275element"](0,"catalog-card-loader",14)}function kt(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275template"](1,St,1,0,"catalog-card-loader",13),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",e.skeletonList)}}let Et=(()=>{class e extends c.a{constructor(e,t,n,r){super(),this.route=e,this.filterService=t,this.switchMapServiceService=n,this.cd=r,this.isLoad=!1,this.complexList=[],this.renderList=[],this.renderSize=10,this.isScrollTop=!0,this.showMap=!1,this.pageNumber=0,this.subs=[this.route.queryParams.subscribe(e=>{e.frameListSize&&(this.renderSize=e.frameListSize,this.isScrollTop=!1),window.cpWidgetSettings&&(this.renderSize=window.cpWidgetSettings.listSize,this.isScrollTop=!1),this.skeletonList=new Array(this.renderSize)}),this.filterService.selectedFilters$.subscribe(e=>{this.filters=e})]}ngOnInit(){this.subs=[this.filterService.filteredComplexList$.subscribe(({complexList:e})=>{this.complexList=e.filter(e=>0!==e.complexId),this.updateRenderList(),this.cd.detectChanges()}),this.switchMapServiceService.isShowMap$.subscribe(e=>{this.showMap=e;const t=document.querySelector("#catalog");t&&t.scrollIntoView()}),this.filterService.selectedFilters$.subscribe(e=>{this.filters=e,this.filtersQueryParams=btoa(encodeURIComponent(JSON.stringify(e))),this.cd.detectChanges()})]}changeRenderPage(e){this.isLoad=!1,this.pageNumber=e-1,this.updateRenderList()}updateRenderList(){this.renderList=this.complexList.filter((e,t)=>t>=this.pageNumber*this.renderSize&&t<(this.pageNumber+1)*this.renderSize),this.isLoad=!0}setShowMap(e){this.switchMapServiceService.setShowMap(e)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](m.b),i["\u0275\u0275directiveInject"](m.i),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["catalog-list"]],hostVars:2,hostBindings:function(e,t){2&e&&i["\u0275\u0275classProp"]("catalog-list-load",t.isLoad)},features:[i["\u0275\u0275InheritDefinitionFeature"]],decls:8,vars:7,consts:[[1,"catalog-list"],[1,"catalog-list__title"],["class","show-map-button__wrap",4,"ngIf"],[4,"ngIf","ngIfElse"],["class","catalog-list__pagination",3,"listSize","pageSize","isScrollTop","changePage",4,"ngIf"],["loader",""],[1,"show-map-button__wrap"],[1,"switch-map-list"],[1,"catalog-list__list",3,"ngClass"],["class","catalog-list__card",3,"card","filtersQueryParams",4,"ngFor","ngForOf"],[1,"catalog-list__card",3,"card","filtersQueryParams"],[1,"catalog-list__pagination",3,"listSize","pageSize","isScrollTop","changePage"],[1,"catalog-list__list"],["class","catalog-list__card",4,"ngFor","ngForOf"],[1,"catalog-list__card"]],template:function(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"section",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275text"](2),i["\u0275\u0275template"](3,yt,2,0,"div",2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](4,Ct,3,4,"ng-container",3),i["\u0275\u0275template"](5,Ot,1,3,"paginator",4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](6,kt,2,1,"ng-template",null,5,i["\u0275\u0275templateRefExtractor"])),2&e){const e=i["\u0275\u0275reference"](7);i["\u0275\u0275advance"](1),i["\u0275\u0275classProp"]("catalog-list__title-loader",!t.isLoad),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" \u041d\u0430\u0439\u0434\u0435\u043d\u043e ",t.complexList.length," \u0416\u041a "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.isLoad),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.isLoad)("ngIfElse",e),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.complexList&&t.complexList.length>0)}},directives:[l.m,pe,l.k,l.l,_t,bt.a,vt],styles:['@keyframes gradient{0%{left:-100%}to{left:100%}}@keyframes spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}[_nghost-%COMP%]{--padding:32px 0 56px;position:relative;display:block;padding:var(--padding)}[_nghost-%COMP%]:before{content:"";display:block;width:100px;height:100%;background-image:linear-gradient(90deg,RGB(var(--white-color),0) 0,RGB(var(--white-color),.671875) 51.04%,RGB(var(--white-color),0) 100%);position:absolute;top:0;left:-116px;animation:gradient 3s linear .2s infinite running;will-change:left;z-index:1}@media screen and (max-width:1023px){[_nghost-%COMP%]{--padding:24px 0 56px;--padding-block:28px}}@media screen and (max-width:640px){[_nghost-%COMP%]{--padding-block:20px}}.catalog-list-load[_nghost-%COMP%]:before{content:none}.cp-insert[_nghost-%COMP%], .cp-insert   [_nghost-%COMP%]{--padding:28px 0 0}@media screen and (max-width:1023px){.cp-insert[_nghost-%COMP%], .cp-insert   [_nghost-%COMP%]{--padding:40px 0 0}}.cp-insert[_nghost-%COMP%]   .catalog-list[_ngcontent-%COMP%], .cp-insert   [_nghost-%COMP%]   .catalog-list[_ngcontent-%COMP%]{--padding:0}.catalog-list[_ngcontent-%COMP%]{--padding:40px;box-sizing:border-box;width:100%;max-width:1280px;margin-left:auto;margin-right:auto;padding-left:var(--padding);padding-right:var(--padding);display:grid;grid-template-columns:1fr;grid-template-rows:auto}@media screen and (max-width:1023px){.catalog-list[_ngcontent-%COMP%]{--padding:28px}}@media screen and (max-width:767px){.catalog-list[_ngcontent-%COMP%]{--padding:20px}}@media screen and (max-width:640px){.catalog-list[_ngcontent-%COMP%]{--padding:8px}}.catalog-list__list[_ngcontent-%COMP%]{margin-top:20px;display:grid;gap:16px}@media screen and (max-width:1023px){.catalog-list__list[_ngcontent-%COMP%]{flex-wrap:wrap;gap:24px;grid-template-columns:repeat(2,1fr);justify-content:center;margin-top:12px}}@media screen and (max-width:640px){.catalog-list__list[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:24px;justify-content:center}}@media screen and (max-width:1023px){.catalog-list__list_alone[_ngcontent-%COMP%]{justify-content:left}}.catalog-list__title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;line-height:125%;position:relative;align-items:center;display:inline-flex;color:RGB(var(--black-80))}@media screen and (max-width:1023px){.catalog-list__title[_ngcontent-%COMP%]{font-size:14px;line-height:145%;color:RGB(var(--black-60));font-weight:500}}.catalog-list__title-loader[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;background-color:RGB(var(--tertiary-bg-color));color:#0000}.catalog-list__card[_ngcontent-%COMP%]{--devider-indent:28px;width:100%;border:1px solid rgb(var(--tertiary-bg-color));border-radius:8px;position:relative}.catalog-list__card[_ngcontent-%COMP%]:before{content:"";position:absolute;display:block;width:100%}@media screen and (max-width:1023px){.catalog-list__card[_ngcontent-%COMP%]{--devider-indent:160px}.catalog-list__card[_ngcontent-%COMP%]:not(:first-of-type):before{content:none}}@media screen and (max-width:640px){.catalog-list__card[_ngcontent-%COMP%]{width:100%;max-width:100%}}.catalog-list__pagination[_ngcontent-%COMP%]{display:flex;justify-content:center;padding-top:16px}@media screen and (max-width:640px){.catalog-list__pagination[_ngcontent-%COMP%]{padding-bottom:50px}}.catalog-list__title_loader[_ngcontent-%COMP%]{height:22px;width:200px;background-color:RGB(var(--tertiary-bg-color))}.switch-map-list[_ngcontent-%COMP%]{z-index:1}@media screen and (max-width:1023px){.switch-map-list[_ngcontent-%COMP%]{display:none}}.show-map-button__wrap[_ngcontent-%COMP%]{margin-left:auto;z-index:1}'],changeDetection:0}),e})();const It=["list"],Pt=["openBtn"];function jt(e,t){1&e&&i["\u0275\u0275elementContainer"](0)}function Mt(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",9),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](e);const n=t.$implicit;return i["\u0275\u0275nextContext"](3).changeRegion(n.id)}),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit,n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275classProp"]("region-selector__item-btn_active",n.regionId===e.id),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](e.name)}}function Rt(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",6,7),i["\u0275\u0275template"](2,Mt,2,3,"button",8),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",e.regionList)}}function At(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementContainerStart"](0),i["\u0275\u0275elementStart"](1,"button",2,3),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().toggleMenu()}),i["\u0275\u0275template"](3,jt,1,0,"ng-container",4),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](5,Rt,3,1,"div",5),i["\u0275\u0275elementContainerEnd"]()}if(2&e){const e=i["\u0275\u0275nextContext"](),t=i["\u0275\u0275reference"](2);i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngTemplateOutlet",t),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",e.regionName," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.isShowMenu)}}function Tt(e,t){1&e&&(i["\u0275\u0275namespaceSVG"](),i["\u0275\u0275elementStart"](0,"svg",10),i["\u0275\u0275element"](1,"path",11),i["\u0275\u0275elementEnd"]())}let Dt=(()=>{class e extends c.a{constructor(e,t,n,r,i){super(),this.siteProService=e,this.filterService=t,this.router=n,this.route=r,this.cd=i,this.regionList=[],this.regionName=void 0,this.isShowMenu=!1,this.onClick=e=>{this.list&&!1===this.list.nativeElement.contains(e.target)&&this.isShowMenu&&this.btn.nativeElement!==e.target&&(this.isShowMenu=!1,this.cd.detectChanges())}}ngOnInit(){this.subs=[this.siteProService.data$.subscribe(e=>{this.regionList=this.sortViewRegions(e.regionGroupList),this.cd.detectChanges()}),this.filterService.regionId$.subscribe(e=>{this.regionId=e,this.regionName=this.getRegionName(),this.cd.detectChanges()})]}changeRegion(e){this.regionId=e,this.regionName=this.getRegionName(),this.filterService.setRegionId(e),this.isShowMenu=!1,this.router.navigate([],{relativeTo:this.route,queryParams:{regionId:e}}).then(),this.cd.detectChanges()}toggleMenu(){this.isShowMenu=!this.isShowMenu}getRegionName(){return this.regionList.length>0?this.regionList.filter(e=>e.id===this.regionId)[0].name:""}sortViewRegions(e){let t=[],n=[];return e.map(e=>{77===e.id||78===e.id?t=[...t,e]:n=[...n,e]}),[...t,...n]}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](m.h),i["\u0275\u0275directiveInject"](m.b),i["\u0275\u0275directiveInject"](s.b),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["region-selector"]],viewQuery:function(e,t){if(1&e&&(i["\u0275\u0275viewQuery"](It,1),i["\u0275\u0275viewQuery"](Pt,1)),2&e){let e;i["\u0275\u0275queryRefresh"](e=i["\u0275\u0275loadQuery"]())&&(t.list=e.first),i["\u0275\u0275queryRefresh"](e=i["\u0275\u0275loadQuery"]())&&(t.btn=e.first)}},hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("click",function(e){return t.onClick(e)},!1,i["\u0275\u0275resolveDocument"])},features:[i["\u0275\u0275InheritDefinitionFeature"]],decls:3,vars:1,consts:[[4,"ngIf"],["regionIcon",""],[1,"region-selector__toggle-btn",3,"click"],["openBtn",""],[4,"ngTemplateOutlet"],["class","region-selector__list",4,"ngIf"],[1,"region-selector__list"],["list",""],["class","region-selector__item-btn",3,"region-selector__item-btn_active","click",4,"ngFor","ngForOf"],[1,"region-selector__item-btn",3,"click"],["xmlns","http://www.w3.org/2000/svg","fill","none"],["fill-rule","evenodd","clip-rule","evenodd","d","M13.807 2.515a.25.25 0 0 0-.322-.322L2.452 6.331a.696.696 0 0 0 .044 1.318l3.988 1.196a1 1 0 0 1 .67.67l1.197 3.99a.696.696 0 0 0 1.318.043l4.138-11.033Z","fill","currentColor"]],template:function(e,t){1&e&&(i["\u0275\u0275template"](0,At,6,3,"ng-container",0),i["\u0275\u0275template"](1,Tt,2,0,"ng-template",null,1,i["\u0275\u0275templateRefExtractor"])),2&e&&i["\u0275\u0275property"]("ngIf",t.regionName)},directives:[l.m,l.r,l.l],styles:["[_nghost-%COMP%]{display:inline-block;position:relative}.region-selector__toggle-btn[_ngcontent-%COMP%]{font-size:14px;line-height:145%;display:flex;align-items:center;gap:8px;padding:8px 12px;border:0;border-radius:8px;background-color:RGB(var(--accent-5));font-weight:500;color:RGB(var(--accent-80));cursor:pointer;transition:all .3s}.region-selector__toggle-btn[_ngcontent-%COMP%]:hover{background-color:RGB(var(--accent-10))}.region-selector__toggle-btn[_ngcontent-%COMP%]:active{background-color:RGB(var(--accent-20))}.region-selector__toggle-btn[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{--size:16px;width:var(--size);height:var(--size)}.region-selector__list[_ngcontent-%COMP%]{position:absolute;top:calc(100% + 4px);left:0;z-index:100000000000;display:inline-flex;flex-direction:column;min-width:200px;background-color:RGB(var(--color-contrast-0,255,255,255));box-shadow:0 1px 10px RGB(var(--color-contrast-1000,0,0,0),.1);border-radius:8px;padding:8px 0}.region-selector__item-btn[_ngcontent-%COMP%]{font-size:14px;line-height:145%;padding:12px;border:0;background-color:initial;color:RGB(var(--black-80));cursor:pointer;transition:all .3s}.region-selector__item-btn[_ngcontent-%COMP%]:hover{background-color:RGB(var(--violet-10))}.region-selector__item-btn[_ngcontent-%COMP%]:active{background-color:RGB(var(--violet-20))}.region-selector__item-btn_active[_ngcontent-%COMP%]{background-color:RGB(var(--violet-5))}"],changeDetection:0}),e})();function Ft(e,t){1&e&&i["\u0275\u0275elementContainer"](0)}function Lt(e,t){1&e&&i["\u0275\u0275element"](0,"app-map-full")}function Nt(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"catalog-list"),i["\u0275\u0275elementEnd"]())}function Vt(e,t){if(1&e&&(i["\u0275\u0275elementContainerStart"](0),i["\u0275\u0275elementStart"](1,"app-header",3),i["\u0275\u0275element"](2,"view-switcher-mobile",4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"main",5),i["\u0275\u0275elementStart"](4,"catalog-header"),i["\u0275\u0275template"](5,Ft,1,0,"ng-container",6),i["\u0275\u0275element"](6,"catalog-filter",7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](7,Lt,1,0,"app-map-full",8),i["\u0275\u0275template"](8,Nt,2,0,"div",8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](9,"scroll-top-btn"),i["\u0275\u0275elementContainerEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](),t=i["\u0275\u0275reference"](4);i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngTemplateOutlet",t),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",e.showMap),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!e.showMap)}}function Bt(e,t){1&e&&i["\u0275\u0275elementContainer"](0)}function zt(e,t){1&e&&i["\u0275\u0275element"](0,"app-map-full",10)}function Ht(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"catalog-list"),i["\u0275\u0275elementEnd"]())}function Ut(e,t){if(1&e&&(i["\u0275\u0275element"](0,"view-switcher-mobile",4),i["\u0275\u0275template"](1,Bt,1,0,"ng-container",6),i["\u0275\u0275element"](2,"catalog-filter",7),i["\u0275\u0275template"](3,zt,1,0,"app-map-full",9),i["\u0275\u0275template"](4,Ht,2,0,"div",8)),2&e){const e=i["\u0275\u0275nextContext"](),t=i["\u0275\u0275reference"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngTemplateOutlet",t),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",e.showMap),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!e.showMap)}}function $t(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275element"](1,"region-selector"),i["\u0275\u0275elementEnd"]())}function Gt(e,t){if(1&e&&i["\u0275\u0275template"](0,$t,2,0,"div",11),2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngIf",e.isShowRegionFilter)}}const Wt=[{path:"",component:(()=>{class e extends c.a{constructor(e,t,n,r,i,o,s,a){super(),this.layoutService=e,this.siteProService=t,this.ecatalogService=n,this.filterService=r,this.switchMapServiceService=i,this.router=o,this.route=s,this.cd=a,this.showMap=!1,this.isShowRegionFilter=!1,this.regionId=void 0,this.isInsert=!1}ngOnInit(){this.subs=[this.route.queryParams.pipe(Object(u.a)(1),Object(d.a)(e=>{this.isInsert=!("true"!==e.isFrame&&!window.cpWidgetSettings),this.regionId=e.regionId?parseInt(e.regionId,10):void 0}),Object(h.a)(e=>Object(f.a)([this.siteProService.data$]))).subscribe(([e])=>{this.isShowRegionFilter=e.regionGroupList.length>1,this.regionId?this.filterService.setRegionId(this.regionId):this.initRegion(e.defaultRegionGroupId),this.cd.detectChanges()}),this.filterService.regionId$.pipe(Object(u.a)(1)).subscribe(()=>{this.ecatalogService.fetchComplexList(1,1e3)}),Object(f.a)([this.ecatalogService.complexFullRegionList$,this.filterService.regionId$]).subscribe(([{complexList:e},t])=>{e=e.filter(e=>e.regionGroupId===t),this.filterService.setFullComplexList({count:e.length,complexList:e}),this.ecatalogService.updateComplexList({count:e.length,complexList:e}),this.filterService.initFilters()}),this.switchMapServiceService.isShowMap$.subscribe(e=>{this.showMap=e})],this.initPage()}initRegion(e){this.regionId?(this.filterService.setRegionId(this.regionId),this.filterService.initFilters()):(this.filterService.setRegionId(e),this.filterService.initFilters(),this.router.navigate([],{relativeTo:this.route,queryParams:{regionId:e}}))}initPage(){this.isInsert||(this.subs=[this.siteProService.data$.pipe(Object(p.a)("title")).subscribe(e=>{this.layoutService.setTitle(e)})])}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](m.d),i["\u0275\u0275directiveInject"](m.h),i["\u0275\u0275directiveInject"](m.a),i["\u0275\u0275directiveInject"](m.b),i["\u0275\u0275directiveInject"](m.i),i["\u0275\u0275directiveInject"](s.b),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["ng-component"]],hostVars:2,hostBindings:function(e,t){2&e&&i["\u0275\u0275classProp"]("cp-insert",t.isInsert)},features:[i["\u0275\u0275InheritDefinitionFeature"]],decls:5,vars:2,consts:[[4,"ngIf","ngIfElse"],["widget",""],["headerFilters",""],[1,"page__header"],[1,"page__view-switcher-mobile"],[1,"page__main"],[4,"ngTemplateOutlet"],[1,"page__filters"],[4,"ngIf"],["class","page__widget_map",4,"ngIf"],[1,"page__widget_map"],["class","page__header-filters",4,"ngIf"],[1,"page__header-filters"]],template:function(e,t){if(1&e&&(i["\u0275\u0275template"](0,Vt,10,3,"ng-container",0),i["\u0275\u0275template"](1,Ut,5,3,"ng-template",null,1,i["\u0275\u0275templateRefExtractor"]),i["\u0275\u0275template"](3,Gt,1,1,"ng-template",null,2,i["\u0275\u0275templateRefExtractor"])),2&e){const e=i["\u0275\u0275reference"](2);i["\u0275\u0275property"]("ngIf",!t.isInsert)("ngIfElse",e)}},directives:[l.m,g.a,J,re,l.r,ue,de.a,nt,Et,Dt],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;min-height:100vh}.page__header[_ngcontent-%COMP%]{position:sticky;top:0;z-index:10010;flex-shrink:0}.page__main[_ngcontent-%COMP%]{flex-grow:1;display:flex;flex-direction:column}.cp-insert[_nghost-%COMP%], .cp-insert   [_nghost-%COMP%]{min-height:auto}  .page__header-filters{margin-bottom:32px}@media screen and (max-width:767px){  .page__header-filters{margin-bottom:20px}}  .catalog-header_minimize .page__header-filters{margin-top:16px;margin-bottom:12px}@media screen and (max-width:1023px){.page__filters[_ngcontent-%COMP%]{display:none}}.page__view-switcher-mobile[_ngcontent-%COMP%]{display:none;z-index:2;left:0}@media screen and (max-width:1023px){.page__view-switcher-mobile[_ngcontent-%COMP%]{display:flex}}.page__widget_map[_ngcontent-%COMP%]{height:1000px}"],changeDetection:0}),e})()}];let Yt=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[[s.d.forChild(Wt)],s.d]}),e})();var qt=n("YwCB"),Zt=n("lDRY"),Qt=n("pFkP"),Xt=n("Utyn"),Kt=n("4iSV"),Jt=n("JUsA"),en=n("nZVP"),tn=n("rJgo"),nn=n("wAoj"),rn=n("pMoy"),on=n("o4Yh"),sn=n("zQhy"),an=n("ZAkL");let ln=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[[l.c,Qt.i,Qt.a,Qt.f,Qt.d,Qt.k,Zt.a,Qt.c,an.a]]}),e})(),cn=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[[l.c,Qt.i,Qt.a,Qt.f,Qt.d,Qt.k,Zt.a,an.a]]}),e})(),un=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[[l.c]]}),e})();const dn={suppressScrollX:!0};let hn=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({providers:[{provide:me.a,useValue:dn}],imports:[[me.c,l.c,cn,ln,fe.a,un]]}),e})(),pn=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[[l.c,Yt,qt.a,Zt.a,Xt.a,Kt.a,Qt.i,Qt.a,Qt.f,Qt.d,Qt.b,b.ReactiveFormsModule,Jt.a,F.d,L.b,en.a,T.b,tn.a,D.TextMaskModule,nn.a,M.d,rn.b,on.a,sn.a,hn,un,Qt.c,an.a]]}),e})(),fn=[];window.cpWidgetSettings?(fn=window.cpWidgetSettings.insertRoutes.map(e=>({path:e,loadChildren:()=>pn})),fn=[...fn,{path:"**",canActivate:[a]}]):fn=[{path:"",loadChildren:()=>pn},{path:"complex/:id",loadChildren:()=>n.e(2).then(n.bind(null,"/xtu")).then(e=>e.ComplexPageModule)},{path:"complex/:id/:filter",loadChildren:()=>n.e(2).then(n.bind(null,"/xtu")).then(e=>e.ComplexPageModule)},{path:"**",loadChildren:()=>n.e(3).then(n.bind(null,"eKI7")).then(e=>e.ErrorPageModule)}];let mn=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({providers:[a],imports:[[s.d.forRoot(fn)],s.d]}),e})();var gn=n("1O3W"),_n=n("1z/I"),bn=n("omvX"),vn=n("YEUz");const yn=["mat-button",""],wn=["*"],xn=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class Cn{constructor(e){this._elementRef=e}}const On=Object(N.l)(Object(N.n)(Object(N.m)(Cn)));let Sn=(()=>{class e extends On{constructor(e,t,n){super(e),this._focusMonitor=t,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const r of xn)this._hasHostAttributes(r)&&this._getHostElement().classList.add(r);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,t){e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(e=>this._getHostElement().hasAttribute(e))}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](vn.c),i["\u0275\u0275directiveInject"](bn.a,8))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,t){if(1&e&&i["\u0275\u0275viewQuery"](N.h,1),2&e){let e;i["\u0275\u0275queryRefresh"](e=i["\u0275\u0275loadQuery"]())&&(t.ripple=e.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(i["\u0275\u0275attribute"]("disabled",t.disabled||null),i["\u0275\u0275classProp"]("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[i["\u0275\u0275InheritDefinitionFeature"]],attrs:yn,ngContentSelectors:wn,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(i["\u0275\u0275projectionDef"](),i["\u0275\u0275elementStart"](0,"span",0),i["\u0275\u0275projection"](1),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](2,"span",1),i["\u0275\u0275element"](3,"span",2)),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275classProp"]("mat-button-ripple-round",t.isRoundButton||t.isIconButton),i["\u0275\u0275property"]("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[N.h],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),e})(),kn=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[[N.i,N.d],N.d]}),e})();var En=n("XNiG"),In=n("1G5W"),Pn=n("GS7A"),jn=n("8LU1"),Mn=n("GyhO"),Rn=n("HDdC"),An=n("SCoL");const Tn=new Set;let Dn,Fn=(()=>{class e{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ln}matchMedia(e){return this._platform.WEBKIT&&function(e){if(!Tn.has(e))try{Dn||(Dn=document.createElement("style"),Dn.setAttribute("type","text/css"),document.head.appendChild(Dn)),Dn.sheet&&(Dn.sheet.insertRule(`@media ${e} {.fx-query-test{ }}`,0),Tn.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](An.a))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(An.a))},token:e,providedIn:"root"}),e})();function Ln(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let Nn=(()=>{class e{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new En.a}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Vn(Object(jn.a)(e)).some(e=>this._registerQuery(e).mql.matches)}observe(e){const t=Vn(Object(jn.a)(e)).map(e=>this._registerQuery(e).observable);let n=Object(f.a)(t);return n=Object(Mn.a)(n.pipe(Object(u.a)(1)),n.pipe(O(1),Object(I.a)(0))),n.pipe(Object(x.a)(e=>{const t={matches:!1,breakpoints:{}};return e.forEach(({matches:e,query:n})=>{t.matches=t.matches||e,t.breakpoints[n]=e}),t}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),n={observable:new Rn.a(e=>{const n=t=>this._zone.run(()=>e.next(t));return t.addListener(n),()=>{t.removeListener(n)}}).pipe(Object(w.a)(t),Object(x.a)(({matches:t})=>({query:e,matches:t})),Object(In.a)(this._destroySubject)),mql:t};return this._queries.set(e,n),n}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](Fn),i["\u0275\u0275inject"](i.NgZone))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(Fn),Object(i["\u0275\u0275inject"])(i.NgZone))},token:e,providedIn:"root"}),e})();function Vn(e){return e.map(e=>e.split(",")).reduce((e,t)=>e.concat(t)).map(e=>e.trim())}function Bn(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",1),i["\u0275\u0275elementStart"](1,"button",2),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().action()}),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](e.data.action)}}function zn(e,t){}const Hn=new i.InjectionToken("MatSnackBarData");class Un{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const $n=Math.pow(2,31)-1;class Gn{constructor(e,t){this._overlayRef=t,this._afterDismissed=new En.a,this._afterOpened=new En.a,this._onAction=new En.a,this._dismissedByAction=!1,this.containerInstance=e,this.onAction().subscribe(()=>this.dismiss()),e._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(e){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(e,$n))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}let Wn=(()=>{class e{constructor(e,t){this.snackBarRef=e,this.data=t}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](Gn),i["\u0275\u0275directiveInject"](Hn))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](2,Bn,3,1,"div",0)),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](t.data.message),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.hasAction))},directives:[l.m,Sn],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}\n"],encapsulation:2,changeDetection:0}),e})();const Yn={snackBarState:Object(Pn.l)("state",[Object(Pn.i)("void, hidden",Object(Pn.j)({transform:"scale(0.8)",opacity:0})),Object(Pn.i)("visible",Object(Pn.j)({transform:"scale(1)",opacity:1})),Object(Pn.k)("* => visible",Object(Pn.e)("150ms cubic-bezier(0, 0, 0.2, 1)")),Object(Pn.k)("* => void, * => hidden",Object(Pn.e)("75ms cubic-bezier(0.4, 0.0, 1, 1)",Object(Pn.j)({opacity:0})))])};let qn=(()=>{class e extends _n.a{constructor(e,t,n,r,i){super(),this._ngZone=e,this._elementRef=t,this._changeDetectorRef=n,this._platform=r,this.snackBarConfig=i,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new En.a,this._onExit=new En.a,this._onEnter=new En.a,this._animationState="void",this.attachDomPortal=e=>(this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachDomPortal(e)),this._live="assertive"!==i.politeness||i.announcementMessage?"off"===i.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(e){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(e)}onAnimationEnd(e){const{fromState:t,toState:n}=e;if(("void"===n&&"void"!==t||"hidden"===n)&&this._completeExit(),"visible"===n){const e=this._onEnter;this._ngZone.run(()=>{e.next(),e.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(Object(u.a)(1)).subscribe(()=>{this._onExit.next(),this._onExit.complete()})}_applySnackBarClasses(){const e=this._elementRef.nativeElement,t=this.snackBarConfig.panelClass;t&&(Array.isArray(t)?t.forEach(t=>e.classList.add(t)):e.classList.add(t)),"center"===this.snackBarConfig.horizontalPosition&&e.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&e.classList.add("mat-snack-bar-top")}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),t=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&t){let n=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(n=document.activeElement),e.removeAttribute("aria-hidden"),t.appendChild(e),null==n||n.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.NgZone),i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef),i["\u0275\u0275directiveInject"](An.a),i["\u0275\u0275directiveInject"](Un))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["snack-bar-container"]],viewQuery:function(e,t){if(1&e&&i["\u0275\u0275viewQuery"](_n.b,3),2&e){let e;i["\u0275\u0275queryRefresh"](e=i["\u0275\u0275loadQuery"]())&&(t._portalOutlet=e.first)}},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(e,t){1&e&&i["\u0275\u0275syntheticHostListener"]("@state.done",function(e){return t.onAnimationEnd(e)}),2&e&&i["\u0275\u0275syntheticHostProperty"]("@state",t._animationState)},features:[i["\u0275\u0275InheritDefinitionFeature"]],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275template"](1,zn,0,0,"ng-template",1),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](2,"div")),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275attribute"]("aria-live",t._live)("role",t._role))},directives:[_n.b],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[Yn.snackBarState]}}),e})(),Zn=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[[gn.f,_n.e,l.c,kn,N.d],N.d]}),e})();const Qn=new i.InjectionToken("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new Un}});let Xn=(()=>{class e{constructor(e,t,n,r,i,o){this._overlay=e,this._live=t,this._injector=n,this._breakpointObserver=r,this._parentSnackBar=i,this._defaultConfig=o,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=Wn,this.snackBarContainerComponent=qn,this.handsetCssClass="mat-snack-bar-handset"}get _openedSnackBarRef(){const e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}openFromComponent(e,t){return this._attach(e,t)}openFromTemplate(e,t){return this._attach(e,t)}open(e,t="",n){const r=Object.assign(Object.assign({},this._defaultConfig),n);return r.data={message:e,action:t},r.announcementMessage===e&&(r.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,r)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,t){const n=i.Injector.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:Un,useValue:t}]}),r=new _n.c(this.snackBarContainerComponent,t.viewContainerRef,n),o=e.attach(r);return o.instance.snackBarConfig=t,o.instance}_attach(e,t){const n=Object.assign(Object.assign(Object.assign({},new Un),this._defaultConfig),t),r=this._createOverlay(n),o=this._attachSnackBarContainer(r,n),s=new Gn(o,r);if(e instanceof i.TemplateRef){const t=new _n.f(e,null,{$implicit:n.data,snackBarRef:s});s.instance=o.attachTemplatePortal(t)}else{const t=this._createInjector(n,s),r=new _n.c(e,void 0,t),i=o.attachComponentPortal(r);s.instance=i.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(Object(In.a)(r.detachments())).subscribe(e=>{const t=r.overlayElement.classList;e.matches?t.add(this.handsetCssClass):t.remove(this.handsetCssClass)}),n.announcementMessage&&o._onAnnounce.subscribe(()=>{this._live.announce(n.announcementMessage,n.politeness)}),this._animateSnackBar(s,n),this._openedSnackBarRef=s,this._openedSnackBarRef}_animateSnackBar(e,t){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),t.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),t.duration&&t.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(t.duration))}_createOverlay(e){const t=new gn.d;t.direction=e.direction;let n=this._overlay.position().global();const r="rtl"===e.direction,i="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!r||"end"===e.horizontalPosition&&r,o=!i&&"center"!==e.horizontalPosition;return i?n.left("0"):o?n.right("0"):n.centerHorizontally(),"top"===e.verticalPosition?n.top("0"):n.bottom("0"),t.positionStrategy=n,this._overlay.create(t)}_createInjector(e,t){return i.Injector.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:Gn,useValue:t},{provide:Hn,useValue:e.data}]})}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](gn.c),i["\u0275\u0275inject"](vn.f),i["\u0275\u0275inject"](i.Injector),i["\u0275\u0275inject"](Nn),i["\u0275\u0275inject"](e,12),i["\u0275\u0275inject"](Qn))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(gn.c),Object(i["\u0275\u0275inject"])(vn.f),Object(i["\u0275\u0275inject"])(i.INJECTOR),Object(i["\u0275\u0275inject"])(Nn),Object(i["\u0275\u0275inject"])(e,12),Object(i["\u0275\u0275inject"])(Qn))},token:e,providedIn:Zn}),e})();function Kn(e,t){if(1&e&&(i["\u0275\u0275elementContainerStart"](0),i["\u0275\u0275element"](1,"div",1),i["\u0275\u0275elementContainerEnd"]()),2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("innerHTML",e.scriptContent,i["\u0275\u0275sanitizeHtml"])}}let Jn=(()=>{class e extends c.a{constructor(e,t,n,r,i){super(),this.siteProService=e,this.sanitizer=t,this.renderer=n,this.document=r,this.cd=i,this.scriptsList=[],this.startString="<script",this.endString="/script>"}fetchScripts(e){if(e&&e.indexOf(this.startString)>=0){const t=this.addScriptItem(e);this.fetchScripts(t)}else this.scriptContent=e}addScriptItem(e){const t=this.getScriptSubstringPosition(e);return this.scriptsList=[...this.scriptsList,this.getScriptContent(e.substring(t[0],t[1]))],e.substring(0,t[0])+e.substring(t[1])}getScriptContent(e){return e.substring(8,e.length-9)}getScriptSubstringPosition(e){return[e.indexOf(this.startString),e.indexOf(this.endString)+8]}appendScripts(){this.scriptsList.length>0&&this.scriptsList.forEach(e=>{const t=this.renderer.createElement("script");this.renderer.setProperty(t,"text",e),this.renderer.appendChild(this.document.body,t)})}ngOnInit(){this.subs=[this.siteProService.data$.pipe(Object(p.a)("javaScript")).subscribe(e=>{this.document.getElementById("site-pro-metrics")||(this.fetchScripts(e),this.appendScripts(),this.cd.detectChanges())})]}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](m.h),i["\u0275\u0275directiveInject"](r.DomSanitizer),i["\u0275\u0275directiveInject"](i.Renderer2),i["\u0275\u0275directiveInject"](l.d),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["metrics"]],features:[i["\u0275\u0275InheritDefinitionFeature"]],decls:1,vars:1,consts:[[4,"ngIf"],[3,"innerHTML"]],template:function(e,t){1&e&&i["\u0275\u0275template"](0,Kn,2,1,"ng-container",0),2&e&&i["\u0275\u0275property"]("ngIf",t.scriptContent)},directives:[l.m],styles:["[_nghost-%COMP%]{display:block;height:0;overflow:hidden;opacity:0;z-index:-1}"],changeDetection:0}),e})(),er=(()=>{class e extends c.a{constructor(e,t,n){super(),this.siteProService=e,this.notificationService=t,this.snackBar=n}ngOnInit(){this.siteProService.fetchData(),Object(P.i)("--window-height",`${window.innerHeight}px`),this.subs=[this.siteProService.data$.subscribe(e=>{Object(P.i)("--brand-color",Object(P.e)(e.color))}),this.notificationService.notifications$.subscribe(e=>{this.snackBar.open(e.msg,"",{panelClass:e.isSuccess?["cp-snack-bar","cp-snack-bar_success"]:["cp-snack-bar","cp-snack-bar_error"]})})]}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](m.h),i["\u0275\u0275directiveInject"](m.g),i["\u0275\u0275directiveInject"](Xn))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["cp-root"]],features:[i["\u0275\u0275InheritDefinitionFeature"]],decls:2,vars:0,template:function(e,t){1&e&&(i["\u0275\u0275element"](0,"metrics"),i["\u0275\u0275element"](1,"router-outlet"))},directives:[Jn,s.e],encapsulation:2,changeDetection:0}),e})(),tr=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[[l.c]]}),e})();const nr=0===window.location.pathname.indexOf("/catalog")?"/catalog/":"/";let rr=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e,bootstrap:[er]}),e.\u0275inj=i["\u0275\u0275defineInjector"]({providers:[{provide:l.a,useValue:nr},{provide:Qn,useValue:{duration:3e3,verticalPosition:"top",horizontalPosition:"center",panelClass:["cp-dialog-pane","cp-snack-bar"]}},{provide:gn.e,useClass:c.b}],imports:[[r.BrowserModule,mn,o.b,bn.b,Zn,pn,tr]]}),e})();Object(i.enableProdMode)(),r.platformBrowser().bootstrapModule(rr).catch(e=>console.error(e))},zn8P:function(e,t){function n(e){return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"},zx2A:function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return a}),n.d(t,"c",function(){return l});var r=n("7o/Q"),i=n("HDdC"),o=n("SeVD");class s extends r.a{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class a extends r.a{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function l(e,t){if(t.closed)return;if(e instanceof i.a)return e.subscribe(t);let n;try{n=Object(o.a)(e)(t)}catch(r){t.error(r)}return n}}},[[0,0]]]);