webpackJsonp([0],{"+3/4":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("TToO"),i=function(t){function e(e){t.call(this),this.scheduler=e}return Object(r.__extends)(e,t),e.create=function(t){return new e(t)},e.dispatch=function(t){t.subscriber.complete()},e.prototype._subscribe=function(t){var n=this.scheduler;if(n)return n.schedule(e.dispatch,0,{subscriber:t});t.complete()},e}(n("YaPU").Observable)},"+3sH":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("L9Tr"),i=n("z2AX"),o=n("sXN4");function s(t){return null===t||void 0===t}e.setColumnDefaults=function(t){if(t)for(var e=0,n=t;e=2?function(n){return Object(s.a)(Object(r.a)(t,e),Object(i.a)(1),Object(o.a)(e))(n)}:function(e){return Object(s.a)(Object(r.a)(function(e,n,r){return t(e,n,r+1)}),Object(i.a)(1))(e)}};var r=n("E5SG"),i=n("T1Dh"),o=n("2ESx"),s=n("f9aG")},"/CdD":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("WT6e"),i=n("veZJ");e.VgPlaybackButton=function(){function t(t,e){this.API=e,this.subscriptions=[],this.ariaValue=1,this.elem=t.nativeElement,this.playbackValues=["0.5","1.0","1.5","2.0"],this.playbackIndex=1}return t.prototype.ngOnInit=function(){var t=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe(function(){return t.onPlayerReady()}))},t.prototype.onPlayerReady=function(){this.target=this.API.getMediaById(this.vgFor)},t.prototype.onClick=function(){this.updatePlaybackSpeed()},t.prototype.onKeyDown=function(t){13!==t.keyCode&&32!==t.keyCode||(t.preventDefault(),this.updatePlaybackSpeed())},t.prototype.updatePlaybackSpeed=function(){this.playbackIndex=++this.playbackIndex%this.playbackValues.length,this.target instanceof i.VgAPI?this.target.playbackRate=this.playbackValues[this.playbackIndex]:this.target.playbackRate[this.vgFor]=this.playbackValues[this.playbackIndex]},t.prototype.getPlaybackRate=function(){return this.ariaValue=this.target?this.target.playbackRate:1,this.ariaValue},t.prototype.ngOnDestroy=function(){this.subscriptions.forEach(function(t){return t.unsubscribe()})},t.decorators=[{type:r.Component,args:[{selector:"vg-playback-button",encapsulation:r.ViewEncapsulation.None,template:'\n \n {{getPlaybackRate()}}x\n ',styles:["\n vg-playback-button {\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n display: flex;\n justify-content: center;\n height: 50px;\n width: 50px;\n cursor: pointer;\n color: white;\n line-height: 50px;\n font-family: Helvetica Neue, Helvetica, Arial, sans-serif;\n }\n\n vg-playback-button .button {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 50px;\n }\n "]}]}],t.propDecorators={vgFor:[{type:r.Input}],playbackValues:[{type:r.Input}],onClick:[{type:r.HostListener,args:["click"]}],onKeyDown:[{type:r.HostListener,args:["keydown",["$event"]]}]},t}()},"/UE+":function(t,e,n){"use strict";var r=n("TToO").__decorate;Object.defineProperty(e,"__esModule",{value:!0});var i=n("WT6e");e.ProgressBarComponent=function(){return r([i.Component({selector:"datatable-progress",template:'\n
\n
\n
\n
\n
\n ',changeDetection:i.ChangeDetectionStrategy.OnPush})],function(){})}()},"/acl":function(t,e,n){"use strict";e.a=function(t){return!Object(r.a)(t)&&t-parseFloat(t)+1>=0};var r=n("BX3T")},"/iUD":function(t,e,n){"use strict";e.a=function(t){return"function"==typeof t}},"/j9b":function(t,e,n){"use strict";var r=n("TToO").__decorate;Object.defineProperty(e,"__esModule",{value:!0});var i=n("WT6e"),o=n("Xjw4"),s=n("5hg6"),a=n("NQUu"),l=n("J/iR");e.NgxDatatableModule=function(){return r([i.NgModule({imports:[o.CommonModule],providers:[l.ScrollbarHelper,l.DimensionsHelper],declarations:[s.DataTableFooterTemplateDirective,a.VisibilityDirective,a.DraggableDirective,a.ResizeableDirective,a.OrderableDirective,a.LongPressDirective,s.ScrollerComponent,s.DatatableComponent,s.DataTableColumnDirective,s.DataTableHeaderComponent,s.DataTableHeaderCellComponent,s.DataTableBodyComponent,s.DataTableFooterComponent,s.DataTablePagerComponent,s.ProgressBarComponent,s.DataTableBodyRowComponent,s.DataTableRowWrapperComponent,s.DatatableRowDetailDirective,s.DatatableGroupHeaderDirective,s.DatatableRowDetailTemplateDirective,s.DataTableBodyCellComponent,s.DataTableSelectionComponent,s.DataTableColumnHeaderDirective,s.DataTableColumnCellDirective,s.DatatableFooterDirective,s.DatatableGroupHeaderTemplateDirective],exports:[s.DatatableComponent,s.DatatableRowDetailDirective,s.DatatableGroupHeaderDirective,s.DatatableRowDetailTemplateDirective,s.DataTableColumnDirective,s.DataTableColumnHeaderDirective,s.DataTableColumnCellDirective,s.DataTableFooterTemplateDirective,s.DatatableFooterDirective,s.DataTablePagerComponent,s.DatatableGroupHeaderTemplateDirective]})],function(){})}()},"/jm2":function(t,e,n){"use strict";var r=n("TToO").__decorate;Object.defineProperty(e,"__esModule",{value:!0});var i=n("WT6e");e.DimensionsHelper=function(){function t(){}return t.prototype.getDimensions=function(t){return t.getBoundingClientRect()},r([i.Injectable()],t)}()},"/nXB":function(t,e,n){"use strict";e.a=function(){for(var t=[],e=0;e1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof l&&(n=t.pop()),null===a&&1===t.length&&t[0]instanceof r.Observable?t[0]:Object(s.a)(n)(new i.a(t,a))};var r=n("YaPU"),i=n("Veqx"),o=n("1Q68"),s=n("8D5t")},0:function(t,e,n){t.exports=n("x35b")},"0FoY":function(t,e,n){"use strict";e.a=function(t,e,n){return function(r){return r.lift(new o(t,e,n))}};var r=n("TToO"),i=n("OVmG"),o=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.nextOrObserver,this.error,this.complete))},t}(),s=function(t){function e(e,n,r,o){t.call(this,e);var s=new i.a(n,r,o);s.syncErrorThrowable=!0,this.add(s),this.safeSubscriber=s}return Object(r.__extends)(e,t),e.prototype._next=function(t){var e=this.safeSubscriber;e.next(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.next(t)},e.prototype._error=function(t){var e=this.safeSubscriber;e.error(t),this.destination.error(e.syncErrorThrown?e.syncErrorValue:t)},e.prototype._complete=function(){var t=this.safeSubscriber;t.complete(),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.complete()},e}(i.a)},"0ORU":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("WT6e"),i=(n("veZJ"),n("LwKS"));e.VgPlayPause=function(){function t(t,e){this.API=e,this.subscriptions=[],this.ariaValue=i.VgStates.VG_PAUSED,this.elem=t.nativeElement}return t.prototype.ngOnInit=function(){var t=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe(function(){return t.onPlayerReady()}))},t.prototype.onPlayerReady=function(){this.target=this.API.getMediaById(this.vgFor)},t.prototype.onClick=function(){this.playPause()},t.prototype.onKeyDown=function(t){13!==t.keyCode&&32!==t.keyCode||(t.preventDefault(),this.playPause())},t.prototype.playPause=function(){switch(this.getState()){case i.VgStates.VG_PLAYING:this.target.pause();break;case i.VgStates.VG_PAUSED:case i.VgStates.VG_ENDED:this.target.play()}},t.prototype.getState=function(){return this.ariaValue=this.target?this.target.state:i.VgStates.VG_PAUSED,this.ariaValue},t.prototype.ngOnDestroy=function(){this.subscriptions.forEach(function(t){return t.unsubscribe()})},t.decorators=[{type:r.Component,args:[{selector:"vg-play-pause",encapsulation:r.ViewEncapsulation.None,template:'\n
\n
',styles:["\n vg-play-pause {\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n display: flex;\n justify-content: center;\n height: 50px;\n width: 50px;\n cursor: pointer;\n color: white;\n line-height: 50px;\n }\n\n vg-play-pause .icon {\n pointer-events: none;\n }\n "]}]}],t.propDecorators={vgFor:[{type:r.Input}],onClick:[{type:r.HostListener,args:["click"]}],onKeyDown:[{type:r.HostListener,args:["keydown",["$event"]]}]},t}()},"0P3J":function(t,e,n){"use strict";e.a=function(){return function(t){return t.lift(new o(t))}};var r=n("TToO"),i=n("OVmG"),o=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new s(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i},t}(),s=function(t){function e(e,n){t.call(this,e),this.connectable=n}return Object(r.__extends)(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(i.a)},"0RJd":function(t,e,n){"use strict";var r=n("TToO").__decorate,i=n("TToO").__metadata;Object.defineProperty(e,"__esModule",{value:!0});var o=n("WT6e");e.ScrollerComponent=function(){function t(t,e,n){this.ngZone=t,this.renderer=n,this.scrollbarV=!1,this.scrollbarH=!1,this.scroll=new o.EventEmitter,this.scrollYPos=0,this.scrollXPos=0,this.prevScrollYPos=0,this.prevScrollXPos=0,this.element=e.nativeElement}return t.prototype.ngOnInit=function(){var t=this;if(this.scrollbarV||this.scrollbarH){var e=this.renderer;this.parentElement=e.parentNode(e.parentNode(this.element)),this.ngZone.runOutsideAngular(function(){t.parentElement.addEventListener("scroll",t.onScrolled.bind(t))})}},t.prototype.ngOnDestroy=function(){(this.scrollbarV||this.scrollbarH)&&this.parentElement.removeEventListener("scroll",this.onScrolled.bind(this))},t.prototype.setOffset=function(t){this.parentElement&&(this.parentElement.scrollTop=t)},t.prototype.onScrolled=function(t){var e=this,n=t.currentTarget;requestAnimationFrame(function(){e.scrollYPos=n.scrollTop,e.scrollXPos=n.scrollLeft,e.updateOffset()})},t.prototype.updateOffset=function(){var t;this.scrollYPosthis.prevScrollYPos&&(t="up"),this.scroll.emit({direction:t,scrollYPos:this.scrollYPos,scrollXPos:this.scrollXPos}),this.prevScrollYPos=this.scrollYPos,this.prevScrollXPos=this.scrollXPos},r([o.Input(),i("design:type",Boolean)],t.prototype,"scrollbarV",void 0),r([o.Input(),i("design:type",Boolean)],t.prototype,"scrollbarH",void 0),r([o.HostBinding("style.height.px"),o.Input(),i("design:type",Number)],t.prototype,"scrollHeight",void 0),r([o.HostBinding("style.width.px"),o.Input(),i("design:type",Number)],t.prototype,"scrollWidth",void 0),r([o.Output(),i("design:type",o.EventEmitter)],t.prototype,"scroll",void 0),r([o.Component({selector:"datatable-scroller",template:"\n \n ",host:{class:"datatable-scroll"},changeDetection:o.ChangeDetectionStrategy.OnPush})],t)}()},"0dt4":function(t,e,n){"use strict";var r=this&&this.__assign||Object.assign||function(t){for(var e,n=1,r=arguments.length;n=e.maxWidth&&(t=e.maxWidth),this.resize.emit({column:e,prevValue:e.width,newValue:t})},t.prototype.onColumnReordered=function(t){this.reorder.emit({column:t.model,prevValue:t.prevIndex,newValue:t.newIndex})},t.prototype.onSort=function(t){var e=t.column,n=t.prevValue,r=t.newValue;if(!e.dragging){var i=this.calcNewSorts(e,n,r);this.sort.emit({sorts:i,column:e,prevValue:n,newValue:r})}},t.prototype.calcNewSorts=function(t,e,n){var i=0;this.sorts||(this.sorts=[]);var o=this.sorts.map(function(e,n){return(e=r({},e)).prop===t.prop&&(i=n),e});return void 0===n?o.splice(i,1):e?o[i].dir=n:(this.sortType===a.SortType.single&&o.splice(0,this.sorts.length),o.push({dir:n,prop:t.prop})),o},t.prototype.setStylesByGroup=function(){this._styleByGroup.left=this.calcStylesByGroup("left"),this._styleByGroup.center=this.calcStylesByGroup("center"),this._styleByGroup.right=this.calcStylesByGroup("right"),this.cd.detectChanges()},t.prototype.calcStylesByGroup=function(t){var e=this._columnGroupWidths,n={width:e[t]+"px"};return"center"===t?l.translateXY(n,-1*this.offsetX,0):"right"===t&&l.translateXY(n,-1*(e.total-this.innerWidth),0),n},i([s.Input(),o("design:type",Object)],t.prototype,"sortAscendingIcon",void 0),i([s.Input(),o("design:type",Object)],t.prototype,"sortDescendingIcon",void 0),i([s.Input(),o("design:type",Boolean)],t.prototype,"scrollbarH",void 0),i([s.Input(),o("design:type",Boolean)],t.prototype,"dealsWithGroup",void 0),i([s.Input(),o("design:type",Number),o("design:paramtypes",[Number])],t.prototype,"innerWidth",null),i([s.Input(),o("design:type",Array)],t.prototype,"sorts",void 0),i([s.Input(),o("design:type",String)],t.prototype,"sortType",void 0),i([s.Input(),o("design:type",Boolean)],t.prototype,"allRowsSelected",void 0),i([s.Input(),o("design:type",String)],t.prototype,"selectionType",void 0),i([s.Input(),o("design:type",Boolean)],t.prototype,"reorderable",void 0),i([s.HostBinding("style.height"),s.Input(),o("design:type",Object),o("design:paramtypes",[Object])],t.prototype,"headerHeight",null),i([s.Input(),o("design:type",Array),o("design:paramtypes",[Array])],t.prototype,"columns",null),i([s.Input(),o("design:type",Number),o("design:paramtypes",[Number])],t.prototype,"offsetX",null),i([s.Output(),o("design:type",s.EventEmitter)],t.prototype,"sort",void 0),i([s.Output(),o("design:type",s.EventEmitter)],t.prototype,"reorder",void 0),i([s.Output(),o("design:type",s.EventEmitter)],t.prototype,"resize",void 0),i([s.Output(),o("design:type",s.EventEmitter)],t.prototype,"select",void 0),i([s.Output(),o("design:type",Object)],t.prototype,"columnContextmenu",void 0),i([s.HostBinding("style.width"),o("design:type",String),o("design:paramtypes",[])],t.prototype,"headerWidth",null),i([s.Component({selector:"datatable-header",template:'\n \n \n \n \n \n \n ',host:{class:"datatable-header"},changeDetection:s.ChangeDetectionStrategy.OnPush})],t)}()},"17ct":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.asc="asc",t.desc="desc"}(e.SortDirection||(e.SortDirection={}))},"1Bqh":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("TToO"),i=function(t){function e(e,n){t.call(this),this.subject=e,this.subscriber=n,this.closed=!1}return Object(r.__extends)(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(n("VwZZ").a)},"1Q68":function(t,e,n){"use strict";e.a=function(t){return t&&"function"==typeof t.schedule}},"1Z2k":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("WT6e"),i=n("YaPU"),o=n("JVBn"),s=n("LwKS"),a=(n("veZJ"),n("g4p8")),l=n("g5jc");n("MQ0p"),n("a7sO"),e.VgMedia=function(){function t(t,e){this.api=t,this.ref=e,this.state=s.VgStates.VG_PAUSED,this.time={current:0,total:0,left:0},this.buffer={end:0},this.canPlay=!1,this.canPlayThrough=!1,this.isMetadataLoaded=!1,this.isWaiting=!1,this.isCompleted=!1,this.isLive=!1,this.isBufferDetected=!1,this.checkInterval=200,this.currentPlayPos=0,this.lastPlayPos=0,this.playAtferSync=!1,this.bufferDetected=new l.Subject}return t.prototype.ngOnInit=function(){var t=this;this.elem=this.vgMedia.nodeName?this.vgMedia:this.vgMedia.elem,this.api.registerMedia(this),this.subscriptions={abort:i.Observable.fromEvent(this.elem,a.VgEvents.VG_ABORT),canPlay:i.Observable.fromEvent(this.elem,a.VgEvents.VG_CAN_PLAY),canPlayThrough:i.Observable.fromEvent(this.elem,a.VgEvents.VG_CAN_PLAY_THROUGH),durationChange:i.Observable.fromEvent(this.elem,a.VgEvents.VG_DURATION_CHANGE),emptied:i.Observable.fromEvent(this.elem,a.VgEvents.VG_EMPTIED),encrypted:i.Observable.fromEvent(this.elem,a.VgEvents.VG_ENCRYPTED),ended:i.Observable.fromEvent(this.elem,a.VgEvents.VG_ENDED),error:i.Observable.fromEvent(this.elem,a.VgEvents.VG_ERROR),loadedData:i.Observable.fromEvent(this.elem,a.VgEvents.VG_LOADED_DATA),loadedMetadata:i.Observable.fromEvent(this.elem,a.VgEvents.VG_LOADED_METADATA),loadStart:i.Observable.fromEvent(this.elem,a.VgEvents.VG_LOAD_START),pause:i.Observable.fromEvent(this.elem,a.VgEvents.VG_PAUSE),play:i.Observable.fromEvent(this.elem,a.VgEvents.VG_PLAY),playing:i.Observable.fromEvent(this.elem,a.VgEvents.VG_PLAYING),progress:i.Observable.fromEvent(this.elem,a.VgEvents.VG_PROGRESS),rateChange:i.Observable.fromEvent(this.elem,a.VgEvents.VG_RATE_CHANGE),seeked:i.Observable.fromEvent(this.elem,a.VgEvents.VG_SEEKED),seeking:i.Observable.fromEvent(this.elem,a.VgEvents.VG_SEEKING),stalled:i.Observable.fromEvent(this.elem,a.VgEvents.VG_STALLED),suspend:i.Observable.fromEvent(this.elem,a.VgEvents.VG_SUSPEND),timeUpdate:i.Observable.fromEvent(this.elem,a.VgEvents.VG_TIME_UPDATE),volumeChange:i.Observable.fromEvent(this.elem,a.VgEvents.VG_VOLUME_CHANGE),waiting:i.Observable.fromEvent(this.elem,a.VgEvents.VG_WAITING),startAds:i.Observable.fromEvent(window,a.VgEvents.VG_START_ADS),endAds:i.Observable.fromEvent(window,a.VgEvents.VG_END_ADS),mutation:i.Observable.create(function(e){var n=new MutationObserver(function(t){e.next(t)});return n.observe(t.elem,{childList:!0,attributes:!0}),function(){n.disconnect()}}),bufferDetected:this.bufferDetected},this.mutationObs=this.subscriptions.mutation.subscribe(this.onMutation.bind(this)),this.canPlayObs=this.subscriptions.canPlay.subscribe(this.onCanPlay.bind(this)),this.canPlayThroughObs=this.subscriptions.canPlayThrough.subscribe(this.onCanPlayThrough.bind(this)),this.loadedMetadataObs=this.subscriptions.loadedMetadata.subscribe(this.onLoadMetadata.bind(this)),this.waitingObs=this.subscriptions.waiting.subscribe(this.onWait.bind(this)),this.progressObs=this.subscriptions.progress.subscribe(this.onProgress.bind(this)),this.endedObs=this.subscriptions.ended.subscribe(this.onComplete.bind(this)),this.playingObs=this.subscriptions.playing.subscribe(this.onStartPlaying.bind(this)),this.playObs=this.subscriptions.play.subscribe(this.onPlay.bind(this)),this.pauseObs=this.subscriptions.pause.subscribe(this.onPause.bind(this)),this.timeUpdateObs=this.subscriptions.timeUpdate.subscribe(this.onTimeUpdate.bind(this)),this.volumeChangeObs=this.subscriptions.volumeChange.subscribe(this.onVolumeChange.bind(this)),this.errorObs=this.subscriptions.error.subscribe(this.onError.bind(this)),this.vgMaster&&this.api.playerReadyEvent.subscribe(function(){t.prepareSync()})},t.prototype.prepareSync=function(){var t=this,e=[];for(var n in this.api.medias)this.api.medias[n]&&e.push(this.api.medias[n].subscriptions.canPlay);this.canPlayAllSubscription=i.Observable.combineLatest(e,function(){for(var e=[],n=0;n.3?(t.playAtferSync=t.state===s.VgStates.VG_PLAYING,t.pause(),t.api.medias[e].pause(),t.api.medias[e].currentTime=t.currentTime):t.playAtferSync&&(t.play(),t.api.medias[e].play(),t.playAtferSync=!1)}})},t.prototype.onMutation=function(t){for(var e=0,n=t.length;e0&&r.target.src.indexOf("blob:")<0){this.loadMedia();break}}else if("childList"===r.type&&r.removedNodes.length&&"source"===r.removedNodes[0].nodeName.toLowerCase()){this.loadMedia();break}}},t.prototype.loadMedia=function(){var t=this;this.vgMedia.pause(),this.vgMedia.currentTime=0,this.stopBufferCheck(),this.isBufferDetected=!0,this.bufferDetected.next(this.isBufferDetected),setTimeout(function(){return t.vgMedia.load()},10)},t.prototype.play=function(){var t=this;if(!(this.playPromise||this.state!==s.VgStates.VG_PAUSED&&this.state!==s.VgStates.VG_ENDED))return this.playPromise=this.vgMedia.play(),this.playPromise&&this.playPromise.then&&this.playPromise.catch&&this.playPromise.then(function(){t.playPromise=null}).catch(function(){}),this.playPromise},t.prototype.pause=function(){var t=this;this.playPromise?this.playPromise.then(function(){t.vgMedia.pause()}):this.vgMedia.pause()},Object.defineProperty(t.prototype,"id",{get:function(){var t=void 0;return this.vgMedia&&(t=this.vgMedia.id),t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"duration",{get:function(){return this.vgMedia.duration},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.vgMedia.currentTime},set:function(t){this.vgMedia.currentTime=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"volume",{get:function(){return this.vgMedia.volume},set:function(t){this.vgMedia.volume=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playbackRate",{get:function(){return this.vgMedia.playbackRate},set:function(t){this.vgMedia.playbackRate=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"buffered",{get:function(){return this.vgMedia.buffered},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textTracks",{get:function(){return this.vgMedia.textTracks},enumerable:!0,configurable:!0}),t.prototype.onCanPlay=function(t){this.isBufferDetected=!1,this.bufferDetected.next(this.isBufferDetected),this.canPlay=!0,this.ref.detectChanges()},t.prototype.onCanPlayThrough=function(t){this.isBufferDetected=!1,this.bufferDetected.next(this.isBufferDetected),this.canPlayThrough=!0,this.ref.detectChanges()},t.prototype.onLoadMetadata=function(t){this.isMetadataLoaded=!0,this.time={current:0,left:0,total:1e3*this.duration},this.state=s.VgStates.VG_PAUSED;var e=Math.round(this.time.total);this.isLive=e===1/0,this.ref.detectChanges()},t.prototype.onWait=function(t){this.isWaiting=!0,this.ref.detectChanges()},t.prototype.onComplete=function(t){this.isCompleted=!0,this.state=s.VgStates.VG_ENDED,this.ref.detectChanges()},t.prototype.onStartPlaying=function(t){this.state=s.VgStates.VG_PLAYING,this.ref.detectChanges()},t.prototype.onPlay=function(t){this.state=s.VgStates.VG_PLAYING,this.vgMaster&&(this.syncSubscription&&!this.syncSubscription.closed||this.startSync()),this.startBufferCheck(),this.ref.detectChanges()},t.prototype.onPause=function(t){this.state=s.VgStates.VG_PAUSED,this.vgMaster&&(this.playAtferSync||this.syncSubscription.unsubscribe()),this.stopBufferCheck(),this.ref.detectChanges()},t.prototype.onTimeUpdate=function(t){var e=this.buffered.length-1;this.time={current:1e3*this.currentTime,total:this.time.total,left:1e3*(this.duration-this.currentTime)},e>=0&&(this.buffer={end:1e3*this.buffered.end(e)}),this.ref.detectChanges()},t.prototype.onProgress=function(t){var e=this.buffered.length-1;e>=0&&(this.buffer={end:1e3*this.buffered.end(e)}),this.ref.detectChanges()},t.prototype.onVolumeChange=function(t){this.ref.detectChanges()},t.prototype.onError=function(t){this.ref.detectChanges()},t.prototype.bufferCheck=function(){var t=1/this.checkInterval;this.currentPlayPos=this.currentTime,!this.isBufferDetected&&this.currentPlayPosthis.lastPlayPos+t&&(this.isBufferDetected=!1),this.bufferDetected.closed||this.bufferDetected.next(this.isBufferDetected),this.lastPlayPos=this.currentPlayPos},t.prototype.startBufferCheck=function(){var t=this;this.checkBufferSubscription=o.TimerObservable.create(0,this.checkInterval).subscribe(function(){t.bufferCheck()})},t.prototype.stopBufferCheck=function(){this.checkBufferSubscription&&this.checkBufferSubscription.unsubscribe(),this.isBufferDetected=!1,this.bufferDetected.next(this.isBufferDetected)},t.prototype.seekTime=function(t,e){void 0===e&&(e=!1),this.currentTime=e?t*this.duration/100:t},t.prototype.addTextTrack=function(t,e,n,r){var i=this.vgMedia.addTextTrack(t,e,n);return r&&(i.mode=r),i},t.prototype.ngOnDestroy=function(){this.vgMedia.src="",this.mutationObs.unsubscribe(),this.canPlayObs.unsubscribe(),this.canPlayThroughObs.unsubscribe(),this.loadedMetadataObs.unsubscribe(),this.waitingObs.unsubscribe(),this.progressObs.unsubscribe(),this.endedObs.unsubscribe(),this.playingObs.unsubscribe(),this.playObs.unsubscribe(),this.pauseObs.unsubscribe(),this.timeUpdateObs.unsubscribe(),this.volumeChangeObs.unsubscribe(),this.errorObs.unsubscribe(),this.checkBufferSubscription&&this.checkBufferSubscription.unsubscribe(),this.syncSubscription&&this.syncSubscription.unsubscribe(),this.bufferDetected.complete(),this.bufferDetected.unsubscribe(),this.api.unregisterMedia(this)},t.decorators=[{type:r.Directive,args:[{selector:"[vgMedia]"}]}],t.propDecorators={vgMedia:[{type:r.Input}],vgMaster:[{type:r.Input}]},t}()},"214W":function(t,e,n){"use strict";var r=n("TToO").__decorate,i=n("TToO").__param;Object.defineProperty(e,"__esModule",{value:!0});var o=n("WT6e"),s=n("OE0E");e.ScrollbarHelper=function(){function t(t){this.document=t,this.width=this.getWidth()}return t.prototype.getWidth=function(){var t=this.document.createElement("div");t.style.visibility="hidden",t.style.width="100px",t.style.msOverflowStyle="scrollbar",this.document.body.appendChild(t);var e=t.offsetWidth;t.style.overflow="scroll";var n=this.document.createElement("div");n.style.width="100%",t.appendChild(n);var r=n.offsetWidth;return t.parentNode.removeChild(t),e-r},r([o.Injectable(),i(0,o.Inject(s.DOCUMENT))],t)}()},"2ESx":function(t,e,n){"use strict";e.a=function(t){return void 0===t&&(t=null),function(e){return e.lift(new o(t))}};var r=n("TToO"),i=n("OVmG"),o=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.defaultValue))},t}(),s=function(t){function e(e,n){t.call(this,e),this.defaultValue=n,this.isEmpty=!0}return Object(r.__extends)(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(i.a)},"2LVV":function(t,e,n){"use strict";var r=n("TToO").__decorate,i=n("TToO").__metadata;Object.defineProperty(e,"__esModule",{value:!0});var o=n("WT6e"),s=n("sUlX"),a=n("2tXe");e.DataTableColumnDirective=function(){function t(){}return r([o.Input(),i("design:type",String)],t.prototype,"name",void 0),r([o.Input(),i("design:type",Object)],t.prototype,"prop",void 0),r([o.Input(),i("design:type",Object)],t.prototype,"frozenLeft",void 0),r([o.Input(),i("design:type",Object)],t.prototype,"frozenRight",void 0),r([o.Input(),i("design:type",Number)],t.prototype,"flexGrow",void 0),r([o.Input(),i("design:type",Boolean)],t.prototype,"resizeable",void 0),r([o.Input(),i("design:type",Object)],t.prototype,"comparator",void 0),r([o.Input(),i("design:type",Object)],t.prototype,"pipe",void 0),r([o.Input(),i("design:type",Boolean)],t.prototype,"sortable",void 0),r([o.Input(),i("design:type",Boolean)],t.prototype,"draggable",void 0),r([o.Input(),i("design:type",Boolean)],t.prototype,"canAutoResize",void 0),r([o.Input(),i("design:type",Number)],t.prototype,"minWidth",void 0),r([o.Input(),i("design:type",Number)],t.prototype,"width",void 0),r([o.Input(),i("design:type",Number)],t.prototype,"maxWidth",void 0),r([o.Input(),i("design:type",Boolean)],t.prototype,"checkboxable",void 0),r([o.Input(),i("design:type",Boolean)],t.prototype,"headerCheckboxable",void 0),r([o.Input(),i("design:type",Object)],t.prototype,"headerClass",void 0),r([o.Input(),i("design:type",Object)],t.prototype,"cellClass",void 0),r([o.Input(),o.ContentChild(a.DataTableColumnCellDirective,{read:o.TemplateRef}),i("design:type",o.TemplateRef)],t.prototype,"cellTemplate",void 0),r([o.Input(),o.ContentChild(s.DataTableColumnHeaderDirective,{read:o.TemplateRef}),i("design:type",o.TemplateRef)],t.prototype,"headerTemplate",void 0),r([o.Directive({selector:"ngx-datatable-column"})],t)}()},"2dA3":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.single="single",t.multi="multi"}(e.SortType||(e.SortType={}))},"2tXe":function(t,e,n){"use strict";var r=n("TToO").__decorate;Object.defineProperty(e,"__esModule",{value:!0});var i=n("WT6e");e.DataTableColumnCellDirective=function(){return r([i.Directive({selector:"[ngx-datatable-cell-template]"})],function(t){this.template=t})}()},"2xC4":function(t,e,n){"use strict";var r=n("TToO").__decorate,i=n("TToO").__metadata;Object.defineProperty(e,"__esModule",{value:!0});var o=n("WT6e"),s=n("j2I9"),a=n("x6Zf");n("NBsw"),e.DataTableHeaderCellComponent=function(){function t(t){this.cd=t,this.sort=new o.EventEmitter,this.select=new o.EventEmitter,this.columnContextmenu=new o.EventEmitter(!1),this.sortFn=this.onSort.bind(this),this.selectFn=this.select.emit.bind(this.select),this.cellContext={column:this.column,sortDir:this.sortDir,sortFn:this.sortFn,allRowsSelected:this.allRowsSelected,selectFn:this.selectFn}}return Object.defineProperty(t.prototype,"allRowsSelected",{get:function(){return this._allRowsSelected},set:function(t){this._allRowsSelected=t,this.cellContext.allRowsSelected=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"column",{get:function(){return this._column},set:function(t){this._column=t,this.cellContext.column=t,this.cd.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sorts",{get:function(){return this._sorts},set:function(t){this._sorts=t,this.sortDir=this.calcSortDir(t),this.cellContext.sortDir=this.sortDir,this.sortClass=this.calcSortClass(this.sortDir),this.cd.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"columnCssClasses",{get:function(){var t="datatable-header-cell";if(this.column.sortable&&(t+=" sortable"),this.column.resizeable&&(t+=" resizeable"),this.column.headerClass)if("string"==typeof this.column.headerClass)t+=" "+this.column.headerClass;else if("function"==typeof this.column.headerClass){var e=this.column.headerClass({column:this.column});if("string"==typeof e)t+=e;else if("object"==typeof e)for(var n=0,r=Object.keys(e);n\n \n \n \n \n \n \n \n \n \n \n \n \n ',host:{class:"datatable-header-cell"},changeDetection:o.ChangeDetectionStrategy.OnPush})],t)}()},"319O":function(t,e,n){"use strict";e.a=function(){return Object(r.a)(1)};var r=n("8D5t")},"3a3m":function(t,e,n){"use strict";e.a=function(){return function(t){return Object(i.a)()(Object(r.a)(s)(t))}};var r=n("Jwyl"),i=n("0P3J"),o=n("g5jc");function s(){return new o.Subject}},"3lw+":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("Ne5x"),i=new(n("Z4xk").a)(r.a)},"4gpe":function(t,e,n){"use strict";var r=n("TToO").__decorate,i=n("TToO").__metadata;Object.defineProperty(e,"__esModule",{value:!0});var o=n("WT6e");e.DataTablePagerComponent=function(){function t(){this.change=new o.EventEmitter,this._count=0,this._page=1,this._size=0}return Object.defineProperty(t.prototype,"size",{get:function(){return this._size},set:function(t){this._size=t,this.pages=this.calcPages()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"count",{get:function(){return this._count},set:function(t){this._count=t,this.pages=this.calcPages()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"page",{get:function(){return this._page},set:function(t){this._page=t,this.pages=this.calcPages()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"totalPages",{get:function(){var t=this.size<1?1:Math.ceil(this.count/this.size);return Math.max(t||0,1)},enumerable:!0,configurable:!0}),t.prototype.canPrevious=function(){return this.page>1},t.prototype.canNext=function(){return this.page0&&t<=this.totalPages&&t!==this.page&&(this.page=t,this.change.emit({page:t}))},t.prototype.calcPages=function(t){var e=[],n=1,r=this.totalPages;t=t||this.page,5this.totalPages&&(n=Math.max(this.totalPages-5+1,1),r=this.totalPages));for(var i=n;i<=r;i++)e.push({number:i,text:i});return e},r([o.Input(),i("design:type",String)],t.prototype,"pagerLeftArrowIcon",void 0),r([o.Input(),i("design:type",String)],t.prototype,"pagerRightArrowIcon",void 0),r([o.Input(),i("design:type",String)],t.prototype,"pagerPreviousIcon",void 0),r([o.Input(),i("design:type",String)],t.prototype,"pagerNextIcon",void 0),r([o.Input(),i("design:type",Number),i("design:paramtypes",[Number])],t.prototype,"size",null),r([o.Input(),i("design:type",Number),i("design:paramtypes",[Number])],t.prototype,"count",null),r([o.Input(),i("design:type",Number),i("design:paramtypes",[Number])],t.prototype,"page",null),r([o.Output(),i("design:type",o.EventEmitter)],t.prototype,"change",void 0),r([o.Component({selector:"datatable-pager",template:'\n
    \n
  • \n \n \n \n
  • \n
  • \n \n \n \n
  • \n \n \n {{pg.text}}\n \n \n
  • \n \n \n \n
  • \n
  • \n \n \n \n
  • \n
\n ',host:{class:"datatable-pager"},changeDetection:o.ChangeDetectionStrategy.OnPush})],t)}()},"4zOZ":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"BehaviorSubject",function(){return s});var r=n("TToO"),i=n("g5jc"),o=n("x6VL"),s=function(t){function e(e){t.call(this),this._value=e}return Object(r.__extends)(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new o.a;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(i.Subject)},"5X6E":function(t,e,n){"use strict";e.a=function(t,e){return function(n){return n.lift(new s(t,e))}};var r=n("TToO"),i=n("tZ2B"),o=n("PIsA"),s=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.resultSelector))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.project=n,this.resultSelector=r,this.index=0}return Object(r.__extends)(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=this.innerSubscription;r&&r.unsubscribe(),this.add(this.innerSubscription=Object(o.a)(this,t,e,n))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,i){this.resultSelector?this._tryNotifyNext(t,e,n,r):this.destination.next(e)},e.prototype._tryNotifyNext=function(t,e,n,r){var i;try{i=this.resultSelector(t,e,n,r)}catch(t){return void this.destination.error(t)}this.destination.next(i)},e}(i.a)},"5hg6":function(t,e,n){"use strict";function r(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}Object.defineProperty(e,"__esModule",{value:!0}),r(n("sQpZ")),r(n("hIqV")),r(n("KPjg")),r(n("yl66")),r(n("Fglw")),r(n("p4tm"))},"6PuN":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.VgMediaElement=function(){function t(){}return Object.defineProperty(t.prototype,"audioTracks",{get:function(){return null},enumerable:!0,configurable:!0}),t.prototype.addTextTrack=function(t,e,n){return null},t.prototype.canPlayType=function(t){return null},t.prototype.load=function(){},t.prototype.msClearEffects=function(){},t.prototype.msGetAsCastingSource=function(){return null},t.prototype.msInsertAudioEffect=function(t,e,n){},t.prototype.msSetMediaKeys=function(t){},t.prototype.msSetMediaProtectionManager=function(t){},t.prototype.pause=function(){},t.prototype.play=function(){return null},t.prototype.setMediaKeys=function(t){return null},t.prototype.addEventListener=function(t,e,n){},t}()},"6Qvr":function(t,e,n){"use strict";var r=n("3lw+"),i=n("NujX"),o=n("JVBn").TimerObservable.create;e.a=function(t,e){return void 0===e&&(e=r.a),Object(i.a)(function(){return o(t,e)})}},"6VmJ":function(t,e,n){"use strict";e.a=function(t,e){return Object(r.a)(t,e,1)};var r=n("Qnch")},"6hL9":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("WT6e"),i=n("veZJ");n("LZFs"),e.VgFullscreen=function(){function t(t,e,n){this.API=e,this.fsAPI=n,this.isFullscreen=!1,this.subscriptions=[],this.ariaValue="normal mode",this.elem=t.nativeElement,this.subscriptions.push(this.fsAPI.onChangeFullscreen.subscribe(this.onChangeFullscreen.bind(this)))}return t.prototype.ngOnInit=function(){var t=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe(function(){return t.onPlayerReady()}))},t.prototype.onPlayerReady=function(){this.target=this.API.getMediaById(this.vgFor)},t.prototype.onChangeFullscreen=function(t){this.ariaValue=t?"fullscren mode":"normal mode",this.isFullscreen=t},t.prototype.onClick=function(){this.changeFullscreenState()},t.prototype.onKeyDown=function(t){13!==t.keyCode&&32!==t.keyCode||(t.preventDefault(),this.changeFullscreenState())},t.prototype.changeFullscreenState=function(){var t=this.target;this.target instanceof i.VgAPI&&(t=null),this.fsAPI.toggleFullscreen(t)},t.prototype.ngOnDestroy=function(){this.subscriptions.forEach(function(t){return t.unsubscribe()})},t.decorators=[{type:r.Component,args:[{selector:"vg-fullscreen",encapsulation:r.ViewEncapsulation.None,template:'\n
\n
',styles:["\n vg-fullscreen {\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n display: flex;\n justify-content: center;\n height: 50px;\n width: 50px;\n cursor: pointer;\n color: white;\n line-height: 50px;\n }\n\n vg-fullscreen .icon {\n pointer-events: none;\n }\n "]}]}],t.propDecorators={onClick:[{type:r.HostListener,args:["click"]}],onKeyDown:[{type:r.HostListener,args:["keydown",["$event"]]}]},t}()},"6hVY":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("j2I9"),i=n("sXN4");function o(t,e){if(null!==t&&"undefined"!=typeof t||(t=0),null!==e&&"undefined"!=typeof e||(e=0),t instanceof Date&&e instanceof Date){if(te)return 1}else if(isNaN(parseFloat(t))||!isFinite(t)||isNaN(parseFloat(e))||!isFinite(e)){if(t=String(t),e=String(e),t.toLowerCase()e.toLowerCase())return 1}else{if(parseFloat(t)parseFloat(e))return 1}return 0}e.nextSortDir=function(t,e){return t===r.SortType.single?e===r.SortDirection.asc?r.SortDirection.desc:r.SortDirection.asc:e?e===r.SortDirection.asc?r.SortDirection.desc:void 0:r.SortDirection.asc},e.orderByComparator=o,e.sortRows=function(t,e,n){if(!t)return[];if(!n||!n.length||!e)return t.slice();var s=new Map;t.forEach(function(t,e){return s.set(t,e)});var a=t.slice(),l=e.reduce(function(t,e){return e.comparator&&"function"==typeof e.comparator&&(t[e.prop]=e.comparator),t},{}),u=n.map(function(t){var e=t.prop;return{prop:e,dir:t.dir,valueGetter:i.getterForProp(e),compareFn:l[e]||o}});return a.sort(function(t,e){for(var n=0,i=u;n",styles:["\n vg-controls {\n position: absolute;\n display: flex;\n width: 100%;\n height: 50px;\n z-index: 300;\n bottom: 0;\n background-color: rgba(0, 0, 0, 0.5);\n -webkit-transition: bottom 1s;\n -khtml-transition: bottom 1s;\n -moz-transition: bottom 1s;\n -ms-transition: bottom 1s;\n transition: bottom 1s;\n }\n\n vg-controls.hide { \n bottom: -50px;\n }\n "]}]}],t.propDecorators={isAdsPlaying:[{type:r.HostBinding,args:["style.pointer-events"]}],hideControls:[{type:r.HostBinding,args:["class.hide"]}],vgFor:[{type:r.Input}],vgAutohide:[{type:r.Input}],vgAutohideTime:[{type:r.Input}]},t}()},"9/L2":function(t,e,n){"use strict";var r=n("TToO").__decorate;Object.defineProperty(e,"__esModule",{value:!0});var i=n("WT6e");e.DataTableFooterTemplateDirective=function(){return r([i.Directive({selector:"[ngx-datatable-footer-template]"})],function(t){this.template=t})}()},"9Ocp":function(t,e,n){"use strict";e.a=function(t){return function(e){return 0===t?new s.a:e.lift(new a(t))}};var r=n("TToO"),i=n("OVmG"),o=n("pU/0"),s=n("+3/4"),a=function(){function t(t){if(this.total=t,this.total<0)throw new o.a}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.total))},t}(),l=function(t){function e(e,n){t.call(this,e),this.total=n,this.count=0}return Object(r.__extends)(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(i.a)},AMGY:function(t,e,n){"use strict";(function(t){n.d(e,"a",function(){return o});var r="undefined"!=typeof window&&window,i="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,o=r||"undefined"!=typeof t&&t||i}).call(e,n("DuR2"))},B544:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("WT6e"),i=n("Xjw4"),o=n("8RBb"),s=n("6hL9"),a=n("FaXB"),l=n("ctbq"),u=n("0ORU"),c=n("/CdD"),d=n("I8sJ"),p=n("L9WI"),h=n("bj6S"),f=n("lNSw"),g=n("YSES"),m=n("YD98"),y=n("TyJa"),v=n("K5hV");e.VgControlsModule=function(){function t(){}return t.decorators=[{type:r.NgModule,args:[{imports:[i.CommonModule],declarations:[o.VgControls,s.VgFullscreen,a.VgMute,l.VgVolume,u.VgPlayPause,c.VgPlaybackButton,d.VgScrubBar,p.VgScrubBarBufferingTime,h.VgScrubBarCuePoints,f.VgScrubBarCurrentTime,g.VgTimeDisplay,g.VgUtcPipe,m.VgTrackSelector,v.VgQualitySelector],exports:[o.VgControls,s.VgFullscreen,a.VgMute,l.VgVolume,u.VgPlayPause,c.VgPlaybackButton,d.VgScrubBar,p.VgScrubBarBufferingTime,h.VgScrubBarCuePoints,f.VgScrubBarCurrentTime,g.VgTimeDisplay,g.VgUtcPipe,m.VgTrackSelector,v.VgQualitySelector],providers:[y.VgControlsHidden]}]}],t}()},BX3T:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=Array.isArray||function(t){return t&&"number"==typeof t.length}},C8Kb:function(t,e,n){"use strict";var r=n("TToO").__decorate,i=n("TToO").__metadata;Object.defineProperty(e,"__esModule",{value:!0});var o=n("WT6e"),s=n("x6Zf"),a=n("j2I9");n("NBsw"),e.DataTableBodyCellComponent=function(){function t(t,e){this.cd=e,this.activate=new o.EventEmitter,this.isFocused=!1,this.onCheckboxChangeFn=this.onCheckboxChange.bind(this),this.activateFn=this.activate.emit.bind(this.activate),this.cellContext={onCheckboxChangeFn:this.onCheckboxChangeFn,activateFn:this.activateFn,row:this.row,group:this.group,value:this.value,column:this.column,rowHeight:this.rowHeight,isSelected:this.isSelected,rowIndex:this.rowIndex},this._element=t.nativeElement}return Object.defineProperty(t.prototype,"group",{get:function(){return this._group},set:function(t){this._group=t,this.cellContext.group=t,this.checkValueUpdates(),this.cd.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rowHeight",{get:function(){return this._rowHeight},set:function(t){this._rowHeight=t,this.cellContext.rowHeight=t,this.checkValueUpdates(),this.cd.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isSelected",{get:function(){return this._isSelected},set:function(t){this._isSelected=t,this.cellContext.isSelected=t,this.cd.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"expanded",{get:function(){return this._expanded},set:function(t){this._expanded=t,this.cellContext.expanded=t,this.cd.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rowIndex",{get:function(){return this._rowIndex},set:function(t){this._rowIndex=t,this.cellContext.rowIndex=t,this.checkValueUpdates(),this.cd.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"column",{get:function(){return this._column},set:function(t){this._column=t,this.cellContext.column=t,this.checkValueUpdates(),this.cd.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"row",{get:function(){return this._row},set:function(t){this._row=t,this.cellContext.row=t,this.checkValueUpdates(),this.cd.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sorts",{get:function(){return this._sorts},set:function(t){this._sorts=t,this.calcSortDir=this.calcSortDir(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"columnCssClasses",{get:function(){var t="datatable-body-cell";if(this.column.cellClass)if("string"==typeof this.column.cellClass)t+=" "+this.column.cellClass;else if("function"==typeof this.column.cellClass){var e=this.column.cellClass({row:this.row,group:this.group,column:this.column,value:this.value,rowHeight:this.rowHeight});if("string"==typeof e)t+=e;else if("object"==typeof e)for(var n=0,r=Object.keys(e);n]+(>|$)/g,""):t},r([o.Input(),i("design:type",Object)],t.prototype,"displayCheck",void 0),r([o.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"group",null),r([o.Input(),i("design:type",Number),i("design:paramtypes",[Number])],t.prototype,"rowHeight",null),r([o.Input(),i("design:type",Boolean),i("design:paramtypes",[Boolean])],t.prototype,"isSelected",null),r([o.Input(),i("design:type",Boolean),i("design:paramtypes",[Boolean])],t.prototype,"expanded",null),r([o.Input(),i("design:type",Number),i("design:paramtypes",[Number])],t.prototype,"rowIndex",null),r([o.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"column",null),r([o.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"row",null),r([o.Input(),i("design:type",Array),i("design:paramtypes",[Array])],t.prototype,"sorts",null),r([o.Output(),i("design:type",o.EventEmitter)],t.prototype,"activate",void 0),r([o.ViewChild("cellTemplate",{read:o.ViewContainerRef}),i("design:type",o.ViewContainerRef)],t.prototype,"cellTemplate",void 0),r([o.HostBinding("class"),i("design:type",Object),i("design:paramtypes",[])],t.prototype,"columnCssClasses",null),r([o.HostBinding("style.width.px"),i("design:type",Number),i("design:paramtypes",[])],t.prototype,"width",null),r([o.HostBinding("style.height"),i("design:type",Object),i("design:paramtypes",[])],t.prototype,"height",null),r([o.HostListener("focus"),i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"onFocus",null),r([o.HostListener("blur"),i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"onBlur",null),r([o.HostListener("click",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onClick",null),r([o.HostListener("dblclick",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onDblClick",null),r([o.HostListener("keydown",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onKeyDown",null),r([o.Component({selector:"datatable-body-cell",changeDetection:o.ChangeDetectionStrategy.OnPush,template:'\n
\n \n \n \n \n \n \n \n
\n '})],t)}()},CB8l:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("TToO"),i=function(t){function e(){var e=t.call(this,"no elements in sequence");this.name=e.name="EmptyError",this.stack=e.stack,this.message=e.message}return Object(r.__extends)(e,t),e}(Error)},CCID:function(t,e,n){"use strict";function r(t){var e={left:[],center:[],right:[]};if(t)for(var n=0,r=t;n=2&&(n=!0),function(r){return r.lift(new o(t,e,n))}};var r=n("TToO"),i=n("OVmG"),o=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.accumulator,this.seed,this.hasSeed))},t}(),s=function(t){function e(e,n,r,i){t.call(this,e),this.accumulator=n,this._seed=r,this.hasSeed=i,this.index=0}return Object(r.__extends)(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(t){this.destination.error(t)}this.seed=e,this.destination.next(e)},e}(i.a)},E7f3:function(t,e,n){"use strict";e.a=function(t){return function(e){return e.lift(new s(t))}};var r=n("TToO"),i=n("tZ2B"),o=n("PIsA"),s=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.notifier))},t}(),a=function(t){function e(e,n){t.call(this,e),this.notifier=n,this.add(Object(o.a)(this,n))}return Object(r.__extends)(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.complete()},e.prototype.notifyComplete=function(){},e}(i.a)},FaXB:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("WT6e");n("veZJ"),e.VgMute=function(){function t(t,e){this.API=e,this.subscriptions=[],this.ariaValue="unmuted",this.elem=t.nativeElement}return t.prototype.ngOnInit=function(){var t=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe(function(){return t.onPlayerReady()}))},t.prototype.onPlayerReady=function(){this.target=this.API.getMediaById(this.vgFor),this.currentVolume=this.target.volume},t.prototype.onClick=function(){this.changeMuteState()},t.prototype.onKeyDown=function(t){13!==t.keyCode&&32!==t.keyCode||(t.preventDefault(),this.changeMuteState())},t.prototype.changeMuteState=function(){var t=this.getVolume();0===t?(0===this.target.volume&&0===this.currentVolume&&(this.currentVolume=1),this.target.volume=this.currentVolume):(this.currentVolume=t,this.target.volume=0)},t.prototype.getVolume=function(){var t=this.target?this.target.volume:0;return this.ariaValue=t?"unmuted":"muted",t},t.prototype.ngOnDestroy=function(){this.subscriptions.forEach(function(t){return t.unsubscribe()})},t.decorators=[{type:r.Component,args:[{selector:"vg-mute",encapsulation:r.ViewEncapsulation.None,template:'\n
\n
',styles:["\n vg-mute {\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n display: flex;\n justify-content: center;\n height: 50px;\n width: 50px;\n cursor: pointer;\n color: white;\n line-height: 50px;\n }\n\n vg-mute .icon {\n pointer-events: none;\n }\n "]}]}],t.propDecorators={vgFor:[{type:r.Input}],onClick:[{type:r.HostListener,args:["click"]}],onKeyDown:[{type:r.HostListener,args:["keydown",["$event"]]}]},t}()},FcdX:function(t,e,n){"use strict";e.a=function(t,e,n){return function(r){return r.lift(new s(t,e,n,r))}};var r=n("TToO"),i=n("OVmG"),o=n("CB8l"),s=function(){function t(t,e,n,r){this.predicate=t,this.resultSelector=e,this.defaultValue=n,this.source=r}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.resultSelector,this.defaultValue,this.source))},t}(),a=function(t){function e(e,n,r,i,o){t.call(this,e),this.predicate=n,this.resultSelector=r,this.defaultValue=i,this.source=o,this.hasValue=!1,this.index=0,"undefined"!=typeof i&&(this.lastValue=i,this.hasValue=!0)}return Object(r.__extends)(e,t),e.prototype._next=function(t){var e=this.index++;if(this.predicate)this._tryPredicate(t,e);else{if(this.resultSelector)return void this._tryResultSelector(t,e);this.lastValue=t,this.hasValue=!0}},e.prototype._tryPredicate=function(t,e){var n;try{n=this.predicate(t,e,this.source)}catch(t){return void this.destination.error(t)}if(n){if(this.resultSelector)return void this._tryResultSelector(t,e);this.lastValue=t,this.hasValue=!0}},e.prototype._tryResultSelector=function(t,e){var n;try{n=this.resultSelector(t,e)}catch(t){return void this.destination.error(t)}this.lastValue=n,this.hasValue=!0},e.prototype._complete=function(){var t=this.destination;this.hasValue?(t.next(this.lastValue),t.complete()):t.error(new o.a)},e}(i.a)},Fglw:function(t,e,n){"use strict";function r(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}Object.defineProperty(e,"__esModule",{value:!0}),r(n("2LVV")),r(n("sUlX")),r(n("2tXe"))},GK6M:function(t,e,n){"use strict";e.a=function(t){return r=t,o};var r,i=n("fKB6");function o(){try{return r.apply(this,arguments)}catch(t){return i.a.e=t,i.a}}},GWXQ:function(t,e,n){"use strict";var r=n("TToO").__decorate,i=n("TToO").__metadata;Object.defineProperty(e,"__esModule",{value:!0});var o=n("WT6e"),s=n("Ii9O");e.DatatableRowDetailDirective=function(){function t(){this.rowHeight=0,this.toggle=new o.EventEmitter}return t.prototype.toggleExpandRow=function(t){this.toggle.emit({type:"row",value:t})},t.prototype.expandAllRows=function(){this.toggle.emit({type:"all",value:!0})},t.prototype.collapseAllRows=function(){this.toggle.emit({type:"all",value:!1})},r([o.Input(),i("design:type",Object)],t.prototype,"rowHeight",void 0),r([o.Input(),o.ContentChild(s.DatatableRowDetailTemplateDirective,{read:o.TemplateRef}),i("design:type",o.TemplateRef)],t.prototype,"template",void 0),r([o.Output(),i("design:type",o.EventEmitter)],t.prototype,"toggle",void 0),r([o.Directive({selector:"ngx-datatable-row-detail"})],t)}()},GfIz:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("CCID");function i(t){for(var e=0,n=0,r=t;n=e;for(var g=0,m=a;gy.maxWidth?(y.width=y.maxWidth,f.push(y)):y.width=v}y.width=Math.max(0,y.width)}h=e-(p=s(t)),o(a,f)}while(h>0&&0!==a.length)}},HdCx:function(t,e,n){"use strict";e.a=function(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new o(t,e))}};var r=n("TToO"),i=n("OVmG"),o=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.project,this.thisArg))},t}(),s=function(t){function e(e,n,r){t.call(this,e),this.project=n,this.count=0,this.thisArg=r||this}return Object(r.__extends)(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(i.a)},I8sJ:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("WT6e"),i=(n("veZJ"),n("TyJa"),n("LwKS"));e.VgScrubBar=function(){function t(t,e,n){var r=this;this.API=e,this.hideScrubBar=!1,this.vgSlider=!0,this.isSeeking=!1,this.wasPlaying=!1,this.subscriptions=[],this.elem=t.nativeElement,this.subscriptions.push(n.isHidden.subscribe(function(t){return r.onHideScrubBar(t)}))}return t.prototype.ngOnInit=function(){var t=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe(function(){return t.onPlayerReady()}))},t.prototype.onPlayerReady=function(){this.target=this.API.getMediaById(this.vgFor)},t.prototype.seekStart=function(){this.target.canPlay&&(this.isSeeking=!0,this.target.state===i.VgStates.VG_PLAYING&&(this.wasPlaying=!0),this.target.pause())},t.prototype.seekMove=function(t){if(this.isSeeking){var e=Math.max(Math.min(100*t/this.elem.scrollWidth,99.9),0);this.target.time.current=e*this.target.time.total/100,this.target.seekTime(e,!0)}},t.prototype.seekEnd=function(t){if(this.isSeeking=!1,this.target.canPlay){var e=Math.max(Math.min(100*t/this.elem.scrollWidth,99.9),0);this.target.seekTime(e,!0),this.wasPlaying&&(this.wasPlaying=!1,this.target.play())}},t.prototype.touchEnd=function(){this.isSeeking=!1,this.wasPlaying&&(this.wasPlaying=!1,this.target.play())},t.prototype.getTouchOffset=function(t){for(var e=0,n=t.target;n;)e+=n.offsetLeft,n=n.offsetParent;return t.touches[0].pageX-e},t.prototype.onMouseDownScrubBar=function(t){this.target&&(this.target.isLive||(this.vgSlider?this.seekStart():this.seekEnd(t.offsetX)))},t.prototype.onMouseMoveScrubBar=function(t){this.target&&!this.target.isLive&&this.vgSlider&&this.isSeeking&&this.seekMove(t.offsetX)},t.prototype.onMouseUpScrubBar=function(t){this.target&&!this.target.isLive&&this.vgSlider&&this.isSeeking&&this.seekEnd(t.offsetX)},t.prototype.onTouchStartScrubBar=function(t){this.target&&(this.target.isLive||(this.vgSlider?this.seekStart():this.seekEnd(this.getTouchOffset(t))))},t.prototype.onTouchMoveScrubBar=function(t){this.target&&!this.target.isLive&&this.vgSlider&&this.isSeeking&&this.seekMove(this.getTouchOffset(t))},t.prototype.onTouchCancelScrubBar=function(t){this.target&&!this.target.isLive&&this.vgSlider&&this.isSeeking&&this.touchEnd()},t.prototype.onTouchEndScrubBar=function(t){this.target&&!this.target.isLive&&this.vgSlider&&this.isSeeking&&this.touchEnd()},t.prototype.arrowAdjustVolume=function(t){this.target&&(38===t.keyCode||39===t.keyCode?(t.preventDefault(),this.target.seekTime((this.target.time.current+5e3)/1e3,!1)):37!==t.keyCode&&40!==t.keyCode||(t.preventDefault(),this.target.seekTime((this.target.time.current-5e3)/1e3,!1)))},t.prototype.getPercentage=function(){return this.target?100*this.target.time.current/this.target.time.total+"%":"0%"},t.prototype.onHideScrubBar=function(t){this.hideScrubBar=t},t.prototype.ngOnDestroy=function(){this.subscriptions.forEach(function(t){return t.unsubscribe()})},t.decorators=[{type:r.Component,args:[{selector:"vg-scrub-bar",encapsulation:r.ViewEncapsulation.None,template:'\n
\n \n
\n \n ',styles:["\n vg-scrub-bar {\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n position: absolute;\n width: 100%;\n height: 5px;\n bottom: 50px;\n margin: 0;\n cursor: pointer;\n align-items: center;\n background: rgba(0, 0, 0, 0.75);\n z-index: 250;\n -webkit-transition: bottom 1s, opacity 0.5s;\n -khtml-transition: bottom 1s, opacity 0.5s;\n -moz-transition: bottom 1s, opacity 0.5s;\n -ms-transition: bottom 1s, opacity 0.5s;\n transition: bottom 1s, opacity 0.5s;\n }\n \n vg-scrub-bar .scrubBar {\n position: relative;\n display: flex;\n flex-grow: 1;\n align-items: center;\n height: 100%;\n }\n\n vg-controls vg-scrub-bar {\n position: relative;\n bottom: 0;\n background: transparent;\n height: 50px;\n flex-grow: 1;\n flex-basis: 0;\n margin: 0 10px;\n -webkit-transition: initial;\n -khtml-transition: initial;\n -moz-transition: initial;\n -ms-transition: initial;\n transition: initial;\n }\n\n vg-scrub-bar.hide {\n bottom: 0;\n opacity: 0;\n }\n\n vg-controls vg-scrub-bar.hide {\n bottom: initial;\n opacity: initial;\n }\n "]}]}],t.propDecorators={hideScrubBar:[{type:r.HostBinding,args:["class.hide"]}],vgFor:[{type:r.Input}],vgSlider:[{type:r.Input}],onMouseDownScrubBar:[{type:r.HostListener,args:["mousedown",["$event"]]}],onMouseMoveScrubBar:[{type:r.HostListener,args:["document:mousemove",["$event"]]}],onMouseUpScrubBar:[{type:r.HostListener,args:["document:mouseup",["$event"]]}],onTouchStartScrubBar:[{type:r.HostListener,args:["touchstart",["$event"]]}],onTouchMoveScrubBar:[{type:r.HostListener,args:["document:touchmove",["$event"]]}],onTouchCancelScrubBar:[{type:r.HostListener,args:["document:touchcancel",["$event"]]}],onTouchEndScrubBar:[{type:r.HostListener,args:["document:touchend",["$event"]]}],arrowAdjustVolume:[{type:r.HostListener,args:["keydown",["$event"]]}]},t}()},Ii9O:function(t,e,n){"use strict";var r=n("TToO").__decorate;Object.defineProperty(e,"__esModule",{value:!0});var i=n("WT6e");e.DatatableRowDetailTemplateDirective=function(){return r([i.Directive({selector:"[ngx-datatable-row-detail-template]"})],function(t){this.template=t})}()},"J/iR":function(t,e,n){"use strict";function r(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}Object.defineProperty(e,"__esModule",{value:!0}),r(n("214W")),r(n("/jm2"))},JMlz:function(t,e,n){"use strict";var r=n("TToO").__decorate,i=n("TToO").__metadata;Object.defineProperty(e,"__esModule",{value:!0});var o=n("WT6e"),s=(n("NBsw"),n("l5y7")),a=n("hl8n");e.ResizeableDirective=function(){function t(t,e){this.renderer=e,this.resizeEnabled=!0,this.resize=new o.EventEmitter,this.resizing=!1,this.element=t.nativeElement}return t.prototype.ngAfterViewInit=function(){var t=this.renderer,e=t.createElement("span");t.addClass(e,this.resizeEnabled?"resize-handle":"resize-handle--not-resizable"),t.appendChild(this.element,e)},t.prototype.ngOnDestroy=function(){this._destroySubscription()},t.prototype.onMouseup=function(){this.resizing=!1,this.subscription&&!this.subscription.closed&&(this._destroySubscription(),this.resize.emit(this.element.clientWidth))},t.prototype.onMousedown=function(t){var e=this,n=t.target.classList.contains("resize-handle"),r=this.element.clientWidth,i=t.screenX;if(n){t.stopPropagation(),this.resizing=!0;var o=a.fromEvent(document,"mouseup");this.subscription=o.subscribe(function(t){return e.onMouseup()});var l=a.fromEvent(document,"mousemove").pipe(s.takeUntil(o)).subscribe(function(t){return e.move(t,r,i)});this.subscription.add(l)}},t.prototype.move=function(t,e,n){var r=e+(t.screenX-n);(!this.minWidth||r>=this.minWidth)&&(!this.maxWidth||r<=this.maxWidth)&&(this.element.style.width=r+"px")},t.prototype._destroySubscription=function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=void 0)},r([o.Input(),i("design:type",Boolean)],t.prototype,"resizeEnabled",void 0),r([o.Input(),i("design:type",Number)],t.prototype,"minWidth",void 0),r([o.Input(),i("design:type",Number)],t.prototype,"maxWidth",void 0),r([o.Output(),i("design:type",o.EventEmitter)],t.prototype,"resize",void 0),r([o.HostListener("mousedown",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onMousedown",null),r([o.Directive({selector:"[resizeable]",host:{"[class.resizeable]":"resizeEnabled"}})],t)}()},JVBn:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"TimerObservable",function(){return u});var r=n("TToO"),i=n("/acl"),o=n("YaPU"),s=n("3lw+"),a=n("1Q68"),l=n("fmCu"),u=function(t){function e(e,n,r){void 0===e&&(e=0),t.call(this),this.period=-1,this.dueTime=0,Object(i.a)(n)?this.period=Number(n)<1?1:Number(n):Object(a.a)(n)&&(r=n),Object(a.a)(r)||(r=s.a),this.scheduler=r,this.dueTime=Object(l.a)(e)?+e-this.scheduler.now():e}return Object(r.__extends)(e,t),e.create=function(t,n,r){return void 0===t&&(t=0),new e(t,n,r)},e.dispatch=function(t){var e=t.index,n=t.period,r=t.subscriber;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}},e.prototype._subscribe=function(t){return this.scheduler.schedule(e.dispatch,this.dueTime,{index:0,period:this.period,subscriber:t})},e}(o.Observable)},JXyw:function(t,e,n){"use strict";e.a=function(t,e){return void 0===e&&(e=o.a),function(n){return n.lift(new s(t,e))}};var r=n("TToO"),i=n("OVmG"),o=n("3lw+"),s=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.dueTime,this.scheduler))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.dueTime=n,this.scheduler=r,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}return Object(r.__extends)(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(l,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){this.clearDebounce(),this.hasValue&&(this.destination.next(this.lastValue),this.lastValue=null,this.hasValue=!1)},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(i.a);function l(t){t.debouncedNext()}},Jc2l:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("WzQ7"),i=n("L9Tr"),o="undefined"!=typeof window?r.getVendorPrefixedName("transform"):void 0,s="undefined"!=typeof window?r.getVendorPrefixedName("backfaceVisibility"):void 0,a="undefined"!=typeof window?!!r.getVendorPrefixedName("transform"):void 0,l="undefined"!=typeof window?!!r.getVendorPrefixedName("perspective"):void 0,u="undefined"!=typeof window?window.navigator.userAgent:"Chrome",c=/Safari\//.test(u)&&!/Chrome\//.test(u);e.translateXY=function(t,e,n){"undefined"!=typeof o&&a?!c&&l?(t[o]="translate3d("+e+"px, "+n+"px, 0)",t[s]="hidden"):t[i.camelCase(o)]="translate("+e+"px, "+n+"px)":(t.top=n+"px",t.left=e+"px")}},Jn0N:function(t,e,n){"use strict";e.a=function(){for(var t=[],e=0;e\n
\n {{ bitrateSelected?.label }}\n
\n \n \n \n ',styles:["\n vg-quality-selector {\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n display: flex;\n justify-content: center;\n width: 50px;\n height: 50px;\n cursor: pointer;\n color: white;\n line-height: 50px;\n }\n vg-quality-selector .container {\n position: relative;\n display: flex;\n flex-grow: 1;\n align-items: center;\n \n padding: 0;\n margin: 5px;\n }\n vg-quality-selector select.quality-selector {\n width: 50px;\n padding: 5px 8px;\n border: none;\n background: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n color: transparent;\n font-size: 16px;\n }\n vg-quality-selector select.quality-selector::-ms-expand {\n display: none;\n }\n vg-quality-selector select.quality-selector option {\n color: #000;\n }\n vg-quality-selector .quality-selected {\n position: absolute;\n width: 100%;\n height: 50px;\n top: -6px;\n text-align: center;\n text-transform: uppercase;\n font-family: Helvetica Neue, Helvetica, Arial, sans-serif;\n padding-top: 2px;\n pointer-events: none;\n }\n vg-quality-selector .vg-icon-closed_caption:before {\n width: 100%;\n }\n "]}]}],t.propDecorators={bitrates:[{type:r.Input}],onBitrateChange:[{type:r.Output}]},t}()},KPjg:function(t,e,n){"use strict";function r(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}Object.defineProperty(e,"__esModule",{value:!0}),r(n("X6wl")),r(n("C8Kb")),r(n("UHPl")),r(n("/UE+")),r(n("0RJd")),r(n("fj/O")),r(n("yN1j")),r(n("+erw")),r(n("aIIe"))},L6Nh:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("WT6e"),i=(n("veZJ"),n("LwKS"));n("LZFs"),n("TyJa"),e.VgOverlayPlay=function(){function t(t,e,n,r){this.API=e,this.fsAPI=n,this.controlsHidden=r,this.isNativeFullscreen=!1,this.areControlsHidden=!1,this.subscriptions=[],this.isBuffering=!1,this.elem=t.nativeElement}return t.prototype.ngOnInit=function(){var t=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe(function(){return t.onPlayerReady()}))},t.prototype.onPlayerReady=function(){var t=this;this.target=this.API.getMediaById(this.vgFor),this.subscriptions.push(this.fsAPI.onChangeFullscreen.subscribe(this.onChangeFullscreen.bind(this))),this.subscriptions.push(this.controlsHidden.isHidden.subscribe(this.onHideControls.bind(this))),this.subscriptions.push(this.target.subscriptions.bufferDetected.subscribe(function(e){return t.onUpdateBuffer(e)}))},t.prototype.onUpdateBuffer=function(t){this.isBuffering=t},t.prototype.onChangeFullscreen=function(t){this.fsAPI.nativeFullscreen&&(this.isNativeFullscreen=t)},t.prototype.onHideControls=function(t){this.areControlsHidden=t},t.prototype.onClick=function(){switch(this.getState()){case i.VgStates.VG_PLAYING:this.target.pause();break;case i.VgStates.VG_PAUSED:case i.VgStates.VG_ENDED:this.target.play()}},t.prototype.getState=function(){var t=i.VgStates.VG_PAUSED;if(this.target)if(this.target.state instanceof Array){for(var e=0,n=this.target.state.length;e\n
\n
\n ',styles:["\n vg-overlay-play {\n z-index: 200;\n }\n\n vg-overlay-play.is-buffering {\n display: none;\n }\n\n vg-overlay-play .vg-overlay-play {\n transition: all 0.5s;\n cursor: pointer;\n position: absolute;\n display: block;\n color: white;\n width: 100%;\n height: 100%;\n font-size: 80px;\n filter: alpha(opacity=60);\n opacity: 0.6;\n }\n\n vg-overlay-play .vg-overlay-play.native-fullscreen.controls-hidden {\n cursor: none;\n }\n\n vg-overlay-play .vg-overlay-play .overlay-play-container.vg-icon-play_arrow {\n pointer-events: none;\n width: 100%;\n height: 100%;\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 80px;\n }\n\n vg-overlay-play .vg-overlay-play:hover {\n filter: alpha(opacity=100);\n opacity: 1;\n }\n\n vg-overlay-play .vg-overlay-play:hover .overlay-play-container.vg-icon-play_arrow:before {\n transform: scale(1.2);\n }\n "]}]}],t.propDecorators={vgFor:[{type:r.Input}],isBuffering:[{type:r.HostBinding,args:["class.is-buffering"]}],onClick:[{type:r.HostListener,args:["click"]}]},t}()},L9Tr:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.camelCase=function(t){return(t=(t=(t=t.replace(/[^a-zA-Z0-9 ]/g," ")).replace(/([a-z](?=[A-Z]))/g,"$1 ")).replace(/([^a-zA-Z0-9 ])|^[0-9]+/g,"").trim().toLowerCase()).replace(/([ 0-9]+)([a-zA-Z])/g,function(t,e,n){return e.trim()+n.toUpperCase()})},e.deCamelCase=function(t){return t.replace(/([A-Z])/g,function(t){return" "+t}).replace(/^./,function(t){return t.toUpperCase()})}},L9WI:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("WT6e");n("veZJ"),e.VgScrubBarBufferingTime=function(){function t(t,e){this.API=e,this.subscriptions=[],this.elem=t.nativeElement}return t.prototype.ngOnInit=function(){var t=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe(function(){return t.onPlayerReady()}))},t.prototype.onPlayerReady=function(){this.target=this.API.getMediaById(this.vgFor)},t.prototype.getBufferTime=function(){var t="0%";return this.target&&this.target.buffer&&this.target.buffered.length&&(t=0===this.target.time.total?"0%":this.target.buffer.end/this.target.time.total*100+"%"),t},t.prototype.ngOnDestroy=function(){this.subscriptions.forEach(function(t){return t.unsubscribe()})},t.decorators=[{type:r.Component,args:[{selector:"vg-scrub-bar-buffering-time",encapsulation:r.ViewEncapsulation.None,template:'
',styles:["\n vg-scrub-bar-buffering-time {\n display: flex;\n width: 100%;\n height: 5px;\n pointer-events: none;\n position: absolute;\n }\n\n vg-scrub-bar-buffering-time .background {\n background-color: rgba(255, 255, 255, 0.3);\n }\n\n vg-controls vg-scrub-bar-buffering-time {\n position: absolute;\n top: calc(50% - 3px);\n }\n\n vg-controls vg-scrub-bar-buffering-time .background {\n -webkit-border-radius: 2px;\n -moz-border-radius: 2px;\n border-radius: 2px;\n }\n "]}]}],t.propDecorators={vgFor:[{type:r.Input}]},t}()},LZFs:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("WT6e"),i=n("wE+l"),o=n("YaPU");e.VgFullscreenAPI=function(){function t(){this.nativeFullscreen=!0,this.isFullscreen=!1,this.onChangeFullscreen=new r.EventEmitter}return t.prototype.init=function(t,e){var n=this;this.videogularElement=t,this.medias=e;var r={w3:{enabled:"fullscreenEnabled",element:"fullscreenElement",request:"requestFullscreen",exit:"exitFullscreen",onchange:"fullscreenchange",onerror:"fullscreenerror"},newWebkit:{enabled:"webkitFullscreenEnabled",element:"webkitFullscreenElement",request:"webkitRequestFullscreen",exit:"webkitExitFullscreen",onchange:"webkitfullscreenchange",onerror:"webkitfullscreenerror"},oldWebkit:{enabled:"webkitIsFullScreen",element:"webkitCurrentFullScreenElement",request:"webkitRequestFullScreen",exit:"webkitCancelFullScreen",onchange:"webkitfullscreenchange",onerror:"webkitfullscreenerror"},moz:{enabled:"mozFullScreen",element:"mozFullScreenElement",request:"mozRequestFullScreen",exit:"mozCancelFullScreen",onchange:"mozfullscreenchange",onerror:"mozfullscreenerror"},ios:{enabled:"webkitFullscreenEnabled",element:"webkitFullscreenElement",request:"webkitEnterFullscreen",exit:"webkitExitFullscreen",onchange:"webkitendfullscreen",onerror:"webkitfullscreenerror"},ms:{enabled:"msFullscreenEnabled",element:"msFullscreenElement",request:"msRequestFullscreen",exit:"msExitFullscreen",onchange:"MSFullscreenChange",onerror:"MSFullscreenError"}};for(var s in r)if(r[s].enabled in document){this.polyfill=r[s];break}if(i.VgUtils.isiOSDevice()&&(this.polyfill=r.ios),this.isAvailable=null!=this.polyfill,null!=this.polyfill){var a;switch(this.polyfill.onchange){case"mozfullscreenchange":a=document;break;case"webkitendfullscreen":a=this.medias.toArray()[0].elem;break;default:a=t}this.fsChangeSubscription=o.Observable.fromEvent(a,this.polyfill.onchange).subscribe(function(){n.onFullscreenChange()})}},t.prototype.onFullscreenChange=function(){this.isFullscreen=!!document[this.polyfill.element],this.onChangeFullscreen.next(this.isFullscreen)},t.prototype.toggleFullscreen=function(t){void 0===t&&(t=null),this.isFullscreen?this.exit():this.request(t)},t.prototype.request=function(t){t||(t=this.videogularElement),this.isFullscreen=!0,this.onChangeFullscreen.next(!0),this.isAvailable&&this.nativeFullscreen&&(i.VgUtils.isMobileDevice()?((!this.polyfill.enabled&&t===this.videogularElement||i.VgUtils.isiOSDevice())&&(t=this.medias.toArray()[0].elem),this.enterElementInFullScreen(t)):this.enterElementInFullScreen(this.videogularElement))},t.prototype.enterElementInFullScreen=function(t){t[this.polyfill.request]()},t.prototype.exit=function(){this.isFullscreen=!1,this.onChangeFullscreen.next(!1),this.isAvailable&&this.nativeFullscreen&&document[this.polyfill.exit]()},t.decorators=[{type:r.Injectable}],t}()},Lttq:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.selectRows=function(t,e,n){var r=n(e,t);return r>-1?t.splice(r,1):t.push(e),t},e.selectRowsBetween=function(t,e,n,r,i){for(var o=n=n||!o&&s>=r&&s<=n)&&s>=a.start&&s<=a.end&&t.push(e[s])}return t}},LwKS:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("WT6e");e.VgStates=function(){function t(){}return t.VG_ENDED="ended",t.VG_PAUSED="paused",t.VG_PLAYING="playing",t.VG_LOADING="waiting",t.decorators=[{type:r.Injectable}],t}()},MQ0p:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("YaPU"),i=n("hl8n");r.Observable.fromEvent=i.fromEvent},N4j0:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(t){return t&&"number"==typeof t.length}},NBsw:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.MouseEvent=t.MouseEvent,e.KeyboardEvent=t.KeyboardEvent,e.Event=t.Event}).call(e,n("DuR2"))},NQUu:function(t,e,n){"use strict";function r(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}Object.defineProperty(e,"__esModule",{value:!0}),r(n("Z9jN")),r(n("QIkZ")),r(n("icKY")),r(n("JMlz")),r(n("y7Yj"))},Ne5x:function(t,e,n){"use strict";var r=n("TToO"),i=n("AMGY"),o=function(t){function e(e,n){t.call(this)}return Object(r.__extends)(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(n("VwZZ").a);n.d(e,"a",function(){return s});var s=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n,this.pending=!1}return Object(r.__extends)(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t,this.pending=!0;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),i.a.setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return e;i.a.clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(t){n=!0,r=!!t&&t||new Error(t)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(o)},NujX:function(t,e,n){"use strict";e.a=function(t){return function(e){return e.lift(new l(t))}};var r=n("TToO"),i=n("GK6M"),o=n("fKB6"),s=n("tZ2B"),a=n("PIsA"),l=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.durationSelector))},t}(),u=function(t){function e(e,n){t.call(this,e),this.durationSelector=n,this.hasValue=!1}return Object(r.__extends)(e,t),e.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e=Object(i.a)(this.durationSelector)(t);if(e===o.a)this.destination.error(o.a.e);else{var n=Object(a.a)(this,e);n.closed?this.clearThrottle():this.add(this.throttled=n)}}},e.prototype.clearThrottle=function(){var t=this.value,e=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))},e.prototype.notifyNext=function(t,e,n,r){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(s.a)},OE0E:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"BrowserModule",function(){return Zt}),n.d(e,"platformBrowser",function(){return qt}),n.d(e,"Meta",function(){return w}),n.d(e,"Title",function(){return E}),n.d(e,"disableDebugTools",function(){return ee}),n.d(e,"enableDebugTools",function(){return te}),n.d(e,"BrowserTransferStateModule",function(){return se}),n.d(e,"TransferState",function(){return ie}),n.d(e,"makeStateKey",function(){return re}),n.d(e,"By",function(){return ae}),n.d(e,"DOCUMENT",function(){return v}),n.d(e,"EVENT_MANAGER_PLUGINS",function(){return A}),n.d(e,"EventManager",function(){return j}),n.d(e,"HAMMER_GESTURE_CONFIG",function(){return ut}),n.d(e,"HammerGestureConfig",function(){return ct}),n.d(e,"DomSanitizer",function(){return Nt}),n.d(e,"VERSION",function(){return le}),n.d(e,"\u0275BROWSER_SANITIZATION_PROVIDERS",function(){return Gt}),n.d(e,"\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS",function(){return Ut}),n.d(e,"\u0275initDomAdapter",function(){return $t}),n.d(e,"\u0275BrowserDomAdapter",function(){return m}),n.d(e,"\u0275BrowserPlatformLocation",function(){return _}),n.d(e,"\u0275TRANSITION_ID",function(){return C}),n.d(e,"\u0275BrowserGetTestability",function(){return S}),n.d(e,"\u0275escapeHtml",function(){return ne}),n.d(e,"\u0275ELEMENT_PROBE_PROVIDERS",function(){return M}),n.d(e,"\u0275DomAdapter",function(){return c}),n.d(e,"\u0275getDOM",function(){return a}),n.d(e,"\u0275setRootDomAdapter",function(){return l}),n.d(e,"\u0275DomRendererFactory2",function(){return $}),n.d(e,"\u0275NAMESPACE_URIS",function(){return L}),n.d(e,"\u0275flattenStyles",function(){return G}),n.d(e,"\u0275shimContentAttribute",function(){return W}),n.d(e,"\u0275shimHostAttribute",function(){return U}),n.d(e,"\u0275DomEventsPlugin",function(){return at}),n.d(e,"\u0275HammerGesturesPlugin",function(){return dt}),n.d(e,"\u0275KeyEventsPlugin",function(){return ft}),n.d(e,"\u0275DomSharedStylesHost",function(){return F}),n.d(e,"\u0275SharedStylesHost",function(){return V}),n.d(e,"\u0275b",function(){return Kt}),n.d(e,"\u0275a",function(){return Yt}),n.d(e,"\u0275i",function(){return d}),n.d(e,"\u0275g",function(){return O}),n.d(e,"\u0275f",function(){return x}),n.d(e,"\u0275c",function(){return oe}),n.d(e,"\u0275h",function(){return R}),n.d(e,"\u0275d",function(){return N}),n.d(e,"\u0275e",function(){return Vt});var r=n("Xjw4"),i=n("WT6e"),o=n("TToO"),s=null;function a(){return s}function l(t){s||(s=t)}var u,c=function(){function t(){this.resourceLoaderType=null}return Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(t){this._attrToPropMap=t},enumerable:!0,configurable:!0}),t}(),d=function(t){function e(){var e=t.call(this)||this;e._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],i=0;i0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r0;a||(a=t[s]=[]);var u=ot(e)?Zone.root:Zone.current;if(0===a.length)a.push({zone:u,handler:o});else{for(var c=!1,d=0;d-1},e}(N),pt=["alt","control","meta","shift"],ht={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},ft=function(t){function e(e){return t.call(this,e)||this}return Object(o.__extends)(e,t),e.prototype.supports=function(t){return null!=e.parseEventName(t)},e.prototype.addEventListener=function(t,n,r){var i=e.parseEventName(n),o=e.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return a().onAndCancel(t,i.domEventName,o)})},e.parseEventName=function(t){var n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var i=e._normalizeKey(n.pop()),o="";if(pt.forEach(function(t){var e=n.indexOf(t);e>-1&&(n.splice(e,1),o+=t+".")}),o+=i,0!=n.length||0===i.length)return null;var s={};return s.domEventName=r,s.fullKey=o,s},e.getEventFullKey=function(t){var e="",n=a().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),pt.forEach(function(r){r!=n&&(0,ht[r])(t)&&(e+=r+".")}),e+=n},e.eventCallback=function(t,n,r){return function(i){e.getEventFullKey(i)===t&&r.runGuarded(function(){return n(i)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(N),gt=function(){function t(t,e){this.defaultDoc=t,this.DOM=e;var n=this.DOM.createHtmlDocument();if(this.inertBodyElement=n.body,null==this.inertBodyElement){var r=this.DOM.createElement("html",n);this.inertBodyElement=this.DOM.createElement("body",n),this.DOM.appendChild(r,this.inertBodyElement),this.DOM.appendChild(n,r)}this.DOM.setInnerHTML(this.inertBodyElement,''),!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.DOM.setInnerHTML(this.inertBodyElement,'

'),this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t=""+t+"";try{t=encodeURI(t)}catch(t){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(null);var n=e.response.body;return n.removeChild(n.firstChild),n},t.prototype.getInertBodyElement_DOMParser=function(t){t=""+t+"";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(t){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var e=this.DOM.createElement("template");return"content"in e?(this.DOM.setInnerHTML(e,t),e):(this.DOM.setInnerHTML(this.inertBodyElement,t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},t.prototype.stripCustomNsAttrs=function(t){var e=this;this.DOM.attributeMap(t).forEach(function(n,r){"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.DOM.removeAttribute(t,r)});for(var n=0,r=this.DOM.childNodesAsList(t);n")):this.sanitizedSomething=!0},t.prototype.endElement=function(t){var e=this.DOM.nodeName(t).toLowerCase();Et.hasOwnProperty(e)&&!Ct.hasOwnProperty(e)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(Mt(t))},t.prototype.checkClobberedElement=function(t,e){if(e&&this.DOM.contains(t,e))throw new Error("Failed to sanitize html because the element is clobbered: "+this.DOM.getOuterHTML(t));return e},t}(),It=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Rt=/([^\#-~ |!])/g;function Mt(t){return t.replace(/&/g,"&").replace(It,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Rt,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var At=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),jt=/^url\(([^)]+)\)$/,Nt=function(){},Vt=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return Object(o.__extends)(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case i.SecurityContext.NONE:return e;case i.SecurityContext.HTML:return e instanceof Lt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),function(t,e){var n=a(),r=null;try{wt=wt||new gt(t,n);var o=e?String(e):"";r=wt.getInertBodyElement(o);var s=5,l=o;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,o=l,l=n.getInnerHTML(r),r=wt.getInertBodyElement(o)}while(o!==l);var u=new Dt,c=u.sanitizeChildren(n.getTemplateContent(r)||r);return Object(i.isDevMode)()&&u.sanitizedSomething&&n.log("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),c}finally{if(r)for(var d=n.getTemplateContent(r)||r,p=0,h=n.childNodesAsList(d);p":"&g;"};return t.replace(/[&"'<>]/g,function(t){return e[t]})}function re(t){return t}var ie=function(){function t(){this.store={},this.onSerializeCallbacks={}}return t.init=function(e){var n=new t;return n.store=e,n},t.prototype.get=function(t,e){return void 0!==this.store[t]?this.store[t]:e},t.prototype.set=function(t,e){this.store[t]=e},t.prototype.remove=function(t){delete this.store[t]},t.prototype.hasKey=function(t){return this.store.hasOwnProperty(t)},t.prototype.onSerialize=function(t,e){this.onSerializeCallbacks[t]=e},t.prototype.toJson=function(){for(var t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(t){console.warn("Exception in onSerialize callback: ",t)}return JSON.stringify(this.store)},t}();function oe(t,e){var n,r=t.getElementById(e+"-state"),i={};if(r&&r.textContent)try{i=JSON.parse((n={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"},r.textContent.replace(/&[^;]+;/g,function(t){return n[t]})))}catch(t){console.warn("Exception while restoring TransferState for app "+e,t)}return ie.init(i)}var se=function(){},ae=function(){function t(){}return t.all=function(){return function(t){return!0}},t.css=function(t){return function(e){return null!=e.nativeElement&&a().elementMatches(e.nativeElement,t)}},t.directive=function(t){return function(e){return-1!==e.providerTokens.indexOf(t)}},t}(),le=new i.Version("5.2.8")},ORct:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.single="single",t.multi="multi",t.multiClick="multiClick",t.cell="cell",t.checkbox="checkbox"}(e.SelectionType||(e.SelectionType={}))},OVmG:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var r=n("TToO"),i=n("/iUD"),o=n("VwZZ"),s=n("t7NR"),a=n("tLDX"),l=function(t){function e(n,r,i){switch(t.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.a;break;case 1:if(!n){this.destination=s.a;break}if("object"==typeof n){n instanceof e?(this.syncErrorThrowable=n.syncErrorThrowable,this.destination=n,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new u(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new u(this,n,r,i)}}return Object(r.__extends)(e,t),e.prototype[a.a]=function(){return this},e.create=function(t,n,r){var i=new e(t,n,r);return i.syncErrorThrowable=!1,i},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parent,e=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this},e}(o.a),u=function(t){function e(e,n,r,o){var a;t.call(this),this._parentSubscriber=e;var l=this;Object(i.a)(n)?a=n:n&&(a=n.next,r=n.error,o=n.complete,n!==s.a&&(l=Object.create(n),Object(i.a)(l.unsubscribe)&&this.add(l.unsubscribe.bind(l)),l.unsubscribe=this.unsubscribe.bind(this))),this._context=l,this._next=a,this._error=r,this._complete=o}return Object(r.__extends)(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber;if(this._error)e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else{if(!e.syncErrorThrowable)throw this.unsubscribe(),t;e.syncErrorValue=t,e.syncErrorThrown=!0,this.unsubscribe()}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){throw this.unsubscribe(),t}},e.prototype.__tryOrSetError=function(t,e,n){try{e.call(this._context,n)}catch(e){return t.syncErrorValue=e,t.syncErrorThrown=!0,!0}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(l)},OjYj:function(t,e,n){"use strict";function r(t,e){for(var n,r,i,o=[],s=[];(n=document.elementFromPoint(t,e))&&-1===o.indexOf(n)&&null!=n;)o.push(n),s.push({value:n.style.getPropertyValue("pointer-events"),priority:n.style.getPropertyPriority("pointer-events")}),n.style.setProperty("pointer-events","none","important");for(r=s.length;i=s[--r];)o[r].style.setProperty("pointer-events",i.value?i.value:"",i.priority);return o}Object.defineProperty(e,"__esModule",{value:!0}),"undefined"==typeof document||document.elementsFromPoint||(document.elementsFromPoint=r),e.elementsFromPoint=r},OmGl:function(t,e,n){"use strict";e.a=function(){for(var t=[],e=0;e1?Object(s.a)(new r.a(t,n),e):Object(s.a)(new o.a(n),e)}};var r=n("Veqx"),i=n("TILf"),o=n("+3/4"),s=n("Jn0N"),a=n("1Q68")},PIsA:function(t,e,n){"use strict";var r=n("AMGY"),i=n("N4j0"),o=n("cQXm"),s=n("dgOU"),a=n("YaPU"),l=n("etqZ"),u=n("TToO"),c=function(t){function e(e,n,r){t.call(this),this.parent=e,this.outerValue=n,this.outerIndex=r,this.index=0}return Object(u.__extends)(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(n("OVmG").a),d=n("+CnV");e.a=function(t,e,n,u){var p=new c(t,n,u);if(p.closed)return null;if(e instanceof a.Observable)return e._isScalar?(p.next(e.value),p.complete(),null):(p.syncErrorThrowable=!0,e.subscribe(p));if(Object(i.a)(e)){for(var h=0,f=e.length;h10,n=Math.abs(t.clientY-this.mouseY)>10;(e||n)&&this.endPress()}},t.prototype.loop=function(t){var e=this;this.isLongPressing&&(this.timeout=setTimeout(function(){e.longPressing.emit({event:t,model:e.pressModel}),e.loop(t)},50))},t.prototype.endPress=function(){clearTimeout(this.timeout),this.isLongPressing=!1,this.pressing=!1,this._destroySubscription(),this.longPressEnd.emit({model:this.pressModel})},t.prototype.onMouseup=function(){this.endPress()},t.prototype.ngOnDestroy=function(){this._destroySubscription()},t.prototype._destroySubscription=function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=void 0)},r([o.Input(),i("design:type",Boolean)],t.prototype,"pressEnabled",void 0),r([o.Input(),i("design:type",Object)],t.prototype,"pressModel",void 0),r([o.Input(),i("design:type",Number)],t.prototype,"duration",void 0),r([o.Output(),i("design:type",o.EventEmitter)],t.prototype,"longPressStart",void 0),r([o.Output(),i("design:type",o.EventEmitter)],t.prototype,"longPressing",void 0),r([o.Output(),i("design:type",o.EventEmitter)],t.prototype,"longPressEnd",void 0),r([o.HostBinding("class.press"),i("design:type",Boolean),i("design:paramtypes",[])],t.prototype,"press",null),r([o.HostBinding("class.longpress"),i("design:type",Boolean),i("design:paramtypes",[])],t.prototype,"isLongPress",null),r([o.HostListener("mousedown",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],t.prototype,"onMouseDown",null),r([o.Directive({selector:"[long-press]"})],t)}()},Qnch:function(t,e,n){"use strict";e.a=function(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),function(r){return"number"==typeof e&&(n=e,e=null),r.lift(new s(t,e,n))}};var r=n("TToO"),i=n("PIsA"),o=n("tZ2B"),s=function(){function t(t,e,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.project=t,this.resultSelector=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.resultSelector,this.concurrent))},t}(),a=function(t){function e(e,n,r,i){void 0===i&&(i=Number.POSITIVE_INFINITY),t.call(this,e),this.project=n,this.resultSelector=r,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return Object(r.__extends)(e,t),e.prototype._next=function(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(o.a)},Qp6t:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t[t.up=38]="up",t[t.down=40]="down",t[t.return=13]="return",t[t.escape=27]="escape",t[t.left=37]="left",t[t.right=39]="right"}(e.Keys||(e.Keys={}))},Rf9G:function(t,e,n){"use strict";e.a=function(){return Object(r.a)()(this)};var r=n("3a3m")},T1Dh:function(t,e,n){"use strict";e.a=function(t){return function(e){return 0===t?new s.a:e.lift(new a(t))}};var r=n("TToO"),i=n("OVmG"),o=n("pU/0"),s=n("+3/4"),a=function(){function t(t){if(this.total=t,this.total<0)throw new o.a}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.total))},t}(),l=function(t){function e(e,n){t.call(this,e),this.total=n,this.ring=new Array,this.count=0}return Object(r.__extends)(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;e.length0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},e.__param=function(t,e){return function(n,r){e(n,r,t)}},e.__metadata=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},e.__awaiter=function(t,e,n,r){return new(n||(n=Promise))(function(i,o){function s(t){try{l(r.next(t))}catch(t){o(t)}}function a(t){try{l(r.throw(t))}catch(t){o(t)}}function l(t){t.done?i(t.value):new n(function(e){e(t.value)}).then(s,a)}l((r=r.apply(t,e||[])).next())})},e.__generator=function(t,e){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=r[2&o[0]?"return":o[0]?"throw":"next"])&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[0,i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=(i=s.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1||l(t,e)})})}function l(t,e){try{(n=i[t](e)).value instanceof a?Promise.resolve(n.value.v).then(u,c):d(o[0][2],n)}catch(t){d(o[0][3],t)}var n}function u(t){l("next",t)}function c(t){l("throw",t)}function d(t,e){t(e),o.shift(),o.length&&l(o[0][0],o[0][1])}},e.__asyncDelegator=function(t){var e,n;return e={},r("next"),r("throw",function(t){throw t}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,i){t[r]&&(e[r]=function(e){return(n=!n)?{value:a(t[r](e)),done:"return"===r}:i?i(e):e})}},e.__asyncValues=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator];return e?e.call(t):"function"==typeof o?o(t):t[Symbol.iterator]()},e.__makeTemplateObject=function(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t},e.__importStar=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e},e.__importDefault=function(t){return t&&t.__esModule?t:{default:t}};var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function s(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function a(t){return this instanceof a?(this.v=t,this):new a(t)}},TeqA:function(t,e,n){"use strict";function r(t,e,n){var r,i,o;n=n||{};var s=null,a=0;function l(){a=!1===n.leading?0:+new Date,s=null,o=t.apply(r,i)}return function(){var u=+new Date;a||!1!==n.leading||(a=u);var c=e-(u-a);return r=this,i=arguments,c<=0?(clearTimeout(s),s=null,a=u,o=t.apply(r,i)):s||!1===n.trailing||(s=setTimeout(l,c)),o}}Object.defineProperty(e,"__esModule",{value:!0}),e.throttle=r,e.throttleable=function(t,e){return function(n,i,o){return{configurable:!0,enumerable:o.enumerable,get:function(){return Object.defineProperty(this,i,{configurable:!0,enumerable:o.enumerable,value:r(o.value,t,e)}),this[i]}}}}},TyJa:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("g5jc"),i=n("WT6e");e.VgControlsHidden=function(){function t(){this.isHiddenSubject=new r.Subject,this.isHidden=this.isHiddenSubject.asObservable()}return t.prototype.state=function(t){this.isHiddenSubject.next(t)},t.decorators=[{type:i.Injectable}],t}()},U6Mf:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.header="header",t.body="body"}(e.ContextmenuType||(e.ContextmenuType={}))},UHPl:function(t,e,n){"use strict";var r=n("TToO").__decorate,i=n("TToO").__metadata,o=n("TToO").__param;Object.defineProperty(e,"__esModule",{value:!0});var s=n("WT6e"),a=n("x6Zf");n("J/iR"),n("NBsw"),e.DataTableBodyRowComponent=function(){function t(t,e,n,r){this.differs=t,this.scrollbarHelper=e,this.cd=n,this.activate=new s.EventEmitter,this._groupStyles={left:{},center:{},right:{}},this._element=r.nativeElement,this._rowDiffer=t.find({}).create()}return Object.defineProperty(t.prototype,"columns",{get:function(){return this._columns},set:function(t){this._columns=t,this.recalculateColumns(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"innerWidth",{get:function(){return this._innerWidth},set:function(t){if(this._columns){var e=a.columnsByPin(this._columns);this._columnGroupWidths=a.columnGroupWidths(e,e)}this._innerWidth=t,this.recalculateColumns(),this.buildStylesByGroup()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"offsetX",{get:function(){return this._offsetX},set:function(t){this._offsetX=t,this.buildStylesByGroup()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"cssClass",{get:function(){var t="datatable-body-row";if(this.isSelected&&(t+=" active"),this.rowIndex%2!=0&&(t+=" datatable-row-odd"),this.rowIndex%2==0&&(t+=" datatable-row-even"),this.rowClass){var e=this.rowClass(this.row);if("string"==typeof e)t+=" "+e;else if("object"==typeof e)for(var n=0,r=Object.keys(e);n\n \n \n \n '}),o(1,s.SkipSelf())],t)}()},UayS:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("WT6e"),i=n("g4p8"),o=n("YaPU");n("MQ0p"),e.VgCuePoints=function(){function t(t){this.ref=t,this.onEnterCuePoint=new r.EventEmitter,this.onUpdateCuePoint=new r.EventEmitter,this.onExitCuePoint=new r.EventEmitter,this.onCompleteCuePoint=new r.EventEmitter,this.subscriptions=[],this.cuesSubscriptions=[],this.totalCues=0}return t.prototype.ngOnInit=function(){var t=o.Observable.fromEvent(this.ref.nativeElement,i.VgEvents.VG_LOAD);this.subscriptions.push(t.subscribe(this.onLoad.bind(this)))},t.prototype.onLoad=function(t){var e=t.target.track.cues;this.ref.nativeElement.cues=e,this.updateCuePoints(e)},t.prototype.updateCuePoints=function(t){this.cuesSubscriptions.forEach(function(t){return t.unsubscribe()});for(var e=0,n=t.length;e1?new e(t,r):1===i?new o.a(t[0],r):new s.a(r)},e.dispatch=function(t){var e=t.array,n=t.index,r=t.subscriber;n>=t.count?r.complete():(r.next(e[n]),r.closed||(t.index=n+1,this.schedule(t)))},e.prototype._subscribe=function(t){var n=this.array,r=n.length,i=this.scheduler;if(i)return i.schedule(e.dispatch,0,{array:n,index:0,count:r,subscriber:t});for(var o=0;o",styles:["\n vg-player {\n font-family: 'videogular';\n position: relative;\n display: flex;\n width: 100%;\n height: 100%;\n overflow: hidden;\n background-color: black;\n }\n\n vg-player.fullscreen {\n position: fixed;\n left: 0;\n top: 0;\n }\n\n vg-player.native-fullscreen.controls-hidden {\n cursor: none;\n }\n "],providers:[i.VgAPI,o.VgFullscreenAPI,l.VgControlsHidden]}]}],t.propDecorators={isFullscreen:[{type:r.HostBinding,args:["class.fullscreen"]}],isNativeFullscreen:[{type:r.HostBinding,args:["class.native-fullscreen"]}],areControlsHidden:[{type:r.HostBinding,args:["class.controls-hidden"]}],zIndex:[{type:r.HostBinding,args:["style.z-index"]}],onPlayerReady:[{type:r.Output}],onMediaReady:[{type:r.Output}],medias:[{type:r.ContentChildren,args:[a.VgMedia]}]},t}()},WT6e:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(function(t){n.d(e,"createPlatform",function(){return ln}),n.d(e,"assertPlatform",function(){return cn}),n.d(e,"destroyPlatform",function(){return dn}),n.d(e,"getPlatform",function(){return pn}),n.d(e,"PlatformRef",function(){return hn}),n.d(e,"ApplicationRef",function(){return gn}),n.d(e,"enableProdMode",function(){return on}),n.d(e,"isDevMode",function(){return sn}),n.d(e,"createPlatformFactory",function(){return un}),n.d(e,"NgProbeToken",function(){return an}),n.d(e,"APP_ID",function(){return oe}),n.d(e,"PACKAGE_ROOT_URL",function(){return pe}),n.d(e,"PLATFORM_INITIALIZER",function(){return ue}),n.d(e,"PLATFORM_ID",function(){return ce}),n.d(e,"APP_BOOTSTRAP_LISTENER",function(){return de}),n.d(e,"APP_INITIALIZER",function(){return re}),n.d(e,"ApplicationInitStatus",function(){return ie}),n.d(e,"DebugElement",function(){return Bn}),n.d(e,"DebugNode",function(){return Ln}),n.d(e,"asNativeElements",function(){return Hn}),n.d(e,"getDebugNode",function(){return Gn}),n.d(e,"Testability",function(){return Ze}),n.d(e,"TestabilityRegistry",function(){return Xe}),n.d(e,"setTestabilityGetter",function(){return Qe}),n.d(e,"TRANSLATIONS",function(){return gr}),n.d(e,"TRANSLATIONS_FORMAT",function(){return mr}),n.d(e,"LOCALE_ID",function(){return fr}),n.d(e,"MissingTranslationStrategy",function(){return yr}),n.d(e,"ApplicationModule",function(){return wr}),n.d(e,"wtfCreateScope",function(){return Fe}),n.d(e,"wtfLeave",function(){return Le}),n.d(e,"wtfStartTimeRange",function(){return Be}),n.d(e,"wtfEndTimeRange",function(){return He}),n.d(e,"Type",function(){return At}),n.d(e,"EventEmitter",function(){return ze}),n.d(e,"ErrorHandler",function(){return Pt}),n.d(e,"Sanitizer",function(){return xr}),n.d(e,"SecurityContext",function(){return Cr}),n.d(e,"ANALYZE_FOR_ENTRY_COMPONENTS",function(){return y}),n.d(e,"Attribute",function(){return v}),n.d(e,"ContentChild",function(){return w}),n.d(e,"ContentChildren",function(){return _}),n.d(e,"Query",function(){return b}),n.d(e,"ViewChild",function(){return x}),n.d(e,"ViewChildren",function(){return C}),n.d(e,"Component",function(){return T}),n.d(e,"Directive",function(){return P}),n.d(e,"HostBinding",function(){return R}),n.d(e,"HostListener",function(){return M}),n.d(e,"Input",function(){return D}),n.d(e,"Output",function(){return I}),n.d(e,"Pipe",function(){return k}),n.d(e,"CUSTOM_ELEMENTS_SCHEMA",function(){return A}),n.d(e,"NO_ERRORS_SCHEMA",function(){return j}),n.d(e,"NgModule",function(){return N}),n.d(e,"ViewEncapsulation",function(){return V}),n.d(e,"Version",function(){return F}),n.d(e,"VERSION",function(){return L}),n.d(e,"forwardRef",function(){return et}),n.d(e,"resolveForwardRef",function(){return nt}),n.d(e,"Injector",function(){return at}),n.d(e,"ReflectiveInjector",function(){return Jt}),n.d(e,"ResolvedReflectiveFactory",function(){return qt}),n.d(e,"ReflectiveKey",function(){return Rt}),n.d(e,"InjectionToken",function(){return u}),n.d(e,"Inject",function(){return B}),n.d(e,"Optional",function(){return H}),n.d(e,"Injectable",function(){return z}),n.d(e,"Self",function(){return W}),n.d(e,"SkipSelf",function(){return U}),n.d(e,"Host",function(){return G}),n.d(e,"NgZone",function(){return We}),n.d(e,"RenderComponentType",function(){return yn}),n.d(e,"Renderer",function(){return bn}),n.d(e,"Renderer2",function(){return xn}),n.d(e,"RendererFactory2",function(){return wn}),n.d(e,"RendererStyleFlags2",function(){return Cn}),n.d(e,"RootRenderer",function(){return _n}),n.d(e,"COMPILER_OPTIONS",function(){return ye}),n.d(e,"Compiler",function(){return me}),n.d(e,"CompilerFactory",function(){return ve}),n.d(e,"ModuleWithComponentFactories",function(){return fe}),n.d(e,"ComponentFactory",function(){return _e}),n.d(e,"ComponentRef",function(){return be}),n.d(e,"ComponentFactoryResolver",function(){return Ee}),n.d(e,"ElementRef",function(){return On}),n.d(e,"NgModuleFactory",function(){return De}),n.d(e,"NgModuleRef",function(){return ke}),n.d(e,"NgModuleFactoryLoader",function(){return Sn}),n.d(e,"getModuleFactory",function(){return Tn}),n.d(e,"QueryList",function(){return kn}),n.d(e,"SystemJsNgModuleLoader",function(){return Rn}),n.d(e,"SystemJsNgModuleLoaderConfig",function(){return Dn}),n.d(e,"TemplateRef",function(){return An}),n.d(e,"ViewContainerRef",function(){return jn}),n.d(e,"EmbeddedViewRef",function(){return Fn}),n.d(e,"ViewRef",function(){return Vn}),n.d(e,"ChangeDetectionStrategy",function(){return O}),n.d(e,"ChangeDetectorRef",function(){return Nn}),n.d(e,"DefaultIterableDiffer",function(){return tr}),n.d(e,"IterableDiffers",function(){return lr}),n.d(e,"KeyValueDiffers",function(){return ur}),n.d(e,"SimpleChange",function(){return Kn}),n.d(e,"WrappedValue",function(){return Yn}),n.d(e,"platformCore",function(){return hr}),n.d(e,"\u0275ALLOW_MULTIPLE_PLATFORMS",function(){return rn}),n.d(e,"\u0275APP_ID_RANDOM_PROVIDER",function(){return ae}),n.d(e,"\u0275devModeEqual",function(){return $n}),n.d(e,"\u0275isListLikeIterable",function(){return Zn}),n.d(e,"\u0275ChangeDetectorStatus",function(){return S}),n.d(e,"\u0275isDefaultChangeDetectionStrategy",function(){return E}),n.d(e,"\u0275Console",function(){return he}),n.d(e,"\u0275ComponentFactory",function(){return _e}),n.d(e,"\u0275CodegenComponentFactoryResolver",function(){return Pe}),n.d(e,"\u0275ReflectionCapabilities",function(){return Lt}),n.d(e,"\u0275RenderDebugInfo",function(){return vn}),n.d(e,"\u0275global",function(){return Y}),n.d(e,"\u0275looseIdentical",function(){return J}),n.d(e,"\u0275stringify",function(){return tt}),n.d(e,"\u0275makeDecorator",function(){return h}),n.d(e,"\u0275isObservable",function(){return ne}),n.d(e,"\u0275isPromise",function(){return ee}),n.d(e,"\u0275clearOverrides",function(){return Qs}),n.d(e,"\u0275overrideComponentView",function(){return Xs}),n.d(e,"\u0275overrideProvider",function(){return Zs}),n.d(e,"\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",function(){return Co}),n.d(e,"\u0275defineComponent",function(){return ol}),n.d(e,"\u0275detectChanges",function(){return il}),n.d(e,"\u0275renderComponent",function(){return rl}),n.d(e,"\u0275C",function(){return Ua}),n.d(e,"\u0275D",function(){return Wa}),n.d(e,"\u0275E",function(){return Ma}),n.d(e,"\u0275T",function(){return Ha}),n.d(e,"\u0275V",function(){return Ya}),n.d(e,"\u0275b",function(){return Ja}),n.d(e,"\u0275b1",function(){return tl}),n.d(e,"\u0275c",function(){return Ga}),n.d(e,"\u0275cR",function(){return qa}),n.d(e,"\u0275cr",function(){return $a}),n.d(e,"\u0275e",function(){return Va}),n.d(e,"\u0275p",function(){return Fa}),n.d(e,"\u0275s",function(){return Ba}),n.d(e,"\u0275t",function(){return za}),n.d(e,"\u0275v",function(){return Ka}),n.d(e,"\u0275registerModuleFactory",function(){return Pn}),n.d(e,"\u0275EMPTY_ARRAY",function(){return _i}),n.d(e,"\u0275EMPTY_MAP",function(){return wi}),n.d(e,"\u0275and",function(){return Ci}),n.d(e,"\u0275ccf",function(){return Hi}),n.d(e,"\u0275cmf",function(){return Js}),n.d(e,"\u0275crt",function(){return zr}),n.d(e,"\u0275did",function(){return po}),n.d(e,"\u0275eld",function(){return xi}),n.d(e,"\u0275elementEventFullName",function(){return ti}),n.d(e,"\u0275getComponentViewDefinitionFactory",function(){return zi}),n.d(e,"\u0275inlineInterpolate",function(){return vi}),n.d(e,"\u0275interpolate",function(){return yi}),n.d(e,"\u0275mod",function(){return Ri}),n.d(e,"\u0275mpd",function(){return Ii}),n.d(e,"\u0275ncd",function(){return Ao}),n.d(e,"\u0275nov",function(){return Ji}),n.d(e,"\u0275pid",function(){return ho}),n.d(e,"\u0275prd",function(){return fo}),n.d(e,"\u0275pad",function(){return Vo}),n.d(e,"\u0275pod",function(){return Fo}),n.d(e,"\u0275ppd",function(){return No}),n.d(e,"\u0275qud",function(){return ko}),n.d(e,"\u0275ted",function(){return Bo}),n.d(e,"\u0275unv",function(){return Lr}),n.d(e,"\u0275vid",function(){return Wo}),n.d(e,"AUTO_STYLE",function(){return yl}),n.d(e,"trigger",function(){return vl}),n.d(e,"animate",function(){return bl}),n.d(e,"group",function(){return _l}),n.d(e,"sequence",function(){return wl}),n.d(e,"style",function(){return Cl}),n.d(e,"state",function(){return xl}),n.d(e,"keyframes",function(){return Ol}),n.d(e,"transition",function(){return Sl}),n.d(e,"\u0275bf",function(){return cl}),n.d(e,"\u0275bg",function(){return dl}),n.d(e,"\u0275bk",function(){return gl}),n.d(e,"\u0275bh",function(){return pl}),n.d(e,"\u0275bj",function(){return fl}),n.d(e,"\u0275bi",function(){return hl}),n.d(e,"\u0275bl",function(){return ml}),n.d(e,"\u0275be",function(){return ul}),n.d(e,"\u0275n",function(){return vr}),n.d(e,"\u0275o",function(){return br}),n.d(e,"\u0275q",function(){return _r}),n.d(e,"\u0275i",function(){return se}),n.d(e,"\u0275j",function(){return dr}),n.d(e,"\u0275k",function(){return pr}),n.d(e,"\u0275l",function(){return Qn}),n.d(e,"\u0275m",function(){return or}),n.d(e,"\u0275f",function(){return te}),n.d(e,"\u0275g",function(){return Wt}),n.d(e,"\u0275h",function(){return Yt}),n.d(e,"\u0275r",function(){return Ne}),n.d(e,"\u0275w",function(){return Re}),n.d(e,"\u0275u",function(){return Ie}),n.d(e,"\u0275z",function(){return je}),n.d(e,"\u0275x",function(){return Me}),n.d(e,"\u0275y",function(){return Ae}),n.d(e,"\u0275bc",function(){return fa}),n.d(e,"\u0275a",function(){return g}),n.d(e,"\u0275d",function(){return m}),n.d(e,"\u0275ba",function(){return go}),n.d(e,"\u0275bb",function(){return Ir});var r=n("TToO"),i=n("YaPU"),o=n("/nXB"),s=n("Rf9G"),a=n("g5jc"),l=n("VwZZ"),u=function(){function t(t){this._desc=t,this.ngMetadataName="InjectionToken"}return t.prototype.toString=function(){return"InjectionToken "+this._desc},t}(),c="__annotations__",d="__paramaters__",p="__prop__metadata__";function h(t,e,n,r){var i=f(e);function o(t){if(this instanceof o)return i.call(this,t),this;var e=new o(t),n=function(t){return(t.hasOwnProperty(c)?t[c]:Object.defineProperty(t,c,{value:[]})[c]).push(e),t};return r&&r(n),n}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o}function f(t){return function(){for(var e=[],n=0;n ");else if("object"==typeof e){var i=[];for(var o in e)if(e.hasOwnProperty(o)){var s=e[o];i.push(o+":"+("string"==typeof s?JSON.stringify(s):tt(s)))}r="{"+i.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+t.replace(gt,"\n ")}function _t(t,e){return new Error(bt(t,e))}var wt="ngDebugContext",Ct="ngOriginalError",xt="ngErrorLogger";function Ot(t){return t[wt]}function St(t){return t[Ct]}function Et(t){for(var e=[],n=1;n1?" ("+function(t){for(var e=[],n=0;n-1)return e.push(t[n]),e;e.push(t[n])}return e}(t.slice().reverse()).map(function(t){return tt(t.token)}).join(" -> ")+")":""}function kt(t,e,n,r){var i=[e],o=n(i),s=r?function(t,e){var n=o+" caused by: "+(e instanceof Error?e.message:e),r=Error(n);return r[Ct]=e,r}(0,r):Error(o);return s.addKey=Dt,s.keys=i,s.injectors=[t],s.constructResolvingMessage=n,s[Ct]=r,s}function Dt(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)}function It(t,e){for(var n=[],r=0,i=e.length;r=this._providers.length)throw function(t){return Error("Index "+t+" is out-of-bounds.")}(t);return this._providers[t]},t.prototype._new=function(t){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw kt(this,t.key,function(t){return"Cannot instantiate cyclic dependency!"+Tt(t)});return this._instantiateProvider(t)},t.prototype._getMaxNumberOfObjects=function(){return this.objs.length},t.prototype._instantiateProvider=function(t){if(t.multiProvider){for(var e=new Array(t.resolvedFactories.length),n=0;n0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+tt(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t}();function fn(t,e){return Array.isArray(e)?e.reduce(fn,t):Object(r.__assign)({},t,e)}var gn=function(){function t(t,e,n,r,a,l){var u=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=a,this._initStatus=l,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=sn(),this._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run(function(){u.tick()})}});var c=new i.Observable(function(t){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular(function(){t.next(u._stable),t.complete()})}),d=new i.Observable(function(t){var e;u._zone.runOutsideAngular(function(){e=u._zone.onStable.subscribe(function(){We.assertNotInAngularZone(),Q(function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,t.next(!0))})})});var n=u._zone.onUnstable.subscribe(function(){We.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(o.a)(c,s.a.call(d))}return t.prototype.bootstrap=function(t,e){var n,r=this;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.");n=t instanceof _e?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var i=n instanceof Te?null:this._injector.get(ke),o=n.create(at.NULL,[],e||n.selector,i);o.onDestroy(function(){r._unloadComponent(o)});var s=o.injector.get(Ze,null);return s&&o.injector.get(Xe).registerApplication(o.location.nativeElement,s),this._loadComponent(o),sn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},t.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=t._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(t){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(t)})}finally{this._runningTick=!1,Le(n)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;mn(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(de,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),mn(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=Fe("ApplicationRef#tick()"),t}();function mn(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var yn=function(t,e,n,r,i,o){this.id=t,this.templateUrl=e,this.slotCount=n,this.encapsulation=r,this.styles=i,this.animations=o},vn=function(){},bn=function(){},_n=function(){},wn=function(){},Cn=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}(),xn=function(){},On=function(t){this.nativeElement=t},Sn=function(){},En=new Map;function Pn(t,e){var n=En.get(t);if(n)throw new Error("Duplicate module registered for "+t+" - "+n.moduleType.name+" vs "+e.moduleType.name);En.set(t,e)}function Tn(t){var e=En.get(t);if(!e)throw new Error("No module with ID "+t+" loaded");return e}var kn=function(){function t(){this.dirty=!0,this._results=[],this.changes=new ze,this.length=0}return t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[X()]=function(){return this._results[X()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=function t(e){return e.reduce(function(e,n){var r=Array.isArray(n)?t(n):n;return e.concat(r)},[])}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}(),Dn=function(){},In={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Rn=function(){function t(t,e){this._compiler=t,this._config=e||In}return t.prototype.load=function(t){return this._compiler instanceof me?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=t.split("#"),i=r[0],o=r[1];return void 0===o&&(o="default"),n("Jnfr")(i).then(function(t){return t[o]}).then(function(t){return Mn(t,i,o)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=t.split("#"),r=e[0],i=e[1],o="NgFactory";return void 0===i&&(i="default",o=""),n("Jnfr")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(t){return t[i+o]}).then(function(t){return Mn(t,r,i)})},t}();function Mn(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var An=function(){},jn=function(){},Nn=function(){},Vn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e}(Nn),Fn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e}(Vn),Ln=function(){function t(t,e,n){this._debugContext=n,this.nativeNode=t,e&&e instanceof Bn?e.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),Bn=function(t){function e(e,n,r){var i=t.call(this,e,n,r)||this;return i.properties={},i.attributes={},i.classes={},i.styles={},i.childNodes=[],i.nativeElement=e,i}return Object(r.__extends)(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n,r=this,i=this.childNodes.indexOf(t);-1!==i&&((n=this.childNodes).splice.apply(n,[i+1,0].concat(e)),e.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=r}))},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return zn(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return Wn(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(Ln);function Hn(t){return t.map(function(t){return t.nativeElement})}function zn(t,e,n){t.childNodes.forEach(function(t){t instanceof Bn&&(e(t)&&n.push(t),zn(t,e,n))})}function Wn(t,e,n){t instanceof Bn&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof Bn&&Wn(t,e,n)})}var Un=new Map;function Gn(t){return Un.get(t)||null}function qn(t){Un.set(t.nativeNode,t)}function $n(t,e){var n=Zn(t),r=Zn(e);return n&&r?function(t,e,n){for(var r=t[X()](),i=e[X()]();;){var o=r.next(),s=i.next();if(o.done&&s.done)return!0;if(o.done||s.done)return!1;if(!n(o.value,s.value))return!1}}(t,e,$n):!(n||!t||"object"!=typeof t&&"function"!=typeof t||r||!e||"object"!=typeof e&&"function"!=typeof e)||J(t,e)}var Yn=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t.unwrap=function(e){return t.isWrapped(e)?e.wrapped:e},t.isWrapped=function(e){return e instanceof t},t}(),Kn=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}();function Zn(t){return!!Xn(t)&&(Array.isArray(t)||!(t instanceof Map)&&X()in t)}function Xn(t){return null!==t&&("function"==typeof t||"object"==typeof t)}var Qn=function(){function t(){}return t.prototype.supports=function(t){return Zn(t)},t.prototype.create=function(t){return new tr(t)},t}(),Jn=function(t,e){return e},tr=function(){function t(t){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=t||Jn}return t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,r=0,i=null;e||n;){var o=!n||e&&e.currentIndex=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,Li(n,e),Rr.dirtyParentQueries(r),Vi(r),r}function Ni(t,e,n){var r=e?Jr(e,e.def.lastRenderRootNode):t.renderElement;ui(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function Vi(t){ui(t,3,null,null,void 0)}function Fi(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Li(t,e){e>=t.length-1?t.pop():t.splice(e,1)}var Bi=new Object;function Hi(t,e,n,r,i,o){return new Wi(t,e,n,r,i,o)}function zi(t){return t.viewDefFactory}var Wi=function(t){function e(e,n,r,i,o,s){var a=t.call(this)||this;return a.selector=e,a.componentType=n,a._inputs=i,a._outputs=o,a.ngContentSelectors=s,a.viewDefFactory=r,a}return Object(r.__extends)(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){var t=[],e=this._inputs;for(var n in e)t.push({propName:n,templateName:e[n]});return t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){var t=[];for(var e in this._outputs)t.push({propName:e,templateName:this._outputs[e]});return t},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){if(!r)throw new Error("ngModule should be provided");var i=li(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,s=Rr.createRootView(t,e||[],n,i,r,Bi),a=Tr(s,o).instance;return n&&s.renderer.setAttribute(Pr(s,0).renderElement,"ng-version",L.full),new Ui(s,new Yi(s),a)},e}(_e),Ui=function(t){function e(e,n,r){var i=t.call(this)||this;return i._view=e,i._viewRef=n,i._component=r,i._elDef=i._view.def.nodes[0],i.hostView=n,i.changeDetectorRef=n,i.instance=r,i}return Object(r.__extends)(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return new On(Pr(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Qi(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewRef.destroy()},e.prototype.onDestroy=function(t){this._viewRef.onDestroy(t)},e}(be);function Gi(t,e,n){return new qi(t,e,n)}var qi=function(){function t(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}return Object.defineProperty(t.prototype,"element",{get:function(){return new On(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Qi(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,e=this._elDef.parent;!e&&t;)e=Qr(t),t=t.parent;return t?new Qi(t,e):new Qi(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var e=ji(this._data,t);Rr.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new Yi(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r,i){var o=n||this.parentInjector;i||t instanceof Te||(i=o.get(ke));var s=t.create(o,r,void 0,i);return this.insert(s.hostView,e),s},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,i,o,s=t;return i=s._view,o=(n=this._data).viewContainer._embeddedViews,null!==(r=e)&&void 0!==r||(r=o.length),i.viewContainerParent=this._view,Fi(o,r,i),function(t,e){var n=Xr(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),function(t,n){if(!(4&n.flags)){e.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,e.parentNodeDef)}}(n,i),Rr.dirtyParentQueries(i),Ni(n,r>0?o[r-1]:null,i),s.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,i,o,s,a=this._embeddedViews.indexOf(t._view);return i=e,s=(o=(n=this._data).viewContainer._embeddedViews)[r=a],Li(o,r),null==i&&(i=o.length),Fi(o,i,s),Rr.dirtyParentQueries(s),Vi(s),Ni(n,i>0?o[i-1]:null,s),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=ji(this._data,t);e&&Rr.destroyView(e)},t.prototype.detach=function(t){var e=ji(this._data,t);return e?new Yi(e):null},t}();function $i(t){return new Yi(t)}var Yi=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return ui(this._view,0,void 0,void 0,t=[]),t;var t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){Yr(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{Rr.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){Rr.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Rr.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,Vi(this._view),Rr.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}();function Ki(t,e){return new Zi(t,e)}var Zi=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return Object(r.__extends)(e,t),e.prototype.createEmbeddedView=function(t){return new Yi(Rr.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new On(Pr(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(An);function Xi(t,e){return new Qi(t,e)}var Qi=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){return void 0===e&&(e=at.THROW_IF_NOT_FOUND),Rr.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:Fr(t)},e)},t}();function Ji(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=Pr(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Er(t,n.nodeIndex).renderText;if(20240&n.flags)return Tr(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function to(t){return new eo(t.renderer)}var eo=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=gi(e),r=this.delegate.createElement(n[1],n[0]);return t&&this.delegate.appendChild(t,r),r},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var r=0;r0,r=e.provider;switch(201347067&e.flags){case 512:return wo(t,e.parent,n,r.value,r.deps);case 1024:return function(t,e,n,r,i){var o=i.length;switch(o){case 0:return r();case 1:return r(xo(t,e,n,i[0]));case 2:return r(xo(t,e,n,i[0]),xo(t,e,n,i[1]));case 3:return r(xo(t,e,n,i[0]),xo(t,e,n,i[1]),xo(t,e,n,i[2]));default:for(var s=Array(o),a=0;a0)u=g,Uo(g)||(c=g);else for(;u&&f===u.nodeIndex+u.childCount;){var v=u.parent;v&&(v.childFlags|=u.childFlags,v.childMatchedQueries|=u.childMatchedQueries),c=(u=v)&&Uo(u)?u.renderParent:u}}return{factory:null,nodeFlags:s,rootNodeFlags:a,nodeMatchedQueries:l,flags:t,nodes:e,updateDirectives:n||Nr,updateRenderer:r||Nr,handleEvent:function(t,n,r,i){return e[n].element.handleEvent(t,r,i)},bindingCount:i,outputCount:o,lastRenderRootNode:h}}function Uo(t){return 0!=(1&t.flags)&&null===t.element.name}function Go(t,e,n){var r=e.element&&e.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 "+e.nodeIndex+"!")}if(20224&e.flags&&0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!");if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var i=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=i&&e.nodeIndex+e.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function qo(t,e,n,r){var i=Ko(t.root,t.renderer,t,e,n);return Zo(i,t.component,r),Xo(i),i}function $o(t,e,n){var r=Ko(t,t.renderer,null,null,e);return Zo(r,n,n),Xo(r),r}function Yo(t,e,n,r){var i,o=e.element.componentRendererType;return i=o?t.root.rendererFactory.createRenderer(r,o):t.root.renderer,Ko(t.root,i,t,e.element.componentProvider,n)}function Ko(t,e,n,r,i){var 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:t,renderer:e,oldValues:new Array(i.bindingCount),disposables:s,initIndex:-1}}function Zo(t,e,n){t.component=e,t.context=n}function Xo(t){var e;ei(t)&&(e=Pr(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);for(var n=t.def,r=t.nodes,i=0;i0&&Pi(t,e,0,n)&&(h=!0),p>1&&Pi(t,e,1,r)&&(h=!0),p>2&&Pi(t,e,2,i)&&(h=!0),p>3&&Pi(t,e,3,o)&&(h=!0),p>4&&Pi(t,e,4,s)&&(h=!0),p>5&&Pi(t,e,5,a)&&(h=!0),p>6&&Pi(t,e,6,l)&&(h=!0),p>7&&Pi(t,e,7,u)&&(h=!0),p>8&&Pi(t,e,8,c)&&(h=!0),p>9&&Pi(t,e,9,d)&&(h=!0),h}(t,e,n,r,i,o,s,a,l,u,c,d);case 2:return function(t,e,n,r,i,o,s,a,l,u,c,d){var p=!1,h=e.bindings,f=h.length;if(f>0&&qr(t,e,0,n)&&(p=!0),f>1&&qr(t,e,1,r)&&(p=!0),f>2&&qr(t,e,2,i)&&(p=!0),f>3&&qr(t,e,3,o)&&(p=!0),f>4&&qr(t,e,4,s)&&(p=!0),f>5&&qr(t,e,5,a)&&(p=!0),f>6&&qr(t,e,6,l)&&(p=!0),f>7&&qr(t,e,7,u)&&(p=!0),f>8&&qr(t,e,8,c)&&(p=!0),f>9&&qr(t,e,9,d)&&(p=!0),p){var g=e.text.prefix;f>0&&(g+=zo(n,h[0])),f>1&&(g+=zo(r,h[1])),f>2&&(g+=zo(i,h[2])),f>3&&(g+=zo(o,h[3])),f>4&&(g+=zo(s,h[4])),f>5&&(g+=zo(a,h[5])),f>6&&(g+=zo(l,h[6])),f>7&&(g+=zo(u,h[7])),f>8&&(g+=zo(c,h[8])),f>9&&(g+=zo(d,h[9]));var m=Er(t,e.nodeIndex).renderText;t.renderer.setValue(m,g)}return p}(t,e,n,r,i,o,s,a,l,u,c,d);case 16384:return function(t,e,n,r,i,o,s,a,l,u,c,d){var p=Tr(t,e.nodeIndex),h=p.instance,f=!1,g=void 0,m=e.bindings.length;return m>0&&Gr(t,e,0,n)&&(f=!0,g=So(t,p,e,0,n,g)),m>1&&Gr(t,e,1,r)&&(f=!0,g=So(t,p,e,1,r,g)),m>2&&Gr(t,e,2,i)&&(f=!0,g=So(t,p,e,2,i,g)),m>3&&Gr(t,e,3,o)&&(f=!0,g=So(t,p,e,3,o,g)),m>4&&Gr(t,e,4,s)&&(f=!0,g=So(t,p,e,4,s,g)),m>5&&Gr(t,e,5,a)&&(f=!0,g=So(t,p,e,5,a,g)),m>6&&Gr(t,e,6,l)&&(f=!0,g=So(t,p,e,6,l,g)),m>7&&Gr(t,e,7,u)&&(f=!0,g=So(t,p,e,7,u,g)),m>8&&Gr(t,e,8,c)&&(f=!0,g=So(t,p,e,8,c,g)),m>9&&Gr(t,e,9,d)&&(f=!0,g=So(t,p,e,9,d,g)),g&&h.ngOnChanges(g),65536&e.flags&&Sr(t,256,e.nodeIndex)&&h.ngOnInit(),262144&e.flags&&h.ngDoCheck(),f}(t,e,n,r,i,o,s,a,l,u,c,d);case 32:case 64:case 128:return function(t,e,n,r,i,o,s,a,l,u,c,d){var p=e.bindings,h=!1,f=p.length;if(f>0&&qr(t,e,0,n)&&(h=!0),f>1&&qr(t,e,1,r)&&(h=!0),f>2&&qr(t,e,2,i)&&(h=!0),f>3&&qr(t,e,3,o)&&(h=!0),f>4&&qr(t,e,4,s)&&(h=!0),f>5&&qr(t,e,5,a)&&(h=!0),f>6&&qr(t,e,6,l)&&(h=!0),f>7&&qr(t,e,7,u)&&(h=!0),f>8&&qr(t,e,8,c)&&(h=!0),f>9&&qr(t,e,9,d)&&(h=!0),h){var g=kr(t,e.nodeIndex),m=void 0;switch(201347067&e.flags){case 32:m=new Array(p.length),f>0&&(m[0]=n),f>1&&(m[1]=r),f>2&&(m[2]=i),f>3&&(m[3]=o),f>4&&(m[4]=s),f>5&&(m[5]=a),f>6&&(m[6]=l),f>7&&(m[7]=u),f>8&&(m[8]=c),f>9&&(m[9]=d);break;case 64:m={},f>0&&(m[p[0].name]=n),f>1&&(m[p[1].name]=r),f>2&&(m[p[2].name]=i),f>3&&(m[p[3].name]=o),f>4&&(m[p[4].name]=s),f>5&&(m[p[5].name]=a),f>6&&(m[p[6].name]=l),f>7&&(m[p[7].name]=u),f>8&&(m[p[8].name]=c),f>9&&(m[p[9].name]=d);break;case 128:var y=n;switch(f){case 1:m=y.transform(n);break;case 2:m=y.transform(r);break;case 3:m=y.transform(r,i);break;case 4:m=y.transform(r,i,o);break;case 5:m=y.transform(r,i,o,s);break;case 6:m=y.transform(r,i,o,s,a);break;case 7:m=y.transform(r,i,o,s,a,l);break;case 8:m=y.transform(r,i,o,s,a,l,u);break;case 9:m=y.transform(r,i,o,s,a,l,u,c);break;case 10:m=y.transform(r,i,o,s,a,l,u,c,d)}}g.value=m}return h}(t,e,n,r,i,o,s,a,l,u,c,d);default:throw"unreachable"}}(t,e,r,i,o,s,a,l,u,c,d,p):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){for(var r=!1,i=0;i0&&$r(t,e,0,n),p>1&&$r(t,e,1,r),p>2&&$r(t,e,2,i),p>3&&$r(t,e,3,o),p>4&&$r(t,e,4,s),p>5&&$r(t,e,5,a),p>6&&$r(t,e,6,l),p>7&&$r(t,e,7,u),p>8&&$r(t,e,8,c),p>9&&$r(t,e,9,d)}(t,e,r,i,o,s,a,l,u,c,d,p):function(t,e,n){for(var r=0;r0&&ca(n[e-1],r.next),n.splice(e,1),function(t){for(var e=t;e;){var n=null;if(e.views&&e.views.length?n=e.views[0].data:e.child?n=e.child:e.next&&(pa(e),n=e.next),null==n){for(;e&&!e.next;)pa(e),e=da(e,t);pa(e||t),n=e&&e.next}e=n}}(r.data),la(t,r,!1),t.query&&t.query.removeView(t,r,e),r}function ca(t,e){t.next=e,t.data.next=e?e.data:null}function da(t,e){var n;return(n=t.node)&&2==(3&n.flags)?n.parent.data:t.parent===e?null:t.parent}function pa(t){if(t.cleanup){for(var e=t.cleanup,n=0;n=ba.length?ba[t]=null:a.staticData=ba[t],va?(wa=null,ya.view!==_a&&2!=(3&ya.flags)||(ngDevMode&&na(ya.child,null,"previousNode.child"),ya.child=a)):ya&&(ngDevMode&&na(ya.next,null,"previousNode.next"),ya.next=a)),ya=a,va=!0,a}function Ma(t,e,n,r){var i,o;if(null==e){var s=xa[t];o=s&&s.native}else{ngDevMode&&na(_a.bindingStartIndex,null,"bindingStartIndex");var a="string"!=typeof e,l=a?e.tag:e;if(null===l)throw"for now name is required";o=ga.createElement(l);var u=null;if(a){var c=Aa(e.template);u=Xa(Ia(-1,ma.createRenderer(o,e.rendererType),c))}null==(i=Ra(t,3,o,u)).staticData&&(ngDevMode&&nl(t-1),i.staticData=ba[t]=La(l,n||null,null,r||null)),n&&function(t,e){ngDevMode&&na(e.length%2,0,"attrs.length % 2");for(var n=ga.setAttribute,r=0;r>12,i=r,o=r+((4092&t)>>2);i=ba.length&&(ba[t]=n,r)){ngDevMode&&ra(ya.staticData,"previousOrParentNode.staticData");var s=ya.staticData;(s.localNames||(s.localNames=[])).push(r,t)}var a=n.diPublic;a&&a(n);var l=ya.staticData;l&&l.attrs&&function(t,e,r){var i=((4092&ya.flags)>>2)-1,o=r.initialInputs;(void 0===o||i>=o.length)&&(o=function(t,e,n){var r=n.initialInputs||(n.initialInputs=[]);r[t]=null;for(var i=n.attrs,o=0;o=n.length||null==n[t])&&(n[t]=[]),n[t]}(t,e));ka(s,Ra(null,2,null,s)),n.nextIndex++}return!o}function Ka(){va=!1;var t=ya=_a.node,e=ya.parent;ngDevMode&&sa(t,2),ngDevMode&&sa(e,0);var n=e.data,r=n.nextIndex<=n.views.length?n.views[n.nextIndex-1]:null;(null==r||r.data.id!==t.data.id)&&(function(t,e,n){var r=t.data,i=r.views;n>0&&ca(i[n-1],e),n=i.length&&i.push(e),r.nextIndex<=n&&r.nextIndex++,null!==t.data.renderParent&&la(t,e,!0,function(e,n,r){var i=n.views;return e+1")}function rl(t,e){void 0===e&&(e={});var n,r=e.rendererFactory||Pa,i=t.ngComponentDef,o=Na(r,e.host||i.tag),s=ka(Ia(-1,r.createRenderer(o,i.rendererType),[]),null);try{va=!1,ya=null,Ra(0,3,o,Ia(-1,ga,Aa(i.template))),n=Wa(1,i.n(),i)}finally{Da(s)}return e.features&&e.features.forEach(function(t){return t(n,i)}),il(n),n}function il(t){ngDevMode&&ra(t,"component");var e=t[Ta];ngDevMode&&!e&&ja("Not a directive instance",t),ngDevMode&&ra(e.data,"hostNode.data"),function(t,n,r,i){var o=ka(n,e);try{ma.begin&&ma.begin(),r.constructor.ngComponentDef.r(1,0)}finally{ma.end&&ma.end(),n.creationMode=!1,Da(o)}}(0,e.view,t)}function ol(t){var e={type:t.type,diPublic:null,n:t.factory,tag:t.tag||null,template:t.template||null,r:t.refresh||function(e,n){Za(e,n,t.template)},h:t.hostBindings||al,inputs:ll(t.inputs),outputs:ll(t.outputs),methods:ll(t.methods),rendererType:Ur(t.rendererType)||null},n=t.features;return n&&n.forEach(function(t){return t(e)}),e}var sl={};function al(){}function ll(t){if(null==t)return sl;var e={};for(var n in t)e[t[n]]=n;return e}function ul(t,e){return{type:7,name:t,definitions:e,options:{}}}function cl(t,e){return void 0===e&&(e=null),{type:4,styles:e,timings:t}}function dl(t,e){return void 0===e&&(e=null),{type:3,steps:t,options:e}}function pl(t,e){return void 0===e&&(e=null),{type:2,steps:t,options:e}}function hl(t){return{type:6,styles:t,offset:null}}function fl(t,e,n){return{type:0,name:t,styles:e,options:n}}function gl(t){return{type:5,steps:t}}function ml(t,e,n){return void 0===n&&(n=null),{type:1,expr:t,animation:e,options:n}}var yl="*";function vl(t,e){return ul(t,e)}function bl(t,e){return cl(t,e)}function _l(t){return dl(t)}function wl(t){return pl(t)}function Cl(t){return hl(t)}function xl(t,e){return fl(t,e)}function Ol(t){return gl(t)}function Sl(t,e){return ml(t,e)}}).call(e,n("DuR2"))},WzQ7:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i,o,s,a=n("L9Tr"),l={},u="undefined"!=typeof document?document.createElement("div").style:void 0,c=(s="undefined"!=typeof(o=null!==(i="undefined"!=typeof(r="undefined"!=typeof window?window.getComputedStyle(document.documentElement,""):void 0)?Array.prototype.slice.call(r).join("").match(/-(moz|webkit|ms)-/):null)?i[1]:void 0)?"WebKit|Moz|MS|O".match(new RegExp("("+o+")","i"))[1]:void 0)?{dom:s,lowercase:o,css:"-"+o+"-",js:o[0].toUpperCase()+o.substr(1)}:void 0;e.getVendorPrefixedName=function(t){var e=a.camelCase(t);return l[e]||(void 0!==c&&void 0!==u[c.css+t]?l[e]=c.css+t:void 0!==u[t]&&(l[e]=t)),l[e]}},X6wl:function(t,e,n){"use strict";var r=n("TToO").__decorate,i=n("TToO").__metadata;Object.defineProperty(e,"__esModule",{value:!0});var o=n("WT6e"),s=n("x6Zf"),a=(n("j2I9"),n("0RJd"));e.DataTableBodyComponent=function(){function t(t){var e=this;this.cd=t,this.selected=[],this.scroll=new o.EventEmitter,this.page=new o.EventEmitter,this.activate=new o.EventEmitter,this.select=new o.EventEmitter,this.detailToggle=new o.EventEmitter,this.rowContextmenu=new o.EventEmitter(!1),this.rowHeightsCache=new s.RowHeightCache,this.temp=[],this.offsetY=0,this.indexes={},this.rowIndexes=new Map,this.rowExpansions=new Map,this.getDetailRowHeight=function(t,n){if(!e.rowDetail)return 0;var r=e.rowDetail.rowHeight;return"function"==typeof r?r(t,n):r},this.rowTrackingFn=(function(t,e){var n=this.getRowIndex(e);return this.trackByProp?n+"-"+this.trackByProp:n}).bind(this)}return Object.defineProperty(t.prototype,"pageSize",{get:function(){return this._pageSize},set:function(t){this._pageSize=t,this.recalcLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rows",{get:function(){return this._rows},set:function(t){this._rows=t,this.rowExpansions.clear(),this.recalcLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"columns",{get:function(){return this._columns},set:function(t){this._columns=t;var e=s.columnsByPin(t);this.columnGroupWidths=s.columnGroupWidths(e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"offset",{get:function(){return this._offset},set:function(t){this._offset=t,this.recalcLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rowCount",{get:function(){return this._rowCount},set:function(t){this._rowCount=t,this.recalcLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bodyWidth",{get:function(){return this.scrollbarH?this.innerWidth+"px":"100%"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bodyHeight",{get:function(){return this._bodyHeight},set:function(t){this._bodyHeight=this.scrollbarV?t+"px":"auto",this.recalcLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectEnabled",{get:function(){return!!this.selectionType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scrollHeight",{get:function(){if(this.scrollbarV&&this.rowCount)return this.rowHeightsCache.query(this.rowCount-1)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.rowDetail&&(this.listener=this.rowDetail.toggle.subscribe(function(e){var n=e.type,r=e.value;"row"===n&&t.toggleRowExpansion(r),"all"===n&&t.toggleAllRows(r),t.updateIndexes(),t.updateRows(),t.cd.markForCheck()})),this.groupHeader&&(this.listener=this.groupHeader.toggle.subscribe(function(e){var n=e.type,r=e.value;"group"===n&&t.toggleRowExpansion(r),"all"===n&&t.toggleAllRows(r),t.updateIndexes(),t.updateRows(),t.cd.markForCheck()}))},t.prototype.ngOnDestroy=function(){this.rowDetail&&this.listener.unsubscribe(),this.groupHeader&&this.listener.unsubscribe()},t.prototype.updateOffsetY=function(t){this.scroller&&(this.scrollbarV&&t&&(t=this.rowHeightsCache.query(this.pageSize*t-1)),this.scroller.setOffset(t||0))},t.prototype.onBodyScroll=function(t){var e=t.scrollYPos,n=t.scrollXPos;this.offsetY===e&&this.offsetX===n||this.scroll.emit({offsetY:e,offsetX:n}),this.offsetY=e,this.offsetX=n,this.updateIndexes(),this.updatePage(t.direction),this.updateRows()},t.prototype.updatePage=function(t){var e=this.indexes.first/this.pageSize;"up"===t?e=Math.ceil(e):"down"===t&&(e=Math.floor(e)),void 0===t||isNaN(e)||this.page.emit({offset:e})},t.prototype.updateRows=function(){var t=this.indexes,e=t.last,n=t.first,r=0,i=[];if(this.rowIndexes.clear(),this.groupedRows)for(;n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ',changeDetection:o.ChangeDetectionStrategy.OnPush,host:{class:"datatable-body"}})],t)}()},Xjw4:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"\u0275registerLocaleData",function(){return m}),n.d(e,"NgLocaleLocalization",function(){return K}),n.d(e,"NgLocalization",function(){return $}),n.d(e,"registerLocaleData",function(){return m}),n.d(e,"Plural",function(){return v}),n.d(e,"NumberFormatStyle",function(){return y}),n.d(e,"FormStyle",function(){return b}),n.d(e,"TranslationWidth",function(){return _}),n.d(e,"FormatWidth",function(){return w}),n.d(e,"NumberSymbol",function(){return C}),n.d(e,"WeekDay",function(){return x}),n.d(e,"getCurrencySymbol",function(){return G}),n.d(e,"getLocaleDayPeriods",function(){return S}),n.d(e,"getLocaleDayNames",function(){return E}),n.d(e,"getLocaleMonthNames",function(){return P}),n.d(e,"getLocaleId",function(){return O}),n.d(e,"getLocaleEraNames",function(){return T}),n.d(e,"getLocaleWeekEndRange",function(){return D}),n.d(e,"getLocaleFirstDayOfWeek",function(){return k}),n.d(e,"getLocaleDateFormat",function(){return I}),n.d(e,"getLocaleDateTimeFormat",function(){return M}),n.d(e,"getLocaleExtraDayPeriodRules",function(){return B}),n.d(e,"getLocaleExtraDayPeriods",function(){return H}),n.d(e,"getLocalePluralCase",function(){return F}),n.d(e,"getLocaleTimeFormat",function(){return R}),n.d(e,"getLocaleNumberSymbol",function(){return A}),n.d(e,"getLocaleNumberFormat",function(){return j}),n.d(e,"getLocaleCurrencyName",function(){return V}),n.d(e,"getLocaleCurrencySymbol",function(){return N}),n.d(e,"\u0275parseCookieValue",function(){return X}),n.d(e,"CommonModule",function(){return De}),n.d(e,"DeprecatedI18NPipesModule",function(){return Ie}),n.d(e,"NgClass",function(){return Q}),n.d(e,"NgForOf",function(){return et}),n.d(e,"NgForOfContext",function(){return tt}),n.d(e,"NgIf",function(){return rt}),n.d(e,"NgIfContext",function(){return it}),n.d(e,"NgPlural",function(){return ut}),n.d(e,"NgPluralCase",function(){return ct}),n.d(e,"NgStyle",function(){return dt}),n.d(e,"NgSwitch",function(){return st}),n.d(e,"NgSwitchCase",function(){return at}),n.d(e,"NgSwitchDefault",function(){return lt}),n.d(e,"NgTemplateOutlet",function(){return pt}),n.d(e,"NgComponentOutlet",function(){return J}),n.d(e,"DOCUMENT",function(){return Re}),n.d(e,"AsyncPipe",function(){return me}),n.d(e,"DatePipe",function(){return It}),n.d(e,"I18nPluralPipe",function(){return we}),n.d(e,"I18nSelectPipe",function(){return Ce}),n.d(e,"JsonPipe",function(){return xe}),n.d(e,"LowerCasePipe",function(){return ye}),n.d(e,"CurrencyPipe",function(){return Ee}),n.d(e,"DecimalPipe",function(){return Oe}),n.d(e,"PercentPipe",function(){return Se}),n.d(e,"SlicePipe",function(){return Te}),n.d(e,"UpperCasePipe",function(){return be}),n.d(e,"TitleCasePipe",function(){return ve}),n.d(e,"DeprecatedDatePipe",function(){return Kt}),n.d(e,"DeprecatedCurrencyPipe",function(){return de}),n.d(e,"DeprecatedDecimalPipe",function(){return ue}),n.d(e,"DeprecatedPercentPipe",function(){return ce}),n.d(e,"\u0275PLATFORM_BROWSER_ID",function(){return Me}),n.d(e,"\u0275PLATFORM_SERVER_ID",function(){return Ae}),n.d(e,"\u0275PLATFORM_WORKER_APP_ID",function(){return je}),n.d(e,"\u0275PLATFORM_WORKER_UI_ID",function(){return Ne}),n.d(e,"isPlatformBrowser",function(){return Ve}),n.d(e,"isPlatformServer",function(){return Fe}),n.d(e,"isPlatformWorkerApp",function(){return Le}),n.d(e,"isPlatformWorkerUi",function(){return Be}),n.d(e,"VERSION",function(){return He}),n.d(e,"PlatformLocation",function(){return o}),n.d(e,"LOCATION_INITIALIZED",function(){return s}),n.d(e,"LocationStrategy",function(){return a}),n.d(e,"APP_BASE_HREF",function(){return l}),n.d(e,"HashLocationStrategy",function(){return d}),n.d(e,"PathLocationStrategy",function(){return p}),n.d(e,"Location",function(){return u}),n.d(e,"\u0275e",function(){return ht}),n.d(e,"\u0275d",function(){return U}),n.d(e,"\u0275a",function(){return q}),n.d(e,"\u0275b",function(){return Z}),n.d(e,"\u0275g",function(){return pe}),n.d(e,"\u0275f",function(){return ke});var r=n("WT6e"),i=n("TToO"),o=function(){},s=new r.InjectionToken("Location Initialized"),a=function(){},l=new r.InjectionToken("appBaseHref"),u=function(){function t(e){var n=this;this._subject=new r.EventEmitter,this._platformStrategy=e;var i=this._platformStrategy.getBaseHref();this._baseHref=t.stripTrailingSlash(c(i)),this._platformStrategy.onPopState(function(t){n._subject.emit({url:n.path(!0),pop:!0,type:t.type})})}return t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.isCurrentPathEqualTo=function(e,n){return void 0===n&&(n=""),this.path()==this.normalize(e+t.normalizeQueryParams(n))},t.prototype.normalize=function(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,c(e)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e){void 0===e&&(e=""),this._platformStrategy.pushState(null,"",t,e)},t.prototype.replaceState=function(t,e){void 0===e&&(e=""),this._platformStrategy.replaceState(null,"",t,e)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.subscribe=function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=function(t){return t&&"?"!==t[0]?"?"+t:t},t.joinWithSlash=function(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e},t.stripTrailingSlash=function(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)},t}();function c(t){return t.replace(/\/index.html$/,"")}var d=function(t){function e(e,n){var r=t.call(this)||this;return r._platformLocation=e,r._baseHref="",null!=n&&(r._baseHref=n),r}return Object(i.__extends)(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=u.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+u.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+u.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(a),p=function(t){function e(e,n){var r=t.call(this)||this;if(r._platformLocation=e,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)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.");return r._baseHref=n,r}return Object(i.__extends)(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return u.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+u.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+u.normalizeQueryParams(r));this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+u.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,i)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(a),h={AOA:[,"Kz"],ARS:[,"$"],AUD:["A$","$"],BAM:[,"KM"],BBD:[,"$"],BDT:[,"\u09f3"],BMD:[,"$"],BND:[,"$"],BOB:[,"Bs"],BRL:["R$"],BSD:[,"$"],BWP:[,"P"],BYN:[,"\u0440."],BZD:[,"$"],CAD:["CA$","$"],CLP:[,"$"],CNY:["CN\xa5","\xa5"],COP:[,"$"],CRC:[,"\u20a1"],CUC:[,"$"],CUP:[,"$"],CZK:[,"K\u010d"],DKK:[,"kr"],DOP:[,"$"],EGP:[,"E\xa3"],ESP:[,"\u20a7"],EUR:["\u20ac"],FJD:[,"$"],FKP:[,"\xa3"],GBP:["\xa3"],GEL:[,"\u20be"],GIP:[,"\xa3"],GNF:[,"FG"],GTQ:[,"Q"],GYD:[,"$"],HKD:["HK$","$"],HNL:[,"L"],HRK:[,"kn"],HUF:[,"Ft"],IDR:[,"Rp"],ILS:["\u20aa"],INR:["\u20b9"],ISK:[,"kr"],JMD:[,"$"],JPY:["\xa5"],KHR:[,"\u17db"],KMF:[,"CF"],KPW:[,"\u20a9"],KRW:["\u20a9"],KYD:[,"$"],KZT:[,"\u20b8"],LAK:[,"\u20ad"],LBP:[,"L\xa3"],LKR:[,"Rs"],LRD:[,"$"],LTL:[,"Lt"],LVL:[,"Ls"],MGA:[,"Ar"],MMK:[,"K"],MNT:[,"\u20ae"],MUR:[,"Rs"],MXN:["MX$","$"],MYR:[,"RM"],NAD:[,"$"],NGN:[,"\u20a6"],NIO:[,"C$"],NOK:[,"kr"],NPR:[,"Rs"],NZD:["NZ$","$"],PHP:[,"\u20b1"],PKR:[,"Rs"],PLN:[,"z\u0142"],PYG:[,"\u20b2"],RON:[,"lei"],RUB:[,"\u20bd"],RUR:[,"\u0440."],RWF:[,"RF"],SBD:[,"$"],SEK:[,"kr"],SGD:[,"$"],SHP:[,"\xa3"],SRD:[,"$"],SSP:[,"\xa3"],STD:[,"Db"],SYP:[,"\xa3"],THB:[,"\u0e3f"],TOP:[,"T$"],TRY:[,"\u20ba"],TTD:[,"$"],TWD:["NT$","$"],UAH:[,"\u20b4"],USD:["$"],UYU:[,"$"],VEF:[,"Bs"],VND:["\u20ab"],XAF:["FCFA"],XCD:["EC$","$"],XOF:["CFA"],XPF:["CFPF"],ZAR:[,"R"],ZMW:[,"ZK"]},f=["en",[["a","p"],["AM","PM"]],[["AM","PM"],,],[["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"]],,[["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"]],,[["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}",,"{1} 'at' {0}"],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],g={};function m(t,e,n){"string"!=typeof e&&(n=e,e=t[0]),e=e.toLowerCase().replace(/_/g,"-"),g[e]=t,n&&(g[e][18]=n)}var y=function(){var t={Decimal:0,Percent:1,Currency:2,Scientific:3};return t[t.Decimal]="Decimal",t[t.Percent]="Percent",t[t.Currency]="Currency",t[t.Scientific]="Scientific",t}(),v=function(){var t={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return t[t.Zero]="Zero",t[t.One]="One",t[t.Two]="Two",t[t.Few]="Few",t[t.Many]="Many",t[t.Other]="Other",t}(),b=function(){var t={Format:0,Standalone:1};return t[t.Format]="Format",t[t.Standalone]="Standalone",t}(),_=function(){var t={Narrow:0,Abbreviated:1,Wide:2,Short:3};return t[t.Narrow]="Narrow",t[t.Abbreviated]="Abbreviated",t[t.Wide]="Wide",t[t.Short]="Short",t}(),w=function(){var t={Short:0,Medium:1,Long:2,Full:3};return t[t.Short]="Short",t[t.Medium]="Medium",t[t.Long]="Long",t[t.Full]="Full",t}(),C=function(){var t={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};return t[t.Decimal]="Decimal",t[t.Group]="Group",t[t.List]="List",t[t.PercentSign]="PercentSign",t[t.PlusSign]="PlusSign",t[t.MinusSign]="MinusSign",t[t.Exponential]="Exponential",t[t.SuperscriptingExponent]="SuperscriptingExponent",t[t.PerMille]="PerMille",t[t.Infinity]="Infinity",t[t.NaN]="NaN",t[t.TimeSeparator]="TimeSeparator",t[t.CurrencyDecimal]="CurrencyDecimal",t[t.CurrencyGroup]="CurrencyGroup",t}(),x=function(){var t={Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6};return t[t.Sunday]="Sunday",t[t.Monday]="Monday",t[t.Tuesday]="Tuesday",t[t.Wednesday]="Wednesday",t[t.Thursday]="Thursday",t[t.Friday]="Friday",t[t.Saturday]="Saturday",t}();function O(t){return U(t)[0]}function S(t,e,n){var r=U(t);return z(z([r[1],r[2]],e),n)}function E(t,e,n){var r=U(t);return z(z([r[3],r[4]],e),n)}function P(t,e,n){var r=U(t);return z(z([r[5],r[6]],e),n)}function T(t,e){return z(U(t)[7],e)}function k(t){return U(t)[8]}function D(t){return U(t)[9]}function I(t,e){return z(U(t)[10],e)}function R(t,e){return z(U(t)[11],e)}function M(t,e){return z(U(t)[12],e)}function A(t,e){var n=U(t),r=n[13][e];if("undefined"==typeof r){if(e===C.CurrencyDecimal)return n[13][C.Decimal];if(e===C.CurrencyGroup)return n[13][C.Group]}return r}function j(t,e){return U(t)[14][e]}function N(t){return U(t)[15]||null}function V(t){return U(t)[16]||null}function F(t){return U(t)[17]}function L(t){if(!t[18])throw new Error('Missing extra locale data for the locale "'+t[0]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function B(t){var e=U(t);return L(e),(e[18][2]||[]).map(function(t){return"string"==typeof t?W(t):[W(t[0]),W(t[1])]})}function H(t,e,n){var r=U(t);return L(r),z(z([r[18][0],r[18][1]],e)||[],n)||[]}function z(t,e){for(var n=e;n>-1;n--)if("undefined"!=typeof t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function W(t){var e=t.split(":");return{hours:+e[0],minutes:+e[1]}}function U(t){var e=t.toLowerCase().replace(/_/g,"-"),n=g[e];if(n)return n;var r=e.split("-")[0];if(n=g[r])return n;if("en"===r)return f;throw new Error('Missing locale data for the locale "'+t+'".')}function G(t,e){var n=h[t]||[],r=n[1];return"narrow"===e&&"string"==typeof r?r:n[0]||t}var q=new r.InjectionToken("UseV4Plurals"),$=function(){};function Y(t,e,n,r){var i="="+t;if(e.indexOf(i)>-1)return i;if(i=n.getPluralCategory(t,r),e.indexOf(i)>-1)return i;if(e.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'+t+'"')}var K=function(t){function e(e,n){var r=t.call(this)||this;return r.locale=e,r.deprecatedPluralFn=n,r}return Object(i.__extends)(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):F(e||this.locale)(t)){case v.Zero:return"zero";case v.One:return"one";case v.Two:return"two";case v.Few:return"few";case v.Many:return"many";default:return"other"}},e}($);function Z(t,e){"string"==typeof e&&(e=parseInt(e,10));var n=e,r=n.toString().replace(/^[^.]*\.?/,""),i=Math.floor(Math.abs(n)),o=r.length,s=parseInt(r,10),a=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(t.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?v.One:v.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?v.One:v.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===i||1===n?v.One:v.Other;case"ar":return 0===n?v.Zero:1===n?v.One:2===n?v.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?v.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?v.Many:v.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===i&&0===o?v.One:v.Other;case"be":return n%10==1&&n%100!=11?v.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?v.Few:n%10==0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?v.Many:v.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?v.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?v.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10==9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?v.Few:0!==n&&n%1e6==0?v.Many:v.Other;case"bs":case"hr":case"sr":return 0===o&&i%10==1&&i%100!=11||s%10==1&&s%100!=11?v.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)||s%10===Math.floor(s%10)&&s%10>=2&&s%10<=4&&!(s%100>=12&&s%100<=14)?v.Few:v.Other;case"cs":case"sk":return 1===i&&0===o?v.One:i===Math.floor(i)&&i>=2&&i<=4&&0===o?v.Few:0!==o?v.Many:v.Other;case"cy":return 0===n?v.Zero:1===n?v.One:2===n?v.Two:3===n?v.Few:6===n?v.Many:v.Other;case"da":return 1===n||0!==a&&(0===i||1===i)?v.One:v.Other;case"dsb":case"hsb":return 0===o&&i%100==1||s%100==1?v.One:0===o&&i%100==2||s%100==2?v.Two:0===o&&i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4||s%100===Math.floor(s%100)&&s%100>=3&&s%100<=4?v.Few:v.Other;case"ff":case"fr":case"hy":case"kab":return 0===i||1===i?v.One:v.Other;case"fil":return 0===o&&(1===i||2===i||3===i)||0===o&&i%10!=4&&i%10!=6&&i%10!=9||0!==o&&s%10!=4&&s%10!=6&&s%10!=9?v.One:v.Other;case"ga":return 1===n?v.One:2===n?v.Two:n===Math.floor(n)&&n>=3&&n<=6?v.Few:n===Math.floor(n)&&n>=7&&n<=10?v.Many:v.Other;case"gd":return 1===n||11===n?v.One:2===n||12===n?v.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?v.Few:v.Other;case"gv":return 0===o&&i%10==1?v.One:0===o&&i%10==2?v.Two:0!==o||i%100!=0&&i%100!=20&&i%100!=40&&i%100!=60&&i%100!=80?0!==o?v.Many:v.Other:v.Few;case"he":return 1===i&&0===o?v.One:2===i&&0===o?v.Two:0!==o||n>=0&&n<=10||n%10!=0?v.Other:v.Many;case"is":return 0===a&&i%10==1&&i%100!=11||0!==a?v.One:v.Other;case"ksh":return 0===n?v.Zero:1===n?v.One:v.Other;case"kw":case"naq":case"se":case"smn":return 1===n?v.One:2===n?v.Two:v.Other;case"lag":return 0===n?v.Zero:0!==i&&1!==i||0===n?v.Other:v.One;case"lt":return n%10!=1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?v.Few:0!==s?v.Many:v.Other:v.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===o&&s%100===Math.floor(s%100)&&s%100>=11&&s%100<=19?v.Zero:n%10==1&&n%100!=11||2===o&&s%10==1&&s%100!=11||2!==o&&s%10==1?v.One:v.Other;case"mk":return 0===o&&i%10==1||s%10==1?v.One:v.Other;case"mt":return 1===n?v.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?v.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?v.Many:v.Other;case"pl":return 1===i&&0===o?v.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?v.Few:0===o&&1!==i&&i%10===Math.floor(i%10)&&i%10>=0&&i%10<=1||0===o&&i%10===Math.floor(i%10)&&i%10>=5&&i%10<=9||0===o&&i%100===Math.floor(i%100)&&i%100>=12&&i%100<=14?v.Many:v.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?v.One:v.Other;case"ro":return 1===i&&0===o?v.One:0!==o||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?v.Few:v.Other;case"ru":case"uk":return 0===o&&i%10==1&&i%100!=11?v.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?v.Few:0===o&&i%10==0||0===o&&i%10===Math.floor(i%10)&&i%10>=5&&i%10<=9||0===o&&i%100===Math.floor(i%100)&&i%100>=11&&i%100<=14?v.Many:v.Other;case"shi":return 0===i||1===n?v.One:n===Math.floor(n)&&n>=2&&n<=10?v.Few:v.Other;case"si":return 0===n||1===n||0===i&&1===s?v.One:v.Other;case"sl":return 0===o&&i%100==1?v.One:0===o&&i%100==2?v.Two:0===o&&i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4||0!==o?v.Few:v.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?v.One:v.Other;default:return v.Other}}function X(t,e){e=encodeURIComponent(e);for(var n=0,r=t.split(";");n0||a>-n)&&(a+=n),t===yt.Hours&&0===a&&-12===n&&(a=12),_t(a,e,A(s,C.MinusSign),r,i)}}function Ct(t,e,n,r){return void 0===n&&(n=b.Format),void 0===r&&(r=!1),function(i,o){return function(t,e,n,r,i,o){switch(n){case vt.Months:return P(e,i,r)[t.getMonth()];case vt.Days:return E(e,i,r)[t.getDay()];case vt.DayPeriods:var s=t.getHours(),a=t.getMinutes();if(o){var l,u=B(e),c=H(e,i,r);if(u.forEach(function(t,e){if(Array.isArray(t)){var n=t[0],r=t[1],i=r.hours;s>=n.hours&&a>=n.minutes&&(s0?Math.floor(i/60):Math.ceil(i/60);switch(t){case mt.Short:return(i>=0?"+":"")+_t(s,2,o)+_t(Math.abs(i%60),2,o);case mt.ShortGMT:return"GMT"+(i>=0?"+":"")+_t(s,1,o);case mt.Long:return"GMT"+(i>=0?"+":"")+_t(s,2,o)+":"+_t(Math.abs(i%60),2,o);case mt.Extended:return 0===r?"Z":(i>=0?"+":"")+_t(s,2,o)+":"+_t(Math.abs(i%60),2,o);default:throw new Error('Unknown zone width "'+t+'"')}}}var Ot=0,St=4;function Et(t,e){return void 0===e&&(e=!1),function(n,r){var i,o,s,a;if(e){var l=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,u=n.getDate();i=1+Math.floor((u+l)/7)}else{var c=(s=n.getFullYear(),a=new Date(s,Ot,1).getDay(),new Date(s,0,1+(a<=St?St:St+7)-a)),d=(o=n,new Date(o.getFullYear(),o.getMonth(),o.getDate()+(St-o.getDay()))).getTime()-c.getTime();i=1+Math.round(d/6048e5)}return _t(i,t,A(r,C.MinusSign))}}var Pt={};function Tt(t,e){t=t.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function kt(t,e){return Error("InvalidPipeArgument: '"+e+"' for pipe '"+Object(r["\u0275stringify"])(t)+"'")}var Dt=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,It=function(){function t(t){this.locale=t}return t.prototype.transform=function(e,n,r,i){if(void 0===n&&(n="mediumDate"),null==e||""===e||e!=e)return null;var o,s;if("string"==typeof e&&(e=e.trim()),Mt(e))o=e;else if(isNaN(e-parseFloat(e)))if("string"==typeof e&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){var a=e.split("-").map(function(t){return+t});o=new Date(a[0],a[1]-1,a[2])}else o="string"==typeof e&&(s=e.match(Dt))?Rt(s):new Date(e);else o=new Date(parseFloat(e));if(!Mt(o))throw kt(t,e);return function(t,e,n,r){e=function t(e,n){var r=O(e);if(ft[r]=ft[r]||{},ft[r][n])return ft[r][n];var i="";switch(n){case"shortDate":i=I(e,w.Short);break;case"mediumDate":i=I(e,w.Medium);break;case"longDate":i=I(e,w.Long);break;case"fullDate":i=I(e,w.Full);break;case"shortTime":i=R(e,w.Short);break;case"mediumTime":i=R(e,w.Medium);break;case"longTime":i=R(e,w.Long);break;case"fullTime":i=R(e,w.Full);break;case"short":var o=t(e,"shortTime"),s=t(e,"shortDate");i=bt(M(e,w.Short),[o,s]);break;case"medium":var a=t(e,"mediumTime"),l=t(e,"mediumDate");i=bt(M(e,w.Medium),[a,l]);break;case"long":var u=t(e,"longTime"),c=t(e,"longDate");i=bt(M(e,w.Long),[u,c]);break;case"full":var d=t(e,"fullTime"),p=t(e,"fullDate");i=bt(M(e,w.Full),[d,p])}return i&&(ft[r][n]=i),i}(n,e)||e;for(var i,o=[];e;){if(!(i=gt.exec(e))){o.push(e);break}var s=(o=o.concat(i.slice(1))).pop();if(!s)break;e=s}var a=t.getTimezoneOffset();r&&(a=Tt(r,a),t=function(t,e,n){var r=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(Tt(e,r)-r))}(t,r));var l="";return o.forEach(function(e){var r=function(t){if(Pt[t])return Pt[t];var e;switch(t){case"G":case"GG":case"GGG":e=Ct(vt.Eras,_.Abbreviated);break;case"GGGG":e=Ct(vt.Eras,_.Wide);break;case"GGGGG":e=Ct(vt.Eras,_.Narrow);break;case"y":e=wt(yt.FullYear,1,0,!1,!0);break;case"yy":e=wt(yt.FullYear,2,0,!0,!0);break;case"yyy":e=wt(yt.FullYear,3,0,!1,!0);break;case"yyyy":e=wt(yt.FullYear,4,0,!1,!0);break;case"M":case"L":e=wt(yt.Month,1,1);break;case"MM":case"LL":e=wt(yt.Month,2,1);break;case"MMM":e=Ct(vt.Months,_.Abbreviated);break;case"MMMM":e=Ct(vt.Months,_.Wide);break;case"MMMMM":e=Ct(vt.Months,_.Narrow);break;case"LLL":e=Ct(vt.Months,_.Abbreviated,b.Standalone);break;case"LLLL":e=Ct(vt.Months,_.Wide,b.Standalone);break;case"LLLLL":e=Ct(vt.Months,_.Narrow,b.Standalone);break;case"w":e=Et(1);break;case"ww":e=Et(2);break;case"W":e=Et(1,!0);break;case"d":e=wt(yt.Date,1);break;case"dd":e=wt(yt.Date,2);break;case"E":case"EE":case"EEE":e=Ct(vt.Days,_.Abbreviated);break;case"EEEE":e=Ct(vt.Days,_.Wide);break;case"EEEEE":e=Ct(vt.Days,_.Narrow);break;case"EEEEEE":e=Ct(vt.Days,_.Short);break;case"a":case"aa":case"aaa":e=Ct(vt.DayPeriods,_.Abbreviated);break;case"aaaa":e=Ct(vt.DayPeriods,_.Wide);break;case"aaaaa":e=Ct(vt.DayPeriods,_.Narrow);break;case"b":case"bb":case"bbb":e=Ct(vt.DayPeriods,_.Abbreviated,b.Standalone,!0);break;case"bbbb":e=Ct(vt.DayPeriods,_.Wide,b.Standalone,!0);break;case"bbbbb":e=Ct(vt.DayPeriods,_.Narrow,b.Standalone,!0);break;case"B":case"BB":case"BBB":e=Ct(vt.DayPeriods,_.Abbreviated,b.Format,!0);break;case"BBBB":e=Ct(vt.DayPeriods,_.Wide,b.Format,!0);break;case"BBBBB":e=Ct(vt.DayPeriods,_.Narrow,b.Format,!0);break;case"h":e=wt(yt.Hours,1,-12);break;case"hh":e=wt(yt.Hours,2,-12);break;case"H":e=wt(yt.Hours,1);break;case"HH":e=wt(yt.Hours,2);break;case"m":e=wt(yt.Minutes,1);break;case"mm":e=wt(yt.Minutes,2);break;case"s":e=wt(yt.Seconds,1);break;case"ss":e=wt(yt.Seconds,2);break;case"S":e=wt(yt.Milliseconds,1);break;case"SS":e=wt(yt.Milliseconds,2);break;case"SSS":e=wt(yt.Milliseconds,3);break;case"Z":case"ZZ":case"ZZZ":e=xt(mt.Short);break;case"ZZZZZ":e=xt(mt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=xt(mt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=xt(mt.Long);break;default:return null}return Pt[t]=e,e}(e);l+=r?r(t,n,a):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}(o,n,i||this.locale,r)},t}();function Rt(t){var e=new Date(0),n=0,r=0,i=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=+(t[9]+t[10]),r=+(t[9]+t[11])),(t[8]?e.setUTCFullYear:e.setFullYear).call(e,+t[1],+t[2]-1,+t[3]);var o=+(t[4]||"0")-n,s=+(t[5]||"0")-r,a=+(t[6]||"0"),l=Math.round(1e3*parseFloat("0."+(t[7]||0)));return i.call(e,o,s,a,l),e}function Mt(t){return t instanceof Date&&!isNaN(t.valueOf())}var At=function(){function t(){}return t.format=function(t,e,n,r){void 0===r&&(r={});var i=r.currency,o=r.currencyAsSymbol,s=void 0!==o&&o,a={minimumIntegerDigits:r.minimumIntegerDigits,minimumFractionDigits:r.minimumFractionDigits,maximumFractionDigits:r.maximumFractionDigits,style:y[n].toLowerCase()};return n==y.Currency&&(a.currency="string"==typeof i?i:void 0,a.currencyDisplay=s?"symbol":"code"),new Intl.NumberFormat(e,a).format(t)},t}(),jt=/((?:[^yMLdHhmsazZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|z|Z|G+|w+))(.*)/,Nt={yMMMdjms:qt(Gt([Wt("year",1),Ut("month",3),Wt("day",1),Wt("hour",1),Wt("minute",1),Wt("second",1)])),yMdjm:qt(Gt([Wt("year",1),Wt("month",1),Wt("day",1),Wt("hour",1),Wt("minute",1)])),yMMMMEEEEd:qt(Gt([Wt("year",1),Ut("month",4),Ut("weekday",4),Wt("day",1)])),yMMMMd:qt(Gt([Wt("year",1),Ut("month",4),Wt("day",1)])),yMMMd:qt(Gt([Wt("year",1),Ut("month",3),Wt("day",1)])),yMd:qt(Gt([Wt("year",1),Wt("month",1),Wt("day",1)])),jms:qt(Gt([Wt("hour",1),Wt("second",1),Wt("minute",1)])),jm:qt(Gt([Wt("hour",1),Wt("minute",1)]))},Vt={yyyy:qt(Wt("year",4)),yy:qt(Wt("year",2)),y:qt(Wt("year",1)),MMMM:qt(Ut("month",4)),MMM:qt(Ut("month",3)),MM:qt(Wt("month",2)),M:qt(Wt("month",1)),LLLL:qt(Ut("month",4)),L:qt(Ut("month",1)),dd:qt(Wt("day",2)),d:qt(Wt("day",1)),HH:Ft(Lt(qt(zt(Wt("hour",2),!1)))),H:Lt(qt(zt(Wt("hour",1),!1))),hh:Ft(Lt(qt(zt(Wt("hour",2),!0)))),h:Lt(qt(zt(Wt("hour",1),!0))),jj:qt(Wt("hour",2)),j:qt(Wt("hour",1)),mm:Ft(qt(Wt("minute",2))),m:qt(Wt("minute",1)),ss:Ft(qt(Wt("second",2))),s:qt(Wt("second",1)),sss:qt(Wt("second",3)),EEEE:qt(Ut("weekday",4)),EEE:qt(Ut("weekday",3)),EE:qt(Ut("weekday",2)),E:qt(Ut("weekday",1)),a:function(t){return function(e,n){return t(e,n).split(" ")[1]}}(qt(zt(Wt("hour",1),!0))),Z:Ht("short"),z:Ht("long"),ww:qt({}),w:qt({}),G:qt(Ut("era",1)),GG:qt(Ut("era",2)),GGG:qt(Ut("era",3)),GGGG:qt(Ut("era",4))};function Ft(t){return function(e,n){var r=t(e,n);return 1==r.length?"0"+r:r}}function Lt(t){return function(e,n){return t(e,n).split(" ")[0]}}function Bt(t,e,n){return new Intl.DateTimeFormat(e,n).format(t).replace(/[\u200e\u200f]/g,"")}function Ht(t){var e={hour:"2-digit",hour12:!1,timeZoneName:t};return function(t,n){var r=Bt(t,n,e);return r?r.substring(3):""}}function zt(t,e){return t.hour12=e,t}function Wt(t,e){return function(){var n={};return n[t]=2===e?"2-digit":"numeric",n}()}function Ut(t,e){var n={};return n[t]=e<4?e>1?"short":"narrow":"long",n}function Gt(t){return t.reduce(function(t,e){return Object(i.__assign)({},t,e)},{})}function qt(t){return function(e,n){return Bt(e,n,t)}}var $t=new Map,Yt=function(){function t(){}return t.format=function(t,e,n){return function(t,e,n){var r=Nt[t];if(r)return r(e,n);var i=t,o=$t.get(i);if(!o){o=[];var s=void 0;jt.exec(t);for(var a=t;a;)(s=jt.exec(a))?a=(o=o.concat(s.slice(1))).pop():(o.push(a),a=null);$t.set(i,o)}return o.reduce(function(t,r){var i=Vt[r];return t+(i?i(e,n):function(t){return"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}(r))},"")}(n,t,e)},t}(),Kt=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n){if(void 0===n&&(n="mediumDate"),null==e||""===e||e!=e)return null;var r;if("string"==typeof e&&(e=e.trim()),Zt(e))r=e;else if(isNaN(e-parseFloat(e)))if("string"==typeof e&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){var i=e.split("-").map(function(t){return parseInt(t,10)});r=new Date(i[0],i[1]-1,i[2])}else r=new Date(e);else r=new Date(parseFloat(e));if(!Zt(r)){var o=void 0;if("string"!=typeof e||!(o=e.match(Dt)))throw kt(t,e);r=Rt(o)}return Yt.format(r,this._locale,t._ALIASES[n]||n)},t._ALIASES={medium:"yMMMdjms",short:"yMdjm",fullDate:"yMMMMEEEEd",longDate:"yMMMMd",mediumDate:"yMMMd",shortDate:"yMd",mediumTime:"jms",shortTime:"jm"},t}();function Zt(t){return t instanceof Date&&!isNaN(t.valueOf())}var Xt=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Qt=22,Jt=".",te="0",ee=";",ne=",",re="#",ie="\xa4",oe="%";function se(t,e,n,r,i){void 0===i&&(i=null);var o,s={str:null},a=j(e,n);if("string"!=typeof t||isNaN(+t-parseFloat(t))){if("number"!=typeof t)return s.error=t+" is not a number",s;o=t}else o=+t;var l=function(t,e){void 0===e&&(e="-");var n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=t.split(ee),i=r[0],o=r[1],s=-1!==i.indexOf(Jt)?i.split(Jt):[i.substring(0,i.lastIndexOf(te)+1),i.substring(i.lastIndexOf(te)+1)],a=s[0],l=s[1]||"";n.posPre=a.substr(0,a.indexOf(re));for(var u=0;u-1&&(s=s.replace(Jt,"")),(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)===te;r++);if(r===(o=s.length))e=[0],n=1;else{for(o--;s.charAt(o)===te;)o--;for(n-=r,e=[],i=0;r<=o;r++,i++)e[i]=+s.charAt(r)}return n>Qt&&(e=e.splice(0,Qt-1),a=n-1,n=1),{digits:e,exponent:a,integerLen:n}}(o);n===y.Percent&&(d=function(t){if(0===t.digits[0])return t;var e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(d));var p=l.minInt,h=l.minFrac,f=l.maxFrac;if(r){var g=r.match(Xt);if(null===g)return s.error=r+" is not a valid digit info",s;var m=g[1],v=g[3],b=g[5];null!=m&&(p=ae(m)),null!=v&&(h=ae(v)),null!=b?f=ae(b):null!=v&&h>f&&(f=h)}!function(t,e,n){if(e>n)throw new Error("The minimum number of digits after fraction ("+e+") is higher than the maximum ("+n+").");var r=t.digits,i=r.length-t.integerLen,o=Math.min(Math.max(e,i),n),s=o+t.integerLen,a=r[s];if(s>0){r.splice(Math.max(t.integerLen,s));for(var l=s;l=5)if(s-1<0){for(var c=0;c>s;c--)r.unshift(0),t.integerLen++;r.unshift(1),t.integerLen++}else r[s-1]++;for(;i=p?r.pop():d=!1),e>=10?1:0},0);h&&(r.unshift(h),t.integerLen++)}(d,h,f);var _=d.digits,w=d.integerLen,x=d.exponent,O=[];for(c=_.every(function(t){return!t});w0?O=_.splice(w,_.length):(O=_,_=[0]);var S=[];for(_.length>=l.lgSize&&S.unshift(_.splice(-l.lgSize,_.length).join(""));_.length>l.gSize;)S.unshift(_.splice(-l.gSize,_.length).join(""));_.length&&S.unshift(_.join("")),u=S.join(A(e,i?C.CurrencyGroup:C.Group)),O.length&&(u+=A(e,i?C.CurrencyDecimal:C.Decimal)+O.join("")),x&&(u+=A(e,C.Exponential)+"+"+x)}else u=A(e,C.Infinity);return u=o<0&&!c?l.negPre+u+l.negSuf:l.posPre+u+l.posSuf,n===y.Currency&&null!==i?(s.str=u.replace(ie,i).replace(ie,""),s):n===y.Percent?(s.str=u.replace(new RegExp(oe,"g"),A(e,C.PercentSign)),s):(s.str=u,s)}function ae(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function le(t,e,n,r,i,o,s){if(void 0===o&&(o=null),void 0===s&&(s=!1),null==n)return null;if("number"!=typeof(n="string"!=typeof n||isNaN(+n-parseFloat(n))?n:+n))throw kt(t,n);var a,l,u;if(r!==y.Currency&&(a=1,l=0,u=3),i){var c=i.match(Xt);if(null===c)throw new Error(i+" is not a valid digit info for number pipes");null!=c[1]&&(a=ae(c[1])),null!=c[3]&&(l=ae(c[3])),null!=c[5]&&(u=ae(c[5]))}return At.format(n,e,r,{minimumIntegerDigits:a,minimumFractionDigits:l,maximumFractionDigits:u,currency:o,currencyAsSymbol:s})}var ue=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n){return le(t,this._locale,e,y.Decimal,n)},t}(),ce=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n){return le(t,this._locale,e,y.Percent,n)},t}(),de=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n,r,i){return void 0===n&&(n="USD"),void 0===r&&(r=!1),le(t,this._locale,e,y.Currency,i,n,r)},t}(),pe=[ue,ce,de,Kt],he=function(){function t(){}return t.prototype.createSubscription=function(t,e){return t.subscribe({next:e,error:function(t){throw t}})},t.prototype.dispose=function(t){t.unsubscribe()},t.prototype.onDestroy=function(t){t.unsubscribe()},t}(),fe=new(function(){function t(){}return t.prototype.createSubscription=function(t,e){return t.then(e,function(t){throw t})},t.prototype.dispose=function(t){},t.prototype.onDestroy=function(t){},t}()),ge=new he,me=function(){function t(t){this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}return t.prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},t.prototype.transform=function(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue===this._latestReturnedValue?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,r.WrappedValue.wrap(this._latestValue)):(t&&this._subscribe(t),this._latestReturnedValue=this._latestValue,this._latestValue)},t.prototype._subscribe=function(t){var e=this;this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,function(n){return e._updateLatestValue(t,n)})},t.prototype._selectStrategy=function(e){if(Object(r["\u0275isPromise"])(e))return fe;if(Object(r["\u0275isObservable"])(e))return ge;throw kt(t,e)},t.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},t.prototype._updateLatestValue=function(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())},t}(),ye=function(){function t(){}return t.prototype.transform=function(e){if(!e)return e;if("string"!=typeof e)throw kt(t,e);return e.toLowerCase()},t}(),ve=function(){function t(){}return t.prototype.transform=function(e){if(!e)return e;if("string"!=typeof e)throw kt(t,e);return e.split(/\b/g).map(function(t){return function(t){return t?t[0].toUpperCase()+t.substr(1).toLowerCase():t}(t)}).join("")},t}(),be=function(){function t(){}return t.prototype.transform=function(e){if(!e)return e;if("string"!=typeof e)throw kt(t,e);return e.toUpperCase()},t}(),_e=/#/g,we=function(){function t(t){this._localization=t}return t.prototype.transform=function(e,n,r){if(null==e)return"";if("object"!=typeof n||null===n)throw kt(t,n);return n[Y(e,Object.keys(n),this._localization,r)].replace(_e,e.toString())},t}(),Ce=function(){function t(){}return t.prototype.transform=function(e,n){if(null==e)return"";if("object"!=typeof n||"string"!=typeof e)throw kt(t,n);return n.hasOwnProperty(e)?n[e]:n.hasOwnProperty("other")?n.other:""},t}(),xe=function(){function t(){}return t.prototype.transform=function(t){return JSON.stringify(t,null,2)},t}(),Oe=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n,r){if(Pe(e))return null;var i=se(e,r=r||this._locale,y.Decimal,n),o=i.str,s=i.error;if(s)throw kt(t,s);return o},t}(),Se=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n,r){if(Pe(e))return null;var i=se(e,r=r||this._locale,y.Percent,n),o=i.str,s=i.error;if(s)throw kt(t,s);return o},t}(),Ee=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n,r,i,o){if(void 0===r&&(r="symbol"),Pe(e))return null;o=o||this._locale,"boolean"==typeof r&&(console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),r=r?"symbol":"code");var s=n||"USD";"code"!==r&&(s=G(s,"symbol"===r?"wide":"narrow"));var a=se(e,o,y.Currency,i,s),l=a.str,u=a.error;if(u)throw kt(t,u);return l},t}();function Pe(t){return null==t||""===t||t!=t}var Te=function(){function t(){}return t.prototype.transform=function(e,n,r){if(null==e)return e;if(!this.supports(e))throw kt(t,e);return e.slice(n,r)},t.prototype.supports=function(t){return"string"==typeof t||Array.isArray(t)},t}(),ke=[me,be,ye,xe,Te,Oe,Se,ve,Ee,It,we,Ce],De=function(){},Ie=function(){},Re=new r.InjectionToken("DocumentToken"),Me="browser",Ae="server",je="browserWorkerApp",Ne="browserWorkerUi";function Ve(t){return t===Me}function Fe(t){return t===Ae}function Le(t){return t===je}function Be(t){return t===Ne}var He=new r.Version("5.2.8")},YD98:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("WT6e");n("veZJ"),e.VgTrackSelector=function(){function t(t,e){this.API=e,this.subscriptions=[],this.elem=t.nativeElement}return t.prototype.ngOnInit=function(){var t=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe(function(){return t.onPlayerReady()}))},t.prototype.onPlayerReady=function(){this.target=this.API.getMediaById(this.vgFor);var t=Array.from(this.API.getMasterMedia().elem.children).filter(function(t){return"TRACK"===t.tagName}).filter(function(t){return"subtitles"===t.kind}).map(function(t){return{label:t.label,selected:!0===t.default,id:t.srclang}});this.tracks=t.concat([{id:null,label:"Off",selected:t.every(function(t){return!1===t.selected})}]);var e=this.tracks.filter(function(t){return!0===t.selected})[0];this.trackSelected=e.id,this.ariaValue=e.label},t.prototype.selectTrack=function(t){var e=this;this.trackSelected="null"===t?null:t,this.ariaValue="No track selected",Array.from(this.API.getMasterMedia().elem.textTracks).forEach(function(n){n.language===t?(e.ariaValue=n.label,n.mode="showing"):n.mode="hidden"})},t.prototype.ngOnDestroy=function(){this.subscriptions.forEach(function(t){return t.unsubscribe()})},t.decorators=[{type:r.Component,args:[{selector:"vg-track-selector",encapsulation:r.ViewEncapsulation.None,template:'\n

\n
\n {{ trackSelected || \'\' }}\n
\n \n \n
\n ',styles:["\n vg-track-selector {\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n display: flex;\n justify-content: center;\n width: 50px;\n height: 50px;\n cursor: pointer;\n color: white;\n line-height: 50px;\n }\n vg-track-selector .container {\n position: relative;\n display: flex;\n flex-grow: 1;\n align-items: center;\n \n padding: 0;\n margin: 5px;\n }\n vg-track-selector select.trackSelector {\n width: 50px;\n padding: 5px 8px;\n border: none;\n background: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n color: transparent;\n font-size: 16px;\n }\n vg-track-selector select.trackSelector::-ms-expand {\n display: none;\n }\n vg-track-selector select.trackSelector option {\n color: #000;\n }\n vg-track-selector .track-selected {\n position: absolute;\n width: 100%;\n height: 50px;\n top: -6px;\n text-align: center;\n text-transform: uppercase;\n font-family: Helvetica Neue, Helvetica, Arial, sans-serif;\n padding-top: 2px;\n pointer-events: none;\n }\n vg-track-selector .vg-icon-closed_caption:before {\n width: 100%;\n }\n "]}]}],t.propDecorators={vgFor:[{type:r.Input}]},t}()},YSES:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("WT6e");n("veZJ"),e.VgUtcPipe=function(){function t(){}return t.prototype.transform=function(t,e){var n=new Date(t),r=e,i=n.getUTCSeconds(),o=n.getUTCMinutes(),s=n.getUTCHours();return i<10&&(i="0"+i),o<10&&(o="0"+o),s<10&&(s="0"+s),(r=(r=r.replace(/ss/g,i)).replace(/mm/g,o)).replace(/hh/g,s)},t.decorators=[{type:r.Pipe,args:[{name:"vgUtc"}]}],t}(),e.VgTimeDisplay=function(){function t(t,e){this.API=e,this.vgProperty="current",this.vgFormat="mm:ss",this.subscriptions=[],this.elem=t.nativeElement}return t.prototype.ngOnInit=function(){var t=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe(function(){return t.onPlayerReady()}))},t.prototype.onPlayerReady=function(){this.target=this.API.getMediaById(this.vgFor)},t.prototype.getTime=function(){var t=0;return this.target&&(t=Math.round(this.target.time[this.vgProperty]),t=isNaN(t)||this.target.isLive?0:t),t},t.prototype.ngOnDestroy=function(){this.subscriptions.forEach(function(t){return t.unsubscribe()})},t.decorators=[{type:r.Component,args:[{selector:"vg-time-display",encapsulation:r.ViewEncapsulation.None,template:'\n LIVE\n {{ getTime() | vgUtc:vgFormat }}\n \n ',styles:["\n vg-time-display {\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n display: flex;\n justify-content: center;\n height: 50px;\n width: 60px;\n cursor: pointer;\n color: white;\n line-height: 50px;\n pointer-events: none;\n font-family: Helvetica Neue, Helvetica, Arial, sans-serif;\n }\n "]}]}],t.propDecorators={vgFor:[{type:r.Input}],vgProperty:[{type:r.Input}],vgFormat:[{type:r.Input}]},t}()},YWe0:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=n("Veqx").a.of},YaPU:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("AMGY"),i=n("OVmG"),o=n("tLDX"),s=n("t7NR"),a=n("+CnV"),l=n("f9aG");n.d(e,"Observable",function(){return u});var u=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,a=function(t,e,n){if(t){if(t instanceof i.a)return t;if(t[o.a])return t[o.a]()}return t||e||n?new i.a(t,e,n):new i.a(s.a)}(t,e,n);if(r?r.call(a,this.source):a.add(this.source||!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.syncErrorThrown=!0,t.syncErrorValue=e,t.error(e)}},t.prototype.forEach=function(t,e){var n=this;if(e||(r.a.Rx&&r.a.Rx.config&&r.a.Rx.config.Promise?e=r.a.Rx.config.Promise:r.a.Promise&&(e=r.a.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,r){var i;i=n.subscribe(function(e){if(i)try{t(e)}catch(t){r(t),i.unsubscribe()}else t(e)},r,e)})},t.prototype._subscribe=function(t){return this.source.subscribe(t)},t.prototype[a.a]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"curPage",{get:function(){return this.offset+1},enumerable:!0,configurable:!0}),r([o.Input(),i("design:type",Number)],t.prototype,"footerHeight",void 0),r([o.Input(),i("design:type",Number)],t.prototype,"rowCount",void 0),r([o.Input(),i("design:type",Number)],t.prototype,"pageSize",void 0),r([o.Input(),i("design:type",Number)],t.prototype,"offset",void 0),r([o.Input(),i("design:type",String)],t.prototype,"pagerLeftArrowIcon",void 0),r([o.Input(),i("design:type",String)],t.prototype,"pagerRightArrowIcon",void 0),r([o.Input(),i("design:type",String)],t.prototype,"pagerPreviousIcon",void 0),r([o.Input(),i("design:type",String)],t.prototype,"pagerNextIcon",void 0),r([o.Input(),i("design:type",String)],t.prototype,"totalMessage",void 0),r([o.Input(),i("design:type",o.TemplateRef)],t.prototype,"footerTemplate",void 0),r([o.Input(),i("design:type",Number)],t.prototype,"selectedCount",void 0),r([o.Input(),i("design:type",Object)],t.prototype,"selectedMessage",void 0),r([o.Output(),i("design:type",o.EventEmitter)],t.prototype,"page",void 0),r([o.Component({selector:"datatable-footer",template:'\n \n \n \n
\n \n {{selectedCount.toLocaleString()}} {{selectedMessage}} / \n \n {{rowCount.toLocaleString()}} {{totalMessage}}\n
\n \n \n \n ',host:{class:"datatable-footer"},changeDetection:o.ChangeDetectionStrategy.OnPush})],t)}()},bj6S:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("WT6e");n("veZJ"),e.VgScrubBarCuePoints=function(){function t(t,e){this.API=e,this.onLoadedMetadataCalled=!1,this.cuePoints=[],this.subscriptions=[],this.totalCues=0,this.elem=t.nativeElement}return t.prototype.ngOnInit=function(){var t=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe(function(){return t.onPlayerReady()}))},t.prototype.onPlayerReady=function(){this.target=this.API.getMediaById(this.vgFor),this.subscriptions.push(this.target.subscriptions.loadedMetadata.subscribe(this.onLoadedMetadata.bind(this))),this.onLoadedMetadataCalled&&this.onLoadedMetadata()},t.prototype.onLoadedMetadata=function(){if(this.vgCuePoints){this.cuePoints=[];for(var t=0,e=this.vgCuePoints.length;t=0?this.vgCuePoints[t].endTime:this.vgCuePoints[t].startTime+1)-this.vgCuePoints[t].startTime),r="0",i="0";"number"==typeof n&&this.target.time.total&&(i=100*n/this.target.time.total+"%",r=100*this.vgCuePoints[t].startTime/Math.round(this.target.time.total/1e3)+"%"),this.vgCuePoints[t].$$style={width:i,left:r},this.cuePoints.push(this.vgCuePoints[t])}}},t.prototype.updateCuePoints=function(){this.target?this.onLoadedMetadata():this.onLoadedMetadataCalled=!0},t.prototype.ngOnChanges=function(t){t.vgCuePoints.currentValue&&this.updateCuePoints()},t.prototype.ngDoCheck=function(){this.vgCuePoints&&this.totalCues!==this.vgCuePoints.length&&(this.totalCues=this.vgCuePoints.length,this.updateCuePoints())},t.prototype.ngOnDestroy=function(){this.subscriptions.forEach(function(t){return t.unsubscribe()})},t.decorators=[{type:r.Component,args:[{selector:"vg-scrub-bar-cue-points",encapsulation:r.ViewEncapsulation.None,template:'\n
\n \n
\n ',styles:["\n vg-scrub-bar-cue-points {\n display: flex;\n width: 100%;\n height: 5px;\n pointer-events: none;\n position: absolute;\n }\n\n vg-scrub-bar-cue-points .cue-point-container .cue-point {\n position: absolute;\n height: 5px;\n background-color: rgba(255, 204, 0, 0.7);\n }\n\n vg-controls vg-scrub-bar-cue-points {\n position: absolute;\n top: calc(50% - 3px);\n }\n "]}]}],t.propDecorators={vgCuePoints:[{type:r.Input}],vgFor:[{type:r.Input}]},t}()},cQXm:function(t,e,n){"use strict";e.a=function(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}},ctbq:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("WT6e");n("veZJ"),e.VgVolume=function(){function t(t,e){this.API=e,this.subscriptions=[],this.elem=t.nativeElement,this.isDragging=!1}return t.prototype.ngOnInit=function(){var t=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe(function(){return t.onPlayerReady()}))},t.prototype.onPlayerReady=function(){this.target=this.API.getMediaById(this.vgFor),this.ariaValue=100*this.getVolume()},t.prototype.onClick=function(t){this.setVolume(this.calculateVolume(t.clientX))},t.prototype.onMouseDown=function(t){this.mouseDownPosX=t.clientX,this.isDragging=!0},t.prototype.onDrag=function(t){this.isDragging&&this.setVolume(this.calculateVolume(t.clientX))},t.prototype.onStopDrag=function(t){this.isDragging&&(this.isDragging=!1,this.mouseDownPosX===t.clientX&&this.setVolume(this.calculateVolume(t.clientX)))},t.prototype.arrowAdjustVolume=function(t){38===t.keyCode||39===t.keyCode?(t.preventDefault(),this.setVolume(Math.max(0,Math.min(100,100*this.getVolume()+10)))):37!==t.keyCode&&40!==t.keyCode||(t.preventDefault(),this.setVolume(Math.max(0,Math.min(100,100*this.getVolume()-10))))},t.prototype.calculateVolume=function(t){var e=this.volumeBarRef.nativeElement.getBoundingClientRect();return(t-e.left)/e.width*100},t.prototype.setVolume=function(t){this.target.volume=Math.max(0,Math.min(1,t/100)),this.ariaValue=100*this.target.volume},t.prototype.getVolume=function(){return this.target?this.target.volume:0},t.prototype.ngOnDestroy=function(){this.subscriptions.forEach(function(t){return t.unsubscribe()})},t.decorators=[{type:r.Component,args:[{selector:"vg-volume",encapsulation:r.ViewEncapsulation.None,template:'\n
\n
\n
\n
\n
\n
\n ',styles:["\n vg-volume {\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n display: flex;\n justify-content: center;\n height: 50px;\n width: 100px;\n cursor: pointer;\n color: white;\n line-height: 50px;\n }\n vg-volume .volumeBar {\n position: relative;\n display: flex;\n flex-grow: 1;\n align-items: center;\n }\n vg-volume .volumeBackground {\n display: flex;\n flex-grow: 1;\n height: 5px;\n pointer-events: none;\n background-color: #333;\n }\n vg-volume .volumeValue {\n display: flex;\n height: 5px;\n pointer-events: none;\n background-color: #FFF;\n transition:all 0.2s ease-out;\n }\n vg-volume .volumeKnob {\n position: absolute;\n width: 15px; height: 15px;\n left: 0; top: 50%;\n transform: translateY(-50%);\n border-radius: 15px;\n pointer-events: none;\n background-color: #FFF;\n transition:all 0.2s ease-out;\n }\n vg-volume .volumeBackground.dragging .volumeValue,\n vg-volume .volumeBackground.dragging .volumeKnob {\n transition: none;\n }\n "]}]}],t.propDecorators={vgFor:[{type:r.Input}],volumeBarRef:[{type:r.ViewChild,args:["volumeBar"]}],onDrag:[{type:r.HostListener,args:["document:mousemove",["$event"]]}],onStopDrag:[{type:r.HostListener,args:["document:mouseup",["$event"]]}],arrowAdjustVolume:[{type:r.HostListener,args:["keydown",["$event"]]}]},t}()},dgOU:function(t,e,n){"use strict";e.a=function(t){return null!=t&&"object"==typeof t}},e5zT:function(t,e,n){"use strict";var r=n("TToO"),i=n("g5jc"),o=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n}return Object(r.__extends)(e,t),e.prototype.schedule=function(e,n){return void 0===n&&(n=0),n>0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,r):e.flush(this)},e}(n("Ne5x").a),s=new(function(t){function e(){t.apply(this,arguments)}return Object(r.__extends)(e,t),e}(n("Z4xk").a))(o),a=n("VwZZ"),l=n("zrQW"),u=n("x6VL"),c=n("1Bqh");n.d(e,"a",function(){return d});var d=function(t){function e(e,n,r){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY),t.call(this),this.scheduler=r,this._events=[],this._bufferSize=e<1?1:e,this._windowTime=n<1?1:n}return Object(r.__extends)(e,t),e.prototype.next=function(e){var n=this._getNow();this._events.push(new p(n,e)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,n=this._trimBufferThenGetEvents(),r=this.scheduler;if(this.closed)throw new u.a;this.hasError?e=a.a.EMPTY:this.isStopped?e=a.a.EMPTY:(this.observers.push(t),e=new c.a(this,t)),r&&t.add(t=new l.a(t,r));for(var i=n.length,o=0;oe&&(o=Math.max(o,i-e)),o>0&&r.splice(0,o),r},e}(i.Subject),p=function(t,e){this.time=t,this.value=e}},ehgS:function(t,e,n){"use strict";e.a=function(t,e){return function(n){return n.lift(new o(t,e,n))}};var r=n("TToO"),i=n("OVmG"),o=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate,this.thisArg,this.source))},t}(),s=function(t){function e(e,n,r,i){t.call(this,e),this.predicate=n,this.thisArg=r,this.source=i,this.index=0,this.thisArg=r||this}return Object(r.__extends)(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(i.a)},eliO:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("WT6e");n("veZJ"),e.VgBuffering=function(){function t(t,e){this.API=e,this.checkInterval=50,this.currentPlayPos=0,this.lastPlayPos=0,this.subscriptions=[],this.isBuffering=!1,this.elem=t.nativeElement}return t.prototype.ngOnInit=function(){var t=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe(function(){return t.onPlayerReady()}))},t.prototype.onPlayerReady=function(){var t=this;this.target=this.API.getMediaById(this.vgFor),this.subscriptions.push(this.target.subscriptions.bufferDetected.subscribe(function(e){return t.onUpdateBuffer(e)}))},t.prototype.onUpdateBuffer=function(t){this.isBuffering=t},t.prototype.ngOnDestroy=function(){this.subscriptions.forEach(function(t){return t.unsubscribe()})},t.decorators=[{type:r.Component,args:[{selector:"vg-buffering",encapsulation:r.ViewEncapsulation.None,template:'
\n
\n
\n
\n
',styles:["\n vg-buffering {\n display: none;\n z-index: 201;\n }\n\n vg-buffering.is-buffering {\n display: block;\n }\n \n .vg-buffering {\n position: absolute;\n display: block;\n width: 100%;\n height: 100%;\n }\n\n .vg-buffering .bufferingContainer {\n width: 100%;\n position: absolute;\n cursor: pointer;\n top: 50%;\n margin-top: -50px;\n\n zoom: 1;\n filter: alpha(opacity=60);\n opacity: 0.6;\n }\n\n /* Loading Spinner\n * http://www.alessioatzeni.com/blog/css3-loading-animation-loop/\n */\n .vg-buffering .loadingSpinner {\n background-color: rgba(0, 0, 0, 0);\n border: 5px solid rgba(255, 255, 255, 1);\n opacity: .9;\n border-top: 5px solid rgba(0, 0, 0, 0);\n border-left: 5px solid rgba(0, 0, 0, 0);\n border-radius: 50px;\n box-shadow: 0 0 35px #FFFFFF;\n width: 50px;\n height: 50px;\n margin: 0 auto;\n -moz-animation: spin .5s infinite linear;\n -webkit-animation: spin .5s infinite linear;\n }\n\n .vg-buffering .loadingSpinner .stop {\n -webkit-animation-play-state: paused;\n -moz-animation-play-state: paused;\n }\n\n @-moz-keyframes spin {\n 0% {\n -moz-transform: rotate(0deg);\n }\n 100% {\n -moz-transform: rotate(360deg);\n }\n }\n\n @-moz-keyframes spinoff {\n 0% {\n -moz-transform: rotate(0deg);\n }\n 100% {\n -moz-transform: rotate(-360deg);\n }\n }\n\n @-webkit-keyframes spin {\n 0% {\n -webkit-transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n }\n }\n\n @-webkit-keyframes spinoff {\n 0% {\n -webkit-transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(-360deg);\n }\n }\n "]}]}],t.propDecorators={vgFor:[{type:r.Input}],isBuffering:[{type:r.HostBinding,args:["class.is-buffering"]}]},t}()},"et+1":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("WT6e"),i=n("Xjw4"),o=n("L6Nh");e.VgOverlayPlayModule=function(){function t(){}return t.decorators=[{type:r.NgModule,args:[{imports:[i.CommonModule],declarations:[o.VgOverlayPlay],exports:[o.VgOverlayPlay]}]}],t}()},etqZ:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(t){var e=t.Symbol;if("function"==typeof e)return e.iterator||(e.iterator=e("iterator polyfill")),e.iterator;var n=t.Set;if(n&&"function"==typeof(new n)["@@iterator"])return"@@iterator";var r=t.Map;if(r)for(var i=Object.getOwnPropertyNames(r.prototype),o=0;o\n \n \n \n \n \n \n \n \n \n ',host:{class:"datatable-row-wrapper"}})],t)}()},fmCu:function(t,e,n){"use strict";e.a=function(t){return t instanceof Date&&!isNaN(+t)}},g4p8:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("WT6e");e.VgEvents=function(){function t(){}return t.VG_ABORT="abort",t.VG_CAN_PLAY="canplay",t.VG_CAN_PLAY_THROUGH="canplaythrough",t.VG_DURATION_CHANGE="durationchange",t.VG_EMPTIED="emptied",t.VG_ENCRYPTED="encrypted",t.VG_ENDED="ended",t.VG_ERROR="error",t.VG_LOADED_DATA="loadeddata",t.VG_LOADED_METADATA="loadedmetadata",t.VG_LOAD_START="loadstart",t.VG_PAUSE="pause",t.VG_PLAY="play",t.VG_PLAYING="playing",t.VG_PROGRESS="progress",t.VG_RATE_CHANGE="ratechange",t.VG_SEEK="seek",t.VG_SEEKED="seeked",t.VG_SEEKING="seeking",t.VG_STALLED="stalled",t.VG_SUSPEND="suspend",t.VG_TIME_UPDATE="timeupdate",t.VG_VOLUME_CHANGE="volumechange",t.VG_WAITING="waiting",t.VG_LOAD="load",t.VG_ENTER="enter",t.VG_EXIT="exit",t.VG_START_ADS="startads",t.VG_END_ADS="endads",t.decorators=[{type:r.Injectable}],t}()},g5jc:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"SubjectSubscriber",function(){return c}),n.d(e,"Subject",function(){return d}),n.d(e,"AnonymousSubject",function(){return p});var r=n("TToO"),i=n("YaPU"),o=n("OVmG"),s=n("VwZZ"),a=n("x6VL"),l=n("1Bqh"),u=n("tLDX"),c=function(t){function e(e){t.call(this,e),this.destination=e}return Object(r.__extends)(e,t),e}(o.a),d=function(t){function e(){t.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return Object(r.__extends)(e,t),e.prototype[u.a]=function(){return new c(this)},e.prototype.lift=function(t){var e=new p(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new a.a;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),i=0;i0&&this.destination.next(e),t.prototype._complete.call(this)},e}(d.a),g=function(t){function e(e,n,r){t.call(this,e),this.bufferSize=n,this.startBufferEvery=r,this.buffers=[],this.count=0}return Object(o.__extends)(e,t),e.prototype._next=function(t){var e=this.bufferSize,n=this.startBufferEvery,r=this.buffers,i=this.count;this.count++,i%n==0&&r.push([]);for(var o=r.length;o--;){var s=r[o];s.push(t),s.length===e&&(r.splice(o,1),this.destination.next(s))}},e.prototype._complete=function(){for(var e=this.buffers,n=this.destination;e.length>0;){var r=e.shift();r.length>0&&n.next(r)}t.prototype._complete.call(this)},e}(d.a),m=n("3lw+"),y=n("1Q68");function v(t){var e=arguments.length,n=m.a;Object(y.a)(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);var r=null;e>=2&&(r=arguments[1]);var i=Number.POSITIVE_INFINITY;return e>=3&&(i=arguments[2]),function(e){return e.lift(new b(t,r,i,n))}}var b=function(){function t(t,e,n,r){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new _(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),_=function(t){function e(e,n,r,i,o){t.call(this,e),this.bufferTimeSpan=n,this.bufferCreationInterval=r,this.maxBufferSize=i,this.scheduler=o,this.contexts=[];var s=this.openContext();if(this.timespanOnly=null==r||r<0,this.timespanOnly)this.add(s.closeAction=o.schedule(w,n,{subscriber:this,context:s,bufferTimeSpan:n}));else{var a={bufferTimeSpan:n,bufferCreationInterval:r,subscriber:this,scheduler:o};this.add(s.closeAction=o.schedule(x,n,{subscriber:this,context:s})),this.add(o.schedule(C,r,a))}}return Object(o.__extends)(e,t),e.prototype._next=function(t){for(var e,n=this.contexts,r=n.length,i=0;i0;){var r=e.shift();n.next(r.buffer)}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.contexts=null},e.prototype.onBufferFull=function(t){this.closeContext(t);var e=t.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){t=this.openContext();var n=this.bufferTimeSpan;this.add(t.closeAction=this.scheduler.schedule(w,n,{subscriber:this,context:t,bufferTimeSpan:n}))}},e.prototype.openContext=function(){var t=new function(){this.buffer=[]};return this.contexts.push(t),t},e.prototype.closeContext=function(t){this.destination.next(t.buffer);var e=this.contexts;(e?e.indexOf(t):-1)>=0&&e.splice(e.indexOf(t),1)},e}(d.a);function w(t){var e=t.subscriber,n=t.context;n&&e.closeContext(n),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function C(t){var e=t.bufferCreationInterval,n=t.bufferTimeSpan,r=t.subscriber,i=t.scheduler,o=r.openContext();r.closed||(r.add(o.closeAction=i.schedule(x,n,{subscriber:r,context:o})),this.schedule(t,e))}function x(t){t.subscriber.closeContext(t.context)}var O=n("VwZZ");function S(t,e){return function(n){return n.lift(new E(t,e))}}var E=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new P(t,this.openings,this.closingSelector))},t}(),P=function(t){function e(e,n,r){t.call(this,e),this.openings=n,this.closingSelector=r,this.contexts=[],this.add(Object(a.a)(this,n))}return Object(o.__extends)(e,t),e.prototype._next=function(t){for(var e=this.contexts,n=e.length,r=0;r0;){var r=n.shift();r.subscription.unsubscribe(),r.buffer=null,r.subscription=null}this.contexts=null,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts;e.length>0;){var n=e.shift();this.destination.next(n.buffer),n.subscription.unsubscribe(),n.buffer=null,n.subscription=null}this.contexts=null,t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,i){t?this.closeBuffer(t):this.openBuffer(e)},e.prototype.notifyComplete=function(t){this.closeBuffer(t.context)},e.prototype.openBuffer=function(t){try{var e=this.closingSelector.call(this,t);e&&this.trySubscribe(e)}catch(t){this._error(t)}},e.prototype.closeBuffer=function(t){var e=this.contexts;if(e&&t){var n=t.subscription;this.destination.next(t.buffer),e.splice(e.indexOf(t),1),this.remove(n),n.unsubscribe()}},e.prototype.trySubscribe=function(t){var e=this.contexts,n=new O.a,r={buffer:[],subscription:n};e.push(r);var i=Object(a.a)(this,t,r);!i||i.closed?this.closeBuffer(r):(i.context=r,this.add(i),n.add(i))},e}(s.a),T=n("GK6M"),k=n("fKB6");function D(t){return function(e){return e.lift(new I(t))}}var I=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new R(t,this.closingSelector))},t}(),R=function(t){function e(e,n){t.call(this,e),this.closingSelector=n,this.subscribing=!1,this.openBuffer()}return Object(o.__extends)(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype._complete=function(){var e=this.buffer;e&&this.destination.next(e),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},e.prototype.notifyNext=function(t,e,n,r,i){this.openBuffer()},e.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},e.prototype.openBuffer=function(){var t=this.closingSubscription;t&&(this.remove(t),t.unsubscribe()),this.buffer&&this.destination.next(this.buffer),this.buffer=[];var e=Object(T.a)(this.closingSelector)();e===k.a?this.error(k.a.e):(t=new O.a,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add(Object(a.a)(this,e)),this.subscribing=!1)},e}(s.a),M=n("T4hI"),A=n("E4iY");function j(t){return function(e){return e.lift(new A.a(t))}}var N=n("Jn0N");function V(){for(var t=[],e=0;e0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(t,o)}else e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new tt(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(Z.a.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t)},e.prototype._complete=function(){this.scheduleNotification(Z.a.createComplete())},e}(d.a),tt=function(t,e){this.time=t,this.notification=e},et=n("YaPU");function nt(t,e){return e?function(n){return new ot(n,e).lift(new rt(t))}:function(e){return e.lift(new rt(t))}}var rt=function(){function t(t){this.delayDurationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new it(t,this.delayDurationSelector))},t}(),it=function(t){function e(e,n){t.call(this,e),this.delayDurationSelector=n,this.completed=!1,this.delayNotifierSubscriptions=[],this.values=[]}return Object(o.__extends)(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(t),this.removeSubscription(i),this.tryComplete()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){var e=this.removeSubscription(t);e&&this.destination.next(e),this.tryComplete()},e.prototype._next=function(t){try{var e=this.delayDurationSelector(t);e&&this.tryDelay(e,t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.completed=!0,this.tryComplete()},e.prototype.removeSubscription=function(t){t.unsubscribe();var e=this.delayNotifierSubscriptions.indexOf(t),n=null;return-1!==e&&(n=this.values[e],this.delayNotifierSubscriptions.splice(e,1),this.values.splice(e,1)),n},e.prototype.tryDelay=function(t,e){var n=Object(a.a)(this,t,e);n&&!n.closed&&(this.add(n),this.delayNotifierSubscriptions.push(n)),this.values.push(e)},e.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},e}(s.a),ot=function(t){function e(e,n){t.call(this),this.source=e,this.subscriptionDelay=n}return Object(o.__extends)(e,t),e.prototype._subscribe=function(t){this.subscriptionDelay.subscribe(new st(t,this.source))},e}(et.Observable),st=function(t){function e(e,n){t.call(this),this.parent=e,this.source=n,this.sourceSubscribed=!1}return Object(o.__extends)(e,t),e.prototype._next=function(t){this.subscribeToSource()},e.prototype._error=function(t){this.unsubscribe(),this.parent.error(t)},e.prototype._complete=function(){this.subscribeToSource()},e.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},e}(d.a);function at(){return function(t){return t.lift(new lt)}}var lt=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new ut(t))},t}(),ut=function(t){function e(e){t.call(this,e)}return Object(o.__extends)(e,t),e.prototype._next=function(t){t.observe(this.destination)},e}(d.a),ct=n("AMGY"),dt=ct.a.Set||function(){return function(){function t(){this._values=[]}return t.prototype.add=function(t){this.has(t)||this._values.push(t)},t.prototype.has=function(t){return-1!==this._values.indexOf(t)},Object.defineProperty(t.prototype,"size",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this._values.length=0},t}()}();function pt(t,e){return function(n){return n.lift(new ht(t,e))}}var ht=function(){function t(t,e){this.keySelector=t,this.flushes=e}return t.prototype.call=function(t,e){return e.subscribe(new ft(t,this.keySelector,this.flushes))},t}(),ft=function(t){function e(e,n,r){t.call(this,e),this.keySelector=n,this.values=new dt,r&&this.add(Object(a.a)(this,r))}return Object(o.__extends)(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.values.clear()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype._next=function(t){this.keySelector?this._useKeySelector(t):this._finalizeNext(t,t)},e.prototype._useKeySelector=function(t){var e,n=this.destination;try{e=this.keySelector(t)}catch(t){return void n.error(t)}this._finalizeNext(e,t)},e.prototype._finalizeNext=function(t,e){var n=this.values;n.has(t)||(n.add(t),this.destination.next(e))},e}(s.a);function gt(t,e){return function(n){return n.lift(new mt(t,e))}}var mt=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new yt(t,this.compare,this.keySelector))},t}(),yt=function(t){function e(e,n,r){t.call(this,e),this.keySelector=r,this.hasKey=!1,"function"==typeof n&&(this.compare=n)}return Object(o.__extends)(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e=t;if(this.keySelector&&(e=Object(T.a)(this.keySelector)(t))===k.a)return this.destination.error(k.a.e);var n=!1;if(this.hasKey){if((n=Object(T.a)(this.compare)(this.key,e))===k.a)return this.destination.error(k.a.e)}else this.hasKey=!0;!1===Boolean(n)&&(this.key=e,this.destination.next(t))},e}(d.a);function vt(t,e){return gt(function(n,r){return e?e(n[t],r[t]):n[t]===r[t]})}var bt=n("pU/0");function _t(t,e){return function(n){return n.lift(new wt(t,e))}}var wt=function(){function t(t,e){if(this.index=t,this.defaultValue=e,t<0)throw new bt.a}return t.prototype.call=function(t,e){return e.subscribe(new Ct(t,this.index,this.defaultValue))},t}(),Ct=function(t){function e(e,n,r){t.call(this,e),this.index=n,this.defaultValue=r}return Object(o.__extends)(e,t),e.prototype._next=function(t){0==this.index--&&(this.destination.next(t),this.destination.complete())},e.prototype._complete=function(){var t=this.destination;this.index>=0&&("undefined"!=typeof this.defaultValue?t.next(this.defaultValue):t.error(new bt.a)),t.complete()},e}(d.a),xt=n("ehgS");function Ot(){return function(t){return t.lift(new St)}}var St=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Et(t))},t}(),Et=function(t){function e(e){t.call(this,e),this.hasCompleted=!1,this.hasSubscription=!1}return Object(o.__extends)(e,t),e.prototype._next=function(t){this.hasSubscription||(this.hasSubscription=!0,this.add(Object(a.a)(this,t)))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(s.a);function Pt(t,e){return function(n){return n.lift(new Tt(t,e))}}var Tt=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new kt(t,this.project,this.resultSelector))},t}(),kt=function(t){function e(e,n,r){t.call(this,e),this.project=n,this.resultSelector=r,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}return Object(o.__extends)(e,t),e.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},e.prototype.tryNext=function(t){var e=this.index++,n=this.destination;try{var r=this.project(t,e);this.hasSubscription=!0,this.add(Object(a.a)(this,r,t,e))}catch(t){n.error(t)}},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){var o=this.destination;this.resultSelector?this.trySelectResult(t,e,n,r):o.next(e)},e.prototype.trySelectResult=function(t,e,n,r){var i=this.resultSelector,o=this.destination;try{var s=i(t,e,n,r);o.next(s)}catch(t){o.error(t)}},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(s.a);function Dt(t,e,n){return void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=void 0),e=(e||0)<1?Number.POSITIVE_INFINITY:e,function(r){return r.lift(new It(t,e,n))}}var It=function(){function t(t,e,n){this.project=t,this.concurrent=e,this.scheduler=n}return t.prototype.call=function(t,e){return e.subscribe(new Rt(t,this.project,this.concurrent,this.scheduler))},t}(),Rt=function(t){function e(e,n,r,i){t.call(this,e),this.project=n,this.concurrent=r,this.scheduler=i,this.index=0,this.active=0,this.hasCompleted=!1,r0&&this._next(e.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(s.a),Mt=n("w9is");function At(t){return function(e){return e.lift(new jt(t))}}var jt=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new Nt(t,this.callback))},t}(),Nt=function(t){function e(e,n){t.call(this,e),this.add(new O.a(n))}return Object(o.__extends)(e,t),e}(d.a);function Vt(t,e){if("function"!=typeof t)throw new TypeError("predicate is not a function");return function(n){return n.lift(new Ft(t,n,!1,e))}}var Ft=function(){function t(t,e,n,r){this.predicate=t,this.source=e,this.yieldIndex=n,this.thisArg=r}return t.prototype.call=function(t,e){return e.subscribe(new Lt(t,this.predicate,this.source,this.yieldIndex,this.thisArg))},t}(),Lt=function(t){function e(e,n,r,i,o){t.call(this,e),this.predicate=n,this.source=r,this.yieldIndex=i,this.thisArg=o,this.index=0}return Object(o.__extends)(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){var e=this.predicate,n=this.thisArg,r=this.index++;try{e.call(n||this,t,r,this.source)&&this.notifyComplete(this.yieldIndex?r:t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},e}(d.a);function Bt(t,e){return function(n){return n.lift(new Ft(t,n,!0,e))}}var Ht=n("keGL"),zt=n("g5jc"),Wt=function(){function t(){this.size=0,this._values=[],this._keys=[]}return t.prototype.get=function(t){var e=this._keys.indexOf(t);return-1===e?void 0:this._values[e]},t.prototype.set=function(t,e){var n=this._keys.indexOf(t);return-1===n?(this._keys.push(t),this._values.push(e),this.size++):this._values[n]=e,this},t.prototype.delete=function(t){var e=this._keys.indexOf(t);return-1!==e&&(this._values.splice(e,1),this._keys.splice(e,1),this.size--,!0)},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this.size=0},t.prototype.forEach=function(t,e){for(var n=0;n0?e:n}:function(t,e){return t>e?t:e};return Object(he.a)(e)}var ge=n("/nXB");function me(){for(var t=[],e=0;e0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(s.a);function Ce(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),function(r){return r.lift(new xe(t,e,n))}}var xe=function(){function t(t,e,n){this.accumulator=t,this.seed=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new Oe(t,this.accumulator,this.seed,this.concurrent))},t}(),Oe=function(t){function e(e,n,r,i){t.call(this,e),this.accumulator=n,this.acc=r,this.concurrent=i,this.hasValue=!1,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return Object(o.__extends)(e,t),e.prototype._next=function(t){if(this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e}(s.a);function Se(t){var e="function"==typeof t?function(e,n){return t(e,n)<0?e:n}:function(t,e){return t-1&&(this.count=n-1),e.subscribe(this._unsubscribeAndRecycle())}},e}(d.a);function Qe(t){return function(e){return e.lift(new Je(t))}}var Je=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new tn(t,this.notifier,e))},t}(),tn=function(t){function e(e,n,r){t.call(this,e),this.notifier=n,this.source=r,this.sourceIsBeingSubscribedTo=!0}return Object(o.__extends)(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},e.prototype.notifyComplete=function(e){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},e.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries){if(this.retriesSubscription.closed)return t.prototype.complete.call(this)}else this.subscribeToRetries();this._unsubscribeAndRecycle(),this.notifications.next()}},e.prototype._unsubscribe=function(){var t=this.notifications,e=this.retriesSubscription;t&&(t.unsubscribe(),this.notifications=null),e&&(e.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype._unsubscribeAndRecycle=function(){var e=this.notifications,n=this.retries,r=this.retriesSubscription;return this.notifications=null,this.retries=null,this.retriesSubscription=null,t.prototype._unsubscribeAndRecycle.call(this),this.notifications=e,this.retries=n,this.retriesSubscription=r,this},e.prototype.subscribeToRetries=function(){this.notifications=new zt.Subject;var e=Object(T.a)(this.notifier)(this.notifications);if(e===k.a)return t.prototype.complete.call(this);this.retries=e,this.retriesSubscription=Object(a.a)(this,e)},e}(s.a);function en(t){return void 0===t&&(t=-1),function(e){return e.lift(new nn(t,e))}}var nn=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new rn(t,this.count,this.source))},t}(),rn=function(t){function e(e,n,r){t.call(this,e),this.count=n,this.source=r}return Object(o.__extends)(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.source,r=this.count;if(0===r)return t.prototype.error.call(this,e);r>-1&&(this.count=r-1),n.subscribe(this._unsubscribeAndRecycle())}},e}(d.a);function on(t){return function(e){return e.lift(new sn(t,e))}}var sn=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new an(t,this.notifier,this.source))},t}(),an=function(t){function e(e,n,r){t.call(this,e),this.notifier=n,this.source=r}return Object(o.__extends)(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.errors,r=this.retries,i=this.retriesSubscription;if(r)this.errors=null,this.retriesSubscription=null;else{if(n=new zt.Subject,(r=Object(T.a)(this.notifier)(n))===k.a)return t.prototype.error.call(this,k.a.e);i=Object(a.a)(this,r)}this._unsubscribeAndRecycle(),this.errors=n,this.retries=r,this.retriesSubscription=i,n.next(e)}},e.prototype._unsubscribe=function(){var t=this.errors,e=this.retriesSubscription;t&&(t.unsubscribe(),this.errors=null),e&&(e.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype.notifyNext=function(t,e,n,r,i){var o=this.errors,s=this.retries,a=this.retriesSubscription;this.errors=null,this.retries=null,this.retriesSubscription=null,this._unsubscribeAndRecycle(),this.errors=o,this.retries=s,this.retriesSubscription=a,this.source.subscribe(this)},e}(s.a),ln=n("0P3J");function un(t){return function(e){return e.lift(new cn(t))}}var cn=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new dn(t),r=e.subscribe(n);return r.add(Object(a.a)(n,this.notifier)),r},t}(),dn=function(t){function e(){t.apply(this,arguments),this.hasValue=!1}return Object(o.__extends)(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(t,e,n,r,i){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(s.a);function pn(t,e){return void 0===e&&(e=m.a),function(n){return n.lift(new hn(t,e))}}var hn=function(){function t(t,e){this.period=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new fn(t,this.period,this.scheduler))},t}(),fn=function(t){function e(e,n,r){t.call(this,e),this.period=n,this.scheduler=r,this.hasValue=!1,this.add(r.schedule(gn,n,{subscriber:this,period:n}))}return Object(o.__extends)(e,t),e.prototype._next=function(t){this.lastValue=t,this.hasValue=!0},e.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},e}(d.a);function gn(t){var e=t.period;t.subscriber.notifyNext(),this.schedule(t,e)}var mn=n("E5SG");function yn(t,e){return function(n){return n.lift(new vn(t,e))}}var vn=function(){function t(t,e){this.compareTo=t,this.comparor=e}return t.prototype.call=function(t,e){return e.subscribe(new bn(t,this.compareTo,this.comparor))},t}(),bn=function(t){function e(e,n,r){t.call(this,e),this.compareTo=n,this.comparor=r,this._a=[],this._b=[],this._oneComplete=!1,this.add(n.subscribe(new _n(e,this)))}return Object(o.__extends)(e,t),e.prototype._next=function(t){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(t),this.checkValues())},e.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},e.prototype.checkValues=function(){for(var t=this._a,e=this._b,n=this.comparor;t.length>0&&e.length>0;){var r=t.shift(),i=e.shift(),o=!1;n?(o=Object(T.a)(n)(r,i))===k.a&&this.destination.error(k.a.e):o=r===i,o||this.emit(!1)}},e.prototype.emit=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype.nextB=function(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())},e}(d.a),_n=function(t){function e(e,n){t.call(this,e),this.parent=n}return Object(o.__extends)(e,t),e.prototype._next=function(t){this.parent.nextB(t)},e.prototype._error=function(t){this.parent.error(t)},e.prototype._complete=function(){this.parent._complete()},e}(d.a),wn=n("3a3m");function Cn(t,e,n){return function(r){return r.lift(function(t,e,n){var r,i,o=0,s=!1,a=!1;return function(l){o++,r&&!s||(s=!1,r=new ze.a(t,e,n),i=l.subscribe({next:function(t){r.next(t)},error:function(t){s=!0,r.error(t)},complete:function(){a=!0,r.complete()}}));var u=r.subscribe(this);return function(){o--,u.unsubscribe(),i&&0===o&&a&&i.unsubscribe()}}}(t,e,n))}}var xn=n("CB8l");function On(t){return function(e){return e.lift(new Sn(t,e))}}var Sn=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new En(t,this.predicate,this.source))},t}(),En=function(t){function e(e,n,r){t.call(this,e),this.predicate=n,this.source=r,this.seenValue=!1,this.index=0}return Object(o.__extends)(e,t),e.prototype.applySingleValue=function(t){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=t)},e.prototype._next=function(t){var e=this.index++;this.predicate?this.tryNext(t,e):this.applySingleValue(t)},e.prototype.tryNext=function(t,e){try{this.predicate(t,e,this.source)&&this.applySingleValue(t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){var t=this.destination;this.index>0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new xn.a)},e}(d.a);function Pn(t){return function(e){return e.lift(new Tn(t))}}var Tn=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new kn(t,this.total))},t}(),kn=function(t){function e(e,n){t.call(this,e),this.total=n,this.count=0}return Object(o.__extends)(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(d.a);function Dn(t){return function(e){return e.lift(new In(t))}}var In=function(){function t(t){if(this._skipCount=t,this._skipCount<0)throw new bt.a}return t.prototype.call=function(t,e){return e.subscribe(0===this._skipCount?new d.a(t):new Rn(t,this._skipCount))},t}(),Rn=function(t){function e(e,n){t.call(this,e),this._skipCount=n,this._count=0,this._ring=new Array(n)}return Object(o.__extends)(e,t),e.prototype._next=function(t){var e=this._skipCount,n=this._count++;if(n0?this.startWindowEvery:this.windowSize,n=this.destination,r=this.windowSize,i=this.windows,o=i.length,s=0;s=0&&a%e==0&&!this.closed&&i.shift().complete(),++this.count%e==0&&!this.closed){var l=new zt.Subject;i.push(l),n.next(l)}},e.prototype._error=function(t){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},e.prototype._unsubscribe=function(){this.count=0,this.windows=null},e}(d.a),Pr=n("/acl");function Tr(t){var e=m.a,n=null,r=Number.POSITIVE_INFINITY;return Object(y.a)(arguments[3])&&(e=arguments[3]),Object(y.a)(arguments[2])?e=arguments[2]:Object(Pr.a)(arguments[2])&&(r=arguments[2]),Object(y.a)(arguments[1])?e=arguments[1]:Object(Pr.a)(arguments[1])&&(n=arguments[1]),function(i){return i.lift(new kr(t,n,r,e))}}var kr=function(){function t(t,e,n,r){this.windowTimeSpan=t,this.windowCreationInterval=e,this.maxWindowSize=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new Ir(t,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},t}(),Dr=function(t){function e(){t.apply(this,arguments),this._numberOfNextedValues=0}return Object(o.__extends)(e,t),e.prototype.next=function(e){this._numberOfNextedValues++,t.prototype.next.call(this,e)},Object.defineProperty(e.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),e}(zt.Subject),Ir=function(t){function e(e,n,r,i,o){t.call(this,e),this.destination=e,this.windowTimeSpan=n,this.windowCreationInterval=r,this.maxWindowSize=i,this.scheduler=o,this.windows=[];var s=this.openWindow();if(null!==r&&r>=0){var a={windowTimeSpan:n,windowCreationInterval:r,subscriber:this,scheduler:o};this.add(o.schedule(Ar,n,{subscriber:this,window:s,context:null})),this.add(o.schedule(Mr,r,a))}else this.add(o.schedule(Rr,n,{subscriber:this,window:s,windowTimeSpan:n}))}return Object(o.__extends)(e,t),e.prototype._next=function(t){for(var e=this.windows,n=e.length,r=0;r=this.maxWindowSize&&this.closeWindow(i))}},e.prototype._error=function(t){for(var e=this.windows;e.length>0;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){for(var t=this.windows;t.length>0;){var e=t.shift();e.closed||e.complete()}this.destination.complete()},e.prototype.openWindow=function(){var t=new Dr;return this.windows.push(t),this.destination.next(t),t},e.prototype.closeWindow=function(t){t.complete();var e=this.windows;e.splice(e.indexOf(t),1)},e}(d.a);function Rr(t){var e=t.subscriber,n=t.windowTimeSpan,r=t.window;r&&e.closeWindow(r),t.window=e.openWindow(),this.schedule(t,n)}function Mr(t){var e=t.windowTimeSpan,n=t.subscriber,r=t.scheduler,i=t.windowCreationInterval,o=n.openWindow(),s={action:this,subscription:null};s.subscription=r.schedule(Ar,e,{subscriber:n,window:o,context:s}),this.add(s.subscription),this.schedule(t,i)}function Ar(t){var e=t.subscriber,n=t.window,r=t.context;r&&r.action&&r.subscription&&r.action.remove(r.subscription),e.closeWindow(n)}function jr(t,e){return function(n){return n.lift(new Nr(t,e))}}var Nr=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new Vr(t,this.openings,this.closingSelector))},t}(),Vr=function(t){function e(e,n,r){t.call(this,e),this.openings=n,this.closingSelector=r,this.contexts=[],this.add(this.openSubscription=Object(a.a)(this,n,n))}return Object(o.__extends)(e,t),e.prototype._next=function(t){var e=this.contexts;if(e)for(var n=e.length,r=0;r0){var s=o.indexOf(n);-1!==s&&o.splice(s,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=[t].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(s.a),Ur=n("etqZ");function Gr(){for(var t=[],e=0;ethis.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),Zr=function(t){function e(e,n,r){t.call(this,e),this.parent=n,this.observable=r,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return Object(o.__extends)(e,t),e.prototype[Ur.a]=function(){return this},e.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},e.prototype.hasValue=function(){return this.buffer.length>0},e.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},e.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(t,e){return Object(a.a)(this,this.observable,this,e)},e}(s.a);function Xr(t){return function(e){return e.lift(new qr(t))}}n.d(e,"audit",function(){return r.a}),n.d(e,"auditTime",function(){return i.a}),n.d(e,"buffer",function(){return l}),n.d(e,"bufferCount",function(){return p}),n.d(e,"bufferTime",function(){return v}),n.d(e,"bufferToggle",function(){return S}),n.d(e,"bufferWhen",function(){return D}),n.d(e,"catchError",function(){return M.a}),n.d(e,"combineAll",function(){return j}),n.d(e,"combineLatest",function(){return A.b}),n.d(e,"concat",function(){return V}),n.d(e,"concatAll",function(){return F.a}),n.d(e,"concatMap",function(){return L.a}),n.d(e,"concatMapTo",function(){return B}),n.d(e,"count",function(){return H}),n.d(e,"debounce",function(){return U}),n.d(e,"debounceTime",function(){return $.a}),n.d(e,"defaultIfEmpty",function(){return Y.a}),n.d(e,"delay",function(){return X}),n.d(e,"delayWhen",function(){return nt}),n.d(e,"dematerialize",function(){return at}),n.d(e,"distinct",function(){return pt}),n.d(e,"distinctUntilChanged",function(){return gt}),n.d(e,"distinctUntilKeyChanged",function(){return vt}),n.d(e,"elementAt",function(){return _t}),n.d(e,"every",function(){return xt.a}),n.d(e,"exhaust",function(){return Ot}),n.d(e,"exhaustMap",function(){return Pt}),n.d(e,"expand",function(){return Dt}),n.d(e,"filter",function(){return Mt.a}),n.d(e,"finalize",function(){return At}),n.d(e,"find",function(){return Vt}),n.d(e,"findIndex",function(){return Bt}),n.d(e,"first",function(){return Ht.a}),n.d(e,"groupBy",function(){return qt}),n.d(e,"ignoreElements",function(){return Jt}),n.d(e,"isEmpty",function(){return ne}),n.d(e,"last",function(){return oe.a}),n.d(e,"map",function(){return se.a}),n.d(e,"mapTo",function(){return ae}),n.d(e,"materialize",function(){return ce}),n.d(e,"max",function(){return fe}),n.d(e,"merge",function(){return me}),n.d(e,"mergeAll",function(){return ye.a}),n.d(e,"mergeMap",function(){return ve.a}),n.d(e,"flatMap",function(){return ve.a}),n.d(e,"mergeMapTo",function(){return be}),n.d(e,"mergeScan",function(){return Ce}),n.d(e,"min",function(){return Se}),n.d(e,"multicast",function(){return Ee.a}),n.d(e,"observeOn",function(){return Pe.b}),n.d(e,"onErrorResumeNext",function(){return ke}),n.d(e,"pairwise",function(){return Re}),n.d(e,"partition",function(){return je}),n.d(e,"pluck",function(){return Ne}),n.d(e,"publish",function(){return Ve}),n.d(e,"publishBehavior",function(){return Le}),n.d(e,"publishLast",function(){return He}),n.d(e,"publishReplay",function(){return We}),n.d(e,"race",function(){return $e}),n.d(e,"reduce",function(){return he.a}),n.d(e,"repeat",function(){return Ke}),n.d(e,"repeatWhen",function(){return Qe}),n.d(e,"retry",function(){return en}),n.d(e,"retryWhen",function(){return on}),n.d(e,"refCount",function(){return ln.a}),n.d(e,"sample",function(){return un}),n.d(e,"sampleTime",function(){return pn}),n.d(e,"scan",function(){return mn.a}),n.d(e,"sequenceEqual",function(){return yn}),n.d(e,"share",function(){return wn.a}),n.d(e,"shareReplay",function(){return Cn}),n.d(e,"single",function(){return On}),n.d(e,"skip",function(){return Pn}),n.d(e,"skipLast",function(){return Dn}),n.d(e,"skipUntil",function(){return Mn}),n.d(e,"skipWhile",function(){return Nn}),n.d(e,"startWith",function(){return Ln.a}),n.d(e,"switchAll",function(){return zn}),n.d(e,"switchMap",function(){return Bn.a}),n.d(e,"switchMapTo",function(){return Wn}),n.d(e,"take",function(){return qn.a}),n.d(e,"takeLast",function(){return $n.a}),n.d(e,"takeUntil",function(){return Yn.a}),n.d(e,"takeWhile",function(){return Kn}),n.d(e,"tap",function(){return Qn.a}),n.d(e,"throttle",function(){return tr}),n.d(e,"throttleTime",function(){return rr}),n.d(e,"timeInterval",function(){return ar}),n.d(e,"timeout",function(){return dr}),n.d(e,"timeoutWith",function(){return fr}),n.d(e,"timestamp",function(){return yr}),n.d(e,"toArray",function(){return _r}),n.d(e,"window",function(){return wr}),n.d(e,"windowCount",function(){return Or}),n.d(e,"windowTime",function(){return Tr}),n.d(e,"windowToggle",function(){return jr}),n.d(e,"windowWhen",function(){return Fr}),n.d(e,"withLatestFrom",function(){return Hr}),n.d(e,"zip",function(){return Gr}),n.d(e,"zipAll",function(){return Xr})},lAP5:function(t,e,n){"use strict";e.a=function(t){return t}},lNSw:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("WT6e");n("veZJ"),e.VgScrubBarCurrentTime=function(){function t(t,e){this.API=e,this.vgSlider=!1,this.subscriptions=[],this.elem=t.nativeElement}return t.prototype.ngOnInit=function(){var t=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe(function(){return t.onPlayerReady()}))},t.prototype.onPlayerReady=function(){this.target=this.API.getMediaById(this.vgFor)},t.prototype.getPercentage=function(){return this.target?100*this.target.time.current/this.target.time.total+"%":"0%"},t.prototype.ngOnDestroy=function(){this.subscriptions.forEach(function(t){return t.unsubscribe()})},t.decorators=[{type:r.Component,args:[{selector:"vg-scrub-bar-current-time",encapsulation:r.ViewEncapsulation.None,template:'
',styles:["\n vg-scrub-bar-current-time {\n display: flex;\n width: 100%;\n height: 5px;\n pointer-events: none;\n position: absolute;\n }\n\n vg-scrub-bar-current-time .background {\n background-color: white;\n }\n\n vg-controls vg-scrub-bar-current-time {\n position: absolute;\n top: calc(50% - 3px);\n -webkit-border-radius: 2px;\n -moz-border-radius: 2px;\n border-radius: 2px;\n }\n\n vg-controls vg-scrub-bar-current-time .background {\n border: 1px solid white;\n -webkit-border-radius: 2px;\n -moz-border-radius: 2px;\n border-radius: 2px;\n }\n \n vg-scrub-bar-current-time .slider{\n background: white;\n height: 15px;\n width: 15px;\n border-radius: 50%;\n box-shadow: 0px 0px 10px black;\n margin-top: -5px;\n margin-left: -10px;\n }\n "]}]}],t.propDecorators={vgFor:[{type:r.Input}],vgSlider:[{type:r.Input}]},t}()},mnL7:function(t,e,n){"use strict";var r=n("TToO"),i=n("BX3T"),o=n("N4j0"),s=n("cQXm"),a=n("nsdQ"),l=n("AMGY"),u=n("YaPU"),c=n("etqZ"),d=function(t){function e(e,n){if(t.call(this),this.scheduler=n,null==e)throw new Error("iterator cannot be null.");this.iterator=f(e)}return Object(r.__extends)(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.index,n=t.iterator,r=t.subscriber;if(t.hasError)r.error(t.error);else{var i=n.next();i.done?r.complete():(r.next(i.value),t.index=e+1,r.closed?"function"==typeof n.return&&n.return():this.schedule(t))}},e.prototype._subscribe=function(t){var n=this.iterator,r=this.scheduler;if(r)return r.schedule(e.dispatch,0,{index:0,iterator:n,subscriber:t});for(;;){var i=n.next();if(i.done){t.complete();break}if(t.next(i.value),t.closed){"function"==typeof n.return&&n.return();break}}},e}(u.Observable),p=function(){function t(t,e,n){void 0===e&&(e=0),void 0===n&&(n=t.length),this.str=t,this.idx=e,this.len=n}return t.prototype[c.a]=function(){return this},t.prototype.next=function(){return this.idxg?g:i:i}()),this.arr=t,this.idx=e,this.len=n}return t.prototype[c.a]=function(){return this},t.prototype.next=function(){return this.idx=t.length?r.complete():(r.next(e[n]),t.index=n+1,this.schedule(t)))},e.prototype._subscribe=function(t){var n=this.arrayLike,r=this.scheduler,i=n.length;if(r)return r.schedule(e.dispatch,0,{arrayLike:n,index:0,length:i,subscriber:t});for(var o=0;o\n \n \n \n \n \n \n \n ',changeDetection:a.ChangeDetectionStrategy.OnPush,encapsulation:a.ViewEncapsulation.None,styleUrls:["./datatable.component.css"],host:{class:"ngx-datatable"}}),s(0,a.SkipSelf()),s(1,a.SkipSelf())],t)}()},sUlX:function(t,e,n){"use strict";var r=n("TToO").__decorate;Object.defineProperty(e,"__esModule",{value:!0});var i=n("WT6e");e.DataTableColumnHeaderDirective=function(){return r([i.Directive({selector:"[ngx-datatable-header-template]"})],function(t){this.template=t})}()},sXN4:function(t,e,n){"use strict";function r(){return""}function i(t,e){if(null==t)return"";if(!t||null==e)return t;var n=t[e];return null==n?"":n}function o(t,e){if(null==t)return"";if(!t||!e)return t;var n=t[e];return null==n?"":n}function s(t,e){if(null==t)return"";if(!t||!e)return t;var n=t[e];if(void 0!==n)return n;n=t;var r=e.split(".");if(r.length)for(var i=0;ie&&(e=t+1);return e},t.isMobileDevice=function(){return"undefined"!=typeof window.orientation||-1!==navigator.userAgent.indexOf("IEMobile")},t.isiOSDevice=function(){return navigator.userAgent.match(/ip(hone|ad|od)/i)&&!navigator.userAgent.match(/(iemobile)[\/\s]?([\w\.]*)/i)},t.isCordova=function(){return-1===document.URL.indexOf("http://")&&-1===document.URL.indexOf("https://")},t.decorators=[{type:r.Injectable}],t}()},wnAr:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("WT6e"),i=n("Xjw4"),o=n("eliO");e.VgBufferingModule=function(){function t(){}return t.decorators=[{type:r.NgModule,args:[{imports:[i.CommonModule],declarations:[o.VgBuffering],exports:[o.VgBuffering]}]}],t}()},x35b:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("WT6e"),i=function(){},o=function(){this.title="app"},s=n("Xjw4"),a=function(){this.dismissible=!0,this.type="warning"},l=function(){function t(t){this.close=new r.EventEmitter,this.dismissible=t.dismissible,this.type=t.type}return t.prototype.closeHandler=function(){this.close.emit(null)},t}(),u=r["\u0275crt"]({encapsulation:2,styles:[],data:{}});function c(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,4,"button",[["aria-label","Close"],["class","close"],["type","button"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.closeHandler()&&r),r},null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](2,0,null,null,1,"span",[["aria-hidden","true"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\xd7"])),(t()(),r["\u0275ted"](-1,null,["\n "]))],null,null)}function d(t){return r["\u0275vid"](2,[(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](1,0,null,null,6,"div",[["role","alert"]],[[8,"className",0]],null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,c)),r["\u0275did"](4,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "])),r["\u0275ncd"](null,0),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){t(e,4,0,e.component.dismissible)},function(t,e){var n=e.component;t(e,1,0,"alert alert-"+n.type+(n.dismissible?" alert-dismissible":""))})}var p=r["\u0275ccf"]("ngb-alert",l,function(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"ngb-alert",[],null,null,null,d,u)),r["\u0275did"](1,49152,null,0,l,[a],null,null)],null,null)},{dismissible:"dismissible",type:"type"},{close:"close"},["*"]),h=new(function(){function t(){}return t.prototype.getAllStyles=function(t){return window.getComputedStyle(t)},t.prototype.getStyle=function(t,e){return this.getAllStyles(t)[e]},t.prototype.isStaticPositioned=function(t){return"static"===(this.getStyle(t,"position")||"static")},t.prototype.offsetParent=function(t){for(var e=t.offsetParent||document.documentElement;e&&e!==document.documentElement&&this.isStaticPositioned(e);)e=e.offsetParent;return e||document.documentElement},t.prototype.position=function(t,e){var n;void 0===e&&(e=!0);var r={width:0,height:0,top:0,bottom:0,left:0,right:0};if("fixed"===this.getStyle(t,"position"))n=t.getBoundingClientRect();else{var i=this.offsetParent(t);n=this.offset(t,!1),i!==document.documentElement&&(r=this.offset(i,!1)),r.top+=i.clientTop,r.left+=i.clientLeft}return n.top-=r.top,n.bottom-=r.top,n.left-=r.left,n.right-=r.left,e&&(n.top=Math.round(n.top),n.bottom=Math.round(n.bottom),n.left=Math.round(n.left),n.right=Math.round(n.right)),n},t.prototype.offset=function(t,e){void 0===e&&(e=!0);var n=t.getBoundingClientRect(),r=window.pageYOffset-document.documentElement.clientTop,i=window.pageXOffset-document.documentElement.clientLeft,o={height:n.height||t.offsetHeight,width:n.width||t.offsetWidth,top:n.top+r,bottom:n.bottom+r,left:n.left+i,right:n.right+i};return e&&(o.height=Math.round(o.height),o.width=Math.round(o.width),o.top=Math.round(o.top),o.bottom=Math.round(o.bottom),o.left=Math.round(o.left),o.right=Math.round(o.right)),o},t.prototype.positionElements=function(t,e,n,r){var i=r?this.offset(t,!1):this.position(t,!1),o=this.getAllStyles(e),s=e.getBoundingClientRect(),a=n.split("-")[0]||"top",l=n.split("-")[1]||"center",u={height:s.height||e.offsetHeight,width:s.width||e.offsetWidth,top:0,bottom:s.height||e.offsetHeight,left:0,right:s.width||e.offsetWidth};switch(a){case"top":u.top=i.top-(e.offsetHeight+parseFloat(o.marginBottom));break;case"bottom":u.top=i.top+i.height;break;case"left":u.left=i.left-(e.offsetWidth+parseFloat(o.marginRight));break;case"right":u.left=i.left+i.width}switch(l){case"top":u.top=i.top;break;case"bottom":u.top=i.top+i.height-e.offsetHeight;break;case"left":u.left=i.left;break;case"right":u.left=i.left+i.width-e.offsetWidth;break;case"center":"top"===a||"bottom"===a?u.left=i.left+i.width/2-e.offsetWidth/2:u.top=i.top+i.height/2-e.offsetHeight/2}return u.top=Math.round(u.top),u.bottom=Math.round(u.bottom),u.left=Math.round(u.left),u.right=Math.round(u.right),u},t.prototype.getAvailablePlacements=function(t,e){var n=[],r=t.getBoundingClientRect(),i=e.getBoundingClientRect(),o=document.documentElement;return i.width0&&n.splice(n.length,1,"left"),this.setSecondaryPlacementForLeftRight(r,i,"left",n)),i.heighti.width&&(r.top+r.height/2-e.offsetHeight/2>0&&n.splice(n.length,1,"right"),this.setSecondaryPlacementForLeftRight(r,i,"right",n)),(window.innerHeight||o.clientHeight)-r.bottom>i.height&&(n.splice(n.length,1,"bottom"),this.setSecondaryPlacementForTopBottom(r,i,"bottom",n)),n},t.prototype.setSecondaryPlacementForLeftRight=function(t,e,n,r){var i=document.documentElement;e.height<=t.bottom&&r.splice(r.length,1,n+"-bottom"),(window.innerHeight||i.clientHeight)-t.top>=e.height&&r.splice(r.length,1,n+"-top")},t.prototype.setSecondaryPlacementForTopBottom=function(t,e,n,r){var i=document.documentElement;(window.innerWidth||i.clientWidth)-t.left>=e.width&&r.splice(r.length,1,n+"-left"),e.width<=t.right&&r.splice(r.length,1,n+"-right")},t}());function f(t,e,n,r){var i=Array.isArray(n)?n:[n],o=i.findIndex(function(t){return"auto"===t});o>=0&&["top","right","bottom","left"].forEach(function(t){null==i.find(function(e){return-1!==e.search("^"+t+"|^"+t+"-")})&&i.splice(o++,1,t)});for(var s,a=0,l=0,u=h.getAvailablePlacements(t,e),c=function(n,o){if(null!=u.find(function(t){return t===n})||i.length===o+1){s=n;var c=h.positionElements(t,e,n,r);return a=c.top,l=c.left,"break"}},d=0,p=i.map(function(t,e){return{item:t,index:e}});d0?r.split(new RegExp("("+(e=i,e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))+")")).map(function(t){var e=n.substr(o,t.length);return o+=t.length,e}):[n]},t}(),k=r["\u0275crt"]({encapsulation:0,styles:[".ngb-highlight[_ngcontent-%COMP%] {\n font-weight: bold;\n }"],data:{}});function D(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"span",[],[[8,"className",0]],null,null,null,null)),(t()(),r["\u0275ted"](1,null,["",""]))],null,function(t,e){t(e,0,0,r["\u0275inlineInterpolate"](1,"",e.component.highlightClass,"")),t(e,1,0,e.parent.context.$implicit)})}function I(t){return r["\u0275vid"](0,[(t()(),r["\u0275ted"](0,null,["",""]))],null,function(t,e){t(e,0,0,e.parent.context.$implicit)})}function R(t){return r["\u0275vid"](0,[(t()(),r["\u0275and"](16777216,null,null,1,null,D)),r["\u0275did"](1,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275and"](16777216,null,null,1,null,I)),r["\u0275did"](3,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275and"](0,null,null,0))],function(t,e){t(e,1,0,e.context.odd),t(e,3,0,!e.context.odd)},null)}function M(t){return r["\u0275vid"](2,[(t()(),r["\u0275and"](16777216,null,null,1,null,R)),r["\u0275did"](1,802816,null,0,s.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,1,0,e.component.parts)},null)}var A=function(){function t(){this.activeIdx=0,this.focusFirst=!0,this.formatter=x,this.selectEvent=new r.EventEmitter,this.activeChangeEvent=new r.EventEmitter}return t.prototype.hasActive=function(){return this.activeIdx>-1&&this.activeIdx=0?this.id+"-"+this.activeIdx:void 0)},t}(),j=r["\u0275crt"]({encapsulation:2,styles:[],data:{}});function N(t){return r["\u0275vid"](0,[(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](1,0,null,null,1,"ngb-highlight",[],null,null,null,M,k)),r["\u0275did"](2,573440,null,0,T,[],{result:[0,"result"],term:[1,"term"]},null),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){t(e,2,0,e.context.formatter(e.context.result),e.context.term)},null)}function V(t){return r["\u0275vid"](0,[(t()(),r["\u0275and"](0,null,null,0))],null,null)}function F(t){return r["\u0275vid"](0,[(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](1,0,null,null,5,"button",[["class","dropdown-item"],["role","option"],["type","button"]],[[8,"id",0],[2,"active",null]],[[null,"mouseenter"],[null,"click"]],function(t,e,n){var r=!0,i=t.component;return"mouseenter"===e&&(r=!1!==i.markActive(t.context.index)&&r),"click"===e&&(r=!1!==i.select(t.context.$implicit)&&r),r},null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,2,null,V)),r["\u0275did"](4,540672,null,0,s.NgTemplateOutlet,[r.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),r["\u0275pod"](5,{result:0,term:1,formatter:2}),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){var n=e.component;t(e,4,0,t(e,5,0,e.context.$implicit,n.term,n.formatter),n.resultTemplate||r["\u0275nov"](e.parent,1))},function(t,e){var n=e.component;t(e,1,0,n.id+"-"+e.context.index,e.context.index===n.activeIdx)})}function L(t){return r["\u0275vid"](0,[(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](0,[["rt",2]],null,0,null,N)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,F)),r["\u0275did"](4,802816,null,0,s.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){t(e,4,0,e.component.results)},null)}var B=r["\u0275ccf"]("ngb-typeahead-window",A,function(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"ngb-typeahead-window",[["class","dropdown-menu"],["role","listbox"],["style","display: block"]],[[8,"id",0]],null,null,L,j)),r["\u0275did"](1,114688,null,0,A,[],null,null)],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,r["\u0275nov"](e,1).id)})},{id:"id",focusFirst:"focusFirst",results:"results",term:"term",formatter:"formatter",resultTemplate:"resultTemplate"},{selectEvent:"select",activeChangeEvent:"activeChange"},[]),H=function(){function t(){}return t.prototype.isMuted=function(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)},t}(),z=r["\u0275crt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n text-align: center;\n width: 2rem;\n height: 2rem;\n line-height: 2rem;\n border-radius: 0.25rem;\n background: transparent;\n }\n .outside[_nghost-%COMP%] {\n opacity: 0.5;\n }"],data:{}});function W(t){return r["\u0275vid"](2,[(t()(),r["\u0275ted"](0,null,["",""]))],null,function(t,e){t(e,0,0,e.component.date.day)})}var U=n("TToO"),G=n("YaPU"),q=n("+3/4"),Y=n("BX3T"),K=n("PIsA"),Z=n("tZ2B"),X=function(t){function e(e,n){t.call(this),this.sources=e,this.resultSelector=n}return Object(U.__extends)(e,t),e.create=function(){for(var t=[],n=0;nt?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return st(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return lt.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(st(e.value))return null;var n=e.value?e.value.length:0;return nt?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){return e?("string"==typeof e?(r="","^"!==e.charAt(0)&&(r+="^"),r+=e,"$"!==e.charAt(e.length-1)&&(r+="$"),n=new RegExp(r)):(r=e.toString(),n=e),function(t){if(st(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:r,actualValue:e}}}):t.nullValidator;var n,r},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(ct);return 0==e.length?null:function(t){return pt(function(t,n){return e.map(function(e){return e(t)})}(t))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(ct);return 0==e.length?null:function(t){var n=function(t,n){return e.map(function(e){return e(t)})}(t).map(dt);return nt.call(J(n),pt)}},t}();function ct(t){return null!=t}function dt(t){var e=Object(r["\u0275isPromise"])(t)?tt(t):t;if(!Object(r["\u0275isObservable"])(e))throw new Error("Expected validator to return Promise or Observable.");return e}function pt(t){var e=t.reduce(function(t,e){return null!=e?Object(U.__assign)({},t,e):t},{});return 0===Object.keys(e).length?null:e}var ht=new r.InjectionToken("NgValueAccessor"),ft=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),gt=new r.InjectionToken("CompositionEventMode"),mt=function(){function t(t,e,n){var r;this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=Object(rt["\u0275getDOM"])()?Object(rt["\u0275getDOM"])().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._handleInput=function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)},t.prototype._compositionStart=function(){this._composing=!0},t.prototype._compositionEnd=function(t){this._composing=!1,this._compositionMode&&this.onChange(t)},t}();function yt(t){return t.validate?function(e){return t.validate(e)}:t}function vt(t){return t.validate?function(e){return t.validate(e)}:t}var bt=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}();function _t(){throw new Error("unimplemented")}var wt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return Object(U.__extends)(e,t),Object.defineProperty(e.prototype,"validator",{get:function(){return _t()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return _t()},enumerable:!0,configurable:!0}),e}(it),Ct=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,e){this._accessors.push([t,e])},t.prototype.remove=function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach(function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name},t}(),xt=function(){function t(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(wt),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')},t}(),Ot=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}();function St(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}var Et=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=r["\u0275looseIdentical"]}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=St(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){for(var e=0,n=Array.from(this._optionMap.keys());e-1)}}else e=function(t,e){t._setSelected(!1)};this._optionMap.forEach(e)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var i=n.selectedOptions,o=0;o1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function Vt(t){return null!=t?ut.compose(t.map(yt)):null}function Ft(t){return null!=t?ut.composeAsync(t.map(vt)):null}var Lt=[ft,Ot,bt,Et,kt,xt],Bt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(U.__extends)(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return It(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return Vt(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Ft(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){},e}(ot),Ht=function(){function t(t){this._cd=t}return Object.defineProperty(t.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),t}(),zt=function(t){function e(e){return t.call(this,e)||this}return Object(U.__extends)(e,t),e}(Ht),Wt=function(t){function e(e){return t.call(this,e)||this}return Object(U.__extends)(e,t),e}(Ht);function Ut(t){var e=qt(t)?t.validators:t;return Array.isArray(e)?Vt(e):e||null}function Gt(t,e){var n=qt(e)?e.asyncValidators:t;return Array.isArray(n)?Ft(n):n||null}function qt(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var $t=function(){function t(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),t.prototype.setValidators=function(t){this.validator=Ut(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=Gt(t)},t.prototype.clearValidators=function(){this.validator=null},t.prototype.clearAsyncValidators=function(){this.asyncValidator=null},t.prototype.markAsTouched=function(t){void 0===t&&(t={}),this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)},t.prototype.markAsUntouched=function(t){void 0===t&&(t={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(t){t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype.markAsDirty=function(t){void 0===t&&(t={}),this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)},t.prototype.markAsPristine=function(t){void 0===t&&(t={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(t){t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype.markAsPending=function(t){void 0===t&&(t={}),this.status="PENDING",this._parent&&!t.onlySelf&&this._parent.markAsPending(t)},t.prototype.disable=function(t){void 0===t&&(t={}),this.status="DISABLED",this.errors=null,this._forEachChild(function(e){e.disable(Object(U.__assign)({},t,{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(t),this._onDisabledChange.forEach(function(t){return t(!0)})},t.prototype.enable=function(t){void 0===t&&(t={}),this.status="VALID",this._forEachChild(function(e){e.enable(Object(U.__assign)({},t,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(t),this._onDisabledChange.forEach(function(t){return t(!1)})},t.prototype._updateAncestors=function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),this._parent._updatePristine(),this._parent._updateTouched())},t.prototype.setParent=function(t){this._parent=t},t.prototype.updateValueAndValidity=function(t){void 0===t&&(t={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)},t.prototype._updateTreeValidity=function(t){void 0===t&&(t={emitEvent:!0}),this._forEachChild(function(e){return e._updateTreeValidity(t)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})},t.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},t.prototype._runValidator=function(){return this.validator?this.validator(this):null},t.prototype._runAsyncValidator=function(t){var e=this;if(this.asyncValidator){this.status="PENDING";var n=dt(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){return e.setErrors(n,{emitEvent:t})})}},t.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},t.prototype.setErrors=function(t,e){void 0===e&&(e={}),this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)},t.prototype.get=function(t){return function(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(".")),e instanceof Array&&0===e.length?null:e.reduce(function(t,e){return t instanceof Kt?t.controls[e]||null:t instanceof Zt&&t.at(e)||null},t))}(this,t)},t.prototype.getError=function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null},t.prototype.hasError=function(t,e){return!!this.getError(t,e)},Object.defineProperty(t.prototype,"root",{get:function(){for(var t=this;t._parent;)t=t._parent;return t},enumerable:!0,configurable:!0}),t.prototype._updateControlsErrors=function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)},t.prototype._initObservables=function(){this.valueChanges=new r.EventEmitter,this.statusChanges=new r.EventEmitter},t.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},t.prototype._anyControlsHaveStatus=function(t){return this._anyControls(function(e){return e.status===t})},t.prototype._anyControlsDirty=function(){return this._anyControls(function(t){return t.dirty})},t.prototype._anyControlsTouched=function(){return this._anyControls(function(t){return t.touched})},t.prototype._updatePristine=function(t){void 0===t&&(t={}),this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype._updateTouched=function(t){void 0===t&&(t={}),this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype._isBoxedValue=function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t},t.prototype._registerOnCollectionChange=function(t){this._onCollectionChange=t},t.prototype._setUpdateStrategy=function(t){qt(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)},t}(),Yt=function(t){function e(e,n,r){void 0===e&&(e=null);var i=t.call(this,Ut(n),Gt(r,n))||this;return i._onChange=[],i._applyFormState(e),i._setUpdateStrategy(n),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i._initObservables(),i}return Object(U.__extends)(e,t),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(function(t){return t(n.value,!1!==e.emitViewToModelChange)}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){void 0===e&&(e={}),this.setValue(t,e)},e.prototype.reset=function(t,e){void 0===t&&(t=null),void 0===e&&(e={}),this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1},e.prototype._updateValue=function(){},e.prototype._anyControls=function(t){return!1},e.prototype._allControlsDisabled=function(){return this.disabled},e.prototype.registerOnChange=function(t){this._onChange.push(t)},e.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},e.prototype.registerOnDisabledChange=function(t){this._onDisabledChange.push(t)},e.prototype._forEachChild=function(t){},e.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))},e.prototype._applyFormState=function(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t},e}($t),Kt=function(t){function e(e,n,r){var i=t.call(this,Ut(n),Gt(r,n))||this;return i.controls=e,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return Object(U.__extends)(e,t),e.prototype.registerControl=function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)},e.prototype.addControl=function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeControl=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.contains=function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled},e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),Object.keys(t).forEach(function(r){n._throwIfControlMissing(r),n.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),Object.keys(t).forEach(function(r){n.controls[r]&&n.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this._reduceChildren({},function(t,e,n){return t[n]=e instanceof Yt?e.value:e.getRawValue(),t})},e.prototype._syncPendingControls=function(){var t=this._reduceChildren(!1,function(t,e){return!!e._syncPendingControls()||t});return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){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[t])throw new Error("Cannot find form control with name: "+t+".")},e.prototype._forEachChild=function(t){var e=this;Object.keys(this.controls).forEach(function(n){return t(e.controls[n],n)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)})},e.prototype._updateValue=function(){this.value=this._reduceValue()},e.prototype._anyControls=function(t){var e=this,n=!1;return this._forEachChild(function(r,i){n=n||e.contains(i)&&t(r)}),n},e.prototype._reduceValue=function(){var t=this;return this._reduceChildren({},function(e,n,r){return(n.enabled||t.disabled)&&(e[r]=n.value),e})},e.prototype._reduceChildren=function(t,e){var n=t;return this._forEachChild(function(t,r){n=e(n,t,r)}),n},e.prototype._allControlsDisabled=function(){for(var t=0,e=Object.keys(this.controls);t0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},e}($t),Zt=function(t){function e(e,n,r){var i=t.call(this,Ut(n),Gt(r,n))||this;return i.controls=e,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return Object(U.__extends)(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach(function(t,r){n._throwIfControlMissing(r),n.at(r).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach(function(t,r){n.at(r)&&n.at(r).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof Yt?t.value:t.getRawValue()})},e.prototype._syncPendingControls=function(){var t=this.controls.reduce(function(t,e){return!!e._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){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(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach(function(e,n){t(e,n)})},e.prototype._updateValue=function(){var t=this;this.value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})},e.prototype._anyControls=function(t){return this.controls.some(function(e){return e.enabled&&t(e)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")})},e.prototype._allControlsDisabled=function(){for(var t=0,e=this.controls;t0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}($t),Xt='\n
\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',Qt='\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',Jt=function(){function t(){}return t.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+Xt)},t.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+Qt+'\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n \n
\n
\n \n
\n
')},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+Xt)},t.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+Qt)},t.arrayParentException=function(){throw new Error('formArrayName must be used with a parent formGroup directive. You\'ll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n \n
\n
\n
\n \n
\n
\n
\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });')},t.disabledAttrWarning=function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")},t}(),te=function(t){function e(e,n){var i=t.call(this)||this;return i._validators=e,i._asyncValidators=n,i.submitted=!1,i.directives=[],i.form=null,i.ngSubmit=new r.EventEmitter,i}return Object(U.__extends)(e,t),e.prototype.ngOnChanges=function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this.form.get(t.path);return Rt(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e,n;(n=(e=this.directives).indexOf(t))>-1&&e.splice(n,1)},e.prototype.addFormGroup=function(t){var e=this.form.get(t.path);At(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(t){},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.addFormArray=function(t){var e=this.form.get(t.path);At(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(t){},e.prototype.getFormArray=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){this.form.get(t.path).setValue(e)},e.prototype.onSubmit=function(t){return this.submitted=!0,e=this.directives,this.form._syncPendingControls(),e.forEach(function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)}),this.ngSubmit.emit(t),!1;var e},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._updateDomValue=function(){var t=this;this.directives.forEach(function(e){var n=t.form.get(e.path);e.control!==n&&(function(t,e){e.valueAccessor.registerOnChange(function(){return jt(e)}),e.valueAccessor.registerOnTouched(function(){return jt(e)}),e._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}(e.control,e),n&&Rt(n,e),e.control=n)}),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange(function(){return t._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},e.prototype._updateValidators=function(){var t=Vt(this._validators);this.form.validator=ut.compose([this.form.validator,t]);var e=Ft(this._asyncValidators);this.form.asyncValidator=ut.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||Jt.missingFormException()},e}(ot),ee=function(t){function e(e,n,r){var i=t.call(this)||this;return i._parent=e,i._validators=n,i._asyncValidators=r,i}return Object(U.__extends)(e,t),e.prototype._checkParentType=function(){re(this._parent)&&Jt.groupParentException()},e}(Bt),ne=function(t){function e(e,n,r){var i=t.call(this)||this;return i._parent=e,i._validators=n,i._asyncValidators=r,i}return Object(U.__extends)(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return It(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return Vt(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Ft(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){re(this._parent)&&Jt.arrayParentException()},e}(ot);function re(t){return!(t instanceof ee||t instanceof te||t instanceof ne)}var ie,oe,se=function(t){function e(e,n,i,o){var s=t.call(this)||this;return s._added=!1,s.update=new r.EventEmitter,s._parent=e,s._rawValidators=n||[],s._rawAsyncValidators=i||[],s.valueAccessor=function(t,e){if(!e)return null;var n=void 0,r=void 0,i=void 0;return e.forEach(function(e){var o;e.constructor===mt?n=e:(o=e,Lt.some(function(t){return o.constructor===t})?(r&&Nt(t,"More than one built-in value accessor matches form control with"),r=e):(i&&Nt(t,"More than one custom value accessor matches form control with"),i=e))}),i||r||n||(Nt(t,"No valid value accessor for form control with"),null)}(s,o),s}return Object(U.__extends)(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){Jt.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._added||this._setUpControl(),function(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Object(r["\u0275looseIdentical"])(e,n.currentValue)}(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},Object.defineProperty(e.prototype,"path",{get:function(){return It(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return Vt(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Ft(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){!(this._parent instanceof ee)&&this._parent instanceof Bt?Jt.ngModelGroupException():this._parent instanceof ee||this._parent instanceof te||this._parent instanceof ne||Jt.controlParentException()},e.prototype._setUpControl=function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},e}(wt),ae=function(){function t(){}return Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this.required?ut.required(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t}(),le=function(){function t(){}return t.prototype.group=function(t,e){void 0===e&&(e=null);var n=this._reduceControls(t);return new Kt(n,null!=e?e.validator:null,null!=e?e.asyncValidator:null)},t.prototype.control=function(t,e,n){return new Yt(t,e,n)},t.prototype.array=function(t,e,n){var r=this,i=t.map(function(t){return r._createControl(t)});return new Zt(i,e,n)},t.prototype._reduceControls=function(t){var e=this,n={};return Object.keys(t).forEach(function(r){n[r]=e._createControl(t[r])}),n},t.prototype._createControl=function(t){return t instanceof Yt||t instanceof Kt||t instanceof Zt?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)},t}(),ue=function(){},ce=function(){},de=function(){},pe=function(){},he=function(){function t(t,e,n){this.year=t,this.month=e,this.day=n}return t.from=function(e){return e?new t(e.year,e.month,e.day?e.day:1):null},t.prototype.equals=function(t){return t&&this.year===t.year&&this.month===t.month&&this.day===t.day},t.prototype.before=function(t){return!!t&&(this.year===t.year?this.month===t.month?this.day!==t.day&&this.dayt.day:this.month>t.month:this.year>t.year)},t.prototype.toStruct=function(){return{year:this.year,month:this.month,day:this.day}},t.prototype.toString=function(){return this.year+"-"+this.month+"-"+this.day},t}(),fe=this&&this.__extends||(ie=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}ie(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),ge=["Mo","Tu","We","Th","Fr","Sa","Su"],me=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ye=["January","February","March","April","May","June","July","August","September","October","November","December"],ve=function(){},be=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return fe(e,t),e.prototype.getWeekdayShortName=function(t){return ge[t-1]},e.prototype.getMonthShortName=function(t){return me[t-1]},e.prototype.getMonthFullName=function(t){return ye[t-1]},e}(ve),_e=function(){function t(t){this.i18n=t,this.select=new r.EventEmitter}return t.prototype.changeMonth=function(t){this.select.emit(new he(this.date.year,C(t),1))},t.prototype.changeYear=function(t){this.select.emit(new he(C(t),this.date.month,1))},t}(),we=r["\u0275crt"]({encapsulation:0,styles:["[_nghost-%COMP%] > select[_ngcontent-%COMP%] {\n \n padding: 0.25rem 0.5rem;\n font-size: 0.875rem;\n line-height: 1.25;\n \n height: inherit;\n width: 50%;\n display: inline-block;\n }"],data:{}});function Ce(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,3,"option",[],null,null,null,null,null)),r["\u0275did"](1,147456,null,0,Pt,[r.ElementRef,r.Renderer2,[8,null]],{value:[0,"value"]},null),r["\u0275did"](2,147456,null,0,Dt,[r.ElementRef,r.Renderer2,[8,null]],{value:[0,"value"]},null),(t()(),r["\u0275ted"](3,null,["",""]))],function(t,e){t(e,1,0,e.context.$implicit),t(e,2,0,e.context.$implicit)},function(t,e){t(e,3,0,e.component.i18n.getMonthShortName(e.context.$implicit))})}function xe(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,3,"option",[],null,null,null,null,null)),r["\u0275did"](1,147456,null,0,Pt,[r.ElementRef,r.Renderer2,[8,null]],{value:[0,"value"]},null),r["\u0275did"](2,147456,null,0,Dt,[r.ElementRef,r.Renderer2,[8,null]],{value:[0,"value"]},null),(t()(),r["\u0275ted"](3,null,["",""]))],function(t,e){t(e,1,0,e.context.$implicit),t(e,2,0,e.context.$implicit)},function(t,e){t(e,3,0,e.context.$implicit)})}function Oe(t){return r["\u0275vid"](2,[(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](1,0,null,null,4,"select",[["class","custom-select"],["tabindex","-1"]],[[8,"disabled",0],[8,"value",0]],[[null,"change"]],function(t,e,n){var r=!0;return"change"===e&&(r=!1!==t.component.changeMonth(n.target.value)&&r),r},null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,Ce)),r["\u0275did"](4,802816,null,0,s.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](6,0,null,null,4,"select",[["class","custom-select"],["tabindex","-1"]],[[8,"disabled",0],[8,"value",0]],[[null,"change"]],function(t,e,n){var r=!0;return"change"===e&&(r=!1!==t.component.changeYear(n.target.value)&&r),r},null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,xe)),r["\u0275did"](9,802816,null,0,s.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){var n=e.component;t(e,4,0,n.months),t(e,9,0,n.years)},function(t,e){var n=e.component;t(e,1,0,n.disabled,null==n.date?null:n.date.month),t(e,6,0,n.disabled,null==n.date?null:n.date.year)})}!function(t){t[t.PREV=0]="PREV",t[t.NEXT=1]="NEXT"}(oe||(oe={}));var Se=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function Ee(t){return new he(t.getFullYear(),t.getMonth()+1,t.getDate())}function Pe(t){var e=new Date(t.year,t.month-1,t.day,12);return isNaN(e.getTime())||e.setFullYear(t.year),e}var Te=function(){},ke=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Se(e,t),e.prototype.getDaysPerWeek=function(){return 7},e.prototype.getMonths=function(){return[1,2,3,4,5,6,7,8,9,10,11,12]},e.prototype.getWeeksPerMonth=function(){return 6},e.prototype.getNext=function(t,e,n){void 0===e&&(e="d"),void 0===n&&(n=1);var r=Pe(t);switch(e){case"y":return new he(t.year+n,1,1);case"m":r=new Date(t.year,t.month+n-1,1,12);break;case"d":r.setDate(r.getDate()+n);break;default:return t}return Ee(r)},e.prototype.getPrev=function(t,e,n){return void 0===e&&(e="d"),void 0===n&&(n=1),this.getNext(t,e,-n)},e.prototype.getWeekday=function(t){var e=Pe(t).getDay();return 0===e?7:e},e.prototype.getWeekNumber=function(t,e){7===e&&(e=0);var n=Pe(t[(11-e)%7]);n.setDate(n.getDate()+4-(n.getDay()||7));var r=n.getTime();return n.setMonth(0),n.setDate(1),Math.floor(Math.round((r-n.getTime())/864e5)/7)+1},e.prototype.getToday=function(){return Ee(new Date)},e.prototype.isValid=function(t){if(!(t&&S(t.year)&&S(t.month)&&S(t.day)))return!1;var e=Pe(t);return!isNaN(e.getTime())&&e.getFullYear()===t.year&&e.getMonth()+1===t.month&&e.getDate()===t.day},e}(Te),De=function(){function t(t,e){this.i18n=t,this._calendar=e,this.navigation=oe,this.months=[],this.navigate=new r.EventEmitter,this.select=new r.EventEmitter}return t.prototype.doNavigate=function(t){this.navigate.emit(t)},t.prototype.nextDisabled=function(){return this.disabled||this.maxDate&&this._calendar.getNext(this.date,"m").after(this.maxDate)},t.prototype.prevDisabled=function(){var t=this._calendar.getPrev(this.date,"m");return this.disabled||this.minDate&&(t.year===this.minDate.year&&t.month0),t(e,8,0,e.context.index!==n.months.length-1)},function(t,e){t(e,5,0,e.component.i18n.getMonthFullName(e.context.$implicit.number),e.context.$implicit.year)})}function Ne(t){return r["\u0275vid"](0,[(t()(),r["\u0275and"](16777216,null,null,1,null,je)),r["\u0275did"](1,802816,null,0,s.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),r["\u0275and"](0,null,null,0))],function(t,e){t(e,1,0,e.component.months)},null)}function Ve(t){return r["\u0275vid"](2,[(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](1,0,null,null,6,"div",[["class","ngb-dp-arrow"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](3,0,null,null,3,"button",[["class","btn btn-link ngb-dp-arrow-btn"],["tabindex","-1"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0,i=t.component;return"click"===e&&(r=0!=!!i.doNavigate(i.navigation.PREV)&&r),r},null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](5,0,null,null,0,"span",[["class","ngb-dp-navigation-chevron"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,Re)),r["\u0275did"](10,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,Ne)),r["\u0275did"](13,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](15,0,null,null,6,"div",[["class","ngb-dp-arrow right"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](17,0,null,null,3,"button",[["class","btn btn-link ngb-dp-arrow-btn"],["tabindex","-1"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0,i=t.component;return"click"===e&&(r=0!=!!i.doNavigate(i.navigation.NEXT)&&r),r},null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](19,0,null,null,0,"span",[["class","ngb-dp-navigation-chevron"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){var n=e.component;t(e,10,0,n.showSelect),t(e,13,0,!n.showSelect)},function(t,e){var n=e.component;t(e,3,0,n.prevDisabled()),t(e,17,0,n.nextDisabled())})}var Fe=function(){function t(t){this.i18n=t,this.select=new r.EventEmitter}return t.prototype.doSelect=function(t){t.context.disabled||this.isHidden(t)||this.select.emit(he.from(t.date))},t.prototype.isCollapsed=function(t){return"collapsed"===this.outsideDays&&t.days[0].date.month!==this.month.number&&t.days[t.days.length-1].date.month!==this.month.number},t.prototype.isHidden=function(t){return("hidden"===this.outsideDays||"collapsed"===this.outsideDays)&&this.month.number!==t.date.month},t}(),Le=r["\u0275crt"]({encapsulation:0,styles:[".ngb-dp-weekday[_ngcontent-%COMP%], .ngb-dp-week-number[_ngcontent-%COMP%] {\n line-height: 2rem;\n }\n .ngb-dp-weekday[_ngcontent-%COMP%] {\n color: #5bc0de;\n }\n .ngb-dp-week[_ngcontent-%COMP%] {\n border-radius: 0.25rem;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n }\n .ngb-dp-weekdays[_ngcontent-%COMP%] {\n border-bottom: 1px solid rgba(0, 0, 0, 0.125);\n border-radius: 0rem;\n }\n .ngb-dp-day[_ngcontent-%COMP%], .ngb-dp-weekday[_ngcontent-%COMP%], .ngb-dp-week-number[_ngcontent-%COMP%] {\n width: 2rem;\n height: 2rem;\n }\n .ngb-dp-day[_ngcontent-%COMP%] {\n cursor: pointer;\n }\n .ngb-dp-day.disabled[_ngcontent-%COMP%], .ngb-dp-day.hidden[_ngcontent-%COMP%] {\n cursor: default;\n }"],data:{}});function Be(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,0,"div",[["class","ngb-dp-weekday ngb-dp-showweek"]],null,null,null,null,null))],null,null)}function He(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"div",[["class","ngb-dp-weekday small text-center font-italic"]],null,null,null,null,null)),(t()(),r["\u0275ted"](1,null,["\n ","\n "]))],null,function(t,e){t(e,1,0,e.component.i18n.getWeekdayShortName(e.context.$implicit))})}function ze(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,7,"div",[["class","ngb-dp-week ngb-dp-weekdays bg-light"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,Be)),r["\u0275did"](3,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,He)),r["\u0275did"](6,802816,null,0,s.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){var n=e.component;t(e,3,0,n.showWeekNumbers),t(e,6,0,n.month.weekdays)},null)}function We(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"div",[["class","ngb-dp-week-number small text-center font-italic text-muted"]],null,null,null,null,null)),(t()(),r["\u0275ted"](1,null,["",""]))],null,function(t,e){t(e,1,0,e.parent.parent.context.$implicit.number)})}function Ue(t){return r["\u0275vid"](0,[(t()(),r["\u0275and"](0,null,null,0))],null,null)}function Ge(t){return r["\u0275vid"](0,[(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,Ue)),r["\u0275did"](2,540672,null,0,s.NgTemplateOutlet,[r.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){t(e,2,0,e.parent.context.$implicit.context,e.component.dayTemplate)},null)}function qe(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,4,"div",[["class","ngb-dp-day"]],[[2,"disabled",null],[2,"hidden",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.doSelect(t.context.$implicit)&&r),r},null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,Ge)),r["\u0275did"](3,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){t(e,3,0,!e.component.isHidden(e.context.$implicit))},function(t,e){t(e,0,0,e.context.$implicit.context.disabled,e.component.isHidden(e.context.$implicit))})}function $e(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,7,"div",[["class","ngb-dp-week"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,We)),r["\u0275did"](3,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,qe)),r["\u0275did"](6,802816,null,0,s.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){t(e,3,0,e.component.showWeekNumbers),t(e,6,0,e.parent.context.$implicit.days)},null)}function Ye(t){return r["\u0275vid"](0,[(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,$e)),r["\u0275did"](2,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){t(e,2,0,!e.component.isCollapsed(e.context.$implicit))},null)}function Ke(t){return r["\u0275vid"](0,[(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,ze)),r["\u0275did"](2,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,Ye)),r["\u0275did"](5,802816,null,0,s.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){var n=e.component;t(e,2,0,n.showWeekdays),t(e,5,0,n.month.weeks)},null)}var Ze=n("g5jc");function Xe(t,e){return!function(t,e){return!t&&!e||!!t&&!!e&&t.equals(e)}(t,e)}function Qe(t,e,n){return t&&e&&t.before(e)?he.from(e):t&&n&&t.after(n)?he.from(n):t}function Je(t,e,n,r,i){return!(!E(t)||r||i&&i(t,{year:t.year,month:t.month})||e&&t.before(e)||n&&t.after(n))}var tn=n("w9is");function en(t,e){return Object(tn.a)(t,e)(this)}var nn,rn=function(){function t(t){this._calendar=t,this._model$=new Ze.Subject,this._select$=new Ze.Subject,this._state={disabled:!1,displayMonths:1,firstDayOfWeek:1,focusVisible:!1,months:[],navigation:"select",selectBoxes:{years:[],months:[]},selectedDate:null}}return Object.defineProperty(t.prototype,"model$",{get:function(){return en.call(this._model$.asObservable(),function(t){return t.months.length>0})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"select$",{get:function(){return en.call(this._select$.asObservable(),function(t){return null!==t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{set:function(t){this._state.disabled!==t&&this._nextState({disabled:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"displayMonths",{set:function(t){S(t)&&t>0&&this._state.displayMonths!==t&&this._nextState({displayMonths:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstDayOfWeek",{set:function(t){S(t)&&t>=0&&this._state.firstDayOfWeek!==t&&this._nextState({firstDayOfWeek:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focusVisible",{set:function(t){this._state.focusVisible===t||this._state.disabled||this._nextState({focusVisible:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxDate",{set:function(t){(void 0===t||this._calendar.isValid(t)&&Xe(this._state.maxDate,t))&&this._nextState({maxDate:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"markDisabled",{set:function(t){this._state.markDisabled!==t&&this._nextState({markDisabled:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minDate",{set:function(t){(void 0===t||this._calendar.isValid(t)&&Xe(this._state.minDate,t))&&this._nextState({minDate:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"navigation",{set:function(t){this._state.navigation!==t&&this._nextState({navigation:t})},enumerable:!0,configurable:!0}),t.prototype.focus=function(t){!this._state.disabled&&this._calendar.isValid(t)&&Xe(this._state.focusDate,t)&&this._nextState({focusDate:t})},t.prototype.focusMove=function(t,e){this.focus(this._calendar.getNext(this._state.focusDate,t,e))},t.prototype.focusSelect=function(){Je(this._state.focusDate,this._state.minDate,this._state.maxDate,this._state.disabled,this._state.markDisabled)&&this.select(this._state.focusDate,{emitEvent:!0})},t.prototype.open=function(t){!this._state.disabled&&this._calendar.isValid(t)&&this._nextState({firstDate:t})},t.prototype.select=function(t,e){void 0===e&&(e={});var n=this.toValidDate(t,null);this._state.disabled||(Xe(this._state.selectedDate,n)&&this._nextState({selectedDate:n}),e.emitEvent&&Je(n,this._state.minDate,this._state.maxDate,this._state.disabled,this._state.markDisabled)&&this._select$.next(n))},t.prototype.toValidDate=function(t,e){var n=he.from(t);return void 0===e&&(e=this._calendar.getToday()),this._calendar.isValid(n)?n:e},t.prototype._nextState=function(t){var e=this._updateState(t);this._patchContexts(e),this._state=e,this._model$.next(this._state)},t.prototype._patchContexts=function(t){t.months.forEach(function(e){e.weeks.forEach(function(e){e.days.forEach(function(e){t.focusDate&&(e.context.focused=t.focusDate.equals(e.date)&&t.focusVisible),!0===t.disabled&&(e.context.disabled=!0),void 0!==t.selectedDate&&(e.context.selected=null!==t.selectedDate&&t.selectedDate.equals(e.date))})})})},t.prototype._updateState=function(t){var e,n,r=Object.assign({},this._state,t),i=r.firstDate;if(("minDate"in t||"maxDate"in t)&&(function(t,e){if(e&&t&&e.before(t))throw new Error("'maxDate' "+e+" should be greater than 'minDate' "+t)}(r.minDate,r.maxDate),r.focusDate=Qe(r.focusDate,r.minDate,r.maxDate),r.firstDate=Qe(r.firstDate,r.minDate,r.maxDate),i=r.focusDate),"disabled"in t&&(r.focusVisible=!1),"selectedDate"in t&&0===this._state.months.length&&(i=r.selectedDate),"focusDate"in t&&(r.focusDate=Qe(r.focusDate,r.minDate,r.maxDate),i=r.focusDate,0!==r.months.length&&!r.focusDate.before(r.firstDate)&&!r.focusDate.after(r.lastDate)))return r;if("firstDate"in t&&(r.firstDate=Qe(r.firstDate,r.minDate,r.maxDate),i=r.firstDate),i){var o=function(t,e,n,r,i,o,s,a,l){for(var u=[],c=function(o){var c=t.getNext(n,"m",o),d=e.findIndex(function(t){return t.firstDate.equals(c)});u.push(l||-1===d?function(t,e,n,r,i,o){var s={firstDate:null,lastDate:null,number:e.month,year:e.year,weeks:[],weekdays:[]};e=function(t,e,n){for(var r=e.month,i=new he(e.year,e.month,e.day),o=t.getPrev(i);!(i.month!==r&&n===t.getWeekday(i)||i.month!==o.month&&n===t.getWeekday(i));)i=new he(o.year,o.month,o.day),o=t.getPrev(o);return i}(t,e,i);for(var a=0;a0?o[0].firstDate:void 0,r.lastDate=o.length>0?o[o.length-1].lastDate:void 0,"selectedDate"in t&&null!==r.selectedDate&&(Je(r.selectedDate,r.minDate,r.maxDate,r.disabled,r.markDisabled)||(r.selectedDate=null)),"firstDate"in t&&(void 0===r.focusDate||r.focusDate.before(r.firstDate)||r.focusDate.after(r.lastDate))&&(r.focusDate=i),"select"===r.navigation?(("minDate"in t||"maxDate"in t||0===r.selectBoxes.years.length)&&(r.selectBoxes.years=(n=r.maxDate,(e=r.minDate)&&n?Array.from({length:n.year-e.year+1},function(t,n){return e.year+n}):[])),("minDate"in t||"maxDate"in t||0===r.selectBoxes.months.length||this._state.firstDate.year!==r.firstDate.year)&&(r.selectBoxes.months=function(t,e,n,r){if(!e||!n||!r)return[];var i=t.getMonths();if(e.year===n.year){var o=i.findIndex(function(t){return t===n.month});i=i.slice(o)}return e.year===r.year&&(o=i.findIndex(function(t){return t===r.month}),i=i.slice(0,o+1)),i}(this._calendar,r.focusDate,r.minDate,r.maxDate))):r.selectBoxes={years:[],months:[]}}return r},t}();!function(t){t[t.Enter=13]="Enter",t[t.Space=32]="Space",t[t.PageUp=33]="PageUp",t[t.PageDown=34]="PageDown",t[t.End=35]="End",t[t.Home=36]="Home",t[t.ArrowLeft=37]="ArrowLeft",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowRight=39]="ArrowRight",t[t.ArrowDown=40]="ArrowDown"}(nn||(nn={}));var on=function(){function t(t,e){var n=this;this._service=t,this._calendar=e,t.model$.subscribe(function(t){n._minDate=t.minDate,n._maxDate=t.maxDate,n._firstViewDate=t.firstDate,n._lastViewDate=t.lastDate})}return t.prototype.processKey=function(t){if(nn[x(t.which)]){switch(t.which){case nn.PageUp:this._service.focusMove(t.shiftKey?"y":"m",-1);break;case nn.PageDown:this._service.focusMove(t.shiftKey?"y":"m",1);break;case nn.End:this._service.focus(t.shiftKey?this._maxDate:this._lastViewDate);break;case nn.Home:this._service.focus(t.shiftKey?this._minDate:this._firstViewDate);break;case nn.ArrowLeft:this._service.focusMove("d",-1);break;case nn.ArrowUp:this._service.focusMove("d",-this._calendar.getDaysPerWeek());break;case nn.ArrowRight:this._service.focusMove("d",1);break;case nn.ArrowDown:this._service.focusMove("d",this._calendar.getDaysPerWeek());break;case nn.Enter:case nn.Space:this._service.focusSelect();break;default:return}t.preventDefault(),t.stopPropagation()}},t}(),sn=function(){this.displayMonths=1,this.firstDayOfWeek=1,this.navigation="select",this.outsideDays="visible",this.showWeekdays=!0,this.showWeekNumbers=!1},an=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ln=function(){},un=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return an(e,t),e.prototype.fromModel=function(t){return t&&t.year&&t.month&&t.day?{year:t.year,month:t.month,day:t.day}:null},e.prototype.toModel=function(t){return t&&t.year&&t.month&&t.day?{year:t.year,month:t.month,day:t.day}:null},e}(ln),cn=(Object(r.forwardRef)(function(){return cn}),function(){function t(t,e,n,i,o,s,a,l){var u=this;this._keyMapService=t,this._service=e,this._calendar=n,this.i18n=i,this._cd=s,this._elementRef=a,this._ngbDateAdapter=l,this.navigate=new r.EventEmitter,this.select=new r.EventEmitter,this.onChange=function(t){},this.onTouched=function(){},this.dayTemplate=o.dayTemplate,this.displayMonths=o.displayMonths,this.firstDayOfWeek=o.firstDayOfWeek,this.markDisabled=o.markDisabled,this.minDate=o.minDate,this.maxDate=o.maxDate,this.navigation=o.navigation,this.outsideDays=o.outsideDays,this.showWeekdays=o.showWeekdays,this.showWeekNumbers=o.showWeekNumbers,this.startDate=o.startDate,this._selectSubscription=e.select$.subscribe(function(t){u.select.emit(t.toStruct())}),this._subscription=e.model$.subscribe(function(t){var e=t.firstDate,n=u.model?u.model.firstDate:null,r=t.selectedDate,i=u.model?u.model.selectedDate:null;u.model=t,Xe(r,i)&&(u.onTouched(),u.onChange(u._ngbDateAdapter.toModel(r))),e.equals(n)||u.navigate.emit({current:n?{year:n.year,month:n.month}:null,next:{year:e.year,month:e.month}}),s.markForCheck()})}return t.prototype.focus=function(){this._elementRef.nativeElement.focus()},t.prototype.navigateTo=function(t){this._service.open(t?new he(t.year,t.month,1):this._calendar.getToday())},t.prototype.ngOnDestroy=function(){this._subscription.unsubscribe(),this._selectSubscription.unsubscribe()},t.prototype.ngOnInit=function(){void 0===this.model&&(this._service.displayMonths=C(this.displayMonths),this._service.markDisabled=this.markDisabled,this._service.firstDayOfWeek=this.firstDayOfWeek,this._service.navigation=this.navigation,this._setDates())},t.prototype.ngOnChanges=function(t){t.displayMonths&&(this._service.displayMonths=C(this.displayMonths)),t.markDisabled&&(this._service.markDisabled=this.markDisabled),t.firstDayOfWeek&&(this._service.firstDayOfWeek=this.firstDayOfWeek),t.navigation&&(this._service.navigation=this.navigation),this._setDates()},t.prototype.onDateSelect=function(t){this._service.focus(t),this._service.select(t,{emitEvent:!0})},t.prototype.onKeyDown=function(t){this._keyMapService.processKey(t)},t.prototype.onNavigateDateSelect=function(t){this._service.open(t)},t.prototype.onNavigateEvent=function(t){switch(t){case oe.PREV:this._service.open(this._calendar.getPrev(this.model.firstDate,"m",1));break;case oe.NEXT:this._service.open(this._calendar.getNext(this.model.firstDate,"m",1))}},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._service.disabled=t},t.prototype.showFocus=function(t){this._service.focusVisible=t},t.prototype.writeValue=function(t){this._service.select(he.from(this._ngbDateAdapter.fromModel(t)))},t.prototype._setDates=function(){var t=this._service.toValidDate(this.startDate,this._calendar.getToday()),e=this._service.toValidDate(this.minDate,this._calendar.getPrev(t,"y",10)),n=this._service.toValidDate(this.maxDate,this._calendar.getPrev(this._calendar.getNext(t,"y",11)));this.minDate={year:e.year,month:e.month,day:e.day},this.maxDate={year:n.year,month:n.month,day:n.day},this._service.minDate=e,this._service.maxDate=n,this.navigateTo(t)},t}()),dn=r["\u0275crt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n border: 1px solid rgba(0, 0, 0, 0.125);\n border-radius: 0.25rem;\n display: inline-block;\n }\n .ngb-dp-month[_ngcontent-%COMP%] {\n pointer-events: none;\n }\n .ngb-dp-header[_ngcontent-%COMP%] {\n border-bottom: 0px;\n border-radius: .25rem 0.25rem 0rem 0rem;\n padding-top: 0.25rem;\n }\n ngb-datepicker-month-view[_ngcontent-%COMP%] {\n pointer-events: auto;\n }\n .ngb-dp-month-name[_ngcontent-%COMP%] {\n font-size: larger;\n height: 2rem;\n line-height: 2rem;\n text-align: center;\n }\n .ngb-dp-month + .ngb-dp-month > ngb-datepicker-month-view > .ngb-dp-week {\n padding-left: 1rem;\n }\n .ngb-dp-month + .ngb-dp-month > .ngb-dp-month-name {\n padding-left: 1rem;\n }\n .ngb-dp-month:last-child .ngb-dp-week {\n padding-right: .25rem;\n }\n .ngb-dp-month:first-child .ngb-dp-week {\n padding-left: .25rem;\n }\n .ngb-dp-month > ngb-datepicker-month-view > .ngb-dp-week:last-child {\n padding-bottom: .25rem;\n }\n .ngb-dp-months[_ngcontent-%COMP%] {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n }"],data:{}});function pn(t){return r["\u0275vid"](0,[(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](1,0,null,null,2,"div",[["class","btn-light"],["ngbDatepickerDayView",""]],[[2,"bg-primary",null],[2,"text-white",null],[2,"text-muted",null],[2,"outside",null],[2,"active",null]],null,null,W,z)),r["\u0275did"](2,49152,null,0,H,[],{currentMonth:[0,"currentMonth"],date:[1,"date"],disabled:[2,"disabled"],focused:[3,"focused"],selected:[4,"selected"]},null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){t(e,2,0,e.context.currentMonth,e.context.date,e.context.disabled,e.context.focused,e.context.selected)},function(t,e){t(e,1,0,r["\u0275nov"](e,2).selected,r["\u0275nov"](e,2).selected,r["\u0275nov"](e,2).isMuted(),r["\u0275nov"](e,2).isMuted(),r["\u0275nov"](e,2).focused)})}function hn(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,2,"ngb-datepicker-navigation",[],null,[[null,"navigate"],[null,"select"]],function(t,e,n){var r=!0,i=t.component;return"navigate"===e&&(r=!1!==i.onNavigateEvent(n)&&r),"select"===e&&(r=!1!==i.onNavigateDateSelect(n)&&r),r},Ve,Ie)),r["\u0275did"](1,49152,null,0,De,[ve,Te],{date:[0,"date"],disabled:[1,"disabled"],maxDate:[2,"maxDate"],minDate:[3,"minDate"],months:[4,"months"],showSelect:[5,"showSelect"],selectBoxes:[6,"selectBoxes"],showWeekNumbers:[7,"showWeekNumbers"]},{navigate:"navigate",select:"select"}),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){var n=e.component;t(e,1,0,n.model.firstDate,n.model.disabled,n.model.maxDate,n.model.minDate,n.model.months,"select"===n.model.navigation,n.model.selectBoxes,n.showWeekNumbers)},null)}function fn(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"div",[["class","ngb-dp-month-name bg-light"]],null,null,null,null,null)),(t()(),r["\u0275ted"](1,null,["\n "," ","\n "]))],null,function(t,e){t(e,1,0,e.component.i18n.getMonthFullName(e.parent.context.$implicit.number),e.parent.context.$implicit.year)})}function gn(t){return r["\u0275vid"](0,[(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](1,0,null,null,8,"div",[["class","ngb-dp-month d-block"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,fn)),r["\u0275did"](4,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](6,0,null,null,2,"ngb-datepicker-month-view",[["class","d-block"]],null,[[null,"select"]],function(t,e,n){var r=!0;return"select"===e&&(r=!1!==t.component.onDateSelect(n)&&r),r},Ke,Le)),r["\u0275did"](7,49152,null,0,Fe,[ve],{dayTemplate:[0,"dayTemplate"],month:[1,"month"],outsideDays:[2,"outsideDays"],showWeekdays:[3,"showWeekdays"],showWeekNumbers:[4,"showWeekNumbers"]},{select:"select"}),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){var n=e.component;t(e,4,0,"none"===n.navigation||n.displayMonths>1&&"select"===n.navigation),t(e,7,0,n.dayTemplate||r["\u0275nov"](e.parent,1),e.context.$implicit,1===n.displayMonths?n.outsideDays:"hidden",n.showWeekdays,n.showWeekNumbers)},null)}function mn(t){return r["\u0275vid"](2,[(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](0,[["dt",2]],null,0,null,pn)),(t()(),r["\u0275ted"](-1,null,["\n\n "])),(t()(),r["\u0275eld"](3,0,null,null,4,"div",[["class","ngb-dp-header bg-light"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,hn)),r["\u0275did"](6,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n\n "])),(t()(),r["\u0275eld"](9,0,null,null,4,"div",[["class","ngb-dp-months"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,gn)),r["\u0275did"](12,802816,null,0,s.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){var n=e.component;t(e,6,0,"none"!==n.navigation),t(e,12,0,n.model.months)},null)}var yn=r["\u0275ccf"]("ngb-datepicker",cn,function(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,4,"ngb-datepicker",[["tabindex","0"]],[[1,"tabindex",0]],[[null,"blur"],[null,"focus"],[null,"keydown"]],function(t,e,n){var i=!0;return"blur"===e&&(i=!1!==r["\u0275nov"](t,4).showFocus(!1)&&i),"focus"===e&&(i=!1!==r["\u0275nov"](t,4).showFocus(!0)&&i),"keydown"===e&&(i=!1!==r["\u0275nov"](t,4).onKeyDown(n)&&i),i},mn,dn)),r["\u0275prd"](5120,null,ht,function(t){return[t]},[cn]),r["\u0275prd"](512,null,rn,rn,[Te]),r["\u0275prd"](512,null,on,on,[rn,Te]),r["\u0275did"](4,770048,null,0,cn,[on,rn,Te,ve,sn,r.ChangeDetectorRef,r.ElementRef,ln],null,null)],function(t,e){t(e,4,0)},function(t,e){t(e,0,0,r["\u0275nov"](e,4).model.disabled?void 0:"0")})},{dayTemplate:"dayTemplate",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",markDisabled:"markDisabled",maxDate:"maxDate",minDate:"minDate",navigation:"navigation",outsideDays:"outsideDays",showWeekdays:"showWeekdays",showWeekNumbers:"showWeekNumbers",startDate:"startDate"},{navigate:"navigate",select:"select"},[]),vn=function(){},bn=r["\u0275crt"]({encapsulation:2,styles:[],data:{}});function _n(t){return r["\u0275vid"](0,[],null,null)}var wn=r["\u0275ccf"]("ngb-modal-backdrop",vn,function(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"ngb-modal-backdrop",[["class","modal-backdrop fade show"]],null,null,null,_n,bn)),r["\u0275did"](1,49152,null,0,vn,[],null,null)],null,null)},{},{},[]),Cn=function(t){return t[t.BACKDROP_CLICK=0]="BACKDROP_CLICK",t[t.ESC=1]="ESC",t}({}),xn=function(){function t(t,e,n){this._elRef=e,this._renderer=n,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new r.EventEmitter,this._document=t}return t.prototype.backdropClick=function(t){!0===this.backdrop&&this._elRef.nativeElement===t.target&&this.dismiss(Cn.BACKDROP_CLICK)},t.prototype.escKey=function(t){this.keyboard&&!t.defaultPrevented&&this.dismiss(Cn.ESC)},t.prototype.dismiss=function(t){this.dismissEvent.emit(t)},t.prototype.ngOnInit=function(){this._elWithFocus=this._document.activeElement,this._renderer.addClass(this._document.body,"modal-open")},t.prototype.ngAfterViewInit=function(){this._elRef.nativeElement.contains(document.activeElement)||this._elRef.nativeElement.focus.apply(this._elRef.nativeElement,[])},t.prototype.ngOnDestroy=function(){var t,e=this._document.body,n=this._elWithFocus;(t=n&&n.focus&&e.contains(n)?n:e).focus.apply(t,[]),this._elWithFocus=null,this._renderer.removeClass(e,"modal-open")},t}(),On=r["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Sn(t){return r["\u0275vid"](0,[(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](1,0,null,null,4,"div",[["role","document"]],[[8,"className",0]],null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](3,0,null,null,1,"div",[["class","modal-content"]],null,null,null,null,null)),r["\u0275ncd"](null,0),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "]))],null,function(t,e){var n=e.component;t(e,1,0,"modal-dialog"+(n.size?" modal-"+n.size:""))})}var En=r["\u0275ccf"]("ngb-modal-window",xn,function(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"ngb-modal-window",[["role","dialog"],["style","display: block;"],["tabindex","-1"]],[[8,"className",0]],[[null,"keyup.esc"],[null,"click"]],function(t,e,n){var i=!0;return"keyup.esc"===e&&(i=!1!==r["\u0275nov"](t,1).escKey(n)&&i),"click"===e&&(i=!1!==r["\u0275nov"](t,1).backdropClick(n)&&i),i},Sn,On)),r["\u0275did"](1,4440064,null,0,xn,[s.DOCUMENT,r.ElementRef,r.Renderer2],null,null)],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,"modal fade show"+(r["\u0275nov"](e,1).windowClass?" "+r["\u0275nov"](e,1).windowClass:""))})},{backdrop:"backdrop",keyboard:"keyboard",size:"size",windowClass:"windowClass"},{dismissEvent:"dismiss"},["*"]),Pn=function(){this.placement="top",this.triggers="click"},Tn=function(){function t(t,e){this._element=t,this._renderer=e,this.placement="top"}return t.prototype.applyPlacement=function(t){this._renderer.removeClass(this._element.nativeElement,"bs-popover-"+this.placement.toString().split("-")[0]),this._renderer.removeClass(this._element.nativeElement,"bs-popover-"+this.placement.toString()),this.placement=t,this._renderer.addClass(this._element.nativeElement,"bs-popover-"+this.placement.toString().split("-")[0]),this._renderer.addClass(this._element.nativeElement,"bs-popover-"+this.placement.toString())},t}(),kn=r["\u0275crt"]({encapsulation:0,styles:[".bs-popover-top[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bs-popover-bottom[_nghost-%COMP%] .arrow[_ngcontent-%COMP%] {\n left: 50%;\n margin-left: -5px;\n }\n\n .bs-popover-top-left[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bs-popover-bottom-left[_nghost-%COMP%] .arrow[_ngcontent-%COMP%] {\n left: 2em;\n }\n\n .bs-popover-top-right[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bs-popover-bottom-right[_nghost-%COMP%] .arrow[_ngcontent-%COMP%] {\n left: auto;\n right: 2em;\n }\n\n .bs-popover-left[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bs-popover-right[_nghost-%COMP%] .arrow[_ngcontent-%COMP%] {\n top: 50%;\n margin-top: -5px;\n }\n \n .bs-popover-left-top[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bs-popover-right-top[_nghost-%COMP%] .arrow[_ngcontent-%COMP%] {\n top: 0.7em;\n }\n\n .bs-popover-left-bottom[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bs-popover-right-bottom[_nghost-%COMP%] .arrow[_ngcontent-%COMP%] {\n top: auto;\n bottom: 0.7em;\n }"],data:{}});function Dn(t){return r["\u0275vid"](2,[(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](1,0,null,null,0,"div",[["class","arrow"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](3,0,null,null,1,"h3",[["class","popover-header"]],null,null,null,null,null)),(t()(),r["\u0275ted"](4,null,["",""])),(t()(),r["\u0275eld"](5,0,null,null,1,"div",[["class","popover-body"]],null,null,null,null,null)),r["\u0275ncd"](null,0)],null,function(t,e){t(e,4,0,e.component.title)})}var In,Rn=r["\u0275ccf"]("ngb-popover-window",Tn,function(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"ngb-popover-window",[["role","tooltip"]],[[8,"className",0],[8,"id",0]],null,null,Dn,kn)),r["\u0275did"](1,49152,null,0,Tn,[r.ElementRef,r.Renderer2],null,null)],null,function(t,e){t(e,0,0,"popover bs-popover-"+r["\u0275nov"](e,1).placement.split("-")[0]+" bs-popover-"+r["\u0275nov"](e,1).placement,r["\u0275nov"](e,1).id)})},{placement:"placement",title:"title",id:"id"},{},["*"]),Mn="undefined"!=typeof Intl&&Intl.v8BreakIterator,An=function(){return function(){this.isBrowser="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&&!Mn)&&"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)&&!window.MSStream,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}}();function jn(){if(null==In&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return In=!0}}))}finally{In=In||!1}return In}var Nn=function(){},Vn=n("YWe0"),Fn=n("hl8n"),Ln=n("6Qvr"),Bn=n("/nXB"),Hn=function(){function t(t,e){this._ngZone=t,this._platform=e,this._scrolled=new Ze.Subject,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}return t.prototype.register=function(t){var e=this,n=t.elementScrolled().subscribe(function(){return e._scrolled.next(t)});this.scrollContainers.set(t,n)},t.prototype.deregister=function(t){var e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))},t.prototype.scrolled=function(t){var e=this;return void 0===t&&(t=20),this._platform.isBrowser?G.Observable.create(function(n){e._globalSubscription||e._addGlobalListener();var r=t>0?e._scrolled.pipe(Object(Ln.a)(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){r.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}}):Object(Vn.a)()},t.prototype.ngOnDestroy=function(){var t=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(e,n){return t.deregister(n)})},t.prototype.ancestorScrolled=function(t,e){var n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Object(tn.a)(function(t){return!t||n.indexOf(t)>-1}))},t.prototype.getAncestorScrollContainers=function(t){var e=this,n=[];return this.scrollContainers.forEach(function(r,i){e._scrollableContainsElement(i,t)&&n.push(i)}),n},t.prototype._scrollableContainsElement=function(t,e){var n=e.nativeElement,r=t.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1},t.prototype._addGlobalListener=function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return Object(Fn.fromEvent)(window.document,"scroll").subscribe(function(){return t._scrolled.next()})})},t.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},t}();function zn(t,e,n){return t||new Hn(e,n)}var Wn=function(){function t(t,e){var n=this;this._platform=t,this._change=t.isBrowser?e.runOutsideAngular(function(){return Object(Bn.a)(Object(Fn.fromEvent)(window,"resize"),Object(Fn.fromEvent)(window,"orientationchange"))}):Object(Vn.a)(),this._invalidateCache=this.change().subscribe(function(){return n._updateViewportSize()})}return t.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},t.prototype.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t},t.prototype.getViewportRect=function(){var t=this.getViewportScrollPosition(),e=this.getViewportSize(),n=e.width,r=e.height;return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+n,height:r,width:n}},t.prototype.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var t=document.documentElement.getBoundingClientRect();return{top:-t.top||document.body.scrollTop||window.scrollY||document.documentElement.scrollTop||0,left:-t.left||document.body.scrollLeft||window.scrollX||document.documentElement.scrollLeft||0}},t.prototype.change=function(t){return void 0===t&&(t=20),t>0?this._change.pipe(Object(Ln.a)(t)):this._change},t.prototype._updateViewportSize=function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}},t}();function Un(t,e,n){return t||new Wn(e,n)}var Gn=function(){},qn=new r.InjectionToken("cdk-dir-doc"),$n=function(){return function(t){this.value="ltr",this.change=new r.EventEmitter,t&&(this.value=(t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null)||"ltr")}}(),Yn=function(){};function Kn(){throw Error("Host already has a portal attached")}var Zn=function(){function t(){}return t.prototype.attach=function(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&Kn(),this._attachedHost=t,t.attach(this)},t.prototype.detach=function(){var t=this._attachedHost;null==t?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,t.detach())},Object.defineProperty(t.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),t.prototype.setAttachedHost=function(t){this._attachedHost=t},t}(),Xn=function(t){function e(e,n,r){var i=t.call(this)||this;return i.component=e,i.viewContainerRef=n,i.injector=r,i}return Object(U.__extends)(e,t),e}(Zn),Qn=function(t){function e(e,n,r){var i=t.call(this)||this;return i.templateRef=e,i.viewContainerRef=n,i.context=r,i}return Object(U.__extends)(e,t),Object.defineProperty(e.prototype,"origin",{get:function(){return this.templateRef.elementRef},enumerable:!0,configurable:!0}),e.prototype.attach=function(e,n){return void 0===n&&(n=this.context),this.context=n,t.prototype.attach.call(this,e)},e.prototype.detach=function(){return this.context=void 0,t.prototype.detach.call(this)},e}(Zn),Jn=function(){function t(){this._isDisposed=!1}return t.prototype.hasAttached=function(){return!!this._attachedPortal},t.prototype.attach=function(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&Kn(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof Xn?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Qn?(this._attachedPortal=t,this.attachTemplatePortal(t)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()},t.prototype.detach=function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()},t.prototype.dispose=function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0},t.prototype.setDisposeFn=function(t){this._disposeFn=t},t.prototype._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)},t}(),tr=function(t){function e(e,n,r,i){var o=t.call(this)||this;return o.outletElement=e,o._componentFactoryResolver=n,o._appRef=r,o._defaultInjector=i,o}return Object(U.__extends)(e,t),e.prototype.attachComponentPortal=function(t){var e,n=this,r=this._componentFactoryResolver.resolveComponentFactory(t.component);return t.viewContainerRef?(e=t.viewContainerRef.createComponent(r,t.viewContainerRef.length,t.injector||t.viewContainerRef.parentInjector),this.setDisposeFn(function(){return e.destroy()})):(e=r.create(t.injector||this._defaultInjector),this._appRef.attachView(e.hostView),this.setDisposeFn(function(){n._appRef.detachView(e.hostView),e.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(e)),e},e.prototype.attachTemplatePortal=function(t){var e=this,n=t.viewContainerRef,r=n.createEmbeddedView(t.templateRef,t.context);return r.detectChanges(),r.rootNodes.forEach(function(t){return e.outletElement.appendChild(t)}),this.setDisposeFn(function(){var t=n.indexOf(r);-1!==t&&n.remove(t)}),r},e.prototype.dispose=function(){t.prototype.dispose.call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)},e.prototype._getComponentRootNode=function(t){return t.hostView.rootNodes[0]},e}(Jn),er=function(t){function e(e,n){var i=t.call(this)||this;return i._componentFactoryResolver=e,i._viewContainerRef=n,i._isInitialized=!1,i.attached=new r.EventEmitter,i}return Object(U.__extends)(e,t),Object.defineProperty(e.prototype,"_deprecatedPortal",{get:function(){return this.portal},set:function(t){this.portal=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_deprecatedPortalHost",{get:function(){return this.portal},set:function(t){this.portal=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"portal",{get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&t.prototype.detach.call(this),e&&t.prototype.attach.call(this,e),this._attachedPortal=e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"attachedRef",{get:function(){return this._attachedRef},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._isInitialized=!0},e.prototype.ngOnDestroy=function(){t.prototype.dispose.call(this),this._attachedPortal=null,this._attachedRef=null},e.prototype.attachComponentPortal=function(e){e.setAttachedHost(this);var n=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,r=this._componentFactoryResolver.resolveComponentFactory(e.component),i=n.createComponent(r,n.length,e.injector||n.parentInjector);return t.prototype.setDisposeFn.call(this,function(){return i.destroy()}),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i},e.prototype.attachTemplatePortal=function(e){var n=this;e.setAttachedHost(this);var r=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return t.prototype.setDisposeFn.call(this,function(){return n._viewContainerRef.clear()}),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r},e}(Jn),nr=function(){},rr=function(){function t(t,e){this._parentInjector=t,this._customTokens=e}return t.prototype.get=function(t,e){var n=this._customTokens.get(t);return"undefined"!=typeof n?n:this._parentInjector.get(t,e)},t}(),ir=n("9Ocp"),or=n("VwZZ");function sr(t){return null!=t&&""+t!="false"}var ar=27,lr=function(){function t(){}return t.prototype.enable=function(){},t.prototype.disable=function(){},t.prototype.attach=function(){},t}(),ur=function(){return function(t){var e=this;this.scrollStrategy=new lr,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.direction="ltr",t&&Object.keys(t).filter(function(e){return"undefined"!=typeof t[e]}).forEach(function(n){return e[n]=t[n]})}}();function cr(){return Error("Scroll strategy has already been attached.")}var dr=function(){function t(t,e,n,r){var i=this;this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=function(){i.disable(),i._overlayRef.hasAttached()&&i._ngZone.run(function(){return i._overlayRef.detach()})}}return t.prototype.attach=function(t){if(this._overlayRef)throw cr();this._overlayRef=t},t.prototype.enable=function(){var t=this;if(!this._scrollSubscription){var e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(function(){var e=t._viewportRuler.getViewportScrollPosition().top;Math.abs(e-t._initialScrollPosition)>t._config.threshold?t._detach():t._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t}(),pr=function(){function t(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}return t.prototype.attach=function(){},t.prototype.enable=function(){if(this._canBeEnabled()){var t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=-this._previousScrollPosition.left+"px",t.style.top=-this._previousScrollPosition.top+"px",t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}},t.prototype.disable=function(){if(this._isEnabled){var t=this._document.documentElement,e=this._document.body,n=t.style.scrollBehavior||"",r=e.style.scrollBehavior||"";this._isEnabled=!1,t.style.left=this._previousHTMLStyles.left,t.style.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),t.style.scrollBehavior=e.style.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),t.style.scrollBehavior=n,e.style.scrollBehavior=r}},t.prototype._canBeEnabled=function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width},t}();function hr(t,e){return e.some(function(e){return t.bottome.bottom||t.righte.right})}function fr(t,e){return e.some(function(e){return t.tope.bottom||t.lefte.right})}var gr=function(){function t(t,e,n,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=r,this._scrollSubscription=null}return t.prototype.attach=function(t){if(this._overlayRef)throw cr();this._overlayRef=t},t.prototype.enable=function(){var t=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(t._overlayRef.updatePosition(),t._config&&t._config.autoClose){var e=t._overlayRef.overlayElement.getBoundingClientRect(),n=t._viewportRuler.getViewportSize(),r=n.width,i=n.height;hr(e,[{width:r,height:i,bottom:i,right:r,top:0,left:0}])&&(t.disable(),t._ngZone.run(function(){return t._overlayRef.detach()}))}}))},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t}(),mr=function(){return function(t,e,n,r){var i=this;this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=function(){return new lr},this.close=function(t){return new dr(i._scrollDispatcher,i._ngZone,i._viewportRuler,t)},this.block=function(){return new pr(i._viewportRuler,i._document)},this.reposition=function(t){return new gr(i._scrollDispatcher,i._viewportRuler,i._ngZone,t)},this._document=r}}(),yr=function(){function t(t,e,n,r,i,o){this._portalOutlet=t,this._pane=e,this._config=n,this._ngZone=r,this._keyboardDispatcher=i,this._document=o,this._backdropElement=null,this._backdropClick=new Ze.Subject,this._attachments=new Ze.Subject,this._detachments=new Ze.Subject,this._keydownEvents=new Ze.Subject,n.scrollStrategy&&n.scrollStrategy.attach(this)}return Object.defineProperty(t.prototype,"overlayElement",{get:function(){return this._pane},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"backdropElement",{get:function(){return this._backdropElement},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){var e=this,n=this._portalOutlet.attach(t);return this._config.positionStrategy&&this._config.positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._config.scrollStrategy&&this._config.scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Object(ir.a)(1)).subscribe(function(){e.hasAttached()&&e.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&(Array.isArray(this._config.panelClass)?this._config.panelClass.forEach(function(t){return e._pane.classList.add(t)}):this._pane.classList.add(this._config.panelClass)),this._attachments.next(),this._keyboardDispatcher.add(this),n},t.prototype.detach=function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._config.positionStrategy&&this._config.positionStrategy.detach&&this._config.positionStrategy.detach(),this._config.scrollStrategy&&this._config.scrollStrategy.disable();var t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),t}},t.prototype.dispose=function(){var t=this.hasAttached();this._config.positionStrategy&&this._config.positionStrategy.dispose(),this._config.scrollStrategy&&this._config.scrollStrategy.disable(),this.detachBackdrop(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),t&&this._detachments.next(),this._detachments.complete()},t.prototype.hasAttached=function(){return this._portalOutlet.hasAttached()},t.prototype.backdropClick=function(){return this._backdropClick.asObservable()},t.prototype.attachments=function(){return this._attachments.asObservable()},t.prototype.detachments=function(){return this._detachments.asObservable()},t.prototype.keydownEvents=function(){return this._keydownEvents.asObservable()},t.prototype.getConfig=function(){return this._config},t.prototype.updatePosition=function(){this._config.positionStrategy&&this._config.positionStrategy.apply()},t.prototype.updateSize=function(t){this._config=Object(U.__assign)({},this._config,t),this._updateElementSize()},t.prototype.setDirection=function(t){this._config=Object(U.__assign)({},this._config,{direction:t}),this._updateElementDirection()},t.prototype._updateElementDirection=function(){this._pane.setAttribute("dir",this._config.direction)},t.prototype._updateElementSize=function(){(this._config.width||0===this._config.width)&&(this._pane.style.width=vr(this._config.width)),(this._config.height||0===this._config.height)&&(this._pane.style.height=vr(this._config.height)),(this._config.minWidth||0===this._config.minWidth)&&(this._pane.style.minWidth=vr(this._config.minWidth)),(this._config.minHeight||0===this._config.minHeight)&&(this._pane.style.minHeight=vr(this._config.minHeight)),(this._config.maxWidth||0===this._config.maxWidth)&&(this._pane.style.maxWidth=vr(this._config.maxWidth)),(this._config.maxHeight||0===this._config.maxHeight)&&(this._pane.style.maxHeight=vr(this._config.maxHeight))},t.prototype._togglePointerEvents=function(t){this._pane.style.pointerEvents=t?"auto":"none"},t.prototype._attachBackdrop=function(){var t=this;this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._backdropElement.classList.add(this._config.backdropClass),this._pane.parentElement.insertBefore(this._backdropElement,this._pane),this._backdropElement.addEventListener("click",function(e){return t._backdropClick.next(e)}),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){t._backdropElement&&t._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")},t.prototype._updateStackingOrder=function(){this._pane.nextSibling&&this._pane.parentNode.appendChild(this._pane)},t.prototype.detachBackdrop=function(){var t=this,e=this._backdropElement;if(e){var n=function(){e&&e.parentNode&&e.parentNode.removeChild(e),t._backdropElement==e&&(t._backdropElement=null)};e.classList.remove("cdk-overlay-backdrop-showing"),this._config.backdropClass&&e.classList.remove(this._config.backdropClass),e.addEventListener("transitionend",n),e.style.pointerEvents="none",this._ngZone.runOutsideAngular(function(){setTimeout(n,500)})}},t}();function vr(t){return"string"==typeof t?t:t+"px"}var br=function(){function t(t,e,n,r,i){this._connectedTo=n,this._viewportRuler=r,this._document=i,this._dir="ltr",this._offsetX=0,this._offsetY=0,this.scrollables=[],this._resizeSubscription=or.a.EMPTY,this._preferredPositions=[],this._applied=!1,this._positionLocked=!1,this._onPositionChange=new Ze.Subject,this._origin=this._connectedTo.nativeElement,this.withFallbackPosition(t,e)}return Object.defineProperty(t.prototype,"_isRtl",{get:function(){return"rtl"===this._dir},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onPositionChange",{get:function(){return this._onPositionChange.asObservable()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){var e=this;this._pane=t.overlayElement,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(function(){return e.apply()})},t.prototype.dispose=function(){this._applied=!1,this._resizeSubscription.unsubscribe(),this._onPositionChange.complete()},t.prototype.detach=function(){this._applied=!1,this._resizeSubscription.unsubscribe()},t.prototype.apply=function(){if(this._applied&&this._positionLocked&&this._lastConnectedPosition)this.recalculateLastPosition();else{this._applied=!0;for(var t,e,n=this._pane,r=this._origin.getBoundingClientRect(),i=n.getBoundingClientRect(),o=this._viewportRuler.getViewportSize(),s=0,a=this._preferredPositions;s-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this._unsubscribeFromKeydownEvents()},t.prototype._subscribeToKeydownEvents=function(){var t=this,e=Object(Fn.fromEvent)(this._document.body,"keydown",!0);this._keydownEventSubscription=e.pipe(Object(tn.a)(function(){return!!t._attachedOverlays.length})).subscribe(function(e){t._selectOverlayFromEvent(e)._keydownEvents.next(e)})},t.prototype._unsubscribeFromKeydownEvents=function(){this._keydownEventSubscription&&(this._keydownEventSubscription.unsubscribe(),this._keydownEventSubscription=null)},t.prototype._selectOverlayFromEvent=function(t){return this._attachedOverlays.find(function(e){return e.overlayElement===t.target||e.overlayElement.contains(t.target)})||this._attachedOverlays[this._attachedOverlays.length-1]},t}();function xr(t,e){return t||new Cr(e)}var Or=function(){function t(t){this._document=t}return t.prototype.ngOnDestroy=function(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)},t.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},t.prototype._createContainer=function(){var t=this._document.createElement("div");t.classList.add("cdk-overlay-container"),this._document.body.appendChild(t),this._containerElement=t},t}();function Sr(t,e){return t||new Or(e)}var Er=0,Pr=function(){function t(t,e,n,r,i,o,s,a,l){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=r,this._keyboardDispatcher=i,this._appRef=o,this._injector=s,this._ngZone=a,this._document=l}return t.prototype.create=function(t){var e=this._createPaneElement(),n=this._createPortalOutlet(e);return new yr(n,e,new ur(t),this._ngZone,this._keyboardDispatcher,this._document)},t.prototype.position=function(){return this._positionBuilder},t.prototype._createPaneElement=function(){var t=this._document.createElement("div");return t.id="cdk-overlay-"+Er++,t.classList.add("cdk-overlay-pane"),this._overlayContainer.getContainerElement().appendChild(t),t},t.prototype._createPortalOutlet=function(t){return new tr(t,this._componentFactoryResolver,this._appRef,this._injector)},t}(),Tr=new r.InjectionToken("cdk-connected-overlay-scroll-strategy");function kr(t){return function(){return t.scrollStrategies.reposition()}}var Dr=function(){},Ir=(n("JXyw"),n("0FoY")),Rr=function(){function t(t){this._platform=t}return t.prototype.isDisabled=function(t){return t.hasAttribute("disabled")},t.prototype.isVisible=function(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility},t.prototype.isTabbable=function(t){if(!this._platform.isBrowser)return!1;var e=function(t){try{return t.frameElement}catch(t){return null}}(t.ownerDocument.defaultView||window);if(e){var n=e&&e.nodeName.toLowerCase();if(-1===Ar(e))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===n)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(e))return!1}var r=t.nodeName.toLowerCase(),i=Ar(t);if(t.hasAttribute("contenteditable"))return-1!==i;if("iframe"===r)return!1;if("audio"===r){if(!t.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===r){if(!t.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==r||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){var e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&t.tabIndex>=0},t.prototype.isFocusable=function(t){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){var e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||Mr(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)},t}();function Mr(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;var e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function Ar(t){if(!Mr(t))return null;var e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}var jr=function(){function t(t,e,n,r,i){void 0===i&&(i=!1),this._element=t,this._checker=e,this._ngZone=n,this._document=r,this._enabled=!0,i||this.attachAnchors()}return Object.defineProperty(t.prototype,"enabled",{get:function(){return this._enabled},set:function(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._startAnchor.tabIndex=this._endAnchor.tabIndex=this._enabled?0:-1)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._startAnchor&&this._startAnchor.parentNode&&this._startAnchor.parentNode.removeChild(this._startAnchor),this._endAnchor&&this._endAnchor.parentNode&&this._endAnchor.parentNode.removeChild(this._endAnchor),this._startAnchor=this._endAnchor=null},t.prototype.attachAnchors=function(){var t=this;this._startAnchor||(this._startAnchor=this._createAnchor()),this._endAnchor||(this._endAnchor=this._createAnchor()),this._ngZone.runOutsideAngular(function(){t._startAnchor.addEventListener("focus",function(){t.focusLastTabbableElement()}),t._endAnchor.addEventListener("focus",function(){t.focusFirstTabbableElement()}),t._element.parentNode&&(t._element.parentNode.insertBefore(t._startAnchor,t._element),t._element.parentNode.insertBefore(t._endAnchor,t._element.nextSibling))})},t.prototype.focusInitialElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusInitialElement())})})},t.prototype.focusFirstTabbableElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusFirstTabbableElement())})})},t.prototype.focusLastTabbableElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusLastTabbableElement())})})},t.prototype._getRegionBoundary=function(t){for(var e=this._element.querySelectorAll("[cdk-focus-region-"+t+"], [cdkFocusRegion"+t+"], [cdk-focus-"+t+"]"),n=0;n=0;n--){var r=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(r)return r}return null},t.prototype._createAnchor=function(){var t=this._document.createElement("div");return t.tabIndex=this._enabled?0:-1,t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t},t.prototype._executeOnStable=function(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(Object(ir.a)(1)).subscribe(t)},t}(),Nr=function(){function t(t,e,n){this._checker=t,this._ngZone=e,this._document=n}return t.prototype.create=function(t,e){return void 0===e&&(e=!1),new jr(t,this._checker,this._ngZone,this._document,e)},t}(),Vr=function(){function t(t,e,n){this._elementRef=t,this._focusTrapFactory=e,this._previouslyFocusedElement=null,this._document=n,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}return Object.defineProperty(t.prototype,"enabled",{get:function(){return this.focusTrap.enabled},set:function(t){this.focusTrap.enabled=sr(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autoCapture",{get:function(){return this._autoCapture},set:function(t){this._autoCapture=sr(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)},t.prototype.ngAfterContentInit=function(){this.focusTrap.attachAnchors(),this.autoCapture&&(this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady())},t}();function Fr(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}var Lr=0,Br=new Map,Hr=null,zr=function(){function t(t){this._document=t}return t.prototype.describe=function(t,e){this._canBeDescribed(t,e)&&(Br.has(e)||this._createMessageElement(e),this._isElementDescribedByMessage(t,e)||this._addMessageReference(t,e))},t.prototype.removeDescription=function(t,e){if(this._canBeDescribed(t,e)){this._isElementDescribedByMessage(t,e)&&this._removeMessageReference(t,e);var n=Br.get(e);n&&0===n.referenceCount&&this._deleteMessageElement(e),Hr&&0===Hr.childNodes.length&&this._deleteMessagesContainer()}},t.prototype.ngOnDestroy=function(){for(var t=this._document.querySelectorAll("[cdk-describedby-host]"),e=0;e0?n:t},t}(),ei=new r.InjectionToken("mat-date-formats"),ni="undefined"!=typeof Intl,ri={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},ii=ai(31,function(t){return String(t+1)}),oi={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},si=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function ai(t,e){for(var n=Array(t),r=0;r11)throw Error('Invalid month index "'+e+'". Month index has to be between 0 and 11.');if(n<1)throw Error('Invalid date "'+n+'". Date has to be greater than 0.');var r=this._createDateWithOverflow(t,e,n);if(r.getMonth()!=e)throw Error('Invalid date "'+n+'" for month with index "'+e+'".');return r},e.prototype.today=function(){return new Date},e.prototype.parse=function(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null},e.prototype.format=function(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(ni){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object(U.__assign)({},e,{timeZone:"utc"});var n=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(n,t))}return this._stripDirectionalityCharacters(t.toDateString())},e.prototype.addCalendarYears=function(t,e){return this.addCalendarMonths(t,12*e)},e.prototype.addCalendarMonths=function(t,e){var n=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(n)!=((this.getMonth(t)+e)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n},e.prototype.addCalendarDays=function(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)},e.prototype.toIso8601=function(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")},e.prototype.deserialize=function(e){if("string"==typeof e){if(!e)return null;if(si.test(e)){var n=new Date(e);if(this.isValid(n))return n}}return t.prototype.deserialize.call(this,e)},e.prototype.isDateInstance=function(t){return t instanceof Date},e.prototype.isValid=function(t){return!isNaN(t.getTime())},e.prototype.invalid=function(){return new Date(NaN)},e.prototype._createDateWithOverflow=function(t,e,n){var r=new Date(t,e,n);return t>=0&&t<100&&r.setFullYear(this.getYear(r)-1900),r},e.prototype._2digit=function(t){return("00"+t).slice(-2)},e.prototype._stripDirectionalityCharacters=function(t){return t.replace(/[\u200e\u200f]/g,"")},e.prototype._format=function(t,e){var n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.format(n)},e}(ti),ui={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},ci=function(){},di=function(){},pi=function(){function t(){}return t.prototype.isErrorState=function(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))},t}(),hi=function(){var t={FADING_IN:0,VISIBLE:1,FADING_OUT:2,HIDDEN:3};return t[t.FADING_IN]="FADING_IN",t[t.VISIBLE]="VISIBLE",t[t.FADING_OUT]="FADING_OUT",t[t.HIDDEN]="HIDDEN",t}(),fi=function(){function t(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=hi.HIDDEN}return t.prototype.fadeOut=function(){this._renderer.fadeOutRipple(this)},t}(),gi={enterDuration:450,exitDuration:400},mi=800,yi=function(){function t(t,e,n,r){var i=this;this._target=t,this._ngZone=e,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this._eventOptions=!!jn()&&{passive:!0},this.onMousedown=function(t){var e=i._lastTouchStartEvent&&Date.now()-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(t,e){t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))},t.prototype._hideNonDialogContentFromAssistiveTechnology=function(){var t=this._overlayContainer.getContainerElement();if(t.parentElement)for(var e=t.parentElement.children,n=e.length-1;n>-1;n--){var r=e[n];r===t||"SCRIPT"===r.nodeName||"STYLE"===r.nodeName||r.hasAttribute("aria-live")||(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}},t}(),zi=function(){},Wi=r["\u0275crt"]({encapsulation:2,styles:[".mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);display:block;padding:24px;border-radius:2px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%}@media screen and (-ms-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:12px 0;display:flex;flex-wrap:wrap;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+.mat-button,.mat-dialog-actions .mat-button+.mat-raised-button,.mat-dialog-actions .mat-raised-button+.mat-button,.mat-dialog-actions .mat-raised-button+.mat-raised-button{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button+.mat-button,[dir=rtl] .mat-dialog-actions .mat-button+.mat-raised-button,[dir=rtl] .mat-dialog-actions .mat-raised-button+.mat-button,[dir=rtl] .mat-dialog-actions .mat-raised-button+.mat-raised-button{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"slideDialog",definitions:[{type:0,name:"enter",styles:{type:6,styles:{transform:"none",opacity:1},offset:null},options:void 0},{type:0,name:"void",styles:{type:6,styles:{transform:"translate3d(0, 25%, 0) scale(0.9)",opacity:0},offset:null},options:void 0},{type:0,name:"exit",styles:{type:6,styles:{transform:"translate3d(0, 25%, 0)",opacity:0},offset:null},options:void 0},{type:1,expr:"* => *",animation:{type:4,styles:null,timings:"400ms cubic-bezier(0.25, 0.8, 0.25, 1)"},options:null}],options:{}}]}});function Ui(t){return r["\u0275vid"](0,[(t()(),r["\u0275and"](0,null,null,0))],null,null)}function Gi(t){return r["\u0275vid"](0,[r["\u0275qud"](402653184,1,{_portalOutlet:0}),(t()(),r["\u0275and"](16777216,null,null,1,null,Ui)),r["\u0275did"](2,212992,[[1,4]],0,er,[r.ComponentFactoryResolver,r.ViewContainerRef],{portal:[0,"portal"]},null)],function(t,e){t(e,2,0,"")},null)}var qi=r["\u0275ccf"]("mat-dialog-container",Ai,function(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"mat-dialog-container",[["class","mat-dialog-container"],["tabindex","-1"]],[[1,"id",0],[1,"role",0],[1,"aria-labelledby",0],[1,"aria-label",0],[1,"aria-describedby",0],[40,"@slideDialog",0]],[["component","@slideDialog.start"],["component","@slideDialog.done"]],function(t,e,n){var i=!0;return"component:@slideDialog.start"===e&&(i=!1!==r["\u0275nov"](t,1)._onAnimationStart(n)&&i),"component:@slideDialog.done"===e&&(i=!1!==r["\u0275nov"](t,1)._onAnimationDone(n)&&i),i},Gi,Wi)),r["\u0275did"](1,49152,null,0,Ai,[r.ElementRef,Nr,r.ChangeDetectorRef,[2,s.DOCUMENT]],null,null)],null,function(t,e){t(e,0,0,r["\u0275nov"](e,1)._id,null==r["\u0275nov"](e,1)._config?null:r["\u0275nov"](e,1)._config.role,null!=r["\u0275nov"](e,1)._config&&r["\u0275nov"](e,1)._config.ariaLabel?null:r["\u0275nov"](e,1)._ariaLabelledBy,null==r["\u0275nov"](e,1)._config?null:r["\u0275nov"](e,1)._config.ariaLabel,(null==r["\u0275nov"](e,1)._config?null:r["\u0275nov"](e,1)._config.ariaDescribedBy)||null,r["\u0275nov"](e,1)._state)})},{},{},[]),$i="accent",Yi="primary",Ki=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],Zi=function(t){function e(e,n,r){var i=t.call(this,e)||this;i._platform=n,i._focusMonitor=r,i._isRoundButton=i._hasHostAttributes("mat-fab","mat-mini-fab"),i._isIconButton=i._hasHostAttributes("mat-icon-button");for(var o=0,s=Ki;o=0)&&(!this.maxDate||this._dateAdapter.compareDate(t,this.maxDate)<=0)},t.prototype._getDateInCurrentMonth=function(t){return t&&this._hasSameMonthAndYear(t,this.activeDate)?this._dateAdapter.getDate(t):null},t.prototype._hasSameMonthAndYear=function(t,e){return!(!t||!e||this._dateAdapter.getMonth(t)!=this._dateAdapter.getMonth(e)||this._dateAdapter.getYear(t)!=this._dateAdapter.getYear(e))},t.prototype._getValidDateOrNull=function(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null},t}(),oo=function(){function t(t,e){if(this._dateAdapter=t,this._changeDetectorRef=e,this.selectedChange=new r.EventEmitter,!this._dateAdapter)throw to("DateAdapter");this._activeDate=this._dateAdapter.today()}return Object.defineProperty(t.prototype,"activeDate",{get:function(){return this._activeDate},set:function(t){var e=this._activeDate;this._activeDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today(),Math.floor(this._dateAdapter.getYear(e)/24)!=Math.floor(this._dateAdapter.getYear(this._activeDate)/24)&&this._init()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._selectedYear=this._selected&&this._dateAdapter.getYear(this._selected)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minDate",{get:function(){return this._minDate},set:function(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxDate",{get:function(){return this._maxDate},set:function(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._init()},t.prototype._init=function(){var t=this;this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());var e=this._dateAdapter.getYear(this._activeDate),n=e%24;this._years=[];for(var r=0,i=[];r<24;r++)i.push(e-n+r),4==i.length&&(this._years.push(i.map(function(e){return t._createCellForYear(e)})),i=[]);this._changeDetectorRef.markForCheck()},t.prototype._yearSelected=function(t){var e=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,e,1));this.selectedChange.emit(this._dateAdapter.createDate(t,e,Math.min(this._dateAdapter.getDate(this.activeDate),n)))},t.prototype._getActiveCell=function(){return this._dateAdapter.getYear(this.activeDate)%24},t.prototype._createCellForYear=function(t){var e=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1));return new no(t,e,e,this._shouldEnableYear(t))},t.prototype._shouldEnableYear=function(t){if(void 0===t||null===t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&tn||t===n&&e>r}return!1},t.prototype._isYearAndMonthBeforeMinDate=function(t,e){if(this.minDate){var n=this._dateAdapter.getYear(this.minDate),r=this._dateAdapter.getMonth(this.minDate);return t*,.mat-fab .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*{vertical-align:middle}.mat-button-focus-overlay,.mat-button-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-focus-overlay{background-color:rgba(0,0,0,.12);border-radius:inherit;opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}@media screen and (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:rgba(255,255,255,.5)}}.mat-button-ripple-round{border-radius:50%;z-index:1}@media screen and (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],data:{}});function fo(t){return r["\u0275vid"](2,[r["\u0275qud"](402653184,1,{ripple:0}),(t()(),r["\u0275eld"](1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),r["\u0275ncd"](null,0),(t()(),r["\u0275eld"](3,0,null,null,1,"div",[["class","mat-button-ripple mat-ripple"],["matRipple",""]],[[2,"mat-button-ripple-round",null],[2,"mat-ripple-unbounded",null]],null,null,null,null)),r["\u0275did"](4,212992,[[1,4]],0,bi,[r.ElementRef,r.NgZone,An,[2,vi]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),r["\u0275eld"](5,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],function(t,e){var n=e.component;t(e,4,0,n._isIconButton,n._isRippleDisabled(),n._getHostElement())},function(t,e){var n=e.component;t(e,3,0,n._isRoundButton||n._isIconButton,r["\u0275nov"](e,4).unbounded)})}var go=r["\u0275crt"]({encapsulation:2,styles:[".mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:0}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-next-button,.mat-calendar-previous-button{position:relative}.mat-calendar-next-button::after,.mat-calendar-previous-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:'';margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-next-button,[dir=rtl] .mat-calendar-previous-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:'';position:absolute;top:0;left:-8px;right:-8px;height:1px}"],data:{}});function mo(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"mat-month-view",[],null,[[null,"selectedChange"],[null,"_userSelection"]],function(t,e,n){var r=!0,i=t.component;return"selectedChange"===e&&(r=!1!==i._dateSelected(n)&&r),"_userSelection"===e&&(r=!1!==i._userSelected()&&r),r},Io,ko)),r["\u0275did"](1,1097728,[[1,4]],0,io,[[2,ti],[2,ei],r.ChangeDetectorRef],{activeDate:[0,"activeDate"],selected:[1,"selected"],minDate:[2,"minDate"],maxDate:[3,"maxDate"],dateFilter:[4,"dateFilter"]},{selectedChange:"selectedChange",_userSelection:"_userSelection"})],function(t,e){var n=e.component;t(e,1,0,n._activeDate,n.selected,n.minDate,n.maxDate,n.dateFilter)},null)}function yo(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"mat-year-view",[],null,[[null,"selectedChange"]],function(t,e,n){var r=!0;return"selectedChange"===e&&(r=!1!==t.component._goToDateInView(n,"month")&&r),r},Mo,Ro)),r["\u0275did"](1,1097728,[[2,4]],0,so,[[2,ti],[2,ei],r.ChangeDetectorRef],{activeDate:[0,"activeDate"],selected:[1,"selected"],minDate:[2,"minDate"],maxDate:[3,"maxDate"],dateFilter:[4,"dateFilter"]},{selectedChange:"selectedChange"})],function(t,e){var n=e.component;t(e,1,0,n._activeDate,n.selected,n.minDate,n.maxDate,n.dateFilter)},null)}function vo(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"mat-multi-year-view",[],null,[[null,"selectedChange"]],function(t,e,n){var r=!0;return"selectedChange"===e&&(r=!1!==t.component._goToDateInView(n,"year")&&r),r},jo,Ao)),r["\u0275did"](1,1097728,[[3,4]],0,oo,[[2,ti],r.ChangeDetectorRef],{activeDate:[0,"activeDate"],selected:[1,"selected"],minDate:[2,"minDate"],maxDate:[3,"maxDate"],dateFilter:[4,"dateFilter"]},{selectedChange:"selectedChange"})],function(t,e){var n=e.component;t(e,1,0,n._activeDate,n.selected,n.minDate,n.maxDate,n.dateFilter)},null)}function bo(t){return r["\u0275vid"](2,[r["\u0275qud"](671088640,1,{monthView:0}),r["\u0275qud"](671088640,2,{yearView:0}),r["\u0275qud"](671088640,3,{multiYearView:0}),(t()(),r["\u0275eld"](3,0,null,null,10,"div",[["class","mat-calendar-header"]],null,null,null,null,null)),(t()(),r["\u0275eld"](4,0,null,null,9,"div",[["class","mat-calendar-controls"]],null,null,null,null,null)),(t()(),r["\u0275eld"](5,0,null,null,3,"button",[["class","mat-calendar-period-button"],["mat-button",""]],[[1,"aria-label",0],[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component._currentPeriodClicked()&&r),r},fo,ho)),r["\u0275did"](6,180224,null,0,Zi,[r.ElementRef,An,$r],null,null),(t()(),r["\u0275ted"](7,0,["",""])),(t()(),r["\u0275eld"](8,0,null,0,0,"div",[["class","mat-calendar-arrow"]],[[2,"mat-calendar-invert",null]],null,null,null,null)),(t()(),r["\u0275eld"](9,0,null,null,0,"div",[["class","mat-calendar-spacer"]],null,null,null,null,null)),(t()(),r["\u0275eld"](10,0,null,null,1,"button",[["class","mat-calendar-previous-button"],["mat-icon-button",""]],[[1,"aria-label",0],[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component._previousClicked()&&r),r},fo,ho)),r["\u0275did"](11,180224,null,0,Zi,[r.ElementRef,An,$r],{disabled:[0,"disabled"]},null),(t()(),r["\u0275eld"](12,0,null,null,1,"button",[["class","mat-calendar-next-button"],["mat-icon-button",""]],[[1,"aria-label",0],[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component._nextClicked()&&r),r},fo,ho)),r["\u0275did"](13,180224,null,0,Zi,[r.ElementRef,An,$r],{disabled:[0,"disabled"]},null),(t()(),r["\u0275eld"](14,0,null,null,8,"div",[["cdkMonitorSubtreeFocus",""],["class","mat-calendar-content"],["tabindex","-1"]],null,[[null,"keydown"]],function(t,e,n){var r=!0;return"keydown"===e&&(r=!1!==t.component._handleCalendarBodyKeydown(n)&&r),r},null,null)),r["\u0275did"](15,16384,null,0,s.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),r["\u0275did"](16,147456,null,0,Yr,[r.ElementRef,$r],null,null),(t()(),r["\u0275and"](16777216,null,null,1,null,mo)),r["\u0275did"](18,278528,null,0,s.NgSwitchCase,[r.ViewContainerRef,r.TemplateRef,s.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),r["\u0275and"](16777216,null,null,1,null,yo)),r["\u0275did"](20,278528,null,0,s.NgSwitchCase,[r.ViewContainerRef,r.TemplateRef,s.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),r["\u0275and"](16777216,null,null,1,null,vo)),r["\u0275did"](22,278528,null,0,s.NgSwitchCase,[r.ViewContainerRef,r.TemplateRef,s.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null)],function(t,e){var n=e.component;t(e,11,0,!n._previousEnabled()),t(e,13,0,!n._nextEnabled()),t(e,15,0,n._currentView),t(e,18,0,"month"),t(e,20,0,"year"),t(e,22,0,"multi-year")},function(t,e){var n=e.component;t(e,5,0,n._periodButtonLabel,r["\u0275nov"](e,6).disabled||null),t(e,7,0,n._periodButtonText),t(e,8,0,"month"!=n._currentView),t(e,10,0,n._prevButtonLabel,r["\u0275nov"](e,11).disabled||null),t(e,12,0,n._nextButtonLabel,r["\u0275nov"](e,13).disabled||null)})}var _o=r["\u0275crt"]({encapsulation:2,styles:[".mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.71429%;padding-right:4.71429%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:0;cursor:pointer}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-cell-content{position:absolute;top:5%;left:5%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}[dir=rtl] .mat-calendar-body-label{text-align:right}"],data:{}});function wo(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,2,"tr",[["aria-hidden","true"]],null,null,null,null,null)),(t()(),r["\u0275eld"](1,0,null,null,1,"td",[["class","mat-calendar-body-label"]],[[1,"colspan",0],[4,"paddingTop","%"],[4,"paddingBottom","%"]],null,null,null,null)),(t()(),r["\u0275ted"](2,null,["",""]))],null,function(t,e){var n=e.component;t(e,1,0,n.numCols,50*n.cellAspectRatio/n.numCols,50*n.cellAspectRatio/n.numCols),t(e,2,0,n.label)})}function Co(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"td",[["aria-hidden","true"],["class","mat-calendar-body-label"]],[[1,"colspan",0],[4,"paddingTop","%"],[4,"paddingBottom","%"]],null,null,null,null)),(t()(),r["\u0275ted"](1,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,n._firstRowOffset,50*n.cellAspectRatio/n.numCols,50*n.cellAspectRatio/n.numCols),t(e,1,0,n._firstRowOffset>=n.labelMinRequiredCells?n.label:"")})}function xo(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,2,"td",[["class","mat-calendar-body-cell"],["role","gridcell"]],[[8,"tabIndex",0],[2,"mat-calendar-body-disabled",null],[2,"mat-calendar-body-active",null],[1,"aria-label",0],[1,"aria-disabled",0],[4,"width","%"],[4,"paddingTop","%"],[4,"paddingBottom","%"]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component._cellClicked(t.context.$implicit)&&r),r},null,null)),(t()(),r["\u0275eld"](1,0,null,null,1,"div",[["class","mat-calendar-body-cell-content"]],[[2,"mat-calendar-body-selected",null],[2,"mat-calendar-body-today",null]],null,null,null,null)),(t()(),r["\u0275ted"](2,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,n._isActiveCell(e.parent.context.index,e.context.index)?0:-1,!e.context.$implicit.enabled,n._isActiveCell(e.parent.context.index,e.context.index),e.context.$implicit.ariaLabel,!e.context.$implicit.enabled||null,100/n.numCols,50*n.cellAspectRatio/n.numCols,50*n.cellAspectRatio/n.numCols),t(e,1,0,n.selectedValue===e.context.$implicit.value,n.todayValue===e.context.$implicit.value),t(e,2,0,e.context.$implicit.displayValue)})}function Oo(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,4,"tr",[["role","row"]],null,null,null,null,null)),(t()(),r["\u0275and"](16777216,null,null,1,null,Co)),r["\u0275did"](2,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275and"](16777216,null,null,1,null,xo)),r["\u0275did"](4,802816,null,0,s.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,2,0,0===e.context.index&&e.component._firstRowOffset),t(e,4,0,e.context.$implicit)},null)}function So(t){return r["\u0275vid"](2,[(t()(),r["\u0275and"](16777216,null,null,1,null,wo)),r["\u0275did"](1,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275and"](16777216,null,null,1,null,Oo)),r["\u0275did"](3,802816,null,0,s.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,1,0,n._firstRowOffsetdiv{display:-webkit-box;display:-ms-flexbox;display:flex}.ngx-datatable .datatable-footer{display:block;width:100%}.ngx-datatable .datatable-footer .datatable-footer-inner{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%}.ngx-datatable .datatable-footer .selected-count .page-count{-webkit-box-flex:1;-ms-flex:1 1 40%;flex:1 1 40%}.ngx-datatable .datatable-footer .selected-count .datatable-pager{-webkit-box-flex:1;-ms-flex:1 1 60%;flex:1 1 60%}.ngx-datatable .datatable-footer .page-count{-webkit-box-flex:1;-ms-flex:1 1 20%;flex:1 1 20%}.ngx-datatable .datatable-footer .datatable-pager{-webkit-box-flex:1;-ms-flex:1 1 80%;flex:1 1 80%;text-align:right}.ngx-datatable .datatable-footer .datatable-pager .pager,.ngx-datatable .datatable-footer .datatable-pager .pager li{padding:0;margin:0;display:inline-block;list-style:none}.ngx-datatable .datatable-footer .datatable-pager .pager li,.ngx-datatable .datatable-footer .datatable-pager .pager li a{outline:0}.ngx-datatable .datatable-footer .datatable-pager .pager li a{cursor:pointer;display:inline-block}.ngx-datatable .datatable-footer .datatable-pager .pager li.disabled a{cursor:not-allowed}"]],data:{}});function na(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,3,"datatable-header",[["class","datatable-header"]],[[4,"height",null],[4,"width",null]],[[null,"sort"],[null,"resize"],[null,"reorder"],[null,"select"],[null,"columnContextmenu"]],function(t,e,n){var r=!0,i=t.component;return"sort"===e&&(r=!1!==i.onColumnSort(n)&&r),"resize"===e&&(r=!1!==i.onColumnResize(n)&&r),"reorder"===e&&(r=!1!==i.onColumnReorder(n)&&r),"select"===e&&(r=!1!==i.onHeaderSelect(n)&&r),"columnContextmenu"===e&&(r=!1!==i.onColumnContextmenu(n)&&r),r},Xo,Yo)),r["\u0275did"](1,49152,[[2,4]],0,$o.DataTableHeaderComponent,[r.ChangeDetectorRef],{sortAscendingIcon:[0,"sortAscendingIcon"],sortDescendingIcon:[1,"sortDescendingIcon"],scrollbarH:[2,"scrollbarH"],dealsWithGroup:[3,"dealsWithGroup"],innerWidth:[4,"innerWidth"],sorts:[5,"sorts"],sortType:[6,"sortType"],allRowsSelected:[7,"allRowsSelected"],selectionType:[8,"selectionType"],reorderable:[9,"reorderable"],headerHeight:[10,"headerHeight"],columns:[11,"columns"],offsetX:[12,"offsetX"]},{sort:"sort",reorder:"reorder",resize:"resize",select:"select",columnContextmenu:"columnContextmenu"}),r["\u0275pid"](131072,s.AsyncPipe,[r.ChangeDetectorRef]),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){var n=e.component;t(e,1,1,[n.cssClasses.sortAscending,n.cssClasses.sortDescending,n.scrollbarH,n.groupedRows,n._innerWidth,n.sorts,n.sortType,n.allRowsSelected,n.selectionType,n.reorderable,n.headerHeight,n._internalColumns,r["\u0275unv"](e,1,12,r["\u0275nov"](e,2).transform(n._offsetX))])},function(t,e){t(e,0,0,r["\u0275nov"](e,1).headerHeight,r["\u0275nov"](e,1).headerWidth)})}function ra(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,2,"datatable-footer",[["class","datatable-footer"]],null,[[null,"page"]],function(t,e,n){var r=!0;return"page"===e&&(r=!1!==t.component.onFooterPage(n)&&r),r},us,rs)),r["\u0275did"](1,49152,null,0,ns.DataTableFooterComponent,[],{footerHeight:[0,"footerHeight"],rowCount:[1,"rowCount"],pageSize:[2,"pageSize"],offset:[3,"offset"],pagerLeftArrowIcon:[4,"pagerLeftArrowIcon"],pagerRightArrowIcon:[5,"pagerRightArrowIcon"],pagerPreviousIcon:[6,"pagerPreviousIcon"],pagerNextIcon:[7,"pagerNextIcon"],totalMessage:[8,"totalMessage"],footerTemplate:[9,"footerTemplate"],selectedCount:[10,"selectedCount"],selectedMessage:[11,"selectedMessage"]},{page:"page"}),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){var n=e.component;t(e,1,1,[n.footerHeight,n.rowCount,n.pageSize,n.offset,n.cssClasses.pagerLeftArrow,n.cssClasses.pagerRightArrow,n.cssClasses.pagerPrevious,n.cssClasses.pagerNext,n.messages.totalMessage,n.footer,n.selected.length,!!n.selectionType&&n.messages.selectedMessage])},null)}function ia(t){return r["\u0275vid"](2,[r["\u0275qud"](402653184,1,{bodyComponent:0}),r["\u0275qud"](671088640,2,{headerComponent:0}),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](3,0,null,null,13,"div",[["visibilityObserver",""]],[[2,"visible",null]],[[null,"visible"]],function(t,e,n){var r=!0;return"visible"===e&&(r=!1!==t.component.recalculate()&&r),r},null,null)),r["\u0275did"](4,212992,null,0,cs.VisibilityDirective,[r.ElementRef,r.NgZone],null,{visible:"visible"}),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,na)),r["\u0275did"](7,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](9,0,null,null,3,"datatable-body",[["class","datatable-body"]],[[4,"width",null],[4,"height",null]],[[null,"page"],[null,"activate"],[null,"rowContextmenu"],[null,"select"],[null,"scroll"]],function(t,e,n){var r=!0,i=t.component;return"page"===e&&(r=!1!==i.onBodyPage(n)&&r),"activate"===e&&(r=!1!==i.activate.emit(n)&&r),"rowContextmenu"===e&&(r=!1!==i.onRowContextmenu(n)&&r),"select"===e&&(r=!1!==i.onBodySelect(n)&&r),"scroll"===e&&(r=!1!==i.onBodyScroll(n)&&r),r},Qs,Us)),r["\u0275did"](10,245760,[[1,4]],0,Ws.DataTableBodyComponent,[r.ChangeDetectorRef],{scrollbarV:[0,"scrollbarV"],scrollbarH:[1,"scrollbarH"],loadingIndicator:[2,"loadingIndicator"],externalPaging:[3,"externalPaging"],rowHeight:[4,"rowHeight"],offsetX:[5,"offsetX"],emptyMessage:[6,"emptyMessage"],selectionType:[7,"selectionType"],selected:[8,"selected"],rowIdentity:[9,"rowIdentity"],rowDetail:[10,"rowDetail"],groupHeader:[11,"groupHeader"],selectCheck:[12,"selectCheck"],displayCheck:[13,"displayCheck"],trackByProp:[14,"trackByProp"],rowClass:[15,"rowClass"],groupedRows:[16,"groupedRows"],groupExpansionDefault:[17,"groupExpansionDefault"],innerWidth:[18,"innerWidth"],groupRowsBy:[19,"groupRowsBy"],virtualization:[20,"virtualization"],pageSize:[21,"pageSize"],rows:[22,"rows"],columns:[23,"columns"],offset:[24,"offset"],rowCount:[25,"rowCount"],bodyHeight:[26,"bodyHeight"]},{scroll:"scroll",page:"page",activate:"activate",select:"select",rowContextmenu:"rowContextmenu"}),r["\u0275pid"](131072,s.AsyncPipe,[r.ChangeDetectorRef]),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,ra)),r["\u0275did"](15,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){var n=e.component;t(e,4,0),t(e,7,0,n.headerHeight),t(e,10,1,[n.scrollbarV,n.scrollbarH,n.loadingIndicator,n.externalPaging,n.rowHeight,r["\u0275unv"](e,10,5,r["\u0275nov"](e,11).transform(n._offsetX)),n.messages.emptyMessage,n.selectionType,n.selected,n.rowIdentity,n.rowDetail,n.groupHeader,n.selectCheck,n.displayCheck,n.trackByProp,n.rowClass,n.groupedRows,n.groupExpansionDefault,n._innerWidth,n.groupRowsBy,n.virtualization,n.pageSize,n._internalRows,n._internalColumns,n.offset,n.rowCount,n.bodyHeight]),t(e,15,0,n.footerHeight)},function(t,e){t(e,3,0,r["\u0275nov"](e,4).isVisible),t(e,9,0,r["\u0275nov"](e,10).bodyWidth,r["\u0275nov"](e,10).bodyHeight)})}var oa=n("6VmJ");function sa(t,e){return Object(oa.a)(t,e)(this)}var aa=function(){},la=function(){},ua=function(){function t(t){var e=this;this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){e.headers=new Map,t.split("\n").forEach(function(t){var n=t.indexOf(":");if(n>0){var r=t.slice(0,n),i=r.toLowerCase(),o=t.slice(n+1).trim();e.maybeSetNormalizedName(r,i),e.headers.has(i)?e.headers.get(i).push(o):e.headers.set(i,[o])}})}:function(){e.headers=new Map,Object.keys(t).forEach(function(n){var r=t[n],i=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(e.headers.set(i,r),e.maybeSetNormalizedName(n,i))})}:this.headers=new Map}return t.prototype.has=function(t){return this.init(),this.headers.has(t.toLowerCase())},t.prototype.get=function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null},t.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},t.prototype.getAll=function(t){return this.init(),this.headers.get(t.toLowerCase())||null},t.prototype.append=function(t,e){return this.clone({name:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({name:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({name:t,value:e,op:"d"})},t.prototype.maybeSetNormalizedName=function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)},t.prototype.init=function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(t){return e.applyUpdate(t)}),this.lazyUpdate=null))},t.prototype.copyFrom=function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach(function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))})},t.prototype.clone=function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n},t.prototype.applyUpdate=function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var r=("a"===t.op?this.headers.get(e):void 0)||[];r.push.apply(r,n),this.headers.set(e,r);break;case"d":var i=t.value;if(i){var o=this.headers.get(e);if(!o)return;0===(o=o.filter(function(t){return-1===i.indexOf(t)})).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}},t.prototype.forEach=function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return t(e.normalizedNames.get(n),e.headers.get(n))})},t}(),ca=function(){function t(){}return t.prototype.encodeKey=function(t){return da(t)},t.prototype.encodeValue=function(t){return da(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},t}();function da(t){return encodeURIComponent(t).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,"/")}var pa=function(){function t(t){void 0===t&&(t={});var e,n,r,i=this;if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new ca,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(e=t.fromString,n=this.encoder,r=new Map,e.length>0&&e.split("&").forEach(function(t){var e=t.indexOf("="),i=-1==e?[n.decodeKey(t),""]:[n.decodeKey(t.slice(0,e)),n.decodeValue(t.slice(e+1))],o=i[0],s=i[1],a=r.get(o)||[];a.push(s),r.set(o,a)}),r)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(function(e){var n=t.fromObject[e];i.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}return t.prototype.has=function(t){return this.init(),this.map.has(t)},t.prototype.get=function(t){this.init();var e=this.map.get(t);return e?e[0]:null},t.prototype.getAll=function(t){return this.init(),this.map.get(t)||null},t.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},t.prototype.append=function(t,e){return this.clone({param:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({param:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({param:t,value:e,op:"d"})},t.prototype.toString=function(){var t=this;return this.init(),this.keys().map(function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map(function(e){return n+"="+t.encoder.encodeValue(e)}).join("&")}).join("&")},t.prototype.clone=function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n},t.prototype.init=function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(e){return t.map.set(e,t.cloneFrom.map.get(e))}),this.updates.forEach(function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var r=t.map.get(e.param)||[],i=r.indexOf(e.value);-1!==i&&r.splice(i,1),r.length>0?t.map.set(e.param,r):t.map.delete(e.param)}}),this.cloneFrom=null)},t}();function ha(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function fa(t){return"undefined"!=typeof Blob&&t instanceof Blob}function ga(t){return"undefined"!=typeof FormData&&t instanceof FormData}var ma=function(){function t(t,e,n,r){var i;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){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 ua),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{var s=e.indexOf("?");this.urlWithParams=e+(-1===s?"?":s=200&&this.status<300}}(),ba=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=ya.ResponseHeader,n}return Object(U.__extends)(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(va),_a=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=ya.Response,n.body=void 0!==e.body?e.body:null,n}return Object(U.__extends)(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(va),wa=function(t){function e(e){var n=t.call(this,e,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for "+(e.url||"(unknown url)")+": "+e.status+" "+e.statusText,n.error=e.error||null,n}return Object(U.__extends)(e,t),e}(va);function Ca(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var xa=function(){function t(t){this.handler=t}return t.prototype.request=function(t,e,n){var r,i=this;if(void 0===n&&(n={}),t instanceof ma)r=t;else{var o;o=n.headers instanceof ua?n.headers:new ua(n.headers);var s=void 0;n.params&&(s=n.params instanceof pa?n.params:new pa({fromObject:n.params})),r=new ma(t,e,void 0!==n.body?n.body:null,{headers:o,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var a=sa.call(Object(Vn.a)(r),function(t){return i.handler.handle(t)});if(t instanceof ma||"events"===n.observe)return a;var l=en.call(a,function(t){return t instanceof _a});switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return nt.call(l,function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body});case"blob":return nt.call(l,function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body});case"text":return nt.call(l,function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body});case"json":default:return nt.call(l,function(t){return t.body})}case"response":return l;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},t.prototype.delete=function(t,e){return void 0===e&&(e={}),this.request("DELETE",t,e)},t.prototype.get=function(t,e){return void 0===e&&(e={}),this.request("GET",t,e)},t.prototype.head=function(t,e){return void 0===e&&(e={}),this.request("HEAD",t,e)},t.prototype.jsonp=function(t,e){return this.request("JSONP",t,{params:(new pa).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},t.prototype.options=function(t,e){return void 0===e&&(e={}),this.request("OPTIONS",t,e)},t.prototype.patch=function(t,e,n){return void 0===n&&(n={}),this.request("PATCH",t,Ca(n,e))},t.prototype.post=function(t,e,n){return void 0===n&&(n={}),this.request("POST",t,Ca(n,e))},t.prototype.put=function(t,e,n){return void 0===n&&(n={}),this.request("PUT",t,Ca(n,e))},t}(),Oa=function(){function t(t,e){this.next=t,this.interceptor=e}return t.prototype.handle=function(t){return this.interceptor.intercept(t,this.next)},t}(),Sa=new r.InjectionToken("HTTP_INTERCEPTORS"),Ea=function(){function t(){}return t.prototype.intercept=function(t,e){return e.handle(t)},t}(),Pa=/^\)\]\}',?\n/,Ta=function(){},ka=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t}(),Da=function(){function t(t){this.xhrFactory=t}return t.prototype.handle=function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new G.Observable(function(n){var r=e.xhrFactory.build();if(r.open(t.method,t.urlWithParams),t.withCredentials&&(r.withCredentials=!0),t.headers.forEach(function(t,e){return r.setRequestHeader(t,e.join(","))}),t.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var i=t.detectContentTypeHeader();null!==i&&r.setRequestHeader("Content-Type",i)}if(t.responseType){var o=t.responseType.toLowerCase();r.responseType="json"!==o?o:"text"}var s=t.serializeBody(),a=null,l=function(){if(null!==a)return a;var e=1223===r.status?204:r.status,n=r.statusText||"OK",i=new ua(r.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(r)||t.url;return a=new ba({headers:i,status:e,statusText:n,url:o})},u=function(){var e=l(),i=e.headers,o=e.status,s=e.statusText,a=e.url,u=null;204!==o&&(u="undefined"==typeof r.response?r.responseText:r.response),0===o&&(o=u?200:0);var c=o>=200&&o<300;if("json"===t.responseType&&"string"==typeof u){var d=u;u=u.replace(Pa,"");try{u=""!==u?JSON.parse(u):null}catch(t){u=d,c&&(c=!1,u={error:t,text:u})}}c?(n.next(new _a({body:u,headers:i,status:o,statusText:s,url:a||void 0})),n.complete()):n.error(new wa({error:u,headers:i,status:o,statusText:s,url:a||void 0}))},c=function(t){var e=new wa({error:t,status:r.status||0,statusText:r.statusText||"Unknown Error"});n.error(e)},d=!1,p=function(e){d||(n.next(l()),d=!0);var i={type:ya.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(i.total=e.total),"text"===t.responseType&&r.responseText&&(i.partialText=r.responseText),n.next(i)},h=function(t){var e={type:ya.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return r.addEventListener("load",u),r.addEventListener("error",c),t.reportProgress&&(r.addEventListener("progress",p),null!==s&&r.upload&&r.upload.addEventListener("progress",h)),r.send(s),n.next({type:ya.Sent}),function(){r.removeEventListener("error",c),r.removeEventListener("load",u),t.reportProgress&&(r.removeEventListener("progress",p),null!==s&&r.upload&&r.upload.removeEventListener("progress",h)),r.abort()}})},t}(),Ia=new r.InjectionToken("XSRF_COOKIE_NAME"),Ra=new r.InjectionToken("XSRF_HEADER_NAME"),Ma=function(){},Aa=function(){function t(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return t.prototype.getToken=function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(s["\u0275parseCookieValue"])(t,this.cookieName),this.lastCookieString=t),this.lastToken},t}(),ja=function(){function t(t,e){this.tokenService=t,this.headerName=e}return t.prototype.intercept=function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var r=this.tokenService.getToken();return null===r||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)},t}(),Na=function(){function t(t,e){this.backend=t,this.injector=e,this.chain=null}return t.prototype.handle=function(t){if(null===this.chain){var e=this.injector.get(Sa,[]);this.chain=e.reduceRight(function(t,e){return new Oa(t,e)},this.backend)}return this.chain.handle(t)},t}(),Va=function(){function t(){}return t.disable=function(){return{ngModule:t,providers:[{provide:ja,useClass:Ea}]}},t.withOptions=function(e){return void 0===e&&(e={}),{ngModule:t,providers:[e.cookieName?{provide:Ia,useValue:e.cookieName}:[],e.headerName?{provide:Ra,useValue:e.headerName}:[]]}},t}(),Fa=function(){};G.Observable.prototype.map=nt;var La=function(){function t(t){this.http=t,this.server="https://et6rnqpor5.execute-api.eu-central-1.amazonaws.com/dev",this.requestRiders="/riders",this.requestCompetitions="/competitions",this.requestGallery="/gallery",this.requestActivities="/activities",this.requestStatistics="/statistics"}return t.prototype.createGetCall=function(t){return this.http.get(this.server+t)},t.prototype.createPostCall=function(t,e){var n=this.server+t,r={params:new pa};return r.params.set("Content-Type","application/json"),this.http.post(n,e,r)},t.prototype.createDeleteCall=function(t,e){var n=this.server+t+"/"+e,r={params:new pa};return r.params.set("Content-Type","application/json"),this.http.delete(n,r)},t.prototype.getRiders=function(){return this.createGetCall(this.requestRiders)},t.prototype.getCompetitions=function(){return this.createGetCall(this.requestCompetitions)},t.prototype.getGallery=function(){return this.createGetCall(this.requestGallery)},t.prototype.getActivities=function(){return this.createGetCall(this.requestActivities)},t.prototype.getStatistics=function(){return this.createGetCall(this.requestStatistics)},t.prototype.addNewCompetition=function(t){return this.createPostCall(this.requestCompetitions,t)},t.prototype.removeCompetition=function(t){return this.createDeleteCall(this.requestCompetitions,t)},t}(),Ba=function(){function t(t){this.awsService=t,this.rows=[],this.reorderable=!0,this.showAddForm=!1,this.removeButton=!0,this.showInput=!1,this.showCardSuccessAdded=!1,this.showCardSuccessDeleted=!1,this.showCardError=!1,this.selected=[],this.columns=[{name:"Name"},{name:"Date"},{name:"Rides"},{name:"Link"}],this.populateCompetitionTable()}return t.prototype.ngOnInit=function(){this.createFormControls(),this.createForm(),this.todayDate()},t.prototype.todayDate=function(){this.today=new Date;var t=this.today.getDate(),e=this.today.getMonth()+1,n=this.today.getFullYear();t<10&&(t="0"+t),e<10&&(e="0"+e),this.today=n+"-"+e+"-"+t},t.prototype.populateCompetitionTable=function(){var t=this,e=this.awsService.getCompetitions().subscribe(function(n){var r=n.competitions.map(function(t){var e=JSON.parse(t.rides);return{id:t.id,name:t.name,date:new Date(t.date).toLocaleDateString(),rides:"Tura Scurta: "+e.tura_scurta+"
Tura Lunga: "+e.tura_lunga,link:t.link}});t.rows=r,e.unsubscribe()})},t.prototype.createFormControls=function(){this.competitionName=new Yt("",[ut.required,ut.minLength(5)]),this.competitionDate=new Yt("",ut.required),this.competitionRide1=new Yt("",ut.required),this.competitionRide2=new Yt("",ut.required),this.competitionRide3=new Yt(""),this.competitionLink=new Yt("",ut.required),this.competitionPicture=new Yt("",ut.required)},t.prototype.createForm=function(){this.competitionsForm=new Kt({competitionName:this.competitionName,competitionDate:this.competitionDate,competitionRides:new Kt({competitionRide1:this.competitionRide1,competitionRide2:this.competitionRide2,competitionRide3:this.competitionRide3}),competitionLink:this.competitionLink,competitionPicture:this.competitionPicture})},t.prototype.toggleAddNewCompetition=function(){this.showAddForm=!this.showAddForm,this.showInput=!1,this.competitionsForm.reset()},t.prototype.onShowInput=function(){this.showInput=!this.showInput},t.prototype.saveNewCompetition=function(){var t=this,e={tura_lunga:this.competitionRide1.value+"km",tura_scurta:this.competitionRide2.value+"km"},n=new Date(this.competitionDate.value+"T00:00:00").getTime(),r=this.awsService.addNewCompetition({name:this.competitionName.value,date:n,rides:e,link:this.competitionLink.value,picture:this.competitionPicture.value}).subscribe(function(){r.unsubscribe(),t.populateCompetitionTable(),t.toggleAddNewCompetition(),t.showCardSuccessAdded=!0,setTimeout((function(){this.showCardSuccessAdded=!1}).bind(t),3e3)},function(){t.showCardError=!0,setTimeout((function(){this.showCardError=!1}).bind(t),3e3)})},t.prototype.onSelect=function(t){var e,n=t.selected;this.removeButton=!0,this.selected.length>0&&(this.removeButton=!1),this.selected.splice(0,this.selected.length),(e=this.selected).push.apply(e,n)},t.prototype.removeCompetitions=function(){var t=this;this.selected.map(function(e){var n=t.awsService.removeCompetition(e.id).subscribe(function(){n.unsubscribe(),t.populateCompetitionTable(),t.onSelect(t),t.removeButton=!0,t.showCardSuccessDeleted=!0,setTimeout((function(){this.showCardSuccessDeleted=!1}).bind(t),3e3)})})},t}(),Ha=r["\u0275crt"]({encapsulation:0,styles:[[".admin_competitions_buttons[_ngcontent-%COMP%]{margin:30px}.img-toggle-arrow[_ngcontent-%COMP%]{-webkit-transform:rotate(-90deg);transform:rotate(-90deg);width:5px;margin-left:5px}.card-response[_ngcontent-%COMP%]{margin-top:20px;padding:10px;border:2px solid green;-webkit-box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.select_multiple_message[_ngcontent-%COMP%]{color:red;margin:30px}.input-container[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.input-name[_ngcontent-%COMP%]{margin-top:25px;width:60px;white-space:nowrap}.admin_competitions_add_form[_ngcontent-%COMP%]{display:block;margin-top:20px;-webkit-box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);padding:40px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.admin_competitions_add_form[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{width:100px}.admin_competitions_add_form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:300px}.admin_competitions_add_form[_ngcontent-%COMP%] .add_form_row[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:10px}.admin_competitions_add_form[_ngcontent-%COMP%] .btn_control[_ngcontent-%COMP%]{width:100px;margin-left:10px}.input-picture-link[_ngcontent-%COMP%]{display:block;margin-top:10px;max-height:250px;max-width:300px}.has-danger[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{border-color:#d9534f}.has-danger[_ngcontent-%COMP%] .form-control-feedback[_ngcontent-%COMP%]{color:#d9534f}.inline-container[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;width:300px}.btn-add-comp[_ngcontent-%COMP%]{margin-left:5px}.competition-table[_ngcontent-%COMP%]{margin:30px}"]],data:{}});function za(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"div",[["class","card-response"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Competition added!"]))],null,null)}function Wa(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"div",[["class","card-response"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Competition Deleted!"]))],null,null)}function Ua(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Competition Name is required"]))],null,null)}function Ga(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Name must be 5 characters long "]))],null,null)}function qa(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,7,"div",[["class","form-control-feedback"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,Ua)),r["\u0275did"](3,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,Ga)),r["\u0275did"](6,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){var n=e.component;t(e,3,0,n.competitionName.errors.required),t(e,6,0,n.competitionName.errors.minlength)},null)}function $a(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Competition Date is required"]))],null,null)}function Ya(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,4,"div",[["class","form-control-feedback"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,$a)),r["\u0275did"](3,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){t(e,3,0,e.component.competitionDate.errors.required)},null)}function Ka(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Competition Ride 1 is required"]))],null,null)}function Za(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,4,"div",[["class","form-control-feedback"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,Ka)),r["\u0275did"](3,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){t(e,3,0,e.component.competitionRide1.errors.required)},null)}function Xa(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Competition Ride 1 is required"]))],null,null)}function Qa(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,4,"div",[["class","form-control-feedback"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,Xa)),r["\u0275did"](3,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){t(e,3,0,e.component.competitionRide1.errors.required)},null)}function Ja(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,14,"div",[["class","form-group"]],null,null,null,null,null)),r["\u0275did"](1,278528,null,0,s.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["\u0275pod"](2,{"has-danger":0,"has-success":1}),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](4,0,null,null,1,"label",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Other Rides"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](7,0,null,null,6,"input",[["class","form-control"],["formControlName","competitionRide3"],["min","0"],["oninput","validity.valid||(value='');"],["placeholder","Enter length in km"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(t,e,n){var i=!0;return"input"===e&&(i=!1!==r["\u0275nov"](t,8)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==r["\u0275nov"](t,8).onTouched()&&i),"compositionstart"===e&&(i=!1!==r["\u0275nov"](t,8)._compositionStart()&&i),"compositionend"===e&&(i=!1!==r["\u0275nov"](t,8)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==r["\u0275nov"](t,9).onChange(n.target.value)&&i),"input"===e&&(i=!1!==r["\u0275nov"](t,9).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==r["\u0275nov"](t,9).onTouched()&&i),i},null,null)),r["\u0275did"](8,16384,null,0,mt,[r.Renderer2,r.ElementRef,[2,gt]],null,null),r["\u0275did"](9,16384,null,0,bt,[r.Renderer2,r.ElementRef],null,null),r["\u0275prd"](1024,null,ht,function(t,e){return[t,e]},[mt,bt]),r["\u0275did"](11,671744,null,0,se,[[3,ot],[8,null],[8,null],[2,ht]],{name:[0,"name"]},null),r["\u0275prd"](2048,null,wt,null,[se]),r["\u0275did"](13,16384,null,0,zt,[wt],null,null),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){var n=e.component;t(e,1,0,"form-group",t(e,2,0,n.competitionRide2.invalid&&(n.competitionRide2.dirty||n.competitionRide2.touched),n.competitionRide2.valid&&(n.competitionRide2.dirty||n.competitionRide2.touched))),t(e,11,0,"competitionRide3")},function(t,e){t(e,7,0,r["\u0275nov"](e,13).ngClassUntouched,r["\u0275nov"](e,13).ngClassTouched,r["\u0275nov"](e,13).ngClassPristine,r["\u0275nov"](e,13).ngClassDirty,r["\u0275nov"](e,13).ngClassValid,r["\u0275nov"](e,13).ngClassInvalid,r["\u0275nov"](e,13).ngClassPending)})}function tl(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Competition Link is required"]))],null,null)}function el(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,4,"div",[["class","form-control-feedback"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,tl)),r["\u0275did"](3,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){t(e,3,0,e.component.competitionLink.errors.required)},null)}function nl(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Competition Picture is required"]))],null,null)}function rl(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,4,"div",[["class","form-control-feedback"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,nl)),r["\u0275did"](3,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){t(e,3,0,e.component.competitionPicture.errors.required)},null)}function il(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"div",[["class","card-response"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Oops. Something went wrong. Please retry later!"]))],null,null)}function ol(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,182,"div",[["class","admin_competitions_buttons"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](2,0,null,null,3,"button",[["class","btn btn-outline-primary"],["type","button"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.toggleAddNewCompetition()&&r),r},null,null)),(t()(),r["\u0275ted"](-1,null,["\n Add\n "])),(t()(),r["\u0275eld"](4,0,null,null,0,"img",[["alt","toggle arrow"],["class","img-toggle-arrow"],["src","../../../assets/arrow_2017-10-20/arrow@2x.png"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](7,0,null,null,1,"button",[["class","btn btn-outline-danger"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.removeCompetitions()&&r),r},null,null)),(t()(),r["\u0275ted"](-1,null,["\n Remove\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,za)),r["\u0275did"](11,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,Wa)),r["\u0275did"](14,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](16,0,null,null,165,"div",[["class","admin_competitions_add_form"]],[[8,"hidden",0]],null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](18,0,null,null,162,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(t,e,n){var i=!0;return"submit"===e&&(i=!1!==r["\u0275nov"](t,20).onSubmit(n)&&i),"reset"===e&&(i=!1!==r["\u0275nov"](t,20).onReset()&&i),i},null,null)),r["\u0275did"](19,16384,null,0,ue,[],null,null),r["\u0275did"](20,540672,null,0,te,[[8,null],[8,null]],{form:[0,"form"]},null),r["\u0275prd"](2048,null,ot,null,[te]),r["\u0275did"](22,16384,null,0,Wt,[ot],null,null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](24,0,null,null,1,"h4",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Add competition"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](27,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](29,0,null,null,18,"div",[["class","form-group"]],null,null,null,null,null)),r["\u0275did"](30,278528,null,0,s.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["\u0275pod"](31,{"has-danger":0,"has-success":1}),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](33,0,null,null,1,"label",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Competition Name"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](36,0,null,null,7,"input",[["class","form-control"],["formControlName","competitionName"],["placeholder","Name of the competition"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var i=!0;return"input"===e&&(i=!1!==r["\u0275nov"](t,37)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==r["\u0275nov"](t,37).onTouched()&&i),"compositionstart"===e&&(i=!1!==r["\u0275nov"](t,37)._compositionStart()&&i),"compositionend"===e&&(i=!1!==r["\u0275nov"](t,37)._compositionEnd(n.target.value)&&i),i},null,null)),r["\u0275did"](37,16384,null,0,mt,[r.Renderer2,r.ElementRef,[2,gt]],null,null),r["\u0275did"](38,16384,null,0,ae,[],{required:[0,"required"]},null),r["\u0275prd"](1024,null,at,function(t){return[t]},[ae]),r["\u0275prd"](1024,null,ht,function(t){return[t]},[mt]),r["\u0275did"](41,671744,null,0,se,[[3,ot],[2,at],[8,null],[2,ht]],{name:[0,"name"]},null),r["\u0275prd"](2048,null,wt,null,[se]),r["\u0275did"](43,16384,null,0,zt,[wt],null,null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,qa)),r["\u0275did"](46,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](49,0,null,null,18,"div",[["class","form-group"]],null,null,null,null,null)),r["\u0275did"](50,278528,null,0,s.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["\u0275pod"](51,{"has-danger":0,"has-success":1}),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](53,0,null,null,1,"label",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Competition Date"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](56,0,null,null,7,"input",[["class","form-control"],["formControlName","competitionDate"],["oninput","validity.valid||(value='');"],["required",""],["type","date"]],[[8,"min",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var i=!0;return"input"===e&&(i=!1!==r["\u0275nov"](t,57)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==r["\u0275nov"](t,57).onTouched()&&i),"compositionstart"===e&&(i=!1!==r["\u0275nov"](t,57)._compositionStart()&&i),"compositionend"===e&&(i=!1!==r["\u0275nov"](t,57)._compositionEnd(n.target.value)&&i),i},null,null)),r["\u0275did"](57,16384,null,0,mt,[r.Renderer2,r.ElementRef,[2,gt]],null,null),r["\u0275did"](58,16384,null,0,ae,[],{required:[0,"required"]},null),r["\u0275prd"](1024,null,at,function(t){return[t]},[ae]),r["\u0275prd"](1024,null,ht,function(t){return[t]},[mt]),r["\u0275did"](61,671744,null,0,se,[[3,ot],[2,at],[8,null],[2,ht]],{name:[0,"name"]},null),r["\u0275prd"](2048,null,wt,null,[se]),r["\u0275did"](63,16384,null,0,zt,[wt],null,null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,Ya)),r["\u0275did"](66,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](69,0,null,null,55,"fieldset",[["formGroupName","competitionRides"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),r["\u0275did"](70,212992,null,0,ee,[[3,ot],[8,null],[8,null]],{name:[0,"name"]},null),r["\u0275prd"](2048,null,ot,null,[ee]),r["\u0275did"](72,16384,null,0,Wt,[ot],null,null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](74,0,null,null,19,"div",[["class","form-group"]],null,null,null,null,null)),r["\u0275did"](75,278528,null,0,s.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["\u0275pod"](76,{"has-danger":0,"has-success":1}),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](78,0,null,null,1,"label",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Competition Long Ride"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](81,0,null,null,8,"input",[["class","form-control"],["formControlName","competitionRide1"],["min","0"],["oninput","validity.valid||(value='');"],["placeholder","Enter length in km"],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(t,e,n){var i=!0;return"input"===e&&(i=!1!==r["\u0275nov"](t,82)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==r["\u0275nov"](t,82).onTouched()&&i),"compositionstart"===e&&(i=!1!==r["\u0275nov"](t,82)._compositionStart()&&i),"compositionend"===e&&(i=!1!==r["\u0275nov"](t,82)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==r["\u0275nov"](t,83).onChange(n.target.value)&&i),"input"===e&&(i=!1!==r["\u0275nov"](t,83).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==r["\u0275nov"](t,83).onTouched()&&i),i},null,null)),r["\u0275did"](82,16384,null,0,mt,[r.Renderer2,r.ElementRef,[2,gt]],null,null),r["\u0275did"](83,16384,null,0,bt,[r.Renderer2,r.ElementRef],null,null),r["\u0275did"](84,16384,null,0,ae,[],{required:[0,"required"]},null),r["\u0275prd"](1024,null,at,function(t){return[t]},[ae]),r["\u0275prd"](1024,null,ht,function(t,e){return[t,e]},[mt,bt]),r["\u0275did"](87,671744,null,0,se,[[3,ot],[2,at],[8,null],[2,ht]],{name:[0,"name"]},null),r["\u0275prd"](2048,null,wt,null,[se]),r["\u0275did"](89,16384,null,0,zt,[wt],null,null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,Za)),r["\u0275did"](92,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](95,0,null,null,25,"div",[["class","form-group"]],null,null,null,null,null)),r["\u0275did"](96,278528,null,0,s.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["\u0275pod"](97,{"has-danger":0,"has-success":1}),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](99,0,null,null,1,"label",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Competition Short Ride"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](102,0,null,null,14,"div",[["class","inline-container"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](104,0,null,null,8,"input",[["class","form-control"],["formControlName","competitionRide2"],["min","0"],["oninput","validity.valid||(value='');"],["placeholder","Enter length in km"],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(t,e,n){var i=!0;return"input"===e&&(i=!1!==r["\u0275nov"](t,105)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==r["\u0275nov"](t,105).onTouched()&&i),"compositionstart"===e&&(i=!1!==r["\u0275nov"](t,105)._compositionStart()&&i),"compositionend"===e&&(i=!1!==r["\u0275nov"](t,105)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==r["\u0275nov"](t,106).onChange(n.target.value)&&i),"input"===e&&(i=!1!==r["\u0275nov"](t,106).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==r["\u0275nov"](t,106).onTouched()&&i),i},null,null)),r["\u0275did"](105,16384,null,0,mt,[r.Renderer2,r.ElementRef,[2,gt]],null,null),r["\u0275did"](106,16384,null,0,bt,[r.Renderer2,r.ElementRef],null,null),r["\u0275did"](107,16384,null,0,ae,[],{required:[0,"required"]},null),r["\u0275prd"](1024,null,at,function(t){return[t]},[ae]),r["\u0275prd"](1024,null,ht,function(t,e){return[t,e]},[mt,bt]),r["\u0275did"](110,671744,null,0,se,[[3,ot],[2,at],[8,null],[2,ht]],{name:[0,"name"]},null),r["\u0275prd"](2048,null,wt,null,[se]),r["\u0275did"](112,16384,null,0,zt,[wt],null,null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](114,0,null,null,1,"button",[["class","btn btn-outline-primary btn-add-comp"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.onShowInput()&&r),r},null,null)),(t()(),r["\u0275ted"](-1,null,["\n +\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,Qa)),r["\u0275did"](119,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,Ja)),r["\u0275did"](123,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](126,0,null,null,18,"div",[["class","form-group"]],null,null,null,null,null)),r["\u0275did"](127,278528,null,0,s.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["\u0275pod"](128,{"has-danger":0,"has-success":1}),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](130,0,null,null,1,"label",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Competition Link"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](133,0,null,null,7,"input",[["class","form-control"],["formControlName","competitionLink"],["placeholder","Enter competition website"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var i=!0;return"input"===e&&(i=!1!==r["\u0275nov"](t,134)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==r["\u0275nov"](t,134).onTouched()&&i),"compositionstart"===e&&(i=!1!==r["\u0275nov"](t,134)._compositionStart()&&i),"compositionend"===e&&(i=!1!==r["\u0275nov"](t,134)._compositionEnd(n.target.value)&&i),i},null,null)),r["\u0275did"](134,16384,null,0,mt,[r.Renderer2,r.ElementRef,[2,gt]],null,null),r["\u0275did"](135,16384,null,0,ae,[],{required:[0,"required"]},null),r["\u0275prd"](1024,null,at,function(t){return[t]},[ae]),r["\u0275prd"](1024,null,ht,function(t){return[t]},[mt]),r["\u0275did"](138,671744,null,0,se,[[3,ot],[2,at],[8,null],[2,ht]],{name:[0,"name"]},null),r["\u0275prd"](2048,null,wt,null,[se]),r["\u0275did"](140,16384,null,0,zt,[wt],null,null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,el)),r["\u0275did"](143,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](146,0,null,null,20,"div",[["class","form-group"]],null,null,null,null,null)),r["\u0275did"](147,278528,null,0,s.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["\u0275pod"](148,{"has-danger":0,"has-success":1}),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](150,0,null,null,1,"label",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Competition Picture"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](153,0,[["imagePath",1]],null,7,"input",[["class","form-control"],["formControlName","competitionPicture"],["placeholder","Enter competition picture link"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var i=!0;return"input"===e&&(i=!1!==r["\u0275nov"](t,154)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==r["\u0275nov"](t,154).onTouched()&&i),"compositionstart"===e&&(i=!1!==r["\u0275nov"](t,154)._compositionStart()&&i),"compositionend"===e&&(i=!1!==r["\u0275nov"](t,154)._compositionEnd(n.target.value)&&i),i},null,null)),r["\u0275did"](154,16384,null,0,mt,[r.Renderer2,r.ElementRef,[2,gt]],null,null),r["\u0275did"](155,16384,null,0,ae,[],{required:[0,"required"]},null),r["\u0275prd"](1024,null,at,function(t){return[t]},[ae]),r["\u0275prd"](1024,null,ht,function(t){return[t]},[mt]),r["\u0275did"](158,671744,null,0,se,[[3,ot],[2,at],[8,null],[2,ht]],{name:[0,"name"]},null),r["\u0275prd"](2048,null,wt,null,[se]),r["\u0275did"](160,16384,null,0,zt,[wt],null,null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](162,0,null,null,0,"img",[["class","input-picture-link"]],[[8,"src",4]],null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,rl)),r["\u0275did"](165,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](169,0,null,null,7,"div",[["class","add_form_row"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](171,0,null,null,1,"button",[["class","btn btn-outline-primary btn_control"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.saveNewCompetition()&&r),r},null,null)),(t()(),r["\u0275ted"](-1,null,["\n Add\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](174,0,null,null,1,"button",[["class","btn btn-outline-danger btn_control"],["type","button"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.toggleAddNewCompetition()&&r),r},null,null)),(t()(),r["\u0275ted"](-1,null,["\n Cancel\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,il)),r["\u0275did"](179,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275ted"](-1,null,["\n\n"])),(t()(),r["\u0275eld"](184,0,null,null,15,"div",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](186,0,null,null,1,"p",[["class","select_multiple_message"]],[[8,"hidden",0]],null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n Select multiple competitions by holding CTRL\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](189,0,null,null,9,"div",[["class","competition-table"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](191,0,null,null,6,"ngx-datatable",[["class","material ngx-datatable"],["id","myFrame"]],[[2,"fixed-header",null],[2,"fixed-row",null],[2,"scroll-vertical",null],[2,"scroll-horz",null],[2,"selectable",null],[2,"checkbox-selection",null],[2,"cell-selection",null],[2,"single-selection",null],[2,"multi-selection",null],[2,"multi-click-selection",null]],[[null,"select"],["window","resize"]],function(t,e,n){var i=!0,o=t.component;return"window:resize"===e&&(i=!1!==r["\u0275nov"](t,192).onWindowResize()&&i),"select"===e&&(i=!1!==o.onSelect(n)&&i),i},ia,ea)),r["\u0275did"](192,5619712,null,4,Js.DatatableComponent,[[1,Cs.ScrollbarHelper],[1,ta.DimensionsHelper],r.ChangeDetectorRef,r.ElementRef,r.KeyValueDiffers],{rows:[0,"rows"],columns:[1,"columns"],selected:[2,"selected"],rowHeight:[3,"rowHeight"],columnMode:[4,"columnMode"],headerHeight:[5,"headerHeight"],footerHeight:[6,"footerHeight"],limit:[7,"limit"],selectionType:[8,"selectionType"],reorderable:[9,"reorderable"]},{select:"select"}),r["\u0275qud"](603979776,1,{columnTemplates:1}),r["\u0275qud"](335544320,2,{rowDetail:0}),r["\u0275qud"](335544320,3,{groupHeader:0}),r["\u0275qud"](335544320,4,{footer:0}),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n\n"])),(t()(),r["\u0275ted"](-1,null,["\n\n"]))],function(t,e){var n=e.component;t(e,11,0,n.showCardSuccessAdded),t(e,14,0,n.showCardSuccessDeleted),t(e,20,0,n.competitionsForm),t(e,30,0,"form-group",t(e,31,0,n.competitionName.invalid&&(n.competitionName.dirty||n.competitionName.touched),n.competitionName.valid&&(n.competitionName.dirty||n.competitionName.touched))),t(e,38,0,""),t(e,41,0,"competitionName"),t(e,46,0,n.competitionName.errors&&(n.competitionName.dirty||n.competitionName.touched)),t(e,50,0,"form-group",t(e,51,0,n.competitionDate.invalid&&(n.competitionDate.dirty||n.competitionDate.touched),n.competitionDate.valid&&(n.competitionDate.dirty||n.competitionDate.touched))),t(e,58,0,""),t(e,61,0,"competitionDate"),t(e,66,0,n.competitionDate.errors&&(n.competitionDate.dirty||n.competitionDate.touched)),t(e,70,0,"competitionRides"),t(e,75,0,"form-group",t(e,76,0,n.competitionRide1.invalid&&(n.competitionRide1.dirty||n.competitionRide1.touched),n.competitionRide1.valid&&(n.competitionRide1.dirty||n.competitionRide1.touched))),t(e,84,0,""),t(e,87,0,"competitionRide1"),t(e,92,0,n.competitionRide1.errors&&(n.competitionRide1.dirty||n.competitionRide1.touched)),t(e,96,0,"form-group",t(e,97,0,n.competitionRide1.invalid&&(n.competitionRide1.dirty||n.competitionRide1.touched),n.competitionRide1.valid&&(n.competitionRide1.dirty||n.competitionRide1.touched))),t(e,107,0,""),t(e,110,0,"competitionRide2"),t(e,119,0,n.competitionRide1.errors&&(n.competitionRide1.dirty||n.competitionRide1.touched)),t(e,123,0,n.showInput),t(e,127,0,"form-group",t(e,128,0,n.competitionLink.invalid&&(n.competitionLink.dirty||n.competitionLink.touched),n.competitionLink.valid&&(n.competitionLink.dirty||n.competitionLink.touched))),t(e,135,0,""),t(e,138,0,"competitionLink"),t(e,143,0,n.competitionLink.errors&&(n.competitionLink.dirty||n.competitionLink.touched)),t(e,147,0,"form-group",t(e,148,0,n.competitionPicture.invalid&&(n.competitionPicture.dirty||n.competitionPicture.touched),n.competitionPicture.valid&&(n.competitionPicture.dirty||n.competitionPicture.touched))),t(e,155,0,""),t(e,158,0,"competitionPicture"),t(e,165,0,n.competitionPicture.errors&&(n.competitionPicture.dirty||n.competitionPicture.touched)),t(e,179,0,n.showCardError),t(e,192,0,n.rows,n.columns,n.selected,"auto","force",40,40,10,"multi",n.reorderable)},function(t,e){var n=e.component;t(e,7,0,n.removeButton),t(e,16,0,!n.showAddForm),t(e,18,0,r["\u0275nov"](e,22).ngClassUntouched,r["\u0275nov"](e,22).ngClassTouched,r["\u0275nov"](e,22).ngClassPristine,r["\u0275nov"](e,22).ngClassDirty,r["\u0275nov"](e,22).ngClassValid,r["\u0275nov"](e,22).ngClassInvalid,r["\u0275nov"](e,22).ngClassPending),t(e,36,0,r["\u0275nov"](e,38).required?"":null,r["\u0275nov"](e,43).ngClassUntouched,r["\u0275nov"](e,43).ngClassTouched,r["\u0275nov"](e,43).ngClassPristine,r["\u0275nov"](e,43).ngClassDirty,r["\u0275nov"](e,43).ngClassValid,r["\u0275nov"](e,43).ngClassInvalid,r["\u0275nov"](e,43).ngClassPending),t(e,56,0,r["\u0275inlineInterpolate"](1,"",n.today,""),r["\u0275nov"](e,58).required?"":null,r["\u0275nov"](e,63).ngClassUntouched,r["\u0275nov"](e,63).ngClassTouched,r["\u0275nov"](e,63).ngClassPristine,r["\u0275nov"](e,63).ngClassDirty,r["\u0275nov"](e,63).ngClassValid,r["\u0275nov"](e,63).ngClassInvalid,r["\u0275nov"](e,63).ngClassPending),t(e,69,0,r["\u0275nov"](e,72).ngClassUntouched,r["\u0275nov"](e,72).ngClassTouched,r["\u0275nov"](e,72).ngClassPristine,r["\u0275nov"](e,72).ngClassDirty,r["\u0275nov"](e,72).ngClassValid,r["\u0275nov"](e,72).ngClassInvalid,r["\u0275nov"](e,72).ngClassPending),t(e,81,0,r["\u0275nov"](e,84).required?"":null,r["\u0275nov"](e,89).ngClassUntouched,r["\u0275nov"](e,89).ngClassTouched,r["\u0275nov"](e,89).ngClassPristine,r["\u0275nov"](e,89).ngClassDirty,r["\u0275nov"](e,89).ngClassValid,r["\u0275nov"](e,89).ngClassInvalid,r["\u0275nov"](e,89).ngClassPending),t(e,104,0,r["\u0275nov"](e,107).required?"":null,r["\u0275nov"](e,112).ngClassUntouched,r["\u0275nov"](e,112).ngClassTouched,r["\u0275nov"](e,112).ngClassPristine,r["\u0275nov"](e,112).ngClassDirty,r["\u0275nov"](e,112).ngClassValid,r["\u0275nov"](e,112).ngClassInvalid,r["\u0275nov"](e,112).ngClassPending),t(e,114,0,!n.competitionRide2.valid),t(e,133,0,r["\u0275nov"](e,135).required?"":null,r["\u0275nov"](e,140).ngClassUntouched,r["\u0275nov"](e,140).ngClassTouched,r["\u0275nov"](e,140).ngClassPristine,r["\u0275nov"](e,140).ngClassDirty,r["\u0275nov"](e,140).ngClassValid,r["\u0275nov"](e,140).ngClassInvalid,r["\u0275nov"](e,140).ngClassPending),t(e,153,0,r["\u0275nov"](e,155).required?"":null,r["\u0275nov"](e,160).ngClassUntouched,r["\u0275nov"](e,160).ngClassTouched,r["\u0275nov"](e,160).ngClassPristine,r["\u0275nov"](e,160).ngClassDirty,r["\u0275nov"](e,160).ngClassValid,r["\u0275nov"](e,160).ngClassInvalid,r["\u0275nov"](e,160).ngClassPending),t(e,162,0,r["\u0275nov"](e,153).value),t(e,171,0,!n.competitionsForm.valid),t(e,186,0,n.removeButton),t(e,191,0,r["\u0275nov"](e,192).isFixedHeader,r["\u0275nov"](e,192).isFixedRow,r["\u0275nov"](e,192).isVertScroll,r["\u0275nov"](e,192).isHorScroll,r["\u0275nov"](e,192).isSelectable,r["\u0275nov"](e,192).isCheckboxSelection,r["\u0275nov"](e,192).isCellSelection,r["\u0275nov"](e,192).isSingleSelection,r["\u0275nov"](e,192).isMultiSelection,r["\u0275nov"](e,192).isMultiClickSelection)})}var sl=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),al=r["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function ll(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n admin-gallery works!\n"])),(t()(),r["\u0275ted"](-1,null,["\n"]))],null,null)}var ul=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),cl=r["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function dl(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n admin-statistics works!\n"])),(t()(),r["\u0275ted"](-1,null,["\n"]))],null,null)}var pl=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),hl=r["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function fl(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n admin-blog works!\n"])),(t()(),r["\u0275ted"](-1,null,["\n"]))],null,null)}var gl=function(){this.justify="start",this.orientation="horizontal",this.type="tabs"},ml=0,yl=function(t){this.templateRef=t},vl=function(){return function(){this.id="ngb-tab-"+ml++,this.disabled=!1}}(),bl=function(){function t(t){this.destroyOnHide=!0,this.tabChange=new r.EventEmitter,this.type=t.type,this.justify=t.justify,this.orientation=t.orientation}return Object.defineProperty(t.prototype,"justify",{set:function(t){this.justifyClass="fill"===t||"justified"===t?"nav-"+t:"justify-content-"+t},enumerable:!0,configurable:!0}),t.prototype.select=function(t){var e=this._getTabById(t);if(e&&!e.disabled&&this.activeId!==e.id){var n=!1;this.tabChange.emit({activeId:this.activeId,nextId:e.id,preventDefault:function(){n=!0}}),n||(this.activeId=e.id)}},t.prototype.ngAfterContentChecked=function(){var t=this._getTabById(this.activeId);this.activeId=t?t.id:this.tabs.length?this.tabs.first.id:null},t.prototype._getTabById=function(t){var e=this.tabs.filter(function(e){return e.id===t});return e.length?e[0]:null},t}(),_l=r["\u0275crt"]({encapsulation:2,styles:[],data:{}});function wl(t){return r["\u0275vid"](0,[(t()(),r["\u0275and"](0,null,null,0))],null,null)}function Cl(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,7,"li",[["class","nav-item"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](2,0,null,null,4,"a",[["class","nav-link"],["href",""],["role","tab"]],[[8,"id",0],[2,"active",null],[2,"disabled",null],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=0!=!!t.component.select(t.context.$implicit.id)&&r),r},null,null)),(t()(),r["\u0275ted"](3,null,["\n ",""])),(t()(),r["\u0275and"](16777216,null,null,1,null,wl)),r["\u0275did"](5,540672,null,0,s.NgTemplateOutlet,[r.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){t(e,5,0,null==e.context.$implicit.titleTpl?null:e.context.$implicit.titleTpl.templateRef)},function(t,e){var n=e.component;t(e,2,0,e.context.$implicit.id,e.context.$implicit.id===n.activeId,e.context.$implicit.disabled,e.context.$implicit.disabled?"-1":void 0,n.destroyOnHide&&e.context.$implicit.id!==n.activeId?null:e.context.$implicit.id+"-panel",e.context.$implicit.id===n.activeId,e.context.$implicit.disabled),t(e,3,0,e.context.$implicit.title)})}function xl(t){return r["\u0275vid"](0,[(t()(),r["\u0275and"](0,null,null,0))],null,null)}function Ol(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,4,"div",[["role","tabpanel"]],[[8,"className",0],[1,"aria-labelledby",0],[8,"id",0],[1,"aria-expanded",0]],null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,xl)),r["\u0275did"](3,540672,null,0,s.NgTemplateOutlet,[r.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){t(e,3,0,e.parent.context.$implicit.contentTpl.templateRef)},function(t,e){var n=e.component;t(e,0,0,r["\u0275inlineInterpolate"](1,"tab-pane ",e.parent.context.$implicit.id===n.activeId?"active":null,""),e.parent.context.$implicit.id,r["\u0275inlineInterpolate"](1,"",e.parent.context.$implicit.id,"-panel"),e.parent.context.$implicit.id===n.activeId)})}function Sl(t){return r["\u0275vid"](0,[(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,Ol)),r["\u0275did"](2,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){var n=e.component;t(e,2,0,!n.destroyOnHide||e.context.$implicit.id===n.activeId)},null)}function El(t){return r["\u0275vid"](0,[(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](1,0,null,null,4,"ul",[["role","tablist"]],[[8,"className",0]],null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,Cl)),r["\u0275did"](4,802816,null,0,s.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](7,0,null,null,4,"div",[["class","tab-content"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,Sl)),r["\u0275did"](10,802816,null,0,s.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "]))],function(t,e){var n=e.component;t(e,4,0,n.tabs),t(e,10,0,n.tabs)},function(t,e){var n=e.component;t(e,1,0,"nav nav-"+n.type+("horizontal"==n.orientation?" "+n.justifyClass:" flex-column"))})}var Pl=n("4zOZ"),Tl=n("Qnch");function kl(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),Object(Tl.a)(t,e,n)(this)}var Dl=n("zVgD"),Il=n("T4hI");function Rl(t){return Object(Il.a)(t)(this)}var Ml=n("319O");function Al(){return Object(Ml.a)()(this)}var jl=n("keGL");function Nl(t,e,n){return Object(jl.a)(t,e,n)(this)}var Vl=n("CB8l"),Fl=n("ehgS");function Ll(t,e){return Object(Fl.a)(t,e)(this)}var Bl=n("FcdX");function Hl(t,e,n){return Object(Bl.a)(t,e,n)(this)}var zl=n("8D5t");function Wl(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),Object(zl.a)(t)(this)}var Ul=n("/4Bh"),Gl=function(t,e){this.id=t,this.url=e},ql=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(U.__extends)(e,t),e.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},e}(Gl),$l=function(t){function e(e,n,r){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i}return Object(U.__extends)(e,t),e.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},e}(Gl),Yl=function(t){function e(e,n,r){var i=t.call(this,e,n)||this;return i.reason=r,i}return Object(U.__extends)(e,t),e.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},e}(Gl),Kl=function(t){function e(e,n,r){var i=t.call(this,e,n)||this;return i.error=r,i}return Object(U.__extends)(e,t),e.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},e}(Gl),Zl=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return Object(U.__extends)(e,t),e.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Gl),Xl=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return Object(U.__extends)(e,t),e.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Gl),Ql=function(t){function e(e,n,r,i,o){var s=t.call(this,e,n)||this;return s.urlAfterRedirects=r,s.state=i,s.shouldActivate=o,s}return Object(U.__extends)(e,t),e.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},e}(Gl),Jl=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return Object(U.__extends)(e,t),e.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Gl),tu=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return Object(U.__extends)(e,t),e.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Gl),eu=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},t}(),nu=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},t}(),ru=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),iu=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),ou=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),su=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),au="primary",lu=function(){function t(t){this.params=t||{}}return t.prototype.has=function(t){return this.params.hasOwnProperty(t)},t.prototype.get=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null},t.prototype.getAll=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]},Object.defineProperty(t.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),t}();function uu(t){return new lu(t)}function cu(t,e,n){var r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length0?t[t.length-1]:null}function bu(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function _u(t){var e=Wl.call(t);return Ll.call(e,function(t){return!0===t})}function wu(t){return Object(r["\u0275isObservable"])(t)?t:Object(r["\u0275isPromise"])(t)?tt(Promise.resolve(t)):Object(Vn.a)(t)}function Cu(t,e,n){return n?function(t,e){return mu(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!Eu(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(function(n){return e[n]===t[n]})}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,i){if(n.segments.length>i.length)return!!Eu(s=n.segments.slice(0,i.length),i)&&!r.hasChildren();if(n.segments.length===i.length){if(!Eu(n.segments,i))return!1;for(var o in r.children){if(!n.children[o])return!1;if(!t(n.children[o],r.children[o]))return!1}return!0}var s=i.slice(0,n.segments.length),a=i.slice(n.segments.length);return!!Eu(n.segments,s)&&!!n.children[au]&&e(n.children[au],r,a)}(e,n,n.segments)}(t.root,e.root)}var xu=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=uu(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Du.serialize(this)},t}(),Ou=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,bu(e,function(t,e){return t.parent=n})}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Iu(this)},t}(),Su=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=uu(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Vu(this)},t}();function Eu(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}function Pu(t,e){var n=[];return bu(t.children,function(t,r){r===au&&(n=n.concat(e(t,r)))}),bu(t.children,function(t,r){r!==au&&(n=n.concat(e(t,r)))}),n}var Tu=function(){},ku=function(){function t(){}return t.prototype.parse=function(t){var e=new zu(t);return new xu(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n;return"/"+function t(e,n){if(!e.hasChildren())return Iu(e);if(n){var r=e.children[au]?t(e.children[au],!1):"",i=[];return bu(e.children,function(e,n){n!==au&&i.push(n+":"+t(e,!1))}),i.length>0?r+"("+i.join("//")+")":r}var o=Pu(e,function(n,r){return r===au?[t(e.children[au],!1)]:[r+":"+t(n,!1)]});return Iu(e)+"/("+o.join("//")+")"}(t.root,!0)+(e=t.queryParams,(n=Object.keys(e).map(function(t){var n=e[t];return Array.isArray(n)?n.map(function(e){return Mu(t)+"="+Mu(e)}).join("&"):Mu(t)+"="+Mu(n)})).length?"?"+n.join("&"):"")+("string"==typeof t.fragment?"#"+Mu(t.fragment):"")},t}(),Du=new ku;function Iu(t){return t.segments.map(function(t){return Vu(t)}).join("/")}function Ru(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Mu(t){return Ru(t).replace(/%3B/gi,";")}function Au(t){return Ru(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ju(t){return decodeURIComponent(t)}function Nu(t){return ju(t.replace(/\+/g,"%20"))}function Vu(t){return""+Au(t.path)+(e=t.parameters,Object.keys(e).map(function(t){return";"+Au(t)+"="+Au(e[t])}).join(""));var e}var Fu=/^[^\/()?;=&#]+/;function Lu(t){var e=t.match(Fu);return e?e[0]:""}var Bu=/^[^=?&#]+/,Hu=/^[^?&#]+/,zu=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ou([],{}):new Ou([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[au]=new Ou(t,e)),n},t.prototype.parseSegment=function(){var t=Lu(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new Su(ju(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=Lu(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=Lu(this.remaining);r&&this.capture(n=r)}t[ju(e)]=ju(n)}},t.prototype.parseQueryParam=function(t){var e,n=(e=this.remaining.match(Bu))?e[0]:"";if(n){this.capture(n);var r="";if(this.consumeOptional("=")){var i=function(t){var e=t.match(Hu);return e?e[0]:""}(this.remaining);i&&this.capture(r=i)}var o=Nu(n),s=Nu(r);if(t.hasOwnProperty(o)){var a=t[o];Array.isArray(a)||(t[o]=a=[a]),a.push(s)}else t[o]=s}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Lu(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=au);var o=this.parseChildren();e[i]=1===Object.keys(o).length?o[au]:new Ou([],o),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),Wu=function(t){this.segmentGroup=t||null},Uu=function(t){this.urlTree=t};function Gu(t){return new G.Observable(function(e){return e.error(new Wu(t))})}function qu(t){return new G.Observable(function(e){return e.error(new Uu(t))})}function $u(t){return new G.Observable(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))})}var Yu=function(){function t(t,e,n,i,o){this.configLoader=e,this.urlSerializer=n,this.urlTree=i,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(r.NgModuleRef)}return t.prototype.apply=function(){var t=this,e=this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,au),n=nt.call(e,function(e){return t.createUrlTree(e,t.urlTree.queryParams,t.urlTree.fragment)});return Rl.call(n,function(e){if(e instanceof Uu)return t.allowRedirects=!1,t.match(e.urlTree);if(e instanceof Wu)throw t.noMatchError(e);throw e})},t.prototype.match=function(t){var e=this,n=this.expandSegmentGroup(this.ngModule,this.config,t.root,au),r=nt.call(n,function(n){return e.createUrlTree(n,t.queryParams,t.fragment)});return Rl.call(r,function(t){if(t instanceof Wu)throw e.noMatchError(t);throw t})},t.prototype.noMatchError=function(t){return new Error("Cannot match any routes. URL Segment: '"+t.segmentGroup+"'")},t.prototype.createUrlTree=function(t,e,n){var r,i=t.segments.length>0?new Ou([],((r={})[au]=t,r)):t;return new xu(i,e,n)},t.prototype.expandSegmentGroup=function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?nt.call(this.expandChildren(t,e,n),function(t){return new Ou([],t)}):this.expandSegment(t,n,e,n.segments,r,!0)},t.prototype.expandChildren=function(t,e,n){var r=this;return function(n,i){if(0===Object.keys(n).length)return Object(Vn.a)({});var o=[],s=[],a={};bu(n,function(n,i){var l=nt.call(r.expandSegmentGroup(t,e,n,i),function(t){return a[i]=t});i===au?o.push(l):s.push(l)});var l=Al.call(Vn.a.apply(void 0,o.concat(s))),u=Hl.call(l);return nt.call(u,function(){return a})}(n.children)},t.prototype.expandSegment=function(t,e,n,r,i,o){var s=this,a=Vn.a.apply(void 0,n),l=nt.call(a,function(a){var l=s.expandSegmentAgainstRoute(t,e,n,a,r,i,o);return Rl.call(l,function(t){if(t instanceof Wu)return Object(Vn.a)(null);throw t})}),u=Al.call(l),c=Nl.call(u,function(t){return!!t});return Rl.call(c,function(t,n){if(t instanceof Vl.a||"EmptyError"===t.name){if(s.noLeftoversInUrl(e,r,i))return Object(Vn.a)(new Ou([],{}));throw new Wu(e)}throw t})},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,r,i,o,s){return Qu(r)!==o?Gu(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,i):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o):Gu(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,r){var i=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?qu(o):kl.call(this.lineralizeSegments(n,o),function(n){var o=new Ou(n,{});return i.expandSegment(t,o,e,n,r,!1)})},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,r,i,o){var s=this,a=Ku(e,r,i),l=a.consumedSegments,u=a.lastChild,c=a.positionalParamSegments;if(!a.matched)return Gu(e);var d=this.applyRedirectCommands(l,r.redirectTo,c);return r.redirectTo.startsWith("/")?qu(d):kl.call(this.lineralizeSegments(r,d),function(r){return s.expandSegment(t,e,n,r.concat(i.slice(u)),o,!1)})},t.prototype.matchSegmentAgainstRoute=function(t,e,n,r){var i=this;if("**"===n.path)return n.loadChildren?nt.call(this.configLoader.load(t.injector,n),function(t){return n._loadedConfig=t,new Ou(r,{})}):Object(Vn.a)(new Ou(r,{}));var o=Ku(e,n,r),s=o.consumedSegments,a=o.lastChild;if(!o.matched)return Gu(e);var l=r.slice(a),u=this.getChildConfig(t,n);return kl.call(u,function(t){var n=t.module,r=t.routes,o=function(t,e,n,r){return n.length>0&&function(t,e,n){return r.some(function(n){return Xu(t,e,n)&&Qu(n)!==au})}(t,n)?{segmentGroup:Zu(new Ou(e,function(t,e){var n={};n[au]=e;for(var r=0,i=t;r1||!r.children[au])return $u(t.redirectTo);r=r.children[au]}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,r){var i=this.createSegmentGroup(t,e.root,n,r);return new xu(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return bu(t,function(t,r){if("string"==typeof t&&t.startsWith(":")){var i=t.substring(1);n[r]=e[i]}else n[r]=t}),n},t.prototype.createSegmentGroup=function(t,e,n,r){var i=this,o=this.createSegments(t,e.segments,n,r),s={};return bu(e.children,function(e,o){s[o]=i.createSegmentGroup(t,e,n,r)}),new Ou(o,s)},t.prototype.createSegments=function(t,e,n,r){var i=this;return e.map(function(e){return e.path.startsWith(":")?i.findPosParam(t,e,r):i.findOrReturn(e,n)})},t.prototype.findPosParam=function(t,e,n){var r=n[e.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return r},t.prototype.findOrReturn=function(t,e){for(var n=0,r=0,i=e;r0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(e.matcher||cu)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Zu(t){if(1===t.numberOfChildren&&t.children[au]){var e=t.children[au];return new Ou(t.segments.concat(e.segments),e.children)}return t}function Xu(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Qu(t){return t.outlet||au}var Ju=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null},t.prototype.children=function(t){var e=tc(t,this._root);return e?e.children.map(function(t){return t.value}):[]},t.prototype.firstChild=function(t){var e=tc(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=ec(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(t){return t.value}).filter(function(e){return e!==t})},t.prototype.pathFromRoot=function(t){return ec(t,this._root).map(function(t){return t.value})},t}();function tc(t,e){if(t===e.value)return e;for(var n=0,r=e.children;n=1;){var i=n[r],o=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(o.component)break;r--}}return function(t){return t.reduce(function(t,e){return{params:Object(U.__assign)({},t.params,e.params),data:Object(U.__assign)({},t.data,e.data),resolve:Object(U.__assign)({},t.resolve,e._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(r))}var lc=function(){function t(t,e,n,r,i,o,s,a,l,u,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=s,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=u,this._resolve=c}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=uu(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=uu(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map(function(t){return t.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),uc=function(t){function e(e,n){var r=t.call(this,n)||this;return r.url=e,cc(r,n),r}return Object(U.__extends)(e,t),e.prototype.toString=function(){return dc(this._root)},e}(Ju);function cc(t,e){e.value._routerState=t,e.children.forEach(function(e){return cc(t,e)})}function dc(t){var e=t.children.length>0?" { "+t.children.map(dc).join(", ")+" } ":"";return""+t.value+e}function pc(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,mu(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),mu(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n0&&fc(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(t){return"object"==typeof t&&null!=t&&t.outlets});if(r&&r!==vu(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),yc=function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n};function vc(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[au]:""+t}function bc(t,e,n){if(t||(t=new Ou([],{})),0===t.segments.length&&t.hasChildren())return _c(t,e,n);var r=function(t,e,n){for(var r=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};i=n.length)return o;var s=t.segments[i],a=vc(n[r]),l=r0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!Oc(a,l,s))return o;r+=2}else{if(!Oc(a,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex=2?Object(Ul.a)(t,e)(this):Object(Ul.a)(t)(this)}).call(r,function(t,e){return t})},t.prototype.isDeactivating=function(){return 0!==this.canDeactivateChecks.length},t.prototype.isActivating=function(){return 0!==this.canActivateChecks.length},t.prototype.setupChildRouteGuards=function(t,e,n,r){var i=this,o=rc(e);t.children.forEach(function(t){i.setupRouteGuards(t,o[t.value.outlet],n,r.concat([t.value])),delete o[t.value.outlet]}),bu(o,function(t,e){return i.deactivateRouteAndItsChildren(t,n.getContext(e))})},t.prototype.setupRouteGuards=function(t,e,n,r){var i=t.value,o=e?e.value:null,s=n?n.getContext(t.value.outlet):null;if(o&&i.routeConfig===o.routeConfig){var a=this.shouldRunGuardsAndResolvers(o,i,i.routeConfig.runGuardsAndResolvers);a?this.canActivateChecks.push(new Sc(r)):(i.data=o.data,i._resolvedData=o._resolvedData),this.setupChildRouteGuards(t,e,i.component?s?s.children:null:n,r),a&&this.canDeactivateChecks.push(new Ec(s.outlet.component,o))}else o&&this.deactivateRouteAndItsChildren(e,s),this.canActivateChecks.push(new Sc(r)),this.setupChildRouteGuards(t,null,i.component?s?s.children:null:n,r)},t.prototype.shouldRunGuardsAndResolvers=function(t,e,n){switch(n){case"always":return!0;case"paramsOrQueryParamsChange":return!hc(t,e)||!mu(t.queryParams,e.queryParams);case"paramsChange":default:return!hc(t,e)}},t.prototype.deactivateRouteAndItsChildren=function(t,e){var n=this,r=rc(t),i=t.value;bu(r,function(t,r){n.deactivateRouteAndItsChildren(t,i.component?e?e.children.getContext(r):null:e)}),this.canDeactivateChecks.push(new Ec(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))},t.prototype.runCanDeactivateChecks=function(){var t=this,e=Object(Dl.a)(this.canDeactivateChecks),n=kl.call(e,function(e){return t.runCanDeactivate(e.component,e.route)});return Ll.call(n,function(t){return!0===t})},t.prototype.runCanActivateChecks=function(){var t=this,e=Object(Dl.a)(this.canActivateChecks),n=sa.call(e,function(e){return _u(Object(Dl.a)([t.fireChildActivationStart(e.route.parent),t.fireActivationStart(e.route),t.runCanActivateChild(e.path),t.runCanActivate(e.route)]))});return Ll.call(n,function(t){return!0===t})},t.prototype.fireActivationStart=function(t){return null!==t&&this.forwardEvent&&this.forwardEvent(new ou(t)),Object(Vn.a)(!0)},t.prototype.fireChildActivationStart=function(t){return null!==t&&this.forwardEvent&&this.forwardEvent(new ru(t)),Object(Vn.a)(!0)},t.prototype.runCanActivate=function(t){var e=this,n=t.routeConfig?t.routeConfig.canActivate:null;return n&&0!==n.length?_u(nt.call(Object(Dl.a)(n),function(n){var r,i=e.getToken(n,t);return r=wu(i.canActivate?i.canActivate(t,e.future):i(t,e.future)),Nl.call(r)})):Object(Vn.a)(!0)},t.prototype.runCanActivateChild=function(t){var e=this,n=t[t.length-1],r=t.slice(0,t.length-1).reverse().map(function(t){return e.extractCanActivateChild(t)}).filter(function(t){return null!==t});return _u(nt.call(Object(Dl.a)(r),function(t){return _u(nt.call(Object(Dl.a)(t.guards),function(r){var i,o=e.getToken(r,t.node);return i=wu(o.canActivateChild?o.canActivateChild(n,e.future):o(n,e.future)),Nl.call(i)}))}))},t.prototype.extractCanActivateChild=function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null},t.prototype.runCanDeactivate=function(t,e){var n=this,r=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!r||0===r.length)return Object(Vn.a)(!0);var i=kl.call(Object(Dl.a)(r),function(r){var i,o=n.getToken(r,e);return i=wu(o.canDeactivate?o.canDeactivate(t,e,n.curr,n.future):o(t,e,n.curr,n.future)),Nl.call(i)});return Ll.call(i,function(t){return!0===t})},t.prototype.runResolve=function(t,e){return nt.call(this.resolveNode(t._resolve,t),function(n){return t._resolvedData=n,t.data=Object(U.__assign)({},t.data,ac(t,e).resolve),null})},t.prototype.resolveNode=function(t,e){var n=this,r=Object.keys(t);if(0===r.length)return Object(Vn.a)({});if(1===r.length){var i=r[0];return nt.call(this.getResolver(t[i],e),function(t){return(e={})[i]=t,e;var e})}var o={},s=kl.call(Object(Dl.a)(r),function(r){return nt.call(n.getResolver(t[r],e),function(t){return o[r]=t,t})});return nt.call(Hl.call(s),function(){return o})},t.prototype.getResolver=function(t,e){var n=this.getToken(t,e);return wu(n.resolve?n.resolve(e,this.future):n(e,this.future))},t.prototype.getToken=function(t,e){var n=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(n?n.module.injector:this.moduleInjector).get(t)},t}(),Tc=function(){},kc=function(){function t(t,e,n,r,i){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i}return t.prototype.recognize=function(){try{var t=Rc(this.urlTree.root,[],[],this.config).segmentGroup,e=this.processSegmentGroup(this.config,t,au),n=new lc([],Object.freeze({}),Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,{},au,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new nc(n,e),i=new uc(this.url,r);return this.inheritParamsAndData(i._root),Object(Vn.a)(i)}catch(t){return new G.Observable(function(e){return e.error(t)})}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,r=ac(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(function(t){return e.inheritParamsAndData(t)})},t.prototype.processSegmentGroup=function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)},t.prototype.processChildren=function(t,e){var n,r=this,i=Pu(e,function(e,n){return r.processSegmentGroup(t,e,n)});return n={},i.forEach(function(t){var e=n[t.value.outlet];if(e){var r=e.url.map(function(t){return t.toString()}).join("/"),i=t.value.url.map(function(t){return t.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+i+"'.")}n[t.value.outlet]=t.value}),i.sort(function(t,e){return t.value.outlet===au?-1:e.value.outlet===au?1:t.value.outlet.localeCompare(e.value.outlet)}),i},t.prototype.processSegment=function(t,e,n,r){for(var i=0,o=t;i0?vu(n).parameters:{};i=new lc(n,a,Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,jc(t),r,t.component,t,Dc(e),Ic(e)+n.length,Nc(t))}else{var l=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new Tc;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(e.matcher||cu)(n,t,e);if(!r)throw new Tc;var i={};bu(r.posParams,function(t,e){i[e]=t.path});var o=r.consumed.length>0?Object(U.__assign)({},i,r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:o}}(e,t,n);o=l.consumedSegments,s=n.slice(l.lastChild),i=new lc(o,l.parameters,Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,jc(t),r,t.component,t,Dc(e),Ic(e)+o.length,Nc(t))}var u=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),c=Rc(e,o,s,u),d=c.segmentGroup,p=c.slicedSegments;if(0===p.length&&d.hasChildren()){var h=this.processChildren(u,d);return[new nc(i,h)]}if(0===u.length&&0===p.length)return[new nc(i,[])];var f=this.processSegment(u,d,p,au);return[new nc(i,f)]},t}();function Dc(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function Ic(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Rc(t,e,n,r){if(n.length>0&&function(t,e,n){return r.some(function(n){return Mc(t,e,n)&&Ac(n)!==au})}(t,n)){var i=new Ou(e,function(t,e,n,r){var i={};i[au]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(var o=0,s=n;o0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Ac(t){return t.outlet||au}function jc(t){return t.data||{}}function Nc(t){return t.resolve||{}}var Vc=function(){},Fc=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),Lc=new r.InjectionToken("ROUTES"),Bc=function(){function t(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}return t.prototype.load=function(t,e){var n=this;this.onLoadStartListener&&this.onLoadStartListener(e);var r=this.loadModuleFactory(e.loadChildren);return nt.call(r,function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var i=r.create(t);return new du(yu(i.injector.get(Lc)).map(gu),i)})},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?tt(this.loader.load(t)):kl.call(wu(t()),function(t){return t instanceof r.NgModuleFactory?Object(Vn.a)(t):tt(e.compiler.compileModuleAsync(t))})},t}(),Hc=function(){},zc=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}();function Wc(t){throw t}function Uc(t){return Object(Vn.a)(null)}var Gc=function(){function t(t,e,n,i,o,s,a,l){var u=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=i,this.config=l,this.navigations=new Pl.BehaviorSubject(null),this.navigationId=0,this.events=new Ze.Subject,this.errorHandler=Wc,this.navigated=!1,this.hooks={beforePreactivation:Uc,afterPreactivation:Uc},this.urlHandlingStrategy=new zc,this.routeReuseStrategy=new Fc,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.ngModule=o.get(r.NgModuleRef),this.resetConfig(l),this.currentUrlTree=new xu(new Ou([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.configLoader=new Bc(s,a,function(t){return u.triggerEvent(new eu(t))},function(t){return u.triggerEvent(new nu(t))}),this.routerState=oc(this.currentUrlTree,this.rootComponentType),this.processNavigations()}return t.prototype.resetRootComponentType=function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType},t.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},t.prototype.setUpLocationChangeListener=function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(e){var n=t.urlSerializer.parse(e.url),r="popstate"===e.type?"popstate":"hashchange";setTimeout(function(){t.scheduleNavigation(n,r,{replaceUrl:!0})},0)}))},Object.defineProperty(t.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),t.prototype.triggerEvent=function(t){this.events.next(t)},t.prototype.resetConfig=function(t){pu(t),this.config=t.map(gu),this.navigated=!1},t.prototype.ngOnDestroy=function(){this.dispose()},t.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},t.prototype.createUrlTree=function(t,e){void 0===e&&(e={});var n=e.relativeTo,i=e.queryParams,o=e.fragment,s=e.preserveQueryParams,a=e.queryParamsHandling,l=e.preserveFragment;Object(r.isDevMode)()&&s&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var u=n||this.routerState.root,c=l?this.currentUrlTree.fragment:o,d=null;if(a)switch(a){case"merge":d=Object(U.__assign)({},this.currentUrlTree.queryParams,i);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=i||null}else d=s?this.currentUrlTree.queryParams:i||null;return null!==d&&(d=this.removeEmptyProps(d)),function(t,e,n,r,i){if(0===n.length)return gc(e.root,e.root,e,r,i);var o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new mc(!0,0,t);var e=0,n=!1,r=t.reduce(function(t,r,i){if("object"==typeof r&&null!=r){if(r.outlets){var o={};return bu(r.outlets,function(t,e){o[e]="string"==typeof t?t.split("/"):t}),t.concat([{outlets:o}])}if(r.segmentPath)return t.concat([r.segmentPath])}return"string"!=typeof r?t.concat([r]):0===i?(r.split("/").forEach(function(r,i){0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):t.concat([r])},[]);return new mc(n,e,r)}(n);if(o.toRoot())return gc(e.root,new Ou([],{}),e,r,i);var s=function(t,n,r){if(t.isAbsolute)return new yc(e.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new yc(r.snapshot._urlSegment,!0,0);var i=fc(t.commands[0])?0:1;return function(e,n,o){for(var s=r.snapshot._urlSegment,a=r.snapshot._lastPathIndex+i,l=t.numberOfDoubleDots;l>a;){if(l-=a,!(s=s.parent))throw new Error("Invalid number of '../'");a=s.segments.length}return new yc(s,!1,a-l)}()}(o,0,t),a=s.processChildren?_c(s.segmentGroup,s.index,o.commands):bc(s.segmentGroup,s.index,o.commands);return gc(s.segmentGroup,a,e,r,i)}(u,this.currentUrlTree,t,d,c)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1});var n=t instanceof xu?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),function(t){for(var e=0;e1?1:s._percentage,s._position=s._startPosition+(s._startPosition-s._to<0?1:-1)*s._distance*Dd[s._options.easing](s._percentage),s._source$.next(s._position),s._isWindow?s._listenerTarget.scrollTo(0,Math.floor(s._position)):s._container.scrollTop=Math.floor(s._position),s.stop(!1)},this._tick=16,this._interval=null,this._timeLapsed=0,this._windowScrollTop=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,this._startPosition=this._isWindow?this._windowScrollTop:this._container.scrollTop,this._isWindow||(this._to=this._to-this._container.getBoundingClientRect().top+this._startPosition);var a=this._startPosition-this._to;this._distance=Math.abs(this._startPosition-this._to),this._mappedOffset=this._options.offset,this._isBrowser&&this._options.offsetMap.forEach(function(t,e){return s._mappedOffset=window.innerWidth>e?t:s._mappedOffset}),this._distance+=this._mappedOffset*(a<=0?1:-1),this._source$=new Td.a}return t.prototype.start=function(){return clearInterval(this._interval),this._interval=setInterval(this._loop,this._tick),this._source$.asObservable()},t.prototype.stop=function(t){void 0===t&&(t=!0);var e=this._isWindow?this._windowScrollTop:this._container.scrollTop;(t||Math.trunc(this._position)===this._to+this._mappedOffset||e===this._to+this._mappedOffset)&&(clearInterval(this._interval),this._interval=null,this._source$.complete())},t}(),Ad=function(){function t(t,e){this._document=t,this._platformId=e,this._interruptiveEvents=["mousewheel","DOMMouseScroll","touchstart"]}return t.prototype.scrollTo=function(t){return Object(s.isPlatformBrowser)(this._platformId)?this._start(t):(new Td.a).asObservable()},t.prototype._start=function(t){var e=this,n=Object.assign({},kd,t);this._animation&&this._animation.stop();var r=this._getNode(n.target);if(!r)return G.Observable.throw(new Error("Unable to get Target Element"));var i=this._getContainer(n,r);if(!i)return G.Observable.throw(new Error("Unable to get Container Element"));var o=this._getListenerTarget(i),a=Rd(o)?r.offsetTop:r.getBoundingClientRect().top;this._animation=new Md(i,o,Rd(o),a,n,Object(s.isPlatformBrowser)(this._platformId));var l=function(){return e._animation.stop()};this._addInterruptiveEventListeners(o,l);var u=this._animation.start();return this._subscribeToAnimation(u,o,l),u},t.prototype._subscribeToAnimation=function(t,e,n){var r=this,i=t.subscribe(function(){},function(){},function(){r._removeInterruptiveEventListeners(r._interruptiveEvents,e,n),i.unsubscribe()})},t.prototype._getContainer=function(t,e){return t.container?this._getNode(t.container,!0):this._getFirstScrollableParent(e)},t.prototype._addInterruptiveEventListeners=function(t,e){this._interruptiveEvents.forEach(function(n){return t.addEventListener(n,e)})},t.prototype._removeInterruptiveEventListeners=function(t,e,n){t.forEach(function(t){return e.removeEventListener(t,n)})},t.prototype._getFirstScrollableParent=function(t){var e=window.getComputedStyle(t),n=/(auto|scroll)/;if("fixed"===e.position)return null;for(var r=t;r=r.parentElement;null)if("absolute"!==(e=window.getComputedStyle(r)).position&&"hidden"!==e.overflow&&"hidden"!==e.overflowY&&(n.test(e.overflow+e.overflowY+e.overflowX)||"BODY"===r.tagName))return r;return null},t.prototype._getNode=function(t,e){var n,i;return void 0===e&&(e=!1),"string"==typeof(i=t)||i instanceof String?n=!e||"body"!==t&&"BODY"!==t?this._document.getElementById(function(t){return"#"===t.substring(0,1)?t.substring(1):t}(t)):this._document.body:function(t){return!isNaN(parseFloat(t))&&isFinite(t)}(t)?n=this._document.getElementById(String(t)):t instanceof r.ElementRef?n=t.nativeElement:t instanceof HTMLElement&&(n=t),n},t.prototype._getListenerTarget=function(t){return this._isDocumentBody(t)?window:t},t.prototype._isDocumentBody=function(t){return"BODY"===t.tagName.toUpperCase()},t}(),jd=function(){function t(t,e,n){this._elementRef=t,this._scrollToService=e,this._renderer2=n,this.ngxScrollTo=kd.target,this.ngxScrollToEvent=kd.action,this.ngxScrollToDuration=kd.duration,this.ngxScrollToEasing=kd.easing,this.ngxScrollToOffset=kd.offset,this.ngxScrollToOffsetMap=kd.offsetMap}return t.prototype.ngAfterViewInit=function(){var t=this;if(-1===Id.indexOf(this.ngxScrollToEvent))throw new Error("Unsupported Event '"+this.ngxScrollToEvent+"'");this._renderer2.listen(this._elementRef.nativeElement,this.ngxScrollToEvent,function(e){t._options={target:t.ngxScrollTo,duration:t.ngxScrollToDuration,easing:t.ngxScrollToEasing,offset:t.ngxScrollToOffset,offsetMap:t.ngxScrollToOffsetMap},t._scrollToService.scrollTo(t._options)})},t}(),Nd=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[Ad]}},t}(),Vd=function(){function t(t){this.router=t}return t.prototype.ngOnInit=function(){},t.prototype.goLogin=function(){this.router.navigate(["login"])},t}(),Fd=r["\u0275crt"]({encapsulation:0,styles:[[".nav-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:18px;text-align:center;color:#fff;display:inline;overflow:hidden;cursor:pointer}.nav-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#f47920}.nav-container[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.bg-dark[_ngcontent-%COMP%]{background-color:#050c26!important}.navbar-brand[_ngcontent-%COMP%]{padding:20px 0}.c-navbar-menu[_ngcontent-%COMP%]{padding-top:21px}.navbar-brand[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{height:100%;width:auto}.navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{padding-left:30px}"]],data:{}});function Ld(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,72,"nav",[["class","navbar navbar-expand-lg navbar-dark bg-dark"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](2,0,null,null,69,"div",[["class","container nav-container"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](4,0,null,null,1,"a",[["class","navbar-brand nav-justified mr-auto"],["href","#"]],null,null,null,null,null)),(t()(),r["\u0275eld"](5,0,null,null,0,"img",[["alt",""],["src","/assets/biking-logo.png"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](7,0,null,null,3,"button",[["aria-controls","navbarSupportedContent"],["aria-expanded","false"],["aria-label","Toggle navigation"],["class","navbar-toggler"],["data-target","#navbarSupportedContent"],["data-toggle","collapse"],["type","button"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](9,0,null,null,0,"span",[["class","navbar-toggler-icon"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](12,0,null,null,58,"div",[["class","collapse navbar-collapse c-navbar-menu"],["id","navbarSupportedContent"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](14,0,null,null,55,"ul",[["class","navbar-nav ml-auto"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n\n "])),(t()(),r["\u0275eld"](16,0,null,null,7,"li",[["class","nav-item active mx-auto"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](18,0,null,null,4,"a",[["class","nav-link"]],null,null,null,null,null)),r["\u0275did"](19,4210688,null,0,jd,[r.ElementRef,Ad,r.Renderer2],{ngxScrollTo:[0,"ngxScrollTo"]},null),(t()(),r["\u0275ted"](-1,null,["About us "])),(t()(),r["\u0275eld"](21,0,null,null,1,"span",[["class","sr-only"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["(current)"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](25,0,null,null,5,"li",[["class","nav-item mx-auto"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](27,0,null,null,2,"a",[["class","nav-link"]],null,null,null,null,null)),r["\u0275did"](28,4210688,null,0,jd,[r.ElementRef,Ad,r.Renderer2],{ngxScrollTo:[0,"ngxScrollTo"]},null),(t()(),r["\u0275ted"](-1,null,["Our team"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](32,0,null,null,5,"li",[["class","nav-item mx-auto"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](34,0,null,null,2,"a",[["class","nav-link"]],null,null,null,null,null)),r["\u0275did"](35,4210688,null,0,jd,[r.ElementRef,Ad,r.Renderer2],{ngxScrollTo:[0,"ngxScrollTo"]},null),(t()(),r["\u0275ted"](-1,null,["Gallery"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n\n "])),(t()(),r["\u0275eld"](39,0,null,null,5,"li",[["class","nav-item mx-auto"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](41,0,null,null,2,"a",[["class","nav-link"]],null,null,null,null,null)),r["\u0275did"](42,4210688,null,0,jd,[r.ElementRef,Ad,r.Renderer2],{ngxScrollTo:[0,"ngxScrollTo"]},null),(t()(),r["\u0275ted"](-1,null,["Activity"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n\n "])),(t()(),r["\u0275eld"](46,0,null,null,5,"li",[["class","nav-item mx-auto"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](48,0,null,null,2,"a",[["class","nav-link"]],null,null,null,null,null)),r["\u0275did"](49,4210688,null,0,jd,[r.ElementRef,Ad,r.Renderer2],{ngxScrollTo:[0,"ngxScrollTo"]},null),(t()(),r["\u0275ted"](-1,null,["Competitions"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n\n "])),(t()(),r["\u0275eld"](53,0,null,null,5,"li",[["class","nav-item mx-auto"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](55,0,null,null,2,"a",[["class","nav-link"]],null,null,null,null,null)),r["\u0275did"](56,4210688,null,0,jd,[r.ElementRef,Ad,r.Renderer2],{ngxScrollTo:[0,"ngxScrollTo"]},null),(t()(),r["\u0275ted"](-1,null,["Blog"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](60,0,null,null,5,"li",[["class","nav-item mx-auto"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](62,0,null,null,2,"a",[["class","nav-link"]],null,null,null,null,null)),r["\u0275did"](63,4210688,null,0,jd,[r.ElementRef,Ad,r.Renderer2],{ngxScrollTo:[0,"ngxScrollTo"]},null),(t()(),r["\u0275ted"](-1,null,["Statistics"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275ted"](-1,null,["\n\n"]))],function(t,e){t(e,19,0,"#about"),t(e,28,0,"#team"),t(e,35,0,"#gallery"),t(e,42,0,"#activity-competitions"),t(e,49,0,"#activity-competitions"),t(e,56,0,"#blog"),t(e,63,0,"#statistics")},null)}n("Ukb0");var Bd=function(){function t(t){this.api=t}return t.prototype.ngOnInit=function(){},t.prototype.ngAfterViewInit=function(){this.video.nativeElement.muted="muted"},t.prototype.ngOnDestroy=function(){},t.prototype.clickedOnIt=function(){window.open("https://www.youtube.com/watch?v=oSLvTkRnfiE","_blank")},t}(),Hd=n("veZJ"),zd=r["\u0275crt"]({encapsulation:0,styles:[[".hero-img[_ngcontent-%COMP%]{width:100%;height:100%;-o-object-fit:none;object-fit:none;overflow:hidden}.video-hero-01[_ngcontent-%COMP%]{width:100%}"]],data:{}});function Wd(t){return r["\u0275vid"](0,[r["\u0275qud"](402653184,1,{video:0}),(t()(),r["\u0275eld"](1,0,[[1,0],["videoPromo",1]],null,3,"video",[["autoplay",""],["class","video-hero-01"],["loop",""],["preload",""]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.clickedOnIt()&&r),r},null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](3,0,null,null,0,"source",[["src","/assets/video/abc-video.mp4"],["type","video/mp4"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275ted"](-1,null,["\n"]))],null,null)}var Ud=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),Gd=r["\u0275crt"]({encapsulation:0,styles:[[".section-title[_ngcontent-%COMP%]{margin-top:40px;font-size:30px;margin-bottom:0}.box[_ngcontent-%COMP%]{background-color:#f47920;position:absolute;width:70px;height:3px}.hero-img[_ngcontent-%COMP%]{width:100%;height:100%;-o-object-fit:contain;object-fit:contain;margin-top:50px}.container[_ngcontent-%COMP%]{position:relative;text-align:left;color:#000;padding-right:0;padding-left:0}.about-title[_ngcontent-%COMP%]{position:absolute;bottom:-18px;width:270px}.c-title[_ngcontent-%COMP%]{font-size:2.1vw;text-align:left;line-height:120%}.about-description[_ngcontent-%COMP%]{color:gray;margin-top:20px;font-size:18px;font-weight:300;text-align:left;max-width:350px;width:100%;height:56px;line-height:120%;margin-bottom:50px}@media screen and (max-width:1200px){.c-title[_ngcontent-%COMP%]{font-size:2.6vw}}@media screen and (min-width:1500px){.c-title[_ngcontent-%COMP%]{font-size:1.1vw}}@media (min-width:1500px) and (max-width:3800px){.c-title[_ngcontent-%COMP%]{font-size:39px}}@media screen and (max-width:400px){.c-title[_ngcontent-%COMP%]{font-size:3.3vw}}"]],data:{}});function qd(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,30,"section",[["id","about-us"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275eld"](2,0,null,null,1,"p",[["class","section-title"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["About us"])),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275eld"](5,0,null,null,0,"div",[["class","box"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275eld"](7,0,null,null,13,"div",[["class","container"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275eld"](9,0,null,null,0,"img",[["alt",""],["class","hero-img img-fluid"],["src","/assets/about-us-img-comp-new.png"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](11,0,null,null,8,"div",[["class","about-title"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](13,0,null,null,5,"p",[["class","c-title"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n We are all"])),(t()(),r["\u0275eld"](15,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["about amazing"])),(t()(),r["\u0275eld"](17,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["experiences.\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275eld"](22,0,null,null,7,"div",[["class","container"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275eld"](24,0,null,null,4,"div",[["class","about-description"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](26,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\u201cNever give up. Today is hard, tomorrow will be worse, but the day after tomorrow will be sunshine.\u201d"])),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275ted"](-1,null,["\n"]))],null,null)}var $d=function(){function t(t,e){this.el=t,this.zone=e,this.afterChange=new r.EventEmitter,this.beforeChange=new r.EventEmitter,this.breakpoint=new r.EventEmitter,this.destroy=new r.EventEmitter,this.slides=[],this.initialized=!1}return t.prototype.ngOnDestroy=function(){this.unslick()},t.prototype.ngAfterViewInit=function(){},t.prototype.initSlick=function(){var t=this,e=this;this.zone.runOutsideAngular(function(){t.$instance=$(t.el.nativeElement).slick(t.config),t.initialized=!0,t.$instance.on("afterChange",function(t,n,r){e.zone.run(function(){e.afterChange.emit({event:t,slick:n,currentSlide:r})})}),t.$instance.on("beforeChange",function(t,n,r,i){e.zone.run(function(){e.beforeChange.emit({event:t,slick:n,currentSlide:r,nextSlide:i})})}),t.$instance.on("breakpoint",function(t,n,r){e.zone.run(function(){e.breakpoint.emit({event:t,slick:n,breakpoint:r})})}),t.$instance.on("destroy",function(t,n){e.zone.run(function(){e.destroy.emit({event:t,slick:n})})})})},t.prototype.addSlide=function(t){this.initialized||this.initSlick(),this.slides.push(t),this.$instance.slick("slickAdd",t.el.nativeElement)},t.prototype.removeSlide=function(t){var e=this.slides.indexOf(t);this.$instance.slick("slickRemove",e),this.slides=this.slides.filter(function(e){return e!==t})},t.prototype.slickGoTo=function(t){var e=this;this.zone.run(function(){e.$instance.slick("slickGoTo",t)})},t.prototype.slickNext=function(){var t=this;this.zone.run(function(){t.$instance.slick("slickNext")})},t.prototype.slickPrev=function(){var t=this;this.zone.run(function(){t.$instance.slick("slickPrev")})},t.prototype.slickPause=function(){var t=this;this.zone.run(function(){t.$instance.slick("slickPause")})},t.prototype.slickPlay=function(){var t=this;this.zone.run(function(){t.$instance.slick("slickPlay")})},t.prototype.unslick=function(){var t=this;this.zone.run(function(){t.$instance.slick("unslick")})},t}(),Yd=function(){function t(t,e){this.el=t,this.carousel=e}return t.prototype.ngAfterViewInit=function(){this.carousel.addSlide(this)},t.prototype.ngOnDestroy=function(){this.carousel.removeSlide(this)},t}(),Kd=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),Zd=r["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Xd(t){return r["\u0275vid"](0,[r["\u0275ncd"](null,0)],null,null)}var Qd,Jd=function(){this.closeOthers=!1},tp=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[Jd]}},t}(),ep=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[a]}},t}(),np=(Object(r.forwardRef)(function(){return np}),function(){function t(t){this._label=t,this.disabled=!1,this.valueChecked=!0,this.valueUnChecked=!1,this.onChange=function(t){},this.onTouched=function(){}}return Object.defineProperty(t.prototype,"focused",{set:function(t){this._label.focused=t,t||this.onTouched()},enumerable:!0,configurable:!0}),t.prototype.onInputChange=function(t){var e=t.target.checked?this.valueChecked:this.valueUnChecked;this.onChange(e),this.onTouched(),this.writeValue(e)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t,this._label.disabled=t},t.prototype.writeValue=function(t){this.checked=t===this.valueChecked,this._label.active=this.checked},t}()),rp=(Object(r.forwardRef)(function(){return ip}),0),ip=function(){function t(){this._radios=new Set,this._value=null,this.name="ngb-radio-"+rp++,this.onChange=function(t){},this.onTouched=function(){}}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this.setDisabledState(t)},enumerable:!0,configurable:!0}),t.prototype.onRadioChange=function(t){this.writeValue(t.value),this.onChange(t.value)},t.prototype.onRadioValueUpdate=function(){this._updateRadiosValue()},t.prototype.register=function(t){this._radios.add(t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._disabled=t,this._updateRadiosDisabled()},t.prototype.unregister=function(t){this._radios.delete(t)},t.prototype.writeValue=function(t){this._value=t,this._updateRadiosValue()},t.prototype._updateRadiosValue=function(){var t=this;this._radios.forEach(function(e){return e.updateValue(t._value)})},t.prototype._updateRadiosDisabled=function(){this._radios.forEach(function(t){return t.updateDisabled()})},t}(),op=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t}(),sp=function(){this.interval=5e3,this.wrap=!0,this.keyboard=!0};!function(t){t[t.LEFT="left"]="LEFT",t[t.RIGHT="right"]="RIGHT"}(Qd||(Qd={}));var ap=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[sp]}},t}(),lp=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t}(),up=function(){},cp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(U.__extends)(e,t),e.prototype.parse=function(t){if(t){var e=t.trim().split("-");if(1===e.length&&O(e[0]))return{year:C(e[0]),month:null,day:null};if(2===e.length&&O(e[0])&&O(e[1]))return{year:C(e[0]),month:C(e[1]),day:null};if(3===e.length&&O(e[0])&&O(e[1])&&O(e[2]))return{year:C(e[0]),month:C(e[1]),day:C(e[2])}}return null},e.prototype.format=function(t){return t?t.year+"-"+(O(t.month)?P(t.month):"")+"-"+(O(t.day)?P(t.day):""):""},e}(up),dp=(Object(r.forwardRef)(function(){return dp}),Object(r.forwardRef)(function(){return dp}),function(){function t(t,e,n,i,o,s,a,l,u){var c=this;this._parserFormatter=t,this._elRef=e,this._vcRef=n,this._renderer=i,this._cfr=o,this._service=a,this._calendar=l,this._ngbDateAdapter=u,this._cRef=null,this._disabled=!1,this.placement="bottom-left",this.navigate=new r.EventEmitter,this._onChange=function(t){},this._onTouched=function(){},this._validatorChange=function(){},this._zoneSubscription=s.onStable.subscribe(function(){c._cRef&&f(c._elRef.nativeElement,c._cRef.location.nativeElement,c.placement,"body"===c.container)})}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=""===t||t&&"false"!==t,this.isOpen()&&this._cRef.instance.setDisabledState(this._disabled)},enumerable:!0,configurable:!0}),t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.registerOnValidatorChange=function(t){this._validatorChange=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.validate=function(t){var e=t.value;if(null===e||void 0===e)return null;var n=this._fromDateStruct(this._ngbDateAdapter.fromModel(e));return this._calendar.isValid(n)?this.minDate&&n.before(he.from(this.minDate))?{ngbDate:{requiredBefore:this.minDate}}:this.maxDate&&n.after(he.from(this.maxDate))?{ngbDate:{requiredAfter:this.maxDate}}:void 0:{ngbDate:{invalid:t.value}}},t.prototype.writeValue=function(t){this._model=this._fromDateStruct(this._ngbDateAdapter.fromModel(t)),this._writeModelValue(this._model)},t.prototype.manualDateChange=function(t,e){void 0===e&&(e=!1),this._model=this._fromDateStruct(this._parserFormatter.parse(t)),this._onChange(this._model?this._ngbDateAdapter.toModel(this._model):""===t?null:t),e&&this._model&&this._writeModelValue(this._model)},t.prototype.isOpen=function(){return!!this._cRef},t.prototype.open=function(){var t=this;if(!this.isOpen()){var e=this._cfr.resolveComponentFactory(cn);this._cRef=this._vcRef.createComponent(e),this._applyPopupStyling(this._cRef.location.nativeElement),this._applyDatepickerInputs(this._cRef.instance),this._subscribeForDatepickerOutputs(this._cRef.instance),this._cRef.instance.ngOnInit(),this._cRef.instance.writeValue(this._ngbDateAdapter.toModel(this._model)),this._cRef.instance.registerOnChange(function(e){t.writeValue(e),t._onChange(e),t.close()}),this._cRef.instance.focus(),this._cRef.instance.setDisabledState(this.disabled),"body"===this.container&&window.document.querySelector(this.container).appendChild(this._cRef.location.nativeElement)}},t.prototype.close=function(){this.isOpen()&&(this._vcRef.remove(this._vcRef.indexOf(this._cRef.hostView)),this._cRef=null)},t.prototype.toggle=function(){this.isOpen()?this.close():this.open()},t.prototype.navigateTo=function(t){this.isOpen()&&this._cRef.instance.navigateTo(t)},t.prototype.onBlur=function(){this._onTouched()},t.prototype.ngOnChanges=function(t){(t.minDate||t.maxDate)&&this._validatorChange()},t.prototype.ngOnDestroy=function(){this.close(),this._zoneSubscription.unsubscribe()},t.prototype._applyDatepickerInputs=function(t){var e=this;["dayTemplate","displayMonths","firstDayOfWeek","markDisabled","minDate","maxDate","navigation","outsideDays","showNavigation","showWeekdays","showWeekNumbers"].forEach(function(n){void 0!==e[n]&&(t[n]=e[n])}),t.startDate=this.startDate||this._model},t.prototype._applyPopupStyling=function(t){this._renderer.addClass(t,"dropdown-menu"),this._renderer.setStyle(t,"padding","0")},t.prototype._subscribeForDatepickerOutputs=function(t){var e=this;t.navigate.subscribe(function(t){return e.navigate.emit(t)}),t.select.subscribe(function(){e.close()})},t.prototype._writeModelValue=function(t){this._renderer.setProperty(this._elRef.nativeElement,"value",this._parserFormatter.format(t)),this.isOpen()&&(this._cRef.instance.writeValue(this._ngbDateAdapter.toModel(t)),this._onTouched())},t.prototype._fromDateStruct=function(t){var e=t?new he(t.year,t.month,t.day):null;return this._calendar.isValid(e)?e:null},t}()),pp=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),hp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return pp(e,t),e.prototype.getDaysPerWeek=function(){return 7},e.prototype.getMonths=function(){return[1,2,3,4,5,6,7,8,9,10,11,12]},e.prototype.getWeeksPerMonth=function(){return 6},e.prototype.isValid=function(t){return t&&O(t.year)&&O(t.month)&&O(t.day)&&!isNaN(this.toGregorian(t).getTime())},e.prototype.setDay=function(t,e){e=+e;var n=this.getDaysInIslamicMonth(t.month,t.year);if(e<=0)for(;e<=0;)t=this.setMonth(t,t.month-1),e+=n=this.getDaysInIslamicMonth(t.month,t.year);else if(e>n)for(;e>n;)e-=n,t=this.setMonth(t,t.month+1),n=this.getDaysInIslamicMonth(t.month,t.year);return t.day=e,t},e.prototype.setMonth=function(t,e){return e=+e,t.year=t.year+Math.floor((e-1)/12),t.month=Math.floor(((e-1)%12+12)%12)+1,t},e.prototype.setYear=function(t,e){return t.year=+e,t},e.prototype._isIslamicLeapYear=function(t){return(14+11*t)%30<11},e.prototype._getMonthStart=function(t,e){return Math.ceil(29.5*e)+354*(t-1)+Math.floor((3+11*t)/30)},e.prototype._getYearStart=function(t){return 354*(t-1)+Math.floor((3+11*t)/30)},e}(Te),fp=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function gp(t){var e=t.getFullYear();return e%4==0&&e%100!=0||e%400==0}function mp(t,e){return t-e*Math.floor(t/e)}var yp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return fp(e,t),e.prototype.fromGregorian=function(t){var e=new Date(t),n=e.getFullYear(),r=e.getMonth(),i=e.getDate(),o=1721424.5+365*(n-1)+Math.floor((n-1)/4)+-Math.floor((n-1)/100)+Math.floor((n-1)/400)+Math.floor((367*(r+1)-362)/12+(r+1<=2?0:gp(e)?-1:-2)+i),s=(o=Math.floor(o)+.5)-1948439.5,a=Math.floor((30*s+10646)/10631),l=Math.ceil((s-29-this._getYearStart(a))/29.5);l=Math.min(l,11);var u=Math.ceil(s-this._getMonthStart(a,l))+1;return new he(a,l+1,u)},e.prototype.toGregorian=function(t){var e=t.year,n=t.day+Math.ceil(29.5*(t.month-1))+354*(e-1)+Math.floor((3+11*e)/30)+1948439.5-1,r=Math.floor(n-.5)+.5,i=r-1721425.5,o=Math.floor(i/146097),s=mp(i,146097),a=Math.floor(s/36524),l=mp(s,36524),u=Math.floor(l/1461),c=mp(l,1461),d=Math.floor(c/365),p=400*o+100*a+4*u+d;4!==a&&4!==d&&p++;var h=r-(1721425.5+365*(p-1)+Math.floor((p-1)/4)-Math.floor((p-1)/100)+Math.floor((p-1)/400)),f=r<1721424.5+365*(p-1)+Math.floor((p-1)/4)-Math.floor((p-1)/100)+Math.floor((p-1)/400)+Math.floor(739/12+(gp(new Date(p,3,1))?-1:-2)+1)?0:gp(new Date(p,3,1))?1:2,g=Math.floor((12*(h+f)+373)/367),m=1721424.5+365*(p-1)+Math.floor((p-1)/4)-Math.floor((p-1)/100)+Math.floor((p-1)/400)+Math.floor((367*g-362)/12+(g<=2?0:gp(new Date(p,g-1,1))?-1:-2)+1);return new Date(p,g-1,r-m+1)},e.prototype.getDaysInIslamicMonth=function(t,e){e+=Math.floor(t/13);var n=29+(t=(t-1)%12+1)%2;return 12===t&&this._isIslamicLeapYear(e)&&n++,n},e.prototype.getNext=function(t,e,n){switch(void 0===e&&(e="d"),void 0===n&&(n=1),t=he.from(t),e){case"y":return(t=this.setYear(t,t.year+n)).month=1,t.day=1,t;case"m":return(t=this.setMonth(t,t.month+n)).day=1,t;case"d":return this.setDay(t,t.day+n);default:return t}},e.prototype.getPrev=function(t,e,n){return void 0===e&&(e="d"),void 0===n&&(n=1),this.getNext(t,e,-n)},e.prototype.getWeekday=function(t){var e=this.toGregorian(t).getDay();return 0===e?7:e},e.prototype.getWeekNumber=function(t,e){7===e&&(e=0);var n=t[(11-e)%7],r=this.toGregorian(n);r.setDate(r.getDate()+4-(r.getDay()||7));var i=r.getTime(),o=this.toGregorian(new he(n.year,1,1));return Math.floor(Math.round((i-o.getTime())/864e5)/7)+1},e.prototype.getToday=function(){return this.fromGregorian(new Date)},e}(hp);this&&this.__extends||Object.setPrototypeOf||Array,new Date(1882,10,12),new Date(2174,10,25),new yp;var vp,bp=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[{provide:Te,useClass:ke},{provide:ve,useClass:be},{provide:up,useClass:cp},{provide:ln,useClass:un},sn]}},t}(),_p=function(){this.autoClose=!0,this.placement="bottom-left"},wp=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[_p]}},t}(),Cp=function(){function t(){}return t.prototype.close=function(t){},t.prototype.dismiss=function(t){},t}(),xp=function(){function t(t,e,n,r){var i=this;this._windowCmptRef=t,this._contentRef=e,this._backdropCmptRef=n,this._beforeDismiss=r,t.instance.dismissEvent.subscribe(function(t){i.dismiss(t)}),this.result=new Promise(function(t,e){i._resolve=t,i._reject=e}),this.result.then(null,function(){})}return Object.defineProperty(t.prototype,"componentInstance",{get:function(){if(this._contentRef.componentRef)return this._contentRef.componentRef.instance},set:function(t){},enumerable:!0,configurable:!0}),t.prototype.close=function(t){this._windowCmptRef&&(this._resolve(t),this._removeModalElements())},t.prototype.dismiss=function(t){this._windowCmptRef&&(this._beforeDismiss&&!1===this._beforeDismiss()||(this._reject(t),this._removeModalElements()))},t.prototype._removeModalElements=function(){var t=this._windowCmptRef.location.nativeElement;if(t.parentNode.removeChild(t),this._windowCmptRef.destroy(),this._backdropCmptRef){var e=this._backdropCmptRef.location.nativeElement;e.parentNode.removeChild(e),this._backdropCmptRef.destroy()}this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._backdropCmptRef=null,this._contentRef=null},t}(),Op=function(){function t(t,e,n,r){this._applicationRef=t,this._injector=e,this._componentFactoryResolver=n,this._windowAttributes=["backdrop","keyboard","size","windowClass"],this._document=r}return t.prototype.open=function(t,e,n,r){var i=E(r.container)?this._document.querySelector(r.container):this._document.body;if(!i)throw new Error('The specified modal container "'+(r.container||"body")+'" was not found in the DOM.');var o=new Cp,s=this._getContentRef(t,r.injector||e,n,o),a=!1!==r.backdrop?this._attachBackdrop(i):null,l=this._attachWindowComponent(i,s),u=new xp(l,s,a,r.beforeDismiss);return o.close=function(t){u.close(t)},o.dismiss=function(t){u.dismiss(t)},this._applyWindowOptions(l.instance,r),u},t.prototype._attachBackdrop=function(t){var e=this._componentFactoryResolver.resolveComponentFactory(vn).create(this._injector);return this._applicationRef.attachView(e.hostView),t.appendChild(e.location.nativeElement),e},t.prototype._attachWindowComponent=function(t,e){var n=this._componentFactoryResolver.resolveComponentFactory(xn).create(this._injector,e.nodes);return this._applicationRef.attachView(n.hostView),t.appendChild(n.location.nativeElement),n},t.prototype._applyWindowOptions=function(t,e){this._windowAttributes.forEach(function(n){E(e[n])&&(t[n]=e[n])})},t.prototype._getContentRef=function(t,e,n,i){return n?n instanceof r.TemplateRef?this._createFromTemplateRef(n,i):"string"==typeof n?this._createFromString(n):this._createFromComponent(t,e,n,i):new g([])},t.prototype._createFromTemplateRef=function(t,e){var n=t.createEmbeddedView(e);return this._applicationRef.attachView(n),new g([n.rootNodes],n)},t.prototype._createFromString=function(t){var e=this._document.createTextNode(""+t);return new g([[e]])},t.prototype._createFromComponent=function(t,e,n,i){var o=t.resolveComponentFactory(n),s=r.ReflectiveInjector.resolveAndCreate([{provide:Cp,useValue:i}],e),a=o.create(s);return this._applicationRef.attachView(a.hostView),new g([[a.location.nativeElement]],a.hostView,a)},t}(),Sp=function(){function t(t,e,n){this._moduleCFR=t,this._injector=e,this._modalStack=n}return t.prototype.open=function(t,e){return void 0===e&&(e={}),this._modalStack.open(this._moduleCFR,this._injector,t,e)},t}(),Ep=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[Sp,Op]}},t}(),Pp=function(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1},Tp=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[Pp]}},t}(),kp=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[Pn]}},t}(),Dp=function(){this.max=100,this.animated=!1,this.striped=!1,this.showValue=!1},Ip=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[Dp]}},t}(),Rp=function(){this.max=10,this.readonly=!1,this.resettable=!1};!function(t){t[t.End=35]="End",t[t.Home=36]="Home",t[t.ArrowLeft=37]="ArrowLeft",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowRight=39]="ArrowRight",t[t.ArrowDown=40]="ArrowDown"}(vp||(vp={})),Object(r.forwardRef)(function(){return Mp});var Mp=function(){function t(t,e){this._changeDetectorRef=e,this.contexts=[],this.disabled=!1,this.hover=new r.EventEmitter,this.leave=new r.EventEmitter,this.rateChange=new r.EventEmitter(!0),this.onChange=function(t){},this.onTouched=function(){},this.max=t.max,this.readonly=t.readonly}return t.prototype.ariaValueText=function(){return this.nextRate+" out of "+this.max},t.prototype.enter=function(t){this.readonly||this.disabled||this._updateState(t),this.hover.emit(t)},t.prototype.handleBlur=function(){this.onTouched()},t.prototype.handleClick=function(t){this.update(this.resettable&&this.rate===t?0:t)},t.prototype.handleKeyDown=function(t){if(vp[x(t.which)])switch(t.preventDefault(),t.which){case vp.ArrowDown:case vp.ArrowLeft:this.update(this.rate-1);break;case vp.ArrowUp:case vp.ArrowRight:this.update(this.rate+1);break;case vp.Home:this.update(0);break;case vp.End:this.update(this.max)}},t.prototype.ngOnChanges=function(t){t.rate&&this.update(this.rate)},t.prototype.ngOnInit=function(){this.contexts=Array.from({length:this.max},function(t,e){return{fill:0,index:e}}),this._updateState(this.rate)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.reset=function(){this.leave.emit(this.nextRate),this._updateState(this.rate)},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.update=function(t,e){void 0===e&&(e=!0);var n=function(t,e,n){return void 0===n&&(n=0),Math.max(Math.min(t,e),n)}(t,this.max,0);this.readonly||this.disabled||this.rate===n||(this.rate=n,this.rateChange.emit(this.rate)),e&&(this.onChange(this.rate),this.onTouched()),this._updateState(this.rate)},t.prototype.writeValue=function(t){this.update(t,!1),this._changeDetectorRef.markForCheck()},t.prototype._getFillValue=function(t){var e=this.nextRate-t;return e>=1?100:e<1&&e>0?Number.parseInt((100*e).toFixed(2)):0},t.prototype._updateState=function(t){var e=this;this.nextRate=t,this.contexts.forEach(function(t,n){return t.fill=e._getFillValue(n)})},t}(),Ap=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[Rp]}},t}(),jp=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[gl]}},t}(),Np=function(){function t(t,e,n){this.hour=C(t),this.minute=C(e),this.second=C(n)}return t.prototype.changeHour=function(t){void 0===t&&(t=1),this.updateHour((isNaN(this.hour)?0:this.hour)+t)},t.prototype.updateHour=function(t){this.hour=O(t)?(t<0?24+t:t)%24:NaN},t.prototype.changeMinute=function(t){void 0===t&&(t=1),this.updateMinute((isNaN(this.minute)?0:this.minute)+t)},t.prototype.updateMinute=function(t){O(t)?(this.minute=t%60<0?60+t%60:t%60,this.changeHour(Math.floor(t/60))):this.minute=NaN},t.prototype.changeSecond=function(t){void 0===t&&(t=1),this.updateSecond((isNaN(this.second)?0:this.second)+t)},t.prototype.updateSecond=function(t){O(t)?(this.second=t<0?60+t%60:t%60,this.changeMinute(Math.floor(t/60))):this.second=NaN},t.prototype.isValid=function(t){return void 0===t&&(t=!0),O(this.hour)&&O(this.minute)&&(!t||O(this.second))},t.prototype.toString=function(){return(this.hour||0)+":"+(this.minute||0)+":"+(this.second||0)},t}(),Vp=function(){this.meridian=!1,this.spinners=!0,this.seconds=!1,this.hourStep=1,this.minuteStep=1,this.secondStep=1,this.disabled=!1,this.readonlyInputs=!1,this.size="medium"},Fp=(Object(r.forwardRef)(function(){return Fp}),function(){function t(t){this.onChange=function(t){},this.onTouched=function(){},this.meridian=t.meridian,this.spinners=t.spinners,this.seconds=t.seconds,this.hourStep=t.hourStep,this.minuteStep=t.minuteStep,this.secondStep=t.secondStep,this.disabled=t.disabled,this.readonlyInputs=t.readonlyInputs,this.size=t.size}return t.prototype.writeValue=function(t){this.model=t?new Np(t.hour,t.minute,t.second):new Np,this.seconds||t&&O(t.second)||(this.model.second=0)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.changeHour=function(t){this.model.changeHour(t),this.propagateModelChange()},t.prototype.changeMinute=function(t){this.model.changeMinute(t),this.propagateModelChange()},t.prototype.changeSecond=function(t){this.model.changeSecond(t),this.propagateModelChange()},t.prototype.updateHour=function(t){var e=this.model.hour>=12,n=C(t);this.model.updateHour(this.meridian&&(e&&n<12||!e&&12===n)?n+12:n),this.propagateModelChange()},t.prototype.updateMinute=function(t){this.model.updateMinute(C(t)),this.propagateModelChange()},t.prototype.updateSecond=function(t){this.model.updateSecond(C(t)),this.propagateModelChange()},t.prototype.toggleMeridian=function(){this.meridian&&this.changeHour(12)},t.prototype.formatHour=function(t){return O(t)?P(this.meridian?t%12==0?12:t%12:t%24):P(NaN)},t.prototype.formatMinSec=function(t){return P(t)},t.prototype.setFormControlSize=function(){return{"form-control-sm":"small"===this.size,"form-control-lg":"large"===this.size}},t.prototype.setButtonSize=function(){return{"btn-sm":"small"===this.size,"btn-lg":"large"===this.size}},t.prototype.ngOnChanges=function(t){t.seconds&&!this.seconds&&this.model&&!O(this.model.second)&&(this.model.second=0,this.propagateModelChange(!1))},t.prototype.propagateModelChange=function(t){void 0===t&&(t=!0),t&&this.onTouched(),this.model.isValid(this.seconds)?this.onChange({hour:this.model.hour,minute:this.model.minute,second:this.model.second}):this.onChange(null)},t}()),Lp=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[Vp]}},t}(),Bp=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[y]}},t}();function Hp(t,e,n){return Object(Ir.a)(t,e,n)(this)}var zp,Wp=n("5X6E"),Up=function(){this.editable=!0,this.focusFirst=!0,this.showHint=!1,this.placement="bottom-left"};!function(t){t[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Escape=27]="Escape",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowDown=40]="ArrowDown"}(zp||(zp={})),Object(r.forwardRef)(function(){return qp});var Gp=0,qp=function(){function t(t,e,n,i,o,s,a){var l=this;this._elementRef=t,this._viewContainerRef=e,this._renderer=n,this._injector=i,this.placement="bottom-left",this.selectItem=new r.EventEmitter,this.popupId="ngb-typeahead-"+Gp++,this._onTouched=function(){},this._onChange=function(t){},this.container=s.container,this.editable=s.editable,this.focusFirst=s.focusFirst,this.showHint=s.showHint,this.placement=s.placement,this._valueChanges=Object(Fn.fromEvent)(t.nativeElement,"input",function(t){return t.target.value}),this._resubscribeTypeahead=new Pl.BehaviorSubject(null),this._popupService=new m(A,i,e,n,o),this._zoneSubscription=a.onStable.subscribe(function(){l.isPopupOpen()&&f(l._elementRef.nativeElement,l._windowRef.location.nativeElement,l.placement,"body"===l.container)})}return t.prototype.ngOnInit=function(){var t=this,e=Hp.call(this._valueChanges,function(e){t._inputValueBackup=e,t.editable&&t._onChange(e)}),n=(function(t){return t(this)}).call(e,this.ngbTypeahead),r=Hp.call(n,function(){t.editable||t._onChange(void 0)}),i=(function(t,e){return Object(Wp.a)(t,e)(this)}).call(this._resubscribeTypeahead,function(){return r});this._subscription=this._subscribeToUserInput(i)},t.prototype.ngOnDestroy=function(){this._closePopup(),this._unsubscribeFromUserInput(),this._zoneSubscription.unsubscribe()},t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.writeValue=function(t){this._writeInputValue(this._formatItemForInput(t))},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype.onDocumentClick=function(t){t.target!==this._elementRef.nativeElement&&this.dismissPopup()},t.prototype.dismissPopup=function(){this.isPopupOpen()&&(this._closePopup(),this._writeInputValue(this._inputValueBackup))},t.prototype.isPopupOpen=function(){return null!=this._windowRef},t.prototype.handleBlur=function(){this._resubscribeTypeahead.next(null),this._onTouched()},t.prototype.handleKeyDown=function(t){if(this.isPopupOpen()&&zp[x(t.which)])switch(t.which){case zp.ArrowDown:t.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case zp.ArrowUp:t.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case zp.Enter:case zp.Tab:var e=this._windowRef.instance.getActive();E(e)&&(t.preventDefault(),t.stopPropagation(),this._selectResult(e)),this._closePopup();break;case zp.Escape:t.preventDefault(),this._resubscribeTypeahead.next(null),this.dismissPopup()}},t.prototype._openPopup=function(){var t=this;this.isPopupOpen()||(this._inputValueBackup=this._elementRef.nativeElement.value,this._windowRef=this._popupService.open(),this._windowRef.instance.id=this.popupId,this._windowRef.instance.selectEvent.subscribe(function(e){return t._selectResultClosePopup(e)}),this._windowRef.instance.activeChangeEvent.subscribe(function(e){return t.activeDescendant=e}),"body"===this.container&&window.document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement))},t.prototype._closePopup=function(){this._popupService.close(),this._windowRef=null,this.activeDescendant=void 0},t.prototype._selectResult=function(t){var e=!1;this.selectItem.emit({item:t,preventDefault:function(){e=!0}}),this._resubscribeTypeahead.next(null),e||(this.writeValue(t),this._onChange(t))},t.prototype._selectResultClosePopup=function(t){this._selectResult(t),this._closePopup()},t.prototype._showHint=function(){if(this.showHint&&this._windowRef.instance.hasActive()&&null!=this._inputValueBackup){var t=this._inputValueBackup.toLowerCase(),e=this._formatItemForInput(this._windowRef.instance.getActive());t===e.substr(0,this._inputValueBackup.length).toLowerCase()?(this._writeInputValue(this._inputValueBackup+e.substr(this._inputValueBackup.length)),this._elementRef.nativeElement.setSelectionRange.apply(this._elementRef.nativeElement,[this._inputValueBackup.length,e.length])):this.writeValue(this._windowRef.instance.getActive())}},t.prototype._formatItemForInput=function(t){return t&&this.inputFormatter?this.inputFormatter(t):x(t)},t.prototype._writeInputValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",x(t))},t.prototype._subscribeToUserInput=function(t){var e=this;return t.subscribe(function(t){t&&0!==t.length?(e._openPopup(),e._windowRef.instance.focusFirst=e.focusFirst,e._windowRef.instance.results=t,e._windowRef.instance.term=e._elementRef.nativeElement.value,e.resultFormatter&&(e._windowRef.instance.formatter=e.resultFormatter),e.resultTemplate&&(e._windowRef.instance.resultTemplate=e.resultTemplate),e._windowRef.changeDetectorRef.detectChanges(),e._showHint()):e._closePopup()})},t.prototype._unsubscribeFromUserInput=function(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null},t}(),$p=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[Up]}},t}(),Yp=function(){},Kp=function(){function t(t,e){var n=this;this.modalService=t,this.awsService=e,this.riderDetails={competitions:0,distance:0,elevation:0,koms:0,rides:0,time:0};var r=this.awsService.getRiders().subscribe(function(t){n.items=t.riders,r.unsubscribe()});this.slideConfig={slidesToShow:5,slidesToScroll:1,infinite:!0,centerMode:!0,centerPadding:"40px",arrows:!0,focusOnSelect:!0,touchMove:!0,useTransform:!0,pauseOnHover:!1,responsive:[{breakpoint:900,settings:{arrows:!0,centerMode:!0,centerPadding:"40px",slidesToShow:3}},{breakpoint:1e3,settings:{arrows:!0,centerMode:!0,slidesToShow:3}},{breakpoint:1200,settings:{arrows:!0,centerMode:!0,slidesToShow:5}},{breakpoint:768,settings:{arrows:!0,centerMode:!0,centerPadding:"40px",slidesToShow:3}},{breakpoint:480,settings:{arrows:!0,centerMode:!0,centerPadding:"40px",slidesToShow:1}}]}}return t.prototype.open=function(t,e){var n=this;this.riderDetails={competitions:0,distance:0,elevation:0,koms:0,rides:0,time:0};var r=2016;e.stats.map(function(t){n.riderDetails.competitions+=t[r].competitions,n.riderDetails.distance+=t[r].distance,n.riderDetails.elevation+=t[r].elevation,n.riderDetails.koms+=t[r].koms,n.riderDetails.rides+=t[r].rides,n.riderDetails.time+=t[r].time,r++}),!0===e.active&&this.modalService.open(t).result.then(function(t){n.closeResult="Closed with: "+t},function(t){n.closeResult="Dismissed "+n.getDismissReason(t)})},t.prototype.goToStrava=function(t){window.open(t,"_blank")},t.prototype.getDismissReason=function(t){return t===Cn.ESC?"by pressing ESC":t===Cn.BACKDROP_CLICK?"by clicking on a backdrop":"with: "+t},t.prototype.afterChange=function(t){for(var e=0;e [class*=col-][_ngcontent-%COMP%]:before{background:#e3e3e3;bottom:0;content:" ";left:0;position:absolute;width:1px;top:24px}.border-between[_ngcontent-%COMP%] > [class*=col-][_ngcontent-%COMP%]:first-child:before{display:none}.modal-footer.border-between[_ngcontent-%COMP%] > [class*=col-][_ngcontent-%COMP%]:before{background:#e3e3e3;bottom:24px;content:" ";left:0;position:absolute;width:1px;top:0}.modal-footer.border-between[_ngcontent-%COMP%] > [class*=col-][_ngcontent-%COMP%]:first-child:before{display:none}.modal-footer[_ngcontent-%COMP%]{padding:0;margin-left:30px;margin-right:30px}.c-item-img-modal[_ngcontent-%COMP%]{width:50px;height:50px;border-radius:50%;display:block;margin-left:auto;margin-right:auto;margin-top:30px}.c-member-name-modal[_ngcontent-%COMP%]{text-align:center;color:#000;font-size:20px}.c-member-year-modal[_ngcontent-%COMP%]{text-align:center;color:gray;font-size:20px;margin-top:-20px;margin-bottom:30px}.modal-body[_ngcontent-%COMP%]{width:100%;height:320px}.btn-orange-modal[_ngcontent-%COMP%]{background-color:#f5802d;color:#fff;font-size:20px;height:2.5em;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.btn-orange-modal[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.c-text-btn-modal[_ngcontent-%COMP%]{text-transform:uppercase}.c-elevation-text[_ngcontent-%COMP%]{text-align:center;color:gray;font-size:20px;margin-top:-30px}.c-elevation-number[_ngcontent-%COMP%]{display:block;font-size:50px;font-weight:200;text-align:center}.btn[_ngcontent-%COMP%]{border-radius:0 0 .25rem .25em}']],data:{}});function Xp(t){return r["\u0275vid"](0,[(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](1,0,null,null,80,"div",[["class","modal-content modal-all-content"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](3,0,null,null,17,"div",[["class","modal-header row border-between"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](5,0,null,null,6,"div",[["class","col-md-6"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n\n "])),(t()(),r["\u0275eld"](7,0,null,null,0,"img",[["alt",""],["class","img-bikes-modal"],["src","/assets/modal/bicycle-1.png"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](9,0,null,null,1,"p",[["class","c-text-info-modal"]],null,null,null,null,null)),(t()(),r["\u0275ted"](10,null,["",""])),(t()(),r["\u0275ted"](-1,null,["\n\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](13,0,null,null,6,"div",[["class","col-md-6"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](15,0,null,null,0,"img",[["alt",""],["class","img-bikes-modal"],["src","/assets/modal/bicycle.png"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](17,0,null,null,1,"p",[["class","c-text-info-modal"]],null,null,null,null,null)),(t()(),r["\u0275ted"](18,null,[""," minutes"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n\n "])),(t()(),r["\u0275eld"](22,0,null,null,33,"div",[["class","modal-body"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](24,0,null,null,9,"a",[["class","c-item-member-modal"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](26,0,null,null,0,"img",[["alt",""],["class","c-item-img-modal"]],[[8,"src",4]],null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](28,0,null,null,1,"p",[["class","c-member-name-modal"]],null,null,null,null,null)),(t()(),r["\u0275ted"](29,null,["",""])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](31,0,null,null,1,"p",[["class","c-member-year-modal"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["2017"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](35,0,null,null,19,"div",[["class","row"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](37,0,null,null,7,"div",[["class","col-md-6"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](39,0,null,null,1,"p",[["class","c-elevation-number"]],null,null,null,null,null)),(t()(),r["\u0275ted"](40,null,["",""])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](42,0,null,null,1,"p",[["class","c-elevation-text"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["ELEVATION"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](46,0,null,null,7,"div",[["class","col-md-6"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](48,0,null,null,1,"p",[["class","c-elevation-number c-distance-number"]],null,null,null,null,null)),(t()(),r["\u0275ted"](49,null,["",""])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](51,0,null,null,1,"p",[["class","c-elevation-text c-distance-text"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["KM"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n\n "])),(t()(),r["\u0275eld"](57,0,null,null,17,"div",[["class","modal-footer border-between"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](59,0,null,null,6,"div",[["class","col-md-6"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](61,0,null,null,0,"img",[["alt",""],["class","img-bikes-modal"],["src","/assets/modal/medal-mod.png"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](63,0,null,null,1,"p",[["class","c-text-info-modal"]],null,null,null,null,null)),(t()(),r["\u0275ted"](64,null,["",""])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](67,0,null,null,6,"div",[["class","col-md-6"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](69,0,null,null,0,"img",[["alt",""],["class","img-bikes-modal"],["src","/assets/modal/royal-crown-outline.png"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](71,0,null,null,1,"p",[["class","c-text-info-modal"]],null,null,null,null,null)),(t()(),r["\u0275ted"](72,null,["",""])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](76,0,null,null,4,"div",[["class","btn btn-orange-modal"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](78,0,null,null,1,"a",[["class","c-text-btn-modal"]],[[8,"href",4]],null,null,null,null)),(t()(),r["\u0275ted"](79,null,["CHECK OUT ","'S PROFILE ON STRAVA"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n\n "])),(t()(),r["\u0275ted"](-1,null,["\n "]))],null,function(t,e){var n=e.component;t(e,10,0,n.riderDetails.rides),t(e,18,0,n.riderDetails.time),t(e,26,0,r["\u0275inlineInterpolate"](1,"",e.parent.context.$implicit.imageUrl,"")),t(e,29,0,e.parent.context.$implicit.name),t(e,40,0,n.riderDetails.elevation),t(e,49,0,n.riderDetails.distance),t(e,64,0,n.riderDetails.competitions),t(e,72,0,n.riderDetails.koms),t(e,78,0,r["\u0275inlineInterpolate"](1,"",e.parent.context.$implicit.strava_link,"")),t(e,79,0,e.parent.context.$implicit.name)})}function Qp(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,15,"div",[["class","c-member-carousel"],["ngxSlickItem",""]],[[1,"data-index",0],[8,"className",0]],null,null,null,null)),r["\u0275did"](1,4341760,null,0,Yd,[r.ElementRef,$d],null,null),(t()(),r["\u0275ted"](-1,null,["\n\n "])),(t()(),r["\u0275eld"](3,0,null,null,9,"a",[["class","c-item-href"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.goToStrava(t.context.$implicit.strava_url)&&r),r},null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](5,0,null,null,0,"img",[["alt",""],["class","c-item-img"]],[[8,"src",4]],null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](7,0,null,null,4,"div",[["class","c-info-member"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](9,0,null,null,1,"span",[["class","c-member-name"]],null,null,null,null,null)),(t()(),r["\u0275ted"](10,null,["",""])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n\n "])),(t()(),r["\u0275and"](0,[["content",2]],null,0,null,Xp)),(t()(),r["\u0275ted"](-1,null,["\n\n "]))],null,function(t,e){t(e,0,0,e.context.index,r["\u0275inlineInterpolate"](1,"slide ",e.context.$implicit.index,"")),t(e,5,0,r["\u0275inlineInterpolate"](1,"",e.context.$implicit.photo_url,"")),t(e,10,0,e.context.$implicit.name)})}function Jp(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,17,"section",[["class","c-carousel"],["id","team"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](2,0,null,null,14,"div",[["class","container container-team"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](4,0,null,null,1,"p",[["class","section-title"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Our team"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](7,0,null,null,0,"div",[["class","box"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n\n "])),(t()(),r["\u0275eld"](9,0,null,null,6,"ngx-slick",[["class","carousel"]],null,[[null,"afterChange"]],function(t,e,n){var r=!0;return"afterChange"===e&&(r=!1!==t.component.afterChange(n)&&r),r},Xd,Zd)),r["\u0275prd"](5120,null,ht,function(t){return[t]},[$d]),r["\u0275did"](11,4374528,[["slickModal",4]],0,$d,[r.ElementRef,r.NgZone],{config:[0,"config"]},{afterChange:"afterChange"}),(t()(),r["\u0275ted"](-1,0,["\n "])),(t()(),r["\u0275and"](16777216,null,0,1,null,Qp)),r["\u0275did"](14,802816,null,0,s.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),r["\u0275ted"](-1,0,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n\n "])),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275ted"](-1,null,["\n"]))],function(t,e){var n=e.component;t(e,11,0,n.slideConfig),t(e,14,0,n.items)},null)}var th=function(){function t(t){this.awsApi=t}return t.prototype.ngOnInit=function(){},t}(),eh=r["\u0275crt"]({encapsulation:0,styles:[[".section-title[_ngcontent-%COMP%]{padding-top:40px;font-size:30px;margin-bottom:0}.box[_ngcontent-%COMP%]{background-color:#f47920;position:absolute;width:70px;height:3px}.container[_ngcontent-%COMP%]{margin-bottom:50px}.gallery-preview[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;overflow:hidden;margin-top:20px}.gallery-see-more[_ngcontent-%COMP%]{position:absolute;top:0;right:0;left:78%;z-index:2;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding-top:3%}.gallery-see-more[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{position:relative;font-weight:700;text-align:left;color:#1b1b1b;text-decoration:none;font-size:2.3vw}.gallery-preview-row[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}.gallery-preview-img[_ngcontent-%COMP%]{width:auto}.see-more-arrow[_ngcontent-%COMP%]{padding-left:20px;width:100%;margin:0 auto;border:0}@media screen and (max-width:800px){.see-more-arrow[_ngcontent-%COMP%]{width:70%!important;padding-left:5px}}@media screen and (max-width:467px){.see-more[_ngcontent-%COMP%]{text-align:-webkit-center;margin-left:6px}}"]],data:{}});function nh(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,9,"div",[["class","container"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n\n"])),(t()(),r["\u0275eld"](2,0,null,null,6,"section",[["id","gallery"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](4,0,null,null,1,"p",[["class","section-title"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Gallery"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](7,0,null,null,0,"div",[["class","box"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275eld"](11,0,null,null,16,"div",[["class","gallery-preview"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n\n "])),(t()(),r["\u0275eld"](13,0,null,null,13,"div",[["class","gallery-preview-row"],["style",""]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](15,0,null,null,0,"img",[["alt",""],["class","gallery-preview-img"],["src","assets/gallery/galleryImg1.png"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n\n "])),(t()(),r["\u0275eld"](17,0,null,null,8,"div",[["class","gallery-see-more"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](19,0,null,null,2,"a",[["href","#"]],null,null,null,null,null)),(t()(),r["\u0275eld"](20,0,null,null,1,"p",[["class","see-more"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["See more"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](23,0,null,null,1,"a",[["href","#"]],null,null,null,null,null)),(t()(),r["\u0275eld"](24,0,null,null,0,"img",[["alt","Null"],["class","see-more-arrow img-responsive"],["src","assets/img/arrows.svg"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n\n"])),(t()(),r["\u0275ted"](-1,null,["\n"]))],null,null)}var rh=function(){function t(t){var e=this;this.awsApi=t;var n=this.awsApi.getActivities().subscribe(function(t){e.infos=t.activities,n.unsubscribe()})}return t.prototype.ngOnInit=function(){},t}(),ih=r["\u0275crt"]({encapsulation:0,styles:[[".section-title[_ngcontent-%COMP%]{padding-top:40px;font-size:30px;margin-bottom:0}.box[_ngcontent-%COMP%]{background-color:#f47920;position:absolute;width:70px;height:3px}.c-member-img[_ngcontent-%COMP%]{width:44px;height:44px;border-radius:50%}.c-members-activity[_ngcontent-%COMP%]{margin-top:80px}@media screen and (max-width:995px){.c-members-activity[_ngcontent-%COMP%]{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.c-activity-items[_ngcontent-%COMP%]{margin-top:-40px;margin-bottom:40px}}.c-post-date[_ngcontent-%COMP%]{color:grey;font-size:15px;font-style:italic}.c-activity-data[_ngcontent-%COMP%]{padding-left:20px;font-size:16px}.activity-sidebar[_ngcontent-%COMP%]{height:595px;overflow:auto}.activity-sidebar[_ngcontent-%COMP%]::-webkit-scrollbar-track{width:7px;background-color:#c1c6d6}.activity-sidebar[_ngcontent-%COMP%]::-webkit-scrollbar{width:12px;background-color:#f47920}.activity-sidebar[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-clip:content-box;border-radius:1px;background-color:#626875;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid transparent;border-bottom:3px solid transparent}.activity-sidebar[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{border-radius:1px;background-color:#f47920}"]],data:{}});function oh(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,20,"div",[["class","row c-members-activity"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n\n "])),(t()(),r["\u0275eld"](2,0,null,null,3,"div",[["class","col-xs-2"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](4,0,null,null,0,"img",[["alt",""],["class","c-member-img"]],[[8,"src",4]],null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](7,0,null,null,12,"div",[["class","col-sm-10 c-activity-data"]],null,null,null,null,null)),r["\u0275did"](8,278528,null,0,s.NgStyle,[r.KeyValueDiffers,r.ElementRef,r.Renderer2],{ngStyle:[0,"ngStyle"]},null),r["\u0275pod"](9,{fontWeight:0}),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](11,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),r["\u0275ted"](12,null,["",""])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](14,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](16,0,null,null,2,"span",[["class","c-post-date"]],null,null,null,null,null)),(t()(),r["\u0275ted"](17,null,["",""])),r["\u0275ppd"](18,2),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n\n\n "]))],function(t,e){t(e,8,0,t(e,9,0,e.component.bold))},function(t,e){t(e,4,0,r["\u0275inlineInterpolate"](1,"",e.context.$implicit.photo,"")),t(e,12,0,e.context.$implicit.text),t(e,17,0,r["\u0275unv"](e,17,0,t(e,18,0,r["\u0275nov"](e.parent,0),e.context.$implicit.date,"fullDate")))})}function sh(t){return r["\u0275vid"](0,[r["\u0275pid"](0,s.DatePipe,[r.LOCALE_ID]),(t()(),r["\u0275eld"](1,0,null,null,6,"section",[["id",""]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275eld"](3,0,null,null,1,"p",[["class","section-title"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Activity"])),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275eld"](6,0,null,null,0,"div",[["class","box"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275eld"](9,0,null,null,4,"div",[["class","container-fluid c-activity-items activity-sidebar"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,oh)),r["\u0275did"](12,802816,null,0,s.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275ted"](-1,null,["\n"]))],function(t,e){t(e,12,0,e.component.infos)},null)}var ah=function(){function t(t){var e=this;this.awsApi=t;var n=this.awsApi.getCompetitions().subscribe(function(t){e.competitions=t.competitions,n.unsubscribe()});this.slideConfig={slidesToShow:4,slidesToScroll:1,centerPadding:"10px",vertical:!0,dots:!0,autoplay:!0,autoplaySpeed:2e3,adaptiveHeight:!0,arrows:!1,pauseOnHover:!1,responsive:[{breakpoint:768,settings:{centerPadding:"40px",slidesToShow:4}},{breakpoint:480,settings:{centerPadding:"20px",slidesToShow:4}}]}}return t.prototype.ngOnInit=function(){},t.prototype.sendToCompetition=function(t){window.open(t,"_blank")},t}(),lh=r["\u0275crt"]({encapsulation:0,styles:[[".section-title[_ngcontent-%COMP%]{padding-top:40px;font-size:30px;margin-bottom:0}.box[_ngcontent-%COMP%]{background-color:#f47920;position:absolute;width:70px;height:3px;z-index:1}.c-competition-img[_ngcontent-%COMP%]{width:170px;height:130px}.carousel[_ngcontent-%COMP%]{height:600px}.slick-vertical[_ngcontent-%COMP%] .slick-slide[_ngcontent-%COMP%]{display:block;height:auto;margin:10px 0}.competition[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer}.carousel-competitions[_ngcontent-%COMP%] .slick-list[_ngcontent-%COMP%]{margin-left:-10px}.c-info-competition[_ngcontent-%COMP%]{margin-left:30px}.c-competition-name[_ngcontent-%COMP%]{font-size:30px;font-weight:700;text-align:center;color:#000}@media screen and (max-width:530px){.c-competition-img[_ngcontent-%COMP%]{-webkit-transform:scale(.6);transform:scale(.6)}.c-info-competition[_ngcontent-%COMP%]{margin-left:-20px}}@media screen and (max-width:470px){.c-competition-name[_ngcontent-%COMP%]{font-size:20px}}"]],data:{}});function uh(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,19,"div",[["ngxSlickItem",""]],null,null,null,null,null)),r["\u0275did"](1,4341760,null,0,Yd,[r.ElementRef,$d],null,null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](3,0,null,null,15,"div",[["class","competition"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.sendToCompetition(t.context.$implicit.link)&&r),r},null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](5,0,null,null,0,"img",[["alt",""],["class","c-competition-img"]],[[8,"src",4]],null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n\n "])),(t()(),r["\u0275eld"](7,0,null,null,10,"div",[["class","c-info-competition"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](9,0,null,null,1,"span",[["class","c-competition-name"]],null,null,null,null,null)),(t()(),r["\u0275ted"](10,null,["",""])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](12,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](14,0,null,null,2,"span",[["class","c-member-distance"]],null,null,null,null,null)),(t()(),r["\u0275ted"](15,null,["",""])),r["\u0275ppd"](16,2),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "]))],null,function(t,e){t(e,5,0,r["\u0275inlineInterpolate"](1,"",e.context.$implicit.picture,"")),t(e,10,0,e.context.$implicit.name),t(e,15,0,r["\u0275unv"](e,15,0,t(e,16,0,r["\u0275nov"](e.parent,0),e.context.$implicit.date,"fullDate")))})}function ch(t){return r["\u0275vid"](0,[r["\u0275pid"](0,s.DatePipe,[r.LOCALE_ID]),(t()(),r["\u0275eld"](1,0,null,null,16,"section",[["id",""]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275eld"](3,0,null,null,1,"p",[["class","section-title"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Competitions"])),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275eld"](6,0,null,null,0,"div",[["class","box"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](8,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](10,0,null,null,6,"ngx-slick",[["class","carousel carousel-competitions"]],null,null,null,Xd,Zd)),r["\u0275prd"](5120,null,ht,function(t){return[t]},[$d]),r["\u0275did"](12,4374528,[["slickModal",4]],0,$d,[r.ElementRef,r.NgZone],{config:[0,"config"]},null),(t()(),r["\u0275ted"](-1,0,["\n "])),(t()(),r["\u0275and"](16777216,null,0,1,null,uh)),r["\u0275did"](15,802816,null,0,s.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),r["\u0275ted"](-1,0,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275ted"](-1,null,["\n"]))],function(t,e){var n=e.component;t(e,12,0,n.slideConfig),t(e,15,0,n.competitions)},null)}var dh=function(){function t(){this.articles=[{name:"Sebastian Hatnean",date:"1/10/2017",articleImage:"/assets/blog/blog-img-1.jpg",event:"ASSIST Biking Club event in the Rarau mountains"},{name:"Alexandru Macarescu",date:"1/10/2017",articleImage:"/assets/blog/blog-img-2.jpg",event:"ASSIST Biking Club - Rarau Radical Race"},{name:"Mihai Tenciu",date:"1/10/2017",articleImage:"/assets/blog/blog-img-3.jpg",event:"ASSIST Biking Club event in the Rarau mountains"}]}return t.prototype.ngOnInit=function(){},t}(),ph=r["\u0275crt"]({encapsulation:0,styles:[[".section-title[_ngcontent-%COMP%]{padding-top:40px;font-size:30px;margin-bottom:0}.box[_ngcontent-%COMP%]{background-color:#f47920;position:absolute;width:70px;height:3px}.c-blog-img[_ngcontent-%COMP%]{width:360px;height:295px;margin-top:40px;border-radius:0;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.c-articles[_ngcontent-%COMP%]{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:80px}.c-blog[_ngcontent-%COMP%]{position:relative}.c-blog[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;right:0;text-align:left;margin:0;padding:7px 5px;background-color:rgba(0,0,0,.7);font-size:14px;color:#fff;font-style:italic}.c-blog[_ngcontent-%COMP%] p[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-style:normal;float:right}.eventName[_ngcontent-%COMP%]{font-size:20px;font-weight:700;padding-top:20px;color:#000}a[_ngcontent-%COMP%]:hover{text-decoration:none}.c-single-article[_ngcontent-%COMP%]{width:-webkit-min-content;width:-moz-min-content;width:min-content}@media screen and (max-width:995px){.c-articles[_ngcontent-%COMP%]{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}}"]],data:{}});function hh(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,18,"div",[["class","col-xs-4 c-single-article"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](2,0,null,null,15,"a",[["href",""]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n\n "])),(t()(),r["\u0275eld"](4,0,null,null,9,"div",[["class","c-blog"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](6,0,null,null,0,"img",[["alt",""],["class","c-blog-img"]],[[8,"src",4]],null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](8,0,null,null,4,"p",[],null,null,null,null,null)),(t()(),r["\u0275ted"](9,null,["\n ","\n "])),(t()(),r["\u0275eld"](10,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),r["\u0275ted"](11,null,["\n ","\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](15,0,null,null,1,"article",[["class","eventName"]],null,null,null,null,null)),(t()(),r["\u0275ted"](16,null,["\n ","\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "]))],null,function(t,e){t(e,6,0,r["\u0275inlineInterpolate"](1,"",e.context.$implicit.articleImage,"")),t(e,9,0,e.context.$implicit.name),t(e,11,0,e.context.$implicit.date),t(e,16,0,e.context.$implicit.event)})}function fh(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,6,"section",[["id","blog"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275eld"](2,0,null,null,1,"p",[["class","section-title"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Blog"])),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275eld"](5,0,null,null,0,"div",[["class","box"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275eld"](8,0,null,null,7,"div",[["class","container"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](10,0,null,null,4,"div",[["class","row c-articles"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275and"](16777216,null,null,1,null,hh)),r["\u0275did"](13,802816,null,0,s.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n\n"])),(t()(),r["\u0275ted"](-1,null,["\n"]))],function(t,e){t(e,13,0,e.component.articles)},null)}var gh=function(){function t(t){var e=this;this.awsApi=t,this.statistics={medals_won:0,members:0,total_distance:0};var n=this.awsApi.getStatistics().subscribe(function(t){e.statistics=t.statistics,n.unsubscribe()})}return t.prototype.ngOnInit=function(){},t}(),mh=r["\u0275crt"]({encapsulation:0,styles:[[".section-title[_ngcontent-%COMP%]{padding-top:40px;font-size:30px;margin-bottom:0}.box[_ngcontent-%COMP%]{background-color:#f47920;position:absolute;width:70px;height:3px}.statistics-container[_ngcontent-%COMP%]{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;margin-top:40px;margin-bottom:50px}.c-members-stat[_ngcontent-%COMP%]{background-image:url(/assets/statistics/stat-mem-img.svg);background-repeat:no-repeat;background-size:contain;background-position:-30px}.c-distance-stat[_ngcontent-%COMP%]{background-image:url(/assets/statistics/stat-dist-img.svg);background-repeat:no-repeat;background-size:contain;line-height:235%;padding-top:50px}.c-medals-stat[_ngcontent-%COMP%]{background-image:url(/assets/statistics/stat-med-img.svg);background-repeat:no-repeat;background-size:contain;background-position:6px;line-height:235%;padding-top:50px;padding-left:50px}.c-height-stats[_ngcontent-%COMP%]{height:245px;width:35%}.c-height-stats[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:100%}.c-height-stats.c-height-stats--middle[_ngcontent-%COMP%]{width:50%;position:absolute;left:calc(25% - 10px)}.c-members-number[_ngcontent-%COMP%]{font-size:70px;color:#f47920;font-weight:700;text-align:center}.c-members-text[_ngcontent-%COMP%]{font-size:30px;text-align:center;color:#000}.c-members-stats[_ngcontent-%COMP%]{line-height:235%;padding-top:50px;padding-right:105px}@media (min-width:991px) and (max-width:1200px){.c-members-number[_ngcontent-%COMP%]{font-size:60px}.c-members-text[_ngcontent-%COMP%]{font-size:24px}.c-height-stats[_ngcontent-%COMP%]{height:200px}}@media (max-width:991px){.c-members-number[_ngcontent-%COMP%]{font-size:30px}.c-members-text[_ngcontent-%COMP%]{font-size:16px}.c-distance-stat[_ngcontent-%COMP%], .c-medals-stat[_ngcontent-%COMP%], .c-members-stats[_ngcontent-%COMP%]{padding-top:5px}.c-height-stats[_ngcontent-%COMP%]{height:150px}}@media (max-width:768px){.c-members-number[_ngcontent-%COMP%]{margin-bottom:0}.c-height-stats[_ngcontent-%COMP%]{height:110px}.c-members-text[_ngcontent-%COMP%]{font-size:11px}}@media (max-width:390px){.c-height-stats[_ngcontent-%COMP%]{width:45%}}"]],data:{}});function yh(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,54,"section",[["id","statistics"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275eld"](2,0,null,null,1,"p",[["class","section-title"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Statistics"])),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275eld"](5,0,null,null,0,"div",[["class","box"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](7,0,null,null,46,"div",[["class","statistics-container"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](9,0,null,null,13,"div",[["class","c-height-stats"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](11,0,null,null,10,"div",[["class","c-members-stat"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](13,0,null,null,7,"div",[["class","c-members-stats"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](15,0,null,null,1,"p",[["class","c-members-number"]],null,null,null,null,null)),(t()(),r["\u0275ted"](16,null,["",""])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](18,0,null,null,1,"p",[["class","c-members-text"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["MEMBERS"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n\n "])),(t()(),r["\u0275eld"](24,0,null,null,13,"div",[["class"," c-height-stats c-height-stats--middle"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](26,0,null,null,10,"div",[["class","c-distance-stat"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](28,0,null,null,7,"div",[["class","c-distance-statistics"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](30,0,null,null,1,"p",[["class","c-members-number c-distance-number"]],null,null,null,null,null)),(t()(),r["\u0275ted"](31,null,["",""])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](33,0,null,null,1,"p",[["class","c-members-text c-distance-text"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["TOTAL DISTANCE"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n\n "])),(t()(),r["\u0275eld"](39,0,null,null,13,"div",[["class","c-height-stats"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](41,0,null,null,10,"div",[["class","c-medals-stat"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](43,0,null,null,7,"div",[["class","c-distance-statistics"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](45,0,null,null,1,"p",[["class","c-members-number c-distance-number"]],null,null,null,null,null)),(t()(),r["\u0275ted"](46,null,["",""])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](48,0,null,null,1,"p",[["class","c-members-text c-distance-text"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["MEDALS WON"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275ted"](-1,null,["\n"]))],null,function(t,e){var n=e.component;t(e,16,0,n.statistics.members),t(e,31,0,n.statistics.total_distance),t(e,46,0,n.statistics.medals_won)})}var vh=function(){function t(){}return t.prototype.ngOnInit=function(){},t.prototype.goToContact=function(){window.open("https://assist-software.net/contact-us","_blank")},t}(),bh=r["\u0275crt"]({encapsulation:0,styles:[[".c_footer[_ngcontent-%COMP%]{background-color:#050c26;height:100%;width:100%;padding-top:40px;padding-bottom:40px}.c-navbar[_ngcontent-%COMP%]{margin-top:50px}.navbar[_ngcontent-%COMP%]{float:right}li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff;font-size:16px;font-family:Sansation}.social-media-text[_ngcontent-%COMP%]{color:#fff;font-size:30px;text-align:center;font-family:Sansation}.c-social-media-img[_ngcontent-%COMP%]{width:71px;height:71px}.c-social-media-items[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around}.share-icon[_ngcontent-%COMP%]{width:71px;height:71px;border-radius:50%}.share-icon-fb[_ngcontent-%COMP%]{background:url(/assets/img/facebook-img.png) 0 0/71px no-repeat}.share-icon-fb[_ngcontent-%COMP%]:hover{background:url(/assets/img/facebook-hover-img.png) 0 0/71px no-repeat}.share-icon-ytb[_ngcontent-%COMP%]{background:url(/assets/img/youtube-img.png) 0 0/71px no-repeat;opacity:.8}.share-icon-ytb[_ngcontent-%COMP%]:hover{background:url(/assets/img/youtube-hover-img.png) 0 0/71px no-repeat}.share-icon-twt[_ngcontent-%COMP%]{background:url(/assets/img/twitter-img.png) 0 0/71px no-repeat;opacity:.8}.share-icon-twt[_ngcontent-%COMP%]:hover{background:url(/assets/img/twitter-hover-img.png) 0 0/71px no-repeat}.share-icon-inst[_ngcontent-%COMP%]{background:url(/assets/img/instagram-img.png) 0 0/71px no-repeat}.share-icon-inst[_ngcontent-%COMP%]:hover{background:url(/assets/img/instagram-hover-img.png) 0 0/71px no-repeat}.c-contact-info[_ngcontent-%COMP%]{color:#fff;font-size:16px;font-family:Sansation;margin-top:10px}.btn-orange[_ngcontent-%COMP%]{max-width:370px;width:100%;height:49px;border-radius:3px;background-color:#f47920;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-family:Sansation;font-size:30px;color:#fffefe;margin-top:70px;cursor:pointer;padding-top:0;padding-bottom:40px;display:-webkit-box;display:-ms-flexbox;display:flex;margin-left:auto;margin-right:auto}.btn-link[_ngcontent-%COMP%]{color:#fffefe;text-decoration:none}@media screen and (max-width:992px){.c-contact-informations[_ngcontent-%COMP%]{text-align:-webkit-center}.btn-orange[_ngcontent-%COMP%]{margin-top:50px}.nav-footer-sm-dev[_ngcontent-%COMP%]{text-align:-webkit-center}}.contact_link[_ngcontent-%COMP%]:hover{cursor:pointer;text-decoration:underline}"]],data:{}});function _h(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,88,"div",[["class","c_footer"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](2,0,null,null,85,"div",[["class","container"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](4,0,null,null,82,"div",[["class","row"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](6,0,null,null,46,"div",[["class","col-lg-3"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](8,0,null,null,43,"ul",[["class","nav flex-column nav-footer-sm-dev"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](10,0,null,null,4,"li",[["class","nav-item mr-auto"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](12,0,null,null,1,"a",[["class","nav-link"],["href","#about-us"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["About us"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](16,0,null,null,4,"li",[["class","nav-item mr-auto"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](18,0,null,null,1,"a",[["class","nav-link"],["href","#our-team"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Our team"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](22,0,null,null,4,"li",[["class","nav-item mr-auto"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](24,0,null,null,1,"a",[["class","nav-link"],["href","#gallery"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Gallery"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](28,0,null,null,4,"li",[["class","nav-item mr-auto"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](30,0,null,null,1,"a",[["class","nav-link"],["href","#activity"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Activity"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](34,0,null,null,4,"li",[["class","nav-item mr-auto"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](36,0,null,null,1,"a",[["class","nav-link"],["href","#competitions"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Competitions"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](40,0,null,null,4,"li",[["class","nav-item mr-auto"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](42,0,null,null,1,"a",[["class","nav-link"],["href","#blog"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Blog"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](46,0,null,null,4,"li",[["class","nav-item mr-auto"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](48,0,null,null,1,"a",[["class","nav-link"],["href","#statistics"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Statistics"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](54,0,null,null,19,"div",[["class","col-lg-6"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](56,0,null,null,1,"p",[["class","social-media-text"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Social media"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](59,0,null,null,9,"div",[["class","c-social-media-items"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n\n "])),(t()(),r["\u0275eld"](61,0,null,null,0,"a",[["class","share-icon share-icon-fb"],["href","https://www.facebook.com/assist.software.development/"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](63,0,null,null,0,"a",[["class","share-icon share-icon-ytb"],["href","https://www.youtube.com/user/assistsoftwaree"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](65,0,null,null,0,"a",[["class","share-icon share-icon-twt"],["href","https://twitter.com/assistsoftware"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](67,0,null,null,0,"a",[["class","share-icon share-icon-inst"],["href","https://www.instagram.com/explore/locations/966167671/assist-software/"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](70,0,null,null,2,"div",[["class","btn btn-orange"]],null,null,null,null,null)),(t()(),r["\u0275eld"](71,0,null,null,1,"a",[["class","btn-link"],["href","https://assist-software.net/jobs"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Join our team"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](75,0,null,null,10,"div",[["class","col-lg-3 c-contact-informations"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](77,0,null,null,1,"p",[["class","c-contact-info contact_link"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.goToContact()&&r),r},null,null)),(t()(),r["\u0275ted"](-1,null,["Contact"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](80,0,null,null,1,"p",[["class","c-contact-info"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Email: abc@assist.ro"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](83,0,null,null,1,"p",[["class","c-contact-info"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["Address: Tipografiei, nr.1, Suceava"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275ted"](-1,null,["\n"]))],null,null)}var wh=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),Ch=r["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function xh(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"app-navigation",[],null,null,null,Ld,Fd)),r["\u0275did"](1,114688,null,0,Vd,[Gc],null,null),(t()(),r["\u0275ted"](-1,null,["\n\n"])),(t()(),r["\u0275eld"](3,0,null,null,1,"app-hero",[],null,null,null,Wd,zd)),r["\u0275did"](4,4440064,null,0,Bd,[Hd.VgAPI],null,null),(t()(),r["\u0275ted"](-1,null,["\n\n\n"])),(t()(),r["\u0275eld"](6,0,null,null,4,"div",[["class","container"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](8,0,null,null,1,"app-about",[],null,null,null,qd,Gd)),r["\u0275did"](9,114688,null,0,Ud,[],null,null),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](12,0,null,null,1,"app-member",[],null,null,null,Jp,Zp)),r["\u0275did"](13,114688,null,0,Kp,[Sp,La],null,null),(t()(),r["\u0275ted"](-1,null,["\n\n"])),(t()(),r["\u0275eld"](15,0,null,null,34,"div",[["class","container-gallery mt-20"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](17,0,null,null,1,"app-gallery",[],null,null,null,nh,eh)),r["\u0275did"](18,114688,null,0,th,[La],null,null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](20,0,null,null,16,"div",[["class","container"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](22,0,null,null,13,"div",[["class","row c-row-ac"],["id","activity-competitions"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](24,0,null,null,4,"div",[["class","col-lg-4 c-main-activity"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](26,0,null,null,1,"app-activity",[],null,null,null,sh,ih)),r["\u0275did"](27,114688,null,0,rh,[La],null,null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](30,0,null,null,4,"div",[["class","col-lg-7 c-main-competition offset-lg-1"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](32,0,null,null,1,"app-competition",[],null,null,null,ch,lh)),r["\u0275did"](33,114688,null,0,ah,[La],null,null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](38,0,null,null,7,"div",[["class","container"]],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](40,0,null,null,1,"app-blog",[],null,null,null,fh,ph)),r["\u0275did"](41,114688,null,0,dh,[],null,null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](43,0,null,null,1,"app-statistics",[],null,null,null,yh,mh)),r["\u0275did"](44,114688,null,0,gh,[La],null,null),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](47,0,null,null,1,"app-footer",[],null,null,null,_h,bh)),r["\u0275did"](48,114688,null,0,vh,[],null,null),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275ted"](-1,null,["\n"]))],function(t,e){t(e,1,0),t(e,4,0),t(e,9,0),t(e,13,0),t(e,18,0),t(e,27,0),t(e,33,0),t(e,41,0),t(e,44,0),t(e,48,0)},null)}var Oh=r["\u0275ccf"]("app-home",wh,function(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"app-home",[],null,null,null,xh,Ch)),r["\u0275did"](1,114688,null,0,wh,[],null,null)],function(t,e){t(e,1,0)},null)},{},{},[]),Sh=r["\u0275crt"]({encapsulation:0,styles:[[".c-main-activity[_ngcontent-%COMP%], .c-main-competition[_ngcontent-%COMP%]{-webkit-box-shadow:0 40px 40px 0 rgba(6,74,208,.1);box-shadow:0 40px 40px 0 rgba(6,74,208,.1);border-radius:3px}.c-row-ac[_ngcontent-%COMP%]{padding-bottom:90px}"]],data:{}});function Eh(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,4,"main",[],null,null,null,null,null)),(t()(),r["\u0275ted"](-1,null,["\n "])),(t()(),r["\u0275eld"](2,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r["\u0275did"](3,212992,null,0,Zc,[Kc,r.ViewContainerRef,r.ComponentFactoryResolver,[8,null],r.ChangeDetectorRef],null,null),(t()(),r["\u0275ted"](-1,null,["\n"])),(t()(),r["\u0275ted"](-1,null,["\n"]))],function(t,e){t(e,3,0)},null)}var Ph=r["\u0275ccf"]("app-root",o,function(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"app-root",[],null,null,null,Eh,Sh)),r["\u0275did"](1,49152,null,0,o,[],null,null)],null,null)},{},{},[]);function Th(t){switch(t.length){case 0:return new Di;case 1:return t[0];default:return new Ii(t)}}function kh(t,e,n,r,i,o){void 0===i&&(i={}),void 0===o&&(o={});var s=[],a=[],l=-1,u=null;if(r.forEach(function(t){var n=t.offset,r=n==l,c=r&&u||{};Object.keys(t).forEach(function(n){var r=n,a=t[n];if("offset"!==n)switch(r=e.normalizePropertyName(r,s),a){case Ri:a=i[n];break;case Ei:a=o[n];break;default:a=e.normalizeStyleValue(n,r,a,s)}c[r]=a}),r||a.push(c),u=c,l=n}),s.length)throw new Error("Unable to animate due to the following errors:\n - "+s.join("\n - "));return a}function Dh(t,e,n,r){switch(e){case"start":t.onStart(function(){return r(n&&Ih(n,"start",t.totalTime))});break;case"done":t.onDone(function(){return r(n&&Ih(n,"done",t.totalTime))});break;case"destroy":t.onDestroy(function(){return r(n&&Ih(n,"destroy",t.totalTime))})}}function Ih(t,e,n){var r=Rh(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,void 0==n?t.totalTime:n),i=t._data;return null!=i&&(r._data=i),r}function Rh(t,e,n,r,i,o){return void 0===i&&(i=""),void 0===o&&(o=0),{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:o}}function Mh(t,e,n){var r;return t instanceof Map?(r=t.get(e))||t.set(e,r=n):(r=t[e])||(r=t[e]=n),r}function Ah(t){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}var jh=function(t,e){return!1},Nh=function(t,e){return!1},Vh=function(t,e,n){return[]};if("undefined"!=typeof Element){if(jh=function(t,e){return t.contains(e)},Element.prototype.matches)Nh=function(t,e){return t.matches(e)};else{var Fh=Element.prototype,Lh=Fh.matchesSelector||Fh.mozMatchesSelector||Fh.msMatchesSelector||Fh.oMatchesSelector||Fh.webkitMatchesSelector;Lh&&(Nh=function(t,e){return Lh.apply(t,[e])})}Vh=function(t,e,n){var r=[];if(n)r.push.apply(r,t.querySelectorAll(e));else{var i=t.querySelector(e);i&&r.push(i)}return r}}var Bh=null,Hh=!1;function zh(t){Bh||(Bh=Wh()||{},Hh=!!Bh.style&&"WebkitAppearance"in Bh.style);var e=!0;return Bh.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&!(e=t in Bh.style)&&Hh&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in Bh.style),e}function Wh(){return"undefined"!=typeof document?document.body:null}var Uh=Nh,Gh=jh,qh=Vh,$h=function(){function t(){}return t.prototype.validateStyleProperty=function(t){return zh(t)},t.prototype.matchesElement=function(t,e){return Uh(t,e)},t.prototype.containsElement=function(t,e){return Gh(t,e)},t.prototype.query=function(t,e,n){return qh(t,e,n)},t.prototype.computeStyle=function(t,e,n){return n||""},t.prototype.animate=function(t,e,n,r,i,o){return void 0===o&&(o=[]),new Di},t}(),Yh=function(){function t(){}return t.NOOP=new $h,t}(),Kh=1e3;function Zh(t){if("number"==typeof t)return t;var e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Xh(parseFloat(e[1]),e[2])}function Xh(t,e){switch(e){case"s":return t*Kh;default:return t}}function Qh(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){var r,i=0,o="";if("string"==typeof t){var s=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===s)return e.push('The provided timing value "'+t+'" is invalid.'),{duration:0,delay:0,easing:""};r=Xh(parseFloat(s[1]),s[2]);var a=s[3];null!=a&&(i=Xh(Math.floor(parseFloat(a)),s[4]));var l=s[5];l&&(o=l)}else r=t;if(!n){var u=!1,c=e.length;r<0&&(e.push("Duration values below 0 are not allowed for this animation step."),u=!0),i<0&&(e.push("Delay values below 0 are not allowed for this animation step."),u=!0),u&&e.splice(c,0,'The provided timing value "'+t+'" is invalid.')}return{duration:r,delay:i,easing:o}}(t,e,n)}function Jh(t,e){return void 0===e&&(e={}),Object.keys(t).forEach(function(n){e[n]=t[n]}),e}function tf(t,e,n){if(void 0===n&&(n={}),e)for(var r in t)n[r]=t[r];else Jh(t,n);return n}function ef(t,e){t.style&&Object.keys(e).forEach(function(n){var r=cf(n);t.style[r]=e[n]})}function nf(t,e){t.style&&Object.keys(e).forEach(function(e){var n=cf(e);t.style[n]=""})}function rf(t){return Array.isArray(t)?1==t.length?t[0]:Pi(t):t}var of=new RegExp("{{\\s*(.+?)\\s*}}","g");function sf(t){var e=[];if("string"==typeof t){for(var n=t.toString(),r=void 0;r=of.exec(n);)e.push(r[1]);of.lastIndex=0}return e}function af(t,e,n){var r=t.toString(),i=r.replace(of,function(t,r){var i=e[r];return e.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),i=""),i.toString()});return i==r?t:i}function lf(t){for(var e=[],n=t.next();!n.done;)e.push(n.value),n=t.next();return e}var uf=/-+([a-z0-9])/g;function cf(t){return t.replace(uf,function(){for(var t=[],e=0;e *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e) *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}var i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'+t+'" is not supported'),e;var o=i[1],s=i[2],a=i[3];e.push(gf(o,a)),"<"!=s[0]||o==pf&&a==pf||e.push(gf(a,o))}(t,i,r)}):i.push(n),i),animation:o,queryCount:e.queryCount,depCount:e.depCount,options:wf(t.options)}},t.prototype.visitSequence=function(t,e){var n=this;return{type:2,steps:t.steps.map(function(t){return df(n,t,e)}),options:wf(t.options)}},t.prototype.visitGroup=function(t,e){var n=this,r=e.currentTime,i=0,o=t.steps.map(function(t){e.currentTime=r;var o=df(n,t,e);return i=Math.max(i,e.currentTime),o});return e.currentTime=i,{type:3,steps:o,options:wf(t.options)}},t.prototype.visitAnimate=function(t,e){var n,r=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return Cf(Qh(t,e).duration,0,"");var r=t;if(r.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})){var i=Cf(0,0,"");return i.dynamic=!0,i.strValue=r,i}return Cf((n=n||Qh(r,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=r;var i=t.styles?t.styles:Ti({});if(5==i.type)n=this.visitKeyframes(i,e);else{var o=t.styles,s=!1;if(!o){s=!0;var a={};r.easing&&(a.easing=r.easing),o=Ti(a)}e.currentTime+=r.duration+r.delay;var l=this.visitStyle(o,e);l.isEmptyStep=s,n=l}return e.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}},t.prototype.visitStyle=function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n},t.prototype._makeStyleAst=function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach(function(t){"string"==typeof t?t==Ei?n.push(t):e.errors.push("The provided style string value "+t+" is not allowed."):n.push(t)}):n.push(t.styles);var r=!1,i=null;return n.forEach(function(t){if(_f(t)){var e=t,n=e.easing;if(n&&(i=n,delete e.easing),!r)for(var o in e)if(e[o].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:i,offset:t.offset,containsDynamicStyles:r,options:null}},t.prototype._validateStyleAst=function(t,e){var n=this,r=e.currentAnimateTimings,i=e.currentTime,o=e.currentTime;r&&o>0&&(o-=r.duration+r.delay),t.styles.forEach(function(t){"string"!=typeof t&&Object.keys(t).forEach(function(r){if(n._driver.validateStyleProperty(r)){var s,a,l,u=e.collectedStyles[e.currentQuerySelector],c=u[r],d=!0;c&&(o!=i&&o>=c.startTime&&i<=c.endTime&&(e.errors.push('The CSS property "'+r+'" that exists between the times of "'+c.startTime+'ms" and "'+c.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+i+'ms"'),d=!1),o=c.startTime),d&&(u[r]={startTime:o,endTime:i}),e.options&&(s=e.errors,a=e.options.params||{},(l=sf(t[r])).length&&l.forEach(function(t){a.hasOwnProperty(t)||s.push("Unable to resolve the local animation param "+t+" in the given list of values")}))}else e.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')})})},t.prototype.visitKeyframes=function(t,e){var n=this,r={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],s=!1,a=!1,l=0,u=t.steps.map(function(t){var r=n._makeStyleAst(t,e),u=null!=r.offset?r.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach(function(t){if(_f(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}});else if(_f(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(r.styles),c=0;return null!=u&&(i++,c=r.offset=u),a=a||c<0||c>1,s=s||c0&&i0?i==p?1:d*i:o[i],a=s*g;e.currentTime=h+f.delay+a,f.duration=a,n._validateStyleAst(t,e),t.offset=s,r.styles.push(t)}),r},t.prototype.visitReference=function(t,e){return{type:8,animation:df(this,rf(t.animation),e),options:wf(t.options)}},t.prototype.visitAnimateChild=function(t,e){return e.depCount++,{type:9,options:wf(t.options)}},t.prototype.visitAnimateRef=function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:wf(t.options)}},t.prototype.visitQuery=function(t,e){var n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;var i=function(t){var e=!!t.split(/\s*,\s*/).find(function(t){return":self"==t});return e&&(t=t.replace(mf,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(t){return".ng-trigger-"+t.substr(1)}).replace(/:animating/g,".ng-animating"),e]}(t.selector),o=i[0],s=i[1];e.currentQuerySelector=n.length?n+" "+o:o,Mh(e.collectedStyles,e.currentQuerySelector,{});var a=df(this,rf(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:wf(t.options)}},t.prototype.visitStagger=function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:Qh(t.timings,e.errors,!0);return{type:12,animation:df(this,rf(t.animation),e),timings:n,options:null}},t}(),bf=function(t){this.errors=t,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 _f(t){return!Array.isArray(t)&&"object"==typeof t}function wf(t){var e;return t?(t=Jh(t)).params&&(t.params=(e=t.params)?Jh(e):null):t={},t}function Cf(t,e,n){return{duration:t,delay:e,easing:n}}function xf(t,e,n,r,i,o,s,a){return void 0===s&&(s=null),void 0===a&&(a=!1),{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}var Of=function(){function t(){this._map=new Map}return t.prototype.consume=function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e},t.prototype.append=function(t,e){var n=this._map.get(t);n||this._map.set(t,n=[]),n.push.apply(n,e)},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),Sf=new RegExp(":enter","g"),Ef=new RegExp(":leave","g");function Pf(t,e,n,r,i,o,s,a,l,u){return void 0===o&&(o={}),void 0===s&&(s={}),void 0===u&&(u=[]),(new Tf).buildKeyframes(t,e,n,r,i,o,s,a,l,u)}var Tf=function(){function t(){}return t.prototype.buildKeyframes=function(t,e,n,r,i,o,s,a,l,u){void 0===u&&(u=[]),l=l||new Of;var c=new Df(t,e,l,r,i,u,[]);c.options=a,c.currentTimeline.setStyles([o],null,c.errors,a),df(this,n,c);var d=c.timelines.filter(function(t){return t.containsAnimation()});if(d.length&&Object.keys(s).length){var p=d[d.length-1];p.allowOnlyTimelineStyles()||p.setStyles([s],null,c.errors,a)}return d.length?d.map(function(t){return t.buildKeyframes()}):[xf(e,[],[],[],0,0,"",!1)]},t.prototype.visitTrigger=function(t,e){},t.prototype.visitState=function(t,e){},t.prototype.visitTransition=function(t,e){},t.prototype.visitAnimateChild=function(t,e){var n=e.subInstructions.consume(e.element);if(n){var r=e.createSubContext(t.options),i=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t},t.prototype.visitAnimateRef=function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t},t.prototype._visitSubInstructions=function(t,e,n){var r=e.currentTimeline.currentTime,i=null!=n.duration?Zh(n.duration):null,o=null!=n.delay?Zh(n.delay):null;return 0!==i&&t.forEach(function(t){var n=e.appendInstructionToTimeline(t,i,o);r=Math.max(r,n.duration+n.delay)}),r},t.prototype.visitReference=function(t,e){e.updateOptions(t.options,!0),df(this,t.animation,e),e.previousNode=t},t.prototype.visitSequence=function(t,e){var n=this,r=e.subContextCount,i=e,o=t.options;if(o&&(o.params||o.delay)&&((i=e.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=kf);var s=Zh(o.delay);i.delayNextStep(s)}t.steps.length&&(t.steps.forEach(function(t){return df(n,t,i)}),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),e.previousNode=t},t.prototype.visitGroup=function(t,e){var n=this,r=[],i=e.currentTimeline.currentTime,o=t.options&&t.options.delay?Zh(t.options.delay):0;t.steps.forEach(function(s){var a=e.createSubContext(t.options);o&&a.delayNextStep(o),df(n,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)}),e.transformIntoNewTimeline(i),e.previousNode=t},t.prototype._visitTiming=function(t,e){if(t.dynamic){var n=t.strValue;return Qh(e.params?af(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}},t.prototype.visitAnimate=function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());var i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(n.duration),this.visitStyle(i,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t},t.prototype.visitStyle=function(t,e){var n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(i):n.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t},t.prototype.visitKeyframes=function(t,e){var n=e.currentAnimateTimings,r=e.currentTimeline.duration,i=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach(function(t){o.forwardTime((t.offset||0)*i),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(r+i),e.previousNode=t},t.prototype.visitQuery=function(t,e){var n=this,r=e.currentTimeline.currentTime,i=t.options||{},o=i.delay?Zh(i.delay):0;o&&(6===e.previousNode.type||0==r&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=kf);var s=r,a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=a.length;var l=null;a.forEach(function(r,i){e.currentQueryIndex=i;var a=e.createSubContext(t.options,r);o&&a.delayNextStep(o),r===e.element&&(l=a.currentTimeline),df(n,t.animation,a),a.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,a.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t},t.prototype.visitStagger=function(t,e){var n=e.parentContext,r=e.currentTimeline,i=t.timings,o=Math.abs(i.duration),s=o*(e.currentQueryTotal-1),a=o*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}var l=e.currentTimeline;a&&l.delayNextStep(a);var u=l.currentTime;df(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)},t}(),kf={},Df=function(){function t(t,e,n,r,i,o,s,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=kf,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new If(this._driver,e,0),s.push(this.currentTimeline)}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.updateOptions=function(t,e){var n=this;if(t){var r=t,i=this.options;null!=r.duration&&(i.duration=Zh(r.duration)),null!=r.delay&&(i.delay=Zh(r.delay));var o=r.params;if(o){var s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(function(t){e&&s.hasOwnProperty(t)||(s[t]=af(o[t],s,n.errors))})}}},t.prototype._copyOptions=function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(e).forEach(function(t){n[t]=e[t]})}}return t},t.prototype.createSubContext=function(e,n,r){void 0===e&&(e=null);var i=n||this.element,o=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o},t.prototype.transformIntoNewTimeline=function(t){return this.previousNode=kf,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline},t.prototype.appendInstructionToTimeline=function(t,e,n){var r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},i=new Rf(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r},t.prototype.incrementTime=function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)},t.prototype.delayNextStep=function(t){t>0&&this.currentTimeline.delayNextStep(t)},t.prototype.invokeQuery=function(t,e,n,r,i,o){var s=[];if(r&&s.push(this.element),t.length>0){t=(t=t.replace(Sf,"."+this._enterClassName)).replace(Ef,"."+this._leaveClassName);var a=this._driver.query(this.element,t,1!=n);0!==n&&(a=n<0?a.slice(a.length+n,a.length):a.slice(0,n)),s.push.apply(s,a)}return i||0!=s.length||o.push('`query("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),s},t}(),If=function(){function t(t,e,n,r){this._driver=t,this.element=e,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(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}return t.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},t.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),t.prototype.delayNextStep=function(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t},t.prototype.fork=function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)},t.prototype._loadKeyframe=function(){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))},t.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},t.prototype.forwardTime=function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()},t.prototype._updateStyle=function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}},t.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},t.prototype.applyEmptyStep=function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(t){e._backFill[t]=e._globalTimelineStyles[t]||Ei,e._currentKeyframe[t]=Ei}),this._currentEmptyStepKeyframe=this._currentKeyframe},t.prototype.setStyles=function(t,e,n,r){var i=this;e&&(this._previousKeyframe.easing=e);var o=r&&r.params||{},s=function(t,e){var n,r={};return t.forEach(function(t){"*"===t?(n=n||Object.keys(e)).forEach(function(t){r[t]=Ei}):tf(t,!1,r)}),r}(t,this._globalTimelineStyles);Object.keys(s).forEach(function(t){var e=af(s[t],o,n);i._pendingStyles[t]=e,i._localTimelineStyles.hasOwnProperty(t)||(i._backFill[t]=i._globalTimelineStyles.hasOwnProperty(t)?i._globalTimelineStyles[t]:Ei),i._updateStyle(t,e)})},t.prototype.applyStylesToKeyframe=function(){var t=this,e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){t._currentKeyframe[n]=e[n]}),Object.keys(this._localTimelineStyles).forEach(function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])}))},t.prototype.snapshotCurrentStyles=function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)})},t.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(t.prototype,"properties",{get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t},enumerable:!0,configurable:!0}),t.prototype.mergeTimelineCollectedStyles=function(t){var e=this;Object.keys(t._styleSummary).forEach(function(n){var r=e._styleSummary[n],i=t._styleSummary[n];(!r||i.time>r.time)&&e._updateStyle(n,i.value)})},t.prototype.buildKeyframes=function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach(function(o,s){var a=tf(o,!0);Object.keys(a).forEach(function(t){var r=a[t];r==Ri?e.add(t):r==Ei&&n.add(t)}),r||(a.offset=s/t.duration),i.push(a)});var o=e.size?lf(e.values()):[],s=n.size?lf(n.values()):[];if(r){var a=i[0],l=Jh(a);a.offset=0,l.offset=1,i=[a,l]}return xf(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)},t}(),Rf=function(t){function e(e,n,r,i,o,s,a){void 0===a&&(a=!1);var l=t.call(this,e,n,s.delay)||this;return l.element=n,l.keyframes=r,l.preStyleProps=i,l.postStyleProps=o,l._stretchStartingKeyframe=a,l.timings={duration:s.duration,delay:s.delay,easing:s.easing},l}return Object(U.__extends)(e,t),e.prototype.containsAnimation=function(){return this.keyframes.length>1},e.prototype.buildKeyframes=function(){var t=this.keyframes,e=this.timings,n=e.delay,r=e.duration,i=e.easing;if(this._stretchStartingKeyframe&&n){var o=[],s=r+n,a=n/s,l=tf(t[0],!1);l.offset=0,o.push(l);var u=tf(t[0],!1);u.offset=Mf(a),o.push(u);for(var c=t.length-1,d=1;d<=c;d++){var p=tf(t[d],!1);p.offset=Mf((n+p.offset*r)/s),o.push(p)}r=s,n=0,i="",t=o}return xf(this.element,t,this.preStyleProps,this.postStyleProps,r,n,i,!0)},e}(If);function Mf(t,e){void 0===e&&(e=3);var n=Math.pow(10,e-1);return Math.round(t*n)/n}var Af=function(){},jf=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(U.__extends)(e,t),e.prototype.normalizePropertyName=function(t,e){return cf(t)},e.prototype.normalizeStyleValue=function(t,e,n,r){var i="",o=n.toString().trim();if(Nf[e]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&r.push("Please provide a CSS unit value for "+t+":"+n)}return o+i},e}(Af),Nf=function(t){var e={};return"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(",").forEach(function(t){return e[t]=!0}),e}();function Vf(t,e,n,r,i,o,s,a,l,u,c,d){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:u,postStyleProps:c,errors:d}}var Ff={},Lf=function(){function t(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}return t.prototype.match=function(t,e){return function(t,e,n){return t.some(function(t){return t(e,n)})}(this.ast.matchers,t,e)},t.prototype.buildStyles=function(t,e,n){var r=this._stateStyles["*"],i=this._stateStyles[t],o=r?r.buildStyles(e,n):{};return i?i.buildStyles(e,n):o},t.prototype.build=function(t,e,n,r,i,o,s,a,l){var u=[],c=this.ast.options&&this.ast.options.params||Ff,d=this.buildStyles(n,s&&s.params||Ff,u),p=a&&a.params||Ff,h=this.buildStyles(r,p,u),f=new Set,g=new Map,m=new Map,y="void"===r,v={params:Object(U.__assign)({},c,p)},b=Pf(t,e,this.ast.animation,i,o,d,h,v,l,u);if(u.length)return Vf(e,this._triggerName,n,r,y,d,h,[],[],g,m,u);b.forEach(function(t){var n=t.element,r=Mh(g,n,{});t.preStyleProps.forEach(function(t){return r[t]=!0});var i=Mh(m,n,{});t.postStyleProps.forEach(function(t){return i[t]=!0}),n!==e&&f.add(n)});var _=lf(f.values());return Vf(e,this._triggerName,n,r,y,d,h,b,_,g,m)},t}(),Bf=function(){function t(t,e){this.styles=t,this.defaultParams=e}return t.prototype.buildStyles=function(t,e){var n={},r=Jh(this.defaultParams);return Object.keys(t).forEach(function(e){var n=t[e];null!=n&&(r[e]=n)}),this.styles.styles.forEach(function(t){if("string"!=typeof t){var i=t;Object.keys(i).forEach(function(t){var o=i[t];o.length>1&&(o=af(o,r,e)),n[t]=o})}}),n},t}(),Hf=function(){function t(t,e){var n=this;this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(function(t){n.states[t.name]=new Bf(t.style,t.options&&t.options.params||{})}),zf(this.states,"true","1"),zf(this.states,"false","0"),e.transitions.forEach(function(e){n.transitionFactories.push(new Lf(t,e,n.states))}),this.fallbackTransition=new Lf(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(t.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),t.prototype.matchTransition=function(t,e){return this.transitionFactories.find(function(n){return n.match(t,e)})||null},t.prototype.matchStyles=function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)},t}();function zf(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var Wf=new Of,Uf=function(){function t(t,e){this._driver=t,this._normalizer=e,this._animations={},this._playersById={},this.players=[]}return t.prototype.register=function(t,e){var n=[],r=yf(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=r},t.prototype._buildPlayer=function(t,e,n){var r=t.element,i=kh(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,i,t.duration,t.delay,t.easing,[])},t.prototype.create=function(t,e,n){var r=this;void 0===n&&(n={});var i,o=[],s=this._animations[t],a=new Map;if(s?(i=Pf(this._driver,e,s,"ng-enter","ng-leave",{},{},n,Wf,o)).forEach(function(t){var e=Mh(a,t.element,{});t.postStyleProps.forEach(function(t){return e[t]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),i=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));a.forEach(function(t,e){Object.keys(t).forEach(function(n){t[n]=r._driver.computeStyle(e,n,Ei)})});var l=Th(i.map(function(t){var e=a.get(t.element);return r._buildPlayer(t,{},e)}));return this._playersById[t]=l,l.onDestroy(function(){return r.destroy(t)}),this.players.push(l),l},t.prototype.destroy=function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)},t.prototype._getPlayer=function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e},t.prototype.listen=function(t,e,n,r){var i=Rh(e,"","","");return Dh(this._getPlayer(t),n,i,r),function(){}},t.prototype.command=function(t,e,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(t);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(t)}}else this.create(t,e,r[0]||{});else this.register(t,r[0])},t}(),Gf=[],qf={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!1},$f={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!0},Yf="__ng_removed",Kf=function(){function t(t,e){void 0===e&&(e=""),this.namespaceId=e;var n=t&&t.hasOwnProperty("value");if(this.value=function(t){return null!=t?t:null}(n?t.value:t),n){var r=Jh(t);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.absorbOptions=function(t){var e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach(function(t){null==n[t]&&(n[t]=e[t])})}},t}(),Zf=new Kf("void"),Xf=new Kf("DELETED"),Qf=function(){function t(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,sg(e,this._hostClassName)}return t.prototype.listen=function(t,e,n,r){var i,o=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+e+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+e+'" 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 "'+e+'" is not supported!');var s=Mh(this._elementListeners,t,[]),a={name:e,phase:n,callback:r};s.push(a);var l=Mh(this._engine.statesByElement,t,{});return l.hasOwnProperty(e)||(sg(t,"ng-trigger"),sg(t,"ng-trigger-"+e),l[e]=Zf),function(){o._engine.afterFlush(function(){var t=s.indexOf(a);t>=0&&s.splice(t,1),o._triggers[e]||delete l[e]})}},t.prototype.register=function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)},t.prototype._getTrigger=function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return e},t.prototype.trigger=function(t,e,n,r){var i=this;void 0===r&&(r=!0);var o=this._getTrigger(e),s=new tg(this.id,e,t),a=this._engine.statesByElement.get(t);a||(sg(t,"ng-trigger"),sg(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,a={}));var l=a[e],u=new Kf(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),a[e]=u,l){if(l===Xf)return s}else l=Zf;if("void"===u.value||l.value!==u.value){var c=Mh(this._engine.playersByElement,t,[]);c.forEach(function(t){t.namespaceId==i.id&&t.triggerName==e&&t.queued&&t.destroy()});var d=o.matchTransition(l.value,u.value),p=!1;if(!d){if(!r)return;d=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:d,fromState:l,toState:u,player:s,isFallbackTransition:p}),p||(sg(t,"ng-animate-queued"),s.onStart(function(){ag(t,"ng-animate-queued")})),s.onDone(function(){var e=i.players.indexOf(s);e>=0&&i.players.splice(e,1);var n=i._engine.playersByElement.get(t);if(n){var r=n.indexOf(s);r>=0&&n.splice(r,1)}}),this.players.push(s),c.push(s),s}if(!function(t,e){var n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(var i=0;i=0){for(var r=!1,i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,e)){this._namespaceList.splice(i+1,0,t),r=!0;break}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t},t.prototype.register=function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n},t.prototype.registerTrigger=function(t,e,n){var r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++},t.prototype.destroy=function(t,e){var n=this;if(t){var r=this._fetchNamespace(t);this.afterFlush(function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(r);e>=0&&n._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(e)})}},t.prototype._fetchNamespace=function(t){return this._namespaceLookup[t]},t.prototype.fetchNamespacesByElement=function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var r=Object.keys(n),i=0;i=0;O--)this._namespaceList[O].drainQueuedTransitions(e).forEach(function(t){var e=t.player;C.push(e);var o=t.element;if(d&&n.driver.containsElement(d,o)){var c=_.get(o),p=f.get(o),h=n._buildInstruction(t,r,p,c);if(h.errors&&h.errors.length)x.push(h);else{if(t.isFallbackTransition)return e.onStart(function(){return nf(o,h.fromStyles)}),e.onDestroy(function(){return ef(o,h.toStyles)}),void i.push(e);h.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),r.append(o,h.timelines),s.push({instruction:h,player:e,element:o}),h.queriedElements.forEach(function(t){return Mh(a,t,[]).push(e)}),h.preStyleProps.forEach(function(t,e){var n=Object.keys(t);if(n.length){var r=l.get(e);r||l.set(e,r=new Set),n.forEach(function(t){return r.add(t)})}}),h.postStyleProps.forEach(function(t,e){var n=Object.keys(t),r=u.get(e);r||u.set(e,r=new Set),n.forEach(function(t){return r.add(t)})})}}else e.destroy()});if(x.length){var S=[];x.forEach(function(t){S.push("@"+t.triggerName+" has failed due to:\n"),t.errors.forEach(function(t){return S.push("- "+t+"\n")})}),C.forEach(function(t){return t.destroy()}),this.reportError(S)}var E=new Map,P=new Map;s.forEach(function(t){var e=t.element;r.has(e)&&(P.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,E))}),i.forEach(function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(function(t){Mh(E,e,[]).push(t),t.destroy()})});var T=m.filter(function(t){return ug(t,l,u)}),k=new Map;rg(k,this.driver,v,u,Ei).forEach(function(t){ug(t,l,u)&&T.push(t)});var D=new Map;h.forEach(function(t,e){rg(D,n.driver,new Set(t),l,Ri)}),T.forEach(function(t){var e=k.get(t),n=D.get(t);k.set(t,Object(U.__assign)({},e,n))});var I=[],R=[],M={};s.forEach(function(t){var e=t.element,s=t.player,a=t.instruction;if(r.has(e)){if(c.has(e))return s.onDestroy(function(){return ef(e,a.toStyles)}),void i.push(s);var l=M;if(P.size>1){for(var u=e,d=[];u=u.parentNode;){var p=P.get(u);if(p){l=p;break}d.push(u)}d.forEach(function(t){return P.set(t,l)})}var h=n._buildAnimation(s.namespaceId,a,E,o,D,k);if(s.setRealPlayer(h),l===M)I.push(s);else{var f=n.playersByElement.get(l);f&&f.length&&(s.parentPlayer=Th(f)),i.push(s)}}else nf(e,a.fromStyles),s.onDestroy(function(){return ef(e,a.toStyles)}),R.push(s),c.has(e)&&i.push(s)}),R.forEach(function(t){var e=o.get(t.element);if(e&&e.length){var n=Th(e);t.setRealPlayer(n)}}),i.forEach(function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(var A=0;A0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new Di},t}(),tg=function(){function t(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new Di,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.queued=!0}return t.prototype.setRealPlayer=function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(n){e._queuedCallbacks[n].forEach(function(e){return Dh(t,n,void 0,e)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.queued=!1)},t.prototype.getRealPlayer=function(){return this._player},t.prototype.syncPlayerEvents=function(t){var e=this,n=this._player;n.triggerCallback&&t.onStart(function(){return n.triggerCallback("start")}),t.onDone(function(){return e.finish()}),t.onDestroy(function(){return e.destroy()})},t.prototype._queueEvent=function(t,e){Mh(this._queuedCallbacks,t,[]).push(e)},t.prototype.onDone=function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)},t.prototype.onStart=function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)},t.prototype.onDestroy=function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)},t.prototype.init=function(){this._player.init()},t.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},t.prototype.play=function(){!this.queued&&this._player.play()},t.prototype.pause=function(){!this.queued&&this._player.pause()},t.prototype.restart=function(){!this.queued&&this._player.restart()},t.prototype.finish=function(){this._player.finish()},t.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},t.prototype.reset=function(){!this.queued&&this._player.reset()},t.prototype.setPosition=function(t){this.queued||this._player.setPosition(t)},t.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._player.totalTime},enumerable:!0,configurable:!0}),t.prototype.triggerCallback=function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)},t}();function eg(t){return t&&1===t.nodeType}function ng(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function rg(t,e,n,r,i){var o=[];n.forEach(function(t){return o.push(ng(t))});var s=[];r.forEach(function(n,r){var o={};n.forEach(function(t){var n=o[t]=e.computeStyle(r,t,i);n&&0!=n.length||(r[Yf]=$f,s.push(r))}),t.set(r,o)});var a=0;return n.forEach(function(t){return ng(t,o[a++])}),s}function ig(t,e){var n=new Map;if(t.forEach(function(t){return n.set(t,[])}),0==e.length)return n;var r=new Set(e),i=new Map;return e.forEach(function(t){var e=function t(e){if(!e)return 1;var o=i.get(e);if(o)return o;var s=e.parentNode;return o=n.has(s)?s:r.has(s)?1:t(s),i.set(e,o),o}(t);1!==e&&n.get(e).push(t)}),n}var og="$$classes";function sg(t,e){if(t.classList)t.classList.add(e);else{var n=t[og];n||(n=t[og]={}),n[e]=!0}}function ag(t,e){if(t.classList)t.classList.remove(e);else{var n=t[og];n&&delete n[e]}}function lg(t,e,n){Th(n).onDone(function(){return t.processLeaveNode(e)})}function ug(t,e,n){var r=n.get(t);if(!r)return!1;var i=e.get(t);return i?r.forEach(function(t){return i.add(t)}):e.set(t,r),n.delete(t),!0}var cg=function(){function t(t,e){var n=this;this._driver=t,this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new Jf(t,e),this._timelineEngine=new Uf(t,e),this._transitionEngine.onRemovalComplete=function(t,e){return n.onRemovalComplete(t,e)}}return t.prototype.registerTrigger=function(t,e,n,r,i){var o=t+"-"+r,s=this._triggerCache[o];if(!s){var a=[],l=yf(this._driver,i,a);if(a.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+a.join("\n - "));s=function(t,e){return new Hf(t,e)}(r,l),this._triggerCache[o]=s}this._transitionEngine.registerTrigger(e,r,s)},t.prototype.register=function(t,e){this._transitionEngine.register(t,e)},t.prototype.destroy=function(t,e){this._transitionEngine.destroy(t,e)},t.prototype.onInsert=function(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)},t.prototype.onRemove=function(t,e,n){this._transitionEngine.removeNode(t,e,n)},t.prototype.disableAnimations=function(t,e){this._transitionEngine.markElementAsDisabled(t,e)},t.prototype.process=function(t,e,n,r){if("@"==n.charAt(0)){var i=Ah(n);this._timelineEngine.command(i[0],e,i[1],r)}else this._transitionEngine.trigger(t,e,n,r)},t.prototype.listen=function(t,e,n,r,i){if("@"==n.charAt(0)){var o=Ah(n);return this._timelineEngine.listen(o[0],e,o[1],i)}return this._transitionEngine.listen(t,e,n,r,i)},t.prototype.flush=function(t){void 0===t&&(t=-1),this._transitionEngine.flush(t)},Object.defineProperty(t.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),t.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},t}(),dg=function(){function t(t,e,n,r){void 0===r&&(r=[]);var i=this;this.element=t,this.keyframes=e,this.options=n,this.previousPlayers=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.previousStyles={},this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay,(0===this._duration||0===this._delay)&&r.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return i.previousStyles[t]=e[t]})})}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},t.prototype._buildPlayer=function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes.map(function(t){return tf(t,!1)}),n=Object.keys(this.previousStyles);if(n.length&&e.length){var r=e[0],i=[];if(n.forEach(function(e){r.hasOwnProperty(e)||i.push(e),r[e]=t.previousStyles[e]}),i.length)for(var o=this,s=function(){var t=e[a];i.forEach(function(e){t[e]=pg(o.element,e)})},a=1;a=0&&t=0;)e+=this.treeArray[t],t=(t&t+1)-1;return e},t.prototype.queryBetween=function(t,e){return this.query(e)-this.query(t-1)},t.prototype.calcRowIndex=function(t){if(!this.treeArray.length)return 0;for(var e=-1,n=this.treeArray.length,r=Math.pow(2,n.toString(2).length-1);0!==r;r>>=1){var i=e+r;i=this.treeArray[i]&&(t-=this.treeArray[i],e=i)}return e+1},t}()},y7Yj:function(t,e,n){"use strict";var r=n("TToO").__decorate,i=n("TToO").__metadata;Object.defineProperty(e,"__esModule",{value:!0});var o=n("WT6e");e.VisibilityDirective=function(){function t(t,e){this.element=t,this.zone=e,this.isVisible=!1,this.visible=new o.EventEmitter}return t.prototype.ngOnInit=function(){this.runCheck()},t.prototype.ngOnDestroy=function(){clearTimeout(this.timeout)},t.prototype.onVisibilityChange=function(){var t=this;this.zone.run(function(){t.isVisible=!0,t.visible.emit(!0)})},t.prototype.runCheck=function(){var t=this,e=function(){var n=t.element.nativeElement;n.offsetHeight&&n.offsetWidth?(clearTimeout(t.timeout),t.onVisibilityChange()):(clearTimeout(t.timeout),t.zone.runOutsideAngular(function(){t.timeout=setTimeout(function(){return e()},50)}))};this.timeout=setTimeout(function(){return e()})},r([o.HostBinding("class.visible"),i("design:type",Boolean)],t.prototype,"isVisible",void 0),r([o.Output(),i("design:type",o.EventEmitter)],t.prototype,"visible",void 0),r([o.Directive({selector:"[visibilityObserver]"})],t)}()},yN1j:function(t,e,n){"use strict";var r=n("TToO").__decorate,i=n("TToO").__metadata;Object.defineProperty(e,"__esModule",{value:!0});var o=n("WT6e"),s=n("x6Zf"),a=n("j2I9");e.DataTableSelectionComponent=function(){function t(){this.activate=new o.EventEmitter,this.select=new o.EventEmitter}return t.prototype.selectRow=function(t,e,n){if(this.selectEnabled){var r,i=this.selectionType===a.SelectionType.checkbox,o=this.selectionType===a.SelectionType.multiClick,l=[];l=this.selectionType===a.SelectionType.multi||i||o?t.shiftKey?s.selectRowsBetween([],this.rows,e,this.prevIndex,this.getRowSelectedIdx.bind(this)):s.selectRows(t.ctrlKey||t.metaKey||o||i?this.selected.slice():[],n,this.getRowSelectedIdx.bind(this)):s.selectRows([],n,this.getRowSelectedIdx.bind(this)),"function"==typeof this.selectCheck&&(l=l.filter(this.selectCheck.bind(this))),this.selected.splice(0,this.selected.length),(r=this.selected).push.apply(r,l),this.prevIndex=e,this.select.emit({selected:l})}},t.prototype.onActivate=function(t,e){var n=t.type,r=t.event,i=t.row,o=this.selectionType===a.SelectionType.checkbox;!o&&("click"===n||"dblclick"===n)||o&&"checkbox"===n?this.selectRow(r,e,i):"keydown"===n&&(r.keyCode===s.Keys.return?this.selectRow(r,e,i):this.onKeyboardFocus(t)),this.activate.emit(t)},t.prototype.onKeyboardFocus=function(t){var e=t.event.keyCode;if(e===s.Keys.up||e===s.Keys.down||e===s.Keys.right||e===s.Keys.left){var n=this.selectionType===a.SelectionType.cell;t.cellElement&&n?n&&this.focusCell(t.cellElement,t.rowElement,e,t.cellIndex):this.focusRow(t.rowElement,e)}},t.prototype.focusRow=function(t,e){var n=this.getPrevNextRow(t,e);n&&n.focus()},t.prototype.getPrevNextRow=function(t,e){var n=t.parentElement;if(n){var r=void 0;if(e===s.Keys.up?r=n.previousElementSibling:e===s.Keys.down&&(r=n.nextElementSibling),r&&r.children.length)return r.children[0]}},t.prototype.focusCell=function(t,e,n,r){var i;if(n===s.Keys.left)i=t.previousElementSibling;else if(n===s.Keys.right)i=t.nextElementSibling;else if(n===s.Keys.up||n===s.Keys.down){var o=this.getPrevNextRow(e,n);if(o){var a=o.getElementsByClassName("datatable-body-cell");a.length&&(i=a[r])}}i&&i.focus()},t.prototype.getRowSelected=function(t){return this.getRowSelectedIdx(t,this.selected)>-1},t.prototype.getRowSelectedIdx=function(t,e){var n=this;if(!e||!e.length)return-1;var r=this.rowIdentity(t);return e.findIndex(function(t){return n.rowIdentity(t)===r})},r([o.Input(),i("design:type",Array)],t.prototype,"rows",void 0),r([o.Input(),i("design:type",Array)],t.prototype,"selected",void 0),r([o.Input(),i("design:type",Boolean)],t.prototype,"selectEnabled",void 0),r([o.Input(),i("design:type",String)],t.prototype,"selectionType",void 0),r([o.Input(),i("design:type",Object)],t.prototype,"rowIdentity",void 0),r([o.Input(),i("design:type",Object)],t.prototype,"selectCheck",void 0),r([o.Output(),i("design:type",o.EventEmitter)],t.prototype,"activate",void 0),r([o.Output(),i("design:type",o.EventEmitter)],t.prototype,"select",void 0),r([o.Component({selector:"datatable-selection",template:"\n \n ",changeDetection:o.ChangeDetectionStrategy.OnPush})],t)}()},yl66:function(t,e,n){"use strict";function r(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}Object.defineProperty(e,"__esModule",{value:!0}),r(n("bYJ/")),r(n("4gpe")),r(n("Ul3N")),r(n("9/L2"))},z2AX:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.id=function(){return("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4)}},zVgD:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=n("mnL7").a.create},zrQW:function(t,e,n){"use strict";e.b=function(t,e){return void 0===e&&(e=0),function(n){return n.lift(new s(t,e))}},n.d(e,"a",function(){return a});var r=n("TToO"),i=n("OVmG"),o=n("jhW9"),s=function(){function t(t,e){void 0===e&&(e=0),this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.scheduler,this.delay))},t}(),a=function(t){function e(e,n,r){void 0===r&&(r=0),t.call(this,e),this.scheduler=n,this.delay=r}return Object(r.__extends)(e,t),e.dispatch=function(t){t.notification.observe(t.destination),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.add(this.scheduler.schedule(e.dispatch,this.delay,new l(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(o.a.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(o.a.createError(t))},e.prototype._complete=function(){this.scheduleMessage(o.a.createComplete())},e}(i.a),l=function(t,e){this.notification=t,this.destination=e}}},[0]);