From b3576c556a5ff82bd1b9eafc046e5c58aa94cea3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20P=C3=B6mp?= Date: Mon, 20 Mar 2017 10:10:17 +0100 Subject: [PATCH] updated to 1.0.6 --- dist/assets/i18n/de.json | 138 --------------------- dist/assets/i18n/en.json | 138 --------------------- dist/index.html | 6 +- dist/inline.ef9e5ff930e6c9691b44.bundle.js | 1 - dist/main.58b1d0590ff0bbc1ef60.bundle.js | 1 - 5 files changed, 3 insertions(+), 281 deletions(-) delete mode 100644 dist/assets/i18n/de.json delete mode 100644 dist/assets/i18n/en.json delete mode 100644 dist/inline.ef9e5ff930e6c9691b44.bundle.js delete mode 100644 dist/main.58b1d0590ff0bbc1ef60.bundle.js diff --git a/dist/assets/i18n/de.json b/dist/assets/i18n/de.json deleted file mode 100644 index 65e6e819f..000000000 --- a/dist/assets/i18n/de.json +++ /dev/null @@ -1,138 +0,0 @@ -{ - "general": { - "abort": "Abbrechen", - "continue": "Weiter", - "close": "Schließen", - "open": "{{value}} öffnen", - "delete": "Löschen", - "save": "Speichern", - "send now": "Jetzt senden", - "back": "Zurück", - "OK": "OK", - "start transcription": "Transkription fortsetzen", - "start new transcription": "Neue Transkription beginnen", - "finish transcription": "Transkription fertigstellen", - "stop transcription": "Transkription beenden", - "check transcription": "Transkription überprüfen", - "send transcription": "Transkription senden", - "quit": "Beenden", - "login": "Anmelden", - "logout": "Abmelden", - "play": "Abspielen", - "pause": "Pausieren", - "stop": "Stop", - "backward": "Zurück", - "replay": "Wiederholung", - "shortcuts": "Tastenkombinationen", - "guidelines": "Regeln", - "overview": "Übersicht", - "help": "Hilfe", - "on focus only": "nur bei Fokus", - "shortcuts audioplayer": "Tastenkombinationen des Audioplayers", - "shortcuts top signaldisplay": "Tastenkombinationen des oberen Signaldsiplays", - "shortcuts down signaldisplay": "Tastenkombinationen des unteren Signaldsiplays", - "shortcuts 2D-Editor": "Tastenkombinationen des 2D-Editors", - "wanted": "Gesucht wird", - "unknown": "unbekannt", - "please wait": "Bitte warten", - "logout successful": "Abmeldung erfolgreich", - "export data": "Daten exportieren", - "export": "Exportieren", - "text file": "Textdatei", - "statistics": "Statistik", - "segments total": "Segmente insgesamt", - "segments transcribed": "Segmente transkribiert", - "segments with breaks": "Segmente mit Pausen", - "segments not transcribed": "Segmente ohne Inhalt", - "segment previous": "vorheriges Segment", - "segment next": "nächstes Segment", - "transcript": "Transkript", - "transcription": "Transkription", - "timespan": "Zeitspanne (s)", - "validation": "Validierung", - "unintelligible": "unverständlich", - "less intelligible": "weniger verständlich", - "intelligible": "verständlich", - "very good intelligible": "sehr gut verständlich", - "quality of signal": "Qualität des Audiosignals", - "a lot of noises": "viele Störgeräusche", - "few noises": "wenige Störgeräusche", - "very few noises": "sehr wenige Störgeräusche", - "no noises": "keine Störgeräusche" - }, - "interfaces": { - "simple editor": "Editor ohne Signaldisplay", - "linear editor": "Linearer Editor", - "2D editor": "2D-Editor" - }, - "modal": { - "transcription": { - "delete": { - "header": "Neue Transkription erstellen?", - "text": "Möchten Sie die alte Transkription wirklich entfernen?

Ihr Fortschritt an der vorherigen Transkription wird dabei gelöscht. Dieser Vorgang kann nicht widerrufen werden.", - "delete old": "Vorherige Transkription entfernen" - }, - "stop": { - "header": "Transkription beenden", - "text": "Möchten Sie die Transkription wirklich beenden?

Ihr Fortschritt wird lokal in diesem Browser gespeichert. Um später fortzufahren, sollten Sie nicht den Browserverlauf löschen und ausschließlich diesen Browser nutzen." - },"send": { - "header": "Transkription senden", - "text": "Durch Klicken auf 'Jetzt senden' werden Ihre Ergebnisse zentral gespeichert und können nicht mehr geändert werden." - },"sending": { - "header": "Transkription wird übertragen...", - "text": "Ihre Ergebnisse werden übertragen... Bitte bis zum Abschluss der Übertragung warten..." - } - }, - "login": { - "header": "Anmeldung fehlgeschlagen", - "text": "Bitte überprüfen Sie ihren Nutzernamen und ihr Passwort." - } - }, - "shortcuts": { - "play pause": "Abspielen / Pausieren", - "stop playback": "Wiedergabe beenden", - "step backward": "Zur zuletzt pausierten Stelle springen", - "set segment": "Segmentgrenze setzen", - "play selection": "Selektion abspielen", - "transcribe segment": "Segment transkribieren", - "move cursor left": "Cursor nach links bewegen", - "move cursor right": "Cursor nach rechts bewegen" - }, - "login": { - "online mode": "Online Modus", - "online mode disabled": "Der Online Modus ist derzeit deaktiviert. Sie können OCTRA stattdessen lokal nutzen.", - "local mode": "Lokaler Modus", - "old file found": "Es wurden Daten zu einer vorherigen Transkription gefunden. Um diese fortzusetzen, ziehen Sie die folgende Datei per Drag & Drop in das graue Feld:

{{file_label}}" - }, - "dropzone": { - "drag&drop here": "Audiodatei (*.wav) hier hineinziehen oder hier klicken", - "file selected": "{{file_label}} ausgewählt" - }, - "browser": { - "invalid": "Dein Browser ist nicht kompatibel. Nutze bitte einen der folgenden Browser:", - "small window width": "Die Fensterbreite ist zu klein. Bitte vergrößern Sie dieses Fenster bis die Meldung verschwindet." - }, - "reload-file": { - "header": "Datei erneut einlesen", - "text": "Die Seite wurde zuvor geschlossen oder erneut geladen. Bitte wählen Sie erneut eine Audiodatei aus um sie einlesen zu lassen. Nach dem Einlesen können Sie ihre Arbeit fortsetzen.", - "file not supported": "Die Datei ist vom Typ '{{type}}' und wird nicht unterstützt.", - "another file selected": "Es wurde eine andere Datei ausgewählt. Bitte wähle die gleiche Datei aus wie zuvor oder beginne eine neue Transkription.\n\nGesucht wird die Datei '{{file}}'" - }, - "logout":{ - "successful text": "Sie haben sich erfolgreich abgemeldet.", - "login again": "Erneut anmelden" - }, - "signal-gui":{ - "selection text": "Bitte wählen Sie ein Segment aus, indem Sie mit der Maus über den Signalausschnitt fahren und die {{value}} Taste betätigen." - }, - "transcription-submit":{ - "finish transcription": "Sie möchten die Transkription dieser Audiodatei abschließen? Stellen Sie bitte folgende Punkte sicher:", - "boundaries": "Falls verfügbar: Wurden Segmentgrenzen möglichst genau gesetzt?", - "breaks": "Wurden alle definierten Segmente auf Inhalt/Pausen überprüft?", - "markers": "Wurden Marker gesetzt?", - "overview": "Folgende Tabelle zeigt Ihnen einen Überblick über Ihre definierten Segmente:", - "form fill out": "Bitte füllen Sie kurz das Formular aus", - "intelligibility of the speaker": "Sprachverständlichkeit des Sprechers", - "comment description": "Kurzer Kommentar (Anmerkungen zum Arbeitsablauf, Ladezeiten, Schwierigkeiten etc.)" - } -} diff --git a/dist/assets/i18n/en.json b/dist/assets/i18n/en.json deleted file mode 100644 index 0c165096e..000000000 --- a/dist/assets/i18n/en.json +++ /dev/null @@ -1,138 +0,0 @@ -{ - "general": { - "abort": "Abort", - "continue": "Continue", - "close": "Close", - "open": "Open {{value}}", - "delete": "Delete", - "save": "Save", - "send now": "Send now", - "back": "Back", - "OK": "OK", - "start transcription": "Continue transcription", - "start new transcription": "Start new transcription", - "finish transcription": "Finish transcription", - "stop transcription": "Stop transcription", - "check transcription": "Check transcription", - "send transcription": "Send transcription", - "quit": "Quit", - "login": "Login", - "logout": "Logout", - "play": "Play", - "pause": "Pause", - "stop": "Stop", - "backward": "Back", - "replay": "Replay", - "shortcuts": "Shortcuts", - "guidelines": "Guidelines", - "overview": "Overview", - "help": "Help", - "on focus only": "on focus only", - "shortcuts audioplayer": "Audioplayer shortcuts", - "shortcuts top signaldisplay": "Shortcuts of the signaldisplay on the top", - "shortcuts down signaldisplay": "Shortcuts of the signaldisplay on the bottom", - "shortcuts 2D-Editor": "Shortcuts of the 2D-Editor", - "wanted": "Wanted", - "unknown": "unknown", - "please wait": "Please wait", - "logout successful": "Logout successfull", - "export data": "Export Data", - "export": "Export", - "text file": "Textdatei", - "statistics": "Statistics", - "segments total": "Total segments", - "segments transcribed": "Transcribed Segments", - "segments with breaks": "Segments with breaks", - "segments not transcribed": "Segments without content", - "segment previous": "previous segment", - "segment next": "next segment", - "transcript": "Transcript", - "transcription": "Transcription", - "timespan": "Timespan (s)", - "validation": "Validation", - "unintelligible": "unintelligible", - "less intelligible": "less intelligible", - "intelligible": "intelligible", - "very good intelligible": "very good intelligible", - "quality of signal": "Quality of signal", - "a lot of noises": "a lot of noises", - "few noises": "few noises", - "very few noises": "very few noises", - "no noises": "no noises" - }, - "interfaces": { - "simple editor": "Editor without signaldisplay", - "linear editor": "Linear Editor", - "2D editor": "2D-Editor" - }, - "modal": { - "transcription": { - "delete": { - "header": "Create a new transcription?", - "text": "Do you really want to delete the previous Transcription and create a new one?

Your progress on the previous transcription will be deleted. This action can not be reverted.", - "delete old": "Delete previous transcription" - }, - "stop": { - "header": "Stop Transcription", - "text": "Do you really want to stop the transcription?

Your proceedings have been saved in your Browser. If you want to continue later you do not have to delete the browser cache. Please use the same browser as in this moment." - },"send": { - "header": "Send transcription", - "text": "Clicking on 'Send now' your data will be sent to the Server to save it centrally. After this you can not change your data." - },"sending": { - "header": "Send transcription now...", - "text": "Your results are transmitted to the server... Please wait for the transmission to finish successfully." - } - }, - "login": { - "header": "Login failed", - "text": "Please check your username and your password." - }, - "shortcuts": { - "play pause": "Play / Pause", - "stop playback": "Stop Playback", - "step backward": "Jump to the last position", - "set segment": "Set segment boundary", - "play selection": "Play selection", - "transcribe segment": "Transcribe segment", - "move cursor left": "Move cursor to the left", - "move cursor right": "Move cursor to the left" - } - }, - "login": { - "online mode": "Online Mode", - "online mode disabled": "Online mode is currently inactive. Please use OCTRA locally.", - "local mode": "Local Mode", - "old file found": "There is data from a previous transcription. If you like to continue your work, just drag & drop the following file to the gray box:

{{file_label}}" - }, - "dropzone": { - "drag&drop here": "Drag & Drop audio file (*.wav) here or click here.", - "file selected": "{{file_label}} selected" - }, - "browser": { - "invalid": "Your browser is not compatible. Please use one of the these browsers:", - "small window width": "The width of this window is too small. Please extend this window to hide this message." - }, - "reload-file": { - "header": "Reload audio file", - "text": "This application was closed or refreshed before. Please select the same audio file again. After that you can continue your work.", - "file not supported": "Type of file is '{{type}}' and not supported.", - "another file selected": "Another file selected. Please select the same file as before or start a new transcription.\n\nWanted: '{{file}}'" - }, - "logout":{ - "successful text": "You are successfully logged out.", - "login again": "Login again" - }, - "signal-gui":{ - "selection text": "Please select one segment moving over one segment and press the {{value}} key." - }, - "transcription-submit":{ - "finish transcription": "You want to finish the transcription of this audiofile? Please make sure to keep following points:", - "boundaries": "If necessary: Did you set boundaries of segments exactly as possible?", - "breaks": "Did you check all segments for contents/breaks?", - "markers": "Did you set noise markers?", - "overview": "The next table shows an overview about your defined segments:", - "form fill out": "Please fill out the form", - "intelligibility of the speaker": "Intelligibility of the speaker", - "comment description": "Short comment (Notes about workflows, waiting times, issues etc.)" - } -} \ No newline at end of file diff --git a/dist/index.html b/dist/index.html index e1452defc..f6f8ce088 100644 --- a/dist/index.html +++ b/dist/index.html @@ -26,12 +26,12 @@
- Bitte warten... Anwendung wird geladen... + Please wait... OCTRA is loading...
- + diff --git a/dist/inline.ef9e5ff930e6c9691b44.bundle.js b/dist/inline.ef9e5ff930e6c9691b44.bundle.js deleted file mode 100644 index 10c26239d..000000000 --- a/dist/inline.ef9e5ff930e6c9691b44.bundle.js +++ /dev/null @@ -1 +0,0 @@ -!function(e){function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var n=window.webpackJsonp;window.webpackJsonp=function(t,c,u){for(var i,a,f,l=0,s=[];l=0&&this.Chunk.time.end.samples>this.Chunk.time.start.samples?this.playduration.samples=this.Chunk.time.end.samples-this.Chunk.time.start.samples:this.playduration=new s.d(0,this.audio.samplerate)},t.prototype.initialize=function(t){e.prototype.initialize.call(this,t),this.audio_px_w=t,this.current=new s.d(0,this.audio.samplerate),this._durtime=new s.d(0,this.audio.samplerate),this.playduration=this._durtime.clone(),this.playcursor=new s.m(0,new s.d(0,this.audio.samplerate),t),this.initializeLine(this.audio_px_w,this._settings.height)},t.prototype.updateDistance=function(){0==this._durtime.samples?this.distance=this.audio_px_w-this.audioTCalculator.samplestoAbsX(this.current.samples):this.Chunk.time.start.samples>=0&&this.Chunk.time.end.samples>this.Chunk.time.start.samples&&(this.distance=this.audio_px_w)},t.prototype.setMouseMovePosition=function(t,n,i,r,s){e.prototype.setMouseMovePosition.call(this,t,n,i,r,s),this.mouse_down&&this.drag_playcursor&&(this.PlayCursor.changeAbsX(n-this._settings.margin.left,this.audioTCalculator,this.audio_px_w,this.Chunk),this.current.samples=this.PlayCursor.time_pos.samples),"mouseleave"==t&&(this.drag_playcursor=!1)},t.prototype.setMouseClickPosition=function(t,n,i,r,s){e.prototype.setMouseClickPosition.call(this,t,n,i,r,s),this.audio.audioplaying||(null==this.last_line||this.last_line==i?"mousedown"===r.type?(null!=this.last_line&&this.last_line.number!=this.last_line.number||(tthis.PlayCursor.absX+5||(this.drag_playcursor=!0),this.mouse_click_pos.line=i,this.mouse_click_pos.absX=this.getAbsXByLine(i,t-i.Pos.x,s),this.current.samples=this.mouse_click_pos.timePos.samples),this.mouse_down=!0):"mouseup"===r.type&&(this.mouse_down=!1,this.drag_playcursor=!1,this.PlayCursor.changeAbsX(t-this._settings.margin.left,this.audioTCalculator,this.audio_px_w,this.Chunk),this.current.samples=this.PlayCursor.time_pos.samples):"mouseup"===r.type&&(this.mouse_down=!1,this.drag_playcursor=!1,this.PlayCursor.changeAbsX(t-this._settings.margin.left,this.audioTCalculator,this.audio_px_w,this.Chunk),this.current.samples=this.audioTCalculator.absXChunktoSamples(this.PlayCursor.absX,this.Chunk)))},t.prototype.updateLines=function(e){this.audio_px_w=e;var t=e,n=this.last_line;n?(n.number=0,n.Size={width:t,height:this._settings.height}):this.initializeLine(t,this._settings.height)},t.prototype.initializeLine=function(e,t){var n={height:t,width:e},i={x:this._settings.margin.left,y:this._settings.margin.top};this.last_line=new s.n(0,n,i)},t.prototype.getAbsXByLine=function(e,t,n){return e.number*n+t},t.prototype.init=function(e){this.AudioPxWidth=e,this.begintime=new s.d(0,this.audio.samplerate),this.Chunk=new s.j(new s.k(new s.d(0,this.audio.samplerate),new s.d(this.audio.duration.samples,this.audio.samplerate))),this.initialize(e),this._durtime=new s.d(this.Chunk.time.length,this.audio.samplerate),this.audioTCalculator=new s.g(this.audio.samplerate,this._durtime,this.AudioPxWidth),this.Mousecursor=new s.l(0,0,0,new s.d(0,this.audio.samplerate)),this.MouseClickPos=new s.l(0,0,0,new s.d(0,this.audio.samplerate)),this.playduration=this._durtime.clone(),this.total_time=Math.round(this.Chunk.time.end.unix-this.Chunk.time.start.unix)},t.prototype.validateConfig=function(){var e=new _.a,t=e.validateObject(this._settings);if(!t.success)throw t.error},t.ctorParameters=function(){return[{type:r.a}]},t}(r.j)},"/AVL":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(){function e(){}return e.prototype.validate=function(e,t){return{success:!1,error:"unknown error"}},e.prototype.validateObject=function(e){for(var t in e){var n=this.validate(t,e[""+t]);if(0==n.success)return n}return{success:!0,error:""}},e}()},"/B/2":function(e,t,n){"use strict";var i=n("YfJG");n.d(t,"a",function(){return r});var r=function(){function e(e,t,n,r){this._changed=!1,this.context=new i.a(e,t,n,r)}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){this.context.ngOnDestroy(),this.subscription0&&this.subscription0.unsubscribe(),this.subscription1&&this.subscription1.unsubscribe()},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,i},e.prototype.checkHost=function(e,t,n,i){},e.prototype.handleEvent=function(e,t){return!0},e.prototype.subscribe=function(e,t,n,i){this._eventHandler=t,n&&(this.subscription0=this.context.activateEvents.subscribe(t.bind(e,"activate"))),i&&(this.subscription1=this.context.deactivateEvents.subscribe(t.bind(e,"deactivate")))},e}()},"/fcW":function(e,t){function n(e){throw new Error("Cannot find module '"+e+"'.")}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="/fcW"},"01Ae":function(e,t,n){"use strict";var i=n("7nBS"),r=n("R2h3"),s=n("qs5H"),_=n("TTjD"),h=n("jzTW"),o=n("gWLF"),a=n("vU4g"),l=n("iOuv"),c=n("FUnf"),u=n("DCT3"),p=n("s+lJ"),d=n("yUTl"),g=n("4TZK"),f=n("qbqm"),x=n("CY56"),m=n("PSLa"),y=n("AGbc"),v=n("+o7G"),w=n("zx8H"),b=n("5MHI"),C=n("OKns"),I=n("Onsj"),k=n("685D"),T=n("WtPQ"),R=n("bgHk");n.d(t,"b",function(){return N}),n.d(t,"a",function(){return D});var E=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),N=function(){function e(e,t,n,r,s){this._changed=!1,this.context=new i.a(e,t,n,r,s)}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){this.context.ngOnDestroy()},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,n||0===e.numberOfChecks&&this.context.ngOnInit(),i},e.prototype.checkHost=function(e,t,n,i){},e.prototype.handleEvent=function(e,t){return!0},e.prototype.subscribe=function(e,t){this._eventHandler=t},e}(),A=s.createRenderComponentType("",0,_.b.None,[],{}),V=function(e){function t(n,i,r,s){return e.call(this,t,A,h.a.HOST,n,i,r,s,o.b.CheckAlways)||this}return E(t,e),t.prototype.createInternal=function(e){return this._el_0=s.selectOrCreateRenderHostElement(this.renderer,"app-audioplayer-gui",s.EMPTY_INLINE_ARRAY,e,null),this.compView_0=new D(this.viewUtils,this,0,this._el_0),this._AudioplayerGUIComponent_0_3=new N(this.injectorGet(l.a,this.parentIndex),this.injectorGet(c.a,this.parentIndex),this.injectorGet(u.a,this.parentIndex),this.injectorGet(p.a,this.parentIndex),this.injectorGet(d.a,this.parentIndex)),this.compView_0.create(this._AudioplayerGUIComponent_0_3.context),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0],null),new a.a(0,this,this._el_0,this._AudioplayerGUIComponent_0_3.context)},t.prototype.injectorGetInternal=function(e,t,n){return e===i.a&&0===t?this._AudioplayerGUIComponent_0_3.context:n},t.prototype.detectChangesInternal=function(e){this._AudioplayerGUIComponent_0_3.ngDoCheck(this,this._el_0,e),this.compView_0.internalDetectChanges(e),e||0===this.numberOfChecks&&this._AudioplayerGUIComponent_0_3.context.ngAfterViewInit()},t.prototype.destroyInternal=function(){this.compView_0.destroy(),this._AudioplayerGUIComponent_0_3.ngOnDestroy()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t}(r.a),S=(new a.b("app-audioplayer-gui",V,i.a),[g.a]),O=s.createRenderComponentType("",0,_.b.Emulated,S,{}),D=function(e){function t(n,i,r,_){var a=e.call(this,t,O,h.a.COMPONENT,n,i,r,_,o.b.CheckAlways)||this;return a._map_18=s.pureProxy2(function(e,t){return{label:e,shortcut:t}}),a._map_20=s.pureProxy2(function(e,t){return{label:e,shortcut:t}}),a._map_22=s.pureProxy2(function(e,t){return{label:e,shortcut:t}}),a._map_24=s.pureProxy2(function(e,t){return{label:e,shortcut:t}}),a._map_26=s.pureProxy2(function(e,t){return{label:e,shortcut:t}}),a._map_27=s.pureProxy5(function(e,t,n,i,r){return{play:e,pause:t,stop:n,replay:i,backward:r}}),a}return E(t,e),Object.defineProperty(t.prototype,"_TranscrEditorConfig_4_4",{get:function(){return null==this.__TranscrEditorConfig_4_4&&(this.__TranscrEditorConfig_4_4=new I.a),this.__TranscrEditorConfig_4_4},enumerable:!0,configurable:!0}),t.prototype.createInternal=function(e){var t=this.renderer.createViewRoot(this.parentElement);this._viewQuery_nav_0=new f.a,this._viewQuery_audioplayer_1=new f.a,this._viewQuery_transcr_2=new f.a,this._el_0=s.createRenderElement(this.renderer,t,"app-audio-navigation",s.EMPTY_INLINE_ARRAY,null),this.compView_0=new m.a(this.viewUtils,this,0,this._el_0),this._AudioNavigationComponent_0_3=new m.b(this.parentView.injectorGet(p.a,this.parentIndex),this.parentView.injectorGet(l.a,this.parentIndex),this.compView_0.ref,this.parentView.injectorGet(d.a,this.parentIndex)),this.compView_0.create(this._AudioNavigationComponent_0_3.context),this._text_1=this.renderer.createText(t,"\n",null),this._el_2=s.createRenderElement(this.renderer,t,"app-audioplayer",s.EMPTY_INLINE_ARRAY,null),this.compView_2=new w.a(this.viewUtils,this,2,this._el_2),this._AudioplayerService_2_3=new v.a(this.parentView.injectorGet(l.a,this.parentIndex)),this._AudioplayerComponent_2_4=new w.b(this.parentView.injectorGet(l.a,this.parentIndex),this._AudioplayerService_2_3,this.compView_2.ref,this.parentView.injectorGet(c.a,this.parentIndex)),this.compView_2.create(this._AudioplayerComponent_2_4.context),this._text_3=this.renderer.createText(t,"\n",null),this._el_4=s.createRenderElement(this.renderer,t,"app-transcr-editor",s.EMPTY_INLINE_ARRAY,null),this.compView_4=new C.a(this.viewUtils,this,4,this._el_4),this._TranscrEditorComponent_4_3=new C.b(this.compView_4.ref,this.parentView.injectorGet(d.a,this.parentIndex),this.parentView.injectorGet(T.a,this.parentIndex)),this._text_5=this.renderer.createText(null,"\n",null),this.compView_4.create(this._TranscrEditorComponent_4_3.context);var n=s.subscribeToRenderElement(this,this._el_0,new s.InlineArray16(10,"volumechange",null,"aftervolumechange",null,"speedchange",null,"afterspeedchange",null,"buttonclick",null),this.eventHandler(this.handleEvent_0));this._AudioNavigationComponent_0_3.subscribe(this,this.eventHandler(this.handleEvent_0),!0,!0,!0,!0,!0),this._pipe_translate_0=new k.a(this.parentView.injectorGet(T.a,this.parentIndex),this.ref),this._pipe_translate_1=new k.a(this.parentView.injectorGet(T.a,this.parentIndex),this.ref),this._pipe_translate_2=new k.a(this.parentView.injectorGet(T.a,this.parentIndex),this.ref),this._pipe_translate_3=new k.a(this.parentView.injectorGet(T.a,this.parentIndex),this.ref),this._pipe_translate_4=new k.a(this.parentView.injectorGet(T.a,this.parentIndex),this.ref);var i=s.subscribeToRenderElement(this,this._el_2,new s.InlineArray8(6,"shortcuttriggered",null,"resize","window","beforeunload","window"),this.eventHandler(this.handleEvent_2));this._AudioplayerComponent_2_4.subscribe(this,this.eventHandler(this.handleEvent_2),!0,!1);var r=s.subscribeToRenderElement(this,this._el_4,new s.InlineArray8(6,"onkeyup",null,"marker_insert",null,"marker_click",null),this.eventHandler(this.handleEvent_4));return this._TranscrEditorComponent_4_3.subscribe(this,this.eventHandler(this.handleEvent_4),!1,!0,!0,!0,!1),this._viewQuery_nav_0.reset([this._AudioNavigationComponent_0_3.context]),this.context.nav=this._viewQuery_nav_0.first,this._viewQuery_audioplayer_1.reset([this._AudioplayerComponent_2_4.context]),this.context.audioplayer=this._viewQuery_audioplayer_1.first,this._viewQuery_transcr_2.reset([this._TranscrEditorComponent_4_3.context]),this.context.editor=this._viewQuery_transcr_2.first,this.init(null,this.renderer.directRenderer?null:[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5],[n,i,r]),null},t.prototype.injectorGetInternal=function(e,t,n){return e===x.a&&0===t?this._AudioNavigationComponent_0_3.context:e===v.a&&2===t?this._AudioplayerService_2_3:e===y.a&&2===t?this._AudioplayerComponent_2_4.context:e===b.a&&4<=t&&t<=5?this._TranscrEditorComponent_4_3.context:e===I.a&&4<=t&&t<=5?this._TranscrEditorConfig_4_4:n},t.prototype.detectChangesInternal=function(e){var t=new R.c;t.reset();var n=this._map_27(this._map_18(t.unwrap(this._pipe_translate_0.transform("general.play")),this.context.keyMap.getShortcut("AP","play_pause")),this._map_20(t.unwrap(this._pipe_translate_1.transform("general.pause")),this.context.keyMap.getShortcut("AP","play_pause")),this._map_22(t.unwrap(this._pipe_translate_2.transform("general.stop")),this.context.keyMap.getShortcut("AP","stop")),this._map_24(t.unwrap(this._pipe_translate_3.transform("general.replay")),""),this._map_26(t.unwrap(this._pipe_translate_4.transform("general.backward")),this.context.keyMap.getShortcut("AP","step_backward")));this._AudioNavigationComponent_0_3.check_buttons(n,e,t.hasWrappedValue),this._AudioNavigationComponent_0_3.ngDoCheck(this,this._el_0,e),this._AudioplayerComponent_2_4.ngDoCheck(this,this._el_2,e)&&this.compView_2.markAsCheckOnce(),this._TranscrEditorComponent_4_3.ngDoCheck(this,this._el_4,e),this.compView_0.internalDetectChanges(e),this.compView_2.internalDetectChanges(e),this.compView_4.internalDetectChanges(e),e||0===this.numberOfChecks&&this._AudioplayerComponent_2_4.context.ngAfterViewInit()},t.prototype.destroyInternal=function(){this.compView_0.destroy(),this.compView_2.destroy(),this.compView_4.destroy(),this._AudioNavigationComponent_0_3.ngOnDestroy(),this._AudioplayerComponent_2_4.ngOnDestroy(),this._TranscrEditorComponent_4_3.ngOnDestroy(),this._pipe_translate_0.ngOnDestroy(),this._pipe_translate_1.ngOnDestroy(),this._pipe_translate_2.ngOnDestroy(),this._pipe_translate_3.ngOnDestroy(),this._pipe_translate_4.ngOnDestroy()},t.prototype.handleEvent_0=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("volumechange"==e){n=this.context.onVolumeChange(t)!==!1&&n}if("aftervolumechange"==e){n=this.context.afterVolumeChange(t)!==!1&&n}if("speedchange"==e){n=this.context.onSpeedChange(t)!==!1&&n}if("afterspeedchange"==e){n=this.context.afterSpeedChange(t)!==!1&&n}if("buttonclick"==e){n=this.context.onButtonClick(t)!==!1&&n}return n},t.prototype.handleEvent_2=function(e,t){this.compView_2.markPathToRootAsCheckOnce();var n=!0;if(n=this._AudioplayerComponent_2_4.handleEvent(e,t)&&n,"shortcuttriggered"==e){n=this.context.onShortcutTriggered(t)!==!1&&n}return n},t.prototype.handleEvent_4=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("onkeyup"==e){n=this.context.updateSegment(t)!==!1&&n}if("marker_insert"==e){n=this.context.onMarkerInsert(t)!==!1&&n}if("marker_click"==e){n=this.context.onMarkerClick(t)!==!1&&n}return n},t}(r.a)},"0HDV":function(e,t,n){"use strict";var i=n("Rw+2");n.d(t,"a",function(){return r});var r=function(){function e(){this.showmodal=new i.EventEmitter}return e.prototype.show=function(e,t,n){void 0===t&&(t=""),void 0===n&&(n=null),this.showmodal.emit({type:e,text:t,functions:n})},e.ctorParameters=function(){return[]},e}()},"0VXW":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(){function e(){}return e}()},"0YY0":function(e,t,n){"use strict";var i=n("Rw+2"),r=n("24R9"),s=n("Gvdl"),_=(n.n(s),n("D8Yg"));n.d(t,"a",function(){return h});var h=function(){function e(e,t){this.http=e,this.sanitizer=t,this.server_url=""}return e.prototype.beginSession=function(e,t,n,i){if(""!=e&&(""!=t||n>-1)){var r={querytype:"startannotation",project:"transcription",jobno:n};return this.post(r)}throw"beginSession - validation false"},e.prototype.continueSession=function(e,t){if(null!=e&&""!=e&&null!=t&&""!=t){var n={querytype:"continueannotation",project:e,annotator:e,id:""};return this.post(n)}throw"continueSession - validation false"},e.prototype.saveSession=function(e,t,n,i,r,s,_,h,o){if(""!=t&&e.length>0&&null!=h){var a={querytype:"continueannotation",transcript:JSON.stringify(e),project:"transcription",annotator:n,comment:_,jobno:i,status:s,quality:JSON.stringify(h),id:r,log:o};return this.post(a)}throw"saveSession - validation false"},e.prototype.closeSession=function(e,t,n){if(n=n?n:"",null!=e&&""!=e&&null!=t&&t>-1){var i={querytype:"endannotation",annotator:e,comment:n,id:t};return this.post(i)}throw"closeSession - validation false"},e.prototype.getAudioURL=function(e,t){if(null!=e&&""!=e&&null!=t&&""!=t)return e=this.sanitizer.sanitize(i.SecurityContext.URL,e),t=this.sanitizer.sanitize(i.SecurityContext.URL,t),this.server_url+"?dir="+e+"&src="+t;throw"getAudioBuffer - validation false"},e.prototype.post=function(e){var t=JSON.stringify(e),n=new r.b;return n.append("Content-Type","application/json"),this.http.post(this.server_url,t,n)},e.prototype.init=function(e){var t=this.sanitizer.sanitize(i.SecurityContext.URL,e);this.server_url=t},e.ctorParameters=function(){return[{type:r.a},{type:_.c}]},e}()},1:function(e,t,n){e.exports=n("x35b")},"1A80":function(e,t,n){"use strict";var i=n("YWx4"),r=n("R2h3"),s=n("qs5H"),_=n("TTjD"),h=n("jzTW"),o=n("gWLF"),a=n("vU4g"),l=n("0YY0"),c=n("WtPQ"),u=n("SzqK"),p=n("yUTl"),d=n("Ni5f"),g=n("rv3A"),f=n("isIo"),x=n("cE4U"),m=n("XH3Z"),y=n("Sqya"),v=n("/B/2"),w=n("0HDV"),b=n("wGSH"),C=n("c+H2"),I=n("tUB6"),k=n("1KPg"),T=n("YfJG");n.d(t,"a",function(){return V});var R=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),E=function(){function e(e,t,n,r){this._changed=!1,this.context=new i.a(e,t,n,r)}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){this.context.ngOnDestroy()},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,i},e.prototype.checkHost=function(e,t,n,i){},e.prototype.handleEvent=function(e,t){return!0},e.prototype.subscribe=function(e,t){this._eventHandler=t},e}(),N=s.createRenderComponentType("",0,_.b.None,[],{}),A=function(e){function t(n,i,r,s){return e.call(this,t,N,h.a.HOST,n,i,r,s,o.b.CheckAlways)||this}return R(t,e),t.prototype.createInternal=function(e){return this._el_0=s.selectOrCreateRenderHostElement(this.renderer,"octra",s.EMPTY_INLINE_ARRAY,e,null),this.compView_0=new D(this.viewUtils,this,0,this._el_0),this._AppComponent_0_3=new E(this.injectorGet(l.a,this.parentIndex),this.injectorGet(c.a,this.parentIndex),this.injectorGet(u.a,this.parentIndex),this.injectorGet(p.a,this.parentIndex)),this.compView_0.create(this._AppComponent_0_3.context),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0],null),new a.a(0,this,this._el_0,this._AppComponent_0_3.context)},t.prototype.injectorGetInternal=function(e,t,n){return e===i.a&&0===t?this._AppComponent_0_3.context:n},t.prototype.detectChangesInternal=function(e){this._AppComponent_0_3.ngDoCheck(this,this._el_0,e),this.compView_0.internalDetectChanges(e)},t.prototype.destroyInternal=function(){this.compView_0.destroy(),this._AppComponent_0_3.ngOnDestroy()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t}(r.a),V=new a.b("octra",A,i.a),S=[d.a],O=s.createRenderComponentType("",0,_.b.Emulated,S,{}),D=function(e){function t(n,i,r,s){return e.call(this,t,O,h.a.COMPONENT,n,i,r,s,o.b.CheckAlways)||this}return R(t,e),t.prototype.createInternal=function(e){var t=this.renderer.createViewRoot(this.parentElement);return this._el_0=s.createRenderElement(this.renderer,t,"app-octra-modal",s.EMPTY_INLINE_ARRAY,null),this.compView_0=new f.a(this.viewUtils,this,0,this._el_0),this._OctraModalComponent_0_3=new f.b(this.parentView.injectorGet(w.a,this.parentIndex)),this.compView_0.create(this._OctraModalComponent_0_3.context),this._text_1=this.renderer.createText(t,"\n",null),this._el_2=s.createRenderElement(this.renderer,t,"header",s.EMPTY_INLINE_ARRAY,null),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=s.createRenderElement(this.renderer,this._el_2,"app-navigation",s.EMPTY_INLINE_ARRAY,null),this.compView_4=new m.a(this.viewUtils,this,4,this._el_4),this._NavigationComponent_4_3=new m.b(this.parentView.injectorGet(u.a,this.parentIndex),this.parentView.injectorGet(b.a,this.parentIndex),this.parentView.injectorGet(C.b,this.parentIndex),this.parentView.injectorGet(c.a,this.parentIndex)),this.compView_4.create(this._NavigationComponent_4_3.context),this._text_5=this.renderer.createText(this._el_2,"\n",null),this._text_6=this.renderer.createText(t,"\n",null),this._el_7=s.createRenderElement(this.renderer,t,"main",s.EMPTY_INLINE_ARRAY,null),this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=s.createRenderElement(this.renderer,this._el_7,"div",new s.InlineArray2(2,"class","container"),null),this._text_10=this.renderer.createText(this._el_9,"\n ",null),this._el_11=s.createRenderElement(this.renderer,this._el_9,"router-outlet",s.EMPTY_INLINE_ARRAY,null),this._vc_11=new y.a(11,9,this,this._el_11),this._RouterOutlet_11_5=new v.a(this.parentView.injectorGet(I.a,this.parentIndex),this._vc_11.vcRef,this.parentView.injectorGet(k.b,this.parentIndex),null),this._text_12=this.renderer.createText(this._el_9,"\n ",null),this._text_13=this.renderer.createText(this._el_7,"\n",null),this._text_14=this.renderer.createText(t,"\n",null),this.init(null,this.renderer.directRenderer?null:[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._el_11,this._text_12,this._text_13,this._text_14],null),null},t.prototype.injectorGetInternal=function(e,t,n){return e===g.a&&0===t?this._OctraModalComponent_0_3.context:e===x.a&&4===t?this._NavigationComponent_4_3.context:e===T.a&&11===t?this._RouterOutlet_11_5.context:n},t.prototype.detectChangesInternal=function(e){this._OctraModalComponent_0_3.ngDoCheck(this,this._el_0,e);var t=this.context.version;this._NavigationComponent_4_3.check_version(t,e,!1),this._NavigationComponent_4_3.ngDoCheck(this,this._el_4,e),this._RouterOutlet_11_5.ngDoCheck(this,this._el_11,e),this._vc_11.detectChangesInNestedViews(e),this.compView_0.internalDetectChanges(e),this.compView_4.internalDetectChanges(e),e||0===this.numberOfChecks&&this._NavigationComponent_4_3.context.ngAfterViewInit()},t.prototype.destroyInternal=function(){this._vc_11.destroyNestedViews(),this.compView_0.destroy(),this.compView_4.destroy(),this._OctraModalComponent_0_3.ngOnDestroy(),this._NavigationComponent_4_3.ngOnDestroy(),this._RouterOutlet_11_5.ngOnDestroy()},t}(r.a)},"2//i":function(e,t,n){"use strict";var i=n("/AVL"),r=n("OMJi");n.n(r);n.d(t,"a",function(){return _});var s=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.validate=function(e,t){var i="TranscrEditorConfig Validation - ";switch(e){case"height":if("number"==typeof t&&t>0)break;return{success:!1,error:i+"value of key '"+e+"' must be of type number greater 0"};case"disabled_keys":var s=!0;if(n.i(r.isArray)(t)){for(var _=0;_1;this._NgIf_3_6.check_ngIf(t,e,!1),this._NgIf_3_6.ngDoCheck(this,this._anchor_3,e);var n=this.parentView.context.dayTemplate||this.parentView._TemplateRef_1_4;this._NgbDatepickerMonthView_5_3.check_dayTemplate(n,e,!1);var i=this.parentView.context.disabled;this._NgbDatepickerMonthView_5_3.check_disabled(i,e,!1);var r=this.context.$implicit;this._NgbDatepickerMonthView_5_3.check_month(r,e,!1);var s=1===this.parentView.context.displayMonths?this.parentView.context.outsideDays:"hidden";this._NgbDatepickerMonthView_5_3.check_outsideDays(s,e,!1);var _=this.parentView.context.model;this._NgbDatepickerMonthView_5_3.check_selectedDate(_,e,!1);var h=this.parentView.context.showWeekdays;this._NgbDatepickerMonthView_5_3.check_showWeekdays(h,e,!1);var o=this.parentView.context.showWeekNumbers;this._NgbDatepickerMonthView_5_3.check_showWeekNumbers(o,e,!1),this._NgbDatepickerMonthView_5_3.ngDoCheck(this,this._el_5,e),this._vc_3.detectChangesInNestedViews(e),this.compView_5.internalDetectChanges(e)},t.prototype.destroyInternal=function(){this._vc_3.destroyNestedViews(),this.compView_5.destroy(),this._NgbDatepickerMonthView_5_3.ngOnDestroy()},t.prototype.visitRootNodesInternal=function(e,t){e(this._text_0,t),e(this._el_1,t),e(this._text_8,t)},t.prototype.createEmbeddedViewInternal=function(e){return 3==e?new L(this.viewUtils,this,3,this._anchor_3,this._vc_3):null},t.prototype.handleEvent_5=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("select"==e){n=this.parentView.context.onDateSelect(t)!==!1&&n}return n},t}(s.a),H=_.createRenderComponentType("",0,h.b.Emulated,P,{}),B=function(e){function t(n,i,s,_){var h=e.call(this,t,H,a.a.COMPONENT,n,i,s,_,l.b.CheckAlways)||this;return h._expr_21=r.b,h._expr_22=r.b,h}return A(t,e),t.prototype.createInternal=function(e){var t=this.renderer.createViewRoot(this.parentElement);return this._text_0=this.renderer.createText(t,"\n ",null),this._anchor_1=this.renderer.createTemplateAnchor(t,null),this._vc_1=new m.a(1,null,this,this._anchor_1),this._TemplateRef_1_4=new I.a(this,1,this._anchor_1),this._text_2=this.renderer.createText(t,"\n \n ",null),this._el_3=_.createRenderElement(this.renderer,t,"div",new _.InlineArray2(2,"class","ngb-dp-header bg-faded pt-1 rounded-top"),null),this._text_4=this.renderer.createText(this._el_3,"\n ",null),this._anchor_5=this.renderer.createTemplateAnchor(this._el_3,null),this._vc_5=new m.a(5,3,this,this._anchor_5),this._TemplateRef_5_5=new I.a(this,5,this._anchor_5),this._NgIf_5_6=new w.a(this._vc_5.vcRef,this._TemplateRef_5_5),this._text_6=this.renderer.createText(this._el_3,"\n ",null),this._text_7=this.renderer.createText(t,"\n\n ",null),this._el_8=_.createRenderElement(this.renderer,t,"div",new _.InlineArray2(2,"class","ngb-dp-months d-flex px-1 pb-1"),null),this._text_9=this.renderer.createText(this._el_8,"\n ",null),this._anchor_10=this.renderer.createTemplateAnchor(this._el_8,null),this._vc_10=new m.a(10,8,this,this._anchor_10),this._TemplateRef_10_5=new I.a(this,10,this._anchor_10),this._NgFor_10_6=new T.a(this._vc_10.vcRef,this._TemplateRef_10_5,this.parentView.injectorGet(R.a,this.parentIndex),this.ref),this._text_11=this.renderer.createText(this._el_8,"\n ",null),this._text_12=this.renderer.createText(t,"\n ",null),this.init(null,this.renderer.directRenderer?null:[this._text_0,this._anchor_1,this._text_2,this._el_3,this._text_4,this._anchor_5,this._text_6,this._text_7,this._el_8,this._text_9,this._anchor_10,this._text_11,this._text_12],null),null},t.prototype.injectorGetInternal=function(e,t,n){return e===I.b&&1===t?this._TemplateRef_1_4:e===I.b&&5===t?this._TemplateRef_5_5:e===k.a&&5===t?this._NgIf_5_6.context:e===I.b&&10===t?this._TemplateRef_10_5:e===E.a&&10===t?this._NgFor_10_6.context:n},t.prototype.detectChangesInternal=function(e){var t="none"!==this.context.navigation;this._NgIf_5_6.check_ngIf(t,e,!1),this._NgIf_5_6.ngDoCheck(this,this._anchor_5,e);var n=this.context.months;this._NgFor_10_6.check_ngForOf(n,e,!1),this._NgFor_10_6.ngDoCheck(this,this._anchor_10,e),this._vc_1.detectChangesInNestedViews(e),this._vc_5.detectChangesInNestedViews(e),this._vc_10.detectChangesInNestedViews(e);var i=this.context.getHeaderHeight();_.checkBinding(e,this._expr_21,i)&&(this.renderer.setElementStyle(this._el_3,"height",null==this.viewUtils.sanitizer.sanitize(N.b.STYLE,i)?null:this.viewUtils.sanitizer.sanitize(N.b.STYLE,i).toString()+"rem"),this._expr_21=i);var r=0-this.context.getHeaderMargin();_.checkBinding(e,this._expr_22,r)&&(this.renderer.setElementStyle(this._el_3,"marginBottom",null==this.viewUtils.sanitizer.sanitize(N.b.STYLE,r)?null:this.viewUtils.sanitizer.sanitize(N.b.STYLE,r).toString()+"rem"),this._expr_22=r)},t.prototype.destroyInternal=function(){this._vc_1.destroyNestedViews(),this._vc_5.destroyNestedViews(),this._vc_10.destroyNestedViews()},t.prototype.createEmbeddedViewInternal=function(e){return 1==e?new M(this.viewUtils,this,1,this._anchor_1,this._vc_1):5==e?new j(this.viewUtils,this,5,this._anchor_5,this._vc_5):10==e?new G(this.viewUtils,this,10,this._anchor_10,this._vc_10):null},t}(s.a)},"2YZJ":function(e,t,n){"use strict";var i=n("KufF");n.d(t,"a",function(){return r});var r=function(){function e(){this.platform=new i.a}return e.prototype.isValidBrowser=function(e){for(var t=0;t-1&&e-1&&this._segments[e])&&(this._segments[e].time.samples=t.time.samples,this._segments[e].transcript=t.transcript,this.onsegmentchange.emit(null),!0)},e.prototype.sort=function(){this.segments.sort(function(e,t){return e.time.samplest.time.samples?1:void 0}),this.onsegmentchange.emit({})},e.prototype.get=function(e){return e>-1&&e0&&(t=this._segments[n-1].time.samples),e>t&&e<=this._segments[n].time.samples)return n;return-1},e.prototype.getSegmentsOfRange=function(e,t){for(var n=[],i=0,r=0;r=e&&s.time.samples<=t||i>=e&&i<=t||i<=e&&s.time.samples>=t)&&n.push(s),i=s.time.samples}return n},e.prototype.getStartTime=function(e){var t=this.get(e),n=0;if(t)for(var i=0;i0){var n=this.segments[t-1];n.time.samples===this.segments[t].time.samples&&e.push(t)}for(var t=0;t=t&&e<=this.segments[n].time.samples)return this.segments[n];t=this.segments[n].time.samples}return null},e.prototype.clear=function(){this._segments=[]},e}()},"4yvs":function(e,t,n){"use strict";var i=n("5ZV5"),r=n("bgHk"),s=n("R2h3"),_=n("qs5H"),h=n("TTjD"),o=n("jzTW"),a=n("gWLF"),l=n("vU4g"),c=n("gEbu"),u=n("Sqya"),p=n("RUIm"),d=n("OGrb"),g=n("tSbE"),f=n("ikuj"),x=n("R14C"),m=n("qZpo"),y=n("tinW"),v=n("/lAH");n.d(t,"b",function(){return b}),n.d(t,"a",function(){return D});var w=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),b=function(){function e(e){this._changed=!1,this.context=new i.a(e),this._expr_0=r.b,this._expr_1=r.b,this._expr_2=r.b,this._expr_3=r.b,this._expr_4=r.b,this._expr_5=r.b,this._expr_6=r.b}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){this.subscription0&&this.subscription0.unsubscribe()},e.prototype.check_dayTemplate=function(e,t,n){(n||_.checkBinding(t,this._expr_0,e))&&(this._changed=!0,this.context.dayTemplate=e,this._expr_0=e)},e.prototype.check_disabled=function(e,t,n){(n||_.checkBinding(t,this._expr_1,e))&&(this._changed=!0,this.context.disabled=e,this._expr_1=e)},e.prototype.check_month=function(e,t,n){(n||_.checkBinding(t,this._expr_2,e))&&(this._changed=!0,this.context.month=e,this._expr_2=e)},e.prototype.check_outsideDays=function(e,t,n){(n||_.checkBinding(t,this._expr_3,e))&&(this._changed=!0,this.context.outsideDays=e,this._expr_3=e)},e.prototype.check_selectedDate=function(e,t,n){(n||_.checkBinding(t,this._expr_4,e))&&(this._changed=!0,this.context.selectedDate=e,this._expr_4=e)},e.prototype.check_showWeekdays=function(e,t,n){(n||_.checkBinding(t,this._expr_5,e))&&(this._changed=!0,this.context.showWeekdays=e,this._expr_5=e)},e.prototype.check_showWeekNumbers=function(e,t,n){(n||_.checkBinding(t,this._expr_6,e))&&(this._changed=!0,this.context.showWeekNumbers=e,this._expr_6=e)},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,i},e.prototype.checkHost=function(e,t,n,i){},e.prototype.handleEvent=function(e,t){return!0},e.prototype.subscribe=function(e,t,n){this._eventHandler=t,n&&(this.subscription0=this.context.select.subscribe(t.bind(e,"select")))},e}(),C=_.createRenderComponentType("",0,h.b.None,[],{}),I=function(e){function t(n,i,r,s){return e.call(this,t,C,o.a.HOST,n,i,r,s,a.b.CheckAlways)||this}return w(t,e),t.prototype.createInternal=function(e){return this._el_0=_.selectOrCreateRenderHostElement(this.renderer,"ngb-datepicker-month-view",new _.InlineArray2(2,"class","d-block"),e,null),this.compView_0=new D(this.viewUtils,this,0,this._el_0),this._NgbDatepickerMonthView_0_3=new b(this.injectorGet(c.b,this.parentIndex)),this.compView_0.create(this._NgbDatepickerMonthView_0_3.context),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0],null),new l.a(0,this,this._el_0,this._NgbDatepickerMonthView_0_3.context)},t.prototype.injectorGetInternal=function(e,t,n){return e===i.a&&0===t?this._NgbDatepickerMonthView_0_3.context:n},t.prototype.detectChangesInternal=function(e){this._NgbDatepickerMonthView_0_3.ngDoCheck(this,this._el_0,e),this.compView_0.internalDetectChanges(e)},t.prototype.destroyInternal=function(){this.compView_0.destroy(),this._NgbDatepickerMonthView_0_3.ngOnDestroy()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t}(s.a),k=(new l.b("ngb-datepicker-month-view",I,i.a),[".ngb-dp-weekday[_ngcontent-%COMP%], .ngb-dp-week-number[_ngcontent-%COMP%] {\n line-height: 2rem;\n }\n .ngb-dp-day[_ngcontent-%COMP%], .ngb-dp-weekday[_ngcontent-%COMP%], .ngb-dp-week-number[_ngcontent-%COMP%] {\n width: 2rem;\n height: 2rem; \n }\n .ngb-dp-day[_ngcontent-%COMP%] {\n cursor: pointer;\n }\n .ngb-dp-day.disabled[_ngcontent-%COMP%], .ngb-dp-day.hidden[_ngcontent-%COMP%], .ngb-dp-day.collapsed[_ngcontent-%COMP%] {\n cursor: default;\n }\n [_nghost-%COMP%] .ngb-dp-day.collapsed > * {\n display: none;\n }\n [_nghost-%COMP%] .ngb-dp-day.hidden > * {\n visibility: hidden;\n }"]),T=function(e){function t(n,i,r,s,_){return e.call(this,t,O,o.a.EMBEDDED,n,i,r,s,a.b.CheckAlways,_)||this}return w(t,e),t.prototype.createInternal=function(e){return this._el_0=_.createRenderElement(this.renderer,null,"div",new _.InlineArray2(2,"class","ngb-dp-weekday"),null),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0],null),null},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t}(s.a),R=function(e){function t(n,i,s,_,h){var l=e.call(this,t,O,o.a.EMBEDDED,n,i,s,_,a.b.CheckAlways,h)||this;return l._expr_2=r.b,l}return w(t,e),t.prototype.createInternal=function(e){return this._el_0=_.createRenderElement(this.renderer,null,"div",new _.InlineArray2(2,"class","ngb-dp-weekday small text-center text-info font-italic"),null),this._text_1=this.renderer.createText(this._el_0,"",null),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0,this._text_1],null),null},t.prototype.detectChangesInternal=function(e){var t=_.inlineInterpolate(1,"\n ",this.parentView.parentView.context.i18n.getWeekdayShortName(this.context.$implicit),"\n ");_.checkBinding(e,this._expr_2,t)&&(this.renderer.setText(this._text_1,t),this._expr_2=t)},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t}(s.a),E=function(e){function t(n,i,r,s,_){return e.call(this,t,O,o.a.EMBEDDED,n,i,r,s,a.b.CheckAlways,_)||this}return w(t,e),t.prototype.createInternal=function(e){return this._el_0=_.createRenderElement(this.renderer,null,"div",new _.InlineArray2(2,"class","ngb-dp-week d-flex"),null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._anchor_2=this.renderer.createTemplateAnchor(this._el_0,null),this._vc_2=new u.a(2,0,this,this._anchor_2),this._TemplateRef_2_5=new g.a(this,2,this._anchor_2),this._NgIf_2_6=new p.a(this._vc_2.vcRef,this._TemplateRef_2_5),this._text_3=this.renderer.createText(this._el_0,"\n ",null),this._anchor_4=this.renderer.createTemplateAnchor(this._el_0,null),this._vc_4=new u.a(4,0,this,this._anchor_4),this._TemplateRef_4_5=new g.a(this,4,this._anchor_4),this._NgFor_4_6=new d.a(this._vc_4.vcRef,this._TemplateRef_4_5,this.parentView.injectorGet(f.a,this.parentIndex),this.parentView.ref),this._text_5=this.renderer.createText(this._el_0,"\n ",null),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0,this._text_1,this._anchor_2,this._text_3,this._anchor_4,this._text_5],null),null},t.prototype.injectorGetInternal=function(e,t,n){return e===g.b&&2===t?this._TemplateRef_2_5:e===x.a&&2===t?this._NgIf_2_6.context:e===g.b&&4===t?this._TemplateRef_4_5:e===m.a&&4===t?this._NgFor_4_6.context:n},t.prototype.detectChangesInternal=function(e){var t=this.parentView.context.showWeekNumbers;this._NgIf_2_6.check_ngIf(t,e,!1),this._NgIf_2_6.ngDoCheck(this,this._anchor_2,e);var n=this.parentView.context.month.weekdays;this._NgFor_4_6.check_ngForOf(n,e,!1),this._NgFor_4_6.ngDoCheck(this,this._anchor_4,e),this._vc_2.detectChangesInNestedViews(e),this._vc_4.detectChangesInNestedViews(e)},t.prototype.destroyInternal=function(){this._vc_2.destroyNestedViews(),this._vc_4.destroyNestedViews()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t.prototype.createEmbeddedViewInternal=function(e){return 2==e?new T(this.viewUtils,this,2,this._anchor_2,this._vc_2):4==e?new R(this.viewUtils,this,4,this._anchor_4,this._vc_4):null},t}(s.a),N=function(e){function t(n,i,s,_,h){var l=e.call(this,t,O,o.a.EMBEDDED,n,i,s,_,a.b.CheckAlways,h)||this;return l._expr_2=r.b,l}return w(t,e),t.prototype.createInternal=function(e){return this._el_0=_.createRenderElement(this.renderer,null,"div",new _.InlineArray2(2,"class","ngb-dp-week-number small text-center font-italic text-muted"),null),this._text_1=this.renderer.createText(this._el_0,"",null),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0,this._text_1],null),null},t.prototype.detectChangesInternal=function(e){var t=_.inlineInterpolate(1,"",this.parentView.context.$implicit.number,"");_.checkBinding(e,this._expr_2,t)&&(this.renderer.setText(this._text_1,t),this._expr_2=t)},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t}(s.a),A=function(e){function t(n,i,r,s,_){return e.call(this,t,O,o.a.EMBEDDED,n,i,r,s,a.b.CheckAlways,_)||this}return w(t,e),t.prototype.createInternal=function(e){return this._text_0=this.renderer.createText(null,"\n ",null),this.init(this._text_0,this.renderer.directRenderer?null:[this._text_0],null),null},t.prototype.visitRootNodesInternal=function(e,t){e(this._text_0,t)},t}(s.a),V=function(e){function t(n,i,s,h,l){var c=e.call(this,t,O,o.a.EMBEDDED,n,i,s,h,a.b.CheckAlways,l)||this;return c._expr_7=r.b,c._expr_8=r.b,c._expr_9=r.b,c._map_10=_.pureProxy3(function(e,t,n){return{year:e,month:t,day:n}}),c._map_11=_.pureProxy4(function(e,t,n,i){return{date:e,currentMonth:t,disabled:n,selected:i}}),c}return w(t,e),t.prototype.createInternal=function(e){this._el_0=_.createRenderElement(this.renderer,null,"div",new _.InlineArray2(2,"class","ngb-dp-day"),null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._anchor_2=this.renderer.createTemplateAnchor(this._el_0,null),this._vc_2=new u.a(2,0,this,this._anchor_2),this._TemplateRef_2_5=new g.a(this,2,this._anchor_2),this._NgTemplateOutlet_2_6=new y.a(this._vc_2.vcRef),this._text_3=this.renderer.createText(this._el_0,"\n ",null);var t=_.subscribeToRenderElement(this,this._el_0,new _.InlineArray2(2,"click",null),this.eventHandler(this.handleEvent_0));return this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0,this._text_1,this._anchor_2,this._text_3],[t]),null},t.prototype.injectorGetInternal=function(e,t,n){return e===g.b&&2===t?this._TemplateRef_2_5:e===v.a&&2===t?this._NgTemplateOutlet_2_6.context:n},t.prototype.detectChangesInternal=function(e){var t=this._map_11(this._map_10(this.context.$implicit.date.year,this.context.$implicit.date.month,this.context.$implicit.date.day),this.parentView.parentView.context.month.number,this.parentView.parentView.context.isDisabled(this.context.$implicit),this.parentView.parentView.context.isSelected(this.context.$implicit.date));this._NgTemplateOutlet_2_6.check_ngOutletContext(t,e,!1);var n=this.parentView.parentView.context.dayTemplate;this._NgTemplateOutlet_2_6.check_ngTemplateOutlet(n,e,!1),this._NgTemplateOutlet_2_6.ngDoCheck(this,this._anchor_2,e),this._vc_2.detectChangesInNestedViews(e);var i=this.parentView.parentView.context.isDisabled(this.context.$implicit);_.checkBinding(e,this._expr_7,i)&&(this.renderer.setElementClass(this._el_0,"disabled",i),this._expr_7=i);var r=this.parentView.parentView.context.isCollapsed(this.context.$implicit);_.checkBinding(e,this._expr_8,r)&&(this.renderer.setElementClass(this._el_0,"collapsed",r),this._expr_8=r);var s=this.parentView.parentView.context.isHidden(this.context.$implicit);_.checkBinding(e,this._expr_9,s)&&(this.renderer.setElementClass(this._el_0,"hidden",s),this._expr_9=s)},t.prototype.destroyInternal=function(){this._vc_2.destroyNestedViews()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t.prototype.createEmbeddedViewInternal=function(e){return 2==e?new A(this.viewUtils,this,2,this._anchor_2,this._vc_2):null},t.prototype.handleEvent_0=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("click"==e){n=this.parentView.parentView.context.doSelect(this.context.$implicit)!==!1&&n}return n},t}(s.a),S=function(e){function t(n,i,r,s,_){return e.call(this,t,O,o.a.EMBEDDED,n,i,r,s,a.b.CheckAlways,_)||this}return w(t,e),t.prototype.createInternal=function(e){return this._el_0=_.createRenderElement(this.renderer,null,"div",new _.InlineArray2(2,"class","ngb-dp-week d-flex"),null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._anchor_2=this.renderer.createTemplateAnchor(this._el_0,null),this._vc_2=new u.a(2,0,this,this._anchor_2),this._TemplateRef_2_5=new g.a(this,2,this._anchor_2),this._NgIf_2_6=new p.a(this._vc_2.vcRef,this._TemplateRef_2_5),this._text_3=this.renderer.createText(this._el_0,"\n ",null),this._anchor_4=this.renderer.createTemplateAnchor(this._el_0,null),this._vc_4=new u.a(4,0,this,this._anchor_4),this._TemplateRef_4_5=new g.a(this,4,this._anchor_4),this._NgFor_4_6=new d.a(this._vc_4.vcRef,this._TemplateRef_4_5,this.parentView.injectorGet(f.a,this.parentIndex),this.parentView.ref),this._text_5=this.renderer.createText(this._el_0,"\n ",null),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0,this._text_1,this._anchor_2,this._text_3,this._anchor_4,this._text_5],null),null},t.prototype.injectorGetInternal=function(e,t,n){return e===g.b&&2===t?this._TemplateRef_2_5:e===x.a&&2===t?this._NgIf_2_6.context:e===g.b&&4===t?this._TemplateRef_4_5:e===m.a&&4===t?this._NgFor_4_6.context:n},t.prototype.detectChangesInternal=function(e){var t=this.parentView.context.showWeekNumbers;this._NgIf_2_6.check_ngIf(t,e,!1),this._NgIf_2_6.ngDoCheck(this,this._anchor_2,e);var n=this.context.$implicit.days;this._NgFor_4_6.check_ngForOf(n,e,!1),this._NgFor_4_6.ngDoCheck(this,this._anchor_4,e),this._vc_2.detectChangesInNestedViews(e),this._vc_4.detectChangesInNestedViews(e)},t.prototype.destroyInternal=function(){this._vc_2.destroyNestedViews(),this._vc_4.destroyNestedViews()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t.prototype.createEmbeddedViewInternal=function(e){return 2==e?new N(this.viewUtils,this,2,this._anchor_2,this._vc_2):4==e?new V(this.viewUtils,this,4,this._anchor_4,this._vc_4):null},t}(s.a),O=_.createRenderComponentType("",0,h.b.Emulated,k,{}),D=function(e){function t(n,i,r,s){return e.call(this,t,O,o.a.COMPONENT,n,i,r,s,a.b.CheckAlways)||this}return w(t,e),t.prototype.createInternal=function(e){var t=this.renderer.createViewRoot(this.parentElement);return this._text_0=this.renderer.createText(t,"\n ",null),this._anchor_1=this.renderer.createTemplateAnchor(t,null),this._vc_1=new u.a(1,null,this,this._anchor_1),this._TemplateRef_1_5=new g.a(this,1,this._anchor_1),this._NgIf_1_6=new p.a(this._vc_1.vcRef,this._TemplateRef_1_5),this._text_2=this.renderer.createText(t,"\n ",null),this._anchor_3=this.renderer.createTemplateAnchor(t,null),this._vc_3=new u.a(3,null,this,this._anchor_3),this._TemplateRef_3_5=new g.a(this,3,this._anchor_3),this._NgFor_3_6=new d.a(this._vc_3.vcRef,this._TemplateRef_3_5,this.parentView.injectorGet(f.a,this.parentIndex),this.ref),this._text_4=this.renderer.createText(t,"\n ",null),this.init(null,this.renderer.directRenderer?null:[this._text_0,this._anchor_1,this._text_2,this._anchor_3,this._text_4],null),null},t.prototype.injectorGetInternal=function(e,t,n){return e===g.b&&1===t?this._TemplateRef_1_5:e===x.a&&1===t?this._NgIf_1_6.context:e===g.b&&3===t?this._TemplateRef_3_5:e===m.a&&3===t?this._NgFor_3_6.context:n},t.prototype.detectChangesInternal=function(e){var t=this.context.showWeekdays;this._NgIf_1_6.check_ngIf(t,e,!1),this._NgIf_1_6.ngDoCheck(this,this._anchor_1,e);var n=this.context.month.weeks;this._NgFor_3_6.check_ngForOf(n,e,!1),this._NgFor_3_6.ngDoCheck(this,this._anchor_3,e),this._vc_1.detectChangesInNestedViews(e),this._vc_3.detectChangesInNestedViews(e)},t.prototype.destroyInternal=function(){this._vc_1.destroyNestedViews(),this._vc_3.destroyNestedViews()},t.prototype.createEmbeddedViewInternal=function(e){return 1==e?new E(this.viewUtils,this,1,this._anchor_1,this._vc_1):3==e?new S(this.viewUtils,this,3,this._anchor_3,this._vc_3):null},t}(s.a)},"52Zn":function(e,t,n){"use strict";var i=n("Rw+2");n.d(t,"a",function(){return r});var r=function(){function e(e,t){this.elementRef=e,this.renderer=t}return e.prototype.changeStyle=function(e,t){this.renderer.setElementStyle(this.elementRef.nativeElement,e,t)},e.ctorParameters=function(){return[{type:i.ElementRef},{type:i.Renderer}]},e}()},"5JeX":function(e,t,n){"use strict";var i=n("SzqK"),r=n("+0xp"),s=n("U6hS"),_=n("zKH5"),h=n("DCT3"),o=n("0HDV"),a=n("8A5H"),l=n("OMJi");n.n(l);n.d(t,"a",function(){return c});var c=function(){function e(e,t,n,i,r){var s=this;this.router=e,this.sessServ=t,this.transcrServ=n,this.modService=i,this.langService=r,this.error="",this.abortTranscription=function(){s.router.navigate(["/logout"])},this.newTranscription=function(){s.sessServ.sessionfile=s.getSessionFile(s.dropzone.file),s.sessServ.file=s.dropzone.file,s.sessServ.transcription=[],s.transcrServ.segments=null,s.sessServ.offline=!0,s.navigate()},this.onOfflineSubmit=function(){var e=s.sessServ.sessionfile.type?s.sessServ.sessionfile.type:s.langService.instant("general.unknown");null!=s.dropzone.file&&null!=s.sessServ.sessionfile&&s.validate(s.dropzone.file)?s.dropzone.file.name!=s.sessServ.sessionfile.name||s.dropzone.file.type!=s.sessServ.sessionfile.type||s.dropzone.file.size!=s.sessServ.sessionfile.size?s.showErrorMessage(s.langService.instant("reload-file.another file selected",{file:s.getDropzoneFileString(s.sessServ.sessionfile)})):(s.sessServ.sessionfile=s.getSessionFile(s.dropzone.file),s.sessServ.file=s.dropzone.file,s.sessServ.offline=!0,s.navigate()):s.showErrorMessage(s.langService.instant("reload-file.file not supported",{type:e}))}}return Object.defineProperty(e.prototype,"sessionfile",{get:function(){return this.sessServ.sessionfile},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){},e.prototype.navigate=function(){this.router.navigate(["user"])},e.prototype.getDropzoneFileString=function(e){var t=s.a.getFileSize(e.size);return s.a.buildStr("{0} ({1} {2})",[e.name,Math.round(100*t.size)/100,t.label])},e.prototype.showErrorMessage=function(e){this.error=e,this.modService.show("error",e,null)},e.prototype.getSessionFile=function(e){return new r.a(e.name,e.size,e.lastModifiedDate,e.type)},e.prototype.validate=function(e){return!n.i(l.isNullOrUndefined)(e)&&("audio/wav"==e.type||"audio/x-wav"==e.type)},e.ctorParameters=function(){return[{type:_.a},{type:i.a},{type:h.a},{type:o.a},{type:a.b}]},e}()},"5MHI":function(e,t,n){"use strict";var i=n("Rw+2"),r=n("Onsj"),s=n("aVH4"),_=n("KufF"),h=n("2Lmt"),o=n("2//i"),a=n("yUTl"),l=n("8A5H"),c=n("wKbx");n.d(t,"a",function(){return u});var u=function(){function e(e,t,n){var o=this;this.cd=e,this.settingsService=t,this.langService=n,this.loaded=new i.EventEmitter,this.onkeyup=new i.EventEmitter,this.marker_insert=new i.EventEmitter,this.marker_click=new i.EventEmitter,this.typing=new i.EventEmitter,this.textfield=null,this._rawText="",this._html="",this.summernote_ui=null,this._is_typing=!1,this.lastkeypress=0,this.getRawText=function(){var e="",t=o.textfield.summernote("code");t="

"+t+"

";var n=jQuery(t),i=function(e,t){var n=jQuery(t).attr("data-marker-code");if("select-one"==t.type){n+="="+jQuery(t).attr("data-value")}if(n)for(var i=0;i "+e.button_text+" ["+e.shortcut[n]+"]";return this.Settings.responsive&&(i=" "),this.summernote_ui.button({contents:i,tooltip:e.description[this.langService.currentLang]+" Shortcut: ["+e.shortcut[n]+"]",click:function(){t.insertMarker(e.code,e.icon_url),t.marker_click.emit(e.code)}}).render()},e.prototype.updateTextField=function(){this._rawText=this.getRawText()},e.prototype.isDisabledKey=function(e){for(var t=0;t-1},e.prototype.rawToHTML=function(e){var t=e;t=this.replaceMarkersWithHTML(t,!0);for(var n=function(e){var n=i.markers[e],r=new RegExp("(\\s)*("+h.e.escapeRegex(n.code)+")(\\s)*","g"),s=function(e,t,i,r){var s=t?t:"",_=r?r:"";return s+""+_};t=t.replace(r,s)},i=this,r=0;r"+t+"

":""},e.prototype.focus=function(){var e=this;setTimeout(function(){""!=e.rawText&&h.e.placeAtEnd(jQuery(".note-editable.panel-body")[0]),e.textfield.summernote("focus")},500)},e.prototype.tidyUpRaw=function(e){var t=e;return t=t.replace(/\[[~^a-z0-9]+\]/g,function(e){return" "+e+" "}),t=t.replace(/(\w|ä|ü|ö|ß|Ü|Ö|Ä)\*(\w|ä|ü|ö|ß|Ü|Ö|Ä)/g,"$1 *$2"),t=t.replace(/(\*\*)|(\s\*\*)|(\*\*\s)/g," ** "),t=t.replace(/\s+/g," "),t=t.replace(/^\s+/g,""),t=t.replace(/\s$/g,"")},e.prototype.replaceMarkersWithHTML=function(e,t){var n,i=this,r=e;n=t?h.e.escapeRegex("([\\w~.^*-+]+)"):"([\\w~.^*-+]+)";var s=new RegExp(n,"g"),_=function(e,n){for(var r=0;r"}return t?"[MARKER NOT FOUND]":n};return r=r.replace(s,_)},e.prototype.validateConfig=function(){var e=new o.a,t=e.validateObject(this._settings);if(!t.success)throw t.error},e.ctorParameters=function(){return[{type:i.ChangeDetectorRef},{type:a.a},{type:l.b}]},e}()},"5MSB":function(e,t,n){"use strict";var i=n("dUUf"),r=(n.n(i),n("bgHk")),s=n("R2h3"),_=n("qs5H"),h=n("TTjD"),o=n("jzTW"),a=n("gWLF"),l=n("vU4g"),c=n("S7tg"),u=(n.n(c),n("Sqya")),p=n("RUIm"),d=n("tSbE"),g=n("R14C");n.d(t,"b",function(){return x}),n.d(t,"a",function(){return I});var f=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),x=function(){function e(e){this._changed=!1,this.context=new i.ModalFooterComponent(e),this._expr_0=r.b,this._expr_1=r.b,this._expr_2=r.b}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){},e.prototype.check_showDefaultButtons=function(e,t,n){(n||_.checkBinding(t,this._expr_0,e))&&(this._changed=!0,this.context.showDefaultButtons=e,this._expr_0=e)},e.prototype.check_dismissButtonLabel=function(e,t,n){(n||_.checkBinding(t,this._expr_1,e))&&(this._changed=!0,this.context.dismissButtonLabel=e,this._expr_1=e)},e.prototype.check_closeButtonLabel=function(e,t,n){(n||_.checkBinding(t,this._expr_2,e))&&(this._changed=!0,this.context.closeButtonLabel=e,this._expr_2=e)},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,i},e.prototype.checkHost=function(e,t,n,i){},e.prototype.handleEvent=function(e,t){return!0},e.prototype.subscribe=function(e,t){this._eventHandler=t},e}(),m=_.createRenderComponentType("",0,h.b.None,[],{}),y=function(e){function t(n,i,r,s){return e.call(this,t,m,o.a.HOST,n,i,r,s,a.b.CheckAlways)||this}return f(t,e),t.prototype.createInternal=function(e){return this._el_0=_.selectOrCreateRenderHostElement(this.renderer,"modal-footer",_.EMPTY_INLINE_ARRAY,e,null),this.compView_0=new I(this.viewUtils,this,0,this._el_0),this._ModalFooterComponent_0_3=new x(this.injectorGet(c.ModalComponent,this.parentIndex)),this.compView_0.create(this._ModalFooterComponent_0_3.context),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0],null),new l.a(0,this,this._el_0,this._ModalFooterComponent_0_3.context)},t.prototype.injectorGetInternal=function(e,t,n){return e===i.ModalFooterComponent&&0===t?this._ModalFooterComponent_0_3.context:n},t.prototype.detectChangesInternal=function(e){this._ModalFooterComponent_0_3.ngDoCheck(this,this._el_0,e),this.compView_0.internalDetectChanges(e)},t.prototype.destroyInternal=function(){this.compView_0.destroy()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t.prototype.visitProjectableNodesInternal=function(e,t,n,i){},t}(s.a),v=(new l.b("modal-footer",y,i.ModalFooterComponent),[]),w=function(e){function t(n,i,s,_,h){var l=e.call(this,t,C,o.a.EMBEDDED,n,i,s,_,a.b.CheckAlways,h)||this;return l._expr_2=r.b,l}return f(t,e),t.prototype.createInternal=function(e){this._el_0=_.createRenderElement(this.renderer,null,"button",new _.InlineArray8(6,"class","btn btn-default","data-dismiss","modal","type","button"),null),this._text_1=this.renderer.createText(this._el_0,"",null);var t=_.subscribeToRenderElement(this,this._el_0,new _.InlineArray2(2,"click",null),this.eventHandler(this.handleEvent_0));return this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0,this._text_1],[t]),null},t.prototype.detectChangesInternal=function(e){var t=_.inlineInterpolate(1,"",this.parentView.context.dismissButtonLabel,"");_.checkBinding(e,this._expr_2,t)&&(this.renderer.setText(this._text_1,t),this._expr_2=t)},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t.prototype.handleEvent_0=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("click"==e){n=this.parentView.context.modal.dismiss()!==!1&&n}return n},t}(s.a),b=function(e){function t(n,i,s,_,h){var l=e.call(this,t,C,o.a.EMBEDDED,n,i,s,_,a.b.CheckAlways,h)||this;return l._expr_2=r.b,l}return f(t,e),t.prototype.createInternal=function(e){this._el_0=_.createRenderElement(this.renderer,null,"button",new _.InlineArray4(4,"class","btn btn-primary","type","button"),null),this._text_1=this.renderer.createText(this._el_0,"",null);var t=_.subscribeToRenderElement(this,this._el_0,new _.InlineArray2(2,"click",null),this.eventHandler(this.handleEvent_0));return this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0,this._text_1],[t]),null},t.prototype.detectChangesInternal=function(e){var t=_.inlineInterpolate(1,"",this.parentView.context.closeButtonLabel,"");_.checkBinding(e,this._expr_2,t)&&(this.renderer.setText(this._text_1,t),this._expr_2=t)},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t.prototype.handleEvent_0=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("click"==e){n=this.parentView.context.modal.close()!==!1&&n}return n},t}(s.a),C=_.createRenderComponentType("",1,h.b.None,v,{}),I=function(e){function t(n,i,r,s){return e.call(this,t,C,o.a.COMPONENT,n,i,r,s,a.b.CheckAlways)||this}return f(t,e),t.prototype.createInternal=function(e){var t=this.renderer.createViewRoot(this.parentElement);return this._text_0=this.renderer.createText(t,"\n ",null),this._el_1=_.createRenderElement(this.renderer,t,"div",new _.InlineArray2(2,"class","modal-footer"),null),this._text_2=this.renderer.createText(this._el_1,"\n ",null),this.projectNodes(this._el_1,0),this._text_3=this.renderer.createText(this._el_1,"\n ",null),this._anchor_4=this.renderer.createTemplateAnchor(this._el_1,null),this._vc_4=new u.a(4,1,this,this._anchor_4),this._TemplateRef_4_5=new d.a(this,4,this._anchor_4),this._NgIf_4_6=new p.a(this._vc_4.vcRef,this._TemplateRef_4_5),this._text_5=this.renderer.createText(this._el_1,"\n ",null),this._anchor_6=this.renderer.createTemplateAnchor(this._el_1,null),this._vc_6=new u.a(6,1,this,this._anchor_6),this._TemplateRef_6_5=new d.a(this,6,this._anchor_6),this._NgIf_6_6=new p.a(this._vc_6.vcRef,this._TemplateRef_6_5),this._text_7=this.renderer.createText(this._el_1,"\n ",null),this._text_8=this.renderer.createText(t,"\n ",null),this.init(null,this.renderer.directRenderer?null:[this._text_0,this._el_1,this._text_2,this._text_3,this._anchor_4,this._text_5,this._anchor_6,this._text_7,this._text_8],null),null},t.prototype.injectorGetInternal=function(e,t,n){return e===d.b&&4===t?this._TemplateRef_4_5:e===g.a&&4===t?this._NgIf_4_6.context:e===d.b&&6===t?this._TemplateRef_6_5:e===g.a&&6===t?this._NgIf_6_6.context:n},t.prototype.detectChangesInternal=function(e){var t=this.context.showDefaultButtons;this._NgIf_4_6.check_ngIf(t,e,!1),this._NgIf_4_6.ngDoCheck(this,this._anchor_4,e);var n=this.context.showDefaultButtons;this._NgIf_6_6.check_ngIf(n,e,!1),this._NgIf_6_6.ngDoCheck(this,this._anchor_6,e),this._vc_4.detectChangesInNestedViews(e),this._vc_6.detectChangesInNestedViews(e)},t.prototype.destroyInternal=function(){this._vc_4.destroyNestedViews(),this._vc_6.destroyNestedViews()},t.prototype.createEmbeddedViewInternal=function(e){return 4==e?new w(this.viewUtils,this,4,this._anchor_4,this._vc_4):6==e?new b(this.viewUtils,this,6,this._anchor_6,this._vc_6):null},t}(s.a)},"7/hb":function(e,t,n){"use strict";var i=n("Rw+2"),r=n("2Lmt"),s=n("u9IK"),_=n("74QC");n.d(t,"a",function(){return h});var h=function(){function e(e,t,n,s){var _=this;this.audio=e,this.av=t,this.transcr=n,this.keyMap=s,this.selchange=new i.EventEmitter,this.segmententer=new i.EventEmitter,this.segmentchange=new i.EventEmitter,this.mousecursorchange=new i.EventEmitter,this.playcursorchange=new i.EventEmitter,this.shortcuttriggered=new i.EventEmitter,this.alerttriggered=new i.EventEmitter,this._begintime=null,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.drawing=!1,this.minmaxarray=[],this.audioplaying=!1,this.step_backward=!1,this.width=0,this.height=0,this.innerWidth=0,this.oldInnerWidth=0,this.resizing=!1,this._deactivate_shortcuts=!1,this.update=function(e){if(_.updateCanvasSizes(),_.av.channel){e&&_.computeDisplayData(_.av.AudioPxWidth/2,_.Settings.height,_.av.channel);for(var t=0;t<_.av.LinesArray.length;t++)_.drawSignal(t),"none"!=_.Settings.cropping&&(_.av.Mousecursor.relPos.x=_.innerWidth/2,_.drawCursor(_.av.LinesArray[t]),_.drawCropBorder());_.drawSegments(),_.Settings.timeline.enabled&&_.drawTimeLine()}_.oldInnerWidth=_.innerWidth},this.drawSignal=function(e){var t=this.av.LinesArray[e],n=this.Settings.timeline.enabled?this.Settings.timeline.height:0;if(!t)throw"Line Object not found";var i=Math.floor((this.Settings.height-n)/2),r=e*this.innerWidth,s=t.Size.width,_=1,h=1;if(this.clearDisplay(e),this.drawGrid(3,3,t),this.g_context.strokeStyle=this.Settings.data.color,this.g_context.beginPath(),this.g_context.moveTo(t.Pos.x,t.Pos.y+i-this.minmaxarray[r]),this.Settings.justifySignalHeight){for(var o=0,a=0,l=t.Size.height-n/2,c=0;c<=s&&(o=c,!isNaN(this.minmaxarray[c+r]));c++)a=Math.max(a,this.minmaxarray[c+r]),l=Math.min(l,this.minmaxarray[c+r]);if(a>0){var u=a-l;for(h=u/(a-l);h*u-1){var c=_.transcr.segments.get(l),u=_.transcr.segments.getStartTime(l);if(u.samples>=_.av.Chunk.time.start.samples&&c.time.samples<=_.av.Chunk.time.end.samples){var p=_.av.audioTCalculator.samplestoAbsX(_.transcr.segments.get(l).time.samples);_.av.Selection=a,_.selchange.emit(_.av.Selection),_.drawSegments();var d=new r.f(new r.d(0,_.audio.samplerate));l>0&&(d=_.transcr.segments.get(l-1));var g=_.av.audioTCalculator.samplestoAbsX(d.time.samples),f=_.innerWidth<_.AudioPxWidth?Math.floor(g/_.innerWidth+1)*(_.Settings.height+_.Settings.margin.bottom)-_.Settings.margin.bottom:0,x=_.innerWidth<_.AudioPxWidth?Math.floor(p/_.innerWidth+1)*(_.Settings.height+_.Settings.margin.bottom)-_.Settings.margin.bottom:0;o>=_.av.Selection.start.samples&&o<=_.av.Selection.end.samples&&(_.av.current.samples=_.av.Selection.start.samples,_.changePlayCursorSamples(_.av.Selection.start.samples),_.drawPlayCursorOnly(_.av.LastLine),_.audio.stopPlayback(_.playSelection)),_.Settings.multi_line||_.segmententer.emit({index:l,pos:{Y1:f,Y2:x}})}else _.alerttriggered.emit({type:"error",message:"Das Segment muss sichtbar sein, um es abspielen zu können"})}}i=!0;break;case"segment_enter":if(_.Settings.boundaries.enabled&&!_.Settings.boundaries.readonly){_.shortcuttriggered.emit({shortcut:t,value:s});var m=_.transcr.segments.getSegmentBySamplePosition(_.av.Mousecursor.timePos.samples);if(m>-1){var c=_.transcr.segments.get(m),u=_.transcr.segments.getStartTime(m);if(u.samples>=_.av.Chunk.time.start.samples&&c.time.samples<=_.av.Chunk.time.end.samples){var p=_.av.audioTCalculator.samplestoAbsX(_.transcr.segments.get(m).time.samples),d=new r.f(new r.d(0,_.audio.samplerate));m>0&&(d=_.transcr.segments.get(m-1));var g=_.av.audioTCalculator.samplestoAbsX(d.time.samples),f=_.innerWidth<_.AudioPxWidth?Math.floor(g/_.innerWidth+1)*(_.Settings.height+_.Settings.margin.bottom)-_.Settings.margin.bottom:0,x=_.innerWidth<_.AudioPxWidth?Math.floor(p/_.innerWidth+1)*(_.Settings.height+_.Settings.margin.bottom)-_.Settings.margin.bottom:0,y=_.av.getSegmentSelection();y&&(_.av.Selection=y,_.Settings.selection.color="purple",_.drawSegments(),_.Settings.selection.color="gray",_.av.current.samples=_.av.Selection.start.samples,_.changePlayCursorSamples(_.av.Selection.start.samples),_.drawPlayCursorOnly(_.av.LastLine),_.audio.stopPlayback()),_.segmententer.emit({index:m,pos:{Y1:f,Y2:x}})}else _.alerttriggered.emit({type:"error",message:"Das Segment muss sichtbar sein, um es transkribieren zu können"})}i=!0}break;case"cursor_left":_.shortcuttriggered.emit({shortcut:t,value:s}),_.av.moveCursor("left",_.Settings.step_width_ratio*_.audio.samplerate),_.drawCursor(_.av.LastLine),_.mousecursorchange.emit(_.av.Mousecursor),i=!0;break;case"cursor_right":_.shortcuttriggered.emit({shortcut:t,value:s}),_.av.moveCursor("right",_.Settings.step_width_ratio*_.audio.samplerate),_.drawCursor(_.av.LastLine),_.mousecursorchange.emit(_.av.Mousecursor),i=!0}if(i)break}}i&&e.event.preventDefault()}}},this.playSelection=function(){_.audio.audioplaying=!1,_.av.Selection.checkSelection(),_._begintime=_.av.calculateBeginTime(),_.av.updatePlayDuration(),_.av.updateDistance();var e=function(){_.anim.requestFrame(_.drawPlayCursor)};(_.av.Selection.start.samples===_.av.Selection.end.samples||_.av.Selection.start.samples>=0&&_.av.Selection.length>=0)&&(_.av.lastplayedpos=_._begintime.clone(),_.audio.startPlayback(_._begintime,_.av.playduration,e,_.onEndPlayBack))},this.drawPlayCursor=function(){var e=(new Date,(new Date).getTime()),t=(new r.g(_.audio.samplerate,_.audio.duration,_.AudioPxWidth),_.av.Selection.length>0?new r.d(_.av.Selection.length,_.audio.samplerate):_.av.playduration),n=_.av.audioTCalculator.samplestoAbsX(_.av.current.samples-_.av.Chunk.time.start.samples),i=0,s=0;_.audio.endplaying>e&&_.audio.audioplaying?(i=Math.min((t.unix-(_.audio.endplaying-e))/t.unix*_.audio.speed,1),s=Math.max(0,n+_.av.Distance*i),_.changePlayCursorAbsX(s)):i>.99&&_.changePlayCursorAbsX(n+_.av.Distance);var h=_.av.getLineByAbsX(_.av.PlayCursor.absX,_.innerWidth);h&&(_.drawPlayCursorOnly(h),_.av.LastLine=h)},this.drawPlayCursorOnly=function(e){if(e){var t=_.Settings.playcursor.width,n=_.av.PlayCursor.absX-e.number*_.innerWidth,i=e.Pos.y;n<=e.Size.width+_.Settings.margin.left&&(_.p_context.clearRect(0,0,_.width,_.height),_.p_context.strokeStyle=_.Settings.playcursor.color,_.p_context.beginPath(),_.p_context.moveTo(n,i+1),_.p_context.lineTo(n,i+e.Size.height-1),_.p_context.globalAlpha=.3,_.p_context.lineWidth=t,_.p_context.stroke(),_.p_context.strokeStyle="rgb(0,0,0)",_.p_context.globalAlpha=1,_.p_context.beginPath(),_.p_context.moveTo(n,i+1),_.p_context.lineTo(n,i+e.Size.height-1),_.p_context.lineWidth=1,_.p_context.stroke())}},this.changePlayCursorAbsX=function(e){_.av.PlayCursor.changeAbsX(e,_.av.audioTCalculator,_.av.AudioPxWidth,_.av.Chunk),_.playcursorchange.emit(_.av.PlayCursor)},this.changePlayCursorSamples=function(e,t){_.av.PlayCursor.changeSamples(e,_.av.audioTCalculator,t),_.playcursorchange.emit(_.av.PlayCursor)},this.drawTimeLine=function(){if(this.Settings.timeline.enabled&&this.av.LinesArray.length>0&&this.av.DurTime.samples>0&&this.av.AudioPxWidth>0){var e=this.g_context.measureText(this.getmaxString(Math.round(100*this.av.DurTime.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 t=this.av.audioTCalculator.secondsToSamples(e);e=this.av.audioTCalculator.samplestoAbsX(t,this.av.DurTime),t=this.av.audioTCalculator.absXChunktoSamples(e,this.av.Chunk),t-=this.av.Chunk.time.start.samples;var n=this.av.audioTCalculator.samplesToSeconds(t);n=Math.round(100*n)/100,t=this.av.audioTCalculator.secondsToSamples(n),e=this.av.audioTCalculator.samplestoAbsX(t,this.av.DurTime);var i=this.av.AudioPxWidth/e,s=this.av.Chunk.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 _=0;if(Number.isFinite(i)){this.g_context.strokeStyle="black";for(var h=0;h=0&&_.av.Selection.end.samples>_.av.Selection.start.samples?(_.changePlayCursorSamples(_.av.Selection.start.samples),_.av.current=_.av.Selection.start.clone()):(_.changePlayCursorSamples(_.av.Chunk.time.start.samples),_.av.current.samples=_.av.Chunk.time.start.samples),_.drawPlayCursorOnly(_.av.LastLine)),_.audio.stepbackward=!1,1!=_.audio.replay||_.audio.paused?_.audio.replay=!1:_.playSelection(),_.audio.paused=!1},this.av.initializeSettings(),this.subscrmanager=new r.a,this.subscrmanager.add(this.keyMap.onkeydown.subscribe(this.onKeyDown))}return Object.defineProperty(e.prototype,"pos_time",{get:function(){return this.av.PlayCursor.time_pos.samples},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"Chunk",{get:function(){return this.av.Chunk},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.av.Selection},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"PlayCursor",{get:function(){return this.av.PlayCursor},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.anim=new r.i(25),this.width=this.aview.elementRef.nativeElement.clientWidth,this.innerWidth=this.width-this.Settings.margin.left-this.Settings.margin.right,this.oldInnerWidth=this.innerWidth,this.graphicscanvas=this.graphicscanRef.nativeElement,this.playcanvas=this.playcanRef.nativeElement,this.overlaycanvas=this.overlaynacRef.nativeElement,this.mousecanvas=this.mousecanRef.nativeElement,this.g_context=this.graphicscanvas.getContext("2d"),this.p_context=this.playcanvas.getContext("2d"),this.o_context=this.overlaycanvas.getContext("2d"),this.m_context=this.mousecanvas.getContext("2d"),this.subscrmanager.add(this.audio.statechange.subscribe(function(t){"ended"===t&&(null==e.av.Selection||e.av.Selection.end.samples-e.av.Selection.start.samples==0?e.changePlayCursorSamples(e.av.Chunk.time.start.samples):e.changePlayCursorSamples(e.av.Selection.start.samples,e.av.Chunk))}))},e.prototype.ngAfterViewInit=function(){this.initialize(),this.update(!0)},e.prototype.ngOnDestroy=function(){this.stopPlayback(),this.av.destroy(),this.subscrmanager.destroy()},e.prototype.initialize=function(){this._begintime=new r.d(0,this.audio.samplerate),this.av.initialize(this.innerWidth)},e.prototype.crop=function(e,t){if("none"===e||"circle"===e){this.innerWidth/2>0&&(t.globalAlpha=1,t.save(),t.beginPath(),t.arc(this.innerWidth/2,this.height/2,this.innerWidth/2,0,2*Math.PI,!1),t.closePath(),t.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.computeDisplayData=function(e,t,n){e=Math.floor(e);for(var i=0,r=0,s=[],_=n.length,h=0,o=0,a=0,l=_/e,c=t/2,u=0;u_?_:Math.round(o+l);for(var p=o;p0&&(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(),this.g_context.shadowColor=null,this.g_context.shadowBlur=null,this.g_context.shadowOffsetX=null,this.g_context.shadowOffsetY=null)},e.prototype.drawCursor=function(e){e&&(this.m_context.clearRect(0,0,this.width,this.height),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.m_context.lineTo(this.av.Mousecursor.relPos.x,e.Pos.y+this.Settings.height-1),this.m_context.stroke())},e.prototype.drawSegments=function(){if(this.o_context.fillStyle="white",this.o_context.clearRect(0,0,this.width,this.height-2),this.Settings.boundaries.enabled&&this.transcr.segments){var e=this.transcr.segments.getSegmentsOfRange(this.av.Chunk.time.start.samples,this.av.Chunk.time.end.samples);this.o_context.globalAlpha=1;for(var t=0;t0&&(_=e[t-1]);for(var h=this.av.audioTCalculator.samplestoAbsX(_.time.samples),o=this.innerWidth-1&&d.end>-1&&(g=Math.abs(d.end-d.start)),(d.start<1||d.start>c.Size.width)&&(f=1),d.end<1&&(g=0),(d.end<1||d.end>c.Size.width)&&(g=d.end),""==n.transcript?(this.o_context.globalAlpha=.2,this.o_context.fillStyle="red"):"P"==n.transcript?(this.o_context.globalAlpha=.2,this.o_context.fillStyle="blue"):""!=n.transcript&&(this.o_context.globalAlpha=.2,this.o_context.fillStyle="green"),this.o_context.fillRect(f+this.Settings.margin.left,c.Pos.y,g,u)}}var x=this.av.LinesArray[a];if(x&&n.time.samples!=this.audio.duration.samples){var u=x.Size.height,p=0;p=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(p,x.Pos.y),this.o_context.lineTo(p,x.Pos.y+u),this.o_context.stroke()}}}for(var l=0;ly?y:m,g=0;m>-1&&y>-1&&(g=Math.abs(y-m)),this.o_context.globalAlpha=.2,(m<1||m>x.Size.width)&&(f=1),y<1&&(g=0),(y<1||y>x.Size.width)&&(g=y),g>0&&(this.o_context.fillStyle=this.Settings.selection.color,this.o_context.fillRect(x.Pos.x+f,x.Pos.y,g,this.Settings.height))}}},e.prototype.onClick=function(e){var t=this,n=e.offsetX,i=e.offsetY,r=this.av.getLineByMousePosition(n,i);r&&this.Settings.selection.enabled&&(this.av.setMouseClickPosition(n,i,r,e,this.innerWidth,function(){t.drawPlayCursorOnly(r)}),this.drawSegments(),this.drawCursor(this.av.LastLine),this.selchange.emit(this.av.Selection))},e.prototype.stopPlayback=function(){this.audio.stopPlayback()||(this.av.current.samples=0,this.changePlayCursorAbsX(0),this.drawPlayCursorOnly(this.av.LastLine))},e.prototype.pausePlayback=function(){this.audio.pausePlayback()},e.prototype.startPlayback=function(){!this.audio.audioplaying&&this.av.MouseClickPos.absX1;i/=10)n+="9";t>0&&(n+=".");for(var i=0;i0){var n=this.av.getLineByAbsX(this.av.PlayCursor.absX,this.innerWidth);n&&this.drawPlayCursorOnly(n)}}},e.ctorParameters=function(){return[{type:s.a},{type:_.a},{type:s.c},{type:s.e}]},e}()},"74QC":function(e,t,n){"use strict";var i=n("2Lmt"),r=n("u9IK"),s=n("rRQE"),_=n("uJIb");n.d(t,"a",function(){return o});var h=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=function(e){function t(t,n,r){var s=e.call(this,t)||this;return s.audio=t,s.transcrService=n,s.keyMap=r,s.Lines=[],s.dragableBoundaryNumber=-1,s.overboundary=!1,s.selection=null,s.durtime=null,s._channel=null,s.focused=!1,s.shift_pressed=!1,s.onKeyUp=function(e){s.shift_pressed=!1},s.subscrmanager=new i.a,s.subscrmanager.add(s.keyMap.onkeyup.subscribe(s.onKeyUp)),s}return h(t,e),Object.defineProperty(t.prototype,"LinesArray",{get:function(){return this.Lines},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"Mousecursor",{get:function(){return this.mousecursor},set:function(e){this.mousecursor=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"LastLine",{get:function(){return this.last_line},set:function(e){this.last_line=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"Selection",{get:function(){return this.selection},set:function(e){this.selection=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"DurTime",{get:function(){return this.durtime},set:function(e){this.durtime=e,this.audioTCalculator.duration=this.durtime.clone()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"Settings",{get:function(){return this._settings},set:function(e){this._settings=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"channel",{get:function(){return this._channel},enumerable:!0,configurable:!0}),t.prototype.updatePlayDuration=function(){if(this.selection&&this.selection.start.samples=0&&this.Chunk.time.end.samples>this.Chunk.time.start.samples){var e=this.current.samples;this.playduration.samples=this.Chunk.time.end.samples-e}else this.playduration=new i.d(0,this.audio.samplerate)},t.prototype.updateDistance=function(){0==this.playduration.samples?this.distance=this.audio_px_w-this.audioTCalculator.samplestoAbsX(this.current.samples):this.selection.start.samples>=0&&this.selection.end.samples>this.selection.start.samples?this.distance=this.audioTCalculator.samplestoAbsX(this.selection.end.samples-this.current.samples):this.Chunk.time.start.samples>=0&&this.Chunk.time.end.samples>this.Chunk.time.start.samples&&(this.distance=this.audioTCalculator.samplestoAbsX(this.Chunk.time.end.samples-this.current.samples))},t.prototype.initialize=function(t){e.prototype.initialize.call(this,t),this.Lines=[],this.audio.updateChannel(),this._channel=this.audio.channel,this.Settings.multi_line?(this.AudioPxWidth=this.audio.duration.seconds*this.Settings.pixel_per_sec,this.AudioPxWidth=this.AudioPxWidth-1){var l=this.transcrService.segments.get(this.dragableBoundaryNumber);l.time.samples=o,this.transcrService.segments.change(this.dragableBoundaryNumber,l),this.transcrService.segments.sort(),a=this.getBoundaryNumber(h),this.dragableBoundaryNumber=a}else this.mouse_down=!1;this.overboundary=a>-1},t.prototype.setMouseClickPosition=function(t,n,r,s,_,h){void 0===h&&(h=function(){}),e.prototype.setMouseClickPosition.call(this,t,n,r,s,_);var o=this.getAbsXByLine(r,t-r.Pos.x,_),a=this.audioTCalculator.absXChunktoSamples(o,this.Chunk);if(this.selection&&!this.audio.audioplaying){if(null==this.last_line||this.last_line==r)if("mousedown"!==s.type||this.shift_pressed){if("mouseup"===s.type){if(this.mouse_down=!1,this.dragableBoundaryNumber>-1&&this.dragableBoundaryNumber-1&&this.dragableBoundaryNumber0)for(e=0;e=n-i&&this.transcrService.segments.get(e).time.samples<=n+i&&this.transcrService.segments.get(e).time.samples!=this.audio.duration.samples){var r=e0){var _=this.transcrService.segments.BetweenWhichSegment(this.selection.start.samples),h=this.transcrService.segments.BetweenWhichSegment(this.selection.end.samples);return null==_&&null==h||_==h||""==_.transcript&&""==h.transcript?(this.selection.start.samples>0&&this.transcrService.segments.add(this.selection.start.samples),this.transcrService.segments.add(this.selection.end.samples),{type:"add",seg_num:e,msg:null}):{type:"add",seg_num:e,msg:{type:"error",text:"Die Segmentgrenze kann nicht innerhalb eines trankribierten Segments gesetzt werden"}}}if(0==s){var o=this.transcrService.segments.BetweenWhichSegment(Math.round(n));return null==o||""==o.transcript||"P"==o.transcript?(this.transcrService.segments.add(Math.round(n)),{type:"add",seg_num:-1,msg:{type:"success",text:""}}):{type:"add",seg_num:e,msg:{type:"error",text:"Die Segmentgrenze kann nicht innerhalb eines trankribierten Segments gesetzt werden"}}}}return null},t.prototype.getSegmentSelection=function(){var e=null,t=this.transcrService.segments,n=this.transcrService.segments.length;if(n>0)if(this.mousecursor.timePos.samplest.get(t.length-1).time.samples){var r=t.get(t.length-1).time.clone();e=new i.k(r,this.audio.duration)}else for(var s=1;st.get(s-1).time.samples&&this.mousecursor.timePos.samples0)return h>-1&&h>=r?(o.start=_>-1&&_>=r?_-e.number*i:0,_<=s?(h>s?o.end=i:h<=s&&(o.end=h-e.number*i),o):{start:-3,end:-1}):{start:-1*_,end:-1*h}}return{start:-4,end:-1}},t.prototype.updateLines=function(e){if(this.Settings.multi_line){var t=Math.ceil(this.audio_px_w/e),n=Number(this.audio_px_w);if(tthis.Lines.length)for(var i=0;ie?e:n,s=this.Lines[i];s?(s.number=i,s.Size={width:Number(r),height:Number(s.Size.height)},s.Pos=i>0?{x:Number(this.Lines[i-1].Pos.x),y:Number(this.Lines[i-1].Pos.y+this.Lines[i-1].Size.height+this.Settings.margin.bottom)}:{x:this.Settings.margin.left,y:this.Settings.margin.right}):this.addLine(i,r,this.Settings.height),n-=e}}else{this.audio_px_w=e;var r=e,s=this.Lines[0];s?(s.number=0,s.Size={width:r,height:this.Settings.height}):this.addLine(0,r,this.Settings.height)}},t.prototype.getLineByAbsX=function(e,t){var n=Math.floor(e/t);return this.Lines[n]?this.Lines[n]:null},t.prototype.addLine=function(e,t,n){for(var r={height:n,width:t},s={x:this.Settings.margin.left,y:this.Settings.margin.top},_=0;_=e-this.Settings.boundaries.width/2&&i<=e+this.Settings.boundaries.width/2&&(""==n.transcript||"P"==n.transcript)&&r)return t}return-1},t.prototype.moveCursor=function(e,t){var n=this.mousecursor.line;if(!(t>0))throw"can not move cursor by given samples. Number of samples less than 0.";if(("left"===e||"right"===e)&&(this.mousecursor.timePos.samples>=this.Chunk.time.start.samples+t&&"left"===e||this.mousecursor.timePos.samples<=this.Chunk.time.end.samples-t&&"right"===e))if("left"===e){if(this.mousecursor.timePos.samples>=this.Chunk.time.start.samples+t){this.mousecursor.timePos.samples-=t;var i=this.mousecursor.timePos.samples-this.Chunk.time.start.samples,r=this.audioTCalculator.samplestoAbsX(i,this.Chunk.time.duration);this.mousecursor.relPos.x=r%n.Size.width,this.mousecursor.line=this.getLineByAbsX(r,n.Size.width),this.last_line=this.mousecursor.line}}else if("right"===e&&this.mousecursor.timePos.samples<=this.Chunk.time.end.samples-t){this.mousecursor.timePos.samples+=t;var i=this.mousecursor.timePos.samples-this.Chunk.time.start.samples,r=this.audioTCalculator.samplestoAbsX(i,this.Chunk.time.duration);this.mousecursor.relPos.x=r%n.Size.width,this.mousecursor.line=this.getLineByAbsX(r,n.Size.width),this.last_line=this.mousecursor.line}},t.prototype.destroy=function(){this.subscrmanager.destroy()},t.prototype.validateConfig=function(){var e=new s.a,t=e.validateObject(this._settings);if(!t.success)throw t.error},t.prototype.initializeSettings=function(){this._settings=new _.a,this._settings=this._settings.Settings,this.validateConfig()},t.ctorParameters=function(){return[{type:r.a},{type:r.c},{type:r.e}]},t}(r.j)},"7PL9":function(e,t,n){"use strict";var i=n("7/hb"),r=n("R2h3"),s=n("qs5H"),_=n("TTjD"),h=n("74QC"),o=n("jzTW"),a=n("gWLF"),l=n("vU4g"),c=n("iOuv"),u=n("DCT3"),p=n("FUnf"),d=n("s9kg"),g=n("qbqm"),f=n("QtaZ"),x=n("uygc"),m=n("dJaa"),y=n("ikuj"),v=n("Bor2"),w=n("1lP8"),b=n("b8dR");n.d(t,"b",function(){return I}),n.d(t,"a",function(){return N});var C=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),I=function(){function e(e,t,n,r){this._changed=!1,this.context=new i.a(e,t,n,r)}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){this.context.ngOnDestroy(),this.subscription0&&this.subscription0.unsubscribe(),this.subscription1&&this.subscription1.unsubscribe(),this.subscription2&&this.subscription2.unsubscribe(),this.subscription3&&this.subscription3.unsubscribe(),this.subscription4&&this.subscription4.unsubscribe(),this.subscription5&&this.subscription5.unsubscribe(),this.subscription6&&this.subscription6.unsubscribe(),this.subscription7&&this.subscription7.unsubscribe()},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,n||0===e.numberOfChecks&&this.context.ngOnInit(),i},e.prototype.checkHost=function(e,t,n,i){},e.prototype.handleEvent=function(e,t){var n=!0;if("window:resize"==e){n=this.context.onResize(t)!==!1&&n}return n},e.prototype.subscribe=function(e,t,n,i,r,s,_,h,o,a){this._eventHandler=t,n&&(this.subscription0=this.context.selchange.subscribe(t.bind(e,"selchange"))),i&&(this.subscription1=this.context.segmententer.subscribe(t.bind(e,"segmententer"))),r&&(this.subscription2=this.context.segmentchange.subscribe(t.bind(e,"segmentchange"))),s&&(this.subscription3=this.context.mousecursorchange.subscribe(t.bind(e,"mousecursorchange"))),_&&(this.subscription4=this.context.playcursorchange.subscribe(t.bind(e,"playcursorchange"))),h&&(this.subscription5=this.context.shortcuttriggered.subscribe(t.bind(e,"shortcuttriggered"))),o&&(this.subscription6=this.context.alerttriggered.subscribe(t.bind(e,"altertriggered"))),a&&(this.subscription7=this.context.pos_time.subscribe(t.bind(e,"pos_time")))},e}(),k=s.createRenderComponentType("",0,_.b.None,[],{}),T=function(e){function t(n,i,r,s){return e.call(this,t,k,o.a.HOST,n,i,r,s,a.b.CheckAlways)||this}return C(t,e),t.prototype.createInternal=function(e){this._el_0=s.selectOrCreateRenderHostElement(this.renderer,"app-audioviewer",s.EMPTY_INLINE_ARRAY,e,null),this.compView_0=new N(this.viewUtils,this,0,this._el_0),this._AudioviewerService_0_3=new h.a(this.injectorGet(c.a,this.parentIndex),this.injectorGet(u.a,this.parentIndex),this.injectorGet(p.a,this.parentIndex)),this._AudioviewerComponent_0_4=new I(this.injectorGet(c.a,this.parentIndex),this._AudioviewerService_0_3,this.injectorGet(u.a,this.parentIndex),this.injectorGet(p.a,this.parentIndex)),this.compView_0.create(this._AudioviewerComponent_0_4.context);var t=s.subscribeToRenderElement(this,this._el_0,new s.InlineArray2(2,"resize","window"),this.eventHandler(this.handleEvent_0));return this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0],[t]),new l.a(0,this,this._el_0,this._AudioviewerComponent_0_4.context)},t.prototype.injectorGetInternal=function(e,t,n){return e===h.a&&0===t?this._AudioviewerService_0_3:e===i.a&&0===t?this._AudioviewerComponent_0_4.context:n},t.prototype.detectChangesInternal=function(e){this._AudioviewerComponent_0_4.ngDoCheck(this,this._el_0,e),this.compView_0.internalDetectChanges(e),e||0===this.numberOfChecks&&this._AudioviewerComponent_0_4.context.ngAfterViewInit()},t.prototype.destroyInternal=function(){this.compView_0.destroy(),this._AudioviewerComponent_0_4.ngOnDestroy()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t.prototype.handleEvent_0=function(e,t){this.compView_0.markPathToRootAsCheckOnce();var n=!0;return n=this._AudioviewerComponent_0_4.handleEvent(e,t)&&n},t}(r.a),R=(new l.b("app-audioviewer",T,i.a),[d.a]),E=s.createRenderComponentType("",0,_.b.Emulated,R,{}),N=function(e){function t(n,i,r,_){var h=e.call(this,t,E,o.a.COMPONENT,n,i,r,_,a.b.CheckAlways)||this;return h._map_17=s.pureProxy1(function(e){return{dragable:e}}),h}return C(t,e),t.prototype.createInternal=function(e){var t=this.renderer.createViewRoot(this.parentElement);this._viewQuery_audioview_0=new g.a,this._viewQuery_graphicscan_1=new g.a,this._viewQuery_overlaycan_2=new g.a,this._viewQuery_playcan_3=new g.a,this._viewQuery_mousecan_4=new g.a,this._el_0=s.createRenderElement(this.renderer,t,"div",new s.InlineArray4(4,"audioviewer","","class","audioviewer"),null),this._AudioviewerDirective_0_3=new f.a(new m.a(this._el_0),this.renderer),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=s.createRenderElement(this.renderer,this._el_0,"canvas",new s.InlineArray4(4,"canvasDir","","class","graphicscanvas"),null),this._text_3=this.renderer.createText(this._el_0,"\n ",null),this._el_4=s.createRenderElement(this.renderer,this._el_0,"canvas",new s.InlineArray4(4,"canvasDir","","class","overlaycanvas"),null),this._text_5=this.renderer.createText(this._el_0,"\n ",null),this._el_6=s.createRenderElement(this.renderer,this._el_0,"canvas",new s.InlineArray4(4,"canvasDir","","class","playcanvas"),null),this._NgClass_6_3=new x.a(this.parentView.injectorGet(y.a,this.parentIndex),this.parentView.injectorGet(v.a,this.parentIndex),new m.a(this._el_6),this.renderer),this._text_7=this.renderer.createText(this._el_0,"\n ",null),this._el_8=s.createRenderElement(this.renderer,this._el_0,"canvas",new s.InlineArray4(4,"canvasDir","","class","mousecanvas"),null),this._text_9=this.renderer.createText(this._el_0,"\n",null);var n=s.subscribeToRenderElement(this,this._el_6,new s.InlineArray16(14,"mousedown",null,"mouseup",null,"click",null,"mousemove",null,"mouseleave",null,"mouseenter",null,"mouseout",null),this.eventHandler(this.handleEvent_6));return this._viewQuery_audioview_0.reset([this._AudioviewerDirective_0_3.context]),this.context.aview=this._viewQuery_audioview_0.first,this._viewQuery_graphicscan_1.reset([new m.a(this._el_2)]),this.context.graphicscanRef=this._viewQuery_graphicscan_1.first,this._viewQuery_overlaycan_2.reset([new m.a(this._el_4)]),this.context.overlaynacRef=this._viewQuery_overlaycan_2.first,this._viewQuery_playcan_3.reset([new m.a(this._el_6)]),this.context.playcanRef=this._viewQuery_playcan_3.first,this._viewQuery_mousecan_4.reset([new m.a(this._el_8)]),this.context.mousecanRef=this._viewQuery_mousecan_4.first,this.init(null,this.renderer.directRenderer?null:[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._el_8,this._text_9],[n]),null},t.prototype.injectorGetInternal=function(e,t,n){return e===w.a&&6===t?this._NgClass_6_3.context:e===b.a&&0<=t&&t<=9?this._AudioviewerDirective_0_3.context:n},t.prototype.detectChangesInternal=function(e){this._AudioviewerDirective_0_3.ngDoCheck(this,this._el_0,e),this._NgClass_6_3.check_klass("playcanvas",e,!1);var t=this._map_17(this.context.av.overboundary);this._NgClass_6_3.check_ngClass(t,e,!1),this._NgClass_6_3.ngDoCheck(this,this._el_6,e)},t.prototype.handleEvent_6=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("mousedown"==e){n=this.context.onClick(t)!==!1&&n}if("mouseup"==e){n=this.context.onClick(t)!==!1&&n}if("click"==e){n=this.context.onClick(t)!==!1&&n}if("mousemove"==e){n=this.context.onMouseMove(t)!==!1&&n}if("mouseleave"==e){n=(this.context.av.focused=!1)!=!1&&n}if("mouseenter"==e){n=(this.context.av.focused=!0)!=!1&&n}if("mouseout"==e){n=(this.context.av.focused=!1)!=!1&&n}return n},t}(r.a)},"7VyD":function(e,t,n){"use strict";var i=n("Rw+2"),r=n("Gvdl"),s=(n.n(r),n("u9IK")),_=n("2Lmt"),h=n("yUTl");n.d(t,"a",function(){return o});var o=function(){function e(e,t,n,i,r,s,h){var o=this;this.audio=e,this.msg=t,this.keyMap=n,this.transcrService=i,this.cd=r,this.uiService=s,this.settingsService=h,this.initialized=!1,this.loupe_hidden=!0,this.loupe2_hidden=!0,this.segmentselected=!1,this.activeviewer="",this.mini_loupecoord={x:0,y:0},this.mini_loupecoord2={x:0,y:70},this.temp=null,this.platform=_.c.platform,this.onEditorTyping=function(e){"started"===e?(o.temp={viewer:{play_selection:{mac:o.viewer.Settings.shortcuts.play_selection.keys.mac,pc:o.viewer.Settings.shortcuts.play_selection.keys.pc},set_boundary:{mac:o.viewer.Settings.shortcuts.set_boundary.keys.mac,pc:o.viewer.Settings.shortcuts.set_boundary.keys.pc}},loupe:{play_selection:{mac:o.loupee.Settings.shortcuts.play_selection.keys.mac,pc:o.loupee.Settings.shortcuts.play_selection.keys.pc},set_boundary:{mac:o.loupee.Settings.shortcuts.set_boundary.keys.mac,pc:o.loupee.Settings.shortcuts.set_boundary.keys.pc}}},o.viewer.Settings.shortcuts.play_selection.keys.mac="",o.viewer.Settings.shortcuts.play_selection.keys.pc="",o.viewer.Settings.shortcuts.set_boundary.keys.mac="",o.viewer.Settings.shortcuts.set_boundary.keys.pc="",o.loupee.Settings.shortcuts.play_selection.keys.mac="",o.loupee.Settings.shortcuts.play_selection.keys.pc="",o.loupee.Settings.shortcuts.set_boundary.keys.mac="",o.loupee.Settings.shortcuts.set_boundary.keys.pc=""):"stopped"===e&&(o.viewer.Settings.shortcuts.play_selection.keys.mac=o.temp.viewer.play_selection.mac,o.viewer.Settings.shortcuts.play_selection.keys.pc=o.temp.viewer.play_selection.pc,o.viewer.Settings.shortcuts.set_boundary.keys.mac=o.temp.viewer.set_boundary.mac,o.viewer.Settings.shortcuts.set_boundary.keys.pc=o.temp.viewer.set_boundary.pc,o.loupee.Settings.shortcuts.play_selection.keys.mac=o.temp.loupe.play_selection.mac,o.loupee.Settings.shortcuts.play_selection.keys.pc=o.temp.loupe.play_selection.pc,o.loupee.Settings.shortcuts.set_boundary.keys.mac=o.temp.loupe.set_boundary.mac,o.loupee.Settings.shortcuts.set_boundary.keys.pc=o.temp.loupe.set_boundary.pc)},this.subscrmanager=new _.a}return Object.defineProperty(e.prototype,"app_settings",{get:function(){return this.settingsService.app_settings},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"segmententer_shortc",{get:function(){return this.viewer.Settings?this.viewer.Settings.shortcuts.segment_enter.keys[this.platform]:""},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.viewer.Settings.shortcuts=this.keyMap.register("AV",this.viewer.Settings.shortcuts),this.viewer.Settings.multi_line=!1,this.viewer.Settings.height=80,this.viewer.Settings.shortcuts_enabled=!0,this.viewer.Settings.boundaries.readonly=!1,this.editor.Settings.markers=this.settingsService.markers.items,this.editor.Settings.responsive=this.app_settings.octra.responsive.enabled,this.loupee.Settings.shortcuts=this.keyMap.register("Loupe",this.loupee.Settings.shortcuts),this.loupee.Settings.shortcuts.play_pause.keys.mac="SHIFT + TAB",this.loupee.Settings.shortcuts.play_pause.keys.pc="SHIFT + TAB",this.loupee.Settings.shortcuts.step_backward.keys.mac="SHIFT + ENTER",this.loupee.Settings.shortcuts.step_backward.keys.pc="SHIFT + ENTER",this.loupe.Settings.shortcuts_enabled=!1,this.loupe.Settings.boundaries.enabled=!1,this.loupe2.Settings.shortcuts_enabled=!1,this.loupe2.Settings.boundaries.enabled=!1,this.subscrmanager.add(r.Observable.timer(0,2e3).subscribe(function(){e.viewer.drawSegments(),e.loupee.viewer.drawSegments()})),this.subscrmanager.add(this.loupee.viewer.segmentchange.subscribe(function(t){e.onSegmentChange(t)})),this.subscrmanager.add(this.loupee.viewer.alerttriggered.subscribe(function(t){e.msg.showMessage(t.type,t.message)})),this.subscrmanager.add(this.viewer.alerttriggered.subscribe(function(t){e.msg.showMessage(t.type,t.message)}))},e.prototype.ngOnDestroy=function(){this.subscrmanager.destroy(),this.keyMap.unregister("AV"),this.keyMap.unregister("Loupe")},e.prototype.onButtonClick=function(e){switch(1==this.app_settings.octra.logging&&this.uiService.addElementFromEvent("mouse_click",{},e.timestamp,e.type+"_button"),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"default":}},e.prototype.ngAfterViewInit=function(){this.initialized=!0,this.cd.detectChanges()},e.prototype.test=function(e){e&&e.end.samples-e.start.samples>0&&(this.segmentselected=!1,this.loupee.changeArea(e.start,e.end))},e.prototype.onSegmentChange=function(e){this.loupee.update(),this.viewer.drawSegments()},e.prototype.onMouseOver=function(e){this.changeArea(this.loupe,this.viewer,this.mini_loupecoord,this.viewer.MouseCursor.timePos.samples,this.viewer.MouseCursor.relPos.x)},e.prototype.onMouseOver2=function(e){this.changeArea(this.loupe2,this.loupee.viewer,this.mini_loupecoord2,this.loupee.viewer.MouseCursor.timePos.samples,this.loupee.viewer.MouseCursor.relPos.x)},e.prototype.changeArea=function(e,t,n,i,r){var s=t.Chunk.time.duration.samples/this.audio.duration.samples*this.audio.samplerate/2;if(i&&r>-1){n.x=r?r-40:0;var h=Math.round(s),o=i>h?new _.d(i-h,this.audio.samplerate):new _.d(0,this.audio.samplerate),a=i-1&&this.transcrService.segments&&t0&&(this.editor.rawText=this.transcr.segments.get(0).transcript),this.editor.Settings.height=300,this.editor.update()},e.prototype.ngOnDestroy=function(){this.subscrmanager.destroy()},e.prototype.onButtonClick=function(e){switch(1==this.app_settings.octra.logging_enabled&&this.uiService.addElementFromEvent("mouse_click",{},e.timestamp,e.type+"_button"),e.type){case"play":this.audioplayer.startPlayback();break;case"pause":this.audioplayer.pausePlayback();break;case"stop":this.audioplayer.stopPlayback();break;case"replay":this.nav.replay=this.audioplayer.rePlayback();break;case"backward":this.audioplayer.stepBackward();break;case"default":}},e.prototype.onSpeedChange=function(e){this.audio.speed=e.new_value},e.prototype.afterSpeedChange=function(e){1==this.app_settings.octra.logging_enabled&&this.uiService.addElementFromEvent("slider",e,e.timestamp,"speed_change")},e.prototype.onVolumeChange=function(e){this.audio.volume=e.new_value},e.prototype.afterVolumeChange=function(e){1==this.app_settings.octra.logging_enabled&&this.uiService.addElementFromEvent("slider",e,e.timestamp,"volume_change")},e.prototype.updateSegment=function(e){var t=this.transcr.segments.get(0);t.transcript=this.editor.getRawText(),this.transcr.segments.change(0,t)},e.prototype.onShortcutTriggered=function(e){1==this.app_settings.octra.logging_enabled&&this.uiService.addElementFromEvent("shortcut",e,Date.now(),"audioplayer")},e.prototype.onMarkerInsert=function(e){1==this.app_settings.octra.logging_enabled&&this.uiService.addElementFromEvent("marker_insert",{value:e},Date.now(),"editor")},e.prototype.onMarkerClick=function(e){this.updateSegment(null),1==this.app_settings.octra.logging_enabled&&this.uiService.addElementFromEvent("marker_click",{value:e},Date.now(),"editor")},e.ctorParameters=function(){return[{type:i.a},{type:i.e},{type:i.c},{type:i.b},{type:s.a}]},e}()},"8XUb":function(e,t,n){"use strict";var i=n("Rw+2"),r=n("Um5l"),s=n("wKbx");n.d(t,"a",function(){return _});var _=function(){function e(e,t){var n=this;this.cd=e,this.msgService=t,this.state="inactive",this.text="",this.type="error",this.show=!1,this.showMessage=function(e,t){n.show=!0,n.state="active",n.type=e,n.text=t,n.cd.markForCheck(),setTimeout(function(){n.state="inactive",n.cd.markForCheck()},3e3)},this.subscrmanager=new s.a}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(t){e.showMessage(t.type,t.message)}))},e.prototype.ngOnDestroy=function(){this.subscrmanager.destroy()},e.ctorParameters=function(){return[{type:i.ChangeDetectorRef},{type:r.a}]},e}()},"8irj":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(){function e(){}return e.prototype.canDeactivate=function(e){return!e.canDeactivate||e.canDeactivate()},e}()},"9IH/":function(e,t,n){"use strict";var i=n("MbRa"),r=n("R2h3"),s=n("qs5H"),_=n("TTjD"),h=n("iOuv"),o=n("s+lJ"),a=n("DCT3"),l=n("nMJj"),c=n("jzTW"),u=n("gWLF"),p=n("FvJ4"),d=n("SzqK"),g=n("wGSH"),f=n("yUTl"),x=n("vU4g"),m=n("lQkR"),y=n("Sqya"),v=n("/B/2"),w=n("tUB6"),b=n("1KPg"),C=n("YfJG");n.d(t,"a",function(){return E});var I=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),k=function(){function e(){this._changed=!1,this.context=new i.a}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,i},e.prototype.checkHost=function(e,t,n,i){},e.prototype.handleEvent=function(e,t){return!0},e.prototype.subscribe=function(e,t){this._eventHandler=t},e}(),T=s.createRenderComponentType("",0,_.b.None,[],{}),R=function(e){function t(n,i,r,s){return e.call(this,t,T,c.a.HOST,n,i,r,s,u.b.CheckAlways)||this}return I(t,e),Object.defineProperty(t.prototype,"_AudioService_0_4",{get:function(){return null==this.__AudioService_0_4&&(this.__AudioService_0_4=new h.a(this.injectorGet(p.a,this.parentIndex))),this.__AudioService_0_4},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_UserInteractionsService_0_5",{get:function(){return null==this.__UserInteractionsService_0_5&&(this.__UserInteractionsService_0_5=new o.a),this.__UserInteractionsService_0_5},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_TranscriptionService_0_6",{get:function(){return null==this.__TranscriptionService_0_6&&(this.__TranscriptionService_0_6=new a.a(this._AudioService_0_4,this.injectorGet(d.a,this.parentIndex),this._UserInteractionsService_0_5,this.injectorGet(g.a,this.parentIndex),this.injectorGet(f.a,this.parentIndex))),this.__TranscriptionService_0_6},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_FileService_0_7",{get:function(){return null==this.__FileService_0_7&&(this.__FileService_0_7=new l.a),this.__FileService_0_7},enumerable:!0,configurable:!0}),t.prototype.createInternal=function(e){return this._el_0=s.selectOrCreateRenderHostElement(this.renderer,"app-members-area",s.EMPTY_INLINE_ARRAY,e,null),this.compView_0=new V(this.viewUtils,this,0,this._el_0),this._MembersAreaComponent_0_3=new k,this.compView_0.create(this._MembersAreaComponent_0_3.context),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0],null),new x.a(0,this,this._el_0,this._MembersAreaComponent_0_3.context)},t.prototype.injectorGetInternal=function(e,t,n){return e===i.a&&0===t?this._MembersAreaComponent_0_3.context:e===h.a&&0===t?this._AudioService_0_4:e===o.a&&0===t?this._UserInteractionsService_0_5:e===a.a&&0===t?this._TranscriptionService_0_6:e===l.a&&0===t?this._FileService_0_7:n},t.prototype.detectChangesInternal=function(e){this._MembersAreaComponent_0_3.ngDoCheck(this,this._el_0,e),this.compView_0.internalDetectChanges(e)},t.prototype.destroyInternal=function(){this.compView_0.destroy()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t}(r.a),E=new x.b("app-members-area",R,i.a),N=[m.a],A=s.createRenderComponentType("",0,_.b.Emulated,N,{}),V=function(e){function t(n,i,r,s){return e.call(this,t,A,c.a.COMPONENT,n,i,r,s,u.b.CheckAlways)||this}return I(t,e),t.prototype.createInternal=function(e){var t=this.renderer.createViewRoot(this.parentElement);return this._el_0=s.createRenderElement(this.renderer,t,"div",new s.InlineArray2(2,"id","members-area"),null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=s.createRenderElement(this.renderer,this._el_0,"router-outlet",s.EMPTY_INLINE_ARRAY,null),this._vc_2=new y.a(2,0,this,this._el_2),this._RouterOutlet_2_5=new v.a(this.parentView.injectorGet(w.a,this.parentIndex),this._vc_2.vcRef,this.parentView.injectorGet(b.b,this.parentIndex),null),this._text_3=this.renderer.createText(this._el_0,"\n",null),this.init(null,this.renderer.directRenderer?null:[this._el_0,this._text_1,this._el_2,this._text_3],null),null},t.prototype.injectorGetInternal=function(e,t,n){return e===C.a&&2===t?this._RouterOutlet_2_5.context:n},t.prototype.detectChangesInternal=function(e){this._RouterOutlet_2_5.ngDoCheck(this,this._el_2,e),this._vc_2.detectChangesInNestedViews(e)},t.prototype.destroyInternal=function(){this._vc_2.destroyNestedViews(),this._RouterOutlet_2_5.ngOnDestroy()},t}(r.a)},"9a/J":function(e,t,n){"use strict";var i=n("pphD"),r=n("R2h3"),s=n("qs5H"),_=n("TTjD"),h=n("jzTW"),o=n("gWLF"),a=n("vU4g"),l=n("SzqK"),c=n("3UAB"),u=n("DCT3"),p=n("0YY0"),d=n("c+H2"),g=n("wGSH"),f=n("sKw1"),x=n("TzW4"),m=n("lZAQ"),y=n("MkSQ"),v=n("QJYN"),w=n("40uM"),b=n("+EIp"),C=n("AK3I"),I=n("685D"),k=n("Sqya"),T=n("bgHk"),R=n("+dDw"),E=n("dJaa"),N=n("YmUE"),A=n("WtPQ"),V=n("JvYf"),S=n("wely"),O=n("FkRU"),D=n("lNBv"),P=n("Oh1W"),M=n("Hwfe"),j=n("kqMG"),L=n("PQgN"),G=n("ojY7"),H=n("5CeK"),B=n("qbqm"),Y=n("S7tg"),U=(n.n(Y),n("uoqx")),W=n("TfAg"),F=(n.n(W),n("xAcN")),z=n("xsyV"),q=(n.n(z),n("vhkd")),Q=n("dUUf"),K=(n.n(Q),n("5MSB")),X=n("k0Hd"),J=n("fJNd"),Z=n("RUIm"),$=n("iOuv"),ee=n("tSbE"),te=n("R14C");n.d(t,"a",function(){return _e});var ne=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ie=function(){function e(e,t,n,r,s,_,h){this._changed=!1,this.context=new i.a(e,t,n,r,s,_,h)}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){this.context.ngOnDestroy()},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,n||0===e.numberOfChecks&&this.context.ngOnInit(),i},e.prototype.checkHost=function(e,t,n,i){},e.prototype.handleEvent=function(e,t){return!0},e.prototype.subscribe=function(e,t){this._eventHandler=t},e}(),re=s.createRenderComponentType("",0,_.b.None,[],{}),se=function(e){function t(n,i,r,s){return e.call(this,t,re,h.a.HOST,n,i,r,s,o.b.CheckAlways)||this}return ne(t,e),t.prototype.createInternal=function(e){return this._el_0=s.selectOrCreateRenderHostElement(this.renderer,"app-transcription-submit",s.EMPTY_INLINE_ARRAY,e,null),this.compView_0=new ce(this.viewUtils,this,0,this._el_0),this._TranscriptionSubmitComponent_0_3=new ie(this.injectorGet(l.a,this.parentIndex),this.injectorGet(c.a,this.parentIndex),this.injectorGet(u.a,this.parentIndex),this.injectorGet(p.a,this.parentIndex),this.compView_0.ref,this.injectorGet(d.b,this.parentIndex),this.injectorGet(g.a,this.parentIndex)),this.compView_0.create(this._TranscriptionSubmitComponent_0_3.context),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0],null),new a.a(0,this,this._el_0,this._TranscriptionSubmitComponent_0_3.context)},t.prototype.injectorGetInternal=function(e,t,n){return e===i.a&&0===t?this._TranscriptionSubmitComponent_0_3.context:n},t.prototype.detectChangesInternal=function(e){this._TranscriptionSubmitComponent_0_3.ngDoCheck(this,this._el_0,e)&&this.compView_0.markAsCheckOnce(),this.compView_0.internalDetectChanges(e),e||0===this.numberOfChecks&&this._TranscriptionSubmitComponent_0_3.context.ngAfterViewInit()},t.prototype.destroyInternal=function(){this.compView_0.destroy(),this._TranscriptionSubmitComponent_0_3.ngOnDestroy()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t}(r.a),_e=new a.b("app-transcription-submit",se,i.a),he=[f.a],oe=function(e){function t(n,i,r,s,_){var a=e.call(this,t,le,h.a.EMBEDDED,n,i,r,s,o.b.CheckAlways,_)||this;return a._expr_223=T.b,a._expr_225=T.b,a._expr_227=T.b,a._expr_229=T.b,a._expr_231=T.b,a._expr_233=T.b,a._expr_235=T.b,a._expr_237=T.b,a._expr_239=T.b,a._expr_241=T.b,a._expr_243=T.b,a._expr_245=T.b,a._expr_247=T.b,a._expr_249=T.b,a._expr_250=T.b,a}return ne(t,e),t.prototype.createInternal=function(e){this._el_0=s.createRenderElement(this.renderer,null,"div",s.EMPTY_INLINE_ARRAY,null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=s.createRenderElement(this.renderer,this._el_0,"h3",s.EMPTY_INLINE_ARRAY,null),this._text_3=this.renderer.createText(this._el_2,"Feedback",null),this._text_4=this.renderer.createText(this._el_0,"\n ",null),this._el_5=s.createRenderElement(this.renderer,this._el_0,"p",s.EMPTY_INLINE_ARRAY,null),this._text_6=this.renderer.createText(this._el_5,"",null),this._text_7=this.renderer.createText(this._el_0,"\n ",null),this._el_8=s.createRenderElement(this.renderer,this._el_0,"section",s.EMPTY_INLINE_ARRAY,null),this._text_9=this.renderer.createText(this._el_8,"\n ",null),this._el_10=s.createRenderElement(this.renderer,this._el_8,"form",s.EMPTY_INLINE_ARRAY,null),this._NgForm_10_3=new x.a(null,null),this._ControlContainer_10_4=this._NgForm_10_3.context,this._NgControlStatusGroup_10_5=new m.a(this._ControlContainer_10_4),this._text_11=this.renderer.createText(this._el_10,"\n ",null),this._el_12=s.createRenderElement(this.renderer,this._el_10,"fieldset",s.EMPTY_INLINE_ARRAY,null),this._text_13=this.renderer.createText(this._el_12,"\n ",null),this._el_14=s.createRenderElement(this.renderer,this._el_12,"div",new s.InlineArray2(2,"class","form-group"),null),this._text_15=this.renderer.createText(this._el_14,"\n ",null),this._el_16=s.createRenderElement(this.renderer,this._el_14,"label",new s.InlineArray2(2,"class","control-label"),null),this._text_17=this.renderer.createText(this._el_16,"",null),this._text_18=this.renderer.createText(this._el_14,"\n ",null),this._el_19=s.createRenderElement(this.renderer,this._el_14,"div",new s.InlineArray2(2,"class","row"),null),this._text_20=this.renderer.createText(this._el_19,"\n ",null),this._el_21=s.createRenderElement(this.renderer,this._el_19,"div",new s.InlineArray2(2,"class","col-xs-3"),null),this._text_22=this.renderer.createText(this._el_21,"\n ",null),this._el_23=s.createRenderElement(this.renderer,this._el_21,"div",new s.InlineArray2(2,"class","radio"),null),this._text_24=this.renderer.createText(this._el_23,"\n ",null),this._el_25=s.createRenderElement(this.renderer,this._el_23,"label",s.EMPTY_INLINE_ARRAY,null),this._text_26=this.renderer.createText(this._el_25,"",null),this._el_27=s.createRenderElement(this.renderer,this._el_25,"input",new s.InlineArray8(8,"name","quality_speaker","required","","type","radio","value","unverstaendlich"),null),this._NgbRadio_27_3=new y.a(this.parentView.parentView.injectorGet(R.c,this.parentView.parentIndex,null),this.parentView.parentView.injectorGet(R.b,this.parentView.parentIndex,null),this.renderer,new E.a(this._el_27)),this._DefaultValueAccessor_27_4=new v.a(this.renderer,new E.a(this._el_27)),this._RadioControlValueAccessor_27_5=new w.a(this.renderer,new E.a(this._el_27),this.parentView.parentView.injectorGet(N.a,this.parentView.parentIndex),this.injector(27)),this._RequiredValidator_27_6=new b.a,this._NG_VALIDATORS_27_7=[this._RequiredValidator_27_6.context],this._NG_VALUE_ACCESSOR_27_8=[this._DefaultValueAccessor_27_4.context,this._RadioControlValueAccessor_27_5.context],this._NgModel_27_9=new C.a(this._ControlContainer_10_4,this._NG_VALIDATORS_27_7,null,this._NG_VALUE_ACCESSOR_27_8),this._NgControl_27_10=this._NgModel_27_9.context,this._NgControlStatus_27_11=new m.b(this._NgControl_27_10),this._text_28=this.renderer.createText(this._el_23,"\n ",null),this._text_29=this.renderer.createText(this._el_21,"\n ",null),this._text_30=this.renderer.createText(this._el_19,"\n ",null),this._el_31=s.createRenderElement(this.renderer,this._el_19,"div",new s.InlineArray2(2,"class","col-xs-3"),null),this._text_32=this.renderer.createText(this._el_31,"\n ",null),this._el_33=s.createRenderElement(this.renderer,this._el_31,"div",new s.InlineArray2(2,"class","radio"),null),this._text_34=this.renderer.createText(this._el_33,"\n ",null),this._el_35=s.createRenderElement(this.renderer,this._el_33,"label",s.EMPTY_INLINE_ARRAY,null),this._text_36=this.renderer.createText(this._el_35,"",null),this._el_37=s.createRenderElement(this.renderer,this._el_35,"input",new s.InlineArray8(8,"name","quality_speaker","required","","type","radio","value","weniger verstaendlich"),null),this._NgbRadio_37_3=new y.a(this.parentView.parentView.injectorGet(R.c,this.parentView.parentIndex,null),this.parentView.parentView.injectorGet(R.b,this.parentView.parentIndex,null),this.renderer,new E.a(this._el_37)),this._DefaultValueAccessor_37_4=new v.a(this.renderer,new E.a(this._el_37)),this._RadioControlValueAccessor_37_5=new w.a(this.renderer,new E.a(this._el_37),this.parentView.parentView.injectorGet(N.a,this.parentView.parentIndex),this.injector(37)),this._RequiredValidator_37_6=new b.a,this._NG_VALIDATORS_37_7=[this._RequiredValidator_37_6.context],this._NG_VALUE_ACCESSOR_37_8=[this._DefaultValueAccessor_37_4.context,this._RadioControlValueAccessor_37_5.context],this._NgModel_37_9=new C.a(this._ControlContainer_10_4,this._NG_VALIDATORS_37_7,null,this._NG_VALUE_ACCESSOR_37_8),this._NgControl_37_10=this._NgModel_37_9.context,this._NgControlStatus_37_11=new m.b(this._NgControl_37_10),this._text_38=this.renderer.createText(this._el_33,"\n ",null),this._text_39=this.renderer.createText(this._el_31,"\n ",null),this._text_40=this.renderer.createText(this._el_19,"\n ",null),this._el_41=s.createRenderElement(this.renderer,this._el_19,"div",new s.InlineArray2(2,"class","col-xs-3"),null),this._text_42=this.renderer.createText(this._el_41,"\n ",null),this._el_43=s.createRenderElement(this.renderer,this._el_41,"div",new s.InlineArray2(2,"class","radio"),null),this._text_44=this.renderer.createText(this._el_43,"\n ",null),this._el_45=s.createRenderElement(this.renderer,this._el_43,"label",s.EMPTY_INLINE_ARRAY,null),this._text_46=this.renderer.createText(this._el_45,"",null),this._el_47=s.createRenderElement(this.renderer,this._el_45,"input",new s.InlineArray8(8,"name","quality_speaker","required","","type","radio","value","verstaendlich"),null),this._NgbRadio_47_3=new y.a(this.parentView.parentView.injectorGet(R.c,this.parentView.parentIndex,null),this.parentView.parentView.injectorGet(R.b,this.parentView.parentIndex,null),this.renderer,new E.a(this._el_47)),this._DefaultValueAccessor_47_4=new v.a(this.renderer,new E.a(this._el_47)),this._RadioControlValueAccessor_47_5=new w.a(this.renderer,new E.a(this._el_47),this.parentView.parentView.injectorGet(N.a,this.parentView.parentIndex),this.injector(47)),this._RequiredValidator_47_6=new b.a,this._NG_VALIDATORS_47_7=[this._RequiredValidator_47_6.context],this._NG_VALUE_ACCESSOR_47_8=[this._DefaultValueAccessor_47_4.context,this._RadioControlValueAccessor_47_5.context],this._NgModel_47_9=new C.a(this._ControlContainer_10_4,this._NG_VALIDATORS_47_7,null,this._NG_VALUE_ACCESSOR_47_8),this._NgControl_47_10=this._NgModel_47_9.context,this._NgControlStatus_47_11=new m.b(this._NgControl_47_10),this._text_48=this.renderer.createText(this._el_43,"\n ",null),this._text_49=this.renderer.createText(this._el_41,"\n ",null),this._text_50=this.renderer.createText(this._el_19,"\n ",null),this._el_51=s.createRenderElement(this.renderer,this._el_19,"div",new s.InlineArray2(2,"class","col-xs-3"),null),this._text_52=this.renderer.createText(this._el_51,"\n ",null),this._el_53=s.createRenderElement(this.renderer,this._el_51,"div",new s.InlineArray2(2,"class","radio"),null),this._text_54=this.renderer.createText(this._el_53,"\n ",null),this._el_55=s.createRenderElement(this.renderer,this._el_53,"label",s.EMPTY_INLINE_ARRAY,null),this._text_56=this.renderer.createText(this._el_55,"",null),this._el_57=s.createRenderElement(this.renderer,this._el_55,"input",new s.InlineArray8(8,"name","quality_speaker","required","","type","radio","value","klar"),null),this._NgbRadio_57_3=new y.a(this.parentView.parentView.injectorGet(R.c,this.parentView.parentIndex,null),this.parentView.parentView.injectorGet(R.b,this.parentView.parentIndex,null),this.renderer,new E.a(this._el_57)),this._DefaultValueAccessor_57_4=new v.a(this.renderer,new E.a(this._el_57)),this._RadioControlValueAccessor_57_5=new w.a(this.renderer,new E.a(this._el_57),this.parentView.parentView.injectorGet(N.a,this.parentView.parentIndex),this.injector(57)),this._RequiredValidator_57_6=new b.a,this._NG_VALIDATORS_57_7=[this._RequiredValidator_57_6.context],this._NG_VALUE_ACCESSOR_57_8=[this._DefaultValueAccessor_57_4.context,this._RadioControlValueAccessor_57_5.context],this._NgModel_57_9=new C.a(this._ControlContainer_10_4,this._NG_VALIDATORS_57_7,null,this._NG_VALUE_ACCESSOR_57_8),this._NgControl_57_10=this._NgModel_57_9.context,this._NgControlStatus_57_11=new m.b(this._NgControl_57_10),this._text_58=this.renderer.createText(this._el_53,"\n ",null),this._text_59=this.renderer.createText(this._el_51,"\n ",null),this._text_60=this.renderer.createText(this._el_19,"\n ",null),this._text_61=this.renderer.createText(this._el_14,"\n ",null),this._text_62=this.renderer.createText(this._el_12,"\n ",null),this._el_63=s.createRenderElement(this.renderer,this._el_12,"div",new s.InlineArray2(2,"class","form-group"),null),this._el_64=s.createRenderElement(this.renderer,this._el_63,"label",new s.InlineArray2(2,"class","control-label"),null),this._text_65=this.renderer.createText(this._el_64,"",null),this._text_66=this.renderer.createText(this._el_63,"\n ",null),this._el_67=s.createRenderElement(this.renderer,this._el_63,"div",new s.InlineArray2(2,"class","row"),null),this._text_68=this.renderer.createText(this._el_67,"\n ",null),this._el_69=s.createRenderElement(this.renderer,this._el_67,"div",new s.InlineArray2(2,"class","col-xs-3"),null),this._text_70=this.renderer.createText(this._el_69,"\n ",null),this._el_71=s.createRenderElement(this.renderer,this._el_69,"div",new s.InlineArray2(2,"class","radio"),null),this._text_72=this.renderer.createText(this._el_71,"\n ",null),this._el_73=s.createRenderElement(this.renderer,this._el_71,"label",s.EMPTY_INLINE_ARRAY,null),this._text_74=this.renderer.createText(this._el_73,"",null),this._el_75=s.createRenderElement(this.renderer,this._el_73,"input",new s.InlineArray8(8,"name","quality_audio","required","","type","radio","value","viele"),null),this._NgbRadio_75_3=new y.a(this.parentView.parentView.injectorGet(R.c,this.parentView.parentIndex,null),this.parentView.parentView.injectorGet(R.b,this.parentView.parentIndex,null),this.renderer,new E.a(this._el_75)),this._DefaultValueAccessor_75_4=new v.a(this.renderer,new E.a(this._el_75)),this._RadioControlValueAccessor_75_5=new w.a(this.renderer,new E.a(this._el_75),this.parentView.parentView.injectorGet(N.a,this.parentView.parentIndex),this.injector(75)),this._RequiredValidator_75_6=new b.a,this._NG_VALIDATORS_75_7=[this._RequiredValidator_75_6.context],this._NG_VALUE_ACCESSOR_75_8=[this._DefaultValueAccessor_75_4.context,this._RadioControlValueAccessor_75_5.context],this._NgModel_75_9=new C.a(this._ControlContainer_10_4,this._NG_VALIDATORS_75_7,null,this._NG_VALUE_ACCESSOR_75_8),this._NgControl_75_10=this._NgModel_75_9.context,this._NgControlStatus_75_11=new m.b(this._NgControl_75_10),this._text_76=this.renderer.createText(this._el_71,"\n ",null),this._text_77=this.renderer.createText(this._el_69,"\n ",null),this._text_78=this.renderer.createText(this._el_67,"\n ",null),this._el_79=s.createRenderElement(this.renderer,this._el_67,"div",new s.InlineArray2(2,"class","col-xs-3"),null),this._text_80=this.renderer.createText(this._el_79,"\n ",null),this._el_81=s.createRenderElement(this.renderer,this._el_79,"div",new s.InlineArray2(2,"class","radio"),null),this._text_82=this.renderer.createText(this._el_81,"\n ",null),this._el_83=s.createRenderElement(this.renderer,this._el_81,"label",s.EMPTY_INLINE_ARRAY,null),this._text_84=this.renderer.createText(this._el_83,"",null),this._el_85=s.createRenderElement(this.renderer,this._el_83,"input",new s.InlineArray8(8,"name","quality_audio","required","","type","radio","value","wenig"),null),this._NgbRadio_85_3=new y.a(this.parentView.parentView.injectorGet(R.c,this.parentView.parentIndex,null),this.parentView.parentView.injectorGet(R.b,this.parentView.parentIndex,null),this.renderer,new E.a(this._el_85)),this._DefaultValueAccessor_85_4=new v.a(this.renderer,new E.a(this._el_85)),this._RadioControlValueAccessor_85_5=new w.a(this.renderer,new E.a(this._el_85),this.parentView.parentView.injectorGet(N.a,this.parentView.parentIndex),this.injector(85)),this._RequiredValidator_85_6=new b.a,this._NG_VALIDATORS_85_7=[this._RequiredValidator_85_6.context],this._NG_VALUE_ACCESSOR_85_8=[this._DefaultValueAccessor_85_4.context,this._RadioControlValueAccessor_85_5.context],this._NgModel_85_9=new C.a(this._ControlContainer_10_4,this._NG_VALIDATORS_85_7,null,this._NG_VALUE_ACCESSOR_85_8),this._NgControl_85_10=this._NgModel_85_9.context,this._NgControlStatus_85_11=new m.b(this._NgControl_85_10),this._text_86=this.renderer.createText(this._el_81,"\n ",null),this._text_87=this.renderer.createText(this._el_79,"\n ",null),this._text_88=this.renderer.createText(this._el_67,"\n ",null),this._el_89=s.createRenderElement(this.renderer,this._el_67,"div",new s.InlineArray2(2,"class","col-xs-3"),null),this._text_90=this.renderer.createText(this._el_89,"\n ",null),this._el_91=s.createRenderElement(this.renderer,this._el_89,"div",new s.InlineArray2(2,"class","radio"),null),this._text_92=this.renderer.createText(this._el_91,"\n ",null),this._el_93=s.createRenderElement(this.renderer,this._el_91,"label",s.EMPTY_INLINE_ARRAY,null),this._text_94=this.renderer.createText(this._el_93,"",null),this._el_95=s.createRenderElement(this.renderer,this._el_93,"input",new s.InlineArray8(8,"name","quality_audio","required","","type","radio","value","sehr wenig"),null),this._NgbRadio_95_3=new y.a(this.parentView.parentView.injectorGet(R.c,this.parentView.parentIndex,null),this.parentView.parentView.injectorGet(R.b,this.parentView.parentIndex,null),this.renderer,new E.a(this._el_95)),this._DefaultValueAccessor_95_4=new v.a(this.renderer,new E.a(this._el_95)),this._RadioControlValueAccessor_95_5=new w.a(this.renderer,new E.a(this._el_95),this.parentView.parentView.injectorGet(N.a,this.parentView.parentIndex),this.injector(95)),this._RequiredValidator_95_6=new b.a,this._NG_VALIDATORS_95_7=[this._RequiredValidator_95_6.context],this._NG_VALUE_ACCESSOR_95_8=[this._DefaultValueAccessor_95_4.context,this._RadioControlValueAccessor_95_5.context],this._NgModel_95_9=new C.a(this._ControlContainer_10_4,this._NG_VALIDATORS_95_7,null,this._NG_VALUE_ACCESSOR_95_8),this._NgControl_95_10=this._NgModel_95_9.context,this._NgControlStatus_95_11=new m.b(this._NgControl_95_10),this._text_96=this.renderer.createText(this._el_91,"\n ",null),this._text_97=this.renderer.createText(this._el_89,"\n ",null),this._text_98=this.renderer.createText(this._el_67,"\n ",null),this._el_99=s.createRenderElement(this.renderer,this._el_67,"div",new s.InlineArray2(2,"class","col-xs-3"),null),this._text_100=this.renderer.createText(this._el_99,"\n ",null),this._el_101=s.createRenderElement(this.renderer,this._el_99,"div",new s.InlineArray2(2,"class","radio"),null),this._text_102=this.renderer.createText(this._el_101,"\n ",null),this._el_103=s.createRenderElement(this.renderer,this._el_101,"label",s.EMPTY_INLINE_ARRAY,null),this._text_104=this.renderer.createText(this._el_103,"",null),this._el_105=s.createRenderElement(this.renderer,this._el_103,"input",new s.InlineArray8(8,"name","quality_audio","required","","type","radio","value","keine"),null),this._NgbRadio_105_3=new y.a(this.parentView.parentView.injectorGet(R.c,this.parentView.parentIndex,null),this.parentView.parentView.injectorGet(R.b,this.parentView.parentIndex,null),this.renderer,new E.a(this._el_105)),this._DefaultValueAccessor_105_4=new v.a(this.renderer,new E.a(this._el_105)),this._RadioControlValueAccessor_105_5=new w.a(this.renderer,new E.a(this._el_105),this.parentView.parentView.injectorGet(N.a,this.parentView.parentIndex),this.injector(105)),this._RequiredValidator_105_6=new b.a,this._NG_VALIDATORS_105_7=[this._RequiredValidator_105_6.context],this._NG_VALUE_ACCESSOR_105_8=[this._DefaultValueAccessor_105_4.context,this._RadioControlValueAccessor_105_5.context],this._NgModel_105_9=new C.a(this._ControlContainer_10_4,this._NG_VALIDATORS_105_7,null,this._NG_VALUE_ACCESSOR_105_8),this._NgControl_105_10=this._NgModel_105_9.context,this._NgControlStatus_105_11=new m.b(this._NgControl_105_10),this._text_106=this.renderer.createText(this._el_101,"\n ",null),this._text_107=this.renderer.createText(this._el_99,"\n ",null),this._text_108=this.renderer.createText(this._el_67,"\n ",null),this._text_109=this.renderer.createText(this._el_63,"\n ",null),this._text_110=this.renderer.createText(this._el_12,"\n ",null),this._el_111=s.createRenderElement(this.renderer,this._el_12,"div",new s.InlineArray2(2,"class","form-group"),null),this._el_112=s.createRenderElement(this.renderer,this._el_111,"label",new s.InlineArray2(2,"class","control-label"),null),this._text_113=this.renderer.createText(this._el_112,"",null),this._text_114=this.renderer.createText(this._el_111,"\n ",null),this._el_115=s.createRenderElement(this.renderer,this._el_111,"textarea",new s.InlineArray16(12,"class","form-control","id","short-feedback","maxlength","500","minlength","3","name","shortfeedback","required",""),null),this._DefaultValueAccessor_115_3=new v.a(this.renderer,new E.a(this._el_115)),this._RequiredValidator_115_4=new b.a,this._MinLengthValidator_115_5=new b.b,this._MaxLengthValidator_115_6=new b.c,this._NG_VALIDATORS_115_7=[this._RequiredValidator_115_4.context,this._MinLengthValidator_115_5.context,this._MaxLengthValidator_115_6.context],this._NG_VALUE_ACCESSOR_115_8=[this._DefaultValueAccessor_115_3.context],this._NgModel_115_9=new C.a(this._ControlContainer_10_4,this._NG_VALIDATORS_115_7,null,this._NG_VALUE_ACCESSOR_115_8),this._NgControl_115_10=this._NgModel_115_9.context,this._NgControlStatus_115_11=new m.b(this._NgControl_115_10);this._text_116=this.renderer.createText(this._el_111,"\n ",null),this._text_117=this.renderer.createText(this._el_12,"\n ",null),this._el_118=s.createRenderElement(this.renderer,this._el_12,"div",new s.InlineArray2(2,"id","form-group"),null),this._text_119=this.renderer.createText(this._el_118,"\n ",null),this._el_120=s.createRenderElement(this.renderer,this._el_118,"div",new s.InlineArray8(6,"aria-label","...","class","btn-group btn-group-justified","role","group"),null),this._text_121=this.renderer.createText(this._el_120,"\n ",null),this._el_122=s.createRenderElement(this.renderer,this._el_120,"button",new s.InlineArray8(6,"class","btn btn-raised","style","position:relative;width:49%;","type","button"),null),this._el_123=s.createRenderElement(this.renderer,this._el_122,"span",new s.InlineArray4(4,"aria-hidden","true","class","glyphicon glyphicon-menu-left"),null),this._el_124=s.createRenderElement(this.renderer,this._el_122,"span",s.EMPTY_INLINE_ARRAY,null),this._text_125=this.renderer.createText(this._el_124,"",null),this._text_126=this.renderer.createText(this._el_122,"\n ",null),this._text_127=this.renderer.createText(this._el_120,"\n ",null),this._el_128=s.createRenderElement(this.renderer,this._el_120,"button",new s.InlineArray8(8,"class","btn btn-primary btn-raised","name","send","style","position:relative;width:49%;margin-left:2%;","type","submit"),null),this._text_129=this.renderer.createText(this._el_128,"\n ",null),this._el_130=s.createRenderElement(this.renderer,this._el_128,"span",s.EMPTY_INLINE_ARRAY,null),this._text_131=this.renderer.createText(this._el_130,"",null),this._el_132=s.createRenderElement(this.renderer,this._el_128,"span",new s.InlineArray2(2,"class","glyphicon glyphicon-send"),null),this._text_133=this.renderer.createText(this._el_120,"\n ",null),this._text_134=this.renderer.createText(this._el_118,"\n ",null),this._text_135=this.renderer.createText(this._el_12,"\n ",null),this._text_136=this.renderer.createText(this._el_10,"\n ",null),this._text_137=this.renderer.createText(this._el_8,"\n ",null),this._text_138=this.renderer.createText(this._el_0,"\n ",null),this._pipe_translate_0=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.parentView.ref);var t=s.subscribeToRenderElement(this,this._el_10,new s.InlineArray8(6,"ngSubmit",null,"submit",null,"reset",null),this.eventHandler(this.handleEvent_10));this._NgForm_10_3.subscribe(this,this.eventHandler(this.handleEvent_10),!0),this._pipe_translate_1=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.parentView.ref),this._pipe_translate_2=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.parentView.ref);var n=s.subscribeToRenderElement(this,this._el_27,new s.InlineArray16(10,"ngModelChange",null,"change",null,"focus",null,"blur",null,"input",null),this.eventHandler(this.handleEvent_27));this._NgModel_27_9.subscribe(this,this.eventHandler(this.handleEvent_27),!0),this._pipe_translate_3=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.parentView.ref);var i=s.subscribeToRenderElement(this,this._el_37,new s.InlineArray16(10,"ngModelChange",null,"change",null,"focus",null,"blur",null,"input",null),this.eventHandler(this.handleEvent_37));this._NgModel_37_9.subscribe(this,this.eventHandler(this.handleEvent_37),!0),this._pipe_translate_4=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.parentView.ref);var r=s.subscribeToRenderElement(this,this._el_47,new s.InlineArray16(10,"ngModelChange",null,"change",null,"focus",null,"blur",null,"input",null),this.eventHandler(this.handleEvent_47));this._NgModel_47_9.subscribe(this,this.eventHandler(this.handleEvent_47),!0),this._pipe_translate_5=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.parentView.ref);var _=s.subscribeToRenderElement(this,this._el_57,new s.InlineArray16(10,"ngModelChange",null,"change",null,"focus",null,"blur",null,"input",null),this.eventHandler(this.handleEvent_57));this._NgModel_57_9.subscribe(this,this.eventHandler(this.handleEvent_57),!0),this._pipe_translate_6=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.parentView.ref),this._pipe_translate_7=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.parentView.ref);var h=s.subscribeToRenderElement(this,this._el_75,new s.InlineArray16(10,"ngModelChange",null,"change",null,"focus",null,"blur",null,"input",null),this.eventHandler(this.handleEvent_75));this._NgModel_75_9.subscribe(this,this.eventHandler(this.handleEvent_75),!0),this._pipe_translate_8=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.parentView.ref);var o=s.subscribeToRenderElement(this,this._el_85,new s.InlineArray16(10,"ngModelChange",null,"change",null,"focus",null,"blur",null,"input",null),this.eventHandler(this.handleEvent_85));this._NgModel_85_9.subscribe(this,this.eventHandler(this.handleEvent_85),!0),this._pipe_translate_9=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.parentView.ref);var a=s.subscribeToRenderElement(this,this._el_95,new s.InlineArray16(10,"ngModelChange",null,"change",null,"focus",null,"blur",null,"input",null),this.eventHandler(this.handleEvent_95));this._NgModel_95_9.subscribe(this,this.eventHandler(this.handleEvent_95),!0),this._pipe_translate_10=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.parentView.ref);var l=s.subscribeToRenderElement(this,this._el_105,new s.InlineArray16(10,"ngModelChange",null,"change",null,"focus",null,"blur",null,"input",null),this.eventHandler(this.handleEvent_105));this._NgModel_105_9.subscribe(this,this.eventHandler(this.handleEvent_105),!0),this._pipe_translate_11=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.parentView.ref);var c=s.subscribeToRenderElement(this,this._el_115,new s.InlineArray8(6,"ngModelChange",null,"input",null,"blur",null),this.eventHandler(this.handleEvent_115));this._NgModel_115_9.subscribe(this,this.eventHandler(this.handleEvent_115),!0);var u=s.subscribeToRenderElement(this,this._el_122,new s.InlineArray2(2,"click",null),this.eventHandler(this.handleEvent_122));return this._pipe_translate_12=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.parentView.ref),this._pipe_translate_13=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.parentView.ref),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._text_7,this._el_8,this._text_9,this._el_10,this._text_11,this._el_12,this._text_13,this._el_14,this._text_15,this._el_16,this._text_17,this._text_18,this._el_19,this._text_20,this._el_21,this._text_22,this._el_23,this._text_24,this._el_25,this._text_26,this._el_27,this._text_28,this._text_29,this._text_30,this._el_31,this._text_32,this._el_33,this._text_34,this._el_35,this._text_36,this._el_37,this._text_38,this._text_39,this._text_40,this._el_41,this._text_42,this._el_43,this._text_44,this._el_45,this._text_46,this._el_47,this._text_48,this._text_49,this._text_50,this._el_51,this._text_52,this._el_53,this._text_54,this._el_55,this._text_56,this._el_57,this._text_58,this._text_59,this._text_60,this._text_61,this._text_62,this._el_63,this._el_64,this._text_65,this._text_66,this._el_67,this._text_68,this._el_69,this._text_70,this._el_71,this._text_72,this._el_73,this._text_74,this._el_75,this._text_76,this._text_77,this._text_78,this._el_79,this._text_80,this._el_81,this._text_82,this._el_83,this._text_84,this._el_85,this._text_86,this._text_87,this._text_88,this._el_89,this._text_90,this._el_91,this._text_92,this._el_93,this._text_94,this._el_95,this._text_96,this._text_97,this._text_98,this._el_99,this._text_100,this._el_101,this._text_102,this._el_103,this._text_104,this._el_105,this._text_106,this._text_107,this._text_108,this._text_109,this._text_110,this._el_111,this._el_112,this._text_113,this._text_114,this._el_115,this._text_116,this._text_117,this._el_118,this._text_119,this._el_120,this._text_121,this._el_122,this._el_123,this._el_124,this._text_125,this._text_126,this._text_127,this._el_128,this._text_129,this._el_130,this._text_131,this._el_132,this._text_133,this._text_134,this._text_135,this._text_136,this._text_137,this._text_138],[t,n,i,r,_,h,o,a,l,c,u]),null},t.prototype.injectorGetInternal=function(e,t,n){return e===R.a&&27===t?this._NgbRadio_27_3.context:e===V.a&&27===t?this._DefaultValueAccessor_27_4.context:e===N.b&&27===t?this._RadioControlValueAccessor_27_5.context:e===S.a&&27===t?this._RequiredValidator_27_6.context:e===O.a&&27===t?this._NG_VALIDATORS_27_7:e===D.a&&27===t?this._NG_VALUE_ACCESSOR_27_8:e===P.a&&27===t?this._NgModel_27_9.context:e===M.a&&27===t?this._NgControl_27_10:e===j.a&&27===t?this._NgControlStatus_27_11.context:e===R.a&&37===t?this._NgbRadio_37_3.context:e===V.a&&37===t?this._DefaultValueAccessor_37_4.context:e===N.b&&37===t?this._RadioControlValueAccessor_37_5.context:e===S.a&&37===t?this._RequiredValidator_37_6.context:e===O.a&&37===t?this._NG_VALIDATORS_37_7:e===D.a&&37===t?this._NG_VALUE_ACCESSOR_37_8:e===P.a&&37===t?this._NgModel_37_9.context:e===M.a&&37===t?this._NgControl_37_10:e===j.a&&37===t?this._NgControlStatus_37_11.context:e===R.a&&47===t?this._NgbRadio_47_3.context:e===V.a&&47===t?this._DefaultValueAccessor_47_4.context:e===N.b&&47===t?this._RadioControlValueAccessor_47_5.context:e===S.a&&47===t?this._RequiredValidator_47_6.context:e===O.a&&47===t?this._NG_VALIDATORS_47_7:e===D.a&&47===t?this._NG_VALUE_ACCESSOR_47_8:e===P.a&&47===t?this._NgModel_47_9.context:e===M.a&&47===t?this._NgControl_47_10:e===j.a&&47===t?this._NgControlStatus_47_11.context:e===R.a&&57===t?this._NgbRadio_57_3.context:e===V.a&&57===t?this._DefaultValueAccessor_57_4.context:e===N.b&&57===t?this._RadioControlValueAccessor_57_5.context:e===S.a&&57===t?this._RequiredValidator_57_6.context:e===O.a&&57===t?this._NG_VALIDATORS_57_7:e===D.a&&57===t?this._NG_VALUE_ACCESSOR_57_8:e===P.a&&57===t?this._NgModel_57_9.context:e===M.a&&57===t?this._NgControl_57_10:e===j.a&&57===t?this._NgControlStatus_57_11.context:e===R.a&&75===t?this._NgbRadio_75_3.context:e===V.a&&75===t?this._DefaultValueAccessor_75_4.context:e===N.b&&75===t?this._RadioControlValueAccessor_75_5.context:e===S.a&&75===t?this._RequiredValidator_75_6.context:e===O.a&&75===t?this._NG_VALIDATORS_75_7:e===D.a&&75===t?this._NG_VALUE_ACCESSOR_75_8:e===P.a&&75===t?this._NgModel_75_9.context:e===M.a&&75===t?this._NgControl_75_10:e===j.a&&75===t?this._NgControlStatus_75_11.context:e===R.a&&85===t?this._NgbRadio_85_3.context:e===V.a&&85===t?this._DefaultValueAccessor_85_4.context:e===N.b&&85===t?this._RadioControlValueAccessor_85_5.context:e===S.a&&85===t?this._RequiredValidator_85_6.context:e===O.a&&85===t?this._NG_VALIDATORS_85_7:e===D.a&&85===t?this._NG_VALUE_ACCESSOR_85_8:e===P.a&&85===t?this._NgModel_85_9.context:e===M.a&&85===t?this._NgControl_85_10:e===j.a&&85===t?this._NgControlStatus_85_11.context:e===R.a&&95===t?this._NgbRadio_95_3.context:e===V.a&&95===t?this._DefaultValueAccessor_95_4.context:e===N.b&&95===t?this._RadioControlValueAccessor_95_5.context:e===S.a&&95===t?this._RequiredValidator_95_6.context:e===O.a&&95===t?this._NG_VALIDATORS_95_7:e===D.a&&95===t?this._NG_VALUE_ACCESSOR_95_8:e===P.a&&95===t?this._NgModel_95_9.context:e===M.a&&95===t?this._NgControl_95_10:e===j.a&&95===t?this._NgControlStatus_95_11.context:e===R.a&&105===t?this._NgbRadio_105_3.context:e===V.a&&105===t?this._DefaultValueAccessor_105_4.context:e===N.b&&105===t?this._RadioControlValueAccessor_105_5.context:e===S.a&&105===t?this._RequiredValidator_105_6.context:e===O.a&&105===t?this._NG_VALIDATORS_105_7:e===D.a&&105===t?this._NG_VALUE_ACCESSOR_105_8:e===P.a&&105===t?this._NgModel_105_9.context:e===M.a&&105===t?this._NgControl_105_10:e===j.a&&105===t?this._NgControlStatus_105_11.context:e===V.a&&115===t?this._DefaultValueAccessor_115_3.context:e===S.a&&115===t?this._RequiredValidator_115_4.context:e===S.b&&115===t?this._MinLengthValidator_115_5.context:e===S.c&&115===t?this._MaxLengthValidator_115_6.context:e===O.a&&115===t?this._NG_VALIDATORS_115_7:e===D.a&&115===t?this._NG_VALUE_ACCESSOR_115_8:e===P.a&&115===t?this._NgModel_115_9.context:e===M.a&&115===t?this._NgControl_115_10:e===j.a&&115===t?this._NgControlStatus_115_11.context:e===L.a&&10<=t&&t<=136?this._NgForm_10_3.context:e===G.a&&10<=t&&t<=136?this._ControlContainer_10_4:e===j.b&&10<=t&&t<=136?this._NgControlStatusGroup_10_5.context:n},t.prototype.detectChangesInternal=function(e){var t=new T.c;this._NgForm_10_3.ngDoCheck(this,this._el_10,e),this._NgControlStatusGroup_10_5.ngDoCheck(this,this._el_10,e),this._NgbRadio_27_3.check_value("unverstaendlich",e,!1),this._NgbRadio_27_3.ngDoCheck(this,this._el_27,e),this._DefaultValueAccessor_27_4.ngDoCheck(this,this._el_27,e),this._RadioControlValueAccessor_27_5.check_name("quality_speaker",e,!1),this._RadioControlValueAccessor_27_5.check_value("unverstaendlich",e,!1),this._RadioControlValueAccessor_27_5.ngDoCheck(this,this._el_27,e),this._RequiredValidator_27_6.check_required("",e,!1),this._RequiredValidator_27_6.ngDoCheck(this,this._el_27,e),this._NgModel_27_9.check_name("quality_speaker",e,!1);var n=this.parentView.context.feedback_data.quality_speaker;this._NgModel_27_9.check_model(n,e,!1),this._NgModel_27_9.ngDoCheck(this,this._el_27,e),this._NgControlStatus_27_11.ngDoCheck(this,this._el_27,e),this._NgbRadio_37_3.check_value("weniger verstaendlich",e,!1),this._NgbRadio_37_3.ngDoCheck(this,this._el_37,e),this._DefaultValueAccessor_37_4.ngDoCheck(this,this._el_37,e),this._RadioControlValueAccessor_37_5.check_name("quality_speaker",e,!1),this._RadioControlValueAccessor_37_5.check_value("weniger verstaendlich",e,!1),this._RadioControlValueAccessor_37_5.ngDoCheck(this,this._el_37,e),this._RequiredValidator_37_6.check_required("",e,!1),this._RequiredValidator_37_6.ngDoCheck(this,this._el_37,e),this._NgModel_37_9.check_name("quality_speaker",e,!1);var i=this.parentView.context.feedback_data.quality_speaker;this._NgModel_37_9.check_model(i,e,!1),this._NgModel_37_9.ngDoCheck(this,this._el_37,e),this._NgControlStatus_37_11.ngDoCheck(this,this._el_37,e),this._NgbRadio_47_3.check_value("verstaendlich",e,!1),this._NgbRadio_47_3.ngDoCheck(this,this._el_47,e),this._DefaultValueAccessor_47_4.ngDoCheck(this,this._el_47,e),this._RadioControlValueAccessor_47_5.check_name("quality_speaker",e,!1),this._RadioControlValueAccessor_47_5.check_value("verstaendlich",e,!1),this._RadioControlValueAccessor_47_5.ngDoCheck(this,this._el_47,e),this._RequiredValidator_47_6.check_required("",e,!1),this._RequiredValidator_47_6.ngDoCheck(this,this._el_47,e),this._NgModel_47_9.check_name("quality_speaker",e,!1);var r=this.parentView.context.feedback_data.quality_speaker;this._NgModel_47_9.check_model(r,e,!1),this._NgModel_47_9.ngDoCheck(this,this._el_47,e),this._NgControlStatus_47_11.ngDoCheck(this,this._el_47,e),this._NgbRadio_57_3.check_value("klar",e,!1),this._NgbRadio_57_3.ngDoCheck(this,this._el_57,e),this._DefaultValueAccessor_57_4.ngDoCheck(this,this._el_57,e),this._RadioControlValueAccessor_57_5.check_name("quality_speaker",e,!1),this._RadioControlValueAccessor_57_5.check_value("klar",e,!1),this._RadioControlValueAccessor_57_5.ngDoCheck(this,this._el_57,e),this._RequiredValidator_57_6.check_required("",e,!1),this._RequiredValidator_57_6.ngDoCheck(this,this._el_57,e),this._NgModel_57_9.check_name("quality_speaker",e,!1);var _=this.parentView.context.feedback_data.quality_speaker;this._NgModel_57_9.check_model(_,e,!1),this._NgModel_57_9.ngDoCheck(this,this._el_57,e),this._NgControlStatus_57_11.ngDoCheck(this,this._el_57,e),this._NgbRadio_75_3.check_value("viele",e,!1),this._NgbRadio_75_3.ngDoCheck(this,this._el_75,e),this._DefaultValueAccessor_75_4.ngDoCheck(this,this._el_75,e),this._RadioControlValueAccessor_75_5.check_name("quality_audio",e,!1),this._RadioControlValueAccessor_75_5.check_value("viele",e,!1),this._RadioControlValueAccessor_75_5.ngDoCheck(this,this._el_75,e),this._RequiredValidator_75_6.check_required("",e,!1),this._RequiredValidator_75_6.ngDoCheck(this,this._el_75,e),this._NgModel_75_9.check_name("quality_audio",e,!1);var h=this.parentView.context.feedback_data.quality_audio;this._NgModel_75_9.check_model(h,e,!1),this._NgModel_75_9.ngDoCheck(this,this._el_75,e),this._NgControlStatus_75_11.ngDoCheck(this,this._el_75,e),this._NgbRadio_85_3.check_value("wenig",e,!1),this._NgbRadio_85_3.ngDoCheck(this,this._el_85,e),this._DefaultValueAccessor_85_4.ngDoCheck(this,this._el_85,e),this._RadioControlValueAccessor_85_5.check_name("quality_audio",e,!1),this._RadioControlValueAccessor_85_5.check_value("wenig",e,!1),this._RadioControlValueAccessor_85_5.ngDoCheck(this,this._el_85,e),this._RequiredValidator_85_6.check_required("",e,!1),this._RequiredValidator_85_6.ngDoCheck(this,this._el_85,e),this._NgModel_85_9.check_name("quality_audio",e,!1);var o=this.parentView.context.feedback_data.quality_audio;this._NgModel_85_9.check_model(o,e,!1),this._NgModel_85_9.ngDoCheck(this,this._el_85,e),this._NgControlStatus_85_11.ngDoCheck(this,this._el_85,e),this._NgbRadio_95_3.check_value("sehr wenig",e,!1),this._NgbRadio_95_3.ngDoCheck(this,this._el_95,e),this._DefaultValueAccessor_95_4.ngDoCheck(this,this._el_95,e),this._RadioControlValueAccessor_95_5.check_name("quality_audio",e,!1),this._RadioControlValueAccessor_95_5.check_value("sehr wenig",e,!1),this._RadioControlValueAccessor_95_5.ngDoCheck(this,this._el_95,e),this._RequiredValidator_95_6.check_required("",e,!1),this._RequiredValidator_95_6.ngDoCheck(this,this._el_95,e),this._NgModel_95_9.check_name("quality_audio",e,!1);var a=this.parentView.context.feedback_data.quality_audio;this._NgModel_95_9.check_model(a,e,!1),this._NgModel_95_9.ngDoCheck(this,this._el_95,e),this._NgControlStatus_95_11.ngDoCheck(this,this._el_95,e),this._NgbRadio_105_3.check_value("keine",e,!1),this._NgbRadio_105_3.ngDoCheck(this,this._el_105,e),this._DefaultValueAccessor_105_4.ngDoCheck(this,this._el_105,e),this._RadioControlValueAccessor_105_5.check_name("quality_audio",e,!1),this._RadioControlValueAccessor_105_5.check_value("keine",e,!1),this._RadioControlValueAccessor_105_5.ngDoCheck(this,this._el_105,e),this._RequiredValidator_105_6.check_required("",e,!1),this._RequiredValidator_105_6.ngDoCheck(this,this._el_105,e),this._NgModel_105_9.check_name("quality_audio",e,!1);var l=this.parentView.context.feedback_data.quality_audio;this._NgModel_105_9.check_model(l,e,!1),this._NgModel_105_9.ngDoCheck(this,this._el_105,e),this._NgControlStatus_105_11.ngDoCheck(this,this._el_105,e),this._DefaultValueAccessor_115_3.ngDoCheck(this,this._el_115,e),this._RequiredValidator_115_4.check_required("",e,!1),this._RequiredValidator_115_4.ngDoCheck(this,this._el_115,e),this._MinLengthValidator_115_5.check_minlength("3",e,!1),this._MinLengthValidator_115_5.ngDoCheck(this,this._el_115,e),this._MaxLengthValidator_115_6.check_maxlength("500",e,!1),this._MaxLengthValidator_115_6.ngDoCheck(this,this._el_115,e),this._NgModel_115_9.check_name("shortfeedback",e,!1);var c=this.parentView.context.feedback_data.comment;this._NgModel_115_9.check_model(c,e,!1),this._NgModel_115_9.ngDoCheck(this,this._el_115,e),this._NgControlStatus_115_11.ngDoCheck(this,this._el_115,e),t.reset();var u=s.inlineInterpolate(1,"\n ",t.unwrap(this._pipe_translate_0.transform("transcription-submit.form fill out")),":\n ");(t.hasWrappedValue||s.checkBinding(e,this._expr_223,u))&&(this.renderer.setText(this._text_6,u),this._expr_223=u),this._NgControlStatusGroup_10_5.checkHost(this,this,this._el_10,e),t.reset();var p=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_1.transform("transcription-submit.intelligibility of the speaker")),":");(t.hasWrappedValue||s.checkBinding(e,this._expr_225,p))&&(this.renderer.setText(this._text_17,p),this._expr_225=p),t.reset();var d=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_2.transform("general.unintelligible")),"\n ");(t.hasWrappedValue||s.checkBinding(e,this._expr_227,d))&&(this.renderer.setText(this._text_26,d),this._expr_227=d),this._NgbRadio_27_3.checkHost(this,this,this._el_27,e),this._RequiredValidator_27_6.checkHost(this,this,this._el_27,e),this._NgControlStatus_27_11.checkHost(this,this,this._el_27,e),t.reset();var g=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_3.transform("general.less intelligible")),"\n ");(t.hasWrappedValue||s.checkBinding(e,this._expr_229,g))&&(this.renderer.setText(this._text_36,g),this._expr_229=g),this._NgbRadio_37_3.checkHost(this,this,this._el_37,e),this._RequiredValidator_37_6.checkHost(this,this,this._el_37,e),this._NgControlStatus_37_11.checkHost(this,this,this._el_37,e),t.reset();var f=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_4.transform("general.intelligible")),"\n ");(t.hasWrappedValue||s.checkBinding(e,this._expr_231,f))&&(this.renderer.setText(this._text_46,f),this._expr_231=f),this._NgbRadio_47_3.checkHost(this,this,this._el_47,e),this._RequiredValidator_47_6.checkHost(this,this,this._el_47,e),this._NgControlStatus_47_11.checkHost(this,this,this._el_47,e),t.reset();var x=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_5.transform("general.very good intelligible")),"\n ");(t.hasWrappedValue||s.checkBinding(e,this._expr_233,x))&&(this.renderer.setText(this._text_56,x),this._expr_233=x),this._NgbRadio_57_3.checkHost(this,this,this._el_57,e),this._RequiredValidator_57_6.checkHost(this,this,this._el_57,e),this._NgControlStatus_57_11.checkHost(this,this,this._el_57,e),t.reset();var m=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_6.transform("general.quality of signal")),":");(t.hasWrappedValue||s.checkBinding(e,this._expr_235,m))&&(this.renderer.setText(this._text_65,m),this._expr_235=m),t.reset();var y=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_7.transform("general.a lot of noises")),"\n ");(t.hasWrappedValue||s.checkBinding(e,this._expr_237,y))&&(this.renderer.setText(this._text_74,y),this._expr_237=y),this._NgbRadio_75_3.checkHost(this,this,this._el_75,e),this._RequiredValidator_75_6.checkHost(this,this,this._el_75,e),this._NgControlStatus_75_11.checkHost(this,this,this._el_75,e),t.reset();var v=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_8.transform("general.few noises")),"\n ");(t.hasWrappedValue||s.checkBinding(e,this._expr_239,v))&&(this.renderer.setText(this._text_84,v),this._expr_239=v),this._NgbRadio_85_3.checkHost(this,this,this._el_85,e),this._RequiredValidator_85_6.checkHost(this,this,this._el_85,e),this._NgControlStatus_85_11.checkHost(this,this,this._el_85,e),t.reset();var w=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_9.transform("general.very few noises")),"\n ");(t.hasWrappedValue||s.checkBinding(e,this._expr_241,w))&&(this.renderer.setText(this._text_94,w),this._expr_241=w),this._NgbRadio_95_3.checkHost(this,this,this._el_95,e),this._RequiredValidator_95_6.checkHost(this,this,this._el_95,e),this._NgControlStatus_95_11.checkHost(this,this,this._el_95,e),t.reset();var b=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_10.transform("general.no noises")),"\n ");(t.hasWrappedValue||s.checkBinding(e,this._expr_243,b))&&(this.renderer.setText(this._text_104,b),this._expr_243=b),this._NgbRadio_105_3.checkHost(this,this,this._el_105,e),this._RequiredValidator_105_6.checkHost(this,this,this._el_105,e),this._NgControlStatus_105_11.checkHost(this,this,this._el_105,e),t.reset();var C=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_11.transform("transcription-submit.comment description")),":");(t.hasWrappedValue||s.checkBinding(e,this._expr_245,C))&&(this.renderer.setText(this._text_113,C),this._expr_245=C),this._RequiredValidator_115_4.checkHost(this,this,this._el_115,e),this._MinLengthValidator_115_5.checkHost(this,this,this._el_115,e),this._MaxLengthValidator_115_6.checkHost(this,this,this._el_115,e),this._NgControlStatus_115_11.checkHost(this,this,this._el_115,e),t.reset();var I=s.inlineInterpolate(1," ",t.unwrap(this._pipe_translate_12.transform("general.back")),"");(t.hasWrappedValue||s.checkBinding(e,this._expr_247,I))&&(this.renderer.setText(this._text_125,I),this._expr_247=I);var k=!this._NgForm_10_3.context.valid;s.checkBinding(e,this._expr_249,k)&&(this.renderer.setElementProperty(this._el_128,"disabled",k),this._expr_249=k),t.reset();var R=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_13.transform("general.send transcription"))," ");(t.hasWrappedValue||s.checkBinding(e,this._expr_250,R))&&(this.renderer.setText(this._text_131,R),this._expr_250=R)},t.prototype.destroyInternal=function(){this._NgbRadio_27_3.ngOnDestroy(),this._RadioControlValueAccessor_27_5.ngOnDestroy(),this._NgModel_27_9.ngOnDestroy(),this._NgbRadio_37_3.ngOnDestroy(),this._RadioControlValueAccessor_37_5.ngOnDestroy(),this._NgModel_37_9.ngOnDestroy(),this._NgbRadio_47_3.ngOnDestroy(),this._RadioControlValueAccessor_47_5.ngOnDestroy(),this._NgModel_47_9.ngOnDestroy(),this._NgbRadio_57_3.ngOnDestroy(),this._RadioControlValueAccessor_57_5.ngOnDestroy(),this._NgModel_57_9.ngOnDestroy(),this._NgbRadio_75_3.ngOnDestroy(),this._RadioControlValueAccessor_75_5.ngOnDestroy(),this._NgModel_75_9.ngOnDestroy(),this._NgbRadio_85_3.ngOnDestroy(),this._RadioControlValueAccessor_85_5.ngOnDestroy(),this._NgModel_85_9.ngOnDestroy(),this._NgbRadio_95_3.ngOnDestroy(),this._RadioControlValueAccessor_95_5.ngOnDestroy(),this._NgModel_95_9.ngOnDestroy(),this._NgbRadio_105_3.ngOnDestroy(),this._RadioControlValueAccessor_105_5.ngOnDestroy(),this._NgModel_105_9.ngOnDestroy(),this._NgModel_115_9.ngOnDestroy(),this._NgForm_10_3.ngOnDestroy(),this._pipe_translate_0.ngOnDestroy(),this._pipe_translate_1.ngOnDestroy(),this._pipe_translate_2.ngOnDestroy(),this._pipe_translate_3.ngOnDestroy(),this._pipe_translate_4.ngOnDestroy(),this._pipe_translate_5.ngOnDestroy(),this._pipe_translate_6.ngOnDestroy(),this._pipe_translate_7.ngOnDestroy(),this._pipe_translate_8.ngOnDestroy(),this._pipe_translate_9.ngOnDestroy(),this._pipe_translate_10.ngOnDestroy(),this._pipe_translate_11.ngOnDestroy(),this._pipe_translate_12.ngOnDestroy(),this._pipe_translate_13.ngOnDestroy()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t.prototype.handleEvent_10=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if(n=this._NgForm_10_3.handleEvent(e,t)&&n,"ngSubmit"==e){n=this.parentView.context.onSubmit(this._NgForm_10_3.context)!==!1&&n}return n},t.prototype.handleEvent_27=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if(n=this._NgbRadio_27_3.handleEvent(e,t)&&n,n=this._DefaultValueAccessor_27_4.handleEvent(e,t)&&n,n=this._RadioControlValueAccessor_27_5.handleEvent(e,t)&&n,"ngModelChange"==e){n=(this.parentView.context.feedback_data.quality_speaker=t)!==!1&&n}return n},t.prototype.handleEvent_37=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if(n=this._NgbRadio_37_3.handleEvent(e,t)&&n,n=this._DefaultValueAccessor_37_4.handleEvent(e,t)&&n,n=this._RadioControlValueAccessor_37_5.handleEvent(e,t)&&n,"ngModelChange"==e){n=(this.parentView.context.feedback_data.quality_speaker=t)!==!1&&n}return n},t.prototype.handleEvent_47=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if(n=this._NgbRadio_47_3.handleEvent(e,t)&&n,n=this._DefaultValueAccessor_47_4.handleEvent(e,t)&&n,n=this._RadioControlValueAccessor_47_5.handleEvent(e,t)&&n,"ngModelChange"==e){n=(this.parentView.context.feedback_data.quality_speaker=t)!==!1&&n}return n},t.prototype.handleEvent_57=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if(n=this._NgbRadio_57_3.handleEvent(e,t)&&n,n=this._DefaultValueAccessor_57_4.handleEvent(e,t)&&n,n=this._RadioControlValueAccessor_57_5.handleEvent(e,t)&&n,"ngModelChange"==e){n=(this.parentView.context.feedback_data.quality_speaker=t)!==!1&&n}return n},t.prototype.handleEvent_75=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if(n=this._NgbRadio_75_3.handleEvent(e,t)&&n,n=this._DefaultValueAccessor_75_4.handleEvent(e,t)&&n,n=this._RadioControlValueAccessor_75_5.handleEvent(e,t)&&n,"ngModelChange"==e){n=(this.parentView.context.feedback_data.quality_audio=t)!==!1&&n}return n},t.prototype.handleEvent_85=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if(n=this._NgbRadio_85_3.handleEvent(e,t)&&n,n=this._DefaultValueAccessor_85_4.handleEvent(e,t)&&n,n=this._RadioControlValueAccessor_85_5.handleEvent(e,t)&&n,"ngModelChange"==e){n=(this.parentView.context.feedback_data.quality_audio=t)!==!1&&n}return n},t.prototype.handleEvent_95=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if(n=this._NgbRadio_95_3.handleEvent(e,t)&&n,n=this._DefaultValueAccessor_95_4.handleEvent(e,t)&&n,n=this._RadioControlValueAccessor_95_5.handleEvent(e,t)&&n,"ngModelChange"==e){n=(this.parentView.context.feedback_data.quality_audio=t)!==!1&&n}return n},t.prototype.handleEvent_105=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if(n=this._NgbRadio_105_3.handleEvent(e,t)&&n,n=this._DefaultValueAccessor_105_4.handleEvent(e,t)&&n,n=this._RadioControlValueAccessor_105_5.handleEvent(e,t)&&n,"ngModelChange"==e){n=(this.parentView.context.feedback_data.quality_audio=t)!==!1&&n}return n},t.prototype.handleEvent_115=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if(n=this._DefaultValueAccessor_115_3.handleEvent(e,t)&&n,"ngModelChange"==e){n=(this.parentView.context.feedback_data.comment=t)!==!1&&n}return n},t.prototype.handleEvent_122=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("click"==e){n=this.parentView.context.back()!==!1&&n}return n},t}(r.a),ae=function(e){function t(n,i,r,_,a){var l=e.call(this,t,le,h.a.EMBEDDED,n,i,r,_,o.b.CheckAlways,a)||this;return l._expr_44=T.b,l._expr_46=T.b,l._expr_47=T.b,l._expr_48=T.b,l._expr_50=T.b,l._map_51=s.pureProxy1(function(e){return{value:e}}),l._expr_53=T.b,l._expr_54=T.b,l._expr_55=T.b,l._map_56=s.pureProxy1(function(e){return{value:e}}),l._expr_58=T.b,l}return ne(t,e),t.prototype.createInternal=function(e){this._el_0=s.createRenderElement(this.renderer,null,"div",s.EMPTY_INLINE_ARRAY,null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=s.createRenderElement(this.renderer,this._el_0,"h4",s.EMPTY_INLINE_ARRAY,null),this._text_3=this.renderer.createText(this._el_2,"",null),this._text_4=this.renderer.createText(this._el_0,"\n ",null),this._el_5=s.createRenderElement(this.renderer,this._el_0,"div",new s.InlineArray4(4,"class","row","style","padding:15px;"),null),this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._el_7=s.createRenderElement(this.renderer,this._el_5,"div",new s.InlineArray2(2,"class","col-xs-6 export-button"),null),this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=s.createRenderElement(this.renderer,this._el_7,"a",s.EMPTY_INLINE_ARRAY,null),this._text_10=this.renderer.createText(this._el_9,"\n ",null),this._el_11=s.createRenderElement(this.renderer,this._el_9,"div",s.EMPTY_INLINE_ARRAY,null),this._el_12=s.createRenderElement(this.renderer,this._el_11,"span",new s.InlineArray2(2,"class","glyphicon glyphicon-floppy-save export-glyphicon"),null),this._el_13=s.createRenderElement(this.renderer,this._el_11,"br",s.EMPTY_INLINE_ARRAY,null),this._text_14=this.renderer.createText(this._el_11,"",null),this._text_15=this.renderer.createText(this._el_9,"\n ",null),this._el_16=s.createRenderElement(this.renderer,this._el_7,"br",s.EMPTY_INLINE_ARRAY,null),this._text_17=this.renderer.createText(this._el_7,"\n ",null),this._el_18=s.createRenderElement(this.renderer,this._el_7,"a",new s.InlineArray8(6,"class","export-a","href","https://clarin.phonetik.uni-muenchen.de/BASWebServices/#/services/WebMAUSBasic","target","_blank"),null),this._text_19=this.renderer.createText(this._el_18,"",null),this._text_20=this.renderer.createText(this._el_7,"\n ",null),this._text_21=this.renderer.createText(this._el_5,"\n ",null),this._el_22=s.createRenderElement(this.renderer,this._el_5,"div",new s.InlineArray2(2,"class","col-xs-6 export-button"),null),this._text_23=this.renderer.createText(this._el_22,"\n ",null),this._el_24=s.createRenderElement(this.renderer,this._el_22,"a",s.EMPTY_INLINE_ARRAY,null),this._text_25=this.renderer.createText(this._el_24,"\n ",null),this._el_26=s.createRenderElement(this.renderer,this._el_24,"div",s.EMPTY_INLINE_ARRAY,null),this._el_27=s.createRenderElement(this.renderer,this._el_26,"span",new s.InlineArray2(2,"class","glyphicon glyphicon-floppy-save export-glyphicon"),null),this._el_28=s.createRenderElement(this.renderer,this._el_26,"br",s.EMPTY_INLINE_ARRAY,null),this._text_29=this.renderer.createText(this._el_26,"annotJSON\n ",null),this._text_30=this.renderer.createText(this._el_24,"\n ",null),this._el_31=s.createRenderElement(this.renderer,this._el_22,"br",s.EMPTY_INLINE_ARRAY,null),this._text_32=this.renderer.createText(this._el_22,"\n ",null),this._el_33=s.createRenderElement(this.renderer,this._el_22,"a",new s.InlineArray8(6,"class","export-a","href","http://ips-lmu.github.io/EMU-webApp/","target","_blank"),null),this._text_34=this.renderer.createText(this._el_33,"",null),this._text_35=this.renderer.createText(this._el_22,"\n ",null),this._text_36=this.renderer.createText(this._el_5,"\n ",null),this._text_37=this.renderer.createText(this._el_0,"\n ",null),this._el_38=s.createRenderElement(this.renderer,this._el_0,"button",new s.InlineArray8(6,"class","btn btn-raised","style","position:relative;width:100%;margin-top:40px;","type","button"),null),this._el_39=s.createRenderElement(this.renderer,this._el_38,"span",new s.InlineArray4(4,"aria-hidden","true","class","glyphicon glyphicon-menu-left"),null),this._el_40=s.createRenderElement(this.renderer,this._el_38,"span",s.EMPTY_INLINE_ARRAY,null),this._text_41=this.renderer.createText(this._el_40,"",null),this._text_42=this.renderer.createText(this._el_38,"\n ",null),this._text_43=this.renderer.createText(this._el_0,"\n ",null),this._pipe_translate_0=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.parentView.ref),this._pipe_translate_1=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.parentView.ref),this._pipe_translate_2=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.parentView.ref),this._pipe_translate_3=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.parentView.ref);var t=s.subscribeToRenderElement(this,this._el_38,new s.InlineArray2(2,"click",null),this.eventHandler(this.handleEvent_38));return this._pipe_translate_4=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.parentView.ref),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._el_11,this._el_12,this._el_13,this._text_14,this._text_15,this._el_16,this._text_17,this._el_18,this._text_19,this._text_20,this._text_21,this._el_22,this._text_23,this._el_24,this._text_25,this._el_26,this._el_27,this._el_28,this._text_29,this._text_30,this._el_31,this._text_32,this._el_33,this._text_34,this._text_35,this._text_36,this._text_37,this._el_38,this._el_39,this._el_40,this._text_41,this._text_42,this._text_43],[t]),null},t.prototype.detectChangesInternal=function(e){var t=new T.c;t.reset();var n=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_0.transform("general.export data")),"");(t.hasWrappedValue||s.checkBinding(e,this._expr_44,n))&&(this.renderer.setText(this._text_3,n),this._expr_44=n);var i=s.inlineInterpolate(1,"",this.parentView.context.transcrService.filename,".txt");s.checkBinding(e,this._expr_46,i)&&(this.renderer.setElementProperty(this._el_9,"download",i),this._expr_46=i);var r=this.parentView.context.sanitize(this.parentView.context.getURI("text"));s.checkBinding(e,this._expr_47,r)&&(this.renderer.setElementProperty(this._el_9,"href",this.viewUtils.sanitizer.sanitize(H.b.URL,r)),this._expr_47=r),t.reset();var _=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_1.transform("general.text file")),"\n ");(t.hasWrappedValue||s.checkBinding(e,this._expr_48,_))&&(this.renderer.setText(this._text_14,_),this._expr_48=_),t.reset();var h=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_2.transform("general.open",this._map_51("WebMAUS"))),"");(t.hasWrappedValue||s.checkBinding(e,this._expr_50,h))&&(this.renderer.setText(this._text_19,h),this._expr_50=h);var o=s.inlineInterpolate(1,"",this.parentView.context.transcrService.filename,"_annot.json");s.checkBinding(e,this._expr_53,o)&&(this.renderer.setElementProperty(this._el_24,"download",o),this._expr_53=o);var a=this.parentView.context.sanitize(this.parentView.context.getURI("annotJSON"));s.checkBinding(e,this._expr_54,a)&&(this.renderer.setElementProperty(this._el_24,"href",this.viewUtils.sanitizer.sanitize(H.b.URL,a)),this._expr_54=a),t.reset();var l=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_3.transform("general.open",this._map_56("EMU-Webapp"))),"");(t.hasWrappedValue||s.checkBinding(e,this._expr_55,l))&&(this.renderer.setText(this._text_34,l),this._expr_55=l),t.reset();var c=s.inlineInterpolate(1," ",t.unwrap(this._pipe_translate_4.transform("general.back")),"");(t.hasWrappedValue||s.checkBinding(e,this._expr_58,c))&&(this.renderer.setText(this._text_41,c),this._expr_58=c)},t.prototype.destroyInternal=function(){this._pipe_translate_0.ngOnDestroy(),this._pipe_translate_1.ngOnDestroy(),this._pipe_translate_2.ngOnDestroy(),this._pipe_translate_3.ngOnDestroy(),this._pipe_translate_4.ngOnDestroy()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t.prototype.handleEvent_38=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("click"==e){n=this.parentView.context.back()!==!1&&n}return n},t}(r.a),le=s.createRenderComponentType("",0,_.b.Emulated,he,{}),ce=function(e){function t(n,i,r,s){var _=e.call(this,t,le,h.a.COMPONENT,n,i,r,s,o.b.CheckOnce)||this;return _._expr_99=T.b,_._expr_101=T.b,_._expr_103=T.b,_._expr_105=T.b,_._expr_107=T.b,_._expr_109=T.b,_._expr_111=T.b,_._expr_112=T.b,_._expr_114=T.b,_._expr_116=T.b,_._expr_118=T.b,_._expr_120=T.b,_._expr_122=T.b,_}return ne(t,e),t.prototype.createInternal=function(e){var t=this.renderer.createViewRoot(this.parentElement);this._viewQuery_modal_0=new B.a,this._viewQuery_modal2_1=new B.a,this._el_0=s.createRenderElement(this.renderer,t,"modal",new s.InlineArray8(6,"class","modal","role","dialog","tabindex","-1"),null),this.compView_0=new U.a(this.viewUtils,this,0,this._el_0),this._ModalComponent_0_3=new U.b(new E.a(this._el_0)),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=s.createRenderElement(this.renderer,null,"modal-header",s.EMPTY_INLINE_ARRAY,null),this.compView_2=new F.a(this.viewUtils,this,2,this._el_2),this._ModalHeaderComponent_2_3=new F.b(this._ModalComponent_0_3.context),this._text_3=this.renderer.createText(null,"\n ",null),this._el_4=s.createRenderElement(this.renderer,null,"h4",new s.InlineArray2(2,"class","modal-title"),null),this._text_5=this.renderer.createText(this._el_4,"",null),this._text_6=this.renderer.createText(null,"\n ",null),this.compView_2.create(this._ModalHeaderComponent_2_3.context),this._text_7=this.renderer.createText(null,"\n ",null),this._el_8=s.createRenderElement(this.renderer,null,"modal-body",s.EMPTY_INLINE_ARRAY,null),this.compView_8=new q.a(this.viewUtils,this,8,this._el_8),this._ModalBodyComponent_8_3=new q.b,this._text_9=this.renderer.createText(null,"",null),this.compView_8.create(this._ModalBodyComponent_8_3.context),this._text_10=this.renderer.createText(null,"\n ",null),this._el_11=s.createRenderElement(this.renderer,null,"modal-footer",s.EMPTY_INLINE_ARRAY,null),this.compView_11=new K.a(this.viewUtils,this,11,this._el_11),this._ModalFooterComponent_11_3=new K.b(this._ModalComponent_0_3.context),this._text_12=this.renderer.createText(null,"\n ",null),this._el_13=s.createRenderElement(this.renderer,null,"button",new s.InlineArray4(4,"class","btn btn-primary","type","button"),null),this._text_14=this.renderer.createText(this._el_13,"",null),this._text_15=this.renderer.createText(null,"\n ",null),this._el_16=s.createRenderElement(this.renderer,null,"button",new s.InlineArray4(4,"class","btn btn-default","type","button"),null),this._text_17=this.renderer.createText(this._el_16,"",null),this._text_18=this.renderer.createText(null,"\n ",null),this.compView_11.create(this._ModalFooterComponent_11_3.context),this._text_19=this.renderer.createText(null,"\n",null),this.compView_0.create(this._ModalComponent_0_3.context),this._text_20=this.renderer.createText(t,"\n\n",null),this._el_21=s.createRenderElement(this.renderer,t,"modal",new s.InlineArray8(6,"class","modal","role","dialog","tabindex","-1"),null),this.compView_21=new U.a(this.viewUtils,this,21,this._el_21),this._ModalComponent_21_3=new U.b(new E.a(this._el_21)),this._text_22=this.renderer.createText(null,"\n ",null),this._el_23=s.createRenderElement(this.renderer,null,"modal-header",s.EMPTY_INLINE_ARRAY,null),this.compView_23=new F.a(this.viewUtils,this,23,this._el_23),this._ModalHeaderComponent_23_3=new F.b(this._ModalComponent_21_3.context),this._text_24=this.renderer.createText(null,"\n ",null),this._el_25=s.createRenderElement(this.renderer,null,"h4",new s.InlineArray2(2,"class","modal-title"),null),this._text_26=this.renderer.createText(this._el_25,"",null),this._text_27=this.renderer.createText(null,"\n ",null),this.compView_23.create(this._ModalHeaderComponent_23_3.context),this._text_28=this.renderer.createText(null,"\n ",null),this._el_29=s.createRenderElement(this.renderer,null,"modal-body",s.EMPTY_INLINE_ARRAY,null),this.compView_29=new q.a(this.viewUtils,this,29,this._el_29),this._ModalBodyComponent_29_3=new q.b,this._text_30=this.renderer.createText(null,"",null),this._el_31=s.createRenderElement(this.renderer,null,"br",s.EMPTY_INLINE_ARRAY,null),this._el_32=s.createRenderElement(this.renderer,null,"br",s.EMPTY_INLINE_ARRAY,null),this._text_33=this.renderer.createText(null,"\n ",null),this._el_34=s.createRenderElement(this.renderer,null,"div",new s.InlineArray2(2,"style","color:red"),null),this._text_35=this.renderer.createText(this._el_34,"",null),this._text_36=this.renderer.createText(null,"\n ",null),this.compView_29.create(this._ModalBodyComponent_29_3.context),this._text_37=this.renderer.createText(null,"\n",null),this.compView_21.create(this._ModalComponent_21_3.context),this._text_38=this.renderer.createText(t,"\n\n",null),this._el_39=s.createRenderElement(this.renderer,t,"div",new s.InlineArray4(4,"class","panel panel-default","id","transcr-submit"),null),this._text_40=this.renderer.createText(this._el_39,"\n ",null),this._el_41=s.createRenderElement(this.renderer,this._el_39,"h3",s.EMPTY_INLINE_ARRAY,null),this._text_42=this.renderer.createText(this._el_41,"",null),this._text_43=this.renderer.createText(this._el_39,"\n ",null),this._el_44=s.createRenderElement(this.renderer,this._el_39,"br",s.EMPTY_INLINE_ARRAY,null),this._text_45=this.renderer.createText(this._el_39,"\n ",null),this._el_46=s.createRenderElement(this.renderer,this._el_39,"p",s.EMPTY_INLINE_ARRAY,null),this._text_47=this.renderer.createText(this._el_46,"",null),this._text_48=this.renderer.createText(this._el_39,"\n ",null),this._el_49=s.createRenderElement(this.renderer,this._el_39,"ul",s.EMPTY_INLINE_ARRAY,null),this._text_50=this.renderer.createText(this._el_49,"\n ",null),this._el_51=s.createRenderElement(this.renderer,this._el_49,"li",s.EMPTY_INLINE_ARRAY,null),this._text_52=this.renderer.createText(this._el_51,"",null),this._text_53=this.renderer.createText(this._el_49,"\n ",null),this._el_54=s.createRenderElement(this.renderer,this._el_49,"li",s.EMPTY_INLINE_ARRAY,null),this._text_55=this.renderer.createText(this._el_54,"",null),this._text_56=this.renderer.createText(this._el_49,"\n ",null),this._el_57=s.createRenderElement(this.renderer,this._el_49,"li",s.EMPTY_INLINE_ARRAY,null),this._text_58=this.renderer.createText(this._el_57,"",null),this._text_59=this.renderer.createText(this._el_49,"\n ",null),this._text_60=this.renderer.createText(this._el_39,"\n\n ",null),this._el_61=s.createRenderElement(this.renderer,this._el_39,"br",s.EMPTY_INLINE_ARRAY,null),this._text_62=this.renderer.createText(this._el_39,"\n ",null),this._el_63=s.createRenderElement(this.renderer,this._el_39,"p",s.EMPTY_INLINE_ARRAY,null),this._text_64=this.renderer.createText(this._el_63,"",null),this._text_65=this.renderer.createText(this._el_39,"\n ",null),this._el_66=s.createRenderElement(this.renderer,this._el_39,"app-transcr-overview",s.EMPTY_INLINE_ARRAY,null),this.compView_66=new J.a(this.viewUtils,this,66,this._el_66),this._TranscrOverviewComponent_66_3=new J.b(this.parentView.injectorGet(u.a,this.parentIndex),this.parentView.injectorGet($.a,this.parentIndex),this.parentView.injectorGet(d.b,this.parentIndex),this.compView_66.ref),this.compView_66.create(this._TranscrOverviewComponent_66_3.context),this._text_67=this.renderer.createText(this._el_39,"\n ",null),this._el_68=s.createRenderElement(this.renderer,this._el_39,"br",s.EMPTY_INLINE_ARRAY,null),this._el_69=s.createRenderElement(this.renderer,this._el_39,"br",s.EMPTY_INLINE_ARRAY,null),this._text_70=this.renderer.createText(this._el_39,"\n ",null),this._anchor_71=this.renderer.createTemplateAnchor(this._el_39,null),this._vc_71=new k.a(71,39,this,this._anchor_71),this._TemplateRef_71_5=new ee.a(this,71,this._anchor_71),this._NgIf_71_6=new Z.a(this._vc_71.vcRef,this._TemplateRef_71_5),this._text_72=this.renderer.createText(this._el_39,"\n ",null),this._anchor_73=this.renderer.createTemplateAnchor(this._el_39,null),this._vc_73=new k.a(73,39,this,this._anchor_73),this._TemplateRef_73_5=new ee.a(this,73,this._anchor_73),this._NgIf_73_6=new Z.a(this._vc_73.vcRef,this._TemplateRef_73_5),this._text_74=this.renderer.createText(this._el_39,"\n",null),this._pipe_translate_0=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.ref),this._pipe_translate_1=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.ref);var n=s.subscribeToRenderElement(this,this._el_13,new s.InlineArray2(2,"click",null),this.eventHandler(this.handleEvent_13));this._pipe_translate_2=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.ref);var i=s.subscribeToRenderElement(this,this._el_16,new s.InlineArray2(2,"click",null),this.eventHandler(this.handleEvent_16));return this._pipe_translate_3=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.ref),this._pipe_translate_4=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.ref),this._pipe_translate_5=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.ref),this._pipe_translate_6=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.ref),this._pipe_translate_7=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.ref),this._pipe_translate_8=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.ref),this._pipe_translate_9=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.ref),this._pipe_translate_10=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.ref),this._pipe_translate_11=new I.a(this.parentView.injectorGet(A.a,this.parentIndex),this.ref),this._viewQuery_modal_0.reset([this._ModalComponent_0_3.context]),this.context.modal=this._viewQuery_modal_0.first,this._viewQuery_modal2_1.reset([this._ModalComponent_21_3.context]),this.context.modal2=this._viewQuery_modal2_1.first,this.init(null,this.renderer.directRenderer?null:[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._text_7,this._el_8,this._text_9,this._text_10,this._el_11,this._text_12,this._el_13,this._text_14,this._text_15,this._el_16,this._text_17,this._text_18,this._text_19,this._text_20,this._el_21,this._text_22,this._el_23,this._text_24,this._el_25,this._text_26,this._text_27,this._text_28,this._el_29,this._text_30,this._el_31,this._el_32,this._text_33,this._el_34,this._text_35,this._text_36,this._text_37,this._text_38,this._el_39,this._text_40,this._el_41,this._text_42,this._text_43,this._el_44,this._text_45,this._el_46,this._text_47,this._text_48,this._el_49,this._text_50,this._el_51,this._text_52,this._text_53,this._el_54,this._text_55,this._text_56,this._el_57,this._text_58,this._text_59,this._text_60,this._el_61,this._text_62,this._el_63,this._text_64,this._text_65,this._el_66,this._text_67,this._el_68,this._el_69,this._text_70,this._anchor_71,this._text_72,this._anchor_73,this._text_74],[n,i]),null},t.prototype.injectorGetInternal=function(e,t,n){return e===W.ModalHeaderComponent&&2<=t&&t<=6?this._ModalHeaderComponent_2_3.context:e===z.ModalBodyComponent&&8<=t&&t<=9?this._ModalBodyComponent_8_3.context:e===Q.ModalFooterComponent&&11<=t&&t<=18?this._ModalFooterComponent_11_3.context:e===Y.ModalComponent&&0<=t&&t<=19?this._ModalComponent_0_3.context:e===W.ModalHeaderComponent&&23<=t&&t<=27?this._ModalHeaderComponent_23_3.context:e===z.ModalBodyComponent&&29<=t&&t<=36?this._ModalBodyComponent_29_3.context:e===Y.ModalComponent&&21<=t&&t<=37?this._ModalComponent_21_3.context:e===X.a&&66===t?this._TranscrOverviewComponent_66_3.context:e===ee.b&&71===t?this._TemplateRef_71_5:e===te.a&&71===t?this._NgIf_71_6.context:e===ee.b&&73===t?this._TemplateRef_73_5:e===te.a&&73===t?this._NgIf_73_6.context:n},t.prototype.detectChangesInternal=function(e){var t=new T.c;this._ModalComponent_0_3.ngDoCheck(this,this._el_0,e),this._ModalHeaderComponent_2_3.ngDoCheck(this,this._el_2,e),this._ModalBodyComponent_8_3.ngDoCheck(this,this._el_8,e),this._ModalFooterComponent_11_3.ngDoCheck(this,this._el_11,e),this._ModalComponent_21_3.ngDoCheck(this,this._el_21,e),this._ModalHeaderComponent_23_3.ngDoCheck(this,this._el_23,e),this._ModalBodyComponent_29_3.ngDoCheck(this,this._el_29,e),this._TranscrOverviewComponent_66_3.ngDoCheck(this,this._el_66,e)&&this.compView_66.markAsCheckOnce();var n=!this.context.sessService.offline;this._NgIf_71_6.check_ngIf(n,e,!1),this._NgIf_71_6.ngDoCheck(this,this._anchor_71,e);var i=this.context.sessService.offline;this._NgIf_73_6.check_ngIf(i,e,!1),this._NgIf_73_6.ngDoCheck(this,this._anchor_73,e),this._vc_71.detectChangesInNestedViews(e),this._vc_73.detectChangesInNestedViews(e),this._ModalComponent_0_3.checkHost(this,this.compView_0,this._el_0,e),t.reset();var r=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_0.transform("modal.transcription.send.header")),"");(t.hasWrappedValue||s.checkBinding(e,this._expr_99,r))&&(this.renderer.setText(this._text_5,r),this._expr_99=r),t.reset();var _=s.inlineInterpolate(1,"\n ",t.unwrap(this._pipe_translate_1.transform("modal.transcription.send.text")),"\n ");(t.hasWrappedValue||s.checkBinding(e,this._expr_101,_))&&(this.renderer.setText(this._text_9,_),this._expr_101=_),t.reset();var h=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_2.transform("general.abort")),"");(t.hasWrappedValue||s.checkBinding(e,this._expr_103,h))&&(this.renderer.setText(this._text_14,h),this._expr_103=h),t.reset();var o=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_3.transform("general.send now")),"");(t.hasWrappedValue||s.checkBinding(e,this._expr_105,o))&&(this.renderer.setText(this._text_17,o),this._expr_105=o),this._ModalComponent_21_3.checkHost(this,this.compView_21,this._el_21,e),t.reset();var a=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_4.transform("modal.transcription.sending.header")),"");(t.hasWrappedValue||s.checkBinding(e,this._expr_107,a))&&(this.renderer.setText(this._text_26,a),this._expr_107=a),t.reset();var l=s.inlineInterpolate(1,"\n ",t.unwrap(this._pipe_translate_5.transform("modal.transcription.sending.text")),"");(t.hasWrappedValue||s.checkBinding(e,this._expr_109,l))&&(this.renderer.setText(this._text_30,l),this._expr_109=l);var c=s.inlineInterpolate(1,"",this.context.send_error,"");s.checkBinding(e,this._expr_111,c)&&(this.renderer.setText(this._text_35,c),this._expr_111=c),t.reset();var u=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_6.transform("general.check transcription")),"");(t.hasWrappedValue||s.checkBinding(e,this._expr_112,u))&&(this.renderer.setText(this._text_42,u),this._expr_112=u),t.reset();var p=s.inlineInterpolate(1,"\n ",t.unwrap(this._pipe_translate_7.transform("transcription-submit.finish transcription")),"\n ");(t.hasWrappedValue||s.checkBinding(e,this._expr_114,p))&&(this.renderer.setText(this._text_47,p),this._expr_114=p),t.reset();var d=s.inlineInterpolate(1,"\n ",t.unwrap(this._pipe_translate_8.transform("transcription-submit.boundaries")),"\n ");(t.hasWrappedValue||s.checkBinding(e,this._expr_116,d))&&(this.renderer.setText(this._text_52,d),this._expr_116=d),t.reset();var g=s.inlineInterpolate(1,"\n ",t.unwrap(this._pipe_translate_9.transform("transcription-submit.breaks")),"\n ");(t.hasWrappedValue||s.checkBinding(e,this._expr_118,g))&&(this.renderer.setText(this._text_55,g),this._expr_118=g),t.reset();var f=s.inlineInterpolate(1,"\n ",t.unwrap(this._pipe_translate_10.transform("transcription-submit.markers")),"\n ");(t.hasWrappedValue||s.checkBinding(e,this._expr_120,f))&&(this.renderer.setText(this._text_58,f),this._expr_120=f),t.reset();var x=s.inlineInterpolate(1,"\n ",t.unwrap(this._pipe_translate_11.transform("transcription-submit.overview")),"\n ");(t.hasWrappedValue||s.checkBinding(e,this._expr_122,x))&&(this.renderer.setText(this._text_64,x),this._expr_122=x),this.compView_0.internalDetectChanges(e),this.compView_2.internalDetectChanges(e),this.compView_8.internalDetectChanges(e),this.compView_11.internalDetectChanges(e),this.compView_21.internalDetectChanges(e),this.compView_23.internalDetectChanges(e),this.compView_29.internalDetectChanges(e),this.compView_66.internalDetectChanges(e)},t.prototype.destroyInternal=function(){this._vc_71.destroyNestedViews(),this._vc_73.destroyNestedViews(),this.compView_0.destroy(),this.compView_2.destroy(),this.compView_8.destroy(),this.compView_11.destroy(),this.compView_21.destroy(),this.compView_23.destroy(),this.compView_29.destroy(),this.compView_66.destroy(),this._ModalComponent_0_3.ngOnDestroy(),this._ModalComponent_21_3.ngOnDestroy(),this._TranscrOverviewComponent_66_3.ngOnDestroy(),this._pipe_translate_0.ngOnDestroy(),this._pipe_translate_1.ngOnDestroy(),this._pipe_translate_2.ngOnDestroy(),this._pipe_translate_3.ngOnDestroy(),this._pipe_translate_4.ngOnDestroy(),this._pipe_translate_5.ngOnDestroy(),this._pipe_translate_6.ngOnDestroy(),this._pipe_translate_7.ngOnDestroy(),this._pipe_translate_8.ngOnDestroy(),this._pipe_translate_9.ngOnDestroy(),this._pipe_translate_10.ngOnDestroy(),this._pipe_translate_11.ngOnDestroy()},t.prototype.visitProjectableNodesInternal=function(e,t,n,i){0==e&&0==t&&(n(this._text_1,i),n(this._el_2,i),n(this._text_7,i),n(this._el_8,i),n(this._text_10,i),n(this._el_11,i),n(this._text_19,i)),2==e&&0==t&&(n(this._text_3,i),n(this._el_4,i),n(this._text_6,i)),8==e&&0==t&&n(this._text_9,i),11==e&&0==t&&(n(this._text_12,i),n(this._el_13,i),n(this._text_15,i),n(this._el_16,i),n(this._text_18,i)),21==e&&0==t&&(n(this._text_22,i),n(this._el_23,i),n(this._text_28,i),n(this._el_29,i),n(this._text_37,i)),23==e&&0==t&&(n(this._text_24,i),n(this._el_25,i),n(this._text_27,i)),29==e&&0==t&&(n(this._text_30,i),n(this._el_31,i),n(this._el_32,i),n(this._text_33,i),n(this._el_34,i),n(this._text_36,i))},t.prototype.createEmbeddedViewInternal=function(e){return 71==e?new oe(this.viewUtils,this,71,this._anchor_71,this._vc_71):73==e?new ae(this.viewUtils,this,73,this._anchor_73,this._vc_73):null},t.prototype.handleEvent_13=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("click"==e){n=this._ModalComponent_0_3.context.dismiss()!==!1&&n}return n},t.prototype.handleEvent_16=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("click"==e){n=this.context.onSendNowClick()!==!1&&n}return n},t}(r.a)},"9nSx":function(e,t,n){"use strict";var i=n("XFUk"),r=n("bgHk"),s=n("R2h3"),_=n("qs5H"),h=n("TTjD"),o=n("jzTW"),a=n("gWLF"),l=n("vU4g"),c=n("P/ZJ"),u=n("qbqm"),p=n("dJaa");n.d(t,"b",function(){return g}),n.d(t,"a",function(){return v});var d=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),g=function(){function e(){this._changed=!1,this.context=new i.a,this._expr_0=r.b}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){this.subscription0&&this.subscription0.unsubscribe()},e.prototype.check_innerhtml=function(e,t,n){(n||_.checkBinding(t,this._expr_0,e))&&(this._changed=!0,this.context.innerhtml=e,this._expr_0=e)},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,n||0===e.numberOfChecks&&this.context.ngOnInit(),i},e.prototype.checkHost=function(e,t,n,i){},e.prototype.handleEvent=function(e,t){return!0},e.prototype.subscribe=function(e,t,n){this._eventHandler=t,n&&(this.subscription0=this.context.afterdrop.subscribe(t.bind(e,"afterdrop")))},e}(),f=_.createRenderComponentType("",0,h.b.None,[],{}),x=function(e){function t(n,i,r,s){return e.call(this,t,f,o.a.HOST,n,i,r,s,a.b.CheckAlways)||this}return d(t,e),t.prototype.createInternal=function(e){return this._el_0=_.selectOrCreateRenderHostElement(this.renderer,"app-drop-zone",_.EMPTY_INLINE_ARRAY,e,null),this.compView_0=new v(this.viewUtils,this,0,this._el_0),this._DropZoneComponent_0_3=new g,this.compView_0.create(this._DropZoneComponent_0_3.context),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0],null),new l.a(0,this,this._el_0,this._DropZoneComponent_0_3.context)},t.prototype.injectorGetInternal=function(e,t,n){return e===i.a&&0===t?this._DropZoneComponent_0_3.context:n},t.prototype.detectChangesInternal=function(e){this._DropZoneComponent_0_3.ngDoCheck(this,this._el_0,e),this.compView_0.internalDetectChanges(e)},t.prototype.destroyInternal=function(){this.compView_0.destroy(),this._DropZoneComponent_0_3.ngOnDestroy()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t.prototype.visitProjectableNodesInternal=function(e,t,n,i){},t}(s.a),m=(new l.b("app-drop-zone",x,i.a),[c.a]),y=_.createRenderComponentType("",1,h.b.Emulated,m,{}),v=function(e){function t(n,i,r,s){return e.call(this,t,y,o.a.COMPONENT,n,i,r,s,a.b.CheckAlways)||this}return d(t,e),t.prototype.createInternal=function(e){var t=this.renderer.createViewRoot(this.parentElement);this._viewQuery_fileinput_0=new u.a,this._el_0=_.createRenderElement(this.renderer,t,"div",new _.InlineArray2(2,"class","dropzone"),null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this.projectNodes(this._el_0,0),this._el_2=_.createRenderElement(this.renderer,this._el_0,"br",_.EMPTY_INLINE_ARRAY,null),this._text_3=this.renderer.createText(this._el_0,"\n ",null),this._el_4=_.createRenderElement(this.renderer,this._el_0,"span",new _.InlineArray2(2,"class","glyphicon glyphicon-folder-open dragndrop"),null),this._text_5=this.renderer.createText(this._el_0,"\n",null),this._text_6=this.renderer.createText(t,"\n",null),this._el_7=_.createRenderElement(this.renderer,t,"input",new _.InlineArray8(8,"class","fileinput","style","display:none;","type","file","value","Select audio file"),null);var n=_.subscribeToRenderElement(this,this._el_0,new _.InlineArray8(6,"dragover",null,"drop",null,"click",null),this.eventHandler(this.handleEvent_0)),i=_.subscribeToRenderElement(this,this._el_7,new _.InlineArray2(2,"change",null),this.eventHandler(this.handleEvent_7));return this._viewQuery_fileinput_0.reset([new p.a(this._el_7)]),this.context.fileinput=this._viewQuery_fileinput_0.first,this.init(null,this.renderer.directRenderer?null:[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7],[n,i]),null},t.prototype.handleEvent_0=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("dragover"==e){n=this.context.onDragOver(t)!==!1&&n}if("drop"==e){n=this.context.onFileDrop(t)!==!1&&n}if("click"==e){n=this.context.onClick(this.context.Event)!==!1&&n}return n},t.prototype.handleEvent_7=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("change"==e){n=this.context.onFileChange(t)!==!1&&n}return n},t}(s.a)},"9o9e":function(e,t,n){"use strict";var i=n("zKH5"),r=n("SzqK");n.d(t,"a",function(){return s});var s=function(){function e(e,t){this.sessService=e,this.router=t}return e.prototype.canActivate=function(e,t){if(1!=this.sessService.LoggedIn)return this.router.navigate(["/login"]),!1;if(1==this.sessService.offline){if(null==this.sessService.file)return this.router.navigate(["/user/transcr/reload-file"]),!1}else if(this.sessService.submitted)return this.router.navigate(["/user/transcr/submitted"]),!1;return!0},e.ctorParameters=function(){return[{type:r.a},{type:i.a}]},e}()},AG9Q:function(e,t,n){"use strict";var i=n("Zx1A"),r=n("R2h3"),s=n("qs5H"),_=n("TTjD"),h=n("7cqO"),o=n("jzTW"),a=n("gWLF"),l=n("vU4g"),c=n("SzqK"),u=n("fjGX"),p=n("Bk97"),d=n("685D"),g=n("bgHk"),f=n("3UAB"),x=n("LVOp"),m=n("Tb/U"),y=n("WtPQ"),v=n("0KK1");n.d(t,"a",function(){return k});var w=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),b=function(){function e(e){this._changed=!1,this.context=new i.a(e)}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,n||0===e.numberOfChecks&&this.context.ngOnInit(),i},e.prototype.checkHost=function(e,t,n,i){},e.prototype.handleEvent=function(e,t){return!0},e.prototype.subscribe=function(e,t){this._eventHandler=t},e}(),C=s.createRenderComponentType("",0,_.b.None,[],{}),I=function(e){function t(n,i,r,s){return e.call(this,t,C,o.a.HOST,n,i,r,s,a.b.CheckAlways)||this}return w(t,e),t.prototype.createInternal=function(e){return this._el_0=s.selectOrCreateRenderHostElement(this.renderer,"app-login",s.EMPTY_INLINE_ARRAY,e,null),this.compView_0=new E(this.viewUtils,this,0,this._el_0),this._LogoutService_0_3=new h.a(this.injectorGet(c.a,this.parentIndex)),this._LogoutComponent_0_4=new b(this._LogoutService_0_3),this.compView_0.create(this._LogoutComponent_0_4.context),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0],null),new l.a(0,this,this._el_0,this._LogoutComponent_0_4.context)},t.prototype.injectorGetInternal=function(e,t,n){return e===h.a&&0===t?this._LogoutService_0_3:e===i.a&&0===t?this._LogoutComponent_0_4.context:n},t.prototype.detectChangesInternal=function(e){this._LogoutComponent_0_4.ngDoCheck(this,this._el_0,e),this.compView_0.internalDetectChanges(e)},t.prototype.destroyInternal=function(){this.compView_0.destroy()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t}(r.a),k=new l.b("app-login",I,i.a),T=[u.a],R=s.createRenderComponentType("",0,_.b.Emulated,T,{}),E=function(e){function t(n,i,r,_){var h=e.call(this,t,R,o.a.COMPONENT,n,i,r,_,a.b.CheckAlways)||this;return h._expr_15=g.b,h._expr_17=g.b,h._arr_19=s.pureProxy1(function(e){return[e]}),h._expr_20=g.b,h}return w(t,e),t.prototype.createInternal=function(e){var t=this.renderer.createViewRoot(this.parentElement);this._el_0=s.createRenderElement(this.renderer,t,"div",new s.InlineArray2(2,"class","section"),null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=s.createRenderElement(this.renderer,this._el_0,"div",new s.InlineArray2(2,"id","logout"),null),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=s.createRenderElement(this.renderer,this._el_2,"h3",s.EMPTY_INLINE_ARRAY,null),this._text_5=this.renderer.createText(this._el_4,"",null),this._text_6=this.renderer.createText(this._el_2,"\n ",null),this._el_7=s.createRenderElement(this.renderer,this._el_2,"p",s.EMPTY_INLINE_ARRAY,null),this._text_8=this.renderer.createText(this._el_7,"",null),this._el_9=s.createRenderElement(this.renderer,this._el_7,"a",s.EMPTY_INLINE_ARRAY,null),this._RouterLinkWithHref_9_3=new p.a(this.parentView.injectorGet(f.a,this.parentIndex),this.parentView.injectorGet(x.a,this.parentIndex),this.parentView.injectorGet(m.a,this.parentIndex)),this._text_10=this.renderer.createText(this._el_9,"",null),this._text_11=this.renderer.createText(this._el_7,"\n ",null),this._text_12=this.renderer.createText(this._el_2,"\n ",null),this._text_13=this.renderer.createText(this._el_0,"\n",null),this._pipe_translate_0=new d.a(this.parentView.injectorGet(y.a,this.parentIndex),this.ref),this._pipe_translate_1=new d.a(this.parentView.injectorGet(y.a,this.parentIndex),this.ref);var n=s.subscribeToRenderElement(this,this._el_9,new s.InlineArray2(2,"click",null),this.eventHandler(this.handleEvent_9));return this._pipe_translate_2=new d.a(this.parentView.injectorGet(y.a,this.parentIndex),this.ref),this.init(null,this.renderer.directRenderer?null:[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._text_11,this._text_12,this._text_13],[n]),null},t.prototype.injectorGetInternal=function(e,t,n){return e===v.b&&9<=t&&t<=10?this._RouterLinkWithHref_9_3.context:n},t.prototype.detectChangesInternal=function(e){var t=new g.c,n=this._arr_19("/login");this._RouterLinkWithHref_9_3.check_routerLink(n,e,!1),this._RouterLinkWithHref_9_3.ngDoCheck(this,this._el_9,e),t.reset();var i=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_0.transform("general.logout successful")),"");(t.hasWrappedValue||s.checkBinding(e,this._expr_15,i))&&(this.renderer.setText(this._text_5,i),this._expr_15=i),t.reset();var r=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_1.transform("logout.successful text")),"\n ");(t.hasWrappedValue||s.checkBinding(e,this._expr_17,r))&&(this.renderer.setText(this._text_8,r),this._expr_17=r),this._RouterLinkWithHref_9_3.checkHost(this,this,this._el_9,e),t.reset();var _=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_2.transform("logout.login again")),"");(t.hasWrappedValue||s.checkBinding(e,this._expr_20,_))&&(this.renderer.setText(this._text_10,_),this._expr_20=_)},t.prototype.destroyInternal=function(){this._RouterLinkWithHref_9_3.ngOnDestroy(),this._pipe_translate_0.ngOnDestroy(),this._pipe_translate_1.ngOnDestroy(),this._pipe_translate_2.ngOnDestroy()},t.prototype.handleEvent_9=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;return n=this._RouterLinkWithHref_9_3.handleEvent(e,t)&&n},t}(r.a)},AGbc:function(e,t,n){"use strict";var i=n("Rw+2"),r=n("Gvdl"),s=(n.n(r),n("2Lmt")),_=n("u9IK"),h=n("+o7G");n.d(t,"a",function(){return o});var o=function(){function e(e,t,n,r){var _=this;this.audio=e,this.ap=t,this.changeDetectorRef=n,this.keyMap=r,this.shortcuttriggered=new i.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.focused=!1,this.update=function(){_.updateCanvasSizes(),_.audio.channel&&_.draw(),_.oldInnerWidth=_.innerWidth},this.draw=function(){var e=this.ap.Line;if(!e)throw"Line Object not found";this.clearDisplay(),this.drawLine(),this.drawPlayCursorOnly(e)},this.onKeyDown=function(e){if(_.settings.shortcuts_enabled){var t=e.comboKey,n=s.c.platform;if(_.settings.shortcuts){var i=!1;for(var r in _.settings.shortcuts){if((0==_.settings.shortcuts[""+r].focusonly||_.settings.shortcuts[""+r].focusonly==_.focused==1)&&_.settings.shortcuts[""+r].keys[""+n]===t)switch(r){case"play_pause":_.shortcuttriggered.emit({shortcut:t,value:r}),_.audio.audioplaying?_.pausePlayback():_.startPlayback(),i=!0;break;case"stop":_.shortcuttriggered.emit({shortcut:t,value:r}),_.stopPlayback(),i=!0;break;case"step_backward":_.shortcuttriggered.emit({shortcut:t,value:r}),_.stepBackward(),i=!0}if(i)break}i&&e.event.preventDefault()}}},this.drawPlayCursor=function(){var e=(new Date).getTime(),t=_.ap.audioTCalculator.samplestoAbsX(_.ap.current.samples),n=0,i=0;_.audio.endplaying>e&&_.audio.audioplaying&&(n=Math.min((_.ap.playduration.unix-(_.audio.endplaying-e))/_.ap.playduration.unix*_.audio.speed,1),i=Math.max(0,t+_.ap.Distance*n),_.changePlayCursorAbsX(i));var r=_.ap.Line;r&&_.drawPlayCursorOnly(r)},this.subscrmanager=new s.a,this.subscrmanager.add(this.keyMap.onkeydown.subscribe(this.onKeyDown))}return Object.defineProperty(e.prototype,"Data",{get:function(){return{distance:this.ap&&this.ap.Distance?this.ap.Distance:"",duration:this.audio.duration?this.audio.duration.unix:0,playduration:this.ap.playduration?this.ap.playduration.unix:0,current:this.ap.PlayCursor&&this.ap.PlayCursor.time_pos?this.ap.PlayCursor.time_pos.unix:0}},enumerable:!0,configurable:!0}),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,"total_time",{get:function(){return this.ap.total_time},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"current_time",{get:function(){return this.ap.current_time},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.anim=new s.i(25),this.timer=r.Observable.timer(0,200)},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.audio.updateChannel(),this.update(),this.startTimer()},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,t=this.settings.height,n=Math.round(t/2)-this.settings.slider.height/2;this.context.fillRect(e,n,this.innerWidth,this.settings.slider.height),this.context.stroke()},e.prototype.clearDisplay=function(){var e=this.playcanvas,t=this.overlaycanvas,n=this.ap.Line;if(!n)throw"Line Object not found";this.context=this.playcanvas.getContext("2d"),this.context.clearRect(n.Pos.x-1,n.Pos.y-1,this.innerWidth+1,n.Size.height+1),this.context=t.getContext("2d"),this.context.globalAlpha=1,this.context.clearRect(n.Pos.x-1,n.Pos.y-1,this.innerWidth+1,n.Size.height+1),this.context.strokeStyle=this.settings.cursor.color,this.context=e.getContext("2d"),this.context.globalAlpha=1,this.context.clearRect(n.Pos.x-1,n.Pos.y-1,this.innerWidth+1,n.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 t=e.offsetX,n=e.offsetY,i=this.ap.LastLine;i&&(this.ap.setMouseMovePosition(e.type,t,n,i,this.innerWidth),this.drawPlayCursorOnly(i))},e.prototype.onClick=function(e){var t=e.offsetX,n=e.offsetY,i=this.ap.Line;i&&(this.ap.setMouseClickPosition(t,n,i,e,this.innerWidth),this.drawPlayCursorOnly(i))},e.prototype.playSelection=function(){var e=this;this.ap.begintime=this.ap.calculateBeginTime(),this.ap.updatePlayDuration(),this.ap.updateDistance();var t=function(){e.audio.audioplaying=!1,e.audio.javascriptNode.disconnect(),e.audio.paused?e.ap.current.samples=e.ap.PlayCursor.time_pos.samples:e.audio.stepbackward||(e.changePlayCursorAbsX(0),e.ap.current.samples=0),1==e.audio.replay&&e.playSelection(),e.audio.stepbackward=!1,e.audio.paused=!1},n=function(){e.anim.requestFrame(e.drawPlayCursor)};this.ap.lastplayedpos=this.ap.begintime.clone(),this.audio.startPlayback(this.ap.begintime,this.ap.DurTime,n,t)},e.prototype.stopPlayback=function(){this.audio.stopPlayback()&&(this.ap.current.samples=0,this.changePlayCursorAbsX(0),this.drawPlayCursorOnly(this.ap.Line))},e.prototype.pausePlayback=function(){this.audio.pausePlayback()},e.prototype.startPlayback=function(){this.audio.audioplaying||this.playSelection()},e.prototype.startTimer=function(){var e=this;this.subscrmanager.add(this.timer.subscribe(function(){e.audio.audiobuffer&&e.ap.PlayCursor&&(e.ap.current_time=Math.round(e.ap.PlayCursor.time_pos.unix),e.ap.total_time=e.ap.Chunk.time.end.unix-e.ap.Chunk.time.start.unix,e.changeDetectorRef.markForCheck())}))},e.prototype.rePlayback=function(){return this.audio.rePlayback()},e.prototype.stepBackward=function(){var e=this;this.audio.stepBackward(function(){null!=e.ap.lastplayedpos&&(e.ap.current=e.ap.lastplayedpos.clone(),e.ap.PlayCursor.changeSamples(e.ap.lastplayedpos.samples,e.ap.audioTCalculator),e.drawPlayCursorOnly(e.ap.LastLine),e.ap.begintime=e.ap.lastplayedpos.clone(),e.startPlayback())})},e.prototype.drawPlayCursorOnly=function(e){var t=this.ap.PlayCursor.absX+this.settings.margin.left,n=Math.round((e.Size.height-this.settings.playcursor.height)/2);t<=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(t,n+1),this.context.lineTo(t,n+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.ap.Chunk)},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 t=new s.g(this.audio.samplerate,this.ap.playduration,this.innerWidth);s.h.log(""+this.ap.current.samples),this.ap.audioTCalculator=t,this.ap.PlayCursor.changeSamples(this.ap.current.samples,t),this.update()}},e.prototype.onReload=function(e){this.subscrmanager.destroy()},e.ctorParameters=function(){return[{type:_.a},{type:h.a},{type:i.ChangeDetectorRef},{type:_.e}]},e}()},AK3I:function(e,t,n){"use strict";var i=n("Oh1W"),r=n("bgHk"),s=n("qs5H");n.d(t,"a",function(){return _});var _=function(){function e(e,t,n,s){this._changed=!1,this._changes={},this.context=new i.a(e,t,n,s),this._expr_0=r.b,this._expr_1=r.b,this._expr_2=r.b,this._expr_3=r.b}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){this.context.ngOnDestroy(),this.subscription0&&this.subscription0.unsubscribe()},e.prototype.check_name=function(e,t,n){(n||s.checkBinding(t,this._expr_0,e))&&(this._changed=!0,this.context.name=e,this._changes.name=new r.d(this._expr_0,e),this._expr_0=e)},e.prototype.check_isDisabled=function(e,t,n){(n||s.checkBinding(t,this._expr_1,e))&&(this._changed=!0,this.context.isDisabled=e,this._changes.isDisabled=new r.d(this._expr_1,e),this._expr_1=e)},e.prototype.check_model=function(e,t,n){(n||s.checkBinding(t,this._expr_2,e))&&(this._changed=!0,this.context.model=e,this._changes.model=new r.d(this._expr_2,e),this._expr_2=e)},e.prototype.check_options=function(e,t,n){(n||s.checkBinding(t,this._expr_3,e))&&(this._changed=!0,this.context.options=e,this._changes.options=new r.d(this._expr_3,e),this._expr_3=e)},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,n||i&&(this.context.ngOnChanges(this._changes),this._changes={}),i},e.prototype.checkHost=function(e,t,n,i){},e.prototype.handleEvent=function(e,t){return!0},e.prototype.subscribe=function(e,t,n){this._eventHandler=t,n&&(this.subscription0=this.context.update.subscribe(t.bind(e,"ngModelChange")))},e}()},AXLD:function(e,t,n){"use strict";var i=n("qBUJ"),r=n("bgHk"),s=n("R2h3"),_=n("qs5H"),h=n("TTjD"),o=n("jzTW"),a=n("gWLF"),l=n("vU4g"),c=n("gEbu"),u=n("lcaH"),p=n("wz3S"),d=n("xHXY"),g=n("Sqya"),f=n("dJaa"),x=n("rtCL"),m=n("OdhO"),y=n("OGrb"),v=n("tSbE"),w=n("ikuj"),b=n("qZpo");n.d(t,"b",function(){return I}),n.d(t,"a",function(){return V});var C=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),I=function(){function e(e,t){this._changed=!1,this._changes={},this.context=new i.a(e,t),this._expr_0=r.b,this._expr_1=r.b,this._expr_2=r.b,this._expr_3=r.b}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){this.subscription0&&this.subscription0.unsubscribe()},e.prototype.check_date=function(e,t,n){(n||_.checkBinding(t,this._expr_0,e))&&(this._changed=!0,this.context.date=e,this._changes.date=new r.d(this._expr_0,e),this._expr_0=e)},e.prototype.check_disabled=function(e,t,n){(n||_.checkBinding(t,this._expr_1,e))&&(this._changed=!0,this.context.disabled=e,this._changes.disabled=new r.d(this._expr_1,e),this._expr_1=e)},e.prototype.check_maxDate=function(e,t,n){(n||_.checkBinding(t,this._expr_2,e))&&(this._changed=!0,this.context.maxDate=e,this._changes.maxDate=new r.d(this._expr_2,e),this._expr_2=e)},e.prototype.check_minDate=function(e,t,n){(n||_.checkBinding(t,this._expr_3,e))&&(this._changed=!0,this.context.minDate=e,this._changes.minDate=new r.d(this._expr_3,e),this._expr_3=e)},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,n||i&&(this.context.ngOnChanges(this._changes),this._changes={}),i},e.prototype.checkHost=function(e,t,n,i){},e.prototype.handleEvent=function(e,t){return!0},e.prototype.subscribe=function(e,t,n){this._eventHandler=t,n&&(this.subscription0=this.context.select.subscribe(t.bind(e,"select")))},e}(),k=_.createRenderComponentType("",0,h.b.None,[],{}),T=function(e){function t(n,i,r,s){return e.call(this,t,k,o.a.HOST,n,i,r,s,a.b.CheckAlways)||this}return C(t,e),t.prototype.createInternal=function(e){return this._el_0=_.selectOrCreateRenderHostElement(this.renderer,"ngb-datepicker-navigation-select",_.EMPTY_INLINE_ARRAY,e,null),this.compView_0=new V(this.viewUtils,this,0,this._el_0),this._NgbDatepickerNavigationSelect_0_3=new I(this.injectorGet(c.b,this.parentIndex),this.injectorGet(u.b,this.parentIndex)),this.compView_0.create(this._NgbDatepickerNavigationSelect_0_3.context),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0],null),new l.a(0,this,this._el_0,this._NgbDatepickerNavigationSelect_0_3.context)},t.prototype.injectorGetInternal=function(e,t,n){return e===i.a&&0===t?this._NgbDatepickerNavigationSelect_0_3.context:n},t.prototype.detectChangesInternal=function(e){this._NgbDatepickerNavigationSelect_0_3.ngDoCheck(this,this._el_0,e),this.compView_0.internalDetectChanges(e)},t.prototype.destroyInternal=function(){this.compView_0.destroy(),this._NgbDatepickerNavigationSelect_0_3.ngOnDestroy()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t}(s.a),R=(new l.b("ngb-datepicker-navigation-select",T,i.a),["select[_ngcontent-%COMP%] {\n \n padding: 0.25rem 0.5rem;\n font-size: 0.875rem; \n line-height: 1.25;\n \n height: inherit;\n width: 50%;\n }"]),E=function(e){function t(n,i,s,_,h){var l=e.call(this,t,A,o.a.EMBEDDED,n,i,s,_,a.b.CheckAlways,h)||this;return l._expr_4=r.b,l}return C(t,e),t.prototype.createInternal=function(e){return this._el_0=_.createRenderElement(this.renderer,null,"option",_.EMPTY_INLINE_ARRAY,null),this._NgSelectOption_0_3=new p.a(new f.a(this._el_0),this.renderer,null),this._NgSelectMultipleOption_0_4=new d.a(new f.a(this._el_0),this.renderer,null),this._text_1=this.renderer.createText(this._el_0,"",null),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0,this._text_1],null),null},t.prototype.injectorGetInternal=function(e,t,n){return e===x.a&&0<=t&&t<=1?this._NgSelectOption_0_3.context:e===m.a&&0<=t&&t<=1?this._NgSelectMultipleOption_0_4.context:n},t.prototype.detectChangesInternal=function(e){var t=this.context.$implicit;this._NgSelectOption_0_3.check_value(t,e,!1),this._NgSelectOption_0_3.ngDoCheck(this,this._el_0,e);var n=this.context.$implicit;this._NgSelectMultipleOption_0_4.check_value(n,e,!1),this._NgSelectMultipleOption_0_4.ngDoCheck(this,this._el_0,e);var i=_.inlineInterpolate(1,"",this.parentView.context.i18n.getMonthShortName(this.context.$implicit),"");_.checkBinding(e,this._expr_4,i)&&(this.renderer.setText(this._text_1,i),this._expr_4=i)},t.prototype.destroyInternal=function(){this._NgSelectOption_0_3.ngOnDestroy(),this._NgSelectMultipleOption_0_4.ngOnDestroy()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t}(s.a),N=function(e){function t(n,i,s,_,h){var l=e.call(this,t,A,o.a.EMBEDDED,n,i,s,_,a.b.CheckAlways,h)||this;return l._expr_4=r.b,l}return C(t,e),t.prototype.createInternal=function(e){return this._el_0=_.createRenderElement(this.renderer,null,"option",_.EMPTY_INLINE_ARRAY,null),this._NgSelectOption_0_3=new p.a(new f.a(this._el_0),this.renderer,null),this._NgSelectMultipleOption_0_4=new d.a(new f.a(this._el_0),this.renderer,null),this._text_1=this.renderer.createText(this._el_0,"",null),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0,this._text_1],null),null},t.prototype.injectorGetInternal=function(e,t,n){return e===x.a&&0<=t&&t<=1?this._NgSelectOption_0_3.context:e===m.a&&0<=t&&t<=1?this._NgSelectMultipleOption_0_4.context:n},t.prototype.detectChangesInternal=function(e){var t=this.context.$implicit;this._NgSelectOption_0_3.check_value(t,e,!1),this._NgSelectOption_0_3.ngDoCheck(this,this._el_0,e);var n=this.context.$implicit;this._NgSelectMultipleOption_0_4.check_value(n,e,!1),this._NgSelectMultipleOption_0_4.ngDoCheck(this,this._el_0,e);var i=_.inlineInterpolate(1,"",this.context.$implicit,"");_.checkBinding(e,this._expr_4,i)&&(this.renderer.setText(this._text_1,i),this._expr_4=i)},t.prototype.destroyInternal=function(){this._NgSelectOption_0_3.ngOnDestroy(),this._NgSelectMultipleOption_0_4.ngOnDestroy()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t}(s.a),A=_.createRenderComponentType("",0,h.b.Emulated,R,{}),V=function(e){function t(n,i,s,_){var h=e.call(this,t,A,o.a.COMPONENT,n,i,s,_,a.b.CheckAlways)||this;return h._expr_16=r.b,h._expr_17=r.b,h._expr_18=r.b,h._expr_19=r.b,h}return C(t,e),t.prototype.createInternal=function(e){var t=this.renderer.createViewRoot(this.parentElement);this._text_0=this.renderer.createText(t,"\n ",null),this._el_1=_.createRenderElement(this.renderer,t,"select",new _.InlineArray2(2,"class","custom-select d-inline-block"),null),this._text_2=this.renderer.createText(this._el_1,"\n ",null),this._anchor_3=this.renderer.createTemplateAnchor(this._el_1,null),this._vc_3=new g.a(3,1,this,this._anchor_3),this._TemplateRef_3_5=new v.a(this,3,this._anchor_3),this._NgFor_3_6=new y.a(this._vc_3.vcRef,this._TemplateRef_3_5,this.parentView.injectorGet(w.a,this.parentIndex),this.ref),this._text_4=this.renderer.createText(this._el_1,"\n ",null),this._el_5=_.createRenderElement(this.renderer,t,"select",new _.InlineArray2(2,"class","custom-select d-inline-block"),null),this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._anchor_7=this.renderer.createTemplateAnchor(this._el_5,null),this._vc_7=new g.a(7,5,this,this._anchor_7),this._TemplateRef_7_5=new v.a(this,7,this._anchor_7),this._NgFor_7_6=new y.a(this._vc_7.vcRef,this._TemplateRef_7_5,this.parentView.injectorGet(w.a,this.parentIndex),this.ref),this._text_8=this.renderer.createText(this._el_5,"\n ",null),this._text_9=this.renderer.createText(t," \n ",null);var n=_.subscribeToRenderElement(this,this._el_1,new _.InlineArray2(2,"change",null),this.eventHandler(this.handleEvent_1)),i=_.subscribeToRenderElement(this,this._el_5,new _.InlineArray2(2,"change",null),this.eventHandler(this.handleEvent_5));return this.init(null,this.renderer.directRenderer?null:[this._text_0,this._el_1,this._text_2,this._anchor_3,this._text_4,this._el_5,this._text_6,this._anchor_7,this._text_8,this._text_9],[n,i]),null},t.prototype.injectorGetInternal=function(e,t,n){return e===v.b&&3===t?this._TemplateRef_3_5:e===b.a&&3===t?this._NgFor_3_6.context:e===v.b&&7===t?this._TemplateRef_7_5:e===b.a&&7===t?this._NgFor_7_6.context:n},t.prototype.detectChangesInternal=function(e){var t=this.context.months;this._NgFor_3_6.check_ngForOf(t,e,!1),this._NgFor_3_6.ngDoCheck(this,this._anchor_3,e);var n=this.context.years;this._NgFor_7_6.check_ngForOf(n,e,!1),this._NgFor_7_6.ngDoCheck(this,this._anchor_7,e),this._vc_3.detectChangesInNestedViews(e),this._vc_7.detectChangesInNestedViews(e);var i=this.context.disabled;_.checkBinding(e,this._expr_16,i)&&(this.renderer.setElementProperty(this._el_1,"disabled",i),this._expr_16=i);var r=null==this.context.date?null:this.context.date.month;_.checkBinding(e,this._expr_17,r)&&(this.renderer.setElementProperty(this._el_1,"value",r),this._expr_17=r);var s=this.context.disabled;_.checkBinding(e,this._expr_18,s)&&(this.renderer.setElementProperty(this._el_5,"disabled",s),this._expr_18=s);var h=null==this.context.date?null:this.context.date.year;_.checkBinding(e,this._expr_19,h)&&(this.renderer.setElementProperty(this._el_5,"value",h),this._expr_19=h)},t.prototype.destroyInternal=function(){this._vc_3.destroyNestedViews(),this._vc_7.destroyNestedViews()},t.prototype.createEmbeddedViewInternal=function(e){return 3==e?new E(this.viewUtils,this,3,this._anchor_3,this._vc_3):7==e?new N(this.viewUtils,this,7,this._anchor_7,this._vc_7):null},t.prototype.handleEvent_1=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("change"==e){n=this.context.changeMonth(t.target.value)!==!1&&n}return n},t.prototype.handleEvent_5=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("change"==e){n=this.context.changeYear(t.target.value)!==!1&&n}return n},t}(s.a)},"B+vO":function(e,t,n){"use strict";var i=n("0VXW");n.d(t,"a",function(){return s});var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.convert=function(e){var t=this.getDefaultAnnotJSON();t.name="test",t.annotates="test.wav",t.sampleRate=1e3;for(var n=0;n0&&(s=this.segments.get(i-1).time.samples);var _={start:s,length:r.time.samples-s,text:r.transcript};n.push(_)}e.transcript=n}return e},e.prototype.loadAudioFile=function(){var e=this;if(this.audio.audiocontext){if(1!=this.sessServ.offline){var t=this.app_settings.audio_server.url+this.sessServ.audio_url;this.filename=this.sessServ.audio_url.substr(this.sessServ.audio_url.lastIndexOf("/")+1),this.filename=this.filename.substr(0,this.filename.lastIndexOf(".")),this.subscrmanager.add(this.audio.afterloaded.subscribe(function(t){e.last_sample=e.audio.duration.samples,e.loadSegments(e.audio.samplerate),e.onaudioloaded.emit(t)})),this.audio.loadAudio(t)}else{this.filename=this.sessServ.file.name,this.filename=this.filename.substr(0,this.filename.lastIndexOf(".")),this.subscrmanager.add(this.audio.afterloaded.subscribe(function(t){e.last_sample=e.audio.duration.samples,e.loadSegments(e.audio.samplerate),e.onaudioloaded.emit(t)}));var i=new FileReader;i.onload=function(e){return function(e){}}(this.sessServ.sessionfile),i.onloadend=function(t){var n=t.target;e.sessServ.offline=!0,e.audio.decodeAudio(n.result)},null!=this.sessServ.file&&i.readAsArrayBuffer(this.sessServ.file)}n.i(x.isNullOrUndefined)(this.segments)||this.subscrmanager.add(this.segments.onsegmentchange.subscribe(this.saveSegments))}},e.prototype.destroy=function(){this.subscrmanager.destroy()},e.prototype.extractUI=function(e){var t=[];if(e)for(var n=0;n"+_};t=t.replace(r,s)},r=0;r"}return t};return t=t.replace(s,_)},e.prototype.validateTranscription=function(e){var t=[],n=null!=e.match(new RegExp("[#%,.?!`´/;^°]","g")),i=null!=e.match(new RegExp("[0-9]","g"));return n&&t.push("- Spezielle Zeichen wie #%,.?!`´/:;^°"),i&&t.push("- Ziffern vorhanden"),t},e.ctorParameters=function(){return[{type:_.a},{type:h.a},{type:a.a},{type:u.a},{type:f.a}]},e}()},DQzK:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(){function e(e,t){if(this._selection=null,this._time=null,!(e&&e.start&&e.end))throw"Chunk constructor needs two correct AudioTime objects";this.time=e.clone(),t&&(this._selection=t)}return Object.defineProperty(e.prototype,"selection",{get:function(){return this._selection},set:function(e){this._selection=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}()},EyjK:function(e,t,n){"use strict";var i=n("Rw+2");n.d(t,"a",function(){return r});var r=function(){function e(){this.responsive=!1,this.help_url="",this.button_labels={shortcuts:"Shortcuts",guidelines:"Guidlines",overview:"Overview",help:"Help"},this.shortcutbtnclicked=new i.EventEmitter,this.guidelinesbtnclicked=new i.EventEmitter,this.overviewbtnclicked=new i.EventEmitter}return e.prototype.ngOnInit=function(){},e.ctorParameters=function(){return[]},e}()},FUnf:function(e,t,n){"use strict";var i=n("Rw+2"),r=n("aVH4"),s=n("KufF");n.d(t,"a",function(){return _});var _=function(){function e(){var e=this;this.shortcuts=[],this.onKeyDown=function(t){var n=r.a.getShortcutCombination(t);e._onkeydown.emit({comboKey:n,event:t})},this.onKeyUp=function(t){var n=r.a.getShortcutCombination(t);e._onkeyup.emit({comboKey:n,event:t})},this._onkeydown=new i.EventEmitter,window.onkeydown=this.onKeyDown,this._onkeyup=new i.EventEmitter,window.onkeyup=this.onKeyUp}return Object.defineProperty(e.prototype,"onkeydown",{get:function(){return this._onkeydown},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onkeyup",{get:function(){return this._onkeyup},enumerable:!0,configurable:!0}),e.prototype.getEntryList=function(e){var t=this.getShortcuts(e);if(t){var n=0;for(var i in t)n++;if(n>0){var r=[];for(var i in t){var s=t[i];r.push(new h(i,s))}return r}}return null},e.prototype.cloneShortcuts=function(e){var t={};for(var n in e)t[""+n]={keys:{mac:e[n].keys.mac,pc:e[n].keys.pc},title:e[n].title,focusonly:e[n].focusonly};return t},e.prototype.register=function(e,t){return this.getShortcuts(e)||this.shortcuts.push({identifier:e,shortcuts:this.cloneShortcuts(t)}),this.getShortcuts(e)},e.prototype.unregister=function(e){if(this.shortcuts.length>0){for(var t=-1,n=0;n0&&this.shortcuts.splice(t,1)}},e.prototype.getShortcuts=function(e){for(var t=0;t keine Sätze im herkömmlichen Sinn",null),this._el_74=s.createRenderElement(this.renderer,this._el_72,"br",s.EMPTY_INLINE_ARRAY,null),this._text_75=this.renderer.createText(this._el_72,'\n keine Spezialsymbole wie %, ", #\n ',null),this._text_76=this.renderer.createText(this._el_67,"\n ",null),this._el_77=s.createRenderElement(this.renderer,this._el_67,"td",s.EMPTY_INLINE_ARRAY,null),this._text_78=this.renderer.createText(this._el_77," Kein (.,!?;-)",null),this._text_79=this.renderer.createText(this._el_67,"\n ",null),this._text_80=this.renderer.createText(this._el_27,"\n ",null),this._el_81=s.createRenderElement(this.renderer,this._el_27,"tr",s.EMPTY_INLINE_ARRAY,null),this._text_82=this.renderer.createText(this._el_81,"\n ",null),this._el_83=s.createRenderElement(this.renderer,this._el_81,"td",s.EMPTY_INLINE_ARRAY,null),this._el_84=s.createRenderElement(this.renderer,this._el_83,"b",s.EMPTY_INLINE_ARRAY,null),this._text_85=this.renderer.createText(this._el_84,"Ausnahme",null),this._text_86=this.renderer.createText(this._el_83,": ' , / und - in Wörtern, nicht zwischen Wörtern",null),this._text_87=this.renderer.createText(this._el_81,"\n ",null),this._el_88=s.createRenderElement(this.renderer,this._el_81,"td",s.EMPTY_INLINE_ARRAY,null),this._text_89=this.renderer.createText(this._el_81,"\n ",null),this._text_90=this.renderer.createText(this._el_27,"\n ",null),this._el_91=s.createRenderElement(this.renderer,this._el_27,"tr",s.EMPTY_INLINE_ARRAY,null),this._text_92=this.renderer.createText(this._el_91,"\n ",null),this._el_93=s.createRenderElement(this.renderer,this._el_91,"td",new s.InlineArray2(2,"rowspan","2"),null),this._text_94=this.renderer.createText(this._el_93,"Groß-Kleinschreibung",null),this._text_95=this.renderer.createText(this._el_91,"\n ",null),this._el_96=s.createRenderElement(this.renderer,this._el_91,"td",s.EMPTY_INLINE_ARRAY,null),this._text_97=this.renderer.createText(this._el_96,"Beachtung der Groß- und Kleinschreibung, auch bei Namen und Abkürzungen.",null),this._text_98=this.renderer.createText(this._el_91,"\n ",null),this._el_99=s.createRenderElement(this.renderer,this._el_91,"td",s.EMPTY_INLINE_ARRAY,null),this._text_100=this.renderer.createText(this._el_99,"Josef, GmbH, AG",null),this._text_101=this.renderer.createText(this._el_91,"\n ",null),this._text_102=this.renderer.createText(this._el_27,"\n ",null),this._el_103=s.createRenderElement(this.renderer,this._el_27,"tr",s.EMPTY_INLINE_ARRAY,null),this._text_104=this.renderer.createText(this._el_103,"\n ",null),this._el_105=s.createRenderElement(this.renderer,this._el_103,"td",s.EMPTY_INLINE_ARRAY,null),this._el_106=s.createRenderElement(this.renderer,this._el_105,"b",s.EMPTY_INLINE_ARRAY,null),this._text_107=this.renderer.createText(this._el_106,"Ausnahme",null),this._text_108=this.renderer.createText(this._el_105,": Personalpronomina, keine Großschreibung am Satzanfang",null),this._text_109=this.renderer.createText(this._el_103,"\n ",null),this._el_110=s.createRenderElement(this.renderer,this._el_103,"td",s.EMPTY_INLINE_ARRAY,null),this._text_111=this.renderer.createText(this._el_110,"Du, Sie, Ihr",null),this._text_112=this.renderer.createText(this._el_103,"\n ",null),this._text_113=this.renderer.createText(this._el_27,"\n ",null),this._el_114=s.createRenderElement(this.renderer,this._el_27,"tr",s.EMPTY_INLINE_ARRAY,null),this._text_115=this.renderer.createText(this._el_114,"\n ",null),this._el_116=s.createRenderElement(this.renderer,this._el_114,"td",new s.InlineArray2(2,"style","vertical-align: top;"),null),this._text_117=this.renderer.createText(this._el_116,"Komposita und Abkürzungen",null),this._text_118=this.renderer.createText(this._el_114,"\n ",null),this._el_119=s.createRenderElement(this.renderer,this._el_114,"td",new s.InlineArray2(2,"style","vertical-align: top;"),null),this._text_120=this.renderer.createText(this._el_119,"Diese sollten nicht künstlich getrennt oder in Buchstabierform\n geschrieben werden.\n ",null),this._text_121=this.renderer.createText(this._el_114,"\n ",null),this._el_122=s.createRenderElement(this.renderer,this._el_114,"td",s.EMPTY_INLINE_ARRAY,null),this._text_123=this.renderer.createText(this._el_122,"\n ",null),this._el_124=s.createRenderElement(this.renderer,this._el_122,"table",new s.InlineArray4(4,"class","table","style","width:400px"),null),this._text_125=this.renderer.createText(this._el_124,"\n ",null),this._el_126=s.createRenderElement(this.renderer,this._el_124,"tbody",s.EMPTY_INLINE_ARRAY,null),this._text_127=this.renderer.createText(this._el_126,"\n ",null),this._el_128=s.createRenderElement(this.renderer,this._el_126,"tr",s.EMPTY_INLINE_ARRAY,null),this._text_129=this.renderer.createText(this._el_128,"\n ",null),this._el_130=s.createRenderElement(this.renderer,this._el_128,"td",s.EMPTY_INLINE_ARRAY,null),this._text_131=this.renderer.createText(this._el_130,"SPD-Fraktionsvorsitzender",null),this._text_132=this.renderer.createText(this._el_128,"\n ",null),this._el_133=s.createRenderElement(this.renderer,this._el_128,"td",s.EMPTY_INLINE_ARRAY,null),this._text_134=this.renderer.createText(this._el_133,"ok",null),this._text_135=this.renderer.createText(this._el_128,"\n ",null),this._el_136=s.createRenderElement(this.renderer,this._el_128,"td",new s.InlineArray4(4,"rowspan","2","style","vertical-align:middle;"),null),this._text_137=this.renderer.createText(this._el_136,"gelesen",null),this._text_138=this.renderer.createText(this._el_128,"\n ",null),this._text_139=this.renderer.createText(this._el_126,"\n ",null),this._el_140=s.createRenderElement(this.renderer,this._el_126,"tr",s.EMPTY_INLINE_ARRAY,null),this._text_141=this.renderer.createText(this._el_140,"\n ",null),this._el_142=s.createRenderElement(this.renderer,this._el_140,"td",s.EMPTY_INLINE_ARRAY,null),this._text_143=this.renderer.createText(this._el_142,"S P D Fraktionsvorsitzender",null),this._text_144=this.renderer.createText(this._el_140,"\n ",null),this._el_145=s.createRenderElement(this.renderer,this._el_140,"td",s.EMPTY_INLINE_ARRAY,null),this._text_146=this.renderer.createText(this._el_145,"nicht ok, wenn anders in der Vorlage",null),this._text_147=this.renderer.createText(this._el_140,"\n ",null),this._el_148=s.createRenderElement(this.renderer,this._el_126,"tr",s.EMPTY_INLINE_ARRAY,null),this._text_149=this.renderer.createText(this._el_148,"\n ",null),this._el_150=s.createRenderElement(this.renderer,this._el_148,"td",s.EMPTY_INLINE_ARRAY,null),this._text_151=this.renderer.createText(this._el_150,"UdSSR",null),this._text_152=this.renderer.createText(this._el_148,"\n ",null),this._el_153=s.createRenderElement(this.renderer,this._el_148,"td",s.EMPTY_INLINE_ARRAY,null),this._text_154=this.renderer.createText(this._el_153,"ok, wenn so in der Vorlage",null),this._text_155=this.renderer.createText(this._el_148,"\n ",null),this._el_156=s.createRenderElement(this.renderer,this._el_148,"td",s.EMPTY_INLINE_ARRAY,null),this._text_157=this.renderer.createText(this._el_156,"gelesen",null),this._text_158=this.renderer.createText(this._el_148,"\n ",null),this._el_159=s.createRenderElement(this.renderer,this._el_126,"tr",s.EMPTY_INLINE_ARRAY,null),this._text_160=this.renderer.createText(this._el_159,"\n ",null),this._el_161=s.createRenderElement(this.renderer,this._el_159,"td",s.EMPTY_INLINE_ARRAY,null),this._text_162=this.renderer.createText(this._el_161,"U D S S R",null),this._text_163=this.renderer.createText(this._el_159,"\n ",null),this._el_164=s.createRenderElement(this.renderer,this._el_159,"td",s.EMPTY_INLINE_ARRAY,null),this._text_165=this.renderer.createText(this._el_164,"ok, wenn so in der Vorlage",null),this._text_166=this.renderer.createText(this._el_159,"\n ",null),this._el_167=s.createRenderElement(this.renderer,this._el_159,"td",s.EMPTY_INLINE_ARRAY,null),this._text_168=this.renderer.createText(this._el_167,"z.B. beim Buchstabieren",null),this._text_169=this.renderer.createText(this._el_159,"\n ",null),this._el_170=s.createRenderElement(this.renderer,this._el_126,"tr",s.EMPTY_INLINE_ARRAY,null),this._text_171=this.renderer.createText(this._el_170,"\n ",null),this._el_172=s.createRenderElement(this.renderer,this._el_170,"td",s.EMPTY_INLINE_ARRAY,null),this._text_173=this.renderer.createText(this._el_172,"Adam J Krusenstern",null),this._text_174=this.renderer.createText(this._el_170,"\n ",null),this._el_175=s.createRenderElement(this.renderer,this._el_170,"td",s.EMPTY_INLINE_ARRAY,null),this._text_176=this.renderer.createText(this._el_175,"ok",null),this._text_177=this.renderer.createText(this._el_170,"\n ",null),this._el_178=s.createRenderElement(this.renderer,this._el_170,"td",new s.InlineArray4(4,"rowspan","2","style","vertical-align:middle;"),null),this._text_179=this.renderer.createText(this._el_178,"Eigenname",null),this._text_180=this.renderer.createText(this._el_170,"\n ",null),this._el_181=s.createRenderElement(this.renderer,this._el_126,"tr",s.EMPTY_INLINE_ARRAY,null),this._text_182=this.renderer.createText(this._el_181,"\n ",null),this._el_183=s.createRenderElement(this.renderer,this._el_181,"td",s.EMPTY_INLINE_ARRAY,null),this._text_184=this.renderer.createText(this._el_183,"Adam-J. Krusenstern",null),this._text_185=this.renderer.createText(this._el_181,"\n ",null),this._el_186=s.createRenderElement(this.renderer,this._el_181,"td",s.EMPTY_INLINE_ARRAY,null),this._text_187=this.renderer.createText(this._el_186,"nicht ok",null),this._text_188=this.renderer.createText(this._el_181,"\n ",null),this._text_189=this.renderer.createText(this._el_124,"\n ",null);this._text_190=this.renderer.createText(this._el_122,"\n ",null),this._text_191=this.renderer.createText(this._el_114,"\n ",null),this._text_192=this.renderer.createText(this._el_27,"\n ",null),this._el_193=s.createRenderElement(this.renderer,this._el_27,"tr",s.EMPTY_INLINE_ARRAY,null),this._text_194=this.renderer.createText(this._el_193,"\n ",null),this._el_195=s.createRenderElement(this.renderer,this._el_193,"td",s.EMPTY_INLINE_ARRAY,null),this._text_196=this.renderer.createText(this._el_195,"Ausssprache",null),this._text_197=this.renderer.createText(this._el_193,"\n ",null),this._el_198=s.createRenderElement(this.renderer,this._el_193,"td",s.EMPTY_INLINE_ARRAY,null),this._text_199=this.renderer.createText(this._el_198,"Bei falscher Aussprache, das erratene Wort mit * vorranstellen\n ",null),this._text_200=this.renderer.createText(this._el_193,"\n ",null),this._el_201=s.createRenderElement(this.renderer,this._el_193,"td",s.EMPTY_INLINE_ARRAY,null),this._text_202=this.renderer.createText(this._el_201,'"achter vierter *fünfund nein sechsundneunzig" ist ok',null),this._el_203=s.createRenderElement(this.renderer,this._el_201,"br",s.EMPTY_INLINE_ARRAY,null),this._text_204=this.renderer.createText(this._el_201,'\n "',null),this._el_205=s.createRenderElement(this.renderer,this._el_201,"img",new s.InlineArray4(4,"alt","trunc_start","src","assets/img/components/transcr-editor/default_markers/truncation_start.png"),null),this._text_206=this.renderer.createText(this._el_201,"*chter vierter oder *sechsundneunz",null),this._el_207=s.createRenderElement(this.renderer,this._el_201,"img",new s.InlineArray4(4,"alt","trunc_end","src","assets/img/components/transcr-editor/default_markers/truncation_end.png"),null),this._text_208=this.renderer.createText(this._el_201,'" ist nicht ok\n ',null),this._text_209=this.renderer.createText(this._el_193,"\n ",null),this._text_210=this.renderer.createText(this._el_27,"\n ",null),this._el_211=s.createRenderElement(this.renderer,this._el_27,"tr",s.EMPTY_INLINE_ARRAY,null),this._text_212=this.renderer.createText(this._el_211,"\n ",null),this._el_213=s.createRenderElement(this.renderer,this._el_211,"td",s.EMPTY_INLINE_ARRAY,null),this._text_214=this.renderer.createText(this._el_213,"Unverständliche Sprache",null),this._text_215=this.renderer.createText(this._el_211,"\n ",null),this._el_216=s.createRenderElement(this.renderer,this._el_211,"td",s.EMPTY_INLINE_ARRAY,null),this._text_217=this.renderer.createText(this._el_216,"Passagen unverständlicher Sprache mit ",null),this._el_218=s.createRenderElement(this.renderer,this._el_216,"img",new s.InlineArray4(4,"alt","stars","src","assets/img/components/transcr-editor/default_markers/stars.png"),null),this._text_219=this.renderer.createText(this._el_216," markieren\n ",null),this._text_220=this.renderer.createText(this._el_211,"\n ",null),this._el_221=s.createRenderElement(this.renderer,this._el_211,"td",s.EMPTY_INLINE_ARRAY,null),this._text_222=this.renderer.createText(this._el_221,"du bist ein solches ",null),this._el_223=s.createRenderElement(this.renderer,this._el_221,"img",new s.InlineArray4(4,"alt","stars","src","assets/img/components/transcr-editor/default_markers/stars.png"),null),this._text_224=this.renderer.createText(this._el_221," wie ich noch nie eines getroffen habe\n ",null),this._text_225=this.renderer.createText(this._el_211,"\n ",null),this._text_226=this.renderer.createText(this._el_27,"\n ",null),this._el_227=s.createRenderElement(this.renderer,this._el_27,"tr",s.EMPTY_INLINE_ARRAY,null),this._text_228=this.renderer.createText(this._el_227,"\n ",null),this._el_229=s.createRenderElement(this.renderer,this._el_227,"td",s.EMPTY_INLINE_ARRAY,null),this._text_230=this.renderer.createText(this._el_229,"Geräusche",null),this._text_231=this.renderer.createText(this._el_227,"\n ",null),this._el_232=s.createRenderElement(this.renderer,this._el_227,"td",s.EMPTY_INLINE_ARRAY,null),this._text_233=this.renderer.createText(this._el_232,"\n Bei Geräuschen müssen die Geräuschmarken verwendet werden. Ein Marker wird dabei an dem ersten\n Vorkommen eines Geräusches gesetzt, nicht aber zwischen Wörtern. Für weitere Informationen in\n der\n Toolbar des Editors mit der Maus über die Marker fahren.",null),this._el_234=s.createRenderElement(this.renderer,this._el_232,"br",s.EMPTY_INLINE_ARRAY,null),this._text_235=this.renderer.createText(this._el_232,"\n Mehrere gleiche Marker sollten nicht direkt aufeinander folgen.\n ",null),this._text_236=this.renderer.createText(this._el_227,"\n ",null),this._text_237=this.renderer.createText(this._el_27,"\n ",null),this._text_238=this.renderer.createText(this._el_10,"\n ",null),this._text_239=this.renderer.createText(null,"\n ",null),this.compView_8.create(this._ModalBodyComponent_8_3.context),this._text_240=this.renderer.createText(null,"\n ",null),this._el_241=s.createRenderElement(this.renderer,null,"modal-footer",s.EMPTY_INLINE_ARRAY,null),this.compView_241=new z.a(this.viewUtils,this,241,this._el_241),this._ModalFooterComponent_241_3=new z.b(this._ModalComponent_6_3.context),this._text_242=this.renderer.createText(null,"\n ",null),this._el_243=s.createRenderElement(this.renderer,null,"button",new s.InlineArray8(6,"class","btn btn-default","data-dismiss","modal","type","button"),null),this._text_244=this.renderer.createText(this._el_243,"Schließen\n ",null),this._text_245=this.renderer.createText(null,"\n ",null),this.compView_241.create(this._ModalFooterComponent_241_3.context),this._text_246=this.renderer.createText(null,"\n ",null),this.compView_6.create(this._ModalComponent_6_3.context),this._text_247=this.renderer.createText(this._el_0,"\n\n ",null),this._anchor_248=this.renderer.createTemplateAnchor(this._el_0,null),this._vc_248=new b.a(248,0,this,this._anchor_248),this._TemplateRef_248_5=new T.a(this,248,this._anchor_248),this._NgIf_248_6=new k.a(this._vc_248.vcRef,this._TemplateRef_248_5),this._text_249=this.renderer.createText(this._el_0,"\n ",null),this._anchor_250=this.renderer.createTemplateAnchor(this._el_0,null),this._vc_250=new b.a(250,0,this,this._anchor_250),this._TemplateRef_250_5=new T.a(this,250,this._anchor_250),this._NgIf_250_6=new k.a(this._vc_250.vcRef,this._TemplateRef_250_5),this._text_251=this.renderer.createText(this._el_0,"\n ",null),this._el_252=s.createRenderElement(this.renderer,this._el_0,"div",new s.InlineArray2(2,"id","bottom-nav"),null),this._text_253=this.renderer.createText(this._el_252,"\n ",null),this._el_254=s.createRenderElement(this.renderer,this._el_252,"div",new s.InlineArray8(6,"aria-label","...","class","btn-group btn-group-justified","role","group"),null),this._text_255=this.renderer.createText(this._el_254,"\n ",null),this._el_256=s.createRenderElement(this.renderer,this._el_254,"a",new s.InlineArray2(2,"class","btn btn-default btn-raised"),null),this._el_257=s.createRenderElement(this.renderer,this._el_256,"span",new s.InlineArray4(4,"aria-hidden","true","class","glyphicon glyphicon-remove-circle"),null),this._el_258=s.createRenderElement(this.renderer,this._el_256,"span",s.EMPTY_INLINE_ARRAY,null),this._NgClass_258_3=new q.a(this.parentView.injectorGet(N.a,this.parentIndex),this.parentView.injectorGet(K.a,this.parentIndex),new Q.a(this._el_258),this.renderer),this._text_259=this.renderer.createText(this._el_258,"",null),this._text_260=this.renderer.createText(this._el_254,"\n ",null),this._el_261=s.createRenderElement(this.renderer,this._el_254,"a",new s.InlineArray2(2,"class","btn btn-default btn-raised"),null),this._el_262=s.createRenderElement(this.renderer,this._el_261,"span",s.EMPTY_INLINE_ARRAY,null),this._NgClass_262_3=new q.a(this.parentView.injectorGet(N.a,this.parentIndex),this.parentView.injectorGet(K.a,this.parentIndex),new Q.a(this._el_262),this.renderer),this._text_263=this.renderer.createText(this._el_262,"",null),this._text_264=this.renderer.createText(this._el_261,"\n ",null),this._el_265=s.createRenderElement(this.renderer,this._el_261,"span",new s.InlineArray4(4,"aria-hidden","true","class","glyphicon glyphicon glyphicon-menu-right"),null),this._text_266=this.renderer.createText(this._el_254,"\n ",null),this._text_267=this.renderer.createText(this._el_252,"\n ",null),this._text_268=this.renderer.createText(this._el_0,"\n ",null),this._text_269=this.renderer.createText(this._el_0,"\n",null);var t=s.subscribeToRenderElement(this,this._el_4,new s.InlineArray8(6,"shortcutbtnclicked",null,"guidelinesbtnclicked",null,"overviewbtnclicked",null),this.eventHandler(this.handleEvent_4));this._FastbarComponent_4_3.subscribe(this,this.eventHandler(this.handleEvent_4),!0,!0,!0),this._pipe_translate_0=new w.a(this.parentView.injectorGet(I.a,this.parentIndex),this.parentView.ref),this._pipe_translate_1=new w.a(this.parentView.injectorGet(I.a,this.parentIndex),this.parentView.ref),this._pipe_translate_2=new w.a(this.parentView.injectorGet(I.a,this.parentIndex),this.parentView.ref),this._pipe_translate_3=new w.a(this.parentView.injectorGet(I.a,this.parentIndex),this.parentView.ref);var n=s.subscribeToRenderElement(this,this._el_243,new s.InlineArray2(2,"click",null),this.eventHandler(this.handleEvent_243)),i=s.subscribeToRenderElement(this,this._el_256,new s.InlineArray2(2,"click",null),this.eventHandler(this.handleEvent_256));this._pipe_translate_4=new w.a(this.parentView.injectorGet(I.a,this.parentIndex),this.parentView.ref);var r=s.subscribeToRenderElement(this,this._el_261,new s.InlineArray2(2,"click",null),this.eventHandler(this.handleEvent_261));return this._pipe_translate_5=new w.a(this.parentView.injectorGet(I.a,this.parentIndex),this.parentView.ref),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0,this._text_1,this._anchor_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._el_8,this._text_9,this._el_10,this._text_11,this._el_12,this._text_13,this._el_14,this._text_15,this._el_16,this._text_17,this._text_18,this._el_19,this._text_20,this._text_21,this._el_22,this._text_23,this._text_24,this._text_25,this._text_26,this._el_27,this._text_28,this._el_29,this._text_30,this._el_31,this._text_32,this._text_33,this._el_34,this._text_35,this._text_36,this._el_37,this._text_38,this._text_39,this._el_40,this._text_41,this._el_42,this._text_43,this._text_44,this._el_45,this._text_46,this._text_47,this._text_48,this._el_49,this._text_50,this._el_51,this._text_52,this._text_53,this._el_54,this._text_55,this._el_56,this._text_57,this._el_58,this._text_59,this._text_60,this._el_61,this._text_62,this._text_63,this._text_64,this._text_65,this._text_66,this._el_67,this._text_68,this._el_69,this._text_70,this._text_71,this._el_72,this._text_73,this._el_74,this._text_75,this._text_76,this._el_77,this._text_78,this._text_79,this._text_80,this._el_81,this._text_82,this._el_83,this._el_84,this._text_85,this._text_86,this._text_87,this._el_88,this._text_89,this._text_90,this._el_91,this._text_92,this._el_93,this._text_94,this._text_95,this._el_96,this._text_97,this._text_98,this._el_99,this._text_100,this._text_101,this._text_102,this._el_103,this._text_104,this._el_105,this._el_106,this._text_107,this._text_108,this._text_109,this._el_110,this._text_111,this._text_112,this._text_113,this._el_114,this._text_115,this._el_116,this._text_117,this._text_118,this._el_119,this._text_120,this._text_121,this._el_122,this._text_123,this._el_124,this._text_125,this._el_126,this._text_127,this._el_128,this._text_129,this._el_130,this._text_131,this._text_132,this._el_133,this._text_134,this._text_135,this._el_136,this._text_137,this._text_138,this._text_139,this._el_140,this._text_141,this._el_142,this._text_143,this._text_144,this._el_145,this._text_146,this._text_147,this._el_148,this._text_149,this._el_150,this._text_151,this._text_152,this._el_153,this._text_154,this._text_155,this._el_156,this._text_157,this._text_158,this._el_159,this._text_160,this._el_161,this._text_162,this._text_163,this._el_164,this._text_165,this._text_166,this._el_167,this._text_168,this._text_169,this._el_170,this._text_171,this._el_172,this._text_173,this._text_174,this._el_175,this._text_176,this._text_177,this._el_178,this._text_179,this._text_180,this._el_181,this._text_182,this._el_183,this._text_184,this._text_185,this._el_186,this._text_187,this._text_188,this._text_189,this._text_190,this._text_191,this._text_192,this._el_193,this._text_194,this._el_195,this._text_196,this._text_197,this._el_198,this._text_199,this._text_200,this._el_201,this._text_202,this._el_203,this._text_204,this._el_205,this._text_206,this._el_207,this._text_208,this._text_209,this._text_210,this._el_211,this._text_212,this._el_213,this._text_214,this._text_215,this._el_216,this._text_217,this._el_218,this._text_219,this._text_220,this._el_221,this._text_222,this._el_223,this._text_224,this._text_225,this._text_226,this._el_227,this._text_228,this._el_229,this._text_230,this._text_231,this._el_232,this._text_233,this._el_234,this._text_235,this._text_236,this._text_237,this._text_238,this._text_239,this._text_240,this._el_241,this._text_242,this._el_243,this._text_244,this._text_245,this._text_246,this._text_247,this._anchor_248,this._text_249,this._anchor_250,this._text_251,this._el_252,this._text_253,this._el_254,this._text_255,this._el_256,this._el_257,this._el_258,this._text_259,this._text_260,this._el_261,this._el_262,this._text_263,this._text_264,this._el_265,this._text_266,this._text_267,this._text_268,this._text_269],[t,n,i,r]),null},t.prototype.injectorGetInternal=function(e,t,n){return e===T.b&&2===t?this._TemplateRef_2_5:e===R.a&&2===t?this._NgIf_2_6.context:e===G.a&&4===t?this._FastbarComponent_4_3.context:e===U.ModalBodyComponent&&8<=t&&t<=239?this._ModalBodyComponent_8_3.context:e===F.ModalFooterComponent&&241<=t&&t<=245?this._ModalFooterComponent_241_3.context:e===B.ModalComponent&&6<=t&&t<=246?this._ModalComponent_6_3.context:e===T.b&&248===t?this._TemplateRef_248_5:e===R.a&&248===t?this._NgIf_248_6.context:e===T.b&&250===t?this._TemplateRef_250_5:e===R.a&&250===t?this._NgIf_250_6.context:e===X.a&&258<=t&&t<=259?this._NgClass_258_3.context:e===X.a&&262<=t&&t<=263?this._NgClass_262_3.context:n},t.prototype.detectChangesInternal=function(e){var t=new C.c,n=""!=this.parentView.context.saving;this._NgIf_2_6.check_ngIf(n,e,!1),this._NgIf_2_6.ngDoCheck(this,this._anchor_2,e);var i=this.parentView.context.responsive;this._FastbarComponent_4_3.check_responsive(i,e,!1);var r=this.parentView.context.help_url;this._FastbarComponent_4_3.check_help_url(r,e,!1),t.reset();var _=this._map_293(t.unwrap(this._pipe_translate_0.transform("general.shortcuts")),t.unwrap(this._pipe_translate_1.transform("general.guidelines")),t.unwrap(this._pipe_translate_2.transform("general.overview")),t.unwrap(this._pipe_translate_3.transform("general.help")));this._FastbarComponent_4_3.check_button_labels(_,e,t.hasWrappedValue),this._FastbarComponent_4_3.ngDoCheck(this,this._el_4,e),this._ModalComponent_6_3.ngDoCheck(this,this._el_6,e),this._ModalBodyComponent_8_3.ngDoCheck(this,this._el_8,e),this._ModalFooterComponent_241_3.ngDoCheck(this,this._el_241,e);var h=!("overlay"==this.parentView.context.sessService.Interface);this._NgIf_248_6.check_ngIf(h,e,!1),this._NgIf_248_6.ngDoCheck(this,this._anchor_248,e);var o="overlay"==this.parentView.context.sessService.Interface;this._NgIf_250_6.check_ngIf(o,e,!1),this._NgIf_250_6.ngDoCheck(this,this._anchor_250,e);var a=this._map_294(this.parentView.context.appc.octra.responsive.enabled);this._NgClass_258_3.check_ngClass(a,e,!1),this._NgClass_258_3.ngDoCheck(this,this._el_258,e);var l=this._map_297(this.parentView.context.appc.octra.responsive.enabled);this._NgClass_262_3.check_ngClass(l,e,!1),this._NgClass_262_3.ngDoCheck(this,this._el_262,e),this._vc_2.detectChangesInNestedViews(e),this._vc_248.detectChangesInNestedViews(e),this._vc_250.detectChangesInNestedViews(e),this._ModalComponent_6_3.checkHost(this,this.compView_6,this._el_6,e),t.reset();var c=s.inlineInterpolate(1," ",t.unwrap(this._pipe_translate_4.transform("general.quit")),"");(t.hasWrappedValue||s.checkBinding(e,this._expr_295,c))&&(this.renderer.setText(this._text_259,c),this._expr_295=c),t.reset();var u=s.inlineInterpolate(1," ",t.unwrap(this._pipe_translate_5.transform("general.finish transcription")),"");(t.hasWrappedValue||s.checkBinding(e,this._expr_298,u))&&(this.renderer.setText(this._text_263,u),this._expr_298=u),this.compView_4.internalDetectChanges(e),this.compView_6.internalDetectChanges(e),this.compView_8.internalDetectChanges(e),this.compView_241.internalDetectChanges(e)},t.prototype.dirtyParentQueriesInternal=function(){this.parentView._viewQuery_modal_rules_1.setDirty()},t.prototype.destroyInternal=function(){this._vc_2.destroyNestedViews(),this._vc_248.destroyNestedViews(),this._vc_250.destroyNestedViews(),this.compView_4.destroy(),this.compView_6.destroy(),this.compView_8.destroy(),this.compView_241.destroy(),this._FastbarComponent_4_3.ngOnDestroy(),this._ModalComponent_6_3.ngOnDestroy(),this._pipe_translate_0.ngOnDestroy(),this._pipe_translate_1.ngOnDestroy(),this._pipe_translate_2.ngOnDestroy(),this._pipe_translate_3.ngOnDestroy(),this._pipe_translate_4.ngOnDestroy(),this._pipe_translate_5.ngOnDestroy()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t.prototype.visitProjectableNodesInternal=function(e,t,n,i){6==e&&0==t&&(n(this._text_7,i),n(this._el_8,i),n(this._text_240,i),n(this._el_241,i),n(this._text_246,i)),8==e&&0==t&&(n(this._text_9,i),n(this._el_10,i),n(this._text_239,i)),241==e&&0==t&&(n(this._text_242,i),n(this._el_243,i),n(this._text_245,i))},t.prototype.createEmbeddedViewInternal=function(e){return 2==e?new Ce(this.viewUtils,this,2,this._anchor_2,this._vc_2):248==e?new Te(this.viewUtils,this,248,this._anchor_248,this._vc_248):250==e?new Re(this.viewUtils,this,250,this._anchor_250,this._vc_250):null},t.prototype.handleEvent_4=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("shortcutbtnclicked"==e){n=this.parentView._ModalComponent_22_3.context.open()!==!1&&n}if("guidelinesbtnclicked"==e){n=this._ModalComponent_6_3.context.open()!==!1&&n}if("overviewbtnclicked"==e){n=this.parentView._ModalComponent_2_3.context.open()!==!1&&n}return n},t.prototype.handleEvent_243=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("click"==e){n=this._ModalComponent_6_3.context.dismiss()!==!1&&n}return n},t.prototype.handleEvent_256=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("click"==e){n=this.parentView.context.modService.show("transcription_stop","",{ok:this.parentView.context.abortTranscription})!==!1&&n}return n},t.prototype.handleEvent_261=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("click"==e){n=this.parentView.context.submitTranscription()!==!1&&n}return n},t}(r.a),Ne=s.createRenderComponentType("",0,_.b.Emulated,le,{}),Ae=function(e){function t(n,i,r,s){var _=e.call(this,t,Ne,o.a.COMPONENT,n,i,r,s,a.b.CheckOnce)||this;return _._expr_79=C.b,_._expr_81=C.b,_._expr_83=C.b,_}return se(t,e),t.prototype.createInternal=function(e){var t=this.renderer.createViewRoot(this.parentElement);this._viewQuery_modal_shortcuts_0=new J.a,this._viewQuery_modal_rules_1=new J.a,this._viewQuery_modal_overview_2=new J.a,this._el_0=s.createRenderElement(this.renderer,t,"app-alert",s.EMPTY_INLINE_ARRAY,null),this.compView_0=new $.a(this.viewUtils,this,0,this._el_0),this._AlertComponent_0_3=new $.b(this.compView_0.ref,this.parentView.injectorGet(h.a,this.parentIndex)),this.compView_0.create(this._AlertComponent_0_3.context),this._text_1=this.renderer.createText(t,"\n\n",null),this._el_2=s.createRenderElement(this.renderer,t,"modal",new s.InlineArray8(8,"class","modal","id","overview","role","dialog","tabindex","-1"),null),this.compView_2=new Y.a(this.viewUtils,this,2,this._el_2),this._ModalComponent_2_3=new Y.b(new Q.a(this._el_2)),this._text_3=this.renderer.createText(null,"\n ",null),this._el_4=s.createRenderElement(this.renderer,null,"modal-header",s.EMPTY_INLINE_ARRAY,null),this.compView_4=new te.a(this.viewUtils,this,4,this._el_4),this._ModalHeaderComponent_4_3=new te.b(this._ModalComponent_2_3.context),this._text_5=this.renderer.createText(null,"\n ",null),this._el_6=s.createRenderElement(this.renderer,null,"h4",new s.InlineArray2(2,"class","modal-title"),null),this._text_7=this.renderer.createText(this._el_6,"",null),this._text_8=this.renderer.createText(null,"\n ",null),this.compView_4.create(this._ModalHeaderComponent_4_3.context),this._text_9=this.renderer.createText(null,"\n ",null),this._el_10=s.createRenderElement(this.renderer,null,"modal-body",s.EMPTY_INLINE_ARRAY,null),this.compView_10=new W.a(this.viewUtils,this,10,this._el_10),this._ModalBodyComponent_10_3=new W.b,this._text_11=this.renderer.createText(null,"\n ",null),this._el_12=s.createRenderElement(this.renderer,null,"app-transcr-overview",s.EMPTY_INLINE_ARRAY,null),this.compView_12=new ie.a(this.viewUtils,this,12,this._el_12),this._TranscrOverviewComponent_12_3=new ie.b(this.parentView.injectorGet(d.a,this.parentIndex),this.parentView.injectorGet(u.a,this.parentIndex),this.parentView.injectorGet(re.b,this.parentIndex),this.compView_12.ref),this.compView_12.create(this._TranscrOverviewComponent_12_3.context),this._text_13=this.renderer.createText(null,"\n ",null),this.compView_10.create(this._ModalBodyComponent_10_3.context),this._text_14=this.renderer.createText(null,"\n ",null),this._el_15=s.createRenderElement(this.renderer,null,"modal-footer",s.EMPTY_INLINE_ARRAY,null),this.compView_15=new z.a(this.viewUtils,this,15,this._el_15),this._ModalFooterComponent_15_3=new z.b(this._ModalComponent_2_3.context),this._text_16=this.renderer.createText(null,"\n ",null),this._el_17=s.createRenderElement(this.renderer,null,"button",new s.InlineArray8(6,"class","btn btn-default","data-dismiss","modal","type","button"),null),this._text_18=this.renderer.createText(this._el_17,"",null),this._text_19=this.renderer.createText(null,"\n ",null),this.compView_15.create(this._ModalFooterComponent_15_3.context),this._text_20=this.renderer.createText(null,"\n",null),this.compView_2.create(this._ModalComponent_2_3.context),this._text_21=this.renderer.createText(t,"\n\n",null),this._el_22=s.createRenderElement(this.renderer,t,"modal",new s.InlineArray8(6,"class","modal","role","dialog","tabindex","-1"),null),this.compView_22=new Y.a(this.viewUtils,this,22,this._el_22),this._ModalComponent_22_3=new Y.b(new Q.a(this._el_22)),this._text_23=this.renderer.createText(null,"\n ",null),this._el_24=s.createRenderElement(this.renderer,null,"modal-body",s.EMPTY_INLINE_ARRAY,null),this.compView_24=new W.a(this.viewUtils,this,24,this._el_24),this._ModalBodyComponent_24_3=new W.b,this._text_25=this.renderer.createText(null,"\n ",null),this._anchor_26=this.renderer.createTemplateAnchor(null,null),this._vc_26=new b.a(26,24,this,this._anchor_26),this._TemplateRef_26_5=new T.a(this,26,this._anchor_26),this._NgIf_26_6=new k.a(this._vc_26.vcRef,this._TemplateRef_26_5),this._text_27=this.renderer.createText(null,"\n\n ",null),this._anchor_28=this.renderer.createTemplateAnchor(null,null),this._vc_28=new b.a(28,24,this,this._anchor_28),this._TemplateRef_28_5=new T.a(this,28,this._anchor_28),this._NgIf_28_6=new k.a(this._vc_28.vcRef,this._TemplateRef_28_5),this._text_29=this.renderer.createText(null,"\n ",null),this._anchor_30=this.renderer.createTemplateAnchor(null,null),this._vc_30=new b.a(30,24,this,this._anchor_30),this._TemplateRef_30_5=new T.a(this,30,this._anchor_30),this._NgIf_30_6=new k.a(this._vc_30.vcRef,this._TemplateRef_30_5),this._text_31=this.renderer.createText(null,"\n ",null),this.compView_24.create(this._ModalBodyComponent_24_3.context),this._text_32=this.renderer.createText(null,"\n ",null),this._el_33=s.createRenderElement(this.renderer,null,"modal-footer",s.EMPTY_INLINE_ARRAY,null),this.compView_33=new z.a(this.viewUtils,this,33,this._el_33),this._ModalFooterComponent_33_3=new z.b(this._ModalComponent_22_3.context),this._text_34=this.renderer.createText(null,"\n ",null),this._el_35=s.createRenderElement(this.renderer,null,"button",new s.InlineArray4(4,"class","btn btn-primary","type","button"),null),this._text_36=this.renderer.createText(this._el_35,"",null),this._text_37=this.renderer.createText(null,"\n ",null),this.compView_33.create(this._ModalFooterComponent_33_3.context),this._text_38=this.renderer.createText(null,"\n",null),this.compView_22.create(this._ModalComponent_22_3.context),this._text_39=this.renderer.createText(t,"\n",null),this._anchor_40=this.renderer.createTemplateAnchor(t,null),this._vc_40=new b.a(40,null,this,this._anchor_40),this._TemplateRef_40_5=new T.a(this,40,this._anchor_40),this._NgIf_40_6=new k.a(this._vc_40.vcRef,this._TemplateRef_40_5),this._text_41=this.renderer.createText(t,"\n",null),this._anchor_42=this.renderer.createTemplateAnchor(t,null),this._vc_42=new b.a(42,null,this,this._anchor_42),this._TemplateRef_42_5=new T.a(this,42,this._anchor_42),this._NgIf_42_6=new k.a(this._vc_42.vcRef,this._TemplateRef_42_5),this._pipe_translate_0=new w.a(this.parentView.injectorGet(I.a,this.parentIndex),this.ref);var n=s.subscribeToRenderElement(this,this._el_17,new s.InlineArray2(2,"click",null),this.eventHandler(this.handleEvent_17));this._pipe_translate_1=new w.a(this.parentView.injectorGet(I.a,this.parentIndex),this.ref);var i=s.subscribeToRenderElement(this,this._el_35,new s.InlineArray2(2,"click",null),this.eventHandler(this.handleEvent_35));return this._pipe_translate_2=new w.a(this.parentView.injectorGet(I.a,this.parentIndex),this.ref),this._viewQuery_modal_shortcuts_0.reset([this._ModalComponent_22_3.context]),this.context.modal_shortcuts=this._viewQuery_modal_shortcuts_0.first,this._viewQuery_modal_overview_2.reset([this._ModalComponent_2_3.context]),this.context.overview=this._viewQuery_modal_overview_2.first,this.init(null,this.renderer.directRenderer?null:[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._text_8,this._text_9,this._el_10,this._text_11,this._el_12,this._text_13,this._text_14,this._el_15,this._text_16,this._el_17,this._text_18,this._text_19,this._text_20,this._text_21,this._el_22,this._text_23,this._el_24,this._text_25,this._anchor_26,this._text_27,this._anchor_28,this._text_29,this._anchor_30,this._text_31,this._text_32,this._el_33,this._text_34,this._el_35,this._text_36,this._text_37,this._text_38,this._text_39,this._anchor_40,this._text_41,this._anchor_42],[n,i]),null},t.prototype.injectorGetInternal=function(e,t,n){return e===Z.a&&0===t?this._AlertComponent_0_3.context:e===ee.ModalHeaderComponent&&4<=t&&t<=8?this._ModalHeaderComponent_4_3.context:e===ne.a&&12===t?this._TranscrOverviewComponent_12_3.context:e===U.ModalBodyComponent&&10<=t&&t<=13?this._ModalBodyComponent_10_3.context:e===F.ModalFooterComponent&&15<=t&&t<=19?this._ModalFooterComponent_15_3.context:e===B.ModalComponent&&2<=t&&t<=20?this._ModalComponent_2_3.context:e===T.b&&26===t?this._TemplateRef_26_5:e===R.a&&26===t?this._NgIf_26_6.context:e===T.b&&28===t?this._TemplateRef_28_5:e===R.a&&28===t?this._NgIf_28_6.context:e===T.b&&30===t?this._TemplateRef_30_5:e===R.a&&30===t?this._NgIf_30_6.context:e===U.ModalBodyComponent&&24<=t&&t<=31?this._ModalBodyComponent_24_3.context:e===F.ModalFooterComponent&&33<=t&&t<=37?this._ModalFooterComponent_33_3.context:e===B.ModalComponent&&22<=t&&t<=38?this._ModalComponent_22_3.context:e===T.b&&40===t?this._TemplateRef_40_5:e===R.a&&40===t?this._NgIf_40_6.context:e===T.b&&42===t?this._TemplateRef_42_5:e===R.a&&42===t?this._NgIf_42_6.context:n},t.prototype.detectChangesInternal=function(e){var t=new C.c;this._AlertComponent_0_3.ngDoCheck(this,this._el_0,e)&&this.compView_0.markAsCheckOnce(),this._ModalComponent_2_3.ngDoCheck(this,this._el_2,e),this._ModalHeaderComponent_4_3.ngDoCheck(this,this._el_4,e),this._ModalBodyComponent_10_3.ngDoCheck(this,this._el_10,e),this._TranscrOverviewComponent_12_3.ngDoCheck(this,this._el_12,e)&&this.compView_12.markAsCheckOnce(),this._ModalFooterComponent_15_3.ngDoCheck(this,this._el_15,e),this._ModalComponent_22_3.ngDoCheck(this,this._el_22,e),this._ModalBodyComponent_24_3.ngDoCheck(this,this._el_24,e);var n="audioplayer"==this.context.sessService.Interface;this._NgIf_26_6.check_ngIf(n,e,!1),this._NgIf_26_6.ngDoCheck(this,this._anchor_26,e);var i="signaldisplay"==this.context.sessService.Interface;this._NgIf_28_6.check_ngIf(i,e,!1),this._NgIf_28_6.ngDoCheck(this,this._anchor_28,e);var r="overlay"==this.context.sessService.Interface;this._NgIf_30_6.check_ngIf(r,e,!1),this._NgIf_30_6.ngDoCheck(this,this._anchor_30,e),this._ModalFooterComponent_33_3.ngDoCheck(this,this._el_33,e);var _=!this.context.loaded;this._NgIf_40_6.check_ngIf(_,e,!1),this._NgIf_40_6.ngDoCheck(this,this._anchor_40,e);var h=this.context.loaded;this._NgIf_42_6.check_ngIf(h,e,!1),this._NgIf_42_6.ngDoCheck(this,this._anchor_42,e),this._vc_26.detectChangesInNestedViews(e),this._vc_28.detectChangesInNestedViews(e),this._vc_30.detectChangesInNestedViews(e),this._vc_40.detectChangesInNestedViews(e),this._vc_42.detectChangesInNestedViews(e),this._ModalComponent_2_3.checkHost(this,this.compView_2,this._el_2,e),t.reset();var o=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_0.transform("general.overview")),"");(t.hasWrappedValue||s.checkBinding(e,this._expr_79,o))&&(this.renderer.setText(this._text_7,o),this._expr_79=o),t.reset();var a=s.inlineInterpolate(1,"\n ",t.unwrap(this._pipe_translate_1.transform("general.close")),"\n ");(t.hasWrappedValue||s.checkBinding(e,this._expr_81,a))&&(this.renderer.setText(this._text_18,a),this._expr_81=a),this._ModalComponent_22_3.checkHost(this,this.compView_22,this._el_22,e),t.reset();var l=s.inlineInterpolate(1,"\n ",t.unwrap(this._pipe_translate_2.transform("general.close")),"\n ");(t.hasWrappedValue||s.checkBinding(e,this._expr_83,l))&&(this.renderer.setText(this._text_36,l),this._expr_83=l),this.compView_0.internalDetectChanges(e),this.compView_2.internalDetectChanges(e),this.compView_4.internalDetectChanges(e),this.compView_10.internalDetectChanges(e),this.compView_12.internalDetectChanges(e),this.compView_15.internalDetectChanges(e),this.compView_22.internalDetectChanges(e),this.compView_24.internalDetectChanges(e),this.compView_33.internalDetectChanges(e),e||this._viewQuery_modal_rules_1.dirty&&(this._viewQuery_modal_rules_1.reset([this._vc_42.mapNestedViews(Ee,function(e){return[e._ModalComponent_6_3.context]})]),this.context.modal_rules=this._viewQuery_modal_rules_1.first)},t.prototype.destroyInternal=function(){this._vc_26.destroyNestedViews(),this._vc_28.destroyNestedViews(),this._vc_30.destroyNestedViews(),this._vc_40.destroyNestedViews(),this._vc_42.destroyNestedViews(),this.compView_0.destroy(),this.compView_2.destroy(),this.compView_4.destroy(),this.compView_10.destroy(),this.compView_12.destroy(),this.compView_15.destroy(),this.compView_22.destroy(),this.compView_24.destroy(),this.compView_33.destroy(),this._AlertComponent_0_3.ngOnDestroy(),this._TranscrOverviewComponent_12_3.ngOnDestroy(),this._ModalComponent_2_3.ngOnDestroy(),this._ModalComponent_22_3.ngOnDestroy(),this._pipe_translate_0.ngOnDestroy(),this._pipe_translate_1.ngOnDestroy(),this._pipe_translate_2.ngOnDestroy()},t.prototype.visitProjectableNodesInternal=function(e,t,n,i){2==e&&0==t&&(n(this._text_3,i),n(this._el_4,i),n(this._text_9,i),n(this._el_10,i),n(this._text_14,i),n(this._el_15,i),n(this._text_20,i)),4==e&&0==t&&(n(this._text_5,i),n(this._el_6,i),n(this._text_8,i)),10==e&&0==t&&(n(this._text_11,i),n(this._el_12,i),n(this._text_13,i)),15==e&&0==t&&(n(this._text_16,i),n(this._el_17,i),n(this._text_19,i)),22==e&&0==t&&(n(this._text_23,i),n(this._el_24,i),n(this._text_32,i),n(this._el_33,i),n(this._text_38,i)),24==e&&0==t&&(n(this._text_25,i),n(this._vc_26.nativeElement,i),this._vc_26.visitNestedViewRootNodes(n,i),n(this._text_27,i),n(this._vc_28.nativeElement,i),this._vc_28.visitNestedViewRootNodes(n,i),n(this._text_29,i),n(this._vc_30.nativeElement,i),this._vc_30.visitNestedViewRootNodes(n,i),n(this._text_31,i)),33==e&&0==t&&(n(this._text_34,i),n(this._el_35,i),n(this._text_37,i))},t.prototype.createEmbeddedViewInternal=function(e){return 26==e?new pe(this.viewUtils,this,26,this._anchor_26,this._vc_26):28==e?new me(this.viewUtils,this,28,this._anchor_28,this._vc_28):30==e?new we(this.viewUtils,this,30,this._anchor_30,this._vc_30):40==e?new be(this.viewUtils,this,40,this._anchor_40,this._vc_40):42==e?new Ee(this.viewUtils,this,42,this._anchor_42,this._vc_42):null},t.prototype.handleEvent_17=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("click"==e){n=this._ModalComponent_2_3.context.dismiss()!==!1&&n}return n},t.prototype.handleEvent_35=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("click"==e){n=this._ModalComponent_22_3.context.dismiss()!==!1&&n}return n},t}(r.a)},J6Rx:function(e,t,n){"use strict";var i=n("byEy");n.d(t,"a",function(){return i.a})},JCcA:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(){function e(){this.timespan=0,this.FormatNumber=function(e,t){for(var n=""+e.toFixed(0);n.length-1&&e.indexi?new s.d(n.timePos.samples-i,this.audio.samplerate):new s.d(0,this.audio.samplerate),_=n.timePos.samples active",n.i(i.animate)("300ms ease-in")),n.i(i.transition)("active => inactive",n.i(i.animate)("300ms ease-in"))])},Sut3:function(e,t,n){"use strict";var i=n("gkuL"),r=n("R2h3"),s=n("qs5H"),_=n("TTjD"),h=n("O/1L"),o=n("jzTW"),a=n("gWLF"),l=n("iOuv"),c=n("vU4g"),u=n("33AM"),p=n("qbqm"),d=n("nYGH"),g=n("wzL9"),f=n("74QC"),x=n("DCT3"),m=n("FUnf");n.d(t,"b",function(){return v}),n.d(t,"a",function(){return k});var y=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),v=function(){function e(){this._changed=!1,this.context=new i.a}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){this.subscription0&&this.subscription0.unsubscribe()},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,i},e.prototype.checkHost=function(e,t,n,i){},e.prototype.handleEvent=function(e,t){return!0},e.prototype.subscribe=function(e,t,n){this._eventHandler=t,n&&(this.subscription0=this.context.statechange.subscribe(t.bind(e,"statechange")))},e}(),w=s.createRenderComponentType("",0,_.b.None,[],{}),b=function(e){function t(n,i,r,s){return e.call(this,t,w,o.a.HOST,n,i,r,s,a.b.CheckAlways)||this}return y(t,e),Object.defineProperty(t.prototype,"_CircleLoupeService_0_4",{get:function(){return null==this.__CircleLoupeService_0_4&&(this.__CircleLoupeService_0_4=new h.a(this.injectorGet(l.a,this.parentIndex))),this.__CircleLoupeService_0_4},enumerable:!0,configurable:!0}),t.prototype.createInternal=function(e){return this._el_0=s.selectOrCreateRenderHostElement(this.renderer,"app-circleloupe",s.EMPTY_INLINE_ARRAY,e,null),this.compView_0=new k(this.viewUtils,this,0,this._el_0),this._CircleLoupeComponent_0_3=new v,this.compView_0.create(this._CircleLoupeComponent_0_3.context),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0],null),new c.a(0,this,this._el_0,this._CircleLoupeComponent_0_3.context)},t.prototype.injectorGetInternal=function(e,t,n){return e===i.a&&0===t?this._CircleLoupeComponent_0_3.context:e===h.a&&0===t?this._CircleLoupeService_0_4:n},t.prototype.detectChangesInternal=function(e){this._CircleLoupeComponent_0_3.ngDoCheck(this,this._el_0,e),this.compView_0.internalDetectChanges(e),e||0===this.numberOfChecks&&this._CircleLoupeComponent_0_3.context.ngAfterViewInit()},t.prototype.destroyInternal=function(){this.compView_0.destroy(),this._CircleLoupeComponent_0_3.ngOnDestroy()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t}(r.a),C=(new c.b("app-circleloupe",b,i.a),[u.a]),I=s.createRenderComponentType("",0,_.b.Emulated,C,{}),k=function(e){function t(n,i,r,s){return e.call(this,t,I,o.a.COMPONENT,n,i,r,s,a.b.CheckAlways)||this}return y(t,e),Object.defineProperty(t.prototype,"_AudioviewerService_2_4",{get:function(){return null==this.__AudioviewerService_2_4&&(this.__AudioviewerService_2_4=new f.a(this.parentView.injectorGet(l.a,this.parentIndex),this.parentView.injectorGet(x.a,this.parentIndex),this.parentView.injectorGet(m.a,this.parentIndex))),this.__AudioviewerService_2_4},enumerable:!0,configurable:!0}),t.prototype.createInternal=function(e){var t=this.renderer.createViewRoot(this.parentElement);return this._viewQuery_loupe_0=new p.a,this._el_0=s.createRenderElement(this.renderer,t,"div",new s.InlineArray2(2,"class","circleloupe"),null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=s.createRenderElement(this.renderer,this._el_0,"app-loupe",s.EMPTY_INLINE_ARRAY,null),this.compView_2=new g.a(this.viewUtils,this,2,this._el_2),this._LoupeComponent_2_3=new g.b,this.compView_2.create(this._LoupeComponent_2_3.context),this._text_3=this.renderer.createText(this._el_0,"\n",null),this._viewQuery_loupe_0.reset([this._LoupeComponent_2_3.context]),this.context.loupe=this._viewQuery_loupe_0.first,this.init(null,this.renderer.directRenderer?null:[this._el_0,this._text_1,this._el_2,this._text_3],null),null},t.prototype.injectorGetInternal=function(e,t,n){return e===d.a&&2===t?this._LoupeComponent_2_3.context:e===f.a&&2===t?this._AudioviewerService_2_4:n},t.prototype.detectChangesInternal=function(e){this._LoupeComponent_2_3.ngDoCheck(this,this._el_2,e),this.compView_2.internalDetectChanges(e)},t.prototype.destroyInternal=function(){this.compView_2.destroy(),this._LoupeComponent_2_3.ngOnDestroy()},t}(r.a)},SzqK:function(e,t,n){"use strict";var i=n("Rw+2"),r=n("rtll"),s=n("+0xp");n.d(t,"a",function(){return o});var _=this&&this.__decorate||function(e,t,n,i){var r,s=arguments.length,_=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)_=Reflect.decorate(e,t,n,i);else for(var h=e.length-1;h>=0;h--)(r=e[h])&&(_=(s<3?r(_):s>3?r(t,n,_):r(t,n))||_);return s>3&&_&&Object.defineProperty(t,n,_),_},h=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},o=function(){function e(e,t){this.sessStr=e,this.localStr=t,this.nextTranscription=0,this.transcriptionTime={start:0,end:0},this.saving=new i.EventEmitter}return Object.defineProperty(e.prototype,"language",{get:function(){return this._language},set:function(e){this._language=e,this.sessStr.store("language",this._language)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sessionfile",{get:function(){return s.a.fromAny(this._sessionfile)},set:function(e){this._sessionfile=e.toAny(),this.localStr.store("sessionfile",this._sessionfile)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offline",{get:function(){return this._offline},set:function(e){this._offline=e,this.sessStr.store("offline",e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"audio_url",{get:function(){return this._audio_url},set:function(e){this._audio_url=e,this.localStr.store("audio_url",e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"data_id",{get:function(){return this._data_id},set:function(e){this._data_id=e,this.localStr.store("data_id",e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"logs",{get:function(){return this._logs},set:function(e){this._logs=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"feedback",{get:function(){return this._feedback},set:function(e){this._feedback=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"transcription",{get:function(){return this._transcription},set:function(e){this._transcription=e,this.localStr.store("transcription",e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"SessionKey",{get:function(){return this.session_key},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"MemberID",{get:function(){return this.member_id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"LoggedIn",{get:function(){return this.logged_in},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"Interface",{get:function(){return this._interface},set:function(e){this._interface=e,this.sessStr.store("interface",e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"FinishedTranscriptions",{get:function(){return this.finishedTranscriptions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"TranscriptionTime",{get:function(){return this.transcriptionTime},set:function(e){this.transcriptionTime=e,this.sessStr.store("transcriptionTime",this.transcriptionTime)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"SampleRate",{get:function(){return this._samplerate},set:function(e){this._samplerate=e,this.sessStr.store("samplerate",this._samplerate)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"submitted",{get:function(){return this._submitted},set:function(e){this._submitted=e},enumerable:!0,configurable:!0}),e.prototype.setNewSessionKey=function(){this.session_key="",this.sessStr.store("session_key",this.session_key)},e.prototype.setSessionData=function(e,t,n){if(!this.login){var i=Number(e)%3;0==i?this._interface="audioplayer":1==i?this._interface="signaldisplay":2==i&&(this._interface="overlay"),this.setNewSessionKey(),this.setMemberID(e),this.sessStr.store("logInTime",Date.now()),this.sessStr.store("logged_in",this.logged_in),this.sessStr.store("finishedTranscriptions",0),this.sessStr.store("nextTranscription",0),this.sessStr.store("transcriptionTime",{start:0,end:0}),this.localStr.store("data_id",t),this.localStr.store("audio_url",n),this.sessStr.store("interface",this._interface),this.login=!0,this.logged_in=!0}return{error:""}},e.prototype.setMemberID=function(e){return this.member_id=e,this.sessStr.store("member_id",this.member_id),!0},e.prototype.clearSession=function(){return this.logged_in=!1,this.login=!1,this.sessStr.clear(),null==this.sessStr.retrieve("session_key")&&null==this.sessStr.retrieve("member_id")},e.prototype.clearLocalStorage=function(){return this.logged_in=!1,this.login=!1,this.localStr.clear(),null==this.sessStr.retrieve("data_id")&&null==this.sessStr.retrieve("audio_url")},e.prototype.incrementFinishedTranscriptions=function(){this.finishedTranscriptions++},e.prototype.save=function(e,t){switch(console.log("save called: "+e),this.saving.emit(!0),e){case"transcription":this.localStr.store(e,t);break;case"feedback":this.localStr.store(e,t);break;case"logs":this.localStr.store(e,t);break;default:return!1}return this.saving.emit(!1),!0},e.ctorParameters=function(){return[{type:r.SessionStorageService},{type:r.LocalStorageService}]},e}();_([n.i(r.SessionStorage)("session_key"),h("design:type",String)],o.prototype,"session_key",void 0),_([n.i(r.SessionStorage)(),h("design:type",String)],o.prototype,"member_id",void 0),_([n.i(r.SessionStorage)(),h("design:type",Boolean)],o.prototype,"logged_in",void 0),_([n.i(r.SessionStorage)(),h("design:type",Number)],o.prototype,"logInTime",void 0),_([n.i(r.SessionStorage)(),h("design:type",Number)],o.prototype,"finishedTranscriptions",void 0),_([n.i(r.SessionStorage)(),h("design:type",Number)],o.prototype,"nextTranscription",void 0),_([n.i(r.SessionStorage)(),h("design:type",Object)],o.prototype,"transcriptionTime",void 0),_([n.i(r.SessionStorage)("interface"),h("design:type",String)],o.prototype,"_interface",void 0),_([n.i(r.SessionStorage)("samplerate"),h("design:type",Number)],o.prototype,"_samplerate",void 0),_([n.i(r.LocalStorage)("transcription"),h("design:type",Object)],o.prototype,"_transcription",void 0),_([n.i(r.LocalStorage)("submitted"),h("design:type",Boolean)],o.prototype,"_submitted",void 0),_([n.i(r.LocalStorage)("feedback"),h("design:type",Object)],o.prototype,"_feedback",void 0),_([n.i(r.LocalStorage)("logs"),h("design:type",Array)],o.prototype,"_logs",void 0),_([n.i(r.LocalStorage)("data_id"),h("design:type",Number)],o.prototype,"_data_id",void 0),_([n.i(r.LocalStorage)("audio_url"),h("design:type",String)],o.prototype,"_audio_url",void 0),_([n.i(r.LocalStorage)("offline"),h("design:type",Boolean)],o.prototype,"_offline",void 0),_([n.i(r.LocalStorage)("sessionfile"),h("design:type",Object)],o.prototype,"_sessionfile",void 0),_([n.i(r.LocalStorage)("language"),h("design:type",String)],o.prototype,"_language",void 0)},T1OA:function(e,t,n){"use strict";var i=n("kgIC"),r=n("bgHk"),s=n("qs5H");n.d(t,"a",function(){return _});var _=function(){function e(){this._changed=!1,this.context=new i.a,this._expr_0=r.b,this._expr_1=r.b,this._expr_2=r.b,this._expr_3=r.b}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){},e.prototype.check_collapsed=function(e,t,n){(n||s.checkBinding(t,this._expr_0,e))&&(this._changed=!0,this.context.collapsed=e,this._expr_0=e)},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,i},e.prototype.checkHost=function(e,t,n,i){var r=!0;s.checkBinding(i,this._expr_1,r)&&(e.renderer.setElementClass(n,"collapse",r),this._expr_1=r);var _=!this.context.collapsed;s.checkBinding(i,this._expr_2,_)&&(e.renderer.setElementClass(n,"show",_),this._expr_2=_);var h=!this.context.collapsed;s.checkBinding(i,this._expr_3,h)&&(e.renderer.setElementAttribute(n,"aria-expanded",null==h?null:h.toString()),this._expr_3=h)},e.prototype.handleEvent=function(e,t){return!0},e.prototype.subscribe=function(e,t){this._eventHandler=t},e}()},To3R:function(e,t,n){"use strict";var i=n("zKH5"),r=n("SzqK");n.d(t,"a",function(){return s});var s=function(){function e(e,t){this.sessService=e,this.router=t}return e.prototype.canActivate=function(e,t){return!!this.sessService.submitted||(this.router.navigate(["/user/transcr"]),!1)},e.ctorParameters=function(){return[{type:r.a},{type:i.a}]},e}()},TzW4:function(e,t,n){"use strict";var i=n("PQgN");n.d(t,"a",function(){return r});var r=function(){function e(e,t){this._changed=!1,this.context=new i.a(e,t)}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){this.subscription0&&this.subscription0.unsubscribe()},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,i},e.prototype.checkHost=function(e,t,n,i){},e.prototype.handleEvent=function(e,t){var n=!0;if("submit"==e){n=this.context.onSubmit(t)!==!1&&n}if("reset"==e){n=this.context.onReset()!==!1&&n}return n},e.prototype.subscribe=function(e,t,n){this._eventHandler=t,n&&(this.subscription0=this.context.ngSubmit.subscribe(t.bind(e,"ngSubmit")))},e}()},U6hS:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(){function e(){}return e.scrollTo=function(e,t){jQuery("html, body").scrollTop(e)},e.buildStr=function(e,t){var n=e,i=/({[0-9]+})+/g;if(n.match(i).length!=t.length)throw"buildStr: number of placeholders do not match with array";for(var r=0;r/g,">").replace(/"/g,""").replace(/'/g,"'")},e.unEscapeHtml=function(e){return e.replace("&","&").replace("<","<").replace(">",">").replace(""",'"').replace("'","'")},e}()},Um5l:function(e,t,n){"use strict";var i=n("Rw+2");n.d(t,"a",function(){return r});var r=function(){function e(){this.showmessage=new i.EventEmitter}return e.prototype.showMessage=function(e,t){this.showmessage.emit({type:e,message:t})},e.ctorParameters=function(){return[]},e}()},VY18:function(e,t,n){"use strict";var i=n("Rw+2"),r=n("zKH5"),s=n("nhD7"),_=n("SzqK"),h=n("Gvdl"),o=(n.n(h),n("U6hS")),a=n("0YY0"),l=n("2YZJ"),c=n("+0xp"),u=n("OMJi"),p=(n.n(u),n("2Lmt")),d=n("24R9"),g=n("yUTl"),f=n("0HDV");n.d(t,"a",function(){return x});var x=function(){function e(e,t,n,i,r,s,_,h){var o=this;this.router=e,this.loginService=t,this.sessionService=n,this.api=i,this.cd=r,this.http=s,this.settingsService=_,this.modService=h,this.valid_platform=!1,this.valid_size=!1,this.valid=!1,this.member={id:"",agreement:""},this.err="",this.onOfflineSubmit=function(e){var t=o.dropzone.file.type?o.dropzone.file.type:"unknown";if(null!=o.dropzone.file&&"audio/x-wav"==t||"audio/wav"==t){var n=o.sessionService.setSessionData("0",0,"");""===n.error?(o.sessionService.offline=!0,o.sessionService.sessionfile=new c.a(o.dropzone.file.name,o.dropzone.file.size,o.dropzone.file.lastModifiedDate,o.dropzone.file.type),o.sessionService.file=o.dropzone.file,o.navigate()):alert(n.error)}else alert("Die Datei ist vom Typ "+t+" und wird nicht unterstützt.")},this.newTranscription=function(){null!=o.dropzone.file&&(o.sessionService.clearSession(),o.sessionService.clearLocalStorage(),o.sessionService.setSessionData("",0,""),o.sessionService.sessionfile=o.getSessionFile(o.dropzone.file),o.sessionService.file=o.dropzone.file,o.sessionService.offline=!0,o.navigate())},this.subscrmanager=new p.a}return Object.defineProperty(e.prototype,"sessionfile",{get:function(){return this.sessionService.sessionfile},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"apc",{get:function(){return this.settingsService.app_settings},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.browser_check=new l.a,this.valid_platform=!0,this.agreement_checked=!0,this.apc.octra.allowed_browsers.length>0?this.valid_platform=this.browser_check.isValidBrowser(this.apc.octra.allowed_browsers):this.valid_platform=!0,0==this.apc.octra.responsive.enabled?this.valid_size=window.innerWidth>=this.apc.octra.responsive.fixedwidth:this.valid_size=!0,jQuery.material.init(),this.cd.markForCheck(),this.cd.detectChanges()},e.prototype.ngAfterViewInit=function(){},e.prototype.ngOnDestroy=function(){this.subscrmanager.destroy()},e.prototype.onSubmit=function(e){var t=this;this.subscrmanager.add(this.api.beginSession("transcription","",Number(this.member.id),"").catch(function(e){return alert("Fehler beim Aufbau der Verbindung."),h.Observable.throw(e)}).subscribe(function(n){var i=n.json();if(e.valid&&t.agreement_checked&&t.loginService.checkLoginData(Number(t.member.id))&&"0"!==i.message){var r=t.sessionService.setSessionData(t.member.id,i.data.id,i.data.url);""===r.error?t.navigate():alert(r.error)}else t.modService.show("login_invalid")}))},e.prototype.canDeactivate=function(){return this.valid&&this.loginService.checkLoginData(Number(this.member.id))},e.prototype.navigate=function(){this.router.navigate(["user"],{queryParams:{login:!0}})},e.prototype.onResize=function(e){0==this.apc.octra.responsive.enabled?this.valid_size=window.innerWidth>=this.apc.octra.responsive.fixedwidth:this.valid_size=!0},e.prototype.openAgreement=function(){},e.prototype.getDropzoneFileString=function(e){var t=o.a.getFileSize(e.size);return o.a.buildStr("{0} ({1} {2})",[e.name,Math.round(100*t.size)/100,t.label])},e.prototype.getSessionFile=function(e){return new c.a(e.name,e.size,e.lastModifiedDate,e.type)},e.prototype.getFileStatus=function(){return n.i(u.isNullOrUndefined)(this.dropzone.file)||"audio/wav"!=this.dropzone.file.type&&"audio/x-wav"!=this.dropzone.file.type?"unknown":null==this.sessionService.sessionfile||this.dropzone.file.name==this.sessionService.sessionfile.name?"start":"new"},e.prototype.getValidBrowsers=function(){for(var e="",t=0;t=0&&t<=this.audio_px_width){var s=t/this.audio_px_width;return e.roundSamples(r*s+n.time.start.samples)}return-1},e.prototype.absXtoSamples2=function(t,n){var i=n.time.start?n.time.start.samples:1,r=n.time.end.samples-i;if(t>=0&&t<=this.audio_px_width){var s=t/this.audio_px_width;return e.roundSamples(r*s)}return-1},e.prototype.samplesToSeconds=function(e){return this.samplerate>0&&e>-1?e/this.samplerate:0},e.prototype.secondsToSamples=function(t){return this.samplerate>0&&t>-1?e.roundSamples(t*this.samplerate):0},e.roundSamples=function(e){return Math.round(e)},e}()},X1ub:function(e,t,n){"use strict";!function(){function e(e,t,n,i,r,s,_,h,o,a,l){this._id=e,this._annotator=t,this._annobegin=n,this._annoend=i,this._url=r,this._segmentbegin=s,this._segmentend=_,this._priority=h,this._status=o,this._project=a,this._jobno=l}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}),e}()},XFUk:function(e,t,n){"use strict";var i=n("Rw+2");n.d(t,"a",function(){return r});var r=function(){function e(){this.innerhtml="",this.fileAPIsupported=!1,this.afterdrop=new i.EventEmitter}return Object.defineProperty(e.prototype,"file",{get:function(){return this._file},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 t=e.dataTransfer.files;1==t.length&&(this._file=t[0],this.afterdrop.emit(this._file))}},e.prototype.onClick=function(e){this.fileinput.nativeElement.click()},e.prototype.onFileChange=function(e){var t=e.target.files;1==t.length&&(this._file=t[0],this.afterdrop.emit(this._file))},e.ctorParameters=function(){return[]},e}()},XH3Z:function(e,t,n){"use strict";var i=n("cE4U"),r=n("bgHk"),s=n("R2h3"),_=n("qs5H"),h=n("TTjD"),o=n("jzTW"),a=n("gWLF"),l=n("vU4g"),c=n("SzqK"),u=n("wGSH"),p=n("c+H2"),d=n("WtPQ"),g=n("Z8LO"),f=n("685D"),x=n("Sqya"),m=n("qbqm"),y=n("S7tg"),v=(n.n(y),n("uoqx")),w=n("TfAg"),b=(n.n(w),n("xAcN")),C=n("xsyV"),I=(n.n(C),n("vhkd")),k=n("dUUf"),T=(n.n(k),n("5MSB")),R=n("Bk97"),E=n("T1OA"),N=n("RUIm"),A=n("OGrb"),V=n("/+ET"),S=n("dJaa"),O=n("3UAB"),D=n("LVOp"),P=n("Tb/U"),M=n("tSbE"),j=n("ikuj"),L=n("0KK1"),G=n("R14C"),H=n("qZpo"),B=n("kgIC"),Y=n("5CeK");n.d(t,"b",function(){return W}),n.d(t,"a",function(){return ee});var U=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),W=function(){function e(e,t,n,s){this._changed=!1,this.context=new i.a(e,t,n,s),this._expr_0=r.b}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){this.context.ngOnDestroy()},e.prototype.check_version=function(e,t,n){(n||_.checkBinding(t,this._expr_0,e))&&(this._changed=!0,this.context.version=e,this._expr_0=e)},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,n||0===e.numberOfChecks&&this.context.ngOnInit(),i},e.prototype.checkHost=function(e,t,n,i){},e.prototype.handleEvent=function(e,t){return!0},e.prototype.subscribe=function(e,t){this._eventHandler=t},e}(),F=_.createRenderComponentType("",0,h.b.None,[],{}),z=function(e){function t(n,i,r,s){return e.call(this,t,F,o.a.HOST,n,i,r,s,a.b.CheckAlways)||this}return U(t,e),t.prototype.createInternal=function(e){return this._el_0=_.selectOrCreateRenderHostElement(this.renderer,"app-navigation",_.EMPTY_INLINE_ARRAY,e,null),this.compView_0=new ee(this.viewUtils,this,0,this._el_0),this._NavigationComponent_0_3=new W(this.injectorGet(c.a,this.parentIndex),this.injectorGet(u.a,this.parentIndex),this.injectorGet(p.b,this.parentIndex),this.injectorGet(d.a,this.parentIndex)),this.compView_0.create(this._NavigationComponent_0_3.context),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0],null),new l.a(0,this,this._el_0,this._NavigationComponent_0_3.context)},t.prototype.injectorGetInternal=function(e,t,n){return e===i.a&&0===t?this._NavigationComponent_0_3.context:n},t.prototype.detectChangesInternal=function(e){this._NavigationComponent_0_3.ngDoCheck(this,this._el_0,e),this.compView_0.internalDetectChanges(e),e||0===this.numberOfChecks&&this._NavigationComponent_0_3.context.ngAfterViewInit()},t.prototype.destroyInternal=function(){this.compView_0.destroy(),this._NavigationComponent_0_3.ngOnDestroy()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t}(s.a),q=(new l.b("app-navigation",z,i.a),[g.a]),Q=function(e){function t(n,i,s,_,h){var l=e.call(this,t,$,o.a.EMBEDDED,n,i,s,_,a.b.CheckAlways,h)||this;return l._expr_5=r.b,l}return U(t,e),t.prototype.createInternal=function(e){this._el_0=_.createRenderElement(this.renderer,null,"li",_.EMPTY_INLINE_ARRAY,null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=_.createRenderElement(this.renderer,this._el_0,"a",_.EMPTY_INLINE_ARRAY,null),this._text_3=this.renderer.createText(this._el_2,"",null),this._text_4=this.renderer.createText(this._el_0,"\n ",null);var t=_.subscribeToRenderElement(this,this._el_2,new _.InlineArray2(2,"mouseup",null),this.eventHandler(this.handleEvent_2));return this._pipe_translate_0=new f.a(this.parentView.injectorGet(d.a,this.parentIndex),this.parentView.ref),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4],[t]),null},t.prototype.detectChangesInternal=function(e){var t=new r.c;t.reset();var n=_.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_0.transform("interfaces.simple editor")),"");(t.hasWrappedValue||_.checkBinding(e,this._expr_5,n))&&(this.renderer.setText(this._text_3,n),this._expr_5=n)},t.prototype.destroyInternal=function(){this._pipe_translate_0.ngOnDestroy()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t.prototype.handleEvent_2=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("mouseup"==e){n=this.parentView.context.setInterface("audioplayer")!==!1&&n}return n},t}(s.a),K=function(e){function t(n,i,s,_,h){var l=e.call(this,t,$,o.a.EMBEDDED,n,i,s,_,a.b.CheckAlways,h)||this;return l._expr_5=r.b,l}return U(t,e),t.prototype.createInternal=function(e){this._el_0=_.createRenderElement(this.renderer,null,"li",_.EMPTY_INLINE_ARRAY,null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=_.createRenderElement(this.renderer,this._el_0,"a",_.EMPTY_INLINE_ARRAY,null),this._text_3=this.renderer.createText(this._el_2,"",null),this._text_4=this.renderer.createText(this._el_0,"\n ",null);var t=_.subscribeToRenderElement(this,this._el_2,new _.InlineArray2(2,"mouseup",null),this.eventHandler(this.handleEvent_2));return this._pipe_translate_0=new f.a(this.parentView.injectorGet(d.a,this.parentIndex),this.parentView.ref),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4],[t]),null},t.prototype.detectChangesInternal=function(e){var t=new r.c;t.reset();var n=_.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_0.transform("interfaces.linear editor")),"");(t.hasWrappedValue||_.checkBinding(e,this._expr_5,n))&&(this.renderer.setText(this._text_3,n),this._expr_5=n)},t.prototype.destroyInternal=function(){this._pipe_translate_0.ngOnDestroy()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t.prototype.handleEvent_2=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("mouseup"==e){n=this.parentView.context.setInterface("signaldisplay")!==!1&&n}return n},t}(s.a),X=function(e){function t(n,i,s,_,h){var l=e.call(this,t,$,o.a.EMBEDDED,n,i,s,_,a.b.CheckAlways,h)||this;return l._expr_3=r.b,l}return U(t,e),t.prototype.createInternal=function(e){this._el_0=_.createRenderElement(this.renderer,null,"li",_.EMPTY_INLINE_ARRAY,null),this._el_1=_.createRenderElement(this.renderer,this._el_0,"a",_.EMPTY_INLINE_ARRAY,null),this._text_2=this.renderer.createText(this._el_1,"",null);var t=_.subscribeToRenderElement(this,this._el_1,new _.InlineArray2(2,"mouseup",null),this.eventHandler(this.handleEvent_1));return this._pipe_translate_0=new f.a(this.parentView.injectorGet(d.a,this.parentIndex),this.parentView.ref),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0,this._el_1,this._text_2],[t]),null},t.prototype.detectChangesInternal=function(e){var t=new r.c;t.reset();var n=_.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_0.transform("interfaces.2D editor")),"");(t.hasWrappedValue||_.checkBinding(e,this._expr_3,n))&&(this.renderer.setText(this._text_2,n),this._expr_3=n)},t.prototype.destroyInternal=function(){this._pipe_translate_0.ngOnDestroy()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t.prototype.handleEvent_1=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("mouseup"==e){n=this.parentView.context.setInterface("overlay")!==!1&&n}return n},t}(s.a),J=function(e){function t(n,i,s,_,h){var l=e.call(this,t,$,o.a.EMBEDDED,n,i,s,_,a.b.CheckAlways,h)||this;return l._expr_3=r.b,l}return U(t,e),t.prototype.createInternal=function(e){this._el_0=_.createRenderElement(this.renderer,null,"li",_.EMPTY_INLINE_ARRAY,null),this._el_1=_.createRenderElement(this.renderer,this._el_0,"a",_.EMPTY_INLINE_ARRAY,null),this._text_2=this.renderer.createText(this._el_1,"",null);var t=_.subscribeToRenderElement(this,this._el_1,new _.InlineArray2(2,"mouseup",null),this.eventHandler(this.handleEvent_1));return this._pipe_translate_0=new f.a(this.parentView.injectorGet(d.a,this.parentIndex),this.parentView.ref),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0,this._el_1,this._text_2],[t]),null},t.prototype.detectChangesInternal=function(e){var t=new r.c;t.reset();var n=_.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_0.transform("general.export"))," ");(t.hasWrappedValue||_.checkBinding(e,this._expr_3,n))&&(this.renderer.setText(this._text_2,n),this._expr_3=n)},t.prototype.destroyInternal=function(){this._pipe_translate_0.ngOnDestroy()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t.prototype.handleEvent_1=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("mouseup"==e){n=this.parentView._ModalComponent_0_3.context.open()!==!1&&n}return n},t}(s.a),Z=function(e){function t(n,i,s,_,h){var l=e.call(this,t,$,o.a.EMBEDDED,n,i,s,_,a.b.CheckAlways,h)||this;return l._expr_5=r.b,l}return U(t,e),t.prototype.createInternal=function(e){this._el_0=_.createRenderElement(this.renderer,null,"li",_.EMPTY_INLINE_ARRAY,null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=_.createRenderElement(this.renderer,this._el_0,"a",_.EMPTY_INLINE_ARRAY,null),this._text_3=this.renderer.createText(this._el_2,"",null),this._text_4=this.renderer.createText(this._el_0,"\n ",null);var t=_.subscribeToRenderElement(this,this._el_2,new _.InlineArray2(2,"click",null),this.eventHandler(this.handleEvent_2));return this._pipe_uppercase_5_1=_.pureProxy1(this.parentView._pipe_uppercase_5.transform.bind(this.parentView._pipe_uppercase_5)),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4],[t]),null},t.prototype.detectChangesInternal=function(e){var t=new r.c;t.reset();var n=_.inlineInterpolate(1,"",t.unwrap(_.castByValue(this._pipe_uppercase_5_1,this.parentView._pipe_uppercase_5.transform)(this.context.$implicit)),"");(t.hasWrappedValue||_.checkBinding(e,this._expr_5,n))&&(this.renderer.setText(this._text_3,n),this._expr_5=n)},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t.prototype.handleEvent_2=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("click"==e){n=this.parentView.context.changeLanguage(this.context.$implicit)!==!1&&n}return n},t}(s.a),$=_.createRenderComponentType("",0,h.b.Emulated,q,{}),ee=function(e){function t(n,i,s,h){var l=e.call(this,t,$,o.a.COMPONENT,n,i,s,h,a.b.CheckAlways)||this;return l._expr_129=r.b,l._expr_131=r.b,l._expr_132=r.b,l._expr_133=r.b,l._expr_135=r.b,l._map_136=_.pureProxy1(function(e){return{value:e}}),l._expr_138=r.b,l._expr_139=r.b,l._expr_140=r.b,l._map_141=_.pureProxy1(function(e){return{value:e}}),l._expr_143=r.b,l._expr_145=r.b,l._arr_146=_.pureProxy1(function(e){return[e]}),l._expr_147=r.b,l._expr_148=r.b,l}return U(t,e),t.prototype.createInternal=function(e){var t=this.renderer.createViewRoot(this.parentElement);this._viewQuery_modalexport_0=new m.a,this._el_0=_.createRenderElement(this.renderer,t,"modal",new _.InlineArray8(6,"class","modal","role","dialog","tabindex","-1"),null),this.compView_0=new v.a(this.viewUtils,this,0,this._el_0),this._ModalComponent_0_3=new v.b(new S.a(this._el_0)),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=_.createRenderElement(this.renderer,null,"modal-header",_.EMPTY_INLINE_ARRAY,null),this.compView_2=new b.a(this.viewUtils,this,2,this._el_2),this._ModalHeaderComponent_2_3=new b.b(this._ModalComponent_0_3.context),this._text_3=this.renderer.createText(null,"\n ",null),this._el_4=_.createRenderElement(this.renderer,null,"h4",new _.InlineArray2(2,"class","modal-title"),null),this._text_5=this.renderer.createText(this._el_4,"",null),this._text_6=this.renderer.createText(null,"\n ",null),this.compView_2.create(this._ModalHeaderComponent_2_3.context),this._text_7=this.renderer.createText(null,"\n ",null),this._el_8=_.createRenderElement(this.renderer,null,"modal-body",_.EMPTY_INLINE_ARRAY,null),this.compView_8=new I.a(this.viewUtils,this,8,this._el_8),this._ModalBodyComponent_8_3=new I.b,this._text_9=this.renderer.createText(null,"\n ",null),this._el_10=_.createRenderElement(this.renderer,null,"div",new _.InlineArray2(2,"class","row"),null),this._text_11=this.renderer.createText(this._el_10,"\n ",null),this._el_12=_.createRenderElement(this.renderer,this._el_10,"div",new _.InlineArray2(2,"class","col-xs-6 export-button"),null),this._text_13=this.renderer.createText(this._el_12,"\n ",null),this._el_14=_.createRenderElement(this.renderer,this._el_12,"a",_.EMPTY_INLINE_ARRAY,null),this._text_15=this.renderer.createText(this._el_14,"\n ",null),this._el_16=_.createRenderElement(this.renderer,this._el_14,"div",_.EMPTY_INLINE_ARRAY,null),this._el_17=_.createRenderElement(this.renderer,this._el_16,"span",new _.InlineArray2(2,"class","glyphicon glyphicon-floppy-save"),null),this._el_18=_.createRenderElement(this.renderer,this._el_16,"br",_.EMPTY_INLINE_ARRAY,null),this._text_19=this.renderer.createText(this._el_16,"",null),this._text_20=this.renderer.createText(this._el_14,"\n ",null),this._el_21=_.createRenderElement(this.renderer,this._el_12,"br",_.EMPTY_INLINE_ARRAY,null),this._text_22=this.renderer.createText(this._el_12,"\n ",null),this._el_23=_.createRenderElement(this.renderer,this._el_12,"a",new _.InlineArray8(6,"class","export-a","href","https://clarin.phonetik.uni-muenchen.de/BASWebServices/#/services/WebMAUSBasic","target","_blank"),null),this._text_24=this.renderer.createText(this._el_23,"",null),this._text_25=this.renderer.createText(this._el_12,"\n ",null),this._text_26=this.renderer.createText(this._el_10,"\n ",null),this._el_27=_.createRenderElement(this.renderer,this._el_10,"div",new _.InlineArray2(2,"class","col-xs-6 export-button"),null),this._text_28=this.renderer.createText(this._el_27,"\n ",null),this._el_29=_.createRenderElement(this.renderer,this._el_27,"a",_.EMPTY_INLINE_ARRAY,null),this._text_30=this.renderer.createText(this._el_29,"\n ",null),this._el_31=_.createRenderElement(this.renderer,this._el_29,"div",_.EMPTY_INLINE_ARRAY,null),this._el_32=_.createRenderElement(this.renderer,this._el_31,"span",new _.InlineArray2(2,"class","glyphicon glyphicon-floppy-save"),null),this._el_33=_.createRenderElement(this.renderer,this._el_31,"br",_.EMPTY_INLINE_ARRAY,null),this._text_34=this.renderer.createText(this._el_31,"annotJSON\n ",null),this._text_35=this.renderer.createText(this._el_29,"\n ",null),this._el_36=_.createRenderElement(this.renderer,this._el_27,"br",_.EMPTY_INLINE_ARRAY,null),this._text_37=this.renderer.createText(this._el_27,"\n ",null),this._el_38=_.createRenderElement(this.renderer,this._el_27,"a",new _.InlineArray8(6,"class","export-a","href","http://ips-lmu.github.io/EMU-webApp/","target","_blank"),null),this._text_39=this.renderer.createText(this._el_38,"",null),this._text_40=this.renderer.createText(this._el_27,"\n ",null),this._text_41=this.renderer.createText(this._el_10,"\n ",null),this._text_42=this.renderer.createText(null,"\n ",null),this.compView_8.create(this._ModalBodyComponent_8_3.context),this._text_43=this.renderer.createText(null,"\n ",null),this._el_44=_.createRenderElement(this.renderer,null,"modal-footer",_.EMPTY_INLINE_ARRAY,null),this.compView_44=new T.a(this.viewUtils,this,44,this._el_44),this._ModalFooterComponent_44_3=new T.b(this._ModalComponent_0_3.context),this._text_45=this.renderer.createText(null,"\n ",null),this._el_46=_.createRenderElement(this.renderer,null,"button",new _.InlineArray8(6,"class","btn btn-primary","data-dismiss","modal","type","button"),null),this._text_47=this.renderer.createText(this._el_46,"",null),this._text_48=this.renderer.createText(null,"\n ",null),this.compView_44.create(this._ModalFooterComponent_44_3.context),this._text_49=this.renderer.createText(null,"\n",null),this.compView_0.create(this._ModalComponent_0_3.context),this._text_50=this.renderer.createText(t,"\n",null),this._el_51=_.createRenderElement(this.renderer,t,"nav",new _.InlineArray2(2,"class","navbar navbar-inverse"),null),this._text_52=this.renderer.createText(this._el_51,"\n ",null),this._el_53=_.createRenderElement(this.renderer,this._el_51,"div",new _.InlineArray2(2,"class","container"),null),this._text_54=this.renderer.createText(this._el_53,"\n ",null),this._el_55=_.createRenderElement(this.renderer,this._el_53,"div",new _.InlineArray2(2,"class","navbar-header"),null),this._text_56=this.renderer.createText(this._el_55,"\n ",null),this._el_57=_.createRenderElement(this.renderer,this._el_55,"button",new _.InlineArray16(10,"aria-controls","navbar","class","navbar-toggle","data-target","#navbar","data-toggle","collapse","type","button"),null),this._text_58=this.renderer.createText(this._el_57,"\n ",null),this._el_59=_.createRenderElement(this.renderer,this._el_57,"span",new _.InlineArray2(2,"class","sr-only"),null),this._text_60=this.renderer.createText(this._el_59,"Toggle navigation",null),this._text_61=this.renderer.createText(this._el_57,"\n ",null),this._el_62=_.createRenderElement(this.renderer,this._el_57,"span",new _.InlineArray2(2,"class","icon-bar"),null),this._text_63=this.renderer.createText(this._el_57,"\n ",null),this._el_64=_.createRenderElement(this.renderer,this._el_57,"span",new _.InlineArray2(2,"class","icon-bar"),null),this._text_65=this.renderer.createText(this._el_57,"\n ",null),this._el_66=_.createRenderElement(this.renderer,this._el_57,"span",new _.InlineArray2(2,"class","icon-bar"),null),this._text_67=this.renderer.createText(this._el_57,"\n ",null),this._text_68=this.renderer.createText(this._el_55,"\n ",null),this._el_69=_.createRenderElement(this.renderer,this._el_55,"a",new _.InlineArray2(2,"class","navbar-brand"),null),this._RouterLinkWithHref_69_3=new R.a(this.parentView.injectorGet(O.a,this.parentIndex),this.parentView.injectorGet(D.a,this.parentIndex),this.parentView.injectorGet(P.a,this.parentIndex)),this._text_70=this.renderer.createText(this._el_69,"",null),this._text_71=this.renderer.createText(this._el_55,"\n ",null),this._text_72=this.renderer.createText(this._el_53,"\n ",null),this._el_73=_.createRenderElement(this.renderer,this._el_53,"div",new _.InlineArray4(4,"class","collapse navbar-collapse","id","navbar"),null),this._NgbCollapse_73_3=new E.a,this._text_74=this.renderer.createText(this._el_73,"\n ",null),this._el_75=_.createRenderElement(this.renderer,this._el_73,"ul",new _.InlineArray2(2,"class","nav navbar-nav"),null),this._text_76=this.renderer.createText(this._el_75,"\n ",null),this._anchor_77=this.renderer.createTemplateAnchor(this._el_75,null),this._vc_77=new x.a(77,75,this,this._anchor_77),this._TemplateRef_77_5=new M.a(this,77,this._anchor_77),this._NgIf_77_6=new N.a(this._vc_77.vcRef,this._TemplateRef_77_5),this._text_78=this.renderer.createText(this._el_75,"\n ",null),this._anchor_79=this.renderer.createTemplateAnchor(this._el_75,null),this._vc_79=new x.a(79,75,this,this._anchor_79),this._TemplateRef_79_5=new M.a(this,79,this._anchor_79),this._NgIf_79_6=new N.a(this._vc_79.vcRef,this._TemplateRef_79_5),this._text_80=this.renderer.createText(this._el_75,"\n ",null),this._anchor_81=this.renderer.createTemplateAnchor(this._el_75,null),this._vc_81=new x.a(81,75,this,this._anchor_81),this._TemplateRef_81_5=new M.a(this,81,this._anchor_81),this._NgIf_81_6=new N.a(this._vc_81.vcRef,this._TemplateRef_81_5),this._text_82=this.renderer.createText(this._el_75,"\n ",null),this._anchor_83=this.renderer.createTemplateAnchor(this._el_75,null),this._vc_83=new x.a(83,75,this,this._anchor_83),this._TemplateRef_83_5=new M.a(this,83,this._anchor_83),this._NgIf_83_6=new N.a(this._vc_83.vcRef,this._TemplateRef_83_5),this._text_84=this.renderer.createText(this._el_75,"\n ",null),this._text_85=this.renderer.createText(this._el_73,"\n ",null),this._el_86=_.createRenderElement(this.renderer,this._el_73,"ul",new _.InlineArray2(2,"class","nav navbar-nav navbar-right"),null),this._text_87=this.renderer.createText(this._el_86,"\n ",null),this._el_88=_.createRenderElement(this.renderer,this._el_86,"li",new _.InlineArray2(2,"class","dropdown"),null),this._text_89=this.renderer.createText(this._el_88,"\n ",null),this._el_90=_.createRenderElement(this.renderer,this._el_88,"a",new _.InlineArray16(12,"aria-expanded","false","aria-haspopup","true","class","dropdown-toggle","data-toggle","dropdown","href","#","role","button"),null),this._text_91=this.renderer.createText(this._el_90,"",null),this._el_92=_.createRenderElement(this.renderer,this._el_90,"span",new _.InlineArray2(2,"class","caret"),null),this._text_93=this.renderer.createText(this._el_88,"\n ",null),this._el_94=_.createRenderElement(this.renderer,this._el_88,"ul",new _.InlineArray2(2,"class","dropdown-menu"),null),this._text_95=this.renderer.createText(this._el_94,"\n ",null),this._anchor_96=this.renderer.createTemplateAnchor(this._el_94,null),this._vc_96=new x.a(96,94,this,this._anchor_96),this._TemplateRef_96_5=new M.a(this,96,this._anchor_96),this._NgFor_96_6=new A.a(this._vc_96.vcRef,this._TemplateRef_96_5,this.parentView.injectorGet(j.a,this.parentIndex),this.ref),this._text_97=this.renderer.createText(this._el_94,"\n ",null),this._text_98=this.renderer.createText(this._el_88,"\n ",null),this._text_99=this.renderer.createText(this._el_86,"\n ",null),this._text_100=this.renderer.createText(this._el_73,"\n ",null),this._text_101=this.renderer.createText(this._el_53,"\n ",null),this._text_102=this.renderer.createText(this._el_51,"\n",null),this._pipe_translate_0=new f.a(this.parentView.injectorGet(d.a,this.parentIndex),this.ref);var n=_.subscribeToRenderElement(this,this._el_16,new _.InlineArray2(2,"mouseenter",null),this.eventHandler(this.handleEvent_16));this._pipe_translate_1=new f.a(this.parentView.injectorGet(d.a,this.parentIndex),this.ref),this._pipe_translate_2=new f.a(this.parentView.injectorGet(d.a,this.parentIndex),this.ref);var i=_.subscribeToRenderElement(this,this._el_31,new _.InlineArray2(2,"mouseenter",null),this.eventHandler(this.handleEvent_31));this._pipe_translate_3=new f.a(this.parentView.injectorGet(d.a,this.parentIndex),this.ref);var r=_.subscribeToRenderElement(this,this._el_46,new _.InlineArray2(2,"click",null),this.eventHandler(this.handleEvent_46));this._pipe_translate_4=new f.a(this.parentView.injectorGet(d.a,this.parentIndex),this.ref);var s=_.subscribeToRenderElement(this,this._el_57,new _.InlineArray2(2,"click",null),this.eventHandler(this.handleEvent_57)),h=_.subscribeToRenderElement(this,this._el_69,new _.InlineArray2(2,"click",null),this.eventHandler(this.handleEvent_69));return this._pipe_uppercase_5=new V.a,this._pipe_uppercase_5_0=_.pureProxy1(this._pipe_uppercase_5.transform.bind(this._pipe_uppercase_5)),this._viewQuery_modalexport_0.reset([this._ModalComponent_0_3.context]),this.context.modalexport=this._viewQuery_modalexport_0.first,this.init(null,this.renderer.directRenderer?null:[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._text_7,this._el_8,this._text_9,this._el_10,this._text_11,this._el_12,this._text_13,this._el_14,this._text_15,this._el_16,this._el_17,this._el_18,this._text_19,this._text_20,this._el_21,this._text_22,this._el_23,this._text_24,this._text_25,this._text_26,this._el_27,this._text_28,this._el_29,this._text_30,this._el_31,this._el_32,this._el_33,this._text_34,this._text_35,this._el_36,this._text_37,this._el_38,this._text_39,this._text_40,this._text_41,this._text_42,this._text_43,this._el_44,this._text_45,this._el_46,this._text_47,this._text_48,this._text_49,this._text_50,this._el_51,this._text_52,this._el_53,this._text_54,this._el_55,this._text_56,this._el_57,this._text_58,this._el_59,this._text_60,this._text_61,this._el_62,this._text_63,this._el_64,this._text_65,this._el_66,this._text_67,this._text_68,this._el_69,this._text_70,this._text_71,this._text_72,this._el_73,this._text_74,this._el_75,this._text_76,this._anchor_77,this._text_78,this._anchor_79,this._text_80,this._anchor_81,this._text_82,this._anchor_83,this._text_84,this._text_85,this._el_86,this._text_87,this._el_88,this._text_89,this._el_90,this._text_91,this._el_92,this._text_93,this._el_94,this._text_95,this._anchor_96,this._text_97,this._text_98,this._text_99,this._text_100,this._text_101,this._text_102],[n,i,r,s,h]),null},t.prototype.injectorGetInternal=function(e,t,n){return e===w.ModalHeaderComponent&&2<=t&&t<=6?this._ModalHeaderComponent_2_3.context:e===C.ModalBodyComponent&&8<=t&&t<=42?this._ModalBodyComponent_8_3.context:e===k.ModalFooterComponent&&44<=t&&t<=48?this._ModalFooterComponent_44_3.context:e===y.ModalComponent&&0<=t&&t<=49?this._ModalComponent_0_3.context:e===L.b&&69<=t&&t<=70?this._RouterLinkWithHref_69_3.context:e===M.b&&77===t?this._TemplateRef_77_5:e===G.a&&77===t?this._NgIf_77_6.context:e===M.b&&79===t?this._TemplateRef_79_5:e===G.a&&79===t?this._NgIf_79_6.context:e===M.b&&81===t?this._TemplateRef_81_5:e===G.a&&81===t?this._NgIf_81_6.context:e===M.b&&83===t?this._TemplateRef_83_5:e===G.a&&83===t?this._NgIf_83_6.context:e===M.b&&96===t?this._TemplateRef_96_5:e===H.a&&96===t?this._NgFor_96_6.context:e===B.a&&73<=t&&t<=100?this._NgbCollapse_73_3.context:n},t.prototype.detectChangesInternal=function(e){var t=new r.c;this._ModalComponent_0_3.ngDoCheck(this,this._el_0,e),this._ModalHeaderComponent_2_3.ngDoCheck(this,this._el_2,e),this._ModalBodyComponent_8_3.ngDoCheck(this,this._el_8,e),this._ModalFooterComponent_44_3.ngDoCheck(this,this._el_44,e);var n=this._arr_146("/");this._RouterLinkWithHref_69_3.check_routerLink(n,e,!1),this._RouterLinkWithHref_69_3.ngDoCheck(this,this._el_69,e);var i=this.context.collapsed;this._NgbCollapse_73_3.check_collapsed(i,e,!1),this._NgbCollapse_73_3.ngDoCheck(this,this._el_73,e);var s=this.context.sessService.LoggedIn&&this.context.navbarServ.show_hidden;this._NgIf_77_6.check_ngIf(s,e,!1),this._NgIf_77_6.ngDoCheck(this,this._anchor_77,e);var h=this.context.sessService.LoggedIn&&this.context.navbarServ.show_hidden;this._NgIf_79_6.check_ngIf(h,e,!1),this._NgIf_79_6.ngDoCheck(this,this._anchor_79,e);var o=this.context.sessService.LoggedIn&&this.context.navbarServ.show_hidden;this._NgIf_81_6.check_ngIf(o,e,!1),this._NgIf_81_6.ngDoCheck(this,this._anchor_81,e);var a=this.context.sessService.LoggedIn&&this.context.navbarServ.show_hidden;this._NgIf_83_6.check_ngIf(a,e,!1),this._NgIf_83_6.ngDoCheck(this,this._anchor_83,e);var l=this.context.langService.getLangs();this._NgFor_96_6.check_ngForOf(l,e,!1),this._NgFor_96_6.ngDoCheck(this,this._anchor_96,e),this._vc_77.detectChangesInNestedViews(e),this._vc_79.detectChangesInNestedViews(e),this._vc_81.detectChangesInNestedViews(e),this._vc_83.detectChangesInNestedViews(e),this._vc_96.detectChangesInNestedViews(e),this._ModalComponent_0_3.checkHost(this,this.compView_0,this._el_0,e),t.reset();var c=_.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_0.transform("general.export data")),"");(t.hasWrappedValue||_.checkBinding(e,this._expr_129,c))&&(this.renderer.setText(this._text_5,c),this._expr_129=c);var u=_.inlineInterpolate(1,"",this.context.navbarServ.exportformats.filename,".txt");_.checkBinding(e,this._expr_131,u)&&(this.renderer.setElementProperty(this._el_14,"download",u),this._expr_131=u);var p=this.context.sanitize(this.context.getURI("text"));_.checkBinding(e,this._expr_132,p)&&(this.renderer.setElementProperty(this._el_14,"href",this.viewUtils.sanitizer.sanitize(Y.b.URL,p)),this._expr_132=p),t.reset();var d=_.inlineInterpolate(1,"\n ",t.unwrap(this._pipe_translate_1.transform("general.text file")),"\n ");(t.hasWrappedValue||_.checkBinding(e,this._expr_133,d))&&(this.renderer.setText(this._text_19,d),this._expr_133=d),t.reset();var g=_.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_2.transform("general.open",this._map_136("WebMAUS"))),"");(t.hasWrappedValue||_.checkBinding(e,this._expr_135,g))&&(this.renderer.setText(this._text_24,g),this._expr_135=g);var f=_.inlineInterpolate(1,"",this.context.navbarServ.exportformats.filename,"_annot.json");_.checkBinding(e,this._expr_138,f)&&(this.renderer.setElementProperty(this._el_29,"download",f),this._expr_138=f);var x=this.context.sanitize(this.context.getURI("annotJSON"));_.checkBinding(e,this._expr_139,x)&&(this.renderer.setElementProperty(this._el_29,"href",this.viewUtils.sanitizer.sanitize(Y.b.URL,x)),this._expr_139=x),t.reset();var m=_.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_3.transform("general.open",this._map_141("EMU-WebApp"))),"");(t.hasWrappedValue||_.checkBinding(e,this._expr_140,m))&&(this.renderer.setText(this._text_39,m),this._expr_140=m),t.reset();var y=_.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_4.transform("general.close")),"\n ");(t.hasWrappedValue||_.checkBinding(e,this._expr_143,y))&&(this.renderer.setText(this._text_47,y),this._expr_143=y);var v=!this.context.collapsed;_.checkBinding(e,this._expr_145,v)&&(this.renderer.setElementAttribute(this._el_57,"aria-expanded",null==v?null:v.toString()),this._expr_145=v),this._RouterLinkWithHref_69_3.checkHost(this,this,this._el_69,e);var w=_.inlineInterpolate(1,"OCTRA v",this.context.version,"");_.checkBinding(e,this._expr_147,w)&&(this.renderer.setText(this._text_70,w),this._expr_147=w),this._NgbCollapse_73_3.checkHost(this,this,this._el_73,e),t.reset();var b=_.inlineInterpolate(1,"",t.unwrap(_.castByValue(this._pipe_uppercase_5_0,this._pipe_uppercase_5.transform)(this.context.langService.currentLang))," ");(t.hasWrappedValue||_.checkBinding(e,this._expr_148,b))&&(this.renderer.setText(this._text_91,b),this._expr_148=b),this.compView_0.internalDetectChanges(e),this.compView_2.internalDetectChanges(e),this.compView_8.internalDetectChanges(e),this.compView_44.internalDetectChanges(e)},t.prototype.destroyInternal=function(){this._vc_77.destroyNestedViews(),this._vc_79.destroyNestedViews(),this._vc_81.destroyNestedViews(),this._vc_83.destroyNestedViews(),this._vc_96.destroyNestedViews(),this.compView_0.destroy(),this.compView_2.destroy(),this.compView_8.destroy(),this.compView_44.destroy(),this._ModalComponent_0_3.ngOnDestroy(),this._RouterLinkWithHref_69_3.ngOnDestroy(),this._pipe_translate_0.ngOnDestroy(),this._pipe_translate_1.ngOnDestroy(),this._pipe_translate_2.ngOnDestroy(),this._pipe_translate_3.ngOnDestroy(),this._pipe_translate_4.ngOnDestroy()},t.prototype.visitProjectableNodesInternal=function(e,t,n,i){0==e&&0==t&&(n(this._text_1,i),n(this._el_2,i),n(this._text_7,i),n(this._el_8,i),n(this._text_43,i),n(this._el_44,i),n(this._text_49,i)),2==e&&0==t&&(n(this._text_3,i),n(this._el_4,i),n(this._text_6,i)),8==e&&0==t&&(n(this._text_9,i),n(this._el_10,i),n(this._text_42,i)),44==e&&0==t&&(n(this._text_45,i),n(this._el_46,i),n(this._text_48,i))},t.prototype.createEmbeddedViewInternal=function(e){return 77==e?new Q(this.viewUtils,this,77,this._anchor_77,this._vc_77):79==e?new K(this.viewUtils,this,79,this._anchor_79,this._vc_79):81==e?new X(this.viewUtils,this,81,this._anchor_81,this._vc_81):83==e?new J(this.viewUtils,this,83,this._anchor_83,this._vc_83):96==e?new Z(this.viewUtils,this,96,this._anchor_96,this._vc_96):null},t.prototype.handleEvent_16=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("mouseenter"==e){n=this.context.navbarServ.onExportButtonClick("text")!==!1&&n}return n},t.prototype.handleEvent_31=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("mouseenter"==e){n=this.context.navbarServ.onExportButtonClick("annotJSON")!==!1&&n}return n},t.prototype.handleEvent_46=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("click"==e){n=this._ModalComponent_0_3.context.dismiss()!==!1&&n}return n},t.prototype.handleEvent_57=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("click"==e){n=(this.context.collapsed=!this.context.collapsed)!=!1&&n}return n},t.prototype.handleEvent_69=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;return n=this._RouterLinkWithHref_69_3.handleEvent(e,t)&&n},t}(s.a)},Xj1a:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(){function e(e,t,n){this.size={width:0,height:0},this.pos={x:0,y:0},this.number=-1,this.isMouseIn=!1,this.mouseIn=function(e,t){return e>this.pos.x&&ethis.pos.y&&t 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}.navbar[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%]{vertical-align:middle;font-size:1.3em}.glyphicon[_ngcontent-%COMP%]{font-size:50px;color:#0b0080}"]},Zx1A:function(e,t,n){"use strict";var i=n("7cqO");n.d(t,"a",function(){return r});var r=function(){function e(e){this.logoutService=e,this.valid=!1,this.member={id:"",pw:""}}return e.prototype.ngOnInit=function(){this.logoutService.logout()},e.ctorParameters=function(){return[{type:i.a}]},e}()},aOwY:function(e,t,n){"use strict";var i=n("d397");n.d(t,"a",function(){return r});var r=function(){function e(e,t,n){this._absX=e,this._time_pos=t,this._innerWidth=n}return Object.defineProperty(e.prototype,"absX",{get:function(){return this._absX},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"time_pos",{get:function(){return this._time_pos},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relX",{get:function(){return this._innerWidth>0?this._absX%this._innerWidth:0},enumerable:!0,configurable:!0}),e.prototype.changeAbsX=function(e,t,n,i){this._absX=Math.max(0,Math.min(e,n)),this._time_pos.samples=t.absXChunktoSamples(e,i)},e.prototype.changeSamples=function(e,t,n){this._time_pos.samples=e;var r=null!=n&&n.time.start.samples0)for(var s=0;s-1&&t.sample_rate?new e(t.samples,t.sample_rate):null},e}()},d8Dy:function(e,t,n){"use strict";n("B+vO"),n("poc3")},dYj9:function(e,t,n){"use strict";var i=n("mEv5");n.d(t,"a",function(){return r});var r=function(){function e(e,t){this._changed=!1,this.context=new i.a(e,t)}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,i},e.prototype.checkHost=function(e,t,n,i){},e.prototype.handleEvent=function(e,t){var n=!0;if("change"==e){n=this.context.onChange(t.target.value)!==!1&&n}if("input"==e){n=this.context.onChange(t.target.value)!==!1&&n}if("blur"==e){n=this.context.onTouched()!==!1&&n}return n},e.prototype.subscribe=function(e,t){this._eventHandler=t},e}()},fJNd:function(e,t,n){"use strict";var i=n("k0Hd"),r=n("R2h3"),s=n("qs5H"),_=n("TTjD"),h=n("jzTW"),o=n("gWLF"),a=n("vU4g"),l=n("DCT3"),c=n("iOuv"),u=n("c+H2"),p=n("wGy5"),d=n("uygc"),g=n("cYpy"),f=n("Sqya"),x=n("bgHk"),m=n("ikuj"),y=n("Bor2"),v=n("dJaa"),w=n("1lP8"),b=n("5CeK"),C=n("OGrb"),I=n("685D"),k=n("tSbE"),T=n("WtPQ"),R=n("qZpo");n.d(t,"b",function(){return N}),n.d(t,"a",function(){return P});var E=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),N=function(){function e(e,t,n,r){this._changed=!1,this.context=new i.a(e,t,n,r)}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){this.context.ngOnDestroy()},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,n||0===e.numberOfChecks&&this.context.ngOnInit(),i},e.prototype.checkHost=function(e,t,n,i){},e.prototype.handleEvent=function(e,t){return!0},e.prototype.subscribe=function(e,t){this._eventHandler=t},e}(),A=s.createRenderComponentType("",0,_.b.None,[],{}),V=function(e){function t(n,i,r,s){return e.call(this,t,A,h.a.HOST,n,i,r,s,o.b.CheckAlways)||this}return E(t,e),t.prototype.createInternal=function(e){return this._el_0=s.selectOrCreateRenderHostElement(this.renderer,"app-transcr-overview",s.EMPTY_INLINE_ARRAY,e,null),this.compView_0=new P(this.viewUtils,this,0,this._el_0),this._TranscrOverviewComponent_0_3=new N(this.injectorGet(l.a,this.parentIndex),this.injectorGet(c.a,this.parentIndex),this.injectorGet(u.b,this.parentIndex),this.compView_0.ref),this.compView_0.create(this._TranscrOverviewComponent_0_3.context),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0],null),new a.a(0,this,this._el_0,this._TranscrOverviewComponent_0_3.context)},t.prototype.injectorGetInternal=function(e,t,n){return e===i.a&&0===t?this._TranscrOverviewComponent_0_3.context:n},t.prototype.detectChangesInternal=function(e){this._TranscrOverviewComponent_0_3.ngDoCheck(this,this._el_0,e)&&this.compView_0.markAsCheckOnce(),this.compView_0.internalDetectChanges(e)},t.prototype.destroyInternal=function(){this.compView_0.destroy(),this._TranscrOverviewComponent_0_3.ngOnDestroy()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t}(r.a),S=(new a.b("app-transcr-overview",V,i.a),[p.a]),O=function(e){function t(n,i,r,_,a){var l=e.call(this,t,D,h.a.EMBEDDED,n,i,r,_,o.b.CheckAlways,a)||this;return l._map_11=s.pureProxy3(function(e,t,n){return{success:e,info:t,danger:n}}),l._expr_12=x.b,l._expr_14=x.b,l._expr_15=x.b,l._map_16=s.pureProxy1(function(e){return{warning:e}}),l}return E(t,e),t.prototype.createInternal=function(e){return this._el_0=s.createRenderElement(this.renderer,null,"tr",s.EMPTY_INLINE_ARRAY,null),this._NgClass_0_3=new d.a(this.parentView.parentView.injectorGet(m.a,this.parentView.parentIndex),this.parentView.parentView.injectorGet(y.a,this.parentView.parentIndex),new v.a(this._el_0),this.renderer),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=s.createRenderElement(this.renderer,this._el_0,"td",s.EMPTY_INLINE_ARRAY,null),this._text_3=this.renderer.createText(this._el_2,"",null),this._text_4=this.renderer.createText(this._el_0,"\n ",null),this._el_5=s.createRenderElement(this.renderer,this._el_0,"td",s.EMPTY_INLINE_ARRAY,null),this._text_6=this.renderer.createText(this._el_0,"\n ",null),this._el_7=s.createRenderElement(this.renderer,this._el_0,"td",s.EMPTY_INLINE_ARRAY,null),this._NgClass_7_3=new d.a(this.parentView.parentView.injectorGet(m.a,this.parentView.parentIndex),this.parentView.parentView.injectorGet(y.a,this.parentView.parentIndex),new v.a(this._el_7),this.renderer),this._text_8=this.renderer.createText(this._el_0,"\n ",null),this._pipe_leadingnull_0=new g.a,this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8],null),null},t.prototype.injectorGetInternal=function(e,t,n){return e===w.a&&7===t?this._NgClass_7_3.context:e===w.a&&0<=t&&t<=8?this._NgClass_0_3.context:n},t.prototype.detectChangesInternal=function(e){var t=new x.c,n=this._map_11(""!=this.context.$implicit.transcript&&"P"!=this.context.$implicit.transcript,"P"==this.context.$implicit.transcript,""==this.context.$implicit.transcript);this._NgClass_0_3.check_ngClass(n,e,!1),this._NgClass_0_3.ngDoCheck(this,this._el_0,e);var i=this._map_16(this.context.$implicit.validation);this._NgClass_7_3.check_ngClass(i,e,!1),this._NgClass_7_3.ngDoCheck(this,this._el_7,e),t.reset();var r=s.inlineInterpolate(1,"# ",t.unwrap(this._pipe_leadingnull_0.transform(this.context.index+1,this.parentView.context.segments.length)),"");(t.hasWrappedValue||s.checkBinding(e,this._expr_12,r))&&(this.renderer.setText(this._text_3,r),this._expr_12=r);var _=this.parentView.context.sanitizeHTML(this.context.$implicit.transcript);s.checkBinding(e,this._expr_14,_)&&(this.renderer.setElementProperty(this._el_5,"innerHTML",this.viewUtils.sanitizer.sanitize(b.b.HTML,_)),this._expr_14=_);var h=this.parentView.context.sanitizeHTML(this.context.$implicit.validation);s.checkBinding(e,this._expr_15,h)&&(this.renderer.setElementProperty(this._el_7,"innerHTML",this.viewUtils.sanitizer.sanitize(b.b.HTML,h)),this._expr_15=h)},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t}(r.a),D=s.createRenderComponentType("",0,_.b.Emulated,S,{}),P=function(e){function t(n,i,r,s){var _=e.call(this,t,D,h.a.COMPONENT,n,i,r,s,o.b.CheckOnce)||this;return _._expr_70=x.b,_._expr_72=x.b,_._expr_74=x.b,_._expr_76=x.b,_._expr_78=x.b,_._expr_80=x.b,_._expr_81=x.b,_._expr_82=x.b,_._expr_83=x.b,_._expr_84=x.b,_._expr_86=x.b,_._expr_88=x.b,_._expr_90=x.b,_}return E(t,e),t.prototype.createInternal=function(e){var t=this.renderer.createViewRoot(this.parentElement);return this._el_0=s.createRenderElement(this.renderer,t,"h4",s.EMPTY_INLINE_ARRAY,null),this._text_1=this.renderer.createText(this._el_0,"",null),this._text_2=this.renderer.createText(t,"\n",null),this._el_3=s.createRenderElement(this.renderer,t,"table",new s.InlineArray2(2,"class","table"),null),this._text_4=this.renderer.createText(this._el_3,"\n ",null),this._el_5=s.createRenderElement(this.renderer,this._el_3,"thead",s.EMPTY_INLINE_ARRAY,null),this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._el_7=s.createRenderElement(this.renderer,this._el_5,"tr",s.EMPTY_INLINE_ARRAY,null),this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=s.createRenderElement(this.renderer,this._el_7,"th",s.EMPTY_INLINE_ARRAY,null),this._text_10=this.renderer.createText(this._el_9,"",null),this._text_11=this.renderer.createText(this._el_7,"\n ",null),this._el_12=s.createRenderElement(this.renderer,this._el_7,"th",s.EMPTY_INLINE_ARRAY,null),this._text_13=this.renderer.createText(this._el_12,"",null),this._text_14=this.renderer.createText(this._el_7,"\n ",null),this._el_15=s.createRenderElement(this.renderer,this._el_7,"th",s.EMPTY_INLINE_ARRAY,null),this._text_16=this.renderer.createText(this._el_15,"",null),this._text_17=this.renderer.createText(this._el_7,"\n ",null),this._el_18=s.createRenderElement(this.renderer,this._el_7,"th",s.EMPTY_INLINE_ARRAY,null),this._text_19=this.renderer.createText(this._el_18,"",null),this._text_20=this.renderer.createText(this._el_7,"\n ",null),this._text_21=this.renderer.createText(this._el_5,"\n ",null),this._text_22=this.renderer.createText(this._el_3,"\n ",null),this._el_23=s.createRenderElement(this.renderer,this._el_3,"tbody",s.EMPTY_INLINE_ARRAY,null),this._text_24=this.renderer.createText(this._el_23,"\n ",null),this._el_25=s.createRenderElement(this.renderer,this._el_23,"tr",s.EMPTY_INLINE_ARRAY,null),this._text_26=this.renderer.createText(this._el_25,"\n ",null),this._el_27=s.createRenderElement(this.renderer,this._el_25,"td",new s.InlineArray2(2,"class","active"),null),this._text_28=this.renderer.createText(this._el_27,"",null),this._text_29=this.renderer.createText(this._el_25,"\n ",null),this._el_30=s.createRenderElement(this.renderer,this._el_25,"td",new s.InlineArray2(2,"class","success"),null),this._text_31=this.renderer.createText(this._el_30,"",null),this._text_32=this.renderer.createText(this._el_25,"\n ",null),this._el_33=s.createRenderElement(this.renderer,this._el_25,"td",new s.InlineArray2(2,"class","info"),null),this._text_34=this.renderer.createText(this._el_33,"",null),this._text_35=this.renderer.createText(this._el_25,"\n ",null),this._el_36=s.createRenderElement(this.renderer,this._el_25,"td",new s.InlineArray2(2,"class","danger"),null),this._el_37=s.createRenderElement(this.renderer,this._el_36,"b",s.EMPTY_INLINE_ARRAY,null),this._el_38=s.createRenderElement(this.renderer,this._el_37,"u",s.EMPTY_INLINE_ARRAY,null),this._text_39=this.renderer.createText(this._el_38,"",null),this._text_40=this.renderer.createText(this._el_25,"\n ",null),this._text_41=this.renderer.createText(this._el_23,"\n ",null),this._text_42=this.renderer.createText(this._el_3,"\n",null),this._text_43=this.renderer.createText(t,"\n",null),this._el_44=s.createRenderElement(this.renderer,t,"h4",s.EMPTY_INLINE_ARRAY,null),this._text_45=this.renderer.createText(this._el_44,"",null),this._text_46=this.renderer.createText(t,"\n",null),this._el_47=s.createRenderElement(this.renderer,t,"table",new s.InlineArray2(2,"class","table"),null),this._text_48=this.renderer.createText(this._el_47,"\n ",null),this._el_49=s.createRenderElement(this.renderer,this._el_47,"thead",s.EMPTY_INLINE_ARRAY,null),this._text_50=this.renderer.createText(this._el_49,"\n ",null),this._el_51=s.createRenderElement(this.renderer,this._el_49,"tr",s.EMPTY_INLINE_ARRAY,null),this._text_52=this.renderer.createText(this._el_51,"\n ",null),this._el_53=s.createRenderElement(this.renderer,this._el_51,"th",s.EMPTY_INLINE_ARRAY,null),this._text_54=this.renderer.createText(this._el_53,"",null),this._text_55=this.renderer.createText(this._el_51,"\n ",null),this._el_56=s.createRenderElement(this.renderer,this._el_51,"th",s.EMPTY_INLINE_ARRAY,null),this._text_57=this.renderer.createText(this._el_56,"",null),this._text_58=this.renderer.createText(this._el_51,"\n ",null),this._el_59=s.createRenderElement(this.renderer,this._el_51,"th",s.EMPTY_INLINE_ARRAY,null),this._text_60=this.renderer.createText(this._el_59,"",null),this._text_61=this.renderer.createText(this._el_51,"\n ",null),this._text_62=this.renderer.createText(this._el_49,"\n ",null),this._text_63=this.renderer.createText(this._el_47,"\n ",null),this._el_64=s.createRenderElement(this.renderer,this._el_47,"tbody",s.EMPTY_INLINE_ARRAY,null),this._anchor_65=this.renderer.createTemplateAnchor(this._el_64,null),this._vc_65=new f.a(65,64,this,this._anchor_65),this._TemplateRef_65_5=new k.a(this,65,this._anchor_65),this._NgFor_65_6=new C.a(this._vc_65.vcRef,this._TemplateRef_65_5,this.parentView.injectorGet(m.a,this.parentIndex),this.ref),this._text_66=this.renderer.createText(this._el_64,"\n",null),this._pipe_translate_0=new I.a(this.parentView.injectorGet(T.a,this.parentIndex),this.ref),this._pipe_translate_1=new I.a(this.parentView.injectorGet(T.a,this.parentIndex),this.ref),this._pipe_translate_2=new I.a(this.parentView.injectorGet(T.a,this.parentIndex),this.ref),this._pipe_translate_3=new I.a(this.parentView.injectorGet(T.a,this.parentIndex),this.ref),this._pipe_translate_4=new I.a(this.parentView.injectorGet(T.a,this.parentIndex),this.ref),this._pipe_translate_5=new I.a(this.parentView.injectorGet(T.a,this.parentIndex),this.ref),this._pipe_translate_6=new I.a(this.parentView.injectorGet(T.a,this.parentIndex),this.ref),this._pipe_translate_7=new I.a(this.parentView.injectorGet(T.a,this.parentIndex),this.ref),this._pipe_translate_8=new I.a(this.parentView.injectorGet(T.a,this.parentIndex),this.ref),this.init(null,this.renderer.directRenderer?null:[this._el_0,this._text_1,this._text_2,this._el_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._text_11,this._el_12,this._text_13,this._text_14,this._el_15,this._text_16,this._text_17,this._el_18,this._text_19,this._text_20,this._text_21,this._text_22,this._el_23,this._text_24,this._el_25,this._text_26,this._el_27,this._text_28,this._text_29,this._el_30,this._text_31,this._text_32,this._el_33,this._text_34,this._text_35,this._el_36,this._el_37,this._el_38,this._text_39,this._text_40,this._text_41,this._text_42,this._text_43,this._el_44,this._text_45,this._text_46,this._el_47,this._text_48,this._el_49,this._text_50,this._el_51,this._text_52,this._el_53,this._text_54,this._text_55,this._el_56,this._text_57,this._text_58,this._el_59,this._text_60,this._text_61,this._text_62,this._text_63,this._el_64,this._anchor_65,this._text_66],null),null},t.prototype.injectorGetInternal=function(e,t,n){return e===k.b&&65===t?this._TemplateRef_65_5:e===R.a&&65===t?this._NgFor_65_6.context:n},t.prototype.detectChangesInternal=function(e){var t=new x.c,n=this.context.segments;this._NgFor_65_6.check_ngForOf(n,e,!1),this._NgFor_65_6.ngDoCheck(this,this._anchor_65,e),this._vc_65.detectChangesInNestedViews(e),t.reset();var i=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_0.transform("general.statistics")),"");(t.hasWrappedValue||s.checkBinding(e,this._expr_70,i))&&(this.renderer.setText(this._text_1,i),this._expr_70=i),t.reset();var r=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_1.transform("general.segments total")),"");(t.hasWrappedValue||s.checkBinding(e,this._expr_72,r))&&(this.renderer.setText(this._text_10,r),this._expr_72=r),t.reset();var _=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_2.transform("general.segments transcribed")),"");(t.hasWrappedValue||s.checkBinding(e,this._expr_74,_))&&(this.renderer.setText(this._text_13,_),this._expr_74=_),t.reset();var h=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_3.transform("general.segments with breaks")),"");(t.hasWrappedValue||s.checkBinding(e,this._expr_76,h))&&(this.renderer.setText(this._text_16,h),this._expr_76=h),t.reset();var o=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_4.transform("general.segments not transcribed")),"");(t.hasWrappedValue||s.checkBinding(e,this._expr_78,o))&&(this.renderer.setText(this._text_19,o),this._expr_78=o);var a=s.inlineInterpolate(1,"",this.context.numberOfSegments,"");s.checkBinding(e,this._expr_80,a)&&(this.renderer.setText(this._text_28,a),this._expr_80=a);var l=s.inlineInterpolate(1,"",this.context.transcrSegments,"");s.checkBinding(e,this._expr_81,l)&&(this.renderer.setText(this._text_31,l),this._expr_81=l);var c=s.inlineInterpolate(1,"",this.context.pauseSegments,"");s.checkBinding(e,this._expr_82,c)&&(this.renderer.setText(this._text_34,c),this._expr_82=c);var u=s.inlineInterpolate(1,"",this.context.emptySegments,"");s.checkBinding(e,this._expr_83,u)&&(this.renderer.setText(this._text_39,u),this._expr_83=u),t.reset();var p=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_5.transform("general.transcript")),"");(t.hasWrappedValue||s.checkBinding(e,this._expr_84,p))&&(this.renderer.setText(this._text_45,p),this._expr_84=p),t.reset();var d=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_6.transform("general.timespan")),"");(t.hasWrappedValue||s.checkBinding(e,this._expr_86,d))&&(this.renderer.setText(this._text_54,d),this._expr_86=d),t.reset();var g=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_7.transform("general.transcription")),"");(t.hasWrappedValue||s.checkBinding(e,this._expr_88,g))&&(this.renderer.setText(this._text_57,g),this._expr_88=g),t.reset();var f=s.inlineInterpolate(1,"",t.unwrap(this._pipe_translate_8.transform("general.validation")),"");(t.hasWrappedValue||s.checkBinding(e,this._expr_90,f))&&(this.renderer.setText(this._text_60,f),this._expr_90=f)},t.prototype.destroyInternal=function(){this._vc_65.destroyNestedViews(),this._pipe_translate_0.ngOnDestroy(),this._pipe_translate_1.ngOnDestroy(),this._pipe_translate_2.ngOnDestroy(),this._pipe_translate_3.ngOnDestroy(),this._pipe_translate_4.ngOnDestroy(),this._pipe_translate_5.ngOnDestroy(),this._pipe_translate_6.ngOnDestroy(),this._pipe_translate_7.ngOnDestroy(),this._pipe_translate_8.ngOnDestroy()},t.prototype.createEmbeddedViewInternal=function(e){return 65==e?new O(this.viewUtils,this,65,this._anchor_65,this._vc_65):null},t}(r.a)},fjGX:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=["#logout[_ngcontent-%COMP%]{text-align:center}"]},ggTX:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(){function e(e){this.entries=[],this.group_name=e}return e.err=function(t){console.error(e.getDateStr()+": "+t)},e.warn=function(t){console.warn(e.getDateStr()+": "+t)},e.log=function(t){console.log(e.getDateStr()+": "+t)},e.getDateStr=function(){var e=new Date;return e.toLocaleDateString()+" "+e.toLocaleTimeString()},e.prototype.addEntry=function(e,t){this.entries.push({type:e,message:t})},e.prototype.output=function(){console.groupCollapsed(this.group_name);for(var t=0;t-1?this.transcrService.segments.get(this.transcrService.selectedSegment.index):null},set:function(e){this.transcrService.segments.get(this.transcrService.selectedSegment.index).transcript},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.editor.Settings.markers=this.settingsService.markers.items,this.editor.Settings.responsive=this.appc.octra.responsive.enabled,this.subscrmanager.add(this.editor.loaded.subscribe(function(){var t=e.transcrService.selectedSegment.index;t>-1&&e.transcrService.segments&&t0&&(n=this.transcrService.segments.get(this.transcrService.selectedSegment.index-1).time.clone()),s.e.scrollTo(e,"#window"),this.loupe.Settings.boundaries.readonly=!0,this.changeArea(n,t.time)},e.prototype.ngAfterContentInit=function(){this.act.emit("open")},e.prototype.close=function(){this.showWindow=!1,this.act.emit("close")},e.prototype.open=function(){this.showWindow=!0},e.prototype.save=function(){var e=this.transcrService.selectedSegment.index;if(e>-1&&this.transcrService.segments&&e-1&&this.transcrService.segments&&t0&&(n=this.transcrService.segments.get(--this.transcrService.selectedSegment.index));var i=new s.d(0,this.audio.samplerate);this.transcrService.selectedSegment.index>0&&(i=this.transcrService.segments.get(this.transcrService.selectedSegment.index-1).time.clone()),this.editor.rawText=this.transcrService.segments.get(this.transcrService.selectedSegment.index).transcript,this.editor.focus(),this.changeArea(i,n.time)}},e.prototype.editor_rawText=function(e){this.editor.rawText=e},e.prototype.onShortCutTriggered=function(e,t){this.uiService.addElementFromEvent("shortcut",e,Date.now(),t)},e.prototype.onMarkerInsert=function(e){this.uiService.addElementFromEvent("marker_insert",{value:e},Date.now(),"editor")},e.prototype.onMarkerClick=function(e){this.uiService.addElementFromEvent("marker_click",{value:e},Date.now(),"editor")},e.prototype.onSpeedChange=function(e){this.audio.speed=e.new_value},e.prototype.afterSpeedChange=function(e){1==this.appc.octra.logging&&this.uiService.addElementFromEvent("slider",e,e.timestamp,"speed_change")},e.prototype.onVolumeChange=function(e){this.audio.volume=e.new_value},e.prototype.afterVolumeChange=function(e){1==this.appc.octra.logging&&this.uiService.addElementFromEvent("slider",e,e.timestamp,"volume_change")},e.ctorParameters=function(){return[{type:r.e},{type:r.c},{type:r.a},{type:r.b},{type:_.a}]},e}()},iOuv:function(e,t,n){"use strict";var i=n("Rw+2"),r=n("24R9"),s=n("Gvdl"),_=(n.n(s),n("d397")),h=n("a0X4"),o=n("OMJi");n.n(o);n.d(t,"a",function(){return a});var a=function(){function e(e){var t=this;this.http=e,this._audiocontext=null,this._audiobuffer=null,this._source=null,this._gainNode=null,this._channel=null,this._duration=null,this._volume=1,this._speed=1,this._audioplaying=!1,this._startplaying=0,this._endplaying=0,this._replay=!1,this._state="stopped",this._javascriptNode=null,this._paused=!1,this._stepbackward=!1,this.loaded=!1,this.loadAudio=function(e,n){void 0===n&&(n=function(){}),t.loaded=!1;var i=new r.c({responseType:r.d.ArrayBuffer});t.http.get(e,i).map(t.extractData).catch(t.handleError).subscribe(function(e){t.decodeAudio(e,n)},function(e){return t.error=e})},this.decodeAudio=function(e,i){void 0===i&&(i=function(){});var r=t.getSampleRate(e);n.i(h.a)(e,r).then(function(e){t._audiobuffer=e,t.duration=new _.a(e.length,e.sampleRate),t.gainNode=t.audiocontext.createGain(),t.source=t.getSource(),t.loaded=!0,t.afterloaded.emit({status:"success",error:""}),i()},function(){t.loaded=!1,t.afterloaded.emit({status:"error",error:"Error decoding audio file"})})};var s=window.AudioContext||window.webkitAudioContext||window.mozAudioContext||!1;s&&(this._audiocontext=new s),this.afterloaded=new i.EventEmitter,this.statechange=new i.EventEmitter}return Object.defineProperty(e.prototype,"audiobuffer",{get:function(){return this._audiobuffer},set:function(e){this._audiobuffer=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"duration",{get:function(){return this._duration},set:function(e){this._duration=e},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,"stepbackward",{get:function(){return this._stepbackward},set:function(e){this._stepbackward=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gainNode",{get:function(){return this._gainNode},set:function(e){this._gainNode=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"speed",{get:function(){return this._speed},set:function(e){e>0&&(this._speed=e,this._source.playbackRate.value=e,this.endplaying=this.endplaying*this._speed)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"audiocontext",{get:function(){return this._audiocontext},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"source",{get:function(){return this._source},set:function(e){this._source=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,"volume",{get:function(){return this._volume},set:function(e){this._volume=e,this.gainNode.gain.value=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"channel",{get:function(){return this._channel},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"audioplaying",{get:function(){return this._audioplaying},set:function(e){this._audioplaying=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startplaying",{get:function(){return this._startplaying},set:function(e){this._startplaying=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,"samplerate",{get:function(){return this._audiobuffer.sampleRate},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"javascriptNode",{get:function(){return this._javascriptNode},set:function(e){this._javascriptNode=e},enumerable:!0,configurable:!0}),e.prototype.stopPlayback=function(e){var t=this;if(void 0===e&&(e=null),!this.audioplaying)return e&&e(),!1;if(e){var n=function(){t.audioplaying=!1,e()};this.source.onended=n}return this._state="stopped",this.source.stop(0),!0},e.prototype.pausePlayback=function(){return!!this.audioplaying&&(this.paused=!0,this._state="paused",this.source.stop(0),!0)},e.prototype.startPlayback=function(e,t,n,i){var r=this;return void 0===t&&(t=new _.a(0,this.samplerate)),!this.audioplaying&&(this._state="started",this._stepbackward=!1,this.source=this.getSource(),this.source.buffer=this._audiobuffer,this.javascriptNode=this.audiocontext.createScriptProcessor(2048,1,1),this.gainNode.gain.value=this.volume,this.source.playbackRate.value=this.speed,this.source.connect(this.gainNode),this.javascriptNode.connect(this.audiocontext.destination),this.gainNode.connect(this.audiocontext.destination),this._duration.sample_rate=this.samplerate,this.audioplaying=!0,this.paused=!1,this.source.onended=function(){i(),"started"!==r._state||r.stepbackward?r.statechange.emit(r._state):r.statechange.emit("ended")},this.startplaying=(new Date).getTime(),this.endplaying=this.startplaying+t.unix,this.javascriptNode.onaudioprocess=n,t.samples<=0?this.source.start(0,e.seconds):this.source.start(0,e.seconds,t.seconds),this.statechange.emit("started"),!0)},e.prototype.rePlayback=function(){return this.replay=!this.replay,this.replay},e.prototype.stepBackward=function(e){var t=this;if(this.stepbackward=!0,this.audioplaying){this._state="backward";var n=function(){t.source.removeEventListener("ended",n),e(),t.stepbackward=!1};this.source.addEventListener("ended",n),this.source.stop(0)}else e()},e.prototype.extractData=function(e){return e.arrayBuffer()},e.prototype.getSource=function(){return this._source=this._audiocontext.createBufferSource(),this._source},e.prototype.updateChannel=function(){return this.audiobuffer?(this._channel=this.audiobuffer.getChannelData(0),this._channel):null},e.prototype.getChannelBuffer=function(e,t){if(e&&!n.i(o.isNullOrUndefined)(this.channel)){0==this.channel.length&&this.updateChannel();var i=new Float32Array(this._channel),r=i;return r=r.subarray(e.time.start.samples,e.time.end.samples)}return null},e.prototype.createNewAudiobuffer=function(e,t){for(var n=this.getChannelBuffer(e,t),i=this._audiocontext.createBuffer(this.audiobuffer.numberOfChannels,n.length,this.audiobuffer.sampleRate),r=i.getChannelData(0),s=0;s0)break;return{success:!1,error:n+"value of key '"+e+"' must be of type number greater 0"};case"margin":if("object"==typeof t&&"number"==typeof t.top&&"number"==typeof t.right&&"number"==typeof t.bottom&&"number"==typeof t.left)break;return{success:!1,error:n+"value of key '"+e+"' must be an object with attributes {top:number,right:number,bottom:number,left:number}"};case"slider":if("object"==typeof t&&"string"==typeof t.color&&"number"==typeof t.height&&t.height>-1)break;return{success:!1,error:n+"value of key '"+e+"' must an object of {color:string, height:number}"};case"cursor":if("object"==typeof t&&"string"==typeof t.color)break;return{success:!1,error:n+"value of key '"+e+"' must an object of {color:string}"};case"playcursor":if("object"==typeof t&&"number"==typeof t.height&&"number"==typeof t.width&&"string"==typeof t.color)break;return{success:!1,error:n+"value of key '"+e+"' must be an object with attributes {height:number,width:number}"};case"colors":if("object"==typeof t&&"string"==typeof t.gridcolor&&"string"==typeof t.datacolor&&"string"==typeof t.selectioncolor&&"string"==typeof t.textcolor&&"string"==typeof t.backgroundcolor&&"string"==typeof t.slidercolor&&"string"==typeof t.cursorcolor&&"string"==typeof t.playcursorcolor)break;return{success:!1,error:n+"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 t){for(var i in t)if(!t[""+i].hasOwnProperty("keys")||!t[""+i].hasOwnProperty("title")||!t[""+i].hasOwnProperty("focusonly"))return{success:!1,error:n+"value of key '"+e+"' must be an object of shortcuts. Compare custom config with sample config"};break}break;case"set_boundaries":if("boolean"!=typeof t)return{success:!1,error:n+"value of key '"+e+"' must be of type boolean"};break;default:return{success:!1,error:n+"key '"+e+"' not found"}}return{success:!0,error:""}},t}(i.a)},k0Hd:function(e,t,n){"use strict";var i=n("Rw+2"),r=n("D8Yg"),s=n("u9IK"),_=n("2Lmt");n.d(t,"a",function(){return h});var h=function(){function e(e,t,n,i){this.transcrService=e,this.audio=t,this.sanitizer=n,this.cd=i,this.segments=[],this.updating=!1,this.subscrmanager=new _.a}return Object.defineProperty(e.prototype,"numberOfSegments",{get:function(){return this.transcrService.segments?this.transcrService.segments.length:0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"transcrSegments",{get:function(){return this.transcrService.segments?this.transcrService.statistic.transcribed:0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pauseSegments",{get:function(){return this.transcrService.segments?this.transcrService.statistic.pause:0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"emptySegments",{get:function(){return this.transcrService.segments?this.transcrService.statistic.empty:0},enumerable:!0,configurable:!0}),e.prototype.updateSegments=function(){if(!this.transcrService.segments)return[];for(var e=0,t=[],n=0;n");t.push(r),e=i.time.seconds}this.segments=t},e.prototype.ngOnDestroy=function(){this.subscrmanager.destroy()},e.prototype.ngOnInit=function(){var e=this;null==this.audio.audiobuffer?(this.subscrmanager.add(this.audio.afterloaded.subscribe(function(){e.subscrmanager.add(e.transcrService.segments.onsegmentchange.subscribe(function(){e.updating||(e.updating=!0,setTimeout(function(){e.updateSegments(),e.cd.markForCheck(),e.updating=!1},1e3))})),e.updateSegments(),e.cd.markForCheck()})),this.updateSegments(),this.cd.markForCheck()):(this.subscrmanager.add(this.transcrService.segments.onsegmentchange.subscribe(function(){e.updating||(e.updating=!0,setTimeout(function(){e.updateSegments(),e.cd.markForCheck(),e.updating=!1},1e3))})),this.updateSegments(),this.cd.markForCheck())},e.prototype.sanitizeHTML=function(e){return this.sanitizer.sanitize(i.SecurityContext.HTML,e)},e.ctorParameters=function(){return[{type:s.c},{type:s.a},{type:r.c},{type:i.ChangeDetectorRef}]},e}()},kZql:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i={production:!0}},kcg8:function(e,t,n){"use strict";var i=n("zKH5"),r=n("SzqK"),s=n("DCT3"),_=n("s+lJ"),h=n("0YY0"),o=n("iOuv"),a=n("2Lmt");n.d(t,"a",function(){return l});var l=function(){function e(e,t,n,i,r,s){this.router=e,this.sessService=t,this.tranService=n,this.uiService=i,this.api=r,this.audio=s,this.subscrmanager=new a.a}return e.prototype.ngOnInit=function(){},e.prototype.ngAfterViewInit=function(){},e.prototype.ngOnDestroy=function(){this.subscrmanager.destroy()},e.prototype.leave=function(){this.sessService.submitted=!1,this.audio.audiobuffer=null,this.sessService.clearLocalStorage(),this.tranService.segments.clear(),this.router.navigate(["/logout"])},e.prototype.next=function(){var e=this;this.subscrmanager.add(this.api.beginSession("transcription","",Number(this.sessService.member_id),"").subscribe(function(t){if(null!=t){var n=t.json();n.data&&n.data.hasOwnProperty("url")&&n.data.hasOwnProperty("id")?(e.sessService.submitted=!1,e.audio.audiobuffer=null,e.sessService.transcription=[],e.tranService.segments.clear(),e.sessService.feedback=null,e.sessService.logs=[],e.uiService.elements=[],e.sessService.audio_url=n.data.url,e.sessService.data_id=n.data.id,e.router.navigate(["/user/transcr"])):e.openSuccessModal()}}))},e.prototype.openSuccessModal=function(){this.success_modal.open()},e.ctorParameters=function(){return[{type:i.a},{type:r.a},{type:s.a},{type:_.a},{type:h.a},{type:o.a}]},e}()},kke6:function(e,t,n){"use strict";var i=n("mPYt"),r=n("Iksp"),s=n("SumY"),_=n("nnRi"),h=n("MXpF"),o=n("8A5H"),a=n("RX2M"),l=n("M0cT"),c=n("vfkA"),u=n("1Z2I"),p=n("yDyO"),d=n("K/oD"),g=n("eCJc"),f=n("/I96"),x=n("afOh"),m=n("d3cp"),y=n("qsK9"),v=n("MSQt"),w=n("UyZi"),b=n("Ep2y"),C=n("WKBe"),I=n("A8b0"),k=n("as+d"),T=n("62nT"),R=n("kzcK"),E=n("VJXx"),N=n("rtll"),A=n("sWk4"),V=(n.n(A),n("QYVq")),S=n("PY0G"),O=n("6ZWU"),D=n("xBum"),P=n("hq13"),M=n("z5Ce"),j=n("2Fx2"),L=n("TnsU"),G=n("UAaV"),H=n("T5cK"),B=n("c+H2"),Y=n("DbnS"),U=n("qs5H"),W=n("urEj"),F=n("YmUE"),z=n("CXHW"),q=n("3kwk"),Q=n("gFLb"),K=n("nCuf"),X=n("qKow"),J=n("cG9e"),Z=n("ZwZs"),$=n("DDfv"),ee=n("lcaH"),te=n("gEbu"),ne=n("7DGp"),ie=n("hwnt"),re=n("c7mC"),se=n("K0TW"),_e=n("ETCP"),he=n("aKiW"),oe=n("v4DA"),ae=n("tyH+"),le=n("MuAL"),ce=n("yb2a"),ue=n("9MX5"),pe=n("2wEa"),de=n("waeV"),ge=n("pAs5"),fe=n("e3X+"),xe=n("sXiW"),me=n("dTHC"),ye=n("Sv80"),ve=n("Kzgc"),we=n("6hj+"),be=n("WtPQ"),Ce=n("eHnQ"),Ie=n("UHEq"),ke=n("tUB6"),Te=n("VlDj"),Re=n("EnoY"),Ee=n("SzqK"),Ne=n("onOQ"),Ae=n("iOuv"),Ve=n("uJIb"),Se=n("0YY0"),Oe=n("8irj"),De=n("0HDV"),Pe=n("FUnf"),Me=n("nFqB"),je=n("9o9e"),Le=n("yUTl"),Ge=n("uVKT"),He=n("To3R"),Be=n("wGSH"),Ye=n("7ldD"),Ue=n("h+Bk"),We=n("IiyU"),Fe=n("2NoN"),ze=n("xiEB"),qe=n("SDm3"),Qe=n("jtp5"),Ke=n("+ZL6"),Xe=n("AG9Q"),Je=n("9IH/"),Ze=n("Iz4s"),$e=n("9a/J"),et=n("l2Gd"),tt=n("aefM"),nt=n("1A80"),it=n("+uD9"),rt=n("cnHn"),st=n("fQgb"),_t=n("qXRy"),ht=n("982l"),ot=n("5fxb"),at=n("pNKU"),lt=n("Tb/U"),ct=n("VY18"),ut=n("Zx1A"),pt=n("MbRa"),dt=n("CF31"),gt=n("pphD"),ft=n("kcg8"),xt=n("5JeX"),mt=n("C4bB"),yt=n("fTff"),vt=n("3UAB"),wt=n("uc9x"),bt=n("88Kh"),Ct=n("M2ac"),It=n("c2UE"),kt=n("QZA1"),Tt=n("5CeK"),Rt=n("ikuj"),Et=n("Bor2"),Nt=n("EezI"),At=n("FvJ4"),Vt=n("yfN+"),St=n("Cpl4"),Ot=n("tFPf"),Dt=n("LVOp");n.d(t,"a",function(){return jt});var Pt=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Mt=function(e){function t(t){return e.call(this,t,[Ye.a,Ue.a,We.a,Fe.a,ze.a,qe.a,Qe.a,Ke.a,Xe.a,Je.a,Ze.a,$e.a,et.a,tt.a,nt.a],[nt.a])||this}return Pt(t,e),Object.defineProperty(t.prototype,"_LOCALE_ID_31",{get:function(){return null==this.__LOCALE_ID_31&&(this.__LOCALE_ID_31=_.b(this.parent.get(it.c,null))),this.__LOCALE_ID_31},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_NgLocalization_32",{get:function(){return null==this.__NgLocalization_32&&(this.__NgLocalization_32=new S.c(this._LOCALE_ID_31)),this.__NgLocalization_32},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_ApplicationRef_37",{get:function(){return null==this.__ApplicationRef_37&&(this.__ApplicationRef_37=this._ApplicationRef__36),this.__ApplicationRef_37},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_Compiler_38",{get:function(){return null==this.__Compiler_38&&(this.__Compiler_38=new M.b),this.__Compiler_38},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_APP_ID_39",{get:function(){return null==this.__APP_ID_39&&(this.__APP_ID_39=rt.f()),this.__APP_ID_39},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_DOCUMENT_40",{get:function(){return null==this.__DOCUMENT_40&&(this.__DOCUMENT_40=h.a()),this.__DOCUMENT_40},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_HAMMER_GESTURE_CONFIG_41",{get:function(){return null==this.__HAMMER_GESTURE_CONFIG_41&&(this.__HAMMER_GESTURE_CONFIG_41=new j.a),this.__HAMMER_GESTURE_CONFIG_41},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_EVENT_MANAGER_PLUGINS_42",{get:function(){return null==this.__EVENT_MANAGER_PLUGINS_42&&(this.__EVENT_MANAGER_PLUGINS_42=[new st.a,new _t.a,new j.b(this._HAMMER_GESTURE_CONFIG_41)]),this.__EVENT_MANAGER_PLUGINS_42},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_EventManager_43",{get:function(){return null==this.__EventManager_43&&(this.__EventManager_43=new L.a(this._EVENT_MANAGER_PLUGINS_42,this.parent.get(ht.a))),this.__EventManager_43},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_AnimationDriver_45",{get:function(){return null==this.__AnimationDriver_45&&(this.__AnimationDriver_45=h.b()),this.__AnimationDriver_45},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_DomRootRenderer_46",{get:function(){return null==this.__DomRootRenderer_46&&(this.__DomRootRenderer_46=new H.a(this._DOCUMENT_40,this._EventManager_43,this._DomSharedStylesHost_44,this._AnimationDriver_45,this._APP_ID_39)),this.__DomRootRenderer_46},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_NgProbeToken_47",{get:function(){return null==this.__NgProbeToken_47&&(this.__NgProbeToken_47=[V.a()]),this.__NgProbeToken_47},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_RootRenderer_48",{get:function(){return null==this.__RootRenderer_48&&(this.__RootRenderer_48=ot.a(this._DomRootRenderer_46,this.parent.get(ot.b,null),this._NgProbeToken_47)),this.__RootRenderer_48},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_DomSanitizer_49",{get:function(){return null==this.__DomSanitizer_49&&(this.__DomSanitizer_49=new B.a),this.__DomSanitizer_49},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_Sanitizer_50",{get:function(){return null==this.__Sanitizer_50&&(this.__Sanitizer_50=this._DomSanitizer_49),this.__Sanitizer_50},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_AnimationQueue_51",{get:function(){return null==this.__AnimationQueue_51&&(this.__AnimationQueue_51=new Y.a(this.parent.get(ht.a))),this.__AnimationQueue_51},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_ViewUtils_52",{get:function(){return null==this.__ViewUtils_52&&(this.__ViewUtils_52=new U.ViewUtils(this._RootRenderer_48,this._Sanitizer_50,this._AnimationQueue_51)),this.__ViewUtils_52},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_IterableDiffers_53",{get:function(){return null==this.__IterableDiffers_53&&(this.__IterableDiffers_53=_.c()),this.__IterableDiffers_53},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_KeyValueDiffers_54",{get:function(){return null==this.__KeyValueDiffers_54&&(this.__KeyValueDiffers_54=_.d()),this.__KeyValueDiffers_54},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_SharedStylesHost_55",{get:function(){return null==this.__SharedStylesHost_55&&(this.__SharedStylesHost_55=this._DomSharedStylesHost_44),this.__SharedStylesHost_55},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_Title_56",{get:function(){return null==this.__Title_56&&(this.__Title_56=new W.a),this.__Title_56},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_RadioControlRegistry_57",{get:function(){return null==this.__RadioControlRegistry_57&&(this.__RadioControlRegistry_57=new F.a),this.__RadioControlRegistry_57},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_NgbModalStack_58",{get:function(){return null==this.__NgbModalStack_58&&(this.__NgbModalStack_58=new z.a(this._ApplicationRef_37,this,this)),this.__NgbModalStack_58},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_NgbModal_59",{get:function(){return null==this.__NgbModal_59&&(this.__NgbModal_59=new q.a(this,this,this._NgbModalStack_58)),this.__NgbModal_59},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_NgbAlertConfig_60",{get:function(){return null==this.__NgbAlertConfig_60&&(this.__NgbAlertConfig_60=new Q.a),this.__NgbAlertConfig_60},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_NgbProgressbarConfig_61",{get:function(){return null==this.__NgbProgressbarConfig_61&&(this.__NgbProgressbarConfig_61=new K.a),this.__NgbProgressbarConfig_61},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_NgbTooltipConfig_62",{get:function(){return null==this.__NgbTooltipConfig_62&&(this.__NgbTooltipConfig_62=new X.a),this.__NgbTooltipConfig_62},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_NgbTypeaheadConfig_63",{get:function(){return null==this.__NgbTypeaheadConfig_63&&(this.__NgbTypeaheadConfig_63=new J.a),this.__NgbTypeaheadConfig_63},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_NgbAccordionConfig_64",{get:function(){return null==this.__NgbAccordionConfig_64&&(this.__NgbAccordionConfig_64=new Z.a),this.__NgbAccordionConfig_64},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_NgbCarouselConfig_65",{get:function(){return null==this.__NgbCarouselConfig_65&&(this.__NgbCarouselConfig_65=new $.a),this.__NgbCarouselConfig_65},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_NgbCalendar_66",{get:function(){return null==this.__NgbCalendar_66&&(this.__NgbCalendar_66=new ee.a),this.__NgbCalendar_66},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_NgbDatepickerI18n_67",{get:function(){return null==this.__NgbDatepickerI18n_67&&(this.__NgbDatepickerI18n_67=new te.a),this.__NgbDatepickerI18n_67},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_NgbDateParserFormatter_68",{get:function(){return null==this.__NgbDateParserFormatter_68&&(this.__NgbDateParserFormatter_68=new ne.a),this.__NgbDateParserFormatter_68},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_NgbDatepickerConfig_69",{get:function(){return null==this.__NgbDatepickerConfig_69&&(this.__NgbDatepickerConfig_69=new ie.a),this.__NgbDatepickerConfig_69},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_NgbDropdownConfig_70",{get:function(){return null==this.__NgbDropdownConfig_70&&(this.__NgbDropdownConfig_70=new re.a),this.__NgbDropdownConfig_70},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_NgbPaginationConfig_71",{get:function(){return null==this.__NgbPaginationConfig_71&&(this.__NgbPaginationConfig_71=new se.a),this.__NgbPaginationConfig_71},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_NgbPopoverConfig_72",{get:function(){return null==this.__NgbPopoverConfig_72&&(this.__NgbPopoverConfig_72=new _e.a),this.__NgbPopoverConfig_72},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_NgbRatingConfig_73",{get:function(){return null==this.__NgbRatingConfig_73&&(this.__NgbRatingConfig_73=new he.a),this.__NgbRatingConfig_73},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_NgbTabsetConfig_74",{get:function(){return null==this.__NgbTabsetConfig_74&&(this.__NgbTabsetConfig_74=new oe.a),this.__NgbTabsetConfig_74},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_NgbTimepickerConfig_75",{get:function(){return null==this.__NgbTimepickerConfig_75&&(this.__NgbTimepickerConfig_75=new ae.a),this.__NgbTimepickerConfig_75},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_BrowserXhr_76",{get:function(){return null==this.__BrowserXhr_76&&(this.__BrowserXhr_76=new le.a),this.__BrowserXhr_76},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_ResponseOptions_77",{get:function(){return null==this.__ResponseOptions_77&&(this.__ResponseOptions_77=new ce.a),this.__ResponseOptions_77},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_XSRFStrategy_78",{get:function(){return null==this.__XSRFStrategy_78&&(this.__XSRFStrategy_78=E.a()),this.__XSRFStrategy_78},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_XHRBackend_79",{get:function(){return null==this.__XHRBackend_79&&(this.__XHRBackend_79=new ue.a(this._BrowserXhr_76,this._ResponseOptions_77,this._XSRFStrategy_78)),this.__XHRBackend_79},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_RequestOptions_80",{get:function(){return null==this.__RequestOptions_80&&(this.__RequestOptions_80=new pe.a),this.__RequestOptions_80},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_Http_81",{get:function(){return null==this.__Http_81&&(this.__Http_81=E.b(this._XHRBackend_79,this._RequestOptions_80)),this.__Http_81},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_BrowserJsonp_82",{get:function(){return null==this.__BrowserJsonp_82&&(this.__BrowserJsonp_82=new de.a),this.__BrowserJsonp_82},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_JSONPBackend_83",{get:function(){return null==this.__JSONPBackend_83&&(this.__JSONPBackend_83=new ge.a(this._BrowserJsonp_82,this._ResponseOptions_77)),this.__JSONPBackend_83},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_Jsonp_84",{get:function(){return null==this.__Jsonp_84&&(this.__Jsonp_84=E.c(this._JSONPBackend_83,this._RequestOptions_80)),this.__Jsonp_84},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_SessionStorageService_85",{get:function(){return null==this.__SessionStorageService_85&&(this.__SessionStorageService_85=new fe.a),this.__SessionStorageService_85},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_LocalStorageService_86",{get:function(){return null==this.__LocalStorageService_86&&(this.__LocalStorageService_86=new xe.a),this.__LocalStorageService_86},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_FormBuilder_87",{get:function(){return null==this.__FormBuilder_87&&(this.__FormBuilder_87=new me.a),this.__FormBuilder_87},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_TranslateLoader_88",{get:function(){return null==this.__TranslateLoader_88&&(this.__TranslateLoader_88=r.a(this._Http_81)),this.__TranslateLoader_88},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_TranslateParser_89",{get:function(){return null==this.__TranslateParser_89&&(this.__TranslateParser_89=new ye.a),this.__TranslateParser_89},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_MissingTranslationHandler_90",{get:function(){return null==this.__MissingTranslationHandler_90&&(this.__MissingTranslationHandler_90=new ve.a),this.__MissingTranslationHandler_90},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_TranslateStore_91",{get:function(){return null==this.__TranslateStore_91&&(this.__TranslateStore_91=new we.a),this.__TranslateStore_91},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_USE_STORE_92",{get:function(){return null==this.__USE_STORE_92&&(this.__USE_STORE_92=void 0),this.__USE_STORE_92},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_TranslateService_93",{get:function(){return null==this.__TranslateService_93&&(this.__TranslateService_93=new be.a(this._TranslateStore_91,this._TranslateLoader_88,this._TranslateParser_89,this._MissingTranslationHandler_90,this._USE_STORE_92)),this.__TranslateService_93},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_ROUTER_CONFIGURATION_94",{get:function(){return null==this.__ROUTER_CONFIGURATION_94&&(this.__ROUTER_CONFIGURATION_94={}),this.__ROUTER_CONFIGURATION_94},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_LocationStrategy_95",{get:function(){return null==this.__LocationStrategy_95&&(this.__LocationStrategy_95=V.b(this.parent.get(at.a),this.parent.get(lt.b,null),this._ROUTER_CONFIGURATION_94)),this.__LocationStrategy_95},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_Location_96",{get:function(){return null==this.__Location_96&&(this.__Location_96=new Ce.a(this._LocationStrategy_95)),this.__Location_96},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_UrlSerializer_97",{get:function(){return null==this.__UrlSerializer_97&&(this.__UrlSerializer_97=new Ie.a),this.__UrlSerializer_97},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_RouterOutletMap_98",{get:function(){return null==this.__RouterOutletMap_98&&(this.__RouterOutletMap_98=new ke.a),this.__RouterOutletMap_98},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_NgModuleFactoryLoader_99",{get:function(){return null==this.__NgModuleFactoryLoader_99&&(this.__NgModuleFactoryLoader_99=new Te.a(this._Compiler_38,this.parent.get(Te.b,null))),this.__NgModuleFactoryLoader_99},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_ROUTES_100",{get:function(){return null==this.__ROUTES_100&&(this.__ROUTES_100=[[{path:"",redirectTo:"/login",pathMatch:"full"},{path:"login",component:ct.a,canActivate:[Ge.a,Ne.a]},{path:"logout",component:ut.a,canActivate:[Ge.a,Me.a]},{path:"user",component:pt.a,children:[{path:"",redirectTo:"transcr",pathMatch:"full"},{path:"transcr",component:dt.a,canActivate:[Ge.a,je.a]},{path:"transcr/submit",component:gt.a},{path:"transcr/submitted",component:ft.a,canActivate:[Ge.a,He.a]},{path:"transcr/reload-file",component:xt.a,canActivate:[Ge.a]}]},{path:"user",component:pt.a},{path:"**",redirectTo:"/login"}]]),this.__ROUTES_100},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_Router_101",{get:function(){return null==this.__Router_101&&(this.__Router_101=V.c(this._ApplicationRef_37,this._UrlSerializer_97,this._RouterOutletMap_98,this._Location_96,this,this._NgModuleFactoryLoader_99,this._Compiler_38,this._ROUTES_100,this._ROUTER_CONFIGURATION_94,this.parent.get(mt.a,null),this.parent.get(yt.a,null))),this.__Router_101},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_ActivatedRoute_102",{get:function(){return null==this.__ActivatedRoute_102&&(this.__ActivatedRoute_102=V.d(this._Router_101)),this.__ActivatedRoute_102},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_PreloadAllModules_106",{get:function(){return null==this.__PreloadAllModules_106&&(this.__PreloadAllModules_106=new Re.a),this.__PreloadAllModules_106},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_ROUTER_INITIALIZER_107",{get:function(){return null==this.__ROUTER_INITIALIZER_107&&(this.__ROUTER_INITIALIZER_107=V.e(this._Router_101,this._ApplicationRef_37,this._RouterPreloader_105,this._ROUTER_CONFIGURATION_94)),this.__ROUTER_INITIALIZER_107},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_APP_BOOTSTRAP_LISTENER_108",{get:function(){return null==this.__APP_BOOTSTRAP_LISTENER_108&&(this.__APP_BOOTSTRAP_LISTENER_108=[this._ROUTER_INITIALIZER_107]),this.__APP_BOOTSTRAP_LISTENER_108},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_SessionService_109",{get:function(){return null==this.__SessionService_109&&(this.__SessionService_109=new Ee.a(this._SessionStorageService_85,this._LocalStorageService_86)),this.__SessionService_109},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_ALoginGuard_110",{get:function(){return null==this.__ALoginGuard_110&&(this.__ALoginGuard_110=new Ne.a(this._SessionService_109,this._Router_101)),this.__ALoginGuard_110},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_AudioService_111",{get:function(){return null==this.__AudioService_111&&(this.__AudioService_111=new Ae.a(this._Http_81)),this.__AudioService_111},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_AudioviewerConfig_112",{get:function(){return null==this.__AudioviewerConfig_112&&(this.__AudioviewerConfig_112=new Ve.a),this.__AudioviewerConfig_112},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_APIService_113",{get:function(){return null==this.__APIService_113&&(this.__APIService_113=new Se.a(this._Http_81,this._DomSanitizer_49)),this.__APIService_113},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_DeALoginGuard_114",{get:function(){return null==this.__DeALoginGuard_114&&(this.__DeALoginGuard_114=new Oe.a),this.__DeALoginGuard_114},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_ModalService_115",{get:function(){return null==this.__ModalService_115&&(this.__ModalService_115=new De.a),this.__ModalService_115},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_KeymappingService_116",{get:function(){return null==this.__KeymappingService_116&&(this.__KeymappingService_116=new Pe.a),this.__KeymappingService_116},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_LogoutGuard_117",{get:function(){return null==this.__LogoutGuard_117&&(this.__LogoutGuard_117=new Me.a(this._SessionService_109,this._Router_101)),this.__LogoutGuard_117},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_MembersAreaGuard_118",{get:function(){return null==this.__MembersAreaGuard_118&&(this.__MembersAreaGuard_118=new je.a(this._SessionService_109,this._Router_101)),this.__MembersAreaGuard_118},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_SettingsService_119",{get:function(){return null==this.__SettingsService_119&&(this.__SettingsService_119=new Le.a(this._Http_81)),this.__SettingsService_119},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_SettingsGuard_120",{get:function(){return null==this.__SettingsGuard_120&&(this.__SettingsGuard_120=new Ge.a(this._SessionService_109,this._Router_101,this._SettingsService_119)),this.__SettingsGuard_120},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_TranscrSubmittedGuard_121",{get:function(){return null==this.__TranscrSubmittedGuard_121&&(this.__TranscrSubmittedGuard_121=new He.a(this._SessionService_109,this._Router_101)),this.__TranscrSubmittedGuard_121},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_NavbarService_122",{get:function(){return null==this.__NavbarService_122&&(this.__NavbarService_122=new Be.a),this.__NavbarService_122},enumerable:!0,configurable:!0}),t.prototype.createInternal=function(){return this._CommonModule_0=new s.a,this._ApplicationModule_1=new _.a,this._BrowserModule_2=new h.c(this.parent.get(h.c,null)),this._TranslateModule_3=new o.a,this._NgbAlertModule_4=new a.a,this._NgbButtonsModule_5=new l.a,this._NgbCollapseModule_6=new c.a,this._NgbProgressbarModule_7=new u.a,this._NgbTooltipModule_8=new p.a,this._NgbTypeaheadModule_9=new d.a,this._NgbAccordionModule_10=new g.a,this._NgbCarouselModule_11=new f.a,this._InternalFormsSharedModule_12=new x.a,this._FormsModule_13=new m.a,this._NgbDatepickerModule_14=new y.a,this._NgbDropdownModule_15=new v.a,this._NgbModalModule_16=new w.a,this._NgbPaginationModule_17=new b.a,this._NgbPopoverModule_18=new C.a,this._NgbRatingModule_19=new I.a,this._NgbTabsetModule_20=new k.a,this._NgbTimepickerModule_21=new T.a,this._NgbRootModule_22=new R.a,this._HttpModule_23=new E.d,this._JsonpModule_24=new E.e,this._Ng2Webstorage_25=new N.Ng2Webstorage,this._Ng2Bs3ModalModule_26=new A.Ng2Bs3ModalModule,this._ReactiveFormsModule_27=new m.b,this._ROUTER_FORROOT_GUARD_28=V.f(this.parent.get(vt.a,null)),this._RouterModule_29=new V.g(this._ROUTER_FORROOT_GUARD_28),this._AppModule_30=new r.b,this._ErrorHandler_33=h.d(),this._ApplicationInitStatus_34=new O.b(this.parent.get(O.a,null)),this._Testability_35=new D.a(this.parent.get(ht.a)),this._ApplicationRef__36=new P.k(this.parent.get(ht.a),this.parent.get(wt.a),this,this._ErrorHandler_33,this,this._ApplicationInitStatus_34,this.parent.get(D.b,null),this._Testability_35),this._DomSharedStylesHost_44=new G.a(this._DOCUMENT_40),this._NoPreloading_103=new Re.b,this._PreloadingStrategy_104=this._NoPreloading_103,this._RouterPreloader_105=new Re.c(this._Router_101,this._NgModuleFactoryLoader_99,this._Compiler_38,this,this._PreloadingStrategy_104),this._AppModule_30},t.prototype.getInternal=function(e,t){return e===s.a?this._CommonModule_0:e===_.a?this._ApplicationModule_1:e===h.c?this._BrowserModule_2:e===o.a?this._TranslateModule_3:e===a.a?this._NgbAlertModule_4:e===l.a?this._NgbButtonsModule_5:e===c.a?this._NgbCollapseModule_6:e===u.a?this._NgbProgressbarModule_7:e===p.a?this._NgbTooltipModule_8:e===d.a?this._NgbTypeaheadModule_9:e===g.a?this._NgbAccordionModule_10:e===f.a?this._NgbCarouselModule_11:e===x.a?this._InternalFormsSharedModule_12:e===m.a?this._FormsModule_13:e===y.a?this._NgbDatepickerModule_14:e===v.a?this._NgbDropdownModule_15:e===w.a?this._NgbModalModule_16:e===b.a?this._NgbPaginationModule_17:e===C.a?this._NgbPopoverModule_18:e===I.a?this._NgbRatingModule_19:e===k.a?this._NgbTabsetModule_20:e===T.a?this._NgbTimepickerModule_21:e===R.a?this._NgbRootModule_22:e===E.d?this._HttpModule_23:e===E.e?this._JsonpModule_24:e===N.Ng2Webstorage?this._Ng2Webstorage_25:e===A.Ng2Bs3ModalModule?this._Ng2Bs3ModalModule_26:e===m.b?this._ReactiveFormsModule_27:e===V.h?this._ROUTER_FORROOT_GUARD_28:e===V.g?this._RouterModule_29:e===r.b?this._AppModule_30:e===it.c?this._LOCALE_ID_31:e===S.a?this._NgLocalization_32:e===bt.a?this._ErrorHandler_33:e===O.b?this._ApplicationInitStatus_34:e===D.a?this._Testability_35:e===P.k?this._ApplicationRef__36:e===P.f?this._ApplicationRef_37:e===M.b?this._Compiler_38:e===rt.a?this._APP_ID_39:e===Ct.a?this._DOCUMENT_40:e===j.c?this._HAMMER_GESTURE_CONFIG_41:e===L.b?this._EVENT_MANAGER_PLUGINS_42:e===L.a?this._EventManager_43:e===G.a?this._DomSharedStylesHost_44:e===It.a?this._AnimationDriver_45:e===H.b?this._DomRootRenderer_46:e===P.j?this._NgProbeToken_47:e===kt.b?this._RootRenderer_48:e===B.b?this._DomSanitizer_49:e===Tt.a?this._Sanitizer_50:e===Y.a?this._AnimationQueue_51:e===U.ViewUtils?this._ViewUtils_52:e===Rt.a?this._IterableDiffers_53:e===Et.a?this._KeyValueDiffers_54:e===G.b?this._SharedStylesHost_55:e===W.a?this._Title_56:e===F.a?this._RadioControlRegistry_57:e===z.a?this._NgbModalStack_58:e===q.a?this._NgbModal_59:e===Q.a?this._NgbAlertConfig_60:e===K.a?this._NgbProgressbarConfig_61:e===X.a?this._NgbTooltipConfig_62:e===J.a?this._NgbTypeaheadConfig_63:e===Z.a?this._NgbAccordionConfig_64:e===$.a?this._NgbCarouselConfig_65:e===ee.b?this._NgbCalendar_66:e===te.b?this._NgbDatepickerI18n_67:e===ne.b?this._NgbDateParserFormatter_68:e===ie.a?this._NgbDatepickerConfig_69:e===re.a?this._NgbDropdownConfig_70:e===se.a?this._NgbPaginationConfig_71:e===_e.a?this._NgbPopoverConfig_72:e===he.a?this._NgbRatingConfig_73:e===oe.a?this._NgbTabsetConfig_74:e===ae.a?this._NgbTimepickerConfig_75:e===le.a?this._BrowserXhr_76:e===ce.b?this._ResponseOptions_77:e===Nt.a?this._XSRFStrategy_78:e===ue.a?this._XHRBackend_79:e===pe.b?this._RequestOptions_80:e===At.a?this._Http_81:e===de.a?this._BrowserJsonp_82:e===ge.b?this._JSONPBackend_83:e===At.b?this._Jsonp_84:e===fe.a?this._SessionStorageService_85:e===xe.a?this._LocalStorageService_86:e===me.a?this._FormBuilder_87:e===Vt.a?this._TranslateLoader_88:e===ye.b?this._TranslateParser_89:e===ve.b?this._MissingTranslationHandler_90:e===we.a?this._TranslateStore_91:e===be.b?this._USE_STORE_92:e===be.a?this._TranslateService_93:e===V.i?this._ROUTER_CONFIGURATION_94:e===lt.a?this._LocationStrategy_95:e===Ce.a?this._Location_96:e===Ie.b?this._UrlSerializer_97:e===ke.a?this._RouterOutletMap_98:e===St.b?this._NgModuleFactoryLoader_99:e===Ot.a?this._ROUTES_100:e===vt.a?this._Router_101:e===Dt.a?this._ActivatedRoute_102:e===Re.b?this._NoPreloading_103:e===Re.d?this._PreloadingStrategy_104:e===Re.c?this._RouterPreloader_105:e===Re.a?this._PreloadAllModules_106:e===V.j?this._ROUTER_INITIALIZER_107:e===rt.d?this._APP_BOOTSTRAP_LISTENER_108:e===Ee.a?this._SessionService_109:e===Ne.a?this._ALoginGuard_110:e===Ae.a?this._AudioService_111:e===Ve.a?this._AudioviewerConfig_112:e===Se.a?this._APIService_113:e===Oe.a?this._DeALoginGuard_114:e===De.a?this._ModalService_115:e===Pe.a?this._KeymappingService_116:e===Me.a?this._LogoutGuard_117:e===je.a?this._MembersAreaGuard_118:e===Le.a?this._SettingsService_119:e===Ge.a?this._SettingsGuard_120:e===He.a?this._TranscrSubmittedGuard_121:e===Be.a?this._NavbarService_122:t},t.prototype.destroyInternal=function(){this._ApplicationRef__36.ngOnDestroy(),this._DomSharedStylesHost_44.ngOnDestroy(),this._RouterPreloader_105.ngOnDestroy()},t}(i.a),jt=new i.b(Mt,r.b)},kyFU:function(e,t,n){"use strict";var i=n("d397");n.d(t,"a",function(){return r});var r=function(){function e(e){this.time=e,this._transcript=""}return Object.defineProperty(e.prototype,"transcript",{get:function(){return this._transcript},set:function(e){this._transcript=e},enumerable:!0,configurable:!0}),e.prototype.clone=function(){var t=new e(this.time.clone());return t.transcript=this.transcript,t},e.prototype.toAny=function(){return{transcript:this._transcript,time:this.time.toAny()}},e.fromAny=function(t){if(t){var n=new e(i.a.fromAny(t.time));return t.transcript&&(n._transcript=t.transcript),n}return null},e}()},l2Gd:function(e,t,n){"use strict";var i=n("kcg8"),r=n("R2h3"),s=n("qs5H"),_=n("TTjD"),h=n("jzTW"),o=n("gWLF"),a=n("vU4g"),l=n("3UAB"),c=n("SzqK"),u=n("DCT3"),p=n("s+lJ"),d=n("0YY0"),g=n("iOuv"),f=n("vSHF"),x=n("qbqm"),m=n("S7tg"),y=(n.n(m),n("uoqx")),v=n("TfAg"),w=(n.n(v),n("xAcN")),b=n("xsyV"),C=(n.n(b),n("vhkd")),I=n("dUUf"),k=(n.n(I),n("5MSB")),T=n("dJaa");n.d(t,"a",function(){return V});var R=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),E=function(){function e(e,t,n,r,s,_){this._changed=!1,this.context=new i.a(e,t,n,r,s,_)}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){this.context.ngOnDestroy()},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,n||0===e.numberOfChecks&&this.context.ngOnInit(),i},e.prototype.checkHost=function(e,t,n,i){},e.prototype.handleEvent=function(e,t){return!0},e.prototype.subscribe=function(e,t){this._eventHandler=t},e}(),N=s.createRenderComponentType("",0,_.b.None,[],{}),A=function(e){function t(n,i,r,s){return e.call(this,t,N,h.a.HOST,n,i,r,s,o.b.CheckAlways)||this}return R(t,e),t.prototype.createInternal=function(e){return this._el_0=s.selectOrCreateRenderHostElement(this.renderer,"app-transcription-submitted",s.EMPTY_INLINE_ARRAY,e,null),this.compView_0=new D(this.viewUtils,this,0,this._el_0),this._TranscriptionSubmittedComponent_0_3=new E(this.injectorGet(l.a,this.parentIndex),this.injectorGet(c.a,this.parentIndex),this.injectorGet(u.a,this.parentIndex),this.injectorGet(p.a,this.parentIndex),this.injectorGet(d.a,this.parentIndex),this.injectorGet(g.a,this.parentIndex)),this.compView_0.create(this._TranscriptionSubmittedComponent_0_3.context),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0],null),new a.a(0,this,this._el_0,this._TranscriptionSubmittedComponent_0_3.context)},t.prototype.injectorGetInternal=function(e,t,n){return e===i.a&&0===t?this._TranscriptionSubmittedComponent_0_3.context:n},t.prototype.detectChangesInternal=function(e){this._TranscriptionSubmittedComponent_0_3.ngDoCheck(this,this._el_0,e),this.compView_0.internalDetectChanges(e),e||0===this.numberOfChecks&&this._TranscriptionSubmittedComponent_0_3.context.ngAfterViewInit()},t.prototype.destroyInternal=function(){this.compView_0.destroy(),this._TranscriptionSubmittedComponent_0_3.ngOnDestroy()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t}(r.a),V=new a.b("app-transcription-submitted",A,i.a),S=[f.a],O=s.createRenderComponentType("",0,_.b.Emulated,S,{}),D=function(e){function t(n,i,r,s){return e.call(this,t,O,h.a.COMPONENT,n,i,r,s,o.b.CheckAlways)||this}return R(t,e),t.prototype.createInternal=function(e){var t=this.renderer.createViewRoot(this.parentElement);this._viewQuery_success_0=new x.a,this._el_0=s.createRenderElement(this.renderer,t,"modal",new s.InlineArray8(8,"class","modal","id","transcription_success","role","dialog","tabindex","-1"),null),this.compView_0=new y.a(this.viewUtils,this,0,this._el_0),this._ModalComponent_0_3=new y.b(new T.a(this._el_0)),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=s.createRenderElement(this.renderer,null,"modal-header",s.EMPTY_INLINE_ARRAY,null),this.compView_2=new w.a(this.viewUtils,this,2,this._el_2),this._ModalHeaderComponent_2_3=new w.b(this._ModalComponent_0_3.context),this._text_3=this.renderer.createText(null,"\n ",null),this._el_4=s.createRenderElement(this.renderer,null,"h4",new s.InlineArray2(2,"class","modal-title"),null),this._text_5=this.renderer.createText(this._el_4,"Herzlichen Glückwunsch!",null),this._text_6=this.renderer.createText(null,"\n ",null),this.compView_2.create(this._ModalHeaderComponent_2_3.context),this._text_7=this.renderer.createText(null,"\n ",null),this._el_8=s.createRenderElement(this.renderer,null,"modal-body",s.EMPTY_INLINE_ARRAY,null),this.compView_8=new C.a(this.viewUtils,this,8,this._el_8),this._ModalBodyComponent_8_3=new C.b,this._text_9=this.renderer.createText(null,"\n ",null),this._el_10=s.createRenderElement(this.renderer,null,"p",s.EMPTY_INLINE_ARRAY,null),this._text_11=this.renderer.createText(this._el_10,"Die Transkription der verfügbaren Audiodateien ist abgeschlossen.",null),this._el_12=s.createRenderElement(this.renderer,this._el_10,"br",s.EMPTY_INLINE_ARRAY,null),this._text_13=this.renderer.createText(this._el_10,"\n Um die Studie abzuschließen füllen Sie bitte folgende Umfrage aus (6 kurze Fragen): ",null),this._el_14=s.createRenderElement(this.renderer,this._el_10,"a",new s.InlineArray4(4,"href","https://goo.gl/forms/jVZkQyFXjPeGaGQx2","target","_blank"),null),this._text_15=this.renderer.createText(this._el_14,"Zur kurzen Umfrage",null),this._text_16=this.renderer.createText(this._el_10,"\n ",null),this._el_17=s.createRenderElement(this.renderer,this._el_10,"br",s.EMPTY_INLINE_ARRAY,null),this._el_18=s.createRenderElement(this.renderer,this._el_10,"br",s.EMPTY_INLINE_ARRAY,null),this._text_19=this.renderer.createText(this._el_10,"\n Vielen Dank für Ihre Teilnahme.\n ",null),this._text_20=this.renderer.createText(null,"\n ",null),this.compView_8.create(this._ModalBodyComponent_8_3.context),this._text_21=this.renderer.createText(null,"\n ",null),this._el_22=s.createRenderElement(this.renderer,null,"modal-footer",s.EMPTY_INLINE_ARRAY,null),this.compView_22=new k.a(this.viewUtils,this,22,this._el_22),this._ModalFooterComponent_22_3=new k.b(this._ModalComponent_0_3.context),this._text_23=this.renderer.createText(null,"\n ",null),this._el_24=s.createRenderElement(this.renderer,null,"button",new s.InlineArray8(6,"class","btn btn-default","data-dismiss","modal","type","button"),null),this._text_25=this.renderer.createText(this._el_24,"Schließen\n ",null),this._text_26=this.renderer.createText(null,"\n ",null),this.compView_22.create(this._ModalFooterComponent_22_3.context),this._text_27=this.renderer.createText(null,"\n",null),this.compView_0.create(this._ModalComponent_0_3.context),this._text_28=this.renderer.createText(t,"\n",null),this._el_29=s.createRenderElement(this.renderer,t,"div",new s.InlineArray2(2,"id","transcr-submitted"),null),this._text_30=this.renderer.createText(this._el_29,"\n ",null),this._el_31=s.createRenderElement(this.renderer,this._el_29,"div",new s.InlineArray4(4,"class","container","style","width:900px;"),null),this._text_32=this.renderer.createText(this._el_31,"\n ",null),this._el_33=s.createRenderElement(this.renderer,this._el_31,"div",new s.InlineArray2(2,"class","well well-large"),null),this._text_34=this.renderer.createText(this._el_33,"\n ",null),this._el_35=s.createRenderElement(this.renderer,this._el_33,"h4",s.EMPTY_INLINE_ARRAY,null),this._text_36=this.renderer.createText(this._el_35,"Transkript erfolgreich übertragen",null),this._text_37=this.renderer.createText(this._el_33,"\n ",null),this._el_38=s.createRenderElement(this.renderer,this._el_33,"p",s.EMPTY_INLINE_ARRAY,null),this._text_39=this.renderer.createText(this._el_38,"Ihr Transkript wurde erfolgreich übertragen.",null),this._el_40=s.createRenderElement(this.renderer,this._el_38,"br",s.EMPTY_INLINE_ARRAY,null),this._el_41=s.createRenderElement(this.renderer,this._el_38,"br",s.EMPTY_INLINE_ARRAY,null),this._text_42=this.renderer.createText(this._el_38,"\n\n Was möchten Sie nun tun?\n ",null),this._text_43=this.renderer.createText(this._el_33,"\n\n ",null),this._el_44=s.createRenderElement(this.renderer,this._el_33,"a",new s.InlineArray4(4,"class","btn btn-raised btn-default","style","width:49%;"),null),this._text_45=this.renderer.createText(this._el_44,"Beenden und später fortfahren",null),this._text_46=this.renderer.createText(this._el_33,"\n ",null),this._el_47=s.createRenderElement(this.renderer,this._el_33,"a",new s.InlineArray4(4,"class","btn btn-raised btn-primary","style","width:49%;margin-left:1%;"),null),this._text_48=this.renderer.createText(this._el_47,"Jetzt nächste\n Transkription durchführen",null),this._text_49=this.renderer.createText(this._el_33,"\n ",null),this._text_50=this.renderer.createText(this._el_31,"\n ",null),this._text_51=this.renderer.createText(this._el_29,"\n",null);var n=s.subscribeToRenderElement(this,this._el_24,new s.InlineArray2(2,"click",null),this.eventHandler(this.handleEvent_24)),i=s.subscribeToRenderElement(this,this._el_44,new s.InlineArray2(2,"click",null),this.eventHandler(this.handleEvent_44)),r=s.subscribeToRenderElement(this,this._el_47,new s.InlineArray2(2,"click",null),this.eventHandler(this.handleEvent_47));return this._viewQuery_success_0.reset([this._ModalComponent_0_3.context]),this.context.success_modal=this._viewQuery_success_0.first,this.init(null,this.renderer.directRenderer?null:[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._text_7,this._el_8,this._text_9,this._el_10,this._text_11,this._el_12,this._text_13,this._el_14,this._text_15,this._text_16,this._el_17,this._el_18,this._text_19,this._text_20,this._text_21,this._el_22,this._text_23,this._el_24,this._text_25,this._text_26,this._text_27,this._text_28,this._el_29,this._text_30,this._el_31,this._text_32,this._el_33,this._text_34,this._el_35,this._text_36,this._text_37,this._el_38,this._text_39,this._el_40,this._el_41,this._text_42,this._text_43,this._el_44,this._text_45,this._text_46,this._el_47,this._text_48,this._text_49,this._text_50,this._text_51],[n,i,r]),null},t.prototype.injectorGetInternal=function(e,t,n){return e===v.ModalHeaderComponent&&2<=t&&t<=6?this._ModalHeaderComponent_2_3.context:e===b.ModalBodyComponent&&8<=t&&t<=20?this._ModalBodyComponent_8_3.context:e===I.ModalFooterComponent&&22<=t&&t<=26?this._ModalFooterComponent_22_3.context:e===m.ModalComponent&&0<=t&&t<=27?this._ModalComponent_0_3.context:n},t.prototype.detectChangesInternal=function(e){this._ModalComponent_0_3.ngDoCheck(this,this._el_0,e),this._ModalHeaderComponent_2_3.ngDoCheck(this,this._el_2,e),this._ModalBodyComponent_8_3.ngDoCheck(this,this._el_8,e),this._ModalFooterComponent_22_3.ngDoCheck(this,this._el_22,e),this._ModalComponent_0_3.checkHost(this,this.compView_0,this._el_0,e),this.compView_0.internalDetectChanges(e),this.compView_2.internalDetectChanges(e),this.compView_8.internalDetectChanges(e),this.compView_22.internalDetectChanges(e)},t.prototype.destroyInternal=function(){this.compView_0.destroy(),this.compView_2.destroy(),this.compView_8.destroy(),this.compView_22.destroy(),this._ModalComponent_0_3.ngOnDestroy()},t.prototype.visitProjectableNodesInternal=function(e,t,n,i){0==e&&0==t&&(n(this._text_1,i),n(this._el_2,i),n(this._text_7,i),n(this._el_8,i),n(this._text_21,i),n(this._el_22,i),n(this._text_27,i)),2==e&&0==t&&(n(this._text_3,i),n(this._el_4,i),n(this._text_6,i)),8==e&&0==t&&(n(this._text_9,i),n(this._el_10,i),n(this._text_20,i)),22==e&&0==t&&(n(this._text_23,i),n(this._el_24,i),n(this._text_26,i))},t.prototype.handleEvent_24=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("click"==e){n=this._ModalComponent_0_3.context.dismiss()!==!1&&n}return n},t.prototype.handleEvent_44=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("click"==e){n=this.context.leave()!==!1&&n}return n},t.prototype.handleEvent_47=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("click"==e){n=this.context.next()!==!1&&n}return n},t}(r.a)},lQkR:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=["#members-area[_ngcontent-%COMP%]{position:relative}"]},lZAQ:function(e,t,n){"use strict";var i=n("kqMG"),r=n("bgHk"),s=n("qs5H");n.d(t,"b",function(){return _}),n.d(t,"a",function(){return h});var _=function(){function e(e){this._changed=!1,this.context=new i.a(e),this._expr_0=r.b,this._expr_1=r.b,this._expr_2=r.b,this._expr_3=r.b,this._expr_4=r.b,this._expr_5=r.b,this._expr_6=r.b}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,i},e.prototype.checkHost=function(e,t,n,i){var r=this.context.ngClassUntouched;s.checkBinding(i,this._expr_0,r)&&(e.renderer.setElementClass(n,"ng-untouched",r),this._expr_0=r);var _=this.context.ngClassTouched;s.checkBinding(i,this._expr_1,_)&&(e.renderer.setElementClass(n,"ng-touched",_),this._expr_1=_);var h=this.context.ngClassPristine;s.checkBinding(i,this._expr_2,h)&&(e.renderer.setElementClass(n,"ng-pristine",h),this._expr_2=h);var o=this.context.ngClassDirty;s.checkBinding(i,this._expr_3,o)&&(e.renderer.setElementClass(n,"ng-dirty",o),this._expr_3=o);var a=this.context.ngClassValid;s.checkBinding(i,this._expr_4,a)&&(e.renderer.setElementClass(n,"ng-valid",a),this._expr_4=a);var l=this.context.ngClassInvalid;s.checkBinding(i,this._expr_5,l)&&(e.renderer.setElementClass(n,"ng-invalid",l),this._expr_5=l);var c=this.context.ngClassPending;s.checkBinding(i,this._expr_6,c)&&(e.renderer.setElementClass(n,"ng-pending",c),this._expr_6=c)},e.prototype.handleEvent=function(e,t){return!0},e.prototype.subscribe=function(e,t){this._eventHandler=t},e}(),h=function(){function e(e){this._changed=!1,this.context=new i.b(e),this._expr_0=r.b,this._expr_1=r.b,this._expr_2=r.b,this._expr_3=r.b,this._expr_4=r.b,this._expr_5=r.b,this._expr_6=r.b}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,i},e.prototype.checkHost=function(e,t,n,i){var r=this.context.ngClassUntouched;s.checkBinding(i,this._expr_0,r)&&(e.renderer.setElementClass(n,"ng-untouched",r),this._expr_0=r);var _=this.context.ngClassTouched;s.checkBinding(i,this._expr_1,_)&&(e.renderer.setElementClass(n,"ng-touched",_),this._expr_1=_);var h=this.context.ngClassPristine;s.checkBinding(i,this._expr_2,h)&&(e.renderer.setElementClass(n,"ng-pristine",h),this._expr_2=h);var o=this.context.ngClassDirty;s.checkBinding(i,this._expr_3,o)&&(e.renderer.setElementClass(n,"ng-dirty",o),this._expr_3=o);var a=this.context.ngClassValid;s.checkBinding(i,this._expr_4,a)&&(e.renderer.setElementClass(n,"ng-valid",a),this._expr_4=a);var l=this.context.ngClassInvalid;s.checkBinding(i,this._expr_5,l)&&(e.renderer.setElementClass(n,"ng-invalid",l),this._expr_5=l);var c=this.context.ngClassPending;s.checkBinding(i,this._expr_6,c)&&(e.renderer.setElementClass(n,"ng-pending",c),this._expr_6=c)},e.prototype.handleEvent=function(e,t){return!0},e.prototype.subscribe=function(e,t){this._eventHandler=t},e}()},m8OE:function(e,t,n){"use strict";var i=n("52Zn");n.d(t,"a",function(){return r});var r=function(){function e(e,t){this._changed=!1,this.context=new i.a(e,t)}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,i},e.prototype.checkHost=function(e,t,n,i){},e.prototype.handleEvent=function(e,t){return!0},e.prototype.subscribe=function(e,t){this._eventHandler=t},e}()},mHG0:function(e,t,n){"use strict";var i=n("BV8l"),r=n("bgHk"),s=n("qs5H");n.d(t,"a",function(){return _});var _=function(){function e(e,t,n){this._changed=!1,this.context=new i.a(e,t,n),this._expr_0=r.b}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){},e.prototype.check_ngStyle=function(e,t,n){(n||s.checkBinding(t,this._expr_0,e))&&(this._changed=!0,this.context.ngStyle=e,this._expr_0=e)},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,n||this.context.ngDoCheck(),i},e.prototype.checkHost=function(e,t,n,i){},e.prototype.handleEvent=function(e,t){return!0},e.prototype.subscribe=function(e,t){this._eventHandler=t},e}()},"mr7/":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=["#overlay-transcr[_ngcontent-%COMP%]{position:relative}"]},nFqB:function(e,t,n){"use strict";var i=n("zKH5"),r=n("SzqK");n.d(t,"a",function(){return s});var s=function(){function e(e,t){this.sessService=e,this.router=t}return e.prototype.canActivate=function(e,t){return!!this.sessService.logged_in||(this.router.navigate(["/user/transcr"]),!1)},e.ctorParameters=function(){return[{type:r.a},{type:i.a}]},e}()},nMJj:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(){function e(){window.requestFileSystem=window.requestFileSystem||window.webkitRequestFileSystem}return e.prototype.openFileSystem=function(e,t){var n=this;navigator.webkitPersistentStorage.requestQuota(e,function(){window.requestFileSystem(window.PERSISTENT,e,t,n.errorHandler)},function(e){console.error("Error: "+e)})},e.prototype.errorHandler=function(e){var t="";switch(e.code){case FileError.QUOTA_EXCEEDED_ERR:t="QUOTA_EXCEEDED_ERR";break;case FileError.NOT_FOUND_ERR:t="NOT_FOUND_ERR";break;case FileError.SECURITY_ERR:t="SECURITY_ERR";break;case FileError.INVALID_MODIFICATION_ERR:t="INVALID_MODIFICATION_ERR";break;case FileError.INVALID_STATE_ERR:t="INVALID_STATE_ERR";break;default:t="Unknown Error"}console.error("File API - Error: "+t)},e.ctorParameters=function(){return[]},e}()},nYGH:function(e,t,n){"use strict";var i=n("Rw+2");n.d(t,"a",function(){return r});var r=function(){function e(){this.statechange=new i.EventEmitter,this.pos={x:0,y:0}}return Object.defineProperty(e.prototype,"mousecursorchange",{get:function(){return this.viewer.mousecursorchange},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shortcuttriggered",{get:function(){return this.viewer.shortcuttriggered},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"segmententer",{get:function(){return this.viewer.segmententer},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"MouseCursor",{get:function(){return this.viewer.MouseCursor},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"Settings",{get:function(){return this.viewer.Settings},set:function(e){this.viewer.Settings=e},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.viewer.Settings.multi_line=!1,this.viewer.Settings.height=150,this.viewer.Settings.justifySignalHeight=!0,this.viewer.Settings.boundaries.enabled=!0,this.viewer.Settings.disabled_keys=[],this.viewer.Settings.type="line"},e.prototype.changeArea=function(e,t){this.viewer.changeBuffer(e,t)},e.prototype.updateSegments=function(){this.viewer.drawSegments()},e.prototype.changeBuffer=function(e,t){this.viewer.changeBuffer(e,t)},e.prototype.update=function(){this.viewer.update()},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"default":}},e.ctorParameters=function(){return[]},e}()},nhD7:function(e,t,n){"use strict";var i=n("wKbx"),r=n("24R9");n.d(t,"a",function(){return s});var s=function(){function e(e){var t=this;this.http=e,this.db_data=[],this.subscrmanager=new i.a,this.subscrmanager.add(this.http.request("./config/allowed_users.json").subscribe(function(e){t.db_data=e.json()},function(){console.error("allowed_users.json not found. Please create this file in a folder named 'config'")}))}return e.prototype.checkLoginData=function(e){for(var t=0;t=0?this.current.clone():null!=this.Chunk.time.start?this.Chunk.time.start.clone():new i.a(0,this.audio.samplerate)},e.prototype.updateDistance=function(){this.distance=this.audio_px_w-this.audioTCalculator.samplestoAbsX(this.current.samples)},e.prototype.resetAudioMeta=function(){this.mouse_click_pos=new r.a(0,0,0,new i.a(0,0))},e.prototype.initialize=function(e){},e.prototype.setMouseMovePosition=function(e,t,n,i,r){this.mousecursor.relPos.x=t,this.mousecursor.absX=this.getAbsXByLine(i,t,r),this.mousecursor.timePos.samples=this.audioTCalculator.absXChunktoSamples(this.mousecursor.absX,this.Chunk),this.mousecursor.relPos.y=n,this.mousecursor.line=i,this.last_line=i},e.prototype.setMouseClickPosition=function(e,t,n,i,r){this.mousecursor.relPos.x=e,this.mousecursor.relPos.y=t},e.prototype.getAbsXByLine=function(e,t,n){return e.number*n+t},e}()},poc3:function(e,t,n){"use strict";var i=n("0VXW");n.d(t,"a",function(){return s});var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.convert=function(e){for(var t="",n=0;n)|(>)/g,"s"),this.sessService.save("feedback",this.feedback_data),this.router.navigate(["/user/transcr"])},e.prototype.onSubmit=function(e){this.feedback_data.comment=this.feedback_data.comment.replace(/(<)|(\/>)|(>)/g,"s"),this.sessService.save("feedback",this.feedback_data),this.modal.open()},e.prototype.onSendNowClick=function(){var e=this;this.modal.dismiss(),this.modal2.open(),this.send_ok=!0;var t=this.transcrService.exportDataToJSON(),n=Number(this.sessService.member_id);this.subscrmanager.add(this.api.saveSession(t.transcript,t.project,t.annotator,n,t.id,t.status,t.comment,t.quality,t.log).catch(this.onSendError).subscribe(function(t){null!=t&&t.hasOwnProperty("statusText")&&"OK"===t.statusText?(e.sessService.submitted=!0,e.modal2.close(),setTimeout(function(){e.router.navigate(["/user/transcr/submitted"])},1e3)):e.send_error="Es ist ein Fehler aufgetreten. Lade diese Seite mit deinem Browser noch einmal und versuche es erneut"}))},e.prototype.ngAfterViewInit=function(){jQuery.material.init()},e.prototype.ngOnDestroy=function(){this.subscrmanager.destroy()},e.prototype.getURI=function(e){var t="";switch(e){case"text":t+="data:text/plain;charset=UTF-8,",t+=encodeURIComponent(this.transcrService.getTranscriptString("text"));break;case"annotJSON":t+="data:application/json;charset=UTF-8,",t+=encodeURIComponent(this.transcrService.getTranscriptString("annotJSON"))}return t},e.prototype.sanitize=function(e){return this.sanitizer.bypassSecurityTrustUrl(e)},e.ctorParameters=function(){return[{type:_.a},{type:r.a},{type:h.a},{type:a.a},{type:i.ChangeDetectorRef},{type:s.c},{type:l.a}]},e}()},pwjf:function(e,t,n){"use strict";var i=n("apNv"),r=n("U6hS");n.d(t,"a",function(){return _});var s=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),_=function(e){function t(t,n,i,r,s,_,h,o){var a=e.call(this,t,n,i,r)||this;return a.data={value:String.fromCharCode(s),target_name:n,timestamp:r,type:t,keyCode:s,shiftPressed:_,ctrlPressed:h,altPressed:o,char:String.fromCharCode(s)},a}return s(t,e),Object.defineProperty(t.prototype,"char",{get:function(){return this.data.char},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"shortcode",{get:function(){return this.data.shortcode},set:function(e){this.data.shortcode=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.data.value},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"keyCode",{get:function(){return this.data.keyCode},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"shiftPressed",{get:function(){return this.data.shiftPressed},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ctrlPressed",{get:function(){return this.data.ctrlPressed},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"altPressed",{get:function(){return this.data.altPressed},enumerable:!0,configurable:!0}),t.fromAny=function(e){return r.a.equalProperties({value:null,target_name:null,timestamp:null,type:null,keyCode:null,shiftPressed:null,ctrlPressed:null,altPressed:null,char:null},e)&&r.a.contains(e.type,"key")?new t(e.type,e.target_name,e.value,e.timestamp,e.keyCode,e.shift_pressed,e.ctrlPressed,e.altPressed):null},t.prototype.getDataClone=function(){return{value:this.value,target_name:this.target_name,timestamp:this.timestamp,type:this.type,keyCode:this.keyCode,shiftPressed:this.shiftPressed,ctrlPressed:this.ctrlPressed,altPressed:this.altPressed,char:this.value}},t}(i.a)},rRQE:function(e,t,n){"use strict";var i=n("/AVL");n.d(t,"a",function(){return s});var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.validate=function(e,t){var n="AudioviewerConfig Validation - ";switch(e){case"multi_line":if("boolean"==typeof t)break;return{success:!1,error:n+"value of key '"+e+"' must be of type boolean"};case"pixel_per_sec":if("number"==typeof t&&t>0)break;return{success:!1,error:n+"value of key '"+e+"' must be of type number greater 0"};case"justify_signal_height":if("boolean"==typeof t)break;return{success:!1,error:n+"value of key '"+e+"' must be of type boolean"};case"cropping":if("string"==typeof t)break;return{success:!1,error:n+"value of key '"+e+"' must be of type string"};case"backgroundcolor":if("string"==typeof t)break;return{success:!1,error:n+"value of key '"+e+"' must be of type string"};case"height":if("number"==typeof t&&t>0)break;return{success:!1,error:n+"value of key '"+e+"' must be of type number greater 0"};case"margin":if("object"==typeof t&&"number"==typeof t.top&&"number"==typeof t.right&&"number"==typeof t.bottom&&"number"==typeof t.left)break;return{success:!1,error:n+"value of key '"+e+"' must be an object with attributes {top:number,right:number,bottom:number,left:number}"};case"cursor":if("object"==typeof t&&"string"==typeof t.color)break;return{success:!1,error:n+"value of key '"+e+"' must an object of {color:string}"};case"playcursor":if("object"==typeof t&&"number"==typeof t.height&&"number"==typeof t.width&&"string"==typeof t.color)break;return{success:!1,error:n+"value of key '"+e+"' must be an object with attributes {height:number,width:number}"};case"boundaries":if("object"==typeof t&&"boolean"==typeof t.enabled&&"number"==typeof t.width&&t.width>0&&"string"==typeof t.color&&"boolean"==typeof t.readonly)break;return{success:!1,error:n+"value of key '"+e+"' must be an object with attributes { enabled:boolean, width:number, color : string}"};case"grid":if("object"==typeof t&&"string"==typeof t.color&&"boolean"==typeof t.enabled)break;return{success:!1,error:n+"value of key '"+e+"' must be an object with attributes { enabled:boolean, color : string}"};case"data":if("object"==typeof t&&"string"==typeof t.color)break;return{success:!1,error:n+"value of key '"+e+"' must be an object with attributes {color : string}"};case"selection":if("object"==typeof t&&"boolean"==typeof t.enabled&&"string"==typeof t.color)break;return{success:!1,error:n+"value of key '"+e+"' must be an object with attributes {enabled:boolean, color : string}"};case"frame":if("object"==typeof t&&"string"==typeof t.color)break;return{success:!1,error:n+"value of key '"+e+"' must be an object with attributes {color : string}"};case"shortcuts_enabled":if("boolean"==typeof t)break;return{success:!1,error:n+"value of key '"+e+"' must be of type boolean"};case"disabled_keys":if(Array.isArray(t))break;return{success:!1,error:n+"value of key '"+e+"' must be of type array"};case"shortcuts":if("object"==typeof t){for(var i in t)if(!t[""+i].hasOwnProperty("keys")||!t[""+i].hasOwnProperty("title")||!t[""+i].hasOwnProperty("focusonly"))return{success:!1,error:n+"value of key '"+e+"' must be an object of shortcuts. Compare custom config with sample config"};break}break;case"timeline":if("object"==typeof t&&"boolean"==typeof t.enabled&&"number"==typeof t.height&&t.height>0&&"number"==typeof t.fontSize&&"string"==typeof t.fontWeight&&"string"==typeof t.font&&"string"==typeof t.foreColor)break;return{success:!1,error:n+"value of key '"+e+"' must be an object of width attributes {enabled:boolean, step_width_ratio: boolean, height:string, fontSize:number, fontWeight:string, font:string, foreColor:string}"};case"step_width_ratio":if("number"==typeof t&&t>0)break;return{success:!1,error:n+"value of key '"+e+"' must be of type number greater 0"};default:return{success:!1,error:n+"key '"+e+"' not found"}}return{success:!0,error:""}},t}(i.a)},rv3A:function(e,t,n){"use strict";var i=n("wKbx"),r=n("0HDV"),s=n("OMJi");n.n(s);n.d(t,"a",function(){return _});var _=function(){function e(e){this.modService=e}return e.prototype.ngOnInit=function(){var e=this;this.subscrmanager=new i.a,this.subscrmanager.add(this.modService.showmodal.subscribe(function(t){if(e.data=t,n.i(s.isNullOrUndefined)(t.type))throw"modal function not supported";e[t.type].open()}))},e.prototype.ngOnDestroy=function(){this.subscrmanager.destroy()},e.ctorParameters=function(){return[{type:r.a}]},e}()},"s+lJ":function(e,t,n){"use strict";var i=n("Rw+2"),r=n("Gvdl"),s=(n.n(r),n("apNv")),_=n("pwjf"),h=n("vgJZ"),o=n("2Lmt"),a=n("U6hS");n.d(t,"a",function(){return l});var l=function(){function e(){this.afteradd=new i.EventEmitter,this._elements=[]}return Object.defineProperty(e.prototype,"elements",{get:function(){return this._elements},set:function(e){this._elements=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"WritingSpeed",{get:function(){var e=0,t=this.getElement(_.a,0),n=null,i=0;if(t){for(var r=t.timestamp,s=0;s=r&&(n=h,i++)}if(n){var o=n.timestamp-r;e=Math.round(i/o*1e3*60*100)/100}}return e},enumerable:!0,configurable:!0}),e.prototype.addElementFromEvent=function(e,t,n,i){var r="",l=null;i?r=i:t&&t.target&&(l=t.target,r=l.getAttribute("name"),r||(r=l.parentNode.getAttribute("name")),r||(r=""));var c=null;a.a.contains(e,"key")?(c=new _.a(t.type,r,"",n,t.which,t.shiftKey,t.ctrlKey,t.altKey),c.shortcode=o.b.getShortcutCombination(t)):c=a.a.contains(e,"mouse")?new h.a(e,r,"",n):a.a.contains(e,"slider")?new h.a("mouse_slider",r,t.new_value,n):new s.a(e,r,t.value,n),c&&(this._elements.push(c),this.afteradd.emit(c))},e.prototype.getElement=function(e,t){for(var n,i=0,t=0;tthis._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}()},wz3S:function(e,t,n){"use strict";var i=n("rtCL"),r=n("bgHk"),s=n("qs5H");n.d(t,"a",function(){return _});var _=function(){function e(e,t,n){this._changed=!1,this.context=new i.a(e,t,n),this._expr_0=r.b,this._expr_1=r.b}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){this.context.ngOnDestroy()},e.prototype.check_ngValue=function(e,t,n){(n||s.checkBinding(t,this._expr_0,e))&&(this._changed=!0,this.context.ngValue=e,this._expr_0=e)},e.prototype.check_value=function(e,t,n){(n||s.checkBinding(t,this._expr_1,e))&&(this._changed=!0,this.context.value=e,this._expr_1=e)},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,i},e.prototype.checkHost=function(e,t,n,i){},e.prototype.handleEvent=function(e,t){return!0},e.prototype.subscribe=function(e,t){this._eventHandler=t},e}();!function(){function e(e,t){this._changed=!1,this.context=new i.b(e,t)}e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,i},e.prototype.checkHost=function(e,t,n,i){},e.prototype.handleEvent=function(e,t){var n=!0;if("change"==e){n=this.context.onChange(t.target.value)!==!1&&n}if("blur"==e){n=this.context.onTouched()!==!1&&n}return n},e.prototype.subscribe=function(e,t){this._eventHandler=t},e}()},wzL9:function(e,t,n){"use strict";var i=n("nYGH"),r=n("R2h3"),s=n("qs5H"),_=n("TTjD"),h=n("74QC"),o=n("jzTW"),a=n("gWLF"),l=n("iOuv"),c=n("DCT3"),u=n("FUnf"),p=n("vU4g"),d=n("ye0J"),g=n("qbqm"),f=n("7/hb"),x=n("7PL9");n.d(t,"b",function(){return y}),n.d(t,"a",function(){return I});var m=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),y=function(){function e(){this._changed=!1,this.context=new i.a}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){this.subscription0&&this.subscription0.unsubscribe(),this.subscription1&&this.subscription1.unsubscribe(),this.subscription2&&this.subscription2.unsubscribe(),this.subscription3&&this.subscription3.unsubscribe()},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,n||0===e.numberOfChecks&&this.context.ngOnInit(),i},e.prototype.checkHost=function(e,t,n,i){},e.prototype.handleEvent=function(e,t){return!0},e.prototype.subscribe=function(e,t,n,i,r,s){this._eventHandler=t,n&&(this.subscription0=this.context.statechange.subscribe(t.bind(e,"statechange"))),i&&(this.subscription1=this.context.mousecursorchange.subscribe(t.bind(e,"mousecursorchange"))),r&&(this.subscription2=this.context.shortcuttriggered.subscribe(t.bind(e,"shortcuttriggered"))),s&&(this.subscription3=this.context.segmententer.subscribe(t.bind(e,"segmententer")))},e}(),v=s.createRenderComponentType("",0,_.b.None,[],{}),w=function(e){function t(n,i,r,s){return e.call(this,t,v,o.a.HOST,n,i,r,s,a.b.CheckAlways)||this}return m(t,e),Object.defineProperty(t.prototype,"_AudioviewerService_0_4",{get:function(){return null==this.__AudioviewerService_0_4&&(this.__AudioviewerService_0_4=new h.a(this.injectorGet(l.a,this.parentIndex),this.injectorGet(c.a,this.parentIndex),this.injectorGet(u.a,this.parentIndex))),this.__AudioviewerService_0_4},enumerable:!0,configurable:!0}),t.prototype.createInternal=function(e){return this._el_0=s.selectOrCreateRenderHostElement(this.renderer,"app-loupe",s.EMPTY_INLINE_ARRAY,e,null),this.compView_0=new I(this.viewUtils,this,0,this._el_0),this._LoupeComponent_0_3=new y,this.compView_0.create(this._LoupeComponent_0_3.context),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0],null),new p.a(0,this,this._el_0,this._LoupeComponent_0_3.context)},t.prototype.injectorGetInternal=function(e,t,n){return e===i.a&&0===t?this._LoupeComponent_0_3.context:e===h.a&&0===t?this._AudioviewerService_0_4:n},t.prototype.detectChangesInternal=function(e){this._LoupeComponent_0_3.ngDoCheck(this,this._el_0,e),this.compView_0.internalDetectChanges(e)},t.prototype.destroyInternal=function(){this.compView_0.destroy(),this._LoupeComponent_0_3.ngOnDestroy()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t}(r.a),b=(new p.b("app-loupe",w,i.a),[d.a]),C=s.createRenderComponentType("",0,_.b.Emulated,b,{}),I=function(e){function t(n,i,r,s){return e.call(this,t,C,o.a.COMPONENT,n,i,r,s,a.b.CheckAlways)||this}return m(t,e),t.prototype.createInternal=function(e){var t=this.renderer.createViewRoot(this.parentElement);this._viewQuery_viewer_0=new g.a,this._el_0=s.createRenderElement(this.renderer,t,"div",new s.InlineArray2(2,"class","loupe"),null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=s.createRenderElement(this.renderer,this._el_0,"app-audioviewer",s.EMPTY_INLINE_ARRAY,null),this.compView_2=new x.a(this.viewUtils,this,2,this._el_2),this._AudioviewerService_2_3=new h.a(this.parentView.injectorGet(l.a,this.parentIndex),this.parentView.injectorGet(c.a,this.parentIndex),this.parentView.injectorGet(u.a,this.parentIndex)),this._AudioviewerComponent_2_4=new x.b(this.parentView.injectorGet(l.a,this.parentIndex),this._AudioviewerService_2_3,this.parentView.injectorGet(c.a,this.parentIndex),this.parentView.injectorGet(u.a,this.parentIndex)),this.compView_2.create(this._AudioviewerComponent_2_4.context),this._text_3=this.renderer.createText(this._el_0,"\n",null);var n=s.subscribeToRenderElement(this,this._el_2,new s.InlineArray2(2,"resize","window"),this.eventHandler(this.handleEvent_2));return this._viewQuery_viewer_0.reset([this._AudioviewerComponent_2_4.context]),this.context.viewer=this._viewQuery_viewer_0.first,this.init(null,this.renderer.directRenderer?null:[this._el_0,this._text_1,this._el_2,this._text_3],[n]),null},t.prototype.injectorGetInternal=function(e,t,n){return e===h.a&&2===t?this._AudioviewerService_2_3:e===f.a&&2===t?this._AudioviewerComponent_2_4.context:n},t.prototype.detectChangesInternal=function(e){this._AudioviewerComponent_2_4.ngDoCheck(this,this._el_2,e),this.compView_2.internalDetectChanges(e),e||0===this.numberOfChecks&&this._AudioviewerComponent_2_4.context.ngAfterViewInit()},t.prototype.destroyInternal=function(){this.compView_2.destroy(),this._AudioviewerComponent_2_4.ngOnDestroy()},t.prototype.handleEvent_2=function(e,t){this.compView_2.markPathToRootAsCheckOnce();var n=!0;return n=this._AudioviewerComponent_2_4.handleEvent(e,t)&&n},t}(r.a)},x35b:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Rw+2"),r=n("kZql"),s=n("D8Yg"),_=n("kke6");r.a.production&&n.i(i.enableProdMode)(),n.i(s.a)().bootstrapModuleFactory(_.a)},xAcN:function(e,t,n){"use strict";var i=n("TfAg"),r=(n.n(i),n("bgHk")),s=n("R2h3"),_=n("qs5H"),h=n("TTjD"),o=n("jzTW"),a=n("gWLF"),l=n("vU4g"),c=n("S7tg"),u=(n.n(c),n("Sqya")),p=n("RUIm"),d=n("tSbE"),g=n("R14C");n.d(t,"b",function(){return x}),n.d(t,"a",function(){return C});var f=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),x=function(){function e(e){this._changed=!1,this.context=new i.ModalHeaderComponent(e),this._expr_0=r.b}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){},e.prototype.check_showClose=function(e,t,n){(n||_.checkBinding(t,this._expr_0,e))&&(this._changed=!0,this.context.showClose=e,this._expr_0=e)},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,i},e.prototype.checkHost=function(e,t,n,i){},e.prototype.handleEvent=function(e,t){return!0},e.prototype.subscribe=function(e,t){this._eventHandler=t},e}(),m=_.createRenderComponentType("",0,h.b.None,[],{}),y=function(e){function t(n,i,r,s){return e.call(this,t,m,o.a.HOST,n,i,r,s,a.b.CheckAlways)||this}return f(t,e),t.prototype.createInternal=function(e){return this._el_0=_.selectOrCreateRenderHostElement(this.renderer,"modal-header",_.EMPTY_INLINE_ARRAY,e,null),this.compView_0=new C(this.viewUtils,this,0,this._el_0),this._ModalHeaderComponent_0_3=new x(this.injectorGet(c.ModalComponent,this.parentIndex)),this.compView_0.create(this._ModalHeaderComponent_0_3.context),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0],null),new l.a(0,this,this._el_0,this._ModalHeaderComponent_0_3.context)},t.prototype.injectorGetInternal=function(e,t,n){return e===i.ModalHeaderComponent&&0===t?this._ModalHeaderComponent_0_3.context:n},t.prototype.detectChangesInternal=function(e){this._ModalHeaderComponent_0_3.ngDoCheck(this,this._el_0,e),this.compView_0.internalDetectChanges(e)},t.prototype.destroyInternal=function(){this.compView_0.destroy()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t.prototype.visitProjectableNodesInternal=function(e,t,n,i){},t}(s.a),v=(new l.b("modal-header",y,i.ModalHeaderComponent),[]),w=function(e){function t(n,i,r,s,_){return e.call(this,t,b,o.a.EMBEDDED,n,i,r,s,a.b.CheckAlways,_)||this}return f(t,e),t.prototype.createInternal=function(e){this._el_0=_.createRenderElement(this.renderer,null,"button",new _.InlineArray8(8,"aria-label","Close","class","close","data-dismiss","modal","type","button"),null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=_.createRenderElement(this.renderer,this._el_0,"span",new _.InlineArray2(2,"aria-hidden","true"),null),this._text_3=this.renderer.createText(this._el_2,"×",null),this._text_4=this.renderer.createText(this._el_0,"\n ",null);var t=_.subscribeToRenderElement(this,this._el_0,new _.InlineArray2(2,"click",null),this.eventHandler(this.handleEvent_0));return this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4],[t]),null},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t.prototype.handleEvent_0=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("click"==e){n=this.parentView.context.modal.dismiss()!==!1&&n}return n},t}(s.a),b=_.createRenderComponentType("",1,h.b.None,v,{}),C=function(e){function t(n,i,r,s){return e.call(this,t,b,o.a.COMPONENT,n,i,r,s,a.b.CheckAlways)||this}return f(t,e),t.prototype.createInternal=function(e){var t=this.renderer.createViewRoot(this.parentElement);return this._text_0=this.renderer.createText(t,"\n ",null),this._el_1=_.createRenderElement(this.renderer,t,"div",new _.InlineArray2(2,"class","modal-header"),null),this._text_2=this.renderer.createText(this._el_1,"\n ",null),this._anchor_3=this.renderer.createTemplateAnchor(this._el_1,null),this._vc_3=new u.a(3,1,this,this._anchor_3),this._TemplateRef_3_5=new d.a(this,3,this._anchor_3),this._NgIf_3_6=new p.a(this._vc_3.vcRef,this._TemplateRef_3_5),this._text_4=this.renderer.createText(this._el_1,"\n ",null),this.projectNodes(this._el_1,0),this._text_5=this.renderer.createText(this._el_1,"\n ",null),this._text_6=this.renderer.createText(t,"\n ",null),this.init(null,this.renderer.directRenderer?null:[this._text_0,this._el_1,this._text_2,this._anchor_3,this._text_4,this._text_5,this._text_6],null),null},t.prototype.injectorGetInternal=function(e,t,n){return e===d.b&&3===t?this._TemplateRef_3_5:e===g.a&&3===t?this._NgIf_3_6.context:n},t.prototype.detectChangesInternal=function(e){var t=this.context.showClose;this._NgIf_3_6.check_ngIf(t,e,!1),this._NgIf_3_6.ngDoCheck(this,this._anchor_3,e),this._vc_3.detectChangesInNestedViews(e)},t.prototype.destroyInternal=function(){this._vc_3.destroyNestedViews()},t.prototype.createEmbeddedViewInternal=function(e){return 3==e?new w(this.viewUtils,this,3,this._anchor_3,this._vc_3):null},t}(s.a)},xHXY:function(e,t,n){"use strict";var i=n("OdhO"),r=n("bgHk"),s=n("qs5H");n.d(t,"a",function(){return _});var _=function(){function e(e,t,n){this._changed=!1,this.context=new i.a(e,t,n),this._expr_0=r.b,this._expr_1=r.b}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){this.context.ngOnDestroy()},e.prototype.check_ngValue=function(e,t,n){(n||s.checkBinding(t,this._expr_0,e))&&(this._changed=!0,this.context.ngValue=e,this._expr_0=e)},e.prototype.check_value=function(e,t,n){(n||s.checkBinding(t,this._expr_1,e))&&(this._changed=!0,this.context.value=e,this._expr_1=e)},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,i},e.prototype.checkHost=function(e,t,n,i){},e.prototype.handleEvent=function(e,t){return!0},e.prototype.subscribe=function(e,t){this._eventHandler=t},e}();!function(){function e(e,t){this._changed=!1,this.context=new i.b(e,t)}e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,i},e.prototype.checkHost=function(e,t,n,i){},e.prototype.handleEvent=function(e,t){var n=!0;if("change"==e){n=this.context.onChange(t.target)!==!1&&n}if("blur"==e){n=this.context.onTouched()!==!1&&n}return n},e.prototype.subscribe=function(e,t){this._eventHandler=t},e}()},xiEB:function(e,t,n){"use strict";var i=n("9XFw"),r=n("R2h3"),s=n("qs5H"),_=n("TTjD"),h=n("jzTW"),o=n("gWLF"),a=n("vU4g");n.d(t,"a",function(){return d});var l=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),c=function(){function e(){this._changed=!1,this.context=new i.a}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,i},e.prototype.checkHost=function(e,t,n,i){},e.prototype.handleEvent=function(e,t){return!0},e.prototype.subscribe=function(e,t){this._eventHandler=t},e}(),u=s.createRenderComponentType("",0,_.b.None,[],{}),p=function(e){function t(n,i,r,s){return e.call(this,t,u,h.a.HOST,n,i,r,s,o.b.CheckAlways)||this}return l(t,e),t.prototype.createInternal=function(e){return this._el_0=s.selectOrCreateRenderHostElement(this.renderer,"ngb-modal-backdrop",new s.InlineArray2(2,"class","modal-backdrop fade show"),e,null),this.compView_0=new x(this.viewUtils,this,0,this._el_0),this._NgbModalBackdrop_0_3=new c,this.compView_0.create(this._NgbModalBackdrop_0_3.context),this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0],null),new a.a(0,this,this._el_0,this._NgbModalBackdrop_0_3.context)},t.prototype.injectorGetInternal=function(e,t,n){return e===i.a&&0===t?this._NgbModalBackdrop_0_3.context:n},t.prototype.detectChangesInternal=function(e){this._NgbModalBackdrop_0_3.ngDoCheck(this,this._el_0,e),this.compView_0.internalDetectChanges(e)},t.prototype.destroyInternal=function(){this.compView_0.destroy()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t}(r.a),d=new a.b("ngb-modal-backdrop",p,i.a),g=[],f=s.createRenderComponentType("",0,_.b.None,g,{}),x=function(e){function t(n,i,r,s){return e.call(this,t,f,h.a.COMPONENT,n,i,r,s,o.b.CheckAlways)||this}return l(t,e),t.prototype.createInternal=function(e){this.renderer.createViewRoot(this.parentElement);return this.init(null,this.renderer.directRenderer?null:[],null),null},t}(r.a)},y2BF:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(){function e(){}return e.prototype.transform=function(e,t){return e&&e>-1?Math.round(100*e):0},e}()},yDG0:function(e,t,n){"use strict";var i=n("8A5H");n.d(t,"a",function(){return r});var r=function(){function e(e){this.langService=e,this.text="",this.text=e.instant("general.please wait")+"..."}return e.prototype.ngOnInit=function(){},e.ctorParameters=function(){return[{type:i.b}]},e}()},yUTl:function(e,t,n){"use strict";var i=n("Rw+2"),r=n("Gvdl"),s=(n.n(r),n("24R9")),_=n("2Lmt"),h=n("KPgI"),o=n("YZ+k");n.d(t,"a",function(){return a});var a=function(){function e(e){var t=this;this.http=e,this.settingsloaded=new i.EventEmitter,this.app_settingsloaded=new i.EventEmitter,this.markersloaded=new i.EventEmitter,this.validation={app:!1,markers:!1},this.triggerSettingsLoaded=function(){t.validated&&t.settingsloaded.emit(!0)},this.subscrmanager=new _.a,this.subscrmanager.add(this.app_settingsloaded.subscribe(this.triggerSettingsLoaded)),this.subscrmanager.add(this.markersloaded.subscribe(this.triggerSettingsLoaded)),this._app_settings=this.getApplicationSettings(),this._markers=this.getMarkersSettings()}return Object.defineProperty(e.prototype,"markers",{get:function(){return this._markers},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validated",{get:function(){return this.validation.app&&this.validation.markers},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"app_settings",{get:function(){return this._app_settings},enumerable:!0,configurable:!0}),e.prototype.getApplicationSettings=function(){var e=this;return this.subscrmanager.add(this.http.request("./config/config.json").subscribe(function(t){e._app_settings=t.json(),e.validation.app=e.validate(new h.a,e._app_settings),e.validation.app?e.app_settingsloaded.emit(!0):console.error("config.json validation error.")},function(){console.error("config.json not found. Please create this file in a folder named 'config'")})),null},e.prototype.getMarkersSettings=function(){var e=this;return this.subscrmanager.add(this.http.request("./config/markers.json").subscribe(function(t){e._markers=t.json(),e.validation.markers=e.validate(new o.a,e._markers),e.validation.markers?e.markersloaded.emit(!0):console.error("markers.json validation error.")},function(){console.error("config.json not found. Please create this file in a folder named 'config'")})),null},e.prototype.validate=function(e,t){for(var n in t){var i=e.validate(n,t[""+n]);if(!i.success)return console.error(i.error),!1}return!0},e.prototype.destroy=function(){this.subscrmanager.destroy()},e.ctorParameters=function(){return[{type:s.a}]},e}()},ye0J:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=[""]},ysFp:function(e,t,n){"use strict";!function(){function e(e,t,n,i){this.systemstate=e,this.type=t,this.data=n,this.message=i}e}()},zx8H:function(e,t,n){"use strict";var i=n("AGbc"),r=n("R2h3"),s=n("qs5H"),_=n("TTjD"),h=n("+o7G"),o=n("jzTW"),a=n("gWLF"),l=n("vU4g"),c=n("iOuv"),u=n("FUnf"),p=n("Hto6"),d=n("qbqm"),g=n("m8OE"),f=n("JCcA"),x=n("bgHk"),m=n("dJaa"),y=n("52Zn");n.d(t,"b",function(){return w}),n.d(t,"a",function(){return T});var v=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),w=function(){function e(e,t,n,r){this._changed=!1,this.context=new i.a(e,t,n,r)}return e.prototype.ngOnDetach=function(e,t,n){},e.prototype.ngOnDestroy=function(){this.context.ngOnDestroy(),this.subscription0&&this.subscription0.unsubscribe(),this.subscription1&&this.subscription1.unsubscribe()},e.prototype.ngDoCheck=function(e,t,n){var i=this._changed;return this._changed=!1,n||0===e.numberOfChecks&&this.context.ngOnInit(),i},e.prototype.checkHost=function(e,t,n,i){},e.prototype.handleEvent=function(e,t){var n=!0;if("window:resize"==e){n=this.context.onResize(t)!==!1&&n}if("window:beforeunload"==e){n=this.context.onReload(t)!==!1&&n}return n},e.prototype.subscribe=function(e,t,n,i){this._eventHandler=t,n&&(this.subscription0=this.context.shortcuttriggered.subscribe(t.bind(e,"shortcuttriggered"))),i&&(this.subscription1=this.context.Data.subscribe(t.bind(e,"Data")))},e}(),b=s.createRenderComponentType("",0,_.b.None,[],{}),C=function(e){function t(n,i,r,s){return e.call(this,t,b,o.a.HOST,n,i,r,s,a.b.CheckAlways)||this}return v(t,e),t.prototype.createInternal=function(e){this._el_0=s.selectOrCreateRenderHostElement(this.renderer,"app-audioplayer",s.EMPTY_INLINE_ARRAY,e,null),this.compView_0=new T(this.viewUtils,this,0,this._el_0),this._AudioplayerService_0_3=new h.a(this.injectorGet(c.a,this.parentIndex)),this._AudioplayerComponent_0_4=new w(this.injectorGet(c.a,this.parentIndex),this._AudioplayerService_0_3,this.compView_0.ref,this.injectorGet(u.a,this.parentIndex)),this.compView_0.create(this._AudioplayerComponent_0_4.context);var t=s.subscribeToRenderElement(this,this._el_0,new s.InlineArray4(4,"resize","window","beforeunload","window"),this.eventHandler(this.handleEvent_0));return this.init(this._el_0,this.renderer.directRenderer?null:[this._el_0],[t]),new l.a(0,this,this._el_0,this._AudioplayerComponent_0_4.context)},t.prototype.injectorGetInternal=function(e,t,n){return e===h.a&&0===t?this._AudioplayerService_0_3:e===i.a&&0===t?this._AudioplayerComponent_0_4.context:n},t.prototype.detectChangesInternal=function(e){this._AudioplayerComponent_0_4.ngDoCheck(this,this._el_0,e)&&this.compView_0.markAsCheckOnce(),this.compView_0.internalDetectChanges(e),e||0===this.numberOfChecks&&this._AudioplayerComponent_0_4.context.ngAfterViewInit()},t.prototype.destroyInternal=function(){this.compView_0.destroy(),this._AudioplayerComponent_0_4.ngOnDestroy()},t.prototype.visitRootNodesInternal=function(e,t){e(this._el_0,t)},t.prototype.handleEvent_0=function(e,t){this.compView_0.markPathToRootAsCheckOnce();var n=!0;return n=this._AudioplayerComponent_0_4.handleEvent(e,t)&&n},t}(r.a),I=(new l.b("app-audioplayer",C,i.a),[p.a]),k=s.createRenderComponentType("",0,_.b.Emulated,I,{}),T=function(e){function t(n,i,r,s){var _=e.call(this,t,k,o.a.COMPONENT,n,i,r,s,a.b.CheckOnce)||this;return _._expr_19=x.b,_._expr_21=x.b,_}return v(t,e),t.prototype.createInternal=function(e){var t=this.renderer.createViewRoot(this.parentElement);this._viewQuery_audioplay_0=new d.a,this._viewQuery_ap_graphicscan_1=new d.a,this._viewQuery_ap_overlaycan_2=new d.a,this._viewQuery_ap_playcan_3=new d.a,this._el_0=s.createRenderElement(this.renderer,t,"div",new s.InlineArray4(4,"audioplayer","","class","audioplayer"),null),this._AudioplayerDirective_0_3=new g.a(new m.a(this._el_0),this.renderer),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=s.createRenderElement(this.renderer,this._el_0,"canvas",new s.InlineArray4(4,"canvasDir","","class","ap-graphicscanvas"),null),this._text_3=this.renderer.createText(this._el_0,"\n ",null),this._el_4=s.createRenderElement(this.renderer,this._el_0,"canvas",new s.InlineArray4(4,"canvasDir","","class","ap-overlaycanvas"),null),this._text_5=this.renderer.createText(this._el_0,"\n ",null),this._el_6=s.createRenderElement(this.renderer,this._el_0,"canvas",new s.InlineArray4(4,"canvasDir","","class","ap-playcanvas"),null),this._text_7=this.renderer.createText(this._el_0,"\n ",null),this._el_8=s.createRenderElement(this.renderer,this._el_0,"div",new s.InlineArray2(2,"class","ap-time-start-display"),null),this._text_9=this.renderer.createText(this._el_8,"",null),this._text_10=this.renderer.createText(this._el_0,"\n ",null),this._el_11=s.createRenderElement(this.renderer,this._el_0,"div",new s.InlineArray2(2,"class","ap-time-end-display"),null),this._text_12=this.renderer.createText(this._el_11,"",null),this._text_13=this.renderer.createText(this._el_0,"\n",null);var n=s.subscribeToRenderElement(this,this._el_6,new s.InlineArray16(12,"mouseleave",null,"mouseenter",null,"mousedown",null,"mouseup",null,"click",null,"mousemove",null),this.eventHandler(this.handleEvent_6));return this._pipe_timespan_0=new f.a,this._pipe_timespan_1=new f.a,this._viewQuery_audioplay_0.reset([this._AudioplayerDirective_0_3.context]),this.context.apview=this._viewQuery_audioplay_0.first,this._viewQuery_ap_graphicscan_1.reset([new m.a(this._el_2)]),this.context.graphicscanRef=this._viewQuery_ap_graphicscan_1.first,this._viewQuery_ap_overlaycan_2.reset([new m.a(this._el_4)]),this.context.overlaynacRef=this._viewQuery_ap_overlaycan_2.first,this._viewQuery_ap_playcan_3.reset([new m.a(this._el_6)]),this.context.playcanRef=this._viewQuery_ap_playcan_3.first,this.init(null,this.renderer.directRenderer?null:[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._el_8,this._text_9,this._text_10,this._el_11,this._text_12,this._text_13],[n]),null},t.prototype.injectorGetInternal=function(e,t,n){return e===y.a&&0<=t&&t<=13?this._AudioplayerDirective_0_3.context:n},t.prototype.detectChangesInternal=function(e){var t=new x.c;this._AudioplayerDirective_0_3.ngDoCheck(this,this._el_0,e),t.reset();var n=s.inlineInterpolate(1,"",t.unwrap(this._pipe_timespan_0.transform(this.context.current_time)),"");(t.hasWrappedValue||s.checkBinding(e,this._expr_19,n))&&(this.renderer.setText(this._text_9,n),this._expr_19=n),t.reset();var i=s.inlineInterpolate(1,"",t.unwrap(this._pipe_timespan_1.transform(this.context.total_time-this.context.current_time)),"");(t.hasWrappedValue||s.checkBinding(e,this._expr_21,i))&&(this.renderer.setText(this._text_12,i),this._expr_21=i)},t.prototype.handleEvent_6=function(e,t){this.markPathToRootAsCheckOnce();var n=!0;if("mouseleave"==e){this.context.onMouseMove(t);n=(this.context.focused=!1)!=!1&&n}if("mouseenter"==e){n=(this.context.focused=!0)!=!1&&n}if("mousedown"==e){n=this.context.onClick(t)!==!1&&n}if("mouseup"==e){n=this.context.onClick(t)!==!1&&n}if("click"==e){n=this.context.onClick(t)!==!1&&n}if("mousemove"==e){n=this.context.onMouseMove(t)!==!1&&n}return n},t}(r.a)}},[1]); \ No newline at end of file