1/* 2 * HTML5 Radio Player With Playlist - Shoutcast and Icecast - v3.3.1 3 * Copyright 2014-2020, LambertGroup 4 * 5 */ 6 7 (function(d){function I(a,c,f,e){d(a.thumbsHolder_Thumbs[a.current_img_no]).css({background:c.playlistRecordBgOnColor,"border-bottom-color":c.playlistRecordBottomBorderOnColor,color:c.playlistRecordTextOnColor});a.is_very_first||D(-1,a,c,f);var m;""!=a.playlist_arr[a.origID].radiostream&&(m=a.playlist_arr[a.origID].radiostream);return m}function Q(a,c,f,e,m){m=c.noImageAvailable;var g="",k="";if(""!=a&&void 0!=a){g=a.match(/\.([^\./\?#]+)($|\?|#)/)[1];if("jpg"==g||"jpeg"==g||"JPG"==g||"JPEG"==g)k= 8 "&iiurlparam=qlow-500px";d.get("https://commons.wikimedia.org/w/api.php?action=query&titles=Image:"+a+"&prop=imageinfo&format=xml&origin=*&iiprop=url"+k,{},function(a){""!=d("ii",a).attr("thumburl")&&void 0!=d("ii",a).attr("thumburl")?(m=d("ii",a).attr("thumburl"),f.wiki_photo_path=m):""!=d("ii",a).attr("url")&&void 0!=d("ii",a).attr("url")&&(m=d("ii",a).attr("url"),f.wiki_photo_path=m);M(c,f,e,m)})}}function R(a){a=a.split("");a.forEach(function(c,d){var e="\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5\u00df\u00d2\u00d3\u00d4\u00d5\u00d5\u00d6\u00d8\u00f2\u00f3\u00f4\u00f5\u00f6\u00f8\u00c8\u00c9\u00ca\u00cb\u00e8\u00e9\u00ea\u00eb\u00f0\u00c7\u00e7\u00d0\u00cc\u00cd\u00ce\u00cf\u00ec\u00ed\u00ee\u00ef\u00d9\u00da\u00db\u00dc\u00f9\u00fa\u00fb\u00fc\u00d1\u00f1\u0160\u0161\u0178\u00ff\u00fd\u017d\u017e\u2019".indexOf(c); 9 -1!=e&&(a[d]="AAAAAAaaaaaaBOOOOOOOooooooEEEEeeeeeCcDIIIIiiiiUUUUuuuuNnSsYyyZz'"[e])});return a.join("").trim()}function N(a,c,f,e,m,g,k,u,l,q){clearInterval(a.radioReaderAjaxInterval);d.get(c.pathToAjaxFiles+"now_playing.php",{the_stream:a.playlist_arr[a.origID].radiostream,_:d.now()},function(d){a.playlist_arr[a.origID].title=d;J(a,c,f,e,m,g,k,u,l,q)});J(a,c,f,e,m,g,k,u,l,q);a.isFlashNeeded?""!=a.myFlashObject&&a.myFlashObject.myAS3function(I(a,c,f,e),c.initialVolume):(document.getElementById(a.audioID).src= 10 I(a,c,f,e),document.getElementById(a.audioID).load(),c.autoPlay&&m.click());setTimeout(function(){a.radioReaderAjaxInterval=setInterval(function(){d.get(c.pathToAjaxFiles+"now_playing.php",{the_stream:a.playlist_arr[a.origID].radiostream,_:d.now()},function(d){a.playlist_arr[a.origID].title=d;J(a,c,f,e,m,g,k,u,l,q)})},1E3*c.nowPlayingInterval)},1E3*c.nowPlayingInterval)}function M(a,c,d,e){d.css({background:"url("+e+") #000000","background-repeat":"no-repeat","background-position":"top center","background-size":"cover", 11 "border-width":a.imageBorderWidth+"px","border-color":a.imageBorderColor})}function J(a,c,f,e,m,g,k,u,l,q){g.width(a.titleWidth);u.width(a.titleWidth);a.curSongText="";c.showTitle&&null!=a.playlist_arr[a.origID].title&&""!=a.playlist_arr[a.origID].title&&(a.curSongText+="<b>"+c.translateSongTitle+"</b>"+a.playlist_arr[a.origID].title);c.showRadioStation&&null!=a.playlist_arr[a.origID].station&&""!=a.playlist_arr[a.origID].station&&u.html("<b>"+c.translateRadioStation+"</b>"+a.playlist_arr[a.origID].station); 12 var n=a.playlist_arr[a.origID].title.split("-"),v=c.noImageAvailable;n[0]=n[0].trim();if(a.curSongText&&a.prevSongTitle!=a.playlist_arr[a.origID].title)if(k.css({width:"auto"}),a.isStationTitleInsideScrolling=!1,a.stationTitleInsideWait=0,k.stop(),k.css({"margin-left":0}),k.html(a.curSongText),clearInterval(a.timeupdateInterval),k.width()>a.titleWidth?a.timeupdateInterval=setInterval(function(){!a.isStationTitleInsideScrolling&&5<=a.stationTitleInsideWait&&k.width()>a.titleWidth?(a.isStationTitleInsideScrolling= 13 !0,a.stationTitleInsideWait=0,k.html(a.curSongText+" **** "+a.curSongText+" **** "+a.curSongText+" **** "+a.curSongText+" **** "+a.curSongText+" **** "),k.css({"margin-left":0}),k.stop().animate({"margin-left":c.playerWidth-k.width()+"px"},parseInt(1E4*(k.width()-c.playerWidth)/150,10),"linear",function(){a.isStationTitleInsideScrolling=!1})):!a.isStationTitleInsideScrolling&&k.width()>a.titleWidth&&a.stationTitleInsideWait++},300):k.css({width:"100%"}),a.prevSongTitle=a.playlist_arr[a.origID].title, 14 c.grabLastFmPhoto&&""!=n[0].trim()){var p,r,w,t="";a.the_artist_id="";a.the_wikidata_id="";v=c.noImageAvailable;a.wiki_photo_path=v;clearTimeout(a.musicbrainz_setTimeout);M(c,a,q,v);n[0]=n[0].trim();""!=n[0]&&void 0!=n[0]&&(a.musicbrainz_setTimeout=setTimeout(function(){d.get("https://musicbrainz.org/ws/2/artist/?query=artist:"+n[0],{},function(e){a.the_artist_id="";p=n[0];p=p.toLowerCase();p=R(p);d("artist",e).each(function(){w=d("name",this)[0];0<d("name",this).length&&""==a.the_artist_id&&(r=d(w).text(), 15 r=r.toLowerCase(),r=R(r),p.toLowerCase()==r.toLowerCase()&&(a.the_artist_id=d(this).attr("id")))});""==a.the_artist_id&&"ROCK RADIO"!=n[0]&&(a.the_artist_id=d(d("artist",e)[0]).attr("id"));""!=a.the_artist_id&&void 0!=a.the_artist_id&&(a.musicbrainz_setTimeout=setTimeout(function(){a.the_wikidata_id="";d.get("https://musicbrainz.org/ws/2/artist/"+a.the_artist_id+"?inc=url-rels",{},function(e){d("relation",e).each(function(){"image"==d(this).attr("type")&&0<d("target",this).length&&(t=d("target",this).text(), 16 t=t.substr(t.indexOf("File:",10)+5,t.length),Q(t,c,a,q,v));"wikidata"==d(this).attr("type")&&0<d("target",this).length&&""==t&&(a.the_wikidata_id=d("target",this).text(),a.the_wikidata_id=a.the_wikidata_id.substr(a.the_wikidata_id.indexOf("/Q",10)+1,a.the_wikidata_id.length),d.get("https://www.wikidata.org/w/api.php?action=wbgetclaims&entity="+a.the_wikidata_id+"&property=P18&format=xml&origin=*",{},function(e){t=d("datavalue",d("mainsnak",e)).attr("value");Q(t,c,a,q,v)}))})})},1500))})},1500))}else M(c, 17 a,q,v)}function D(a,c,f,e){if(c.selectedCateg_total_images>f.numberOfThumbsPerScreen){var m=(c.thumbsHolder_ThumbHeight+1)*(c.selectedCateg_total_images-f.numberOfThumbsPerScreen),g=0;e.stop(!0,!0);d("html, body").off("touchstart touchmove").on("touchstart touchmove",function(a){a.preventDefault()});-1==a||c.isCarouselScrolling?!c.isCarouselScrolling&&c.selectedCateg_total_images>f.numberOfThumbsPerScreen&&(c.isCarouselScrolling=!0,g=-1*parseInt((c.thumbsHolder_ThumbHeight+1)*c.current_img_no,10), 18 Math.abs(g)>m&&(g=-1*m),c.selectedCateg_total_images>f.numberOfThumbsPerScreen&&f.showPlaylist&&c.audio4_html5_sliderVertical.slider("value",100+parseInt(100*g/m)),e.animate({top:g+"px"},500,"easeOutCubic",function(){c.isCarouselScrolling=!1;d("html, body").off("touchstart touchmove").on("touchstart touchmove",function(a){})})):(c.isCarouselScrolling=!0,g=2>=a?-1*m:parseInt(m*(a-100)/100,10),0<g&&(g=0),e.animate({top:g+"px"},600,"easeOutQuad",function(){c.isCarouselScrolling=!1;d("html, body").off("touchstart touchmove").on("touchstart touchmove", 19 function(a){})}))}}function U(a,c,f,e,m,g,k,u,l,q,n,v,p,r,w,t,x){e.stop(!0,!0);a.isCarouselScrolling=!1;
19e.stop().animate({left:-1*g.width()+"px"},600,"easeOutQuad",function(){e.html("");for(var h=0;h<a.category_arr.length;h++)a.thumbsHolder_Thumb=d('<div class="thumbsHolder_ThumbOFF" rel="'+h+'"><div class="padding">'+a.category_arr[h]+"</div></div>"),e.append(a.thumbsHolder_Thumb),a.thumbsHolder_Thumb.css({top:(a.thumbsHolder_Thumb.height()+1)*h+"px",background:c.categoryRecordBgOffColor,"border-bottom-color":c.categoryRecordBottomBorderOffColor, 20 color:c.categoryRecordTextOffColor}),a.category_arr[h]==a.selectedCateg&&(a.current_img_no=h,a.thumbsHolder_Thumb.css({background:c.categoryRecordBgOnColor,"border-bottom-color":c.categoryRecordBottomBorderOnColor,color:c.categoryRecordTextOnColor}));a.selectedCateg_total_images=a.numberOfCategories;a.categsAreListed=!0;h=0;c.showCategories&&(h+=c.selectedCategMarginBottom);c.showSearchArea&&(h+=c.selectedCategMarginBottom);m.height(2*c.playlistPadding+(a.thumbsHolder_Thumb.height()+1)*c.numberOfThumbsPerScreen+ 21 k.height()+l.height()+h);g.height((a.thumbsHolder_Thumb.height()+1)*c.numberOfThumbsPerScreen);q.css({padding:c.playlistPadding+"px"});a.thumbsHolder_Thumbs=d(".thumbsHolder_ThumbOFF",f);a.numberOfCategories>c.numberOfThumbsPerScreen&&c.showPlaylist?(c.isPlaylistSliderInitialized&&a.audio4_html5_sliderVertical.slider("destroy"),a.audio4_html5_sliderVertical.slider({orientation:"vertical",range:"min",min:1,max:100,step:1,value:100,slide:function(d,f){D(f.value,a,c,e)}}),c.isPlaylistSliderInitialized= 22 !0,a.audio4_html5_sliderVertical.css({display:"inline",position:"absolute",height:m.height()-20-k.height()-h-l.height()-2*c.playlistPadding+"px",left:f.width()+2*c.playerPadding-a.audio4_html5_sliderVertical.width()-c.playlistPadding+"px",top:a.audioPlayerHeight+c.playlistTopPos+c.playlistPadding+k.height()+c.selectedCategMarginBottom+2+"px"}),c.showPlaylistOnInit||a.audio4_html5_sliderVertical.css({opacity:0,display:"none"}),c.showPlaylistOnInit=!0,d(".thumbsHolder_ThumbOFF",f).css({width:f.width()+ 23 2*c.playerPadding-a.audio4_html5_sliderVertical.width()-2*c.playlistPadding-3+"px"})):(c.isPlaylistSliderInitialized&&(a.audio4_html5_sliderVertical.slider("destroy"),c.isPlaylistSliderInitialized=!1),d(".thumbsHolder_ThumbOFF",f).css({width:f.width()+2*c.playerPadding-2*c.playlistPadding+"px"}));a.thumbsHolder_Thumbs.on("click",function(){var h=d(this).attr("rel");a.selectedCateg=a.category_arr[h];u.html(a.selectedCateg);O(a,c,f,e,m,g,k,l,q,n,v,p,r,w,t,x)});a.thumbsHolder_Thumbs.on("mouseover",function(){d(this).css({background:c.categoryRecordBgOnColor, 24 "border-bottom-color":c.categoryRecordBottomBorderOnColor,color:c.categoryRecordTextOnColor})});a.thumbsHolder_Thumbs.on("mouseout",function(){var e=d(this),f=e.attr("rel");a.current_img_no!=f&&e.css({background:c.categoryRecordBgOffColor,"border-bottom-color":c.categoryRecordBottomBorderOffColor,color:c.categoryRecordTextOffColor})});g.mousewheel(function(d,f,b,h){d.preventDefault();d=a.audio4_html5_sliderVertical.slider("value");if(1<parseInt(d)&&-1==parseInt(f)||100>parseInt(d)&&1==parseInt(f))d+= 25 f,a.audio4_html5_sliderVertical.slider("value",d),D(d,a,c,e)});e.css({top:"0px"});e.stop().animate({left:"0px"},400,"easeOutQuad",function(){})})}function O(a,c,f,e,m,g,k,u,l,q,n,v,p,r,w,t){e.stop(!0,!0);a.isCarouselScrolling=!1;var x="",h=!1,B=500;a.is_very_first&&(B=1);""!=a.search_val&&(B=1);e.stop().animate({left:-1*g.width()+"px"},B,"easeOutQuad",function(){e.html("");for(var y=a.selectedCateg_total_images=0;y<a.playlist_arr.length;y++)h=!1,""!=a.search_val?(x=a.playlist_arr[y].station.toLowerCase(), 26 -1!=x.indexOf(a.search_val)&&(h=!0)):-1!=a.playlist_arr[y].category.indexOf(a.selectedCateg+";")&&(h=!0),h&&(a.selectedCateg_total_images++,a.thumbsHolder_Thumb=d('<div class="thumbsHolder_ThumbOFF" rel="'+(a.selectedCateg_total_images-1)+'" data-origID="'+y+'"><div class="padding">'+(c.showPlaylistNumber?a.selectedCateg_total_images+". ":"")+a.playlist_arr[y].station+"</div></div>"),e.append(a.thumbsHolder_Thumb),0==a.thumbsHolder_ThumbHeight&&(a.thumbsHolder_ThumbHeight=a.thumbsHolder_Thumb.height()), 27 a.thumbsHolder_Thumb.css({top:(a.thumbsHolder_ThumbHeight+1)*a.selectedCateg_total_images+"px",background:c.playlistRecordBgOffColor,"border-bottom-color":c.playlistRecordBottomBorderOffColor,color:c.playlistRecordTextOffColor}),a.current_img_no=0,a.origID==d("div[rel='"+(a.selectedCateg_total_images-1)+"']").attr("data-origID")&&a.thumbsHolder_Thumb.css({background:c.playlistRecordBgOnColor,"border-bottom-color":c.playlistRecordBottomBorderOnColor,color:c.playlistRecordTextOnColor}));a.categsAreListed= 28 !1;y=0;c.showCategories&&(y+=c.selectedCategMarginBottom);c.showSearchArea&&(y+=c.selectedCategMarginBottom);m.height(2*c.playlistPadding+(a.thumbsHolder_ThumbHeight+1)*c.numberOfThumbsPerScreen+k.height()+u.height()+y);g.height((a.thumbsHolder_ThumbHeight+1)*c.numberOfThumbsPerScreen);l.css({padding:c.playlistPadding+"px"});a.thumbsHolder_Thumbs=d(".thumbsHolder_ThumbOFF",f);var b=a.audioPlayerHeight+m.height()+c.playlistTopPos;c.showPlaylist&&c.showPlaylistOnInit||(b=a.audioPlayerHeight);t.css({width:f.width()+ 29 2*c.playerPadding+"px",height:b+"px"});a.selectedCateg_total_images>c.numberOfThumbsPerScreen&&c.showPlaylist?(c.isPlaylistSliderInitialized&&a.audio4_html5_sliderVertical.slider("destroy"),a.audio4_html5_sliderVertical.slider({orientation:"vertical",range:"min",min:1,max:100,step:1,value:100,slide:function(b,d){D(d.value,a,c,e)}}),c.isPlaylistSliderInitialized=!0,b=0,c.showCategories&&(b+=c.selectedCategMarginBottom),a.audio4_html5_sliderVertical.css({display:"inline",position:"absolute",height:m.height()-
30 20-k.height()-y-u.height()-2*c.playlistPadding+"px",left:f.width()+2*c.playerPadding-a.audio4_html5_sliderVertical.width()-c.playlistPadding+"px",top:a.audioPlayerHeight+c.playlistTopPos+c.playlistPadding+k.height()+b+2+"px"}),c.showPlaylistOnInit||a.audio4_html5_sliderVertical.css({opacity:0,display:"none"}),c.showPlaylistOnInit=!0,d(".thumbsHolder_ThumbOFF",f).css({width:f.width()+2*c.playerPadding-a.audio4_html5_sliderVertical.width()-2*c.playlistPadding-3+"px"})):(c.isPlaylistSliderInitialized&& 31 (a.audio4_html5_sliderVertical.slider("destroy"),c.isPlaylistSliderInitialized=!1),d(".thumbsHolder_ThumbOFF",f).css({width:f.width()+2*c.playerPadding-2*c.playlistPadding+"px"}));a.thumbsHolder_Thumbs.on("click",function(){c.autoPlay=!0;var b=d(this).attr("rel");a.thumbsHolder_Thumbs.css({background:c.playlistRecordBgOffColor,"border-bottom-color":c.playlistRecordBottomBorderOffColor,color:c.playlistRecordTextOffColor});a.current_img_no=b;a.origID=d("div[rel='"+a.current_img_no+"']").attr("data-origID"); 32 q.addClass("AudioPause");N(a,c,e,f,q,n,v,p,r,w);D(-1,a,c,e)});a.thumbsHolder_Thumbs.on("mouseover",function(){d(this).css({background:c.playlistRecordBgOnColor,"border-bottom-color":c.playlistRecordBottomBorderOnColor,color:c.playlistRecordTextOnColor})});a.thumbsHolder_Thumbs.on("mouseout",function(){var b=d(this),e=b.attr("rel");a.origID!=d("div[rel='"+e+"']").attr("data-origID")&&b.css({background:c.playlistRecordBgOffColor,"border-bottom-color":c.playlistRecordBottomBorderOffColor,color:c.playlistRecordTextOffColor})}); 33 g.mousewheel(function(b,d,f,h){b.preventDefault();b=a.audio4_html5_sliderVertical.slider("value");if(1<parseInt(b)&&-1==parseInt(d)||100>parseInt(b)&&1==parseInt(d))b+=d,a.audio4_html5_sliderVertical.slider("value",b),D(b,a,c,e)});e.css({top:"0px"});e.stop().animate({left:"0px"},400,"easeOutQuad",function(){})})}function S(a,c,f){"next"==f?a.current_img_no==a.selectedCateg_total_images-1?a.current_img_no=0:a.current_img_no++:0>a.current_img_no-1?a.current_img_no=a.selectedCateg_total_images-1:a.current_img_no--; 34 a.origID=d("div[rel='"+a.current_img_no+"']").attr("data-origID")}function V(){d("audio").each(function(){d(".AudioPlay").removeClass("AudioPause");d(this)[0].pause()})}function T(){var a=-1;if("Microsoft Internet Explorer"==navigator.appName){var c=navigator.userAgent,d=/MSIE ([0-9]{1,}[.0-9]{0,})/;null!=d.exec(c)&&(a=parseFloat(RegExp.$1))}else"Netscape"==navigator.appName&&(c=navigator.userAgent,d=/Trident\/.*rv:([0-9]{1,}[.0-9]{0,})/,null!=d.exec(c)&&(a=parseFloat(RegExp.$1)));return parseInt(a, 35 10)}function W(a){var c=!1;document.getElementById(a.audioID).canPlayType&&"no"!=document.getElementById(a.audioID).canPlayType("audio/mpeg")&&""!=document.getElementById(a.audioID).canPlayType("audio/mpeg")||(c=!0);return c}var E=navigator.userAgent.toLowerCase();d.fn.audio4_html5=function(a){a=d.extend({},d.fn.audio4_html5.defaults,a);T();return this.each(function(){var c=d(this),f=d('<div class="FrameBehindPlayerText"></div><div class="FrameBehindPlayer"></div> <div class="ximage"></div> <div class="AudioControls"> <a class="AudioFacebook" title="Facebook"></a><a class="AudioTwitter" title="Twitter"></a><a class="AudioPlay" title="Play/Pause"></a><a class="AudioPrev" title="Previous"></a><a class="AudioNext" title="Next"></a><a class="AudioShowHidePlaylist" title="Show/Hide Playlist"></a><a class="VolumeButton" title="Mute/Unmute"></a><div class="VolumeSlider"></div> </div> <div class="songTitle"><div class="songTitleInside"></div></div> <div class="radioStation"></div> <div class="thumbsHolderWrapper"><div class="playlistPadding"><div class="selectedCategDiv"><div class="innerSelectedCategDiv">reading the categories...</div></div> <div class="thumbsHolderVisibleWrapper"><div class="thumbsHolder"></div></div><div class="searchDiv"><input class="search_term" type="text" value="search..." /></div></div></div> <div class="slider-vertical"></div>'), 36 e=c.parent(".audio4_html5");e.addClass(a.skin);e.append(f);var m=d(".FrameBehindPlayerText",e),g=d(".FrameBehindPlayer",e);
36d(".AudioControls",e);var k=d(".AudioFacebook",e),u=d(".AudioTwitter",e),l=d(".AudioPlay",e),q=d(".AudioPrev",e),n=d(".AudioNext",e),v=d(".AudioShowHidePlaylist",e),p=d(".VolumeButton",e),r=d(".VolumeSlider",e),w=d(".songTitle",e),t=d(".songTitleInside",e),x=d(".radioStation",e),h=d(".ximage",e);e.wrap("<div class='the_wrapper'></div>");var B=e.parent(),y=T();if(-1!=E.indexOf("ipad")|| 37 -1!=E.indexOf("iphone")||-1!=E.indexOf("ipod")||-1!=E.indexOf("webos")||-1!=navigator.userAgent.indexOf("Android"))a.autoHidePlayButton=!1,l.css("display","block"),a.autoPlay=!1;e.css({background:"transparent",padding:a.playerPadding+"px"});g.css({background:a.frameBehindPlayerColor});m.css({background:a.beneathTitleBackgroundColor_VisiblePlaylist,opacity:a.beneathTitleBackgroundOpacity_VisiblePlaylist/100,"border-bottom":a.beneathTitleBackgroundBorderWidth+"px solid "+a.beneathTitleBackgroundBorderColor}); 38 var b={current_img_no:0,origID:0,is_very_first:!0,total_images:0,selectedCateg_total_images:0,numberOfCategories:0,is_changeSrc:!1,timeupdateInterval:"",totalTime:"",playlist_arr:"",isCarouselScrolling:!1,isStationTitleInsideScrolling:!1,curSongText:"",prevSongTitle:"",stationTitleInsideWait:0,audioPlayerWidth:0,audioPlayerHeight:0,category_arr:"",selectedCateg:"",categsAreListed:!1,thumbsHolder_Thumb:d('<div class="thumbsHolder_ThumbOFF" rel="0"><div class="padding">test</div></div>'),thumbsHolder_ThumbHeight:0, 39 thumbsHolder_Thumbs:"",search_val:"",constantDistance:5,titleWidth:0,radioStationTopPos:0,radioStationLeftPos:0,titleTopPos:0,titleLeftPos:0,frameBehindPlayerTopPos:0,frameBehindPlayerLeftPos:0,imageTopPos:0,imageLeftPos:0,playTopPos:0,playLeftPos:0,previousTopPos:0,previousLeftPos:0,nextTopPos:0,nextLeftPos:0,volumeTopPos:0,volumeLeftPos:0,volumesliderTopPos:0,volumesliderLeftPos:0,showhideplaylistTopPos:0,showhideplaylistLeftPos:0,smallButtonDistance:0,facebookTopPos:0,facebookLeftPos:0,twitterTopPos:0, 40 twitterLeftPos:0,numberOfButtonsRightSide:3,origParentFloat:"",origParentPaddingTop:"",origParentPaddingRight:"",origParentPaddingBottom:"",origParentPaddingLeft:"",windowWidth:0,audioID:"",audioObj:"",radioReaderAjaxInterval:"",totalRadioStationsNo:0,ajaxReturnedRadioStationsNo:0,lastfm:"",isFlashNeeded:!0,myFlashObject:"",rndNum:0,prevVolumeVal:1,the_artist_id:"",the_wikidata_id:"",musicbrainz_setTimeout:""};b.audioID=c.attr("id");35>a.nowPlayingInterval&&(a.nowPlayingInterval=40);-1==(-1==navigator.userAgent.indexOf("Opera")&& 41 navigator.userAgent.indexOf("OPR"))&&(-1!=navigator.userAgent.indexOf("Chrome")&&-1!=navigator.vendor.indexOf("Google")&&(a.autoPlay=!1),-1<navigator.userAgent.indexOf("Firefox")&&(a.autoPlay=!1),-1!=navigator.userAgent.indexOf("Safari")&&-1!=navigator.vendor.indexOf("Apple")&&-1==navigator.platform.indexOf("Win")&&(a.autoPlay=!1));b.isFlashNeeded=W(b);-1!=y&&(b.isFlashNeeded=!0);a.showFacebookBut||--b.numberOfButtonsRightSide;a.showTwitterBut||--b.numberOfButtonsRightSide;a.showPlaylistBut||--b.numberOfButtonsRightSide; 42 a.showPlaylistBut||v.css({display:"none",padding:0,margin:0});e.width(a.playerWidth);a.origWidth=a.playerWidth;g.css({top:parseInt((h.height()+2*a.imageBorderWidth-g.height())/2,10)+"px",left:"0px"});b.frameBehindPlayerTopPos=parseInt(g.css("top").substring(0,g.css("top").length-2),10);b.frameBehindPlayerLeftPos=parseInt(g.css("left").substring(0,g.css("left").length-2),10);m.css({top:b.frameBehindPlayerTopPos+g.height()+"px",left:"0px"});h.css({top:"0px",left:parseInt((e.width()-(h.width()+2*a.imageBorderWidth))/ 43 2,10)+"px"});M(a,b,h,a.noImageAvailable);b.imageTopPos=parseInt(h.css("top").substring(0,h.css("top").length-2),10);b.imageLeftPos=parseInt(h.css("left").substring(0,h.css("left").length-2),10);a.autoHidePlayButton&&(d("*").on("click",function(){l.css({display:"none"})}),h.on("mouseover",function(){l.css({display:"block"})}),h.on("mouseout",function(){l.css({display:"none"})}),l.on("mouseover",function(){l.css({display:"block"})}));h.on("click",function(){l.click();l.css({display:"block"})});b.playTopPos=
44 b.frameBehindPlayerTopPos+parseInt((g.height()-l.height())/2,10);b.playLeftPos=parseInt((g.width()-l.width())/2,10);l.css({top:b.playTopPos+"px",left:b.playLeftPos+"px"});a.autoHidePlayButton&&setTimeout(function(){l.fadeOut(1500,function(){})},2E3);a.showNextPrevBut||(q.css({display:"none",width:0,padding:0,margin:0}),n.css({display:"none",width:0,padding:0,margin:0}));b.previousTopPos=b.playTopPos+parseInt((l.height()-q.height())/2,10);b.previousLeftPos=b.imageLeftPos-q.width()-b.constantDistance; 45 q.css({top:b.previousTopPos+"px",left:b.previousLeftPos+"px"});b.nextTopPos=b.previousTopPos;b.nextLeftPos=b.imageLeftPos+(h.width()+2*a.imageBorderWidth)+b.constantDistance;n.css({top:b.nextTopPos+"px",left:b.nextLeftPos+"px"});a.showVolume?(b.volumeTopPos=b.nextTopPos+Math.floor((n.height()-p.height())/2),b.volumeLeftPos=parseInt((b.previousLeftPos-(p.width()+r.width()+b.constantDistance))/2,10),p.css({top:b.volumeTopPos+"px",left:b.volumeLeftPos+"px"}),b.volumesliderTopPos=b.volumeTopPos+Math.floor((p.height()- 46 r.height())/2),b.volumesliderLeftPos=b.volumeLeftPos+p.width()+b.constantDistance,r.css({top:b.volumesliderTopPos+"px",left:b.volumesliderLeftPos+"px"})):(p.css({display:"none",width:0,padding:0,margin:0}),r.css({display:"none",width:0,padding:0,margin:0}));b.audioPlayerHeight=h.height()+2*a.imageBorderWidth+b.constantDistance+x.height()+b.constantDistance+w.height()+2*b.constantDistance;e.height(b.audioPlayerHeight);f=b.audioPlayerHeight+170+a.playlistTopPos;a.showPlaylist&&a.showPlaylistOnInit|| 47 (f=b.audioPlayerHeight);B.css({width:e.width()+2*a.playerPadding+"px",height:f+"px"});b.smallButtonDistance=parseInt((a.playerWidth-b.nextLeftPos-n.width()-b.numberOfButtonsRightSide*v.width())/(b.numberOfButtonsRightSide+1),10);b.facebookTopPos=b.nextTopPos+Math.floor((n.height()-k.height())/2);b.facebookLeftPos=b.nextLeftPos+n.width()+b.smallButtonDistance;k.css({top:b.facebookTopPos+"px",left:b.facebookLeftPos+"px"});a.showFacebookBut?(window.fbAsyncInit=function(){FB.init({appId:a.facebookAppID, 48 version:"v3.2",status:!0,cookie:!0,xfbml:!0})},function(a,b,c){var d=a.getElementsByTagName(b)[0];a.getElementById(c)||(a=a.createElement(b),a.id=c,a.src="//connect.facebook.com/en_US/sdk.js",d.parentNode.insertBefore(a,d))}(document,"script","facebook-jssdk")):(k.css({display:"none",width:0,padding:0,margin:0}),b.facebookLeftPos=b.nextLeftPos+n.width());k.on("click",function(){FB.ui({method:"share_open_graph",action_type:"og.likes",action_properties:JSON.stringify({object:{"og:url":document.URL, 49 "og:title":a.facebookShareTitle,"og:description":a.facebookShareDescription}})},function(a){})});b.twitterTopPos=b.nextTopPos+Math.floor((n.height()-k.height())/2);b.twitterLeftPos=b.facebookLeftPos+k.width()+b.smallButtonDistance;u.css({top:b.twitterTopPos+"px",left:b.twitterLeftPos+"px"});a.showTwitterBut||(u.css({display:"none",width:0,padding:0,margin:0}),b.twitterLeftPos=b.facebookLeftPos+k.width());u.on("click",function(){window.open("https://twitter.com/intent/tweet?url="+document.URL+"&text="+ 50 b.playlist_arr[b.origID].station,"Twitter","status = 1, left = 430, top = 270, height = 550, width = 420, resizable = 0")});b.showhideplaylistTopPos=b.nextTopPos+Math.floor((n.height()-v.height())/2);b.showhideplaylistLeftPos=b.twitterLeftPos+u.width()+b.smallButtonDistance;v.css({top:b.showhideplaylistTopPos+"px",left:b.showhideplaylistLeftPos+"px"});w.css({color:a.songTitleColor});x.css({color:a.radioStationColor});b.titleWidth=a.playerWidth-2*a.playlistPadding;b.radioStationTopPos=b.imageTopPos+ 51 (h.width()+2*a.imageBorderWidth)+2*b.constantDistance;b.radioStationLeftPos=a.playlistPadding;b.titleTopPos=b.imageTopPos+(h.width()+2*a.imageBorderWidth)+2*b.constantDistance+x.height()+b.constantDistance;b.titleLeftPos=a.playlistPadding;x.css({top:b.radioStationTopPos+"px",left:b.radioStationLeftPos+"px"});w.css({top:b.titleTopPos+"px",left:b.titleLeftPos+"px"});m.css({top:b.frameBehindPlayerTopPos+g.height()+"px",left:"0px",height:parseInt(e.height()/2,10)+g.height()+"px"});var A=d(".thumbsHolderWrapper", 52 e),L=d(".playlistPadding",e),F=d(".thumbsHolderVisibleWrapper",e),z=d(".thumbsHolder",e);b.audio4_html5_sliderVertical=d(".slider-vertical",e);var C=d(".selectedCategDiv",e),G=d(".innerSelectedCategDiv",e),K=d(".searchDiv",e),H=d(".search_term",e);L.css({padding:a.playlistPadding+"px"});F.append('<div class="readingData">'+a.translateReadingData+"</div>");a.showPlaylist||A.css({opacity:0}
52);a.showPlaylistOnInit||(A.css({opacity:0,"margin-top":"-20px"}),m.css({background:a.beneathTitleBackgroundColor_HiddenPlaylist, 53 opacity:a.beneathTitleBackgroundOpacity_HiddenPlaylist/100,"border-bottom":a.beneathTitleBackgroundBorderWidth+"px solid "+a.beneathTitleBackgroundBorderColor}));C.css({"background-color":a.selectedCategBg,"background-position":"10px 50%","margin-bottom":a.selectedCategMarginBottom+"px"});G.css({color:a.selectedCategOffColor,"background-position":a.playerWidth-2*a.playlistPadding-20+"px 50%"});a.showCategories||C.css({display:"none",width:0,height:0,padding:0,margin:0});K.css({"background-color":a.searchAreaBg, 54 "margin-top":a.selectedCategMarginBottom+"px"});H.val(a.searchInputText);H.css({width:parseInt(a.playerWidth-2*a.playlistPadding-37,10)+"px","background-color":a.searchInputBg,"border-color":a.searchInputBorderColor,color:a.searchInputTextColor});a.showSearchArea||K.css({display:"none",width:0,height:0,padding:0,margin:0});A.css({width:e.width()+2*a.playerPadding+"px",top:b.audioPlayerHeight+a.playlistTopPos+"px",left:"0px",background:a.playlistBgColor});F.width(e.width());b.playlist_arr=[];b.category_arr= 55 [];d(".xaudioplaylist",e).children().each(function(){currentElement=d(this);b.total_images++;b.playlist_arr[b.total_images-1]=[];b.playlist_arr[b.total_images-1].title="";b.playlist_arr[b.total_images-1].station="";b.playlist_arr[b.total_images-1].image="";b.playlist_arr[b.total_images-1].category="";b.playlist_arr[b.total_images-1].radiostream="";null!=currentElement.find(".xtitle").html()&&(b.playlist_arr[b.total_images-1].title=currentElement.find(".xtitle").html());null!=currentElement.find(".xstation").html()&& 56 (b.playlist_arr[b.total_images-1].station=currentElement.find(".xstation").html());null!=currentElement.find(".ximage").html()&&(b.playlist_arr[b.total_images-1].image=currentElement.find(".ximage").html());if(null!=currentElement.find(".xcategory").html()&&(b.playlist_arr[b.total_images-1].category=a.translateAllRadioStations+";"+currentElement.find(".xcategory").html()+";",!a.grabStreamnameAndGenre)){var f=[];f=b.playlist_arr[b.total_images-1].category.split(";");for(var g=0;g<f.length;g++)f[g]= 57 f[g].trim(),-1===b.category_arr.indexOf(f[g])&&""!=f[g]&&b.category_arr.push(f[g])}null!=currentElement.find(".xradiostream").html()&&(b.playlist_arr[b.total_images-1].radiostream=currentElement.find(".xradiostream").html(),-1==b.playlist_arr[b.total_images-1].radiostream.indexOf("/",9)&&(b.playlist_arr[b.total_images-1].radiostream+="/;"),"/"==b.playlist_arr[b.total_images-1].radiostream.charAt(b.playlist_arr[b.total_images-1].radiostream.length-1)&&(b.playlist_arr[b.total_images-1].radiostream+= 58 ";"),b.totalRadioStationsNo++,a.grabStreamnameAndGenre&&d.get(a.pathToAjaxFiles+"streamandgenre.php",{the_stream:b.playlist_arr[b.total_images-1].radiostream,cur_i:b.total_images-1,translateAllRadioStations:a.translateAllRadioStations,_:d.now()},function(f){b.ajaxReturnedRadioStationsNo++;f=f.split("#----#");2<=f.length&&""==b.playlist_arr[f[0]].station&&(b.playlist_arr[f[0]].station=f[1]);3<=f.length&&""==b.playlist_arr[f[0]].category&&(b.playlist_arr[f[0]].category=f[2]+";");""==b.playlist_arr[f[0]].category&& 59 (b.playlist_arr[f[0]].category=a.translateAllRadioStations);f=b.playlist_arr[f[0]].category.split(";");for(var g=0;g<f.length;g++)f[g]=f[g].trim(),-1===b.category_arr.indexOf(f[g])&&""!=f[g]&&b.category_arr.push(f[g]);b.ajaxReturnedRadioStationsNo==b.totalRadioStationsNo&&(b.numberOfCategories=b.category_arr.length,b.selectedCateg=a.firstCateg,b.category_arr.sort(),""==a.firstCateg&&-1===b.category_arr.indexOf(a.firstCateg)&&(b.selectedCateg=b.category_arr[0]),G.html(b.selectedCateg),d(".readingData").remove(), 60 O(b,a,e,z,A,F,C,K,L,l,w,t,x,c,h,B))}))});a.grabStreamnameAndGenre||(b.numberOfCategories=b.category_arr.length,b.selectedCateg=a.firstCateg,b.category_arr.sort(),""==a.firstCateg&&-1===b.category_arr.indexOf(a.firstCateg)&&(b.selectedCateg=b.category_arr[0]),G.html(b.selectedCateg),d(".readingData").remove(),O(b,a,e,z,A,F,C,K,L,l,w,t,x,c,h,B));C.on("click",function(){b.search_val="";H.val(a.searchInputText);U(b,a,e,z,A,F,C,G,K,L,l,w,t,x,c,h,B)});C.on("mouseover",function(){G.css({color:a.selectedCategOnColor})}); 61 C.on("mouseout",function(){G.css({color:a.selectedCategOffColor})});r.slider({value:a.initialVolume,step:.05,orientation:"horizontal",range:"min",max:1,animate:!0,slide:function(c,d){a.initialVolume=d.value;b.isFlashNeeded?b.myFlashObject.myAS3function(I(b,a,z,e),a.initialVolume):document.getElementById(b.audioID).volume=d.value},stop:function(a,b){}});document.getElementById(b.audioID).volume=a.initialVolume;r.css({background:a.volumeOffColor});d(".ui-slider-range",r).css({background:a.volumeOnColor}); 62 l.on("click",function(){var c=b.isFlashNeeded?!l.hasClass("AudioPause"):document.getElementById(b.audioID).paused;V();0==c?(b.isFlashNeeded?b.myFlashObject.myAS3function("_pause_radio_stream_",a.initialVolume):document.getElementById(b.audioID).pause(),l.removeClass("AudioPause")):(b.isFlashNeeded?b.myFlashObject.myAS3function("_play_radio_stream_",a.initialVolume):(document.getElementById(b.audioID).src=I(b,a,z,e),document.getElementById(b.audioID).load(),document.getElementById(b.audioID).play()), 63 l.addClass("AudioPause"))});n.on("click",function(){!b.categsAreListed&&b.is_very_first&&(l.addClass("AudioPause"),a.autoPlay=!0,b.thumbsHolder_Thumbs.css({background:a.playlistRecordBgOffColor,"border-bottom-color":a.playlistRecordBottomBorderOffColor,color:a.playlistRecordTextOffColor}),S(b,a,"next"),N(b,a,z,e,l,w,t,x,c,h),D(-1,b,a,z))});q.on("click",function(){!b.categsAreListed&&b.is_very_first&&(l.addClass("AudioPause"),a.autoPlay=!0,b.thumbsHolder_Thumbs.css({background:a.playlistRecordBgOffColor, 64 "border-bottom-color":a.playlistRecordBottomBorderOffColor,color:a.playlistRecordTextOffColor}),S(b,a,"previous"),N(b,a,z,e,l,w,t,x,c,h),D(-1,b,a,z))});v.on("click",function(){0>A.css("margin-top").substring(0,A.css("margin-top").length-2)?(aux_opacity=1,aux_display="block",aux_margin_top="0px",aux_height=b.audioPlayerHeight+A.height()+a.playlistTopPos,A.css({display:aux_display}),b.selectedCateg_total_images>a.numberOfThumbsPerScreen&&b.audio4_html5_sliderVertical.css({opacity:1,display:"block"}),
65 m.css({background:a.beneathTitleBackgroundColor_VisiblePlaylist,opacity:a.beneathTitleBackgroundOpacity_VisiblePlaylist/100,"border-bottom":a.beneathTitleBackgroundBorderWidth+"px solid "+a.beneathTitleBackgroundBorderColor})):(aux_opacity=0,aux_display="none",aux_margin_top="-20px",b.selectedCateg_total_images>a.numberOfThumbsPerScreen&&b.audio4_html5_sliderVertical.css({opacity:0,display:"none"}),m.css({background:a.beneathTitleBackgroundColor_HiddenPlaylist,opacity:a.beneathTitleBackgroundOpacity_HiddenPlaylist/ 66 100,"border-bottom":a.beneathTitleBackgroundBorderWidth+"px solid "+a.beneathTitleBackgroundBorderColor}),aux_height=b.audioPlayerHeight);A.animate({opacity:aux_opacity,"margin-top":aux_margin_top},500,"easeOutQuad",function(){A.css({display:aux_display})});B.animate({height:aux_height},500,"easeOutQuad",function(){})});p.on("click",function(){document.getElementById(b.audioID).muted?(document.getElementById(b.audioID).muted=!1,p.removeClass("VolumeButtonMuted"),b.isFlashNeeded&&(a.initialVolume= 67 b.prevVolumeVal,b.myFlashObject.myAS3function(I(b,a,z,e),a.initialVolume))):(document.getElementById(b.audioID).muted=!0,p.addClass("VolumeButtonMuted"),b.isFlashNeeded&&(b.prevVolumeVal=a.initialVolume,a.initialVolume=0,b.myFlashObject.myAS3function(I(b,a,z,e),a.initialVolume)))});z.swipe({swipeStatus:function(c,e,f,g,h,k){"up"!=f&&"down"!=f||0==g||(currentScrollVal=b.audio4_html5_sliderVertical.slider("value"),currentScrollVal="up"==f?currentScrollVal-1.5:currentScrollVal+1.5,b.audio4_html5_sliderVertical.slider("value", 68 currentScrollVal),d("html, body").off("touchstart touchmove").on("touchstart touchmove",function(a){a.preventDefault()}),D(currentScrollVal,b,a,z))},threshold:100,maxTimeThreshold:500,fingers:"all"});H.on("click",function(){d(this).val("")}
68);H.on("input",function(){b.search_val=H.val().toLowerCase();O(b,a,e,z,A,F,C,K,L,l,w,t,x,c,h,B)});b.isFlashNeeded&&(b.rndNum=parseInt(998999*Math.random()+1E3),e.append("<div id='swfHolder"+b.rndNum+"'></div>"),swfobject.addDomLoadEvent(function(){b.myFlashObject= 69 swfobject.createSWF({data:a.pathToAjaxFiles+"flash_player.swf",width:"0",height:"0"},{flashvars:"streamUrl="+b.playlist_arr[b.origID].radiostream+"&autoPlay="+a.autoPlay+"&initialVolume="+a.initialVolume},"swfHolder"+b.rndNum)}),a.autoPlay&&l.addClass("AudioPause"));N(b,a,z,e,l,w,t,x,c,h);-1==E.indexOf("ipad")&&-1==E.indexOf("iphone")&&-1==E.indexOf("ipod")&&-1==E.indexOf("webos")||l.removeClass("AudioPause");var J=function(){b.prevSongTitle="";""==b.origParentFloat&&(b.origParentFloat=e.parent().css("float"), 70 b.origParentPaddingTop=e.parent().css("padding-top"),b.origParentPaddingRight=e.parent().css("padding-right"),b.origParentPaddingBottom=e.parent().css("padding-bottom"),b.origParentPaddingLeft=e.parent().css("padding-left"));a.playerWidth!=a.origWidth||a.playerWidth>d(window).width()?e.parent().css({"float":"none","padding-top":0,"padding-right":0,"padding-bottom":0,"padding-left":0}):e.parent().css({"float":b.origParentFloat,"padding-top":b.origParentPaddingTop,"padding-right":b.origParentPaddingRight, 71 "padding-bottom":b.origParentPaddingBottom,"padding-left":b.origParentPaddingLeft});var c=e.parent().parent().width(),f=b.numberOfButtonsRightSide;e.width()!=c&&(a.playerWidth=a.origWidth>c?c:a.origWidth,e.width()!=a.playerWidth&&(e.width(a.playerWidth),b.titleWidth=a.playerWidth-2*a.playlistPadding,w.width(b.titleWidth),x.width(b.titleWidth),h.css({top:"0px",left:parseInt((e.width()-(h.width()+2*a.imageBorderWidth))/2,10)+"px"}),b.imageLeftPos=parseInt(h.css("left").substring(0,h.css("left").length- 72 2),10),b.playTopPos=b.frameBehindPlayerTopPos+parseInt((g.height()-l.he
72ight())/2,10),b.playLeftPos=parseInt((g.width()-l.width())/2,10),l.css({top:b.playTopPos+"px",left:b.playLeftPos+"px"}),b.previousTopPos=b.playTopPos+parseInt((l.height()-q.height())/2,10),b.previousLeftPos=b.imageLeftPos-q.width()-b.constantDistance,q.css({top:b.previousTopPos+"px",left:b.previousLeftPos+"px"}),b.nextTopPos=b.previousTopPos,b.nextLeftPos=b.imageLeftPos+(h.width()+2*a.imageBorderWidth)+b.constantDistance,n.css({top:b.nextTopPos+ 73 "px",left:b.nextLeftPos+"px"}),b.volumeTopPos=b.nextTopPos+Math.floor((n.height()-p.height())/2),b.volumeLeftPos=parseInt((b.previousLeftPos-(p.width()+r.width()+b.constantDistance))/2,10),p.css({top:b.volumeTopPos+"px",left:b.volumeLeftPos+"px"}),b.volumesliderTopPos=b.volumeTopPos+Math.floor((p.height()-r.height())/2),b.volumesliderLeftPos=b.volumeLeftPos+p.width()+b.constantDistance,r.css({top:b.volumesliderTopPos+"px",left:b.volumesliderLeftPos+"px"}),355>a.playerWidth?a.showTwitterBut&&--f:f= 74 b.numberOfButtonsRightSide,b.smallButtonDistance=parseInt((a.playerWidth-b.nextLeftPos-n.width()-f*v.width())/(f+1),10),b.facebookTopPos=b.nextTopPos+Math.floor((n.height()-k.height())/2),b.facebookLeftPos=b.nextLeftPos+n.width()+b.smallButtonDistance,k.css({top:b.facebookTopPos+"px",left:b.facebookLeftPos+"px"}),a.showFacebookBut||(k.css({display:"none",width:0,height:0,padding:0,margin:0}),b.facebookLeftPos=b.nextLeftPos+n.width()),!a.showTwitterBut||355>a.playerWidth?(u.css({display:"none"}),b.twitterLeftPos= 75 b.facebookLeftPos+k.width()-6):(u.css({display:"block"}),b.twitterTopPos=b.nextTopPos+Math.floor((n.height()-k.height())/2),b.twitterLeftPos=b.facebookLeftPos+k.width()+b.smallButtonDistance,u.css({top:b.twitterTopPos+"px",left:b.twitterLeftPos+"px"})),b.showhideplaylistTopPos=b.nextTopPos+Math.floor((n.height()-v.height())/2),b.showhideplaylistLeftPos=b.twitterLeftPos+u.width()+b.smallButtonDistance,v.css({top:b.showhideplaylistTopPos+"px",left:b.showhideplaylistLeftPos+"px"}),A.width(e.width()+ 76 2*a.playerPadding),F.width(e.width()),C.width(a.playerWidth-2*a.playlistPadding),G.css({"background-position":a.playerWidth-2*a.playlistPadding-20+"px 50%"}),b.selectedCateg_total_images>a.numberOfThumbsPerScreen&&a.showPlaylist?(b.audio4_html5_sliderVertical.css({left:e.width()+2*a.playerPadding-b.audio4_html5_sliderVertical.width()-a.playlistPadding+"px"}),d(".thumbsHolder_ThumbOFF",e).css({width:e.width()+2*a.playerPadding-b.audio4_html5_sliderVertical.width()-2*a.playlistPadding-3+"px"})):d(".thumbsHolder_ThumbOFF", 77 e).css({width:e.width()+2*a.playerPadding-2*a.playlistPadding+"px"}),H.css({width:parseInt(a.playerWidth-2*a.playlistPadding-50,10)+"px"})),a.playerWidth<d(window).width()&&e.parent().css({"float":b.origParentFloat,"padding-top":b.origParentPaddingTop,"padding-right":b.origParentPaddingRight,"padding-bottom":b.origParentPaddingBottom,"padding-left":b.origParentPaddingLeft}));445>a.playerWidth?(r.css({display:"none"}),p.css({display:"none"})):(r.css({display:"block"}),p.css({display:"block"}))},P= 78 !1;d(window).resize(function(){doResizeNow=!0;-1!=y&&9==y&&0==b.windowWidth&&(doResizeNow=!1);b.windowWidth==d(window).width()?(doResizeNow=!1,a.windowCurOrientation!=window.orientation&&-1!=navigator.userAgent.indexOf("Android")&&(a.windowCurOrientation=window.orientation,doResizeNow=!0)):b.windowWidth=d(window).width();a.responsive&&doResizeNow&&(!1!==P&&clearTimeout(P),P=setTimeout(function(){J()},300))});a.responsive&&J()})};d.fn.audio4_html5.defaults={playerWidth:500,skin:"whiteControllers", 79 initialVolume:.5,autoPlay:!0,loop:!0,playerPadding:0,playerBg:"#000000",volumeOffColor:"#454545",volumeOnColor:"#ffffff",timerColor:"#ffffff",songTitleColor:"#000000",radioStationColor:"#000000",frameBehindPlayerColor:"#000000",imageBorderWidth:4,imageBorderColor:"#000000",showFacebookBut:!0,facebookAppID:"499867206825745",facebookShareTitle:"HTML5 Radio Player With Playlist - Shoutcast and Icecast",facebookShareDescription:"A top-notch responsive HTML5 Radio Player compatible with all major browsers and mobile devices.", 80 showVolume:!0,showTwitterBut:!0,showRadioStation:!0,showTitle:!0,showPlaylistBut:!0,showPlaylist:!0,showPlaylistOnInit:!0,showNextPrevBut:!0,autoHidePlayButton:!0,beneathTitleBackgroun
80dColor_VisiblePlaylist:"#c55151",beneathTitleBackgroundOpacity_VisiblePlaylist:100,beneathTitleBackgroundColor_HiddenPlaylist:"#c55151",beneathTitleBackgroundOpacity_HiddenPlaylist:100,beneathTitleBackgroundBorderColor:"#000000",beneathTitleBackgroundBorderWidth:3,translateRadioStation:"Radio Station: ",translateSongTitle:"Now Playing: ", 81 translateReadingData:"reading data...",translateAllRadioStations:"ALL RADIO STATIONS",playlistTopPos:6,playlistBgColor:"#c55151",playlistRecordBgOffColor:"#000000",playlistRecordBgOnColor:"#00000",playlistRecordBottomBorderOffColor:"#333333",playlistRecordBottomBorderOnColor:"#4d4d4d",playlistRecordTextOffColor:"#777777",playlistRecordTextOnColor:"#00b4f9",categoryRecordBgOffColor:"#000000",categoryRecordBgOnColor:"#252525",categoryRecordBottomBorderOffColor:"#2f2f2f",categoryRecordBottomBorderOnColor:"#2f2f2f", 82 categoryRecordTextOffColor:"#777777",categoryRecordTextOnColor:"#00b4f9",numberOfThumbsPerScreen:7,playlistPadding:18,showCategories:!0,firstCateg:"ALL RADIO STATIONS",selectedCategBg:"#000000",selectedCategOffColor:"#FFFFFF",selectedCategOnColor:"#00b4f9",selectedCategMarginBottom:12,showSearchArea:!0,searchAreaBg:"#000000",searchInputText:" search...",searchInputBg:"#ffffff",searchInputBorderColor:"#333333",searchInputTextColor:"#333333",responsive:!1,showPlaylistNumber:!0,nowPlayingInterval:35, 83 grabLastFmPhoto:!0,grabStreamnameAndGenre:!0,pathToAjaxFiles:"",noImageAvailable:"noimageavailable.jpg",lastFMApiKey:"",lastFMSecret:"",origWidth:0,isSliderInitialized:!1,isProgressInitialized:!1,isPlaylistSliderInitialized:!1}})(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.