1/* 2 * SHOUT - HTML5 Radio Player With Ads - ShoutCast and IceCast Support - v3.2 3 * 4 * Copyright 2017-2021, LambertGroup 5 * 6 */ 7 8 (function(e){function U(a,b,f,g){e(a.thumbsHolder_Thumbs[a.current_img_no]).css({background:b.playlistRecordBgOnColor,"border-bottom-color":b.playlistRecordBottomBorderOnColor,color:b.playlistRecordTextOnColor});a.is_very_first||O(-1,a,b,f);var d;""!=a.playlist_arr[a.origID].radiostream&&(d=a.playlist_arr[a.origID].radiostream);return d}function ha(a){var b;a=a.split("");a.forEach(function(f,g){b="\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(f); 9 -1!=b&&(a[g]="AAAAAAaaaaaaBOOOOOOOooooooEEEEeeeeeCcDIIIIiiiiUUUUuuuuNnSsYyyZz'"[b])});return a.join("").trim()}function Y(a,b,f,g,d,l,m,u,q,z,n,v,B){clearInterval(a.radioReaderAjaxInterval);e.get(b.pathToAjaxFiles+"now_playing.php",{the_stream:a.playlist_arr[a.origID].radiostream,_:e.now()},function(h){a.playlist_arr[a.origID].title=h;Z(a,b,f,g,d,l,m,q,u,z,n,v,B)});Z(a,b,f,g,d,l,m,q,u,z,n,v,B);a.isFlashNeeded?""!=a.myFlashObject&&setTimeout(function(){a.myFlashObject.myAS3function(U(a,b,f,g),b.initialVolume)}, 10 1E3):(document.getElementById(a.audioID).src=U(a,b,f,g),document.getElementById(a.audioID).load(),b.autoPlay?d.click():b.showBanner||(e(".sound",g).css({"-webkit-animation-play-state":"paused","-moz-animation-play-state":"paused","-ms-animation-play-state":"paused","-o-animation-play-state":"paused","animation-play-state":"paused"}),e(".sound2",g).css({"-webkit-animation-play-state":"paused","-moz-animation-play-state":"paused","-ms-animation-play-state":"paused","-o-animation-play-state":"paused", 11 "animation-play-state":"paused"})));b.showBanner&&(a.curBanner=0,clearInterval(a.bannersInterval),n.parent().css({display:"block"}),n.css({display:"block"}),1>a.playlist_arr[a.origID].banners.length&&(n.parent().css({display:"none"}),n.css({display:"none"})),1<=a.playlist_arr[a.origID].banners.length&&(n.parent().attr("href",a.playlist_arr[a.origID].bannerlinks[a.curBanner]),n.css({background:"url("+a.playlist_arr[a.origID].banners[a.curBanner]+") #000000","background-repeat":"no-repeat","background-position":"center center",
12 "background-size":a.newBannerWidth+"px "+a.newBannerHeight+"px","-webkit-background-size":a.newBannerWidth+"px "+a.newBannerHeight+"px","-moz-background-size":a.newBannerWidth+"px "+a.newBannerHeight+"px","-o-background-size":a.newBannerWidth+"px "+a.newBannerHeight+"px"})),2<=a.playlist_arr[a.origID].banners.length&&(a.bannersInterval=setInterval(function(){a.curBanner<a.playlist_arr[a.origID].banners.length-1?a.curBanner++:a.curBanner=0;n.css({background:"url("+a.playlist_arr[a.origID].banners[a.curBanner]+ 13 ") #000000","background-size":a.newBannerWidth+"px "+a.newBannerHeight+"px","-webkit-background-size":a.newBannerWidth+"px "+a.newBannerHeight+"px","-moz-background-size":a.newBannerWidth+"px "+a.newBannerHeight+"px","-o-background-size":a.newBannerWidth+"px "+a.newBannerHeight+"px"});n.parent().attr("href",a.playlist_arr[a.origID].bannerlinks[a.curBanner])},1E3*b.bannerIntervalSeconds)));setTimeout(function(){a.radioReaderAjaxInterval=setInterval(function(){e.get(b.pathToAjaxFiles+"now_playing.php", 14 {the_stream:a.playlist_arr[a.origID].radiostream,_:e.now()},function(h){a.playlist_arr[a.origID].title=h;Z(a,b,f,g,d,l,m,q,u,z,n,v,B)})},1E3*b.nowPlayingInterval)},1E3*b.nowPlayingInterval)}function ba(a,b,f,g,d,l,m,u,q,z,n,v){for(var B=!1,h=0;h<a.playlist_arr.length&&!B&&0<a.playlist_arr.length;)a.playlist_arr[h].associatedpageurl==a.cur_loc&&(B=!0,a.current_img_no=h,a.origID=e("div[rel='"+a.current_img_no+"']").attr("data-origID"),Y(a,b,f,g,d,l,m,u,audio8_html5_artistName,q,z,n,v),O(-1,a,b,f)), 15 h++}function W(a,b,f,g){a.showBanner||f.css({background:"url("+g+") #000000","background-repeat":"no-repeat","background-position":"top center","background-size":"cover","-webkit-background-size":"cover","-moz-background-size":"cover","-o-background-size":"cover","border-width":b.newImageBorderWidth+"px","border-color":a.imageBorderColor})}function Z(a,b,f,g,d,l,m,u,q,z,n,v,B){l.width(a.titleWidth);u.width(a.titleWidth);q.width(a.radioStationWidth);b.showRadioStation&&null!=a.playlist_arr[a.origID].station&& 16 ""!=a.playlist_arr[a.origID].station&&q.html("<b>"+b.translateRadioStation+"</b>"+a.playlist_arr[a.origID].station);var h=a.playlist_arr[a.origID].title.split("-");f=b.noImageAvailable;h[0]=h[0].trim();h[1]=2<=h.length?h[1].trim():"";3<=h.length&&(h[0]=h[0].trim()+"-"+h[1].trim(),h[1]=h[2].trim());if(a.prevSongTitle!=a.playlist_arr[a.origID].title&&b.showTitle)if(m.css({width:"auto"}),a.isStationTitleInsideScrolling=!1,a.stationTitleInsideWait=0,m.stop(),m.css({"margin-left":0}),m.html(h[1]),u.html(h[0]), 17 clearInterval(a.timeupdateInterval),m.width()>a.titleWidth?a.timeupdateInterval=setInterval(function(){!a.isStationTitleInsideScrolling&&5<=a.stationTitleInsideWait&&m.width()>a.titleWidth?(a.isStationTitleInsideScrolling=!0,a.stationTitleInsideWait=0,m.html(h[1]+" **** "+h[1]+" **** "+h[1]+" **** "+h[1]+" **** "+h[1]+" **** "),m.css({"margin-left":0}),m.stop().animate({"margin-left":a.titleWidth-m.width()+"px"},parseInt(1E4*(m.width()-a.titleWidth)/150,10),"linear",function(){a.isStationTitleInsideScrolling= 18 !1})):!a.isStationTitleInsideScrolling&&m.width()>a.titleWidth&&a.stationTitleInsideWait++},300):m.css({width:"auto","margin-left":0}),a.prevSongTitle=a.playlist_arr[a.origID].title,b.grabLastFmPhoto&&""!=h[0].trim()&&!b.showBanner){var A;a.the_artist_id="";a.the_wikidata_id="";f=b.noImageAvailable;a.wiki_photo_path=f;clearTimeout(a.musicbrainz_setTimeout);W(b,a,n,f);h[0]=h[0].trim();""!=h[0]&&void 0!=h[0]&&(a.musicbrainz_setTimeout=setTimeout(function(){A=h[0];A=A.toLowerCase();A=ha(A);e.get("https://theaudiodb.com/api/v1/json/"+ 19 a.zerx+"/search.php?s="+h[0],{},function(w){var D=b.noImageAvailable;w.artists instanceof Array&&""!=w.artists[0].strArtistThumb&&void 0!=w.artists[0].strArtistThumb&&null!=w.artists[0].strArtistThumb&&(D=w.artists[0].strArtistThumb);W(b,a,n,D)})},3E3))}else W(b,a,n,f)}function O(a,b,f,g){if(b.selectedCateg_total_images>f.numberOfThumbsPerScreen){var d=(b.thumbsHolder_ThumbHeight+1)*(b.selectedCateg_total_images-f.numberOfThumbsPerScreen),l=0;g.stop(!0,!0);e("html, body").off("touchstart touchmove").on("touchstart touchmove", 20 function(m){m.preventDefault()});-1==a||b.isCarouselScrolling?!b.isCarouselScrolling&&b.selectedCateg_total_images>f.numberOfThumbsPerScreen&&(b.isCarouselScrolling=!0,l=-1*parseInt((b.thumbsHolder_ThumbHeight+1)*b.current_img_no,10),Math.abs(l)>d&&(l=-1*d),b.selectedCateg_total_images>f.numberOfThumbsPerScreen&&f.showPlaylist&&b.audio8_html5_sliderVertical.slider("value",100+parseInt(100*l/d)),g.animate({top:l+"px"},500,"easeOutCubic",function(){b.isCarouselScrolling=!1;e("html, body").off("touchstart touchmove").on("touchstart touchmove", 21 function(m){})})):(b.isCarouselScrolling=!0,l=2>=a?-1*d:parseInt(d*(a-100)/100,10),0<l&&(l=0),g.animate({top:l+"px"},1100,"easeOutQuad",function(){b.isCarouselScrolling=!1;e("html, body").off("touchstart touchmove").on("touchstart touchmove",function(m){})}))}}function ca(a,b,f,g,d,l,m,u,q,z,n,v,B,h,A,w,D,G,H,r){b.numberOfButtonsRightSide=4;a.showPlaylistBut||--b.numberOfButtonsRightSide;a.showPopupBut||--b.numberOfButtonsRightSide;a.showFacebookBut||--b.numberOfButtonsRightSide;a.showTwitterBut|| 22 --b.numberOfButtonsRightSide;2>=b.numberOfButtonsRightSide&&a.showBanner&&(b.resizePlayButton=!0);
22a.showBanner&&b.resizePlayButton&&(b.newPlayerHeight=a.playerHeight,b.playBtnMaxDiameter=b.newPlayerHeight-14,b.playBtnNewDim=90<=a.bannerHeight?b.playBtnMaxDiameter:Math.min(b.playBtnMaxDiameter,a.playerHeight-4),b.playTopPos=parseInt((b.newPlayerHeight-b.playBtnNewDim)/2,10),f.css({top:b.playTopPos+"px",width:b.playBtnNewDim+"px",height:b.playBtnNewDim+"px","background-size":b.playBtnNewDim+"px "+b.playBtnNewDim+ 23 "px","-webkit-background-size":b.playBtnNewDim+"px "+b.playBtnNewDim+"px","-moz-background-size":b.playBtnNewDim+"px "+b.playBtnNewDim+"px","-o-background-size":b.playBtnNewDim+"px "+b.playBtnNewDim+"px"}),r.height(b.newPlayerHeight),H.height(b.newPlayerHeight),n.css({width:b.newBannerWidth+"px",height:b.newBannerHeight+"px",left:b.imageLeftPos+"px",top:b.imageTopPos+"px","background-size":b.newBannerWidth+"px "+b.newBannerHeight+"px","-webkit-background-size":b.newBannerWidth+"px "+b.newBannerHeight+ 24 "px","-moz-background-size":b.newBannerWidth+"px "+b.newBannerHeight+"px","-o-background-size":b.newBannerWidth+"px "+b.newBannerHeight+"px",padding:0,margin:0}));b.playTopPos=parseInt((b.newPlayerHeight-f.height())/2,10);b.playLeftPos=10;f.css({top:b.playTopPos+"px",left:b.playLeftPos+"px"});u.css({color:a.songTitleColor});m.css({color:a.songTitleColor});l.css({color:a.radioStationColor});a.showRadioStation||(b.radioStationWidth=0);b.titleTopPos=b.playTopPos+5;b.titleLeftPos=b.playLeftPos+f.width()+ 25 25;u.css({top:b.titleTopPos+"px",left:b.titleLeftPos+"px"});b.artistNameTopPos=b.titleTopPos+u.height()+2;b.artistNameLeftPos=b.titleLeftPos;m.css({top:b.artistNameTopPos+"px",left:b.artistNameLeftPos+"px"});b.radioStationTopPos=b.artistNameTopPos+m.height()+5;b.radioStationLeftPos=b.titleLeftPos;l.css({top:b.radioStationTopPos+"px",left:b.radioStationLeftPos+"px"});!a.showVolume||94>a.playerHeight?(q.css({display:"none",width:0,padding:0,margin:0}),z.css({display:"none",width:0,padding:0,margin:0})): 26 (b.volumeTopPos=b.radioStationTopPos+l.height()+10,b.volumeLeftPos=b.titleLeftPos,q.css({top:b.volumeTopPos+"px",left:b.volumeLeftPos+"px"}),b.volumesliderTopPos=b.volumeTopPos+Math.floor((q.height()-z.height())/2),b.volumesliderLeftPos=b.volumeLeftPos+q.width()+b.constantDistance,z.css({top:b.volumesliderTopPos+"px",left:b.volumesliderLeftPos+"px"}));b.imageTopPos=parseInt((b.newPlayerHeight-n.height())/2,10);b.imageLeftPos=b.titleLeftPos+b.titleWidth+130;n.css({top:b.imageTopPos+"px",left:b.imageLeftPos+ 27 "px"});W(a,b,n,b.wiki_photo_path);a.showTitle&&(u.css({display:"block"}),m.css({display:"block"}));a.showRadioStation&&l.css({display:"block"});a.showVolume&&(q.css({display:"block"}),z.css({display:"block"}));a.showBanner?(b.newBannerWidth=a.bannerWidth,b.newBannerHeight=a.bannerHeight,b.imageLeftPos=parseInt((a.playerWidth-b.newBannerWidth)/2,10),b.imageLeftPos<b.titleLeftPos+b.titleWidth+10&&(b.imageLeftPos=b.titleLeftPos+b.titleWidth+parseInt((a.playerWidth-b.titleLeftPos-b.titleWidth-b.newBannerWidth- 28 b.rightSideButtonsDim-10)/2,10)),b.imageLeftPos<b.titleLeftPos+b.titleWidth+10&&(b.imageLeftPos=b.playLeftPos+f.width()+parseInt((a.playerWidth-b.playLeftPos-f.width()-b.newBannerWidth-b.rightSideButtonsDim-10)/2,10),a.showTitle&&(u.css({display:"none"}),m.css({display:"none"})),a.showRadioStation&&l.css({display:"none"}),a.showVolume&&(q.css({display:"none"}),z.css({display:"none"}))),b.imageLeftPos<b.playLeftPos+f.width()+10&&(b.newBannerWidth=a.playerWidth-b.playLeftPos-f.width()-b.rightSideButtonsDim- 29 30,b.imageLeftPos=b.playLeftPos+f.width()+parseInt((a.playerWidth-b.playLeftPos-f.width()-b.newBannerWidth-b.rightSideButtonsDim-10)/2,10),b.newBannerHeight=parseInt(b.newBannerWidth*a.bannerHeight/a.bannerWidth,10),b.resizePlayButton&&(b.newPlayerHeight=b.newBannerHeight+4,b.playBtnNewDim=b.newBannerHeight-4,b.playTopPos=parseInt((b.newPlayerHeight-b.playBtnNewDim)/2,10),f.css({top:b.playTopPos+"px",width:b.playBtnNewDim+"px",height:b.playBtnNewDim+"px","background-size":b.playBtnNewDim+"px "+b.playBtnNewDim+ 30 "px","-webkit-background-size":b.playBtnNewDim+"px "+b.playBtnNewDim+"px","-moz-background-size":b.playBtnNewDim+"px "+b.playBtnNewDim+"px","-o-background-size":b.playBtnNewDim+"px "+b.playBtnNewDim+"px"}),b.imageLeftPos=b.playLeftPos+f.width()+parseInt((a.playerWidth-b.playLeftPos-f.width()-b.newBannerWidth-b.rightSideButtonsDim-10)/2,10),r.height(b.newPlayerHeight),H.height(b.newPlayerHeight))),b.imageTopPos=parseInt((b.newPlayerHeight-b.newBannerHe
30ight)/2,10),n.css({width:b.newBannerWidth+"px", 31 height:b.newBannerHeight+"px",left:b.imageLeftPos+"px",top:b.imageTopPos+"px","background-size":b.newBannerWidth+"px "+b.newBannerHeight+"px","-webkit-background-size":b.newBannerWidth+"px "+b.newBannerHeight+"px","-moz-background-size":b.newBannerWidth+"px "+b.newBannerHeight+"px","-o-background-size":b.newBannerWidth+"px "+b.newBannerHeight+"px",padding:0,margin:0}),n.wrap("<a href='#' target='"+a.bannerLinkTarget+"'></a>"),h.css({display:"none",width:0,height:0,padding:0,margin:0}),v.css({display:"none", 32 width:0,height:0,padding:0,margin:0}),B.css({display:"none",width:0,height:0,padding:0,margin:0})):(b.newBannerWidth=600,b.newBannerHeight=90,b.newImageBorderWidth=a.imageBorderWidth,n.css({display:"block","border-width":b.newImageBorderWidth+"px"}),v.css({display:"block"}),h.css({display:"block"}),a.showGradientOverBars&&B.css({display:"block"}),360>a.playerWidth?(a.showTitle&&(u.css({display:"none"}),m.css({display:"none"})),a.showRadioStation&&l.css({display:"none"})):(a.showTitle&&(u.css({display:"block"}), 33 m.css({display:"block"})),a.showRadioStation&&l.css({display:"block"})),b.speakersLeftPos=parseInt((a.playerWidth-b.newBannerWidth)/2,10),b.speakersLeftPos<b.titleLeftPos+b.titleWidth&&(b.speakersLeftPos=b.titleLeftPos+b.titleWidth+parseInt((a.playerWidth-b.titleLeftPos-b.titleWidth-b.newBannerWidth-b.rightSideButtonsDim-10)/2,10)),b.speakersLeftPos<b.titleLeftPos+b.titleWidth&&(b.speakersLeftPos=b.playLeftPos+f.width()+parseInt((a.playerWidth-b.playLeftPos-f.width()-b.newBannerWidth-b.rightSideButtonsDim- 34 10)/2,10),b.newImageBorderWidth=2,n.css({"border-width":b.newImageBorderWidth+"px"}),v.css({display:"none"}),h.css({display:"none"}),B.css({display:"none"})),b.speakersTopPos=parseInt((b.newPlayerHeight-b.newBannerHeight)/2,10),v.css({left:b.speakersLeftPos+"px",top:b.speakersTopPos+"px",padding:0,margin:0}),b.imageLeftPos=b.speakersLeftPos+parseInt((b.newBannerWidth-n.width())/2,10)-b.newImageBorderWidth,"none"==v.css("display")&&(b.imageLeftPos=+parseInt((a.playerWidth-n.width())/2,10)-b.newImageBorderWidth), 35 b.imageTopPos=parseInt((b.newPlayerHeight-b.newBannerHeight)/2,10)-b.newImageBorderWidth,b.imageLeftPos<b.titleLeftPos+b.titleWidth&&(b.imageLeftPos=b.titleLeftPos+b.titleWidth+parseInt((a.playerWidth-b.titleLeftPos-b.titleWidth-n.width()-b.rightSideButtonsDim-10)/2,10)),b.imageLeftPos<b.titleLeftPos+b.titleWidth&&n.css({display:"none"}),n.css({left:b.imageLeftPos+"px",top:b.imageTopPos+"px",padding:0,margin:0}),b.thebarsTopPos=parseInt((b.newPlayerHeight-h.height())/2,10),b.thebarsLeftPos=b.speakersLeftPos+ 36 70,h.css({top:b.thebarsTopPos+"px",left:b.thebarsLeftPos+"px"}),e(".bar",H).css({background:a.barsColor}),b.gradientTopPos=parseInt((b.newPlayerHeight-B.height())/2,10),b.gradientLeftPos=b.speakersLeftPos+65,B.css({top:b.gradientTopPos+"px",left:b.gradientLeftPos+"px"}));b.smallButtonDistance=parseInt((b.newPlayerHeight-16*b.numberOfButtonsRightSide)/(b.numberOfButtonsRightSide+1),10);a.showPlaylistBut?(b.showhideplaylistTopPos=b.smallButtonDistance,b.showhideplaylistLeftPos=10,A.css({top:b.showhideplaylistTopPos+ 37 "px",right:b.showhideplaylistLeftPos+"px"})):(A.css({display:"none",width:0,height:0,padding:0,margin:0}),b.showhideplaylistTopPos=0);b.popupTopPos=b.showhideplaylistTopPos+A.height()+b.smallButtonDistance;b.popupLeftPos=10;a.showPopupBut?w.css({top:b.popupTopPos+"px",right:b.popupLeftPos+"px"}):(w.css({display:"none",width:0,height:0,padding:0,margin:0}),b.popupTopPos=b.showhideplaylistTopPos+A.height());b.facebookTopPos=b.popupTopPos+w.height()+b.smallButtonDistance;b.facebookLeftPos=10;a.showFacebookBut? 38 D.css({top:b.facebookTopPos+"px",right:b.facebookLeftPos+"px"}):(D.css({display:"none",width:0,height:0,padding:0,margin:0}),b.facebookTopPos=b.popupTopPos+w.height());b.twitterTopPos=b.facebookTopPos+D.height()+b.smallButtonDistance;b.twitterLeftPos=10;a.showTwitterBut?G.css({top:b.twitterTopPos+"px",right:b.twitterLeftPos+"px"}):G.css({display:"none",width:0,height:0,padding:0,margin:0})}function ia(a,b,f,g,d,l,m,u,q,z,n,v,B,h,A,w,D,G,H){g.stop(!0,!0);a.isCarouselScrolling=!1;g.stop().animate({left:-1* 39 l.width()+"px"},100,"easeOutQuad",function(){g.html("");for(var r=0;r<a.category_arr.length;r++)a.thumbsHolder_Thumb=e('<div class="thumbsHolder_ThumbOFF" rel="'+r+'"><div class="padding">'+a.category_arr[r]+"</div></div>"),g.append(a.thumbsHolder_Thumb),a.thumbsHolder_Thumb.css({top:(a.thumbsHolder_Thumb.height()+1)*r+"px",background:b.categoryRecordBgOffColor,"border-bottom-color":b.categoryRecordBottomBorderOffColor,color:b.categoryRecordTextOffColor}),a.category_arr[r]==a.selectedCateg&&(a.current_img_no= 40 r,a.thumbsHolder_Thumb.css({background:b.categoryRecordBgOnColor,"border-bottom-color":b.categoryRecordBottomBorderOnColor,color:b.categoryRecordTextOnColor}));a.selectedCateg_total_images=a.numberOfCategories;a.categsAreListed=!0;r=0;b.showCategories&&(r+=b.selectedCategMarginBottom);b.showSearchArea&&(r+=b.selectedCategMarginBottom);d.height(2*b.playlistPadding+(a.thumbsHolder_Thumb.height()+1)*b.numberOfThumbsPerScreen+m.he
40ight()+q.height()+r);l.height((a.thumbsHolder_Thumb.height()+1)*b.numberOfThumbsPerScreen); 41 z.css({padding:b.playlistPadding+"px"});a.thumbsHolder_Thumbs=e(".thumbsHolder_ThumbOFF",f);if(a.numberOfCategories>b.numberOfThumbsPerScreen&&b.showPlaylist){b.isPlaylistSliderInitialized&&a.audio8_html5_sliderVertical.slider("destroy");a.audio8_html5_sliderVertical.slider({orientation:"vertical",range:"min",min:1,max:100,step:1,value:100,slide:function(p,x){O(x.value,a,b,g)}});b.isPlaylistSliderInitialized=!0;var J=0;b.showSearchArea&&(J+=b.selectedCategMarginBottom);a.audio8_html5_sliderVertical.css({display:"inline", 42 position:"absolute",height:d.height()-a.rightSideButtonsDim-m.height()-r-q.height()-2*b.playlistPadding+"px",left:f.width()+2*b.playerPadding-a.audio8_html5_sliderVertical.width()-b.playlistPadding+"px",bottom:a.newPlayerHeight+b.playlistTopPos+b.playlistPadding+q.height()+J+16+"px"});b.showPlaylistOnInit=!0;e(".thumbsHolder_ThumbOFF",f).css({width:f.width()+2*b.playerPadding-a.audio8_html5_sliderVertical.width()-2*b.playlistPadding-3+"px"})}else b.isPlaylistSliderInitialized&&(a.audio8_html5_sliderVertical.slider("destroy"), 43 b.isPlaylistSliderInitialized=!1),e(".thumbsHolder_ThumbOFF",f).css({width:f.width()+2*b.playerPadding-2*b.playlistPadding+"px"});a.thumbsHolder_Thumbs.click(function(){var p=e(this).attr("rel");a.selectedCateg=a.category_arr[p];K(b,"cookie_firstCateg",a.selectedCateg);u.html(a.selectedCateg);X(a,b,f,g,d,l,m,q,z,n,v,B,h,A,w,D,G,H)});a.thumbsHolder_Thumbs.mouseover(function(){e(this).css({background:b.categoryRecordBgOnColor,"border-bottom-color":b.categoryRecordBottomBorderOnColor,color:b.categoryRecordTextOnColor})}); 44 a.thumbsHolder_Thumbs.mouseout(function(){var p=e(this),x=p.attr("rel");a.current_img_no!=x&&p.css({background:b.categoryRecordBgOffColor,"border-bottom-color":b.categoryRecordBottomBorderOffColor,color:b.categoryRecordTextOffColor})});l.mousewheel(function(p,x,E,c){a.selectedCateg_total_images>b.numberOfThumbsPerScreen&&"none"!=a.audio8_html5_sliderVertical.css("display")&&(p.preventDefault(),p=a.audio8_html5_sliderVertical.slider("value"),1<parseInt(p)&&-1==parseInt(x)||100>parseInt(p)&&1==parseInt(x))&& 45 (p+=x,a.audio8_html5_sliderVertical.slider("value",p),O(p,a,b,g))});g.css({top:"0px"});g.stop().animate({left:"0px"},400,"easeOutQuad",function(){})})}function X(a,b,f,g,d,l,m,u,q,z,n,v,B,h,A,w,D,G){g.stop(!0,!0);a.isCarouselScrolling=!1;var H="",r=!1,J=500;a.is_very_first&&(J=1);""!=a.search_val&&(J=1);g.stop().animate({left:-1*l.width()+"px"},J,"easeOutQuad",function(){g.html("");for(var p=a.selectedCateg_total_images=0;p<a.playlist_arr.length;p++)r=!1,""!=a.search_val?(H=a.playlist_arr[p].station.toLowerCase(), 46 -1!=H.indexOf(a.search_val)&&(r=!0)):-1!=a.playlist_arr[p].category.indexOf(a.selectedCateg+";")&&(r=!0),r&&(a.selectedCateg_total_images++,a.thumbsHolder_Thumb=e('<div class="thumbsHolder_ThumbOFF" rel="'+(a.selectedCateg_total_images-1)+'" data-origID="'+p+'"><div class="padding">'+(b.showPlaylistNumber?a.selectedCateg_total_images+". ":"")+a.playlist_arr[p].station+"</div></div>"),g.append(a.thumbsHolder_Thumb),0==a.thumbsHolder_ThumbHeight&&(a.thumbsHolder_ThumbHeight=a.thumbsHolder_Thumb.height()), 47 a.thumbsHolder_Thumb.css({top:(a.thumbsHolder_ThumbHeight+1)*a.selectedCateg_total_images+"px",background:b.playlistRecordBgOffColor,"border-bottom-color":b.playlistRecordBottomBorderOffColor,color:b.playlistRecordTextOffColor}),a.current_img_no=0,a.origID==e("div[rel='"+(a.selectedCateg_total_images-1)+"']").attr("data-origID")&&a.thumbsHolder_Thumb.css({background:b.playlistRecordBgOnColor,"border-bottom-color":b.playlistRecordBottomBorderOnColor,color:b.playlistRecordTextOnColor}));a.categsAreListed= 48 !1;p=0;b.showCategories&&(p+=b.selectedCategMarginBottom);b.showSearchArea&&(p+=b.selectedCategMarginBottom);d.height(2*b.playlistPadding+(a.thumbsHolder_ThumbHeight+1)*b.numberOfThumbsPerScreen+m.height()+u.height()+p);l.height((a.thumbsHolder_ThumbHeight+1)*b.numberOfThumbsPerScreen);q.css({padding:b.playlistPadding+"px"});a.thumbsHolder_Thumbs=e(".thumbsHolder_ThumbOFF",f);if(a.selectedCateg_total_images>b.numberOfThumbsPerScreen&&b.showPlaylist){b.isPlaylistSliderInitialized&&a.audio8_html5_sliderVertical.slider("destroy"); 49 a.audio8_html5_sliderVertical.slider({orientation:"vertical",range:"min",min:1,max:100,step:1,value:100,slide:function(E,c){O(c.value,a,b,g)}});b.isPlaylistSliderInitialized=!0;var x=0;b.showSearchArea&&(x+=b.selectedCategMarginBottom);a.audio8_html5_sliderVertical.css({display:"inline",position:"absolute",height:d.height()-a.rightSideButtonsDim-m.height()-p-u.height()-2*b.playlistPadding+"px",left:f.width()+2*b.playerPadding-a.audio8_html5_sliderVertical.width()-b.playlistPadding+"px",bottom:a.newPlayerHeight+ 50 b.playlistTopPos+b.playlistPadding+u.height()+x+16+"px"});b.showPlaylistOnInit||a.audio8_html5_sliderVertical.css({opacity:0,display:"none"});b.showPlaylistOnInit=!0;e(".thumbsHolder_ThumbOFF",f).css({width:f.width()+2*b.playerPadding-a.audio8_html5_sliderVertical.width()-2*b.playlistPadding-3+"px"})}else b.isPlaylistSliderInitialized&&(a.audio8_html5_sliderVertical.slider("destroy"),b.isPlaylistSliderInitialized=!1),e(".thumbsHolder_ThumbOFF",f).css({width:f.width()+2*b.playerPadding-2*b.playlistPadding+ 51 "px"});a.thumbsHolder_Thumbs.click(function(){b.autoPlay=!0;var E=e(this).attr("rel");a.thumbsHolder_Thumbs.css({background:b.playlistRecordBgOffColor,"border-bottom-color":b.playlistRecordBottomBorderOffColor,color:b.playlistRecordTextOffColor});a.current_img_no=E;a.origID=e("div[rel='"+a.current_img_no+"']").attr("data-origID");K(b,"cookie_current_img_no",a.current_img_no);K(b,"cookie_origID",a.origID);z.addClass("AudioPause");Y(a,b,g,f,z,n,v,h,B,A,w,D,G);O(-1,a,b,g)});a.thumbsHolder_Thumbs.mouseover(function(){e(this).css({background:b.playlistRecordBgOnColor, 52 "border-bottom-color":b.playlistRecordBottomBorderOnColor,color:b.playlistRecordTextOnColor})});a.thumbsHolder_Thumbs.mouseout(function(){var E=e(this),c=E.attr("rel");a.origID!=e("div[rel='"+c+"']").attr("data-origID")&&E.css({background:b.playlistRecordBgOffColor,"border-bottom-color":b.playlistRecordBottomBorderOffColor,color:b.playlistRecordTextOffColor})});l.mousewheel(function(E,c,F,V){"none"!=a.audio8_html5_sliderVertical.css("display")&&(E.preventDefault(),E=a.audio8_html5_sliderVertical.slider("value"), 53 1<parseInt(E)&&-1==parseInt(c)||100>parseInt(E)&&1==parseInt(c))&&(E+=c,a.audio8_html5_sliderVertical.slider("value",E),O(E,a,b,g))});g.css({top:"0px"});g.stop().animate({left:"0px"},400,"easeOutQuad",function(){});
53a.cur_loc=window.location.href;ba(a,b,g,f,z,n,v,h,A,w,D,G);a.cur_intv=setInterval(function(){a.cur_loc!=window.location.href&&0<a.playlist_arr.length&&(a.cur_loc=window.location.href,ba(a,b,g,f,z,n,v,h,A,w,D,G))},5E3)})}function K(a,b,f,g){null==g&&(g=86400);a="; max-age="+g;document.cookie= 54 encodeURI(b)+"="+encodeURI(f)+a+"; path=/"}function N(a,b){var f,g=document.cookie.split(";");for(f=0;f<g.length;f++){var d=g[f].substr(0,g[f].indexOf("="));var l=g[f].substr(g[f].indexOf("=")+1);d=d.replace(/^\s+|\s+$/g,"");if(d==b)return unescape(l)}}function ja(){e("audio").each(function(){e(".sound").css({"-webkit-animation-play-state":"paused","-moz-animation-play-state":"paused","-ms-animation-play-state":"paused","-o-animation-play-state":"paused","animation-play-state":"paused"});e(".sound2").css({"-webkit-animation-play-state":"paused", 55 "-moz-animation-play-state":"paused","-ms-animation-play-state":"paused","-o-animation-play-state":"paused","animation-play-state":"paused"});e(".AudioPlay").removeClass("AudioPause");
55e(this)[0].pause()})}function da(){var a=-1;if("Microsoft Internet Explorer"==navigator.appName){var b=navigator.userAgent,f=/MSIE ([0-9]{1,}[.0-9]{0,})/;null!=f.exec(b)&&(a=parseFloat(RegExp.$1))}else"Netscape"==navigator.appName&&(b=navigator.userAgent,f=/Trident\/.*rv:([0-9]{1,}[.0-9]{0,})/,null!=f.exec(b)&&(a=parseFloat(RegExp.$1))); 56 return parseInt(a,10)}function ka(a){var b=!1;document.getElementById(a.audioID).canPlayType&&"no"!=document.getElementById(a.audioID).canPlayType("audio/mpeg")&&""!=document.getElementById(a.audioID).canPlayType("audio/mpeg")||(b=!0);return b}function ea(a){var b,f;e("body *").each(function(){b=e(this);e.contains(b[0],a[0])?(a.unwrap(),ea(a)):(f=this.className,f=String(f),e.contains(a[0],b[0])||"the_wrapper"==f||-1!=f.indexOf("audio8_html5")||this.remove())})}var P=navigator.userAgent.toLowerCase(); 57 e.fn.audio8_html5=function(a){a=e.extend({},e.fn.audio8_html5.defaults,a);da();return this.each(function(){var b=e(this),f=e('<div class="FrameBehindPlayerText"><div class="ximage"></div> <div class="xspeakers"></div> <div class="xgradient"></div></div> <div class="AudioControls"> <a class="AudioCloseBut" title="Minimize"></a> <a class="AudioFacebook" title="Facebook"></a><a class="AudioTwitter" title="Twitter"></a><a class="AudioPopup" title="Popup"></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="artistName"></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>'), 58 g=e('<div class="barsContainer"><div class="bars perspectiveDownZero"><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div><div class="bar sound2"></div></div><div class="bars"><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div><div class="bar sound"></div></div></div>'), 59 d=b.parent(".audio8_html5");d.addClass(a.skin);d.append(f);d.append(g);var l=e(".FrameBehindPlayerText",d);
59e(".AudioControls",d);var m=e(".AudioFacebook",d),u=e(".AudioTwitter",d),q=e(".AudioPlay",d),z=e(".AudioPrev",d),n=e(".AudioNext",d),v=e(".AudioShowHidePlaylist",d),B=e(".AudioPopup",d),h=e(".VolumeButton",d),A=e(".VolumeSlider",d),w=e(".songTitle",d),D=e(".songTitleInside",d),G=e(".radioStation",d),H=e(".artistName",d),r=e(".ximage",d),J=e(".xspeakers",d),p=e(".xgradient",d),x=e(".AudioCloseBut", 60 d),E=da();d.css({background:"transparent",padding:a.playerPadding+"px"});l.css({background:a.playerBackgroundColor,opacity:a.playerBackgroundOpacity/100,"border-bottom":a.beneathTitleBackgroundBorderWidth+"px solid "+a.beneathTitleBackgroundBorderColor});f=Math.floor(1E5*Math.random());var c={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, 61 curSongText:"",prevSongTitle:"",stationTitleInsideWait:0,audioPlayerWidth:0,category_arr:"",selectedCateg:"",categsAreListed:!1,thumbsHolder_Thumb:e('<div class="thumbsHolder_ThumbOFF" rel="0"><div class="padding">test</div></div>'),thumbsHolder_ThumbHeight:0,thumbsHolder_Thumbs:"",search_val:"",constantDistance:5,playerTopMargin:23,titleWidth:a.titleWidth,radioStationWidth:a.titleWidth,radioStationTopPos:0,radioStationLeftPos:0,titleTopPos:0,titleLeftPos:0,imageTopPos:0,imageLeftPos:0,playTopPos:0, 62 playLeftPos:0,playBtnMaxDiameter:80,playBtnNewDim:80,previousTopPos:0,previousLeftPos:0,nextTopPos:0,nextLeftPos:0,volumeTopPos:0,volumeLeftPos:0,volumesliderTopPos:0,volumesliderLeftPos:0,showhideplaylistTopPos:0,showhideplaylistLeftPos:0,smallButtonDistance:0,popupTopPos:0,popupLeftPos:0,facebookTopPos:0,facebookLeftPos:0,twitterTopPos:0,twitterLeftPos:0,rightSideButtonsDim:16,artistNameTopPos:0,artistNameLeftPos:0,thebarsTopPos:0,thebarsLeftPos:0,speakersLeftPos:0,speakersTopPos:0,gradientLeftPos:0, 63 gradientTopPos:0,numberOfButtonsRightSide:4,resizePlayButton:!1,origParentFloat:"",origParentPaddingTop:"",origParentPaddingRight:"",origParentPaddingBottom:"",origParentPaddingLeft:"",windowWidth:0,audioObj:"",radioReaderAjaxInterval:"",totalRadioStationsNo:0,ajaxReturnedRadioStationsNo:0,lastfm:"",isFlashNeeded:!0,myFlashObject:"",rndNum:0,prevVolumeVal:1,cur_loc:"",cur_intv:"",isMinified:!1,cookie_isMinified:!1,cookie_current_img_no:0,cookie_origID:0,cookie_initialVolume:0,cookie_muteVolume:0, 64 cookie_autoPlay:!1,cookie_firstCateg:"",cookie_popupWin:"",newImageBorderWidth:a.imageBorderWidth,newBannerWidth:a.bannerWidth,newBannerHe
64ight:a.bannerHeight,newPlayerHeight:a.playerHeight,bannersInterval:"",curBanner:0,the_artist_id:"",the_wikidata_id:"",musicbrainz_setTimeout:"",wiki_photo_path:a.noImageAvailable,zerx:"523532",html5_audio_tag:"",audioID:"audio8_audio_tag_id_"+f};c.html5_audio_tag=e('<audio id="'+c.audioID+'" preload="metadata"></audio>');d.append(c.html5_audio_tag);35>a.nowPlayingInterval&& 65 (a.nowPlayingInterval=40);c.isFlashNeeded=ka(c);-1!=E&&(c.isFlashNeeded=!0);a.showBanner?g.remove():(r.addClass("lbg_border_radius"),c.newBannerWidth=728,c.newBannerHeight=90,a.showGradientOverBars?(p.css({background:"-moz-linear-gradient(left, "+a.playerBackgroundColor+" 0%, rgba(245,245,245,0) 51%, "+a.playerBackgroundColor+" 100%)",filter:"progid:DXImageTransform.Microsoft.gradient( startColorstr='"+a.playerBackgroundColor+"', endColorstr='"+a.playerBackgroundColor+"', GradientType=1 )"}),p.css({background:"-webkit-gradient(left top, right top, color-stop(0%, "+ 66 a.playerBackgroundColor+"), color-stop(51%, rgba(245,245,245,0)), color-stop(100%, "+a.playerBackgroundColor+"))"}),p.css({background:"-webkit-linear-gradient(left, "+a.playerBackgroundColor+" 0%, rgba(245,245,245,0) 51%, "+a.playerBackgroundColor+" 100%)"}),p.css({background:"-o-linear-gradient(left, "+a.playerBackgroundColor+" 0%, rgba(245,245,245,0) 51%, "+a.playerBackgroundColor+" 100%)"}),p.css({background:"-ms-linear-gradient(left, "+a.playerBackgroundColor+" 0%, rgba(245,245,245,0) 51%, "+ 67 a.playerBackgroundColor+" 100%)"}),p.css({background:"linear-gradient(to right, "+a.playerBackgroundColor+" 0%, rgba(245,245,245,0) 51%, "+a.playerBackgroundColor+" 100%)"})):p.css({display:"none",width:0,height:0,padding:0,margin:0}));c.cookie_popupWin=N(a,"cookie_popupWin");"audio8_PopupName"==window.self.name&&(a.sticky=!1,a.showPopupBut=!1,d.parent().css({left:0,position:"absolute"}),e("body").css({"background-color":"#999999 !important","min-width":"305px"}),document.getElementsByTagName("body")[0].style.marginTop= 68 "0px",document.getElementsByTagName("body")[0].style.marginBottom="0px",document.getElementsByTagName("body")[0].style.marginLeft="0px",document.getElementsByTagName("body")[0].style.marginRight="0px",document.getElementsByTagName("body")[0].style.paddingTop="0px",document.getElementsByTagName("body")[0].style.paddingBottom="0px",document.getElementsByTagName("body")[0].style.paddingLeft="0px",document.getElementsByTagName("body")[0].style.paddingRight="0px",ea(d));if(a.sticky||"audio8_PopupName"== 69 window.self.name){c.cookie_current_img_no=N(a,"cookie_current_img_no");c.cookie_origID=N(a,"cookie_origID");void 0!=c.cookie_current_img_no&&(c.current_img_no=c.cookie_current_img_no,void 0!=c.cookie_origID&&(c.origID=c.cookie_origID));c.cookie_autoPlay=N(a,"cookie_autoPlay");void 0!=c.cookie_autoPlay&&(a.autoPlay="true"==c.cookie_autoPlay?!0:!1);if(-1!=P.indexOf("ipad")||-1!=P.indexOf("iphone")||-1!=P.indexOf("ipod")||-1!=P.indexOf("webos")||-1!=navigator.userAgent.indexOf("Android"))a.autoPlay= 70 !1;"true"!=c.cookie_autoPlay&&-1==(-1==navigator.userAgent.indexOf("Opera")&&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));c.cookie_initialVolume=N(a,"cookie_initialVolume");c.cookie_initialVolume&&(a.initialVolume= 71 c.cookie_initialVolume);c.cookie_muteVolume=N(a,"cookie_muteVolume");1<=c.cookie_muteVolume&&setTimeout(function(){h.click()},300);c.cookie_firstCateg=N(a,"cookie_firstCateg");void 0!=c.cookie_firstCateg&&(a.firstCateg=c.cookie_firstCateg)}a.sticky?(x.css({background:a.playerBackgroundColor,color:a.minButtonColor}),x.html(a.minimizeButtonText),""==a.minimizeButtonText&&(x.append('<div class="audio8_html5_arrow_div audio8_html5_arrow_down"></div>'),jQuery(".audio8_html5_arrow_div").css({"border-bottom-color":a.minButtonColor, 72 "border-top-color":a.minButtonColor}),x.width("auto")),x.click(function(){var k=0,y="auto";c.isMinified?(k=0,c.isMinified=!1):(k=-1*(c.newPlayerHeight+1),y="none",c.isMinified=!0);K(a,"cookie_isMinified",c.isMinified);""==a.minimizeButtonText&&(c.isMinified?(e(".audio8_html5_arrow_div").removeClass("audio8_html5_arrow_down"),e(".audio8_html5_arrow_div").addClass("audio8_html5_arrow_up")):(e(".audio8_html5_arrow_div").removeClass("audio8_html5_arrow_up"),e(".audio8_html5_arrow_div").addClass("audio8_html5_arrow_down"))); 73 a.showBanner?d.css({bottom:k+"px",left:"0px"}):d.animate({bottom:k+"px"},500,"easeOutQuad",function(){e(".audio8_html5_sticky").css({"pointer-events":y});d.css({left:"0px"})})}),x.mouseover(function(){x.css({color:a.minButtonHoverColor});""==a.minimizeButtonText&&jQuery(".audio8_html5_arrow_div").css({"border-bottom-color":a.minButtonHoverColor,"border-top-color":a.minButtonHoverColor})}),x.mouseout(function(){x.css({color:a.minButtonColor});""==a.minimizeButtonText&&jQuery(".audio8_html5_arrow_div").css({"border-bottom-color":a.minButtonColor, 74 "border-top-color":a.minButtonColor})})):(d.parent().removeClass("audio8_html5_sticky"),d.parent().addClass("the_wrapper"));d.height(c.newPlayerHeight);a.playerWidth=d.parent().width();d.width(a.playerWidth);a.origWidth=a.playerWidth;l.css({top:"0px",left:"0px",height:c.newPlayerHeight+"px"});a.showPopupBut&&B.click(function(){clearInterval(c.timeupdateInterval);clearInterval(c.radioReaderAjaxInterval);clearInterval(c.bannersInterval);d.parent().remove();c.cookie_popupWin=window.open(location.href, 75 "audio8_PopupName","width="+a.popupWidth+", height="+a.popupHeight+", left=24, top=24, scrollbars=no, resizable");c.cookie_popupWin.focus();K(a,"cookie_popupWin",c.cookie_popupWin,1201)});a.showFacebookBut&&(window.fbAsyncInit=function(){FB.init({appId:a.facebookAppID,version:"v3.2",status:!0,cookie
75:!0,xfbml:!0})},function(k,y,C){var t=k.getElementsByTagName(y)[0];k.getElementById(C)||(k=k.createElement(y),k.id=C,k.src="//connect.facebook.com/en_US/sdk.js",t.parentNode.insertBefore(k,t))}(document, 76 "script","facebook-jssdk"),m.click(function(){FB.ui({method:"share_open_graph",action_type:"og.likes",action_properties:JSON.stringify({object:{"og:url":document.URL,"og:title":a.facebookShareTitle,"og:description":a.facebookShareDescription}})},function(k){})}));a.showTwitterBut&&u.click(function(){var k=c.playlist_arr[c.origID].station.replace("%","percent");k=k.replace("&"," and ");window.open("https://twitter.com/intent/tweet?url="+document.URL+"&text="+k,"Twitter","status = 1, left = 430, top = 270, height = 550, width = 420, resizable = 0")}); 77 ca(a,c,q,n,z,G,H,w,h,A,r,J,p,g,v,B,m,u,d,l);var F=e(".thumbsHolderWrapper",d),V=e(".playlistPadding",d),Q=e(".thumbsHolderVisibleWrapper",d),L=e(".thumbsHolder",d);c.audio8_html5_sliderVertical=e(".slider-vertical",d);var M=e(".selectedCategDiv",d),R=e(".innerSelectedCategDiv",d),S=e(".searchDiv",d),T=e(".search_term",d);V.css({padding:a.playlistPadding+"px"});Q.append('<div class="readingData">'+a.translateReadingData+"</div>");a.showPlaylist||F.css({opacity:0});a.showPlaylistOnInit||(F.css({opacity:0, 78 visibility:"hidden","margin-top":"-20px"}),l.css({background:a.playerBackgroundColor,opacity:a.playerBackgroundOpacity/100,"border-bottom":a.beneathTitleBackgroundBorderWidth+"px solid "+a.beneathTitleBackgroundBorderColor}));M.css({"background-color":a.selectedCategBg,"background-position":"10px 50%","margin-bottom":a.selectedCategMarginBottom+"px"});R.css({color:a.selectedCategOffColor,"background-position":a.playerWidth-2*a.playlistPadding-20+"px 50%"});a.showCategories||M.css({display:"none", 79 width:0,height:0,padding:0,margin:0});S.css({"background-color":a.searchAreaBg,"margin-top":a.selectedCategMarginBottom+"px"});T.val(a.searchInputText);T.css({width:parseInt(a.playerWidth-2*a.playlistPadding-37,10)+"px","background-color":a.searchInputBg,"border-color":a.searchInputBorderColor,color:a.searchInputTextColor});a.showSearchArea||S.css({display:"none",width:0,height:0,padding:0,margin:0});F.css({width:d.width()+2*a.playerPadding+"px",bottom:-1*c.newPlayerHeight+"px",left:"0px",background:a.playlistBgColor}); 80 Q.width(d.width());c.playlist_arr=[];c.category_arr=[];var I;e(".xaudioplaylist",d).children().each(function(){I=e(this);c.total_images++;c.playlist_arr[c.total_images-1]=[];c.playlist_arr[c.total_images-1].title="";c.playlist_arr[c.total_images-1].station="";c.playlist_arr[c.total_images-1].image="";c.playlist_arr[c.total_images-1].category="";c.playlist_arr[c.total_images-1].radiostream="";c.playlist_arr[c.total_images-1].associatedpageurl="";c.playlist_arr[c.total_images-1].banners="";c.playlist_arr[c.total_images- 81 1].bannerlinks="";null!=I.find(".xtitle").html()&&(c.playlist_arr[c.total_images-1].title=I.find(".xtitle").html());null!=I.find(".xstation").html()&&(c.playlist_arr[c.total_images-1].station=I.find(".xstation").html());null!=I.find(".ximage").html()&&(c.playlist_arr[c.total_images-1].image=I.find(".ximage").html());if(null!=I.find(".xcategory").html()&&(c.playlist_arr[c.total_images-1].category=a.translateAllRadioStations+";"+I.find(".xcategory").html()+";",!a.grabStreamnameAndGenre)){var k=[];k= 82 c.playlist_arr[c.total_images-1].category.split(";");for(var y=0;y<k.length;y++)k[y]=k[y].trim(),-1===c.category_arr.indexOf(k[y])&&""!=k[y]&&c.category_arr.push(k[y])}null!=I.find(".xassociatedpageurl").html()&&(c.playlist_arr[c.total_images-1].associatedpageurl=I.find(".xassociatedpageurl").html());null!=I.find(".xbanners").html()&&(c.playlist_arr[c.total_images-1].banners=[],c.playlist_arr[c.total_images-1].bannerlinks=[],I.find(".xbanners").children("div").each(function(){c.playlist_arr[c.total_images- 83 1].banners.push(e(this).attr("data-banner"));c.playlist_arr[c.total_images-1].bannerlinks.push(e(this).attr("data-link"))}));null!=I.find(".xradiostream").html()&&(c.playlist_arr[c.total_images-1].radiostream=I.find(".xradiostream").html(),-1==c.playlist_arr[c.total_images-1].radiostream.indexOf("/",9)&&(c.playlist_arr[c.total_images-1].radiostream+="/;"),"/"==c.playlist_arr[c.total_images-1].radiostream.charAt(c.playlist_arr[c.total_images-1].radiostream.length-1)&&(c.playlist_arr[c.total_images- 84 1].radiostream+=";"),c.totalRadioStationsNo++,a.grabStreamnameAndGenre&&e.get(a.pathToAjaxFiles+"streamandgenre.php",{the_stream:c.playlist_arr[c.total_images-1].radiostream,cur_i:c.total_images-1,translateAllRadioStations:a.translateAllRadioStations,_:e.now()},function(C){c.ajaxReturnedRadioStationsNo++;var t=C.split("#----#");2<=t.length&&void 0!=c.playlist_arr[t[0]]&&""==c.playlist_arr[t[0]].station&&(c.playlist_arr[t[0]].station=t[1]);
843<=t.length&&void 0!=c.playlist_arr[t[0]]&&""==c.playlist_arr[t[0]].category&& 85 (c.playlist_arr[t[0]].category=t[2]+";");void 0!=c.playlist_arr[t[0]]&&""==c.playlist_arr[t[0]].category&&(c.playlist_arr[t[0]].category=a.translateAllRadioStations);C=[];void 0!=c.playlist_arr[t[0]]&&(C=c.playlist_arr[t[0]].category.split(";"));for(t=0;t<C.length;t++)C[t]=C[t].trim(),-1===c.category_arr.indexOf(C[t])&&""!=C[t]&&c.category_arr.push(C[t]);c.ajaxReturnedRadioStationsNo==c.totalRadioStationsNo&&(c.numberOfCategories=c.category_arr.length,c.selectedCateg=a.firstCateg,c.category_arr.sort(), 86 ""==a.firstCateg&&-1===c.category_arr.indexOf(a.firstCateg)&&(c.selectedCateg=c.category_arr[0]),R.html(c.selectedCateg),e(".readingData").remove(),X(c,a,d,L,F,Q,M,S,V,q,w,D,H,G,b,r,J,p),a.showPlaylistOnLoad&&setTimeout(function(){v.click()},1E3))}))});a.grabStreamnameAndGenre||(c.numberOfCategories=c.category_arr.length,c.selectedCateg=a.firstCateg,c.category_arr.sort(),""==a.firstCateg&&-1===c.category_arr.indexOf(a.firstCateg)&&(c.selectedCateg=c.category_arr[0]),R.html(c.selectedCateg),e(".readingData").remove(), 87 X(c,a,d,L,F,Q,M,S,V,q,w,D,H,G,b,r,J,p),a.showPlaylistOnLoad&&setTimeout(function(){v.click()},1E3));M.click(function(){c.search_val="";T.val(a.searchInputText);ia(c,a,d,L,F,Q,M,R,S,V,q,w,D,H,G,b,r,J,p)});M.mouseover(function(){R.css({color:a.selectedCategOnColor})});M.mouseout(function(){R.css({color:a.selectedCategOffColor})});A.slider({value:a.initialVolume,step:.05,orientation:"horizontal",range:"min",max:1,animate:!0,slide:function(k,y){a.initialVolume=y.value;c.isFlashNeeded?c.myFlashObject.myAS3function(U(c, 88 a,L,d),a.initialVolume):(document.getElementById(c.audioID).volume=y.value,K(a,"cookie_initialVolume",y.value))},stop:function(k,y){}});document.getElementById(c.audioID).volume=a.initialVolume;A.css({background:a.volumeOffColor});e(".ui-slider-range",A).css({background:a.volumeOnColor});q.click(function(){var k=c.isFlashNeeded?!q.hasClass("AudioPause"):document.getElementById(c.audioID).paused;ja();0==k?(c.isFlashNeeded?c.myFlashObject.myAS3function("_pause_radio_stream_",a.initialVolume):document.getElementById(c.audioID).pause(), 89 a.showBanner||(e(".sound",d).css({"-webkit-animation-play-state":"paused","-moz-animation-play-state":"paused","-ms-animation-play-state":"paused","-o-animation-play-state":"paused","animation-play-state":"paused"}),e(".sound2",d).css({"-webkit-animation-play-state":"paused","-moz-animation-play-state":"paused","-ms-animation-play-state":"paused","-o-animation-play-state":"paused","animation-play-state":"paused"})),q.removeClass("AudioPause"),K(a,"cookie_autoPlay",!1)):(c.isFlashNeeded?c.myFlashObject.myAS3function("_play_radio_stream_", 90 a.initialVolume):(document.getElementById(c.audioID).src=U(c,a,L,d),document.getElementById(c.audioID).load(),document.getElementById(c.audioID).play()),a.showBanner||(e(".sound",d).css({"-webkit-animation-play-state":"running","-moz-animation-play-state":"running","-ms-animation-play-state":"running","-o-animation-play-state":"running","animation-play-state":"running"}),e(".sound2",d).css({"-webkit-animation-play-state":"running","-moz-animation-play-state":"running","-ms-animation-play-state":"running", 91 "-o-animation-play-state":"running","animation-play-state":"running"})),q.addClass("AudioPause"),K(a,"cookie_autoPlay",!0));c.cookie_autoPlay=N(a,"cookie_autoPlay")});document.getElementById(c.audioID).oncanplay=function(){};document.getElementById(c.audioID).onerror=function(k){q.hasClass("AudioPause")&&1<document.getElementById(c.audioID).error.code&&q.click()};v.click(function(){F.css({visibility:"visible"});if(0>F.css("bottom").substring(0,F.css("bottom").length-2)){var k=1,y="block";M.height(); 92 S.height();var C=c.newPlayerHeight+a.playlistTopPos;F.css({display:y});l.css({background:a.playerBackgroundColor,opacity:a.playerBackgroundOpacity/100,"border-bottom":a.beneathTitleBackgroundBorderWidth+"px solid "+a.beneathTitleBackgroundBorderColor});a.sticky?x.css({display:"none"}):(d.animate({top:F.height()+a.playlistTopPos+"px"},500,"swing",function(){}),d.parent().animate({height:d.height()+F.height()+a.playlistTopPos+"px"},500,"swing",function(){}))}else k=0,y="none",C=-1*c.newPlayerHeight, 93 c.selectedCateg_total_images>a.numberOfThumbsPerScreen&&c.audio8_html5_sliderVertical.css({opacity:0,display:"none"}
93),l.css({background:a.playerBackgroundColor,opacity:a.playerBackgroundOpacity/100,"border-bottom":a.beneathTitleBackgroundBorderWidth+"px solid "+a.beneathTitleBackgroundBorderColor}),a.sticky?x.css({display:"block"}):(d.animate({top:"0px"},500,"swing",function(){}),d.parent().animate({height:d.height()+"px"},500,"swing",function(){}));F.css({opacity:1,display:"block"});F.animate({opacity:k, 94 bottom:C+"px"},500,"swing",function(){F.css({display:y});c.selectedCateg_total_images>a.numberOfThumbsPerScreen&&c.audio8_html5_sliderVertical.css({opacity:1,display:y})})});h.click(function(){document.getElementById(c.audioID).muted?(document.getElementById(c.audioID).muted=!1,h.removeClass("VolumeButtonMuted"),K(a,"cookie_muteVolume",0),c.isFlashNeeded&&(a.initialVolume=c.prevVolumeVal,c.myFlashObject.myAS3function(U(c,a,L,d),a.initialVolume))):(document.getElementById(c.audioID).muted=!0,h.addClass("VolumeButtonMuted"), 95 K(a,"cookie_muteVolume",1),c.isFlashNeeded&&(c.prevVolumeVal=a.initialVolume,a.initialVolume=0,c.myFlashObject.myAS3function(U(c,a,L,d),a.initialVolume)))});L.swipe({swipeStatus:function(k,y,C,t,ma,na){c.selectedCateg_total_images>a.numberOfThumbsPerScreen&&("up"==C||"down"==C)&&0!=t&&(k=c.audio8_html5_sliderVertical.slider("value"),k="up"==C?k-1.5:k+1.5,c.audio8_html5_sliderVertical.slider("value",k),e("html, body").off("touchstart touchmove").on("touchstart touchmove",function(la){la.preventDefault()}), 96 O(k,c,a,L))},threshold:100,maxTimeThreshold:500,fingers:"all"});T.on("click",function(){e(this).val("")}
96);T.on("input",function(){c.search_val=T.val().toLowerCase();X(c,a,d,L,F,Q,M,S,V,q,w,D,H,G,b,r,J,p)});a.sticky&&(d.css({left:"-5000px"}),c.cookie_isMinified=N(a,"cookie_isMinified"),a.startMinified&&void 0==c.cookie_isMinified&&x.click(),void 0==c.cookie_isMinified||"true"!=c.cookie_isMinified||a.is_lbgSite?d.css({left:"0px"}):x.click());c.isFlashNeeded&&(c.rndNum=parseInt(998999*Math.random()+ 97 1E3),d.append("<div id='swfHolder"+c.rndNum+"'></div>"),swfobject.addDomLoadEvent(function(){c.myFlashObject=swfobject.createSWF({data:a.pathToAjaxFiles+"flash_player.swf",width:"0",height:"0"},{flashvars:"streamUrl="+c.playlist_arr[c.origID].radiostream+"&autoPlay="+a.autoPlay+"&initialVolume="+a.initialVolume},"swfHolder"+c.rndNum)}),a.autoPlay&&q.addClass("AudioPause"));Y(c,a,L,d,q,w,D,G,H,b,r,J,p);-1==P.indexOf("ipad")&&-1==P.indexOf("iphone")&&-1==P.indexOf("ipod")&&-1==P.indexOf("webos")||q.removeClass("AudioPause"); 98 var fa=function(){c.prevSongTitle="";var k=d.parent().parent().width();a.sticky&&(k=e(window).width());d.width()!=k&&(a.playerWidth=k,d.width()!=a.playerWidth&&(d.width(a.playerWidth),ca(a,c,q,n,z,G,H,w,h,A,r,J,p,g,v,B,m,u,d,l),F.width(d.width()+2*a.playerPadding),Q.width(d.width()),M.width(a.playerWidth-2*a.playlistPadding),R.css({"background-position":a.playerWidth-2*a.playlistPadding-20+"px 50%"}),c.selectedCateg_total_images>a.numberOfThumbsPerScreen&&a.showPlaylist?(c.audio8_html5_sliderVertical.css({left:d.width()+ 99 2*a.playerPadding-c.audio8_html5_sliderVertical.width()-a.playlistPadding+"px"}),e(".thumbsHolder_ThumbOFF",d).css({width:d.width()+2*a.playerPadding-c.audio8_html5_sliderVertical.width()-2*a.playlistPadding-3+"px"})):e(".thumbsHolder_ThumbOFF",d).css({width:d.width()+2*a.playerPadding-2*a.playlistPadding+"px"}),T.css({width:parseInt(a.playerWidth-2*a.playlistPadding-50,10)+"px"})))},aa=!1;e(window).resize(function(){var k=!0;-1!=E&&9==E&&0==c.windowWidth&&(k=!1);c.windowWidth==e(window).width()? 100 (k=!1,a.windowCurOrientation!=window.orientation&&-1!=navigator.userAgent.indexOf("Android")&&(a.windowCurOrientation=window.orientation,k=!0)):c.windowWidth=e(window).width();a.responsive&&k&&(!1!==aa&&clearTimeout(aa),aa=setTimeout(function(){fa()},300))});a.responsive&&fa();c.cookie_popupWin&&"audio8_PopupName"!=window.name&&d.parent().remove();e(window).on("beforeunload",function(){"audio8_PopupName"==window.name&&(K(a,"cookie_popupWin",c.cookie_popupWin,1),c.cookie_popupWin=null)})})};e.fn.audio8_html5.defaults= 101 {playerWidth:5E3,playerHeight:94,playerBackgroundColor:"#f5f5f5",playerBackgroundOpacity:100,beneathTitleBackgroundBorderColor:"#f5f5f5",beneathTitleBackgroundBorderWidth:0,titleWidth:200,skin:"darkHover",initialVolume:.5,autoPlay:!0,loop:!0,playerPadding:0,playerBg:"#000000",volumeOffColor:"#cccccc",volumeOnColor:"#9f9f9f",timerColor:"#ffffff",songTitleColor:"#000000",radioStationColor:"#000000",frameBehindPlayerColor:"#000000",imageBorderWidth:26,imageBorderColor:"#f5f5f5",showFacebookBut:!0,facebookAppID:"", 102 facebookShareTitle:"SHOUT - HTML5 Radio Player With Ads - ShoutCast and IceCast Support",facebookShareDescription:"A top-notch responsive HTML5 Radio Player with ads support, compatible with all major browsers and mobile devices.",showVolume:!0,showTwitterBut:!0,showPopupBut:!0,showRadioStation:!0,showTitle:!0,showPlaylistBut:!0,showPlaylist:!0,showPlaylistOnInit:!1,showNextPrevBut:!1,showPlaylistOnLoad:!1,showBanner:!0,bannerWidth:728,bannerHeight:90,bannerIntervalSeconds:5,bannerLinkTarget:"_blank", 103 sticky:!0,minimizeButtonText:"open / close",is_lbgSite:!1,nextPrevAdditionalPadding:-5,translateRadioStation:"Radio Station: ",translateReadingData:"reading data...",translateAllRadioStations:"ALL RADIO STATIONS",playlistTopPos:5,playlistBgColor:"#f5f5f5",playlistRecordBgOffColor:"#ffffff",playlistRecordBgOnColor:"#d1d1d1",playlistRecordBottomBorderOffColor:"#bbbbbb",playlistRecordBottomBorderOnColor:"#bbbbbb",playlistRecordTextOffColor:"#777777",playlistRecordTextOnColor:"#000000",categoryRecordBgOffColor:"#222222", 104 categoryRecordBgOnColor:"#333333",categoryRecordBottomBorderOffColor:"#2f2f2f",categoryRecordBottomBorderOnColor:"#2f2f2f",categoryRecordTextOffColor:"#777777",categoryRecordTextOnColor:"#00b4f9",numberOfThumbsPerScreen:7,playlistPadding:18,showCategories:!0,firstCateg:"ALL RADIO STATIONS",
104selectedCategBg:"#555555",selectedCategOffColor:"#FFFFFF",selectedCategOnColor:"#00b4f9",selectedCategMarginBottom:12,showSearchArea:!0,searchAreaBg:"#555555",searchInputText:" search...",searchInputBg:"#cccccc", 105 searchInputBorderColor:"#333333",searchInputTextColor:"#333333",minButtonColor:"#333333",minButtonHoverColor:"#000000",startMinified:!1,responsive:!0,showPlaylistNumber:!0,popupWidth:1100,popupHeight:500,barsColor:"#000000",showGradientOverBars:!0,nowPlayingInterval:30,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.