text: !function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=14)}({14:function(e,t){const r=document.querySelector("#startAudioContext");new WebSocket("wss://127.0.0.1:3000");r.addEventListener("click",()=>{"false"===r.dataset.playing?(ediPlayer.startStream({url:"https://bredi.irt.de:443/services/21"}),r.dataset.playing="true",r.firstChild.innerHTML="access_time"):"true"===r.dataset.playing&&(ediPlayer.stop(),r.dataset.playing="false",r.firstChild.innerHTML="access_time")},!1),ediPlayer.addEventListener("stateChange",e=>{switch(e){case"running":r.dataset.playing="true",r.firstChild.innerHTML="stop";break;case"stopped":r.dataset.playing="false",r.firstChild.innerHTML="play_arrow"}}),ediPlayer.addEventListener("encodedAudioData",e=>{console.log(e.length),exampleSocket.send(e)});const n=e=>{M.toast({html:"<pre>"+JSON.stringify(e,null,10)+"</pre>"})};ediPlayer.addEventListener("sls",e=>{M.toast({html:'<img src="'+e.url+'">'}),n(e)}),ediPlayer.addEventListener("msg",e=>{n(e)}),ediPlayer.addEventListener("dls",e=>{n(e)})}});