)|(<\/span>)|()|(<\/p>)/g,"")}),n.length>1)for(var l=0,i=0;il?l=t[i]:(t.splice(i,1),n[i+1]=n[i]+n[i+1],n.splice(i,1),--i);n=n.map(function(e){return e.replace(/(^\s+)|(\s+$)/g,"")});for(var i=0;in.length){this.transcrService.currentlevel.segments.segments.splice(n.length,a-n.length);this.transcrService.currentlevel.segments.get(n.length-1).time.samples=this.audiochunk.time.end.samples}},e.prototype.highlight=function(){var e=this.editor.html.replace(/ /g," "),n=[];e.replace(/\s?\s?/g,function(e,t,l){return n.push(Number(t)),""});for(var t=0,l=0;lt?(jQuery(".note-editable.panel-body img[data-samples]:eq("+l+")").css({"background-color":"white"}),t=n[l]):jQuery(".note-editable.panel-body img[data-samples]:eq("+l+")").css({"background-color":"red"})},e.prototype.update=function(){this.audiochunk.startpos=this.audiochunk.time.start,this.audioplayer.update(),this.loadEditor()},e.prototype.onSelectionChanged=function(e){},e.ctorParameters=function(){return[{type:fi},{type:vi},{type:Fi},{type:Ci},{type:Ri},{type:Oi}]},e}();wr.editorname="Editor without signal display",wr.initialized=new Wt.EventEmitter;var Sr,kr=[{name:wr.editorname,editor:wr,translate:"interfaces.simple editor",icon:''},{name:_r.editorname,editor:_r,translate:"interfaces.linear editor",icon:''},{name:yr.editorname,editor:yr,translate:"interfaces.2D editor",icon:''}],Or=function(){function e(e,n,t,l,i,r){this.appStorage=e,this.navbarServ=n,this.sanitizer=t,this.langService=l,this.modService=i,this.settService=r,this.test="ok",this.parentformat={download:"",uri:""},this.collapsed=!0,this.preparing={name:"",preparing:!1},this.subscrmanager=new ol}return Object.defineProperty(e.prototype,"converters",{get:function(){return hi.converters},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"AppInfo",{get:function(){return hi},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"transcrServ",{get:function(){return this.navbarServ.transcrService},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"uiService",{get:function(){return this.navbarServ.uiService},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"editors",{get:function(){return kr},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dat",{get:function(){return JSON.stringify(this.transcrServ.exportDataToJSON(),null,3)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"UIElements",{get:function(){return Object(Yt.isNullOrUndefined)(this.uiService)?null:this.uiService.elements},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.subscrmanager.destroy()},e.prototype.ngOnInit=function(){var e=this;this.subscrmanager.add(this.navbarServ.onclick.subscribe(function(n){switch(n){case"export":e.modalexport.open()}}))},e.prototype.ngAfterViewInit=function(){!function(e){e(function(){e(document).on("click",".options-menu",function(e){e.stopPropagation()})})}(jQuery),jQuery(document).on("mouseleave",".navbar-collapse.collapse.in",function(e){jQuery(".navbar-header button").click()}),setTimeout(function(){jQuery.material.init()},200)},e.prototype.setInterface=function(e){this.appStorage.Interface=e,this.navbarServ.interfacechange.emit(e)},e.prototype.onNavBarLeave=function(e){e.target.click()},e.prototype.getTextFile=function(){},e.prototype.sanitize=function(e){return this.sanitizer.bypassSecurityTrustUrl(e)},e.prototype.changeLanguage=function(e){this.langService.use(e),this.appStorage.language=e},e.prototype.interfaceActive=function(e){return!Object(Yt.isNullOrUndefined)(this.navbarServ.interfaces.find(function(n){return e===n}))},e.prototype.toggleSettings=function(e){this.appStorage[e]=!this.appStorage[e],"logging"===e&&(this.uiService.enabled=this.appStorage[e])},e.prototype.onOptionsOpened=function(){this.collapsed=!0},e.prototype.openBugReport=function(){this.modService.show("bugreport")},e.prototype.updateParentFormat=function(e){var n=this;if(!this.preparing.preparing){var t=this.navbarServ.transcrService.annotation.getObj();this.preparing={name:e.name,preparing:!0},setTimeout(function(){"Bundle"===e.name&&(n.navbarServ.transcrService.audiofile.arraybuffer=n.transcrServ.audiomanager.ressource.arraybuffer);var l=e.export(t,n.navbarServ.transcrService.audiofile).file;n.parentformat.download=l.name,window.URL=window.URL||window.webkitURL||!1,null!==n.parentformat.uri&&window.URL.revokeObjectURL(n.parentformat.uri.toString());var i=new File([l.content],l.name),r=window.URL.createObjectURL(i);n.parentformat.uri=n.sanitize(r),n.preparing={name:e.name,preparing:!1}},300)}},e.prototype.getAudioURI=function(){if(Object(Yt.isNullOrUndefined)(this.transcrServ)||Object(Yt.isNullOrUndefined)(this.transcrServ.audiomanager.ressource.arraybuffer))console.error("can't get audio file");else{this.preparing={name:"Audio",preparing:!0},this.parentformat.download=this.transcrServ.audiomanager.ressource.name+this.transcrServ.audiomanager.ressource.extension,window.URL=window.URL||window.webkitURL||!1,null!==this.parentformat.uri&&window.URL.revokeObjectURL(this.parentformat.uri.toString());var e=new File([this.transcrServ.audiomanager.ressource.arraybuffer],this.parentformat.download),n=window.URL.createObjectURL(e);this.parentformat.uri=this.sanitize(n),this.preparing={name:"Audio",preparing:!1}}},e.prototype.getProtocol=function(){if(Object(Yt.isNullOrUndefined)(this.transcrServ))console.error("can't get protocol file");else{this.preparing={name:"Protocol",preparing:!0},this.parentformat.download=this.transcrServ.audiofile.name+".json",window.URL=window.URL||window.webkitURL||!1,null!==this.parentformat.uri&&window.URL.revokeObjectURL(this.parentformat.uri.toString());var e=new File([JSON.stringify(this.transcrServ.extractUI(this.uiService.elements),null,2)],this.parentformat.download),n=window.URL.createObjectURL(e);this.parentformat.uri=this.sanitize(n),this.preparing={name:"Protocol",preparing:!1}}},Object.defineProperty(e.prototype,"arraybufferExists",{get:function(){return!Object(Yt.isNullOrUndefined)(this.transcrServ)&&!Object(Yt.isNullOrUndefined)(this.transcrServ.audiomanager.ressource.arraybuffer)&&this.transcrServ.audiomanager.ressource.arraybuffer.byteLength>0},enumerable:!0,configurable:!0}),e.prototype.getText=function(){return Object(Yt.isNullOrUndefined)(this.transcrServ)?"":this.navbarServ.transcrService.getTranscriptString(new Dl)},e.prototype.clearElements=function(){this.uiService.clear(),this.appStorage.clearLoggingData().catch(function(e){console.error(e)})},e.prototype.onLevelNameClick=function(e){jQuery(e.target).addClass("selected")},e.prototype.onLevelNameLeave=function(e,n){var t=this;if(jQuery(e.target).removeClass("selected"),null!==e.target.value&&""!==e.target.value){var l=this.transcrServ.annotation.levels[n];l.name=e.target.value.replace(" ","_"),this.appStorage.changeAnnotationLevel(n,l.getObj()).catch(function(e){console.error(e)}).then(function(){t.transcrServ.annotation.levels[n].name=e.target.value.replace(" ","_")})}else e.target.value=this.transcrServ.annotation.levels[n].name},e.prototype.onLevelAddClick=function(){for(var e=this,n=this.transcrServ.annotation.levels.length,t="Tier_"+(n+1),l=n;function(n){for(var t=0;t1&&t.appStorage.removeAnnotationLevel(e,n).catch(function(e){console.error(e)}).then(function(){t.transcrServ.annotation.levels.splice(e,1),e<=t.transcrServ.selectedlevel&&(t.transcrServ.selectedlevel=e-1)}),t.collapsed=!1},no:function(){t.collapsed=!1}})},e.prototype.onLevelDuplicateClick=function(e,n){var t=this,l=this.transcrServ.annotation.levels[e].clone();this.appStorage.addAnnotationLevel(l.getObj()).then(function(){t.transcrServ.annotation.levels.push(l)}).catch(function(e){console.error(e)})},e.prototype.selectLevel=function(e){this.transcrServ.selectedlevel=e},e.ctorParameters=function(){return[{type:Oi},{type:Pi},{type:Kt.c},{type:Ht.c},{type:mi},{type:Ri}]},e}(),xr=function(){function e(e,n,t,i,r,o,u,a,s,c,d,p,h,f){var g=this;this.router=e,this._componentFactoryResolver=n,this.audio=t,this.uiService=i,this.transcrService=r,this.appStorage=o,this.keyMap=u,this.changeDetecorRef=a,this.navbarServ=s,this.settingsService=c,this.modService=d,this.langService=p,this.api=h,this.bugService=f,this.send_error="",this.showdetails=!1,this.saving="",this.interface="",this.send_ok=!1,this.shortcutslist=[],this.editorloaded=!1,this.feedback_data={},this.level_subscription_id=0,this.feedback_expanded=!1,this.platform=nl.platform,this.abortTranscription=function(){g.appStorage.uselocalmode||g.saveFeedbackform(),g.transcrService.endTranscription(),g.router.navigate(["/logout"])},this.onSendError=function(e){return g.send_error=e.message,xi.Observable.throw(e)},this.subscrmanager=new ol,this.audiomanager=this.audio.audiomanagers[0],this.navbarServ.transcrService=this.transcrService,this.navbarServ.uiService=this.uiService,this.appStorage.uselocalmode||(this.appStorage.logging=this.settingsService.projectsettings.logging.forced),this.uiService.enabled=this.appStorage.logging,this.subscrmanager.add(this.audiomanager.statechange.subscribe(function(e){if(!g.audiomanager.playonhover){var n=-1;Object(Yt.isNullOrUndefined)(g.currentEditor.instance.editor)||(n=g.currentEditor.instance.editor.caretpos),e!==rl.PLAYING&&e!==rl.INITIALIZED&&e!==rl.PREPARE&&g.uiService.addElementFromEvent("audio",{value:l(e).toLowerCase()},Date.now(),g.audiomanager.playposition,n,g.appStorage.Interface)}})),this.interface=this.appStorage.Interface}return Object.defineProperty(e.prototype,"currentEditor",{get:function(){return this._currentEditor},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"loaded",{get:function(){return this.audio.loaded&&!Object(Yt.isNullOrUndefined)(this.transcrService.guidelines)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"appc",{get:function(){return this.settingsService.app_settings},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"projectsettings",{get:function(){return this.settingsService.projectsettings},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"responsive",{get:function(){return this.settingsService.responsive.enabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"app_settings",{get:function(){return this.settingsService.app_settings},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){},e.prototype.ngAfterContentChecked=function(){},e.prototype.ngOnInit=function(){var e=this;this.navbarServ.interfaces=this.projectsettings.interfaces,this.loadForm(),this.transcrService.guidelines=this.settingsService.guidelines,this.subscrmanager.add(this.settingsService.guidelinesloaded.subscribe(function(n){e.transcrService.guidelines=n}));for(var n=0;n)|(>)/g,"s")),this.appStorage.comment=this.transcrService.feedback.comment;for(var e in this.feedback_data)this.feedback_data.hasOwnProperty(e)&&this.changeValue(e,this.feedback_data[e]);this.appStorage.save("feedback",this.transcrService.feedback.exportData())},e.prototype.changeValue=function(e,n){var t=this.transcrService.feedback.setValueForControl(e,n.toString());console.warn(t)},e.prototype.translate=function(e,n){if(Object(Yt.isNullOrUndefined)(e[n]))for(var t in e)if(e.hasOwnProperty(t))return e[t];return e[n]},e.prototype.loadForm=function(){var e=this.transcrService.feedback;if(!Object(Yt.isNullOrUndefined)(this.settingsService.projectsettings)&&!Object(Yt.isNullOrUndefined)(e))for(var n in e.groups)if(!Object(Yt.isNullOrUndefined)(n)){var t=e.groups[n];for(var l in t.controls)if(!Object(Yt.isNullOrUndefined)(l)){var i=t.controls[l];"textarea"===i.type.type?this.feedback_data[t.name]=i.value:"checkbox"===i.type.type||Object(Yt.isNullOrUndefined)(i.custom)||Object(Yt.isNullOrUndefined)(i.custom.checked)||!i.custom.checked||(this.feedback_data[t.name]=i.value)}}},e.prototype.onSendNowClick=function(){var e=this;this.modal.dismiss(),this.modal2.open(),this.send_ok=!0;var n=this.transcrService.exportDataToJSON();this.subscrmanager.add(this.api.saveSession(n.transcript,n.project,n.annotator,n.jobno,n.id,n.status,n.comment,n.quality,n.log).catch(this.onSendError).subscribe(function(n){null!==n&&n.hasOwnProperty("statusText")&&"OK"===n.statusText?(e.appStorage.submitted=!0,setTimeout(function(){e.modal2.close(),setTimeout(function(){e.nextTranscription()},1e3)},2e3)):e.send_error=e.langService.instant("send error")}))},e.prototype.onSendButtonClick=function(){this.feedback_form.valid?(this.saveFeedbackform(),this.modal.open()):this.feedback_expanded||this.expandFeedback()},e.prototype.nextTranscription=function(){var e=this;this.transcrService.endTranscription(!1),this.clearData(),this.subscrmanager.add(this.api.beginSession(this.appStorage.user.project,this.appStorage.user.id,Number(this.appStorage.user.jobno),"").subscribe(function(n){if(null!==n){var t=n.json();if(t.data&&t.data.hasOwnProperty("url")&&t.data.hasOwnProperty("id")){if(e.appStorage.audio_url=t.data.url,e.appStorage.data_id=t.data.id,t.data.hasOwnProperty("transcript")){var l=JSON.parse(t.data.transcript);Object(Yt.isArray)(l)&&l.length>0&&(e.appStorage.servertranscipt=l)}t.hasOwnProperty("message")&&Object(Yt.isNumber)(t.message)&&(e.appStorage.jobs_left=Number(t.message)),e.router.navigate(["/user/load"])}else e.appStorage.submitted=!0,e.router.navigate(["/user/transcr/end"])}}))},e.prototype.clearData=function(){this.appStorage.submitted=!1,this.appStorage.clearAnnotationData().catch(function(e){console.error(e)}),this.appStorage.idb.save("options","feedback",{value:null}),this.appStorage.comment="",this.appStorage.clearLoggingData().catch(function(e){console.error(e)}),this.uiService.elements=[],this.settingsService.clearSettings()},e.prototype.checkBoxChanged=function(e,n){for(var t=0;t0){for(var n="",t=0;t"),this.errortooltip.addClass("error-tooltip"),this.errortooltip.append(jQuery("").addClass("title").text("Title")),this.errortooltip.append(jQuery("").addClass("description").text("")),this.errortooltip.on("mouseleave",function(){jQuery(this).css("display","none")}),this.errortooltip.on("mouseout",function(){jQuery(this).css("display","none")}),jQuery("body").append(this.errortooltip),this.errortooltip=jQuery(".error-tooltip"),this.visible&&(this.updateSegments(),this.cd.markForCheck(),this.cd.detectChanges())},e.prototype.ngOnChanges=function(e){this.show_loading=!0,Object(Yt.isNullOrUndefined)(e.visible)||!0!==e.visible.currentValue?Object(Yt.isNullOrUndefined)(e.visible)||!1!==e.visible.currentValue||jQuery(".error-tooltip").css("display","none"):(this.updateSegments(),this.transcrService.analyse())},e.prototype.onSegmentClicked=function(e){this.segmentclicked.emit(e)},e.ctorParameters=function(){return[{type:Fi},{type:fi},{type:Kt.c},{type:Wt.ChangeDetectorRef}]},e}(),jr=function(){function e(e,n,t,l,i,r){var o=this;this.keyMap=e,this.transcrService=n,this.audio=t,this.uiService=l,this.settingsService=i,this.appStorage=r,this.act=new Wt.EventEmitter,this.easymode=!1,this.showWindow=!1,this.pos_y=0,this.doit=function(e){o.audiomanager.audioplaying&&o.loupe.viewer.stopPlayback(),o.save(),"down"!==e?(o.goToSegment(e),setTimeout(function(){o.loupe.viewer.startPlayback()},500)):o.close()},this.onKeyDown=function(e){switch(e.comboKey){case"ALT + ARROWRIGHT":e.event.preventDefault(),o.doit("right");break;case"ALT + ARROWLEFT":e.event.preventDefault(),o.doit("left");break;case"ALT + ARROWDOWN":e.event.preventDefault(),o.doit("down");break;case"ESC":o.doit("down")}},this.subscrmanager=new ol}return Object.defineProperty(e.prototype,"shortcuttriggered",{get:function(){return this.loupe.shortcuttriggered},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"marker_insert",{get:function(){return this.editor.marker_insert},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"marker_click",{get:function(){return this.editor.marker_click},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"app_settings",{get:function(){return this.settingsService.app_settings},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"projectsettings",{get:function(){return this.settingsService.projectsettings},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"responsive",{get:function(){return this.settingsService.responsive.enabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"audiomanager",{get:function(){return this.audiochunk.audiomanager},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ressource",{get:function(){return this.audiochunk.audiomanager.ressource},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.editor.Settings.markers=this.transcrService.guidelines.markers,this.editor.Settings.responsive=this.settingsService.responsive.enabled,this.editor.Settings.special_markers.boundary=!0,this.loupe.viewer.Settings.justify_signal_height=!0,this.loupe.viewer.round_values=!1;var n=this.transcrService.currentlevel.segments;this.temp_segments=n.clone(),this.subscrmanager.add(this.editor.loaded.subscribe(function(){e.segment_index>-1&&e.transcrService.currentlevel.segments&&e.segment_index-1&&this.transcrService.currentlevel.segments&&this.segment_index-1)this.transcrService.currentlevel.segments.segments=this.temp_segments.segments,this.transcrService.currentlevel.segments.onsegmentchange.emit(null);else{var e=this.transcrService.currentlevel.segments.get(this.segment_index).clone();e.transcript=this.editor.rawText,this.transcrService.currentlevel.segments.change(this.segment_index,e)}},e.prototype.onButtonClick=function(e){if(this.appStorage.logging){var n={start:-1,length:-1,textlength:-1};if(this.segment_index>-1){var t=this.transcrService.currentlevel.segments.get(this.segment_index);n.start=t.time.samples,n.length=this.segment_index-1&&this.transcrService.currentlevel.segments&&this.segment_index0){var l=this.segment_index-1;for(l=this.segment_index-1;l>0;l--)if(this.transcrService.currentlevel.segments.get(l).transcript!==this.transcrService.break_marker.code){t=this.transcrService.currentlevel.segments.get(l),this.segment_index=l;break}this.transcrService.currentlevel.segments.get(l).transcript!==this.transcrService.break_marker.code&&(t=this.transcrService.currentlevel.segments.get(l),this.segment_index=l)}var i=new Jt(0,this.audiomanager.ressource.info.samplerate);this.segment_index>0&&(i=this.transcrService.currentlevel.segments.get(this.segment_index-1).time.clone()),Object(Yt.isNullOrUndefined)(t)?console.error("segment is null"):(this.editor.rawText=this.transcrService.currentlevel.segments.get(this.segment_index).transcript,this.audiochunk=new ul(new il(i,t.time.clone()),this.audiochunk.audiomanager))}},e.prototype.editor_rawText=function(e){this.editor.rawText=e},e.prototype.onShortCutTriggered=function(e,n){var t={start:-1,length:-1,textlength:-1};if(this.segment_index>-1){var l=this.transcrService.currentlevel.segments.get(this.segment_index);t.start=l.time.samples,t.length=this.segment_index-1){var t=this.transcrService.currentlevel.segments.get(this.segment_index);n.start=t.time.samples,n.length=this.segment_index-1){var t=this.transcrService.currentlevel.segments.get(this.segment_index);n.start=t.time.samples,n.length=this.segment_index-1){var t=this.transcrService.currentlevel.segments.get(this.segment_index);n.start=t.time.samples,n.length=this.segment_index-1){var t=this.transcrService.currentlevel.segments.get(this.segment_index);n.start=t.time.samples,n.length=this.segment_index-1){var t=n>0?this.temp_segments.get(n-1).time.samples:0;this.audiochunk.startpos=new Jt(t,this.audiomanager.ressource.info.samplerate),this.audiochunk.selection.end=this.temp_segments.get(n).time.clone(),this.loupe.viewer.av.drawnselection=this.audiochunk.selection,this.loupe.viewer.drawSegments(),this.loupe.viewer.startPlayback()}},e.prototype.afterTyping=function(e){"stopped"===e&&(this.saveTranscript(),this.highlight())},e.prototype.saveTranscript=function(){var e=this.transcrService.currentlevel.segments.getSegmentBySamplePosition(this.audiochunk.time.start.samples+20);this.temp_segments=this.transcrService.currentlevel.segments.clone();var n=this.editor.html.replace(/ /g," "),t=n.split(/\s?\s?/g),l=[];if(n.replace(/\s?\s?/g,function(e,n,t){return l.push(Number(n)),""}),t=t.map(function(e){return e.replace(/()|(<\/span>)|()|(<\/p>)/g,"")}),t.length>1)for(var i=0,r=0;ri?i=l[r]:(l.splice(r,1),t[r+1]=t[r]+t[r+1],t.splice(r,1),--r);for(var r=0;r\s?/g,function(e,t,l){return n.push(Number(t)),""});for(var t=0,l=0;lt?(jQuery(".note-editable.panel-body img[data-samples]:eq("+l+")").css({"background-color":"white"}),t=n[l]):jQuery(".note-editable.panel-body img[data-samples]:eq("+l+")").css({"background-color":"red"})},e.ctorParameters=function(){return[{type:vi},{type:Fi},{type:fi},{type:Ci},{type:Ri},{type:Oi}]},e}(),Rr=function(){function e(e,n,t,l,i,r){var o=this;this.router=e,this.appStorage=n,this.transcrServ=t,this.modService=l,this.langService=i,this.audioService=r,this.error="",this.navigate=function(){o.router.navigate(["/user/load"])},this.abortTranscription=function(){o.transcrServ.endTranscription(),o.router.navigate(["/logout"])},this.newTranscription=function(){var e=!1,n=function(){o.audioService.registerAudioManager(o.dropzone.audiomanager),o.appStorage.beginLocalSession(o.dropzone.files,e,o.navigate,function(e){"file not supported"===e&&o.showErrorMessage(o.langService.instant("reload-file.file not supported",{type:""}))})};if(Object(Yt.isNullOrUndefined)(o.dropzone.oannotation))n();else{for(var t=[],l=0;l");for(var n in e)if(!Object(Yt.isNullOrUndefined)(e[n]))return e[n].replace("\n","
")},e.prototype.logout=function(){this.settService.clearSettings(),this.router.navigate(["/logout"])},e.prototype.accept=function(){Object(Yt.isNullOrUndefined)(this.appStorage.agreement)&&(this.appStorage.agreement={}),this.appStorage.agreement[this.appStorage.user.project]=!0,this.appStorage.sessStr.store("agreement",this.appStorage.agreement),this.router.navigate(["/user/transcr"])},e.ctorParameters=function(){return[{type:Ri},{type:hr.k},{type:Ht.c},{type:Oi}]},e}(),Dr=function(){function e(e,n,t,l){this.sanitizer=e,this.cd=n,this.settService=t,this.navService=l}return Object.defineProperty(e.prototype,"projectsettings",{get:function(){return this.settService.projectsettings},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.navService.show_interfaces=!1,this.navService.show_export=!1},e.prototype.ngOnChanges=function(e){Object(Yt.isNullOrUndefined)(e.url)||(this.cd.markForCheck(),this.cd.checkNoChanges())},Object.defineProperty(e.prototype,"sanitized_url",{get:function(){return this.sanitizer.bypassSecurityTrustResourceUrl(this.projectsettings.navigation.help_url)},enumerable:!0,configurable:!0}),e.ctorParameters=function(){return[{type:Kt.c},{type:Wt.ChangeDetectorRef},{type:Ri},{type:Pi}]},e}(),Lr=[{path:"load",component:fr},{path:"agreement",component:Ar,canActivate:[Tr]},{path:"transcr",component:xr,canActivate:[Er,Tr]},{path:"transcr/help",component:Dr,canActivate:[Er,Tr]},{path:"transcr/end",component:Cr,canActivate:[Nr]},{path:"transcr/reload-file",component:Rr,canActivate:[Ir]},{path:"",redirectTo:"/user/load",pathMatch:"full"}],Ur=function(){function e(e,n){this.appStorage=e,this.router=n}return e.prototype.canActivate=function(e,n){return!0!==this.appStorage.LoggedIn||(this.router.navigate(["/user/transcr"]),!1)},e.ctorParameters=function(){return[{type:Oi},{type:hr.k}]},e}(),zr=function(){function e(e,n){this.appStorage=e,this.router=n}return e.prototype.canActivate=function(e,n){return!!this.appStorage.logged_in||(this.router.navigate(["/user/transcr"]),!1)},e.ctorParameters=function(){return[{type:Oi},{type:hr.k}]},e}(),Fr=function(){function e(e,n,t){this.appStorage=e,this.router=n,this.settingsService=t}return e.prototype.canActivate=function(e,n){return Object(Yt.isNullOrUndefined)(this.settingsService.app_settings)?this.settingsService.settingsloaded.first():this.settingsService.validated},e.ctorParameters=function(){return[{type:Oi},{type:hr.k},{type:Ri}]},e}(),Br=function(){function e(e,n,t,l){this.sanitizer=e,this.cd=n,this.settService=t,this.navService=l}return Object.defineProperty(e.prototype,"projectsettings",{get:function(){return this.settService.projectsettings},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.navService.show_interfaces=!1,this.navService.show_export=!1},e.prototype.ngOnChanges=function(e){Object(Yt.isNullOrUndefined)(e.url)||(this.cd.markForCheck(),this.cd.checkNoChanges())},Object.defineProperty(e.prototype,"sanitized_url",{get:function(){return this.sanitizer.bypassSecurityTrustResourceUrl(this.projectsettings.navigation.help_url)},enumerable:!0,configurable:!0}),e.ctorParameters=function(){return[{type:Kt.c},{type:Wt.ChangeDetectorRef},{type:Ri},{type:Pi}]},e}(),Vr=function(){function e(e,n,t,l){this.sanitizer=e,this.cd=n,this.settService=t,this.navService=l}return Object.defineProperty(e.prototype,"projectsettings",{get:function(){return this.settService.projectsettings},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.navService.show_interfaces=!1,this.navService.show_export=!1},e.prototype.ngOnChanges=function(e){Object(Yt.isNullOrUndefined)(e.url)||(this.cd.markForCheck(),this.cd.checkNoChanges())},Object.defineProperty(e.prototype,"sanitized_url",{get:function(){return this.sanitizer.bypassSecurityTrustResourceUrl(this.projectsettings.navigation.help_url)},enumerable:!0,configurable:!0}),e.ctorParameters=function(){return[{type:Kt.c},{type:Wt.ChangeDetectorRef},{type:Ri},{type:Pi}]},e}(),Wr=function(){function e(e,n){var t=this;this.appStorage=e,this.api=n,this.subscrmanager=new ol,this.setOnlineSessionToFree=function(e){t.subscrmanager.add(t.api.fetchAnnotation(t.appStorage.data_id).subscribe(function(n){var l=n.json();l.data.hasOwnProperty("status")&&"BUSY"===l.data.status?t.subscrmanager.add(t.api.closeSession(t.appStorage.user.id,t.appStorage.data_id,"").subscribe(function(n){e()})):e()},function(){e()}))}}return e.prototype.ngOnInit=function(){},e.prototype.ngOnDestroy=function(){},e.prototype.clearAllData=function(){var e=this;this.appStorage.uselocalmode?this.appStorage.clearAnnotationData().then(function(){e.appStorage.clearLoggingData()}).then(function(){e.appStorage.clearLocalStorage()}).then(function(){alert("All cleared. The app will be reloaded."),document.location.reload(!0)}):this.setOnlineSessionToFree(function(){e.appStorage.clearAnnotationData().then(function(){e.appStorage.clearLoggingData()}).then(function(){e.appStorage.clearLocalStorage()}).then(function(){alert("All cleared. The app will be reloaded."),document.location.reload(!0)})})},e.prototype.refreshApp=function(){document.location.reload(!0)},e.ctorParameters=function(){return[{type:Oi},{type:Fl}]},e}(),qr=function(){function e(){}return e.prototype.ngOnInit=function(){},e.ctorParameters=function(){return[]},e}(),Kr=[{path:"",redirectTo:"/login",pathMatch:"full"},{path:"login",component:mr,canActivate:[Fr,Ur]},{path:"news",component:Br,canActivate:[Fr]},{path:"faq",component:Vr,canActivate:[Fr]},{path:"features",component:qr,canActivate:[Fr]},{path:"logout",component:vr,canActivate:[Fr,zr]},{path:"user",component:br,canActivate:[Fr],children:Lr},{path:"help-tools",component:Wr},{path:"**",redirectTo:"/login",pathMatch:"full"}],$r=hr.n.forRoot(Kr),Xr=function(){function e(){}return e.prototype.transform=function(e,n){return e&&e>-1?Math.round(100*e):0},e}(),Hr=function(){function e(){}return e.prototype.transform=function(e,n){return e&&e>-1?Math.round(100*e)/100:0},e}(),Qr=function(){function e(){}return e.prototype.transform=function(e,n){for(var t=0,l=0,i="",r=1;r0)for(var r=0;r-1);else{var r=videojs(l,{fluid:!0,autoplay:!1,preload:"auto"},function(){});this.video_players.push(r)}}}},e.prototype.open=function(){this.modal_guidelines.open()},e.prototype.close=function(){this.modal_guidelines.dismiss()},e.prototype.unCollapseAll=function(){this.collapsed=[];for(var e=0;e-1)this.shown_guidelines.instructions.push(t);else{var l=JSON.parse(JSON.stringify(t));l.entries=[];for(var i=0;i-1||r.description.indexOf(e)>-1)&&l.entries.push(r)}l.entries.length>0&&this.shown_guidelines.instructions.push(l)}}}else this.shown_guidelines=JSON.parse(JSON.stringify(this.guidelines))},e.prototype.exportPDF=function(){if(!(Object(Yt.isNullOrUndefined)(this.settService.projectsettings)||Object(Yt.isNullOrUndefined)(this.settService.projectsettings.plugins)||Object(Yt.isNullOrUndefined)(this.settService.projectsettings.plugins.pdfexport)||Object(Yt.isNullOrUndefined)(this.settService.projectsettings.plugins.pdfexport.url))){var e=jQuery("").attr("method","post").attr("target","blank").attr("action",this.settService.projectsettings.plugins.pdfexport.url).appendTo("body"),n={translation:this.lang.instant("general"),guidelines:this.guidelines},t=jQuery("").attr("name","json").attr("type","text").attr("value",JSON.stringify(n));e.append(t),e.submit().remove()}},e.ctorParameters=function(){return[{type:Fi},{type:Wt.ChangeDetectorRef},{type:Ht.c},{type:Ri}]},e}(),no=t("fL27"),to=t("ZBFC"),lo=t("Hm69"),io=function(){function e(e){var n=this;this.modService=e,this._files=[],this.subscrmanager=new ol,this.afterDrop=function(){n._oannotation=null;for(var e=0;e0)for(var e=0;e active",animation:{type:4,styles:null,timings:"300ms ease-in"},options:null},{type:1,expr:"active => inactive",animation:{type:4,styles:null,timings:"300ms ease-in"},options:null}],options:{}}]}}),Oo=Wt["\u0275ccf"]("app-login",mr,j,{},{},[]),xo=["iframe[_ngcontent-%COMP%]{width:100%;height:100%;-ms-flex:auto;flex:auto;border:none}[_nghost-%COMP%], iframe[_ngcontent-%COMP%]{-webkit-box-flex:1}[_nghost-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex:auto;flex:auto}"],Co=[xo],Po=Wt["\u0275crt"]({encapsulation:0,styles:Co,data:{}}),jo=Wt["\u0275ccf"]("app-news",Br,M,{url:"url"},{},[]),Ro=["iframe[_ngcontent-%COMP%]{width:100%;height:100%;-ms-flex:auto;flex:auto;border:none}[_nghost-%COMP%], iframe[_ngcontent-%COMP%]{-webkit-box-flex:1}[_nghost-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex:auto;flex:auto}"],Mo=[Ro],To=Wt["\u0275crt"]({encapsulation:0,styles:Mo,data:{}}),No=Wt["\u0275ccf"]("app-faq",Vr,N,{url:"url"},{},[]),Io=["iframe[_ngcontent-%COMP%]{width:100%;height:100%;-ms-flex:auto;flex:auto;border:none}[_nghost-%COMP%], iframe[_ngcontent-%COMP%]{-webkit-box-flex:1}[_nghost-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex:auto;flex:auto}"],Eo=[Io],Ao=Wt["\u0275crt"]({encapsulation:0,styles:Eo,data:{}}),Do=Wt["\u0275ccf"]("app-features",qr,E,{},{},[]),Lo=["#logout[_ngcontent-%COMP%]{text-align:center}"],Uo=[Lo],zo=Wt["\u0275crt"]({encapsulation:0,styles:Uo,data:{}}),Fo=Wt["\u0275ccf"]("app-login",vr,D,{},{},[]),Bo=["#members-area[_ngcontent-%COMP%]{position:relative}#members-area[_ngcontent-%COMP%], [_nghost-%COMP%]{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}"],Vo=[Bo],Wo=Wt["\u0275crt"]({encapsulation:0,styles:Vo,data:{}}),qo=Wt["\u0275ccf"]("app-members-area",br,U,{},{},[]),Ko=["#loading[_ngcontent-%COMP%]{text-align:center;padding:20px;margin-top:10%}#loading[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{margin-top:20px}.log[_ngcontent-%COMP%]{color:red;line-height:1.5}"],$o=[Ko],Xo=Wt["\u0275crt"]({encapsulation:0,styles:$o,data:{}}),Ho=Wt["\u0275ccf"]("app-loading",fr,K,{},{loaded:"loaded"},[]),Qo=["#agreement[_ngcontent-%COMP%]{max-width:800px;margin:0 auto;padding:20px;margin-top:20px}#agreement[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:.9em}#bottom-nav[_ngcontent-%COMP%]{margin-top:20px}"],Go=[Qo],Yo=Wt["\u0275crt"]({encapsulation:0,styles:Go,data:{}}),Jo=Wt["\u0275ccf"]("app-agreement",Ar,X,{},{},[]),Zo=["[_nghost-%COMP%]{-webkit-box-flex:1;-ms-flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;flex:1 0 auto}#rules[_ngcontent-%COMP%] .modal-content[_ngcontent-%COMP%], #rules[_ngcontent-%COMP%] .modal-dialog[_ngcontent-%COMP%]{width:100%}#feedback[_ngcontent-%COMP%] .col-xs-3[_ngcontent-%COMP%]{text-align:center}#feedback[_ngcontent-%COMP%]{padding:10px}#volume-slider[_ngcontent-%COMP%]{width:100%}.slider-descr[_ngcontent-%COMP%]{text-align:center;font-size:.7em}#shortcuts[_ngcontent-%COMP%]{display:none}.shortcut-descr[_ngcontent-%COMP%]{font-size:.6em}#rules[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] .table[_ngcontent-%COMP%]{font-size:.7em}#rules[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{height:25px}#saving[_ngcontent-%COMP%]{position:absolute;right:0;margin-right:5px}#bottom-feedback[_ngcontent-%COMP%]{border:1px solid #3f51b5;background-color:#fff;padding:5px;height:30px;position:absolute;bottom:0;margin-bottom:50px;width:100%;z-index:80;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}#bottom-feedback[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%]{display:none;-webkit-box-flex:1;-ms-flex:auto;flex:auto}.ctrl[_ngcontent-%COMP%]{margin-right:10px}.checkbox[_ngcontent-%COMP%], .ctrl[_ngcontent-%COMP%], .radio[_ngcontent-%COMP%]{display:inline}.form-group[_ngcontent-%COMP%]{margin-top:0}.required_marker[_ngcontent-%COMP%]{color:red}"],eu=[".red[_ngcontent-%COMP%]{background-color:#ff899d}.segment-number[_ngcontent-%COMP%]{padding:3px}.segment-warning[_ngcontent-%COMP%]{color:red}.found-errors[_ngcontent-%COMP%]{padding:5px;display:block;text-align:center}"],nu=[eu],tu=Wt["\u0275crt"]({encapsulation:0,styles:nu,data:{}}),lu=(Wt["\u0275ccf"]("app-transcr-overview",Pr,Z,{segments:"segments",show_transcriptiontable:"show_transcriptiontable",visible:"visible"},{segmentclicked:"segmentclicked"},[]),t("MvXP")),iu=t("oXBO"),ru=[".alert[_ngcontent-%COMP%]{top:0;right:0;position:fixed;margin-top:30px;width:30%;z-index:30}"],ou=[ru],uu=Wt["\u0275crt"]({encapsulation:0,styles:ou,data:{animation:[{type:7,name:"fadeToggle",definitions:[{type:0,name:"inactive",styles:{type:6,styles:{display:"none",opacity:"0.0"},offset:null},options:void 0},{type:0,name:"active",styles:{type:6,styles:{display:"inherit",opacity:"1.0"},offset:null},options:void 0},{type:1,expr:"inactive => active",animation:{type:4,styles:null,timings:"300ms ease-in"},options:null},{type:1,expr:"active => inactive",animation:{type:4,styles:null,timings:"300ms ease-in"},options:null}],options:{}}]}}),au=(Wt["\u0275ccf"]("app-alert",sr,ie,{},{},[]),t("+K1p")),su=t("vCyR"),cu=t("c9Yo"),du=t("8AR9"),pu=t("RoUE"),hu=t("t+dn"),fu=["#fastbar[_ngcontent-%COMP%]{font-size:.8em;text-align:center}#fastbar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#0095dd}#fastbar[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{text-align:center}.btn-group.btn-group-justified.btn-group-sm[_ngcontent-%COMP%]{margin:0}"],gu=[fu],mu=Wt["\u0275crt"]({encapsulation:0,styles:gu,data:{}}),vu=(Wt["\u0275ccf"]("app-fastbar",Mr,he,{responsive:"responsive",button_labels:"button_labels"},{shortcutbtnclicked:"shortcutbtnclicked",guidelinesbtnclicked:"guidelinesbtnclicked",overviewbtnclicked:"overviewbtnclicked"},[]),[".search[_ngcontent-%COMP%]{width:100%}.authors[_ngcontent-%COMP%], .project[_ngcontent-%COMP%]{display:block}.authors[_ngcontent-%COMP%], .project[_ngcontent-%COMP%], .version[_ngcontent-%COMP%]{color:gray;font-size:.8em}.col-priority[_ngcontent-%COMP%]{text-align:right}.guidelines-descr[_ngcontent-%COMP%]{font-size:.9em;padding-left:0}.guidelines-title[_ngcontent-%COMP%]{font-size:1em;font-weight:700;display:block}.panel-example[_ngcontent-%COMP%]{min-width:50%}.panel-title[_ngcontent-%COMP%]{font-size:.9em}.entry-row[_ngcontent-%COMP%]{margin-bottom:20px;padding:5px 0}.select-row[_ngcontent-%COMP%]{cursor:pointer;border-top:1px solid #00008b;border-bottom:1px solid #00008b;padding:5px;margin-bottom:5px}audio[_ngcontent-%COMP%]{width:100%;margin-bottom:5px}.modal-dialog[_ngcontent-%COMP%]{width:90%}.media[_ngcontent-%COMP%]{margin-bottom:10px}"]),bu=t("C2HG"),yu=[vu],_u=Wt["\u0275crt"]({encapsulation:0,styles:yu,data:{}}),wu=(Wt["\u0275ccf"]("app-transcr-guidelines",eo,Ce,{guidelines:"guidelines"},{},[]),[Zo]),Su=Wt["\u0275crt"]({encapsulation:0,styles:wu,data:{}}),ku=Wt["\u0275ccf"]("app-transcription",xr,pn,{},{},[]),Ou=["iframe[_ngcontent-%COMP%]{width:100%;height:100%;-ms-flex:auto;flex:auto;border:none}[_nghost-%COMP%], iframe[_ngcontent-%COMP%]{-webkit-box-flex:1}[_nghost-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex:auto;flex:auto}"],xu=[Ou],Cu=Wt["\u0275crt"]({encapsulation:0,styles:xu,data:{}}),Pu=Wt["\u0275ccf"]("app-help",Dr,fn,{url:"url"},{},[]),ju=["#transcr-end[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:center}#transcr-end[_ngcontent-%COMP%]{margin-top:10%}"],Ru=[ju],Mu=Wt["\u0275crt"]({encapsulation:0,styles:Ru,data:{}}),Tu=Wt["\u0275ccf"]("app-transcription-submitted",Cr,mn,{},{},[]),Nu=[""],Iu=[Nu],Eu=Wt["\u0275crt"]({encapsulation:0,styles:Iu,data:{}}),Au=Wt["\u0275ccf"]("app-reload-file",Rr,bn,{},{},[]),Du=["@media only screen and (min-width:768px){.is-table-row[_ngcontent-%COMP%]{display:table}.is-table-row[_ngcontent-%COMP%] [class*=col-][_ngcontent-%COMP%]{float:none;display:table-cell;vertical-align:top}}"],Lu=[Du],Uu=Wt["\u0275crt"]({encapsulation:0,styles:Lu,data:{}}),zu=Wt["\u0275ccf"]("app-help-tools",Wr,_n,{},{},[]),Fu=["[_nghost-%COMP%]{-webkit-box-flex:1;-ms-flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;flex:1 0 auto}"],Bu=[".slider[_ngcontent-%COMP%]{padding:0}.slider-descr[_ngcontent-%COMP%]{font-size:.7em;vertical-align:middle;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;margin-bottom:3px}.shortcut-descr[_ngcontent-%COMP%]{font-size:.6em}.audio-nav[_ngcontent-%COMP%]{margin-bottom:3px}.audio-nav[_ngcontent-%COMP%] .btn-toolbar[_ngcontent-%COMP%]{margin-left:0}.audio-nav[_ngcontent-%COMP%] .btn-group[_ngcontent-%COMP%]{margin:0}.audio-nav[_ngcontent-%COMP%] .col-xs-1[_ngcontent-%COMP%]{padding:0}.btn-description[_ngcontent-%COMP%]{font-size:.9em}"],Vu=[Bu],Wu=Wt["\u0275crt"]({encapsulation:0,styles:Vu,data:{}}),qu=(Wt["\u0275ccf"]("app-audio-navigation",Ul,On,{audioplaying:"audioplaying",responsive:"responsive",easymode:"easymode",replay:"replay",buttons:"buttons"},{buttonclick:"buttonclick",volumechange:"volumechange",aftervolumechange:"aftervolumechange",speedchange:"speedchange",afterspeedchange:"afterspeedchange"},[]),[".audioplayer[_ngcontent-%COMP%]{width:100%;position:relative;resize:vertical;display:block;border:1px solid gray}.ap-graphicscanvas[_ngcontent-%COMP%], .ap-mousecanvas[_ngcontent-%COMP%], .ap-overlaycanvas[_ngcontent-%COMP%], .ap-playcanvas[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;-ms-user-select:none;user-select:none;-webkit-user-select:none;-moz-user-select:none}.ap-graphicscanvas[_ngcontent-%COMP%]{z-index:1}.ap-overlaycanvas[_ngcontent-%COMP%]{z-index:2}.ap-mousecanvas[_ngcontent-%COMP%]{z-index:3}.ap-playcanvas[_ngcontent-%COMP%]{z-index:4;cursor:pointer}#volume-slider[_ngcontent-%COMP%]{width:100%}.slider-descr[_ngcontent-%COMP%]{text-align:center;font-size:.7em}.ap-time-end-display[_ngcontent-%COMP%], .ap-time-start-display[_ngcontent-%COMP%]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:absolute;z-index:10;bottom:0}.ap-time-start-display[_ngcontent-%COMP%]{left:0;margin-left:10px}.ap-time-end-display[_ngcontent-%COMP%]{right:0;margin-right:10px}"]),Ku=[qu],$u=Wt["\u0275crt"]({encapsulation:0,styles:Ku,data:{}}),Xu=(Wt["\u0275ccf"]("app-audioplayer",Xi,Cn,{audiochunk:"audiochunk"},{shortcuttriggered:"shortcuttriggered"},[]),[".transcr-editor[_ngcontent-%COMP%]{width:100%;min-height:100px}.textspan[_ngcontent-%COMP%]{display:inline}.transcr-editor[_ngcontent-%COMP%] .editor-nav[_ngcontent-%COMP%]{width:100%;height:2em}.transcr-editor[_ngcontent-%COMP%] .textfield[_ngcontent-%COMP%]{margin:5px;display:block}.transcr-editor[_ngcontent-%COMP%] .marker-btn[_ngcontent-%COMP%]{height:100%;display:inline-block;padding:3px 5px;margin-right:2px;background-color:#faebcc;vertical-align:middle}.transcr-editor[_ngcontent-%COMP%] .marker-btn[_ngcontent-%COMP%]:hover{background-color:#d6e9c6;cursor:pointer}.transcr-editor[_ngcontent-%COMP%] .marker-icon[_ngcontent-%COMP%]{display:inline;margin-right:3px}.transcr-editor[_ngcontent-%COMP%] .btn-shortcut[_ngcontent-%COMP%]{font-size:.7em;margin:auto 0}.transcr-editor[_ngcontent-%COMP%] .btn-description[_ngcontent-%COMP%]{font-size:.3em}.btn-icon[_ngcontent-%COMP%], .note-editable[_ngcontent-%COMP%] .btn-icon-text[_ngcontent-%COMP%], .note-toolbar[_ngcontent-%COMP%] .btn-icon[_ngcontent-%COMP%]{height:16px}.note-toolbar[_ngcontent-%COMP%] .btn-descr[_ngcontent-%COMP%], .note-toolbar[_ngcontent-%COMP%] .btn-shortcut[_ngcontent-%COMP%]{margin-left:3px}.note-editable[_ngcontent-%COMP%]{border:1px solid red}.transcr-editor[_ngcontent-%COMP%], [_nghost-%COMP%]{-webkit-box-flex:1;-ms-flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;flex:1 0 auto}"]),Hu=[Xu],Qu=Wt["\u0275crt"]({encapsulation:0,styles:Hu,data:{}}),Gu=(Wt["\u0275ccf"]("app-transcr-editor",ar,jn,{visible:"visible",markers:"markers",easymode:"easymode",height:"height",playposition:"playposition",audiochunk:"audiochunk"},{loaded:"loaded",onkeyup:"onkeyup",marker_insert:"marker_insert",marker_click:"marker_click",typing:"typing",boundaryclicked:"boundaryclicked",boundaryinserted:"boundaryinserted",selectionchanged:"selectionchanged"},[]),[Fu]),Yu=Wt["\u0275crt"]({encapsulation:0,styles:Gu,data:{}}),Ju=Wt["\u0275ccf"]("app-audioplayer-gui",wr,Mn,{},{},[]),Zu=["#overlay-transcr[_ngcontent-%COMP%]{position:relative;-webkit-box-flex:1;-ms-flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;flex:1 0 auto}[_ngcontent-%COMP%]::-webkit-scrollbar{-webkit-appearance:none;width:7px}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px;background-color:rgba(0,0,0,.5);-webkit-box-shadow:0 0 1px hsla(0,0%,100%,.5)}#special[_ngcontent-%COMP%]{width:100%;background-color:#fff;padding:0;border:1px solid dimgray}[_nghost-%COMP%]{-webkit-box-flex:1;-ms-flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;flex:1 0 auto}"],ea=["#window[_ngcontent-%COMP%]{width:95%;z-index:100;padding:10px;margin:2.5%;border:1px solid gray;box-shadow:10px 10px 50px grey}#black[_ngcontent-%COMP%], #window[_ngcontent-%COMP%]{position:absolute;background-color:#fff}#black[_ngcontent-%COMP%]{width:100%;display:block;height:100%;z-index:99;opacity:.7}.window-nav-bottom[_ngcontent-%COMP%], .window-nav-top[_ngcontent-%COMP%]{display:block;width:100%;text-align:right}.window-nav-top[_ngcontent-%COMP%]{height:2em}.window-nav-bottom[_ngcontent-%COMP%]{bottom:0}#window[_ngcontent-%COMP%] .audio-nav[_ngcontent-%COMP%]{margin-bottom:-10px}"],na=[".loupe[_ngcontent-%COMP%]{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:auto;flex:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}"],ta=[".audioviewer[_ngcontent-%COMP%]{width:100%;height:100%;resize:vertical;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:auto;flex:auto}.audioviewer[_ngcontent-%COMP%], .audioviewer[_ngcontent-%COMP%] .audio-line[_ngcontent-%COMP%]{position:relative}.graphicscanvas[_ngcontent-%COMP%], .mousecanvas[_ngcontent-%COMP%], .overlaycanvas[_ngcontent-%COMP%], .playcanvas[_ngcontent-%COMP%]{position:absolute;-ms-user-select:none;user-select:none;-webkit-user-select:none;-moz-user-select:none}.graphicscanvas[_ngcontent-%COMP%]{z-index:1}.overlaycanvas[_ngcontent-%COMP%]{z-index:2}.mousecanvas[_ngcontent-%COMP%]{z-index:3}.playcanvas[_ngcontent-%COMP%]{z-index:4;cursor:default}.playcanvas.dragable[_ngcontent-%COMP%]{cursor:move}.scrollbar[_ngcontent-%COMP%], [_nghost-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:auto;flex:auto;height:100%}.scrollbar[_ngcontent-%COMP%]{position:absolute;background-color:#fff;width:20px;z-index:20;right:0;border:1px solid gray;cursor:pointer}.scrollbar[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%]{height:20px;width:100%;background-color:#00aa9a;cursor:pointer}.placeholder[_ngcontent-%COMP%]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:auto;flex:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;vertical-align:middle;text-align:center;background-color:#fff}.placeholder[_ngcontent-%COMP%] .fa-spinner[_ngcontent-%COMP%]{margin:1% auto}"],la=[ta],ia=Wt["\u0275crt"]({encapsulation:0,styles:la,data:{}}),ra=(Wt["\u0275ccf"]("app-audioviewer",Zi,En,{margin:"margin",audiochunk:"audiochunk",name:"name"},{selchange:"selchange",segmententer:"segmententer",segmentchange:"segmentchange",mousecursorchange:"mousecursorchange",playcursorchange:"playcursorchange",shortcuttriggered:"shortcuttriggered",alerttriggered:"alerttriggered",scrolling:"scrolling",scrollbarchange:"scrollbarchange",pos_time:"pos_time"},[]),[na]),oa=Wt["\u0275crt"]({encapsulation:0,styles:ra,data:{}}),ua=(Wt["\u0275ccf"]("app-loupe",tr,Dn,{audiochunk:"audiochunk",height:"height",margin:"margin",Settings:"Settings"},{mousecursorchange:"mousecursorchange",shortcuttriggered:"shortcuttriggered",segmententer:"segmententer",alerttriggered:"alerttriggered"},[]),[ea]),aa=Wt["\u0275crt"]({encapsulation:0,styles:ua,data:{}}),sa=(Wt["\u0275ccf"]("app-transcr-window",jr,qn,{easymode:"easymode",audiochunk:"audiochunk",segment_index:"segment_index"},{act:"act",shortcuttriggered:"shortcuttriggered",marker_insert:"marker_insert",marker_click:"marker_click"},[]),[".circleloupe[_ngcontent-%COMP%], .loupe[_ngcontent-%COMP%], [_nghost-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:auto;flex:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}"]),ca=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])};return function(n,t){function l(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}}(),da=function(e){function n(n){var t=e.call(this)||this;return t.audio=n,t}return ca(n,e),n.ctorParameters=function(){return[{type:fi}]},n}(gi),pa=[sa],ha=Wt["\u0275crt"]({encapsulation:0,styles:pa,data:{}}),fa=(Wt["\u0275ccf"]("app-circleloupe",nr,$n,{audiochunk:"audiochunk",height:"height",width:"width"},{},[]),[Zu]),ga=Wt["\u0275crt"]({encapsulation:0,styles:fa,data:{}}),ma=Wt["\u0275ccf"]("app-overlay-gui",yr,Qn,{},{},[]),va=["#viewer[_ngcontent-%COMP%]{max-height:200px}#editor-placeholder[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:auto;flex:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;display:-webkit-box;display:-ms-flexbox;display:flex;background-color:#fff;border:1px dashed gray;padding:10px;width:100%;text-align:center}#editor-placeholder[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%]{margin:auto 0}.loupe[_ngcontent-%COMP%]{margin-top:10px}[_nghost-%COMP%]{-webkit-box-flex:1;-ms-flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;flex:1 0 auto}"],ba=[va],ya=Wt["\u0275crt"]({encapsulation:0,styles:ba,data:{}}),_a=Wt["\u0275ccf"]("app-signal-gui",_r,nt,{},{},[]),wa=[".container.inner[_ngcontent-%COMP%]{padding-bottom:10px;padding-top:10px;box-shadow:0 1px 6px #a0a0a0}#beta_mark[_ngcontent-%COMP%]{color:red;position:absolute;margin-left:20px;z-index:10}[_nghost-%COMP%]{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}"],Sa=["#bgProtocol[_ngcontent-%COMP%]{font-size:12px;height:200px;font-family:Courier New,Arial;border:1px solid #d3d3d3;padding:5px}.bugsent[_ngcontent-%COMP%]{position:absolute;right:0;margin-right:30px;top:0;width:100%;text-align:center}[_ngcontent-%COMP%]::-webkit-scrollbar{-webkit-appearance:none;width:7px}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px;background-color:rgba(0,0,0,.5);-webkit-box-shadow:0 0 1px hsla(0,0%,100%,.5)}"],ka=[Sa],Oa=Wt["\u0275crt"]({encapsulation:0,styles:ka,data:{}}),xa=(Wt["\u0275ccf"]("app-octra-modal",pr,ct,{},{},[]),[".navbar[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{cursor:pointer}.navbar-brand[_ngcontent-%COMP%], .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{padding-top:4px!important;padding-bottom:0!important;vertical-align:middle;line-height:inherit;height:30px}.navbar[_ngcontent-%COMP%]{min-height:30px!important;margin-bottom:0}.navbar[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%]{padding-top:3px!important;vertical-align:middle;font-size:1.3em}.navbar[_ngcontent-%COMP%] .navbar-toggle[_ngcontent-%COMP%]{padding:0}.glyphicon[_ngcontent-%COMP%]{font-size:100%;color:#0b0080}.navbar-icon[_ngcontent-%COMP%]{color:#fff;font-size:100%}.info-menu[_ngcontent-%COMP%], .options-menu[_ngcontent-%COMP%]{padding:20px;font-size:.7em;min-width:300px}.dropdown-menu.info-menu.collaps[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .dropdown-menu.options-menu.collaps[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#000}.dropdown-menu.info-menu[_ngcontent-%COMP%] label[_ngcontent-%COMP%], .dropdown-menu.info-menu[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .dropdown-menu.options-menu[_ngcontent-%COMP%] label[_ngcontent-%COMP%], .dropdown-menu.options-menu[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{color:#fff}.options-menu[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{border:none;font-size:1.1em}.options-menu[_ngcontent-%COMP%] .table[_ngcontent-%COMP%]{margin-bottom:0}.info-menu[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{border:none;font-size:11px}#subnav[_ngcontent-%COMP%], .info-menu[_ngcontent-%COMP%] .table[_ngcontent-%COMP%]{margin-bottom:0}#subnav[_ngcontent-%COMP%]{padding:3px;text-align:center;background-color:#bae6f3}#modalstatis[_ngcontent-%COMP%] .modal-dialog[_ngcontent-%COMP%]{width:100%}.row.level-row[_ngcontent-%COMP%]{border:1px solid gray;padding:5px}.row.level-row.selected[_ngcontent-%COMP%], .row.level-row.selected[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{background-color:#a5fabe}.row.level-row.disabled[_ngcontent-%COMP%]{opacity:.3}.row.level-row[_ngcontent-%COMP%] .col-xs-8[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{padding:3px;width:100%}.row.level-row[_ngcontent-%COMP%] .col-xs-8[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{border:1px solid #d3d3d3}.row.level-row[_ngcontent-%COMP%] .col-xs-2[_ngcontent-%COMP%] .glyphicon.glyphicon-trash[_ngcontent-%COMP%]{cursor:pointer}.row.level-add-row[_ngcontent-%COMP%]{margin-top:5px;border:1px dashed gray;text-align:center;padding:5px;cursor:pointer}.row.level-row[_ngcontent-%COMP%] .col-xs-2[_ngcontent-%COMP%]{padding-top:5px;text-align:center;vertical-align:middle;height:100%}.row.level-row[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{color:#000}#export-table[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{cursor:pointer}"]),Ca=[xa],Pa=Wt["\u0275crt"]({encapsulation:0,styles:Ca,data:{}}),ja=(Wt["\u0275ccf"]("app-navigation",Or,zt,{version:"version"},{},[]),[wa]),Ra=Wt["\u0275crt"]({encapsulation:0,styles:ja,data:{}}),Ma=Wt["\u0275ccf"]("app-octra",Zr,Vt,{},{},[]),Ta=t("f9zQ"),Na=t("KIVP"),Ia=t("6A7A"),Ea=t("a3e3"),Aa=t("t0d0"),Da=t("R08E"),La=t("Qg/J"),Ua=t("maBJ"),za=t("BhHz"),Fa=t("poDJ"),Ba=t("4zAq"),Va=t("bIam"),Wa=t("x/Up"),qa=t("pUrG"),Ka=t("pBJ6"),$a=Wt["\u0275cmf"](so,[Zr],function(e){return Wt["\u0275mod"]([Wt["\u0275mpd"](512,Wt.ComponentFactoryResolver,Wt["\u0275CodegenComponentFactoryResolver"],[[8,[co.a,Oo,jo,No,Do,Fo,qo,Ho,Jo,ku,Pu,Tu,Au,zu,Ju,ma,_a,Ma]],[3,Wt.ComponentFactoryResolver],Wt.NgModuleRef]),Wt["\u0275mpd"](5120,Wt.LOCALE_ID,Wt["\u0275m"],[[3,Wt.LOCALE_ID]]),Wt["\u0275mpd"](4608,go.NgLocalization,go.NgLocaleLocalization,[Wt.LOCALE_ID]),Wt["\u0275mpd"](5120,Wt.APP_ID,Wt["\u0275f"],[]),Wt["\u0275mpd"](5120,Wt.IterableDiffers,Wt["\u0275k"],[]),Wt["\u0275mpd"](5120,Wt.KeyValueDiffers,Wt["\u0275l"],[]),Wt["\u0275mpd"](4608,Kt.c,Kt.t,[go.DOCUMENT]),Wt["\u0275mpd"](6144,Wt.Sanitizer,null,[Kt.c]),Wt["\u0275mpd"](4608,Kt.f,Kt.g,[]),Wt["\u0275mpd"](5120,Kt.d,function(e,n,t,l){return[new Kt.l(e),new Kt.p(n),new Kt.o(t,l)]},[go.DOCUMENT,go.DOCUMENT,go.DOCUMENT,Kt.f]),Wt["\u0275mpd"](4608,Kt.e,Kt.e,[Kt.d,Wt.NgZone]),Wt["\u0275mpd"](135680,Kt.n,Kt.n,[go.DOCUMENT]),Wt["\u0275mpd"](4608,Kt.m,Kt.m,[Kt.e,Kt.n]),Wt["\u0275mpd"](5120,Ta.a,no.d,[]),Wt["\u0275mpd"](5120,Ta.c,no.e,[]),Wt["\u0275mpd"](4608,Ta.b,no.c,[Ta.a,Ta.c]),Wt["\u0275mpd"](5120,Wt.RendererFactory2,no.f,[Kt.m,Ta.b,Wt.NgZone]),Wt["\u0275mpd"](6144,Kt.q,null,[Kt.n]),Wt["\u0275mpd"](4608,Wt.Testability,Wt.Testability,[Wt.NgZone]),Wt["\u0275mpd"](4608,Kt.h,Kt.h,[go.DOCUMENT]),Wt["\u0275mpd"](4608,Kt.j,Kt.j,[go.DOCUMENT]),Wt["\u0275mpd"](4608,Tl.b,no.b,[Wt.RendererFactory2,Kt.b]),Wt["\u0275mpd"](4608,$t.z,$t.z,[]),Wt["\u0275mpd"](4608,Xt.c,Xt.c,[]),Wt["\u0275mpd"](4608,Xt.l,Xt.b,[]),Wt["\u0275mpd"](5120,Xt.o,Xt.q,[]),Wt["\u0275mpd"](4608,Xt.n,Xt.n,[Xt.c,Xt.l,Xt.o]),Wt["\u0275mpd"](4608,Xt.j,Xt.a,[]),Wt["\u0275mpd"](5120,Xt.e,Xt.r,[Xt.n,Xt.j]),Wt["\u0275mpd"](4608,Xt.t,Xt.t,[]),Wt["\u0275mpd"](4608,Xt.g,Xt.p,[Xt.t,Xt.l]),Wt["\u0275mpd"](5120,Xt.h,Xt.s,[Xt.g,Xt.j]),Wt["\u0275mpd"](4608,Na.a,Na.a,[]),Wt["\u0275mpd"](4608,Ia.a,Ia.a,[]),Wt["\u0275mpd"](4608,$t.f,$t.f,[]),Wt["\u0275mpd"](5120,Ea.b,i,[Xt.e]),Wt["\u0275mpd"](4608,Aa.a,Aa.b,[]),Wt["\u0275mpd"](4608,Da.b,Da.a,[]),Wt["\u0275mpd"](4608,La.b,La.a,[]),Wt["\u0275mpd"](4608,Ua.a,Ua.a,[]),Wt["\u0275mpd"](4608,fo.a,fo.a,[Ua.a,Ea.b,Aa.a,Da.b,La.b,fo.b,fo.c]),Wt["\u0275mpd"](4608,za.a,za.a,[]),Wt["\u0275mpd"](4608,Fa.a,Fa.a,[Wt.ComponentFactoryResolver,Wt.NgZone,Wt.Injector,za.a,Wt.ApplicationRef]),Wt["\u0275mpd"](4608,Ba.a,Ba.a,[]),Wt["\u0275mpd"](5120,hr.a,hr.x,[hr.k]),Wt["\u0275mpd"](4608,hr.d,hr.d,[]),Wt["\u0275mpd"](6144,hr.f,null,[hr.d]),Wt["\u0275mpd"](135680,hr.p,hr.p,[hr.k,Wt.NgModuleFactoryLoader,Wt.Compiler,Wt.Injector,hr.f]),Wt["\u0275mpd"](4608,hr.e,hr.e,[]),Wt["\u0275mpd"](5120,hr.h,hr.A,[hr.y]),Wt["\u0275mpd"](5120,Wt.APP_BOOTSTRAP_LISTENER,function(e){return[e]},[hr.h]),Wt["\u0275mpd"](4608,Oi,Oi,[Na.a,Ia.a]),Wt["\u0275mpd"](4608,Ur,Ur,[Oi,hr.k]),Wt["\u0275mpd"](4608,Fl,Fl,[Xt.e,Kt.c]),Wt["\u0275mpd"](4608,fi,fi,[Xt.e]),Wt["\u0275mpd"](4608,Qi,Qi,[]),Wt["\u0275mpd"](4608,Gr,Gr,[]),Wt["\u0275mpd"](4608,vi,vi,[]),Wt["\u0275mpd"](4608,zr,zr,[Oi,hr.k]),Wt["\u0275mpd"](4608,Ri,Ri,[Xt.e,Oi]),Wt["\u0275mpd"](4608,Tr,Tr,[Oi,hr.k,Ri]),Wt["\u0275mpd"](4608,mi,mi,[]),Wt["\u0275mpd"](4608,Pi,Pi,[Oi]),Wt["\u0275mpd"](4608,Ir,Ir,[Oi,hr.k,Ri]),Wt["\u0275mpd"](4608,Er,Er,[Oi,hr.k,Ri]),Wt["\u0275mpd"](4608,Fr,Fr,[Oi,hr.k,Ri]),Wt["\u0275mpd"](4608,Nr,Nr,[Oi,hr.k]),Wt["\u0275mpd"](4608,dr,dr,[fo.a,Oi,Ri,Xt.e]),Wt["\u0275mpd"](512,go.CommonModule,go.CommonModule,[]),Wt["\u0275mpd"](1024,Wt.ErrorHandler,Kt.r,[]),Wt["\u0275mpd"](1024,Wt.NgProbeToken,function(){return[hr.t()]},[]),Wt["\u0275mpd"](512,hr.y,hr.y,[Wt.Injector]),Wt["\u0275mpd"](1024,Wt.APP_INITIALIZER,function(e,n,t){return[Kt.s(e,n),hr.z(t)]},[[2,Kt.i],[2,Wt.NgProbeToken],hr.y]),Wt["\u0275mpd"](512,Wt.ApplicationInitStatus,Wt.ApplicationInitStatus,[[2,Wt.APP_INITIALIZER]]),Wt["\u0275mpd"](131584,Wt["\u0275e"],Wt["\u0275e"],[Wt.NgZone,Wt["\u0275Console"],Wt.Injector,Wt.ErrorHandler,Wt.ComponentFactoryResolver,Wt.ApplicationInitStatus]),Wt["\u0275mpd"](2048,Wt.ApplicationRef,null,[Wt["\u0275e"]]),Wt["\u0275mpd"](512,Wt.ApplicationModule,Wt.ApplicationModule,[Wt.ApplicationRef]),Wt["\u0275mpd"](512,Kt.a,Kt.a,[[3,Kt.a]]),Wt["\u0275mpd"](512,no.a,no.a,[]),Wt["\u0275mpd"](512,Ht.b,Ht.b,[]),Wt["\u0275mpd"](512,Va.a,Va.a,[]),Wt["\u0275mpd"](512,Wa.a,Wa.a,[]),Wt["\u0275mpd"](512,$t.v,$t.v,[]),Wt["\u0275mpd"](512,$t.g,$t.g,[]),Wt["\u0275mpd"](512,Xt.f,Xt.f,[]),Wt["\u0275mpd"](512,Xt.i,Xt.i,[]),Wt["\u0275mpd"](256,Gt.e,{separator:".",prefix:"custom"},[]),Wt["\u0275mpd"](1024,qa.a,Gt.f,[Gt.e]),Wt["\u0275mpd"](512,Gt.b,Gt.b,[Wt.NgZone,[2,qa.a]]),Wt["\u0275mpd"](512,Qt.Ng2Bs3ModalModule,Qt.Ng2Bs3ModalModule,[]),Wt["\u0275mpd"](512,$t.s,$t.s,[]),Wt["\u0275mpd"](1024,hr.s,hr.v,[[3,hr.k]]),Wt["\u0275mpd"](512,hr.r,hr.c,[]),Wt["\u0275mpd"](512,hr.b,hr.b,[]),Wt["\u0275mpd"](256,hr.g,{},[]),Wt["\u0275mpd"](1024,go.LocationStrategy,hr.u,[go.PlatformLocation,[2,go.APP_BASE_HREF],hr.g]),Wt["\u0275mpd"](512,go.Location,go.Location,[go.LocationStrategy]),Wt["\u0275mpd"](512,Wt.Compiler,Wt.Compiler,[]),Wt["\u0275mpd"](512,Wt.NgModuleFactoryLoader,Wt.SystemJsNgModuleLoader,[Wt.Compiler,[2,Wt.SystemJsNgModuleLoaderConfig]]),Wt["\u0275mpd"](1024,hr.i,function(){return[[{path:"",redirectTo:"/login",pathMatch:"full"},{path:"login",component:mr,canActivate:[Fr,Ur]},{path:"news",component:Br,canActivate:[Fr]},{path:"faq",component:Vr,canActivate:[Fr]},{path:"features",component:qr,canActivate:[Fr]},{path:"logout",component:vr,canActivate:[Fr,zr]},{path:"user",component:br,canActivate:[Fr],children:[{path:"load",component:fr},{path:"agreement",component:Ar,canActivate:[Tr]},{path:"transcr",component:xr,canActivate:[Er,Tr]},{path:"transcr/help",component:Dr,canActivate:[Er,Tr]},{path:"transcr/end",component:Cr,canActivate:[Nr]},{path:"transcr/reload-file",component:Rr,canActivate:[Ir]},{path:"",redirectTo:"/user/load",pathMatch:"full"}]},{path:"help-tools",component:Wr},{path:"**",redirectTo:"/login",pathMatch:"full"}]]},[]),Wt["\u0275mpd"](1024,hr.k,hr.w,[Wt.ApplicationRef,hr.r,hr.b,go.Location,Wt.Injector,Wt.NgModuleFactoryLoader,Wt.Compiler,hr.i,hr.g,[2,hr.q],[2,hr.j]]),Wt["\u0275mpd"](512,hr.n,hr.n,[[2,hr.s],[2,hr.k]]),Wt["\u0275mpd"](512,so,so,[]),Wt["\u0275mpd"](256,fo.c,void 0,[]),Wt["\u0275mpd"](256,fo.b,void 0,[]),Wt["\u0275mpd"](256,Ka.a,{autoClose:!0},[])])});qt.production&&Object(Wt.enableProdMode)(),Object(Kt.k)().bootstrapModuleFactory($a)},gFIY:function(e,n){function t(e){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+e+"'.")})}t.keys=function(){return[]},t.resolve=t,e.exports=t,t.id="gFIY"}},[0]);
\ No newline at end of file
+webpackJsonp([2],{0:function(e,n,t){e.exports=t("cDNt")},cDNt:function(e,n,t){"use strict";function l(e){switch(e){case rl.PREPARE:return"PREPARE";case rl.INITIALIZED:return"INITIALIZED";case rl.STARTED:return"STARTED";case rl.PLAYING:return"PLAYING";case rl.PAUSED:return"PAUSED";case rl.STOPPED:return"STOPPED";case rl.ENDED:return"ENDED"}}function i(e){return new Ll(e,"./i18n/octra/octra_",".json")}function r(e){return Wt["\u0275vid"](0,[Wt["\u0275qud"](402653184,1,{fileinput:0}),(e()(),Wt["\u0275eld"](1,0,null,null,17,"div",[["style","position: relative;"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](3,0,[["dropzone",1]],null,14,"div",[["class","dropzone"]],null,[[null,"dragover"],[null,"drop"],[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("dragover"===n){l=!1!==i.onDragOver(t)&&l}if("drop"===n){l=!1!==i.onFileDrop(t)&&l}if("click"===n){l=!1!==i.onClick(t)&&l}return l},null,null)),Wt["\u0275did"](4,278528,null,0,go.NgStyle,[Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngStyle:[0,"ngStyle"]},null),Wt["\u0275pod"](5,{height:0}),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](7,0,null,null,9,"div",[["class","inner"],["style","margin: auto 0;"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),Wt["\u0275ncd"](null,0),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](11,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](13,0,null,null,0,"span",[["class","glyphicon glyphicon-folder-open dragndrop"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](15,0,[[1,0],["fileinput",1]],null,0,"input",[["class","fileinput"],["multiple",""],["style","display:none;"],["type","file"],["value","Select audio file"]],null,[[null,"change"]],function(e,n,t){var l=!0,i=e.component;if("change"===n){l=!1!==i.onFileChange(t)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){e(n,4,0,e(n,5,0,n.component.height))},null)}function o(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-drop-zone",[],null,null,null,r,yo)),Wt["\u0275did"](1,114688,null,0,cr,[],null,null)],function(e,n){e(n,1,0)},null)}function u(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,0,"span",[["class","glyphicon glyphicon-remove"]],null,null,null,null,null))],null,null)}function a(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,0,"span",[["class","glyphicon glyphicon-ok"]],null,null,null,null,null))],null,null)}function s(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"i",[["class","fa fa-spinner fa-spin"],["style","font-size:16px"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,null)}function c(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,18,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,1,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](3,0,null,null,0,"span",[["class","glyphicon glyphicon-remove-circle delete-icon"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.onDeleteEntry(e.context.$implicit.file.name)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](5,0,null,null,1,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](6,null,["","\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,9,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275and"](16777216,null,null,1,null,u)),Wt["\u0275did"](10,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,a)),Wt["\u0275did"](13,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,s)),Wt["\u0275did"](16,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,10,0,"invalid"===n.context.$implicit.status),e(n,13,0,"valid"===n.context.$implicit.status),e(n,16,0,"progress"===n.context.$implicit.status)},function(e,n){e(n,6,0,n.component.getDropzoneFileString(n.context.$implicit.file))})}function d(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("dropzone.drag&drop here")))})}function p(e){return Wt["\u0275vid"](0,[Wt["\u0275qud"](402653184,1,{dropzone:0}),(e()(),Wt["\u0275eld"](1,0,null,null,13,"app-drop-zone",[],null,[[null,"afterdrop"]],function(e,n,t){var l=!0,i=e.component;if("afterdrop"===n){l=!1!==i.afterDrop()&&l}return l},r,yo)),Wt["\u0275did"](2,114688,[[1,4],["dropzone",4]],0,cr,[],{height:[0,"height"]},{afterdrop:"afterdrop"}),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,0,5,"table",[["class","dropzone-table"]],[[8,"hidden",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,3,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275and"](16777216,null,null,1,null,c)),Wt["\u0275did"](8,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,d)),Wt["\u0275did"](12,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275eld"](13,0,null,0,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,0,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](16,0,null,null,1,"span",[["class","link"],["style","z-index:20;width:100%;text-align:center;display:block;"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.showSupported()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["Supported files"]))],function(e,n){var t=n.component;e(n,2,0,"250px"),e(n,8,0,t.files),e(n,12,0,0===t.files.length)},function(e,n){e(n,4,0,0===n.component.files.length)})}function h(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-octra-dropzone",[],null,null,null,p,wo)),Wt["\u0275did"](1,245760,null,0,io,[mi],null,null)],function(e,n){e(n,1,0)},null)}function f(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"p",[["class","warning"]],[[8,"innerHTML",1]],null,null,null,null)),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){e(n,0,0,Wt["\u0275unv"](n,0,0,Wt["\u0275nov"](n,1).transform("browser.invalid")))})}function g(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["\n ","\n "]))],null,function(e,n){e(n,1,0,n.component.getValidBrowsers())})}function m(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,7,"div",[["class","bg-danger"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,f)),Wt["\u0275did"](3,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,g)),Wt["\u0275did"](6,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,3,0,!t.valid_platform),e(n,6,0,!t.valid_platform)},null)}function v(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"p",[["class","warning"]],[[8,"innerHTML",1]],null,null,null,null)),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){e(n,0,0,Wt["\u0275unv"](n,0,0,Wt["\u0275nov"](n,1).transform("browser.small window width")))})}function b(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"div",[["id","login-disabled"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("login.online mode disabled")))})}function y(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"option",[],null,null,null,null,null)),Wt["\u0275did"](1,147456,null,0,$t.p,[Wt.ElementRef,Wt.Renderer2,[2,$t.u]],{value:[0,"value"]},null),Wt["\u0275did"](2,147456,null,0,$t.A,[Wt.ElementRef,Wt.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),Wt["\u0275ted"](3,null,["","\n "]))],function(e,n){e(n,1,0,Wt["\u0275inlineInterpolate"](1,"",n.context.$implicit,"")),e(n,2,0,Wt["\u0275inlineInterpolate"](1,"",n.context.$implicit,""))},function(e,n){e(n,3,0,n.context.$implicit)})}function _(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"input",[["class","btn btn-raised btn-primary"],["id","login-submit"],["name","login-submit"],["type","submit"]],[[8,"disabled",0],[8,"value",0]],null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Wt["\u0275pod"](2,{"btn-danger":0}),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],function(e,n){var t=n.component;e(n,1,0,"btn btn-raised btn-primary",e(n,2,0,t.appStorage.uselocalmode&&null!==t.appStorage.sessionfile))},function(e,n){e(n,0,0,!Wt["\u0275nov"](n.parent,4).valid,Wt["\u0275inlineInterpolate"](1,"",Wt["\u0275unv"](n,0,1,Wt["\u0275nov"](n,3).transform("general.login")),""))})}function w(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"input",[["class","btn btn-raised btn-danger"],["id","login-submit"],["name","login-submit"],["type","submit"]],[[8,"disabled",0],[8,"value",0]],null,null,null,null)),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,0,0,!Wt["\u0275nov"](n.parent,4).valid,Wt["\u0275inlineInterpolate"](1,"",Wt["\u0275unv"](n,0,1,Wt["\u0275nov"](n,1).transform("login.login and remove")),""))})}function S(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,85,"div",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,82,"form",[["class","form-horizontal"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],function(e,n,t){var l=!0,i=e.component;if("submit"===n){l=!1!==Wt["\u0275nov"](e,4).onSubmit(t)&&l}if("reset"===n){l=!1!==Wt["\u0275nov"](e,4).onReset()&&l}if("ngSubmit"===n){l=!1!==i.onSubmit(Wt["\u0275nov"](e,4))&&l}return l},null,null)),Wt["\u0275did"](3,16384,null,0,$t.y,[],null,null),Wt["\u0275did"](4,16384,[[1,4],["f",4]],0,$t.n,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Wt["\u0275prd"](2048,null,$t.c,null,[$t.n]),Wt["\u0275did"](6,16384,null,0,$t.m,[$t.c],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,75,"fieldset",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](10,0,null,null,72,"div",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](12,0,null,null,16,"div",[["class","form-group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](14,0,null,null,2,"label",[["class","control-label"],["for","login-id"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](15,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](18,0,null,null,9,"input",[["class","form-control"],["id","login-id"],["name","login-id"],["pattern","\\w+"],["required",""]],[[8,"placeholder",0],[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,n,t){var l=!0,i=e.component;if("input"===n){l=!1!==Wt["\u0275nov"](e,19)._handleInput(t.target.value)&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,19).onTouched()&&l}if("compositionstart"===n){l=!1!==Wt["\u0275nov"](e,19)._compositionStart()&&l}if("compositionend"===n){l=!1!==Wt["\u0275nov"](e,19)._compositionEnd(t.target.value)&&l}if("ngModelChange"===n){l=!1!==(i.member.id=t)&&l}return l},null,null)),Wt["\u0275did"](19,16384,null,0,$t.d,[Wt.Renderer2,Wt.ElementRef,[2,$t.a]],null,null),Wt["\u0275did"](20,16384,null,0,$t.t,[],{required:[0,"required"]},null),Wt["\u0275did"](21,540672,null,0,$t.q,[],{pattern:[0,"pattern"]},null),Wt["\u0275prd"](1024,null,$t.i,function(e,n){return[e,n]},[$t.t,$t.q]),Wt["\u0275prd"](1024,null,$t.j,function(e){return[e]},[$t.d]),Wt["\u0275did"](24,671744,null,0,$t.o,[[2,$t.c],[2,$t.i],[8,null],[2,$t.j]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Wt["\u0275prd"](2048,null,$t.k,null,[$t.o]),Wt["\u0275did"](26,16384,null,0,$t.l,[$t.k],null,null),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](30,0,null,null,24,"div",[["class","form-group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](32,0,null,null,2,"label",[["class","control-label"],["for","select111"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](33,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](36,0,[["selection",1]],null,17,"select",[["class","form-control"],["id","select111"],["name","project"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"blur"]],function(e,n,t){var l=!0,i=e.component;if("change"===n){l=!1!==Wt["\u0275nov"](e,37).onChange(t.target.value)&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,37).onTouched()&&l}if("ngModelChange"===n){l=!1!==(i.member.project=t)&&l}return l},null,null)),Wt["\u0275did"](37,16384,null,0,$t.u,[Wt.Renderer2,Wt.ElementRef],null,null),Wt["\u0275did"](38,16384,null,0,$t.t,[],{required:[0,"required"]},null),Wt["\u0275prd"](1024,null,$t.i,function(e){return[e]},[$t.t]),Wt["\u0275prd"](1024,null,$t.j,function(e){return[e]},[$t.u]),Wt["\u0275did"](41,671744,null,0,$t.o,[[2,$t.c],[2,$t.i],[8,null],[2,$t.j]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Wt["\u0275prd"](2048,null,$t.k,null,[$t.o]),Wt["\u0275did"](43,16384,null,0,$t.l,[$t.k],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](45,0,null,null,4,"option",[["value",""]],null,null,null,null,null)),Wt["\u0275did"](46,147456,null,0,$t.p,[Wt.ElementRef,Wt.Renderer2,[2,$t.u]],{value:[0,"value"]},null),Wt["\u0275did"](47,147456,null,0,$t.A,[Wt.ElementRef,Wt.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),Wt["\u0275ted"](48,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,y)),Wt["\u0275did"](52,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](56,0,null,null,16,"div",[["class","form-group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275eld"](58,0,null,null,2,"label",[["class","control-label"],["for","jobno"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](59,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](62,0,[["t",1]],null,9,"input",[["class","form-control"],["id","jobno"],["name","jobno"],["pattern","[0-9]+"],["type","number"]],[[8,"placeholder",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(e,n,t){var l=!0,i=e.component;if("input"===n){l=!1!==Wt["\u0275nov"](e,63)._handleInput(t.target.value)&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,63).onTouched()&&l}if("compositionstart"===n){l=!1!==Wt["\u0275nov"](e,63)._compositionStart()&&l}if("compositionend"===n){l=!1!==Wt["\u0275nov"](e,63)._compositionEnd(t.target.value)&&l}if("change"===n){l=!1!==Wt["\u0275nov"](e,64).onChange(t.target.value)&&l}if("input"===n){l=!1!==Wt["\u0275nov"](e,64).onChange(t.target.value)&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,64).onTouched()&&l}if("ngModelChange"===n){l=!1!==(i.member.jobno=t)&&l}return l},null,null)),Wt["\u0275did"](63,16384,null,0,$t.d,[Wt.Renderer2,Wt.ElementRef,[2,$t.a]],null,null),Wt["\u0275did"](64,16384,null,0,$t.w,[Wt.Renderer2,Wt.ElementRef],null,null),Wt["\u0275did"](65,540672,null,0,$t.q,[],{pattern:[0,"pattern"]},null),Wt["\u0275prd"](1024,null,$t.i,function(e){return[e]},[$t.q]),Wt["\u0275prd"](1024,null,$t.j,function(e,n){return[e,n]},[$t.d,$t.w]),Wt["\u0275did"](68,671744,null,0,$t.o,[[2,$t.c],[2,$t.i],[8,null],[2,$t.j]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Wt["\u0275prd"](2048,null,$t.k,null,[$t.o]),Wt["\u0275did"](70,16384,null,0,$t.l,[$t.k],null,null),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](74,0,null,null,7,"div",[["class","form-group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,_)),Wt["\u0275did"](77,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,w)),Wt["\u0275did"](80,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,20,0,"");e(n,21,0,"\\w+");e(n,24,0,"login-id",t.member.id);e(n,38,0,"");e(n,41,0,"project",t.member.project);e(n,46,0,"");e(n,47,0,""),e(n,52,0,t.projects);e(n,65,0,"[0-9]+");e(n,68,0,"jobno",t.member.jobno),e(n,77,0,!t.appStorage.uselocalmode),e(n,80,0,t.appStorage.uselocalmode&&null!==t.appStorage.sessionfile)},function(e,n){e(n,2,0,Wt["\u0275nov"](n,6).ngClassUntouched,Wt["\u0275nov"](n,6).ngClassTouched,Wt["\u0275nov"](n,6).ngClassPristine,Wt["\u0275nov"](n,6).ngClassDirty,Wt["\u0275nov"](n,6).ngClassValid,Wt["\u0275nov"](n,6).ngClassInvalid,Wt["\u0275nov"](n,6).ngClassPending),e(n,15,0,Wt["\u0275unv"](n,15,0,Wt["\u0275nov"](n,16).transform("general.name"))),e(n,18,0,Wt["\u0275inlineInterpolate"](1,"",Wt["\u0275unv"](n,18,0,Wt["\u0275nov"](n,27).transform("general.name")),""),Wt["\u0275nov"](n,20).required?"":null,Wt["\u0275nov"](n,21).pattern?Wt["\u0275nov"](n,21).pattern:null,Wt["\u0275nov"](n,26).ngClassUntouched,Wt["\u0275nov"](n,26).ngClassTouched,Wt["\u0275nov"](n,26).ngClassPristine,Wt["\u0275nov"](n,26).ngClassDirty,Wt["\u0275nov"](n,26).ngClassValid,Wt["\u0275nov"](n,26).ngClassInvalid,Wt["\u0275nov"](n,26).ngClassPending),e(n,33,0,Wt["\u0275unv"](n,33,0,Wt["\u0275nov"](n,34).transform("general.select database"))),e(n,36,0,Wt["\u0275nov"](n,38).required?"":null,Wt["\u0275nov"](n,43).ngClassUntouched,Wt["\u0275nov"](n,43).ngClassTouched,Wt["\u0275nov"](n,43).ngClassPristine,Wt["\u0275nov"](n,43).ngClassDirty,Wt["\u0275nov"](n,43).ngClassValid,Wt["\u0275nov"](n,43).ngClassInvalid,Wt["\u0275nov"](n,43).ngClassPending),e(n,48,0,Wt["\u0275unv"](n,48,0,Wt["\u0275nov"](n,49).transform("general.select database"))),e(n,59,0,Wt["\u0275unv"](n,59,0,Wt["\u0275nov"](n,60).transform("general.job number"))),e(n,62,0,Wt["\u0275inlineInterpolate"](1,"",Wt["\u0275unv"](n,62,0,Wt["\u0275nov"](n,71).transform("general.job number")),""),Wt["\u0275nov"](n,65).pattern?Wt["\u0275nov"](n,65).pattern:null,Wt["\u0275nov"](n,70).ngClassUntouched,Wt["\u0275nov"](n,70).ngClassTouched,Wt["\u0275nov"](n,70).ngClassPristine,Wt["\u0275nov"](n,70).ngClassDirty,Wt["\u0275nov"](n,70).ngClassValid,Wt["\u0275nov"](n,70).ngClassInvalid,Wt["\u0275nov"](n,70).ngClassPending)})}function k(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"p",[["class","bg-warning"]],[[8,"innerHTML",1]],null,null,null,null)),Wt["\u0275pod"](1,{file_label:0}),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){var t=n.component;e(n,0,0,Wt["\u0275unv"](n,0,0,Wt["\u0275nov"](n,2).transform("login.old file found",e(n,1,0,t.getDropzoneFileString(t.sessionfile)))))})}function O(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"input",[["class","btn btn-raised btn-primary"],["id","offline-submit"],["type","submit"]],[[8,"disabled",0],[8,"value",0]],[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.onOfflineSubmit()&&l}return l},null,null)),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,0,0,!("start"==n.component.getFileStatus()),Wt["\u0275inlineInterpolate"](1,"",Wt["\u0275unv"](n,0,1,Wt["\u0275nov"](n,1).transform("transcription.start")),""))})}function x(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"input",[["class","btn btn-raised btn-danger"],["id","offline-delete-btn"]],[[8,"value",0]],[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.modService.show("transcription_delete","",{ok:i.newTranscription})&&l}return l},null,null)),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,0,0,Wt["\u0275inlineInterpolate"](1,"",Wt["\u0275unv"](n,0,0,Wt["\u0275nov"](n,1).transform("transcription.new")),""))})}function C(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"input",[["class","btn btn-raised btn-danger"],["id","offline-delete-btn"]],[[8,"disabled",0],[8,"value",0]],[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.onOfflineSubmit()&&l}return l},null,null)),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){var t=n.component;e(n,0,0,"new"!==t.getFileStatus()&&"start"!==t.getFileStatus(),Wt["\u0275inlineInterpolate"](1,"",Wt["\u0275unv"](n,0,1,Wt["\u0275nov"](n,1).transform("login.local and remove")),""))})}function P(e){return Wt["\u0275vid"](0,[Wt["\u0275qud"](671088640,1,{loginform:0}),Wt["\u0275qud"](402653184,2,{dropzone:0}),Wt["\u0275qud"](402653184,3,{agreement:0}),Wt["\u0275qud"](402653184,4,{localmode:0}),Wt["\u0275qud"](402653184,5,{onlinemode:0}),(e()(),Wt["\u0275eld"](5,0,null,null,60,"div",[["class","section"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,m)),Wt["\u0275did"](8,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](10,0,null,null,54,"div",[["class","row"],["id","loginrow"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](12,0,[[5,0],["onlinemode",1]],null,21,"div",[["class","col-md-6 panel panel-default"],["id","onlinemode"],["style","padding:40px;"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,v)),Wt["\u0275did"](15,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](17,0,null,null,15,"section",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](19,0,null,null,4,"h4",[],null,null,null,null,null)),Wt["\u0275did"](20,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](21,{"bg-success":0}),(e()(),Wt["\u0275ted"](22,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,b)),Wt["\u0275did"](26,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,S)),Wt["\u0275did"](29,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](31,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](35,0,[[4,0],["localmode",1]],null,28,"div",[["class","col-md-6 panel panel-default"],["id","localmode"],["style","padding:40px;"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](37,0,null,null,25,"section",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](39,0,null,null,4,"h4",[],null,null,null,null,null)),Wt["\u0275did"](40,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](41,{"bg-success":0}),(e()(),Wt["\u0275ted"](42,null,["","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](45,0,null,null,16,"div",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,k)),Wt["\u0275did"](48,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](50,0,null,null,1,"app-octra-dropzone",[],null,null,null,p,wo)),Wt["\u0275did"](51,245760,[[2,4],["dropzone",4]],0,io,[mi],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,O)),Wt["\u0275did"](54,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,x)),Wt["\u0275did"](57,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,C)),Wt["\u0275did"](60,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){var t=n.component;e(n,8,0,!t.valid_platform),e(n,15,0,!t.apc.octra.responsive.enabled&&!t.valid_size),e(n,20,0,e(n,21,0,0==t.appStorage.uselocalmode)),e(n,26,0,!t.apc.octra.login.enabled),e(n,29,0,t.apc.octra.login.enabled),e(n,40,0,e(n,41,0,t.appStorage.uselocalmode)),e(n,48,0,t.appStorage.uselocalmode&&null!==t.appStorage.sessionfile),e(n,51,0),e(n,54,0,(null===t.appStorage.uselocalmode||t.appStorage.uselocalmode)&&"new"!=t.getFileStatus()),e(n,57,0,t.appStorage.uselocalmode&&"new"==t.getFileStatus()),e(n,60,0,null!==t.appStorage.uselocalmode&&void 0!==t.appStorage.uselocalmode&&!t.appStorage.uselocalmode&&("new"!=t.getFileStatus()||"start"!=t.getFileStatus()))},function(e,n){e(n,22,0,Wt["\u0275unv"](n,22,0,Wt["\u0275nov"](n,23).transform("login.online mode"))),e(n,42,0,Wt["\u0275unv"](n,42,0,Wt["\u0275nov"](n,43).transform("login.local mode")))})}function j(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"app-login",[],null,[["window","resize"]],function(e,n,t){var l=!0;if("window:resize"===n){l=!1!==Wt["\u0275nov"](e,2).onResize(t)&&l}return l},P,ko)),Wt["\u0275prd"](4608,null,yi,yi,[Xt.e]),Wt["\u0275did"](2,4440064,null,0,mr,[hr.k,Oi,Fl,Wt.ChangeDetectorRef,Ri,mi,fo.a,fi],null,null)],function(e,n){e(n,2,0)},null)}function R(e){return Wt["\u0275vid"](2,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"h2",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](4,0,null,null,0,"iframe",[["src","https://www.phonetik.uni-muenchen.de/apps/octra/contents/news.html"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],null,function(e,n){e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("general.news")))})}function M(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-news",[],null,null,null,R,Po)),Wt["\u0275did"](1,638976,null,0,Br,[Kt.c,Wt.ChangeDetectorRef,Ri,Pi],null,null)],function(e,n){e(n,1,0)},null)}function T(e){return Wt["\u0275vid"](2,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"h2",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["FAQ"])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](3,0,null,null,0,"iframe",[["src","https://www.phonetik.uni-muenchen.de/apps/octra/contents/1.2/faq.html"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],null,null)}function N(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-faq",[],null,null,null,T,To)),Wt["\u0275did"](1,638976,null,0,Vr,[Kt.c,Wt.ChangeDetectorRef,Ri,Pi],null,null)],function(e,n){e(n,1,0)},null)}function I(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,0,"iframe",[["src","https://www.phonetik.uni-muenchen.de/apps/octra/contents/1.2/features.html"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],null,null)}function E(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-features",[],null,null,null,I,Ao)),Wt["\u0275did"](1,114688,null,0,qr,[],null,null)],function(e,n){e(n,1,0)},null)}function A(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,18,"div",[["class","section"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,15,"div",[["id","logout"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](5,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,8,"p",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](9,null,["","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275eld"](11,0,null,null,4,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,12).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&l}return l},null,null)),Wt["\u0275did"](12,671744,null,0,hr.m,[hr.k,hr.a,go.LocationStrategy],{routerLink:[0,"routerLink"]},null),Wt["\u0275pad"](13,1),(e()(),Wt["\u0275ted"](14,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){e(n,12,0,e(n,13,0,"/login"))},function(e,n){e(n,5,0,Wt["\u0275unv"](n,5,0,Wt["\u0275nov"](n,6).transform("general.logout successful"))),e(n,9,0,Wt["\u0275unv"](n,9,0,Wt["\u0275nov"](n,10).transform("logout.successful text"))),e(n,11,0,Wt["\u0275nov"](n,12).target,Wt["\u0275nov"](n,12).href),e(n,14,0,Wt["\u0275unv"](n,14,0,Wt["\u0275nov"](n,15).transform("logout.login again")))})}function D(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-login",[],null,null,null,A,zo)),Wt["\u0275did"](1,114688,null,0,vr,[hr.k,Oi,Ri],null,null)],function(e,n){e(n,1,0)},null)}function L(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"div",[["id","members-area"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),Wt["\u0275did"](3,212992,null,0,hr.o,[hr.b,Wt.ViewContainerRef,Wt.ComponentFactoryResolver,[8,null],Wt.ChangeDetectorRef],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){e(n,3,0)},null)}function U(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"app-members-area",[],null,null,null,L,Wo)),Wt["\u0275prd"](4608,null,Ci,Ci,[]),Wt["\u0275prd"](4608,null,Fi,Fi,[fi,Oi,Ci,Pi,Ri]),Wt["\u0275did"](3,49152,null,0,br,[hr.k,Ri],null,null)],null,null)}function z(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"div",[["class","progress-bar"]],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgStyle,[Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngStyle:[0,"ngStyle"]},null),Wt["\u0275pod"](2,{width:0}),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,1,0,e(n,2,0,n.component.progress+"%"))},null)}function F(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"div",[["class","progress-bar"]],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgStyle,[Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngStyle:[0,"ngStyle"]},null),Wt["\u0275pod"](2,{width:0,"background-color":1}),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,1,0,e(n,2,0,"100%","red"))},null)}function B(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,7,"div",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,1,"span",[["class","link"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.retry()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["Retry"])),(e()(),Wt["\u0275ted"](-1,null,[" or "])),(e()(),Wt["\u0275eld"](5,0,null,null,1,"span",[["class","link"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.goBack()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["Back"])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,null)}function V(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,9,"div",[["c2lass","description"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["\n ","",""])),(e()(),Wt["\u0275eld"](2,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,1,"div",[["class","text-info"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](5,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,B)),Wt["\u0275did"](8,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,8,0,null!==t.warning&&""!==t.warning)},function(e,n){var t=n.component;e(n,1,0,t.text,t.state),e(n,5,0,t.warning)})}function W(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,7,"div",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,1,"span",[["class","link"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.retry()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["Retry"])),(e()(),Wt["\u0275ted"](-1,null,[" or "])),(e()(),Wt["\u0275eld"](5,0,null,null,1,"span",[["class","link"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.goBack()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["Back"])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,null)}function q(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,22,"div",[["id","loading"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,1,"span",[["id","logo"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["OCTRA"])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](5,0,null,null,7,"div",[["class","progress"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,z)),Wt["\u0275did"](8,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,F)),Wt["\u0275did"](11,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,V)),Wt["\u0275did"](15,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](17,0,null,null,1,"div",[["class","log"]],[[8,"innerHTML",1]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,W)),Wt["\u0275did"](21,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){var t=n.component;e(n,8,0,""==t.settService.log),e(n,11,0,""!=t.settService.log),e(n,15,0,""==t.settService.log),e(n,21,0,""!=t.settService.log)},function(e,n){e(n,17,0,n.component.settService.log)})}function K(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-loading",[],null,null,null,q,Xo)),Wt["\u0275did"](1,245760,null,0,fr,[fo.a,Ri,Oi,fi,hr.k,Fi],null,null)],function(e,n){e(n,1,0)},null)}function $(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,29,"div",[["class","panel"],["id","agreement"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"h2",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,1,"p",[],[[8,"innerHTML",1]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](9,0,null,null,19,"div",[["id","bottom-nav"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](11,0,null,null,16,"div",[["aria-label","..."],["class","btn-group btn-group-justified"],["role","group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](13,0,null,null,5,"a",[["class","btn btn-default btn-raised"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.logout()&&l}return l},null,null)),(e()(),Wt["\u0275eld"](14,0,null,null,0,"span",[["aria-hidden","true"],["class","glyphicon glyphicon-remove-circle"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](16,0,null,null,2,"span",[["class","hidden-xs hidden-sm"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](17,null,[" ",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](20,0,null,null,6,"a",[["class","btn btn-default btn-raised"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.accept()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](22,0,null,null,2,"span",[["class","hidden-xs hidden-sm"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](23,null,[" ",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](26,0,null,null,0,"span",[["aria-hidden","true"],["class","glyphicon glyphicon glyphicon-menu-right"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],null,function(e,n){var t=n.component;e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("general.agreement"))),e(n,6,0,t.toHTML(t.settService.projectsettings.agreement.text)),e(n,17,0,Wt["\u0275unv"](n,17,0,Wt["\u0275nov"](n,18).transform("general.quit"))),e(n,23,0,Wt["\u0275unv"](n,23,0,Wt["\u0275nov"](n,24).transform("general.continue")))})}function X(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-agreement",[],null,null,null,$,Yo)),Wt["\u0275did"](1,114688,null,0,Ar,[Ri,hr.k,fo.a,Oi],null,null)],function(e,n){e(n,1,0)},null)}function H(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"span",[["class","text-success found-errors"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("general.no errors found")))})}function Q(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"span",[["class","text-danger found-errors"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["",""])),Wt["\u0275pod"](2,{errors:0}),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){var t=n.component;e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,3).transform("general.errors found",e(n,2,0,t.foundErrors))))})}function G(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,19,"tr",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{success:0,info:1,danger:2}),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,6,"td",[["style","width:25px;"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,3,"span",[["class","glyphicon glyphicon-warning-sign segment-warning"]],null,null,null,null,null)),Wt["\u0275did"](7,278528,null,0,go.NgStyle,[Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngStyle:[0,"ngStyle"]},null),Wt["\u0275pod"](8,{display:0}),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](12,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](13,0,null,null,2,"span",[["class","link segment-number"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.onSegmentClicked(e.context.index)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](14,null,["# ",""])),Wt["\u0275pid"](0,Qr,[]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](18,0,null,null,0,"td",[],[[8,"innerHTML",1]],[[null,"mousemove"],[null,"mousedown"]],function(e,n,t){var l=!0,i=e.component;if("mousemove"===n){l=!1!==i.onMouseOver(t)&&l}if("mousedown"===n){l=!1!==i.onMouseOver(t)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,1,0,e(n,2,0,""!=n.context.$implicit.transcription.text&&n.context.$implicit.transcription.text!=t.transcrService.break_marker.code,n.context.$implicit.transcription.text==t.transcrService.break_marker.code,""==n.context.$implicit.transcription.text)),e(n,7,0,e(n,8,0,n.context.$implicit.transcription.html.indexOf("-1?"normal":"none"))},function(e,n){var t=n.component;e(n,14,0,Wt["\u0275unv"](n,14,0,Wt["\u0275nov"](n,15).transform(n.context.index+1,t.shown_segments.length))),e(n,18,0,t.sanitizeHTML(n.context.$implicit.transcription.html))})}function Y(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,21,"table",[["class","table"]],[[8,"hidden",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,14,"thead",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,11,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,0,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,2,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](9,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](12,0,null,null,2,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](13,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](18,0,null,null,3,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275and"](16777216,null,null,1,null,G)),Wt["\u0275did"](20,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){e(n,20,0,n.component.shown_segments)},function(e,n){e(n,0,0,!n.component.show_transcriptiontable),e(n,9,0,Wt["\u0275unv"](n,9,0,Wt["\u0275nov"](n,10).transform("general.segment"))),e(n,13,0,Wt["\u0275unv"](n,13,0,Wt["\u0275nov"](n,14).transform("general.transcription")))})}function J(e){return Wt["\u0275vid"](2,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"h4",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](4,0,null,null,43,"table",[["class","table"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,20,"thead",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,17,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](10,0,null,null,2,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](11,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](14,0,null,null,2,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](15,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](18,0,null,null,2,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](19,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](22,0,null,null,2,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](23,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](28,0,null,null,18,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](30,0,null,null,15,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](32,0,null,null,1,"td",[["class","active"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](33,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](35,0,null,null,1,"td",[["class","success"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](36,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](38,0,null,null,1,"td",[["class","info"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](39,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](41,0,null,null,3,"td",[["class","danger"]],null,null,null,null,null)),(e()(),Wt["\u0275eld"](42,0,null,null,2,"b",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](43,0,null,null,1,"u",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](44,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](49,0,null,null,7,"p",[],[[8,"hidden",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,H)),Wt["\u0275did"](52,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Q)),Wt["\u0275did"](55,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](58,0,null,null,2,"h4",[],[[8,"hidden",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](59,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](62,0,null,null,6,"div",[],[[8,"hidden",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](64,0,null,null,3,"div",[["style","display:block; text-align:center; margin-top:-10px;position:absolute;width:100%;"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](66,0,null,null,0,"i",[["class","fa fa-spinner fa-spin"],["style","font-size:32px"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Y)),Wt["\u0275did"](71,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,n){var t=n.component;e(n,52,0,0==t.foundErrors),e(n,55,0,t.foundErrors>0),e(n,71,0,t.shown_segments.length>0)},function(e,n){var t=n.component;e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("general.statistics"))),e(n,11,0,Wt["\u0275unv"](n,11,0,Wt["\u0275nov"](n,12).transform("segments.total"))),e(n,15,0,Wt["\u0275unv"](n,15,0,Wt["\u0275nov"](n,16).transform("segments.transcribed"))),e(n,19,0,Wt["\u0275unv"](n,19,0,Wt["\u0275nov"](n,20).transform("segments.with breaks"))),e(n,23,0,Wt["\u0275unv"](n,23,0,Wt["\u0275nov"](n,24).transform("segments.not transcribed"))),e(n,33,0,t.numberOfSegments),e(n,36,0,t.transcrSegments),e(n,39,0,t.pauseSegments),e(n,44,0,t.emptySegments),e(n,49,0,0==t.shown_segments.length),e(n,58,0,!t.show_transcriptiontable),e(n,59,0,Wt["\u0275unv"](n,59,0,Wt["\u0275nov"](n,60).transform("general.transcript"))),e(n,62,0,!t.show_loading)})}function Z(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-transcr-overview",[],null,null,null,J,tu)),Wt["\u0275did"](1,4964352,null,0,Pr,[Fi,fi,Kt.c,Wt.ChangeDetectorRef],null,null)],function(e,n){e(n,1,0)},null)}function ee(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"div",[["class","alert alert-dismissible alert-success"]],[[8,"hidden",0],[24,"@fadeToggle",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["\n ","\n"]))],null,function(e,n){var t=n.component;e(n,0,0,!t.show,t.state),e(n,1,0,t.text)})}function ne(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"div",[["class","alert alert-dismissible alert-danger"]],[[8,"hidden",0],[24,"@fadeToggle",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,1,"button",[["class","close"],["data-dismiss","alert"],["type","button"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\xd7"])),(e()(),Wt["\u0275ted"](4,null,["\n ","\n"]))],null,function(e,n){var t=n.component;e(n,0,0,!t.show,t.state),e(n,4,0,t.text)})}function te(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"div",[["class","alert alert-dismissible alert-info"]],[[8,"hidden",0],[24,"@fadeToggle",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,1,"button",[["class","close"],["data-dismiss","alert"],["type","button"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\xd7"])),(e()(),Wt["\u0275ted"](4,null,["\n ","\n"]))],null,function(e,n){var t=n.component;e(n,0,0,!t.show,t.state),e(n,4,0,t.text)})}function le(e){return Wt["\u0275vid"](2,[(e()(),Wt["\u0275and"](16777216,null,null,1,null,ee)),Wt["\u0275did"](1,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,ne)),Wt["\u0275did"](4,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,te)),Wt["\u0275did"](7,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,n){var t=n.component;e(n,1,0,"success"==t.type),e(n,4,0,"error"==t.type),e(n,7,0,"info"==t.type)},null)}function ie(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-alert",[],null,null,null,le,uu)),Wt["\u0275did"](1,245760,null,0,sr,[Wt.ChangeDetectorRef,Bi],null,null)],function(e,n){e(n,1,0)},null)}function re(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm ":0}),(e()(),Wt["\u0275ted"](3,null,["",""]))],function(e,n){e(n,1,0,e(n,2,0,n.component.responsive))},function(e,n){e(n,3,0,n.component.button_labels.shortcuts)})}function oe(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm hidden-md":0}),(e()(),Wt["\u0275ted"](-1,null,["[ALT +\n 8]"]))],function(e,n){e(n,1,0,e(n,2,0,n.component.responsive))},null)}function ue(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm ":0}),(e()(),Wt["\u0275ted"](3,null,["",""]))],function(e,n){e(n,1,0,e(n,2,0,n.component.responsive))},function(e,n){e(n,3,0,n.component.button_labels.guidelines)})}function ae(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm hidden-md":0}),(e()(),Wt["\u0275ted"](-1,null,["[ALT + 9]"]))],function(e,n){e(n,1,0,e(n,2,0,n.component.responsive))},null)}function se(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm ":0}),(e()(),Wt["\u0275ted"](3,null,["",""]))],function(e,n){e(n,1,0,e(n,2,0,n.component.responsive))},function(e,n){e(n,3,0,n.component.button_labels.overview)})}function ce(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm hidden-md":0}),(e()(),Wt["\u0275ted"](-1,null,["[ALT + 0]"]))],function(e,n){e(n,1,0,e(n,2,0,n.component.responsive))},null)}function de(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm ":0}),(e()(),Wt["\u0275ted"](3,null,["",""]))],function(e,n){e(n,1,0,e(n,2,0,n.component.responsive))},function(e,n){e(n,3,0,n.component.button_labels.help)})}function pe(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,46,"div",[["id","fastbar"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,43,"div",[["aria-label","Justified button group"],["class","btn-group btn-group-justified btn-group-sm"],["role","group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,8,"a",[["class","btn"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.shortcutbtnclicked.emit()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,0,"span",[["class","glyphicon glyphicon-open"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,re)),Wt["\u0275did"](9,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,oe)),Wt["\u0275did"](12,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](14,0,null,null,9,"a",[["class","btn"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.guidelinesbtnclicked.emit()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](16,0,null,null,0,"span",[["class","glyphicon glyphicon-th-list"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,ue)),Wt["\u0275did"](19,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,ae)),Wt["\u0275did"](22,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](25,0,null,null,9,"a",[["class","btn"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.overviewbtnclicked.emit()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](27,0,null,null,0,"span",[["class","glyphicon glyphicon-eye-open"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,se)),Wt["\u0275did"](30,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,ce)),Wt["\u0275did"](33,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](36,0,null,null,8,"a",[["class","btn"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,37).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&l}return l},null,null)),Wt["\u0275did"](37,671744,null,0,hr.m,[hr.k,hr.a,go.LocationStrategy],{routerLink:[0,"routerLink"]},null),Wt["\u0275pad"](38,1),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](40,0,null,null,0,"span",[["class","glyphicon glyphicon-question-sign"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,de)),Wt["\u0275did"](43,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){var t=n.component;e(n,9,0,!t.appStorage.easymode),e(n,12,0,!t.appStorage.easymode),e(n,19,0,!t.appStorage.easymode),e(n,22,0,!t.appStorage.easymode),e(n,30,0,!t.appStorage.easymode),e(n,33,0,!t.appStorage.easymode),e(n,37,0,e(n,38,0,"/user/transcr/help")),e(n,43,0,!t.appStorage.easymode)},function(e,n){e(n,36,0,Wt["\u0275nov"](n,37).target,Wt["\u0275nov"](n,37).href)})}function he(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-fastbar",[],null,null,null,pe,mu)),Wt["\u0275did"](1,114688,null,0,Mr,[Oi],null,null)],function(e,n){e(n,1,0)},null)}function fe(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"div",[["class","bg-warning"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("general.no guidelines found")))})}function ge(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,0,"span",[["class","glyphicon glyphicon glyphicon-chevron-down"]],null,null,null,null,null))],null,null)}function me(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,0,"span",[["class","glyphicon glyphicon glyphicon-chevron-up"]],null,null,null,null,null))],null,null)}function ve(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"div",[["class","media"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,0,"audio",[["controls",""]],[[8,"src",4]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){e(n,2,0,Wt["\u0275inlineInterpolate"](1,"",n.parent.context.$implicit.url,""))})}function be(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,12,"div",[["class","media"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,9,"video",[["class","video-js vjs-default-skin vjs-big-play-centered"],["controls",""],["data-setup","{}"],["preload","auto"]],[[8,"id",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,0,"source",[["type","video/mp4"]],[[8,"src",4]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,4,"p",[["class","vjs-no-js"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n To view this video please enable JavaScript, and consider\n upgrading to a\n web browser that\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,1,"a",[["href","http://videojs.com/html5-video-support/"],["target","_blank"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n supports HTML5 video\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){e(n,2,0,Wt["\u0275inlineInterpolate"](3,"my-player_g",n.parent.parent.parent.parent.parent.context.index,"i",n.parent.parent.parent.context.index,"e",n.parent.context.index,"")),e(n,4,0,Wt["\u0275inlineInterpolate"](1,"",n.parent.context.$implicit.url,""))})}function ye(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,22,"div",[["class","panel panel-primary panel-example"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,5,"div",[["class","panel-heading"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,2,"h3",[["class","panel-title"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](5,null,[""," ",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](9,0,null,null,12,"div",[["class","panel-body"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,ve)),Wt["\u0275did"](12,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,be)),Wt["\u0275did"](15,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](17,0,null,null,3,"div",[["class","text"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](19,0,null,null,0,"code",[],[[8,"innerHTML",1]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,12,0,n.context.$implicit.url.indexOf(".wav")>-1),e(n,15,0,n.context.$implicit.url.indexOf(".mp4")>-1)},function(e,n){var t=n.component;e(n,5,0,Wt["\u0275unv"](n,5,0,Wt["\u0275nov"](n,6).transform("general.example")),n.context.index+1),e(n,19,0,t.transcrService.rawToHTML(n.context.$implicit.annotation))})}function _e(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"div",[["class","col-md-8"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,ye)),Wt["\u0275did"](3,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,3,0,n.parent.context.$implicit.examples)},null)}function we(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,40,"div",[["class","row select-row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,7,"div",[["class","col-xs-1 chevron"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.toggle(e.parent.parent.context.index,e.context.index)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,ge)),Wt["\u0275did"](5,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,me)),Wt["\u0275did"](8,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](11,0,null,null,1,"div",[["class","col-xs-1 code"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.toggle(e.parent.parent.context.index,e.context.index)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](12,null,["\n ","\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](14,0,null,null,19,"div",[["class","col-xs-9"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](16,0,null,null,1,"span",[["class","guidelines-title"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.toggle(e.parent.parent.context.index,e.context.index)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](17,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](19,0,null,null,13,"div",[["class","row entry-row"]],[[2,"collapse",null],[4,"display",null],[2,"in",null],[2,"show",null],[1,"aria-expanded",0],[1,"aria-hidden",0],[2,"collapsing",null]],null,null,null,null)),Wt["\u0275did"](20,16384,null,0,bu.a,[Wt.ElementRef,Wt.Renderer],{collapse:[0,"collapse"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](22,0,null,null,6,"div",[],null,null,null,null,null)),Wt["\u0275did"](23,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](24,{"col-md-4":0,"col-md-12":1}),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](26,0,null,null,1,"span",[["class","guidelines-descr"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](27,null,["\n ","\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,_e)),Wt["\u0275did"](31,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](35,0,null,null,4,"div",[["class","col-xs-1 hidden-xs col-priority"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.toggle(e.parent.parent.context.index,e.context.index)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](37,0,null,null,1,"span",[["class","label label-info"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](38,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,5,0,t.collapsed[n.parent.parent.context.index][n.context.index]),e(n,8,0,!t.collapsed[n.parent.parent.context.index][n.context.index]),e(n,20,0,t.collapsed[n.parent.parent.context.index][n.context.index]),e(n,23,0,e(n,24,0,n.context.$implicit.examples.length>0,0==n.context.$implicit.examples.length)),e(n,31,0,n.context.$implicit.examples.length>0)},function(e,n){e(n,12,0,n.context.$implicit.code),e(n,17,0,n.context.$implicit.title),e(n,19,0,Wt["\u0275nov"](n,20).isCollapse,Wt["\u0275nov"](n,20).display,Wt["\u0275nov"](n,20).isExpanded,Wt["\u0275nov"](n,20).isExpanded,Wt["\u0275nov"](n,20).isExpanded,Wt["\u0275nov"](n,20).isCollapsed,Wt["\u0275nov"](n,20).isCollapsing),e(n,27,0,n.context.$implicit.description),e(n,38,0,n.context.$implicit.priority)})}function Se(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"div",[["class","panel-body"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,we)),Wt["\u0275did"](3,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,3,0,n.parent.context.$implicit.entries)},null)}function ke(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,13,"div",[["class","row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,10,"div",[["class","col-xs-12"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,7,"div",[["class","panel panel-default"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,1,"div",[["class","panel-heading"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](7,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Se)),Wt["\u0275did"](10,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,10,0,n.component.collapsed.length>0)},function(e,n){e(n,7,0,n.context.$implicit.group)})}function Oe(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,63,"modal",[["class","modal"],["id","rules"],["role","dialog"],["tabindex","-1"]],[[2,"fade",null],[1,"data-keyboard",0],[1,"data-backdrop",0]],null,null,au.b,au.a)),Wt["\u0275did"](1,180224,[[1,4],["modal_guidelines",4]],0,su.ModalComponent,[Wt.ElementRef],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](3,0,null,0,41,"modal-header",[],null,null,null,cu.b,cu.a)),Wt["\u0275did"](4,49152,null,0,du.ModalHeaderComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,0,37,"div",[["class","row hidden-xs hidden-sm"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,19,"div",[["class","col-md-7"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](10,0,null,null,4,"h3",[["style","display:inline;"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](11,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275eld"](13,0,null,null,1,"span",[["class","version"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](14,null,["\n v ","\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](16,0,null,null,2,"button",[["class","btn btn-sm btn-danger"],["style","border:1px solid red;"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.exportPDF()&&l}return l},null,null)),(e()(),Wt["\u0275eld"](17,0,null,null,0,"span",[["class","glyphicon glyphicon-print"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,[" PDF\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](20,0,null,null,2,"span",[["class","project"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](21,null,["\n ",": ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](24,0,null,null,2,"span",[["class","authors"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](25,null,["\n ",": ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](29,0,null,null,13,"div",[["class","col-md-5"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](31,0,null,null,10,"div",[["class","form-group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](33,0,null,null,7,"div",[["class","input-group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](35,0,null,null,1,"span",[["class","input-group-addon"]],null,null,null,null,null)),(e()(),Wt["\u0275eld"](36,0,null,null,0,"span",[["class","glyphicon glyphicon-search"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](38,0,[["input",1]],null,1,"input",[["class","form-control"],["id","addon1"],["type","text"]],[[8,"placeholder",0]],[[null,"keyup"]],function(e,n,t){var l=!0,i=e.component;if("keyup"===n){l=!1!==i.search(Wt["\u0275nov"](e,38).value)&&l}return l},null,null)),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](46,0,null,0,8,"modal-body",[],null,null,null,lu.b,lu.a)),Wt["\u0275did"](47,49152,null,0,iu.ModalBodyComponent,[],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,fe)),Wt["\u0275did"](50,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,ke)),Wt["\u0275did"](53,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](56,0,null,0,6,"modal-footer",[],null,null,null,pu.b,pu.a)),Wt["\u0275did"](57,49152,null,0,hu.ModalFooterComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](59,0,null,0,2,"button",[["class","btn btn-default"],["data-dismiss","modal"],["type","button"]],null,[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,1).dismiss()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](60,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n"]))],function(e,n){var t=n.component;e(n,50,0,0==t.shown_guidelines.instructions.length),e(n,53,0,t.shown_guidelines.instructions)},function(e,n){var t=n.component;e(n,0,0,Wt["\u0275nov"](n,1).fadeClass,Wt["\u0275nov"](n,1).dataKeyboardAttr,Wt["\u0275nov"](n,1).dataBackdropAttr),e(n,11,0,Wt["\u0275unv"](n,11,0,Wt["\u0275nov"](n,12).transform("general.guidelines"))),e(n,14,0,t.guidelines.meta.version),e(n,21,0,Wt["\u0275unv"](n,21,0,Wt["\u0275nov"](n,22).transform("general.project")),t.guidelines.meta.project),e(n,25,0,Wt["\u0275unv"](n,25,0,Wt["\u0275nov"](n,26).transform("general.authors")),t.guidelines.meta.authors),e(n,38,0,Wt["\u0275inlineInterpolate"](1,"",Wt["\u0275unv"](n,38,0,Wt["\u0275nov"](n,39).transform("general.search")),"")),e(n,60,0,Wt["\u0275unv"](n,60,0,Wt["\u0275nov"](n,61).transform("general.close")))})}function xe(e){return Wt["\u0275vid"](0,[Wt["\u0275qud"](671088640,1,{modal_guidelines:0}),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Oe)),Wt["\u0275did"](2,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,n){e(n,2,0,null!=n.component.guidelines)},null)}function Ce(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-transcr-guidelines",[],null,null,null,xe,_u)),Wt["\u0275did"](1,4833280,null,0,eo,[Fi,Wt.ChangeDetectorRef,fo.a,Ri],null,null)],function(e,n){e(n,1,0)},null)}function Pe(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"app-transcr-overview",[],null,[[null,"segmentclicked"]],function(e,n,t){var l=!0,i=e.component;if("segmentclicked"===n){l=!1!==i.onSegmentInOverviewClicked(t)&&l}return l},J,tu)),Wt["\u0275did"](1,4964352,null,0,Pr,[Fi,fi,Kt.c,Wt.ChangeDetectorRef],{segments:[0,"segments"],visible:[1,"visible"]},{segmentclicked:"segmentclicked"}),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,1,0,null!==t.transcrService.annotation&&void 0!==t.transcrService.annotation?t.transcrService.annotation.levels[t.transcrService.selectedlevel].segments.segments:null,Wt["\u0275nov"](n.parent,67).visible)},null)}function je(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"span",[["class","focus-info"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["(",")"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("general.on focus only")))})}function Re(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,11,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](7,null,[""," "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,je)),Wt["\u0275did"](9,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,9,0,n.context.$implicit.value.focusonly)},function(e,n){var t=n.component;e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("modal.shortcuts."+n.context.$implicit.value.title))),e(n,7,0,n.context.$implicit.value.keys[t.platform])})}function Me(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,10,"div",[["class","table-responsive"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,7,"table",[["class","table table-hover"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,4,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Re)),Wt["\u0275did"](7,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,7,0,n.component.keyMap.getEntryList("AP"))},null)}function Te(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,8,"div",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Me)),Wt["\u0275did"](7,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,7,0,null!==n.component.keyMap.getEntryList("AP"))},function(e,n){e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("modal.shortcuts.audioplayer")))})}function Ne(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"span",[["class","focus-info"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["(",")"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("general.on focus only")))})}function Ie(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,11,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](7,null,[""," "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ne)),Wt["\u0275did"](9,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,9,0,null!==n.context.$implicit.value&&n.context.$implicit.value.focusonly)},function(e,n){var t=n.component;e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("modal.shortcuts."+n.context.$implicit.value.title))),e(n,7,0,n.context.$implicit.value.keys[t.platform])})}function Ee(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,10,"div",[["class","table-responsive"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,7,"table",[["class","table table-hover"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,4,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ie)),Wt["\u0275did"](7,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,7,0,n.component.keyMap.getEntryList("AV"))},null)}function Ae(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"span",[["class","focus-info"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["(",")"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("general.on focus only")))})}function De(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,11,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](7,null,[""," "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ae)),Wt["\u0275did"](9,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,9,0,null!==n.context.$implicit.value&&n.context.$implicit.value.focusonly)},function(e,n){var t=n.component;e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("modal.shortcuts."+n.context.$implicit.value.title))),e(n,7,0,n.context.$implicit.value.keys[t.platform])})}function Le(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,10,"div",[["class","table-responsive"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,7,"table",[["class","table table-hover"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,4,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,De)),Wt["\u0275did"](7,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,7,0,n.component.keyMap.getEntryList("Loupe"))},null)}function Ue(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,15,"div",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ee)),Wt["\u0275did"](7,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](9,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](10,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Le)),Wt["\u0275did"](14,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,7,0,null!==t.keyMap.getEntryList("AV")),e(n,14,0,null!==t.keyMap.getEntryList("Loupe"))},function(e,n){e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("modal.shortcuts.top signaldisplay"))),e(n,10,0,Wt["\u0275unv"](n,10,0,Wt["\u0275nov"](n,11).transform("modal.shortcuts.down signaldisplay")))})}function ze(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"span",[["class","focus-info"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["(",")"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("general.on focus only")))})}function Fe(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,11,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](7,null,[""," "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,ze)),Wt["\u0275did"](9,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,9,0,n.context.$implicit.value.focusonly)},function(e,n){var t=n.component;e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("modal.shortcuts."+n.context.$implicit.value.title))),e(n,7,0,n.context.$implicit.value.keys[t.platform])})}function Be(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"span",[["class","focus-info"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["(",")"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("general.on focus only")))})}function Ve(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,11,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](7,null,[""," "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Be)),Wt["\u0275did"](9,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,9,0,n.context.$implicit.value.focusonly)},function(e,n){var t=n.component;e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("modal.shortcuts."+n.context.$implicit.value.title))),e(n,7,0,n.context.$implicit.value.keys[t.platform])})}function We(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,33,"div",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,10,"div",[["class","table-responsive"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,7,"table",[["class","table table-hover"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](10,0,null,null,4,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Fe)),Wt["\u0275did"](13,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](18,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](19,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](22,0,null,null,10,"div",[["class","table-responsive"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](24,0,null,null,7,"table",[["class","table table-hover"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](26,0,null,null,4,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ve)),Wt["\u0275did"](29,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,13,0,t.keyMap.getEntryList("2D-Editor")),e(n,29,0,t.keyMap.getEntryList("Transcription Window"))},function(e,n){e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("modal.shortcuts.2D-Editor"))),e(n,19,0,Wt["\u0275unv"](n,19,0,Wt["\u0275nov"](n,20).transform("general.transcription window")))})}function qe(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,11,"modal-body",[],null,null,null,lu.b,lu.a)),Wt["\u0275did"](1,49152,null,0,iu.ModalBodyComponent,[],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,Te)),Wt["\u0275did"](4,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,Ue)),Wt["\u0275did"](7,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,We)),Wt["\u0275did"](10,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "]))],function(e,n){var t=n.component;e(n,4,0,"Editor without signal display"==t.interface),e(n,7,0,"Linear Editor"==t.interface),e(n,10,0,"2D-Editor"==t.interface)},null)}function Ke(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,0,"span",[["class","glyphicon glyphicon-floppy-disk"],["style","color:#333333"]],null,null,null,null,null))],null,null)}function $e(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,0,"span",[["class","glyphicon glyphicon-floppy-disk"],["style","color:red"]],null,null,null,null,null))],null,null)}function Xe(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275and"](0,null,null,0))],null,null)}function He(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"span",[["class","required_marker"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["*"]))],null,null)}function Qe(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"span",[["class","glyphicon glyphicon-chevron-up"],["style","color:grey; display: block; padding:0;cursor:pointer;margin-bottom:10px;"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.expandFeedback()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,null)}function Ge(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"span",[["class","glyphicon glyphicon-chevron-down"],["style","color:grey; display: block; padding:0;cursor:pointer;margin-bottom:10px;"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.expandFeedback()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,null)}function Ye(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"span",[["class","required_marker"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["*"]))],null,null)}function Je(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,14,"div",[["class","radio"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,11,"label",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["","\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,8,"input",[["type","radio"]],[[8,"checked",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(e,n,t){var l=!0,i=e.component;if("input"===n){l=!1!==Wt["\u0275nov"](e,5)._handleInput(t.target.value)&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,5).onTouched()&&l}if("compositionstart"===n){l=!1!==Wt["\u0275nov"](e,5)._compositionStart()&&l}if("compositionend"===n){l=!1!==Wt["\u0275nov"](e,5)._compositionEnd(t.target.value)&&l}if("change"===n){l=!1!==Wt["\u0275nov"](e,6).onChange()&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,6).onTouched()&&l}if("ngModelChange"===n){l=!1!==(i.feedback_data[e.parent.parent.context.$implicit.name]=t)&&l}return l},null,null)),Wt["\u0275did"](5,16384,null,0,$t.d,[Wt.Renderer2,Wt.ElementRef,[2,$t.a]],null,null),Wt["\u0275did"](6,212992,null,0,$t.r,[Wt.Renderer2,Wt.ElementRef,$t.z,Wt.Injector],{name:[0,"name"],value:[1,"value"]},null),Wt["\u0275did"](7,16384,null,0,$t.t,[],{required:[0,"required"]},null),Wt["\u0275prd"](1024,null,$t.i,function(e){return[e]},[$t.t]),Wt["\u0275prd"](1024,null,$t.j,function(e,n){return[e,n]},[$t.d,$t.r]),Wt["\u0275did"](10,671744,null,0,$t.o,[[2,$t.c],[2,$t.i],[8,null],[2,$t.j]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Wt["\u0275prd"](2048,null,$t.k,null,[$t.o]),Wt["\u0275did"](12,16384,null,0,$t.l,[$t.k],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,6,0,Wt["\u0275inlineInterpolate"](1,"",n.parent.parent.context.$implicit.name,""),Wt["\u0275inlineInterpolate"](1,"",n.parent.context.$implicit.value,"")),e(n,7,0,n.parent.context.$implicit.required),e(n,10,0,Wt["\u0275inlineInterpolate"](1,"",n.parent.parent.context.$implicit.name,""),t.feedback_data[n.parent.parent.context.$implicit.name])},function(e,n){var t=n.component;e(n,3,0,t.translate(n.parent.context.$implicit.label.languages,t.langService.currentLang)),e(n,4,0,n.parent.context.$implicit.custom.checked,Wt["\u0275nov"](n,7).required?"":null,Wt["\u0275nov"](n,12).ngClassUntouched,Wt["\u0275nov"](n,12).ngClassTouched,Wt["\u0275nov"](n,12).ngClassPristine,Wt["\u0275nov"](n,12).ngClassDirty,Wt["\u0275nov"](n,12).ngClassValid,Wt["\u0275nov"](n,12).ngClassInvalid,Wt["\u0275nov"](n,12).ngClassPending)})}function Ze(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"span",[["class","required_marker"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["*"]))],null,null)}function en(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,9,"div",[["class","checkbox"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,6,"label",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,[["checkb",1]],null,0,"input",[["type","checkbox"],["value","true"]],[[8,"name",0],[8,"checked",0],[8,"required",0]],[[null,"change"]],function(e,n,t){var l=!0,i=e.component;if("change"===n){l=!1!==i.checkBoxChanged(e.parent.parent.context.$implicit.name,e.parent.context.$implicit.value)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ze)),Wt["\u0275did"](7,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](8,null,["\n ","\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,7,0,n.parent.context.$implicit.required)},function(e,n){var t=n.component;e(n,4,0,Wt["\u0275inlineInterpolate"](1,"",n.parent.context.$implicit.value,""),n.parent.context.$implicit.custom.checked,n.parent.context.$implicit.required),e(n,8,0,t.translate(n.parent.context.$implicit.label.languages,t.langService.currentLang))})}function nn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,7,"div",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,1,"label",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),(e()(),Wt["\u0275eld"](4,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,0,"textarea",[["class","form-control"]],[[8,"name",0],[8,"value",0],[8,"required",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,['\n [(ngModel)]="feedback_data[group.name]"\n ']))],null,function(e,n){var t=n.component;e(n,3,0,t.translate(n.parent.context.$implicit.label.languages,t.langService.currentLang)),e(n,6,0,Wt["\u0275inlineInterpolate"](1,"",n.parent.parent.context.$implicit.name,""),Wt["\u0275inlineInterpolate"](1,"",n.parent.context.$implicit.value,""),n.parent.context.$implicit.required)})}function tn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,10,"div",[["class","ctrl"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Je)),Wt["\u0275did"](3,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,en)),Wt["\u0275did"](6,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,nn)),Wt["\u0275did"](9,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,3,0,"radiobutton"===n.context.$implicit.type.type),e(n,6,0,"checkbox"===n.context.$implicit.type.type),e(n,9,0,"textarea"===n.context.$implicit.type.type)},null)}function ln(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,14,"div",[["class","form-group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,1,"label",[["class","control-label"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ye)),Wt["\u0275did"](6,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](10,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,tn)),Wt["\u0275did"](13,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,6,0,n.context.$implicit.controls[0].required),e(n,13,0,n.context.$implicit.controls)},function(e,n){var t=n.component;e(n,3,0,t.translate(n.context.$implicit.title,t.langService.currentLang))})}function rn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,[["feedback",1]],null,60,"div",[["class","panel"],["id","bottom-feedback"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,23,"table",[["style","width:100%;"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,20,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,17,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,5,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](9,0,null,null,3,"span",[["class","link"],["style","width:100%;display: block;"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.expandFeedback()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["FEEDBACK "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,He)),Wt["\u0275did"](12,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](15,0,null,null,7,"td",[["style","text-align: right"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Qe)),Wt["\u0275did"](18,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ge)),Wt["\u0275did"](21,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](27,0,null,null,32,"div",[["class","inner"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](29,0,null,null,29,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(e,n,t){var l=!0;if("submit"===n){l=!1!==Wt["\u0275nov"](e,31).onSubmit(t)&&l}if("reset"===n){l=!1!==Wt["\u0275nov"](e,31).onReset()&&l}return l},null,null)),Wt["\u0275did"](30,16384,null,0,$t.y,[],null,null),Wt["\u0275did"](31,16384,[[7,4],["fo",4]],0,$t.n,[[8,null],[8,null]],null,null),Wt["\u0275prd"](2048,null,$t.c,null,[$t.n]),Wt["\u0275did"](33,16384,null,0,$t.m,[$t.c],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](35,0,null,null,22,"fieldset",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,ln)),Wt["\u0275did"](38,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](40,0,null,null,16,"div",[["class","form-group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](42,0,null,null,13,"div",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](44,0,null,null,2,"label",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](45,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275eld"](47,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](49,0,null,null,5,"textarea",[["class","form-control"],["name","comment"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,n,t){var l=!0,i=e.component;if("input"===n){l=!1!==Wt["\u0275nov"](e,50)._handleInput(t.target.value)&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,50).onTouched()&&l}if("compositionstart"===n){l=!1!==Wt["\u0275nov"](e,50)._compositionStart()&&l}if("compositionend"===n){l=!1!==Wt["\u0275nov"](e,50)._compositionEnd(t.target.value)&&l}if("ngModelChange"===n){l=!1!==(i.transcrService.feedback.comment=t)&&l}return l},null,null)),Wt["\u0275did"](50,16384,null,0,$t.d,[Wt.Renderer2,Wt.ElementRef,[2,$t.a]],null,null),Wt["\u0275prd"](1024,null,$t.j,function(e){return[e]},[$t.d]),Wt["\u0275did"](52,671744,null,0,$t.o,[[2,$t.c],[8,null],[8,null],[2,$t.j]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Wt["\u0275prd"](2048,null,$t.k,null,[$t.o]),Wt["\u0275did"](54,16384,null,0,$t.l,[$t.k],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,12,0,t.transcrService.feedback.required),e(n,18,0,!t.feedback_expanded),e(n,21,0,t.feedback_expanded),e(n,38,0,t.transcrService.feedback.groups);e(n,52,0,"comment",t.transcrService.feedback.comment)},function(e,n){e(n,29,0,Wt["\u0275nov"](n,33).ngClassUntouched,Wt["\u0275nov"](n,33).ngClassTouched,Wt["\u0275nov"](n,33).ngClassPristine,Wt["\u0275nov"](n,33).ngClassDirty,Wt["\u0275nov"](n,33).ngClassValid,Wt["\u0275nov"](n,33).ngClassInvalid,Wt["\u0275nov"](n,33).ngClassPending),e(n,45,0,Wt["\u0275unv"](n,45,0,Wt["\u0275nov"](n,46).transform("transcription-submit.comment description"))),e(n,49,0,Wt["\u0275nov"](n,54).ngClassUntouched,Wt["\u0275nov"](n,54).ngClassTouched,Wt["\u0275nov"](n,54).ngClassPristine,Wt["\u0275nov"](n,54).ngClassDirty,Wt["\u0275nov"](n,54).ngClassValid,Wt["\u0275nov"](n,54).ngClassInvalid,Wt["\u0275nov"](n,54).ngClassPending)})}function on(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm":0}),(e()(),Wt["\u0275ted"](3,null,[" ",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],function(e,n){e(n,1,0,e(n,2,0,n.component.appc.octra.responsive.enabled))},function(e,n){e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("general.quit")))})}function un(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm":0}),(e()(),Wt["\u0275ted"](3,null,[" ",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],function(e,n){e(n,1,0,e(n,2,0,n.component.appc.octra.responsive.enabled))},function(e,n){e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("general.export data")))})}function an(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"a",[["class","btn btn-primary btn-raised"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.navbarServ.doclick("export")&&l}return l},null,null)),(e()(),Wt["\u0275and"](16777216,null,null,1,null,un)),Wt["\u0275did"](2,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,0,"span",[["class","glyphicon glyphicon-download"]],null,null,null,null,null))],function(e,n){e(n,2,0,!n.component.appStorage.easymode)},null)}function sn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm":0}),(e()(),Wt["\u0275ted"](3,null,[" ",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],function(e,n){e(n,1,0,e(n,2,0,n.component.appc.octra.responsive.enabled))},function(e,n){e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("transcription.send")))})}function cn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"a",[["class","btn btn-primary btn-raised"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.onSendButtonClick()&&l}return l},null,null)),(e()(),Wt["\u0275and"](16777216,null,null,1,null,sn)),Wt["\u0275did"](2,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,0,"span",[["class","glyphicon glyphicon-send"]],null,null,null,null,null))],function(e,n){e(n,2,0,!n.component.appStorage.easymode)},null)}function dn(e){return Wt["\u0275vid"](0,[Wt["\u0275qud"](402653184,1,{modal_shortcuts:0}),Wt["\u0275qud"](402653184,2,{modal_guidelines:0}),Wt["\u0275qud"](402653184,3,{modal_overview:0}),Wt["\u0275qud"](402653184,4,{appLoadeditor:0}),Wt["\u0275qud"](402653184,5,{modal:0}),Wt["\u0275qud"](402653184,6,{modal2:0}),Wt["\u0275qud"](671088640,7,{feedback_form:0}),(e()(),Wt["\u0275eld"](7,0,null,null,1,"app-alert",[],null,null,null,le,uu)),Wt["\u0275did"](8,245760,[["alert",4]],0,sr,[Wt.ChangeDetectorRef,Bi],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](10,0,null,null,27,"modal",[["class","modal"],["role","dialog"],["tabindex","-1"]],[[2,"fade",null],[1,"data-keyboard",0],[1,"data-backdrop",0]],null,null,au.b,au.a)),Wt["\u0275did"](11,180224,[[5,4],["modal",4]],0,su.ModalComponent,[Wt.ElementRef],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](13,0,null,0,6,"modal-header",[],null,null,null,cu.b,cu.a)),Wt["\u0275did"](14,49152,null,0,du.ModalHeaderComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](16,0,null,0,2,"h4",[["class","modal-title"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](17,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](21,0,null,0,3,"modal-body",[],null,null,null,lu.b,lu.a)),Wt["\u0275did"](22,49152,null,0,iu.ModalBodyComponent,[],null,null),(e()(),Wt["\u0275ted"](23,0,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](26,0,null,0,10,"modal-footer",[],null,null,null,pu.b,pu.a)),Wt["\u0275did"](27,49152,null,0,hu.ModalFooterComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](29,0,null,0,2,"button",[["class","btn btn-primary"],["type","button"]],null,[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,11).dismiss()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](30,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](33,0,null,0,2,"button",[["class","btn btn-default"],["type","button"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.onSendNowClick()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](34,null,["","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n\n"])),(e()(),Wt["\u0275eld"](39,0,null,null,25,"modal",[["class","modal"],["role","dialog"],["tabindex","-1"]],[[2,"fade",null],[1,"data-keyboard",0],[1,"data-backdrop",0]],null,null,au.b,au.a)),Wt["\u0275did"](40,180224,[[6,4],["modal2",4]],0,su.ModalComponent,[Wt.ElementRef],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](42,0,null,0,6,"modal-header",[],null,null,null,cu.b,cu.a)),Wt["\u0275did"](43,49152,null,0,du.ModalHeaderComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](45,0,null,0,2,"h4",[["class","modal-title"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](46,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](50,0,null,0,13,"modal-body",[],null,null,null,lu.b,lu.a)),Wt["\u0275did"](51,49152,null,0,iu.ModalBodyComponent,[],null,null),(e()(),Wt["\u0275ted"](52,0,["\n ",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275eld"](54,0,null,0,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](55,0,null,0,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](57,0,null,0,1,"div",[["style","color:red"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](58,null,["",""])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](60,0,null,0,2,"div",[["class","text-success"],["style","text-align: center;display:block;"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](61,null,["","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](66,0,null,null,17,"modal",[["class","modal"],["id","overview"],["role","dialog"],["tabindex","-1"]],[[2,"fade",null],[1,"data-keyboard",0],[1,"data-backdrop",0]],null,null,au.b,au.a)),Wt["\u0275did"](67,180224,[[3,4],["modal_overview",4]],0,su.ModalComponent,[Wt.ElementRef],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](69,0,null,0,5,"modal-body",[],null,null,null,lu.b,lu.a)),Wt["\u0275did"](70,49152,null,0,iu.ModalBodyComponent,[],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,Pe)),Wt["\u0275did"](73,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](76,0,null,0,6,"modal-footer",[],null,null,null,pu.b,pu.a)),Wt["\u0275did"](77,49152,null,0,hu.ModalFooterComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](79,0,null,0,2,"button",[["class","btn btn-default"],["data-dismiss","modal"],["type","button"]],null,[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,67).dismiss()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](80,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n\n"])),(e()(),Wt["\u0275eld"](85,0,null,null,13,"modal",[["class","modal"],["role","dialog"],["tabindex","-1"]],[[2,"fade",null],[1,"data-keyboard",0],[1,"data-backdrop",0]],null,null,au.b,au.a)),Wt["\u0275did"](86,180224,[[1,4],["modal_shortcuts",4]],0,su.ModalComponent,[Wt.ElementRef],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,qe)),Wt["\u0275did"](89,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](91,0,null,0,6,"modal-footer",[],null,null,null,pu.b,pu.a)),Wt["\u0275did"](92,49152,null,0,hu.ModalFooterComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](94,0,null,0,2,"button",[["class","btn btn-primary"],["type","button"]],null,[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,86).dismiss()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](95,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n\n"])),(e()(),Wt["\u0275eld"](100,0,null,null,18,"modal",[["class","modal"],["id","transcription_success"],["role","dialog"],["tabindex","-1"]],[[2,"fade",null],[1,"data-keyboard",0],[1,"data-backdrop",0]],null,null,au.b,au.a)),Wt["\u0275did"](101,180224,[["success",4]],0,su.ModalComponent,[Wt.ElementRef],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](103,0,null,0,6,"modal-body",[],null,null,null,lu.b,lu.a)),Wt["\u0275did"](104,49152,null,0,iu.ModalBodyComponent,[],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](106,0,null,0,2,"p",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](107,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](111,0,null,0,6,"modal-footer",[],null,null,null,pu.b,pu.a)),Wt["\u0275did"](112,49152,null,0,hu.ModalFooterComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](114,0,null,0,2,"button",[["class","btn btn-default"],["data-dismiss","modal"],["type","button"]],null,[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,101).dismiss()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](115,null,["","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n\n"])),(e()(),Wt["\u0275eld"](120,0,null,null,48,"div",[["class","flex"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](122,0,null,null,7,"span",[["id","saving"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ke)),Wt["\u0275did"](125,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,$e)),Wt["\u0275did"](128,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](131,0,null,null,6,"app-fastbar",[],null,[[null,"shortcutbtnclicked"],[null,"guidelinesbtnclicked"],[null,"overviewbtnclicked"]],function(e,n,t){var l=!0;if("shortcutbtnclicked"===n){l=!1!==Wt["\u0275nov"](e,86).open()&&l}if("guidelinesbtnclicked"===n){l=!1!==Wt["\u0275nov"](e,140).open()&&l}if("overviewbtnclicked"===n){l=!1!==Wt["\u0275nov"](e,67).open()&&l}return l},pe,mu)),Wt["\u0275did"](132,114688,null,0,Mr,[Oi],{responsive:[0,"responsive"],button_labels:[1,"button_labels"]},{shortcutbtnclicked:"shortcutbtnclicked",guidelinesbtnclicked:"guidelinesbtnclicked",overviewbtnclicked:"overviewbtnclicked"}),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pod"](137,{shortcuts:0,guidelines:1,overview:2,help:3}),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275eld"](139,0,null,null,2,"app-transcr-guidelines",[],null,null,null,xe,_u)),Wt["\u0275did"](140,4833280,[[2,4],["modal_guidelines",4]],0,eo,[Fi,Wt.ChangeDetectorRef,fo.a,Ri],{guidelines:[0,"guidelines"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275eld"](143,0,null,null,4,"div",[["class","flex"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Xe)),Wt["\u0275did"](146,16384,[[4,4]],0,ro,[Wt.ViewContainerRef],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,rn)),Wt["\u0275did"](150,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](152,0,null,null,15,"div",[["id","bottom-nav"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](154,0,null,null,12,"div",[["aria-label","..."],["class","btn-group btn-group-justified"],["role","group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](156,0,null,null,3,"a",[["class","btn btn-default btn-raised"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.modService.show("transcription_stop","",{ok:i.abortTranscription})&&l}return l},null,null)),(e()(),Wt["\u0275eld"](157,0,null,null,0,"span",[["aria-hidden","true"],["class","glyphicon glyphicon-remove-circle"]],null,null,null,null,null)),(e()(),Wt["\u0275and"](16777216,null,null,1,null,on)),Wt["\u0275did"](159,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,an)),Wt["\u0275did"](162,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,cn)),Wt["\u0275did"](165,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){var t=n.component;e(n,8,0),e(n,73,0,null!==t.transcrService.annotation),e(n,89,0,t.editorloaded),e(n,125,0,"saving"===t.saving),e(n,128,0,"error"===t.saving),e(n,132,0,t.responsive,e(n,137,0,Wt["\u0275unv"](n,132,1,Wt["\u0275nov"](n,133).transform("general.shortcuts")),Wt["\u0275unv"](n,132,1,Wt["\u0275nov"](n,134).transform("general.guidelines")),Wt["\u0275unv"](n,132,1,Wt["\u0275nov"](n,135).transform("general.overview")),Wt["\u0275unv"](n,132,1,Wt["\u0275nov"](n,136).transform("general.help")))),e(n,140,0,t.transcrService.guidelines),e(n,150,0,!t.appStorage.uselocalmode&&null!==t.transcrService.feedback&&void 0!==t.transcrService.feedback),e(n,159,0,!t.appStorage.easymode),e(n,162,0,t.appStorage.uselocalmode),e(n,165,0,!t.appStorage.uselocalmode)},function(e,n){var t=n.component;e(n,10,0,Wt["\u0275nov"](n,11).fadeClass,Wt["\u0275nov"](n,11).dataKeyboardAttr,Wt["\u0275nov"](n,11).dataBackdropAttr),e(n,17,0,Wt["\u0275unv"](n,17,0,Wt["\u0275nov"](n,18).transform("modal.transcription.send.header"))),e(n,23,0,Wt["\u0275unv"](n,23,0,Wt["\u0275nov"](n,24).transform("modal.transcription.send.text"))),e(n,30,0,Wt["\u0275unv"](n,30,0,Wt["\u0275nov"](n,31).transform("general.abort"))),e(n,34,0,Wt["\u0275unv"](n,34,0,Wt["\u0275nov"](n,35).transform("general.send now"))),e(n,39,0,Wt["\u0275nov"](n,40).fadeClass,Wt["\u0275nov"](n,40).dataKeyboardAttr,Wt["\u0275nov"](n,40).dataBackdropAttr),e(n,46,0,Wt["\u0275unv"](n,46,0,Wt["\u0275nov"](n,47).transform("modal.transcription.sending.header"))),e(n,52,0,Wt["\u0275unv"](n,52,0,Wt["\u0275nov"](n,53).transform("modal.transcription.sending.text"))),e(n,58,0,t.send_error),e(n,61,0,Wt["\u0275unv"](n,61,0,Wt["\u0275nov"](n,62).transform("general.submission success"))),e(n,66,0,Wt["\u0275nov"](n,67).fadeClass,Wt["\u0275nov"](n,67).dataKeyboardAttr,Wt["\u0275nov"](n,67).dataBackdropAttr),e(n,80,0,Wt["\u0275unv"](n,80,0,Wt["\u0275nov"](n,81).transform("general.close"))),e(n,85,0,Wt["\u0275nov"](n,86).fadeClass,Wt["\u0275nov"](n,86).dataKeyboardAttr,Wt["\u0275nov"](n,86).dataBackdropAttr),e(n,95,0,Wt["\u0275unv"](n,95,0,Wt["\u0275nov"](n,96).transform("general.close"))),e(n,100,0,Wt["\u0275nov"](n,101).fadeClass,Wt["\u0275nov"](n,101).dataKeyboardAttr,Wt["\u0275nov"](n,101).dataBackdropAttr),e(n,107,0,Wt["\u0275unv"](n,107,0,Wt["\u0275nov"](n,108).transform("transcription submitted.no jobs left"))),e(n,115,0,Wt["\u0275unv"](n,115,0,Wt["\u0275nov"](n,116).transform("general.close")))})}function pn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"app-transcription",[],null,[["window","keydown"]],function(e,n,t){var l=!0;if("window:keydown"===n){l=!1!==Wt["\u0275nov"](e,2).onKeyUp(t)&&l}return l},dn,Su)),Wt["\u0275prd"](4608,null,Bi,Bi,[]),Wt["\u0275did"](2,16498688,null,0,xr,[hr.k,Wt.ComponentFactoryResolver,fi,Ci,Fi,Oi,vi,Wt.ChangeDetectorRef,Pi,Ri,mi,fo.a,Fl,dr],null,null)],function(e,n){e(n,2,0)},null)}function hn(e){return Wt["\u0275vid"](2,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"h2",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](4,0,null,null,4,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,5).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&l}return l},null,null)),Wt["\u0275did"](5,671744,null,0,hr.m,[hr.k,hr.a,go.LocationStrategy],{routerLink:[0,"routerLink"]},null),Wt["\u0275pad"](6,1),(e()(),Wt["\u0275ted"](7,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](10,0,null,null,0,"iframe",[],[[8,"src",5]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){e(n,5,0,e(n,6,0,"/user/transcr/"))},function(e,n){var t=n.component;e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("general.help"))),e(n,4,0,Wt["\u0275nov"](n,5).target,Wt["\u0275nov"](n,5).href),e(n,7,0,Wt["\u0275unv"](n,7,0,Wt["\u0275nov"](n,8).transform("general.back"))),e(n,10,0,t.sanitized_url)})}function fn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-help",[],null,null,null,hn,Cu)),Wt["\u0275did"](1,638976,null,0,Dr,[Kt.c,Wt.ChangeDetectorRef,Ri,Pi],null,null)],function(e,n){e(n,1,0)},null)}function gn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,15,"div",[["id","transcr-end"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,12,"div",[["class","container"],["style","width:900px;"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,9,"div",[["class","well well-large"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,2,"p",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](7,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275eld"](10,0,null,null,2,"a",[["class","btn btn-raised btn-default"],["style","width:100%;"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.leave()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](11,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],null,function(e,n){e(n,7,0,Wt["\u0275unv"](n,7,0,Wt["\u0275nov"](n,8).transform("transcription submitted.no jobs left"))),e(n,11,0,Wt["\u0275unv"](n,11,0,Wt["\u0275nov"](n,12).transform("transcription submitted.quit")))})}function mn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-transcription-submitted",[],null,null,null,gn,Mu)),Wt["\u0275did"](1,4440064,null,0,Cr,[hr.k,Oi,Fi,Ci,Ri,Pi],null,null)],function(e,n){e(n,1,0)},null)}function vn(e){return Wt["\u0275vid"](0,[Wt["\u0275qud"](402653184,1,{dropzone:0}),(e()(),Wt["\u0275eld"](1,0,null,null,70,"div",[["class","container"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](3,0,null,null,67,"div",[["class","row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](5,0,null,null,0,"div",[["class","col-md-1"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](7,0,null,null,60,"div",[["class","col-md-10 panel"],["style","background-color:white;padding:20px;"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](9,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](10,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](13,0,null,null,2,"p",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](14,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](17,0,null,null,7,"p",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](19,0,null,null,2,"b",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](20,null,["",": ",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275eld"](22,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](23,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](26,0,null,null,1,"app-octra-dropzone",[],null,null,null,p,wo)),Wt["\u0275did"](27,245760,[[1,4],["dropzone",4]],0,io,[mi],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](29,0,null,null,37,"div",[["aria-label","..."],["class","btn-group btn-group-justified"],["role","group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](31,0,null,null,10,"div",[["class","btn-group"],["role","group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](33,0,null,null,7,"button",[["class","btn btn-default btn-raised"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.modService.show("transcription_stop","",{ok:i.abortTranscription})&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](35,0,null,null,0,"span",[["class","glyphicon glyphicon glyphicon-log-out"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,[" "])),(e()(),Wt["\u0275eld"](37,0,null,null,2,"span",[["class","hidden-xs hidden-sm hidden-md"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](38,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](43,0,null,null,10,"div",[["class","btn-group"],["role","group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](45,0,null,null,7,"button",[["class","btn btn-default btn-raised btn-danger"]],[[8,"disabled",0]],[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.modService.show("transcription_delete","",{ok:i.newTranscription})&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](47,0,null,null,0,"span",[["class","glyphicon glyphicon-file"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,[" "])),(e()(),Wt["\u0275eld"](49,0,null,null,2,"span",[["class","hidden-xs hidden-sm hidden-md"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](50,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](55,0,null,null,10,"div",[["class","btn-group"],["role","group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](57,0,null,null,7,"button",[["class","btn btn-primary btn-raised"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.onOfflineSubmit()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](59,0,null,null,0,"span",[["class","glyphicon glyphicon glyphicon-edit"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,[" "])),(e()(),Wt["\u0275eld"](61,0,null,null,2,"span",[["class","hidden-xs hidden-sm hidden-md"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](62,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](69,0,null,null,0,"div",[["class","col-md-1"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){e(n,27,0)},function(e,n){var t=n.component;e(n,10,0,Wt["\u0275unv"](n,10,0,Wt["\u0275nov"](n,11).transform("reload-file.header"))),e(n,14,0,Wt["\u0275unv"](n,14,0,Wt["\u0275nov"](n,15).transform("reload-file.text"))),e(n,20,0,Wt["\u0275unv"](n,20,0,Wt["\u0275nov"](n,21).transform("general.wanted")),t.getDropzoneFileString(t.sessionfile)),e(n,38,0,Wt["\u0275unv"](n,38,0,Wt["\u0275nov"](n,39).transform("transcription.stop"))),e(n,45,0,!("valid"===Wt["\u0275nov"](n,27).status)),e(n,50,0,Wt["\u0275unv"](n,50,0,Wt["\u0275nov"](n,51).transform("transcription.new"))),e(n,57,0,!(!t.isN(Wt["\u0275nov"](n,27).oaudiofile)&&null!==t.sessionfile&&Wt["\u0275nov"](n,27).oaudiofile.name===t.sessionfile.name&&t.isN(Wt["\u0275nov"](n,27).oannotation))),e(n,62,0,Wt["\u0275unv"](n,62,0,Wt["\u0275nov"](n,63).transform("transcription.start")))})}function bn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-reload-file",[],null,null,null,vn,Eu)),Wt["\u0275did"](1,114688,null,0,Rr,[hr.k,Oi,Fi,mi,fo.a,fi],null,null)],function(e,n){e(n,1,0)},null)}function yn(e){return Wt["\u0275vid"](0,[Wt["\u0275qud"](402653184,1,{canvas:0}),(e()(),Wt["\u0275eld"](1,0,null,null,51,"div",[["class","container"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](3,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["Help tools"])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,45,"div",[["class","row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,21,"div",[["class","col-sm-4 is-table-row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](10,0,null,null,18,"div",[["class","panel panel-primary"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](12,0,null,null,15,"div",[["class","panel-body"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275eld"](14,0,null,null,4,"h5",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](16,0,null,null,1,"button",[["class","btn btn-primary btn-fab btn-fab-mini"],["type","button"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,[" 1"])),(e()(),Wt["\u0275ted"](-1,null,["\n Refresh App\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](20,0,null,null,3,"p",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n This tool forces the App to reload and refresh the browser cache."])),(e()(),Wt["\u0275eld"](22,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](25,0,null,null,1,"button",[["class","btn btn-raised btn-primary col-xs-12"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.refreshApp()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,[" Refresh App"])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](31,0,null,null,19,"div",[["class","col-sm-4 is-table-row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](33,0,null,null,16,"div",[["class","panel panel-primary"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](35,0,null,null,13,"div",[["class","panel-body"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275eld"](37,0,null,null,4,"h5",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](39,0,null,null,1,"button",[["class","btn btn-primary btn-fab btn-fab-mini"],["type","button"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,[" 2"])),(e()(),Wt["\u0275ted"](-1,null,["\n Clear all Storage Data\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](43,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n This tool removes all local data including (transcript, logs and settings).\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](46,0,null,null,1,"button",[["class","btn btn-raised btn-danger col-xs-12"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.clearAllData()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,[" Clear Data"])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],null,null)}function _n(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-help-tools",[],null,null,null,yn,Uu)),Wt["\u0275did"](1,245760,null,0,Wr,[Oi,Fl],null,null)],function(e,n){e(n,1,0)},null)}function wn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"a",[["class","btn btn-default btn-raised"],["name","play"]],[[8,"title",0]],[[null,"mousedown"]],function(e,n,t){var l=!0,i=e.component;if("mousedown"===n){l=!1!==i.onButtonClick("play")&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,0,"span",[["aria-hidden","true"],["class","glyphicon glyphicon-play"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){var t=n.component;e(n,0,0,Wt["\u0275inlineInterpolate"](1,"",t.buttons.play.label,""))})}function Sn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"a",[["class","btn btn-default btn-raised"],["name","pause"]],[[8,"title",0]],[[null,"mousedown"]],function(e,n,t){var l=!0,i=e.component;if("mousedown"===n){l=!1!==i.onButtonClick("pause")&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,0,"span",[["aria-hidden","true"],["class","glyphicon glyphicon-pause"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){var t=n.component;e(n,0,0,Wt["\u0275inlineInterpolate"](1,"",t.buttons.pause.label,""))})}function kn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,118,"div",[["class","audio-nav"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,115,"div",[["class","row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,42,"div",[["class","col-md-7"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,39,"div",[["class","btn-toolbar"],["role","toolbar"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,36,"div",[["aria-label","..."],["class","btn-group btn-group-justified"],["role","group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,wn)),Wt["\u0275did"](11,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Sn)),Wt["\u0275did"](14,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](16,0,null,null,4,"a",[["class","btn btn-default btn-raised"],["name","stop"]],[[8,"title",0]],[[null,"mousedown"]],function(e,n,t){var l=!0,i=e.component;if("mousedown"===n){l=!1!==i.onButtonClick("stop")&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](18,0,null,null,0,"span",[["aria-hidden","true"],["class","glyphicon glyphicon-stop"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](22,0,null,null,6,"a",[["class","btn btn-default btn-raised"],["name","replay"]],[[8,"title",0]],[[null,"mousedown"]],function(e,n,t){var l=!0,i=e.component;if("mousedown"===n){l=!1!==i.onButtonClick("replay")&&l}return l},null,null)),Wt["\u0275did"](23,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Wt["\u0275pod"](24,{active:0}),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](26,0,null,null,0,"span",[["aria-hidden","true"],["class","glyphicon glyphicon-repeat"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](30,0,null,null,4,"a",[["class","btn btn-default btn-raised"],["name","step_back"]],[[8,"title",0]],[[null,"mousedown"]],function(e,n,t){var l=!0,i=e.component;if("mousedown"===n){l=!1!==i.onButtonClick("backward")&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](32,0,null,null,0,"span",[["aria-hidden","true"],["class","glyphicon glyphicon-step-backward"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](36,0,null,null,7,"a",[["class","btn btn-default btn-raised"],["name","step_back"]],[[8,"title",0]],[[null,"mousedown"]],function(e,n,t){var l=!0,i=e.component;if("mousedown"===n){l=!1!==i.onButtonClick("backward time")&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](38,0,null,null,0,"span",[["aria-hidden","true"],["class","glyphicon glyphicon-step-backward"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](40,0,null,null,0,"span",[["aria-hidden","true"],["class","glyphicon glyphicon-time"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](48,0,null,null,68,"div",[["class","col-md-5"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](50,0,null,null,65,"div",[["class","btn-toolbar"],["role","toolbar"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](52,0,null,null,62,"div",[["class","btn-group btn-group-justified"],["role","group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](54,0,null,null,29,"div",[["class","btn btn-raised"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](56,0,null,null,26,"div",[["class","row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](58,0,null,null,2,"div",[["class","col-xs-1 col-sm-4 col-md-3"]],null,null,null,null,null)),(e()(),Wt["\u0275eld"](59,0,null,null,0,"span",[["class","glyphicon glyphicon-volume-off"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](62,0,null,null,9,"div",[["class","col-xs-10 col-sm-4 col-md-6"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](64,0,null,null,6,"input",[["class","slider"],["id","volume-slider"],["max","3"],["min","0"],["name","volume"],["step","0.2"],["type","range"],["value","1"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,n,t){var l=!0,i=e.component;if("input"===n){l=!1!==Wt["\u0275nov"](e,65)._handleInput(t.target.value)&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,65).onTouched()&&l}if("compositionstart"===n){l=!1!==Wt["\u0275nov"](e,65)._compositionStart()&&l}if("compositionend"===n){l=!1!==Wt["\u0275nov"](e,65)._compositionEnd(t.target.value)&&l}if("change"===n){l=!1!==Wt["\u0275nov"](e,66).onChange(t.target.value)&&l}if("input"===n){l=!1!==Wt["\u0275nov"](e,66).onChange(t.target.value)&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,66).onTouched()&&l}if("ngModelChange"===n){l=!1!==(i.volume=t)&&l}if("change"===n){l=!1!==i.afterVolumeChange()&&l}return l},null,null)),Wt["\u0275did"](65,16384,null,0,$t.d,[Wt.Renderer2,Wt.ElementRef,[2,$t.a]],null,null),Wt["\u0275did"](66,16384,null,0,$t.x,[Wt.Renderer2,Wt.ElementRef],null,null),Wt["\u0275prd"](1024,null,$t.j,function(e,n){return[e,n]},[$t.d,$t.x]),Wt["\u0275did"](68,671744,null,0,$t.o,[[8,null],[8,null],[8,null],[2,$t.j]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Wt["\u0275prd"](2048,null,$t.k,null,[$t.o]),Wt["\u0275did"](70,16384,null,0,$t.l,[$t.k],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](73,0,null,null,8,"div",[["class","col-xs-1 col-sm-4 col-md-3"]],null,null,null,null,null)),(e()(),Wt["\u0275eld"](74,0,null,null,0,"span",[["class","glyphicon glyphicon-volume-up"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](76,0,null,null,4,"div",[["class","slider-descr"]],null,null,null,null,null)),Wt["\u0275did"](77,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Wt["\u0275pod"](78,{"hidden-xs":0}),(e()(),Wt["\u0275ted"](79,null,["","%\n "])),Wt["\u0275pid"](0,Xr,[]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](85,0,null,null,28,"div",[["class","btn btn-raised"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](87,0,null,null,25,"div",[["class","row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](89,0,null,null,2,"div",[["class","col-xs-1 col-sm-4 col-md-3"]],null,null,null,null,null)),(e()(),Wt["\u0275eld"](90,0,null,null,0,"img",[["alt","fast"],["src","assets/img/components/audio-navigation/slow.png"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](93,0,null,null,9,"div",[["class","col-xs-10 col-sm-4 col-md-6"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](95,0,null,null,6,"input",[["class","slider"],["id","speed-slider"],["max","1.8"],["min","0.2"],["name","speed"],["step","0.2"],["type","range"],["value","1"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,n,t){var l=!0,i=e.component;if("input"===n){l=!1!==Wt["\u0275nov"](e,96)._handleInput(t.target.value)&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,96).onTouched()&&l}if("compositionstart"===n){l=!1!==Wt["\u0275nov"](e,96)._compositionStart()&&l}if("compositionend"===n){l=!1!==Wt["\u0275nov"](e,96)._compositionEnd(t.target.value)&&l}if("change"===n){l=!1!==Wt["\u0275nov"](e,97).onChange(t.target.value)&&l}if("input"===n){l=!1!==Wt["\u0275nov"](e,97).onChange(t.target.value)&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,97).onTouched()&&l}if("ngModelChange"===n){l=!1!==(i.speed=t)&&l}if("change"===n){l=!1!==i.afterSpeedChange()&&l}return l},null,null)),Wt["\u0275did"](96,16384,null,0,$t.d,[Wt.Renderer2,Wt.ElementRef,[2,$t.a]],null,null),Wt["\u0275did"](97,16384,null,0,$t.x,[Wt.Renderer2,Wt.ElementRef],null,null),Wt["\u0275prd"](1024,null,$t.j,function(e,n){return[e,n]},[$t.d,$t.x]),Wt["\u0275did"](99,671744,null,0,$t.o,[[8,null],[8,null],[8,null],[2,$t.j]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Wt["\u0275prd"](2048,null,$t.k,null,[$t.o]),Wt["\u0275did"](101,16384,null,0,$t.l,[$t.k],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](104,0,null,null,7,"div",[["class","col-xs-1 col-sm-4 col-md-3"]],null,null,null,null,null)),(e()(),Wt["\u0275eld"](105,0,null,null,0,"img",[["alt","fast"],["src","assets/img/components/audio-navigation/fast.png"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](107,0,null,null,3,"div",[["class","slider-descr"]],null,null,null,null,null)),Wt["\u0275did"](108,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Wt["\u0275pod"](109,{"hidden-xs":0}),(e()(),Wt["\u0275ted"](110,null,["","x"])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){var t=n.component;e(n,11,0,!t.audioplaying),e(n,14,0,t.audioplaying);e(n,23,0,"btn btn-default btn-raised",e(n,24,0,t.replay));e(n,68,0,"volume",t.volume);e(n,77,0,"slider-descr",e(n,78,0,t.responsive));e(n,99,0,"speed",t.audioplaying,t.speed);e(n,108,0,"slider-descr",e(n,109,0,t.responsive))},function(e,n){var t=n.component;e(n,16,0,Wt["\u0275inlineInterpolate"](1,"",t.buttons.stop.label,"")),e(n,22,0,Wt["\u0275inlineInterpolate"](1,"",t.buttons.replay.label,"")),e(n,30,0,Wt["\u0275inlineInterpolate"](1,"",t.buttons.backward.label,"")),e(n,36,0,Wt["\u0275inlineInterpolate"](1,"",t.buttons.backwardtime.label,"")),e(n,64,0,Wt["\u0275nov"](n,70).ngClassUntouched,Wt["\u0275nov"](n,70).ngClassTouched,Wt["\u0275nov"](n,70).ngClassPristine,Wt["\u0275nov"](n,70).ngClassDirty,Wt["\u0275nov"](n,70).ngClassValid,Wt["\u0275nov"](n,70).ngClassInvalid,Wt["\u0275nov"](n,70).ngClassPending),e(n,79,0,Wt["\u0275unv"](n,79,0,Wt["\u0275nov"](n,80).transform(t.volume))),e(n,95,0,Wt["\u0275nov"](n,101).ngClassUntouched,Wt["\u0275nov"](n,101).ngClassTouched,Wt["\u0275nov"](n,101).ngClassPristine,Wt["\u0275nov"](n,101).ngClassDirty,Wt["\u0275nov"](n,101).ngClassValid,Wt["\u0275nov"](n,101).ngClassInvalid,Wt["\u0275nov"](n,101).ngClassPending),e(n,110,0,t.speed)})}function On(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-audio-navigation",[],null,null,null,kn,Wu)),Wt["\u0275did"](1,4243456,null,0,Ul,[Wt.ChangeDetectorRef],null,null)],null,null)}function xn(e){return Wt["\u0275vid"](2,[Wt["\u0275qud"](402653184,1,{apview:0}),Wt["\u0275qud"](402653184,2,{graphicscanRef:0}),Wt["\u0275qud"](402653184,3,{overlaynacRef:0}),Wt["\u0275qud"](402653184,4,{playcanRef:0}),(e()(),Wt["\u0275eld"](4,0,null,null,16,"div",[["appAudioPlayer",""],["class","audioplayer"]],null,null,null,null,null)),Wt["\u0275did"](5,16384,[[1,4],["audioplay",4]],0,Hi,[Wt.ElementRef,Wt.Renderer],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](7,0,[[2,0],["ap_graphicscan",1]],null,0,"canvas",[["canvasDir",""],["class","ap-graphicscanvas"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](9,0,[[3,0],["ap_overlaycan",1]],null,0,"canvas",[["canvasDir",""],["class","ap-overlaycanvas"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](11,0,[[4,0],["ap_playcan",1]],null,0,"canvas",[["canvasDir",""],["class","ap-playcanvas"]],null,[[null,"mouseleave"],[null,"mouseenter"],[null,"mousedown"],[null,"mouseup"],[null,"click"],[null,"mousemove"]],function(e,n,t){var l=!0,i=e.component;if("mouseleave"===n){i.onMouseMove(t);l=!1!=(i.focused=!1)&&l}if("mouseenter"===n){l=!1!=(i.focused=!0)&&l}if("mousedown"===n){l=!1!==i.onClick(t)&&l}if("mouseup"===n){l=!1!==i.onClick(t)&&l}if("click"===n){l=!1!==i.onClick(t)&&l}if("mousemove"===n){l=!1!==i.onMouseMove(t)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](13,0,null,null,2,"div",[["class","ap-time-start-display"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](14,null,["",""])),Wt["\u0275pid"](0,or,[]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](17,0,null,null,2,"div",[["class","ap-time-end-display"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](18,null,["",""])),Wt["\u0275pid"](0,or,[]),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],null,function(e,n){var t=n.component;e(n,14,0,Wt["\u0275unv"](n,14,0,Wt["\u0275nov"](n,15).transform(t.audiochunk.playposition.unix))),e(n,18,0,Wt["\u0275unv"](n,18,0,Wt["\u0275nov"](n,19).transform(t.audiochunk.time.end.unix-t.audiochunk.playposition.unix)))})}function Cn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"app-audioplayer",[],null,[["window","resize"],["window","beforeunload"]],function(e,n,t){var l=!0;if("window:resize"===n){l=!1!==Wt["\u0275nov"](e,2).onResize(t)&&l}if("window:beforeunload"===n){l=!1!==Wt["\u0275nov"](e,2).onReload(t)&&l}return l},xn,$u)),Wt["\u0275prd"](512,null,$i,$i,[fi]),Wt["\u0275did"](2,4964352,null,0,Xi,[fi,$i,Wt.ChangeDetectorRef,vi],null,null)],function(e,n){e(n,2,0)},null)}function Pn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,6,"div",[["class","transcr-editor"]],null,[[null,"change"]],function(e,n,t){var l=!0,i=e.component;if("change"===n){l=!1!==i.updateTextField()&&l}return l},null,null)),Wt["\u0275did"](1,278528,null,0,go.NgStyle,[Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngStyle:[0,"ngStyle"]},null),Wt["\u0275pod"](2,{display:0}),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,1,"div",[["class","textfield"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){e(n,1,0,e(n,2,0,n.component.visible?"inherit":"none"))},null)}function jn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"app-transcr-editor",[],null,null,null,Pn,Qu)),Wt["\u0275prd"](4608,null,lr,lr,[]),Wt["\u0275did"](2,770048,null,0,ar,[Wt.ChangeDetectorRef,fo.a,Fi],null,null)],function(e,n){e(n,2,0)},null)}function Rn(e){return Wt["\u0275vid"](0,[Wt["\u0275qud"](402653184,1,{nav:0}),Wt["\u0275qud"](402653184,2,{audioplayer:0}),Wt["\u0275qud"](402653184,3,{editor:0}),(e()(),Wt["\u0275eld"](3,0,null,null,14,"app-audio-navigation",[],null,[[null,"volumechange"],[null,"aftervolumechange"],[null,"speedchange"],[null,"afterspeedchange"],[null,"buttonclick"],[null,"responsiveChange"]],function(e,n,t){var l=!0,i=e.component;if("volumechange"===n){l=!1!==i.onVolumeChange(t)&&l}if("aftervolumechange"===n){l=!1!==i.afterVolumeChange(t)&&l}if("speedchange"===n){l=!1!==i.onSpeedChange(t)&&l}if("afterspeedchange"===n){l=!1!==i.afterSpeedChange(t)&&l}if("buttonclick"===n){l=!1!==i.onButtonClick(t)&&l}if("responsiveChange"===n){l=!1!==(i.settingsService.responsive.enabled=t)&&l}return l},kn,Wu)),Wt["\u0275did"](4,4243456,[[1,4],["nav",4]],0,Ul,[Wt.ChangeDetectorRef],{audioplaying:[0,"audioplaying"],responsive:[1,"responsive"],easymode:[2,"easymode"],replay:[3,"replay"],buttons:[4,"buttons"]},{buttonclick:"buttonclick",volumechange:"volumechange",aftervolumechange:"aftervolumechange",speedchange:"speedchange",afterspeedchange:"afterspeedchange"}),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pod"](6,{label:0,shortcut:1}),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pod"](8,{label:0,shortcut:1}),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pod"](10,{label:0,shortcut:1}),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pod"](12,{label:0,shortcut:1}),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pod"](14,{label:0,shortcut:1}),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pod"](16,{label:0,shortcut:1}),Wt["\u0275pod"](17,{play:0,pause:1,stop:2,replay:3,backward:4,backwardtime:5}),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](19,0,null,null,2,"app-audioplayer",[],null,[[null,"shortcuttriggered"],["window","resize"],["window","beforeunload"]],function(e,n,t){var l=!0,i=e.component;if("window:resize"===n){l=!1!==Wt["\u0275nov"](e,21).onResize(t)&&l}if("window:beforeunload"===n){l=!1!==Wt["\u0275nov"](e,21).onReload(t)&&l}if("shortcuttriggered"===n){l=!1!==i.onShortcutTriggered(t)&&l}return l},xn,$u)),Wt["\u0275prd"](512,null,$i,$i,[fi]),Wt["\u0275did"](21,4964352,[[2,4],["audioplayer",4]],0,Xi,[fi,$i,Wt.ChangeDetectorRef,vi],{audiochunk:[0,"audiochunk"]},{shortcuttriggered:"shortcuttriggered"}),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](23,0,null,null,3,"app-transcr-editor",[],null,[[null,"typing"],[null,"marker_insert"],[null,"marker_click"],[null,"boundaryclicked"],[null,"boundaryinserted"],[null,"selectionchanged"]],function(e,n,t){var l=!0,i=e.component;if("typing"===n){l=!1!==i.afterTyping(t)&&l}if("marker_insert"===n){l=!1!==i.onMarkerInsert(t)&&l}if("marker_click"===n){l=!1!==i.onMarkerClick(t)&&l}if("boundaryclicked"===n){l=!1!==i.onBoundaryClicked(t)&&l}if("boundaryinserted"===n){l=!1!==i.onBoundaryInserted()&&l}if("selectionchanged"===n){l=!1!==i.onSelectionChanged(t)&&l}return l},Pn,Qu)),Wt["\u0275prd"](4608,null,lr,lr,[]),Wt["\u0275did"](25,770048,[[3,4],["transcr",4]],0,ar,[Wt.ChangeDetectorRef,fo.a,Fi],{markers:[0,"markers"],easymode:[1,"easymode"],audiochunk:[2,"audiochunk"]},{marker_insert:"marker_insert",marker_click:"marker_click",typing:"typing",boundaryclicked:"boundaryclicked",boundaryinserted:"boundaryinserted",selectionchanged:"selectionchanged"}),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){var t=n.component;e(n,4,0,t.audiomanager.audioplaying,t.settingsService.responsive.enabled,t.appStorage.easymode,t.audiomanager.replay,e(n,17,0,e(n,6,0,Wt["\u0275unv"](n,4,4,Wt["\u0275nov"](n,5).transform("general.play")),t.keyMap.getShortcut("AP","play_pause")),e(n,8,0,Wt["\u0275unv"](n,4,4,Wt["\u0275nov"](n,7).transform("general.pause")),t.keyMap.getShortcut("AP","play_pause")),e(n,10,0,Wt["\u0275unv"](n,4,4,Wt["\u0275nov"](n,9).transform("general.stop")),t.keyMap.getShortcut("AP","stop")),e(n,12,0,Wt["\u0275unv"](n,4,4,Wt["\u0275nov"](n,11).transform("general.replay")),""),e(n,14,0,Wt["\u0275unv"](n,4,4,Wt["\u0275nov"](n,13).transform("general.backward")),t.keyMap.getShortcut("AP","step_backward")),e(n,16,0,Wt["\u0275unv"](n,4,4,Wt["\u0275nov"](n,15).transform("general.backwardtime")),t.keyMap.getShortcut("overlay","step_backward")))),e(n,21,0,t.audiochunk),e(n,25,0,t.transcrService.guidelines.markers,t.appStorage.easymode,t.audiochunk)},null)}function Mn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-audioplayer-gui",[],null,null,null,Rn,Yu)),Wt["\u0275did"](1,4964352,null,0,wr,[fi,vi,Fi,Ci,Ri,Oi],null,null)],function(e,n){e(n,1,0)},null)}function Tn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,6,"div",[["class","placeholder"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,0,"span",[["class","fa fa-spinner fa-spin fa-3x fa-fw"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,1,"span",[["class","sr-only"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["Loading..."])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,null)}function Nn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,[["scrollbar",1]],null,5,"div",[["class","scrollbar"]],null,[[null,"mousemove"],[null,"mouseleave"],[null,"mouseout"],[null,"mouseup"],[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("mousemove"===n){Wt["\u0275nov"](e,0).mouseover=!0,i.scrollbarchange.emit({state:"mousemove"});l=!1!==i.onSliderChanged(t)&&l}if("mouseleave"===n){Wt["\u0275nov"](e,0).mouseover=!1,i.scrollbarchange.emit({state:"mouseleave"});l=!1!==i.onSliderChanged(t)&&l}if("mouseout"===n){l=!1!=(Wt["\u0275nov"](e,0).mouseover=!1)&&l}if("mouseup"===n){i.scrollbarchange.emit({state:"mouseup"});l=!1!==i.onSliderChanged(t)&&l}if("click"===n){l=!1!==i.onSliderChanged(t)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"div",[["class","slider"]],null,[[null,"mousedown"],[null,"mousemove"],[null,"mouseup"]],function(e,n,t){var l=!0,i=e.component;if("mousedown"===n){l=!1!==i.onSliderChanged(t)&&l}if("mousemove"===n){l=!1!==i.onSliderChanged(t)&&l}if("mouseup"===n){l=!1!==i.onSliderChanged(t)&&l}return l},null,null)),Wt["\u0275did"](3,278528,null,0,go.NgStyle,[Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngStyle:[0,"ngStyle"]},null),Wt["\u0275pod"](4,{"margin-top":0,height:1}),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,3,0,e(n,4,0,(t.height
30?t.transcrServ.currentlevel.name.substr(0,30)+"...":t.transcrServ.currentlevel.name)})}function Mt(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,12,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](3,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](4,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](7,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](9,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](10,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){var t=n.component;e(n,4,0,Wt["\u0275unv"](n,4,0,Wt["\u0275nov"](n,5).transform("general.project"))),e(n,10,0,t.appStorage.user.project)})}function Tt(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,12,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](3,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](4,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](7,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](9,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](10,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){var t=n.component;e(n,4,0,Wt["\u0275unv"](n,4,0,Wt["\u0275nov"](n,5).transform("general.id"))),e(n,10,0,t.appStorage.data_id)})}function Nt(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,12,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](3,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](4,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](7,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](9,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](10,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){var t=n.component;e(n,4,0,Wt["\u0275unv"](n,4,0,Wt["\u0275nov"](n,5).transform("general.free jobs"))),e(n,10,0,t.appStorage.jobs_left)})}function It(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,93,"li",[["class","dropdown"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,1,"a",[["aria-expanded","false"],["class","dropdown"],["data-toggle","dropdown"],["href","#"],["role","button"]],null,null,null,null,null)),(e()(),Wt["\u0275eld"](3,0,null,null,0,"span",[["class","glyphicon glyphicon-info-sign navbar-icon"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](5,0,null,null,87,"div",[["class","dropdown-menu info-menu"]],null,null,null,null,null)),Wt["\u0275did"](6,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Wt["\u0275pod"](7,{collaps:0}),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](9,0,null,null,82,"table",[["class","table"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](11,0,null,null,80,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Mt)),Wt["\u0275did"](13,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](15,0,null,null,12,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](17,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](18,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](19,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](22,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](24,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](25,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](29,0,null,null,13,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](31,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](32,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](33,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](36,0,null,null,5,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](38,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](39,null,[""," (H:m:s)"])),Wt["\u0275pid"](0,uo,[]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](44,0,null,null,12,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](46,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](47,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](48,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](51,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](53,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](54,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](58,0,null,null,12,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](60,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](61,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](62,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](65,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](67,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](68,null,[""," Bit/s"])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](72,0,null,null,12,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](74,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](75,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](76,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](79,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](81,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](82,null,[""," ",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Tt)),Wt["\u0275did"](87,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Nt)),Wt["\u0275did"](90,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,6,0,"dropdown-menu info-menu",e(n,7,0,t.collapsed)),e(n,13,0,!t.appStorage.uselocalmode),e(n,87,0,!t.appStorage.uselocalmode),e(n,90,0,!t.appStorage.uselocalmode)},function(e,n){var t=n.component;e(n,19,0,Wt["\u0275unv"](n,19,0,Wt["\u0275nov"](n,20).transform("general.name"))),e(n,25,0,t.navbarServ.exportformats.filename),e(n,33,0,Wt["\u0275unv"](n,33,0,Wt["\u0275nov"](n,34).transform("general.duration"))),e(n,39,0,Wt["\u0275unv"](n,39,0,Wt["\u0275nov"](n,40).transform(t.navbarServ.exportformats.duration))),e(n,48,0,Wt["\u0275unv"](n,48,0,Wt["\u0275nov"](n,49).transform("general.samplerate"))),e(n,54,0,t.navbarServ.exportformats.samplerate),e(n,62,0,Wt["\u0275unv"](n,62,0,Wt["\u0275nov"](n,63).transform("general.bitspersecond"))),e(n,68,0,t.navbarServ.exportformats.bitrate),e(n,76,0,Wt["\u0275unv"](n,76,0,Wt["\u0275nov"](n,77).transform("general.filesize"))),e(n,82,0,t.navbarServ.exportformats.filesize.size,t.navbarServ.exportformats.filesize.label)})}function Et(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,10,"li",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,7,"a",[],null,[[null,"mouseup"]],function(e,n,t){var l=!0;if("mouseup"===n){l=!1!==Wt["\u0275nov"](e.parent,4).open()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,0,"span",[["class","glyphicon glyphicon-download navbar-icon"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,2,"span",[["class","hidden-sm hidden-md"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](7,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){e(n,7,0,Wt["\u0275unv"](n,7,0,Wt["\u0275nov"](n,8).transform("general.export")))})}function At(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,6,"li",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,3,"a",[],null,[[null,"mouseup"]],function(e,n,t){var l=!0,i=e.component;if("mouseup"===n){l=!1!==i.openBugReport()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,0,"span",[["class","glyphicon glyphicon-exclamation-sign navbar-icon"],["style","color:#fcffba"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,null)}function Dt(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,5,"li",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"a",[],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.changeLanguage(e.context.$implicit)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275ppd"](4,1),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){e(n,3,0,Wt["\u0275unv"](n,3,0,e(n,4,0,Wt["\u0275nov"](n.parent,1),n.context.$implicit)))})}function Lt(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,20,"div",[["class","panel"],["id","subnav"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,17,"div",[["class","row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,0,"div",[["class","col-sm-2"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,2,"div",[["class","col-xs-4 col-sm-3"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](7,null,["",": ",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](10,0,null,null,2,"div",[["class","col-xs-4 col-sm-3"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](11,null,["",":\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](14,0,null,null,2,"div",[["class","col-xs-4 col-sm-3"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](15,null,["",":\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](18,0,null,null,0,"div",[["class","col-sm-2"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],null,function(e,n){var t=n.component;e(n,7,0,Wt["\u0275unv"](n,7,0,Wt["\u0275nov"](n,8).transform("general.project")),t.appStorage.user.project),e(n,11,0,Wt["\u0275unv"](n,11,0,Wt["\u0275nov"](n,12).transform("general.name")),t.navbarServ.exportformats.filename),e(n,15,0,Wt["\u0275unv"](n,15,0,Wt["\u0275nov"](n,16).transform("general.free jobs")),t.appStorage.jobs_left)})}function Ut(e){return Wt["\u0275vid"](0,[Wt["\u0275pid"](0,go.DatePipe,[Wt.LOCALE_ID]),Wt["\u0275pid"](0,go.UpperCasePipe,[]),Wt["\u0275qud"](402653184,1,{modalexport:0}),(e()(),Wt["\u0275eld"](3,0,null,null,70,"modal",[["class","modal"],["role","dialog"],["tabindex","-1"]],[[2,"fade",null],[1,"data-keyboard",0],[1,"data-backdrop",0]],null,null,au.b,au.a)),Wt["\u0275did"](4,180224,[[1,4],["modalexport",4]],0,su.ModalComponent,[Wt.ElementRef],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,0,6,"modal-header",[],null,null,null,cu.b,cu.a)),Wt["\u0275did"](7,49152,null,0,du.ModalHeaderComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](9,0,null,0,2,"h4",[["class","modal-title"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](10,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](14,0,null,0,50,"modal-body",[["id","export-table"]],null,null,null,lu.b,lu.a)),Wt["\u0275did"](15,49152,null,0,iu.ModalBodyComponent,[],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](17,0,null,0,25,"table",[["class","table table-striped table-responsive"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](19,0,null,null,16,"thead",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](21,0,null,null,13,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](23,0,null,null,2,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](24,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](27,0,null,null,2,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](28,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](31,0,null,null,2,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](32,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](37,0,null,null,4,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,mt)),Wt["\u0275did"](40,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,vt)),Wt["\u0275did"](45,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,bt)),Wt["\u0275did"](48,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,yt)),Wt["\u0275did"](51,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275eld"](52,0,null,0,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](54,0,null,0,2,"a",[],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.getProtocol()&&l}return l},null,null)),(e()(),Wt["\u0275eld"](55,0,null,null,0,"span",[["class","glyphicon glyphicon-list"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,[" Protocol"])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,_t)),Wt["\u0275did"](59,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,wt)),Wt["\u0275did"](62,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275eld"](63,0,null,0,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](66,0,null,0,6,"modal-footer",[],null,null,null,pu.b,pu.a)),Wt["\u0275did"](67,49152,null,0,hu.ModalFooterComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](69,0,null,0,2,"button",[["class","btn btn-primary"],["data-dismiss","modal"],["type","button"]],null,[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,4).dismiss()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](70,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](75,0,null,null,24,"modal",[["class","modal"],["id","modalstatis"],["role","dialog"],["tabindex","-1"]],[[2,"fade",null],[1,"data-keyboard",0],[1,"data-backdrop",0]],null,null,au.b,au.a)),Wt["\u0275did"](76,180224,[["modalstatistics",4]],0,su.ModalComponent,[Wt.ElementRef],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](78,0,null,0,5,"modal-header",[],null,null,null,cu.b,cu.a)),Wt["\u0275did"](79,49152,null,0,du.ModalHeaderComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](81,0,null,0,1,"h4",[["class","modal-title"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["Statistics"])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](85,0,null,0,5,"modal-body",[],null,null,null,lu.b,lu.a)),Wt["\u0275did"](86,49152,null,0,iu.ModalBodyComponent,[],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,kt)),Wt["\u0275did"](89,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](92,0,null,0,6,"modal-footer",[],null,null,null,pu.b,pu.a)),Wt["\u0275did"](93,49152,null,0,hu.ModalFooterComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](95,0,null,0,2,"button",[["class","btn btn-primary"],["data-dismiss","modal"],["type","button"]],null,[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,76).dismiss()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](96,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](101,0,null,null,161,"nav",[["class","navbar navbar-inverse"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](103,0,null,null,158,"div",[["class","container"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](105,0,null,null,18,"div",[["class","navbar-header"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](107,0,null,null,10,"button",[["aria-controls","navbar"],["class","navbar-toggle"],["data-target","#navbar"],["data-toggle","collapse"],["type","button"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!=(i.collapsed=!i.collapsed)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](109,0,null,null,1,"span",[["class","sr-only"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["Toggle navigation"])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](112,0,null,null,0,"span",[["class","icon-bar"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](114,0,null,null,0,"span",[["class","icon-bar"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](116,0,null,null,0,"span",[["class","icon-bar"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](119,0,null,null,3,"a",[["class","navbar-brand"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,120).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&l}return l},null,null)),Wt["\u0275did"](120,671744,null,0,hr.m,[hr.k,hr.a,go.LocationStrategy],{routerLink:[0,"routerLink"]},null),Wt["\u0275pad"](121,1),(e()(),Wt["\u0275ted"](122,null,["OCTRA v",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](125,0,null,null,135,"div",[["class","collapse navbar-collapse"],["id","navbar"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ot)),Wt["\u0275did"](128,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275eld"](130,0,null,null,7,"ul",[["class","nav navbar-nav"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ct)),Wt["\u0275did"](133,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Pt)),Wt["\u0275did"](136,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275eld"](139,0,null,null,120,"ul",[["class","nav navbar-nav navbar-right"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Rt)),Wt["\u0275did"](142,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,It)),Wt["\u0275did"](145,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Et)),Wt["\u0275did"](148,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](150,0,null,null,91,"li",[["class","dropdown"]],null,null,null,null,null)),Wt["\u0275did"](151,278528,null,0,go.NgStyle,[Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngStyle:[0,"ngStyle"]},null),Wt["\u0275pod"](152,{display:0}),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](154,0,null,null,1,"a",[["aria-expanded","false"],["class","dropdown"],["data-toggle","dropdown"],["href","#"],["role","button"]],null,null,null,null,null)),(e()(),Wt["\u0275eld"](155,0,null,null,0,"span",[["class","glyphicon glyphicon-cog navbar-icon"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](157,0,null,null,83,"div",[["class","dropdown-menu options-menu"]],null,null,null,null,null)),Wt["\u0275did"](158,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Wt["\u0275pod"](159,{collaps:0}),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](161,0,null,null,78,"table",[["class","table"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](163,0,null,null,76,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](164,0,null,null,17,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](166,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](167,0,null,null,2,"label",[["for","easymode"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](168,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](171,0,null,null,9,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](173,0,null,null,6,"div",[["class","togglebutton"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](175,0,null,null,3,"label",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](177,0,null,null,0,"input",[["id","easymode"],["type","checkbox"]],[[8,"checked",0]],[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.toggleSettings("easymode")&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](183,0,null,null,17,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](185,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](186,0,null,null,2,"label",[["for","playonhover"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](187,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](190,0,null,null,9,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](192,0,null,null,6,"div",[["class","togglebutton"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](194,0,null,null,3,"label",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](196,0,null,null,0,"input",[["id","playonhover"],["type","checkbox"]],[[8,"checked",0]],[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.toggleSettings("playonhover")&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](202,0,null,null,17,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](204,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](205,0,null,null,2,"label",[["for","playonhover"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](206,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](209,0,null,null,9,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](211,0,null,null,6,"div",[["class","togglebutton"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](213,0,null,null,3,"label",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](215,0,null,null,0,"input",[["id","followplaycursor"],["type","checkbox"]],[[8,"checked",0]],[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.toggleSettings("followplaycursor")&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](221,0,null,null,17,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](223,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](224,0,null,null,2,"label",[["for","playonhover"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](225,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](228,0,null,null,9,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](230,0,null,null,6,"div",[["class","togglebutton"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](232,0,null,null,3,"label",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](234,0,null,null,0,"input",[["id","logging"],["type","checkbox"]],[[8,"checked",0],[8,"disabled",0]],[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.toggleSettings("logging")&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,At)),Wt["\u0275did"](244,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](246,0,null,null,12,"li",[["class","dropdown"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](248,0,null,null,3,"a",[["aria-expanded","false"],["aria-haspopup","true"],["class","dropdown-toggle"],["data-toggle","dropdown"],["href","#"],["role","button"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](249,null,[""," "])),Wt["\u0275ppd"](250,1),(e()(),Wt["\u0275eld"](251,0,null,null,0,"b",[["class","caret"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](253,0,null,null,4,"ul",[["class","dropdown-menu"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Dt)),Wt["\u0275did"](256,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Lt)),Wt["\u0275did"](265,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,n){var t=n.component;e(n,40,0,t.converters),e(n,45,0,t.arraybufferExists),e(n,48,0,"Audio"===t.preparing.name&&t.preparing.preparing),e(n,51,0,"Audio"===t.preparing.name&&!t.preparing.preparing),e(n,59,0,"Protocol"===t.preparing.name&&t.preparing.preparing),e(n,62,0,"Protocol"===t.preparing.name&&!t.preparing.preparing),e(n,89,0,Wt["\u0275nov"](n,76).visible),e(n,120,0,e(n,121,0,"/")),e(n,128,0,!t.appStorage.LoggedIn),e(n,133,0,t.editors),e(n,136,0,t.appStorage.LoggedIn&&t.navbarServ.show_interfaces&&t.settService.app_settings.octra.showdetails),e(n,142,0,void 0!==t.transcrServ),e(n,145,0,t.appStorage.LoggedIn&&t.navbarServ.dataloaded),e(n,148,0,t.appStorage.LoggedIn&&t.navbarServ.show_export),e(n,151,0,e(n,152,0,t.navbarServ.dataloaded&&t.appStorage.LoggedIn?"inherit":"none"));e(n,158,0,"dropdown-menu options-menu",e(n,159,0,t.collapsed)),e(n,244,0,void 0!==t.settService.app_settings&&void 0!==t.settService.app_settings.octra.bugreport&&t.settService.app_settings.octra.bugreport.enabled),e(n,256,0,t.langService.getLangs()),e(n,265,0,t.appStorage.LoggedIn&&!t.appStorage.uselocalmode&&t.navbarServ.dataloaded)},function(e,n){var t=n.component;e(n,3,0,Wt["\u0275nov"](n,4).fadeClass,Wt["\u0275nov"](n,4).dataKeyboardAttr,Wt["\u0275nov"](n,4).dataBackdropAttr),e(n,10,0,Wt["\u0275unv"](n,10,0,Wt["\u0275nov"](n,11).transform("general.export data"))),e(n,24,0,Wt["\u0275unv"](n,24,0,Wt["\u0275nov"](n,25).transform("general.download"))),e(n,28,0,Wt["\u0275unv"](n,28,0,Wt["\u0275nov"](n,29).transform("general.application"))),e(n,32,0,Wt["\u0275unv"](n,32,0,Wt["\u0275nov"](n,33).transform("general.website"))),e(n,70,0,Wt["\u0275unv"](n,70,0,Wt["\u0275nov"](n,71).transform("general.close"))),e(n,75,0,Wt["\u0275nov"](n,76).fadeClass,Wt["\u0275nov"](n,76).dataKeyboardAttr,Wt["\u0275nov"](n,76).dataBackdropAttr),e(n,96,0,Wt["\u0275unv"](n,96,0,Wt["\u0275nov"](n,97).transform("general.close"))),e(n,119,0,Wt["\u0275nov"](n,120).target,Wt["\u0275nov"](n,120).href),e(n,122,0,t.version),e(n,168,0,Wt["\u0275unv"](n,168,0,Wt["\u0275nov"](n,169).transform("settings.easy mode"))),e(n,177,0,t.appStorage.easymode),e(n,187,0,Wt["\u0275unv"](n,187,0,Wt["\u0275nov"](n,188).transform("settings.play on hover"))),e(n,196,0,t.appStorage.playonhover),e(n,206,0,Wt["\u0275unv"](n,206,0,Wt["\u0275nov"](n,207).transform("settings.follow playcursor"))),e(n,215,0,t.appStorage.followplaycursor),e(n,225,0,Wt["\u0275unv"](n,225,0,Wt["\u0275nov"](n,226).transform("settings.logging"))),e(n,234,0,t.appStorage.logging,!t.appStorage.uselocalmode),e(n,249,0,Wt["\u0275unv"](n,249,0,e(n,250,0,Wt["\u0275nov"](n,1),t.langService.currentLang)))})}function zt(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-navigation",[],null,null,null,Ut,Pa)),Wt["\u0275did"](1,4440064,null,0,Or,[Oi,Pi,Kt.c,fo.a,mi,Ri],null,null)],function(e,n){e(n,1,0)},null)}function Ft(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"div",[["id","beta_mark"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["In Developement"]))],null,null)}function Bt(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-octra-modal",[],null,null,null,st,Oa)),Wt["\u0275did"](1,245760,null,0,pr,[mi,dr,Fl,Oi,Ri],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](3,0,null,null,4,"header",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](5,0,null,null,1,"app-navigation",[],null,null,null,Ut,Pa)),Wt["\u0275did"](6,4440064,null,0,Or,[Oi,Pi,Kt.c,fo.a,mi,Ri],{version:[0,"version"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](9,0,null,null,11,"main",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ft)),Wt["\u0275did"](12,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](15,0,null,null,4,"div",[["class","container flex"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](17,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),Wt["\u0275did"](18,212992,null,0,hr.o,[hr.b,Wt.ViewContainerRef,Wt.ComponentFactoryResolver,[8,null],Wt.ChangeDetectorRef],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){var t=n.component;e(n,1,0),e(n,6,0,t.version),e(n,12,0,t.environment.dev_version),e(n,18,0)},null)}function Vt(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-octra",[],null,null,null,Bt,Ra)),Wt["\u0275did"](1,180224,null,0,Zr,[Fl,fo.a,Oi,Ri,dr],null,null)],null,null)}Object.defineProperty(n,"__esModule",{value:!0});var Wt=t("/oeL"),qt={production:!0,dev_version:!1},Kt=t("fc+i"),$t=t("bm2B"),Xt=t("CPp0"),Ht=t("9Qcf"),Qt=t("GWzR"),Gt=t("thi6"),Yt=(function(){function e(e,n,t,l,i,r,o,u,a,s,c){this._id=e,this._annotator=n,this._annobegin=t,this._annoend=l,this._url=i,this._segmentbegin=r,this._segmentend=o,this._priority=u,this._status=a,this._project=s,this._jobno=c}Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"annotator",{get:function(){return this._annotator},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"annobegin",{get:function(){return this._annobegin},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"annoend",{get:function(){return this._annoend},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this._url},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"segmentbegin",{get:function(){return this._segmentbegin},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"segmentend",{get:function(){return this._segmentend},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"priority",{get:function(){return this._priority},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"status",{get:function(){return this._status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"project",{get:function(){return this._project},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"jobno",{get:function(){return this._jobno},enumerable:!0,configurable:!0})}(),function(){function e(e,n,t,l){this.systemstate=e,this.type=n,this.data=t,this.message=l}}(),t("N+n4")),Jt=function(){function e(e,n){if(this._samples=e,this._sample_rate=n,this._sample_rate<=0)throw new Error("sample_rate must be bigger than 0")}return e.fromSeconds=function(n,t){return new e(n*t,t)},e.fromMiliSeconds=function(n,t){return new e(n/1e3*t,t)},e.add=function(n,t){if(n._sample_rate===t._sample_rate)return new e(n.samples+t.samples,n._sample_rate);throw new Error("Two AudioTime Objects of different sample_rates can not be added.")},e.sub=function(n,t){if(n._sample_rate===t._sample_rate)return new e(n.samples-t.samples,n._sample_rate);throw new Error("Two AudioTime Objects of different sample_rates can not be added.")},e.fromSamples=function(n,t){return!Object(Yt.isNullOrUndefined)(n)&&!Object(Yt.isNullOrUndefined)(t)&&Number.isInteger(n)&&n>-1?new e(n,t):null},Object.defineProperty(e.prototype,"sample_rate",{set:function(e){this._sample_rate=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"samples",{get:function(){return this._samples},set:function(e){this._samples=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"unix",{get:function(){return Math.floor(1e3*this.samples/this._sample_rate)},set:function(e){this._samples=Math.round(e/1e3*this._sample_rate)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"seconds",{get:function(){return this.samples/this._sample_rate},set:function(e){this.samples=e*this._sample_rate},enumerable:!0,configurable:!0}),e.prototype.clone=function(){return new e(this.samples,this._sample_rate)},e.prototype.toString=function(){return"Samples: "+this.samples},e.prototype.toAny=function(){return{samples:this._samples,sample_rate:this._sample_rate}},e}(),Zt=function(){function e(e,n,t){this.samplerate=e,this._duration=n,this.audio_px_width=t,(null===this.audio_px_width||this.audio_px_width<1)&&console.error("audio px null")}return e.roundSamples=function(e){return Math.round(e)},Object.defineProperty(e.prototype,"duration",{set:function(e){this._duration=e},enumerable:!0,configurable:!0}),e.prototype.samplestoAbsX=function(e,n){var t=n||this._duration;if(0===t.samples)throw new Error("time duration must have samples greater 0");return e/t.samples*this.audio_px_width},e.prototype.absXChunktoSamples=function(n,t){var l=t.time.start?t.time.start.samples:1,i=t.time.end.samples-l;if(n>=0&&n<=this.audio_px_width){var r=n/this.audio_px_width;return e.roundSamples(i*r+t.time.start.samples)}return-1},e.prototype.absXtoSamples2=function(n,t){var l=t.time.start?t.time.start.samples:1,i=t.time.end.samples-l;if(n>=0&&n<=this.audio_px_width){var r=n/this.audio_px_width;return e.roundSamples(i*r)}return-1},e.prototype.samplesToSeconds=function(e){return this.samplerate>0&&e>-1?e/this.samplerate:0},e.prototype.secondsToSamples=function(n){return this.samplerate>0&&n>-1?e.roundSamples(n*this.samplerate):0},e}(),el=function(){function e(e,n,t,l){this._relPos={x:0,y:0},this._absX=0,this._line=null,l&&(this._timepos=l.clone()),this._relPos.x=e,this._relPos.y=n,this._absX=t}return Object.defineProperty(e.prototype,"timePos",{get:function(){return this._timepos},set:function(e){this._timepos=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relPos",{get:function(){return this._relPos},set:function(e){this._relPos=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"absX",{get:function(){return this._absX},set:function(e){this._absX=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"line",{get:function(){return this._line},set:function(e){this._line=e},enumerable:!0,configurable:!0}),e}(),nl=function(){function e(){}return Object.defineProperty(e,"platform",{get:function(){return platform.os.family&&"OS X"===platform.os.family?"mac":"pc"},enumerable:!0,configurable:!0}),e}();nl.browser=platform.name,nl.version=platform.version,nl.os=platform.os;var tl,ll=function(){function e(e){this.interval=e,this.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(n){window.setTimeout(n,e/60),console.warn("Browser does not support requestAnimation. Drawing set manual to "+e+" per second")}}return e.prototype.requestFrame=function(e){this.requestAnimationFrame(e)},e}(),il=function(){function e(e,n){this.start=e.clone(),this.end=n.clone()}return Object.defineProperty(e.prototype,"start",{get:function(){return this._start},set:function(e){this._start=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._end},set:function(e){this._end=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._start&&this._end&&this._start.samples>this._end.samples?Math.abs(this._start.samples-this._end.samples):Math.abs(this._end.samples-this._start.samples)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"duration",{get:function(){var e=this.start.clone();return e.samples=this.length,e},enumerable:!0,configurable:!0}),e.prototype.clone=function(){return new e(this._start,this._end)},e.prototype.checkSelection=function(){if(this._start&&this._end&&this._start.samples>this._end.samples){var e=this._start.samples;this._start.samples=this._end.samples,this._end.samples=e}},e}();!function(e){e[e.URL=0]="URL",e[e.FILE=1]="FILE",e[e.ArrayBuffer=2]="ArrayBuffer"}(tl||(tl={}));var rl;!function(e){e[e.PREPARE=0]="PREPARE",e[e.INITIALIZED=1]="INITIALIZED",e[e.STARTED=2]="STARTED",e[e.PLAYING=3]="PLAYING",e[e.PAUSED=4]="PAUSED",e[e.STOPPED=5]="STOPPED",e[e.ENDED=6]="ENDED"}(rl||(rl={}));var ol=function(){function e(){this.subscriptions=[],this.counter=0}return e.prototype.add=function(e){return this.subscriptions.push({id:++this.counter,subscription:e}),this.counter},e.prototype.destroy=function(){if(!Object(Yt.isNullOrUndefined)(this.subscriptions)){for(var e=0;e0&&(this._speed=e,this._audiomanger.source.playbackRate.value=e,this._audiomanger.endplaying=this._audiomanger.endplaying*this._speed)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"volume",{get:function(){return this._volume},set:function(e){this._volume=e,this._audiomanger.gainNode.gain.value=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"time",{get:function(){return this._time},set:function(e){this._time=e},enumerable:!0,configurable:!0}),e.prototype.getChannelBuffer=function(e){if(!Object(Yt.isNullOrUndefined)(e)&&(Object(Yt.isNullOrUndefined)(this._channel)||0===this._channel.length)){var n=void 0;return n=Object(Yt.isNullOrUndefined)(this._audiomanger.mainchunk)||0===this._audiomanger.mainchunk.channel.length?new Float32Array(this._audiomanger.ressource.audiobuffer.getChannelData(0)):new Float32Array(this._audiomanger.mainchunk.channel),n=n.subarray(e.start.samples,e.end.samples)}return null},e.prototype.startPlayback=function(e,n){var t=this;if(void 0===n&&(n=!1),Object(Yt.isNullOrUndefined)(this._selection)&&(this.selection=new il(this.time.start.clone(),this.time.end.clone())),this._selection.start.samples===this._selection.end.samples&&(this.startpos=this._selection.start.clone()),!this._audiomanger.audioplaying){this._state=rl.STARTED,this._lastplayedpos=this.playposition.clone(),this.audiomanager.playposition=this._lastplayedpos.samples,this.setState(rl.PLAYING);var l=this.subscrmanager.add(this.audiomanager.statechange.subscribe(function(e){t.checkState(e),t.setState(e),e!==rl.STOPPED&&e!==rl.PAUSED&&e!==rl.ENDED||t.subscrmanager.remove(l)},function(e){console.error(e)}));return this._audiomanger.startPlayback(this.selection.start,this.selection.duration,this._volume,this._speed,e,n)}return!1},e.prototype.stopPlayback=function(){var e=this._audiomanger.stopPlayback();return this.startpos=this.time.start.clone(),e||this.setState(rl.STOPPED),!0},e.prototype.pausePlayback=function(){return this.audiomanager.pausePlayback()},e.prototype.rePlayback=function(){return this._audiomanger.rePlayback()},e.prototype.stepBackward=function(){if(!Object(Yt.isNullOrUndefined)(this.lastplayedpos)){this.startpos=this.lastplayedpos.clone();var e=this.audiomanager.stepBackward();return e||(this.audiomanager.stepbackward=!0,this.setState(rl.STOPPED)),e}return console.error("lastplayedpos is null"),!1},e.prototype.stepBackwardTime=function(e){var n=Math.max(0,this.playposition.samples-Math.round(e*this.audiomanager.ressource.info.samplerate));this.startpos=new Jt(n,this.audiomanager.ressource.info.samplerate);var t=this.audiomanager.stepBackwardTime(n);return t||(this.audiomanager.stepbackward=!0,this.setState(rl.STOPPED)),t},e.prototype.setState=function(e){this._state===e&&e!==rl.STOPPED||(this._state=e,this.statechange.emit(e))},e.prototype.afterPlaybackStopped=function(){this.startpos=this.time.start.clone(),this.audiomanager.replay=!1},e.prototype.afterPlaybackPaused=function(){this.startpos=this.playposition.clone()},e.prototype.afterPlaybackEnded=function(){this.selection.end.samples===this.time.end.samples&&(this.startpos=this.time.start.clone())},e.prototype.checkState=function(e){switch(e){case rl.STOPPED:this.audiomanager.stepbackward||this.afterPlaybackStopped();break;case rl.PAUSED:this.afterPlaybackPaused();break;case rl.ENDED:this.afterPlaybackEnded()}},Object.defineProperty(e.prototype,"isPlaybackEnded",{get:function(){return this._state===rl.ENDED},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isPlaybackStarted",{get:function(){return this._state===rl.STARTED},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isPlaying",{get:function(){return this._state===rl.PLAYING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isPlayBackStopped",{get:function(){return this._state===rl.STOPPED},enumerable:!0,configurable:!0}),e.prototype.clone=function(){return new e(this.time.clone(),this.audiomanager,this.selection)},e.prototype.destroy=function(){this.subscrmanager.destroy()},e}();ul.counter=0;var al=function(){function e(){}return e.scrollTo=function(e,n){setTimeout(function(){Object(Yt.isNullOrUndefined)(n)?jQuery("html, body").scrollTop(e):jQuery(n).scrollTop(e)},200)},e.buildStr=function(e,n){var t=e,l=/({[0-9]+})+/g;if(t.match(l).length!==n.length)throw new Error("buildStr: number of placeholders do not match with array");for(var i=0;i/g,">").replace(/"/g,""").replace(/'/g,"'")},e.unEscapeHtml=function(e){return e.replace("&","&").replace("<","<").replace(">",">").replace(""",'"').replace("'","'")},e.insertString=function(e,n,t){var l=e;if(!(n<=e.length))throw new Error("String cannot be inserted at position "+n);return l=l.substring(0,n)+t+l.substring(n)},e.uniqueHTTPRequest=function(e,n,t,l,i){if(void 0===n&&(n=!1),n)return e.post(l,i,t);var r=new Xt.m,o=Date.now();r.set("v",o.toString());var u=new Xt.j;return u.params=r,e.get(l,u)},e.setCursor=function(e,n){if(!(e="string"==typeof e||e instanceof String?document.getElementById(""+e):e))return!1;if(e.createTextRange){var t=e.createTextRange();return t.collapse(!0),t.moveEnd(n),t.moveStart(n),t.select(),!0}return!!e.setSelectionRange&&(e.setSelectionRange(n,n),!0)},e.base64ToArrayBuffer=function(e){for(var n=window.atob(e),t=n.length,l=new Uint8Array(t),i=0;ithis.pos.x&ðis.pos.y&&n0?this._absX%this._innerWidth:0},enumerable:!0,configurable:!0}),e.prototype.changeAbsX=function(e,n,t,l){this._absX=Math.max(0,Math.min(e,t)),this._time_pos.samples=n.absXChunktoSamples(e,l)},e.prototype.changeSamples=function(e,n,t){this._time_pos.samples=e;var l=!Object(Yt.isNullOrUndefined)(t)&&t.time.start.samples-1&&(this.name=e.substr(0,e.lastIndexOf("."))),Object(Yt.isNullOrUndefined)(t)||(this.levels=t),Object(Yt.isNullOrUndefined)(l)||(this.links=l)}return e}(),wl=function(){function e(){}return e}(),Sl=function(){function e(e,n,t){this.name="",this.type="",this.name=e,this.type=n,this.items=[],Object(Yt.isNullOrUndefined)(t)||(this.items=t)}return e}(),kl=function(){function e(e,n){this.id=0,this.id=e,this.labels=[],Object(Yt.isNullOrUndefined)(n)||(this.labels=n)}return e}(),Ol=function(e){function n(n,t,l,i){var r=e.call(this,n,i)||this;return r.sampleStart=0,r.sampleDur=0,r.sampleStart=t,r.sampleDur=l,r}return yl(n,e),n}(kl),xl=function(e){function n(n,t,l){var i=e.call(this,n,l)||this;return i.samplePoint=t,i}return yl(n,e),n}(kl),Cl=function(){function e(e,n){this.name="",this.value="",this.name=e,this.value=n}return e}();!function(){function e(e,n){this.fromID=e,this.toID=n}}();!function(e){e[e.ITEM=0]="ITEM",e[e.EVENT=1]="EVENT",e[e.SEGMENT=2]="SEGMENT"}(cl||(cl={}));var Pl=function(){function e(e,n,t){if(this.sample_rate=e,this.onsegmentchange=new Wt.EventEmitter,this._segments=[],null!==n){0===n.length&&this._segments.push(new bl(new Jt(t,e)));for(var l=0;l-1&&e-1&&this._segments[e]){var t={samples:this._segments[e].time.samples,transcript:this._segments[e].transcript};if(this._segments[e].time.samples=n.time.samples,this._segments[e].transcript=n.transcript,t.samples!==n.time.samples||t.transcript!==n.transcript)return this.onsegmentchange.emit(),!0}return!1},e.prototype.sort=function(){this.segments.sort(function(e,n){return e.time.samplesn.time.samples?1:void 0}),this.onsegmentchange.emit()},e.prototype.get=function(e){return e>-1&&e0&&(n=this._segments[t-1].time.samples),e>n&&e<=this._segments[t].time.samples)return t;return-1},e.prototype.getSegmentsOfRange=function(e,n){for(var t=[],l=0,i=0;i=e&&r.time.samples<=n||l>=e&&l<=n||l<=e&&r.time.samples>=n)&&t.push(r),l=r.time.samples}return t},e.prototype.getStartTime=function(e){var n=this.get(e),t=0;if(n)for(var l=0;l0){var t=this.segments[n-1];t.time.samples===this.segments[n].time.samples&&e.push(n)}for(var n=0;n=n&&e<=this.segments[t].time.samples)return this.segments[t];n=this.segments[t].time.samples}return null},e.prototype.clear=function(){this._segments=[]},e.prototype.getObj=function(e){for(var n=[],t=0,l=0;l active",Object(Tl.e)("300ms ease-in")),Object(Tl.i)("active => inactive",Object(Tl.e)("300ms ease-in"))]),function(){function e(){this._conversion={import:!1,export:!1},this._application="",this._name="",this._extension="",this._encoding="",this._website={title:"",url:""},this._showauthors=!1}return Object.defineProperty(e.prototype,"encoding",{get:function(){return this._encoding},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extension",{get:function(){return this._extension},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"website",{get:function(){return this._website},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"conversion",{get:function(){return this._conversion},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showauthors",{get:function(){return this._showauthors},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"application",{get:function(){return this._application},enumerable:!0,configurable:!0}),e}()),Il=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])};return function(n,t){function l(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}}(),El=function(e){function n(){var n=e.call(this)||this;return n._application="Emu-WebApp",n._name="AnnotJSON",n._website.title="Emu-WebApp",n._website.url="http://ips-lmu.github.io/EMU-webApp/",n._extension="_annot.json",n._conversion.export=!0,n._conversion.import=!0,n}return Il(n,e),n.prototype.export=function(e,n){return Object(Yt.isNullOrUndefined)(e)?null:{file:{name:e.name+this._extension,content:JSON.stringify(e,null,2),encoding:"UTF-8",type:"application/json"}}},n.prototype.import=function(e,n){if(null!==n&&void 0!==n){var t=new _l(n.name,n.samplerate),l=e.content;if(""!==l&&(t=JSON.parse(l),t.annotates===n.name))return{annotjson:t,audiofile:null}}return null},n}(Nl),Al=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])};return function(n,t){function l(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}}(),Dl=function(e){function n(){var n=e.call(this)||this;return n._application="Text Editor",n._name="Plain Text",n._extension=".txt",n._website.title="WebMaus",n._website.url="https://clarin.phonetik.uni-muenchen.de/BASWebServices/#/services/WebMAUSBasic",n._conversion.export=!0,n._conversion.import=!0,n._encoding="UTF-8",n}return Al(n,e),n.prototype.export=function(e,n){var t="",l="";if(!Object(Yt.isNullOrUndefined)(e)){for(var i=0;i0&&null!==o){var a={querytype:"continueannotation",transcript:JSON.stringify(e),project:n,annotator:t,comment:r,jobno:l,status:"BUSY",quality:JSON.stringify(o),id:i,log:u};return this.post(a)}throw new Error("saveSession - validation false")},e.prototype.unlockSession=function(e,n){if(""!==e){var t={querytype:"continueannotation",transcript:"",project:e,annotator:"",comment:"",status:"FREE",quality:"",id:n,log:[]};return this.post(t)}throw new Error("unlockSession - validation false")},e.prototype.saveSession=function(e,n,t,l,i,r,o,u,a){if(""!==n&&e.length>0&&null!==u){var s={querytype:"continueannotation",transcript:JSON.stringify(e),project:n,annotator:t,comment:o,jobno:l,status:r,quality:JSON.stringify(u),id:i,log:a};return this.post(s)}throw new Error("saveSession - validation false")},e.prototype.closeSession=function(e,n,t){if(t=t||"",null!==e&&""!==e&&null!==n&&n>-1){var l={querytype:"endannotation",annotator:e,comment:t,id:n};return this.post(l)}throw new Error("closeSession - validation false")},e.prototype.getAudioURL=function(e,n){if(null!==e&&""!==e&&null!==n&&""!==n)return e=this.sanitizer.sanitize(Wt.SecurityContext.URL,e),n=this.sanitizer.sanitize(Wt.SecurityContext.URL,n),this.server_url+"?dir="+e+"&src="+n;throw new Error("getAudioBuffer - validation false")},e.prototype.getProjects=function(){var e={querytype:"listprojects"};return this.post(e)},e.prototype.post=function(e){var n=JSON.stringify(e);return this.http.post(this.server_url,n)},e.prototype.init=function(e){var n=this.sanitizer.sanitize(Wt.SecurityContext.URL,e);this.server_url=n},e.prototype.sendBugReport=function(e,n,t){void 0===e&&(e=""),void 0===n&&(n="");var l=JSON.stringify(t),i={querytype:"reportbug",email:e,buglogtext:l};return this.post(i)},e.ctorParameters=function(){return[{type:Xt.e},{type:Kt.c}]},e}(),Bl=function(){function e(e,n,t,l){if(n!==tl.URL&&Object(Yt.isNullOrUndefined)(t))throw new Error("MediaRessource of type File or ArrayBuffer must have content");if(-1===e.lastIndexOf("."))throw new Error("fullname parameter needs to consist of an file extension");var i=e.lastIndexOf(".");this._name=e.substr(0,i),this._extension=e.substr(i),this._size=l,this.source=n,this._arraybuffer=t}return Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extension",{get:function(){return this._extension},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"arraybuffer",{get:function(){return this._arraybuffer},set:function(e){this._arraybuffer=e},enumerable:!0,configurable:!0}),e}(),Vl=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])};return function(n,t){function l(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}}(),Wl=function(e){function n(n,t,l,i,r,o){var u=e.call(this,n,t,i,o)||this;if(!(!Object(Yt.isNullOrUndefined)(l.duration)&&!Object(Yt.isNullOrUndefined)(l.duration)&&l.duration.samples>0&&l.samplerate>0))throw Error("AudioRessource needs a correct instance of AudioInfo as parameter");return u._info=l,u._audiobuffer=r,u}return Vl(n,e),Object.defineProperty(n.prototype,"audiobuffer",{get:function(){return this._audiobuffer},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"info",{get:function(){return this._info},set:function(e){this._info=e},enumerable:!0,configurable:!0}),n}(Bl),ql=function(){function e(n){var t=this;if(this.afterdecoded=new Wt.EventEmitter,this._audiocontext=null,this._source=null,this._gainNode=null,this._startplaying=0,this._endplaying=0,this._replay=!1,this._paused=!1,this._stepbackward=!1,this._playonhover=!1,this.loaded=!1,this.chunks=[],this._javascriptNode=null,this.afterloaded=new Wt.EventEmitter,this.statechange=new Wt.EventEmitter,this.state=rl.PREPARE,this.afterAudioEnded=function(){t.state===rl.PLAYING&&(t.state=rl.ENDED),t.state!==rl.ENDED&&t.state!==rl.PAUSED&&t.state!==rl.STOPPED||t.javascriptNode.disconnect(),t.statechange.emit(t.state)},this._id=++e.counter,!Object(Yt.isNullOrUndefined)(n)){var l=window.AudioContext||window.webkitAudioContext||window.mozAudioContext||!1;l?(Object(Yt.isNullOrUndefined)(this._audiocontext)?this._audiocontext=new l:console.log("old audiocontext available"),this.state=rl.PREPARE):console.error("AudioContext not supported by this browser")}}return Object.defineProperty(e.prototype,"playonhover",{get:function(){return this._playonhover},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"playposition",{get:function(){return Object(Yt.isNullOrUndefined)(this._playposition)?0:this._playposition.samples},set:function(e){Object(Yt.isNullOrUndefined)(this._playposition)&&(this._playposition=new Jt(0,this.ressource.info.samplerate)),this._playposition.samples=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gainNode",{get:function(){return this._gainNode},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endplaying",{get:function(){return this._endplaying},set:function(e){this._endplaying=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"source",{get:function(){return this._source},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mainchunk",{get:function(){return this._mainchunk},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ressource",{get:function(){return this._ressource},set:function(e){this._ressource=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"replay",{get:function(){return this._replay},set:function(e){this._replay=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paused",{get:function(){return this._paused},set:function(e){this._paused=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stepbackward",{get:function(){return this._stepbackward},set:function(e){this._stepbackward=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"javascriptNode",{get:function(){return this._javascriptNode},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"audioplaying",{get:function(){return this.state===rl.PLAYING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),e.getFileFormat=function(e,n){for(var t=0;t0&&!Object(Yt.isNullOrUndefined)(s.items[s.items.length-1])?s.items[s.items.length-1]:null;if(null!==y&&y.sampleStart+y.sampleDur===Math.round(Number(f))&&(c=f),d>0){var _=new Ol(p,Math.round(c*b),Math.round(d*b),[new Cl(g,"")]);c+=d,s.items.push(_),d=0,p++}var w=[];w.push(new Cl(g,m));var S=new Ol(p,Math.round(c*b),Math.round(length*b),w);s.items.push(S),c+=length,p++}else d+=length}t.levels.push(s)}return{annotjson:t,audiofile:null}}console.error("filenames for .Table extension does not match!")}return null},n}(Nl),Xl=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])};return function(n,t){function l(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}}(),Hl=function(e){function n(){var n=e.call(this)||this;return n._application="CTM",n._name="CTM",n._extension=".ctm",n._website.title="",n._website.url="",n._conversion.export=!1,n._conversion.import=!0,n._encoding="UTF-8",n}return Xl(n,e),n.prototype.export=function(e,n){var t="",l="";if(!Object(Yt.isNullOrUndefined)(e)){for(var i=0;i0){var d=new Ol(a+1,0,u*c,[new Cl("Tier_1","")]);o.items.push(d)}var p=[];p.push(new Cl("Tier_1",s[4]));var h=new Ol(a+1,Math.round(u*c),Math.round(length*c),p);if(o.items.push(h),a===i.length-2&&u+length\nsize = "+r+"\n"}(t),t+="item []: \n";for(var o=0;o14&&al.contains(r[0],'File type = "ooTextFile"')&&al.contains(r[1],'Object class = "TextGrid"')){var u=0;if("item []: "===r[7])for(var a=8;a100&&(a=a.substr(0,100)+"...");var s=new Xt.j;s.params=u,s.headers=new Xt.d,s.headers.set("Authorization",i);var c=n,d={project:{id:1},category:"General",summary:a,description:t.description,additional_information:"Email: "+t.email,os:c.system.os.name,os_build:c.system.os.version,platform:c.system.browser,version:c.octra.version};return r&&(d.additional_information+="\n\n"+o),e.post(l,JSON.stringify(d),s)},n.prototype.getTest=function(e,n,t){var l=new Xt.m,i=new Xt.j;l.set("id","10"),i.params=l,i.headers=new Xt.d,i.headers.set("Authorization",t);return e.get(n,i)},n.prototype.getText=function(e){var n="";for(var t in e)if(e.hasOwnProperty(t)){if(Object(Jl.isArray)(e[t])||"object"!=typeof e[t]){if(Object(Jl.isArray)(e[t])){n+=t+"\n",n+="---------\n";for(var l=0;l0?o[1]+"."+o[3]:e,ql.decodeAudio(u,i,hi.audioformats).then(function(e){n.registerAudioManager(e),Rl.log("Audio (Length: "+e.ressource.size+") loaded. Decode now..."),n.afterloaded.emit({status:"success"}),t({})})},function(e){l(e)})}}return Object.defineProperty(e.prototype,"audiomanagers",{get:function(){return this._audiomanagers},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"loaded",{get:function(){return this._loaded},enumerable:!0,configurable:!0}),e.prototype.registerAudioManager=function(e){Object(Yt.isNullOrUndefined)(this._audiomanagers.find(function(n){return n.ressource.name===e.ressource.name}))&&this._audiomanagers.push(e)},e.prototype.extractData=function(e){return e.arrayBuffer()},e.prototype.handleError=function(e){var n=e;return console.error(n),zl.Observable.throw(n)},e.prototype.destroy=function(e){void 0===e&&(e=!0);for(var n=0;n0){var i=[];for(var l in n)if(!Object(Yt.isNullOrUndefined)(n[l])&&n.hasOwnProperty(l)){var r=n[l];i.push(new bi(l,r))}return i}}return[]},e.prototype.cloneShortcuts=function(e){var n={};for(var t in e)e.hasOwnProperty(t)&&(n[""+t]={keys:{mac:e[t].keys.mac,pc:e[t].keys.pc},title:e[t].title,focusonly:e[t].focusonly});return n},e.prototype.register=function(e,n){return this.getShortcuts(e)||this.shortcuts.push({identifier:e,shortcuts:this.cloneShortcuts(n)}),this.getShortcuts(e)},e.prototype.unregister=function(e){if(this.shortcuts.length>0){for(var n=-1,t=0;t0&&this.shortcuts.splice(n,1)}},e.prototype.getShortcuts=function(e){for(var n=0;n=0;u--)(i=e[u])&&(o=(r<3?i(o):r>3?i(n,t,o):i(n,t))||o);return r>3&&o&&Object.defineProperty(n,t,o),o},wi=this&&this.__metadata||function(e,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,n)},Si=function(){function e(e,n,t){this.id=e,this.level=n,this.sortorder=t}return e}(),ki=function(){function e(e,n){this.id=e,this.link=n}return e}(),Oi=function(){function e(e,n){var t=this;this.sessStr=e,this.localStr=n,this._idbloaded=!1,this._loaded=new Wt.EventEmitter,this._submitted=null,this._feedback=null,this._logs=[],this._data_id=null,this._audio_url=null,this._uselocalmode=null,this._sessionfile=null,this._language="en",this._version=null,this._interface=null,this._logging=!1,this._user=null,this._easymode=!1,this._comment="",this._annotation=null,this._annotation_links=null,this.saving=new Wt.EventEmitter,this._levelcounter=0,this.beginLocalSession=function(e,n,l,i){if(!Object(Yt.isNullOrUndefined)(e)){for(var r,o=0;oe){var t=this._annotation[e].id;return this._annotation[e].level=n,this.idb.save("annotation_levels",t,this._annotation[e])}return new Promise(function(e,n){n(new Error("number of level that should be changed is invalid"))})},e.prototype.addAnnotationLevel=function(e){return Object(Yt.isNullOrUndefined)(e)?new Promise(function(e,n){n(new Error("level is undefined or null"))}):(this._annotation.push({id:++this._levelcounter,level:e,sortorder:this._annotation.length}),this.idb.save("annotation_levels",this._levelcounter,{id:this._levelcounter,level:e}))},e.prototype.removeAnnotationLevel=function(e,n){var t=this;return!Object(Yt.isNullOrUndefined)(name)&&e"})},this.loadAudioFile=function(e){if(Rl.log("Load audio file 2..."),t.appStorage.uselocalmode)if(Object(Yt.isNullOrUndefined)(t.appStorage.sessionfile)||Object(Yt.isNullOrUndefined)(t.appStorage.sessionfile.name))console.error("session file is null.");else{t._filename=t.appStorage.sessionfile.name,t._filename=t._filename.substr(0,t._filename.lastIndexOf("."));var n=new FileReader;n.onloadend=function(n){var l=n.target;0===e.audiomanagers.length?ql.decodeAudio(t.appStorage.sessionfile.name,l.result,hi.audioformats,!0).then(function(n){e.registerAudioManager(n),Rl.log("Audio loaded."),t.audioloaded.emit({status:"success"})}):(Rl.log("Audio loaded."),t.audioloaded.emit({status:"success"}))},Object(Yt.isNullOrUndefined)(t.appStorage.file)||n.readAsArrayBuffer(t.appStorage.file)}else if(Object(Yt.isNullOrUndefined)(t.appStorage.audio_url))console.error("audio src is null"),t.audioloaded.emit({status:"error"});else{var l=t.app_settings.audio_server.url+t.appStorage.audio_url;t._filename=t.appStorage.audio_url.substr(t.appStorage.audio_url.lastIndexOf("/")+1);t._filename;t._filename=t._filename.substr(0,t._filename.lastIndexOf(".")),t._filename.indexOf("src=")>-1&&(t._filename=t._filename.substr(t._filename.indexOf("src=")+4)),e.loadAudio(l,function(){Rl.log("Audio loaded."),t.audioloaded.emit({status:"success"})},function(e){t._log+="Loading audio file failed
"})}},this.triggerSettingsLoaded=function(){t.validated&&(t.loaded=!0,t.test.next(!0))},this.subscrmanager=new ol}return Object.defineProperty(e.prototype,"log",{get:function(){return this._log},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filename",{get:function(){return this._filename},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"guidelines",{get:function(){return this._guidelines},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tidyUpMethod",{get:function(){return this._tidyUpMethod},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validationmethod",{get:function(){return this._validationmethod},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"projectsettings",{get:function(){return this._projectsettings},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"loaded",{get:function(){return this._loaded},set:function(e){this._loaded=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validated",{get:function(){return this.validation.app},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"app_settings",{get:function(){return this._app_settings},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"responsive",{get:function(){return Object(Yt.isNullOrUndefined)(this.projectsettings)||Object(Yt.isNullOrUndefined)(this.projectsettings.responsive)?this.app_settings.octra.responsive:this.projectsettings.responsive},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"allloaded",{get:function(){return!Object(Yt.isNullOrUndefined)(this.projectsettings)},enumerable:!0,configurable:!0}),e.prototype.getApplicationSettings=function(){var e=this;this.subscrmanager.add(this.app_settingsloaded.subscribe(this.triggerSettingsLoaded)),this.loadSettings({loading:"Load application settings..."},{json:"./config/appconfig.json",schema:"./schemata/appconfig.schema.json"},{json:"appconfig.json",schema:"appconfig.schema.json"},function(n){e._app_settings=n.json()},function(){Rl.log("AppSettings loaded."),e.validation.app=!0,e.app_settingsloaded.emit(!0)})},e.prototype.validate=function(e,n){for(var t in n)if(n.hasOwnProperty(t)){var l=e.validate(t,n[""+t]);if(!l.success)return console.error(l.error),!1}return!0},e.prototype.destroy=function(){this.subscrmanager.destroy()},e.prototype.clearSettings=function(){this._guidelines=null,this._projectsettings=null,this._validationmethod=null,this._tidyUpMethod=null},e.prototype.validateJSON=function(e,n,t){if(!Object(Yt.isNullOrUndefined)(n)&&!Object(Yt.isNullOrUndefined)(t)){var l=new Ajv,i=l.compile(t);if(i(n))return!0;for(var r in i.errors)if(i.errors.hasOwnProperty(r)){var o=i.errors[""+r];Rl.err("JSON Validation Error ("+e+"): "+o.dataPath+" "+o.message)}}return!1},e.prototype.loadSettings=function(e,n,t,l,i){var r=this;if(!(e.hasOwnProperty("loading")&&n.hasOwnProperty("json")&&n.hasOwnProperty("schema")&&t.hasOwnProperty("json")&&t.hasOwnProperty("schema")))throw new Error("parameters of loadSettings() are not correct.");Rl.log(e.loading),this.subscrmanager.add(al.uniqueHTTPRequest(this.http,!1,null,n.json,null).subscribe(function(e){l(e),r.subscrmanager.add(al.uniqueHTTPRequest(r.http,!1,null,n.schema,null).subscribe(function(n){Rl.log(t.json+" schema file loaded");var l=n.json(),o=e.json();r.validateJSON(t.json,o,l)&&i()},function(){console.error(t.schema+" could not be loaded!")}))},function(e){r._log+="Loading "+t.json+" failed
"}))},e.ctorParameters=function(){return[{type:Xt.e},{type:Oi}]},e}(),Mi=function(){function e(e){this._languages=e}return Object.defineProperty(e.prototype,"languages",{get:function(){return this._languages},enumerable:!0,configurable:!0}),e}(),Ti=function(){function e(e){switch(e){case"radiobutton":this._type="radiobutton";break;case"checkbox":this._type="checkbox";break;case"textarea":this._type="textarea";break;default:console.error("type '${type}' not valid control type for the feedback form")}}return Object.defineProperty(e.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),e}(),Ni=function(){function e(e,n,t,l,i){this._value=e,this._label=n,this._required=t,this._type=l,this._custom=i}return Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this._label},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"custom",{get:function(){return this._custom},set:function(e){this._custom=e},enumerable:!0,configurable:!0}),e.fromAny=function(n){return new e(n.value,new Mi(n.label),n.required,new Ti(n.type),n.custom)},e.prototype.toAny=function(){return{value:this._value,label:this._label,required:this._required,type:this._type.type,custom:this._custom}},e}(),Ii=function(){function e(e,n,t){this._title=e,this._name=n,this._controls=t,this._required=!1;for(var l=0;l0&&""===l.items[i].labels[0].name&&(l.items[i].labels[0].name=l.name);e.levels.push(l)}return e},e}(),Di=function(){function e(e,n,t,l){switch(this._name=n,this._id=e,t){case"EVENT":this.type=cl.EVENT;break;case"ITEM":this.type=cl.ITEM;break;case"SEGMENT":this.type=cl.SEGMENT}Object(Yt.isNullOrUndefined)(l)||(this.segments=l)}return Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(e){this._name=e},enumerable:!0,configurable:!0}),e.fromObj=function(n,t,l){var i=null,r=[],o=[];if("SEGMENT"===n.level.type){var u=n.level.items;i=new Pl(t,u,l)}else"ITEM"===n.level.type?o=n.level.items:"EVENT"===n.level.type&&(r=n.level.items);var a=new e(n.id,n.level.name,n.level.type,i);return a.items=o,a.events=r,a},e.prototype.getObj=function(){var e=null;return this.type===cl.SEGMENT?e=new Sl(this._name,this.getTypeString(),this.segments.getObj(this._name)):this.type===cl.ITEM?e=new Sl(this._name,this.getTypeString(),this.items):this.type===cl.EVENT&&(e=new Sl(this._name,this.getTypeString(),this.events)),this.type.toString(),e},e.prototype.getTypeString=function(){switch(this.type){case cl.EVENT:return"EVENT";case cl.ITEM:return"ITEM";case cl.SEGMENT:return"SEGMENT"}},e.prototype.clone=function(){return new e(++e.counter,this.name+"_2",this.getTypeString(),this.segments.clone())},e}();Di.counter=1;var Li,Ui=function(){function e(e,n,t,l,i,r,o,u){this.version=e,this.encoding=n,this.projectname=t,this.lastupdate=l,this.duration=o,this.samplerate=r,this.audiofile=i,this.logs=u}return e.prototype.getObj=function(){return JSON.parse(JSON.stringify(this.logs))},e}(),zi=function(){function e(e,n,t,l,i,r){this.timestamp=e,this.type=n,this.target=t,this.value=l,this.playerpos=i,this.caretpos=r}return e}(),Fi=function(){function e(e,n,t,l,i){var r=this;this.audio=e,this.appStorage=n,this.uiService=t,this.navbarServ=l,this.settingsService=i,this.dataloaded=new Wt.EventEmitter,this.segmentrequested=new Wt.EventEmitter,this.saving=!1,this.filename="",this._break_marker=null,this.state="ANNOTATED",this._selectedlevel=0,this._statistic={transcribed:0,empty:0,pause:0},this.levelchanged=new Wt.EventEmitter,this.saveSegments=function(){r.saving||(r.saving=!0,setTimeout(function(){r.appStorage.save("annotation",{num:r._selectedlevel,level:r._annotation.levels[r._selectedlevel].getObj()}),r.saving=!1},2e3))},this.endTranscription=function(e){void 0===e&&(e=!0),r.audio.destroy(e),r.destroy()},this.subscrmanager=new ol,this.subscrmanager.add(this.navbarServ.onexportbuttonclick.subscribe(function(e){"text"===e.format?r.navbarServ.exportformats.text=r.getTranscriptString(new Dl):"annotJSON"===e.format&&(r.navbarServ.exportformats.annotJSON=r.getTranscriptString(new El))}))}return Object.defineProperty(e.prototype,"audiomanager",{get:function(){return this._audiomanager},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedlevel",{get:function(){return this._selectedlevel},set:function(e){e>-1&&e0&&(r=this.currentlevel.segments.get(l-1).time.samples);var o={start:r,length:i.time.samples-r,text:i.transcript};t.push(o)}e.transcript=t}return e},e.prototype.destroy=function(){this.subscrmanager.destroy(),this._segments=null,this._last_sample=null,this._guidelines=null,this.saving=!1,this.filename="",this._feedback=null,this._break_marker=null,this.state="ANNOTATED",this._statistic={transcribed:0,empty:0,pause:0},this.uiService.elements=[]},e.prototype.extractUI=function(e){var n=new Date,t=new Ui("1.0","UTF-8",Object(Yt.isNullOrUndefined)(this.appStorage.user.project)||""===this.appStorage.user.project?"local":this.appStorage.user.project,n.toUTCString(),this._annotation.audiofile.name,this._annotation.audiofile.samplerate,this._annotation.audiofile.duration,[]);if(e)for(var l=0;l-1?this._statistic.pause++:this._statistic.transcribed++:this._statistic.empty++}},e.prototype.rawToHTML=function(e){var n=e;return n=this.replaceMarkersWithHTML(n),""!==e&&(n=n.replace(/\s+$/g," "),n=""!==n?""+n:""),n},e.prototype.replaceMarkersWithHTML=function(e){for(var n=e,t=0;t")}return n},e.prototype.underlineTextRed=function(e,n){var t=e,l=[];if(n.length>0){for(var i=0;i"},l.push(t)):t.puffer+="";var i=l.find(function(t){return t.start===n[e].start+n[e].length});Object(Yt.isNullOrUndefined)(i)?(i={start:t.start+n[e].length,puffer:""},i.puffer="
",l.push(i)):i.puffer=" "+i.puffer}(i);l=l.sort(function(e,n){return e.start===n.start?0:e.startn.start?1:void 0});for(var r="",o=0;o"+e+"
";var t=jQuery(e),l=function(e,t){if(null!==jQuery(t).children()&&jQuery(t).children().length>0)jQuery.each(jQuery(t).children(),l);else{var i=jQuery(t).attr("data-marker-code");if("select-one"===t.type){i+="="+jQuery(t).attr("data-value")}if(i)for(var r=0;r0)break;return{success:!1,error:t+"value of key '"+e+"' must be of type number greater 0"};case"margin":if("object"==typeof n&&"number"==typeof n.top&&"number"==typeof n.right&&"number"==typeof n.bottom&&"number"==typeof n.left)break;return{success:!1,error:t+"value of key '"+e+"' must be an object with attributes {top:number,right:number,bottom:number,left:number}"};case"slider":if("object"==typeof n&&"string"==typeof n.color&&"number"==typeof n.height&&n.height>-1)break;return{success:!1,error:t+"value of key '"+e+"' must an object of {color:string, height:number}"};case"cursor":if("object"==typeof n&&"string"==typeof n.color)break;return{success:!1,error:t+"value of key '"+e+"' must an object of {color:string}"};case"playcursor":if("object"==typeof n&&"number"==typeof n.height&&"number"==typeof n.width&&"string"==typeof n.color)break;return{success:!1,error:t+"value of key '"+e+"' must be an object with attributes {height:number,width:number}"};case"colors":if("object"==typeof n&&"string"==typeof n.gridcolor&&"string"==typeof n.datacolor&&"string"==typeof n.selectioncolor&&"string"==typeof n.textcolor&&"string"==typeof n.backgroundcolor&&"string"==typeof n.slidercolor&&"string"==typeof n.cursorcolor&&"string"==typeof n.playcursorcolor)break;return{success:!1,error:t+"value of key '"+e+"' must be an object with attributes { gridcolor:string, datacolor:string, selectioncolor : string, textcolor:string, backgroundcolor: string, slidercolor: string, cursorcolor:string, playcursorcolor: string}"};case"shortcuts":if("object"==typeof n){var l=0;for(var i in n)if(l++,!n[""+i].hasOwnProperty("keys")||!n[""+i].hasOwnProperty("title")||!n[""+i].hasOwnProperty("focusonly"))return{success:!1,error:t+"value of key '"+e+"' must be an object of shortcuts. Compare custom config with sample config"};break}break;case"set_boundaries":if("boolean"!=typeof n)return{success:!1,error:t+"value of key '"+e+"' must be of type boolean"};break;default:return{success:!1,error:t+"key '"+e+"' not found"}}return{success:!0,error:""}},n}(jl),Ki=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])};return function(n,t){function l(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}}(),$i=function(e){function n(n){var t=e.call(this)||this;return t.audio=n,t.drag_playcursor=!1,t._settings=(new Vi).Settings,t.validateConfig(),t}return Ki(n,e),Object.defineProperty(n.prototype,"Settings",{get:function(){return this._settings},set:function(e){this._settings=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"Line",{get:function(){return this.last_line},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"LastLine",{get:function(){return this.last_line},enumerable:!0,configurable:!0}),n.prototype.initialize=function(e){this.audio_px_w=e,this.playcursor=new vl(0,new Jt(0,this.audiomanager.ressource.info.samplerate),e),this.initializeLine(this.audio_px_w,this._settings.height)},n.prototype.setMouseMovePosition=function(n,t,l,i,r){e.prototype.setMouseMovePosition.call(this,n,t,l,i,r),this.mouse_down&&this.drag_playcursor&&(this.PlayCursor.changeAbsX(t-this._settings.margin.left,this.audioTCalculator,this.audio_px_w,this.audiochunk),this.audiochunk.playposition=this.PlayCursor.time_pos.clone()),"mouseleave"===n&&(this.drag_playcursor=!1)},n.prototype.setMouseClickPosition=function(n,t,l,i,r){e.prototype.setMouseClickPosition.call(this,n,t,l,i,r),null===this.last_line||this.last_line===l?"mousedown"===i.type?(null!==this.last_line&&this.last_line.number!==this.last_line.number||(nthis.PlayCursor.absX+5||(this.drag_playcursor=!0),this.mouse_click_pos.line=l,this.mouse_click_pos.absX=this.getAbsXByLine(l,n-l.Pos.x,r),this.audiochunk.playposition.samples=this.mouse_click_pos.timePos.samples),this.mouse_down=!0):"mouseup"===i.type&&(this.mouse_down=!1,this.drag_playcursor=!1,this.PlayCursor.changeAbsX(n-this._settings.margin.left,this.audioTCalculator,this.audio_px_w,this.audiochunk),this.audiochunk.startpos=this.PlayCursor.time_pos.clone()):"mouseup"===i.type&&(this.mouse_down=!1,this.drag_playcursor=!1,this.PlayCursor.changeAbsX(n-this._settings.margin.left,this.audioTCalculator,this.audio_px_w,this.audiochunk),this.audiochunk.startpos.samples=this.audioTCalculator.absXChunktoSamples(this.PlayCursor.absX,this.audiochunk))},n.prototype.updateLines=function(e){this.audio_px_w=e;var n=e,t=this.last_line;t?(t.number=0,t.Size={width:n,height:this._settings.height}):this.initializeLine(n,this._settings.height)},n.prototype.initializeLine=function(e,n){var t={height:n,width:e},l={x:this._settings.margin.left,y:this._settings.margin.top};this.last_line=new fl(0,t,l)},n.prototype.getAbsXByLine=function(e,n,t){return e.number*t+n},n.prototype.init=function(e,n){this.AudioPxWidth=e,this.audiochunk=n,this.initialize(e),this.audioTCalculator=new Zt(this.audiomanager.ressource.info.samplerate,this.audiochunk.time.duration,this.AudioPxWidth),this.Mousecursor=new el(0,0,0,new Jt(0,this.audiomanager.ressource.info.samplerate)),this.MouseClickPos=new el(0,0,0,new Jt(0,this.audiomanager.ressource.info.samplerate))},n.prototype.validateConfig=function(){var e=new qi,n=e.validateObject(this._settings);if(!n.success)throw n.error},n.ctorParameters=function(){return[{type:fi}]},n}(gi),Xi=function(){function e(e,n,t,l){var i=this;this.audio=e,this.ap=n,this.changeDetectorRef=t,this.keyMap=l,this.shortcuttriggered=new Wt.EventEmitter,this.graphicscanvas=null,this.overlaycanvas=null,this.playcanvas=null,this.context=null,this.timer=null,this.width=0,this.height=0,this.innerWidth=0,this.oldInnerWidth=0,this.mouseclick_obj={clicked:!1,x:0,y:0,curr_line:null,event:null},this.focused=!1,this.update=function(){i.updateCanvasSizes(),i.audiochunk.channel&&(i.draw(),i.drawPlayCursor()),i.oldInnerWidth=i.innerWidth},this.draw=function(){var e=this.ap.Line;if(!e)throw new Error("Line Object not found");this.clearDisplay(),this.drawLine(),this.drawPlayCursorOnly(e)},this.onKeyDown=function(e){if(i.settings.shortcuts_enabled){var n=e.comboKey,t=nl.platform;if(i.settings.shortcuts){var l=!1,r=0;for(var o in i.settings.shortcuts)if(r++,i.settings.shortcuts.hasOwnProperty(o)){var u=!1===i.settings.shortcuts[""+o].focusonly||i.settings.shortcuts[""+o].focusonly===i.focused==!0;if(u&&i.settings.shortcuts[""+o].keys[""+t]===n)switch(o){case"play_pause":i.shortcuttriggered.emit({shortcut:n,value:o}),i.audiochunk.isPlaying?i.pausePlayback():i.startPlayback(),l=!0;break;case"stop":i.shortcuttriggered.emit({shortcut:n,value:o}),i.stopPlayback(),l=!0;break;case"step_backward":i.shortcuttriggered.emit({shortcut:n,value:o}),i.stepBackward(),l=!0;break;case"step_backwardtime":i.shortcuttriggered.emit({shortcut:n,value:o}),i.stepBackwardTime(.5),l=!0}if(l)break}l&&e.event.preventDefault()}}},this.onAudioChunkStateChanged=function(){i.audiochunk.isPlaybackEnded&&i.audiomanager.replay&&i.playSelection(),i.audiochunk.isPlayBackStopped&&i.audiomanager.stepbackward&&(i.ap.PlayCursor.changeSamples(i.audiochunk.playposition.samples,i.ap.audioTCalculator,i.audiochunk),i.startPlayback(!0)),i.audiochunk.isPlayBackStopped&&i.mouseclick_obj.clicked&&(i.mouseclick_obj.clicked=!1,i.ap.setMouseClickPosition(i.mouseclick_obj.x,i.mouseclick_obj.y,i.mouseclick_obj.curr_line,i.mouseclick_obj.event,i.innerWidth),setTimeout(function(){i.startPlayback(!1)},200)),i.audiomanager.stepbackward=!1,i.audiomanager.paused=!1,i.drawPlayCursor()},this.drawPlayCursor=function(){var e=i.ap.audioTCalculator.samplestoAbsX(i.audiochunk.playposition.samples);i.changePlayCursorAbsX(e);var n=i.ap.Line;n&&i.drawPlayCursorOnly(n)},this.subscrmanager=new ol,this.subscrmanager.add(this.keyMap.onkeydown.subscribe(this.onKeyDown))}return Object.defineProperty(e.prototype,"settings",{get:function(){return this.ap.Settings},set:function(e){this.ap.Settings=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"current_time",{get:function(){return this.audiochunk.playposition.unix},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"audiomanager",{get:function(){return this.audiochunk.audiomanager},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"audioressource",{get:function(){return this.audiomanager.ressource},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.anim=new ll(25),this.timer=zl.Observable.timer(0,200),this.subscrmanager.add(this.audiochunk.statechange.subscribe(function(n){e.onAudioChunkStateChanged()}))},e.prototype.ngAfterViewInit=function(){this.graphicscanvas=this.graphicscanRef.nativeElement,this.playcanvas=this.playcanRef.nativeElement,this.overlaycanvas=this.overlaynacRef.nativeElement,this.width=this.apview.elementRef.nativeElement.clientWidth,this.innerWidth=this.width-this.settings.margin.left-this.settings.margin.right,this.oldInnerWidth=this.innerWidth,this.ap.init(this.innerWidth,this.audiochunk),this.update(),this.startTimer()},e.prototype.ngOnChanges=function(e){if(e.hasOwnProperty("audiochunk")){var n=e.audiochunk.previousValue,t=e.audiochunk.currentValue;e.audiochunk.firstChange||(Object(Yt.isNullOrUndefined)(n)&&!Object(Yt.isNullOrUndefined)(t)||t.time.start.samples!==n.time.start.samples&&t.time.end.samples!==n.time.end.samples)&&(this.ap.init(this.innerWidth,this.audiochunk),this.update())}},e.prototype.ngOnDestroy=function(){this.stopPlayback(),this.subscrmanager.destroy()},e.prototype.updateCanvasSizes=function(){this.width=Number(this.apview.elementRef.nativeElement.clientWidth),this.innerWidth=Number(this.width-this.settings.margin.left-this.settings.margin.right),this.height=this.settings.margin.top+this.settings.height+this.settings.margin.bottom,this.graphicscanvas.width=this.width,this.overlaycanvas.width=this.width,this.playcanvas.width=this.width,this.graphicscanvas.height=this.height,this.overlaycanvas.height=this.height,this.playcanvas.height=this.height,this.apview.changeStyle("height",this.height.toString()+"px"),this.ap.updateLines(this.innerWidth)},e.prototype.drawLine=function(){this.context=this.graphicscanvas.getContext("2d"),this.context.globalAlpha=1,this.context.fillStyle=this.settings.slider.color;var e=this.settings.margin.left,n=this.settings.height,t=Math.round(n/2)-this.settings.slider.height/2;this.context.fillRect(e,t,this.innerWidth,this.settings.slider.height),this.context.stroke()},e.prototype.clearDisplay=function(){var e=this.playcanvas,n=this.overlaycanvas,t=this.ap.Line;if(!t)throw new Error("Line Object not found");this.context=this.playcanvas.getContext("2d"),this.context.clearRect(t.Pos.x-1,t.Pos.y-1,this.innerWidth+1,t.Size.height+1),this.context=n.getContext("2d"),this.context.globalAlpha=1,this.context.clearRect(t.Pos.x-1,t.Pos.y-1,this.innerWidth+1,t.Size.height+1),this.context.strokeStyle=this.settings.cursor.color,this.context=e.getContext("2d"),this.context.globalAlpha=1,this.context.clearRect(t.Pos.x-1,t.Pos.y-1,this.innerWidth+1,t.Size.height+1),this.context.strokeStyle=this.settings.playcursor.color,this.context=this.graphicscanvas.getContext("2d"),this.context.globalAlpha=1,this.context.strokeStyle=this.settings.framecolor,this.context.fillStyle=this.settings.backgroundcolor,this.context.fillRect(0,0,this.width,this.height)},e.prototype.onMouseMove=function(e){var n=e.offsetX,t=e.offsetY,l=this.ap.LastLine;l&&(this.ap.setMouseMovePosition(e.type,n,t,l,this.innerWidth),this.drawPlayCursorOnly(l))},e.prototype.onClick=function(e){var n=e.offsetX,t=e.offsetY,l=this.ap.Line;l&&(this.audiochunk.isPlaying?(this.mouseclick_obj.clicked=!0,this.mouseclick_obj.x=n,this.mouseclick_obj.y=t,this.mouseclick_obj.curr_line=l,this.mouseclick_obj.event=e,this.audiochunk.stopPlayback()):this.ap.setMouseClickPosition(n,t,l,e,this.innerWidth),this.drawPlayCursorOnly(l))},e.prototype.playSelection=function(){var e=this,n=function(){e.audiochunk.updatePlayPosition(),e.anim.requestFrame(e.drawPlayCursor)};return this.audiochunk.startPlayback(n)},e.prototype.stopPlayback=function(){this.audiochunk.stopPlayback()},e.prototype.pausePlayback=function(){this.audiochunk.pausePlayback()},e.prototype.startPlayback=function(e){return void 0===e&&(e=!0),!this.audiochunk.isPlaying&&this.playSelection()},e.prototype.startTimer=function(){var e=this;this.subscrmanager.add(this.timer.subscribe(function(){e.audioressource.audiobuffer&&e.ap.PlayCursor&&e.changeDetectorRef.markForCheck()}))},e.prototype.rePlayback=function(){return this.audiochunk.rePlayback()},e.prototype.stepBackward=function(){this.audiochunk.stepBackward()},e.prototype.stepBackwardTime=function(e){this.audiochunk.stepBackwardTime(e)},e.prototype.drawPlayCursorOnly=function(e){var n=this.ap.PlayCursor.absX+this.settings.margin.left,t=Math.round((e.Size.height-this.settings.playcursor.height)/2);n<=e.Size.width+this.settings.margin.left&&(this.context=this.playcanvas.getContext("2d"),this.context.clearRect(0,0,this.width,this.height),this.context.strokeStyle=this.settings.playcursor.color,this.context.beginPath(),this.context.moveTo(n,t+1),this.context.lineTo(n,t+this.settings.playcursor.height),this.context.globalAlpha=1,this.context.lineWidth=this.settings.playcursor.width,this.context.stroke())},e.prototype.changePlayCursorAbsX=function(e){this.ap.PlayCursor.changeAbsX(e,this.ap.audioTCalculator,this.ap.AudioPxWidth,this.audiochunk)},e.prototype.onResize=function(e){this.width=this.apview.elementRef.nativeElement.clientWidth,this.innerWidth=this.width-this.settings.margin.left-this.settings.margin.right;this.innerWidth,this.oldInnerWidth;if(this.ap.PlayCursor){var n=new Zt(this.audioressource.info.samplerate,this.audiochunk.time.duration,this.innerWidth);Rl.log(""+this.audiochunk.playposition.samples),this.ap.audioTCalculator=n,this.ap.PlayCursor.changeSamples(this.audiochunk.playposition.samples,n),this.update()}},e.prototype.onReload=function(e){this.subscrmanager.destroy()},e.ctorParameters=function(){return[{type:fi},{type:$i},{type:Wt.ChangeDetectorRef},{type:vi}]},e}(),Hi=function(){function e(e,n){this.elementRef=e,this.renderer=n}return e.prototype.changeStyle=function(e,n){this.renderer.setElementStyle(this.elementRef.nativeElement,e,n)},e.ctorParameters=function(){return[{type:Wt.ElementRef},{type:Wt.Renderer}]},e}(),Qi=function(){function e(){this.multi_line=!1,this.pixel_per_sec=200,this.justify_signal_height=!0,this.cropping="none",this.lineheight=150,this.backgroundcolor="rgb(255, 248, 248)",this.margin={top:0,right:0,bottom:0,left:0},this.cursor={color:"rgb(255, 0, 0)"},this.playcursor={height:20,width:10,color:"purple"},this.boundaries={enabled:!0,readonly:!1,width:3,color:"rgb(160, 160, 0)"},this.grid={enabled:!0,color:"rgb(224, 224, 224)"},this.data={color:"rgb(0, 127, 0)"},this.selection={enabled:!0,color:"gray"},this.frame={color:"rgb(0, 0, 0)"},this.shortcuts_enabled=!0,this.shortcuts={play_pause:{keys:{mac:"TAB",pc:"TAB"},focusonly:!1,title:"play pause"},stop:{keys:{mac:"ESC",pc:"ESC"},focusonly:!1,title:"stop playback"},set_boundary:{keys:{mac:"S",pc:"S"},focusonly:!0,title:"set segment"},set_break:{keys:{mac:"P",pc:"P"},focusonly:!0,title:"set break"},play_selection:{keys:{mac:"C",pc:"C"},focusonly:!0,title:"play selection"},step_backward:{keys:{mac:"SHIFT + BACKSPACE",pc:"SHIFT + BACKSPACE"},focusonly:!1,title:"step backward"},step_backwardtime:{keys:{mac:"SHIFT + TAB",pc:"SHIFT + TAB"},title:"step backward time",focusonly:!1},segment_enter:{keys:{mac:"ENTER",pc:"ENTER"},focusonly:!0,title:"transcribe segment"},cursor_left:{keys:{mac:"ARROWLEFT",pc:"ARROWLEFT"},focusonly:!0,title:"move cursor left"},cursor_right:{keys:{mac:"ARROWRIGHT",pc:"ARROWRIGHT"},focusonly:!0,title:"move cursor right"},playonhover:{keys:{mac:"H",pc:"H"},focusonly:!0,title:"play audio on hover"}},this.disabled_keys=["SHIFT + SPACE"],this.timeline={enabled:!1,height:15,fontSize:9,fontWeight:"light",font:"Arial",foreColor:"black"},this.step_width_ratio=.0226,this.scrollable=!1,this.round_values=!0}return e}(),Gi=function(){function e(e){this.functions=e;var n=(Date.now(),URL.createObjectURL(new Blob([this.getFunctionsString()],{type:"application/javascript"})));this.worker=new Worker(n);Date.now()}return e.prototype.run=function(e,n){var t=this;Date.now();return new Promise(function(l,i){null!==t.hasFunction(e)?(t.worker.onmessage=function(e){l(e)},t.worker.onerror=function(e){i(e)},t.worker.postMessage({do:e,args:n})):i(new Error("Function does not exist in Taskmanager's list of functions"))})},e.prototype.destroy=function(){URL.revokeObjectURL(this.bloburl)},e.prototype.hasFunction=function(e){for(var n=0;n0?(this.audioTCalculator=new Zt(this.audiomanager.ressource.info.samplerate,this.audiochunk.time.duration,this.AudioPxWidth),this.Mousecursor=new el(0,0,0,new Jt(0,this.audiomanager.ressource.info.samplerate)),this.MouseClickPos=new el(0,0,0,new Jt(0,this.audiomanager.ressource.info.samplerate)),this.PlayCursor=new vl(0,new Jt(0,this.audiomanager.ressource.info.samplerate),n),this.afterChannelInititialized(n)):new Promise(function(e,n){console.error("audio px is 0."),e()})},n.prototype.calculateZoom=function(e,n,t){if(this.Settings.justify_signal_height){for(var l=0,i=0,r=this.Settings.timeline.enabled?this.Settings.timeline.height:0,o=e/2,u=this.AudioPxWidth,a=0;a<=u&&(l=a,!isNaN(t[a]));a++)i=Math.max(i,t[a]),o=Math.min(o,t[a]);var s=e-r-(i+Math.abs(o));s=Math.floor(s-2),s>0&&(this._zoomY=s/(i+Math.abs(o))+1,this._zoomY=Math.floor(10*this._zoomY)/10,this._zoomX=n/l)}else this._zoomY=1},n.prototype.computeDisplayData=function(e,n,t){return this.taskmanager=new Gi([{name:"compute",do:function(e){var n=e[0],t=e[1],l=e[2],i=e[3];n=Math.floor(n);for(var r=[],o=l.length,u=0,a=0,s=0,c=0,d=0,p=o/n,h=t/2,f=0;fo?o:Math.round(c+p);for(var g=c;g-1){var s=this.transcrService.currentlevel.segments.get(this.dragableBoundaryNumber).clone(),c=u/this.audiomanager.ressource.info.samplerate,d=this.dragableBoundaryNumber>0?this.transcrService.currentlevel.segments.get(this.dragableBoundaryNumber-1):null,p=this.dragableBoundaryNumberp.time.seconds-.02&&(u=p.time.samples-Math.round(.02*this.audiomanager.ressource.info.samplerate)),s.time.samples=u,this.transcrService.currentlevel.segments.change(this.dragableBoundaryNumber,s),this.transcrService.currentlevel.segments.sort(),a=this.getBoundaryNumber(o),this.dragableBoundaryNumber=a}else this.mouse_down=!1;this.overboundary=a>-1},n.prototype.setMouseClickPosition=function(n,t,l,i,r,o){var u=this;return new Promise(function(a,s){e.prototype.setMouseClickPosition.call(u,n,t,l,i,r);var c=u.getAbsXByLine(l,n-l.Pos.x,r),d=u.audioTCalculator.absXChunktoSamples(c,u.audiochunk);if(u.audiomanager.audioplaying){if(u.audiochunk.isPlaying&&"mouseup"===i.type){var p=(u.audiochunk.playposition.clone(),u.subscrmanager.add(u.audiochunk.statechange.subscribe(function(e){e===rl.STOPPED&&(u.audiochunk.startpos=new Jt(d,u.audiomanager.ressource.info.samplerate),u.audiochunk.selection.end=u.audiochunk.playposition.clone(),u.drawnselection=null,u.PlayCursor.changeSamples(u.audiochunk.playposition.samples,u.audioTCalculator,u.audiochunk),o.drawSegments(),u.subscrmanager.remove(p))})));u.audiochunk.stopPlayback()}}else if(null===u.last_line||u.last_line===l)if("mousedown"!==i.type||u.shift_pressed){if("mouseup"===i.type){if(u.dragableBoundaryNumber>-1&&u.dragableBoundaryNumber-1&&u.dragableBoundaryNumber0&&!this.audiochunk.isPlaying)for(e=0;e=t-l&&this.transcrService.currentlevel.segments.get(e).time.samples<=t+l&&this.transcrService.currentlevel.segments.get(e).time.samples!==this.audiomanager.ressource.info.duration.samples){var i=this.transcrService.currentlevel.segments.get(e).time.samples;return this.transcrService.currentlevel.segments.removeByIndex(e,this.transcrService.break_marker.code),{type:"remove",seg_samples:i,msg:{type:"success",text:""}}}if((Object(Yt.isNullOrUndefined)(this.drawnselection)?0:this.drawnselection.length)>0&&t>=this.drawnselection.start.samples&&t<=this.drawnselection.end.samples){var r=this.transcrService.currentlevel.segments.BetweenWhichSegment(this.drawnselection.start.samples),o=this.transcrService.currentlevel.segments.BetweenWhichSegment(this.drawnselection.end.samples);return null===r&&null===o||r===o||""===r.transcript&&""===o.transcript?(this.drawnselection.start.samples>0&&this.transcrService.currentlevel.segments.add(this.drawnselection.start.samples),this.transcrService.currentlevel.segments.add(this.drawnselection.end.samples),{type:"add",seg_samples:this.drawnselection.start.samples,msg:{type:"success",text:""}}):{type:"add",seg_samples:this.drawnselection.start.samples,msg:{type:"error",text:this.langService.instant("boundary cannot set")}}}var u=this.transcrService.currentlevel.segments.BetweenWhichSegment(t),a=u.transcript;return u.transcript="",this.transcrService.currentlevel.segments.add(Math.round(t)),u=this.transcrService.currentlevel.segments.BetweenWhichSegment(t),u.transcript=a,{type:"add",seg_samples:-1,msg:{type:"success",text:""}}}return null},n.prototype.getSegmentSelection=function(e){var n=null,t=this.transcrService.currentlevel.segments,l=this.transcrService.currentlevel.segments.length;if(l>0)if(et.get(t.length-1).time.samples){var i=t.get(t.length-1).time.clone();n=new il(i,this.audiomanager.ressource.info.duration)}else for(var r=1;rt.get(r-1).time.samples&&e0)return u>-1&&u>=i?(a.start=o>-1&&o>=i?o-e.number*l:0,o<=r?(u>r?a.end=l:u<=r&&(a.end=u-e.number*l),a):{start:-3,end:-1}):{start:-1*o,end:-1*u}}},n.prototype.updateLines=function(e){if(this.Settings.multi_line){var n=Math.ceil(this.audio_px_w/e),t=Number(this.audio_px_w);if(nthis.Lines.length)for(var l=0;le?e:t,r=this.Lines[l];r?(r.number=l,r.Size={width:Number(i),height:Number(r.Size.height)},r.Pos=l>0?{x:Number(this.Lines[l-1].Pos.x),y:Number(this.Lines[l-1].Pos.y+this.Lines[l-1].Size.height+this.Settings.margin.bottom)}:{x:this.Settings.margin.left,y:this.Settings.margin.top}):this.addLine(l,i,this.Settings.lineheight),t-=e}}else{this.audio_px_w=e;var i=e,r=this.Lines[0];Object(Yt.isNullOrUndefined)(r)?this.addLine(0,i,this.Settings.lineheight):(r.number=0,r.Size={width:i,height:this.Settings.lineheight})}},n.prototype.getLineByAbsX=function(e,n){var t=Math.floor(e/n);return this.Lines[t]?this.Lines[t]:null},n.prototype.addLine=function(e,n,t){var l={height:t,width:n},i={x:this.Settings.margin.left,y:this.Settings.margin.top};i.y+=this.Lines.length>e-1&&!Object(Yt.isNullOrUndefined)(this.Lines[e-1])?this.Lines[e-1].Pos.y:0;var r=new fl(e,l,i);this.Lines.push(r)},n.prototype.getBoundaryNumber=function(e){for(var n=0;n=e-this.Settings.boundaries.width/2&&l<=e+this.Settings.boundaries.width/2)return n}return-1},n.prototype.moveCursor=function(e,n){var t=this.mousecursor.line;if(!(n>0))throw new Error("can not move cursor by given samples. Number of samples less than 0.");if(("left"===e||"right"===e)&&(this.mousecursor.timePos.samples>=this.audiochunk.time.start.samples+n&&"left"===e||this.mousecursor.timePos.samples<=this.audiochunk.time.end.samples-n&&"right"===e))if("left"===e){if(this.mousecursor.timePos.samples>=this.audiochunk.time.start.samples+n){this.mousecursor.timePos.samples-=n;var l=this.mousecursor.timePos.samples-this.audiochunk.time.start.samples,i=this.audioTCalculator.samplestoAbsX(l,this.audiochunk.time.duration);this.mousecursor.relPos.x=i%t.Size.width,this.mousecursor.line=this.getLineByAbsX(i,t.Size.width),this.last_line=this.mousecursor.line}}else if("right"===e&&this.mousecursor.timePos.samples<=this.audiochunk.time.end.samples-n){this.mousecursor.timePos.samples+=n;var l=this.mousecursor.timePos.samples-this.audiochunk.time.start.samples,i=this.audioTCalculator.samplestoAbsX(l,this.audiochunk.time.duration);this.mousecursor.relPos.x=i%t.Size.width,this.mousecursor.line=this.getLineByAbsX(i,t.Size.width),this.last_line=this.mousecursor.line}},n.prototype.destroy=function(){this.subscrmanager.destroy(),this.taskmanager.destroy()},n.prototype.initializeSettings=function(){this._settings=new Qi},n.prototype.refresh=function(){var e=this;return new Promise(function(n,t){e.computeDisplayData(e.AudioPxWidth/2,e.Settings.lineheight,e.channel).then(function(t){e._minmaxarray=t.data,n()}).catch(function(e){t(e)})})},n.ctorParameters=function(){return[{type:fi},{type:Fi},{type:vi},{type:Ht.c}]},n}(gi),Zi=function(){function e(e,n,t,l){var i=this;this.av=e,this.transcr=n,this.keyMap=t,this.langService=l,this.selchange=new Wt.EventEmitter,this.segmententer=new Wt.EventEmitter,this.segmentchange=new Wt.EventEmitter,this.mousecursorchange=new Wt.EventEmitter,this.playcursorchange=new Wt.EventEmitter,this.shortcuttriggered=new Wt.EventEmitter,this.alerttriggered=new Wt.EventEmitter,this.scrolling=new Wt.EventEmitter,this.scrollbarchange=new Wt.EventEmitter,this.margin={top:0,right:0,bottom:0,left:0},this.graphicscanvas=null,this.overlaycanvas=null,this.playcanvas=null,this.mousecanvas=null,this.g_context=null,this.p_context=null,this.o_context=null,this.m_context=null,this.scrollbar={dragging:!1,mouseover:!1},this.resizing=!1,this.updating=!1,this.audioplaying=!1,this.step_backward=!1,this.width=0,this.height=0,this._innerWidth=0,this.oldInnerWidth=0,this._initialized=!1,this._viewRect={x:0,y:0,w:0,h:0,lines:{start:0,end:0}},this._deactivate_shortcuts=!1,this.update=function(e){if(void 0===e&&(e=!1),i.AudioPxWidth>0){if(i.updateVisibleLines(),!i.updating){i.updating=!0;var n=function(){if(i.av.updateLines(i._innerWidth),i.av.LinesArray.length>0){for(var e=i._viewRect.lines.start;e<=i._viewRect.lines.end&&!Object(Yt.isNullOrUndefined)(i.av.LinesArray[e]);e++)i.clearDisplay(e),i.drawGrid(3,3,i.av.LinesArray[e]);i.drawSegments(),"none"!==i.Settings.cropping&&(i.av.Mousecursor.relPos.x=i._innerWidth/2,i.drawCropBorder()),i.Settings.timeline.enabled&&i.drawTimeLine();for(var e=i._viewRect.lines.start;e<=i._viewRect.lines.end&&i.drawSignal(e);e++);"none"!==i.Settings.cropping&&(i.av.Mousecursor.relPos.x=i._innerWidth/2,i.drawCropBorder()),i.Settings.selection.enabled&&(i.drawPlayCursor(),i.drawCursor(i.av.Mousecursor.line)),i._initialized=!0}else console.error("0 lines?")};Object(Yt.isNullOrUndefined)(i.av.channel)?console.error("audio channel is null"):e?i.av.refresh().then(function(){n()}).catch(function(e){console.error(e)}):n(),i.oldInnerWidth=i._innerWidth,i.updating=!1}}else console.error("audiopx 0")},this.drawSignal=function(e){var n=this.av.LinesArray[e],t=this.Settings.timeline.enabled?this.Settings.timeline.height:0;if(!Object(Yt.isNullOrUndefined)(n)){var l=Math.floor((this.Settings.lineheight-t)/2),i=e*this.innerWidth,r=this.av.zoomX,o=this.av.zoomY;if(this.g_context.strokeStyle=this.Settings.data.color,this.g_context.beginPath(),this.g_context.moveTo(n.Pos.x,n.Pos.y+l-this.av.minmaxarray[i]-this._viewRect.y),Object(Yt.isNullOrUndefined)(l)||Object(Yt.isNullOrUndefined)(n.Pos)||Object(Yt.isNullOrUndefined)(this.av.minmaxarray)||Object(Yt.isNullOrUndefined)(o)){if(Object(Yt.isNullOrUndefined)(l))throw Error("midline is null!");if(Object(Yt.isNullOrUndefined)(n.Pos))throw Error("Pos is null!");if(Object(Yt.isNullOrUndefined)(this.av.minmaxarray))throw Error("MinMax Array is null!");if(Object(Yt.isNullOrUndefined)(o))throw Error("ZoomY is null!")}else for(var u=0;u+i-1){var a=i.transcr.currentlevel.segments.getSegmentBySamplePosition(u),s=i.transcr.currentlevel.segments.get(a);a>-1&&(s.transcript!==i.transcr.break_marker.code?(s.transcript=i.transcr.break_marker.code,i.shortcuttriggered.emit({shortcut:n,value:"set_break",type:"segment"})):(s.transcript="",i.shortcuttriggered.emit({shortcut:n,value:"remove_break",type:"segment"})),i.update(!1),i.drawCursor(i.av.Mousecursor.line),i.transcr.currentlevel.segments.onsegmentchange.emit())}l=!0}break;case"play_selection":if(i.av.focused){i.shortcuttriggered.emit({shortcut:n,value:e,type:"audio"});var u=i.av.audioTCalculator.absXChunktoSamples(i.av.Mousecursor.absX,i.audiochunk),c=i.av.getSegmentSelection(i.av.Mousecursor.timePos.samples);if(c){var a=i.transcr.currentlevel.segments.getSegmentBySamplePosition(u);if(a>-1){var s=i.transcr.currentlevel.segments.get(a);if(i.transcr.currentlevel.segments.getStartTime(a).samples>=i.audiochunk.time.start.samples&&s.time.samples<=i.audiochunk.time.end.samples){var d=i.av.audioTCalculator.samplestoAbsX(i.transcr.currentlevel.segments.get(a).time.samples);i.audiochunk.selection=c.clone(),i.av.drawnselection=c.clone(),i.selchange.emit(i.audiochunk.selection),i.drawSegments();var p=new bl(new Jt(0,i.audioressource.info.samplerate));a>0&&(p=i.transcr.currentlevel.segments.get(a-1));var h=i.av.audioTCalculator.samplestoAbsX(p.time.samples),f=i._innerWidth=i.audiochunk.selection.start.samples&&u<=i.audiochunk.selection.end.samples){i.audiochunk.playposition.samples=i.audiochunk.selection.start.samples,i.changePlayCursorSamples(i.audiochunk.selection.start.samples),i.drawPlayCursorOnly(i.av.LastLine);var m=i.subscrmanager.add(i.audiochunk.statechange.subscribe(function(e){e===rl.STOPPED&&(i.audiochunk.selection=c.clone(),i.playSelection(),i.subscrmanager.remove(m))},function(e){console.error(e)}));i.audiochunk.stopPlayback()}i.Settings.multi_line||i.segmententer.emit({index:a,pos:{Y1:f,Y2:g}})}else i.alerttriggered.emit({type:"error",message:i.langService.instant("segment invisible")})}}l=!0}break;case"segment_enter":if(i.Settings.boundaries.enabled&&!i.Settings.boundaries.readonly&&i.focused){i.shortcuttriggered.emit({shortcut:n,value:e,type:"segment"});var v=i.transcr.currentlevel.segments.getSegmentBySamplePosition(i.av.Mousecursor.timePos.samples);i.selectSegment(v,function(e,n){i.focused=!1,i.segmententer.emit({index:v,pos:{Y1:e,Y2:n}})},function(){i.alerttriggered.emit({type:"error",message:i.langService.instant("segment invisible")})}),l=!0}break;case"cursor_left":i.av.focused&&(i.shortcuttriggered.emit({shortcut:n,value:e,type:"mouse"}),i.av.moveCursor("left",i.Settings.step_width_ratio*i.audioressource.info.samplerate),i.drawCursor(i.av.LastLine),i.mousecursorchange.emit(i.av.Mousecursor),l=!0);break;case"cursor_right":i.av.focused&&(i.shortcuttriggered.emit({shortcut:n,value:e,type:"mouse"}),i.av.moveCursor("right",i.Settings.step_width_ratio*i.audioressource.info.samplerate),i.drawCursor(i.av.LastLine),i.mousecursorchange.emit(i.av.Mousecursor),l=!0);break;case"playonhover":i.av.focused&&!i.Settings.boundaries.readonly&&(i.shortcuttriggered.emit({shortcut:n,value:e,type:"option"}),l=!0)}if(l)return"break"}}}(r))break}l&&e.event.preventDefault()}}},this.playSelection=function(){var e=function(){i.audiochunk.updatePlayPosition(),i.anim.requestFrame(i.drawPlayCursor)};return i.audiochunk.startPlayback(e)},this.onAudioChunkStateChange=function(){i.audiomanager.replay&&i.audiochunk.isPlaybackEnded?(i.audiochunk.playposition=i.audiochunk.time.start.clone(),i.playSelection()):i.audiochunk.isPlaybackEnded&&(i.audiomanager.stepbackward?(i.av.PlayCursor.changeSamples(i.audiochunk.lastplayedpos.samples,i.av.audioTCalculator,i.audiochunk),i.startPlayback()):(i.audiochunk.playposition=i.audiochunk.selection.start.clone(),i.av.drawnselection=i.av.drawnselection.clone(),i.drawSegments())),i.audiochunk.isPlayBackStopped&&i.audiomanager.stepbackward&&(i.av.PlayCursor.changeSamples(i.audiochunk.playposition.samples,i.av.audioTCalculator,i.audiochunk),i.startPlayback()),i.drawPlayCursor(),i.audiomanager.stepbackward=!1,i.audiomanager.paused=!1},this.drawPlayCursor=function(){var e=i.av.audioTCalculator.samplestoAbsX(i.audiochunk.playposition.samples-i.audiochunk.time.start.samples),n=i.av.audioTCalculator.samplestoAbsX(i.audiochunk.time.end.samples-i.audiochunk.time.start.samples);e=Math.min(e,n-1),i.changePlayCursorAbsX(e);var t=i.av.getLineByAbsX(i.av.PlayCursor.absX,i._innerWidth);t&&(i.drawPlayCursorOnly(t),i.av.LastLine=t)},this.drawPlayCursorOnly=function(e){if(e){var n=i.Settings.playcursor.width,t=i.av.PlayCursor.absX-e.number*i._innerWidth,l=e.Pos.y-i._viewRect.y;i.p_context.clearRect(0,0,i._viewRect.w,i._viewRect.h),e.number>=i._viewRect.lines.start&&e.number<=i._viewRect.lines.end&&t<=e.Size.width+i.Settings.margin.left&&(i.p_context.strokeStyle=i.Settings.playcursor.color,i.p_context.beginPath(),i.p_context.moveTo(t,l+1),i.p_context.lineTo(t,l+e.Size.height-1),i.p_context.globalAlpha=.3,i.p_context.lineWidth=n,i.p_context.stroke(),i.p_context.strokeStyle="rgb(0,0,0)",i.p_context.globalAlpha=1,i.p_context.beginPath(),i.p_context.moveTo(t,l+1),i.p_context.lineTo(t,l+e.Size.height-1),i.p_context.lineWidth=1,i.p_context.stroke())}},this.changePlayCursorAbsX=function(e){i.av.PlayCursor.changeAbsX(e,i.av.audioTCalculator,i.av.AudioPxWidth,i.audiochunk),i.playcursorchange.emit(i.av.PlayCursor)},this.changePlayCursorSamples=function(e,n){i.av.PlayCursor.changeSamples(e,i.av.audioTCalculator,n),i.playcursorchange.emit(i.av.PlayCursor)},this.drawTimeLine=function(){if(this.Settings.timeline.enabled&&this.av.LinesArray.length>0&&this.audiochunk.time.start.samples>0&&this.av.AudioPxWidth>0){var e=this.g_context.measureText(this.getmaxString(Math.round(100*this.audiochunk.time.duration.seconds)/100,2)).width+12;e/=this.Settings.multi_line?this.Settings.pixel_per_sec:this.av.audioTCalculator.samplestoAbsX(this.av.audioTCalculator.secondsToSamples(1),this.av.DurTime);var n=this.av.audioTCalculator.secondsToSamples(e);e=this.av.audioTCalculator.samplestoAbsX(n,this.audiochunk.time.duration),n=this.av.audioTCalculator.absXChunktoSamples(e,this.audiochunk),n-=this.audiochunk.time.start.samples;var t=this.av.audioTCalculator.samplesToSeconds(n);t=Math.round(100*t)/100,n=this.av.audioTCalculator.secondsToSamples(t),e=this.av.audioTCalculator.samplestoAbsX(n,this.audiochunk.time.duration);var l=this.av.AudioPxWidth/e,i=this.audiochunk.time.start;this.g_context.font=this.Settings.timeline.fontWeight+" "+this.Settings.timeline.fontSize+"px "+this.Settings.timeline.font,this.g_context.fillStyle=this.Settings.timeline.foreColor;var r=0;if(Number.isFinite(l)){this.g_context.strokeStyle="black";for(var o=0;ol?l:t,o=0;t>-1&&l>-1&&(o=Math.abs(l-t)),i.o_context.globalAlpha=.2,(t<1||t>e.Size.width)&&(r=1),l<1&&(o=0),(l<1||l>e.Size.width)&&(o=l),o>0&&(i.o_context.fillStyle=i.Settings.selection.color,i.o_context.fillRect(e.Pos.x+r,e.Pos.y-i._viewRect.y,o,i.Settings.lineheight)),i.o_context.globalAlpha=1}}},this.av.initializeSettings(),this.subscrmanager=new ol,this.subscrmanager.add(this.keyMap.onkeydown.subscribe(this.onKeyDown))}return Object.defineProperty(e.prototype,"initialized",{get:function(){return this._initialized},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"viewRect",{get:function(){return this._viewRect},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerWidth",{get:function(){return this._innerWidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pos_time",{get:function(){return this.av.PlayCursor.time_pos.samples},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"round_values",{get:function(){return this.Settings.round_values},set:function(e){this.Settings.round_values=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"Chunk",{get:function(){return this.audiochunk},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"focused",{get:function(){return this.av.focused},set:function(e){this.av.focused=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"MouseCursor",{get:function(){return this.av.Mousecursor},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"deactivate_shortcuts",{get:function(){return this._deactivate_shortcuts},set:function(e){this._deactivate_shortcuts=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"Settings",{get:function(){return this.av.Settings},set:function(e){this.av.Settings=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"AudioPxWidth",{get:function(){return this.av.AudioPxWidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selection",{get:function(){return this.audiochunk.selection},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"PlayCursor",{get:function(){return this.av.PlayCursor},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"audiomanager",{get:function(){return this.audiochunk.audiomanager},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"audioressource",{get:function(){return this.audiochunk.audiomanager.ressource},enumerable:!0,configurable:!0}),e.prototype.getmaxString=function(e,n){for(var t="",l=e;l>1;l/=10)t+="9";n>0&&(t+=".");for(var l=0;l0&&!Object(Yt.isNullOrUndefined)(n)&&(n.globalAlpha=1,n.save(),n.beginPath(),n.arc(this._innerWidth/2,this.height/2,this._innerWidth/2,0,2*Math.PI,!1),n.closePath(),n.clip(),this.m_context.globalAlpha=1,this.m_context.save(),this.m_context.beginPath(),this.m_context.arc(this._innerWidth/2,this.height/2,this._innerWidth/2,0,2*Math.PI,!1),this.m_context.closePath(),this.m_context.clip())}},e.prototype.updateCanvasSizes=function(){this.width=Number(this.aview.elementRef.nativeElement.clientWidth),this._innerWidth=Number(this.width-this.Settings.margin.left-this.Settings.margin.right);var e=this.aview.elementRef.nativeElement.clientHeight;this.av.updateLines(this._innerWidth),this.graphicscanRef.changeAttr("width",this.width.toString()),this.mousecanRef.changeAttr("width",this.width.toString()),this.overlaynacRef.changeAttr("width",this.width.toString()),this.playcanRef.changeAttr("width",this.width.toString()),this.Settings.multi_line?this.height=this.Settings.margin.top+(this.Settings.lineheight+this.Settings.margin.bottom)*this.av.LinesArray.length:this.height=e,this._viewRect.w=this.width,this._viewRect.h=e,this.playcanRef.changeAttr("height",e.toString()),this.graphicscanRef.changeAttr("height",e.toString()),this.mousecanRef.changeAttr("height",e.toString()),this.overlaynacRef.changeAttr("height",e.toString())},e.prototype.drawGrid=function(e,n,t){var l=this.Settings.timeline.enabled?this.Settings.timeline.height:0,i=Math.round(this._innerWidth/n),r=Math.round((this.Settings.lineheight-l)/e);this.g_context.beginPath(),this.g_context.strokeStyle=this.Settings.grid.color;for(var o=Math.round(i/2);o0&&(this.g_context.moveTo(0,0),this.g_context.beginPath(),this.g_context.arc(e,e,e-2,0,2*Math.PI,!1),this.g_context.strokeStyle="black",this.g_context.lineWidth=3,this.g_context.stroke())},e.prototype.drawCursor=function(e){e&&(this.m_context.clearRect(0,0,this._viewRect.w,this._viewRect.h),this.m_context.globalAlpha=1,this.m_context.strokeStyle=this.Settings.cursor.color,this.m_context.beginPath(),this.m_context.moveTo(this.av.Mousecursor.relPos.x,e.Pos.y-this._viewRect.y),this.m_context.lineTo(this.av.Mousecursor.relPos.x,e.Pos.y-this._viewRect.y+this.Settings.lineheight-1),this.m_context.stroke())},e.prototype.drawSegments=function(e){void 0===e&&(e=null),this.o_context.fillStyle="white",this.o_context.globalAlpha=1;var n=0,t=0,l=0,i=0;if(Object(Yt.isNullOrUndefined)(e)){if(l++,this.o_context.clearRect(0,0,this._viewRect.w,this._viewRect.h),this.Settings.boundaries.enabled&&this.transcr.currentlevel.segments.length>0){var r=this.transcr.currentlevel.segments.getSegmentsOfRange(this.audiochunk.time.start.samples,this.audiochunk.time.end.samples);this.o_context.globalAlpha=1;for(var o=0;o0&&(c=r[o-1]);var d=this.av.audioTCalculator.samplestoAbsX(c.time.samples),p=this._innerWidth=this._viewRect.lines.start&&h<=this._viewRect.lines.end||p>=this._viewRect.lines.start&&h>=this._viewRect.lines.end||p<=this._viewRect.lines.start&&h>=this._viewRect.lines.end)&&(u.time.samples>=this.audiochunk.time.start.samples&&u.time.samples<=this.audiochunk.time.end.samples||c.time.samples>=this.audiochunk.time.start.samples&&c.time.samples<=this.audiochunk.time.end.samples||c.time.samplesthis.audiochunk.time.end.samples))for(var f=Math.max(p,this._viewRect.lines.start);f<=Math.min(h,this._viewRect.lines.end);f++){var g=this.av.LinesArray[f];if(g){var m=g.Size.height,v=0;v=s%this._innerWidth+this.Settings.margin.left;var b=this.av.getRelativeSelectionByLine(g,c.time.samples,r[o].time.samples,this._innerWidth),y=0,_=b.start;b.start>-1&&b.end>-1&&(y=Math.abs(b.end-b.start)),(b.start<1||b.start>g.Size.width)&&(_=1),b.end<1&&(y=0),(b.end<1||b.end>g.Size.width)&&(y=b.end),""===u.transcript?(this.o_context.globalAlpha=.2,this.o_context.fillStyle="red"):u.transcript===this.transcr.break_marker.code?(this.o_context.globalAlpha=.2,this.o_context.fillStyle="blue"):""!==u.transcript&&(this.o_context.globalAlpha=.2,this.o_context.fillStyle="green"),n++,this.o_context.fillRect(_+this.Settings.margin.left-1,g.Pos.y-this._viewRect.y,y,m)}}else if(h>this._viewRect.lines.end+2)break;var w=this.av.LinesArray[h];if(h>=this._viewRect.lines.start&&h<=this._viewRect.lines.end&&!Object(Yt.isNullOrUndefined)(w)&&u.time.samples!==this.audioressource.info.duration.samples){var m=w.Size.height,v=0;v=this.Settings.multi_line?s%this._innerWidth+this.Settings.margin.left:s+this.Settings.margin.left,this.o_context.globalAlpha=.5,this.o_context.beginPath(),this.o_context.strokeStyle=this.Settings.boundaries.color,this.o_context.lineWidth=this.Settings.boundaries.width,this.o_context.moveTo(v,w.Pos.y-this._viewRect.y),this.o_context.lineTo(v,w.Pos.y-this._viewRect.y+m),this.o_context.stroke(),t++}}}if(!Object(Yt.isNullOrUndefined)(this.av.drawnselection))for(var S=this.av.audioTCalculator.samplestoAbsX(this.av.drawnselection.start.samples),k=this.av.audioTCalculator.samplestoAbsX(this.av.drawnselection.end.samples),p=this._innerWidth0?this.av.LinesArray[e.number-1]:e,x=e.number0&&(c=r[o-1]),c.time.samples>=j.samples&&u.time.samples<=T.samples||c.time.samples=j.samples||c.time.samples>=j.samples&&c.time.samples<=T.samples&&u.time.samples>T.samples||c.time.samplesT.samples){for(var I=O.number,E=x.number,f=I;f<=E;f++){var A=this.av.LinesArray[f],m=A.Size.height,v=0;v=s%this._innerWidth+this.Settings.margin.left;var b=this.av.getRelativeSelectionByLine(A,c.time.samples,r[o].time.samples,this._innerWidth),y=0,_=b.start;b.start>-1&&b.end>-1&&(y=Math.abs(b.end-b.start)),(b.start<1||b.start>A.Size.width)&&(_=1),b.end<1&&(y=0),(b.end<1||b.end>A.Size.width)&&(y=b.end),""===u.transcript?(this.o_context.globalAlpha=.2,this.o_context.fillStyle="red"):u.transcript===this.transcr.break_marker.code?(this.o_context.globalAlpha=.2,this.o_context.fillStyle="blue"):""!==u.transcript&&(this.o_context.globalAlpha=.2,this.o_context.fillStyle="green"),n++,this.o_context.fillRect(_+this.Settings.margin.left-1,A.Pos.y-this._viewRect.y,y,m)}var D=this._innerWidth=I&&D<=E){var m=w.Size.height,v=0;v=this.Settings.multi_line?s%this._innerWidth+this.Settings.margin.left:s+this.Settings.margin.left,this.o_context.globalAlpha=.5,this.o_context.beginPath(),this.o_context.strokeStyle=this.Settings.boundaries.color,this.o_context.lineWidth=this.Settings.boundaries.width,this.o_context.moveTo(v,w.Pos.y-this._viewRect.y),this.o_context.lineTo(v,w.Pos.y-this._viewRect.y+m),this.o_context.stroke(),t++}}}for(var p=O.number,h=x.number,f=p;f<=h;f++){var w=this.av.LinesArray[f];this.drawSelection(w),i++}}this.drawTimeLine();var L=new Rl("draw segments");L.addEntry("log","cleared: "+l),L.addEntry("log","drawn_areas: "+n),L.addEntry("log","drawn_boundaries: "+t),L.addEntry("log","drawn_selection: "+i)},e.prototype.onClick=function(e){var n=this,t=e.offsetX||e.pageX-jQuery(e.target).offset().left,l=(e.offsetY||e.pageY-jQuery(e.target).offset().left)+this._viewRect.y,i=this.av.getLineByMousePosition(t,l);i&&this.Settings.selection.enabled&&(this.av.setMouseClickPosition(t,l,i,e,this._innerWidth,this).then(function(e){n.drawPlayCursorOnly(e)}),this.drawCursor(this.av.LastLine),"mousedown"!==e.type&&this.selchange.emit(this.audiochunk.selection))},e.prototype.stopPlayback=function(){return this.audiochunk.stopPlayback()},e.prototype.pausePlayback=function(){this.audiochunk.pausePlayback()},e.prototype.startPlayback=function(){return!this.audiochunk.isPlaying&&this.av.MouseClickPos.absX0){var t=e.av.getLineByAbsX(e.av.PlayCursor.absX,e._innerWidth);t&&e.drawPlayCursorOnly(t)}},100),this.resizing=!1},e.prototype.getLocation=function(){var e=this.aview.elementRef.nativeElement.getBoundingClientRect();return{x:e.left,y:e.top}},e.prototype.selectSegment=function(e,n,t){if(void 0===n&&(n=function(){}),void 0===t&&(t=function(){}),e>-1){var l=this.transcr.currentlevel.segments.get(e);if(this.transcr.currentlevel.segments.getStartTime(e).samples>=this.audiochunk.time.start.samples&&l.time.samples<=this.audiochunk.time.end.samples){var i=this.av.audioTCalculator.samplestoAbsX(this.transcr.currentlevel.segments.get(e).time.samples),r=new bl(new Jt(0,this.audioressource.info.samplerate));e>0&&(r=this.transcr.currentlevel.segments.get(e-1));var o=this.av.audioTCalculator.samplestoAbsX(r.time.samples),u=this._innerWidth=this.viewRect.h&&("mac"===nl.os?this._viewRect.y=Math.max(0,this._viewRect.y-e.deltaY):this._viewRect.y=Math.max(0,this._viewRect.y+e.deltaY),this.scrollTo(this._viewRect.y))},e.prototype.scrollTo=function(e,n){var t=this;void 0===n&&(n=!1),this.height>=this.viewRect.h&&(this.scrolling.emit({state:"scrolling"}),this._viewRect.y=Math.max(0,e),this._viewRect.y=Math.min(this._viewRect.y,this.height-this._viewRect.h),this.updateVisibleLines(),Object(Yt.isNullOrUndefined)(this.wheeling)||window.clearTimeout(this.wheeling),this.wheeling=setTimeout(function(){n||t.scrolling.emit({state:"stopped"}),t.update(!1)},20))},e.prototype.onSliderChanged=function(e){this.height>=this.viewRect.h&&("mousemove"===e.type?this.scrollbar.dragging&&this.scrollTo(e.layerY/this._viewRect.h*this.height,!0):"mousedown"===e.type?this.scrollbar.dragging=!0:"mouseup"===e.type||"mouseleave"===e.type||"mouseout"===e.type?(this.scrolling.emit({state:"stopped"}),this.scrollbar.dragging=!1):"click"===e.type&&(this.scrollbar.dragging||this.scrollTo(e.layerY/this._viewRect.h*this.height,!1),this.scrollbar.dragging=!1))},e.ctorParameters=function(){return[{type:Ji},{type:Fi},{type:vi},{type:Ht.c}]},e}(),er=function(){function e(e,n){this.elementRef=e,this.renderer=n}return e.prototype.changeStyle=function(e,n){this.renderer.setElementStyle(this.elementRef.nativeElement,e,n)},e.prototype.changeAttr=function(e,n){this.renderer.setElementAttribute(this.elementRef.nativeElement,e,n)},e.ctorParameters=function(){return[{type:Wt.ElementRef},{type:Wt.Renderer}]},e}(),nr=function(){function e(){this.pos={x:0,y:0},this.initialized=!1,this.height=80,this.width=80}return Object.defineProperty(e.prototype,"zoomY",{get:function(){return this.loupe.zoomY},set:function(e){this.loupe.zoomY=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"Settings",{get:function(){return this.loupe.Settings},set:function(e){this.loupe.Settings=e},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){e.hasOwnProperty("height")&&(Object(Yt.isNullOrUndefined)(this.loupe)||(this.loupe.Settings.lineheight=e.height.currentValue,(Object(Yt.isNullOrUndefined)(this.loupe.Settings.lineheight)||this.loupe.Settings.lineheight<1)&&(this.loupe.Settings.lineheight=80),this.initialized&&this.loupe.update()))},e.prototype.ngAfterViewInit=function(){this.loupe.Settings.multi_line=!1,this.loupe.Settings.justify_signal_height=!1,this.loupe.Settings.boundaries.enabled=!0,this.loupe.Settings.disabled_keys=[],this.loupe.Settings.type="line",this.loupe.Settings.backgroundcolor="white",this.loupe.Settings.frame.color="transparent",this.loupe.Settings.cropping="circle",this.loupe.Settings.margin.left=0,this.loupe.Settings.margin.top=0,this.loupe.Settings.margin.right=0,this.loupe.Settings.margin.bottom=0,this.loupe.Settings.lineheight=this.height,this.loupe.Settings.selection.enabled=!1,this.loupe.Settings.shortcuts_enabled=!1,this.loupe.Settings.boundaries.enabled=!0,this.loupe.Settings.timeline.enabled=!1,this.loupe.viewer.round_values=!1,this.loupe.name="circleloupe",this.loupe.update(),this.initialized=!0},e.prototype.updateSegments=function(){this.loupe.update()},e.ctorParameters=function(){return[]},e}(),tr=function(){function e(){this.mousecursorchange=new Wt.EventEmitter,this.shortcuttriggered=new Wt.EventEmitter,this.segmententer=new Wt.EventEmitter,this.alerttriggered=new Wt.EventEmitter,this.pos={x:0,y:0},this.subscrmanager=new ol}return Object.defineProperty(e.prototype,"zoomY",{get:function(){return this.viewer.av.zoomY},set:function(e){this.viewer.av.zoomY=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"focused",{get:function(){return this.viewer.focused},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"MouseCursor",{get:function(){return this.viewer.MouseCursor},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"margin",{get:function(){return this.viewer.margin},set:function(e){this.viewer.margin=e},enumerable:!0,configurable:!0}),e.prototype.getLocation=function(){var e=this.loupe.nativeElement.getBoundingClientRect();return{x:e.left,y:e.top}},Object.defineProperty(e.prototype,"Settings",{get:function(){return this.viewer.Settings},set:function(e){this.viewer.Settings=e},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){},e.prototype.ngOnInit=function(){if(Object(Yt.isNullOrUndefined)(this.height))throw new Error("you have to set [height] to the loupe component");this.viewer.Settings.multi_line=!1,this.viewer.Settings.lineheight=this.height,this.viewer.Settings.justify_signal_height=!0,this.viewer.Settings.boundaries.enabled=!0,this.viewer.Settings.disabled_keys=[],this.viewer.Settings.type="line"},e.prototype.ngAfterViewInit=function(){var e=this;this.subscrmanager.add(this.viewer.mousecursorchange.subscribe(function(n){e.mousecursorchange.emit(n)})),this.subscrmanager.add(this.viewer.shortcuttriggered.subscribe(function(n){e.shortcuttriggered.emit(n)})),this.subscrmanager.add(this.viewer.segmententer.subscribe(function(n){e.segmententer.emit(n)}))},e.prototype.ngOnDestroy=function(){this.subscrmanager.destroy()},e.prototype.updateSegments=function(){this.viewer.drawSegments()},e.prototype.update=function(){this.viewer.name=this.name,this.viewer.update(!0)},e.prototype.onButtonClick=function(e){switch(e.type){case"play":this.viewer.startPlayback();break;case"pause":this.viewer.pausePlayback();break;case"stop":this.viewer.stopPlayback();break;case"replay":this.viewer.rePlayback();break;case"backward":this.viewer.stepBackward();break;case"backward time":this.viewer.stepBackwardTime(.5)}},e.prototype.selectSegment=function(e){this.viewer.selectSegment(e)},e.ctorParameters=function(){return[]},e}(),lr=function(){function e(){this.Settings={markers:[],disabled_keys:["ENTER","SHIFT + ENTER","TAB"],height:300,responsive:!1,special_markers:{boundary:!1}}}return e}(),ir=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])};return function(n,t){function l(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}}(),rr=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return ir(n,e),n.prototype.validate=function(e,n){var t="TranscrEditorConfig Validation - ";switch(e){case"height":if("number"==typeof n&&n>0)break;return{success:!1,error:t+"value of key '"+e+"' must be of type number greater 0"};case"disabled_keys":var l=!0;if(Object(Yt.isArray)(n)){for(var i=0;i"+e+"
";var n=jQuery(e),t=function(e,n){if(null!==jQuery(n).children()&&jQuery(n).children().length>0)jQuery.each(jQuery(n).children(),t);else{var i=jQuery(n).attr("data-marker-code");if("select-one"===n.type){i+="="+jQuery(n).attr("data-value")}if(i)for(var r=0;r","").replace("","").replace(new RegExp("\\[\\|","g"),"{").replace(new RegExp("\\|\\]","g"),"}");t=""+l.rawToHTML(t)+"";var i=jQuery(t);Object(Yt.isNullOrUndefined)(l.rawText)||""===l._rawText?l.textfield.summernote("code",t):l.textfield.summernote("editor.insertNode",i[0]),l.updateTextField(),l.initPopover()},onChange:function(){l.init++,1===l.init?l.focus(!0):l.init>1&&l.textfield.summernote("restoreRange")},onBlur:function(){l.focused=!1},onFocus:function(){l.focused=!0},onMouseup:function(){l.selectionchanged.emit(l.caretpos)}}}),l.textfield.summernote("removeModule","statusbar"),l.textfield.summernote("removeModule","handle"),l.textfield.summernote("removeModule","hintPopover"),l.textfield.summernote("removeModule","imageDialog"),l.textfield.summernote("removeModule","airPopover"),l.segpopover=jQuery("").addClass("panel").addClass("seg-popover").html("00:00:000"),l.segpopover.insertBefore(".note-editing-area"),l.loaded.emit(!0)},this.insertMarker=function(e,n){var t=document.createElement("img");t.setAttribute("src",n),t.setAttribute("class","btn-icon-text"),t.setAttribute("style","height:16px"),t.setAttribute("data-marker-code",e),t.setAttribute("alt",e),this.textfield.summernote("editor.insertNode",t),this.updateTextField()},this.onKeyDownSummernote=function(e){var n=sl.getShortcutCombination(e),t=nl.platform;if(""!==n)if(l.isDisabledKey(n))e.preventDefault();else if("ALT + S"===n&&l.Settings.special_markers.boundary)l.insertBoundary("assets/img/components/transcr-editor/boundary.png"),l.boundaryinserted.emit(l.audiochunk.playposition.samples),e.preventDefault();else for(var i=0;i=700&&(l._is_typing&&l.focused&&l.typing.emit("stopped"),l._is_typing=!1)},700),!l._is_typing&&l.focused&&l.typing.emit("started"),l._is_typing=!0,l.lastkeypress=Date.now()},this.focus=function(e){void 0===e&&(e=!1);var n=function(){try{""!==l.rawText&&"
"!==l.html&&al.placeAtEnd(jQuery(".note-editable.panel-body")[0]),l.textfield.summernote("focus")}catch(e){}};e?setTimeout(function(){n()},300):n()},this._settings=(new lr).Settings,this.subscrmanager=new ol,this.validateConfig()}return Object.defineProperty(e.prototype,"summernote",{get:function(){return this.textfield.summernote},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"caretpos",{get:function(){return this.focused?jQuery(".note-editable.panel-body:eq(0)").caret("pos"):-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rawText",{get:function(){return this.tidyUpRaw(this._rawText)},set:function(e){this._rawText=this.tidyUpRaw(e),this.init=0;var n=this.rawToHTML(this._rawText);this.textfield.summernote("code",n),this.initPopover()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"audiomanager",{get:function(){return this.audiochunk.audiomanager},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"segments",{set:function(e){for(var n="",t=0;t":(l=" "+e.button_text+" ["+e.shortcut[t]+"]",n.Settings.responsive&&(l=" "+e.button_text+" ["+e.shortcut[t]+"]"));var i={contents:l,tooltip:e.description,click:function(){n.insertMarker(e.code,e.icon_url),n.marker_click.emit(e.name)}};return jQuery.summernote.ui.button(i).render()}},e.prototype.initPopover=function(){var e=this;jQuery(".btn-icon-text[data-samples]").off("click"),setTimeout(function(){jQuery(".btn-icon-text[data-samples]").on("click",function(n){var t=jQuery(n.target),l=t.attr("data-samples");Object(ur.isNumeric)(l)&&e.boundaryclicked.emit(Number(l))}).on("mouseover",function(n){var t=jQuery(n.target),l=jQuery(".seg-popover"),i=l.width(),r=l.height(),o=jQuery(".note-toolbar.panel-heading").offset(),u=t.attr("data-samples");if(!Object(Yt.isNullOrUndefined)(u)&&al.isNumber(u)){var a=Number(u),s=new Jt(a,e.audiomanager.ressource.info.samplerate);l.css({"margin-left":n.target.offsetLeft-i/2+"px","margin-top":t.offset().top-o.top-r-10+"px",display:"inherit"}),t.css({cursor:"pointer"});var c=new or,d=c.transform(s.unix.toString());l.text(d)}}).on("mouseleave",function(){jQuery(".seg-popover").css({display:"none"})})},200)},e.prototype.createCustomButtonsArray=function(){var e=this,n=[],t=function(){var n=e.langService.instant("special_markers.boundary.insert",{type:""}),t=e.langService.instant("special_markers.boundary.description",{type:""}),l="";e.easymode?l="":(l=" "+n+" [ALT + S]",e.Settings.responsive&&(l=" "+n+" [ALT + S]"));var i={contents:l,tooltip:t,click:function(){e.marker_click.emit("boundary"),e.insertBoundary("assets/img/components/transcr-editor/boundary.png")}};return jQuery.summernote.ui.button(i).render()};return n.push(t),n},e.prototype.insertBoundary=function(e){var n=this,t=document.createElement("img");t.setAttribute("src",e),t.setAttribute("class","btn-icon-text boundary"),t.setAttribute("style","height:16px"),t.setAttribute("data-samples",this.audiochunk.playposition.samples.toString()),t.setAttribute("alt","[|"+this.audiochunk.playposition.samples.toString()+"|]"),this.textfield.summernote("editor.insertText"," "),this.textfield.summernote("editor.insertNode",t),this.textfield.summernote("editor.insertText"," "),setTimeout(function(){jQuery(t).on("click",function(e){var t=jQuery(e.target),l=t.attr("data-samples");Object(ur.isNumeric)(l)&&n.boundaryclicked.emit(Number(l))}).on("mouseover",function(e){var t=jQuery(e.target),l=jQuery(".seg-popover"),i=l.width(),r=l.height(),o=jQuery(".note-toolbar.panel-heading").offset(),u=t.attr("data-samples");if(!Object(Yt.isNullOrUndefined)(u)&&al.isNumber(u)){var a=Number(u),s=new Jt(a,n.audiomanager.ressource.info.samplerate);l.css({"margin-left":e.target.offsetLeft-i/2+"px","margin-top":t.offset().top-o.top-r-10+"px",display:"inherit"}),t.css({cursor:"pointer"});var c=new or,d=c.transform(s.unix.toString());l.text(d)}}).on("mouseleave",function(){jQuery(".seg-popover").css({display:"none"})})},200),this.updateTextField()},e.prototype.updateTextField=function(){this._rawText=this.getRawText()},e.prototype.isDisabledKey=function(e){for(var n=0;n-1},e.prototype.rawToHTML=function(e){var n=e;if(""!==e){n=n.replace(/\r?\n/g," ");for(var t=this,l=0;l"+o},u=function(e,n){return" "};n=n.replace(r,u),n=n.replace(i,o)}(l);n=n.replace(/\s+$/g," ")}return n=""!==n?""+n+"
":"
"},e.prototype.tidyUpRaw=function(e){return tidyUpAnnotation(e,this.transcrService.guidelines)},e.prototype.validateConfig=function(){var e=new rr,n=e.validateObject(this._settings);if(!n.success)throw new Error(n.error)},e.prototype.saveRange=function(){this.textfield.summernote("saveRange")},e.prototype.restoreRange=function(){this.textfield.summernote("restoreRange")},e.prototype.getSegmentByCaretPos=function(e){for(var n=this.getRawText(),t=/{([0-9]+)}/g,l=0;l1){if(0===e)return 0;if(e>=n.replace(/\s?{([0-9]+)}\s?/g," ").length)return u.length-1;for(var l=0;l=e)return Math.max(0,l-1);a+=s.length-1}if(a>=e)return u.length-1}return-1},e.ctorParameters=function(){return[{type:Wt.ChangeDetectorRef},{type:Ht.c},{type:Fi}]},e}(),sr=function(){function e(e,n){var t=this;this.cd=e,this.msgService=n,this.state="inactive",this.text="",this.type="error",this.show=!1,this.showMessage=function(e,n){t.show=!0,t.state="active",t.type=e,t.text=n,t.cd.markForCheck(),setTimeout(function(){t.state="inactive",t.cd.markForCheck()},3e3)},this.subscrmanager=new ol}return e.prototype.ngOnInit=function(){var e=this;this.state="inactive",this.show=!1,this.cd.markForCheck(),this.subscrmanager.add(this.msgService.showmessage.subscribe(function(n){e.showMessage(n.type,n.message)}))},e.prototype.ngOnDestroy=function(){this.subscrmanager.destroy()},e.ctorParameters=function(){return[{type:Wt.ChangeDetectorRef},{type:Bi}]},e}(),cr=function(){function e(){this.innerhtml="",this.height="auto",this.clicklocked=!1,this.afterdrop=new Wt.EventEmitter,this.fileAPIsupported=!1,this._files=null,this.old_files=null}return Object.defineProperty(e.prototype,"files",{get:function(){return this._files},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sessionfile",{get:function(){return this._sessionfile},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){window.File&&window.FileReader&&window.FileList&&window.Blob&&(this.fileAPIsupported=!0)},e.prototype.onDragOver=function(e){e.stopPropagation(),e.preventDefault(),e.dataTransfer.dropEffect="copy"},e.prototype.onFileDrop=function(e){if(e.stopPropagation(),e.preventDefault(),this.fileAPIsupported){var n=e.dataTransfer.files;this._files=n,this.afterdrop.emit(this._files)}},e.prototype.onClick=function(e){this.clicklocked||(this.fileinput.nativeElement.click(),e.target.files===this._files&&this.afterdrop.emit(this._files))},e.prototype.onFileChange=function(e){var n=e.target.files;this._files=n,this.afterdrop.emit(this._files)},e.ctorParameters=function(){return[]},e}();!function(e){e[e.LOG=0]="LOG",e[e.INFO=1]="INFO",e[e.WARN=2]="WARN",e[e.ERROR=3]="ERROR"}(Li||(Li={}));var dr=function(){function e(e,n,t,l){this.langService=e,this.appStorage=n,this.settService=t,this.http=l,this._console=[]}return Object.defineProperty(e.prototype,"console",{get:function(){return this._console},enumerable:!0,configurable:!0}),e.prototype.init=function(e){this.transcrService=e},e.prototype.addEntry=function(e,n){var t={type:e,message:n};this._console.push(t)},e.prototype.clear=function(){this._console=[]},e.prototype.getPackage=function(){var e={octra:{version:hi.version,language:this.langService.currentLang,signed_in:this.appStorage.logged_in,dataid:this.appStorage.data_id,localmode:this.appStorage.uselocalmode},system:{os:{name:nl.os.family,version:nl.os.version},browser:nl.browser+" "+nl.version,version:nl.os.version},entries:this._console};if(!Object(Yt.isNullOrUndefined)(this.transcrService)){var n=al.getFileSize(this.transcrService.audiofile.size);e.octra.audiofile_size=n.size+" "+n.label,e.octra.audiofile_duration=this.transcrService.audiomanager.ressource.info.duration.seconds,e.octra.audiofile_samplerate=this.transcrService.audiofile.samplerate,e.octra.audiofile_bitrate=this.transcrService.audiomanager.ressource.info.bitrate,e.octra.audiofile_channels=this.transcrService.audiomanager.ressource.info.channels,e.octra.audiofile_type=this.transcrService.audiomanager.ressource.extension,e.octra.levels=this.transcrService.annotation.levels.length,e.octra.currentlevel=this.transcrService.selectedlevel,e.octra.segments=this.transcrService.currentlevel.segments.length}return e},e.prototype.getText=function(){for(var e=this.settService.app_settings.octra.bugreport,n=0;n0?this.valid_platform=this.browser_check.isValidBrowser(this.apc.octra.allowed_browsers):this.valid_platform=!0,!1===this.settingsService.responsive.enabled?this.valid_size=window.innerWidth>=this.settingsService.responsive.fixedwidth:this.valid_size=!0;var n=function(){Object(Yt.isNullOrUndefined)(e.appStorage.user)||"-1"===e.appStorage.user.id||(e.member.id=e.appStorage.user.id),!Object(Yt.isNullOrUndefined)(e.appStorage.user)&&e.appStorage.user.hasOwnProperty("project")&&(e.member.project=e.appStorage.user.project),!Object(Yt.isNullOrUndefined)(e.appStorage.user)&&e.appStorage.user.hasOwnProperty("jobno")&&null!==e.appStorage.user.jobno&&e.appStorage.user.jobno>-1&&(e.member.jobno=e.appStorage.user.jobno.toString())};this.appStorage.idbloaded?n():this.subscrmanager.add(this.appStorage.loaded.subscribe(function(){},function(){},function(){n()}))},e.prototype.ngAfterViewInit=function(){this.loadPojectsList()},e.prototype.ngOnDestroy=function(){this.subscrmanager.destroy()},e.prototype.onSubmit=function(e){var n=this,t=!1,l=!1,i=!1;(Object(Yt.isNullOrUndefined)(this.member.jobno)||""===this.member.jobno)&&(this.member.jobno="0"),null!==this.appStorage.sessionfile?t=!0:!Object(Yt.isNullOrUndefined)(this.appStorage.data_id)&&Object(Yt.isNumber)(this.appStorage.data_id)?Object(Yt.isNullOrUndefined)(this.appStorage.user.project)||Object(Yt.isNullOrUndefined)(this.appStorage.user.jobno)||Object(Yt.isNullOrUndefined)(this.appStorage.user.id)||(this.appStorage.user.id===this.member.id&&Number(this.appStorage.user.jobno)===Number(this.member.jobno)&&this.appStorage.user.project===this.member.project?i=!0:l=!0):t=!0,l&&this.setOnlineSessionToFree(function(){n.createNewSession(e)}),t?this.createNewSession(e):i&&this.subscrmanager.add(this.api.fetchAnnotation(this.appStorage.data_id).subscribe(function(t){var l=t.json();if(l.hasOwnProperty("message")){var i=""===l.message?"0":l.message;n.appStorage.sessStr.store("jobs_left",Number(i))}if(e.valid&&n.agreement_checked&&"0"!==l.message){null!==n.appStorage.sessionfile&&n.appStorage.clearLocalStorage();var r=n.appStorage.setSessionData(n.member,l.data.id,l.data.url);""===r.error?n.navigate():alert(r.error)}else n.modService.show("login_invalid")},function(e){return n.modService.show("error","Server cannot be requested. Please check if you are online."),zl.Observable.throw(e)}))},e.prototype.canDeactivate=function(){return this.valid},e.prototype.onResize=function(e){!1===this.settingsService.responsive.enabled?this.valid_size=window.innerWidth>=this.settingsService.responsive.fixedwidth:this.valid_size=!0},e.prototype.getDropzoneFileString=function(e){var n=al.getFileSize(e.size);return al.buildStr("{0} ({1} {2})",[e.name,Math.round(100*n.size)/100,n.label])},e.prototype.getFileStatus=function(){return!Object(Yt.isNullOrUndefined)(this.dropzone.files)&&this.dropzone.files.length>0&&!Object(Yt.isNullOrUndefined)(this.dropzone.oaudiofile)?Object(Yt.isNullOrUndefined)(this.appStorage.sessionfile)||this.dropzone.oaudiofile.name===this.appStorage.sessionfile.name&&Object(Yt.isNullOrUndefined)(this.dropzone.oannotation)?"start":"new":"unknown"},e.prototype.getValidBrowsers=function(){for(var e="",n=0;n0&&(n.appStorage.servertranscipt=t)}if(l.hasOwnProperty("message")){var i=""===l.message?"0":l.message;n.appStorage.sessStr.store("jobs_left",Number(i))}""===e.error?n.navigate():n.modService.show("error",e.error)}).catch(function(e){console.error(e)})):n.modService.show("login_invalid")}))},e.prototype.testFile=function(e,n){var t=new FileReader;t.onload=function(e){},t.readAsText(n),t.readAsText(n,"utf-8")},e.ctorParameters=function(){return[{type:hr.k},{type:Oi},{type:Fl},{type:Wt.ChangeDetectorRef},{type:Ri},{type:mi},{type:Ht.c},{type:fi}]},e}(),vr=function(){function e(e,n,t){this.router=e,this.sessionService=n,this.settingsService=t,this.valid=!1,this.member={id:"",pw:""}}return e.prototype.ngOnInit=function(){var e=this;this.settingsService.clearSettings(),this.sessionService.endSession(this.sessionService.uselocalmode,function(){e.router.navigate(["login"])})},e.ctorParameters=function(){return[{type:hr.k},{type:Oi},{type:Ri}]},e}(),br=function(){function e(e,n){this.router=e,this.settService=n,this.subscrmanager=new ol}return e.ctorParameters=function(){return[{type:hr.k},{type:Ri}]},e}(),yr=function(){function e(e,n,t,l,i,r,o,u){this.transcrService=e,this.keyMap=n,this.audio=t,this.uiService=l,this.cd=i,this.msg=r,this.settingsService=o,this.appStorage=u,this.showWindow=!1,this.loupe_hidden=!0,this.mousestate="initiliazied",this.intervalID=null,this.factor=8,this.miniloupe={size:{width:160,height:160},location:{x:0,y:0}},this.scrolltimer=null,this.shortcuts={},this.subscrmanager=new ol}return Object.defineProperty(e.prototype,"editor",{get:function(){return Object(Yt.isNullOrUndefined)(this.window)?null:this.window.editor},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"getHeight",{get:function(){return window.innerHeight-350},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"app_settings",{get:function(){return this.settingsService.app_settings},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"projectsettings",{get:function(){return this.settingsService.projectsettings},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var n=this;this.audiomanager=this.audio.audiomanagers[0],this.audiochunk_lines=this.audiomanager.mainchunk.clone(),this.audiochunk_loupe=this.audiomanager.mainchunk.clone(),this.audiochunk_window=this.audiomanager.mainchunk.clone(),this.shortcuts=this.keyMap.register("2D-Editor",this.viewer.Settings.shortcuts);var t={jump_left:{keys:{mac:"ALT + ARROWLEFT",pc:"ALT + ARROWLEFT"},focusonly:!1,title:"jump_last_segment"},jump_right:{keys:{mac:"ALT + ARROWRIGHT",pc:"ALT + ARROWRIGHT"},focusonly:!1,title:"jump_next_segment"},close_save:{keys:{mac:"ALT + ARROWDOWN",pc:"ALT + ARROWDOWN"},focusonly:!1,title:"close_save"}};this.keyMap.register("Transcription Window",t),this.viewer.Settings.multi_line=!0,this.viewer.Settings.lineheight=70,this.viewer.Settings.margin.bottom=5,this.viewer.Settings.margin.right=0,this.viewer.Settings.justify_signal_height=!0,this.viewer.Settings.scrollable=!0,this.viewer.Settings.margin.right=20,this.viewer.Settings.round_values=!1,this.viewer.Settings.step_width_ratio=this.viewer.Settings.pixel_per_sec/this.audiomanager.ressource.info.samplerate,this.viewer.alerttriggered.subscribe(function(e){n.msg.showMessage(e.type,e.message)}),this.subscrmanager.add(this.keyMap.onkeydown.subscribe(function(e){var t=e.event;n.viewer.focused&&("+"===t.key?(n.factor=Math.min(20,n.factor+1),n.changeArea(n.loupe,n.miniloupe,n.factor)):"-"===t.key&&n.factor>3&&(n.factor=Math.max(1,n.factor-1),n.changeArea(n.loupe,n.miniloupe,n.factor)))})),this.subscrmanager.add(this.audiochunk_lines.statechange.subscribe(function(e){e===rl.PLAYING?Object(Yt.isNullOrUndefined)(n.appStorage.followplaycursor)||!0!==n.appStorage.followplaycursor||(n.scrolltimer=xi.Observable.interval(1e3).subscribe(function(){var e=n.viewer.av.audioTCalculator.samplestoAbsX(n.audiochunk_lines.playposition.samples),t=Math.floor(e/n.viewer.innerWidth)*n.viewer.Settings.lineheight;(t+=10+Math.floor(e/n.viewer.innerWidth)*n.viewer.Settings.margin.bottom)>n.viewer.viewRect.h&&n.viewer.scrollTo(t)})):null!==n.scrolltimer&&n.scrolltimer.unsubscribe()})),e.initialized.emit()},e.prototype.ngOnChanges=function(e){},e.prototype.ngOnDestroy=function(){clearInterval(this.intervalID),this.subscrmanager.destroy(),null!==this.scrolltimer&&this.scrolltimer.unsubscribe()},e.prototype.ngAfterViewInit=function(){var e=this;this.audiochunk_lines.channel&&this.viewer.initialize(),this.subscrmanager.add(this.transcrService.segmentrequested.subscribe(function(n){e.openSegment(n)})),this.loupe.zoomY=this.factor,this.viewer.update(!0)},e.prototype.ngAfterContentChecked=function(){},e.prototype.onSegmentEntered=function(e){if(this.transcrService.currentlevel.segments&&e.index>-1&&e.index0?this.transcrService.currentlevel.segments.get(e.index-1).time.clone():new Jt(0,this.audiomanager.ressource.info.samplerate);n&&(this.selected_index=e.index,this.audiochunk_window=new ul(new il(t,n.time.clone()),this.audiomanager),this.viewer.deactivate_shortcuts=!0,this.viewer.focused=!1,this.showWindow=!0)}},e.prototype.onWindowAction=function(e){if("close"===e){this.showWindow=!1,this.viewer.deactivate_shortcuts=!1,this.selected_index=this.window.segment_index,this.viewer.selectSegment(this.selected_index),this.viewer.drawSegments();var n=this.transcrService.currentlevel.segments.get(this.selected_index),t=this.viewer.av.audioTCalculator.samplestoAbsX(n.time.samples),l=(jQuery("#special").height(),Math.floor(t/this.viewer.innerWidth)*this.viewer.Settings.lineheight);l+=10+Math.floor(t/this.viewer.innerWidth)*this.viewer.Settings.margin.bottom,al.scrollTo(l,"#special")}},e.prototype.onSegmentSelected=function(e){},e.prototype.onMouseOver=function(){var e=this;Object(Yt.isNullOrUndefined)(this.mouseTimer)||window.clearTimeout(this.mouseTimer),this.mousestate="moving",!this.audiomanager.audioplaying&&this.appStorage.playonhover&&(this.audiochunk_lines.selection.start.samples=this.viewer.av.Mousecursor.timePos.samples,this.audiochunk_lines.selection.end.samples=this.viewer.av.Mousecursor.timePos.samples+this.audiomanager.ressource.info.samplerate/10,this.audiochunk_lines.startPlayback(function(){},!0)),this.changePosition(this.miniloupe),this.mouseTimer=window.setTimeout(function(){e.changeArea(e.loupe,e.miniloupe,e.factor),e.mousestate="ended"},20)},e.prototype.onSegmentChange=function(e){},e.prototype.changeArea=function(e,n,t){var l=this.viewer.MouseCursor;if(l&&l.timePos&&l.relPos){n.location.x=l.relPos.x?l.relPos.x-n.size.width/2:0,n.location.y=l.line?l.line.number*l.line.Size.height+l.line.number*this.viewer.Settings.margin.bottom:0,n.location.y+=this.viewer.Settings.lineheight-15-this.viewer.viewRect.y;var i=Math.round(this.audiomanager.ressource.info.samplerate/t),r=l.timePos.samples>i?new Jt(l.timePos.samples-i,this.audiomanager.ressource.info.samplerate):new Jt(0,this.audiomanager.ressource.info.samplerate),o=l.timePos.samples-1){var l=this.transcrService.currentlevel.segments.get(this.selected_index);t.start=l.time.samples,t.length=this.selected_index-1){var t=this.transcrService.currentlevel.segments.get(this.selected_index);n.start=t.time.samples,n.length=this.selected_index-1){var t=this.transcrService.currentlevel.segments.get(this.selected_index);n.start=t.time.samples,n.length=this.selected_index-1){var l=this.transcrService.currentlevel.segments.get(this.selected_index);t.start=l.time.samples,t.length=this.selected_index3&&(n.factor=Math.max(1,n.factor-1),n.miniloupe.zoomY=Math.max(4,n.factor),n.viewer.focused?n.changeArea(n.audiochunk_loupe,n.viewer,n.mini_loupecoord,n.viewer.MouseCursor.timePos.samples,n.viewer.MouseCursor.relPos.x,n.factor):!Object(Yt.isNullOrUndefined)(n.loupe)&&n.loupe.focused&&n.changeArea(n.audiochunk_loupe,n.loupe.viewer,n.mini_loupecoord,n.viewer.MouseCursor.timePos.samples,n.loupe.MouseCursor.relPos.x,n.factor)))})),e.initialized.emit()},e.prototype.ngOnChanges=function(e){},e.prototype.ngOnDestroy=function(){this.subscrmanager.destroy(),this.keyMap.unregister("AV"),this.keyMap.unregister("Loupe")},e.prototype.onButtonClick=function(e){var n=this.editor.caretpos;switch(this.uiService.addElementFromEvent("mouseclick",{value:e.type},e.timestamp,this.audiomanager.playposition,n,"audio_buttons"),e.type){case"play":this.viewer.startPlayback();break;case"pause":this.viewer.pausePlayback();break;case"stop":this.viewer.stopPlayback();break;case"replay":this.nav.replay=this.viewer.rePlayback();break;case"backward":this.viewer.stepBackward();break;case"backward time":this.viewer.stepBackwardTime(.5)}},e.prototype.ngAfterViewInit=function(){var e=this;this.cd.detectChanges(),this.miniloupe.zoomY=this.factor,this.subscrmanager.add(this.transcrService.segmentrequested.subscribe(function(n){e.openSegment(n)}))},e.prototype.test=function(e){e&&(e.length>0?(e.checkSelection(),this.segmentselected=!1,this.audiochunk_down.destroy(),this.audiochunk_down=new ul(this.audiochunk_top.selection.clone(),this.audiomanager),this.top_selected=!0):this.top_selected=!1)},e.prototype.onAlertTriggered=function(e){this.msg.showMessage(e.type,e.message)},e.prototype.onSegmentChange=function(){Object(Yt.isNullOrUndefined)(this.loupe)||this.loupe.update(),this.viewer.update(),this.saving=!1},e.prototype.onMouseOver=function(e){var n=this;Object(Yt.isNullOrUndefined)(this.mouseTimer)||window.clearTimeout(this.mouseTimer),this.mini_loupecoord.component=this.viewer,!this.audiomanager.audioplaying&&this.appStorage.playonhover&&(this.audiochunk_top.selection.start=this.viewer.av.Mousecursor.timePos.clone(),this.audiochunk_top.selection.end.samples=this.viewer.av.Mousecursor.timePos.samples+this.audiomanager.ressource.info.samplerate/10,this.audiochunk_top.startPlayback(function(){},!0));this.viewer.getLocation();this.mini_loupecoord.y=this.viewer.Settings.lineheight,this.appStorage.uselocalmode&&(this.mini_loupecoord.y+=24),this.mouseTimer=window.setTimeout(function(){n.changeArea(n.audiochunk_loupe,n.viewer,n.mini_loupecoord,n.viewer.MouseCursor.timePos.samples,n.viewer.MouseCursor.relPos.x,n.factor)},20)},e.prototype.changeArea=function(e,n,t,l,i,r){void 0===r&&(r=4);var o=n.Chunk.time.duration.samples/this.audiomanager.ressource.info.duration.samples*this.audiomanager.ressource.info.samplerate/r;if(l&&i>-1){t.x=i?i-80:0;var u=Math.round(o),a=l>u?new Jt(l-u,this.audiomanager.ressource.info.samplerate):new Jt(0,this.audiomanager.ressource.info.samplerate),s=l0&&(i=n.transcrService.currentlevel.segments.get(e-1).time),t(new il(i,l.time))})},e.prototype.onTranscriptionChanged=function(e){this.save()},e.prototype.save=function(){if(this.segmentselected&&this.selected_index>-1&&this.transcrService.currentlevel.segments&&this.selected_index-1){var i=this.transcrService.currentlevel.segments.get(this.selected_index);l.start=i.time.samples,l.length=this.selected_index-1){var n=this.transcrService.currentlevel.segments.get(this.selected_index).time.samples,t=0;this.selected_index>0&&(t=this.transcrService.currentlevel.segments.get(this.selected_index-1).time.samples),(this.loupe.viewer.MouseCursor.timePos.samplesn)&&(this.segmentselected=!1)}},e.prototype.onMarkerInsert=function(e){if(this.appStorage.logging){var n={start:-1,length:-1,textlength:-1};if(this.segmentselected&&this.selected_index>-1){var t=this.transcrService.currentlevel.segments.get(this.selected_index);n.start=t.time.samples,n.length=this.selected_index-1){var t=this.transcrService.currentlevel.segments.get(this.selected_index);n.start=t.time.samples,n.length=this.selected_index-1){var t=this.transcrService.currentlevel.segments.get(this.selected_index);n.start=t.time.samples,n.length=this.selected_index-1){var t=this.transcrService.currentlevel.segments.get(this.selected_index);n.start=t.time.samples,n.length=this.selected_index0&&(this.editor.segments=this.transcrService.currentlevel.segments),this.editor.Settings.height=100,this.editor.update()},e.prototype.ngOnDestroy=function(){this.subscrmanager.destroy()},e.prototype.ngOnChanges=function(e){},e.prototype.highlightSegment=function(e){jQuery(".note-editable.panel-body textspan").css({"background-color":""}),jQuery(".note-editable.panel-body textspan:eq("+e+")").css({"background-color":"yellow"})},e.prototype.onButtonClick=function(e){switch(this.uiService.addElementFromEvent("mouseclick",{value:e.type},e.timestamp,this.audiomanager.playposition,this.editor.caretpos,"audio_buttons"),e.type){case"play":this.audioplayer.startPlayback();break;case"pause":this.audioplayer.pausePlayback();break;case"stop":this.audioplayer.stopPlayback();break;case"replay":this.audioplayer.rePlayback();break;case"backward":this.audioplayer.stepBackward();break;case"backward time":this.audioplayer.stepBackwardTime(.5)}},e.prototype.onSpeedChange=function(e){this.audiochunk.speed=e.new_value},e.prototype.afterSpeedChange=function(e){this.uiService.addElementFromEvent("slider",e,e.timestamp,this.audiomanager.playposition,this.editor.caretpos,"audio_speed")},e.prototype.onVolumeChange=function(e){this.audiochunk.volume=e.new_value},e.prototype.afterVolumeChange=function(e){this.uiService.addElementFromEvent("slider",e,e.timestamp,this.audiomanager.playposition,this.editor.caretpos,"audio_volume")},e.prototype.afterTyping=function(e){"stopped"===e&&(this.saveTranscript(),this.highlight())},e.prototype.onShortcutTriggered=function(e){e.value="audio:"+e.value,this.uiService.addElementFromEvent("shortcut",e,Date.now(),this.audiomanager.playposition,this.editor.caretpos,"texteditor")},e.prototype.onBoundaryClicked=function(e){var n=this,t=this.transcrService.currentlevel.segments.getSegmentBySamplePosition(e);if(this.boundaryselected=!0,t>-1){var l=t>0?this.transcrService.currentlevel.segments.get(t-1).time.samples:0,i=this.subscrmanager.add(this.audiochunk.statechange.subscribe(function(e){if(e===rl.STOPPED){n.audiochunk.startpos=new Jt(l,n.audiomanager.ressource.info.samplerate),n.audiochunk.selection.end=n.transcrService.currentlevel.segments.get(t).time.clone(),n.audioplayer.update(),n.subscrmanager.remove(i);var r=n.subscrmanager.add(n.audiochunk.statechange.subscribe(function(e){n.boundaryselected=!1,n.audiochunk.isPlaybackEnded&&(n.audiochunk.startpos=n.audiochunk.selection.end.clone(),n.audioplayer.update()),e!==rl.STOPPED&&e!==rl.PAUSED&&e!==rl.ENDED||n.subscrmanager.remove(r)},function(e){console.error(e)}));n.audioplayer.startPlayback(!0)}},function(e){console.error(e)}));this.audiochunk.stopPlayback()}else this.boundaryselected=!1},e.prototype.onBoundaryInserted=function(){this.uiService.addElementFromEvent("segment",{value:"boundaries:add"},Date.now(),this.audiomanager.playposition,this.editor.caretpos,"texteditor")},e.prototype.onMarkerInsert=function(e){this.uiService.addElementFromEvent("shortcut",{value:"markers:"+e},Date.now(),this.audiomanager.playposition,this.editor.caretpos,"texteditor")},e.prototype.onMarkerClick=function(e){this.afterTyping("stopped"),this.uiService.addElementFromEvent("mouseclick",{value:e},Date.now(),this.audiomanager.playposition,this.editor.caretpos,"texteditor_toolbar")},e.prototype.saveTranscript=function(){var e=this.editor.html.replace(/( )+/g," ");e=e.replace(/()|(<\/textspan>)/g,"");var n=e.split(/\s*\s*/g),t=[];if(e.replace(/\s*\s*/g,function(e,n,l){return t.push(Number(n)),""}),n=n.map(function(e){return e.replace(/()|(<\/span>)|()|(<\/p>)/g,"")}),n.length>1)for(var l=0,i=0;il?l=t[i]:(t.splice(i,1),n[i+1]=n[i]+n[i+1],n.splice(i,1),--i);n=n.map(function(e){return e.replace(/(^\s+)|(\s+$)/g,"")});for(var i=0;in.length){this.transcrService.currentlevel.segments.segments.splice(n.length,a-n.length);this.transcrService.currentlevel.segments.get(n.length-1).time.samples=this.audiochunk.time.end.samples}},e.prototype.highlight=function(){var e=this.editor.html.replace(/ /g," "),n=[];e.replace(/\s?\s?/g,function(e,t,l){return n.push(Number(t)),""});for(var t=0,l=0;lt?(jQuery(".note-editable.panel-body img[data-samples]:eq("+l+")").css({"background-color":"white"}),t=n[l]):jQuery(".note-editable.panel-body img[data-samples]:eq("+l+")").css({"background-color":"red"})},e.prototype.update=function(){this.audiochunk.startpos=this.audiochunk.time.start,this.audioplayer.update(),this.loadEditor()},e.prototype.onSelectionChanged=function(e){},e.ctorParameters=function(){return[{type:fi},{type:vi},{type:Fi},{type:Ci},{type:Ri},{type:Oi}]},e}();wr.editorname="Editor without signal display",wr.initialized=new Wt.EventEmitter;var Sr,kr=[{name:wr.editorname,editor:wr,translate:"interfaces.simple editor",icon:''},{name:_r.editorname,editor:_r,translate:"interfaces.linear editor",icon:''},{name:yr.editorname,editor:yr,translate:"interfaces.2D editor",icon:''}],Or=function(){function e(e,n,t,l,i,r){this.appStorage=e,this.navbarServ=n,this.sanitizer=t,this.langService=l,this.modService=i,this.settService=r,this.test="ok",this.parentformat={download:"",uri:""},this.collapsed=!0,this.preparing={name:"",preparing:!1},this.subscrmanager=new ol}return Object.defineProperty(e.prototype,"converters",{get:function(){return hi.converters},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"AppInfo",{get:function(){return hi},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"transcrServ",{get:function(){return this.navbarServ.transcrService},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"uiService",{get:function(){return this.navbarServ.uiService},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"editors",{get:function(){return kr},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dat",{get:function(){return JSON.stringify(this.transcrServ.exportDataToJSON(),null,3)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"UIElements",{get:function(){return Object(Yt.isNullOrUndefined)(this.uiService)?null:this.uiService.elements},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.subscrmanager.destroy()},e.prototype.ngOnInit=function(){var e=this;this.subscrmanager.add(this.navbarServ.onclick.subscribe(function(n){switch(n){case"export":e.modalexport.open()}}))},e.prototype.ngAfterViewInit=function(){!function(e){e(function(){e(document).on("click",".options-menu",function(e){e.stopPropagation()})})}(jQuery),jQuery(document).on("mouseleave",".navbar-collapse.collapse.in",function(e){jQuery(".navbar-header button").click()}),setTimeout(function(){jQuery.material.init()},200)},e.prototype.setInterface=function(e){this.appStorage.Interface=e,this.navbarServ.interfacechange.emit(e)},e.prototype.onNavBarLeave=function(e){e.target.click()},e.prototype.getTextFile=function(){},e.prototype.sanitize=function(e){return this.sanitizer.bypassSecurityTrustUrl(e)},e.prototype.changeLanguage=function(e){this.langService.use(e),this.appStorage.language=e},e.prototype.interfaceActive=function(e){return!Object(Yt.isNullOrUndefined)(this.navbarServ.interfaces.find(function(n){return e===n}))},e.prototype.toggleSettings=function(e){this.appStorage[e]=!this.appStorage[e],"logging"===e&&(this.uiService.enabled=this.appStorage[e])},e.prototype.onOptionsOpened=function(){this.collapsed=!0},e.prototype.openBugReport=function(){this.modService.show("bugreport")},e.prototype.updateParentFormat=function(e){var n=this;if(!this.preparing.preparing){var t=this.navbarServ.transcrService.annotation.getObj();this.preparing={name:e.name,preparing:!0},setTimeout(function(){"Bundle"===e.name&&(n.navbarServ.transcrService.audiofile.arraybuffer=n.transcrServ.audiomanager.ressource.arraybuffer);var l=e.export(t,n.navbarServ.transcrService.audiofile).file;n.parentformat.download=l.name,window.URL=window.URL||window.webkitURL||!1,null!==n.parentformat.uri&&window.URL.revokeObjectURL(n.parentformat.uri.toString());var i=new File([l.content],l.name),r=window.URL.createObjectURL(i);n.parentformat.uri=n.sanitize(r),n.preparing={name:e.name,preparing:!1}},300)}},e.prototype.getAudioURI=function(){if(Object(Yt.isNullOrUndefined)(this.transcrServ)||Object(Yt.isNullOrUndefined)(this.transcrServ.audiomanager.ressource.arraybuffer))console.error("can't get audio file");else{this.preparing={name:"Audio",preparing:!0},this.parentformat.download=this.transcrServ.audiomanager.ressource.name+this.transcrServ.audiomanager.ressource.extension,window.URL=window.URL||window.webkitURL||!1,null!==this.parentformat.uri&&window.URL.revokeObjectURL(this.parentformat.uri.toString());var e=new File([this.transcrServ.audiomanager.ressource.arraybuffer],this.parentformat.download),n=window.URL.createObjectURL(e);this.parentformat.uri=this.sanitize(n),this.preparing={name:"Audio",preparing:!1}}},e.prototype.getProtocol=function(){if(Object(Yt.isNullOrUndefined)(this.transcrServ))console.error("can't get protocol file");else{this.preparing={name:"Protocol",preparing:!0},this.parentformat.download=this.transcrServ.audiofile.name+".json",window.URL=window.URL||window.webkitURL||!1,null!==this.parentformat.uri&&window.URL.revokeObjectURL(this.parentformat.uri.toString());var e=new File([JSON.stringify(this.transcrServ.extractUI(this.uiService.elements),null,2)],this.parentformat.download),n=window.URL.createObjectURL(e);this.parentformat.uri=this.sanitize(n),this.preparing={name:"Protocol",preparing:!1}}},Object.defineProperty(e.prototype,"arraybufferExists",{get:function(){return!Object(Yt.isNullOrUndefined)(this.transcrServ)&&!Object(Yt.isNullOrUndefined)(this.transcrServ.audiomanager.ressource.arraybuffer)&&this.transcrServ.audiomanager.ressource.arraybuffer.byteLength>0},enumerable:!0,configurable:!0}),e.prototype.getText=function(){return Object(Yt.isNullOrUndefined)(this.transcrServ)?"":this.navbarServ.transcrService.getTranscriptString(new Dl)},e.prototype.clearElements=function(){this.uiService.clear(),this.appStorage.clearLoggingData().catch(function(e){console.error(e)})},e.prototype.onLevelNameClick=function(e){jQuery(e.target).addClass("selected")},e.prototype.onLevelNameLeave=function(e,n){var t=this;if(jQuery(e.target).removeClass("selected"),null!==e.target.value&&""!==e.target.value){var l=this.transcrServ.annotation.levels[n];l.name=e.target.value.replace(" ","_"),this.appStorage.changeAnnotationLevel(n,l.getObj()).catch(function(e){console.error(e)}).then(function(){t.transcrServ.annotation.levels[n].name=e.target.value.replace(" ","_")})}else e.target.value=this.transcrServ.annotation.levels[n].name},e.prototype.onLevelAddClick=function(){for(var e=this,n=this.transcrServ.annotation.levels.length,t="Tier_"+(n+1),l=n;function(n){for(var t=0;t1&&t.appStorage.removeAnnotationLevel(e,n).catch(function(e){console.error(e)}).then(function(){t.transcrServ.annotation.levels.splice(e,1),e<=t.transcrServ.selectedlevel&&(t.transcrServ.selectedlevel=e-1)}),t.collapsed=!1},no:function(){t.collapsed=!1}})},e.prototype.onLevelDuplicateClick=function(e,n){var t=this,l=this.transcrServ.annotation.levels[e].clone();this.appStorage.addAnnotationLevel(l.getObj()).then(function(){t.transcrServ.annotation.levels.push(l)}).catch(function(e){console.error(e)})},e.prototype.selectLevel=function(e){this.transcrServ.selectedlevel=e},e.ctorParameters=function(){return[{type:Oi},{type:Pi},{type:Kt.c},{type:Ht.c},{type:mi},{type:Ri}]},e}(),xr=function(){function e(e,n,t,i,r,o,u,a,s,c,d,p,h,f){var g=this;this.router=e,this._componentFactoryResolver=n,this.audio=t,this.uiService=i,this.transcrService=r,this.appStorage=o,this.keyMap=u,this.changeDetecorRef=a,this.navbarServ=s,this.settingsService=c,this.modService=d,this.langService=p,this.api=h,this.bugService=f,this.send_error="",this.showdetails=!1,this.saving="",this.interface="",this.send_ok=!1,this.shortcutslist=[],this.editorloaded=!1,this.feedback_data={},this.level_subscription_id=0,this.feedback_expanded=!1,this.platform=nl.platform,this.abortTranscription=function(){g.appStorage.uselocalmode||g.saveFeedbackform(),g.transcrService.endTranscription(),g.router.navigate(["/logout"])},this.onSendError=function(e){return g.send_error=e.message,xi.Observable.throw(e)},this.subscrmanager=new ol,this.audiomanager=this.audio.audiomanagers[0],this.navbarServ.transcrService=this.transcrService,this.navbarServ.uiService=this.uiService,this.appStorage.uselocalmode||(this.appStorage.logging=this.settingsService.projectsettings.logging.forced),this.uiService.enabled=this.appStorage.logging,this.subscrmanager.add(this.audiomanager.statechange.subscribe(function(e){if(!g.audiomanager.playonhover){var n=-1;Object(Yt.isNullOrUndefined)(g.currentEditor.instance.editor)||(n=g.currentEditor.instance.editor.caretpos),e!==rl.PLAYING&&e!==rl.INITIALIZED&&e!==rl.PREPARE&&g.uiService.addElementFromEvent("audio",{value:l(e).toLowerCase()},Date.now(),g.audiomanager.playposition,n,g.appStorage.Interface)}})),this.interface=this.appStorage.Interface}return Object.defineProperty(e.prototype,"currentEditor",{get:function(){return this._currentEditor},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"loaded",{get:function(){return this.audio.loaded&&!Object(Yt.isNullOrUndefined)(this.transcrService.guidelines)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"appc",{get:function(){return this.settingsService.app_settings},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"projectsettings",{get:function(){return this.settingsService.projectsettings},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"responsive",{get:function(){return this.settingsService.responsive.enabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"app_settings",{get:function(){return this.settingsService.app_settings},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){},e.prototype.ngAfterContentChecked=function(){},e.prototype.ngOnInit=function(){var e=this;this.navbarServ.interfaces=this.projectsettings.interfaces,this.loadForm(),this.transcrService.guidelines=this.settingsService.guidelines,this.subscrmanager.add(this.settingsService.guidelinesloaded.subscribe(function(n){e.transcrService.guidelines=n}));for(var n=0;n)|(>)/g,"s")),this.appStorage.comment=this.transcrService.feedback.comment;for(var e in this.feedback_data)this.feedback_data.hasOwnProperty(e)&&this.changeValue(e,this.feedback_data[e]);this.appStorage.save("feedback",this.transcrService.feedback.exportData())},e.prototype.changeValue=function(e,n){var t=this.transcrService.feedback.setValueForControl(e,n.toString());console.warn(t)},e.prototype.translate=function(e,n){if(Object(Yt.isNullOrUndefined)(e[n]))for(var t in e)if(e.hasOwnProperty(t))return e[t];return e[n]},e.prototype.loadForm=function(){var e=this.transcrService.feedback;if(!Object(Yt.isNullOrUndefined)(this.settingsService.projectsettings)&&!Object(Yt.isNullOrUndefined)(e))for(var n in e.groups)if(!Object(Yt.isNullOrUndefined)(n)){var t=e.groups[n];for(var l in t.controls)if(!Object(Yt.isNullOrUndefined)(l)){var i=t.controls[l];"textarea"===i.type.type?this.feedback_data[t.name]=i.value:"checkbox"===i.type.type||Object(Yt.isNullOrUndefined)(i.custom)||Object(Yt.isNullOrUndefined)(i.custom.checked)||!i.custom.checked||(this.feedback_data[t.name]=i.value)}}},e.prototype.onSendNowClick=function(){var e=this;this.modal.dismiss(),this.modal2.open(),this.send_ok=!0;var n=this.transcrService.exportDataToJSON();this.subscrmanager.add(this.api.saveSession(n.transcript,n.project,n.annotator,n.jobno,n.id,n.status,n.comment,n.quality,n.log).catch(this.onSendError).subscribe(function(n){null!==n&&n.hasOwnProperty("statusText")&&"OK"===n.statusText?(e.appStorage.submitted=!0,setTimeout(function(){e.modal2.close(),setTimeout(function(){e.nextTranscription()},1e3)},2e3)):e.send_error=e.langService.instant("send error")}))},e.prototype.onSendButtonClick=function(){this.feedback_form.valid?(this.saveFeedbackform(),this.modal.open()):this.feedback_expanded||this.expandFeedback()},e.prototype.nextTranscription=function(){var e=this;this.transcrService.endTranscription(!1),this.clearData(),this.subscrmanager.add(this.api.beginSession(this.appStorage.user.project,this.appStorage.user.id,Number(this.appStorage.user.jobno),"").subscribe(function(n){if(null!==n){var t=n.json();if(t.data&&t.data.hasOwnProperty("url")&&t.data.hasOwnProperty("id")){if(e.appStorage.audio_url=t.data.url,e.appStorage.data_id=t.data.id,t.data.hasOwnProperty("transcript")){var l=JSON.parse(t.data.transcript);Object(Yt.isArray)(l)&&l.length>0&&(e.appStorage.servertranscipt=l)}t.hasOwnProperty("message")&&Object(Yt.isNumber)(t.message)&&(e.appStorage.jobs_left=Number(t.message)),e.router.navigate(["/user/load"])}else e.appStorage.submitted=!0,e.router.navigate(["/user/transcr/end"])}}))},e.prototype.clearData=function(){this.appStorage.submitted=!1,this.appStorage.clearAnnotationData().catch(function(e){console.error(e)}),this.appStorage.idb.save("options","feedback",{value:null}),this.appStorage.comment="",this.appStorage.clearLoggingData().catch(function(e){console.error(e)}),this.uiService.elements=[],this.settingsService.clearSettings()},e.prototype.checkBoxChanged=function(e,n){for(var t=0;t0){for(var n="",t=0;t"),this.errortooltip.addClass("error-tooltip"),this.errortooltip.append(jQuery("").addClass("title").text("Title")),this.errortooltip.append(jQuery("").addClass("description").text("")),this.errortooltip.on("mouseleave",function(){jQuery(this).css("display","none")}),this.errortooltip.on("mouseout",function(){jQuery(this).css("display","none")}),jQuery("body").append(this.errortooltip),this.errortooltip=jQuery(".error-tooltip"),this.visible&&(this.updateSegments(),this.cd.markForCheck(),this.cd.detectChanges())},e.prototype.ngOnChanges=function(e){this.show_loading=!0,Object(Yt.isNullOrUndefined)(e.visible)||!0!==e.visible.currentValue?Object(Yt.isNullOrUndefined)(e.visible)||!1!==e.visible.currentValue||jQuery(".error-tooltip").css("display","none"):(this.updateSegments(),this.transcrService.analyse())},e.prototype.onSegmentClicked=function(e){this.segmentclicked.emit(e)},e.ctorParameters=function(){return[{type:Fi},{type:fi},{type:Kt.c},{type:Wt.ChangeDetectorRef}]},e}(),jr=function(){function e(e,n,t,l,i,r){var o=this;this.keyMap=e,this.transcrService=n,this.audio=t,this.uiService=l,this.settingsService=i,this.appStorage=r,this.act=new Wt.EventEmitter,this.easymode=!1,this.showWindow=!1,this.pos_y=0,this.doit=function(e){o.audiomanager.audioplaying&&o.loupe.viewer.stopPlayback(),o.save(),"down"!==e?(o.goToSegment(e),setTimeout(function(){o.loupe.viewer.startPlayback()},500)):o.close()},this.onKeyDown=function(e){switch(e.comboKey){case"ALT + ARROWRIGHT":e.event.preventDefault(),o.doit("right");break;case"ALT + ARROWLEFT":e.event.preventDefault(),o.doit("left");break;case"ALT + ARROWDOWN":e.event.preventDefault(),o.doit("down");break;case"ESC":o.doit("down")}},this.subscrmanager=new ol}return Object.defineProperty(e.prototype,"shortcuttriggered",{get:function(){return this.loupe.shortcuttriggered},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"marker_insert",{get:function(){return this.editor.marker_insert},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"marker_click",{get:function(){return this.editor.marker_click},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"app_settings",{get:function(){return this.settingsService.app_settings},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"projectsettings",{get:function(){return this.settingsService.projectsettings},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"responsive",{get:function(){return this.settingsService.responsive.enabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"audiomanager",{get:function(){return this.audiochunk.audiomanager},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ressource",{get:function(){return this.audiochunk.audiomanager.ressource},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.editor.Settings.markers=this.transcrService.guidelines.markers,this.editor.Settings.responsive=this.settingsService.responsive.enabled,this.editor.Settings.special_markers.boundary=!0,this.loupe.viewer.Settings.justify_signal_height=!0,this.loupe.viewer.round_values=!1;var n=this.transcrService.currentlevel.segments;this.temp_segments=n.clone(),this.subscrmanager.add(this.editor.loaded.subscribe(function(){e.segment_index>-1&&e.transcrService.currentlevel.segments&&e.segment_index-1&&this.transcrService.currentlevel.segments&&this.segment_index-1)this.transcrService.currentlevel.segments.segments=this.temp_segments.segments,this.transcrService.currentlevel.segments.onsegmentchange.emit(null);else{var e=this.transcrService.currentlevel.segments.get(this.segment_index).clone();e.transcript=this.editor.rawText,this.transcrService.currentlevel.segments.change(this.segment_index,e)}},e.prototype.onButtonClick=function(e){if(this.appStorage.logging){var n={start:-1,length:-1,textlength:-1};if(this.segment_index>-1){var t=this.transcrService.currentlevel.segments.get(this.segment_index);n.start=t.time.samples,n.length=this.segment_index-1&&this.transcrService.currentlevel.segments&&this.segment_index0){var l=this.segment_index-1;for(l=this.segment_index-1;l>0;l--)if(this.transcrService.currentlevel.segments.get(l).transcript!==this.transcrService.break_marker.code){t=this.transcrService.currentlevel.segments.get(l),this.segment_index=l;break}this.transcrService.currentlevel.segments.get(l).transcript!==this.transcrService.break_marker.code&&(t=this.transcrService.currentlevel.segments.get(l),this.segment_index=l)}var i=new Jt(0,this.audiomanager.ressource.info.samplerate);this.segment_index>0&&(i=this.transcrService.currentlevel.segments.get(this.segment_index-1).time.clone()),Object(Yt.isNullOrUndefined)(t)?console.error("segment is null"):(this.editor.rawText=this.transcrService.currentlevel.segments.get(this.segment_index).transcript,this.audiochunk=new ul(new il(i,t.time.clone()),this.audiochunk.audiomanager))}},e.prototype.editor_rawText=function(e){this.editor.rawText=e},e.prototype.onShortCutTriggered=function(e,n){var t={start:-1,length:-1,textlength:-1};if(this.segment_index>-1){var l=this.transcrService.currentlevel.segments.get(this.segment_index);t.start=l.time.samples,t.length=this.segment_index-1){var t=this.transcrService.currentlevel.segments.get(this.segment_index);n.start=t.time.samples,n.length=this.segment_index-1){var t=this.transcrService.currentlevel.segments.get(this.segment_index);n.start=t.time.samples,n.length=this.segment_index-1){var t=this.transcrService.currentlevel.segments.get(this.segment_index);n.start=t.time.samples,n.length=this.segment_index-1){var t=this.transcrService.currentlevel.segments.get(this.segment_index);n.start=t.time.samples,n.length=this.segment_index-1){var t=n>0?this.temp_segments.get(n-1).time.samples:0;this.audiochunk.startpos=new Jt(t,this.audiomanager.ressource.info.samplerate),this.audiochunk.selection.end=this.temp_segments.get(n).time.clone(),this.loupe.viewer.av.drawnselection=this.audiochunk.selection,this.loupe.viewer.drawSegments(),this.loupe.viewer.startPlayback()}},e.prototype.afterTyping=function(e){"stopped"===e&&(this.saveTranscript(),this.highlight())},e.prototype.saveTranscript=function(){var e=this.transcrService.currentlevel.segments.getSegmentBySamplePosition(this.audiochunk.time.start.samples+20);this.temp_segments=this.transcrService.currentlevel.segments.clone();var n=this.editor.html.replace(/ /g," "),t=n.split(/\s?\s?/g),l=[];if(n.replace(/\s?\s?/g,function(e,n,t){return l.push(Number(n)),""}),t=t.map(function(e){return e.replace(/()|(<\/span>)|()|(<\/p>)/g,"")}),t.length>1)for(var i=0,r=0;ri?i=l[r]:(l.splice(r,1),t[r+1]=t[r]+t[r+1],t.splice(r,1),--r);for(var r=0;r\s?/g,function(e,t,l){return n.push(Number(t)),""});for(var t=0,l=0;lt?(jQuery(".note-editable.panel-body img[data-samples]:eq("+l+")").css({"background-color":"white"}),t=n[l]):jQuery(".note-editable.panel-body img[data-samples]:eq("+l+")").css({"background-color":"red"})},e.ctorParameters=function(){return[{type:vi},{type:Fi},{type:fi},{type:Ci},{type:Ri},{type:Oi}]},e}(),Rr=function(){function e(e,n,t,l,i,r){var o=this;this.router=e,this.appStorage=n,this.transcrServ=t,this.modService=l,this.langService=i,this.audioService=r,this.error="",this.navigate=function(){o.router.navigate(["/user/load"])},this.abortTranscription=function(){o.transcrServ.endTranscription(),o.router.navigate(["/logout"])},this.newTranscription=function(){var e=!1,n=function(){o.audioService.registerAudioManager(o.dropzone.audiomanager),o.appStorage.beginLocalSession(o.dropzone.files,e,o.navigate,function(e){"file not supported"===e&&o.showErrorMessage(o.langService.instant("reload-file.file not supported",{type:""}))})};if(Object(Yt.isNullOrUndefined)(o.dropzone.oannotation))n();else{for(var t=[],l=0;l");for(var n in e)if(!Object(Yt.isNullOrUndefined)(e[n]))return e[n].replace("\n","
")},e.prototype.logout=function(){this.settService.clearSettings(),this.router.navigate(["/logout"])},e.prototype.accept=function(){Object(Yt.isNullOrUndefined)(this.appStorage.agreement)&&(this.appStorage.agreement={}),this.appStorage.agreement[this.appStorage.user.project]=!0,this.appStorage.sessStr.store("agreement",this.appStorage.agreement),this.router.navigate(["/user/transcr"])},e.ctorParameters=function(){return[{type:Ri},{type:hr.k},{type:Ht.c},{type:Oi}]},e}(),Dr=function(){function e(e,n,t,l){this.sanitizer=e,this.cd=n,this.settService=t,this.navService=l}return Object.defineProperty(e.prototype,"projectsettings",{get:function(){return this.settService.projectsettings},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.navService.show_interfaces=!1,this.navService.show_export=!1},e.prototype.ngOnChanges=function(e){Object(Yt.isNullOrUndefined)(e.url)||(this.cd.markForCheck(),this.cd.checkNoChanges())},Object.defineProperty(e.prototype,"sanitized_url",{get:function(){return this.sanitizer.bypassSecurityTrustResourceUrl(this.projectsettings.navigation.help_url)},enumerable:!0,configurable:!0}),e.ctorParameters=function(){return[{type:Kt.c},{type:Wt.ChangeDetectorRef},{type:Ri},{type:Pi}]},e}(),Lr=[{path:"load",component:fr},{path:"agreement",component:Ar,canActivate:[Tr]},{path:"transcr",component:xr,canActivate:[Er,Tr]},{path:"transcr/help",component:Dr,canActivate:[Er,Tr]},{path:"transcr/end",component:Cr,canActivate:[Nr]},{path:"transcr/reload-file",component:Rr,canActivate:[Ir]},{path:"",redirectTo:"/user/load",pathMatch:"full"}],Ur=function(){function e(e,n){this.appStorage=e,this.router=n}return e.prototype.canActivate=function(e,n){return!0!==this.appStorage.LoggedIn||(this.router.navigate(["/user/transcr"]),!1)},e.ctorParameters=function(){return[{type:Oi},{type:hr.k}]},e}(),zr=function(){function e(e,n){this.appStorage=e,this.router=n}return e.prototype.canActivate=function(e,n){return!!this.appStorage.logged_in||(this.router.navigate(["/user/transcr"]),!1)},e.ctorParameters=function(){return[{type:Oi},{type:hr.k}]},e}(),Fr=function(){function e(e,n,t){this.appStorage=e,this.router=n,this.settingsService=t}return e.prototype.canActivate=function(e,n){return Object(Yt.isNullOrUndefined)(this.settingsService.app_settings)?this.settingsService.settingsloaded.first():this.settingsService.validated},e.ctorParameters=function(){return[{type:Oi},{type:hr.k},{type:Ri}]},e}(),Br=function(){function e(e,n,t,l){this.sanitizer=e,this.cd=n,this.settService=t,this.navService=l}return Object.defineProperty(e.prototype,"projectsettings",{get:function(){return this.settService.projectsettings},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.navService.show_interfaces=!1,this.navService.show_export=!1},e.prototype.ngOnChanges=function(e){Object(Yt.isNullOrUndefined)(e.url)||(this.cd.markForCheck(),this.cd.checkNoChanges())},Object.defineProperty(e.prototype,"sanitized_url",{get:function(){return this.sanitizer.bypassSecurityTrustResourceUrl(this.projectsettings.navigation.help_url)},enumerable:!0,configurable:!0}),e.ctorParameters=function(){return[{type:Kt.c},{type:Wt.ChangeDetectorRef},{type:Ri},{type:Pi}]},e}(),Vr=function(){function e(e,n,t,l){this.sanitizer=e,this.cd=n,this.settService=t,this.navService=l}return Object.defineProperty(e.prototype,"projectsettings",{get:function(){return this.settService.projectsettings},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.navService.show_interfaces=!1,this.navService.show_export=!1},e.prototype.ngOnChanges=function(e){Object(Yt.isNullOrUndefined)(e.url)||(this.cd.markForCheck(),this.cd.checkNoChanges())},Object.defineProperty(e.prototype,"sanitized_url",{get:function(){return this.sanitizer.bypassSecurityTrustResourceUrl(this.projectsettings.navigation.help_url)},enumerable:!0,configurable:!0}),e.ctorParameters=function(){return[{type:Kt.c},{type:Wt.ChangeDetectorRef},{type:Ri},{type:Pi}]},e}(),Wr=function(){function e(e,n){var t=this;this.appStorage=e,this.api=n,this.subscrmanager=new ol,this.setOnlineSessionToFree=function(e){t.subscrmanager.add(t.api.fetchAnnotation(t.appStorage.data_id).subscribe(function(n){var l=n.json();l.data.hasOwnProperty("status")&&"BUSY"===l.data.status?t.subscrmanager.add(t.api.closeSession(t.appStorage.user.id,t.appStorage.data_id,"").subscribe(function(n){e()})):e()},function(){e()}))}}return e.prototype.ngOnInit=function(){},e.prototype.ngOnDestroy=function(){},e.prototype.clearAllData=function(){var e=this;this.appStorage.uselocalmode?this.appStorage.clearAnnotationData().then(function(){e.appStorage.clearOptions()}).then(function(){e.appStorage.clearLoggingData()}).then(function(){alert("All cleared. The app will be reloaded."),document.location.reload(!0)}):this.setOnlineSessionToFree(function(){e.appStorage.clearAnnotationData().then(function(){e.appStorage.clearLoggingData()}).then(function(){e.appStorage.clearOptions()}).then(function(){alert("All cleared. The app will be reloaded."),document.location.reload(!0)})})},e.prototype.refreshApp=function(){document.location.reload(!0)},e.ctorParameters=function(){return[{type:Oi},{type:Fl}]},e}(),qr=function(){function e(){}return e.prototype.ngOnInit=function(){},e.ctorParameters=function(){return[]},e}(),Kr=[{path:"",redirectTo:"/login",pathMatch:"full"},{path:"login",component:mr,canActivate:[Fr,Ur]},{path:"news",component:Br,canActivate:[Fr]},{path:"faq",component:Vr,canActivate:[Fr]},{path:"features",component:qr,canActivate:[Fr]},{path:"logout",component:vr,canActivate:[Fr,zr]},{path:"user",component:br,canActivate:[Fr],children:Lr},{path:"help-tools",component:Wr},{path:"**",redirectTo:"/login",pathMatch:"full"}],$r=hr.n.forRoot(Kr),Xr=function(){function e(){}return e.prototype.transform=function(e,n){return e&&e>-1?Math.round(100*e):0},e}(),Hr=function(){function e(){}return e.prototype.transform=function(e,n){return e&&e>-1?Math.round(100*e)/100:0},e}(),Qr=function(){function e(){}return e.prototype.transform=function(e,n){for(var t=0,l=0,i="",r=1;r0)for(var r=0;r-1);else{var r=videojs(l,{fluid:!0,autoplay:!1,preload:"auto"},function(){});this.video_players.push(r)}}}},e.prototype.open=function(){this.modal_guidelines.open()},e.prototype.close=function(){this.modal_guidelines.dismiss()},e.prototype.unCollapseAll=function(){this.collapsed=[];for(var e=0;e-1)this.shown_guidelines.instructions.push(t);else{var l=JSON.parse(JSON.stringify(t));l.entries=[];for(var i=0;i-1||r.description.indexOf(e)>-1)&&l.entries.push(r)}l.entries.length>0&&this.shown_guidelines.instructions.push(l)}}}else this.shown_guidelines=JSON.parse(JSON.stringify(this.guidelines))},e.prototype.exportPDF=function(){if(!(Object(Yt.isNullOrUndefined)(this.settService.projectsettings)||Object(Yt.isNullOrUndefined)(this.settService.projectsettings.plugins)||Object(Yt.isNullOrUndefined)(this.settService.projectsettings.plugins.pdfexport)||Object(Yt.isNullOrUndefined)(this.settService.projectsettings.plugins.pdfexport.url))){var e=jQuery("").attr("method","post").attr("target","blank").attr("action",this.settService.projectsettings.plugins.pdfexport.url).appendTo("body"),n={translation:this.lang.instant("general"),guidelines:this.guidelines},t=jQuery("").attr("name","json").attr("type","text").attr("value",JSON.stringify(n));e.append(t),e.submit().remove()}},e.ctorParameters=function(){return[{type:Fi},{type:Wt.ChangeDetectorRef},{type:Ht.c},{type:Ri}]},e}(),no=t("fL27"),to=t("ZBFC"),lo=t("Hm69"),io=function(){function e(e){var n=this;this.modService=e,this._files=[],this.subscrmanager=new ol,this.afterDrop=function(){n._oannotation=null;for(var e=0;e0)for(var e=0;e active",animation:{type:4,styles:null,timings:"300ms ease-in"},options:null},{type:1,expr:"active => inactive",animation:{type:4,styles:null,timings:"300ms ease-in"},options:null}],options:{}}]}}),Oo=Wt["\u0275ccf"]("app-login",mr,j,{},{},[]),xo=["iframe[_ngcontent-%COMP%]{width:100%;height:100%;-ms-flex:auto;flex:auto;border:none}[_nghost-%COMP%], iframe[_ngcontent-%COMP%]{-webkit-box-flex:1}[_nghost-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex:auto;flex:auto}"],Co=[xo],Po=Wt["\u0275crt"]({encapsulation:0,styles:Co,data:{}}),jo=Wt["\u0275ccf"]("app-news",Br,M,{url:"url"},{},[]),Ro=["iframe[_ngcontent-%COMP%]{width:100%;height:100%;-ms-flex:auto;flex:auto;border:none}[_nghost-%COMP%], iframe[_ngcontent-%COMP%]{-webkit-box-flex:1}[_nghost-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex:auto;flex:auto}"],Mo=[Ro],To=Wt["\u0275crt"]({encapsulation:0,styles:Mo,data:{}}),No=Wt["\u0275ccf"]("app-faq",Vr,N,{url:"url"},{},[]),Io=["iframe[_ngcontent-%COMP%]{width:100%;height:100%;-ms-flex:auto;flex:auto;border:none}[_nghost-%COMP%], iframe[_ngcontent-%COMP%]{-webkit-box-flex:1}[_nghost-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex:auto;flex:auto}"],Eo=[Io],Ao=Wt["\u0275crt"]({encapsulation:0,styles:Eo,data:{}}),Do=Wt["\u0275ccf"]("app-features",qr,E,{},{},[]),Lo=["#logout[_ngcontent-%COMP%]{text-align:center}"],Uo=[Lo],zo=Wt["\u0275crt"]({encapsulation:0,styles:Uo,data:{}}),Fo=Wt["\u0275ccf"]("app-login",vr,D,{},{},[]),Bo=["#members-area[_ngcontent-%COMP%]{position:relative}#members-area[_ngcontent-%COMP%], [_nghost-%COMP%]{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}"],Vo=[Bo],Wo=Wt["\u0275crt"]({encapsulation:0,styles:Vo,data:{}}),qo=Wt["\u0275ccf"]("app-members-area",br,U,{},{},[]),Ko=["#loading[_ngcontent-%COMP%]{text-align:center;padding:20px;margin-top:10%}#loading[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{margin-top:20px}.log[_ngcontent-%COMP%]{color:red;line-height:1.5}"],$o=[Ko],Xo=Wt["\u0275crt"]({encapsulation:0,styles:$o,data:{}}),Ho=Wt["\u0275ccf"]("app-loading",fr,K,{},{loaded:"loaded"},[]),Qo=["#agreement[_ngcontent-%COMP%]{max-width:800px;margin:0 auto;padding:20px;margin-top:20px}#agreement[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:.9em}#bottom-nav[_ngcontent-%COMP%]{margin-top:20px}"],Go=[Qo],Yo=Wt["\u0275crt"]({encapsulation:0,styles:Go,data:{}}),Jo=Wt["\u0275ccf"]("app-agreement",Ar,X,{},{},[]),Zo=["[_nghost-%COMP%]{-webkit-box-flex:1;-ms-flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;flex:1 0 auto}#rules[_ngcontent-%COMP%] .modal-content[_ngcontent-%COMP%], #rules[_ngcontent-%COMP%] .modal-dialog[_ngcontent-%COMP%]{width:100%}#feedback[_ngcontent-%COMP%] .col-xs-3[_ngcontent-%COMP%]{text-align:center}#feedback[_ngcontent-%COMP%]{padding:10px}#volume-slider[_ngcontent-%COMP%]{width:100%}.slider-descr[_ngcontent-%COMP%]{text-align:center;font-size:.7em}#shortcuts[_ngcontent-%COMP%]{display:none}.shortcut-descr[_ngcontent-%COMP%]{font-size:.6em}#rules[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] .table[_ngcontent-%COMP%]{font-size:.7em}#rules[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{height:25px}#saving[_ngcontent-%COMP%]{position:absolute;right:0;margin-right:5px}#bottom-feedback[_ngcontent-%COMP%]{border:1px solid #3f51b5;background-color:#fff;padding:5px;height:30px;position:absolute;bottom:0;margin-bottom:50px;width:100%;z-index:80;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}#bottom-feedback[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%]{display:none;-webkit-box-flex:1;-ms-flex:auto;flex:auto}.ctrl[_ngcontent-%COMP%]{margin-right:10px}.checkbox[_ngcontent-%COMP%], .ctrl[_ngcontent-%COMP%], .radio[_ngcontent-%COMP%]{display:inline}.form-group[_ngcontent-%COMP%]{margin-top:0}.required_marker[_ngcontent-%COMP%]{color:red}"],eu=[".red[_ngcontent-%COMP%]{background-color:#ff899d}.segment-number[_ngcontent-%COMP%]{padding:3px}.segment-warning[_ngcontent-%COMP%]{color:red}.found-errors[_ngcontent-%COMP%]{padding:5px;display:block;text-align:center}"],nu=[eu],tu=Wt["\u0275crt"]({encapsulation:0,styles:nu,data:{}}),lu=(Wt["\u0275ccf"]("app-transcr-overview",Pr,Z,{segments:"segments",show_transcriptiontable:"show_transcriptiontable",visible:"visible"},{segmentclicked:"segmentclicked"},[]),t("MvXP")),iu=t("oXBO"),ru=[".alert[_ngcontent-%COMP%]{top:0;right:0;position:fixed;margin-top:30px;width:30%;z-index:30}"],ou=[ru],uu=Wt["\u0275crt"]({encapsulation:0,styles:ou,data:{animation:[{type:7,name:"fadeToggle",definitions:[{type:0,name:"inactive",styles:{type:6,styles:{display:"none",opacity:"0.0"},offset:null},options:void 0},{type:0,name:"active",styles:{type:6,styles:{display:"inherit",opacity:"1.0"},offset:null},options:void 0},{type:1,expr:"inactive => active",animation:{type:4,styles:null,timings:"300ms ease-in"},options:null},{type:1,expr:"active => inactive",animation:{type:4,styles:null,timings:"300ms ease-in"},options:null}],options:{}}]}}),au=(Wt["\u0275ccf"]("app-alert",sr,ie,{},{},[]),t("+K1p")),su=t("vCyR"),cu=t("c9Yo"),du=t("8AR9"),pu=t("RoUE"),hu=t("t+dn"),fu=["#fastbar[_ngcontent-%COMP%]{font-size:.8em;text-align:center}#fastbar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#0095dd}#fastbar[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{text-align:center}.btn-group.btn-group-justified.btn-group-sm[_ngcontent-%COMP%]{margin:0}"],gu=[fu],mu=Wt["\u0275crt"]({encapsulation:0,styles:gu,data:{}}),vu=(Wt["\u0275ccf"]("app-fastbar",Mr,he,{responsive:"responsive",button_labels:"button_labels"},{shortcutbtnclicked:"shortcutbtnclicked",guidelinesbtnclicked:"guidelinesbtnclicked",overviewbtnclicked:"overviewbtnclicked"},[]),[".search[_ngcontent-%COMP%]{width:100%}.authors[_ngcontent-%COMP%], .project[_ngcontent-%COMP%]{display:block}.authors[_ngcontent-%COMP%], .project[_ngcontent-%COMP%], .version[_ngcontent-%COMP%]{color:gray;font-size:.8em}.col-priority[_ngcontent-%COMP%]{text-align:right}.guidelines-descr[_ngcontent-%COMP%]{font-size:.9em;padding-left:0}.guidelines-title[_ngcontent-%COMP%]{font-size:1em;font-weight:700;display:block}.panel-example[_ngcontent-%COMP%]{min-width:50%}.panel-title[_ngcontent-%COMP%]{font-size:.9em}.entry-row[_ngcontent-%COMP%]{margin-bottom:20px;padding:5px 0}.select-row[_ngcontent-%COMP%]{cursor:pointer;border-top:1px solid #00008b;border-bottom:1px solid #00008b;padding:5px;margin-bottom:5px}audio[_ngcontent-%COMP%]{width:100%;margin-bottom:5px}.modal-dialog[_ngcontent-%COMP%]{width:90%}.media[_ngcontent-%COMP%]{margin-bottom:10px}"]),bu=t("C2HG"),yu=[vu],_u=Wt["\u0275crt"]({encapsulation:0,styles:yu,data:{}}),wu=(Wt["\u0275ccf"]("app-transcr-guidelines",eo,Ce,{guidelines:"guidelines"},{},[]),[Zo]),Su=Wt["\u0275crt"]({encapsulation:0,styles:wu,data:{}}),ku=Wt["\u0275ccf"]("app-transcription",xr,pn,{},{},[]),Ou=["iframe[_ngcontent-%COMP%]{width:100%;height:100%;-ms-flex:auto;flex:auto;border:none}[_nghost-%COMP%], iframe[_ngcontent-%COMP%]{-webkit-box-flex:1}[_nghost-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex:auto;flex:auto}"],xu=[Ou],Cu=Wt["\u0275crt"]({encapsulation:0,styles:xu,data:{}}),Pu=Wt["\u0275ccf"]("app-help",Dr,fn,{url:"url"},{},[]),ju=["#transcr-end[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:center}#transcr-end[_ngcontent-%COMP%]{margin-top:10%}"],Ru=[ju],Mu=Wt["\u0275crt"]({encapsulation:0,styles:Ru,data:{}}),Tu=Wt["\u0275ccf"]("app-transcription-submitted",Cr,mn,{},{},[]),Nu=[""],Iu=[Nu],Eu=Wt["\u0275crt"]({encapsulation:0,styles:Iu,data:{}}),Au=Wt["\u0275ccf"]("app-reload-file",Rr,bn,{},{},[]),Du=["@media only screen and (min-width:768px){.is-table-row[_ngcontent-%COMP%]{display:table}.is-table-row[_ngcontent-%COMP%] [class*=col-][_ngcontent-%COMP%]{float:none;display:table-cell;vertical-align:top}}"],Lu=[Du],Uu=Wt["\u0275crt"]({encapsulation:0,styles:Lu,data:{}}),zu=Wt["\u0275ccf"]("app-help-tools",Wr,_n,{},{},[]),Fu=["[_nghost-%COMP%]{-webkit-box-flex:1;-ms-flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;flex:1 0 auto}"],Bu=[".slider[_ngcontent-%COMP%]{padding:0}.slider-descr[_ngcontent-%COMP%]{font-size:.7em;vertical-align:middle;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;margin-bottom:3px}.shortcut-descr[_ngcontent-%COMP%]{font-size:.6em}.audio-nav[_ngcontent-%COMP%]{margin-bottom:3px}.audio-nav[_ngcontent-%COMP%] .btn-toolbar[_ngcontent-%COMP%]{margin-left:0}.audio-nav[_ngcontent-%COMP%] .btn-group[_ngcontent-%COMP%]{margin:0}.audio-nav[_ngcontent-%COMP%] .col-xs-1[_ngcontent-%COMP%]{padding:0}.btn-description[_ngcontent-%COMP%]{font-size:.9em}"],Vu=[Bu],Wu=Wt["\u0275crt"]({encapsulation:0,styles:Vu,data:{}}),qu=(Wt["\u0275ccf"]("app-audio-navigation",Ul,On,{audioplaying:"audioplaying",responsive:"responsive",easymode:"easymode",replay:"replay",buttons:"buttons"},{buttonclick:"buttonclick",volumechange:"volumechange",aftervolumechange:"aftervolumechange",speedchange:"speedchange",afterspeedchange:"afterspeedchange"},[]),[".audioplayer[_ngcontent-%COMP%]{width:100%;position:relative;resize:vertical;display:block;border:1px solid gray}.ap-graphicscanvas[_ngcontent-%COMP%], .ap-mousecanvas[_ngcontent-%COMP%], .ap-overlaycanvas[_ngcontent-%COMP%], .ap-playcanvas[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;-ms-user-select:none;user-select:none;-webkit-user-select:none;-moz-user-select:none}.ap-graphicscanvas[_ngcontent-%COMP%]{z-index:1}.ap-overlaycanvas[_ngcontent-%COMP%]{z-index:2}.ap-mousecanvas[_ngcontent-%COMP%]{z-index:3}.ap-playcanvas[_ngcontent-%COMP%]{z-index:4;cursor:pointer}#volume-slider[_ngcontent-%COMP%]{width:100%}.slider-descr[_ngcontent-%COMP%]{text-align:center;font-size:.7em}.ap-time-end-display[_ngcontent-%COMP%], .ap-time-start-display[_ngcontent-%COMP%]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:absolute;z-index:10;bottom:0}.ap-time-start-display[_ngcontent-%COMP%]{left:0;margin-left:10px}.ap-time-end-display[_ngcontent-%COMP%]{right:0;margin-right:10px}"]),Ku=[qu],$u=Wt["\u0275crt"]({encapsulation:0,styles:Ku,data:{}}),Xu=(Wt["\u0275ccf"]("app-audioplayer",Xi,Cn,{audiochunk:"audiochunk"},{shortcuttriggered:"shortcuttriggered"},[]),[".transcr-editor[_ngcontent-%COMP%]{width:100%;min-height:100px}.textspan[_ngcontent-%COMP%]{display:inline}.transcr-editor[_ngcontent-%COMP%] .editor-nav[_ngcontent-%COMP%]{width:100%;height:2em}.transcr-editor[_ngcontent-%COMP%] .textfield[_ngcontent-%COMP%]{margin:5px;display:block}.transcr-editor[_ngcontent-%COMP%] .marker-btn[_ngcontent-%COMP%]{height:100%;display:inline-block;padding:3px 5px;margin-right:2px;background-color:#faebcc;vertical-align:middle}.transcr-editor[_ngcontent-%COMP%] .marker-btn[_ngcontent-%COMP%]:hover{background-color:#d6e9c6;cursor:pointer}.transcr-editor[_ngcontent-%COMP%] .marker-icon[_ngcontent-%COMP%]{display:inline;margin-right:3px}.transcr-editor[_ngcontent-%COMP%] .btn-shortcut[_ngcontent-%COMP%]{font-size:.7em;margin:auto 0}.transcr-editor[_ngcontent-%COMP%] .btn-description[_ngcontent-%COMP%]{font-size:.3em}.btn-icon[_ngcontent-%COMP%], .note-editable[_ngcontent-%COMP%] .btn-icon-text[_ngcontent-%COMP%], .note-toolbar[_ngcontent-%COMP%] .btn-icon[_ngcontent-%COMP%]{height:16px}.note-toolbar[_ngcontent-%COMP%] .btn-descr[_ngcontent-%COMP%], .note-toolbar[_ngcontent-%COMP%] .btn-shortcut[_ngcontent-%COMP%]{margin-left:3px}.note-editable[_ngcontent-%COMP%]{border:1px solid red}.transcr-editor[_ngcontent-%COMP%], [_nghost-%COMP%]{-webkit-box-flex:1;-ms-flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;flex:1 0 auto}"]),Hu=[Xu],Qu=Wt["\u0275crt"]({encapsulation:0,styles:Hu,data:{}}),Gu=(Wt["\u0275ccf"]("app-transcr-editor",ar,jn,{visible:"visible",markers:"markers",easymode:"easymode",height:"height",playposition:"playposition",audiochunk:"audiochunk"},{loaded:"loaded",onkeyup:"onkeyup",marker_insert:"marker_insert",marker_click:"marker_click",typing:"typing",boundaryclicked:"boundaryclicked",boundaryinserted:"boundaryinserted",selectionchanged:"selectionchanged"},[]),[Fu]),Yu=Wt["\u0275crt"]({encapsulation:0,styles:Gu,data:{}}),Ju=Wt["\u0275ccf"]("app-audioplayer-gui",wr,Mn,{},{},[]),Zu=["#overlay-transcr[_ngcontent-%COMP%]{position:relative;-webkit-box-flex:1;-ms-flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;flex:1 0 auto}[_ngcontent-%COMP%]::-webkit-scrollbar{-webkit-appearance:none;width:7px}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px;background-color:rgba(0,0,0,.5);-webkit-box-shadow:0 0 1px hsla(0,0%,100%,.5)}#special[_ngcontent-%COMP%]{width:100%;background-color:#fff;padding:0;border:1px solid dimgray}[_nghost-%COMP%]{-webkit-box-flex:1;-ms-flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;flex:1 0 auto}"],ea=["#window[_ngcontent-%COMP%]{width:95%;z-index:100;padding:10px;margin:2.5%;border:1px solid gray;box-shadow:10px 10px 50px grey}#black[_ngcontent-%COMP%], #window[_ngcontent-%COMP%]{position:absolute;background-color:#fff}#black[_ngcontent-%COMP%]{width:100%;display:block;height:100%;z-index:99;opacity:.7}.window-nav-bottom[_ngcontent-%COMP%], .window-nav-top[_ngcontent-%COMP%]{display:block;width:100%;text-align:right}.window-nav-top[_ngcontent-%COMP%]{height:2em}.window-nav-bottom[_ngcontent-%COMP%]{bottom:0}#window[_ngcontent-%COMP%] .audio-nav[_ngcontent-%COMP%]{margin-bottom:-10px}"],na=[".loupe[_ngcontent-%COMP%]{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:auto;flex:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}"],ta=[".audioviewer[_ngcontent-%COMP%]{width:100%;height:100%;resize:vertical;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:auto;flex:auto}.audioviewer[_ngcontent-%COMP%], .audioviewer[_ngcontent-%COMP%] .audio-line[_ngcontent-%COMP%]{position:relative}.graphicscanvas[_ngcontent-%COMP%], .mousecanvas[_ngcontent-%COMP%], .overlaycanvas[_ngcontent-%COMP%], .playcanvas[_ngcontent-%COMP%]{position:absolute;-ms-user-select:none;user-select:none;-webkit-user-select:none;-moz-user-select:none}.graphicscanvas[_ngcontent-%COMP%]{z-index:1}.overlaycanvas[_ngcontent-%COMP%]{z-index:2}.mousecanvas[_ngcontent-%COMP%]{z-index:3}.playcanvas[_ngcontent-%COMP%]{z-index:4;cursor:default}.playcanvas.dragable[_ngcontent-%COMP%]{cursor:move}.scrollbar[_ngcontent-%COMP%], [_nghost-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:auto;flex:auto;height:100%}.scrollbar[_ngcontent-%COMP%]{position:absolute;background-color:#fff;width:20px;z-index:20;right:0;border:1px solid gray;cursor:pointer}.scrollbar[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%]{height:20px;width:100%;background-color:#00aa9a;cursor:pointer}.placeholder[_ngcontent-%COMP%]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:auto;flex:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;vertical-align:middle;text-align:center;background-color:#fff}.placeholder[_ngcontent-%COMP%] .fa-spinner[_ngcontent-%COMP%]{margin:1% auto}"],la=[ta],ia=Wt["\u0275crt"]({encapsulation:0,styles:la,data:{}}),ra=(Wt["\u0275ccf"]("app-audioviewer",Zi,En,{margin:"margin",audiochunk:"audiochunk",name:"name"},{selchange:"selchange",segmententer:"segmententer",segmentchange:"segmentchange",mousecursorchange:"mousecursorchange",playcursorchange:"playcursorchange",shortcuttriggered:"shortcuttriggered",alerttriggered:"alerttriggered",scrolling:"scrolling",scrollbarchange:"scrollbarchange",pos_time:"pos_time"},[]),[na]),oa=Wt["\u0275crt"]({encapsulation:0,styles:ra,data:{}}),ua=(Wt["\u0275ccf"]("app-loupe",tr,Dn,{audiochunk:"audiochunk",height:"height",margin:"margin",Settings:"Settings"},{mousecursorchange:"mousecursorchange",shortcuttriggered:"shortcuttriggered",segmententer:"segmententer",alerttriggered:"alerttriggered"},[]),[ea]),aa=Wt["\u0275crt"]({encapsulation:0,styles:ua,data:{}}),sa=(Wt["\u0275ccf"]("app-transcr-window",jr,qn,{easymode:"easymode",audiochunk:"audiochunk",segment_index:"segment_index"},{act:"act",shortcuttriggered:"shortcuttriggered",marker_insert:"marker_insert",marker_click:"marker_click"},[]),[".circleloupe[_ngcontent-%COMP%], .loupe[_ngcontent-%COMP%], [_nghost-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:auto;flex:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}"]),ca=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])};return function(n,t){function l(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}}(),da=function(e){function n(n){var t=e.call(this)||this;return t.audio=n,t}return ca(n,e),n.ctorParameters=function(){return[{type:fi}]},n}(gi),pa=[sa],ha=Wt["\u0275crt"]({encapsulation:0,styles:pa,data:{}}),fa=(Wt["\u0275ccf"]("app-circleloupe",nr,$n,{audiochunk:"audiochunk",height:"height",width:"width"},{},[]),[Zu]),ga=Wt["\u0275crt"]({encapsulation:0,styles:fa,data:{}}),ma=Wt["\u0275ccf"]("app-overlay-gui",yr,Qn,{},{},[]),va=["#viewer[_ngcontent-%COMP%]{max-height:200px}#editor-placeholder[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:auto;flex:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;display:-webkit-box;display:-ms-flexbox;display:flex;background-color:#fff;border:1px dashed gray;padding:10px;width:100%;text-align:center}#editor-placeholder[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%]{margin:auto 0}.loupe[_ngcontent-%COMP%]{margin-top:10px}[_nghost-%COMP%]{-webkit-box-flex:1;-ms-flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;flex:1 0 auto}"],ba=[va],ya=Wt["\u0275crt"]({encapsulation:0,styles:ba,data:{}}),_a=Wt["\u0275ccf"]("app-signal-gui",_r,nt,{},{},[]),wa=[".container.inner[_ngcontent-%COMP%]{padding-bottom:10px;padding-top:10px;box-shadow:0 1px 6px #a0a0a0}#beta_mark[_ngcontent-%COMP%]{color:red;position:absolute;margin-left:20px;z-index:10}[_nghost-%COMP%]{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}"],Sa=["#bgProtocol[_ngcontent-%COMP%]{font-size:12px;height:200px;font-family:Courier New,Arial;border:1px solid #d3d3d3;padding:5px}.bugsent[_ngcontent-%COMP%]{position:absolute;right:0;margin-right:30px;top:0;width:100%;text-align:center}[_ngcontent-%COMP%]::-webkit-scrollbar{-webkit-appearance:none;width:7px}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px;background-color:rgba(0,0,0,.5);-webkit-box-shadow:0 0 1px hsla(0,0%,100%,.5)}"],ka=[Sa],Oa=Wt["\u0275crt"]({encapsulation:0,styles:ka,data:{}}),xa=(Wt["\u0275ccf"]("app-octra-modal",pr,ct,{},{},[]),[".navbar[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{cursor:pointer}.navbar-brand[_ngcontent-%COMP%], .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{padding-top:4px!important;padding-bottom:0!important;vertical-align:middle;line-height:inherit;height:30px}.navbar[_ngcontent-%COMP%]{min-height:30px!important;margin-bottom:0}.navbar[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%]{padding-top:3px!important;vertical-align:middle;font-size:1.3em}.navbar[_ngcontent-%COMP%] .navbar-toggle[_ngcontent-%COMP%]{padding:0}.glyphicon[_ngcontent-%COMP%]{font-size:100%;color:#0b0080}.navbar-icon[_ngcontent-%COMP%]{color:#fff;font-size:100%}.info-menu[_ngcontent-%COMP%], .options-menu[_ngcontent-%COMP%]{padding:20px;font-size:.7em;min-width:300px}.dropdown-menu.info-menu.collaps[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .dropdown-menu.options-menu.collaps[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#000}.dropdown-menu.info-menu[_ngcontent-%COMP%] label[_ngcontent-%COMP%], .dropdown-menu.info-menu[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .dropdown-menu.options-menu[_ngcontent-%COMP%] label[_ngcontent-%COMP%], .dropdown-menu.options-menu[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{color:#fff}.options-menu[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{border:none;font-size:1.1em}.options-menu[_ngcontent-%COMP%] .table[_ngcontent-%COMP%]{margin-bottom:0}.info-menu[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{border:none;font-size:11px}#subnav[_ngcontent-%COMP%], .info-menu[_ngcontent-%COMP%] .table[_ngcontent-%COMP%]{margin-bottom:0}#subnav[_ngcontent-%COMP%]{padding:3px;text-align:center;background-color:#bae6f3}#modalstatis[_ngcontent-%COMP%] .modal-dialog[_ngcontent-%COMP%]{width:100%}.row.level-row[_ngcontent-%COMP%]{border:1px solid gray;padding:5px}.row.level-row.selected[_ngcontent-%COMP%], .row.level-row.selected[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{background-color:#a5fabe}.row.level-row.disabled[_ngcontent-%COMP%]{opacity:.3}.row.level-row[_ngcontent-%COMP%] .col-xs-8[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{padding:3px;width:100%}.row.level-row[_ngcontent-%COMP%] .col-xs-8[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{border:1px solid #d3d3d3}.row.level-row[_ngcontent-%COMP%] .col-xs-2[_ngcontent-%COMP%] .glyphicon.glyphicon-trash[_ngcontent-%COMP%]{cursor:pointer}.row.level-add-row[_ngcontent-%COMP%]{margin-top:5px;border:1px dashed gray;text-align:center;padding:5px;cursor:pointer}.row.level-row[_ngcontent-%COMP%] .col-xs-2[_ngcontent-%COMP%]{padding-top:5px;text-align:center;vertical-align:middle;height:100%}.row.level-row[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{color:#000}#export-table[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{cursor:pointer}"]),Ca=[xa],Pa=Wt["\u0275crt"]({encapsulation:0,styles:Ca,data:{}}),ja=(Wt["\u0275ccf"]("app-navigation",Or,zt,{version:"version"},{},[]),[wa]),Ra=Wt["\u0275crt"]({encapsulation:0,styles:ja,data:{}}),Ma=Wt["\u0275ccf"]("app-octra",Zr,Vt,{},{},[]),Ta=t("f9zQ"),Na=t("KIVP"),Ia=t("6A7A"),Ea=t("a3e3"),Aa=t("t0d0"),Da=t("R08E"),La=t("Qg/J"),Ua=t("maBJ"),za=t("BhHz"),Fa=t("poDJ"),Ba=t("4zAq"),Va=t("bIam"),Wa=t("x/Up"),qa=t("pUrG"),Ka=t("pBJ6"),$a=Wt["\u0275cmf"](so,[Zr],function(e){return Wt["\u0275mod"]([Wt["\u0275mpd"](512,Wt.ComponentFactoryResolver,Wt["\u0275CodegenComponentFactoryResolver"],[[8,[co.a,Oo,jo,No,Do,Fo,qo,Ho,Jo,ku,Pu,Tu,Au,zu,Ju,ma,_a,Ma]],[3,Wt.ComponentFactoryResolver],Wt.NgModuleRef]),Wt["\u0275mpd"](5120,Wt.LOCALE_ID,Wt["\u0275m"],[[3,Wt.LOCALE_ID]]),Wt["\u0275mpd"](4608,go.NgLocalization,go.NgLocaleLocalization,[Wt.LOCALE_ID]),Wt["\u0275mpd"](5120,Wt.APP_ID,Wt["\u0275f"],[]),Wt["\u0275mpd"](5120,Wt.IterableDiffers,Wt["\u0275k"],[]),Wt["\u0275mpd"](5120,Wt.KeyValueDiffers,Wt["\u0275l"],[]),Wt["\u0275mpd"](4608,Kt.c,Kt.t,[go.DOCUMENT]),Wt["\u0275mpd"](6144,Wt.Sanitizer,null,[Kt.c]),Wt["\u0275mpd"](4608,Kt.f,Kt.g,[]),Wt["\u0275mpd"](5120,Kt.d,function(e,n,t,l){return[new Kt.l(e),new Kt.p(n),new Kt.o(t,l)]},[go.DOCUMENT,go.DOCUMENT,go.DOCUMENT,Kt.f]),Wt["\u0275mpd"](4608,Kt.e,Kt.e,[Kt.d,Wt.NgZone]),Wt["\u0275mpd"](135680,Kt.n,Kt.n,[go.DOCUMENT]),Wt["\u0275mpd"](4608,Kt.m,Kt.m,[Kt.e,Kt.n]),Wt["\u0275mpd"](5120,Ta.a,no.d,[]),Wt["\u0275mpd"](5120,Ta.c,no.e,[]),Wt["\u0275mpd"](4608,Ta.b,no.c,[Ta.a,Ta.c]),Wt["\u0275mpd"](5120,Wt.RendererFactory2,no.f,[Kt.m,Ta.b,Wt.NgZone]),Wt["\u0275mpd"](6144,Kt.q,null,[Kt.n]),Wt["\u0275mpd"](4608,Wt.Testability,Wt.Testability,[Wt.NgZone]),Wt["\u0275mpd"](4608,Kt.h,Kt.h,[go.DOCUMENT]),Wt["\u0275mpd"](4608,Kt.j,Kt.j,[go.DOCUMENT]),Wt["\u0275mpd"](4608,Tl.b,no.b,[Wt.RendererFactory2,Kt.b]),Wt["\u0275mpd"](4608,$t.z,$t.z,[]),Wt["\u0275mpd"](4608,Xt.c,Xt.c,[]),Wt["\u0275mpd"](4608,Xt.l,Xt.b,[]),Wt["\u0275mpd"](5120,Xt.o,Xt.q,[]),Wt["\u0275mpd"](4608,Xt.n,Xt.n,[Xt.c,Xt.l,Xt.o]),Wt["\u0275mpd"](4608,Xt.j,Xt.a,[]),Wt["\u0275mpd"](5120,Xt.e,Xt.r,[Xt.n,Xt.j]),Wt["\u0275mpd"](4608,Xt.t,Xt.t,[]),Wt["\u0275mpd"](4608,Xt.g,Xt.p,[Xt.t,Xt.l]),Wt["\u0275mpd"](5120,Xt.h,Xt.s,[Xt.g,Xt.j]),Wt["\u0275mpd"](4608,Na.a,Na.a,[]),Wt["\u0275mpd"](4608,Ia.a,Ia.a,[]),Wt["\u0275mpd"](4608,$t.f,$t.f,[]),Wt["\u0275mpd"](5120,Ea.b,i,[Xt.e]),Wt["\u0275mpd"](4608,Aa.a,Aa.b,[]),Wt["\u0275mpd"](4608,Da.b,Da.a,[]),Wt["\u0275mpd"](4608,La.b,La.a,[]),Wt["\u0275mpd"](4608,Ua.a,Ua.a,[]),Wt["\u0275mpd"](4608,fo.a,fo.a,[Ua.a,Ea.b,Aa.a,Da.b,La.b,fo.b,fo.c]),Wt["\u0275mpd"](4608,za.a,za.a,[]),Wt["\u0275mpd"](4608,Fa.a,Fa.a,[Wt.ComponentFactoryResolver,Wt.NgZone,Wt.Injector,za.a,Wt.ApplicationRef]),Wt["\u0275mpd"](4608,Ba.a,Ba.a,[]),Wt["\u0275mpd"](5120,hr.a,hr.x,[hr.k]),Wt["\u0275mpd"](4608,hr.d,hr.d,[]),Wt["\u0275mpd"](6144,hr.f,null,[hr.d]),Wt["\u0275mpd"](135680,hr.p,hr.p,[hr.k,Wt.NgModuleFactoryLoader,Wt.Compiler,Wt.Injector,hr.f]),Wt["\u0275mpd"](4608,hr.e,hr.e,[]),Wt["\u0275mpd"](5120,hr.h,hr.A,[hr.y]),Wt["\u0275mpd"](5120,Wt.APP_BOOTSTRAP_LISTENER,function(e){return[e]},[hr.h]),Wt["\u0275mpd"](4608,Oi,Oi,[Na.a,Ia.a]),Wt["\u0275mpd"](4608,Ur,Ur,[Oi,hr.k]),Wt["\u0275mpd"](4608,Fl,Fl,[Xt.e,Kt.c]),Wt["\u0275mpd"](4608,fi,fi,[Xt.e]),Wt["\u0275mpd"](4608,Qi,Qi,[]),Wt["\u0275mpd"](4608,Gr,Gr,[]),Wt["\u0275mpd"](4608,vi,vi,[]),Wt["\u0275mpd"](4608,zr,zr,[Oi,hr.k]),Wt["\u0275mpd"](4608,Ri,Ri,[Xt.e,Oi]),Wt["\u0275mpd"](4608,Tr,Tr,[Oi,hr.k,Ri]),Wt["\u0275mpd"](4608,mi,mi,[]),Wt["\u0275mpd"](4608,Pi,Pi,[Oi]),Wt["\u0275mpd"](4608,Ir,Ir,[Oi,hr.k,Ri]),Wt["\u0275mpd"](4608,Er,Er,[Oi,hr.k,Ri]),Wt["\u0275mpd"](4608,Fr,Fr,[Oi,hr.k,Ri]),Wt["\u0275mpd"](4608,Nr,Nr,[Oi,hr.k]),Wt["\u0275mpd"](4608,dr,dr,[fo.a,Oi,Ri,Xt.e]),Wt["\u0275mpd"](512,go.CommonModule,go.CommonModule,[]),Wt["\u0275mpd"](1024,Wt.ErrorHandler,Kt.r,[]),Wt["\u0275mpd"](1024,Wt.NgProbeToken,function(){return[hr.t()]},[]),Wt["\u0275mpd"](512,hr.y,hr.y,[Wt.Injector]),Wt["\u0275mpd"](1024,Wt.APP_INITIALIZER,function(e,n,t){return[Kt.s(e,n),hr.z(t)]},[[2,Kt.i],[2,Wt.NgProbeToken],hr.y]),Wt["\u0275mpd"](512,Wt.ApplicationInitStatus,Wt.ApplicationInitStatus,[[2,Wt.APP_INITIALIZER]]),Wt["\u0275mpd"](131584,Wt["\u0275e"],Wt["\u0275e"],[Wt.NgZone,Wt["\u0275Console"],Wt.Injector,Wt.ErrorHandler,Wt.ComponentFactoryResolver,Wt.ApplicationInitStatus]),Wt["\u0275mpd"](2048,Wt.ApplicationRef,null,[Wt["\u0275e"]]),Wt["\u0275mpd"](512,Wt.ApplicationModule,Wt.ApplicationModule,[Wt.ApplicationRef]),Wt["\u0275mpd"](512,Kt.a,Kt.a,[[3,Kt.a]]),Wt["\u0275mpd"](512,no.a,no.a,[]),Wt["\u0275mpd"](512,Ht.b,Ht.b,[]),Wt["\u0275mpd"](512,Va.a,Va.a,[]),Wt["\u0275mpd"](512,Wa.a,Wa.a,[]),Wt["\u0275mpd"](512,$t.v,$t.v,[]),Wt["\u0275mpd"](512,$t.g,$t.g,[]),Wt["\u0275mpd"](512,Xt.f,Xt.f,[]),Wt["\u0275mpd"](512,Xt.i,Xt.i,[]),Wt["\u0275mpd"](256,Gt.e,{separator:".",prefix:"custom"},[]),Wt["\u0275mpd"](1024,qa.a,Gt.f,[Gt.e]),Wt["\u0275mpd"](512,Gt.b,Gt.b,[Wt.NgZone,[2,qa.a]]),Wt["\u0275mpd"](512,Qt.Ng2Bs3ModalModule,Qt.Ng2Bs3ModalModule,[]),Wt["\u0275mpd"](512,$t.s,$t.s,[]),Wt["\u0275mpd"](1024,hr.s,hr.v,[[3,hr.k]]),Wt["\u0275mpd"](512,hr.r,hr.c,[]),Wt["\u0275mpd"](512,hr.b,hr.b,[]),Wt["\u0275mpd"](256,hr.g,{},[]),Wt["\u0275mpd"](1024,go.LocationStrategy,hr.u,[go.PlatformLocation,[2,go.APP_BASE_HREF],hr.g]),Wt["\u0275mpd"](512,go.Location,go.Location,[go.LocationStrategy]),Wt["\u0275mpd"](512,Wt.Compiler,Wt.Compiler,[]),Wt["\u0275mpd"](512,Wt.NgModuleFactoryLoader,Wt.SystemJsNgModuleLoader,[Wt.Compiler,[2,Wt.SystemJsNgModuleLoaderConfig]]),Wt["\u0275mpd"](1024,hr.i,function(){return[[{path:"",redirectTo:"/login",pathMatch:"full"},{path:"login",component:mr,canActivate:[Fr,Ur]},{path:"news",component:Br,canActivate:[Fr]},{path:"faq",component:Vr,canActivate:[Fr]},{path:"features",component:qr,canActivate:[Fr]},{path:"logout",component:vr,canActivate:[Fr,zr]},{path:"user",component:br,canActivate:[Fr],children:[{path:"load",component:fr},{path:"agreement",component:Ar,canActivate:[Tr]},{path:"transcr",component:xr,canActivate:[Er,Tr]},{path:"transcr/help",component:Dr,canActivate:[Er,Tr]},{path:"transcr/end",component:Cr,canActivate:[Nr]},{path:"transcr/reload-file",component:Rr,canActivate:[Ir]},{path:"",redirectTo:"/user/load",pathMatch:"full"}]},{path:"help-tools",component:Wr},{path:"**",redirectTo:"/login",pathMatch:"full"}]]},[]),Wt["\u0275mpd"](1024,hr.k,hr.w,[Wt.ApplicationRef,hr.r,hr.b,go.Location,Wt.Injector,Wt.NgModuleFactoryLoader,Wt.Compiler,hr.i,hr.g,[2,hr.q],[2,hr.j]]),Wt["\u0275mpd"](512,hr.n,hr.n,[[2,hr.s],[2,hr.k]]),Wt["\u0275mpd"](512,so,so,[]),Wt["\u0275mpd"](256,fo.c,void 0,[]),Wt["\u0275mpd"](256,fo.b,void 0,[]),Wt["\u0275mpd"](256,Ka.a,{autoClose:!0},[])])});qt.production&&Object(Wt.enableProdMode)(),Object(Kt.k)().bootstrapModuleFactory($a)},gFIY:function(e,n){function t(e){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+e+"'.")})}t.keys=function(){return[]},t.resolve=t,e.exports=t,t.id="gFIY"}},[0]);
\ No newline at end of file
diff --git a/dist/vendor.5a4665221def31d56728.bundle.js b/dist/vendor.f40b52393b48e11556b5.bundle.js
similarity index 99%
rename from dist/vendor.5a4665221def31d56728.bundle.js
rename to dist/vendor.f40b52393b48e11556b5.bundle.js
index 29f20c0c2..128cf5012 100644
--- a/dist/vendor.5a4665221def31d56728.bundle.js
+++ b/dist/vendor.f40b52393b48e11556b5.bundle.js
@@ -1 +1 @@
-webpackJsonp([3],{"+0Ji":function(t,e,n){"use strict";var r=n("bKpL"),o=n("l/Fw");r.Observable.prototype.sample=o.sample},"+K1p":function(t,e,n){"use strict";function r(t){return i["\u0275vid"](0,[(t()(),i["\u0275ted"](-1,null,["\n "])),(t()(),i["\u0275eld"](1,0,null,null,7,"div",[["class","modal-dialog"]],null,null,null,null,null)),i["\u0275did"](2,278528,null,0,s.NgClass,[i.IterableDiffers,i.KeyValueDiffers,i.ElementRef,i.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),i["\u0275ted"](-1,null,["\n "])),(t()(),i["\u0275eld"](4,0,null,null,3,"div",[["class","modal-content"]],null,null,null,null,null)),(t()(),i["\u0275ted"](-1,null,["\n "])),i["\u0275ncd"](null,0),(t()(),i["\u0275ted"](-1,null,["\n "])),(t()(),i["\u0275ted"](-1,null,["\n "])),(t()(),i["\u0275ted"](-1,null,["\n "]))],function(t,e){t(e,2,0,"modal-dialog",e.component.getCssClasses())},null)}function o(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"modal",[["class","modal"],["role","dialog"],["tabindex","-1"]],[[2,"fade",null],[1,"data-keyboard",0],[1,"data-backdrop",0]],null,null,r,c)),i["\u0275did"](1,180224,null,0,a.ModalComponent,[i.ElementRef],null,null)],null,function(t,e){t(e,0,0,i["\u0275nov"](e,1).fadeClass,i["\u0275nov"](e,1).dataKeyboardAttr,i["\u0275nov"](e,1).dataBackdropAttr)})}n.d(e,"a",function(){return c}),e.b=r;var i=n("/oeL"),s=n("qbdv"),a=n("vCyR"),u=(n.n(a),[]),c=i["\u0275crt"]({encapsulation:2,styles:u,data:{}});i["\u0275ccf"]("modal",a.ModalComponent,o,{animation:"animation",backdrop:"backdrop",keyboard:"keyboard",size:"size",cssClass:"cssClass"},{onClose:"onClose",onDismiss:"onDismiss",onOpen:"onOpen"},["*"])},"+Ve+":function(t,e,n){"use strict";var r=n("bKpL"),o=n("I3ay");r.Observable.prototype.concatAll=o.concatAll},"+c7d":function(t,e,n){"use strict";function r(){for(var t=[],e=0;e-1)return e.push(t[n]),e;e.push(t[n])}return e}function C(t){if(t.length>1){return" ("+O(t.slice().reverse()).map(function(t){return s(t.token)}).join(" -> ")+")"}return""}function S(t,e,n,r){var o=[e],i=n(o),s=r?w(i,r):Error(i);return s.addKey=x,s.keys=o,s.injectors=[t],s.constructResolvingMessage=n,s[_i]=r,s}function x(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)}function E(t,e){return S(t,e,function(t){return"No provider for "+s(t[0].token)+"!"+C(t)})}function T(t,e){return S(t,e,function(t){return"Cannot instantiate cyclic dependency!"+C(t)})}function P(t,e,n,r){return S(t,r,function(t){var n=s(t[0].token);return e.message+": Error during instantiation of "+n+"!"+C(t)+"."},e)}function j(t){return Error("Invalid provider - only instances of Provider and Type are allowed, got: "+t)}function A(t,e){for(var n=[],r=0,o=e.length;r-1&&t.splice(n,1)}function bt(t,e){var n=Vs.get(t);if(n)throw new Error("Duplicate module registered for "+t+" - "+n.moduleType.name+" vs "+e.moduleType.name);Vs.set(t,e)}function gt(t){var e=Vs.get(t);if(!e)throw new Error("No module with ID "+t+" loaded");return e}function _t(t){return t.reduce(function(t,e){var n=Array.isArray(e)?_t(e):e;return t.concat(n)},[])}function wt(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}function Ot(t){return t.map(function(t){return t.nativeElement})}function Ct(t,e,n){t.childNodes.forEach(function(t){t instanceof Js&&(e(t)&&n.push(t),Ct(t,e,n))})}function St(t,e,n){t instanceof Js&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof Js&&St(t,e,n)})}function xt(t){return Xs.get(t)||null}function Et(t){Xs.set(t.nativeNode,t)}function Tt(t){Xs.delete(t.nativeNode)}function Pt(t,e){var n=jt(t),r=jt(e);if(n&&r)return At(t,e,Pt);var o=t&&("object"==typeof t||"function"==typeof t),s=e&&("object"==typeof e||"function"==typeof e);return!(n||!o||r||!s)||i(t,e)}function jt(t){return!!It(t)&&(Array.isArray(t)||!(t instanceof Map)&&r()in t)}function At(t,e,n){for(var o=t[r()](),i=e[r()]();;){var s=o.next(),a=i.next();if(s.done&&a.done)return!0;if(s.done||a.done)return!1;if(!n(s.value,a.value))return!1}}function Rt(t,e){if(Array.isArray(t))for(var n=0;n0&&Me(t,e,0,n)&&(h=!0),f>1&&Me(t,e,1,r)&&(h=!0),f>2&&Me(t,e,2,o)&&(h=!0),f>3&&Me(t,e,3,i)&&(h=!0),f>4&&Me(t,e,4,s)&&(h=!0),f>5&&Me(t,e,5,a)&&(h=!0),f>6&&Me(t,e,6,u)&&(h=!0),f>7&&Me(t,e,7,c)&&(h=!0),f>8&&Me(t,e,8,l)&&(h=!0),f>9&&Me(t,e,9,p)&&(h=!0),h}function Ne(t,e,n){for(var r=!1,o=0;o0?o[n-1]:null,r)}function Ze(t,e){var n=se(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),Je(e.parent.def,e.parentNodeDef)}}function Je(t,e){if(!(4&e.flags)){t.nodeFlags|=4,e.flags|=4;for(var n=e.parent;n;)n.childFlags|=4,n=n.parent}}function Xe(t,e){var n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,rn(n,e),Ea.dirtyParentQueries(r),en(r),r}function Ye(t){if(16&t.state){var e=se(t);if(e){var n=e.template._projectedViews;n&&(rn(n,n.indexOf(t)),Ea.dirtyParentQueries(t))}}}function $e(t,e,n){var r=t.viewContainer._embeddedViews,o=r[e];return rn(r,e),null==n&&(n=r.length),nn(r,n,o),Ea.dirtyParentQueries(o),en(o),tn(t,n>0?r[n-1]:null,o),o}function tn(t,e,n){var r=e?ue(e,e.def.lastRenderRootNode):t.renderElement;be(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function en(t){be(t,3,null,null,void 0)}function nn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function rn(t,e){e>=t.length-1?t.pop():t.splice(e,1)}function on(t,e,n,r,o,i){return new Ba(t,e,n,r,o,i)}function sn(t){return t.viewDefFactory}function an(t,e,n){return new Ua(t,e,n)}function un(t){return new qa(t)}function cn(t,e){return new Ka(t,e)}function ln(t,e){return new za(t,e)}function pn(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=Bt(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Ft(t,n.nodeIndex).renderText;if(20240&n.flags)return Ht(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function fn(t){return new Wa(t.renderer)}function hn(t,e,n,r){return new Ga(t,e,n,r)}function dn(t,e,n,r,o,i,s,a){var u=[];if(s)for(var c in s){var l=s[c],p=l[0],f=l[1];u[p]={flags:8,name:c,nonMinifiedName:f,ns:null,securityContext:null,suffix:null}}var h=[];if(a)for(var d in a)h.push({type:1,propName:d,target:null,eventName:a[d]});return e|=16384,mn(t,e,n,r,o,o,i,u,h)}function yn(t,e,n){return t|=16,mn(-1,t,null,0,e,e,n)}function vn(t,e,n,r,o){return mn(-1,t,e,0,n,r,o)}function mn(t,e,n,r,o,i,s,a,u){var c=he(n),l=c.matchedQueries,p=c.references,f=c.matchedQueryIds;u||(u=[]),a||(a=[]);var h=de(s);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:l,matchedQueryIds:f,references:p,ngContentIndex:-1,childCount:r,bindings:a,bindingFlags:Se(a),outputs:u,element:null,provider:{token:o,value:i,deps:h},text:null,query:null,ngContent:null}}function bn(t,e){return Sn(t,e)}function gn(t,e){for(var n=t;n.parent&&!le(n);)n=n.parent;return xn(n.parent,ae(n),!0,e.provider.value,e.provider.deps)}function _n(t,e){var n=(32768&e.flags)>0,r=xn(t,e.parent,n,e.provider.value,e.provider.deps);if(e.outputs.length)for(var o=0;o0&&te(t,e,0,n)&&(d=!0,y=jn(t,f,e,0,n,y)),v>1&&te(t,e,1,r)&&(d=!0,y=jn(t,f,e,1,r,y)),v>2&&te(t,e,2,o)&&(d=!0,y=jn(t,f,e,2,o,y)),v>3&&te(t,e,3,i)&&(d=!0,y=jn(t,f,e,3,i,y)),v>4&&te(t,e,4,s)&&(d=!0,y=jn(t,f,e,4,s,y)),v>5&&te(t,e,5,a)&&(d=!0,y=jn(t,f,e,5,a,y)),v>6&&te(t,e,6,u)&&(d=!0,y=jn(t,f,e,6,u,y)),v>7&&te(t,e,7,c)&&(d=!0,y=jn(t,f,e,7,c,y)),v>8&&te(t,e,8,l)&&(d=!0,y=jn(t,f,e,8,l,y)),v>9&&te(t,e,9,p)&&(d=!0,y=jn(t,f,e,9,p,y)),y&&h.ngOnChanges(y),2&t.state&&65536&e.flags&&h.ngOnInit(),262144&e.flags&&h.ngDoCheck(),d}function Cn(t,e,n){for(var r=Ht(t,e.nodeIndex),o=r.instance,i=!1,s=void 0,a=0;a0,r=e.provider;switch(201347067&e.flags){case 512:return xn(t,e.parent,n,r.value,r.deps);case 1024:return En(t,e.parent,n,r.value,r.deps);case 2048:return Tn(t,e.parent,n,r.deps[0]);case 256:return r.value}}function xn(t,e,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(Tn(t,e,n,o[0]));case 2:return new r(Tn(t,e,n,o[0]),Tn(t,e,n,o[1]));case 3:return new r(Tn(t,e,n,o[0]),Tn(t,e,n,o[1]),Tn(t,e,n,o[2]));default:for(var s=new Array(i),a=0;a0&&ee(t,e,0,n)&&(h=!0),d>1&&ee(t,e,1,r)&&(h=!0),d>2&&ee(t,e,2,o)&&(h=!0),d>3&&ee(t,e,3,i)&&(h=!0),d>4&&ee(t,e,4,s)&&(h=!0),d>5&&ee(t,e,5,a)&&(h=!0),d>6&&ee(t,e,6,u)&&(h=!0),d>7&&ee(t,e,7,c)&&(h=!0),d>8&&ee(t,e,8,l)&&(h=!0),d>9&&ee(t,e,9,p)&&(h=!0),h){var y=Ut(t,e.nodeIndex),v=void 0;switch(201347067&e.flags){case 32:v=new Array(f.length),d>0&&(v[0]=n),d>1&&(v[1]=r),d>2&&(v[2]=o),d>3&&(v[3]=i),d>4&&(v[4]=s),d>5&&(v[5]=a),d>6&&(v[6]=u),d>7&&(v[7]=c),d>8&&(v[8]=l),d>9&&(v[9]=p);break;case 64:v={},d>0&&(v[f[0].name]=n),d>1&&(v[f[1].name]=r),d>2&&(v[f[2].name]=o),d>3&&(v[f[3].name]=i),d>4&&(v[f[4].name]=s),d>5&&(v[f[5].name]=a),d>6&&(v[f[6].name]=u),d>7&&(v[f[7].name]=c),d>8&&(v[f[8].name]=l),d>9&&(v[f[9].name]=p);break;case 128:var m=n;switch(d){case 1:v=m.transform(n);break;case 2:v=m.transform(r);break;case 3:v=m.transform(r,o);break;case 4:v=m.transform(r,o,i);break;case 5:v=m.transform(r,o,i,s);break;case 6:v=m.transform(r,o,i,s,a);break;case 7:v=m.transform(r,o,i,s,a,u);break;case 8:v=m.transform(r,o,i,s,a,u,c);break;case 9:v=m.transform(r,o,i,s,a,u,c,l);break;case 10:v=m.transform(r,o,i,s,a,u,c,l,p)}}y.value=v}return h}function Gn(t,e,n){for(var r=e.bindings,o=!1,i=0;i0&&ee(t,e,0,n)&&(f=!0),d>1&&ee(t,e,1,r)&&(f=!0),d>2&&ee(t,e,2,o)&&(f=!0),d>3&&ee(t,e,3,i)&&(f=!0),d>4&&ee(t,e,4,s)&&(f=!0),d>5&&ee(t,e,5,a)&&(f=!0),d>6&&ee(t,e,6,u)&&(f=!0),d>7&&ee(t,e,7,c)&&(f=!0),d>8&&ee(t,e,8,l)&&(f=!0),d>9&&ee(t,e,9,p)&&(f=!0),f){var y=e.text.prefix;d>0&&(y+=Yn(n,h[0])),d>1&&(y+=Yn(r,h[1])),d>2&&(y+=Yn(o,h[2])),d>3&&(y+=Yn(i,h[3])),d>4&&(y+=Yn(s,h[4])),d>5&&(y+=Yn(a,h[5])),d>6&&(y+=Yn(u,h[6])),d>7&&(y+=Yn(c,h[7])),d>8&&(y+=Yn(l,h[8])),d>9&&(y+=Yn(p,h[9]));var v=Ft(t,e.nodeIndex).renderText;t.renderer.setValue(v,y)}return f}function Xn(t,e,n){for(var r=e.bindings,o=!1,i=0;i0)c=y,tr(y)||(l=y);else for(;c&&d===c.nodeIndex+c.childCount;){var g=c.parent;g&&(g.childFlags|=c.childFlags,g.childMatchedQueries|=c.childMatchedQueries),c=g,l=c&&tr(c)?c.renderParent:c}}var _=function(t,n,r,o){return e[n].element.handleEvent(t,r,o)};return{factory:null,nodeFlags:s,rootNodeFlags:a,nodeMatchedQueries:u,flags:t,nodes:e,updateDirectives:n||Ta,updateRenderer:r||Ta,handleEvent:_,bindingCount:o,outputCount:i,lastRenderRootNode:h}}function tr(t){return 0!=(1&t.flags)&&null===t.element.name}function er(t,e,n){var r=e.element&&e.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+e.nodeIndex+"!")}if(20224&e.flags){if(0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!")}if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var o=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=o&&e.nodeIndex+e.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function nr(t,e,n,r){var o=ir(t.root,t.renderer,t,e,n);return sr(o,t.component,r),ar(o),o}function rr(t,e,n){var r=ir(t,t.renderer,null,null,e);return sr(r,n,n),ar(r),r}function or(t,e,n,r){var o,i=e.element.componentRendererType;return o=i?t.root.rendererFactory.createRenderer(r,i):t.root.renderer,ir(t.root,o,t,e.element.componentProvider,n)}function ir(t,e,n,r,o){var i=new Array(o.nodes.length),s=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:t,renderer:e,oldValues:new Array(o.bindingCount),disposables:s}}function sr(t,e,n){t.component=e,t.context=n}function ar(t){var e;if(le(t)){var n=t.parentNodeDef;e=Bt(t.parent,n.parent.nodeIndex).renderElement}for(var r=t.def,o=t.nodes,i=0;i0&&ne(t,e,0,n),f>1&&ne(t,e,1,r),f>2&&ne(t,e,2,o),f>3&&ne(t,e,3,i),f>4&&ne(t,e,4,s),f>5&&ne(t,e,5,a),f>6&&ne(t,e,6,u),f>7&&ne(t,e,7,c),f>8&&ne(t,e,8,l),f>9&&ne(t,e,9,p)}function vr(t,e,n){for(var r=0;r=this._providers.length)throw R(t);return this._providers[t]},t.prototype._new=function(t){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw T(this,t.key);return this._instantiateProvider(t)},t.prototype._getMaxNumberOfObjects=function(){return this.objs.length},t.prototype._instantiateProvider=function(t){if(t.multiProvider){for(var e=new Array(t.resolvedFactories.length),n=0;n0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+s(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},e}(xs);Es.decorators=[{type:li}],Es.ctorParameters=function(){return[{type:mi}]};var Ts=function(){function t(){}return t.prototype.bootstrap=function(t,e){},t.prototype.tick=function(){},t.prototype.componentTypes=function(){},t.prototype.components=function(){},t.prototype.attachView=function(t){},t.prototype.detachView=function(t){},t.prototype.viewCount=function(){},t.prototype.isStable=function(){},t}(),Ps=function(t){function e(e,n,r,i,s,a){var u=t.call(this)||this;u._zone=e,u._console=n,u._injector=r,u._exceptionHandler=i,u._componentFactoryResolver=s,u._initStatus=a,u._bootstrapListeners=[],u._rootComponents=[],u._rootComponentTypes=[],u._views=[],u._runningTick=!1,u._enforceNoNewChanges=!1,u._stable=!0,u._enforceNoNewChanges=lt(),u._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run(function(){u.tick()})}});var c=new Eo.Observable(function(t){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular(function(){t.next(u._stable),t.complete()})}),l=new Eo.Observable(function(t){var e;u._zone.runOutsideAngular(function(){e=u._zone.onStable.subscribe(function(){ys.assertNotInAngularZone(),o(function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,t.next(!0))})})});var n=u._zone.onUnstable.subscribe(function(){ys.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});return u._isStable=Object(To.merge)(c,Po.share.call(l)),u}return xo.a(e,t),e.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},e.prototype.detachView=function(t){var e=t;mt(this._views,e),e.detachFromAppRef()},e.prototype.bootstrap=function(t,e){var n=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");var r;r=t instanceof $i?t:this._componentFactoryResolver.resolveComponentFactory(t),this._rootComponentTypes.push(r.componentType);var o=r instanceof ss?null:this._injector.get(as),i=e||r.selector,s=r.create(mi.NULL,[],i,o);s.onDestroy(function(){n._unloadComponent(s)});var a=s.injector.get(vs,null);return a&&s.injector.get(ms).registerApplication(s.location.nativeElement,a),this._loadComponent(s),lt()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),s},e.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this._rootComponents.push(t),this._injector.get(zi,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},e.prototype._unloadComponent=function(t){this.detachView(t.hostView),mt(this._rootComponents,t)},e.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(e){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(e)})}finally{this._runningTick=!1,ps(n)}},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentTypes",{get:function(){return this._rootComponentTypes},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"components",{get:function(){return this._rootComponents},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isStable",{get:function(){return this._isStable},enumerable:!0,configurable:!0}),e}(Ts);Ps._tickScope=ls("ApplicationRef#tick()"),Ps.decorators=[{type:li}],Ps.ctorParameters=function(){return[{type:ys},{type:Gi},{type:mi},{type:Oi},{type:ns},{type:Bi}]};var js=function(){function t(t,e,n,r,o,i){this.id=t,this.templateUrl=e,this.slotCount=n,this.encapsulation=r,this.styles=o,this.animations=i}return t}(),As=function(){function t(){}return t.prototype.injector=function(){},t.prototype.component=function(){},t.prototype.providerTokens=function(){},t.prototype.references=function(){},t.prototype.context=function(){},t.prototype.source=function(){},t}(),Rs=function(){function t(){}return t.prototype.selectRootElement=function(t,e){},t.prototype.createElement=function(t,e,n){},t.prototype.createViewRoot=function(t){},t.prototype.createTemplateAnchor=function(t,e){},t.prototype.createText=function(t,e,n){},t.prototype.projectNodes=function(t,e){},t.prototype.attachViewAfter=function(t,e){},t.prototype.detachView=function(t){},t.prototype.destroyView=function(t,e){},t.prototype.listen=function(t,e,n){},t.prototype.listenGlobal=function(t,e,n){},t.prototype.setElementProperty=function(t,e,n){},t.prototype.setElementAttribute=function(t,e,n){},t.prototype.setBindingDebugInfo=function(t,e,n){},t.prototype.setElementClass=function(t,e,n){},t.prototype.setElementStyle=function(t,e,n){},t.prototype.invokeElementMethod=function(t,e,n){},t.prototype.setText=function(t,e){},t.prototype.animate=function(t,e,n,r,o,i,s){},t}(),Is=(new Ro("Renderer2Interceptor"),function(){function t(){}return t.prototype.renderComponent=function(t){},t}()),ks=function(){function t(){}return t.prototype.createRenderer=function(t,e){},t.prototype.begin=function(){},t.prototype.end=function(){},t.prototype.whenRenderingDone=function(){},t}(),Ns={};Ns.Important=1,Ns.DashCase=2,Ns[Ns.Important]="Important",Ns[Ns.DashCase]="DashCase";var Ms=function(){function t(){}return t.prototype.data=function(){},t.prototype.destroy=function(){},t.prototype.createElement=function(t,e){},t.prototype.createComment=function(t){},t.prototype.createText=function(t){},t.prototype.appendChild=function(t,e){},t.prototype.insertBefore=function(t,e,n){},t.prototype.removeChild=function(t,e){},t.prototype.selectRootElement=function(t){},t.prototype.parentNode=function(t){},t.prototype.nextSibling=function(t){},t.prototype.setAttribute=function(t,e,n,r){},t.prototype.removeAttribute=function(t,e,n){},t.prototype.addClass=function(t,e){},t.prototype.removeClass=function(t,e){},t.prototype.setStyle=function(t,e,n,r){},t.prototype.removeStyle=function(t,e,n){},t.prototype.setProperty=function(t,e,n){},t.prototype.setValue=function(t,e){},t.prototype.listen=function(t,e,n){},t}(),Ls=function(){function t(t){this.nativeElement=t}return t}(),Ds=function(){function t(){}return t.prototype.load=function(t){},t}(),Vs=new Map,Fs=function(){function t(){this._dirty=!0,this._results=[],this._emitter=new ds}return Object.defineProperty(t.prototype,"changes",{get:function(){return this._emitter},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._results.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"first",{get:function(){return this._results[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this._results[this.length-1]},enumerable:!0,configurable:!0}),t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[r()]=function(){return this._results[r()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=_t(t),this._dirty=!1},t.prototype.notifyOnChanges=function(){this._emitter.emit(this)},t.prototype.setDirty=function(){this._dirty=!0},Object.defineProperty(t.prototype,"dirty",{get:function(){return this._dirty},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._emitter.complete(),this._emitter.unsubscribe()},t}(),Bs=function(){function t(){}return t}(),Hs={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Us=function(){function t(t,e){this._compiler=t,this._config=e||Hs}return t.prototype.load=function(t){return this._compiler instanceof Zi?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=t.split("#"),o=r[0],i=r[1];return void 0===i&&(i="default"),n("gFIY")(o).then(function(t){return t[i]}).then(function(t){return wt(t,o,i)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=t.split("#"),r=e[0],o=e[1],i="NgFactory";return void 0===o&&(o="default",i=""),n("gFIY")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(t){return t[o+i]}).then(function(t){return wt(t,r,o)})},t}();Us.decorators=[{type:li}],Us.ctorParameters=function(){return[{type:Zi},{type:Bs,decorators:[{type:ci}]}]};var qs=function(){function t(){}return t.prototype.elementRef=function(){},t.prototype.createEmbeddedView=function(t){},t}(),Ks=function(){function t(){}return t.prototype.element=function(){},t.prototype.injector=function(){},t.prototype.parentInjector=function(){},t.prototype.clear=function(){},t.prototype.get=function(t){},t.prototype.length=function(){},t.prototype.createEmbeddedView=function(t,e,n){},t.prototype.createComponent=function(t,e,n,r,o){},t.prototype.insert=function(t,e){},t.prototype.move=function(t,e){},t.prototype.indexOf=function(t){},t.prototype.remove=function(t){},t.prototype.detach=function(t){},t}(),zs=function(){function t(){}return t.prototype.markForCheck=function(){},t.prototype.detach=function(){},t.prototype.detectChanges=function(){},t.prototype.checkNoChanges=function(){},t.prototype.reattach=function(){},t}(),Ws=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return xo.a(e,t),e.prototype.destroy=function(){},e.prototype.destroyed=function(){},e.prototype.onDestroy=function(t){},e}(zs),Gs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return xo.a(e,t),e.prototype.context=function(){},e.prototype.rootNodes=function(){},e}(Ws),Qs=function(){function t(t,e){this.name=t,this.callback=e}return t}(),Zs=function(){function t(t,e,n){this._debugContext=n,this.nativeNode=t,e&&e instanceof Js?e.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"source",{get:function(){return"Deprecated since v4"},enumerable:!0,configurable:!0}),t}(),Js=function(t){function e(e,n,r){var o=t.call(this,e,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=e,o}return xo.a(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n=this,r=this.childNodes.indexOf(t);-1!==r&&((o=this.childNodes).splice.apply(o,[r+1,0].concat(e)),e.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=n}));var o},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return Ct(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return St(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(Zs),Xs=new Map,Ys=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t}(),$s=function(){function t(){this.hasWrappedValue=!1}return t.prototype.unwrap=function(t){return t instanceof Ys?(this.hasWrappedValue=!0,t.wrapped):t},t.prototype.reset=function(){this.hasWrappedValue=!1},t}(),ta=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}(),ea=function(){function t(){}return t.prototype.supports=function(t){return jt(t)},t.prototype.create=function(t,e){return new ra(e||t)},t}(),na=function(t,e){return e},ra=function(){function t(t){this._length=0,this._collection=null,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||na}return Object.defineProperty(t.prototype,"collection",{get:function(){return this._collection},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,r=0,o=null;e||n;){var i=!n||e&&e.currentIndex"+s(this.currentIndex)+"]"},t}(),ia=function(){function t(){this._head=null,this._tail=null}return t.prototype.add=function(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)},t.prototype.get=function(t,e){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&i(n.trackById,t))return n;return null},t.prototype.remove=function(t){var e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head},t}(),sa=function(){function t(){this.map=new Map}return t.prototype.put=function(t){var e=t.trackById,n=this.map.get(e);n||(n=new ia,this.map.set(e,n)),n.add(t)},t.prototype.get=function(t,e){var n=t,r=this.map.get(n);return r?r.get(t,e):null},t.prototype.remove=function(t){var e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t},Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this.map.clear()},t.prototype.toString=function(){return"_DuplicateMap("+s(this.map)+")"},t}(),aa=function(){function t(){}return t.prototype.supports=function(t){return t instanceof Map||It(t)},t.prototype.create=function(t){return new ua},t}(),ua=function(){function t(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),t.prototype.forEachItem=function(t){var e;for(e=this._mapHead;null!==e;e=e._next)t(e)},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachChangedItem=function(t){var e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.diff=function(t){if(t){if(!(t instanceof Map||It(t)))throw new Error("Error trying to diff '"+s(t)+"'. Only maps and objects are allowed")}else t=new Map;return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(t,function(t,r){if(n&&n.key===r)e._maybeAddToChanges(n,t),e._appendAfter=n,n=n._next;else{var o=e._getOrCreateRecordForKey(r,t);n=e._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},t.prototype._insertBeforeOrAppend=function(t,e){if(t){var n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null},t.prototype._getOrCreateRecordForKey=function(t,e){if(this._records.has(t)){var n=this._records.get(t);this._maybeAddToChanges(n,e);var r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}var i=new ca(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i},t.prototype._reset=function(){if(this.isDirty){var t=void 0;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},t.prototype._maybeAddToChanges=function(t,e){i(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))},t.prototype._addToAdditions=function(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)},t.prototype._addToChanges=function(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)},t.prototype._forEach=function(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(function(n){return e(t[n],n)})},t}(),ca=function(){function t(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}return t}(),la=function(){function t(t){this.factories=t}return t.create=function(e,n){if(null!=n){var r=n.factories.slice();return e=e.concat(r),new t(e)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new fi,new ci]]}},t.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(null!=e)return e;throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+Nt(t)+"'")},t}(),pa=function(){function t(t){this.factories=t}return t.create=function(e,n){if(n){var r=n.factories.slice();e=e.concat(r)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new fi,new ci]]}},t.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(e)return e;throw new Error("Cannot find a differ supporting object '"+t+"'")},t}(),fa=[new aa],ha=[new ea],da=new la(ha),ya=new pa(fa),va=[{provide:Ki,useValue:"unknown"},Es,{provide:xs,useExisting:Es},{provide:ji,useFactory:Mt,deps:[]},ms,Gi],ma=ft(null,"core",va),ba=new Ro("LocaleId"),ga=new Ro("Translations"),_a=new Ro("TranslationsFormat"),wa={};wa.Error=0,wa.Warning=1,wa.Ignore=2,wa[wa.Error]="Error",wa[wa.Warning]="Warning",wa[wa.Ignore]="Ignore";var Oa=function(){function t(t){}return t}();Oa.decorators=[{type:ri,args:[{providers:[Ps,{provide:Ts,useExisting:Ps},Bi,Zi,Ui,{provide:la,useFactory:Lt},{provide:pa,useFactory:Dt},{provide:ba,useFactory:Vt,deps:[[new ui(ba),new ci,new fi]]}]}]}],Oa.ctorParameters=function(){return[{type:Ts}]};var Ca={};Ca.NONE=0,Ca.HTML=1,Ca.STYLE=2,Ca.SCRIPT=3,Ca.URL=4,Ca.RESOURCE_URL=5,Ca[Ca.NONE]="NONE",Ca[Ca.HTML]="HTML",Ca[Ca.STYLE]="STYLE",Ca[Ca.SCRIPT]="SCRIPT",Ca[Ca.URL]="URL",Ca[Ca.RESOURCE_URL]="RESOURCE_URL";var Sa=function(){function t(){}return t.prototype.sanitize=function(t,e){},t}(),xa=function(){function t(){}return t.prototype.view=function(){},t.prototype.nodeIndex=function(){},t.prototype.injector=function(){},t.prototype.component=function(){},t.prototype.providerTokens=function(){},t.prototype.references=function(){},t.prototype.context=function(){},t.prototype.componentRenderElement=function(){},t.prototype.renderNode=function(){},t.prototype.logError=function(t){for(var e=[],n=1;n=0;e--){var n=Xe(this._data,e);Ea.destroyView(n)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new qa(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r,o){var i=n||this.parentInjector;o||t instanceof ss||(o=i.get(as));var s=t.create(i,r,void 0,o);return this.insert(s.hostView,e),s},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=t,r=n._view;return Qe(this._view,this._data,e,r),n.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n=this._embeddedViews.indexOf(t._view);return $e(this._data,n,e),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=Xe(this._data,t);e&&Ea.destroyView(e)},t.prototype.detach=function(t){var e=Xe(this._data,t);return e?new qa(e):null},t}(),qa=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return me(this._view)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){re(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin(),Ea.checkAndUpdateView(this._view),t.end&&t.end()},t.prototype.checkNoChanges=function(){Ea.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Ea.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,en(this._view),Ea.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}(),Ka=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return xo.a(e,t),e.prototype.createEmbeddedView=function(t){return new qa(Ea.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new Ls(Bt(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(qs),za=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){void 0===e&&(e=mi.THROW_IF_NOT_FOUND);var n=!!this.elDef&&0!=(33554432&this.elDef.flags);return Ea.resolveDep(this.view,this.elDef,n,{flags:0,token:t,tokenKey:Jt(t)},e)},t}(),Wa=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=Ce(e),r=n[0],o=n[1],i=this.delegate.createElement(o,r);return t&&this.delegate.appendChild(t,i),i},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;nthis.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),v=function(t){function e(e,n,r){t.call(this,e),this.parent=n,this.observable=r,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return i(e,t),e.prototype[p.iterator]=function(){return this},e.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},e.prototype.hasValue=function(){return this.buffer.length>0},e.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},e.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,o){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(t,e){return l.subscribeToResult(this,this.observable,this,e)},e}(c.OuterSubscriber)},"0L2s":function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(){var e=t.call(this,"Timeout has occurred");this.name=e.name="TimeoutError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error);e.TimeoutError=o},"0imh":function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("rlar"),i=n("yR50"),s=n("xFbG"),a=n("AHF9"),u=n("Lhvy"),c=n("g0Kb"),l=function(t){function e(e,n,r){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY),t.call(this),this.scheduler=r,this._events=[],this._bufferSize=e<1?1:e,this._windowTime=n<1?1:n}return r(e,t),e.prototype.next=function(e){var n=this._getNow();this._events.push(new p(n,e)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,n=this._trimBufferThenGetEvents(),r=this.scheduler;if(this.closed)throw new u.ObjectUnsubscribedError;this.hasError?e=s.Subscription.EMPTY:this.isStopped?e=s.Subscription.EMPTY:(this.observers.push(t),e=new c.SubjectSubscription(this,t)),r&&t.add(t=new a.ObserveOnSubscriber(t,r));for(var o=n.length,i=0;ie&&(i=Math.max(i,o-e)),i>0&&r.splice(0,i),r},e}(o.Subject);e.ReplaySubject=l;var p=function(){function t(t,e){this.time=t,this.value=e}return t}()},"0nG5":function(t,e,n){"use strict";function r(t){var e="function"==typeof t?function(e,n){return t(e,n)<0?e:n}:function(t,e){return t1)for(var n=1;n1)throw"Triggers parse error: only one manual trigger is allowed";if(1===o.length&&r.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return r}function o(t,e){var n=r(e.triggers),o=e.target;if(1===n.length&&n[0].isManual())return Function.prototype;var i=[],s=[],a=function(){s.forEach(function(t){return i.push(t())}),s.length=0};return n.forEach(function(n){var r=n.open===n.close,u=r?e.toggle:e.show;r||s.push(function(){return t.listen(o,n.close,e.hide)}),i.push(t.listen(o,n.open,function(){return u(a)}))}),function(){i.forEach(function(t){return t()})}}function i(t,e){return e.outsideClick?t.listenGlobal("document","click",function(t){e.target&&e.target.contains(t.target)||e.targets&&e.targets.some(function(e){return e.contains(t.target)})||e.hide()}):Function.prototype}var s=n("/oeL"),a=function(){function t(t,e){this.open=t,this.close=e||t}return t.prototype.isManual=function(){return"manual"===this.open||"manual"===this.close},t}(),u={hover:["mouseover","mouseout"],focus:["focusin","focusout"]},c=n("dTYv");n.d(e,"a",function(){return l});var l=function(){function t(t,e,n,r,o,i,a,u){this._viewContainerRef=t,this._renderer=e,this._elementRef=n,this._injector=r,this._componentFactoryResolver=o,this._ngZone=i,this._applicationRef=a,this._posService=u,this.onBeforeShow=new s.EventEmitter,this.onShown=new s.EventEmitter,this.onBeforeHide=new s.EventEmitter,this.onHidden=new s.EventEmitter,this._providers=[],this._listenOpts={},this._globalListener=Function.prototype}return Object.defineProperty(t.prototype,"isShown",{get:function(){return!!this._componentRef},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(t),this},t.prototype.to=function(t){return this.container=t||this.container,this},t.prototype.position=function(t){return this.attachment=t.attachment||this.attachment,this._elementRef=t.target||this._elementRef,this},t.prototype.provide=function(t){return this._providers.push(t),this},t.prototype.show=function(t){if(void 0===t&&(t={}),this._subscribePositioning(),this._innerComponent=null,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(t.content,t.context);var e=s.ReflectiveInjector.resolveAndCreate(this._providers,this._injector);this._componentRef=this._componentFactory.create(e,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,t),this.container instanceof s.ElementRef&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"body"===this.container&&"undefined"!=typeof document&&document.querySelector(this.container).appendChild(this._componentRef.location.nativeElement),!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef},t.prototype.hide=function(){if(!this._componentRef)return this;this.onBeforeHide.emit(this._componentRef.instance);var t=this._componentRef.location.nativeElement;return t.parentNode.removeChild(t),this._contentRef.componentRef&&this._contentRef.componentRef.destroy(),this._componentRef.destroy(),this._viewContainerRef&&this._contentRef.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef=null,this._componentRef=null,this._removeGlobalListener(),this.onHidden.emit(),this},t.prototype.toggle=function(){if(this.isShown)return void this.hide();this.show()},t.prototype.dispose=function(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()},t.prototype.listen=function(t){var e=this;this.triggers=t.triggers||this.triggers,this._listenOpts.outsideClick=t.outsideClick,t.target=t.target||this._elementRef.nativeElement;var n=this._listenOpts.hide=function(){return t.hide?t.hide():e.hide()},r=this._listenOpts.show=function(n){t.show?t.show(n):e.show(n),n()},i=function(t){e.isShown?n():r(t)};return this._unregisterListenersFn=o(this._renderer,{target:t.target,triggers:t.triggers,show:r,hide:n,toggle:i}),this},t.prototype._removeGlobalListener=function(){this._globalListener&&(this._globalListener(),this._globalListener=null)},t.prototype.attachInline=function(t,e){return this._inlineViewRef=t.createEmbeddedView(e),this},t.prototype._registerOutsideClick=function(){var t=this;if(this._componentRef&&this._componentRef.location&&this._listenOpts.outsideClick){var e=this._componentRef.location.nativeElement;setTimeout(function(){t._globalListener=i(t._renderer,{targets:[e,t._elementRef.nativeElement],outsideClick:t._listenOpts.outsideClick,hide:function(){return t._listenOpts.hide()}})})}},t.prototype.getInnerComponent=function(){return this._innerComponent},t.prototype._subscribePositioning=function(){var t=this;!this._zoneSubscription&&this.attachment&&(this._zoneSubscription=this._ngZone.onStable.subscribe(function(){t._componentRef&&t._posService.position({element:t._componentRef.location,target:t._elementRef,attachment:t.attachment,appendToBody:"body"===t.container})}))},t.prototype._unsubscribePositioning=function(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=null)},t.prototype._getContentRef=function(t,e){if(!t)return new c.a([]);if(t instanceof s.TemplateRef){if(this._viewContainerRef){var n=this._viewContainerRef.createEmbeddedView(t,e);return n.markForCheck(),new c.a([n.rootNodes],n)}var r=t.createEmbeddedView({});return this._applicationRef.attachView(r),new c.a([r.rootNodes],r)}if("function"==typeof t){var o=this._componentFactoryResolver.resolveComponentFactory(t),i=s.ReflectiveInjector.resolveAndCreate(this._providers.concat([t]),this._injector),a=o.create(i);return this._applicationRef.attachView(a.hostView),new c.a([[a.location.nativeElement]],a.hostView,a)}return new c.a([[this._renderer.createText(null,""+t)]])},t}()},"3N4h":function(t,e,n){"use strict";function r(t){return this.lift(new u(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rlar"),s=n("yW9Z"),a=n("ktfo");e.window=r;var u=function(){function t(t){this.windowBoundaries=t}return t.prototype.call=function(t,e){var n=new c(t),r=e.subscribe(n);return r.closed||n.add(a.subscribeToResult(n,this.windowBoundaries)),r},t}(),c=function(t){function e(e){t.call(this,e),this.window=new i.Subject,e.next(this.window)}return o(e,t),e.prototype.notifyNext=function(t,e,n,r,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 i.Subject;e.next(n)},e}(s.OuterSubscriber)},"3lml":function(t,e,n){"use strict";function r(t){return 0===t.indexOf(i+s)}n.d(e,"a",function(){return u});var o=n("p3ht"),i=o.a,s=o.c,a=o.b,u=function(){function t(){}return t.isManagedKey=function(t){return 0===t.indexOf(i+s)},t.retrieveKeysFromStorage=function(t){return Object.keys(t).filter(r)},t.genKey=function(t){if("string"!=typeof t)throw Error("attempt to generate a storage key with a non string value");return""+i+s+this.formatKey(t)},t.formatKey=function(t){var e=t.toString();return a?e:e.toLowerCase()},t.setStorageKeyPrefix=function(t){void 0===t&&(t=o.a),i=t},t.setCaseSensitivity=function(t){void 0===t&&(t=o.b),a=t},t.setStorageKeySeparator=function(t){void 0===t&&(t=o.c),s=t},t}()},"3lsR":function(t,e,n){"use strict";var r=n("bKpL"),o=function(){function t(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}},t.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},t.prototype.toObservable=function(){switch(this.kind){case"N":return r.Observable.of(this.value);case"E":return r.Observable.throw(this.error);case"C":return r.Observable.empty()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}();e.Notification=o},"422b":function(t,e,n){"use strict";function r(t,e){return this.lift(new s(t,e))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.filter=r;var s=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.thisArg))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.predicate=n,this.thisArg=r,this.count=0}return o(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(t)},e}(i.Subscriber)},"4JlW":function(t,e,n){"use strict";var r=n("bKpL"),o=n("QgC4");r.Observable.webSocket=o.webSocket},"4zAq":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("/oeL"),o=function(){function t(){var t=this;this.direction="down",this.isOpenChange=new r.EventEmitter,this.isDisabledChange=new r.EventEmitter,this.toggleClick=new r.EventEmitter,this.dropdownMenu=new Promise(function(e){t.resolveDropdownMenu=e})}return t.decorators=[{type:r.Injectable}],t.ctorParameters=function(){return[]},t}()},"56vs":function(t,e,n){"use strict";function r(t){return this.lift(new s(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.skipWhile=r;var s=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate))},t}(),a=function(t){function e(e,n){t.call(this,e),this.predicate=n,this.skipping=!0,this.index=0}return o(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}(i.Subscriber)},"5p6H":function(t,e,n){"use strict";var r=n("bKpL"),o=n("TIdC");r.Observable.prototype.mergeAll=o.mergeAll},"5uCp":function(t,e,n){"use strict";var r=n("bKpL"),o=n("Lqs2");r.Observable.prototype.take=o.take},"5v8a":function(t,e,n){"use strict";var r=n("bKpL"),o=n("lx+J");r.Observable.prototype.map=o.map},"60yU":function(t,e,n){"use strict";function r(t){return this.lift(new l(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rlar"),s=n("RdI5"),a=n("XRvs"),u=n("yW9Z"),c=n("ktfo");e.repeatWhen=r;var l=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.notifier,e))},t}(),p=function(t){function e(e,n,r){t.call(this,e),this.notifier=n,this.source=r,this.sourceIsBeingSubscribedTo=!0}return o(e,t),e.prototype.notifyNext=function(t,e,n,r,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){if(this.retriesSubscription.closed)return t.prototype.complete.call(this)}else this.subscribeToRetries();this._unsubscribeAndRecycle(),this.notifications.next()}},e.prototype._unsubscribe=function(){var t=this,e=t.notifications,n=t.retriesSubscription;e&&(e.unsubscribe(),this.notifications=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype._unsubscribeAndRecycle=function(){var e=this,n=e.notifications,r=e.retries,o=e.retriesSubscription;return this.notifications=null,this.retries=null,this.retriesSubscription=null,t.prototype._unsubscribeAndRecycle.call(this),this.notifications=n,this.retries=r,this.retriesSubscription=o,this},e.prototype.subscribeToRetries=function(){this.notifications=new i.Subject;var e=s.tryCatch(this.notifier)(this.notifications);if(e===a.errorObject)return t.prototype.complete.call(this);this.retries=e,this.retriesSubscription=c.subscribeToResult(this,e)},e}(u.OuterSubscriber)},"67Ck":function(t,e,n){"use strict";var r=n("bKpL"),o=n("56vs");r.Observable.prototype.skipWhile=o.skipWhile},"6A7A":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n("/oeL"),o=n("K5tw"),i=n("H01b"),s=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(t){function e(){return t.call(this,o.a.local)||this}return s(e,t),e}(i.a);a.decorators=[{type:r.Injectable}],a.ctorParameters=function(){return[]}},"6DBm":function(t,e,n){"use strict";var r=n("bKpL"),o=n("+c7d");r.Observable.prototype.combineLatest=o.combineLatest},"6JjX":function(t,e,n){"use strict";function r(){return this.lift(new a)}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("yW9Z"),s=n("ktfo");e._switch=r;var a=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new u(t))},t}(),u=function(t){function e(e){t.call(this,e),this.active=0,this.hasCompleted=!1}return o(e,t),e.prototype._next=function(t){this.unsubscribeInner(),this.active++,this.add(this.innerSubscription=s.subscribeToResult(this,t))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&this.destination.complete()},e.prototype.unsubscribeInner=function(){this.active=this.active>0?this.active-1:0;var t=this.innerSubscription;t&&(t.unsubscribe(),this.remove(t))},e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(){this.unsubscribeInner(),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(i.OuterSubscriber)},"6NKQ":function(t,e,n){"use strict";var r=n("bKpL"),o=n("kkQ5");r.Observable.prototype.scan=o.scan},"6P86":function(t,e,n){"use strict";function r(){for(var t=[],e=0;e