
//
//            WW  WW  WW
//            WW  WW  WW
//            WW  WW  WW
//             WWWWWWWW
//     __ __ _ _ _ __  _ __ _  _ 
//     \ V  V / | , , | __ \  V |
//      \_/\_/|_|_|_|_| .__/\_, |
//                    |_|   |___|
//
// ----------------------------------
//
//     Wimpy Player
//     7.8.24 2017-04-26
//     www.wimpyplayer.com
//     Copyright Plaino LLC
//
// ----------------------------------




if(typeof this.wimpyPlayer == 'undefined') {this.wimpyPlayer={};this.jbeeb=this.jbeeb||{};this.jbeeb=this.jbeeb||{},this.jbeeb.mimes={audio:{mp3:"audio/mpeg",wav:"audio/wav",aac:"audio/mp4",m4a:"audio/mp4",mpa:"audio/mpeg",oga:"audio/ogg",ogg:"audio/ogg",flac:"audio/flac"},video:{m4v:"video/mp4",m4p:"video/mp4",mp4:"video/mp4",webm:"video/webm",ogx:"video/ogg",ogv:"video/ogg",youtube:"video/youtube"},image:{jpg:"image/jpeg",png:"image/png",gif:"image/gif",tif:"image/tiff",bmp:"image/bmp"},playlist:{xml:"application/xml",php:"application/xml",asp:"application/xml",rss:"application/xml",opml:"application/xml",txt:"text/plain",js:"application/javascript",json:"application/json",jsonp:"application/javascript",m3u:"audio/x-mpegurl",pls:"text/plain",s3:"application/xml"}},Array.prototype.indexOf||(Array.prototype.indexOf=function(t,e){if(void 0===this||null===this)throw new TypeError('"this" is null or not defined');var i=this.length>>>0;for(e=+e||0,Math.abs(e)===1/0&&(e=0),0>e&&(e+=i,0>e&&(e=0));i>e;e++)if(this[e]===t)return e;return-1}),"b"!="ab".substr(-1)&&(String.prototype.substr=function(t){return function(e,i){return t.call(this,0>e?this.length+e:e,i)}}(String.prototype.substr)),Function.prototype.bind||(Function.prototype.bind=function(t){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var e=Array.prototype.slice.call(arguments,1),i=this,s=function(){},n=function(){return i.apply(this instanceof s&&t?this:t,e.concat(Array.prototype.slice.call(arguments)))};return s.prototype=this.prototype,n.prototype=new s,n}),this.jbeeb=this.jbeeb||{},function(){"use strict";function t(e,s){if("object"!==i.typeOf(e))return s;for(var n in s)"object"===i.typeOf(e[n])&&"object"===i.typeOf(s[n])?e[n]=t(e[n],s[n]):e[n]=s[n];return e}function e(e,s){var n,h,l,a,r,o=s[0],u=s.length;for((e||"object"!==i.typeOf(o))&&(o={}),n=0;u>n;++n)if(h=s[n],l=i.typeOf(h),"object"===l)for(a in h)r=e?i.clone(h[a]):h[a],o[a]=t(o[a],r);return o}var i=function(){},s=(Array.prototype.indexOf,Object.prototype.toString),n=String.prototype.trim;i.randomNumber=function(t,e){return t+Math.random()*(e-t)},i.randomInt=function(t,e){return Math.round(i.randomNumber(t,e))},i.link=function(t,e,i){var s,n,h,l;i=i||{},s=e||"_blank",n=[];for(h in i)h=h.toLowerCase(),"width"==h||"height"==h||"left"==h?n.push(h+"="+i[h]):"location"!=h&&"menubar"!=h&&"resizable"!=h&&"scrollbars"!=h&&"status"!=h&&"titlebar"!=h&&"toolbar"!=h||n.push(h+"=1");l=null,n.length>0&&(l=n.join(",")),window.open(t,s,l)},i.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===s.call(t)},i.empty=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},i.isEmpty=function(t){var e,s,n=typeof t;if("undefined"==n)return!0;if(null===t)return!0;if("object"==n){e=!0;for(s in t)if(!i.isEmpty(t[s])){e=!1;break}return e}return"string"==n&&""==t},i.typeOf=function(t){var e={}.toString.call(t);return"[object Object]"===e?"object":"[object Array]"===e?"array":"[object String]"===e?"string":"[object Number]"===e?"number":"[object Function]"===e?"function":"[object Null]"===e?"null":"undefined"},i.isNumber=function(t){return"[object Number]"===s.call(t)&&isFinite(t)},i.isInteger=function(t){return parseFloat(t)==parseInt(t)&&!isNaN(t)&&isFinite(t)},i.isString=function(t){return"[object String]"===s.call(t)},i.isNull=function(t){return""===t||null===t||void 0===t||"undefined"==t||"null"==t},i.isFalse=function(t){return t===!1||0===t||"0"===t||"string"==typeof t&&"false"===t.toLowerCase()},i.isTrue=function(t){return t===!0||1===t||"1"===t||"string"==typeof t&&"true"===t.toLowerCase()},i.isDomElement=function(t){return!(!t.nodeName||!t.nodeType)},i.clone=function(t){var e,s,n=t,h=i.typeOf(t);if("array"===h)for(n=[],s=t.length,e=0;s>e;++e)n[e]=i.clone(t[e]);else if("object"===h){n={};for(e in t)n[e]=i.clone(t[e])}return n},i.merge=function(t){return e(t===!0,arguments)},i.sortOn=function(t,e,i,s){if(!e||!t)return t;var n=function(t,e,i){var s=i?function(t){return parseFloat((t+"").replace(/[^0-9.\-]+/g,""))}:function(t){return(t+"").toLowerCase()},n=e?-1:1;return function(e,h){return e=s(e[t]),h=s(h[t]),i?(e-h)*n:(h>e?-1:e>h?1:0)*n}};t.sort(n(e,i,s))},i.arrayShuffle=function(t){var e,i,s,n,h;if(t){for(e=t.length,n=Math.floor,h=Math.random;e;)s=n(h()*e--),i=t[e],t[e]=t[s],t[s]=i;return t}return[]},i.arrayMove=function(t,e,i){t.splice(i,0,t.splice(e,1)[0])},i.arrayInsertArrayAt=function(t,e,i){return Array.prototype.splice.apply(t,[e,0].concat(i)),t},i.arrayInsertAt=function(t,e){var s=Array.prototype.splice.apply(arguments,[2]);return i.arrayInsertArrayAt(t,e,s)},i.rtrim=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,i.trim=n&&!n.call("\ufeff ")?function(t){return null==t?"":n.call(t)}:function(t){return null==t?"":(t+"").replace(i.rtrim,"")},i.initialCaps=function(t){var e,i,s=t.split(" ");for(e=0;e<s.length;e++)i=s[e].charAt(0).toUpperCase(),s[e]=i+s[e].substr(1);return s.join(" ")},i.alphanumeric=function(t,e){return e?t.replace(/[^A-Za-z0-9]/g,""):t.replace(/[^A-Za-z0-9_\-\.]/g,"")},i.numeric=function(t,e){return t.replace(/[^0-9\-\.]/g,"")},i.parseJSON=function(t){if("string"!=typeof t)return null;var e=null;try{e=JSON.parse(t.replace(/[\t\r\n]/g,""))}catch(t){e=null}return e},i.utf8_encode=function(t){return unescape(encodeURIComponent(t))},i.utf8_decode=function(t){return decodeURIComponent(escape(t))},i.rgbToHex=function(t){var e,i;return t?(e=function(t){return 1==t.length?"0"+t:""+t},i=[e(Math.round(t[0]).toString(16)),e(Math.round(t[1]).toString(16)),e(Math.round(t[2]).toString(16))],"#"+i.join("")):"#000000"},i.hexToRgb=function(t){if(!t)return"";var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]:[0,0,0]},i.makeColor=function(t,e){if(!t)return"";var s=i.hexToRgb(t);return i.isNumber(e)?(e>1&&(e/=100),e=","+e,"rgba("+s.join(",")+e+")"):t},i.hexBetween=function(t,e){var s=i.hexToRgb(t),n=i.hexToRgb(e);return i.rgbToHex(i.rgbBetween(s,n))},i.rgbBetween=function(t,e){var i=.5,s=1-i;return[t[0]*s+e[0]*i,t[1]*s+e[1]*i,t[2]*s+e[2]*i]},i.getXYWH=function(t){var e,i,s,n,h=0,l=0,a=0,r=0;if(t){for(e=document.body.getBoundingClientRect(),h-=e.left,l-=e.top,a=t.offsetWidth,r=t.offsetHeight,i=!1,jbeeb.Browser&&(i=jbeeb.Browser.touch);t&&!isNaN(t.offsetLeft)&&!isNaN(t.offsetTop);)i?(h+=(t.offsetLeft||0)-(t.scrollLeft||0),l+=(t.offsetTop||0)-(t.scrollTop||0)):(h+=t.offsetLeft||0,l+=t.offsetTop||0),t=t.offsetParent;i&&(s=null!=window.scrollX?window.scrollX:window.pageXOffset,n=null!=window.scrollY?window.scrollY:window.pageYOffset,h+=s,l+=n)}return{x:h,y:l,w:a,h:r,xMax:h+a,yMax:l+r}},i.getWindowSize=function(){var t=window,e=document,i=(e.body,e.documentElement),s=e.getElementsByTagName("body")[0];return{x:(t.pageXOffset||i.scrollLeft)-(i.clientLeft||0),y:(t.pageYOffset||i.scrollTop)-(i.clientTop||0),w:t.innerWidth||i.clientWidth||s.clientWidth,h:t.innerHeight||i.clientHeight||s.clientHeight}},i.getMousePos=function(t){var e=document.documentElement,i=document.body;return null==t.pageX&&null!=t.clientX&&(t.pageX=t.clientX+(e&&e.scrollLeft||i&&i.scrollLeft||0)-(e&&e.clientLeft||i&&i.clientLeft||0),t.pageY=t.clientY+(e&&e.scrollTop||i&&i.scrollTop||0)-(e&&e.clientTop||i&&i.clientTop||0)),{x:t.pageX,y:t.pageY}},i.contains=function(t,e){var i,s,n,h,l;if(!t||!e)return!1;i={},s={x:t.x,y:t.y,w:t.width,h:t.height},n={x:e.x,y:e.y,w:e.width,h:e.height},s.xMax=s.x+s.w,s.yMax=s.y+s.h,n.xMax=n.x+n.w,n.yMax=n.y+n.h;for(h in s)i[h]=s[h]>=n[h];return l=!(i.x||i.y||!i.xMax||!i.yMax)},i.getTimestamp=function(){return(new Date).getTime()},i.bindEvent=function(t,e,i){return t&&(t.attachEvent?t.attachEvent("on"+e,i):t.addEventListener&&t.addEventListener(e,i,!1)),i},i.unbindEvent=function(t,e,i){return t&&(t.attachEvent?t.detachEvent("on"+e,i):t.addEventListener&&t.removeEventListener(e,i,!1)),i},i.getAttributes=function(t){var e,i,s,n,h,l,a,r,o={};if(t&&t.attributes)for(e=0,t.getAttribute&&(e=1),i=t.attributes,s=i.length,n=!1,jbeeb.Browser&&(n=jbeeb.Browser.ie),h=0;s>h;h++)l=i[h],a=l.nodeName+"",e?r=t.getAttribute(a):n?l.specified&&(r=l.nodeValue):r=l.value||l.nodeValue,"class"==a&&(a="className"),o[a]=r;return o},i.decodeURL=function(t){var e,s=i.trim;return t=s(t),"__1"==t.substr(0,3)?t.indexOf("|")>-1?t:jbeeb.Base64?(e=t.substr(3,t.length),s(unescape(jbeeb.Base64.decode(e)))):t:t},i.escapeHTML=function(t){return(""+t).split("&").join("&amp;").split("<").join("&lt;").split('"').join("&quot;")},i.unescapeHTML=function(t){return i.fromHtmlEntities(unescape(""+t)).split("&quot;").join('"').split("&lt;").join("<").split("&amp;").join("&")},i.makeTagString=function(t,e,i){var s,n,h,l,a;if(e=e||"",s=[],i&&"object"==typeof i){s.push("");for(n in i)h=i[n],l="klass"==n?"class":n,null===h?s.push(l):(h+="",a=h.indexOf('"')>-1?"'":'"',s.push(l+"="+a+h+a))}return"<"+t+s.join(" ")+">"+e+"</"+t+">"},i.toHtmlEntities=function(t){var e,i=document.createElement("p");return i.textContent=t,e=i.innerHTML,i=null,e},i.fromHtmlEntities=function(t){return(t+"").replace(/&#\d+;/gm,function(t){return String.fromCharCode(t.match(/\d+/gm)[0])})},i.absoluteURL=function(t){var e=document.createElement("div");return e.innerHTML=i.makeTagString("a","u",{href:t}),t=e.firstChild.href,e=null,t},i.cssClassOps=function(t,e,i,s){var n,h,l,a,r,o=e.className;if(o=o.split(" "),n=o.indexOf(i)>-1,i&&"add"==t&&!n){for(h=!1,l=0;l<o.length;l++)a=o[l],a==i&&(o[l]="");o.push(i)}else if(i&&"remove"==t)for(l=0;l<o.length;l++)a=o[l],a==i&&(o[l]="");else if("replace"==t){for(r=!1,l=0;l<o.length;l++)a=o[l],a==i&&(r?o[l]="":(s?o[l]=s:o[l]="",r=!0));n=o.indexOf(s)>-1,r||n||o.push(s)}e.className=o.join(" ")},jbeeb.Utils=i}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(){function t(){var t,e,i;if(n=1,t=h)for(;t.length;)e=t.shift(),e&&(i=e.fn,i&&i.apply(null,e.args))}function e(){var t=[].slice.call(arguments),e=t.splice(0,1)[0];n?e.apply(null,t):h.push({fn:e,args:t})}function i(){var t,e;if(n=0,t=h)for(e=t.length;e--;)delete t[e]}function s(){i(),h=null,n=null}var n=0,h=[];return{ready:n,fire:t,add:e,cancel:i,destroy:s}};jbeeb.ReadyBoss=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t,e,i){function s(t,e){var n,h,l,a,r,o,d,f,b,p,m,g,y,v,j,w,k,x,S,E,L,C,T,P,M,F,A,U,_,O,D,R,I,N,z,B,W,X,H,Y,V,q,J,G,K;if(!t)return t;if(k=t.substr(0,4),"blob"==k)return x=t.split(":"),h=x.shift(),S=s(unescape(x.join(":"))),S.protocol=h,S.source=t,S.url=t,S;if("data"==k)return x=t.split(":"),h=x.shift(),E=x.join(":").split(","),L=E.shift(),C=E.join(","),P="",/\;/.test(L)?(M=L.split(";"),T=M[0],P=M[1]):T=L,{source:t||null,url:t||null,protocol:h,mime:T||"test/plain",data:C,encoder:P,basename:"",filename:"",path:"",pathurl:""};if(t=t||"",F=t.replace(/\\/g,"/"),F.indexOf("#")!=-1&&(w=F.split("#"),g=w[1],F=w[0]),F.indexOf("?")!=-1){for(w=F.split("?"),p=w[1],A=p.replace("&amp;","&").split("&"),m={},U=0;U<A.length;U++)_=A[U].split("="),m[_[0]]=_[1]||null;F=w[0]}if(F.match(/:\//)||(O="",O=e?u:c,D=s(O,!1),"/"==F.substr(0,1)?F=D.host+F:(R=D.pathurl,R.length>1&&"/"!=R.substr(-1)&&(R+="/"),F=R+F)),F.indexOf("..")>-1){for(I=F.split("/"),N=[],z=0;z<I.length;z++)B=I[z],".."==B?N.pop():N.push(B);F=N.join("/")}return W=!1,"/"==F.substr(-1)&&(W=!0),w=F.split("://"),h=w.shift(),f=(w.shift()||"").replace("//","/"),f=f.split("/"),l=f.shift()||"",l.indexOf("@")>-1&&(w=l.split("@"),X=w[0].split(":"),y=X[0],v=X[1],l=w[1]),l.indexOf(":")>-1&&(w=l.split(":"),a=w[1],l=w[0]),f=f.join("/"),w=f.split("/"),d=w.pop(),f=w.join("/"),".."==d&&(d=""),H=d.split("."),H.length>1?(o=H.pop().toLowerCase(),r=H.join(".")):(o="",r=d),j=h+"://"+l+(a?":"+a:""),f="/"+f+(f.length>0?"/":""),b=j+f,n=j+f+d+(p?"?"+p:"")+(g?"#"+g:""),Y=f,V=b,o?(f+=d,b+=d):(r=d,W?(f+=d+(""!=d?"/":""),b+=d+(""!=d?"/":""),p||g||"/"==n.substr(-1)||(n+="/")):(f+=d,b+=d)),i===!1&&("/"==Y.substr(-1)&&(Y=Y.substr(0,Y.length-1)),"/"==V.substr(-1)&&(V=V.substr(0,V.length-1)),o||("/"==f.substr(-1)&&(f=f.substr(0,f.length-1)),"/"==b.substr(-1)&&(b=b.substr(0,b.length-1)),"/"==n.substr(-1)&&(n=n.substr(0,n.length-1)))),o||!p&&!g||(q=((p?p:"")+(g?g:"")).split("/").pop(),J=q.split("."),J.length&&(G=J.pop(),G.length<4&&(o=G.toLowerCase()),J.length&&(K=J.pop(),""==d&&(d=K),""==r&&(r=K)))),{source:t||null,url:n||null,protocol:h||null,domain:l||null,port:a||null,basename:r||"",extension:o||null,ext:o||null,filename:d||"",path:f||null,pathurl:b||null,parent:Y||null,parenturl:V||null,query:p||null,queryObj:m||null,fragment:g||null,username:y||null,password:v||null,host:j||null}}function n(t){return t=t||"",a(t).split("/").pop()}function h(t){var e=n(t),i=e.split(".");return i.pop(),i.join(".")}function l(t){var e,i;return t=t||"",e=a(t).split("/").pop(),i=e.split("."),i.pop().toLowerCase()}function a(t){t=t||"";var e=t.split("?")[0];return e=e.split("#")[0]}function r(t){var e=a(t).split("/");return e.pop(),""+e.join("/")+(e.length>0?"/":"")}function o(t){var e,i=document.getElementsByTagName("script"),s=i[i.length-1],n=s.getAttribute("src");return e=n?t?a(n):r(n):""}var u,c;return i=void 0===i||i,u=o(),c=r(window.location.href),{parse:s,filename:n,basename:h,basepath:r,scriptPath:u,getScriptPath:o,pagePath:c,ext:l}};jbeeb.PathInfo=t()}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(){this.initialize()},e=t.prototype;t.initialize=function(t){t.addEventListener=e.addEventListener,t.removeEventListener=e.removeEventListener,t.removeAllEventListeners=e.removeAllEventListeners,t.hasEventListener=e.hasEventListener,t.dispatchEvent=e.dispatchEvent},e.b=null,e.initialize=function(){},e.addEventListener=function(t,e,i,s){var n,h=this.b;return h?this.removeEventListener(t,e,i):h=this.b={},n=h[t],n||(n=h[t]=[]),n.push({fn:e,arg:s,scope:i}),e},e.removeEventListener=function(t,e,i){var s,n,h,l=this.b;if(l&&(s=l[t]))for(n=s.length;n--;)h=s[n],h.scope==i&&h.fn==e&&s.splice(n,1)},e.removeAllEventListeners=function(t){t?this.b&&delete this.b[t]:this.b=null},e.dispatchEvent=function(t){var e,i,s,n,h,l,a=this.b;if(t&&a&&(e=a[t]))for(i=[].slice.call(arguments),i.splice(0,1),s=0;s<e.length;s++)n=e[s],n.fn&&(h=i.slice(),l=n.arg,void 0!==l&&h.push(l),h.length?n.scope?n.fn.apply(n.scope,h):n.fn.apply(null,h):n.scope?n.fn.call(n.scope):n.fn())},e.hasEventListener=function(t){var e=this.b;return!(!e||!e[t])},e.toString=function(){return"[EventDispatcher]"},jbeeb.EventDispatcher||(jbeeb.EventDispatcher=t)}(),this.jbeeb=this.jbeeb||{},function(){var t=function(){var t,e=[],i=document,s=i.documentElement.doScroll,n="DOMContentLoaded",h=(s?/^loaded|^c/:/^loaded|^i|^c/).test(i.readyState);return h||i.addEventListener(n,t=function(){for(i.removeEventListener(n,t),h=1;t=e.shift();)t()}),function(t){h?t():e.push(t)}};jbeeb.ready||(jbeeb.ready=t())}(),this.jbeeb=this.jbeeb||{},function(){function t(){return i&&i.call(performance)||(new Date).getTime()}var e=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame,i=window.performance&&(performance.now||performance.mozNow||performance.msNow||performance.oNow||performance.webkitNow),s=function(t){return this.init(t),this},n=s.prototype;n.addEventListener=null,n.removeEventListener=null,n.removeAllEventListeners=null,n.dispatchEvent=null,n.hasEventListener=null,jbeeb.EventDispatcher.initialize(n),n.g=50,n.j=0,n.k=null,n.l=null,n.m=!1,n.state=0,n.init=function(t){this.m=!!e;var i=t.fps||t.FPS;i?this.g=1e3/i:this.g=t.interval||50,t.startNow&&this.start()},n.stop=function(){this.state=0,this.n(this.o)},n.getInterval=function(){return this.g},n.setInterval=function(t){this.g=t},n.getFPS=function(){return Math.round(1e3/this.g)},n.setFPS=function(t){this.g=1e3/t},n.start=function(){this.state||(this.state=1,this.m?this.n(this.q):this.n(this.r),this.t())},n.q=function(){this.k=null,this.t(),t()-this.j<.97*(this.g-1)||this.u()},n.r=function(){this.k=null,this.t(),this.u()},n.o=function(){this.k=null},n.t=function(){if(null==this.k){if(this.m)return e(this.l),void(this.k=!0);this.k&&clearTimeout(this.k),this.k=setTimeout(this.l,this.g)}},n.n=function(t){this.l=t.bind(this)},n.u=function(){var e=t(),i=e-this.j;this.j=e,this.dispatchEvent("tick",{delta:i,time:e})},n.getTime=function(){return t()},n.destroy=function(){this.j=99999999,this.k&&clearTimeout(this.k),this.k=!1,this.m=!1,this.removeAllEventListeners(),this.addEventListener=null,this.removeEventListener=null,this.removeAllEventListeners=null,this.dispatchEvent=null,this.hasEventListener=null,this.l=null},n.toString=function(){return"[Ticker]"},jbeeb.Ticker||(jbeeb.Ticker=s)}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t,e,i,s,n,h,l,a,r,o,u,c,d,f,b,p,m,g,y,v,j,w,k,x,S,E,L,C,T,P,M,F,A,U,_,O,D,R,I,N,z,B,W,X,H,Y,V,q,J,G,K;jbeeb.Browser||(t={},L=("undefined"!=typeof navigator?navigator.userAgent:"").toLowerCase(),C=function(t){var e=L.match(t);return e&&e.length>1&&e[1]||""},j=C(/(ipod|iphone|ipad)/i).toLowerCase(),T=/like android/i.test(L),i=!T&&/android/i.test(L),o=/CrOS/.test(L),f=/silk/i.test(L),P=/sailfish/i.test(L),k=/tizen/i.test(L),y=/(web|hpw)os/i.test(L),M=/windows phone/i.test(L),F=!M&&/windows/i.test(L),A=!j&&!f&&/macintosh/i.test(L),U=!i&&!P&&!k&&!y&&/linux/i.test(L),_=C(/edge\/(\d+(\.\d+)?)/i),O=C(/version\/(\d+(\.\d+)?)/i),D=/tablet/i.test(L),E=!D&&/[^-]mobi/i.test(L),R=!0,I=O||0,/opera|opr/i.test(L)?(e=R,I=O||C(/(?:opera|opr)[\s\/](\d+(\.\d+)?)/i)):M?(M=R,_?(l=R,I=_):(a=R,I=C(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(L)?(a=R,I=C(/(?:msie |rv:)(\d+(\.\d+)?)/i)):o?(o=R,u=R,r=R,I=C(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)):/chrome.+? edge/i.test(L)?(l=R,I=_):/chrome|crios|crmo/i.test(L)?(r=R,I=C(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)):j?(j=R,O&&(I=O),/safari/i.test(L)&&(p=R)):/firefox|iceweasel/i.test(L)?(x=R,I=C(/(?:firefox|iceweasel)[ \/](\d+(\.\d+)?)/i)):f?(f=R,I=C(/silk\/(\d+(\.\d+)?)/i)):i?(i=R,I=O):/blackberry|\bbb\d+/i.test(L)||/rim\stablet/i.test(L)?(b=R,I=O||C(/blackberry[\d]+\/(\d+(\.\d+)?)/i)):/bada/i.test(L)?(v=R,I=C(/dolfin\/(\d+(\.\d+)?)/i)):k?(k=R,I=C(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||O):/safari/i.test(L)&&(p=R,I=O),/chromium/i.test(L)&&(c=R),!l&&/(apple)?webkit/i.test(L)?(m=R,!I&&O&&(I=O)):!e&&/gecko\//i.test(L)&&(S=R,I=I||C(/gecko\/(\d+(\.\d+)?)/i)),l||!i&&!f?j&&(w=R):i=R,N="",M?N=C(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):j?(N=C(/os (\d+([_\s]\d+)*) like mac os x/i),N=N.replace(/[_\s]/g,".")):i?N=C(/android[ \/-](\d+(\.\d+)*)/i):b?N=C(/rim\stablet\sos\s(\d+(\.\d+)*)/i):v?N=C(/bada\/(\d+(\.\d+)*)/i):k&&(N=C(/tizen[\/\s](\d+(\.\d+)*)/i)),z=N.split(".")[0],(D||j||i&&(3==z||4==z&&!E)||f||E||j||i||b||v)&&(E=R),I=parseFloat(I)||100,h=l||a,h&&"CSS1Compat"!=document.compatMode&&(I=8),(F||M)&&(B="win"),m&&(r&&10>I||i&&5>I?g=R:p&&5.1>I&&(g=R)),x&&(d=R),i&&(r!=R&&(W=L.match(/applewebkit\/([\d.]+)/),W&&W[1]<537&&(s=R)),n=null!==L.match(/android 2\.[12]/)),m?Y="webkit":e?Y="o":x?Y="moz":h&&I>8&&(Y="ms"),G=document.createElement("div"),K=G.style,K.cssText="linear-gradient(to bottom, #000 0%, #FFF 100%);",X=(""+K.backgroundImage).indexOf("gradient")>-1,K=null,G=null,(d&&I>=21||r&&I>=21||e&&I>=22||b&&I>=10)&&(H=R),V=!1,(d&&I>3||e&&I>9||h&&I>9||E||V||X||H)&&(q=R),(h&&I>=11||d&&I>=10||r&&I>=15||p&&I>=5.1||e&&I>=12.1||b&&I>=10)&&(J=R),p&&F&&(J=!1),t.ua=L,t.version=I,t.ios=w,t.android=i,t.mobile=E,t.win=F,t.opera=e,t.winphone=M,t.ie=h,t.chromium=c,t.chrome=r,t.moz=d,t.blackberry=b,t.safari=p,t.webkit=m,t.oldWebkit=g,t.w3c_gradient=X,t.w3c_download=H,t.touch=V,t.cssPrefix=Y,t.modern=q,t.stockAndroid=s,t.brokenAndroid=n,t.fullscreen=J,jbeeb.Browser=t)}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t,e=function(t){this.ready=0,this.$=new jbeeb.Ticker({interval:50,startNow:1});var e=new jbeeb.ReadyBoss;t.onReady&&(e.add(t.onReady),t.onReady=null),this._=e,this.aa=t,this.init()};e.ba=[],t=e.prototype,t.ca=null,t.da=null,t.ea=null,t.fa=null,t.ga=null,t._=null,t.ready=0,t.aa=null,t.ha=!1,t.$=null,t.ia=function(){var t,i,s,n=this.aa;e.ba.push(n.family),this.ca=n.family,this.da=n.testString||"giItT1WQy@!-/#",t=document.createElement("link"),t.type="text/css",t.rel="stylesheet",t.href=n.cssUrl,i=document.getElementsByTagName("head")[0],i.appendChild(t),s=document.createElement("span"),s.innerHTML=this.da,s.style.position="absolute",s.style.left="-10000px",s.style.top="-10000px",s.style.fontSize="300px",s.style.fontFamily="sans-serif",s.style.fontVariant="normal",s.style.fontStyle="normal",s.style.fontWeight="normal",s.style.letterSpacing="0",this.ea=s,document.body.appendChild(s),this.fa=s.offsetWidth,s.style.fontFamily=this.ca,this.$.removeEventListener("tick",this.init,this),this.$.addEventListener("tick",this.tick,this)},t.ja=!1,t.init=function(){var t,i;this.ja||(t=this.aa,e.ba.indexOf(t.family)>-1?(this.ja=!0,this.ka()):(i=0,document.body&&document.body.appendChild&&(i=1),i?(this.ja=!0,this.$.removeEventListener("tick",this.init,this),this.ia()):this.ha||(this.ha=!0,this.$.addEventListener("tick",this.init,this))))},t.tick=function(t){var e=0;this.ea&&this.ea.offsetWidth!=this.fa&&(e=1),this.$.getTime()>3e3&&(e=1),e&&this.ka()},t.ka=function(){this.ready=1,this.la(),this._.fire(),this.$.destroy()},t.la=function(){this.$.removeEventListener("tick",this.init,this),this.$.removeEventListener("tick",this.tick,this),this.ea&&(this.ea.parentNode.removeChild(this.ea),this.ea=null)},t.onReady=function(t){var e=[].slice.call(arguments);this.ready?(t.apply(null,e),this._.fire()):this._.add.apply(null,e)},t.destroy=function(){this.la(),this._.destroy()},t.type="FontFaceLoader",jbeeb.FontFaceLoader||(jbeeb.FontFaceLoader=e)}(),this.jbeeb=this.jbeeb||{},function(){"use strict";jbeeb.Base||(jbeeb.ticker=null,jbeeb.tickerInterval=200,jbeeb.scriptPath=null,jbeeb.pagePath="",jbeeb.assetsBasePath="",jbeeb.focus=null,jbeeb.binit=0),jbeeb.unfocus=function(){if(jbeeb.focus){var t=jbeeb.focus;t.element&&t.element.blur(),jbeeb.focus=null}};var t=function(){};t.ma=0,t._=new jbeeb.ReadyBoss,t.na=function(e){return"JBEEB_"+t.ma++},t.oa=function(e){t._.add(e.init.bind(e))},t.init=function(){jbeeb.Ticker&&(jbeeb.ticker=new jbeeb.Ticker({interval:jbeeb.tickerInterval,startNow:1})),jbeeb.assetsBasePath||(jbeeb.assetsBasePath=""),"http"!=window.location.href.substr(0,4)?(jbeeb.pagePath||(jbeeb.pagePath=""),jbeeb.scriptPath||(jbeeb.scriptPath="")):(jbeeb.pagePath||(jbeeb.pagePath=jbeeb.PathInfo.pagePath),jbeeb.scriptPath||(jbeeb.scriptPath=jbeeb.PathInfo.scriptPath)),t._.fire()},jbeeb.Base||(jbeeb.Base=t,jbeeb.register=t.oa,jbeeb.getUID=t.na)}(),jbeeb.binit||(jbeeb.binit=1,jbeeb.ready(function(){setTimeout(jbeeb.Base.init,10)})),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t,e,i,s,n){function h(t,i){e&&e(t,i,s,n)}function l(){o=!0;try{a.abort()}catch(t){}}var a,r,o,u,c,d,f;i=i||"text",a=null,r=!1,o=!1,u=!1;try{a=new XMLHttpRequest}catch(t){if(u=!0,"undefined"!=typeof XDomainRequest)a=new XDomainRequest;else try{a=new ActiveXObject("Msxml2.XMLHTTP")}catch(t){try{a=new ActiveXObject("Microsoft.XMLHTTP")}catch(t){a=!1}}}a||h(null,null,s,n),"xml"!=i&&a.overrideMimeType&&(c="text/plain","json"==i&&(c="application/json"),a.overrideMimeType(c));try{d=t.replace("&amp;","&"),u?a.open("get",d):a.open("get",d,!0),a.onreadystatechange=function(){if(4==a.readyState&&!r){if(r=!0,!o){var t;try{t="xml"==i?a.responseXML||a.responseText:a.responseText||a.responseXML}catch(e){t="xml"==i?a.responseXML||a.responseText:a.responseText||a.responseXML}h(t,a.status)}a=null}},a.send(null)}catch(t){"xml"==i?(f="?",h("<"+f+'xml version="1.0"'+f+">",500)):(f="",h(f,500))}return{cancel:l}};jbeeb.TextLoader||(jbeeb.TextLoader=t)}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=0,e=function(e,i){function s(){n=!0}var n,h,l,a,r,o,u,c=[].slice.call(arguments);return c.splice(0,2),n=!1,i&&e&&(h="JBEEB_JSONP_"+t++,l=e+((e.indexOf("?")<0?"?":"&")+"callback="+h),a=document,r=window,r[h]=function(t){var e=a.getElementById(h);e.parentNode.removeChild(e),e=null,n||(c.unshift(t),i.apply(null,c)),delete r[h]},o=a.createElement("script"),o.id=h,o.src=l,u=a.getElementsByTagName("head")[0],u.appendChild(o)),{cancel:s}};jbeeb.JSON_P||(jbeeb.JSON_P=e)}(),this.jbeeb=this.jbeeb||{},function(){"use strict";function t(t){this.pa=t,this.qa=-1,this.ra=[]}function e(t){this.pa=t,this.qa=-1,this.ra=[]}var i={sa:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(e){var i,s,n,h,l,a,r,o,u;if(window.btoa)return window.btoa(e);for(i=[],s=new t(e);s.ta();)n=s.va,s.ta(),h=s.va,s.ta(),l=s.va,a=n>>2,r=(3&n)<<4|h>>4,o=(15&h)<<2|l>>6,u=63&l,isNaN(h)?o=u=64:isNaN(l)&&(u=64),i.push(this.sa.charAt(a)+this.sa.charAt(r)+this.sa.charAt(o)+this.sa.charAt(u));return i.join("")},decode:function(t){var i,s,n,h,l;if(window.atob)return window.atob(t);for(i=[],s=new e(t);s.ta();)n=s.va,128>n?i.push(String.fromCharCode(n)):n>191&&224>n?(s.ta(),h=s.va,i.push(String.fromCharCode((31&n)<<6|63&h))):(s.ta(),h=s.va,s.ta(),l=s.va,i.push(String.fromCharCode((15&n)<<12|(63&h)<<6|63&l)));return i.join("")}};t.prototype={va:Number.NaN,ta:function(){if(this.ra.length>0)return this.va=this.ra.shift(),!0;if(this.qa<this.pa.length-1){var t=this.pa.charCodeAt(++this.qa);return 13==t&&10==this.pa.charCodeAt(this.qa+1)&&(t=10,this.qa+=2),128>t?this.va=t:t>127&&2048>t?(this.va=t>>6|192,this.ra.push(63&t|128)):(this.va=t>>12|224,this.ra.push(t>>6&63|128),this.ra.push(63&t|128)),!0}return this.va=Number.NaN,!1}},e.prototype={va:64,ta:function(){var t,e,s,n,h,l,a,r;return this.ra.length>0?(this.va=this.ra.shift(),!0):this.qa<this.pa.length-1?(t=i.sa,e=t.indexOf(this.pa.charAt(++this.qa)),s=t.indexOf(this.pa.charAt(++this.qa)),n=t.indexOf(this.pa.charAt(++this.qa)),h=t.indexOf(this.pa.charAt(++this.qa)),l=e<<2|s>>4,a=(15&s)<<4|n>>2,r=(3&n)<<6|h,this.va=l,64!=n&&this.ra.push(a),64!=h&&this.ra.push(r),!0):(this.va=64,!1)}},jbeeb.Base64=i}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t){var e,i,s,n,h,l,a,r,o,u,c,d,f,b,p,m,g,y,v,j,w,k,x,S,E,L,C,T,P,M,F,A,U,_,O,D,R,I,N,z,B,W,X,H,Y,V,q,J,G,K,$,Q,Z=t,tt=!1;return jbeeb.Browser&&(tt=jbeeb.Browser.touch),e=jbeeb.Browser.chrome&&jbeeb.Browser.android,i=jbeeb.Utils.getXYWH,s=document.documentElement,n=document.defaultView,h=document.body,l=0,a=0,r=300,o=0,u=2,c=!1,d=null,f="mousedown",b="mouseup",p="mousemove",m="mouseover",g="mouseout",y="dblclick",v=0,j=0,w=0,k=0,x={},S=!1,E=!1,L=!0,C=function(t){L=t},T={mousedown:"pointerdown",mouseup:"pointerup",mousemove:"pointermove",mouseover:"pointerover",mouseout:"pointerout",dblclick:null},P={mousedown:"touchstart",mouseup:"touchend",mousemove:"touchmove",mouseover:null,mouseout:null,dblclick:"dblclick"},M=jbeeb.Utils.bindEvent,F=jbeeb.Utils.unbindEvent,A=function(t,i,s){if(tt){var n=P[i];n&&(e||t.addEventListener(n,_,!0))}M(t,i,s)},U=function(t,i,s){if(tt){var n=P[i];n&&(e||t.removeEventListener(n,_,!0))}F(t,i,s)},_=function(t){var e,i,s=t.changedTouches[0];switch(t.type){case"touchstart":e="mousedown";break;case"touchmove":e="mousemove";break;case"touchend":e="mouseup";break;default:return}e&&(t.preventDefault(),i=document.createEvent("MouseEvent"),i.initMouseEvent(e,!0,!0,window,1,s.screenX,s.screenY,s.clientX,s.clientY,!1,!1,!1,!1,0,null),i.metouch=1,s.target.dispatchEvent(i))},O=function(t){0==l&&(o=0,a=t.time),l=t.time-a+1,l>300&&(o++,o>u&&(o=0,Z.dispatchEvent("mouseRepeat",Z,x)))},D=function(){for(var t=null,e=Z,i=0;!t;){if(e.amStage)t=e;else{if(!e.parent)break;e=e.parent}if(i>100)break;i++}t?Z.stage=t:Z.stage=Z},R=0,I=0,N=function(t,e){var l,a,r,o,u,c,f,b,p,m,g,y,v,j;for(null==t.pageX&&null!=t.clientX&&(t.pageX=t.clientX+(s&&s.scrollLeft||h&&h.scrollLeft||0)-(s&&s.clientLeft||h&&h.clientLeft||0),t.pageY=t.clientY+(s&&s.scrollTop||h&&h.scrollTop||0)-(s&&s.clientTop||h&&h.clientTop||0)),r=Z.stage,d||(d=i(r.element)),o=t.pageX,u=t.pageY,c=0,f=0,b=r.element,R=0,I=0;b;)R+=b.scrollLeft||0,I+=b.scrollTop||0,b=b.parentNode||null;if(o+=R,u+=I,l=o-d.x,a=u-d.y,r.mouseX=l,r.mouseY=a,p=l,m=a,g=e.parent){for(;!g.amStage;)c+=g.element.scrollLeft,f+=g.element.scrollTop,l-=g.x,a-=g.y,g=g.parent;p=l,m=a}return z===!1&&(y=n.getComputedStyle(h,""),z=parseFloat(y.marginTop),B=parseFloat(y.marginLeft)),v=l-e.x-z,j=a-e.y-B,{mouseX:v,mouseY:j,parentX:p,parentY:m,pageX:o,pageY:u,scrollX:c,scrollY:f,event:t}},z=!1,B=0,W=function(t,e){return U(document,p,X),x.event=t,Z.hasEventListener("mouseRepeat")&&jbeeb.ticker.removeEventListener("tick",O),U(document,b,W),l=0,(!e&&H?1:0)||Z.dispatchEvent("mouseUp",Z,x),!1},X=function(t,e){return(!e&&H?1:0)||(t.preventDefault(),x=N(t,Z,tt),x.startX=v,x.startY=j,x.dragX=x.parentX-v+x.scrollX,x.dragY=x.parentY-j+x.scrollY,x.deltaX=x.dragX-w,x.deltaY=x.dragY-k,x.event=t,Z.dispatchEvent("mouseDrag",Z,x)),!1},H=0,Y=function(t,e){return!!L&&(e&&(H=1),(!e&&H?1:0)||(Z.stage||D(),d=null,x=N(t,Z,tt,!0),v=x.startX=x.mouseX+x.scrollX,j=x.startY=x.mouseY+x.scrollY,w=x.dragX=x.parentX-v,k=x.dragY=x.parentY-j,x.deltaX=0,x.deltaY=0,x.event=t,Z.MELbubble||(t.stopPropagation&&t.stopPropagation(),t.preventDefault&&!Z.editable&&t.preventDefault()),Z.dispatchEvent("mouseDown",Z,x),Z.dispatchEvent("mouseClick",Z,x),U(document,b,W),A(document,b,W),Z.hasEventListener("mouseDrag")&&(U(document,p,X),A(document,p,X)),Z.hasEventListener("mouseRepeat")&&jbeeb.ticker.addEventListener("tick",O)),!1)},V=function(t){return q(t,"in")?(E||(Z.dispatchEvent("mouseOver",Z,x),E=!0),Z.dispatchEvent("mouseMove",Z,x),!1):(E&&(U(document,p,V),Z.dispatchEvent("mouseOut",Z,x),S=!1,E=!1),!1)},q=function(t,e){x=N(t,Z,tt),v=x.startX=x.mouseX+x.scrollX,j=x.startY=x.mouseY+x.scrollY,w=x.dragX=x.parentX-v,k=x.dragY=x.parentY-j,x.deltaX=0,x.deltaY=0,x.event=t;var i,s,n,h;if(i=x.mouseX,s=x.mouseY,n=Z.width,h=Z.height,"in"==e){if(i>0&&s>0&&n>i&&h>s)return!0}else if(0>i||0>s||i>n||s>h)return!0;return!1},J=function(t){return Z.stage||D(),S||(U(document,p,V),A(document,p,V),S=!0),!1},U(Z.element,f,Y),A(Z.element,f,Y),G=function(t){tt||(c=!0,Z.stage||D(),1==t?(U(Z.element,m,J),A(Z.element,m,J)):U(Z.element,m,J))},K=function(t){return Z.stage||D(),x=N(t,Z,tt,!0),Z.dispatchEvent("doubleClick",Z,x),!1},$=function(t){1==t?(U(Z.element,y,K),A(Z.element,y,K)):U(Z.element,y,K)},Q=function(){jbeeb.ticker&&jbeeb.ticker.removeEventListener("tick",O),U(document,b,W),U(document,p,X),U(document,p,V),U(Z.element,f,Y),U(Z.element,m,J),U(Z.element,y,K),G=null,J=null,q=null,V=null,Y=null,X=null,W=null,N=null,D=null,O=null,A=null,U=null,tt=null,i=null,s=null,h=null,l=null,a=null,r=null,o=null,u=null,c=null,d=null,f=null,b=null,p=null,m=null,g=null,v=null,j=null,w=null,k=null,x=null,S=null,E=null,Z=null},{enableMouseOver:G,enableDoubleClick:$,tick:O,type:"MouseEventListener",destroy:Q,setEnabled:C}};jbeeb.MouseEventListener=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";function t(t){return t.charAt(0).toUpperCase()+t.slice(1)}var e=function(t){this.init(t)},i=e.prototype;i.addEventListener=null,i.removeEventListener=null,i.removeAllEventListeners=null,i.dispatchEvent=null,i.hasEventListener=null,jbeeb.EventDispatcher.initialize(i),i.amStage=null,i.element=null,i.stage=null,i.parent=null,i.MELbubble=null,i.wa=null,i.xa=null,i.ya=null,i.za=null,Object.defineProperty(i,"x",{get:function(){var t=jbeeb.Utils.getXYWH(this.element),e=t.x;return this.wa=e,e},set:function(t){this.element.style.left=t+"px",this.wa=t}}),Object.defineProperty(i,"y",{get:function(){var t=jbeeb.Utils.getXYWH(this.element),e=t.y;return this.xa=e,e},set:function(t){this.element.style.top=t+"px",this.xa=t}}),Object.defineProperty(i,"width",{get:function(){var t=jbeeb.Utils.getXYWH(this.element),e=t.width;return this.ya=e,e},set:function(t){this.element.style.width=t+"px",this.ya=t}}),Object.defineProperty(i,"height",{get:function(){var t=jbeeb.Utils.getXYWH(this.element),e=t.height;return this.za=e,height},set:function(t){this.element.style.height=t+"px",this.za=t}}),i.init=function(t){var e,i,s,n,h=t.element;for("string"==typeof h&&(h=document.getElementById(h)),this.element=h,this.amStage=!0,this.stage=null,this.parent={element:h.parentNode,amStage:!0},e=["down","up","click","over","move","drag","out","doubleClick"],i=0;i<e.length;i++)s=e[i],n=t[s],n&&this.addListener(s,n.fn,n.scope,n.arg);
},i.setMouseEnabled=function(t){var e=this.element.style,i=0===t||t===!1,s=i?"none":"auto";e.pointerEvents=s,this.Aa&&this.Aa.setEnabled(!i)},i.Aa=null,i.MELbubble=!1,i.MELpreventDefault=!0,i.MELpropagate=!1,i.addListener=function(e,i,s,n,h){e="doubleClick"==e?e:"mouse"+t(e),this.MELbubble=n,this.MELpreventDefault=!1,this.MELpropagate=!1,this.Aa||(this.Aa=new jbeeb.MouseEventListener(this)),"mouseOver"==e||"mouseOut"==e||"mouseMove"==e?this.Aa.enableMouseOver(1):"doubleClick"==e&&this.Aa.enableDoubleClick(1),this.addEventListener(e,i,s,h)},i.removeListener=function(e,i){e="mouse"+t(e),this.removeEventListener(e,i,this),"mouseOver"==e?this.Aa&&this.Aa.enableMouseOver(0):"doubleClick"==e&&this.Aa&&this.Aa.enableDoubleClick(0)},i.removeAllListeners=function(){this.removeAllEventListeners(null),this.Aa&&(this.Aa.destroy(),this.Aa=null)},i.toString=function(){return"[Pointer (name="+this.name+")]"},i.type="Pointer",jbeeb.Pointer=e}(),"object"!=typeof JSON&&(JSON={}),function(){"use strict";function f(t){return 10>t?"0"+t:t}function quote(t){return escapable.lastIndex=0,escapable.test(t)?'"'+t.replace(escapable,function(t){var e=meta[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'}function str(t,e){var i,s,n,h,l,a=gap,r=e[t];switch(r&&"object"==typeof r&&"function"==typeof r.toJSON&&(r=r.toJSON(t)),"function"==typeof rep&&(r=rep.call(e,t,r)),typeof r){case"string":return quote(r);case"number":return isFinite(r)?r+"":"null";case"boolean":case"null":return r+"";case"object":if(!r)return"null";if(gap+=indent,l=[],"[object Array]"===Object.prototype.toString.apply(r)){for(h=r.length,i=0;h>i;i+=1)l[i]=str(i,r)||"null";return n=0===l.length?"[]":gap?"[\n"+gap+l.join(",\n"+gap)+"\n"+a+"]":"["+l.join(",")+"]",gap=a,n}if(rep&&"object"==typeof rep)for(h=rep.length,i=0;h>i;i+=1)"string"==typeof rep[i]&&(s=rep[i],n=str(s,r),n&&l.push(quote(s)+(gap?": ":":")+n));else for(s in r)Object.prototype.hasOwnProperty.call(r,s)&&(n=str(s,r),n&&l.push(quote(s)+(gap?": ":":")+n));return n=0===l.length?"{}":gap?"{\n"+gap+l.join(",\n"+gap)+"\n"+a+"}":"{"+l.join(",")+"}",gap=a,n}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;"function"!=typeof JSON.stringify&&(JSON.stringify=function(t,e,i){var s;if(gap="",indent="","number"==typeof i)for(s=0;i>s;s+=1)indent+=" ";else"string"==typeof i&&(indent=i);if(rep=e,e&&"function"!=typeof e&&("object"!=typeof e||"number"!=typeof e.length))throw Error("JSON.stringify");return str("",{"":t})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){function walk(t,e){var i,s,n=t[e];if(n&&"object"==typeof n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(s=walk(n,i),void 0!==s?n[i]=s:delete n[i]);return reviver.call(t,e,n)}var j;if(text+="",cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t,e,i){this.Ba(t,e,i)},e=t.prototype;e.Ca=!1,e.Da=!1,e.Ea="2147480000",e.Fa=null,e.Ga=null,e.Ha=null,e.Ia=null,e.Ja=null,e.Ka=null,e.La=null,e.Ma=null,e.Na=null,e.Oa=null,e.Pa=null,e.Qa=null,e.Ra=null,e.Sa=null,e.Ta=null,e.Ba=function(t,e,i){var s,n,h,l,a,r,o,u,c,d,f,b,p,m,g=jbeeb.Browser;this.Ca=!1,this.Ua={},this.Da=g.fullscreen,this.Ha=g,this.Na=i,this.Da&&(s=g.chrome,n=g.ie,h=g.moz,l=g.webkit,a=g.oldWebkit,r=g.ios,o=g.opera,u="undefined",c=document,d="requestFullscreen",f="exitFullscreen",b="fullscreenchange",p="fullscreen",m="fullscreenElement",l?(a?(d="webkitRequestFullScreen",f="webkitCancelFullScreen"):(d="webkitRequestFullscreen",f="webkitExitFullscreen"),b="webkitfullscreenchange",p="webkitFullscreen",m="webkitFullscreenElement"):h?(d="mozRequestFullScreen",f="mozCancelFullScreen",b="mozfullscreenchange",p="mozFullscreen",m="mozFullScreenElement"):o?(d="oRequestFullScreen",f="oExitFullScreen",b="ofullscreenchange",p="oFullscreen",m="oFullscreenElement"):n&&(d="msRequestFullscreen",f="msExitFullscreen",b="MSFullscreenChange",p="msFullscreen",m="msFullscreenElement"),this.Ia=d,this.Ja=f,this.Ka=b,this.La=p,this.Ma=m,this.Ra=this.Va.bind(this)),this.Ga=e,this.setFullscreenObject(t)},e.Wa=null,e.setFullscreenObject=function(t,e){var i,s;t?(i=t.element,this.Fa=i,this.Pa=t,this.Wa=0,this.Da&&"MediaController"==t.type&&e&&(s=(e.nodeName+"").toLowerCase(),"video"==s&&(this.Fa=e,this.Wa=1,this.Ha.ios&&this.Ha.safari&&(this.Ia="webkitEnterFullScreen")))):(this.Ha.ios&&this.Ha.safari&&(this.Fa.removeEventListener("webkitbeginfullscreen",this.Ra),this.Fa.removeEventListener("webkitendfullscreen",this.Ra)),this.Fa=null,this.Pa=null,this.Wa=0)},e.enter=function(t){this.Fa&&(this.Ca=1,this.Da?(this.Qa=-1,document.removeEventListener(this.Ka,this.Ra),document.addEventListener(this.Ka,this.Ra),this.Ha.webkit?this.Ha.oldWebkit?this.Fa[this.Ia]():void 0!==Element.ALLOW_KEYBOARD_INPUT?this.Fa[this.Ia](Element.ALLOW_KEYBOARD_INPUT):this.Fa[this.Ia]():this.Fa[this.Ia](),this.Ha.ios&&this.Ha.safari&&(this.Fa.removeEventListener("webkitbeginfullscreen",this.Ra),this.Fa.removeEventListener("webkitendfullscreen",this.Ra),this.Fa.addEventListener("webkitbeginfullscreen",this.Ra,!1),this.Fa.addEventListener("webkitendfullscreen",this.Ra,!1)),this.Wa||this.Xa()):this.Xa(),this.Ya(1))},e.Va=function(t){this.Qa++,this.Qa>0&&this.exit()},e.Ya=function(t){this.Ga&&this.Ga(t)},e.exit=function(t){this.Ca=0,this.Qa=-1,this.Ya(0),this.Da?(document[this.Ja]&&document[this.Ja](),document.removeEventListener(this.Ka,this.Ra),this.Ha.ios&&this.Ha.safari&&(this.Fa.removeEventListener("webkitbeginfullscreen",this.Ra),this.Fa.removeEventListener("webkitendfullscreen",this.Ra)),this.Wa||this.Za()):this.Za()},e.$a=function(t){27==(t.which||t.keyCode)&&this.exit()},e._a=function(t,e){27==e&&this.exit()},e.ab=null,e.Xa=function(){var t,e,i,s=window.getComputedStyle(this.Fa);this.Ta={p:s.getPropertyValue("position"),x:parseInt(s.getPropertyValue("left")),y:parseInt(s.getPropertyValue("top")),w:parseInt(s.getPropertyValue("width")),h:parseInt(s.getPropertyValue("height")),z:parseInt(s.getPropertyValue("z-index"))||0},t=this.Fa.style,t.top="0px",t.left="0px",t.width="100%",t.height="100%",this.Da||(e=new jbeeb.Rube({w:24,h:24,fill:[{color:"#000000",alpha:.45183},{color:"#797979",alpha:.76151}],stroke:[{weight:2,color:"#e0e0e0",alpha:1},{weight:2,color:"#ffffff",alpha:1}],rounded:.31947,text:"x",font:"WimpyPlayerGlyphs",align:"center",textColor:[{color:"#ffffff",alpha:1},{color:"#ffffff",alpha:1}]}),i=e.style,i.position="fixed",i.left="",i.right="10px",i.top="10px",i.zIndex=this.Ea+1,e.addMEL("mouseDown",this.bb,this),e.addMEL("mouseUp",this.cb,this),this.ab=e,document.body.appendChild(e.element),t.zIndex=this.Ea-1,t.position="fixed"),this.Sa||(this.Sa=this.$a.bind(this)),jbeeb.Utils.bindEvent(window,"keydown",this.Sa)},e.bb=function(t,e,i){t.setState(1)},e.cb=function(t,e,i){t.setState(2),this.exit()},e.Za=function(){var t,e,i;jbeeb.Utils.unbindEvent(window,"keydown",this.Sa),this.Da||(t=this.Ta,e=this.Fa.style,e.position="relative",e.left=t.x+"px",e.top=t.y+"px",e.width=t.w+"px",e.height=t.h+"px",e.zIndex=t.z,i=this.ab,i.removeAllMEL(),i.destroy()),this.Pa.setXYWH(this.Pa.x,this.Pa.y,this.Pa.width,this.Pa.height)},e.destroy=function(){this.Ga=null,this.Ra=null,(0,jbeeb.Utils.unbindEvent)(window,"keydown",this.Sa),this.Sa=null},jbeeb.Fullscreen=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t){var e,i,s,n,h,l,a,r,o,u,c,d,f,b,p=function(t){return"string"==typeof t&&(t=t.toLowerCase()),t===!0||1===t||"1"===t||"true"===t},m=function(t){return void 0!==t&&null!==t},g=function(){return(new Date).getTime()},y=("undefined"!=typeof navigator?navigator.userAgent:"").toLowerCase(),v=function(t){var e=y.match(t);return e&&e.length>1&&e[1]||""},j=!1,w=0;if(/msie|trident/i.test(y)&&(j=!0,w=parseInt(v(/(?:msie |rv:)(\d+(\.\d+)?)/i)||v(/version\/(\d+(\.\d+)?)/i))),j&&"CSS1Compat"!=document.compatMode&&(w=8),e={},e.bgcolor=t.bgcolor||"#000000",t.scale&&(e.scale=t.scale),t.salign&&(e.salign=t.salign),t.allowScriptAccess&&(p(t.allowScriptAccess)?e.allowScriptAccess="always":e.allowScriptAccess=t.allowScriptAccess),t.allowFullScreen&&(e.allowFullScreen=p(t.allowFullScreen)?"true":"false"),t.menu&&(e.menu=p(t.menu)?"true":"false"),t.wmode&&(e.wmode=t.wmode||"opaque"),t.flashvars){i=t.flashvars,s=[];for(n in i)s.push(n+"="+escape(i[n]));e.flashVars=s.join("&")}if(e.allowScriptAccess=e.allowScriptAccess?e.allowScriptAccess:"always",h=t.swf,l=j?"cb="+g():"",h+=e.flashVars?"?"+encodeURIComponent(e.flashVars)+"&"+l:"?"+l,j&&10>w){o="",9>w?(u="jbeebFlashElementReplacing"+g(),t.element.innerHTML='<div id="'+u+'"></div>',r=document.getElementById(u),i="8,0,0,0",c=t.flashVersion,c&&(d=parseInt(i),d>4&&(i=d+",0,0,0")),o+='<object codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+i+'"'):(r=document.createElement("DIV"),t.element.appendChild(r),o+='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'),o+=' style="outline:0px;',m(t.x)&&(o+="left:"+(t.x||"0")+"px;"),m(t.y)&&(o+="top:"+(t.y||"0")+"px;"),o+='"',o+=' id="'+t.id+'"',o+=' width="'+t.w+'"',o+=' height="'+t.h+'"',o+=">",o+='<param name="movie" value="'+h+'" />',f="",f+='src="'+h+'" ',f+='name="'+t.id+'" id="'+t.id+'" ',f+='width="'+t.w+'" ',f+='height="'+t.h+'" ';for(n in e)o+='<param name="'+n+'" value="'+e[n]+'" />',f+=n+'="'+e[n]+'" ';9>w?o="<embed "+f+"/>":o+="</object>",r.outerHTML=o,a=document.getElementById(t.id)}else{a=document.createElement("object"),a.id=t.id,a.width=t.w,a.height=t.h,a.style.outline=0,m(t.x)&&(a.style.left=t.x||"0px"),m(t.y)&&(a.style.top=t.y||"0px"),a.type="application/x-shockwave-flash",a.data=h;for(n in e)b=document.createElement("param"),b.setAttribute("name",n),b.setAttribute("value",e[n]),a.appendChild(b);t.element.appendChild(a)}return a};jbeeb.FlashElement=t}(),function(){"use strict";var t=function(t){function e(t){var e,i;if(e="string"==typeof t?document.getElementById(t):t){for(i in e)"function"==typeof e[i]&&(e[i]=null);e.parentNode.removeChild(e)}}var i;i="string"==typeof t?document.getElementById(t):t,i&&/object|embed/i.test(i.nodeName)&&(jbeeb.Browser.ie?(i.style.display="none",function(){4==i.readyState?e(id):setTimeout(arguments.callee,10)}()):i.parentNode.removeChild(i))};jbeeb.FlashElementRemove=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(){function t(t){return t?a:a[0]+"."+a[1]}function e(t){return"string"==typeof t&&(t=t.replace(/\,/gi,".")),t=(""+t).split("."),t[1]=t[1]||0,t[2]=t[2]||0,a[0]>t[0]||a[0]==t[0]&&a[1]>t[1]||a[0]==t[0]&&a[1]==t[1]&&a[2]>=t[2]}var i,s,n,h,l=window.navigator,a=(window.navigator.userAgent.toLowerCase(),[0,0,0]),r="Shockwave Flash",o="application/x-shockwave-flash",u=l.plugins;if(void 0!==u&&"object"==typeof u[r]){if(i=u[r].description,s=l.mimeTypes,i&&(void 0===s||!s[o]||s[o].enabledPlugin))for(a=i.replace(r,"").replace(/^\s+/,"").replace(/\sr/gi,".").split("."),n=0;n<a.length;n++)a[n]=parseInt(a[n].match(/\d+/),10)}else if(void 0!==window.ActiveXObject)try{h=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),h&&(i=h.GetVariable("$version"),i&&(i=i.split(" ")[1].split(","),a=[parseInt(i[0],10),parseInt(i[1],10),parseInt(i[2],10)]))}catch(t){}return{hasVersion:e,getVersion:t}};jbeeb.FlashDetect||(jbeeb.FlashDetect=t())}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t,e=function(t){return this.init(t),this};e.ba=[],t=e.prototype,t.w=null,t.h=null,t.controls=null,t.controlsList=null,t.url="",t.onComplete=null,t.target=null,t.amSM=!1,t.rawData=null,t.sourceX=null,t.sourceY=null,t.sourceW=null,t.sourceH=null,t.width=null,t.height=null,t.styles=null,t.bkgdColor=null,t.db=null,t.eb=null,t.fb=null,t.gb=null,t.hb=null,t.ib=null,t.init=function(t){this.target=t.target,this.amSM=t.amSM,this.onComplete=t.onComplete,this.hb=t.preSort,this.fb=t.preProcess,this.gb=t.postProcess,t.url&&this.load(t.url)},t.clear=function(){var t,e;if(this.controls){for(t in this.controls)e=this.controls[t],e&&(e.removeAllMEL&&e.removeAllMEL(),e.removeAllEventListeners&&e.removeAllEventListeners(),e.element&&e.element.parentNode&&e.element.parentNode.removeChild(e.element),this.target&&e&&this.target.removeChild(e),e.destroy&&e.destroy(),e=null),this.controls[t]=null,this.styles[t]=null;this.controls=null,this.controlsList=null}},t.destroy=function(){this.fb=null,this.gb=null,this.db&&this.db.cancel(),this.db=null,this.eb&&this.eb.cancel(),this.eb=null,this.clear(),this.onComplete=null,this.controls=null,this.controlsList=null,this.styles=null},t.load=function(t,i){var s,n,h,l;if(this.clear(),this.db&&this.db.cancel(),this.ib=0,t)if(this.url=t,i&&(this.onComplete=i),"string"==typeof t)if("{"==t.substr(0,1))this.eb=new jbeeb.DelayCall(this.setup.bind(this),1,t);else{for(s=e.ba,n=0,h=0;h<s.length;h++)l=s[h],t==l.url&&(n=l.raw);n?this.eb=new jbeeb.DelayCall(this.setup.bind(this),1,n):(this.ib=1,this.db=new jbeeb.TextLoader(t,this.setup.bind(this)))}else this.eb=new jbeeb.DelayCall(this.setup.bind(this),1,t)},t.setup=function(t){var i,s,n,h,l,a,r,o,u,c,d,f,b;if(this.clear(),this.db=null,this.controls={},this.controlsList=[],this.styles={},t=t||null,this.ib&&e.ba.push({url:this.url,raw:t}),i="string"==typeof t?jbeeb.Utils.parseJSON(t)||{}:t||{},i.thumbnail=null,this.rawData=jbeeb.Utils.clone(i),s=this.target,this.bkgdColor=i.bkgdColor||"#FFFFFF",n=jbeeb.Utils.sortOn,h=i.layout,l=null,h){for(n(h,"z",!1,!0),this.hb&&this.hb(h),a=0,r=0,o=jbeeb.Utils.isNumber(i.x)?i.x:100,u=jbeeb.Utils.isNumber(i.y)?i.y:100,this.amSM&&(c=jbeeb.Utils.getWindowSize(),o+i.width>c.w&&(o=10),u+i.height>c.h&&(u=10)),this.sourceX=o,this.sourceY=u,this.sourceW=this.width=i.width,this.sourceH=this.height=i.height,d=0;d<h.length;d++)f=h[d],f.children&&n(f.children,"z",!1,!0),this.jb(f,i),this.amSM&&(f.x+=o,f.y+=u),b=f.x+f.w,b>a&&(a=b),b=f.y+f.h,b>r&&(r=b),this.addObject(f);this.amSM&&(a-=o||0,r-=u||0),this.sourceW=a,this.sourceH=r,s.amStage&&s.setSize(a,r),l=1}this.onComplete&&this.onComplete(l)},t.jb=function(t,e){var i,s;if(this.kb(t.image,e),t.children)for(i=t.children,s=0;s<i.length;s++)this.jb(i[s],e)},t.kb=function(t,e){var i,s;if(t&&e.images)if(jbeeb.Utils.isArray(t))for(i=0;i<t.length;i++)s=t[i],this.lb(s,e);else s=t,this.lb(s,e)},t.lb=function(t,e){if(t&&t.url&&"JBEEBIMAGE_"==t.url.substr(0,11)){var i=e.images[t.url];i&&"JBEEBIMAGE_"==i.substr(0,11)&&(i=e.images[i]),t.url=i}},t.removeObject=function(t){var e,i,s,n,h=t.name;for(e in this.controls)if(i=this.controls[e],t==i){s=i.name,this.target.removeChild(i),i.destroy(),i=null,this.controls[s]=null,this.styles[s]=null;break}for(n=0;n<this.controlsList.length;n++)this.controlsList[n]==h&&this.controlsList.splice(n,1)},t.addObject=function(t,e){var i,s,n,h,l,a=e||this.target;for(this.fb&&(t=this.fb(t)),i=t.name||jbeeb.getUID(),s=1,n=i;this.controlsList.indexOf(n)>-1;)n=i+"_"+s++;return n!=i&&(i=n),h=t.type,l=this.mb(t),l?(l.name=i,e?e.addChild(l):(this.controls[i]=l,this.controlsList.push(i),a.addChild(l)),this.styles[i]=jbeeb.Utils.clone(t),this.gb&&this.gb(l),l):null},t.mb=function(t){var e,i=null;return t&&(t.amSM=this.amSM,e=t.type,e&&("Box"==e?(i=this.amSM?new jbeeb.Container(t):new jbeeb.Box(t),i.temp.originalType="Box"):"TextBox"==e?(i=this.amSM?new jbeeb.TextContainer(t):new jbeeb.TextBox(t),i.temp.originalType="TextBox"):"TextScroller"==e?(i=this.amSM?new jbeeb.TextContainer(t):new jbeeb.TextScroller(t),i.temp.originalType="TextScroller"):"Thinker"==e?(i=this.amSM?new jbeeb.TextContainer(t):new jbeeb.Thinker(t),i.temp.originalType="Thinker"):void 0!==jbeeb[e]&&(i=new jbeeb[e](t)),this.nb(i,t))),i},t.nb=function(t,e){var i,s,n;if(("Container"==e.type||"TextContainer"==e.type)&&e.children)for(i=e.children,s=0;s<i.length;s++)n=this.mb(i[s]),n&&t.addChild(n)},t.toString=function(){return"[Skin (url="+this.url+")]"},t.type="Skin",jbeeb.Skin=e}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(){function t(t){var e,i,s,h,l;if(n=!1,e=t.obj)for(i=e.style,i.mozTransition=i.oTransition=i.msTransition=i.webkitTransition=i.transition=t.css,s=t.funcs,h=0;h<s.length;h++)l=s[h],l.f.call(e,l.e)}function e(e){t(e)}var i={},s=!1,n=!1,h=null,l=new jbeeb.Ticker({interval:500}),a={in:"ease-in",out:"ease-out","in-out":"ease-in-out",snap:"cubic-bezier(0,1,.5,1)",linear:"cubic-bezier(0.250, 0.250, 0.750, 0.750)","ease-in-quad":"cubic-bezier(0.550, 0.085, 0.680, 0.530)","ease-in-cubic":"cubic-bezier(0.550, 0.055, 0.675, 0.190)","ease-in-quart":"cubic-bezier(0.895, 0.030, 0.685, 0.220)","ease-in-quint":"cubic-bezier(0.755, 0.050, 0.855, 0.060)","ease-in-sine":"cubic-bezier(0.470, 0.000, 0.745, 0.715)","ease-in-expo":"cubic-bezier(0.950, 0.050, 0.795, 0.035)","ease-in-circ":"cubic-bezier(0.600, 0.040, 0.980, 0.335)","ease-in-back":"cubic-bezier(0.600, -0.280, 0.735, 0.045)","ease-out-quad":"cubic-bezier(0.250, 0.460, 0.450, 0.940)","ease-out-cubic":"cubic-bezier(0.215, 0.610, 0.355, 1.000)","ease-out-quart":"cubic-bezier(0.165, 0.840, 0.440, 1.000)","ease-out-quint":"cubic-bezier(0.230, 1.000, 0.320, 1.000)","ease-out-sine":"cubic-bezier(0.390, 0.575, 0.565, 1.000)","ease-out-expo":"cubic-bezier(0.190, 1.000, 0.220, 1.000)","ease-out-circ":"cubic-bezier(0.075, 0.820, 0.165, 1.000)","ease-in-out-quart":"cubic-bezier(0.770, 0.000, 0.175, 1.000)","ease-in-out-quint":"cubic-bezier(0.860, 0.000, 0.070, 1.000)","ease-in-out-sine":"cubic-bezier(0.445, 0.050, 0.550, 0.950)","ease-in-out-expo":"cubic-bezier(1.000, 0.000, 0.000, 1.000)","ease-in-out-circ":"cubic-bezier(0.785, 0.135, 0.150, 0.860)","ease-in-out-back":"cubic-bezier(0.680, -0.550, 0.265, 1.550)","ease-in-bounce":"cubic-bezier(0.7,0.28,0.67,1.53)","whip-in":"cubic-bezier(0.7,0.28,0.67,1.53)"},r=function(h,l,r,u,c,d){var f,b,p,m,g,y,v,j,w,k,x,S,E;s||(n=!0,o()),f="string"==typeof u?a[u]:1===u?"ease-out":u===-1?"ease-in":"linear",b=[],p=[],m=[];for(g in l)y=l[g],v=h[g],j=y-v,w={v:g,f:h.setAlpha,s:v,e:y,d:j},"alpha"==g?w.f=h.setAlpha:"x"==g?w.f=h.setX:"y"==g?w.f=h.setY:"width"==g?w.f=h.setWidth:"height"==g?w.f=h.setHeight:"scale"==g&&(w.f=h.setScale),b.push(g),p.push(w);return m="all "+r+"ms "+f,k=h.id+b.sort().join(""),x={elapsed:0,duration:r,delayElapsed:0,delay:c||0,obj:h,funcs:p,complete:d,id:k,css:m},S=i[k],S&&(E=S.elapsed,x.duration=r>E?r-E:r),i[k]=x,c=c||0,c>0?new jbeeb.DelayCall(e,c,x):t(x),x},o=function(){h&&h.cancel(),l.state||(l.start(),l.addEventListener("tick",d,this))},u=function(){n||(h=new jbeeb.DelayCall(c,3e3))},c=function(){l.removeAllEventListeners(),l.stop(),h=null},d=function(t){var e,s,n,h=0,l=t.delta;for(e in i)if(s=i[e])if(h++,s.delayElapsed<s.delay)s.delayElapsed+=l;else if(s.elapsed>s.duration)s.complete&&s.complete(),f(s);else for(n=0;n<s.funcs.length;n++)s.elapsed+=l;else f(s);1>h&&u()},f=function(t){var e,s,n=t.id;t.obj&&(e=t.obj.style,e.mozTransition=e.oTransition=e.msTransition=e.webkitTransition=e.transition="none");for(s in t)t[s]=null;delete i[n]};return{to:r,tick:d,type:"Animate",cancel:f,start:o,stop:u,runDelayed:e}};jbeeb.Animate=t()}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t,e){this.ob=t,this.pb=!1;var i=[].slice.call(arguments);i.splice(0,2),this.qb=i,this.rb=setTimeout(this.sb.bind(this),e||1)},e=t.prototype;e.ob=null,e.tb=null,e.rb=null,e.pb=null,e.qb=null,e.sb=function(){var t,e;this.pb||(t=this.ob,e=this.qb,t&&e&&e.length>0?t.apply(null,e):t()),this.cancel()},e.cancel=function(){this.pb=!0;var t=this.rb;t&&clearTimeout(t),this.ob=null,this.tb=null,this.rb=null,this.qb=null},jbeeb.DelayCall=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=new jbeeb.Ticker({fps:60}),e=function(e,i,s,n,h){var l,a;for(this.ob=i,this.ub=e,this.vb=this.wb.bind(this),l=[],a=0;a<s.length;a++)l.push({prop:s[a],last:null});this.xb=l,h&&(t.start(),this.start())},i=e.prototype;i.ob=null,i.ub=null,i.vb=null,i.yb=null,i.zb=null,i.xb=null,i.wb=function(){var t,e,i,s,n=window.getComputedStyle(this.ub),h=this.xb,l=h.length,a=(n.getPropertyValue,0);for(t=0;l>t;t++)if(e=h[t],i=n.getPropertyValue(e.prop),s=e.last,i!=e.last){a=1,e.last=i;break}a&&this.ob()},i.stop=function(){t.removeEventListener("tick",this.vb)},i.start=function(e){t.addEventListener("tick",this.vb)},i.destroy=function(){this.stop(),this.ob=null,this.ub=null,this.vb=null,this.yb=null,this.zb=null,this.xb=null},jbeeb.Observer=e}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t){this.init(t)},e=t.prototype;e.name=null,e.Ab=null,e.Bb=null,e.Cb=e.init,e.init=function(t){var e,i,s,n,h,l,a,r,o=jbeeb.Utils.absoluteURL(t.url),u=o.substring(o.lastIndexOf("/")+1,o.length),c=t.server;c&&(c=jbeeb.Utils.absoluteURL(c),e=jbeeb.PathInfo.parse(o),i=jbeeb.PathInfo.parse(c),e.domain!=i.domain&&(c=null)),c?(s=document.createElement("form"),s.method=t.method||"GET",s.action=c,s.target="_blank",n=document.createElement("input"),n.setAttribute("type","hidden"),n.setAttribute("name","f"),n.setAttribute("value",o),s.appendChild(n),document.body.appendChild(s),s.submit()):(window.MouseEvent||document.createEvent)&&jbeeb.Browser.w3c_download?(h=document.createElement("a"),h.href=o,h.target="_blank",h.type="application/octet-stream",h.download=u,window.MouseEvent?(l=new MouseEvent("click",{bubbles:!1,cancelable:!1,view:window}),a=!h.dispatchEvent(l),a&&window.open(o,"Download")):(r=document.createEvent("MouseEvents"),r.initEvent("click",!1,!1,window,null,0,0,0,0,!1,!1,!1,!1,0,null),h.dispatchEvent(r))):window.open(o,"Download")},e.toString=function(){return"[Downloader (name="+this.name+")]"},e.type="Downloader",jbeeb.Downloader=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t){var e,i,s,n,h,l,a,r,o,u,c,d,f=function(t){if(!t)return"";var e=null;return e=void 0===t.xml?(new XMLSerializer).serializeToString(t):t.xml},b=function(e){var i,s,n,h;if(window.DOMParser){try{s=new DOMParser,i=s.parseFromString(e,"text/xml")}catch(t){i=null}return i}for(n=[,"Microsoft.XMLDOM","MSXML2.DOMDocument.6.0","MSXML2.DOMDocument.3.0","MSXML2.DOMDocument"],h=0;3>h;h++)try{if(t=new ActiveXObject(n[h]))break}catch(e){t=null}return t?(t.async=!1,t.loadXML(e),t):null};if("string"==typeof t&&(e=jbeeb.Utils.trim(t).substr(0,1),"<"==e&&(t=b(t))),!t)return[];i=[];try{s=t.firstChild}catch(t){return[{file:"ERROR: Invalid XML"}]}for(n=null,h=jbeeb.Utils.getAttributes(s),h.image&&(n=h.image),!n&&h.visual&&(n=h.visual),l=t.getElementsByTagName("item"),a=0;a<l.length;a++){for(r={},o=l[a].firstChild;null!=o;o=o.nextSibling)if(1==o.nodeType&&(u=o.nodeName,"filename"==u&&(u="file"),"visual"==u&&(u="image"),"filetype"==u&&(u="kind"),o.firstChild)){for(c="",d=o.firstChild;null!=d;d=d.nextSibling)c+=f(d);r[u]=c}i.push(r)}return{cover:n,list:i}};jbeeb.PlaylistParserXML=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t,e){var i,s,n,h,l,a,r,o,u,c,d,f,b,p,m=jbeeb.Utils.trim,g=jbeeb.PathInfo.parse(e);for(g=g.parent?g.parent:"",i=[],s=m(t).split("\n"),n=s[0].toLowerCase(),"[playlist]"==n&&s.shift(),h=0,l=null,a=0;a<s.length;a++)r=m(s[a]),r&&(o={},u=r.split("="),c=u.shift().toLowerCase(),d=m(u.join("=")),f=c.split(/(\d)/),f.length>1&&(b=f.shift(),p=f.join(""),p!=h&&(l&&i.push(l),l={},h=p),"length"==b&&(b="seconds"),"file"==b&&"http"!=d.substr(0,4)&&"/"!=d.substr(0,1)&&(d=g+d),l[b]=d));return{cover:null,list:i}};jbeeb.PlaylistParserPLS=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t,e){var i,s,n,h,l,a,r,o,u,c,d,f=jbeeb.PathInfo.parse(e);for(f=f.parent?f.parent:"",i=[],s=jbeeb.Utils.trim,n=s(t).split("#EXTINF"),n.shift(),h=0;h<n.length;h++)l={},a=s(n[h]).split("\n"),r=a[0].split(","),l.seconds=s(r.shift().replace(":","")),o=r.join(","),u=o.split(" - "),u.length>1?(l.artist=s(u[0]),u.shift(),c=u.join(" - "),l.title=s(c)):l.title=part1,d=s(a[1]),"http"!=d.substr(0,4)&&"/"!=d.substr(0,1)&&(d=f+d),l.file=d,i.push(l);return{cover:null,list:i}};jbeeb.PlaylistParserM3U=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t,e){function i(t,e,i,s){i&&(s&&(i=s?s(i):i),t[e]=i)}function s(t){return t?/[A-Za-z]/.test(t)?Date.parse(t):parseInt(t):t}function n(t){var e=["mp3","wav","aac","m4a","mpa","oga","ogg","m4v","m4p","mp4","webm","ogx","ogv"],i=t.split("."),s=i.pop();return e.indexOf(s)>-1}var h,l,a,r,o,u,c,d,f,b,p,m,g,y=[],v=null;if("string"==typeof t&&(t=jbeeb.Utils.parseJSON(t.replace("!","%3F"))),t.responseData&&t.responseData.feed&&(h=t.responseData.feed.entries,l=t.responseData.feed.link,h))for(a=0;a<h.length;a++){if(r=h[a],o={},r.mediaGroups)for(u=r.mediaGroups,c=0;c<u.length;c++)d=u[c],f=d.contents,f&&f.length&&(f=f[0],b=f.url,b&&(o.file=b),f=f.thumbnails,f&&f.length&&(f=f[0],b=f.url,b&&(o.image=b)));b=r.enclosure,b&&(p=b.href,p&&(o.file=p)),m=r.link,o.file||m&&n(m)&&(o.file=m,m=null),o.file&&(g={},i(o,"title",r.title),i(o,"artist",r.author),i(o,"date",r.publishedDate,s),i(o,"link",m||l),y.push(o))}return{cover:v,list:y}};jbeeb.PlaylistParserFEED=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t){var e,i,s,n,h,l,a,r,o,u,c,d=function(e){var i,s,n,h;if(window.DOMParser){try{s=new DOMParser,i=s.parseFromString(e,"text/xml")}catch(t){i=null}return i}for(n=[,"Microsoft.XMLDOM","MSXML2.DOMDocument.6.0","MSXML2.DOMDocument.3.0","MSXML2.DOMDocument"],h=0;3>h;h++)try{if(t=new ActiveXObject(n[h]))break}catch(e){t=null}return t?(t.async=!1,t.loadXML(e),t):null};if("string"==typeof t&&(e=jbeeb.Utils.trim(t).substr(0,1),"<"==e&&(t=d(t))),!t)return[];i=[];try{s=t.firstChild}catch(t){return[{file:"ERROR: Invalid XML"}]}for(n=jbeeb.Utils.getAttributes,h=null,l=n(s),l.image&&(h=l.image),!h&&l.visual&&(h=l.visual),a=t.getElementsByTagName("outline"),r=0;r<a.length;r++)o={},u=a[r],l=n(u),c=l.url,c&&(o.file=c,c=l.text,c&&(o.title=c),o.kind="rss"),i.push(o);return{cover:h,list:i}};jbeeb.PlaylistParserOPML=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";function t(t){var e=null;return t?e=void 0===t.xml?(new XMLSerializer).serializeToString(t):t.xml:""}function e(e,i){var s,l,a,r,o,u,c,d,f,b,p,m,g,y,v,j,w,k,x,S,E,L,C,T,P=[{file:"ERROR: Invalid XML"}];if(!e)return P;s=[];try{l=e.firstChild}catch(t){return P}for(a=e.getElementsByTagName("Prefix"),a=t(a[0].firstChild),r=a.length,o=e.getElementsByTagName("CommonPrefixes"),u=0;u<o.length;u++){for(d=o[u].firstChild;null!=d;d=d.nextSibling)if(1==d.nodeType&&"Prefix"==d.nodeName&&d.firstChild){for(f="",b=d.firstChild;null!=b;b=b.nextSibling)f+=t(b);c={file:i+"/"+f,kind:"s3",title:f.substr(r,f.length-r-1)}}c&&s.push(c)}for(o=e.getElementsByTagName("Contents"),p=[],m=[],u=0;u<o.length;u++){for(c={},g=!1,d=o[u].firstChild;null!=d;d=d.nextSibling)if(x=d.nodeName,("Key"==x||"LastModified"==x||"Size"==x)&&1==d.nodeType&&d.firstChild){for(f="",b=d.firstChild;null!=b;b=b.nextSibling)f+=t(b);"Key"==x?(y=f,S=y.split("."),w=S.pop(),n.indexOf(w)>-1?(g=!0,k=S.join(".")):h.indexOf(w)>-1&&p.push(y)):"Size"==x?j=f:"LastModified"==x&&(v=Date.parse(f))}g&&m.push({file:y,basepath:k,date:v,size:j,kind:w})}for(u=0;u<m.length;u++){for(E=m[u],L=E.basepath,C=0;C<h.length;C++)if(T=L+"."+h[C],p.indexOf(T)>-1){E.image=i+"/"+T;break}E.file=i+"/"+E.file,delete E.basepath,s.push(E)}return s}function i(t){var e,i,s;return"/"==t.substr(-1)&&(t=t.substr(0,t.length-1)),e="http://",t=t.replace(e,""),i=t.split("/"),s=e+i.shift(),{base:s,path:i.join("/")+"/"}}function s(t){var e,s=i(t),n=s.base;return t=n,t+="?delimiter=/",e=s.path,e&&"/"!=e?t+="&prefix="+e:e="",{url:t,base_bucket:n,base_prefix:e}}var n=["mp3","mp4"],h=["png","jpg"],l=function(t,e,i){var n,h;this.Db=e,n=t.indexOf("?"),n>0&&(t=t.substring(0,n)),h=s(t),this.Eb=i,this.Fb=h.base_bucket,this.Gb=h.base_prefix,this.Hb=new jbeeb.TextLoader(h.url,this.Ib.bind(this),"xml")},a=l.prototype;a.Fb=null,a.Gb=null,a.Db=null,a.Hb=null,a.Eb=null,a.Ib=function(t){if(!this.pb){var i=e(t,this.Fb);this.pb||this.Db(i,this.Eb)}},a.cancel=function(t){this.pb=!0,this.Hb.cancel()},jbeeb.AWSS3List=l}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t,e,i,s=function(){this.Jb=[],this.Kb=[]},n=[],h=jbeeb.mimes.playlist;for(t in h)n.push(t);s.Lb=n,e=[],h=jbeeb.mimes.audio;for(t in h)e.push(t);h=jbeeb.mimes.video;for(t in h)e.push(t);s.Mb=e,i=s.prototype,i.addEventListener=null,i.removeEventListener=null,i.removeAllEventListeners=null,i.dispatchEvent=null,i.hasEventListener=null,jbeeb.EventDispatcher.initialize(i),i.Nb=null,i.Ob=null,i.Pb=0,i.Qb=0,i.Kb=null,i.Jb=null,i.Rb=null,i.Sb=null,i.load=function(t,e,i){var n,h,l,a;if(this.Tb(),t){"string"==typeof t&&(t=this.Ub(t));for(l in this.Jb)if(a=this.Jb[l],a.source==t){h=a;break}h||(n=jbeeb.getUID(),h={source:t,kind:s.findkind(t,e),list:null,id:n,cover:i||null},this.Jb[n]=h),n=h.id,this.Kb.push(n),this.Sb=n,this.Rb||(this.Rb=h),h.list?this.Vb(h):this.fb(h)}else this.dispatchEvent("playlistReady",[])},i.isPlaylist=function(t,e){var i,n,h,l,a=typeof t,r=s.Lb;return e?(n=r.indexOf(e),n>-1&&(i=!0)):jbeeb.Utils.isArray(t)?i=!0:"object"==a?t.amPlaylist?i=!0:t.kind?(n=r.indexOf(t.kind),n>-1&&(i=!0)):t.file&&(h=t.file.substr(-3),r.indexOf(h)>-1&&(i=!0)):"string"==a&&(l=s.findkind(t,e),i=r.indexOf(l)>-1),i},i.fb=function(t){var e,i,s=t.kind,n=t.source,h="string"==typeof n?1:0,l=h?this.Ub(n):n,a=h?l.substr(0,1):"";"js"==s||"dtxt"==s||"["==a||"{"==a?this.Wb(l,t):"jsonp"==s?this.Ob=new jbeeb.JSON_P(l,this.Wb.bind(this),t):"rss"==s?(e="http://ajax.googleapis.com/ajax/services/feed/load?v=1.0&num="+wimpy.maxGoogleFeedItems+"&output=json&q=",e+=encodeURIComponent(l),this.Ob=new jbeeb.JSON_P(e,this.Wb.bind(this),t)):"s3"==s?(this.Nb&&this.Nb.cancel(),this.Nb=new jbeeb.AWSS3List(l,this.Wb.bind(this),t)):"xml"==s&&"<"==a?this.Wb(l,t):(this.Pb&&(i="?",l.indexOf("?")>-1&&(i="&"),l=l+i+"i",this.Qb&&(l+="&j")),l=l.replace("&amp;","&"),s="php"==s||"xml"==s||"asp"==s?"xml":"txt",this.Nb&&this.Tb(),this.Nb=new jbeeb.TextLoader(l,this.Xb.bind(this),s,t))},i.Yb=function(t,e,i){var s,n,h,l,a,r;if("json"==e||"jsonp"==e?n=jbeeb.Utils.parseJSON(t):"js"==e?n=t:"opml"==e?s=jbeeb.PlaylistParserOPML(t,i):"m3u"==e?s=jbeeb.PlaylistParserM3U(t,i):"pls"==e?s=jbeeb.PlaylistParserPLS(t,i):"rss"==e?s=jbeeb.PlaylistParserFEED(t):"xml"==e||"php"==e?s=jbeeb.PlaylistParserXML(t):"dtxt"==e?n=this.Zb(t):"s3"==e?n=t:(h=t.substr(0,1),"["==h||"{"==h?"[playlist]"==t.substr(0,10)?s=jbeeb.PlaylistParserPLS(t,i):n=jbeeb.Utils.parseJSON(t):"<"==h?s=jbeeb.PlaylistParserXML(t):n=this.Zb(t)),l=null,s&&(n=s.list,l=s.cover),a=[],n)for(r=0;r<n.length;r++)a.push(this.normalizeTrackData(n[r]));return{list:a,cover:l}},s.findkind=function(t,e){var i,n,h,l;return e=jbeeb.Utils.trim(e||""),e&&s.Lb.indexOf(e)>-1?e:(i=null,"string"==typeof t?(t=jbeeb.Utils.trim(t),n=t.substr(0,1),h=0,"["==n||"{"==n?"[playlist]"==t.substr(0,10)?(i="pls",h=1):(i="json",h=1):"<"==n?(i="xml",h=1):/\n/.exec(t)||/\|/.exec(t)?i="dtxt":t.indexOf("?d=")>0||t.indexOf("&d=")>0?i="xml":(l=t.split("."),i=l.pop(),s.Mb.indexOf(i)>-1&&(i="dtxt")),i):"js")},i.validate=function(t){var e=s.findkind(t);return this.Yb(t,e).list},i.Zb=function(t){var e,i,s,n,h;for(t=jbeeb.Utils.trim((t||"")+""),e=[],i=null,/\|/.exec(t)?i="|":/\n/.exec(t)&&(i="\n"),s=null,s=i?t.split(i):[t],n=0;n<s.length;n++)h=this.Ub(s[n]),""!=h&&e.push({file:h});return e},i.Ub=function(t){return"string"==typeof t?jbeeb.Utils.trim(jbeeb.Utils.decodeURL(jbeeb.Utils.trim(t))):t;
},i.any=function(){return this.Kb.length>0},i.loadPrevious=function(){this.Kb.pop(),this.refresh()},i.refresh=function(){var t,e,i=this.Kb.length;1>i?t=this.Rb:(e=this.Kb[i-1],t=this.Jb[e]),this.Sb=t.id,this.Vb(t)},i.normalizeTrackData=function(t){var e,i,s;return t&&"object"==typeof t?e=jbeeb.Utils.clone(t):"string"==typeof t&&(e={file:t}),e.file=this.Ub(e.file),i=jbeeb.PathInfo.parse(e.file),e.title||(s=i.basename||e.file,e.title=s.replace(/_/g," ")),e.amPlaylist=this.isPlaylist(e)?1:0,e},i.Wb=function(t,e){var i,s;t&&e&&(i=this.Ub(e.source),s=this.Yb(t,e.kind,i),this.dispatchEvent("pathChange",i),e.list=s.list,e.cover=e.cover||s.cover,this.Vb(e))},i.Vb=function(t){t.cover&&this.dispatchEvent("coverart",t.cover),this.dispatchEvent("playlistReady",t.list),this.Tb()},i.setPlaylistCoverArt=function(t,e){if(this.Jb){var i=this.Jb[t];i&&(i.cover=e)}},i.getCurrentPath=function(){return this.Jb[this.Sb].source||""},i.setID3=function(t,e){this.Pb=t||0,this.Qb=e||0},i.Xb=function(t,e,i){this.Wb(t,i)},i.Tb=function(){this.Nb&&(this.Nb.cancel(),this.Nb=null),this.Ob&&(this.Ob.cancel(),this.Ob=null)},i.reset=function(t,e){this.Tb(),this.Rb=null,this.Kb=[],this.Jb=[],t&&this.load(t,e)},i.destroy=function(){this.removeAllEventListeners(),this.Tb(),this.Rb=null,this.Kb=null},i.toString=function(){return"[PlaylistManager (name="+this.name+")]"},i.type="PlaylistManager",jbeeb.PlaylistManager||(jbeeb.PlaylistManager=s)}(),this.jbeeb=this.jbeeb||{},this.jbeeb.utils=this.jbeeb.utils||{},function(){function t(t){t=t||{},this.linMin=t.linMin||0,this.linMax=t.linMax||1,this.minVal=t.minVal||0,this.maxVal=t.maxVal||1,this.base10=t.base10||!1,this.minValLog=Math.log(this.minVal);var e=Math.log(this.maxVal);this.scale=(e-this.minValLog)/(this.linMax-this.linMin)}t.prototype={fromLin:function(t){var e=Math.exp((t-this.linMin)*this.scale+this.minValLog);return e<this.minVal?e=this.minVal:e>this.maxVal&&(e=this.maxVal),e},toLin:function(t){var e=this.linMin+(Math.log(t)-this.minValLog)/this.scale;return e<this.linMin?e=this.linMin:e>this.linMax&&(e=this.linMax),e}},jbeeb.utils.LogRange=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t){this.Ba(t)},e=t.prototype;e.addEventListener=null,e.removeEventListener=null,e.removeAllEventListeners=null,e.dispatchEvent=null,e.hasEventListener=null,jbeeb.EventDispatcher.initialize(e),t.code={0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CONTROL:17,ALT:18,CAPS_LOCK:20,ESC:27,SPACEBAR:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,ARROW_LEFT:37,ARROW_UP:38,ARROW_RIGHT:39,ARROW_DOWN:40,INSERT:45,DELETE:46,HELP:47,NUM_0:96,NUM_1:97,NUM_2:98,NUM_3:99,NUM_4:100,NUM_5:101,NUM_6:102,NUM_7:103,NUM_8:104,NUM_9:105,NUM_MULTIPLY:106,NUM_ADD:107,NUM_ENTER:108,NUM_SUBTRACT:109,NUM_DECIMAL:110,NUM_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,TILDA:192,SEMI_COLON:186,EQUAL:187,DASH:189,FWD_SLASH:191,BRACKET_LEFT:219,PIPE:220,BRACKET_RIGHT:221,QUOTE:222},e.keycode=null,t.$b=null,e._b=null,e.ac=null,e.ub=null,e.blockAll=!1,e.Ba=function(e){t.$b||(t.$b=[]),e=e||window,this.ub=e,this._b=this.bc.bind(this),this.ac=this.cc.bind(this),jbeeb.Utils.bindEvent(e,"keydown",this._b),jbeeb.Utils.bindEvent(e,"keyup",this.ac)},e.bc=function(t){this.blockAll&&this.block(t),this.dc(t,"keydown")},e.cc=function(t){this.blockAll&&this.block(t),this.dc(t,"keyup")},e.dc=function(e,i){var s=e.which||e.keyCode,n=t.$b.indexOf(s);"keyup"==i?n>-1&&t.$b.splice(n,1):0>n&&t.$b.push(s),this.dispatchEvent(i,e,s,i),this.keycode=s},e.block=function(t){t.preventDefault&&t.preventDefault(),t.stopPropagation&&t.stopPropagation()},e.isDown=function(e){var i;return i="string"==typeof e?t.$b.indexOf(t.code[(e+"").toUpperCase()]):t.$b.indexOf(e),i>-1?1:0},e.alphaNumeric=function(t){return!!this.numeric(t)||(t>64&&91>t||173==t||189==t)},e.navigate=function(t){return 8==t||13==t||t>36&&41>t||46==t},e.numeric=function(t){var e,i;if(this.navigate(t))return!0;for(e=[16,17,18,224],i=e.length;i--;)if(this.isDown(e[i]))return!1;return 109==t||110==t||173==t||189==t||190==t||t>47&&58>t||t>95&&106>t},e.getCode=function(e){return t.code[(e+"").toUpperCase()]},e.destroy=function(){jbeeb.Utils.unbindEvent(this.ub,"keydown",this._b),jbeeb.Utils.unbindEvent(this.ub,"keyup",this.ac),this.ub=null},e.type="Keyboard",jbeeb.Keyboard=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t){this.init(t)},e=t.prototype;e.addEventListener=null,e.removeEventListener=null,e.removeAllEventListeners=null,e.dispatchEvent=null,e.hasEventListener=null,jbeeb.EventDispatcher.initialize(e),e.amStage=null,e.element=null,e.style=null,e.ec=null,e.alpha=1,e.id=null,e.name=null,e.parent=null,e.stage=null,e.rotation=0,e.scale=1,e.scaleX=1,e.scaleY=1,e.stretchX=1,e.stretchY=1,e.skewX=0,e.skewY=0,e.origin=null,e.originX=0,e.originY=0,e.originType="px",e.shadow=null,e.bevel=null,e.outline=null,e.inset=null,e.visible=!0,e.overflow="visible",e.autoCenter=null,e.x=0,e.y=0,e.width=0,e.height=0,e.flex="wh",e.fc=1,e.gc=1,e.pin=null,e.hc=null,e.ic=null,e.z=0,e.temp=null,e.rounded=null,e.fill=null,e.stroke=null,e.image=null,e.gradient=null,e.jc=null,e.tooltip=null,e.init=function(t){var e,i,s,n;this.temp={},this.style=null,this.alpha=1,this.id=null,this.name=null,this.parent=null,this.rotation=0,this.scale=1,this.scaleX=1,this.scaleY=1,this.skewX=0,this.skewY=0,this.visible=!0,this.overflow="visible",this.x=0,this.y=0,this.width=0,this.height=0,this.flex="wh",this.fc=1,this.gc=1,this.pin=null,this.hc=null,this.ic=null,this.z=0,this.autoCenter=null,this.stroke={},this.fill={},this.shadow=null,this.inset=null,this.gradient={},this.rounded=null,this.tooltip="",jbeeb.storeCSS?this.ec={}:this.ec=null,t=t||{},e=jbeeb.getUID(),this.id=e,t.element?this.element=t.element:(this.element=document.createElement("div"),this.element.id=e,this.element.style.position="absolute",this.element.style.overflow="visible",this.ec&&(this.ec.position="absolute",this.ec.overflow="visible")),t.standalone&&(this.amStage=1),t.inline?this.jc="inline-block":this.jc="block",t.name&&(this.name=t.name),this.element.id=this.type+"_"+this.element.id,i=this.style=this.element.style,i.padding="0px",i.margin="0px",i.border="0px",i.fontSize="100%",i.outline="0px",i.background="transparent",i.WebkitTextSizeAdjust="100%",i.msTextSizeAdjust="100%",i.WebkitBoxSizing=i.MozBoxSizing=i.boxSizing="padding-box",i.OBackgroundClip=i.WebkitBackgroundClip=i.backgroundClip="padding-box",this.ec&&(s=this.ec,s.padding="0px",s.margin="0px",s.border="0px",s.fontSize="100%",s.outline="0px",s.background="transparent",s.WebkitTextSizeAdjust="100%",s.msTextSizeAdjust="100%",s.boxSizing="padding-box",s.backgroundClip="padding-box"),t.editable||this.setSelectable(!1),n="inherit",t.cursor&&(n=t.cursor),this.setCursor(n),t&&(this.autoCenter=t.center,void 0!==t.flex&&this.setFlex(t.flex),void 0!==t.pin&&this.setPin(t.pin),void 0!==t.overflow&&this.setOverflow(t.pin),t.tooltip&&this.setTooltip(t.tooltip)),this.setOrigin(0,0,"px"),this.applySkin(t,!1)},e.setSelectable=function(t){var e=this.style,i="none",s="-moz-none";t&&(i="text",s="text"),e.userSelect=e.WebkitUserSelect=e.MozUserSelect=e.OUserSelect=i,e.MozUserSelect=s,this.ec&&(this.ec.userSelect=i,this.ec.MozUserSelect=s)},e.setBorderRender=function(t){var e,i=this.style;e="outside"==t?"content-box":"padding-box",i.WebkitBoxSizing=i.MozBoxSizing=i.boxSizing=e,this.ec&&(this.ec.boxSizing=e)},e.applySkin=function(t,e){var i,s,n,h,l,a,r,o,u;this.stroke={},this.fill={},this.gradient=null,this.rounded=0,this.image=null,this.shadow=null,this.bevel=null,this.outline=null,this.inset=null,e=1==e&&e,e||(i=jbeeb.Utils.isNumber(t.x)?t.x:0,s=jbeeb.Utils.isNumber(t.y)?t.y:0,this.setXY(i,s),t.height&&this.setHeight(t.height),t.width&&this.setWidth(t.width),t.h&&this.setHeight(t.h),t.w&&this.setWidth(t.w)),this.setRounded(t.rounded),n=t.fill,n&&(n=n,"string"==typeof n?(h=n,l=1):(h=n.color,l=n.alpha)),this.setFill(h,l),n=t.stroke,h=null,l=null,a=null,r=null,n&&("string"==typeof n?(h=n,l=1,a=1,r="solid"):null!=n.color&&(h=n.color||"#000000",l=jbeeb.Utils.isNumber(n.alpha)?n.alpha:1,a=n.weight||1,r=n.style||"solid")),this.setStroke(a,h,l,r),this.setStrokeStyle(r),n=t.image,t.image&&("string"==typeof n?(o=n,u=null):(o=n.url,u=n.mode)),this.setImage(o,u),this.setShadow(t.shadow),this.setBevel(t.bevel),this.setOutline(t.outline),this.setInset(t.inset)},e.kc=function(){var t,e,i,s,n,h,l,a,r,o,u,c,d,f,b,p,m,g,y,v,j,w,k,x,S,E,L,C,T,P,M,F,A,U,_,O,D=this.style;if(D){if(t=[],e="",i="",s="",n="",h="",l="",a="",r="",o=0,u=this.fill,u&&(jbeeb.Utils.isArray(u.color)?o=1:u.color&&(i=jbeeb.Utils.makeColor(u.color,u.alpha))),this.image&&this.image.url&&(e='url("'+this.image.url+'")',c=this.image.mode||"center","pattern"==c||("fit"==c?l="100% 100%":"contain"!=c&&"cover"!=c||(l="contain"),a="no-repeat",r="center center"),o=0),o){for(d=u.color,this.ec&&(this.ec.gradient=1),f=u.alpha||"v",b=[],p=[],m=d.length,jbeeb.Browser?(g=jbeeb.Browser,y=g.oldWebkit,v=g.modern,j=g.cssPrefix,w=g.w3c_gradient):(y=!1,v=!0,j="",w=!0),k=0;m>k;k+=3)x=jbeeb.Utils.makeColor(d[k],d[k+1]),S=d[k+2],S>100?S=100:0>S&&(S=0),y?p.push("color-stop("+S+"%, "+x+")"):b.push(x+" "+S+"%");if(v)w?(E="linear-",L=("v"==f?"to bottom, ":"to right, ")+b.join(",")):y?(C=p.join(","),E="-webkit-",L="v"==f?"linear, left top, left bottom, "+C:"linear, left top, right top, "+C):(E="-"+j+"-linear-",L=("v"==f?"top, ":"left, ")+b.join(",")),e=E+"gradient("+L+")";else if(g.ie&&g.version<9)T="v"==f?"0":"1",P="progid:DXImageTransform.Microsoft.gradient( gradientType="+T+", startColorstr='"+d[0]+"', endColorstr='"+d[d.length-3]+"')",this.style.filter=P,this.style.msFilter='"'+P+'"',this.ec&&(M=this.ec,M.filter=P,M.msFilter='"'+P+'"');else{for(F="",k=0;m>k;k+=3)x=jbeeb.Utils.makeColor(d[k],d[k+1]),F+='<stop offset="'+d[k+2]+'%" stop-color="'+d[k]+'" stop-opacity="'+d[k+1]+'"/>';A="0",U="100","h"==f&&(A="100",U="0"),_="jbeeb-grad-"+this.id,O="",O+='<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1 1" preserveAspectRatio="none">',O+='  <linearGradient id="'+_+'" gradientUnits="userSpaceOnUse" x1="0%" y1="0%" x2="'+A+'%" y2="'+U+'%">',O+=F,O+="  </linearGradient>",O+='  <rect x="0" y="0" width="1" height="1" fill="url(#'+_+')" />',O+="</svg>",e='url("data:image/svg+xml;base64,'+jbeeb.Base64.encode(O)+'")'}}else this.ec&&(this.ec.gradient=0);D.backgroundColor=i||"",D.backgroundImage=e||"none",D.backgroundSize=l||"",D.backgroundRepeat=a||"",D.backgroundPosition=r||"",this.ec&&(M=this.ec,M.backgroundColor=i||"",M.backgroundImage=e||"none",M.backgroundSize=l||"",M.backgroundRepeat=a||"",M.backgroundPosition=r||"")}},e.setFill=function(t,e){this.fill||(this.fill={}),this.fill.color=t,this.fill.alpha=e,this.kc()},e.setImage=function(t,e){t?(this.image||(this.image={}),this.image.url=t,this.image.mode=e):this.image=null,this.kc()},e.setImageSizing=function(t){this.image&&(this.image.mode=t,this.kc())},e.setStroke=function(t,e,i,s){var n,h,l,a,r,o,u,c,d;this.stroke||(this.stroke={}),"string"==typeof t&&(e=t,t=1),t>0&&(t=Math.round(t)),n=i||1,h=s||"solid",null!=e&&t&&t>=1||(t=0,n=null,h=null),l=this.stroke,l.weight=t,l.color=e,l.alpha=n,l.style=h,a=this.style,t?(h=h,r=t+"px",o=jbeeb.Utils.makeColor(e,n),u=-t+"px",c=-t+"px"):(h="",r="",o="",u="",c=""),a.borderStyle=h,a.borderWidth=r||0,a.borderColor=o,a.marginLeft=u,a.marginTop=c,this.ec&&(d=this.ec,d.borderStyle=h,d.borderWidth=r,d.borderColor=o,d.marginLeft=u,d.marginTop=c),this.lc()},e.setStrokeStyle=function(t){var e=t||"";this.style.borderStyle=e,this.ec&&(this.ec.borderStyle=e)},e.setCursor=function(t){this.style.cursor=t,this.ec&&(this.ec.cursor=t)},e.setWidth=function(t){var e=this.style;e&&t>0&&(this.width=t,e.width=t+"px",this.autoCenter&&this.center(this.autoCenter),this.rounded&&this.lc(),this.ec&&(this.ec.width=t+"px"))},e.setHeight=function(t){var e=this.style;e&&t>0&&(this.height=t,e.height=t+"px",this.autoCenter&&this.center(this.autoCenter),this.rounded&&this.lc(),this.ec&&(this.ec.height=t+"px"))},e.measure=function(){var t=this.element,e=t.clientWidth,i=t.clientHeight;return this.width=e,this.height=i,[e,i]},e.setSize=function(t,e){var i=this.style;i&&t>0&&e>0&&(this.width=t,this.height=e,i.width=t+"px",i.height=e+"px",this.autoCenter&&this.center(this.autoCenter),this.rounded&&this.lc(),this.ec&&(this.ec.width=t+"px",this.ec.height=e+"px"))},e.setXY=function(t,e){this.x=t,this.y=e;var i=this.style;i.left=t+"px",i.top=e+"px",this.ec&&(this.ec.left=t+"px",this.ec.top=e+"px")},e.setBaseXY=function(t,e){this.setXY(t,e),this.mc=t,this.nc=e},e.setXYWH=function(t,e,i,s){var n,h;this.width=i,this.height=s,this.x=t,this.y=e,n=this.style,n.width=(i||0)+"px",n.height=(s||0)+"px",n.left=(t||0)+"px",n.top=(e||0)+"px",this.ec&&(h=this.ec,h.width=(i||0)+"px",h.height=(s||0)+"px",h.left=(t||0)+"px",h.top=(e||0)+"px")},e.setX=function(t){this.x=t,this.style.left=(t||0)+"px",this.ec&&(this.ec.left=(t||0)+"px")},e.setY=function(t){this.y=t,this.style.top=(t||0)+"px",this.ec&&(this.ec.top=(t||0)+"px")},e.setTop=function(t){this.y=t,this.style.top=t+"px",this.ec&&(this.ec.top=(t||0)+"px")},e.setBottom=function(t){this.y=t-this.height,this.style.bottom=t+"px",this.ec&&(this.ec.bottom=(t||0)+"px")},e.setLeft=function(t){this.x=t,this.style.left=(t||0)+"px",this.ec&&(this.ec.left=(t||0)+"px")},e.setRight=function(t){var e=(t||0)-this.width;this.x=e,this.style.right=e+"px",this.ec&&(this.ec.right=e+"px")},e.setZ=function(t){0>t&&(t=0),this.z=t;var e=this.style;e||(this.style=e=this.element.style),e.zIndex=t,this.ec&&(this.ec.zIndex=t)},e.setScale=function(t){this.scale=t,this.scaleX=t,this.scaleY=t;var e="scale("+t+","+t+")";this.oc(e)},e.setScaleX=function(t){this.scaleX=t;var e="scale("+this.scaleX+","+t+")";this.oc(e)},e.setScaleY=function(t){this.scaleY=t;var e="scale("+t+","+this.scaleY+")";this.oc(e)},e.stretch=function(t,e,i){var s,n,h,l,a,r;t>0&&e>0&&(s=this.originX,n=this.originY,h=this.originType,i||(s||n)&&this.setOrigin(0,0,"px"),this.stretchX=t,this.stretchY=e,this.fc&&this.setWidth(this.width*t),this.gc&&this.setHeight(this.height*e),l=this.x,a=this.y,this.hc?"r"==this.hc&&this.parent&&(null==this.pc&&(this.pc=this.parent.width-this.x),r=this.parent.width-this.pc,this.setX(r)):s?this.setX(s+(l-s)*t):this.setX(l*t),this.ic?"b"==this.ic&&this.parent&&(null==this.qc&&(this.qc=this.parent.height-this.y),r=this.parent.height-this.qc,this.setY(r)):n?this.setY(n+(a-n)*e):this.setY(a*e),this.dispatchEvent("stretch",this.width,this.height),i||(s||n)&&this.setOrigin(s*t,n*e,h))},e.pc=null,e.qc=null,e.setPin=function(t){this.pin=t,this.hc=0,this.ic=0,t&&(t=t.toLowerCase(),t.match(/r/)&&(this.hc="r"),t.match(/l/)&&(this.hc="l"),t.match(/t/)&&(this.ic="t"),t.match(/b/)&&(this.ic="b"),t.match(/s/)&&(this.hc="s",this.ic="s"))},e.setFlex=function(t){this.fc=0,this.gc=0,t&&(t.toLowerCase(),t.match(/w/)?this.fc=1:this.fc=0,t.match(/h/)?this.gc=1:this.gc=0),this.flex=t},e.setRotation=function(t){this.rotation=t;var e="rotate("+t+"deg)";this.oc(e)},e.setSkew=function(t,e){this.skewX=t,this.skewY=e;var i="skew("+t+"deg,"+e+"deg)";this.oc(i)},e.setOrigin=function(t,e,i){var s,n,h;this.originX=t,this.originY=e,this.originType=i,s=i?i:"px",n=t+s+" "+e+s,h=this.style,h.WebkitTransformOrigin=h.msTransformOrigin=h.MozTransformOrigin=h.OTransformOrigin=h.transformOrigin=n,this.ec&&(this.ec.transformOrigin=n)},e.oc=function(t){var e=this.style;e.WebkitTransform=e.msTransform=e.MozTransform=e.OTransformOrigin=e.transform=t,this.ec&&(this.ec.transform=t)},e.center=function(t,e){var i,s,n,h,l,a,r;(this.parent||this.amStage)&&this.width&&this.height&&(i=this.x,s=this.y,this.amStage?(n=jbeeb.Utils.getXYWH(this.element.parentNode),h=.5*n.w,l=.5*n.h):(n=this.parent,n.width||n.measure(),h=.5*n.width,l=.5*n.height),a=.5*this.width,r=.5*this.height,"v"==t?s=l-r:"h"==t?i=h-a:(i=h-a,s=l-r),this.setXY(i,s),n=null)},e.setOverflow=function(t){var e,i,s,n;this.overflow=t,e="",i="",s=this.style,"x"!=t&&"y"!=t&&t||("x"==t?(e="auto",i="hidden"):"y"==t&&(e="hidden",i="auto",jbeeb.Browser&&jbeeb.Browser.ie&&this.setWidth(this.width+20)),s.overflowX=e,s.overflowY=i),s.overflow=t,this.ec&&(n=this.ec,n.overflow=t,n.overflowX=e,n.overflowY=i)},e.setVisible=function(t){var e,i;this.visible=t,e=this.style,i=t?this.jc:"none",e.display=i,this.ec&&(this.ec.display=i)},e.show=function(){this.setVisible(!0)},e.hide=function(){this.setVisible(!1)},e.setAlpha=function(t){this.alpha=t,null!==t&&(this.style.opacity=""+t),this.ec&&(this.ec.opacity=""+t)},e.setRounded=function(t){this.rounded=t,this.lc()},e.lc=function(){var t,e,i,s,n,h,l,a="",r=this.rounded;r&&(t=this.width,e=this.height,i=0,s=this.stroke,s&&(n=s.weight,jbeeb.Utils.isNumber(n)&&(i=2*n)),h=.5*((e>t?t:e)+i),jbeeb.Utils.isNumber(r)?a=h*r+"px":r&&"object"==typeof r&&(a+=(h*r.tl||0)+"px "+(h*r.tr||0)+"px "+(h*r.br||0)+"px "+(h*r.bl||0)+"px")),l=this.style,l.MozBorderRadius=l.WebkitBorderRadius=l.OBorderRadius=l.msBorderRadius=l.borderRadius=a,this.ec&&(this.ec.borderRadius=a)},e.onAdded=function(){this.autoCenter&&this.center(this.autoCenter),this.dispatchEvent("added",this)},e.toFront=function(){this.parent&&this.parent.toFront(this)},e.toBack=function(){this.parent&&this.parent.toBack(this)},e.rc=function(){var t,e,i,s,n,h,l=this.style,a=this.sc(),r=this.tc(),o=this.uc(),u=this.vc(),c="none";if(a==[]&&r==[]&&o==[]&&u==[]);else{for(t=r.concat(o,u,a),e=t.length,i=[],s=[],n=0,h=0;e>h;h++)0==n?1==t[h]&&s.push("inset"):4>n?s.push(t[h]+"px"):(s.push(jbeeb.Utils.makeColor(t[h],t[h+1])),i.push(s.join(" ")),s=[],++h,n=-1),n++;i.length>0&&(c=i.join(","))}l.boxShadow=l.MozBoxShadow=l.WebkitBoxShadow=l.OBoxShadow=l.MsBoxShadow=c,this.ec&&(this.ec.boxShadow=c)},e.sc=function(){var t=this.shadow;return t?[0,t.x||0,t.y||0,t.s,t.c||"#000000",t.a||.4]:[]},e.setShadow=function(t){this.shadow=t,this.rc()},e.vc=function(){var t=this.inset;return t?[1,t.x||0,t.y||0,t.s,t.c||"#000000",t.a||.4]:[]},e.setInset=function(t){this.inset=t,this.rc()},e.tc=function(){var t=this.bevel;return t?[1,-t.x,-t.y,t.s1,t.c1||"#FFFFFF",t.a1,1,t.x,t.y,t.s2,t.c2||"#000000",t.a2]:[]},e.setBevel=function(t){t&&(jbeeb.Utils.isNumber(t)?t={x:-t,y:-t,s1:0,s2:0,c1:"#FFFFFF",c2:"#000000",a1:1,a2:1}:(t.c1=t.c1||"#FFFFFF",t.c2=t.c2||"#000000")),this.bevel=t,this.rc()},e.uc=function(){if(this.outline){var t=this.outline;return[0,-t.weight,-t.weight,t.spread||0,t.color||"#000000",t.alpha||1,0,t.weight,-t.weight,t.spread||0,t.color||"#000000",t.alpha||1,0,-t.weight,t.weight,t.spread||0,t.color||"#000000",t.alpha||1,0,t.weight,t.weight,t.spread||0,t.color||"#000000",t.alpha||1]}return[]},e.setOutline=function(t){this.outline=t,this.rc()},e.setMouseEnabled=function(t){var e=this.style,i=0===t||t===!1,s=i?"none":"auto";e.pointerEvents=s,this.Aa&&this.Aa.setEnabled(!i),this.ec&&(this.ec.pointerEvents=s)},e.Aa=null,e.MELbubble=!1,e.MELpreventDefault=!0,e.MELpropagate=!1,e.addMEL=function(t,e,i,s,n){this.MELbubble=s,this.MELpreventDefault=!1,this.MELpropagate=!1,this.Aa||(this.Aa=new jbeeb.MouseEventListener(this)),"mouseOver"==t||"mouseOut"==t||"mouseMove"==t?this.Aa.enableMouseOver(1):"doubleClick"==t&&this.Aa.enableDoubleClick(1),this.addEventListener(t,e,i,n)},e.removeMEL=function(t,e,i){this.removeEventListener(t,e,i),"mouseOver"==t?this.Aa&&this.Aa.enableMouseOver(0):"doubleClick"==t&&this.Aa&&this.Aa.enableDoubleClick(0)},e.removeAllMEL=function(){this.Aa&&(this.Aa.destroy(),this.Aa=null)},e.setFloat=function(t){this.style.position="relative",this.style.left="",this.style.top="",this.style.cssFloat=t,this.style.display="inline-block",this.ec&&(this.ec.position="relative",this.ec.left=null,this.ec.top=null,this.ec.cssFloat=t,this.ec.display="inline-block")},e.setTooltip=function(t){this.tooltip=t,this.element.title=jbeeb.Utils.unescapeHTML(t)},e.destroy=function(){this.removeAllEventListeners(),this.Aa&&(this.Aa.destroy(),this.Aa=null),this.element&&this.element.parentNode&&(this.element.parentNode.removeChild(this.element),this.element=null),this.parent&&(this.parent.removeChild(this),this.parent=null),this.temp=null,this.stroke=null,this.fill=null,this.gradient=null,this.bevel=null,this.outline=null,this.shadow=null,this.inset=null,this.image=null,this.element=null,this.ec=null},e.getCSS=function(){return this.ec},e.animateAll=function(t,e){if(e=e||"linear",t){var i=this.style;i.mozTransition=i.oTransition=i.msTransition=i.webkitTransition=i.transition="all "+t+"ms "+e}},e.cancelAnimation=function(){var t=this.style;t.mozTransition=t.oTransition=t.msTransition=t.webkitTransition=t.transition="none"},e.toString=function(){return"[Box (name="+this.name+")]"},e.type="Box",jbeeb.Box=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t){this.init(t)},e=t.prototype=new jbeeb.Box(null);e.textFit=null,e.text="",e.wc="",e.textSize=null,e.textColor=null,e.shadowText=null,e.bevelText=null,e.outlineText=null,e.insetText=null,e.font=null,e.align=null,e.textScale=null,e.selectable=null,e.bold=null,e.padding=null,e.editable=null,e.xc=null,e.multiline=null,e.baselineShift=null,e.yc=null,e.zc=null,e.Ac=!1,e.Bc=!1,e.Cc=e.init,e.init=function(t){var e,i,s;t&&(t.editable&&(e=t.multiline?document.createElement("textarea"):document.createElement("input"),this.xc=1,e.id=jbeeb.getUID(),e.style.position="absolute",e.style.overflow="visible",t.multiline&&(e.style.verticalAlign="top"),this.ec&&(this.ec.position="absolute",this.ec.overflow="visible"),t.multiline||(e.type="text"),t.element=e),this.Bc=t.wrap||0,this.Cc(t),t.element=null,i=this.style,i.textDecoration="none",i.zoom=1,i.size=t.h,this.text=t.text||"",this.ec&&(s=this.ec,s.textDecoration="none",s.zoom=1,s.size=t.h),this.applySkin(t,!0))},e.Dc=e.applySkin,e.applySkin=function(t,e){var i,s,n,h,l;this.Ac=!0,t.editable&&(i=null,t.fill&&(i="object"==typeof t.fill?t.fill.color:t.fill),t.stroke=t.stroke||i||{weight:1,color:"#000000",alpha:1}),this.Dc(t,e),s=this.style,this.textFit=t.textFit||null,this.font=t.font||"Arial, Helvetica, sans-serif",this.align=t.align||"left",this.textScale=t.textScale||1,this.bold=t.bold||0,this.selectable=t.selectable||0,this.editable=t.editable||0,this.multiline=t.multiline||0,n=t.baselineShift,n=t.multiline?n||1:n||0,this.baselineShift=n,e||(this.text=t.text||""),this.wc="",this.textColor={},t.textSize&&(this.textSize=t.textSize),1==t.editable&&this.setEditable(1),this.setMultiline(this.multiline,!0),this.setText(this.text),t.textColor&&(h=t.textColor,l={},"string"==typeof h?l={color:h,alpha:1}:(l=h,l.color||(l.color=null,l.alpha=null)),this.setTextColor(l.color||"#000000",l.alpha||1)),t.shadowText&&(this.shadowText=t.shadowText),t.insetText&&(this.insetText=t.insetText),t.bevelText&&(this.bevelText=t.bevelText),t.outlineText&&(this.outlineText=t.outlineText),t.shadow&&(this.shadow=t.shadow),t.inset&&(this.insetText=t.inset),t.bevel&&(this.bevel=t.bevel),t.outline&&(this.outline=t.outline),t.padding&&this.setPadding(t.padding),t.alphaNumeric&&(this.alphaNumeric=1),t.numeric&&(this.numeric=1),this.setBaselineShift(this.baselineShift),this.Ac=!1,this.Ec(),this.Fc()},e.setMultiline=function(t,e){var i,s;this.multiline=t,s=this.style,t?(this.textSize||(this.textSize=12),i="normal"):i="nowrap",this.Bc&&(i="normal"),s.whiteSpace=i,this.ec&&(this.ec.whiteSpace=i),this.Gc()},e.xc=0,e.Hc=null,e.Ic=null,e.setEditable=function(t){if(t===!0||1===t){this.amSM||this.setCursor("text"),this.zc?this.zc.removeAllEventListeners():this.zc=new jbeeb.Keyboard(this.element),this.zc.addEventListener("keydown",this.keyHandler,this),this.zc.addEventListener("keyup",this.keyHandler,this),this.setOverflow("hidden");var e=jbeeb.Utils.bindEvent;this.Hc=e(this.element,"focus",this.setFocus.bind(this)),this.Ic=e(this.element,"blur",this.Jc.bind(this)),this.addMEL("mouseUp",this.setFocus,this),this.setMouseEnabled(1),this.element.style.pointerEvents="auto"}else this.amSM||this.setCursor("default"),this.zc&&this.zc.removeAllEventListeners(),jbeeb.Utils.unbindEvent(this.element,"focus",this.Hc),this.setMouseEnabled(0),this.element.style.pointerEvents="none";this.editable=t},e.numeric=null,e.alphaNumeric=null,e.keyHandler=function(t,e,i){var s=!0;this.alphaNumeric?s=this.zc.alphaNumeric(e):this.numeric&&(s=this.zc.numeric(e)),0==this.multiline&&(108!=e&&13!=e||(s=!1,"keyup"==i&&this.dispatchEvent("enter",this,this.text))),9==e&&(s=!1,"keyup"==i&&this.dispatchEvent("tab",this,this.text)),s?(this.xc&&!this.multiline?this.text=this.element.value:this.Kc?this.text=this.Kc.innerHTML:this.text=this.element.innerHTML,"keyup"==i&&this.dispatchEvent("change",this,this.text)):this.zc.block(t)},e.Jc=function(){this.dispatchEvent("change",this,this.text)},e.setPadding=function(t){var e,i,s,n,h,l;this.padding=t,e=this.Kc?this.Kc.style:this.style,i="",s="",n="",h="",this.multiline?(i=t+"px",s=t+"px",n=t+"px",h=t+"px"):"left"==this.align?t&&(i=t+"px"):"right"==this.align&&t&&(s=t+"px"),e.paddingLeft=i,e.paddingRight=s,e.paddingTop=n,e.paddingBottom=h,this.ec&&(l=this.ec,l.paddingLeft=i,l.paddingRight=s,l.paddingTop=n,l.paddingBottom=h)},e.Lc=function(){var t,e="normal",i=this.font,s=this.textColor||{},n=jbeeb.Utils.makeColor(s.color,s.alpha),h=this.bold?"bold":e,l=this.style;l.fontFamily=i,l.color=n,l.textAlign=this.align,l.fontWeight=h,l.fontStyle=e,this.ec&&(t=this.ec,t.fontFamily=i,t.color=n,t.textAlign=this.align,t.fontWeight=h,t.fontStyle="normal")},e.setFont=function(t){this.font=t,this.style.fontFamily=t,this.Kc&&this.Mc&&(this.Kc.style.fontFamily=this.font),this.ec&&(this.ec.fontFamily=t),this.Ec()},e.setAlign=function(t){this.align=t,this.style.textAlign=t,"center"==t&&this.setPadding(0),this.ec&&(this.ec.textAlign=t)},e.setBold=function(t){this.bold=t?"bold":"",this.style.fontWeight=this.bold,this.ec&&(this.ec.fontWeight=this.bold),this.Ec()},e.setBaselineShift=function(t){this.baselineShift=t,t?t>2?t=2:-2>t&&(t=-2):t=0,t*=-1,this.yc=1+t,this.Ec()},e.measureText=function(t){var e,i,s,n,h;return this.text||t?(e=document.createElement("div"),document.body.appendChild(e),i=e.style,i.fontSize=this.height*this.textScale+"px",i.fontFamily=this.font,i.fontWeight=this.bold?"bold":"normal",i.position="absolute",i.left=-1e3,i.top=-1e3,e.innerHTML=t||this.text,s=e.clientWidth,n=e.clientHeight,h={w:s,h:n},document.body.removeChild(e),e=null,h):0},e.setTextColor=function(t,e){this.textColor||(this.textColor={}),this.textColor.color=t,this.textColor.alpha=e;var i=jbeeb.Utils.makeColor(t,e);this.style.color=i,this.ec&&(this.ec.color=i),this.Lc()},e.Mc=null,e.setText=function(t,e){var i,s,n,h;this.element&&(t+="",t="0"!==t&&""==t||!t?"":t,e&&(t=this.wc+t),this.text=t,this.xc&&!this.multiline?(this.element.value=t,this.element.alt=t):(i=0,jbeeb.Browser&&(s=jbeeb.Browser,s.ie&&s.version<10&&(i=1)),this.Kc||(n=document.createElement("span"),h="inherit",i&&(h=this.font),n.style.fontFamily=h,this.element.appendChild(n),this.Kc=n),this.Kc.innerHTML=t,this.Kc.alt=t,this.Mc=i),this.wc!=t&&this.Ec(),this.wc=t)},e.selectAll=function(){this.xc&&(jbeeb.focus=this,this.element.focus(),this.element.select())},e.Nc=e.setWidth,e.setWidth=function(t){t!=this.width&&(this.Nc(t),this.Gc())},e.Oc=e.setHeight,e.setHeight=function(t){t!=this.height&&(this.Oc(t),this.Gc())},e.Pc=e.setSize,e.setSize=function(t,e){t==this.width&&e==this.height||(this.Pc(t,e),this.Gc())},e.setTextScale=function(t){this.textScale=t||1,this.Gc()},e.setTextSize=function(t){this.textSize=t,this.Gc()},e.setTextFit=function(t){this.textFit=t,this.Gc()},e.Qc=e.onAdded,e.onAdded=function(){this.Qc(),this.Ec()},e.setFocus=function(t){jbeeb.focus=this,this.element.focus()},e.hiddenText=0,e.Gc=function(){var t,e,i,s,n,h,l,a,r;(""!=this.text||this.hiddenText)&&(t=null,e=null,i=null,this.textSize?(t=this.textSize,e="1em",i=t+"px"):(s=this.width,n=this.height,s>0&&n>0?"wh"==this.textFit?(h=n>s?s:n,t=this.textScale>0?h*this.textScale:h,(t>s||t>n)&&(h=s>n?s:n,t=this.textScale>0?h*this.textScale:h)):"w"==this.textFit?(l=this.measureText(),a=this.width/l.w/2,jbeeb.Utils.isNumber(a)&&a>0&&(this.textScale=a,t=n*a)):t=n*this.textScale:t=0),t&&(e=this.multiline?1.2*this.baselineShift+"em":this.height*this.yc/t+"em",i=t+"px"),r=this.style,r.lineHeight=e,r.fontSize=i,this.ec&&(this.ec.lineHeight=e,this.ec.fontSize=i))},e.getTextSize=function(){return this.style.fontSize||null},e.Ec=function(){this.Ac||(this.Gc(),this.Lc())},e.Fc=function(){var t,e,i,s,n,h,l,a=this.Rc(),r=this.Sc(),o=this.Tc(),u=this.Uc(),c="none";if(a==[]&&r==[]&&o==[]&&u==[]);else{for(t=r.concat(o,a,u),e=t.length,i=[],s=[],n=0,h=0;e>h;h++)0==n?1==t[h]&&s.push("inset"):4>n?s.push(t[h]+"px"):(s.push(jbeeb.Utils.makeColor(t[h],t[h+1])),i.push(s.join(" ")),s=[],++h,n=-1),n++;i.length>0&&(c=i.join(","))}l=this.style,l.textShadow=l.MozTextShadow=l.WebkitTextShadow=l.OTextShadow=l.msTextShadow=c,this.ec&&(this.ec.textShadow=c)},e.Rc=function(){var t=this.shadowText;return t?[0,t.x,t.y,t.s,t.c,t.a]:[]},e.setShadowText=function(t){this.shadowText=t,this.Fc()},e.Uc=function(){var t=this.insetText;return t?[1,t.x,t.y,t.s,t.c,t.a]:[]},e.setInsetText=function(t){this.insetText=t,this.Fc()},e.Sc=function(){var t,e;return this.bevelText?(t=this.bevelText,e=[],t.c1&&t.a1>0&&(e=[0,-t.x,-t.y,t.s1,t.c1||"#000000",t.a1]),t.c2&&t.a2>0&&(e=e.concat([0,t.x,t.y,t.s2,t.c2||"#FFFFFF",t.a2])),e):[]},e.setBevelText=function(t){this.bevelText=t,this.Fc()},e.Tc=function(){if(this.outlineText){var t=this.outlineText;return[0,-t.weight,-t.weight,t.spread||0,t.color||"#000000",t.alpha,0,t.weight,-t.weight,t.spread||0,t.color||"#000000",t.alpha,0,-t.weight,t.weight,t.spread||0,t.color||"#000000",t.alpha,0,t.weight,t.weight,t.spread||0,t.color||"#000000",t.alpha]}return[]},e.setOutlineText=function(t){this.outlineText=t,this.Fc()},e.toString=function(){return"[TextBox (name="+this.name+")]"},e.Vc=e.destroy,e.destroy=function(){this.zc&&(this.zc.destroy(),this.zc=null),jbeeb.focus==this&&(jbeeb.focus=null),this.Hc=null,this.Ic=null,this.Vc()},e.type="TextBox",jbeeb.TextBox=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t){this.likeContainer=1,this.init(t)},e=t.prototype=new jbeeb.Box(null);e.likeContainer=1,e.Wc=[],e.addChild=function(t){var e,i,s;if(null==t)return t;if(e=arguments.length,e>0)for(i=0;e>i;i++)s=arguments[i],s.parent&&s.parent.removeChild(s),s.parent=this,s.stage=1==this.amStage?this:this.stage,s.setZ(this.Wc.length),this.element.appendChild(s.element),"function"==typeof s.onAdded&&s.onAdded.call(s),this.Wc.push(s)},e.removeChild=function(t){var e,i,s=arguments.length;if(s>1){for(e=!0,i=s;i--;)e=e&&this.removeChild(arguments[i]);return e}return this.removeChildAt(this.Wc.indexOf(t))},e.removeChildAt=function(t){var e,i,s,n,h=arguments.length;if(h>1){for(e=[],i=0;h>i;i++)e[i]=arguments[i];for(e.sort(function(t,e){return e-t}),s=!0,i=0;h>i;i++)s=s&&this.removeChildAt(e[i]);return s}return t>=0&&t<=this.Wc.length-1&&(n=this.Wc[t],n&&(n.element&&n.element.parentNode&&n.element.parentNode.removeChild(n.element),n.parent=null),this.Wc.splice(t,1),this.Xc(),!0)},e.removeAllChildren=function(){for(var t=this.Wc;t.length;)this.removeChildAt(0)},e.Xc=function(){var t,e,i=this.Wc.length;for(t=0;i>t;t++)e=this.Wc[t],e&&e.setZ(t+1)},e.toZ=function(t,e){var i,s,n;if(t){for(i=this.Wc.length,s=0,n=i;n--;)if(this.Wc[n]==t){s=n;break}s>e&&e--,0>e?e=0:e>i-1&&(e=i-1),jbeeb.Utils.arrayMove(this.Wc,s,e),this.Xc()}},e.toFront=function(t){var e,i,s;if(t){for(e=this.Wc.length,i=0,s=e;s--;)if(this.Wc[s]==t){i=s;break}jbeeb.Utils.arrayMove(this.Wc,i,e-1),this.Xc()}else this.parent&&this.parent.toFront(this)},e.toBack=function(t){var e,i,s;if(t){for(e=this.Wc.length,i=0,s=e;s--;)if(this.Wc[s]==t){i=s;break}jbeeb.Utils.arrayMove(this.Wc,i,0),this.Xc()}else this.parent&&this.parent.toBack(this)},e.Yc=e.init,e.init=function(t){this.Yc(t),t&&(this.stage=1==this.amStage?this:this.stage,this.Wc=[])},e.Zc=e.stretch,e.stretch=function(t,e,i){var s,n,h=t,l=e,a=this.flex;for(a&&(a.match(/w/)||(h=1),
a.match(/h/)||(l=1)),s=this.Wc.length;s--;)n=this.Wc[s],n&&n.stretch(h,l,i);this.Zc(t,e,i)},e.$c=e.setFlex,e.setFlex=function(t){for(var e=this.Wc.length;e--;)this.Wc[e].setFlex(t);this.$c(t)},e._c=e.animateAll,e.animateAll=function(t,e){for(var i=this.Wc.length;i--;)this.Wc[i].animateAll(t,e);this._c(t,e)},e.ad=e.cancelAnimation,e.cancelAnimation=function(t){for(var e=this.Wc.length;e--;)this.Wc[e].cancelAnimation(t);this.ad(t)},e.bd=e.setMouseEnabled,e.setMouseEnabled=function(t){for(var e=this.Wc.length;e--;)this.Wc[e].setMouseEnabled(t);this.bd(t)},e.cd=e.destroy,e.destroy=function(){if(this.Wc)for(var t=this.Wc.length;t--;)this.Wc[t]&&(this.Wc[t].destroy(),this.Wc[t]&&(this.removeChild(this.Wc[t]),this.Wc[t]=null));this.Wc=null,this.cd()},e.destroyChildren=function(){if(this.Wc)for(var t=this.Wc.length;t--;)this.Wc[t]&&(this.Wc[t].destroy(),this.removeChild(this.Wc[t]),this.Wc[t]=null);this.Wc.length=0,this.Wc=null,this.Wc=[]},e.getChildren=function(){return this.Wc},e.getChildByName=function(t){var e,i,s=this.Wc.length;for(e=0;s>e;e++)if(i=this.Wc[e],i.name==t)return i},e.toString=function(){return"[Container (name="+this.name+")]"},e.type="Container",jbeeb.Container=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t){this.init(t)},e=t.prototype=new jbeeb.TextBox;e.Wc=[],e.addChild=function(t){var e,i,s;if(null==t)return t;if(e=arguments.length,e>0)for(i=0;e>i;i++)s=arguments[i],s.parent&&s.parent.removeChild(s),s.parent=this,s.stage=1==this.amStage?this:this.stage,s.setZ(this.Wc.length),this.element.appendChild(s.element),s.onAdded&&s.onAdded.call(s),this.Wc.push(s)},e.removeChild=function(t){var e,i,s=arguments.length;if(s>1){for(e=!0,i=s;i--;)e=e&&this.removeChild(arguments[i]);return e}return this.removeChildAt(this.Wc.indexOf(t))},e.removeChildAt=function(t){var e,i,s,n,h=arguments.length;if(h>1){for(e=[],i=0;h>i;i++)e[i]=arguments[i];for(e.sort(function(t,e){return e-t}),s=!0,i=0;h>i;i++)s=s&&this.removeChildAt(e[i]);return s}return t>=0&&t<=this.Wc.length-1&&(n=this.Wc[t],n&&(n.element&&n.element.parentNode&&n.element.parentNode.removeChild(n.element),n.parent=null),this.Wc.splice(t,1),this.Xc(),!0)},e.removeAllChildren=function(){for(var t=this.Wc;t.length;)this.removeChildAt(0)},e.Xc=function(){var t,e,i=this.Wc.length;for(t=0;i>t;t++)e=this.Wc[t],e&&e.setZ(t+1)},e.toFront=function(t){var e,i,s;if(t){for(e=this.Wc.length,i=0,s=e;s--;)if(this.Wc[s]==t){i=s;break}jbeeb.Utils.arrayMove(this.Wc,i,e-1),this.Xc()}else this.parent&&this.parent.toFront(this)},e.toBack=function(t){var e,i,s;if(t){for(e=this.Wc.length,i=0,s=e;s--;)if(this.Wc[s]==t){i=s;break}jbeeb.Utils.arrayMove(this.Wc,i,0),this.Xc()}else this.parent&&this.parent.toBack(this)},e.dd=e.init,e.init=function(t){this.dd(t),t&&(this.stage=1==this.amStage?this:this.stage,this.Wc=[]),this.setOverflow("hidden")},e.ed=e.stretch,e.stretch=function(t,e,i){var s,n,h=t,l=e,a=this.flex;for(a&&(a.match(/w/)||(h=1),a.match(/h/)||(l=1)),s=this.Wc.length;s--;)n=this.Wc[s],n&&n.stretch(h,l,i);this.ed(t,e,i)},e.fd=e.setFlex,e.setFlex=function(t){for(var e=this.Wc.length;e--;)this.Wc[e].setFlex(t);this.fd(t)},e.gd=e.setMouseEnabled,e.setMouseEnabled=function(t){for(var e=this.Wc.length;e--;)this.Wc[e].setMouseEnabled(t);this.gd(t)},e.hd=e.destroy,e.destroy=function(){if(this.Wc)for(var t=this.Wc.length;t--;)this.Wc[t]&&(this.Wc[t].destroy(),this.removeChild(this.Wc[t]),this.Wc[t]=null);this.Wc=null,this.hd()},e.destroyChildren=function(){if(this.Wc)for(var t=this.Wc.length;t--;)this.Wc[t]&&(this.Wc[t].destroy(),this.removeChild(this.Wc[t]),this.Wc[t]=null);this.Wc.length=0,this.Wc=null,this.Wc=[]},e.getChildren=function(){return this.Wc},e.toString=function(){return"[TextContainer (name="+this.name+")]"},e.type="TextContainer",jbeeb.TextContainer=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t){this.init(t)},e=t.prototype=new jbeeb.TextContainer;e.state=null,e.skinData=null,e.amSM=null,e.maxStates=1,e.jd=null,e.kd=e.init,e.init=function(t){t&&(this.skinData={},this.amSM=t.amSM,this.kd(t),this.maxStates=0,this.jd=1,this.applySkin(t,!1,!0),this.setState(0),this.amSM||this.setCursor("pointer"))},e.ld=e.applySkin,e.md=function(){this.skinData&&(this.skinData.fill=null,this.skinData.stroke=null,this.skinData.image=null,this.skinData.bevel=null,this.skinData.shadow=null,this.skinData.outline=null,this.skinData.inset=null,this.skinData.textColor=null,this.skinData.shadowText=null,this.skinData.bevelText=null,this.skinData.outlineText=null,this.skinData.insetText=null),this.fill=null,this.stroke=null,this.image=null,this.shadow=null,this.bevel=null,this.outline=null,this.inset=null,this.textColor=null,this.shadowText=null,this.bevelText=null,this.outlineText=null,this.insetText=null},e.applySkin=function(t,e,i){i=1==i&&i,e=1==e&&e,this.md(),i||this.ld(t),e||(jbeeb.Utils.isNumber(t.x)&&this.setXY(t.x,jbeeb.Utils.isNumber(t.y)?t.y:0),t.width&&this.setSize(t.width,t.height),t.w&&this.setSize(t.w,t.h)),this.setRounded(t.rounded),this.setSkinPart("fill",t.fill),this.setSkinPart("stroke",t.stroke),this.setSkinPart("image",t.image),this.setSkinPart("bevel",t.bevel),this.setSkinPart("shadow",t.shadow),this.setSkinPart("outline",t.outline),this.setSkinPart("inset",t.inset),this.setSkinPart("textColor",t.textColor),this.setSkinPart("bevelText",t.bevelText),this.setSkinPart("shadowText",t.shadowText),this.setSkinPart("outlineText",t.outlineText),this.setSkinPart("insetText",t.insetText),t.font&&this.setFont(t.font),this.setTextScale(t.textScale),this.setAlign(t.align||"center"),this.setPadding(t.padding),this.setBaselineShift(t.baselineShift),this.jd=0},e.nd=function(t,e){var i,s=null;if(t){if("fill"==e||"stroke"==e||"textColor"==e)if("string"==typeof t)s="stroke"==e?[{color:t,alpha:1,weight:1}]:[{color:t,alpha:1}];else if(jbeeb.Utils.isArray(t)){for(i=0;i<t.length;i++)"string"==typeof t[i]&&("stroke"==e?t[i]={color:t[i],alpha:1,weight:1}:t[i]={color:t[i],alpha:1});s=t}else s=[t];else if("image"==e)if("string"==typeof t)s=[{url:t,mode:"center"}];else if(jbeeb.Utils.isArray(t)){for(i=0;i<t.length;i++)"string"==typeof t[i]&&(t[i]={url:t[i],mode:1});s=t}else s=[t];else s=jbeeb.Utils.isArray(t)?t:[t];this.jd&&s&&1==s.length&&s.push(s[0])}return s},e.setSkinPart=function(t,e){var i,s=this.nd(jbeeb.Utils.clone(e),t);this.skinData[t]=s,i=1,jbeeb.Utils.isArray(s)&&(i=s.length),i>this.maxStates&&(this.maxStates=i)},e.setSkinState=function(t,e,i){this.skinData[t]||(this.skinData[t]=[null,null]);var s=e+1;s>this.maxStates&&(this.maxStates=s),i?this.skinData[t][e]=jbeeb.Utils.clone(i):this.skinData[t][e]=null},e.setState=function(t,e,i){var s,n,h;this.state==t&&e==this.text||(this.state=t||0,e&&this.setText(e),s=null,n=null,h=i||this.skinData,h&&(n=h.fill,n&&(s=n[t],s?this.setFill(s.color,s.alpha):this.setFill(null)),n=h.stroke,n&&(s=n[t],s?this.setStroke(s.weight,s.color,s.alpha):this.setStroke(null,null)),n=h.image,n&&(s=n[t],s?this.setImage(s.url,s.mode):this.setImage(null)),n=h.shadow,n&&(s=n[t],s?this.setShadow(s):this.setShadow(null)),n=h.inset,n&&(s=n[t],s?this.setInset(s):this.setInset(null)),n=h.bevel,n&&(s=n[t],s?this.setBevel(s):this.setBevel(null)),n=h.outline,n&&(s=n[t],s?this.setOutline(s):this.setOutline(null)),n=h.textColor,n&&(s=n[t],s?this.setTextColor(s.color,s.alpha):this.setTextColor(null)),n=h.shadowText,n&&(s=n[t],s?this.setShadowText(s):this.setShadowText(null)),n=h.insetText,n&&(s=n[t],s?this.setInsetText(s):this.setInsetText(null)),n=h.bevelText,n&&(s=n[t],s?this.setBevelText(s):this.setBevelText(null)),n=h.outlineText,n&&(s=n[t],s?this.setOutlineText(s):this.setOutlineText(null))))},e.od=e.destroy,e.destroy=function(){this.md(),this.od()},e.toString=function(){return"[Rube (name="+this.name+")]"},e.type="Rube",jbeeb.Rube=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t){var e=new jbeeb.ReadyBoss;return this._=e,this.onReady=e.add.bind(e),this.pd(t),this},e=t.prototype=new jbeeb.Container;e.ready=null,e.pd=function(t){var e,i,s,n,h,l;t&&(this.ready=0,e=t.onReady,e&&this._.add(e,this),this.id=jbeeb.getUID(),t.stage?(this.amStage=0,this.qd(t),jbeeb.register(this)):(this.amStage=1,this.parent=this,this.stage=this,i=t.target,s=null,n=0,i&&(s="string"==typeof i?document.getElementById(i):i,s&&1===s.nodeType?(this.element=document.createElement("div"),this.element.id=this.id,s.appendChild(this.element)):n=1),i&&!n||(document.write('<div id="'+this.id+'"></div>'),this.element=document.getElementById(this.id)),t.element=this.element,this.qd(t),this.style=this.element.style,this.style.position="relative",jbeeb.Utils.isTrue(t.inline)?(this.style.cssFloat="left",this.style.display="inline-block",this.style.verticalAlign="top"):(this.style.display="block",this.style.verticalAlign="middle",this.style.marginLeft="auto",this.style.marginRight="auto"),this.style.zoom=1,h=this.width||t.w||1,l=this.height||t.h||1,this.setSize(h,l),this.setOverflow(t.overflow||"visible"),this.setCursor("default"),jbeeb.register(this)))},e.qd=e.init,e.init=function(){var t=jbeeb.Utils.getXYWH(this.element);this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height,setTimeout(this.ka.bind(this),5)},e.ka=function(){this.ready=1,this._.fire()},e.onReady=null,e.toString=function(){return"[Stage (name="+this.name+")]"},e.type="Stage",jbeeb.Stage=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t){this.init(t)},e=t.prototype=new jbeeb.Container;e.rd=null,e.sd=0,e.td=12,e.ud=0,e.vd=0,e.k=null,e.g=null,e.TextScroller_init=e.init,e.init=function(t){this.vd=0,this.TextScroller_init({x:t.x,y:t.y,w:t.w,h:t.h}),this.setOverflow("hidden");var e=jbeeb.Utils.clone(t);e.x=0,e.y=0,this.rd=new jbeeb.TextBox(e),this.rd.fc=0,this.addChild(this.rd),this.wd=this.t.bind(this),t.speed&&this.setSpeed(t.speed)},e.xd=e.setSize,e.setSize=function(t,e){this.xd(t,e),this.rd&&this.rd.setHeight(e),this.yd()},e.setText=function(t){this.rd.setX(0),this.rd.setText(jbeeb.Utils.unescapeHTML(t)),this.yd()},e.yd=function(){this.rd&&(this.zd(),this.ud=this.rd.measureText().w,this.sd=this.ud-this.width,this.vd&&(this.g=this.sd/this.td*1e3,this.Ad(),this.Bd&&this.Bd.cancel(),this.Bd=new jbeeb.DelayCall(this.t.bind(this),1e3)))},e.zd=function(){this.k&&clearTimeout(this.k),this.Cd(),this.rd.setX(0)},e.Bd=null,e.t=function(){var t,e,i=this.sd;i>0&&(this.k&&clearTimeout(this.k),this.k=setTimeout(this.wd,this.g+500),t=this.rd.x,t>-i||(e=0),0>t||(e=-i),this.rd.setX(e))},e.Cd=function(){this.rd.cancelAnimation()},e.Ad=function(){this.rd.animateAll(this.g,"linear")},e.setSpeed=function(t){this.td=t},e.Dd=e.onAdded,e.onAdded=function(){this.Dd(),this.yd()},e.start=function(t){t&&(this.td=t),this.vd=1,this.zd(),this.yd()},e.stop=function(){this.vd=0,this.zd()},e.toString=function(){return"[TextScroller (name="+this.name+")]"},e.type="TextScroller",jbeeb.TextScroller=t}(),this.jbeeb=this.jbeeb||{},function(){function t(t){var e,i,s,n,h,l,a,r;if("object"==typeof t)if(i=t.color,"object"==typeof i){for(s=[],n=0;n<i.length;n+=3)h=i[n],l=i[n+1],a=i[n+2]/100,r=jbeeb.Utils.makeColor(h,l),s.push(a,r);e=s}else e=jbeeb.Utils.makeColor(i,t.alpha);else e=t;return e}var e,i=function(t){this.Ed="cubic-bezier(0.075, 0.820, 0.165, 1.000)",this.likeContainer=0,this.init(t)};i.options={bars:{kind:"range",min:"1",max:"100",step:1,defaultValue:20,optional:!1,getter:"getBars",setter:"setBars",label:"Number of Bars",description:"The number of pixels between each item."},barMargin:{kind:"range",min:"0",max:"100",step:1,defaultValue:0,optional:!1,getter:"getBarMargin",setter:"setBarMargin",label:"Bar Spacing",description:"The height of each line item in pixels."}},e=i.prototype=new jbeeb.Container,i.randomNumber=function(t,e){return t+Math.random()*(e-t)},i.randomInt=function(t,e){return Math.round(t+Math.random()*(e-t))},e.Fd=0,e.Gd=null,e.Hd=null,e.Id=-1,e.Jd=1,e.Kd=10,e.Ld=40,e.Md=!1,e.Nd=!1,e.$=0,e.Od=[],e.Pd=null,e.g=null,e.wd=null,e.k=null,e.Ed=null,e.t=function(){1==this.Fd&&(this.k&&clearTimeout(this.k),this.k=setTimeout(this.wd,this.g),this.u())},e.Qd=function(){this.$=0,this.Md=!0,this.Nd=!1,this.Jd=2,this.g=50,this.wd=this.t.bind(this),this.Fd=1,this.t()},e.Rd=function(){this.$=0,this.Nd=!0,this.Md=!1,this.Fd=0},e.Sd=function(){var t,e,i,s,n,h,l;for(this.k&&clearTimeout(this.k),this.$=0,this.Nd=!0,this.Md=!1,this.Fd=0,t=this.height,e=.1*t,i=e>2?2:e,s=i,n=t-i,h=0;h<this.Gd;h++)l=this.Od[h],l.setTop(n),l.setHeight(s)},e.Td=null,e.Ud=e.init,e.Vd=null,e.init=function(t){this.Ud({x:t.x,y:t.y,w:t.w,h:t.h}),this.setOverflow("visible"),this.Pd=t.amSM,this.Pd||wimpy&&wimpy.extension&&wimpy.extension.eq&&wimpy.extension.eq.GraphicEq&&wimpy.extension.eq.GraphicEq.canUse()&&(this.Td=!0,this.Wd=t.fill,this.Xd=t.stroke,this.Yd=t.bars,this.Zd=t.barMargin),this.Vd=t,this.Td||this.$d(t)},e.$d=function(t){this.Id=-1,this.Jd=1,this.Ld=40,this.Md=!1,this.Nd=!1,this.$=0,this.Fd=0,this.fill=t.fill,this._d(t.bars,t.barMargin),this.Pd&&this.screenshot()},e.ae=null,e.Wd=null,e.Xd=null,e.Yd=null,e.Zd=null,e.be=null,e.initGraphicEq=function(e,i,s){var n,h,l,a,r,o;this.Td&&i?(this.setOverflow("hidden"),n=t(this.Wd),this.Xd&&(h=jbeeb.Utils.makeColor(this.Xd.color,this.Xd.alpha),l=this.Xd.weight||1),a="string"==typeof i?i:"Peaks",r="#fd008e","Peaks"==a?o={backgroundColor:null,barColor:n,strokeColor:h,barSpace:this.Zd}:"Line"==a&&(o={backgroundColor:null,fillColor:n,lineColor:h,lineWidth:l}),this.ae=new wimpy.extension.eq.GraphicEq({player:e,target:this.element,renderer:a,rendererOpts:o,smoothing:s.smoothing,bands:s.bands||this.Yd,scale:s.scale||2,bassDamp:s.bassDamp||.5})):(this.Td=!1,this.$d(this.Vd))},e._d=function(t,e){var i,s,n,h,l,a,r,o;for(this.Gd=t||1,this.Hd=e||0,i=this.Od.length;i--;)s=this.Od[i],this.removeChild(s),s.destroy();for(this.Od=[],n=this.width,h=this.height,l=(n-e*t)/t,a=.1*h,this.Pd&&(a=h),1>l&&(l=1,e=(n-l*t)/t,this.Gd=t,this.Hd=e),i=0;t>i;i++)r=(l+e)*i,o=new jbeeb.Box({x:r,y:h-a,w:l,h:a,fill:this.fill}),o.animateAll(100,this.Ed),this.addChild(o),this.Od.push(o)},e.u=function(){var t,e,s,n,h,l,a,r,o,u,c=this.height,d=i.randomInt;for(t=0;t<d(0,this.Gd-1);t++)e=d(0,this.Gd-1),s=1>=e||e>this.Gd-this.Gd/2?this.Ld/2:this.Ld,e>this.Gd-this.Gd/4?s/=2:s=s,n=this.Od[e],this.Jd>1?(h=this.Jd/this.Kd*i.randomNumber(1,s)/this.Ld,l=c*h,n.setY(-l+c),n.setHeight(l)):(a=.1*c,r=a>2?2:a,o=r,u=c-r,n.setTop(u),n.setHeight(o));(this.Ld>this.Kd||this.Ld<1)&&(this.Id*=-1),this.Ld+=1/i.randomNumber(2,this.Jd)*this.Id,this.Ld>this.Jd&&(this.Ld=this.Jd,this.Id=-1),this.Ld<1&&(this.Ld=1,this.Id=1),1==this.Nd&&(this.$++,this.$%2&&this.Jd--,this.Jd<2&&this.Sd()),1==this.Md&&(this.$++,this.$%2&&this.Jd++,this.Jd>9&&(this.Md=!1))},e.setState=function(t){this.Pd||this.Td||(1==t?0==this.Fd&&this.Qd():t==-1?this.Sd():1==this.Fd&&this.Rd())},e.setFill=function(t,e){this.fill.color=t,this.fill.alpha=e;for(var i=0;i<this.Od.length;i++)this.Od[i].setFill(t,e)},e.setStroke=function(t,e,i,s){var n,h={weight:t,color:e,alpha:i,style:s||"solid"};for(this.stroke=h,n=0;n<this.Od.length;n++)this.Od[n].setStroke(t,e,i,s)},e.toString=function(){return"[FakeEQ (name="+this.name+")]"},e.setBars=function(t){this.Gd=+t||3,this._d(this.Gd,this.Hd),this.screenshot()},e.getBars=function(t){return this.Gd},e.setBarMargin=function(t){this.Hd=+t||0,this._d(this.Gd,this.Hd),this.screenshot()},e.getBarMargin=function(t){return this.Hd},e.setRenderer=function(t){var e=this.ae;e&&e.setRenderer(t)},e.screenshot=function(){var t,e,s,n=this.Od,h=n.length,l=this.height;for(t=0;h>t;t++)e=.2*h>t?l/2-l*Math.cos(Math.PI*(.4*h/t)):l-l*Math.cos(Math.PI*(t/(.4*h))),e*=i.randomNumber(0,2),1>e?e=1:e>l&&(e=l),s=n[t],s.setY(-e+l),s.setHeight(e)},e.resize=function(){this.ae&&this.ae.resize(this.width,this.height)},e.type="FakeEQ",jbeeb.FakeEQ=i}(),this.jbeeb=this.jbeeb||{},function(){var t,e=function(t){this.init(t)};e.defaultSkin={type:"Thinker",x:0,y:0,w:30,h:30,textColor:"#000000",textScale:1,font:"WimpyPlayerGlyphs",align:"center",text:"t"},t=e.prototype=new jbeeb.Container,t.Pd=!1,t.state=0,t.ce=null,t.de=t.init,t.init=function(t){var e,i;this.Pd=t.amSM,this.de(t),e={x:0,y:0,w:t.w,h:t.h,textColor:t.textColor,textScale:t.textScale,font:"WimpyPlayerGlyphs",align:"center",text:"t"},i=new jbeeb.TextBox(e),this.addChild(i),this.ce=i,this.ce.center(),this.Pd?(this.ce.setOrigin(0,0,"px"),this.show()):(this.ce.setOrigin(50,50,"%"),this.hide())},t.show=function(){this.state=1,this.setVisible(1),this.Pd||jbeeb.ticker&&jbeeb.ticker.addEventListener("tick",this.tick,this)},t.hide=function(){this.setVisible(0),this.Pd||jbeeb.ticker&&jbeeb.ticker.removeEventListener("tick",this.tick,this),this.state=0},t.tick=function(){var t=this.ce.rotation;this.ce.setRotation(t+12)},t.setState=function(t){this.Pd||(1==t?0==this.state&&this.show():this.hide())},t.ee=t.stretch,t.stretch=function(t,e,i){this.ce.setOrigin(0,0,"px"),this.ee(t,e,i),this.ce.setOrigin(50,50,"%")},t.toString=function(){return"[Thinker (name="+this.name+")]"},t.type="Thinker",jbeeb.Thinker=e}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t,e,i,s,n,h,l,a,r,o,u){this.init(t,e,i,s,n,h,l,a,r,o,u)},e=t.prototype=new jbeeb.Rube;e.home=null,e.file=null,e.title=null,e.link=null,e.dl=null,e.fe=null,e.ge=null,e.data=null,e.he=null,e.je=null,e.ke=null,e.le=null,e.me=e.init,e.init=function(t,e,i,s,n,h,l,a,r,o,u){var c,d,f,b,p,m,g,y,v,j,w,k,x;l&&(n=1,h=1),this.home=t,this.je=e,c=jbeeb.Utils.clone(i),i.font=i.font||"Arial, Helvetica, sans-serif",i.align=i.align||"left",i.textScale=i.textScale||.7,this.he=c,this.me(i),this.hiddenText=1,this.name="listItem",d=c.x,f=c.y,b=c.w,p=c.h,m="WimpyPlayerGlyphs",y=r,y||(y={file:"f",list:"F",download:"D",link:"i",linkTip:"link",downloadTip:"download"}),this.ge=h?1:0,this.fe=n?1:0,v=p*(1/(this.textScale||1))*.15+"px",this.ne=[this.file,this.dl,this.link],j=document.createElement("span"),w=j.style,w.position="absolute",w.left="0",w.right=p+"px",this.ke=j,g=document.createElement("span"),w=g.style,w.marginRight="0.5em",w.marginLeft=v,w.pointerEvents="none",w.fontFamily=a?"sans-serif":m,g.innerHTML=a?e+1:s?y.list:y.file,this.file=g,j.appendChild(g),g=document.createElement("span"),w=g.style,w.pointerEvents="none",g.innerHTML="My Title",this.title=g,j.appendChild(g),this.element.appendChild(j),(h||n)&&(k=document.createElement("div"),w=k.style,w.position="absolute",w.right="0px",w.marginRight=v,w.whiteSpace="nowrap",w.textAlign="right",this.le=k,this.oe=this.pe.bind(this),x=1.5,h&&(g=document.createElement("span"),w=g.style,w.fontFamily=m,w.marginLeft="0.6em",g.innerHTML=y.download||"D",this.qe=this.re.bind(this),jbeeb.Utils.bindEvent(g,"mousedown",this.qe),jbeeb.Utils.bindEvent(g,"mouseup",this.oe),g.title=g.alt=o||y.downloadTip||"downlaod",this.dl=g,k.appendChild(g),x++),n&&(g=document.createElement("span"),w=g.style,w.fontFamily=m,w.marginLeft="0.6em",g.innerHTML=y.link||"i",this.se=this.te.bind(this),jbeeb.Utils.bindEvent(g,"mousedown",this.se),jbeeb.Utils.bindEvent(g,"mouseup",this.oe),this.link=g,k.appendChild(g),x++,g.title=g.alt=u||y.linkTip||"link"),this.element.appendChild(k),j.style.overflow="hidden",j.style.right=x+"em"),this.ue=this.ve.bind(this),jbeeb.Utils.bindEvent(j,"mousedown",this.ue),this.we=this.xe.bind(this),jbeeb.Utils.bindEvent(j,"mouseup",this.we),this.setPadding(this.padding),this.stretch(1,1)},e.setIcon=function(t){this.file&&(this.file.innerHTML=t)},e.setText=function(t){this.ye(jbeeb.Utils.unescapeHTML(t))},e.clearText=function(){this.ye("")},e.ye=function(t){var e,i=this.title;i&&(e=jbeeb.Utils.unescapeHTML(t),i.innerHTML=t,i=this.ke,i.title=i.alt=e)},e.ze=e.setAlign,e.setAlign=function(t){this.ze("left")},e.Ae=e.setPadding,e.setPadding=function(t){if(t&&(this.Ae(t),this.le)){var e=this.height*(1/(this.textScale||1))*.15;e=this.padding+e+"px",this.le.style.marginRight=e,this.file.style.marginLeft=e}},e.ue=null,e.we=null,e.oe=null,e.qe=null,e.se=null,e.ve=function(t){return!1},e.xe=function(t){this.home.listItemMouse("up",this.je,this)},e.pe=function(t){t.preventDefault&&t.preventDefault()},e.Be=null,e.re=function(t){t.preventDefault&&t.preventDefault(),this.Be="down",setTimeout(this.Ce.bind(this),300)},e.te=function(t){t.preventDefault&&t.preventDefault(),this.Be="link",setTimeout(this.Ce.bind(this),300)},e.Ce=function(){this.home.specialClick(this.Be,this.je,this)},e.De=e.destroy,e.destroy=function(){e.home=null,jbeeb.Utils.empty(this.element),jbeeb.Utils.unbindEvent(this.dl,"mouseUp",this.qe),jbeeb.Utils.unbindEvent(this.link,"mouseUp",this.se),jbeeb.Utils.unbindEvent(this.ke,"mouseup",this.oe),e.file=null,e.title=null,e.link=null,e.dl=null,e.data=null,e.De()},e.Ee=e.onAdded,e.onAdded=function(){this.Ee(),this.setState(1),this.setState(0)},e.toString=function(){return"[ListItem (name="+this.name+")]"},e.type="ListItem",jbeeb.ListItem=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t,e,i,s=function(t){this.init(t),this.likeContainer=0},n=[];if(jbeeb.mimes&&jbeeb.mimes.playlist){t=jbeeb.mimes.playlist;for(e in t)n.push(e);s.Fe=n}s.Ge={file:"f",list:"F",download:"D",link:"i",downloadTip:"download",linkTip:"link"},s.defaultSkin={x:0,y:0,w:150,h:120,type:"List",item:{x:0,y:0,w:156,h:19.322,type:"ListItem",name:"listItem",text:"",font:"Arial, Helvetica, sans-serif",textColor:["#000000","#FFFFFF"],textScale:.7,textFit:"wh",fill:[null,"#266FC2"],stroke:1,spacing:0}},s.options={spacing:{kind:"range",min:"0",max:"50",step:1,defaultValue:0,optional:!1,setter:"setSpacing",label:"Spacing",description:"The number of pixels between each item."},lineHeight:{kind:"range",min:"5",max:"100",step:1,defaultValue:24,optional:!1,getter:"getLineHeight",setter:"setLineHeight",label:"Line Height",description:"The height of each line item in pixels."}},i=s.prototype=new jbeeb.Container,i.He="title",i.Ie=null,i.Je=null,i.Ke=0,i.Le=0,i.Me=[],i.Ne=[],i.Ga=null,i.Oe=null,i.Pe=null,i.Qe=0,i.selectedIndex=-1,i.selectedItem={},i.state=0,i.Re={},i.spacing=0,i.fe=null,i.ge=null,i.amSM=!1,i.SMtarget=null,i.Se=null,i.Te=null,i.Ue=null,i.Ve=null,i.We=i.init,i.init=function(t){var e,i,s,n,h,l,a;this.Xe=1,e=t.glyphs,e&&this.setGlyphs(t.glyphs),e=t.labels,e&&this.setLabels(t.labels),e=t.displayField,e&&this.setDisplayField(t.displayField),this.amSM=t.amSM,this.Me=[],this.Ne=[],this.selectedItem={},this.Re={},this.Se=jbeeb.Utils.isTrue(t.numberTracks)?1:0,t.callback&&(this.Ga=t.callback),t.callbackMore&&(this.Oe=t.callbackMore),t.callbackDownload&&(this.Pe=t.callbackDownload),this.fe=t.useLink,this.ge=t.useDown,this.We(t),i={x:0,y:0,w:t.w,h:20,fill:["#FFFFFF","#266FC2"],textColor:["#000000","#FFFFFF"],textScale:.7},s=jbeeb.Utils.clone(t.item||i),this.Re=s,t.spacing?this.spacing=t.spacing:this.spacing=s.spacing||0,t.lineHeight&&(this.Re.h=t.lineHeight),this.Le=this.Re.h+this.spacing,this.setOverflow("hidden"),this.Je=new jbeeb.Container({x:0,y:0,w:t.w,h:t.h}),this.addChild(this.Je),this.Ye(),t.scrollbar?this.setScrollbar(t.scrollbar):t.autoScrollbar&&(n=new jbeeb.Slider({x:t.w+(t.autoScrollbarOffset||5),y:0,w:12,h:t.h,invertVal:1}),this.addChild(n),this.setScrollbar(n),this.setWidth(t.w+17)),t.list?this.setList(t.list):this.Ze(),this.amSM||(this.addMEL("mouseDown",this.$e,this,!1),this.addMEL("mouseUp",this._e,this,!1),this.MELpreventDefault=!0,jbeeb.Browser.touch?(l=this.af.bind(this),a=this.bf.bind(this),this.Je.element.addEventListener("touchstart",l,!1),this.Je.element.addEventListener("touchmove",a,!1)):(h=jbeeb.Browser.moz?"DOMMouseScroll":"mousewheel",this.cf=this.df.bind(this),jbeeb.Utils.bindEvent(this.element,h,this.cf)))},i.ef=null,i.af=function(t){this.ef=this.Je.element.scrollTop+t.touches[0].pageY},i.bf=function(t){t.preventDefault(),this.ff=1;var e=t.touches[0].pageY-this.ef;this.gf(e,!0),this.hf=e},i.setDisplayField=function(t){this.He=t},i.setGlyphs=function(t){var e,i=s.Ge;if(t)for(e in t)i[e]&&t[e]&&(i[e]=t[e]);this.Ve=i},i.enableLink=function(t,e,i){this.fe=t,this.if=e,i||this.redrawList()},i.enableDownload=function(t,e,i){this.ge=t,this.jf=e,i||this.redrawList()},i.jf=null,i.if=null,i.setCallback=function(t){this.Ga=t},i.setCallbackMore=function(t){this.Oe=t},i.setCallbackDownload=function(t){this.Pe=t},i.specialClick=function(t,e,i){var s=this.Ne[e];"down"==t?"function"==typeof this.Pe&&this.Pe(s,e,i):"link"==t&&"function"==typeof this.Oe&&this.Oe(s,e,i)},i.Ze=function(){this.Ke=this.Le*this.Ne.length-this.height+1,this.Ke<0&&(this.Qe=0),this.kf(this.Qe),this.lf(this.Qe)},i.lf=function(t,e){(e&&"start"==e||"end"==e)&&this.mf(),this.Qe=t,this.vd()},i.vd=function(){var t,e,i,s,n,h,l,a=-this.Ke*this.Qe,r=this.Ne,o=r.length;if(o>80)for(t=this.Le,e=this.Me,i=this.height/t,s=-a/t-1,n=s+i+1,h=o;h--;)l=e[h],h>s-10&&n+10>h?l.setVisible(!0):l.setVisible(!1);this.Te?this.Ue=jbeeb.Animate.to(this.Je,{y:a},300,"out"):(this.mf(),this.Je.setY(a))},i.getEditObj=function(){return this.amSM?this.SMtarget:null},i.Ye=function(){var t,e,i,s;for(t=0;t<this.Ne.length;++t)this.nf(this.Ne[t],t);this.amSM&&(this.SMtarget=new jbeeb.ListItem(this,1e3,this.Re,0,1,1,this.amSM),this.addChild(this.SMtarget),this.SMtarget.setXY(0,3*-this.Le),this.SMtarget.name=this.name),this.Ie&&(e=!0,this.Me.length>0&&(i=this.Me[this.Me.length-1],s=i.y+this.Le,s>this.height||(e=!1)),e?this.Ie.enable():this.Ie.disable())},i.setNumberTracks=function(t){this.Se=t},i.nf=function(t,e){var i,s,n,h=t.amPlaylist,l=0,a=0;h?(a=0,l=0):(i=jbeeb.Utils.isTrue,s=jbeeb.Utils.isFalse,l=i(this.ge)?1:0,void 0!==t.downloadable&&(i(t.downloadable)?l=1:s(t.downloadable)&&(l=0)),a=i(this.fe)?1:0,void 0!==t.link&&(a=s(t.link)?0:1)),n=new jbeeb.ListItem(this,e,this.Re,h,a,l,this.amSM,this.Se,this.Ve,t.downloadtip,t.linktip),n.setXY(0,this.Le*e),n.setText(t[this.He]||t.title),t.icon&&n.setIcon(t.icon),n.setState(0),n.setMouseEnabled(this.Xe),this.Je.addChild(n),this.Me.push(n),this.pf()},i.redrawList=function(t){this.Re=t||this.Re,this.Le=this.Re.h+this.spacing,this.Me.length=0,this.Me=null,this.Me=[],this.Je.destroyChildren(),this.amSM&&this.SMtarget&&(this.removeChild(this.SMtarget),this.SMtarget.destroy()),this.Ye(),this.Ze()},i.qf=i.stretch,i.stretch=function(t,e,i){var s,n;t>0&&e>0&&(this.qf(t,e,i),s=this.spacing*e,n=this.Re.h*e,this.Re.w=this.Re.w*t,this.Re.h=n,this.spacing=s,this.Le=n+s,this.pf())},i.setList=function(t,e,i){var s,n,h;if(0!==e&&1!==e&&e!==!0&&e!==!1||enableLink(e,this.if,!0),0!==i&&1!==i&&i!==!0&&i!==!1||enableDownload(i,this.jf,!0),this.rf(-1),this.Qe=0,this.sf(),s=0,t&&t.length)for(s=t.length,n=0;s>n;n++)h=jbeeb.Utils.clone(t[n]),this.Ne.push(h);this.redrawList(),this.lf(0),this.Ie&&this.Ie.setPageSizePercent(this.height/this.Le/this.Ne.length)},i.addItem=function(t){var e,i=jbeeb.Utils.clone(t);this.Ne.push(i),e=this.Ne.length,this.nf(i,e-1),this.Ie&&this.Ie.setPageSizePercent(this.height/this.Le/e)},i.sf=function(){var t,e,i,s=this.Ne.length;for(t=0;s>t;t++)for(e in this.Ne[t])this.Ne[t][e]=null;for(this.Ne=null,this.Ne=[],t=0;t<this.Me.length;t++)i=this.Me[t],i.clearText(),i.setState(0);this.Ze(),this.pf()},i.tf=null,i.uf=null,i.vf=null,i.ff=null,i.wf=0,i.xf=null,i.yf=null,i.zf=0,i.Af=0,i.pf=function(){var t=this.Ne.length;t?this.wf=this.Le/(t*this.Le-this.height):this.wf=0},i.Bf=function(t,e,i){e.event.preventDefault(),this.ff=1;var s=e.mouseY;this.gf(s,!0),this.hf=s},i.hf=0,i.gf=function(t,e){var i,s,n=this.wf*((t-this.vf)/this.Le),h=this.uf;e&&this.kf(h-n),i=(new Date).getTime(),s=i-this.yf,this.yf=i,this.zf=h-n*(s/(this.Le/2))},i._e=function(t,e,i){var s,n;this.Te=1,s=this.zf,n=Math.abs(this.vf-e.mouseY),s&&s>.1&&.9>s&&this.yf-this.xf<500&&n>5?(this.kf(s),this.zf=0):n>0&&5>n&&(this.ff=0,null!=this.Cf&&this.Df(this.Cf))},i.$e=function(t,e,i){this.Cf=null,this.Te=0,this.ff=0,this.xf=(new Date).getTime(),this.uf=this.Qe,this.vf=e.mouseY},i.cf=null,i.df=function(t){var e,i;t.preventDefault&&t.preventDefault(),this.Te=1,e=t||window.event,i=this.wf*((e.detail?e.detail*-120:e.wheelDelta)/240),this.kf(this.Ef()-i)},i.Cf=null,i.listItemMouse=function(t,e,i){this.Cf=e,"up"==t&&!this.ff&&this.Xe&&this.Df(e)},i.refresh=function(t){var e,i,s=this.Me;for(e=0;e<s.length;e++)i=s[e],i.setState(0);this.highlightItem(t)},i.highlightItem=function(t){this.tf&&this.tf.setState(0);var e=this.Me[t];return e&&e.setState(1),this.rf(t),e},i.rf=function(t){this.selectedIndex=t,this.selectedItem=t>-1?this.Ne[t]:null},i.Df=function(t,e,i){if(null!==t&&t>-1&&t<this.Ne.length){var s=this.highlightItem(t);i=i||!1,this.rf(t),this.vd(),i||this.Ga&&this.Ga("click",this.selectedIndex),this.tf=s}},i.scrollTo=function(t,e){var i,s,n=this.getGitem(t);n&&(i={x:0,y:n.y+this.Je.y,width:this.width,height:this.Le},s={x:-1,y:-1,width:this.width+1,height:this.height},jbeeb.Utils.contains(s,i)||this.kf(t/(this.Ne.length-1)),this.Df(t,null,e))},i.kf=function(t){0>t?t=0:t>1&&(t=1),this.Ie?this.Ie.setValue(t):(this.Qe=t,this.lf(t))},i.Ef=function(){var t;return t=this.Ie?this.Ie.getValue():this.Qe},i.scrollOne=function(t){var e=this.Ne.length,i=Math.round(e*this.Ef())+t;this.kf(i/e)},i.setScrollbar=function(t){this.Ie=t,this.Ie.setInverted(1),this.Ie.addEventListener("change",this.lf,this),this.Ie.setStretchThumb(1)},i.mf=function(){this.Te=0,this.Ue&&jbeeb.Animate.cancel(this.Ue)},i.getGitem=function(t){return this.Me[t]||null},i.getGlist=function(){return this.Me},i.toString=function(){return"[List (name="+this.name+")]"},i.setRounded=function(){},i.setStroke=function(){},i.setFill=function(){},i.setImage=function(){},i.setBevel=function(){},i.setOutline=function(){},i.setShadow=function(){},i.setInset=function(){},i.setAlpha=function(){},i.setState=function(t){},i.smGatherExtra=function(t,e){var i=t.getObjData(this.getGitem(0));i.spacing=this.spacing,e.item=i,e.spacing=this.spacing},i.smPrep=function(){var t,e=[];for(t=1;25>t;t++)e.push({title:"This is Track "+t});this.enableLink(1),this.enableDownload(1),this.setList(e)},i.Xe=1,i.setMouseEnabled=function(t){var e,i;for(this.Xe=t,e=0;e<this.Me.length;e++)i=this.Me[e],i.setMouseEnabled(t)},i.setSpacing=function(t){this.spacing=+t||0,this.dispatchEvent("listSmUpdate",this,this.Re.h)},i.setLineHeight=function(t){this.Re.h=+t||10,this.dispatchEvent("listSmUpdate",this,this.Re.h)},i.getLineHeight=function(){return this.Re.h},i.Ff=i.destroy,i.destroy=function(){this.cf&&jbeeb.Utils.unbindEvent(this.element,"mousewheel",this.cf),this.Ff()},i.type="List",jbeeb.List=s}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t,e=function(t){this.init(t),this.likeContainer=1};e.defaultSkin={x:0,y:0,w:100,h:10,type:"Slider",name:"myslider",children:[{x:0,y:0,type:"Rube",name:"track",w:100,h:10,rounded:1,stroke:{weight:1,color:"#979B99"},fill:{color:["#cecece",1,0,"#ececec",1,30,"#fafafa",1,50,"#fdfdfd",1,70,"#fafafa",1,80,"#ececec",1,100],alpha:"v"}},{x:0,y:0,type:"Rube",name:"thumb",w:10,h:10,rounded:1,fill:{color:["#F3F2F8",1,0,"#C0C0C4",1,100],alpha:"v"},shadow:{x:0,y:1,s:2,a:.3},stroke:{weight:1,color:"#979B99"}}]},e.setDefaultSkin=function(t){t.track&&(e.Gf=t.track,e.Gf.x=0,e.Gf.y=0),t.thumb&&(e.Hf=t.thumb,e.Hf.x=0,e.Hf.y=0),t.labelColor&&(e.defaultLabelColor=t.labelColor)},e.Gf=e.defaultSkin.children[0],e.Hf=e.defaultSkin.children[1],t=e.prototype=new jbeeb.Container,t.defaultLabelColor="#000000",t.value=0,t.If=!1,t.Jf=0,t.track=null,t.thumb=null,t.Kf=null,t.Lf=null,t.Mf=null,t.Nf=null,t.Of=null,t.Pf=null,t.Qf=null,t.Rf=0,t.Sf=0,t.Tf=0,t.Uf=0,t.Vf=!1,t.Wf=!1,t.Xf=!1,t.label=null,t.icon=null,t.Yf=0,t.dragging=!1,t.Zf=0,t.$f=null,t._f=null,t.ag=null,t.bg=t.init,t.init=function(t){var i,s,n,h,l,a,r,o,u,c,d,f,b,p,m,g,y,v,j,w,k,x,S;if(t){if(this.bg(t),1==t.usePaging?this.Yf=1:this.Yf=0,1==t.stretchThumb?this.$f=1:this.$f=0,n=t.w>t.h?t.h:t.w,h=t.children)for(l=0;l<h.length;l++)a=h[l],a&&("track"==a.name?i=jbeeb.Utils.clone(a):"thumb"==a.name&&(s=jbeeb.Utils.clone(a)));r=t.w>t.h?1:0,i||(o=jbeeb.Utils.clone(e.Gf),o.w=t.w,o.h=t.h,o.fill.alpha=r?"v":"h",i=o),s||(n=t.w>t.h?t.h:t.w,u=1,c=1,r?u=1.8:c=1.8,o=jbeeb.Utils.clone(e.Hf),o.w=n*u,o.h=n*c,o.fill.alpha=r?"v":"h",s=o),s.fill||s.stroke||(s.w=1,s.h=1),d=i.x<s.x?i.x:s.x,f=i.y<s.y?i.y:s.y,b=i.w>s.w?i.w:s.w,p=i.h>s.h?i.h:s.h,this.Xf=i.w<=i.h,this.track=new jbeeb.Rube(i),this.track.name="track",this.thumb=new jbeeb.Rube(s),this.thumb.name="thumb",
t.amSM||(this.track.setMouseEnabled(0),this.thumb.setMouseEnabled(0)),this.addChild(this.track,this.thumb),m="translate3d(0,0,0)",g=this.thumb.style,g.WebkitTransform=m,g.MozTransform=m,g.msTransform=m,g.OTransform=m,g.transform=m,this.Nf=this.thumb.width,this.Of=this.thumb.height,this.centerThumb(),t.label&&(this.label=new jbeeb.ControlLabel({h:12,relative:this.track,offsetX:t.labelOffsetX,offsetY:t.labelOffsetY,position:t.labelPos,text:t.label,font:t.font,align:t.align,textColor:t.labelColor||e.defaultLabelColor}),this.addChild(this.label)),t.toggler&&(j=t.togglerPos,this.label&&t.lablePos==j?(y=this.label.x,v=this.label.y,this.label.setX(y+20)):"tl"==j?(y=0,v=-20):"tr"==j?(y=this.width+4,v=-20):"l"==j?(y=-20,v=this.height-8):"r"==j&&(y=this.width+4,v=this.height-8),w=new jbeeb.Checkbox({x:y,y:v,w:16,h:16}),this.addChild(w),w.addEventListener("change",this.cg,this,!1),this.dg=w),t.icon&&(this.icon=new jbeeb.Box({x:t.icon.x,y:t.icon.y,w:t.icon.w,h:t.icon.w,image:{url:t.icon.image,mode:"fit"},center:t.icon.center}),this.addChild(this.icon)),t.print&&(t.print.editable&&(this.eg=1),t.print.numeric=1,w=new jbeeb.TextBox(t.print),this.fg=w,this.addChild(w),k=t.print.pos,x=0,S=0,k.match(/t/i)?S=-w.height:k.match(/b/i)&&(S=this.track.height),k.match(/r/i)&&(x=this.track.width-w.width),w.setXY(x+(t.printOffsetX||0),S+(t.printOffsetY||0)),this.gg=t.printFixed||1,this.eg&&this.fg.addEventListener("enter",this.hg,this),this.valueTextbox=this.fg,this.ig=t.printHandler),this.Vf=!1,t.amSM||(this.jg=this.kg.bind(this),window.addEventListener("mousemove",this.jg,!1),window.addEventListener("touchstart",this.jg,!1)),t.invertVal&&(this.If=t.invertVal),t.logVal&&(this.Jf=t.logVal),jbeeb.Utils.isNumber(t.value)?(this.setValue(t.value,!0,"init"),this.lg=t.value):this.lg=0,this.mg=0,this.mg&&this.setSmoothMove(1)}},t.ng=!1,t.kg=function(t){var e,i,s;this.ng||("touchstart"==t.type?(e=this.og.bind(this),i=this.pg.bind(this),s=this.qg.bind(this),this.element.addEventListener("touchstart",e,!1),this.element.addEventListener("touchmove",i,!1),this.element.addEventListener("touchend",s,!1)):(this.addMEL("mouseDown",this.rg,this),this.addMEL("mouseOver",this.sg,this),this.addMEL("mouseOut",this.tg,this),this.addMEL("mouseDrag",this.ug,this),this.addMEL("mouseUp",this.vg,this)),this.ng=!0),window.removeEventListener("mousemove",this.jg,!1),window.removeEventListener("touchstart",this.jg,!1)},t.wg=null,t.xg=null,t.og=function(t){var e=jbeeb.Utils.getXYWH(this.element);this.xg=e,this.wg=e,this.Rf=t.touches[0].pageX-e.x,this.Sf=t.touches[0].pageY-e.y,t.preventDefault()},t.pg=function(t){var e,i;t.preventDefault(),e=this,i={mouseX:t.touches[0].pageX-this.wg.x,mouseY:t.touches[0].pageY-this.wg.y},this.xg=i,this.ug(e,i)},t.qg=function(t){this.vg(this,this.xg)},t.ug=function(t,e,i){0==this.Vf&&this.rg(t,e),this.dragging=!0,this.Wf=!0;var s;this.Xf?(s=e.mouseY-this.Sf,this.yg(this.Uf+s,!1,"move")):(s=e.mouseX-this.Rf,this.yg(this.Tf+s,!1,"move")),this.zg=e.mouseX},t.mg=0,t.valueTextbox=null,t.fg=null,t.eg=0,t.hg=function(t,e){var i;i=this.ig?this.ig("set",e):parseFloat(e),this.setValue(i,!0)},t.Ag=function(){var t,e;this.fg&&(t=this.ig?this.ig("get",this.value):parseFloat(this.value),e=t.toFixed(this.gg),this.fg.setText(e))},t.setPrintText=function(t,e){this.fg.setText(t),e||this.setValue(parseFloat(newText),e)},t.sg=function(t,e,i){this.thumb.setState(1)},t.tg=function(t,e,i){this.dragging||this.thumb.setState(0)},t.lg=0,t.dg=null,t.cg=function(t,e,i){1==t?(this.state=1,this.setValue(i||this.lg,!0)):(this.state=0,this.setValue(i||0,!0)),e||this.dispatchEvent("toggle",this,t,!1,"manual")},t.state=0,t.setState=function(t,e){this.dg&&this.cg(t,!0,e)},t.setLabelText=function(t,e){this.label&&(this.label.setText(t),this.label.setTextColor(e))},t.centerThumb=function(){var t,e,i=this.track.x,s=this.track.y;this.Nf=this.thumb.width,this.Of=this.thumb.height,t=this.track.x+this.track.width-this.Nf,e=this.track.y+this.track.height-this.Of,this.Xf?(this.Kf=s,this.Lf=e,this.Mf=e-s,this.Pf=this.Of,this.thumb.setX(this.track.x+this.track.width/2-this.Nf/2)):(this.Kf=i,this.Lf=t,this.Mf=t-i,this.Pf=this.Nf,this.thumb.setY(this.track.y+this.track.height/2-this.Of/2))},t.Bg=t.show(),t.show=function(){this.Bg(),this.centerThumb()},t.getPageSizePercent=function(){return this.Qf},t.setPageSizePercent=function(t){if(this.Qf=t,1>t?this.Pf=this.Mf*this.Qf:this.Qf=1,this.$f){this.Qf<1?this.enable():this.disable();var e;this.Xf?(e=this.height*this.Qf,e<this.width&&(e=this.width),this.thumb.setHeight(e),this.centerThumb()):(e=this.width*this.Qf,e<this.height&&(e=this.height),this.thumb.setWidth(e),this.centerThumb())}},t.setStretchThumb=function(t){this.$f=t,this.setPageSizePercent(this.Qf)},t.vg=function(t,e,i){this.Wf?this.dispatchEvent("change",this.value,"end"):this.Cg(t,e,"clickUp"),this.dragging=!1,this.Vf=!1,this.Wf=!1,this.mg&&this.setSmoothMove(1)},t.rg=function(t,e,i){this.Yf||this.Cg(t,e,"clickDown"),this.mg&&this.setSmoothMove(0),this.dispatchEvent("change",this.value,"start"),this.Rf=e.mouseX,this.Sf=e.mouseY,this.Tf=this.thumb.x,this.Uf=this.thumb.y,this.Vf=!0,this.Wf=!1,this.thumb.setState(1)},t.setSmoothMove=function(t){var e,i,s,n;this._f=t,e="",t?(i=this.Xf?"top":"left",s=jbeeb.tickerInterval,e=i+" "+s+"ms linear"):e="none",n=this.thumb.style,n.mozTransition=n.oTransition=n.msTransition=n.webkitTransition=n.transition=e},t.yg=function(t,e,i){var s,n,h;1!=this.Zf&&(e=e||!1,i=i||"none",t=t||0,s=t,s<this.Kf?(s=this.Kf,n=0):s>this.Lf?(s=this.Lf,n=1):n=(s-this.Kf)/this.Mf,this.Xf?this.thumb.setY(s):this.thumb.setX(s),this.Xf&&(n=1-n),this.If&&(n=1-n),this.Jf&&(n=this.Dg(n)),this.value=n,this.Ag(),e||this.dispatchEvent("change",n,i),this.dg&&(h=this.dg.checked,n>0?h||(this.state=1,this.dg.setChecked(1,!0),e||this.dispatchEvent("toggle",this,1,!0,i)):"move"!=i&&h&&(this.state=0,this.dg.setChecked(0,!0),e||this.dispatchEvent("toggle",this,0,!0,i))))},t.Dg=function(t,e){var i=this.Jf;return Math.pow(t/1,e?1/i:i)},t.setUsePaging=function(t){this.Yf=t||0},t.zg=0,t.Cg=function(t,e,i){var s;1==this.Yf?this.Xf?(s=e.mouseY,s=s<this.thumb.y?this.thumb.y-this.Pf:this.thumb.y+this.Pf):(s=e.mouseX,s=s<this.thumb.x?this.thumb.x-this.Pf:this.thumb.x+this.Pf):s=this.Xf?e.mouseY-this.Of/2:e.mouseX-this.Nf/2,"clickUp"==i?(this.yg(s,!0,"move"),this.yg(s,!1,"end")):this.yg(s,!0,"start")},t.getValue=function(){return this.value},t.setValue=function(t,e){t||(t=0),0>t&&(t=0),t>1&&(t=1),this.Xf&&(t=1-t),this.If&&(t=1-t),this.Jf&&(t=this.Dg(t,!0)),this.yg(this.Kf+t*this.Mf,e,"none"),this.amSM&&(this.Xf=this.track.width<=this.track.height,this.Xf?this.track.center("h"):this.track.center("v"))},t.setInverted=function(t,e){this.If=t,this.setValue(this.value,e)},t.disable=function(){this.Zf=1,this.yg(0,!0,"none"),this.thumb&&this.thumb.hide()},t.enable=function(){this.Zf=0,this.value=this.value||0,this.yg(this.value,!0,"none"),this.thumb&&this.thumb.show()},t.nudge=function(t){var e,i=this.Pf/10*t;e=this.Xf?this.thumb.y+i:this.thumb.x+i,this.yg(e,!1,"start")},t.Eg=t.stretch,t.stretch=function(t,e,i){var s,n;this.Eg(t,e,i),s=this.getPageSizePercent(),n=this.value,this.setPageSizePercent(s),this.Nf=this.thumb.width,this.Of=this.thumb.height,this.centerThumb(),this.setValue(n,!0)},t.smPrep=function(){this.setValue(.25,!0)},t.toString=function(){return"[Slider (name="+this.name+")]"},t.type="Slider",jbeeb.Slider=e}(),this.jbeeb=this.jbeeb||{},function(){var t=function(t){this.init(t)},e=t.prototype=new jbeeb.Container;e.Fd=0,e.percent=0,e.Fg=null,e.Gg=!1,e.Hg=e.init,e.init=function(t){this.percent=0,t.reverse&&(this.Gg=!0,t.pin="tr"),this.Hg(t),this.Fd=0},e.Ig=function(t){return 0>t&&(t=0),t>1&&(t=1),t},e.update=function(t){var e,i,s;0>t?(this.percent=-1,1===this.Fd&&this.setState(0)):(0===this.Fd&&this.setState(1),e=this.Ig(t),this.percent=e,this.Gg?(s=this.parent.width*(1-e),i=this.parent.width-s):(s=this.parent.width*e,i=0),0>s?s=0:s>this.parent.width&&(s=this.parent.width),this.setXYWH(i,0,s,this.parent.height))},e.getValue=function(){return this.percent},e.setValue=function(t){this.update(t)},e.setState=function(t){this.Fd=t,1===t?this.show():this.hide()},e.Jg=e.stretch,e.stretch=function(t,e,i){this.Jg(t,e,i),this.update(this.percent,-1)},e.toString=function(){return"[ScrubberProgress (name="+this.name+")]"},e.type="ScrubberProgress",jbeeb.ScrubberProgress=t}(),this.jbeeb=this.jbeeb||{},function(){var t=function(t){this.init(t),this.likeContainer=1},e=t.prototype=new jbeeb.Slider;e.loader=null,e.progress=null,e.Kg=null,e.Lg=e.init,e.thumb=null,e.track=null,e.progress=null,e.loader=null,e.init=function(t){var e,i,s,n,h={},l={},a=t.children;if(a)for(s=0;s<a.length;s++)n=a[s],"track"==n.name?e=jbeeb.Utils.clone(n):"thumb"==n.name?i=jbeeb.Utils.clone(n):"loader"==n.name?(h=jbeeb.Utils.clone(n),a[s]=null):"progress"==n.name&&(l=jbeeb.Utils.clone(n),a[s]=null);t.usePaging=0,t.smoothMove=0,this.Lg(t),h.reverse=!0,h.x=0,h.y=0,h.w=e.w,h.h=e.h,h.name="loaderControl",this.loader=new jbeeb.ScrubberProgress(h),l.x=0,l.y=0,l.w=e.w,l.h=e.h,l.name="progressControl",this.progress=new jbeeb.ScrubberProgress(l),this.track.addChild(this.progress,this.loader),this.amSM||(this.progress.setMouseEnabled(0),this.loader.setMouseEnabled(0),this.track.setOverflow("hidden")),this.track.likeContainer=1,this.thumb&&this.toFront(this.thumb),this.progress.update(0),this.progress.setState(1),this.loader.update(0),this.loader.setState(0),this.addEventListener("change",this.Mg,this),this.setValue(0,!0)},e.Mg=function(t,e){this.progress.update(t)},e.Ng=e.setValue,e.setValue=function(t,e){this.Ng(t,e),this.progress&&this.progress.update(t)},e.Og=e.onAdded,e.onAdded=function(){this.progress.toFront(),this.loader.toFront(),this.Og()},e.Pg=e.destroy,e.destroy=function(){this.progress&&this.progress.destroy(),this.progress=null,this.loader&&this.loader.destroy(),this.loader=null,this.Kg=null,this.Pg()},e.smPrep=function(){this.setValue(.25,!0),this.loader.setState(1),this.loader.update(.75,1),this.progress.setState(1),this.progress.update(.25,1)},e.toString=function(){return"[Scrubber (name="+this.name+")]"},e.type="Scrubber",jbeeb.Scrubber=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t){this.init(t),this.likeContainer=1},e=t.prototype=new jbeeb.Container;e.face=null,e.mark=null,e.Qg=null,e.Rg=null,e.Kg=null,e.amSM=0,e.Sg=e.init,e.init=function(t){var e,i,s,n,h,l,a,r,o,u,c,d=t.w,f=t.h,b=d>f?d:f;if(t.w=b,t.h=b,e=0,i=0,h=t.children)for(l=0;l<h.length;l++)a=h[l],"face"==a.name&&(s=jbeeb.Utils.clone(a));if(s||(s={w:b,h:b,stroke:"#000000",fill:"#cccccc",rounded:1}),h=s.children)for(l=0;l<h.length;l++)a=h[l],"mark"!=a.name&&1!=h.length||(n=jbeeb.Utils.clone(a));s.children=null,this.Sg(t),e=new jbeeb.Container(s),r=e.width+2*e.stroke.weight,o=e.height+2*e.stroke.weight,n?(n.x=(r-n.w)/2,n.y=n.y||0):(u=2,n={x:(b+u)/2,y:0,w:u,h:.2*b,fill:"#000000"}),i=new jbeeb.TextBox(n),this.addChild(e),e.addChild(i),this.amSM=t.amSM,this.amSM||(this.addMEL("mouseDown",this.Tg,this),this.addMEL("mouseDrag",this.Ug,this),e.setMouseEnabled(0),i.setMouseEnabled(0)),this.Qg=e,this.Rg=i,this.face=e,this.mark=i,this.centerFace(),c=t.minMaxDegrees||60,1>c&&(c=1),this.Vg=c/2},e.Wg=0,e.Vg=0,e.Xg=0,e.Yg=0,e.Zg=0,e.Tg=function(t,e,i){this.Yg=e.mouseX,this.Zg=e.mouseY,this.$g=this.Qg.rotation,this.Xg=this._g(e)},e.Ug=function(t,e,i){var s,n,h=this._g(e),l=this.$g+(this.Xg-h);l>180?l-=360:-180>l&&(l+=360),s=this.Vg,n=0,180-s>l&&l>-180+s?(n=(l+180-s)/(360-2*s),this.Qg.setRotation(l)):(l>0&&(n=1),this.Tg(t,e,i)),this.ah(n)},e._g=function(t){var e=this.Wg;return 180*Math.atan2(e-t.mouseY,e-t.mouseX)/Math.PI*-1},e.ah=function(t,e){this.value=t,e||this.dispatchEvent("change",t)},e.setValue=function(t,e){var i,s;this.ah(t,e||!1),i=this.Vg,0>t?t=0:t>1&&(t=1),s=t*(360-2*i)-(180-i),this.Qg.setRotation(s)},e.centerFace=function(){var t,e,i,s,n,h,l,a,r,o,u;this.Rg.center("h"),t=this.width,e=this.height,i=Math.floor(t>e?t:e),s=2*this.Qg.stroke.weight||0,n=this.Qg.width+s,h=this.Qg.height+s,l=0,n>i&&(i=n,l=1),h>i&&(i=h,l=1),a=i/2-n/2,r=i/2-h/2,this.Qg.setXY(a,r),this.Qg.center(),this.Rg.center("h"),o=n/2,u=h/2,this.Qg.setOrigin(o,u),this.Wg=(i+s)/2},e.bh=e.stretch,e.stretch=function(t,e,i){this.bh(t,e,i),this.centerFace()},e.toString=function(){return"[Knob (name="+this.name+")]"},e.type="Knob",jbeeb.Knob=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";function t(t){var e=document.createElement(t);return o.brokenAndroid&&(e.canPlayType=function(t){return/audio/i.test(t)?null!==t.match(/audio\/(mpeg|mp3|ogg|oga|webm|wav|mpeg)/gi)?"maybe":"":null!==t.match(/video\/(mp4|m4v|mpeg|mp3|ogg|oga|webm|wav|mpeg)/gi)?"maybe":""}),o.chromium&&(e.canPlayType=function(t){return/audio/i.test(t)?null!==t.match(/audio\/(ogg|oga|webm|wav|mp3|mpeg)/gi)?"maybe":"":null!==t.match(/video\/(ogg|ogv|oga|webm|wav|mp3|mpeg)/gi)?"maybe":""}),e}function e(t){if(t&&t.hasChildNodes)for(var e=t.firstChild;t.hasChildNodes();)t.removeChild(e),e=t.firstChild}function i(t){return unescape(encodeURIComponent(t))}function s(t,e){try{if(!t.canPlayType)return!1;if(""!==t.canPlayType(e).replace(/no/)||""!==t.canPlayType(e.replace(/m4a/,"mp4")).replace(/no/,""))return!0;if("audio/mpeg"==e&&""!==t.canPlayType('audio/mpeg;codecs="mp3"').replace(/no/))return!0}catch(t){return!1}return!1}function n(t,e){switch(e=e||"",t){case"mp3":return e+"/mpeg";case"aac":case"mpe":case"mpg":case"mpv":case"mp4":case"mpg4":case"m4a":case"m4b":case"m4p":case"m4r":case"m4v":case"mov":case"f4v":case"f4a":return e+"/mp4";case"flv":return e+"/x-flv";case"webm":case"webma":case"webmv":return e+"/webm";case"ogg":case"oga":case"ogv":return e+"/ogg";default:return e+"/"+t}}function h(t,e){var i=jbeeb.Utils.decodeURL(t),s=jbeeb.PathInfo.parse(i),h=(""+(e||s.ext)).toLowerCase(),l=/(mp4|m4v|ogg|ogv|m3u8|webm|webmv|flv|wmv|mpeg|mov)/gi.test(h)?"video":"audio";return s.av=l,s.mime=n(h,l),s.kind=e,s.ext=e||s.ext,s}var l,a,r,o,u,c,d,f,b=function(t){this.init(t)};jbeeb.MediaController||(b.ch={}),l={},a=jbeeb.mimes.audio;for(r in a)l[r]=["audio",a[r]];a=jbeeb.mimes.video;for(r in a)l[r]=["video",a[r]];b.dh=l,b.swf="wimpy.swf",b.swfVersion=10,b.fallbackExtensions={audio:"ogg,wav",video:"webm"},b.disableFlash=!1,b.configure=function(t){var e="undefined";typeof t.swf!=e&&(b.swf=t.swf),typeof t.swfVersion!=e&&(b.swfVersion=t.swfVersion),typeof t.fallbackExtensions!=e&&(b.fallbackExtensions=t.fallbackExtensions),typeof t.disableFlash!=e&&(b.disableFlash=t.disableFlash)},o=jbeeb.Browser,u=t("video"),c=void 0!==u.canPlayType||o.brokenAndroid;try{u.canPlayType("video/mp4")}catch(t){c=!1}d=b.prototype=new jbeeb.Container,d.eh="1",d.fh=null,d.gh=null,d.meid=null,d.hh="0",d.ih="0",d.jh="100%",d.kh="100%",d.lh=null,d.mh=!1,d.Na=!1,d.nh=!1,d.oh=!1,d.JesusIsLord=!0,d.file="",d.fileInfo="",d.ready=!1,d.ph=0,d.qh=.99999999,d.rh=1e-8,d.sh={},d.th={},d.uh=0,d.vh=!1,d.wh=1,d.xh=null,d.amFullscreen=0,d.yh=null,d.zh=null,d.Ah=null,d.Bh=null,d.Ch=null,d.Dh=null,d.Eh=null,d.Fh=!1,d.Gh=!1,d.Hh=null,d.Ih=0,d.Jh=0,d.Kh=!0,d.Lh=!1,d.Mh=0,d.Nh=null,d.Oh=!1,d.Ph=null,d.Qh=null,d.Rh=null,d.Sh=null,d.Th=null,d.Uh=null,d.Vh=0,d.Wh=1,d.amMuted=0,d.amPrepped=!1,d.ph=null,d.Xh=0,d.Yh=d.init,d.init=function(t){var e,i,s,n,h;t&&(this.Zh=!1,this.$h=!1,this.Xh=0,e=t.onReady,e&&(delete t.onReady,this.Hh=e),this.Kh=!t.allowOthers,this.ready=!1,this.Yh(t),o.stockAndroid&&(this.Ih=1,this.Jh=1),i=jbeeb.getUID(),this.fh=b.ch,this.fh[i]=this,this.meid=i,this.lh="audio",!t.noFullscreen&&jbeeb.Fullscreen&&(this.Lh=!0),s=jbeeb.Utils.isTrue,n=!!s(b.disableFlash),h=!!s(t.disableFlash),h&&(n=!0),this.nh=!!n||c,this.oh=!n&&jbeeb.FlashDetect.hasVersion(b.swfVersion),this.mh=!1,this.zh=this._h.bind(this),this.Ah=this.ai.bind(this),this.Bh=this.bi.bind(this),this.Ch=this.ci.bind(this),this.Dh=this.di.bind(this),this.Eh=this.ei.bind(this),this.fi())},d.fi=function(){this.Lh&&(this.xh=new jbeeb.Fullscreen(this,this.gi.bind(this),this.Na)),this.ready=!0,this.Hh&&this.Hh()},d.hi=function(t){this.Na=t,this.fi()},d.getMediaControllers=function(){return this.fh},d.getMediaElement=function(){return this.gh},d.setFullscreen=function(){0===this.amFullscreen?this.ii():this.ji()},d.ii=function(){0==this.amFullscreen&&(this.amFullscreen=1,this.ki(),this.xh.enter(),setTimeout(this.li.bind(this),1e3))},d.ji=function(){1==this.amFullscreen&&(this.amFullscreen=0,this.ki(),this.xh.exit(),setTimeout(this.li.bind(this),1e3))},d.gi=function(t){this.amFullscreen=t,this.ki(),setTimeout(this.li.bind(this),1e3)},d.li=function(){if(this.Na&&this.mh){var t=this.gh;t.js_getVersion||(t=document.getElementById(this.meid),this.gh=t,this.dispatchEvent("newMediaElement",t)),t.js_FSsetState&&t.js_FSsetState(this.amFullscreen)}},d.ki=function(){var t;t=this.Fh||this.amFullscreen?1:0,this.mi(t)},d.setControls=function(t){var e=jbeeb.Utils.isTrue(t);this.mi(e?1:0),this.Fh=e},d.mi=function(t){var e=this.gh,i=this.Na,s=this.mh;t?i&&s?e.js_setControls&&e.js_setControls(t):e.setAttribute("controls","true"):(i&&s&&e.js_setControls&&e.js_setControls(0),setTimeout(this.ni.bind(this),1e3))},d.ni=function(){var t=this.gh;this.Na&&this.mh?t.js_setControls&&t.js_setControls(0):t.removeAttribute&&t.removeAttribute("controls")},d.oi=function(){var t,i,s,n;if(this.Ph&&(clearTimeout(this.Ph),this.Ph=null),this.pi&&(this.pi=null),this.Rh&&(clearInterval(this.Rh),this.Rh=null),this.Sh&&(this.Sh=null),t=this.gh,t&&t){if(i=t.nodeName,i&&"object"==i.toLowerCase()){if(o.ie){t.style.display="none";for(s in t)"function"==typeof t[s]&&(t[s]=null)}}else n=b.unbindEvent,n(t,"timeupdate",this.zh),n(t,"ended",this.Ah),n(t,"pause",this.Bh),n(t,"play",this.Ch),n(t,"loadstart",this.Eh);if(t.parentNode)try{t.parentNode.removeChild(t)}catch(t){}}this.gh=null,this.gh={},e(this.element)},d.qi=function(e){var i,s;return this.oi(),i=t(e),i.setAttribute("id",this.meid),i.setAttribute("webkit-playsinline",""),"audio"==e?(i.setAttribute("width","1"),i.setAttribute("height","1")):(i.setAttribute("width","100%"),i.setAttribute("height","100%")),i.style.cssText="zoom:1;position:absolute;top:"+this.ih+"px;left:"+this.hh+"px;width:"+this.jh+";height:"+this.kh+";",this.element.appendChild(i),s=b.bindEvent,s(i,"timeupdate",this.zh),s(i,"ended",this.Ah),s(i,"pause",this.Bh),s(i,"play",this.Ch),s(i,"loadstart",this.Eh),i},b.bindEvent=function(t,e,i,s){return t&&(t.attachEvent?t.attachEvent("on"+e,i):t.addEventListener&&t.addEventListener(e,i,!!s)),i},b.unbindEvent=function(t,e,i,s){return t&&(t.attachEvent?t.detachEvent("on"+e,i):t.addEventListener&&t.removeEventListener(e,i,!!s)),i},d.ri=function(){var t,i,h,l,a,r,o,u,c,d,f,p,m,g=this.fileInfo,y=this.gh,v=this.lh,j=g.av,w=this.Jh?"video":j;if(y&&y.pause?(y.pause(),y.currentTime&&(y.currentTime=0)):y=null,y&&w==v||(y=this.qi(w),this.xh&&this.xh.setFullscreenObject(this,y)),this.lh=w,s(y,g.mime))t=g.url,i=g.mime,h=g.ext;else for(l=jbeeb.Utils.trim,a=b.fallbackExtensions[j].split(","),r=a.length,o=g.parenturl,u=g.basename?g.basename:"",c=/\?/.test(g.url),d=g.url.split(".").pop(),!d||d.length>4||c?(o=g.url,u=c?"&ext=":"#"):u+=".",f=0;r>f;f++)if(p=l(a[f]),i=n(p,j),s(y,i)){t=o+u+p,i=i,h=p;break}t||(t=g.url),t=jbeeb.Utils.absoluteURL(t),e(y),y.src=t,y.autoplay=!0,m=document.createElement("source"),"audio/mpeg"==i&&""!==y.canPlayType('audio/mpeg;codecs="mp3"').replace(/no/)&&(i='audio/mpeg;codecs="mp3"'),m.type=i,m.src=t,y.appendChild(m),this.gh=y,this.Mh&&y&&(y.load&&(y.load(),y.play()),this.si()),this.dispatchEvent("newMediaElement",y)},d.ti=function(){this.Mh&&this.gh&&(this.gh.load&&(this.gh.load(),this.gh.play()),this.si())},d.si=function(){this.vh=!0,this.setVolume(this.wh),this.ui(1),this.ki()},d.vi=function(){this.mh?this.wi():(this.Nh=1,this.oi(),this.gh=null,this.pi||(this.pi=this.Qh.bind(this)),this.Ph=setTimeout(this.pi,3e3),this.gh=this.xi(),this.dispatchEvent("newMediaElement",this.gh),this.xh&&this.xh.setFullscreenObject(this,this.gh))},d.xi=function(){return new jbeeb.FlashElement({element:this.element,id:this.meid,w:this.jh,h:this.kh,swf:b.swf,scale:"noscale",salign:"lt",wmode:"opaque",bgcolor:this.fill.color,flashvars:{meid:this.meid,s:0,a:this.eh,baseClass:"jbeeb"}})},d.ui=function(t){this.oh&&(this.Rh&&(clearInterval(this.Rh),this.Rh=null),t&&this.Na&&(this.Sh||(this.Sh=this.yi.bind(this)),this.Rh=setInterval(this.Sh,500)))},d.Qh=function(){clearTimeout(this.Ph);var t=!1;this.gh?this.gh.js_getVersion||(t=!0):t=!0,t&&(this.Xh=1e3,this.Oh=!0,this.zi())},d.Ai=function(){if(clearTimeout(this.Uh),!this.Oh){var t=document.getElementById(this.meid);t&&t.js_getVersion?(this.gh=t,this.dispatchEvent("newMediaElement",t),this.mh=!0,this.wi()):this.zi()}},d.Bi=function(){clearTimeout(this.Uh),clearTimeout(this.Ph)},d.wi=function(){var t,e=this.fileInfo;e&&!this.Oh&&(this.gh.js_getVersion?(this.Bi(),t=e.url,o.moz&&(t=i(t)),t=jbeeb.Utils.absoluteURL(t),this.gh.js_load(t,e.kind),this.si()):(this.mh=!1,this.Th||(this.Th=this.Ai.bind(this)),this.Uh=setTimeout(this.Th,500)))},d.reset=function(t){this.pause(),this.rewind(),this.disableOthers(),this.Vh=0,this.fileInfo=null,this.file=null,this.uh=100,this.vh=!1,this.amMuted?this.setVolume(this.Wh||1):this.setVolume(this.wh),this.ui(0),t&&this.oi()},d.play=function(t,e){this.Vh=0,this.Ci(0),this.disableOthers();var i=!1;t&&t!=this.file&&(this.loadAndPlay(t,e),i=!0),i||(this.Na?this.mh&&this.gh.js_play&&this.gh.js_play():this.gh.paused&&!this.Zh&&this.gh.play()),this.ui(1)},d.stop=function(t){this.reset(t)},d.pause=function(t){this.dispatchEvent("beforePause"),this.gh&&(this.Na?this.mh&&this.gh.js_pause&&this.gh.js_pause():this.gh.paused||this.$h||this.gh.pause()),t?this.Vh=1:this.ui(0)},d.Di=function(){this.pause(),this.dispatchEvent("disable")},d.Ei=function(){this.dispatchEvent("enable")},d.disableOthers=function(){var t,e,i,s;if(this.Kh){t=this.fh,e=this.meid;for(i in t)s=t[i],i!=e&&s.Di();this.Ei()}},d.loadAndPlay=function(t,e){this.ui(0),e=e||null,this.dispatchEvent("playpause",1),this.disableOthers(),this.Mh=!0,this.Fi(t,e),this.di(null)},d.prepare=function(t,e){this.amPrepped||this.Ih&&t&&(this.ui(0),this.Mh=!1,this.Fi(t,e)),this.amPrepped=!0},d.Gi=function(t){var e=t.av,i=t.ext,s=0,n=!!jbeeb.Utils.isTrue(b.disableFlash);return o&&!n&&(s="audio"!=e||this.Jh?!this.Hi(t):o.win&&o.ie&&o.version<10||o.opera?this.oh&&f.indexOf(i)>-1:o.chrome||o.safari||o.ios||o.android||o.chromium?0:this.oh&&f.indexOf(i)>-1&&!this.Hi(t)),s},d.Fi=function(t,e){var i,s,n,l;e=e||null,i=h(t,e),this.fileInfo=i,this.file=t,s=this.jh,n="audio"==i.av?"1px":"100%",this.jh=this.kh=n,this.gh&&s!=n&&(l=this.gh.style,l.width=n,l.height=n),this.uh=100,this.vh=!1,this.Vh=0,this.Na=this.Gi(i),this.Na?(this.vi(),this.ui(1)):this.ri(),this.di(null)},d.amHtml=function(){return!this.Na},d.Hi=function(t){return this.nh&&s(u,t.mime)?!("video"==t.av&&o.ie&&o.version<11&&/mp4/gi.test(t.mime)):!this.oh||f.indexOf(t.ext)<=-1},f=["mp3","m4a","aac","mp4","m4v","m4p","m4p","mpg4","mpeg","mpg","mpe","mpv","flv","f4v","f4p","webm","3gp","3gp","3g2"],b.getMediaInfo=h,d.mute=function(t){var e=this.gh,i=0;1==t?(this.Wh=this.wh||1,i=0,this.Na||(e&&(e.volume=i),this.wh=i),this.amMuted=1):(i=this.Wh||1,this.amMuted=0),this.Na?this.mh&&(e&&e.js_setMuteState(t),this.setVolume(i)):(e&&(e.volume=i),this.wh=i,o.ios&&(1==t?this.pause():this.play()))},d.setVolume=function(t){this.wh=t;var e=this.gh;e&&(this.Na?this.mh&&e.js_setVolume&&e.js_setVolume(t):e.volume=t)},d.niceTime=function(t){function e(t,e){return 1>t?e?"00":"0":10>t?(e?"0":"")+t:""+t}var i,s,n,h;return t?(i=new Date(1e3*t),s=i.getUTCHours(),n=i.getUTCMinutes(),h=[],s>0?(h.push(e(s)),h.push(e(n,!0))):h.push(e(n)),h.push(e(i.getUTCSeconds(),!0)),h.join(":")):"0:00"},d.rewind=function(){this.Na&&this.mh&&this.gh.js_rewindPlayerState&&this.gh.js_rewindPlayerState(),this.setPlayheadPercent(0)},d.Ci=function(t){this.ph=t,this.Na&&this.mh&&this.gh.js_setScrubState&&this.gh.js_setScrubState(t)},d.setPlayheadPercent=function(t){var e,i,s;this.ph||this.Ci(1),t>this.qh&&(t=this.qh),t<this.rh&&(t=this.rh),e=t,0>t?t=0:t>1&&(t=1),this.gh&&(this.Na?this.mh&&this.gh.js_setPlayheadPercent&&this.gh.js_setPlayheadPercent(t):(i=this.gh.duration,i&&(i===1/0&&(i=0),s=i*t,s>0?i>s||(s=i):s=0,this.gh.currentTime=s,this.dispatchEvent("update",this.Ii())))),this.Ci(0)},d.getPlayerState=function(){return this.sh||{}},d.setPlayerState=function(t){this.sh=t||{}},d.Ii=function(){var t,e,i=0,s=0,n=0,h=.02,l="00:00",a=0,r="00:00",o=0,u="00:00",c=!1,d=this.gh;return d.readyState>0&&(i=1,d.paused||(s=1),t=void 0!==d.duration?parseFloat(d.duration):.02,e=void 0!==d.currentTime?parseFloat(d.currentTime):0,NaN!=t&&t!=1/0||(t=e),e>t&&(t=e+1),t=Math.floor(100*t)/100,e=Math.ceil(100*e)/100,.01>t&&(t=.01),n=e/t,this.ph||t>2&&e>2&&(1>n||(clearTimeout(this.Ji),this.Ji=setTimeout(this.Ah,1e3))),h=t,l=this.niceTime(t||0),a=t-e,r=this.niceTime(a||0),o=e,u=this.niceTime(e||0)),4!=d.readyState&&(c=!0),{init:i,status:s,percent:n,duration:h,duration_nice:l,remaining:a,remaining_nice:r,current:o,current_nice:u,buffering:c}},d.Ji=null,d.getLoadState=function(){return this.th||{loaded:0,percent:0,total:1,status:0}},d.setLoadState=function(t){this.th=t||{}},d.Ki=function(t){var e=0,i=0,s=1,n=this.gh;return parseInt(n.readyState)<0||(300==this.uh?(i=1,s=1,e=1):(n&&n.buffered&&n.buffered.length>0&&n.buffered.end&&n.duration?(s=parseFloat(n.duration),e=parseFloat(n.buffered.end(n.buffered.length-1))):n&&void 0!=n.bytesTotal&&n.bytesTotal>0&&void 0!=n.bufferedBytes&&(s=parseFloat(n.bytesTotal),e=parseFloat(n.bufferedBytes)),i=(e||0)/(s||1),s>1&&e>1&&i>.9&&(i=1,this.Li()),0>i?i=0:i>1&&(i=1))),{total:s,percent:i,loaded:e}},d.Li=function(t){this.uh=300,this.Mi(t)},d._h=function(t){if(!this.Vh){var e=this.Ii();this.sh=e,this.ph||this.dispatchEvent("update",e)}this.uh<300&&this.Mi()},d.Mi=function(t){var e=this.Ki(t);this.Ni(e),this.th=e,this.dispatchEvent("loading",e)},d.yi=function(){var t,e,i;this.Vh||this.mh&&this.gh&&this.gh.js_getStatus&&(t=this.gh.js_getStatus(),e=t.playerState,this.sh=e,this.dispatchEvent("update",e),this.uh<300&&(i=t.loadState,this.Ni(i),this.th=i,this.dispatchEvent("loading",i)))},d.Ni=function(t){t.status=this.uh,200==this.uh&&(t.percent<.999||(this.uh=300)),100==this.uh&&t.percent>0&&t.total>1&&(this.uh=200),this.sh.thinking=this.uh<300?1:0},d.di=function(t){clearTimeout(this.Ji),this.dispatchEvent("launch",this.file)},d.ei=function(t){clearTimeout(this.Ji),this.dispatchEvent("loadStart",this.file)},d.ci=function(t){this.Zh=!0,this.$h=!1,clearTimeout(this.Ji),this.dispatchEvent("start",this.file)},d.bi=function(t){this.Zh=!1,this.$h=!0,clearTimeout(this.Ji),this.dispatchEvent("stop",this.file)},d.ai=function(t){clearTimeout(this.Ji),this.file&&(this.pause(),this.rewind(),this.dispatchEvent("done",this.file))},d.SWFisReady=function(t){this.mh=!0,this.Nh&&this.wi()},d.zi=function(){var t,e,i;this.ui(0),this.xh&&this.xh.setFullscreenObject(null),this.oi(),this.gh=null,this.mh=!1,t=jbeeb.Utils.clone(this.fileInfo),e=this.file,this.reset(),this.fileInfo=t,this.file=e,this.Mh=!0,i=this.Xh++,i>2?(b.disableFlash=!0,this.Na=!1,this.oh=!1,this.ri()):this.vi(),this.ki()},d.SWFexitFS=function(){this.ji()},d.SWFenterFS=function(){this.ii()},d.SWFvolume=function(t){this.wh=t,this.dispatchEvent("extVolumeChange",t)},d.Oi=d.destroy,d.destroy=function(){this.dispatchEvent("newMediaElement",null),this.removeAllEventListeners(),this.xh.destroy(),this.xh=null,this.gh&&this.oi(),this.fh=b.ch,this.fh[this.meid]=null,delete this.fh[this.meid],this.gh=null,this.Oi()},d.Pi=d.setX,d.setX=function(t){this.amFullscreen?this.x=t:this.Pi(t)},d.Qi=d.setY,d.setY=function(t){this.amFullscreen?this.y=t:this.Qi(t)},d.Ri=d.setXY,d.setXY=function(t,e){this.amFullscreen?(this.x=t,this.y=e):this.Ri(t,e)},d.Si=d.setXYWH,d.setXYWH=function(t,e,i,s){this.amFullscreen?(this.x=t,this.y=e,this.width=i,this.height=s):this.Si(t,e,i,s)},d.Ti=d.setSize,d.setSize=function(t,e){this.amFullscreen?(this.width=t,this.height=e):this.Ti(t,e)},d.Ui=d.setWidth,d.setWidth=function(t){this.amFullscreen?this.width=t:this.Ui(t)},d.Vi=d.setHeight,d.setHeight=function(t){this.amFullscreen?this.height=t:this.Vi(t)},d.toString=function(){return"[MediaController (name="+this.name+")]"},d.type="MediaController",jbeeb.MediaController||(jbeeb.SWFcall=function(t,e,i){var s=jbeeb.MediaController.ch[t];"ended"==e?s.ai(i):"pause"==e?s.bi(i):"play"==e?s.ci(i):"loadstart"==e?s.ei(i):"SWFexitFS"!=e&&"SWFisReady"!=e&&"SWFenterFS"!=e&&"SWFvolume"!=e||s[e](i)},jbeeb.MediaController=b)}(),this.USERCONF_START="UC_START",this.wimpyConfigs=this.wimpyConfigs||{},this.USERCONF_END="UC_END",this.jbeeb=this.jbeeb||{},this.wimpy=this.wimpy||{},this.wimpy.version="7.8.24",function(){"use strict";var t,e,i,s,n,h,l,a,r,o,u,c;if(wimpy.Wi={disableFlash:!1,defaultPlayer:{target:null,name:null,skin:null,media:null,startUpText:"Click to Play",coverArt:"coverart.jpg",coverArtFit:1,width:null,height:null,autoPlay:0,random:0,sort:null,sortReverse:0,loop:0,volume:1,infoSpeed:10,infoScroll:2,limitPlayTime:null,startOnTrack:null,autoAdvance:1,downloadEnable:0,downloadWindow:null,linkEnable:0,linkWindow:null,inline:0,timeFormat:"1 / 3",infoFormat:"1 - 2 - 3",getid3:0,getid3image:0,plugPlaylist:null,plugEvery:5,plugFirst:0,plugDisables:0,disableControls:null,numberTracks:0,glyphFile:"f",glyphList:"F",glyphDownload:"D",glyphLink:"i",downloadTip:"download",linkTip:"link",disableFlash:0,responsive:0,size:0,eq:null,eqBands:null,eqSmoothing:null,eqScale:null,eqBassDamp:null,allowOthers:!1},server:"wimpy.php",mainPlayControls:"play,stop,pause,rewind,next,playlist,scrubber,coverPlayPause",glyphFamily:"WimpyPlayerGlyphs",glyphCssFile:"wimpy.css",flashFallbackFile:"wimpy.swf",fallbackExtensions:{audio:"mp3,ogg,wav",video:"mp4,webm"},fallbackSkin:'{"version":"1.0","title":"My Skin","created":1396636820012,"x":119,"y":79,"width":300,"height":160,"images":{},"bkgdColor":"#dbdbdb","layout":[{"x":0,"y":0,"w":300,"h":160,"z":0,"type":"Box","name":"Box_2488","stroke":{"weight":1,"color":"#b8b8b8","alpha":1,"style":"solid"},"rounded":0.04595},{"x":126,"y":31,"w":157.363,"h":4.9277,"z":1,"type":"Scrubber","name":"cmp_scrubber","children":[{"x":0,"y":0,"w":157.363,"h":4.9277,"z":1,"type":"Rube","name":"track","fill":[{"color":"#9E9B97","alpha":1},{"color":"#9E9B97","alpha":1}],"stroke":[{"weight":1,"color":"#000000","alpha":0.48625,"style":"solid"},{"weight":1,"color":"#000000","alpha":0.48625,"style":"solid"}],"rounded":1,"text":"","font":"Arial, Helvetica, sans-serif","align":"center","textScale":0.7,"textFit":"wh","bevel":[null,null]},{"w":1,"h":1,"type":"Rube","name":"thumb"},{"x":118.022,"y":0,"w":39.341,"h":4.9277,"z":2,"type":"ScrubberProgress","name":"loader","fill":{"color":"#121212","alpha":0.39456}},{"x":0,"y":0,"w":39.341,"h":4.9277,"z":1,"type":"ScrubberProgress","name":"progress","fill":{"color":"#f0f0f0","alpha":0.74986}}]},{"x":87,"y":12,"w":22,"h":25,"z":2,"type":"Rube","name":"cmp_next","fill":[{"color":"#e5e5e5","alpha":1},{"color":"#bebebe","alpha":1}],"stroke":[{"weight":1,"color":"#b2b2b2","alpha":1,"style":"solid"},{"weight":1,"color":"#666666","alpha":1}],"rounded":0.17724,"text":">","font":"Arial, Helvetica, sans-serif","align":"center","textColor":[{"color":"#555555","alpha":1},{"color":"#ffffff","alpha":1}],"baselineShift":-0.03487,"textScale":0.54533,"textFit":"wh","bevel":[null,null]},{"x":13,"y":12,"w":22,"h":25,"z":3,"type":"Rube","name":"cmp_rewind","fill":[{"color":"#e5e5e5","alpha":1},{"color":"#bebebe","alpha":1}],"stroke":[{"weight":1,"color":"#b2b2b2","alpha":1,"style":"solid"},{"weight":1,"color":"#666666","alpha":1}],"rounded":0.17724,"text":"<","font":"Arial, Helvetica, sans-serif","align":"center","textColor":[{"color":"#555555","alpha":1},{"color":"#ffffff","alpha":1}],"baselineShift":-0.04881,"textScale":0.54533,"textFit":"wh","bevel":[null,null]},{"x":62,"y":12,"w":22,"h":25,"z":4,"type":"Rube","name":"cmp_play","fill":[{"color":"#e5e5e5","alpha":1},{"color":"#bebebe","alpha":1}],"stroke":[{"weight":1,"color":"#b2b2b2","alpha":1,"style":"solid"},{"weight":1,"color":"#666666","alpha":1}],"rounded":0.17724,"text":">","font":"Arial, Helvetica, sans-serif","align":"center","textColor":[{"color":"#555555","alpha":1},{"color":"#ffffff","alpha":1}],"baselineShift":-0.06276,"textScale":1,"textFit":"wh","bevel":[null,null]},{"x":12,"y":47,"w":100,"h":100,"z":5,"type":"Container","name":"cmp_cover","fill":{"color":"#000000","alpha":1}},{"x":125,"y":13,"w":159,"h":12,"z":6,"type":"TextScroller","name":"cmp_info","text":"Click Item to Play *** Click Item to Play","font":"Arial, Helvetica, sans-serif","align":"left","textColor":{"color":"#000000","alpha":1},"textScale":1},{"x":125,"y":52,"w":141,"h":94,"z":7,"type":"List","name":"cmp_playlist","item":{"x":0,"y":0,"w":141,"h":16.8,"z":0,"type":"ListItem","name":"listItem","text":"","font":"Arial, Helvetica, sans-serif","align":"center","textColor":[{"color":"#000000","alpha":1},{"color":"#FFFFFF","alpha":1}],"textScale":0.7,"textFit":"wh","fill":[{"color":null,"alpha":null},{"color":"#266FC2","alpha":1}],"stroke":[{"weight":1,"color":null,"alpha":null},{"weight":1,"color":null,"alpha":null}],"spacing":2}},{"x":276,"y":73,"w":9,"h":72,"z":8,"type":"Slider","name":"cmp_plScroll","fill":{"color":"#e0e0e0","alpha":1},"stroke":{"weight":1,"color":"#8d8d8d","alpha":0.48625,"style":"solid"},"rounded":1,"children":[{"x":0,"y":0,"w":9,"h":72,"z":0,"type":"Rube","name":"track","fill":[{"color":"#e0e0e0","alpha":1},{"color":"#e0e0e0","alpha":1}],"stroke":[{"weight":1,"color":"#8d8d8d","alpha":0.48625,"style":"solid"},{"weight":1,"color":"#8d8d8d","alpha":0.48625,"style":"solid"}],"rounded":1,"text":"","font":"Arial, Helvetica, sans-serif","align":"center","textScale":0.7,"textFit":"wh","bevel":[null,null]},{"x":-0.745,"y":55.301,"w":10.49,"h":16.699,"z":1,"type":"Rube","name":"thumb","fill":[{"color":"#a8a8a8","alpha":1},{"color":"#9E9B97","alpha":1}],"rounded":1,"text":"","font":"Arial, Helvetica, sans-serif","align":"center","textScale":0.7,"textFit":"wh","bevel":[null,null]}]},{"x":274,"y":49,"w":14,"h":17,"z":9,"type":"Rube","name":"cmp_plBack","fill":[{"color":"#e5e5e5","alpha":1},{"color":"#bebebe","alpha":1}],"stroke":[{"weight":1,"color":"#b2b2b2","alpha":1,"style":"solid"},{"weight":1,"color":"#666666","alpha":1}],"rounded":0.17724,"text":"<","font":"Arial, Helvetica, sans-serif","align":"center","bold":"bold","textColor":[{"color":"#555555","alpha":1},{"color":"#ffffff","alpha":1}],"baselineShift":-0.04881,"textScale":0.81032,"textFit":"wh","bevel":[null,null]},{"x":37,"y":12,"w":22,"h":25,"z":10,"type":"Rube","name":"cmp_pause","fill":[{"color":"#e5e5e5","alpha":1},{"color":"#bebebe","alpha":1}],"stroke":[{"weight":1,"color":"#b2b2b2","alpha":1,"style":"solid"},{"weight":1,"color":"#666666","alpha":1}],"rounded":0.17724,"text":"l l","font":"Arial, Helvetica, sans-serif","align":"center","bold":"bold","textColor":[{"color":"#555555","alpha":1},{"color":"#ffffff","alpha":1}],"baselineShift":-0.06276,"textScale":0.64993,"textFit":"wh","bevel":[null,null]}]}',
assetsPath:null,maxGoogleFeedItems:-1},wimpy.defaultPlayer=wimpy.Wi.defaultPlayer,wimpy.addEventListener=null,wimpy.removeEventListener=null,wimpy.removeAllEventListeners=null,wimpy.dispatchEvent=null,wimpy.hasEventListener=null,jbeeb.EventDispatcher.initialize(wimpy),wimpy.inited,wimpy.Xi=null,wimpy.Yi=null,wimpy.Zi=function(t){"ok"==t?wimpy.serverOK=1:wimpy.serverOK=0},wimpy.init=function(){var i=wimpy.$i.bind(wimpy);wimpy.glyphLoader&&0!=e?wimpy.glyphLoader.onReady(i):wimpy.glyphLoader=new jbeeb.FontFaceLoader({family:wimpy.glyphFamily,cssUrl:u+wimpy.glyphCssFile,onReady:i}),t=1},t=0,e=0,i=0,s=0,wimpy.$i=function(){e=1,wimpyButton=new wimpy.WButton,wimpy.Xi=new wimpy.PlayerQuery(wimpy._i.bind(wimpy)),wimpy.Xi.init()},wimpy._i=function(){i=1,wimpy.ka()},wimpy.ka=function(){t&&e&&i&&s&&(wimpy._.ready||(wimpy.dispatchEvent("init"),wimpy._.fire()))},wimpy.cReady=function(){s=1,wimpy.ka()},wimpy.parseAttributes=function(t){return wimpy.PlayerQuery.parseAttributes(t)},wimpy.getPlayer=function(t){return wimpy.playerList[t]||null},wimpy.getPlayerList=function(){var t,e=[];for(t in wimpy.playerList)e.push(wimpy.playerList[t]);return e},wimpy.getPlayerByName=function(t){var e,i;for(e in wimpy.playerList)if(i=wimpy.playerList[e],i.name&&i.name.toLowerCase()==t.toLowerCase())return i},wimpy.playersReady=function(){wimpy.dispatchEvent("ready"),wimpy.aj.fire()},!wimpy.inited){wimpy.inited=1,n=new jbeeb.ReadyBoss,wimpy._=n,wimpy.onInit=wimpy._.add.bind(n),h=new jbeeb.ReadyBoss,wimpy.aj=h,wimpy.onReady=wimpy.aj.add.bind(h),wimpy.playerList={},l=wimpy.Wi,a=wimpyConfigs;for(r in l)o=a[r],o||(o=l[r]),"object"==typeof o&&(o=jbeeb.Utils.clone(o)),wimpy[r]=o;u=wimpy.assetsPath?wimpy.assetsPath:wimpy.development?jbeeb.PathInfo.pagePath:jbeeb.PathInfo.scriptPath,c=wimpy.defaultPlayer.skin,c||(wimpy.defaultPlayer.skin=u+"wimpy.skins/_defaultskin.tsv"),c=wimpy.defaultPlayer.coverArt||"coverart.jpg","coverart"==c.substr(0,8)&&(c=u+c),wimpy.defaultPlayer.coverArt=c,wimpy.server="wimpy.php"==wimpy.server?u+wimpy.server:wimpy.server,new jbeeb.TextLoader(wimpy.server+"?o",wimpy.Zi.bind(wimpy)),jbeeb.MediaController&&jbeeb.MediaController.configure({swf:u+wimpy.flashFallbackFile,swfVersion:10,fallbackExtensions:wimpy.fallbackExtensions,disableFlash:wimpy.disableFlash,assetsPath:u}),jbeeb.assetsBasePath=u,jbeeb.glyphFamily=wimpy.glyphFamily,jbeeb.glyphCssFile=wimpy.glyphCssFile,jbeeb.flashFallbackFile=wimpy.flashFallbackFile,jbeeb.fallbackExtensions=wimpy.fallbackExtensions,jbeeb.register(wimpy)}}(),function(){function t(t){return unescape(encodeURIComponent(t))}function e(t){for(var e={},i=!0,s=t,h=0;i;)s==t&&h>1?i=!1:s==n.length?s=-1:(e[n[s]]=n[h],h++),s++;return e}function i(e){return t(e.toLowerCase().replace(/[^A-Za-z0-9\.\-]/g,""))}var s,n,h,l,a,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),o=[];for(s=0;s<r.length;s++)o[r[s]]=s;for(n=r.slice(0,62).concat(" -./~^?#&:<>=_%()".split("")),h={},l=0;l<n.length;l++)h[n[l]]=e(l);a=function(e,s){function n(t){d=t,f=0}function l(){var t,e,i;if(!d)return p;for(t=p,e=!0;e;){if(f>=d.length){e=!1;break}if(i=d.charAt(f),f++,o[i]){t=o[i],e=!1;break}if("A"==i){t=0,e=!1;break}}return t}function a(t){return t=t.toString(16),1==t.length&&(t="0"+t),t="%"+t,unescape(t)}function r(t){var e,i,s,h;for(n(t),e="",i=Array(4),s=!1;!s&&(i[0]=l())!=p&&(i[1]=l())!=p;)i[2]=l(),i[3]=l(),e+=a(i[0]<<2&255|i[1]>>4),i[2]!=p?(e+=a(i[1]<<4&255|i[2]>>2),i[3]!=p?e+=a(i[2]<<6&255|i[3]):s=!0):s=!0;h="";try{h=decodeURIComponent(e)}catch(t){h=unescape(e)}return c(u(h,!0))}function u(t,e){var i,s,n=t,h=n.substr(0,1),l=Math.ceil(h/2),a=n.substr(1,n.length),r="";for(i=0;i<a.length;i++)s=e&&i%3?+a.charCodeAt(i)-l:+a.charCodeAt(i)-h,r+=String.fromCharCode(s);return unpackSee=r,r}function c(t){var e,i,s,n,l,a=t.split("|"),r=a[0].split("");if(!a[1])return"";for(e=a[1].split(""),i="",s=0,n=0;n<e.length;n++)l=r[s],h[l]&&(i+=h[l][e[n]]),s++,s>r.length-1&&(s=0);return i}var d,f,b,p=-1;return(e=t(e))?(d=null,f=0,b=r(e),s&&(b+=i(s)),b):e},wimpy.bj=a}(),function(){"use strict";function t(){o?(h=jbeeb[e([8,9.7,11.6,10.4,7.3,11,10.2,11.1])][e([11.2,9.7,11.4,11.5,10.1])](o),l=(h[e([11.2,9.7,11.4,10.1,11,11.6,11.7,11.4,10.8])]||"")+e([11.9,10.5,10.9,11.2,12.1,9.5,11.4,10.1,10.3,4.6,11.6,12,11.6]),a=new(jbeeb[e([8.4,10.1,12,11.6,7.6,11.1,9.7,10,10.1,11.4])])(l,i)):wimpy.cj=0}function e(t){var e,i="";for(e=0;e<t.length;e++)i+=String.fromCharCode(parseInt(10*t[e]));return i}function i(t){var i,l,a,r,o,u,c=1,d=e([10,11.1,10.9,9.7,10.5,11]),f=e([10.8,11.1,9.9,9.7,10.8,10.4,11.1,11.5,11.6]);if(h[d]==f&&(c=0),c)if(/<html|<body/i.test(t))c=1;else if(i=e([11.2,11.4,11.1,11.6,11.1,9.9,11.1,10.8]),l=e([10.4,11.6,11.6,11.2]),t&&h[i].substr(0,4)==l)for(a=s(t),r=0;r<a.length;r++){if(o=n(a[r],h[d])){c=0;break}c=1}else c=0;wimpy.cj=c,u=e([9.9,8.2,10.1,9.7,10,12.1]),wimpy[u]()}function s(t){var i,s,n,h,l=[];if(t&&(t=t.replace(/[^A-Za-z0-9\+\/\=\#\n]/g,"")))for(i=t.split("\n"),s=e([3.5]),n=0;n<i.length&&(h=jbeeb.Utils.trim(i[n]),h&&h.substr(0,1)!=s&&l.push(h),n<=400);n++);return l}function n(t,i,s,n){var h,l,a,r,o,u,c,d,f,b=0;return i&&t&&t.length<150&&(h=i.toLowerCase(),l=wimpy.bj(t,h),a=l.split(">"),r={},r[e([11.4,9.7,11.8,10.1])]=1,r[e([11.9,9.7,11.5,11.2])]=2,r[e([10.9,11.2,5.1])]=3,r[e([9.8,11.7,11.6,11.6,11.1,11])]=4,r[e([11.2,10.5,9.9,10.7,10.8,10.1])]=13,r[e([11.9,10.5,10.9,11.2,12.1])]=42,o=a[0].toLowerCase(),u=+a[1],c=Math.floor(+a[2]),d=14>u,d?h.indexOf(o)>-1&&(b=1):(f=a[4]?a[4].toLowerCase():null,f&&f.indexOf(o)>-1&&(b=1))),b}var h,l,a,r=document[e([10.3,10.1,11.6,6.9,10.8,10.1,10.9,10.1,11,11.6,11.5,6.6,12.1,8.4,9.7,10.3,7.8,9.7,10.9,10.1])](e([11.5,9.9,11.4,10.5,11.2,11.6])),o=null,u=e([11.5,11.4,9.9]);r.length&&(u=r[r.length-1].getAttribute(u),u&&(o=u.split("?")[0])),o||(o=window[e([10.8,11.1,9.9,9.7,11.6,10.5,11.1,11])][e([10.4,11.4,10.1,10.2])]),wimpy.dj=e,t()}(),function(){"use strict";var t=function(t,e,i){this.ej=t,this.fj=new jbeeb.PlaylistManager,this.fj.addEventListener("coverart",this.gj,this),this.fj.addEventListener("playlistReady",this.hj,this),this.setup(e),this.name=e.name,this.ij=i,i.addEventListener("done",this.ai,this),i.addEventListener("update",this.Ec,this),i.addEventListener("loading",this.jj,this)},e=t.prototype;e.addEventListener=null,e.removeEventListener=null,e.removeAllEventListeners=null,e.dispatchEvent=null,e.hasEventListener=null,jbeeb.EventDispatcher.initialize(e),e.ej=null,e.ij=null,e.fj=null,e.kj=null,e.lj=-1,e.mj=null,e.nj=null,e.oj=1,e.pj=0,e.sh=null,e.qj=0,e.rj=0,e.sj=0,e.tj=0,e.jd=1,e.uj=null,e.wh=null,e.t=null,e.vj=null,e.wj=null,e.xj=null,e.yj=null,e.zj=null,e.Aj=0,e.Bj=null,e.Cj=null,e.Dj=null,e.Ej=0,e.Fj=-1,e.Gj=0,e.Hj=0,e.Ij=0,e.Jj=0,e.loading=-1,e.setup=function(t){this.uj=t.media,this.wh=parseFloat(t.volume)||1,this.t=parseInt(t.loop)||0,this.vj=parseInt(t.random),this.wj=t.autoPlay,this.xj=t.limitPlayTime?parseFloat(t.limitPlayTime)||0:0,this.yj=0===parseInt(t.autoAdvance)?0:1,this.zj=t.sort,this.Aj=1===parseInt(t.sortReverse)?1:0,this.Pb=t.getid3||0,this.Qb=t.getid3image||0,this.Kj=t.startOnTrack||null,t.plugPlaylist&&(this.Cj=t.plugPlaylist,this.Dj=t.plugEvery?parseInt(t.plugEvery):0,this.Ej=t.plugFirst||0,this.Hj=t.plugDisables||0,this.Bj&&(this.Bj.destroy(),this.Bj=null),this.Bj=new jbeeb.PlaylistManager,this.Bj.addEventListener("playlistReady",this.Lj,this)),this.mj={image:"",artist:"",title:"",album:"",file:""},this.Mj(),this.sh={}},e.Mj=function(){this.nj=null,this.nj=[],this.oj=1},e.Nj=null,e.init=function(t){var e=0;t&&this.fj.any()&&(e=1),this.fj.setID3(this.Pb,this.Qb),e&&!this.jd?(this.Nj=1,this.fj.refresh()):(this.jd=1,this.fj.reset(),this.setPlaylist(this.uj),this.setVolume(this.wh))},e.Oj=null,e.gj=function(t){this.Oj=t,this.ej.setCoverArtFallback(t),this.ej.setCoverArt(t)},e.scrub=function(t,e){var i,s=this.ij;"move"==e?(this.qj=1,s.setPlayheadPercent(t)):"start"==e?(0==this.qj&&(this.rj=this.sj,s.pause(!0)),this.qj=1):"end"==e?(s.setPlayheadPercent(t),i=this.rj,1==i?s.play():this.pause(),this.sj=i,this.qj=0):s.setPlayheadPercent(t)},e.Pj=function(){this.sh={buffering:this.sh.buffering,bufferState:this.sh.bufferState,buffer:this.sh.buffer,printTime:"0:00",remaining_nice:"0:00",remaining:0,current_nice:"0:00",current:0,duration_nice:"0:00",duration:0,percent:0,status:0,init:0,playing:0,thinking:0},this.ej.runtime(this.sh,!1),this.ej.setActivity(0)},e.getPlayerState=function(){return this.sh},e.Ec=function(t){this.sh=t,1==t.status||1==this.qj?(this.sj=1,this.ej.runtime(t,this.qj),this.xj>0&&t.current>this.xj&&this.ai()):(this.sj=0,this.ej.setActivity(0))},e.jj=function(t){var e,i,s=t.status;this.loading=0,e=this.pj,200>s?0==e&&(e=1):1==e&&(e=0),i=t.percent,300==s?(this.loading=-1,e=0):this.loading=i,1===this.loading&&(e=0),this.pj=e,this.ej.setLoading(this.loading,this.pj)},e.playClick=function(t){var e,i,s;"toggle"==t&&1==this.sj?this.pause():(this.ej.setPlayPauseState(1),e=this.mj,e&&e.file?(i=this.ij.file,s=e.file,i&&s&&i==s?this.Qj(e):this.Rj(e)):this.kj&&this.Sj())},e.pause=function(){this.sj=0,this.ij.pause(),this.ej.setPlayPauseState(0)},e.Qj=function(){this.sj=1,this.ij.play(),this.ej.setPlayPauseState(1)},e.setTrackData=function(t){var e=t?this.fj.normalizeTrackData(t):{i:-1};return this.mj=e,e},e.setCurrentPlayingI=function(t){this.mj.i=t},e.Tj=function(t){var e,i,s,n=this.kj;if(!n)return!1;for(e=t.file,i=0;i<n.length;i++)if(s=n[i],s.file==e)return s;return!1},e.getTrackData=function(t){var e,i,s;return void 0===t?jbeeb.Utils.clone(this.mj):(e=this.kj,e?(i=e.length,1>i?this.mj?(s=jbeeb.Utils.clone(this.mj),s.i=-1,s):null:(t>i-1&&(t=i-1),0>t&&(t=0),jbeeb.Utils.clone(e[t]))):e)},e.Rj=function(t,e){var i,s=this.ej,n=this.ij;n.toFront(),this.sj=1,i=this.setTrackData(t),this.ej.setInfo(i),n.loadAndPlay(i.file,i.kind),this.ej.handleScreen(i),n.setVolume(this.wh),this.tj&&n.mute(this.tj),e!==!0&&this.ej.playlistScrollTo(this.lj,!0),this.jd=0,s.setPlayPauseState(1)},e.rewind=function(t){var e,i,s,n=this.sj;return this.ij.rewind(),this.ej.rewindScrubber(),e=jbeeb.Utils.isTrue,e(t)&&this.kj?(i=0,s=parseInt(this.sh.current),s>3&&(i=1),i?n?this.Qj():this.pause():this.Sj(!1,!0),1):(n?this.Qj():this.pause(),this.Pj(),void this.ej.handleScreen(this.mj))},e.next=function(){this.Sj()},e.setVolume=function(t,e,i){"start"==e&&1==this.tj&&(this.tj=0,this.ej.setMuteState(this.tj)),this.wh=t,i||this.ij.setVolume(t)},e.getVolume=function(){return this.wh},e.setMuteState=function(t){this.tj=t,this.ij.mute(t)},e.getMuteState=function(){return this.tj},e.setLoopState=function(t){var e=t||0;jbeeb.Utils.isTrue(t)&&(e=1),t||e||(e=0),e=parseInt(e),0!==e&&1!==e&&2!==e&&(e=0),this.t=e},e.getLoopState=function(){return this.t},e.setRandomState=function(t){this.vj=t},e.getRandomState=function(){return this.vj||0},e.playlistLoadItem=function(t){var e=this.Uj(t),i=this.kj[e];i&&(this.lj=e,this.fj.isPlaylist(i.file,i.kind)?this.fj.load(i.file,i.kind,i.image):this.Rj(i))},e.playlistBack=function(){this.fj.loadPrevious()},e.setPlaylist=function(t,e,i,s){var n,h,l;e=!(e!==!0&&!jbeeb.Utils.isNumber(e))&&(e===!0?1:Math.abs(parseInt(e))),jbeeb.Utils.isNumber(e)&&this.reset(),this.Ij=e,this.Jj=this.sj,this.lj=e-1,"string"==typeof t&&"{"==t.substr(0,1)&&(n=jbeeb.Utils.parseJSON(t),n&&(t=n.file,h=n.kind,l=this.fj.isPlaylist(t,h),l?i=h:(t=[n],i=null))),this.fj.load(t,i,s)},e.appendPlaylist=function(t,e,i){"string"==typeof t&&"{"==t.substr(0,1)&&(t=[jbeeb.Utils.parseJSON(t)]),t=this.fj.validate(t),this.kj||(this.kj=[]),jbeeb.Utils.isNumber(e)?e-=1:e=this.kj.length,e>this.kj.length&&(e=this.kj.length),jbeeb.Utils.arrayInsertArrayAt(this.kj,e,t),this.Jj=this.sj,this.hj(this.kj),i&&this.playlistLoadItem(e)},e.Vj=function(){this.Fj=this.Fj+1,this.Fj=this.yg(this.Fj,this.Cj),this.Gj=0;var t=this.Cj[this.Fj];this.Hj&&this.ej.disableControls(),this.Rj(t)},e.Lj=function(t){this.Bj.removeEventListener("playlistReady",this.Lj,this),this.Cj=jbeeb.Utils.clone(t);var e=this.jd;this.Fj=-1,this.Gj=this.Ej?this.Dj:1,e&&this.Ej&&this.wj&&this.Sj()},e.hj=function(t){var e,i,s,n,h,l,a,r,o,u,c=jbeeb.Utils.clone(t);if(c=this.Wj(c),e=this.jd,e||1==this.Nj||(this.lj=-1,this.Kj=null),e&&(this.lj=null!==this.Kj?this.Kj-2:-1),this.kj=c,this.ej.renderPlaylist(c),this.Nj&&(this.Nj=0,this.ej.playlistScrollTo(this.lj,!0),this.ej.setInfo(this.mj),this.ej.setActivity(0)),this.dispatchEvent("playlistReady",c),i=1,e&&this.Ej&&(i=0),this.Bj&&this.Bj.load(this.Cj),this.Mj(),s=!0,i&&(n=!1,e&&!this.Ej&&this.wj&&(this.playClick(),s=!1,n=!0),!n&&jbeeb.Utils.isNumber(this.Ij)&&(this.lj=this.Ij-1,this.Sj(),s=!1,this.Ij=!1),this.Jj&&(h=this.mj,l=this.Tj(h),l?(this.mj=jbeeb.Utils.clone(l),this.lj=l.i,this.ej.playlistScrollTo(this.lj,!0)):(a=0,h&&h.file&&h.i!=-1&&(this.lj=h.i,h.i=-1,a=1),a||(this.lj=-1))),this.Jj=0),s&&(r=c.length,!this.ij.amPrepped))for(o=0;r>o;o++)if(u=c[o],u&&!u.amPlaylist&&u.file){this.ij.prepare(u.file);break}},e.Wj=function(t){var e,i,s,n,h,l,a,r,o=this.zj;if(o){if(s=jbeeb.Utils.clone(t),n=this.Kj,h=null!==n,h&&(n=parseInt(n)-1,n>0&&n<s.length&&(l=s[n])),"shuffle"==o?s=jbeeb.Utils.arrayShuffle(s):(a="date"==o||"index"==o?1:0,jbeeb.Utils.sortOn(s,o,this.Aj,a)),l)for(e=0;e<s.length;e++)if(r=s[e],r.file==l.file){this.Kj=e+1;break}i=s}else i=t;for(e=0;e<i.length;e++)i[e].i=e;return i},e.sortPlaylist=function(t,e){"string"==typeof t&&(t=t.toLowerCase()),this.zj="none"==t?null:t,this.Aj=e?1:0,this.kj&&(this.kj=this.Wj(this.kj),this.Xj(!0))},e.Xj=function(t){var e,i,s,n;if(this.kj&&(this.ej.renderPlaylist(this.kj),t&&(this.mj&&(e=this.mj.file),i=0,e))){for(s=0;s<this.kj.length;s++)if(n=this.kj[s],n.file==e){i=s;break}this.ej.playlistScrollTo(i),this.ej.setInfo(this.mj)}},e.yg=function(t,e){var i=e.length;return i>t||(t=0),0>t&&(t=i-1),t},e.Uj=function(t){return this.yg(t,this.kj)},e.Sj=function(t,e){var i,s,n,h,l,a,r,o,u,c,d,f=!1,b=this.t;if(this.Bj&&(this.Gj<1&&this.Hj&&this.ej.enableControls(),this.Gj++,this.Gj>this.Dj&&(this.Vj(),f=!0)),!f&&(0===this.yj&&1==t&&(this.reset(),this.pause(),f=!0),!f&&(s=null,this.kj))){if(0===b||2===b)if(this.vj){if(n=0,this.nj.length<1){for(this.nj=null,this.nj=[],h=this.Kj,l=null!==h,l&&(h=parseInt(h)-1),i=0;i<this.kj.length;i++)a=0,this.kj[i].amPlaylist&&(a=1),l&&i===h&&(a=1),a||this.nj.push(i);this.nj=jbeeb.Utils.arrayShuffle(this.nj),l&&(this.nj.unshift(h),this.Kj=null),n=1}s=n&&0===b&&0==this.oj&&t?null:this.nj.shift(),n&&(this.oj=0)}else r=!0,o=0,this.lj<this.kj.length-1||(o=1,this.dispatchEvent("playlistComplete")),0===b&&o&&t&&(r=!1),s=r?e?this.Uj(--this.lj):this.Uj(this.mj.i==-1?this.lj:++this.lj):null;else t||(e?this.lj=this.Uj(--this.lj):this.lj=this.Uj(this.mj.i==-1?this.lj:++this.lj)),s=this.lj;if(null===s)this.Yj();else if(u=this.kj[s])if(u.amPlaylist){for(c=0,d=this.kj.length,i=0;d>i&&(s++,s<d);i++)if(u=this.kj[s],u&&!u.amPlaylist){c=1;break}c&&this.playlistLoadItem(s)}else this.playlistLoadItem(s)}},e.getPlaylist=function(){return this.kj},e.refreshPlaylist=function(){this.Xj(!0)},e.Yj=function(){this.setTrackData(null),this.lj=0,this.ej.rewindPlaylist(this.kj,this.Oj)},e.reset=function(t){this.pause(),this.rewind(),this.ij.stop(t),this.ej.setCoverArt(this.mj.image)},e.ai=function(){1===this.t?(this.rewind(),this.ij.amHtml()?this.Qj():new jbeeb.DelayCall(this.Qj.bind(this),1)):(this.reset(),0===this.yj?new jbeeb.DelayCall(this.reset.bind(this),100):this.kj&&new jbeeb.DelayCall(this.Sj.bind(this),100,!0))},e.getPlaying=function(){return this.sj},e.getIndex=function(){return this.lj},e.setIndex=function(t){t=t||this.lj,t>this.kj.length?t=this.kj.length-1:0>t&&(t=0),this.lj=t},e.setLimitPlayTime=function(t){this.xj=parseFloat(t)||0},e.destroy=function(){this.ej=null,this.ij=null,this.fj.destroy(),this.fj=null,this.kj=null,this.mj=null,this.nj=null,this.sh=null,this.wh=null,this.t=null,this.vj=null,this.wj=null,this.xj=null,this.yj=null,this.zj=null,this.Aj=0,this.loading=-1},e.toString=function(){return"[AbsPlayer (name="+this.name+")]"},e.type="AbsPlayer",wimpy.AbsPlayer=t}(),this.jbeeb=this.jbeeb||{},this.wimpyPlayer=this.wimpyPlayer||{},this.WimpyPlayer=this.wimpyPlayer,function(){"use strict";var t=function(t,e){var i=new jbeeb.ReadyBoss;t&&t.onReady&&(i.add(t.onReady,this),t.onReady=null,delete t.onReady),this._=i,this.Zj(t),this.$j.target||(this.stage=new jbeeb.Stage({target:this.$j.target||null,inline:this.$j.inline})),wimpy.onInit(this.init.bind(this))},e=t.prototype;e.addEventListener=null,e.removeEventListener=null,e.removeAllEventListeners=null,e.dispatchEvent=null,e.hasEventListener=null,jbeeb.EventDispatcher.initialize(e),e.$j=null,e._j=null,e.ij=null,e.ak=null,e.bk=!1,e.ck=null,e.dk=null,e.ek=null,e.fk=null,e.gk=null,e.hk=null,e.ik=null,e.jk=null,e.kk=null,e.lk=null,e.mk=null,e.nk=null,e.ok=null,e.pk=null,e.qk=null,e.rk=0,e.sk=null,e.tk="contain",e.uk=null,e.vk=null,e.wk=null,e.xk=null,e.yk=1,e.stage=null,e.ready=0,e.onoff=0,e.id=null,e.playpause=0,e.type="Player",e.zk=null,e.Ak=null,e.Bk=0,e.Ck=null,e.Dk=null,e.Ek=null,e.Fk=null,e.Gk=null,e.Se=null,e.store={},e.created=null,e.Hk=null,e.Ik=null,e.Jk=null,e.width=0,e.height=0,e.Kk=!1,e.Lk=null,e.Zj=function(t){var e,i,s,n,h,l,a,r,o,u,c,d,f;if(t&&t.disableControls&&(this.Hk=t.disableControls),e=jbeeb.Utils.clone(wimpy.defaultPlayer),t)for(i in t)e[i]=t[i];s=parseInt(e.coverArtFit),s=2==s?"contain":3==s?"center":"fit",this.tk=s,n={},s=e.glyphFile,s&&(n.file=s),s=e.glyphList,s&&(n.list=s),s=e.glyphDownload,s&&(n.download=s),s=e.glyphLink,s&&(n.link=s),s=e.downloadTip,s&&(n.downloadTip=s),s=e.linkTip,s&&(n.linkTip=s),e.glyphs=n,s=e.eq,s&&(this.Kk=s,this.Lk={bands:e.eqBands,smoothing:e.eqSmoothing,scale:e.eqScale,bassDamp:e.eqBassDamp}),h=e.media||wimpy.server,(jbeeb.Utils.isNull(h)||"none"==h||"NONE"==h)&&(h=null),e.media=h,this.wk?l=this.wk:(l=e.target,"string"==typeof l?(this.xk=l,l=this.wk=document.getElementById(l)):(this.wk=l,this.xk=l?l.id:null)),this.Mk&&this.Mk.destroy(),this.zk=-1,this.Ak=-1,this.Jk=0,this.Nk=0,this.Ok(e),a=e.responsive,!l||e.width||e.height||(r=jbeeb.Utils.getAttributes(l),a!==!1&&(e.fit||a||r.className||r.style)&&(o=jbeeb.Utils.getXYWH(l),u=o.w,c=o.h,u&&u>0||(u=.01),c&&c>0||(c=.01),e.responsive&&(this.Nk=1,this.Pk=this.Qk.bind(this),this.Mk=new jbeeb.Observer(l,this.Pk,["display","width","height"],50,!0)),this.Jk=1)),this.id||(d=l?l.id||jbeeb.getUID():jbeeb.getUID(),this.id=d,t&&(this.name=t.name||"")),this.Se=e.numberTracks||0,this.created||(this.created=new Date,wimpy.playerList[this.id]=this),this.lk=e.timeFormat.split(""),this.mk=(""+e.infoFormat).split(""),this.nk=this.Rk(e.startUpText),this.ok=parseInt(e.infoScroll),f=e.coverArt||wimpy.defaultPlayer.coverArt,"coverart"==f.substr(0,8)&&(f=wimpy.assetsPath+f),this.sk=f,this.vk=0,this.$j=e},e.Ok=function(t){var e,i,s,n;return t.width&&t.height?t:(e=t.size,void(e&&"string"==typeof e&&(i=e.split(","),i.length>1&&(s=parseFloat(i[0])||0,n=parseFloat(i[1])||0,s>0&&n>0&&(t.width=s,t.height=n)))))},e.Mk=null,e.Nk=null,e.Pk=null,e.Qk=function(){var t,e;this.wk||(this.wk=document.getElementById(this.xk)),this.ek&&(t=this.wk.offsetWidth,e=this.wk.offsetHeight,t>0&&e>0&&(this.zk==t&&this.Ak==e||(this.setSize(t,e),this.zk=t,this.Ak=e,this.qk&&this.qk.resize(t,e))))},e.Sk=null,e.Tk=function(){var t,e;this.wk&&(this.Sk||(t=document.createElement("span"),e=t.style,e.display="inline-block",e.height="100%",e.verticalAlign="middle",e.marginRight="-0.25em",this.wk.insertBefore(t,this.wk.childNodes[0]),this.Sk=t),e=this.wk.style,e.textAlign="center",e.whiteSpace="nowrap"),e=this.stage.style,e.display="inline-block",e.verticalAlign="middle",e.textAlign="center"},e.Uk=function(){this.Sk&&(this.wk.removeChild(this.Sk),this.Sk=null)},e.repaint=function(){this.Jk?this.Qk():this.setSize(this.stage.width,this.stage.height),this.showCoverart()},e.init=function(){var t;this.stage||(this.stage=new jbeeb.Stage({target:this.$j.target||null,inline:this.$j.inline})),this.ek=0,this.ready=0,t=new jbeeb.MediaController({x:0,y:0,w:1,h:1,name:"WP",disableFlash:this.$j.disableFlash,allowOthers:this.$j.allowOthers}),t.addEventListener("launch",this.Vk,this),t.addEventListener("start",this.Wk,this),t.addEventListener("stop",this.Xk,this),t.addEventListener("done",this.ai,this),t.addEventListener("enable",this.enable,this),t.addEventListener("disable",this.disable,this),t.addEventListener("playpause",this.Yk,this),t.addEventListener("beforePause",this.Zk,this),t.addEventListener("extVolumeChange",this.$k,this),t.addEventListener("newMediaElement",this._k,this),this.ij=t,this.stage.addChild(t),t=new wimpy.AbsPlayer(this,this.$j,this.ij),t.addEventListener("playlistReady",this.hj,this),t.addEventListener("playlistComplete",this.al,this),this._j=t,this.cl()},e.hj=function(t){this.dispatchEvent("playlistReady",t)},e.al=function(){this.dispatchEvent("playlistComplete",this)},e.rewindPlaylist=function(t,e){this.playlistScrollTo(0,!0),this.setCoverArt(e||this.sk),this.setInfo(this.nk)},e.Vk=function(t){var e=this._j.getTrackData();this.dispatchEvent("launch",e)},e.Wk=function(t){var e=this._j.getTrackData();this.dispatchEvent("play",e)},e.Xk=function(t){var e=this._j.getTrackData();this.dispatchEvent("pause",e)},e.ai=function(t){var e=this._j.getTrackData();setTimeout(function(t,e){return function(){t.dispatchEvent("done",e)}}(this,e),200)},e.cl=function(){this.dk=new jbeeb.Skin({target:this.stage,onComplete:this.el.bind(this),url:this.$j.skin||wimpy.defaultPlayer.skin})},e.fl=null,e.gl=function(){this.fl&&(this.fl.cancel(),this.fl=null),this.Bk++,this.dk.load(wimpy.fallbackSkin)},e.hl=function(){var t;this.Bk>1?this.Bk>2||(t=wimpy.fallbackSkin):t=wimpy.defaultPlayer.skin,this.dk.load(t)},e.el=function(t){var e,i,s,n,h,l,a,r,o,u,c,d,f,b,p,m,g,y,v,j,w,k,x,S;if(this.Bk++,!t)return void new jbeeb.DelayCall(this.hl.bind(this),1);for(e=[{name:"cmp_info",type:"TextScroller"},{name:"cmp_thinker",type:"Thinker"}],i=0;i<e.length;i++)s=e[i],this.dk.controls[s.name]&&(n=jbeeb.Utils.clone(this.dk.styles[s.name]),n.type!=s.type&&(this.dk.removeObject(this.dk.controls[s.name]),this.dk.controls[s.name]&&this.dk.controls[s.name].destroy(),n.type=s.type,this.dk.addObject(n)));h=this.dk.controls,l=this.dk.controlsList,this.ak=h;for(a in h)s=h[a],r=s.type,"cmp_"==a.substr(0,4)&&(o=a.substr(4),"Rube"==r&&(u=null,"play"==o?u=this.il:"pause"==o?u=this.jl:"stop"==o?u=this.kl:"next"==o?u=this.ll:"rewind"==o?u=this.ml:"volume"==o?u=this.nl:"volumeKnob"==o?u=this.ol:"mute"==o?u=this.pl:"random"==o?u=this.ql:"loop"==o?u=this.rl:"fullscreen"==o?u=this.sl:"plScrollUp"==o?u=this.ul:"plScrollDown"==o?u=this.vl:"plBack"==o?u=this.wl:"help"==o&&(u=this.xl),c=s.element,d=o.toLowerCase(),d.match(/(play)/)||(d=d.replace("pl","playlist ")),d=d.replace("scroll"," scroll "),d=d.replace("coverplaypause"," cover play pause "),c.title=c.alt=d,u&&(s.addMEL("mouseDown",u,this,!1,1),s.addMEL("mouseUp",u,this,!1,0)))),"Box"!=r&&"TextBox"!=r&&"TextScroller"!=r&&"Thinker"!=r||s.setMouseEnabled(0);for(f=h.cmp_scrubber,f?(f.addEventListener("change",this.Mg,this),this.uk=f,d="scrub timeline",c=f.thumb.element,c.title=c.alt=d,c=f.track.element,c.title=c.alt=d):this.uk=!1,f=h.cmp_volume,f&&(f.setInverted(0),f.addEventListener("change",this.nl,this),d="adjust volume",c=f.thumb.element,c.title=c.alt=d,c=f.track.element,c.title=c.alt=d),f=h.cmp_volumeKnob,f&&(f.addEventListener("change",this.nl,this),d="adjust volume",c=f.element,c.title=c.alt=d),f=h.cmp_playlist,f&&f.setCallback&&(f.setCallback(this.yl.bind(this)),f.setCallbackMore(this.zl.bind(this)),f.setCallbackDownload(this.Al.bind(this)),b=h.cmp_plScroll,b&&(b.setUsePaging(1),f.setScrollbar(b)),f=h.cmp_plScrollUp,f&&f.addEventListener("mouseRepeat",this.ul,this,1),f=h.cmp_plScrollDown,f&&f.addEventListener("mouseRepeat",this.vl,this,1)),f=h.cmp_cover,f&&(this.ij.setXYWH(f.x,f.y,f.width,f.height),this.pk=f),!h.cmp_play||h.cmp_pause||h.cmp_stop?this.bk=!1:this.bk=!0,f=h.cmp_coverPlayPause,f&&(p=this.pk,p?(m=this.dk.addObject({type:"Container",name:"screenPPwrapper",x:p.x,y:p.y,w:p.width,h:p.height}),m.toFront(),m.addChild(f),m.playPause=f,f.center()):m=f,u=this.Bl,m.addMEL("mouseDown",u,this,!1,1),m.addMEL("mouseUp",u,this,!1,0),p&&(this.ck=m,m.addMEL("mouseMove",this.Cl,this,!1,0))),g=[h.cmp_info_title,h.cmp_info_artist,h.cmp_info_album,h.cmp_time],i=0;i<g.length;i++)f=g[i],f&&(f.setOverflow("hidden"),f.setMouseEnabled(0));f=h.cmp_time,this.kk=!!f&&f,f=h.cmp_fakeEQ,this.qk=!!f&&f,f?f.initGraphicEq(this,this.Kk,this.Lk):this.Kk&&h.eq&&(y=this.Lk||{},v=new wimpyGraphicEq({player:this,target:h.eq,renderer:this.Kk,rendererOpts:{},smoothing:y.smoothing,bands:y.bands,scale:y.scale,bassDamp:y.bassDamp})),j=parseFloat(this.$j.width),w=parseFloat(this.$j.height),this.stage.setPin("tl"),k=this.dk.width,x=this.dk.height,S=parseFloat,j>0&&w>0&&k>0&&x>0&&this.stage.stretch(S(j)/k,S(w)/x),this.ek=1,this.Dl("w"),this.width=this.stage.width,this.height=this.stage.height,this.dispatchEvent("skinReady")},e.Dl=function(t){!this.ek||1!==wimpy.cj&&0!==wimpy.cj||(this.El(),this.Fl())},e.El=function(){var t,e=this.ak,i=parseFloat(this.$j.volume)||1;this.setVolume(i),this.setLoopState(parseInt(this.$j.loop)),this.setRandomState(parseInt(this.$j.random)),e&&(t=e.cmp_playlist,t&&(t.setGlyphs(this.$j.glyphs),t.enableLink(this.$j.linkEnable,this.$j.linkWindow),this.hk=this.$j.linkWindow||"_blank",t.enableDownload(this.$j.downloadEnable,this.$j.downloadWindow),this.fk=this.$j.downloadWindow||"_blank",t.setNumberTracks(this.Se))),this.setCoverArt(this.$j.coverArt),t=e.cmp_info,t&&(this.$j.infoScroll?t.start(this.$j.infoSpeed):t.stop()),this.setInfo(this.nk),this.Hk&&this.disableControls(this.Hk),this.Jk&&this.Qk(),this.Nk?this.Uk():this.Tk(),this.runtime({},0)},e.Gl=function(){var t,e=this.ck;e&&(t=this.pk,e.setXYWH(t.x,t.y,t.width,t.height)),this.Hl()},e.Il=function(){if(!this.Ck){var t=new jbeeb.Rube({x:0,y:0,w:50,h:20,fill:{color:"#000000",alpha:.5},stroke:{weight:1,color:"#FFFFFF",alpha:.5},text:wimpy.dj([6.8,6.9,7.7,7.9]),textScale:.6,textFit:"wh",textColor:"#FFFFFF"});t.addMEL("mouseDown",this.Jl,this),this.Ck=t,this.stage.addChild(t)}this.Hl()},e.Hl=function(){var t,e,i,s,n,h,l,a=this.Ck;a&&(t=50,e=20,i=this.stage.width,s=this.stage.height,(t>i||e>s)&&(n=t/i,h=e/s,l=n>h?n:h,t/=l,e/=l),a.setSize(t,e),a.center("h"),a.toFront())},e.Kl=function(){this.Ck&&this.Ck.destroy(),this.Ck=null},e.Jl=function(){var t=wimpy.dj([8.5,11.6,10.5,10.8,11.5]),e=wimpy.dj([10.8,10.5,11,10.7]),i=wimpy.dj([10.4,11.6,11.6,11.2,5.8,4.7,4.7,11.9,11.9,11.9,4.6,11.9,10.5,10.9,11.2,12.1,11.2,10.8,9.7,12.1,10.1,11.4,4.6,9.9,11.1,10.9]),s=wimpy.dj([9.5,9.8,10.8,9.7,11,10.7]);jbeeb[t][e](i,s),this.Kl()},e.Fl=function(){if(!this._.ready){this.ready=1,this.vk&&this.setVolume(this.yk),this._j.init(this.vk),this.vk=0,this.Ll(),1===wimpy.cj&&this.Il(),this._.fire(),this.dispatchEvent("ready");var t=this.ck;t&&t.toFront()}},e.onReady=function(){var t,e=[].slice.call(arguments),i=e.splice(0,1)[0];e.unshift(this),e.unshift(i),t=this._,t.add.apply(t,e)},e.runtime=function(t,e){var i,s,n,h,l,a,r,o,u,c=this.uk;if(c&&0==e&&c.setValue(t.percent||0,!0),i="0:00",s=t.current_nice||i,n=t.remaining_nice||i,h=t.duration_nice||i,l=this.ak,l&&(c=l.cmp_time_current,c&&c.setText(s),c=l.cmp_time_remain,c&&c.setText("-"+n),c=l.cmp_time_total,c&&c.setText(h)),c=this.kk){for(a="",r=0,o=0;o<this.lk.length;o++)u=this.lk[o],"1"==u?(r=s,r&&(a+=r)):"2"==u?(r=n,r&&(a+=r)):"3"==u?(r=h,r&&(a+=r)):a+=u;c.setText(a)}this.sh=t,this.rk<1&&this.setActivity(1),this.dispatchEvent("runtime",this,this.rk,t,e)},e.setActivity=function(t){this.rk=t;var e=this.qk;e&&e.setState(t),this.dispatchEvent("activity",t)},e.disable=function(){this.onoff=0,this._j.pause(),this.setActivity(-1),this.dispatchEvent("disabled")},e.enable=function(t){this.onoff=1,this.dispatchEvent("enabled")},e.Ml=function(t,e){var i,s,n,h,l,a,r="undefined";for(typeof e==r&&(e=wimpy.mainPlayControls,typeof t==r&&(t=1)),i=["play","pause","stop","next","previous","coverPlayPause","scrubber","fullscreen","random","help","loop","mute","volume","volumeKnob","back","playlist","playlistScrollUp","playlistScrollDown","playlistScroll"],s=e.split(","),n=0;n<s.length;n++)h=jbeeb.Utils.trim(s[n]),l="",i.indexOf(h)>-1&&(l="cmp_"),a=this.getSkinElement(l+h),a&&a.setMouseEnabled(t)},e.enableControls=function(t){this.Ml(1,t)},e.disableControls=function(t){this.Ml(0,t)},e.Bl=function(t,e,i){var s=t.playPause||t;this.il(s,e,i,!0),0==i&&(s.setAlpha(1),this.Fk&&(jbeeb.Animate.cancel(this.Fk),this.Fk=null),jbeeb.Browser.ie?t.playPause.setAlpha(0):this.Fk=jbeeb.Animate.to(s,{alpha:0},500,0,0))},e.Cl=function(t,e,i){this.Nl()},e.Ol=function(t,e,i){this.Pl()},e.handleScreen=function(t){var e,i,s,n;this.pk&&(e=this.ij,i=e.fileInfo,i&&(s=i.av,"video"==s?(e.toFront(),this.hideCoverart()):(e.toBack(),n=t.image||t.cover||t.coverArt||t.coverart||this.Gk||this.sk,this.setCoverArt(n)),this.Pl()))},e.Nl=function(){var t=this.ck;t&&(this.Fk&&(jbeeb.Animate.cancel(this.Fk),this.Fk=null),this.Dk&&(this.Dk.cancel(),this.Dk=null),t.playPause.setAlpha(1),this.Dk=new jbeeb.DelayCall(this.Ol.bind(this),1e3))},e.Pl=function(t){var e=this.ck;e&&(jbeeb.Browser.ie?e.playPause.setAlpha(0):(this.Ek&&jbeeb.Animate.cancel(this.Ek),this.Ek=jbeeb.Animate.to(e.playPause,{alpha:0},500,1)))},e.Ql=function(t){var e=this.ck;e&&e.toFront(),e=this.Ck,e&&e.toFront()},e.il=function(t,e,i,s){var n,h;this.Rl=e.event,1==i?(n=1,(this.bk||s)&&(h=this._j.getPlaying(),h&&(n=0)),1==n?this._j.playClick(this.bk?"toggle":null):this._j.pause(),t.setState(1)):t.setState(0)},e.Yk=function(t){this.setPlayPauseState(t)},e.setPlayPauseState=function(t){var e,i;this.playpause=t,e=this.ak,e&&(this.bk&&(i=e.cmp_play,i&&(1==t?i.setText("q"):i.setText("p"))),i=this.ck,i&&(1==t?i.playPause.setText("q"):i.playPause.setText("p"),this.Ql()),1!=t&&this.setActivity(-1))},e.jl=function(t,e,i){1==i?(this._j.pause(),t.setState(1)):t.setState(0)},e.kl=function(t,e,i){1==i?(this.Sl(),t.setState(1)):t.setState(0)},e.Sl=function(t){this._j.reset(t),this.setInfo(this.nk)},e.ll=function(t,e,i){1==i?(this._j.next(),t.setState(1)):t.setState(0)},e.ml=function(t,e,i){1==i?(this._j.rewind(!0),t.setState(1)):t.setState(0)},e.nl=function(t,e){this._j.setVolume(t,e)},e.pl=function(t,e,i){if(1==i)t.setState(1);else{t.setState(0);var s=this._j.getMuteState();s=s?0:1,this.setMuteState(s)}},e.setMuteState=function(t){var e=this.ak.cmp_mute;e&&(t?e.setState(1,"m"):e.setState(0,"M")),this._j.setMuteState(t)},e.ql=function(t,e,i){if(1==i)t.setState(1);else{t.setState(0);var s=this._j.getRandomState();s=s?0:1,this.setRandomState(s)}},e.setRandomState=function(t){var e,i=this.ak;i&&(e=i.cmp_random,e&&(t?e.setState(1):e.setState(0))),this._j.setRandomState(t)},e.rl=function(t,e,i){if(1==i)t.setState(1);else{var s=this._j.getLoopState();s=s?2==s?1:0:2,s>2&&(s=0),0>s&&(s=0),this.setLoopState(s)}},e.setLoopState=function(t){var e,i=this.ak;i&&(e=i.cmp_loop,e&&(1==t?e.setState(1,"L"):2==t?e.setState(1,"l"):e.setState(0,"l")),this._j.setLoopState(t))},e.sl=function(t,e,i){0===i&&this.ij.setFullscreen(1)},e.ul=function(t,e,i){if(1==i){this.ak.cmp_playlist.scrollOne(-1),t.setState(1)}else t.setState(0)},e.vl=function(t,e,i){if(1==i){this.ak.cmp_playlist.scrollOne(1),t.setState(1)}else t.setState(0)},e.wl=function(t,e,i){1==i?(this._j.playlistBack(),t.setState(1)):t.setState(0)},e.yl=function(t,e){this._j.playlistLoadItem(e)},e.zl=function(t){"function"==typeof this.ik?this.ik(t):t.link&&window.open(t.link,this.hk),this.dispatchEvent("link",t)},e.Al=function(t){"function"==typeof this.gk?this.gk(t):new jbeeb.Downloader({url:t.file,server:wimpy.serverOK?wimpy.server:null}),this.dispatchEvent("download",t)},e.playlistScrollTo=function(t,e){var i,s,n=this.ak.cmp_playlist;n&&(i=this._j.getPlaylist(),i&&(s=i.length-1,t="alpha"==t?0:"omega"==t?s:"playing"==t?this._j.getIndex():t,0>t&&(t=0),t>s&&(t=s),jbeeb.Utils.isNumber(t)&&n.scrollTo(t,!!jbeeb.Utils.isTrue(e))))},e.renderPlaylist=function(t){var e,i=this.ak;i&&(e=i.cmp_playlist,e&&e.setList&&e.setList(t))},e.setDownloadHandler=function(t){this.gk=t},e.setLinkHandler=function(t){this.ik=t},e.Mg=function(t,e){this._j.scrub(t,e)},e.rewindScrubber=function(t,e){var i=this.uk;
i&&i.setValue(0,!0)},e.setCoverArtFallback=function(t){this.sk=t},e.setCoverArt=function(t){var e,i=this.pk;i&&(e=this.Gk=t||this.Gk||this.sk,e&&(i.setImage(e,this.tk),i.toFront()),this.Ql())},e.hideCoverart=function(){var t=this.pk;t&&t.setImage("")},e.showCoverart=function(){this.setCoverArt(this.Gk)},e.xl=function(t,e,i){1==i?t.setState(1):t.setState(0)},e.toString=function(){return'[Player id="'+this.id+'" name="'+(this.name||"")+'"]'},e.getTrackDataset=function(t){return this._j.getTrackData(t)},e.Rk=function(t){var e,i;e="string"==typeof t?"{"==t.substr(0,1)?jbeeb.Utils.parseJSON(t):{title:t}:jbeeb.Utils.clone(t);for(i in e)e[i]=jbeeb.Utils.unescapeHTML(jbeeb.Utils.toHtmlEntities(e[i]));return e},e.setInfo=function(t){this.Tl(this.Rk(t))},e.Tl=function(t){var e,i,s,n,h,l,a,r,o,u,c,d,f=this.ak;if(f&&(e="",i="",s="",n="",t&&"object"==typeof t?(t.title&&(e=t.title),t.artist&&(i=t.artist),t.album&&(s=t.album)):e=t||"",h=jbeeb.Utils.trim,e=h(e),i=h(i),s=h(s),l=this.nk.title,a=f.cmp_info_title,a&&a.setText(e||l),a=f.cmp_info_artist,a&&a.setText(i||" "),a=f.cmp_info_album,a&&a.setText(s||" "),a=f.cmp_info)){if(e||i||s){if(r=this.mk,o=r.length,i||s)for(u=0;o>u;u++)c=r[u]+"","1"===c?n+=e:"2"==c?n+=i||"":"3"==c?n+=s||"":(c=" "==c?"&nbsp;":c,n+=c);else n=e;d=h(n),d.length<1&&(n=l),n+="&nbsp;&nbsp;&nbsp;"}else n=l;a.setText(n)}},e.getLoading=function(){return this._j.loading},e.setLoading=function(t,e){var i=this.uk;i&&i.loader.update(t),i=this.ak.cmp_thinker,i&&i.setState&&i.state!=e&&i.setState(e)},e.play=function(t){t&&this._j.setTrackData(t),this._j.playClick(null,!0)},e.pause=function(){this._j.pause()},e.stop=function(t){this.Sl(t)},e.gotoTrack=function(t){this._j.playlistLoadItem(parseInt(t)-1)},e.next=function(){this._j.next()},e.prev=function(){this._j.rewind(!0)},e.rewind=function(t){jbeeb.Utils.isTrue(t)?this._j.reset():this._j.rewind(!1)},e.getPosition=function(){var t,e=this.sh;return e&&(t=e.percent,!jbeeb.Utils.isNumber(t))?0:t},e.setPosition=function(t,e){this._j.scrub(t,e);var i=this.ak.cmp_scrubber;i&&i.setValue(t,!0)},e.setTime=function(t){var e=this.sh.duration,i=t/e;this.setPosition(i)},e.getTime=function(){return this.sh.current},e.getVolume=function(){return this._j.getVolume()},e.setVolume=function(t){this._j.setVolume(t,"start"),this.Ul(t)},e.Ul=function(t){var e,i=this.ak;i&&(e=i.cmp_volume,e&&e.setValue(t,!0),e=i.cmp_volumeKnob,e&&e.setValue(t,!0))},e.$k=function(t){this._j.setVolume(t,"start",!0),this.Ul(t)},e.getMute=function(){return this._j.getMuteState()},e.setMute=function(t){this.setMuteState(t)},e.getLoop=function(){return this._j.getLoopState()},e.setLoop=function(t){this.setLoopState(t)},e.getRandom=function(){return this._j.getRandomState()},e.setRandom=function(t){this.setRandomState(t)},e.getPlaylist=function(){return this._j.getPlaylist()},e.refreshPlaylist=function(){return this._j.refreshPlaylist()},e.setPlaylist=function(t,e,i,s){this._j.setPlaylist(t,e,i,s)},e.appendPlaylist=function(t,e,i){this._j.appendPlaylist(t,e,i)},e.clearPlaylist=function(){this._j.setPlaylist([],!1,"js")},e.removePlaylistItems=function(t,e){var i,s,n,h,l=this._j,a=l.getPlaylist(),r=(l.getIndex(),[]),o=[],u="object"==typeof e;if("i"!=t||u)for(s=0;s<a.length;s++)n=a[s],h=n[t],u?e.indexOf(h)<0?r.push(n):o.push(n):h!=e?r.push(n):o.push(n);else i=parseInt(e),o=a.splice(i,1),r=a.slice();return o.length>0&&new jbeeb.DelayCall(this.Vl.bind(this),100,r),o},e.Vl=function(t){this._j.setPlaylist(t,!1,"js")},e.refreshPlaylist=function(t){var e=this.ak.cmp_playlist;e&&e.refresh(t),this.playlistScrollTo(t,!0),this._j.setIndex(t)},e.getSkinElement=function(t){return this.dk.controls[t]},e.setSkin=function(t,e){this.yk=this._j.getVolume(),this.ek=0,this.ready=0,this._.cancel(),this.Wl(),this.vk=1,e||(this.$j.width=null,this.$j.height=null),this.dk.load(t||wimpy.defaultPlayer.skin)},e.Wl=function(){var t,e=this.uk;e&&(e.destroy(),this.uk=null),e=this.ck,e&&(e.destroy(),this.ck=null),e=this.kk,e&&(e.destroy(),this.kk=null),e=this.qk,e&&(e.destroy(),this.qk=null),e=this.Ck,e&&(e.destroy(),this.Ck=null),e=this.pk,e&&(e.destroy(),t=this.ij,t&&t.setXYWH(0,0,1,1),this.pk=null)},e.reset=function(t){var e,i,s;t=t||{},this._.cancel(),this.ready=0,this.Bk=0,e=this.dk.url,i=jbeeb.Utils.clone(t),this.Zj(i),this._j.setup(this.$j),e!=i.skin?(s=i.width&&i.height?1:0,this.setSkin(i.skin,s)):(this.dispatchEvent("skinReady"),this.Dl())},e.Ll=function(){this.setLoading(-1,0),this.setPlayPauseState(this._j.getPlaying()),this.setVolume(this._j.getVolume()),this.handleScreen(this._j.getTrackData())},e.Xl=null,e.hide=function(){this.pause();var t=this.stage.element.style;this.Xl=t.display,t.display="none"},e.show=function(){var t=this.stage.element.style;this.Xl&&"none"!=this.Xl?t.display=this.Xl:"none"==t.display&&this.stage.show(),this.repaint()},e.setSize=function(t,e){this.stage.setPin("tl"),this.stage.stretch(t/this.stage.width,e/this.stage.height),this.Gl(),this.width=this.stage.width,this.height=this.stage.height,this.dispatchEvent("resize",this)},e.setXY=function(t,e){this.stage.setXY(t,e)},e.setX=function(t){this.stage.setX(t)},e.setY=function(t){this.stage.setY(t)},e.getRawSkin=function(){return this.dk.rawData},e.getSkin=function(){return this.dk},e.getControls=function(){return this.ak},e.getStatus=function(){var t,e,i;return this.sh.activity=this.rk,t=this._j.getPlaying(),this.sh.playing=t,this.sh.enabled=this.onoff,t?(e=this.sh.duration<=1,i=!e):(e=!1,i=!1),this.sh.stopped=e,this.sh.paused=i,this.sh},e.getPlaying=function(){return this._j.getPlaying()},e.getStopped=function(){return this._j.getPlaying()?0:this.onoff?this.sh.duration>1?1:2:3},e.sort=function(t,e){this._j.sortPlaylist(t.toLowerCase(),e)},e.setAlpha=function(t){this.stage.setAlpha(t)},e.addListener=function(t,e,i,s){var n=null;return t&&e&&(n=this.addEventListener(t,e,i,s),"ready"==t&&this.ready?this.dispatchEvent("ready"):"skinReady"==t&&this.ek&&this.dispatchEvent("skinReady")),n},e.removeListener=function(t,e,i){t&&e&&this.removeEventListener(t,e,i)},e.destroy=function(){this.Mk&&(this.Mk.destroy(),this.Mk=null),this.Pk=null,this._.destroy(),this._=null,this.removeAllEventListeners(),this.Kl(),this.Fk&&(jbeeb.Animate.cancel(this.Fk),this.Fk=null),this.Ek&&jbeeb.Animate.cancel(this.Ek),this.Dk&&(this.Dk.cancel(),this.Dk=null),this._j.destroy(),this._j=null,this.ij.destroy(),this.ij=null,this.Wl(),this.ak=null,this.dk.destroy(),this.dk=null,this.stage.destroy(),this.stage=null,this.$j=null},e.Yl=null,e.setAnimate=function(t,e){t?(this.stage.animateAll(t,e),this.Yl&&this.Yl.cancel(),this.Yl=new jbeeb.DelayCall(this.Zl.bind(this),t)):this.stage.cancelAnimation()},e.setEqRenderer=function(t){var e=this.qk;e&&e.setRenderer(t)},e.Zl=function(){this.stage.cancelAnimation()};e.setLimitPlayTime=function(t){this._j.setLimitPlayTime(t)};e.center=function(t){this.stage.center(t)},e.getMediaController=function(){return this.ij},e.getMediaElement=function(){return this.ij.getMediaElement()},e._k=function(t){this.dispatchEvent("mediaElementChange",t)},e.Zk=function(t){this.dispatchEvent("beforePause",t)},wimpy.Player=t,wimpyPlayer=t,WimpyPlayer=t}(),this.wimpy=this.wimpy||{},function(){"use strict";var t=function(t){this.$l=t},e=t.prototype;e.addEventListener=null,e.removeEventListener=null,e.removeAllEventListeners=null,e.dispatchEvent=null,e.hasEventListener=null,jbeeb.EventDispatcher.initialize(e),t._l=[],t.am={},e.$l=null,e.init=function(){var e,i,s,n,h,l,a,r,o,u=wimpy.defaultPlayer,c={};for(e in u)c[e.toLowerCase()]=e;for(t.am=c,i=document.querySelectorAll("[data-wimpyplayer]","[data-wimpyPlayer]","[data-WimpyPlayer]","[data-WIMPYYPLAYER]"),s=i.length,n=0,h=t.parseAttributes,l=0;s>l;l++)a=i[l],a.id||(a.id="wdid_"+jbeeb.getUID()),r=a.id,t._l.indexOf(r)>-1&&(r+=jbeeb.getUID(),a.id=r),o=h(a),t._l.push(r),o.target=r,wimpy.playerList[r]=new wimpy.Player(o,!0);this.$l(),jbeeb.ticker.addEventListener("tick",this.bm,this)},t.parseAttributes=function(e){var i,s,n,h,l,a,r,o,u,c,d,f,b,p;if(!e)return{};i=e,s=jbeeb.Utils.isTrue,n=jbeeb.Utils.isFalse,h=[],l={},a=jbeeb.Utils.getAttributes(i);for(r in a)o=jbeeb.Utils.trim(r.replace("data-","").toLowerCase()),u=t.am[o],u&&(l[u]=a[r],h.push(o));for(c=-316.0401,d=function(t){if(h.indexOf(t.toLowerCase())>-1){var e=l[t];return""!==e&&void 0!==e?n(e)?0:s(e)?1:e:1}return c},f=["fit","infoScroll","autoAdvance","autoPlay","random","loop","sortReverse","downloadEnable","linkEnable","getid3","getid3image","inline","plugFirst","plugDisables","numberTracks","disableFlash","responsive","eq","eqBands","eqSmoothing","eqScale","eqBassDamp","allowOthers"],b=0;b<f.length;b++)r=f[b],p=d(r),p!=c&&(l[r]=p);return l},e.bm=function(){var t,e=wimpy.playerList,i=!1,s=0;for(t in e){if(s++,!e[t].ready){i=!1;break}i=!0}(i||0===s)&&(jbeeb.ticker.removeEventListener("tick",this.bm,this),wimpy.playersReady())},wimpy.PlayerQuery=t}(),function(){"use strict";function t(t){for(;t.firstChild;)t.removeChild(t.firstChild)}var e,i,s,n=function(t){this.init(t)},h=n.prototype;h.cm=null,h.dm=null,h.em=null,h.fm=null,h.gm=null,h.hm=null,h.im=null,h.jm=null,h.km=null,h.lm=null,h.mm=null,h.nm=null,h.om=null,h.pm=null,h.qm=null,h.rm=null,h.sm=null,h.tm=null,h.c_time=null,h.c_total=null,h.c_current=null,h.c_remaining=null,h.c_artist=null,h.c_album=null,h.c_title=null,h.c_coverart=null,h.c_thinker=null,h.c_back=null,h.c_random=null,h.c_loop=null,h.um=0,h.vm=0,h.wm=0,h.xm=null,e='{"version":"1.0","x":1,"y":1,"width":1,"height":1,"bkgdColor":"#808080","layout":[{"x":0,"y":0,"w":1,"h":1,"z":1,"type":"Rube","name":"cmp_play","fill":[{"color":"#ffffff","alpha":0},{"color":"#ffffff","alpha":0}],"text":""}]}',i='{"version":"1.0","x":0,"y":0,"width":160,"height":120,"layout":[{"x":0,"y":0,"w":160,"h":120,"z":1,"type":"Container","name":"cmp_cover","fill":"#000000"},{"x":62,"y":42,"w":31,"h":30,"z":2,"type":"Rube","name":"cmp_coverPlayPause","text":"p","font":"WimpyPlayerGlyphs","align":"center","textColor":"#ffffff","textScale":1,"textFit":"wh","shadowText":[{"x":0,"y":-0.183,"c":"#000000","a":0.87333,"s":10.167},null]}]}',h.ym=function(t,e){var i,s,n=this.em;for(i=0;i<n.length;i++)if(s=n[i],t[e]==s.getAttribute("data-"+e))return s;return null},h.di=function(t){var e,i;for(e=0;e<this.em.length;e++)jbeeb.Utils.cssClassOps("remove",this.em[e],"playing");i=this.ym(t,"i"),i&&jbeeb.Utils.cssClassOps("add",i,"playing"),this.zm("launch")},h.Am=function(t){this.zm("play")},h.Bm=function(t){this.zm("pause")},h.ai=function(t){this.zm("done")},h.zm=function(t){var e=this.c_play,i=this.c_pause,s=this.c_stop;"play"==t?this.wm?e&&(jbeeb.Utils.cssClassOps("add",e,"pause"),jbeeb.Utils.cssClassOps("remove",e,"play")):(e&&jbeeb.Utils.cssClassOps("add",e,"active"),i&&jbeeb.Utils.cssClassOps("remove",i,"active"),s&&jbeeb.Utils.cssClassOps("remove",s,"active")):this.wm?e&&(jbeeb.Utils.cssClassOps("remove",e,"pause"),jbeeb.Utils.cssClassOps("add",e,"play")):(e&&jbeeb.Utils.cssClassOps("remove",e,"active"),i&&jbeeb.Utils.cssClassOps("add",i,"active"),s&&jbeeb.Utils.cssClassOps("add",s,"active"))},h.Cm=function(t,e,i){var s,n,h,l,a=t.element;if(!a.getAttribute("data-file")){for(s=a.parentNode,n=0;!s.getAttribute("data-file")&&(s=s.parentNode,1e3>=n);)n++;a=s}h=a.getAttribute("data-amplaylist"),l="1"==h||1===h,l?this.im.setPlaylist(a.getAttribute("data-file")):this.im.gotoTrack(parseInt(a.getAttribute("data-i"))+1)},h.Dm=function(){var t,e;for(t=0;t<this.em.length;t++)e=this.em[t],e.removeEventListener("click",this.rm),this.gm.removeChild(e),e=null;this.em=[]},h.Em=function(t){var e,i,s,n,h,l,a,r,o;if(t){for(this.Dm(),e=0;e<t.length;e++){if(i=t[e],s=document.createElement("div"),s.className=this.hm||"",n=this.Fm)for(h=0;h<n.length;h++)l=n[h],a=document.createElement(l.tag),a.className=l.klass,"image"==l.field?a.style.backgroundImage="url('"+i[l.field]+"')":a.innerHTML=i[l.field]||" ",r=new jbeeb.Pointer({element:a,click:{fn:this.Cm,scope:this,arg:null}}),s.appendChild(a);else s.innerHTML=i.title;r=new jbeeb.Pointer({element:s,click:{fn:this.Cm,scope:this,arg:null}}),this.em.push(s);for(o in i)s.setAttribute("data-"+o,i[o]);this.gm.appendChild(s)}this.dm.push(t),this.cm=t}},h.play=function(t,e,i){if(this.wm){this.im.getPlaying()?this.im.pause():this.im.play()}else this.im.play()},h.pause=function(){this.im.pause()},h.stop=function(){this.im.stop()},h.mute=function(){var t,e=this.im.getMute(),i=!e;this.im.setMute(i),t=this.c_mute,t&&(i?jbeeb.Utils.cssClassOps("add",t,"muted"):jbeeb.Utils.cssClassOps("remove",t,"muted"))},h.next=function(){this.im.next()},h.previous=function(){this.im.prev()},h.random=function(){var t=this.im.getRandom(),e=!t;this.im.setRandom(e),this.Gm(e)},h.Gm=function(t){"string"==typeof t&&(t=+t),t||(t=0);var e=this.c_random;e&&(t?jbeeb.Utils.cssClassOps("add",e,"active"):jbeeb.Utils.cssClassOps("remove",e,"active"))},h.loop=function(){var t=this.im.getLoop(),e=(t+1)%3;this.im.setLoop(e),this.Hm(e)},h.Hm=function(t){"string"==typeof t&&(t=+t),t||(t=0);var e=this.c_loop;e&&(jbeeb.Utils.cssClassOps("remove",e,"loop"),jbeeb.Utils.cssClassOps("remove",e,"loopOne"),jbeeb.Utils.cssClassOps("remove",e,"loopAll"),1===t?jbeeb.Utils.cssClassOps("add",e,"loopOne"):2===t?jbeeb.Utils.cssClassOps("add",e,"loopAll"):jbeeb.Utils.cssClassOps("add",e,"loop"))},h.back=function(){var t,e=this.dm;e.pop(),e.length>0&&(t=e.pop(),this.im.setPlaylist(t))},h.Im=function(t){var e;this.c_thinker.style.opacity=1;this.um=1,this.vm=1,e=this.c_artist,e&&(e.innerHTML=t.artist||""),e=this.c_album,e&&(e.innerHTML=t.album||""),e=this.c_title,e&&(e.innerHTML=t.title||""),e=this.c_coverart,e&&(e.style.backgroundImage=t.image?"url('"+t.image+"')":""),e=this.Jm,e&&(e.style.display="block")},h.Km=function(e){var i,s,n,h,l,a,r,o,u,c,d,f,b,p,m,g,y;for(i="string"==typeof this.lm.target?document.getElementById(this.lm.target):this.lm.target,s=["play","pause","stop","mute","next","previous","random","loop","back"],n={play:0,pause:0,stop:0},h=!1,l=!1,a=!1,r=0;r<s.length;r++)o=s[r],u=i.querySelector("[data-"+o+"]"),u&&(this["c_"+o]=u,c=new jbeeb.Pointer({element:u,click:{fn:this[o],scope:this,arg:null}}),0===n[o]&&(n[o]=1));for(n.play&&0==n.pause&&0==n.stop&&(this.wm=1),s=["total","current","remaining","artist","album","title","coverart","thinker"],r=0;r<s.length;r++)o=s[r],u=i.querySelector("[data-"+o+"]"),u&&(this["c_"+o]=u);if(this.c_thinker&&(e.addListener("launch",this.Im.bind(this)),this.c_thinker.style.opacity=0),this.xm&&(this.xm.loop&&this.Hm(this.xm.loop),this.xm.random&&this.Gm(this.xm.random)),u=i.querySelector("[data-playlist]")){if(this.gm=u,u=u.querySelector("[data-playlist-item]")){for(this.hm=u.className,d=u,f=["artist","album","title","image"],p=0;p<f.length;p++)m=f[p],u=d.querySelector("[data-item-"+m+"]"),u&&(b||(b=[]),b.push({field:m,klass:u.className,tag:u.tagName,index:Array.prototype.indexOf.call(d.childNodes,u)}));jbeeb.Utils.sortOn(b,"index"),this.Fm=b}t(this.gm)}u=i.querySelector("[data-seek]"),u&&(this.tm=u,g=u.parentNode,this.Lm=g,g&&(c=new jbeeb.Pointer({element:g,drag:{fn:this.Mm,scope:this}}))),u=i.querySelector("[data-loading]"),u&&(this.Jm=u,this.Nm=u.parentNode,u.style.display="none",u.style.width="0%",this.Om=1),setInterval(this.sm,1e3),e.addListener("launch",this.mm),e.addListener("play",this.om),e.addListener("pause",this.nm),e.addListener("done",this.pm),e.addListener("playlistReady",this.qm),this.jm=i,this.im=e,this.Em(e.getPlaylist()),this.xm&&this.xm.autoPlay&&(y=this.im.getTrackDataset(),this.di(y))},h.Mm=function(t,e,i){var s=this.tm,n=this.Lm.getBoundingClientRect(),h=e.parentX/(n.width||1);h>1?h=1:0>h&&(h=0),s.style.width=100*h+"%",this.im.setPosition(h)},h.Pm=function(){var t,e,i=this.im.getStatus(),s=this.c_total,n="00:00";s&&(s.innerHTML=i.duration_nice||n),s=this.c_remaining,s&&(s.innerHTML=i.remaining_nice||n),s=this.c_current,s&&(s.innerHTML=i.current_nice||n),s=this.c_thinker,s&&(t=i.activity,this.um&&1===t&&(this.c_thinker.style.opacity=0,this.um=0)),s=this.tm,s&&(s.style.width=100*+i.percent+"%"),s=this.Jm,s&&(e=this.im.getLoading(),e&&(0>e?(s.style.display="none",this.vm=0,this.Om=1):(this.Om&&(s.style.display="block",this.Om=0),s.style.width=Math.ceil(100*(1-e))+"%")))},h.init=function(t){var s,n,h;this.cm=null,this.dm=[],this.em=[],this.fm=null,this.gm=null,this.im=null,this.jm=null,this.lm={},this.hm=null,this.Fm=null,this.mm=this.di.bind(this),this.om=this.Am.bind(this),this.nm=this.Bm.bind(this),this.pm=this.ai.bind(this),this.qm=this.Em.bind(this),this.rm=this.Cm.bind(this),this.sm=this.Pm.bind(this),this.Qm=this.Mm.bind(this);for(s in t)this.lm[s]=t[s];n=this.Km.bind(this),h=this,wimpy.onReady(function(){var s,l,a,r,o,u,c;if(t.forPlayer)s=wimpy.getPlayer(t.forPlayer),n(s);else{l=t.target,a=l.querySelector("[data-coverart]"),r=a?{target:a,skin:i,responsive:!0}:{target:l,skin:e,width:1,height:1},o=[],u=wimpy.PlayerQuery.parseAttributes(l);for(c in u)o[c]=u[c];for(c in r)o[c]=r[c];o.onReady=n,h.xm=o,new wimpyPlayer(o)}})},s=function(){var t,e,i,s=document.querySelectorAll("[data-wimpyCssPlayer]","[data-wimpycssplayer]","[data-WIMPYCSSPLAYER]");if(s)for(t=0;t<s.length;t++)e=s[t],i=new n({target:e,forPlayer:e.getAttribute("data-forplayer")||e.getAttribute("data-for")})},wimpy.wimpyCssPlayer=n,wimpy.onReady(function(){setTimeout(s,10)})}(),this.wimpy=this.wimpy||{},this.wimpy.extension=this.wimpy.extension||{},function(){function t(t){this.init(t)}var e=t.prototype;e.addEventListener=null,e.removeEventListener=null,e.removeAllEventListeners=null,e.dispatchEvent=null,e.hasEventListener=null,jbeeb.EventDispatcher.initialize(e),e.player=null,e.trackLaunched=function(t){},e.trackPlay=function(t){},e.trackPaused=function(t){},e.trackBeforePause=function(t){},e.trackDone=function(t){},e.playlistReady=function(t){},e.initParams=null,e.init=function(t){var e,i;if(t){if(this.initParams=t,e=this.Km.bind(this),i=t.player,!i)throw Error("ERROR: player not defined");setTimeout(function(){"string"==typeof i?wimpy.onReady(function(){if(t.player){e(wimpy.getPlayer(t.player))}}):e(i)},10)}},e.Km=function(t){this.player=t,t.addListener("launch",this.trackLaunched,this),t.addListener("play",this.trackPlay,this),t.addListener("pause",this.trackPaused,this),t.addListener("beforePause",this.trackBeforePause,this),t.addListener("done",this.trackDone,this),t.addListener("playlistReady",this.playlistReady,this),this.dispatchEvent("onPlayerReady",this.initParams)},e.destroy=function(){this.removeAllEventListeners(),this.addEventListener=null,this.removeEventListener=null,this.removeAllEventListeners=null,this.dispatchEvent=null,this.hasEventListener=null,this.initParams=null,this.player=null},wimpy.extension.IExtension=t}(),this.wimpyButton=this.wimpyButton||{},function(){"use strict";var t,e=function(){if(!e.binit){e.binit=1;var t=new jbeeb.ReadyBoss;this.onReady=t.add.bind(t),this._=t,jbeeb.register(this)}};e.binit=0,t=e.prototype,t.addEventListener=null,t.removeEventListener=null,t.removeAllEventListeners=null,t.dispatchEvent=null,t.hasEventListener=null,jbeeb.EventDispatcher.initialize(t),t.Rm=null,t.ij=null,t.state=null,t.playing=0,t.jj=0,t.Sm=0,t.pj=0,t.addListener=null,t.removeListener=null,t.Tm=null,t._=null,t.onReady=null,t.wh=1,t.init=function(){var t,e;this.addListener=this.addEventListener,this.removeListener=this.removeEventListener,this.Um=null,this.Um=[],this.Rm=new jbeeb.Stage({target:document.body,x:0,y:0,w:1,h:1,fill:{color:"#FFFFFF",alpha:.2},onReady:this.Vm.bind(this)}),t=this.Dl.bind(this),wimpy.glyphLoader.onReady(t),e=new jbeeb.MediaController({x:0,y:0,w:1,h:1,name:"WB",noFullscreen:1,onReady:this.Wm.bind(this)}),e.addEventListener("launch",this.Vk,this),e.addEventListener("start",this.Wk,this),e.addEventListener("stop",this.Xk,this),e.addEventListener("done",this.ai,this),e.addEventListener("update",this.Ec,this),e.addEventListener("loading",this.Xm,this),e.addEventListener("disable",this.disable,this),this.ij=e,e.setVolume(1)},t.Ym=0,t.Wm=function(){this.Ym=1,this.Dl()},t.Dl=function(){this.Zm||this.Rm.ready&&this.Ym&&wimpy.glyphLoader.ready&&(this.Zm=1,this.$m(),this._.fire())},t.Vm=function(){this.Rm.style.position="fixed",this.Rm.addChild(this.ij),this.Dl()},t.Vk=function(t){this.dispatchEvent("launch",t)},t.Wk=function(t){this.dispatchEvent("play",t),this._m(1)},t.Xk=function(t){this.dispatchEvent("pause",t),this._m(0)},t.ai=function(t){var e=this.Tm;e&&e.loop?(this.zd(),this.play()):(this.dispatchEvent("done",t),this.rewind(!0))},t.Ec=function(t){var e,i,s;this.state=t,e=t.current,i="",this.Sm>100&&e>0&&(s=this.Tm,s&&(i=s.limit,i&&e>i&&this.stop())),this.dispatchEvent("runtime",t)},t.Xm=function(t){var e=t.status,i=this.pj;200>e&&t.percent<.9?0==i&&(i=1,this.an(this.Tm,"thinking")):1==i&&(i=0,this.an(this.Tm,"doneThinking")),this.pj=i,this.Sm=e,300==e?this.jj=-1:this.jj=t.percent||0,this.dispatchEvent("thinking",this.pj),this.dispatchEvent("loading",t)},t._m=function(t,e){this.playing=t;var i=e||this.Tm;i&&(i.playing=t)},t.bn=function(t){t?(this.Tm=t,this.an(t,"playing"),this.ij.play(t.file),this.setVolume(t.volume||this.wh)):(this.ij.play(),this.setVolume(this.wh))},t.play=function(t){if(t)this.cn(),this.Tm=null,this.ij.play(t),this._m(1);else{var e=this.Tm;e&&(this.bn(e),this._m(1))}},t.dn=function(t){this._m(1,t),this.an(t,"playing"),this.ij.play()},t.en=function(t){this._m(0,t),this.an(t,"paused"),this.ij.pause(!0)},t.pause=function(){this.ij.pause(!0);var t=this.Tm;t&&this.an(t,"paused"),this._m(0)},t.rewind=function(t){t?this.en(this.Tm):this.bn(this.Tm),this.ij.setPlayheadPercent(0)},t.zd=function(){var t,e;for(this.en(),t=this.Um,e=t.length;e--;)t[e].playing=-1;this.ij.reset(),this.cn(null),this._m(0)},t.stop=function(){this.en(),this.rewind(!0)},t.setVolume=function(t){t=parseFloat(t),t>1?t=1:0>t&&(t=0),this.wh=t,this.ij.setVolume(t)},t.getVolume=function(t){return this.wh},t.Um=null,t.$m=function(){var t,e,i=document.querySelectorAll("[data-wimpybutton]","[data-wimpyButton]");for(t=i.length;t--;)e=i[t],this.gn(e,jbeeb.Utils.getAttributes(e))},t.deactivate=function(t){var e,i,s,n;if(t&&(e=this.hn(t)))for(i=0;i<this.Um.length;i++)if(s=this.Um[i],s.element==e){this.Um.splice(i,1),n=e.style,n.userSelect=n.WebkitUserSelect=n.MozUserSelect=n.OUserSelect="",n.MozUserSelect="",n.cursor="",jbeeb.Utils.unbindEvent(e,"mousedown",s.in),jbeeb.Utils.unbindEvent(e,"mouseup",s.jn);break}},t.activate=function(t){if(t){var e;t.element?e=t.element:t.id&&"string"==typeof t.id&&(e=document.getElementById(t.id)),e&&this.gn(e,t)}},t.gn=function(t,e){var i,s,n,h,l,a,r,o,u,c,d,f,b,p,m=((t.tagName+"").toLowerCase(),t.style);m.userSelect=m.WebkitUserSelect=m.MozUserSelect=m.OUserSelect="none",m.MozUserSelect="-moz-none",m.cursor="pointer",i=["media","wimpybutton","playtext","pausetext","loadingtext","width","height","textsize","loop","volume","limit"],s=["loop"],n={};for(h in e)l=h.replace("data-","").toLowerCase(),i.indexOf(l)>-1&&(a=e[h],s.indexOf(l)>-1&&(a=jbeeb.Utils.isFalse(a)?0:1),n[l]=a);for(r=n.width,o=n.height,r&&o?this.setSize(t,r,o,n.textsize):this.kn(t),u={id:t.id||jbeeb.getUID(),element:t,file:n.media||n.wimpybutton,textPlay:n.playtext||null,textPause:n.pausetext||null,textLoading:n.loadingtext||null,loop:n.loop||null,volume:n.volume?parseFloat(n.volume)||null:null,limit:n.limit?parseInt(n.limit):null,playing:-1},c=0,d=0;d<this.Um.length;d++)if(f=this.Um[d],f.element==t){this.Um[d]=u,c=1;break}return c||(b=this.ln.bind(this),p=this.mn.bind(this),jbeeb.Utils.bindEvent(t,"mousedown",b),jbeeb.Utils.bindEvent(t,"mouseup",p),u.in=b,u.jn=p,this.Um.push(u)),this.an(u,"reset"),t},t.setSize=function(t,e,i,s){var n,h,l,a,r=this.hn(t),o=r.style,u=32,c=1.9;e?(n=parseFloat(e)||u,o.width=n+"px"):o.width=null,i?(h=parseFloat(i)||u,o.height=h+"px",s?(l=parseFloat(s)||u/c,a=h/l,o.fontSize=l+"px",o.lineHeight=a+"em"):(l=h/c,a=h/l,o.fontSize=l+"px",o.lineHeight=a+"em")):(o.height=null,o.fontSize=null,o.lineHeight=null)},t.kn=function(t){var e,i=this.hn(t);i&&(e=i.style,e&&(e.width&&(e.width=null),e.height&&(e.height=null),e.fontSize&&(e.fontSize=null),e.lineHeight&&(e.lineHeight=null)))},t.an=function(t,e){var i,s,n,h;t&&("paused"==e||"reset"==e?(n="reset"==e?-1:0,i="pause",s="play",h=t.textPlay):"thinking"==e?(n=1,i="",s="loading",h=t.textLoading):"doneThinking"==e?(n=1,i="loading",s="",h=t.textPause):(n=1,i="play",s="pause",h=t.textPause),jbeeb.Utils.cssClassOps("replace",t.element,i,s),t.playing=n,h&&(t.element.innerHTML=h))},t.cn=function(t){var e,i,s,n=null,h=this.Um;for(e=h.length;e--;)i=h[e],s=i.element,t==s?n=i:(this.an(i,"reset"),i.playing=-1);return n},t.nn=function(t){var e,i,s=null,n=this.Um;for(e=n.length;e--;)i=n[e],t==i.element&&(s=i);return s},t.setMedia=function(t,e,i){var s=this.hn(t),n=this.nn(s);n&&(n.file=e,i&&((this.playing||n.playing)&&this.en(),this.an(n,"reset"),this.bn(n)))},t.hn=function(t){var e;return"string"==typeof t?e=document.getElementById(t):jbeeb.Utils.isDomElement(t)?e=t:t.element&&(e=t.element),e},t.ln=function(t){var e=this.cn(t.target||t.srcElement);this.dg=e},t.dg=null,t.mn=function(t){this.dg=this.nn(t.target||t.srcElement),new jbeeb.DelayCall(this.on.bind(this),50)},t.on=function(){var t=this.dg;t&&(1==t.playing?this.en(t):this.bn(t))},t.disable=function(){this.pause(),this.cn()},wimpy.getButton=function(t){return wimpy.getButtonBy("id",t)},wimpy.getButtonBy=function(t,e){var i,s,n;if(wimpyButton)for(i=wimpyButton.Um,s=0;s<i.length;s++)if(n=i[s],n[t]==e)return n;return null},wimpy.getButtonList=function(){return wimpyButton?wimpyButton.Um:null},wimpy.WButton=e}();};
