1var JS_CONF = {"oneSAppID":"a7e78926-ab80-43b2-aa67-ab0d4f2b4a44","oneSSafariID":"web.onesignal.auto.204803f7-478b-4564-9a97-0318e873c676","defaultLang":"en","locale":"en_GB","backupS":["https:\/\/rdstrm.com","https:\/\/stream1.rdstrm.com","https:\/\/stream2.rdstrm.com"],"defDomainFileName":"ukradiolive_com","socketio":"https:\/\/ukradiolive.com:8443","adsAllow":{"cookie_id":"RTetrCkZg7ksm","allowAdsense":true},"iosID":"1462920402","ssUrl":{"gb":null,"ro":"https:\/\/myradioonline.ro","hu":"https:\/\/myonlineradio.hu","ie":"https:\/\/irishradiolive.com","nl":"https:\/\/myonlineradio.nl","de":"https:\/\/myonlineradio.de","pl":"https:\/\/myradioonline.pl","es":"https:\/\/myradioonline.es","tr":"https:\/\/myradyodinle.com","pt":"https:\/\/myradioonline.pt","fr":"https:\/\/myradioenligne.fr","at":"https:\/\/myonlineradio.at","it":"https:\/\/myradioonline.it","cz":"https:\/\/myonlineradio.cz","sk":"https:\/\/myonlineradio.sk","rs":"https:\/\/myradiostanice.rs","mx":"https:\/\/myradioenvivo.mx","ar":"https:\/\/myradioenvivo.ar","cl":"https:\/\/myradioonline.cl","pe":"https:\/\/myradioenvivo.pe","co":"https:\/\/myradioenvivo.co"},"page_id":"1697011997044933","sgdpr":true,"gdprV":2,"actPrivacy":"20240708","firebaseConfig":{"apiKey":"AIzaSyC2INVCRNd6SNE1KQ6NFjsgsZiB89B_atc","authDomain":"uk-ukradiolive.firebaseapp.com","databaseURL":"https:\/\/uk-ukradiolive.firebaseio.com","projectId":"uk-ukradiolive","storageBucket":"uk-ukradiolive.appspot.com","messagingSenderId":"801000179873","appId":"1:801000179873:web:0399afed12a030795188e0","measurementId":"G-SHV2ZETCX1","vapidKey":"BAqgmYSxm-mgxO1ME3Aavx6Om1ChFPAXWOzk15C6a738bclNFYrtiOPZL2epYZ4OVZ9nhxv8a0AMCX_0_m79Ci0"},"subSurPrices":{"7.9":"7.9 GBP","3.9":"3.9 GBP","1.9":"1.9 GBP","0.9":"0.9 GBP"},"subModeLvL":-1,"adsns":{"sites_google_ad_slot":{"auto":"5066904011","200_200":"2089729412","250_250":"9829519688","300_250":"2919075524"},"sites_google_ad_channel":{"radiopage_after_radiolist":"1739664680","rigth_col_brn":"8776556764","200_200_mobil":"2254570314","250_250_double_desktop_1":"8024851879","250_250_double_desktop_2":"1712447169","mobil_250_250":"4561692891","mobil_300_250":"3412262759","desktop_300_250":"2317128347","desktop_300_250_double_1":"1712447169","desktop_300_250_double_2":"7100505210","desktop_300_250_single":"4882725353","center_horizontal":"2375969484","radio_top_banner_adaptive":"7903390657","radio_top_banner_adaptive_2":"2651063971","radiopage_after_player":"1773096578","radiopage_after_player_2":"4633395335"},"sites_admanager_slot":{"radio_top_banner_adaptive":{"id":"ukradiolive_com\/radio_top_banner_adaptive","sizes":"[[970, 280], [970, 250], [930, 180], [750, 300], [750, 200], [540, 250]]"},"radio_after_player_banner_adaptive":{"id":"ukradiolive_com\/radio_top_banner_adaptive","sizes":"[[750, 300], [750, 200], [540, 250]]"},"mobil_250_250":{"id":"ukradiolive_com\/mobil_250_250","sizes":"[[300, 250],[250, 250],[200, 200]]"},"mobil_300_250":{"id":"ukradiolive_com\/mobil_300_250","sizes":"[[300, 250],[250, 250],[200, 200]]"},"desktop_300_250":{"id":"ukradiolive_com\/desktop_300_250","sizes":"[[336, 280],[300, 250],[250, 250]]"},"desktop_300_250_single":{"id":"ukradiolive_com\/desktop_300_250_single","sizes":"[[336, 280],[300, 250]]"},"desktop_300_250_double":{"id":"ukradiolive_com\/desktop_300_250_double","sizes":"[[300, 250]]"}}}}; 2function ConsoleDebugger(){var self=this;this.allError=new Array();this.stack=new Array();this.UA=navigator.userAgent;this.addBlock=false;var extensions=[];this.msgConditions=['adsbygoogle.push','Szintaktikai hiba','Permission denied','Syntax error','Syntaxfehler','Blocked a frame with origin','IndexSizeError','Page-level tag','NS_ERROR_','HTMLOUT is not','undefined is not a function','non-configurable','vc_request_action','ntp is not defined','webkitExitFullScreen','dataset','ResizeObserver loop','Unexpected token','cookie\\.js','server_fp is not',"Cannot read property \\'postMessage",'Uncaught SecurityError','adguard','websredir','globalThis','n\\.data\\.split','URL: undefined','Unexpected end of input','find variable: gmo','find variable\\: gmo','pagead2.*\/rum','Access is denied','InvalidAccessError','loader_js_executable','Cannot redefine property: IMA','readonly property','\\[\\"@context\\"\\].toLowerCase','chrome-extension','facebook\\.net','\\[object Event\\]','moz-extension','crypto\\.','__firefox__','IntersectionObserver','\\.ethereum\\.','Script error(\\.|,)+'];this.msgRegExp=this.msgConditions.join('|');this.init=function(){this.bindErrorCatcher();this.registerPostMessageReceiver();} 3this.bindErrorCatcher=function(){var prevOnError=window.onerror;window.onerror=function(message,source,lineno,colno,error){try{if(message&&message.toString){message=message.toString();}else{message=String(message);} 4source=source||(error&&(error.fileName||error.sourceURL))||"n/a";lineno=lineno||(error&&(error.lineNumber||error.line))||"n/a";colno=colno||(error&&(error.columnNumber||error.column))||"n/a";if(source.indexOf('cloudflareinsights.com')>-1){return false;} 5if(message.indexOf("memory")>-1){try{var db=new DialogBox();db.openPopUp("",message);}catch(e){}} 6var stack=(error&&error.stack)?error.stack:"";var pageUrl=(window.location&&window.location.href)?window.location.href:"n/a";var msg="\r\nMessage: "+message+",\r\nPage: "+pageUrl+",\r\nScriptURL: "+source+",\r\nLine: "+lineno+",\r\nCol: "+colno+",\r\nStack: "+stack;if(self&&typeof self.pushMsg==="function"){self.pushMsg(msg);}}catch(e){} 7if(typeof prevOnError==="function"){try{return prevOnError.apply(this,arguments);}catch(e){}} 8return false;};} 9this.pushMsg=function(msg){if(!msg||self.allError.indexOf(msg)!=-1||document.location.href.indexOf('proxy')>-1||typeof(document.location.href)=="undefined"||self.UA.indexOf("bot")>-1||msg.match(this.msgRegExp)!=null){if(typeof(window.console)!=='undefined'){console.log("Skipp error: "+msg+' > Match: '+(msg.match(this.msgRegExp)!=null));} 10return;} 11if(msg.indexOf('BetterJsPop')>-1){this.addBlock=true;return;} 12self.stack.push(msg);self.allError.push(msg);} 13this.sendData=function(){if(!window.jQuery||!this.stack.length){setTimeout(function(){self.sendData();},2000);return;} 14var data={};for(i in this.stack){data[i]=this.stack.shift();} 15$.ajax({"url":BASE_URL+"/console-debugger","method":"post","data":{"errors":data,"userAgent":self.UA,"LOADMSCRIPT":LOADMSCRIPT,"windowSize":window.innerWidth+"x"+window.innerHeight,"addBlock":(typeof(AddAdsV2I)!="undefined"?AddAdsV2I.hasAdblock():"-"),"url":"Href: "+document.location.href+", Ref: "+document.referrer,"errorFindStack":LoadScriptIfNeedI.errorFindStack,"myMiniJs":$("#myMiniJs").attr("src")}}).done(function(){setTimeout(function(){self.sendData();},2000);});} 16this.startAudioSupport=function(){if(document.getElementById("Grid")&&!this.html5AudioSupport()){var lang=document.getElementsByTagName("html")[0].getAttribute("lang");var msg="Listening to radio on this browser is not supported!<br><a href='https://www.google.com/chrome/' target='_blank'>Click here for a recommended Chrome browser!</a>";if(lang=="hu"){msg="Rádió hallgatása ezen a böngészÅn nem támogatott!<br><a href='https://www.google.com/chrome/' target='_blank'>Ajánlott Chrome böngészÅrét kattints ide!</a>"}else if(lang=="ro"){msg="Ascultarea radioului pe acest browser nu este acceptatÄ!<br><a href='https://www.google.com/chrome/' target='_blank'>FaceÈi clic aici pentru un browser Chrome recomandat!</a>";} 17var newItem=document.createElement("DIV");newItem.className="errorMessage center";newItem.style.display="block";newItem.innerHTML='<div class="clear_title10_2"></div>'+msg;var Grid=document.getElementById("Grid");Grid.insertBefore(newItem,Grid.childNodes[0]);}} 18this.html5AudioSupport=function(){var audioElement=document.createElement('audio');return!!(audioElement.canPlayType&&audioElement.canPlayType('audio/mpeg;').replace(/no/,''));} 19this.registerPostMessageReceiver=function(){window.addEventListener("message",receiveMessage,fal
19se);function receiveMessage(event){if(extensions.indexOf(event.data)<0&&String(event.data).indexOf("googMsgType")<0){extensions.push(event.data);}}} 20this.init();} 21if(typeof(ConsoleDebuggerI)==="undefined"){var ConsoleDebuggerI=new ConsoleDebugger();window.onload=function(){ConsoleDebuggerI.sendData();ConsoleDebuggerI.startAudioSupport();};}
vendor: 11,348 bytes, lines 21-22
21/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ 22!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function fe(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}ce.fn=ce.prototype={jquery:t,constructor:ce,length:0,toArray:function(){return ae.call(this)},get:function(e){return null==e?ae.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=ce.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return ce.each(this,e)},map:function(n){return this.pushStack(ce.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(ae.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(ce.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(ce.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:oe.sort,splice:oe.splice},ce.extend=ce.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(ce.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||ce.isPlainObject(n)?n:{},i=!1,a[t]=ce.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},ce.extend({expando:"jQuery"+(t+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==i.call(e))&&(!(t=r(e))||"function"==typeof(n=ue.call(t,"constructor")&&t.constructor)&&o.call(n)===a)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){m(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(c(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(!i)while(t=e[r++])n+=ce.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(c(Object(e))?ce.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:se.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!l.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(c(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g(a)},guid:1,support:le}),"function"==typeof Symbol&&(ce.fn[Symbol.iterator]=oe[Symbol.iterator]),ce.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var pe=oe.pop,de=oe.sort,he=oe.splice,ge="[\\x20\\t\\r\\n\\f]",ve=new RegExp("^"+ge+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ge+"+$","g");ce.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var f=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function p(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}ce.escapeSelector=function(e){return(e+"").replace(f,p)};var ye=C,me=s;!function(){var e,b,w,o,a,T,r,C,d,i,k=me,S=ce.expando,E=0,n=0,s=W(),c=W(),u=W(),h=W(),l=function(e,t){return e===t&&(a=!0),0},f="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",t="(?:\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",p="\\["+ge+"*("+t+")(?:"+ge+"*([*^$|!~]?=)"+ge+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+t+"))|)"+ge+"*\\]",g=":("+t+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+p+")*)|.*)\\)|)",v=new RegExp(ge+"+","g"),y=new RegExp("^"+ge+"*,"+ge+"*"),m=new RegExp("^"+ge+"*([>+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="<a id='"+S+"' href='' disabled='disabled'></a><select id='"+S+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)}
vendor: 4,763 bytes, line 22
22,I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0<I(t,T,null,[e]).length},I.contains=function(e,t){return(e.ownerDocument||e)!=T&&V(e),ce.contains(e,t)},I.attr=function(e,t){(e.ownerDocument||e)!=T&&V(e);var n=b.attrHandle[t.toLowerCase()],r=n&&ue.call(b.attrHandle,t.toLowerCase())?n(e,t,!C):void 0;return void 0!==r?r:e.getAttribute(t)},I.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ce.uniqueSort=function(e){var t,n=[],r=0,i=0;if(a=!le.sortStable,o=!le.sortStable&&ae.call(e,0),de.call(e,l),a){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)he.call(e,n[r],1)}return o=null,e},ce.fn.uniqueSort=function(){return this.pushStack(ce.uniqueSort(ae.apply(this)))},(b=ce.expr={cacheLength:50,createPseudo:F,match:D,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(v," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(d,e,t,h,g){var v="nth"!==d.slice(0,3),y="last"!==d.slice(-4),m="of-type"===e;return 1===h&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u=v!==y?"nextSibling":"previousSibling",l=e.parentNode,c=m&&e.nodeName.toLowerCase(),f=!n&&!m,p=!1;if(l){if(v){while(u){o=e;while(o=o[u])if(m?fe(o,c):1===o.nodeType)return!1;s=u="only"===d&&!s&&"nextSibling"}return!0}if(s=[y?l.firstChild:l.lastChild],y&&f){p=(a=(r=(i=l[S]||(l[S]={}))[d]||[])[0]===E&&r[1])&&r[2],o=a&&l.childNodes[a];while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if(1===o.nodeType&&++p&&o===e){i[d]=[E,a,p];break}}else if(f&&(p=a=(r=(i=e[S]||(e[S]={}))[d]||[])[0]===E&&r[1]),!1===p)while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if((m?fe(o,c):1===o.nodeType)&&++p&&(f&&((i=o[S]||(o[S]={}))[d]=[E,p]),o===e))break;return(p-=g)===h||p%h==0&&0<=p/h}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||I.error("unsupported pseudo: "+e);return a[S]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?F(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=se.call(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:F(function(e){var r=[],i=[],s=ne(e.replace(ve,"$1"));return s[S]?F(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:F(function(t){return function(e){return 0<I(t,e).length}}),contains:F(function(t){return t=t.replace(O,P),function(e){return-1<(e.textContent||ce.text(e)).indexOf(t)}}),lang:F(function(n){return A.test(n||"")||I.error("unsupported lang: "+n),n=n.replace(O,P).toLowerCase(),function(e){var t;do{if(t=C?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=ie.location&&ie.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===r},focus:function(e){return e===function(){try{return T.activeElement}catch(e){}}()&&T.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:z(!1),disabled:z(!0),checked:function(e){return fe(e,"input")&&!!e.checked||fe(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return q.test(e.nodeName)}
vendor: 6,770 bytes, line 22
22,input:function(e){return N.test(e.nodeName)},button:function(e){return fe(e,"input")&&"button"===e.type||fe(e,"button")},text:function(e){var t;return fe(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:X(function(){return[0]}),last:X(function(e,t){return[t-1]}),eq:X(function(e,t,n){return[n<0?n+t:n]}),even:X(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:X(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:X(function(e,t,n){var r;for(r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:X(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=B(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=_(e);function G(){}function Y(e,t){var n,r,i,o,a,s,u,l=c[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&&!(r=y.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=m.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(ve," ")}),a=a.slice(n.length)),b.filter)!(r=D[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?I.error(e):c(e,s).slice(0)}function Q(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function J(a,e,t){var s=e.dir,u=e.next,l=u||s,c=t&&"parentNode"===l,f=n++;return e.first?function(e,t,n){while(e=e[s])if(1===e.nodeType||c)return a(e,t,n);return!1}:function(e,t,n){var r,i,o=[E,f];if(n){while(e=e[s])if((1===e.nodeType||c)&&a(e,t,n))return!0}else while(e=e[s])if(1===e.nodeType||c)if(i=e[S]||(e[S]={}),u&&fe(e,u))e=e[s]||e;else{if((r=i[l])&&r[0]===E&&r[1]===f)return o[2]=r[2];if((i[l]=o)[2]=a(e,t,n))return!0}return!1}}function K(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Z(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function ee(d,h,g,v,y,e){return v&&!v[S]&&(v=ee(v)),y&&!y[S]&&(y=ee(y,e)),F(function(e,t,n,r){var i,o,a,s,u=[],l=[],c=t.length,f=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)I(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),p=!d||!e&&h?f:Z(f,u,d,n,r);if(g?g(p,s=y||(e?d:c||v)?[]:t,n,r):s=p,v){i=Z(s,l),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(s[l[o]]=!(p[l[o]]=a))}if(e){if(y||d){if(y){i=[],o=s.length;while(o--)(a=s[o])&&i.push(p[o]=a);y(null,s=[],i,r)}o=s.length;while(o--)(a=s[o])&&-1<(i=y?se.call(e,a):u[o])&&(e[i]=!(t[i]=a))}}else s=Z(s===t?s.splice(c,s.length):s),y?y(null,t,s,r):k.apply(t,s)})}function te(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=J(function(e){return e===i},a,!0),l=J(function(e){return-1<se.call(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!=w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])c=[J(K(c),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[S]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return ee(1<s&&K(c),1<s&&Q(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ve,"$1"),t,s<n&&te(e.slice(s,n)),n<r&&te(e=e.slice(n)),n<r&&Q(e))}c.push(t)}return K(c)}function ne(e,t){var n,v,y,m,x,r,i=[],o=[],a=u[e+" "];if(!a){t||(t=Y(e)),n=t.length;while(n--)(a=te(t[n]))[S]?i.push(a):o.push(a);(a=u(e,(v=o,m=0<(y=i).length,x=0<v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=E+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==T||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){a=0,t||o.ownerDocument==T||(V(o),n=!C);while(s=v[a++])if(s(o,t||T,n)){k.call(r,o);break}i&&(E=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=pe.call(r));f=Z(f)}k.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&ce.uniqueSort(r)}return i&&(E=h,w=p),c},m?F(r):r))).selector=e}return a}function re(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&Y(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&C&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(O,P),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=D.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&&(r=u(a.matches[0].replace(O,P),H.test(o[0].type)&&U(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&Q(o)))return k.apply(n,r),n;break}}}return(l||ne(e,c))(r,t,!C,n,!t||H.test(e)&&U(t.parentNode)||t),n}G.prototype=b.filters=b.pseudos,b.setFilters=new G,le.sortStable=S.split("").sort(l).join("")===S,V(),le.sortDetached=$(function(e){return 1&e.compareDocumentPosition(T.createElement("fieldset"))}),ce.find=I,ce.expr[":"]=ce.expr.pseudos,ce.unique=ce.uniqueSort,I.compile=ne,I.select=re,I.setDocument=V,I.tokenize=Y,I.escape=ce.escapeSelector,I.getText=ce.text,I.isXML=ce.isXMLDoc,I.selectors=ce.expr,I.support=ce.support,I.uniqueSort=ce.uniqueSort}();var d=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&ce(e).is(n))break;r.push(e)}return r},h=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},b=ce.expr.match.needsContext,w=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1<se.call(n,e)!==r}):ce.filter(n,e,r)}ce.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ce.find.matchesSelector(r,e)?[r]:[]:ce.find.matches(e,ce.grep(t,function(e){return 1===e.nodeType}))},ce.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(ce(e).filter(function(){for(t=0;t<r;t++)if(ce.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)ce.find(e,i[t],n);return 1<r?ce.uniqueSort(n):n},filter:function(e){return this.pushStack(T(this,e||[],!1))},not:function(e){return this.pushStack(T(this,e||[],!0))},is:function(e){return!!T(this,"string"==typeof e&&b.test(e)?ce(e):e||[],!1).length}});var k,S=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}
vendor: 6,600 bytes, line 22
22return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(ce.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&ce(e);if(!b.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&ce.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?ce.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?se.call(ce(e),this[0]):se.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ce.uniqueSort(ce.merge(this.get(),ce(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ce.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return d(e,"parentNode")},parentsUntil:function(e,t,n){return d(e,"parentNode",n)},next:function(e){return A(e,"nextSibling")},prev:function(e){return A(e,"previousSibling")},nextAll:function(e){return d(e,"nextSibling")},prevAll:function(e){return d(e,"previousSibling")},nextUntil:function(e,t,n){return d(e,"nextSibling",n)},prevUntil:function(e,t,n){return d(e,"previousSibling",n)},siblings:function(e){return h((e.parentNode||{}).firstChild,e)},children:function(e){return h(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(fe(e,"template")&&(e=e.content||e),ce.merge([],e.childNodes))}},function(r,i){ce.fn[r]=function(e,t){var n=ce.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=ce.filter(t,n)),1<this.length&&(j[r]||ce.uniqueSort(n),E.test(r)&&n.reverse()),this.pushStack(n)}});var D=/[^\x20\t\r\n\f]+/g;function N(e){return e}function q(e){throw e}function L(e,t,n,r){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}ce.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},ce.each(e.match(D)||[],function(e,t){n[t]=!0}),n):ce.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){ce.each(e,function(e,t){v(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==x(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return ce.each(arguments,function(e,t){var n;while(-1<(n=ce.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<ce.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},ce.extend({Deferred:function(e){var o=[["notify","progress",ce.Callbacks("memory"),ce.Callbacks("memory"),2],["resolve","done",ce.Callbacks("once memory"),ce.Callbacks("once memory"),0,"resolved"],["reject","fail",ce.Callbacks("once memory"),ce.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return ce.Deferred(function(r){ce.each(o,function(e,t){var n=v(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&v(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,v(t)?s?t.call(e,l(u,o,N,s),l(u,o,q,s)):(u++,t.call(e,l(u,o,N,s),l(u,o,q,s),l(u,o,N,o.notifyWith))):(a!==N&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){ce.Deferred.exceptionHook&&ce.Deferred.exceptionHook(e,t.error),u<=i+1&&(a!==q&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(ce.Deferred.getErrorHook?t.error=ce.Deferred.getErrorHook():ce.Deferred.getStackHook&&(t.error=ce.Deferred.getStackHook()),ie.setTimeout(t))}}return ce.Deferred(function(e){o[0][3].add(l(0,e,v(r)?r:N,e.notifyWith)),o[1][3].add(l(0,e,v(t)?t:N)),o[2][3].add(l(0,e,v(n)?n:q))}).promise()},promise:function(e){return null!=e?ce.extend(e,a):a}},s={};return ce.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=ae.call(arguments),o=ce.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?ae.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(L(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||v(i[t]&&i[t].then)))return o.then();while(t--)L(i[t],a(t),o.reject);return o.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;ce.Deferred.exceptionHook=function(e,t){ie.console&&ie.console.warn&&e&&H.test(e.name)&&ie.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},ce.readyException=function(e){ie.setTimeout(function(){throw e})};var O=ce.Deferred();function P(){C.removeEventListener("DOMContentLoaded",P),ie.removeEventListener("load",P),ce.ready()}ce.fn.ready=function(e){return O.then(e)["catch"](function(e){ce.readyException(e)}),this},ce.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--ce.readyWait:ce.isReady)||(ce.isReady=!0)!==e&&0<--ce.readyWait||O.resolveWith(C,[ce])}}),ce.ready.then=O.then,"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?ie.setTimeout(ce.ready):(C.addEventListener("DOMContentLoaded",P),ie.addEventListener("load",P));var M=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;
vendor: 13,727 bytes, line 22
22if("object"===x(n))for(s in i=!0,n)M(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,v(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(ce(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},R=/^-ms-/,I=/-([a-z])/g;function W(e,t){return t.toUpperCase()}function F(e){return e.replace(R,"ms-").replace(I,W)}var $=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function B(){this.expando=ce.expando+B.uid++}B.uid=1,B.prototype={cache:function(e){var t=e[this.expando];return t||(t={},$(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[F(t)]=n;else for(r in t)i[F(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][F(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(F):(t=F(t))in r?[t]:t.match(D)||[]).length;while(n--)delete r[t[n]]}(void 0===t||ce.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!ce.isEmptyObject(t)}};var _=new B,z=new B,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,U=/[A-Z]/g;function V(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(U,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:X.test(i)?JSON.parse(i):i)}catch(e){}z.set(e,t,n)}else n=void 0;return n}ce.extend({hasData:function(e){return z.hasData(e)||_.hasData(e)},data:function(e,t,n){return z.access(e,t,n)},removeData:function(e,t){z.remove(e,t)},_data:function(e,t,n){return _.access(e,t,n)},_removeData:function(e,t){_.remove(e,t)}}),ce.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=z.get(o),1===o.nodeType&&!_.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=F(r.slice(5)),V(o,r,i[r]));_.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){z.set(this,n)}):M(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=z.get(o,n))?t:void 0!==(t=V(o,n))?t:void 0;this.each(function(){z.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){z.remove(this,e)})}}),ce.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=_.get(e,t),n&&(!r||Array.isArray(n)?r=_.access(e,t,ce.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=ce.queue(e,t),r=n.length,i=n.shift(),o=ce._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){ce.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return _.get(e,n)||_.access(e,n,{empty:ce.Callbacks("once memory").add(function(){_.remove(e,[t+"queue",n])})})}}),ce.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?ce.queue(this[0],t):void 0===n?this:this.each(function(){var e=ce.queue(this,t,n);ce._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&ce.dequeue(this,t)})},dequeue:function(e){return this.each(function(){ce.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=ce.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=_.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var G=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Y=new RegExp("^(?:([+-])=|)("+G+")([a-z%]*)$","i"),Q=["Top","Right","Bottom","Left"],J=C.documentElement,K=function(e){return ce.contains(e.ownerDocument,e)},Z={composed:!0};J.getRootNode&&(K=function(e){return ce.contains(e.ownerDocument,e)||e.getRootNode(Z)===e.ownerDocument});var ee=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&K(e)&&"none"===ce.css(e,"display")};function te(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return ce.css(e,t,"")},u=s(),l=n&&n[3]||(ce.cssNumber[t]?"":"px"),c=e.nodeType&&(ce.cssNumber[t]||"px"!==l&&+u)&&Y.exec(ce.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)ce.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,ce.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ne={};function re(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=_.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ee(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ne[s])||(o=a.body.appendChild(a.createElement(s)),u=ce.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ne[s]=u)))):"none"!==n&&(l[c]="none",_.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}ce.fn.extend({show:function(){return re(this,!0)},hide:function(){return re(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ee(this)?ce(this).show():ce(this).hide()})}});var xe,be,we=/^(?:checkbox|radio)$/i,Te=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="<textarea>x</textarea>",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="<option></option>",le.option=!!xe.lastChild;var ke={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n<r;n++)_.set(e[n],"globalEval",!t||_.get(t[n],"globalEval"))}ke.tbody=ke.tfoot=ke.colgroup=ke.caption=ke.thead,ke.th=ke.td,le.option||(ke.optgroup=ke.option=[1,"<select multiple='multiple'>","</select>"]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))ce.merge(p,o.nodeType?[o]:o);else if(je.test(o)){a=a||f.appendChild(t.createElement("div")),s=(Te.exec(o)||["",""])[1].toLowerCase(),u=ke[s]||ke._default,a.innerHTML=u[1]+ce.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;ce.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<ce.inArray(o,r))i&&i.push(o);else if(l=K(o),a=Se(f.appendChild(o),"script"),l&&Ee(a),n){c=0;while(o=a[c++])Ce.test(o.type||"")&&n.push(o)}return f}var De=/^([^.]*)(?:\.(.+)|)/;function Ne(){return!0}function qe(){return!1}function Le(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Le(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=qe;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return ce().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=ce.guid++)),e.each(function(){ce.event.add(this,t,i,r,n)})}function He(e,r,t){t?(_.set(e,r,!1),ce.event.add(e,r,{namespace:!1,handler:function(e){var t,n=_.get(this,r);if(1&e.isTrigger&&this[r]){if(n)(ce.event.special[r]||{}).delegateType&&e.stopPropagation();else if(n=ae.call(arguments),_.set(this,r,n),this[r](),t=_.get(this,r),_.set(this,r,!1),n!==t)return e.stopImmediatePropagation(),e.preventDefault(),t}else n&&(_.set(this,r,ce.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ne)}})):void 0===_.get(e,r)&&ce.event.add(e,r,Ne)}ce.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.get(t);if($(t)){n.handler&&(n=(o=n).handler,i=o.selector),i&&ce.find.matchesSelector(J,i),n.guid||(n.guid=ce.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof ce&&ce.event.triggered!==e.type?ce.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(D)||[""]).length;while(l--)d=g=(s=De.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=ce.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=ce.event.special[d]||{},c=ce.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ce.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),ce.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.hasData(e)&&_.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(D)||[""]).length;while(l--)if(d=g=(s=De.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=ce.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||ce.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)ce.event.remove(e,d+t[l],n,r,!0);ce.isEmptyObject(u)&&_.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=ce.event.fix(e),l=(_.get(this,"events")||Object.create(null))[u.type]||[],c=ce.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=ce.event.handlers.call(this,u,l),t=0;while((i=a[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((ce.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<ce(i,this).index(l):ce.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(ce.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[ce.expando]?e:new ce.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click",!0),!1},trigger:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click"),!0},_default:function(e){var t=e.target;return we.test(t.type)&&t.click&&fe(t,"input")&&_.get(t,"click")||fe(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},ce.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},ce.Event=function(e,t){if(!(this instanceof ce.Event))return new ce.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ne:qe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&ce.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[ce.expando]=!0},ce.Event.prototype={constructor:ce.Event,isDefaultPrevented:qe,isPropagationStopped:qe,isImmediatePropagationStopped:qe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ne,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ne,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ne,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},ce.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},ce.event.addProp),ce.each({focus:"focusin",blur:"focusout"},function(r,i){function o(e){if(C.documentMode){var t=_.get(this,"handle"),n=ce.event.fix(e);
vendor: 6,944 bytes, line 22
22n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,t(e),n.target===n.currentTarget&&t(n)}else ce.event.simulate(i,e.target,ce.event.fix(e))}ce.event.special[r]={setup:function(){var e;if(He(this,r,!0),!C.documentMode)return!1;(e=_.get(this,i))||this.addEventListener(i,o),_.set(this,i,(e||0)+1)},trigger:function(){return He(this,r),!0},teardown:function(){var e;if(!C.documentMode)return!1;(e=_.get(this,i)-1)?_.set(this,i,e):(this.removeEventListener(i,o),_.remove(this,i))},_default:function(e){return _.get(e.target,r)},delegateType:i},ce.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i);n||(C.documentMode?this.addEventListener(i,o):e.addEventListener(r,o,!0)),_.set(t,i,(n||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i)-1;n?_.set(t,i,n):(C.documentMode?this.removeEventListener(i,o):e.removeEventListener(r,o,!0),_.remove(t,i))}}}),ce.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){ce.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||ce.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),ce.fn.extend({on:function(e,t,n,r){return Le(this,e,t,n,r)},one:function(e,t,n,r){return Le(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ce(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=qe),this.each(function(){ce.event.remove(this,e,n,t)})}});var Oe=/<script|<style|<link/i,Pe=/checked\s*(?:[^=]|=\s*.checked.)/i,Me=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)ce.event.add(t,i,s[i][n]);z.hasData(e)&&(o=z.access(e),a=ce.extend({},o),z.set(t,a))}}function $e(n,r,i,o){r=g(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=v(d);if(h||1<f&&"string"==typeof d&&!le.checkClone&&Pe.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),$e(t,r,i,o)});if(f&&(t=(e=Ae(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=ce.map(Se(e,"script"),Ie)).length;c<f;c++)u=e,c!==p&&(u=ce.clone(u,!0,!0),s&&ce.merge(a,Se(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,ce.map(a,We),c=0;c<s;c++)u=a[c],Ce.test(u.type||"")&&!_.access(u,"globalEval")&&ce.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?ce._evalUrl&&!u.noModule&&ce._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):m(u.textContent.replace(Me,""),u,l))}return n}function Be(e,t,n){for(var r,i=t?ce.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||ce.cleanData(Se(r)),r.parentNode&&(n&&K(r)&&Ee(Se(r,"script")),r.parentNode.removeChild(r));return e}ce.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=K(e);if(!(le.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ce.isXMLDoc(e)))for(a=Se(c),r=0,i=(o=Se(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&we.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||Se(e),a=a||Se(c),r=0,i=o.length;r<i;r++)Fe(o[r],a[r]);else Fe(e,c);return 0<(a=Se(c,"script")).length&&Ee(a,!f&&Se(e,"script")),c},cleanData:function(e){for(var t,n,r,i=ce.event.special,o=0;void 0!==(n=e[o]);o++)if($(n)){if(t=n[_.expando]){if(t.events)for(r in t.events)i[r]?ce.event.remove(n,r):ce.removeEvent(n,r,t.handle);n[_.expando]=void 0}n[z.expando]&&(n[z.expando]=void 0)}}}),ce.fn.extend({detach:function(e){return Be(this,e,!0)},remove:function(e){return Be(this,e)},text:function(e){return M(this,function(e){return void 0===e?ce.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return $e(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e)})},prepend:function(){return $e(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ce.cleanData(Se(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ce.clone(this,e,t)})},html:function(e){return M(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!ke[(Te.exec(e)||["",""])[1].toLowerCase()]){e=ce.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(ce.cleanData(Se(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return $e(this,arguments,function(e){var t=this.parentNode;ce.inArray(this,n)<0&&(ce.cleanData(Se(this)),t&&t.replaceChild(e,this))},n)}}),ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){ce.fn[e]=function(e){for(var t,n=[],r=ce(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),ce(r[o])[a](t),s.apply(n,t.get());return this.pushStack(n)}});var _e=new RegExp("^("+G+")(?!px)[a-z%]+$","i"),ze=/^--/,Xe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=ie),t.getComputedStyle(e)},Ue=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Ve=new RegExp(Q.join("|"),"i");function Ge(e,t,n){var r,i,o,a,s=ze.test(t),u=e.style;return(n=n||Xe(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(ve,"$1")||void 0),""!==a||K(e)||(a=ce.style(e,t)),!le.pixelBoxStyles()&&_e.test(a)&&Ve.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function Ye(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;
vendor: 25,800 bytes, line 22
22left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",J.appendChild(u).appendChild(l);var e=ie.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),J.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s,u=C.createElement("div"),l=C.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",le.clearCloneStyle="content-box"===l.style.backgroundClip,ce.extend(le,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=C.createElement("table"),t=C.createElement("tr"),n=C.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",J.appendChild(e).appendChild(t).appendChild(n),r=ie.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,J.removeChild(e)),a}}))}();var Qe=["Webkit","Moz","ms"],Je=C.createElement("div").style,Ke={};function Ze(e){var t=ce.cssProps[e]||Ke[e];return t||(e in Je?e:Ke[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=Qe.length;while(n--)if((e=Qe[n]+t)in Je)return e}(e)||e)}var et=/^(none|table(?!-c[ea]).+)/,tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"};function rt(e,t,n){var r=Y.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function it(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=ce.css(e,n+Q[a],!0,i)),r?("content"===n&&(u-=ce.css(e,"padding"+Q[a],!0,i)),"margin"!==n&&(u-=ce.css(e,"border"+Q[a]+"Width",!0,i))):(u+=ce.css(e,"padding"+Q[a],!0,i),"padding"!==n?u+=ce.css(e,"border"+Q[a]+"Width",!0,i):s+=ce.css(e,"border"+Q[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u+l}function ot(e,t,n){var r=Xe(e),i=(!le.boxSizingReliable()||n)&&"border-box"===ce.css(e,"boxSizing",!1,r),o=i,a=Ge(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(_e.test(a)){if(!n)return a;a="auto"}return(!le.boxSizingReliable()&&i||!le.reliableTrDimensions()&&fe(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===ce.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===ce.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+it(e,t,n||(i?"border":"content"),o,r,a)+"px"}function at(e,t,n,r,i){return new at.prototype.init(e,t,n,r,i)}ce.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ge(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=F(t),u=ze.test(t),l=e.style;if(u||(t=Ze(s)),a=ce.cssHooks[t]||ce.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=Y.exec(n))&&i[1]&&(n=te(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(ce.cssNumber[s]?"":"px")),le.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=F(t);return ze.test(t)||(t=Ze(s)),(a=ce.cssHooks[t]||ce.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ge(e,t,r)),"normal"===i&&t in nt&&(i=nt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),ce.each(["height","width"],function(e,u){ce.cssHooks[u]={get:function(e,t,n){if(t)return!et.test(ce.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ot(e,u,n):Ue(e,tt,function(){return ot(e,u,n)})},set:function(e,t,n){var r,i=Xe(e),o=!le.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===ce.css(e,"boxSizing",!1,i),s=n?it(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-it(e,u,"border",!1,i)-.5)),s&&(r=Y.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=ce.css(e,u)),rt(0,t,s)}}}),ce.cssHooks.marginLeft=Ye(le.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ge(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),ce.each({margin:"",padding:"",border:"Width"},function(i,o){ce.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+Q[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(ce.cssHooks[i+o].set=rt)}),ce.fn.extend({css:function(e,t){return M(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Xe(e),i=t.length;a<i;a++)o[t[a]]=ce.css(e,t[a],!1,r);return o}return void 0!==n?ce.style(e,t,n):ce.css(e,t)},e,t,1<arguments.length)}}),((ce.Tween=at).prototype={constructor:at,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||ce.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(ce.cssNumber[n]?"":"px")},cur:function(){var e=at.propHooks[this.prop];return e&&e.get?e.get(this):at.propHooks._default.get(this)},run:function(e){var t,n=at.propHooks[this.prop];return this.options.duration?this.pos=t=ce.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):at.propHooks._default.set(this),this}}).init.prototype=at.prototype,(at.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ce.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){ce.fx.step[e.prop]?ce.fx.step[e.prop](e):1!==e.elem.nodeType||!ce.cssHooks[e.prop]&&null==e.elem.style[Ze(e.prop)]?e.elem[e.prop]=e.now:ce.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=at.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ce.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ce.fx=at.prototype.init,ce.fx.step={};var st,ut,lt,ct,ft=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function dt(){ut&&(!1===C.hidden&&ie.requestAnimationFrame?ie.requestAnimationFrame(dt):ie.setTimeout(dt,ce.fx.interval),ce.fx.tick())}function ht(){return ie.setTimeout(function(){st=void 0}),st=Date.now()}function gt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=Q[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function vt(e,t,n){for(var r,i=(yt.tweeners[t]||[]).concat(yt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function yt(o,e,t){var n,a,r=0,i=yt.prefilters.length,s=ce.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=st||ht(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:ce.extend({},e),opts:ce.extend(!0,{specialEasing:{},easing:ce.easing._default},t),originalProperties:e,originalOptions:t,startTime:st||ht(),duration:t.duration,tweens:[],createTween:function(e,t){var n=ce.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=F(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=ce.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=yt.prefilters[r].call(l,o,c,l.opts))return v(n.stop)&&(ce._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return ce.map(c,vt,l),v(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),ce.fx.timer(ce.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}ce.Animation=ce.extend(yt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return te(n.elem,e,Y.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(D);for(var n,r=0,i=e.length;r<i;r++)n=e[r],yt.tweeners[n]=yt.tweeners[n]||[],yt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ee(e),v=_.get(e,"fxshow");for(r in n.queue||(null==(a=ce._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,ce.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],ft.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||ce.style(e,r)}if((u=!ce.isEmptyObject(t))||!ce.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=_.get(e,"display")),"none"===(c=ce.css(e,"display"))&&(l?c=l:(re([e],!0),l=e.style.display||l,c=ce.css(e,"display"),re([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===ce.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=_.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&re([e],!0),p.done(function(){for(r in g||re([e]),_.remove(e,"fxshow"),d)ce.style(e,r,d[r])})),u=vt(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?yt.prefilters.unshift(e):yt.prefilters.push(e)}}),ce.speed=function(e,t,n){var r=e&&"object"==typeof e?ce.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return ce.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in ce.fx.speeds?r.duration=ce.fx.speeds[r.duration]:r.duration=ce.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&ce.dequeue(this,r.queue)},r},ce.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ee).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=ce.isEmptyObject(t),o=ce.speed(e,n,r),a=function(){var e=yt(this,ce.extend({},t),o);(i||_.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=ce.timers,r=_.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&pt.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||ce.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=_.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=ce.timers,o=n?n.length:0;for(t.finish=!0,ce.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),ce.each(["toggle","show","hide"],function(e,r){var i=ce.fn[r];ce.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(gt(r,!0),e,t,n)}}),ce.each({slideDown:gt("show"),slideUp:gt("hide"),slideToggle:gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){ce.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),ce.timers=[],ce.fx.tick=function(){var e,t=0,n=ce.timers;for(st=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||ce.fx.stop(),st=void 0},ce.fx.timer=function(e){ce.timers.push(e),ce.fx.start()},ce.fx.interval=13,ce.fx.start=function(){ut||(ut=!0,dt())},ce.fx.stop=function(){ut=null},ce.fx.speeds={slow:600,fast:200,_default:400},ce.fn.delay=function(r,e){return r=ce.fx&&ce.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=ie.setTimeout(e,r);t.stop=function(){ie.clearTimeout(n)}})},lt=C.createElement("input"),ct=C.createElement("select").appendChild(C.createElement("option")),lt.type="checkbox",le.checkOn=""!==lt.value,le.optSelected=ct.selected,(lt=C.createElement("input")).value="t",lt.type="radio",le.radioValue="t"===lt.value;var mt,xt=ce.expr.attrHandle;ce.fn.extend({attr:function(e,t){return M(this,ce.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){ce.removeAttr(this,e)})}}),ce.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?ce.prop(e,t,n):(1===o&&ce.isXMLDoc(e)||(i=ce.attrHooks[t.toLowerCase()]||(ce.expr.match.bool.test(t)?mt:void 0)),void 0!==n?null===n?void ce.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=ce.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!le.radioValue&&"radio"===t&&fe(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(D);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),mt={set:function(e,t,n){return!1===t?ce.removeAttr(e,n):e.setAttribute(n,n),n}},ce.each(ce.expr.match.bool.source.match(/\w+/g),function(e,t){var a=xt[t]||ce.find.attr;xt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=xt[o],xt[o]=r,r=null!=a(e,t,n)?o:null,xt[o]=i),r}});var bt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;function Tt(e){return(e.match(D)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(D)||[]}ce.fn.extend({prop:function(e,t){return M(this,ce.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[ce.propFix[e]||e]})}}),ce.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ce.isXMLDoc(e)||(t=ce.propFix[t]||t,i=ce.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=ce.find.attr(e,"tabindex");return t?parseInt(t,10):bt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),le.optSelected||(ce.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ce.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ce.propFix[this.toLowerCase()]=this}),ce.fn.extend({addClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).addClass(t.call(this,e,Ct(this)))}):(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++)i=e[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this},removeClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).removeClass(t.call(this,e,Ct(this)))}):arguments.length?(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++){i=e[o];while(-1<n.indexOf(" "+i+" "))n=n.replace(" "+i+" "," ")}a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(t,n){var e,r,i,o,a=typeof t,s="string"===a||Array.isArray(t);return v(t)?this.each(function(e){ce(this).toggleClass(t.call(this,e,Ct(this),n),n)}):"boolean"==typeof n&&s?n?this.addClass(t):this.removeClass(t):(e=kt(t),this.each(function(){if(s)for(o=ce(this),i=0;i<e.length;i++)r=e[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==t&&"boolean"!==a||((r=Ct(this))&&_.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===t?"":_.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+Tt(Ct(n))+" ").indexOf(t))return!0;return!1}});var St=/\r/g;ce.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=v(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,ce(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=ce.map(t,function(e){return null==e?"":e+""})),(r=ce.valHooks[this.type]||ce.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=ce.valHooks[t.type]||ce.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(St,""):null==e?"":e:void 0}}),ce.extend({valHooks:{option:{get:function(e){var t=ce.find.attr(e,"value");return null!=t?t:Tt(ce.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!fe(n.parentNode,"optgroup"))){if(t=ce(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=ce.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<ce.inArray(ce.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),ce.each(["radio","checkbox"],function(){ce.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<ce.inArray(ce(e).val(),t)}},le.checkOn||(ce.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Et=ie.location,jt={guid:Date.now()},At=/\?/;ce.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new ie.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||ce.error("Invalid XML: "+(n?ce.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Dt=/^(?:focusinfocus|focusoutblur)$/,Nt=function(e){e.stopPropagation()};ce.extend(ce.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||C],d=ue.call(e,"type")?e.type:e,h=ue.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||C,3!==n.nodeType&&8!==n.nodeType&&!Dt.test(d+ce.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[ce.expando]?e:new ce.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:ce.makeArray(t,[e]),c=ce.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!y(n)){for(s=c.delegateType||d,Dt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||C)&&p.push(a.defaultView||a.parentWindow||ie)}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(_.get(o,"events")||Object.create(null))[e.type]&&_.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&$(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!$(n)||u&&v(n[d])&&!y(n)&&((a=n[u])&&(n[u]=null),ce.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,Nt),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,Nt),ce.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=ce.extend(new ce.Event,n,{type:e,isSimulated:!0});ce.event.trigger(r,null,t)}}),ce.fn.extend({trigger:function(e,t){return this.each(function(){ce.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ce.event.trigger(e,t,n,!0)}});var qt=/\[\]$/,Lt=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function Pt(n,e,r,i){var t;if(Array.isArray(e))ce.each(e,function(e,t){r||qt.test(n)?i(n,t):Pt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==x(e))i(n,e);else for(t in e)Pt(n+"["+t+"]",e[t],r,i)}ce.param=function(e,t){var n,r=[],i=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!ce.isPlainObject(e))ce.each(e,function(){i(this.name,this.value)});else for(n in e)Pt(n,e[n],t,i);return r.join("&")},ce.fn.extend({serialize:function(){return ce.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ce.prop(this,"elements");return e?ce.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ce(this).is(":disabled")&&Ot.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!we.test(e))}).map(function(e,t){var n=ce(this).val();return null==n?null:Array.isArray(n)?ce.map(n,function(e){return{name:t.name,value:e.replace(Lt,"\r\n")}}):{name:t.name,value:n.replace(Lt,"\r\n")}}).get()}});var Mt=/%20/g,Rt=/#.*$/,It=/([?&])_=[^&]*/,Wt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,$t=/^\/\//,Bt={},_t={},zt="*/".concat("*"),Xt=C.createElement("a");function Ut(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(D)||[];if(v(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Vt(t,i,o,a){var s={},u=t===_t;function l(e){var r;return s[e]=!0,ce.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function Gt(e,t){var n,r,i=ce.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&ce.extend(!0,e,r),e}Xt.href=Et.href,ce.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":ce.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Gt(Gt(e,ce.ajaxSettings),t):Gt(ce.ajaxSettings,e)},ajaxPrefilter:Ut(Bt),ajaxTransport:Ut(_t),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,v=ce.ajaxSetup({},t),y=v.context||v,m=v.context&&(y.nodeType||y.jquery)?ce(y):ce.event,x=ce.Deferred(),b=ce.Callbacks("once memory"),w=v.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=Wt.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this}};if(x.promise(T),v.url=((e||v.url||Et.href)+"").replace($t,Et.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(D)||[""],null==v.crossDomain){r=C.createElement("a");try{r.href=v.url,r.href=r.href,v.crossDomain=Xt.protocol+"//"+Xt.host!=r.protocol+"//"+r.host}catch(e){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=ce.param(v.data,v.traditional)),Vt(Bt,v,t,T),h)return T;for(i in(g=ce.event&&v.global)&&0==ce.active++&&ce.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Ft.test(v.type),f=v.url.replace(Rt,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(Mt,"+")):(o=v.url.slice(f.length),v.data&&(v.processData||"string"==typeof v.data)&&(f+=(At.test(f)?"&":"?")+v.data,delete v.data),!1===v.cache&&(f=f.replace(It,"$1"),o=(At.test(f)?"&":"?")+"_="+jt.guid+++o),v.url=f+o),v.ifModified&&(ce.lastModified[f]&&T.setRequestHeader("If-Modified-Since",ce.lastModified[f]),ce.etag[f]&&T.setRequestHeader("If-None-Match",ce.etag[f])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&T.setRequestHeader("Content-Type",v.contentType),T.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+zt+"; q=0.01":""):v.accepts["*"]),v.headers)T.setRequestHeader(i,v.headers[i]);
vendor: 11,581 bytes, line 22
22if(v.beforeSend&&(!1===v.beforeSend.call(y,T,v)||h))return T.abort();if(u="abort",b.add(v.complete),T.done(v.success),T.fail(v.error),c=Vt(_t,v,t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,v]),h)return T;v.async&&0<v.timeout&&(d=ie.setTimeout(function(){T.abort("timeout")},v.timeout));try{h=!1,c.send(a,l)}catch(e){if(h)throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&&ie.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(v,T,n)),!i&&-1<ce.inArray("script",v.dataTypes)&&ce.inArray("json",v.dataTypes)<0&&(v.converters["text script"]=function(){}),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(ce.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(ce.etag[f]=u)),204===e||"HEAD"===v.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(y,[o,l,T]):x.rejectWith(y,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,v,i?o:a]),b.fireWith(y,[T,l]),g&&(m.trigger("ajaxComplete",[T,v]),--ce.active||ce.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return ce.get(e,t,n,"json")},getScript:function(e,t){return ce.get(e,void 0,t,"script")}}),ce.each(["get","post"],function(e,i){ce[i]=function(e,t,n,r){return v(t)&&(r=r||n,n=t,t=void 0),ce.ajax(ce.extend({url:e,type:i,dataType:r,data:t,success:n},ce.isPlainObject(e)&&e))}}),ce.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),ce._evalUrl=function(e,t,n){return ce.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){ce.globalEval(e,t,n)}})},ce.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=ce(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return v(n)?this.each(function(e){ce(this).wrapInner(n.call(this,e))}):this.each(function(){var e=ce(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=v(t);return this.each(function(e){ce(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){ce(this).replaceWith(this.childNodes)}),this}}),ce.expr.pseudos.hidden=function(e){return!ce.expr.pseudos.visible(e)},ce.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},ce.ajaxSettings.xhr=function(){try{return new ie.XMLHttpRequest}catch(e){}};var Yt={0:200,1223:204},Qt=ce.ajaxSettings.xhr();le.cors=!!Qt&&"withCredentials"in Qt,le.ajax=Qt=!!Qt,ce.ajaxTransport(function(i){var o,a;if(le.cors||Qt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Yt[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&ie.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),ce.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),ce.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ce.globalEval(e),e}}}),ce.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ce.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=ce("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=Tt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&ce.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?ce("<div>").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var en=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;ce.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=ae.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(ae.call(arguments)))}).guid=e.guid=e.guid||ce.guid++,i},ce.holdReady=function(e){e?ce.readyWait++:ce.ready(!0)},ce.isArray=Array.isArray,ce.parseJSON=JSON.parse,ce.nodeName=fe,ce.isFunction=v,ce.isWindow=y,ce.camelCase=F,ce.type=x,ce.now=Date.now,ce.isNumeric=function(e){var t=ce.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},ce.trim=function(e){return null==e?"":(e+"").replace(en,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return ce});var tn=ie.jQuery,nn=ie.$;return ce.noConflict=function(e){return ie.$===ce&&(ie.$=nn),e&&ie.jQuery===ce&&(ie.jQuery=tn),ce},"undefined"==typeof e&&(ie.jQuery=ie.$=ce),ce});
23 24function CookieManager(){this.set=function(c_name,value,exdays,path){var reqExp=new RegExp(c_name+"=([^;]*);","g");var matches=document.cookie.match(reqExp);if(matches&&matches.length>1){if((c_name+'=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path='+document.location.pathname).length<8000){document.cookie=c_name+'=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path='+document.location.pathname;}} 25var exdate=new Date();exdate.setDate(exdate.getDate()+parseInt(exdays));var c_value=escape(value)+(((exdays==null)?"":"; expires="+exdate.toUTCString())+((path)?"; path="+path:""));if((c_name+"="+c_value).length<8000){document.cookie=c_name+"="+c_value;}} 26this.get=function(c_name){var c_value=document.cookie;var c_start=c_value.indexOf(" "+c_name+"=");if(c_start==-1){c_start=c_value.indexOf(c_name+"=");} 27if(c_start==-1){c_value=null;}else{c_start=c_value.indexOf("=",c_start)+1;var c_end=c_value.indexOf(";",c_start);if(c_end==-1) 28{c_end=c_value.length;} 29c_value=unescape(c_value.substring(c_start,c_end));} 30return c_value;} 31this.getPageVisitNum=function(){return Math.max(this.get(cookieIndex),this.getLocalStorage(cookieIndex),0
31);} 32this.incrPageVisitNum=function(forceIncr){var today=new Date();var actDate=today.getFullYear()+"-"+(today.getMonth()+1)+"-"+today.getDate();var c=this.getPageVisitNum();if(this.get(cookieIndex+'_act')!=actDate||forceIncr){this.set(cookieIndex+'_act',actDate,365,'/');this.set(cookieIndex,parseInt(c)+1,365,'/');this.setLocalStorage(cookieIndex,parseInt(c)+1);if(parseInt(c)+1>20&&document.location.href.indexOf("gclid=")>-1){GaTrackI.ga("my_return_visitor");}}} 33this.getSessionStorage=function(name){try{return sessionStorage.getItem(name);}catch(e){return false;}} 34this.setSessionStorage=function(name,value){try{sessionStorage.setItem(name,value);}catch(e){}} 35this.getLocalStorage=function(name){try{return localStorage.getItem(name);}catch(e){return false;}} 36this.setLocalStorage=function(name,value){try{localStorage.setItem(name,value);}catch(e){}} 37this.setDelayedData=function(){if(typeof(UserViewRadiosI)!="undefined"){UserViewRadiosI.trackStap();} 38this.incrPageVisitNum();}} 39var CookieManagerI=new CookieManager();if(document.getElementsByTagName("body").length){var cookieIndex=document.getElementsByTagName("body")[0].getAttribute("data-cookiec")||"";} 40var NoSocial=CookieManagerI.getPageVisitNum()<2?true:false;function isMobile(){if(navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/BlackBerry/i)||navigator.userAgent.match(/Windows Phone/i)){return true;}else{return false;}} 41var BASE_URL=document.location.protocol+'//'+document.location.host;function LoadScriptIfNeed(){var self=this;this.jsStack=new Array();this.cssStack=new Array();this.injected=new Array();this.scriptLoaded=new Array();this.loadIfVisibleElements=new Array();this.actJSVersion=1;this.loadIfVisibleTimer=null;this.loadedPExtras=false;this.appendJSRun=false;this.callback=[];this.errorFindStack={'done':new Array(),'fail':new Array()};var baseUrl=$('.js-radioplayerData').data('host')||$('.song-list-cont').data('host')||BASE_URL||$('base').attr('href');this.init=function(){if(document.getElementById("myMiniJs")){this.actJSVersion=document.getElementById("myMiniJs").getAttribute("src").match(/jsv(\d*)/)[1];} 42this.loadBottomCss();this.loadPrettyPhoto();this.loadCSVGenerator();this.loadHiddenCaptcha();this.loadSchedule();this.loadPartnerFormScript();this.loadEmbedScript();this.loadGMapsScript();this.loadWebcamPScript();this.loadStreamDebugScript();this.loadTooltip();this.loadStayHereMoti();this.loadRadioStat();this.loadLikeUp();this.loadLiveUserCounter();this.loadFirebaseAuth();this.loadLazyPageLoad();this.callback.push(this.loadMyPodcastPlayer());this.callback.push(this.loadClippy());this.appendCSS();this.appendJS();this.loadIfVisible();if($('.webcamCont[data-live="1"]').length){this.loadLiveVideoNotification(function(){});} 43if($('.schedule-form, .songlist-filter').length&&document.referrer.match(/(yahoo\.|google\.|bing\.|duckduckgo\.)/)!=null){this.loadStayHereMoti(true);GaTrackI.ga('catched-suser',document.referrer);} 44if(typeof(UtilsI)!="undefined"){UtilsI.initFocusListener(function(){if(!$('#smartbanner').length){self.appendJS(self.loadSmartBanner());self.appendCSS();}});}} 45this.loadBottomCss=function(){if($("link[href*='site-bottom.mini.css'][rel='preload']").length){$("link[href*='site-bottom.mini.css'][rel='preload']").attr("rel","stylesheet");}else if($("link[href*='site-bottom-'][rel='preload']").length){$("link[href*='site-bottom-'][rel='preload']").attr("rel","stylesheet");}} 46this.loadLazyPageLoad=function(){if($('.js-isAdmin').length){}} 47this.loadEQForm=function(audio){if(!$('#myeq-panel:visible').length){$('.fa-equalizer').css('color','#2f94e8');$('.server-conts').hide();if(typeof(MyEqBuilderI)!=="undefined"){$('#myeq-panel').show();}else{$('.fa-equalizer').css('color','#2f94e8');if(typeof(MyEqualizerI)=="undefined"){self.jsStack.push('jquery.my-equalizer.js');} 48self.cssStack.push('equalizer.css');self.jsStack.push('jquery.my-eq-builder.js');console.log('MyEqualizerI',typeof(MyEqualizerI));self.appendCSS();
48self.appendJS(function(){MyEqualizerI.init(audio);MyEqBuilderI.init(MyEqualizerI);$('#myeq-panel').show();});}}else{$('.fa-equalizer').css('color','white');$('#myeq-panel').hide();$('.server-conts').show();}} 49this.loadEQScript=function(audio){self.jsStack.push('jquery.my-equalizer.js');self.appendJS(function(){MyEqualizerI.init(audio);});} 50this.loadClippy=function(force){if(window.innerWidth<768){return function(){};} 51if(force||(!CookieManagerI.get('clippyoff')&&!NoSocial&&CookieManagerI.get(cookieIndex)%9==0&&$('.mRadioPlayer').length)){this.cssStack.push('clippy.css');this.jsStack.push('clippy.js');this.jsStack.push('jquery.my-clippy.js');if(force){this.appendCSS();this.appendJS(function(){if(typeof(MyClippy)!="undefined"){MyClippyI=new MyClippy();MyClippyI.runErrorProgram();}});}else{return function(){if(typeof(MyClippy)!="undefined"){MyClippyI=new MyClippy();MyClippyI.init();}}}}else{return function(){};}} 52this.loadEmbedScript=function(){if($('.embed-part').length){this.cssStack.push('embed-radio-page.css');this.jsStack.push('jquery.embed-page.js');}}
53this.loadOneSignal=function(callback){this.jsStack.push('https://cdn.onesignal.com/sdks/OneSignalSDK.js');this.appendJS(callback);} 54this.loadFirebaseMsg=function(callback){this.jsStack.push('jquery.subscribe-msg-firebase.js');this.appendJS(callback);} 55this.loadFirebaseAuth=function(){if(CookieManagerI.get('mor-token')){this.loadFirebaseSources(function(){setTimeout(function(){UserLoginI.loadModules();if(document.location.hash=="#open-subcription-layer"){SubscriptionI.openPackagesLayer();}},1500);});}else if($('.js-userLoginBtn').length){$('body').on('click','.js-userLoginBtn',function(e){e.preventDefault();if(document.location.href.indexOf('https://')===-1){document.location.href=$("base").attr('href')+"#open-login-layer";return;} 56self.loadFirebaseSources(function(){UserLoginI.openLoginLayer();});});if(document.location.hash=="#open-login-layer"){$('.js-userLoginBtn').click();} 57if(document.location.hash=="#open-subcription-layer"){self.loadFirebaseSources(function(){UserLoginI.openLoginLayer(true);});}}} 58this.loadFirebaseSources=function(callback){self.cssStack.push('user-login.css');self.jsStack.push('jquery.user-login.js');if(callback){self.appendJS(callback);self.appendCSS();}} 59this.loadSocketIO=function(callback){var sFile="socket.io.slim.js";if(MyConfigI.get('socketV')>2){sFile="socket.io."+MyConfigI.get('socketV')+".slim.js";} 60this.jsStack.push(sFile);this.appendJS(callback);} 61this.loadLiveUserCounter=function(){return;var url=($('.mRadioPlayer').length?$('.mRadioPlayer').data('url'):'');if(!CookieManagerI.get('luc')||(CookieManagerI.get('luc').indexOf(url)!==0&&CookieManagerI.get('luc')!="-")){return;} 62this.jsStack.push("jquery.live-user-counter.js");} 63this.loadFileSaver=function(callback){this.jsStack.push("file-saver.js");this.appendJS(function(){});} 64this.loadLiveVideoNotification=function(callback){this.jsStack.push('jquery.notification.js');this.appendJS(callback);} 65this.loadPrettyPhoto=function(){if($("a[data-rel='prettyPhoto']").length){this.cssStack.push('prettyPhoto.css');this.jsStack.push('jquery.prettyPhoto.mini.js');}} 66this.loadCSVGenerator=function(){if($(".export-to-csv").length){this.jsStack.push('jquery.csv-generator.js');}} 67this.loadPartnerFormScript=function(){if(!$('.js-formHelper').length){return;} 68this.jsStack.push('jquery.form-helper.js');} 69this.loadHiddenCaptcha=function(){if($('.g-recaptcha').length){this.jsStack.push('jquery.hidden-captcha.js');}} 70this.loadSchedule=function(){if($(".schedule-cont").length){this.jsStack.push('jquery.schedule.js');}} 71this.loadAlbumCoverSliderALyrics=function(callback){if(this.loadedPExtras||typeof(LoadActRadioDataCoreI)=="undefined"){return;} 72this.loadedPExtras=true;
72LoadActRadioDataCoreI.allowSetCover();if($(".js-isAdmin").length){this.jsStack.push('jquery.album-cover-slider.js');this.jsStack.push('jquery.love-hate.js');}else{this.jsStack.push('audioplayerextr-v2.min.js');} 73this.appendJS(function(){var mdelay=1;if(typeof(AudioplayerExtrasI)=="undefined"||typeof(AlbumCoverSliderI)=="undefined"){mdelay=1000;} 74setTimeout(function(){if(typeof(AudioplayerExtrasI)=="undefined"||typeof(AlbumCoverSliderI)=="undefined"){setTimeout(function(){AlbumCoverSliderI.init();callback();},5000);}else{AlbumCoverSliderI.init();callback();}},mdelay);});} 75this.loadStreamDebugScript=function(){if($(".debug-fullw").length){this.jsStack.push('jquery.stream-debug.js');}} 76this.loadGMapsScript=function(){if($(".gmaps").length){$('.gmaps, .freq-cell').click(function(elem){if(typeof(GMapsI)=="undefined"){$('.gmaps img').fadeOut();if($(event.currentTarget).hasClass('freq-cell')){$(event.currentTarget).addClass('fire-aload');GaTrackI.ga('gmapsload1');}else{GaTrackI.ga('gmapsload2');} 77self.jsStack.push('jquery.gmaps.js');self.jsStack.push('https://maps.googleapis.com/maps/api/js?v=3.53&key=AIzaSyBICasXsgGL2aQjgstuaMF_2sx-jtaeWGU');self.appendJS(function(){initMap();});}});}} 78this.loadWebcamPScript=function(){if($(".webcamp").length){this.jsStack.push('jquery.webcam-page.js');}} 79this.loadWebcamActSong=function(){this.jsStack.push('jquery.act-song.js');} 80this.loadRadioStat=function(){if($(".js-diagram").length){self.jsStack.push('jquery.radiostat.js');}} 81this.loadStayHereMoti=function(now){setTimeout(function(){self.jsStack.push('jquery.stay-here-moti.js');self.appendJS(function(){});},now==true?0:120000);} 82this.loadTooltip=function(){if(!isMobile()){this.jsStack.push('jquery.tooltip.js');}} 83this.loadCCastScript=function(callback){this.jsStack.push('//www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1');self.appendJS(callback);} 84this.loadMyPodcastPlayer=function(noInit){if($('.js-myPodcastPlayer').length){self.cssStack.push("podcast-player.css");self.jsStack.push('podcast-player.js');if(noInit==true){self.appendCSS();self.appendJS(self.myPodcastPlayerCallback);}else{return self.myPodcastPlayerCallback;}}else{return function(){};}} 85this.myPodcastPlayerCallback=function(){var time=typeof($.fn.audioPlayer)=="undefined"?100:0;setTimeout(function(){$('.js-myPodcastPlayer audio').audioPlayer();},time);} 86this.loadLikeUp=function(callback){if(callback){self.jsStack.push('jquery.like-up.js');self.appendJS(callback);}else{var c=CookieManagerI.getPageVisitNum();if(c==10||(c>1&&c%30==0)){self.jsStack.push('jquery.like-up.js');}}} 87this.loadSmartBanner=function(){if((navigator.userAgent.match(/Android|iPhone|iPod|iPad/i)!==null)&&!$('.is-app').length&&!$('.embed').length&&!NoSocial&&!CookieManagerI.get('sb-closed')&&!CookieManagerI.get('sb-installed')){if(navigator.vendor&&navigator.vendor.indexOf('Apple')>-1&&navigator.userAgent&&navigator.userAgent.indexOf('CriOS')==-1&&navigator.userAgent.indexOf('FxiOS')==-1){return function(){};} 88this.cssStack.push("jquery.smartbanner.css");this.jsStack.push("jquery.smartbanner.js");return function(){if(navigator.userAgent.indexOf('Android')!=-1){$.smartbanner({title:$(".social a[href*='play.google']").attr('title'),author:document.location.host});}else{$.smartbanner({title:$(".social a[href*='apple']").attr('title'),author:document.location.host});} 89if(typeof($.smartbanner)!="function"){ConsoleDebuggerI.pushMsg("SBANNER NOT FUNC "+"#important");}else{setTimeout(function(){$('#smartbanner .sb-close').click();},900000);} 90GaTrackI.ga('smart-bnr-show',navigator.userAgent.indexOf('Android')!=-1?'Droid':'Ios');};} 91return function(){};} 92this.loadJqueryUI=function(callback){this.jsStack.push("jquery-ui.1.13.2.min.js");this.cssStack.push("jquery-ui.min.css");this.appendCSS();this.appendJS(callback);} 93this.loadJqueryUITimePicker=function(callback){this.jsStack.push("jquery-ui.1.13.2.min.js");this.cssStack.push("jquery-ui.min.css");this.cssStack.push("jquery-ui-timepicker-addon.css");this.appendCSS();this.appendJS(callback);} 94this.appendJS=function(callback,loadNext){if(typeof(callback)=="function"){this.callback.push(callback);} 95if(!loadNext&&this.appendJSRun){return;} 96this.appendJSRun=true;if(!this.jsStack.length){self.runCallback(this.callback);this.appendJSRun=false;return;} 97var fileName=this.jsStack.shift();if(fileName.indexOf('//')==-1){var path=baseUrl+'/public/js'+($('.js-isAdmin').length?'/':'v'+this.actJSVersion+'/')+fileName;}else{var path=fileName;} 98if(this.injected.indexOf(path)===-1){this.injected.push(path);self.getScript(path,function(){self.appendJS(false,true);});}else{self.appendJS(false,true);}} 99this.runCallback=function(callback){if(Array.isArray(callback)){while(callback.length){var func=callback.shift();if(typeof(func)!="undefined"){try{func();}catch(e){console.log(e);ConsoleDebuggerI.pushMsg(e.toString());}}}}else{try{callback();}catch(e){console.log(e);ConsoleDebuggerI.pushMsg(e.toString());}}} 100this.appendCSS=function(){var max=this.cssStack.length;for(var i=0;i<max;i++){var file=this.cssStack.shift();var path=baseUrl+'/public/css'+($('.js-isAdmin').length?'/':'v'+this.actJSVersion+'/')+file;if(file.indexOf('//')!=-1){var path=file;} 101if(this.injected.indexOf(path)===-1){this.injected.push(path);
101$('body').append('<link rel="stylesheet" href="'+path+'" type="text/css" media="screen">');}}} 102this.getScript=function(src,success){if(!document.querySelectorAll("script[src='"+src+"']").length){$.ajaxSetup({cache:true});$.getScript(src).done(function(){self.errorFindStack['done'].push(src+" - "+new Date().toISOString().slice(0,19).replace('T',' '));success();}).fail(function(jqxhr,settings,exception){if(self.injected[self.injected.length-1]==src){self.injected.pop();} 103var srcInfo=src.split("/");GaTrackI.ga("gtScrpt_"+(AddAdsV2I.hasAdblock()?"1":"0")+"-"+srcInfo[srcInfo.length-1],src.replace(BASE_URL+'/public/',''),"exception: "+exception);self.errorFindStack['fail'].push(src+" - "+jqxhr.status+" - "+new Date().toISOString().slice(0,19).replace('T',' '));});}} 104this.loadIfVisible=function(){$(window).scroll(function(){clearTimeout(self.loadIfVisibleTimer);self.loadIfVisibleTimer=setTimeout(function(){self.checkVisibility();},100);});self.checkVisibility();} 105this.checkVisibility=function(){if(jQuery.isEmptyObject(self.loadIfVisibleElements)){return;} 106var wT=$(window).scrollTop();var wH=$(window).innerHeight();var limitPadding=isMobile()?0:100;for(i in self.loadIfVisibleElements){$elem=$(i);if($elem.length&&($elem.offset().top<wT+wH+limitPadding)){self.loadIfVisibleElements[i]();delete(self.loadIfVisibleElements[i]);}}} 107this.init();} 108var LoadScriptIfNeedI;$(document).ready(function(){LoadScriptIfNeedI=new LoadScriptIfNeed();}); 109var LOADMSCRIPT=0;function AddAdsV2(){var self=this;var addBlockVar=false;var preventAdShow=false;var admInject=0;var isGSearch=document.referrer&&document.referrer.indexOf("google.")>-1&&document.location.href.indexOf("gclid=")>-1;this.addBlock=false;this.advCodeAutoSize='\ 110 <!-- radio_auto -->\ 111 <ins class="adsbygoogle"\ 112 style="display:block"\ 113 data-ad-client="ca-pub-2615368671841163"\ 114 data-ad-slot="ADSLOT"\ 115 data-ad-format="auto"\ 116 data-full-width-responsive="true"></ins>\ 117 <script class="adsscript">\ 118 (adsbygoogle = window.adsbygoogle || []).push({});\ 119 </script>';this.advCodeFixSize='\ 120 <!-- WXX_HXX -->\ 121 <ins class="adsbygoogle"\ 122 style="display:inline-block"\ 123 data-ad-client="ca-pub-2615368671841163"\ 124 data-ad-slot="ADSLOT"></ins>\ 125 <script>\ 126 (adsbygoogle = window.adsbygoogle || []).push({});\ 127 </script>';this.adManagerCounter=0;this.checkAddBlockFire=false;this.showedAppBnr=false;this.placeholder='ukradiolive_com';this.insBnrV=0;this.ulock=false;this.activeViewTimer=null;this.listenActiveView={".bnr-300-250":"addRadioPage_RightCol300",".isMainPage ._horizontBannerWide":'addRadioPage_HorizontalWide',"#fields ._horizontBannerWide":'addRadioPage_HorizontalWide',".playlist ._horizontBannerWide":'addRadioPage_HorizontalWide',".isSubPage ._horizontBannerWide.top":'addRadioPage_HorizontalWide',".isSubPage ._horizontBannerWide.btm":'addRadioPage_HorizontalWide',".isSubPage ._horizontBanner:eq(0)":'addRadioPage_HorizontalV2',".isSubPage ._horizontBanner:eq(1)":'addRadioPage_HorizontalV2',};this.sites_google_ad_channel={};this.sites_google_ad_slot={};this.sites_admanager_slot={};this.leadCodes={};this.leadSticky={};this.vidvertCodes={};this.actLang=null;this.cookieM=CookieManagerI;this.preInitOK=false;this.initOk=false;this.firstLoad=null;var showBackupAds=document.location.host.indexOf('android.myonline')>-1||document.location.host.indexOf('radioplayer.')>-1;var disableAds=document.body.className.indexOf('disableAds')>-1;this.disableAdm=document.location.href.indexOf('http://')>-1;this.loadConfigIfNeed=function(){if(MyConfigI.get('adsns')&&Object.keys(this.sites_google_ad_slot).length===0){var cI=MyConfigI.get('adsns');this.sites_google_ad_slot=cI.sites_google_ad_slot;this.sites_google_ad_channel=cI.sites_google_ad_channel;if(this.disableAdm){this.sites_admanager_slot={};}else{this.sites_admanager_slot=cI.sites_admanager_slot||{};} 128this.leadCodes=cI.leadCodes;var now=new Date();var start=new Date(2026,8,23);var end=new Date(2026,9,1);if(LangI.actLang=="es"){start.setHours(start.getHours()-5);end.setHours(end.getHours()-5);} 129var isLaunchPeriod=now>=start&&now<end;if(LangI.actLang!="ro"&&isLaunchPeriod){this.leadSticky=cI.leadSticky;}else{this.leadSticky=cI.leadSticky;} 130this.vidvertCodes=cI.vidvert;}} 131this.pushMainScript=function(){this.loadConfigIfNeed();if(!self.sites_google_ad_slot){disableAds=true;}else if(userHasSubscription()){disableAds=true;}else if(MyConfigI.get("locale")=="en_GB"&&document.location.href.indexOf('/bbc-')>0){disableAds=true;} 132if(typeof(ENABLE_PAGE_LEVEL_ADS)!="undefined"||showBackupAds||disableAds){if(showBackupAds){$('.adsbygoogle').parent().remove();}else if(disableAds){$("body").addClass("disableAds");} 133CookieManagerI.setDelayedData();return;} 134try{var src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js";loadMainScript(src,1);if(typeof(ENABLE_PAGE_LEVEL_ADS)=="undefined"||ENABLE_PAGE_LEVEL_ADS!=true){if(typeof(MyCmpI)!="undefined"&&CookieManagerI.get('mycmp')!=null){var st=1;
134if(CookieManagerI.get('mycmp')>1){st=0;} 135(adsbygoogle=window.adsbygoogle||[]).requestNonPersonalizedAds=st;} 136var enb=true;if(window.innerWidth>1000&&(document.location.href==BASE_URL+"/"||rand(1,3)>2)){enb=false;GaTrackI.ga("enable_page_level_ads_0");} 137if(!isGSearch&&document.location.href.indexOf('planetradio-ie')==-1){(adsbygoogle=window.adsbygoogle||[]).push({google_ad_client:"ca-pub-2615368671841163",enable_page_level_ads:true});ENABLE_PAGE_LEVEL_ADS=true;}}}catch(e){if(typeof(ConsoleDebuggerI)!="undefined"){ConsoleDebuggerI.pushMsg("Add preInit err: "+e.toString()+" Loaded: "+adsbygoogle.loaded+" NewV: "+ENABLE_PAGE_LEVEL_ADS);}}} 138function loadMainScript(src,type){if(!document.querySelectorAll("script[src='"+src+"']").length){var script=document.createElement("script");script.src=src;script.defer=1;script.onerror=function(){console.log('ON ERRROR!');self.addBlock=true;addBlockVar=true;self.checkAddBlock();} 139script.onload=function(){LOADMSCRIPT+=type;self.checkAddBlock();if(src.indexOf("adsbygoogle.js")>-1){if(window.adsbygoogle){var str=(window.adsbygoogle.push).toString().replace(/\n| /g,"");if(str=="function(){}"){GaTrackI.ga('adblock_ublock');self.ulock=true;}}else{GaTrackI.ga('adblock_ublock_2');} 140setTimeout(function(){if(typeof(window.adsbygoogle)=="undefined"||typeof(window.adsbygoogle.requestNonPersonalizedAds)!=="undefined"){self.checkAddBlock(true);console.log('checkAddBlock1');}},1000);} 141self.checkTCF(src);} 142document.head.appendChild(script);} 143if(self.leadSticky){var pF=window.innerWidth<1000?"m":"d";if(LangI.actLang==="hu"){var leadTest={"d":[{"id":"CF_591KRO7R","zone":"myo_hu_sticky_desktop"},{"id":"CF_D68MCBB8","zone":"myo_hu_sticky_desktop_30s"}],"m":[{"id":"CF_6YD1BNDA","zone":"myo_hu_sticky_mobile"},{"id":"CF_XDPE2XGT","zone":"myo_hu_sticky_mobile_30s"}],};var lsCode=leadTest[pF][rand(0,1)];}else{var lsCode=self.leadSticky[pF];} 144self.leadSticky=false;$('body').append('<script id="'+lsCode['id']+'" type="text/javascript"></script>');!function(){var e=document.getElementById(lsCode['id']),t=document.createElement("script");t.async=!0,t.dataset.zone=lsCode['zone'],t.onerror=function(){addBlockVar=true;},t.src="//cfusion-internet.com/client-v2-1-0.js",e.parentNode.insertBefore(t,e),e.parentNode.removeChild(e)}();}} 145this.initialize=function(){if(disableAds){return;} 146this.initOk=true;this.actLang=LangI.actLang;this.firstLoad=$.now();this.placeholder=MyConfigI.get("defDomainFileName");self.addRadioPage_Top1();self.addArchivePage_Horizontal();self.addRadioPage_HorizontalWide();self.addAfterBreadcrumb();self.addArchiveBnr();self.resizeListener();self.bindScrollListener();setTimeout(function(){self.checkAllItemLoaded();},10000);self.logTopBannerSize();} 147this.addRadioPage_App=function(){self.addRadioPage_App_RUN();} 148this.addRadioPage_App_RUN=function(){if(this.showedAppBnr||disableAds){this.closeAppBanner();return;} 149this.showedAppBnr=true;AddAdsV2I.preInit();if(!this.actLang&&typeof(LangI)!="undefined"){this.initialize();} 150var info=this.getCenterBnrCode();var noHelper=info['noHelper'];var myframe=info['myframe'];setTimeout(function(){$('.js-appAdv').show();$('.cover-slider-cont').hide();if(self.showBackupAds||self.disableAds){RecommendI2=new Recommend();var appUrl=$('.androidli a').attr('href');if(!appUrl){appUrl='https://play.google.com/store/apps/details?id='+LangI.actLang+'.myonlineradio.onlineradioapplication';} 151RecommendI2.pushMobilBnr({'300_250':'300_250'},"300_250",'android',appUrl+"&referrer=start_with="+$('.html5Player').data('act-url'),$(".js-appAdv"));$('[itemprop="logo"]').remove();}else{self.setCloseAppBnr(myframe,noHelper);} 152setAddBlockMsg(1);self.checkActiveView();setTimeout(function(){self.checkAllItemLoaded();},4000);},self.hasAdblock()?2000:0);} 153this.getCenterBnrCode=function(){var tClass='';var noHelper=false;var showEfiMoti=(LangI.actLang=="hu"&&rand(1,3)==3?false:false);if(showEfiMoti){if(typeof(RecommendI)=="undefined"){RecommendI=new Recommend();}} 154var myframe=this.getADCode('desktop_300_250','desktop_300_250','300_250');if(this.sites_admanager_slot['desktop_300_250']){if(showEfiMoti){myframe=RecommendI.getSubscriptPromo('300x250');}else{myframe=this.getADMCode('desktop_300_250',true);myframe="<div class='div-adsns-ad "+tClass+"'>"+myframe+"</div>";}} 155if(window.innerWidth<=480||$('.is-app').length){if(window.innerWidth<360){myframe=this.getADCode('200_200_mobil','200_200_mobil','200_200');}else if(!this.sites_admanager_slot['mobil_300_250']||!this.sites_admanager_slot['mobil_250_250']){if(window.innerWidth>=360){if(rand(0,1)&&window.innerWidth<390){myframe=this.getADCode('mobil_250_250','mobil_250_250','250_250');}else{myframe=this.getADCode('mobil_300_250','mobil_300_250','300_250');} 156$('.js-appAdv').addClass('autoH');}}else if(this.sites_admanager_slot['mobil_250_250']){if(false&&window.innerWidth<390){myframe=this.getADMCode('mobil_250_250',true);}else{myframe=this.getADMCode('mobil_300_250',true);} 157$('.js-appAdv').addClass('autoH');} 158if(myframe.indexOf('3myad.com')>-1){tClass+=' div-adsns-ad-cov-dis';} 159if(LangI.actLang=="hu"&&showEfiMoti){myframe=RecommendI.getSubscriptPromo('300x250');} 160myframe="<div class='div-adsns-ad "+tClass+"'>"+myframe+"</div>";}else if(window.innerWidth>1359){if(this.sites_admanager_slot['desktop_300_250_double']){if(LangI.actLang=="hu"&&showEfiMoti){myframe=RecommendI.getSubscriptPromo('300x250');}else{myframe=this.getADMCode('desktop_300_250_double');} 161myframe+=this.getADMCode('desktop_300_250_double');}else{if(LangI.actLang=="hu"&&showEfiMoti){myframe=RecommendI.getSubscriptPromo('300x250');}else{myframe=this.getADCode('desktop_300_250_double_1','desktop_300_250_double_1','300_250');} 162myframe=this.getADCode('desktop_300_250_double_1','desktop_300_250_double_1','300_250');myframe+=this.getADCode('desktop_300_250_double_2','desktop_300_250_double_2','300_250');}}else if(window.innerWidth>1199){if(LangI.actLang=="hu"&&showEfiMoti){myframe=RecommendI.getSubscriptPromo('300x250');}else if(this.sites_admanager_slot['desktop_300_250_single']){myframe=this.getADMCode('desktop_300_250_single');}else{myframe=this.getADCode('desktop_300_250_single','desktop_300_250_single','300_250');}} 163return{'myframe':myframe,'noHelper':noHelper};} 164this.addArchiveBnr=function(){if($(".archive-bnrcol").length&&$(".archive-bnrcol .bnr:visible").length){var bnrW=$(".archive-bnrcol").width();if(bnrW!=$(".archive-bnrcol").data('width')){$(".archive-bnrcol").data('width',bnrW);if($(".archive-bnrcol").next().height()>=1360){$(".archive-bnrcol .bnr").eq(1).show();}else{$(".archive-bnrcol .bnr").eq(1).remove();} 165if($(".archive-bnrcol").next().height()<900){$('.fb-page-cont').remove();} 166$(".archive-bnrcol .bnr").html(this.getADCode('radio_other_300_600','2114421482'));}}} 167this.addRadioPage_HorizontalV2=function(){if(!$('.isSubPage').length){return;} 168var $bannerPlaces=$("._horizontBanner[data-aview='1']");
168if(!$bannerPlaces.length){return;} 169$bannerPlaces.each(function(i,elem){var $bannerPlace=$(elem);if($bannerPlace.css('display')=='none'){return;} 170self.addRadioPage_HorizontalEntity($bannerPlace);});} 171this.addRadioPage_HorizontalEntity=function($bannerPlace){if(!$bannerPlace.length){return;} 172var bannerWidth=$bannerPlace.width();if(bannerWidth==0||$bannerPlace.data('width')==bannerWidth){return;} 173$bannerPlace.data('width',bannerWidth);var bName='radiopage_after_player';if($bannerPlace.hasClass('bottomHorizontalBanner')){bName='radiopage_after_radiolist';} 174var orient='horizontal';if(window.innerWidth<=480||$('.is-app').length){orient=false;} 175var myframe='';if($('.mRadioPlayer audio').length){var device=bannerWidth<720?'m':'d';if(bName=='radiopage_after_radiolist'||device!='m'){return;} 176bName+='_2';myframe=this.getADCode(bName,'radiopage_after_player',false,orient);if(LangI.actLang=='hu'){GaTrackI.ga('r_after_player_0_'+device);}}else{myframe=this.getADCode('otherpage_after_filter','3698802120','300_250');} 177$bannerPlace.html(myframe);} 178this.addArchivePage_Horizontal=function(){if(!$('.archive-filter').length||window.innerWidth>767){return;} 179if(!$('._horizontBanner').length){$('.archive-filter, .js-songListC, .archive-cont').after('<div class="clear"></div><div class="_horizontBanner archive"></div>');} 180if($('._horizontBanner').data('width')!=$('._horizontBanner').width()&&$('._horizontBanner[data-aview="1"]').length){$('._horizontBanner').data('width',$('._horizontBanner').width());$("._horizontBanner").eq(0).html(this.getADCode('archivep_after_filter','5981310684'));$("._horizontBanner").eq(1).html(this.getADCode('archivep_after_pager','2107969699'));}} 181this.addRadioPage_HorizontalWide=function(refresh){if(!$('._horizontBannerWide').length){return;} 182var bnrW=$("._horizontBannerWide").width();if($("._horizontBannerWide").data('width')!=bnrW||refresh){$("._horizontBannerWide").data('width',bnrW);if($('.isMainPage, .playlist, #fields').length){if($("._horizontBannerWide[data-aview='1']").length){$("._horizontBannerWide[data-aview='1']").html(this.getADCode('radio_mainpage_after_list','1372718287'));}}else if($('.schedule-cont').length){if($("._horizontBannerWide.top[data-aview='1']").length){$("._horizontBannerWide.top[data-aview='1']").html(this.getADCode('radio_mainpage_after_list','7645321115',false,'horizontal'));} 183if($("._horizontBannerWide.btm[data-aview='1']").length){$("._horizontBannerWide.btm[data-aview='1']").html(this.getADCode('radio_mainpage_after_list','7045435756',false,'horizontal'));}}}} 184this.addRadioPage_Top1=function(bckpADCode){var $banner=$('._bannerTop1').eq(0);if(!$banner.length){return;} 185if(window.innerWidth<768&&!bckpADCode){return;} 186var bannerWidth=$banner.width();if($banner.data('width')==bannerWidth&&!bckpADCode){return;} 187$banner.data('width',bannerWidth);if($('.isMainPage').length||$banner.height()<100){$banner.html(this.getADCode('radio_top_banner_adaptive_2','radio_top_banner_adaptive_2','auto','horizontal'));}else{if(!bckpADCode&&this.sites_admanager_slot['radio_top_banner_adaptive']&&window.innerWidth>=1360){var code=this.getADMCode('radio_top_banner_adaptive',true);$banner.html(code);}else{$banner.html(this.getADCode('radio_top_banner_adaptive','radio_top_banner_adaptive',false,false,false,false,bckpADCode));if(bckpADCode){GaTrackI.ga('admmanager_runbackup');}}}} 188this.addRadioPage_RightCol300=function(refresh){var $banner=$('.bnr-300-250');if(!$banner.length||$('.radiosListLink').length<40||!$banner.is(':visible')){return;} 189var bnrW=$banner.width();if(bnrW!=$banner.data('width')||refresh){$banner.data('width',bnrW);$banner.filter("[data-aview='1']").html(this.getADCode('rigth_col_brn','rigth_col_brn'));}} 190this.addAfterBreadcrumb=function(){if(NoSocial||$('.radiosList audio').length||$('.intro').hasClass('fixed')){$('.intro').addClass("fixed");return;} 191var wW=window.innerWidth;if(wW>767){return;} 192$('.intro').hide();if($('.mainpagelist-top-bnr').length&&$('.mainpagelist-top-bnr').width()==$('.mainpagelist-top-bnr').data('width')){return;} 193var bnrCode='';if($('.isMainPage').length){if(!$('.mainpagelist-top-bnr').length){$('#Grid').before('<div class="mainpagelist-top-bnr"></div>');} 194bnrCode=this.getADCode('radio_mainpage_beforelist','5802917881',false,'horizontal',true);}else{if($(".mainpagelist-top-bnr").length){bnrCode=this.getADCode('after_breadcrumb','2040397373',false,'horizontal',true);}} 195if(bnrCode){$(".mainpagelist-top-bnr").html(bnrCode);$('.mainpagelist-top-bnr').data('width',$('.mainpagelist-top-bnr').width());}} 196this.checkAllItemLoaded=function(){console.log('checkAllItemLoaded');if(preventAdShow){self.closeAppBanner();return;} 197var needHelp=false;$('.adsbygoogle').each(function(i,elem){var $elem=$(elem);if(!$elem.hasClass('adsbygoogle-noablate')){if(!$elem.attr('data-channel')){GaTrackI.ga('detectBckp_6');console.log('detectBckp','FAIL');} 198if(addBlockVar){self.initAffiRecommend();
198setAddBlockMsg();}else if(!$elem.html()&&!needHelp){needHelp=true;}else if($elem.parent().is(":visible")&&($elem.attr('data-ad-status')=="unfilled"||$elem.height()==0||!$elem.is(":visible"))){self.loadInsideBanner(elem);}else if($elem.height()>$elem.parent().height()){$elem.parent().css('height','auto');} 199if($elem.parent().hasClass('_bannerTop1')&&$elem.height()>90){$('.box0 > .menu_wrapper').css('top',120+($elem.height()-90));$('.box0 > .social_wrapper').css('top',490+($elem.height()-90));}}});if(needHelp){try{(adsbygoogle=window.adsbygoogle||[]).push({});GaTrackI.ga("adsbygoogle_extrapush_1");}catch(e){GaTrackI.ga("adsbygoogle_extrapush_-1");}}} 200this.bindScrollListener=function(){$(window).off('scroll.addAdsActiveView').on('scroll.addAdsActiveView',function(){clearTimeout(self.activeViewTimer);self.activeViewTimer=setTimeout(function(){self.checkActiveView();},100);});if(window.innerWidth>480){self.checkActiveView(true);}} 201this.checkActiveView=function(skipCheckAll){var wH=window.innerHeight;var checkNeed=false;var noNeedScroll=true;var mobile=isMobile();var limitPadding=mobile?0:100;if(mobile&&$('.schedule-cont, .playlist, .html5Player').length){limitPadding=-100;} 202var bLine=wH+limitPadding;for(var selector in this.listenActiveView){var $elem=$(selector+"[data-aview!='1']");if(!$elem.length){continue;} 203if($elem[0].getBoundingClientRect().top<bLine){$elem.attr('data-aview','1');self[this.listenActiveView[selector]](true);checkNeed=true;}else{noNeedScroll=false;}} 204if(checkNeed&&!skipCheckAll){setTimeout(function(){self.checkAllItemLoaded();},2000);} 205if(noNeedScroll){$(window).off('scroll.addAdsActiveView');}} 206this.resizeListener=function(){var timeSrc=null;var timeSrc4=null;$(window).resize(function(e){clearTimeout(timeSrc);timeSrc=setTimeout(function(){self.addRadioPage_Top1();self.addRadioPage_HorizontalWide();self.addAfterBreadcrumb();self.addRadioPage_HorizontalV2();self.addArchivePage_Horizontal();self.addRadioPage_RightCol300();self.addArchiveBnr();self.checkCloseAppBnr();clearTimeout(timeSrc4);timeSrc4=setTimeout(function(){self.checkAllItemLoaded();},2000);},1000);});} 207this.getADMCode=function(name,noBorder,detectBckp){this.loadConfigIfNeed();var repObj={'radio_top_banner_adaptive_2':'radio_top_banner_adaptive','200_200_mobil':'mobil_250_250','rigth_col_brn':'desktop_300_250','radiopage_after_player':'radio_after_player_banner_adaptive',};if(repObj[name]){name=repObj[name];} 208if(!this.sites_admanager_slot||!this.sites_admanager_slot[name]){console.log('NO ADM CODE! - '+name,detectBckp);var check=['200_200','mobil_300_250','desktop_300_250','desktop_300_250_single','radio_top_banner_adaptive','desktop_300_250_double'];if(check.indexOf(name)>-1){if(!this.disableAdm){ConsoleDebuggerI.pushMsg("NO ADM CODE! "+name+" Isbckp: "+detectBckp+" #important");} 209GaTrackI.ga('NO_ADM_CODE_ERR_'+name);}else{GaTrackI.ga('NO_ADM_CODE_'+name);} 210return'';} 211if(self.leadCodes&&addBlockVar){return this.getLeadCode(name);} 212var slots='';if(ADMSlots['div-gpt-ad-'+name]){var actId=name+'_'+$.now();self.sites_admanager_slot[actId]=self.sites_admanager_slot[name];name=actId;}else{ADMSlots['div-gpt-ad-'+name]=true;} 213if(typeof(MyCmpI)!="undefined"&&CookieManagerI.get('mycmp')!=null){var st=1;if(CookieManagerI.get('mycmp')>1){st=0;} 214slots+="googletag.pubads().setRequestNonPersonalizedAds("+st+");";} 215var data=self.sites_admanager_slot[name];slots+="ADMSlots['div-gpt-ad-"+name+"'] = googletag.defineSlot('/21775032471/"+data['id']+"', "+data['sizes']+", 'div-gpt-ad-"+name+"').addService(googletag.pubads());\ ";var headData='';var src="https://securepubads.g.doubleclick.net/tag/js/gpt.js";if(!document.querySelectorAll("script[src='"+src+"']").length){var headData="<script>window.googletag = window.googletag || {cmd: []};</script>";loadMainScript(src,2);} 216admInject++;headData+="\ 217 <script>\ 218 if(typeof(googletag) != 'undefined' && typeof(googletag.cmd) == 'undefined'){ window.googletag.cmd = []; }\ 219 if(typeof(googletag.cmd) != 'undefined'){\ 220 googletag.cmd.push(function () {\ 221 "+slots+"\ 222 googletag.pubads().enableSingleRequest();\ 223 googletag.pubads().collapseEmptyDivs(true, true);\ 224 googletag.pubads().addEventListener('slotRenderEnded', function(event) {\ 225 AddAdsV2I.checkAdMEvent(event, event.slot.getSlotElementId()"+(detectBckp?', true':'')+");\ 226 });\ 227 googletag.enableServices();\ 228 });\ 229 }else{\ 230 console.log('NO CMD HEAD!!!');GaTrackI.ga('NO_CMD_HEAD');\ 231 }\ 232 </script>\ 233 ";$('head').append(headData);var adHTML="\ 234 <div class='"+(noBorder?"div-gpt-ad-v2":"div-gpt-ad")+"' data-slot-id='"+name+"'><div id='div-gpt-ad-"+name+"'>\ 235 <script>if(typeof(googletag.cmd) != 'undefined'){googletag.cmd.push(function () {googletag.display('div-gpt-ad-"+name+"');});}else{ console.log('NO CMD!!!');GaTrackI.ga('NO_CMD');}</script>\ 236 </div></div>";return adHTML;} 237this.getADCode=function(name,google_ad_channel,google_ad_slot,adFormat,notFullWidthResponsive,pub_code,bckpADCode){if(self.leadCodes&&addBlockVar){return this.getLeadCode(name);} 238this.loadConfigIfNeed();if(!this.sites_google_ad_slot){return'';} 239if(!google_ad_slot){google_ad_slot='auto';} 240if(!this.sites_google_ad_slot||!this.sites_google_ad_slot[google_ad_slot]){console.log('NO ADSNS CODE! - '+google_ad_slot);ConsoleDebuggerI.pushMsg("NO ADSNS CODE! "+google_ad_slot+" #important");} 241this.pushMainScript();if(google_ad_slot=="auto"){var bnrHTML=this.advCodeAutoSize;bnrHTML=bnrHTML.replace('data-ad-slot="ADSLOT"','data-ad-slot="'+this.sites_google_ad_slot['auto']+'"').replace('adsbygoogle"','adsbygoogle '+(!bckpADCode?'" data-channel="'+name+'"':''));}else{var sizes=google_ad_slot.split("_");var bnrHTML=this.advCodeFixSize;var slot=this.sites_google_ad_slot[google_ad_slot];bnrHTML=bnrHTML.replace('data-ad-slot="ADSLOT"','data-ad-slot="'+slot+'"').replace(/WXX/g,sizes[0]).replace(/HXX/g,sizes[1]).replace('adsbygoogle"','adsbygoogle ads_'+sizes[0]+'_'+sizes[1]+(!bckpADCode?'" data-channel="'+name+'"':''));} 242if(google_ad_channel){if(this.sites_google_ad_channel[google_ad_channel]){google_ad_channel=this.sites_google_ad_channel[name];} 243bnrHTML=bnrHTML.replace('(adsbygoogle = window.adsbygoogle || []).push({});','(adsbygoogle = window.adsbygoogle || []).push({params: { google_ad_channel: "'+google_ad_channel+'"}});');} 244if(name){bnrHTML=bnrHTML.replace('<!-- radio_auto -->','<!-- '+name+' -->');} 245if(adFormat){bnrHTML=bnrHTML.replace('data-ad-format="auto"','data-ad-format="'+adFormat+'"');} 246if(notFullWidthResponsive){bnrHTML=bnrHTML.replace('data-full-width-responsive="true"','data-full-width-responsive="false"');} 247if(pub_code){bnrHTML=bnrHTML.replace('ca-pub-2615368671841163',pub_code);} 248return bnrHTML;} 249this.getLeadCode=function(name){var w=300;var h=250;if(name.indexOf('x')>-1){var l=self.leadCodes[name];w='100%';h=name.split('x')[1];}
249else{var l=self.leadCodes[1];if(rand(0,1)){l=self.leadCodes[2];if(LangI.actLang=="hu"&&rand(1,4)==4){if(typeof(RecommendI)=="undefined"&&typeof(Recommend)!="undefined"){RecommendI=new Recommend();} 250return RecommendI.getSubscriptPromo("300x250");}}} 251return'<iframe class="js-lgenFrame" src="'+l+'" width="'+w+'" height="'+h+'" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" scrolling="no" referrerpolicy="origin-when-cross-origin" style="margin-top: 0px;" onload="AddAdsV2I.logLeadgenLoad(\''+name+'\')"></iframe>';} 252this.getVidvertCode=function(type){this.loadConfigIfNeed();return self.vidvertCodes[type];} 253this.logLeadgenLoad=function(name){GaTrackI.ga("leadgen_"+name);$.ajax({'url':BASE_URL+'/view.gif/'+btoa(name+(self.ulock?'/ublock':''))});} 254this.checkAddBlock=function(noOnlyCheck){this.trackAdblockDisable();if(this.checkAddBlockFire&&!noOnlyCheck){return;} 255this.checkAddBlockFire=true;if(noOnlyCheck){if(addBlockVar){return;} 256this.addBlock=true;addBlockVar=true;} 257if(addBlockVar){console.log('PLEASE DISABLE ADBLOCK! THANK YOU!');setTimeout(function(){GaTrackI.ga('adblock_1');},30000);setAddBlockMsg();$('body').on('click','.pls-dis-blck',function(e){e.preventDefault();GaTrackI.ga('send','event','adblock_segitsegQ');var link=$(this);setTimeout(function(){document.location.href=link.attr('href');},500);});self.cookieM.set('adblock','1');if(disableAds||new Date().getDate()==6){self.cookieM.set('adblock','8');preventAdShow=true;self.addBlock=false;addBlockVar=false;}}else{setTimeout(function(){if(typeof(ConsoleDebuggerI)!="undefined"&&ConsoleDebuggerI.addBlock){GaTrackI.ga('adblock_2');}else{GaTrackI.ga('adblock_0');}},30000);UtilsI.initFocusListener(function(hidden){setTimeout(function(){self.initFocusListenerR(hidden);},1000);});} 258return addBlockVar;} 259setAddBlockMsg=function(backupbnr){if(addBlockVar==false){return;} 260$('.js-appAdv .ad-shild,.js-appAdv .div-adsns-ad').remove();var myFrame='<a '+(backupbnr?'style="width: 300px; margin: 0 auto; text-align: justify;"':'')+' target="_blank" href="/'+LangI.getText('adblock-bnr-msg-link')+'" class="pls-dis-blck">'+LangI.getText('adblock-bnr-msg')+'</a>';if(backupbnr){if(self.leadCodes){var info=self.getCenterBnrCode();myFrame=info['myframe'];}else if(rand(0,1)){self.initAffiRecommend();myFrame=RecommendI.getBackupAffiliate('300_250');} 261self.setCloseAppBnr(myFrame);}else{$('.adsbygoogle, .insBnrV').each(function(i,elem){pushBackupAdblockBnr(elem,myFrame);});$('.adsscript').each(function(i,elem){if(!$(elem).siblings('ins').length){pushBackupAdblockBnr(elem,myFrame);}});$('.div-gpt-ad, .div-gpt-ad-v2').each(function(i,elem){pushBackupAdblockBnr(elem,myFrame);});if($('.js-appAdv').html()=='<div class="helper"></div>'||$('.song-cover-cont .player-extras').length){setAddBlockMsg(true);}}} 262function pushBackupAdblockBnr(elem,myFrame){var $parent=$(elem).parent();if($parent.hasClass('topHorizontalBanner')&&$parent.css('display')=="none"&&addBlockVar){$parent.removeClass('topHorizontalBanner');} 263if($parent.length&&$parent[0].tagName!="BODY"&&$parent[0].tagName!="HTML"){if(typeof(RecommendI)=="undefined"&&typeof(Recommend)!="undefined"){RecommendI=new Recommend();} 264var sizeIndex='';if($parent.hasClass('js-appAdv')){$parent.find('.helper, .mobileAffiliateAdblock').remove();$('.js-appAdv').show();$('.cover-slider-cont, .player-extras').hide();if($parent.find('.js-closeAppBnr').length){myFrame=$parent.find('.js-closeAppBnr')[0].outerHTML+myFrame;} 265if(self.leadCodes){var info=self.getCenterBnrCode();myFrame+=info['myframe'];if(window.innerWidth>768){$parent.css("height","auto").html(myFrame);return;}} 266sizeIndex='300_250';} 267if(LangI.actLang=="hu"&&rand(0,4)){if($(elem).parent().hasClass('_bannerTop1')||$(elem).parent().hasClass('topHorizontalBanner')){if(false&&rand(0,2)){if($(elem).parent().hasClass('topHorizontalBanner')){myFrame=self.getLeadCode("880x150");}else{myFrame=self.getLeadCode("970x250");}}else{myFrame=RecommendI.getSubscriptPromo("600x300");}}else if($(elem).parent().hasClass('bnr-300-250')){myFrame=RecommendI.getSubscriptPromo("300x600");}else{myFrame=RecommendI.getSubscriptPromo("300x250");} 268$parent.css("height","auto").html(myFrame);}else if(rand(0,1)||!RecommendI.showBackupAffiliate($parent,sizeIndex)){$parent.css("height","auto").html(myFrame);}}} 269this.trackAdblockDisable=function(){$('body').on('click','.fc-button-whitelist',function(){GaTrackI.ga('adsn_whitelist_ok');});} 270this.loadInsideBanner=function(elem,extraClass){var channel=$(elem).attr('data-channel');if(channel&&this.sites_google_ad_channel[channel]){$(elem).replaceWith(this.getADMCode(channel,false,true));return;} 271var $parent=$(elem).parent();if(!$(elem).hasClass('div-gpt-ad')&&!$(elem).hasClass('div-gpt-ad-v2')&&!$(elem).parent().hasClass('js-appAdv')){$parent.attr('style','');} 272var aH=$parent.height();var aW=$parent.width();var w=300;var h=250;if(aH>=90){w=$parent.width();h=$parent.height();}else if(aW>700){w=aW;if($('.flags-cont.expand').length){h=250;}else{h=90;}}else{$parent.css('height','auto');} 273var urlP=BASE_URL+'/public/reklamok/adsense/'+this.placeholder+'/insideV2.html';self.insBnrV++;if(!extraClass){extraClass='';} 274extraClass+=' insBnrV insBnrV'+self.insBnrV;var myframe='<iframe class="'+extraClass+'" loading="lazy" framespacing="0" border="0" scrolling="no" src="'+urlP+'" allowfullscreen="" width="'+w+'" height="'+h+'" frameborder="0"></iframe>';if($(elem).parent().hasClass('js-appAdv')){if(rand(0,1)){self.initAffiRecommend();myframe=RecommendI.getBackupAffiliate('300_250');} 275$('.js-appAdv .insBnrV').remove();$(elem).parent().append(myframe);$(elem).remove();}else{$(elem).parent().html(myframe);} 276if($(elem).parent().height()<50){$(elem).parent().css("height",'auto');} 277GaTrackI.ga("LoadInsideBanner_"+w+"x"+h);} 278this.setCloseAppBnr=function(myframe,noHelper){try{$('.fa-sun-regular').addClass('disappear').removeClass('hidden');$('.cover-btn').removeClass('disappear');var cHtml='';var helperDiv=addBlockVar||noHelper?'':'<div class="helper"></div>';$('.js-closeAppBnr').remove();
278if(window.innerWidth<=767){cHtml+='<div class="js-closeAppBnr fa-close-after">'+(LangI.getText('show-album-cover-short'))+'</div>';$('.mbreadcrumb ol').after(cHtml);$('.mbreadcrumb').addClass('trimmed-bread');myframe=helperDiv+myframe;}else{$('.mbreadcrumb').removeClass('trimmed-bread');cHtml+='<div class="js-closeAppBnr fa-close-after">'+(LangI.getText('show-album-cover'))+'</div>';myframe=cHtml+myframe;} 279$('.js-appAdv').html(myframe);if(addBlockVar){$('.js-appAdv').show();$('.player-extras, .cover-slider-cont').hide();if($('.js-appAdv').css('display')=="none"&&$('.cover-slider-cont').css("display")=="block"){$('.cover-slider-cont').css({'max-width':'inherit','height':'300px'}).html(myframe);}} 280if(!$('.song-list-cont').length||$('.song-list-cont').data('dis-lyr')){$('.cover-txt-extra').remove();} 281$('.js-closeAppBnr').delay(1000).queue(function(next){$(this).addClass("anim");next();});setTimeout(function(){if($(".js-appAdv ins").css("display")=="block"){var insH=$(".js-appAdv ins").height();var bh=(250-insH)/2;if(bh<0){bh=0;} 282$('.js-appAdv').css({'height':'auto','margin-bottom':bh+'px','margin-top':bh+'px',});GaTrackI.ga('ads-repair_'+$('.js-appAdv ins').height());}},500);}catch(e){if(typeof(ConsoleDebuggerI)!="undefined"){ConsoleDebuggerI.pushMsg("this.cookieM err: "+this.cookieM+' - '+CookieManagerI+" - "+this.initOk+' - '+e.toString());}} 283$('body').on("click",".js-closeAppBnr",function(){if(addBlockVar){self.showAdblockMsg('adblock_try_sub_1_2');}else{self.closeAppBanner();var num=parseInt(CookieManagerI.get("CloseAppBnr_num")||0);CookieManagerI.set("CloseAppBnr_num",num+1,"30","/");GaTrackI.ga('CloseAppBnr_close');}});if(this.gAdsPromo()){setTimeout(function(){AddAdsV2I.closeAppBanner();},5000);}} 284this.gAdsPromo=function(){if(isGSearch&&!CookieManagerI.get("CloseAppBnr_num")&&CookieManagerI.get("gaadsh")<3&&!CookieManagerI.get("gaadsh_daily")){var num=parseInt(CookieManagerI.get("gaadsh")||0);CookieManagerI.set("gaadsh",num+1,"30","/");CookieManagerI.set("gaadsh_daily","1",null,"/");} 285if(CookieManagerI.get("gaadsh_daily")&&$('.song-list-cont').length){GaTrackI.ga('gadspromo_1');return true;}else{if(isGSearch){GaTrackI.ga('gadspromo_0');} 286return false;}} 287this.closeAppBanner=function(){$('.cover-btn').addClass('disappear');$('.fa-sun-regular').removeClass('hidden').removeClass('disappear');$('.js-closeAppBnr').addClass('disappear');if($('.song-list-cont').length){SongListI[$('.song-list-cont').data('url')].loadCoverImg();} 288$('.js-appAdv').hide().addClass('js-app-close').html('<div class="js-closeAppBnr"></div>');if($('.cover-slider-cont').length){$('.cover-slider-cont').show();LoadScriptIfNeedI.loadAlbumCoverSliderALyrics(function(){$('.js-appAdv').html('').hide().removeClass('js-app-close');if(typeof(LoveHateI)!=="undefined"){LoveHateI.buildButtons();}});}} 289this.checkCloseAppBnr=function(){if(window.innerWidth<=767){if($('.js-appAdv .js-closeAppBnr').length){$('.js-closeAppBnr').remove();this.showedAppBnr=false;this.addRadioPage_App_RUN();}}else{if($('.mbreadcrumb .js-closeAppBnr').length){$('.js-closeAppBnr').remove();this.showedAppBnr=false;this.addRadioPage_App_RUN();}}} 290this.checkAdMEvent=function(event,slotID,detectBckp){if(preventAdShow){return;} 291var $cont=$("#"+slotID);if(event.isEmpty){this.loadOtherIfEmpty(slotID,detectBckp);GaTrackI.ga('admngr_9',this.formatSlotId(slotID));if(detectBckp){console.log('detectBckp','FAIL '+slotID,event,detectBckp);GaTrackI.ga('detectBckp_9',this.formatSlotId(slotID));}}else{GaTrackI.ga('admngr','1',slotID);if(detectBckp){console.log('detectBckp','OK',slotID);GaTrackI.ga('detectBckp_1',this.formatSlotId(slotID));} 292$('.div-gpt-ad').css('margin','0');self.checkAdMSize();} 293$cont.parents('._bannerTop1, ._horizontBanner').addClass('adm-autoh');$cont.attr('lst-rfs',$.now()+rand(1000,5000));var sb=$('#'+slotID).siblings('#preloader');if(sb.length){sb.remove();}} 294this.loadOtherIfEmpty=function(slotID,isBckp){var newBnrC='';var name=slotID.replace('div-gpt-ad-','');var slot=this.parseSizeFromString(name);if(!isBckp&&slotID.indexOf('radio_top_banner_adaptive')>-1){this.addRadioPage_Top1(true);}else if(!isBckp&&name&&slot&&this.sites_google_ad_channel[name]){newBnrC=this.getADCode(name,name,slot,fal
294se,false,false,true);var pp=$('#'+slotID).parent();pp.after(newBnrC);pp.remove();}else{GaTrackI.ga('admngr_7',slotID);self.loadInsideBanner($("#"+slotID).parent(),'admngr');}} 295this.formatSlotId=function(slotID){return slotID.replace(/\_\d*$/,'');} 296this.checkAdMSize=function(){var aW=$(".js-appAdv .div-gpt-ad div").width();if($(".js-appAdv .div-gpt-ad iframe").height()>=250||$(".js-appAdv .div-gpt-ad iframe").width()>=250){$('.js-appAdv').css({'height':'auto',});if(aW>300){$('.js-appAdv .div-gpt-ad').css({'padding-left':'0','padding-right':'0',});} 297$('.js-appAdv .div-gpt-ad').addClass('n250_250');$('.js-appAdv .helper').remove();}} 298this.initFocusListenerR=function(hidden){if(!$("[id*='div-gpt-ad-']").length||document[hidden]){return;} 299var elems=[];$("[id*='div-gpt-ad-']").each(function(i,elem){elems.push([elem,parseInt($(elem).attr('lst-rfs'))]);});elems.sort(function(a,b){return a[1]-b[1];});var time=$.now();var refreshRun=false;for(i in elems){var elem=elems[i][0];var lstRfs=parseInt($(elem).attr('lst-rfs'));var iID=$(elem).attr("id");var minRefT=18000;if(time-minRefT>lstRfs&&self.checkIsVisible($(elem))){if(googletag&&!refreshRun){var p=$(elem).parent();p.append('<div id="preloader"><div id="loader"></div></div>');GaTrackI.ga("desktop_refresh_height_"+Math.round(p.height()));p.attr('style','height:'+p.height()+"px;");setTimeout(function(){p.attr('style','');},3000);googletag.pubads().refresh([ADMSlots[iID]]);$(elem).attr('lst-rfs',time+rand(10,20));GaTrackI.ga('admngr_2');refreshRun=true;}else{$(elem).attr('lst-rfs',time+rand(1,10));}}else{GaTrackI.ga('focuschange_'+(parseInt((time-lstRfs)/60000)),self.checkIsVisible($(elem))?'visible':'hidden');}};} 300this.checkIsVisible=function($elem){if(!$elem) 301return false;if(!$elem.length){return false;} 302var wT=$(window).scrollTop();var wB=wT+$(window).innerHeight();var eT=$elem.offset().top;var eB=eT+$elem.height();if(wT<eB&&wB>eT){return true;} 303return false;} 304this.logTopBannerSize=function(){setTimeout(function(){if($('._bannerTop1:visible').length&&!self.hasAdblock()){var cont=$('._bannerTop1 .adsbygoogle');var btype=1;if(!cont.length){cont=$('._bannerTop1.adm-autoh > div');btype=2;} 305if(cont.length){GaTrackI.ga('bnr_size_'+btype+'_'+Math.round(cont.width())+'x'+Math.round(cont.height())+"_"+Math.round(window.innerWidth)+'x');}}},20000);} 306this.initAffiRecommend=function($elem,index){if(RecommendI==null){UserViewRadiosI=new UserViewRadios();RecommendI=new Recommend();}} 307this.getSelfPromo=function(type){var noHelper=false;var tmpCode='';if(typeof(type)!="undefined"&&type=="nation"){tmpCode='<iframe src="/public/img/adblock/myonlineradio_hu/nation/index.html" width="320" height="250" allowfullscreen="" frameborder="0"></iframe>';noHelper=true;}else{RecommendI2=new Recommend();if(!RecommendI2.isIOS()){tmpCode=RecommendI2.pushMobilBnr({'300_250':'300_250'},"300_250",'android',"https://play.google.com/store/apps/details?id=hu.myonlineradio.onlineradioapplication&referrer=start_with="+$('.html5Player').data('act-url'));GaTrackI.ga('self_promo_app_android');}else{tmpCode=RecommendI2.pushMobilBnr({'300_250':'300_250'},"300_250",'ios',"https://play.google.com/store/apps/details?id=hu.myonlineradio.onlineradioapplication&referrer=start_with="+$('.html5Player').data('act-url'));GaTrackI.ga('self_promo_app_ios');}} 308return{'noHelper':noHelper,'tmpCode':tmpCode};} 309this.showAdblockMsg=function(sourceEvent){GaTrackI.ga(sourceEvent+'_show');var DB=new DialogBox();var extraMsg="";if(MyConfigI.get('subModeLvL')==4){extraMsg+='<br><br>'+LangI.getText('not-want-dis-adblock')+'<a class="more_radio_button sub-red js-trySubStepAdblock"><div class="i_left anim"></div><div class="i_center">'+LangI.getText("try-btn")+'</div><div class="i_right flip anim"></div></a>';} 310DB.openPopUp(LangI.getText("recorder-addblock-noti")+extraMsg,LangI.getText("shazam-attention"),true);$(".js-trySubStepAdblock").click(function(){SubscriptionI.openMotiLayer();GaTrackI.ga(sourceEvent+'_click');});} 311this.hasAdblock=function(){return addBlockVar;} 312function startIntegrityCheck(){var mscript=AddAdsV2I.hasAdblock.toString().replace(/\n|\r| |\t/g,"");if(mscript!='function(){returnaddBlockVar;}'){console.log("startIntegrityCheck FAIL");addBlockVar=true;
312setAddBlockMsg();}} 313this.parseSizeFromString=function(txt){var tmp=txt.match(/_\d*_\d*/);if(tmp==null){return false;} 314return tmp[0].substring(1);} 315this.preInit=function(){if(this.preInitOK){return;} 316this.preInitOK=true;if(isMobile()){setTimeout(function(){AddAdsV2I.pushMainScript();},$('.isMainPage').length?5000:6000);}else{AddAdsV2I.pushMainScript();setTimeout(function(){},$('.isMainPage').length?5000:6000);} 317AddAdsV2I.initialize();setTimeout(function(){startIntegrityCheck();},100);} 318this.checkTCF=function(src){if(src.indexOf("adsbygoogle")==-1||MyConfigI.get("gdprV")==1){return;} 319var hasStoreOnDeviceConsent=true;if(typeof window.__tcfapi==='function'){GaTrackI.ga('tcfapi_1');__tcfapi('addEventListener',2,function(tcData,success){GaTrackI.ga('tcfapi_2');if(tcData.eventStatus=='useractioncomplete'||tcData.eventStatus=='tcloaded'){GaTrackI.ga('tcfapi_3');hasStoreOnDeviceConsent=tcData.purpose.consents[1]||false;if(hasStoreOnDeviceConsent){CookieManagerI.setDelayedData();} 320var mycmp=0;var total=JSON.stringify(tcData.purpose.consents);if(total.indexOf('true')>-1&&total.indexOf('false')==-1){(adsbygoogle=window.adsbygoogle||[]).requestNonPersonalizedAds=0;(adsbygoogle=window.adsbygoogle||[]).pauseAdRequests=0;mycmp=2;}else if(total.indexOf('false')>-1&&total.indexOf('true')==-1){mycmp=0;}else if(hasStoreOnDeviceConsent){var hasGoogleAdvertisingProductsConsent=tcData.vendor.consents[755]||false;console.log('hasGoogleAdvertisingProductsConsent',hasGoogleAdvertisingProductsConsent);if(hasGoogleAdvertisingProductsConsent){var hasPersonalizedProfileConsent=tcData.purpose.consents[3]||false;var hasPersonalizedAdsConsent=tcData.purpose.consents[4]||false;if(hasPersonalizedAdsConsent&&hasPersonalizedProfileConsent){(adsbygoogle=window.adsbygoogle||[]).requestNonPersonalizedAds=0;mycmp=2;}else{(adsbygoogle=window.adsbygoogle||[]).requestNonPersonalizedAds=1;mycmp=1;} 321(adsbygoogle=window.adsbygoogle||[]).pauseAdRequests=0;}} 322if(CookieManagerI.get('mycmp')==null){AddAdsV2I.preInit();} 323var gaIndex='mycmp';if(!CookieManagerI.get(gaIndex)){gaIndex='mycmp_new';} 324GaTrackI.ga(gaIndex+"_"+mycmp);CookieManagerI.set('mycmp',mycmp,'365','/');self.setAnalyticsConsent(tcData);}else{var mycmp_start=parseInt(CookieManagerI.getSessionStorage('mycmp_start')|0)+1;CookieManagerI.setSessionStorage('mycmp_start',mycmp_start) 325GaTrackI.ga("mycmp_start",mycmp_start);console.log("mycmp_start",mycmp_start);}});}else{console.log('tcfapi ERR');GaTrackI.ga('tcfapi_0');}} 326this.setAnalyticsConsent=function(tcData){if(typeof(cachedConsent)==='undefined'){return;} 327if(tcData&&tcData.purpose&&tcData.purpose.consents){var updatedConsent={'ad_storage':tcData.purpose.consents['1']?'granted':'denied','analytics_storage':tcData.purpose.consents['1']?'granted':'denied','ad_user_data':tcData.purpose.consents['3']?'granted':'denied','ad_personalization':tcData.purpose.consents['4']?'granted':'denied',};gtag('consent','update',updatedConsent);CookieManagerI.setLocalStorage('user_consent',JSON.stringify(updatedConsent));}else{console.log('TCF API ERROR!');}}} 328var ADMSlots={};var AddAdsV2I=new AddAdsV2();$(document).ready(function(){setTimeout(function(){AddAdsV2I.preInit();},CookieManagerI.get('mycmp')!=null?1500:500);}); 329function RadioFilterV2(elem){var self=this;this.$elem=$(elem);this.used=false;this.cache={};this.init=function(){if(!$('._radioFilter').length){return;} 330self.$elem.click(function(){if(self.$elem.data('init')!='1'){self.$elem.data('init','1');self.initAutoComplete();}});self.$elem.parents('.icon-search').click(function(){if(self.$elem.data('init')!='1'){self.$elem.data('init','1');self.initAutoComplete();}});self.$elem.parent('form').submit(function(e){if(e.originalEvent&&$('.radiosList .scrolledRadioContentDef .radiosListLink').length){e.preventDefault();}});} 331this.initAutoComplete=function(){LoadScriptIfNeedI.loadJqueryUI(function(){if(typeof(self.$elem.autocomplete)=="undefined"){return;} 332self.$elem.autocomplete({source:function(request,response){if(request.term.length<2){return;} 333if(self.cache[request.term]){self.processResp(self.cache[request.term],request.term,response);return;}
334$.ajax({'url':BASE_URL+'/get-radio-list','data':{'ord':1,'term':request.term,'type':self.$elem.data('type')},'method':'post','dataType':'json',}).done(function(resp){self.cache[request.term]=resp;self.processResp(resp,request.term,response);GaTrackI.ga('autocsearch',self.$elem.data('type')?self.$elem.data('type'):0,request.term);});},select:function(event,ui){if(typeof($(this).data('extra-url'))!=='undefined'){GaTrackI.ga('use_filter_select_'+$(this).data('extra-url'),ui.item.url);}else if(document.location.pathname=="/"+LangI.getText('most-szol')){GaTrackI.ga('use_filter_select_most_szol',ui.item.url);}else{GaTrackI.ga('use_filter_select',ui.item.url);} 335ui.item.value=$('<div>'+ui.item.value+'</div>').text();if(ui.item.url.indexOf("http")==-1){document.location.href=BASE_URL+'/'+ui.item.url;}else{document.location.href=ui.item.url;}},focus:function(event,ui){ui.item.value=$('<div>'+ui.item.value+'</div>').text();},open:function(){$("ul.ui-menu").width($(this).innerWidth());}}).data("ui-autocomplete")._renderItem=function(ul,item){return $("<li></li>").data("item.autocomplete",item).append("<a href='"+item.url+"'>"+item.label+"</a>").appendTo(ul);};});self.$elem.keyup(function(){if($(this).val().length==0){self.filterRadios("",{});}});} 336this.processResp=function(resp,term,response){var tmp=[];for(i in resp['radios']['list']){var radioD=resp['radios']['list'][i];var info={'r_name':radioD['r_name'],'link':radioD['r_urlname']};if(typeof(MyRadioListI)!="undefined"){info=MyRadioListI.getRInfo(radioD,resp['flags'],'i');} 337tmp.push({'label':info['r_name'],'url':info['link']});} 338if(!$('.isMainPage').length&&(self.$elem.parents('.search-menu').length||self.$elem.parents('.search-light').length||self.$elem.data('type')==2)){response(tmp);}else{self.filterRadios(term,resp);}} 339this.filterRadios=function(value,resp){if(value==''&&typeof(MyRadioListI)!="undefined"){MyRadioListI.resetExtraRFav(function(){$('.radiosListLink,.js-moreRadioBtn').show();});return;} 340if(!this.used){this.used=true;GaTrackI.ga('use_filter');} 341if(typeof(MyRadioListI)!="undefined"){MyRadioListI.refreshRadioList(resp,true);}} 342this.init();} 343function MyDatePicker(){var self=this;this.pickerInit=false;this.callback=null;this.dateFormats={'hu':'yy.mm.dd',};this.init=function(){$(".datepicker").click(function(){if(!self.pickerInit){self.pickerInit=true;LoadScriptIfNeedI.loadJqueryUI(function(){self.initDatePicker(this);});}});$('.audioplayer-time-current, .js-cTime, .fa-countdown').each(function(i,currentTI){$(currentTI).click(function(){var isSwitchOff=$(this).hasClass('fa-countdown');if(isSwitchOff&&$(this).hasClass('live')){return;} 344var boxTitle=LangI.getText(isSwitchOff?'app-timer-title':'audio-backward');var $container=$(this).parents('.embed-radioplayer, .mRadioPlayer');if(typeof(jQuery.fn.datetimepicker)=="undefined"||$container.data('init')!='1'){LoadScriptIfNeedI.loadJqueryUITimePicker(function(){self.initTimepickerLazy($container,boxTitle);});}else{self.initTimepickerLazy($container,boxTitle);}});});$('.rangedatepicker').click(function(){if($(this).data('init')!=1){$(this).data('init','1');LoadScriptIfNeedI.loadJqueryUI(function(){self.initRangePicker();});}});} 345this.initTimepickerLazy=function($container,title){if(typeof(jQuery.fn.datetimepicker)=="undefined"){return;} 346$picker=$($container).find(".js-timePicker, .js-cTime, .fa-countdown");$picker.val('');try{$picker.datetimepicker('destroy');}catch(e){} 347var isSwitchOff=title===LangI.getText('app-timer-title');$picker.datetimepicker({timeOnly:true,showSecond:true,showHour:isSwitchOff?true:false,minuteMax:isSwitchOff?'59':'10',alwaysSetTime:false,timeFormat:'HH:mm:ss',showButtonPanel:true,autoClose:true,keepOpen:false,timeOnlyTitle:title,onClose:function(date,obj,param,param2){var totalSec=param.second+param.minute*60+param.hour*60*60;var title=$(this).datetimepicker('option','timeOnlyTitle');if(title==LangI.getText('app-timer-title')){TimedSwitchOffI.startTimer(totalSec);GaTrackI.ga('audio-player','timed-switch-off-'+totalSec);}else{var urlP=$container.data('url');if(urlP){AudioplayerServerI[urlP].audio.seekPlayerA(totalSec);} 348GaTrackI.ga('audio-player','seekTimepicker');}}});$($container).find(".js-timePicker").datetimepicker("show");} 349this.initDatePicker=function(){$(".datepicker").datepicker({dateFormat:this.getDateFormat()});if(typeof($(".datepicker").data('maxday'))!=="undefined"){$(".datepicker").datepicker("option","maxDate",$(".datepicker").data('maxday'));} 350if(typeof($(".datepicker").data('minday'))!=="undefined"){$(".datepicker").datepicker("option","minDate",$(".datepicker").data('minday'));} 351this.setDatepickerRegional();
351if($('.schedule-form .datepicker').length){ScheduleI.bindPicker();} 352setTimeout(function(){$(".datepicker:focus").datepicker("show");},isMobile()?1000:10);} 353this.initRangePicker=function(elem){$.datepicker._defaults.onAfterUpdate=null;var datepicker__updateDatepicker=$.datepicker._updateDatepicker;$.datepicker._updateDatepicker=function(inst){datepicker__updateDatepicker.call(this,inst);var onAfterUpdate=this._get(inst,'onAfterUpdate');if(onAfterUpdate) 354onAfterUpdate.apply((inst.input?inst.input[0]:null),[(inst.input?inst.input.val():''),inst]);} 355this.setDatepickerRegional();var cur=-1,prv=-1;$('.jrange div').datepicker({changeMonth:true,changeYear:true,showButtonPanel:true,beforeShowDay:function(date){return[true,((date.getTime()>=Math.min(prv,cur)&&date.getTime()<=Math.max(prv,cur))?'date-range-selected':'')];},onSelect:function(dateText,inst){var d1,d2;prv=cur;cur=(new Date(inst.selectedYear,inst.selectedMonth,inst.selectedDay)).getTime();if(prv==-1||prv==cur){prv=cur;$('.jrange input').val(dateText);}else{d1=$.datepicker.formatDate(self.getDateFormat(),new Date(Math.min(prv,cur)),{});d2=$.datepicker.formatDate(self.getDateFormat(),new Date(Math.max(prv,cur)),{});$('.jrange input').val(d1+' - '+d2);}},onAfterUpdate:function(inst){$('<button type="button" class="ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all" data-handler="hide" data-event="click">'+(self.detectLang()=='hu'?'Alkalmaz':'OK')+'</button>').appendTo($('.jrange div .ui-datepicker-buttonpane')).on('click',function(){$('.jrange div').hide();});}}).position({my:'left top',at:'left bottom',of:$('.jrange input')});$('.jrange input').on('focus',function(e){var v=this.value,d;try{if(v.indexOf(' - ')>-1){d=v.split(' - ');prv=$.datepicker.parseDate(self.getDateFormat(),d[0]).getTime();cur=$.datepicker.parseDate(self.getDateFormat(),d[1]).getTime();}else if(v.length>0){prv=cur=$.datepicker.parseDate(self.getDateFormat(),v).getTime();}}catch(e){cur=prv=-1;} 356if(cur>-1) 357$('.jrange div').datepicker('setDate',new Date(cur));$('.jrange div').datepicker('refresh').show();});$('.jrange').blur(function(){$('.jrange div').datepicker('refresh').hide();});} 358this.setDatepickerRegional=function(){if(dPickerLoc){$.datepicker.setDefaults(dPickerLoc);}} 359this.detectLang=function(){var lang=$('html').attr('lang');if(!lang){lang=$('.song-list-cont').data('host').match(/\.([a-z]{2})/)[1];}else if(!lang){lang='en';} 360return lang;} 361this.getDateFormat=function(){return this.dateFormats[this.detectLang()]||'dd.mm.yy';} 362this.init();} 363function OrderRadioList(){this.init=function(){if($.isFunction($.fn.sortable)){$(".scrolledRadioContentDef").sortable("enable");}else{$('body').on('click','.js-orderbyFav',function(){LoadScriptIfNeedI.loadJqueryUI(function(){$(".scrolledRadioContentDef").sortable();});});}} 364this.init();} 365var MyDatePickerI;$(document).ready(function(){$('._radioFilter').each(function(i,elem){new RadioFilterV2(elem);});MyDatePickerI=new MyDatePicker();}); 366(function($){$.fn.UItoTop=function(options){var defaults={text:'',min:200,inDelay:600,outDelay:400,containerID:'toTop',containerHoverID:'toTopHover',scrollSpeed:1000,easingType:'linear'},settings=$.extend(defaults,options),containerIDhash='#'+settings.containerID;$('body').append('<a href="#" id="'+settings.containerID+'">'+settings.text+'</a>');$(containerIDhash).hide().on('click.UItoTop',function(){$('html, body').animate({scrollTop:0},settings.scrollSpeed);return false;}).prepend('<span class="fa-angle-double-up" id="'+settings.containerHoverID+'"></span>'+LangI.getText('btn-to-top'));$(window).scroll(function(){var sd=$(window).scrollTop();if(typeof document.body.style.maxHeight==="undefined"){$(containerIDhash).css({'position':'absolute','top':sd+$(window).height()-50});} 367if(sd>settings.min){$(containerIDhash).fadeIn(settings.inDelay);setTimeout(function(){if($('.siblings-sites.no-flag').length&&(window.innerHeight>$('.siblings-sites').offset().top||window.innerHeight+200>$("body").height()||window.innerHeight+$(window).scrollTop()>$('.siblings-sites').offset().top)){$('.siblings-sites').removeClass('no-flag');}},100);}else{$(containerIDhash).fadeOut(settings.Outdelay);}});};})(jQuery);$(window).on('load',function(){if(typeof $.fn.UItoTop==='function'){$().UItoTop({easingType:'easeOutQuart'});}}); 368function LazyLoadImg(){var self=this;this.initialized=false;this.webpSupported=false;this.init=function(){if(this.initialized){return;} 369this.initialized=true;this.checkWebPBG(function(){self.bindScroll();});} 370this.bindScroll=function(){var scrollTimer=null;$(window).on('scroll.lazyLoadImg',function(){clearTimeout(scrollTimer);scrollTimer=setTimeout(function(){self.checkPicLoadingNeed();},10);});scrollTimer=setTimeout(function(){self.checkPicLoadingNeed();},10);} 371this.fireAnim=function(elem){var promoCont=elem.closest('.promo-link');if(!promoCont.length){return;} 372promoCont.addClass('onbounce');setTimeout(function(){if(!promoCont.hasClass('phear')){var sItem=promoCont.find('.radio-title');sItem.addClass('showStar');setTimeout(function(){sItem.addClass('flipanim');},400);setTimeout(function(){sItem.removeClass('flipanim');},2000);}},1000);} 373this.checkPicLoadingNeed=function(){var lConts=$('.js-lazyCont');if(!lConts.length){return;} 374var wH=window.innerHeight;var visibleConts=[];lConts.each(function(j,lCont){if(lCont.getBoundingClientRect().top<wH){visibleConts.push(lCont);}});$.each(visibleConts,function(j,lCont){lCont=$(lCont);lCont.removeClass('js-lazyCont');var imgs=lCont.find('.js-img-lload');imgs.each(function(i,elem){elem=$(elem);var img=elem[0].getAttribute('data-lazy-load');if(img&&img.indexOf('{')===0){var imageSizes=JSON.parse(img);var targetW=elem.width();var fitSize='';for(var width in imageSizes){if(targetW>=width){fitSize=imageSizes[width];}} 375img=fitSize;} 376if(self.webpSupported&&img&&img.indexOf('radio_img')>-1){img=img.replace(/\.(jpg|png)$/,'.webp');} 377if(img){elem.one('load',function(){$(this).removeAttr('data-lazy-load');});elem[0].src=img;self.fireAnim(elem);}});});} 378this.checkWebPBG=function(callback){this.check_webp_feature('lossy',function(result){self.webpSupported=result==true;if(self.webpSupported){$('body').addClass('webp-bg');}else{$('body').addClass('no-webp-bg');var logo=$('.logo_wrapper img');var logoSource=logo.attr('src');if(logoSource){logo.attr('src',logoSource.replace('.webp','.png'));}} 379if(typeof callback==='function'){callback();}});} 380this.check_webp_feature=function(feature,callback){var cachedResult=CookieManagerI.get('webp_support');if(cachedResult!==null){callback(cachedResult==true);return;} 381var kTestImages={lossy:"UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA",lossless:"UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA==",alpha:"UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAARBxAR/Q9ERP8DAABWUDggGAAAABQBAJ0BKgEAAQAAAP4AAA3AAP7mtQAAAA==",animation:"UklGRlIAAABXRUJQVlA4WAoAAAASAAAAAAAAAAAAQU5JTQYAAAD/////AABBTk1GJgAAAAAAAAAAAAAAAAAAAGQAAABWUDhMDQAAAC8AAAAQBxAREYiI/gcA"};var img=new Image();img.onload=function(){var result=(img.width>0)&&(img.height>0);CookieManagerI.set('webp_support',result?1:0,7,'/');callback(result);};img.onerror=function(){CookieManagerI.set('webp_support',0,7,'/');callback(false);};img.src="data:image/webp;base64,"+kTestImages[feature];}} 382var LazyLoadImgI=new LazyLoadImg();$(window).on('load',function(){setTimeout(function(){LazyLoadImgI.init();},10);}); 383function Menu(){var self=this;this.notiCounter=0;this.sepNotiCounter={};this.lastWidth=0;this.init=function(){if(window.innerWidth>767){return;} 384this.bindOpenClose();this.countArchivesNoti();this.bindMenuItemClick();setTimeout(function(){self.showBubbles();},4000);} 385this.showBubbles=function(){if(self.notiCounter){$('.navbar .btn-navbar_').append('<div class="noti-bubble">'+self.notiCounter+'</div>');} 386for(i in self.sepNotiCounter){$('.navbar .'+i+' .txt1').append('<div class="sub-noti-bubble">'+self.sepNotiCounter[i]+'</div>');}} 387this.countArchivesNoti=function(){if(!$('.archive-items-cont').length){return;} 388var myTime=CookieManagerI.get('noti-time');$('.archive-item').each(function(i,elem){if($(elem).data('time')>
388myTime){self.notiCounter++;self.sepNotiCounter['marchive']=(self.sepNotiCounter['marchive']||0)+1;}});} 389this.bindOpenClose=function(){if($('.opt-mobil-view').length){self.lastWidth=window.innerWidth;$('.btn-navbar').click(function(e){if($('.nav-collapse_').height()==0){self.openMenu();}else{self.closeMenu();}});$(window).resize(function(){if(self.lastWidth!=window.innerWidth){$('.nav-collapse_').css('height','0');$('.box2').css('margin-top',0);$('.menu_wrapper, .social_wrapper').attr("style","");self.lastWidth=window.innerWidth;}});}} 390this.openMenu=function(){$('.nav-collapse_').css('height','auto');var cH=$('.menu_wrapper').height()+2;$('.box2').css('margin-top',cH+5);$('.menu_wrapper, .social_wrapper').attr("style","top: "+(cH*-1)+"px !important;");if($('.mRadioPlayer').length){CookieManagerI.set('noti-time',$.now(),null,'/'+$('.mRadioPlayer').data('url'));} 391GaTrackI.ga('menu-open','1');} 392this.closeMenu=function(){$('.nav-collapse_').css('height','0');$('.box2').css('margin-top',0);$('.menu_wrapper, .social_wrapper').attr("style","");$('.noti-bubble, .sub-noti-bubble').remove();} 393this.bindMenuItemClick=function(){$('.nav a').click(function(e){var url=$(this).attr('href');GaTrackI.ga('menu-click',url,document.location.href);e.preventDefault();setTimeout(function(){document.location.href=url;},100);});} 394this.init();} 395var MenuI=null;$(document).ready(function(){MenuI=new Menu();}); 396var ISADMIN=false;$(document).ready(function(){if($('.scrolledRadioContent').length){$('.scrolledRadioContent').slimscroll({disableFadeOut:true,height:'295px'});} 397NumberCounterAnimI=new NumberCounterAnim();new EmailFixer();new FormErrorReset();$('.js-makeLink').click(function(e){e.preventDefault();document.location.href=BASE_URL+$(this).data('href');});$('.scrolledRadioContentDef').on('click','.five-pointed-star',function(e){e.preventDefault();var db=new DialogBox();db.openPopUp(LangI.getText('promo-radio-descr'),LangI.getText('promo-radio'));var ef=new EmailFixer();ef.fixText($('._popUpMessage'));GaTrackI.ga("five-promo",$(this).parents('a').attr('href'));});if(userHasSubscription()){GaTrackI.ga('user_sub');} 398if(userLoggedIn()){GaTrackI.ga('user_in');} 399$('.social a').click(function(e){GaTrackI.ga('social_icons',$(this).attr('title'));});$('.archive-items-cont a').click(function(){GaTrackI.ga('archive_promo_click',$('.archive-items-cont h3 a').attr('href'),$.trim($(this).find('.archive-item-title').text()));});$('.tracking').click(function(){GaTrackI.ga($(this).data('track-category'),$(this).data('track-action'));});$('.children-link-cont a').click(function(){GaTrackI.ga('children-link-cont',$(this).attr('title'));});$('.js-newTab').click(function(e){e.preventDefault();openInNewTab($(this).data('url'));});$('body').on('click','.grippy-host',function(){GaTrackI.ga('stcky-cls',document.location.pathname);});$('.mbreadcrumb a').click(function(e){var url=$(this).attr('href');GaTrackI.ga('breadcrumb-click',url,document.location.href);e.preventDefault();setTimeout(function(){document.location.href=url;},100);});$('.logo_wrapper a.logo').click(function(e){var url=$(this).attr('href');GaTrackI.ga('logo-click',document.location.href);e.preventDefault();setTimeout(function(){document.location.href=url;},100);});if(!isMobile()){var href=$("a[href*=viber]").attr('href');if(href){$("a[href*=viber]").attr('href',href.replace('add?number=','chat?number=+'))}} 400new SocialMenu();if(!navigator.userAgent.match(/Android/i)&&$('.androidli a').length){$('.androidli a').attr('href',$('.androidli a').data('def-url'));} 401if(UtilsI.isIOS()&&$('.iosli a').length){$('.iosli a').attr('href',$('.iosli a').attr('href').replace('https://','itms-apps://'));if(window.innerWidth<768){$('.iosli').removeClass('no-ios');}} 402new ListLinkClick();$('.icon-search, .search-light').each(function(i,elem){new IconSearch(elem);});if($('.closedRadioIframe').length&&BASE_URL.indexOf('https:')==-1){$('.closedRadioIframe').attr('src',$('.closedRadioIframe').attr('src').replace("https:","http:"));$('.cover-slider-cont').hide();} 403new DottedText();new TrimDescr();var ssp=LangI.getText('ssp-index');var promoIndex=ssp+'_promo_v2';if(ssp!="-"&&CookieManagerI.getPageVisitNum()>6&&!CookieManagerI.get(promoIndex)&&MyConfigI.get('subModeLvL')>-1){CookieManagerI.set(promoIndex,'1','60','/');var pTxt=LangI.getText('sibling-site-promo');if(true||pTxt.indexOf('utm_source='+LangI.langLocale)==-1){var db=new DialogBox();db.openPopUp(pTxt,LangI.getText('shazam-attention'),false,null,null,fal
403se);}}else if(CookieManagerI.getPageVisitNum()>13&&!CookieManagerI.get('web-app-promo-sub')&&LangI.actLang=="ro"&&LangI.getText('web-app-sub-promo-title')!=""&&!userHasSubscription()){var db=new DialogBox();var msg=LangI.getText('web-app-sub-promo-descr');msg=msg.replace('{androidUrl}',$('.androidli a').attr('href'));msg=msg.replace('{iosUrl}',$('.iosli a').attr('href'));db.openPopUp(msg,LangI.getText('web-app-sub-promo-title'));CookieManagerI.set('web-app-promo-sub','1',40);}else if(CookieManagerI.getPageVisitNum()>7&&typeof(rInfo)!="undefined"&&!CookieManagerI.get('plyr-func-promo-eq')){var db=new DialogBox();db.openPopUp(LangI.getText('new-func-promo-dscr'),LangI.getText('new-func-promo-title'),null,null,null,true);CookieManagerI.set('plyr-func-promo-eq','1','70','/');} 404new h1Link();new LostInternetDetect();setTimeout(function(){$('body').addClass('domready');if($('.listLiveNum').length&&window.innerWidth>979){NumberCounterAnimI.refreshNum('.listLiveNum .js-listViewNum',$('.listLiveNum .js-listViewNum').data('num'));}},100);if(window.innerWidth<768&&$('.song-cover-cont .errorMessage').length){setTimeout(function(){if(!$(".popup_layer:visible").length){var db=new DialogBox();db.openPopUp($('.song-cover-cont .errorMessage').html(),LangI.getText('system-message'));}},5000);} 405if(document.location.hash.indexOf('wpnoti')>-1){GaTrackI.ga(document.location.hash.substring(1));} 406if($('meta[name="referrer"]').length){CookieManagerI.set('nrf','1');}});function LostInternetDetect(){this.init=function(){window.addEventListener('online',function(){LoadScriptIfNeedI.loadLiveVideoNotification(function(){NotificationI.pushNotification(LangI.getText("app-network_ok"),true);});});window.addEventListener('offline',function(){LoadScriptIfNeedI.loadLiveVideoNotification(function(){NotificationI.pushNotification(LangI.getText("app-network_error"),true);});});} 407this.init();} 408function SocialMenu(){var self=this;this.timer=null;this.init=function(){this.setIconsVisibility();$(window).resize(function(){clearTimeout(self.timer);self.timer=setTimeout(function(){self.setIconsVisibility();},500);});} 409this.setIconsVisibility=function(){if(window.innerWidth<391&&$('.social li').length>7){this.hideShowIOSAndr();}else if(window.innerWidth<480&&$('.social li').length>8){this.hideShowIOSAndr();}} 410this.hideShowIOSAndr=function(){if(UtilsI.isIOS()){if($('.iosli').hasClass('over-8')){$('.androidli').addClass('over-8');$('.iosli').removeClass('over-8');}else if($('.iosli').hasClass('over-7')){$('.androidli').addClass('over-7');$('.iosli').removeClass('over-7');}}else{if($('.iosli').hasClass('over-8')){$('.iosli').addClass('over-8');$('.androidli').removeClass('over-8');}else if($('.iosli').hasClass('over-7')){$('.iosli').addClass('over-7');$('.androidli').removeClass('over-7');}}} 411this.init();} 412function TrimDescr(){var self=this;this.init=function(){if(!$('.trimmed-text, .trimmed-box-2').length){return;} 413var timeSrc=null;$(window).resize(function(){clearTimeout(timeSrc);timeSrc=setTimeout(function(){self.checkTrimmedBoxes();},500);});var timeSrc2=null;$(window).scroll(function(){clearTimeout(timeSrc2);timeSrc2=setTimeout(function(){self.checkTrimmedBoxesOnScreen();},300);});setTimeout(function(){self.checkTrimmedBoxes();self.checkTrimmedBoxesOnScreen();},10);} 414this.checkTrimmedBoxesOnScreen=function(){var windowHeight=window.innerHeight||document.documentElement.clientHeight;var coverItems=document.querySelectorAll('.coveritem');var visibleItems=[];var hiddenItems=[];for(var i=0;i<coverItems.length;i++){var elem=coverItems[i];var rect=elem.getBoundingClientRect();if(rect.top<windowHeight&&rect.bottom>0){visibleItems.push(elem);}else{hiddenItems.push(elem);}} 415for(var j=0;j<visibleItems.length;j++){visibleItems[j].classList.add('run-angle-anim');} 416for(var k=0;k<hiddenItems.length;k++){hiddenItems[k].classList.remove('run-angle-anim');}} 417this.checkTrimmedBoxes=function(){var $elements=$('.trimmed-text:not(.dis-trimm)');var trimmedElements=[];$elements.find('.coveritem').remove();$elements.each(function(i,elem){var $elem=$(elem);var realH=elem.scrollHeight;var heightLimit=elem.offsetHeight;if(!heightLimit){heightLimit=$elem.hasClass('v275')?275:350;} 418if(realH>heightLimit){var $whiteLink=$elem.find('.white-link').eq(0);var href=$whiteLink.attr('href');trimmedElements.push({elem:elem,heightLimit:heightLimit,href:href,text:$whiteLink.text()});}});$.each(trimmedElements,function(i,data){var $elem=$(data.elem);if(data.heightLimit==275&&data.href){$elem.append('<a aria-label="'+data.text.replace('"','')+'" href="'+data.href.replace('#map','')+'" class="coveritem"><span class="fa fa-angle-double-down"></span></a>');}
418else{$elem.append('<div class="coveritem"><span class="fa fa-angle-double-down"></span></div>');}});$('.trimmed-text').off('click.trimDescr').on('click.trimDescr',function(){var $elem=$(this);var $coverItem=$elem.find('.coveritem');if(!$coverItem.attr('href')){$elem.addClass('open dis-trimm');$coverItem.remove();}});} 419this.init();} 420function DottedText(){this.init=function(){$('.more-link').click(function(){$(this).parent().addClass('show-more-text');});} 421this.init();} 422function IconSearch(elem){var self=this;this.$elem=$(elem);this.onlyMobile=false;this.init=function(){if(this.$elem.parent('.search-menu').length){this.onlyMobile=true;} 423this.bindOpen();this.bindClose();} 424this.bindOpen=function(){this.$elem.find('i').click(function(){MenuI.closeMenu();if($('.isMainPage').length&&$(this).parents('.search-menu').length){$('.radiosList .fa-search').click();$("html").scrollTop($('#Grid').offset().top);return;} 425self.$elem.find('.fa-search').hide();if(!self.onlyMobile){$('.s-hide').hide();}else{$('.social_wrapper').addClass('open-search');} 426self.$elem.addClass('open');self.$elem.find('[itemprop="query-input"]').focus();GaTrackI.ga('radio_list_searchopen',$('._radioFilter').length+self.$elem.find('[itemprop="query-input"]').attr('id'));});} 427this.bindClose=function(){this.$elem.find('.fa-close').click(function(){self.$elem.find('.fa-search').show();if(!self.onlyMobile){$('.s-hide').show();}else{$('.social_wrapper').removeClass('open-search');} 428self.$elem.removeClass('open');});} 429this.init();} 430function ListLinkClick(){this.init=function(){$("body").on('click','.radiosListLink',function(){GaTrackI.ga('radiosListLinkTarget_'+$(".isSubPage").length,$(this).attr('href'));});} 431this.init();} 432function FormErrorReset(){this.init=function(){$('.errorForm').change(function(){$(this).removeClass('errorForm');});} 433this.init();} 434function EmailFixer(){var self=this;this.init=function(){$('.js-fix-email').each(function(i,elem){self.fixText(elem);$(elem).removeClass('js-fix-email');});} 435this.fixText=function(elem){var html=$(elem).html().replace(/\[kukac\]/g,'@');$(elem).html(html);var subject=$(elem).data('subject');if(subject){var href=$(elem).find("[href*=mailto]").attr('href');if(href.indexOf(subject)==-1){$(elem).find("[href*=mailto]").attr('href',href+'?subject='+subject);}}} 436this.init();} 437function h1Link(){this.initialize=function(){$('.h1Link').click(function(){var hrf=$(this).data('url');if(hrf){window.top.location.href=hrf;}});} 438this.initialize();} 439function rand(min,max){if(min==null&&max==null){return 0;} 440if(max==null){max=min;min=0;} 441return min+Math.floor(Math.random()*(max-min+1));} 442function openInNewTab(url){var win=window.open(url,'_blank');win.focus();} 443function ClosePageListener(){this.addItem=function(callback){window.addEventListener("beforeunload",function(){callback();},false);}} 444ClosePageListenerI=new ClosePageListener();var NumberCounterAnimI;function NumberCounterAnim(){this.refreshNum=function(selector,tNumber){$(selector).each(function(){var fromNum=parseInt($(selector).html());fromNum=isNaN(fromNum)?0:fromNum;var $this=$(this);jQuery({Counter:fromNum}).animate({Counter:tNumber},{duration:2000,easing:'swing',step:function(){$this.text(Math.ceil(this.Counter));},complete:function(){$(selector).html(tNumber);}});});}} 445function userLoginEnabled(){return $(".js-userLoginBtn").length?true:false;} 446function userLoggedIn(){return CookieManagerI.get('mor-token')?true:false;} 447function userHasSubscription(){if(CookieManagerI.get("stpdsck")&&CookieManagerI.get("stpdsck").length>1){return true;} 448if(!userLoggedIn()||MyConfigI.get('subModeLvL')<1){return false;} 449return $('.hasSub').length?true:false;} 450function saveUserSettings(data,showDialog){if(!userLoggedIn()){return;} 451$.ajax({'url':BASE_URL+'/user/method/save-settings','data':data,'method':'post',}).done(function(){if(showDialog){var db=new DialogBox();db.openPopUp(LangI.getText('user-save-ok'));UserProfileI.saveCurrentFormData();}});} 452function getUserSettings(index){if(!userLoggedIn()||typeof(UserSettings)=="undefined"){return false;} 453if(UserSettings[index]=="0"){return false;} 454return UserSettings[index];} 455function Utils(){var self=this;var lastFocusState=null;this.isIOS=function(){return/iPad|iPhone|iPod/.test(navigator.userAgent);} 456this.isSafari=function(){return/iP(ad|hone|od).+Version\/[\d\.]+.*Safari/i.test(navigator.userAgent);} 457this.checkLyricsAllow=function(){if(!$('.song-list-cont').length||$('.song-list-cont').data('dis-lyr')){return false;} 458return true;} 459this.initFocusListener=function(callback){var hidden,visibilityChange;if(typeof document.hidden!=="undefined"){hidden="hidden";visibilityChange="visibilitychange";}else if(typeof document.mozHidden!=="undefined"){hidden="mozHidden";visibilityChange="mozvisibilitychange";}else if(typeof document.msHidden!=="undefined"){hidden="msHidden";visibilityChange="msvisibilitychange";}else if(typeof document.webkitHidden!=="undefined"){hidden="webkitHidden";visibilityChange="webkitvisibilitychange";} 460setTimeout(function(){GaTrackI.ga('send','event','focus','e'+(document[hidden]?0:1));},5000);if(visibilityChange){document.addEventListener(visibilityChange,function(){callback(hidden);},false);}} 461this.initFocusListenerV2=function(callback){this.initFocusListener(function(hidden){self.runFocusChange(!document[hidden],callback);});window.addEventListener('pagehide',function(){self.runFocusChange(false,callback);});window.addEventListener('pageshow',function(){self.runFocusChange(true,callback);});} 462this.runFocusChange=function(state,callback){var current=state;if(lastFocusState===current) 463return;lastFocusState=current;callback(state);} 464this.getDateByServerOffset=function(){var serverOffsetSeconds=$('html').attr('data-time-zone');var now=new Date();var utcMs=now.getTime()+(now.getTimezoneOffset()*60000);var serverMs=utcMs+(parseInt(serverOffsetSeconds,10)*1000);var d=new Date(serverMs);function pad2(n){return n<10?'0'+n:''+n;} 465return d.getFullYear()+'-'+pad2(d.getMonth()+1)+'-'+pad2(d.getDate());}} 466var UtilsI=new Utils(); 467function MyMarquee(){var self=this;
467this.init=function(){$('.sf-menu .over1').mouseenter(function(){self.runEnter($(this).siblings('.js-marquee')[0]);});$('.sf-menu .over1').mouseleave(function(){self.rundLeave($(this).siblings('.js-marquee')[0]);});$(".scrolledRadioContentDef, .marquee-cont, .item-box.mrecom").on('mouseenter','.js-marquee',function(){self.runEnter(this);});$(".scrolledRadioContentDef, .marquee-cont, .item-box.mrecom").on('mouseleave','.js-marquee',function(){self.rundLeave(this);});} 468this.runEnter=function(cont){$(cont).css('text-overflow','clip');var span=$(cont).find('span').eq(0);var fullW=$(cont).width();var fullWS=span.width();if(fullW>=fullWS){return;} 469var speed=(fullWS-fullW+2)*25;cont.myAnim=span.animate({'margin-left':(fullWS-fullW+2)*-1},speed,"linear");} 470this.rundLeave=function(cont){if(cont&&cont.myAnim){$(cont).find('span').css('margin-left','0');$(cont).css('text-overflow','ellipsis');cont.myAnim.stop();}} 471this.init();} 472$(document).ready(function(){if(!isMobile()){new MyMarquee();}}); 473var FB;var FBSDK;function Fbsdk(){var self=this;this.appId='';this.userID=null;this.accessToken=null;this.timeSrc=null;this.commentIDs=new Array();this.needFB=false;this.apiV='v20.0';this.authStatus=0;this.callbackInitStack=null;this.callbackLoginStack=null;this.init=function(){if(this.appId!=''){return;} 474this.appId=parseInt($("body").attr('data-fb-api-id'));if(getUserSettings('fb-off')){$('.fb-shrbtn, .js-fbSend, [class^="fb-like"], [class^="fb-page"], .isMainPage .span3').remove();} 475if($('[class^="fb-"]').length&&!navigator.userAgent.match(/SMART-TV|SmartTV|Smart TV/i)){self.initScrollListener();}else{$('.js-fbSend, [class^="fb-"]').remove();}} 476this.startFB=function(){window.fbAsyncInit=function(){FB.init({appId:self.appId,status:true,cookie:false,version:self.apiV,xfbml:true});FB.Event.subscribe('message.send',function(response){$('.js-fbSend h3').html(LangI.getText('lyrics-help-thanks')+" :)");GaTrackI.ga('fb-functions','message.send');$.ajax({type:"POST",url:BASE_URL+"/send-button-notify",data:{'data':response}});});
476FB.Event.subscribe('comment.create',function(response){if(self.commentIDs.indexOf(response.commentID)!==-1){return;} 477self.commentIDs.push(response.commentID);$.ajax({type:"POST",url:BASE_URL+"/commentbox-notify",data:{'data':response}});GaTrackI.ga('fb-functions','comment.create');});FB.Event.subscribe('xfbml.render',function(response){if($('.fb-comments iframe').length){var src=$('.fb-comments iframe').attr('src');var width=$(".fb-comments").parent().width()-20;$('.fb-comments iframe').attr('src',src.replace(/width=\d*/g,'width='+width));}});self.bindClickListen();if(self.callbackInitStack!=null){self.callbackInitStack();}};var locale=$("html").data('locale');if(LangI.actLang=="de"){locale="de_DE";} 478(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(d.getElementById(id)) 479return;js=d.createElement(s);js.id=id;js.async=true;js.defer=true;js.src="//connect.facebook.net/"+locale+"/sdk.js#xfbml=1&version="+self.apiV+"&appId=702858859794237";fjs.parentNode.insertBefore(js,fjs);}(document,'script','facebook-jssdk'));} 480this.initScrollListener=function(){$(window).scroll(function(){if(!$('.lazy-social').length){return;} 481self.checkInitNeed();});self.checkInitNeed(true);} 482this.checkInitNeed=function(noParse){var wH=window.innerHeight+$(window).scrollTop()+100;var reInitNeed=false;$('.lazy-social').each(function(i,elem){if(wH>$(elem).offset().top&&!$(elem).is(":hidden")){var t=$(elem).removeClass('lazy-social').attr('class').replace('-lazy-social','');$(elem).attr('class',t);reInitNeed=true;if(false&&$(elem).parents('.errorReportCont').length){$(elem).parents('.errorReportCont').addClass('js-bounceBox');}}});if(reInitNeed&&!FB){self.startFB();}else if(reInitNeed&&!noParse){FB.XFBML.parse();}} 483this.bindClickListen=function(){window.addEventListener('blur',function(){if(document.activeElement&&document.activeElement.nodeName=="IFRAME"){var mFrame=$(document.activeElement);var src=mFrame.attr('src');if(src&&(src.indexOf("cfusion")>-1||(mFrame.attr('class')&&mFrame.attr('class').indexOf('js-lgenFrame')>-1))){GaTrackI.ga("leadgen_click",'1');$.ajax({'url':BASE_URL+'/view.gif/'+btoa('/leadgen_click')});return;} 484if(mFrame.hasClass('fb-fanbox-layer')){GaTrackI.ga("radio-affi-hit",src);}else if(mFrame.hasClass('affi-frame')){GaTrackI.ga("radio-affi-hit",src);} 485if(src&&src.indexOf("youtube")==-1&&src.indexOf("facebook")==-1&&src.indexOf("soundcloud")==-1){if(src.indexOf('googlesyndication.')>-1||src.indexOf('doubleclick.net')>-1){GaTrackI.ga("frame-src",'gdsns');}else{GaTrackI.ga("frame-src",src);} 486if(isMobile()&&src.indexOf("googleads")>-1){if($('.js-appAdv').data('shild-closed')>$.now()-5000){GaTrackI.ga('ad-shild','2');}}} 487if(!src||src.indexOf('facebook')==-1||src.indexOf('googleads')>-1){return;} 488var href=src.match(/href=([^&]*)/);var action=src.match(/action=([^&]*)/);var type="like";if(action){type=action[1];}else if(src.match(/page\.php/)){type="page";}else if(src.match(/video\.php/)){type="videoplay";} 489var send=src.match(/send=([^&]*)/);type+=send&&send[1]=="true"?'_send':'';var share=src.match(/share=([^&]*)/);type+=share&&share[1]=="true"?'_share':'';if($(document.activeElement).data('extra')){type+='_'+$(document.activeElement).data('extra');} 490if(type=="like"){if($('body').hasClass('isMainPage')){type+="_main";}else{type+="_sub";}} 491var visitNum=Math.floor(CookieManagerI.getPageVisitNum()/10);try{if(href&&href.length){GaTrackI.ga('fb-event',type,href[1]+' - '+visitNum);}}catch(e){ConsoleDebuggerI.pushMsg("FB event error: "+e.toString()+' - '+src+" #important");}}});} 492this.startPureChat=function(){if((!MyConfigI.get('page_id'))||typeof(ConsoleDebuggerI)=="undefined"||CookieManagerI.get('consoleDebugger')!="1"){return;} 493try{var html='<div class="fb-customerchat"\ 494 attribution="setup_tool"\ 495 page_id="'+MyConfigI.get('page_id')+'"\ 496 minimized="false"\ 497 greeting_dialog_delay="0"\ 498 logged_in_greeting="'+LangI.getText('stdebug-messenger-start')+'"\ 499 logged_out_greeting="'+LangI.getText('stdebug-messenger-start')+'">\ 500 </div>';$("body").append(html);window.fbAsyncInit=function(){FB.init({appId:self.appId,status:true,version:self.apiV,xfbml:true});FB.Event.subscribe('messaging_postbacks',function(response){console.log("response",response);});};(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(d.getElementById(id)) 501return;js=d.createElement(s);js.id=id;js.src='https://connect.facebook.net/'+LangI.langLocale+'/sdk/xfbml.customerchat.js';fjs.parentNode.insertBefore(js,fjs);}(document,'script','facebook-jssdk'));}catch(e){ConsoleDebuggerI.pushMsg("PurechatApi: "+e.toString());}} 502this.bindFbShare=function(){$('.fb-shrbtn').click(function(){window.open('https://www.facebook.com/sharer/sharer.php?u='+window.location.href,'facebook-share-dialog','width=800,height=600');GaTrackI.ga('fbshrbtn',window.location.pathname);});}} 503FBSDK=new Fbsdk();$(window).on('load',function(){var time=$(".push-news-noti-info").length?6000:10000;if($('.js-loginFacebook').length||document.location.hash.indexOf("#facebook-comment")>-1||getUserSettings('fb-off')){time=0;} 504setTimeout(function(){FBSDK.init();},time);setTimeout(function(){FBSDK.bindFbShare();},1000);}); 505function RadioListSongs(){var self=this;this.timeSrc=null;this.focus=true;this.lastSync=0;this.requestOn=false;this.onScreen=false;this.scrollTimer=null;this.timeFreq=60;this.init=function(){if(!$('.scrolledRadioContentDef').length){return;} 506this.lastSync=$('.scrolledRadioContentDef').data('last-refreh');this.onScreenListener();UtilsI.initFocusListener(self.initFocusListener);} 507this.sendRequest=function(){if(this.requestOn){return;} 508if(this.onScreen===false){return;} 509var tStamp=self.getNowTimestamp();if(tStamp<self.lastSync+self.timeFreq){self.delayNextRequest();return;} 510this.requestOn=true;self.lastSync=this.getNowTimestamp();
510$.ajax({'async':true,'url':BASE_URL+'/get-radio-list-songs','cache':false,'dataType':'json'}).done(function(resp){self.refreshSongList(resp);self.delayNextRequest();self.requestOn=false;});} 511this.refreshSongList=function(radios){if(!radios){return;} 512var radioElements=document.querySelectorAll('.mradio.radiosListLink[data-rid]');for(var i=0;i<radioElements.length;i++){var radioElement=radioElements[i];var rid=radioElement.getAttribute('data-rid');var radioData=radios[rid];if(!radioData||!radioData['title']){continue;} 513var icon=radioData['type']==2?'fa fa-volume-up':'fa fa-music';var title=''+radioData['title'];var titleElements=radioElement.querySelectorAll('.program-name span');for(var j=0;j<titleElements.length;j++){var titleElement=titleElements[j];if(titleElement.className!=icon){titleElement.className=icon;} 514if(titleElement.textContent!=title){titleElement.textContent=title;}}}} 515this.delayNextRequest=function(){clearTimeout(self.timeSrc);self.timeSrc=null;this.timeSrc=setTimeout(function(){self.sendRequest();},this.timeFreq*1000);} 516this.initFocusListener=function(hidden){clearTimeout(self.timeSrc);self.timeSrc=null;if(document[hidden]){self.focus=false;}else{self.focus=true;self.sendRequest();self.delayNextRequest();}} 517this.onScreenListener=function(){$(window).off('scroll.radioListSongs').on('scroll.radioListSongs',function(){clearTimeout(self.scrollTimer);self.scrollTimer=setTimeout(function(){self.checkOnScreen();},100);});self.scrollTimer=setTimeout(function(){self.checkOnScreen();},10);} 518this.checkOnScreen=function(){var elements=document.querySelectorAll('.scrolledRadioContentDef');var windowHeight=window.innerHeight||document.documentElement.clientHeight;var onScreen=false;for(var i=0;i<elements.length;i++){var rect=elements[i].getBoundingClientRect();if(rect.left==rect.right&&rect.top==rect.bottom){continue;} 519if(rect.top+40<windowHeight){onScreen=true;break;}} 520self.onScreen=onScreen;if(self.onScreen){if(!self.timeSrc){self.sendRequest();}}else{clearTimeout(self.timeSrc);self.timeSrc=null;}} 521this.getNowTimestamp=function(){return Math.floor(Date.now()/1000);} 522this.init();} 523$(document).ready(function(){new RadioListSongs();}); 524var DialogStack=new Array();function DialogBox(noReset){var self=this;this.closeCallback=null;this.okCallback=null;this.initialize=function(noReset){if($(".overlay").length&&$(".popup_layer").data("auto-open")==true){this.openPopUp($('._popUpMessage').html(),$('._popUpTitle').html());$(".popup_layer").data("auto-open",'0');} 525if(!noReset){$(".popup_layer ._close").unbind('click');this.resetConfirm();} 526this.listenResize();} 527this.openPopUp=function(msg,title,disableButtons,maxHeight,maxWidth,onlyCloseBtn,forceOpen){if(!$(".overlay").length||(!msg&&!title)){return;} 528$('._popUpMessage').html(msg);if(title){$('._popUpTitle').show();$('._popUpTitle').html(title);}else{$('._popUpTitle').hide();} 529if(disableButtons){$('.layer_cont').addClass('disable-btns');}else{$('.layer_cont').removeClass('disable-btns');} 530$(".overlay").css('display','block');$(".popup_layer").css('display','block');if(maxWidth){$('.layer_cont').css('max-width',maxWidth);}else{$('.layer_cont').css('max-width','none');}
531this.bindClosePopUp(onlyCloseBtn);this.checkContentHeight(maxHeight);this.resizeFrame();this.setCenter();if(AddAdsV2I.hasAdblock()&&$(".overlay").css('display')=="none"){alert(msg.replace(/(<([^>]+)>)/gi,""));}} 532this.bindClosePopUp=function(onlyCloseBtn){$(onlyCloseBtn?"._close.fa-close, .button_blue._close":"._close").click(function(e){e.preventDefault();if($(this).hasClass('button_red')||self.closeCallback===self.okCallback){if(self.closeCallback!==null){self.closeCallback();self.closeCallback=null;}} 533if($(this).hasClass('button_blue')&&self.closeCallback==null){if(self.okCallback!==null){self.okCallback();self.okCallback=null;}} 534self.closePopUp();self.checkDialogStack();});} 535this.checkDialogStack=function(){if(DialogStack.length){setTimeout(function(){var data=DialogStack.pop();if(typeof(data)!="undefined"){var db=new DialogBox();db.openPopUp(data['msg'],data['title'],data['disableButtons'],data['maxHeight'],data['maxWidth'],data['onlyCloseBtn']);}else{self.checkDialogStack();}},1000);}} 536this.bindCloseCallback=function(callback){this.closeCallback=callback;} 537this.bindOkCallback=function(callback){this.okCallback=callback;} 538this.closePopUp=function(){if($(".overlay").length){$(".popup_layer").hide();$(".overlay").hide();$('._popUpMessage').html('');$('.layer_cont').css('text-align','');}} 539this.bindConfirm=function(callbackYes,callbackNo,align){if(align){$('.layer_cont').css('text-align',align);}else{$('.layer_cont').css('text-align','left');} 540this.resetConfirm();$(".layer_cont button._close").html(LangI.getText('shazam-succ-quest-no')).addClass('button_red');$(".layer_cont button._close").after('<button class="button_blue js-confirmOk" style="margin-left: 20px;" type="submit">'+LangI.getText('shazam-succ-quest-yes')+'</button>');if(callbackYes){$('.js-confirmOk').click(callbackYes);} 541if(callbackNo){$(".layer_cont button._close.button_red,.layer_cont ._close,.popup_layer .overlay._close").click(callbackNo);}} 542this.resetConfirm=function(){if($(".layer_cont button").length<2){return;} 543$('.js-confirmOk, .layer_cont button._close.button_red,.layer_cont ._close').unbind('click');$(".layer_cont button").eq(1).remove();$(".layer_cont button").removeClass('button_red');$(".layer_cont button").html($(".layer_cont button").data('original'));} 544this.setContent=function(text){$('.popup_layer ._popUpMessage').html(text);} 545this.setTitle=function(text){$(".popup_layer ._popUpTitle").html(text);} 546this.setCenter=function(){var STop=$(window).scrollTop();var wWidth=$(window).width()-15;var wHeight=window.innerHeight;var boxH=$('.layer_cont').outerHeight();var boxW=$('.layer_cont').outerWidth();var t=STop+wHeight/2-boxH/2;t=(t<15)?15:t;if(STop>t){t=STop;} 547var left=wWidth/2-boxW/2;if(left<=0){left=0;} 548$('.layer_cont').css({'top':t,'left':left});} 549this.setTitleAlign=function(align){$('._popUpTitle').css('text-align',align);} 550this.listenResize=function(){$(window).resize(function(){self.resizeFrame();self.setCenter();});} 551this.resizeFrame=function(){if($('.layer_cont').hasClass('disable-btns')&&!$('.affi-frame').hasClass('fix-height')&&$('.layer_cont').find('iframe').length){var $frame=$('.layer_cont').find('iframe');var w=$frame.attr('width');var rw=$frame.width();var h=$frame.attr('height');var ratio=h/w;var nH=rw*ratio;if(nH>window.innerHeight){nH=(window.innerHeight>500?500:window.innerHeight-50);$frame.css('width',nH/ratio+'px');} 552$frame.css('height',nH+'px');}} 553this.checkContentHeight=function(maxHeight){if(typeof(maxHeight)=="undefined"||maxHeight==null){if($('.layer_cont .slimScrollDiv').length){$(".popup_layer ._popUpMessage").slimScroll({destroy:true});$(".popup_layer ._popUpMessage").css('height','auto');} 554return;} 555var options={disableFadeOut:false,height:'300px',};if(typeof(slimscroll)!="undefined"){$('.popup_layer ._popUpMessage').slimscroll(options);}} 556this.detectUserInteraction=function(){} 557this.initialize(noReset);} 558$(document).ready(function(){new DialogBox(true);}); 559function CookiePolicy(){var self=this;this.cookieM=new CookieManager();this.init=function(){if(MyConfigI.get("sgdpr")||$('.is-app').length||$('.embed').length||(typeof(MyCmpI)!="undefined"&&MyCmpI!=null&&MyCmpI.isLoaded==true)){return;} 560this.checkStatus();} 561this.bindClose=function(){$('.js-cookiePolicyOke').click(function(e){e.preventDefault();$(".cookie-policy").css('display','none');self.cookieM.set('CookiePolicyOke','1','365','/');GaTrackI.ga('cookie-policy-accept');})} 562this.checkStatus=function(){if(this.cookieM.get('CookiePolicyOke')!="1"){this.showLayer();GaTrackI.ga('send','event','cookie-a',0);}else{GaTrackI.ga('send','event','cookie-a',1);}} 563this.showLayer=function(){var posT=window.innerWidth<=480&&!$(".embed").length&&$('.html5Player').length?1:0;var plusC='bottom:0;';if(posT){plusC='top:0;';} 564var html='';html+='<div class="cookie-policy" style="'+plusC+'">';html+=LangI.getText('accept-cookie-txt',null,{"{cookie-url}":$(".ppurl").attr("href").replace("privacy-policy","cookie")});html+='<div class="cookie-policy-covcer"></div>';html+='</div>';$("body").append(html);this.bindClose();if(posT){$(".cookie-policy").css('display','block');}else{$(".cookie-policy").fadeIn();}} 565this.init();} 566$(document).ready(function(){new CookiePolicy();}); 567function MyRadioList(){var self=this;this.reqRun=false;this.maxPage=null;this.bigestPage=1;this.historyMod=false;this.originElem;this.cache={};this.init=function(){this.historyMod=$('.isMainPage').length;this.originElem=$('.radiosList .scrolledRadioContentDef .radiosListLink').eq(0).clone(false);this.originElem.removeClass('button2').removeClass('promo-link');$('.icon-select[for="orderSelect"]').change(function(){if($('.icon-select[for="orderSelect"] o
567ption:selected').attr('data-sort').indexOf('asc')!=-1){$('.icon-select[for="orderSelect"] i').attr('class','fa fa-sort-amount-asc');}else{$('.icon-select[for="orderSelect"] i').attr('class','fa fa-sort-amount-desc');}});$("#orderSelect, #categorySelect").change(function(){var isCatSelect=$(this).attr('id')=="categorySelect";if(isCatSelect&&DeskFawsI.favIsOn()){DeskFawsI.hideFavs();} 568if(DeskFawsI.favIsOn()){MyRadioListI.loadExtraRFav(DeskFawsI.getFavData());}else{self.loadRadioList($("#orderSelect").val(),0);} 569if(!isCatSelect){var cm=new CookieManager();var ord=$(this).val();cm.set("orderSelect",ord,null,"/");GaTrackI.ga('sortlist',ord);} 570saveUserSettings({'order':ord});GaTrackI.ga($(this).attr('id')+$(this).val());});$('.js-moreRadioBtn').click(function(e){e.preventDefault();self.loadRadioList($("#orderSelect").val(),1);});if(this.historyMod){this.bindHistoryListener();}} 571this.loadRadioList=function(ord,append,actP,rids,callback){if(this.reqRun){return;} 572this.reqRun=true;if(actP==null){actP=self.getActPageNum()+1;} 573if(append==0){actP=1;} 574var cat=$('#categorySelect').val();if(cat=="0"||rids){$('.fa-books').removeClass('ico-blue');}else{$('.fa-books').addClass('ico-blue');GaTrackI.ga('cat_list_'+cat);} 575var sData={'ord':ord,'actP':actP,'rids':rids,'type':$('._radioFilter').data('type'),'cat':cat};var hash=window.btoa(JSON.stringify(sData));if(self.cache[hash]){self.processResp(actP,append,self.cache[hash],callback);self.reqRun=false;return;} 576$.ajax({'url':BASE_URL+'/get-radio-list','data':sData,'method':'post','dataType':'json',}).done(function(resp){self.cache[hash]=resp;self.processResp(actP,append,resp,callback);self.reqRun=false;});} 577this.processResp=function(actP,append,resp,callback){self.setActPageNum(actP);if(append==2){self.refreshRadioList(resp);}else if(append==1){self.modifyHistory("Page","/"+$('.radiosList .scrolledRadioContentDef').data('url')+"/"+actP);self.appendRadios(resp['radios']['list']);}else{self.refreshRadioList(resp);self.modifyHistory("Page","/");} 578$('.frf').removeClass('frf');$('.radiosList .scrolledRadioContentDef').append($('.coveritem.js-moreRadioBtn'));if(!resp.moreP){$('.js-moreRadioBtn').hide();self.maxPage=self.getActPageNum();}else{$('.js-moreRadioBtn').removeClass('hide').show();} 579self.bigestPage=self.getActPageNum();if(callback!=null){callback();}} 580this.refreshRadioList=function(resp,clearOld){if(clearOld&&document.location.pathname!='/'){self.modifyHistory("Page","/");} 581$('.radiosList .scrolledRadioContentDef .radiosListLink').hide();self.appendRadios(resp['radios']['list'],resp['flags']);$('.radiosList .scrolledRadioContentDef .radiosListLink:not(.frf)').remove();$('.radiosList .scrolledRadioContentDef .radiosListLink').show();if(clearOld){$('.frf').removeClass('frf');if(!resp.moreP){$('.js-moreRadioBtn').hide();}else{$('.js-moreRadioBtn').show();}}} 582this.sortRadios=function(radios){if(!isMobile()){$('.radiosList .scrolledRadioContentDef').attr('style','opacity:0;');} 583for(i in radios){var rC=$('.radiosList .scrolledRadioContentDef .radiosListLink').eq(i);self.refreshRadioInfo(rC,radios[i]);rC.addClass("rfr");} 584$(".radiosListLink:not(.rfr)").remove();$(".rfr").removeClass("rfr");if(!isMobile()){$('.radiosList .scrolledRadioContentDef').fadeTo("slow",1);}} 585this.appendRadios=function(radios,needFlag){for(i in radios){var celem=self.originElem.clone(false);self.refreshRadioInfo(celem,radios[i],needFlag);$(celem).addClass('frf').removeClass('favRadio').attr('data-pNum',self.getActPageNum());$('.radiosList .scrolledRadioContentDef').append(celem);}} 586this.eraseUnusedRadios=function(){var ap=self.getActPageNum();for(var i=1;i<=self.bigestPage;i++){if(ap<i){$('.radiosListLink[data-pNum="'+i+'"]').remove();}} 587if(self.maxPage!=null&&ap<self.maxPage){$('.js-moreRadioBtn').show();}} 588this.refreshRadioInfo=function(rC,data,needFlag){var $radioTitle=rC.find('.radio-title');var r_name=data.r_name;var link=data.r_urlname;var externalLink=data.r_urlname.indexOf('http')>-1;if(externalLink){link+='?'+GaTrackI.createGaTrackURL(document.location.host,'web','search');} 589if(externalLink||needFlag){r_name='<span class="flag-icon flag-icon-squared flag-icon-'+data.lng+'" role="img" aria-label="'+data.country+'" title="'+data.country+'"></span>'+r_name;} 590if(data.rsu_id>0&&link.indexOf('#server')==-1){link+='#server'+data.rsu_id;} 591if(typeof rInfo!='undefined'&&data.rid==rInfo['rid']){rC.addClass('button2');}else{rC.removeClass('button2');} 592if(LangI.actLang=='hu'&&!needFlag&&!externalLink&&$('.webp-bg').length){data.settings.list_45=data.settings.list_45.replace(/\.(jpg|png)$/,'.webp');}
593rC.attr('data-pNum',self.getActPageNum()).attr('data-name',data.r_name).attr('title',data.r_name).attr('data-rid',data.rid).attr('href',link).data('src',data.rsu_url);rC.find('.radio-title span').html(r_name);var $radioImg=rC.find('.js-img-lload').eq(0);var $lazyCont=$radioImg.closest('.js-lazyCont');var img=data.settings.list_45;if($('.webp-bg').length&&img&&img.indexOf('radio_img')>-1){img=img.replace(/\.(jpg|png)$/,'.webp');} 594if($radioImg.length&&img){$lazyCont.removeClass('js-lazyCont');$radioImg.removeClass('js-img-lload').removeAttr('data-lazy-load').attr('src',img).attr('title',data.r_name).attr('alt',data.r_name);} 595var c='fa fa-music';if(data.actProgram.type==2){c='fa fa-volume-up';} 596if(!rC.find('.program-name').length){$radioTitle.after('<div class="program-name js-marquee"><span></span></div>');} 597if(data.actProgram.title){rC.find('.program-name span').html(data.actProgram.title).attr('class',c);rC.find('.program-name').show();}else{rC.find('.program-name').hide();} 598var fs=rC.find('.five-pointed-star');if(fs.length){fs.remove();} 599if(data.settings.promo==1){rC.addClass('promo-link').addClass('onbounce');setTimeout(function(){rC.find('.radio-title span').after('<span class="five-pointed-star" data-toggle="tooltip" title="" data-original-title="'+LangI.getText('promo-radio')+'">â </span>');$radioTitle.addClass('showStar');setTimeout(function(){$radioTitle.addClass('flipanim');},1000);},1000);}} 600this.getRInfo=function(data,needFlag,flagTag){if(!flagTag){flagTag='a';} 601var r_name=data.r_name;var link=data.r_urlname;var externalLink=data.r_urlname.indexOf('http')>-1;if(externalLink){if(link.indexOf('#')>-1){link=link.replace('#','?'+GaTrackI.createGaTrackURL(document.location.host,'web','search')+'#');}else{link+='?'+GaTrackI.createGaTrackURL(document.location.host,'web','search');}} 602r_name='<'+flagTag+' class="flag-icon flag-icon-squared flag-icon-'+data.lng+'" role="img" aria-label="'+data.country+'" title="'+data.country+'"></'+flagTag+'>'+r_name;if(data.rsu_id>0&&link.indexOf('#server')==-1){link+='#server'+data.rsu_id;} 603return{'r_name':r_name,'link':link};} 604this.loadExtraRFav=function(favRadios){self.historyMod=false;self.modifyHistory("Page","/");self.historyMod=true;var rids=new Array();for(i in favRadios){if(favRadios[i]['rid']){rids.push(favRadios[i]['rid']);} 605if(favRadios[i]['rids']){for(j in favRadios[i]['rids']){rids.push(favRadios[i]['rids'][j]);}}} 606self.loadRadioList($("#orderSelect").val(),2,1,rids,null);} 607this.resetExtraRFav=function(callback){self.loadRadioList($("#orderSelect").val(),2,1,null,callback);} 608this.bindHistoryListener=function(){window.onpopstate=function(event){var oldNum=self.getActPageNum();var m=document.location.href.match(/\d*$/);var aP=1;if(m!=null&&m[0]!=""){aP=m[0];} 609self.setActPageNum(aP);var diff=Math.abs(m[0]-oldNum);if(m[0]>oldNum&&diff==1){self.loadRadioList($("#orderSelect").val(),1,self.getActPageNum());}else if(m[0]<oldNum||diff>1){if(!$('.radiosListLink[data-pNum="'+self.getActPageNum()+'"]').length){self.loadRadioList($("#orderSelect").val(),2,self.getActPageNum());}else{self.eraseUnusedRadios();}}};} 610this.getActPageNum=function(){return parseInt($('.radiosList .scrolledRadioContentDef').attr('data-act-p'));} 611this.setActPageNum=function(num){$('.radiosList .scrolledRadioContentDef').attr('data-act-p',num);} 612this.modifyHistory=function(title,url){if(self.historyMod){history.pushState({},title,url);GaTrackI.setPageView(title,url);if(url!='/'){$('.ui-autocomplete-input').val('');}}} 613this.init();} 614var MyRadioListI=new MyRadioList(); 615function DeskFaws(){var self=this;this.showMore=false;this.init=function(){if(!$('.isMainPage').length){this.bindAddFavs();} 616this.bindShowFavs();} 617this.bindShowFavs=function(){self.bindFavShow();} 618this.bindFavShow=function(){$('.deskStarFilter').click(function(){if($('.deskStarFilter i').hasClass('fa-heart-o')){self.showFavs();GaTrackI.ga('station_filter_liked','1');}else{self.hideFavs();}});if(CookieManagerI.get('favOn')=="1"){if($('.deskStarFilter i').hasClass('fa-heart-o')){self.showFavs();}else{$('.js-moreRadioBtn').hide();this.buildSort();}}}
619this.showFavs=function(){if(!jQuery.isEmptyObject(self.getFavData())){MyRadioListI.loadExtraRFav(this.getFavData());$('.js-moreRadioBtn').hide();$('.favRadio').show();$('.deskStarFilter i').removeClass('fa-heart-o').addClass('fa-heart');if(getUserSettings('fav-on')){CookieManagerI.set('favOn','1',365,'/');}else{CookieManagerI.set('favOn','1');} 620this.buildSort();}else{var DB=new DialogBox();DB.openPopUp(LangI.getText('right-col-add-to-fav-first-put'),LangI.getText('system-message'));GaTrackI.ga('deskFav','used-but-empty');}} 621this.hideFavs=function(){CookieManagerI.set('favOn','0');GaTrackI.ga('station_filter_liked','0');MyRadioListI.resetExtraRFav(function(){$('.deskStarFilter i').addClass('fa-heart-o').removeClass('fa-heart');});$('.js-orderbyFav').remove();} 622this.buildSort=function(){$('.radiosList .icon-search').after('<i class="fa-list js-orderbyFav" data-toggle="tooltip" data-original-title="'+LangI.getText('fav-order-list')+'"></i>');$('.js-orderbyFav').click(function(){if(userLoginEnabled()&&!userHasSubscription()){GaTrackI.ga("fav_sort_moti_show");SubscriptionI.openMotiLayer();return;} 623var db=new DialogBox();if($(this).hasClass('edit')){$(this).removeClass('edit');$(".scrolledRadioContentDef").sortable("disable");db.openPopUp('',LangI.getText('fav-order-save'));self.groupAddData();GaTrackI.ga("fav_sort_save");}else{$(this).addClass('edit');new OrderRadioList();db.openPopUp(LangI.getText('fav-order-guide'),LangI.getText('fav-order-list'));GaTrackI.ga("fav_sort_edit");}});} 624this.bindAddFavs=function(){$('.js-deskMoveFav').click(function(e){e.preventDefault();if($('.js-deskMoveFav i').hasClass('fa-heart-o')){self.addData();if($(this).hasClass('title-love')){GaTrackI.ga('station_liked','put-top');}else{GaTrackI.ga('station_liked','put-right');}}else{self.removeData();}});var fav=this.getFavData();var urlname=$("#Grid").attr('data-act-url');var subRid=this.findRadioID2Fav();if(subRid){urlname+='#server'+subRid;} 625if(fav[urlname]){if(window.innerWidth>767){$('.live-radio-record').before($('.desk-fav-cont'));} 626$('.js-deskMoveFav i').addClass('fa-heart').removeClass('fa-heart-o');$('.js-deskMoveFav h3').html(LangI.getText('right-col-add-to-fav-end'));}else{$('.js-deskMoveFav i').addClass('fa-heart-o').removeClass('fa-heart');$('.js-deskMoveFav h3').html(LangI.getText('right-col-add-to-fav-end'));}} 627this.groupAddData=function(){fav=this.getFavData();var favTmp={};$('.radiosList .radiosListLink').each(function(i,elem){var index=$(elem).attr('href').replace(/^\//,'');if(index.indexOf('http')===0){var parsedUrl=new URL(index);index=parsedUrl.pathname.replace(/^\/+/,'')+parsedUrl.hash;} 628if(fav[index]){favTmp[index]=fav[index];}});CookieManagerI.set('rfavs',window.btoa(JSON.stringify(favTmp)),365,'/');self.sendFavsToServer();} 629this.addData=function(){if(!CookieManagerI.get('deskfav')){GaTrackI.ga('deskFav','first-put');} 630fav=this.getFavData();if(jQuery.isEmptyObject(fav)){var DB=new DialogBox();DB.setTitle(LangI.getText('right-col-add-to-fav-end'));DB.setContent(LangI.getText('right-col-add-to-fav-end-descr'));DB.openPopUp();} 631if(typeof(rInfo)=="undefined"){throw new Error("FAV not isset rInfo!");return;} 632var rid=$('.rid').val();var urlname=$("#Grid").attr('data-act-url');var subRid=this.findRadioID2Fav();var rName=encodeURIComponent(rInfo['name']);if(subRid){rid=rid+"_"+subRid;urlname+='#server'+subRid;rName=encodeURIComponent($('h1').html());} 633var objData={'rid':rid};objData['r_name']=rName;fav[urlname]=objData;CookieManagerI.set('rfavs',window.btoa(JSON.stringify(fav)),365,'/');$('.js-deskMoveFav i').removeClass('fa-heart-o').addClass('fa-heart');$('.js-deskMoveFav h3').html(LangI.getText('right-col-add-to-fav-end'));$('.radiosListLink[href="/'+$("#Grid").attr('data-act-url')+'"]').addClass('favRadio');this.sendFavsToServer();GaTrackI.ga('deskFav','put',$("#Grid").attr('data-act-url'));} 634this.removeData=function(){var fav=this.getFavData();var urlname=$("#Grid").attr('data-act-url');var subRid=this.findRadioID2Fav();if(subRid){urlname+='#server'+subRid;} 635delete fav[urlname];CookieManagerI.set('rfavs',window.btoa(JSON.stringify(fav)),365,'/');$('.js-deskMoveFav i').addClass('fa-heart-o').removeClass('fa-heart');$('.js-deskMoveFav h3').html(LangI.getText('right-col-add-to-fav'));$('.radiosListLink[href="/'+$("#Grid").attr('data-act-url')+'"]').removeClass('favRadio');if(jQuery.isEmptyObject(fav)){CookieManagerI.set('favOn','0');} 636this.sendFavsToServer();GaTrackI.ga('deskFav','remove',$("#Grid").attr('data-act-url'));} 637this.getFavData=function(){var fav=CookieManagerI.get('rfavs');if(!fav||typeof(atob)=="undefined"){fav={};}else{fav=jQuery.parseJSON(window.atob(fav));} 638return fav;} 639this.sendFavsToServer=function(){if(!userLoggedIn()){return;}
640$.ajax({'url':BASE_URL+'/user/method/fav','dataType':'json'}).done(function(){});} 641this.findRadioID2Fav=function(){var hash=document.location.hash;var rid='';if(hash.indexOf('#server')>-1){var sID=hash.match(/\d*$/);if(sID[0]){if($('.server-row[data-rsu-id="'+sID[0]+'"]').length){rid=sID[0];}}} 642return rid;} 643this.favIsOn=function(){return $('.deskStarFilter i').hasClass('fa-heart-o')?0:1;} 644this.init();} 645var DeskFawsI;$(document).ready(function(){DeskFawsI=new DeskFaws();});var LANG_CONTANER = {"system-message":{"en":"System message"},"right-col-add-to-fav":{"en":"Add to Favourites"},"right-col-rec-radio":{"en":"Record Live Stream"},"click-and-hear-back":{"en":"Click and listen again!"},"stdebug-err-contact":{"en":"For any further questions, please write to us on the <a href=\"\/contact\">Contact page<\/a>!"},"email-addrs":{"en":"E-mail address"},"playlists-camel":{"en":"Playlist"},"playlist":{"en":"playlist"},"page":{"en":"page"},"right-col-please-like":{"en":"Follow Us on Facebook"},"stdebug-started":{"en":"Checking has started"},"stdebug-end":{"en":"Troubleshooting has completed"},"stdebug-sup-audio-tag":{"en":"Audio TAG supported!"},"stdebug-sup-audio-tag-err":{"en":"ERROR! Audio TAG is not supported. This could be caused by an old browser. Please try to update your browser, or install a new one, or try another browser!"},"stdebug-sup-stream":{"en":"Radio transmission is working"},"stdebug-sup-ports":{"en":"Required ports enabled"},"stdebug-sup-err-step-2":{"en":"We suggest you to go back to the second step, and try the other Servers! If it still doesn't work, click on the error report icon in the bottom right corner!"},"stdebug-sup-ok":{"en":"No errors were found! Please click on the Play button in the appearing player! If it still doesn't work, click on the error report icon in the bottom right corner!"},"stdebug-sup-like":{"en":"If you found our service useful, please like our Facebook page! <iframe src=\"https:\/\/www.facebook.com\/plugins\/like.php?href=https%3A%2F%2Fwww.facebook.com%2Fukradiolive.com%2F&width=112&layout=button_count&action=like&size=small&show_faces=false&share=true&height=46&appId=702858859794237\" width=\"170\" height=\"21\" style=\"border:none;overflow:hidden;position: relative; top: 6px;\" scrolling=\"no\" frameborder=\"0\" allowTransparency=\"true\" allow=\"encrypted-media\"><\/iframe>"},"right-col-add-to-fav-end":{"en":"Added to favourites"},"right-col-add-to-fav-end-descr":{"en":"You can filter your favourites above the radio list!"},"right-col-add-to-fav-first-put":{"en":"Please add some radios to your favourites first! For that, click on the HEART icon at the top of the radio's page."},"right-col-rec-run":{"en":"Recording in progress"},"right-col-rec-start":{"en":"Start recording"},"most-szol":{"en":"playlist"},"no-result-radio":{"en":"The searched radio is not found on our site!"},"accept-cookie-txt":{"en":"Our site uses cookies to improve the user experience! <a title=\"More information!\" href=\"{cookie-url}\">More information!<\/a> <a title=\"Accept\" href=\"\" class=\"button1 js-cookiePolicyOke\">Accept<\/a>"},"right-col-now-play-previous-days":{"en":"Previous days' playlist"},"stdebug-sup-stream-err":{"en":"ERROR! Probably the radio's online transmission doesn't work or it is overloaded!"},"stdebug-sup-ports-err":{"en":"ERROR! The {port} port is not enabled for your internet connection!"},"act-song":{"en":"Now playing"},"show-album-cover":{"en":"Show cover image"},"add-home-do-you-want":{"en":"Would you like to reach your favourite radio with just one click?"},"add-home-failure":{"en":"Adding to home screen failed! So unfortunately you can't reach your favourite radio with one click!"},"add-home-success":{"en":"You've succesfully added the page as homepage! From now on, you can reach your favourite radio with one click!"},"add-to-bookmark":{"en":"Would you like to reach your favourite radios with just one click? Press the \"CTRL\" and \"D\" keys at the same time to add your favourite radio to the bookmarks!"},"audio-play":{"en":"Play"},"audio-pause":{"en":"Pause"},"audio-volume":{"en":"Volume"},"audio-data-traffic":{"en":"Data traffic"},"audio-backward":{"en":"Rewind"},"audio-forward":{"en":"Forward"},"audio-time":{"en":"Elapsed time"},"close":{"en":"Close"},"connecting":{"en":"Connecting"},"connected":{"en":"Connected"},"error":{"en":"ERROR"},"share-on-facebook":{"en":"I share on Facebook!"},"get-older-songs":{"en":"View older tracks"}
645,"url-part-schedule":{"en":"schedule"},"live":{"en":"LIVE"},"no-result-radio-schedule":{"en":"The searched radio's schedule is not found on our site!"},"no-result-radio-song-list":{"en":"There is no list of previously played songs for the searched radio on our site!"},"try-this-not-disappoint":{"en":"Try it! You won't be disappointed!"},"click-to-play":{"en":"Click to start!"},"live-video-started":{"en":"Live broadcast has started! Click on the Webcam icon to start!"},"app-back-btn":{"en":"Back"},"app-thank-you-rating":{"en":"Thank you for rating our application!"},"app-go-to-store-rating":{"en":"Go to rating"},"app-start":{"en":"Start"},"app-ok":{"en":"OK"},"live-stream-started":{"en":"Live broadcast started! Click on the webcam icon to start!"},"act-song-tooltip":{"en":"Click and check what was played before!"},"act-prog-tooltip":{"en":"Click and check the following day's programmes!"},"app-server_connected":{"en":"Connected"},"app-server_connecting":{"en":"Connecting"},"app-search_placeholder":{"en":"Your favourite radio's name ..."},"app-rec_title":{"en":"Record Live Stream"},"app-rec_message":{"en":"Click on \"OK\" to start!"},"app-rec_stop_title":{"en":"Record Live Stream"},"app-repeat_title":{"en":"Repeat"},"app-alarm_set":{"en":"Set alarm"},"app-prev_songs":{"en":"Previous day's playlist"},"app-next_programs":{"en":"View upcoming schedule"},"app-order_default":{"en":"Default"},"app-order_pop_asc":{"en":"Audience A-Z"},"app-order_pop_desc":{"en":"Audience Z-A"},"app-order_letter_asc":{"en":"Radio name A-Z"},"app-order_letter_desc":{"en":"Radio name Z-A"},"app-order_message":{"en":null},"embed-playlist-seo-text":{"en":"Playlist"},"app-alarm_delete":{"en":"Delete alarm"},"app-alarm_HButton":{"en":"Mon"},"app-alarm_KButton":{"en":"Tue"},"app-alarm_SzeButton":{"en":"Wed"},"app-alarm_CsButton":{"en":"Thu"},"app-alarm_PButton":{"en":"Fri"},"app-alarm_SzoButton":{"en":"Sat"},"app-alarm_VButton":{"en":"Sun"},"app-pause":{"en":"Pause"},"app-delete":{"en":"Delete"},"app-voice_search_message":{"en":"Voice-based search"},"app-voice_search_title":{"en":"Your favourite radio's name ..."},"app-rec_stop_message":{"en":"Are you sure you want to stop the recording?"},"app-timer-title":{"en":"Sleep Timer"},"app-alarm-title":{"en":"Wake-up"},"app-next_alarm":{"en":"Time remaining until wake-up"},"app-server":{"en":"Server"},"app-servers_title":{"en":"Servers"},"app-servers_message":{"en":"Choose from the available servers!"},"app-offline_list":{"en":"The application is running in safe-mode!"},"app-network_error":{"en":"No internet connection!"},"app-review_title":{"en":"Rate us!"},"app-review_subtitle":{"en":"Now you can tell, how much you like our application!"},"app-review_send":{"en":"Send"},"app-review_feedback_title":{"en":"Thank you for your review!"},"app-review_feedback_subtitle":{"en":"We are sorry you are not completely satisfied with our application! Would you tell us what you would change to make the app better? If you would like to get a reply, or help, please include your e-mail address!"},"app-review_feedback_placeholder":{"en":"Please write your opinion here ..."},"app-review_store_subtitle":{"en":"Maybe we could ask you to rate us in the Store too?! It would be a great honour for us!"},"app-no_song_list":{"en":"This radio doesn't have a Playlist!"},"app-no_program_list":{"en":"This radio doesn't have a Schedule!"},"app-no_webcam":{"en":"This radio doesn't have a Webcam!"},"app-pro_shazam_error":{"en":"Coming soon!"},"app-pro_rec_error":{"en":"Coming soon!"},"smartbnr-btn":{"en":"DOWNLOAD"},"smartbnr-mobile-app":{"en":"Mobile Application"},"smartbnr-free":{"en":"Free"},"clippy-greeting-title":{"en":"Welcome to UKRadioLive.com!"},"clippy-greeting-dscr":{"en":"I'm Radio John, and I will guide you on the site. I've got a bit old, but I hope I can help You! If I'm in the way, just pull me over! If you would like to get new info, just click on me!"},"clippy-greeting-title_2":{"en":"Welcome again!"},"clippy-greeting-dscr_2":{"en":"If I'm in the way, just pull me over. If you would like to get new info, click on me!"},"clippy-rewind-song-title":{"en":"Listen to a song again"},"clippy-rewind-song-dscr":{"en":"Did you know that the songs in the playlist can be listened to again? You just have to click on the song which you would like to listen to again!"},"clippy-rewind-song-dscr-2":{"en":"Click on the song title!"},"clippy-thanks":{"en":"Thanks! It was usefull!"},"clippy-listen-live-radio":{"en":"Live radio listening"},"clippy-listen-live-radio-dscr":{"en":"Did you know that you can listen to live radios on our site?"},"clippy-listen-live-radio-dscr-2":{"en":"Click on the red \"LIVE\" highlight!"},"clippy-playlist-title":{"en":"Playlist - Now playing"},"clippy-playlist-dscr":{"en":"Did you know that you can view the playlist of the radio back for a month? So, if you have heard something previously, but you don't know its title, you can look it up!"},"clippy-playlist-dscr-2":{"en":"You can find the earlier played songs in the Playlist menu!"},"clippy-archive-title":{"en":"Archive"},"clippy-archive-dscr":{"en":"Did you know that some programmes can be listened to or watched again? So if you missed a programme earlier, you can catch up on it later."},"clippy-archive-dscr-2":{"en":"Here, in the Archive menu, you can find the previous programmes!"},"clippy-webcam":{"en":"Webcam"},"clippy-webcam-dscr":{"en":"Did you know that there are programmes you can even watch via webcam?"},"clippy-webcam-dscr-2":{"en":"You can find the Webcam menu here!"},"clippy-rewind-radio-title":{"en":"Rewind the broadcast"},"clippy-rewind-radio-dscr":{"en":"Did you know that you can rewind the radio broadcast, if you would like to listen to a part again?"},"clippy-rewind-radio-dscr-2":{"en":"Click on the counter and set how much time you would like to rewind!"},"clippy-song-cover-title":{"en":"Show Album Art"},"clippy-song-cover-dscr":{"en":"Did you know that you can see the cover picture of the played song?"},"clippy-song-cover-dscr-2":{"en":"Click on the \"Show Album Art\" text!"},"clippy-search-title":{"en":"Search radio"},"clippy-search-dscr":{"en":"Did you know that if you are looking for a specific radio, there is a finder to it?"},"clippy-search-dscr-2":{"en":"Click on the \"Search\" icon, and type the searched radio's name!"},"clippy-player-error-title":{"en":"The radio won't start?!"},"clippy-player-error-dscr":{"en":"Am I right that the radio won't start? There could be several reasons! I suggest that you check our <a href=\"\/radio-troubleshooting{error-debug-page-url}\">Troubleshooting Page<\/a>, and if you need more help, write an e-mail to us on the <a href=\"\/contact{contact-page-url}\">Contact page<\/a>!"},"clippy-not-annoy":{"en":"Do not disturb!"},"clippy-say-something":{"en":"Say something exciting!"},"new-message":{"en":"New message"},"app-alarm_listen":{"en":"Open"},"app-alarm_close":{"en":"Mute"},"app-server_buffering":{"en":"Loading"},"clippy-show-me":{"en":"Show me where to find it!"},"adblock-bnr-msg":{"en":"<strong>Dear radio listener!<\/strong><br>\r\nIf you would like our site to remain stable and long-lasting, and you would like to supp
645ort us, please turn off the ad blocking software on the site. <span>If you need help, click here!\r\n<\/span>"},"app-saved-location":{"en":"Saved: Files"},"app-saved":{"en":"Saved"},"app-file_write_failed":{"en":"Error! Writing to the device's data-storage is not allowed!"},"app-file_write":{"en":"Write to the device's data-storage is allowed!"},"love":{"en":"I love it"},"hate":{"en":"I hate it"},"add-home-do-you-want-dscr":{"en":"An Add button has appeared at the top or at the bottom of the screen. Click on it to add to your home screen, to launch the Radio with one click!"},"app-timer-hour":{"en":"hour"},"app-timer-min":{"en":"min"},"app-timer-sec":{"en":"sec"},"rec-radio-success":{"en":"Recording completed successfully"},"rec-start-copyright":{"en":"The recording of a radio-broadcast is allowed for private use only if the recorded part is not used for earning income! Share with others is prohibited! The responsibility lies with the user!<br>\r\nMore information: {europeLink}"},"rec-start-lyr-title":{"en":"Are you sure you want to start recording?"},"shazam-dialog-title":{"en":"Song recognition"},"shazam-dialog-txt":{"en":"This radio displays the played song!<br>\r\nIt shows that this song is played now: <span class=\"error\">{actSong}<\/span>.<br>\r\nAre you still sure you would like to identify the song?"},"clippy-shazam-dscr":{"en":"Did you know that if the played song's name is not displayed, you can still identify it manually?"},"clippy-shazam-dscr-2":{"en":"Click on the ear icon to start!"},"clippy-record-radio-dscr":{"en":"Did you know that you can record the radio-broadcast? So if something important is coming up on the radio, you can record up to 15 minutes of it."},"clippy-record-radio-dscr-2":{"en":"To start the recording, click on the Mic icon. If you want to stop the recording, click on it again."},"frequency-map":{"en":"Frequency map"},"shazam-start-btn":{"en":"Wondering what song is playing? Click to find out!"},"shazam-attention":{"en":"Attention!"},"shazam-addblock-noti":{"en":"To use this function, please first turn off the AD-BLOCKER! We ask you this, because the feature you are going to use is the one we're paying for.\r\nYou can find more help to turn off the ad-blockers here:\r\n<a href=\"https:\/\/ukradiolive.com\/disable-ad-blocker\" target=\"_blank\">https:\/\/ukradiolive.com\/disable-ad-blocker<\/a>"},"shazam-thanks":{"en":"Thank you for your feedback!"},"shazam-fail":{"en":"Unfortunately the song identification was unsuccessful! Please try again!"},"shazam-song-title-label":{"en":"Searched song"},"shazam-succ-quest":{"en":"Do you think the result is accurate?"},"shazam-succ-quest-yes":{"en":"Yes"},"shazam-succ-quest-no":{"en":"No"},"shazam-sorry-txt":{"en":"This is a paid service for us and unfortunately we've exceeded our daily limit!"},"shazam-pay":{"en":"Would you pay for unlimited song identification?"},"recorder-addblock-noti":{"en":"To use this function, please first turn off the AD-BLOCKER!<br>\r\nYou can find more help to turn off the AD-BLOCKER here:\r\n<a href=\"https:\/\/ukradiolive.com\/disable-ad-blocker\" target=\"_blank\">https:\/\/ukradiolive.com\/disable-ad-blocker<\/a>"},"app-server_error":{"en":"ERROR"},"download-for-free":{"en":"Download for FREE!"},"adblock-bnr-msg-link":{"en":"disable-ad-blocker"},"youtube-video-info":{"en":"The content of the video does not always reflect the searched song or programme!"},"prev-btn":{"en":"Previous"},"next-btn":{"en":"Next"},"stdebug-backup":{"en":"We suggest you to try the Backup server too! You can find it also on the <a href=\"{actUrl}\" target=\"_blank\">radio's page<\/a> below the player."},"stdebug-play-error":{"en":"The radio launch was unsuccessful!"},"app-shazam-fail":{"en":"Unfortunately the identification was unsuccessful! Please try again!"},"stdebug-ghostery-block":{"en":"It seems, some installed extension in your browser is blocking the radio broadcast! An example of such an extension is the \"Ghostery\" ad-blocker. We suggest you to turn it off on the radio site, or try to launch the radio with another browser!"},"stdebug-feedback":{"en":"Please send your feedback to us! Has the radio really started?<br>\r\n<a>Yes<\/a><a>No<\/a>"},"audio-gotoprev":{"en":"Previous radio"},"audio-gotonext":{"en":"Next radio"},"app-recorder-error":{"en":"The recording failed due to an error!"},"stdebug-messenger-start":{"en":"Hello! Can I help you?"},"app-rate_star_error":{"en":"Please set how many stars you would give the app!"},"app-review_please_write_reason":{"en":"Please write to us with some advice!"}
645,"app-review_store_title":{"en":"Thank you for your rating!"},"app-review_store_send":{"en":"Go to the rating"},"app-your-fav-radios":{"en":"Your favourite radios"},"app-playlists":{"en":"Now playing"},"show-album-cover-short":{"en":"Cover picture"},"app-aauto-searched-radio":{"en":"Searched radio"},"app-no-result":{"en":"No results!"},"lyrics-open":{"en":"Show lyrics"},"lyrics-title":{"en":"Lyrics"},"lyrics-precision-title":{"en":"Were the lyrics accurate?"},"lyrics-help-thanks":{"en":"Thank you for your help!"},"push-msg-tooltip-schedule":{"en":"Get a reminder"},"push-msg-schedule-tooltip":{"en":"Notify me when the programme starts!"},"push-msg-schedule-pop-txt":{"en":"If you click on the Yes button, then a window will pop up at the top-left corner in your browser. Please click on the \"Allow\" button there to enable the notifications!"},"push-msg-schedule-pop-title":{"en":"Are you sure you would like to get a notification?"},"push-msg-schedule-pop-dis-txt":{"en":"Our system detected that you have disabled the notifications in your browser earlier, so we can't set it. If you need help to enable the notifications, please contact us by sending an e-mail to <a href=\"mailto:[email protected]\">[email protected]<\/a>!"},"push-msg-wellcome-title":{"en":"Thank you for signing up!"},"push-msg-wellcome-msg":{"en":"Future notifications will appear here!"},"lived-livenum":{"en":"Current listeners on the page - WEB"},"lived-totalnum":{"en":"Current total number of listeners according to OnlineStream.Live"},"lived-lastday":{"en":"WEB unique listeners number yesterday"},"star-vote-dscr":{"en":"Please let us know why you gave a lower than average rating, so we can improve the radio based on your comments!<br><br> Spam votes from the same IP address with similar reasons will be deleted afterwards!"},"star-vote-placeholder":{"en":"Your message ..."},"star-vote-btn":{"en":"Send"},"lived-lastday-apps":{"en":"APPS unique listeners yesterday"},"app-alarm-denied":{"en":"Unsuccessful operation! Please enable the offered setting!"},"app-subscription-btn":{"en":"I subscribe"},"app-settings-contact":{"en":"Contact"},"app-settings-subscription":{"en":"Subscription"},"app-subscription-one-month":{"en":"Monthly renewal subscription"},"app-subscription-one-year":{"en":"Yearly renewal subscription"},"app-subscription-thank-you":{"en":"Thank you for subscribing and supporting our work!\r\n\r\nIf you have any questions, please contact us via Messenger
645: https:\/\/m.me\/ukradiolive.com\r\n\r\nIf you'd like to cancel your subscription later, you can do so here: https:\/\/play.google.com\/store\/account\/subscriptions\r\n\r\nBest regards, UKRadioLive.com team"},"app-shazam-dialog-txt":{"en":"This radio displays what song is playing! Currently, it shows that this song is playing: {actSong}. Are you sure you still want to identify the song?"},"app-shazam-title":{"en":"Song recognition"},"app-subscription-live":{"en":"Your subscription is active! If you have any questions about your subscription, please contact us.<br><br>You can unsubscribe here: https:\/\/play.google.com\/store\/account\/subscriptions"},"app-lyrics-title":{"en":"Lyrics"},"app-settings-datatraffic":{"en":"Data traffic"},"app-datatraffic-size":{"en":"Data traffic usage since the launch of the application:"},"app-datatraffic-dscr":{"en":"If it's important for you to use as little data as possible, choose a lower Kbps source below the \"Play\" button. For example, a 128 Kbps source can use up to twice as much data as a 64 Kbps source."},"app-datatraffic-nosupport":{"en":"Unfortunately your device doesn't support this function!"},"app-settings-doze":{"en":"Enable background operation"},"app-permission-success":{"en":"Enabling that setting was successful!"},"app-permission-faild":{"en":"Enabling that setting was unsuccessful!"},"app-no_podcast":{"en":"This radio doesn't have a Podcast list!"},"app-audio-rewind":{"en":"Rewind broadcast"},"app-prev-podcast-title":{"en":"Broadcasts from previous days"},"app-stdebug-primary-err":{"en":"It seems that the online transmission of this radio station may have problems!"},"app-stdebug-primary-err-try-o":{"en":"We suggest you try another server below the player!"},"app-attention":{"en":"Attention!"},"chromecast-pop-txt":{"en":"Would you like to connect to Chromecast or to a Chromecast-capable device which is connected to your TV? If you need help, contact us via <a target=\"_blank\" href=\"https:\/\/m.me\/ukradiolive.com\">Facebook<\/a>!"},"info-show-cover-question":{"en":"Are you bothered by the advertising that appears here?"},"info-show-cover-yes-solution":{"en":"You can remove it by clicking on the \"Cover picture X\"<br>caption at the top-right corner.<br><br>TRY IT!"},"info-show-cover-no-solution":{"en":"If it still bothers you, you can remove it by clicking on the \"Cover picture X\"<br>caption at the top-right corner.<br><br>TRY IT!"},"audio-viz-title":{"en":"Music visualisation"},"audio-viz-expand":{"en":"Full screen"},"audio-viz-exit":{"en":"Exit fullscreen"},"other-lang-promo":{"en":"Did you know that our Slovak site has been launched already, where the best Slovak radios are available for you? If not, you can try it here: <a href=\"{siteURL}\" target=\"_blank\">{siteURL}<\/a>"},"app-record-cstart":{"en":"We have started to store the recorded broadcast! This may take a few minutes, we'll notify you when it is finished!"},"app-record-cend":{"en":"The recorded transmission has been saved. You can access the saved file here:"},"app-record-csave":{"en":"Save audio file:"},"app-rec-start-copyright":{"en":"Recording and saving radio broadcasts is allowed for private use only. Using it for generating profit is illegal. Sharing with others is prohibited!"},"app-rec-info-btn":{"en":"Information"},"btn-to-top":{"en":"Back to the top of the page"},"app-month":{"en":"month"},"app-year":{"en":"year"},"ios-recom-msg":{"en":"If the radio broadcast stops after the screen goes to sleep mode, try our iOS application instead! <a href=\"{iosAppLink}\" target=\"_blank\" class=\"strong backupIosLink\">Click here for download!<\/a>"},"app-alarm-time":{"en":"Wake-up alarm in {time}!"},"app-remove-ads":{"en":"Removal of ads"},"app-button-disabled":{"en":"This button is currently unavailable!"},"stay-here-title":{"en":"Tired of it? Do you want something else? Try these too!"},"radio-donation":{"en":"Support the radio"},"donation":{"en":"donation"},"app-view":{"en":"I'll check"},"app-subscription-thank-you-ios":{"en":"Thank you for subscribing and supporting our work!\r\n\r\nIf you have any questions, contact us via Messenger
645: https:\/\/m.me\/ukradiolive.com\r\n\r\nIf you would like to cancel your subscription later, you can do so in the Settings \/ Apple ID \/ Subscriptions menu.\r\n\r\nBest regards, UKRadioLive.com team"},"app-subscription-live-ios":{"en":"Your subscription is active now! If you have any questions about the subscription, contact us.\r\n\r\nIf you would like to cancel your subscription later, you can do so in the Settings \/ Apple ID \/ Subscriptions menu."},"app-payment-progress":{"en":"Payment in progress ..."},"app-subscription-resume":{"en":"Restore subscription"},"app-subscription-resume-progress":{"en":"Subscription restoration in progress..."},"app-subscription-resume-progress-error":{"en":"Subscription restore unsuccessful!"},"app-battery-optimization":{"en":"We recommend using the application allowing it to run in the background!\r\nWithout it, the phone's operating system could restrict the application, and the radio transmission will be interrupted!"},"app-subscription":{"en":"Renewable subscription"},"app-subscription-year-dscr":{"en":"Annual subscription to PRO features"},"app-subscription-month-dscr":{"en":"Monthly subscription to PRO features"},"app-other-settings":{"en":"Other settings"},"app-startw-last-radio":{"en":"Reload last listened radio on startup"},"app-volume-settings":{"en":"Volume setting"},"radio-stats-title-total_num":{"en":"Active online connections"},"radio-stats-title-day_time_r":{"en":"Average radio-listening time"},"radio-stats-title-device_r":{"en":"Devices"},"sibling-site-promo":{"en":"We\u2019re happy to let you know that our <a href=\"https:\/\/myradyodinle.com?utm_source=en_GBradio&utm_medium=popup&utm_campaign=ssitepromo_tr\" target=\"_blank\" class=\"upper\"><svg class=\"flag-icon\"><use href=\"\/public\/flags1783618680\/4x3\/flags.svg#flag-tr\"><\/use><\/svg>Turkish<\/a> site has launched too!\n\nSo now you can listen to your favourite radio stations through the familiar interface in the following countries as well:\n<div class=\"pFlagsCont\"><div class=\"dotted-text\"><a target=\"_blank\" href=\"https:\/\/myradyodinle.com?utm_source=en_GBradio&utm_medium=popup&utm_campaign=ssitepromo_tr\"><svg class=\"flag-icon\"><use href=\"\/public\/flags1783618680\/4x3\/flags.svg#flag-tr\"><\/use><\/svg>Turkey<\/a><\/div><div class=\"dotted-text\"><a target=\"_blank\" href=\"https:\/\/myradioenligne.fr?utm_source=en_GBradio&utm_medium=popup&utm_campaign=ssitepromo_tr\"><svg class=\"flag-icon\"><use href=\"\/public\/flags1783618680\/4x3\/flags.svg#flag-fr\"><\/use><\/svg>France<\/a><\/div><div class=\"dotted-text\"><a target=\"_blank\" href=\"https:\/\/myradioonline.pt?utm_source=en_GBradio&utm_medium=popup&utm_campaign=ssitepromo_tr\"><svg class=\"flag-icon\"><use href=\"\/public\/flags1783618680\/4x3\/flags.svg#flag-pt\"><\/use><\/svg>Portugal<\/a><\/div><div class=\"dotted-text\"><a target=\"_blank\" href=\"https:\/\/myradiostanice.rs?utm_source=en_GBradio&utm_medium=popup&utm_campaign=ssitepromo_tr\"><svg class=\"flag-icon\"><use href=\"\/public\/flags1783618680\/4x3\/flags.svg#flag-rs\"><\/use><\/svg>Serbia<\/a><\/div><div class=\"dotted-text\"><a target=\"_blank\" href=\"https:\/\/myonlineradio.cz?utm_source=en_GBradio&utm_medium=popup&utm_campaign=ssitepromo_tr\"><svg class=\"flag-icon\"><use href=\"\/public\/flags1783618680\/4x3\/flags.svg#flag-cz\"><\/use><\/svg>Czechia<\/a><\/div><div class=\"dotted-text\"><a target=\"_blank\" href=\"https:\/\/myradioenvivo.co?utm_source=en_GBradio&utm_medium=popup&utm_campaign=ssitepromo_tr\"><svg class=\"flag-icon\"><use href=\"\/public\/flags1783618680\/4x3\/flags.svg#flag-co\"><\/use><\/svg>Colombia<\/a><\/div><div class=\"dotted-text\"><a target=\"_blank\" href=\"https:\/\/myonlineradio.hu?utm_source=en_GBradio&utm_medium=popup&utm_campaign=ssitepromo_tr\"><svg class=\"flag-icon\"><use href=\"\/public\/flags1783618680\/4x3\/flags.svg#flag-hu\"><\/use><\/svg>Hungary<\/a><\/div><div class=\"dotted-text\"><a target=\"_blank\" href=\"https:\/\/myradioonline.es?utm_source=en_GBradio&utm_medium=popup&utm_campaign=ssitepromo_tr\"><svg class=\"flag-icon\"><use href=\"\/public\/flags1783618680\/4x3\/flags.svg#flag-es\"><\/use><\/svg>Spain<\/a><\/div><div class=\"dotted-text\"><a target=\"_blank\" href=\"https:\/\/myradioenvivo.pe?utm_source=en_GBradio&utm_medium=popup&utm_campaign=ssitepromo_tr\"><svg class=\"flag-icon\"><use href=\"\/public\/flags1783618680\/4x3\/flags.svg#flag-pe\"><\/use><\/svg>Peru<\/a><\/div><div class=\"dotted-text\"><a target=\"_blank\" href=\"https:\/\/myradioonline.ro?utm_source=en_GBradio&utm_medium=popup&utm_campaign=ssitepromo_tr\"><svg class=\"flag-icon\"><use href=\"\/public\/flags1783618680\/4x3\/flags.svg#flag-ro\"><\/use><\/svg>Romania<\/a><\/div><div class=\"dotted-text\"><a target=\"_blank\" href=\"https:\/\/irishradiolive.com?utm_source=en_GBradio&utm_medium=popup&utm_campaign=ssitepromo_tr\"><svg class=\"flag-icon\"><use href=\"\/public\/flags1783618680\/4x3\/flags.svg#flag-ie\"><\/use><\/svg>Ireland<\/a><\/div><div class=\"dotted-text\"><a target=\"_blank\" href=\"https:\/\/myonlineradio.nl?utm_source=en_GBradio&utm_medium=popup&utm_campaign=ssitepromo_tr\"><svg class=\"flag-icon\"><use href=\"\/public\/flags1783618680\/4x3\/flags.svg#flag-nl\"><\/use><\/svg>Netherlands<\/a><\/div><div class=\"dotted-text\"><a target=\"_blank\" href=\"https:\/\/myonlineradio.de?utm_source=en_GBradio&utm_medium=popup&utm_campaign=ssitepromo_tr\"><svg class=\"flag-icon\"><use href=\"\/public\/flags1783618680\/4x3\/flags.svg#flag-de\"><\/use><\/svg>Germany<\/a><\/div><div class=\"dotted-text\"><a target=\"_blank\" href=\"https:\/\/myradioonline.pl?utm_source=en_GBradio&utm_medium=popup&utm_campaign=ssitepromo_tr\"><svg class=\"flag-icon\"><use href=\"\/public\/flags1783618680\/4x3\/flags.svg#flag-pl\"><\/use><\/svg>Poland<\/a><\/div><div class=\"dotted-text\"><a target=\"_blank\" href=\"https:\/\/myonlineradio.at?utm_source=en_GBradio&utm_medium=popup&utm_campaign=ssitepromo_tr\"><svg class=\"flag-icon\"><use href=\"\/public\/flags1783618680\/4x3\/flags.svg#flag-at\"><\/use><\/svg>Austria<\/a><\/div><div class=\"dotted-text\"><a target=\"_blank\" href=\"https:\/\/myradioonline.it?utm_source=en_GBradio&utm_medium=popup&utm_campaign=ssitepromo_tr\"><svg class=\"flag-icon\"><use href=\"\/public\/flags1783618680\/4x3\/flags.svg#flag-it\"><\/use><\/svg>Italy<\/a><\/div><div class=\"dotted-text\"><a target=\"_blank\" href=\"https:\/\/myonlineradio.sk?utm_source=en_GBradio&utm_medium=popup&utm_campaign=ssitepromo_tr\"><svg class=\"flag-icon\"><use href=\"\/public\/flags1783618680\/4x3\/flags.svg#flag-sk\"><\/use><\/svg>Slovakia<\/a><\/div><div class=\"dotted-text\"><a target=\"_blank\" href=\"https:\/\/myradioenvivo.mx?utm_source=en_GBradio&utm_medium=popup&utm_campaign=ssitepromo_tr\"><svg class=\"flag-icon\"><use href=\"\/public\/flags1783618680\/4x3\/flags.svg#flag-mx\"><\/use><\/svg>Mexico<\/a><\/div><div class=\"dotted-text\"><a target=\"_blank\" href=\"https:\/\/myradioenvivo.ar?utm_source=en_GBradio&utm_medium=popup&utm_campaign=ssitepromo_tr\"><svg class=\"flag-icon\"><use href=\"\/public\/flags1783618680\/4x3\/flags.svg#flag-ar\"><\/use><\/svg>Argentina<\/a><\/div><div class=\"dotted-text\"><a target=\"_blank\" href=\"https:\/\/myradioonline.cl?utm_source=en_GBradio&utm_medium=popup&utm_campaign=ssitepromo_tr\"><svg class=\"flag-icon\"><use href=\"\/public\/flags1783618680\/4x3\/flags.svg#flag-cl\"><\/use><\/svg>Chile<\/a><\/div><div class=\"clear\"><\/div> \n<\/div>\nIf we\u2019ve piqued your interest, you can try out our latest site here: <a target=\"_blank\" href=\"https:\/\/myradyodinle.com?utm_source=en_GBradio&utm_medium=popup&utm_campaign=ssitepromo_tr\">MyRadyoDinle.com<\/a> or simply type the name of your favourite Turkish radio station into the search box!\n<br>\nLater on, if you want to switch country, you\u2019ll find the section with the country flags at the top of the website, in the header!"},"country-hu":{"en":"Hungary"},"country-ro":{"en":"Romania"},"country-sk":{"en":"Slovakia"},"country-at":{"en":"Austria"},"country-gb":{"en":"United Kingdom"},"country-ie":{"en":"Ireland"},"country-pl":{"en":"Poland"},"country-de":{"en":"Germany"},"country-es":{"en":"Spain"},"countries":{"en":"Countries"},"app-volume-store":{"en":"Save settings"},"app-act-song-tooltip":{"en":"Click and check what was played earlier!"},"return-map":{"en":"Back to the map"},"app-order_title":{"en":"Sort radios"},"country-it":{"en":"Italy"},"radio-stat-plscontact":{"en":"You don't have permission to view the extra data! If you still think you are eligible, please contact us on the Contact page!"},"country-fr":{"en":"France"},"fb-like-layer-thx":{"en":"Thanks! I've already liked it!"}
645,"thanks":{"en":"Thank you!"},"country-mx":{"en":"Mexico"},"user-login-title":{"en":"Sign-in"},"user-login-fail":{"en":"Unsuccessful login! If you need help, please contact us on Facebook: <a target=\"_blank\" href=\"https:\/\/m.me\/ukradiolive.com\">https:\/\/m.me\/ukradiolive.com<\/a>"},"user-login-ok":{"en":"Successful login!"},"user-login-verify":{"en":"We've sent the activation e-mail to your e-mail address! You can sign-in after successful activation!"},"adblock-attention":{"en":"We have received several comments regarding the annoying advertisements for potency enhancers, viruses, and more on our interface. These advertisements are displayed exclusively for users who have ad-blockers enabled. If these advertisements are bothersome to you, simply disable your ad-blocker, and you will see appropriate advertisements. If you prefer not to see any advertisements at all, we recommend considering our <a href=\"#open-subcription-layer\">subscription<\/a> option!"},"adblock":{"en":"AD-BLOCKER"},"user-profil-title":{"en":"User profile"},"user-save-ok":{"en":"Successful save!"},"user-login-pass":{"en":"Password"},"user-login-pass-re":{"en":"Password again"},"user-reg":{"en":"Sign-up"},"user-lost-passs":{"en":"Forgotten password"},"user-pass-not-match":{"en":"The passwords don't match!"},"user-email-actv":{"en":"To activate your account, please check your e-mail box!"},"user-email-new-pass":{"en":"Please check your e-mail box to set a new password!"},"user-wrong-email":{"en":"Wrong e-mail address!"},"user-need-email-pass":{"en":"Please use the E-mail \/ Password sign-in!"},"user-wrong-email-pass":{"en":"Wrong e-mail address or password!"},"user-week-pass":{"en":"The password must be at least 6 characters long!"},"user-email-already-in-use":{"en":"An account already exists with this email address!"},"user-login-w-fb":{"en":"Sign-in with:"},"user-login-w-e":{"en":"Sign-in with e-mail address"},"user-login-aszf":{"en":"By continuing, you accept our\r\n<a href=\"{term-link}\" class=\"firebaseui-link\" target=\"_blank\">Terms of Use<\/a> and\r\n<a href=\"{privacy-link}\" class=\"firebaseui-link\" target=\"_blank\">Privacy Policy.<\/a>"},"app-subscription-promo-web":{"en":"Become a subscriber and unlock all the features of UKRadioLive.com!<br>\r\nWhat additional benefits do we offer to our subscribers?<br>\r\n<br>\r\n\u2714\ufe0f Ad-free interface<br>\r\n\u2714\ufe0f Larger cover images<br>\r\n\u2714\ufe0f Unlimited song recognition<br>\r\n\u2714\ufe0f WEB, iOS, Android subscription<br>\r\n\u2714\ufe0f Unlimited lyrics display<br>\r\n\u2714\ufe0f <a href=\"https:\/\/ukradiolive.com\/premium-functions\" target=\"_blank\">Unlimited recording for certain radios<\/a><br>\r\n\u2714\ufe0f Remember the last selected server<br>\r\n\u2714\ufe0f Faster page load time, improved interface<br>\r\n\u2714\ufe0f Turn off Facebook boxes and suggestion boxes<br>\r\n\u2714\ufe0f Arrange favourite radios in any order<br>\r\n<br>\r\nYou can try it for free for 6 days, and you can cancel it free of charge during the 6-day trial period. If You don't cancel the subscription within the trial period, the fee will be charged!<br>"},"try-btn":{"en":"I'll try it!"},"subscription-survey":{"en":"If there were an option to subscribe, would you consider trying it? Here are the additional features you would receive as a subscriber:<br>\r\n<br>\r\n\u2714\ufe0f Ad-free interface<br>\r\n\u2714\ufe0f Larger cover images<br>\r\n\u2714\ufe0f Unlimited song recognition<br>\r\n\u2714\ufe0f WEB, iOS, Android subscription<br>\r\n\u2714\ufe0f Unlimited lyrics display<br>\r\n\u2714\ufe0f Save the last selected server<br>\r\n\u2714\ufe0f Faster page load time, improved interface<br>\r\n\u2714\ufe0f Turn off Facebook and suggestion boxes<br>\r\n\u2714\ufe0f You could support your favourite radio stations with your subscription<br>\r\n<br>"},"subscription-survey-price":{"en":"How much would you be willing to pay per month?"},"subscription-unsub":{"en":"Cancel subscription"},"subscription-off-desc":{"en":"After cancelling the subscription, it won't be renewed at the end of the current period!"},"subscription-realy-end":{"en":"Are you sure you would like to cancel your subscription?"},"no-freq-listen-live":{"en":"Can't find a local FM frequency near you? Don't worry! You can listen to Smooth Radio online from anywhere in the world, completely free. <a href=\"{listenUrl}\">Listen Live Now!<\/a>"},"random-title":{"en":"Surprise!"},"app-login-dscr":{"en":"Log in with one of the options below and share your subscription on more devices or platforms, or simply synchronise your settings!"},"donation-privacy-accept":{"en":"I accept the <a href=\"{privacy-policy-docs-url}\" target=\"_blank\">Privacy Policy!<\/a>"},"error-something-wrong":{"en":"An unexpected error has occurred!"},"random-descr":{"en":"Surprise! Something new!"},"country-ar":{"en":"Argentina"},"country-cl":{"en":"Chile"},"accept-privacy-policy":{"en":"Acceptance of the Privacy Policy is mandatory!"},"privacy-p-accept":{"en":"Do you accept the Privacy Policy?"},"rec-start-copyright-limit":{"en":"To stop the recording you have to click on the recording icon again, if not, the recording will stop automatically after 15 minutes!"},"rec-start-copyright-server-limit":{"en":"The chosen server's transmission recording limit is 15 minutes even with subscription. You can find more information about the radios and servers with unlimited recording option here: <a href=\"https:\/\/ukradiolive.com\/premium-functions\" target=\"_blank\">https:\/\/ukradiolive.com\/premium-functions<\/a>"},"rec-start-copyright-nolimit":{"en":"To stop the recording you have to click on the recording icon again!"},"app-network_ok":{"en":"Internet connection restored!"},"user-login-need-first":{"en":"To subscribe, you must be logged in first!"},"not-want-dis-adblock":{"en":"If you wouldn't like to turn off the ad-blocker, we recommend the subscription option for you, which provides additional website usage extras!"},"sub-trial-info":{"en":"After starting the subscription, the fee will only be blocked on your bank account, and the block will be released when you cancel the subscription! No fees will be charged!"},"other-country-radios":{"en":"Radios from other countries"},"fav-order-list":{"en":"Customize your Favourites' order"},"fav-order-guide":{"en":"To sort the radios, grab the logo of the radio, and drag it to the desired position! When you feel that every radio is in the position you want, click on the sort icon to save the order!"},"fav-order-save":{"en":"The order of the radios has been saved successfully!"},"user-playlists-noti":{"en":"The liked songs will be listed in your favourite song list, if you are signed-in, so later you can find them in the <a href=\"{playlistUrl}\">Favourite Songs<\/a> menu!"},"country-nl":{"en":"Netherlands"},"promo-radio":{"en":"Sponsored position"},"promo-radio-descr":{"en":"Would you like to reach more listeners?<br>\r\n<br>\r\nBe more visible! Get featured in our radio list, used by thousands of people every day on the web and in our apps!<br>\r\n<br>\r\nYou can highlight your radio in the first, second, or even the twentieth position!<br>\r\n<br>\r\nIf you are interested in our offer, please contact us at <a href=\"mailto:info[kukac]ukradiolive.com\">info[kukac]ukradiolive.com<\/a>."},"country-cz":{"en":"Czechia"},"country-pe":{"en":"Peru"},"country-co":{"en":"Colombia"},"country-pt":{"en":"Portugal"},"push-msg-not-supp":{"en":"This browser doesn't support notifications!\r\n|\r\nDownload our application and you'll never miss a notification!"},"noti-bell-promo-title":{"en":"Get first-hand information!"},"noti-bell-promo-dscr":{"en":"If you want to be informed about:<br>\r\n- a new radio has been added to our site,<br>\r\n- your favourite show has started,<br>\r\n- a new show from your favourite radio has been added to the archive,<br>\r\n- the online broadcast of your favourite radio has been fixed,<br>\r\n<br>\r\nthen turn on the notifications using the bell icons, or Subscribe buttons!<br>"},"noti-sub-btn":{"en":"Subscribe"},"web-app-sub-promo-descr":{"en":"1. Become a subscriber to our <a href=\"{androidUrl}\" target=\"_blank\">Android<\/a> or <a href=\"{iosUrl}\" target=\"_blank\">iOS<\/a> app.<br>\r\n2. Log in to our app.<br>\r\n3. <a href=\"\/\" class=\"js-userLoginBtn\">Log in on our website too.<\/a><br>\r\n<br>\r\nThen enjoy the interface of our website free of advertising.<br>\r\n<br>
645\r\nIf you need help, please contact us via our <a href=\"\/contact\">Contact page<\/a>!"},"web-app-sub-promo-title":{"en":"Want to use our website without advertising?"},"country-rs":{"en":"Serbia"},"app-equalizer-on":{"en":"Turn on equalizer"},"app-equalizer-global":{"en":"Apply to all radios"},"app-equalizer-noti":{"en":"The equalizer can affect the stability of the playback. If you're experiencing problems, turn it off!"},"country-tr":{"en":"Turkey"},"new-func-promo-title":{"en":"Try out our new features!"},"new-func-promo-dscr":{"en":"Want more bass or a cleaner sound? Customize your favorite radio station\u2019s sound with the Equalizer under the player!<br>\r\n<br>\r\n\r\nMore features:<br>\r\n<br>\r\n<i class=\"fa-image\"><\/i> Show cover art<br>\r\n<i class=\"fa-sun-regular\"><\/i> Music visualization<br>\r\n<i class=\"fa fa-assistive-listening-systems\"><\/i> Song recognition<br>\r\n<i class=\"fa fa-microphone\"><\/i> Record radio broadcast<br>\r\n<i class=\"fa-lyrics\"><\/i> Show lyrics<br>\r\n<i class=\"fa-youtube-play\"><\/i> Listen back on YouTube<br>\r\n<i class=\"fa fa-countdown\"><\/i> Sleep timer<br>\r\n<i class=\"fa fa-equalizer\"><\/i> Equalizer"},"ssp-index":{"en":"tr"}}; 646function Lang(){var self=this;this.actLang=$("html").attr('lang')||$("[data-my-radio-lang]").attr("data-my-radio-lang");this.langLocale=$('html').data('locale');this.getText=function(index,lang,replace,gReplace){if(lang){this.actLang=lang;} 647if(!this.actLang){this.actLang='en';} 648if(typeof(LANG_CONTANER)=="undefined"){console.log('NOTE - LANG_CONTANER');return;} 649if(!LANG_CONTANER[index]){return;} 650var langText=LANG_CONTANER[index][this.actLang];if(langText||!$('.js-isAdmin').length){for(i in replace){if(gReplace){var rx=new RegExp(i,'g');langText=langText.replace(rx,replace[i]);}else{langText=langText.replace(i,replace[i]);}} 651return langText;}else{return'not-exist{'+index+'}';}}} 652var LangI=new Lang();function MyConfig(){this.get=function(index){if(typeof(JS_CONF)=="undefined"){return;} 653return JS_CONF[index];}} 654var MyConfigI=new MyConfig(); 655function ServiceWorkerClient(){var self=this;this.init=function(){try{this.startSW();}catch(e){}} 656this.startSW=function(){if('serviceWorker'in navigator&&typeof(Promise)!=="undefined"){try{var actSWVersion=0;if(document.getElementById("myMiniJs")){var actSWVersion=document.getElementById("myMiniJs").getAttribute("src").match(/jsv(\d*)/)[1];}}catch(e){if(typeof(ConsoleDebuggerI)!="undefined"){ConsoleDebuggerI.pushMsg("startSW 2 err: "+e.toString());}} 657navigator.serviceWorker.register('service-worker'+(actSWVersion!=0?'.min':'')+'.js?info='+actSWVersion).then(function(registration){try{if($("[src*='/jsv']").length){var swVersion=CookieManagerI.get('sw-version')||0;if(swVersion&&actSWVersion&&swVersion<actSWVersion){setTimeout(function(){registration.unregister();},2000);} 658CookieManagerI.set('sw-version',actSWVersion);}else{registration.update();}}catch(e){if(typeof(ConsoleDebuggerI)!="undefined"){ConsoleDebuggerI.pushMsg("startSW 2 err: "+e.toString());}}}).catch(function(error){self.swcLog('SW registration failed, error:',error);});}} 659this.swcLog=function(param1,param2,param3){if(typeof(ga)!=="undefined"){GaTrackI.ga(param1,param2,param3);}} 660this.init();} 661$(document).ready(function(){if($('.radioListV2').length&&!CookieManagerI.getLocalStorage("push-msg-on")){new ServiceWorkerClient();}}); 662function AddHomescreen(){var self=this;var promptEvent;this.init=function(){this.bindSWEvents();} 663this.bindSWEvents=function(){window.addEventListener("beforeinstallprompt",function(e){promptEvent=e;self.swcLog('step-0',promptEvent.platforms[0]);if(typeof(LangI)!=="undefined"&&LangI.getText("add-home-do-you-want")){e.preventDefault();self.openSWLayer(promptEvent.platforms[0]);}else{self.bindUserChoiceListener();}});window.addEventListener('appinstalled',function(evt){self.swcLog('a2hs','installed');});if(this.checkHomeScreenInstalled()){self.swcLog('display-mode-is-standalone');}} 664this.openSWLayer=function(){if(CookieManagerI.get('AddHomescreenToday')||CookieManagerI.get(cookieIndex)<3||$(".popup_layer:visible").length){console.log('SKIP AddHomescreenToday');return;} 665CookieManagerI.set('AddHomescreenToday','1','15','/');var db=new DialogBox();db.bindConfirm(function(){self.swcLog('step-2','YES');self.bindUserChoiceListener();$('.layer_cont').hide();$('.layer_cont .popUpTitle').hide();$('.layer_cont button').hide();},function(){self.swcLog('step-1','NO');});db.openPopUp('',LangI.getText('add-home-do-you-want'));} 666this.bindUserChoiceListener=function(){promptEvent.prompt();promptEvent.userChoice.then(function(outcome){if(LangI.getText('add-home-do-you-want')){$('.layer_cont').show();if(outcome['outcome']=="accepted"){$('._popUpMessage').html(LangI.getText('add-home-success'));}else{$('._popUpMessage').html(LangI.getText('add-home-failure'));}} 667self.swcLog(outcome['outcome']);});} 668this.checkHomeScreenInstalled=function(){if(window.matchMedia('(display-mode: standalone)').matches){return true;} 669if(window.navigator.standalone===true){return true;} 670return false;} 671this.swcLog=function(param1,param2){console.log(param1,param2);if(typeof(GaTrackI)!=="undefined"){GaTrackI.ga('prompt-platform_'+param1+'_'+param2);}} 672this.init();} 673var AddHomescreenI;$(document).ready(function(){if(isMobile()){AddHomescreenI=new AddHomescreen();}}); 674function UserViewRadios(){var allowedFields=["name","pic","rid","time","view_num"];var stapTracked=false;this.init=function(){if(typeof(rInfo)=="undefined"){return;} 675if(document.cookie.length>
6756000||userHasSubscription()){GaTrackI.ga("too_big_cookie");CookieManagerI.set('radioSteps','',-7,'/');return;}} 676this.trackStap=function(){if(typeof(rInfo)=="undefined"||stapTracked){return;} 677stapTracked=true;var radioSteps=this.getData();var stepKeys=Object.keys(radioSteps);var stepSize=stepKeys.length;if(stepSize>10){var keysSorted=stepKeys.sort(function(a,b){return radioSteps[b]['time']-radioSteps[a]['time'];});for(var i=10;i<stepSize;i++){delete(radioSteps[keysSorted[i]]);}} 678var urlKey=rInfo['url'];if(!urlKey){return;} 679rInfo['time']=parseInt($.now()/1000);rInfo['view_num']=1;rInfo['name']=encodeURIComponent(rInfo['name']);if(radioSteps[urlKey]){rInfo['view_num']=radioSteps[urlKey]['view_num']+1;} 680var rInfoTmp=rInfo;if(typeof(Object.assign)!="undefined"){rInfoTmp=Object.assign({},rInfo);} 681for(i in rInfoTmp){if(allowedFields.indexOf(i)===-1){delete(rInfoTmp[i]);}} 682radioSteps[urlKey]=rInfoTmp;if(typeof(btoa)!="undefined"){CookieManagerI.set('radioSteps',window.btoa(JSON.stringify(radioSteps)),7,'/');}} 683this.getData=function(){var radioSteps=CookieManagerI.get('radioSteps');if(!radioSteps||typeof(atob)=="undefined"){radioSteps={};}else{radioSteps=jQuery.parseJSON(window.atob(radioSteps));} 684return radioSteps;} 685this.init();} 686function Recommend(){var self=this;this.recomRadios=new Array();this.recomRadiosUrl=new Array();this.actUrl;this.placeholder;this.init=function(){this.actUrl=$("#Grid").attr('data-act-url');this.placeholder=MyConfigI.get('defDomainFileName');if(window.innerWidth<=767||CookieManagerI.get(cookieIndex)<6){this.startScroll();return;} 687this.pushViewRadios();this.pushFavoriteRadios();this.createHtmlList();} 688this.pushViewRadios=function(){if(typeof(UserViewRadiosI)=="undefined"){return;} 689var ViewRadio=UserViewRadiosI.getData();var keysSorted=Object.keys(ViewRadio).sort(function(a,b){return ViewRadio[b]['time']-ViewRadio[a]['time'];});var i=1;for(key in keysSorted){var url=keysSorted[key];if(i<=3&&this.actUrl!=url&&this.recomRadiosUrl.indexOf(url)==-1&&ViewRadio[url]){this.recomRadios.push({'type':'view_radio','name':decodeURIComponent(ViewRadio[url]['name']),'url':url,'rid':ViewRadio[url]['rid']});this.recomRadiosUrl.push(url);i++;}}} 690this.pushSimilarRadios=function(){var SimilarRadios=$('.recommend-box').data('similar');var i=1;for(key in SimilarRadios){var url=SimilarRadios[key]['r_urlname'];if(i<=10&&this.actUrl!=url&&this.recomRadiosUrl.indexOf(url)==-1){this.recomRadios.push({'type':'similar_radio','name':decodeURIComponent(SimilarRadios[key]['r_name']),'url':url,'rid':SimilarRadios[key]['rid']});this.recomRadiosUrl.push(url);i++;}}} 691this.pushFavoriteRadios=function(){try{var favs={};if(typeof(DeskFawsI)!="undefined"){favs=DeskFawsI.getFavData();}}catch(e){if(typeof(ConsoleDebuggerI)!="undefined"){ConsoleDebuggerI.pushMsg("DeskFawsI err: "+' - '+e.toString()+' -> '+typeof(DeskFaws));} 692var favs={};} 693var i=1;for(key in favs){var url=key;if(i<=3&&this.actUrl!=url&&favs[key]!=1&&this.recomRadiosUrl.indexOf(url)==-1){this.recomRadios.push({'type':'favorite_radio','name':this.safeDoubleDecodeURIComponent(favs[key]['r_name']),'url':url,'rid':favs[key]['rid']});this.recomRadiosUrl.push(url);i++;}}} 694this.createHtmlList=function(){var itemHTML='';for(i in this.recomRadios){if(i<6){itemHTML+=this.getItemHTML(this.recomRadios[i]);}} 695$('.recommend-box').prepend(itemHTML);this.startScroll();$('.recommend-box .button1').click(function(e){e.preventDefault();GaTrackI.ga('send','event','recommend-box',$(this).data('type'));var goTo=this.getAttribute("href");setTimeout(function(){window.location=goTo;},100);});$('.recommend-box-cont').addClass('js-lazyCont');if(LazyLoadImgI){LazyLoadImgI.checkPicLoadingNeed();}} 696this.startScroll=function(){var $recommendBox=$('.recommend-box');if(!$recommendBox.length||typeof $.fn.slimscroll!=='function'){return;} 697var initScroll=function($elements){if(!$elements.length||$elements[0].scrollHeight<=260){return;} 698var options={disableFadeOut:true,height:'260px'};$elements.slimscroll(options).off('slimscrolling.recommend').on('slimscrolling.recommend',function(e,pos){$(window).scroll();});$('body').scroll();} 699if($recommendBox.parent().hasClass('slimScrollDiv')){initScroll($recommendBox);}else if(typeof $.fn.slimscrollFirstUse==='function'){$recommendBox.slimscrollFirstUse(initScroll);}else{initScroll($recommendBox);}} 700this.getItemHTML=function(radioData){radioData['url']=radioData['url'].replace(/#.*/,'');if(true||radioData['pic']){var imgUrl='/public/uploads/radio_img/'+radioData['url']+'/list_45.webp';}else{if(!$('.js-img-lload[src$="'+imgUrl+'"]').length&&!$('.js-img-lload[data-lazy-load$="'+imgUrl+'"]').length){imgUrl='/public/uploads/radio_img/'+radioData['url']+'/list_45.png';}} 701var listLink=$("[data-rid='"+radioData['rid']+"']").find('.program-name');if(radioData['name']=="undefined"){radioData['name']=radioData['url'].replace('-',' ').toUpperCase();} 702var item='\ 703 <a data-rid="'+radioData['rid']+'" data-type="'+radioData['type']+'" class="button1 hasImg extraListItem radiosListLink mix favRadio" data-def="1" data-listen="1" data-name="'+radioData['name']+'" href="/'+radioData['url']+'/?'+GaTrackI.createGaTrackURL(radioData['type'],radioData['url'],'recombox')+'" title="'+radioData['name']+'" style="display: inline-block;">\ 704 <div class="radio-info-cont">\ 705 <div class="radio-title js-marquee">\
706 <span>'+radioData['name']+'</span>\ 707 </div>\ 708 <div class="program-name js-marquee">\ 709 '+(listLink.length?listLink.html():'<span style="margin-left: 0px;"></span>')+'\ 710 </div>\ 711 </div>\ 712 <div class="radio-logo js-lazyCont">\ 713 <img class="js-img-lload" src="/public/img/1x1.png" data-lazy-load="'+imgUrl+'" alt="'+radioData['name']+'" title="'+radioData['name']+'" height="45">\ 714 </div>\ 715 <span class="clear"></span>\ 716 </a>\ 717 ';return item;} 718this.showBackupAffiliate=function($target,index){if(!index&&$target){index=$target.width()+'_'+$target.height();} 719if(this.iosAffiliate(index,$target)){return true;}else if(this.androidAffiliate(index,$target)){return true;} 720return false;} 721this.getBackupAffiliate=function(index){var html=this.iosAffiliate(index);if(html){return html;} 722var html=this.androidAffiliate(index);if(html){return html;} 723return false;} 724this.isIOS=function(){if(navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPod/i)){return true;}} 725this.androidAffiliate=function(index,$target){if(this.isIOS()){return false;} 726var sizes={'250_250':'300_250','300_250':'300_250','360_300':'300_250','320_266':'300_250',};var ret=this.pushMobilBnr(sizes,index,'android',$('.androidli a').attr('href'),$target);return ret;} 727this.iosAffiliate=function(index,$target){if(!this.isIOS()||!$('.iosli a').length){return false;} 728var sizes={'250_250':'300_250','300_250':'300_250','360_300':'300_250','320_266':'300_250',};var ret=this.pushMobilBnr(sizes,index,'ios',$('.iosli a').attr('href'),$target);return ret;} 729this.pushMobilBnr=function(sizes,index,type,href,$target){if(!href){return false;} 730if(!sizes[index]){return false;} 731var actSize=sizes[index];var imgSrc=BASE_URL+'/public/img/adblock/'+this.placeholder+'/'+type+'/'+actSize+'.jpg';var htmlB='<a class="mobileAffiliateAdblock '+type+'" style="width: 100%; height: 100%; display: inline-block; text-align: center;" href="'+href+'" target="_blank"><img alt="'+LangI.getText('download-for-free')+'" title="'+LangI.getText('download-for-free')+'" src="'+imgSrc+'"></a>';if(!$('.mobileAffiliateAdblock.'+type).length){$('body').on('click','.mobileAffiliateAdblock.'+type,function(){GaTrackI.ga('send','event',type+'AffiliateAdblock','click');});} 732if($target){if($target.hasClass('js-appAdv')){$('.js-appAdv .adsbygoogle, .pls-dis-blck').remove();$target.append(htmlB);}else{$target.html(htmlB);} 733return true;}else{return htmlB;}} 734this.getSubscriptPromo=function(sizes){var tmpS={'300x250':['img_300_250.gif','img_300_250_1.png','img_300_250_2.png'],'300x600':['img_300_600.gif','img_300_600_1.png'],'600x300':['img_600_300.gif','img_600_300_1.png','img_600_300_2.png']};var bnr=tmpS[sizes][rand(0,tmpS[sizes].length-1)];var sT=sizes.split("x");var html='<a class="efi-promo-bnr js-subMoti" data-noti="1">\ 735 <img style="max-width: 100%;" src="'+BASE_URL+'/public/img/efi/'+LangI.actLang+'/'+bnr+'" width="'+sT[0]+'" height="'+sT[1]+'">\ 736 </a>';return html;} 737this.safeDoubleDecodeURIComponent=function(value){if(!value||typeof value!=="string"){return value;} 738try{value=decodeURIComponent(value);}catch(e){} 739try{value=decodeURIComponent(value);}catch(e){} 740return value;} 741this.init();} 742var UserViewRadiosI;var RecommendI;$(document).ready(function(){UserViewRadiosI=new UserViewRadios();if(!$('.recommend-box').length){return;} 743setTimeout(function(){if(typeof(RecommendI)=="undefined"){RecommendI=new Recommend();}},5000);}); 744function Flags(){var self=this;this.autoSlideStarted=false;this.slideRunning=false;this.autoSlideSteps=0;this.autoSliderTimer=null;this.clicked=false;this.init=function(){$('.flags-cont').addClass('fslider fake-fa');this.initArrows();setTimeout(function(){if($('.siblings-sites.no-flag').length&&(window.innerHeight>$('.siblings-sites').offset().top||window.innerHeight+200>$("body").height()||window.innerHeight+$(window).scrollTop()>$('.siblings-sites').offset().top)){$('.siblings-sites').removeClass('no-flag');}},100);setTimeout(function(){if($("._bannerTop1").height()>120){$('.flags-cont').addClass('expand');}else if($('.flags-cont .expand').length){if($('.disableAds').length){return;} 745UtilsI.initFocusListener(function(hidden){if(!document[hidden]&&!self.autoSlideStarted){self.autoSlideStarted=true;self.initAutoSlider(1000);}});} 746if(window.innerWidth>=768){var w=768;if(window.innerWidth>=979){w=979;}else if(window.innerWidth>=1190){w=1190;}else if(window.innerWidth>=1360){w=1360;} 747GaTrackI.ga4("topbnr_h",{'event_category':'w_'+w,'value':parseInt($('._bannerTop1').height())});}}
747,8000);this.bindLayerOpener();this.trackingFlagClick();} 748this.initAutoSlider=function(defTime){defTime=defTime?defTime:5000;self.autoSliderTimer=setTimeout(function(){self.slide(-1);self.autoSlideSteps++;if(self.autoSlideSteps<$('.flags-cont-inner a').length){self.initAutoSlider();}},defTime);} 749this.initArrows=function(){$('.js-fs-right, .js-fs-left').click(function(){clearTimeout(self.autoSliderTimer);self.slide($(this).hasClass('js-fs-right')?-1:1);});} 750this.slide=function(direction){if(this.slideRunning){return;} 751self.clicked=true;this.slideRunning=true;var fWidth=$('.flags-cont-inner a').outerWidth(true);var tMargin=fWidth*direction;if(direction==1){var f=$('.flags-cont-inner a').last();$('.flags-cont-inner').removeClass('anim').prepend(f);$('.flags-cont-inner').css('margin-left',-1*fWidth*direction+'px');tMargin=0;}else{} 752setTimeout(function(){$('.flags-cont-inner').addClass('anim').css('margin-left',tMargin+'px');},1);setTimeout(function(){if(direction==-1){$('.flags-cont-inner').removeClass('anim').css('margin-left','0px');$('.flags-cont-inner').append($('.flags-cont-inner a').eq(0));} 753self.slideRunning=false;},301);} 754this.bindLayerOpener=function(){$('.flags-layer-o').click(function(){GaTrackI.ga('flags-layer-open');var stack=new Array();var html=LangI.getText('sibling-site-promo');$('<div>').html(html).find('.pFlagsCont div').each(function(i,elem){stack.push({text:$(elem).text().trim(),html:$
754(elem).prop('outerHTML').replace("ssitepromo_","flaglayer_")});});stack.sort(function(a,b){return a.text.localeCompare(b.text);});var sortedHtmlArray=stack.map(function(item){return item.html;});var html='<div class="pFlagsCont">'+sortedHtmlArray.join('')+'</div>';var db=new DialogBox();db.openPopUp(html,LangI.getText('other-country-radios'),true);});} 755this.trackingFlagClick=function(){$('.flag-icon').on('click',function(e){clearTimeout(self.autoSliderTimer);var link=$(this).attr('href');if(link){var url=new URL($(this).attr('href'));GaTrackI.ga('flag-click'+"_"+url.host);}});} 756this.init();} 757$(document).ready(function(){new Flags();}); 758function Prehear(){var self=this;this.hls=null;this.timer=null;this.playTimer=null;this.stopTimer=null;this.bigPlayTime=null;this.audio=document.createElement('audio');this.init=function(){if(window.innerWidth<980){return;} 759this.bindStartProcess();this.bindPlayHelp();} 760this.bindStartProcess=function(){$('body').on('mouseenter','.extraListItem',function(){if($('.js-orderbyFav.edit').length){return;} 761var item=this;self.observeRemoval(item,function(){clearTimeout(self.timer);clearTimeout(self.stopTimer);clearTimeout(self.playTimer);self.stopAudio(item);});var source=$(item).data('src');var uLink=document.createElement("a");uLink.href=item.href;var uBase=document.createElement("a");uBase.href=document.location.href;if(!source||(uLink.pathname==uBase.pathname&&uLink.host==uBase.host)){return;} 762var src=atob(source);if(self.hls!=null){self.hls.destroy();self.hls=null;} 763self.runAnim(item);if($(item).data('src')){clearTimeout(self.playTimer);self.playTimer=setTimeout(function(){if(src.indexOf('m3u8')>-1){if(typeof(Hls)=="undefined"){self.loadHLSScript(function(){self.loadHLSStream(src,item);});}else{self.loadHLSStream(src,item);}}else{self.playAudio(item);}},500);}});$('body').on('mouseleave','.extraListItem',function(){clearTimeout(self.timer);clearTimeout(self.stopTimer);clearTimeout(self.playTimer);self.stopAudio(this);});} 764this.runAnim=function(item){$(item).addClass('phear');clearTimeout(self.timer);self.timer=setTimeout(function(){$(item).find('.radio-logo').addClass('fa-volume-up'+(self.isPlaying()?'':' anim'));GaTrackI.ga('prehear','start');},1000);} 765this.loadHLSStream=function(sUrl,cont){if(Hls.isSupported()){var hls=new Hls();this.hls=hls;hls.loadSource(sUrl);self.audio.src=sUrl;hls.attachMedia(self.audio);self.bindHLSErrorListener(hls,cont);}};this.playAudio=function(cont){self.stopBigPlayer();var source=$(cont).data('src');var src=atob(source);if(src.indexOf('http://')>-1){src='https://stream3.rdstrm.com/prx-http/'+src.replace('http://','');} 766if(src.indexOf('m3u8')==-1){self.audio.src=src;} 767self.audio.volume=CookieManagerI.get('volume')?CookieManagerI.get('volume'):0.8;var playPromise=self.audio.play();if(playPromise!==null&&typeof(playPromise)!="undefined"&&typeof(Promise)!="undefined"){playPromise.then(function(){$(cont).find('.radio-logo').removeClass('anim');}).catch(function(){$(cont).find('.radio-logo').removeClass('anim');});} 768this.stopTimer=setTimeout(function(){self.stopAudio(cont);GaTrackI.ga('prehear','stop');},30000);} 769this.stopAudio=function(cont){$(cont).removeClass('phear').find('.radio-logo').removeClass('fa-volume-up anim');self.audio.pause();self.audio.src='';if(self.hls!=null){self.hls.destroy();self.hls=null;} 770if(!$('.pausedByUser').length){self.playBigPlayer();}} 771this.bindPlayHelp=function(){$('body').on('click','.radiosListLink',function(e){var box=this;if($(e.target).parent().hasClass('fa-volume-up')){if(!self.isPlaying()&&!$(box).data('phclick')){e.preventDefault();self.playAudio(box);GaTrackI.ga('prehear','extraplay');}} 772$(box).data('phclick','1');});} 773this.stopBigPlayer=function(){if(!$('.mRadioPlayer .playPause').length){return;} 774clearTimeout(self.bigPlayTime);$('.mRadioPlayer .playPause').each(function(i,elem){if($(elem).hasClass('fa-pause')){$(elem).trigger('click');}});} 775this.playBigPlayer=function(){if(!$('.mRadioPlayer .playPause').length){return;} 776clearTimeout(self.bigPlayTime);self.bigPlayTime=setTimeout(function(){$('.mRadioPlayer .playPause').each(function(i,elem){if(!$(elem).hasClass('fa-pause')){$(elem).trigger('click');}});},2000);} 777this.loadHLSScript=function(callback){if(typeof(Hls)=="undefined"){var $script=$('<script>');if(callback){$script.on('load',callback);} 778$('body').append($script);var baseUrl=$('.js-radioplayerData').data('host')||$('.song-list-cont').data('host')||BASE_URL||$('base').attr('href');
778$script.attr('src',baseUrl+'/public/js/mini/hls.light-1.1.5.min.js');}} 779this.bindHLSErrorListener=function(hls,item){hls.on(Hls.Events.MANIFEST_PARSED,function(){self.playAudio(item);});hls.on(Hls.Events.ERROR,function(e,b,c,d){if(b.fatal==true){hls.destroy();}});} 780this.isPlaying=function(){if(self.audio.error){return true;} 781return self.audio&&(self.audio.currentTime>0||self.audio.ended||self.audio.readyState>2);} 782this.observeRemoval=function(element,callback){var observer=new MutationObserver(function(mutations){for(var i=0;i<mutations.length;i++){var mutation=mutations[i];var removedNodes=mutation.removedNodes;for(var j=0;j<removedNodes.length;j++){if(removedNodes[j]===element){callback();observer.disconnect();return;}}}});observer.observe(element.parentNode,{childList:true});} 783this.init();} 784var PrehearI=null;$(document).ready(function(){PrehearI=new Prehear();}); 785function GaTrack(){var trackingID='';var lastPing=0;var trackStartFallback=new Date().getTime();this.ga=function(param1,param2,param3,param4,param5){lastPing=new Date().getTime();if(typeof(gtag)!="undefined"){if(param1!="send"){param1=param1.toLowerCase().replace(/[^a-z0-9_]/g,"_").replace(/^([^a-z])/,"e_$1");} 786if(param1=="send"){gtag('event',param3,{'event_category':param4,'event_action':param5,});}else if(!param2&&!param3&&!param4){gtag('event',param1);}else if(!param3&&!param4){gtag('event',param1,{'event_category':param2});}else if(!param4){gtag('event',param1,{'event_category':param2,'event_action':param3,});}else{gtag('event',param1,{'event_category':param2,'event_action':param3,'event_label':param4,});}}else if(typeof(ga)!="undefined"){if(param1=="send"){ga(param1,param2,param3,param4,param5);}else{ga('send','event',param1,param2,param3);}}else{console.log("NO GA!",param1,param2,param3,param4,param5);} 787if(param1.indexOf('ga_time_')===-1){this.trackTime();}} 788this.ga4=function(eventName,params){if(typeof(gtag)!="undefined"){gtag('event',eventName,params);}else{console.log("NO GA!",eventName,params);}} 789this.createGaTrackURL=function(source,utm_medium,utm_campaign,utm_term){var txt=[];if(source){txt.push('utm_source='+source);} 790if(utm_medium){txt.push('utm_medium='+utm_medium);} 791if(utm_campaign){txt.push('utm_campaign='+utm_campaign);} 792if(utm_term){txt.push('utm_term='+utm_term);} 793return txt.join("&");} 794this.pingInterval=function(mustRun){var actT=new Date().getTime();if(actT-lastPing>240000||mustRun){var x=-1;if(typeof(CookieManagerI)!=="undefined"){if(CookieManagerI.getPageVisitNum()>=10){var x=parseInt(CookieManagerI.getPageVisitNum()/10)*10;}else{var x=Math.min(CookieManagerI.getPageVisitNum(),5);}} 795this.ga('visit',x);} 796setTimeout(function(){GaTrackI.pingInterval();},mustRun?240000:300000);} 797this.setPageView=function(pageTitle,pageUrl){if(typeof(gtag)=="undefined"){console.log("NO GA!",pageTitle,pageUrl);return;} 798if(!trackingID){var src=$("script[src*='?id=UA']").attr('src');if(src){trackingID=src.match(/\?id=(.*)/)[1];}} 799if(trackingID){gtag('config',trackingID,{'page_title':pageTitle,'page_path':pageUrl});}else if(typeof(ga)!="undefined"){ga('send','pageview',pageUrl);}} 800this.bindAutoTracking=function(){$('body').on('click','.js-gaTrack',function(){GaTrackI.ga($(this).data('cat'),$(this).data('act'),$(this).data('label'));});} 801this.trackTime=function(){try{var elapsed=new Date().getTime()-this.getTrackStart();var lastTrack=parseInt(sessionStorage.getItem('ga_ttime_track')||0,10);var limit;if(elapsed<1200000){limit=300000;}else if(elapsed<3600000){limit=600000;}else if(elapsed<7200000){limit=1800000;}else{limit=3600000;} 802for(var i=limit;i<elapsed;i+=limit){if(lastTrack<i){sessionStorage.setItem('ga_ttime_track',i);console.log('ga_time_'+parseInt(i/60000),i,elapsed,new Date().toLocaleTimeString());this.ga('ga_time_'+parseInt(i/60000));break;}}}catch(e){}} 803this.getTrackStart=function(){try{return parseInt(sessionStorage.getItem('ga_ttime')||trackStartFallback,10);}catch(e){return trackStartFallback;}} 804this.setTrackStart=function(time){try{var lastT=this.getTrackStart();if(lastT<1){sessionStorage.setItem('ga_ttime',String(time));}}catch(e){}} 805this.setTrackStart(new Date().getTime());} 806var GaTrackI=new GaTrack();setTimeout(function(){GaTrackI.pingInterval(true);},60000);$(document).ready(function(){GaTrackI.bindAutoTracking();});addEventListener("load",function(){setTimeout(function(){if(window.performance&&window.performance.getEntriesByType){var entries=window.performance.getEntriesByType("navigation");if(entries.length>0){var navTiming=entries[0];var pageLoadTime=navTiming.loadEventEnd-navTiming.startTime;GaTrackI.ga4("page_load_time",{'event_category':'performance','event_label':'page_load_time','page_load_time_ms':pageLo
806adTime});var firstLoadTime=navTiming.responseEnd-navTiming.requestStart;GaTrackI.ga4("first_load_time",{'event_category':'performance','event_label':'first_load_time','first_load_time_ms':firstLoadTime});}}},1000);}); 807function AdsConversion(){this.init=function(){var isGSearch=document.referrer&&document.referrer.indexOf("google.")>-1;if(CookieManagerI.get('gref_s')){GaTrackI.ga('gref_s',CookieManagerI.get('gref_s'));} 808if(!isGSearch){return;} 809var path='/';var isAdsSearch=document.referrer&&document.referrer.indexOf("google.")>-1&&document.location.href.indexOf("gclid=")>-1;if(isAdsSearch){CookieManagerI.set('gref_a',parseInt(CookieManagerI.get('gref_a')||0)+1,'14',path);GaTrackI.ga('gref_a',CookieManagerI.get('gref_a'));CookieManagerI.set('gref_at',parseInt(CookieManagerI.get('gref_at')||0)+1,'30',path);GaTrackI.ga('gref_at',CookieManagerI.get('gref_at'));}else{CookieManagerI.set('gref_s',parseInt(CookieManagerI.get('gref_s')||0)+1,'14',path);GaTrackI.ga('gref_s',CookieManagerI.get('gref_s'));if(CookieManagerI.get('gref_at')){GaTrackI.ga('gref_as',1);CookieManagerI.set('gref_at',1,-1,path);GaTrackI.ga('gref_at_end',CookieManagerI.get('gref_at'));}}} 810this.init();} 811$(document).ready(function(){new AdsConversion();}); 812function Subscription(){var self=this;this.checkRun=false;this.init=function(){this.bindOpenMotiLayer();this.bindStopEfi();} 813this.bindOpenMotiLayer=function(){var cIndex='sub_promom_live';if($('.js-userLoginBtn').length&&!CookieManagerI.get(cIndex)&&rand(0,1)&&CookieManagerI.getPageVisitNum()>5&&!$(".popup_layer:visible").length){CookieManagerI.set(cIndex,'1','45');if(MyConfigI.get('subModeLvL')&&userLoggedIn()){self.openMotiLayer();}else{self.openSurveyLayer();} 814GaTrackI.ga('sub_open',cIndex);} 815$('body').on("click",".js-subMoti",function(e){e.preventDefault();this.blur();window.focus();if(MyConfigI.get('subModeLvL')=="1"){self.openMotiLayer();}else{self.openSurveyLayer();} 816var nType=$(this).attr('data-noti');GaTrackI.ga('sub_open'+(nType?"_"+nType:""),$(this).parents('label').text().trim());if(nType==1){GaTrackI.ga('sub_open_adblock');$.ajax({'url':BASE_URL+'/view.gif/'+btoa('sub_open_adblock')});}});} 817this.showMotiLayer=function(extraTxt){if(MyConfigI.get('subModeLvL')<0){return;} 818if(MyConfigI.get('subModeLvL')=="1"){this.openMotiLayer();if(extraTxt){GaTrackI.ga('sub_open','lyrics');}else{GaTrackI.ga('sub_open','shazam');}}else{this.openSurveyLayer(extraTxt);}} 819this.openSurveyLayer=function(extraTxt){if(MyConfigI.get('subModeLvL')<0){return;} 820var db=new DialogBox();db.bindConfirm(function(){GaTrackI.ga("sub_survey","say_yes");setTimeout(function(){db.resetConfirm();var type=1;if(type){var html='<br>';var prices=MyConfigI.get('subSurPrices');for(i in prices){html+='<button class="button_blue js-surveySend" type="submit" data-v="'+i+'">'+prices[i]+'</button>';} 821db.openPopUp(LangI.getText('subscription-survey-price')+html,LangI.getText('app-settings-subscription'),true);$('.js-surveySend').click(function(){GaTrackI.ga("sub_survey","end",$(this).data('v'));db.openPopUp(LangI.getText('lyrics-help-thanks'));if(CookieManagerI.getPageVisitNum()>200){GaTrackI.ga("sub_survey","offer",$(this).data('v'));}});}else{var html='<br><br><input autofocus placeholder="..." class="my-input" maxlength="5" type="text" name="survey-p" value=""><br><button class="button_blue js-surveySend" type="submit">'+LangI.getText('star-vote-btn')+'</button>';db.openPopUp(LangI.getText('subscription-survey-price')+html,LangI.getText('app-settings-subscription'),true);$('.js-surveySend').click(function(){var $elem=$('[name="survey-p"]');if(!$elem.val().trim()){$elem.focus();$elem.addClass('errorForm');}else{GaTrackI.ga("sub_survey","end",$elem.val());db.openPopUp(LangI.getText('lyrics-help-thanks'));}});$('[name="survey-p"]')[0].focus();}},100);},function(){GaTrackI.ga("sub_survey","say_no");});db.openPopUp((extraTxt?extraTxt+'<br><br>':'')+LangI.getText('subscription-survey'),LangI.getText('app-settings-subscription'),false);} 822this.openMotiLayer=function(){var db=new DialogBox();var btn='<a class="more_radio_button sub-red js-trySubStep1"><div class="i_left anim"></div><div class="i_center">
822'+LangI.getText('try-btn')+'</div><div class="i_right flip anim"></div></a>';var bInfo='<i style="font-size: 12px;">'+LangI.getText('sub-trial-info')+'</i>';db.openPopUp(LangI.getText('app-subscription-promo-web')+bInfo+btn,LangI.getText('app-settings-subscription'),true);$('.js-trySubStep1').click(function(){if(userLoggedIn()){self.openPackagesLayer();}else{LoadScriptIfNeedI.loadFirebaseSources(function(){UserLoginI.openLoginLayer(true);});} 823GaTrackI.ga("sub_try_moti_click");});} 824this.openPackagesLayer=function(){if(userHasSubscription()){document.location.href="/user/profile";console.log('USER IS LOGGED IN!');return;} 825$.ajax({'url':BASE_URL+'/subscr-form'}).done(function(resp){var db=new DialogBox();db.openPopUp(resp,LangI.getText('app-settings-subscription'),true,false,360);$('.js-startPay').click(function(e){e.preventDefault();GaTrackI.ga("sub_try_start_pay");self.checkSubscrData();});GaTrackI.ga("sub_open_sub_form");self.trackShopping("view_item");});} 826this.checkSubscrData=function(){var data={};var dataErr=false;var $namei=$("[name='inv-name']");if(!$namei.val()){$namei.addClass('errorForm');dataErr=true;}else{data['inv-name']=$namei.val();} 827$('.inf-form input').removeClass('errorForm');$('.inf-form input').each(function(i,inp){var $inp=$(inp);if(!$inp.val()){$inp.addClass('errorForm');dataErr=true;}else{data[$inp.attr('name')]=$inp.val();}});$("[for='pp-ok'],[for='pp-ok'] a").removeClass('error-link');if(!$("#pp-ok").prop("checked")){$("[for='pp-ok'],[for='pp-ok'] a").addClass('error-link');dataErr=true;}else{data['pp-ok']=1;} 828$("[for='tu-ok'] a").removeClass('error-link');if(!$("#tu-ok").prop("checked")){$("[for='tu-ok'] a").addClass('error-link');dataErr=true;}else{data['tu-ok']=1;} 829data['sub-type']=$('[name="sub-type"]:checked').val();if(!data['sub-type']){dataErr=true;} 830if(!dataErr){self.startPay(data);}} 831this.startPay=function(data){if(this.checkRun){return;} 832this.checkRun=true;self.trackShopping("begin_checkout");$.ajax({'url':BASE_URL+'/payment/pay-start','method':'post','data':{'method':'check','data':data}}).done(function(resp){var repsD=JSON.parse(resp);if(repsD['status']==true){GaTrackI.ga("sub_start_pay");$("#sb-form").append('<input type="hidden" name="crsf" value="'+repsD['crsf']+'">');$("#sb-form").submit();}else{for(i in repsD['err']){$("[name='"+i+"']").addClass('errorForm');} 833GaTrackI.ga("sub_pay_form_err");} 834self.checkRun=false;});} 835this.bindStopEfi=function(){$('.js-stopEfi').click(function(e){e.preventDefault();var db=new DialogBox();db.bindConfirm(function(){$.ajax({'url':'/user/method/unsubscribe','method':'post','data':{'m':'1'}}).done(function(){UserProfileI.forceReload=true;document.location.reload();});});db.openPopUp(LangI.getText('subscription-off-desc'),LangI.getText('subscription-realy-end'));});} 836this.trackShopping=function(event_type){var infoS=$("#sb-form .my-radio input:checked");gtag("event",event_type,{currency:infoS.attr('data-currency'),value:infoS.attr('data-price'),items:[{item_id:'SKU_'+infoS.val(),item_name:infoS.siblings("label").html(),item_category:"Subscription",price:infoS.attr('data-price'),quantity:1}]});} 837this.init();} 838var SubscriptionI;$(document).ready(function(){SubscriptionI=new Subscription();});
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.