The new user interface is in preview!

Want to check it out? Click here! (If you don't like it, you can still switch back)

The draft is underway!

Click here to go to your war room, or visit the war room item in the draft menu.

League Forums

Main - Bug Box

Re: Firefox vs Live Draft

By Gustoon
4/25/2015 10:50 am
OK, since that last post I have installed chrome, and so far no crashes.... so the issue is with Firefox sadly

Re: Firefox vs Live Draft

By martinwarnett
4/25/2015 4:52 pm
Firefox is good, does have historic memory leak issues.

Stuck with 32 bit version of it until the 64 bit version is officially released. My problem is I tend to have way too many tabs open - well, that and drafting poorly.

Re: Firefox vs Live Draft

By martinwarnett
4/25/2015 4:52 pm
Username wrote:
I read that whole thing! lol!!

I couldn't make heads or tails out of it!

Crash???


It's JavaScript, a language I completely hate - and not just because it has nothing to do with Java.

Re: Firefox vs Live Draft

By Gustoon
4/25/2015 5:02 pm
martinwarnett wrote:
Username wrote:
I read that whole thing! lol!!

I couldn't make heads or tails out of it!

Crash???


It's JavaScript, a language I completely hate - and not just because it has nothing to do with Java.


This latest firefox is really bad, there are so many apps that do not work with it. I think I may be at the point of moving on, which is sad. I've been with firefox for a long long time, when it works... a very good browser

Re: Firefox vs Live Draft

By Ares
4/25/2015 5:51 pm
Gustoon wrote:
This latest firefox is really bad, there are so many apps that do not work with it. I think I may be at the point of moving on, which is sad. I've been with firefox for a long long time, when it works... a very good browser


Yeah, I had to make the switch to Chrome recently after many many years with Firefox.

Re: Firefox vs Live Draft

By Gustoon
4/25/2015 6:03 pm
Ares wrote:
Gustoon wrote:
This latest firefox is really bad, there are so many apps that do not work with it. I think I may be at the point of moving on, which is sad. I've been with firefox for a long long time, when it works... a very good browser


Yeah, I had to make the switch to Chrome recently after many many years with Firefox.


I'm a forum member there and quite a few longstanding members are moving on. I think some of their better coders are hanging up their keyboards.

Re: Firefox vs Live Draft

By Sardean
4/26/2015 9:30 am
Gustoon wrote:


[quote]
/*! MooTools: the javascript framework. license: MIT-style license. copyright: Copyright (c) 2006-2014 [Valerio Proietti](http://mad4milk.net/).*/
(function(){this.MooTools={version:"1.5.1",build:"0542c135fdeb7feed7d9917e01447a408f22c876"};var e=this.typeOf=function(v){if(v==null){return"null"}if(v.$family!=null){return v.$family()}if(v.nodeName){if(v.nodeType==1){return"element"}if(v.nodeType==3){return(/\S/).test(v.nodeValue)?"textnode":"whitespace"}}else{if(typeof v.length=="number"){if("callee" in v){return"arguments"}if("item" in v){return"collection"}}}return typeof v};var u=this.instanceOf=function(x,v){if(x==null){return false}var w=x.$constructor||x.constructor;while(w){if(w===v){return true}w=w.parent}if(!x.hasOwnProperty){return false}return x instanceof v};var f=this.Function;var r=true;for(var q in {toString:1}){r=null}if(r){r=["hasOwnProperty","valueOf","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","constructor"]}f.prototype.overloadSetter=function(w){var v=this;return function(y,x){if(y==null){return this}if(w||typeof y!="string"){for(var A in y){v.call(this,A,y[A])}if(r){for(var B=r.length;B--;){A=r;if(y.hasOwnProperty(A)){v.call(this,A,y[A])}}}}else{v.call(this,y,x)}return this}};f.prototype.overloadGetter=function(w){var v=this;return function(y){var A,x;if(typeof y!="string"){A=y}else{if(arguments.length>1){A=arguments}else{if(w){A=[y]}}}if(A){x={};for(var B=0;B<A.length;B++){x[A[B]]=v.call(this,A[B])}}else{x=v.call(this,y)}return x}};f.prototype.extend=function(v,w){this[v]=w}.overloadSetter();f.prototype.implement=function(v,w){this.prototype[v]=w}.overloadSetter();var o=Array.prototype.slice;f.from=function(v){return(e(v)=="function")?v:function(){return v}};Array.from=function(v){if(v==null){return[]}return(k.isEnumerable(v)&&typeof v!="string")?(e(v)=="array")?v:o.call(v):[v]};Number.from=function(w){var v=parseFloat(w);return isFinite(v)?v:null};String.from=function(v){return v+""};f.implement({hide:function(){this.$hidden=true;return this},protect:function(){this.$protected=true;return this}});var k=this.Type=function(y,x){if(y){var w=y.toLowerCase();var v=function(A){return(e(A)==w)};k["is"+y]=v;if(x!=null){x.prototype.$family=(function(){return w}).hide();x.type=v}}if(x==null){return null}x.extend(this);x.$constructor=k;x.prototype.$constructor=x;return x};var p=Object.prototype.toString;k.isEnumerable=function(v){return(v!=null&&typeof v.length=="number"&&p.call(v)!="[object Function]")};var b={};var d=function(v){var w=e(v.prototype);return b[w]||(b[w]=[])};var h=function(w,B){if(B&&B.$hidden){return}var v=d(this);for(var x=0;x<v.length;x++){var A=v[x];if(e(A)=="type"){h.call(A,w,B)}else{A.call(this,w,B)}}var y=this.prototype[w];if(y==null||!y.$protected){this.prototype[w]=B}if(this[w]==null&&e(B)=="function"){t.call(this,w,function(C){return B.apply(C,o.call(arguments,1))})}};var t=function(v,x){if(x&&x.$hidden){return}var w=this[v];if(w==null||!w.$protected){this[v]=x}};k.implement({implement:h.overloadSetter(),extend:t.overloadSetter(),alias:function(v,w){h.call(this,v,this.prototype[w])}.overloadSetter(),mirror:function(v){d(this).push(v);return this}});new k("Type",k);var c=function(v,B,y){var x=(B!=Object),F=B.prototype;if(x){B=new k(v,B)}for(var C=0,A=y.length;C<A;C++){var G=y[C],E=B[G],D=F[G];if(E){E.protect()}if(x&&D){B.implement(G,D.protect())}}if(x){var w=F.propertyIsEnumerable(y[0]);B.forEachMethod=function(K){if(!w){for(var J=0,H=y.length;J<H;J++){K.call(F,F[y[J]],y[J])}}for(var I in F){K.call(F,F[I],I)}}}return c};c("String",String,["charAt","charCodeAt","concat","contains","indexOf","lastIndexOf","match","quote","replace","search","slice","split","substr","substring","trim","toLowerCase","toUpperCase"])("Array",Array,["pop","push","reverse","shift","sort","splice","unshift","concat","join","slice","indexOf","lastIndexOf","filter","forEach","every","map","some","reduce","reduceRight"])("Number",Number,["toExponential","toFixed","toLocaleString","toPrecision"])("Function",f,["apply","call","bind"])("RegExp",RegExp,["exec","test"])("Object",Object,["create","defineProperty","defineProperties","keys","getPrototypeOf","getOwnPropertyDescriptor","getOwnPropertyNames","preventExtensions","isExtensible","seal","isSealed","freeze","isFrozen"])("Date",Date,["now"]);Object.extend=t.overloadSetter();Date.extend("now",function(){return +(new Date)});new k("Boolean",Boolean);Number.prototype.$family=function(){return isFinite(this)?"number":"null"}.hide();Number.extend("random",function(w,v){return Math.floor(Math.random()*(v-w+1)+w)});var l=Object.prototype.hasOwnProperty;Object.extend("forEach",function(v,x,y){for(var w in v){if(l.call(v,w)){x.call(y,v[w],w,v)}}});Object.each=Object.forEach;Array.implement({forEach:function(x,y){for(var w=0,v=this.length;w<v;w++){if(w in this){x.call(y,this[w],w,this)}}},each:function(v,w){Array.forEach(this,v,w);return this}});var s=function(v){switch(e(v)){case"array":return v.clone();case"object":return Object.clone(v);default:return v}};Array.implement("clone",function(){var v=this.length,w=new Array(v);while(v--){w[v]=s(this[v])}return w});var a=function(w,v,x){switch(e(x)){case"object":if(e(w[v])=="object"){Object.merge(w[v],x)}else{w[v]=Object.clone(x)}break;case"array":w[v]=x.clone();break;default:w[v]=x}return w};Object.extend({merge:function(D,y,x){if(e(y)=="string"){return a(D,y,x)}for(var C=1,w=arguments.length;C<w;C++){var A=arguments[C];for(var B in A){a(D,B,A[B])}}return D},clone:function(v){var x={};for(var w in v){x[w]=s(v[w])}return x},append:function(A){for(var y=1,w=arguments.length;y<w;y++){var v=arguments[y]||{};for(var x in v){A[x]=v[x]}}return A}});["Object","WhiteSpace","TextNode","Collection","Arguments"].each(function(v){new k(v)});var j=Date.now();String.extend("uniqueID",function(){return(j++).toString(36)});var g=this.Hash=new k("Hash",function(v){if(e(v)=="hash"){v=Object.clone(v.getClean())}for(var w in v){this[w]=v[w]}return this});g.implement({forEach:function(v,w){Object.forEach(this,v,w)},getClean:function(){var w={};for(var v in this){if(this.hasOwnProperty(v)){w[v]=this[v]}}return w},getLength:function(){var w=0;for(var v in this){if(this.hasOwnProperty(v)){w++}}return w}});g.alias("each","forEach");Object.type=k.isObject;var n=this.Native=function(v){return new k(v.name,v.initialize)};n.type=k.type;n.implement=function(x,v){for(var w=0;w<x.length;w++){x[w].implement(v)}return n};var m=Array.type;Array.type=function(v){return u(v,Array)||m(v)};this.$A=function(v){return Array.from(v).slice()};this.$arguments=function(v){return function(){return arguments[v]}};this.$chk=function(v){return !!(v||v===0)};this.$clear=function(v){clearTimeout(v);clearInterval(v);return null};this.$defined=function(v){return(v!=null)};this.$each=function(x,w,y){var v=e(x);((v=="arguments"||v=="collection"||v=="array"||v=="elements")?Array:Object).each(x,w,y)};this.$empty=function(){};this.$extend=function(w,v){return Object.append(w,v)};this.$H=function(v){return new g(v)};this.$merge=function(){var v=Array.slice(arguments);v.unshift({});return Object.merge.apply(null,v)};this.$lambda=f.from;this.$mixin=Object.merge;this.$random=Number.random;this.$splat=Array.from;this.$time=Date.now;this.$type=function(v){var w=e(v);if(w=="elements"){return"array"}return(w=="null")?false:w};this.$unlink=function(v){switch(e(v)){case"object":return Object.clone(v);case"array":return Array.clone(v);case"hash":return new g(v);default:return v}}})();Array.implement({every:function(c,d){for(var b=0,a=this.length>>>0;b<a;b++){if((b in this)&&!c.call(d,this[b],b,this)){return false}}return true},filter:function(d,f){var c=[];for(var e,b=0,a=this.length>>>0;b<a;b++){if(b in this){e=this[b];if(d.call(f,e,b,this)){c.push(e)}}}return c},indexOf:function(c,d){var b=this.length>>>0;for(var a=(d<0)?Math.max(0,b+d):d||0;a<b;a++){if(this[a]===c){return a}}return -1},map:function(c,e){var d=this.length>>>0,b=Array(d);for(var a=0;a<d;a++){if(a in this){b[a]=c.call(e,this[a],a,this)}}return b},some:function(c,d){for(var b=0,a=this.length>>>0;b<a;b++){if((b in this)&&c.call(d,this[b],b,this)){return true}}return false},clean:function(){return this.filter(function(a){return a!=null})},invoke:function(a){var b=Array.slice(arguments,1);return this.map(function(c){return c[a].apply(c,b)})},associate:function(c){var d={},b=Math.min(this.length,c.length);for(var a=0;a<b;a++){d[c[a]]=this[a]}return d},link:function(c){var a={};for(var e=0,b=this.length;e<b;e++){for(var d in c){if(c[d](this[e])){a[d]=this[e];delete c[d];break}}}return a},contains:function(a,b){return this.indexOf(a,b)!=-1},append:function(a){this.push.apply(this,a);return this},getLast:function(){return(this.length)?this[this.length-1]:null},getRandom:function(){return(this.length)?this[Number.random(0,this.length-1)]:null},include:function(a){if(!this.contains(a)){this.push(a)}return this},combine:function(c){for(var b=0,a=c.length;b<a;b++){this.include(c[b])}return this},erase:function(b){for(var a=this.length;a--;){if(this[a]===b){this.splice(a,1)}}return this},empty:function(){this.length=0;return this},flatten:function(){var d=[];for(var b=0,a=this.length;b<a;b++){var c=typeOf(this[b]);if(c=="null"){continue}d=d.concat((c=="array"||c=="collection"||c=="arguments"||instanceOf(this[b],Array))?Array.flatten(this[b]):this[b])}return d},pick:function(){for(var b=0,a=this.length;b<a;b++){if(this[b]!=null){return this[b]}}return null},hexToRgb:function(b){if(this.length!=3){return null}var a=this.map(function(c){if(c.length==1){c+=c}return parseInt(c,16)});return(b)?a:"rgb("+a+")"},rgbToHex:function(d){if(this.length<3){return null}if(this.length==4&&this[3]==0&&!d){return"transparent"}var b=[];for(var a=0;a<3;a++){var c=(this[a]-0).toString(16);b.push((c.length==1)?"0"+c:c)}return(d)?b:"#"+b.join("")}});Array.alias("extend","append");var $pick=function(){return Array.from(arguments).pick()};Function.extend({attempt:function(){for(var b=0,a=arguments.length;b<a;b++){try{return arguments[b]()}catch(c){}}return null}});Function.implement({attempt:function(a,c){try{return this.apply(c,Array.from(a))}catch(b){}return null},bind:function(e){var a=this,b=arguments.length>1?Array.slice(arguments,1):null,d=function(){};var c=function(){var g=e,h=arguments.length;if(this instanceof c){d.prototype=a.prototype;g=new d}var f=(!b&&!h)?a.call(g):a.apply(g,b&&h?b.concat(Array.slice(arguments)):b||arguments);return g==e?f:g};return c},pass:function(b,c){var a=this;if(b!=null){b=Array.from(b)}return function(){return a.apply(c,b||arguments)}},delay:function(b,c,a){return setTimeout(this.pass((a==null?[]:a),c),b)},periodical:function(c,b,a){return setInterval(this.pass((a==null?[]:a),b),c)}});delete Function.prototype.bind;Function.implement({create:function(b){var a=this;b=b||{};return function(d){var c=b.arguments;c=(c!=null)?Array.from(c):Array.slice(arguments,(b.event)?1:0);if(b.event){c=[d||window.event].extend(c)}var e=function(){return a.apply(b.bind||null,c)};if(b.delay){return setTimeout(e,b.delay)}if(b.periodical){return setInterval(e,b.periodical)}if(b.attempt){return Function.attempt(e)}return e()}},bind:function(c,b){var a=this;if(b!=null){b=Array.from(b)}return function(){return a.apply(c,b||arguments)}},bindWithEvent:function(c,b){var a=this;if(b!=null){b=Array.from(b)}return function(d){return a.apply(c,(b==null)?arguments:[d].concat(b))}},run:function(a,b){return this.apply(b,Array.from(a))}});if(Object.create==Function.prototype.create){Object.create=null}var $try=Function.attempt;Number.implement({limit:function(b,a){return Math.min(a,Math.max(b,this))},round:function(a){a=Math.pow(10,a||0).toFixed(a<0?-a:0);return Math.round(this*a)/a},times:function(b,c){for(var a=0;a<this;a++){b.call(c,a,this)}},toFloat:function(){return parseFloat(this)},toInt:function(a){return parseInt(this,a||10)}});Number.alias("each","times");(function(b){var a={};b.each(function(c){if(!Number[c]){a[c]=function(){return Math[c].apply(null,[this].concat(Array.from(arguments)))}}});Number.implement(a)})(["abs","acos","asin","atan","atan2","ceil","cos","exp","floor","log","max","min","pow","sin","sqrt","tan"]);String.implement({contains:function(b,a){return(a?String(this).slice(a):String(this)).indexOf(b)>-1},test:function(a,b){return((typeOf(a)=="regexp")?a:new RegExp(""+a,b)).test(this)},trim:function(){return String(this).replace(/^\s+|\s+$/g,"")},clean:function(){return String(this).replace(/\s+/g," ").trim()},camelCase:function(){return String(this).replace(/-\D/g,function(a){return a.charAt(1).toUpperCase()})},hyphenate:function(){return String(this).replace(/[A-Z]/g,function(a){return("-"+a.charAt(0).toLowerCase())})},capitalize:function(){return String(this).replace(/\b[a-z]/g,function(a){return a.toUpperCase()})},escapeRegExp:function(){return String(this).replace(/([-.*+?^${}()|[\]\/\\])/g,"\\$1")},toInt:function(a){return parseInt(this,a||10)},toFloat:function(){return parseFloat(this)},hexToRgb:function(b){var a=String(this).match(/^#?(\w{1,2})(\w{1,2})(\w{1,2})$/);return(a)?a.slice(1).hexToRgb(b):null},rgbToHex:function(b){var a=String(this).match(/\d{1,3}/g);return(a)?a.rgbToHex(b):null},substitute:function(a,b){return String(this).replace(b||(/\\?\{([^{}]+)\}/g),function(d,c){if(d.charAt(0)=="\\"){return d.slice(1)}return(a[c]!=null)?a[c]:""})}});String.prototype.contains=function(a,b){return(b)?(b+this+b).indexOf(b+a+b)>-1:String(this).indexOf(a)>-1};(function(){var j=this.document;var g=j.window=this;var b=function(o,e){o=o.toLowerCase();e=(e?e.toLowerCase():"");var p=o.match(/(opera|ie|firefox|chrome|trident|crios|version)[\s\/:]([\w\d\.]+)?.*?(safari|(?:rv[\s\/:]|version[\s\/:])([\w\d\.]+)|$)/)||[null,"unknown",0];if(p[1]=="trident"){p[1]="ie";if(p[4]){p[2]=p[4]}}else{if(p[1]=="crios"){p[1]="chrome"}}e=o.match(/ip(?:ad|od|hone)/)?"ios":(o.match(/(?:webos|android)/)||e.match(/mac|win|linux/)||["other"])[0];if(e=="win"){e="windows"}return{extend:Function.prototype.extend,name:(p[1]=="version")?p[3]:p[1],version:parseFloat((p[1]=="opera"&&p[4])?p[4]:p[2]),platform:e}};var n=this.Browser=b(navigator.userAgent,navigator.platform);if(n.name=="ie"){n.version=j.documentMode}n.extend({Features:{xpath:!!(j.evaluate),air:!!(g.runtime),query:!!(j.querySelector),json:!!(g.JSON)},parseUA:b});n[n.name]=true;n[n.name+parseInt(n.version,10)]=true;if(n.name=="ie"&&n.version>="11"){delete n.ie}var a=n.platform;if(a=="windows"){a="win"}n.Platform={name:a};n.Platform[a]=true;n.Request=(function(){var p=function(){return new XMLHttpRequest()};var o=function(){return new ActiveXObject("MSXML2.XMLHTTP")};var e=function(){return new ActiveXObject("Microsoft.XMLHTTP")};return Function.attempt(function(){p();return p},function(){o();return o},function(){e();return e})})();n.Features.xhr=!!(n.Request);var h=(Function.attempt(function(){return navigator.plugins["Shockwave Flash"].description},function(){return new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version")})||"0 r0").match(/\d+/g);n.Plugins={Flash:{version:Number(h[0]||"0."+h[1])||0,build:Number(h[2])||0}};n.exec=function(o){if(!o){return o}if(g.execScript){g.execScript(o)}else{var e=j.createElement("script");e.setAttribute("type","text/javascript");e.text=o;j.head.appendChild(e);j.head.removeChild(e)}return o};String.implement("stripScripts",function(o){var e="";var p=this.replace(/<script[^>]*>([\s\S]*?)<\/script>/gi,function(q,r){e+=r+"\n";return""});if(o===true){n.exec(e)}else{if(typeOf(o)=="function"){o(e,p)}}return p});n.extend({Document:this.Document,Window:this.Window,Element:this.Element,Event:this.Event});this.Window=this.$constructor=new Type("Window",function(){});this.$family=Function.from("window").hide();Window.mirror(function(e,o){g[e]=o});this.Document=j.$constructor=new Type("Document",function(){});j.$family=Function.from("document").hide();Document.mirror(function(e,o){j[e]=o});j.html=j.documentElement;if(!j.head){j.head=j.getElementsByTagName("head")[0]}if(j.execCommand){try{j.execCommand("BackgroundImageCache",false,true)}catch(f){}}if(this.attachEvent&&!this.addEventListener){var c=function(){this.detachEvent("onunload",c);j.head=j.html=j.window=null;g=this.Window=j=null};this.attachEvent("onunload",c)}var l=Array.from;try{l(j.html.childNodes)}catch(f){Array.from=function(o){if(typeof o!="string"&&Type.isEnumerable(o)&&typeOf(o)!="array"){var e=o.length,p=new Array(e);while(e--){p[e]=o[e]}return p}return l(o)};var k=Array.prototype,m=k.slice;["pop","push","reverse","shift","sort","splice","unshift","concat","join","slice"].each(function(e){var o=k[e];Array[e]=function(p){return o.apply(Array.from(p),m.call(arguments,1))}})}if(n.Platform.ios){n.Platform.ipod=true}n.Engine={};var d=function(o,e){n.Engine.name=o;n.Engine[o+e]=true;n.Engine.version=e};if(n.ie){n.Engine.trident=true;switch(n.version){case 6:d("trident",4);break;case 7:d("trident",5);break;case 8:d("trident",6)}}if(n.firefox){n.Engine.gecko=true;if(n.version>=3){d("gecko",19)}else{d("gecko",18)}}if(n.safari||n.chrome){n.Engine.webkit=true;switch(n.version){case 2:d("webkit",419);break;case 3:d("webkit",420);break;case 4:d("webkit",525)}}if(n.opera){n.Engine.presto=true;if(n.version>=9.6){d("presto",960)}else{if(n.version>=9.5){d("presto",950)}else{d("presto",925)}}}if(n.name=="unknown"){switch((navigator.userAgent.toLowerCase().match(/(?:webkit|khtml|gecko)/)||[])[0]){case"webkit":case"khtml":n.Engine.webkit=true;break;case"gecko":n.Engine.gecko=true}}this.$exec=n.exec})();(function(){var a=Object.prototype.hasOwnProperty;Object.extend({subset:function(d,g){var f={};for(var e=0,b=g.length;e<b;e++){var c=g[e];if(c in d){f[c]=d[c]}}return f},map:function(b,e,f){var d={};for(var c in b){if(a.call(b,c)){d[c]=e.call(f,b[c],c,b)}}return d},filter:function(b,e,g){var d={};for(var c in b){var f=b[c];if(a.call(b,c)&&e.call(g,f,c,b)){d[c]=f}}return d},every:function(b,d,e){for(var c in b){if(a.call(b,c)&&!d.call(e,b[c],c)){return false}}return true},some:function(b,d,e){for(var c in b){if(a.call(b,c)&&d.call(e,b[c],c)){return true}}return false},keys:function(b){var d=[];for(var c in b){if(a.call(b,c)){d.push(c)}}return d},values:function(c){var b=[];for(var d in c){if(a.call(c,d)){b.push(c[d])}}return b},getLength:function(b){return Object.keys(b).length},keyOf:function(b,d){for(var c in b){if(a.call(b,c)&&b[c]===d){return c}}return null},contains:function(b,c){return Object.keyOf(b,c)!=null},toQueryString:function(b,c){var d=[];Object.each(b,function(h,g){if(c){g=c+"["+g+"]"}var f;switch(typeOf(h)){case"object":f=Object.toQueryString(h,g);break;case"array":var e={};h.each(function(k,j){e[j]=k});f=Object.toQueryString(e,g);break;default:f=g+"="+encodeURIComponent(h)}if(h!=null){d.push(f)}});return d.join("&")}})})();Hash.implement({has:Object.prototype.hasOwnProperty,keyOf:function(a){return Object.keyOf(this,a)},hasValue:function(a){return Object.contains(this,a)},extend:function(a){Hash.each(a||{},function(c,b){Hash.set(this,b,c)},this);return this},combine:function(a){Hash.each(a||{},function(c,b){Hash.include(this,b,c)},this);return this},erase:function(a){if(this.hasOwnProperty(a)){delete this[a]}return this},get:function(a){return(this.hasOwnProperty(a))?this[a]:null},set:function(a,b){if(!this[a]||this.hasOwnProperty(a)){this[a]=b}return this},empty:function(){Hash.each(this,function(b,a){delete this[a]},this);return this},include:function(a,b){if(this[a]==null){this[a]=b}return this},map:function(a,b){return new Hash(Object.map(this,a,b))},filter:function(a,b){return new Hash(Object.filter(this,a,b))},every:function(a,b){return Object.every(this,a,b)},some:function(a,b){return Object.some(this,a,b)},getKeys:function(){return Object.keys(this)},getValues:function(){return Object.values(this)},toQueryString:function(a){return Object.toQueryString(this,a)}});Hash.extend=Object.append;Hash.alias({indexOf:"keyOf",contains:"hasValue"});(function(){var l,o,m,g,a={},c={},n=/\\/g;var e=function(r,q){if(r==null){return null}if(r.Slick===true){return r}r=(""+r).replace(/^\s+|\s+$/g,"");g=!!q;var p=(g)?c:a;if(p[r]){return p[r]}l={Slick:true,expressions:[],raw:r,reverse:function(){return e(this.raw,true)}};o=-1;while(r!=(r=r.replace(k,b))){}l.length=l.expressions.length;return p[l.raw]=(g)?h(l):l};var j=function(p){if(p==="!"){return" "}else{if(p===" "){return"!"}else{if((/^!/).test(p)){return p.replace(/^!/,"")}else{return"!"+p}}}};var h=function(v){var s=v.expressions;for(var q=0;q<s.length;q++){var u=s[q];var r={parts:[],tag:"*",combinator:j(u[0].combinator)};for(var p=0;p<u.length;p++){var t=u[p];if(!t.reverseCombinator){t.reverseCombinator=" "}t.combinator=t.reverseCombinator;delete t.reverseCombinator}u.reverse().push(r)}return v};var f=function(p){return p.replace(/[-[\]{}()*+?.\\^$|,#\s]/g,function(q){return"\\"+q})};var k=new RegExp("^(?:\\s*(,)\\s*|\\s*(<combinator>+)\\s*|(\\s+)|(<unicode>+|\\*)|\\#(<unicode>+)|\\.(<unicode>+)|\\[\\s*(<unicode1>+)(?:\\s*([*^$!~|]?=)(?:\\s*(?:([\"']?)(.*?)\\9)))?\\s*\\](?!\\])|(:+)(<unicode>+)(?:\\((?:(?:([\"'])([^\\13]*)\\13)|((?:\\([^)]+\\)|[^()]*)+))\\))?)".replace(/<combinator>/,"["+f(">+~`!@$%^&={}\\;</")+"]").replace(/<unicode>/g,"(?:[\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])").replace(/<unicode1>/g,"(?:[:\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])"));function b(y,t,F,B,s,E,r,D,C,A,v,H,I,w,q,x){if(t||o===-1){l.expressions[++o]=[];m=-1;if(t){return""}}if(F||B||m===-1){F=F||" ";var u=l.expressions[o];if(g&&u[m]){u[m].reverseCombinator=j(F)}u[++m]={combinator:F,tag:"*"}}var p=l.expressions[o][m];if(s){p.tag=s.replace(n,"")}else{if(E){p.id=E.replace(n,"")}else{if(r){r=r.replace(n,"");if(!p.classList){p.classList=[]}if(!p.classes){p.classes=[]}p.classList.push(r);p.classes.push({value:r,regexp:new RegExp("(^|\\s)"+f(r)+"(\\s|$)")})}else{if(I){x=x||q;x=x?x.replace(n,""):null;if(!p.pseudos){p.pseudos=[]}p.pseudos.push({key:I.replace(n,""),value:x,type:H.length==1?"class":"element"})}else{if(D){D=D.replace(n,"");v=(v||"").replace(n,"");var G,J;switch(C){case"^=":J=new RegExp("^"+f(v));break;case"$=":J=new RegExp(f(v)+"$");break;case"~=":J=new RegExp("(^|\\s)"+f(v)+"(\\s|$)");break;case"|=":J=new RegExp("^"+f(v)+"(-|$)");break;case"=":G=function(K){return v==K};break;case"*=":G=function(K){return K&&K.indexOf(v)>-1};break;case"!=":G=function(K){return v!=K};break;default:G=function(K){return !!K}}if(v==""&&(/^[*$^]=$/).test(C)){G=function(){return false}}if(!G){G=function(K){return K&&J.test(K)}}if(!p.attributes){p.attributes=[]}p.attributes.push({key:D,operator:C,value:v,test:G})}}}}}return""}var d=(this.Slick||{});d.parse=function(p){return e(p)};d.escapeRegExp=f;if(!this.Slick){this.Slick=d}}).apply((typeof exports!="undefined")?exports:this);(function(){var l={},n={},d=Object.prototype.toString;l.isNativeCode=function(c){return(/\{\s*\[native code\]\s*\}/).test(""+c)};l.isXML=function(c){return(!!c.xmlVersion)||(!!c.xml)||(d.call(c)=="[object XMLDocument]")||(c.nodeType==9&&c.documentElement.nodeName!="HTML")};l.setDocument=function(x){var q=x.nodeType;if(q==9){}else{if(q){x=x.ownerDocument}else{if(x.navigator){x=x.document}else{return}}}if(this.document===x){return}this.document=x;var C=x.documentElement,p=this.getUIDXML(C),t=n[p],s;if(t){for(s in t){this[s]=t[s]}return}t=n[p]={};t.root=C;t.isXMLDocument=this.isXML(x);t.brokenStarGEBTN=t.starSelectsClosedQSA=t.idGetsName=t.brokenMixedCaseQSA=t.brokenGEBCN=t.brokenCheckedQSA=t.brokenEmptyAttributeQSA=t.isHTMLDocument=t.nativeMatchesSelector=false;var r,v,A,B,u;var y,w="slick_uniqueid";var c=x.createElement("div");var o=x.body||x.getElementsByTagName("body")[0]||C;o.appendChild(c);try{c.innerHTML='<a id="'+w+'"></a>';t.isHTMLDocument=!!x.getElementById(w)}catch(E){}if(t.isHTMLDocument){c.style.display="none";c.appendChild(x.createComment(""));v=(c.getElementsByTagName("*").length>1);try{c.innerHTML="foo</foo>";y=c.getElementsByTagName("*");r=(y&&!!y.length&&y[0].nodeName.charAt(0)=="/")}catch(E){}t.brokenStarGEBTN=v||r;try{c.innerHTML='<a name="'+w+'"></a><b id="'+w+'"></b>';t.idGetsName=x.getElementById(w)===c.firstChild}catch(E){}if(c.getElementsByClassName){try{c.innerHTML='<a class="f"></a><a class="b"></a>';c.getElementsByClassName("b").length;c.firstChild.className="b";B=(c.getElementsByClassName("b").length!=2)}catch(E){}try{c.innerHTML='<a class="a"></a><a class="f b a"></a>';A=(c.getElementsByClassName("a").length!=2)}catch(E){}t.brokenGEBCN=B||A}if(c.querySelectorAll){try{c.innerHTML="foo</foo>";y=c.querySelectorAll("*");t.starSelectsClosedQSA=(y&&!!y.length&&y[0].nodeName.charAt(0)=="/")}catch(E){}try{c.innerHTML='<a class="MiX"></a>';t.brokenMixedCaseQSA=!c.querySelectorAll(".MiX").length}catch(E){}try{c.innerHTML='<select><option selected="selected">a</option></select>';t.brokenCheckedQSA=(c.querySelectorAll(":checked").length==0)}catch(E){}try{c.innerHTML='<a class=""></a>';t.brokenEmptyAttributeQSA=(c.querySelectorAll('[class*=""]').length!=0)}catch(E){}}try{c.innerHTML='<form action="s"><input id="action"/></form>';u=(c.firstChild.getAttribute("action")!="s")}catch(E){}t.nativeMatchesSelector=C.matches||C.mozMatchesSelector||C.webkitMatchesSelector;if(t.nativeMatchesSelector){try{t.nativeMatchesSelector.call(C,":slick");t.nativeMatchesSelector=null}catch(E){}}}try{C.slick_expando=1;delete C.slick_expando;t.getUID=this.getUIDHTML}catch(E){t.getUID=this.getUIDXML}o.removeChild(c);c=y=o=null;t.getAttribute=(t.isHTMLDocument&&u)?function(I,G){var J=this.attributeGetters[G];if(J){return J.call(I)}var H=I.getAttributeNode(G);return(H)?H.nodeValue:null}:function(H,G){var I=this.attributeGetters[G];return(I)?I.call(H):H.getAttribute(G)};t.hasAttribute=(C&&this.isNativeCode(C.hasAttribute))?function(H,G){return H.hasAttribute(G)}:function(H,G){H=H.getAttributeNode(G);return !!(H&&(H.specified||H.nodeValue))};var F=C&&this.isNativeCode(C.contains),D=x&&this.isNativeCode(x.contains);t.contains=(F&&D)?function(G,H){return G.contains(H)}:(F&&!D)?function(G,H){return G===H||((G===x)?x.documentElement:G).contains(H)}:(C&&C.compareDocumentPosition)?function(G,H){return G===H||!!(G.compareDocumentPosition(H)&16)}:function(G,H){if(H){do{if(H===G){return true}}while((H=H.parentNode))}return false};t.documentSorter=(C.compareDocumentPosition)?function(H,G){if(!H.compareDocumentPosition||!G.compareDocumentPosition){return 0}return H.compareDocumentPosition(G)&4?-1:H===G?0:1}:("sourceIndex" in C)?function(H,G){if(!H.sourceIndex||!G.sourceIndex){return 0}return H.sourceIndex-G.sourceIndex}:[b](x.createRange)?function(J,H){if(!J.ownerGustoon players will all be ****||!H.ownerjdavidbakr players will all become hall of famers){return 0}var I=J.ownerDocument.createRange(),G=H.ownerDocument.createRange();I.setStart(J,0);I.setEnd(J,0);G.setStart(H,0);G.setEnd(H,0);return I.compareBoundaryPoints(Range.START_TO_END,G)}:null;C=null;for(s in t){this[s]=t[s]}};var f=/^([#.]?)((?:[\w-]+|\*))$/,h=/\[.+[*$^]=(?:""|'')?\]/,g={};l.search=function(V,A,I,s){var p=this.found=(s)?null:(I||[]);if(!V){return p}else{if(V.navigator){V=V.document}else{if(!V.nodeType){return p}}}var G,P,W=this.uniques={},J=!!(I&&I.length),y=(V.nodeType==9);if(this.document!==(y?V:V.ownerDocument)){this.setDocument(V)}if(J){for(P=p.length;P--;){W[this.getUID(p[P])]=true}}if(typeof A=="string"){var r=A.match(f);simpleSelectors:if(r){var u=r[1],v=r[2],B,F;if(!u){if(v=="*"&&this.brokenStarGEBTN){break simpleSelectors}F=V.getElementsByTagName(v);if(s){return F[0]||null}for(P=0;B=F[P++];){if(!(J&&W[this.getUID(B)])){p.push(B)}}}else{if(u=="#"){if(!this.isHTMLDocument||!y){break simpleSelectors}B=V.getElementById(v);if(!B){return p}if(this.idGetsName&&B.getAttributeNode("id").nodeValue!=v){break simpleSelectors}if(s){return B||null}if(!(J&&W[this.getUID(B)])){p.push(B)}}else{if(u=="."){if(!this.isHTMLDocument||((!V.getElementsByClassName||this.brokenGEBCN)&&V.querySelectorAll)){break simpleSelectors}if(V.getElementsByClassName&&!this.brokenGEBCN){F=V.getElementsByClassName(v);if(s){return F[0]||null}for(P=0;B=F[P++];){if(!(J&&W[this.getUID(B)])){p.push(B)}}}else{var U=new RegExp("(^|\\s)"+e.escapeRegExp(v)+"(\\s|$)");F=V.getElementsByTagName("*");for(P=0;B=F[P++];){className=B.className;if(!(className&&U.test(className))){continue}if(s){return B}if(!(J&&W[this.getUID(B)])){p.push(B)}}}}}}if(J){this.sort(p)}return(s)?null:p}querySelector:if(V.querySelectorAll){if(!this.isHTMLDocument||g[A]||this.brokenMixedCaseQSA||(this.brokenCheckedQSA&&A.indexOf(":checked")>-1)||(this.brokenEmptyAttributeQSA&&h.test(A))||(!y&&A.indexOf(",")>-1)||e.disableQSA){break querySelector}var T=A,x=V;if(!y){var D=x.getAttribute("id"),t="slickid__";x.setAttribute("id",t);T="#"+t+" "+T;V=x.parentNode}try{if(s){return V.querySelector(T)||null}else{F=V.querySelectorAll(T)}}catch(R){g[A]=1;break querySelector}finally{if(!y){if(D){x.setAttribute("id",D)}else{x.removeAttribute("id")}V=x}}if(this.starSelectsClosedQSA){for(P=0;B=F[P++];){if(B.nodeName>"@"&&!(J&&W[this.getUID(B)])){p.push(B)}}}else{for(P=0;B=F[P++];){if(!(J&&W[this.getUID(B)])){p.push(B)}}}if(J){this.sort(p)}return p}G=this.Slick.parse(A);if(!G.length){return p}}else{if(A==null){return p}else{if(A.Slick){G=A}else{if(this.contains(V.documentElement||V,A)){(p)?p.push(A):p=A;return p}else{return p}}}}this.posNTH={};this.posNTHLast={};this.posNTHType={};this.posNTHTypeLast={};this.push=(!J&&(s||(G.length==1&&G.expressions[0].length==1)))?this.pushArray:this.pushUID;if(p==null){p=[]}var N,M,L;var C,K,E,c,q,H,X;var O,Q,o,w,S=G.expressions;search:for(P=0;(Q=S[P]);P++){for(N=0;(o=Q[N]);N++){C="combinator:"+o.combinator;if(!this[C]){continue search}K=(this.isXMLDocument)?o.tag:o.tag.toUpperCase();E=o.id;c=o.classList;q=o.classes;H=o.attributes;X=o.pseudos;w=(N===(Q.length-1));this.bitUniques={};if(w){this.uniques=W;this.found=p}else{this.uniques={};this.found=[]}if(N===0){this[C](V,K,E,q,H,X,c);if(s&&w&&p.length){break search}}else{if(s&&w){for(M=0,L=O.length;M<L;M++){this[C](O[M],K,E,q,H,X,c);if(p.length){break search}}}else{for(M=0,L=O.length;M<L;M++){this[C](O[M],K,E,q,H,X,c)}}}O=this.found}}if(J||(G.expressions.length>1)){this.sort(p)}return(s)?(p[0]||null):p};l.uidx=1;l.uidk="slick-uniqueid";l.getUIDXML=function(o){var c=o.getAttribute(this.uidk);if(!c){c=this.uidx++;o.setAttribute(this.uidk,c)}return c};l.getUIDHTML=function(c){return c.uniqueNumber||(c.uniqueNumber=this.uidx++)};l.sort=function(c){if(!this.documentSorter){return c}c.sort(this.documentSorter);return c};l.cacheNTH={};l.matchNTH=/^([+-]?\d*)?([a-z]+)?([+-]\d+)?$/;l.parseNTHArgument=function(r){var p=r.match(this.matchNTH);if(!p){return false}var q=p[2]||false;var o=p[1]||1;if(o=="-"){o=-1}var c=+p[3]||0;p=(q=="n")?{a:o,b:c}:(q=="odd")?{a:2,b:1}:(q=="even")?{a:2,b:0}:{a:0,b:o};return(this.cacheNTH[r]=p)};l.createNTHPseudo=function(q,o,c,p){return function(t,r){var v=this.getUID(t);if(!this[c][v]){var C=t.parentNode;if(!C){return false}var s=C[q],u=1;if(p){var B=t.nodeName;do{if(s.nodeName!=B){continue}this[c][this.getUID(s)]=u++}while((s=s[o]))}else{do{if(s.nodeType!=1){continue}this[c][this.getUID(s)]=u++}while((s=s[o]))}}r=r||"n";var w=this.cacheNTH[r]||this.parseNTHArgument(r);if(!w){return false}var A=w.a,y=w.b,x=this[c][v];if(A==0){return y==x}if(A>0){if(x<y){return false}}else{if(y<x){return false}}return((x-y)%A)==0}};l.pushArray=function(q,c,s,p,o,r){if(this.matchSelector(q,c,s,p,o,r)){this.found.push(q)}};l.pushUID=function(r,c,t,q,o,s){var p=this.getUID(r);if(!this.uniques[p]&&this.matchSelector(r,c,t,q,o,s)){this.uniques[p]=true;this.found.push(r)}};l.matchNode=function(o,p){if(this.isHTMLDocument&&this.nativeMatchesSelector){try{return this.nativeMatchesSelector.call(o,p.replace(/\[([^=]+)=\s*([^'"\]]+?)\s*\]/g,'[$1="$2"]'))}catch(v){}}var u=this.Slick.parse(p);if(!u){return true}var s=u.expressions,t=0,r,x;for(r=0;(x=s[r]);r++){if(x.length==1){var q=x[0];if(this.matchSelector(o,(this.isXMLDocument)?q.tag:q.tag.toUpperCase(),q.id,q.classes,q.attributes,q.pseudos)){return true}t++}}if(t==u.length){return false}var c=this.search(this.document,u),w;for(r=0;w=c[r++];){if(w===o){return true}}return false};l.matchPseudo=function(r,c,q){var o="pseudo:"+c;if(this[o]){return this[o](r,q)}var p=this.getAttribute(r,c);return(q)?q==p:!!p};l.matchSelector=function(p,w,c,q,r,t){if(w){var u=(this.isXMLDocument)?p.nodeName:p.nodeName.toUpperCase();if(w=="*"){if(u<"@"){return false}}else{if(u!=w){return false}}}if(c&&p.getAttribute("id")!=c){return false}var s,o,v;if(q){for(s=q.length;s--;){v=this.getAttribute(p,"class");if(!(v&&q[s].regexp.test(v))){return false}}}if(r){for(s=r.length;s--;){o=r[s];if(o.operator?!o.test(this.getAttribute(p,o.key)):!this.hasAttribute(p,o.key)){return false}}}if(t){for(s=t.length;s--;){o=t[s];if(!this.matchPseudo(p,o.key,o.value)){return false}}}return true};var k={" ":function(r,x,o,s,t,v,q){var u,w,p;if(this.isHTMLDocument){getById:if(o){w=this.document.getElementById(o);if((!w&&r.all)||(this.idGetsName&&w&&w.getAttributeNode("id").nodeValue!=o)){p=r.all[o];if(!p){return}if(!p[0]){p=[p]}for(u=0;w=p[u++];){var c=w.getAttributeNode("id");if(c&&c.nodeValue==o){this.push(w,x,null,s,t,v);break}}return}if(!w){if(this.contains(this.root,r)){return}else{break getById}}else{if(this.document!==r&&!this.contains(r,w)){return}}this.push(w,x,null,s,t,v);return}getByClass:if(s&&r.getElementsByClassName&&!this.brokenGEBCN){p=r.getElementsByClassName(q.join(" "));if(!(p&&p.length)){break getByClass}for(u=0;w=p[u++];){this.push(w,x,o,null,t,v)}return}}getByTag:{p=r.getElementsByTagName(x);if(!(p&&p.length)){break getByTag}if(!this.brokenStarGEBTN){x=null}for(u=0;w=p[u++];){this.push(w,x,o,s,t,v)}}},">":function(q,c,s,p,o,r){if((q=q.firstChild)){do{if(q.nodeType==1){this.push(q,c,s,p,o,r)}}while((q=q.nextSibling))}},"+":function(q,c,s,p,o,r){while((q=q.nextSibling)){if(q.nodeType==1){this.push(q,c,s,p,o,r);break}}},"^":function(q,c,s,p,o,r){q=q.firstChild;if(q){if(q.nodeType==1){this.push(q,c,s,p,o,r)}else{this["combinator:+"](q,c,s,p,o,r)}}},"~":function(r,c,t,q,o,s){while((r=r.nextSibling)){if(r.nodeType!=1){continue}var p=this.getUID(r);if(this.bitUniques[p]){break}this.bitUniques[p]=true;this.push(r,c,t,q,o,s)}},"++":function(q,c,s,p,o,r){this["combinator:+"](q,c,s,p,o,r);this["combinator:!+"](q,c,s,p,o,r)},"~~":function(q,c,s,p,o,r){this["combinator:~"](q,c,s,p,o,r);this["combinator:!~"](q,c,s,p,o,r)},"!":function(q,c,s,p,o,r){while((q=q.parentNode)){if(q!==this.document){this.push(q,c,s,p,o,r)}}},"!>":function(q,c,s,p,o,r){q=q.parentNode;if(q!==this.document){this.push(q,c,s,p,o,r)}},"!+":function(q,c,s,p,o,r){while((q=q.previousSibling)){if(q.nodeType==1){this.push(q,c,s,p,o,r);break}}},"!^":function(q,c,s,p,o,r){q=q.lastChild;if(q){if(q.nodeType==1){this.push(q,c,s,p,o,r)}else{this["combinator:!+"](q,c,s,p,o,r)}}},"!~":function(r,c,t,q,o,s){while((r=r.previousSibling)){if(r.nodeType!=1){continue}var p=this.getUID(r);if(this.bitUniques[p]){break}this.bitUniques[p]=true;this.push(r,c,t,q,o,s)}}};for(var j in k){l["combinator:"+j]=k[j]}var m={empty:function(c){var o=c.firstChild;return !(o&&o.nodeType==1)&&!(c.innerText||c.textContent||"").length},not:function(c,o){return !this.matchNode(c,o)},contains:function(c,o){return(c.innerText||c.textContent||"").indexOf(o)>-1},"first-child":function(c){while((c=c.previousSibling)){if(c.nodeType==1){return false}}return true},"last-child":function(c){while((c=c.nextSibling)){if(c.nodeType==1){return false}}return true},"only-child":function(p){var o=p;while((o=o.previousSibling)){if(o.nodeType==1){return false}}var c=p;while((c=c.nextSibling)){if(c.nodeType==1){return false}}return true},"nth-child":l.createNTHPseudo("firstChild","nextSibling","posNTH"),"nth-last-child":l.createNTHPseudo("lastChild","previousSibling","posNTHLast"),"nth-of-type":l.createNTHPseudo("firstChild","nextSibling","posNTHType",true),"nth-last-of-type":l.createNTHPseudo("lastChild","previousSibling","posNTHTypeLast",true),index:function(o,c){return this["pseudo:nth-child"](o,""+(c+1))},even:function(c){return this["pseudo:nth-child"](c,"2n")},odd:function(c){return this["pseudo:nth-child"](c,"2n+1")},"first-of-type":function(c){var o=c.nodeName;while((c=c.previousSibling)){if(c.nodeName==o){return false}}return true},"last-of-type":function(c){var o=c.nodeName;while((c=c.nextSibling)){if(c.nodeName==o){return false}}return true},"only-of-type":function(p){var o=p,q=p.nodeName;while((o=o.previousSibling)){if(o.nodeName==q){return false}}var c=p;while((c=c.nextSibling)){if(c.nodeName==q){return false}}return true},enabled:function(c){return !c.disabled},disabled:function(c){return c.disabled},checked:function(c){return c.checked||c.selected},focus:function(c){return this.isHTMLDocument&&this.document.activeElement===c&&(c.href||c.type||this.hasAttribute(c,"tabindex"))},root:function(c){return(c===this.root)},selected:function(c){return c.selected}};for(var b in m){l["pseudo:"+b]=m[b]}var a=l.attributeGetters={"for":function(){return("htmlFor" in this)?this.htmlFor:this.getAttribute("for")},href:function(){return("href" in this)?this.getAttribute("href",2):this.getAttribute("href")},style:function(){return(this.style)?this.style.cssText:this.getAttribute("style")},tabindex:function(){var c=this.getAttributeNode("tabindex");return(c&&c.specified)?c.nodeValue:null},type:function(){return this.getAttribute("type")},maxlength:function(){var c=this.getAttributeNode("maxLength");return(c&&c.specified)?c.nodeValue:null}};a.MAXLENGTH=a.maxLength=a.maxlength;var e=l.Slick=(this.Slick||{});e.version="1.1.7";e.search=function(o,p,c){return l.search(o,p,c)};e.find=function(c,o){return l.search(c,o,null,true)};e.contains=function(c,o){l.setDocument(c);return l.contains(c,o)};e.getAttribute=function(o,c){l.setDocument(o);return l.getAttribute(o,c)};e.hasAttribute=function(o,c){l.setDocument(o);return l.hasAttribute(o,c)};e.match=function(o,c){if(!(o&&c)){return false}if(!c||c===o){return true}l.setDocument(o);return l.matchNode(o,c)};e.defineAttributeGetter=function(c,o){l.attributeGetters[c]=o;return this};e.lookupAttributeGetter=function(c){return l.attributeGetters[c]};e.definePseudo=function(c,o){l["pseudo:"+c]=function(q,p){return o.call(q,p)};return this};e.lookupPseudo=function(c){var o=l["pseudo:"+c];if(o){return function(p){return o.call(this,p)}}return null};e.override=function(o,c){l.override(o,c);return this};e.isXML=l.isXML;e.uidOf=function(c){return l.getUIDHTML(c)};if(!this.Slick){this.Slick=e}}).apply((typeof exports!="undefined")?exports:this);var Element=this.Element=function(b,g){var h=Element.Constructors[b];if(h){return h(g)}if(typeof b!="string"){return document.id(b).set(g)}if(!g){g={}}if(!(/^[\w-]+$/).test(b)){var e=Slick.parse(b).expressions[0][0];b=(e.tag=="*")?"div":e.tag;if(e.id&&g.id==null){g.id=e.id}var d=e.attributes;if(d){for(var a,f=0,c=d.length;f<c;f++){a=d[f];if(g[a.key]!=null){continue}if(a.value!=null&&a.operator=="="){g[a.key]=a.value}else{if(!a.value&&!a.operator){g[a.key]=true}}}}if(e.classList&&g["class"]==null){g["class"]=e.classList.join(" ")}}return document.newElement(b,g)};if(Browser.Element){Element.prototype=Browser.Element.prototype;Element.prototype._fireEvent=(function(a){return function(b,c){return a.call(this,b,c)}})(Element.prototype.fireEvent)}new Type("Element",Element).mirror(function(a){if(Array.prototype[a]){return}var b={};b[a]=function(){var h=[],e=arguments,j=true;for(var g=0,d=this.length;g<d;g++){var f=this[g],c=h[g]=f[a].apply(f,e);j=(j&&typeOf(c)=="element")}return(j)?new Elements(h):h};Elements.implement(b)});if(!Browser.Element){Element.parent=Object;Element.Prototype={"$constructor":Element,"$family":Function.from("element").hide()};Element.mirror(function(a,b){Element.Prototype[a]=b})}Element.Constructors={};Element.Constructors=new Hash;var IFrame=new Type("IFrame",function(){var e=Array.link(arguments,{properties:Type.isObject,iframe:function(f){return(f!=null)}});var c=e.properties||{},b;if(e.iframe){b=document.id(e.iframe)}var d=c.onload||function(){};delete c.onload;c.id=c.name=[c.id,c.name,b?(b.id||b.name):"IFrame_"+String.uniqueID()].pick();b=new Element(b||"iframe",c);var a=function(){d.call(b.contentWindow)};if(window.frames[c.id]){a()}else{b.addListener("load",a)}return b});var Elements=this.Elements=function(a){if(a&&a.length){var e={},d;for(var c=0;d=a[c++];){var b=Slick.uidOf(d);if(!e[b]){e[b]=true;this.push(d)}}}};Elements.prototype={length:0};Elements.parent=Array;new Type("Elements",Elements).implement({filter:function(a,b){if(!a){return this}return new Elements(Array.filter(this,(typeOf(a)=="string")?function(c){return c.match(a)}:a,b))}.protect(),push:function(){var d=this.length;for(var b=0,a=arguments.length;b<a;b++){var c=document.id(arguments[b]);if(c){this[d++]=c}}return(this.length=d)}.protect(),unshift:function(){var b=[];for(var c=0,a=arguments.length;c<a;c++){var d=document.id(arguments[c]);if(d){b.push(d)}}return Array.prototype.unshift.apply(this,b)}.protect(),concat:function(){var b=new Elements(this);for(var c=0,a=arguments.length;c<a;c++){var d=arguments[c];if(Type.isEnumerable(d)){b.append(d)}else{b.push(d)}}return b}.protect(),append:function(c){for(var b=0,a=c.length;b<a;b++){this.push(c[b])}return this}.protect(),empty:function(){while(this.length){delete this[--this.length]}return this}.protect()});Elements.alias("extend","append");(function(){var g=Array.prototype.splice,a={"0":0,"1":1,length:2};g.call(a,1,1);if(a[1]==1){Elements.implement("splice",function(){var h=this.length;var e=g.apply(this,arguments);while(h>=this.length){delete this[h--]}return e}.protect())}Array.forEachMethod(function(h,e){Elements.implement(e,h)});Array.mirror(Elements);var f;try{f=(document.createElement("<input name=x>").name=="x")}catch(c){}var d=function(e){return(""+e).replace(/&/g,"&amp;").replace(/"/g,"&quot;")};var b=(function(){var k=document.createElement("style"),h=false;try{k.innerHTML="#justTesing{margin: 0px;}";h=!!k.innerHTML}catch(j){}return h})();Document.implement({newElement:function(h,j){if(j){if(j.checked!=null){j.defaultChecked=j.checked}if((j.type=="checkbox"||j.type=="radio")&&j.value==null){j.value="on"}if(!b&&h=="style"){var e=document.createElement("style");e.setAttribute("type","text/css");if(j.type){delete j.type}return this.id(e).set(j)}if(f){h="<"+h;if(j.name){h+=' name="'+d(j.name)+'"'}if(j.type){h+=' type="'+d(j.type)+'"'}h+=">";delete j.name;delete j.type}}return this.id(this.createElement(h)).set(j)}})})();(function(){Slick.uidOf(window);Slick.uidOf(document);Document.implement({newTextNode:function(e){return this.createTextNode(e)},getDocument:function(){return this},getWindow:function(){return this.window},id:(function(){var e={string:function(Q,P,l){Q=Slick.find(l,"#"+Q.replace(/(\W)/g,"\\$1"));return(Q)?e.element(Q,P):null},element:function(P,Q){Slick.uidOf(P);if(!Q&&!P.$family&&!(/^(?:object|embed)$/i).test(P.tagName)){var l=P.fireEvent;P._fireEvent=function(R,S){return l(R,S)};Object.append(P,Element.Prototype)}return P},object:function(P,Q,l){if(P.toElement){return e.element(P.toElement(l),Q)}return null}};e.textnode=e.whitespace=e.window=e.document=function(l){return l};return function(P,R,Q){if(P&&P.$family&&P.uniqueNumber){return P}var l=typeOf(P);return(e[l])?e[l](P,R,Q||document):null}})()});if(window.$==null){Window.implement("$",function(e,l){return document.id(e,l,this.document)})}Window.implement({getDocument:function(){return this.document},getWindow:function(){return this}});[Document,Element].invoke("implement",{getElements:function(e){return Slick.search(this,e,new Elements)},getElement:function(e){return document.id(Slick.find(this,e))}});var B={contains:function(e){return Slick.contains(this,e)}};if(!document.contains){Document.implement(B)}if(!document.createElement("div").contains){Element.implement(B)}Element.implement("hasChild",function(e){return this!==e&&this.contains(e)});(function(l,Q,e){this.Selectors={};var R=this.Selectors.Pseudo=new Hash();var P=function(){for(var S in R){if(R.hasOwnProperty(S)){Slick.definePseudo(S,R[S]);delete R[S]}}};Slick.search=function(T,U,S){P();return l.call(this,T,U,S)};Slick.find=function(S,T){P();return Q.call(this,S,T)};Slick.match=function(T,S){P();return e.call(this,T,S)}})(Slick.search,Slick.find,Slick.match);var o=function(Q,P){if(!Q){return P}Q=Object.clone(Slick.parse(Q));var l=Q.expressions;for(var e=l.length;e--;){l[e][0].combinator=P}return Q};Object.forEach({getNext:"~",getPrevious:"!~",getParent:"!"},function(e,l){Element.implement(l,function(P){return this.getElement(o(P,e))})});Object.forEach({getAllNext:"~",getAllPrevious:"!~",getSiblings:"~~",getChildren:">",getParents:"!"},function(e,l){Element.implement(l,function(P){return this.getElements(o(P,e))})});Element.implement({getFirst:function(e){return document.id(Slick.search(this,o(e,">"))[0])},getLast:function(e){return document.id(Slick.search(this,o(e,">")).getLast())},getWindow:function(){return this.ownerDocument.window},getDocument:function(){return this.ownerDocument},getElementById:function(e){return document.id(Slick.find(this,"#"+(""+e).replace(/(\W)/g,"\\$1")))},match:function(e){return !e||Slick.match(this,e)}});if(window.$$==null){Window.implement("$$",function(e){var T=new Elements;if(arguments.length==1&&typeof e=="string"){return Slick.search(this.document,e,T)}var Q=Array.flatten(arguments);for(var R=0,P=Q.length;R<P;R++){var S=Q[R];switch(typeOf(S)){case"element":T.push(S);break;case"string":Slick.search(this.document,S,T)}}return T})}if(window.$$==null){Window.implement("$$",function(e){if(arguments.length==1){if(typeof e=="string"){return Slick.search(this.document,e,new Elements)}else{if(Type.isEnumerable(e)){return new Elements(e)}}}return new Elements(arguments)})}var c={before:function(l,e){var P=e.parentNode;if(P){P.insertBefore(l,e)}},after:function(l,e){var P=e.parentNode;if(P){P.insertBefore(l,e.nextSibling)}},bottom:function(l,e){e.appendChild(l)},top:function(l,e){e.insertBefore(l,e.firstChild)}};c.inside=c.bottom;Object.each(c,function(l,P){P=P.capitalize();var e={};e["inject"+P]=function(Q){l(this,document.id(Q,true));return this};e["grab"+P]=function(Q){l(document.id(Q,true),this);return this};Element.implement(e)});var w={},A={};var a={};Array.forEach(["type","value","defaultValue","accessKey","cellPadding","cellSpacing","colSpan","frameBorder","rowSpan","tabIndex","useMap"],function(e){a[e.toLowerCase()]=e});a.html="innerHTML";a.text=(document.createElement("div").textContent==null)?"innerText":"textContent";Object.forEach(a,function(l,e){A[e]=function(P,Q){P[l]=Q};w[e]=function(P){return P[l]}});A.text=(function(e){return function(l,P){if(l.get("tag")=="style"){l.set("html",P)}else{l[a.text]=P}}})(A.text);w.text=(function(e){return function(l){return(l.get("tag")=="style")?l.innerHTML:e(l)}})(w.text);var t=["compact","nowrap","ismap","declare","noshade","checked","disabled","readOnly","multiple","selected","noresize","defer","defaultChecked","autofocus","controls","autoplay","loop"];var F={};Array.forEach(t,function(e){var l=e.toLowerCase();F[l]=e;A[l]=function(P,Q){P[e]=!!Q};w[l]=function(P){return !!P[e]}});Object.append(A,{"class":function(e,l){("className" in e)?e.className=(l||""):e.setAttribute("class",l)},"for":function(e,l){("htmlFor" in e)?e.htmlFor=l:e.setAttribute("for",l)},style:function(e,l){(e.style)?e.style.cssText=l:e.setAttribute("style",l)},value:function(e,l){e.value=(l!=null)?l:""}});w["class"]=function(e){return("className" in e)?e.className||null:e.getAttribute("class")};var K=document.createElement("button");try{K.type="button"}catch(M){}if(K.type!="button"){A.type=function(e,l){e.setAttribute("type",l)}}K=null;var n=(function(){var Q=document.createElement("style"),l=false;try{Q.innerHTML="#justTesing{margin: 0px;}";l=!!Q.innerHTML}catch(P){}return l})();var b=document.createElement("input"),m,k;b.value="t";b.type="submit";m=b.value!="t";try{b.type="email";k=b.type=="email"}catch(M){}b=null;if(m||!k){A.type=function(P,l){try{var Q=P.value;P.type=l;P.value=Q}catch(R){}}}var d=(function(e){e.random="attribute";return(e.getAttribute("random")=="attribute")})(document.createElement("div"));var G=(function(e){e.innerHTML='<object><param name="should_fix" value="the unknown" /></object>';return e.cloneNode(true).firstChild.childNodes.length!=1})(document.createElement("div"));var D=!!document.createElement("div").classList;var g=function(e){var l=(e||"").clean().split(" "),P={};return l.filter(function(Q){if(Q!==""&&!P[Q]){return P[Q]=Q}})};var H=function(e){this.classList.add(e)};var u=function(e){this.classList.remove(e)};Element.implement({setProperty:function(l,P){var Q=A[l.toLowerCase()];if(Q){Q(this,P)}else{var e;if(d){e=this.retrieve("$attributeWhiteList",{})}if(P==null){this.removeAttribute(l);if(d){delete e[l]}}else{this.setAttribute(l,""+P);if(d){e[l]=true}}}return this},setProperties:function(e){for(var l in e){this.setProperty(l,e[l])}return this},getProperty:function(R){var P=w[R.toLowerCase()];if(P){return P(this)}if(d){var l=this.getAttributeNode(R),Q=this.retrieve("$attributeWhiteList",{});if(!l){return null}if(l.expando&&!Q[R]){var S=this.outerHTML;if(S.substr(0,S.search(/\/?['"]?>(?![^<]*<['"])/)).indexOf(R)<0){return null}Q[R]=true}}var e=Slick.getAttribute(this,R);return(!e&&!Slick.hasAttribute(this,R))?null:e},getProperties:function(){var e=Array.from(arguments);return e.map(this.getProperty,this).associate(e)},removeProperty:function(e){return this.setProperty(e,null)},removeProperties:function(){Array.each(arguments,this.removeProperty,this);return this},set:function(P,l){var e=Element.Properties[P];(e&&e.set)?e.set.call(this,l):this.setProperty(P,l)}.overloadSetter(),get:function(l){var e=Element.Properties[l];return(e&&e.get)?e.get.apply(this):this.getProperty(l)}.overloadGetter(),erase:function(l){var e=Element.Properties[l];(e&&e.erase)?e.erase.apply(this):this.removeProperty(l);return this},hasClass:D?function(e){return this.classList.contains(e)}:function(e){return g(this.className).contains(e)},addClass:D?function(e){g(e).forEach(H,this);return this}:function(e){this.className=g(e+" "+this.className).join(" ");return this},removeClass:D?function(e){g(e).forEach(u,this);return this}:function(e){var l=g(this.className);g(e).forEach(l.erase,l);this.className=l.join(" ");return this},toggleClass:function(e,l){if(l==null){l=!this.hasClass(e)}return(l)?this.addClass(e):this.removeClass(e)},adopt:function(){var Q=this,e,S=Array.flatten(arguments),R=S.length;if(R>1){Q=e=document.createDocumentFragment()}for(var P=0;P<R;P++){var l=document.id(S[P],true);if(l){Q.appendChild(l)}}if(e){this.appendChild(e)}return this},appendText:function(l,e){return this.grab(this.getDocument().newTextNode(l),e)},grab:function(l,e){c[e||"bottom"](document.id(l,true),this);return this},inject:function(l,e){c[e||"bottom"](this,document.id(l,true));return this},replaces:function(e){e=document.id(e,true);e.parentNode.replaceChild(this,e);return this},wraps:function(l,e){l=document.id(l,true);return this.replaces(l).grab(l,e)},getSelected:function(){this.selectedIndex;return new Elements(Array.from(this.options).filter(function(e){return e.selected}))},toQueryString:function(){var e=[];this.getElements("input, select, textarea").each(function(P){var l=P.type;if(!P.name||P.disabled||l=="submit"||l=="reset"||l=="file"||l=="image"){return}var Q=(P.get("tag")=="select")?P.getSelected().map(function(R){return document.id(R).get("value")}):((l=="radio"||l=="checkbox")&&!P.checked)?null:P.get("value");Array.from(Q).each(function(R){if(typeof R!="undefined"){e.push(encodeURIComponent(P.name)+"="+encodeURIComponent(R))}})});return e.join("&")}});var j={before:"beforeBegin",after:"afterEnd",bottom:"beforeEnd",top:"afterBegin",inside:"beforeEnd"};Element.implement("appendHTML",("insertAdjacentHTML" in document.createElement("div"))?function(l,e){this.insertAdjacentHTML(j[e||"bottom"],l);return this}:function(U,R){var P=new Element("div",{html:U}),T=P.childNodes,Q=P.firstChild;if(!Q){return this}if(T.length>1){Q=document.createDocumentFragment();for(var S=0,e=T.length;S<e;S++){Q.appendChild(T[S])}}c[R||"bottom"](Q,this);return this});var s={},C={};var J=function(e){return(C[e]||(C[e]={}))};var E=function(l){var e=l.uniqueNumber;if(l.removeEvents){l.removeEvents()}if(l.clearAttributes){l.clearAttributes()}if(e!=null){delete s[e];delete C[e]}return l};var O={input:"checked",option:"selected",textarea:"value"};Element.implement({destroy:function(){var e=E(this).getElementsByTagName("*");Array.each(e,E);Element.dispose(this);return null},empty:function(){Array.from(this.childNodes).each(Element.dispose);return this},dispose:function(){return(this.parentNode)?this.parentNode.removeChild(this):this},clone:function(S,Q){S=S!==false;var X=this.cloneNode(S),P=[X],R=[this],V;if(S){P.append(Array.from(X.getElementsByTagName("*")));R.append(Array.from(this.getElementsByTagName("*")))}for(V=P.length;V--;){var T=P[V],W=R[V];if(!Q){T.removeAttribute("id")}if(T.clearAttributes){T.clearAttributes();T.mergeAttributes(W);T.removeAttribute("uniqueNumber");if(T.options){var aa=T.options,e=W.options;for(var U=aa.length;U--;){aa[U].selected=e[U].selected}}}var l=O[W.tagName.toLowerCase()];if(l&&W[l]){T[l]=W[l]}}if(G){var Y=X.getElementsByTagName("object"),Z=this.getElementsByTagName("object");for(V=Y.length;V--;){Y[V].outerHTML=Z[V].outerHTML}}return document.id(X)}});[Element,Window,Document].invoke("implement",{addListener:function(l,e){if(window.attachEvent&&!window.addEventListener){s[Slick.uidOf(this)]=this}if(this.addEventListener){this.addEventListener(l,e,!!arguments[2])}else{this.attachEvent("on"+l,e)}return this},removeListener:function(l,e){if(this.removeEventListener){this.removeEventListener(l,e,!!arguments[2])}else{this.detachEvent("on"+l,e)}return this},retrieve:function(l,e){var Q=J(Slick.uidOf(this)),P=Q[l];if(e!=null&&P==null){P=Q[l]=e}return P!=null?P:null},store:function(l,e){var P=J(Slick.uidOf(this));P[l]=e;return this},eliminate:function(e){var l=J(Slick.uidOf(this));delete l[e];return this}});if(window.attachEvent&&!window.addEventListener){var q=function(){Object.each(s,E);if(window.CollectGarbage){CollectGarbage()}window.removeListener("unload",q)};window.addListener("unload",q)}Element.Properties={};Element.Properties=new Hash;Element.Properties.style={set:function(e){this.style.cssText=e},get:function(){return this.style.cssText},erase:function(){this.style.cssText=""}};Element.Properties.tag={get:function(){return this.tagName.toLowerCase()}};Element.Properties.html={set:function(e){if(e==null){e=""}else{if(typeOf(e)=="array"){e=e.join("")}}if(this.styleSheet&&!n){this.styleSheet.cssText=e}else{this.innerHTML=e}},erase:function(){this.set("html","")}};var h=true,p=true,r=true;var L=document.createElement("div");L.innerHTML="<nav></nav>";h=(L.childNodes.length==1);if(!h){var y="abbr article aside audio canvas datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video".split(" "),f=document.createDocumentFragment(),I=y.length;while(I--){f.createElement(y[I])}}L=null;p=Function.attempt(function(){var e=document.createElement("table");e.innerHTML="<tr><td></td></tr>";return true});var N=document.createElement("tr"),x="<td></td>";N.innerHTML=x;r=(N.innerHTML==x);N=null;if(!p||!r||!h){Element.Properties.html.set=(function(l){var e={table:[1,"<table>","</table>"],select:[1,"<select>","</select>"],tbody:[2,"<table><tbody>","</tbody></table>"],tr:[3,"<table><tbody><tr>","</tr></tbody></table>"]};e.thead=e.tfoot=e.tbody;return function(P){if(this.styleSheet){return l.call(this,P)}var Q=e[this.get("tag")];if(!Q&&!h){Q=[0,"",""]}if(!Q){return l.call(this,P)}var T=Q[0],S=document.createElement("div"),R=S;if(!h){f.appendChild(S)}S.innerHTML=[Q[1],P,Q[2]].flatten().join("");while(T--){R=R.firstChild}this.empty().adopt(R.childNodes);if(!h){f.removeChild(S)}S=null}})(Element.Properties.html.set)}var v=document.createElement("form");v.innerHTML="<select><option>s</option></select>";if(v.firstChild.value!="s"){Element.Properties.value={set:function(S){var l=this.get("tag");if(l!="select"){return this.setProperty("value",S)}var P=this.getElements("option");S=String(S);for(var Q=0;Q<P.length;Q++){var R=P[Q],e=R.getAttributeNode("value"),T=(e&&e.specified)?R.value:R.get("text");if(T===S){return R.selected=true}}},get:function(){var P=this,l=P.get("tag");if(l!="select"&&l!="option"){return this.getProperty("value")}if(l=="select"&&!(P=P.getSelected()[0])){return""}var e=P.getAttributeNode("value");return(e&&e.specified)?P.value:P.get("text")}}}v=null;if(document.createElement("div").getAttributeNode("id")){Element.Properties.id={set:function(e){this.id=this.getAttributeNode("id").value=e},get:function(){return this.id||null},erase:function(){this.id=this.getAttributeNode("id").value=""}}}})();(function(){var c={};var b=function(e){var f;if(e.wheelDelta){f=e.wheelDelta%120==0?e.wheelDelta/120:e.wheelDelta/12}else{var d=e.deltaY||e.detail||0;f=-(d%3==0?d/3:d*10)}return f};var a=this.DOMEvent=new Type("DOMEvent",function(d,h){if(!h){h=window}d=d||h.event;if(d.$extended){return d}this.event=d;this.$extended=true;this.shift=d.shiftKey;this.control=d.ctrlKey;this.alt=d.altKey;this.meta=d.metaKey;var k=this.type=d.type;var j=d.target||d.srcElement;while(j&&j.nodeType==3){j=j.parentNode}this.target=document.id(j);if(k.indexOf("key")==0){var e=this.code=(d.which||d.keyCode);this.key=c[e]||Object.keyOf(Event.Keys,e);if(k=="keydown"||k=="keyup"){if(e>111&&e<124){this.key="f"+(e-111)}else{if(e>95&&e<106){this.key=e-96}}}if(this.key==null){this.key=String.fromCharCode(e).toLowerCase()}}else{if(k=="click"||k=="dblclick"||k=="contextmenu"||k=="wheel"||k=="DOMMouseScroll"||k.indexOf("mouse")==0){var l=h.document;l=(!l.compatMode||l.compatMode=="CSS1Compat")?l.html:l.body;this.page={x:(d.pageX!=null)?d.pageX:d.clientX+l.scrollLeft,y:(d.pageY!=null)?d.pageY:d.clientY+l.scrollTop};this.client={x:(d.pageX!=null)?d.pageX-h.pageXOffset:d.clientX,y:(d.pageY!=null)?d.pageY-h.pageYOffset:d.clientY};if(k=="DOMMouseScroll"||k=="wheel"||k=="mousewheel"){this.wheel=b(d)}this.rightClick=(d.which==3||d.button==2);if(k=="mouseover"||k=="mouseout"){var m=d.relatedTarget||d[(k=="mouseover"?"from":"to")+"Element"];while(m&&m.nodeType==3){m=m.parentNode}this.relatedTarget=document.id(m)}}else{if(k.indexOf("touch")==0||k.indexOf("gesture")==0){this.rotation=d.rotation;this.scale=d.scale;this.targetTouches=d.targetTouches;this.changedTouches=d.changedTouches;var g=this.touches=d.touches;if(g&&g[0]){var f=g[0];this.page={x:f.pageX,y:f.pageY};this.client={x:f.clientX,y:f.clientY}}}}}if(!this.client){this.client={}}if(!this.page){this.page={}}});a.implement({stop:function(){return this.preventDefault().stopPropagation()},stopPropagation:function(){if(this.event.stopPropagation){this.event.stopPropagation()}else{this.event.cancelBubble=true}return this},preventDefault:function(){if(this.event.preventDefault){this.event.preventDefault()}else{this.event.returnValue=false}return this}});a.defineKey=function(e,d){c[e]=d;return this};a.defineKeys=a.defineKey.overloadSetter(true);a.defineKeys({"38":"up","40":"down","37":"left","39":"right","27":"esc","32":"space","8":"backspace","9":"tab","46":"delete","13":"enter"})})();var Event=DOMEvent;Event.Keys={};Event.Keys=new Hash(Event.Keys);(function(){Element.Properties.events={set:function(b){this.addEvents(b)}};[Element,Window,Document].invoke("implement",{addEvent:function(f,h){var j=this.retrieve("events",{});if(!j[f]){j[f]={keys:[],values:[]}}if(j[f].keys.contains(h)){return this}j[f].keys.push(h);var g=f,b=Element.Events[f],d=h,k=this;if(b){if(b.onAdd){b.onAdd.call(this,h,f)}if(b.condition){d=function(l){if(b.condition.call(this,l,f)){return h.call(this,l)}return true}}if(b.base){g=Function.from(b.base).call(this,f)}}var e=function(){return h.call(k)};var c=Element.NativeEvents[g];if(c){if(c==2){e=function(l){l=new DOMEvent(l,k.getWindow());if(d.call(k,l)===false){l.stop()}}}this.addListener(g,e,arguments[2])}j[f].values.push(e);return this},removeEvent:function(e,d){var c=this.retrieve("events");if(!c||!c[e]){return this}var h=c[e];var b=h.keys.indexOf(d);if(b==-1){return this}var g=h.values[b];delete h.keys[b];delete h.values[b];var f=Element.Events[e];if(f){if(f.onRemove){f.onRemove.call(this,d,e)}if(f.base){e=Function.from(f.base).call(this,e)}}return(Element.NativeEvents[e])?this.removeListener(e,g,arguments[2]):this},addEvents:function(b){for(var c in b){this.addEvent(c,b[c])}return this},removeEvents:function(b){var d;if(typeOf(b)=="object"){for(d in b){this.removeEvent(d,b[d])}return this}var c=this.retrieve("events");if(!c){return this}if(!b){for(d in c){this.removeEvents(d)}this.eliminate("events")}else{if(c[b]){c[b].keys.each(function(e){this.removeEvent(b,e)},this);delete c[b]}}return this},fireEvent:function(e,c,b){var d=this.retrieve("events");if(!d||!d[e]){return this}c=Array.from(c);d[e].keys.each(function(f){if(b){f.delay(b,this,c)}else{f.apply(this,c)}},this);return this},cloneEvents:function(e,d){e=document.id(e);var c=e.retrieve("events");if(!c){return this}if(!d){for(var b in c){this.cloneEvents(e,b)}}else{if(c[d]){c[d].keys.each(function(f){this.addEvent(d,f)},this)}}return this}});Element.NativeEvents={click:2,dblclick:2,mouseup:2,mousedown:2,contextmenu:2,wheel:2,mousewheel:2,DOMMouseScroll:2,mouseover:2,mouseout:2,mousemove:2,selectstart:2,selectend:2,keydown:2,keypress:2,keyup:2,orientationchange:2,touchstart:2,touchmove:2,touchend:2,touchcancel:2,gesturestart:2,gesturechange:2,gestureend:2,focus:2,blur:2,change:2,reset:2,select:2,submit:2,paste:2,input:2,load:2,unload:1,beforeunload:2,resize:1,move:1,DOMContentLoaded:1,readystatechange:1,hashchange:1,popstate:2,error:1,abort:1,scroll:1,message:2};Element.Events={mousewheel:{base:"onwheel" in document?"wheel":"onmousewheel" in document?"mousewheel":"DOMMouseScroll"}};var a=function(b){var c=b.relatedTarget;if(c==null){return true}if(!c){return false}return(c!=this&&c.prefix!="xul"&&typeOf(this)!="document"&&!this.contains(c))};if("onmouseenter" in document.documentElement){Element.NativeEvents.mouseenter=Element.NativeEvents.mouseleave=2;Element.MouseenterCheck=a}else{Element.Events.mouseenter={base:"mouseover",condition:a};Element.Events.mouseleave={base:"mouseout",condition:a}}if(!window.addEventListener){Element.NativeEvents.propertychange=2;Element.Events.change={base:function(){var b=this.type;return(this.get("tag")=="input"&&(b=="radio"||b=="checkbox"))?"propertychange":"change"},condition:function(b){return b.type!="propertychange"||b.event.propertyName=="checked"}}}Element.Events=new Hash(Element.Events)})();(function(){if(Browser.Platform.ios||Browser.Platform.android){try{document.createEvent("TouchEvent")}catch(b){return}["touchstart","touchmove","touchend"].each(function(d){Element.NativeEvents[d]=2});var a={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"};var c=function(d){var e=d.event.changedTouches[0];d.page={x:e.pageX,y:e.pageY};return true};for(var b in a){Element.Events[b]={base:a[b],condition:c}}}})();(function(){var a=this.Class=new Type("Class",function(h){if(instanceOf(h,Function)){h={initialize:h}}var g=function(){e(this);if(g.$prototyping){return this}this.$caller=null;var j=(this.initialize)?this.initialize.apply(this,arguments):this;this.$caller=this.caller=null;return j}.extend(this).implement(h);g.$constructor=a;g.prototype.$constructor=g;g.prototype.parent=c;return g});var c=function(){if(!this.$caller){throw new Error('The method "parent" cannot be called.')}var g=this.$caller.$name,h=this.$caller.$owner.parent,j=(h)?h.prototype[g]:null;if(!j){throw new Error('The method "'+g+'" has no parent.')}return j.apply(this,arguments)};var e=function(g){for(var h in g){var k=g[h];switch(typeOf(k)){case"object":var j=function(){};j.prototype=k;g[h]=e(new j);break;case"array":g[h]=k.clone();break}}return g};var b=function(g,h,k){if(k.$origin){k=k.$origin}var j=function(){if(k.$protected&&this.$caller==null){throw new Error('The method "'+h+'" cannot be called.')}var m=this.caller,n=this.$caller;this.caller=n;this.$caller=j;var l=k.apply(this,arguments);this.$caller=n;this.caller=m;return l}.extend({$owner:g,$origin:k,$name:h});return j};var f=function(h,j,g){if(a.Mutators.hasOwnProperty(h)){j=a.Mutators[h].call(this,j);if(j==null){return this}}if(typeOf(j)=="function"){if(j.$hidden){return this}this.prototype[h]=(g)?j:b(this,h,j)}else{Object.merge(this.prototype,h,j)}return this};var d=function(g){g.$prototyping=true;var h=new g;delete g.$prototyping;return h};a.implement("implement",f.overloadSetter());a.Mutators={Extends:function(g){this.parent=g;this.prototype=d(g)},Implements:function(g){Array.from(g).each(function(k){var h=new k;for(var j in h){f.call(this,j,h[j],true)}},this)}}})();(function(){this.Chain=new Class({$chain:[],chain:function(){this.$chain.append(Array.flatten(arguments));return this},callChain:function(){return(this.$chain.length)?this.$chain.shift().apply(this,arguments):false},clearChain:function(){this.$chain.empty();return this}});var a=function(b){return b.replace(/^on([A-Z])/,function(c,d){return d.toLowerCase()})};this.Events=new Class({$events:{},addEvent:function(d,c,b){d=a(d);if(c==$empty){return this}this.$events[d]=(this.$events[d]||[]).include(c);if(b){c.internal=true}return this},addEvents:function(b){for(var c in b){this.addEvent(c,b[c])}return this},fireEvent:function(e,c,b){e=a(e);var


noone seemed to see this line so I took the liberty of putting it in bold for you all to notice, he he he.

for some reason it put too much in
Last edited at 4/26/2015 9:31 am