123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- (window.webpackJsonpNVIV=window.webpackJsonpNVIV||[]).push([[15],{1675:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(1909),r=n(1945),a=n(1955),s=n(1910),l=n(2092),c=n(1970),u=n(1958),d=n(2100),p=n(2102),m=n(1876),h=n(1866),f=n(3),g=n(624),v=n(1888),b=n(1890),y=n(1889),_=n(168),C=n(1711),x=n(1952),w=n(1951),S=n(1912),P=n(2105),O=n(1873),M=n(1916),k=n(1971),E=n(1972),I=n(1709),D=n(625),T=n(2015),R=n(440),j=n(1707),A=n(1913),F=n(2013),N=n(2235),L=n(1874),U=n(1963),V=n(1698),z=n(1859),B=n(1865),q=n(1852),H=n(1966),G=n(1968),Q=n(1967),W=n(1961),Z=n(1962),$=n(2014),K=n(1864),Y=n(1877),J=n(1960),X=n(0),tt=function(){function t(){}return t.ɵmod=X.ɵɵdefineNgModule({type:t}),t.ɵinj=X.ɵɵdefineInjector({factory:function(e){return new(e||t)},providers:[{provide:v.CLOUD_UPLOAD_COMPONENT,useValue:l.CloudUploadComponent},{provide:b.PROCESSING_TASK_COMPONENT,useValue:d.ProcessingTaskComponent},{provide:y.PROCESSED_DATA_COMPONENT,useValue:p.ProcessedDataComponent}],imports:[[h.MomentModule,s.FileUploadModule,f.CommonModule,g.FormsModule,_.TranslocoModule,C.SharedModule,P.GenericTableModule,I.MatIconModule,D.MatButtonModule,T.MatTooltipModule,R.MatDialogModule,j.FlexModule,F.MatExpansionModule,N.MatTableModule,j.FlexModule,V.MatFormFieldModule,z.MatInputModule,B.MatSlideToggleModule,H.MatButtonToggleModule,q.MatCheckboxModule,j.FlexModule,$.MatListModule,K.MatRadioModule,Y.MatChipsModule]]}),t}();e.CloudProcessingModule=tt,("undefined"==typeof ngJitMode||ngJitMode)&&X.ɵɵsetNgModuleScope(tt,{declarations:[o.FileDropComponent,l.CloudUploadComponent,c.DatasetUploadStatusComponent,r.ProcessingTaskCreationModalComponent,a.ProcessingTaskCreationProgressMenuComponent,u.ProcessingTaskConfigurationComponent,m.ProgressIndicatorComponent,d.ProcessingTaskComponent,p.ProcessedDataComponent,x.DatasetDownloadDialogComponent,S.DatasetDownloadCellComponent,L.ZoomableComponent,w.QualityMapPreviewComponent,O.ImagePreviewCellComponent,M.DatasetStatusCellComponent,k.ProgressBarCellComponent,E.TaskStatusCellComponent,A.ControlPointsScreenModalComponent,J.ControlPointsScreenComponent,Z.MappedControlPointsComponent,G.M6PresetsTableComponent,Q.VLXPresetsTableComponent,W.LinkControlPointModalComponent,U.ControlPointLocationComponent],imports:[h.MomentModule,s.FileUploadModule,f.CommonModule,g.FormsModule,_.TranslocoModule,C.SharedModule,P.GenericTableModule,I.MatIconModule,D.MatButtonModule,T.MatTooltipModule,R.MatDialogModule,j.FlexModule,F.MatExpansionModule,N.MatTableModule,j.FlexModule,V.MatFormFieldModule,z.MatInputModule,B.MatSlideToggleModule,H.MatButtonToggleModule,q.MatCheckboxModule,j.FlexModule,$.MatListModule,K.MatRadioModule,Y.MatChipsModule]}),X.ɵsetClassMetadata(tt,[{type:i.NgModule,args:[{imports:[h.MomentModule,s.FileUploadModule,f.CommonModule,g.FormsModule,_.TranslocoModule,C.SharedModule,P.GenericTableModule,I.MatIconModule,D.MatButtonModule,T.MatTooltipModule,R.MatDialogModule,j.FlexModule,F.MatExpansionModule,N.MatTableModule,j.FlexModule,V.MatFormFieldModule,z.MatInputModule,B.MatSlideToggleModule,H.MatButtonToggleModule,q.MatCheckboxModule,j.FlexModule,$.MatListModule,K.MatRadioModule,Y.MatChipsModule],declarations:[o.FileDropComponent,l.CloudUploadComponent,c.DatasetUploadStatusComponent,r.ProcessingTaskCreationModalComponent,a.ProcessingTaskCreationProgressMenuComponent,u.ProcessingTaskConfigurationComponent,m.ProgressIndicatorComponent,d.ProcessingTaskComponent,p.ProcessedDataComponent,x.DatasetDownloadDialogComponent,S.DatasetDownloadCellComponent,L.ZoomableComponent,w.QualityMapPreviewComponent,O.ImagePreviewCellComponent,M.DatasetStatusCellComponent,k.ProgressBarCellComponent,E.TaskStatusCellComponent,A.ControlPointsScreenModalComponent,J.ControlPointsScreenComponent,Z.MappedControlPointsComponent,G.M6PresetsTableComponent,Q.VLXPresetsTableComponent,W.LinkControlPointModalComponent,U.ControlPointLocationComponent],entryComponents:[l.CloudUploadComponent,d.ProcessingTaskComponent,p.ProcessedDataComponent],providers:[{provide:v.CLOUD_UPLOAD_COMPONENT,useValue:l.CloudUploadComponent},{provide:b.PROCESSING_TASK_COMPONENT,useValue:d.ProcessingTaskComponent},{provide:y.PROCESSED_DATA_COMPONENT,useValue:p.ProcessedDataComponent}]}]}],null,null)},169:function(t,e,n){"use strict";n.r(e),n.d(e,"audit",function(){return i.a}),n.d(e,"auditTime",function(){return o.a}),n.d(e,"buffer",function(){return l}),n.d(e,"bufferCount",function(){return p}),n.d(e,"bufferTime",function(){return b}),n.d(e,"bufferToggle",function(){return O}),n.d(e,"bufferWhen",function(){return E}),n.d(e,"catchError",function(){return T.a}),n.d(e,"combineAll",function(){return j}),n.d(e,"combineLatest",function(){return N}),n.d(e,"concat",function(){return U}),n.d(e,"concatAll",function(){return V.a}),n.d(e,"concatMap",function(){return z.a}),n.d(e,"concatMapTo",function(){return B}),n.d(e,"count",function(){return q}),n.d(e,"debounce",function(){return Q}),n.d(e,"debounceTime",function(){return $.a}),n.d(e,"defaultIfEmpty",function(){return K.a}),n.d(e,"delay",function(){return X}),n.d(e,"delayWhen",function(){return ot}),n.d(e,"dematerialize",function(){return ct}),n.d(e,"distinct",function(){return pt}),n.d(e,"distinctUntilChanged",function(){return ft.a}),n.d(e,"distinctUntilKeyChanged",function(){return gt}),n.d(e,"elementAt",function(){return Ct}),n.d(e,"endWith",function(){return wt}),n.d(e,"every",function(){return St.a}),n.d(e,"exhaust",function(){return Pt}),n.d(e,"exhaustMap",function(){return It}),n.d(e,"expand",function(){return Rt}),n.d(e,"filter",function(){return bt.a}),n.d(e,"finalize",function(){return Ft.a}),n.d(e,"find",function(){return Nt}),n.d(e,"findIndex",function(){return Vt}),n.d(e,"first",function(){return zt.a}),n.d(e,"groupBy",function(){return Bt.b}),n.d(e,"ignoreElements",function(){return qt}),n.d(e,"isEmpty",function(){return Qt}),n.d(e,"last",function(){return $t.a}),n.d(e,"map",function(){return Et.a}),n.d(e,"mapTo",function(){return Kt}),n.d(e,"materialize",function(){return Xt}),n.d(e,"max",function(){return ie}),n.d(e,"merge",function(){return re}),n.d(e,"mergeAll",function(){return ae.a}),n.d(e,"mergeMap",function(){return se.b}),n.d(e,"flatMap",function(){return se.a}),n.d(e,"mergeMapTo",function(){return le}),n.d(e,"mergeScan",function(){return ce}),n.d(e,"min",function(){return pe}),n.d(e,"multicast",function(){return me.a}),n.d(e,"observeOn",function(){return he.b}),n.d(e,"onErrorResumeNext",function(){return fe}),n.d(e,"pairwise",function(){return be.a}),n.d(e,"partition",function(){return _e}),n.d(e,"pluck",function(){return Ce}),n.d(e,"publish",function(){return we}),n.d(e,"publishBehavior",function(){return Pe}),n.d(e,"publishLast",function(){return Me}),n.d(e,"publishReplay",function(){return Ee}),n.d(e,"race",function(){return De}),n.d(e,"reduce",function(){return ne.a}),n.d(e,"repeat",function(){return Re}),n.d(e,"repeatWhen",function(){return Fe}),n.d(e,"retry",function(){return Ue.a}),n.d(e,"retryWhen",function(){return Ve}),n.d(e,"refCount",function(){return qe.a}),n.d(e,"sample",function(){return He}),n.d(e,"sampleTime",function(){return We}),n.d(e,"scan",function(){return Ye.a}),n.d(e,"sequenceEqual",function(){return Je}),n.d(e,"share",function(){return nn.a}),n.d(e,"shareReplay",function(){return on.a}),n.d(e,"single",function(){return an}),n.d(e,"skip",function(){return cn.a}),n.d(e,"skipLast",function(){return un}),n.d(e,"skipUntil",function(){return mn}),n.d(e,"skipWhile",function(){return gn}),n.d(e,"startWith",function(){return yn.a}),n.d(e,"subscribeOn",function(){return wn}),n.d(e,"switchAll",function(){return Mn}),n.d(e,"switchMap",function(){return Pn.a}),n.d(e,"switchMapTo",function(){return kn}),n.d(e,"take",function(){return _t.a}),n.d(e,"takeLast",function(){return En.a}),n.d(e,"takeUntil",function(){return In.a}),n.d(e,"takeWhile",function(){return Dn}),n.d(e,"tap",function(){return jn.a}),n.d(e,"throttle",function(){return Fn}),n.d(e,"throttleTime",function(){return Un}),n.d(e,"throwIfEmpty",function(){return yt.a}),n.d(e,"timeInterval",function(){return Hn}),n.d(e,"timeout",function(){return Yn}),n.d(e,"timeoutWith",function(){return Wn}),n.d(e,"timestamp",function(){return Jn}),n.d(e,"toArray",function(){return ei}),n.d(e,"window",function(){return ni}),n.d(e,"windowCount",function(){return ri}),n.d(e,"windowTime",function(){return li}),n.d(e,"windowToggle",function(){return fi}),n.d(e,"windowWhen",function(){return bi}),n.d(e,"withLatestFrom",function(){return Ci}),n.d(e,"zip",function(){return Pi}),n.d(e,"zipAll",function(){return Oi});var i=n(455),o=n(437),r=n(1),a=n(79),s=n(78);function l(t){return function(e){return e.lift(new c(t))}}var c=function(){function t(t){this.closingNotifier=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.closingNotifier))},t}(),u=function(t){function e(e,n){var i=t.call(this,e)||this;return i.buffer=[],i.add(Object(s.a)(i,n)),i}return r.c(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype.notifyNext=function(t,e,n,i,o){var r=this.buffer;this.buffer=[],this.destination.next(r)},e}(a.a),d=n(26);function p(t,e){return void 0===e&&(e=null),function(n){return n.lift(new m(t,e))}}var m=function(){function t(t,e){this.bufferSize=t,this.startBufferEvery=e,this.subscriberClass=e&&t!==e?f:h}return t.prototype.call=function(t,e){return e.subscribe(new this.subscriberClass(t,this.bufferSize,this.startBufferEvery))},t}(),h=function(t){function e(e,n){var i=t.call(this,e)||this;return i.bufferSize=n,i.buffer=[],i}return r.c(e,t),e.prototype._next=function(t){var e=this.buffer;e.push(t),e.length==this.bufferSize&&(this.destination.next(e),this.buffer=[])},e.prototype._complete=function(){var e=this.buffer;e.length>0&&this.destination.next(e),t.prototype._complete.call(this)},e}(d.a),f=function(t){function e(e,n,i){var o=t.call(this,e)||this;return o.bufferSize=n,o.startBufferEvery=i,o.buffers=[],o.count=0,o}return r.c(e,t),e.prototype._next=function(t){var e=this.bufferSize,n=this.startBufferEvery,i=this.buffers,o=this.count;this.count++,o%n==0&&i.push([]);for(var r=i.length;r--;){var a=i[r];a.push(t),a.length===e&&(i.splice(r,1),this.destination.next(a))}},e.prototype._complete=function(){for(var e=this.buffers,n=this.destination;e.length>0;){var i=e.shift();i.length>0&&n.next(i)}t.prototype._complete.call(this)},e}(d.a),g=n(119),v=n(77);function b(t){var e=arguments.length,n=g.a;Object(v.a)(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);var i=null;e>=2&&(i=arguments[1]);var o=Number.POSITIVE_INFINITY;return e>=3&&(o=arguments[2]),function(e){return e.lift(new y(t,i,o,n))}}var y=function(){function t(t,e,n,i){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=n,this.scheduler=i}return t.prototype.call=function(t,e){return e.subscribe(new C(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),_=function(){this.buffer=[]},C=function(t){function e(e,n,i,o,r){var a=t.call(this,e)||this;a.bufferTimeSpan=n,a.bufferCreationInterval=i,a.maxBufferSize=o,a.scheduler=r,a.contexts=[];var s=a.openContext();if(a.timespanOnly=null==i||i<0,a.timespanOnly){var l={subscriber:a,context:s,bufferTimeSpan:n};a.add(s.closeAction=r.schedule(x,n,l))}else{var c={subscriber:a,context:s},u={bufferTimeSpan:n,bufferCreationInterval:i,subscriber:a,scheduler:r};a.add(s.closeAction=r.schedule(S,n,c)),a.add(r.schedule(w,i,u))}return a}return r.c(e,t),e.prototype._next=function(t){for(var e,n=this.contexts,i=n.length,o=0;o<i;o++){var r=n[o],a=r.buffer;a.push(t),a.length==this.maxBufferSize&&(e=r)}e&&this.onBufferFull(e)},e.prototype._error=function(e){this.contexts.length=0,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts,n=this.destination;e.length>0;){var i=e.shift();n.next(i.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,i={subscriber:this,context:t,bufferTimeSpan:n};this.add(t.closeAction=this.scheduler.schedule(x,n,i))}},e.prototype.openContext=function(){var t=new _;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 x(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 w(t){var e=t.bufferCreationInterval,n=t.bufferTimeSpan,i=t.subscriber,o=t.scheduler,r=i.openContext();i.closed||(i.add(r.closeAction=o.schedule(S,n,{subscriber:i,context:r})),this.schedule(t,e))}function S(t){var e=t.subscriber,n=t.context;e.closeContext(n)}var P=n(33);function O(t,e){return function(n){return n.lift(new M(t,e))}}var M=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new k(t,this.openings,this.closingSelector))},t}(),k=function(t){function e(e,n,i){var o=t.call(this,e)||this;return o.openings=n,o.closingSelector=i,o.contexts=[],o.add(Object(s.a)(o,n)),o}return r.c(e,t),e.prototype._next=function(t){for(var e=this.contexts,n=e.length,i=0;i<n;i++)e[i].buffer.push(t)},e.prototype._error=function(e){for(var n=this.contexts;n.length>0;){var i=n.shift();i.subscription.unsubscribe(),i.buffer=null,i.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,i,o){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.buffer,i=t.subscription;this.destination.next(n),e.splice(e.indexOf(t),1),this.remove(i),i.unsubscribe()}},e.prototype.trySubscribe=function(t){var e=this.contexts,n=new P.a,i={buffer:[],subscription:n};e.push(i);var o=Object(s.a)(this,t,i);!o||o.closed?this.closeBuffer(i):(o.context=i,this.add(o),n.add(o))},e}(a.a);function E(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 D(t,this.closingSelector))},t}(),D=function(t){function e(e,n){var i=t.call(this,e)||this;return i.closingSelector=n,i.subscribing=!1,i.openBuffer(),i}return r.c(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,i,o){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());var e,n=this.buffer;this.buffer&&this.destination.next(n),this.buffer=[];try{e=(0,this.closingSelector)()}catch(t){return this.error(t)}t=new P.a,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add(Object(s.a)(this,e)),this.subscribing=!1},e}(a.a),T=n(637),R=n(346);function j(t){return function(e){return e.lift(new R.a(t))}}var A=n(56),F=n(76);function N(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=null;return"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&Object(A.a)(t[0])&&(t=t[0].slice()),function(e){return e.lift.call(Object(F.a)([e].concat(t)),new R.a(n))}}var L=n(250);function U(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(L.a.apply(void 0,[e].concat(t)))}}var V=n(450),z=n(1886);function B(t,e){return Object(z.a)(function(){return t},e)}function q(t){return function(e){return e.lift(new H(t,e))}}var H=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new G(t,this.predicate,this.source))},t}(),G=function(t){function e(e,n,i){var o=t.call(this,e)||this;return o.predicate=n,o.source=i,o.count=0,o.index=0,o}return r.c(e,t),e.prototype._next=function(t){this.predicate?this._tryPredicate(t):this.count++},e.prototype._tryPredicate=function(t){var e;try{e=this.predicate(t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e&&this.count++},e.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},e}(d.a);function Q(t){return function(e){return e.lift(new W(t))}}var W=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new Z(t,this.durationSelector))},t}(),Z=function(t){function e(e,n){var i=t.call(this,e)||this;return i.durationSelector=n,i.hasValue=!1,i.durationSubscription=null,i}return r.c(e,t),e.prototype._next=function(t){try{var e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.emitValue(),this.destination.complete()},e.prototype._tryNext=function(t,e){var n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),(n=Object(s.a)(this,e))&&!n.closed&&this.add(this.durationSubscription=n)},e.prototype.notifyNext=function(t,e,n,i,o){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){if(this.hasValue){var e=this.value,n=this.durationSubscription;n&&(this.durationSubscription=null,n.unsubscribe(),this.remove(n)),this.value=null,this.hasValue=!1,t.prototype._next.call(this,e)}},e}(a.a),$=n(623),K=n(1708);function Y(t){return t instanceof Date&&!isNaN(+t)}var J=n(206);function X(t,e){void 0===e&&(e=g.a);var n=Y(t)?+t-e.now():Math.abs(t);return function(t){return t.lift(new tt(n,e))}}var tt=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new et(t,this.delay,this.scheduler))},t}(),et=function(t){function e(e,n,i){var o=t.call(this,e)||this;return o.delay=n,o.scheduler=i,o.queue=[],o.active=!1,o.errored=!1,o}return r.c(e,t),e.dispatch=function(t){for(var e=t.source,n=e.queue,i=t.scheduler,o=t.destination;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(o);if(n.length>0){var r=Math.max(0,n[0].time-i.now());this.schedule(t,r)}else this.unsubscribe(),e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.destination.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 nt(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(J.a.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.scheduleNotification(J.a.createComplete()),this.unsubscribe()},e}(d.a),nt=function(t,e){this.time=t,this.notification=e},it=n(12);function ot(t,e){return e?function(n){return new st(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 at(t,this.delayDurationSelector))},t}(),at=function(t){function e(e,n){var i=t.call(this,e)||this;return i.delayDurationSelector=n,i.completed=!1,i.delayNotifierSubscriptions=[],i.index=0,i}return r.c(e,t),e.prototype.notifyNext=function(t,e,n,i,o){this.destination.next(t),this.removeSubscription(o),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){var e=this.index++;try{var n=this.delayDurationSelector(t,e);n&&this.tryDelay(n,t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.completed=!0,this.tryComplete(),this.unsubscribe()},e.prototype.removeSubscription=function(t){t.unsubscribe();var e=this.delayNotifierSubscriptions.indexOf(t);return-1!==e&&this.delayNotifierSubscriptions.splice(e,1),t.outerValue},e.prototype.tryDelay=function(t,e){var n=Object(s.a)(this,t,e);n&&!n.closed&&(this.destination.add(n),this.delayNotifierSubscriptions.push(n))},e.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},e}(a.a),st=function(t){function e(e,n){var i=t.call(this)||this;return i.source=e,i.subscriptionDelay=n,i}return r.c(e,t),e.prototype._subscribe=function(t){this.subscriptionDelay.subscribe(new lt(t,this.source))},e}(it.a),lt=function(t){function e(e,n){var i=t.call(this)||this;return i.parent=e,i.source=n,i.sourceSubscribed=!1,i}return r.c(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.unsubscribe(),this.subscribeToSource()},e.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},e}(d.a);function ct(){return function(t){return t.lift(new ut)}}var ut=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new dt(t))},t}(),dt=function(t){function e(e){return t.call(this,e)||this}return r.c(e,t),e.prototype._next=function(t){t.observe(this.destination)},e}(d.a);function pt(t,e){return function(n){return n.lift(new mt(t,e))}}var mt=function(){function t(t,e){this.keySelector=t,this.flushes=e}return t.prototype.call=function(t,e){return e.subscribe(new ht(t,this.keySelector,this.flushes))},t}(),ht=function(t){function e(e,n,i){var o=t.call(this,e)||this;return o.keySelector=n,o.values=new Set,i&&o.add(Object(s.a)(o,i)),o}return r.c(e,t),e.prototype.notifyNext=function(t,e,n,i,o){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}(a.a),ft=n(631);function gt(t,e){return Object(ft.a)(function(n,i){return e?e(n[t],i[t]):n[t]===i[t]})}var vt=n(280),bt=n(165),yt=n(1712),_t=n(221);function Ct(t,e){if(t<0)throw new vt.a;var n=arguments.length>=2;return function(i){return i.pipe(Object(bt.a)(function(e,n){return n===t}),Object(_t.a)(1),n?Object(K.a)(e):Object(yt.a)(function(){return new vt.a}))}}var xt=n(93);function wt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return Object(L.a)(e,xt.a.apply(void 0,t))}}var St=n(1885);function Pt(){return function(t){return t.lift(new Ot)}}var Ot=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Mt(t))},t}(),Mt=function(t){function e(e){var n=t.call(this,e)||this;return n.hasCompleted=!1,n.hasSubscription=!1,n}return r.c(e,t),e.prototype._next=function(t){this.hasSubscription||(this.hasSubscription=!0,this.add(Object(s.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}(a.a),kt=n(176),Et=n(62);function It(t,e){return e?function(n){return n.pipe(It(function(n,i){return Object(F.a)(t(n,i)).pipe(Object(Et.a)(function(t,o){return e(n,t,i,o)}))}))}:function(e){return e.lift(new Dt(t))}}var Dt=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new Tt(t,this.project))},t}(),Tt=function(t){function e(e,n){var i=t.call(this,e)||this;return i.project=n,i.hasSubscription=!1,i.hasCompleted=!1,i.index=0,i}return r.c(e,t),e.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},e.prototype.tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this.hasSubscription=!0,this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var i=new kt.a(this,e,n),o=this.destination;o.add(i);var r=Object(s.a)(this,t,void 0,void 0,i);r!==i&&o.add(r)},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,i,o){this.destination.next(e)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(a.a);function Rt(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(i){return i.lift(new jt(t,e,n))}}var jt=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 At(t,this.project,this.concurrent,this.scheduler))},t}(),At=function(t){function e(e,n,i,o){var r=t.call(this,e)||this;return r.project=n,r.concurrent=i,r.scheduler=o,r.index=0,r.active=0,r.hasCompleted=!1,i<Number.POSITIVE_INFINITY&&(r.buffer=[]),r}return r.c(e,t),e.dispatch=function(t){var e=t.subscriber,n=t.result,i=t.value,o=t.index;e.subscribeToProjection(n,i,o)},e.prototype._next=function(t){var n=this.destination;if(n.closed)this._complete();else{var i=this.index++;if(this.active<this.concurrent){n.next(t);try{var o=(0,this.project)(t,i);if(this.scheduler){var r={subscriber:this,result:o,value:t,index:i};this.destination.add(this.scheduler.schedule(e.dispatch,0,r))}else this.subscribeToProjection(o,t,i)}catch(t){n.error(t)}}else this.buffer.push(t)}},e.prototype.subscribeToProjection=function(t,e,n){this.active++,this.destination.add(Object(s.a)(this,t,e,n))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,i,o){this._next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.destination.remove(t),this.active--,e&&e.length>0&&this._next(e.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(a.a),Ft=n(1930);function Nt(t,e){if("function"!=typeof t)throw new TypeError("predicate is not a function");return function(n){return n.lift(new Lt(t,n,!1,e))}}var Lt=function(){function t(t,e,n,i){this.predicate=t,this.source=e,this.yieldIndex=n,this.thisArg=i}return t.prototype.call=function(t,e){return e.subscribe(new Ut(t,this.predicate,this.source,this.yieldIndex,this.thisArg))},t}(),Ut=function(t){function e(e,n,i,o,r){var a=t.call(this,e)||this;return a.predicate=n,a.source=i,a.yieldIndex=o,a.thisArg=r,a.index=0,a}return r.c(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete(),this.unsubscribe()},e.prototype._next=function(t){var e=this.predicate,n=this.thisArg,i=this.index++;try{e.call(n||this,t,i,this.source)&&this.notifyComplete(this.yieldIndex?i:t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},e}(d.a);function Vt(t,e){return function(n){return n.lift(new Lt(t,n,!0,e))}}var zt=n(1884),Bt=n(444);function qt(){return function(t){return t.lift(new Ht)}}var Ht=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Gt(t))},t}(),Gt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.c(e,t),e.prototype._next=function(t){},e}(d.a);function Qt(){return function(t){return t.lift(new Wt)}}var Wt=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Zt(t))},t}(),Zt=function(t){function e(e){return t.call(this,e)||this}return r.c(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(d.a),$t=n(1883);function Kt(t){return function(e){return e.lift(new Yt(t))}}var Yt=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new Jt(t,this.value))},t}(),Jt=function(t){function e(e,n){var i=t.call(this,e)||this;return i.value=n,i}return r.c(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(d.a);function Xt(){return function(t){return t.lift(new te)}}var te=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new ee(t))},t}(),ee=function(t){function e(e){return t.call(this,e)||this}return r.c(e,t),e.prototype._next=function(t){this.destination.next(J.a.createNext(t))},e.prototype._error=function(t){var e=this.destination;e.next(J.a.createError(t)),e.complete()},e.prototype._complete=function(){var t=this.destination;t.next(J.a.createComplete()),t.complete()},e}(d.a),ne=n(1856);function ie(t){var e="function"==typeof t?function(e,n){return t(e,n)>0?e:n}:function(t,e){return t>e?t:e};return Object(ne.a)(e)}var oe=n(279);function re(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(oe.a.apply(void 0,[e].concat(t)))}}var ae=n(307),se=n(443);function le(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?Object(se.b)(function(){return t},e,n):("number"==typeof e&&(n=e),Object(se.b)(function(){return t},n))}function ce(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),function(i){return i.lift(new ue(t,e,n))}}var ue=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 de(t,this.accumulator,this.seed,this.concurrent))},t}(),de=function(t){function e(e,n,i,o){var r=t.call(this,e)||this;return r.accumulator=n,r.acc=i,r.concurrent=o,r.hasValue=!1,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return r.c(e,t),e.prototype._next=function(t){if(this.active<this.concurrent){var e=this.index++,n=this.destination,i=void 0;try{i=(0,this.accumulator)(this.acc,t,e)}catch(t){return n.error(t)}this.active++,this._innerSub(i,t,e)}else this.buffer.push(t)},e.prototype._innerSub=function(t,e,n){var i=new kt.a(this,e,n),o=this.destination;o.add(i);var r=Object(s.a)(this,t,void 0,void 0,i);r!==i&&o.add(r)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete()),this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,i,o){var r=this.destination;this.acc=e,this.hasValue=!0,r.next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.destination.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e}(a.a);function pe(t){var e="function"==typeof t?function(e,n){return t(e,n)<0?e:n}:function(t,e){return t<e?t:e};return Object(ne.a)(e)}var me=n(442),he=n(448);function fe(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Object(A.a)(t[0])&&(t=t[0]),function(e){return e.lift(new ge(t))}}var ge=function(){function t(t){this.nextSources=t}return t.prototype.call=function(t,e){return e.subscribe(new ve(t,this.nextSources))},t}(),ve=function(t){function e(e,n){var i=t.call(this,e)||this;return i.destination=e,i.nextSources=n,i}return r.c(e,t),e.prototype.notifyError=function(t,e){this.subscribeToNextSource()},e.prototype.notifyComplete=function(t){this.subscribeToNextSource()},e.prototype._error=function(t){this.subscribeToNextSource(),this.unsubscribe()},e.prototype._complete=function(){this.subscribeToNextSource(),this.unsubscribe()},e.prototype.subscribeToNextSource=function(){var t=this.nextSources.shift();if(t){var e=new kt.a(this,void 0,void 0),n=this.destination;n.add(e);var i=Object(s.a)(this,t,void 0,void 0,e);i!==e&&n.add(i)}else this.destination.complete()},e}(a.a),be=n(650),ye=n(514);function _e(t,e){return function(n){return[Object(bt.a)(t,e)(n),Object(bt.a)(Object(ye.a)(t,e))(n)]}}function Ce(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t.length;if(0===n)throw new Error("list of properties cannot be empty.");return function(e){return Object(Et.a)(function(t,e){return function(n){for(var i=n,o=0;o<e;o++){var r=null!=i?i[t[o]]:void 0;if(void 0===r)return;i=r}return i}}(t,n))(e)}}var xe=n(32);function we(t){return t?Object(me.a)(function(){return new xe.a},t):Object(me.a)(new xe.a)}var Se=n(373);function Pe(t){return function(e){return Object(me.a)(new Se.a(t))(e)}}var Oe=n(186);function Me(){return function(t){return Object(me.a)(new Oe.a)(t)}}var ke=n(305);function Ee(t,e,n,i){n&&"function"!=typeof n&&(i=n);var o="function"==typeof n?n:void 0,r=new ke.a(t,e,i);return function(t){return Object(me.a)(function(){return r},o)(t)}}var Ie=n(451);function De(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return 1===t.length&&Object(A.a)(t[0])&&(t=t[0]),e.lift.call(Ie.a.apply(void 0,[e].concat(t)))}}var Te=n(71);function Re(t){return void 0===t&&(t=-1),function(e){return 0===t?Object(Te.b)():t<0?e.lift(new je(-1,e)):e.lift(new je(t-1,e))}}var je=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new Ae(t,this.count,this.source))},t}(),Ae=function(t){function e(e,n,i){var o=t.call(this,e)||this;return o.count=n,o.source=i,o}return r.c(e,t),e.prototype.complete=function(){if(!this.isStopped){var e=this.source,n=this.count;if(0===n)return t.prototype.complete.call(this);n>-1&&(this.count=n-1),e.subscribe(this._unsubscribeAndRecycle())}},e}(d.a);function Fe(t){return function(e){return e.lift(new Ne(t))}}var Ne=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new Le(t,this.notifier,e))},t}(),Le=function(t){function e(e,n,i){var o=t.call(this,e)||this;return o.notifier=n,o.source=i,o.sourceIsBeingSubscribedTo=!0,o}return r.c(e,t),e.prototype.notifyNext=function(t,e,n,i,o){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||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return t.prototype.complete.call(this);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._unsubscribe;return this._unsubscribe=null,t.prototype._unsubscribeAndRecycle.call(this),this._unsubscribe=e,this},e.prototype.subscribeToRetries=function(){var e;this.notifications=new xe.a;try{e=(0,this.notifier)(this.notifications)}catch(e){return t.prototype.complete.call(this)}this.retries=e,this.retriesSubscription=Object(s.a)(this,e)},e}(a.a),Ue=n(636);function Ve(t){return function(e){return e.lift(new ze(t,e))}}var ze=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new Be(t,this.notifier,this.source))},t}(),Be=function(t){function e(e,n,i){var o=t.call(this,e)||this;return o.notifier=n,o.source=i,o}return r.c(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.errors,i=this.retries,o=this.retriesSubscription;if(i)this.errors=null,this.retriesSubscription=null;else{n=new xe.a;try{i=(0,this.notifier)(n)}catch(e){return t.prototype.error.call(this,e)}o=Object(s.a)(this,i)}this._unsubscribeAndRecycle(),this.errors=n,this.retries=i,this.retriesSubscription=o,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,i,o){var r=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=r,this.source.subscribe(this)},e}(a.a),qe=n(304);function He(t){return function(e){return e.lift(new Ge(t))}}var Ge=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new Qe(t),i=e.subscribe(n);return i.add(Object(s.a)(n,this.notifier)),i},t}(),Qe=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasValue=!1,e}return r.c(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(t,e,n,i,o){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(a.a);function We(t,e){return void 0===e&&(e=g.a),function(n){return n.lift(new Ze(t,e))}}var Ze=function(){function t(t,e){this.period=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new $e(t,this.period,this.scheduler))},t}(),$e=function(t){function e(e,n,i){var o=t.call(this,e)||this;return o.period=n,o.scheduler=i,o.hasValue=!1,o.add(i.schedule(Ke,n,{subscriber:o,period:n})),o}return r.c(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 Ke(t){var e=t.subscriber,n=t.period;e.notifyNext(),this.schedule(t,n)}var Ye=n(1855);function Je(t,e){return function(n){return n.lift(new Xe(t,e))}}var Xe=function(){function t(t,e){this.compareTo=t,this.comparator=e}return t.prototype.call=function(t,e){return e.subscribe(new tn(t,this.compareTo,this.comparator))},t}(),tn=function(t){function e(e,n,i){var o=t.call(this,e)||this;return o.compareTo=n,o.comparator=i,o._a=[],o._b=[],o._oneComplete=!1,o.destination.add(n.subscribe(new en(e,o))),o}return r.c(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,this.unsubscribe()},e.prototype.checkValues=function(){for(var t=this._a,e=this._b,n=this.comparator;t.length>0&&e.length>0;){var i=t.shift(),o=e.shift(),r=!1;try{r=n?n(i,o):i===o}catch(t){this.destination.error(t)}r||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.prototype.completeB=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},e}(d.a),en=function(t){function e(e,n){var i=t.call(this,e)||this;return i.parent=n,i}return r.c(e,t),e.prototype._next=function(t){this.parent.nextB(t)},e.prototype._error=function(t){this.parent.error(t),this.unsubscribe()},e.prototype._complete=function(){this.parent.completeB(),this.unsubscribe()},e}(d.a),nn=n(632),on=n(536),rn=n(441);function an(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 ln(t,this.predicate,this.source))},t}(),ln=function(t){function e(e,n,i){var o=t.call(this,e)||this;return o.predicate=n,o.source=i,o.seenValue=!1,o.index=0,o}return r.c(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 rn.a)},e}(d.a),cn=n(1954);function un(t){return function(e){return e.lift(new dn(t))}}var dn=function(){function t(t){if(this._skipCount=t,this._skipCount<0)throw new vt.a}return t.prototype.call=function(t,e){return 0===this._skipCount?e.subscribe(new d.a(t)):e.subscribe(new pn(t,this._skipCount))},t}(),pn=function(t){function e(e,n){var i=t.call(this,e)||this;return i._skipCount=n,i._count=0,i._ring=new Array(n),i}return r.c(e,t),e.prototype._next=function(t){var e=this._skipCount,n=this._count++;if(n<e)this._ring[n]=t;else{var i=n%e,o=this._ring,r=o[i];o[i]=t,this.destination.next(r)}},e}(d.a);function mn(t){return function(e){return e.lift(new hn(t))}}var hn=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new fn(t,this.notifier))},t}(),fn=function(t){function e(e,n){var i=t.call(this,e)||this;i.hasValue=!1;var o=new kt.a(i,void 0,void 0);i.add(o),i.innerSubscription=o;var r=Object(s.a)(i,n,void 0,void 0,o);return r!==o&&(i.add(r),i.innerSubscription=r),i}return r.c(e,t),e.prototype._next=function(e){this.hasValue&&t.prototype._next.call(this,e)},e.prototype.notifyNext=function(t,e,n,i,o){this.hasValue=!0,this.innerSubscription&&this.innerSubscription.unsubscribe()},e.prototype.notifyComplete=function(){},e}(a.a);function gn(t){return function(e){return e.lift(new vn(t))}}var vn=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new bn(t,this.predicate))},t}(),bn=function(t){function e(e,n){var i=t.call(this,e)||this;return i.predicate=n,i.skipping=!0,i.index=0,i}return r.c(e,t),e.prototype._next=function(t){var e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)},e.prototype.tryCallPredicate=function(t){try{var e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(t){this.destination.error(t)}},e}(d.a),yn=n(438),_n=n(331),Cn=n(275),xn=function(t){function e(e,n,i){void 0===n&&(n=0),void 0===i&&(i=_n.a);var o=t.call(this)||this;return o.source=e,o.delayTime=n,o.scheduler=i,(!Object(Cn.a)(n)||n<0)&&(o.delayTime=0),i&&"function"==typeof i.schedule||(o.scheduler=_n.a),o}return r.c(e,t),e.create=function(t,n,i){return void 0===n&&(n=0),void 0===i&&(i=_n.a),new e(t,n,i)},e.dispatch=function(t){var e=t.source,n=t.subscriber;return this.add(e.subscribe(n))},e.prototype._subscribe=function(t){var n=this.delayTime,i=this.source;return this.scheduler.schedule(e.dispatch,n,{source:i,subscriber:t})},e}(it.a);function wn(t,e){return void 0===e&&(e=0),function(n){return n.lift(new Sn(t,e))}}var Sn=function(){function t(t,e){this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return new xn(e,this.delay,this.scheduler).subscribe(t)},t}(),Pn=n(276),On=n(156);function Mn(){return Object(Pn.a)(On.a)}function kn(t,e){return e?Object(Pn.a)(function(){return t},e):Object(Pn.a)(function(){return t})}var En=n(1848),In=n(341);function Dn(t,e){return void 0===e&&(e=!1),function(n){return n.lift(new Tn(t,e))}}var Tn=function(){function t(t,e){this.predicate=t,this.inclusive=e}return t.prototype.call=function(t,e){return e.subscribe(new Rn(t,this.predicate,this.inclusive))},t}(),Rn=function(t){function e(e,n,i){var o=t.call(this,e)||this;return o.predicate=n,o.inclusive=i,o.index=0,o}return r.c(e,t),e.prototype._next=function(t){var e,n=this.destination;try{e=this.predicate(t,this.index++)}catch(t){return void n.error(t)}this.nextOrComplete(t,e)},e.prototype.nextOrComplete=function(t,e){var n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())},e}(d.a),jn=n(535),An={leading:!0,trailing:!1};function Fn(t,e){return void 0===e&&(e=An),function(n){return n.lift(new Nn(t,e.leading,e.trailing))}}var Nn=function(){function t(t,e,n){this.durationSelector=t,this.leading=e,this.trailing=n}return t.prototype.call=function(t,e){return e.subscribe(new Ln(t,this.durationSelector,this.leading,this.trailing))},t}(),Ln=function(t){function e(e,n,i,o){var r=t.call(this,e)||this;return r.destination=e,r.durationSelector=n,r._leading=i,r._trailing=o,r._hasValue=!1,r}return r.c(e,t),e.prototype._next=function(t){this._hasValue=!0,this._sendValue=t,this._throttled||(this._leading?this.send():this.throttle(t))},e.prototype.send=function(){var t=this._hasValue,e=this._sendValue;t&&(this.destination.next(e),this.throttle(e)),this._hasValue=!1,this._sendValue=null},e.prototype.throttle=function(t){var e=this.tryDurationSelector(t);e&&this.add(this._throttled=Object(s.a)(this,e))},e.prototype.tryDurationSelector=function(t){try{return this.durationSelector(t)}catch(t){return this.destination.error(t),null}},e.prototype.throttlingDone=function(){var t=this._throttled,e=this._trailing;t&&t.unsubscribe(),this._throttled=null,e&&this.send()},e.prototype.notifyNext=function(t,e,n,i,o){this.throttlingDone()},e.prototype.notifyComplete=function(){this.throttlingDone()},e}(a.a);function Un(t,e,n){return void 0===e&&(e=g.a),void 0===n&&(n=An),function(i){return i.lift(new Vn(t,e,n.leading,n.trailing))}}var Vn=function(){function t(t,e,n,i){this.duration=t,this.scheduler=e,this.leading=n,this.trailing=i}return t.prototype.call=function(t,e){return e.subscribe(new zn(t,this.duration,this.scheduler,this.leading,this.trailing))},t}(),zn=function(t){function e(e,n,i,o,r){var a=t.call(this,e)||this;return a.duration=n,a.scheduler=i,a.leading=o,a.trailing=r,a._hasTrailingValue=!1,a._trailingValue=null,a}return r.c(e,t),e.prototype._next=function(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(Bn,this.duration,{subscriber:this})),this.leading?this.destination.next(t):this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0))},e.prototype._complete=function(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()},e.prototype.clearThrottle=function(){var t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)},e}(d.a);function Bn(t){t.subscriber.clearThrottle()}var qn=n(274);function Hn(t){return void 0===t&&(t=g.a),function(e){return Object(qn.a)(function(){return e.pipe(Object(Ye.a)(function(e,n){var i=e.current;return{value:n,current:t.now(),last:i}},{current:t.now(),value:void 0,last:void 0}),Object(Et.a)(function(t){var e=t.current,n=t.last,i=t.value;return new Gn(i,e-n)}))})}}var Gn=function(t,e){this.value=t,this.interval=e},Qn=n(449);function Wn(t,e,n){return void 0===n&&(n=g.a),function(i){var o=Y(t),r=o?+t-n.now():Math.abs(t);return i.lift(new Zn(r,o,e,n))}}var Zn=function(){function t(t,e,n,i){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=n,this.scheduler=i}return t.prototype.call=function(t,e){return e.subscribe(new $n(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},t}(),$n=function(t){function e(e,n,i,o,r){var a=t.call(this,e)||this;return a.absoluteTimeout=n,a.waitFor=i,a.withObservable=o,a.scheduler=r,a.action=null,a.scheduleTimeout(),a}return r.c(e,t),e.dispatchTimeout=function(t){var e=t.withObservable;t._unsubscribeAndRecycle(),t.add(Object(s.a)(t,e))},e.prototype.scheduleTimeout=function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))},e.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),t.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.withObservable=null},e}(a.a),Kn=n(306);function Yn(t,e){return void 0===e&&(e=g.a),Wn(t,Object(Kn.a)(new Qn.a),e)}function Jn(t){return void 0===t&&(t=g.a),Object(Et.a)(function(e){return new Xn(e,t.now())})}var Xn=function(t,e){this.value=t,this.timestamp=e};function ti(t,e,n){return 0===n?[e]:(t.push(e),t)}function ei(){return Object(ne.a)(ti,[])}function ni(t){return function(e){return e.lift(new ii(t))}}var ii=function(){function t(t){this.windowBoundaries=t}return t.prototype.call=function(t,e){var n=new oi(t),i=e.subscribe(n);return i.closed||n.add(Object(s.a)(n,this.windowBoundaries)),i},t}(),oi=function(t){function e(e){var n=t.call(this,e)||this;return n.window=new xe.a,e.next(n.window),n}return r.c(e,t),e.prototype.notifyNext=function(t,e,n,i,o){this.openWindow()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){this._complete()},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t)},e.prototype._complete=function(){this.window.complete(),this.destination.complete()},e.prototype._unsubscribe=function(){this.window=null},e.prototype.openWindow=function(){var t=this.window;t&&t.complete();var e=this.destination,n=this.window=new xe.a;e.next(n)},e}(a.a);function ri(t,e){return void 0===e&&(e=0),function(n){return n.lift(new ai(t,e))}}var ai=function(){function t(t,e){this.windowSize=t,this.startWindowEvery=e}return t.prototype.call=function(t,e){return e.subscribe(new si(t,this.windowSize,this.startWindowEvery))},t}(),si=function(t){function e(e,n,i){var o=t.call(this,e)||this;return o.destination=e,o.windowSize=n,o.startWindowEvery=i,o.windows=[new xe.a],o.count=0,e.next(o.windows[0]),o}return r.c(e,t),e.prototype._next=function(t){for(var e=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,n=this.destination,i=this.windowSize,o=this.windows,r=o.length,a=0;a<r&&!this.closed;a++)o[a].next(t);var s=this.count-i+1;if(s>=0&&s%e==0&&!this.closed&&o.shift().complete(),++this.count%e==0&&!this.closed){var l=new xe.a;o.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);function li(t){var e=g.a,n=null,i=Number.POSITIVE_INFINITY;return Object(v.a)(arguments[3])&&(e=arguments[3]),Object(v.a)(arguments[2])?e=arguments[2]:Object(Cn.a)(arguments[2])&&(i=Number(arguments[2])),Object(v.a)(arguments[1])?e=arguments[1]:Object(Cn.a)(arguments[1])&&(n=Number(arguments[1])),function(o){return o.lift(new ci(t,n,i,e))}}var ci=function(){function t(t,e,n,i){this.windowTimeSpan=t,this.windowCreationInterval=e,this.maxWindowSize=n,this.scheduler=i}return t.prototype.call=function(t,e){return e.subscribe(new di(t,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},t}(),ui=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._numberOfNextedValues=0,e}return r.c(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}(xe.a),di=function(t){function e(e,n,i,o,r){var a=t.call(this,e)||this;a.destination=e,a.windowTimeSpan=n,a.windowCreationInterval=i,a.maxWindowSize=o,a.scheduler=r,a.windows=[];var s=a.openWindow();if(null!==i&&i>=0){var l={subscriber:a,window:s,context:null},c={windowTimeSpan:n,windowCreationInterval:i,subscriber:a,scheduler:r};a.add(r.schedule(hi,n,l)),a.add(r.schedule(mi,i,c))}else{var u={subscriber:a,window:s,windowTimeSpan:n};a.add(r.schedule(pi,n,u))}return a}return r.c(e,t),e.prototype._next=function(t){for(var e=this.windows,n=e.length,i=0;i<n;i++){var o=e[i];o.closed||(o.next(t),o.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(o))}},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 ui;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 pi(t){var e=t.subscriber,n=t.windowTimeSpan,i=t.window;i&&e.closeWindow(i),t.window=e.openWindow(),this.schedule(t,n)}function mi(t){var e=t.windowTimeSpan,n=t.subscriber,i=t.scheduler,o=t.windowCreationInterval,r={action:this,subscription:null},a={subscriber:n,window:n.openWindow(),context:r};r.subscription=i.schedule(hi,e,a),this.add(r.subscription),this.schedule(t,o)}function hi(t){var e=t.subscriber,n=t.window,i=t.context;i&&i.action&&i.subscription&&i.action.remove(i.subscription),e.closeWindow(n)}function fi(t,e){return function(n){return n.lift(new gi(t,e))}}var gi=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new vi(t,this.openings,this.closingSelector))},t}(),vi=function(t){function e(e,n,i){var o=t.call(this,e)||this;return o.openings=n,o.closingSelector=i,o.contexts=[],o.add(o.openSubscription=Object(s.a)(o,n,n)),o}return r.c(e,t),e.prototype._next=function(t){var e=this.contexts;if(e)for(var n=e.length,i=0;i<n;i++)e[i].window.next(t)},e.prototype._error=function(e){var n=this.contexts;if(this.contexts=null,n)for(var i=n.length,o=-1;++o<i;){var r=n[o];r.window.error(e),r.subscription.unsubscribe()}t.prototype._error.call(this,e)},e.prototype._complete=function(){var e=this.contexts;if(this.contexts=null,e)for(var n=e.length,i=-1;++i<n;){var o=e[i];o.window.complete(),o.subscription.unsubscribe()}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.contexts;if(this.contexts=null,t)for(var e=t.length,n=-1;++n<e;){var i=t[n];i.window.unsubscribe(),i.subscription.unsubscribe()}},e.prototype.notifyNext=function(t,e,n,i,o){if(t===this.openings){var r=void 0;try{r=(0,this.closingSelector)(e)}catch(t){return this.error(t)}var a=new xe.a,l=new P.a,c={window:a,subscription:l};this.contexts.push(c);var u=Object(s.a)(this,r,c);u.closed?this.closeWindow(this.contexts.length-1):(u.context=c,l.add(u)),this.destination.next(a)}else this.closeWindow(this.contexts.indexOf(t))},e.prototype.notifyError=function(t){this.error(t)},e.prototype.notifyComplete=function(t){t!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(t.context))},e.prototype.closeWindow=function(t){if(-1!==t){var e=this.contexts,n=e[t],i=n.window,o=n.subscription;e.splice(t,1),i.complete(),o.unsubscribe()}},e}(a.a);function bi(t){return function(e){return e.lift(new yi(t))}}var yi=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new _i(t,this.closingSelector))},t}(),_i=function(t){function e(e,n){var i=t.call(this,e)||this;return i.destination=e,i.closingSelector=n,i.openWindow(),i}return r.c(e,t),e.prototype.notifyNext=function(t,e,n,i,o){this.openWindow(o)},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){this.openWindow(t)},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t),this.unsubscribeClosingNotification()},e.prototype._complete=function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()},e.prototype.unsubscribeClosingNotification=function(){this.closingNotification&&this.closingNotification.unsubscribe()},e.prototype.openWindow=function(t){void 0===t&&(t=null),t&&(this.remove(t),t.unsubscribe());var e=this.window;e&&e.complete();var n,i=this.window=new xe.a;this.destination.next(i);try{n=(0,this.closingSelector)()}catch(t){return this.destination.error(t),void this.window.error(t)}this.add(this.closingNotification=Object(s.a)(this,n))},e}(a.a);function Ci(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var n;"function"==typeof t[t.length-1]&&(n=t.pop());var i=t;return e.lift(new xi(i,n))}}var xi=function(){function t(t,e){this.observables=t,this.project=e}return t.prototype.call=function(t,e){return e.subscribe(new wi(t,this.observables,this.project))},t}(),wi=function(t){function e(e,n,i){var o=t.call(this,e)||this;o.observables=n,o.project=i,o.toRespond=[];var r=n.length;o.values=new Array(r);for(var a=0;a<r;a++)o.toRespond.push(a);for(a=0;a<r;a++){var l=n[a];o.add(Object(s.a)(o,l,l,a))}return o}return r.c(e,t),e.prototype.notifyNext=function(t,e,n,i,o){this.values[n]=e;var r=this.toRespond;if(r.length>0){var a=r.indexOf(n);-1!==a&&r.splice(a,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}(a.a),Si=n(445);function Pi(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(Si.b.apply(void 0,[e].concat(t)))}}function Oi(t){return function(e){return e.lift(new Si.a(t))}}},1692:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(210),r=n(0),a=function(){function t(t,e){this.renderer=t,this.el=e}return t.prototype.ngAfterViewInit=function(){var t=this.el.nativeElement.attributes.getNamedItem("src").value,e=o.makeUrlAbsolute(t);this.renderer.setAttribute(this.el.nativeElement,"src",e)},t.ɵfac=function(e){return new(e||t)(r.ɵɵdirectiveInject(r.Renderer2),r.ɵɵdirectiveInject(r.ElementRef))},t.ɵdir=r.ɵɵdefineDirective({type:t,selectors:[["img"]]}),t}();e.AddBaseUrlDirective=a,r.ɵsetClassMetadata(a,[{type:i.Directive,args:[{selector:"img"}]}],function(){return[{type:r.Renderer2},{type:r.ElementRef}]},null)},1693:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(8),o=n(230),r=n(0),a=function(){function t(t,e,n){this.loader=t,this.injector=e,this.vcr=n}return t.prototype.ngOnInit=function(){this.loadComponent().catch(i.handleWarning)},t.prototype.loadComponent=function(){var t=this;return o.runWithBaseHref(function(){return t.loader.load(t.modulePath).then(function(e){var n=e.create(t.injector),i=n.injector.get(t.componentId),o=n.componentFactoryResolver.resolveComponentFactory(i);return t.vcr.createComponent(o)})})},t.ɵfac=function(e){return new(e||t)(r.ɵɵdirectiveInject(r.NgModuleFactoryLoader),r.ɵɵdirectiveInject(r.Injector),r.ɵɵdirectiveInject(r.ViewContainerRef))},t.ɵdir=r.ɵɵdefineDirective({type:t}),t}();e.AbstractLazyComponent=a},1696:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,o=n(0),r=n(168),a=n(440),s=n(3),l=n(625),c=n(1707),u=n(0),d=n(440),p=n(3),m=n(1689),h=n(625);function f(t,e){if(1&t&&(u.ɵɵelementStart(0,"p"),u.ɵɵtext(1),u.ɵɵelementEnd()),2&t){var n=u.ɵɵnextContext();u.ɵɵadvance(1),u.ɵɵtextInterpolate(n.bodyText)}}function g(t,e){1&t&&u.ɵɵelementContainer(0)}function v(t,e){if(1&t){var n=u.ɵɵgetCurrentView();u.ɵɵelementStart(0,"button",6),u.ɵɵlistener("click",function(){return u.ɵɵrestoreView(n),u.ɵɵnextContext().cancel()}),u.ɵɵtext(1),u.ɵɵelementEnd()}if(2&t){var i=u.ɵɵnextContext();u.ɵɵadvance(1),u.ɵɵtextInterpolate1(" ",i.cancelButtonText," ")}}function b(t,e){if(1&t){var n=u.ɵɵgetCurrentView();u.ɵɵelementStart(0,"button",6),u.ɵɵlistener("click",function(){return u.ɵɵrestoreView(n),u.ɵɵnextContext().decline()}),u.ɵɵtext(1),u.ɵɵelementEnd()}if(2&t){var i=u.ɵɵnextContext();u.ɵɵadvance(1),u.ɵɵtextInterpolate1(" ",i.declineButtonText," ")}}function y(t,e){if(1&t){var n=u.ɵɵgetCurrentView();u.ɵɵelementStart(0,"button",7),u.ɵɵlistener("click",function(){return u.ɵɵrestoreView(n),u.ɵɵnextContext().confirm()}),u.ɵɵtext(1),u.ɵɵelementEnd()}if(2&t){var i=u.ɵɵnextContext();u.ɵɵproperty("color",i.confirmButtonColor),u.ɵɵadvance(1),u.ɵɵtextInterpolate1(" ",i.confirmButtonText," ")}}!function(t){t[t.CONFIRMED=0]="CONFIRMED",t[t.DECLINED=1]="DECLINED",t[t.CANCELLED=2]="CANCELLED"}(i=e.AlertDialogResult||(e.AlertDialogResult={}));var _=function(){function t(t,e){var n;this.dialogRef=t,this.data=e,this.confirmButtonColor="primary",this.data&&(this.title=e.title,this.confirmButtonColor=null!==(n=e.confirmButtonColor)&&void 0!==n?n:"primary",e.body instanceof o.TemplateRef?this.bodyTemplate=e.body:"string"==typeof e.body&&(this.bodyText=e.body),!1!==e.cancelButton&&(this.cancelButtonText=e.cancelButton?""+e.cancelButton:r.translate("Cancel")),!1!==e.declineButton&&(this.declineButtonText=e.declineButton?""+e.declineButton:r.translate("Decline")),!1!==e.confirmButton&&(this.confirmButtonText=e.confirmButton?""+e.confirmButton:r.translate("Confirm")))}return t.prototype.beforeUnload=function(t){t.returnValue=r.translate("Do you want to navigate away from the current page?")},t.prototype.confirm=function(){this.dialogRef.close(i.CONFIRMED)},t.prototype.decline=function(){this.dialogRef.close(i.DECLINED)},t.prototype.cancel=function(){this.dialogRef.close(i.CANCELLED)},t.ɵfac=function(e){return new(e||t)(u.ɵɵdirectiveInject(d.MatDialogRef),u.ɵɵdirectiveInject(a.MAT_DIALOG_DATA))},t.ɵcmp=u.ɵɵdefineComponent({type:t,selectors:[["alert-dialog"]],hostBindings:function(t,e){1&t&&u.ɵɵlistener("beforeunload",function(t){return e.beforeUnload(t)},!1,u.ɵɵresolveWindow)},decls:10,vars:6,consts:[["mat-dialog-title",""],[4,"ngIf"],[4,"ngTemplateOutlet"],["mat-stroked-button","",3,"click",4,"ngIf"],["fxFlex","1 1 auto"],["mat-flat-button","",3,"color","click",4,"ngIf"],["mat-stroked-button","",3,"click"],["mat-flat-button","",3,"color","click"]],template:function(t,e){1&t&&(u.ɵɵelementStart(0,"h4",0),u.ɵɵtext(1),u.ɵɵelementEnd(),u.ɵɵelementStart(2,"mat-dialog-content"),u.ɵɵtemplate(3,f,2,1,"p",1),u.ɵɵtemplate(4,g,1,0,"ng-container",2),u.ɵɵelementEnd(),u.ɵɵelementStart(5,"mat-dialog-actions"),u.ɵɵtemplate(6,v,2,1,"button",3),u.ɵɵelement(7,"div",4),u.ɵɵtemplate(8,b,2,1,"button",3),u.ɵɵtemplate(9,y,2,2,"button",5),u.ɵɵelementEnd()),2&t&&(u.ɵɵadvance(1),u.ɵɵtextInterpolate(e.title),u.ɵɵadvance(2),u.ɵɵproperty("ngIf",e.bodyText),u.ɵɵadvance(1),u.ɵɵproperty("ngTemplateOutlet",e.bodyTemplate),u.ɵɵadvance(2),u.ɵɵproperty("ngIf",e.cancelButtonText),u.ɵɵadvance(2),u.ɵɵproperty("ngIf",e.declineButtonText),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",e.confirmButtonText))},directives:[d.MatDialogTitle,d.MatDialogContent,p.NgIf,p.NgTemplateOutlet,d.MatDialogActions,m.DefaultFlexDirective,h.MatButton],encapsulation:2}),t}();e.AlertDialogComponent=_,u.ɵsetClassMetadata(_,[{type:o.Component,args:[{selector:"alert-dialog",templateUrl:"./AlertDialog.ng.html"}]}],function(){return[{type:d.MatDialogRef},{type:void 0,decorators:[{type:o.Inject,args:[a.MAT_DIALOG_DATA]}]}]},{beforeUnload:[{type:o.HostListener,args:["window:beforeunload",["$event"]]}]});var C=function(){function t(){}return t.ɵmod=u.ɵɵdefineNgModule({type:t}),t.ɵinj=u.ɵɵdefineInjector({factory:function(e){return new(e||t)},imports:[[s.CommonModule,c.FlexLayoutModule,a.MatDialogModule,l.MatButtonModule]]}),t}();e.AlertDialogModule=C,("undefined"==typeof ngJitMode||ngJitMode)&&u.ɵɵsetNgModuleScope(C,{declarations:[_],imports:[s.CommonModule,c.FlexLayoutModule,a.MatDialogModule,l.MatButtonModule],exports:[_]}),u.ɵsetClassMetadata(C,[{type:o.NgModule,args:[{imports:[s.CommonModule,c.FlexLayoutModule,a.MatDialogModule,l.MatButtonModule],declarations:[_],exports:[_]}]}],null,null)},1697:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(624),r=n(2),a=n(6),s=n(3),l=n(0),c=function(){function t(t){this.ElementRef=t,this.valueChange=new i.EventEmitter,this.disabled=!1,this.ident=void 0}return t.prototype.ngOnInit=function(){this.ident=this.ElementRef.nativeElement.getAttribute("id"),this.ElementRef.nativeElement.setAttribute("id",void 0)},t.prototype.registerOnChange=function(t){this.changeFn=t},t.prototype.registerOnTouched=function(t){this.touchFn=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.writeValue=function(t){this.value=t,this.valueChange.emit(this.value),this.changeFn&&this.changeFn(this.value)},t.prototype.onInputTouched=function(){this.disabled||(this.touchFn&&this.touchFn(),this.writeValue(!this.value))},t.ɵfac=function(e){return new(e||t)(l.ɵɵdirectiveInject(l.ElementRef))},t.ɵcmp=l.ɵɵdefineComponent({type:t,selectors:[["toggle-switch"]],inputs:{title:"title",value:"value"},outputs:{valueChange:"valueChange"},features:[l.ɵɵProvidersFeature([{provide:o.NG_VALUE_ACCESSOR,useExisting:i.forwardRef(function(){return t}),multi:!0}])],decls:3,vars:3,consts:[[1,"toggle-switch",3,"title"],["type","checkbox",3,"id","checked","click"],[1,"slider"]],template:function(t,e){1&t&&(l.ɵɵelementStart(0,"label",0),l.ɵɵelementStart(1,"input",1),l.ɵɵlistener("click",function(){return e.onInputTouched()}),l.ɵɵelementEnd(),l.ɵɵelement(2,"span",2),l.ɵɵelementEnd()),2&t&&(l.ɵɵproperty("title",e.title),l.ɵɵadvance(1),l.ɵɵproperty("id",e.ident)("checked",e.value))},styles:['[_nghost-%COMP%]{display:flex;justify-content:center;align-items:center}.toggle-switch[_ngcontent-%COMP%], [_nghost-%COMP%]{width:30px;height:17px}.toggle-switch[_ngcontent-%COMP%]{position:relative;display:inline-block;margin:0}.toggle-switch[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{opacity:0;width:0;height:0}.toggle-switch[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]{background-color:#3398c7}.toggle-switch[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus + .slider[_ngcontent-%COMP%]{box-shadow:0 0 1px #3398c7}.toggle-switch[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]:before{-webkit-transform:translateX(13px);-ms-transform:translateX(13px);transform:translateX(13px)}.toggle-switch[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%]{cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;border-radius:17px}.toggle-switch[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%], .toggle-switch[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%]:before{position:absolute;-webkit-transition:.4s;transition:.4s}.toggle-switch[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%]:before{content:"";height:13px;width:13px;left:2px;bottom:2px;background-color:#fff;border-radius:50%}']}),t}();e.ToggleSwitchComponent=c,l.ɵsetClassMetadata(c,[{type:i.Component,args:[{selector:"toggle-switch",templateUrl:"./ToggleSwitch.ng.html",styleUrls:["./ToggleSwitch.ng.scss"],providers:[{provide:o.NG_VALUE_ACCESSOR,useExisting:i.forwardRef(function(){return c}),multi:!0}]}]}],function(){return[{type:l.ElementRef}]},{title:[{type:i.Input}],value:[{type:i.Input}],valueChange:[{type:i.Output}]}),r.module("IVWebApp").directive("toggleSwitch",a.downgradeComponent({component:c}));var u=function(){function t(){}return t.ɵmod=l.ɵɵdefineNgModule({type:t}),t.ɵinj=l.ɵɵdefineInjector({factory:function(e){return new(e||t)},imports:[[s.CommonModule]]}),t}();e.ToggleSwitchModule=u,("undefined"==typeof ngJitMode||ngJitMode)&&l.ɵɵsetNgModuleScope(u,{declarations:[c],imports:[s.CommonModule],exports:[c]}),l.ɵsetClassMetadata(u,[{type:i.NgModule,args:[{imports:[s.CommonModule],declarations:[c],exports:[c]}]}],null,null)},1698:function(t,e,n){"use strict";n.r(e),n.d(e,"MAT_FORM_FIELD",function(){return J}),n.d(e,"MAT_FORM_FIELD_DEFAULT_OPTIONS",function(){return Y}),n.d(e,"MatError",function(){return N}),n.d(e,"MatFormField",function(){return X}),n.d(e,"MatFormFieldControl",function(){return U}),n.d(e,"MatFormFieldModule",function(){return tt}),n.d(e,"MatHint",function(){return H}),n.d(e,"MatLabel",function(){return G}),n.d(e,"MatPlaceholder",function(){return Q}),n.d(e,"MatPrefix",function(){return W}),n.d(e,"MatSuffix",function(){return Z}),n.d(e,"getMatFormFieldDuplicatedHintError",function(){return z}),n.d(e,"getMatFormFieldMissingControlError",function(){return B}),n.d(e,"getMatFormFieldPlaceholderConflictError",function(){return V}),n.d(e,"matFormFieldAnimations",function(){return L});var i=n(3),o=n(0),r=n(170),a=n(1),s=n(37),l=n(23),c=n(47),u=n(32),d=n(279),p=n(229),m=n(438),h=n(341),f=n(221),g=n(30),v=n(13),b=n(95),y=["underline"],_=["connectionContainer"],C=["inputContainer"],x=["label"];function w(t,e){1&t&&(o["ɵɵelementContainerStart"](0),o["ɵɵelementStart"](1,"div",14),o["ɵɵelement"](2,"div",15),o["ɵɵelement"](3,"div",16),o["ɵɵelement"](4,"div",17),o["ɵɵelementEnd"](),o["ɵɵelementStart"](5,"div",18),o["ɵɵelement"](6,"div",15),o["ɵɵelement"](7,"div",16),o["ɵɵelement"](8,"div",17),o["ɵɵelementEnd"](),o["ɵɵelementContainerEnd"]())}function S(t,e){1&t&&(o["ɵɵelementStart"](0,"div",19),o["ɵɵprojection"](1,1),o["ɵɵelementEnd"]())}function P(t,e){if(1&t&&(o["ɵɵelementContainerStart"](0),o["ɵɵprojection"](1,2),o["ɵɵelementStart"](2,"span"),o["ɵɵtext"](3),o["ɵɵelementEnd"](),o["ɵɵelementContainerEnd"]()),2&t){var n=o["ɵɵnextContext"](2);o["ɵɵadvance"](3),o["ɵɵtextInterpolate"](n._control.placeholder)}}function O(t,e){1&t&&o["ɵɵprojection"](0,3,["*ngSwitchCase","true"])}function M(t,e){1&t&&(o["ɵɵelementStart"](0,"span",23),o["ɵɵtext"](1," *"),o["ɵɵelementEnd"]())}function k(t,e){if(1&t){var n=o["ɵɵgetCurrentView"]();o["ɵɵelementStart"](0,"label",20,21),o["ɵɵlistener"]("cdkObserveContent",function(){return o["ɵɵrestoreView"](n),o["ɵɵnextContext"]().updateOutlineGap()}),o["ɵɵtemplate"](2,P,4,1,"ng-container",12),o["ɵɵtemplate"](3,O,1,0,void 0,12),o["ɵɵtemplate"](4,M,2,0,"span",22),o["ɵɵelementEnd"]()}if(2&t){var i=o["ɵɵnextContext"]();o["ɵɵclassProp"]("mat-empty",i._control.empty&&!i._shouldAlwaysFloat)("mat-form-field-empty",i._control.empty&&!i._shouldAlwaysFloat)("mat-accent","accent"==i.color)("mat-warn","warn"==i.color),o["ɵɵproperty"]("cdkObserveContentDisabled","outline"!=i.appearance)("id",i._labelId)("ngSwitch",i._hasLabel()),o["ɵɵattribute"]("for",i._control.id)("aria-owns",i._control.id),o["ɵɵadvance"](2),o["ɵɵproperty"]("ngSwitchCase",!1),o["ɵɵadvance"](1),o["ɵɵproperty"]("ngSwitchCase",!0),o["ɵɵadvance"](1),o["ɵɵproperty"]("ngIf",!i.hideRequiredMarker&&i._control.required&&!i._control.disabled)}}function E(t,e){1&t&&(o["ɵɵelementStart"](0,"div",24),o["ɵɵprojection"](1,4),o["ɵɵelementEnd"]())}function I(t,e){if(1&t&&(o["ɵɵelementStart"](0,"div",25,26),o["ɵɵelement"](2,"span",27),o["ɵɵelementEnd"]()),2&t){var n=o["ɵɵnextContext"]();o["ɵɵadvance"](2),o["ɵɵclassProp"]("mat-accent","accent"==n.color)("mat-warn","warn"==n.color)}}function D(t,e){if(1&t&&(o["ɵɵelementStart"](0,"div"),o["ɵɵprojection"](1,5),o["ɵɵelementEnd"]()),2&t){var n=o["ɵɵnextContext"]();o["ɵɵproperty"]("@transitionMessages",n._subscriptAnimationState)}}function T(t,e){if(1&t&&(o["ɵɵelementStart"](0,"div",31),o["ɵɵtext"](1),o["ɵɵelementEnd"]()),2&t){var n=o["ɵɵnextContext"](2);o["ɵɵproperty"]("id",n._hintLabelId),o["ɵɵadvance"](1),o["ɵɵtextInterpolate"](n.hintLabel)}}function R(t,e){if(1&t&&(o["ɵɵelementStart"](0,"div",28),o["ɵɵtemplate"](1,T,2,2,"div",29),o["ɵɵprojection"](2,6),o["ɵɵelement"](3,"div",30),o["ɵɵprojection"](4,7),o["ɵɵelementEnd"]()),2&t){var n=o["ɵɵnextContext"]();o["ɵɵproperty"]("@transitionMessages",n._subscriptAnimationState),o["ɵɵadvance"](1),o["ɵɵproperty"]("ngIf",n.hintLabel)}}var j=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],A=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],F=0,N=function(){function t(){this.id="mat-error-"+F++}return t.propDecorators={id:[{type:o.Input}]},t.ɵfac=function(e){return new(e||t)},t.ɵdir=o["ɵɵdefineDirective"]({type:t,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(t,e){2&t&&o["ɵɵattribute"]("id",e.id)},inputs:{id:"id"}}),t}(),L={transitionMessages:Object(g.trigger)("transitionMessages",[Object(g.state)("enter",Object(g.style)({opacity:1,transform:"translateY(0%)"})),Object(g.transition)("void => enter",[Object(g.style)({opacity:0,transform:"translateY(-100%)"}),Object(g.animate)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},U=function(){function t(){}return t.ɵfac=function(e){return new(e||t)},t.ɵdir=o["ɵɵdefineDirective"]({type:t}),t}();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */function V(){return Error("Placeholder attribute and child element were both specified.")}function z(t){return Error("A hint was already declared for 'align=\""+t+"\"'.")}function B(){return Error("mat-form-field must contain a MatFormFieldControl.")}
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */var q=0,H=function(){function t(){this.align="start",this.id="mat-hint-"+q++}return t.propDecorators={align:[{type:o.Input}],id:[{type:o.Input}]},t.ɵfac=function(e){return new(e||t)},t.ɵdir=o["ɵɵdefineDirective"]({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(t,e){2&t&&(o["ɵɵattribute"]("id",e.id)("align",null),o["ɵɵclassProp"]("mat-right","end"==e.align))},inputs:{align:"align",id:"id"}}),t}(),G=function(){function t(){}return t.ɵfac=function(e){return new(e||t)},t.ɵdir=o["ɵɵdefineDirective"]({type:t,selectors:[["mat-label"]]}),t}(),Q=function(){function t(){}return t.ɵfac=function(e){return new(e||t)},t.ɵdir=o["ɵɵdefineDirective"]({type:t,selectors:[["mat-placeholder"]]}),t}(),W=function(){function t(){}return t.ɵfac=function(e){return new(e||t)},t.ɵdir=o["ɵɵdefineDirective"]({type:t,selectors:[["","matPrefix",""]]}),t}(),Z=function(){function t(){}return t.ɵfac=function(e){return new(e||t)},t.ɵdir=o["ɵɵdefineDirective"]({type:t,selectors:[["","matSuffix",""]]}),t}(),$=0,K=Object(c.mixinColor)(function(t){this._elementRef=t},"primary"),Y=new o.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS"),J=new o.InjectionToken("MatFormField"),X=function(t){function e(e,n,i,o,r,a,s,l){var c=t.call(this,e)||this;return c._elementRef=e,c._changeDetectorRef=n,c._dir=o,c._defaults=r,c._platform=a,c._ngZone=s,c._outlineGapCalculationNeededImmediately=!1,c._outlineGapCalculationNeededOnStable=!1,c._destroyed=new u.a,c._showAlwaysAnimate=!1,c._subscriptAnimationState="",c._hintLabel="",c._hintLabelId="mat-hint-"+$++,c._labelId="mat-form-field-label-"+$++,c._labelOptions=i||{},c.floatLabel=c._getDefaultFloatLabelState(),c._animationsEnabled="NoopAnimations"!==l,c.appearance=r&&r.appearance?r.appearance:"legacy",c._hideRequiredMarker=!(!r||null==r.hideRequiredMarker)&&r.hideRequiredMarker,c}return Object(a.c)(e,t),Object.defineProperty(e.prototype,"appearance",{get:function(){return this._appearance},set:function(t){var e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hideRequiredMarker",{get:function(){return this._hideRequiredMarker},set:function(t){this._hideRequiredMarker=Object(l.c)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_shouldAlwaysFloat",{get:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_canLabelFloat",{get:function(){return"never"!==this.floatLabel},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hintLabel",{get:function(){return this._hintLabel},set:function(t){this._hintLabel=t,this._processHints()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"floatLabel",{get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_control",{get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(t){this._explicitFormFieldControl=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_labelChild",{get:function(){return this._labelChildNonStatic||this._labelChildStatic},enumerable:!0,configurable:!0}),e.prototype.getConnectedOverlayOrigin=function(){return this._connectionContainerRef||this._elementRef},e.prototype.ngAfterContentInit=function(){var t=this;this._validateControlChild();var e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+e.controlType),e.stateChanges.pipe(Object(m.a)(null)).subscribe(function(){t._validatePlaceholders(),t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(Object(h.a)(this._destroyed)).subscribe(function(){return t._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.asObservable().pipe(Object(h.a)(t._destroyed)).subscribe(function(){t._outlineGapCalculationNeededOnStable&&t.updateOutlineGap()})}),Object(d.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){t._outlineGapCalculationNeededOnStable=!0,t._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Object(m.a)(null)).subscribe(function(){t._processHints(),t._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Object(m.a)(null)).subscribe(function(){t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Object(h.a)(this._destroyed)).subscribe(function(){"function"==typeof requestAnimationFrame?t._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return t.updateOutlineGap()})}):t.updateOutlineGap()})},e.prototype.ngAfterContentChecked=function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()},e.prototype.ngAfterViewInit=function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()},e.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},e.prototype._shouldForward=function(t){var e=this._control?this._control.ngControl:null;return e&&e[t]},e.prototype._hasPlaceholder=function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)},e.prototype._hasLabel=function(){return!!this._labelChild},e.prototype._shouldLabelFloat=function(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)},e.prototype._hideControlPlaceholder=function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()},e.prototype._hasFloatingLabel=function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()},e.prototype._getDisplayedMessages=function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"},e.prototype._animateAndLockLabel=function(){var t=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Object(p.a)(this._label.nativeElement,"transitionend").pipe(Object(f.a)(1)).subscribe(function(){t._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())},e.prototype._validatePlaceholders=function(){if(this._control.placeholder&&this._placeholderChild)throw V()},e.prototype._processHints=function(){this._validateHints(),this._syncDescribedByIds()},e.prototype._validateHints=function(){var t,e,n=this;this._hintChildren&&this._hintChildren.forEach(function(i){if("start"===i.align){if(t||n.hintLabel)throw z("start");t=i}else if("end"===i.align){if(e)throw z("end");e=i}})},e.prototype._getDefaultFloatLabelState=function(){return this._defaults&&this._defaults.floatLabel||this._labelOptions.float||"auto"},e.prototype._syncDescribedByIds=function(){if(this._control){var t=[];if("hint"===this._getDisplayedMessages()){var e=this._hintChildren?this._hintChildren.find(function(t){return"start"===t.align}):null,n=this._hintChildren?this._hintChildren.find(function(t){return"end"===t.align}):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&(t=this._errorChildren.map(function(t){return t.id}));this._control.setDescribedByIds(t)}},e.prototype._validateControlChild=function(){if(!this._control)throw B()},e.prototype.updateOutlineGap=function(){var t,e,n=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&n&&n.children.length&&n.textContent.trim()&&this._platform.isBrowser)if(this._isAttachedToDOM()){var i=0,o=0,r=this._connectionContainerRef.nativeElement,s=r.querySelectorAll(".mat-form-field-outline-start"),l=r.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var c=r.getBoundingClientRect();if(0===c.width&&0===c.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);var u=this._getStartEnd(c),d=this._getStartEnd(n.children[0].getBoundingClientRect()),p=0;try{for(var m=Object(a.j)(n.children),h=m.next();!h.done;h=m.next())p+=h.value.offsetWidth}catch(e){t={error:e}}finally{try{h&&!h.done&&(e=m.return)&&e.call(m)}finally{if(t)throw t.error}}i=Math.abs(d-u)-5,o=p>0?.75*p+10:0}for(var f=0;f<s.length;f++)s[f].style.width=i+"px";for(f=0;f<l.length;f++)l[f].style.width=o+"px";this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}else this._outlineGapCalculationNeededImmediately=!0},e.prototype._getStartEnd=function(t){return this._dir&&"rtl"===this._dir.value?t.right:t.left},e.prototype._isAttachedToDOM=function(){var t=this._elementRef.nativeElement;if(t.getRootNode){var e=t.getRootNode();return e&&e!==t}return document.documentElement.contains(t)},e.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[c.MAT_LABEL_GLOBAL_OPTIONS]}]},{type:s.Directionality,decorators:[{type:o.Optional}]},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[Y]}]},{type:v.a},{type:o.NgZone},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[b.ANIMATION_MODULE_TYPE]}]}]},e.propDecorators={appearance:[{type:o.Input}],hideRequiredMarker:[{type:o.Input}],hintLabel:[{type:o.Input}],floatLabel:[{type:o.Input}],underlineRef:[{type:o.ViewChild,args:["underline"]}],_connectionContainerRef:[{type:o.ViewChild,args:["connectionContainer",{static:!0}]}],_inputContainerRef:[{type:o.ViewChild,args:["inputContainer"]}],_label:[{type:o.ViewChild,args:["label"]}],_controlNonStatic:[{type:o.ContentChild,args:[U]}],_controlStatic:[{type:o.ContentChild,args:[U,{static:!0}]}],_labelChildNonStatic:[{type:o.ContentChild,args:[G]}],_labelChildStatic:[{type:o.ContentChild,args:[G,{static:!0}]}],_placeholderChild:[{type:o.ContentChild,args:[Q]}],_errorChildren:[{type:o.ContentChildren,args:[N,{descendants:!0}]}],_hintChildren:[{type:o.ContentChildren,args:[H,{descendants:!0}]}],_prefixChildren:[{type:o.ContentChildren,args:[W,{descendants:!0}]}],_suffixChildren:[{type:o.ContentChildren,args:[Z,{descendants:!0}]}]},e.ɵfac=function(t){return new(t||e)(o["ɵɵdirectiveInject"](o.ElementRef),o["ɵɵdirectiveInject"](o.ChangeDetectorRef),o["ɵɵdirectiveInject"](c.MAT_LABEL_GLOBAL_OPTIONS,8),o["ɵɵdirectiveInject"](s.Directionality,8),o["ɵɵdirectiveInject"](Y,8),o["ɵɵdirectiveInject"](v.a),o["ɵɵdirectiveInject"](o.NgZone),o["ɵɵdirectiveInject"](b.ANIMATION_MODULE_TYPE,8))},e.ɵcmp=o["ɵɵdefineComponent"]({type:e,selectors:[["mat-form-field"]],contentQueries:function(t,e,n){var i;1&t&&(o["ɵɵcontentQuery"](n,U,!0),o["ɵɵstaticContentQuery"](n,U,!0),o["ɵɵcontentQuery"](n,G,!0),o["ɵɵstaticContentQuery"](n,G,!0),o["ɵɵcontentQuery"](n,Q,!0),o["ɵɵcontentQuery"](n,N,!0),o["ɵɵcontentQuery"](n,H,!0),o["ɵɵcontentQuery"](n,W,!0),o["ɵɵcontentQuery"](n,Z,!0)),2&t&&(o["ɵɵqueryRefresh"](i=o["ɵɵloadQuery"]())&&(e._controlNonStatic=i.first),o["ɵɵqueryRefresh"](i=o["ɵɵloadQuery"]())&&(e._controlStatic=i.first),o["ɵɵqueryRefresh"](i=o["ɵɵloadQuery"]())&&(e._labelChildNonStatic=i.first),o["ɵɵqueryRefresh"](i=o["ɵɵloadQuery"]())&&(e._labelChildStatic=i.first),o["ɵɵqueryRefresh"](i=o["ɵɵloadQuery"]())&&(e._placeholderChild=i.first),o["ɵɵqueryRefresh"](i=o["ɵɵloadQuery"]())&&(e._errorChildren=i),o["ɵɵqueryRefresh"](i=o["ɵɵloadQuery"]())&&(e._hintChildren=i),o["ɵɵqueryRefresh"](i=o["ɵɵloadQuery"]())&&(e._prefixChildren=i),o["ɵɵqueryRefresh"](i=o["ɵɵloadQuery"]())&&(e._suffixChildren=i))},viewQuery:function(t,e){var n;1&t&&(o["ɵɵviewQuery"](y,!0),o["ɵɵstaticViewQuery"](_,!0),o["ɵɵviewQuery"](C,!0),o["ɵɵviewQuery"](x,!0)),2&t&&(o["ɵɵqueryRefresh"](n=o["ɵɵloadQuery"]())&&(e.underlineRef=n.first),o["ɵɵqueryRefresh"](n=o["ɵɵloadQuery"]())&&(e._connectionContainerRef=n.first),o["ɵɵqueryRefresh"](n=o["ɵɵloadQuery"]())&&(e._inputContainerRef=n.first),o["ɵɵqueryRefresh"](n=o["ɵɵloadQuery"]())&&(e._label=n.first))},hostAttrs:[1,"mat-form-field"],hostVars:44,hostBindings:function(t,e){2&t&&o["ɵɵclassProp"]("mat-form-field-appearance-standard","standard"==e.appearance)("mat-form-field-appearance-fill","fill"==e.appearance)("mat-form-field-appearance-outline","outline"==e.appearance)("mat-form-field-appearance-legacy","legacy"==e.appearance)("mat-form-field-invalid",e._control.errorState)("mat-form-field-can-float",e._canLabelFloat)("mat-form-field-should-float",e._shouldLabelFloat())("mat-form-field-has-label",e._hasFloatingLabel())("mat-form-field-hide-placeholder",e._hideControlPlaceholder())("mat-form-field-disabled",e._control.disabled)("mat-form-field-autofilled",e._control.autofilled)("mat-focused",e._control.focused)("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)("ng-untouched",e._shouldForward("untouched"))("ng-touched",e._shouldForward("touched"))("ng-pristine",e._shouldForward("pristine"))("ng-dirty",e._shouldForward("dirty"))("ng-valid",e._shouldForward("valid"))("ng-invalid",e._shouldForward("invalid"))("ng-pending",e._shouldForward("pending"))("_mat-animation-noopable",!e._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[o["ɵɵProvidersFeature"]([{provide:J,useExisting:e}]),o["ɵɵInheritDefinitionFeature"]],ngContentSelectors:A,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],["underline",""],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(t,e){1&t&&(o["ɵɵprojectionDef"](j),o["ɵɵelementStart"](0,"div",0),o["ɵɵelementStart"](1,"div",1,2),o["ɵɵlistener"]("click",function(t){return e._control.onContainerClick&&e._control.onContainerClick(t)}),o["ɵɵtemplate"](3,w,9,0,"ng-container",3),o["ɵɵtemplate"](4,S,2,0,"div",4),o["ɵɵelementStart"](5,"div",5,6),o["ɵɵprojection"](7),o["ɵɵelementStart"](8,"span",7),o["ɵɵtemplate"](9,k,5,16,"label",8),o["ɵɵelementEnd"](),o["ɵɵelementEnd"](),o["ɵɵtemplate"](10,E,2,0,"div",9),o["ɵɵelementEnd"](),o["ɵɵtemplate"](11,I,3,4,"div",10),o["ɵɵelementStart"](12,"div",11),o["ɵɵtemplate"](13,D,2,1,"div",12),o["ɵɵtemplate"](14,R,5,2,"div",13),o["ɵɵelementEnd"](),o["ɵɵelementEnd"]()),2&t&&(o["ɵɵadvance"](3),o["ɵɵproperty"]("ngIf","outline"==e.appearance),o["ɵɵadvance"](1),o["ɵɵproperty"]("ngIf",e._prefixChildren.length),o["ɵɵadvance"](5),o["ɵɵproperty"]("ngIf",e._hasFloatingLabel()),o["ɵɵadvance"](1),o["ɵɵproperty"]("ngIf",e._suffixChildren.length),o["ɵɵadvance"](1),o["ɵɵproperty"]("ngIf","outline"!=e.appearance),o["ɵɵadvance"](1),o["ɵɵproperty"]("ngSwitch",e._getDisplayedMessages()),o["ɵɵadvance"](1),o["ɵɵproperty"]("ngSwitchCase","error"),o["ɵɵadvance"](1),o["ɵɵproperty"]("ngSwitchCase","hint"))},directives:[i.NgIf,i.NgSwitch,i.NgSwitchCase,r.a],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:scaleX(1);transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[L.transitionMessages]},changeDetection:0}),e}(K),tt=function(){function t(){}return t.ɵmod=o["ɵɵdefineNgModule"]({type:t}),t.ɵinj=o["ɵɵdefineInjector"]({factory:function(e){return new(e||t)},imports:[[i.CommonModule,r.c]]}),("undefined"==typeof ngJitMode||ngJitMode)&&o["ɵɵsetNgModuleScope"](t,{declarations:function(){return[N,X,H,G,Q,W,Z]},imports:function(){return[i.CommonModule,r.c]},exports:function(){return[N,X,H,G,Q,W,Z]}}),t}()},1700:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=(n(130),n(0)),r=n(130),a=function(){function t(t){this.UoMService=t}return t.prototype.transform=function(t,e,n,i,o){return void 0===n&&(n=2),void 0===i&&(i=0),void 0===o&&(o=!1),this.UoMService.convert(t,e,n,void 0,i,o)},t.ɵfac=function(e){return new(e||t)(o.ɵɵdirectiveInject(r.UoMService))},t.ɵpipe=o.ɵɵdefinePipe({name:"uom",type:t,pure:!0}),t}();e.UoMPipe=a,o.ɵsetClassMetadata(a,[{type:i.Pipe,args:[{name:"uom"}]}],function(){return[{type:r.UoMService}]},null)},1701:function(t,e,n){"use strict";var i=this&&this.__awaiter||function(t,e,n,i){return new(n||(n=Promise))(function(o,r){function a(t){try{l(i.next(t))}catch(t){r(t)}}function s(t){try{l(i.throw(t))}catch(t){r(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(a,s)}l((i=i.apply(t,e||[])).next())})},o=this&&this.__generator||function(t,e){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(6===r[0]&&a.label<o[1]){a.label=o[1],o=r;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(r);break}o[2]&&a.ops.pop(),a.trys.pop();continue}r=e.call(t,a)}catch(t){r=[6,t],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}};Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),a=n(6),s=n(0),l=(n(9),n(1850)),c=n(2050),u=n(1946),d=n(2052),p=n(0),m=n(9),h=function(){function t(t){this.RestService=t,this.CREDENTIALS_ENDPOINT="storage/upload_credentials",this.DATASET_ENDPOINT="storage/datasets",this.CONTROL_POINTS_ENDPOINT="storage/datasets/control_points",this.QUALITY_MAP_INFO_ENDPOINT="storage/dataset_qualitymaps"}return t.prototype.listUploadedDatasets=function(t){return i(this,void 0,void 0,function(){var e,n,i,r,a,s;return o(this,function(o){switch(o.label){case 0:return e=[],[4,this.RestService.getApi(this.DATASET_ENDPOINT,{state:t},void 0,!1)];case 1:for(n=o.sent(),i=0,r=n;i<r.length;i++)a=r[i],(s=new l.RecordedDataset).fillFromData(a),e.push(s);return[2,e]}})})},t.prototype.fetchCredentials=function(){return i(this,void 0,void 0,function(){var t;return o(this,function(e){switch(e.label){case 0:return[4,this.RestService.getApi(this.CREDENTIALS_ENDPOINT,{},void 0,!1)];case 1:return t=e.sent(),[2,new c.S3Credentials(t)]}})})},t.prototype.delete=function(t,e){return i(this,void 0,void 0,function(){return o(this,function(n){switch(n.label){case 0:return[4,this.RestService.deleteApi(this.DATASET_ENDPOINT,{data:{folder_names:t,state:e}},!0)];case 1:return n.sent(),[2]}})})},t.prototype.fetchControlPoints=function(t){return i(this,void 0,void 0,function(){var e,n,i,r,a,s;return o(this,function(o){switch(o.label){case 0:return[4,this.RestService.getApi(this.CONTROL_POINTS_ENDPOINT,{dataset_names:t},void 0,!0)];case 1:for(e=o.sent(),n=[],i=0,r=e;i<r.length;i++)a=r[i],(s=new u.MappedControlPoints).fillFromData(a),n.push(s);return[2,n]}})})},t.prototype.saveControlPoints=function(t){return i(this,void 0,void 0,function(){var e,n,i,r,a,s;return o(this,function(o){for(e=[],n=0,i=t;n<i.length;n++)r=i[n],a=r.toData(),s=this.RestService.putApi(this.CONTROL_POINTS_ENDPOINT,a),e.push(s);return[2,Promise.all(e)]})})},t.prototype.enrichDatasetsWithQualityMapInfo=function(t,e){return i(this,void 0,void 0,function(){var n,i,r,a,s,l;return o(this,function(o){switch(o.label){case 0:return 0===t.length?[2]:(n=new Map(t.map(function(t){return[t.getDirectoryName(),t]})),[4,this.fetchQualityMapInfo(Array.from(n.keys()),e)]);case 1:for(i=o.sent(),r=0,a=i;r<a.length;r++)s=a[r],(l=n.get(s.datasetName)).qualityMapUrl=s.qualityMapUrl,l.qualityMapThumbnailUrl=s.qualityMapThumbnailUrl,l.qualityMapMeta=s.qualityMapMeta;return[2]}})})},t.prototype.fetchQualityMapInfo=function(t,e){return i(this,void 0,void 0,function(){var n,i,r,a,s,l;return o(this,function(o){switch(o.label){case 0:return[4,this.RestService.getApi(this.QUALITY_MAP_INFO_ENDPOINT,{dataset_names:t,processing_state:e},void 0,!1)];case 1:for(n=o.sent(),i=[],r=0,a=n;r<a.length;r++)s=a[r],(l=new d.QualityMapInfo).fillFromData(s),i.push(l);return[2,i]}})})},t.ɵfac=function(e){return new(e||t)(p.ɵɵinject(m.RestService))},t.ɵprov=p.ɵɵdefineInjectable({token:t,factory:t.ɵfac,providedIn:"root"}),t}();e.CloudStorageService=h,p.ɵsetClassMetadata(h,[{type:s.Injectable,args:[{providedIn:"root"}]}],function(){return[{type:m.RestService}]},null),r.module("IVWebApp").service("CloudStorageService",a.downgradeInjectable(h))},1704:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=(n(17),n(0)),r=n(17),a=function(){function t(t){this.ViewService=t,this.focusWhitelist=["input","select","textarea"]}return t.prototype.ngDoCheck=function(){var t=document.activeElement,e=this.ViewService.mainView.divContainer.container;t!==e&&-1===this.focusWhitelist.indexOf(t.localName)&&e.focus()},t.ɵfac=function(e){return new(e||t)(o.ɵɵdirectiveInject(r.ViewService))},t.ɵdir=o.ɵɵdefineDirective({type:t,selectors:[["","redirectFocusToScene",""]]}),t}();e.RedirectFocusToMainViewDirective=a,o.ɵsetClassMetadata(a,[{type:i.Directive,args:[{selector:"[redirectFocusToScene]"}]}],function(){return[{type:r.ViewService}]},null)},1705:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(2),r=n(6),a=n(0),s=function(){function t(){this.zoomIn=new i.EventEmitter,this.zoomOut=new i.EventEmitter}return t.prototype.fireZoomIn=function(t){this.zoomIn.emit()},t.prototype.fireZoomOut=function(t){this.zoomOut.emit()},t.ɵfac=function(e){return new(e||t)},t.ɵcmp=a.ɵɵdefineComponent({type:t,selectors:[["zoom-control"]],outputs:{zoomIn:"zoomIn",zoomOut:"zoomOut"},decls:5,vars:0,consts:[[1,"btn-group-vertical",3,"dblclick"],["type","button",1,"btn","btn-default",3,"click"],[1,"fa","fa-plus"],[1,"fa","fa-minus"]],template:function(t,e){1&t&&(a.ɵɵelementStart(0,"div",0),a.ɵɵlistener("dblclick",function(t){return t.stopPropagation()}),a.ɵɵelementStart(1,"button",1),a.ɵɵlistener("click",function(t){return e.fireZoomIn(t)}),a.ɵɵelement(2,"i",2),a.ɵɵelementEnd(),a.ɵɵelementStart(3,"button",1),a.ɵɵlistener("click",function(t){return e.fireZoomOut(t)}),a.ɵɵelement(4,"i",3),a.ɵɵelementEnd(),a.ɵɵelementEnd())},styles:["div[_ngcontent-%COMP%]{width:100%}div[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{border:none}"]}),t}();e.ZoomControlComponent=s,a.ɵsetClassMetadata(s,[{type:i.Component,args:[{selector:"zoom-control",templateUrl:"ZoomControl.ng.html",styleUrls:["ZoomControl.ng.scss"]}]}],null,{zoomIn:[{type:i.Output}],zoomOut:[{type:i.Output}]}),o.module("IVWebApp").directive("zoomControl",r.downgradeComponent({component:s}))},1708:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n(1),o=n(26);function r(t){return void 0===t&&(t=null),function(e){return e.lift(new a(t))}}var a=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){var i=t.call(this,e)||this;return i.defaultValue=n,i.isEmpty=!0,i}return i.c(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}(o.a)},1711:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(1692),r=n(3),a=n(1700),s=n(1704),l=n(1697),c=n(1696),u=n(1705),d=n(0),p=function(){function t(){}return t.ɵmod=d.ɵɵdefineNgModule({type:t}),t.ɵinj=d.ɵɵdefineInjector({factory:function(e){return new(e||t)},providers:[],imports:[[r.CommonModule,l.ToggleSwitchModule,c.AlertDialogModule]]}),t}();e.SharedModule=p,("undefined"==typeof ngJitMode||ngJitMode)&&d.ɵɵsetNgModuleScope(p,{declarations:[o.AddBaseUrlDirective,s.RedirectFocusToMainViewDirective,a.UoMPipe,u.ZoomControlComponent],imports:[r.CommonModule,l.ToggleSwitchModule,c.AlertDialogModule],exports:[o.AddBaseUrlDirective,s.RedirectFocusToMainViewDirective,a.UoMPipe,u.ZoomControlComponent]}),d.ɵsetClassMetadata(p,[{type:i.NgModule,args:[{imports:[r.CommonModule,l.ToggleSwitchModule,c.AlertDialogModule],declarations:[o.AddBaseUrlDirective,s.RedirectFocusToMainViewDirective,a.UoMPipe,u.ZoomControlComponent],entryComponents:[u.ZoomControlComponent],exports:[o.AddBaseUrlDirective,s.RedirectFocusToMainViewDirective,a.UoMPipe,u.ZoomControlComponent],providers:[]}]}],null,null)},1712:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n(1),o=n(441),r=n(26);function a(t){return void 0===t&&(t=c),function(e){return e.lift(new s(t))}}var s=function(){function t(t){this.errorFactory=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.errorFactory))},t}(),l=function(t){function e(e,n){var i=t.call(this,e)||this;return i.errorFactory=n,i.hasValue=!1,i}return i.c(e,t),e.prototype._next=function(t){this.hasValue=!0,this.destination.next(t)},e.prototype._complete=function(){if(this.hasValue)return this.destination.complete();var t=void 0;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)},e}(r.a);function c(){return new o.a}},1846:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CELL_VALUE_TOKEN="CELL_VALUE"},1848:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n(1),o=n(26),r=n(280),a=n(71);function s(t){return function(e){return 0===t?Object(a.b)():e.lift(new l(t))}}var l=function(){function t(t){if(this.total=t,this.total<0)throw new r.a}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.total))},t}(),c=function(t){function e(e,n){var i=t.call(this,e)||this;return i.total=n,i.ring=new Array,i.count=0,i}return i.c(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,i=this.count++;e.length<n?e.push(t):e[i%n]=t},e.prototype._complete=function(){var t=this.destination,e=this.count;if(e>0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,o=0;o<n;o++){var r=e++%n;t.next(i[r])}t.complete()},e}(o.a)},1850:function(t,e,n){"use strict";var i,o=this&&this.__extends||(i=function(t,e){return(i=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])})(t,e)},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var r,a=n(1911);!function(t){t.PROCESSED="PROCESSED",t.PROCESSING="PROCESSING",t.UNPROCESSED="UNPROCESSED"}(r=e.DatasetProcessingState||(e.DatasetProcessingState={}));var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getState=function(){return this.state.toString()},e.prototype.getDirectoryName=function(){return this.directoryName},e.prototype.fillFromData=function(e){switch(t.prototype.fillFromData.call(this,e),this.directoryName=e.directory_name,e.state){case r.PROCESSED:this.state=r.PROCESSED;break;case r.PROCESSING:this.state=r.PROCESSING;break;case r.UNPROCESSED:default:this.state=r.UNPROCESSED}},e.prototype.fill=function(e){return t.prototype.fill.call(this,e),this.state=e.state,this.directoryName=e.directoryName,this},e}(a.ProcessingDataset);e.RecordedDataset=s},1851:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,o=n(1949),r=n(1850),a=n(1869),s=n(7),l=n(2054);!function(t){t.CANCELLED="CANCELLED",t.STOPPING="STOPPING",t.NOT_READY="NOT_READY",t.RUNNING="RUNNING",t.FINISHED="FINISHED",t.FAILED="FAILED"}(i=e.ProcessingTaskStatus||(e.ProcessingTaskStatus={}));var c=function(){function t(){this.name="",this.datasets=[],this.config=new o.ProcessingTaskConfig,this.timeEstimator=new l.ProcessingTaskTimeEstimator}return t.prototype.fillFromData=function(t){this.name=t.name,this.datasets=t.datasets.map(function(t){var e=new r.RecordedDataset;return e.fillFromData(t),e}),this.config=new o.ProcessingTaskConfig,this.config.fillFromData(t.config),this.timeEstimator.rangeInSeconds=t.time_estimate},t.prototype.toData=function(){return{config:this.config.toData(),name:this.name,datasets:this.datasets.map(function(t){return t.toData()}),state:i.NOT_READY,time_estimate:this.timeEstimator.rangeInSeconds}},Object.defineProperty(t.prototype,"dataSetCountByDevice",{get:function(){var t=new Map,e=s.groupBy(this.datasets,function(t){return t.mappingDevice});return t.set(a.DatasetDeviceInfo.M6,e[a.DatasetDeviceInfo.M6]?e[a.DatasetDeviceInfo.M6].length:0),t.set(a.DatasetDeviceInfo.VLX,e[a.DatasetDeviceInfo.VLX]?e[a.DatasetDeviceInfo.VLX].length:0),t},enumerable:!0,configurable:!0}),t}();e.ProcessingTask=c},1852:function(t,e,n){"use strict";n.r(e),n.d(e,"MAT_CHECKBOX_CLICK_ACTION",function(){return g}),n.d(e,"MAT_CHECKBOX_CONTROL_VALUE_ACCESSOR",function(){return b}),n.d(e,"MAT_CHECKBOX_DEFAULT_OPTIONS",function(){return h}),n.d(e,"MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY",function(){return f}),n.d(e,"MAT_CHECKBOX_REQUIRED_VALIDATOR",function(){return C}),n.d(e,"MatCheckbox",function(){return _}),n.d(e,"MatCheckboxChange",function(){return y}),n.d(e,"MatCheckboxModule",function(){return S}),n.d(e,"MatCheckboxRequiredValidator",function(){return x}),n.d(e,"_MatCheckboxRequiredValidatorModule",function(){return w});var i=n(1),o=n(63),r=n(23),a=n(0),s=n(624),l=n(47),c=n(95),u=n(170),d=["input"],p=function(){return{enterDuration:150}},m=["*"],h=new a.InjectionToken("mat-checkbox-default-options",{providedIn:"root",factory:f});function f(){return{color:"accent",clickAction:"check-indeterminate"}}var g=new a.InjectionToken("mat-checkbox-click-action"),v=0,b={provide:s.NG_VALUE_ACCESSOR,useExisting:Object(a.forwardRef)(function(){return _}),multi:!0},y=function(){},_=function(t){function e(e,n,i,o,r,s,l,c){var u=t.call(this,e)||this;return u._changeDetectorRef=n,u._focusMonitor=i,u._ngZone=o,u._clickAction=s,u._animationMode=l,u._options=c,u.ariaLabel="",u.ariaLabelledby=null,u._uniqueId="mat-checkbox-"+ ++v,u.id=u._uniqueId,u.labelPosition="after",u.name=null,u.change=new a.EventEmitter,u.indeterminateChange=new a.EventEmitter,u._onTouched=function(){},u._currentAnimationClass="",u._currentCheckState=0,u._controlValueAccessorChangeFn=function(){},u._checked=!1,u._disabled=!1,u._indeterminate=!1,u._options=u._options||{},u._options.color&&(u.color=u._options.color),u.tabIndex=parseInt(r)||0,u._focusMonitor.monitor(e,!0).subscribe(function(t){t||Promise.resolve().then(function(){u._onTouched(),n.markForCheck()})}),u._clickAction=u._clickAction||u._options.clickAction,u}return Object(i.c)(e,t),Object.defineProperty(e.prototype,"inputId",{get:function(){return(this.id||this._uniqueId)+"-input"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=Object(r.c)(t)},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){this._syncIndeterminate(this._indeterminate)},e.prototype.ngAfterViewChecked=function(){},e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)},Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){var e=Object(r.c)(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"indeterminate",{get:function(){return this._indeterminate},set:function(t){var e=t!=this._indeterminate;this._indeterminate=Object(r.c)(t),e&&(this._indeterminate?this._transitionCheckState(3):this._transitionCheckState(this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)},enumerable:!0,configurable:!0}),e.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},e.prototype._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()},e.prototype.writeValue=function(t){this.checked=!!t},e.prototype.registerOnChange=function(t){this._controlValueAccessorChangeFn=t},e.prototype.registerOnTouched=function(t){this._onTouched=t},e.prototype.setDisabledState=function(t){this.disabled=t},e.prototype._getAriaChecked=function(){return this.checked?"true":this.indeterminate?"mixed":"false"},e.prototype._transitionCheckState=function(t){var e=this._currentCheckState,n=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);var i=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){n.classList.remove(i)},1e3)})}},e.prototype._emitChangeEvent=function(){var t=new y;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)},e.prototype.toggle=function(){this.checked=!this.checked},e.prototype._onInputClick=function(t){var e=this;t.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then(function(){e._indeterminate=!1,e.indeterminateChange.emit(e._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())},e.prototype.focus=function(t,e){void 0===t&&(t="keyboard"),this._focusMonitor.focusVia(this._inputElement,t,e)},e.prototype._onInteractionEvent=function(t){t.stopPropagation()},e.prototype._getAnimationClassForCheckStateTransition=function(t,e){if("NoopAnimations"===this._animationMode)return"";var n="";switch(t){case 0:if(1===e)n="unchecked-checked";else{if(3!=e)return"";n="unchecked-indeterminate"}break;case 2:n=1===e?"unchecked-checked":"unchecked-indeterminate";break;case 1:n=2===e?"checked-unchecked":"checked-indeterminate";break;case 3:n=1===e?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-"+n},e.prototype._syncIndeterminate=function(t){var e=this._inputElement;e&&(e.nativeElement.indeterminate=t)},e.ctorParameters=function(){return[{type:a.ElementRef},{type:a.ChangeDetectorRef},{type:o.h},{type:a.NgZone},{type:String,decorators:[{type:a.Attribute,args:["tabindex"]}]},{type:void 0,decorators:[{type:a.Optional},{type:a.Inject,args:[g]}]},{type:String,decorators:[{type:a.Optional},{type:a.Inject,args:[c.ANIMATION_MODULE_TYPE]}]},{type:void 0,decorators:[{type:a.Optional},{type:a.Inject,args:[h]}]}]},e.propDecorators={ariaLabel:[{type:a.Input,args:["aria-label"]}],ariaLabelledby:[{type:a.Input,args:["aria-labelledby"]}],id:[{type:a.Input}],required:[{type:a.Input}],labelPosition:[{type:a.Input}],name:[{type:a.Input}],change:[{type:a.Output}],indeterminateChange:[{type:a.Output}],value:[{type:a.Input}],_inputElement:[{type:a.ViewChild,args:["input"]}],ripple:[{type:a.ViewChild,args:[l.MatRipple]}],checked:[{type:a.Input}],disabled:[{type:a.Input}],indeterminate:[{type:a.Input}]},e.ɵfac=function(t){return new(t||e)(a["ɵɵdirectiveInject"](a.ElementRef),a["ɵɵdirectiveInject"](a.ChangeDetectorRef),a["ɵɵdirectiveInject"](o.h),a["ɵɵdirectiveInject"](a.NgZone),a["ɵɵinjectAttribute"]("tabindex"),a["ɵɵdirectiveInject"](g,8),a["ɵɵdirectiveInject"](c.ANIMATION_MODULE_TYPE,8),a["ɵɵdirectiveInject"](h,8))},e.ɵcmp=a["ɵɵdefineComponent"]({type:e,selectors:[["mat-checkbox"]],viewQuery:function(t,e){var n;1&t&&(a["ɵɵviewQuery"](d,!0),a["ɵɵviewQuery"](l.MatRipple,!0)),2&t&&(a["ɵɵqueryRefresh"](n=a["ɵɵloadQuery"]())&&(e._inputElement=n.first),a["ɵɵqueryRefresh"](n=a["ɵɵloadQuery"]())&&(e.ripple=n.first))},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(a["ɵɵhostProperty"]("id",e.id),a["ɵɵattribute"]("tabindex",null),a["ɵɵclassProp"]("mat-checkbox-indeterminate",e.indeterminate)("mat-checkbox-checked",e.checked)("mat-checkbox-disabled",e.disabled)("mat-checkbox-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[a["ɵɵProvidersFeature"]([b]),a["ɵɵInheritDefinitionFeature"]],ngContentSelectors:m,decls:17,vars:19,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(t,e){if(1&t&&(a["ɵɵprojectionDef"](),a["ɵɵelementStart"](0,"label",0,1),a["ɵɵelementStart"](2,"div",2),a["ɵɵelementStart"](3,"input",3,4),a["ɵɵlistener"]("change",function(t){return e._onInteractionEvent(t)})("click",function(t){return e._onInputClick(t)}),a["ɵɵelementEnd"](),a["ɵɵelementStart"](5,"div",5),a["ɵɵelement"](6,"div",6),a["ɵɵelementEnd"](),a["ɵɵelement"](7,"div",7),a["ɵɵelementStart"](8,"div",8),a["ɵɵnamespaceSVG"](),a["ɵɵelementStart"](9,"svg",9),a["ɵɵelement"](10,"path",10),a["ɵɵelementEnd"](),a["ɵɵnamespaceHTML"](),a["ɵɵelement"](11,"div",11),a["ɵɵelementEnd"](),a["ɵɵelementEnd"](),a["ɵɵelementStart"](12,"span",12,13),a["ɵɵlistener"]("cdkObserveContent",function(){return e._onLabelTextChange()}),a["ɵɵelementStart"](14,"span",14),a["ɵɵtext"](15," "),a["ɵɵelementEnd"](),a["ɵɵprojection"](16),a["ɵɵelementEnd"](),a["ɵɵelementEnd"]()),2&t){var n=a["ɵɵreference"](1),i=a["ɵɵreference"](13);a["ɵɵattribute"]("for",e.inputId),a["ɵɵadvance"](2),a["ɵɵclassProp"]("mat-checkbox-inner-container-no-side-margin",!i.textContent||!i.textContent.trim()),a["ɵɵadvance"](1),a["ɵɵproperty"]("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),a["ɵɵattribute"]("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked()),a["ɵɵadvance"](2),a["ɵɵproperty"]("matRippleTrigger",n)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",a["ɵɵpureFunction0"](18,p))}},directives:[l.MatRipple,u.a],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox.cdk-keyboard-focused .cdk-high-contrast-active .mat-checkbox-frame{border-style:dotted}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),e}(Object(l.mixinTabIndex)(Object(l.mixinColor)(Object(l.mixinDisableRipple)(Object(l.mixinDisabled)(function(t){this._elementRef=t}))))),C={provide:s.NG_VALIDATORS,useExisting:Object(a.forwardRef)(function(){return x}),multi:!0},x=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Object(i.c)(e,t),e.ɵfac=function(t){return n(t||e)},e.ɵdir=a["ɵɵdefineDirective"]({type:e,selectors:[["mat-checkbox","required","","formControlName",""],["mat-checkbox","required","","formControl",""],["mat-checkbox","required","","ngModel",""]],features:[a["ɵɵProvidersFeature"]([C]),a["ɵɵInheritDefinitionFeature"]]});var n=a["ɵɵgetInheritedFactory"](e);return e}(s.CheckboxRequiredValidator),w=function(){function t(){}return t.ɵmod=a["ɵɵdefineNgModule"]({type:t}),t.ɵinj=a["ɵɵdefineInjector"]({factory:function(e){return new(e||t)}}),("undefined"==typeof ngJitMode||ngJitMode)&&a["ɵɵsetNgModuleScope"](t,{declarations:[x],exports:[x]}),t}(),S=function(){function t(){}return t.ɵmod=a["ɵɵdefineNgModule"]({type:t}),t.ɵinj=a["ɵɵdefineInjector"]({factory:function(e){return new(e||t)},imports:[[l.MatRippleModule,l.MatCommonModule,u.c,w],l.MatCommonModule,w]}),("undefined"==typeof ngJitMode||ngJitMode)&&a["ɵɵsetNgModuleScope"](t,{declarations:function(){return[_]},imports:function(){return[l.MatRippleModule,l.MatCommonModule,u.c,w]},exports:function(){return[_,l.MatCommonModule,w]}}),t}();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */},1855:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n(1),o=n(26);function r(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new a(t,e,n))}}var a=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,i,o){var r=t.call(this,e)||this;return r.accumulator=n,r._seed=i,r.hasSeed=o,r.index=0,r}return i.c(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}(o.a)},1856:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n(1855),o=n(1848),r=n(1708),a=n(282);function s(t,e){return arguments.length>=2?function(n){return Object(a.a)(Object(i.a)(t,e),Object(o.a)(1),Object(r.a)(e))(n)}:function(e){return Object(a.a)(Object(i.a)(function(e,n,i){return t(e,n,i+1)}),Object(o.a)(1))(e)}}},1859:function(t,e,n){"use strict";n.r(e),n.d(e,"MAT_INPUT_VALUE_ACCESSOR",function(){return w}),n.d(e,"MatInput",function(){return O}),n.d(e,"MatInputModule",function(){return M}),n.d(e,"MatTextareaAutosize",function(){return C}),n.d(e,"getMatInputUnsupportedTypeError",function(){return x});var i=n(1),o=n(13),r=n(0),a=n(23),s=n(71),l=n(32),c=n(229),u=n(437),d=n(341),p=n(3),m=Object(o.f)({passive:!0}),h=function(){function t(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}return t.prototype.monitor=function(t){var e=this;if(!this._platform.isBrowser)return s.a;var n=Object(a.e)(t),i=this._monitoredElements.get(n);if(i)return i.subject.asObservable();var o=new l.a,r="cdk-text-field-autofilled",c=function(t){"cdk-text-field-autofill-start"!==t.animationName||n.classList.contains(r)?"cdk-text-field-autofill-end"===t.animationName&&n.classList.contains(r)&&(n.classList.remove(r),e._ngZone.run(function(){return o.next({target:t.target,isAutofilled:!1})})):(n.classList.add(r),e._ngZone.run(function(){return o.next({target:t.target,isAutofilled:!0})}))};return this._ngZone.runOutsideAngular(function(){n.addEventListener("animationstart",c,m),n.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(n,{subject:o,unlisten:function(){n.removeEventListener("animationstart",c,m)}}),o.asObservable()},t.prototype.stopMonitoring=function(t){var e=Object(a.e)(t),n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))},t.prototype.ngOnDestroy=function(){var t=this;this._monitoredElements.forEach(function(e,n){return t.stopMonitoring(n)})},t.ctorParameters=function(){return[{type:o.a},{type:r.NgZone}]},t.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:function(){return new t(Object(r["ɵɵinject"])(o.a),Object(r["ɵɵinject"])(r.NgZone))},token:t,providedIn:"root"}),t.ɵfac=function(e){return new(e||t)(r["ɵɵinject"](o.a),r["ɵɵinject"](r.NgZone))},t}(),f=function(){function t(t,e){this._elementRef=t,this._autofillMonitor=e,this.cdkAutofill=new r.EventEmitter}return t.prototype.ngOnInit=function(){var t=this;this._autofillMonitor.monitor(this._elementRef).subscribe(function(e){return t.cdkAutofill.emit(e)})},t.prototype.ngOnDestroy=function(){this._autofillMonitor.stopMonitoring(this._elementRef)},t.ctorParameters=function(){return[{type:r.ElementRef},{type:h}]},t.propDecorators={cdkAutofill:[{type:r.Output}]},t.ɵfac=function(e){return new(e||t)(r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](h))},t.ɵdir=r["ɵɵdefineDirective"]({type:t,selectors:[["","cdkAutofill",""]],outputs:{cdkAutofill:"cdkAutofill"}}),t}(),g=function(){function t(t,e,n,i){this._elementRef=t,this._platform=e,this._ngZone=n,this._destroyed=new l.a,this._enabled=!0,this._previousMinRows=-1,this._document=i,this._textareaElement=this._elementRef.nativeElement}return Object.defineProperty(t.prototype,"minRows",{get:function(){return this._minRows},set:function(t){this._minRows=Object(a.f)(t),this._setMinHeight()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxRows",{get:function(){return this._maxRows},set:function(t){this._maxRows=Object(a.f)(t),this._setMaxHeight()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this._enabled},set:function(t){t=Object(a.c)(t),this._enabled!==t&&((this._enabled=t)?this.resizeToFitContent(!0):this.reset())},enumerable:!0,configurable:!0}),t.prototype._setMinHeight=function(){var t=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;t&&(this._textareaElement.style.minHeight=t)},t.prototype._setMaxHeight=function(){var t=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;t&&(this._textareaElement.style.maxHeight=t)},t.prototype.ngAfterViewInit=function(){var t=this;this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(function(){var e=t._getWindow();Object(c.a)(e,"resize").pipe(Object(u.a)(16),Object(d.a)(t._destroyed)).subscribe(function(){return t.resizeToFitContent(!0)})}))},t.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},t.prototype._cacheTextareaLineHeight=function(){if(!this._cachedLineHeight){var t=this._textareaElement.cloneNode(!1);t.rows=1,t.style.position="absolute",t.style.visibility="hidden",t.style.border="none",t.style.padding="0",t.style.height="",t.style.minHeight="",t.style.maxHeight="",t.style.overflow="hidden",this._textareaElement.parentNode.appendChild(t),this._cachedLineHeight=t.clientHeight,this._textareaElement.parentNode.removeChild(t),this._setMinHeight(),this._setMaxHeight()}},t.prototype.ngDoCheck=function(){this._platform.isBrowser&&this.resizeToFitContent()},t.prototype.resizeToFitContent=function(t){var e=this;if(void 0===t&&(t=!1),this._enabled&&(this._cacheTextareaLineHeight(),this._cachedLineHeight)){var n=this._elementRef.nativeElement,i=n.value;if(t||this._minRows!==this._previousMinRows||i!==this._previousValue){var o=n.placeholder;n.classList.add("cdk-textarea-autosize-measuring"),n.placeholder="";var r=n.scrollHeight-4;n.style.height=r+"px",n.classList.remove("cdk-textarea-autosize-measuring"),n.placeholder=o,this._ngZone.runOutsideAngular(function(){"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(function(){return e._scrollToCaretPosition(n)}):setTimeout(function(){return e._scrollToCaretPosition(n)})}),this._previousValue=i,this._previousMinRows=this._minRows}}},t.prototype.reset=function(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)},t.prototype._noopInputHandler=function(){},t.prototype._getDocument=function(){return this._document||document},t.prototype._getWindow=function(){return this._getDocument().defaultView||window},t.prototype._scrollToCaretPosition=function(t){var e=t.selectionStart,n=t.selectionEnd,i=this._getDocument();this._destroyed.isStopped||i.activeElement!==t||t.setSelectionRange(e,n)},t.ctorParameters=function(){return[{type:r.ElementRef},{type:o.a},{type:r.NgZone},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[p.DOCUMENT]}]}]},t.propDecorators={minRows:[{type:r.Input,args:["cdkAutosizeMinRows"]}],maxRows:[{type:r.Input,args:["cdkAutosizeMaxRows"]}],enabled:[{type:r.Input,args:["cdkTextareaAutosize"]}],_noopInputHandler:[{type:r.HostListener,args:["input"]}]},t.ɵfac=function(e){return new(e||t)(r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](o.a),r["ɵɵdirectiveInject"](r.NgZone),r["ɵɵdirectiveInject"](p.DOCUMENT,8))},t.ɵdir=r["ɵɵdefineDirective"]({type:t,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(t,e){1&t&&r["ɵɵlistener"]("input",function(){return e._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"]},exportAs:["cdkTextareaAutosize"]}),t}(),v=function(){function t(){}return t.ɵmod=r["ɵɵdefineNgModule"]({type:t}),t.ɵinj=r["ɵɵdefineInjector"]({factory:function(e){return new(e||t)},imports:[[o.b]]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["ɵɵsetNgModuleScope"](t,{declarations:function(){return[f,g]},imports:function(){return[o.b]},exports:function(){return[f,g]}}),t}(),b=n(624),y=n(47),_=n(1698),C=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Object(i.c)(e,t),Object.defineProperty(e.prototype,"matAutosizeMinRows",{get:function(){return this.minRows},set:function(t){this.minRows=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"matAutosizeMaxRows",{get:function(){return this.maxRows},set:function(t){this.maxRows=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"matAutosize",{get:function(){return this.enabled},set:function(t){this.enabled=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"matTextareaAutosize",{get:function(){return this.enabled},set:function(t){this.enabled=t},enumerable:!0,configurable:!0}),e.propDecorators={matAutosizeMinRows:[{type:r.Input}],matAutosizeMaxRows:[{type:r.Input}],matAutosize:[{type:r.Input,args:["mat-autosize"]}],matTextareaAutosize:[{type:r.Input}]},e.ɵfac=function(t){return n(t||e)},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["textarea","mat-autosize",""],["textarea","matTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize","mat-autosize"],inputs:{cdkAutosizeMinRows:"cdkAutosizeMinRows",cdkAutosizeMaxRows:"cdkAutosizeMaxRows",matAutosizeMinRows:"matAutosizeMinRows",matAutosizeMaxRows:"matAutosizeMaxRows",matAutosize:["mat-autosize","matAutosize"],matTextareaAutosize:"matTextareaAutosize"},exportAs:["matTextareaAutosize"],features:[r["ɵɵInheritDefinitionFeature"]]});var n=r["ɵɵgetInheritedFactory"](e);return e}(g);
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */function x(t){return Error('Input type "'+t+"\" isn't supported by matInput.")}
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */var w=new r.InjectionToken("MAT_INPUT_VALUE_ACCESSOR"),S=["button","checkbox","file","hidden","image","radio","range","reset","submit"],P=0,O=function(t){function e(e,n,i,r,a,s,c,u,d){var p=t.call(this,s,r,a,i)||this;p._elementRef=e,p._platform=n,p.ngControl=i,p._autofillMonitor=u,p._uid="mat-input-"+P++,p._isServer=!1,p._isNativeSelect=!1,p.focused=!1,p.stateChanges=new l.a,p.controlType="mat-input",p.autofilled=!1,p._disabled=!1,p._required=!1,p._type="text",p._readonly=!1,p._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(function(t){return Object(o.e)().has(t)});var m=p._elementRef.nativeElement;return p._inputValueAccessor=c||m,p._previousNativeValue=p.value,p.id=p.id,n.IOS&&d.runOutsideAngular(function(){e.nativeElement.addEventListener("keyup",function(t){var e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),p._isServer=!p._platform.isBrowser,p._isNativeSelect="select"===m.nodeName.toLowerCase(),p._isNativeSelect&&(p.controlType=m.multiple?"mat-native-select-multiple":"mat-native-select"),p}return Object(i.c)(e,t),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(t){this._disabled=Object(a.c)(t),this.focused&&(this.focused=!1,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t||this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=Object(a.c)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t||"text",this._validateType(),!this._isTextarea()&&Object(o.e)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._inputValueAccessor.value},set:function(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readonly",{get:function(){return this._readonly},set:function(t){this._readonly=Object(a.c)(t)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(e){t.autofilled=e.isAutofilled,t.stateChanges.next()})},e.prototype.ngOnChanges=function(){this.stateChanges.next()},e.prototype.ngOnDestroy=function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)},e.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()},e.prototype.focus=function(t){this._elementRef.nativeElement.focus(t)},e.prototype._focusChanged=function(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())},e.prototype._onInput=function(){},e.prototype._isTextarea=function(){return"textarea"===this._elementRef.nativeElement.nodeName.toLowerCase()},e.prototype._dirtyCheckNativeValue=function(){var t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())},e.prototype._validateType=function(){if(S.indexOf(this._type)>-1)throw x(this._type)},e.prototype._isNeverEmpty=function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1},e.prototype._isBadInput=function(){var t=this._elementRef.nativeElement.validity;return t&&t.badInput},Object.defineProperty(e.prototype,"empty",{get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shouldLabelFloat",{get:function(){if(this._isNativeSelect){var t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty},enumerable:!0,configurable:!0}),e.prototype.setDescribedByIds=function(t){this._ariaDescribedby=t.join(" ")},e.prototype.onContainerClick=function(){this.focused||this.focus()},e.ctorParameters=function(){return[{type:r.ElementRef},{type:o.a},{type:b.NgControl,decorators:[{type:r.Optional},{type:r.Self}]},{type:b.NgForm,decorators:[{type:r.Optional}]},{type:b.FormGroupDirective,decorators:[{type:r.Optional}]},{type:y.ErrorStateMatcher},{type:void 0,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[w]}]},{type:h},{type:r.NgZone}]},e.propDecorators={disabled:[{type:r.Input}],id:[{type:r.Input}],placeholder:[{type:r.Input}],required:[{type:r.Input}],type:[{type:r.Input}],errorStateMatcher:[{type:r.Input}],value:[{type:r.Input}],readonly:[{type:r.Input}],_focusChanged:[{type:r.HostListener,args:["focus",["true"]]},{type:r.HostListener,args:["blur",["false"]]}],_onInput:[{type:r.HostListener,args:["input"]}]},e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](o.a),r["ɵɵdirectiveInject"](b.NgControl,10),r["ɵɵdirectiveInject"](b.NgForm,8),r["ɵɵdirectiveInject"](b.FormGroupDirective,8),r["ɵɵdirectiveInject"](y.ErrorStateMatcher),r["ɵɵdirectiveInject"](w,10),r["ɵɵdirectiveInject"](h),r["ɵɵdirectiveInject"](r.NgZone))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:10,hostBindings:function(t,e){1&t&&r["ɵɵlistener"]("focus",function(){return e._focusChanged(!0)})("blur",function(){return e._focusChanged(!1)})("input",function(){return e._onInput()}),2&t&&(r["ɵɵhostProperty"]("disabled",e.disabled)("required",e.required),r["ɵɵattribute"]("id",e.id)("placeholder",e.placeholder)("readonly",e.readonly&&!e._isNativeSelect||null)("aria-describedby",e._ariaDescribedby||null)("aria-invalid",e.errorState)("aria-required",e.required.toString()),r["ɵɵclassProp"]("mat-input-server",e._isServer))},inputs:{disabled:"disabled",id:"id",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher"},exportAs:["matInput"],features:[r["ɵɵProvidersFeature"]([{provide:_.MatFormFieldControl,useExisting:e}]),r["ɵɵInheritDefinitionFeature"],r["ɵɵNgOnChangesFeature"]]}),e}(Object(y.mixinErrorState)(function(t,e,n,i){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=i})),M=function(){function t(){}return t.ɵmod=r["ɵɵdefineNgModule"]({type:t}),t.ɵinj=r["ɵɵdefineInjector"]({factory:function(e){return new(e||t)},providers:[y.ErrorStateMatcher],imports:[[v,_.MatFormFieldModule],v,_.MatFormFieldModule]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["ɵɵsetNgModuleScope"](t,{declarations:function(){return[O,C]},imports:function(){return[v,_.MatFormFieldModule]},exports:function(){return[v,_.MatFormFieldModule,O,C]}}),t}();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */},1862:function(t,e,n){"use strict";var i,o=this&&this.__extends||(i=function(t,e){return(i=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])})(t,e)},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var r=n(64);!function(t){t.UPLOADED_DATA="Uploaded_Data",t.PROCESSING_TASK="Processing_task",t.PROCESSED_DATA="Processed_Data"}(e.ProcessingTaskView||(e.ProcessingTaskView={}));var a=function(t){function e(){return t.call(this,"qualityMapViewedEvent")||this}return o(e,t),e.prototype.fromView=function(t){return this.withData("viewedFrom",t),this},e}(r.TrackingEvent);e.QualityMapViewedEvent=a},1863:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(1685),r=n(1685),a=n(129),s=n(169),l=n(1846),c=n(1957),u=n(0);function d(t,e){if(1&t){var n=u.ɵɵgetCurrentView();u.ɵɵelementStart(0,"th",5),u.ɵɵelementStart(1,"mat-checkbox",6),u.ɵɵlistener("change",function(){return u.ɵɵrestoreView(n),u.ɵɵnextContext().selectAll()}),u.ɵɵelementEnd(),u.ɵɵelementEnd()}if(2&t){var i=u.ɵɵnextContext();u.ɵɵadvance(1),u.ɵɵproperty("checked",i.isEverythingSelected())("indeterminate",i.isSomethingSelected())}}function p(t,e){if(1&t){var n=u.ɵɵgetCurrentView();u.ɵɵelementStart(0,"th",7),u.ɵɵlistener("click",function(){u.ɵɵrestoreView(n);var t=e.index;return u.ɵɵnextContext().toggleSortByColumnIndex(t)}),u.ɵɵelementStart(1,"p",8),u.ɵɵtext(2),u.ɵɵelementEnd(),u.ɵɵelementStart(3,"div",9),u.ɵɵelementStart(4,"i",10),u.ɵɵtext(5,"chevron_right"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementEnd()}if(2&t){var i=e.$implicit,o=e.index,r=u.ɵɵnextContext();u.ɵɵclassProp("sortable",r.isColumnSortable(o)),u.ɵɵadvance(2),u.ɵɵtextInterpolate(i),u.ɵɵadvance(2),u.ɵɵproperty("ngClass",r.getSortIconStateClass(o))}}function m(t,e){if(1&t){var n=u.ɵɵgetCurrentView();u.ɵɵelementStart(0,"td",15),u.ɵɵelementStart(1,"mat-checkbox",16),u.ɵɵlistener("click",function(t){return u.ɵɵrestoreView(n),t.stopPropagation()})("change",function(){u.ɵɵrestoreView(n);var t=u.ɵɵnextContext().$implicit;return u.ɵɵnextContext().selectRow(t)}),u.ɵɵelementEnd(),u.ɵɵelementEnd()}if(2&t){var i=u.ɵɵnextContext().$implicit;u.ɵɵadvance(1),u.ɵɵproperty("checked",i.selected)}}function h(t,e){1&t&&u.ɵɵelementContainer(0)}function f(t,e){if(1&t&&(u.ɵɵelementStart(0,"td",17),u.ɵɵtemplate(1,h,1,0,"ng-container",18),u.ɵɵelementEnd()),2&t){var n=e.$implicit,i=u.ɵɵnextContext(2);u.ɵɵadvance(1),u.ɵɵproperty("ngComponentOutlet",i.getRendererForCell(n))("ngComponentOutletInjector",i.getInjectorForCell(n))}}function g(t,e){if(1&t&&(u.ɵɵelementStart(0,"td",17),u.ɵɵelement(1,"gt-actions-menu",19),u.ɵɵelementEnd()),2&t){var n=u.ɵɵnextContext().$implicit;u.ɵɵadvance(1),u.ɵɵproperty("actions",n.actions)}}function v(t,e){if(1&t){var n=u.ɵɵgetCurrentView();u.ɵɵelementStart(0,"tr",11),u.ɵɵlistener("click",function(){u.ɵɵrestoreView(n);var t=e.$implicit;return u.ɵɵnextContext().selectRow(t)}),u.ɵɵtemplate(1,m,2,1,"td",12),u.ɵɵtemplate(2,f,2,2,"td",13),u.ɵɵtemplate(3,g,2,1,"td",14),u.ɵɵelementEnd()}if(2&t){var i=e.$implicit,o=e.index,r=u.ɵɵnextContext();u.ɵɵclassProp("selected",i.selected)("selectable",r.selectable),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",r.selectable),u.ɵɵadvance(1),u.ɵɵproperty("ngForOf",i.columns)("ngForTrackBy",r.trackCell(o)),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",i.actions)}}var b=function(){function t(t){this.Injector=t,this.selectable=!1,this.selectedRowsChange=new i.EventEmitter,this.onRowSelected=new i.EventEmitter,this.sortBy=new a.BehaviorSubject(void 0)}return t.prototype.ngOnInit=function(){var t=this,e=y(this,"columnsConfig"),n=y(this,"rows").pipe(s.map(function(t){return t||[]}),s.tap(function(e){return t.pruneSelectionUsing(e)})),i=y(this,"selectedRows"),o=this.sortBy.asObservable().pipe(s.map(function(t){return void 0===t?[void 0,void 0]:t}));this.columnNames=e.pipe(s.map(function(e){return e?t.getVisibleColumns(e).map(function(t){return e[t].name}):[]})),this.rowsTransformed=a.combineLatest([e,n,i,o]).pipe(s.map(function(e){var n=e[0],i=e[1],o=e[2],r=e[3],a=r[0],s=r[1];return{config:n,rows:i.filter(function(t){return void 0!==t}).sort(t.getSortFunction(n,a,s)||t.defaultSort(a,s)),selected:o||[],columnKeys:t.getVisibleColumns(n||t.columnsConfigFromEntry(i[0]))}}),s.map(function(e){var n=e.config,i=e.rows,o=e.selected,r=e.columnKeys;return i.map(function(e){return{entry:e,selected:o.indexOf(e)>=0,columns:r.map(function(i){return t.getCellOrDefault(e,i,n?n[i]:{})}),actions:t.menuFn&&e?t.menuFn(e):void 0}})}))},t.prototype.getSortFunction=function(t,e,n){if(void 0!==t&&void 0!==e&&void 0!==t[e]&&void 0!==t[e].sortFn){var i=t[e].sortFn,o=n?i:function(t,e){return i(e,t)};return function(t,e){return void 0===t||void 0===e?0:o(t,e)}}},t.prototype.defaultSort=function(t,e){return function(n,i){if(!t)return 0;var a=e?i[t]:n[t],s=e?n[t]:i[t];return void 0===a||void 0===s?0:"number"==typeof a&&"number"==typeof s?a-s:(r.isMoment(a)||a instanceof Date)&&(r.isMoment(s)||s instanceof Date)?o(a).diff(o(s)):(""+s).localeCompare(""+a)}},t.prototype.columnsConfigFromEntry=function(t){if(t){var e=Object.keys(t),n={};return e.forEach(function(t){return n[t]={}}),n}},t.prototype.getInjectorForCell=function(t){return t.valueInjector},t.prototype.getRendererForCell=function(t){return t.renderer?t.renderer:c.DefaultCellComponent},t.prototype.compareColumns=function(t,e){return void 0===t||void 0===e?0:t.order-e.order},t.prototype.getVisibleColumns=function(t){var e=this;return t?this.getColumnKeysFrom(t).filter(function(n){return e.isColumnVisible(t[n])}):[]},t.prototype.isColumnVisible=function(t){return t&&!1!==t.visible},t.prototype.getColumnKeysFrom=function(t){var e=this;return Object.keys(t).map(function(t){return t}).sort(function(n,i){return e.compareColumns(t[n],t[i])})},t.prototype.getCellOrDefault=function(t,e,n,o){void 0===o&&(o="-");var r=t[e],a=n.transformFn?n.transformFn(r,t):r,s=i.Injector.create({providers:[{provide:l.CELL_VALUE_TOKEN,useValue:a}],parent:this.Injector,name:l.CELL_VALUE_TOKEN});return n.customComponent&&void 0!==a?{value:a,valueInjector:s,renderer:n.customComponent}:{value:a,renderer:c.DefaultCellComponent,valueInjector:s}},t.prototype.trackRow=function(t,e){return(e.actions||[]).map(function(t){return t.label+":"+t.matIcon}).join(",")+"|"+e.columns.map(function(t){return t.value}).join(",")},t.prototype.trackCell=function(t){return function(e,n){return t+":"+n.value}},t.prototype.isEverythingSelected=function(){return!(!this.rows||!this.selectedRows)&&this.selectedRows.length===this.rows.length},t.prototype.isSomethingSelected=function(){return!(!this.rows||!this.selectedRows)&&this.selectedRows.length!==this.rows.length&&this.selectedRows.length>0},t.prototype.selectRow=function(t){if(this.selectable&&this.rows){this.selectedRows||(this.selectedRows=[]);var e=this.rows.indexOf(t.entry),n=this.selectedRows.indexOf(t.entry);n>=0?(this.selectedRows.splice(n,1),n=-1):n=this.selectedRows.push(t.entry),this.selectedRows=this.selectedRows.slice(),this.selectedRowsChange.emit(this.selectedRows),this.onRowSelected.emit({entry:t.entry,entryIndex:e,selectionIndex:n,selected:n>=0})}},t.prototype.selectAll=function(){this.selectable&&this.rows&&(this.selectedRows||(this.selectedRows=[]),this.rows.length!==this.selectedRows.length?this.selectedRows=this.rows.slice():this.selectedRows=[],this.selectedRowsChange.emit(this.selectedRows))},t.prototype.toggleSortByColumnIndex=function(t){var e=this.getVisibleColumns(this.columnsConfig)[t];if(!0===this.columnsConfig[e].sortable){var n=Object.keys(this.columnsConfig).find(function(t){return t===e}),i=this.sortBy.getValue()||[void 0,void 0],o=i[0],r=i[1];n===o?r?this.sortBy.next([n,!1]):this.sortBy.next(void 0):this.sortBy.next([n,!0])}},t.prototype.isColumnSortedDesc=function(t){var e=this.sortBy.getValue();if(e){var n=e[0],i=e[1],o=this.getVisibleColumns(this.columnsConfig)[t];return Object.keys(this.columnsConfig).find(function(t){return t===o})===n?i:void 0}},t.prototype.getSortIconStateClass=function(t){var e=this.isColumnSortedDesc(t);return void 0===e?void 0:e?"desc":"asc"},t.prototype.isColumnSortable=function(t){var e=this.getVisibleColumns(this.columnsConfig)[t];return!0===this.columnsConfig[e].sortable},t.prototype.pruneSelectionUsing=function(t){if(this.selectedRows&&!(this.selectedRows.length<=0)){var e=this.selectedRows.length;this.selectedRows=this.selectedRows.filter(function(e){return t.indexOf(e)>=0}),this.selectedRows.length!==e&&this.selectedRowsChange.emit(this.selectedRows)}},t.ɵfac=function(e){return new(e||t)(u.ɵɵdirectiveInject(u.Injector))},t.ɵcmp=u.ɵɵdefineComponent({type:t,selectors:[["generic-table"]],inputs:{selectable:"selectable",columnsConfig:["columns","columnsConfig"],rows:"rows",selectedRows:"selectedRows",menuFn:"menuFn"},outputs:{selectedRowsChange:"selectedRowsChange",onRowSelected:"onRowSelected"},decls:7,vars:8,consts:[[1,"gt-table"],[1,"gt-row--header"],["class","gt-cell--header gt-cell--checkbox",4,"ngIf"],["class","gt-cell--header",3,"sortable","click",4,"ngFor","ngForOf"],["class","gt-row",3,"selected","selectable","click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"gt-cell--header","gt-cell--checkbox"],["color","primary",3,"checked","indeterminate","change"],[1,"gt-cell--header",3,"click"],[1,"gt-header-text"],[1,"gt-sort-icon-container"],[1,"material-icons","btn-icon","gt-sort-icon",3,"ngClass"],[1,"gt-row",3,"click"],["class","gt-cell--checkbox",4,"ngIf"],["class","gt-cell",4,"ngFor","ngForOf","ngForTrackBy"],["class","gt-cell",4,"ngIf"],[1,"gt-cell--checkbox"],["color","primary",3,"checked","click","change"],[1,"gt-cell"],[4,"ngComponentOutlet","ngComponentOutletInjector"],[3,"actions"]],template:function(t,e){1&t&&(u.ɵɵelementStart(0,"table",0),u.ɵɵelementStart(1,"tr",1),u.ɵɵtemplate(2,d,2,2,"th",2),u.ɵɵtemplate(3,p,6,4,"th",3),u.ɵɵpipe(4,"async"),u.ɵɵelementEnd(),u.ɵɵtemplate(5,v,4,8,"tr",4),u.ɵɵpipe(6,"async"),u.ɵɵelementEnd()),2&t&&(u.ɵɵadvance(2),u.ɵɵproperty("ngIf",e.selectable),u.ɵɵadvance(1),u.ɵɵproperty("ngForOf",u.ɵɵpipeBind1(4,4,e.columnNames)),u.ɵɵadvance(2),u.ɵɵproperty("ngForOf",u.ɵɵpipeBind1(6,6,e.rowsTransformed))("ngForTrackBy",e.trackRow))},styles:[".gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%] > .gt-cell[_ngcontent-%COMP%], .gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%] > .gt-cell--checkbox[_ngcontent-%COMP%], .gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%] > .gt-cell--header[_ngcontent-%COMP%], .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%] > .gt-cell[_ngcontent-%COMP%], .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%] > .gt-cell--checkbox[_ngcontent-%COMP%], .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%] > .gt-cell--header[_ngcontent-%COMP%]{border-bottom:1px solid #cecece}.gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%] > .gt-cell--checkbox[_ngcontent-%COMP%]:first-child, .gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%] > .gt-cell--header[_ngcontent-%COMP%]:first-child, .gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%] > .gt-cell[_ngcontent-%COMP%]:first-child, .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%] > .gt-cell--checkbox[_ngcontent-%COMP%]:first-child, .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%] > .gt-cell--header[_ngcontent-%COMP%]:first-child, .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%] > .gt-cell[_ngcontent-%COMP%]:first-child{border-left:1px solid #cecece}.gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%] > .gt-cell--checkbox[_ngcontent-%COMP%]:last-child, .gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%] > .gt-cell--header[_ngcontent-%COMP%]:last-child, .gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%] > .gt-cell[_ngcontent-%COMP%]:last-child, .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%] > .gt-cell--checkbox[_ngcontent-%COMP%]:last-child, .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%] > .gt-cell--header[_ngcontent-%COMP%]:last-child, .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%] > .gt-cell[_ngcontent-%COMP%]:last-child{border-right:1px solid #cecece}.gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%]:nth-child(2) > .gt-cell[_ngcontent-%COMP%], .gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%]:nth-child(2) > .gt-cell--checkbox[_ngcontent-%COMP%], .gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%]:nth-child(2) > .gt-cell--header[_ngcontent-%COMP%], .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%]:nth-child(2) > .gt-cell[_ngcontent-%COMP%], .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%]:nth-child(2) > .gt-cell--checkbox[_ngcontent-%COMP%], .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%]:nth-child(2) > .gt-cell--header[_ngcontent-%COMP%]{border-top:1px solid #cecece}.gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%]:nth-child(2) > .gt-cell--checkbox[_ngcontent-%COMP%]:first-child, .gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%]:nth-child(2) > .gt-cell--header[_ngcontent-%COMP%]:first-child, .gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%]:nth-child(2) > .gt-cell[_ngcontent-%COMP%]:first-child, .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%]:nth-child(2) > .gt-cell--checkbox[_ngcontent-%COMP%]:first-child, .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%]:nth-child(2) > .gt-cell--header[_ngcontent-%COMP%]:first-child, .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%]:nth-child(2) > .gt-cell[_ngcontent-%COMP%]:first-child{border-top-left-radius:4px}.gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%]:nth-child(2) > .gt-cell--checkbox[_ngcontent-%COMP%]:last-child, .gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%]:nth-child(2) > .gt-cell--header[_ngcontent-%COMP%]:last-child, .gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%]:nth-child(2) > .gt-cell[_ngcontent-%COMP%]:last-child, .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%]:nth-child(2) > .gt-cell--checkbox[_ngcontent-%COMP%]:last-child, .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%]:nth-child(2) > .gt-cell--header[_ngcontent-%COMP%]:last-child, .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%]:nth-child(2) > .gt-cell[_ngcontent-%COMP%]:last-child{border-top-right-radius:4px}.gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%]:last-child > .gt-cell--checkbox[_ngcontent-%COMP%]:first-child, .gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%]:last-child > .gt-cell--header[_ngcontent-%COMP%]:first-child, .gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%]:last-child > .gt-cell[_ngcontent-%COMP%]:first-child, .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%]:last-child > .gt-cell--checkbox[_ngcontent-%COMP%]:first-child, .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%]:last-child > .gt-cell--header[_ngcontent-%COMP%]:first-child, .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%]:last-child > .gt-cell[_ngcontent-%COMP%]:first-child{border-bottom-left-radius:4px}.gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%]:last-child > .gt-cell--checkbox[_ngcontent-%COMP%]:last-child, .gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%]:last-child > .gt-cell--header[_ngcontent-%COMP%]:last-child, .gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%]:last-child > .gt-cell[_ngcontent-%COMP%]:last-child, .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%]:last-child > .gt-cell--checkbox[_ngcontent-%COMP%]:last-child, .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%]:last-child > .gt-cell--header[_ngcontent-%COMP%]:last-child, .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%]:last-child > .gt-cell[_ngcontent-%COMP%]:last-child{border-bottom-right-radius:4px}.gt-table[_ngcontent-%COMP%]{text-align:left;border-style:hidden;border-collapse:separate;border-spacing:0;min-width:600px;width:100%}.gt-table[_ngcontent-%COMP%] > .gt-row.selectable[_ngcontent-%COMP%], .gt-table[_ngcontent-%COMP%] > .selectable.gt-row--header[_ngcontent-%COMP%]{cursor:pointer}.gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%]:hover, .gt-table[_ngcontent-%COMP%] > .gt-row.selected[_ngcontent-%COMP%], .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%]:hover, .gt-table[_ngcontent-%COMP%] > .selected.gt-row--header[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.05)}.gt-table[_ngcontent-%COMP%] > .gt-row.selected[_ngcontent-%COMP%]:hover, .gt-table[_ngcontent-%COMP%] > .selected.gt-row--header[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.1)}.gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%]{font-family:Open Sans,sans-serif;font-style:normal;font-weight:500;font-size:10px;line-height:1.4;text-transform:uppercase;vertical-align:bottom;color:hsla(0,0%,54.5%,.9);cursor:unset}.gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%]:hover{background-color:unset}.gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%] > .gt-cell[_ngcontent-%COMP%], .gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%] > .gt-cell--checkbox[_ngcontent-%COMP%], .gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%] > .gt-cell--header[_ngcontent-%COMP%], .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%] > .gt-cell[_ngcontent-%COMP%], .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%] > .gt-cell--checkbox[_ngcontent-%COMP%], .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%] > .gt-cell--header[_ngcontent-%COMP%]{padding:12px}.gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%] > .gt-cell--header[_ngcontent-%COMP%], .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%] > .gt-cell--header[_ngcontent-%COMP%]{border:none!important;padding:16px 12px;white-space:nowrap}.gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%] > .gt-cell--header[_ngcontent-%COMP%] .gt-header-text[_ngcontent-%COMP%], .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%] > .gt-cell--header[_ngcontent-%COMP%] .gt-header-text[_ngcontent-%COMP%]{margin:0;display:inline-block;line-height:19px}.gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%] > .gt-cell--checkbox[_ngcontent-%COMP%], .gt-table[_ngcontent-%COMP%] > .gt-row[_ngcontent-%COMP%] > .gt-cell--checkbox[_ngcontent-%COMP%]{padding:16px 30px}.gt-table[_ngcontent-%COMP%] .gt-row[_ngcontent-%COMP%] .gt-cell--header.sortable[_ngcontent-%COMP%], .gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%] .gt-cell--header.sortable[_ngcontent-%COMP%]{user-select:none;cursor:pointer}.gt-table[_ngcontent-%COMP%] .gt-row[_ngcontent-%COMP%] .gt-cell--header.sortable[_ngcontent-%COMP%]:hover, .gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%] .gt-cell--header.sortable[_ngcontent-%COMP%]:hover{color:#44a3cf}.gt-table[_ngcontent-%COMP%] .gt-row[_ngcontent-%COMP%] .gt-cell--header[_ngcontent-%COMP%] .gt-sort-icon-container[_ngcontent-%COMP%], .gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%] .gt-cell--header[_ngcontent-%COMP%] .gt-sort-icon-container[_ngcontent-%COMP%]{position:relative;top:4.5px;display:inline-block;overflow:hidden;width:19px;height:19px;min-width:19px;min-height:19px;max-width:19px;max-height:19px;font-size:19px;line-height:19px}.gt-table[_ngcontent-%COMP%] .gt-row[_ngcontent-%COMP%] .gt-cell--header[_ngcontent-%COMP%] .gt-sort-icon-container[_ngcontent-%COMP%] > .gt-sort-icon[_ngcontent-%COMP%], .gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%] .gt-cell--header[_ngcontent-%COMP%] .gt-sort-icon-container[_ngcontent-%COMP%] > .gt-sort-icon[_ngcontent-%COMP%]{font-size:19px;opacity:0;transform:rotate(0deg) scaleY(0);transition:opacity .2s,transform .2s}.gt-table[_ngcontent-%COMP%] .gt-row[_ngcontent-%COMP%] .gt-cell--header[_ngcontent-%COMP%] .gt-sort-icon-container[_ngcontent-%COMP%] > .gt-sort-icon.asc[_ngcontent-%COMP%], .gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%] .gt-cell--header[_ngcontent-%COMP%] .gt-sort-icon-container[_ngcontent-%COMP%] > .gt-sort-icon.asc[_ngcontent-%COMP%]{opacity:1;transform:rotate(-90deg) scaleY(1)}.gt-table[_ngcontent-%COMP%] .gt-row[_ngcontent-%COMP%] .gt-cell--header[_ngcontent-%COMP%] .gt-sort-icon-container[_ngcontent-%COMP%] > .gt-sort-icon.desc[_ngcontent-%COMP%], .gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%] .gt-cell--header[_ngcontent-%COMP%] .gt-sort-icon-container[_ngcontent-%COMP%] > .gt-sort-icon.desc[_ngcontent-%COMP%]{opacity:1;transform:rotate(90deg) scaleY(1)}.gt-table[_ngcontent-%COMP%] .gt-row[_ngcontent-%COMP%] .gt-cell--header[_ngcontent-%COMP%]:not(.sortable) .gt-sort-icon-container[_ngcontent-%COMP%], .gt-table[_ngcontent-%COMP%] > .gt-row--header[_ngcontent-%COMP%] .gt-cell--header[_ngcontent-%COMP%]:not(.sortable) .gt-sort-icon-container[_ngcontent-%COMP%]{display:none;opacity:0}"],changeDetection:0}),t}();function y(t,e){var n=new a.BehaviorSubject(t[e]);return Object.defineProperty(t,e,{get:function(){return n.getValue()},set:function(t){t!==n.getValue()&&n.next(t)}}),n.asObservable()}e.GenericTableComponent=b,u.ɵsetClassMetadata(b,[{type:i.Component,args:[{selector:"generic-table",templateUrl:"./GenericTable.ng.html",styleUrls:["./GenericTable.ng.scss"],changeDetection:i.ChangeDetectionStrategy.OnPush}]}],function(){return[{type:u.Injector}]},{selectable:[{type:i.Input}],columnsConfig:[{type:i.Input,args:["columns"]}],rows:[{type:i.Input}],selectedRows:[{type:i.Input}],selectedRowsChange:[{type:i.Output}],menuFn:[{type:i.Input}],onRowSelected:[{type:i.Output}]})},1864:function(t,e,n){"use strict";n.r(e),n.d(e,"MAT_RADIO_DEFAULT_OPTIONS",function(){return h}),n.d(e,"MAT_RADIO_DEFAULT_OPTIONS_FACTORY",function(){return f}),n.d(e,"MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR",function(){return v}),n.d(e,"MatRadioButton",function(){return C}),n.d(e,"MatRadioChange",function(){return b}),n.d(e,"MatRadioGroup",function(){return y}),n.d(e,"MatRadioModule",function(){return x}),n.d(e,"_MatRadioButtonBase",function(){return _});var i=n(0),o=n(47),r=n(1),a=n(63),s=n(23),l=n(343),c=n(624),u=n(95),d=["input"],p=function(){return{enterDuration:150}},m=["*"],h=new i.InjectionToken("mat-radio-default-options",{providedIn:"root",factory:f});function f(){return{color:"accent"}}var g=0,v={provide:c.NG_VALUE_ACCESSOR,useExisting:Object(i.forwardRef)(function(){return y}),multi:!0},b=function(t,e){this.source=t,this.value=e},y=function(){function t(t){this._changeDetector=t,this._value=null,this._name="mat-radio-group-"+g++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=function(){},this.onTouched=function(){},this.change=new i.EventEmitter}return Object.defineProperty(t.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t,this._updateRadioButtonNames()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"labelPosition",{get:function(){return this._labelPosition},set:function(t){this._labelPosition="before"===t?"before":"after",this._markRadiosForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value!==t&&(this._value=t,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())},enumerable:!0,configurable:!0}),t.prototype._checkSelectedRadioButton=function(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)},Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=t,this.value=t?t.value:null,this._checkSelectedRadioButton()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Object(s.c)(t),this._markRadiosForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=Object(s.c)(t),this._markRadiosForCheck()},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._isInitialized=!0},t.prototype._touch=function(){this.onTouched&&this.onTouched()},t.prototype._updateRadioButtonNames=function(){var t=this;this._radios&&this._radios.forEach(function(e){e.name=t.name,e._markForCheck()})},t.prototype._updateSelectedRadioFromValue=function(){var t=this,e=null!==this._selected&&this._selected.value===this._value;this._radios&&!e&&(this._selected=null,this._radios.forEach(function(e){e.checked=t.value===e.value,e.checked&&(t._selected=e)}))},t.prototype._emitChangeEvent=function(){this._isInitialized&&this.change.emit(new b(this._selected,this._value))},t.prototype._markRadiosForCheck=function(){this._radios&&this._radios.forEach(function(t){return t._markForCheck()})},t.prototype.writeValue=function(t){this.value=t,this._changeDetector.markForCheck()},t.prototype.registerOnChange=function(t){this._controlValueAccessorChangeFn=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t,this._changeDetector.markForCheck()},t.ctorParameters=function(){return[{type:i.ChangeDetectorRef}]},t.propDecorators={change:[{type:i.Output}],_radios:[{type:i.ContentChildren,args:[Object(i.forwardRef)(function(){return C}),{descendants:!0}]}],color:[{type:i.Input}],name:[{type:i.Input}],labelPosition:[{type:i.Input}],value:[{type:i.Input}],selected:[{type:i.Input}],disabled:[{type:i.Input}],required:[{type:i.Input}]},t.ɵfac=function(e){return new(e||t)(i["ɵɵdirectiveInject"](i.ChangeDetectorRef))},t.ɵdir=i["ɵɵdefineDirective"]({type:t,selectors:[["mat-radio-group"]],contentQueries:function(t,e,n){var o;1&t&&i["ɵɵcontentQuery"](n,C,!0),2&t&&i["ɵɵqueryRefresh"](o=i["ɵɵloadQuery"]())&&(e._radios=o)},hostAttrs:["role","radiogroup",1,"mat-radio-group"],inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},exportAs:["matRadioGroup"],features:[i["ɵɵProvidersFeature"]([v])]}),t}(),_=function(t){function e(e,n,o,r,a,s,l){var c=t.call(this,n)||this;return c._changeDetector=o,c._focusMonitor=r,c._radioDispatcher=a,c._animationMode=s,c._providerOverride=l,c._uniqueId="mat-radio-"+ ++g,c.id=c._uniqueId,c.change=new i.EventEmitter,c._checked=!1,c._value=null,c._removeUniqueSelectionListener=function(){},c.radioGroup=e,c._removeUniqueSelectionListener=a.listen(function(t,e){t!==c.id&&e===c.name&&(c.checked=!1)}),c}return Object(r.c)(e,t),Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(t){var e=Object(s.c)(t);this._checked!==e&&(this._checked=e,e&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!e&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),e&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this._value!==t&&(this._value=t,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===t),this.checked&&(this.radioGroup.selected=this)))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"labelPosition",{get:function(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"},set:function(t){this._labelPosition=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled},set:function(t){this._setDisabled(Object(s.c)(t))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(t){this._required=Object(s.c)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"},set:function(t){this._color=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inputId",{get:function(){return(this.id||this._uniqueId)+"-input"},enumerable:!0,configurable:!0}),e.prototype.focus=function(t){this._focusMonitor.focusVia(this._inputElement,"keyboard",t)},e.prototype._markForCheck=function(){this._changeDetector.markForCheck()},e.prototype.ngOnInit=function(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.name=this.radioGroup.name)},e.prototype.ngAfterViewInit=function(){var t=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(e){!e&&t.radioGroup&&t.radioGroup._touch()})},e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()},e.prototype._emitChangeEvent=function(){this.change.emit(new b(this,this._value))},e.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},e.prototype._onInputClick=function(t){t.stopPropagation()},e.prototype._onInputChange=function(t){t.stopPropagation();var e=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),e&&this.radioGroup._emitChangeEvent())},e.prototype._setDisabled=function(t){this._disabled!==t&&(this._disabled=t,this._changeDetector.markForCheck())},e.ctorParameters=function(){return[{type:y,decorators:[{type:i.Optional}]},{type:i.ElementRef},{type:i.ChangeDetectorRef},{type:a.h},{type:l.d},{type:String,decorators:[{type:i.Optional},{type:i.Inject,args:[u.ANIMATION_MODULE_TYPE]}]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[h]}]}]},e.propDecorators={id:[{type:i.Input}],name:[{type:i.Input}],ariaLabel:[{type:i.Input,args:["aria-label"]}],ariaLabelledby:[{type:i.Input,args:["aria-labelledby"]}],ariaDescribedby:[{type:i.Input,args:["aria-describedby"]}],checked:[{type:i.Input}],value:[{type:i.Input}],labelPosition:[{type:i.Input}],disabled:[{type:i.Input}],required:[{type:i.Input}],color:[{type:i.Input}],change:[{type:i.Output}],_inputElement:[{type:i.ViewChild,args:["input"]}]},e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](y,8),i["ɵɵdirectiveInject"](i.ElementRef),i["ɵɵdirectiveInject"](i.ChangeDetectorRef),i["ɵɵdirectiveInject"](a.h),i["ɵɵdirectiveInject"](l.d),i["ɵɵdirectiveInject"](u.ANIMATION_MODULE_TYPE,8),i["ɵɵdirectiveInject"](h,8))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,viewQuery:function(t,e){var n;1&t&&i["ɵɵviewQuery"](d,!0),2&t&&i["ɵɵqueryRefresh"](n=i["ɵɵloadQuery"]())&&(e._inputElement=n.first)},inputs:{checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color",name:"name",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change"},features:[i["ɵɵInheritDefinitionFeature"]]}),e}(Object(o.mixinDisableRipple)(Object(o.mixinTabIndex)(function(t){this._elementRef=t}))),C=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Object(r.c)(e,t),e.ɵfac=function(t){return n(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(t,e){1&t&&i["ɵɵlistener"]("focus",function(){return e._inputElement.nativeElement.focus()}),2&t&&(i["ɵɵattribute"]("tabindex",-1)("id",e.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),i["ɵɵclassProp"]("mat-radio-checked",e.checked)("mat-radio-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-primary","primary"===e.color)("mat-accent","accent"===e.color)("mat-warn","warn"===e.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[i["ɵɵInheritDefinitionFeature"]],ngContentSelectors:m,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(t,e){if(1&t&&(i["ɵɵprojectionDef"](),i["ɵɵelementStart"](0,"label",0,1),i["ɵɵelementStart"](2,"div",2),i["ɵɵelement"](3,"div",3),i["ɵɵelement"](4,"div",4),i["ɵɵelementStart"](5,"input",5,6),i["ɵɵlistener"]("change",function(t){return e._onInputChange(t)})("click",function(t){return e._onInputClick(t)}),i["ɵɵelementEnd"](),i["ɵɵelementStart"](7,"div",7),i["ɵɵelement"](8,"div",8),i["ɵɵelementEnd"](),i["ɵɵelementEnd"](),i["ɵɵelementStart"](9,"div",9),i["ɵɵelementStart"](10,"span",10),i["ɵɵtext"](11," "),i["ɵɵelementEnd"](),i["ɵɵprojection"](12),i["ɵɵelementEnd"](),i["ɵɵelementEnd"]()),2&t){var n=i["ɵɵreference"](1);i["ɵɵattribute"]("for",e.inputId),i["ɵɵadvance"](5),i["ɵɵproperty"]("id",e.inputId)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex)("required",e.required),i["ɵɵattribute"]("name",e.name)("value",e.value)("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby)("aria-describedby",e.ariaDescribedby),i["ɵɵadvance"](2),i["ɵɵproperty"]("matRippleTrigger",n)("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",i["ɵɵpureFunction0"](18,p)),i["ɵɵadvance"](2),i["ɵɵclassProp"]("mat-radio-label-before","before"==e.labelPosition)}},directives:[o.MatRipple],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(0.001)}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5)}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0});var n=i["ɵɵgetInheritedFactory"](e);return e}(_),x=function(){function t(){}return t.ɵmod=i["ɵɵdefineNgModule"]({type:t}),t.ɵinj=i["ɵɵdefineInjector"]({factory:function(e){return new(e||t)},imports:[[o.MatRippleModule,o.MatCommonModule],o.MatCommonModule]}),("undefined"==typeof ngJitMode||ngJitMode)&&i["ɵɵsetNgModuleScope"](t,{declarations:function(){return[y,C]},imports:function(){return[o.MatRippleModule,o.MatCommonModule]},exports:function(){return[y,C,o.MatCommonModule]}}),t}()},1865:function(t,e,n){"use strict";n.r(e),n.d(e,"MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS",function(){return v}),n.d(e,"MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR",function(){return x}),n.d(e,"MAT_SLIDE_TOGGLE_VALUE_ACCESSOR",function(){return y}),n.d(e,"MatSlideToggle",function(){return C}),n.d(e,"MatSlideToggleChange",function(){return _}),n.d(e,"MatSlideToggleModule",function(){return P}),n.d(e,"MatSlideToggleRequiredValidator",function(){return w}),n.d(e,"_MatSlideToggleRequiredValidatorModule",function(){return S});var i=n(170),o=n(0),r=n(47),a=n(1),s=n(63),l=n(37),c=n(23),u=n(624),d=n(95),p=["thumbContainer"],m=["toggleBar"],h=["input"],f=function(){return{enterDuration:150}},g=["*"],v=new o.InjectionToken("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1}}}),b=0,y={provide:u.NG_VALUE_ACCESSOR,useExisting:Object(o.forwardRef)(function(){return C}),multi:!0},_=function(t,e){this.source=t,this.checked=e},C=function(t){function e(e,n,i,r,a,s,l,c){var u=t.call(this,e)||this;return u._focusMonitor=n,u._changeDetectorRef=i,u.defaults=s,u._animationMode=l,u._onChange=function(t){},u._onTouched=function(){},u._uniqueId="mat-slide-toggle-"+ ++b,u._required=!1,u._checked=!1,u.name=null,u.id=u._uniqueId,u.labelPosition="after",u.ariaLabel=null,u.ariaLabelledby=null,u.change=new o.EventEmitter,u.toggleChange=new o.EventEmitter,u.dragChange=new o.EventEmitter,u.tabIndex=parseInt(r)||0,u}return Object(a.c)(e,t),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=Object(c.c)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(t){this._checked=Object(c.c)(t),this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inputId",{get:function(){return(this.id||this._uniqueId)+"-input"},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){var t=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(e){"keyboard"===e||"program"===e?t._inputElement.nativeElement.focus():e||Promise.resolve().then(function(){return t._onTouched()})})},e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)},e.prototype._onChangeEvent=function(t){t.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())},e.prototype._onInputClick=function(t){t.stopPropagation()},e.prototype.writeValue=function(t){this.checked=!!t},e.prototype.registerOnChange=function(t){this._onChange=t},e.prototype.registerOnTouched=function(t){this._onTouched=t},e.prototype.setDisabledState=function(t){this.disabled=t,this._changeDetectorRef.markForCheck()},e.prototype.focus=function(t){this._focusMonitor.focusVia(this._inputElement,"keyboard",t)},e.prototype.toggle=function(){this.checked=!this.checked,this._onChange(this.checked)},e.prototype._emitChangeEvent=function(){this._onChange(this.checked),this.change.emit(new _(this,this.checked))},e.prototype._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()},e.ctorParameters=function(){return[{type:o.ElementRef},{type:s.h},{type:o.ChangeDetectorRef},{type:String,decorators:[{type:o.Attribute,args:["tabindex"]}]},{type:o.NgZone},{type:void 0,decorators:[{type:o.Inject,args:[v]}]},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[d.ANIMATION_MODULE_TYPE]}]},{type:l.Directionality,decorators:[{type:o.Optional}]}]},e.propDecorators={_thumbEl:[{type:o.ViewChild,args:["thumbContainer"]}],_thumbBarEl:[{type:o.ViewChild,args:["toggleBar"]}],name:[{type:o.Input}],id:[{type:o.Input}],labelPosition:[{type:o.Input}],ariaLabel:[{type:o.Input,args:["aria-label"]}],ariaLabelledby:[{type:o.Input,args:["aria-labelledby"]}],required:[{type:o.Input}],checked:[{type:o.Input}],change:[{type:o.Output}],toggleChange:[{type:o.Output}],dragChange:[{type:o.Output}],_inputElement:[{type:o.ViewChild,args:["input"]}]},e.ɵfac=function(t){return new(t||e)(o["ɵɵdirectiveInject"](o.ElementRef),o["ɵɵdirectiveInject"](s.h),o["ɵɵdirectiveInject"](o.ChangeDetectorRef),o["ɵɵinjectAttribute"]("tabindex"),o["ɵɵdirectiveInject"](o.NgZone),o["ɵɵdirectiveInject"](v),o["ɵɵdirectiveInject"](d.ANIMATION_MODULE_TYPE,8),o["ɵɵdirectiveInject"](l.Directionality,8))},e.ɵcmp=o["ɵɵdefineComponent"]({type:e,selectors:[["mat-slide-toggle"]],viewQuery:function(t,e){var n;1&t&&(o["ɵɵviewQuery"](p,!0),o["ɵɵviewQuery"](m,!0),o["ɵɵviewQuery"](h,!0)),2&t&&(o["ɵɵqueryRefresh"](n=o["ɵɵloadQuery"]())&&(e._thumbEl=n.first),o["ɵɵqueryRefresh"](n=o["ɵɵloadQuery"]())&&(e._thumbBarEl=n.first),o["ɵɵqueryRefresh"](n=o["ɵɵloadQuery"]())&&(e._inputElement=n.first))},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(t,e){2&t&&(o["ɵɵhostProperty"]("id",e.id),o["ɵɵattribute"]("tabindex",e.disabled?null:-1)("aria-label",null)("aria-labelledby",null),o["ɵɵclassProp"]("mat-checked",e.checked)("mat-disabled",e.disabled)("mat-slide-toggle-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",required:"required",checked:"checked",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},outputs:{change:"change",toggleChange:"toggleChange",dragChange:"dragChange"},exportAs:["matSlideToggle"],features:[o["ɵɵProvidersFeature"]([y]),o["ɵɵInheritDefinitionFeature"]],ngContentSelectors:g,decls:16,vars:18,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],["thumbContainer",""],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(t,e){if(1&t&&(o["ɵɵprojectionDef"](),o["ɵɵelementStart"](0,"label",0,1),o["ɵɵelementStart"](2,"div",2,3),o["ɵɵelementStart"](4,"input",4,5),o["ɵɵlistener"]("change",function(t){return e._onChangeEvent(t)})("click",function(t){return e._onInputClick(t)}),o["ɵɵelementEnd"](),o["ɵɵelementStart"](6,"div",6,7),o["ɵɵelement"](8,"div",8),o["ɵɵelementStart"](9,"div",9),o["ɵɵelement"](10,"div",10),o["ɵɵelementEnd"](),o["ɵɵelementEnd"](),o["ɵɵelementEnd"](),o["ɵɵelementStart"](11,"span",11,12),o["ɵɵlistener"]("cdkObserveContent",function(){return e._onLabelTextChange()}),o["ɵɵelementStart"](13,"span",13),o["ɵɵtext"](14," "),o["ɵɵelementEnd"](),o["ɵɵprojection"](15),o["ɵɵelementEnd"](),o["ɵɵelementEnd"]()),2&t){var n=o["ɵɵreference"](1),i=o["ɵɵreference"](12);o["ɵɵattribute"]("for",e.inputId),o["ɵɵadvance"](2),o["ɵɵclassProp"]("mat-slide-toggle-bar-no-side-margin",!i.textContent||!i.textContent.trim()),o["ɵɵadvance"](2),o["ɵɵproperty"]("id",e.inputId)("required",e.required)("tabIndex",e.tabIndex)("checked",e.checked)("disabled",e.disabled),o["ɵɵattribute"]("name",e.name)("aria-checked",e.checked.toString())("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby),o["ɵɵadvance"](5),o["ɵɵproperty"]("matRippleTrigger",n)("matRippleDisabled",e.disableRipple||e.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",o["ɵɵpureFunction0"](17,f))}},directives:[r.MatRipple,i.a],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),e}(Object(r.mixinTabIndex)(Object(r.mixinColor)(Object(r.mixinDisableRipple)(Object(r.mixinDisabled)(function(t){this._elementRef=t})),"accent"))),x={provide:u.NG_VALIDATORS,useExisting:Object(o.forwardRef)(function(){return w}),multi:!0},w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Object(a.c)(e,t),e.ɵfac=function(t){return n(t||e)},e.ɵdir=o["ɵɵdefineDirective"]({type:e,selectors:[["mat-slide-toggle","required","","formControlName",""],["mat-slide-toggle","required","","formControl",""],["mat-slide-toggle","required","","ngModel",""]],features:[o["ɵɵProvidersFeature"]([x]),o["ɵɵInheritDefinitionFeature"]]});var n=o["ɵɵgetInheritedFactory"](e);return e}(u.CheckboxRequiredValidator),S=function(){function t(){}return t.ɵmod=o["ɵɵdefineNgModule"]({type:t}),t.ɵinj=o["ɵɵdefineInjector"]({factory:function(e){return new(e||t)}}),("undefined"==typeof ngJitMode||ngJitMode)&&o["ɵɵsetNgModuleScope"](t,{declarations:[w],exports:[w]}),t}(),P=function(){function t(){}return t.ɵmod=o["ɵɵdefineNgModule"]({type:t}),t.ɵinj=o["ɵɵdefineInjector"]({factory:function(e){return new(e||t)},imports:[[S,r.MatRippleModule,r.MatCommonModule,i.c],S,r.MatCommonModule]}),("undefined"==typeof ngJitMode||ngJitMode)&&o["ɵɵsetNgModuleScope"](t,{declarations:function(){return[C]},imports:function(){return[S,r.MatRippleModule,r.MatCommonModule,i.c]},exports:function(){return[S,C,r.MatCommonModule]}}),t}()},1867:function(t,e,n){var i={"./af":1713,"./af.js":1713,"./ar":1714,"./ar-dz":1715,"./ar-dz.js":1715,"./ar-kw":1716,"./ar-kw.js":1716,"./ar-ly":1717,"./ar-ly.js":1717,"./ar-ma":1718,"./ar-ma.js":1718,"./ar-sa":1719,"./ar-sa.js":1719,"./ar-tn":1720,"./ar-tn.js":1720,"./ar.js":1714,"./az":1721,"./az.js":1721,"./be":1722,"./be.js":1722,"./bg":1723,"./bg.js":1723,"./bm":1724,"./bm.js":1724,"./bn":1725,"./bn.js":1725,"./bo":1726,"./bo.js":1726,"./br":1727,"./br.js":1727,"./bs":1728,"./bs.js":1728,"./ca":1729,"./ca.js":1729,"./cs":1730,"./cs.js":1730,"./cv":1731,"./cv.js":1731,"./cy":1732,"./cy.js":1732,"./da":1733,"./da.js":1733,"./de":1734,"./de-at":1735,"./de-at.js":1735,"./de-ch":1736,"./de-ch.js":1736,"./de.js":1734,"./dv":1737,"./dv.js":1737,"./el":1738,"./el.js":1738,"./en-au":1739,"./en-au.js":1739,"./en-ca":1740,"./en-ca.js":1740,"./en-gb":1741,"./en-gb.js":1741,"./en-ie":1742,"./en-ie.js":1742,"./en-il":1743,"./en-il.js":1743,"./en-in":1744,"./en-in.js":1744,"./en-nz":1745,"./en-nz.js":1745,"./en-sg":1746,"./en-sg.js":1746,"./eo":1747,"./eo.js":1747,"./es":1748,"./es-do":1749,"./es-do.js":1749,"./es-us":1750,"./es-us.js":1750,"./es.js":1748,"./et":1751,"./et.js":1751,"./eu":1752,"./eu.js":1752,"./fa":1753,"./fa.js":1753,"./fi":1754,"./fi.js":1754,"./fil":1755,"./fil.js":1755,"./fo":1756,"./fo.js":1756,"./fr":1757,"./fr-ca":1758,"./fr-ca.js":1758,"./fr-ch":1759,"./fr-ch.js":1759,"./fr.js":1757,"./fy":1760,"./fy.js":1760,"./ga":1761,"./ga.js":1761,"./gd":1762,"./gd.js":1762,"./gl":1763,"./gl.js":1763,"./gom-deva":1764,"./gom-deva.js":1764,"./gom-latn":1765,"./gom-latn.js":1765,"./gu":1766,"./gu.js":1766,"./he":1767,"./he.js":1767,"./hi":1768,"./hi.js":1768,"./hr":1769,"./hr.js":1769,"./hu":1770,"./hu.js":1770,"./hy-am":1771,"./hy-am.js":1771,"./id":1772,"./id.js":1772,"./is":1773,"./is.js":1773,"./it":1774,"./it-ch":1775,"./it-ch.js":1775,"./it.js":1774,"./ja":1776,"./ja.js":1776,"./jv":1777,"./jv.js":1777,"./ka":1778,"./ka.js":1778,"./kk":1779,"./kk.js":1779,"./km":1780,"./km.js":1780,"./kn":1781,"./kn.js":1781,"./ko":1782,"./ko.js":1782,"./ku":1783,"./ku.js":1783,"./ky":1784,"./ky.js":1784,"./lb":1785,"./lb.js":1785,"./lo":1786,"./lo.js":1786,"./lt":1787,"./lt.js":1787,"./lv":1788,"./lv.js":1788,"./me":1789,"./me.js":1789,"./mi":1790,"./mi.js":1790,"./mk":1791,"./mk.js":1791,"./ml":1792,"./ml.js":1792,"./mn":1793,"./mn.js":1793,"./mr":1794,"./mr.js":1794,"./ms":1795,"./ms-my":1796,"./ms-my.js":1796,"./ms.js":1795,"./mt":1797,"./mt.js":1797,"./my":1798,"./my.js":1798,"./nb":1799,"./nb.js":1799,"./ne":1800,"./ne.js":1800,"./nl":1801,"./nl-be":1802,"./nl-be.js":1802,"./nl.js":1801,"./nn":1803,"./nn.js":1803,"./oc-lnc":1804,"./oc-lnc.js":1804,"./pa-in":1805,"./pa-in.js":1805,"./pl":1806,"./pl.js":1806,"./pt":1807,"./pt-br":1808,"./pt-br.js":1808,"./pt.js":1807,"./ro":1809,"./ro.js":1809,"./ru":1810,"./ru.js":1810,"./sd":1811,"./sd.js":1811,"./se":1812,"./se.js":1812,"./si":1813,"./si.js":1813,"./sk":1814,"./sk.js":1814,"./sl":1815,"./sl.js":1815,"./sq":1816,"./sq.js":1816,"./sr":1817,"./sr-cyrl":1818,"./sr-cyrl.js":1818,"./sr.js":1817,"./ss":1819,"./ss.js":1819,"./sv":1820,"./sv.js":1820,"./sw":1821,"./sw.js":1821,"./ta":1822,"./ta.js":1822,"./te":1823,"./te.js":1823,"./tet":1824,"./tet.js":1824,"./tg":1825,"./tg.js":1825,"./th":1826,"./th.js":1826,"./tk":1827,"./tk.js":1827,"./tl-ph":1828,"./tl-ph.js":1828,"./tlh":1829,"./tlh.js":1829,"./tr":1830,"./tr.js":1830,"./tzl":1831,"./tzl.js":1831,"./tzm":1832,"./tzm-latn":1833,"./tzm-latn.js":1833,"./tzm.js":1832,"./ug-cn":1834,"./ug-cn.js":1834,"./uk":1835,"./uk.js":1835,"./ur":1836,"./ur.js":1836,"./uz":1837,"./uz-latn":1838,"./uz-latn.js":1838,"./uz.js":1837,"./vi":1839,"./vi.js":1839,"./x-pseudo":1840,"./x-pseudo.js":1840,"./yo":1841,"./yo.js":1841,"./zh-cn":1842,"./zh-cn.js":1842,"./zh-hk":1843,"./zh-hk.js":1843,"./zh-mo":1844,"./zh-mo.js":1844,"./zh-tw":1845,"./zh-tw.js":1845};function o(t){var e=r(t);return n(e)}function r(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}o.keys=function(){return Object.keys(i)},o.resolve=r,t.exports=o,o.id=1867},1869:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.M6="M6",t.VLX="VLX"}(e.DatasetDeviceInfo||(e.DatasetDeviceInfo={}))},1870:function(t,e,n){"use strict";(function(t){var i=this&&this.__awaiter||function(t,e,n,i){return new(n||(n=Promise))(function(o,r){function a(t){try{l(i.next(t))}catch(t){r(t)}}function s(t){try{l(i.throw(t))}catch(t){r(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(a,s)}l((i=i.apply(t,e||[])).next())})},o=this&&this.__generator||function(t,e){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(6===r[0]&&a.label<o[1]){a.label=o[1],o=r;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(r);break}o[2]&&a.ops.pop(),a.trys.pop();continue}r=e.call(t,a)}catch(t){r=[6,t],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}},r=this&&this.__spreadArrays||function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),o=0;for(e=0;e<n;e++)for(var r=arguments[e],a=0,s=r.length;a<s;a++,o++)i[o]=r[a];return i};Object.defineProperty(e,"__esModule",{value:!0});var a=n(2),s=n(7),l=(n(72),n(36),n(1701),n(6)),c=n(0),u=n(1871),d=n(2056),p=n(1950),m=n(8),h=n(152),f=n(1850),g=(n(21),n(107)),v=n(2057),b=n(2058),y=n(2059),_=n(0),C=n(72),x=n(36),w=n(1701),S=n(21),P=function(){function e(t,e,n,i,o,r){var a=this;this.JWTTokenService=t,this.AuthenticationService=e,this.CloudStorageService=n,this.TrackingService=i,this.$timeout=o,this.gettextCatalog=r,this.allDatasetList=void 0,this.uploadQueue=[],this.completedList=[],this.failedList=[],this.inProgressDataset=void 0,this.uploadsCompletedCurrentSession=0,this.uploadsInitiatedCurrentSession=0,this.POLL_DELAY=2e3,this.submittedDatasetsList=[],this.resolves=new Map,this.rejects=new Map,this.globalMessageId=0,this.preventUnload=function(t){t.returnValue="",t.preventDefault()},this.AuthenticationService.onAuthenticationChanged.connect(function(){return a.resetService()})}return Object.defineProperty(e.prototype,"paused",{get:function(){var t;return(null===(t=this.inProgressDataset)||void 0===t?void 0:t.state)===u.DatasetUploadStatus.PAUSED},enumerable:!0,configurable:!0}),e.prototype.uploadDatasets=function(t){return i(this,void 0,void 0,function(){var e,n,i;return o(this,function(o){switch(o.label){case 0:return this.worker||(window.addEventListener("beforeunload",this.preventUnload),this.initWebWorker()),[4,this.CloudStorageService.fetchCredentials().catch(m.handleWarning)];case 1:return e=o.sent(),n=this.JWTTokenService.getJwtHeaderValue(),i=this.JWTTokenService.TOKEN_HEADER,this.submittedDatasetsList=this.submittedDatasetsList.concat(t),this.worker.postMessage({type:d.UploadWorkerMessageType.START_UPLOAD,datasets:s.map(t,function(t){return t.toWorkerEntity()}),baseUrl:h.getBaseUrl(),credentials:e,tokenHeader:i,jwtHeaderValue:n}),[2]}})})},e.prototype.fetchUploadedDatasetsFromServer=function(){return i(this,void 0,void 0,function(){var t,e,n,i=this;return o(this,function(o){switch(o.label){case 0:return[4,Promise.all([this.CloudStorageService.listUploadedDatasets(f.DatasetProcessingState.PROCESSED),this.CloudStorageService.listUploadedDatasets(f.DatasetProcessingState.UNPROCESSED)])];case 1:return t=o.sent(),e=t[0],n=t[1],this.completedList=this.updateDatasetsState(n,e),this.allDatasetList=this.getAllDatasets(),g.promiseFinally(this.CloudStorageService.enrichDatasetsWithQualityMapInfo(this.allDatasetList,f.DatasetProcessingState.UNPROCESSED),function(){i.allDatasetList=r(i.allDatasetList),i.clearTimeout(),i.datasetListingTimeout=i.$timeout(function(){i.datasetListingTimeout=void 0,i.fetchUploadedDatasetsFromServer().catch(m.handleWarning)},i.POLL_DELAY)}).catch(m.handleWarning),[2]}})})},e.prototype.clearTimeout=function(){this.datasetListingTimeout&&(this.$timeout.cancel(this.datasetListingTimeout),this.datasetListingTimeout=void 0)},e.prototype.pause=function(){var t=this,e=this.globalMessageId++;return new Promise(function(n,i){t.resolves.set(e,n),t.rejects.set(e,i),t.worker.postMessage({type:d.UploadWorkerMessageType.PAUSE,id:e})})},e.prototype.resume=function(){var t=this,e=this.globalMessageId++;return new Promise(function(n,i){t.resolves.set(e,n),t.rejects.set(e,i),t.worker.postMessage({type:d.UploadWorkerMessageType.RESUME,id:e})})},e.prototype.cancel=function(){this.worker.postMessage({type:d.UploadWorkerMessageType.CANCEL})},e.prototype.initWebWorker=function(){var e=this;this.worker||(this.worker=new Worker(t,{name:"CloudUpload",type:void 0}),this.worker.onmessage=function(t){return e.respondToMessage(t)},this.worker.onerror=function(t){return e.respondToError(t.message)})},e.prototype.respondToMessage=function(t){if(t.data.type){switch(t.data.type){case d.UploadWorkerMessageType.CANCELLED:case d.UploadWorkerMessageType.ALL_COMPLETED:this.uploadCompleted();break;case d.UploadWorkerMessageType.PROGRESS:this.progressCallback(t.data.progress,t.data.timeRemaining,t.data.speed);break;case d.UploadWorkerMessageType.DATASET_STATUS_UPDATE:var e=t.data,n=this.findDatasetObject(e);this.datasetStateUpdate(n,e);break;case d.UploadWorkerMessageType.ERROR:var i=t.data;this.respondToError(i.message);break;case d.UploadWorkerMessageType.PAUSED:this.inProgressDataset.state=u.DatasetUploadStatus.PAUSED,this.submittedDatasetsList.forEach(function(t){t.state===u.DatasetUploadStatus.QUEUED&&(t.state=u.DatasetUploadStatus.PAUSED)}),this.resolveOp(t.data.id);break;case d.UploadWorkerMessageType.RESUMED:this.submittedDatasetsList.forEach(function(t){t.state===u.DatasetUploadStatus.PAUSED&&(t.state=u.DatasetUploadStatus.QUEUED)}),this.inProgressDataset.state=u.DatasetUploadStatus.INPROGRESS,this.resolveOp(t.data.id);break;case d.UploadWorkerMessageType.OPERATION_ERROR:this.rejectOp(t.data.id,t.data.reason)}this.allDatasetList=this.getAllDatasets()}},e.prototype.resolveOp=function(t){var e=this.resolves.get(t);this.resolves.delete(t),this.rejects.delete(t),e()},e.prototype.rejectOp=function(t,e){var n=this.rejects.get(t);this.resolves.delete(t),this.rejects.delete(t),n(e)},e.prototype.respondToError=function(t){if(this.inProgressDataset&&(this.inProgressDataset.state=u.DatasetUploadStatus.FAILED,this.failedList.push(this.inProgressDataset)),t.startsWith("Error reading file.")){var e=this.gettextCatalog.getString("Error While Reading Files in the Directory");this.errorCallback(t,e)}},e.prototype.datasetStateUpdate=function(t,e){if(t)switch(t.state=e.status,e.status){case u.DatasetUploadStatus.QUEUED:this.uploadQueue.push(t),this.uploadsInitiatedCurrentSession+=1;break;case u.DatasetUploadStatus.INPROGRESS:this.startUploadTime=Date.now(),this.uploadQueue.shift(),this.inProgressDataset=t,this.trackUploadStartedEvent(t);break;case u.DatasetUploadStatus.UNPROCESSED:this.uploadsCompletedCurrentSession+=1,this.completedList.push(t),this.trackUploadFinishedEvent(t);break;case u.DatasetUploadStatus.FAILED:this.failedList.push(t),this.inProgressDataset=void 0,this.trackUploadFailedEvent(t)}},e.prototype.trackUploadStartedEvent=function(t){var e=this.getDatasetSizeInMegaBytes(t),n=new v.CloudProcessingDatasetUploadStartEvent(t.name,e);this.TrackingService.trackPreDefinedEvent(n)},e.prototype.trackUploadFinishedEvent=function(t){var e=this.getDatasetSizeInMegaBytes(t),n=this.getEffectiveDatasetUploadTimeInEpoch(),i=new b.CloudProcessingDatasetUploadCompleteEvent(t.name,e,n);this.TrackingService.trackPreDefinedEvent(i)},e.prototype.trackUploadFailedEvent=function(t){var e=this.getDatasetSizeInMegaBytes(t),n=this.getEffectiveDatasetUploadTimeInEpoch(),i=new y.CloudProcessingDatasetUploadFailureEvent(t.name,e,n);this.TrackingService.trackPreDefinedEvent(i)},e.prototype.getDatasetSizeInMegaBytes=function(t){return t.totalSize/1024/1024},e.prototype.getEffectiveDatasetUploadTimeInEpoch=function(){return(Date.now()-this.startUploadTime)/1e3},e.prototype.findDatasetObject=function(t){return this.submittedDatasetsList.find(function(e){return t.datasetName===e.name&&t.datasetDirectoryName===e.getDirectoryName()})},e.prototype.uploadCompleted=function(){this.resetUploadStateVariables(),this.worker&&this.worker.terminate(),this.worker=void 0,this.resolves.forEach(function(t){return t()}),this.resolves.clear(),this.rejects.clear(),this.globalMessageId=0},e.prototype.resetService=function(){this.cancel(),this.completedList=[],this.progressCallback=void 0,this.resetUploadStateVariables(),this.clearTimeout()},e.prototype.resetUploadStateVariables=function(){window.removeEventListener("beforeunload",this.preventUnload),this.inProgressDataset=void 0,this.submittedDatasetsList=[],this.uploadQueue=[],this.failedList=[],this.uploadsCompletedCurrentSession=0,this.uploadsInitiatedCurrentSession=0},e.prototype.updateDatasetsState=function(t,e){return t.forEach(function(t){e.find(function(e){return e.name===t.name})&&t instanceof f.RecordedDataset&&(t.state=f.DatasetProcessingState.PROCESSED)}),t},e.prototype.getAllDatasets=function(){var t=this,e=[];this.inProgressDataset&&e.push(this.inProgressDataset);var n=e.concat(this.uploadQueue).map(function(t){return t.getDirectoryName()}),i=this.completedList.filter(function(t){return!n.includes(t.getDirectoryName())});if(e=e.concat(this.uploadQueue).concat(i).concat(this.failedList),!this.allDatasetList||0===this.allDatasetList.length)return e;var o=[];return e.forEach(function(e){var n=t.allDatasetList?t.allDatasetList.findIndex(function(t){return t&&e&&t.getDirectoryName()===e.getDirectoryName()}):-1;if(n>=0){var i=t.allDatasetList[n];i instanceof p.UploadableDataset?e instanceof f.RecordedDataset?o.push(e):o.push(i):o.push(i.fill(e))}else o.push(e)}),o},e.ɵfac=function(t){return new(t||e)(_.ɵɵinject(C.JWTTokenService),_.ɵɵinject(x.AuthenticationService),_.ɵɵinject(w.CloudStorageService),_.ɵɵinject(S.TrackingService),_.ɵɵinject("$timeout"),_.ɵɵinject("gettextCatalog"))},e.ɵprov=_.ɵɵdefineInjectable({token:e,factory:e.ɵfac,providedIn:"root"}),e}();e.DatasetUploadService=P,_.ɵsetClassMetadata(P,[{type:c.Injectable,args:[{providedIn:"root"}]}],function(){return[{type:C.JWTTokenService},{type:x.AuthenticationService},{type:w.CloudStorageService},{type:S.TrackingService},{type:void 0,decorators:[{type:c.Inject,args:["$timeout"]}]},{type:void 0,decorators:[{type:c.Inject,args:["gettextCatalog"]}]}]},null),a.module("IVWebApp").service("DatasetUploadService",l.downgradeInjectable(P))}).call(this,n(2055))},1871:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.EXISTS="EXISTS",t.QUEUED="QUEUED",t.INPROGRESS="UPLOADING",t.UNPROCESSED="UNPROCESSED",t.FAILED="FAILED",t.CANCELLED="CANCELLED",t.PAUSED="PAUSED"}(e.DatasetUploadStatus||(e.DatasetUploadStatus={}))},1872:function(t,e,n){"use strict";var i=this&&this.__awaiter||function(t,e,n,i){return new(n||(n=Promise))(function(o,r){function a(t){try{l(i.next(t))}catch(t){r(t)}}function s(t){try{l(i.throw(t))}catch(t){r(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(a,s)}l((i=i.apply(t,e||[])).next())})},o=this&&this.__generator||function(t,e){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(6===r[0]&&a.label<o[1]){a.label=o[1],o=r;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(r);break}o[2]&&a.ops.pop(),a.trys.pop();continue}r=e.call(t,a)}catch(t){r=[6,t],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}};Object.defineProperty(e,"__esModule",{value:!0}),n(9);var r=n(0),a=n(1851),s=n(2),l=n(6),c=n(2060),u=n(0),d=n(9),p=function(){function t(t){this.RestService=t}return t.prototype.createProcessingTask=function(e){return i(this,void 0,void 0,function(){return o(this,function(n){switch(n.label){case 0:return[4,this.RestService.postApi(t.taskEndpoint,e.toData())];case 1:return n.sent(),[2]}})})},t.prototype.findAll=function(){return i(this,void 0,void 0,function(){return o(this,function(e){switch(e.label){case 0:return[4,this.RestService.getApi(t.taskEndpoint,void 0)];case 1:return[2,e.sent().map(function(t){var e=new c.ProcessingTaskResult;return e.fillFromData(t),e})]}})})},t.prototype.stopTask=function(e){return e.state=a.ProcessingTaskStatus.STOPPING,this.RestService.putApi(t.taskEndpoint+e.taskId,e.toData())},t.prototype.downloadLogs=function(e,n){return this.RestService.directDownload(t.taskLogEndpoint+e,{},n,!0)},t.taskEndpoint="processing_tasks/",t.taskLogEndpoint=t.taskEndpoint+"log/",t.ɵfac=function(e){return new(e||t)(u.ɵɵinject(d.RestService))},t.ɵprov=u.ɵɵdefineInjectable({token:t,factory:t.ɵfac,providedIn:"root"}),t}();e.ProcessingTaskService=p,u.ɵsetClassMetadata(p,[{type:r.Injectable,args:[{providedIn:"root"}]}],function(){return[{type:d.RestService}]},null),s.module("IVWebApp").service("ProcessingTaskService",l.downgradeInjectable(p))},1873:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(1846),r=n(0),a=n(1951),s=function(){function t(t){this.value=t}return t.ɵfac=function(e){return new(e||t)(r.ɵɵdirectiveInject(o.CELL_VALUE_TOKEN))},t.ɵcmp=r.ɵɵdefineComponent({type:t,selectors:[["cell-image-preview"]],decls:1,vars:4,consts:[[3,"url","thumbnailUrl","name","viewMode"]],template:function(t,e){1&t&&r.ɵɵelement(0,"quality-map-preview",0),2&t&&r.ɵɵproperty("url",e.value.url)("thumbnailUrl",e.value.thumbnailUrl)("name",e.value.name)("viewMode",e.value.viewMode)},directives:[a.QualityMapPreviewComponent],encapsulation:2}),t}();e.ImagePreviewCellComponent=s,r.ɵsetClassMetadata(s,[{type:i.Component,args:[{selector:"cell-image-preview",templateUrl:"./ImagePreviewCell.ng.html"}]}],function(){return[{type:void 0,decorators:[{type:i.Inject,args:[o.CELL_VALUE_TOKEN]}]}]},null)},1874:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(2061),r=n(0),a=n(1705),s=["zoomWrapper"],l=["*"],c=function(){function t(){this.isEnabled=!0,this.panZoomOptions={bounds:!1,minZoom:.9,maxZoom:5,onTouch:function(){return!1}}}return Object.defineProperty(t.prototype,"enabled",{set:function(t){this.isEnabled=t,this.panZoomObject&&(t?this.panZoomObject.resume():this.panZoomObject.pause())},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewInit=function(){this.panZoomObject=t.createPanZoom(this.zoomWrapper.nativeElement,this.panZoomOptions),this.isEnabled||this.panZoomObject.pause()},t.prototype.zoom=function(e){if(!this.panZoomObject.isPaused()){var n=1+(e?1:-1)*t.ZOOM_MULTIPLIER_FACTOR_DELTA,i=this.zoomWrapper.nativeElement;this.panZoomObject.zoomTo(i.clientHeight/2,i.clientWidth/2,n)}},t.prototype.resetZoom=function(){this.panZoomObject&&(this.panZoomObject.moveTo(0,0),this.panZoomObject.zoomAbs(0,0,1))},t.createPanZoom=function(t,e){return o(t,e)},t.ZOOM_MULTIPLIER_FACTOR_DELTA=.3,t.ɵfac=function(e){return new(e||t)},t.ɵcmp=r.ɵɵdefineComponent({type:t,selectors:[["zoomable"]],viewQuery:function(t,e){var n;1&t&&r.ɵɵviewQuery(s,!0),2&t&&r.ɵɵqueryRefresh(n=r.ɵɵloadQuery())&&(e.zoomWrapper=n.first)},inputs:{enabled:"enabled"},ngContentSelectors:l,decls:4,vars:0,consts:[[1,"z-index-2","border-radius","margin-right","margin-top",3,"zoomIn","zoomOut"],[1,"zoom-wrapper"],["zoomWrapper",""]],template:function(t,e){1&t&&(r.ɵɵprojectionDef(),r.ɵɵelementStart(0,"zoom-control",0),r.ɵɵlistener("zoomIn",function(){return e.zoom(!0)})("zoomOut",function(){return e.zoom(!1)}),r.ɵɵelementEnd(),r.ɵɵelementStart(1,"div",1,2),r.ɵɵprojection(3),r.ɵɵelementEnd())},directives:[a.ZoomControlComponent],styles:["[_nghost-%COMP%]{display:flex;align-items:stretch;overflow:hidden;outline:none;flex-flow:row-reverse wrap}.zoom-wrapper[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:center;align-items:center}zoom-control[_ngcontent-%COMP%]{align-self:start}"]}),t}();e.ZoomableComponent=c,r.ɵsetClassMetadata(c,[{type:i.Component,args:[{selector:"zoomable",templateUrl:"Zoomable.ng.html",styleUrls:["Zoomable.ng.scss"]}]}],null,{enabled:[{type:i.Input}],zoomWrapper:[{type:i.ViewChild,args:["zoomWrapper",{static:!1}]}]})},1875:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(1846),r=n(0),a=function(){function t(t){this.value=t}return t.ɵfac=function(e){return new(e||t)(r.ɵɵdirectiveInject(o.CELL_VALUE_TOKEN))},t.ɵcmp=r.ɵɵdefineComponent({type:t,selectors:[["cell-subscript"]],decls:4,vars:2,consts:[[1,"cell-text"],[1,"cell-subscript"]],template:function(t,e){1&t&&(r.ɵɵelementStart(0,"p",0),r.ɵɵtext(1),r.ɵɵelementEnd(),r.ɵɵelementStart(2,"p",1),r.ɵɵtext(3),r.ɵɵelementEnd()),2&t&&(r.ɵɵadvance(1),r.ɵɵtextInterpolate(e.value.text),r.ɵɵadvance(2),r.ɵɵtextInterpolate(e.value.subscript))},styles:[".cell-text[_ngcontent-%COMP%]{font-weight:600;font-size:16px;margin-bottom:4px}.cell-subscript[_ngcontent-%COMP%]{font-weight:400;font-size:11px;margin:0}"]}),t}();e.SubscriptCellComponent=a,r.ɵsetClassMetadata(a,[{type:i.Component,args:[{selector:"cell-subscript",templateUrl:"./SubscriptCell.ng.html",styleUrls:["./SubscriptCell.ng.scss"]}]}],function(){return[{type:void 0,decorators:[{type:i.Inject,args:[o.CELL_VALUE_TOKEN]}]}]},null)},1876:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(0),r=n(3),a=n(1692);function s(t,e){if(1&t&&(o.ɵɵelementStart(0,"span",1),o.ɵɵelement(1,"img",2),o.ɵɵelementEnd()),2&t){var n=o.ɵɵnextContext();o.ɵɵadvance(1),o.ɵɵproperty("src",n.spinnerIconUrl,o.ɵɵsanitizeUrl)}}var l=function(){function t(){this.spinnerIconUrl=n(94)}return t.prototype.isSpinnerShown=function(){return this.tasks.some(function(t){return t&&!t.isComplete()})},t.ɵfac=function(e){return new(e||t)},t.ɵcmp=o.ɵɵdefineComponent({type:t,selectors:[["progress-indicator"]],inputs:{tasks:"tasks"},decls:1,vars:1,consts:[["class","spinner-container",4,"ngIf"],[1,"spinner-container"],[1,"spinner",3,"src"]],template:function(t,e){1&t&&o.ɵɵtemplate(0,s,2,1,"span",0),2&t&&o.ɵɵproperty("ngIf",e.isSpinnerShown())},directives:[r.NgIf,a.AddBaseUrlDirective],styles:[".spinner-container[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;z-index:1000}.spinner[_ngcontent-%COMP%]{position:relative;left:-50%}"]}),t}();e.ProgressIndicatorComponent=l,o.ɵsetClassMetadata(l,[{type:i.Component,args:[{selector:"progress-indicator",templateUrl:"./ProgressIndicator.ng.html",styleUrls:["./ProgressIndicator.ng.scss"]}]}],null,{tasks:[{type:i.Input}]})},1877:function(t,e,n){"use strict";n.r(e),n.d(e,"MAT_CHIPS_DEFAULT_OPTIONS",function(){return k}),n.d(e,"MatChip",function(){return O}),n.d(e,"MatChipAvatar",function(){return S}),n.d(e,"MatChipInput",function(){return j}),n.d(e,"MatChipList",function(){return T}),n.d(e,"MatChipListChange",function(){return D}),n.d(e,"MatChipRemove",function(){return M}),n.d(e,"MatChipSelectionChange",function(){return x}),n.d(e,"MatChipTrailingIcon",function(){return P}),n.d(e,"MatChipsModule",function(){return F}),n.d(e,"ɵ0",function(){return A});var i=n(60),o=n(0),r=n(47),a=n(1),s=n(3),l=n(23),c=n(13),u=n(32),d=n(279),p=n(221),m=n(341),h=n(438),f=n(95),g=n(63),v=n(37),b=n(343),y=n(624),_=n(1698),C=["*"],x=function(t,e,n){void 0===n&&(n=!1),this.source=t,this.selected=e,this.isUserInput=n},w=Object(r.mixinTabIndex)(Object(r.mixinColor)(Object(r.mixinDisableRipple)(Object(r.mixinDisabled)(function(t){this._elementRef=t})),"primary"),-1),S=function(){function t(){}return t.ɵfac=function(e){return new(e||t)},t.ɵdir=o["ɵɵdefineDirective"]({type:t,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:[1,"mat-chip-avatar"]}),t}(),P=function(){function t(){}return t.ɵfac=function(e){return new(e||t)},t.ɵdir=o["ɵɵdefineDirective"]({type:t,selectors:[["mat-chip-trailing-icon"],["","matChipTrailingIcon",""]],hostAttrs:[1,"mat-chip-trailing-icon"]}),t}(),O=function(t){function e(e,n,i,a,s,l,c,d){var p=t.call(this,e)||this;return p._elementRef=e,p._ngZone=n,p._changeDetectorRef=l,p._hasFocus=!1,p.chipListSelectable=!0,p._chipListMultiple=!1,p._selected=!1,p._selectable=!0,p._removable=!0,p._onFocus=new u.a,p._onBlur=new u.a,p.selectionChange=new o.EventEmitter,p.destroyed=new o.EventEmitter,p.removed=new o.EventEmitter,p._addHostClassName(),p._chipRippleTarget=(d||document).createElement("div"),p._chipRippleTarget.classList.add("mat-chip-ripple"),p._elementRef.nativeElement.appendChild(p._chipRippleTarget),p._chipRipple=new r.RippleRenderer(p,n,p._chipRippleTarget,i),p._chipRipple.setupTriggerEvents(e),p.rippleConfig=a||{},p._animationsDisabled="NoopAnimations"===s,p.tabIndex=null!=c&&parseInt(c)||-1,p}return Object(a.c)(e,t),Object.defineProperty(e.prototype,"rippleDisabled",{get:function(){return this.disabled||this.disableRipple||!!this.rippleConfig.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selected",{get:function(){return this._selected},set:function(t){var e=Object(l.c)(t);e!==this._selected&&(this._selected=e,this._dispatchSelectionChange())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent},set:function(t){this._value=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectable",{get:function(){return this._selectable&&this.chipListSelectable},set:function(t){this._selectable=Object(l.c)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"removable",{get:function(){return this._removable},set:function(t){this._removable=Object(l.c)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ariaSelected",{get:function(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null},enumerable:!0,configurable:!0}),e.prototype._addHostClassName=function(){var t=this._elementRef.nativeElement;t.hasAttribute("mat-basic-chip")||"mat-basic-chip"===t.tagName.toLowerCase()?t.classList.add("mat-basic-chip"):t.classList.add("mat-standard-chip")},e.prototype.ngOnDestroy=function(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()},e.prototype.select=function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._markForCheck())},e.prototype.deselect=function(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._markForCheck())},e.prototype.selectViaInteraction=function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._markForCheck())},e.prototype.toggleSelected=function(t){return void 0===t&&(t=!1),this._selected=!this.selected,this._dispatchSelectionChange(t),this._markForCheck(),this.selected},e.prototype.focus=function(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0},e.prototype.remove=function(){this.removable&&this.removed.emit({chip:this})},e.prototype._handleClick=function(t){this.disabled?t.preventDefault():t.stopPropagation()},e.prototype._handleKeydown=function(t){if(!this.disabled)switch(t.keyCode){case i.DELETE:case i.BACKSPACE:this.remove(),t.preventDefault();break;case i.SPACE:this.selectable&&this.toggleSelected(!0),t.preventDefault()}},e.prototype._blur=function(){var t=this;this._ngZone.onStable.asObservable().pipe(Object(p.a)(1)).subscribe(function(){t._ngZone.run(function(){t._hasFocus=!1,t._onBlur.next({chip:t})})})},e.prototype._dispatchSelectionChange=function(t){void 0===t&&(t=!1),this.selectionChange.emit({source:this,isUserInput:t,selected:this._selected})},e.prototype._markForCheck=function(){this._changeDetectorRef&&this._changeDetectorRef.markForCheck()},e.ctorParameters=function(){return[{type:o.ElementRef},{type:o.NgZone},{type:c.a},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[r.MAT_RIPPLE_GLOBAL_OPTIONS]}]},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[f.ANIMATION_MODULE_TYPE]}]},{type:o.ChangeDetectorRef},{type:String,decorators:[{type:o.Attribute,args:["tabindex"]}]},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[s.DOCUMENT]}]}]},e.propDecorators={avatar:[{type:o.ContentChild,args:[S]}],trailingIcon:[{type:o.ContentChild,args:[P]}],removeIcon:[{type:o.ContentChild,args:[Object(o.forwardRef)(function(){return M})]}],selected:[{type:o.Input}],value:[{type:o.Input}],selectable:[{type:o.Input}],removable:[{type:o.Input}],selectionChange:[{type:o.Output}],destroyed:[{type:o.Output}],removed:[{type:o.Output}]},e.ɵfac=function(t){return new(t||e)(o["ɵɵdirectiveInject"](o.ElementRef),o["ɵɵdirectiveInject"](o.NgZone),o["ɵɵdirectiveInject"](c.a),o["ɵɵdirectiveInject"](r.MAT_RIPPLE_GLOBAL_OPTIONS,8),o["ɵɵdirectiveInject"](f.ANIMATION_MODULE_TYPE,8),o["ɵɵdirectiveInject"](o.ChangeDetectorRef),o["ɵɵinjectAttribute"]("tabindex"),o["ɵɵdirectiveInject"](s.DOCUMENT,8))},e.ɵdir=o["ɵɵdefineDirective"]({type:e,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,e,n){var i;1&t&&(o["ɵɵcontentQuery"](n,S,!0),o["ɵɵcontentQuery"](n,P,!0),o["ɵɵcontentQuery"](n,M,!0)),2&t&&(o["ɵɵqueryRefresh"](i=o["ɵɵloadQuery"]())&&(e.avatar=i.first),o["ɵɵqueryRefresh"](i=o["ɵɵloadQuery"]())&&(e.trailingIcon=i.first),o["ɵɵqueryRefresh"](i=o["ɵɵloadQuery"]())&&(e.removeIcon=i.first))},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(t,e){1&t&&o["ɵɵlistener"]("click",function(t){return e._handleClick(t)})("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e.focus()})("blur",function(){return e._blur()}),2&t&&(o["ɵɵattribute"]("tabindex",e.disabled?null:e.tabIndex)("disabled",e.disabled||null)("aria-disabled",e.disabled.toString())("aria-selected",e.ariaSelected),o["ɵɵclassProp"]("mat-chip-selected",e.selected)("mat-chip-with-avatar",e.avatar)("mat-chip-with-trailing-icon",e.trailingIcon||e.removeIcon)("mat-chip-disabled",e.disabled)("_mat-animation-noopable",e._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",selected:"selected",value:"value",selectable:"selectable",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[o["ɵɵInheritDefinitionFeature"]]}),e}(w),M=function(){function t(t,e){this._parentChip=t,e&&"BUTTON"===e.nativeElement.nodeName&&e.nativeElement.setAttribute("type","button")}return t.prototype._handleClick=function(t){var e=this._parentChip;e.removable&&!e.disabled&&e.remove(),t.stopPropagation()},t.ctorParameters=function(){return[{type:O},{type:o.ElementRef}]},t.ɵfac=function(e){return new(e||t)(o["ɵɵdirectiveInject"](O),o["ɵɵdirectiveInject"](o.ElementRef))},t.ɵdir=o["ɵɵdefineDirective"]({type:t,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(t,e){1&t&&o["ɵɵlistener"]("click",function(t){return e._handleClick(t)})}}),t}(),k=new o.InjectionToken("mat-chips-default-options"),E=Object(r.mixinErrorState)(function(t,e,n,i){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=i}),I=0,D=function(t,e){this.source=t,this.value=e},T=function(t){function e(e,n,i,r,a,s,l){var c=t.call(this,s,r,a,l)||this;return c._elementRef=e,c._changeDetectorRef=n,c._dir=i,c.ngControl=l,c.controlType="mat-chip-list",c._lastDestroyedChipIndex=null,c._destroyed=new u.a,c._uid="mat-chip-list-"+I++,c._tabIndex=0,c._userTabIndex=null,c._onTouched=function(){},c._onChange=function(){},c._multiple=!1,c._compareWith=function(t,e){return t===e},c._required=!1,c._disabled=!1,c.ariaOrientation="horizontal",c._selectable=!0,c.change=new o.EventEmitter,c.valueChange=new o.EventEmitter,c.ngControl&&(c.ngControl.valueAccessor=c),c}return Object(a.c)(e,t),Object.defineProperty(e.prototype,"selected",{get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"role",{get:function(){return this.empty?null:"listbox"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"multiple",{get:function(){return this._multiple},set:function(t){this._multiple=Object(l.c)(t),this._syncChipsState()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"compareWith",{get:function(){return this._compareWith},set:function(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this.writeValue(t),this._value=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._chipInput?this._chipInput.id:this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=Object(l.c)(t),this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"placeholder",{get:function(){return this._chipInput?this._chipInput.placeholder:this._placeholder},set:function(t){this._placeholder=t,this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"focused",{get:function(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"empty",{get:function(){return(!this._chipInput||this._chipInput.empty)&&0===this.chips.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shouldLabelFloat",{get:function(){return!this.empty||this.focused},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.ngControl?!!this.ngControl.disabled:this._disabled},set:function(t){this._disabled=Object(l.c)(t),this._syncChipsState()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectable",{get:function(){return this._selectable},set:function(t){var e=this;this._selectable=Object(l.c)(t),this.chips&&this.chips.forEach(function(t){return t.chipListSelectable=e._selectable})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabIndex",{set:function(t){this._userTabIndex=t,this._tabIndex=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"chipSelectionChanges",{get:function(){return d.a.apply(void 0,Object(a.h)(this.chips.map(function(t){return t.selectionChange})))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"chipFocusChanges",{get:function(){return d.a.apply(void 0,Object(a.h)(this.chips.map(function(t){return t._onFocus})))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"chipBlurChanges",{get:function(){return d.a.apply(void 0,Object(a.h)(this.chips.map(function(t){return t._onBlur})))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"chipRemoveChanges",{get:function(){return d.a.apply(void 0,Object(a.h)(this.chips.map(function(t){return t.destroyed})))},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){var t=this;this._keyManager=new g.g(this.chips).withWrap().withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(Object(m.a)(this._destroyed)).subscribe(function(e){return t._keyManager.withHorizontalOrientation(e)}),this._keyManager.tabOut.pipe(Object(m.a)(this._destroyed)).subscribe(function(){t._allowFocusEscape()}),this.chips.changes.pipe(Object(h.a)(null),Object(m.a)(this._destroyed)).subscribe(function(){t.disabled&&Promise.resolve().then(function(){t._syncChipsState()}),t._resetChips(),t._initializeSelection(),t._updateTabIndex(),t._updateFocusForDestroyedChips(),t.stateChanges.next()})},e.prototype.ngOnInit=function(){this._selectionModel=new b.c(this.multiple,void 0,!1),this.stateChanges.next()},e.prototype.ngDoCheck=function(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))},e.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()},e.prototype.registerInput=function(t){this._chipInput=t},e.prototype.setDescribedByIds=function(t){this._ariaDescribedby=t.join(" ")},e.prototype.writeValue=function(t){this.chips&&this._setSelectionByValue(t,!1)},e.prototype.registerOnChange=function(t){this._onChange=t},e.prototype.registerOnTouched=function(t){this._onTouched=t},e.prototype.setDisabledState=function(t){this.disabled=t,this.stateChanges.next()},e.prototype.onContainerClick=function(t){this._originatesFromChip(t)||this.focus()},e.prototype.focus=function(t){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(t),this.stateChanges.next()))},e.prototype._focusInput=function(t){this._chipInput&&this._chipInput.focus(t)},e.prototype._keydown=function(t){var e=t.target;t.keyCode===i.BACKSPACE&&this._isInputEmpty(e)?(this._keyManager.setLastItemActive(),t.preventDefault()):e&&e.classList.contains("mat-chip")&&(t.keyCode===i.HOME?(this._keyManager.setFirstItemActive(),t.preventDefault()):t.keyCode===i.END?(this._keyManager.setLastItemActive(),t.preventDefault()):this._keyManager.onKeydown(t),this.stateChanges.next())},e.prototype._updateTabIndex=function(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)},e.prototype._updateFocusForDestroyedChips=function(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){var t=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(t)}else this.focus();this._lastDestroyedChipIndex=null},e.prototype._isValidIndex=function(t){return t>=0&&t<this.chips.length},e.prototype._isInputEmpty=function(t){return!(!t||"input"!==t.nodeName.toLowerCase()||t.value)},e.prototype._setSelectionByValue=function(t,e){var n=this;if(void 0===e&&(e=!0),this._clearSelection(),this.chips.forEach(function(t){return t.deselect()}),Array.isArray(t))t.forEach(function(t){return n._selectValue(t,e)}),this._sortValues();else{var i=this._selectValue(t,e);i&&e&&this._keyManager.setActiveItem(i)}},e.prototype._selectValue=function(t,e){var n=this;void 0===e&&(e=!0);var i=this.chips.find(function(e){return null!=e.value&&n._compareWith(e.value,t)});return i&&(e?i.selectViaInteraction():i.select(),this._selectionModel.select(i)),i},e.prototype._initializeSelection=function(){var t=this;Promise.resolve().then(function(){(t.ngControl||t._value)&&(t._setSelectionByValue(t.ngControl?t.ngControl.value:t._value,!1),t.stateChanges.next())})},e.prototype._clearSelection=function(t){this._selectionModel.clear(),this.chips.forEach(function(e){e!==t&&e.deselect()}),this.stateChanges.next()},e.prototype._sortValues=function(){var t=this;this._multiple&&(this._selectionModel.clear(),this.chips.forEach(function(e){e.selected&&t._selectionModel.select(e)}),this.stateChanges.next())},e.prototype._propagateChanges=function(t){var e;e=Array.isArray(this.selected)?this.selected.map(function(t){return t.value}):this.selected?this.selected.value:t,this._value=e,this.change.emit(new D(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()},e.prototype._blur=function(){var t=this;this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(function(){t.focused||t._markAsTouched()}):this._markAsTouched())},e.prototype._markAsTouched=function(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()},e.prototype._allowFocusEscape=function(){var t=this;-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(function(){t._tabIndex=t._userTabIndex||0,t._changeDetectorRef.markForCheck()}))},e.prototype._resetChips=function(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()},e.prototype._dropSubscriptions=function(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)},e.prototype._listenToChipsSelection=function(){var t=this;this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(function(e){e.source.selected?t._selectionModel.select(e.source):t._selectionModel.deselect(e.source),t.multiple||t.chips.forEach(function(e){!t._selectionModel.isSelected(e)&&e.selected&&e.deselect()}),e.isUserInput&&t._propagateChanges()})},e.prototype._listenToChipsFocus=function(){var t=this;this._chipFocusSubscription=this.chipFocusChanges.subscribe(function(e){var n=t.chips.toArray().indexOf(e.chip);t._isValidIndex(n)&&t._keyManager.updateActiveItem(n),t.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(function(){t._blur(),t.stateChanges.next()})},e.prototype._listenToChipsRemoved=function(){var t=this;this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(function(e){var n=e.chip,i=t.chips.toArray().indexOf(e.chip);t._isValidIndex(i)&&n._hasFocus&&(t._lastDestroyedChipIndex=i)})},e.prototype._originatesFromChip=function(t){for(var e=t.target;e&&e!==this._elementRef.nativeElement;){if(e.classList.contains("mat-chip"))return!0;e=e.parentElement}return!1},e.prototype._hasFocusedChip=function(){return this.chips.some(function(t){return t._hasFocus})},e.prototype._syncChipsState=function(){var t=this;this.chips&&this.chips.forEach(function(e){e.disabled=t._disabled,e._chipListMultiple=t.multiple})},e.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:v.Directionality,decorators:[{type:o.Optional}]},{type:y.NgForm,decorators:[{type:o.Optional}]},{type:y.FormGroupDirective,decorators:[{type:o.Optional}]},{type:r.ErrorStateMatcher},{type:y.NgControl,decorators:[{type:o.Optional},{type:o.Self}]}]},e.propDecorators={errorStateMatcher:[{type:o.Input}],multiple:[{type:o.Input}],compareWith:[{type:o.Input}],value:[{type:o.Input}],required:[{type:o.Input}],placeholder:[{type:o.Input}],disabled:[{type:o.Input}],ariaOrientation:[{type:o.Input,args:["aria-orientation"]}],selectable:[{type:o.Input}],tabIndex:[{type:o.Input}],change:[{type:o.Output}],valueChange:[{type:o.Output}],chips:[{type:o.ContentChildren,args:[O,{descendants:!0}]}]},e.ɵfac=function(t){return new(t||e)(o["ɵɵdirectiveInject"](o.ElementRef),o["ɵɵdirectiveInject"](o.ChangeDetectorRef),o["ɵɵdirectiveInject"](v.Directionality,8),o["ɵɵdirectiveInject"](y.NgForm,8),o["ɵɵdirectiveInject"](y.FormGroupDirective,8),o["ɵɵdirectiveInject"](r.ErrorStateMatcher),o["ɵɵdirectiveInject"](y.NgControl,10))},e.ɵcmp=o["ɵɵdefineComponent"]({type:e,selectors:[["mat-chip-list"]],contentQueries:function(t,e,n){var i;1&t&&o["ɵɵcontentQuery"](n,O,!0),2&t&&o["ɵɵqueryRefresh"](i=o["ɵɵloadQuery"]())&&(e.chips=i)},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(t,e){1&t&&o["ɵɵlistener"]("focus",function(){return e.focus()})("blur",function(){return e._blur()})("keydown",function(t){return e._keydown(t)}),2&t&&(o["ɵɵhostProperty"]("id",e._uid),o["ɵɵattribute"]("tabindex",e.disabled?null:e._tabIndex)("aria-describedby",e._ariaDescribedby||null)("aria-required",e.role?e.required:null)("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-multiselectable",e.multiple)("role",e.role)("aria-orientation",e.ariaOrientation),o["ɵɵclassProp"]("mat-chip-list-disabled",e.disabled)("mat-chip-list-invalid",e.errorState)("mat-chip-list-required",e.required))},inputs:{multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",selectable:"selectable",tabIndex:"tabIndex",errorStateMatcher:"errorStateMatcher",ariaOrientation:["aria-orientation","ariaOrientation"]},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[o["ɵɵProvidersFeature"]([{provide:_.MatFormFieldControl,useExisting:e}]),o["ɵɵInheritDefinitionFeature"]],ngContentSelectors:C,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(t,e){1&t&&(o["ɵɵprojectionDef"](),o["ɵɵelementStart"](0,"div",0),o["ɵɵprojection"](1),o["ɵɵelementEnd"]())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove.mat-icon{width:18px;height:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip:focus{outline:dotted 2px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),e}(E),R=0,j=function(){function t(t,e){this._elementRef=t,this._defaultOptions=e,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new o.EventEmitter,this.placeholder="",this.id="mat-chip-list-input-"+R++,this._disabled=!1,this._inputElement=this._elementRef.nativeElement}return Object.defineProperty(t.prototype,"chipList",{set:function(t){t&&(this._chipList=t,this._chipList.registerInput(this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"addOnBlur",{get:function(){return this._addOnBlur},set:function(t){this._addOnBlur=Object(l.c)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled||this._chipList&&this._chipList.disabled},set:function(t){this._disabled=Object(l.c)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"empty",{get:function(){return!this._inputElement.value},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(){this._chipList.stateChanges.next()},t.prototype._keydown=function(t){t&&t.keyCode===i.TAB&&!Object(i.hasModifierKey)(t,"shiftKey")&&this._chipList._allowFocusEscape(),this._emitChipEnd(t)},t.prototype._blur=function(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()},t.prototype._focus=function(){this.focused=!0,this._chipList.stateChanges.next()},t.prototype._emitChipEnd=function(t){!this._inputElement.value&&t&&this._chipList._keydown(t),t&&!this._isSeparatorKey(t)||(this.chipEnd.emit({input:this._inputElement,value:this._inputElement.value}),t&&t.preventDefault())},t.prototype._onInput=function(){this._chipList.stateChanges.next()},t.prototype.focus=function(t){this._inputElement.focus(t)},t.prototype._isSeparatorKey=function(t){if(Object(i.hasModifierKey)(t))return!1;var e=this.separatorKeyCodes,n=t.keyCode;return Array.isArray(e)?e.indexOf(n)>-1:e.has(n)},t.ctorParameters=function(){return[{type:o.ElementRef},{type:void 0,decorators:[{type:o.Inject,args:[k]}]}]},t.propDecorators={chipList:[{type:o.Input,args:["matChipInputFor"]}],addOnBlur:[{type:o.Input,args:["matChipInputAddOnBlur"]}],separatorKeyCodes:[{type:o.Input,args:["matChipInputSeparatorKeyCodes"]}],chipEnd:[{type:o.Output,args:["matChipInputTokenEnd"]}],placeholder:[{type:o.Input}],id:[{type:o.Input}],disabled:[{type:o.Input}]},t.ɵfac=function(e){return new(e||t)(o["ɵɵdirectiveInject"](o.ElementRef),o["ɵɵdirectiveInject"](k))},t.ɵdir=o["ɵɵdefineDirective"]({type:t,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(t,e){1&t&&o["ɵɵlistener"]("keydown",function(t){return e._keydown(t)})("blur",function(){return e._blur()})("focus",function(){return e._focus()})("input",function(){return e._onInput()}),2&t&&(o["ɵɵhostProperty"]("id",e.id),o["ɵɵattribute"]("disabled",e.disabled||null)("placeholder",e.placeholder||null)("aria-invalid",e._chipList&&e._chipList.ngControl?e._chipList.ngControl.invalid:null)("aria-required",e._chipList&&e._chipList.required||null))},inputs:{separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[o["ɵɵNgOnChangesFeature"]]}),t}(),A={separatorKeyCodes:[i.ENTER]},F=function(){function t(){}return t.ɵmod=o["ɵɵdefineNgModule"]({type:t}),t.ɵinj=o["ɵɵdefineInjector"]({factory:function(e){return new(e||t)},providers:[r.ErrorStateMatcher,{provide:k,useValue:A}]}),("undefined"==typeof ngJitMode||ngJitMode)&&o["ɵɵsetNgModuleScope"](t,{declarations:[T,O,j,M,S,P],exports:[T,O,j,M,S,P]}),t}()},1883:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n(441),o=n(165),r=n(1848),a=n(1712),s=n(1708),l=n(156);function c(t,e){var n=arguments.length>=2;return function(c){return c.pipe(t?Object(o.a)(function(e,n){return t(e,n,c)}):l.a,Object(r.a)(1),n?Object(s.a)(e):Object(a.a)(function(){return new i.a}))}}},1884:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n(441),o=n(165),r=n(221),a=n(1708),s=n(1712),l=n(156);function c(t,e){var n=arguments.length>=2;return function(c){return c.pipe(t?Object(o.a)(function(e,n){return t(e,n,c)}):l.a,Object(r.a)(1),n?Object(a.a)(e):Object(s.a)(function(){return new i.a}))}}},1885:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n(1),o=n(26);function r(t,e){return function(n){return n.lift(new a(t,e,n))}}var a=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,i,o){var r=t.call(this,e)||this;return r.predicate=n,r.thisArg=i,r.source=o,r.index=0,r.thisArg=i||r,r}return i.c(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}(o.a)},1888:function(t,e,n){"use strict";var i,o=this&&this.__extends||(i=function(t,e){return(i=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])})(t,e)},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),a=n(2),s=n(6),l=n(1693),c=n(0);e.CLOUD_UPLOAD_COMPONENT="CLOUD_UPLOAD_COMPONENT";var u=function(t){function n(n,i,o){var r=t.call(this,n,i,o)||this;return r.loader=n,r.injector=i,r.vcr=o,r.modulePath="./CloudProcessingModule#CloudProcessingModule",r.componentId=e.CLOUD_UPLOAD_COMPONENT,r}return o(n,t),n.ɵfac=function(t){return new(t||n)(c.ɵɵdirectiveInject(c.NgModuleFactoryLoader),c.ɵɵdirectiveInject(c.Injector),c.ɵɵdirectiveInject(c.ViewContainerRef))},n.ɵcmp=c.ɵɵdefineComponent({type:n,selectors:[["cloud-upload-lazy"]],features:[c.ɵɵInheritDefinitionFeature],decls:0,vars:0,template:function(t,e){},encapsulation:2}),n}(l.AbstractLazyComponent);e.CloudUploadLazyComponent=u,c.ɵsetClassMetadata(u,[{type:r.Component,args:[{selector:"cloud-upload-lazy",template:""}]}],function(){return[{type:c.NgModuleFactoryLoader},{type:c.Injector},{type:c.ViewContainerRef}]},null),a.module("IVWebApp").directive("cloudUploadLazy",s.downgradeComponent({component:u}))},1889:function(t,e,n){"use strict";var i,o=this&&this.__extends||(i=function(t,e){return(i=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])})(t,e)},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),a=n(2),s=n(6),l=n(1693),c=n(0);e.PROCESSED_DATA_COMPONENT="PROCESSED_DATA_COMPONENT";var u=function(t){function n(n,i,o){var r=t.call(this,n,i,o)||this;return r.loader=n,r.injector=i,r.vcr=o,r.modulePath="./CloudProcessingModule#CloudProcessingModule",r.componentId=e.PROCESSED_DATA_COMPONENT,r}return o(n,t),n.ɵfac=function(t){return new(t||n)(c.ɵɵdirectiveInject(c.NgModuleFactoryLoader),c.ɵɵdirectiveInject(c.Injector),c.ɵɵdirectiveInject(c.ViewContainerRef))},n.ɵcmp=c.ɵɵdefineComponent({type:n,selectors:[["processed-data-lazy"]],features:[c.ɵɵInheritDefinitionFeature],decls:0,vars:0,template:function(t,e){},encapsulation:2}),n}(l.AbstractLazyComponent);e.ProcessedDataLazyComponent=u,c.ɵsetClassMetadata(u,[{type:r.Component,args:[{selector:"processed-data-lazy",template:""}]}],function(){return[{type:c.NgModuleFactoryLoader},{type:c.Injector},{type:c.ViewContainerRef}]},null),a.module("IVWebApp").directive("processedDataLazy",s.downgradeComponent({component:u}))},1890:function(t,e,n){"use strict";var i,o=this&&this.__extends||(i=function(t,e){return(i=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])})(t,e)},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),a=n(2),s=n(6),l=n(1693),c=n(0);e.PROCESSING_TASK_COMPONENT="PROCESSING_TASK_COMPONENT";var u=function(t){function n(n,i,o){var r=t.call(this,n,i,o)||this;return r.loader=n,r.injector=i,r.vcr=o,r.modulePath="./CloudProcessingModule#CloudProcessingModule",r.componentId=e.PROCESSING_TASK_COMPONENT,r}return o(n,t),n.ɵfac=function(t){return new(t||n)(c.ɵɵdirectiveInject(c.NgModuleFactoryLoader),c.ɵɵdirectiveInject(c.Injector),c.ɵɵdirectiveInject(c.ViewContainerRef))},n.ɵcmp=c.ɵɵdefineComponent({type:n,selectors:[["processing-task-lazy"]],features:[c.ɵɵInheritDefinitionFeature],decls:0,vars:0,template:function(t,e){},encapsulation:2}),n}(l.AbstractLazyComponent);e.ProcessingTaskLazyComponent=u,c.ɵsetClassMetadata(u,[{type:r.Component,args:[{selector:"processing-task-lazy",template:""}]}],function(){return[{type:c.NgModuleFactoryLoader},{type:c.Injector},{type:c.ViewContainerRef}]},null),a.module("IVWebApp").directive("processingTaskLazy",s.downgradeComponent({component:u}))},1909:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(1910),r=(n(9),n(152)),a=n(20),s=(n(64),n(21),n(0)),l=n(9),c=n(21),u=n(1910),d=n(3),p=n(1692),m=["inputFile"];function h(t,e){if(1&t&&s.ɵɵelement(0,"img",7),2&t){var n=s.ɵɵnextContext();s.ɵɵproperty("src",n.spinnerIcon,s.ɵɵsanitizeUrl)}}function f(t,e){if(1&t&&(s.ɵɵelementStart(0,"span"),s.ɵɵelementStart(1,"span",8),s.ɵɵtext(2),s.ɵɵelementEnd(),s.ɵɵtext(3," or drop it here "),s.ɵɵelementEnd()),2&t){var n=s.ɵɵnextContext();s.ɵɵadvance(2),s.ɵɵtextInterpolate1("Upload ",n.fileDescription,"")}}function g(t,e){if(1&t&&(s.ɵɵelementStart(0,"span"),s.ɵɵtext(1),s.ɵɵelementEnd()),2&t){var n=s.ɵɵnextContext();s.ɵɵadvance(1),s.ɵɵtextInterpolate1(" ",n.fileDropAreaMessage," ")}}function v(t,e){if(1&t){var n=s.ɵɵgetCurrentView();s.ɵɵelementStart(0,"span",9),s.ɵɵlistener("click",function(){return s.ɵɵrestoreView(n),s.ɵɵnextContext().clearSubmittedFile()}),s.ɵɵelementEnd()}}function b(t,e){if(1&t&&(s.ɵɵelementStart(0,"span",10),s.ɵɵelementStart(1,"span",11),s.ɵɵelement(2,"span",12),s.ɵɵtext(3),s.ɵɵelementEnd(),s.ɵɵelementEnd()),2&t){var n=s.ɵɵnextContext();s.ɵɵadvance(1),s.ɵɵclassProp("text-success",n.fileUploadedSuccessfully)("text-danger",!n.fileUploadedSuccessfully),s.ɵɵadvance(1),s.ɵɵclassProp("fa-check-circle",n.fileUploadedSuccessfully)("fa-exclamation-triangle",!n.fileUploadedSuccessfully),s.ɵɵadvance(1),s.ɵɵtextInterpolate1(" ",n.alertMessage," ")}}var y=function(){function t(e,o){this.RestService=e,this.TrackingService=o,this.onAdditionalAction=new i.EventEmitter,this.fileProcessingCompleted=new i.EventEmitter,this.fileProcessingStarted=new i.EventEmitter,this.clearInputButtonPressed=new i.EventEmitter,this.showAlert=!1,this.isFileOver=!1,this.isFileSubmitted=!1,this.uploadInProgress=!1,this.spinnerIcon=n(94);var r=t.unique++;this.inputId="file-input-"+r}return Object.defineProperty(t.prototype,"fileName",{set:function(t){this.handleFileNameInput(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){if(!this.apiEndpoint&&!this.extractor||this.apiEndpoint&&this.extractor)throw new Error("You need to specify either an API endpoint for file upload or an extractor to read file information");this.initializeUploader()},t.prototype.onFileDrop=function(t){return this.clearSubmittedFile(),t.length>1?(this.fileUploadedSuccessfully=!1,void this.displayMessage("Multiple files have been dropped. Please provide a single file.")):this.allowedMimeType!==t[0].type?(this.isFileSubmitted=!0,this.fileUploadedSuccessfully=!1,void this.displayMessage("The provided file has the wrong file format. Please provide a "+this.allowedFileExtension+".")):void this.readFile(t)},t.prototype.initializeUploader=function(){var t=this;this.apiEndpoint?(this.uploader=new o.FileUploader({url:this.RestService.addAuthorizationQueryParameter(r.getBaseUrl()+this.apiEndpoint),allowedMimeType:[this.allowedMimeType],autoUpload:!0}),this.uploader.onBeforeUploadItem=function(e){t.uploadInProgress=!0,t.fileProcessingStarted.emit(),t.uploader.setOptions({allowedMimeType:[]})},this.uploader.onCompleteItem=function(e,n){t.fileUploadedSuccessfully=e.isSuccess,t.uploadInProgress=!1,t.displaySubmittedFile(e.file.name),t.fileProcessingCompleted.emit({fileName:e.file.name,success:e.isSuccess}),t.inputFile.nativeElement.value=""}):this.uploader=new o.FileUploader({allowedMimeType:[this.allowedMimeType]})},t.prototype.handleFileNameInput=function(t){a.isBlank(t)?this.isFileSubmitted&&this.clearSubmittedFile():(this.fileUploadedSuccessfully=!0,this.displaySubmittedFile(t))},t.prototype.displayMessage=function(t){this.alertMessage=t,this.showAlert=!0},t.prototype.displaySubmittedFile=function(t){this.isFileSubmitted=!0,this.fileDropAreaMessage=t},t.prototype.changeBorderColor=function(t){this.isFileSubmitted||(this.isFileOver=t)},t.prototype.clearSubmittedFile=function(){return this.isFileSubmitted&&this.TrackingService.trackPreDefinedEvent(this.trackingEventOnClear),this.isFileSubmitted=!1,this.showAlert=!1,this.fileDropAreaMessage=void 0,this.uploader.setOptions({allowedMimeType:[this.allowedMimeType]}),this.clearInputButtonPressed.emit(),!1},t.prototype.readFile=function(t){var e=this;if(this.extractor){this.fileProcessingStarted.emit(),this.uploadInProgress=!0;var n=new FileReader,i=t[0];n.onload=function(){var t=n.result.toString();e.uploadInProgress=!1;try{var o=e.extractor(t);e.fileProcessingCompleted.emit({fileName:i.name,success:!0,data:o}),e.fileUploadedSuccessfully=!0,e.displaySubmittedFile(i.name)}catch(t){e.fileProcessingCompleted.emit({fileName:i.name,success:!1}),e.fileUploadedSuccessfully=!1,e.displaySubmittedFile(i.name),e.displayMessage("Error: "+t.message+".")}finally{e.inputFile.nativeElement.value=""}},n.readAsText(i)}},t.unique=0,t.ɵfac=function(e){return new(e||t)(s.ɵɵdirectiveInject(l.RestService),s.ɵɵdirectiveInject(c.TrackingService))},t.ɵcmp=s.ɵɵdefineComponent({type:t,selectors:[["file-drop"]],viewQuery:function(t,e){var n;1&t&&s.ɵɵviewQuery(m,!0),2&t&&s.ɵɵqueryRefresh(n=s.ɵɵloadQuery())&&(e.inputFile=n.first)},inputs:{fileDescription:"fileDescription",allowedMimeType:"allowedMimeType",allowedFileExtension:"allowedFileExtension",apiEndpoint:"apiEndpoint",fileName:"fileName",extractor:"extractor",additionalActionText:"additionalActionText",trackingEventOnClear:"trackingEventOnClear"},outputs:{onAdditionalAction:"onAdditionalAction",fileProcessingCompleted:"fileProcessingCompleted",fileProcessingStarted:"fileProcessingStarted",clearInputButtonPressed:"clearInputButtonPressed"},decls:9,vars:13,consts:[["ng2FileDrop","",1,"file-submit-area",3,"for","uploader","onFileDrop","fileOver"],["class","file-submit-area_spinner","alt","Spinner icon",3,"src",4,"ngIf"],[4,"ngIf"],["class","fa fa-times-circle",3,"click",4,"ngIf"],["class","column",4,"ngIf"],["type","file","ng2FileSelect","",3,"id","disabled","uploader","accept","onFileSelected"],["inputFile",""],["alt","Spinner icon",1,"file-submit-area_spinner",3,"src"],[1,"blue-text"],[1,"fa","fa-times-circle",3,"click"],[1,"column"],[1,"status-message-area","text-center"],[1,"fa"]],template:function(t,e){1&t&&(s.ɵɵelementStart(0,"label",0),s.ɵɵlistener("onFileDrop",function(t){return e.onFileDrop(t)})("fileOver",function(t){return e.changeBorderColor(t)}),s.ɵɵelementStart(1,"span"),s.ɵɵtemplate(2,h,1,1,"img",1),s.ɵɵtemplate(3,f,4,1,"span",2),s.ɵɵtemplate(4,g,2,1,"span",2),s.ɵɵtemplate(5,v,1,0,"span",3),s.ɵɵelementEnd(),s.ɵɵtemplate(6,b,4,9,"span",4),s.ɵɵelementEnd(),s.ɵɵelementStart(7,"input",5,6),s.ɵɵlistener("onFileSelected",function(t){return e.onFileDrop(t)}),s.ɵɵelementEnd()),2&t&&(s.ɵɵclassProp("active",e.isFileOver),s.ɵɵpropertyInterpolate("for",e.inputId),s.ɵɵproperty("uploader",e.uploader),s.ɵɵadvance(2),s.ɵɵproperty("ngIf",e.uploadInProgress),s.ɵɵadvance(1),s.ɵɵproperty("ngIf",!e.fileDropAreaMessage),s.ɵɵadvance(1),s.ɵɵproperty("ngIf",e.fileDropAreaMessage),s.ɵɵadvance(1),s.ɵɵproperty("ngIf",e.isFileSubmitted),s.ɵɵadvance(1),s.ɵɵproperty("ngIf",e.showAlert),s.ɵɵadvance(1),s.ɵɵpropertyInterpolate("id",e.inputId),s.ɵɵproperty("disabled",e.isFileSubmitted)("uploader",e.uploader)("accept",e.allowedFileExtension))},directives:[u.FileDropDirective,d.NgIf,u.FileSelectDirective,p.AddBaseUrlDirective],styles:[".file-submit-area[_ngcontent-%COMP%]{border:1px dashed #92b0b3;border-radius:10px;font-size:1.25rem}.active.file-submit-area[_ngcontent-%COMP%]{background:rgba(51,152,199,.1);border-color:#2eaefe}[_nghost-%COMP%]{width:100%}.alert[_ngcontent-%COMP%]{margin-top:1em}.file-submit-area[_ngcontent-%COMP%]{min-height:80px;text-align:center;display:flex;align-items:center;justify-content:center}.file-submit-area_spinner[_ngcontent-%COMP%]{margin:0 1em}.status-message-area[_ngcontent-%COMP%]{width:100%}.status-message-area.fa[_ngcontent-%COMP%]{display:block}.blue-text[_ngcontent-%COMP%]{color:#3398c7}input[_ngcontent-%COMP%]{display:none}"]}),t}();e.FileDropComponent=y,s.ɵsetClassMetadata(y,[{type:i.Component,args:[{selector:"file-drop",templateUrl:"./FileDrop.ng.html",styleUrls:["./FileDrop.ng.scss"]}]}],function(){return[{type:l.RestService},{type:c.TrackingService}]},{fileDescription:[{type:i.Input}],allowedMimeType:[{type:i.Input}],allowedFileExtension:[{type:i.Input}],apiEndpoint:[{type:i.Input}],fileName:[{type:i.Input}],extractor:[{type:i.Input}],additionalActionText:[{type:i.Input}],trackingEventOnClear:[{type:i.Input}],onAdditionalAction:[{type:i.Output}],fileProcessingCompleted:[{type:i.Output}],fileProcessingStarted:[{type:i.Output}],clearInputButtonPressed:[{type:i.Output}],inputFile:[{type:i.ViewChild,args:["inputFile",{static:!1}]}]})},1910:function(t,e,n){"use strict";n.r(e),n.d(e,"FileDropDirective",function(){return d}),n.d(e,"FileItem",function(){return a}),n.d(e,"FileLikeObject",function(){return r}),n.d(e,"FileSelectDirective",function(){return u}),n.d(e,"FileUploadModule",function(){return p}),n.d(e,"FileUploader",function(){return c});var i=n(0),o=n(3),r=function(){function t(t){this.rawFile=t;var e,n=(e=t)&&(e.nodeName||e.prop&&e.attr&&e.find)?t.value:t;this["_createFrom"+("string"==typeof n?"FakePath":"Object")](n)}return t.prototype._createFromFakePath=function(t){this.lastModifiedDate=void 0,this.size=void 0,this.type="like/"+t.slice(t.lastIndexOf(".")+1).toLowerCase(),this.name=t.slice(t.lastIndexOf("/")+t.lastIndexOf("\\")+2)},t.prototype._createFromObject=function(t){this.size=t.size,this.type=t.type,this.name=t.name},t}(),a=function(){function t(t,e,n){this.url="/",this.headers=[],this.withCredentials=!0,this.formData=[],this.isReady=!1,this.isUploading=!1,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!1,this.isError=!1,this.progress=0,this.index=void 0,this.uploader=t,this.some=e,this.options=n,this.file=new r(e),this._file=e,t.options&&(this.method=t.options.method||"POST",this.alias=t.options.itemAlias||"file"),this.url=t.options.url}return t.prototype.upload=function(){try{this.uploader.uploadItem(this)}catch(t){this.uploader._onCompleteItem(this,"",0,{}),this.uploader._onErrorItem(this,"",0,{})}},t.prototype.cancel=function(){this.uploader.cancelItem(this)},t.prototype.remove=function(){this.uploader.removeFromQueue(this)},t.prototype.onBeforeUpload=function(){},t.prototype.onBuildForm=function(t){return{form:t}},t.prototype.onProgress=function(t){return{progress:t}},t.prototype.onSuccess=function(t,e,n){return{response:t,status:e,headers:n}},t.prototype.onError=function(t,e,n){return{response:t,status:e,headers:n}},t.prototype.onCancel=function(t,e,n){return{response:t,status:e,headers:n}},t.prototype.onComplete=function(t,e,n){return{response:t,status:e,headers:n}},t.prototype._onBeforeUpload=function(){this.isReady=!0,this.isUploading=!0,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!1,this.isError=!1,this.progress=0,this.onBeforeUpload()},t.prototype._onBuildForm=function(t){this.onBuildForm(t)},t.prototype._onProgress=function(t){this.progress=t,this.onProgress(t)},t.prototype._onSuccess=function(t,e,n){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!0,this.isCancel=!1,this.isError=!1,this.progress=100,this.index=void 0,this.onSuccess(t,e,n)},t.prototype._onError=function(t,e,n){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!1,this.isCancel=!1,this.isError=!0,this.progress=0,this.index=void 0,this.onError(t,e,n)},t.prototype._onCancel=function(t,e,n){this.isReady=!1,this.isUploading=!1,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!0,this.isError=!1,this.progress=0,this.index=void 0,this.onCancel(t,e,n)},t.prototype._onComplete=function(t,e,n){this.onComplete(t,e,n),this.uploader.options.removeAfterUpload&&this.remove()},t.prototype._prepareToUploading=function(){this.index=this.index||++this.uploader._nextIndex,this.isReady=!0},t}(),s=function(){function t(){}return t.getMimeClass=function(t){var e="application";return-1!==this.mime_psd.indexOf(t.type)||t.type.match("image.*")?e="image":t.type.match("video.*")?e="video":t.type.match("audio.*")?e="audio":"application/pdf"===t.type?e="pdf":-1!==this.mime_compress.indexOf(t.type)?e="compress":-1!==this.mime_doc.indexOf(t.type)?e="doc":-1!==this.mime_xsl.indexOf(t.type)?e="xls":-1!==this.mime_ppt.indexOf(t.type)&&(e="ppt"),"application"===e&&(e=this.fileTypeDetection(t.name)),e},t.fileTypeDetection=function(t){var e={jpg:"image",jpeg:"image",tif:"image",psd:"image",bmp:"image",png:"image",nef:"image",tiff:"image",cr2:"image",dwg:"image",cdr:"image",ai:"image",indd:"image",pin:"image",cdp:"image",skp:"image",stp:"image","3dm":"image",mp3:"audio",wav:"audio",wma:"audio",mod:"audio",m4a:"audio",compress:"compress",zip:"compress",rar:"compress","7z":"compress",lz:"compress",z01:"compress",bz2:"compress",gz:"compress",pdf:"pdf",xls:"xls",xlsx:"xls",ods:"xls",mp4:"video",avi:"video",wmv:"video",mpg:"video",mts:"video",flv:"video","3gp":"video",vob:"video",m4v:"video",mpeg:"video",m2ts:"video",mov:"video",doc:"doc",docx:"doc",eps:"doc",txt:"doc",odt:"doc",rtf:"doc",ppt:"ppt",pptx:"ppt",pps:"ppt",ppsx:"ppt",odp:"ppt"},n=t.split(".");if(n.length<2)return"application";var i=n[n.length-1].toLowerCase();return void 0===e[i]?"application":e[i]},t.mime_doc=["application/msword","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/vnd.ms-word.document.macroEnabled.12","application/vnd.ms-word.template.macroEnabled.12"],t.mime_xsl=["application/vnd.ms-excel","application/vnd.ms-excel","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/vnd.ms-excel.sheet.macroEnabled.12","application/vnd.ms-excel.template.macroEnabled.12","application/vnd.ms-excel.addin.macroEnabled.12","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],t.mime_ppt=["application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.openxmlformats-officedocument.presentationml.template","application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/vnd.ms-powerpoint.addin.macroEnabled.12","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],t.mime_psd=["image/photoshop","image/x-photoshop","image/psd","application/photoshop","application/psd","zz-application/zz-winassoc-psd"],t.mime_compress=["application/x-gtar","application/x-gcompress","application/compress","application/x-tar","application/x-rar-compressed","application/octet-stream","application/x-zip-compressed","application/zip-compressed","application/x-7z-compressed","application/gzip","application/x-bzip2"],t}(),l=function(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}},c=function(){function t(t){this.isUploading=!1,this.queue=[],this.progress=0,this._nextIndex=0,this.options={autoUpload:!1,isHTML5:!0,filters:[],removeAfterUpload:!1,disableMultipart:!1,formatDataFunction:function(t){return t._file},formatDataFunctionIsAsync:!1},this.setOptions(t),this.response=new i.EventEmitter}return t.prototype.setOptions=function(t){this.options=Object.assign(this.options,t),this.authToken=this.options.authToken,this.authTokenHeader=this.options.authTokenHeader||"Authorization",this.autoUpload=this.options.autoUpload,this.options.filters.unshift({name:"queueLimit",fn:this._queueLimitFilter}),this.options.maxFileSize&&this.options.filters.unshift({name:"fileSize",fn:this._fileSizeFilter}),this.options.allowedFileType&&this.options.filters.unshift({name:"fileType",fn:this._fileTypeFilter}),this.options.allowedMimeType&&this.options.filters.unshift({name:"mimeType",fn:this._mimeTypeFilter});for(var e=0;e<this.queue.length;e++)this.queue[e].url=this.options.url},t.prototype.addToQueue=function(t,e,n){var i,o,s=this,c=[];try{for(var u=l(t),d=u.next();!d.done;d=u.next()){var p=d.value;c.push(p)}}catch(t){i={error:t}}finally{try{d&&!d.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}var m=this._getFilters(n),h=this.queue.length,f=[];c.map(function(t){e||(e=s.options);var n=new r(t);if(s._isValidFile(n,m,e)){var i=new a(s,t,e);f.push(i),s.queue.push(i),s._onAfterAddingFile(i)}else{var o=m[s._failFilterIndex];s._onWhenAddingFileFailed(n,o,e)}}),this.queue.length!==h&&(this._onAfterAddingAll(f),this.progress=this._getTotalProgress()),this._render(),this.options.autoUpload&&this.uploadAll()},t.prototype.removeFromQueue=function(t){var e=this.getIndexOfItem(t),n=this.queue[e];n.isUploading&&n.cancel(),this.queue.splice(e,1),this.progress=this._getTotalProgress()},t.prototype.clearQueue=function(){for(;this.queue.length;)this.queue[0].remove();this.progress=0},t.prototype.uploadItem=function(t){var e=this.getIndexOfItem(t),n=this.queue[e],i=this.options.isHTML5?"_xhrTransport":"_iframeTransport";n._prepareToUploading(),this.isUploading||(this.isUploading=!0,this[i](n))},t.prototype.cancelItem=function(t){var e=this.getIndexOfItem(t),n=this.queue[e],i=this.options.isHTML5?n._xhr:n._form;n&&n.isUploading&&i.abort()},t.prototype.uploadAll=function(){var t=this.getNotUploadedItems().filter(function(t){return!t.isUploading});t.length&&(t.map(function(t){return t._prepareToUploading()}),t[0].upload())},t.prototype.cancelAll=function(){this.getNotUploadedItems().map(function(t){return t.cancel()})},t.prototype.isFile=function(t){return function(t){return File&&t instanceof File}(t)},t.prototype.isFileLikeObject=function(t){return t instanceof r},t.prototype.getIndexOfItem=function(t){return"number"==typeof t?t:this.queue.indexOf(t)},t.prototype.getNotUploadedItems=function(){return this.queue.filter(function(t){return!t.isUploaded})},t.prototype.getReadyItems=function(){return this.queue.filter(function(t){return t.isReady&&!t.isUploading}).sort(function(t,e){return t.index-e.index})},t.prototype.destroy=function(){},t.prototype.onAfterAddingAll=function(t){return{fileItems:t}},t.prototype.onBuildItemForm=function(t,e){return{fileItem:t,form:e}},t.prototype.onAfterAddingFile=function(t){return{fileItem:t}},t.prototype.onWhenAddingFileFailed=function(t,e,n){return{item:t,filter:e,options:n}},t.prototype.onBeforeUploadItem=function(t){return{fileItem:t}},t.prototype.onProgressItem=function(t,e){return{fileItem:t,progress:e}},t.prototype.onProgressAll=function(t){return{progress:t}},t.prototype.onSuccessItem=function(t,e,n,i){return{item:t,response:e,status:n,headers:i}},t.prototype.onErrorItem=function(t,e,n,i){return{item:t,response:e,status:n,headers:i}},t.prototype.onCancelItem=function(t,e,n,i){return{item:t,response:e,status:n,headers:i}},t.prototype.onCompleteItem=function(t,e,n,i){return{item:t,response:e,status:n,headers:i}},t.prototype.onCompleteAll=function(){},t.prototype._mimeTypeFilter=function(t){return!(this.options.allowedMimeType&&-1===this.options.allowedMimeType.indexOf(t.type))},t.prototype._fileSizeFilter=function(t){return!(this.options.maxFileSize&&t.size>this.options.maxFileSize)},t.prototype._fileTypeFilter=function(t){return!(this.options.allowedFileType&&-1===this.options.allowedFileType.indexOf(s.getMimeClass(t)))},t.prototype._onErrorItem=function(t,e,n,i){t._onError(e,n,i),this.onErrorItem(t,e,n,i)},t.prototype._onCompleteItem=function(t,e,n,i){t._onComplete(e,n,i),this.onCompleteItem(t,e,n,i);var o=this.getReadyItems()[0];this.isUploading=!1,o?o.upload():(this.onCompleteAll(),this.progress=this._getTotalProgress(),this._render())},t.prototype._headersGetter=function(t){return function(e){return e?t[e.toLowerCase()]||void 0:t}},t.prototype._xhrTransport=function(t){var e,n,i,o,r,a=this,s=this,c=t._xhr=new XMLHttpRequest;if(this._onBeforeUploadItem(t),"number"!=typeof t._file.size)throw new TypeError("The file specified is no longer valid");if(this.options.disableMultipart)r=this.options.formatDataFunction(t);else{r=new FormData,this._onBuildItemForm(t,r);var u=function(){return r.append(t.alias,t._file,t.file.name)};this.options.parametersBeforeFiles||u(),void 0!==this.options.additionalParameter&&Object.keys(this.options.additionalParameter).forEach(function(e){var n=a.options.additionalParameter[e];"string"==typeof n&&n.indexOf("{{file_name}}")>=0&&(n=n.replace("{{file_name}}",t.file.name)),r.append(e,n)}),this.options.parametersBeforeFiles&&u()}if(c.upload.onprogress=function(e){var n=Math.round(e.lengthComputable?100*e.loaded/e.total:0);a._onProgressItem(t,n)},c.onload=function(){var e=a._parseHeaders(c.getAllResponseHeaders()),n=a._transformResponse(c.response,e),i=a._isSuccessCode(c.status)?"Success":"Error";a["_on"+i+"Item"](t,n,c.status,e),a._onCompleteItem(t,n,c.status,e)},c.onerror=function(){var e=a._parseHeaders(c.getAllResponseHeaders()),n=a._transformResponse(c.response,e);a._onErrorItem(t,n,c.status,e),a._onCompleteItem(t,n,c.status,e)},c.onabort=function(){var e=a._parseHeaders(c.getAllResponseHeaders()),n=a._transformResponse(c.response,e);a._onCancelItem(t,n,c.status,e),a._onCompleteItem(t,n,c.status,e)},c.open(t.method,t.url,!0),c.withCredentials=t.withCredentials,this.options.headers)try{for(var d=l(this.options.headers),p=d.next();!p.done;p=d.next()){var m=p.value;c.setRequestHeader(m.name,m.value)}}catch(t){e={error:t}}finally{try{p&&!p.done&&(n=d.return)&&n.call(d)}finally{if(e)throw e.error}}if(t.headers.length)try{for(var h=l(t.headers),f=h.next();!f.done;f=h.next())m=f.value,c.setRequestHeader(m.name,m.value)}catch(t){i={error:t}}finally{try{f&&!f.done&&(o=h.return)&&o.call(h)}finally{if(i)throw i.error}}this.authToken&&c.setRequestHeader(this.authTokenHeader,this.authToken),c.onreadystatechange=function(){c.readyState==XMLHttpRequest.DONE&&s.response.emit(c.responseText)},this.options.formatDataFunctionIsAsync?r.then(function(t){return c.send(JSON.stringify(t))}):c.send(r),this._render()},t.prototype._getTotalProgress=function(t){if(void 0===t&&(t=0),this.options.removeAfterUpload)return t;var e=this.getNotUploadedItems().length,n=e?this.queue.length-e:this.queue.length,i=100/this.queue.length,o=t*i/100;return Math.round(n*i+o)},t.prototype._getFilters=function(t){if(!t)return this.options.filters;if(Array.isArray(t))return t;if("string"==typeof t){var e=t.match(/[^\s,]+/g);return this.options.filters.filter(function(t){return-1!==e.indexOf(t.name)})}return this.options.filters},t.prototype._render=function(){},t.prototype._queueLimitFilter=function(){return void 0===this.options.queueLimit||this.queue.length<this.options.queueLimit},t.prototype._isValidFile=function(t,e,n){var i=this;return this._failFilterIndex=-1,!e.length||e.every(function(e){return i._failFilterIndex++,e.fn.call(i,t,n)})},t.prototype._isSuccessCode=function(t){return t>=200&&t<300||304===t},t.prototype._transformResponse=function(t,e){return t},t.prototype._parseHeaders=function(t){var e,n,i,o={};return t?(t.split("\n").map(function(t){i=t.indexOf(":"),e=t.slice(0,i).trim().toLowerCase(),n=t.slice(i+1).trim(),e&&(o[e]=o[e]?o[e]+", "+n:n)}),o):o},t.prototype._onWhenAddingFileFailed=function(t,e,n){this.onWhenAddingFileFailed(t,e,n)},t.prototype._onAfterAddingFile=function(t){this.onAfterAddingFile(t)},t.prototype._onAfterAddingAll=function(t){this.onAfterAddingAll(t)},t.prototype._onBeforeUploadItem=function(t){t._onBeforeUpload(),this.onBeforeUploadItem(t)},t.prototype._onBuildItemForm=function(t,e){t._onBuildForm(e),this.onBuildItemForm(t,e)},t.prototype._onProgressItem=function(t,e){var n=this._getTotalProgress(e);this.progress=n,t._onProgress(e),this.onProgressItem(t,e),this.onProgressAll(n),this._render()},t.prototype._onSuccessItem=function(t,e,n,i){t._onSuccess(e,n,i),this.onSuccessItem(t,e,n,i)},t.prototype._onCancelItem=function(t,e,n,i){t._onCancel(e,n,i),this.onCancelItem(t,e,n,i)},t}(),u=function(){function t(t){this.onFileSelected=new i.EventEmitter,this.element=t}return t.prototype.getOptions=function(){return this.uploader.options},t.prototype.getFilters=function(){return{}},t.prototype.isEmptyAfterSelection=function(){return!!this.element.nativeElement.attributes.multiple},t.prototype.onChange=function(){var t=this.element.nativeElement.files,e=this.getOptions(),n=this.getFilters();this.uploader.addToQueue(t,e,n),this.onFileSelected.emit(t),this.isEmptyAfterSelection()&&(this.element.nativeElement.value="")},t.ctorParameters=function(){return[{type:i.ElementRef}]},t.propDecorators={uploader:[{type:i.Input}],onFileSelected:[{type:i.Output}],onChange:[{type:i.HostListener,args:["change"]}]},t.ɵfac=function(e){return new(e||t)(i["ɵɵdirectiveInject"](i.ElementRef))},t.ɵdir=i["ɵɵdefineDirective"]({type:t,selectors:[["","ng2FileSelect",""]],hostBindings:function(t,e){1&t&&i["ɵɵlistener"]("change",function(){return e.onChange()})},inputs:{uploader:"uploader"},outputs:{onFileSelected:"onFileSelected"}}),t}(),d=function(){function t(t){this.fileOver=new i.EventEmitter,this.onFileDrop=new i.EventEmitter,this.element=t}return t.prototype.getOptions=function(){return this.uploader.options},t.prototype.getFilters=function(){return{}},t.prototype.onDrop=function(t){var e=this._getTransfer(t);if(e){var n=this.getOptions(),i=this.getFilters();this._preventAndStop(t),this.uploader.addToQueue(e.files,n,i),this.fileOver.emit(!1),this.onFileDrop.emit(e.files)}},t.prototype.onDragOver=function(t){var e=this._getTransfer(t);this._haveFiles(e.types)&&(e.dropEffect="copy",this._preventAndStop(t),this.fileOver.emit(!0))},t.prototype.onDragLeave=function(t){this.element&&t.currentTarget===this.element[0]||(this._preventAndStop(t),this.fileOver.emit(!1))},t.prototype._getTransfer=function(t){return t.dataTransfer?t.dataTransfer:t.originalEvent.dataTransfer},t.prototype._preventAndStop=function(t){t.preventDefault(),t.stopPropagation()},t.prototype._haveFiles=function(t){return!!t&&(t.indexOf?-1!==t.indexOf("Files"):!!t.contains&&t.contains("Files"))},t.ctorParameters=function(){return[{type:i.ElementRef}]},t.propDecorators={uploader:[{type:i.Input}],fileOver:[{type:i.Output}],onFileDrop:[{type:i.Output}],onDrop:[{type:i.HostListener,args:["drop",["$event"]]}],onDragOver:[{type:i.HostListener,args:["dragover",["$event"]]}],onDragLeave:[{type:i.HostListener,args:["dragleave",["$event"]]}]},t.ɵfac=function(e){return new(e||t)(i["ɵɵdirectiveInject"](i.ElementRef))},t.ɵdir=i["ɵɵdefineDirective"]({type:t,selectors:[["","ng2FileDrop",""]],hostBindings:function(t,e){1&t&&i["ɵɵlistener"]("drop",function(t){return e.onDrop(t)})("dragover",function(t){return e.onDragOver(t)})("dragleave",function(t){return e.onDragLeave(t)})},inputs:{uploader:"uploader"},outputs:{fileOver:"fileOver",onFileDrop:"onFileDrop"}}),t}(),p=function(){function t(){}return t.ɵmod=i["ɵɵdefineNgModule"]({type:t}),t.ɵinj=i["ɵɵdefineInjector"]({factory:function(e){return new(e||t)},imports:[[o.CommonModule]]}),("undefined"==typeof ngJitMode||ngJitMode)&&i["ɵɵsetNgModuleScope"](t,{declarations:function(){return[d,u]},imports:function(){return[o.CommonModule]},exports:function(){return[d,u]}}),t}()},1911:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1685),o=function(){function t(){}return t.prototype.toData=function(){return{name:this.name,path:this.path,state:this.getState(),capture_locations:this.captureLocations,mapped_control_points_amount:this.mappedControlPointsAmount,mapped_area:this.mappedArea,mapping_duration:this.mappingDuration,mapping_time_end:this.mappingTimeEnd?this.mappingTimeEnd.unix():void 0,mapping_time_start:this.mappingTimeStart?this.mappingTimeStart.unix():void 0,file_size:this.fileSize,trajectory_length:this.trajectoryLength,directory_name:this.getDirectoryName(),mapping_device:this.mappingDevice}},t.prototype.fillFromData=function(t){this.name=t.name,this.path=t.path,this.captureLocations=t.capture_locations,this.mappedControlPointsAmount=t.mapped_control_points_amount,this.mappedArea=t.mapped_area,this.mappingDuration=t.mapping_duration,this.mappingTimeEnd=t.mapping_time_end?i.unix(t.mapping_time_end):void 0,this.mappingTimeStart=t.mapping_time_start?i.unix(t.mapping_time_start):void 0,this.fileSize=t.file_size,this.trajectoryLength=t.trajectory_length,this.mappingDevice=t.mapping_device},t.prototype.fill=function(t){return this.name=t.name,this.path=t.path,this.captureLocations=t.captureLocations,this.mappedControlPointsAmount=t.mappedControlPointsAmount,this.mappedArea=t.mappedArea,this.mappingDuration=t.mappingDuration,this.mappingTimeEnd=t.mappingTimeEnd?t.mappingTimeEnd.clone():void 0,this.mappingTimeStart=t.mappingTimeStart?t.mappingTimeStart.clone():void 0,this.fileSize=t.fileSize,this.trajectoryLength=t.trajectoryLength,this.isSelected=t.isSelected,this.mappingDevice=t.mappingDevice,this},t}();e.ProcessingDataset=o},1912:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(1846),r=n(168),a=(n(440),n(1952)),s=(n(21),n(1953)),l=n(0),c=n(21),u=n(440),d=n(3),p=n(625),m=n(2015),h=n(1709);function f(t,e){if(1&t){var n=l.ɵɵgetCurrentView();l.ɵɵelementStart(0,"button",1),l.ɵɵlistener("click",function(){return l.ɵɵrestoreView(n),l.ɵɵnextContext().openDialog()}),l.ɵɵelementStart(1,"mat-icon"),l.ɵɵtext(2,"save_alt"),l.ɵɵelementEnd(),l.ɵɵelementEnd()}if(2&t){var i=l.ɵɵnextContext();l.ɵɵproperty("matTooltip",i.tooltip)}}var g=function(){function t(t,e,n){this.value=t,this.TrackingSerice=e,this.MatDialog=n,this.tooltip=r.translate("Download Processed Data")}return t.prototype.openDialog=function(){this.TrackingSerice.trackPreDefinedEvent(s.ProcessingResultDownloadDialogEvent.opened()),this.MatDialog.open(a.DatasetDownloadDialogComponent,{width:"600px",data:{dataset:this.value.dataset}})},t.ɵfac=function(e){return new(e||t)(l.ɵɵdirectiveInject(o.CELL_VALUE_TOKEN),l.ɵɵdirectiveInject(c.TrackingService),l.ɵɵdirectiveInject(u.MatDialog))},t.ɵcmp=l.ɵɵdefineComponent({type:t,selectors:[["cell-dataset-download"]],decls:1,vars:1,consts:[["mat-flat-button","",3,"matTooltip","click",4,"ngIf"],["mat-flat-button","",3,"matTooltip","click"]],template:function(t,e){1&t&&l.ɵɵtemplate(0,f,3,1,"button",0),2&t&&l.ɵɵproperty("ngIf",e.value.dataset)},directives:[d.NgIf,p.MatButton,m.MatTooltip,h.MatIcon],styles:["[_nghost-%COMP%]{display:block;padding:0 8px}"]}),t}();e.DatasetDownloadCellComponent=g,l.ɵsetClassMetadata(g,[{type:i.Component,args:[{selector:"cell-dataset-download",templateUrl:"./DatasetDownloadCell.ng.html",styleUrls:["./DatasetDownloadCell.ng.scss"]}]}],function(){return[{type:void 0,decorators:[{type:i.Inject,args:[o.CELL_VALUE_TOKEN]}]},{type:c.TrackingService},{type:u.MatDialog}]},null)},1913:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=(n(440),n(8)),r=(n(1701),n(1946)),a=n(1959),s=n(0),l=n(440),c=n(1701),u=n(168),d=n(1960),p=n(625),m=["controlPointsScreenModal"];function h(t,e){if(1&t){var n=s.ɵɵgetCurrentView();s.ɵɵelementStart(0,"h4",2),s.ɵɵtext(1),s.ɵɵelementEnd(),s.ɵɵelementStart(2,"mat-dialog-content"),s.ɵɵelementStart(3,"control-points-screen",3),s.ɵɵlistener("controlPointsChange",function(t){return s.ɵɵrestoreView(n),s.ɵɵnextContext(2).controlPoints=t}),s.ɵɵelementEnd(),s.ɵɵelementEnd(),s.ɵɵelementStart(4,"mat-dialog-actions",4),s.ɵɵelementStart(5,"button",5),s.ɵɵlistener("click",function(){return s.ɵɵrestoreView(n),s.ɵɵnextContext(2).cancelChanges()}),s.ɵɵtext(6),s.ɵɵelementEnd(),s.ɵɵelementStart(7,"button",6),s.ɵɵlistener("click",function(){return s.ɵɵrestoreView(n),s.ɵɵnextContext(2).saveChanges()}),s.ɵɵtext(8),s.ɵɵelementEnd(),s.ɵɵelementEnd()}if(2&t){var i=s.ɵɵnextContext().$implicit,o=s.ɵɵnextContext();s.ɵɵadvance(1),s.ɵɵtextInterpolate(i("Choose which control points should be used for processing")),s.ɵɵadvance(2),s.ɵɵproperty("measuredControlPoints",o.measuredControlPoints)("controlPoints",o.controlPoints)("errorMessage",o.errorMessage)("warningPerDataset",o.warningPerDataset)("datasets",o.datasets),s.ɵɵadvance(3),s.ɵɵtextInterpolate1(" ",i("Cancel")," "),s.ɵɵadvance(2),s.ɵɵtextInterpolate1(" ",i("Save Changes")," ")}}function f(t,e){1&t&&(s.ɵɵelementContainerStart(0),s.ɵɵtemplate(1,h,9,8,"ng-template",null,1,s.ɵɵtemplateRefExtractor),s.ɵɵelementContainerEnd())}var g=function(){function t(t,e){this.MatDialog=t,this.CloudStorageService=e,this.closed=new i.EventEmitter,this.initialCheckboxValue=new Map}return Object.defineProperty(t.prototype,"controlPoints",{get:function(){return this._controlPoints},set:function(t){var e=this;this.warningPerDataset=new Map,this._controlPoints=t,t&&(t.forEach(function(t,n){return e.identifyPointsThatNeedRelink(t,n)}),this.recordInitialCheckboxState(t))},enumerable:!0,configurable:!0}),t.prototype.openControlPointsScreen=function(){this.MatDialog.open(this.controlPointsScreenModal,{panelClass:["full-screen-modal"]})},t.prototype.recordInitialCheckboxState=function(t){var e=this;t.forEach(function(t,n){for(var i=new Map,o=0,r=t;o<r.length;o++){var a=r[o];i.set(a.name,a.selected)}e.initialCheckboxValue.set(n,i)})},t.prototype.saveChanges=function(){var t=this,e=this.getControlPointsToSave();this.CloudStorageService.saveControlPoints(e).then(function(){t.closed.emit()}).catch(o.handleWarning)},t.prototype.getControlPointsToSave=function(){var t=this,e=[];return this.controlPoints.forEach(function(n,i){for(var o=0,a=n;o<a.length;o++){var s=a[o],l=t.getInitialControlPointSelectedValue(i,s),c=s.selected;if(s.linkedTo||l!==c){var u=new r.MappedControlPoints;u.datasetName=i,u.controlPoints=n,e.push(u);break}}}),e},t.prototype.getInitialControlPointSelectedValue=function(t,e){return this.initialCheckboxValue.get(t).get(e.name)},t.prototype.identifyPointsThatNeedRelink=function(t,e){var n=this,i=0;t.forEach(function(t){t.needsRelink=void 0===n.measuredControlPoints.find(function(e){return e.name===t.name}),t.needsRelink&&t.selected&&i++}),i&&this.warningPerDataset.set(e,a.CloudProcessingUiUtils.generateMissingCpMessage(i))},t.prototype.cancelChanges=function(){this.closed.emit()},t.ɵfac=function(e){return new(e||t)(s.ɵɵdirectiveInject(l.MatDialog),s.ɵɵdirectiveInject(c.CloudStorageService))},t.ɵcmp=s.ɵɵdefineComponent({type:t,selectors:[["control-points-screen-modal"]],viewQuery:function(t,e){var n;1&t&&s.ɵɵviewQuery(m,!0),2&t&&s.ɵɵqueryRefresh(n=s.ɵɵloadQuery())&&(e.controlPointsScreenModal=n.first)},inputs:{datasets:"datasets",measuredControlPoints:"measuredControlPoints",errorMessage:"errorMessage",controlPoints:"controlPoints"},outputs:{closed:"closed"},decls:1,vars:0,consts:[[4,"transloco"],["controlPointsScreenModal",""],["mat-dialog-title",""],[3,"measuredControlPoints","controlPoints","errorMessage","warningPerDataset","datasets","controlPointsChange"],["align","end"],["mat-stroked-button","","mat-dialog-close","",3,"click"],["mat-flat-button","","color","primary","mat-dialog-close","",3,"click"]],template:function(t,e){1&t&&s.ɵɵtemplate(0,f,3,0,"ng-container",0)},directives:[u.TranslocoDirective,l.MatDialogTitle,l.MatDialogContent,d.ControlPointsScreenComponent,l.MatDialogActions,p.MatButton,l.MatDialogClose],encapsulation:2}),t}();e.ControlPointsScreenModalComponent=g,s.ɵsetClassMetadata(g,[{type:i.Component,args:[{selector:"control-points-screen-modal",templateUrl:"./ControlPointsScreenModal.ng.html"}]}],function(){return[{type:l.MatDialog},{type:c.CloudStorageService}]},{datasets:[{type:i.Input}],measuredControlPoints:[{type:i.Input}],errorMessage:[{type:i.Input}],controlPoints:[{type:i.Input}],closed:[{type:i.Output}],controlPointsScreenModal:[{type:i.ViewChild,args:["controlPointsScreenModal"]}]})},1914:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(107);e.promiseWithProgress=function(t,e){return i.promiseFinally(t,function(){return e.setPercentage(100)})}},1915:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(640);e.progressIndicatorTask=function(t){return new i.ProgressReportTask(void 0,t,1,!1,!0,!1,!1,function(){})}},1916:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(1846),r=n(1871),a=n(1850),s=n(0),l=n(3),c=function(){function t(t){this.value=t}return t.prototype.getStateColorClass=function(t){switch(t){case r.DatasetUploadStatus.EXISTS:case r.DatasetUploadStatus.FAILED:case r.DatasetUploadStatus.CANCELLED:return"state-color--bad";case r.DatasetUploadStatus.QUEUED:return"state-color--queued";case a.DatasetProcessingState.PROCESSING:case r.DatasetUploadStatus.INPROGRESS:case r.DatasetUploadStatus.PAUSED:return"state-color--processing";case a.DatasetProcessingState.UNPROCESSED:case r.DatasetUploadStatus.UNPROCESSED:case a.DatasetProcessingState.PROCESSED:return"state-color--good";default:return"state-color"}},t.ɵfac=function(e){return new(e||t)(s.ɵɵdirectiveInject(o.CELL_VALUE_TOKEN))},t.ɵcmp=s.ɵɵdefineComponent({type:t,selectors:[["cell-dataset-status"]],decls:2,vars:2,consts:[[1,"state-chip",3,"ngClass"]],template:function(t,e){1&t&&(s.ɵɵelementStart(0,"div",0),s.ɵɵtext(1),s.ɵɵelementEnd()),2&t&&(s.ɵɵproperty("ngClass",e.getStateColorClass(e.value)),s.ɵɵadvance(1),s.ɵɵtextInterpolate1(" ",e.value,"\n"))},directives:[l.NgClass],styles:[".state-chip[_ngcontent-%COMP%]{color:#fff;background:#c4c4c4;border-radius:999px;width:128px;overflow:hidden;text-align:center;vertical-align:center;font-size:11px;line-height:15px;padding:2px 16px;font-style:normal;font-weight:500}.state-color[_ngcontent-%COMP%]{background-color:#c4c4c4}.state-color--bad[_ngcontent-%COMP%]{background-color:#ff7253}.state-color--queued[_ngcontent-%COMP%]{background-color:#c4c4c4}.state-color--processing[_ngcontent-%COMP%]{background-color:#9b9b9b}.state-color--good[_ngcontent-%COMP%]{background-color:#353436}"]}),t}();e.DatasetStatusCellComponent=c,s.ɵsetClassMetadata(c,[{type:i.Component,args:[{selector:"cell-dataset-status",templateUrl:"./DatasetStatusCell.ng.html",styleUrls:["./DatasetStatusCell.ng.scss"]}]}],function(){return[{type:void 0,decorators:[{type:i.Inject,args:[o.CELL_VALUE_TOKEN]}]}]},null)},1945:function(t,e,n){"use strict";(function(t){var i=this&&this.__spreadArrays||function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),o=0;for(e=0;e<n;e++)for(var r=arguments[e],a=0,s=r.length;a<s;a++,o++)i[o]=r[a];return i};Object.defineProperty(e,"__esModule",{value:!0});var o=n(0),r=(n(1701),n(1948)),a=n(1851),s=(n(1870),n(1872),n(8)),l=n(1850),c=n(1873),u=n(1875),d=n(168),p=n(1912),m=n(2073),h=(n(21),n(1862)),f=n(0),g=n(1701),v=n(21),b=n(1872),y=n(1870),_=n(168),C=n(3),x=n(624),w=n(1955),S=n(1692),P=n(1863),O=n(1958),M=["closeModal"],k=["datasetName"],E=["modal"];function I(t,e){if(1&t){var n=f.ɵɵgetCurrentView();f.ɵɵelementStart(0,"div",9),f.ɵɵelementStart(1,"a",28),f.ɵɵlistener("click",function(){return f.ɵɵrestoreView(n),f.ɵɵnextContext(2).onBackButtonClicked()}),f.ɵɵelement(2,"span",29),f.ɵɵelementEnd(),f.ɵɵelementEnd()}}function D(t,e){1&t&&(f.ɵɵelementStart(0,"h4"),f.ɵɵtext(1,"1."),f.ɵɵelementEnd())}function T(t,e){if(1&t&&(f.ɵɵelementStart(0,"div",35),f.ɵɵelement(1,"img",36),f.ɵɵelementStart(2,"span"),f.ɵɵtext(3),f.ɵɵelementEnd(),f.ɵɵelementEnd()),2&t){var n=f.ɵɵnextContext(2).$implicit,i=f.ɵɵnextContext();f.ɵɵadvance(1),f.ɵɵproperty("src",i.spinnerIcon,f.ɵɵsanitizeUrl),f.ɵɵadvance(2),f.ɵɵtextInterpolate(n("Wait a moment while we retrieve your data"))}}function R(t,e){if(1&t){var n=f.ɵɵgetCurrentView();f.ɵɵelementStart(0,"generic-table",37),f.ɵɵlistener("selectedRowsChange",function(t){return f.ɵɵrestoreView(n),f.ɵɵnextContext(3).onSelectedDatasetsUpdated(t)}),f.ɵɵelementEnd()}if(2&t){var i=f.ɵɵnextContext(3);f.ɵɵproperty("columns",i.recDataTableColumnConfig)("rows",i.datasets)("selectable",!0)("selectedRows",i.processingTask.datasets)}}function j(t,e){if(1&t&&(f.ɵɵelementStart(0,"div"),f.ɵɵelementStart(1,"h4"),f.ɵɵtext(2),f.ɵɵelementEnd(),f.ɵɵelementStart(3,"div",8),f.ɵɵelementStart(4,"div",30),f.ɵɵelementStart(5,"h5"),f.ɵɵtext(6),f.ɵɵelementEnd(),f.ɵɵelementEnd(),f.ɵɵelementEnd(),f.ɵɵelementStart(7,"div",8),f.ɵɵelementStart(8,"div",31),f.ɵɵelementStart(9,"span",32),f.ɵɵtext(10),f.ɵɵelementEnd(),f.ɵɵelementEnd(),f.ɵɵelementEnd(),f.ɵɵtemplate(11,T,4,2,"div",33),f.ɵɵtemplate(12,R,1,4,"generic-table",34),f.ɵɵelementEnd()),2&t){var n=f.ɵɵnextContext().$implicit,i=f.ɵɵnextContext();f.ɵɵadvance(2),f.ɵɵtextInterpolate1("2. ",n("Let's start by selecting your recorded data"),""),f.ɵɵadvance(4),f.ɵɵtextInterpolate(n("Select the datasets you want to process")),f.ɵɵadvance(4),f.ɵɵtextInterpolate(n("Not yet processed")),f.ɵɵadvance(1),f.ɵɵproperty("ngIf",i.datasetsFetchingInProgress),f.ɵɵadvance(1),f.ɵɵproperty("ngIf",!i.datasetsFetchingInProgress&&i.datasets)}}function A(t,e){if(1&t){var n=f.ɵɵgetCurrentView();f.ɵɵelementStart(0,"processing-task-configuration",38),f.ɵɵlistener("controlPointsFileProgressUpdated",function(t){return f.ɵɵrestoreView(n),f.ɵɵnextContext(2).onControlPointsFileProgressUpdate(t)})("onTaskConfigurationUpdated",function(t){return f.ɵɵrestoreView(n),f.ɵɵnextContext(2).onTaskConfigurationUpdated(t)}),f.ɵɵelementEnd()}if(2&t){var i=f.ɵɵnextContext(2);f.ɵɵproperty("processingTask",i.processingTask)}}function F(t,e){if(1&t){var n=f.ɵɵgetCurrentView();f.ɵɵelementContainerStart(0),f.ɵɵelementStart(1,"div",1,2),f.ɵɵelementStart(3,"div",3),f.ɵɵelementStart(4,"div",4),f.ɵɵelementStart(5,"div",5),f.ɵɵelementStart(6,"div",6),f.ɵɵelementStart(7,"div",7),f.ɵɵelementStart(8,"div",8),f.ɵɵelementStart(9,"div",9),f.ɵɵelementStart(10,"b"),f.ɵɵtext(11),f.ɵɵelementEnd(),f.ɵɵelementEnd(),f.ɵɵelementEnd(),f.ɵɵelementStart(12,"div",10),f.ɵɵtemplate(13,I,3,0,"div",11),f.ɵɵelementEnd(),f.ɵɵelementEnd(),f.ɵɵelementStart(14,"div",12),f.ɵɵelementStart(15,"div",8),f.ɵɵelementStart(16,"div",12),f.ɵɵelementStart(17,"div",13),f.ɵɵelementStart(18,"div",14),f.ɵɵelementStart(19,"label",15),f.ɵɵtemplate(20,D,2,0,"h4",16),f.ɵɵelementEnd(),f.ɵɵelementStart(21,"input",17,18),f.ɵɵlistener("ngModelChange",function(t){return f.ɵɵrestoreView(n),f.ɵɵnextContext().processingTask.name=t}),f.ɵɵelementEnd(),f.ɵɵelementEnd(),f.ɵɵelementEnd(),f.ɵɵelementEnd(),f.ɵɵelementStart(23,"div",19),f.ɵɵelementStart(24,"a",20,21),f.ɵɵelementStart(26,"i",22),f.ɵɵtext(27," close "),f.ɵɵelementEnd(),f.ɵɵelementEnd(),f.ɵɵelementEnd(),f.ɵɵelementEnd(),f.ɵɵelementStart(28,"div",10),f.ɵɵelementStart(29,"div",23),f.ɵɵtemplate(30,j,13,5,"div",16),f.ɵɵtemplate(31,A,1,1,"processing-task-configuration",24),f.ɵɵelementEnd(),f.ɵɵelement(32,"div",25),f.ɵɵelementStart(33,"div",26),f.ɵɵelementStart(34,"processing-task-creation-progress-menu",27),f.ɵɵlistener("stateUpdated",function(t){return f.ɵɵrestoreView(n),f.ɵɵnextContext().onStateUpdate(t)}),f.ɵɵelementEnd(),f.ɵɵelementEnd(),f.ɵɵelementEnd(),f.ɵɵelementEnd(),f.ɵɵelementEnd(),f.ɵɵelementEnd(),f.ɵɵelementEnd(),f.ɵɵelementEnd(),f.ɵɵelementEnd(),f.ɵɵelementContainerEnd()}if(2&t){var i=e.$implicit,o=f.ɵɵnextContext();f.ɵɵadvance(1),f.ɵɵproperty("id",o.modalId),f.ɵɵadvance(10),f.ɵɵtextInterpolate(i("New Processing Task")),f.ɵɵadvance(2),f.ɵɵproperty("ngIf",!o.isSelectionScreen()),f.ɵɵadvance(7),f.ɵɵproperty("ngIf",o.isSelectionScreen()),f.ɵɵadvance(1),f.ɵɵproperty("ngModel",o.processingTask.name)("disabled",!o.isSelectionScreen()),f.ɵɵadvance(9),f.ɵɵproperty("ngIf",o.isSelectionScreen()),f.ɵɵadvance(1),f.ɵɵproperty("ngIf",o.isTaskConfigurationScreen()),f.ɵɵadvance(3),f.ɵɵproperty("startProcessingDisabled",o.measuredControlPointsFileUploadInProgress)("currentState",o.currentState)("processingTask",o.processingTask)}}var N=function(){function e(t,e,o,m){var f=this;this.CloudStorageService=t,this.TrackingSevice=e,this.ProcessingTaskService=o,this.DatasetUploadService=m,this.datasets=[],this.processingTask=new a.ProcessingTask,this.currentState=r.ProcessingTaskCreationStep.SELECT_DATASETS,this.measuredControlPointsFileUploadInProgress=!1,this.datasetsFetchingInProgress=!0,this.spinnerIcon=n(94),this.recDataTableColumnConfig={qualityMapThumbnailUrl:{transformFn:function(t,e){return{url:e.qualityMapUrl,thumbnailUrl:e.qualityMapThumbnailUrl,name:e.name,viewMode:h.ProcessingTaskView.PROCESSING_TASK}},customComponent:c.ImagePreviewCellComponent},name:{name:d.translate("Dataset"),sortable:!0,transformFn:function(t,e){return{text:e.name,subscript:e.directoryName}},customComponent:u.SubscriptCellComponent},_download:{transformFn:function(t,e){return{dataset:e&&e.getState()===l.DatasetProcessingState.PROCESSED?e:void 0}},customComponent:p.DatasetDownloadCellComponent}},this.CloudStorageService.listUploadedDatasets(l.DatasetProcessingState.UNPROCESSED).then(function(t){return f.datasets=f.datasets.concat(f.DatasetUploadService.uploadQueue),f.DatasetUploadService.inProgressDataset&&(f.datasets=f.datasets.concat(f.DatasetUploadService.inProgressDataset)),f.datasets=f.datasets.concat(t),f.datasetsFetchingInProgress=!1,f.CloudStorageService.enrichDatasetsWithQualityMapInfo(f.datasets,l.DatasetProcessingState.UNPROCESSED).then(function(){f.datasets=i(f.datasets)})}).catch(s.handleWarning)}return e.prototype.onStateUpdate=function(t){if(this.currentState===r.ProcessingTaskCreationStep.SELECT_DATASETS&&(this.processingTask.name=this.processingTask.name.trim()),this.currentState=t,this.currentState===r.ProcessingTaskCreationStep.CONFIGURE_SETTINGS){var e=Math.max.apply(Math,this.processingTask.datasets.map(function(t){return t.mappingDuration}));this.processingTask.timeEstimator.recalculateRange(this.processingTask.config.pointCloudResolution,e)}this.currentState===r.ProcessingTaskCreationStep.START_PROCESSING&&this.createProcessingTask()},e.prototype.onSelectedDatasetsUpdated=function(t){this.processingTask.datasets=t},e.prototype.onTaskConfigurationUpdated=function(t){this.processingTask.config=t},e.prototype.createProcessingTask=function(){var t=this,e=this.processingTask.config;this.TrackingSevice.trackPreDefinedEvent((new m.ProcessingTaskConfiguredEvent).pointCloudResolution(e.pointCloudResolution).pointCloudMode(e.pointCloudMode).pointCloudPreset(e.pointCloudPreset).isColored(e.isColored).areFloorsFilled(e.areFloorsFilled)),this.ProcessingTaskService.createProcessingTask(this.processingTask).then(function(){return t.closeModal()}).catch(s.handleWarning)},e.prototype.closeModal=function(){this.closeButtonElement.nativeElement.click()},e.prototype.onBackButtonClicked=function(){switch(this.currentState){case r.ProcessingTaskCreationStep.SELECT_DATASETS:return;case r.ProcessingTaskCreationStep.CONFIGURE_SETTINGS:this.processingTask.timeEstimator.resetRange(),this.currentState=r.ProcessingTaskCreationStep.SELECT_DATASETS;break;default:return}},e.prototype.ngAfterViewInit=function(){this.initFocusOnTextInputElement(),this.resetTaskConfigurationOnModalClose()},e.prototype.resetTaskConfigurationOnModalClose=function(){var e=this;t(this.modalElement.nativeElement).bind("hidden.bs.modal",function(){e.currentState=r.ProcessingTaskCreationStep.SELECT_DATASETS;for(var t=0,n=e.datasets;t<n.length;t++)n[t].isSelected=!1;e.processingTask=new a.ProcessingTask})},e.prototype.initFocusOnTextInputElement=function(){var e=this;t(this.modalElement.nativeElement).bind("shown.bs.modal",function(){e.nameInputElement.nativeElement.focus()})},e.prototype.isSelectionScreen=function(){return this.currentState===r.ProcessingTaskCreationStep.SELECT_DATASETS},e.prototype.isTaskConfigurationScreen=function(){return this.currentState===r.ProcessingTaskCreationStep.CONFIGURE_SETTINGS},e.prototype.onControlPointsFileProgressUpdate=function(t){this.measuredControlPointsFileUploadInProgress=t},e.ɵfac=function(t){return new(t||e)(f.ɵɵdirectiveInject(g.CloudStorageService),f.ɵɵdirectiveInject(v.TrackingService),f.ɵɵdirectiveInject(b.ProcessingTaskService),f.ɵɵdirectiveInject(y.DatasetUploadService))},e.ɵcmp=f.ɵɵdefineComponent({type:e,selectors:[["processing-task-creation-modal"]],viewQuery:function(t,e){var n;1&t&&(f.ɵɵviewQuery(M,!0),f.ɵɵviewQuery(k,!0),f.ɵɵviewQuery(E,!0)),2&t&&(f.ɵɵqueryRefresh(n=f.ɵɵloadQuery())&&(e.closeButtonElement=n.first),f.ɵɵqueryRefresh(n=f.ɵɵloadQuery())&&(e.nameInputElement=n.first),f.ɵɵqueryRefresh(n=f.ɵɵloadQuery())&&(e.modalElement=n.first))},inputs:{modalId:"modalId"},decls:1,vars:0,consts:[[4,"transloco"],["role","dialog","aria-labelledby","myModalLabel","aria-hidden","true",1,"modal","fade",3,"id"],["modal",""],[1,"modal-dialog"],[1,"modal-content"],[1,"container-fluid","padding-top"],[1,"row","padding-vertical"],[1,"col-xs-2"],[1,"row"],[1,"col-xs-12"],[1,"row","padding-top"],["class","col-xs-12",4,"ngIf"],[1,"col-xs-10"],[1,"form-inline"],[1,"form-group","form-group-lg"],["for","datasetName"],[4,"ngIf"],["type","text","id","datasetName","placeholder","Give it a name to easily get back to it later",1,"margin-left","form-control",3,"ngModel","disabled","ngModelChange"],["datasetName",""],[1,"pull-right"],["data-dismiss","modal"],["closeModal",""],[1,"material-icons","icon-large","margin-right"],[1,"col-md-8","col-lg-5"],[3,"processingTask","controlPointsFileProgressUpdated","onTaskConfigurationUpdated",4,"ngIf"],[1,"col-md-1","col-lg-3"],[1,"col-md-3","col-lg-4"],[3,"startProcessingDisabled","currentState","processingTask","stateUpdated"],["href","#",1,"btn","btn-default",3,"click"],[1,"glyphicon","glyphicon-arrow-left"],[1,"col-xs-12","margin-left"],[1,"col-xs-12","padding-vertical"],[1,"padding-left","margin-left","callout-black"],["class","spinner",4,"ngIf"],[3,"columns","rows","selectable","selectedRows","selectedRowsChange",4,"ngIf"],[1,"spinner"],["alt","Spinner icon",3,"src"],[3,"columns","rows","selectable","selectedRows","selectedRowsChange"],[3,"processingTask","controlPointsFileProgressUpdated","onTaskConfigurationUpdated"]],template:function(t,e){1&t&&f.ɵɵtemplate(0,F,35,11,"ng-container",0)},directives:[_.TranslocoDirective,C.NgIf,x.DefaultValueAccessor,x.NgControlStatus,x.NgModel,w.ProcessingTaskCreationProgressMenuComponent,S.AddBaseUrlDirective,P.GenericTableComponent,O.ProcessingTaskConfigurationComponent],styles:[".modal-dialog[_ngcontent-%COMP%]{width:100%;height:100%;margin:0;padding:0}.modal-content[_ngcontent-%COMP%]{height:100%;border-radius:0;overflow-y:auto}.icon-large[_ngcontent-%COMP%]{font-size:28px;color:#000;cursor:pointer}.callout-black[_ngcontent-%COMP%]{border-left:5px solid #000}.spinner[_ngcontent-%COMP%]{height:20em;display:flex;flex-flow:column nowrap;justify-content:center;align-items:center}.spinner[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{margin-bottom:4em}@media (min-width:768px){.form-inline[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{width:400px}}"]}),e}();e.ProcessingTaskCreationModalComponent=N,f.ɵsetClassMetadata(N,[{type:o.Component,args:[{selector:"processing-task-creation-modal",templateUrl:"./ProcessingTaskCreationModal.ng.html",styleUrls:["./ProcessingTaskCreationModal.ng.scss"],entryComponents:[c.ImagePreviewCellComponent,p.DatasetDownloadCellComponent]}]}],function(){return[{type:g.CloudStorageService},{type:v.TrackingService},{type:b.ProcessingTaskService},{type:y.DatasetUploadService}]},{modalId:[{type:o.Input}],closeButtonElement:[{type:o.ViewChild,args:["closeModal",{static:!1}]}],nameInputElement:[{type:o.ViewChild,args:["datasetName",{static:!1}]}],modalElement:[{type:o.ViewChild,args:["modal",{static:!1}]}]})}).call(this,n(19))},1946:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(2051),o=function(){function t(){}return t.prototype.fillFromData=function(t){this.datasetName=t.dataset_name,this.controlPoints=t.control_points.map(function(t){var e=new i.MappedControlPoint;return e.fillFromData(t),e})},t.prototype.toData=function(){return{dataset_name:this.datasetName,control_points:this.controlPoints.map(function(t){return t.toData()})}},t}();e.MappedControlPoints=o;e.MappedControlPointsREST=function(){}},1947:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(){}return t.prototype.swapCoordinates=function(){var t;t=[this.y,this.x],this.x=t[0],this.y=t[1]},t}();e.ControlPoint=i},1948:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.SELECT_DATASETS="SELECT DATASETS",t.CONFIGURE_SETTINGS="CONFIGURE SETTINGS",t.START_PROCESSING="START PROCESSING"}(e.ProcessingTaskCreationStep||(e.ProcessingTaskCreationStep={}))},1949:function(t,e,n){"use strict";var i,o;Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.SHARP_EDGES="sharp-edges",t.BALANCED="balanced",t.SMOOTH_SURFACES="smooth-surfaces"}(i=e.M6PointCloudPreset||(e.M6PointCloudPreset={})),function(t){t.STANDARD="standard",t.OUTDOORS="outdoors",t.HIGH_CONFIDENCE="highConfidence"}(o=e.VLXPointCloudPreset||(e.VLXPointCloudPreset={}));var r=function(){function t(){this.pointCloudResolution=10,this.pointCloudMode=i.SHARP_EDGES,this.pointCloudPreset=o.STANDARD,this.isColored=!0,this.areFloorsFilled=!0,this.measuredControlPointsFileName="",this.originalMeasuredControlPointsFileName="",this.emailsForNotifications=[],this.measuredControlPoints=[]}return t.prototype.toData=function(){return{are_floors_filled:this.areFloorsFilled,colored:this.isColored,point_cloud_resolution:this.pointCloudResolution,point_cloud_mode:this.pointCloudMode,point_cloud_preset:this.pointCloudPreset,original_measured_control_points_file_name:this.originalMeasuredControlPointsFileName,measured_control_points:this.measuredControlPoints.map(function(t){return t.toData()}),emails_for_notifications:this.emailsForNotifications,instance_href:this.instanceHref}},t.prototype.fillFromData=function(t){this.areFloorsFilled=t.are_floors_filled,this.isColored=t.colored,this.pointCloudResolution=t.point_cloud_resolution,this.pointCloudMode=t.point_cloud_mode,this.pointCloudPreset=t.point_cloud_preset,this.measuredControlPointsFileName=t.measured_control_points_file_name,this.originalMeasuredControlPointsFileName=t.original_measured_control_points_file_name,this.emailsForNotifications=t.emails_for_notifications,this.instanceHref=t.instance_href},t}();e.ProcessingTaskConfig=r},1950:function(t,e,n){"use strict";var i,o=this&&this.__extends||(i=function(t,e){return(i=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])})(t,e)},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var r=n(1911),a=n(1871),s=function(t){function e(e,n,i){var o=t.call(this)||this;return o.datasetMeta=e,o.files=n,o.totalSize=i,o.state=a.DatasetUploadStatus.EXISTS,o.completedUploadsSize=0,o.mappingDevice=e.deviceInfo,o.filesInProgress=new Map,o}return o(e,t),e.prototype.calculateUploadedBytes=function(){var t=Array.from(this.filesInProgress.values());return 0===t.length?this.completedUploadsSize:this.completedUploadsSize+t.reduce(function(t,e){return t+e})},e.prototype.setUploadedBytesForFile=function(t,e){this.filesInProgress.set(t,e)},e.prototype.markFileAsUploaded=function(t){this.filesInProgress.delete(t)&&(this.completedUploadsSize+=t.size)},Object.defineProperty(e.prototype,"name",{get:function(){return this.datasetMeta.name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return this.datasetMeta.directory},enumerable:!0,configurable:!0}),e.prototype.getDirectoryName=function(){var t=this.datasetMeta.directory.split("/").filter(function(t){return t&&t.length}),e=this.datasetMeta.directory;return t.length>0&&(e=t[t.length-1]),e},e.prototype.getState=function(){return this.state.toString()},e.fromWorkerEntity=function(t){return new e(t.datasetMeta,t.files,t.totalSize)},e.prototype.toWorkerEntity=function(){return{datasetMeta:this.datasetMeta,files:this.files,totalSize:this.totalSize}},e.prototype.fill=function(e){return t.prototype.fill.call(this,e),this.datasetMeta=e.datasetMeta?e.datasetMeta.clone():void 0,this.files=e.files?e.files.slice():void 0,this.totalSize=e.totalSize,this.state=e.state,this.filesInProgress=new Map(e.filesInProgress.entries()),this.completedUploadsSize=e.completedUploadsSize,this},e}(r.ProcessingDataset);e.UploadableDataset=s},1951:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=(n(440),n(21),n(1862)),r=n(0),a=n(21),s=n(440),l=n(3),c=n(1692),u=n(1874),d=["preview"];function p(t,e){if(1&t&&r.ɵɵelement(0,"img",7),2&t){var n=r.ɵɵnextContext();r.ɵɵproperty("src",n.spinnerSrc,r.ɵɵsanitizeUrl)}}function m(t,e){if(1&t){var n=r.ɵɵgetCurrentView();r.ɵɵelementStart(0,"img",8),r.ɵɵlistener("error",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().thumbnailImageError=!0})("load",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().thumbnailImageError=!1}),r.ɵɵelementEnd()}if(2&t){var i=r.ɵɵnextContext();r.ɵɵproperty("alt",i.name+"-thumbnail")("src",i.thumbnailUrl,r.ɵɵsanitizeUrl)}}function h(t,e){if(1&t&&(r.ɵɵelementStart(0,"div",13),r.ɵɵelement(1,"img",7),r.ɵɵelementEnd()),2&t){var n=r.ɵɵnextContext(2);r.ɵɵadvance(1),r.ɵɵproperty("src",n.spinnerSrc,r.ɵɵsanitizeUrl)}}function f(t,e){if(1&t){var n=r.ɵɵgetCurrentView();r.ɵɵelementStart(0,"h4",9),r.ɵɵtext(1),r.ɵɵelementEnd(),r.ɵɵelementStart(2,"mat-dialog-content"),r.ɵɵelementStart(3,"zoomable",10),r.ɵɵtemplate(4,h,2,1,"div",11),r.ɵɵelementStart(5,"img",12),r.ɵɵlistener("load",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().onFullSizeImageLoad()}),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementEnd()}if(2&t){var i=r.ɵɵnextContext();r.ɵɵadvance(1),r.ɵɵtextInterpolate(i.name),r.ɵɵadvance(2),r.ɵɵproperty("enabled",i.fullSizeImageLoaded),r.ɵɵadvance(1),r.ɵɵproperty("ngIf",!i.fullSizeImageLoaded),r.ɵɵadvance(1),r.ɵɵclassProp("hidden",!i.fullSizeImageLoaded),r.ɵɵproperty("alt",i.name+"-full-size")("src",i.url,r.ɵɵsanitizeUrl)}}var g=function(){function t(t,e){this.TrackingService=t,this.MatDialog=e,this.spinnerSrc=n(94),this.fullSizeImageLoaded=!1,this.thumbnailImageError=!1}return t.prototype.isThumbnailAvailable=function(){return void 0!==this.thumbnailUrl&&!this.thumbnailImageError},t.prototype.previewQualityMap=function(t){this.MatDialog.open(this.preview,{panelClass:"full-height-modal"}),this.TrackingService.trackPreDefinedEvent((new o.QualityMapViewedEvent).fromView(this.viewMode)),t.stopPropagation()},t.prototype.onFullSizeImageLoad=function(){this.fullSizeImageLoaded=!0},t.ɵfac=function(e){return new(e||t)(r.ɵɵdirectiveInject(a.TrackingService),r.ɵɵdirectiveInject(s.MatDialog))},t.ɵcmp=r.ɵɵdefineComponent({type:t,selectors:[["quality-map-preview"]],viewQuery:function(t,e){var n;1&t&&r.ɵɵviewQuery(d,!0),2&t&&r.ɵɵqueryRefresh(n=r.ɵɵloadQuery())&&(e.preview=n.first)},inputs:{url:"url",thumbnailUrl:"thumbnailUrl",name:"name",viewMode:"viewMode"},decls:9,vars:2,consts:[[1,"image-preview",3,"click"],[1,"image-preview__overlay"],[1,"image-preview__zoom-icon"],[1,"material-icons"],[3,"src",4,"ngIf"],["class","image-preview__thumbnail",3,"alt","src","error","load",4,"ngIf"],["preview",""],[3,"src"],[1,"image-preview__thumbnail",3,"alt","src","error","load"],["mat-dialog-title",""],[3,"enabled"],["class","spinner",4,"ngIf"],[1,"image-preview__full-size",3,"alt","src","load"],[1,"spinner"]],template:function(t,e){1&t&&(r.ɵɵelementStart(0,"span",0),r.ɵɵlistener("click",function(t){return e.previewQualityMap(t)}),r.ɵɵelement(1,"span",1),r.ɵɵelementStart(2,"span",2),r.ɵɵelementStart(3,"i",3),r.ɵɵtext(4,"zoom_in"),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵtemplate(5,p,1,1,"img",4),r.ɵɵtemplate(6,m,1,2,"img",5),r.ɵɵelementEnd(),r.ɵɵtemplate(7,f,6,7,"ng-template",null,6,r.ɵɵtemplateRefExtractor)),2&t&&(r.ɵɵadvance(5),r.ɵɵproperty("ngIf",!e.isThumbnailAvailable()),r.ɵɵadvance(1),r.ɵɵproperty("ngIf",e.isThumbnailAvailable()))},directives:[l.NgIf,c.AddBaseUrlDirective,s.MatDialogTitle,s.MatDialogContent,u.ZoomableComponent],styles:[".image-preview[_ngcontent-%COMP%]{width:3.6em;height:3.6em;position:relative;display:inline-block;cursor:pointer}.image-preview[_ngcontent-%COMP%]:hover > .image-preview__overlay[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.2)}.image-preview[_ngcontent-%COMP%]:hover > .image-preview__zoom-icon[_ngcontent-%COMP%]{display:flex}.image-preview__overlay[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;transition:background-color .2s linear}.image-preview__zoom-icon[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;display:none;justify-content:center;align-items:center;font-size:1.8em}.image-preview__thumbnail[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:scale-down}.image-preview__full-size[_ngcontent-%COMP%]{max-width:calc(100vw - 34px);max-height:calc(100vh - 200px - 2em);width:auto;height:auto;margin:auto;display:block}.spinner[_ngcontent-%COMP%]{width:10em;height:10em;margin:auto;display:flex;justify-content:center}.hidden[_ngcontent-%COMP%]{display:none}"]}),t}();e.QualityMapPreviewComponent=g,r.ɵsetClassMetadata(g,[{type:i.Component,args:[{selector:"quality-map-preview",templateUrl:"QualityMapPreview.ng.html",styleUrls:["QualityMapPreview.ng.scss"]}]}],function(){return[{type:a.TrackingService},{type:s.MatDialog}]},{url:[{type:i.Input}],thumbnailUrl:[{type:i.Input}],name:[{type:i.Input}],viewMode:[{type:i.Input}],preview:[{type:i.ViewChild,args:["preview",{static:!1}]}]})},1952:function(t,e,n){"use strict";var i=this&&this.__awaiter||function(t,e,n,i){return new(n||(n=Promise))(function(o,r){function a(t){try{l(i.next(t))}catch(t){r(t)}}function s(t){try{l(i.throw(t))}catch(t){r(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(a,s)}l((i=i.apply(t,e||[])).next())})},o=this&&this.__generator||function(t,e){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(6===r[0]&&a.label<o[1]){a.label=o[1],o=r;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(r);break}o[2]&&a.ops.pop(),a.trys.pop();continue}r=e.call(t,a)}catch(t){r=[6,t],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}};Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),a=(n(9),n(2071)),s=n(8),l=n(440),c=(n(21),n(2072)),u=n(1953),d=n(7),p=n(0),m=n(9),h=n(21),f=n(168),g=n(440),v=n(3),b=n(625),y=n(1692);function _(t,e){if(1&t&&(p.ɵɵelementStart(0,"div",7),p.ɵɵelement(1,"img",8),p.ɵɵelementEnd()),2&t){var n=p.ɵɵnextContext(2);p.ɵɵadvance(1),p.ɵɵproperty("src",n.spinnerIcon,p.ɵɵsanitizeUrl)}}var C=function(){return{fileExtension:"(.ply)"}};function x(t,e){if(1&t){var n=p.ɵɵgetCurrentView();p.ɵɵelementStart(0,"li"),p.ɵɵelementStart(1,"a",9),p.ɵɵlistener("click",function(){p.ɵɵrestoreView(n);var t=p.ɵɵnextContext(3);return t.onDownloadLinkClick(t.fileType.COLOURED_PLY)}),p.ɵɵtext(2),p.ɵɵelementEnd(),p.ɵɵelementEnd()}if(2&t){var i=p.ɵɵnextContext(2).$implicit,o=p.ɵɵnextContext();p.ɵɵadvance(1),p.ɵɵproperty("href",o.plyColoredPointCloudSignedUrl,p.ɵɵsanitizeUrl),p.ɵɵadvance(1),p.ɵɵtextInterpolate1(" ",i("Colored point cloud {fileExtension}",p.ɵɵpureFunction0(2,C))," ")}}var w=function(){return{fileExtension:"(.e57)"}};function S(t,e){if(1&t){var n=p.ɵɵgetCurrentView();p.ɵɵelementStart(0,"li"),p.ɵɵelementStart(1,"a",9),p.ɵɵlistener("click",function(){p.ɵɵrestoreView(n);var t=p.ɵɵnextContext(3);return t.onDownloadLinkClick(t.fileType.COLOURED_E57)}),p.ɵɵtext(2),p.ɵɵelementEnd(),p.ɵɵelementEnd()}if(2&t){var i=p.ɵɵnextContext(2).$implicit,o=p.ɵɵnextContext();p.ɵɵadvance(1),p.ɵɵproperty("href",o.e57ColoredPointCloudSignedUrl,p.ɵɵsanitizeUrl),p.ɵɵadvance(1),p.ɵɵtextInterpolate1(" ",i("Colored point cloud {fileExtension}",p.ɵɵpureFunction0(2,w))," ")}}function P(t,e){if(1&t){var n=p.ɵɵgetCurrentView();p.ɵɵelementStart(0,"li"),p.ɵɵelementStart(1,"a",9),p.ɵɵlistener("click",function(){p.ɵɵrestoreView(n);var t=p.ɵɵnextContext(3);return t.onDownloadLinkClick(t.fileType.COLOURED_PLY_CONTROL_POINTS)}),p.ɵɵtext(2),p.ɵɵelementEnd(),p.ɵɵelementEnd()}if(2&t){var i=p.ɵɵnextContext(2).$implicit,o=p.ɵɵnextContext();p.ɵɵadvance(1),p.ɵɵproperty("href",o.plyColoredPointCloudCpSignedUrl,p.ɵɵsanitizeUrl),p.ɵɵadvance(1),p.ɵɵtextInterpolate1(" ",i("Colored point cloud in control points coordinate system {fileExtension}",p.ɵɵpureFunction0(2,C))," ")}}function O(t,e){if(1&t){var n=p.ɵɵgetCurrentView();p.ɵɵelementStart(0,"li"),p.ɵɵelementStart(1,"a",9),p.ɵɵlistener("click",function(){p.ɵɵrestoreView(n);var t=p.ɵɵnextContext(3);return t.onDownloadLinkClick(t.fileType.COLOURED_E57_CONTROL_POINTS)}),p.ɵɵtext(2),p.ɵɵelementEnd(),p.ɵɵelementEnd()}if(2&t){var i=p.ɵɵnextContext(2).$implicit,o=p.ɵɵnextContext();p.ɵɵadvance(1),p.ɵɵproperty("href",o.e57ColoredPointCloudCpSignedUrl,p.ɵɵsanitizeUrl),p.ɵɵadvance(1),p.ɵɵtextInterpolate1(" ",i("Colored point cloud in control points coordinate system {fileExtension}",p.ɵɵpureFunction0(2,w))," ")}}function M(t,e){if(1&t){var n=p.ɵɵgetCurrentView();p.ɵɵelementStart(0,"li"),p.ɵɵelementStart(1,"a",9),p.ɵɵlistener("click",function(){p.ɵɵrestoreView(n);var t=p.ɵɵnextContext(3);return t.onDownloadLinkClick(t.fileType.RAW_PLY)}),p.ɵɵtext(2),p.ɵɵelementEnd(),p.ɵɵelementEnd()}if(2&t){var i=p.ɵɵnextContext(2).$implicit,o=p.ɵɵnextContext();p.ɵɵadvance(1),p.ɵɵproperty("href",o.plyRawPointCloudSignedUrl,p.ɵɵsanitizeUrl),p.ɵɵadvance(1),p.ɵɵtextInterpolate1(" ",i("Raw point cloud {fileExtension}",p.ɵɵpureFunction0(2,C))," ")}}function k(t,e){if(1&t){var n=p.ɵɵgetCurrentView();p.ɵɵelementStart(0,"li"),p.ɵɵelementStart(1,"a",9),p.ɵɵlistener("click",function(){p.ɵɵrestoreView(n);var t=p.ɵɵnextContext(3);return t.onDownloadLinkClick(t.fileType.RAW_E57)}),p.ɵɵtext(2),p.ɵɵelementEnd(),p.ɵɵelementEnd()}if(2&t){var i=p.ɵɵnextContext(2).$implicit,o=p.ɵɵnextContext();p.ɵɵadvance(1),p.ɵɵproperty("href",o.e57RawPointCloudSignedUrl,p.ɵɵsanitizeUrl),p.ɵɵadvance(1),p.ɵɵtextInterpolate1(" ",i("Raw point cloud {fileExtension}",p.ɵɵpureFunction0(2,w))," ")}}function E(t,e){if(1&t){var n=p.ɵɵgetCurrentView();p.ɵɵelementStart(0,"li"),p.ɵɵelementStart(1,"a",9),p.ɵɵlistener("click",function(){p.ɵɵrestoreView(n);var t=p.ɵɵnextContext(3);return t.onDownloadLinkClick(t.fileType.RAW_PLY_CONTROL_POINTS)}),p.ɵɵtext(2),p.ɵɵelementEnd(),p.ɵɵelementEnd()}if(2&t){var i=p.ɵɵnextContext(2).$implicit,o=p.ɵɵnextContext();p.ɵɵadvance(1),p.ɵɵproperty("href",o.plyRawPointCloudCpSignedUrl,p.ɵɵsanitizeUrl),p.ɵɵadvance(1),p.ɵɵtextInterpolate1(" ",i("Raw point cloud in control points coordinate system {fileExtension}",p.ɵɵpureFunction0(2,C))," ")}}function I(t,e){if(1&t){var n=p.ɵɵgetCurrentView();p.ɵɵelementStart(0,"li"),p.ɵɵelementStart(1,"a",9),p.ɵɵlistener("click",function(){p.ɵɵrestoreView(n);var t=p.ɵɵnextContext(3);return t.onDownloadLinkClick(t.fileType.RAW_E57_CONTROL_POINTS)}),p.ɵɵtext(2),p.ɵɵelementEnd(),p.ɵɵelementEnd()}if(2&t){var i=p.ɵɵnextContext(2).$implicit,o=p.ɵɵnextContext();p.ɵɵadvance(1),p.ɵɵproperty("href",o.e57RawPointCloudCpSignedUrl,p.ɵɵsanitizeUrl),p.ɵɵadvance(1),p.ɵɵtextInterpolate1(" ",i("Raw point cloud in control points coordinate system {fileExtension}",p.ɵɵpureFunction0(2,w))," ")}}var D=function(){return{fileExtension:"(.log)"}};function T(t,e){if(1&t){var n=p.ɵɵgetCurrentView();p.ɵɵelementStart(0,"li"),p.ɵɵelementStart(1,"a",9),p.ɵɵlistener("click",function(){p.ɵɵrestoreView(n);var t=p.ɵɵnextContext(3);return t.onDownloadLinkClick(t.fileType.CONTROL_POINTS_LOG)}),p.ɵɵtext(2),p.ɵɵelementEnd(),p.ɵɵelementEnd()}if(2&t){var i=p.ɵɵnextContext(2).$implicit,o=p.ɵɵnextContext();p.ɵɵadvance(1),p.ɵɵproperty("href",o.measuredControlPointsVerificationFileSignedUrl,p.ɵɵsanitizeUrl),p.ɵɵadvance(1),p.ɵɵtextInterpolate1(" ",i("Control Points verification file {fileExtension}",p.ɵɵpureFunction0(2,D))," ")}}var R=function(){return{fileExtension:"(.nvd)"}};function j(t,e){if(1&t){var n=p.ɵɵgetCurrentView();p.ɵɵelementStart(0,"li"),p.ɵɵelementStart(1,"a",9),p.ɵɵlistener("click",function(){p.ɵɵrestoreView(n);var t=p.ɵɵnextContext(3);return t.onDownloadLinkClick(t.fileType.NVD_ARCHIVE)}),p.ɵɵtext(2),p.ɵɵelementEnd(),p.ɵɵelementEnd()}if(2&t){var i=p.ɵɵnextContext(2).$implicit,o=p.ɵɵnextContext();p.ɵɵadvance(1),p.ɵɵproperty("href",o.datasetArchiveFileSignedUrl,p.ɵɵsanitizeUrl),p.ɵɵadvance(1),p.ɵɵtextInterpolate1(" ",i("Dataset Archive {fileExtension}",p.ɵɵpureFunction0(2,R))," ")}}function A(t,e){if(1&t&&(p.ɵɵelementStart(0,"ul"),p.ɵɵtemplate(1,x,3,3,"li",4),p.ɵɵtemplate(2,S,3,3,"li",4),p.ɵɵtemplate(3,P,3,3,"li",4),p.ɵɵtemplate(4,O,3,3,"li",4),p.ɵɵtemplate(5,M,3,3,"li",4),p.ɵɵtemplate(6,k,3,3,"li",4),p.ɵɵtemplate(7,E,3,3,"li",4),p.ɵɵtemplate(8,I,3,3,"li",4),p.ɵɵtemplate(9,T,3,3,"li",4),p.ɵɵtemplate(10,j,3,3,"li",4),p.ɵɵelementEnd()),2&t){var n=p.ɵɵnextContext(2);p.ɵɵadvance(1),p.ɵɵproperty("ngIf",n.plyColoredPointCloudSignedUrl),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",n.e57ColoredPointCloudSignedUrl),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",n.plyColoredPointCloudCpSignedUrl),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",n.e57ColoredPointCloudCpSignedUrl),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",n.plyRawPointCloudSignedUrl),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",n.e57RawPointCloudSignedUrl),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",n.plyRawPointCloudCpSignedUrl),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",n.e57RawPointCloudCpSignedUrl),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",n.measuredControlPointsVerificationFileSignedUrl),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",n.datasetArchiveFileSignedUrl)}}var F=function(t){return{datasetName:t}};function N(t,e){if(1&t){var n=p.ɵɵgetCurrentView();p.ɵɵelementContainerStart(0),p.ɵɵelementStart(1,"h4",1),p.ɵɵtext(2),p.ɵɵelementEnd(),p.ɵɵelementStart(3,"mat-dialog-content"),p.ɵɵelement(4,"p",2),p.ɵɵtemplate(5,_,2,1,"div",3),p.ɵɵtemplate(6,A,11,10,"ul",4),p.ɵɵelementEnd(),p.ɵɵelementStart(7,"mat-dialog-actions",5),p.ɵɵelementStart(8,"button",6),p.ɵɵlistener("click",function(){return p.ɵɵrestoreView(n),p.ɵɵnextContext().onOkClick()}),p.ɵɵtext(9),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementContainerEnd()}if(2&t){var i=e.$implicit,o=p.ɵɵnextContext();p.ɵɵadvance(2),p.ɵɵtextInterpolate(i("Download Processed Data")),p.ɵɵadvance(2),p.ɵɵproperty("innerHTML",i("Please select the file of {datasetName} you want to download",p.ɵɵpureFunction1(5,F,o.getDatasetNameBold())),p.ɵɵsanitizeHtml),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",o.areUrlsBeingSigned),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",!o.areUrlsBeingSigned),p.ɵɵadvance(3),p.ɵɵtextInterpolate(i("Okay"))}}var L=function(){function t(t,e,i){this.RestService=t,this.TrackingService=e,this.data=i,this.fileType=c.ProcessingResultFileType,this.spinnerIcon=n(94),this.DOWNLOAD_SIGNED_URLS="storage/signed_dataset_data_urls",this.hasDownloaded=!1,this.dataset=this.data.dataset,this.startFetchingSignedUrls().catch(s.handleWarning)}return t.prototype.startFetchingSignedUrls=function(){return i(this,void 0,void 0,function(){var t;return o(this,function(e){switch(e.label){case 0:return this.areUrlsBeingSigned=!0,[4,this.getSignedUrls(this.DOWNLOAD_SIGNED_URLS)];case 1:return t=e.sent(),this.plyRawPointCloudSignedUrl=t.plyRawPointCloudSignedUrl,this.e57RawPointCloudSignedUrl=t.e57RawPointCloudSignedUrl,this.plyColoredPointCloudSignedUrl=t.plyColoredPointCloudSignedUrl,this.e57ColoredPointCloudSignedUrl=t.e57ColoredPointCloudSignedUrl,this.measuredControlPointsVerificationFileSignedUrl=t.measuredControlPointsVerificationFileSignedUrl,this.datasetArchiveFileSignedUrl=t.datasetArchiveFileSignedUrl,this.e57RawPointCloudCpSignedUrl=t.e57RawPointCloudCpSignedUrl,this.plyRawPointCloudCpSignedUrl=t.plyRawPointCloudCpSignedUrl,this.e57ColoredPointCloudCpSignedUrl=t.e57ColoredPointCloudCpSignedUrl,this.plyColoredPointCloudCpSignedUrl=t.plyColoredPointCloudCpSignedUrl,this.areUrlsBeingSigned=!1,[2]}})})},t.prototype.getSignedUrls=function(t){return i(this,void 0,void 0,function(){var e,n,i;return o(this,function(o){switch(o.label){case 0:return e=this.dataset.getDirectoryName(),[4,this.RestService.getApi(t,{datasetName:e},void 0,!1)];case 1:return n=o.sent(),(i=new a.SignedUrls).fillFromData(n),[2,i]}})})},t.prototype.getDatasetNameBold=function(){return"<b>"+d.escape(this.dataset.name)+"</b>"},t.prototype.onDownloadLinkClick=function(t){this.hasDownloaded=!0,this.TrackingService.trackPreDefinedEvent((new c.ProcessingResultDownloadedEvent).withFormat(t))},t.prototype.onOkClick=function(){this.TrackingService.trackPreDefinedEvent(u.ProcessingResultDownloadDialogEvent.closed(this.hasDownloaded))},t.ɵfac=function(e){return new(e||t)(p.ɵɵdirectiveInject(m.RestService),p.ɵɵdirectiveInject(h.TrackingService),p.ɵɵdirectiveInject(l.MAT_DIALOG_DATA))},t.ɵcmp=p.ɵɵdefineComponent({type:t,selectors:[["dataset-download-dialog"]],decls:1,vars:0,consts:[[4,"transloco"],["mat-dialog-title",""],[3,"innerHTML"],["class","spinner",4,"ngIf"],[4,"ngIf"],["align","end"],["mat-flat-button","","color","primary","mat-dialog-close","",3,"click"],[1,"spinner"],[3,"src"],[3,"href","click"]],template:function(t,e){1&t&&p.ɵɵtemplate(0,N,10,7,"ng-container",0)},directives:[f.TranslocoDirective,g.MatDialogTitle,g.MatDialogContent,v.NgIf,g.MatDialogActions,b.MatButton,g.MatDialogClose,y.AddBaseUrlDirective],styles:[".material-icons[_ngcontent-%COMP%]{border:1px solid #d3d3d3;width:40px;padding-left:9px;font-size:20px;height:30px;line-height:28px;border-radius:4px;color:#333332}.material-icons[_ngcontent-%COMP%]:hover{background-color:#e6e6e6}.spinner[_ngcontent-%COMP%]{width:10em;height:10em;margin:auto;display:flex;justify-content:center}.modal-header[_ngcontent-%COMP%]{padding-right:15px}.modal_close[_ngcontent-%COMP%]{margin:5px 0 5px auto;cursor:pointer}"]}),t}();e.DatasetDownloadDialogComponent=L,p.ɵsetClassMetadata(L,[{type:r.Component,args:[{selector:"dataset-download-dialog",templateUrl:"./DatasetDownloadDialog.ng.html",styleUrls:["./DatasetDownloadDialog.ng.scss"]}]}],function(){return[{type:m.RestService},{type:h.TrackingService},{type:void 0,decorators:[{type:r.Inject,args:[l.MAT_DIALOG_DATA]}]}]},null)},1953:function(t,e,n){"use strict";var i,o=this&&this.__extends||(i=function(t,e){return(i=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])})(t,e)},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var r=n(64),a=n(1862),s=function(t){function e(){return t.call(this,"processingResultDownloadDialogEvent")||this}return o(e,t),e.prototype.fromView=function(t){return this.withData("fromView",t),this},e.opened=function(){return(new e).fromView(a.ProcessingTaskView.PROCESSED_DATA).withData("dialogEvent","opened")},e.closed=function(t){return(new e).withData("dialogEvent","closed").withData("isDatasetDownloaded",t)},e}(r.TrackingEvent);e.ProcessingResultDownloadDialogEvent=s},1954:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n(1),o=n(26);function r(t){return function(e){return e.lift(new a(t))}}var a=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.total))},t}(),s=function(t){function e(e,n){var i=t.call(this,e)||this;return i.total=n,i.count=0,i}return i.c(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(o.a)},1955:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=(n(1851),n(1948)),r=(n(21),n(20)),a=n(168),s=n(1956),l=n(1869),c=n(0),u=n(21),d=n(3);function p(t,e){1&t&&(c.ɵɵelementStart(0,"div",15),c.ɵɵelementStart(1,"i",16),c.ɵɵtext(2," inbox "),c.ɵɵelementEnd(),c.ɵɵelementEnd())}function m(t,e){1&t&&(c.ɵɵelementStart(0,"div",15),c.ɵɵelementStart(1,"i",16),c.ɵɵtext(2," settings "),c.ɵɵelementEnd(),c.ɵɵelementEnd())}function h(t,e){1&t&&(c.ɵɵelementStart(0,"div",15),c.ɵɵelementStart(1,"i",17),c.ɵɵtext(2," check_circle "),c.ɵɵelementEnd(),c.ɵɵelementEnd())}var f=function(){function t(t){this.TrackingService=t,this.ProcessingTaskCreationStep=o.ProcessingTaskCreationStep,this.stateUpdated=new i.EventEmitter}return t.prototype.isNextButtonEnabled=function(){return!this.startProcessingDisabled&&!r.isBlank(this.processingTask.name)&&this.processingTask.datasets&&this.processingTask.datasets.length>0},t.prototype.getButtonTitle=function(){return this.currentState===o.ProcessingTaskCreationStep.CONFIGURE_SETTINGS?"Start Processing":"Next"},t.prototype.getTimeEstimationText=function(){var t=this.processingTask.timeEstimator.range;return 0===t.length?void 0:1===t.length?1===t[0]?a.translate("Processing will take less than one hour"):a.translate("Processing will take about {{value}} hours",{value:t[0]}):a.translate("Processing will take between {{min}} and {{max}} hours",{min:t[0],max:t[1]})},t.prototype.nextButtonClicked=function(){var t=this.processingTask.dataSetCountByDevice;switch(this.currentState){case o.ProcessingTaskCreationStep.SELECT_DATASETS:this.stateUpdated.emit(o.ProcessingTaskCreationStep.CONFIGURE_SETTINGS),this.TrackingService.trackProcessingTaskNextButtonClickedEvent();break;case o.ProcessingTaskCreationStep.CONFIGURE_SETTINGS:this.TrackingService.trackPreDefinedEvent(s.ProcessingTaskStatusEvent.submitted().withPreset(this.processingTask.config.pointCloudMode).withPreset(this.processingTask.config.pointCloudPreset).withControlPointCount(this.processingTask.config.measuredControlPoints.length).withDatasets(l.DatasetDeviceInfo.VLX,t.get(l.DatasetDeviceInfo.VLX)).withDatasets(l.DatasetDeviceInfo.M6,t.get(l.DatasetDeviceInfo.M6))),this.stateUpdated.emit(o.ProcessingTaskCreationStep.START_PROCESSING);break;default:return}},t.prototype.menuItemClicked=function(t){this.TrackingService.trackProcessingTaskCreationStepButtonClickedEvent(t),this.isNextButtonEnabled()&&this.stateUpdated.emit(t)},t.prototype.isCompleted=function(t){return t===o.ProcessingTaskCreationStep.SELECT_DATASETS?this.currentState===o.ProcessingTaskCreationStep.CONFIGURE_SETTINGS||this.currentState===o.ProcessingTaskCreationStep.START_PROCESSING:t===o.ProcessingTaskCreationStep.CONFIGURE_SETTINGS&&this.currentState===o.ProcessingTaskCreationStep.START_PROCESSING},t.prototype.isCurrentState=function(t){return t===this.currentState},t.ɵfac=function(e){return new(e||t)(c.ɵɵdirectiveInject(u.TrackingService))},t.ɵcmp=c.ɵɵdefineComponent({type:t,selectors:[["processing-task-creation-progress-menu"]],inputs:{processingTask:"processingTask",currentState:"currentState",startProcessingDisabled:"startProcessingDisabled"},outputs:{stateUpdated:"stateUpdated"},decls:26,vars:14,consts:[[1,"list-group","menu-shadow"],[1,"list-group-item",3,"click"],[1,"row","padding-vertical","vertical-align"],["class","col-xs-1",4,"ngIf","ngIfElse"],[1,"col-xs-10"],[1,"list-group-item-heading"],[1,"list-group-item-text"],[1,"row","padding-vertical"],["checkTick",""],[1,"bottom-right-fixed"],[1,"row","padding-top"],[1,"col-xs-12"],[1,"estimation-text"],["type","button",1,"btn","btn-primary","btn-block","menu-shadow",3,"disabled","click"],[1,"glyphicon","glyphicon-arrow-right","pull-right"],[1,"col-xs-1"],[1,"material-icons"],[1,"material-icons","green-tick-lg"]],template:function(t,e){if(1&t&&(c.ɵɵelementStart(0,"ul",0),c.ɵɵelementStart(1,"li",1),c.ɵɵlistener("click",function(){return e.menuItemClicked(e.ProcessingTaskCreationStep.SELECT_DATASETS)}),c.ɵɵelementStart(2,"div",2),c.ɵɵtemplate(3,p,3,0,"div",3),c.ɵɵelementStart(4,"div",4),c.ɵɵelementStart(5,"h4",5),c.ɵɵtext(6),c.ɵɵelementEnd(),c.ɵɵelementStart(7,"p",6),c.ɵɵtext(8),c.ɵɵelementEnd(),c.ɵɵelementEnd(),c.ɵɵelementEnd(),c.ɵɵelementEnd(),c.ɵɵelementStart(9,"li",1),c.ɵɵlistener("click",function(){return e.menuItemClicked(e.ProcessingTaskCreationStep.CONFIGURE_SETTINGS)}),c.ɵɵelementStart(10,"div",7),c.ɵɵtemplate(11,m,3,0,"div",3),c.ɵɵelementStart(12,"div",4),c.ɵɵelement(13,"h4",5),c.ɵɵelementStart(14,"p",6),c.ɵɵtext(15),c.ɵɵelementEnd(),c.ɵɵelementEnd(),c.ɵɵelementEnd(),c.ɵɵelementEnd(),c.ɵɵelementEnd(),c.ɵɵtemplate(16,h,3,0,"ng-template",null,8,c.ɵɵtemplateRefExtractor),c.ɵɵelementStart(18,"div",9),c.ɵɵelementStart(19,"div",10),c.ɵɵelementStart(20,"div",11),c.ɵɵelementStart(21,"p",12),c.ɵɵtext(22),c.ɵɵelementEnd(),c.ɵɵelementStart(23,"button",13),c.ɵɵlistener("click",function(){return e.nextButtonClicked()}),c.ɵɵtext(24),c.ɵɵelement(25,"span",14),c.ɵɵelementEnd(),c.ɵɵelementEnd(),c.ɵɵelementEnd(),c.ɵɵelementEnd()),2&t){var n=c.ɵɵreference(17);c.ɵɵadvance(1),c.ɵɵclassProp("active",e.isCurrentState(e.ProcessingTaskCreationStep.SELECT_DATASETS)),c.ɵɵadvance(2),c.ɵɵproperty("ngIf",!e.isCompleted(e.ProcessingTaskCreationStep.SELECT_DATASETS))("ngIfElse",n),c.ɵɵadvance(3),c.ɵɵtextInterpolate(e.processingTask.datasets.length),c.ɵɵadvance(2),c.ɵɵtextInterpolate(e.ProcessingTaskCreationStep.SELECT_DATASETS),c.ɵɵadvance(1),c.ɵɵclassProp("active",e.isCurrentState(e.ProcessingTaskCreationStep.CONFIGURE_SETTINGS)),c.ɵɵadvance(2),c.ɵɵproperty("ngIf",!e.isCompleted(e.ProcessingTaskCreationStep.CONFIGURE_SETTINGS))("ngIfElse",n),c.ɵɵadvance(4),c.ɵɵtextInterpolate(e.ProcessingTaskCreationStep.CONFIGURE_SETTINGS),c.ɵɵadvance(7),c.ɵɵtextInterpolate(e.getTimeEstimationText()),c.ɵɵadvance(1),c.ɵɵproperty("disabled",!e.isNextButtonEnabled()),c.ɵɵadvance(1),c.ɵɵtextInterpolate1(" ",e.getButtonTitle()," ")}},directives:[d.NgIf],styles:[".menu-shadow[_ngcontent-%COMP%]{box-shadow:0 3px 12px rgba(0,0,0,.23),0 3px 12px rgba(0,0,0,.16)}.btn.btn-primary.btn-block[_ngcontent-%COMP%], .btn.btn-primary.btn-block[_ngcontent-%COMP%]:hover{color:#fff;background-color:#3398c7;background-image:linear-gradient(180deg,#3398c7,#3398c7);border-color:#3398c7}.list-group-item.active[_ngcontent-%COMP%]{background-color:#ededed;border-color:#ededed;color:#000}.list-group-item.active[_ngcontent-%COMP%] .list-group-item-text[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{color:#000}.green-tick-lg[_ngcontent-%COMP%]{color:#42d4a6;font-size:28px}.vertical-align[_ngcontent-%COMP%]{display:flex;align-items:center}.bottom-right-fixed[_ngcontent-%COMP%]{position:fixed;bottom:50px;right:50px;width:330px}.estimation-text[_ngcontent-%COMP%]{color:#9e9e9e;margin-bottom:20px}li[_ngcontent-%COMP%]{cursor:pointer}"]}),t}();e.ProcessingTaskCreationProgressMenuComponent=f,c.ɵsetClassMetadata(f,[{type:i.Component,args:[{selector:"processing-task-creation-progress-menu",templateUrl:"./ProcessingTaskCreationProgressMenu.ng.html",styleUrls:["./ProcessingTaskCreationProgressMenu.ng.scss"]}]}],function(){return[{type:u.TrackingService}]},{processingTask:[{type:i.Input}],currentState:[{type:i.Input}],startProcessingDisabled:[{type:i.Input}],stateUpdated:[{type:i.Output}]})},1956:function(t,e,n){"use strict";var i,o=this&&this.__extends||(i=function(t,e){return(i=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])})(t,e)},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var r,a=n(64);!function(t){t.SUBMITTED="SUBMITTED",t.CANCELED="CANCELED"}(r=e.ProcessingTaskStatus||(e.ProcessingTaskStatus={}));var s=function(t){function e(e){var n=t.call(this,"processingTaskStatusEvent")||this;return n.withData("toStatus",e),n.withData("anchorFile",!1),n}return o(e,t),e.prototype.withDatasets=function(t,e){return this.withData(t+"Datasets",e),this},e.prototype.withPreset=function(t){return this.withData("preset",t),this},e.prototype.withControlPointCount=function(t){return this.withData("anchorFile",!0),this.withData("controlPointCount",t),this},e.submitted=function(){return new e(r.SUBMITTED)},e.canceled=function(){return new e(r.CANCELED)},e}(a.TrackingEvent);e.ProcessingTaskStatusEvent=s},1957:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(1846),r=n(0),a=function(){function t(t){this.value=t}return t.ɵfac=function(e){return new(e||t)(r.ɵɵdirectiveInject(o.CELL_VALUE_TOKEN))},t.ɵcmp=r.ɵɵdefineComponent({type:t,selectors:[["cell-default"]],decls:1,vars:1,template:function(t,e){1&t&&r.ɵɵtext(0),2&t&&r.ɵɵtextInterpolate(e.value)},encapsulation:2}),t}();e.DefaultCellComponent=a,r.ɵsetClassMetadata(a,[{type:i.Component,args:[{selector:"cell-default",template:"{{value}}"}]}],function(){return[{type:void 0,decorators:[{type:i.Inject,args:[o.CELL_VALUE_TOKEN]}]}]},null)},1958:function(t,e,n){"use strict";var i=this&&this.__awaiter||function(t,e,n,i){return new(n||(n=Promise))(function(o,r){function a(t){try{l(i.next(t))}catch(t){r(t)}}function s(t){try{l(i.throw(t))}catch(t){r(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(a,s)}l((i=i.apply(t,e||[])).next())})},o=this&&this.__generator||function(t,e){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(6===r[0]&&a.label<o[1]){a.label=o[1],o=r;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(r);break}o[2]&&a.ops.pop(),a.trys.pop();continue}r=e.call(t,a)}catch(t){r=[6,t],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}},r=this&&this.__spreadArrays||function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),o=0;for(e=0;e<n;e++)for(var r=arguments[e],a=0,s=r.length;a<s;a++,o++)i[o]=r[a];return i};Object.defineProperty(e,"__esModule",{value:!0});var a=n(0),s=(n(440),n(1949)),l=(n(1851),n(1869)),c=n(64),u=n(30),d=(n(21),n(168)),p=n(2074),m=n(2075),h=n(1909),f=n(8),g=(n(1701),n(1959)),v=n(1913),b=(n(1964),n(1965),n(60)),y=n(2081),_=n(2082),C=(n(130),n(638)),x=n(0),w=n(1964),S=n(1701),P=n(21),O=n(1965),M=n(130),k=n(440),E=n(168),I=n(1698),D=n(1859),T=n(624),R=n(1865),j=n(3),A=n(1689),F=n(1909),N=n(1913),L=n(1966),U=n(625),V=n(1709),z=n(1967),B=n(1968),q=n(1692),H=["measuredControlPointsValidationErrorsModal"];function G(t,e){if(1&t){var n=x.ɵɵgetCurrentView();x.ɵɵelementContainerStart(0),x.ɵɵelementStart(1,"div",3),x.ɵɵelementStart(2,"label",9),x.ɵɵtext(3),x.ɵɵelementEnd(),x.ɵɵelementStart(4,"div",5),x.ɵɵelementStart(5,"mat-button-toggle-group",18),x.ɵɵlistener("change",function(t){return x.ɵɵrestoreView(n),x.ɵɵnextContext(2).setVLXPointCloudPreset(t.value)}),x.ɵɵelementStart(6,"mat-button-toggle",19),x.ɵɵtext(7),x.ɵɵelementEnd(),x.ɵɵelementStart(8,"mat-button-toggle",19),x.ɵɵtext(9),x.ɵɵelementEnd(),x.ɵɵelementStart(10,"mat-button-toggle",19),x.ɵɵtext(11),x.ɵɵelementEnd(),x.ɵɵelementEnd(),x.ɵɵelementEnd(),x.ɵɵelementStart(12,"button",20),x.ɵɵlistener("click",function(){return x.ɵɵrestoreView(n),x.ɵɵnextContext(2).toggleVLXDetails()}),x.ɵɵelementStart(13,"span"),x.ɵɵtext(14),x.ɵɵelementEnd(),x.ɵɵelementStart(15,"mat-icon"),x.ɵɵtext(16,"chevron_right"),x.ɵɵelementEnd(),x.ɵɵelementEnd(),x.ɵɵelementEnd(),x.ɵɵelement(17,"vlx-presets-table",21),x.ɵɵelementContainerEnd()}if(2&t){var i=x.ɵɵnextContext().$implicit,o=x.ɵɵnextContext();x.ɵɵadvance(3),x.ɵɵtextInterpolate1(" ",i("VLX Settings")," "),x.ɵɵadvance(2),x.ɵɵproperty("value",o.processingTask.config.pointCloudPreset),x.ɵɵadvance(1),x.ɵɵproperty("value",o.PointCloudPreset.HIGH_CONFIDENCE),x.ɵɵadvance(1),x.ɵɵtextInterpolate(i("High Confidence")),x.ɵɵadvance(1),x.ɵɵproperty("value",o.PointCloudPreset.STANDARD),x.ɵɵadvance(1),x.ɵɵtextInterpolate(i("Standard")),x.ɵɵadvance(1),x.ɵɵproperty("value",o.PointCloudPreset.OUTDOORS),x.ɵɵadvance(1),x.ɵɵtextInterpolate(i("Outdoor")),x.ɵɵadvance(3),x.ɵɵtextInterpolate(i("Details")),x.ɵɵadvance(1),x.ɵɵproperty("@rotateChevron",o.vlxModesExpanded?"down":"up"),x.ɵɵadvance(2),x.ɵɵproperty("expanded",o.vlxModesExpanded)}}function Q(t,e){if(1&t){var n=x.ɵɵgetCurrentView();x.ɵɵelementContainerStart(0),x.ɵɵelementStart(1,"div",3),x.ɵɵelementStart(2,"label",9),x.ɵɵtext(3),x.ɵɵelementEnd(),x.ɵɵelementStart(4,"div",5),x.ɵɵelementStart(5,"mat-button-toggle-group",18),x.ɵɵlistener("change",function(t){return x.ɵɵrestoreView(n),x.ɵɵnextContext(2).setM6PointCloudPreset(t.value)}),x.ɵɵelementStart(6,"mat-button-toggle",19),x.ɵɵtext(7),x.ɵɵelementEnd(),x.ɵɵelementStart(8,"mat-button-toggle",19),x.ɵɵtext(9),x.ɵɵelementEnd(),x.ɵɵelementStart(10,"mat-button-toggle",19),x.ɵɵtext(11),x.ɵɵelementEnd(),x.ɵɵelementEnd(),x.ɵɵelementEnd(),x.ɵɵelementStart(12,"button",20),x.ɵɵlistener("click",function(){return x.ɵɵrestoreView(n),x.ɵɵnextContext(2).toggleM6Details()}),x.ɵɵelementStart(13,"span"),x.ɵɵtext(14),x.ɵɵelementEnd(),x.ɵɵelementStart(15,"mat-icon"),x.ɵɵtext(16,"chevron_right"),x.ɵɵelementEnd(),x.ɵɵelementEnd(),x.ɵɵelementEnd(),x.ɵɵelement(17,"m6-presets-table",21),x.ɵɵelementContainerEnd()}if(2&t){var i=x.ɵɵnextContext().$implicit,o=x.ɵɵnextContext();x.ɵɵadvance(3),x.ɵɵtextInterpolate1(" ",i("M6 Settings")," "),x.ɵɵadvance(2),x.ɵɵproperty("value",o.processingTask.config.pointCloudMode),x.ɵɵadvance(1),x.ɵɵproperty("value",o.PointCloudMode.SHARP_EDGES),x.ɵɵadvance(1),x.ɵɵtextInterpolate(i("Sharp Edges")),x.ɵɵadvance(1),x.ɵɵproperty("value",o.PointCloudMode.BALANCED),x.ɵɵadvance(1),x.ɵɵtextInterpolate(i("Balanced")),x.ɵɵadvance(1),x.ɵɵproperty("value",o.PointCloudMode.SMOOTH_SURFACES),x.ɵɵadvance(1),x.ɵɵtextInterpolate(i("Smooth Surfaces")),x.ɵɵadvance(3),x.ɵɵtextInterpolate(i("Details")),x.ɵɵadvance(1),x.ɵɵproperty("@rotateChevron",o.m6ModesExpanded?"down":"up"),x.ɵɵadvance(2),x.ɵɵproperty("expanded",o.m6ModesExpanded)}}function W(t,e){if(1&t&&(x.ɵɵelementStart(0,"span",22),x.ɵɵelementStart(1,"div",23),x.ɵɵelement(2,"img",24),x.ɵɵelementEnd(),x.ɵɵelementEnd()),2&t){var n=x.ɵɵnextContext(2);x.ɵɵadvance(2),x.ɵɵproperty("src",n.spinnerSrc,x.ɵɵsanitizeUrl)}}function Z(t,e){1&t&&x.ɵɵelement(0,"i",33)}function $(t,e){1&t&&x.ɵɵelement(0,"i",34)}function K(t,e){if(1&t&&(x.ɵɵelementStart(0,"div"),x.ɵɵtext(1),x.ɵɵelementEnd()),2&t){var n=x.ɵɵnextContext(3);x.ɵɵclassProp("text-success",n.isMeasuredControlPointsFileValid&&n.allCpsLinked)("text-danger",!n.isMeasuredControlPointsFileValid||!n.allCpsLinked),x.ɵɵadvance(1),x.ɵɵtextInterpolate1(" ",n.measuredControlPointsFileReportMessage," ")}}function Y(t,e){if(1&t&&(x.ɵɵelementStart(0,"div",35),x.ɵɵtext(1),x.ɵɵelementEnd()),2&t){var n=x.ɵɵnextContext(3);x.ɵɵadvance(1),x.ɵɵtextInterpolate1(" ",n.missingCpWaring," ")}}function J(t,e){if(1&t){var n=x.ɵɵgetCurrentView();x.ɵɵelementStart(0,"span",25),x.ɵɵelementStart(1,"div",26),x.ɵɵtemplate(2,Z,1,0,"i",27),x.ɵɵtemplate(3,$,1,0,"i",28),x.ɵɵelementEnd(),x.ɵɵelementStart(4,"div",29),x.ɵɵtemplate(5,K,2,5,"div",30),x.ɵɵtemplate(6,Y,2,1,"div",31),x.ɵɵelementStart(7,"a",32),x.ɵɵlistener("click",function(){return x.ɵɵrestoreView(n),x.ɵɵnextContext(2).showControlPointsScreen()}),x.ɵɵtext(8),x.ɵɵelementEnd(),x.ɵɵelementEnd(),x.ɵɵelementEnd()}if(2&t){var i=x.ɵɵnextContext().$implicit,o=x.ɵɵnextContext();x.ɵɵadvance(2),x.ɵɵproperty("ngIf",o.isMeasuredControlPointsFileValid&&o.allCpsLinked),x.ɵɵadvance(1),x.ɵɵproperty("ngIf",!o.isMeasuredControlPointsFileValid||!o.allCpsLinked),x.ɵɵadvance(2),x.ɵɵproperty("ngIf",!o.isMeasuredControlPointsFileValid||o.allCpsLinked),x.ɵɵadvance(1),x.ɵɵproperty("ngIf",!o.allCpsLinked),x.ɵɵadvance(1),x.ɵɵclassProp("text-success",o.isMeasuredControlPointsFileValid&&o.allCpsLinked)("text-danger",!o.isMeasuredControlPointsFileValid||!o.allCpsLinked),x.ɵɵadvance(1),x.ɵɵtextInterpolate1(" ",i("View control point configuration")," ")}}function X(t,e){if(1&t){var n=x.ɵɵgetCurrentView();x.ɵɵelementContainerStart(0),x.ɵɵelementStart(1,"h3"),x.ɵɵtext(2),x.ɵɵelementEnd(),x.ɵɵelementStart(3,"h4"),x.ɵɵtext(4),x.ɵɵelementEnd(),x.ɵɵelementStart(5,"div",2),x.ɵɵelementStart(6,"div",3),x.ɵɵelementStart(7,"label",4),x.ɵɵtext(8),x.ɵɵelementEnd(),x.ɵɵelementStart(9,"div",5),x.ɵɵelementStart(10,"mat-form-field",6),x.ɵɵelementStart(11,"input",7),x.ɵɵlistener("ngModelChange",function(t){return x.ɵɵrestoreView(n),x.ɵɵnextContext().processingTask.config.pointCloudResolution=t})("change",function(){x.ɵɵrestoreView(n);var t=x.ɵɵnextContext();return t.resolutionChanged(t.processingTask.config.pointCloudResolution)}),x.ɵɵelementEnd(),x.ɵɵelementStart(12,"span",8),x.ɵɵtext(13,"mm"),x.ɵɵelementEnd(),x.ɵɵelementEnd(),x.ɵɵelementEnd(),x.ɵɵelementEnd(),x.ɵɵelementStart(14,"div",3),x.ɵɵelementStart(15,"label",9),x.ɵɵtext(16),x.ɵɵelementEnd(),x.ɵɵelementStart(17,"div",5),x.ɵɵelementStart(18,"mat-slide-toggle",10),x.ɵɵlistener("ngModelChange",function(t){return x.ɵɵrestoreView(n),x.ɵɵnextContext().processingTask.config.isColored=t})("change",function(){x.ɵɵrestoreView(n);var t=x.ɵɵnextContext();return t.onTaskConfigurationUpdated.emit(t.processingTask.config)}),x.ɵɵelementEnd(),x.ɵɵelementEnd(),x.ɵɵelementEnd(),x.ɵɵtemplate(19,G,18,11,"ng-container",11),x.ɵɵtemplate(20,Q,18,11,"ng-container",11),x.ɵɵelementEnd(),x.ɵɵelementStart(21,"h4",12),x.ɵɵtext(22),x.ɵɵelementEnd(),x.ɵɵelementStart(23,"div",2),x.ɵɵelementStart(24,"div",3),x.ɵɵelementStart(25,"label",9),x.ɵɵtext(26),x.ɵɵelementEnd(),x.ɵɵelementStart(27,"div",5),x.ɵɵelementStart(28,"mat-slide-toggle",10),x.ɵɵlistener("ngModelChange",function(t){return x.ɵɵrestoreView(n),x.ɵɵnextContext().processingTask.config.areFloorsFilled=t})("change",function(){x.ɵɵrestoreView(n);var t=x.ɵɵnextContext();return t.onTaskConfigurationUpdated.emit(t.processingTask.config)}),x.ɵɵelementEnd(),x.ɵɵelementEnd(),x.ɵɵelementEnd(),x.ɵɵelementEnd(),x.ɵɵelementStart(29,"h4"),x.ɵɵtext(30),x.ɵɵelementEnd(),x.ɵɵelementStart(31,"div",13),x.ɵɵelementStart(32,"file-drop",14),x.ɵɵlistener("fileProcessingStarted",function(){return x.ɵɵrestoreView(n),x.ɵɵnextContext().onMeasuredControlPointsFileUploadStart()})("clearInputButtonPressed",function(){return x.ɵɵrestoreView(n),x.ɵɵnextContext().clearControlPointsFileReportMessage()})("fileProcessingCompleted",function(t){return x.ɵɵrestoreView(n),x.ɵɵnextContext().onMeasuredControlPointsFileCompleted(t)}),x.ɵɵelementEnd(),x.ɵɵtemplate(33,W,3,1,"span",15),x.ɵɵtemplate(34,J,9,9,"span",16),x.ɵɵelementEnd(),x.ɵɵelementStart(35,"control-points-screen-modal",17),x.ɵɵlistener("closed",function(){return x.ɵɵrestoreView(n),x.ɵɵnextContext().fetchControlPoints()}),x.ɵɵelementEnd(),x.ɵɵelementContainerEnd()}if(2&t){var i=e.$implicit,o=x.ɵɵnextContext();x.ɵɵadvance(2),x.ɵɵtextInterpolate(i("How do you want to process the data?")),x.ɵɵadvance(2),x.ɵɵtextInterpolate(i("Point Cloud Settings")),x.ɵɵadvance(4),x.ɵɵtextInterpolate1(" ",i("Point Cloud Resolution")," "),x.ɵɵadvance(3),x.ɵɵproperty("min",o.pointCloudResolutionMin)("max",o.pointCloudResolutionMax)("step",o.pointCloudResolutionStep)("ngModel",o.processingTask.config.pointCloudResolution),x.ɵɵadvance(5),x.ɵɵtextInterpolate1(" ",i("Colorized")," "),x.ɵɵadvance(2),x.ɵɵproperty("ngModel",o.processingTask.config.isColored),x.ɵɵadvance(1),x.ɵɵproperty("ngIf",o.hasVlxDatasets),x.ɵɵadvance(1),x.ɵɵproperty("ngIf",o.hasM6Datasets),x.ɵɵadvance(2),x.ɵɵtextInterpolate(i("Panorama Settings")),x.ɵɵadvance(4),x.ɵɵtextInterpolate1(" ",i("Floor filling")," "),x.ɵɵadvance(2),x.ɵɵproperty("ngModel",o.processingTask.config.areFloorsFilled),x.ɵɵadvance(2),x.ɵɵtextInterpolate(i("Upload surveyed Control Points")),x.ɵɵadvance(2),x.ɵɵproperty("fileDescription","the Control Points file (.txt)")("allowedMimeType","text/plain")("allowedFileExtension",".txt")("extractor",o.cpParser)("fileName",o.processingTask.config.originalMeasuredControlPointsFileName)("trackingEventOnClear",o.controlPointOnClearTrackingEvent),x.ɵɵadvance(1),x.ɵɵproperty("ngIf",o.measuredControlPointsValidationInProgress),x.ɵɵadvance(1),x.ɵɵproperty("ngIf",o.processingTask.config.originalMeasuredControlPointsFileName&&!o.measuredControlPointsValidationInProgress),x.ɵɵadvance(1),x.ɵɵproperty("measuredControlPoints",o.processingTask.config.measuredControlPoints)("controlPoints",o.mappedControlPoints)("errorMessage",o.isMeasuredControlPointsFileValid?"":o.measuredControlPointsFileReportMessage)("datasets",o.processingTask.datasets)}}var tt=function(t){return{datasets:t}};function et(t,e){if(1&t&&(x.ɵɵelementStart(0,"p"),x.ɵɵtext(1),x.ɵɵelementEnd()),2&t){var n=x.ɵɵnextContext().$implicit,i=x.ɵɵnextContext(2);x.ɵɵadvance(1),x.ɵɵtextInterpolate1(" ",n("Fewer than two control points in the uploaded file match the ones in the dataset {datasets}.",x.ɵɵpureFunction1(1,tt,i.getDatasetsWithError(i.errorCodes.NOT_ENOUGH_MATCHING_POINTS)))," ")}}function nt(t,e){if(1&t&&(x.ɵɵelementStart(0,"p"),x.ɵɵtext(1),x.ɵɵelementEnd()),2&t){var n=x.ɵɵnextContext().$implicit,i=x.ɵɵnextContext(2);x.ɵɵadvance(1),x.ɵɵtextInterpolate1(" ",n("Fewer than two unique control points in the uploaded file match the ones in the dataset {datasets}.",x.ɵɵpureFunction1(1,tt,i.getDatasetsWithError(i.errorCodes.NOT_ENOUGH_UNIQUE_CTRL_POINTS)))," ")}}function it(t,e){if(1&t&&(x.ɵɵelementStart(0,"p"),x.ɵɵtext(1),x.ɵɵelementEnd()),2&t){var n=x.ɵɵnextContext().$implicit;x.ɵɵadvance(1),x.ɵɵtextInterpolate1(" ",n("Multiple control points in the uploaded file have the same identifier.")," ")}}var ot=function(t){return{limit:t}};function rt(t,e){if(1&t&&(x.ɵɵelementStart(0,"p"),x.ɵɵtext(1),x.ɵɵelementEnd()),2&t){var n=x.ɵɵnextContext().$implicit,i=x.ɵɵnextContext(2);x.ɵɵadvance(1),x.ɵɵtextInterpolate1(" ",n("One or more control points in the uploaded file have coordinate values larger than {limit}.",x.ɵɵpureFunction1(1,ot,i.UoMService.convert(i.outOfBoundLimit,"distance")))," ")}}function at(t,e){if(1&t&&(x.ɵɵelementStart(0,"p"),x.ɵɵtext(1),x.ɵɵelementEnd()),2&t){var n=x.ɵɵnextContext().$implicit;x.ɵɵadvance(1),x.ɵɵtextInterpolate1(" ",n("Please correct the file and upload it again.")," ")}}function st(t,e){if(1&t&&(x.ɵɵelementStart(0,"span"),x.ɵɵelementStart(1,"p"),x.ɵɵtext(2),x.ɵɵelementEnd(),x.ɵɵelementStart(3,"p"),x.ɵɵtext(4),x.ɵɵelementEnd(),x.ɵɵelementStart(5,"p"),x.ɵɵtext(6),x.ɵɵelementEnd(),x.ɵɵelementEnd()),2&t){var n=x.ɵɵnextContext().$implicit;x.ɵɵadvance(2),x.ɵɵtextInterpolate(n("The coordinates of the uploaded control point poses file seem to be in a left-handed coordinate system.")),x.ɵɵadvance(2),x.ɵɵtextInterpolate(n("Processing requires a right-handed coordinate system. The coordinates have been adjusted automatically.")),x.ɵɵadvance(2),x.ɵɵtextInterpolate(n('To revoke this change, press "Undo".'))}}function lt(t,e){if(1&t){var n=x.ɵɵgetCurrentView();x.ɵɵelementContainerStart(0),x.ɵɵelementStart(1,"button",39),x.ɵɵlistener("click",function(){return x.ɵɵrestoreView(n),x.ɵɵnextContext(3).swapAllControlPointsCoordinates()}),x.ɵɵtext(2),x.ɵɵelementEnd(),x.ɵɵelementContainerEnd()}if(2&t){var i=x.ɵɵnextContext().$implicit;x.ɵɵadvance(2),x.ɵɵtextInterpolate1(" ",i("Undo")," ")}}function ct(t,e){if(1&t&&(x.ɵɵelementContainerStart(0),x.ɵɵelementStart(1,"h2",36),x.ɵɵtext(2),x.ɵɵelementEnd(),x.ɵɵelementStart(3,"mat-dialog-content"),x.ɵɵtemplate(4,et,2,3,"p",11),x.ɵɵtemplate(5,nt,2,3,"p",11),x.ɵɵtemplate(6,it,2,1,"p",11),x.ɵɵtemplate(7,rt,2,3,"p",11),x.ɵɵtemplate(8,at,2,1,"p",11),x.ɵɵtemplate(9,st,7,3,"span",11),x.ɵɵelementEnd(),x.ɵɵelementStart(10,"mat-dialog-actions",37),x.ɵɵtemplate(11,lt,3,1,"ng-container",11),x.ɵɵelementStart(12,"button",38),x.ɵɵtext(13),x.ɵɵelementEnd(),x.ɵɵelementEnd(),x.ɵɵelementContainerEnd()),2&t){var n=e.$implicit,i=x.ɵɵnextContext(2);x.ɵɵadvance(2),x.ɵɵtextInterpolate(n("Control Points Error Detected")),x.ɵɵadvance(2),x.ɵɵproperty("ngIf",i.controlPointsValidationErrors.notEnoughMatchingPointsError),x.ɵɵadvance(1),x.ɵɵproperty("ngIf",i.controlPointsValidationErrors.notEnoughUniqueControlPointsError),x.ɵɵadvance(1),x.ɵɵproperty("ngIf",i.controlPointsValidationErrors.controlPointsIdNotUniqueError),x.ɵɵadvance(1),x.ɵɵproperty("ngIf",i.controlPointsValidationErrors.controlPointsOutOfBoundError),x.ɵɵadvance(1),x.ɵɵproperty("ngIf",i.showFixAndUploadFileAgainMessage()),x.ɵɵadvance(1),x.ɵɵproperty("ngIf",i.showLeftCoordinateErrorMessage()),x.ɵɵadvance(2),x.ɵɵproperty("ngIf",i.showLeftCoordinateErrorMessage()),x.ɵɵadvance(2),x.ɵɵtextInterpolate1(" ",n("Okay")," ")}}function ut(t,e){1&t&&x.ɵɵtemplate(0,ct,14,9,"ng-container",0)}var dt=function(){function t(t,e,i,o,r,l){var c=this;this.MeasuredControlPointsFileParser=t,this.CloudStorageService=e,this.TrackingService=i,this.ControlPointsValidationService=o,this.UoMService=r,this.MatDialog=l,this.onTaskConfigurationUpdated=new a.EventEmitter,this.controlPointsFileProgressUpdated=new a.EventEmitter,this.hasVlxDatasets=!1,this.vlxModesExpanded=!1,this.hasM6Datasets=!1,this.m6ModesExpanded=!1,this.hasClickedMoreDetails=!1,this.PointCloudMode=s.M6PointCloudPreset,this.PointCloudPreset=s.VLXPointCloudPreset,this.pointCloudResolutionMin=5,this.pointCloudResolutionMax=100,this.pointCloudResolutionStep=5,this.cpParser=function(t){return c.parseControlPoints(t)},this.measuredControlPointsValidationInProgress=!1,this.controlPointsValidationErrors={controlPointsIdNotUniqueError:!1,controlPointsOutOfBoundError:!1,leftHandedCoordinateError:!1,notEnoughMatchingPointsError:!1,notEnoughUniqueControlPointsError:!1},this.errorCodes=p.ControlPointsValidationResultCode,this.emails=[],this.separatorKeysCodes=[b.ENTER,b.COMMA,b.SPACE],this.spinnerSrc=n(94),this.outOfBoundLimit=1e4,this.MAX_NUMBER_OF_ERROR_LINES_TO_DISPLAY=5,this.datasetsWithErrors=new Map,this.pointCloudModeOptionKeys=Object.keys(s.M6PointCloudPreset)}return Object.defineProperty(t.prototype,"controlPointOnClearTrackingEvent",{get:function(){return m.ControlPointsFileStatusEvent.removed()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.processingTask.config.instanceHref=window.location.href.split(/[?#]/)[0]+"?"+C.UrlRouteParameter.PROCESSING_TASKS;for(var t=0,e=this.processingTask.datasets;t<e.length;t++){var n=e[t];if(n.mappingDevice===l.DatasetDeviceInfo.M6&&(this.hasM6Datasets=!0),n.mappingDevice===l.DatasetDeviceInfo.VLX&&(this.hasVlxDatasets=!0),this.hasM6Datasets&&this.hasVlxDatasets)break}if(this.processingTask.config.originalMeasuredControlPointsFileName){var i=this.MeasuredControlPointsFileParser.lastAnalyzedValidityReport;this.displayControlPointPosesFileValidityMessage(i),this.generateMissingCpWarning(i.validLines),this.isMeasuredControlPointsFileValid=i.isControlPointsFileValid()}this.fetchControlPoints()},t.prototype.fetchControlPoints=function(){var t=this,e=this.processingTask.datasets.map(function(t){return t.getDirectoryName()});this.CloudStorageService.fetchControlPoints(e).then(function(e){t.mappedControlPoints=new Map(e.map(function(t){return[t.datasetName,t.controlPoints]})),t.processingTask.config.measuredControlPoints&&t.generateMissingCpWarning(t.processingTask.config.measuredControlPoints)}).catch(f.handleWarning)},t.prototype.resolutionChanged=function(t){t<this.pointCloudResolutionMin&&(this.processingTask.config.pointCloudResolution=this.pointCloudResolutionMin),t>this.pointCloudResolutionMax&&(this.processingTask.config.pointCloudResolution=this.pointCloudResolutionMax),this.processingTask.config.pointCloudResolution=this.pointCloudResolutionStep*Math.round(this.processingTask.config.pointCloudResolution/this.pointCloudResolutionStep),this.processingTask.timeEstimator.recalculateRange(this.processingTask.config.pointCloudResolution),this.onTaskConfigurationUpdated.emit(this.processingTask.config)},t.prototype.showControlPointsScreen=function(){this.TrackingService.trackViewControlPointsConfiguration(),this.controlPointsScreenModalComponent.openControlPointsScreen()},t.prototype.onMeasuredControlPointsFileUploadStart=function(){this.controlPointsFileProgressUpdated.emit(!0)},t.prototype.onMeasuredControlPointsFileCompleted=function(t){return i(this,void 0,void 0,function(){return o(this,function(e){switch(e.label){case 0:return this.processingTask.config.measuredControlPoints=t.data.validLines,[4,this.validateControlPointsOfCurrentTask()];case 1:return e.sent(),this.TrackingService.trackPreDefinedEvent(m.ControlPointsFileStatusEvent.uploaded()),this.controlPointsFileProgressUpdated.emit(!1),this.processingTask.config.originalMeasuredControlPointsFileName=t.fileName,this.displayControlPointPosesFileValidityMessage(t.data),this.generateMissingCpWarning(t.data.validLines),this.processingTask.config.measuredControlPoints=t.data.validLines,this.isMeasuredControlPointsFileValid=t.data.isControlPointsFileValid(),[2]}})})},t.prototype.validateControlPointsOfCurrentTask=function(){return i(this,void 0,void 0,function(){var t,e,n,i,r;return o(this,function(o){switch(o.label){case 0:this.resetControlPointsValidationErrors(),this.measuredControlPointsValidationInProgress=!0,t=[],e=0,n=this.processingTask.datasets,o.label=1;case 1:return e<n.length?(i=n[e],[4,this.ControlPointsValidationService.validate(i.getDirectoryName(),this.processingTask.config.measuredControlPoints)]):[3,4];case 2:r=o.sent(),t.push.apply(t,r),this.updateDatasetErrorCodeMap(r,i),o.label=3;case 3:return e++,[3,1];case 4:return this.handleValidationResults(t),this.measuredControlPointsValidationInProgress=!1,[2]}})})},t.prototype.updateDatasetErrorCodeMap=function(t,e){for(var n=0,i=t;n<i.length;n++){var o=i[n],r=this.datasetsWithErrors.get(o.code);r?this.datasetsWithErrors.set(o.code,r.concat(e)):this.datasetsWithErrors.set(o.code,[e])}},t.prototype.handleValidationResults=function(t){for(var e=this,n=!1,i=!1,o=new _.ControlPointsValidationEvent,r=0,a=t;r<a.length;r++){var s=a[r];switch(s.code){case p.ControlPointsValidationResultCode.POSSIBLY_ANCHORS_IN_LEFT_HANDED_COORD_SYSTEM:this.controlPointsValidationErrors.leftHandedCoordinateError=!0,this.swapAllControlPointsCoordinates(),n=!0;break;case p.ControlPointsValidationResultCode.NOT_ENOUGH_MATCHING_POINTS:this.controlPointsValidationErrors.notEnoughMatchingPointsError=!0,n=!0,i=!0;break;case p.ControlPointsValidationResultCode.NOT_ENOUGH_UNIQUE_CTRL_POINTS:this.controlPointsValidationErrors.notEnoughUniqueControlPointsError=!0,n=!0,i=!0;break;case p.ControlPointsValidationResultCode.CTRL_POINT_IDS_NOT_UNIQUE:this.controlPointsValidationErrors.controlPointsIdNotUniqueError=!0,n=!0,i=!0;break;case p.ControlPointsValidationResultCode.CTRL_POINT_OUT_OF_BOUNDS:this.controlPointsValidationErrors.controlPointsOutOfBoundError=!0,n=!0,i=!0}o.withCountData(s.code)}this.TrackingService.trackPreDefinedEvent(o),n&&this.MatDialog.open(this.measuredControlPointsValidationErrorsModal),i&&setTimeout(function(){e.fileDropComponent.clearSubmittedFile(),e.clearControlPointsFileReportMessage()})},t.prototype.swapAllControlPointsCoordinates=function(){for(var t=0,e=this.processingTask.config.measuredControlPoints;t<e.length;t++)e[t].swapCoordinates()},t.prototype.resetControlPointsValidationErrors=function(){this.controlPointsValidationErrors.leftHandedCoordinateError=!1,this.controlPointsValidationErrors.notEnoughMatchingPointsError=!1,this.controlPointsValidationErrors.notEnoughUniqueControlPointsError=!1,this.controlPointsValidationErrors.controlPointsIdNotUniqueError=!1,this.controlPointsValidationErrors.controlPointsOutOfBoundError=!1},t.prototype.displayControlPointPosesFileValidityMessage=function(t){if(t.isControlPointsFileValid())this.measuredControlPointsFileReportMessage="No Errors";else{var e=t.invalidLines.slice(0,this.MAX_NUMBER_OF_ERROR_LINES_TO_DISPLAY).map(function(t){return t.lineNumber}).join(", ");t.invalidLines.length<=this.MAX_NUMBER_OF_ERROR_LINES_TO_DISPLAY?this.measuredControlPointsFileReportMessage=d.translate("Line {linesWithError} cannot be read.",{linesWithError:e}):this.measuredControlPointsFileReportMessage=d.translate("Several lines ({linesWithError}, ...) cannot be read.",{linesWithError:e})}},t.prototype.generateMissingCpWarning=function(t){var e=t.map(function(t){return t.name}),n=0;this.mappedControlPoints.forEach(function(t){return t.forEach(function(t){return n+=t.selected&&e.indexOf(t.name)<0?1:0})}),this.missingCpWaring=g.CloudProcessingUiUtils.generateMissingCpMessage(n),this.allCpsLinked=!this.missingCpWaring},t.prototype.getDatasetsWithError=function(t){return this.datasetsWithErrors.get(t).map(function(t){return t.name}).join(", ")},t.prototype.parseControlPoints=function(t){var e=this.MeasuredControlPointsFileParser.getValidatorReport(t);return e.isControlPointsFileValid()||this.TrackingService.trackInvalidMeasuredControlPointPosesFileLines(e.invalidLines.length),e},t.prototype.addEmail=function(e){var n=e.input,i=e.value;!i||this.emails.length>=t.MAX_NUMBER_OF_EMAILS||!y.isEmailValid(i.trim())||(this.emails.push(i.trim()),this.processingTask.config.emailsForNotifications=r(this.emails),n&&(n.value=""))},t.prototype.removeEmail=function(t){var e=this.emails.indexOf(t);e>=0&&(this.emails.splice(e,1),this.processingTask.config.emailsForNotifications=r(this.emails))},t.prototype.clearControlPointsFileReportMessage=function(){this.processingTask.config.originalMeasuredControlPointsFileName=void 0,this.processingTask.config.measuredControlPoints=[]},t.prototype.setM6PointCloudPreset=function(t){this.processingTask.config.pointCloudMode=t,this.onTaskConfigurationUpdated.emit(this.processingTask.config)},t.prototype.setVLXPointCloudPreset=function(t){this.processingTask.config.pointCloudPreset=t,this.onTaskConfigurationUpdated.emit(this.processingTask.config)},t.prototype.showFixAndUploadFileAgainMessage=function(){return this.controlPointsValidationErrors.notEnoughMatchingPointsError||this.controlPointsValidationErrors.notEnoughUniqueControlPointsError||this.controlPointsValidationErrors.controlPointsIdNotUniqueError||this.controlPointsValidationErrors.controlPointsOutOfBoundError},t.prototype.showLeftCoordinateErrorMessage=function(){return this.controlPointsValidationErrors.leftHandedCoordinateError&&!this.showFixAndUploadFileAgainMessage()},t.prototype.toggleM6Details=function(){this.onClickedMoreDetails(),this.m6ModesExpanded=!this.m6ModesExpanded,this.vlxModesExpanded=!1},t.prototype.toggleVLXDetails=function(){this.onClickedMoreDetails(),this.vlxModesExpanded=!this.vlxModesExpanded,this.m6ModesExpanded=!1},t.prototype.onClickedMoreDetails=function(){this.hasClickedMoreDetails||(new c.TrackingEvent("ProcessingTaskClickedMoreDetails").submit(),this.hasClickedMoreDetails=!0)},t.MAX_NUMBER_OF_EMAILS=5,t.ɵfac=function(e){return new(e||t)(x.ɵɵdirectiveInject(w.MeasuredControlPointsFileParser),x.ɵɵdirectiveInject(S.CloudStorageService),x.ɵɵdirectiveInject(P.TrackingService),x.ɵɵdirectiveInject(O.ControlPointsValidationService),x.ɵɵdirectiveInject(M.UoMService),x.ɵɵdirectiveInject(k.MatDialog))},t.ɵcmp=x.ɵɵdefineComponent({type:t,selectors:[["processing-task-configuration"]],viewQuery:function(t,e){var n;1&t&&(x.ɵɵviewQuery(v.ControlPointsScreenModalComponent,!0),x.ɵɵviewQuery(H,!0),x.ɵɵviewQuery(h.FileDropComponent,!0)),2&t&&(x.ɵɵqueryRefresh(n=x.ɵɵloadQuery())&&(e.controlPointsScreenModalComponent=n.first),x.ɵɵqueryRefresh(n=x.ɵɵloadQuery())&&(e.measuredControlPointsValidationErrorsModal=n.first),x.ɵɵqueryRefresh(n=x.ɵɵloadQuery())&&(e.fileDropComponent=n.first))},inputs:{processingTask:"processingTask"},outputs:{onTaskConfigurationUpdated:"onTaskConfigurationUpdated",controlPointsFileProgressUpdated:"controlPointsFileProgressUpdated"},decls:3,vars:0,consts:[[4,"transloco"],["measuredControlPointsValidationErrorsModal",""],[1,"form-horizontal"],[1,"form-group","align-label"],["for","pc-resolution",1,"col-xs-12","col-sm-3","control-label","normal-font",2,"white-space","nowrap"],[1,"col-xs-12","col-sm-9","align-right"],["appearance","outline",1,"size-small-input"],["matInput","","type","number","id","pc-resolution",3,"min","max","step","ngModel","ngModelChange","change"],["matSuffix",""],["for","pc-resolution",1,"col-xs-12","col-sm-3","control-label","normal-font"],["color","primary",3,"ngModel","ngModelChange","change"],[4,"ngIf"],[1,"panorama-settings-header"],["fxLayout","row",1,"form-horizontal","vertical-center-text"],[3,"fileDescription","allowedMimeType","allowedFileExtension","extractor","fileName","trackingEventOnClear","fileProcessingStarted","clearInputButtonPressed","fileProcessingCompleted"],["class","alert-message","fxLayout","row","fxLayoutAlign","center center",4,"ngIf"],["fxFlex","45%","class","alert-message","fxLayout","row",4,"ngIf"],[3,"measuredControlPoints","controlPoints","errorMessage","datasets","closed"],[2,"width","100%",3,"value","change"],[3,"value"],["mat-button","","color","primary",1,"details-expander",3,"click"],[3,"expanded"],["fxLayout","row","fxLayoutAlign","center center",1,"alert-message"],["fxLayout","column",1,"spinner"],[3,"src"],["fxFlex","45%","fxLayout","row",1,"alert-message"],[1,"icon"],["class","fa fa-check-circle green-mark",4,"ngIf"],["class","fa fa-exclamation-triangle red-sign",4,"ngIf"],["fxLayout","column"],[3,"text-success","text-danger",4,"ngIf"],["class","text-danger",4,"ngIf"],[1,"normal-font","pointer-cursor",3,"click"],[1,"fa","fa-check-circle","green-mark"],[1,"fa","fa-exclamation-triangle","red-sign"],[1,"text-danger"],["mat-dialog-title",""],["align","end"],["mat-flat-button","","color","primary","mat-dialog-close",""],["mat-stroked-button","","mat-dialog-close","",3,"click"]],template:function(t,e){1&t&&(x.ɵɵtemplate(0,X,36,27,"ng-container",0),x.ɵɵtemplate(1,ut,1,0,"ng-template",null,1,x.ɵɵtemplateRefExtractor))},directives:[E.TranslocoDirective,I.MatFormField,D.MatInput,T.NumberValueAccessor,T.DefaultValueAccessor,T.NgControlStatus,T.NgModel,I.MatSuffix,R.MatSlideToggle,j.NgIf,A.DefaultLayoutDirective,F.FileDropComponent,N.ControlPointsScreenModalComponent,L.MatButtonToggleGroup,L.MatButtonToggle,U.MatButton,V.MatIcon,z.VLXPresetsTableComponent,B.M6PresetsTableComponent,A.DefaultLayoutAlignDirective,q.AddBaseUrlDirective,A.DefaultFlexDirective,k.MatDialogTitle,k.MatDialogContent,k.MatDialogActions,k.MatDialogClose],styles:["@media (min-width:768px){.form-horizontal[_ngcontent-%COMP%] .control-label[_ngcontent-%COMP%]{text-align:left}}h4[_ngcontent-%COMP%]{margin-top:40px}.size-small-input[_ngcontent-%COMP%]{width:120px;margin-bottom:-16px}.align-label[_ngcontent-%COMP%]{display:flex;align-items:center}.align-label[_ngcontent-%COMP%] > .mat-checkbox[_ngcontent-%COMP%]{margin-left:-8px}.align-label[_ngcontent-%COMP%] > .control-label[_ngcontent-%COMP%]{padding-top:0}.chevron-icon[_ngcontent-%COMP%]{transform:rotate(0deg);transition:transform .2s}.chevron-icon.expanded[_ngcontent-%COMP%]{transform:rotate(-90deg)}.chevron-icon.collapsed[_ngcontent-%COMP%]{transform:rotate(90deg)}.form-group[_ngcontent-%COMP%]{position:relative;padding-left:24px}.align-right[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-end;align-items:center}.details-expander[_ngcontent-%COMP%]{position:absolute;left:100%}.panorama-settings-header[_ngcontent-%COMP%]{margin-top:32px;margin-bottom:16px}.email-chip-list[_ngcontent-%COMP%]{width:100%}.mode-column-details[_ngcontent-%COMP%]{position:absolute;left:100%;top:0;bottom:0;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding-left:48px;min-width:280px;font-size:12px}.mode-column-details_header[_ngcontent-%COMP%]{font-weight:700;font-size:12px}.mode-column-details[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]{list-style-type:disc}.mode-column-details[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{padding-left:8px}.alert-message[_ngcontent-%COMP%]{width:60%;position:absolute;left:45em}.pointer-cursor[_ngcontent-%COMP%]:hover{cursor:pointer}.vertical-center-text[_ngcontent-%COMP%]{align-items:center}.text-danger[_ngcontent-%COMP%]{color:#d54828}a[_ngcontent-%COMP%]{display:block;margin-top:5px;text-decoration:underline}.icon[_ngcontent-%COMP%]{align-self:center;margin-right:10px;font-size:1.5em}.red-sign[_ngcontent-%COMP%]{color:#d54828}.green-mark[_ngcontent-%COMP%]{color:green}"],data:{animation:[u.trigger("rotateChevron",[u.state("down",u.style({transform:"rotate(-90deg)"})),u.state("up",u.style({transform:"rotate(90deg)"})),u.transition("down <=> up",[u.animate("0.4s ease-out")])])]}}),t}();e.ProcessingTaskConfigurationComponent=dt,x.ɵsetClassMetadata(dt,[{type:a.Component,args:[{selector:"processing-task-configuration",templateUrl:"./ProcessingTaskConfiguration.ng.html",styleUrls:["./ProcessingTaskConfiguration.ng.scss"],animations:[u.trigger("rotateChevron",[u.state("down",u.style({transform:"rotate(-90deg)"})),u.state("up",u.style({transform:"rotate(90deg)"})),u.transition("down <=> up",[u.animate("0.4s ease-out")])])]}]}],function(){return[{type:w.MeasuredControlPointsFileParser},{type:S.CloudStorageService},{type:P.TrackingService},{type:O.ControlPointsValidationService},{type:M.UoMService},{type:k.MatDialog}]},{processingTask:[{type:a.Input}],onTaskConfigurationUpdated:[{type:a.Output}],controlPointsFileProgressUpdated:[{type:a.Output}],controlPointsScreenModalComponent:[{type:a.ViewChild,args:[v.ControlPointsScreenModalComponent]}],measuredControlPointsValidationErrorsModal:[{type:a.ViewChild,args:["measuredControlPointsValidationErrorsModal"]}],fileDropComponent:[{type:a.ViewChild,args:[h.FileDropComponent]}]})},1959:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(168),o=function(){function t(){}return t.generateMissingCpMessage=function(t){switch(t){case 0:return;case 1:return i.translate("1 control point could not be found");default:return i.translate("{amount} control points could not be found",{amount:t})}},t}();e.CloudProcessingUiUtils=o},1960:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(1874),r=n(1961),a=(n(440),n(0)),s=n(440),l=n(168),c=n(1689),u=n(3),d=n(2013),p=n(1874),m=n(1692),h=n(1962),f=n(1963),g=["qualityMap"];function v(t,e){if(1&t&&(a.ɵɵelementStart(0,"div",19),a.ɵɵelement(1,"i",20),a.ɵɵelementStart(2,"div",21),a.ɵɵelementStart(3,"span"),a.ɵɵtext(4),a.ɵɵelementEnd(),a.ɵɵelementStart(5,"div",22),a.ɵɵtext(6),a.ɵɵelementEnd(),a.ɵɵelementEnd(),a.ɵɵelementEnd()),2&t){var n=a.ɵɵnextContext().$implicit,i=a.ɵɵnextContext();a.ɵɵadvance(4),a.ɵɵtextInterpolate(i.errorMessage),a.ɵɵadvance(2),a.ɵɵtextInterpolate1(" ",n("These control points are not shown below.")," ")}}function b(t,e){if(1&t&&(a.ɵɵelementStart(0,"span",30),a.ɵɵelementStart(1,"i",31),a.ɵɵtext(2,"warning"),a.ɵɵelementEnd(),a.ɵɵtext(3),a.ɵɵelementEnd()),2&t){var n=a.ɵɵnextContext().$implicit,i=a.ɵɵnextContext(2);a.ɵɵadvance(3),a.ɵɵtextInterpolate1("",i.getDatasetWarning(n.getDirectoryName())," ")}}function y(t,e){if(1&t&&(a.ɵɵelementStart(0,"div"),a.ɵɵtext(1),a.ɵɵelementEnd()),2&t){var n=a.ɵɵnextContext(2).$implicit;a.ɵɵadvance(1),a.ɵɵtextInterpolate1(" ",n("Loading ...")," ")}}function _(t,e){if(1&t){var n=a.ɵɵgetCurrentView();a.ɵɵelementStart(0,"mapped-control-points",32),a.ɵɵlistener("controlPointSelected",function(){return a.ɵɵrestoreView(n),a.ɵɵnextContext(3).setUnlinkedPointsDisplayInfo()})("controlPointHovered",function(t){a.ɵɵrestoreView(n);var e=a.ɵɵnextContext().$implicit;return a.ɵɵnextContext(2).displayControlPoint(t,e)})("relinkButtonClicked",function(t){return a.ɵɵrestoreView(n),a.ɵɵnextContext(3).showRelinkDialog(t)}),a.ɵɵelementEnd()}if(2&t){var i=a.ɵɵnextContext().$implicit,o=a.ɵɵnextContext(2);a.ɵɵproperty("dataset",i)("mappedControlPoints",o.getControlPoints(i))}}function C(t,e){if(1&t){var n=a.ɵɵgetCurrentView();a.ɵɵelementStart(0,"mat-expansion-panel",23),a.ɵɵlistener("opened",function(){a.ɵɵrestoreView(n);var t=e.$implicit;return a.ɵɵnextContext(2).showQualityMap(t)}),a.ɵɵelementStart(1,"mat-expansion-panel-header"),a.ɵɵelementStart(2,"mat-panel-title"),a.ɵɵelementStart(3,"div",24),a.ɵɵelementStart(4,"span",25),a.ɵɵelementStart(5,"strong"),a.ɵɵtext(6),a.ɵɵelementEnd(),a.ɵɵelementStart(7,"span"),a.ɵɵtext(8),a.ɵɵelementEnd(),a.ɵɵelementEnd(),a.ɵɵtemplate(9,b,4,1,"span",26),a.ɵɵelementEnd(),a.ɵɵelementEnd(),a.ɵɵelementEnd(),a.ɵɵelementStart(10,"div",27),a.ɵɵtemplate(11,y,2,1,"div",28),a.ɵɵtemplate(12,_,1,2,"mapped-control-points",29),a.ɵɵelementEnd(),a.ɵɵelementEnd()}if(2&t){var i=e.$implicit,o=e.first,r=a.ɵɵnextContext(2);a.ɵɵproperty("expanded",o),a.ɵɵadvance(6),a.ɵɵtextInterpolate(i.name),a.ɵɵadvance(2),a.ɵɵtextInterpolate(i.getDirectoryName()),a.ɵɵadvance(1),a.ɵɵproperty("ngIf",r.hasUnlinkedPoints(i.getDirectoryName())),a.ɵɵadvance(2),a.ɵɵproperty("ngIf",void 0===r.controlPoints),a.ɵɵadvance(1),a.ɵɵproperty("ngIf",r.controlPoints)}}function x(t,e){if(1&t&&(a.ɵɵelementStart(0,"div",33),a.ɵɵelement(1,"img",34),a.ɵɵelementEnd()),2&t){var n=a.ɵɵnextContext(2);a.ɵɵadvance(1),a.ɵɵproperty("src",n.spinnerSrc,a.ɵɵsanitizeUrl)}}function w(t,e){if(1&t&&a.ɵɵelement(0,"ground-control-point",35),2&t){var n=a.ɵɵnextContext(2);a.ɵɵproperty("left",n.cpDisplayInfo.left)("bottom",n.cpDisplayInfo.bottom)("name",n.cpDisplayInfo.name)}}function S(t,e){if(1&t&&a.ɵɵelement(0,"ground-control-point",36),2&t){var n=e.$implicit;a.ɵɵproperty("color","#d0021b")("left",n.left)("bottom",n.bottom)("name",n.name)}}function P(t,e){if(1&t){var n=a.ɵɵgetCurrentView();a.ɵɵelementContainerStart(0),a.ɵɵelementStart(1,"div",1),a.ɵɵelementStart(2,"div",2),a.ɵɵtemplate(3,v,7,2,"div",3),a.ɵɵelementStart(4,"div",4),a.ɵɵelementStart(5,"div",5),a.ɵɵelementStart(6,"span",6),a.ɵɵtext(7),a.ɵɵelementEnd(),a.ɵɵelementStart(8,"span",7),a.ɵɵtext(9),a.ɵɵelementEnd(),a.ɵɵelementStart(10,"span",7),a.ɵɵtext(11),a.ɵɵelementEnd(),a.ɵɵelementStart(12,"span",7),a.ɵɵtext(13),a.ɵɵelementEnd(),a.ɵɵelementStart(14,"span",7),a.ɵɵtext(15),a.ɵɵelementEnd(),a.ɵɵelementEnd(),a.ɵɵelementStart(16,"div",8),a.ɵɵelementStart(17,"mat-accordion",9),a.ɵɵtemplate(18,C,13,6,"mat-expansion-panel",10),a.ɵɵelementEnd(),a.ɵɵelementEnd(),a.ɵɵelementEnd(),a.ɵɵelementEnd(),a.ɵɵelementStart(19,"div",11),a.ɵɵelementStart(20,"zoomable",12),a.ɵɵtemplate(21,x,2,1,"div",13),a.ɵɵelementStart(22,"div",14),a.ɵɵelementStart(23,"img",15,16),a.ɵɵlistener("load",function(){return a.ɵɵrestoreView(n),a.ɵɵnextContext().onQualityMapLoad()}),a.ɵɵelementEnd(),a.ɵɵtemplate(25,w,1,3,"ground-control-point",17),a.ɵɵtemplate(26,S,1,4,"ground-control-point",18),a.ɵɵelementEnd(),a.ɵɵelementEnd(),a.ɵɵelementEnd(),a.ɵɵelementEnd(),a.ɵɵelementContainerEnd()}if(2&t){var i=e.$implicit,o=a.ɵɵnextContext();a.ɵɵadvance(3),a.ɵɵproperty("ngIf",""!==o.errorMessage),a.ɵɵadvance(4),a.ɵɵtextInterpolate(i("Name")),a.ɵɵadvance(2),a.ɵɵtextInterpolate(i("Scanned At")),a.ɵɵadvance(2),a.ɵɵtextInterpolate(i("X")),a.ɵɵadvance(2),a.ɵɵtextInterpolate(i("Y")),a.ɵɵadvance(2),a.ɵɵtextInterpolate(i("Z")),a.ɵɵadvance(3),a.ɵɵproperty("ngForOf",o.datasets),a.ɵɵadvance(2),a.ɵɵproperty("enabled",o.qualityMapLoaded),a.ɵɵadvance(1),a.ɵɵproperty("ngIf",!o.qualityMapLoaded),a.ɵɵadvance(2),a.ɵɵclassProp("hidden",!o.qualityMapLoaded),a.ɵɵproperty("src",o.qualityMapUrl,a.ɵɵsanitizeUrl),a.ɵɵadvance(2),a.ɵɵproperty("ngIf",o.cpDisplayInfo&&o.qualityMapLoaded),a.ɵɵadvance(1),a.ɵɵproperty("ngForOf",o.unlinkedControlPoints)}}var O=function(){function t(t){this.MatDialog=t,this.controlPointsChange=new i.EventEmitter,this.spinnerSrc=n(94),this.qualityMapLoaded=!1,this.cpDisplayInfo=void 0}return Object.defineProperty(t.prototype,"controlPoints",{get:function(){return this._controlPoints},set:function(t){this.controlPointsChange.emit(t),this._controlPoints=t},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.measuredControlPointNames=this.measuredControlPoints.map(function(t){return t.name})},t.prototype.getDatasetWarning=function(t){return this.warningPerDataset.get(t)},t.prototype.hasUnlinkedPoints=function(t){return this.warningPerDataset.has(t)},t.prototype.getControlPoints=function(t){return this._controlPoints.get(t.getDirectoryName())},t.prototype.showRelinkDialog=function(t){var e=this;this.relinkingControlPoint=t,this.MatDialog.open(r.LinkControlPointModalComponent,{panelClass:"modal-sm",autoFocus:!1,data:{measuredControlPointsNames:this.measuredControlPointNames,mappedControlPointName:(null==t?void 0:t.linkedTo)?t.linkedTo:null==t?void 0:t.name}}).afterClosed().subscribe(function(t){t&&e.relinkControlPoint(t)})},t.prototype.showQualityMap=function(t){var e,n=this;this.qualityMapUrl!==t.qualityMapUrl&&(this.currentDataset=t,this.qualityMapLoaded=!1,this.cpDisplayInfo=void 0,null===(e=this.zoomableComponent)||void 0===e||e.resetZoom(),setTimeout(function(){return n.qualityMapUrl=t.qualityMapUrl}))},t.prototype.onQualityMapLoad=function(){this.qualityMapLoaded=!0,this.setUnlinkedPointsDisplayInfo()},t.prototype.displayControlPoint=function(t,e){this.qualityMapLoaded&&(void 0===this.unlinkedControlPoints.find(function(e){return e.name===t.name})?this.cpDisplayInfo=this.calculateControlPointDisplayInfo(t,e.qualityMapMeta):this.cpDisplayInfo=void 0)},t.prototype.relinkControlPoint=function(t){this.relinkingControlPoint.linkedTo=t,this.relinkingControlPoint.selected=!0},t.prototype.areThereValidControlPoints=function(t){var e=this.getControlPoints(t);return e&&0!==e.length},t.prototype.selectControlPoint=function(t,e){t.preventDefault(),e.selected=!e.selected,this.setUnlinkedPointsDisplayInfo()},t.prototype.setUnlinkedPointsDisplayInfo=function(){var t=this;this.unlinkedControlPoints=this.getControlPoints(this.currentDataset).filter(function(t){return t.selected&&t.needsRelink}).map(function(e){return t.calculateControlPointDisplayInfo(e,t.currentDataset.qualityMapMeta)})},t.prototype.calculateControlPointDisplayInfo=function(t,e){return{left:this.calculateControlPointPosition(t.x,e.origin[0],e.resolution,this.qualityMap.nativeElement.naturalWidth),bottom:this.calculateControlPointPosition(t.y,e.origin[1],e.resolution,this.qualityMap.nativeElement.naturalHeight),name:t.name}},t.prototype.calculateControlPointPosition=function(t,e,n,i){return 100*(t/n-e/n)/i},t.ɵfac=function(e){return new(e||t)(a.ɵɵdirectiveInject(s.MatDialog))},t.ɵcmp=a.ɵɵdefineComponent({type:t,selectors:[["control-points-screen"]],viewQuery:function(t,e){var n;1&t&&(a.ɵɵviewQuery(o.ZoomableComponent,!0),a.ɵɵviewQuery(g,!0)),2&t&&(a.ɵɵqueryRefresh(n=a.ɵɵloadQuery())&&(e.zoomableComponent=n.first),a.ɵɵqueryRefresh(n=a.ɵɵloadQuery())&&(e.qualityMap=n.first))},inputs:{datasets:"datasets",errorMessage:"errorMessage",measuredControlPoints:"measuredControlPoints",warningPerDataset:"warningPerDataset",controlPoints:"controlPoints"},outputs:{controlPointsChange:"controlPointsChange"},decls:1,vars:0,consts:[[4,"transloco"],["fxLayout","row","fxFlex","grow"],["fxFlex","50%",1,"box"],["fxLayout","row","class","cp-error-message",4,"ngIf"],["fxLayout","column",1,"dataset-list-wrapper"],["fxLayout","row",1,"headings"],["fxFlex","40%",1,"first-label"],["fxFlex","15%"],[1,"scroll-able"],["displayMode","flat"],["class","mat-elevation-z0",3,"expanded","opened",4,"ngFor","ngForOf"],["fxFlex","50%",1,"box","spacing-aligned"],[3,"enabled"],["class","spinner",4,"ngIf"],[1,"quality-map-holder"],[1,"quality-map",3,"src","load"],["qualityMap",""],[3,"left","bottom","name",4,"ngIf"],[3,"color","left","bottom","name",4,"ngFor","ngForOf"],["fxLayout","row",1,"cp-error-message"],[1,"fa","fa-exclamation-triangle","icon","red"],["fxLayout","column",1,"red"],[1,"red"],[1,"mat-elevation-z0",3,"expanded","opened"],[1,"mapped-control-points-header"],[1,"dataset-name"],["class","dataset-warning",4,"ngIf"],[1,"content"],[4,"ngIf"],[3,"dataset","mappedControlPoints","controlPointSelected","controlPointHovered","relinkButtonClicked",4,"ngIf"],[1,"dataset-warning"],[1,"material-icons","warning-sign"],[3,"dataset","mappedControlPoints","controlPointSelected","controlPointHovered","relinkButtonClicked"],[1,"spinner"],[3,"src"],[3,"left","bottom","name"],[3,"color","left","bottom","name"]],template:function(t,e){1&t&&a.ɵɵtemplate(0,P,27,14,"ng-container",0)},directives:[l.TranslocoDirective,c.DefaultLayoutDirective,c.DefaultFlexDirective,u.NgIf,d.MatAccordion,u.NgForOf,p.ZoomableComponent,m.AddBaseUrlDirective,d.MatExpansionPanel,d.MatExpansionPanelHeader,d.MatExpansionPanelTitle,h.MappedControlPointsComponent,f.ControlPointLocationComponent],styles:["[_nghost-%COMP%]{display:flex;flex-grow:1;max-height:100%}.box[_ngcontent-%COMP%]{overflow:hidden;padding:20px}.spacing-aligned[_ngcontent-%COMP%]{padding-top:44px}.headings[_ngcontent-%COMP%]{padding-right:17px;margin-bottom:10px;font-size:10px;font-weight:700;line-height:1.4;text-transform:uppercase;color:hsla(0,0%,54.5%,.9)}.content[_ngcontent-%COMP%]{margin:0 -24px -16px}.no-control-points[_ngcontent-%COMP%]{padding:.7em}.mapped-control-points-header[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-between;width:100%}.mapped-control-points-header[_ngcontent-%COMP%] .dataset-name[_ngcontent-%COMP%]{display:flex;flex-flow:column nowrap}.dataset-warning[_ngcontent-%COMP%]{display:flex;align-items:center;color:#e62a10;margin-left:.7em}.dataset-warning[_ngcontent-%COMP%] .warning-sign[_ngcontent-%COMP%]{color:#e62a10;font-size:1.4285714286em;margin-right:.7em}.dataset-list-wrapper[_ngcontent-%COMP%]{height:100%}.scroll-able[_ngcontent-%COMP%]{overflow-x:auto}mat-expansion-panel[_ngcontent-%COMP%], zoomable[_ngcontent-%COMP%]{border:1px solid hsla(0,0%,67.8%,.19)}zoomable[_ngcontent-%COMP%]{height:100%;border-radius:4px}.quality-map[_ngcontent-%COMP%]{max-width:100%}.quality-map-holder[_ngcontent-%COMP%]{position:relative}.spinner[_ngcontent-%COMP%]{width:10em;height:10em;margin:auto;display:flex;justify-content:center}.cp-error-message[_ngcontent-%COMP%]{border:1px solid red;padding:10px 0;margin-bottom:30px;align-items:center}.icon[_ngcontent-%COMP%]{font-size:1.5em;padding:0 25px 0 15px}.red[_ngcontent-%COMP%]{color:#d54828}.first-label[_ngcontent-%COMP%]{padding-left:40px}.mat-expansion-panel-body[_ngcontent-%COMP%]{padding:0}"]}),t}();e.ControlPointsScreenComponent=O,a.ɵsetClassMetadata(O,[{type:i.Component,args:[{selector:"control-points-screen",templateUrl:"./ControlPointsScreen.ng.html",styleUrls:["./ControlPointsScreen.ng.scss"]}]}],function(){return[{type:s.MatDialog}]},{datasets:[{type:i.Input}],errorMessage:[{type:i.Input}],measuredControlPoints:[{type:i.Input}],warningPerDataset:[{type:i.Input}],controlPointsChange:[{type:i.Output}],zoomableComponent:[{type:i.ViewChild,args:[o.ZoomableComponent]}],qualityMap:[{type:i.ViewChild,args:["qualityMap",{static:!1}]}],controlPoints:[{type:i.Input}]})},1961:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(440),r=n(7),a=n(0),s=n(168),l=n(440),c=n(2014),u=n(3),d=n(625),p=n(1864);function m(t,e){if(1&t){var n=a.ɵɵgetCurrentView();a.ɵɵelementStart(0,"mat-list-item"),a.ɵɵelementStart(1,"mat-radio-button",7),a.ɵɵlistener("change",function(t){return a.ɵɵrestoreView(n),a.ɵɵnextContext(2).selectName(t)}),a.ɵɵtext(2),a.ɵɵelementEnd(),a.ɵɵelementEnd()}if(2&t){var i=e.$implicit,o=a.ɵɵnextContext(2);a.ɵɵadvance(1),a.ɵɵproperty("name","control-point-name")("value",i)("checked",o.selectedName===i),a.ɵɵadvance(1),a.ɵɵtextInterpolate1(" ",i," ")}}var h=function(t){return{nameBold:t}};function f(t,e){if(1&t&&(a.ɵɵelementContainerStart(0),a.ɵɵelementStart(1,"h4",1),a.ɵɵtext(2),a.ɵɵelementEnd(),a.ɵɵelementStart(3,"mat-dialog-content"),a.ɵɵelement(4,"p",2),a.ɵɵelementStart(5,"mat-list"),a.ɵɵtemplate(6,m,3,4,"mat-list-item",3),a.ɵɵelementEnd(),a.ɵɵelementEnd(),a.ɵɵelementStart(7,"mat-dialog-actions",4),a.ɵɵelementStart(8,"button",5),a.ɵɵtext(9),a.ɵɵelementEnd(),a.ɵɵelementStart(10,"button",6),a.ɵɵtext(11),a.ɵɵelementEnd(),a.ɵɵelementEnd(),a.ɵɵelementContainerEnd()),2&t){var n=e.$implicit,i=a.ɵɵnextContext();a.ɵɵadvance(2),a.ɵɵtextInterpolate(n("Relink control point")),a.ɵɵadvance(2),a.ɵɵproperty("innerHTML",n("Select a control point from the uploaded control points file to link to {nameBold}:",a.ɵɵpureFunction1(7,h,i.getMappedControlPointNameBold())),a.ɵɵsanitizeHtml),a.ɵɵadvance(2),a.ɵɵproperty("ngForOf",i.measuredControlPointsNames),a.ɵɵadvance(3),a.ɵɵtextInterpolate(n("Cancel")),a.ɵɵadvance(1),a.ɵɵproperty("disabled",void 0===i.selectedName)("mat-dialog-close",i.selectedName),a.ɵɵadvance(1),a.ɵɵtextInterpolate(n("Relink"))}}var g=function(){function t(t){this.data=t,this.measuredControlPointsNames=t.measuredControlPointsNames,this.mappedControlPointName=t.mappedControlPointName,this.sanitizedMappedControlPointName=r.escape(this.mappedControlPointName?this.mappedControlPointName:""),-1!==this.measuredControlPointsNames.indexOf(this.mappedControlPointName)&&(this.selectedName=this.mappedControlPointName)}return t.prototype.selectName=function(t){this.selectedName=t.value},t.prototype.getMappedControlPointNameBold=function(){return"<b>"+this.sanitizedMappedControlPointName+"</b>"},t.ɵfac=function(e){return new(e||t)(a.ɵɵdirectiveInject(o.MAT_DIALOG_DATA))},t.ɵcmp=a.ɵɵdefineComponent({type:t,selectors:[["link-control-point-modal"]],decls:1,vars:0,consts:[[4,"transloco"],["mat-dialog-title",""],[3,"innerHTML"],[4,"ngFor","ngForOf"],["align","end"],["mat-flat-button","","mat-dialog-close",""],["mat-flat-button","","color","primary",3,"disabled","mat-dialog-close"],[3,"name","value","checked","change"]],template:function(t,e){1&t&&a.ɵɵtemplate(0,f,12,9,"ng-container",0)},directives:[s.TranslocoDirective,l.MatDialogTitle,l.MatDialogContent,c.MatList,u.NgForOf,l.MatDialogActions,d.MatButton,l.MatDialogClose,c.MatListItem,p.MatRadioButton],styles:[""]}),t}();e.LinkControlPointModalComponent=g,a.ɵsetClassMetadata(g,[{type:i.Component,args:[{selector:"link-control-point-modal",templateUrl:"LinkControlPointModal.ng.html",styleUrls:["LinkControlPointModal.ng.scss"]}]}],function(){return[{type:void 0,decorators:[{type:i.Inject,args:[o.MAT_DIALOG_DATA]}]}]},null)},1962:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=(n(1911),n(1685)),r=n(0),a=n(168),s=n(3),l=n(1852),c=n(1692),u=n(1689);function d(t,e){if(1&t&&(r.ɵɵelementStart(0,"div",4),r.ɵɵtext(1),r.ɵɵelementEnd()),2&t){var n=r.ɵɵnextContext().$implicit;r.ɵɵadvance(1),r.ɵɵtextInterpolate1(" ",n("No control points found.")," ")}}function p(t,e){1&t&&(r.ɵɵelementStart(0,"i",15),r.ɵɵtext(1,"warning"),r.ɵɵelementEnd())}function m(t,e){if(1&t&&(r.ɵɵelementStart(0,"span",16),r.ɵɵtext(1," ("),r.ɵɵelement(2,"img",17),r.ɵɵtext(3),r.ɵɵelementEnd()),2&t){var n=r.ɵɵnextContext().$implicit,i=r.ɵɵnextContext().$implicit,o=r.ɵɵnextContext();r.ɵɵadvance(2),r.ɵɵproperty("alt",i("Link"))("src",o.linkSrc,r.ɵɵsanitizeUrl),r.ɵɵadvance(1),r.ɵɵtextInterpolate1("",n.linkedTo,") ")}}function h(t,e){if(1&t){var n=r.ɵɵgetCurrentView();r.ɵɵelementStart(0,"div",5),r.ɵɵlistener("click",function(t){r.ɵɵrestoreView(n);var i=e.$implicit;return r.ɵɵnextContext(2).selectControlPoint(t,i)})("mouseenter",function(){r.ɵɵrestoreView(n);var t=e.$implicit;return r.ɵɵnextContext(2).hoverControlPoint(t)}),r.ɵɵelementStart(1,"span",6),r.ɵɵelementStart(2,"mat-checkbox",7),r.ɵɵlistener("click",function(t){return r.ɵɵrestoreView(n),t.preventDefault()}),r.ɵɵelementEnd(),r.ɵɵelementStart(3,"span",8),r.ɵɵtext(4),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementStart(5,"span",9),r.ɵɵtemplate(6,p,2,0,"i",10),r.ɵɵtemplate(7,m,4,3,"span",11),r.ɵɵelementEnd(),r.ɵɵelementStart(8,"span",12),r.ɵɵelementStart(9,"img",13),r.ɵɵlistener("click",function(t){r.ɵɵrestoreView(n);var i=e.$implicit;return r.ɵɵnextContext(2).clickRelink(t,i)}),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementStart(10,"span",14),r.ɵɵtext(11),r.ɵɵelementEnd(),r.ɵɵelementStart(12,"span",14),r.ɵɵtext(13),r.ɵɵelementEnd(),r.ɵɵelementStart(14,"span",14),r.ɵɵtext(15),r.ɵɵelementEnd(),r.ɵɵelementStart(16,"span",14),r.ɵɵtext(17),r.ɵɵelementEnd(),r.ɵɵelementEnd()}if(2&t){var i=e.$implicit,o=r.ɵɵnextContext().$implicit,a=r.ɵɵnextContext();r.ɵɵclassProp("error",i.needsRelink),r.ɵɵadvance(2),r.ɵɵproperty("checked",i.selected),r.ɵɵadvance(2),r.ɵɵtextInterpolate(i.name),r.ɵɵadvance(2),r.ɵɵproperty("ngIf",i.needsRelink),r.ɵɵadvance(1),r.ɵɵproperty("ngIf",i.linkedTo),r.ɵɵadvance(2),r.ɵɵproperty("alt",o("Link"))("title",o("Link"))("src",a.linkSrc,r.ɵɵsanitizeUrl),r.ɵɵadvance(2),r.ɵɵtextInterpolate2("",a.getScannedAtTimeInMinutes(i,a.dataset)," ",o("min"),""),r.ɵɵadvance(2),r.ɵɵtextInterpolate(i.x),r.ɵɵadvance(2),r.ɵɵtextInterpolate(i.y),r.ɵɵadvance(2),r.ɵɵtextInterpolate(i.z)}}function f(t,e){if(1&t&&(r.ɵɵelementStart(0,"div",1),r.ɵɵtemplate(1,d,2,1,"div",2),r.ɵɵtemplate(2,h,18,14,"div",3),r.ɵɵelementEnd()),2&t){var n=r.ɵɵnextContext();r.ɵɵadvance(1),r.ɵɵproperty("ngIf",!n.mappedControlPoints||n.mappedControlPoints.length<1),r.ɵɵadvance(1),r.ɵɵproperty("ngForOf",n.mappedControlPoints)}}var g=function(){function t(){this.linkSrc=n(2076),this.controlPointSelected=new i.EventEmitter,this.controlPointHovered=new i.EventEmitter,this.relinkButtonClicked=new i.EventEmitter}return t.prototype.selectControlPoint=function(t,e){t.preventDefault(),e.selected=!e.selected,this.controlPointSelected.emit()},t.prototype.hoverControlPoint=function(t){this.controlPointHovered.emit(t)},t.prototype.getScannedAtTimeInMinutes=function(t,e){var n=o.unix(parseFloat(t.timestamp));return Math.round(n.diff(e.mappingTimeStart)/6e4)},t.prototype.clickRelink=function(t,e){t.stopPropagation(),this.relinkButtonClicked.emit(e)},t.ɵfac=function(e){return new(e||t)},t.ɵcmp=r.ɵɵdefineComponent({type:t,selectors:[["mapped-control-points"]],inputs:{mappedControlPoints:"mappedControlPoints",dataset:"dataset"},outputs:{controlPointSelected:"controlPointSelected",controlPointHovered:"controlPointHovered",relinkButtonClicked:"relinkButtonClicked"},decls:1,vars:0,consts:[["class","mapped-control-points",4,"transloco"],[1,"mapped-control-points"],["class","no-control-points",4,"ngIf"],["class","list-row",3,"error","click","mouseenter",4,"ngFor","ngForOf"],[1,"no-control-points"],[1,"list-row",3,"click","mouseenter"],[1,"control-point-name-cell"],[1,"control-point-checkbox",3,"checked","click"],[1,"control-point-name"],[1,"relink-info-cell"],["class","material-icons warning-sign",4,"ngIf"],["class","relink-info",4,"ngIf"],[1,"relink-button-cell"],[1,"link-button",3,"alt","title","src","click"],["fxFlex","15%"],[1,"material-icons","warning-sign"],[1,"relink-info"],[1,"link-icon",3,"alt","src"]],template:function(t,e){1&t&&r.ɵɵtemplate(0,f,3,2,"div",0)},directives:[a.TranslocoDirective,s.NgIf,s.NgForOf,l.MatCheckbox,c.AddBaseUrlDirective,u.DefaultFlexDirective],styles:["[_nghost-%COMP%]{display:flex;flex-grow:1;max-height:100%}.box[_ngcontent-%COMP%]{overflow:hidden;padding:20px}.spacing-aligned[_ngcontent-%COMP%]{padding-top:44px}.headings[_ngcontent-%COMP%]{padding-right:17px;margin-bottom:10px;font-size:10px;font-weight:700;line-height:1.4;text-transform:uppercase;color:hsla(0,0%,54.5%,.9)}.content[_ngcontent-%COMP%]{margin:0 -24px -16px}.no-control-points[_ngcontent-%COMP%]{padding:.7em}.mapped-control-points-header[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-between;width:100%}.mapped-control-points-header[_ngcontent-%COMP%] .dataset-name[_ngcontent-%COMP%]{display:flex;flex-flow:column nowrap}.dataset-warning[_ngcontent-%COMP%]{display:flex;align-items:center;color:#e62a10;margin-left:.7em}.dataset-warning[_ngcontent-%COMP%] .warning-sign[_ngcontent-%COMP%]{color:#e62a10;font-size:1.4285714286em;margin-right:.7em}.dataset-list-wrapper[_ngcontent-%COMP%]{height:100%}.scroll-able[_ngcontent-%COMP%]{overflow-x:auto}mat-expansion-panel[_ngcontent-%COMP%], zoomable[_ngcontent-%COMP%]{border:1px solid hsla(0,0%,67.8%,.19)}zoomable[_ngcontent-%COMP%]{height:100%;border-radius:4px}.quality-map[_ngcontent-%COMP%]{max-width:100%}.quality-map-holder[_ngcontent-%COMP%]{position:relative}.spinner[_ngcontent-%COMP%]{width:10em;height:10em;margin:auto;display:flex;justify-content:center}.cp-error-message[_ngcontent-%COMP%]{border:1px solid red;padding:10px 0;margin-bottom:30px;align-items:center}.icon[_ngcontent-%COMP%]{font-size:1.5em;padding:0 25px 0 15px}.red[_ngcontent-%COMP%]{color:#d54828}.first-label[_ngcontent-%COMP%]{padding-left:40px}.mat-expansion-panel-body[_ngcontent-%COMP%]{padding:0}.mapped-control-points[_ngcontent-%COMP%]{width:100%;display:flex;flex-flow:column nowrap}.list-row[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;padding-top:6px;padding-bottom:6px;border-top:1px solid hsla(0,0%,67.8%,.19);line-height:2em;cursor:pointer}.list-row[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.05)}.list-row.error[_ngcontent-%COMP%], .list-row.error[_ngcontent-%COMP%]:hover{background-color:#ffc7ba}.list-row[_ngcontent-%COMP%] .control-point-name-cell[_ngcontent-%COMP%]{flex:1 1 100%;max-width:15%;display:flex;align-items:center}.list-row[_ngcontent-%COMP%] .control-point-name-cell[_ngcontent-%COMP%] .control-point-checkbox[_ngcontent-%COMP%], .list-row[_ngcontent-%COMP%] .control-point-name-cell[_ngcontent-%COMP%] .control-point-name[_ngcontent-%COMP%]{margin-left:.7em}.list-row[_ngcontent-%COMP%] .relink-info-cell[_ngcontent-%COMP%]{flex:1 1 100%;max-width:15%;display:flex;align-items:center}.list-row[_ngcontent-%COMP%] .relink-info-cell[_ngcontent-%COMP%] .warning-sign[_ngcontent-%COMP%]{color:#d54828;font-size:1.4285714286em}.list-row[_ngcontent-%COMP%] .relink-info-cell[_ngcontent-%COMP%] .relink-info[_ngcontent-%COMP%]{display:flex;align-items:center;margin-right:.7em}.list-row[_ngcontent-%COMP%] .relink-info-cell[_ngcontent-%COMP%] .relink-info[_ngcontent-%COMP%] .link-icon[_ngcontent-%COMP%]{width:1em;height:1em;margin:0 .3em}.list-row[_ngcontent-%COMP%] .link-button[_ngcontent-%COMP%]{width:1.7142857143em;height:1.7142857143em;cursor:pointer;display:none}.list-row[_ngcontent-%COMP%]:hover .link-button[_ngcontent-%COMP%]{display:inline}.list-row[_ngcontent-%COMP%] .relink-button-cell[_ngcontent-%COMP%]{flex:1 1 100%;max-width:10%;display:flex;align-items:center}"]}),t}();e.MappedControlPointsComponent=g,r.ɵsetClassMetadata(g,[{type:i.Component,args:[{selector:"mapped-control-points",templateUrl:"./MappedControlPoints.ng.html",styleUrls:["./MappedControlPoints.ng.scss"]}]}],null,{mappedControlPoints:[{type:i.Input}],dataset:[{type:i.Input}],controlPointSelected:[{type:i.Output}],controlPointHovered:[{type:i.Output}],relinkButtonClicked:[{type:i.Output}]})},1963:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(0),r=function(){function t(){this.color="#303036"}return t.ɵfac=function(e){return new(e||t)},t.ɵcmp=o.ɵɵdefineComponent({type:t,selectors:[["ground-control-point"]],inputs:{left:"left",bottom:"bottom",name:"name",color:"color"},decls:8,vars:8,consts:[[1,"ground-control-point"],["width","30","height","30","viewBox","0 0 30 30","fill","none","xmlns","http://www.w3.org/2000/svg"],["id","mask0","mask-type","alpha","maskUnits","userSpaceOnUse","x","2","y","2","width","26","height","26"],["fill-rule","evenodd","clip-rule","evenodd","d","M15.9375 25.58V21.1563C18.6325 20.7475 20.7475 18.6325 21.1563 15.9375H25.5838C25.135 21.05 21.05 25.1313 15.9375 25.58V25.58ZM10.7313 15.9375H14.0625V19.2687C12.4025 18.9037 11.0963 17.5975 10.7313 15.9375V15.9375ZM14.0625 4.42252V8.84377C11.3675 9.25252 9.2525 11.3675 8.84375 14.0625H4.4225C4.87125 8.95127 8.95125 4.87252 14.0625 4.42252V4.42252ZM14.0625 14.0625H10.7313C11.0963 12.4025 12.4025 11.0962 14.0625 10.7312V14.0625ZM19.2687 14.0625H15.9375V10.7312C17.5975 11.0962 18.9037 12.4025 19.2687 14.0625V14.0625ZM15.9375 15.9375H19.2687C18.9037 17.5975 17.5975 18.9037 15.9375 19.2687V15.9375ZM21.1563 14.0625C20.7475 11.3675 18.6325 9.2525 15.9375 8.84375V2.5H15C8.0975 2.5 2.5 8.0975 2.5 15V15.9375H8.84375C9.2525 18.6325 11.3675 20.7475 14.0625 21.1563V27.5H15C21.5887 27.5 26.9862 22.4037 27.4662 15.9375C27.4875 15.6275 27.5 15.315 27.5 15V14.0625H21.1563Z","fill","white"],["mask","url(#mask0)"],["fill-rule","evenodd","clip-rule","evenodd","d","M0 0H30V30H0V0Z"]],template:function(t,e){1&t&&(o.ɵɵelementStart(0,"div",0),o.ɵɵelementStart(1,"div"),o.ɵɵtext(2),o.ɵɵelementEnd(),o.ɵɵnamespaceSVG(),o.ɵɵelementStart(3,"svg",1),o.ɵɵelementStart(4,"mask",2),o.ɵɵelement(5,"path",3),o.ɵɵelementEnd(),o.ɵɵelementStart(6,"g",4),o.ɵɵelement(7,"path",5),o.ɵɵelementEnd(),o.ɵɵelementEnd(),o.ɵɵelementEnd()),2&t&&(o.ɵɵstyleProp("left",e.left,"%")("bottom",e.bottom,"%"),o.ɵɵadvance(1),o.ɵɵstyleProp("color",e.color),o.ɵɵadvance(1),o.ɵɵtextInterpolate(e.name),o.ɵɵadvance(5),o.ɵɵattribute("fill",e.color))},styles:[".ground-control-point[_ngcontent-%COMP%]{position:absolute;transform:translate(-50%,30%);text-align:center;display:flex;flex-flow:column nowrap;color:#353436;font-style:normal;font-weight:400;font-size:16px;line-height:20px}"]}),t}();e.ControlPointLocationComponent=r,o.ɵsetClassMetadata(r,[{type:i.Component,args:[{selector:"ground-control-point",templateUrl:"./ControlPointLocation.ng.html",styleUrls:["./ControlPointLocation.ng.scss"]}]}],null,{left:[{type:i.Input}],bottom:[{type:i.Input}],name:[{type:i.Input}],color:[{type:i.Input}]})},1964:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(2),r=n(6),a=n(2077),s=n(2078),l=n(2079),c=n(0),u=function(){function t(){this.numberRegex=/^[+-]?\d*\.?\d*$/,this.MIN_REQUIRED_FIELDS=4,this.TOO_FEW_PARAMETERS_ERROR_MSG="The control points file contains a line with too few parameters",this.NO_VALID_LINES_ERROR_MSG="Control points file is empty or doesn't contain enough control point coordinates",this.NO_NUMBER_PARAMETER_ERROR_MSG="The control points file contains a line where parameters besides the identifier aren't all numbers"}return t.prototype.getValidatorReport=function(t){var e=this,n=0,i=new a.MeasuredControlPointsFileValidatorReport;if(t.split("\n").forEach(function(t){if(n++,t&&"#"!==t.charAt(0)){var o=t.trim();e.numberRegex.test(o)||e.validateLine(o,n,i)}}),0===i.validLines.length){var o=new s.ControlPointLineError(0,this.NO_VALID_LINES_ERROR_MSG);i.invalidLines.push(o)}return this.lastAnalyzedValidityReport=i,this.lastAnalyzedValidityReport},t.prototype.validateLine=function(t,e,n){var i=t.split(/[ |\t]/).filter(function(t){return!!t});if(i.length<this.MIN_REQUIRED_FIELDS){var o=new s.ControlPointLineError(e,this.TOO_FEW_PARAMETERS_ERROR_MSG);n.invalidLines.push(o)}else try{var r=new l.MeasuredControlPoint;r.name=this.getName(i),r.x=this.parseFloatStrict(i[1]),r.y=this.parseFloatStrict(i[2]),r.z=this.parseFloatStrict(i[3]),i[4]&&(r.yaw=this.parseFloatStrict(i[4])),i[4]&&i[5]&&(r.timestamp=this.parseFloatStrict(i[5]).toString()),n.validLines.push(r)}catch(t){o=new s.ControlPointLineError(e,this.NO_NUMBER_PARAMETER_ERROR_MSG),n.invalidLines.push(o)}},t.prototype.getName=function(t){var e=t[0].trim();return e.startsWith('"')?e.substring(1,e.length-1):e},t.prototype.parseFloatStrict=function(t){if(t){var e=t.trim();if(!this.numberRegex.test(e))throw new Error(t+" is not a number");return parseFloat(e)}},t.ɵfac=function(e){return new(e||t)},t.ɵprov=c.ɵɵdefineInjectable({token:t,factory:t.ɵfac,providedIn:"root"}),t}();e.MeasuredControlPointsFileParser=u,c.ɵsetClassMetadata(u,[{type:i.Injectable,args:[{providedIn:"root"}]}],null,null),o.module("IVWebApp").service("MeasuredControlPointsFileParser",r.downgradeInjectable(u))},1965:function(t,e,n){"use strict";var i=this&&this.__awaiter||function(t,e,n,i){return new(n||(n=Promise))(function(o,r){function a(t){try{l(i.next(t))}catch(t){r(t)}}function s(t){try{l(i.throw(t))}catch(t){r(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(a,s)}l((i=i.apply(t,e||[])).next())})},o=this&&this.__generator||function(t,e){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(6===r[0]&&a.label<o[1]){a.label=o[1],o=r;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(r);break}o[2]&&a.ops.pop(),a.trys.pop();continue}r=e.call(t,a)}catch(t){r=[6,t],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}};Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),a=n(6),s=n(0),l=(n(9),n(2080)),c=n(0),u=n(9),d=function(){function t(t){this.RestService=t,this.API_PATH="control_points_validation"}return t.prototype.validate=function(t,e){return i(this,void 0,void 0,function(){var n,i,r,a,s,c;return o(this,function(o){switch(o.label){case 0:return[4,this.RestService.postApi(this.API_PATH,{dataset_name:t,measured_control_points:e.map(function(t){return t.toData()})},void 0,!0)];case 1:for(n=o.sent(),i=[],r=0,a=n;r<a.length;r++)s=a[r],(c=new l.ControlPointsValidationResult).fillFromData(s),i.push(c);return[2,i]}})})},t.ɵfac=function(e){return new(e||t)(c.ɵɵinject(u.RestService))},t.ɵprov=c.ɵɵdefineInjectable({token:t,factory:t.ɵfac,providedIn:"root"}),t}();e.ControlPointsValidationService=d,c.ɵsetClassMetadata(d,[{type:s.Injectable,args:[{providedIn:"root"}]}],function(){return[{type:u.RestService}]},null),r.module("IVWebApp").service("ControlPointsValidationService",a.downgradeInjectable(d))},1966:function(t,e,n){"use strict";n.r(e),n.d(e,"MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",function(){return p}),n.d(e,"MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR",function(){return m}),n.d(e,"MatButtonToggle",function(){return b}),n.d(e,"MatButtonToggleChange",function(){return g}),n.d(e,"MatButtonToggleGroup",function(){return v}),n.d(e,"MatButtonToggleGroupMultiple",function(){return h}),n.d(e,"MatButtonToggleModule",function(){return y});var i=n(1),o=n(63),r=n(23),a=n(343),s=n(0),l=n(624),c=n(47),u=["button"],d=["*"],p=new s.InjectionToken("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),m={provide:l.NG_VALUE_ACCESSOR,useExisting:Object(s.forwardRef)(function(){return v}),multi:!0},h=function(){},f=0,g=function(t,e){this.source=t,this.value=e},v=function(){function t(t,e){this._changeDetector=t,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=function(){},this._onTouched=function(){},this._name="mat-button-toggle-group-"+f++,this.valueChange=new s.EventEmitter,this.change=new s.EventEmitter,this.appearance=e&&e.appearance?e.appearance:"standard"}return Object.defineProperty(t.prototype,"name",{get:function(){return this._name},set:function(t){var e=this;this._name=t,this._buttonToggles&&this._buttonToggles.forEach(function(t){t.name=e._name,t._markForCheck()})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"vertical",{get:function(){return this._vertical},set:function(t){this._vertical=Object(r.c)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){var t=this._selectionModel?this._selectionModel.selected:[];return this.multiple?t.map(function(t){return t.value}):t[0]?t[0].value:void 0},set:function(t){this._setSelectionByValue(t),this.valueChange.emit(this.value)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){var t=this._selectionModel?this._selectionModel.selected:[];return this.multiple?t:t[0]||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"multiple",{get:function(){return this._multiple},set:function(t){this._multiple=Object(r.c)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Object(r.c)(t),this._buttonToggles&&this._buttonToggles.forEach(function(t){return t._markForCheck()})},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this._selectionModel=new a.c(this.multiple,void 0,!1)},t.prototype.ngAfterContentInit=function(){var t;(t=this._selectionModel).select.apply(t,Object(i.h)(this._buttonToggles.filter(function(t){return t.checked})))},t.prototype.writeValue=function(t){this.value=t,this._changeDetector.markForCheck()},t.prototype.registerOnChange=function(t){this._controlValueAccessorChangeFn=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype._emitChangeEvent=function(){var t=this.selected,e=Array.isArray(t)?t[t.length-1]:t,n=new g(e,this.value);this._controlValueAccessorChangeFn(n.value),this.change.emit(n)},t.prototype._syncButtonToggle=function(t,e,n,i){var o=this;void 0===n&&(n=!1),void 0===i&&(i=!1),this.multiple||!this.selected||t.checked||(this.selected.checked=!1),this._selectionModel?e?this._selectionModel.select(t):this._selectionModel.deselect(t):i=!0,i?Promise.resolve().then(function(){return o._updateModelValue(n)}):this._updateModelValue(n)},t.prototype._isSelected=function(t){return this._selectionModel&&this._selectionModel.isSelected(t)},t.prototype._isPrechecked=function(t){return void 0!==this._rawValue&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(function(e){return null!=t.value&&e===t.value}):t.value===this._rawValue)},t.prototype._setSelectionByValue=function(t){var e=this;if(this._rawValue=t,this._buttonToggles)if(this.multiple&&t){if(!Array.isArray(t))throw Error("Value must be an array in multiple-selection mode.");this._clearSelection(),t.forEach(function(t){return e._selectValue(t)})}else this._clearSelection(),this._selectValue(t)},t.prototype._clearSelection=function(){this._selectionModel.clear(),this._buttonToggles.forEach(function(t){return t.checked=!1})},t.prototype._selectValue=function(t){var e=this._buttonToggles.find(function(e){return null!=e.value&&e.value===t});e&&(e.checked=!0,this._selectionModel.select(e))},t.prototype._updateModelValue=function(t){t&&this._emitChangeEvent(),this.valueChange.emit(this.value)},t.ctorParameters=function(){return[{type:s.ChangeDetectorRef},{type:void 0,decorators:[{type:s.Optional},{type:s.Inject,args:[p]}]}]},t.propDecorators={_buttonToggles:[{type:s.ContentChildren,args:[Object(s.forwardRef)(function(){return b}),{descendants:!0}]}],appearance:[{type:s.Input}],name:[{type:s.Input}],vertical:[{type:s.Input}],value:[{type:s.Input}],valueChange:[{type:s.Output}],multiple:[{type:s.Input}],disabled:[{type:s.Input}],change:[{type:s.Output}]},t.ɵfac=function(e){return new(e||t)(s["ɵɵdirectiveInject"](s.ChangeDetectorRef),s["ɵɵdirectiveInject"](p,8))},t.ɵdir=s["ɵɵdefineDirective"]({type:t,selectors:[["mat-button-toggle-group"]],contentQueries:function(t,e,n){var i;1&t&&s["ɵɵcontentQuery"](n,b,!0),2&t&&s["ɵɵqueryRefresh"](i=s["ɵɵloadQuery"]())&&(e._buttonToggles=i)},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(t,e){2&t&&(s["ɵɵattribute"]("aria-disabled",e.disabled),s["ɵɵclassProp"]("mat-button-toggle-vertical",e.vertical)("mat-button-toggle-group-appearance-standard","standard"===e.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[s["ɵɵProvidersFeature"]([m,{provide:h,useExisting:t}])]}),t}(),b=function(t){function e(e,n,i,o,r,a){var l=t.call(this)||this;l._changeDetectorRef=n,l._elementRef=i,l._focusMonitor=o,l._isSingleSelector=!1,l._checked=!1,l.ariaLabelledby=null,l._disabled=!1,l.change=new s.EventEmitter;var c=Number(r);return l.tabIndex=c||0===c?c:null,l.buttonToggleGroup=e,l.appearance=a&&a.appearance?a.appearance:"standard",l}return Object(i.c)(e,t),Object.defineProperty(e.prototype,"buttonId",{get:function(){return this.id+"-button"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"appearance",{get:function(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance},set:function(t){this._appearance=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"checked",{get:function(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked},set:function(t){var e=Object(r.c)(t);e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled},set:function(t){this._disabled=Object(r.c)(t)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this.buttonToggleGroup;this._isSingleSelector=t&&!t.multiple,this._type=this._isSingleSelector?"radio":"checkbox",this.id=this.id||"mat-button-toggle-"+f++,this._isSingleSelector&&(this.name=t.name),t&&(t._isPrechecked(this)?this.checked=!0:t._isSelected(this)!==this._checked&&t._syncButtonToggle(this,this._checked)),this._focusMonitor.monitor(this._elementRef,!0)},e.prototype.ngOnDestroy=function(){var t=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),t&&t._isSelected(this)&&t._syncButtonToggle(this,!1,!1,!0)},e.prototype.focus=function(t){this._buttonElement.nativeElement.focus(t)},e.prototype._onButtonClick=function(){var t=!!this._isSingleSelector||!this._checked;t!==this._checked&&(this._checked=t,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new g(this,this.value))},e.prototype._markForCheck=function(){this._changeDetectorRef.markForCheck()},e.ctorParameters=function(){return[{type:v,decorators:[{type:s.Optional}]},{type:s.ChangeDetectorRef},{type:s.ElementRef},{type:o.h},{type:String,decorators:[{type:s.Attribute,args:["tabindex"]}]},{type:void 0,decorators:[{type:s.Optional},{type:s.Inject,args:[p]}]}]},e.propDecorators={ariaLabel:[{type:s.Input,args:["aria-label"]}],ariaLabelledby:[{type:s.Input,args:["aria-labelledby"]}],_buttonElement:[{type:s.ViewChild,args:["button"]}],id:[{type:s.Input}],name:[{type:s.Input}],value:[{type:s.Input}],tabIndex:[{type:s.Input}],appearance:[{type:s.Input}],checked:[{type:s.Input}],disabled:[{type:s.Input}],change:[{type:s.Output}]},e.ɵfac=function(t){return new(t||e)(s["ɵɵdirectiveInject"](v,8),s["ɵɵdirectiveInject"](s.ChangeDetectorRef),s["ɵɵdirectiveInject"](s.ElementRef),s["ɵɵdirectiveInject"](o.h),s["ɵɵinjectAttribute"]("tabindex"),s["ɵɵdirectiveInject"](p,8))},e.ɵcmp=s["ɵɵdefineComponent"]({type:e,selectors:[["mat-button-toggle"]],viewQuery:function(t,e){var n;1&t&&s["ɵɵviewQuery"](u,!0),2&t&&s["ɵɵqueryRefresh"](n=s["ɵɵloadQuery"]())&&(e._buttonElement=n.first)},hostAttrs:[1,"mat-button-toggle"],hostVars:11,hostBindings:function(t,e){1&t&&s["ɵɵlistener"]("focus",function(){return e.focus()}),2&t&&(s["ɵɵattribute"]("tabindex",-1)("id",e.id)("name",null),s["ɵɵclassProp"]("mat-button-toggle-standalone",!e.buttonToggleGroup)("mat-button-toggle-checked",e.checked)("mat-button-toggle-disabled",e.disabled)("mat-button-toggle-appearance-standard","standard"===e.appearance))},inputs:{disableRipple:"disableRipple",appearance:"appearance",checked:"checked",disabled:"disabled",id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],value:"value",tabIndex:"tabIndex"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[s["ɵɵInheritDefinitionFeature"]],ngContentSelectors:d,decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(t,e){if(1&t&&(s["ɵɵprojectionDef"](),s["ɵɵelementStart"](0,"button",0,1),s["ɵɵlistener"]("click",function(){return e._onButtonClick()}),s["ɵɵelementStart"](2,"div",2),s["ɵɵprojection"](3),s["ɵɵelementEnd"](),s["ɵɵelementEnd"](),s["ɵɵelement"](4,"div",3),s["ɵɵelement"](5,"div",4)),2&t){var n=s["ɵɵreference"](1);s["ɵɵproperty"]("id",e.buttonId)("disabled",e.disabled||null),s["ɵɵattribute"]("tabindex",e.disabled?-1:e.tabIndex)("aria-pressed",e.checked)("name",e.name||null)("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby),s["ɵɵadvance"](5),s["ɵɵproperty"]("matRippleTrigger",n)("matRippleDisabled",e.disableRipple||e.disabled)}},directives:[c.MatRipple],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:transparent}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.cdk-high-contrast-active .mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:.5}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}.cdk-high-contrast-active .mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.5}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{line-height:48px;padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{border-radius:inherit;pointer-events:none;opacity:0;top:0;left:0;right:0;bottom:0;position:absolute}.mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 48px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}\n"],encapsulation:2,changeDetection:0}),e}(Object(c.mixinDisableRipple)(function(){})),y=function(){function t(){}return t.ɵmod=s["ɵɵdefineNgModule"]({type:t}),t.ɵinj=s["ɵɵdefineInjector"]({factory:function(e){return new(e||t)},imports:[[c.MatCommonModule,c.MatRippleModule],c.MatCommonModule]}),("undefined"==typeof ngJitMode||ngJitMode)&&s["ɵɵsetNgModuleScope"](t,{declarations:function(){return[v,b]},imports:function(){return[c.MatCommonModule,c.MatRippleModule]},exports:function(){return[c.MatCommonModule,v,b]}}),t}()},1967:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(30),r=n(0),a=n(168),s=n(1709),l=n(3);function c(t,e){if(1&t&&(r.ɵɵelementStart(0,"div",8),r.ɵɵelementStart(1,"h6",9),r.ɵɵtext(2),r.ɵɵelementEnd(),r.ɵɵelementStart(3,"ul"),r.ɵɵelementStart(4,"li"),r.ɵɵtext(5),r.ɵɵelementEnd(),r.ɵɵelementStart(6,"li"),r.ɵɵtext(7),r.ɵɵelementEnd(),r.ɵɵelementStart(8,"li"),r.ɵɵtext(9),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementStart(10,"h6",9),r.ɵɵtext(11),r.ɵɵelementEnd(),r.ɵɵelementStart(12,"ul"),r.ɵɵelementStart(13,"li"),r.ɵɵtext(14),r.ɵɵelementEnd(),r.ɵɵelementStart(15,"li"),r.ɵɵtext(16),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementEnd()),2&t){var n=r.ɵɵnextContext().$implicit;r.ɵɵadvance(2),r.ɵɵtextInterpolate(n("What it does:")),r.ɵɵadvance(3),r.ɵɵtextInterpolate(n("Restricts the effective laser scanner range to 10 - 15 m.")),r.ɵɵadvance(2),r.ɵɵtextInterpolate(n("Only points with high confidence are retained.")),r.ɵɵadvance(2),r.ɵɵtextInterpolate(n("Regions that have not been scanned densely are removed.")),r.ɵɵadvance(2),r.ɵɵtextInterpolate(n("When to use:")),r.ɵɵadvance(3),r.ɵɵtextInterpolate(n("Recommended for indoor environments that are not too wide and open.")),r.ɵɵadvance(2),r.ɵɵtextInterpolate(n("Yields compact scans: removes points that were scanned unintentionally from a large distance."))}}function u(t,e){if(1&t&&(r.ɵɵelementStart(0,"div",8),r.ɵɵelementStart(1,"h6",9),r.ɵɵtext(2),r.ɵɵelementEnd(),r.ɵɵelementStart(3,"ul"),r.ɵɵelementStart(4,"li"),r.ɵɵtext(5),r.ɵɵelementEnd(),r.ɵɵelementStart(6,"li"),r.ɵɵtext(7),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementStart(8,"h6",9),r.ɵɵtext(9),r.ɵɵelementEnd(),r.ɵɵelementStart(10,"ul"),r.ɵɵelementStart(11,"li"),r.ɵɵtext(12),r.ɵɵelementEnd(),r.ɵɵelementStart(13,"li"),r.ɵɵtext(14),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementEnd()),2&t){var n=r.ɵɵnextContext().$implicit;r.ɵɵadvance(2),r.ɵɵtextInterpolate(n("What it does:")),r.ɵɵadvance(3),r.ɵɵtextInterpolate(n("Designed for general use: aims to yield high quality point clouds in a wide range of scenarios.")),r.ɵɵadvance(2),r.ɵɵtextInterpolate(n("Uses an effective laser scanner range of 30 m.")),r.ɵɵadvance(2),r.ɵɵtextInterpolate(n("When to use:")),r.ɵɵadvance(3),r.ɵɵtextInterpolate(n("Use in narrow as well as in larger and open environments and buildings.")),r.ɵɵadvance(2),r.ɵɵtextInterpolate(n("Yields good results in most indoor scenarios."))}}function d(t,e){if(1&t&&(r.ɵɵelementStart(0,"div",8),r.ɵɵelementStart(1,"h6",9),r.ɵɵtext(2),r.ɵɵelementEnd(),r.ɵɵelementStart(3,"ul"),r.ɵɵelementStart(4,"li"),r.ɵɵtext(5),r.ɵɵelementEnd(),r.ɵɵelementStart(6,"li"),r.ɵɵtext(7),r.ɵɵelementEnd(),r.ɵɵelementStart(8,"li"),r.ɵɵtext(9),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementStart(10,"h6",9),r.ɵɵtext(11),r.ɵɵelementEnd(),r.ɵɵelementStart(12,"ul"),r.ɵɵelementStart(13,"li"),r.ɵɵtext(14),r.ɵɵelementEnd(),r.ɵɵelementStart(15,"li"),r.ɵɵtext(16),r.ɵɵelementEnd(),r.ɵɵelementStart(17,"li"),r.ɵɵtext(18),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementEnd()),2&t){var n=r.ɵɵnextContext().$implicit;r.ɵɵadvance(2),r.ɵɵtextInterpolate(n("What it does:")),r.ɵɵadvance(3),r.ɵɵtextInterpolate(n("Increases the effective laser scanner range to 50 m.")),r.ɵɵadvance(2),r.ɵɵtextInterpolate(n("The filtering retains points from sparsely scanned areas.")),r.ɵɵadvance(2),r.ɵɵtextInterpolate(n('Typically less accurate than "standard" and "high confidence"; the point cloud may exhibit a higher noise level.')),r.ɵɵadvance(2),r.ɵɵtextInterpolate(n("When to use:")),r.ɵɵadvance(3),r.ɵɵtextInterpolate(n("For obtaining rather large and complete clouds especially when outdoors.")),r.ɵɵadvance(2),r.ɵɵtextInterpolate(n("To scan building surroundings and facades.")),r.ɵɵadvance(2),r.ɵɵtextInterpolate(n("To scan objects from a larger distance."))}}function p(t,e){if(1&t){var n=r.ɵɵgetCurrentView();r.ɵɵelementContainerStart(0),r.ɵɵelementStart(1,"div",1),r.ɵɵelementStart(2,"div",2),r.ɵɵelementStart(3,"div",3),r.ɵɵelementStart(4,"span"),r.ɵɵtext(5),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementStart(6,"div",4),r.ɵɵlistener("mouseenter",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().vlxHoverMap[0][0]=!0})("mouseleave",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().vlxHoverMap[0][0]=!1}),r.ɵɵelementStart(7,"mat-icon",5),r.ɵɵtext(8,"add_circle"),r.ɵɵelementEnd(),r.ɵɵelementStart(9,"mat-icon",5),r.ɵɵtext(10,"add_circle"),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementStart(11,"div",4),r.ɵɵlistener("mouseenter",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().vlxHoverMap[0][1]=!0})("mouseleave",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().vlxHoverMap[0][1]=!1}),r.ɵɵelementStart(12,"mat-icon",5),r.ɵɵtext(13,"add_circle"),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementStart(14,"div",4),r.ɵɵlistener("mouseenter",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().vlxHoverMap[0][2]=!0})("mouseleave",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().vlxHoverMap[0][2]=!1}),r.ɵɵelementStart(15,"mat-icon",5),r.ɵɵtext(16,"add_circle"),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementStart(17,"div",2),r.ɵɵelementStart(18,"div",3),r.ɵɵelementStart(19,"span"),r.ɵɵtext(20),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementStart(21,"div",4),r.ɵɵlistener("mouseenter",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().vlxHoverMap[1][0]=!0})("mouseleave",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().vlxHoverMap[1][0]=!1}),r.ɵɵelementStart(22,"mat-icon",5),r.ɵɵtext(23,"add_circle"),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementStart(24,"div",4),r.ɵɵlistener("mouseenter",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().vlxHoverMap[1][1]=!0})("mouseleave",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().vlxHoverMap[1][1]=!1}),r.ɵɵelementStart(25,"mat-icon",5),r.ɵɵtext(26,"add_circle"),r.ɵɵelementEnd(),r.ɵɵelementStart(27,"mat-icon",5),r.ɵɵtext(28,"add_circle"),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementStart(29,"div",4),r.ɵɵlistener("mouseenter",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().vlxHoverMap[1][2]=!0})("mouseleave",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().vlxHoverMap[1][2]=!1}),r.ɵɵelementStart(30,"mat-icon",5),r.ɵɵtext(31,"add_circle"),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementStart(32,"div",2),r.ɵɵelementStart(33,"div",3),r.ɵɵelementStart(34,"span"),r.ɵɵtext(35),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementStart(36,"div",4),r.ɵɵlistener("mouseenter",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().vlxHoverMap[2][0]=!0})("mouseleave",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().vlxHoverMap[2][0]=!1}),r.ɵɵelementStart(37,"mat-icon",6),r.ɵɵtext(38,"remove_circle"),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementStart(39,"div",4),r.ɵɵlistener("mouseenter",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().vlxHoverMap[2][1]=!0})("mouseleave",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().vlxHoverMap[2][1]=!1}),r.ɵɵelementStart(40,"mat-icon",5),r.ɵɵtext(41,"add_circle"),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementStart(42,"div",4),r.ɵɵlistener("mouseenter",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().vlxHoverMap[2][2]=!0})("mouseleave",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().vlxHoverMap[2][2]=!1}),r.ɵɵelementStart(43,"mat-icon",5),r.ɵɵtext(44,"add_circle"),r.ɵɵelementEnd(),r.ɵɵelementStart(45,"mat-icon",5),r.ɵɵtext(46,"add_circle"),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵtemplate(47,c,17,7,"div",7),r.ɵɵtemplate(48,u,15,6,"div",7),r.ɵɵtemplate(49,d,19,8,"div",7),r.ɵɵelementContainerEnd()}if(2&t){var i=e.$implicit,o=r.ɵɵnextContext();r.ɵɵadvance(1),r.ɵɵproperty("@expand",o.expanded?"expanded":"collapsed"),r.ɵɵadvance(4),r.ɵɵtextInterpolate(i("Narrow environments / rooms / offices")),r.ɵɵadvance(15),r.ɵɵtextInterpolate(i("Large Spaces / Warehouses / Factories")),r.ɵɵadvance(15),r.ɵɵtextInterpolate(i("Outdoors / Surroundings / Facades")),r.ɵɵadvance(12),r.ɵɵproperty("ngIf",o.vlxHoverMap[0][0]||o.vlxHoverMap[1][0]||o.vlxHoverMap[2][0]),r.ɵɵadvance(1),r.ɵɵproperty("ngIf",o.vlxHoverMap[0][1]||o.vlxHoverMap[1][1]||o.vlxHoverMap[2][1]),r.ɵɵadvance(1),r.ɵɵproperty("ngIf",o.vlxHoverMap[0][2]||o.vlxHoverMap[1][2]||o.vlxHoverMap[2][2])}}var m=function(){function t(){this.expanded=!1,this.vlxHoverMap=[[!1,!1,!1],[!1,!1,!1],[!1,!1,!1]]}return t.ɵfac=function(e){return new(e||t)},t.ɵcmp=r.ɵɵdefineComponent({type:t,selectors:[["vlx-presets-table"]],inputs:{expanded:"expanded"},decls:1,vars:0,consts:[[4,"transloco"],[1,"form-group","setting-pros"],[1,"col-xs-12","setting-pros_item"],[1,"col-xs-3","setting-pros_cell-text"],[1,"col-xs-3","setting-pros_cell",3,"mouseenter","mouseleave"],[1,"icon-success"],[1,"icon-warn"],["class","mode-column-details",4,"ngIf"],[1,"mode-column-details"],[1,"mode-column-details_header"]],template:function(t,e){1&t&&r.ɵɵtemplate(0,p,50,7,"ng-container",0)},directives:[a.TranslocoDirective,s.MatIcon,l.NgIf],styles:["[_nghost-%COMP%]{position:relative;display:block}.setting-pros[_ngcontent-%COMP%]{position:relative;padding-left:36px;padding-right:0;margin:0}.setting-pros_cell[_ngcontent-%COMP%]{justify-content:center}.setting-pros_cell[_ngcontent-%COMP%], .setting-pros_cell-text[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;height:100%}.setting-pros_cell-text[_ngcontent-%COMP%]{justify-content:flex-end;text-align:right}.setting-pros_cell-text[_ngcontent-%COMP%]:first-child{padding-left:0;padding-right:30px}.setting-pros_item[_ngcontent-%COMP%]{height:96px;padding-left:0;padding-right:0}.setting-pros_item[_ngcontent-%COMP%]:nth-of-type(odd){background-color:#f8f7fa}.icon-warn[_ngcontent-%COMP%]{color:#f44336}.icon-success[_ngcontent-%COMP%]{color:#42d4a6}.mode-column-details[_ngcontent-%COMP%]{position:absolute;left:100%;top:0;bottom:0;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding-left:48px;min-width:280px;font-size:12px}.mode-column-details_header[_ngcontent-%COMP%]{font-weight:700;font-size:12px}.mode-column-details[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]{list-style-type:disc}.mode-column-details[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{padding-left:8px}"],data:{animation:[o.trigger("expand",[o.state("expanded",o.style({height:"*",overflow:"hidden"})),o.state("collapsed",o.style({height:"0px",overflow:"hidden"})),o.transition("expanded <=> collapsed",[o.animate("0.4s ease-out")])])]}}),t}();e.VLXPresetsTableComponent=m,r.ɵsetClassMetadata(m,[{type:i.Component,args:[{selector:"vlx-presets-table",templateUrl:"./VLXPresetsTable.ng.html",styleUrls:["./VLXPresetsTable.ng.scss"],animations:[o.trigger("expand",[o.state("expanded",o.style({height:"*",overflow:"hidden"})),o.state("collapsed",o.style({height:"0px",overflow:"hidden"})),o.transition("expanded <=> collapsed",[o.animate("0.4s ease-out")])])]}]}],null,{expanded:[{type:i.Input}]})},1968:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(30),r=n(0),a=n(168),s=n(1692),l=n(3);function c(t,e){if(1&t&&(r.ɵɵelementStart(0,"div",7),r.ɵɵelementStart(1,"h6",8),r.ɵɵtext(2),r.ɵɵelementEnd(),r.ɵɵelementStart(3,"ul"),r.ɵɵelementStart(4,"li"),r.ɵɵtext(5),r.ɵɵelementEnd(),r.ɵɵelementStart(6,"li"),r.ɵɵtext(7),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementEnd()),2&t){var n=r.ɵɵnextContext().$implicit;r.ɵɵadvance(2),r.ɵɵtextInterpolate(n("Produces point clouds with:")),r.ɵɵadvance(3),r.ɵɵtextInterpolate(n("Sharp edges: details and edges in the scanned area are reconstructed with a low amount of smoothing during the filtering.")),r.ɵɵadvance(2),r.ɵɵtextInterpolate(n("The point cloud may exhibit noise and surfaces may appear rough."))}}function u(t,e){if(1&t&&(r.ɵɵelementStart(0,"div",7),r.ɵɵelementStart(1,"h6",8),r.ɵɵtext(2),r.ɵɵelementEnd(),r.ɵɵelementStart(3,"ul"),r.ɵɵelementStart(4,"li"),r.ɵɵtext(5),r.ɵɵelementEnd(),r.ɵɵelementStart(6,"li"),r.ɵɵtext(7),r.ɵɵelementEnd(),r.ɵɵelementStart(8,"li"),r.ɵɵtext(9),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementEnd()),2&t){var n=r.ɵɵnextContext().$implicit;r.ɵɵadvance(2),r.ɵɵtextInterpolate(n("Produces point clouds with:")),r.ɵɵadvance(3),r.ɵɵtextInterpolate(n("A balance between smooth surfaces and sharp edges.")),r.ɵɵadvance(2),r.ɵɵtextInterpolate(n("More noise on surfaces than smooth mode.")),r.ɵɵadvance(2),r.ɵɵtextInterpolate(n("Sharper edges than smooth mode."))}}function d(t,e){if(1&t&&(r.ɵɵelementStart(0,"div",7),r.ɵɵelementStart(1,"h6",8),r.ɵɵtext(2),r.ɵɵelementEnd(),r.ɵɵelementStart(3,"ul"),r.ɵɵelementStart(4,"li"),r.ɵɵtext(5),r.ɵɵelementEnd(),r.ɵɵelementStart(6,"li"),r.ɵɵtext(7),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementEnd()),2&t){var n=r.ɵɵnextContext().$implicit;r.ɵɵadvance(2),r.ɵɵtextInterpolate(n("Produces point clouds with:")),r.ɵɵadvance(3),r.ɵɵtextInterpolate(n("Surfaces such as walls and floor appear smooth and with a low amount of noise.")),r.ɵɵadvance(2),r.ɵɵtextInterpolate(n("Edges appear less sharp compared to other modes."))}}function p(t,e){if(1&t){var n=r.ɵɵgetCurrentView();r.ɵɵelementContainerStart(0),r.ɵɵelementStart(1,"div",1),r.ɵɵelementStart(2,"div",2),r.ɵɵelement(3,"div",3),r.ɵɵelementStart(4,"div",4),r.ɵɵlistener("mouseenter",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().m6HoverMap[0][0]=!0})("mouseleave",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().m6HoverMap[0][0]=!1}),r.ɵɵelement(5,"img",5),r.ɵɵelementEnd(),r.ɵɵelementStart(6,"div",4),r.ɵɵlistener("mouseenter",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().m6HoverMap[0][1]=!0})("mouseleave",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().m6HoverMap[0][1]=!1}),r.ɵɵelement(7,"img",5),r.ɵɵelementEnd(),r.ɵɵelementStart(8,"div",4),r.ɵɵlistener("mouseenter",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().m6HoverMap[0][2]=!0})("mouseleave",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().m6HoverMap[0][2]=!1}),r.ɵɵelement(9,"img",5),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementStart(10,"div",2),r.ɵɵelement(11,"div",3),r.ɵɵelementStart(12,"div",4),r.ɵɵlistener("mouseenter",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().m6HoverMap[1][0]=!0})("mouseleave",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().m6HoverMap[1][0]=!1}),r.ɵɵelement(13,"img",5),r.ɵɵelementEnd(),r.ɵɵelementStart(14,"div",4),r.ɵɵlistener("mouseenter",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().m6HoverMap[1][1]=!0})("mouseleave",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().m6HoverMap[1][1]=!1}),r.ɵɵelement(15,"img",5),r.ɵɵelementEnd(),r.ɵɵelementStart(16,"div",4),r.ɵɵlistener("mouseenter",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().m6HoverMap[1][2]=!0})("mouseleave",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().m6HoverMap[1][2]=!1}),r.ɵɵelement(17,"img",5),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementStart(18,"div",2),r.ɵɵelement(19,"div",3),r.ɵɵelementStart(20,"div",4),r.ɵɵlistener("mouseenter",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().m6HoverMap[2][0]=!0})("mouseleave",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().m6HoverMap[2][0]=!1}),r.ɵɵelement(21,"img",5),r.ɵɵelementEnd(),r.ɵɵelementStart(22,"div",4),r.ɵɵlistener("mouseenter",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().m6HoverMap[2][1]=!0})("mouseleave",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().m6HoverMap[2][1]=!1}),r.ɵɵelement(23,"img",5),r.ɵɵelementEnd(),r.ɵɵelementStart(24,"div",4),r.ɵɵlistener("mouseenter",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().m6HoverMap[2][2]=!0})("mouseleave",function(){return r.ɵɵrestoreView(n),r.ɵɵnextContext().m6HoverMap[2][2]=!1}),r.ɵɵelement(25,"img",5),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵelementEnd(),r.ɵɵtemplate(26,c,8,3,"div",6),r.ɵɵtemplate(27,u,10,4,"div",6),r.ɵɵtemplate(28,d,8,3,"div",6),r.ɵɵelementContainerEnd()}if(2&t){var i=r.ɵɵnextContext();r.ɵɵadvance(1),r.ɵɵproperty("@expand",i.expanded?"expanded":"collapsed"),r.ɵɵadvance(4),r.ɵɵproperty("src",i.m6modes[0][0],r.ɵɵsanitizeUrl),r.ɵɵadvance(2),r.ɵɵproperty("src",i.m6modes[0][1],r.ɵɵsanitizeUrl),r.ɵɵadvance(2),r.ɵɵproperty("src",i.m6modes[0][2],r.ɵɵsanitizeUrl),r.ɵɵadvance(4),r.ɵɵproperty("src",i.m6modes[1][0],r.ɵɵsanitizeUrl),r.ɵɵadvance(2),r.ɵɵproperty("src",i.m6modes[1][1],r.ɵɵsanitizeUrl),r.ɵɵadvance(2),r.ɵɵproperty("src",i.m6modes[1][2],r.ɵɵsanitizeUrl),r.ɵɵadvance(4),r.ɵɵproperty("src",i.m6modes[2][0],r.ɵɵsanitizeUrl),r.ɵɵadvance(2),r.ɵɵproperty("src",i.m6modes[2][1],r.ɵɵsanitizeUrl),r.ɵɵadvance(2),r.ɵɵproperty("src",i.m6modes[2][2],r.ɵɵsanitizeUrl),r.ɵɵadvance(1),r.ɵɵproperty("ngIf",i.m6HoverMap[0][0]||i.m6HoverMap[1][0]||i.m6HoverMap[2][0]),r.ɵɵadvance(1),r.ɵɵproperty("ngIf",i.m6HoverMap[0][1]||i.m6HoverMap[1][1]||i.m6HoverMap[2][1]),r.ɵɵadvance(1),r.ɵɵproperty("ngIf",i.m6HoverMap[0][2]||i.m6HoverMap[1][2]||i.m6HoverMap[2][2])}}var m=function(){function t(){this.m6modes=[[n(2083),n(2084),n(2085)],[n(2086),n(2087),n(2088)],[n(2089),n(2090),n(2091)]],this.expanded=!1,this.m6HoverMap=[[!1,!1,!1],[!1,!1,!1],[!1,!1,!1]]}return t.ɵfac=function(e){return new(e||t)},t.ɵcmp=r.ɵɵdefineComponent({type:t,selectors:[["m6-presets-table"]],inputs:{expanded:"expanded"},decls:1,vars:0,consts:[[4,"transloco"],[1,"form-group","setting-pros"],[1,"col-xs-12","setting-pros_item"],[1,"col-xs-3","setting-pros_cell-text"],[1,"col-xs-3","setting-pros_cell",3,"mouseenter","mouseleave"],[3,"src"],["class","mode-column-details",4,"ngIf"],[1,"mode-column-details"],[1,"mode-column-details_header"]],template:function(t,e){1&t&&r.ɵɵtemplate(0,p,29,13,"ng-container",0)},directives:[a.TranslocoDirective,s.AddBaseUrlDirective,l.NgIf],styles:["[_nghost-%COMP%]{position:relative;display:block}.setting-pros[_ngcontent-%COMP%]{position:relative;padding-left:36px;padding-right:0;margin:0}.setting-pros_cell[_ngcontent-%COMP%]{justify-content:center}.setting-pros_cell[_ngcontent-%COMP%], .setting-pros_cell-text[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;height:100%}.setting-pros_cell-text[_ngcontent-%COMP%]{justify-content:flex-end;text-align:right}.setting-pros_cell-text[_ngcontent-%COMP%]:first-child{padding-left:0;padding-right:30px}.setting-pros_item[_ngcontent-%COMP%]{height:96px;padding-left:0;padding-right:0}.setting-pros_item[_ngcontent-%COMP%]:nth-of-type(odd){background-color:#f8f7fa}.icon-warn[_ngcontent-%COMP%]{color:#f44336}.icon-success[_ngcontent-%COMP%]{color:#42d4a6}.mode-column-details[_ngcontent-%COMP%]{position:absolute;left:100%;top:0;bottom:0;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding-left:48px;min-width:280px;font-size:12px}.mode-column-details_header[_ngcontent-%COMP%]{font-weight:700;font-size:12px}.mode-column-details[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]{list-style-type:disc}.mode-column-details[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{padding-left:8px}"],data:{animation:[o.trigger("expand",[o.state("expanded",o.style({height:"*",overflow:"hidden"})),o.state("collapsed",o.style({height:"0px",overflow:"hidden"})),o.transition("expanded <=> collapsed",[o.animate("0.4s ease-out")])])]}}),t}();e.M6PresetsTableComponent=m,r.ɵsetClassMetadata(m,[{type:i.Component,args:[{selector:"m6-presets-table",templateUrl:"./M6PresetsTable.ng.html",styleUrls:["./M6PresetsTable.ng.scss"],animations:[o.trigger("expand",[o.state("expanded",o.style({height:"*",overflow:"hidden"})),o.state("collapsed",o.style({height:"0px",overflow:"hidden"})),o.transition("expanded <=> collapsed",[o.animate("0.4s ease-out")])])]}]}],null,{expanded:[{type:i.Input}]})},1969:function(t,e,n){"use strict";var i,o=this&&this.__extends||(i=function(t,e){return(i=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])})(t,e)},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){function e(){return t.call(this,"processingResultDeletedEvent")||this}return o(e,t),e.prototype.fromView=function(t){return this.withData("viewedFrom",t),this},e.prototype.withNumberOfDataSets=function(t){return this.withData("numberOfDatasets",t),this},e}(n(64).TrackingEvent);e.ProcessingResultDeletedEvent=r},1970:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(168),r=n(1685),a=n(0),s=n(168),l=n(3);function c(t,e){if(1&t){var n=a.ɵɵgetCurrentView();a.ɵɵelementStart(0,"i",10),a.ɵɵlistener("click",function(){return a.ɵɵrestoreView(n),a.ɵɵnextContext(2).doPause()}),a.ɵɵtext(1,"pause_circle_filled"),a.ɵɵelementEnd()}if(2&t){var i=a.ɵɵnextContext().$implicit,o=a.ɵɵnextContext();a.ɵɵclassProp("busy",o.pausingOrResumingInProgress),a.ɵɵproperty("title",i("Pause"))}}function u(t,e){if(1&t){var n=a.ɵɵgetCurrentView();a.ɵɵelementStart(0,"i",10),a.ɵɵlistener("click",function(){return a.ɵɵrestoreView(n),a.ɵɵnextContext(2).doResume()}),a.ɵɵtext(1,"play_circle_filled"),a.ɵɵelementEnd()}if(2&t){var i=a.ɵɵnextContext().$implicit,o=a.ɵɵnextContext();a.ɵɵclassProp("busy",o.pausingOrResumingInProgress),a.ɵɵproperty("title",i("Resume"))}}var d=function(t){return{width:t}};function p(t,e){if(1&t){var n=a.ɵɵgetCurrentView();a.ɵɵelementStart(0,"div",1),a.ɵɵelementStart(1,"span",2),a.ɵɵtext(2),a.ɵɵelementEnd(),a.ɵɵelementStart(3,"div",3),a.ɵɵelementStart(4,"div",4),a.ɵɵelement(5,"div",5),a.ɵɵelementEnd(),a.ɵɵtemplate(6,c,2,3,"i",6),a.ɵɵtemplate(7,u,2,3,"i",6),a.ɵɵelementStart(8,"i",7),a.ɵɵlistener("click",function(){return a.ɵɵrestoreView(n),a.ɵɵnextContext().doCancel()}),a.ɵɵtext(9,"cancel"),a.ɵɵelementEnd(),a.ɵɵelementEnd(),a.ɵɵelementStart(10,"div",8),a.ɵɵelementStart(11,"span"),a.ɵɵtext(12),a.ɵɵelementEnd(),a.ɵɵelementStart(13,"span",9),a.ɵɵtext(14,"·"),a.ɵɵelementEnd(),a.ɵɵelementStart(15,"span"),a.ɵɵtext(16),a.ɵɵelementEnd(),a.ɵɵelementEnd(),a.ɵɵelementEnd()}if(2&t){var i=e.$implicit,o=a.ɵɵnextContext();a.ɵɵadvance(1),a.ɵɵclassProp("paused",o.paused),a.ɵɵadvance(1),a.ɵɵtextInterpolate2(" Uploading ",o.totalUploadsCompletedOrInProgress," out of ",o.totalDatasets," "),a.ɵɵadvance(3),a.ɵɵclassProp("paused",o.paused),a.ɵɵproperty("ngStyle",a.ɵɵpureFunction1(12,d,o.uploadPercentage+"%")),a.ɵɵadvance(1),a.ɵɵproperty("ngIf",!o.paused),a.ɵɵadvance(1),a.ɵɵproperty("ngIf",o.paused),a.ɵɵadvance(1),a.ɵɵproperty("title",i("Stop")),a.ɵɵadvance(4),a.ɵɵtextInterpolate1("",o.uploadPercentage.toFixed(),"%"),a.ɵɵadvance(4),a.ɵɵtextInterpolate(o.getRemainingTime())}}var m=function(){function t(){this.totalUploadsCompletedOrInProgress=0,this.totalDatasets=0,this.uploadPercentage=0,this.timeRemaining=0,this.cancel=new i.EventEmitter,this.pause=new i.EventEmitter,this.resume=new i.EventEmitter}return t.prototype.getRemainingTime=function(){if(this.pausingOrResumingInProgress)return this.paused?o.translate("Resuming..."):o.translate("Pausing...");if(this.paused)return o.translate("Paused");var t=this.timeRemaining;return isNaN(t)||!isFinite(t)?o.translate("Calculating time remaining..."):this.capitalize(r.duration(t,"seconds").humanize())+" left"},t.prototype.doCancel=function(){this.cancel.emit()},t.prototype.doPause=function(){this.pausingOrResumingInProgress||this.pause.emit()},t.prototype.doResume=function(){this.pausingOrResumingInProgress||this.resume.emit()},t.prototype.capitalize=function(t){return t[0].toUpperCase()+t.slice(1)},t.ɵfac=function(e){return new(e||t)},t.ɵcmp=a.ɵɵdefineComponent({type:t,selectors:[["dataset-upload-status"]],inputs:{totalUploadsCompletedOrInProgress:"totalUploadsCompletedOrInProgress",totalDatasets:"totalDatasets",uploadPercentage:"uploadPercentage",timeRemaining:"timeRemaining",paused:"paused",pausingOrResumingInProgress:"pausingOrResumingInProgress"},outputs:{cancel:"cancel",pause:"pause",resume:"resume"},decls:1,vars:0,consts:[["class","dataset-upload-status",4,"transloco"],[1,"dataset-upload-status"],[1,"header"],[1,"body"],[1,"progress"],[1,"progress-bar",3,"ngStyle"],["class","material-icons button pause-resume",3,"busy","title","click",4,"ngIf"],[1,"material-icons","button","cancel",3,"title","click"],[1,"footer"],[1,"interpunct"],[1,"material-icons","button","pause-resume",3,"title","click"]],template:function(t,e){1&t&&a.ɵɵtemplate(0,p,17,14,"div",0)},directives:[s.TranslocoDirective,l.NgStyle,l.NgIf],styles:[".dataset-upload-status[_ngcontent-%COMP%]{display:flex;flex-flow:column nowrap;align-items:flex-start;font-style:normal;font-weight:400;font-size:1.4rem;line-height:1.4em}.dataset-upload-status[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{color:#42d4a6}.dataset-upload-status[_ngcontent-%COMP%] .header.paused[_ngcontent-%COMP%]{color:rgba(0,0,0,.38)}.dataset-upload-status[_ngcontent-%COMP%] .body[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center;width:100%}.dataset-upload-status[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .progress[_ngcontent-%COMP%]{height:.4em;box-shadow:none;background-color:hsla(0,0%,58.8%,.25);border-radius:.5em;flex:1 0 auto;margin:0}.dataset-upload-status[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .progress-bar[_ngcontent-%COMP%]{background-color:#42d4a6;box-shadow:none}.dataset-upload-status[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .progress-bar.paused[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.38)}.dataset-upload-status[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{color:#9e9e9e;font-size:1.2em;cursor:pointer}.dataset-upload-status[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .pause-resume[_ngcontent-%COMP%]{margin-left:1.6em}.dataset-upload-status[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .pause-resume.busy[_ngcontent-%COMP%]{cursor:wait}.dataset-upload-status[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .cancel[_ngcontent-%COMP%]{margin-left:.6em}.dataset-upload-status[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%]{color:rgba(0,0,0,.38)}.dataset-upload-status[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] .interpunct[_ngcontent-%COMP%]{padding:0 .4em}"]}),t}();e.DatasetUploadStatusComponent=m,a.ɵsetClassMetadata(m,[{type:i.Component,args:[{selector:"dataset-upload-status",templateUrl:"./DatasetUploadStatus.ng.html",styleUrls:["./DatasetUploadStatus.ng.scss"]}]}],function(){return[]},{totalUploadsCompletedOrInProgress:[{type:i.Input}],totalDatasets:[{type:i.Input}],uploadPercentage:[{type:i.Input}],timeRemaining:[{type:i.Input}],paused:[{type:i.Input}],pausingOrResumingInProgress:[{type:i.Input}],cancel:[{type:i.Output}],pause:[{type:i.Output}],resume:[{type:i.Output}]})},1971:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(1846),r=n(168),a=n(1851),s=n(0),l=n(3);function c(t,e){if(1&t&&(s.ɵɵelementStart(0,"small"),s.ɵɵtext(1),s.ɵɵelementEnd()),2&t){var n=s.ɵɵnextContext();s.ɵɵadvance(1),s.ɵɵtextInterpolate1(" ",n.getTotalProgressText(),"")}}var u=function(t){return{width:t}},d=function(){function t(t){this.value=t}return t.prototype.getTotalProgressText=function(){var e=this.value?this.value.successPercent+this.value.failurePercent:0;if(this.value.state===a.ProcessingTaskStatus.RUNNING||this.value.state===a.ProcessingTaskStatus.NOT_READY){var n=this.getRemainingTimeText();return e+"% "+t.BULLET_CHAR+" "+n}return r.translate("{percentageNumber}% finished",{percentageNumber:e})},t.prototype.getRemainingTimeText=function(){if(!this.value.remainingTime)return r.translate("unknown remaining time");var t=this.value.remainingTime.map(function(t){return Math.ceil(t/3600)});return t[0]<=0&&(t[0]=t[1]),t[0]<=0?r.translate("a few more minutes"):t[0]===t[1]?1===t[0]?r.translate("less than one hour remaining"):r.translate("about {hours} hours remaining",{hours:t[0]}):r.translate("about {min} to {max} hours remaining",{min:t[0],max:t[1]})},t.BULLET_CHAR="•",t.ɵfac=function(e){return new(e||t)(s.ɵɵdirectiveInject(o.CELL_VALUE_TOKEN))},t.ɵcmp=s.ɵɵdefineComponent({type:t,selectors:[["cell-progress-bar"]],decls:4,vars:7,consts:[[1,"progress"],["role","progressbar",1,"progress-bar","progress-bar-success",3,"ngStyle"],["role","progressbar",1,"progress-bar","progress-bar-danger",3,"ngStyle"],[4,"ngIf"]],template:function(t,e){1&t&&(s.ɵɵelementStart(0,"div",0),s.ɵɵelement(1,"div",1),s.ɵɵelement(2,"div",2),s.ɵɵelementEnd(),s.ɵɵtemplate(3,c,2,1,"small",3)),2&t&&(s.ɵɵadvance(1),s.ɵɵproperty("ngStyle",s.ɵɵpureFunction1(3,u,e.value.successPercent+"%")),s.ɵɵadvance(1),s.ɵɵproperty("ngStyle",s.ɵɵpureFunction1(5,u,e.value.failurePercent+"%")),s.ɵɵadvance(1),s.ɵɵproperty("ngIf",e.value.showTextSummary))},directives:[l.NgStyle,l.NgIf],styles:[".progress[_ngcontent-%COMP%]{height:7px;margin-bottom:4px}.progress-bar-success[_ngcontent-%COMP%]{background-color:#42d4a6}.progress-bar-danger[_ngcontent-%COMP%]{background-color:#ff5630}"]}),t}();e.ProgressBarCellComponent=d,s.ɵsetClassMetadata(d,[{type:i.Component,args:[{selector:"cell-progress-bar",templateUrl:"./ProgressBarCell.ng.html",styleUrls:["./ProgressBarCell.ng.scss"]}]}],function(){return[{type:void 0,decorators:[{type:i.Inject,args:[o.CELL_VALUE_TOKEN]}]}]},null)},1972:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(1846),r=n(1851),a=n(0),s=n(3),l=function(){function t(t){this.value=t}return t.prototype.getStateColorClass=function(t){switch(t){case r.ProcessingTaskStatus.CANCELLED:case r.ProcessingTaskStatus.FAILED:return"state-color--bad";case r.ProcessingTaskStatus.RUNNING:return"state-color--processing";case r.ProcessingTaskStatus.FINISHED:return"state-color--good";case r.ProcessingTaskStatus.STOPPING:case r.ProcessingTaskStatus.NOT_READY:default:return"state-color"}},t.prototype.getStateLabel=function(t){switch(t){case r.ProcessingTaskStatus.CANCELLED:return"CANCELLED";case r.ProcessingTaskStatus.FAILED:return"FAILED";case r.ProcessingTaskStatus.RUNNING:return"RUNNING";case r.ProcessingTaskStatus.FINISHED:return"FINISHED";case r.ProcessingTaskStatus.STOPPING:return"STOPPING";case r.ProcessingTaskStatus.NOT_READY:return"SETTING UP";default:return"UNKNOWN"}},t.ɵfac=function(e){return new(e||t)(a.ɵɵdirectiveInject(o.CELL_VALUE_TOKEN))},t.ɵcmp=a.ɵɵdefineComponent({type:t,selectors:[["cell-dataset-status"]],decls:2,vars:2,consts:[[1,"state-chip",3,"ngClass"]],template:function(t,e){1&t&&(a.ɵɵelementStart(0,"div",0),a.ɵɵtext(1),a.ɵɵelementEnd()),2&t&&(a.ɵɵproperty("ngClass",e.getStateColorClass(e.value)),a.ɵɵadvance(1),a.ɵɵtextInterpolate1(" ",e.getStateLabel(e.value),"\n"))},directives:[s.NgClass],styles:[".state-chip[_ngcontent-%COMP%]{color:#fff;background:#c4c4c4;border-radius:999px;width:128px;overflow:hidden;text-align:center;vertical-align:center;font-size:11px;line-height:15px;padding:2px 16px;font-style:normal;font-weight:500}.state-color[_ngcontent-%COMP%]{background-color:#c4c4c4}.state-color--bad[_ngcontent-%COMP%]{background-color:#ff7253}.state-color--queued[_ngcontent-%COMP%]{background-color:#c4c4c4}.state-color--processing[_ngcontent-%COMP%]{background-color:#9b9b9b}.state-color--good[_ngcontent-%COMP%]{background-color:#353436}"]}),t}();e.TaskStatusCellComponent=l,a.ɵsetClassMetadata(l,[{type:i.Component,args:[{selector:"cell-dataset-status",templateUrl:"./TaskStatusCell.ng.html",styleUrls:["./TaskStatusCell.ng.scss"]}]}],function(){return[{type:void 0,decorators:[{type:i.Inject,args:[o.CELL_VALUE_TOKEN]}]}]},null)},2013:function(t,e,n){"use strict";n.r(e),n.d(e,"EXPANSION_PANEL_ANIMATION_TIMING",function(){return F}),n.d(e,"MAT_ACCORDION",function(){return A}),n.d(e,"MAT_EXPANSION_PANEL_DEFAULT_OPTIONS",function(){return V}),n.d(e,"MatAccordion",function(){return W}),n.d(e,"MatExpansionModule",function(){return Z}),n.d(e,"MatExpansionPanel",function(){return B}),n.d(e,"MatExpansionPanelActionRow",function(){return q}),n.d(e,"MatExpansionPanelContent",function(){return L}),n.d(e,"MatExpansionPanelDescription",function(){return G}),n.d(e,"MatExpansionPanelHeader",function(){return H}),n.d(e,"MatExpansionPanelTitle",function(){return Q}),n.d(e,"matExpansionAnimations",function(){return N}),n.d(e,"ɵ0",function(){return z});var i=n(0),o=n(343),r=n(23),a=n(32),s=n(33),l=0,c=function(){function t(){this._stateChanges=new a.a,this._openCloseAllActions=new a.a,this.id="cdk-accordion-"+l++,this._multi=!1}return Object.defineProperty(t.prototype,"multi",{get:function(){return this._multi},set:function(t){this._multi=Object(r.c)(t)},enumerable:!0,configurable:!0}),t.prototype.openAll=function(){this._openCloseAll(!0)},t.prototype.closeAll=function(){this._openCloseAll(!1)},t.prototype.ngOnChanges=function(t){this._stateChanges.next(t)},t.prototype.ngOnDestroy=function(){this._stateChanges.complete()},t.prototype._openCloseAll=function(t){this.multi&&this._openCloseAllActions.next(t)},t.propDecorators={multi:[{type:i.Input}]},t.ɵfac=function(e){return new(e||t)},t.ɵdir=i["ɵɵdefineDirective"]({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[i["ɵɵNgOnChangesFeature"]]}),t}(),u=0,d=function(){function t(t,e,n){var o=this;this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=n,this._openCloseAllSubscription=s.a.EMPTY,this.closed=new i.EventEmitter,this.opened=new i.EventEmitter,this.destroyed=new i.EventEmitter,this.expandedChange=new i.EventEmitter,this.id="cdk-accordion-child-"+u++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=n.listen(function(t,e){o.accordion&&!o.accordion.multi&&o.accordion.id===e&&o.id!==t&&(o.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}return Object.defineProperty(t.prototype,"expanded",{get:function(){return this._expanded},set:function(t){if(t=Object(r.c)(t),this._expanded!==t){if(this._expanded=t,this.expandedChange.emit(t),t){this.opened.emit();var e=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,e)}else this.closed.emit();this._changeDetectorRef.markForCheck()}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Object(r.c)(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()},t.prototype.toggle=function(){this.disabled||(this.expanded=!this.expanded)},t.prototype.close=function(){this.disabled||(this.expanded=!1)},t.prototype.open=function(){this.disabled||(this.expanded=!0)},t.prototype._subscribeToOpenCloseAllActions=function(){var t=this;return this.accordion._openCloseAllActions.subscribe(function(e){t.disabled||(t.expanded=e)})},t.ctorParameters=function(){return[{type:c,decorators:[{type:i.Optional},{type:i.SkipSelf}]},{type:i.ChangeDetectorRef},{type:o.d}]},t.propDecorators={closed:[{type:i.Output}],opened:[{type:i.Output}],destroyed:[{type:i.Output}],expandedChange:[{type:i.Output}],expanded:[{type:i.Input}],disabled:[{type:i.Input}]},t.ɵfac=function(e){return new(e||t)(i["ɵɵdirectiveInject"](c,12),i["ɵɵdirectiveInject"](i.ChangeDetectorRef),i["ɵɵdirectiveInject"](o.d))},t.ɵdir=i["ɵɵdefineDirective"]({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[i["ɵɵProvidersFeature"]([{provide:c,useValue:void 0}])]}),t}(),p=function(){function t(){}return t.ɵmod=i["ɵɵdefineNgModule"]({type:t}),t.ɵinj=i["ɵɵdefineInjector"]({factory:function(e){return new(e||t)}}),("undefined"==typeof ngJitMode||ngJitMode)&&i["ɵɵsetNgModuleScope"](t,{declarations:[c,d],exports:[c,d]}),t}(),m=n(69),h=n(3),f=n(1),g=n(63),v=n(60),b=n(631),y=n(438),_=n(165),C=n(221),x=n(71),w=n(279),S=n(30),P=n(95),O=["body"];function M(t,e){}var k=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],E=["mat-expansion-panel-header","*","mat-action-row"],I=function(t,e){return{collapsedHeight:t,expandedHeight:e}},D=function(t,e){return{value:t,params:e}};function T(t,e){if(1&t&&i["ɵɵelement"](0,"span",2),2&t){var n=i["ɵɵnextContext"]();i["ɵɵproperty"]("@indicatorRotate",n._getExpandedState())}}var R=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],j=["mat-panel-title","mat-panel-description","*"],A=new i.InjectionToken("MAT_ACCORDION"),F="225ms cubic-bezier(0.4,0.0,0.2,1)",N={indicatorRotate:Object(S.trigger)("indicatorRotate",[Object(S.state)("collapsed, void",Object(S.style)({transform:"rotate(0deg)"})),Object(S.state)("expanded",Object(S.style)({transform:"rotate(180deg)"})),Object(S.transition)("expanded <=> collapsed, void => collapsed",Object(S.animate)(F))]),expansionHeaderHeight:Object(S.trigger)("expansionHeight",[Object(S.state)("collapsed, void",Object(S.style)({height:"{{collapsedHeight}}"}),{params:{collapsedHeight:"48px"}}),Object(S.state)("expanded",Object(S.style)({height:"{{expandedHeight}}"}),{params:{expandedHeight:"64px"}}),Object(S.transition)("expanded <=> collapsed, void => collapsed",Object(S.group)([Object(S.query)("@indicatorRotate",Object(S.animateChild)(),{optional:!0}),Object(S.animate)(F)]))]),bodyExpansion:Object(S.trigger)("bodyExpansion",[Object(S.state)("collapsed, void",Object(S.style)({height:"0px",visibility:"hidden"})),Object(S.state)("expanded",Object(S.style)({height:"*",visibility:"visible"})),Object(S.transition)("expanded <=> collapsed, void => collapsed",Object(S.animate)(F))])},L=function(){function t(t){this._template=t}return t.ctorParameters=function(){return[{type:i.TemplateRef}]},t.ɵfac=function(e){return new(e||t)(i["ɵɵdirectiveInject"](i.TemplateRef))},t.ɵdir=i["ɵɵdefineDirective"]({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}),t}(),U=0,V=new i.InjectionToken("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),z=void 0,B=function(t){function e(e,n,o,r,s,l,c){var u=t.call(this,e,n,o)||this;return u._viewContainerRef=r,u._animationMode=l,u._hideToggle=!1,u.afterExpand=new i.EventEmitter,u.afterCollapse=new i.EventEmitter,u._inputChanges=new a.a,u._headerId="mat-expansion-panel-header-"+U++,u._bodyAnimationDone=new a.a,u.accordion=e,u._document=s,u._bodyAnimationDone.pipe(Object(b.a)(function(t,e){return t.fromState===e.fromState&&t.toState===e.toState})).subscribe(function(t){"void"!==t.fromState&&("expanded"===t.toState?u.afterExpand.emit():"collapsed"===t.toState&&u.afterCollapse.emit())}),c&&(u.hideToggle=c.hideToggle),u}return Object(f.c)(e,t),Object.defineProperty(e.prototype,"hideToggle",{get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(t){this._hideToggle=Object(r.c)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"togglePosition",{get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(t){this._togglePosition=t},enumerable:!0,configurable:!0}),e.prototype._hasSpacing=function(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode},e.prototype._getExpandedState=function(){return this.expanded?"expanded":"collapsed"},e.prototype.toggle=function(){this.expanded=!this.expanded},e.prototype.close=function(){this.expanded=!1},e.prototype.open=function(){this.expanded=!0},e.prototype.ngAfterContentInit=function(){var t=this;this._lazyContent&&this.opened.pipe(Object(y.a)(null),Object(_.a)(function(){return t.expanded&&!t._portal}),Object(C.a)(1)).subscribe(function(){t._portal=new m.h(t._lazyContent._template,t._viewContainerRef)})},e.prototype.ngOnChanges=function(t){this._inputChanges.next(t)},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._bodyAnimationDone.complete(),this._inputChanges.complete()},e.prototype._containsFocus=function(){if(this._body){var t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Optional},{type:i.SkipSelf},{type:i.Inject,args:[A]}]},{type:i.ChangeDetectorRef},{type:o.d},{type:i.ViewContainerRef},{type:void 0,decorators:[{type:i.Inject,args:[h.DOCUMENT]}]},{type:String,decorators:[{type:i.Optional},{type:i.Inject,args:[P.ANIMATION_MODULE_TYPE]}]},{type:void 0,decorators:[{type:i.Inject,args:[V]},{type:i.Optional}]}]},e.propDecorators={hideToggle:[{type:i.Input}],togglePosition:[{type:i.Input}],afterExpand:[{type:i.Output}],afterCollapse:[{type:i.Output}],_lazyContent:[{type:i.ContentChild,args:[L]}],_body:[{type:i.ViewChild,args:["body"]}]},e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](A,12),i["ɵɵdirectiveInject"](i.ChangeDetectorRef),i["ɵɵdirectiveInject"](o.d),i["ɵɵdirectiveInject"](i.ViewContainerRef),i["ɵɵdirectiveInject"](h.DOCUMENT),i["ɵɵdirectiveInject"](P.ANIMATION_MODULE_TYPE,8),i["ɵɵdirectiveInject"](V,8))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["mat-expansion-panel"]],contentQueries:function(t,e,n){var o;1&t&&i["ɵɵcontentQuery"](n,L,!0),2&t&&i["ɵɵqueryRefresh"](o=i["ɵɵloadQuery"]())&&(e._lazyContent=o.first)},viewQuery:function(t,e){var n;1&t&&i["ɵɵviewQuery"](O,!0),2&t&&i["ɵɵqueryRefresh"](n=i["ɵɵloadQuery"]())&&(e._body=n.first)},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(t,e){2&t&&i["ɵɵclassProp"]("mat-expanded",e.expanded)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-expansion-panel-spacing",e._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[i["ɵɵProvidersFeature"]([{provide:A,useValue:z}]),i["ɵɵInheritDefinitionFeature"],i["ɵɵNgOnChangesFeature"]],ngContentSelectors:E,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(t,e){1&t&&(i["ɵɵprojectionDef"](k),i["ɵɵprojection"](0),i["ɵɵelementStart"](1,"div",0,1),i["ɵɵlistener"]("@bodyExpansion.done",function(t){return e._bodyAnimationDone.next(t)}),i["ɵɵelementStart"](3,"div",2),i["ɵɵprojection"](4,1),i["ɵɵtemplate"](5,M,0,0,"ng-template",3),i["ɵɵelementEnd"](),i["ɵɵprojection"](6,2),i["ɵɵelementEnd"]()),2&t&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("@bodyExpansion",e._getExpandedState())("id",e.id),i["ɵɵattribute"]("aria-labelledby",e._headerId),i["ɵɵadvance"](4),i["ɵɵproperty"]("cdkPortalOutlet",e._portal))},directives:[m.c],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[N.bodyExpansion]},changeDetection:0}),e}(d),q=function(){function t(){}return t.ɵfac=function(e){return new(e||t)},t.ɵdir=i["ɵɵdefineDirective"]({type:t,selectors:[["mat-action-row"]],hostAttrs:[1,"mat-action-row"]}),t}(),H=function(){function t(t,e,n,i,o){var r=this;this.panel=t,this._element=e,this._focusMonitor=n,this._changeDetectorRef=i,this._parentChangeSubscription=s.a.EMPTY,this._animationsDisabled=!0;var a=t.accordion?t.accordion._stateChanges.pipe(Object(_.a)(function(t){return!(!t.hideToggle&&!t.togglePosition)})):x.a;this._parentChangeSubscription=Object(w.a)(t.opened,t.closed,a,t._inputChanges.pipe(Object(_.a)(function(t){return!!(t.hideToggle||t.disabled||t.togglePosition)}))).subscribe(function(){return r._changeDetectorRef.markForCheck()}),t.closed.pipe(Object(_.a)(function(){return t._containsFocus()})).subscribe(function(){return n.focusVia(e,"program")}),n.monitor(e).subscribe(function(e){e&&t.accordion&&t.accordion._handleHeaderFocus(r)}),o&&(this.expandedHeight=o.expandedHeight,this.collapsedHeight=o.collapsedHeight)}return t.prototype._animationStarted=function(){this._animationsDisabled=!1},Object.defineProperty(t.prototype,"disabled",{get:function(){return this.panel.disabled},enumerable:!0,configurable:!0}),t.prototype._toggle=function(){this.disabled||this.panel.toggle()},t.prototype._isExpanded=function(){return this.panel.expanded},t.prototype._getExpandedState=function(){return this.panel._getExpandedState()},t.prototype._getPanelId=function(){return this.panel.id},t.prototype._getTogglePosition=function(){return this.panel.togglePosition},t.prototype._showToggle=function(){return!this.panel.hideToggle&&!this.panel.disabled},t.prototype._keydown=function(t){switch(t.keyCode){case v.SPACE:case v.ENTER:Object(v.hasModifierKey)(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}},t.prototype.focus=function(t,e){void 0===t&&(t="program"),this._focusMonitor.focusVia(this._element,t,e)},t.prototype.ngOnDestroy=function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)},t.ctorParameters=function(){return[{type:B,decorators:[{type:i.Host}]},{type:i.ElementRef},{type:g.h},{type:i.ChangeDetectorRef},{type:void 0,decorators:[{type:i.Inject,args:[V]},{type:i.Optional}]}]},t.propDecorators={expandedHeight:[{type:i.Input}],collapsedHeight:[{type:i.Input}]},t.ɵfac=function(e){return new(e||t)(i["ɵɵdirectiveInject"](B,1),i["ɵɵdirectiveInject"](i.ElementRef),i["ɵɵdirectiveInject"](g.h),i["ɵɵdirectiveInject"](i.ChangeDetectorRef),i["ɵɵdirectiveInject"](V,8))},t.ɵcmp=i["ɵɵdefineComponent"]({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:19,hostBindings:function(t,e){1&t&&(i["ɵɵcomponentHostSyntheticListener"]("@expansionHeight.start",function(){return e._animationStarted()}),i["ɵɵlistener"]("click",function(){return e._toggle()})("keydown",function(t){return e._keydown(t)})),2&t&&(i["ɵɵattribute"]("id",e.panel._headerId)("tabindex",e.disabled?-1:0)("aria-controls",e._getPanelId())("aria-expanded",e._isExpanded())("aria-disabled",e.panel.disabled),i["ɵɵupdateSyntheticHostBinding"]("@.disabled",e._animationsDisabled)("@expansionHeight",i["ɵɵpureFunction2"](16,D,e._getExpandedState(),i["ɵɵpureFunction2"](13,I,e.collapsedHeight,e.expandedHeight))),i["ɵɵclassProp"]("mat-expanded",e._isExpanded())("mat-expansion-toggle-indicator-after","after"===e._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===e._getTogglePosition()))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:j,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(t,e){1&t&&(i["ɵɵprojectionDef"](R),i["ɵɵelementStart"](0,"span",0),i["ɵɵprojection"](1),i["ɵɵprojection"](2,1),i["ɵɵprojection"](3,2),i["ɵɵelementEnd"](),i["ɵɵtemplate"](4,T,1,1,"span",1)),2&t&&(i["ɵɵadvance"](4),i["ɵɵproperty"]("ngIf",e._showToggle()))},directives:[h.NgIf],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;position:relative}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}\n'],encapsulation:2,data:{animation:[N.indicatorRotate,N.expansionHeaderHeight]},changeDetection:0}),t}(),G=function(){function t(){}return t.ɵfac=function(e){return new(e||t)},t.ɵdir=i["ɵɵdefineDirective"]({type:t,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),t}(),Q=function(){function t(){}return t.ɵfac=function(e){return new(e||t)},t.ɵdir=i["ɵɵdefineDirective"]({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),t}(),W=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._ownHeaders=new i.QueryList,e._hideToggle=!1,e.displayMode="default",e.togglePosition="after",e}Object(f.c)(e,t),Object.defineProperty(e.prototype,"hideToggle",{get:function(){return this._hideToggle},set:function(t){this._hideToggle=Object(r.c)(t)},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){var t=this;this._headers.changes.pipe(Object(y.a)(this._headers)).subscribe(function(e){t._ownHeaders.reset(e.filter(function(e){return e.panel.accordion===t})),t._ownHeaders.notifyOnChanges()}),this._keyManager=new g.g(this._ownHeaders).withWrap()},e.prototype._handleHeaderKeydown=function(t){var e=t.keyCode,n=this._keyManager;e===v.HOME?Object(v.hasModifierKey)(t)||(n.setFirstItemActive(),t.preventDefault()):e===v.END?Object(v.hasModifierKey)(t)||(n.setLastItemActive(),t.preventDefault()):this._keyManager.onKeydown(t)},e.prototype._handleHeaderFocus=function(t){this._keyManager.updateActiveItem(t)},e.propDecorators={_headers:[{type:i.ContentChildren,args:[H,{descendants:!0}]}],hideToggle:[{type:i.Input}],displayMode:[{type:i.Input}],togglePosition:[{type:i.Input}]},e.ɵfac=function(t){return n(t||e)},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["mat-accordion"]],contentQueries:function(t,e,n){var o;1&t&&i["ɵɵcontentQuery"](n,H,!0),2&t&&i["ɵɵqueryRefresh"](o=i["ɵɵloadQuery"]())&&(e._headers=o)},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(t,e){2&t&&i["ɵɵclassProp"]("mat-accordion-multi",e.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[i["ɵɵProvidersFeature"]([{provide:A,useExisting:e}]),i["ɵɵInheritDefinitionFeature"]]});var n=i["ɵɵgetInheritedFactory"](e);return e}(c),Z=function(){function t(){}return t.ɵmod=i["ɵɵdefineNgModule"]({type:t}),t.ɵinj=i["ɵɵdefineInjector"]({factory:function(e){return new(e||t)},imports:[[h.CommonModule,p,m.g]]}),("undefined"==typeof ngJitMode||ngJitMode)&&i["ɵɵsetNgModuleScope"](t,{declarations:function(){return[W,B,q,H,Q,G,L]},imports:function(){return[h.CommonModule,p,m.g]},exports:function(){return[W,B,q,H,Q,G,L]}}),t}()},2014:function(t,e,n){"use strict";n.r(e),n.d(e,"MAT_SELECTION_LIST_VALUE_ACCESSOR",function(){return j}),n.d(e,"MatList",function(){return M}),n.d(e,"MatListAvatarCssMatStyler",function(){return k}),n.d(e,"MatListIconCssMatStyler",function(){return E}),n.d(e,"MatListItem",function(){return D}),n.d(e,"MatListModule",function(){return L}),n.d(e,"MatListOption",function(){return F}),n.d(e,"MatListSubheaderCssMatStyler",function(){return I}),n.d(e,"MatNavList",function(){return O}),n.d(e,"MatSelectionList",function(){return N}),n.d(e,"MatSelectionListChange",function(){return A});var i=n(3),o=n(0),r=n(47),a=n(1),s=n(23),l=n(32),c=n(341),u=n(438),d=n(63),p=n(343),m=n(60),h=n(624),f=function(){function t(){this._vertical=!1,this._inset=!1}return Object.defineProperty(t.prototype,"vertical",{get:function(){return this._vertical},set:function(t){this._vertical=Object(s.c)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inset",{get:function(){return this._inset},set:function(t){this._inset=Object(s.c)(t)},enumerable:!0,configurable:!0}),t.propDecorators={vertical:[{type:o.Input}],inset:[{type:o.Input}]},t.ɵfac=function(e){return new(e||t)},t.ɵcmp=o["ɵɵdefineComponent"]({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,e){2&t&&(o["ɵɵattribute"]("aria-orientation",e.vertical?"vertical":"horizontal"),o["ɵɵclassProp"]("mat-divider-vertical",e.vertical)("mat-divider-horizontal",!e.vertical)("mat-divider-inset",e.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(t,e){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),t}(),g=function(){function t(){}return t.ɵmod=o["ɵɵdefineNgModule"]({type:t}),t.ɵinj=o["ɵɵdefineInjector"]({factory:function(e){return new(e||t)},imports:[[r.MatCommonModule],r.MatCommonModule]}),("undefined"==typeof ngJitMode||ngJitMode)&&o["ɵɵsetNgModuleScope"](t,{declarations:function(){return[f]},imports:function(){return[r.MatCommonModule]},exports:function(){return[f,r.MatCommonModule]}}),t}(),v=["*"],b=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],y=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],_=["text"];function C(t,e){if(1&t&&o["ɵɵelement"](0,"mat-pseudo-checkbox",5),2&t){var n=o["ɵɵnextContext"]();o["ɵɵproperty"]("state",n.selected?"checked":"unchecked")("disabled",n.disabled)}}var x=["*",[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]]],w=["*","[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]"],S=Object(r.mixinDisabled)(Object(r.mixinDisableRipple)(function(){})),P=Object(r.mixinDisableRipple)(function(){}),O=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._stateChanges=new l.a,e}Object(a.c)(e,t),e.prototype.ngOnChanges=function(){this._stateChanges.next()},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e.ɵfac=function(t){return n(t||e)},e.ɵcmp=o["ɵɵdefineComponent"]({type:e,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[o["ɵɵInheritDefinitionFeature"],o["ɵɵNgOnChangesFeature"]],ngContentSelectors:v,decls:1,vars:0,template:function(t,e){1&t&&(o["ɵɵprojectionDef"](),o["ɵɵprojection"](0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0});var n=o["ɵɵgetInheritedFactory"](e);return e}(S),M=function(t){function e(e){var n=t.call(this)||this;return n._elementRef=e,n._stateChanges=new l.a,"action-list"===n._getListType()&&e.nativeElement.classList.add("mat-action-list"),n}return Object(a.c)(e,t),e.prototype._getListType=function(){var t=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===t?"list":"mat-action-list"===t?"action-list":null},e.prototype.ngOnChanges=function(){this._stateChanges.next()},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e.ctorParameters=function(){return[{type:o.ElementRef}]},e.ɵfac=function(t){return new(t||e)(o["ɵɵdirectiveInject"](o.ElementRef))},e.ɵcmp=o["ɵɵdefineComponent"]({type:e,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[o["ɵɵInheritDefinitionFeature"],o["ɵɵNgOnChangesFeature"]],ngContentSelectors:v,decls:1,vars:0,template:function(t,e){1&t&&(o["ɵɵprojectionDef"](),o["ɵɵprojection"](0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),e}(S),k=function(){function t(){}return t.ɵfac=function(e){return new(e||t)},t.ɵdir=o["ɵɵdefineDirective"]({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),t}(),E=function(){function t(){}return t.ɵfac=function(e){return new(e||t)},t.ɵdir=o["ɵɵdefineDirective"]({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),t}(),I=function(){function t(){}return t.ɵfac=function(e){return new(e||t)},t.ɵdir=o["ɵɵdefineDirective"]({type:t,selectors:[["","mat-subheader",""],["","matSubheader",""]],hostAttrs:[1,"mat-subheader"]}),t}(),D=function(t){function e(e,n,i,o){var r=t.call(this)||this;r._element=e,r._isInteractiveList=!1,r._destroyed=new l.a,r._disabled=!1,r._isInteractiveList=!!(i||o&&"action-list"===o._getListType()),r._list=i||o;var a=r._getHostElement();return"button"!==a.nodeName.toLowerCase()||a.hasAttribute("type")||a.setAttribute("type","button"),r._list&&r._list._stateChanges.pipe(Object(c.a)(r._destroyed)).subscribe(function(){n.markForCheck()}),r}return Object(a.c)(e,t),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled||!(!this._list||!this._list.disabled)},set:function(t){this._disabled=Object(s.c)(t)},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){Object(r.setLines)(this._lines,this._element)},e.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},e.prototype._isRippleDisabled=function(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)},e.prototype._getHostElement=function(){return this._element.nativeElement},e.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:O,decorators:[{type:o.Optional}]},{type:M,decorators:[{type:o.Optional}]}]},e.propDecorators={_lines:[{type:o.ContentChildren,args:[r.MatLine,{descendants:!0}]}],_avatar:[{type:o.ContentChild,args:[k]}],_icon:[{type:o.ContentChild,args:[E]}],disabled:[{type:o.Input}]},e.ɵfac=function(t){return new(t||e)(o["ɵɵdirectiveInject"](o.ElementRef),o["ɵɵdirectiveInject"](o.ChangeDetectorRef),o["ɵɵdirectiveInject"](O,8),o["ɵɵdirectiveInject"](M,8))},e.ɵcmp=o["ɵɵdefineComponent"]({type:e,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(t,e,n){var i;1&t&&(o["ɵɵcontentQuery"](n,k,!0),o["ɵɵcontentQuery"](n,E,!0),o["ɵɵcontentQuery"](n,r.MatLine,!0)),2&t&&(o["ɵɵqueryRefresh"](i=o["ɵɵloadQuery"]())&&(e._avatar=i.first),o["ɵɵqueryRefresh"](i=o["ɵɵloadQuery"]())&&(e._icon=i.first),o["ɵɵqueryRefresh"](i=o["ɵɵloadQuery"]())&&(e._lines=i))},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(t,e){2&t&&o["ɵɵclassProp"]("mat-list-item-disabled",e.disabled)("mat-list-item-avatar",e._avatar||e._icon)("mat-list-item-with-avatar",e._avatar||e._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[o["ɵɵInheritDefinitionFeature"]],ngContentSelectors:y,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(t,e){1&t&&(o["ɵɵprojectionDef"](b),o["ɵɵelementStart"](0,"div",0),o["ɵɵelement"](1,"div",1),o["ɵɵprojection"](2),o["ɵɵelementStart"](3,"div",2),o["ɵɵprojection"](4,1),o["ɵɵelementEnd"](),o["ɵɵprojection"](5,2),o["ɵɵelementEnd"]()),2&t&&(o["ɵɵadvance"](1),o["ɵɵproperty"]("matRippleTrigger",e._getHostElement())("matRippleDisabled",e._isRippleDisabled()))},directives:[r.MatRipple],encapsulation:2,changeDetection:0}),e}(P),T=Object(r.mixinDisableRipple)(function(){}),R=Object(r.mixinDisableRipple)(function(){}),j={provide:h.NG_VALUE_ACCESSOR,useExisting:Object(o.forwardRef)(function(){return N}),multi:!0},A=function(t,e){this.source=t,this.option=e},F=function(t){function e(e,n,i){var o=t.call(this)||this;return o._element=e,o._changeDetector=n,o.selectionList=i,o._selected=!1,o._disabled=!1,o._hasFocus=!1,o.checkboxPosition="after",o._inputsInitialized=!1,o}return Object(a.c)(e,t),Object.defineProperty(e.prototype,"color",{get:function(){return this._color||this.selectionList.color},set:function(t){this._color=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this.selected&&t!==this.value&&this._inputsInitialized&&(this.selected=!1),this._value=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled||this.selectionList&&this.selectionList.disabled},set:function(t){var e=Object(s.c)(t);e!==this._disabled&&(this._disabled=e,this._changeDetector.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selected",{get:function(){return this.selectionList.selectedOptions.isSelected(this)},set:function(t){var e=Object(s.c)(t);e!==this._selected&&(this._setSelected(e),this.selectionList._reportValueChange())},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this,e=this.selectionList;e._value&&e._value.some(function(n){return e.compareWith(n,t._value)})&&this._setSelected(!0);var n=this._selected;Promise.resolve().then(function(){(t._selected||n)&&(t.selected=!0,t._changeDetector.markForCheck())}),this._inputsInitialized=!0},e.prototype.ngAfterContentInit=function(){Object(r.setLines)(this._lines,this._element)},e.prototype.ngOnDestroy=function(){var t=this;this.selected&&Promise.resolve().then(function(){t.selected=!1});var e=this._hasFocus,n=this.selectionList._removeOptionFromList(this);e&&n&&n.focus()},e.prototype.toggle=function(){this.selected=!this.selected},e.prototype.focus=function(){this._element.nativeElement.focus()},e.prototype.getLabel=function(){return this._text&&this._text.nativeElement.textContent||""},e.prototype._isRippleDisabled=function(){return this.disabled||this.disableRipple||this.selectionList.disableRipple},e.prototype._handleClick=function(){this.disabled||!this.selectionList.multiple&&this.selected||(this.toggle(),this.selectionList._emitChangeEvent(this))},e.prototype._handleFocus=function(){this.selectionList._setFocusedOption(this),this._hasFocus=!0},e.prototype._handleBlur=function(){this.selectionList._onTouched(),this._hasFocus=!1},e.prototype._getHostElement=function(){return this._element.nativeElement},e.prototype._setSelected=function(t){return t!==this._selected&&(this._selected=t,t?this.selectionList.selectedOptions.select(this):this.selectionList.selectedOptions.deselect(this),this._changeDetector.markForCheck(),!0)},e.prototype._markForCheck=function(){this._changeDetector.markForCheck()},e.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:N,decorators:[{type:o.Inject,args:[Object(o.forwardRef)(function(){return N})]}]}]},e.propDecorators={_avatar:[{type:o.ContentChild,args:[k]}],_icon:[{type:o.ContentChild,args:[E]}],_lines:[{type:o.ContentChildren,args:[r.MatLine,{descendants:!0}]}],_text:[{type:o.ViewChild,args:["text"]}],checkboxPosition:[{type:o.Input}],color:[{type:o.Input}],value:[{type:o.Input}],disabled:[{type:o.Input}],selected:[{type:o.Input}]},e.ɵfac=function(t){return new(t||e)(o["ɵɵdirectiveInject"](o.ElementRef),o["ɵɵdirectiveInject"](o.ChangeDetectorRef),o["ɵɵdirectiveInject"](Object(o.forwardRef)(function(){return N})))},e.ɵcmp=o["ɵɵdefineComponent"]({type:e,selectors:[["mat-list-option"]],contentQueries:function(t,e,n){var i;1&t&&(o["ɵɵcontentQuery"](n,k,!0),o["ɵɵcontentQuery"](n,E,!0),o["ɵɵcontentQuery"](n,r.MatLine,!0)),2&t&&(o["ɵɵqueryRefresh"](i=o["ɵɵloadQuery"]())&&(e._avatar=i.first),o["ɵɵqueryRefresh"](i=o["ɵɵloadQuery"]())&&(e._icon=i.first),o["ɵɵqueryRefresh"](i=o["ɵɵloadQuery"]())&&(e._lines=i))},viewQuery:function(t,e){var n;1&t&&o["ɵɵviewQuery"](_,!0),2&t&&o["ɵɵqueryRefresh"](n=o["ɵɵloadQuery"]())&&(e._text=n.first)},hostAttrs:["role","option",1,"mat-list-item","mat-list-option","mat-focus-indicator"],hostVars:15,hostBindings:function(t,e){1&t&&o["ɵɵlistener"]("focus",function(){return e._handleFocus()})("blur",function(){return e._handleBlur()})("click",function(){return e._handleClick()}),2&t&&(o["ɵɵattribute"]("aria-selected",e.selected)("aria-disabled",e.disabled)("tabindex",-1),o["ɵɵclassProp"]("mat-list-item-disabled",e.disabled)("mat-list-item-with-avatar",e._avatar||e._icon)("mat-primary","primary"===e.color)("mat-accent","primary"!==e.color&&"warn"!==e.color)("mat-warn","warn"===e.color)("mat-list-single-selected-option",e.selected&&!e.selectionList.multiple))},inputs:{disableRipple:"disableRipple",color:"color",value:"value",disabled:"disabled",selected:"selected",checkboxPosition:"checkboxPosition"},exportAs:["matListOption"],features:[o["ɵɵInheritDefinitionFeature"]],ngContentSelectors:w,decls:7,vars:5,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[3,"state","disabled",4,"ngIf"],[1,"mat-list-text"],["text",""],[3,"state","disabled"]],template:function(t,e){1&t&&(o["ɵɵprojectionDef"](x),o["ɵɵelementStart"](0,"div",0),o["ɵɵelement"](1,"div",1),o["ɵɵtemplate"](2,C,1,2,"mat-pseudo-checkbox",2),o["ɵɵelementStart"](3,"div",3,4),o["ɵɵprojection"](5),o["ɵɵelementEnd"](),o["ɵɵprojection"](6,1),o["ɵɵelementEnd"]()),2&t&&(o["ɵɵclassProp"]("mat-list-item-content-reverse","after"==e.checkboxPosition),o["ɵɵadvance"](1),o["ɵɵproperty"]("matRippleTrigger",e._getHostElement())("matRippleDisabled",e._isRippleDisabled()),o["ɵɵadvance"](1),o["ɵɵproperty"]("ngIf",e.selectionList.multiple))},directives:[r.MatRipple,i.NgIf,r.MatPseudoCheckbox],encapsulation:2,changeDetection:0}),e}(R),N=function(t){function e(e,n,i){var r=t.call(this)||this;return r._element=e,r._changeDetector=i,r._multiple=!0,r._contentInitialized=!1,r.selectionChange=new o.EventEmitter,r.tabIndex=0,r.color="accent",r.compareWith=function(t,e){return t===e},r._disabled=!1,r.selectedOptions=new p.c(r._multiple),r._tabIndex=-1,r._onChange=function(t){},r._destroyed=new l.a,r._onTouched=function(){},r}return Object(a.c)(e,t),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Object(s.c)(t),this._markOptionsForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"multiple",{get:function(){return this._multiple},set:function(t){var e=Object(s.c)(t);if(e!==this._multiple){if(Object(o.isDevMode)()&&this._contentInitialized)throw new Error("Cannot change `multiple` mode of mat-selection-list after initialization.");this._multiple=e,this.selectedOptions=new p.c(this._multiple,this.selectedOptions.selected)}},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){var t=this;this._contentInitialized=!0,this._keyManager=new d.g(this.options).withWrap().withTypeAhead().skipPredicate(function(){return!1}).withAllowedModifierKeys(["shiftKey"]),this._value&&this._setOptionsFromValues(this._value),this._keyManager.tabOut.pipe(Object(c.a)(this._destroyed)).subscribe(function(){t._allowFocusEscape()}),this.options.changes.pipe(Object(u.a)(null),Object(c.a)(this._destroyed)).subscribe(function(){t._updateTabIndex()}),this.selectedOptions.changed.pipe(Object(c.a)(this._destroyed)).subscribe(function(t){var e,n,i,o;if(t.added)try{for(var r=Object(a.j)(t.added),s=r.next();!s.done;s=r.next())s.value.selected=!0}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}if(t.removed)try{for(var l=Object(a.j)(t.removed),c=l.next();!c.done;c=l.next())c.value.selected=!1}catch(t){i={error:t}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}})},e.prototype.ngOnChanges=function(t){var e=t.disableRipple,n=t.color;(e&&!e.firstChange||n&&!n.firstChange)&&this._markOptionsForCheck()},e.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0},e.prototype.focus=function(t){this._element.nativeElement.focus(t)},e.prototype.selectAll=function(){this._setAllOptionsSelected(!0)},e.prototype.deselectAll=function(){this._setAllOptionsSelected(!1)},e.prototype._setFocusedOption=function(t){this._keyManager.updateActiveItem(t)},e.prototype._removeOptionFromList=function(t){var e=this._getOptionIndex(t);return e>-1&&this._keyManager.activeItemIndex===e&&(e>0?this._keyManager.updateActiveItem(e-1):0===e&&this.options.length>1&&this._keyManager.updateActiveItem(Math.min(e+1,this.options.length-1))),this._keyManager.activeItem},e.prototype._keydown=function(t){var e=t.keyCode,n=this._keyManager,i=n.activeItemIndex,o=Object(m.hasModifierKey)(t);switch(e){case m.SPACE:case m.ENTER:o||n.isTyping()||(this._toggleFocusedOption(),t.preventDefault());break;case m.HOME:case m.END:o||(e===m.HOME?n.setFirstItemActive():n.setLastItemActive(),t.preventDefault());break;default:if(e===m.A&&this.multiple&&Object(m.hasModifierKey)(t,"ctrlKey")&&!n.isTyping()){var r=this.options.some(function(t){return!t.disabled&&!t.selected});this._setAllOptionsSelected(r,!0),t.preventDefault()}else n.onKeydown(t)}this.multiple&&(e===m.UP_ARROW||e===m.DOWN_ARROW)&&t.shiftKey&&n.activeItemIndex!==i&&this._toggleFocusedOption()},e.prototype._reportValueChange=function(){if(this.options&&!this._isDestroyed){var t=this._getSelectedOptionValues();this._onChange(t),this._value=t}},e.prototype._emitChangeEvent=function(t){this.selectionChange.emit(new A(this,t))},e.prototype._onFocus=function(){var t=this._keyManager.activeItemIndex;t&&-1!==t?this._keyManager.setActiveItem(t):this._keyManager.setFirstItemActive()},e.prototype.writeValue=function(t){this._value=t,this.options&&this._setOptionsFromValues(t||[])},e.prototype.setDisabledState=function(t){this.disabled=t},e.prototype.registerOnChange=function(t){this._onChange=t},e.prototype.registerOnTouched=function(t){this._onTouched=t},e.prototype._setOptionsFromValues=function(t){var e=this;this.options.forEach(function(t){return t._setSelected(!1)}),t.forEach(function(t){var n=e.options.find(function(n){return!n.selected&&e.compareWith(n.value,t)});n&&n._setSelected(!0)})},e.prototype._getSelectedOptionValues=function(){return this.options.filter(function(t){return t.selected}).map(function(t){return t.value})},e.prototype._toggleFocusedOption=function(){var t=this._keyManager.activeItemIndex;if(null!=t&&this._isValidIndex(t)){var e=this.options.toArray()[t];!e||e.disabled||!this._multiple&&e.selected||(e.toggle(),this._emitChangeEvent(e))}},e.prototype._setAllOptionsSelected=function(t,e){var n=!1;this.options.forEach(function(i){e&&i.disabled||!i._setSelected(t)||(n=!0)}),n&&this._reportValueChange()},e.prototype._isValidIndex=function(t){return t>=0&&t<this.options.length},e.prototype._getOptionIndex=function(t){return this.options.toArray().indexOf(t)},e.prototype._markOptionsForCheck=function(){this.options&&this.options.forEach(function(t){return t._markForCheck()})},e.prototype._allowFocusEscape=function(){var t=this;this._tabIndex=-1,setTimeout(function(){t._tabIndex=0,t._changeDetector.markForCheck()})},e.prototype._updateTabIndex=function(){this._tabIndex=0===this.options.length?-1:0},e.ctorParameters=function(){return[{type:o.ElementRef},{type:String,decorators:[{type:o.Attribute,args:["tabindex"]}]},{type:o.ChangeDetectorRef}]},e.propDecorators={options:[{type:o.ContentChildren,args:[F,{descendants:!0}]}],selectionChange:[{type:o.Output}],tabIndex:[{type:o.Input}],color:[{type:o.Input}],compareWith:[{type:o.Input}],disabled:[{type:o.Input}],multiple:[{type:o.Input}]},e.ɵfac=function(t){return new(t||e)(o["ɵɵdirectiveInject"](o.ElementRef),o["ɵɵinjectAttribute"]("tabindex"),o["ɵɵdirectiveInject"](o.ChangeDetectorRef))},e.ɵcmp=o["ɵɵdefineComponent"]({type:e,selectors:[["mat-selection-list"]],contentQueries:function(t,e,n){var i;1&t&&o["ɵɵcontentQuery"](n,F,!0),2&t&&o["ɵɵqueryRefresh"](i=o["ɵɵloadQuery"]())&&(e.options=i)},hostAttrs:["role","listbox",1,"mat-selection-list","mat-list-base"],hostVars:3,hostBindings:function(t,e){1&t&&o["ɵɵlistener"]("focus",function(){return e._onFocus()})("blur",function(){return e._onTouched()})("keydown",function(t){return e._keydown(t)}),2&t&&o["ɵɵattribute"]("aria-multiselectable",e.multiple)("aria-disabled",e.disabled.toString())("tabindex",e._tabIndex)},inputs:{disableRipple:"disableRipple",disabled:"disabled",multiple:"multiple",tabIndex:"tabIndex",color:"color",compareWith:"compareWith"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[o["ɵɵProvidersFeature"]([j]),o["ɵɵInheritDefinitionFeature"],o["ɵɵNgOnChangesFeature"]],ngContentSelectors:v,decls:1,vars:0,template:function(t,e){1&t&&(o["ɵɵprojectionDef"](),o["ɵɵprojection"](0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),e}(T),L=function(){function t(){}return t.ɵmod=o["ɵɵdefineNgModule"]({type:t}),t.ɵinj=o["ɵɵdefineInjector"]({factory:function(e){return new(e||t)},imports:[[r.MatLineModule,r.MatRippleModule,r.MatCommonModule,r.MatPseudoCheckboxModule,i.CommonModule],r.MatLineModule,r.MatCommonModule,r.MatPseudoCheckboxModule,g]}),("undefined"==typeof ngJitMode||ngJitMode)&&o["ɵɵsetNgModuleScope"](t,{declarations:function(){return[M,O,D,k,E,I,N,F]},imports:function(){return[r.MatLineModule,r.MatRippleModule,r.MatCommonModule,r.MatPseudoCheckboxModule,i.CommonModule]},exports:function(){return[M,O,D,k,r.MatLineModule,r.MatCommonModule,E,I,r.MatPseudoCheckboxModule,N,F,g]}}),t}()},2015:function(t,e,n){"use strict";n.r(e),n.d(e,"MAT_TOOLTIP_DEFAULT_OPTIONS",function(){return z}),n.d(e,"MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY",function(){return B}),n.d(e,"MAT_TOOLTIP_SCROLL_STRATEGY",function(){return L}),n.d(e,"MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY",function(){return U}),n.d(e,"MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER",function(){return V}),n.d(e,"MatTooltip",function(){return q}),n.d(e,"MatTooltipModule",function(){return G}),n.d(e,"SCROLL_THROTTLE_MS",function(){return j}),n.d(e,"TOOLTIP_PANEL_CLASS",function(){return A}),n.d(e,"TooltipComponent",function(){return H}),n.d(e,"getMatTooltipInvalidPositionError",function(){return N}),n.d(e,"matTooltipAnimations",function(){return R});var i,o=n(115),r=n(63),a=n(3),s=n(0),l=n(47),c=n(51),u=n(1),d=n(37),p=n(23),m=n(60),h=n(13),f=n(32),g=n(346),v=n(250),b=n(12),y=n(221),_=n(1954),C=n(623),x=n(62),w=n(438),S=n(341),P=(function(){function t(){}t.ɵmod=s["ɵɵdefineNgModule"]({type:t}),t.ɵinj=s["ɵɵdefineInjector"]({factory:function(e){return new(e||t)}})}(),new Set),O=function(){function t(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):M}return t.prototype.matchMedia=function(t){return this._platform.WEBKIT&&function(t){if(!P.has(t))try{i||((i=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(i)),i.sheet&&(i.sheet.insertRule("@media "+t+" {.fx-query-test{ }}",0),P.add(t))}catch(t){console.error(t)}}(t),this._matchMedia(t)},t.ctorParameters=function(){return[{type:h.a}]},t.ɵprov=Object(s["ɵɵdefineInjectable"])({factory:function(){return new t(Object(s["ɵɵinject"])(h.a))},token:t,providedIn:"root"}),t.ɵfac=function(e){return new(e||t)(s["ɵɵinject"](h.a))},t}();function M(t){return{matches:"all"===t||""===t,media:t,addListener:function(){},removeListener:function(){}}}
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */var k=function(){function t(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new f.a}return t.prototype.ngOnDestroy=function(){this._destroySubject.next(),this._destroySubject.complete()},t.prototype.isMatched=function(t){var e=this;return E(Object(p.b)(t)).some(function(t){return e._registerQuery(t).mql.matches})},t.prototype.observe=function(t){var e=this,n=E(Object(p.b)(t)).map(function(t){return e._registerQuery(t).observable}),i=Object(g.b)(n);return(i=Object(v.a)(i.pipe(Object(y.a)(1)),i.pipe(Object(_.a)(1),Object(C.a)(0)))).pipe(Object(x.a)(function(t){var e={matches:!1,breakpoints:{}};return t.forEach(function(t){e.matches=e.matches||t.matches,e.breakpoints[t.query]=t.matches}),e}))},t.prototype._registerQuery=function(t){var e=this;if(this._queries.has(t))return this._queries.get(t);var n=this._mediaMatcher.matchMedia(t),i={observable:new b.a(function(t){var i=function(n){return e._zone.run(function(){return t.next(n)})};return n.addListener(i),function(){n.removeListener(i)}}).pipe(Object(w.a)(n),Object(x.a)(function(e){return{query:t,matches:e.matches}}),Object(S.a)(this._destroySubject)),mql:n};return this._queries.set(t,i),i},t.ctorParameters=function(){return[{type:O},{type:s.NgZone}]},t.ɵprov=Object(s["ɵɵdefineInjectable"])({factory:function(){return new t(Object(s["ɵɵinject"])(O),Object(s["ɵɵinject"])(s.NgZone))},token:t,providedIn:"root"}),t.ɵfac=function(e){return new(e||t)(s["ɵɵinject"](O),s["ɵɵinject"](s.NgZone))},t}();function E(t){return t.map(function(t){return t.split(",")}).reduce(function(t,e){return t.concat(e)}).map(function(t){return t.trim()})}
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */var I="(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)",D=n(69),T=n(30),R={tooltipState:Object(T.trigger)("state",[Object(T.state)("initial, void, hidden",Object(T.style)({opacity:0,transform:"scale(0)"})),Object(T.state)("visible",Object(T.style)({transform:"scale(1)"})),Object(T.transition)("* => visible",Object(T.animate)("200ms cubic-bezier(0, 0, 0.2, 1)",Object(T.keyframes)([Object(T.style)({opacity:0,transform:"scale(0)",offset:0}),Object(T.style)({opacity:.5,transform:"scale(0.99)",offset:.5}),Object(T.style)({opacity:1,transform:"scale(1)",offset:1})]))),Object(T.transition)("* => hidden",Object(T.animate)("100ms cubic-bezier(0, 0, 0.2, 1)",Object(T.style)({opacity:0})))])},j=20,A="mat-tooltip-panel",F=Object(h.f)({passive:!0});
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */function N(t){return Error('Tooltip position "'+t+'" is invalid.')}var L=new s.InjectionToken("mat-tooltip-scroll-strategy");function U(t){return function(){return t.scrollStrategies.reposition({scrollThrottle:j})}}var V={provide:L,deps:[o.c],useFactory:U},z=new s.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:B});function B(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var q=function(){function t(t,e,n,i,o,r,a,s,l,c,u,d){var p=this;this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=i,this._ngZone=o,this._platform=r,this._ariaDescriber=a,this._focusMonitor=s,this._dir=c,this._defaultOptions=u,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=new Map,this._destroyed=new f.a,this._handleKeydown=function(t){p._isTooltipVisible()&&t.keyCode===m.ESCAPE&&!Object(m.hasModifierKey)(t)&&(t.preventDefault(),t.stopPropagation(),p._ngZone.run(function(){return p.hide(0)}))},this._scrollStrategy=l,u&&(u.position&&(this.position=u.position),u.touchGestures&&(this.touchGestures=u.touchGestures)),s.monitor(e).pipe(Object(S.a)(this._destroyed)).subscribe(function(t){t?"keyboard"===t&&o.run(function(){return p.show()}):o.run(function(){return p.hide(0)})}),o.runOutsideAngular(function(){e.nativeElement.addEventListener("keydown",p._handleKeydown)})}return Object.defineProperty(t.prototype,"position",{get:function(){return this._position},set:function(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Object(p.c)(t),this._disabled&&this.hide(0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){return this._message},set:function(t){var e=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?(""+t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){e._ariaDescriber.describe(e._elementRef.nativeElement,e.message)})}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tooltipClass",{get:function(){return this._tooltipClass},set:function(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this._setupPointerEvents()},t.prototype.ngOnDestroy=function(){var t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(function(e,n){t.removeEventListener(n,e,F)}),this._passiveListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message),this._focusMonitor.stopMonitoring(t)},t.prototype.show=function(t){var e=this;if(void 0===t&&(t=this.showDelay),!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new D.d(H,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(S.a)(this._destroyed)).subscribe(function(){return e._detach()}),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}},t.prototype.hide=function(t){void 0===t&&(t=this.hideDelay),this._tooltipInstance&&this._tooltipInstance.hide(t)},t.prototype.toggle=function(){this._isTooltipVisible()?this.hide():this.show()},t.prototype._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()},t.prototype._createOverlay=function(){var t=this;if(this._overlayRef)return this._overlayRef;var e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(e);return n.positionChanges.pipe(Object(S.a)(this._destroyed)).subscribe(function(e){t._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&t._tooltipInstance.isVisible()&&t._ngZone.run(function(){return t.hide(0)})}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:A,scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Object(S.a)(this._destroyed)).subscribe(function(){return t._detach()}),this._overlayRef},t.prototype._detach=function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null},t.prototype._updatePosition=function(){var t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),n=this._getOverlayPosition();t.withPositions([Object(u.a)(Object(u.a)({},e.main),n.main),Object(u.a)(Object(u.a)({},e.fallback),n.fallback)])},t.prototype._getOrigin=function(){var t,e=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n||"below"==n)t={originX:"center",originY:"above"==n?"top":"bottom"};else if("before"==n||"left"==n&&e||"right"==n&&!e)t={originX:"start",originY:"center"};else{if(!("after"==n||"right"==n&&e||"left"==n&&!e))throw N(n);t={originX:"end",originY:"center"}}var i=this._invertPosition(t.originX,t.originY);return{main:t,fallback:{originX:i.x,originY:i.y}}},t.prototype._getOverlayPosition=function(){var t,e=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n)t={overlayX:"center",overlayY:"bottom"};else if("below"==n)t={overlayX:"center",overlayY:"top"};else if("before"==n||"left"==n&&e||"right"==n&&!e)t={overlayX:"end",overlayY:"center"};else{if(!("after"==n||"right"==n&&e||"left"==n&&!e))throw N(n);t={overlayX:"start",overlayY:"center"}}var i=this._invertPosition(t.overlayX,t.overlayY);return{main:t,fallback:{overlayX:i.x,overlayY:i.y}}},t.prototype._updateTooltipMessage=function(){var t=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(y.a)(1),Object(S.a)(this._destroyed)).subscribe(function(){t._tooltipInstance&&t._overlayRef.updatePosition()}))},t.prototype._setTooltipClass=function(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())},t.prototype._invertPosition=function(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}},t.prototype._setupPointerEvents=function(){var t=this;if(this._platform.IOS||this._platform.ANDROID){if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var e=function(){clearTimeout(t._touchstartTimeout),t.hide(t._defaultOptions.touchendHideDelay)};this._passiveListeners.set("touchend",e).set("touchcancel",e).set("touchstart",function(){clearTimeout(t._touchstartTimeout),t._touchstartTimeout=setTimeout(function(){return t.show()},500)})}}else this._passiveListeners.set("mouseenter",function(){return t.show()}).set("mouseleave",function(){return t.hide()});this._passiveListeners.forEach(function(e,n){t._elementRef.nativeElement.addEventListener(n,e,F)})},t.prototype._disableNativeGesturesIfNecessary=function(){var t=this._elementRef.nativeElement,e=t.style,n=this.touchGestures;"off"!==n&&(("on"===n||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(e.userSelect=e.msUserSelect=e.webkitUserSelect=e.MozUserSelect="none"),"on"!==n&&t.draggable||(e.webkitUserDrag="none"),e.touchAction="none",e.webkitTapHighlightColor="transparent")},t.ctorParameters=function(){return[{type:o.c},{type:s.ElementRef},{type:c.b},{type:s.ViewContainerRef},{type:s.NgZone},{type:h.a},{type:r.c},{type:r.h},{type:void 0,decorators:[{type:s.Inject,args:[L]}]},{type:d.Directionality,decorators:[{type:s.Optional}]},{type:void 0,decorators:[{type:s.Optional},{type:s.Inject,args:[z]}]},{type:void 0,decorators:[{type:s.Inject,args:[s.ElementRef]}]}]},t.propDecorators={position:[{type:s.Input,args:["matTooltipPosition"]}],disabled:[{type:s.Input,args:["matTooltipDisabled"]}],showDelay:[{type:s.Input,args:["matTooltipShowDelay"]}],hideDelay:[{type:s.Input,args:["matTooltipHideDelay"]}],touchGestures:[{type:s.Input,args:["matTooltipTouchGestures"]}],message:[{type:s.Input,args:["matTooltip"]}],tooltipClass:[{type:s.Input,args:["matTooltipClass"]}]},t.ɵfac=function(e){return new(e||t)(s["ɵɵdirectiveInject"](o.c),s["ɵɵdirectiveInject"](s.ElementRef),s["ɵɵdirectiveInject"](c.b),s["ɵɵdirectiveInject"](s.ViewContainerRef),s["ɵɵdirectiveInject"](s.NgZone),s["ɵɵdirectiveInject"](h.a),s["ɵɵdirectiveInject"](r.c),s["ɵɵdirectiveInject"](r.h),s["ɵɵdirectiveInject"](L),s["ɵɵdirectiveInject"](d.Directionality,8),s["ɵɵdirectiveInject"](z,8),s["ɵɵdirectiveInject"](s.ElementRef))},t.ɵdir=s["ɵɵdefineDirective"]({type:t,selectors:[["","matTooltip",""]],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),t}(),H=function(){function t(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new f.a,this._isHandset=this._breakpointObserver.observe(I)}return t.prototype.show=function(t){var e=this;this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(function(){e._visibility="visible",e._showTimeoutId=null,e._markForCheck()},t)},t.prototype.hide=function(t){var e=this;this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(function(){e._visibility="hidden",e._hideTimeoutId=null,e._markForCheck()},t)},t.prototype.afterHidden=function(){return this._onHide.asObservable()},t.prototype.isVisible=function(){return"visible"===this._visibility},t.prototype.ngOnDestroy=function(){this._onHide.complete()},t.prototype._animationStart=function(){this._closeOnInteraction=!1},t.prototype._animationDone=function(t){var e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)},t.prototype._handleBodyInteraction=function(){this._closeOnInteraction&&this.hide(0)},t.prototype._markForCheck=function(){this._changeDetectorRef.markForCheck()},t.ctorParameters=function(){return[{type:s.ChangeDetectorRef},{type:k}]},t.ɵfac=function(e){return new(e||t)(s["ɵɵdirectiveInject"](s.ChangeDetectorRef),s["ɵɵdirectiveInject"](k))},t.ɵcmp=s["ɵɵdefineComponent"]({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&s["ɵɵlistener"]("click",function(){return e._handleBodyInteraction()},!1,s["ɵɵresolveBody"]),2&t&&s["ɵɵstyleProp"]("zoom","visible"===e._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){if(1&t&&(s["ɵɵelementStart"](0,"div",0),s["ɵɵlistener"]("@state.start",function(){return e._animationStart()})("@state.done",function(t){return e._animationDone(t)}),s["ɵɵpipe"](1,"async"),s["ɵɵtext"](2),s["ɵɵelementEnd"]()),2&t){var n,i=null==(n=s["ɵɵpipeBind1"](1,5,e._isHandset))?null:n.matches;s["ɵɵclassProp"]("mat-tooltip-handset",i),s["ɵɵproperty"]("ngClass",e.tooltipClass)("@state",e._visibility),s["ɵɵadvance"](2),s["ɵɵtextInterpolate"](e.message)}},directives:[a.NgClass],pipes:[a.AsyncPipe],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[R.tooltipState]},changeDetection:0}),t}(),G=function(){function t(){}return t.ɵmod=s["ɵɵdefineNgModule"]({type:t}),t.ɵinj=s["ɵɵdefineInjector"]({factory:function(e){return new(e||t)},providers:[V],imports:[[r.a,a.CommonModule,o.f,l.MatCommonModule],l.MatCommonModule,c.a]}),("undefined"==typeof ngJitMode||ngJitMode)&&s["ɵɵsetNgModuleScope"](t,{declarations:function(){return[q,H]},imports:function(){return[r.a,a.CommonModule,o.f,l.MatCommonModule]},exports:function(){return[q,H,l.MatCommonModule,c.a]}}),t}()},2050:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t){this.fillFromData(t)}return t.prototype.fillFromData=function(t){this.awsKey=t.aws_key,this.awsRegion=t.aws_region,this.bucketName=t.bucket_name,this.prefix=t.prefix,this.awsToken=t.aws_token},t}();e.S3Credentials=i},2051:function(t,e,n){"use strict";var i,o=this&&this.__extends||(i=function(t,e){return(i=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])})(t,e)},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),Object.defineProperty(e.prototype,"needsRelink",{get:function(){return this._needsRelink&&!this.linkedTo},set:function(t){this._needsRelink=t},enumerable:!0,configurable:!0}),e.prototype.fillFromData=function(t){this.name=t.name,this.x=t.x,this.y=t.y,this.z=t.z,this.yaw=t.yaw,this.timestamp=t.timestamp,this.selected=t.selected},e.prototype.toData=function(){return{name:this.linkedTo?this.linkedTo:this.name,x:this.x,y:this.y,z:this.z,yaw:this.yaw,timestamp:this.timestamp,selected:this.selected}},e}(n(1947).ControlPoint);e.MappedControlPoint=r;e.MappedControlPointREST=function(){}},2052:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(2053),o=function(){function t(){}return t.prototype.fillFromData=function(t){this.datasetName=t.dataset_name,this.qualityMapUrl=t.quality_map_url,this.qualityMapThumbnailUrl=t.quality_map_thumbnail_url,this.qualityMapMeta=new i.QualityMapMeta,this.qualityMapMeta.fillFromData(t.quality_map_meta)},t}();e.QualityMapInfo=o},2053:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(){}return t.prototype.fillFromData=function(t){this.resolution=null==t?void 0:t.resolution,this.origin=null==t?void 0:t.origin},t.prototype.toData=function(){return{resolution:this.resolution,origin:this.origin}},t}();e.QualityMapMeta=i},2054:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(){}return Object.defineProperty(t.prototype,"range",{get:function(){if(!this.rangeMin||!this.rangeMax)return[];var t=Math.ceil(this.rangeMin/3600),e=Math.ceil(this.rangeMax/3600);return t===e?[t]:[t,e]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rangeInSeconds",{get:function(){return[this.rangeMin,this.rangeMax]},set:function(t){if(2!==t.length)throw new Error("The range array has length different than 2");this.rangeMin=t[0],this.rangeMax=t[1]},enumerable:!0,configurable:!0}),t.prototype.resetRange=function(){this.rangeMax=void 0,this.rangeMin=void 0},t.prototype.recalculateRange=function(t,e){if(t&&(this.resolution=t),e&&(this.mappingDuration=e),this.resolution&&this.mappingDuration){if(this.resolution%5!=0)throw new Error("Resolution is not a multiple of 5");switch(this.resolution){case 5:this.rangeMin=15*this.mappingDuration,this.rangeMax=17*this.mappingDuration;break;case 10:this.rangeMin=8*this.mappingDuration,this.rangeMax=10*this.mappingDuration;break;case 15:this.rangeMin=7*this.mappingDuration,this.rangeMax=9*this.mappingDuration;break;default:this.rangeMin=6*this.mappingDuration,this.rangeMax=8*this.mappingDuration}}else console.warn("Could not calculate time estimation because properties 'resolution' and/or 'mappingDuration'are not set")},t}();e.ProcessingTaskTimeEstimator=i},2055:function(t,e,n){t.exports=n.p+"CloudUpload.0324e0ff6396306ca1a3.worker.js"},2056:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.START_UPLOAD="config",t.PROGRESS="progress",t.DATASET_STATUS_UPDATE="datasetStatusUpdate",t.ALL_COMPLETED="allCompleted",t.ERROR="error",t.OPERATION_ERROR="operationError",t.PAUSE="pause",t.CANCEL="cancel",t.RESUME="resume",t.PAUSED="paused",t.CANCELLED="cancelled",t.RESUMED="resumed"}(e.UploadWorkerMessageType||(e.UploadWorkerMessageType={}))},2057:function(t,e,n){"use strict";var i,o=this&&this.__extends||(i=function(t,e){return(i=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])})(t,e)},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){function e(e,n){var i=t.call(this,"datasetCloudUploadStart")||this;return i.withData("name",e),i.withData("size",n),i}return o(e,t),e}(n(64).TrackingEvent);e.CloudProcessingDatasetUploadStartEvent=r},2058:function(t,e,n){"use strict";var i,o=this&&this.__extends||(i=function(t,e){return(i=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])})(t,e)},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){function e(e,n,i){var o=t.call(this,"datasetCloudUploadComplete")||this;return o.withData("name",e),o.withData("size",n),o.withData("uploadTime",i),o}return o(e,t),e}(n(64).TrackingEvent);e.CloudProcessingDatasetUploadCompleteEvent=r},2059:function(t,e,n){"use strict";var i,o=this&&this.__extends||(i=function(t,e){return(i=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])})(t,e)},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){function e(e,n,i){var o=t.call(this,"datasetCloudUploadFailed")||this;return o.withData("name",e),o.withData("size",n),o.withData("uploadTimeUntilFailure",i),o}return o(e,t),e}(n(64).TrackingEvent);e.CloudProcessingDatasetUploadFailureEvent=r},2060:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(){}return t.prototype.fillFromData=function(t){this.totalFailedDatasets=t.total_failed_datasets,this.totalSuccessfulDatasets=t.total_successful_datasets,this.state=t.state,this.taskName=t.task_name,this.totalDatasets=t.total_datasets,this.startDate=t.start_date?new Date(t.start_date):void 0,this.finishDate=t.finish_date?new Date(t.finish_date):void 0,this.taskId=t.task_id,this.logsAvailable=t.logs_available,this.progress=t.progress,this.remainingTime=t.remaining_time},t.prototype.toData=function(){return{total_successful_datasets:this.totalSuccessfulDatasets,total_failed_datasets:this.totalFailedDatasets,total_datasets:this.totalDatasets,state:this.state,start_date:this.startDate?this.startDate.getTime():void 0,finish_date:this.finishDate?this.finishDate.getTime():void 0,task_name:this.taskName,task_id:this.taskId,logs_available:this.logsAvailable,progress:this.progress,remaining_time:this.remainingTime}},t}();e.ProcessingTaskResult=i},2061:function(t,e,n){"use strict";var i=n(2062),o=n(2063),r=n(2065),a=n(2066),s=n(2067),l=s(),c=s(!0),u=n(2068),d=n(2069),p=n(2070);function m(t,e){var n=(e=e||{}).controller;if(n||(d.canAttach(t)?n=d(t,e):p.canAttach(t)&&(n=p(t,e))),!n)throw new Error("Cannot create panzoom for the current type of dom element");var s=n.getOwner(),m={x:0,y:0},f=!1,y=new u;n.initTransform&&n.initTransform(y);var _,C="function"==typeof e.filterKey?e.filterKey:g,x="number"==typeof e.pinchSpeed?e.pinchSpeed:1,w=e.bounds,S="number"==typeof e.maxZoom?e.maxZoom:Number.POSITIVE_INFINITY,P="number"==typeof e.minZoom?e.minZoom:0,O="number"==typeof e.boundsPadding?e.boundsPadding:.05,M="number"==typeof e.zoomDoubleClickSpeed?e.zoomDoubleClickSpeed:1.75,k=e.beforeWheel||g,E=e.beforeMouseDown||g,I="number"==typeof e.zoomSpeed?e.zoomSpeed:1,D=h(e.transformOrigin),T=e.enableTextSelection?c:l;!function(t){var e=typeof t;if("undefined"!==e&&"boolean"!==e&&!(v(t.left)&&v(t.top)&&v(t.bottom)&&v(t.right)))throw new Error("Bounds object is not valid. It can be: undefined, boolean (true|false) or an object {left, top, right, bottom}")}(w),e.autocenter&&function(){var t,e,i=0,o=0,r=K();if(r)i=r.left,o=r.top,t=r.right-r.left,e=r.bottom-r.top;else{var a=s.getBoundingClientRect();t=a.width,e=a.height}var l=n.getBBox();if(0!==l.width&&0!==l.height){var c=e/l.height,u=t/l.width,d=Math.min(u,c);y.x=-(l.left+l.width/2)*d+t/2+i,y.y=-(l.top+l.height/2)*d+e/2+o,y.scale=d}}();var R,j,A,F,N,L,U,V,z=0,B=!1,q=!1;N="smoothScroll"in e&&!e.smoothScroll?{start:g,stop:g,cancel:g}:a(function(){return{x:y.x,y:y.y}},function(t,e){Ct(),W(t,e)},e.smoothScroll);var H=!1;et();var G={dispose:function(){nt()},moveBy:tt,moveTo:W,centerOn:function(t){var e=t.ownerSVGElement;if(!e)throw new Error("ui element is required to be within the scene");var n=t.getBoundingClientRect(),i=n.left+n.width/2,o=n.top+n.height/2,r=e.getBoundingClientRect();tt(r.width/2-i,r.height/2-o,!0)},zoomTo:_t,zoomAbs:X,smoothZoom:bt,smoothZoomAbs:function(t,e,n){var i={scale:y.scale},r={scale:n};N.cancel(),Ct(),U=o(i,r,{step:function(n){X(t,e,n.scale)}})},showRectangle:function(t){var e=s.getBoundingClientRect(),n=Q(e.width,e.height),i=t.right-t.left,o=t.bottom-t.top;if(!Number.isFinite(i)||!Number.isFinite(o))throw new Error("Invalid rectangle");var r=n.x/i,a=n.y/o,l=Math.min(r,a);y.x=-(t.left+i/2)*l+n.x/2,y.y=-(t.top+o/2)*l+n.y/2,y.scale=l},pause:function(){nt(),H=!0},resume:function(){H&&(et(),H=!1)},isPaused:function(){return H},getTransform:function(){return y},getMinZoom:function(){return P},setMinZoom:function(t){P=t},getMaxZoom:function(){return S},setMaxZoom:function(t){S=t},getTransformOrigin:function(){return D},setTransformOrigin:function(t){D=h(t)},getZoomSpeed:function(){return I},setZoomSpeed:function(t){if(!Number.isFinite(t))throw new Error("Zoom speed should be a number");I=t}};return r(G),G;function Q(t,e){if(n.getScreenCTM){var i=n.getScreenCTM(),o=i.a,r=i.d,a=i.e,s=i.f;m.x=t*o-a,m.y=e*r-s}else m.x=t,m.y=e;return m}function W(t,e){y.x=t,y.y=e,$(),Ot("pan"),Y()}function Z(t,e){W(y.x+t,y.y+e)}function $(){var t=K();if(t){var e,i,o,r,a=!1,s=(o=(e=n.getBBox()).left,r=e.top,{left:(i={x:o*y.scale+y.x,y:r*y.scale+y.y}).x,top:i.y,right:e.width*y.scale+i.x,bottom:e.height*y.scale+i.y}),l=t.left-s.right;return l>0&&(y.x+=l,a=!0),(l=t.right-s.left)<0&&(y.x+=l,a=!0),(l=t.top-s.bottom)>0&&(y.y+=l,a=!0),(l=t.bottom-s.top)<0&&(y.y+=l,a=!0),a}}function K(){if(w){if("boolean"==typeof w){var t=s.getBoundingClientRect(),e=t.width,n=t.height;return{left:e*O,top:n*O,right:e*(1-O),bottom:n*(1-O)}}return w}}function Y(){f=!0,_=window.requestAnimationFrame(it)}function J(t,e,n){if(b(t)||b(e)||b(n))throw new Error("zoom requires valid numbers");var i=y.scale*n;if(i<P){if(y.scale===P)return;n=P/y.scale}if(i>S){if(y.scale===S)return;n=S/y.scale}var o=Q(t,e);y.x=o.x-n*(o.x-y.x),y.y=o.y-n*(o.y-y.y),w&&1===O&&1===P?(y.scale*=n,$()):$()||(y.scale*=n),Ot("zoom"),Y()}function X(t,e,n){J(t,e,n/y.scale)}function tt(t,e,n){if(!n)return Z(t,e);L&&L.cancel();var i=0,r=0;L=o({x:0,y:0},{x:t,y:e},{step:function(t){Z(t.x-i,t.y-r),i=t.x,r=t.y}})}function et(){s.addEventListener("mousedown",dt,{passive:!1}),s.addEventListener("dblclick",ut,{passive:!1}),s.addEventListener("touchstart",rt,{passive:!1}),s.addEventListener("keydown",ot,{passive:!1}),i.addWheelListener(s,gt,{passive:!1}),Y()}function nt(){i.removeWheelListener(s,gt),s.removeEventListener("mousedown",dt),s.removeEventListener("keydown",ot),s.removeEventListener("dblclick",ut),s.removeEventListener("touchstart",rt),_&&(window.cancelAnimationFrame(_),_=0),N.cancel(),ht(),ft(),T.release(),St()}function it(){f&&(f=!1,n.applyTransform(y),Ot("transform"),_=0)}function ot(t){var e=0,n=0,i=0;if(38===t.keyCode?n=1:40===t.keyCode?n=-1:37===t.keyCode?e=1:39===t.keyCode?e=-1:189===t.keyCode||109===t.keyCode?i=1:187!==t.keyCode&&107!==t.keyCode||(i=-1),!C(t,e,n,i)){if(e||n){t.preventDefault(),t.stopPropagation();var o=s.getBoundingClientRect();tt(.05*(r=Math.min(o.width,o.height))*e,.05*r*n)}if(i){var r,a=xt(100*i);_t((r=D?yt():{x:(l=s.getBoundingClientRect()).width/2,y:l.height/2}).x,r.y,a)}var l}}function rt(t){if(function(t){e.onTouch&&!e.onTouch(t)||(t.stopPropagation(),t.preventDefault())}(t),1===t.touches.length)return function(t){var e=vt(t.touches[0]);R=e;var n=Q(e.x,e.y);j=n.x,A=n.y,N.cancel(),at()}(t,t.touches[0]);2===t.touches.length&&(F=ct(t.touches[0],t.touches[1]),V=!0,at())}function at(){B||(B=!0,document.addEventListener("touchmove",st),document.addEventListener("touchend",lt),document.addEventListener("touchcancel",lt))}function st(t){if(1===t.touches.length){t.stopPropagation();var e=Q((u=vt(t.touches[0])).x,u.y),n=e.x-j,i=e.y-A;0!==n&&0!==i&&wt(),j=e.x,A=e.y,tt(n,i)}else if(2===t.touches.length){V=!0;var o=t.touches[0],r=t.touches[1],a=ct(o,r),s=1+(a/F-1)*x,l=vt(o),c=vt(r);if(j=(l.x+c.x)/2,A=(l.y+c.y)/2,D){var u=yt();j=u.x,A=u.y}_t(j,A,s),F=a,t.stopPropagation(),t.preventDefault()}}function lt(t){if(t.touches.length>0){var e=Q((n=vt(t.touches[0])).x,n.y);j=e.x,A=e.y}else{var n,i=new Date;i-z<300&&(D?bt((n=yt()).x,n.y,M):bt(R.x,R.y,M)),z=i,St(),ft()}}function ct(t,e){var n=t.clientX-e.clientX,i=t.clientY-e.clientY;return Math.sqrt(n*n+i*i)}function ut(t){!function(t){e.onDoubleClick&&!e.onDoubleClick(t)||(t.preventDefault(),t.stopPropagation())}(t);var n=vt(t);D&&(n=yt()),bt(n.x,n.y,M)}function dt(t){if(!E(t)){if(B)return t.stopPropagation(),!1;if(1===t.button&&null!==window.event||0===t.button){N.cancel();var e=vt(t),n=Q(e.x,e.y);return j=n.x,A=n.y,document.addEventListener("mousemove",pt),document.addEventListener("mouseup",mt),T.capture(t.target||t.srcElement),!1}}}function pt(t){if(!B){wt();var e=vt(t),n=Q(e.x,e.y),i=n.x-j,o=n.y-A;j=n.x,A=n.y,tt(i,o)}}function mt(){T.release(),St(),ht()}function ht(){document.removeEventListener("mousemove",pt),document.removeEventListener("mouseup",mt),q=!1}function ft(){document.removeEventListener("touchmove",st),document.removeEventListener("touchend",lt),document.removeEventListener("touchcancel",lt),q=!1,V=!1,B=!1}function gt(t){if(!k(t)){N.cancel();var e=t.deltaY;t.deltaMode>0&&(e*=100);var n=xt(e);if(1!==n){var i=D?yt():vt(t);_t(i.x,i.y,n),t.preventDefault()}}}function vt(t){var e=s.getBoundingClientRect();return{x:t.clientX-e.left,y:t.clientY-e.top}}function bt(t,e,n){var i=y.scale,r={scale:i},a={scale:n*i};N.cancel(),Ct(),U=o(r,a,{step:function(n){X(t,e,n.scale)},done:Pt})}function yt(){var t=s.getBoundingClientRect();return{x:t.width*D.x,y:t.height*D.y}}function _t(t,e,n){return N.cancel(),Ct(),J(t,e,n)}function Ct(){U&&(U.cancel(),U=null)}function xt(t){return 1-Math.sign(t)*Math.min(.25,Math.abs(I*t/128))}function wt(){q||(Ot("panstart"),q=!0,N.start())}function St(){q&&(V||N.stop(),Ot("panend"))}function Pt(){Ot("zoomend")}function Ot(t){G.fire(t,G)}}function h(t){if(t)return"object"==typeof t?(v(t.x)&&v(t.y)||f(t),t):void f()}function f(t){throw console.error(t),new Error(["Cannot parse transform origin.","Some good examples:",' "center center" can be achieved with {x: 0.5, y: 0.5}',' "top center" can be achieved with {x: 0.5, y: 0}',' "bottom right" can be achieved with {x: 1, y: 1}'].join("\n"))}function g(){}function v(t){return Number.isFinite(t)}function b(t){return Number.isNaN?Number.isNaN(t):t!=t}t.exports=m,function(){if("undefined"!=typeof document){var t=document.getElementsByTagName("script");if(t){for(var e,n=0;n<t.length;++n){var i=t[n];if(i.src&&i.src.match(/\bpanzoom(\.min)?\.js/)){e=i;break}}if(e){var o=e.getAttribute("query");if(o){var r=e.getAttribute("name")||"pz",a=Date.now();!function t(){var n=document.querySelector(o);if(!n)return Date.now()-a<2e3?void setTimeout(t,100):void console.error("Cannot find the panzoom element",r);var i=function(t){for(var e=t.attributes,n={},i=0;i<e.length;++i){var o=s(e[i]);o&&(n[o.name]=o.value)}return n}(e);console.log(i),window[r]=m(n,i)}()}}}}function s(t){if(t.name&&"p"===t.name[0]&&"z"===t.name[1]&&"-"===t.name[2])return{name:t.name.substr(3),value:JSON.parse(t.value)}}}()},2062:function(t,e){function n(t,e,n){t.addEventListener("wheel",e,n)}t.exports=n,t.exports.addWheelListener=n,t.exports.removeWheelListener=function(t,e,n){t.removeEventListener("wheel",e,n)}},2063:function(t,e,n){var i=n(2064),o={ease:i(.25,.1,.25,1),easeIn:i(.42,0,1,1),easeOut:i(0,0,.58,1),easeInOut:i(.42,0,.58,1),linear:i(0,0,1,1)};function r(){}function a(){var t=new Set,e=new Set,n=0;return{next:i,cancel:i,clearAll:function(){t.clear(),e.clear(),cancelAnimationFrame(n),n=0}};function i(t){e.add(t),n||(n=requestAnimationFrame(o))}function o(){n=0;var i=e;e=t,(t=i).forEach(function(t){t()}),t.clear()}}t.exports=function(t,e,n){var i=Object.create(null),a=Object.create(null),s="function"==typeof(n=n||{}).easing?n.easing:o[n.easing];s||(n.easing&&console.warn("Unknown easing function in amator: "+n.easing),s=o.ease);var l="function"==typeof n.step?n.step:r,c="function"==typeof n.done?n.done:r,u=function(t){if(!t)return"undefined"!=typeof window&&window.requestAnimationFrame?{next:window.requestAnimationFrame.bind(window),cancel:window.cancelAnimationFrame.bind(window)}:{next:function(t){return setTimeout(t,1e3/60)},cancel:function(t){return clearTimeout(t)}};if("function"!=typeof t.next)throw new Error("Scheduler is supposed to have next(cb) function");if("function"!=typeof t.cancel)throw new Error("Scheduler is supposed to have cancel(handle) function");return t}(n.scheduler),d=Object.keys(e);d.forEach(function(n){i[n]=t[n],a[n]=e[n]-t[n]});var p,m="number"==typeof n.duration?n.duration:400,h=Math.max(1,.06*m),f=0;return p=u.next(function e(){var n=s(f/h);f+=1,function(e){d.forEach(function(n){t[n]=a[n]*e+i[n]})}(n),f<=h?(p=u.next(e),l(t)):(p=0,setTimeout(function(){c(t)},0))}),{cancel:function(){u.cancel(p),p=0}}},t.exports.makeAggregateRaf=a,t.exports.sharedScheduler=a()},2064:function(t,e){var n="function"==typeof Float32Array;function i(t,e){return 1-3*e+3*t}function o(t,e){return 3*e-6*t}function r(t){return 3*t}function a(t,e,n){return((i(e,n)*t+o(e,n))*t+r(e))*t}function s(t,e,n){return 3*i(e,n)*t*t+2*o(e,n)*t+r(e)}function l(t){return t}t.exports=function(t,e,i,o){if(!(0<=t&&t<=1&&0<=i&&i<=1))throw new Error("bezier x values must be in [0, 1] range");if(t===e&&i===o)return l;for(var r=n?new Float32Array(11):new Array(11),c=0;c<11;++c)r[c]=a(.1*c,t,i);function u(e){for(var n=0,o=1;10!==o&&r[o]<=e;++o)n+=.1;var l=n+(e-r[--o])/(r[o+1]-r[o])*.1,c=s(l,t,i);return c>=.001?function(t,e,n,i){for(var o=0;o<4;++o){var r=s(e,n,i);if(0===r)return e;e-=(a(e,n,i)-t)/r}return e}(e,l,t,i):0===c?l:function(t,e,n,i,o){var r,s,l=0;do{(r=a(s=e+(n-e)/2,i,o)-t)>0?n=s:e=s}while(Math.abs(r)>1e-7&&++l<10);return s}(e,n,n+.1,t,i)}return function(t){return 0===t?0:1===t?1:a(u(t),e,o)}}},2065:function(t,e){t.exports=function(t){!function(t){if(!t)throw new Error("Eventify cannot use falsy object as events subject");for(var e=["on","fire","off"],n=0;n<e.length;++n)if(t.hasOwnProperty(e[n]))throw new Error("Subject cannot be eventified, since it already has property '"+e[n]+"'")}(t);var e=function(t){var e=Object.create(null);return{on:function(n,i,o){if("function"!=typeof i)throw new Error("callback is expected to be a function");var r=e[n];return r||(r=e[n]=[]),r.push({callback:i,ctx:o}),t},off:function(n,i){if(void 0===n)return e=Object.create(null),t;if(e[n])if("function"!=typeof i)delete e[n];else for(var o=e[n],r=0;r<o.length;++r)o[r].callback===i&&o.splice(r,1);return t},fire:function(n){var i,o=e[n];if(!o)return t;arguments.length>1&&(i=Array.prototype.splice.call(arguments,1));for(var r=0;r<o.length;++r){var a=o[r];a.callback.apply(a.ctx,i)}return t}}}(t);return t.on=e.on,t.off=e.off,t.fire=e.fire,t}},2066:function(t,e){t.exports=function(t,e,n){"object"!=typeof n&&(n={});var i,o,r,a,s,l,c,u,d,p,m="number"==typeof n.minVelocity?n.minVelocity:5,h="number"==typeof n.amplitude?n.amplitude:.25,f="function"==typeof n.cancelAnimationFrame?n.cancelAnimationFrame:"function"==typeof cancelAnimationFrame?cancelAnimationFrame:clearTimeout,g="function"==typeof n.requestAnimationFrame?n.requestAnimationFrame:"function"==typeof requestAnimationFrame?requestAnimationFrame:function(t){return setTimeout(t,16)};return{start:function(){i=t(),l=d=a=c=0,o=new Date,f(r),f(p),r=g(v)},stop:function(){f(r),f(p);var e=t();s=e.x,u=e.y,o=Date.now(),(a<-m||a>m)&&(s+=l=h*a),(c<-m||c>m)&&(u+=d=h*c),p=g(b)},cancel:function(){f(r),f(p)}};function v(){var e=Date.now(),n=e-o;o=e;var s=t(),l=s.x-i.x,u=s.y-i.y;i=s;var d=1e3/(1+n);a=.8*l*d+.2*a,c=.8*u*d+.2*c,r=g(v)}function b(){var t=Date.now()-o,n=!1,i=0,r=0;l&&((i=-l*Math.exp(-t/342))>.5||i<-.5?n=!0:i=l=0),d&&((r=-d*Math.exp(-t/342))>.5||r<-.5?n=!0:r=d=0),n&&(e(s+i,u+r),p=g(b))}}},2067:function(t,e){function n(t){return t.stopPropagation(),!1}function i(){}t.exports=function(t){if(t)return{capture:i,release:i};var e,o,r,a=!1;return{capture:function(t){a=!0,o=window.document.onselectstart,r=window.document.ondragstart,window.document.onselectstart=n,(e=t).ondragstart=n},release:function(){a&&(a=!1,window.document.onselectstart=o,e&&(e.ondragstart=r))}}}},2068:function(t,e){t.exports=function(){this.x=0,this.y=0,this.scale=1}},2069:function(t,e){function n(t){return t&&t.ownerSVGElement&&t.getCTM}t.exports=function(t,e){if(!n(t))throw new Error("svg element is required for svg.panzoom to work");var i=t.ownerSVGElement;if(!i)throw new Error("Do not apply panzoom to the root <svg> element. Use its child instead (e.g. <g></g>). As of March 2016 only FireFox supported transform on the root element");return e.disableKeyboardInteraction||i.setAttribute("tabindex",0),{getBBox:function(){var e=t.getBBox();return{left:e.x,top:e.y,width:e.width,height:e.height}},getScreenCTM:function(){var t=i.getCTM();return t||i.getScreenCTM()},getOwner:function(){return i},applyTransform:function(e){t.setAttribute("transform","matrix("+e.scale+" 0 0 "+e.scale+" "+e.x+" "+e.y+")")},initTransform:function(e){var n=t.getCTM();null===n&&(n=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGMatrix()),e.x=n.e,e.y=n.f,e.scale=n.a,i.removeAttributeNS(null,"viewBox")}}},t.exports.canAttach=n},2070:function(t,e){function n(t){return t&&t.parentElement&&t.style}t.exports=function(t,e){if(!n(t))throw new Error("panzoom requires DOM element to be attached to the DOM tree");var i=t.parentElement;return t.scrollTop=0,e.disableKeyboardInteraction||i.setAttribute("tabindex",0),{getBBox:function(){return{left:0,top:0,width:t.clientWidth,height:t.clientHeight}},getOwner:function(){return i},applyTransform:function(e){t.style.transformOrigin="0 0 0",t.style.transform="matrix("+e.scale+", 0, 0, "+e.scale+", "+e.x+", "+e.y+")"}}},t.exports.canAttach=n},2071:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(){}return t.prototype.fillFromData=function(t){this.plyRawPointCloudSignedUrl=t.ply_raw_point_cloud_signed_url,this.e57RawPointCloudSignedUrl=t.e57_raw_point_cloud_signed_url,this.plyColoredPointCloudSignedUrl=t.ply_colored_point_cloud_signed_url,this.e57ColoredPointCloudSignedUrl=t.e57_colored_point_cloud_signed_url,this.measuredControlPointsVerificationFileSignedUrl=t.measured_control_points_verification_file_signed_url,this.datasetArchiveFileSignedUrl=t.dataset_archive_file_signed_url,this.e57RawPointCloudCpSignedUrl=t.e57_raw_point_cloud_cp_signed_url,this.plyRawPointCloudCpSignedUrl=t.ply_raw_point_cloud_cp_signed_url,this.e57ColoredPointCloudCpSignedUrl=t.e57_colored_point_cloud_cp_signed_url,this.plyColoredPointCloudCpSignedUrl=t.ply_colored_point_cloud_cp_signed_url},t}();e.SignedUrls=i},2072:function(t,e,n){"use strict";var i,o=this&&this.__extends||(i=function(t,e){return(i=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])})(t,e)},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){function e(){return t.call(this,"processingResultDownloadedEvent")||this}return o(e,t),e.prototype.withFormat=function(t){return this.withData("format",t),this},e}(n(64).TrackingEvent);e.ProcessingResultDownloadedEvent=r,function(t){t.RAW_PLY="raw-ply",t.RAW_PLY_CONTROL_POINTS="raw-ply-control-points",t.RAW_E57="raw-e57",t.RAW_E57_CONTROL_POINTS="raw-e57-control-points",t.COLOURED_PLY="coloured-ply",t.COLOURED_PLY_CONTROL_POINTS="coloured-ply-control-points",t.COLOURED_E57="coloured-e57",t.COLOURED_E57_CONTROL_POINTS="coloured-e57-control-points",t.CONTROL_POINTS_LOG="control-points-log",t.NVD_ARCHIVE="nvd-archive"}(e.ProcessingResultFileType||(e.ProcessingResultFileType={}))},2073:function(t,e,n){"use strict";var i,o=this&&this.__extends||(i=function(t,e){return(i=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])})(t,e)},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){function e(){return t.call(this,"ProcessingTaskConfigured")||this}return o(e,t),e.prototype.pointCloudResolution=function(t){return this.withData("pointCloudResolution",t),this},e.prototype.pointCloudMode=function(t){return this.withData("pointCloudMode",t),this},e.prototype.pointCloudPreset=function(t){return this.withData("pointCloudPreset",t),this},e.prototype.isColored=function(t){return this.withData("isColored",t),this},e.prototype.areFloorsFilled=function(t){return this.withData("areFloorsFilled",t),this},e}(n(64).TrackingEvent);e.ProcessingTaskConfiguredEvent=r},2074:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.POSSIBLY_ANCHORS_IN_LEFT_HANDED_COORD_SYSTEM="POSSIBLY_ANCHORS_IN_LEFT_HANDED_COORD_SYSTEM",t.NOT_ENOUGH_MATCHING_POINTS="NOT_ENOUGH_MATCHING_POINTS",t.NOT_ENOUGH_UNIQUE_CTRL_POINTS="NOT_ENOUGH_UNIQUE_CTRL_POINTS",t.CTRL_POINT_IDS_NOT_UNIQUE="CTRL_POINT_IDS_NOT_UNIQUE",t.CTRL_POINT_OUT_OF_BOUNDS="CTRL_POINT_OUT_OF_BOUNDS"}(e.ControlPointsValidationResultCode||(e.ControlPointsValidationResultCode={}))},2075:function(t,e,n){"use strict";var i,o=this&&this.__extends||(i=function(t,e){return(i=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])})(t,e)},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var r,a=n(64);!function(t){t.UPLOADED="UPLOADED",t.REMOVED="REMOVED"}(r=e.ControlPointsFileStatus||(e.ControlPointsFileStatus={}));var s=function(t){function e(e){var n=t.call(this,"controlPointsFileStatusEvent")||this;return n.withData("toStatus",e),n}return o(e,t),e.uploaded=function(){return new e(r.UPLOADED)},e.removed=function(){return new e(r.REMOVED)},e}(a.TrackingEvent);e.ControlPointsFileStatusEvent=s},2076:function(t,e,n){t.exports=n.p+"41c9cc344a7eba2dd0c63288fc81c415.link.svg"},2077:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(){this.validLines=[],this.invalidLines=[]}return t.prototype.isControlPointsFileValid=function(){return 0===this.invalidLines.length},t}();e.MeasuredControlPointsFileValidatorReport=i},2078:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.ControlPointLineError=function(t,e){this.lineNumber=t,this.errorMessage=e}},2079:function(t,e,n){"use strict";var i,o=this&&this.__extends||(i=function(t,e){return(i=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])})(t,e)},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.toData=function(){return{name:this.name,x:this.x,y:this.y,z:this.z,yaw:this.yaw,timestamp:this.timestamp}},e}(n(1947).ControlPoint);e.MeasuredControlPoint=r;e.MeasuredControlPointREST=function(){}},2080:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(){}return t.prototype.fillFromData=function(t){this.code=t.code},t}();e.ControlPointsValidationResult=i},2081:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isEmailValid=function(t){return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(t)}},2082:function(t,e,n){"use strict";var i,o=this&&this.__extends||(i=function(t,e){return(i=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])})(t,e)},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){function e(){return t.call(this,"controlPointsValidationEvent")||this}return o(e,t),e}(n(64).TrackingEvent);e.ControlPointsValidationEvent=r},2083:function(t,e,n){t.exports=n.p+"a11aae37432f89b2532ef5b0394e6598.elevator_sharp.jpg"},2084:function(t,e,n){t.exports=n.p+"c68228406071e5b7f7d24b5c8f2d6f80.elevator_balanced.jpg"},2085:function(t,e,n){t.exports=n.p+"4ba6f8f4e971e5b0e08a7d47d2db0599.elevator_smooth.jpg"},2086:function(t,e,n){t.exports=n.p+"e5a05055fa57b8d37e0764ff4cb6c6b0.indentation_sharp.jpg"},2087:function(t,e,n){t.exports=n.p+"27b46cff9141595732d65c94daf32ed6.indentation_balanced.jpg"},2088:function(t,e,n){t.exports=n.p+"70c4049bc6e3a8e8631b28102e0464d4.indentation_smooth.jpg"},2089:function(t,e,n){t.exports=n.p+"9acfc929e496879d9d2c949c331bcb63.corner_sharp.jpg"},2090:function(t,e,n){t.exports=n.p+"d809654a339217e9ab1ba8efd3e2c78d.corner_balanced.jpg"},2091:function(t,e,n){t.exports=n.p+"be36b2c8db2d895ab74b63a104a63aaa.corner_smooth.jpg"},2092:function(t,e,n){"use strict";var i=this&&this.__awaiter||function(t,e,n,i){return new(n||(n=Promise))(function(o,r){function a(t){try{l(i.next(t))}catch(t){r(t)}}function s(t){try{l(i.throw(t))}catch(t){r(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(a,s)}l((i=i.apply(t,e||[])).next())})},o=this&&this.__generator||function(t,e){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(6===r[0]&&a.label<o[1]){a.label=o[1],o=r;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(r);break}o[2]&&a.ops.pop(),a.trys.pop();continue}r=e.call(t,a)}catch(t){r=[6,t],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}};Object.defineProperty(e,"__esModule",{value:!0});var r=n(2);n(2093),n(2094);var a=n(2096),s=n(0),l=n(6),c=(n(1870),n(1701),n(61),n(20)),u=n(8),d=n(1914),p=(n(106),n(1915)),m=n(2097),h=n(1871),f=n(107),g=n(1850),v=n(1873),b=n(1875),y=n(1916),_=n(168),C=n(153),x=(n(130),n(7)),w=n(1862),S=(n(21),n(1969)),P=(n(440),n(1696)),O=n(0),M=n(1701),k=n(130),E=n(1870),I=n(106),D=n(61),T=n(21),R=n(440),j=n(1876),A=n(168),F=n(3),N=n(1970),L=n(1863),U=["uploadInputBigBox"],V=["dragAndDropBigBox"],z=["uploadInputSmallBox"],B=["dragAndDropSmallBox"],q=["deleteConfirmationMessage"];function H(t,e){if(1&t){var n=O.ɵɵgetCurrentView();O.ɵɵelementStart(0,"dataset-upload-status",23),O.ɵɵlistener("cancel",function(){return O.ɵɵrestoreView(n),O.ɵɵnextContext(2).cancelUpload()})("pause",function(){return O.ɵɵrestoreView(n),O.ɵɵnextContext(2).pause()})("resume",function(){return O.ɵɵrestoreView(n),O.ɵɵnextContext(2).resume()}),O.ɵɵelementEnd()}if(2&t){var i=O.ɵɵnextContext(2);O.ɵɵproperty("paused",i.DatasetUploadService.paused)("pausingOrResumingInProgress",i.pausingOrResuming)("totalUploadsCompletedOrInProgress",i.getTotalUploadsCompletedOrInProgress())("totalDatasets",i.getTotalDatasets())("timeRemaining",i.timeRemaining)("uploadPercentage",i.uploadPercentage)}}function G(t,e){if(1&t){var n=O.ɵɵgetCurrentView();O.ɵɵelementContainerStart(0),O.ɵɵelementStart(1,"div",24),O.ɵɵelement(2,"div",25),O.ɵɵelementStart(3,"div",26),O.ɵɵelementStart(4,"button",27),O.ɵɵlistener("click",function(){return O.ɵɵrestoreView(n),O.ɵɵnextContext(2).showDeleteConfirmationModal()}),O.ɵɵelementStart(5,"i",28),O.ɵɵtext(6,"delete"),O.ɵɵelementEnd(),O.ɵɵelementEnd(),O.ɵɵelementEnd(),O.ɵɵelementEnd(),O.ɵɵelementStart(7,"generic-table",29),O.ɵɵlistener("selectedRowsChange",function(t){return O.ɵɵrestoreView(n),O.ɵɵnextContext(2).selectedDatasets=t}),O.ɵɵelementEnd(),O.ɵɵelementContainerEnd()}if(2&t){var i=O.ɵɵnextContext(2);O.ɵɵadvance(4),O.ɵɵproperty("disabled",i.isNothingSelected()),O.ɵɵadvance(3),O.ɵɵproperty("selectable",!0)("columns",i.tableConfig)("rows",i.DatasetUploadService.allDatasetList)("selectedRows",i.selectedDatasets)}}var Q=function(t){return{datasetName:t}};function W(t,e){if(1&t&&(O.ɵɵelementStart(0,"span"),O.ɵɵtext(1),O.ɵɵelementEnd()),2&t){var n=O.ɵɵnextContext(2).$implicit,i=O.ɵɵnextContext();O.ɵɵadvance(1),O.ɵɵtextInterpolate1(" ",n("You are about to delete the dataset {datasetName}.",O.ɵɵpureFunction1(1,Q,i.selectedDatasets[0].name))," ")}}var Z=function(t){return{count:t}};function $(t,e){if(1&t&&(O.ɵɵelementStart(0,"span"),O.ɵɵtext(1),O.ɵɵelementEnd()),2&t){var n=O.ɵɵnextContext(2).$implicit,i=O.ɵɵnextContext();O.ɵɵadvance(1),O.ɵɵtextInterpolate1(" ",n("You are about to delete {count} datasets.",O.ɵɵpureFunction1(1,Z,i.selectedDatasets.length))," ")}}function K(t,e){if(1&t&&(O.ɵɵtemplate(0,W,2,3,"span",15),O.ɵɵtemplate(1,$,2,3,"span",15),O.ɵɵelementStart(2,"span"),O.ɵɵtext(3),O.ɵɵelementEnd(),O.ɵɵelementStart(4,"div",30),O.ɵɵtext(5),O.ɵɵelementEnd()),2&t){var n=O.ɵɵnextContext().$implicit,i=O.ɵɵnextContext();O.ɵɵproperty("ngIf",1===i.selectedDatasets.length),O.ɵɵadvance(1),O.ɵɵproperty("ngIf",i.selectedDatasets.length>1),O.ɵɵadvance(2),O.ɵɵtextInterpolate1(" ",n("This operation cannot be undone.")," "),O.ɵɵadvance(2),O.ɵɵtextInterpolate1(" ",n("Are you sure you want to delete?")," ")}}function Y(t,e){if(1&t){var n=O.ɵɵgetCurrentView();O.ɵɵelementContainerStart(0),O.ɵɵelementStart(1,"div",2),O.ɵɵelementStart(2,"div",3),O.ɵɵelementStart(3,"div",4),O.ɵɵelementStart(4,"div",5),O.ɵɵelementStart(5,"h3",6),O.ɵɵtext(6),O.ɵɵelementEnd(),O.ɵɵtemplate(7,H,1,6,"dataset-upload-status",7),O.ɵɵelementEnd(),O.ɵɵelement(8,"div",8),O.ɵɵelementStart(9,"div",9,10),O.ɵɵelementStart(11,"label",11),O.ɵɵelementStart(12,"span",12),O.ɵɵelementStart(13,"b"),O.ɵɵtext(14),O.ɵɵelementEnd(),O.ɵɵelementEnd(),O.ɵɵelementStart(15,"span"),O.ɵɵtext(16," "),O.ɵɵelementEnd(),O.ɵɵelementStart(17,"span"),O.ɵɵtext(18),O.ɵɵelementEnd(),O.ɵɵelementEnd(),O.ɵɵelement(19,"input",13,14),O.ɵɵelementEnd(),O.ɵɵelementEnd(),O.ɵɵelementEnd(),O.ɵɵtemplate(21,G,8,5,"ng-container",15),O.ɵɵelement(22,"div",16),O.ɵɵelementStart(23,"div",17,18),O.ɵɵlistener("click",function(t){return O.ɵɵrestoreView(n),O.ɵɵnextContext().clickCloudUpload(t)}),O.ɵɵelementStart(25,"h3"),O.ɵɵelementStart(26,"b"),O.ɵɵtext(27),O.ɵɵelementEnd(),O.ɵɵelementEnd(),O.ɵɵelementStart(28,"p"),O.ɵɵtext(29),O.ɵɵelementEnd(),O.ɵɵelementStart(30,"label",19),O.ɵɵtext(31),O.ɵɵelementEnd(),O.ɵɵelement(32,"input",20,21),O.ɵɵelementEnd(),O.ɵɵelementEnd(),O.ɵɵtemplate(34,K,6,4,"ng-template",null,22,O.ɵɵtemplateRefExtractor),O.ɵɵelementContainerEnd()}if(2&t){var i=e.$implicit,o=O.ɵɵnextContext();O.ɵɵadvance(2),O.ɵɵproperty("hidden",o.isDatasetFetchInProgress()||!o.isDatasetsListAvailable),O.ɵɵadvance(4),O.ɵɵtextInterpolate(i("Upload Data")),O.ɵɵadvance(1),O.ɵɵproperty("ngIf",o.isUploadInProgress()),O.ɵɵadvance(2),O.ɵɵclassProp("active",o.dragAndDropActive),O.ɵɵproperty("hidden",!o.isUploadBoxInTopRightVisible()),O.ɵɵadvance(5),O.ɵɵtextInterpolate(i("Upload recorded data")),O.ɵɵadvance(4),O.ɵɵtextInterpolate(i("or drop files here")),O.ɵɵadvance(3),O.ɵɵproperty("ngIf",!o.isDatasetFetchInProgress()&&o.isDatasetsListAvailable),O.ɵɵadvance(2),O.ɵɵclassProp("active",o.dragAndDropActive)("hidden",o.isDatasetFetchInProgress()||o.isDatasetsListAvailable),O.ɵɵadvance(4),O.ɵɵtextInterpolate(i("Upload recorded data")),O.ɵɵadvance(2),O.ɵɵtextInterpolate1(" ",i("Connect the SSD from a NavVis device and drag-and-drop your datasets_rec folder or the dataset folder here to start")," "),O.ɵɵadvance(2),O.ɵɵtextInterpolate1(" ",i("Upload recorded data")," ")}}var J=function(){function t(t,e,n,i,o,r,a,s){var l=this;this.CloudStorageService=t,this.UoMService=e,this.DatasetUploadService=n,this.ProgressReportService=i,this.MessageReportingService=o,this.TrackingService=r,this.MatDialog=a,this.gettextCatalog=s,this.isDatasetsListAvailable=!1,this.uploadPercentage=0,this.timeRemaining=0,this.selectedDatasets=[],this.dragAndDropActive=!1,this.pausingOrResuming=!1,this.tableConfig={qualityMapThumbnailUrl:{transformFn:function(t,e){return{url:e.qualityMapUrl,thumbnailUrl:e.qualityMapThumbnailUrl,name:e.name,viewMode:w.ProcessingTaskView.UPLOADED_DATA}},customComponent:v.ImagePreviewCellComponent},name:{name:_.translate("Dataset"),sortable:!0,transformFn:function(t,e){return{text:e.name,subscript:e.getDirectoryName()}},customComponent:b.SubscriptCellComponent},_state:{name:_.translate("Status"),sortable:!0,transformFn:function(t,e){return e.getState()},sortFn:function(t,e){return t.getState().localeCompare(e.getState())},customComponent:y.DatasetStatusCellComponent},mappingTimeStart:{name:_.translate("Recorded At"),sortable:!0,transformFn:function(t){return t?t.format("L LT"):"-"}},captureLocations:{name:_.translate("Panorama Count"),sortable:!0},mappedArea:{name:_.translate("Scanned Area"),sortable:!0,transformFn:function(t){return t?l.UoMService.convert(t,C.MeasurementDomain.AREA,0):"-"}},fileSize:{name:_.translate("Size"),sortable:!0,transformFn:function(t){return t?l.UoMService.convert(t,C.MeasurementDomain.DATA,2):"-"}}},this.DatasetUploadService.progressCallback=function(t,e){return l.progressTracker(t,e)},this.DatasetUploadService.errorCallback=function(t,e){return l.MessageReportingService.showMessage(e||l.gettextCatalog.getString("Error"),t)},this.DatasetUploadService.allDatasetList=void 0,this.selectedDatasets=[],this.datasetFetchTask=p.progressIndicatorTask("Fetching uploaded datasets"),d.promiseWithProgress(this.DatasetUploadService.fetchUploadedDatasetsFromServer().then(function(){l.isDatasetsListAvailable=l.isDatasetListLoaded(),c.invalidateAngular()}),this.datasetFetchTask).catch(u.handleWarning)}return t.$inject=["CloudStorageService","UoMService","DatasetUploadService","ProgressReportService","MessageReportingService","TrackingService","MatDialog","gettextCatalog"],t.prototype.isDatasetFetchInProgress=function(){return!this.datasetFetchTask.isComplete()},t.prototype.ngAfterViewInit=function(){var t=this,e=function(e,n){t.dragAndDropActive=!1,t.processUploads(n).catch(u.handleWarning),t.uploadInputBigBox.nativeElement.value="",t.uploadInputSmallBox.nativeElement.value=""},n=this.dragAndDropBigBox.nativeElement,i=this.dragAndDropSmallBox.nativeElement;a()(this.uploadInputBigBox.nativeElement,e),a()(this.uploadInputSmallBox.nativeElement,e),a()(n,e),a()(i,e);var o=function(){return t.dragAndDropActive=!0},r=function(e){e.currentTarget.contains(e.relatedTarget)||(t.dragAndDropActive=!1)};i.addEventListener("dragenter",o),n.addEventListener("dragenter",o),i.addEventListener("dragleave",r),n.addEventListener("dragleave",r)},t.prototype.ngOnDestroy=function(){this.DatasetUploadService.clearTimeout()},t.prototype.cancelUpload=function(){var t=this;this.MatDialog.open(P.AlertDialogComponent,{data:{title:_.translate("Stop Upload"),body:_.translate("Are you sure you want to stop the upload?"),declineButton:!1,confirmButton:_.translate("Stop"),confirmButtonColor:"warn"}}).afterClosed().subscribe(function(e){e===P.AlertDialogResult.CONFIRMED&&(t.DatasetUploadService.cancel(),t.isDatasetsListAvailable=t.isDatasetListLoaded(),t.timeRemaining=0)})},t.prototype.pause=function(){return i(this,void 0,void 0,function(){return o(this,function(t){switch(t.label){case 0:return this.pausingOrResuming=!0,[4,this.DatasetUploadService.pause()];case 1:return t.sent(),this.pausingOrResuming=!1,[2]}})})},t.prototype.resume=function(){return i(this,void 0,void 0,function(){return o(this,function(t){switch(t.label){case 0:return this.pausingOrResuming=!0,[4,this.DatasetUploadService.resume()];case 1:return t.sent(),this.pausingOrResuming=!1,[2]}})})},t.prototype.isUploadBoxInTopRightVisible=function(){return this.isUploadInProgress()||this.isDatasetsListAvailable},t.prototype.getTotalUploadsCompletedOrInProgress=function(){var t=this.DatasetUploadService.inProgressDataset?1:0;return this.DatasetUploadService.uploadsCompletedCurrentSession+t},t.prototype.getTotalDatasets=function(){return this.DatasetUploadService.uploadsInitiatedCurrentSession},t.prototype.isDatasetListLoaded=function(){return this.DatasetUploadService.allDatasetList&&this.DatasetUploadService.allDatasetList.length>0},t.prototype.processUploads=function(t){return i(this,void 0,void 0,function(){var e;return o(this,function(n){switch(n.label){case 0:return t?m.DatasetScanningUtil.isDatasetContentAtRootFolder(t)?(this.stopDatasetScanProgress(),this.MessageReportingService.showMessage("Invalid input","Please upload a dataset folder."),[2]):(this.startDatasetScanProgress(),[4,m.DatasetScanningUtil.scanDatasets(t)]):[2];case 1:return 0===(e=n.sent()).length?(this.stopDatasetScanProgress(),this.MessageReportingService.showMessage("No Recorded Data Found.","No recorded data was found in the selected directory."),[2]):[4,this.DatasetUploadService.uploadDatasets(e)];case 2:return n.sent(),[2]}})})},t.prototype.progressTracker=function(t,e){this.stopDatasetScanProgress();var n=this.uploadPercentage.toFixed()!==t.toFixed()||this.timeRemaining!==e;this.uploadPercentage=isNaN(t)?0:t,this.timeRemaining=e,this.isDatasetsListAvailable=this.isDatasetListLoaded(),100===t&&(this.timeRemaining=0),n&&c.invalidateAngular()},t.prototype.startDatasetScanProgress=function(){this.datasetScanTask&&!this.datasetScanTask.isComplete()&&this.datasetScanTask.setPercentage(100),this.datasetScanTask=p.progressIndicatorTask("Analyzing dataset for upload")},t.prototype.stopDatasetScanProgress=function(){this.datasetScanTask&&this.datasetScanTask.itemDone()},t.prototype.getProgressReportTasks=function(){return[this.datasetFetchTask,this.datasetScanTask]},t.prototype.clickCloudUpload=function(t){t.target===t.currentTarget&&this.uploadInputBigBox.nativeElement.click()},t.prototype.isUploadInProgress=function(){return!!this.DatasetUploadService.inProgressDataset},t.prototype.isNothingSelected=function(){return 0===this.selectedDatasets.length},t.prototype.showDeleteConfirmationModal=function(){var t=this;this.MatDialog.open(P.AlertDialogComponent,{data:{title:_.translate("Delete Dataset"),body:this.deleteConfirmationMessage,declineButton:!1,confirmButton:_.translate("Delete"),confirmButtonColor:"warn"}}).afterClosed().subscribe(function(e){e===P.AlertDialogResult.CONFIRMED&&t.deleteSelectedDatasets()})},t.prototype.deleteSelectedDatasets=function(){var t=this,e=this.DatasetUploadService.allDatasetList.filter(function(e){return x.includes(t.selectedDatasets.map(function(t){return t.path}),e.path)&&e.getState()!==h.DatasetUploadStatus.INPROGRESS}).map(function(t){return t.getDirectoryName()});if(e){this.TrackingService.trackPreDefinedEvent((new S.ProcessingResultDeletedEvent).fromView(w.ProcessingTaskView.UPLOADED_DATA).withNumberOfDataSets(e.length)),this.selectedDatasets=[];var n=this.ProgressReportService.addTask("Deleting selected datasets...",1,!0,!0,!1,!0,0);f.promiseFinally(this.CloudStorageService.delete(e,g.DatasetProcessingState.UNPROCESSED).then(function(){return t.DatasetUploadService.fetchUploadedDatasetsFromServer()}),function(){return n.itemDone()}).catch(u.handleWarning)}},t.ɵfac=function(e){return new(e||t)(O.ɵɵdirectiveInject(M.CloudStorageService),O.ɵɵdirectiveInject(k.UoMService),O.ɵɵdirectiveInject(E.DatasetUploadService),O.ɵɵdirectiveInject(I.ProgressReportService),O.ɵɵdirectiveInject(D.MessageReportingService),O.ɵɵdirectiveInject(T.TrackingService),O.ɵɵdirectiveInject(R.MatDialog),O.ɵɵdirectiveInject("gettextCatalog"))},t.ɵcmp=O.ɵɵdefineComponent({type:t,selectors:[["cloud-upload"]],viewQuery:function(t,e){var n;1&t&&(O.ɵɵviewQuery(U,!0),O.ɵɵviewQuery(V,!0),O.ɵɵviewQuery(z,!0),O.ɵɵviewQuery(B,!0),O.ɵɵviewQuery(q,!0)),2&t&&(O.ɵɵqueryRefresh(n=O.ɵɵloadQuery())&&(e.uploadInputBigBox=n.first),O.ɵɵqueryRefresh(n=O.ɵɵloadQuery())&&(e.dragAndDropBigBox=n.first),O.ɵɵqueryRefresh(n=O.ɵɵloadQuery())&&(e.uploadInputSmallBox=n.first),O.ɵɵqueryRefresh(n=O.ɵɵloadQuery())&&(e.dragAndDropSmallBox=n.first),O.ɵɵqueryRefresh(n=O.ɵɵloadQuery())&&(e.deleteConfirmationMessage=n.first))},decls:2,vars:1,consts:[[3,"tasks"],[4,"transloco"],[1,"cloud-upload-container"],[3,"hidden"],[1,"upload-status"],[1,"upload-control"],[1,"cloud-upload-title"],[3,"paused","pausingOrResumingInProgress","totalUploadsCompletedOrInProgress","totalDatasets","timeRemaining","uploadPercentage","cancel","pause","resume",4,"ngIf"],[1,"flex-expand"],[1,"file-submit",3,"hidden"],["dragAndDropSmallBox",""],["for","cloud-upload-small-box",1,"file-submit__label"],[1,"text-blue"],["id","cloud-upload-small-box","type","file","multiple","","directory","","webkitdirectory","","allowdirs",""],["uploadInputSmallBox",""],[4,"ngIf"],[1,"footer"],[1,"file-submit-big",3,"click"],["dragAndDropBigBox",""],["for","cloud-upload",1,"text-blue"],["id","cloud-upload","type","file","multiple","","directory","","webkitdirectory","","allowdirs",""],["uploadInputBigBox",""],["deleteConfirmationMessage",""],[3,"paused","pausingOrResumingInProgress","totalUploadsCompletedOrInProgress","totalDatasets","timeRemaining","uploadPercentage","cancel","pause","resume"],[1,"controls"],[1,"controls__left-panel"],[1,"controls__right-panel"],["type","button",1,"btn","btn-default",3,"disabled","click"],[1,"material-icons","btn-icon"],[1,"scroll-table",3,"selectable","columns","rows","selectedRows","selectedRowsChange"],[1,"mt-10"]],template:function(t,e){1&t&&(O.ɵɵelement(0,"progress-indicator",0),O.ɵɵtemplate(1,Y,36,16,"ng-container",1)),2&t&&O.ɵɵproperty("tasks",e.getProgressReportTasks())},directives:[j.ProgressIndicatorComponent,A.TranslocoDirective,F.NgIf,N.DatasetUploadStatusComponent,L.GenericTableComponent],styles:[".cloud-upload-container[_ngcontent-%COMP%]{padding:2em 4em 0;display:flex;flex-flow:column nowrap}.file-submit[_ngcontent-%COMP%], .file-submit-big[_ngcontent-%COMP%]{border:1px dashed #92b0b3;border-radius:10px;font-size:1.25rem}.active.file-submit[_ngcontent-%COMP%], .active.file-submit-big[_ngcontent-%COMP%]{background:rgba(51,152,199,.1);border-color:#2eaefe}.cloud-upload-title[_ngcontent-%COMP%]{margin-top:0;font-family:Open Sans,sans-serif;font-style:normal;font-weight:600;font-size:24px;line-height:1.1;white-space:nowrap;margin-bottom:20px}.file-submit[_ngcontent-%COMP%]{word-break:keep-all;padding:24px 32px;text-align:center;min-width:40%}.file-submit[_ngcontent-%COMP%] .file-submit__label[_ngcontent-%COMP%]{margin-bottom:0}.file-submit-big[_ngcontent-%COMP%]{flex:1 1 auto;display:flex;flex-flow:column nowrap;justify-content:center;align-content:center;text-align:center;cursor:pointer;margin-top:2em}.hidden[_ngcontent-%COMP%]{display:none}.upload-status[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:20px}.upload-control[_ngcontent-%COMP%]{display:flex;flex-flow:column nowrap;align-items:stretch;flex:0 1 33%}.upload-control_cancel[_ngcontent-%COMP%]{align-self:flex-end}.text-blue[_ngcontent-%COMP%]{color:#3398c7}.flex-expand[_ngcontent-%COMP%]{flex:1 1 auto}.scroll-table[_ngcontent-%COMP%]{min-height:fit-content;overflow-x:auto}.controls[_ngcontent-%COMP%]{justify-content:space-between;margin-bottom:8px;margin-top:16px}.controls[_ngcontent-%COMP%], .controls__left-panel[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap}.controls__left-panel[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{margin-right:.2em}.controls__right-panel[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap}.controls__right-panel[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{margin-left:.2em}.footer[_ngcontent-%COMP%]{height:64px;min-height:64px;width:100%}input[_ngcontent-%COMP%]{display:none}label[_ngcontent-%COMP%]{display:block}"]}),t}();e.CloudUploadComponent=J,O.ɵsetClassMetadata(J,[{type:s.Component,args:[{selector:"cloud-upload",templateUrl:"./CloudUpload.ng.html",styleUrls:["./CloudUpload.ng.scss"],entryComponents:[v.ImagePreviewCellComponent,y.DatasetStatusCellComponent]}]}],function(){return[{type:M.CloudStorageService},{type:k.UoMService},{type:E.DatasetUploadService},{type:I.ProgressReportService},{type:D.MessageReportingService},{type:T.TrackingService},{type:R.MatDialog},{type:void 0,decorators:[{type:s.Inject,args:["gettextCatalog"]}]}]},{uploadInputBigBox:[{type:s.ViewChild,args:["uploadInputBigBox",{static:!1}]}],dragAndDropBigBox:[{type:s.ViewChild,args:["dragAndDropBigBox",{static:!1}]}],uploadInputSmallBox:[{type:s.ViewChild,args:["uploadInputSmallBox",{static:!1}]}],dragAndDropSmallBox:[{type:s.ViewChild,args:["dragAndDropSmallBox",{static:!1}]}],deleteConfirmationMessage:[{type:s.ViewChild,args:["deleteConfirmationMessage",{static:!1}]}]}),r.module("IVWebApp").directive("cloudUpload",l.downgradeComponent({component:J}))},2093:function(t,e,n){"use strict";n.r(e),e.default='<progress-indicator [tasks]="getProgressReportTasks()"></progress-indicator>\n<ng-container *transloco="let t">\n\t<div class="cloud-upload-container">\n\n\t\t<div [hidden]="isDatasetFetchInProgress() || !isDatasetsListAvailable">\n\t\t\t<div class="upload-status">\n\t\t\t\t<div class="upload-control">\n\t\t\t\t\t<h3 class="cloud-upload-title">{{t(\'Upload Data\')}}</h3>\n\t\t\t\t\t<dataset-upload-status *ngIf="isUploadInProgress()"\n\t\t\t\t\t (cancel)="cancelUpload()"\n\t\t\t\t\t (pause)="pause()"\n\t\t\t\t\t (resume)="resume()"\n\t\t\t\t\t [paused]="DatasetUploadService.paused"\n\t\t\t\t\t [pausingOrResumingInProgress]="pausingOrResuming"\n\t\t\t\t\t [totalUploadsCompletedOrInProgress]="getTotalUploadsCompletedOrInProgress()"\n\t\t\t\t\t [totalDatasets]="getTotalDatasets()"\n\t\t\t\t\t [timeRemaining]="timeRemaining"\n\t\t\t\t\t [uploadPercentage]="uploadPercentage">\n\t\t\t\t\t</dataset-upload-status>\n\t\t\t\t</div>\n\n\t\t\t\t\x3c!-- Makes upload-status expand in width so that it uses all available space --\x3e\n\t\t\t\t<div class="flex-expand"></div>\n\n\t\t\t\t\x3c!-- Small upload box in the top right --\x3e\n\t\t\t\t<div #dragAndDropSmallBox\n\t\t\t\t [hidden]="!isUploadBoxInTopRightVisible()"\n\t\t\t\t [class.active]="dragAndDropActive"\n\t\t\t\t class="file-submit">\n\n\t\t\t\t\t<label class="file-submit__label" for="cloud-upload-small-box">\n\t\t\t\t\t\t<span class="text-blue"><b>{{t(\'Upload recorded data\')}}</b></span>\n\t\t\t\t\t\t<span> </span>\n\t\t\t\t\t\t<span>{{t(\'or drop files here\')}}</span>\n\t\t\t\t\t</label>\n\t\t\t\t\t<input #uploadInputSmallBox id="cloud-upload-small-box" type="file" multiple\n\t\t\t\t\t directory webkitdirectory allowdirs/>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<ng-container *ngIf="!isDatasetFetchInProgress() && isDatasetsListAvailable">\n\t\t\t<div class="controls">\n\t\t\t\t<div class="controls__left-panel"></div>\n\t\t\t\t<div class="controls__right-panel">\n\n\t\t\t\t\t\x3c!-- Trash button --\x3e\n\t\t\t\t\t<button type="button"\n\t\t\t\t\t class="btn btn-default"\n\t\t\t\t\t [disabled]="isNothingSelected()"\n\t\t\t\t\t (click)="showDeleteConfirmationModal()">\n\t\t\t\t\t\t<i class="material-icons btn-icon">delete</i>\n\t\t\t\t\t</button>\n\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<generic-table class="scroll-table"\n\t\t\t [selectable]="true"\n\t\t\t\t\t\t [columns]="tableConfig"\n\t\t\t\t\t\t [rows]="DatasetUploadService.allDatasetList"\n\t\t\t\t\t\t [(selectedRows)]="selectedDatasets">\n\t\t\t</generic-table>\n\t\t</ng-container>\n\n\t\t<div class="footer"></div>\n\n\t\t<div #dragAndDropBigBox\n\t\t class="file-submit-big"\n\t\t (click)="clickCloudUpload($event)"\n\t\t [class.active]="dragAndDropActive"\n\t\t [class.hidden]="isDatasetFetchInProgress() || isDatasetsListAvailable">\n\t\t\t<h3><b>{{t(\'Upload recorded data\')}}</b></h3>\n\t\t\t<p>\n\t\t\t\t{{t(\'Connect the SSD from a NavVis device and drag-and-drop your datasets_rec folder or the dataset folder here to start\')}}\n\t\t\t</p>\n\n\t\t\t\x3c!-- Upload button --\x3e\n\t\t\t<label for="cloud-upload" class="text-blue">\n\t\t\t\t{{t(\'Upload recorded data\')}}\n\t\t\t</label>\n\t\t\t<input #uploadInputBigBox id="cloud-upload" type="file" multiple\n\t\t\t directory webkitdirectory allowdirs/>\n\t\t</div>\n\t</div>\n\n\t\x3c!-- The message displayed in the delete confirmation modal --\x3e\n\t<ng-template #deleteConfirmationMessage>\n\t\t<span *ngIf="selectedDatasets.length === 1">\n\t\t\t{{ t("You are about to delete the dataset {datasetName}.",\n\t\t\t{datasetName: selectedDatasets[0].name}) }}\n\t\t</span>\n\t\t<span *ngIf="selectedDatasets.length > 1">\n\t\t\t{{ t("You are about to delete {count} datasets.",\n\t\t\t{count: selectedDatasets.length}) }}\n\t\t</span>\n\t\t<span>\n\t\t\t{{ t("This operation cannot be undone.") }}\n\t\t</span>\n\n\n\t\t<div class="mt-10">\n\t\t\t{{ t("Are you sure you want to delete?") }}\n\t\t</div>\n\t</ng-template>\n</ng-container>\n'},2094:function(t,e,n){var i=n(2095);t.exports="string"==typeof i?i:i.toString()},2095:function(t,e,n){(e=n(10)(!1)).push([t.i,".cloud-upload-container{padding:2em 4em 0;display:flex;flex-flow:column nowrap}.file-submit,.file-submit-big{border:1px dashed #92b0b3;border-radius:10px;font-size:1.25rem}.active.file-submit,.active.file-submit-big{background:rgba(51,152,199,.1);border-color:#2eaefe}.cloud-upload-title{margin-top:0;font-family:Open Sans,sans-serif;font-style:normal;font-weight:600;font-size:24px;line-height:1.1;white-space:nowrap;margin-bottom:20px}.file-submit{word-break:keep-all;padding:24px 32px;text-align:center;min-width:40%}.file-submit .file-submit__label{margin-bottom:0}.file-submit-big{flex:1 1 auto;display:flex;flex-flow:column nowrap;justify-content:center;align-content:center;text-align:center;cursor:pointer;margin-top:2em}.hidden{display:none}.upload-status{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:20px}.upload-control{display:flex;flex-flow:column nowrap;align-items:stretch;flex:0 1 33%}.upload-control_cancel{align-self:flex-end}.text-blue{color:#3398c7}.flex-expand{flex:1 1 auto}.scroll-table{min-height:fit-content;overflow-x:auto}.controls{justify-content:space-between;margin-bottom:8px;margin-top:16px}.controls,.controls__left-panel{display:flex;flex-flow:row nowrap}.controls__left-panel>button{margin-right:.2em}.controls__right-panel{display:flex;flex-flow:row nowrap}.controls__right-panel>button{margin-left:.2em}.footer{height:64px;min-height:64px;width:100%}input{display:none}label{display:block}",""]),t.exports=e},2096:function(t,e,n){var i,o;/*! uppie v1.1.3 | (c) silverwind | BSD license */"undefined"!=typeof self&&self,void 0===(o="function"==typeof(i=function(){"use strict";return function(){var e={name:"files[]"};return function(n,i,o){"function"==typeof i?(o=i,i=e):(i||(i={}),i.name||(i.name=e.name)),n instanceof NodeList?[].slice.call(n).forEach(function(e){t(e,i,o)}):t(n,i,o)}};function t(t,i,o){if("input"===t.tagName.toLowerCase()&&"file"===t.type)t.addEventListener("change",function(t){var r=t.target;r.files&&r.files.length?n(r,i,o.bind(null,t)):"getFilesAndDirectories"in r?e(r,i,o.bind(null,t)):o(t)});else{var r=function(t){t.preventDefault()};t.addEventListener("dragover",r),t.addEventListener("dragenter",r),t.addEventListener("drop",function(t){t.preventDefault();var r=t.dataTransfer;r.items&&r.items.length&&"webkitGetAsEntry"in r.items[0]&&r.items[0].webkitGetAsEntry()?function(t,e,n){var i=new FormData,o=[],r=[];[].slice.call(t).forEach(function(t){(t=t.webkitGetAsEntry())&&r.push(new Promise(function(n){t.isFile?t.file(function(t){i.append(e.name,t,t.name),o.push(t.name),n()},n.bind()):t.isDirectory&&function t(n,r,a){r||(r=n.name),function t(e,n,i,o){var r=n||e.createReader();r.readEntries(function(n){var a=i?i.concat(n):n;n.length?setTimeout(t.bind(null,e,r,a,o),0):o(a)})}(n,0,0,function(n){var s=[];n.forEach(function(n){s.push(new Promise(function(a){n.isFile?n.file(function(t){var n=r+"/"+t.name;i.append(e.name,t,n),o.push(n),a()},a.bind()):t(n,r+"/"+n.name,a)}))}),Promise.all(s).then(a.bind())})}(t,null,n)}))}),Promise.all(r).then(n.bind(null,i,o))}(r.items,i,o.bind(null,t)):"getFilesAndDirectories"in r?e(r,i,o.bind(null,t)):r.files?n(r,i,o.bind(null,t)):o(t)})}}function e(t,e,n){var i=new FormData,o=[],r=function(t,n,a){var s=[];t.forEach(function(t){s.push(new Promise(function(a){if("getFilesAndDirectories"in t)t.getFilesAndDirectories().then(function(e){r(e,t.path+"/",a)});else{if(t.name){var s=(n+t.name).replace(/^[/\\]/,"");i.append(e.name,t,s),o.push(s)}a()}}))}),Promise.all(s).then(a)};t.getFilesAndDirectories().then(function(t){new Promise(function(e){r(t,"/",e)}).then(n.bind(null,i,o))})}function n(t,e,n){var i=new FormData,o=[];[].slice.call(t.files).forEach(function(t){i.append(e.name,t,t.webkitRelativePath||t.name),o.push(t.webkitRelativePath||t.name)}),n(i,o)}})?i.apply(e,[]):i)||(t.exports=o)},2097:function(t,e,n){"use strict";var i=this&&this.__awaiter||function(t,e,n,i){return new(n||(n=Promise))(function(o,r){function a(t){try{l(i.next(t))}catch(t){r(t)}}function s(t){try{l(i.throw(t))}catch(t){r(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(a,s)}l((i=i.apply(t,e||[])).next())})},o=this&&this.__generator||function(t,e){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(6===r[0]&&a.label<o[1]){a.label=o[1],o=r;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(r);break}o[2]&&a.ops.pop(),a.trys.pop();continue}r=e.call(t,a)}catch(t){r=[6,t],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}};Object.defineProperty(e,"__esModule",{value:!0});var r=n(144),a=n(1950),s=n(2098),l=n(2099),c=n(8),u=n(1869),d=function(){function t(){}return t.scanDatasets=function(t){return i(this,void 0,void 0,function(){var e,n,i,r,s,l,c,u,d,p,m,h,f=this;return o(this,function(o){switch(o.label){case 0:return e=this.getFilesFromFormData(t),n=e.filter(function(t){return t.name.endsWith(f.DATASET_JSON)}),[4,this.fetchDatasetNames(n)];case 1:for(i=o.sent(),r=[],s=0,l=i;s<l.length;s++){for(c=l[s],u=[],d=0,e.splice(e.indexOf(c.jsonFile),1),p=0,m=e;p<m.length;p++)(h=m[p]).name.startsWith(c.directory)&&(d+=h.size,u.push(h));u.push(c.jsonFile),d+=c.jsonFile.size,r.push(new a.UploadableDataset(c,u,d))}return[2,r]}})})},t.isDatasetContentAtRootFolder=function(t){var e=this;return this.getFilesFromFormData(t).some(function(t){return t.name===e.DATASET_JSON})},t.fetchDatasetNames=function(t){return i(this,void 0,void 0,function(){var e,n,i,a,d,p,m=this;return o(this,function(o){switch(o.label){case 0:for(e=[],n=[],i=function(t){var i=new r.Deferred,o=new FileReader;o.readAsText(t),o.onload=function(){var e;try{var r=JSON.parse(o.result);if(r.root.dataset_type!==l.DatasetJsonType.REC)return void i.resolve();var a=t.name.replace(m.DATASET_JSON,""),d=(null===(e=r.device)||void 0===e?void 0:e.serial.startsWith("G"))?u.DatasetDeviceInfo.VLX:u.DatasetDeviceInfo.M6;r.dataset.name?n.push(new s.UnprocessedLocalDatasetMetadata(r.dataset.name,a,t,d)):n.push(new s.UnprocessedLocalDatasetMetadata(a,a,t,d))}catch(t){c.handleWarning(t)}i.resolve()},o.onerror=function(){return i.resolve()},e.push(i.promise)},a=0,d=t;a<d.length;a++)p=d[a],i(p);return[4,Promise.all(e)];case 1:return o.sent(),[2,n]}})})},t.getFilesFromFormData=function(t){var e=[];return t.forEach(function(t){var n=t.valueOf();n instanceof File&&e.push(n)}),e},t.DATASET_JSON="dataset.json",t}();e.DatasetScanningUtil=d},2098:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e,n,i){this.name=t,this.directory=e,this.jsonFile=n,this.deviceInfo=i}return t.prototype.clone=function(){return new t(this.name,this.directory,this.jsonFile,this.deviceInfo)},t}();e.UnprocessedLocalDatasetMetadata=i},2099:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.REC="rec",t.PROC="proc",t.WEB="web"}(e.DatasetJsonType||(e.DatasetJsonType={}))},2100:function(t,e,n){"use strict";var i=this&&this.__awaiter||function(t,e,n,i){return new(n||(n=Promise))(function(o,r){function a(t){try{l(i.next(t))}catch(t){r(t)}}function s(t){try{l(i.throw(t))}catch(t){r(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(a,s)}l((i=i.apply(t,e||[])).next())})},o=this&&this.__generator||function(t,e){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(6===r[0]&&a.label<o[1]){a.label=o[1],o=r;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(r);break}o[2]&&a.ops.pop(),a.trys.pop();continue}r=e.call(t,a)}catch(t){r=[6,t],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}};Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),a=n(2),s=n(6),l=(n(1872),n(129)),c=n(169),u=n(8),d=n(1914),p=n(1915),m=n(168),h=n(1685),f=n(1851),g=n(1971),v=n(81),b=(n(38),n(1972)),y=(n(440),n(1696)),_=(n(21),n(1956)),C=n(2101),x=n(0),w=n(1872),S=n(38),P=n(21),O=n(440),M=n(168),k=n(1876),E=n(3),I=n(1945),D=n(1863);function T(t,e){if(1&t&&(x.ɵɵelementStart(0,"div",8),x.ɵɵelementContainer(1,9),x.ɵɵelementEnd()),2&t){x.ɵɵnextContext();var n=x.ɵɵreference(11);x.ɵɵadvance(1),x.ɵɵproperty("ngTemplateOutlet",n)}}function R(t,e){if(1&t&&(x.ɵɵelementStart(0,"div",10),x.ɵɵelementStart(1,"h3"),x.ɵɵelementStart(2,"b"),x.ɵɵtext(3),x.ɵɵelementEnd(),x.ɵɵelementEnd(),x.ɵɵelementStart(4,"p"),x.ɵɵtext(5),x.ɵɵelementEnd(),x.ɵɵelementStart(6,"div"),x.ɵɵelementContainer(7,9),x.ɵɵelementEnd(),x.ɵɵelementEnd()),2&t){var n=x.ɵɵnextContext().$implicit,i=x.ɵɵreference(11);x.ɵɵadvance(3),x.ɵɵtextInterpolate(n("Process your recorded data")),x.ɵɵadvance(2),x.ɵɵtextInterpolate1(" ",n("Compute point clouds with 360° panoramas in the quality you need. We will automatically remove any dynamic objects.")," "),x.ɵɵadvance(2),x.ɵɵproperty("ngTemplateOutlet",i)}}function j(t,e){if(1&t&&x.ɵɵelement(0,"generic-table",11),2&t){var n=x.ɵɵnextContext(2);x.ɵɵproperty("menuFn",n.getActionsBuilder())("columns",n.processingTasksColumnsConfig)("rows",n.tasks)}}function A(t,e){if(1&t){var n=x.ɵɵgetCurrentView();x.ɵɵelementStart(0,"button",12),x.ɵɵlistener("click",function(){return x.ɵɵrestoreView(n),x.ɵɵnextContext(2).trackCreateNewProcessingTask()}),x.ɵɵtext(1),x.ɵɵelementEnd()}if(2&t){var i=x.ɵɵnextContext().$implicit,o=x.ɵɵnextContext();x.ɵɵattribute("data-target","#"+o.TASK_CREATION_MODAL_ID),x.ɵɵadvance(1),x.ɵɵtextInterpolate1(" ",i("Create a new processing task")," ")}}function F(t,e){if(1&t&&(x.ɵɵelementContainerStart(0),x.ɵɵelement(1,"progress-indicator",1),x.ɵɵelementStart(2,"div",2),x.ɵɵelementStart(3,"h3"),x.ɵɵelementStart(4,"b"),x.ɵɵtext(5),x.ɵɵelementEnd(),x.ɵɵelementEnd(),x.ɵɵtemplate(6,T,2,1,"div",3),x.ɵɵtemplate(7,R,8,3,"div",4),x.ɵɵtemplate(8,j,1,3,"generic-table",5),x.ɵɵelement(9,"processing-task-creation-modal",6),x.ɵɵtemplate(10,A,2,2,"ng-template",null,7,x.ɵɵtemplateRefExtractor),x.ɵɵelementEnd(),x.ɵɵelementContainerEnd()),2&t){var n=e.$implicit,i=x.ɵɵnextContext();x.ɵɵadvance(1),x.ɵɵproperty("tasks",i.getProgressReportTasks()),x.ɵɵadvance(4),x.ɵɵtextInterpolate(n("Processing Tasks")),x.ɵɵadvance(1),x.ɵɵproperty("ngIf",i.hasTasks),x.ɵɵadvance(1),x.ɵɵproperty("ngIf",i.isTasksFetchComplete()&&!i.hasTasks),x.ɵɵadvance(1),x.ɵɵproperty("ngIf",i.hasTasks),x.ɵɵadvance(1),x.ɵɵproperty("modalId",i.TASK_CREATION_MODAL_ID)}}var N=function(){function t(t,e,n,i){var o=this;this.ProcessingTaskService=t,this.SidebarMenuService=e,this.TrackingService=n,this.MatDialog=i,this.hasTasks=!1,this.tasks=[],this.TASK_CREATION_MODAL_ID="taskCreationModal",this.taskIdToObjectMap=new Map,this.processingTasksColumnsConfig={taskName:{name:m.translate("Processing Task"),sortable:!0},state:{name:m.translate("Status"),sortable:!0,transformFn:function(t,e){return e.state},sortFn:function(t,e){return t.state.localeCompare(e.state)},customComponent:b.TaskStatusCellComponent},startDate:{name:m.translate("Started"),sortable:!0,transformFn:function(t,e){return o.taskStartToString(e)}},totalDatasets:{name:m.translate("All Datasets"),sortable:!0},totalSuccessfulDatasets:{name:m.translate("Success"),sortable:!0},totalFailedDatasets:{name:m.translate("Failed"),sortable:!0},progress:{name:m.translate("Progress"),sortable:!0,sortFn:function(t,e){return o.getTotalProgress(t)-o.getTotalProgress(e)},transformFn:function(t,e){return{successPercent:t,failurePercent:o.getFailedPercentage(e),showTextSummary:!0,remainingTime:e.remainingTime,state:e.state}},customComponent:g.ProgressBarCellComponent}}}return t.prototype.ngOnInit=function(){this.startPollingTaskResults()},t.prototype.ngOnDestroy=function(){this.taskPollingSubscription.unsubscribe()},t.prototype.isTasksFetchComplete=function(){return this.tasksFetchProgress.isComplete()},t.prototype.fetchTaskResultsFromServer=function(){return i(this,void 0,void 0,function(){var t;return o(this,function(e){switch(e.label){case 0:return[4,this.ProcessingTaskService.findAll()];case 1:return t=e.sent(),this.updateTaskResultListInPlace(t),this.sortTaskResults(),this.hasTasks=this.tasks.length>0,[2]}})})},t.prototype.sortTaskResults=function(){this.tasks.sort(function(t,e){return(e.startDate?e.startDate.getTime():(new Date).getTime())-(t.startDate?t.startDate.getTime():(new Date).getTime())})},t.prototype.startPollingTaskResults=function(){var e=this;this.tasksFetchProgress=p.progressIndicatorTask("Fetching processing tasks"),d.promiseWithProgress(this.fetchTaskResultsFromServer(),this.tasksFetchProgress).catch(u.handleWarning),this.taskPollingSubscription&&this.taskPollingSubscription.unsubscribe();var n=l.of({}).pipe(c.delay(t.POLL_DURATION),c.mergeMap(function(t){return e.fetchTaskResultsFromServer().catch(u.handleWarning)}),c.repeat());this.taskPollingSubscription=n.subscribe()},t.prototype.updateTaskResultListInPlace=function(t){for(var e=0,n=t;e<n.length;e++){var i=n[e];this.taskIdToObjectMap.has(i.taskId)?this.taskIdToObjectMap.get(i.taskId).fillFromData(i.toData()):(this.taskIdToObjectMap.set(i.taskId,i),this.tasks.push(i))}this.tasks=this.tasks.slice()},t.prototype.getProgressReportTasks=function(){return[this.tasksFetchProgress]},t.prototype.getFailedPercentage=function(t){return 0===t.totalDatasets?0:Math.ceil(100*t.totalFailedDatasets/t.totalDatasets)},t.prototype.getTotalProgress=function(t){return t.progress+this.getFailedPercentage(t)},t.prototype.switchToProcessedDatasets=function(){this.SidebarMenuService.goToItem(this.SidebarMenuService.getItem(v.SidebarMenuItemsKey.CLOUD_PROCESSING_PROCESSED_DATA)).catch(u.handleWarning)},t.prototype.downloadLogs=function(t){this.TrackingService.trackPreDefinedEvent(new C.ProcessingLogDownloadedEvent),this.ProcessingTaskService.downloadLogs(t.taskId,t.taskName+"_"+t.state+".zip")},t.prototype.openStopProcessingConfirmation=function(t){var e=this;this.MatDialog.open(y.AlertDialogComponent,{data:{title:m.translate("Stop processing"),body:m.translate("This cannot be undone"),declineButton:!1,confirmButton:m.translate("Stop processing"),confirmButtonColor:"warn"}}).afterClosed().subscribe(function(n){n===y.AlertDialogResult.CONFIRMED&&(e.stopTask(t),e.TrackingService.trackPreDefinedEvent(_.ProcessingTaskStatusEvent.canceled()))})},t.prototype.stopTask=function(t){t&&(t.state=f.ProcessingTaskStatus.STOPPING,this.ProcessingTaskService.stopTask(t).catch(u.handleWarning))},t.prototype.getActionsBuilder=function(){var t=this;return function(e){var n=[],i=e.state===f.ProcessingTaskStatus.FINISHED||e.state===f.ProcessingTaskStatus.CANCELLED,o=e.totalSuccessfulDatasets>0,r=e.logsAvailable;return i&&o&&n.push({label:m.translate("Go to processed datasets"),callback:function(){return t.switchToProcessedDatasets()}}),r&&n.push({label:m.translate("Download logs"),callback:function(){return t.downloadLogs(e)}}),i||n.push({label:m.translate("Stop processing"),callback:function(){return t.openStopProcessingConfirmation(e)}}),n}},t.prototype.taskStartToString=function(t){if(t.state!==f.ProcessingTaskStatus.RUNNING&&t.state!==f.ProcessingTaskStatus.FINISHED&&!t.startDate)return"-";var e=t.startDate?h(t.startDate).calendar():void 0,n=t.finishDate?h(t.finishDate).to(t.startDate,!0):h(t.startDate).fromNow(!1);return e+(e&&n?", ":"")+n},t.prototype.trackCreateNewProcessingTask=function(){this.TrackingService.trackCreateNewProcessingTask()},t.POLL_DURATION=3e3,t.ɵfac=function(e){return new(e||t)(x.ɵɵdirectiveInject(w.ProcessingTaskService),x.ɵɵdirectiveInject(S.SidebarMenuService),x.ɵɵdirectiveInject(P.TrackingService),x.ɵɵdirectiveInject(O.MatDialog))},t.ɵcmp=x.ɵɵdefineComponent({type:t,selectors:[["processing-task"]],decls:1,vars:0,consts:[[4,"transloco"],[3,"tasks"],[1,"processing-task-container"],["class","new-task-block",4,"ngIf"],["class","no-tasks-block",4,"ngIf"],[3,"menuFn","columns","rows",4,"ngIf"],[3,"modalId"],["modalButton",""],[1,"new-task-block"],[3,"ngTemplateOutlet"],[1,"no-tasks-block"],[3,"menuFn","columns","rows"],["data-toggle","modal","data-backdrop","false","required","true",1,"btn","btn-primary","center-block",3,"click"]],template:function(t,e){1&t&&x.ɵɵtemplate(0,F,12,6,"ng-container",0)},directives:[M.TranslocoDirective,k.ProgressIndicatorComponent,E.NgIf,I.ProcessingTaskCreationModalComponent,E.NgTemplateOutlet,D.GenericTableComponent],styles:[".processing-task-container[_ngcontent-%COMP%]{padding:2em 4em 0;display:flex;flex-flow:column nowrap}.no-tasks-block[_ngcontent-%COMP%]{flex:1 1 auto;display:flex;flex-flow:column nowrap;text-align:center;justify-content:center;width:50%;align-self:center}.new-task-block[_ngcontent-%COMP%]{align-self:flex-end}"]}),t}();e.ProcessingTaskComponent=N,x.ɵsetClassMetadata(N,[{type:r.Component,args:[{selector:"processing-task",templateUrl:"./ProcessingTask.ng.html",styleUrls:["./ProcessingTask.ng.scss"],entryComponents:[g.ProgressBarCellComponent,b.TaskStatusCellComponent]}]}],function(){return[{type:w.ProcessingTaskService},{type:S.SidebarMenuService},{type:P.TrackingService},{type:O.MatDialog}]},null),a.module("IVWebApp").directive("processingTask",s.downgradeComponent({component:N}))},2101:function(t,e,n){"use strict";var i,o=this&&this.__extends||(i=function(t,e){return(i=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])})(t,e)},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){function e(){return t.call(this,"processingLogDownloadedEvent")||this}return o(e,t),e}(n(64).TrackingEvent);e.ProcessingLogDownloadedEvent=r},2102:function(t,e,n){"use strict";var i=this&&this.__awaiter||function(t,e,n,i){return new(n||(n=Promise))(function(o,r){function a(t){try{l(i.next(t))}catch(t){r(t)}}function s(t){try{l(i.throw(t))}catch(t){r(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(a,s)}l((i=i.apply(t,e||[])).next())})},o=this&&this.__generator||function(t,e){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(6===r[0]&&a.label<o[1]){a.label=o[1],o=r;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(r);break}o[2]&&a.ops.pop(),a.trys.pop();continue}r=e.call(t,a)}catch(t){r=[6,t],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}},r=this&&this.__spreadArrays||function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),o=0;for(e=0;e<n;e++)for(var r=arguments[e],a=0,s=r.length;a<s;a++,o++)i[o]=r[a];return i};Object.defineProperty(e,"__esModule",{value:!0});var a=n(0),s=n(2),l=n(7),c=n(6),u=n(8),d=(n(1701),n(106),n(9),n(345),n(283)),p=n(2103),m=n(107),h=n(81),f=(n(38),n(1850)),g=n(1915),v=n(1914),b=n(153),y=(n(130),n(1873)),_=n(1875),C=n(1912),x=n(168),w=n(1916),S=n(1862),P=(n(21),n(2104)),O=n(1969),M=(n(440),n(1696)),k=n(0),E=n(1701),I=n(130),D=n(9),T=n(106),R=n(38),j=n(21),A=n(440),F=n(345),N=n(1876),L=n(168),U=n(3),V=n(1692),z=n(1863),B=["deleteConfirmationMessage"];function q(t,e){if(1&t&&(k.ɵɵelementStart(0,"div",14),k.ɵɵelement(1,"img",15),k.ɵɵelementEnd()),2&t){var n=k.ɵɵnextContext(2);k.ɵɵadvance(1),k.ɵɵproperty("src",n.spinnerIcon,k.ɵɵsanitizeUrl)}}function H(t,e){if(1&t){var n=k.ɵɵgetCurrentView();k.ɵɵelementStart(0,"generic-table",16),k.ɵɵlistener("selectedRowsChange",function(t){return k.ɵɵrestoreView(n),k.ɵɵnextContext(2).selectedDatasets=t}),k.ɵɵelementEnd()}if(2&t){var i=k.ɵɵnextContext(2);k.ɵɵproperty("selectable",!0)("selectedRows",i.selectedDatasets)("columns",i.columnsConfig)("rows",i.allDatasets)}}function G(t,e){if(1&t){var n=k.ɵɵgetCurrentView();k.ɵɵelementStart(0,"div",17),k.ɵɵelementStart(1,"h4"),k.ɵɵtext(2),k.ɵɵelementEnd(),k.ɵɵelementStart(3,"span"),k.ɵɵtext(4),k.ɵɵelementStart(5,"a",18),k.ɵɵlistener("click",function(){return k.ɵɵrestoreView(n),k.ɵɵnextContext(2).goToProcessing()}),k.ɵɵtext(6),k.ɵɵelementEnd(),k.ɵɵelementEnd(),k.ɵɵelementEnd()}if(2&t){var i=k.ɵɵnextContext().$implicit;k.ɵɵadvance(2),k.ɵɵtextInterpolate(i("No datasets processed yet")),k.ɵɵadvance(2),k.ɵɵtextInterpolate1(" ",i("Go here to process your first dataset:")," "),k.ɵɵadvance(2),k.ɵɵtextInterpolate(i("Processing Tasks"))}}var Q=function(t){return{datasetName:t}};function W(t,e){if(1&t&&(k.ɵɵelementStart(0,"span"),k.ɵɵtext(1),k.ɵɵelementEnd()),2&t){var n=k.ɵɵnextContext(2).$implicit,i=k.ɵɵnextContext();k.ɵɵadvance(1),k.ɵɵtextInterpolate1(" ",n("You are about to delete the dataset {datasetName}.",k.ɵɵpureFunction1(1,Q,i.selectedDatasets[0].name))," ")}}var Z=function(t){return{count:t}};function $(t,e){if(1&t&&(k.ɵɵelementStart(0,"span"),k.ɵɵtext(1),k.ɵɵelementEnd()),2&t){var n=k.ɵɵnextContext(2).$implicit,i=k.ɵɵnextContext();k.ɵɵadvance(1),k.ɵɵtextInterpolate1(" ",n("You are about to delete {count} datasets.",k.ɵɵpureFunction1(1,Z,i.selectedDatasets.length))," ")}}function K(t,e){if(1&t&&(k.ɵɵtemplate(0,W,2,3,"span",19),k.ɵɵtemplate(1,$,2,3,"span",19),k.ɵɵelementStart(2,"span"),k.ɵɵtext(3),k.ɵɵelementEnd(),k.ɵɵelementStart(4,"div",20),k.ɵɵtext(5),k.ɵɵelementEnd()),2&t){var n=k.ɵɵnextContext().$implicit,i=k.ɵɵnextContext();k.ɵɵproperty("ngIf",1===i.selectedDatasets.length),k.ɵɵadvance(1),k.ɵɵproperty("ngIf",i.selectedDatasets.length>1),k.ɵɵadvance(2),k.ɵɵtextInterpolate1(" ",n("This operation cannot be undone.")," "),k.ɵɵadvance(2),k.ɵɵtextInterpolate1(" ",n("Are you sure you want to delete?")," ")}}function Y(t,e){if(1&t){var n=k.ɵɵgetCurrentView();k.ɵɵelementContainerStart(0),k.ɵɵelementStart(1,"div",2),k.ɵɵelementStart(2,"h3"),k.ɵɵelementStart(3,"b"),k.ɵɵtext(4),k.ɵɵelementEnd(),k.ɵɵelementEnd(),k.ɵɵelementStart(5,"div",3),k.ɵɵelement(6,"div",4),k.ɵɵelementStart(7,"div",5),k.ɵɵelementStart(8,"button",6),k.ɵɵlistener("click",function(){return k.ɵɵrestoreView(n),k.ɵɵnextContext().copyToDatasetManagement()}),k.ɵɵtext(9),k.ɵɵtemplate(10,q,2,1,"div",7),k.ɵɵelementEnd(),k.ɵɵelementStart(11,"button",8),k.ɵɵlistener("click",function(){return k.ɵɵrestoreView(n),k.ɵɵnextContext().showDeleteConfirmationModal()}),k.ɵɵelementStart(12,"i",9),k.ɵɵtext(13,"delete"),k.ɵɵelementEnd(),k.ɵɵelementEnd(),k.ɵɵelementEnd(),k.ɵɵelementEnd(),k.ɵɵtemplate(14,H,1,4,"generic-table",10),k.ɵɵelement(15,"div",11),k.ɵɵtemplate(16,G,7,3,"div",12),k.ɵɵelementEnd(),k.ɵɵtemplate(17,K,6,4,"ng-template",null,13,k.ɵɵtemplateRefExtractor),k.ɵɵelementContainerEnd()}if(2&t){var i=e.$implicit,o=k.ɵɵnextContext();k.ɵɵadvance(4),k.ɵɵtextInterpolate(i("Processed Data")),k.ɵɵadvance(4),k.ɵɵproperty("disabled",!o.isSomeDatasetSelected()||o.areDataTransferJobsRunning()),k.ɵɵadvance(1),k.ɵɵtextInterpolate1(" ",i("Copy to Dataset Management")," "),k.ɵɵadvance(1),k.ɵɵproperty("ngIf",o.areDataTransferJobsRunning()),k.ɵɵadvance(1),k.ɵɵproperty("disabled",!o.isSomeDatasetSelected()),k.ɵɵadvance(3),k.ɵɵproperty("ngIf",!o.isDatasetFetchInProgress()&&o.allDatasets&&0!==o.allDatasets.length),k.ɵɵadvance(2),k.ɵɵproperty("ngIf",o.allDatasets&&0===o.allDatasets.length)}}var J=function(){function t(t,e,i,o,r,a,s,l){var c=this;this.CloudStorageService=t,this.UoMService=e,this.RestService=i,this.ProgressReportService=o,this.SidebarMenuService=r,this.TrackingService=a,this.MatDialog=s,this.JobListService=l,this.generatingDownloadPointCloudsUrls=!1,this.spinnerIcon=n(94),this.preparingForCopying=!1,this.TRANSFER_DATASET_ENDPOINT="storage/transfer_dataset",this.columnsConfig={qualityMapThumbnailUrl:{transformFn:function(t,e){return{url:e.qualityMapUrl,thumbnailUrl:e.qualityMapThumbnailUrl,name:e.name,viewMode:S.ProcessingTaskView.PROCESSED_DATA}},customComponent:y.ImagePreviewCellComponent},name:{name:x.translate("Dataset"),sortable:!0,transformFn:function(t,e){return{text:e.name,subscript:e.directoryName}},customComponent:_.SubscriptCellComponent},mappingTimeStart:{name:x.translate("Recorded At"),sortable:!0,transformFn:function(t){return t.format("L LT")}},mappedControlPointsAmount:{name:x.translate("Control Points"),sortable:!0},captureLocations:{name:x.translate("Panorama Count"),sortable:!0},mappedArea:{name:x.translate("Scanned Area"),sortable:!0,transformFn:function(t){return c.UoMService.convert(t,b.MeasurementDomain.AREA,0)}},_download:{transformFn:function(t,e){return{dataset:e}},customComponent:C.DatasetDownloadCellComponent}},this.datasetFetchTask=g.progressIndicatorTask("Fetching processed datasets"),v.promiseWithProgress(this.refreshDatasets(),this.datasetFetchTask).catch(u.handleWarning)}return t.prototype.ngOnInit=function(){this.JobListService.refreshJobList()},t.prototype.ngOnDestroy=function(){this.JobListService.clearTimeouts()},t.prototype.isDatasetFetchInProgress=function(){return!this.datasetFetchTask.isComplete()},t.prototype.getProgressReportTasks=function(){return[this.datasetFetchTask]},t.prototype.updateSelectedDatasets=function(t){this.selectedDatasets=t},t.prototype.isSomeDatasetSelected=function(){return this.selectedDatasets&&this.selectedDatasets.length>0},t.prototype.copyToDatasetManagement=function(){var t=this;this.preparingForCopying=!0,this.TrackingService.trackPreDefinedEvent((new P.ProcessingResultImportedEvent).withNumberOfDataSets(this.selectedDatasets.length)),Promise.all(this.selectedDatasets.map(function(e){return t.RestService.postApi(t.TRANSFER_DATASET_ENDPOINT,new p.DatasetTransferRequest(e).toData()).then(function(t){return t.job_id})})).then(function(e){var n=setInterval(function(){t.JobListService.jobs.some(function(t){return e.indexOf(t.jobId)>-1})&&(t.preparingForCopying=!1,clearInterval(n))},500)}).catch(u.handleWarning)},t.prototype.areDataTransferJobsRunning=function(){return this.preparingForCopying||this.JobListService.jobs.some(function(t){return t.busy&&t.name===d.JobName.DOWNLOAD_DATASET_FROM_S3_JOB})},t.prototype.showDeleteConfirmationModal=function(){var t=this;this.MatDialog.open(M.AlertDialogComponent,{data:{title:x.translate("Delete Dataset"),body:this.deleteConfirmationMessage,declineButton:!1,confirmButton:x.translate("Delete"),confirmButtonColor:"warn"}}).afterClosed().subscribe(function(e){e===M.AlertDialogResult.CONFIRMED&&t.deleteSelectedDatasets()})},t.prototype.deleteSelectedDatasets=function(){var t=this,e=this.selectedDatasets.map(function(t){return t.getDirectoryName()}),n=this.ProgressReportService.addTask("Deleting selected datasets...",1,!0,!0,!1,!0,0);this.TrackingService.trackPreDefinedEvent((new O.ProcessingResultDeletedEvent).fromView(S.ProcessingTaskView.PROCESSED_DATA).withNumberOfDataSets(e.length)),m.promiseFinally(this.CloudStorageService.delete(e,f.DatasetProcessingState.PROCESSED).then(function(){return t.refreshDatasets()}),function(){return n.itemDone()}).catch(u.handleWarning)},t.prototype.refreshDatasets=function(){return i(this,void 0,void 0,function(){var t,e,n=this;return o(this,function(i){switch(i.label){case 0:return[4,this.CloudStorageService.listUploadedDatasets(f.DatasetProcessingState.PROCESSED)];case 1:return t=i.sent(),this.allDatasets=[],this.selectedDatasets=[],e=new Map,t.forEach(function(t){return e.has(t.directoryName)?n.allDatasets.push(l.merge(t,e.get(t.directoryName))):e.set(t.directoryName,t)}),this.CloudStorageService.enrichDatasetsWithQualityMapInfo(this.allDatasets,f.DatasetProcessingState.PROCESSED).then(function(){n.allDatasets=r(n.allDatasets)}).catch(u.handleWarning),[2]}})})},t.prototype.goToProcessing=function(){this.SidebarMenuService.goToItem(this.SidebarMenuService.getItem(h.SidebarMenuItemsKey.CLOUD_PROCESSING_PROCESSING_TASKS)).catch(u.handleWarning)},t.ɵfac=function(e){return new(e||t)(k.ɵɵdirectiveInject(E.CloudStorageService),k.ɵɵdirectiveInject(I.UoMService),k.ɵɵdirectiveInject(D.RestService),k.ɵɵdirectiveInject(T.ProgressReportService),k.ɵɵdirectiveInject(R.SidebarMenuService),k.ɵɵdirectiveInject(j.TrackingService),k.ɵɵdirectiveInject(A.MatDialog),k.ɵɵdirectiveInject(F.JobListService))},t.ɵcmp=k.ɵɵdefineComponent({type:t,selectors:[["processed-data"]],viewQuery:function(t,e){var n;1&t&&k.ɵɵviewQuery(B,!0),2&t&&k.ɵɵqueryRefresh(n=k.ɵɵloadQuery())&&(e.deleteConfirmationMessage=n.first)},decls:2,vars:1,consts:[[3,"tasks"],[4,"transloco"],[1,"processed-data-container"],[1,"controls"],[1,"controls__left-panel"],[1,"controls__right-panel"],["type","button",1,"btn","btn-primary",3,"disabled","click"],["class","spinner",4,"ngIf"],["type","button",1,"btn","btn-default",3,"disabled","click"],[1,"material-icons","btn-icon"],["class","scroll-table",3,"selectable","selectedRows","columns","rows","selectedRowsChange",4,"ngIf"],[1,"footer"],["class","no-datasets-message",4,"ngIf"],["deleteConfirmationMessage",""],[1,"spinner"],["alt","Spinner icon",1,"spinner-in-btn",3,"src"],[1,"scroll-table",3,"selectable","selectedRows","columns","rows","selectedRowsChange"],[1,"no-datasets-message"],[3,"click"],[4,"ngIf"],[1,"mt-10"]],template:function(t,e){1&t&&(k.ɵɵelement(0,"progress-indicator",0),k.ɵɵtemplate(1,Y,19,7,"ng-container",1)),2&t&&k.ɵɵproperty("tasks",e.getProgressReportTasks())},directives:[N.ProgressIndicatorComponent,L.TranslocoDirective,U.NgIf,V.AddBaseUrlDirective,z.GenericTableComponent],styles:[".processed-data-container[_ngcontent-%COMP%]{padding:2em 4em 0;display:flex;flex-flow:column nowrap}button[_ngcontent-%COMP%]{position:relative;text-align:center}.spinner[_ngcontent-%COMP%]{position:absolute;top:0;right:0;bottom:0;left:0;line-height:34px}img.spinner-in-btn[_ngcontent-%COMP%]{max-height:34px}.processed-data-container[_ngcontent-%COMP%]{margin:auto}.no-datasets-message[_ngcontent-%COMP%]{flex:1 1 auto;display:flex;flex-flow:column nowrap;align-items:center;justify-content:center}.controls[_ngcontent-%COMP%]{justify-content:space-between;margin-bottom:8px}.controls[_ngcontent-%COMP%], .controls__left-panel[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap}.controls__left-panel[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{margin-right:.2em}.controls__right-panel[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap}.controls__right-panel[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{margin-left:.2em}.scroll-table[_ngcontent-%COMP%]{min-height:fit-content;overflow-x:auto}.footer[_ngcontent-%COMP%]{height:64px;min-height:64px;width:100%}.dataset-selection-container[_ngcontent-%COMP%]{margin:0 7.5%}"]}),t}();e.ProcessedDataComponent=J,k.ɵsetClassMetadata(J,[{type:a.Component,args:[{selector:"processed-data",templateUrl:"./ProcessedData.ng.html",styleUrls:["./ProcessedData.ng.scss"],entryComponents:[y.ImagePreviewCellComponent,w.DatasetStatusCellComponent,C.DatasetDownloadCellComponent]}]}],function(){return[{type:E.CloudStorageService},{type:I.UoMService},{type:D.RestService},{type:T.ProgressReportService},{type:R.SidebarMenuService},{type:j.TrackingService},{type:A.MatDialog},{type:F.JobListService}]},{deleteConfirmationMessage:[{type:a.ViewChild,args:["deleteConfirmationMessage",{static:!1}]}]}),s.module("IVWebApp").directive("processedData",c.downgradeComponent({component:J}))},2103:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t){this.datasetName=t.getDirectoryName()}return t.prototype.toData=function(){var t={};return t.dataset_name=this.datasetName,t},t}();e.DatasetTransferRequest=i},2104:function(t,e,n){"use strict";var i,o=this&&this.__extends||(i=function(t,e){return(i=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])})(t,e)},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){function e(){return t.call(this,"processingResultImportedEvent")||this}return o(e,t),e.prototype.withNumberOfDataSets=function(t){return this.withData("numberOfDatasets",t),this},e}(n(64).TrackingEvent);e.ProcessingResultImportedEvent=r},2105:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(1866),r=n(3),a=n(1863),s=n(1957),l=n(1875),c=n(2106),u=n(1852),d=n(0),p=n(3),m=n(1852),h=n(37),f=n(1866),g=function(){function t(){}return t.ɵmod=d.ɵɵdefineNgModule({type:t}),t.ɵinj=d.ɵɵdefineInjector({factory:function(e){return new(e||t)},imports:[[r.CommonModule,o.MomentModule,u.MatCheckboxModule]]}),t}();e.GenericTableModule=g,("undefined"==typeof ngJitMode||ngJitMode)&&d.ɵɵsetNgModuleScope(g,{declarations:[a.GenericTableComponent,s.DefaultCellComponent,l.SubscriptCellComponent,c.ActionsMenuComponent],imports:[r.CommonModule,o.MomentModule,u.MatCheckboxModule],exports:[a.GenericTableComponent,l.SubscriptCellComponent]}),d.ɵsetClassMetadata(g,[{type:i.NgModule,args:[{imports:[r.CommonModule,o.MomentModule,u.MatCheckboxModule],declarations:[a.GenericTableComponent,s.DefaultCellComponent,l.SubscriptCellComponent,c.ActionsMenuComponent],entryComponents:[s.DefaultCellComponent,l.SubscriptCellComponent],exports:[a.GenericTableComponent,l.SubscriptCellComponent]}]}],null,null),d.ɵɵsetComponentScope(a.GenericTableComponent,[p.NgClass,p.NgComponentOutlet,p.NgForOf,p.NgIf,p.NgTemplateOutlet,p.NgStyle,p.NgSwitch,p.NgSwitchCase,p.NgSwitchDefault,p.NgPlural,p.NgPluralCase,m.MatCheckbox,h.Dir,m.MatCheckboxRequiredValidator,a.GenericTableComponent,s.DefaultCellComponent,l.SubscriptCellComponent,c.ActionsMenuComponent],[p.AsyncPipe,p.UpperCasePipe,p.LowerCasePipe,p.JsonPipe,p.SlicePipe,p.DecimalPipe,p.PercentPipe,p.TitleCasePipe,p.CurrencyPipe,p.DatePipe,p.I18nPluralPipe,p.I18nSelectPipe,p.KeyValuePipe,f.AddPipe,f.CalendarPipe,f.DateFormatPipe,f.DifferencePipe,f.DurationPipe,f.FromUnixPipe,f.ParsePipe,f.SubtractPipe,f.TimeAgoPipe,f.UtcPipe,f.FromUtcPipe,f.LocalTimePipe,f.LocalePipe,f.ParseZonePipe,f.IsBeforePipe,f.IsAfterPipe])},2106:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(0),r=n(3);function a(t,e){if(1&t){var n=o.ɵɵgetCurrentView();o.ɵɵelementStart(0,"li",5),o.ɵɵlistener("click",function(){o.ɵɵrestoreView(n);var t=e.$implicit;return o.ɵɵnextContext(2).onActionSelected(t)}),o.ɵɵelementStart(1,"span"),o.ɵɵtext(2),o.ɵɵelementEnd(),o.ɵɵelementStart(3,"i",6),o.ɵɵtext(4),o.ɵɵelementEnd(),o.ɵɵelementEnd()}if(2&t){var i=e.$implicit;o.ɵɵadvance(2),o.ɵɵtextInterpolate(i.label),o.ɵɵadvance(2),o.ɵɵtextInterpolate(i.matIcon)}}function s(t,e){if(1&t&&(o.ɵɵelementStart(0,"div",1),o.ɵɵelementStart(1,"button",2),o.ɵɵtext(2," ... "),o.ɵɵelementEnd(),o.ɵɵelementStart(3,"ul",3),o.ɵɵtemplate(4,a,5,2,"li",4),o.ɵɵelementEnd(),o.ɵɵelementEnd()),2&t){var n=o.ɵɵnextContext();o.ɵɵadvance(4),o.ɵɵproperty("ngForOf",n.actions)}}var l=function(){function t(){}return t.prototype.onActionSelected=function(t){t.callback()},t.ɵfac=function(e){return new(e||t)},t.ɵcmp=o.ɵɵdefineComponent({type:t,selectors:[["gt-actions-menu"]],inputs:{actions:"actions"},decls:1,vars:1,consts:[["class","dropdown",4,"ngIf"],[1,"dropdown"],["type","button","id","moreOptionsDropdown","data-toggle","dropdown","aria-haspopup","true","aria-expanded","true",1,"btn","btn-default"],["aria-labelledby","moreOptionsDropdown",1,"dropdown-menu","dropdown-menu-right"],["class","ac-action",3,"click",4,"ngFor","ngForOf"],[1,"ac-action",3,"click"],[1,"material-icons","btn-icon"]],template:function(t,e){1&t&&o.ɵɵtemplate(0,s,5,1,"div",0),2&t&&o.ɵɵproperty("ngIf",e.actions&&e.actions.length>0)},directives:[r.NgIf,r.NgForOf],styles:[".ac-action[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center}"],changeDetection:0}),t}();e.ActionsMenuComponent=l,o.ɵsetClassMetadata(l,[{type:i.Component,args:[{selector:"gt-actions-menu",templateUrl:"./ActionsCell.ng.html",styleUrls:["./ActionsCell.ng.scss"],changeDetection:i.ChangeDetectionStrategy.OnPush}]}],function(){return[]},{actions:[{type:i.Input}]})},2235:function(t,e,n){"use strict";n.r(e),n.d(e,"MatCell",function(){return ut}),n.d(e,"MatCellDef",function(){return ot}),n.d(e,"MatColumnDef",function(){return st}),n.d(e,"MatFooterCell",function(){return ct}),n.d(e,"MatFooterCellDef",function(){return at}),n.d(e,"MatFooterRow",function(){return ft}),n.d(e,"MatFooterRowDef",function(){return pt}),n.d(e,"MatHeaderCell",function(){return lt}),n.d(e,"MatHeaderCellDef",function(){return rt}),n.d(e,"MatHeaderRow",function(){return ht}),n.d(e,"MatHeaderRowDef",function(){return dt}),n.d(e,"MatRow",function(){return gt}),n.d(e,"MatRowDef",function(){return mt}),n.d(e,"MatTable",function(){return it}),n.d(e,"MatTableDataSource",function(){return yt}),n.d(e,"MatTableModule",function(){return bt}),n.d(e,"MatTextColumn",function(){return vt});var i=n(0),o=n(1),r=n(37),a=n(23),s=n(343),l=n(13),c=n(3),u=n(32),d=n(373),p=n(338),m=n(93),h=n(341),f=[[["caption"]]],g=["caption"];function v(t,e){if(1&t&&(i["ɵɵelementStart"](0,"th",3),i["ɵɵtext"](1),i["ɵɵelementEnd"]()),2&t){var n=i["ɵɵnextContext"]();i["ɵɵstyleProp"]("text-align",n.justify),i["ɵɵadvance"](1),i["ɵɵtextInterpolate1"](" ",n.headerText," ")}}function b(t,e){if(1&t&&(i["ɵɵelementStart"](0,"td",4),i["ɵɵtext"](1),i["ɵɵelementEnd"]()),2&t){var n=e.$implicit,o=i["ɵɵnextContext"]();i["ɵɵstyleProp"]("text-align",o.justify),i["ɵɵadvance"](1),i["ɵɵtextInterpolate1"](" ",o.dataAccessor(n,o.name)," ")}}
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */function y(t){return function(t){function e(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i=t.apply(this,Object(o.h)(e))||this;return i._sticky=!1,i._hasStickyChanged=!1,i}return Object(o.c)(e,t),Object.defineProperty(e.prototype,"sticky",{get:function(){return this._sticky},set:function(t){var e=this._sticky;this._sticky=Object(a.c)(t),this._hasStickyChanged=e!==this._sticky},enumerable:!0,configurable:!0}),e.prototype.hasStickyChanged=function(){var t=this._hasStickyChanged;return this._hasStickyChanged=!1,t},e.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1},e}(t)}
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */var _=new i.InjectionToken("CDK_TABLE"),C=new i.InjectionToken("text-column-options"),x=function(){function t(t){this.template=t}return t.ctorParameters=function(){return[{type:i.TemplateRef}]},t.ɵfac=function(e){return new(e||t)(i["ɵɵdirectiveInject"](i.TemplateRef))},t.ɵdir=i["ɵɵdefineDirective"]({type:t,selectors:[["","cdkCellDef",""]]}),t}(),w=function(){function t(t){this.template=t}return t.ctorParameters=function(){return[{type:i.TemplateRef}]},t.ɵfac=function(e){return new(e||t)(i["ɵɵdirectiveInject"](i.TemplateRef))},t.ɵdir=i["ɵɵdefineDirective"]({type:t,selectors:[["","cdkHeaderCellDef",""]]}),t}(),S=function(){function t(t){this.template=t}return t.ctorParameters=function(){return[{type:i.TemplateRef}]},t.ɵfac=function(e){return new(e||t)(i["ɵɵdirectiveInject"](i.TemplateRef))},t.ɵdir=i["ɵɵdefineDirective"]({type:t,selectors:[["","cdkFooterCellDef",""]]}),t}(),P=function(t){function e(e){var n=t.call(this)||this;return n._table=e,n._stickyEnd=!1,n}return Object(o.c)(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stickyEnd",{get:function(){return this._stickyEnd},set:function(t){var e=this._stickyEnd;this._stickyEnd=Object(a.c)(t),this._hasStickyChanged=e!==this._stickyEnd},enumerable:!0,configurable:!0}),e.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Inject,args:[_]},{type:i.Optional}]}]},e.propDecorators={name:[{type:i.Input,args:["cdkColumnDef"]}],stickyEnd:[{type:i.Input,args:["stickyEnd"]}],cell:[{type:i.ContentChild,args:[x]}],headerCell:[{type:i.ContentChild,args:[w]}],footerCell:[{type:i.ContentChild,args:[S]}]},e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](_,8))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,e,n){var o;1&t&&(i["ɵɵcontentQuery"](n,x,!0),i["ɵɵcontentQuery"](n,w,!0),i["ɵɵcontentQuery"](n,S,!0)),2&t&&(i["ɵɵqueryRefresh"](o=i["ɵɵloadQuery"]())&&(e.cell=o.first),i["ɵɵqueryRefresh"](o=i["ɵɵloadQuery"]())&&(e.headerCell=o.first),i["ɵɵqueryRefresh"](o=i["ɵɵloadQuery"]())&&(e.footerCell=o.first))},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[i["ɵɵProvidersFeature"]([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),i["ɵɵInheritDefinitionFeature"]]}),e}(y(function(){})),O=function(t,e){var n="cdk-column-"+t.cssClassFriendlyName;e.nativeElement.classList.add(n)},M=function(t){function e(e,n){return t.call(this,e,n)||this}return Object(o.c)(e,t),e.ctorParameters=function(){return[{type:P},{type:i.ElementRef}]},e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](P),i["ɵɵdirectiveInject"](i.ElementRef))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[i["ɵɵInheritDefinitionFeature"]]}),e}(O),k=function(t){function e(e,n){return t.call(this,e,n)||this}return Object(o.c)(e,t),e.ctorParameters=function(){return[{type:P},{type:i.ElementRef}]},e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](P),i["ɵɵdirectiveInject"](i.ElementRef))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:["role","gridcell",1,"cdk-footer-cell"],features:[i["ɵɵInheritDefinitionFeature"]]}),e}(O),E=function(t){function e(e,n){return t.call(this,e,n)||this}return Object(o.c)(e,t),e.ctorParameters=function(){return[{type:P},{type:i.ElementRef}]},e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](P),i["ɵɵdirectiveInject"](i.ElementRef))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[i["ɵɵInheritDefinitionFeature"]]}),e}(O),I=function(){function t(t,e){this.template=t,this._differs=e}return t.prototype.ngOnChanges=function(t){if(!this._columnsDiffer){var e=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(e).create(),this._columnsDiffer.diff(e)}},t.prototype.getColumnsDiff=function(){return this._columnsDiffer.diff(this.columns)},t.prototype.extractCellTemplate=function(t){return this instanceof D?t.headerCell.template:this instanceof T?t.footerCell.template:t.cell.template},t.ɵfac=function(t){i["ɵɵinvalidFactory"]()},t.ɵdir=i["ɵɵdefineDirective"]({type:t,features:[i["ɵɵNgOnChangesFeature"]]}),t}(),D=function(t){function e(e,n,i){var o=t.call(this,e,n)||this;return o._table=i,o}return Object(o.c)(e,t),e.prototype.ngOnChanges=function(e){t.prototype.ngOnChanges.call(this,e)},e.ctorParameters=function(){return[{type:i.TemplateRef},{type:i.IterableDiffers},{type:void 0,decorators:[{type:i.Inject,args:[_]},{type:i.Optional}]}]},e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.TemplateRef),i["ɵɵdirectiveInject"](i.IterableDiffers),i["ɵɵdirectiveInject"](_,8))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[i["ɵɵInheritDefinitionFeature"],i["ɵɵNgOnChangesFeature"]]}),e}(y(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.c)(e,t),e}(I))),T=function(t){function e(e,n,i){var o=t.call(this,e,n)||this;return o._table=i,o}return Object(o.c)(e,t),e.prototype.ngOnChanges=function(e){t.prototype.ngOnChanges.call(this,e)},e.ctorParameters=function(){return[{type:i.TemplateRef},{type:i.IterableDiffers},{type:void 0,decorators:[{type:i.Inject,args:[_]},{type:i.Optional}]}]},e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.TemplateRef),i["ɵɵdirectiveInject"](i.IterableDiffers),i["ɵɵdirectiveInject"](_,8))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[i["ɵɵInheritDefinitionFeature"],i["ɵɵNgOnChangesFeature"]]}),e}(y(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.c)(e,t),e}(I))),R=function(t){function e(e,n,i){var o=t.call(this,e,n)||this;return o._table=i,o}return Object(o.c)(e,t),e.ctorParameters=function(){return[{type:i.TemplateRef},{type:i.IterableDiffers},{type:void 0,decorators:[{type:i.Inject,args:[_]},{type:i.Optional}]}]},e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.TemplateRef),i["ɵɵdirectiveInject"](i.IterableDiffers),i["ɵɵdirectiveInject"](_,8))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[i["ɵɵInheritDefinitionFeature"]]}),e}(I),j=function(){function t(e){this._viewContainer=e,t.mostRecentCellOutlet=this}return t.prototype.ngOnDestroy=function(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)},t.mostRecentCellOutlet=null,t.ctorParameters=function(){return[{type:i.ViewContainerRef}]},t.ɵfac=function(e){return new(e||t)(i["ɵɵdirectiveInject"](i.ViewContainerRef))},t.ɵdir=i["ɵɵdefineDirective"]({type:t,selectors:[["","cdkCellOutlet",""]]}),t}(),A=function(){function t(){}return t.ɵfac=function(e){return new(e||t)},t.ɵcmp=i["ɵɵdefineComponent"]({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&i["ɵɵelementContainer"](0,0)},directives:[j],encapsulation:2}),t}(),F=function(){function t(){}return t.ɵfac=function(e){return new(e||t)},t.ɵcmp=i["ɵɵdefineComponent"]({type:t,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&i["ɵɵelementContainer"](0,0)},directives:[j],encapsulation:2}),t}(),N=function(){function t(){}return t.ɵfac=function(e){return new(e||t)},t.ɵcmp=i["ɵɵdefineComponent"]({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&i["ɵɵelementContainer"](0,0)},directives:[j],encapsulation:2}),t}(),L=["top","bottom","left","right"],U=function(){function t(t,e,n,i){void 0===i&&(i=!0),this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=n,this._isBrowser=i}return t.prototype.clearStickyPositioning=function(t,e){var n,i;try{for(var r=Object(o.j)(t),a=r.next();!a.done;a=r.next()){var s=a.value;if(s.nodeType===s.ELEMENT_NODE){this._removeStickyStyle(s,e);for(var l=0;l<s.children.length;l++){var c=s.children[l];this._removeStickyStyle(c,e)}}}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}},t.prototype.updateStickyColumns=function(t,e,n){var i,r,a=e.some(function(t){return t})||n.some(function(t){return t});if(t.length&&a&&this._isBrowser){var s=t[0],l=s.children.length,c=this._getCellWidths(s),u=this._getStickyStartColumnPositions(c,e),d=this._getStickyEndColumnPositions(c,n),p="rtl"===this.direction;try{for(var m=Object(o.j)(t),h=m.next();!h.done;h=m.next())for(var f=h.value,g=0;g<l;g++){var v=f.children[g];e[g]&&this._addStickyStyle(v,p?"right":"left",u[g]),n[g]&&this._addStickyStyle(v,p?"left":"right",d[g])}}catch(t){i={error:t}}finally{try{h&&!h.done&&(r=m.return)&&r.call(m)}finally{if(i)throw i.error}}}},t.prototype.stickRows=function(t,e,n){if(this._isBrowser)for(var i="bottom"===n?t.reverse():t,o=0,r=0;r<i.length;r++)if(e[r]){var a=i[r];if(this._isNativeHtmlTable)for(var s=0;s<a.children.length;s++){var l=a.children[s];this._addStickyStyle(l,n,o)}else this._addStickyStyle(a,n,o);if(r===i.length-1)return;o+=a.getBoundingClientRect().height}},t.prototype.updateStickyFooterContainer=function(t,e){if(this._isNativeHtmlTable){var n=t.querySelector("tfoot");e.some(function(t){return!t})?this._removeStickyStyle(n,["bottom"]):this._addStickyStyle(n,"bottom",0)}},t.prototype._removeStickyStyle=function(t,e){var n,i;try{for(var r=Object(o.j)(e),a=r.next();!a.done;a=r.next()){var s=a.value;t.style[s]=""}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}t.style.zIndex=this._getCalculatedZIndex(t),L.some(function(e){return!!t.style[e]})||(t.style.position="",t.classList.remove(this._stickCellCss))},t.prototype._addStickyStyle=function(t,e,n){t.classList.add(this._stickCellCss),t.style[e]=n+"px",t.style.cssText+="position: -webkit-sticky; position: sticky; ",t.style.zIndex=this._getCalculatedZIndex(t)},t.prototype._getCalculatedZIndex=function(t){var e,n,i={top:100,bottom:10,left:1,right:1},r=0;try{for(var a=Object(o.j)(L),s=a.next();!s.done;s=a.next()){var l=s.value;t.style[l]&&(r+=i[l])}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}return r?""+r:""},t.prototype._getCellWidths=function(t){for(var e=[],n=t.children,i=0;i<n.length;i++){var o=n[i];e.push(o.getBoundingClientRect().width)}return e},t.prototype._getStickyStartColumnPositions=function(t,e){for(var n=[],i=0,o=0;o<t.length;o++)e[o]&&(n[o]=i,i+=t[o]);return n},t.prototype._getStickyEndColumnPositions=function(t,e){for(var n=[],i=0,o=t.length;o>0;o--)e[o]&&(n[o]=i,i+=t[o]);return n},t}();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */function V(t){return Error('Could not find column with id "'+t+'".')}
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */var z=function(){function t(t,e){this.viewContainer=t,this.elementRef=e}return t.ctorParameters=function(){return[{type:i.ViewContainerRef},{type:i.ElementRef}]},t.ɵfac=function(e){return new(e||t)(i["ɵɵdirectiveInject"](i.ViewContainerRef),i["ɵɵdirectiveInject"](i.ElementRef))},t.ɵdir=i["ɵɵdefineDirective"]({type:t,selectors:[["","rowOutlet",""]]}),t}(),B=function(){function t(t,e){this.viewContainer=t,this.elementRef=e}return t.ctorParameters=function(){return[{type:i.ViewContainerRef},{type:i.ElementRef}]},t.ɵfac=function(e){return new(e||t)(i["ɵɵdirectiveInject"](i.ViewContainerRef),i["ɵɵdirectiveInject"](i.ElementRef))},t.ɵdir=i["ɵɵdefineDirective"]({type:t,selectors:[["","headerRowOutlet",""]]}),t}(),q=function(){function t(t,e){this.viewContainer=t,this.elementRef=e}return t.ctorParameters=function(){return[{type:i.ViewContainerRef},{type:i.ElementRef}]},t.ɵfac=function(e){return new(e||t)(i["ɵɵdirectiveInject"](i.ViewContainerRef),i["ɵɵdirectiveInject"](i.ElementRef))},t.ɵdir=i["ɵɵdefineDirective"]({type:t,selectors:[["","footerRowOutlet",""]]}),t}(),H=(function(t){Object(o.c)(function(){return null!==t&&t.apply(this,arguments)||this},t)}(i.EmbeddedViewRef),function(){function t(t,e,n,i,o,r,a){this._differs=t,this._changeDetectorRef=e,this._elementRef=n,this._dir=o,this._platform=a,this._onDestroy=new u.a,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this._multiTemplateDataRows=!1,this.viewChange=new d.a({start:0,end:Number.MAX_VALUE}),i||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=r,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}return Object.defineProperty(t.prototype,"trackBy",{get:function(){return this._trackByFn},set:function(t){Object(i.isDevMode)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+"."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dataSource",{get:function(){return this._dataSource},set:function(t){this._dataSource!==t&&this._switchDataSource(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"multiTemplateDataRows",{get:function(){return this._multiTemplateDataRows},set:function(t){this._multiTemplateDataRows=Object(a.c)(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&this._forceRenderDataRows()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create(function(e,n){return t.trackBy?t.trackBy(n.dataIndex,n.data):n})},t.prototype.ngAfterContentChecked=function(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length)throw Error("Missing definitions for header, footer, and row; cannot determine which columns should be rendered.");this._renderUpdatedColumns(),this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription&&this._observeRenderChanges(),this._checkStickyStates()},t.prototype.ngOnDestroy=function(){this._rowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Object(s.e)(this.dataSource)&&this.dataSource.disconnect(this)},t.prototype.renderRows=function(){var t=this;this._renderRows=this._getAllRenderRows();var e=this._dataDiffer.diff(this._renderRows);if(e){var n=this._rowOutlet.viewContainer;e.forEachOperation(function(e,i,o){if(null==e.previousIndex)t._insertRow(e.item,o);else if(null==o)n.remove(i);else{var r=n.get(i);n.move(r,o)}}),this._updateRowIndexContext(),e.forEachIdentityChange(function(t){n.get(t.currentIndex).context.$implicit=t.item.data}),this.updateStickyColumnStyles()}},t.prototype.setHeaderRowDef=function(t){this._customHeaderRowDefs=new Set([t]),this._headerRowDefChanged=!0},t.prototype.setFooterRowDef=function(t){this._customFooterRowDefs=new Set([t]),this._footerRowDefChanged=!0},t.prototype.addColumnDef=function(t){this._customColumnDefs.add(t)},t.prototype.removeColumnDef=function(t){this._customColumnDefs.delete(t)},t.prototype.addRowDef=function(t){this._customRowDefs.add(t)},t.prototype.removeRowDef=function(t){this._customRowDefs.delete(t)},t.prototype.addHeaderRowDef=function(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0},t.prototype.removeHeaderRowDef=function(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0},t.prototype.addFooterRowDef=function(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0},t.prototype.removeFooterRowDef=function(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0},t.prototype.updateStickyHeaderRowStyles=function(){var t=this._getRenderedRows(this._headerRowOutlet),e=this._elementRef.nativeElement.querySelector("thead");e&&(e.style.display=t.length?"":"none");var n=this._headerRowDefs.map(function(t){return t.sticky});this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,n,"top"),this._headerRowDefs.forEach(function(t){return t.resetStickyChanged()})},t.prototype.updateStickyFooterRowStyles=function(){var t=this._getRenderedRows(this._footerRowOutlet),e=this._elementRef.nativeElement.querySelector("tfoot");e&&(e.style.display=t.length?"":"none");var n=this._footerRowDefs.map(function(t){return t.sticky});this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(function(t){return t.resetStickyChanged()})},t.prototype.updateStickyColumnStyles=function(){var t=this,e=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning(Object(o.h)(e,n,i),["left","right"]),e.forEach(function(e,n){t._addStickyColumnStyles([e],t._headerRowDefs[n])}),this._rowDefs.forEach(function(e){for(var i=[],o=0;o<n.length;o++)t._renderRows[o].rowDef===e&&i.push(n[o]);t._addStickyColumnStyles(i,e)}),i.forEach(function(e,n){t._addStickyColumnStyles([e],t._footerRowDefs[n])}),Array.from(this._columnDefsByName.values()).forEach(function(t){return t.resetStickyChanged()})},t.prototype._getAllRenderRows=function(){var t=[],e=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(var n=0;n<this._data.length;n++){var i=this._data[n],o=this._getRenderRowsForData(i,n,e.get(i));this._cachedRenderRowsMap.has(i)||this._cachedRenderRowsMap.set(i,new WeakMap);for(var r=0;r<o.length;r++){var a=o[r],s=this._cachedRenderRowsMap.get(a.data);s.has(a.rowDef)?s.get(a.rowDef).push(a):s.set(a.rowDef,[a]),t.push(a)}}return t},t.prototype._getRenderRowsForData=function(t,e,n){return this._getRowDefs(t,e).map(function(i){var o=n&&n.has(i)?n.get(i):[];if(o.length){var r=o.shift();return r.dataIndex=e,r}return{data:t,rowDef:i,dataIndex:e}})},t.prototype._cacheColumnDefs=function(){var t=this;this._columnDefsByName.clear(),G(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(function(e){if(t._columnDefsByName.has(e.name))throw n=e.name,Error('Duplicate column definition name provided: "'+n+'".');var n;t._columnDefsByName.set(e.name,e)})},t.prototype._cacheRowDefs=function(){this._headerRowDefs=G(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=G(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=G(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);var t=this._rowDefs.filter(function(t){return!t.when});if(!this.multiTemplateDataRows&&t.length>1)throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=t[0]},t.prototype._renderUpdatedColumns=function(){var t=function(t,e){return t||!!e.getColumnsDiff()};this._rowDefs.reduce(t,!1)&&this._forceRenderDataRows(),this._headerRowDefs.reduce(t,!1)&&this._forceRenderHeaderRows(),this._footerRowDefs.reduce(t,!1)&&this._forceRenderFooterRows()},t.prototype._switchDataSource=function(t){this._data=[],Object(s.e)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t},t.prototype._observeRenderChanges=function(){var t=this;if(this.dataSource){var e;if(Object(s.e)(this.dataSource)?e=this.dataSource.connect(this):Object(p.a)(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=Object(m.a)(this.dataSource)),void 0===e)throw Error("Provided data source did not match an array, Observable, or DataSource");this._renderChangeSubscription=e.pipe(Object(h.a)(this._onDestroy)).subscribe(function(e){t._data=e||[],t.renderRows()})}},t.prototype._forceRenderHeaderRows=function(){var t=this;this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach(function(e,n){return t._renderRow(t._headerRowOutlet,e,n)}),this.updateStickyHeaderRowStyles(),this.updateStickyColumnStyles()},t.prototype._forceRenderFooterRows=function(){var t=this;this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach(function(e,n){return t._renderRow(t._footerRowOutlet,e,n)}),this.updateStickyFooterRowStyles(),this.updateStickyColumnStyles()},t.prototype._addStickyColumnStyles=function(t,e){var n=this,i=Array.from(e.columns||[]).map(function(t){var e=n._columnDefsByName.get(t);if(!e)throw V(t);return e}),o=i.map(function(t){return t.sticky}),r=i.map(function(t){return t.stickyEnd});this._stickyStyler.updateStickyColumns(t,o,r)},t.prototype._getRenderedRows=function(t){for(var e=[],n=0;n<t.viewContainer.length;n++){var i=t.viewContainer.get(n);e.push(i.rootNodes[0])}return e},t.prototype._getRowDefs=function(t,e){if(1==this._rowDefs.length)return[this._rowDefs[0]];var n=[];if(this.multiTemplateDataRows)n=this._rowDefs.filter(function(n){return!n.when||n.when(e,t)});else{var i=this._rowDefs.find(function(n){return n.when&&n.when(e,t)})||this._defaultRowDef;i&&n.push(i)}if(!n.length)throw function(t){return Error("Could not find a matching row definition for theprovided row data: "+JSON.stringify(t))}(t);return n},t.prototype._insertRow=function(t,e){var n=t.rowDef,i={$implicit:t.data};this._renderRow(this._rowOutlet,n,e,i)},t.prototype._renderRow=function(t,e,n,i){var r,a;void 0===i&&(i={}),t.viewContainer.createEmbeddedView(e.template,i,n);try{for(var s=Object(o.j)(this._getCellTemplates(e)),l=s.next();!l.done;l=s.next()){var c=l.value;j.mostRecentCellOutlet&&j.mostRecentCellOutlet._viewContainer.createEmbeddedView(c,i)}}catch(t){r={error:t}}finally{try{l&&!l.done&&(a=s.return)&&a.call(s)}finally{if(r)throw r.error}}this._changeDetectorRef.markForCheck()},t.prototype._updateRowIndexContext=function(){for(var t=this._rowOutlet.viewContainer,e=0,n=t.length;e<n;e++){var i=t.get(e).context;i.count=n,i.first=0===e,i.last=e===n-1,i.even=e%2==0,i.odd=!i.even,this.multiTemplateDataRows?(i.dataIndex=this._renderRows[e].dataIndex,i.renderIndex=e):i.index=this._renderRows[e].dataIndex}},t.prototype._getCellTemplates=function(t){var e=this;return t&&t.columns?Array.from(t.columns,function(n){var i=e._columnDefsByName.get(n);if(!i)throw V(n);return t.extractCellTemplate(i)}):[]},t.prototype._applyNativeTableSections=function(){var t,e,n=this._document.createDocumentFragment(),i=[{tag:"thead",outlet:this._headerRowOutlet},{tag:"tbody",outlet:this._rowOutlet},{tag:"tfoot",outlet:this._footerRowOutlet}];try{for(var r=Object(o.j)(i),a=r.next();!a.done;a=r.next()){var s=a.value,l=this._document.createElement(s.tag);l.setAttribute("role","rowgroup"),l.appendChild(s.outlet.elementRef.nativeElement),n.appendChild(l)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}this._elementRef.nativeElement.appendChild(n)},t.prototype._forceRenderDataRows=function(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows(),this.updateStickyColumnStyles()},t.prototype._checkStickyStates=function(){var t=function(t,e){return t||e.hasStickyChanged()};this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&this.updateStickyColumnStyles()},t.prototype._setupStickyStyler=function(){var t=this,e=this._dir?this._dir.value:"ltr";this._stickyStyler=new U(this._isNativeHtmlTable,this.stickyCssClass,e,this._platform.isBrowser),(this._dir?this._dir.change:Object(m.a)()).pipe(Object(h.a)(this._onDestroy)).subscribe(function(e){t._stickyStyler.direction=e,t.updateStickyColumnStyles()})},t.prototype._getOwnDefs=function(t){var e=this;return t.filter(function(t){return!t._table||t._table===e})},t.ctorParameters=function(){return[{type:i.IterableDiffers},{type:i.ChangeDetectorRef},{type:i.ElementRef},{type:String,decorators:[{type:i.Attribute,args:["role"]}]},{type:r.Directionality,decorators:[{type:i.Optional}]},{type:void 0,decorators:[{type:i.Inject,args:[c.DOCUMENT]}]},{type:l.a}]},t.propDecorators={trackBy:[{type:i.Input}],dataSource:[{type:i.Input}],multiTemplateDataRows:[{type:i.Input}],_rowOutlet:[{type:i.ViewChild,args:[z,{static:!0}]}],_headerRowOutlet:[{type:i.ViewChild,args:[B,{static:!0}]}],_footerRowOutlet:[{type:i.ViewChild,args:[q,{static:!0}]}],_contentColumnDefs:[{type:i.ContentChildren,args:[P,{descendants:!0}]}],_contentRowDefs:[{type:i.ContentChildren,args:[R,{descendants:!0}]}],_contentHeaderRowDefs:[{type:i.ContentChildren,args:[D,{descendants:!0}]}],_contentFooterRowDefs:[{type:i.ContentChildren,args:[T,{descendants:!0}]}]},t.ɵfac=function(e){return new(e||t)(i["ɵɵdirectiveInject"](i.IterableDiffers),i["ɵɵdirectiveInject"](i.ChangeDetectorRef),i["ɵɵdirectiveInject"](i.ElementRef),i["ɵɵinjectAttribute"]("role"),i["ɵɵdirectiveInject"](r.Directionality,8),i["ɵɵdirectiveInject"](c.DOCUMENT),i["ɵɵdirectiveInject"](l.a))},t.ɵcmp=i["ɵɵdefineComponent"]({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,e,n){var o;1&t&&(i["ɵɵcontentQuery"](n,P,!0),i["ɵɵcontentQuery"](n,R,!0),i["ɵɵcontentQuery"](n,D,!0),i["ɵɵcontentQuery"](n,T,!0)),2&t&&(i["ɵɵqueryRefresh"](o=i["ɵɵloadQuery"]())&&(e._contentColumnDefs=o),i["ɵɵqueryRefresh"](o=i["ɵɵloadQuery"]())&&(e._contentRowDefs=o),i["ɵɵqueryRefresh"](o=i["ɵɵloadQuery"]())&&(e._contentHeaderRowDefs=o),i["ɵɵqueryRefresh"](o=i["ɵɵloadQuery"]())&&(e._contentFooterRowDefs=o))},viewQuery:function(t,e){var n;1&t&&(i["ɵɵstaticViewQuery"](z,!0),i["ɵɵstaticViewQuery"](B,!0),i["ɵɵstaticViewQuery"](q,!0)),2&t&&(i["ɵɵqueryRefresh"](n=i["ɵɵloadQuery"]())&&(e._rowOutlet=n.first),i["ɵɵqueryRefresh"](n=i["ɵɵloadQuery"]())&&(e._headerRowOutlet=n.first),i["ɵɵqueryRefresh"](n=i["ɵɵloadQuery"]())&&(e._footerRowOutlet=n.first))},hostAttrs:[1,"cdk-table"],inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows"},exportAs:["cdkTable"],features:[i["ɵɵProvidersFeature"]([{provide:_,useExisting:t}])],ngContentSelectors:g,decls:4,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(i["ɵɵprojectionDef"](f),i["ɵɵprojection"](0),i["ɵɵelementContainer"](1,0),i["ɵɵelementContainer"](2,1),i["ɵɵelementContainer"](3,2))},directives:[B,z,q],encapsulation:2}),t}());function G(t,e){return t.concat(Array.from(e))}
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */var Q=function(){function t(t,e){this._table=t,this._options=e,this.justify="start",this._options=e||{}}return Object.defineProperty(t.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t,this._syncColumnDefName()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){if(this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||function(t,e){return t[e]}),!this._table)throw Error("Text column could not find a parent table for registration.");this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef)},t.prototype.ngOnDestroy=function(){this._table&&this._table.removeColumnDef(this.columnDef)},t.prototype._createDefaultHeaderText=function(){var t=this.name;if(Object(i.isDevMode)()&&!t)throw Error("Table text column must have a name.");return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(t):t[0].toUpperCase()+t.slice(1)},t.prototype._syncColumnDefName=function(){this.columnDef&&(this.columnDef.name=this.name)},t.ctorParameters=function(){return[{type:H,decorators:[{type:i.Optional}]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[C]}]}]},t.propDecorators={name:[{type:i.Input}],headerText:[{type:i.Input}],dataAccessor:[{type:i.Input}],justify:[{type:i.Input}],columnDef:[{type:i.ViewChild,args:[P,{static:!0}]}],cell:[{type:i.ViewChild,args:[x,{static:!0}]}],headerCell:[{type:i.ViewChild,args:[w,{static:!0}]}]},t.ɵfac=function(e){return new(e||t)(i["ɵɵdirectiveInject"](H,8),i["ɵɵdirectiveInject"](C,8))},t.ɵcmp=i["ɵɵdefineComponent"]({type:t,selectors:[["cdk-text-column"]],viewQuery:function(t,e){var n;1&t&&(i["ɵɵstaticViewQuery"](P,!0),i["ɵɵstaticViewQuery"](x,!0),i["ɵɵstaticViewQuery"](w,!0)),2&t&&(i["ɵɵqueryRefresh"](n=i["ɵɵloadQuery"]())&&(e.columnDef=n.first),i["ɵɵqueryRefresh"](n=i["ɵɵloadQuery"]())&&(e.cell=n.first),i["ɵɵqueryRefresh"](n=i["ɵɵloadQuery"]())&&(e.headerCell=n.first))},inputs:{justify:"justify",name:"name",headerText:"headerText",dataAccessor:"dataAccessor"},decls:3,vars:0,consts:[["cdkColumnDef",""],["cdk-header-cell","",3,"text-align",4,"cdkHeaderCellDef"],["cdk-cell","",3,"text-align",4,"cdkCellDef"],["cdk-header-cell",""],["cdk-cell",""]],template:function(t,e){1&t&&(i["ɵɵelementContainerStart"](0,0),i["ɵɵtemplate"](1,v,2,3,"th",1),i["ɵɵtemplate"](2,b,2,3,"td",2),i["ɵɵelementContainerEnd"]())},directives:[P,w,x,M,E],encapsulation:2}),t}(),W=function(){function t(){}return t.ɵmod=i["ɵɵdefineNgModule"]({type:t}),t.ɵinj=i["ɵɵdefineInjector"]({factory:function(e){return new(e||t)}}),("undefined"==typeof ngJitMode||ngJitMode)&&i["ɵɵsetNgModuleScope"](t,{declarations:[H,R,x,j,w,S,P,E,N,M,k,A,D,F,T,z,B,q,Q],exports:[H,R,x,j,w,S,P,E,N,M,k,A,D,F,T,z,B,q,Q]}),t}(),Z=n(47),$=n(33),K=n(279),Y=n(346),J=n(62),X=[[["caption"]]],tt=["caption"];
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */function et(t,e){if(1&t&&(i["ɵɵelementStart"](0,"th",3),i["ɵɵtext"](1),i["ɵɵelementEnd"]()),2&t){var n=i["ɵɵnextContext"]();i["ɵɵstyleProp"]("text-align",n.justify),i["ɵɵadvance"](1),i["ɵɵtextInterpolate1"](" ",n.headerText," ")}}function nt(t,e){if(1&t&&(i["ɵɵelementStart"](0,"td",4),i["ɵɵtext"](1),i["ɵɵelementEnd"]()),2&t){var n=e.$implicit,o=i["ɵɵnextContext"]();i["ɵɵstyleProp"]("text-align",o.justify),i["ɵɵadvance"](1),i["ɵɵtextInterpolate1"](" ",o.dataAccessor(n,o.name)," ")}}var it=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stickyCssClass="mat-table-sticky",e}Object(o.c)(e,t),e.ɵfac=function(t){return n(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],exportAs:["matTable"],features:[i["ɵɵProvidersFeature"]([{provide:H,useExisting:e},{provide:_,useExisting:e}]),i["ɵɵInheritDefinitionFeature"]],ngContentSelectors:tt,decls:4,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(i["ɵɵprojectionDef"](X),i["ɵɵprojection"](0),i["ɵɵelementContainer"](1,0),i["ɵɵelementContainer"](2,1),i["ɵɵelementContainer"](3,2))},directives:[B,z,q],styles:['mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type,[dir=rtl] mat-header-cell:first-of-type,[dir=rtl] mat-footer-cell:first-of-type{padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type,[dir=rtl] mat-header-cell:last-of-type,[dir=rtl] mat-footer-cell:last-of-type{padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type,[dir=rtl] td.mat-cell:first-of-type,[dir=rtl] td.mat-footer-cell:first-of-type{padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type,[dir=rtl] td.mat-cell:last-of-type,[dir=rtl] td.mat-footer-cell:last-of-type{padding-right:0;padding-left:24px}\n'],encapsulation:2});var n=i["ɵɵgetInheritedFactory"](e);return e}(H),ot=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Object(o.c)(e,t),e.ɵfac=function(t){return n(t||e)},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","matCellDef",""]],features:[i["ɵɵProvidersFeature"]([{provide:x,useExisting:e}]),i["ɵɵInheritDefinitionFeature"]]});var n=i["ɵɵgetInheritedFactory"](e);return e}(x),rt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Object(o.c)(e,t),e.ɵfac=function(t){return n(t||e)},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","matHeaderCellDef",""]],features:[i["ɵɵProvidersFeature"]([{provide:w,useExisting:e}]),i["ɵɵInheritDefinitionFeature"]]});var n=i["ɵɵgetInheritedFactory"](e);return e}(w),at=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Object(o.c)(e,t),e.ɵfac=function(t){return n(t||e)},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","matFooterCellDef",""]],features:[i["ɵɵProvidersFeature"]([{provide:S,useExisting:e}]),i["ɵɵInheritDefinitionFeature"]]});var n=i["ɵɵgetInheritedFactory"](e);return e}(S),st=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Object(o.c)(e,t),e.propDecorators={name:[{type:i.Input,args:["matColumnDef"]}]},e.ɵfac=function(t){return n(t||e)},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[i["ɵɵProvidersFeature"]([{provide:P,useExisting:e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),i["ɵɵInheritDefinitionFeature"]]});var n=i["ɵɵgetInheritedFactory"](e);return e}(P),lt=function(t){function e(e,n){var i=t.call(this,e,n)||this;return n.nativeElement.classList.add("mat-column-"+e.cssClassFriendlyName),i}return Object(o.c)(e,t),e.ctorParameters=function(){return[{type:P},{type:i.ElementRef}]},e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](P),i["ɵɵdirectiveInject"](i.ElementRef))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[i["ɵɵInheritDefinitionFeature"]]}),e}(M),ct=function(t){function e(e,n){var i=t.call(this,e,n)||this;return n.nativeElement.classList.add("mat-column-"+e.cssClassFriendlyName),i}return Object(o.c)(e,t),e.ctorParameters=function(){return[{type:P},{type:i.ElementRef}]},e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](P),i["ɵɵdirectiveInject"](i.ElementRef))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:["role","gridcell",1,"mat-footer-cell"],features:[i["ɵɵInheritDefinitionFeature"]]}),e}(k),ut=function(t){function e(e,n){var i=t.call(this,e,n)||this;return n.nativeElement.classList.add("mat-column-"+e.cssClassFriendlyName),i}return Object(o.c)(e,t),e.ctorParameters=function(){return[{type:P},{type:i.ElementRef}]},e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](P),i["ɵɵdirectiveInject"](i.ElementRef))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[i["ɵɵInheritDefinitionFeature"]]}),e}(E),dt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Object(o.c)(e,t),e.ɵfac=function(t){return n(t||e)},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[i["ɵɵProvidersFeature"]([{provide:D,useExisting:e}]),i["ɵɵInheritDefinitionFeature"]]});var n=i["ɵɵgetInheritedFactory"](e);return e}(D),pt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Object(o.c)(e,t),e.ɵfac=function(t){return n(t||e)},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[i["ɵɵProvidersFeature"]([{provide:T,useExisting:e}]),i["ɵɵInheritDefinitionFeature"]]});var n=i["ɵɵgetInheritedFactory"](e);return e}(T),mt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Object(o.c)(e,t),e.ɵfac=function(t){return n(t||e)},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[i["ɵɵProvidersFeature"]([{provide:R,useExisting:e}]),i["ɵɵInheritDefinitionFeature"]]});var n=i["ɵɵgetInheritedFactory"](e);return e}(R),ht=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Object(o.c)(e,t),e.ɵfac=function(t){return n(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[i["ɵɵProvidersFeature"]([{provide:A,useExisting:e}]),i["ɵɵInheritDefinitionFeature"]],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&i["ɵɵelementContainer"](0,0)},directives:[j],encapsulation:2});var n=i["ɵɵgetInheritedFactory"](e);return e}(A),ft=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Object(o.c)(e,t),e.ɵfac=function(t){return n(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[i["ɵɵProvidersFeature"]([{provide:F,useExisting:e}]),i["ɵɵInheritDefinitionFeature"]],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&i["ɵɵelementContainer"](0,0)},directives:[j],encapsulation:2});var n=i["ɵɵgetInheritedFactory"](e);return e}(F),gt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Object(o.c)(e,t),e.ɵfac=function(t){return n(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[i["ɵɵProvidersFeature"]([{provide:N,useExisting:e}]),i["ɵɵInheritDefinitionFeature"]],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&i["ɵɵelementContainer"](0,0)},directives:[j],encapsulation:2});var n=i["ɵɵgetInheritedFactory"](e);return e}(N),vt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Object(o.c)(e,t),e.ɵfac=function(t){return n(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["mat-text-column"]],features:[i["ɵɵInheritDefinitionFeature"]],decls:3,vars:0,consts:[["matColumnDef",""],["mat-header-cell","",3,"text-align",4,"matHeaderCellDef"],["mat-cell","",3,"text-align",4,"matCellDef"],["mat-header-cell",""],["mat-cell",""]],template:function(t,e){1&t&&(i["ɵɵelementContainerStart"](0,0),i["ɵɵtemplate"](1,et,2,3,"th",1),i["ɵɵtemplate"](2,nt,2,3,"td",2),i["ɵɵelementContainerEnd"]())},directives:[st,rt,ot,lt,ut],encapsulation:2});var n=i["ɵɵgetInheritedFactory"](e);return e}(Q),bt=function(){function t(){}return t.ɵmod=i["ɵɵdefineNgModule"]({type:t}),t.ɵinj=i["ɵɵdefineInjector"]({factory:function(e){return new(e||t)},imports:[[W,Z.MatCommonModule],Z.MatCommonModule]}),("undefined"==typeof ngJitMode||ngJitMode)&&i["ɵɵsetNgModuleScope"](t,{declarations:function(){return[it,rt,dt,st,ot,mt,at,pt,lt,ut,ct,ht,gt,ft,vt]},imports:function(){return[W,Z.MatCommonModule]},exports:function(){return[Z.MatCommonModule,it,rt,dt,st,ot,mt,at,pt,lt,ut,ct,ht,gt,ft,vt]}}),t}(),yt=function(t){function e(e){void 0===e&&(e=[]);var n=t.call(this)||this;return n._renderData=new d.a([]),n._filter=new d.a(""),n._internalPageChanges=new u.a,n._renderChangesSubscription=$.a.EMPTY,n.sortingDataAccessor=function(t,e){var n=t[e];if(Object(a.a)(n)){var i=Number(n);return i<9007199254740991?i:n}return n},n.sortData=function(t,e){var i=e.active,o=e.direction;return i&&""!=o?t.sort(function(t,e){var r=n.sortingDataAccessor(t,i),a=n.sortingDataAccessor(e,i),s=0;return null!=r&&null!=a?r>a?s=1:r<a&&(s=-1):null!=r?s=1:null!=a&&(s=-1),s*("asc"==o?1:-1)}):t},n.filterPredicate=function(t,e){var n=Object.keys(t).reduce(function(e,n){return e+t[n]+"◬"},"").toLowerCase(),i=e.trim().toLowerCase();return-1!=n.indexOf(i)},n._data=new d.a(e),n._updateChangeSubscription(),n}return Object(o.c)(e,t),Object.defineProperty(e.prototype,"data",{get:function(){return this._data.value},set:function(t){this._data.next(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filter",{get:function(){return this._filter.value},set:function(t){this._filter.next(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sort",{get:function(){return this._sort},set:function(t){this._sort=t,this._updateChangeSubscription()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paginator",{get:function(){return this._paginator},set:function(t){this._paginator=t,this._updateChangeSubscription()},enumerable:!0,configurable:!0}),e.prototype._updateChangeSubscription=function(){var t=this,e=this._sort?Object(K.a)(this._sort.sortChange,this._sort.initialized):Object(m.a)(null),n=this._paginator?Object(K.a)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Object(m.a)(null),i=this._data,r=Object(Y.b)([i,this._filter]).pipe(Object(J.a)(function(e){var n=Object(o.f)(e,1)[0];return t._filterData(n)})),a=Object(Y.b)([r,e]).pipe(Object(J.a)(function(e){var n=Object(o.f)(e,1)[0];return t._orderData(n)})),s=Object(Y.b)([a,n]).pipe(Object(J.a)(function(e){var n=Object(o.f)(e,1)[0];return t._pageData(n)}));this._renderChangesSubscription.unsubscribe(),this._renderChangesSubscription=s.subscribe(function(e){return t._renderData.next(e)})},e.prototype._filterData=function(t){var e=this;return this.filteredData=this.filter?t.filter(function(t){return e.filterPredicate(t,e.filter)}):t,this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData},e.prototype._orderData=function(t){return this.sort?this.sortData(t.slice(),this.sort):t},e.prototype._pageData=function(t){if(!this.paginator)return t;var e=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(e,e+this.paginator.pageSize)},e.prototype._updatePaginator=function(t){var e=this;Promise.resolve().then(function(){var n=e.paginator;if(n&&(n.length=t,n.pageIndex>0)){var i=Math.ceil(n.length/n.pageSize)-1||0,o=Math.min(n.pageIndex,i);o!==n.pageIndex&&(n.pageIndex=o,e._internalPageChanges.next())}})},e.prototype.connect=function(){return this._renderData},e.prototype.disconnect=function(){},e}(s.b);
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */}}]);
|