"+document.querySelector(".messages").innerHTML}}!function(){var a=!1,b=/xyz/.test(function(){})?/\b_super\b/:/.*/;this.Class=function(){},Class.extend=function(c){function d(){!a&&this.init&&this.init.apply(this,arguments)}var e=this.prototype;a=!0;var f=new this;a=!1;for(var g in c)f[g]="function"==typeof c[g]&&"function"==typeof e[g]&&b.test(c[g])?function(a,b){return function(){var c=this._super;this._super=e[a];var d=b.apply(this,arguments);return this._super=c,d}}(g,c[g]):c[g];return d.prototype=f,d.prototype.constructor=d,d.extend=arguments.callee,d}}();var btv={},isDebugMode=-1!=document.location.href.indexOf("debug")?!0:!1;!function(){"use strict";btv.MediaCast=Class.extend({TAG:"MediaCast",mediaElement:null,mediaType:null,data:null,timer:null,timerPlay:null,init:function(){},initialize:function(a,b){this.mediaType=a,this.data=b,this.loadTemplate(b),this.mediaElement=document.querySelector("."+a),this.mediaElement.autoplay=!0,this.initEvent()},loadTemplate:function(a){var b=this;if("audio"==this.mediaType){var c,d,e="",f="podcast"==a.mediaFormat?"podcastDefault":"radioDefault";e+='
',e+=a.thumbUrl?'
':'
',e+='
',document.querySelector(".player").innerHTML=e,c=document.querySelector(".audioVisuel"),d=document.querySelector(".audioItem"),c?(c.onload=function(a){var c=a.currentTarget;c.style.opacity=1,c.parentNode.className+=" "+f+"Title",b.initThumb(d)},c.onerror=function(a){var c=a.currentTarget;c.parentNode.className+=" "+f,b.initThumb(d)}):b.initThumb(d)}else document.querySelector(".player").innerHTML=''},initThumb:function(a){var b=this;b.onLoadThumb(a),clearTimeout(b.timer),b.timer=window.setTimeout(function(){b.moveThumb(a)},5e3)},onLoadThumb:function(a){a.dirX=0===Math.round(Math.random())?"left":"right",a.dirY=0===Math.round(Math.random())?"up":"down",a.posX=(window.outerWidth-a.offsetWidth)/2,a.posY=(window.outerHeight-a.offsetHeight)/2,a.speedX=Math.round(2*Math.random())+2,a.speedY=Math.round(2*Math.random())+2,a.style.left=a.posX+"px",a.style.top=a.posY+"px"},moveThumb:function(a){var b=this;a.posX=Math.round(Math.random()*(window.outerWidth-a.offsetWidth)),a.posY=Math.round(Math.random()*(window.outerHeight-a.offsetHeight)),a.className=a.className.replace(" fadein",""),a.className+=" fadeout",window.setTimeout(function(){a.style.left=a.posX+"px",a.style.top=a.posY+"px",a.className=a.className.replace(" fadeout"," fadein")},450),b.timer=window.setTimeout(function(){a&&b.moveThumb(a)},7e3)},bouncingThumb:function(a){var b=this;"left"===a.dirX?a.posX>a.speedX?a.posX-=a.speedX:(a.dirX="right",a.posX=0):"right"===a.dirX&&(a.posX+a.offsetWidtha.speedY?a.posY-=a.speedY:(a.dirY="down",a.posY=0):"down"===a.dirY&&(a.posY+a.offsetHeight