/*! * jQuery JavaScript Library v1.9.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-2-4 */ (function(a2,aG){var ai,w,aC=typeof aG,l=a2.document,aL=a2.location,bi=a2.jQuery,H=a2.$,aa={},a6=[],s="1.9.1",aI=a6.concat,ao=a6.push,a4=a6.slice,aM=a6.indexOf,z=aa.toString,V=aa.hasOwnProperty,aQ=s.trim,bJ=function(b3,b4){return new bJ.fn.init(b3,b4,w)},bA=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ac=/\S+/g,C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,br=/^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/,a=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,bh=/^[\],:{}\s]*$/,bk=/(?:^|:|,)(?:\s*\[)+/g,bG=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,aZ=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,bS=/^-ms-/,aV=/-([\da-z])/gi,M=function(b3,b4){return b4.toUpperCase()},bW=function(b3){if(l.addEventListener||b3.type==="load"||l.readyState==="complete"){bl();bJ.ready()}},bl=function(){if(l.addEventListener){l.removeEventListener("DOMContentLoaded",bW,false);a2.removeEventListener("load",bW,false)}else{l.detachEvent("onreadystatechange",bW);a2.detachEvent("onload",bW)}};bJ.fn=bJ.prototype={jquery:s,constructor:bJ,init:function(b3,b6,b5){var b4,b7;if(!b3){return this}if(typeof b3==="string"){if(b3.charAt(0)==="<"&&b3.charAt(b3.length-1)===">"&&b3.length>=3){b4=[null,b3,null]}else{b4=br.exec(b3)}if(b4&&(b4[1]||!b6)){if(b4[1]){b6=b6 instanceof bJ?b6[0]:b6;bJ.merge(this,bJ.parseHTML(b4[1],b6&&b6.nodeType?b6.ownerDocument||b6:l,true));if(a.test(b4[1])&&bJ.isPlainObject(b6)){for(b4 in b6){if(bJ.isFunction(this[b4])){this[b4](b6[b4])}else{this.attr(b4,b6[b4])}}}return this}else{b7=l.getElementById(b4[2]);if(b7&&b7.parentNode){if(b7.id!==b4[2]){return b5.find(b3)}this.length=1;this[0]=b7}this.context=l;this.selector=b3;return this}}else{if(!b6||b6.jquery){return(b6||b5).find(b3)}else{return this.constructor(b6).find(b3)}}}else{if(b3.nodeType){this.context=this[0]=b3;this.length=1;return this}else{if(bJ.isFunction(b3)){return b5.ready(b3)}}}if(b3.selector!==aG){this.selector=b3.selector;this.context=b3.context}return bJ.makeArray(b3,this)},selector:"",length:0,size:function(){return this.length},toArray:function(){return a4.call(this)},get:function(b3){return b3==null?this.toArray():(b3<0?this[this.length+b3]:this[b3])},pushStack:function(b3){var b4=bJ.merge(this.constructor(),b3);b4.prevObject=this;b4.context=this.context;return b4},each:function(b4,b3){return bJ.each(this,b4,b3)},ready:function(b3){bJ.ready.promise().done(b3);return this},slice:function(){return this.pushStack(a4.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(b5){var b3=this.length,b4=+b5+(b5<0?b3:0);return this.pushStack(b4>=0&&b40){return}ai.resolveWith(l,[bJ]);if(bJ.fn.trigger){bJ(l).trigger("ready").off("ready")}},isFunction:function(b3){return bJ.type(b3)==="function"},isArray:Array.isArray||function(b3){return bJ.type(b3)==="array"},isWindow:function(b3){return b3!=null&&b3==b3.window},isNumeric:function(b3){return !isNaN(parseFloat(b3))&&isFinite(b3)},type:function(b3){if(b3==null){return String(b3)}return typeof b3==="object"||typeof b3==="function"?aa[z.call(b3)]||"object":typeof b3},isPlainObject:function(b5){if(!b5||bJ.type(b5)!=="object"||b5.nodeType||bJ.isWindow(b5)){return false}try{if(b5.constructor&&!V.call(b5,"constructor")&&!V.call(b5.constructor.prototype,"isPrototypeOf")){return false}}catch(b4){return false}var b3;for(b3 in b5){}return b3===aG||V.call(b5,b3)},isEmptyObject:function(b4){var b3;for(b3 in b4){return false}return true},error:function(b3){throw new Error(b3)},parseHTML:function(b7,b5,b6){if(!b7||typeof b7!=="string"){return null}if(typeof b5==="boolean"){b6=b5;b5=false}b5=b5||l;var b4=a.exec(b7),b3=!b6&&[];if(b4){return[b5.createElement(b4[1])]}b4=bJ.buildFragment([b7],b5,b3);if(b3){bJ(b3).remove()}return bJ.merge([],b4.childNodes)},parseJSON:function(b3){if(a2.JSON&&a2.JSON.parse){return a2.JSON.parse(b3)}if(b3===null){return b3}if(typeof b3==="string"){b3=bJ.trim(b3);if(b3){if(bh.test(b3.replace(bG,"@").replace(aZ,"]").replace(bk,""))){return(new Function("return "+b3))()}}}bJ.error("Invalid JSON: "+b3)},parseXML:function(b5){var b3,b4;if(!b5||typeof b5!=="string"){return null}try{if(a2.DOMParser){b4=new DOMParser();b3=b4.parseFromString(b5,"text/xml")}else{b3=new ActiveXObject("Microsoft.XMLDOM");b3.async="false";b3.loadXML(b5)}}catch(b6){b3=aG}if(!b3||!b3.documentElement||b3.getElementsByTagName("parsererror").length){bJ.error("Invalid XML: "+b5)}return b3},noop:function(){},globalEval:function(b3){if(b3&&bJ.trim(b3)){(a2.execScript||function(b4){a2["eval"].call(a2,b4)})(b3)}},camelCase:function(b3){return b3.replace(bS,"ms-").replace(aV,M)},nodeName:function(b4,b3){return b4.nodeName&&b4.nodeName.toLowerCase()===b3.toLowerCase()},each:function(b8,b9,b4){var b7,b5=0,b6=b8.length,b3=ab(b8);if(b4){if(b3){for(;b50&&(b4-1) in b5)}w=bJ(l);var bY={};function ae(b4){var b3=bY[b4]={};bJ.each(b4.match(ac)||[],function(b6,b5){b3[b5]=true});return b3}bJ.Callbacks=function(cd){cd=typeof cd==="string"?(bY[cd]||ae(cd)):bJ.extend({},cd);var b7,b6,b3,b8,b9,b5,ca=[],cb=!cd.once&&[],b4=function(ce){b6=cd.memory&&ce;b3=true;b9=b5||0;b5=0;b8=ca.length;b7=true;for(;ca&&b9-1){ca.splice(cf,1);if(b7){if(cf<=b8){b8--}if(cf<=b9){b9--}}}})}return this},has:function(ce){return ce?bJ.inArray(ce,ca)>-1:!!(ca&&ca.length)},empty:function(){ca=[];return this},disable:function(){ca=cb=b6=aG;return this},disabled:function(){return !ca},lock:function(){cb=aG;if(!b6){cc.disable()}return this},locked:function(){return !cb},fireWith:function(cf,ce){ce=ce||[];ce=[cf,ce.slice?ce.slice():ce];if(ca&&(!b3||cb)){if(b7){cb.push(ce)}else{b4(ce)}}return this},fire:function(){cc.fireWith(this,arguments);return this},fired:function(){return !!b3}};return cc};bJ.extend({Deferred:function(b5){var b4=[["resolve","done",bJ.Callbacks("once memory"),"resolved"],["reject","fail",bJ.Callbacks("once memory"),"rejected"],["notify","progress",bJ.Callbacks("memory")]],b6="pending",b7={state:function(){return b6},always:function(){b3.done(arguments).fail(arguments);return this},then:function(){var b8=arguments;return bJ.Deferred(function(b9){bJ.each(b4,function(cb,ca){var cd=ca[0],cc=bJ.isFunction(b8[cb])&&b8[cb];b3[ca[1]](function(){var ce=cc&&cc.apply(this,arguments);if(ce&&bJ.isFunction(ce.promise)){ce.promise().done(b9.resolve).fail(b9.reject).progress(b9.notify)}else{b9[cd+"With"](this===b7?b9.promise():this,cc?[ce]:arguments)}})});b8=null}).promise()},promise:function(b8){return b8!=null?bJ.extend(b8,b7):b7}},b3={};b7.pipe=b7.then;bJ.each(b4,function(b9,b8){var cb=b8[2],ca=b8[3];b7[b8[1]]=cb.add;if(ca){cb.add(function(){b6=ca},b4[b9^1][2].disable,b4[2][2].lock)}b3[b8[0]]=function(){b3[b8[0]+"With"](this===b3?b7:this,arguments);return this};b3[b8[0]+"With"]=cb.fireWith});b7.promise(b3);if(b5){b5.call(b3,b3)}return b3},when:function(b7){var b5=0,b9=a4.call(arguments),b3=b9.length,b4=b3!==1||(b7&&bJ.isFunction(b7.promise))?b3:0,cc=b4===1?b7:bJ.Deferred(),b6=function(ce,cf,cd){return function(cg){cf[ce]=this;cd[ce]=arguments.length>1?a4.call(arguments):cg;if(cd===cb){cc.notifyWith(cf,cd)}else{if(!(--b4)){cc.resolveWith(cf,cd)}}}},cb,b8,ca;if(b3>1){cb=new Array(b3);b8=new Array(b3);ca=new Array(b3);for(;b5
a";cd=b3.getElementsByTagName("*");cb=b3.getElementsByTagName("a")[0];if(!cd||!cb||!cd.length){return{}}cc=l.createElement("select");b5=cc.appendChild(l.createElement("option"));ca=b3.getElementsByTagName("input")[0];cb.style.cssText="top:1px;float:left;opacity:.5";ce={getSetAttribute:b3.className!=="t",leadingWhitespace:b3.firstChild.nodeType===3,tbody:!b3.getElementsByTagName("tbody").length,htmlSerialize:!!b3.getElementsByTagName("link").length,style:/top/.test(cb.getAttribute("style")),hrefNormalized:cb.getAttribute("href")==="/a",opacity:/^0.5/.test(cb.style.opacity),cssFloat:!!cb.style.cssFloat,checkOn:!!ca.value,optSelected:b5.selected,enctype:!!l.createElement("form").enctype,html5Clone:l.createElement("nav").cloneNode(true).outerHTML!=="<:nav>",boxModel:l.compatMode==="CSS1Compat",deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true,boxSizingReliable:true,pixelPosition:false};ca.checked=true;ce.noCloneChecked=ca.cloneNode(true).checked;cc.disabled=true;ce.optDisabled=!b5.disabled;try{delete b3.test}catch(b8){ce.deleteExpando=false}ca=l.createElement("input");ca.setAttribute("value","");ce.input=ca.getAttribute("value")==="";ca.value="t";ca.setAttribute("type","radio");ce.radioValue=ca.value==="t";ca.setAttribute("checked","t");ca.setAttribute("name","t");b9=l.createDocumentFragment();b9.appendChild(ca);ce.appendChecked=ca.checked;ce.checkClone=b9.cloneNode(true).cloneNode(true).lastChild.checked;if(b3.attachEvent){b3.attachEvent("onclick",function(){ce.noCloneEvent=false});b3.cloneNode(true).click()}for(b6 in {submit:true,change:true,focusin:true}){b3.setAttribute(b7="on"+b6,"t");ce[b6+"Bubbles"]=b7 in a2||b3.attributes[b7].expando===false}b3.style.backgroundClip="content-box";b3.cloneNode(true).style.backgroundClip="";ce.clearCloneStyle=b3.style.backgroundClip==="content-box";bJ(function(){var cg,cj,ci,ch="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",cf=l.getElementsByTagName("body")[0];if(!cf){return}cg=l.createElement("div");cg.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px";cf.appendChild(cg).appendChild(b3);b3.innerHTML="
t
";ci=b3.getElementsByTagName("td");ci[0].style.cssText="padding:0;margin:0;border:0;display:none";b4=(ci[0].offsetHeight===0);ci[0].style.display="";ci[1].style.display="none";ce.reliableHiddenOffsets=b4&&(ci[0].offsetHeight===0);b3.innerHTML="";b3.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;";ce.boxSizing=(b3.offsetWidth===4);ce.doesNotIncludeMarginInBodyOffset=(cf.offsetTop!==1);if(a2.getComputedStyle){ce.pixelPosition=(a2.getComputedStyle(b3,null)||{}).top!=="1%";ce.boxSizingReliable=(a2.getComputedStyle(b3,null)||{width:"4px"}).width==="4px";cj=b3.appendChild(l.createElement("div"));cj.style.cssText=b3.style.cssText=ch;cj.style.marginRight=cj.style.width="0";b3.style.width="1px";ce.reliableMarginRight=!parseFloat((a2.getComputedStyle(cj,null)||{}).marginRight)}if(typeof b3.style.zoom!==aC){b3.innerHTML="";b3.style.cssText=ch+"width:1px;padding:1px;display:inline;zoom:1";ce.inlineBlockNeedsLayout=(b3.offsetWidth===3);b3.style.display="block";b3.innerHTML="
";b3.firstChild.style.width="5px";ce.shrinkWrapBlocks=(b3.offsetWidth!==3);if(ce.inlineBlockNeedsLayout){cf.style.zoom=1}}cf.removeChild(cg);cg=b3=ci=cj=null});cd=cc=b9=b5=cb=ca=null;return ce})();var bw=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,aN=/([A-Z])/g;function ba(b6,b4,b8,b7){if(!bJ.acceptData(b6)){return}var b9,cb,cc=bJ.expando,ca=typeof b4==="string",cd=b6.nodeType,b3=cd?bJ.cache:b6,b5=cd?b6[cc]:b6[cc]&&cc;if((!b5||!b3[b5]||(!b7&&!b3[b5].data))&&ca&&b8===aG){return}if(!b5){if(cd){b6[cc]=b5=a6.pop()||bJ.guid++}else{b5=cc}}if(!b3[b5]){b3[b5]={};if(!cd){b3[b5].toJSON=bJ.noop}}if(typeof b4==="object"||typeof b4==="function"){if(b7){b3[b5]=bJ.extend(b3[b5],b4)}else{b3[b5].data=bJ.extend(b3[b5].data,b4)}}b9=b3[b5];if(!b7){if(!b9.data){b9.data={}}b9=b9.data}if(b8!==aG){b9[bJ.camelCase(b4)]=b8}if(ca){cb=b9[b4];if(cb==null){cb=b9[bJ.camelCase(b4)]}}else{cb=b9}return cb}function Z(b6,b4,b7){if(!bJ.acceptData(b6)){return}var b9,b8,ca,cb=b6.nodeType,b3=cb?bJ.cache:b6,b5=cb?b6[bJ.expando]:bJ.expando;if(!b3[b5]){return}if(b4){ca=b7?b3[b5]:b3[b5].data;if(ca){if(!bJ.isArray(b4)){if(b4 in ca){b4=[b4]}else{b4=bJ.camelCase(b4);if(b4 in ca){b4=[b4]}else{b4=b4.split(" ")}}}else{b4=b4.concat(bJ.map(b4,bJ.camelCase))}for(b9=0,b8=b4.length;b91,null,true)},removeData:function(b3){return this.each(function(){bJ.removeData(this,b3)})}});function by(b5,b4,b6){if(b6===aG&&b5.nodeType===1){var b3="data-"+b4.replace(aN,"-$1").toLowerCase();b6=b5.getAttribute(b3);if(typeof b6==="string"){try{b6=b6==="true"?true:b6==="false"?false:b6==="null"?null:+b6+""===b6?+b6:bw.test(b6)?bJ.parseJSON(b6):b6}catch(b7){}bJ.data(b5,b4,b6)}else{b6=aG}}return b6}function N(b4){var b3;for(b3 in b4){if(b3==="data"&&bJ.isEmptyObject(b4[b3])){continue}if(b3!=="toJSON"){return false}}return true}bJ.extend({queue:function(b5,b4,b6){var b3;if(b5){b4=(b4||"fx")+"queue";b3=bJ._data(b5,b4);if(b6){if(!b3||bJ.isArray(b6)){b3=bJ._data(b5,b4,bJ.makeArray(b6))}else{b3.push(b6)}}return b3||[]}},dequeue:function(b8,b7){b7=b7||"fx";var b4=bJ.queue(b8,b7),b9=b4.length,b6=b4.shift(),b3=bJ._queueHooks(b8,b7),b5=function(){bJ.dequeue(b8,b7)};if(b6==="inprogress"){b6=b4.shift();b9--}b3.cur=b6;if(b6){if(b7==="fx"){b4.unshift("inprogress")}delete b3.stop;b6.call(b8,b5,b3)}if(!b9&&b3){b3.empty.fire()}},_queueHooks:function(b5,b4){var b3=b4+"queueHooks";return bJ._data(b5,b3)||bJ._data(b5,b3,{empty:bJ.Callbacks("once memory").add(function(){bJ._removeData(b5,b4+"queue");bJ._removeData(b5,b3)})})}});bJ.fn.extend({queue:function(b3,b4){var b5=2;if(typeof b3!=="string"){b4=b3;b3="fx";b5--}if(arguments.length1)},removeAttr:function(b3){return this.each(function(){bJ.removeAttr(this,b3)})},prop:function(b3,b4){return bJ.access(this,bJ.prop,b3,b4,arguments.length>1)},removeProp:function(b3){b3=bJ.propFix[b3]||b3;return this.each(function(){try{this[b3]=aG;delete this[b3]}catch(b4){}})},addClass:function(ca){var b4,b3,cb,b7,b5,b6=0,b8=this.length,b9=typeof ca==="string"&&ca;if(bJ.isFunction(ca)){return this.each(function(cc){bJ(this).addClass(ca.call(this,cc,this.className))})}if(b9){b4=(ca||"").match(ac)||[];for(;b6=0){cb=cb.replace(" "+b7+" "," ")}}b3.className=ca?bJ.trim(cb):""}}}return this},toggleClass:function(b6,b4){var b5=typeof b6,b3=typeof b4==="boolean";if(bJ.isFunction(b6)){return this.each(function(b7){bJ(this).toggleClass(b6.call(this,b7,this.className,b4),b4)})}return this.each(function(){if(b5==="string"){var b9,b8=0,b7=bJ(this),ca=b4,cb=b6.match(ac)||[];while((b9=cb[b8++])){ca=b3?ca:!b7.hasClass(b9);b7[ca?"addClass":"removeClass"](b9)}}else{if(b5===aC||b5==="boolean"){if(this.className){bJ._data(this,"__className__",this.className)}this.className=this.className||b6===false?"":bJ._data(this,"__className__")||""}}})},hasClass:function(b3){var b6=" "+b3+" ",b5=0,b4=this.length;for(;b5=0){return true}}return false},val:function(b6){var b4,b3,b7,b5=this[0];if(!arguments.length){if(b5){b3=bJ.valHooks[b5.type]||bJ.valHooks[b5.nodeName.toLowerCase()];if(b3&&"get" in b3&&(b4=b3.get(b5,"value"))!==aG){return b4}b4=b5.value;return typeof b4==="string"?b4.replace(ak,""):b4==null?"":b4}return}b7=bJ.isFunction(b6);return this.each(function(b9){var ca,b8=bJ(this);if(this.nodeType!==1){return}if(b7){ca=b6.call(this,b9,b8.val())}else{ca=b6}if(ca==null){ca=""}else{if(typeof ca==="number"){ca+=""}else{if(bJ.isArray(ca)){ca=bJ.map(ca,function(cb){return cb==null?"":cb+""})}}}b3=bJ.valHooks[this.type]||bJ.valHooks[this.nodeName.toLowerCase()];if(!b3||!("set" in b3)||b3.set(this,ca,"value")===aG){this.value=ca}})}});bJ.extend({valHooks:{option:{get:function(b3){var b4=b3.attributes.value;return !b4||b4.specified?b3.value:b3.text}},select:{get:function(b3){var b9,b5,cb=b3.options,b7=b3.selectedIndex,b6=b3.type==="select-one"||b7<0,ca=b6?null:[],b8=b6?b7+1:cb.length,b4=b7<0?b8:b6?b7:0;for(;b4=0});if(!b3.length){b4.selectedIndex=-1}return b3}}},attr:function(b8,b6,b9){var b3,b7,b5,b4=b8.nodeType;if(!b8||b4===3||b4===8||b4===2){return}if(typeof b8.getAttribute===aC){return bJ.prop(b8,b6,b9)}b7=b4!==1||!bJ.isXMLDoc(b8);if(b7){b6=b6.toLowerCase();b3=bJ.attrHooks[b6]||(L.test(b6)?bZ:a8)}if(b9!==aG){if(b9===null){bJ.removeAttr(b8,b6)}else{if(b3&&b7&&"set" in b3&&(b5=b3.set(b8,b9,b6))!==aG){return b5}else{b8.setAttribute(b6,b9+"");return b9}}}else{if(b3&&b7&&"get" in b3&&(b5=b3.get(b8,b6))!==null){return b5}else{if(typeof b8.getAttribute!==aC){b5=b8.getAttribute(b6)}return b5==null?aG:b5}}},removeAttr:function(b5,b7){var b3,b6,b4=0,b8=b7&&b7.match(ac);if(b8&&b5.nodeType===1){while((b3=b8[b4++])){b6=bJ.propFix[b3]||b3;if(L.test(b3)){if(!bP&&aq.test(b3)){b5[bJ.camelCase("default-"+b3)]=b5[b6]=false}else{b5[b6]=false}}else{bJ.attr(b5,b3,"")}b5.removeAttribute(bP?b3:b6)}}},attrHooks:{type:{set:function(b3,b4){if(!bJ.support.radioValue&&b4==="radio"&&bJ.nodeName(b3,"input")){var b5=b3.value;b3.setAttribute("type",b4);if(b5){b3.value=b5}return b4}}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(b8,b6,b9){var b5,b3,b7,b4=b8.nodeType;if(!b8||b4===3||b4===8||b4===2){return}b7=b4!==1||!bJ.isXMLDoc(b8);if(b7){b6=bJ.propFix[b6]||b6;b3=bJ.propHooks[b6]}if(b9!==aG){if(b3&&"set" in b3&&(b5=b3.set(b8,b9,b6))!==aG){return b5}else{return(b8[b6]=b9)}}else{if(b3&&"get" in b3&&(b5=b3.get(b8,b6))!==null){return b5}else{return b8[b6]}}},propHooks:{tabIndex:{get:function(b4){var b3=b4.getAttributeNode("tabindex");return b3&&b3.specified?parseInt(b3.value,10):aF.test(b4.nodeName)||D.test(b4.nodeName)&&b4.href?0:aG}}}});bZ={get:function(b6,b4){var b7=bJ.prop(b6,b4),b3=typeof b7==="boolean"&&b6.getAttribute(b4),b5=typeof b7==="boolean"?bF&&bP?b3!=null:aq.test(b4)?b6[bJ.camelCase("default-"+b4)]:!!b3:b6.getAttributeNode(b4);return b5&&b5.value!==false?b4.toLowerCase():aG},set:function(b4,b5,b3){if(b5===false){bJ.removeAttr(b4,b3)}else{if(bF&&bP||!aq.test(b3)){b4.setAttribute(!bP&&bJ.propFix[b3]||b3,b3)}else{b4[bJ.camelCase("default-"+b3)]=b4[b3]=true}}return b3}};if(!bF||!bP){bJ.attrHooks.value={get:function(b5,b4){var b3=b5.getAttributeNode(b4);return bJ.nodeName(b5,"input")?b5.defaultValue:b3&&b3.specified?b3.value:aG},set:function(b4,b5,b3){if(bJ.nodeName(b4,"input")){b4.defaultValue=b5}else{return a8&&a8.set(b4,b5,b3)}}}}if(!bP){a8=bJ.valHooks.button={get:function(b5,b4){var b3=b5.getAttributeNode(b4);return b3&&(b4==="id"||b4==="name"||b4==="coords"?b3.value!=="":b3.specified)?b3.value:aG},set:function(b5,b6,b4){var b3=b5.getAttributeNode(b4);if(!b3){b5.setAttributeNode((b3=b5.ownerDocument.createAttribute(b4)))}b3.value=b6+="";return b4==="value"||b6===b5.getAttribute(b4)?b6:aG}};bJ.attrHooks.contenteditable={get:a8.get,set:function(b4,b5,b3){a8.set(b4,b5===""?false:b5,b3)}};bJ.each(["width","height"],function(b4,b3){bJ.attrHooks[b3]=bJ.extend(bJ.attrHooks[b3],{set:function(b5,b6){if(b6===""){b5.setAttribute(b3,"auto");return b6}}})})}if(!bJ.support.hrefNormalized){bJ.each(["href","src","width","height"],function(b4,b3){bJ.attrHooks[b3]=bJ.extend(bJ.attrHooks[b3],{get:function(b6){var b5=b6.getAttribute(b3,2);return b5==null?aG:b5}})});bJ.each(["href","src"],function(b4,b3){bJ.propHooks[b3]={get:function(b5){return b5.getAttribute(b3,4)}}})}if(!bJ.support.style){bJ.attrHooks.style={get:function(b3){return b3.style.cssText||aG},set:function(b3,b4){return(b3.style.cssText=b4+"")}}}if(!bJ.support.optSelected){bJ.propHooks.selected=bJ.extend(bJ.propHooks.selected,{get:function(b4){var b3=b4.parentNode;if(b3){b3.selectedIndex;if(b3.parentNode){b3.parentNode.selectedIndex}}return null}})}if(!bJ.support.enctype){bJ.propFix.enctype="encoding"}if(!bJ.support.checkOn){bJ.each(["radio","checkbox"],function(){bJ.valHooks[this]={get:function(b3){return b3.getAttribute("value")===null?"on":b3.value}}})}bJ.each(["radio","checkbox"],function(){bJ.valHooks[this]=bJ.extend(bJ.valHooks[this],{set:function(b3,b4){if(bJ.isArray(b4)){return(b3.checked=bJ.inArray(bJ(b3).val(),b4)>=0)}}})});var bH=/^(?:input|select|textarea)$/i,a3=/^key/,bN=/^(?:mouse|contextmenu)|click/,bB=/^(?:focusinfocus|focusoutblur)$/,bu=/^([^.]*)(?:\.(.+)|)$/;function R(){return true}function X(){return false}bJ.event={global:{},add:function(b7,cc,ch,b9,b8){var ca,ci,cj,b5,ce,cb,cg,b6,cf,b3,b4,cd=bJ._data(b7);if(!cd){return}if(ch.handler){b5=ch;ch=b5.handler;b8=b5.selector}if(!ch.guid){ch.guid=bJ.guid++}if(!(ci=cd.events)){ci=cd.events={}}if(!(cb=cd.handle)){cb=cd.handle=function(ck){return typeof bJ!==aC&&(!ck||bJ.event.triggered!==ck.type)?bJ.event.dispatch.apply(cb.elem,arguments):aG};cb.elem=b7}cc=(cc||"").match(ac)||[""];cj=cc.length;while(cj--){ca=bu.exec(cc[cj])||[];cf=b4=ca[1];b3=(ca[2]||"").split(".").sort();ce=bJ.event.special[cf]||{};cf=(b8?ce.delegateType:ce.bindType)||cf;ce=bJ.event.special[cf]||{};cg=bJ.extend({type:cf,origType:b4,data:b9,handler:ch,guid:ch.guid,selector:b8,needsContext:b8&&bJ.expr.match.needsContext.test(b8),namespace:b3.join(".")},b5);if(!(b6=ci[cf])){b6=ci[cf]=[];b6.delegateCount=0;if(!ce.setup||ce.setup.call(b7,b9,b3,cb)===false){if(b7.addEventListener){b7.addEventListener(cf,cb,false)}else{if(b7.attachEvent){b7.attachEvent("on"+cf,cb)}}}}if(ce.add){ce.add.call(b7,cg);if(!cg.handler.guid){cg.handler.guid=ch.guid}}if(b8){b6.splice(b6.delegateCount++,0,cg)}else{b6.push(cg)}bJ.event.global[cf]=true}b7=null},remove:function(b6,cc,cj,b7,cb){var b9,cg,ca,b8,ci,ch,ce,b5,cf,b3,b4,cd=bJ.hasData(b6)&&bJ._data(b6);if(!cd||!(ch=cd.events)){return}cc=(cc||"").match(ac)||[""];ci=cc.length;while(ci--){ca=bu.exec(cc[ci])||[];cf=b4=ca[1];b3=(ca[2]||"").split(".").sort();if(!cf){for(cf in ch){bJ.event.remove(b6,cf+cc[ci],cj,b7,true)}continue}ce=bJ.event.special[cf]||{};cf=(b7?ce.delegateType:ce.bindType)||cf;b5=ch[cf]||[];ca=ca[2]&&new RegExp("(^|\\.)"+b3.join("\\.(?:.*\\.|)")+"(\\.|$)");b8=b9=b5.length;while(b9--){cg=b5[b9];if((cb||b4===cg.origType)&&(!cj||cj.guid===cg.guid)&&(!ca||ca.test(cg.namespace))&&(!b7||b7===cg.selector||b7==="**"&&cg.selector)){b5.splice(b9,1);if(cg.selector){b5.delegateCount--}if(ce.remove){ce.remove.call(b6,cg)}}}if(b8&&!b5.length){if(!ce.teardown||ce.teardown.call(b6,b3,cd.handle)===false){bJ.removeEvent(b6,cf,cd.handle)}delete ch[cf]}}if(bJ.isEmptyObject(ch)){delete cd.handle;bJ._removeData(b6,"events")}},trigger:function(b3,ca,b6,ch){var cb,b5,cf,cg,cd,b9,b8,b7=[b6||l],ce=V.call(b3,"type")?b3.type:b3,b4=V.call(b3,"namespace")?b3.namespace.split("."):[];cf=b9=b6=b6||l;if(b6.nodeType===3||b6.nodeType===8){return}if(bB.test(ce+bJ.event.triggered)){return}if(ce.indexOf(".")>=0){b4=ce.split(".");ce=b4.shift();b4.sort()}b5=ce.indexOf(":")<0&&"on"+ce;b3=b3[bJ.expando]?b3:new bJ.Event(ce,typeof b3==="object"&&b3);b3.isTrigger=true;b3.namespace=b4.join(".");b3.namespace_re=b3.namespace?new RegExp("(^|\\.)"+b4.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;b3.result=aG;if(!b3.target){b3.target=b6}ca=ca==null?[b3]:bJ.makeArray(ca,[b3]);cd=bJ.event.special[ce]||{};if(!ch&&cd.trigger&&cd.trigger.apply(b6,ca)===false){return}if(!ch&&!cd.noBubble&&!bJ.isWindow(b6)){cg=cd.delegateType||ce;if(!bB.test(cg+ce)){cf=cf.parentNode}for(;cf;cf=cf.parentNode){b7.push(cf);b9=cf}if(b9===(b6.ownerDocument||l)){b7.push(b9.defaultView||b9.parentWindow||a2)}}b8=0;while((cf=b7[b8++])&&!b3.isPropagationStopped()){b3.type=b8>1?cg:cd.bindType||ce;cb=(bJ._data(cf,"events")||{})[b3.type]&&bJ._data(cf,"handle");if(cb){cb.apply(cf,ca)}cb=b5&&cf[b5];if(cb&&bJ.acceptData(cf)&&cb.apply&&cb.apply(cf,ca)===false){b3.preventDefault()}}b3.type=ce;if(!ch&&!b3.isDefaultPrevented()){if((!cd._default||cd._default.apply(b6.ownerDocument,ca)===false)&&!(ce==="click"&&bJ.nodeName(b6,"a"))&&bJ.acceptData(b6)){if(b5&&b6[ce]&&!bJ.isWindow(b6)){b9=b6[b5];if(b9){b6[b5]=null}bJ.event.triggered=ce;try{b6[ce]()}catch(cc){}bJ.event.triggered=aG;if(b9){b6[b5]=b9}}}}return b3.result},dispatch:function(b3){b3=bJ.event.fix(b3);var b7,b8,cc,b4,b6,cb=[],ca=a4.call(arguments),b5=(bJ._data(this,"events")||{})[b3.type]||[],b9=bJ.event.special[b3.type]||{};ca[0]=b3;b3.delegateTarget=this;if(b9.preDispatch&&b9.preDispatch.call(this,b3)===false){return}cb=bJ.event.handlers.call(this,b3,b5);b7=0;while((b4=cb[b7++])&&!b3.isPropagationStopped()){b3.currentTarget=b4.elem;b6=0;while((cc=b4.handlers[b6++])&&!b3.isImmediatePropagationStopped()){if(!b3.namespace_re||b3.namespace_re.test(cc.namespace)){b3.handleObj=cc;b3.data=cc.data;b8=((bJ.event.special[cc.origType]||{}).handle||cc.handler).apply(b4.elem,ca);if(b8!==aG){if((b3.result=b8)===false){b3.preventDefault();b3.stopPropagation()}}}}}if(b9.postDispatch){b9.postDispatch.call(this,b3)}return b3.result},handlers:function(b3,b5){var b4,ca,b8,b7,b9=[],b6=b5.delegateCount,cb=b3.target;if(b6&&cb.nodeType&&(!b3.button||b3.type!=="click")){for(;cb!=this;cb=cb.parentNode||this){if(cb.nodeType===1&&(cb.disabled!==true||b3.type!=="click")){b8=[];for(b7=0;b7=0:bJ.find(b4,this,null,[cb]).length}if(b8[b4]){b8.push(ca)}}if(b8.length){b9.push({elem:cb,handlers:b8})}}}}if(b6+~])"+cp+"*"),cP=new RegExp(ck),cQ=new RegExp("^"+cK+"$"),cY={ID:new RegExp("^#("+b3+")"),CLASS:new RegExp("^\\.("+b3+")"),NAME:new RegExp("^\\[name=['\"]?("+b3+")['\"]?\\]"),TAG:new RegExp("^("+b3.replace("w","w*")+")"),ATTR:new RegExp("^"+c2),PSEUDO:new RegExp("^"+ck),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+cp+"*(even|odd|(([+-]|)(\\d*)n|)"+cp+"*(?:([+-]|)"+cp+"*(\\d+)|))"+cp+"*\\)|)","i"),needsContext:new RegExp("^"+cp+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+cp+"*((?:-\\d)?\\d*)"+cp+"*\\)|)(?=[^-]|$)","i")},cW=/[\x20\t\r\n\f]*[+~]/,cM=/^[^{]+\{\s*\[native code/,cO=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,b8=/^(?:input|select|textarea|button)$/i,cl=/^h\d$/i,cL=/'|\\/g,ct=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,cs=/\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g,c1=function(dh,dj){var di="0x"+dj-65536;return di!==di?dj:di<0?String.fromCharCode(di+65536):String.fromCharCode(di>>10|55296,di&1023|56320)};try{cm.call(cI.documentElement.childNodes,0)[0].nodeType}catch(cC){cm=function(di){var dj,dh=[];while((dj=this[di++])){dh.push(dj)}return dh}}function cE(dh){return cM.test(dh+"")}function cz(){var dh,di=[];return(dh=function(dj,dk){if(di.push(dj+=" ")>cn.cacheLength){delete dh[di.shift()]}return(dh[dj]=dk)})}function cj(dh){dh[c5]=true;return dh}function cc(dh){var dj=cB.createElement("div");try{return dh(dj)}catch(di){return false}finally{dj=null}}function cv(dq,di,du,dw){var dv,dm,dn,ds,dt,dl,dk,dh,dj,dr;if((di?di.ownerDocument||di:cI)!==cB){cV(di)}di=di||cB;du=du||[];if(!dq||typeof dq!=="string"){return du}if((ds=di.nodeType)!==1&&ds!==9){return[]}if(!cd&&!dw){if((dv=cO.exec(dq))){if((dn=dv[1])){if(ds===9){dm=di.getElementById(dn);if(dm&&dm.parentNode){if(dm.id===dn){du.push(dm);return du}}else{return du}}else{if(di.ownerDocument&&(dm=di.ownerDocument.getElementById(dn))&&cF(di,dm)&&dm.id===dn){du.push(dm);return du}}}else{if(dv[2]){b4.apply(du,cm.call(di.getElementsByTagName(dq),0));return du}else{if((dn=dv[3])&&dd.getByClassName&&di.getElementsByClassName){b4.apply(du,cm.call(di.getElementsByClassName(dn),0));return du}}}}if(dd.qsa&&!cZ.test(dq)){dk=true;dh=c5;dj=di;dr=ds===9&&dq;if(ds===1&&di.nodeName.toLowerCase()!=="object"){dl=cf(dq);if((dk=di.getAttribute("id"))){dh=dk.replace(cL,"\\$&")}else{di.setAttribute("id",dh)}dh="[id='"+dh+"'] ";dt=dl.length;while(dt--){dl[dt]=dh+cg(dl[dt])}dj=cW.test(dq)&&di.parentNode||di;dr=dl.join(",")}if(dr){try{b4.apply(du,cm.call(dj.querySelectorAll(dr),0));return du}catch(dp){}finally{if(!dk){di.removeAttribute("id")}}}}}return dc(dq.replace(cr,"$1"),di,du,dw)}cJ=cv.isXML=function(dh){var di=dh&&(dh.ownerDocument||dh).documentElement;return di?di.nodeName!=="HTML":false};cV=cv.setDocument=function(dh){var di=dh?dh.ownerDocument||dh:cI;if(di===cB||di.nodeType!==9||!di.documentElement){return cB}cB=di;co=di.documentElement;cd=cJ(di);dd.tagNameNoComments=cc(function(dj){dj.appendChild(di.createComment(""));return !dj.getElementsByTagName("*").length});dd.attributes=cc(function(dk){dk.innerHTML="";var dj=typeof dk.lastChild.getAttribute("multiple");return dj!=="boolean"&&dj!=="string"});dd.getByClassName=cc(function(dj){dj.innerHTML="";if(!dj.getElementsByClassName||!dj.getElementsByClassName("e").length){return false}dj.lastChild.className="e";return dj.getElementsByClassName("e").length===2});dd.getByName=cc(function(dk){dk.id=c5+0;dk.innerHTML="
";co.insertBefore(dk,co.firstChild);var dj=di.getElementsByName&&di.getElementsByName(c5).length===2+di.getElementsByName(c5+0).length;dd.getIdNotName=!di.getElementById(c5);co.removeChild(dk);return dj});cn.attrHandle=cc(function(dj){dj.innerHTML="";return dj.firstChild&&typeof dj.firstChild.getAttribute!==c9&&dj.firstChild.getAttribute("href")==="#"})?{}:{href:function(dj){return dj.getAttribute("href",2)},type:function(dj){return dj.getAttribute("type")}};if(dd.getIdNotName){cn.find.ID=function(dl,dk){if(typeof dk.getElementById!==c9&&!cd){var dj=dk.getElementById(dl);return dj&&dj.parentNode?[dj]:[]}};cn.filter.ID=function(dk){var dj=dk.replace(cs,c1);return function(dl){return dl.getAttribute("id")===dj}}}else{cn.find.ID=function(dl,dk){if(typeof dk.getElementById!==c9&&!cd){var dj=dk.getElementById(dl);return dj?dj.id===dl||typeof dj.getAttributeNode!==c9&&dj.getAttributeNode("id").value===dl?[dj]:ch:[]}};cn.filter.ID=function(dk){var dj=dk.replace(cs,c1);return function(dm){var dl=typeof dm.getAttributeNode!==c9&&dm.getAttributeNode("id");return dl&&dl.value===dj}}}cn.find.TAG=dd.tagNameNoComments?function(dj,dk){if(typeof dk.getElementsByTagName!==c9){return dk.getElementsByTagName(dj)}}:function(dj,dn){var dp,dm=[],dl=0,dk=dn.getElementsByTagName(dj);if(dj==="*"){while((dp=dk[dl++])){if(dp.nodeType===1){dm.push(dp)}}return dm}return dk};cn.find.NAME=dd.getByName&&function(dj,dk){if(typeof dk.getElementsByName!==c9){return dk.getElementsByName(name)}};cn.find.CLASS=dd.getByClassName&&function(dk,dj){if(typeof dj.getElementsByClassName!==c9&&!cd){return dj.getElementsByClassName(dk)}};db=[];cZ=[":focus"];if((dd.qsa=cE(di.querySelectorAll))){cc(function(dj){dj.innerHTML="";if(!dj.querySelectorAll("[selected]").length){cZ.push("\\["+cp+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)")}if(!dj.querySelectorAll(":checked").length){cZ.push(":checked")}});cc(function(dj){dj.innerHTML="";if(dj.querySelectorAll("[i^='']").length){cZ.push("[*^$]="+cp+"*(?:\"\"|'')")}if(!dj.querySelectorAll(":enabled").length){cZ.push(":enabled",":disabled")}dj.querySelectorAll("*,:x");cZ.push(",.*:")})}if((dd.matchesSelector=cE((ca=co.matchesSelector||co.mozMatchesSelector||co.webkitMatchesSelector||co.oMatchesSelector||co.msMatchesSelector)))){cc(function(dj){dd.disconnectedMatch=ca.call(dj,"div");ca.call(dj,"[s!='']:x");db.push("!=",ck)})}cZ=new RegExp(cZ.join("|"));db=new RegExp(db.join("|"));cF=cE(co.contains)||co.compareDocumentPosition?function(dk,dj){var dm=dk.nodeType===9?dk.documentElement:dk,dl=dj&&dj.parentNode;return dk===dl||!!(dl&&dl.nodeType===1&&(dm.contains?dm.contains(dl):dk.compareDocumentPosition&&dk.compareDocumentPosition(dl)&16))}:function(dk,dj){if(dj){while((dj=dj.parentNode)){if(dj===dk){return true}}}return false};cD=co.compareDocumentPosition?function(dk,dj){var dl;if(dk===dj){cT=true;return 0}if((dl=dj.compareDocumentPosition&&dk.compareDocumentPosition&&dk.compareDocumentPosition(dj))){if(dl&1||dk.parentNode&&dk.parentNode.nodeType===11){if(dk===di||cF(cI,dk)){return -1}if(dj===di||cF(cI,dj)){return 1}return 0}return dl&4?-1:1}return dk.compareDocumentPosition?-1:1}:function(dk,dj){var dr,dn=0,dq=dk.parentNode,dm=dj.parentNode,dl=[dk],dp=[dj];if(dk===dj){cT=true;return 0}else{if(!dq||!dm){return dk===di?-1:dj===di?1:dq?-1:dm?1:0}else{if(dq===dm){return b6(dk,dj)}}}dr=dk;while((dr=dr.parentNode)){dl.unshift(dr)}dr=dj;while((dr=dr.parentNode)){dp.unshift(dr)}while(dl[dn]===dp[dn]){dn++}return dn?b6(dl[dn],dp[dn]):dl[dn]===cI?-1:dp[dn]===cI?1:0};cT=false;[0,0].sort(cD);dd.detectDuplicates=cT;return cB};cv.matches=function(di,dh){return cv(di,null,null,dh)};cv.matchesSelector=function(di,dk){if((di.ownerDocument||di)!==cB){cV(di)}dk=dk.replace(ct,"='$1']");if(dd.matchesSelector&&!cd&&(!db||!db.test(dk))&&!cZ.test(dk)){try{var dh=ca.call(di,dk);if(dh||dd.disconnectedMatch||di.document&&di.document.nodeType!==11){return dh}}catch(dj){}}return cv(dk,cB,null,[di]).length>0};cv.contains=function(dh,di){if((dh.ownerDocument||dh)!==cB){cV(dh)}return cF(dh,di)};cv.attr=function(di,dh){var dj;if((di.ownerDocument||di)!==cB){cV(di)}if(!cd){dh=dh.toLowerCase()}if((dj=cn.attrHandle[dh])){return dj(di)}if(cd||dd.attributes){return di.getAttribute(dh)}return((dj=di.getAttributeNode(dh))||di.getAttribute(dh))&&di[dh]===true?dh:dj&&dj.specified?dj.value:null};cv.error=function(dh){throw new Error("Syntax error, unrecognized expression: "+dh)};cv.uniqueSort=function(dj){var dk,dl=[],di=1,dh=0;cT=!dd.detectDuplicates;dj.sort(cD);if(cT){for(;(dk=dj[di]);di++){if(dk===dj[di-1]){dh=dl.push(di)}}while(dh--){dj.splice(dl[dh],1)}}return dj};function b6(di,dh){var dk=dh&&di,dj=dk&&(~dh.sourceIndex||cN)-(~di.sourceIndex||cN);if(dj){return dj}if(dk){while((dk=dk.nextSibling)){if(dk===dh){return -1}}}return di?1:-1}function cw(dh){return function(dj){var di=dj.nodeName.toLowerCase();return di==="input"&&dj.type===dh}}function b7(dh){return function(dj){var di=dj.nodeName.toLowerCase();return(di==="input"||di==="button")&&dj.type===dh}}function c3(dh){return cj(function(di){di=+di;return cj(function(dj,dn){var dl,dk=dh([],dj.length,di),dm=dk.length;while(dm--){if(dj[(dl=dk[dm])]){dj[dl]=!(dn[dl]=dj[dl])}}})})}cH=cv.getText=function(dl){var dk,di="",dj=0,dh=dl.nodeType;if(!dh){for(;(dk=dl[dj]);dj++){di+=cH(dk)}}else{if(dh===1||dh===9||dh===11){if(typeof dl.textContent==="string"){return dl.textContent}else{for(dl=dl.firstChild;dl;dl=dl.nextSibling){di+=cH(dl)}}}else{if(dh===3||dh===4){return dl.nodeValue}}}return di};cn=cv.selectors={cacheLength:50,createPseudo:cj,match:cY,find:{},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(dh){dh[1]=dh[1].replace(cs,c1);dh[3]=(dh[4]||dh[5]||"").replace(cs,c1);if(dh[2]==="~="){dh[3]=" "+dh[3]+" "}return dh.slice(0,4)},CHILD:function(dh){dh[1]=dh[1].toLowerCase();if(dh[1].slice(0,3)==="nth"){if(!dh[3]){cv.error(dh[0])}dh[4]=+(dh[4]?dh[5]+(dh[6]||1):2*(dh[3]==="even"||dh[3]==="odd"));dh[5]=+((dh[7]+dh[8])||dh[3]==="odd")}else{if(dh[3]){cv.error(dh[0])}}return dh},PSEUDO:function(di){var dh,dj=!di[5]&&di[2];if(cY.CHILD.test(di[0])){return null}if(di[4]){di[2]=di[4]}else{if(dj&&cP.test(dj)&&(dh=cf(dj,true))&&(dh=dj.indexOf(")",dj.length-dh)-dj.length)){di[0]=di[0].slice(0,dh);di[2]=dj.slice(0,dh)}}return di.slice(0,3)}},filter:{TAG:function(dh){if(dh==="*"){return function(){return true}}dh=dh.replace(cs,c1).toLowerCase();return function(di){return di.nodeName&&di.nodeName.toLowerCase()===dh}},CLASS:function(dh){var di=b5[dh+" "];return di||(di=new RegExp("(^|"+cp+")"+dh+"("+cp+"|$)"))&&b5(dh,function(dj){return di.test(dj.className||(typeof dj.getAttribute!==c9&&dj.getAttribute("class"))||"")})},ATTR:function(dj,di,dh){return function(dl){var dk=cv.attr(dl,dj);if(dk==null){return di==="!="}if(!di){return true}dk+="";return di==="="?dk===dh:di==="!="?dk!==dh:di==="^="?dh&&dk.indexOf(dh)===0:di==="*="?dh&&dk.indexOf(dh)>-1:di==="$="?dh&&dk.slice(-dh.length)===dh:di==="~="?(" "+dk+" ").indexOf(dh)>-1:di==="|="?dk===dh||dk.slice(0,dh.length+1)===dh+"-":false}},CHILD:function(di,dl,dk,dm,dj){var dp=di.slice(0,3)!=="nth",dh=di.slice(-4)!=="last",dn=dl==="of-type";return dm===1&&dj===0?function(dq){return !!dq.parentNode}:function(dw,du,dz){var dq,dC,dx,dB,dy,dt,dv=dp!==dh?"nextSibling":"previousSibling",dA=dw.parentNode,ds=dn&&dw.nodeName.toLowerCase(),dr=!dz&&!dn;if(dA){if(dp){while(dv){dx=dw;while((dx=dx[dv])){if(dn?dx.nodeName.toLowerCase()===ds:dx.nodeType===1){return false}}dt=dv=di==="only"&&!dt&&"nextSibling"}return true}dt=[dh?dA.firstChild:dA.lastChild];if(dh&&dr){dC=dA[c5]||(dA[c5]={});dq=dC[di]||[];dy=dq[0]===de&&dq[1];dB=dq[0]===de&&dq[2];dx=dy&&dA.childNodes[dy];while((dx=++dy&&dx&&dx[dv]||(dB=dy=0)||dt.pop())){if(dx.nodeType===1&&++dB&&dx===dw){dC[di]=[de,dy,dB];break}}}else{if(dr&&(dq=(dw[c5]||(dw[c5]={}))[di])&&dq[0]===de){dB=dq[1]}else{while((dx=++dy&&dx&&dx[dv]||(dB=dy=0)||dt.pop())){if((dn?dx.nodeName.toLowerCase()===ds:dx.nodeType===1)&&++dB){if(dr){(dx[c5]||(dx[c5]={}))[di]=[de,dB]}if(dx===dw){break}}}}}dB-=dj;return dB===dm||(dB%dm===0&&dB/dm>=0)}}},PSEUDO:function(dk,dj){var dh,di=cn.pseudos[dk]||cn.setFilters[dk.toLowerCase()]||cv.error("unsupported pseudo: "+dk);if(di[c5]){return di(dj)}if(di.length>1){dh=[dk,dk,"",dj];return cn.setFilters.hasOwnProperty(dk.toLowerCase())?cj(function(dn,dq){var dm,dl=di(dn,dj),dp=dl.length;while(dp--){dm=b9.call(dn,dl[dp]);dn[dm]=!(dq[dm]=dl[dp])}}):function(dl){return di(dl,0,dh)}}return di}},pseudos:{not:cj(function(dh){var di=[],dj=[],dk=cS(dh.replace(cr,"$1"));return dk[c5]?cj(function(dm,ds,dq,dn){var dr,dl=dk(dm,null,dn,[]),dp=dm.length;while(dp--){if((dr=dl[dp])){dm[dp]=!(ds[dp]=dr)}}}):function(dn,dm,dl){di[0]=dn;dk(di,null,dl,dj);return !dj.pop()}}),has:cj(function(dh){return function(di){return cv(dh,di).length>0}}),contains:cj(function(dh){return function(di){return(di.textContent||di.innerText||cH(di)).indexOf(dh)>-1}}),lang:cj(function(dh){if(!cQ.test(dh||"")){cv.error("unsupported lang: "+dh)}dh=dh.replace(cs,c1).toLowerCase();return function(dj){var di;do{if((di=cd?dj.getAttribute("xml:lang")||dj.getAttribute("lang"):dj.lang)){di=di.toLowerCase();return di===dh||di.indexOf(dh+"-")===0}}while((dj=dj.parentNode)&&dj.nodeType===1);return false}}),target:function(dh){var di=da.location&&da.location.hash;return di&&di.slice(1)===dh.id},root:function(dh){return dh===co},focus:function(dh){return dh===cB.activeElement&&(!cB.hasFocus||cB.hasFocus())&&!!(dh.type||dh.href||~dh.tabIndex)},enabled:function(dh){return dh.disabled===false},disabled:function(dh){return dh.disabled===true},checked:function(dh){var di=dh.nodeName.toLowerCase();return(di==="input"&&!!dh.checked)||(di==="option"&&!!dh.selected)},selected:function(dh){if(dh.parentNode){dh.parentNode.selectedIndex}return dh.selected===true},empty:function(dh){for(dh=dh.firstChild;dh;dh=dh.nextSibling){if(dh.nodeName>"@"||dh.nodeType===3||dh.nodeType===4){return false}}return true},parent:function(dh){return !cn.pseudos.empty(dh)},header:function(dh){return cl.test(dh.nodeName)},input:function(dh){return b8.test(dh.nodeName)},button:function(di){var dh=di.nodeName.toLowerCase();return dh==="input"&&di.type==="button"||dh==="button"},text:function(di){var dh;return di.nodeName.toLowerCase()==="input"&&di.type==="text"&&((dh=di.getAttribute("type"))==null||dh.toLowerCase()===di.type)},first:c3(function(){return[0]}),last:c3(function(dh,di){return[di-1]}),eq:c3(function(dh,dj,di){return[di<0?di+dj:di]}),even:c3(function(dh,dj){var di=0;for(;di=0;){dh.push(di)}return dh}),gt:c3(function(dh,dk,dj){var di=dj<0?dj+dk:dj;for(;++di1?function(dl,dk,di){var dj=dh.length;while(dj--){if(!dh[dj](dl,dk,di)){return false}}return true}:dh[0]}function cX(dh,di,dj,dk,dn){var dl,dr=[],dm=0,dp=dh.length,dq=di!=null;for(;dm-1){dy[dA]=!(dv[dA]=ds)}}}}else{du=cX(du===dv?du.splice(dp,du.length):du);if(dm){dm(null,dv,du,dx)}else{b4.apply(dv,du)}}})}function c6(dn){var di,dl,dj,dm=dn.length,dr=cn.relative[dn[0].type],ds=dr||cn.relative[" "],dk=dr?1:0,dp=cq(function(dt){return dt===di},ds,true),dq=cq(function(dt){return b9.call(di,dt)>-1},ds,true),dh=[function(dv,du,dt){return(!dr&&(dt||du!==dg))||((di=du).nodeType?dp(dv,du,dt):dq(dv,du,dt))}];for(;dk1&&df(dh),dk>1&&cg(dn.slice(0,dk-1)).replace(cr,"$1"),dl,dk0,dl=dk.length>0,di=function(dx,dr,dw,dv,dD){var ds,dt,dy,dC=[],dB=0,du="0",dn=dx&&[],dz=dD!=null,dA=dg,dq=dx||dl&&cn.find.TAG("*",dD&&dr.parentNode||dr),dp=(de+=dA==null?1:Math.random()||0.1);if(dz){dg=dr!==cB&&dr;cb=dm}for(;(ds=dq[du])!=null;du++){if(dl&&ds){dt=0;while((dy=dk[dt++])){if(dy(ds,dr,dw)){dv.push(ds);break}}if(dz){de=dp;cb=++dm}}if(dh){if((ds=!dy&&ds)){dB--}if(dx){dn.push(ds)}}}dB+=du;if(dh&&du!==dB){dt=0;while((dy=dj[dt++])){dy(dn,dC,dr,dw)}if(dx){if(dB>0){while(du--){if(!(dn[du]||dC[du])){dC[du]=c8.call(dv)}}}dC=cX(dC)}b4.apply(dv,dC);if(dz&&!dx&&dC.length>0&&(dB+dj.length)>1){cv.uniqueSort(dv)}}if(dz){de=dp;dg=dA}return dn};return dh?cj(di):di}cS=cv.compile=function(dh,dm){var dj,di=[],dl=[],dk=cG[dh+" "];if(!dk){if(!dm){dm=cf(dh)}dj=dm.length;while(dj--){dk=c6(dm[dj]);if(dk[c5]){di.push(dk)}else{dl.push(dk)}}dk=cG(dh,cU(dl,di))}return dk};function cy(di,dl,dk){var dj=0,dh=dl.length;for(;dj2&&(di=dq[0]).type==="ID"&&dh.nodeType===9&&!cd&&cn.relative[dq[1].type]){dh=cn.find.ID(di.matches[0].replace(cs,c1),dh)[0];if(!dh){return dk}dj=dj.slice(dq.shift().value.length)}dl=cY.needsContext.test(dj)?0:dq.length;while(dl--){di=dq[dl];if(cn.relative[(dr=di.type)]){break}if((dp=cn.find[dr])){if((dn=dp(di.matches[0].replace(cs,c1),cW.test(dq[0].type)&&dh.parentNode||dh))){dq.splice(dl,1);dj=dn.length&&cg(dq);if(!dj){b4.apply(dk,cm.call(dn,0));return dk}break}}}}}cS(dj,dm)(dn,dh,cd,dk,cW.test(dj));return dk}cn.pseudos.nth=cn.pseudos.eq;function cR(){}cn.filters=cR.prototype=cn.pseudos;cn.setFilters=new cR();cV();cv.attr=bJ.attr;bJ.find=cv;bJ.expr=cv.selectors;bJ.expr[":"]=bJ.expr.pseudos;bJ.unique=cv.uniqueSort;bJ.text=cv.getText;bJ.isXMLDoc=cv.isXML;bJ.contains=cv.contains})(a2);var aj=/Until$/,bt=/^(?:parents|prev(?:Until|All))/,an=/^.[^:#\[\.,]*$/,y=bJ.expr.match.needsContext,bx={children:true,contents:true,next:true,prev:true};bJ.fn.extend({find:function(b4){var b7,b6,b5,b3=this.length;if(typeof b4!=="string"){b5=this;return this.pushStack(bJ(b4).filter(function(){for(b7=0;b71?bJ.unique(b6):b6);b6.selector=(this.selector?this.selector+" ":"")+b4;return b6},has:function(b6){var b5,b4=bJ(b6,this),b3=b4.length;return this.filter(function(){for(b5=0;b5=0:bJ.filter(b3,this).length>0:this.filter(b3).length>0)},closest:function(b7,b6){var b8,b5=0,b3=this.length,b4=[],b9=y.test(b7)||typeof b7!=="string"?bJ(b7,b6||this.context):0;for(;b5-1:bJ.find.matchesSelector(b8,b7)){b4.push(b8);break}b8=b8.parentNode}}return this.pushStack(b4.length>1?bJ.unique(b4):b4)},index:function(b3){if(!b3){return(this[0]&&this[0].parentNode)?this.first().prevAll().length:-1}if(typeof b3==="string"){return bJ.inArray(this[0],bJ(b3))}return bJ.inArray(b3.jquery?b3[0]:b3,this)},add:function(b3,b4){var b6=typeof b3==="string"?bJ(b3,b4):bJ.makeArray(b3&&b3.nodeType?[b3]:b3),b5=bJ.merge(this.get(),b6);return this.pushStack(bJ.unique(b5))},addBack:function(b3){return this.add(b3==null?this.prevObject:this.prevObject.filter(b3))}});bJ.fn.andSelf=bJ.fn.addBack;function aX(b4,b3){do{b4=b4[b3]}while(b4&&b4.nodeType!==1);return b4}bJ.each({parent:function(b4){var b3=b4.parentNode;return b3&&b3.nodeType!==11?b3:null},parents:function(b3){return bJ.dir(b3,"parentNode")},parentsUntil:function(b4,b3,b5){return bJ.dir(b4,"parentNode",b5)},next:function(b3){return aX(b3,"nextSibling")},prev:function(b3){return aX(b3,"previousSibling")},nextAll:function(b3){return bJ.dir(b3,"nextSibling")},prevAll:function(b3){return bJ.dir(b3,"previousSibling")},nextUntil:function(b4,b3,b5){return bJ.dir(b4,"nextSibling",b5)},prevUntil:function(b4,b3,b5){return bJ.dir(b4,"previousSibling",b5)},siblings:function(b3){return bJ.sibling((b3.parentNode||{}).firstChild,b3)},children:function(b3){return bJ.sibling(b3.firstChild)},contents:function(b3){return bJ.nodeName(b3,"iframe")?b3.contentDocument||b3.contentWindow.document:bJ.merge([],b3.childNodes)}},function(b3,b4){bJ.fn[b3]=function(b7,b5){var b6=bJ.map(this,b4,b7);if(!aj.test(b3)){b5=b7}if(b5&&typeof b5==="string"){b6=bJ.filter(b5,b6)}b6=this.length>1&&!bx[b3]?bJ.unique(b6):b6;if(this.length>1&&bt.test(b3)){b6=b6.reverse()}return this.pushStack(b6)}});bJ.extend({filter:function(b5,b3,b4){if(b4){b5=":not("+b5+")"}return b3.length===1?bJ.find.matchesSelector(b3[0],b5)?[b3[0]]:[]:bJ.find.matches(b5,b3)},dir:function(b5,b4,b7){var b3=[],b6=b5[b4];while(b6&&b6.nodeType!==9&&(b7===aG||b6.nodeType!==1||!bJ(b6).is(b7))){if(b6.nodeType===1){b3.push(b6)}b6=b6[b4]}return b3},sibling:function(b5,b4){var b3=[];for(;b5;b5=b5.nextSibling){if(b5.nodeType===1&&b5!==b4){b3.push(b5)}}return b3}});function aO(b6,b5,b3){b5=b5||0;if(bJ.isFunction(b5)){return bJ.grep(b6,function(b8,b7){var b9=!!b5.call(b8,b7,b8);return b9===b3})}else{if(b5.nodeType){return bJ.grep(b6,function(b7){return(b7===b5)===b3})}else{if(typeof b5==="string"){var b4=bJ.grep(b6,function(b7){return b7.nodeType===1});if(an.test(b5)){return bJ.filter(b5,b4,!b3)}else{b5=bJ.filter(b5,b4)}}}}return bJ.grep(b6,function(b7){return(bJ.inArray(b7,b5)>=0)===b3})}function A(b3){var b5=d.split("|"),b4=b3.createDocumentFragment();if(b4.createElement){while(b5.length){b4.createElement(b5.pop())}}return b4}var d="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",aA=/ jQuery\d+="(?:null|\d+)"/g,J=new RegExp("<(?:"+d+")[\\s/>]","i"),b2=/^\s+/,aD=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,m=/<([\w:]+)/,bX=/\s*$/g,T={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:bJ.support.htmlSerialize?[0,"",""]:[1,"X
","
"]},aS=A(l),j=aS.appendChild(l.createElement("div"));T.optgroup=T.option;T.tbody=T.tfoot=T.colgroup=T.caption=T.thead;T.th=T.td;bJ.fn.extend({text:function(b3){return bJ.access(this,function(b4){return b4===aG?bJ.text(this):this.empty().append((this[0]&&this[0].ownerDocument||l).createTextNode(b4))},null,b3,arguments.length)},wrapAll:function(b3){if(bJ.isFunction(b3)){return this.each(function(b5){bJ(this).wrapAll(b3.call(this,b5))})}if(this[0]){var b4=bJ(b3,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){b4.insertBefore(this[0])}b4.map(function(){var b5=this;while(b5.firstChild&&b5.firstChild.nodeType===1){b5=b5.firstChild}return b5}).append(this)}return this},wrapInner:function(b3){if(bJ.isFunction(b3)){return this.each(function(b4){bJ(this).wrapInner(b3.call(this,b4))})}return this.each(function(){var b4=bJ(this),b5=b4.contents();if(b5.length){b5.wrapAll(b3)}else{b4.append(b3)}})},wrap:function(b3){var b4=bJ.isFunction(b3);return this.each(function(b5){bJ(this).wrapAll(b4?b3.call(this,b5):b3)})},unwrap:function(){return this.parent().each(function(){if(!bJ.nodeName(this,"body")){bJ(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(b3){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){this.appendChild(b3)}})},prepend:function(){return this.domManip(arguments,true,function(b3){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){this.insertBefore(b3,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(b3){if(this.parentNode){this.parentNode.insertBefore(b3,this)}})},after:function(){return this.domManip(arguments,false,function(b3){if(this.parentNode){this.parentNode.insertBefore(b3,this.nextSibling)}})},remove:function(b3,b6){var b5,b4=0;for(;(b5=this[b4])!=null;b4++){if(!b3||bJ.filter(b3,[b5]).length>0){if(!b6&&b5.nodeType===1){bJ.cleanData(k(b5))}if(b5.parentNode){if(b6&&bJ.contains(b5.ownerDocument,b5)){bs(k(b5,"script"))}b5.parentNode.removeChild(b5)}}}return this},empty:function(){var b4,b3=0;for(;(b4=this[b3])!=null;b3++){if(b4.nodeType===1){bJ.cleanData(k(b4,false))}while(b4.firstChild){b4.removeChild(b4.firstChild)}if(b4.options&&bJ.nodeName(b4,"select")){b4.options.length=0}}return this},clone:function(b4,b3){b4=b4==null?false:b4;b3=b3==null?b4:b3;return this.map(function(){return bJ.clone(this,b4,b3)})},html:function(b3){return bJ.access(this,function(b7){var b6=this[0]||{},b5=0,b4=this.length;if(b7===aG){return b6.nodeType===1?b6.innerHTML.replace(aA,""):aG}if(typeof b7==="string"&&!al.test(b7)&&(bJ.support.htmlSerialize||!J.test(b7))&&(bJ.support.leadingWhitespace||!b2.test(b7))&&!T[(m.exec(b7)||["",""])[1].toLowerCase()]){b7=b7.replace(aD,"<$1>");try{for(;b5")){cb=b4.cloneNode(true)}else{j.innerHTML=b4.outerHTML;j.removeChild(cb=j.firstChild)}if((!bJ.support.noCloneEvent||!bJ.support.noCloneChecked)&&(b4.nodeType===1||b4.nodeType===11)&&!bJ.isXMLDoc(b4)){b8=k(cb);b9=k(b4);for(b7=0;(b5=b9[b7])!=null;++b7){if(b8[b7]){Q(b5,b8[b7])}}}if(b6){if(b3){b9=b9||k(b4);b8=b8||k(cb);for(b7=0;(b5=b9[b7])!=null;b7++){at(b5,b8[b7])}}else{at(b4,cb)}}b8=k(cb,"script");if(b8.length>0){bs(b8,!ca&&k(b4,"script"))}b8=b9=b5=null;return cb},buildFragment:function(b4,b6,cb,cg){var cc,b8,ca,cf,ch,ce,b5,b9=b4.length,b7=A(b6),b3=[],cd=0;for(;cd")+b5[2];cc=b5[0];while(cc--){cf=cf.lastChild}if(!bJ.support.leadingWhitespace&&b2.test(b8)){b3.push(b6.createTextNode(b2.exec(b8)[0]))}if(!bJ.support.tbody){b8=ch==="table"&&!bX.test(b8)?cf.firstChild:b5[1]===""&&!bX.test(b8)?cf:0;cc=b8&&b8.childNodes.length;while(cc--){if(bJ.nodeName((ce=b8.childNodes[cc]),"tbody")&&!ce.childNodes.length){b8.removeChild(ce)}}}bJ.merge(b3,cf.childNodes);cf.textContent="";while(cf.firstChild){cf.removeChild(cf.firstChild)}cf=b7.lastChild}}}}if(cf){b7.removeChild(cf)}if(!bJ.support.appendChecked){bJ.grep(k(b3,"input"),bV)}cd=0;while((b8=b3[cd++])){if(cg&&bJ.inArray(b8,cg)!==-1){continue}ca=bJ.contains(b8.ownerDocument,b8);cf=k(b7.appendChild(b8),"script");if(ca){bs(cf)}if(cb){cc=0;while((b8=cf[cc++])){if(bz.test(b8.type||"")){cb.push(b8)}}}}cf=null;return b7},cleanData:function(b4,cc){var b6,cb,b5,b7,b8=0,cd=bJ.expando,b3=bJ.cache,b9=bJ.support.deleteExpando,ca=bJ.event.special;for(;(b6=b4[b8])!=null;b8++){if(cc||bJ.acceptData(b6)){b5=b6[cd];b7=b5&&b3[b5];if(b7){if(b7.events){for(cb in b7.events){if(ca[cb]){bJ.event.remove(b6,cb)}else{bJ.removeEvent(b6,cb,b7.handle)}}}if(b3[b5]){delete b3[b5];if(b9){delete b6[cd]}else{if(typeof b6.removeAttribute!==aC){b6.removeAttribute(cd)}else{b6[cd]=null}}a6.push(b5)}}}}}});var aE,bo,E,bg=/alpha\([^)]*\)/i,aT=/opacity\s*=\s*([^)]*)/,bn=/^(top|right|bottom|left)$/,F=/^(none|table(?!-c[ea]).+)/,aY=/^margin/,a9=new RegExp("^("+bA+")(.*)$","i"),W=new RegExp("^("+bA+")(?!px)[a-z%]+$","i"),S=new RegExp("^([+-])=("+bA+")","i"),bj={BODY:"block"},bb={position:"absolute",visibility:"hidden",display:"block"},bC={letterSpacing:0,fontWeight:400},bT=["Top","Right","Bottom","Left"],av=["Webkit","O","Moz","ms"];function b(b6,b4){if(b4 in b6){return b4}var b7=b4.charAt(0).toUpperCase()+b4.slice(1),b3=b4,b5=av.length;while(b5--){b4=av[b5]+b7;if(b4 in b6){return b4}}return b3}function P(b4,b3){b4=b3||b4;return bJ.css(b4,"display")==="none"||!bJ.contains(b4.ownerDocument,b4)}function p(b9,b3){var ca,b7,b8,b4=[],b5=0,b6=b9.length;for(;b51)},show:function(){return p(this,true)},hide:function(){return p(this)},toggle:function(b4){var b3=typeof b4==="boolean";return this.each(function(){if(b3?b4:P(this)){bJ(this).show()}else{bJ(this).hide()}})}});bJ.extend({cssHooks:{opacity:{get:function(b5,b4){if(b4){var b3=E(b5,"opacity");return b3===""?"1":b3}}}},cssNumber:{columnCount:true,fillOpacity:true,fontWeight:true,lineHeight:true,opacity:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{"float":bJ.support.cssFloat?"cssFloat":"styleFloat"},style:function(b5,b4,cb,b6){if(!b5||b5.nodeType===3||b5.nodeType===8||!b5.style){return}var b9,ca,cc,b7=bJ.camelCase(b4),b3=b5.style;b4=bJ.cssProps[b7]||(bJ.cssProps[b7]=b(b3,b7));cc=bJ.cssHooks[b4]||bJ.cssHooks[b7];if(cb!==aG){ca=typeof cb;if(ca==="string"&&(b9=S.exec(cb))){cb=(b9[1]+1)*b9[2]+parseFloat(bJ.css(b5,b4));ca="number"}if(cb==null||ca==="number"&&isNaN(cb)){return}if(ca==="number"&&!bJ.cssNumber[b7]){cb+="px"}if(!bJ.support.clearCloneStyle&&cb===""&&b4.indexOf("background")===0){b3[b4]="inherit"}if(!cc||!("set" in cc)||(cb=cc.set(b5,cb,b6))!==aG){try{b3[b4]=cb}catch(b8){}}}else{if(cc&&"get" in cc&&(b9=cc.get(b5,false,b6))!==aG){return b9}return b3[b4]}},css:function(b9,b7,b4,b8){var b6,ca,b3,b5=bJ.camelCase(b7);b7=bJ.cssProps[b5]||(bJ.cssProps[b5]=b(b9.style,b5));b3=bJ.cssHooks[b7]||bJ.cssHooks[b5];if(b3&&"get" in b3){ca=b3.get(b9,true,b4)}if(ca===aG){ca=E(b9,b7,b8)}if(ca==="normal"&&b7 in bC){ca=bC[b7]}if(b4===""||b4){b6=parseFloat(ca);return b4===true||bJ.isNumeric(b6)?b6||0:ca}return ca},swap:function(b8,b7,b9,b6){var b5,b4,b3={};for(b4 in b7){b3[b4]=b8.style[b4];b8.style[b4]=b7[b4]}b5=b9.apply(b8,b6||[]);for(b4 in b7){b8.style[b4]=b3[b4]}return b5}});if(a2.getComputedStyle){bo=function(b3){return a2.getComputedStyle(b3,null)};E=function(b7,b5,b9){var b6,b4,cb,b8=b9||bo(b7),ca=b8?b8.getPropertyValue(b5)||b8[b5]:aG,b3=b7.style;if(b8){if(ca===""&&!bJ.contains(b7.ownerDocument,b7)){ca=bJ.style(b7,b5)}if(W.test(ca)&&aY.test(b5)){b6=b3.width;b4=b3.minWidth;cb=b3.maxWidth;b3.minWidth=b3.maxWidth=b3.width=ca;ca=b8.width;b3.width=b6;b3.minWidth=b4;b3.maxWidth=cb}}return ca}}else{if(l.documentElement.currentStyle){bo=function(b3){return b3.currentStyle};E=function(b6,b4,b9){var b5,b8,ca,b7=b9||bo(b6),cb=b7?b7[b4]:aG,b3=b6.style;if(cb==null&&b3&&b3[b4]){cb=b3[b4]}if(W.test(cb)&&!bn.test(b4)){b5=b3.left;b8=b6.runtimeStyle;ca=b8&&b8.left;if(ca){b8.left=b6.currentStyle.left}b3.left=b4==="fontSize"?"1em":cb;cb=b3.pixelLeft+"px";b3.left=b5;if(ca){b8.left=ca}}return cb===""?"auto":cb}}}function aJ(b3,b5,b6){var b4=a9.exec(b5);return b4?Math.max(0,b4[1]-(b6||0))+(b4[2]||"px"):b5}function aw(b7,b4,b3,b9,b6){var b5=b3===(b9?"border":"content")?4:b4==="width"?1:0,b8=0;for(;b5<4;b5+=2){if(b3==="margin"){b8+=bJ.css(b7,b3+bT[b5],true,b6)}if(b9){if(b3==="content"){b8-=bJ.css(b7,"padding"+bT[b5],true,b6)}if(b3!=="margin"){b8-=bJ.css(b7,"border"+bT[b5]+"Width",true,b6)}}else{b8+=bJ.css(b7,"padding"+bT[b5],true,b6);if(b3!=="padding"){b8+=bJ.css(b7,"border"+bT[b5]+"Width",true,b6)}}}return b8}function u(b7,b4,b3){var b6=true,b8=b4==="width"?b7.offsetWidth:b7.offsetHeight,b5=bo(b7),b9=bJ.support.boxSizing&&bJ.css(b7,"boxSizing",false,b5)==="border-box";if(b8<=0||b8==null){b8=E(b7,b4,b5);if(b8<0||b8==null){b8=b7.style[b4]}if(W.test(b8)){return b8}b6=b9&&(bJ.support.boxSizingReliable||b8===b7.style[b4]);b8=parseFloat(b8)||0}return(b8+aw(b7,b4,b3||(b9?"border":"content"),b6,b5))+"px"}function bE(b5){var b4=l,b3=bj[b5];if(!b3){b3=a1(b5,b4);if(b3==="none"||!b3){aE=(aE||bJ("':""),e._keyEvent=!1,B},_generateMonthYearHeader:function(e,t,n,r,i,s,o,u){var a=this._get(e,"changeMonth"),f=this._get(e,"changeYear"),l=this._get(e,"showMonthAfterYear"),c='
',h="";if(s||!a){h+=''+o[t]+""}else{var p=r&&r.getFullYear()==n,d=i&&i.getFullYear()==n;h+='"}l||(c+=h+(s||!a||!f?" ":""));if(!e.yearshtml){e.yearshtml="";if(s||!f){c+=''+n+""}else{var m=this._get(e,"yearRange").split(":"),g=(new Date).getFullYear(),y=function(e){var t=e.match(/c[+-].*/)?n+parseInt(e.substring(1),10):e.match(/[+-].*/)?g+parseInt(e,10):parseInt(e,10);return isNaN(t)?g:t},b=y(m[0]),w=Math.max(b,y(m[1]||""));b=r?Math.max(b,r.getFullYear()):b,w=i?Math.min(w,i.getFullYear()):w,e.yearshtml+='",c+=e.yearshtml,e.yearshtml=null}}return c+=this._get(e,"yearSuffix"),l&&(c+=(s||!a||!f?" ":"")+h),c+="
",c},_adjustInstDate:function(e,t,n){var r=e.drawYear+(n=="Y"?t:0),i=e.drawMonth+(n=="M"?t:0),s=Math.min(e.selectedDay,this._getDaysInMonth(r,i))+(n=="D"?t:0),o=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(r,i,s)));e.selectedDay=o.getDate(),e.drawMonth=e.selectedMonth=o.getMonth(),e.drawYear=e.selectedYear=o.getFullYear(),(n=="M"||n=="Y")&&this._notifyChange(e)},_restrictMinMax:function(e,t){var n=this._getMinMaxDate(e,"min"),r=this._getMinMaxDate(e,"max"),i=n&&tr?r:i,i},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){var t=this._get(e,"numberOfMonths");return t==null?[1,1]:typeof t=="number"?[1,t]:t},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return(new Date(e,t,1)).getDay()},_canAdjustMonth:function(e,t,n,r){var i=this._getNumberOfMonths(e),s=this._daylightSavingAdjust(new Date(n,r+(t<0?t:i[0]*i[1]),1));return t<0&&s.setDate(this._getDaysInMonth(s.getFullYear(),s.getMonth())),this._isInRange(e,s)},_isInRange:function(e,t){var n=this._getMinMaxDate(e,"min"),r=this._getMinMaxDate(e,"max");return(!n||t.getTime()>=n.getTime())&&(!r||t.getTime()<=r.getTime())},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return t=typeof t!="string"?t:(new Date).getFullYear()%100+parseInt(t,10),{shortYearCutoff:t,dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,n,r){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);var i=t?typeof t=="object"?t:this._daylightSavingAdjust(new Date(r,n,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),i,this._getFormatConfig(e))}}),$.fn.datepicker=function(e){if(!this.length){return this}$.datepicker.initialized||($(document).mousedown($.datepicker._checkExternalClick).find(document.body).append($.datepicker.dpDiv),$.datepicker.initialized=!0);var t=Array.prototype.slice.call(arguments,1);return typeof e!="string"||e!="isDisabled"&&e!="getDate"&&e!="widget"?e=="option"&&arguments.length==2&&typeof arguments[1]=="string"?$.datepicker["_"+e+"Datepicker"].apply($.datepicker,[this[0]].concat(t)):this.each(function(){typeof e=="string"?$.datepicker["_"+e+"Datepicker"].apply($.datepicker,[this].concat(t)):$.datepicker._attachDatepicker(this,e)}):$.datepicker["_"+e+"Datepicker"].apply($.datepicker,[this[0]].concat(t))},$.datepicker=new Datepicker,$.datepicker.initialized=!1,$.datepicker.uuid=(new Date).getTime(),$.datepicker.version="1.9.2",window["DP_jQuery_"+dpuuid]=$}(jQuery),function(d,b){var f="ui-dialog ui-widget ui-widget-content ui-corner-all ",c={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},a={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0};d.widget("ui.dialog",{version:"1.9.2",options:{autoOpen:!0,buttons:{},closeOnEscape:!0,closeText:"close",dialogClass:"",draggable:!0,hide:null,height:"auto",maxHeight:!1,maxWidth:!1,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(g){var h=d(this).css(g).offset().top;h<0&&d(this).css("top",g.top-h)}},resizable:!0,show:null,stack:!0,title:"",width:300,zIndex:1000},_create:function(){this.originalTitle=this.element.attr("title"),typeof this.originalTitle!="string"&&(this.originalTitle=""),this.oldPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.options.title=this.options.title||this.originalTitle;var k=this,m=this.options,j=m.title||" ",l,p,h,g,n;l=(this.uiDialog=d("
")).addClass(f+m.dialogClass).css({display:"none",outline:0,zIndex:m.zIndex}).attr("tabIndex",-1).keydown(function(i){m.closeOnEscape&&!i.isDefaultPrevented()&&i.keyCode&&i.keyCode===d.ui.keyCode.ESCAPE&&(k.close(i),i.preventDefault())}).mousedown(function(i){k.moveToTop(!1,i)}).appendTo("body"),this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(l),p=(this.uiDialogTitlebar=d("
")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").bind("mousedown",function(){l.focus()}).prependTo(l),h=d("").addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").click(function(i){i.preventDefault(),k.close(i)}).appendTo(p),(this.uiDialogTitlebarCloseText=d("")).addClass("ui-icon ui-icon-closethick").text(m.closeText).appendTo(h),g=d("").uniqueId().addClass("ui-dialog-title").html(j).prependTo(p),n=(this.uiDialogButtonPane=d("
")).addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),(this.uiButtonSet=d("
")).addClass("ui-dialog-buttonset").appendTo(n),l.attr({role:"dialog","aria-labelledby":g.attr("id")}),p.find("*").add(p).disableSelection(),this._hoverable(h),this._focusable(h),m.draggable&&d.fn.draggable&&this._makeDraggable(),m.resizable&&d.fn.resizable&&this._makeResizable(),this._createButtons(m.buttons),this._isOpen=!1,d.fn.bgiframe&&l.bgiframe(),this._on(l,{keydown:function(r){if(!m.modal||r.keyCode!==d.ui.keyCode.TAB){return}var u=d(":tabbable",l),q=u.filter(":first"),s=u.filter(":last");if(r.target===s[0]&&!r.shiftKey){return q.focus(1),!1}if(r.target===q[0]&&r.shiftKey){return s.focus(1),!1}}})},_init:function(){this.options.autoOpen&&this.open()},_destroy:function(){var h,g=this.oldPosition;this.overlay&&this.overlay.destroy(),this.uiDialog.hide(),this.element.removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body"),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),h=g.parent.children().eq(g.index),h.length&&h[0]!==this.element[0]?h.before(this.element):g.parent.append(this.element)},widget:function(){return this.uiDialog},close:function(h){var k=this,j,g;if(!this._isOpen){return}if(!1===this._trigger("beforeClose",h)){return}return this._isOpen=!1,this.overlay&&this.overlay.destroy(),this.options.hide?this._hide(this.uiDialog,this.options.hide,function(){k._trigger("close",h)}):(this.uiDialog.hide(),this._trigger("close",h)),d.ui.dialog.overlay.resize(),this.options.modal&&(j=0,d(".ui-dialog").each(function(){this!==k.uiDialog[0]&&(g=d(this).css("z-index"),isNaN(g)||(j=Math.max(j,g)))}),d.ui.dialog.maxZ=j),this},isOpen:function(){return this._isOpen},moveToTop:function(h,k){var j=this.options,g;return j.modal&&!h||!j.stack&&!j.modal?this._trigger("focus",k):(j.zIndex>d.ui.dialog.maxZ&&(d.ui.dialog.maxZ=j.zIndex),this.overlay&&(d.ui.dialog.maxZ+=1,d.ui.dialog.overlay.maxZ=d.ui.dialog.maxZ,this.overlay.$el.css("z-index",d.ui.dialog.overlay.maxZ)),g={scrollTop:this.element.scrollTop(),scrollLeft:this.element.scrollLeft()},d.ui.dialog.maxZ+=1,this.uiDialog.css("z-index",d.ui.dialog.maxZ),this.element.attr(g),this._trigger("focus",k),this)},open:function(){if(this._isOpen){return}var g,i=this.options,h=this.uiDialog;return this._size(),this._position(i.position),h.show(i.show),this.overlay=i.modal?new d.ui.dialog.overlay(this):null,this.moveToTop(!0),g=this.element.find(":tabbable"),g.length||(g=this.uiDialogButtonPane.find(":tabbable"),g.length||(g=h)),g.eq(0).focus(),this._isOpen=!0,this._trigger("open"),this},_createButtons:function(g){var i=this,h=!1;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),typeof g=="object"&&g!==null&&d.each(g,function(){return !(h=!0)}),h?(d.each(g,function(k,m){var j,l;m=d.isFunction(m)?{click:m,text:k}:m,m=d.extend({type:"button"},m),l=m.click,m.click=function(){l.apply(i.element[0],arguments)},j=d("",m).appendTo(i.uiButtonSet),d.fn.button&&j.button()}),this.uiDialog.addClass("ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog)):this.uiDialog.removeClass("ui-dialog-buttons")},_makeDraggable:function(){function h(j){return{position:j.position,offset:j.offset}}var g=this,i=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(k,j){d(this).addClass("ui-dialog-dragging"),g._trigger("dragStart",k,h(j))},drag:function(j,k){g._trigger("drag",j,h(k))},stop:function(j,k){i.position=[k.position.left-g.document.scrollLeft(),k.position.top-g.document.scrollTop()],d(this).removeClass("ui-dialog-dragging"),g._trigger("dragStop",j,h(k)),d.ui.dialog.overlay.resize()}})},_makeResizable:function(m){function g(i){return{originalPosition:i.originalPosition,originalSize:i.originalSize,position:i.position,size:i.size}}m=m===b?this.options.resizable:m;var k=this,h=this.options,j=this.uiDialog.css("position"),l=typeof m=="string"?m:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:h.maxWidth,maxHeight:h.maxHeight,minWidth:h.minWidth,minHeight:this._minHeight(),handles:l,start:function(i,o){d(this).addClass("ui-dialog-resizing"),k._trigger("resizeStart",i,g(o))},resize:function(n,i){k._trigger("resize",n,g(i))},stop:function(i,o){d(this).removeClass("ui-dialog-resizing"),h.height=d(this).height(),h.width=d(this).width(),k._trigger("resizeStop",i,g(o)),d.ui.dialog.overlay.resize()}}).css("position",j).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var g=this.options;return g.height==="auto"?g.minHeight:Math.min(g.minHeight,g.height)},_position:function(h){var k=[],j=[0,0],g;if(h){if(typeof h=="string"||typeof h=="object"&&"0" in h){k=h.split?h.split(" "):[h[0],h[1]],k.length===1&&(k[1]=k[0]),d.each(["left","top"],function(l,i){+k[l]===k[l]&&(j[l]=k[l],k[l]=i)}),h={my:k[0]+(j[0]<0?j[0]:"+"+j[0])+" "+k[1]+(j[1]<0?j[1]:"+"+j[1]),at:k.join(" ")}}h=d.extend({},d.ui.dialog.prototype.options.position,h)}else{h=d.ui.dialog.prototype.options.position}g=this.uiDialog.is(":visible"),g||this.uiDialog.show(),this.uiDialog.position(h),g||this.uiDialog.hide()},_setOptions:function(g){var j=this,h={},i=!1;d.each(g,function(l,k){j._setOption(l,k),l in c&&(i=!0),l in a&&(h[l]=k)}),i&&this._size(),this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option",h)},_setOption:function(h,k){var g,j,l=this.uiDialog;switch(h){case"buttons":this._createButtons(k);break;case"closeText":this.uiDialogTitlebarCloseText.text(""+k);break;case"dialogClass":l.removeClass(this.options.dialogClass).addClass(f+k);break;case"disabled":k?l.addClass("ui-dialog-disabled"):l.removeClass("ui-dialog-disabled");break;case"draggable":g=l.is(":data(draggable)"),g&&!k&&l.draggable("destroy"),!g&&k&&this._makeDraggable();break;case"position":this._position(k);break;case"resizable":j=l.is(":data(resizable)"),j&&!k&&l.resizable("destroy"),j&&typeof k=="string"&&l.resizable("option","handles",k),!j&&k!==!1&&this._makeResizable(k);break;case"title":d(".ui-dialog-title",this.uiDialogTitlebar).html(""+(k||" "))}this._super(h,k)},_size:function(){var h,l,k,g=this.options,j=this.uiDialog.is(":visible");this.element.show().css({width:"auto",minHeight:0,height:0}),g.minWidth>g.width&&(g.width=g.minWidth),h=this.uiDialog.css({height:"auto",width:g.width}).outerHeight(),l=Math.max(0,g.minHeight-h),g.height==="auto"?d.support.minHeight?this.element.css({minHeight:l,height:"auto"}):(this.uiDialog.show(),k=this.element.css("height","auto").height(),j||this.uiDialog.hide(),this.element.height(Math.max(k,l))):this.element.height(Math.max(g.height-h,0)),this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())}}),d.extend(d.ui.dialog,{uuid:0,maxZ:0,getTitleId:function(h){var g=h.attr("id");return g||(this.uuid+=1,g=this.uuid),"ui-dialog-title-"+g},overlay:function(g){this.$el=d.ui.dialog.overlay.create(g)}}),d.extend(d.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:d.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(g){return g+".dialog-overlay"}).join(" "),create:function(g){this.instances.length===0&&(setTimeout(function(){d.ui.dialog.overlay.instances.length&&d(document).bind(d.ui.dialog.overlay.events,function(i){if(d(i.target).zIndex()").addClass("ui-widget-overlay");return d(document).bind("keydown.dialog-overlay",function(k){var j=d.ui.dialog.overlay.instances;j.length!==0&&j[j.length-1]===h&&g.options.closeOnEscape&&!k.isDefaultPrevented()&&k.keyCode&&k.keyCode===d.ui.keyCode.ESCAPE&&(g.close(k),k.preventDefault())}),h.appendTo(document.body).css({width:this.width(),height:this.height()}),d.fn.bgiframe&&h.bgiframe(),this.instances.push(h),h},destroy:function(g){var i=d.inArray(g,this.instances),h=0;i!==-1&&this.oldInstances.push(this.instances.splice(i,1)[0]),this.instances.length===0&&d([document,window]).unbind(".dialog-overlay"),g.height(0).width(0).remove(),d.each(this.instances,function(){h=Math.max(h,this.css("z-index"))}),this.maxZ=h},height:function(){var g,h;return d.ui.ie?(g=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),h=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight),g1&&N.splice.apply(N,[1,0].concat(N.splice(k,M+1))),B.dequeue()}}(jQuery),function(b,a){b.effects.effect.clip=function(C,m){var g=b(this),v=["position","top","bottom","left","right","height","width"],D=b.effects.setMode(g,C.mode||"hide"),k=D==="show",B=C.direction||"vertical",A=B==="vertical",x=A?"height":"width",q=A?"top":"left",z={},w,j,y;b.effects.save(g,v),g.show(),w=b.effects.createWrapper(g).css({overflow:"hidden"}),j=g[0].tagName==="IMG"?w:g,y=j[x](),k&&(j.css(x,0),j.css(q,y/2)),z[x]=k?y:0,z[q]=k?0:y/2,j.animate(z,{queue:!1,duration:C.duration,easing:C.easing,complete:function(){k||g.hide(),b.effects.restore(g,v),b.effects.removeWrapper(g),m()}})}}(jQuery),function(b,a){b.effects.effect.drop=function(w,h){var d=b(this),k=["position","top","bottom","left","right","opacity","height","width"],x=b.effects.setMode(d,w.mode||"hide"),g=x==="show",v=w.direction||"left",q=v==="up"||v==="down"?"top":"left",m=v==="up"||v==="left"?"pos":"neg",j={opacity:g?1:0},p;b.effects.save(d,k),d.show(),b.effects.createWrapper(d),p=w.distance||d[q==="top"?"outerHeight":"outerWidth"](!0)/2,g&&d.css("opacity",0).css(q,m==="pos"?-p:p),j[q]=(g?m==="pos"?"+=":"-=":m==="pos"?"-=":"+=")+p,d.animate(j,{queue:!1,duration:w.duration,easing:w.easing,complete:function(){x==="hide"&&d.hide(),b.effects.restore(d,k),b.effects.removeWrapper(d),h()}})}}(jQuery),function(b,a){b.effects.effect.explode=function(w,C){function j(){K.push(this),K.length===z*F&&L()}function L(){x.css({visibility:"visible"}),b(K).remove(),q||x.hide(),C()}var z=w.pieces?Math.round(Math.sqrt(w.pieces)):3,F=z,x=b(this),B=b.effects.setMode(x,w.mode||"hide"),q=B==="show",M=x.show().css("visibility","hidden").offset(),I=Math.ceil(x.outerWidth()/F),E=Math.ceil(x.outerHeight()/z),K=[],G,A,J,k,D,H;for(G=0;G
").css({position:"absolute",visibility:"visible",left:-A*I,top:-G*E}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:I,height:E,left:J+(q?D*I:0),top:k+(q?H*E:0),opacity:q?0:1}).animate({left:J+(q?0:D*I),top:k+(q?0:H*E),opacity:q?1:0},w.duration||500,w.easing,j)}}}}(jQuery),function(b,a){b.effects.effect.fade=function(d,g){var f=b(this),c=b.effects.setMode(f,d.mode||"toggle");f.animate({opacity:c},{queue:!1,duration:d.duration,easing:d.easing,complete:g})}}(jQuery),function(b,a){b.effects.effect.fold=function(I,w){var j=b(this),z=["position","top","bottom","left","right","height","width"],J=b.effects.setMode(j,I.mode||"hide"),q=J==="show",H=J==="hide",F=I.size||15,C=/([0-9]+)%/.exec(F),y=!!I.horizFirst,E=q!==y,A=E?["width","height"]:["height","width"],k=I.duration/2,D,G,x={},B={};b.effects.save(j,z),j.show(),D=b.effects.createWrapper(j).css({overflow:"hidden"}),G=E?[D.width(),D.height()]:[D.height(),D.width()],C&&(F=parseInt(C[1],10)/100*G[H?0:1]),q&&D.css(y?{height:0,width:F}:{height:F,width:0}),x[A[0]]=q?G[0]:F,B[A[1]]=q?G[1]:0,D.animate(x,k,I.easing).animate(B,k,I.easing,function(){H&&j.hide(),b.effects.restore(j,z),b.effects.removeWrapper(j),w()})}}(jQuery),function(b,a){b.effects.effect.highlight=function(d,j){var g=b(this),c=["backgroundImage","backgroundColor","opacity"],f=b.effects.setMode(g,d.mode||"show"),h={backgroundColor:g.css("backgroundColor")};f==="hide"&&(h.opacity=0),b.effects.save(g,c),g.show().css({backgroundImage:"none",backgroundColor:d.color||"#ffff99"}).animate(h,{queue:!1,duration:d.duration,easing:d.easing,complete:function(){f==="hide"&&g.hide(),b.effects.restore(g,c),j()}})}}(jQuery),function(b,a){b.effects.effect.pulsate=function(A,k){var d=b(this),q=b.effects.setMode(d,A.mode||"show"),B=q==="show",j=q==="hide",z=B||q==="hide",y=(A.times||5)*2+(z?1:0),w=A.duration/y,m=0,x=d.queue(),v=x.length,g;if(B||!d.is(":visible")){d.css("opacity",0).show(),m=1}for(g=1;g1&&x.splice.apply(x,[1,0].concat(x.splice(v,y+1))),d.dequeue()}}(jQuery),function(b,a){b.effects.effect.puff=function(g,l){var j=b(this),f=b.effects.setMode(j,g.mode||"hide"),h=f==="hide",k=parseInt(g.percent,10)||150,d=k/100,c={height:j.height(),width:j.width(),outerHeight:j.outerHeight(),outerWidth:j.outerWidth()};b.extend(g,{effect:"scale",queue:!1,fade:!0,mode:f,complete:l,percent:h?k:100,from:h?c:{height:c.height*d,width:c.width*d,outerHeight:c.outerHeight*d,outerWidth:c.outerWidth*d}}),j.effect(g)},b.effects.effect.scale=function(q,g){var c=b(this),j=b.extend(!0,{},q),v=b.effects.setMode(c,q.mode||"effect"),d=parseInt(q.percent,10)||(parseInt(q.percent,10)===0?0:v==="hide"?0:100),p=q.direction||"both",m=q.origin,k={height:c.height(),width:c.width(),outerHeight:c.outerHeight(),outerWidth:c.outerWidth()},h={y:p!=="horizontal"?d/100:1,x:p!=="vertical"?d/100:1};j.effect="size",j.queue=!1,j.complete=g,v!=="effect"&&(j.origin=m||["middle","center"],j.restore=!0),j.from=q.from||(v==="show"?{height:0,width:0,outerHeight:0,outerWidth:0}:k),j.to={height:k.height*h.y,width:k.width*h.x,outerHeight:k.outerHeight*h.y,outerWidth:k.outerWidth*h.x},j.fade&&(v==="show"&&(j.from.opacity=0,j.to.opacity=1),v==="hide"&&(j.from.opacity=1,j.to.opacity=0)),c.effect(j)},b.effects.effect.size=function(w,C){var z,F,x,B=b(this),q=["position","top","bottom","left","right","width","height","overflow","opacity"],M=["position","top","bottom","left","right","overflow","opacity"],I=["width","height","overflow"],E=["fontSize"],K=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],G=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],A=b.effects.setMode(B,w.mode||"effect"),J=w.restore||A!=="effect",k=w.scale||"both",D=w.origin||["middle","center"],H=B.css("position"),j=J?q:M,L={height:0,width:0,outerHeight:0,outerWidth:0};A==="show"&&B.show(),z={height:B.height(),width:B.width(),outerHeight:B.outerHeight(),outerWidth:B.outerWidth()},w.mode==="toggle"&&A==="show"?(B.from=w.to||L,B.to=w.from||z):(B.from=w.from||(A==="show"?L:z),B.to=w.to||(A==="hide"?L:z)),x={from:{y:B.from.height/z.height,x:B.from.width/z.width},to:{y:B.to.height/z.height,x:B.to.width/z.width}};if(k==="box"||k==="both"){x.from.y!==x.to.y&&(j=j.concat(K),B.from=b.effects.setTransition(B,K,x.from.y,B.from),B.to=b.effects.setTransition(B,K,x.to.y,B.to)),x.from.x!==x.to.x&&(j=j.concat(G),B.from=b.effects.setTransition(B,G,x.from.x,B.from),B.to=b.effects.setTransition(B,G,x.to.x,B.to))}(k==="content"||k==="both")&&x.from.y!==x.to.y&&(j=j.concat(E).concat(I),B.from=b.effects.setTransition(B,E,x.from.y,B.from),B.to=b.effects.setTransition(B,E,x.to.y,B.to)),b.effects.save(B,j),B.show(),b.effects.createWrapper(B),B.css("overflow","hidden").css(B.from),D&&(F=b.effects.getBaseline(D,z),B.from.top=(z.outerHeight-B.outerHeight())*F.y,B.from.left=(z.outerWidth-B.outerWidth())*F.x,B.to.top=(z.outerHeight-B.to.outerHeight)*F.y,B.to.left=(z.outerWidth-B.to.outerWidth)*F.x),B.css(B.from);if(k==="content"||k==="both"){K=K.concat(["marginTop","marginBottom"]).concat(E),G=G.concat(["marginLeft","marginRight"]),I=q.concat(K).concat(G),B.find("*[width]").each(function(){var d=b(this),c={height:d.height(),width:d.width(),outerHeight:d.outerHeight(),outerWidth:d.outerWidth()};J&&b.effects.save(d,I),d.from={height:c.height*x.from.y,width:c.width*x.from.x,outerHeight:c.outerHeight*x.from.y,outerWidth:c.outerWidth*x.from.x},d.to={height:c.height*x.to.y,width:c.width*x.to.x,outerHeight:c.height*x.to.y,outerWidth:c.width*x.to.x},x.from.y!==x.to.y&&(d.from=b.effects.setTransition(d,K,x.from.y,d.from),d.to=b.effects.setTransition(d,K,x.to.y,d.to)),x.from.x!==x.to.x&&(d.from=b.effects.setTransition(d,G,x.from.x,d.from),d.to=b.effects.setTransition(d,G,x.to.x,d.to)),d.css(d.from),d.animate(d.to,w.duration,w.easing,function(){J&&b.effects.restore(d,I)})})}B.animate(B.to,{queue:!1,duration:w.duration,easing:w.easing,complete:function(){B.to.opacity===0&&B.css("opacity",B.from.opacity),A==="hide"&&B.hide(),b.effects.restore(B,j),J||(H==="static"?B.css({position:"relative",top:B.to.top,left:B.to.left}):b.each(["top","left"],function(d,c){B.css(c,function(g,l){var h=parseInt(l,10),f=d?B.to.left:B.to.top;return l==="auto"?f+"px":h+f+"px"})})),b.effects.removeWrapper(B),C()}})}}(jQuery),function(b,a){b.effects.effect.shake=function(w,C){var z=b(this),F=["position","top","bottom","left","right","height","width"],x=b.effects.setMode(z,w.mode||"effect"),B=w.direction||"left",q=w.distance||20,L=w.times||3,I=L*2+1,E=Math.round(w.duration/I),K=B==="up"||B==="down"?"top":"left",G=B==="up"||B==="left",A={},J={},k={},D,H=z.queue(),j=H.length;b.effects.save(z,F),z.show(),b.effects.createWrapper(z),A[K]=(G?"-=":"+=")+q,J[K]=(G?"+=":"-=")+q*2,k[K]=(G?"-=":"+=")+q*2,z.animate(A,E,w.easing);for(D=1;D1&&H.splice.apply(H,[1,0].concat(H.splice(j,I+1))),z.dequeue()}}(jQuery),function(b,a){b.effects.effect.slide=function(w,h){var d=b(this),k=["position","top","bottom","left","right","width","height"],x=b.effects.setMode(d,w.mode||"show"),g=x==="show",v=w.direction||"left",q=v==="up"||v==="down"?"top":"left",m=v==="up"||v==="left",j,p={};b.effects.save(d,k),d.show(),j=w.distance||d[q==="top"?"outerHeight":"outerWidth"](!0),b.effects.createWrapper(d).css({overflow:"hidden"}),g&&d.css(q,m?isNaN(j)?"-"+j:-j:j),p[q]=(g?m?"+=":"-=":m?"-=":"+=")+j,d.animate(p,{queue:!1,duration:w.duration,easing:w.easing,complete:function(){x==="hide"&&d.hide(),b.effects.restore(d,k),b.effects.removeWrapper(d),h()}})}}(jQuery),function(b,a){b.effects.effect.transfer=function(y,j){var d=b(this),m=b(y.to),z=m.css("position")==="fixed",g=b("body"),x=z?g.scrollTop():0,w=z?g.scrollLeft():0,q=m.offset(),k={top:q.top-x,left:q.left-w,height:m.innerHeight(),width:m.innerWidth()},v=d.offset(),p=b('
').appendTo(document.body).addClass(y.className).css({top:v.top-x,left:v.left-w,height:d.innerHeight(),width:d.innerWidth(),position:z?"fixed":"absolute"}).animate(k,y.duration,y.easing,function(){p.remove(),j()})}}(jQuery),function(b,a){var c=!1;b.widget("ui.menu",{version:"1.9.2",defaultElement:"
    ",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}).bind("click"+this.eventNamespace,b.proxy(function(d){this.options.disabled&&d.preventDefault()},this)),this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true"),this._on({"mousedown .ui-menu-item > a":function(d){d.preventDefault()},"click .ui-state-disabled > a":function(d){d.preventDefault()},"click .ui-menu-item:has(a)":function(d){var f=b(d.target).closest(".ui-menu-item");!c&&f.not(".ui-state-disabled").length&&(c=!0,this.select(d),f.has(".ui-menu").length?this.expand(d):this.element.is(":focus")||(this.element.trigger("focus",[!0]),this.active&&this.active.parents(".ui-menu").length===1&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(d){var f=b(d.currentTarget);f.siblings().children(".ui-state-active").removeClass("ui-state-active"),this.focus(d,f)},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(f,d){var g=this.active||this.element.children(".ui-menu-item").eq(0);d||this.focus(f,g)},blur:function(d){this._delay(function(){b.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(d)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(d){b(d.target).closest(".ui-menu").length||this.collapseAll(d),c=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").andSelf().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(),this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var d=b(this);d.data("ui-menu-submenu-carat")&&d.remove()}),this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(h){function d(i){return i.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}var m,k,g,j,l,f=!0;switch(h.keyCode){case b.ui.keyCode.PAGE_UP:this.previousPage(h);break;case b.ui.keyCode.PAGE_DOWN:this.nextPage(h);break;case b.ui.keyCode.HOME:this._move("first","first",h);break;case b.ui.keyCode.END:this._move("last","last",h);break;case b.ui.keyCode.UP:this.previous(h);break;case b.ui.keyCode.DOWN:this.next(h);break;case b.ui.keyCode.LEFT:this.collapse(h);break;case b.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(h);break;case b.ui.keyCode.ENTER:case b.ui.keyCode.SPACE:this._activate(h);break;case b.ui.keyCode.ESCAPE:this.collapse(h);break;default:f=!1,k=this.previousFilter||"",g=String.fromCharCode(h.keyCode),j=!1,clearTimeout(this.filterTimer),g===k?j=!0:g=k+g,l=new RegExp("^"+d(g),"i"),m=this.activeMenu.children(".ui-menu-item").filter(function(){return l.test(b(this).children("a").text())}),m=j&&m.index(this.active.next())!==-1?this.active.nextAll(".ui-menu-item"):m,m.length||(g=String.fromCharCode(h.keyCode),l=new RegExp("^"+d(g),"i"),m=this.activeMenu.children(".ui-menu-item").filter(function(){return l.test(b(this).children("a").text())})),m.length?(this.focus(h,m),m.length>1?(this.previousFilter=g,this.filterTimer=this._delay(function(){delete this.previousFilter},1000)):delete this.previousFilter):delete this.previousFilter}f&&h.preventDefault()},_activate:function(d){this.active.is(".ui-state-disabled")||(this.active.children("a[aria-haspopup='true']").length?this.expand(d):this.select(d))},refresh:function(){var d,g=this.options.icons.submenu,f=this.element.find(this.options.menus);f.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-corner-all").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var j=b(this),k=j.prev("a"),h=b("").addClass("ui-menu-icon ui-icon "+g).data("ui-menu-submenu-carat",!0);k.attr("aria-haspopup","true").prepend(h),j.attr("aria-labelledby",k.attr("id"))}),d=f.add(this.element),d.children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","presentation").children("a").uniqueId().addClass("ui-corner-all").attr({tabIndex:-1,role:this._itemRole()}),d.children(":not(.ui-menu-item)").each(function(){var h=b(this);/[^\-—–\s]/.test(h.text())||h.addClass("ui-widget-content ui-menu-divider")}),d.children(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!b.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},focus:function(g,d){var h,f;this.blur(g,g&&g.type==="focus"),this._scrollIntoView(d),this.active=d.first(),f=this.active.children("a").addClass("ui-state-focus"),this.options.role&&this.element.attr("aria-activedescendant",f.attr("id")),this.active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active"),g&&g.type==="keydown"?this._close():this.timer=this._delay(function(){this._close()},this.delay),h=d.children(".ui-menu"),h.length&&/^mouse/.test(g.type)&&this._startOpening(h),this.activeMenu=d.parent(),this._trigger("focus",g,{item:d})},_scrollIntoView:function(g){var l,j,f,h,k,d;this._hasScroll()&&(l=parseFloat(b.css(this.activeMenu[0],"borderTopWidth"))||0,j=parseFloat(b.css(this.activeMenu[0],"paddingTop"))||0,f=g.offset().top-this.activeMenu.offset().top-l-j,h=this.activeMenu.scrollTop(),k=this.activeMenu.height(),d=g.height(),f<0?this.activeMenu.scrollTop(h+f):f+d>k&&this.activeMenu.scrollTop(h+f-k+d))},blur:function(f,d){d||clearTimeout(this.timer);if(!this.active){return}this.active.children("a").removeClass("ui-state-focus"),this.active=null,this._trigger("blur",f,{item:this.active})},_startOpening:function(d){clearTimeout(this.timer);if(d.attr("aria-hidden")!=="true"){return}this.timer=this._delay(function(){this._close(),this._open(d)},this.delay)},_open:function(d){var f=b.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(d.parents(".ui-menu")).hide().attr("aria-hidden","true"),d.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(f)},collapseAll:function(d,f){clearTimeout(this.timer),this.timer=this._delay(function(){var g=f?this.element:b(d&&d.target).closest(this.element.find(".ui-menu"));g.length||(g=this.element),this._close(g),this.blur(d),this.activeMenu=g},this.delay)},_close:function(d){d||(d=this.active?this.active.parent():this.element),d.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find("a.ui-state-active").removeClass("ui-state-active")},collapse:function(f){var d=this.active&&this.active.parent().closest(".ui-menu-item",this.element);d&&d.length&&(this._close(),this.focus(f,d))},expand:function(f){var d=this.active&&this.active.children(".ui-menu ").children(".ui-menu-item").first();d&&d.length&&(this._open(d.parent()),this._delay(function(){this.focus(f,d)}))},next:function(d){this._move("next","first",d)},previous:function(d){this._move("prev","last",d)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(g,d,h){var f;this.active&&(g==="first"||g==="last"?f=this.active[g==="first"?"prevAll":"nextAll"](".ui-menu-item").eq(-1):f=this.active[g+"All"](".ui-menu-item").eq(0));if(!f||!f.length||!this.active){f=this.activeMenu.children(".ui-menu-item")[d]()}this.focus(h,f)},nextPage:function(f){var h,g,d;if(!this.active){this.next(f);return}if(this.isLastItem()){return}this._hasScroll()?(g=this.active.offset().top,d=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return h=b(this),h.offset().top-g-d<0}),this.focus(f,h)):this.focus(f,this.activeMenu.children(".ui-menu-item")[this.active?"last":"first"]())},previousPage:function(f){var h,g,d;if(!this.active){this.next(f);return}if(this.isFirstItem()){return}this._hasScroll()?(g=this.active.offset().top,d=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return h=b(this),h.offset().top-g+d>0}),this.focus(f,h)):this.focus(f,this.activeMenu.children(".ui-menu-item").first())},_hasScroll:function(){return this.element.outerHeight()
"),h=c.children()[0];return w("body").append(c),f=h.offsetWidth,c.css("overflow","scroll"),a=h.offsetWidth,f===a&&(a=c[0].clientWidth),c.remove(),j=f-a},getScrollInfo:function(c){var l=c.isWindow?"":c.element.css("overflow-x"),h=c.isWindow?"":c.element.css("overflow-y"),a=l==="scroll"||l==="auto"&&c.width0?"right":"center",vertical:M<0?"top":Q>0?"bottom":"middle"};fb(m(Q),m(M))?N.important="horizontal":N.important="vertical",C.using.call(this,P,N)}),I.offset(w.extend(l,{using:L}))})},w.ui.position={fit:{left:function(r,E){var h=E.within,l=h.isWindow?h.scrollLeft:h.offset.left,F=h.width,c=r.left-E.collisionPosition.marginLeft,D=l-c,C=c+E.collisionWidth-F-l,p;E.collisionWidth>F?D>0&&C<=0?(p=r.left+D+E.collisionWidth-F-l,r.left+=D-p):C>0&&D<=0?r.left=l:D>C?r.left=l+F-E.collisionWidth:r.left=l:D>0?r.left+=D:C>0?r.left-=C:r.left=b(r.left-c,r.left)},top:function(r,E){var h=E.within,l=h.isWindow?h.scrollTop:h.offset.top,F=E.within.height,c=r.top-E.collisionPosition.marginTop,D=l-c,C=c+E.collisionHeight-F-l,p;E.collisionHeight>F?D>0&&C<=0?(p=r.top+D+E.collisionHeight-F-l,r.top+=D-p):C>0&&D<=0?r.top=l:D>C?r.top=l+F-E.collisionHeight:r.top=l:D>0?r.top+=D:C>0?r.top-=C:r.top=b(r.top-c,r.top)}},flip:{left:function(I,N){var E=N.within,i=E.offset.left+E.scrollLeft,O=E.width,D=E.isWindow?E.scrollLeft:E.offset.left,M=I.left-N.collisionPosition.marginLeft,L=M-D,H=M+N.collisionWidth-O-D,F=N.my[0]==="left"?-N.elemWidth:N.my[0]==="right"?N.elemWidth:0,K=N.at[0]==="left"?N.targetWidth:N.at[0]==="right"?-N.targetWidth:0,G=-2*N.offset[0],C,J;if(L<0){C=I.left+F+K+G+N.collisionWidth-O-i;if(C<0||C0){J=I.left-N.collisionPosition.marginLeft+F+K+G-D;if(J>0||m(J)L&&(M<0||M0&&(J=I.top-O.collisionPosition.marginTop+K+G+C-D,I.top+K+G+C>H&&(J>0||m(J)10&&c<11,f.innerHTML="",C.removeChild(f)}(),w.uiBackCompat!==!1&&function(a){var c=a.fn.position;a.fn.position=function(l){if(!l||!l.offset){return c.call(this,l)}var f=l.offset.split(" "),h=l.at.split(" ");return f.length===1&&(f[1]=f[0]),/^\d/.test(f[0])&&(f[0]="+"+f[0]),/^\d/.test(f[1])&&(f[1]="+"+f[1]),h.length===1&&(/left|center|right/.test(h[0])?h[1]="center":(h[1]=h[0],h[0]="center")),c.call(this,a.extend(l,{at:h[0]+f[0]+" "+h[1]+f[1],offset:A}))}}(jQuery)}(jQuery),function(b,a){b.widget("ui.progressbar",{version:"1.9.2",options:{value:0,max:100},min:0,_create:function(){this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min,"aria-valuemax":this.options.max,"aria-valuenow":this._value()}),this.valueDiv=b("
").appendTo(this.element),this.oldValue=this._value(),this._refreshValue()},_destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove()},value:function(c){return c===a?this._value():(this._setOption("value",c),this)},_setOption:function(d,c){d==="value"&&(this.options.value=c,this._refreshValue(),this._value()===this.options.max&&this._trigger("complete")),this._super(d,c)},_value:function(){var c=this.options.value;return typeof c!="number"&&(c=0),Math.min(this.options.max,Math.max(this.min,c))},_percentage:function(){return 100*this._value()/this.options.max},_refreshValue:function(){var d=this.value(),c=this._percentage();this.oldValue!==d&&(this.oldValue=d,this._trigger("change")),this.valueDiv.toggle(d>this.min).toggleClass("ui-corner-right",d===this.options.max).width(c.toFixed(0)+"%"),this.element.attr("aria-valuenow",d)}})}(jQuery),function(b,a){var c=5;b.widget("ui.slider",b.ui.mouse,{version:"1.9.2",widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null},_create:function(){var g,j,f=this.options,h=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),k="",d=[];this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all"+(f.disabled?" ui-slider-disabled ui-disabled":"")),this.range=b([]),f.range&&(f.range===!0&&(f.values||(f.values=[this._valueMin(),this._valueMin()]),f.values.length&&f.values.length!==2&&(f.values=[f.values[0],f.values[0]])),this.range=b("
").appendTo(this.element).addClass("ui-slider-range ui-widget-header"+(f.range==="min"||f.range==="max"?" ui-slider-range-"+f.range:""))),j=f.values&&f.values.length||1;for(g=h.length;gi&&(k=i,x=b(this),g=f)}),p.range===!0&&this.values(1)===p.min&&(g+=1,x=b(this.handles[g])),v=this._start(w,g),v===!1?!1:(this._mouseSliding=!0,this._handleIndex=g,x.addClass("ui-state-active").focus(),q=x.offset(),m=!b(w.target).parents().andSelf().is(".ui-slider-handle"),this._clickOffset=m?{left:0,top:0}:{left:w.pageX-q.left-x.width()/2,top:w.pageY-q.top-x.height()/2-(parseInt(x.css("borderTopWidth"),10)||0)-(parseInt(x.css("borderBottomWidth"),10)||0)+(parseInt(x.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(w,g,d),this._animateOff=!0,!0))},_mouseStart:function(){return !0},_mouseDrag:function(f){var d={x:f.pageX,y:f.pageY},g=this._normValueFromMouse(d);return this._slide(f,this._handleIndex,g),!1},_mouseStop:function(d){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(d,this._handleIndex),this._change(d,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(j){var f,k,h,d,g;return this.orientation==="horizontal"?(f=this.elementSize.width,k=j.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(f=this.elementSize.height,k=j.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),h=k/f,h>1&&(h=1),h<0&&(h=0),this.orientation==="vertical"&&(h=1-h),d=this._valueMax()-this._valueMin(),g=this._valueMin()+h*d,this._trimAlignValue(g)},_start:function(f,d){var g={handle:this.handles[d],value:this.value()};return this.options.values&&this.options.values.length&&(g.value=this.values(d),g.values=this.values()),this._trigger("start",f,g)},_slide:function(j,f,k){var h,d,g;this.options.values&&this.options.values.length?(h=this.values(f?0:1),this.options.values.length===2&&this.options.range===!0&&(f===0&&k>h||f===1&&k1){this.options.values[f]=this._trimAlignValue(j),this._refreshValue(),this._change(null,f);return}if(!arguments.length){return this._values()}if(!b.isArray(arguments[0])){return this.options.values&&this.options.values.length?this._values(f):this.value()}h=this.options.values,d=arguments[0];for(g=0;g=this._valueMax()){return this._valueMax()}var d=this.options.step>0?this.options.step:1,h=(g-this._valueMin())%d,f=g-h;return Math.abs(h)*2>=d&&(f+=h>0?d:-d),parseFloat(f.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var v,h,d,k,w,g=this.options.range,q=this.options,p=this,m=this._animateOff?!1:q.animate,j={};this.options.values&&this.options.values.length?this.handles.each(function(f){h=(p.values(f)-p._valueMin())/(p._valueMax()-p._valueMin())*100,j[p.orientation==="horizontal"?"left":"bottom"]=h+"%",b(this).stop(1,1)[m?"animate":"css"](j,q.animate),p.options.range===!0&&(p.orientation==="horizontal"?(f===0&&p.range.stop(1,1)[m?"animate":"css"]({left:h+"%"},q.animate),f===1&&p.range[m?"animate":"css"]({width:h-v+"%"},{queue:!1,duration:q.animate})):(f===0&&p.range.stop(1,1)[m?"animate":"css"]({bottom:h+"%"},q.animate),f===1&&p.range[m?"animate":"css"]({height:h-v+"%"},{queue:!1,duration:q.animate}))),v=h}):(d=this.value(),k=this._valueMin(),w=this._valueMax(),h=w!==k?(d-k)/(w-k)*100:0,j[this.orientation==="horizontal"?"left":"bottom"]=h+"%",this.handle.stop(1,1)[m?"animate":"css"](j,q.animate),g==="min"&&this.orientation==="horizontal"&&this.range.stop(1,1)[m?"animate":"css"]({width:h+"%"},q.animate),g==="max"&&this.orientation==="horizontal"&&this.range[m?"animate":"css"]({width:100-h+"%"},{queue:!1,duration:q.animate}),g==="min"&&this.orientation==="vertical"&&this.range.stop(1,1)[m?"animate":"css"]({height:h+"%"},q.animate),g==="max"&&this.orientation==="vertical"&&this.range[m?"animate":"css"]({height:100-h+"%"},{queue:!1,duration:q.animate}))}})}(jQuery),function(b){function a(c){return function(){var d=this.element.val();c.apply(this,arguments),this._refresh(),d!==this.element.val()&&this._trigger("change")}}b.widget("ui.spinner",{version:"1.9.2",defaultElement:"",widgetEventPrefix:"spin",options:{culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var c={},d=this.element;return b.each(["min","max","step"],function(h,g){var f=d.attr(g);f!==undefined&&f.length&&(c[g]=f)}),c},_events:{keydown:function(c){this._start(c)&&this._keydown(c)&&c.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(c){if(this.cancelBlur){delete this.cancelBlur;return}this._refresh(),this.previous!==this.element.val()&&this._trigger("change",c)},mousewheel:function(d,c){if(!c){return}if(!this.spinning&&!this._start(d)){return !1}this._spin((c>0?1:-1)*this.options.step,d),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(d)},100),d.preventDefault()},"mousedown .ui-spinner-button":function(c){function d(){var g=this.element[0]===this.document[0].activeElement;g||(this.element.focus(),this.previous=f,this._delay(function(){this.previous=f}))}var f;f=this.element[0]===this.document[0].activeElement?this.previous:this.element.val(),c.preventDefault(),d.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,d.call(this)});if(this._start(c)===!1){return}this._repeat(null,b(c.currentTarget).hasClass("ui-spinner-up")?1:-1,c)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(c){if(!b(c.currentTarget).hasClass("ui-state-active")){return}if(this._start(c)===!1){return !1}this._repeat(null,b(c.currentTarget).hasClass("ui-spinner-up")?1:-1,c)},"mouseleave .ui-spinner-button":"_stop"},_draw:function(){var c=this.uiSpinner=this.element.addClass("ui-spinner-input").attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml());this.element.attr("role","spinbutton"),this.buttons=c.find(".ui-spinner-button").attr("tabIndex",-1).button().removeClass("ui-corner-all"),this.buttons.height()>Math.ceil(c.height()*0.5)&&c.height()>0&&c.height(c.height()),this.options.disabled&&this.disable()},_keydown:function(c){var f=this.options,d=b.ui.keyCode;switch(c.keyCode){case d.UP:return this._repeat(null,1,c),!0;case d.DOWN:return this._repeat(null,-1,c),!0;case d.PAGE_UP:return this._repeat(null,f.page,c),!0;case d.PAGE_DOWN:return this._repeat(null,-f.page,c),!0}return !1},_uiSpinnerHtml:function(){return""},_buttonHtml:function(){return""},_start:function(c){return !this.spinning&&this._trigger("start",c)===!1?!1:(this.counter||(this.counter=1),this.spinning=!0,!0)},_repeat:function(d,c,f){d=d||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,c,f)},d),this._spin(c*this.options.step,f)},_spin:function(d,c){var f=this.value()||0;this.counter||(this.counter=1),f=this._adjustValue(f+d*this._increment(this.counter));if(!this.spinning||this._trigger("spin",c,{value:f})!==!1){this._value(f),this.counter++}},_increment:function(c){var d=this.options.incremental;return d?b.isFunction(d)?d(c):Math.floor(c*c*c/50000-c*c/500+17*c/200+1):1},_precision:function(){var c=this._precisionOf(this.options.step);return this.options.min!==null&&(c=Math.max(c,this._precisionOf(this.options.min))),c},_precisionOf:function(d){var c=d.toString(),f=c.indexOf(".");return f===-1?0:c.length-f-1},_adjustValue:function(f){var c,g,d=this.options;return c=d.min!==null?d.min:0,g=f-c,g=Math.round(g/d.step)*d.step,f=c+g,f=parseFloat(f.toFixed(this._precision())),d.max!==null&&f>d.max?d.max:d.min!==null&&f1&&h.href.replace(d,"")===location.href.replace(d,"").replace(/\s/g,"%20")}var g=0,d=/#.*$/;f.widget("ui.tabs",{version:"1.9.2",delay:300,options:{active:null,collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_create:function(){var j=this,l=this.options,k=l.active,h=location.hash.substring(1);this.running=!1,this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all").toggleClass("ui-tabs-collapsible",l.collapsible).delegate(".ui-tabs-nav > li","mousedown"+this.eventNamespace,function(i){f(this).is(".ui-state-disabled")&&i.preventDefault()}).delegate(".ui-tabs-anchor","focus"+this.eventNamespace,function(){f(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this._processTabs();if(k===null){h&&this.tabs.each(function(i,m){if(f(m).attr("aria-controls")===h){return k=i,!1}}),k===null&&(k=this.tabs.index(this.tabs.filter(".ui-tabs-active")));if(k===null||k===-1){k=this.tabs.length?0:!1}}k!==!1&&(k=this.tabs.index(this.tabs.eq(k)),k===-1&&(k=l.collapsible?!1:0)),l.active=k,!l.collapsible&&l.active===!1&&this.anchors.length&&(l.active=0),f.isArray(l.disabled)&&(l.disabled=f.unique(l.disabled.concat(f.map(this.tabs.filter(".ui-state-disabled"),function(i){return j.tabs.index(i)}))).sort()),this.options.active!==!1&&this.anchors.length?this.active=this._findActive(this.options.active):this.active=f(),this._refresh(),this.active.length&&this.load(l.active)},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):f()}},_tabKeydown:function(j){var l=f(this.document[0].activeElement).closest("li"),k=this.tabs.index(l),h=!0;if(this._handlePageNav(j)){return}switch(j.keyCode){case f.ui.keyCode.RIGHT:case f.ui.keyCode.DOWN:k++;break;case f.ui.keyCode.UP:case f.ui.keyCode.LEFT:h=!1,k--;break;case f.ui.keyCode.END:k=this.anchors.length-1;break;case f.ui.keyCode.HOME:k=0;break;case f.ui.keyCode.SPACE:j.preventDefault(),clearTimeout(this.activating),this._activate(k);return;case f.ui.keyCode.ENTER:j.preventDefault(),clearTimeout(this.activating),this._activate(k===this.options.active?!1:k);return;default:return}j.preventDefault(),clearTimeout(this.activating),k=this._focusNextTab(k,h),j.ctrlKey||(l.attr("aria-selected","false"),this.tabs.eq(k).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",k)},this.delay))},_panelKeydown:function(h){if(this._handlePageNav(h)){return}h.ctrlKey&&h.keyCode===f.ui.keyCode.UP&&(h.preventDefault(),this.active.focus())},_handlePageNav:function(h){if(h.altKey&&h.keyCode===f.ui.keyCode.PAGE_UP){return this._activate(this._focusNextTab(this.options.active-1,!1)),!0}if(h.altKey&&h.keyCode===f.ui.keyCode.PAGE_DOWN){return this._activate(this._focusNextTab(this.options.active+1,!0)),!0}},_findNextTab:function(j,l){function h(){return j>k&&(j=0),j<0&&(j=k),j}var k=this.tabs.length-1;while(f.inArray(h(),this.options.disabled)!==-1){j=l?j+1:j-1}return j},_focusNextTab:function(i,h){return i=this._findNextTab(i,h),this.tabs.eq(i).focus(),i},_setOption:function(i,h){if(i==="active"){this._activate(h);return}if(i==="disabled"){this._setupDisabled(h);return}this._super(i,h),i==="collapsible"&&(this.element.toggleClass("ui-tabs-collapsible",h),!h&&this.options.active===!1&&this._activate(0)),i==="event"&&this._setupEvents(h),i==="heightStyle"&&this._setupHeightStyle(h)},_tabId:function(h){return h.attr("aria-controls")||"ui-tabs-"+a()},_sanitizeSelector:function(h){return h?h.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var h=this.options,i=this.tablist.children(":has(a[href])");h.disabled=f.map(i.filter(".ui-state-disabled"),function(j){return i.index(j)}),this._processTabs(),h.active===!1||!this.anchors.length?(h.active=!1,this.active=f()):this.active.length&&!f.contains(this.tablist[0],this.active[0])?this.tabs.length===h.disabled.length?(h.active=!1,this.active=f()):this._activate(this._findNextTab(Math.max(0,h.active-1),!1)):h.active=this.tabs.index(this.active),this._refresh()},_refresh:function(){this._setupDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-expanded":"false","aria-hidden":"true"}),this.active.length?(this.active.addClass("ui-tabs-active ui-state-active").attr({"aria-selected":"true",tabIndex:0}),this._getPanelForTab(this.active).show().attr({"aria-expanded":"true","aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var h=this;this.tablist=this._getList().addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").attr("role","tablist"),this.tabs=this.tablist.find("> li:has(a[href])").addClass("ui-state-default ui-corner-top").attr({role:"tab",tabIndex:-1}),this.anchors=this.tabs.map(function(){return f("a",this)[0]}).addClass("ui-tabs-anchor").attr({role:"presentation",tabIndex:-1}),this.panels=f(),this.anchors.each(function(v,q){var p,t,m,k=f(q).uniqueId().attr("id"),s=f(q).closest("li"),j=s.attr("aria-controls");c(q)?(p=q.hash,t=h.element.find(h._sanitizeSelector(p))):(m=h._tabId(s),p="#"+m,t=h.element.find(p),t.length||(t=h._createPanel(m),t.insertAfter(h.panels[v-1]||h.tablist)),t.attr("aria-live","polite")),t.length&&(h.panels=h.panels.add(t)),j&&s.data("ui-tabs-aria-controls",j),s.attr({"aria-controls":p.substring(1),"aria-labelledby":k}),t.attr("aria-labelledby",k)}),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").attr("role","tabpanel")},_getList:function(){return this.element.find("ol,ul").eq(0)},_createPanel:function(h){return f("
").attr("id",h).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)},_setupDisabled:function(h){f.isArray(h)&&(h.length?h.length===this.anchors.length&&(h=!0):h=!1);for(var j=0,i;i=this.tabs[j];j++){h===!0||f.inArray(j,h)!==-1?f(i).addClass("ui-state-disabled").attr("aria-disabled","true"):f(i).removeClass("ui-state-disabled").removeAttr("aria-disabled")}this.options.disabled=h},_setupEvents:function(h){var i={click:function(j){j.preventDefault()}};h&&f.each(h.split(" "),function(k,j){i[j]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(j){var l,k,h=this.element.parent();j==="fill"?(f.support.minHeight||(k=h.css("overflow"),h.css("overflow","hidden")),l=h.height(),this.element.siblings(":visible").each(function(){var i=f(this),m=i.css("position");if(m==="absolute"||m==="fixed"){return}l-=i.outerHeight(!0)}),k&&h.css("overflow",k),this.element.children().not(this.panels).each(function(){l-=f(this).outerHeight(!0)}),this.panels.each(function(){f(this).height(Math.max(0,l-f(this).innerHeight()+f(this).height()))}).css("overflow","auto")):j==="auto"&&(l=0,this.panels.each(function(){l=Math.max(l,f(this).height("").height())}).height(l))},_eventHandler:function(x){var k=this.options,h=this.active,p=f(x.currentTarget),y=p.closest("li"),j=y[0]===h[0],w=j&&k.collapsible,v=w?f():this._getPanelForTab(y),q=h.length?this._getPanelForTab(h):f(),m={oldTab:h,oldPanel:q,newTab:w?f():y,newPanel:v};x.preventDefault();if(y.hasClass("ui-state-disabled")||y.hasClass("ui-tabs-loading")||this.running||j&&!k.collapsible||this._trigger("beforeActivate",x,m)===!1){return}k.active=w?!1:this.tabs.index(y),this.active=j?f():y,this.xhr&&this.xhr.abort(),!q.length&&!v.length&&f.error("jQuery UI Tabs: Mismatching fragment identifier."),v.length&&this.load(this.tabs.index(y),x),this._toggle(x,m)},_toggle:function(k,q){function p(){m.running=!1,m._trigger("activate",k,q)}function h(){q.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),j.length&&m.options.show?m._show(j,m.options.show,p):(j.show(),p())}var m=this,j=q.newPanel,l=q.oldPanel;this.running=!0,l.length&&this.options.hide?this._hide(l,this.options.hide,function(){q.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),h()}):(q.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),l.hide(),h()),l.attr({"aria-expanded":"false","aria-hidden":"true"}),q.oldTab.attr("aria-selected","false"),j.length&&l.length?q.oldTab.attr("tabIndex",-1):j.length&&this.tabs.filter(function(){return f(this).attr("tabIndex")===0}).attr("tabIndex",-1),j.attr({"aria-expanded":"true","aria-hidden":"false"}),q.newTab.attr({"aria-selected":"true",tabIndex:0})},_activate:function(h){var j,i=this._findActive(h);if(i[0]===this.active[0]){return}i.length||(i=this.active),j=i.find(".ui-tabs-anchor")[0],this._eventHandler({target:j,currentTarget:j,preventDefault:f.noop})},_findActive:function(h){return h===!1?f():this.tabs.eq(h)},_getIndex:function(h){return typeof h=="string"&&(h=this.anchors.index(this.anchors.filter("[href$='"+h+"']"))),h},_destroy:function(){this.xhr&&this.xhr.abort(),this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible"),this.tablist.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").removeAttr("role"),this.anchors.removeClass("ui-tabs-anchor").removeAttr("role").removeAttr("tabIndex").removeData("href.tabs").removeData("load.tabs").removeUniqueId(),this.tabs.add(this.panels).each(function(){f.data(this,"ui-tabs-destroy")?f(this).remove():f(this).removeClass("ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel").removeAttr("tabIndex").removeAttr("aria-live").removeAttr("aria-busy").removeAttr("aria-selected").removeAttr("aria-labelledby").removeAttr("aria-hidden").removeAttr("aria-expanded").removeAttr("role")}),this.tabs.each(function(){var h=f(this),i=h.data("ui-tabs-aria-controls");i?h.attr("aria-controls",i):h.removeAttr("aria-controls")}),this.panels.show(),this.options.heightStyle!=="content"&&this.panels.css("height","")},enable:function(i){var h=this.options.disabled;if(h===!1){return}i===b?h=!1:(i=this._getIndex(i),f.isArray(h)?h=f.map(h,function(j){return j!==i?j:null}):h=f.map(this.tabs,function(k,j){return j!==i?j:null})),this._setupDisabled(h)},disable:function(i){var h=this.options.disabled;if(h===!0){return}if(i===b){h=!0}else{i=this._getIndex(i);if(f.inArray(i,h)!==-1){return}f.isArray(h)?h=f.merge([i],h).sort():h=[i]}this._setupDisabled(h)},load:function(l,q){l=this._getIndex(l);var m=this,k=this.tabs.eq(l),p=k.find(".ui-tabs-anchor"),j=this._getPanelForTab(k),h={tab:k,panel:j};if(c(p[0])){return}this.xhr=f.ajax(this._ajaxSettings(p,q,h)),this.xhr&&this.xhr.statusText!=="canceled"&&(k.addClass("ui-tabs-loading"),j.attr("aria-busy","true"),this.xhr.success(function(i){setTimeout(function(){j.html(i),m._trigger("load",q,h)},1)}).complete(function(n,i){setTimeout(function(){i==="abort"&&m.panels.stop(!1,!0),k.removeClass("ui-tabs-loading"),j.removeAttr("aria-busy"),n===m.xhr&&delete m.xhr},1)}))},_ajaxSettings:function(j,l,k){var h=this;return{url:j.attr("href"),beforeSend:function(i,m){return h._trigger("beforeLoad",l,f.extend({jqXHR:i,ajaxSettings:m},k))}}},_getPanelForTab:function(h){var i=f(h).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+i))}}),f.uiBackCompat!==!1&&(f.ui.tabs.prototype._ui=function(i,h){return{tab:i,panel:h,index:this.anchors.index(i)}},f.widget("ui.tabs",f.ui.tabs,{url:function(i,h){this.anchors.eq(i).attr("href",h)}}),f.widget("ui.tabs",f.ui.tabs,{options:{ajaxOptions:null,cache:!1},_create:function(){this._super();var h=this;this._on({tabsbeforeload:function(j,i){if(f.data(i.tab[0],"cache.tabs")){j.preventDefault();return}i.jqXHR.success(function(){h.options.cache&&f.data(i.tab[0],"cache.tabs",!0)})}})},_ajaxSettings:function(j,l,k){var h=this.options.ajaxOptions;return f.extend({},h,{error:function(m,i){try{h.error(m,i,k.tab.closest("li").index(),k.tab[0])}catch(o){}}},this._superApply(arguments))},_setOption:function(i,h){i==="cache"&&h===!1&&this.anchors.removeData("cache.tabs"),this._super(i,h)},_destroy:function(){this.anchors.removeData("cache.tabs"),this._super()},url:function(h){this.anchors.eq(h).removeData("cache.tabs"),this._superApply(arguments)}}),f.widget("ui.tabs",f.ui.tabs,{abort:function(){this.xhr&&this.xhr.abort()}}),f.widget("ui.tabs",f.ui.tabs,{options:{spinner:"Loading…"},_create:function(){this._super(),this._on({tabsbeforeload:function(j,h){if(j.target!==this.element[0]||!this.options.spinner){return}var k=h.tab.find("span"),i=k.html();k.html(this.options.spinner),h.jqXHR.complete(function(){k.html(i)})}})}}),f.widget("ui.tabs",f.ui.tabs,{options:{enable:null,disable:null},enable:function(h){var j=this.options,i;if(h&&j.disabled===!0||f.isArray(j.disabled)&&f.inArray(h,j.disabled)!==-1){i=!0}this._superApply(arguments),i&&this._trigger("enable",null,this._ui(this.anchors[h],this.panels[h]))},disable:function(h){var j=this.options,i;if(h&&j.disabled===!1||f.isArray(j.disabled)&&f.inArray(h,j.disabled)===-1){i=!0}this._superApply(arguments),i&&this._trigger("disable",null,this._ui(this.anchors[h],this.panels[h]))}}),f.widget("ui.tabs",f.ui.tabs,{options:{add:null,remove:null,tabTemplate:"
  • #{label}
  • "},add:function(t,m,k){k===b&&(k=this.anchors.length);var l,q,j=this.options,h=f(j.tabTemplate.replace(/#\{href\}/g,t).replace(/#\{label\}/g,m)),p=t.indexOf("#")?this._tabId(h):t.replace("#","");return h.addClass("ui-state-default ui-corner-top").data("ui-tabs-destroy",!0),h.attr("aria-controls",p),l=k>=this.tabs.length,q=this.element.find("#"+p),q.length||(q=this._createPanel(p),l?k>0?q.insertAfter(this.panels.eq(-1)):q.appendTo(this.element):q.insertBefore(this.panels[k])),q.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").hide(),l?h.appendTo(this.tablist):h.insertBefore(this.tabs[k]),j.disabled=f.map(j.disabled,function(i){return i>=k?++i:i}),this.refresh(),this.tabs.length===1&&j.active===!1&&this.option("active",0),this._trigger("add",null,this._ui(this.anchors[k],this.panels[k])),this},remove:function(j){j=this._getIndex(j);var l=this.options,k=this.tabs.eq(j).remove(),h=this._getPanelForTab(k).remove();return k.hasClass("ui-tabs-active")&&this.anchors.length>2&&this._activate(j+(j+1=j?--i:i}),this.refresh(),this._trigger("remove",null,this._ui(k.find("a")[0],h[0])),this}}),f.widget("ui.tabs",f.ui.tabs,{length:function(){return this.anchors.length}}),f.widget("ui.tabs",f.ui.tabs,{options:{idPrefix:"ui-tabs-"},_tabId:function(h){var i=h.is("li")?h.find("a[href]"):h;return i=i[0],f(i).closest("li").attr("aria-controls")||i.title&&i.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF\-]/g,"")||this.options.idPrefix+a()}}),f.widget("ui.tabs",f.ui.tabs,{options:{panelTemplate:"
    "},_createPanel:function(h){return f(this.options.panelTemplate).attr("id",h).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)}}),f.widget("ui.tabs",f.ui.tabs,{_create:function(){var h=this.options;h.active===null&&h.selected!==b&&(h.active=h.selected===-1?!1:h.selected),this._super(),h.selected=h.active,h.selected===!1&&(h.selected=-1)},_setOption:function(i,h){if(i!=="selected"){return this._super(i,h)}var j=this.options;this._super("active",h===-1?!1:h),j.selected=j.active,j.selected===!1&&(j.selected=-1)},_eventHandler:function(){this._superApply(arguments),this.options.selected=this.options.active,this.options.selected===!1&&(this.options.selected=-1)}}),f.widget("ui.tabs",f.ui.tabs,{options:{show:null,select:null},_create:function(){this._super(),this.options.active!==!1&&this._trigger("show",null,this._ui(this.active.find(".ui-tabs-anchor")[0],this._getPanelForTab(this.active)[0]))},_trigger:function(m,j,o){var l,h,k=this._superApply(arguments);return k?(m==="beforeActivate"?(l=o.newTab.length?o.newTab:o.oldTab,h=o.newPanel.length?o.newPanel:o.oldPanel,k=this._super("select",j,{tab:l.find(".ui-tabs-anchor")[0],panel:h[0],index:l.closest("li").index()})):m==="activate"&&o.newTab.length&&(k=this._super("show",j,{tab:o.newTab.find(".ui-tabs-anchor")[0],panel:o.newPanel[0],index:o.newTab.closest("li").index()})),k):!1}}),f.widget("ui.tabs",f.ui.tabs,{select:function(h){h=this._getIndex(h);if(h===-1){if(!this.options.collapsible||this.options.selected===-1){return}h=this.options.selected}this.anchors.eq(h).trigger(this.options.event+this.eventNamespace)}}),function(){var h=0;f.widget("ui.tabs",f.ui.tabs,{options:{cookie:null},_create:function(){var j=this.options,i;j.active==null&&j.cookie&&(i=parseInt(this._cookie(),10),i===-1&&(i=!1),j.active=i),this._super()},_cookie:function(j){var i=[this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+ ++h)];return arguments.length&&(i.push(j===!1?-1:j),i.push(this.options.cookie)),f.cookie.apply(null,i)},_refresh:function(){this._super(),this.options.cookie&&this._cookie(this.options.active,this.options.cookie)},_eventHandler:function(){this._superApply(arguments),this.options.cookie&&this._cookie(this.options.active,this.options.cookie)},_destroy:function(){this._super(),this.options.cookie&&this._cookie(null,this.options.cookie)}})}(),f.widget("ui.tabs",f.ui.tabs,{_trigger:function(j,l,k){var h=f.extend({},k);return j==="load"&&(h.panel=h.panel[0],h.tab=h.tab.find(".ui-tabs-anchor")[0]),this._super(j,l,h)}}),f.widget("ui.tabs",f.ui.tabs,{options:{fx:null},_getFx:function(){var h,j,i=this.options.fx;return i&&(f.isArray(i)?(h=i[0],j=i[1]):h=j=i),i?{show:j,hide:h}:null},_toggle:function(p,k){function q(){v.running=!1,v._trigger("activate",p,k)}function h(){k.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),m.length&&l.show?m.animate(l.show,l.show.duration,function(){q()}):(m.show(),q())}var v=this,m=k.newPanel,j=k.oldPanel,l=this._getFx();if(!l){return this._super(p,k)}v.running=!0,j.length&&l.hide?j.animate(l.hide,l.hide.duration,function(){k.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),h()}):(k.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),j.hide(),h())}}))}(jQuery),function(c){function d(f,h){var g=(f.attr("aria-describedby")||"").split(/\s+/);g.push(h),f.data("ui-tooltip-id",h).attr("aria-describedby",c.trim(g.join(" ")))}function b(g){var j=g.data("ui-tooltip-id"),h=(g.attr("aria-describedby")||"").split(/\s+/),f=c.inArray(j,h);f!==-1&&h.splice(f,1),g.removeData("ui-tooltip-id"),h=c.trim(h.join(" ")),h?g.attr("aria-describedby",h):g.removeAttr("aria-describedby")}var a=0;c.widget("ui.tooltip",{version:"1.9.2",options:{content:function(){return c(this).attr("title")},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,tooltipClass:null,track:!1,close:null,open:null},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.options.disabled&&this._disable()},_setOption:function(f,h){var g=this;if(f==="disabled"){this[h?"_disable":"_enable"](),this.options[f]=h;return}this._super(f,h),f==="content"&&c.each(this.tooltips,function(j,i){g._updateContent(i)})},_disable:function(){var f=this;c.each(this.tooltips,function(j,h){var g=c.Event("blur");g.target=g.currentTarget=h[0],f.close(g,!0)}),this.element.find(this.options.items).andSelf().each(function(){var g=c(this);g.is("[title]")&&g.data("ui-tooltip-title",g.attr("title")).attr("title","")})},_enable:function(){this.element.find(this.options.items).andSelf().each(function(){var f=c(this);f.data("ui-tooltip-title")&&f.attr("title",f.data("ui-tooltip-title"))})},open:function(f){var h=this,g=c(f?f.target:this.element).closest(this.options.items);if(!g.length||g.data("ui-tooltip-id")){return}g.attr("title")&&g.data("ui-tooltip-title",g.attr("title")),g.data("ui-tooltip-open",!0),f&&f.type==="mouseover"&&g.parents().each(function(){var i=c(this),j;i.data("ui-tooltip-open")&&(j=c.Event("blur"),j.target=j.currentTarget=this,h.close(j,!0)),i.attr("title")&&(i.uniqueId(),h.parents[this.id]={element:this,title:i.attr("title")},i.attr("title",""))}),this._updateContent(g,f)},_updateContent:function(k,g){var l,j=this.options.content,f=this,h=g?g.type:null;if(typeof j=="string"){return this._open(g,k,j)}l=j.call(k[0],function(i){if(!k.data("ui-tooltip-open")){return}f._delay(function(){g&&(g.type=h),this._open(g,k,i)})}),l&&this._open(g,k,l)},_open:function(k,m,j){function n(f){g.of=f;if(l.is(":hidden")){return}l.position(g)}var l,p,h,g=c.extend({},this.options.position);if(!j){return}l=this._find(m);if(l.length){l.find(".ui-tooltip-content").html(j);return}m.is("[title]")&&(k&&k.type==="mouseover"?m.attr("title",""):m.removeAttr("title")),l=this._tooltip(m),d(m,l.attr("id")),l.find(".ui-tooltip-content").html(j),this.options.track&&k&&/^mouse/.test(k.type)?(this._on(this.document,{mousemove:n}),n(k)):l.position(c.extend({of:m},this.options.position)),l.hide(),this._show(l,this.options.show),this.options.show&&this.options.show.delay&&(h=setInterval(function(){l.is(":visible")&&(n(g.of),clearInterval(h))},c.fx.interval)),this._trigger("open",k,{tooltip:l}),p={keyup:function(f){if(f.keyCode===c.ui.keyCode.ESCAPE){var i=c.Event(f);i.currentTarget=m[0],this.close(i,!0)}},remove:function(){this._removeTooltip(l)}};if(!k||k.type==="mouseover"){p.mouseleave="close"}if(!k||k.type==="focusin"){p.focusout="close"}this._on(!0,m,p)},close:function(g){var j=this,f=c(g?g.currentTarget:this.element),h=this._find(f);if(this.closing){return}f.data("ui-tooltip-title")&&f.attr("title",f.data("ui-tooltip-title")),b(f),h.stop(!0),this._hide(h,this.options.hide,function(){j._removeTooltip(c(this))}),f.removeData("ui-tooltip-open"),this._off(f,"mouseleave focusout keyup"),f[0]!==this.element[0]&&this._off(f,"remove"),this._off(this.document,"mousemove"),g&&g.type==="mouseleave"&&c.each(this.parents,function(i,k){c(k.element).attr("title",k.title),delete j.parents[i]}),this.closing=!0,this._trigger("close",g,{tooltip:h}),this.closing=!1},_tooltip:function(h){var g="ui-tooltip-"+a++,f=c("
    ").attr({id:g,role:"tooltip"}).addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content "+(this.options.tooltipClass||""));return c("
    ").addClass("ui-tooltip-content").appendTo(f),f.appendTo(this.document[0].body),c.fn.bgiframe&&f.bgiframe(),this.tooltips[g]=h,f},_find:function(f){var g=f.data("ui-tooltip-id");return g?c("#"+g):c()},_removeTooltip:function(f){f.remove(),delete this.tooltips[f.attr("id")]},_destroy:function(){var f=this;c.each(this.tooltips,function(j,h){var g=c.Event("blur");g.target=g.currentTarget=h[0],f.close(g,!0),c("#"+j).remove(),h.data("ui-tooltip-title")&&(h.attr("title",h.data("ui-tooltip-title")),h.removeData("ui-tooltip-title"))})}})}(jQuery); /*! * jQuery Placeholder Enhanced 1.6.8 * Copyright (c) 2013 Denis Ciccale (@tdecs) * Released under MIT license * https://raw.github.com/dciccale/placeholder-enhanced/master/LICENSE.txt */ (function(b,h){var f="placeholderEnhanced";var j="placeholder" in h.createElement("input")&&"placeholder" in h.createElement("textarea");var g={FOCUS:"focus.placeholder",BLUR:"blur.placeholder"};var d={cssClass:"placeholder",normalize:true};var i=b.fn.val;if(j&&!d.normalize){return}if(!j){b.fn.val=function(){var l=arguments;var m=this[0];if(!m){return}if(!l.length){if(this.attr("placeholder")&&(b.nodeName(m,"input")||b.nodeName(m,"textarea"))){return m.value===this.attr("placeholder")?"":m.value}else{return i.apply(this,arguments)}}return this.each(function(){var q=this;var o=b(q);var p=b.data(q,f);var r=(b.nodeName(q,"input")||b.nodeName(q,"textarea"));var n=o.attr("placeholder");if(r&&n){if(!l[0]){q.value=o.addClass(p.cssClass).attr("placeholder")}else{o.removeClass(p.cssClass);i.apply(o,l)}}else{i.apply(o,l)}})}}else{if(j&&d.normalize){b.fn.val=function(){var l=arguments;var m=this[0];if(!m){return}if(!l.length){return i.apply(this,arguments)}return this.each(function(){var q=this;var o=b(q);var p=b.data(q,f);var r=(b.nodeName(q,"input")||b.nodeName(q,"textarea"));var n=q._placeholder;if(r&&n){if(!l[0]){o.attr("placeholder",q._placeholder)}o.toggleClass(p.cssClass,!l[0])}i.apply(o,l)})}}}function a(r){var o=["placeholder","name","id"];var p={};var m;for(var q=0,n=r.attributes.length;q",b.extend(a(t),{type:"text",value:q,tabindex:-1})).addClass(m.cssClass).bind(g.FOCUS,function(){r.trigger(g.FOCUS)}).insertBefore(r)}}}r.bind(g.BLUR,s).bind(g.FOCUS,p).trigger(g.BLUR)})};b(function(){b("input[placeholder], textarea[placeholder]")[f]()})}(jQuery,document)); /*! * jQuery Validation Plugin 1.11.1 * * http://bassistance.de/jquery-plugins/jquery-plugin-validation/ * http://docs.jquery.com/Plugins/Validation * * Copyright 2013 Jörn Zaefferer * Released under the MIT license: * http://www.opensource.org/licenses/mit-license.php */ (function(a){a.extend(a.fn,{validate:function(b){if(!this.length){if(b&&b.debug&&window.console){console.warn("Nothing selected, can't validate, returning nothing.")}return}var c=a.data(this[0],"validator");if(c){return c}this.attr("novalidate","novalidate");c=new a.validator(b,this[0]);a.data(this[0],"validator",c);if(c.settings.onsubmit){this.validateDelegate(":submit","click",function(d){if(c.settings.submitHandler){c.submitButton=d.target}if(a(d.target).hasClass("cancel")){c.cancelSubmit=true}if(a(d.target).attr("formnovalidate")!==undefined){c.cancelSubmit=true}});this.submit(function(d){if(c.settings.debug){d.preventDefault()}function f(){var g;if(c.settings.submitHandler){if(c.submitButton){g=a("").attr("name",c.submitButton.name).val(a(c.submitButton).val()).appendTo(c.currentForm)}c.settings.submitHandler.call(c,c.currentForm,d);if(c.submitButton){g.remove()}return false}return true}if(c.cancelSubmit){c.cancelSubmit=false;return f()}if(c.form()){if(c.pendingRequest){c.formSubmitted=true;return false}return f()}else{c.focusInvalid();return false}})}return c},valid:function(){if(a(this[0]).is("form")){return this.validate().form()}else{var c=true;var b=a(this[0].form).validate();this.each(function(){c=c&&b.element(this)});return c}},removeAttrs:function(d){var b={},c=this;a.each(d.split(/\s/),function(f,g){b[g]=c.attr(g);c.removeAttr(g)});return b},rules:function(f,b){var h=this[0];if(f){var d=a.data(h.form,"validator").settings;var j=d.rules;var k=a.validator.staticRules(h);switch(f){case"add":a.extend(k,a.validator.normalizeRule(b));delete k.messages;j[h.name]=k;if(b.messages){d.messages[h.name]=a.extend(d.messages[h.name],b.messages)}break;case"remove":if(!b){delete j[h.name];return k}var i={};a.each(b.split(/\s/),function(l,m){i[m]=k[m];delete k[m]});return i}}var g=a.validator.normalizeRules(a.extend({},a.validator.classRules(h),a.validator.attributeRules(h),a.validator.dataRules(h),a.validator.staticRules(h)),h);if(g.required){var c=g.required;delete g.required;g=a.extend({required:c},g)}return g}});a.extend(a.expr[":"],{blank:function(b){return !a.trim(""+a(b).val())},filled:function(b){return !!a.trim(""+a(b).val())},unchecked:function(b){return !a(b).prop("checked")}});a.validator=function(b,c){this.settings=a.extend(true,{},a.validator.defaults,b);this.currentForm=c;this.init()};a.validator.format=function(b,c){if(arguments.length===1){return function(){var d=a.makeArray(arguments);d.unshift(b);return a.validator.format.apply(this,d)}}if(arguments.length>2&&c.constructor!==Array){c=a.makeArray(arguments).slice(1)}if(c.constructor!==Array){c=[c]}a.each(c,function(d,f){b=b.replace(new RegExp("\\{"+d+"\\}","g"),function(){return f})});return b};a.extend(a.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusInvalid:true,errorContainer:a([]),errorLabelContainer:a([]),onsubmit:true,ignore:":hidden",ignoreTitle:false,onfocusin:function(b,c){this.lastActive=b;if(this.settings.focusCleanup&&!this.blockFocusCleanup){if(this.settings.unhighlight){this.settings.unhighlight.call(this,b,this.settings.errorClass,this.settings.validClass)}this.addWrapper(this.errorsFor(b)).hide()}},onfocusout:function(b,c){if(!this.checkable(b)&&(b.name in this.submitted||!this.optional(b))){this.element(b)}},onkeyup:function(b,c){if(c.which===9&&this.elementValue(b)===""){return}else{if(b.name in this.submitted||b===this.lastElement){this.element(b)}}},onclick:function(b,c){if(b.name in this.submitted){this.element(b)}else{if(b.parentNode.name in this.submitted){this.element(b.parentNode)}}},highlight:function(d,b,c){if(d.type==="radio"){this.findByName(d.name).addClass(b).removeClass(c)}else{a(d).addClass(b).removeClass(c)}},unhighlight:function(d,b,c){if(d.type==="radio"){this.findByName(d.name).removeClass(b).addClass(c)}else{a(d).removeClass(b).addClass(c)}}},setDefaults:function(b){a.extend(a.validator.defaults,b)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",maxlength:a.validator.format("Please enter no more than {0} characters."),minlength:a.validator.format("Please enter at least {0} characters."),rangelength:a.validator.format("Please enter a value between {0} and {1} characters long."),range:a.validator.format("Please enter a value between {0} and {1}."),max:a.validator.format("Please enter a value less than or equal to {0}."),min:a.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:false,prototype:{init:function(){this.labelContainer=a(this.settings.errorLabelContainer);this.errorContext=this.labelContainer.length&&this.labelContainer||a(this.currentForm);this.containers=a(this.settings.errorContainer).add(this.settings.errorLabelContainer);this.submitted={};this.valueCache={};this.pendingRequest=0;this.pending={};this.invalid={};this.reset();var b=(this.groups={});a.each(this.settings.groups,function(f,g){if(typeof g==="string"){g=g.split(/\s/)}a.each(g,function(i,h){b[h]=f})});var d=this.settings.rules;a.each(d,function(f,g){d[f]=a.validator.normalizeRule(g)});function c(h){var g=a.data(this[0].form,"validator"),f="on"+h.type.replace(/^validate/,"");if(g.settings[f]){g.settings[f].call(g,this[0],h)}}a(this.currentForm).validateDelegate(":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'] ,[type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'] ","focusin focusout keyup",c).validateDelegate("[type='radio'], [type='checkbox'], select, option","click",c);if(this.settings.invalidHandler){a(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler)}},form:function(){this.checkForm();a.extend(this.submitted,this.errorMap);this.invalid=a.extend({},this.errorMap);if(!this.valid()){a(this.currentForm).triggerHandler("invalid-form",[this])}this.showErrors();return this.valid()},checkForm:function(){this.prepareForm();for(var b=0,c=(this.currentElements=this.elements());c[b];b++){this.check(c[b])}return this.valid()},element:function(c){c=this.validationTargetFor(this.clean(c));this.lastElement=c;this.prepareElement(c);this.currentElements=a(c);var b=this.check(c)!==false;if(b){delete this.invalid[c.name]}else{this.invalid[c.name]=true}if(!this.numberOfInvalids()){this.toHide=this.toHide.add(this.containers)}this.showErrors();return b},showErrors:function(c){if(c){a.extend(this.errorMap,c);this.errorList=[];for(var b in c){this.errorList.push({message:c[b],element:this.findByName(b)[0]})}this.successList=a.grep(this.successList,function(d){return !(d.name in c)})}if(this.settings.showErrors){this.settings.showErrors.call(this,this.errorMap,this.errorList)}else{this.defaultShowErrors()}},resetForm:function(){if(a.fn.resetForm){a(this.currentForm).resetForm()}this.submitted={};this.lastElement=null;this.prepareForm();this.hideErrors();this.elements().removeClass(this.settings.errorClass).removeData("previousValue")},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(d){var c=0;for(var b in d){c++}return c},hideErrors:function(){this.addWrapper(this.toHide).hide()},valid:function(){return this.size()===0},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid){try{a(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(b){}}},findLastActive:function(){var b=this.lastActive;return b&&a.grep(this.errorList,function(c){return c.element.name===b.name}).length===1&&b},elements:function(){var c=this,b={};return a(this.currentForm).find("input, select, textarea").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){if(!this.name&&c.settings.debug&&window.console){console.error("%o has no name assigned",this)}if(this.name in b||!c.objectLength(a(this).rules())){return false}b[this.name]=true;return true})},clean:function(b){return a(b)[0]},errors:function(){var b=this.settings.errorClass.replace(" ",".");return a(this.settings.errorElement+"."+b,this.errorContext)},reset:function(){this.successList=[];this.errorList=[];this.errorMap={};this.toShow=a([]);this.toHide=a([]);this.currentElements=a([])},prepareForm:function(){this.reset();this.toHide=this.errors().add(this.containers)},prepareElement:function(b){this.reset();this.toHide=this.errorsFor(b)},elementValue:function(b){var c=a(b).attr("type"),d=a(b).val();if(c==="radio"||c==="checkbox"){return a("input[name='"+a(b).attr("name")+"']:checked").val()}if(typeof d==="string"){return d.replace(/\r/g,"")}return d},check:function(c){c=this.validationTargetFor(this.clean(c));var i=a(c).rules();var d=false;var h=this.elementValue(c);var b;for(var j in i){var g={method:j,parameters:i[j]};try{b=a.validator.methods[j].call(this,h,c,g.parameters);if(b==="dependency-mismatch"){d=true;continue}d=false;if(b==="pending"){this.toHide=this.toHide.not(this.errorsFor(c));return}if(!b){this.formatAndAdd(c,g);return false}}catch(f){if(this.settings.debug&&window.console){console.log("Exception occurred when checking element "+c.id+", check the '"+g.method+"' method.",f)}throw f}}if(d){return}if(this.objectLength(i)){this.successList.push(c)}return true},customDataMessage:function(b,c){return a(b).data("msg-"+c.toLowerCase())||(b.attributes&&a(b).attr("data-msg-"+c.toLowerCase()))},customMessage:function(c,d){var b=this.settings.messages[c];return b&&(b.constructor===String?b:b[d])},findDefined:function(){for(var b=0;bWarning: No message defined for "+b.name+"")},formatAndAdd:function(c,f){var d=this.defaultMessage(c,f.method),b=/\$?\{(\d+)\}/g;if(typeof d==="function"){d=d.call(this,f.parameters,c)}else{if(b.test(d)){d=a.validator.format(d.replace(b,"{$1}"),f.parameters)}}this.errorList.push({message:d,element:c});this.errorMap[c.name]=d;this.submitted[c.name]=d},addWrapper:function(b){if(this.settings.wrapper){b=b.add(b.parent(this.settings.wrapper))}return b},defaultShowErrors:function(){var c,d;for(c=0;this.errorList[c];c++){var b=this.errorList[c];if(this.settings.highlight){this.settings.highlight.call(this,b.element,this.settings.errorClass,this.settings.validClass)}this.showLabel(b.element,b.message)}if(this.errorList.length){this.toShow=this.toShow.add(this.containers)}if(this.settings.success){for(c=0;this.successList[c];c++){this.showLabel(this.successList[c])}}if(this.settings.unhighlight){for(c=0,d=this.validElements();d[c];c++){this.settings.unhighlight.call(this,d[c],this.settings.errorClass,this.settings.validClass)}}this.toHide=this.toHide.not(this.toShow);this.hideErrors();this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return a(this.errorList).map(function(){return this.element})},showLabel:function(c,d){var b=this.errorsFor(c);if(b.length){b.removeClass(this.settings.validClass).addClass(this.settings.errorClass);b.html(d)}else{b=a("<"+this.settings.errorElement+">").attr("for",this.idOrName(c)).addClass(this.settings.errorClass).html(d||"");if(this.settings.wrapper){b=b.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()}if(!this.labelContainer.append(b).length){if(this.settings.errorPlacement){this.settings.errorPlacement(b,a(c))}else{b.insertAfter(c)}}}if(!d&&this.settings.success){b.text("");if(typeof this.settings.success==="string"){b.addClass(this.settings.success)}else{this.settings.success(b,c)}}this.toShow=this.toShow.add(b)},errorsFor:function(c){var b=this.idOrName(c);return this.errors().filter(function(){return a(this).attr("for")===b})},idOrName:function(b){return this.groups[b.name]||(this.checkable(b)?b.name:b.id||b.name)},validationTargetFor:function(b){if(this.checkable(b)){b=this.findByName(b.name).not(this.settings.ignore)[0]}return b},checkable:function(b){return(/radio|checkbox/i).test(b.type)},findByName:function(b){return a(this.currentForm).find("[name='"+b+"']")},getLength:function(c,b){switch(b.nodeName.toLowerCase()){case"select":return a("option:selected",b).length;case"input":if(this.checkable(b)){return this.findByName(b.name).filter(":checked").length}}return c.length},depend:function(c,b){return this.dependTypes[typeof c]?this.dependTypes[typeof c](c,b):true},dependTypes:{"boolean":function(c,b){return c},string:function(c,b){return !!a(c,b.form).length},"function":function(c,b){return c(b)}},optional:function(b){var c=this.elementValue(b);return !a.validator.methods.required.call(this,c,b)&&"dependency-mismatch"},startRequest:function(b){if(!this.pending[b.name]){this.pendingRequest++;this.pending[b.name]=true}},stopRequest:function(b,c){this.pendingRequest--;if(this.pendingRequest<0){this.pendingRequest=0}delete this.pending[b.name];if(c&&this.pendingRequest===0&&this.formSubmitted&&this.form()){a(this.currentForm).submit();this.formSubmitted=false}else{if(!c&&this.pendingRequest===0&&this.formSubmitted){a(this.currentForm).triggerHandler("invalid-form",[this]);this.formSubmitted=false}}},previousValue:function(b){return a.data(b,"previousValue")||a.data(b,"previousValue",{old:null,valid:true,message:this.defaultMessage(b,"remote")})}},classRuleSettings:{required:{required:true},email:{email:true},url:{url:true},date:{date:true},dateISO:{dateISO:true},number:{number:true},digits:{digits:true},creditcard:{creditcard:true}},addClassRules:function(b,c){if(b.constructor===String){this.classRuleSettings[b]=c}else{a.extend(this.classRuleSettings,b)}},classRules:function(c){var d={};var b=a(c).attr("class");if(b){a.each(b.split(" "),function(){if(this in a.validator.classRuleSettings){a.extend(d,a.validator.classRuleSettings[this])}})}return d},attributeRules:function(c){var g={};var b=a(c);var d=b[0].getAttribute("type");for(var h in a.validator.methods){var f;if(h==="required"){f=b.get(0).getAttribute(h);if(f===""){f=true}f=!!f}else{f=b.attr(h)}if(/min|max/.test(h)&&(d===null||/number|range|text/.test(d))){f=Number(f)}if(f){g[h]=f}else{if(d===h&&d!=="range"){g[h]=true}}}if(g.maxlength&&/-1|2147483647|524288/.test(g.maxlength)){delete g.maxlength}return g},dataRules:function(c){var g,d,f={},b=a(c);for(g in a.validator.methods){d=b.data("rule-"+g.toLowerCase());if(d!==undefined){f[g]=d}}return f},staticRules:function(c){var d={};var b=a.data(c.form,"validator");if(b.settings.rules){d=a.validator.normalizeRule(b.settings.rules[c.name])||{}}return d},normalizeRules:function(c,b){a.each(c,function(g,f){if(f===false){delete c[g];return}if(f.param||f.depends){var d=true;switch(typeof f.depends){case"string":d=!!a(f.depends,b.form).length;break;case"function":d=f.depends.call(b,b);break}if(d){c[g]=f.param!==undefined?f.param:true}else{delete c[g]}}});a.each(c,function(d,f){c[d]=a.isFunction(f)?f(b):f});a.each(["minlength","maxlength"],function(){if(c[this]){c[this]=Number(c[this])}});a.each(["rangelength","range"],function(){var d;if(c[this]){if(a.isArray(c[this])){c[this]=[Number(c[this][0]),Number(c[this][1])]}else{if(typeof c[this]==="string"){d=c[this].split(/[\s,]+/);c[this]=[Number(d[0]),Number(d[1])]}}}});if(a.validator.autoCreateRanges){if(c.min&&c.max){c.range=[c.min,c.max];delete c.min;delete c.max}if(c.minlength&&c.maxlength){c.rangelength=[c.minlength,c.maxlength];delete c.minlength;delete c.maxlength}}return c},normalizeRule:function(c){if(typeof c==="string"){var b={};a.each(c.split(/\s/),function(){b[this]=true});c=b}return c},addMethod:function(b,d,c){a.validator.methods[b]=d;a.validator.messages[b]=c!==undefined?c:a.validator.messages[b];if(d.length<3){a.validator.addClassRules(b,a.validator.normalizeRule(b))}},methods:{required:function(c,b,f){if(!this.depend(f,b)){return"dependency-mismatch"}if(b.nodeName.toLowerCase()==="select"){var d=a(b).val();return d&&d.length>0}if(this.checkable(b)){return this.getLength(c,b)>0}return a.trim(c).length>0},email:function(c,b){return this.optional(b)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(c)},url:function(c,b){return this.optional(b)||/^(https?|s?ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(c)},date:function(c,b){return this.optional(b)||!/Invalid|NaN/.test(new Date(c).toString())},dateISO:function(c,b){return this.optional(b)||/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}$/.test(c)},number:function(c,b){return this.optional(b)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(c)},digits:function(c,b){return this.optional(b)||/^\d+$/.test(c)},creditcard:function(g,c){if(this.optional(c)){return"dependency-mismatch"}if(/[^0-9 \-]+/.test(g)){return false}var h=0,f=0,b=false;g=g.replace(/\D/g,"");for(var i=g.length-1;i>=0;i--){var d=g.charAt(i);f=parseInt(d,10);if(b){if((f*=2)>9){f-=9}}h+=f;b=!b}return(h%10)===0},minlength:function(d,b,f){var c=a.isArray(d)?d.length:this.getLength(a.trim(d),b);return this.optional(b)||c>=f},maxlength:function(d,b,f){var c=a.isArray(d)?d.length:this.getLength(a.trim(d),b);return this.optional(b)||c<=f},rangelength:function(d,b,f){var c=a.isArray(d)?d.length:this.getLength(a.trim(d),b);return this.optional(b)||(c>=f[0]&&c<=f[1])},min:function(c,b,d){return this.optional(b)||c>=d},max:function(c,b,d){return this.optional(b)||c<=d},range:function(c,b,d){return this.optional(b)||(c>=d[0]&&c<=d[1])},equalTo:function(c,b,f){var d=a(f);if(this.settings.onfocusout){d.unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){a(b).valid()})}return c===d.val()},remote:function(g,c,h){if(this.optional(c)){return"dependency-mismatch"}var d=this.previousValue(c);if(!this.settings.messages[c.name]){this.settings.messages[c.name]={}}d.originalMessage=this.settings.messages[c.name].remote;this.settings.messages[c.name].remote=d.message;h=typeof h==="string"&&{url:h}||h;if(d.old===g){return d.valid}d.old=g;var b=this;this.startRequest(c);var f={};f[c.name]=g;a.ajax(a.extend(true,{url:h,mode:"abort",port:"validate"+c.name,dataType:"json",data:f,success:function(j){b.settings.messages[c.name].remote=d.originalMessage;var l=j===true||j==="true";if(l){var i=b.formSubmitted;b.prepareElement(c);b.formSubmitted=i;b.successList.push(c);delete b.invalid[c.name];b.showErrors()}else{var m={};var k=j||b.defaultMessage(c,"remote");m[c.name]=d.message=a.isFunction(k)?k(g):k;b.invalid[c.name]=true;b.showErrors(m)}d.valid=l;b.stopRequest(c,l)}},h));return"pending"}}});a.format=a.validator.format}(jQuery));(function(c){var a={};if(c.ajaxPrefilter){c.ajaxPrefilter(function(g,f,h){var d=g.port;if(g.mode==="abort"){if(a[d]){a[d].abort()}a[d]=h}})}else{var b=c.ajax;c.ajax=function(f){var g=("mode" in f?f:c.ajaxSettings).mode,d=("port" in f?f:c.ajaxSettings).port;if(g==="abort"){if(a[d]){a[d].abort()}a[d]=b.apply(this,arguments);return a[d]}return b.apply(this,arguments)}}}(jQuery));(function(a){a.extend(a.fn,{validateDelegate:function(d,c,b){return this.bind(c,function(f){var g=a(f.target);if(g.is(d)){return b.apply(g,arguments)}})}})}(jQuery));var HOST_WITH_SSL;var HOST_WITHOUT_SSL;var SIGN_UP_ORIGIN="SignupOrigin";var SIGN_UP_PAGETYPE="sign_up_page_type";var LANDING_PAGE="landc";var REGISTER_PAGE="regc";var CITY_PAGE="cityPage";var USER_REG="user_reg";var LOGO_CONFIRMATION="logo_c";var HP_ONBOARDING_STEP1_STARTED="HP Onboarding V4 Step 1 Started";var localStorageKeysArray=["ngStorage-ownership","ngStorage-country","ngStorage-state","ngStorage-industry","ngStorage-industryCode","ngStorage-sector","ngStorage-employeemin","ngStorage-employeemax","ngStorage-revenuemin","ngStorage-revenuemax","ngStorage-fundingmin","ngStorage-fundingmax","ngStorage-agemin","ngStorage-agemax","ngStorage-zipcodes"];setCookie(SIGN_UP_PAGETYPE,0,120);function initializeUrls(a){HOST_WITH_SSL=a+"/";HOST_WITHOUT_SSL=HOST_WITH_SSL}function getTargetURL(){var a=$("input#targetURL").val();var b=window.location.hash.substr(1);if(a==""||a=="null"){a=HOST_WITHOUT_SSL+"home.htm"}if(b!=undefined&&a!=undefined&&b!=""){a=a+"#"+b}return a}function closeSignInLink(){resetForm($("#signInForm"));$(".showLogin #signInFormResponseDivContainer .button_submit").attr("onclick","tb_remove()");$("#signInFormResponseDivContainer").hide();$("#signInFormDiv").removeClass("showLogin");$("#pageless-onboarding-popup").show()}var urlPrefixRegExPattern=new RegExp("(http|ftp|https)://");$(function(){var d="1";var n="5";$.validator.addMethod("validateURLInServer",function(C,A){var z=false;var B=false;$.ajax({type:"POST",url:HOST_WITHOUT_SSL+"validateURL.htm?",data:"url="+C,async:false,success:function(F,G,E){B=true;var D=$.parseJSON(F);if(D.result==d){z=true}else{}},error:function(D){B=true;z=false}});return z},"Please enter a valid URL");$.validator.addMethod("validateURL",function(A,z){return this.optional(z)||/^((https?|ftp):\/\/){0,1}(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(A)},"Please enter a valid URL");$.validator.addMethod("emailValidation",function(A,z){return this.optional(z)||validateEmail(A)},"Please enter a valid email address");$.validator.addMethod("unicodeValidation",function(A,z){return this.optional(z)||/^[\x00-\x7F]+$/i.test(A)},"Please enter without any junk characters");$.validator.addMethod("numberValidation",function(A,z){return this.optional(z)||/^[0-9!@#$%^&*()_]{1,16}$/i.test(A)},"Please enter only numbers");$.validator.addMethod("paymentValidation",function(A,z){return this.optional(z)||/^[0-9]+(\.[0-9]{1,2})?$/i.test(A)},"Please enter only numbers");$.validator.addMethod("ccvValidation",function(A,z){return this.optional(z)||/^[0-9]{3,4}$/i.test(A)},"Please enter 4 digits number for AMEX card and 3 digits number for all other cards");$.validator.addMethod("notEqual",function(A,z,B){return this.optional(z)||A!=$(B).val()},"This has to be different...");$.validator.addMethod("onlyAlpabets",function(A,z){return this.optional(z)||/^[a-zA-Z\s\.]+$/i.test(A)},"Please enter only alphabets");$.validator.addMethod("alpaNumericNoSpace",function(A,z){return this.optional(z)||/^[0-9a-zA-Z]+$/i.test(A)},"Please enter only alpha numeric values without space");$.validator.addMethod("require_from_group",function(F,E,C){var G=C[0],z=C[1],B=$(z,E.form),A=B.filter(function(){return $(this).val()}).length>=G,D=this;if(!$(E).data("being_validated")){B.data("being_validated",true).each(function(){D.valid(this)}).data("being_validated",false)}return A},jQuery.format("Please fill at least {0} of these fields."));$("#linkedInLink").click(function(){setPageTypeCookie();var z=getUrlParameter("Origin");if(z!=""&&z!=null){setCookie(SIGN_UP_ORIGIN,z,120)}else{setCookie(SIGN_UP_ORIGIN,"Home Page",120)}});$("#signInLink").click(function(){setCookie(SIGN_UP_ORIGIN,"Login Popup",120);setPageTypeCookie("Home Page");tb_show("","#TB_inline?height=305&width=470&inlineId=signInFormDiv");u.resetForm();resetForm($("#signInForm"));var z=document.getElementById("emailAddressFromCookie").value;if(z!=""){$("#emailSignIn").val(z);$("#rememberMyEmailAddress").attr("checked",true)}$("#signupFormDivContainer").hide();$("#signInFormResponseDivContainer").hide();$("#signInFormDivContainer").show();$("#loginError").hide();setTimeout(function(){$("#emailSignIn").focus()},500)});$("#registerList").click(function(){$("#signInFormDivContainer").hide();$("#registerListFormDivContainer").show();return false});$("#signInLinkFromSignup").click(function(){$("#signupFormDivContainer").hide();$("#signInFormDivContainer").show();tb_show("Login","#TB_inline?height=445&width=490&inlineId=signInFormDiv")});$(".login-close-popup").click(function(){resetForm($("#signInForm"));$("#signInFormDiv").removeClass("showLogin");$("#pageless-onboarding-popup").show()});$("#forgotPasswordLink").click(function(){y.resetForm();$("#resetPasswordRequestSuccessDiv").hide();$("#resetPasswordError").hide();$("#signInFormDivContainer").hide();$("#resetPasswordRequestDivContainer").show();$("#resetPasswordRequestErrorDiv").hide();$("#resetPasswordRequestSuccessDiv").hide();$("#resetPasswordRequestSuccessDiv").html("");$("#resetPasswordRequestEmailSignIn").val("");$("#resetPasswordTable").show();$("#resetPasswordRequestEmailSignIn").removeClass("error");tb_remove();setTimeout(function(){tb_show("Forgot Password","#TB_inline?height=210&width=480&inlineId=resetPasswordRequestDiv")},500);return false});$("#mobile_forgotPasswordLink").click(function(){$("#resetPasswordRequestDivContainer").show();$("#resetPasswordRequestErrorDiv").hide();$("#resetPasswordRequestSuccessDiv").hide();$("#resetPasswordRequestSuccessDiv").html("");$("#resetPasswordRequestEmailSignIn").val("");$("#resetPasswordTable").show();$("#resetPasswordRequestEmailSignIn").removeClass("error");tb_remove();setTimeout(function(){tb_show("Forgot Password","#TB_inline?height=210&width=480&inlineId=resetPasswordRequestDiv")},500);return false});$(".close-popup").click(function(){tb_remove()});$("#sign_up").click(function(){resetForm($("#signupForm"));$("#signupError").hide();$("#signupFormDivContainer").show();$("#registerListFormDivContainer").hide();tb_show("Sign up to Create an Account","#TB_inline?height=345&width=505&inlineId=signupFormDiv");return false});$("#registerList").click(function(){$("#signInFormDivContainer").hide();$("#registerListFormDivContainer").show();tb_show("Register to Create an Account","#TB_inline?height=460&width=460&inlineId=registerListFormDiv");return false});$("#addCompanyLink").click(function(){resetForm($("#addCompanyForm"));$("#addCompanySucccessMessageDiv").hide();$("#addCompanyError MessagesDiv").html("")});$("#addCompanyCancel").click(function(){resetForm($("#addCompanyForm"));tb_remove()});$("#referralEmailConfirmationOk").click(function(){$("#referralEmailConfirmationDiv").hide();tb_remove()});$("#addUserLink").click(function(){$("#signInFormDivContainer").validate().resetForm();$("#resetPasswordRequestDivContainer").hide();$("#signInFormDivContainer").show();$("#email").val("");$("#password").val("");$("#signInErrorMessagesDiv").hide();$("#signInErrorMessagesDiv").html("")});$("#signOutLink").click(function(){signout()});$("#sign_out").click(function(){signout()});$("#signout").click(function(){signout()});$("#resendCloseButton").click(function(){$("#resendConfirmationDiv").hide()});$("#confirmationOk").click(function(){$("#confirmationDiv").hide();tb_remove()});$(".login_link a").click(function(){$("#signInFormDivContainer").show();$("#resetPasswordRequestDivContainer").hide()});$("#referralResearcherLink").click(function(){resetForm($("#recruitResearcher"));$(".alert_success").hide()});$(".pg4 .email-signup-link").click(function(){$(".pg4 .signup_box").hide();$(".pg4 .registeration_box").show();setCookie(SIGN_UP_ORIGIN,"Home Page Registration Box",120)});$(".pg4 .signup_social a").click(function(){setCookie(SIGN_UP_ORIGIN,"Home Page Registration Box",120);p.resetForm();resetForm($("#registerForm5"));$(".pg4 .registeration_box").hide();$(".pg4 .signup_box").show()});$("#emailreferralform").validate({rules:{referralemail1:{require_from_group:[1,".referralemailgroup"],emailValidation:true},referralemail2:{require_from_group:[1,".referralemailgroup"],emailValidation:true},referralemail3:{require_from_group:[1,".referralemailgroup"],emailValidation:true},referralemail4:{require_from_group:[1,".referralemailgroup"],emailValidation:true},referralemail5:{require_from_group:[1,".referralemailgroup"],emailValidation:true},},messages:{referralemail1:{emailValidation:"Please enter a valid email address"},referralemail2:{emailValidation:"Please enter a valid email address"},referralemail3:{emailValidation:"Please enter a valid email address"},referralemail4:{emailValidation:"Please enter a valid email address"},referralemail5:{emailValidation:"Please enter a valid email address"}},errorElement:"span",wrapper:"span",errorPlacement:function(z,A){A.before(z);z.addClass("form_error_message_right");z.append("");offset=A.offset();z.css("left",$(A).position().left+$(A).width()+10);z.css("top",$(A).position().top+$(A).height()-20)},submitHandler:function(){var E=$("#referralemail1").val();var D=$("#referralemail2").val();var B=$("#referralemail3").val();var A=$("#referralemail4").val();var z=$("#referralemail5").val();var F="referralemail1="+E+"&referralemail2="+D+"&referralemail3="+B+"&referralemail4="+A+"&referralemail5="+z;var C=HOST_WITH_SSL+"emailreferral.htm?";$("#TB_window").append("");$.ajax({type:"POST",url:C,data:F,success:function(I,J,H){var G=$.parseJSON(I);if(G.result==d){$("#recruitResearcher").hide();$(".popup_overlay").remove();$("#referralEmailConfirmationSuccessDiv").html(G.message);tb_show("Confirmation","#TB_inline?height=130&width=470&inlineId=referralEmailConfirmationDiv")}else{$("#recruitResearcher").hide();$(".popup_overlay").remove();tb_show("Confirmation","#TB_inline?height=130&width=470&inlineId=referralEmailConfirmationDiv");$("#referralEmailConfirmationErrorDiv").html(G.message)}},error:function(H,I,G){$("#recruitResearcher").hide();$(".popup_overlay").remove();tb_show("Confirmation","#TB_inline?height=130&width=470&inlineId=referralEmailConfirmationDiv");$("#referralEmailConfirmationErrorDiv").html=H}});return false}});$("#resend").click(function(){var A=$("span#emailContent").html();var z=HOST_WITHOUT_SSL+"resend.htm?";$("#resend").attr("disabled",true);$("#TB_window").append("");var B="email="+A;$.ajax({type:"POST",url:z,data:B,success:function(E,F,D){var C=$.parseJSON(E);if(C.result=d){$("span#emailContent").html(A);$(".popup_overlay").remove();$("#resend").attr("disabled",false)}else{$(".popup_overlay").remove();$("#confirmationErrorDiv p").html=C.message;$("#resend").attr("disabled",false)}},error:function(D,E,C){$("#confirmationErrorDiv p").html=D;$(".popup_overlay").remove()}})});var l=$("#registerForm").validate({rules:{email:{required:true,emailValidation:true},password:{required:true,minlength:6},confirmPassword:{equalTo:"#password"}},messages:{email:{required:"Please enter a valid email address",emailValidation:"Please enter a valid email address"},password:{required:"Please enter a password",minlength:"Password must be at least 6 characters"},confirmPassword:{equalTo:"Passwords do not match"}},errorElement:"span",wrapper:"span",errorPlacement:function(z,A){A.before(z);z.addClass("form_error_message");z.append("");offset=A.offset();if(($(A).attr("id")=="fname")||($(A).attr("id")=="lname")){z.css("left",$(A).position().left+$(A).width()-260+100);z.css("top",$(A).position().top+$(A).height()-55)}else{z.css("left",$(A).position().left+$(A).width()-210);z.css("top",$(A).position().top+$(A).height()-55)}},submitHandler:function(){var C=$("input#email").val();var A=$("input#password").val();var B="email="+C+"&password="+A;$("#register").attr("disabled",true);var z=HOST_WITH_SSL+"addVisitor.htm?";$("#registerForm").append("");$.ajax({type:"POST",url:z,data:B,success:function(F,G,E){var D=$.parseJSON(F);if(D.result==d){trackMixpanelLoginEvent(D,getCallBckFn());$("#register").attr("disabled",false);tb_remove();setTimeout(function(){tb_show("","#TB_inline?height=280&width=520&inlineId=registerThanksDiv&modal=true")},500);$("#profilename").val(D.screenName);$("#confirmationDivContainer").show()}else{$("#registerError").html(D.message);$("#registerError").show();$(".popup_overlay").remove();$("#register").attr("disabled",false)}},error:function(E,F,D){$("#registerError").html=E;$(".popup_overlay").remove();$("#register").attr("disabled",false)}});return false}});var q=$("#registerForm1").validate({rules:{email:{required:true,emailValidation:true},password:{required:true,minlength:6},confirmPassword:{equalTo:"#password1"}},messages:{email:{required:"Please enter a valid email address",emailValidation:"Please enter a valid email address"},password:{required:"Please enter a password",minlength:"Password must be at least 6 characters"},confirmPassword:{equalTo:"Passwords do not match"}},errorElement:"span",wrapper:"span",errorPlacement:function(z,A){A.before(z);z.addClass("form_error_message");z.append("");offset=A.offset();if(($(A).attr("id")=="fname")||($(A).attr("id")=="lname")){z.css("left",$(A).position().left+$(A).width()-260+100);z.css("top",$(A).position().top+$(A).height()-55)}else{z.css("left",$(A).position().left+$(A).width()-210);z.css("top",$(A).position().top+$(A).height()-55)}},submitHandler:function(){var C=$("input#email1").val();var A=$("input#password1").val();var B="email="+C+"&password="+A;$("#register1").attr("disabled",true);var z=HOST_WITH_SSL+"addVisitor.htm?";$("#registerForm1").append("");$.ajax({type:"POST",url:z,data:B,success:function(F,G,E){var D=$.parseJSON(F);if(D.result==d){trackMixpanelLoginEvent(D,getCallBckFn());$("#register1").attr("disabled",false);tb_remove();setTimeout(function(){tb_show("","#TB_inline?height=280&width=520&inlineId=registerThanksDiv&modal=true")},500);$("#profilename").val(D.screenName);$("#confirmationDivContainer").show()}else{$("#registerError1").html(D.message);$("#registerError1").show();$(".popup_overlay").remove();$("#register1").attr("disabled",false)}},error:function(E,F,D){$("#registerError1").html=E;$(".popup_overlay").remove();$("#register1").attr("disabled",false)}});return false}});var q=$("#registerForm2").validate({rules:{email:{required:true,emailValidation:true},password:{required:true,minlength:6},confirmPassword:{equalTo:"#password2"}},messages:{email:{required:"Please enter a valid email address",emailValidation:"Please enter a valid email address"},password:{required:"Please enter a password",minlength:"Password must be at least 6 characters"},confirmPassword:{equalTo:"Passwords do not match"}},errorElement:"span",wrapper:"span",errorPlacement:function(z,A){A.before(z);z.addClass("form_error_message");z.append("");offset=A.offset();if(($(A).attr("id")=="fname")||($(A).attr("id")=="lname")){z.css("left",$(A).position().left+$(A).width()-260+100);z.css("top",$(A).position().top+$(A).height()-55)}else{z.css("left",$(A).position().left+$(A).width()-210);z.css("top",$(A).position().top+$(A).height()-55)}},submitHandler:function(){var C=$("input#email2").val();var A=$("input#password2").val();var B="email="+C+"&password="+A;$("#register2").attr("disabled",true);var z=HOST_WITH_SSL+"addVisitor.htm?";$("#registerForm2").append("");$.ajax({type:"POST",url:z,data:B,success:function(F,G,E){trackMixpanelLoginEvent(D,getCallBckFn());var D=$.parseJSON(F);if(D.result==d){$("#register2").attr("disabled",false);tb_remove();setTimeout(function(){tb_show("","#TB_inline?height=280&width=520&inlineId=registerThanksDiv&modal=true")},500);$("#profilename").val(D.screenName);$("#confirmationDivContainer").show()}else{$("#registerError2").html(D.message);$("#registerError2").show();$(".popup_overlay").remove();$("#register2").attr("disabled",false)}},error:function(E,F,D){$("#registerError2").html=E;$(".popup_overlay").remove();$("#register2").attr("disabled",false)}});return false}});var x=$("#registerForm3").validate({rules:{email:{required:true,emailValidation:true},password:{required:true,minlength:6},confirmPassword:{equalTo:"#password3"}},messages:{email:{required:"Please enter a valid email address",emailValidation:"Please enter a valid email address"},password:{required:"Please enter a password",minlength:"Password must be at least 6 characters"},confirmPassword:{equalTo:"Passwords do not match"}},errorElement:"span",wrapper:"span",errorPlacement:function(z,A){A.before(z);z.addClass("form_error_message");z.append("");offset=A.offset();if(($(A).attr("id")=="fname")||($(A).attr("id")=="lname")){z.css("left",$(A).position().left+$(A).width()-260+100);z.css("top",$(A).position().top+$(A).height()-55)}else{z.css("left",$(A).position().left+$(A).width()-210);z.css("top",$(A).position().top+$(A).height()-55)}},submitHandler:function(){var C=$("input#email3").val();var A=$("input#password3").val();var B="email="+C+"&password="+A;$("#register3").attr("disabled",true);var z=HOST_WITH_SSL+"addVisitor.htm?";$("#registerForm3").append("");$.ajax({type:"POST",url:z,data:B,success:function(F,G,E){var D=$.parseJSON(F);if(D.result==d){trackMixpanelLoginEvent(D,getCallBckFn());$("#register3").attr("disabled",false);tb_remove();setTimeout(function(){tb_show("","#TB_inline?height=280&width=520&inlineId=registerThanksDiv&modal=true")},500);$("#profilename").val(D.screenName);$("#confirmationDivContainer").show()}else{$("#registerError3").html(D.message);$("#registerError3").show();$(".popup_overlay").remove();$("#register3").attr("disabled",false)}},error:function(E,F,D){$("#registerError3").html=E;$(".popup_overlay").remove();$("#register3").attr("disabled",false)}});return false}});var h=$("#registerForm4").validate({rules:{email:{required:true,emailValidation:true},password:{required:true,minlength:6},confirmPassword:{equalTo:"#password4"}},messages:{email:{required:"Please enter a valid email address",emailValidation:"Please enter a valid email address"},password:{required:"Please enter a password",minlength:"Password must be at least 6 characters"},confirmPassword:{equalTo:"Passwords do not match"}},errorElement:"span",wrapper:"span",errorPlacement:function(z,A){A.before(z);z.addClass("form_error_message");z.append("");offset=A.offset();if(($(A).attr("id")=="fname")||($(A).attr("id")=="lname")){z.css("left",$(A).position().left+$(A).width()-260+100);z.css("top",$(A).position().top+$(A).height()-55)}else{z.css("left",$(A).position().left+$(A).width()-210);z.css("top",$(A).position().top+$(A).height()-55)}},submitHandler:function(){var C=$("input#email4").val();var A=$("input#password4").val();var B="email="+C+"&password="+A;$("#register4").attr("disabled",true);var z=HOST_WITH_SSL+"addVisitor.htm?";$("#registerForm4").append("");$.ajax({type:"POST",url:z,data:B,success:function(F,G,E){var D=$.parseJSON(F);if(D.result==d){trackMixpanelLoginEvent(D,getCallBckFn());$("#register4").attr("disabled",false);tb_remove();setTimeout(function(){tb_show("","#TB_inline?height=280&width=520&inlineId=registerThanksDiv&modal=true")},500);$("#profilename").val(D.screenName);$("#confirmationDivContainer").show();trackSignupStep2Event(D.member_id)}else{$("#registerError4").html(D.message);$("#registerError4").show();$(".popup_overlay").remove();$("#register4").attr("disabled",false)}},error:function(E,F,D){$("#registerError4").html=E;$(".popup_overlay").remove();$("#register4").attr("disabled",false)}});return false}});var p=$("#registerForm5").validate({rules:{email:{required:true,emailValidation:true},password:{required:true,minlength:6},confirmPassword:{equalTo:"#password5"}},messages:{email:{required:"Please enter a valid email address",emailValidation:"Please enter a valid email address"},password:{required:"Please enter a password",minlength:"Password must be at least 6 characters"},confirmPassword:{equalTo:"Passwords do not match"}},errorElement:"span",wrapper:"span",errorPlacement:function(z,A){A.before(z);z.addClass("form_error_message");z.append("");offset=A.offset();if(($(A).attr("id")=="fname")||($(A).attr("id")=="lname")){z.css("left",$(A).position().left+$(A).width()-260+100);z.css("top",$(A).position().top+$(A).height()-55)}else{z.css("left",$(A).position().left+$(A).width()-210);z.css("top",$(A).position().top+$(A).height()-55)}},submitHandler:function(){setCookie(SIGN_UP_ORIGIN,"Home Page Registration Box",120);var C=$("input#email5").val();var A=$("input#password5").val();var B="email="+C+"&password="+A;$("#register5").attr("disabled",true);var z=HOST_WITH_SSL+"addVisitor.htm?";$("#registerForm5").append("");$.ajax({type:"POST",url:z,data:B,success:function(F,G,E){var D=$.parseJSON(F);if(D.result==d){trackMixpanelLoginEvent(D,getCallBckFn());$("#register5").attr("disabled",false);tb_remove();setTimeout(function(){tb_show("","#TB_inline?height=280&width=520&inlineId=registerThanksDiv&modal=true")},500);$("#profilename").val(D.screenName);$("#confirmationDivContainer").show();trackSignupStep2Event(D.member_id)}else{$("#registerError5").html(D.message);$("#registerError5").show();$(".popup_overlay").remove();$("#register5").attr("disabled",false)}},error:function(E,F,D){$("#registerError5").html=E;$(".popup_overlay").remove();$("#register5").attr("disabled",false)}});return false}});$.validator.addMethod("profileNameExists",function(C,B){var A=true;var z=this.optional(B)||/^[0-9a-zA-Z]+$/i.test(C);if(z==false){$.validator.messages.profileNameExists="No special characters allowed";return z}$("#profilename").attr("readonly",true);$("#profilename1").attr("readonly",true);$.ajax({type:"POST",url:HOST_WITH_SSL+"/profileNameExists.htm?",data:"profilename="+C,async:false,success:function(F,G,E){responseRecevied=true;var D=$.parseJSON(F);if(D.result==d){$("#profilename").attr("readonly",false);$("#profilename1").attr("readonly",false);A=true}else{$("#profilename").attr("readonly",false);$("#profilename1").attr("readonly",false);A=false;$.validator.messages.profileNameExists=D.message}},error:function(D){responseRecevied=true;A=false;$("span.available").remove();$("span.notavailable").remove()}});return A},"profile name already exists...");var g=$("#regSuccessForm").validate({rules:{profilename:{required:true,minlength:4,profileNameExists:true}},messages:{profilename:{required:"Please enter your public profile name",minlength:"Must consist of 4 characters and no spaces"}},errorElement:"span",wrapper:"span",errorPlacement:function(z,A){A.before(z);z.addClass("form_error_message");z.append("");offset=A.offset();if(($(A).attr("id")=="fname")||($(A).attr("id")=="lname")){z.css("left",$(A).position().left+$(A).width()-260+100);z.css("top",$(A).position().top+$(A).height()-55)}else{z.css("left",$(A).position().left+$(A).width()-155);z.css("top",$(A).position().top+$(A).height()-55)}},submitHandler:function(){var z=new Date().getGmtOffset();var F="";var B="";var E=$("input#profilename").val();var D="";var C="firstname="+F+"&lastname="+B+"&profilename="+E+"&profilepicture="+D+"&timeZone="+z;$("#continueRegisterThanks").prop("disabled",true);var A=HOST_WITH_SSL+"/updatePublicProfile.htm?";$("#TB_window").append("");$.ajax({type:"POST",url:A,data:C,success:function(J,L,I){var H=$.parseJSON(J);if(H.result==d){$("#registerThanksDiv").hide();tb_remove();var G=$("input#targetURL").val();var K=window.location.hash.substr(1);if(G==""||G=="null"){G=HOST_WITHOUT_SSL+"home.htm"}if(K!=undefined&&G!=undefined&&K!=""){G=G+"#"+K}window.location.href=G}else{$("#regSuccessFormErrorDiv p").html(H.message);$("#regSuccessFormErrorDiv").show();$(".popup_overlay").remove();$("#continueRegisterThanks").attr("disabled",false)}},error:function(H,I,G){$("#regSuccessFormErrorDiv p").html=H;$(".popup_overlay").remove();$("#continueRegisterThanks").attr("disabled",false)}});return false}});var m=$("#regSocialSuccessForm").validate({rules:{profilename1:{required:true,minlength:4,profileNameExists:true}},messages:{profilename1:{required:"Please enter your public profile name",minlength:"Must consist of 4 characters and no spaces"}},errorElement:"span",wrapper:"span",errorPlacement:function(z,A){A.before(z);z.addClass("form_error_message");z.append("");offset=A.offset();if(($(A).attr("id")=="fname")||($(A).attr("id")=="lname")){z.css("left",$(A).position().left+$(A).width()-260+100);z.css("top",$(A).position().top+$(A).height()-55)}else{z.css("left",$(A).position().left+$(A).width()-155);z.css("top",$(A).position().top+$(A).height()-55)}},submitHandler:function(){var z=new Date().getGmtOffset();var F="";var B="";var E=$("input#profilename1").val();var D="";var C="firstname="+F+"&lastname="+B+"&profilename="+E+"&profilepicture="+D+"&timeZone="+z;$("#continueRegisterThanks").prop("disabled",true);var A=HOST_WITH_SSL+"/updatePublicProfile.htm?";$("#TB_window").append("");$.ajax({type:"POST",url:A,data:C,success:function(J,L,I){var H=$.parseJSON(J);if(H.result==d){$("#registerThanksDivSocial").hide();tb_remove();var G=$("input#targetURL").val();var K=window.location.hash.substr(1);if(G==""||G=="null"){G=HOST_WITHOUT_SSL+"home.htm"}if(K!=undefined&&G!=undefined&&K!=""){G=G+"#"+K}window.location.assign(G)}else{$("#regSocialSuccessFormErrorDiv p").html(H.message);$("#regSocialSuccessFormErrorDiv").show();$(".popup_overlay").remove();$("#continueSocialRegisterThanks").attr("disabled",false)}},error:function(H,I,G){$("#regSocialSuccessFormErrorDiv p").html=H;$(".popup_overlay").remove();$("#continueSocialRegisterThanks").attr("disabled",false)}});return false}});$("#webSignupLink").click(function(){j("Home Page Top Image")});function j(z){tb_show("","#TB_inline?height=180&width=475&inlineId=signupFormDiv");resetForm($("#signupForm"));$("#signupErrorMessagesDiv").html("");$("#signupError").hide();$("#signupFormDivContainer").show();$("#signupErrorMessagesDiv").hide();$("#signupErrorMessagesDiv").html("");$(".label-hide").show();setCookie(SIGN_UP_ORIGIN,z,120)}$("#mobileSignupLink").click(function(){window.location.href="mobileSignUp.htm"});$("#signupLink2").click(function(){j("Banner Images")});$("#webSignupLink1").click(function(){j("Signup Button")});$("#mobileSignupLink1").click(function(){window.location.href="mobileSignUp.htm"});$("#registerLink").click(function(){tb_remove();$("#registerListFormDivContainer").show()});$(document).on("click",".have_account",function(){tb_init();u.resetForm();document.getElementById("targetUrl").value="browsecompanyprofiles.htm";$("#signInFormDivContainer").show();tb_show("Login","#TB_inline?height=275&width=405&inlineId=signInFormDiv");$("#signupFormDivInBuyReportsContainer").hide();$("#resetPasswordRequestDivContainer").hide();setTimeout(function(){$("#buy_email").focus()},200)});function b(){$("#signupFormDivContainer").show();resetForm($("#signupForm"));$("#confirmationDivContainer").hide();$("#signupErrorMessagesDiv").html("");$("#signupError").hide();$("#signupFormDivContainer").show();$("#signupErrorMessagesDiv").hide();$("#signupErrorMessagesDiv").html("");$(".label-hide").show()}$("#signuplink1").click(function(){b()});$("#signuplink2").click(function(){b()});var i=function(z){$(".domain_error_message").remove();$("#emailSignIn").after("
    ");$(".domain_error_message span.error").html(z);$(".domain_error_message").show();$(".popup_overlay").remove()};var u=$("#signInForm").validate({rules:{emailSignIn:{required:true,emailValidation:true}},messages:{emailSignIn:{required:"Please enter a valid email address",emailValidation:"Please enter a valid email address"}},errorElement:"span",wrapper:"div",errorPlacement:function(z,A){$(".domain_error_message").remove();$("#emailSignIn").after(z);z.addClass("domain_error_message");z.prepend("");offset=A.offset()},submitHandler:function(E){var F=$("input#emailSignIn").val();var z=window.location.href;var B=$("#pageType").val();if(B!=undefined&&B==CITY_PAGE){var A=$("#landingPageUrl").val();z=A}var D;if(window.currentPage=="index"){D="email="+F}else{D="email="+F+"&targetURL="+z}var C=HOST_WITH_SSL+"requestSignInLink.htm?";$("#TB_window").append("");$.ajax({type:"POST",url:C,data:D,success:function(L,M,J){var I=$.parseJSON(L);if(I.result==d){$(".popup_overlay").remove();$("#signInFormDivContainer").hide();$("#signInFormResponseDivContainer").show();var K={};var H=document.getElementById("originPage");var G=new Date().toUTCString();if(H!=undefined&&H!=null){K["Page Type"]=H.value}else{K["Page Type"]=window.currentPage}K.UserId=I.memberId;K.Timestamp=G;K["Email Id"]=$("input#emailSignIn").val();trackMixpanelEvent("User sign in request",K)}else{if(I.result=="3"){i("Your account has been locked. Please contact support@owler.com if you feel this has been in error");$("#signInForm input").removeClass("valid")}else{if(I.result==n){trackSignInRequest(I.memberId,F,"User sign in request",true,undefined)}else{i(I.message);$("#signInForm input").removeClass("valid")}}}},error:function(H,I,G){i(H)}});return false}});var w=$("#mobileSignInForm").validate({rules:{emailSignIn:{required:true,emailValidation:true},passwordSignIn:{required:true,minlength:6}},messages:{emailSignIn:{required:"Please enter a valid email address",emailValidation:"Please enter a valid email address"},passwordSignIn:{required:"Please enter a password",minlength:"Password minimum of 6 characters"}},errorElement:"span",wrapper:"span",errorPlacement:function(z,A){A.before(z);z.addClass("form_error_message");z.append("");offset=A.offset();z.css("left",$(A).position().left+$(A).width()-200);z.css("top",$(A).position().top+$(A).height()-50)},submitHandler:function(E){var F=$("input#emailSignIn").val();var z=$("input#targetURL").val();if(z==""||z=="null"){z=HOST_WITHOUT_SSL+"home.htm"}var D=$("input#rememberMyEmailAddress").attr("checked")?1:0;var B=$("input#passwordSignIn").val();var C="j_username="+F+"&j_password="+B+"&login=1&rememberMyEmailAddress="+D;var A=HOST_WITH_SSL+"j_spring_security_check?";$("#mobile_wrapper").append("");$.ajax({type:"POST",url:A,data:C,success:function(I,J,H){var G=$.parseJSON(I);if(G.result==d){location.href=z}else{if(G.result=="3"){$("#loginError p").html("Your account has been locked. Please contact support@owler.com if you feel this has been in error");$("#loginError").show();$(".popup_overlay").remove();$("#passwordSignIn").val("");$("#emailSignIn").val("");$("#signInForm input").removeClass("valid")}else{$("#loginError p").html(G.message);$("#loginError").show();$(".popup_overlay").remove();$("#passwordSignIn").val("");$("#signInForm input").removeClass("valid")}}},error:function(H,I,G){$("#loginError p").html=H;$(".popup_overlay").remove()}});return false}});var k=$("#twitterEmailForm").validate({rules:{twitterRegEmail:{required:true,emailValidation:true}},messages:{twitterRegEmail:{required:"Please enter a valid email address",emailValidation:"Please enter a valid email address"}},errorElement:"span",wrapper:"span",errorPlacement:function(z,A){A.before(z);z.addClass("form_error_message");offset=A.offset();z.css("left",$(A).position().left+$(A).width()-200);z.css("top",$(A).position().top+$(A).height()+-45)},submitHandler:function(B){var C=$("input#twitterRegEmail").val();var A="email="+C;var z=HOST_WITH_SSL+"socialEmailRegistration.htm";$("#TB_window").append("");$.ajax({type:"POST",url:z,data:A,success:function(H,I,G){var E=$.parseJSON(H);if(E.result==d){var D=$.parseJSON(getCookie(OAUTH_RESPONSE));var F=$.parseJSON(D);trackMixpanelLoginEvent(F,getCallBckFn());$(".popup_overlay").remove();tb_remove();setTimeout(function(){tb_show("","#TB_inline?height=280&width=520&inlineId=registerThanksDiv&modal=true")},500);$("#profilename").val(F.screenName);trackSignupStep2Event(F.memberId)}else{$("#twitterRegError p").html(E.message);$("#twitterRegError").show();$(".popup_overlay").remove();$("#twitterEmailForm input").removeClass("valid")}},error:function(E,F,D){$("#twitterRegError p").html=E;$(".popup_overlay").remove()}});return false}});var r=$("#errorSignIn").validate({rules:{error_emailSignin:{required:true},error_passwordSignin:{required:true,minlength:6}},messages:{error_emailSignin:{required:"Please enter a valid email address"},error_passwordSignin:{required:"Please enter a password",minlength:"Your password must be at least 6 characters"}},errorElement:"span",wrapper:"span",errorPlacement:function(z,A){A.before(z);z.addClass("form_error_message");z.append("");offset=A.offset();z.css("left",$(A).position().left+$(A).width()-260);z.css("top",$(A).position().top+$(A).height()-55)},submitHandler:function(E){var B=$("input#error_emailSignin").val();var z=$("input#error_targetURl").val();if(z==""||z=="null"){z=HOST_WITHOUT_SSL+"home.htm"}var D=$("input#error_rememberMyEmailAddress").attr("checked")?1:0;var F=$("input#error_passwordSignin").val();var C="j_username="+B+"&j_password="+F+"&rememberMyEmailAddress="+D;var A=HOST_WITH_SSL+"j_spring_security_check?";$("#errorSignInContainer").append("");$.ajax({type:"POST",url:A,data:C,success:function(I,J,H){var G=$.parseJSON(I);if(G.result==d){location.href=z;$(".popup_overlay").remove()}else{if(G.result=="3"){$("#error_page_messages p").html("Your account has been locked. Please contact support@owler.com if you feel this has been in error.");$("#error_page_messages").show();$("#error_page_messages .error").show();$(".popup_overlay").remove();$("#error_emailSignin").val("");$("#error_passwordSignin").val("");$(".alert").hide()}else{$("#error_page_messages p").html(G.message);$("#error_page_messages").show();$("#error_page_messages .error").show();$(".popup_overlay").remove();$("#error_passwordSignin").val("");$(".alert").hide()}}},error:function(H,I,G){$("#error_page_messages p").html=H}});return false}});var y=$("#resetPasswordRequestForm").validate({rules:{resetPasswordRequestEmailSignIn:{required:true,emailValidation:true}},messages:{resetPasswordRequestEmailSignIn:{required:"Please enter a valid email address",emailValidation:"Please enter a valid email address"}},errorElement:"span",wrapper:"span",errorPlacement:function(z,A){A.before(z);z.addClass("form_error_message");z.append("");offset=A.offset();z.css("left",$(A).position().left+$(A).width()-180);z.css("top",$(A).position().top+$(A).height()-55)},submitHandler:function(C){var A=$("input#resetPasswordRequestEmailSignIn").val();var B="email="+A;var z=HOST_WITH_SSL+"sendResetPassswordNotify.htm?";$("#TB_window").append("");$.ajax({type:"POST",url:z,data:B,success:function(F,G,E){var D=$.parseJSON(F);if(D.result==d){$("#resetPasswordRequestSuccessDiv").html(D.message);$("#resetPasswordRequestDivContainer").hide();$("#resetPasswordRequestSuccessDiv").show();$(".popup_overlay").remove()}else{$("#resetPasswordError p").html(D.message);$("#resetPasswordError").show();$("span.error").show();$(".popup_overlay").remove()}},error:function(E,F,D){$("#resetPasswordError p").html=E;$(".popup_overlay").remove()}});return false}});$("#resetPasswordForm").validate({rules:{resetPassword:{required:true,minlength:6},confirmResetPassword:{equalTo:"#resetPassword"}},messages:{resetPassword:{required:"Please enter a password",minlength:"Your password must be at least 6 characters"},confirmResetPassword:{equalTo:"Passwords do not match"}},errorElement:"span",wrapper:"span",errorPlacement:function(z,A){A.before(z);z.addClass("form_error_message_right");z.append("");offset=A.offset();z.css("left",$(A).position().left+$(A).width()+10);z.css("top",$(A).position().top+$(A).height()-20)},submitHandler:function(D){var B=$("#resetpasswordemail").val();var A=$("input#resetPassword").val();var z=HOST_WITH_SSL+"resetPassword.htm?";var C="email="+B+"&password="+A;$.ajax({type:"POST",url:z,data:C,success:function(G,H,F){var E=$.parseJSON(G);ajaxResponseHandler(E);resetForm($("#resetPasswordForm"));$(".formbox").hide();$(".button_continueinfoarmy").fadeIn("slow")},error:function(F,G,E){errorMessage("Error !!! Status ="+F)}});return false}});$("#companyURL").bind("keyup",function(){return false});var v=$("#addCompanyForm").validate({rules:{companyName:{required:true,unicodeValidation:true},costType:{required:true},companyURL:{required:true,onkeyup:false,validateURL:true}},messages:{companyName:{required:"Please enter a company name"},companyURL:{required:"Please enter valid URL",validateURL:"Please enter a valid URL"},costType:{required:"Please select a cost value"}},errorElement:"span",wrapper:"span",errorPlacement:function(z,A){A.before(z);z.addClass("form_error_message");z.append("");offset=A.offset();z.css("left",$(A).position().left+$(A).width()-260);z.css("top",$(A).position().top+$(A).height()-55)},submitHandler:function(D){var E=$("#companyName").val();E=escape(E);var G=$("#companyURL").val();var F=$("#country").val();var B=$("#priority").val();var A=$("#costType").val();var C="companyName="+E+"&companyURL="+G+"&country="+F+"&priority="+B+"&costType="+A;var z=HOST_WITHOUT_SSL+"admin/addCompany.htm?";$("#TB_window").append("");$.ajax({type:"POST",url:z,contentType:"application/x-www-form-urlencoded; charset=UTF-8",data:C,success:function(J,K,I){var H=$.parseJSON(J);tb_remove();ajaxResponseHandler(H)},error:function(I,J,H){errorMessage("Error !!! Status ="+I)}});return false}});var o=$("#sampleCirForm").validate(t("input#sampleCirEmail","#sampleCirRegister","#sampleCirError","#sampleCirForm"));var f=$("#signupForm").validate(t("input#email","#signup","#signupError","#signupForm"));var s=$("#seoCitySignUpForm").validate(a("input#seoEmail","#seoSignUp","#seoSignUpError","#seoCitySignUpForm"));$("#seoCitySignUpForm").click(function(){setCookie(SIGN_UP_ORIGIN,"SEO CITY PAGE");setCookie(SIGN_UP_PAGETYPE,"SEO CITY PAGE",120)});$("#sampleCirForm").click(function(){setCookie(SIGN_UP_ORIGIN,"CIR Request",120);setCookie(SIGN_UP_PAGETYPE,0,120)});$("#conversionForm").click(function(){setCookie(SIGN_UP_ORIGIN,"Company Search Registration Bar",120);setCookie(SIGN_UP_PAGETYPE,0,120)});var c=$("#simpleRegSuccessForm").validate({rules:{simpleProfilename:{required:true,minlength:4,profileNameExists:true},randomPassword:{minlength:6}},messages:{profilename:{required:"Please enter your public profile name",minlength:"Profile Name must consist of 4 characters and no spaces"},randomPassword:{minlength:"Password must consist of 6 characters"}},errorElement:"span",wrapper:"span",errorPlacement:function(z,A){A.before(z);z.addClass("form_error_message");z.append("");offset=A.offset();if(($(A).attr("id")=="fname")||($(A).attr("id")=="lname")){z.css("left",$(A).position().left+$(A).width()-350);z.css("top",$(A).position().top+$(A).height()-55)}else{z.css("left",$(A).position().left+$(A).width()-270);z.css("top",$(A).position().top+$(A).height()-50);z.css("text-align","left")}},submitHandler:function(){var C=new Date().getGmtOffset();var G="";var I="";var A=$("input#simpleProfilename").val();var H=$("input#randomPassword").val();var B=$("#oldPassword").text();var E="";var F=$("input#targetURL").val();if(F==""||F=="null"){F=HOST_WITH_SSL}var D="firstname="+G+"&lastname="+I+"&profilename="+A+"&profilepicture="+E+"&password="+H+"&oldPassword="+B+"&timeZone="+C;$("#simpleContinueRegisterThanks").prop("disabled",true);var z=HOST_WITH_SSL+"/updateprofilePassword.htm?";$("#TB_window").append("");$.ajax({type:"POST",url:z,data:D,success:function(L,M,K){var J=$.parseJSON(L);if(J.result==d){$("#simpleRegisterThanksDiv").hide();tb_remove();window.location.assign(F)}else{$("#simpleRegSuccessFormErrorDiv p").html(J.message);$("#simpleRegSuccessFormErrorDiv").show();$(".popup_overlay").remove();$("#simpleContinueRegisterThanks").attr("disabled",false)}},error:function(K,L,J){$("#simpleRegSuccessFormErrorDiv p").html=K;$(".popup_overlay").remove();$("#simpleContinueRegisterThanks").attr("disabled",false)}});return false}});function t(z,D,A,C){var B={rules:{email:{required:true,emailValidation:true}},messages:{email:{required:"Please enter a valid email address",emailValidation:"Please enter a valid email address"}},errorElement:"span",wrapper:"span",errorPlacement:function(E,F){F.before(E);E.addClass("form_error_message");E.append("");offset=F.offset();if(($(F).attr("id")=="fname")||($(F).attr("id")=="lname")){E.css("left",$(F).position().left+$(F).width()-260+100);E.css("top",$(F).position().top+$(F).height()-55+20)}else{E.css("left",$(F).position().left+$(F).width()-210);E.css("top",$(F).position().top+$(F).height()-55)}},submitHandler:function(){var G=new Date().getGmtOffset();var J=$(z).val();var H="email="+J+"&timeZone="+G;$(D).attr("disabled",true);var F=HOST_WITH_SSL+"addSimpleVisitor.htm?";$("#bg_conversion_banner1").append("");$(A).hide();var I=$("input#searchTextBox").val();if(employerId!=undefined&&employerId!=null){var E=getCompetitorSectionUrl(employerId,I);$("input#targetURL").val(E)}if(validateDomain(J)){processSignupFlow(H,z,D,A,undefined,trackMixpanelLoginEvent,trackMixpanelEvent,F)}else{if(C!=undefined){$(C+" #domain_error_message").show()}else{$("#domain_error_message").show()}$(D).attr("disabled",false);$(".popup_overlay").remove()}return false}};return B}function a(z,D,A,C){$(z).focus(function(){$(A).hide()});var B={rules:{email:{required:true,emailValidation:true}},messages:{email:{required:"Please enter a valid email address",emailValidation:"Please enter a valid email address"}},errorElement:"span",wrapper:"span",errorPlacement:function(E,F){F.after(E);E.addClass("domain_error_message");E.prepend("");offset=F.offset();if(($(F).attr("id")=="fname")||($(F).attr("id")=="lname")){E.css("left",$(F).position().left+$(F).width()-260+100);E.css("top",$(F).position().top+$(F).height()-55+20)}else{E.css("left",$(F).position().left+$(F).width()-210);E.css("top",$(F).position().top+$(F).height()-55)}},submitHandler:function(){var I=$(z).val();var G="email="+I;if(employerId!=undefined&&employerId!=null){G=G+"&employerId="+employerId}$(D).attr("disabled",true);var F=HOST_WITH_SSL+"addSimpleVisitor.htm?";$("#home_banner").append("");$(A).hide();var H=$("input#searchTextBox").val();if(employerId!=undefined&&employerId!=null){var E=getCompetitorSectionUrl(employerId,H);$("input#targetURL").val(E)}if(validateDomain(I)){processSignupFlow(G,z,D,A,undefined,trackMixpanelLoginEvent,trackMixpanelEvent,F)}else{if(C!=undefined){$(C+" #domain_error_message").show()}else{$("#domain_error_message").show()}$(D).attr("disabled",false)}return false}};return B}});function companyTabClicked(a,b){$.ajax({type:"POST",url:b,success:function(d,f,c){$("#"+a).html(d)},error:function(d,f,c){$("#error").html(d)}})}function headerClicked(d){var a=$("#search").val();var f=$("#sortOrder").val();var c="searchTerm="+a+"&sortParam="+d+"&sortOrder="+f;var b=HOST_WITHOUT_SSL+"search.htm?";$.ajax({type:"POST",url:b,data:c,success:function(h,i,g){$("#main_container").html(h)},error:function(h,i,g){$("#mainContainerError").html(h)}})}function resetForm(a){a.find("input:text, input:password, input:file, select").val("");a.find("input:text, input:password, input:file, select").removeClass("error").removeClass("valid").removeClass("form_error_message_right").removeClass("form_error_message");a.find("input:radio, input:checkbox").removeAttr("checked").removeAttr("selected");a.find(".domain_error_message").hide()}function populateState(){var b=$("#countryi").val();var a="";$.getJSON(HOST_WITHOUT_SSL+"populateState.htm?country="+b,function(c){$.each(c,function(d,f){a+=" "});$("#statei").html(a)})}$("[placeholder]").focus(function(){var a=$(this);if(a.val()==a.attr("placeholder")){a.val("");a.removeClass("placeholder")}}).blur(function(){var a=$(this);if(a.val()==""||a.val()==a.attr("placeholder")){a.addClass("placeholder");a.val(a.attr("placeholder"))}}).blur();$(document).on("mouseenter",".validate",function(){$(this).prev(".form_error_message, .form_error_message_right").css("visibility","visible")});$(document).on("mouseleave",".validate",function(){$(this).prev(".form_error_message, .form_error_message_right").css("visibility","hidden")});$("#signupFormBuyReports input#buy_password").focus(function(){$("#signupFormBuyReports input#buy_confirmPassword").val("")});function ajaxResponseHandler(a){if(a.result==1){successMessage(a.message)}else{if(a.result==0){errorMessage(a.message)}else{if(a.result==2){informationMessage(a.message)}}}}function removeResponseMessages(){$("#message_container").find("div").hide();$("#message_container .alert").hide();$("#message_container .success").hide();$(".info_alert").hide();$(".popup_overlay").remove()}function errorMessage(a){$("#other_message_container").find("div").hide();$("#message_container").find("div").hide();$("#message_container .alert").fadeIn("slow");$("#message_container .alert p").html(a);$(".popup_overlay").remove()}function successMessage(a){$("#other_message_container").find("div").hide();$("#message_container").find("div").hide();$("#message_container .success").fadeIn("slow");$("#message_container .success p").html(a)}function informationMessage(a){$("#other_message_container").find("div").hide();$("#message_container").find("div").hide();$("#message_container .info_alert").fadeIn("slow");$("#message_container .info_alert p").html(a)}function getScalingFactor(f,i,d,b,g){var c=1;if(f<=0||i<=0||d<=0||b<=0){return -1}var h=f/d;var a=i/b;if(h<1&&a<1){c=(h1&&a>1&&g==true){c=(h").attr("src",c.src);resizeImage(a[0],c,true)}}function getScalingFactor(f,i,d,b,g){var c=1;if(f<=0||i<=0||d<=0||b<=0){return -1}var h=f/d;var a=i/b;if(h<1&&a<1){c=(h1&&a>1&&g==true){c=(h0){$('label.label-hide[for="password"]').hide()}if($(this).val()==""){$('label.label-hide[for="'+$(this)[0].id+'"]').show()}})});$(function(){$("#registerForm .input_field").focus(function(){$('label.label-hide[for="'+$(this)[0].id+'"]').hide();window.setInterval(d,1000)}).blur(function(){if($("#password").val().length>0){$('label.label-hide[for="password"]').hide()}if($(this).val()==""){$('label.label-hide[for="'+$(this)[0].id+'"]').show()}})});$(function(){$("#registerForm1 .input_field").focus(function(){$('label.label-hide[for="'+$(this)[0].id+'"]').hide();window.setInterval(c,1000)}).blur(function(){if($("#password1").val().length>0){$('label.label-hide[for="password1"]').hide()}if($(this).val()==""){$('label.label-hide[for="'+$(this)[0].id+'"]').show()}})});$(function(){$("#registerForm2 .input_field").focus(function(){$('label.label-hide[for="'+$(this)[0].id+'"]').hide();window.setInterval(b,1000)}).blur(function(){if($("#password2").val().length>0){$('label.label-hide[for="password2"]').hide()}if($(this).val()==""){$('label.label-hide[for="'+$(this)[0].id+'"]').show()}})});$(function(){$("#registerForm3 .input_field").focus(function(){$('label.label-hide[for="'+$(this)[0].id+'"]').hide();window.setInterval(a,1000)}).blur(function(){if($("#password3").val().length>0){$('label.label-hide[for="password3"]').hide()}if($(this).val()==""){$('label.label-hide[for="'+$(this)[0].id+'"]').show()}})});$(function(){$("#registerForm4 .input_field").focus(function(){$('label.label-hide[for="'+$(this)[0].id+'"]').hide();window.setInterval(g,1000)}).blur(function(){if($("#password4").val().length>0){$('label.label-hide[for="password4"]').hide()}if($(this).val()==""){$('label.label-hide[for="'+$(this)[0].id+'"]').show()}})});$(function(){$("#registerForm5 .input_field").focus(function(){$('label.label-hide[for="'+$(this)[0].id+'"]').hide();window.setInterval(f,1000)}).blur(function(){if($("#password5").val().length>0){$('label.label-hide[for="password5"]').hide()}if($(this).val()==""){$('label.label-hide[for="'+$(this)[0].id+'"]').show()}})});function d(){}function b(){}$(".menu-icon").click(function(){var i=$(".menu-icon").hasClass("submenu-link-active");var h=$(".admin-menu-icon").hasClass("submenu-link-active");if(i){$("#header-overlay").toggleClass("hide-overlay");$("#search-overlay").toggleClass("hide-overlay");$(this).toggleClass("submenu-link-active");$(".search-box").removeAttr("disabled")}else{if(!h){$("#header-overlay").toggleClass("hide-overlay");$("#search-overlay").toggleClass("hide-overlay");$(this).toggleClass("submenu-link-active");$(".search-box").attr("disabled","true")}else{$(".admin-menu-icon").toggleClass("submenu-link-active");$(this).toggleClass("submenu-link-active")}}});$(".admin-menu-icon").click(function(){var i=$(".menu-icon").hasClass("submenu-link-active");var h=$(".admin-menu-icon").hasClass("submenu-link-active");if(h){$("#header-overlay").toggleClass("hide-overlay");$("#search-overlay").toggleClass("hide-overlay");$(this).toggleClass("submenu-link-active");$(".search-box").removeAttr("disabled")}else{if(!i){$("#header-overlay").toggleClass("hide-overlay");$("#search-overlay").toggleClass("hide-overlay");$(this).toggleClass("submenu-link-active");$(".search-box").attr("disabled","true")}else{$(".menu-icon").toggleClass("submenu-link-active");$(this).toggleClass("submenu-link-active")}}});$(".handle-overlay").click(function(){$(".handle-overlay").removeClass("hide-overlay");$(".submenu-link").removeClass("submenu-link-active");$(".search-box").removeAttr("disabled")})});$(window).bind("load",function(){if(getCookie(LANDING_PAGE)==null){setCookie(LANDING_PAGE,currentPage,604800)}});var oauth_window;var OAUTH_STATUS_USER_REGISTERED="2";var OAUTH_STATUS_EMAIL_REQD="3";var OAUTH_STATUS_COOKIE="oauth_status";var OAUTH_RESPONSE="oauth_response";var OAUTH_STATUS_ACCOUNT_BLOCKED="4";var OAUTH_STATUS_USER_LOGGED_IN="5";function PopupOAuthWindowCenter(f,g,a,b){if(oauth_window){oauth_window.close()}var d=(screen.width/2)-(a/2);var c=(screen.height/2)-(b/2);oauth_window=window.open(f,g,"toolbar=no,location=no,directories=no,status=no,menubar=no,copyhistory=no,width="+a+",height="+b+",top="+c+",left="+d);oauth_window.focus();setCookie(REGISTER_PAGE,currentPage,480)}var TwitterConnect=(function(){function a(c,d,b){this.url=c;this.width=d;this.height=b}a.prototype.exec=function(){var b=this;PopupOAuthWindowCenter(this.url,"OAuth",this.width,this.height);this.interval=window.setInterval((function(){if(oauth_window.closed){window.clearInterval(b.interval);var g=$.parseJSON(getCookie(OAUTH_RESPONSE));var f=$.parseJSON(g);var d=getCookie(OAUTH_STATUS_COOKIE);if(d==OAUTH_STATUS_USER_LOGGED_IN){trackMixpanelLoginEvent(f,getCallBckFn())}else{if(d==OAUTH_STATUS_EMAIL_REQD){var c=getTargetURL();window.location.replace(HOST_WITH_SSL+"signup.htm?targetURL="+c)}else{if(d==OAUTH_STATUS_ACCOUNT_BLOCKED){tb_remove();tb_show("Account Blocked","#TB_inline?height=100&width=360&inlineId=accountBlockedDiv")}}}}}),1000)};return a})();var SocialConnect=(function(){function a(c,d,b){this.url=c;this.width=d;this.height=b}a.prototype.exec=function(){setCookie("t_z",new Date().getGmtOffset(),300);var b=this;PopupOAuthWindowCenter(this.url,"OAuth",this.width,this.height);this.interval=window.setInterval((function(){if(oauth_window.closed){window.clearInterval(b.interval);var g=$.parseJSON(getCookie(OAUTH_RESPONSE));var f=$.parseJSON(g);var d=getCookie(OAUTH_STATUS_COOKIE);if(d==OAUTH_STATUS_USER_REGISTERED){if(f.employerURL!=undefined){setCookie(LOGO_CONFIRMATION,0,300);trackMixpanelLoginEvent(f,getSignUpCallBckFn(f.employerURL+"?onBoardingComplete=true"))}else{$("#conversionForm").hide();$("#linkedInLink").hide();$(".signUpLink").hide();$("#registrationFlowSteps").show();$("#userEmail").val(f.userEmail);var h={};h["User role"]=f.userRole;h.UserId=f.memberId;trackMixpanelLoginEvent(f,function(){trackMixpanelEvent(HP_ONBOARDING_STEP1_STARTED,h)})}setCookie(USER_REG,0,300)}else{if(d==OAUTH_STATUS_USER_LOGGED_IN){trackMixpanelLoginEvent(f,getCallBckFn())}else{if(d==OAUTH_STATUS_EMAIL_REQD){var c=getTargetURL();window.location.replace(HOST_WITH_SSL+"signup.htm?targetURL="+c)}else{if(d==OAUTH_STATUS_ACCOUNT_BLOCKED){tb_remove();tb_show("Account Blocked","#TB_inline?height=100&width=360&inlineId=accountBlockedDiv")}}}}}}),1000)};return a})();$(function(){$(".twitter-login-connect").click(function(){var a="login";$.ajax({url:HOST_WITHOUT_SSL+"twitterlogin.htm?",async:false,data:"url="+a,success:function(g,h,f){tb_remove();var c=$.parseJSON(g);var d=c.authorizationUrl;if(d){var b=new TwitterConnect(d,900,600);b.exec()}},error:function(c,d,b){alert(d)}});return false});$(".twitter-register-connect").click(function(){var a="register";$.ajax({url:HOST_WITHOUT_SSL+"twitterlogin.htm?",async:false,data:"url="+a,success:function(g,h,f){tb_remove();var c=$.parseJSON(g);var d=c.authorizationUrl;if(d){var b=new TwitterConnect(d,900,600);b.exec()}},error:function(c,d,b){alert(d)}});return false});$(".google-connect").click(function(){$.ajax({url:HOST_WITHOUT_SSL+"googlelogin.htm",async:false,success:function(d,f,c){tb_remove();var b=d;if(b){var a=new SocialConnect(b,900,600);a.exec()}},error:function(b,c,a){alert(c)}});return false});$(".facebook-connect").click(function(){$.ajax({url:HOST_WITHOUT_SSL+"facebooklogin.htm",async:false,success:function(d,f,c){tb_remove();var b=d;if(b){var a=new SocialConnect(b,900,600);a.exec()}},error:function(b,c,a){alert(c)}});return false});$(".linkedin-connect").click(function(){$.ajax({url:HOST_WITHOUT_SSL+"linkedinlogin.htm",async:false,success:function(f,g,d){tb_remove();var b=$.parseJSON(f);var c=b.authorizationUrl;if(c){var a=new SocialConnect(c,900,600);a.exec()}},error:function(b,c,a){alert(c)}});return false})});$("#sign_out").click(function(){var b={};var a=new Date().toUTCString();b.UserId=userId;b.Timestamp=a;trackMixpanelEvent("User Sign Out",b,function(){location.href=HOST_WITHOUT_SSL+"j_spring_security_logout"})});function getCookie(b){var c=document.cookie;var d=c.indexOf(" "+b+"=");if(d==-1){d=c.indexOf(b+"=")}if(d==-1){c=null}else{d=c.indexOf("=",d)+1;var a=c.indexOf(";",d);if(a==-1){a=c.length}c=unescape(c.substring(d,a))}return c}function trackMixpanelLoginEvent(g,f){var a=g.event;var k=g.memberId;var j=g.mode;var m=g.userRole;var c=g.screenName;var l={};l.Mode=j+"";mixpanel.identify(k);if(a=="Sign in"){mixpanel.people.set({"$last_seen":new Date()})}else{var b=g.employerURL;var d=g.userEmail;var h=getCookie(SIGN_UP_PAGETYPE);if(h!=undefined&&h!=null){l["Page Type"]=h}else{if(window.currentPage=="eventsPage"){l["Page Type"]="Events Page"}else{if(h==undefined||h==null){l["Page Type"]="Home Page"}}}l["Employer Detected"]=(b!=undefined)?true:false;l.Email=d;mixpanel.people.set("$last_seen",new Date());mixpanel.people.set_once("$SignUpDate",new Date());mixpanel.people.set_once("$email",d);mixpanel.people.set_once("$name",c)}setUtmParams();deleteCookie(SIGN_UP_PAGETYPE);deleteCookie(SIGN_UP_ORIGIN);deleteCookie(OAUTH_STATUS_COOKIE);deleteCookie(OAUTH_RESPONSE);mixpanel.register({"User role":m+"",UserId:k+""});trackMixpanelEvent(a+"",l,function(n){if(n&&n.status==0){var o="payLoadString={error:"+n.error+", event:"+a+", email:"+d+", memberId"+k+"}";$.ajax({url:HOST_WITH_SSL+"reportMixpanelFailure.htm?",type:"POST",data:o})}});var i={};i.Platform="Web";trackMixpanelEvent("Overall Active User",i,function(){if(f!=undefined){f()}})}function showCommonSignupForm(a){if(a==true){window.location.href="mobileSignUp.htm"}else{tb_show("","#TB_inline?height=475&width=475&inlineId=signupFormDiv");$("#signupFormDivContainer").show();$("#signupErrorMessagesDiv").hide();$("#signupErrorMessagesDiv").html("");resetForm($("#signupForm"));$("#signupErrorMessagesDiv").html("");$("#signupError").hide();$("#signupFormDivContainer").show();$("#signupErrorMessagesDiv").hide();$("#signupErrorMessagesDiv").html("");$(".label-hide").show()}}function setCookie(b,g,f){var c=new Date();c.setTime(c.getTime()+(f*1000));var a="expires="+c.toGMTString();document.cookie=b+"="+g+"; "+a+"; path=/"}function setPageTypeCookie(){var b;var a=document.getElementById("originPage");if(a&&a.value){b=document.getElementById("originPage").value}if(b=="Home Page"){setCookie(SIGN_UP_PAGETYPE,"Home Page",120)}else{if(b!=undefined){setCookie(SIGN_UP_PAGETYPE,b,120)}else{setCookie(SIGN_UP_PAGETYPE,16,120)}}}function hideErrorMsg(){$(".domain_error_message").hide()}function validateDomain(d){var a=d;var c=a.replace(/.*@/,"").toLowerCase();for(var b=0;bloading
    ");$.ajax({type:"POST",url:f,data:g,success:function(l,m,k){var j=$.parseJSON(l);if(j.result==SUCCESS_STRING){$(".popup_overlay").remove();if(j.employerURL!=undefined){h(j,getSignUpCallBckFn(j.employerURL))}else{$("#linkedInLink").hide();$(".signUpLink").hide();$("#conversionForm").hide();$("#registration-flow-employer").show();$("#userEmail").val(j.userEmail);h(j,getSignUpCallBckFn())}setCookie(USER_REG,0,300)}else{if(d!=undefined&&d!=""){$(d).html(j.message);$(d).show()}else{b("External referral");$("#signupError").show();$("#signupError p").html("Please enter valid email address");$("#signupError").html(j.message);$("#signupError").show()}$(".popup_overlay").remove();if(i!=undefined&&i!=""){$(i).attr("disabled",false)}}},error:function(k,l,j){if((i!=undefined&&i!="")||(d!=undefined&&d!="")){$(d).html=k;$(d).show();$(i).attr("disabled",false)}$(".popup_overlay").remove()}})}function validateEmail(a){return/^[a-zA-Z0-9._-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*$/i.test(a)}function trackSignupStep2Event(b){var a={};a.UserId=b;trackMixpanelEvent("Homepage Signup Step 2 Viewed",a)}Date.prototype.getGmtOffset=function(){var a=new Date(this.getFullYear(),0,1);var c=new Date(this.getFullYear(),6,1);var b=Math.max(a.getTimezoneOffset(),c.getTimezoneOffset());return(b/60)*(-1)};function getCallBckFn(a){if(a!=undefined){return function(){window.location.assign(a)}}else{return function(){window.location.reload()}}}function getSignUpCallBckFn(a){return function(){if(a){window.location.assign(a)}}}function getQueryParam(b,f){f=f.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var a="[\\?&]"+f+"=([^&#]*)",d=new RegExp(a),c=d.exec(b);if(c===null||(c&&typeof(c[1])!=="string"&&c[1].length)){return""}else{return decodeURIComponent(c[1]).replace(/\+/g," ")}}function setUtmParams(){var b=["utm_source","utm_medium","utm_campaign","utm_content","utm_term"],d="",f={},c={};var a;for(a=0;a
    ");$("#TB_overlay").click(tb_remove)}}else{if(document.getElementById("TB_overlay")===null){$("body").append("
    ");$("#TB_overlay").click(tb_remove)}}if(tb_detectMacXFF()){$("#TB_overlay").addClass("TB_overlayMacFFBGHack")}else{$("#TB_overlay").addClass("TB_overlayBG")}if(m===null){m=""}$("body").append("
    ");$("#TB_load").show();var c;if(b.indexOf("?")!==-1){c=b.substr(0,b.indexOf("?"))}else{c=b}var g=/\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/;var n=c.toLowerCase().match(g);if(n==".jpg"||n==".jpeg"||n==".png"||n==".gif"||n==".bmp"){TB_PrevCaption="";TB_PrevURL="";TB_PrevHTML="";TB_NextCaption="";TB_NextURL="";TB_NextHTML="";TB_imageCount="";TB_FoundURL=false;if(h){TB_TempArray=$("a[@rel="+h+"]").get();for(TB_Counter=0;((TB_Counter  Next >"}else{TB_PrevCaption=TB_TempArray[TB_Counter].title;TB_PrevURL=TB_TempArray[TB_Counter].href;TB_PrevHTML="  < Prev"}}else{TB_FoundURL=true;TB_imageCount="Image "+(TB_Counter+1)+" of "+(TB_TempArray.length)}}}imgPreloader=new Image();imgPreloader.onload=function(){imgPreloader.onload=null;var r=tb_getPageSize();var p=r[0]-150;var u=r[1]-150;var q=imgPreloader.width;var o=imgPreloader.height;if(q>p){o=o*(p/q);q=p;if(o>u){q=q*(u/o);o=u}}else{if(o>u){q=q*(u/o);o=u;if(q>p){o=o*(p/q);q=p}}}TB_WIDTH=q+30;TB_HEIGHT=o+60;$("#TB_window").append(""+m+"
    "+m+"
    "+TB_imageCount+TB_PrevHTML+TB_NextHTML+"
    close or Esc Key
    ");$("#TB_closeWindowButton").click(tb_remove);if(!(TB_PrevHTML==="")){function t(){if($(document).unbind("click",t)){$(document).unbind("click",t)}$("#TB_window").remove();$("body").append("
    ");tb_show(TB_PrevCaption,TB_PrevURL,h);return false}$("#TB_prev").click(t)}if(!(TB_NextHTML==="")){function s(){$("#TB_window").remove();$("body").append("
    ");tb_show(TB_NextCaption,TB_NextURL,h);return false}$("#TB_next").click(s)}document.onkeydown=function(v){if(v==null){keycode=event.keyCode}else{keycode=v.which}if(keycode==27){tb_remove()}else{if(keycode==190){if(!(TB_NextHTML=="")){document.onkeydown="";s()}}else{if(keycode==188){if(!(TB_PrevHTML=="")){document.onkeydown="";t()}}}}};tb_position();$("#TB_load").remove();$("#TB_ImageOff").click(tb_remove);$("#TB_window").css({display:"block"})};imgPreloader.src=b}else{var a=b.replace(/^[^\?]+\??/,"");var d=tb_parseQuery(a);TB_WIDTH=(d.width*1)+30||630;TB_HEIGHT=(d.height*1)+40||440;ajaxContentW=TB_WIDTH-30;ajaxContentH=TB_HEIGHT-45;var k="";if(m!=""){k="
    "+m+"
    "}else{k=""}if(b.indexOf("TB_iframe")!=-1){urlNoQuery=b.split("TB_");$("#TB_iframeContent").remove();if(d.modal!="true"){$("#TB_window").append(k+"")}else{$("#TB_overlay").unbind();$("#TB_window").append("")}}else{if($("#TB_window").css("display")!="block"){if(d.modal!="true"){$("#TB_window").append(k+"
    ")}else{$("#TB_overlay").unbind();$("#TB_window").append("
    ")}}else{$("#TB_ajaxContent")[0].style.width=ajaxContentW+"px";$("#TB_ajaxContent")[0].style.height=ajaxContentH+"px";$("#TB_ajaxContent")[0].scrollTop=0;$("#TB_ajaxWindowTitle").html(m)}}$("#TB_closeWindowButton").click(tb_remove);if(b.indexOf("TB_inline")!=-1){$("#TB_ajaxContent").append($("#"+d.inlineId).children());$("#TB_window").unload(function(){$("#"+d.inlineId).append($("#TB_ajaxContent").children())});tb_position();$("#TB_load").remove();$("#TB_window").css({display:"block"})}else{if(b.indexOf("TB_iframe")!=-1){tb_position();if($.browser.safari){$("#TB_load").remove();$("#TB_window").css({display:"block"})}}else{$("#TB_ajaxContent").load(b+="&random="+(new Date().getTime()),function(p,o,r){if(p.indexOf("redirectURL")!=-1){var q=$.parseJSON(p);if(window.parent!=undefined){window.parent.location.href=q.redirectURL}else{window.location.href=q.redirectURL}return}else{tb_position();$("#TB_load").remove();tb_init("#TB_ajaxContent a.thickbox");$("#TB_window").css({display:"block"})}})}}}if(!d.modal){document.onkeyup=function(o){if(o==null){keycode=event.keyCode}else{keycode=o.which}if(keycode==27){tb_remove()}}}}catch(i){}}function tb_showIframe(){$("#TB_load").remove();$("#TB_window").css({display:"block"})}function tb_remove(){$("#TB_imageOff").unbind("click");$("#TB_closeWindowButton").unbind("click");$("#TB_window").fadeOut("fast",function(){$("#TB_window,#TB_overlay,#TB_HideSelect").trigger("unload").unbind().remove()});$("#TB_load").remove();if(typeof document.body.style.maxHeight=="undefined"){$("body","html").css({height:"auto",width:"auto"});$("html").css("overflow","")}document.onkeydown="";document.onkeyup="";return false}function tb_position(){$("#TB_window").css({marginLeft:"-"+parseInt((TB_WIDTH/2),10)+"px",width:TB_WIDTH+"px"});if(!(jQuery.browser.msie&&jQuery.browser.version<7)){$("#TB_window").css({marginTop:"-"+parseInt((TB_HEIGHT/2),10)+"px"})}}function tb_parseQuery(d){var f={};if(!d){return f}if(d.indexOf("?")!=-1){d=d.substr(d.lastIndexOf("?")+1)}var a=d.split(/[;&]/);for(var c=0;c");offset=b.offset();a.css("left",$(b).position().left+$(b).width()-222);a.css("top",$(b).position().top+$(b).height()-45)},submitHandler:function(b){var a=$("input#requestListUrlTextBox").val();addToRequestList(a);return false}})});function showRequestList(a){$("#companyAdded").val("false");$("span#requestSearchTerm").html(a);tb_show("Request List","#TB_inline?height=145&width=415&inlineId=requestListDiv")}function showRequestListWithUrl(a){$("#companyAdded").val("false");resetForm($("#requestListByUrlForm"));$("span#requestSearchTerm2").html(a);tb_show("Request List","#TB_inline?height=185&width=415&inlineId=requestListDiv2")}function imageSort(){var a=document.getElementById("sortColumn").value;if(""==a){a="company_name"}var b="";if("asc"==document.getElementById("sortOrder").value){b=""}document.getElementById(a+"_img").innerHTML=b}function clearSearchForm(){document.getElementById("researcherGroupTypeId").value="";document.getElementById("collaboratorGroupTypeId").value="";document.getElementById("adminCompanyId").value="";document.getElementById("adminReportId").value="";document.getElementById("adminCompanyName").value="";document.getElementById("adminCompletedPercentage").selectedIndex=0;document.getElementById("adminReportStatus").selectedIndex=0;document.getElementById("adminCollaborator").value="";document.getElementById("adminResearcher").value="";document.getElementById("sortOrder").value="";document.getElementById("sortColumn").value="";return false}function reportSearch(h){var j=$("#adminCompanyName").val();var i=$("#adminReportStatus").val();var b=$("#adminResearcher").val();var f=$("#adminCompletedPercentage").val();var g=$("#adminCollaborator").val();var c=$("#sortOrder").val();var d="adminCompanyName="+j+"&adminReportStatus="+i+"&adminResearcher="+b+"&adminCompletedPercentage="+f+"&adminCollaborator="+g+"&sortOrder="+c+"&sortColumn="+h;var a="adminHome.htm?"+d;companyTabClicked("tabscontainer",a);return false}var selectedItem=null;function basicSearch(){var a=document.getElementById("searchTextBox").value;if(a==watermark){return}var b=null;if(selectedItem!=null){b=selectedItem.linkUrl;selectedItem=null}else{b=HOST_WITH_SSL+"browsecompanyprofiles.htm?searchTerm="+a}location.href=b;return false}function getTickerIfNotNull(a){var b=a.tickerSymbol;if(b!=null){return" - "+a.tickerSymbol}else{return""}}function trim(a){return a.replace(/^\s+|\s+$/g,"")}function getSearchTerm(a){return stripDomain(a)}function configureBasicSearch(){var a;if(!document.getElementById("searchTextBox")){return}var b=$("#searchTextBox").autocomplete({source:function(d,c){$.ajax({url:HOST_WITH_SSL+"basicSearchCompanySuggestions.htm",dataType:"json",data:{searchTerm:getSearchTerm(d.term)},success:function(f){a=getSearchTerm(d.term);c($.map(f.results,function(g){return{label:g.shortName+" - "+g.primaryDomain+getTickerIfNotNull(g),value:g.shortName,linkUrl:g.seoFriendlyCompanyProfileUrl,category:g.category,id:g.id}}))}})},minLength:1,search:function(d,f){var c=document.getElementById("searchTextBox").value;if(conversionBanner!=undefined&&conversionBanner==true){employerId=null}c=getSearchTerm(c);if(c.length<=0){$("#searchTextBox").autocomplete("close");return false}else{if(c.length<3){$("#searchTextBox").autocomplete({delay:500});return true}else{$("#searchTextBox").autocomplete({delay:200})}}return true},select:function(c,d){c.originalEvent.originalEvent.stopPropagation();if(conversionBanner!=undefined&&conversionBanner==true){employerId=d.item.id}else{location.href=d.item.linkUrl}selectedItem=d.item},focus:function(c,d){return false},open:function(c,d){selectedItem=null},appendTo:"#search_suggest_div"});b.keydown(function(c){if(c.keyCode==13&&!c.isPropagationStopped()){if(conversionBanner==undefined){return basicSearch()}}});$("#searchTextBox").data("autocomplete")._renderItem=function(d,l){var n=a.toLowerCase();var j=l.label;var f=l.label.toLowerCase();var k=0;while(f.indexOf(n,k)>-1){var c=f.indexOf(n,k);k=c+n.length+13;var g=j.substring(0,c);var i=j.substring(c+n.length);var m=j.substring(c,c+n.length);m=""+m+"";j=g+m+i;f=j.toLowerCase()}var h=null;if(conversionBanner!=undefined&&conversionBanner==true){h=""+j+" "}else{h=""+j+" "}return $("
  • ").data("item.autocomplete",l).append(h).appendTo(d)}}function lstrip(a){return a.replace(/^\s+/g,"")}String.prototype.startsWith=function(a){return(this.match("^"+a)==a)};function stripDomain(a){a=lstrip(a);if(a.startsWith("http://")){a=a.substr(7)}else{if(a.startsWith("https://")){a=a.substr(8)}}if(a.startsWith("www.")){a=a.substr(4)}return a}function handleKeyPress(c,b){var a;if(window.event){a=window.event.keyCode}else{if(b){a=b.which}else{return true}}if(a==13){if(conversionBanner==undefined){return basicSearch()}}}$(document).ready(function(){$(".menu-icon").click(function(){$(".menu-holder").toggleClass("d-block");$(this).toggleClass("icon-active")});headerWidth();filterHeight();searchInuptWidth();progressValue();$(".inactiveBarShowNotificationLink").live("click",function(){$("#inactivebar").show();window.scrollTo(0,0)})});$(window).resize(function(){headerWidth();filterHeight();searchInuptWidth();progressValue()});$(window).scroll(function(){scrollLeft();cpTableFixed()});function scrollLeft(){var c=$(".position-track");var b=c.position();if(b!=undefined){var a=window.innerHeight;$(window).scroll(function(){var d=$(window).scrollTop();if(d>=b.top){$("#heading_news").addClass("heading_news_fixed")}else{$("#heading_news").removeClass("heading_news_fixed")}if(d>=(a)){$(".back_to_top").show(300)}else{$(".back_to_top").hide(300)}})}}function headerWidth(){var a=$(".feeds-holder").width();$("#heading_news").css("width",a)}function filterHeight(){var b=window.innerHeight;var f=$("#heading_news").height();var a=$(".filter-pop-header").height();var c=b-f-a-130;var d=b-f-50;$(".dashboard-filter").css("max-height",c);$(".group-main").css("max-height",d)}function searchInuptWidth(){var b=$(".add-compet-search").width();var c=$(".add-compet-btn").height();var a=b-c-10;$(".add-compet-search .search_suggest_div .inputfocus").css("width",a)}function progressValue(){var b=$(".progress-value").width();var a=b+10;$(".progress-value").css("right",-a)}function cpTableFixed(){var b=$(".cp-position-track-1");var a=b.position();if(a!=undefined){$(window).scroll(function(){var c=$(window).scrollTop();if(c>=a.top){$(".pf-table-heading-row").addClass("pf-table-fixed")}else{$(".pf-table-heading-row").removeClass("pf-table-fixed")}})}}var listOfBlackListedDomains=["0-mail.com","0815.ru","0clickemail.com","10minutemail.com","20minutemail.com","2prong.com","30minutemail.com","3d-painting.com","4warding.com","4warding.net","4warding.org","60minutemail.com","amilegit.com","anonbox.net","anonymbox.com","antispam.de","beefmilk.com","binkmail.com","bio-muesli.net","bobmail.info","bofthew.com","bootybay.de","brefmail.com","bsnow.net","bugmenot.com","bumpymail.com","cosmorph.com","courrieltemporaire.com","cubiclink.com","curryworld.de","cust.in","dacoolest.com","dandikmail.com","dayrep.com","deadaddress.com","despam.it","devnullmail.com","discardmail.com","discardmail.de","disposemail.com","dispostable.com","dodgeit.com","dodgit.com","dodgit.org","doiea.com","donemail.ru","dontreg.com","dontsendmespam.de","drdrb.net","dump-email.info","dumpyemail.com","e4ward.com","email60.com","emailigo.de","emailinfive.com","emailmiser.com","emailsensei.com","emailtemporario.com.br","emailwarden.com","emailx.at.hm","evopo.com","fakeinbox.com","fakeinformation.com","fastacura.com","filzmail.com","fizmail.com","fr33mail.info","get1mail.com","get2mail.fr","getonemail.com","getonemail.net","gishpuppy.com","great-host.in","grr.la","guerillamail.com","guerrillamail.com","guerrillamailblock.com","h.mintemail.com","haltospam.com","hochsitze.com","hotpop.com","hulapla.de","ieatspam.eu","ieatspam.info","ieh-mail.de","imails.info","incognitomail.com","incognitomail.net","incognitomail.org","insorg-mail.info","ipoo.org","jetable.com","jetable.net","jetable.org","jnxjn.com","junk1e.com","keepmymail.com","kir.ch.tc","klzlk.com","kulturbetrieb.info","lhsdv.com","litedrop.com","lol.ovpn.to","lookugly.com","lopl.co.cc","m4ilweb.info","mail-temporaire.fr","mail.by","mail4trash.com","mailcatch.com","maileater.com","mailexpire.com","mailimate.com","mailin8r.com","mailinator.com","mailinator.net","mailinator2.com","mailismagic.com","mailmate.com","mailme.ir","mailme.lv","mailmetrash.com","mailnator.com","mailnesia.com","mailnull.com","mailsac.com","mailslite.com","mailtemp.info","mailzilla.org","mbx.cc","mciek.com","meltmail.com","messagebeamer.de","mierdamail.com","mintemail.com","moburl.com","monemail.fr.nf","msa.minsmail.com","mt2009.com","mypartyclip.de","myphantomemail.com","mytrashmail.com","nepwk.com","nincsmail.hu","no-spam.ws","no-spammers.com","nobulk.com","noclickemail.com","nogmailspam.info","nomail2me.com","nomorespamemails.com","nospam4.us","nospamfor.us","nospamthanks.info","notmailinator.com","nowmymail.com","nus.edu.sg","nwldx.com","onewaymail.com","online.ms","opayq.com","ovpn.to","owlpic.com","pjjkp.com","plexolan.de","politikerclub.de","pookmail.com","prtnx.com","qq.com","quickinbox.com","recode.me","regbypass.com","rmqkr.net","rppkn.com","rtrtr.com","ruffrey.com","s0ny.net","safetymail.info","safetypost.de","sandelf.de","saynotospams.com","selfdestructingmail.com","sendspamhere.com","sharklasers.com","shitmail.me","skeefmail.com","slopsbox.com","smellfear.com","snakemail.com","sofimail.com","sofort-mail.de","sogetthis.com","soisz.com","spam.la","spam.su","spamavert.com","spambob.net","spambob.org","spambog.com","spambog.de","spambog.net","spambog.ru","spambox.info","spambox.irishspringrealty.com","spambox.us","spamcero.com","spamday.com","spamfree24.com","spamfree24.de","spamfree24.eu","spamfree24.info","spamfree24.net","spamfree24.org","spamgourmet.com","spamherelots.com","spamhole.com","spamify.com","spaminator.de","spamkill.info","spaml.com","spaml.de","spammotel.com","spamobox.com","spamspot.com","spamthis.co.uk","spamthisplease.com","supergreatmail.com","supermailer.jp","suremail.info","teewars.org","teleworm.com","teleworm.us","tempalias.com","tempe-mail.com","tempemail.biz","tempemail.com","tempemail.net","tempinbox.co.uk","tempinbox.com","tempmail.it","tempmail2.com","tempomail.fr","temporarioemail.com.br","temporaryemail.net","temporaryinbox.com","thanksnospam.info","thankyou2010.com","thisisnotmyrealemail.com","throwawayemailaddress.com","tmailinator.com","toiea.com","tradermail.info","trash-amil.com","trash-mail.com","trash-mail.de","trash2009.com","trashemail.de","trashmail.at","trashmail.com","trashmail.net","trashmail.ws","trashmailer.com","trashymail.com","trashymail.net","trbvm.com","trillianpro.com","tyldd.com","uggsrock.com","unmail.ru","veryrealemail.com","webm4il.info","wegwerfemail.de","wh4f.org","whyspam.me","willselfdestruct.com","wuzupmail.net","yopmail.com","yuurok.com","zehnminutenmail.de","zippymail.info","zoaxe.com"];(function(b,c){"object"===typeof module&&module.exports?module.exports=b.document?c(b):c:b.Highcharts=c(b)})("undefined"!==typeof window?window:this,function(a){a=function(){var c=window,l=c.document,b=c.navigator&&c.navigator.userAgent||"",d=l&&l.createElementNS&&!!l.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,h=/(edge|msie|trident)/i.test(b)&&!window.opera,j=!d,i=/Firefox/.test(b),k=i&&4>parseInt(b.split("Firefox/")[1],10);return c.Highcharts?c.Highcharts.error(16,!0):{product:"Highcharts",version:"5.0.7",deg2rad:2*Math.PI/360,doc:l,hasBidiBug:k,hasTouch:l&&void 0!==l.documentElement.ontouchstart,isMS:h,isWebKit:/AppleWebKit/.test(b),isFirefox:i,isTouchDevice:/(Mobile|Android|Windows Phone)/.test(b),SVG_NS:"http://www.w3.org/2000/svg",chartCount:0,seriesTypes:{},symbolSizes:{},svg:d,vml:j,win:c,charts:[],marginNames:["plotTop","marginRight","marginBottom","plotLeft"],noop:function(){}}}();(function(c){var g=[],b=c.charts,d=c.doc,f=c.win;c.error=function(i,h){i=c.isNumber(i)?"Highcharts error #"+i+": www.highcharts.com/errors/"+i:i;if(h){throw Error(i)}f.console&&console.log(i)};c.Fx=function(h,i,j){this.options=i;this.elem=h;this.prop=j};c.Fx.prototype={dSetter:function(){var i=this.paths[0],k=this.paths[1],n=[],j=this.now,h=i.length,m;if(1===j){n=this.toD}else{if(h===k.length&&1>j){for(;h--;){m=parseFloat(i[h]),n[h]=isNaN(m)?i[h]:j*parseFloat(k[h]-m)+m}}else{n=k}}this.elem.attr("d",n,null,!0)},update:function(){var h=this.elem,j=this.prop,k=this.now,i=this.options.step;if(this[j+"Setter"]){this[j+"Setter"]()}else{h.attr?h.element&&h.attr(j,k,null,!0):h.style[j]=k+this.unit}i&&i.call(h,k,this)},run:function(i,k,n){var j=this,h=function(l){return h.stopped?!1:j.step(l)},m;this.startTime=+new Date;this.start=i;this.end=k;this.unit=n;this.now=this.start;this.pos=0;h.elem=this.elem;h.prop=this.prop;h()&&1===g.push(h)&&(h.timerId=setInterval(function(){for(m=0;m=n+this.startTime){this.now=this.end;this.pos=1;this.update();j=p[this.prop]=!0;for(h in p){!0!==p[h]&&(j=!1)}j&&i&&i.call(o);o=!1}else{this.pos=k.easing((m-this.startTime)/n),this.now=this.start+(this.end-this.start)*this.pos,this.update(),o=!0}}return o},initPath:function(h,w,x){function G(m){var n,l;for(o=m.length;o--;){n="M"===m[o]||"L"===m[o],l=/[a-zA-Z]/.test(m[o+3]),n&&l&&m.splice(o+1,0,m[o+1],m[o+2],m[o+1],m[o+2])}}function v(m,n){for(;m.lengthy?"AM":"PM",P:12>y?"am":"pm",S:F(v.getSeconds()),L:F(Math.round(w%1000),3)},c.dateFormats);for(j in B){for(;-1!==h.indexOf("%"+j);){h=h.replace("%"+j,"function"===typeof B[j]?B[j](w):B[j])}}return x?h.substr(0,1).toUpperCase()+h.substr(1):h};c.formatSingle=function(j,i){var k=/\.([0-9])/,h=c.defaultOptions.lang;/f$/.test(j)?(k=(k=j.match(k))?k[1]:-1,null!==i&&(i=c.numberFormat(i,k,h.decimalPoint,-1=n&&(j=[1/n])));for(i=0;i=k||!h&&m<=(j[i]+(j[i+1]||j[i]))/2);i++){}return o=c.correctFloat(o*n,-Math.round(Math.log(0.001)/Math.LN10))};c.stableSort=function(i,k){var m=i.length,j,h;for(h=0;hj&&(j=h[i])}return j};c.destroyObjectProperties=function(h,i){for(var j in h){h[j]&&h[j]!==i&&h[j].destroy&&h[j].destroy(),delete h[j]}};c.discardElement=function(i){var h=c.garbageBin;h||(h=c.createElement("div"));i&&h.appendChild(i);h.innerHTML=""};c.correctFloat=function(h,i){return parseFloat(h.toPrecision(i||14))};c.setAnimation=function(i,h){h.renderer.globalAnimation=c.pick(i,h.options.chart.animation,!0)};c.animObject=function(h){return c.isObject(h)?c.merge(h):{duration:h?500:0}};c.timeUnits={millisecond:1,second:1000,minute:60000,hour:3600000,day:86400000,week:604800000,month:2419200000,year:31449600000};c.numberFormat=function(m,k,o,j){m=+m||0;k=+k;var i=c.defaultOptions.lang,n=(m.toString().split(".")[1]||"").length,p,h;-1===k?k=Math.min(n,20):c.isNumber(k)||(k=2);h=(Math.abs(m)+Math.pow(10,-Math.max(k,n)-1)).toFixed(k);n=String(c.pInt(h));p=3m?"-":"")+(p?n.substr(0,p)+j:"");m+=n.substr(p).replace(/(\d{3})(?=\d)/g,"$1"+j);k&&(m+=o+h.slice(-k));return m};Math.easeInOutSine=function(h){return -0.5*(Math.cos(Math.PI*h)-1)};c.getStyle=function(i,h){return"width"===h?Math.min(i.offsetWidth,i.scrollWidth)-c.getStyle(i,"padding-left")-c.getStyle(i,"padding-right"):"height"===h?Math.min(i.offsetHeight,i.scrollHeight)-c.getStyle(i,"padding-top")-c.getStyle(i,"padding-bottom"):(i=f.getComputedStyle(i,void 0))&&c.pInt(i.getPropertyValue(h))};c.inArray=function(h,i){return i.indexOf?i.indexOf(h):[].indexOf.call(i,h)};c.grep=function(h,i){return[].filter.call(h,i)};c.find=function(h,i){return[].find.call(h,i)};c.map=function(i,k){for(var m=[],j=0,h=i.length;jk;k++){j[k]+=g(255*i),0>j[k]&&(j[k]=0),255B.width){B={width:0,height:0}}}else{B=this.htmlGetBBox()}r.isSVG&&(A=B.width,r=B.height,q&&"11px"===q.fontSize&&17===Math.round(r)&&(B.height=r=14),p&&(B.width=Math.abs(r*Math.sin(w))+Math.abs(A*Math.cos(w)),B.height=Math.abs(r*Math.cos(w))+Math.abs(A*Math.sin(w))));if(C&&0]*>/g,"")))},textSetter:function(b){b!==this.textStr&&(delete this.bBox,this.textStr=b,this.added&&this.renderer.buildText(this))},fillSetter:function(b,c,d){"string"===typeof b?d.setAttribute(c,b):b&&this.colorGradient(b,c,d)},visibilitySetter:function(b,c,d){"inherit"===b?d.removeAttribute(c):d.setAttribute(c,b)},zIndexSetter:function(q,f){var r=this.renderer,l=this.parentGroup,n=(l||r).element||r.box,m,g=this.element,d;m=this.added;var p;ag(q)&&(g.zIndex=q,q=+q,this[f]===q&&(m=!1),this[f]=q);if(m){(q=this.zIndex)&&l&&(l.handleZ=!0);f=n.childNodes;for(p=0;pq||!ag(q)&&ag(m)||0>q&&!ag(m)&&n!==r.box)&&(n.insertBefore(g,l),d=!0)}d||n.appendChild(g)}return d},_defaultSetter:function(b,c,d){d.setAttribute(c,b)}};X.prototype.yGetter=X.prototype.xGetter;X.prototype.translateXSetter=X.prototype.translateYSetter=X.prototype.rotationSetter=X.prototype.verticalAlignSetter=X.prototype.scaleXSetter=X.prototype.scaleYSetter=function(b,c){this[c]=b;this.doTransform=!0};X.prototype["stroke-widthSetter"]=X.prototype.strokeSetter=function(b,c,d){this[c]=b;this.stroke&&this["stroke-width"]?(X.prototype.fillSetter.call(this,this.stroke,"stroke",d),d.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===c&&0===b&&this.hasStroke&&(d.removeAttribute("stroke"),this.hasStroke=!1)};Y=au.SVGRenderer=function(){this.init.apply(this,arguments)};Y.prototype={Element:X,SVG_NS:s,init:function(h,n,g,q,p,f){var l;q=this.createElement("svg").attr({version:"1.1","class":"highcharts-root"}).css(this.getStyle(q));l=q.element;h.appendChild(l);-1===h.innerHTML.indexOf("xmlns")&&af(l,"xmlns",this.SVG_NS);this.isSVG=!0;this.box=l;this.boxWrapper=q;this.alignedObjects=[];this.url=(ap||am)&&ah.getElementsByTagName("base").length?o.location.href.replace(/#.*?$/,"").replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20"):"";this.createElement("desc").add().element.appendChild(ah.createTextNode("Created with Highcharts 5.0.7"));this.defs=this.createElement("defs").add();this.allowHTML=f;this.forExport=p;this.gradients={};this.cache={};this.cacheKeys=[];this.imgCount=0;this.setSize(n,g,!1);var d;ap&&h.getBoundingClientRect&&(n=function(){ad(h,{left:0,top:0});d=h.getBoundingClientRect();ad(h,{left:Math.ceil(d.left)-d.left+"px",top:Math.ceil(d.top)-d.top+"px"})},n(),this.unSubPixelFix=Q(o,"resize",n))},getStyle:function(b){return this.style=ae({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},b)},setStyle:function(b){this.boxWrapper.css(this.getStyle(b))},isHidden:function(){return !this.boxWrapper.getBBox().width},destroy:function(){var b=this.defs;this.box=null;this.boxWrapper=this.boxWrapper.destroy();at(this.gradients||{});this.gradients=null;b&&(this.defs=b.destroy());this.unSubPixelFix&&this.unSubPixelFix();return this.alignedObjects=null},createElement:function(b){var c=new this.Element;c.init(this,b);return c},draw:L,getRadialAttr:function(b,c){return{cx:b[0]-b[2]/2+c.cx*b[2],cy:b[1]-b[2]/2+c.cy*b[2],r:c.r*b[2]}},buildText:function(aB){var S=aB.element,B=this,ay=B.forExport,aA=v(aB.textStr,"").toString(),av=-1!==aA.indexOf("\x3c"),I=S.childNodes,u,O,r,N,C=af(S,"x"),az=aB.styles,H=aB.textWidth,A=az&&az.lineHeight,P=az&&az.textOutline,c=az&&"ellipsis"===az.textOverflow,ax=az&&"nowrap"===az.whiteSpace,G=az&&az.fontSize,K,aw=I.length,az=H&&!aB.added&&this.box,p=function(b){var d;d=/(px|em)$/.test(b&&b.style.fontSize)?b.style.fontSize:G||B.style.fontSize||12;return A?M(A):B.fontMetrics(d,b.getAttribute("style")?b:S).h};K=[aA,c,ax,A,P,G,H].join();if(K!==aB.textCache){for(aB.textCache=K;aw--;){S.removeChild(I[aw])}av||P||c||H||-1!==aA.indexOf(" ")?(u=/<.*class="([^"]+)".*>/,O=/<.*style="([^"]+)".*>/,r=/<.*href="(http[^"]+)".*>/,az&&az.appendChild(S),aA=av?aA.replace(/<(b|strong)>/g,'\x3cspan style\x3d"font-weight:bold"\x3e').replace(/<(i|em)>/g,'\x3cspan style\x3d"font-style:italic"\x3e').replace(//g,"\x3c/span\x3e").split(//g):[aA],aA=ar(aA,function(b){return""!==b}),W(aA,function(d,k){var f,g=0;d=d.replace(/^\s+|\s+$/g,"").replace(//g,"\x3c/span\x3e|||");f=d.split("|||");W(f,function(F){if(""!==F||1===f.length){var z={},aC=ah.createElementNS(B.SVG_NS,"tspan"),n,aD;u.test(F)&&(n=F.match(u)[1],af(aC,"class",n));O.test(F)&&(aD=F.match(O)[1].replace(/(;| |^)color([ :])/,"$1fill$2"),af(aC,"style",aD));r.test(F)&&!ay&&(af(aC,"onclick",'location.href\x3d"'+F.match(r)[1]+'"'),ad(aC,{cursor:"pointer"}));F=(F.replace(/<(.|\n)*?>/g,"")||" ").replace(/</g,"\x3c").replace(/>/g,"\x3e");if(" "!==F){aC.appendChild(ah.createTextNode(F));g?z.dx=0:k&&null!==C&&(z.x=C);af(aC,z);S.appendChild(aC);!g&&k&&(!j&&ay&&ad(aC,{display:"block"}),af(aC,"dy",p(aC)));if(H){z=F.replace(/([^\^])-/g,"$1- ").split(" ");n=1H,void 0===N&&(N=m),c&&N?(t/=2,""===J||!m&&0.5>t?z=[]:(J=F.substring(0,J.length+(m?-1:1)*Math.ceil(t)),z=[J+(3H&&(H=x)),z.length&&aC.appendChild(ah.createTextNode(z.join(" ").replace(/- /g,"-")))}aB.rotation=D}g++}}})}),N&&aB.attr("title",aB.textStr),az&&az.removeChild(S),P&&aB.applyTextOutline&&aB.applyTextOutline(P)):S.appendChild(ah.createTextNode(aA.replace(/</g,"\x3c").replace(/>/g,"\x3e")))}},getContrast:function(b){b=ao(b).rgba;return 510l?m>f+d&&mr?m>f+d&&mn&&r>q+d&&rm&&r>q+d&&rb?b+3:Math.round(1.2*b);return{h:c,b:Math.round(0.8*c),f:b}},rotCorr:function(d,f,g){var c=d;f&&g&&(c=Math.max(c*Math.cos(f*aq),4));return{x:-d/3*Math.sin(f*aq),y:c}},label:function(aR,aN,aQ,aP,aK,aE,ay,aI,aO){var aA=this,aH=aA.g("button"!==aO&&"label"),aC=aH.text=aA.text("",0,0,ay).attr({zIndex:1}),az,aG,aJ=0,av=3,aD=0,aM,aL,aw,H,A,C={},ax,aB,aF=/^url\((.*?)\)$/.test(aP),G=aF,q,y,t,B;aO&&aH.addClass("highcharts-"+aO);G=aF;q=function(){return(ax||0)%2/2};y=function(){var b=aC.element.style,c={};aG=(void 0===aM||void 0===aL||A)&&ag(aC.textStr)&&aC.getBBox();aH.width=(aM||aG.width||0)+2*av+aD;aH.height=(aL||aG.height||0)+2*av;aB=av+aA.fontMetrics(b&&b.fontSize,aC).b;G&&(az||(aH.box=az=aA.symbols[aP]||aF?aA.symbol(aP):aA.rect(),az.addClass(("button"===aO?"":"highcharts-label-box")+(aO?" highcharts-"+aO+"-box":"")),az.add(aH),b=q(),c.x=b,c.y=(aI?-aB:0)+b),c.width=Math.round(aH.width),c.height=Math.round(aH.height),az.attr(ae(c,C)),C={})};t=function(){var b=aD+av,c;c=aI?0:aB;ag(aM)&&aG&&("center"===A||"right"===A)&&(b+={center:0.5,right:1}[A]*(aM-aG.width));if(b!==aC.x||c!==aC.y){aC.attr("x",b),void 0!==c&&aC.attr("y",c)}aC.x=b;aC.y=c};B=function(b,c){az?az.attr(b,c):C[b]=c};aH.onAdd=function(){aC.add(aH);aH.attr({text:aR||0===aR?aR:"",x:aN,y:aQ});az&&ag(aK)&&aH.attr({anchorX:aK,anchorY:aE})};aH.widthSetter=function(b){aM=b};aH.heightSetter=function(b){aL=b};aH["text-alignSetter"]=function(b){A=b};aH.paddingSetter=function(b){ag(b)&&b!==av&&(av=aH.padding=b,t())};aH.paddingLeftSetter=function(b){ag(b)&&b!==aD&&(aD=b,t())};aH.alignSetter=function(b){b={left:0,center:0.5,right:1}[b];b!==aJ&&(aJ=b,aG&&aH.attr({x:aw}))};aH.textSetter=function(b){void 0!==b&&aC.textSetter(b);y();t()};aH["stroke-widthSetter"]=function(b,c){b&&(G=!0);ax=this["stroke-width"]=b;B(c,b)};aH.strokeSetter=aH.fillSetter=aH.rSetter=function(b,c){"fill"===c&&b&&(G=!0);B(c,b)};aH.anchorXSetter=function(b,c){aK=b;B(c,Math.round(b)-q()-aw)};aH.anchorYSetter=function(b,c){aE=b;B(c,b-H)};aH.xSetter=function(b){aH.x=b;aJ&&(b-=aJ*((aM||aG.width)+2*av));aw=Math.round(b);aH.attr("translateX",aw)};aH.ySetter=function(b){H=aH.y=Math.round(b);aH.attr("translateY",H)};var k=aH.css;return ae(aH,{css:function(b){if(b){var c={};b=aa(b);W(aH.textProps,function(d){void 0!==b[d]&&(c[d]=b[d],delete b[d])});aC.css(c)}return k.call(aH,b)},getBBox:function(){return{width:aG.width+2*av,height:aG.height+2*av,x:aG.x-av,y:aG.y-av}},shadow:function(b){b&&(y(),az&&az.shadow(b));return aH},destroy:function(){al(aH.element,"mouseenter");al(aH.element,"mouseleave");aC&&(aC=aC.destroy());az&&(az=az.destroy());X.prototype.destroy.call(aH);aH=aA=y=t=B=null}})}};au.Renderer=Y})(a);(function(v){var j=v.attr,k=v.createElement,w=v.css,y=v.defined,c=v.each,n=v.extend,o=v.isFirefox,x=v.isMS,m=v.isWebKit,h=v.pInt,s=v.SVGRenderer,t=v.win,i=v.wrap;n(v.SVGElement.prototype,{htmlCss:function(f){var d=this.element;if(d=f&&"SPAN"===d.tagName&&f.width){delete f.width,this.textWidth=d,this.updateTransform()}f&&"ellipsis"===f.textOverflow&&(f.whiteSpace="nowrap",f.overflow="hidden");this.styles=n(this.styles,f);w(this.element,f);return this},htmlGetBBox:function(){var b=this.element;"text"===b.nodeName&&(b.style.position="absolute");return{x:b.offsetLeft,y:b.offsetTop,width:b.offsetWidth,height:b.offsetHeight}},htmlUpdateTransform:function(){if(this.added){var D=this.renderer,B=this.element,l=this.translateX||0,z=this.translateY||0,g=this.x||0,u=this.y||0,f=this.textAlign||"left",r={left:0,center:0.5,right:1}[f],C=this.styles;w(B,{marginLeft:l,marginTop:z});this.shadows&&c(this.shadows,function(b){w(b,{marginLeft:l+1,marginTop:z+1})});this.inverted&&c(B.childNodes,function(b){D.invertChild(b,B)});if("SPAN"===B.tagName){var G=this.rotation,E=h(this.textWidth),q=C&&C.whiteSpace,A=[G,f,B.innerHTML,this.textWidth,this.textAlign].join();A!==this.cTT&&(C=D.fontMetrics(B.style.fontSize).b,y(G)&&this.setSpanRotation(G,r,C),w(B,{width:"",whiteSpace:q||"nowrap"}),B.offsetWidth>E&&/[ \-]/.test(B.textContent||B.innerText)&&w(B,{width:E+"px",display:"block",whiteSpace:q||"normal"}),this.getSpanCorrection(B.offsetWidth,C,r,G,f));w(B,{left:g+(this.xCorr||0)+"px",top:u+(this.yCorr||0)+"px"});m&&(C=B.offsetHeight);this.cTT=A}}else{this.alignOnAdd=!0}},setSpanRotation:function(f,g,b){var p={},l=x?"-ms-transform":m?"-webkit-transform":o?"MozTransform":t.opera?"-o-transform":"";p[l]=p.transform="rotate("+f+"deg)";p[l+(o?"Origin":"-origin")]=p.transformOrigin=100*g+"% "+b+"px";w(this.element,p)},getSpanCorrection:function(g,f,d){this.xCorr=-g*d;this.yCorr=-f}});n(s.prototype,{html:function(q,g,f){var A=this.createElement("span"),z=A.element,u=A.renderer,p=u.isSVG,r=function(b,d){c(["opacity","visibility"],function(l){i(b,l+"Setter",function(D,C,E,B){D.call(this,C,E,B);d[E]=C})})};A.textSetter=function(b){b!==z.innerHTML&&delete this.bBox;z.innerHTML=this.textStr=b;A.htmlUpdateTransform()};p&&r(A,A.element.style);A.xSetter=A.ySetter=A.alignSetter=A.rotationSetter=function(b,d){"align"===d&&(d="textAlign");A[d]=b;A.htmlUpdateTransform()};A.attr({text:q,x:Math.round(g),y:Math.round(f)}).css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize,position:"absolute"});z.style.whiteSpace="nowrap";A.css=A.htmlCss;p&&(A.add=function(B){var l,d=u.box.parentNode,C=[];if(this.parentGroup=B){if(l=B.div,!l){for(;B;){C.push(B),B=B.parentGroup}c(C.reverse(),function(D){var E,b=j(D.element,"class");b&&(b={className:b});l=D.div=D.div||k("div",b,{position:"absolute",left:(D.translateX||0)+"px",top:(D.translateY||0)+"px",display:D.display,opacity:D.opacity,pointerEvents:D.styles&&D.styles.pointerEvents},l||d);E=l.style;n(D,{on:function(){A.on.apply({element:C[0].div},arguments);return D},translateXSetter:function(G,F){E.left=G+"px";D[F]=G;D.doTransform=!0},translateYSetter:function(G,F){E.top=G+"px";D[F]=G;D.doTransform=!0}});r(D,E)})}}else{l=d}l.appendChild(z);A.added=!0;A.alignOnAdd&&A.htmlUpdateTransform();return A});return A}})})(a);(function(Q){var x,D,i=Q.createElement,j=Q.css,w=Q.defined,L=Q.deg2rad,M=Q.discardElement,k=Q.doc,K=Q.each,y=Q.erase,N=Q.extend;x=Q.extendClass;var P=Q.isArray,F=Q.isNumber,v=Q.isObject,s=Q.merge;D=Q.noop;var J=Q.pick,O=Q.pInt,I=Q.SVGElement,o=Q.SVGRenderer,h=Q.win;Q.svg||(D={docMode8:k&&8===k.documentMode,init:function(f,d){var l=["\x3c",d,' filled\x3d"f" stroked\x3d"f"'],m=["position: ","absolute",";"],g="div"===d;("shape"===d||g)&&m.push("left:0;top:0;width:1px;height:1px;");m.push("visibility: ",g?"hidden":"visible");l.push(' style\x3d"',m.join(""),'"/\x3e');d&&(l=g||"span"===d||"img"===d?l.join(""):f.prepVML(l),this.element=i(l));this.renderer=f},add:function(f){var l=this.renderer,d=this.element,m=l.box,g=f&&f.inverted,m=f?f.element||f:m;f&&(this.parentGroup=f);g&&l.invertChild(d,m);m.appendChild(d);this.added=!0;this.alignOnAdd&&!this.deferUpdateTransform&&this.updateTransform();if(this.onAdd){this.onAdd()}this.className&&this.attr("class",this.className);return this},updateTransform:I.prototype.htmlUpdateTransform,setSpanRotation:function(){var f=this.rotation,d=Math.cos(f*L),g=Math.sin(f*L);j(this.element,{filter:f?["progid:DXImageTransform.Microsoft.Matrix(M11\x3d",d,", M12\x3d",-g,", M21\x3d",g,", M22\x3d",d,", sizingMethod\x3d'auto expand')"].join(""):"none"})},getSpanCorrection:function(r,q,p,f,g){var l=f?Math.cos(f*L):1,t=f?Math.sin(f*L):0,m=J(this.elemHeight,this.element.offsetHeight),u;this.xCorr=0>l&&-r;this.yCorr=0>t&&-m;u=0>l*t;this.xCorr+=t*q*(u?1-p:p);this.yCorr-=l*q*(f?u?p:1-p:1);g&&"left"!==g&&(this.xCorr-=r*p*(0>l?-1:1),f&&(this.yCorr-=m*p*(0>t?-1:1)),j(this.element,{textAlign:g}))},pathToVML:function(d){for(var c=d.length,f=[];c--;){F(d[c])?f[c]=Math.round(10*d[c])-5:"Z"===d[c]?f[c]="x":(f[c]=d[c],!d.isArc||"wa"!==d[c]&&"at"!==d[c]||(f[c+5]===f[c+7]&&(f[c+7]+=d[c+7]>d[c+5]?1:-1),f[c+6]===f[c+8]&&(f[c+8]+=d[c+8]>d[c+6]?1:-1)))}return f.join(" ")||"x"},clip:function(d){var c=this,f;d?(f=d.members,y(f,c),f.push(c),c.destroyClip=function(){y(f,c)},d=d.getCSS(c)):(c.destroyClip&&c.destroyClip(),d={clip:c.docMode8?"inherit":"rect(auto)"});return c.css(d)},css:I.prototype.htmlCss,safeRemoveChild:function(b){b.parentNode&&M(b)},destroy:function(){this.destroyClip&&this.destroyClip();return I.prototype.destroy.apply(this)},on:function(d,c){this.element["on"+d]=function(){var b=h.event;b.target=b.srcElement;c(b)};return this},cutOffPath:function(d,c){var f;d=d.split(/[ ,]/);f=d.length;if(9===f||11===f){d[f-4]=d[f-2]=O(d[f-2])-10*c}return d.join(" ")},shadow:function(H,G,m){var B=[],u,C=this.element,R=this.renderer,g,T=C.style,r,c=C.path,q,S,E,A;c&&"string"!==typeof c.value&&(c="x");S=c;if(H){E=J(H.width,3);A=(H.opacity||0.15)/E;for(u=1;3>=u;u++){q=2*E+1-2*u,m&&(S=this.cutOffPath(c.value,q+0.5)),r=['\x3cshape isShadow\x3d"true" strokeweight\x3d"',q,'" filled\x3d"false" path\x3d"',S,'" coordsize\x3d"10 10" style\x3d"',C.style.cssText,'" /\x3e'],g=i(R.prepVML(r),null,{left:O(T.left)+J(H.offsetX,1),top:O(T.top)+J(H.offsetY,1)}),m&&(g.cutOff=q+1),r=['\x3cstroke color\x3d"',H.color||"#000000",'" opacity\x3d"',A*u,'"/\x3e'],i(R.prepVML(r),null,null,g),G?G.element.appendChild(g):C.parentNode.insertBefore(g,C),B.push(g)}this.shadows=B}return this},updateShadows:D,setAttr:function(d,c){this.docMode8?this.element[d]=c:this.element.setAttribute(d,c)},classSetter:function(b){(this.added?this.element:this).className=b},dashstyleSetter:function(f,d,g){(g.getElementsByTagName("stroke")[0]||i(this.renderer.prepVML(["\x3cstroke/\x3e"]),null,null,g))[d]=f||"solid";this[d]=f},dSetter:function(f,d,l){var g=this.shadows;f=f||[];this.d=f.join&&f.join(" ");l.path=f=this.pathToVML(f);if(g){for(l=g.length;l--;){g[l].path=g[l].cutOff?this.cutOffPath(f,g[l].cutOff):f}}this.setAttr(d,f)},fillSetter:function(f,d,l){var g=l.nodeName;"SPAN"===g?l.style.color=f:"IMG"!==g&&(l.filled="none"!==f,this.setAttr("fillcolor",this.renderer.color(f,l,d,this)))},"fill-opacitySetter":function(f,d,g){i(this.renderer.prepVML(["\x3c",d.split("-")[0],' opacity\x3d"',f,'"/\x3e']),null,null,g)},opacitySetter:D,rotationSetter:function(f,d,g){g=g.style;this[d]=g[d]=f;g.left=-Math.round(Math.sin(f*L)+1)+"px";g.top=Math.round(Math.cos(f*L))+"px"},strokeSetter:function(f,d,g){this.setAttr("strokecolor",this.renderer.color(f,g,d,this))},"stroke-widthSetter":function(f,d,g){g.stroked=!!f;this[d]=f;F(f)&&(f+="px");this.setAttr("strokeweight",f)},titleSetter:function(d,c){this.setAttr(c,d)},visibilitySetter:function(f,d,g){"inherit"===f&&(f="visible");this.shadows&&K(this.shadows,function(b){b.style[d]=f});"DIV"===g.nodeName&&(f="hidden"===f?"-999em":0,this.docMode8||(g.style[d]=f?"visible":"hidden"),d="top");g.style[d]=f},xSetter:function(f,d,g){this[d]=f;"x"===d?d="left":"y"===d&&(d="top");this.updateClipping?(this[d]=f,this.updateClipping()):g.style[d]=f},zIndexSetter:function(f,d,g){g.style[d]=f}},D["stroke-opacitySetter"]=D["fill-opacitySetter"],Q.VMLElement=D=x(I,D),D.prototype.ySetter=D.prototype.widthSetter=D.prototype.heightSetter=D.prototype.xSetter,D={Element:D,isIE8:-1af[0]&&at.push([1,af[1]]);K(at,function(d,c){V.test(d[1])?(aq=Q.color(d[1]),ad=aq.get("rgb"),W=aq.get("a")):(ad=d[1],W=1);Z.push(100*d[0]+"% "+ad);c?(Y=W,ah=ad):(ab=W,an=ad)});if("fill"===ak){if("gradient"===ac){ak=S.x1||S[0]||0,at=S.y1||S[1]||0,ao=S.x2||S[2]||0,S=S.y2||S[3]||0,aa='angle\x3d"'+(90-180*Math.atan((S-at)/(ao-ak))/Math.PI)+'"',ae()}else{var am=S.r,ai=2*am,ag=2*am,X=S.cx,l=S.cy,R=ar.radialReference,H,am=function(){R&&(H=al.getBBox(),X+=(R[0]-H.x)/H.width-0.5,l+=(R[1]-H.y)/H.height-0.5,ai*=R[2]/H.width,ag*=R[2]/H.height);aa='src\x3d"'+Q.getOptions().global.VMLRadialGradientURL+'" size\x3d"'+ai+","+ag+'" origin\x3d"0.5,0.5" position\x3d"'+X+","+l+'" color2\x3d"'+an+'" ';ae()};al.added?am():al.onAdd=am;am=ah}}else{am=ad}}else{V.test(at)&&"IMG"!==ar.tagName?(aq=Q.color(at),al[ak+"-opacitySetter"](aq.get("a"),ak,ar),am=aq.get("rgb")):(am=ar.getElementsByTagName(ak),am.length&&(am[0].opacity=1,am[0].type="solid"),am=at)}return am},prepVML:function(d){var c=this.isIE8;d=d.join("");c?(d=d.replace("/\x3e",' xmlns\x3d"urn:schemas-microsoft-com:vml" /\x3e'),d=-1===d.indexOf('style\x3d"')?d.replace("/\x3e",' style\x3d"display:inline-block;behavior:url(#default#VML);" /\x3e'):d.replace('style\x3d"','style\x3d"display:inline-block;behavior:url(#default#VML);')):d=d.replace("\x3c","\x3chcv:");return d},text:o.prototype.html,path:function(b){var d={coordsize:"10 10"};P(b)?d.d=b:v(b)&&N(d,b);return this.createElement("shape").attr(d)},circle:function(f,d,l){var g=this.symbol("circle");v(f)&&(l=f.r,d=f.y,f=f.x);g.isCircle=!0;g.r=l;return g.attr({x:f,y:d})},g:function(d){var c;d&&(c={className:"highcharts-"+d,"class":"highcharts-"+d});return this.createElement("div").attr(c)},image:function(f,d,p,m,g){var l=this.createElement("img").attr({src:f});1G&&g-s*AB&&(v=Math.round((w-g)/Math.cos(G*k)))}else{if(w=g+(1-s)*A,g-s*AB&&(H=B-F.x+H*s,y=-1),H=Math.min(r,H),HH||u.autoRotation&&(f.styles||{}).width){v=H}}v&&(D.width=v,(u.options.labels.style||{}).textOverflow||(D.textOverflow="ellipsis"),f.css(D))},getPosition:function(o,r,q,t){var m=this.axis,s=m.chart,n=t&&s.oldChartHeight||s.chartHeight;return{x:o?m.translate(r+q,null,null,t)+m.transB:m.left+m.offset+(m.opposite?(t&&s.oldChartWidth||s.chartWidth)-m.right-m.left:0),y:o?n-m.bottom+m.offset-(m.opposite?m.height:0):n-m.translate(r+q,null,null,t)-m.transB}},getLabelPosition:function(D,v,o,x,B,r,f,F){var u=this.axis,A=u.transA,s=u.reversed,G=u.staggerLines,y=u.tickRotCorr||{x:0,y:0},w=B.y;b(w)||(w=0===u.side?o.rotation?-8:-o.getBBox().height:2===u.side?y.y+8:Math.cos(o.rotation*k)*(y.y-o.getBBox(!1,0).height/2));D=D+B.x+y.x-(r&&x?r*A*(s?-1:1):0);v=v+w-(r&&!x?r*A*(s?1:-1):0);G&&(o=f/(F||1)%G,u.opposite&&(o=G-o-1),v+=u.labelOffset/G*o);return{x:D,y:Math.round(v)}},getMarkPath:function(n,q,o,s,m,r){return r.crispLine(["M",n,q,"L",n+(m?0:-o),q+(m?o:0)],s)},render:function(ad,Y,R){var aa=this.axis,ac=aa.options,S=aa.chart.renderer,V=aa.horiz,M=this.type,U=this.label,ab=this.pos,T=ac.labels,L=this.gridLine,u=M?M+"Tick":"tick",Z=aa.tickSize(u),C=this.mark,H=!C,G=T.step,X={},A=!0,v=aa.tickmarkOffset,s=this.getPosition(V,ab,v,Y),B=s.x,s=s.y,W=V&&B===aa.pos+aa.len||!V&&s===aa.pos?-1:1,O=M?M+"Grid":"grid",g=ac[O+"LineWidth"],o=ac[O+"LineColor"],Q=ac[O+"LineDashStyle"],O=i(ac[u+"Width"],!M&&aa.isXAxis?1:0),u=ac[u+"Color"];R=i(R,1);this.isActive=!0;L||(X.stroke=o,X["stroke-width"]=g,Q&&(X.dashstyle=Q),M||(X.zIndex=1),Y&&(X.opacity=0),this.gridLine=L=S.path().attr(X).addClass("highcharts-"+(M?M+"-":"")+"grid-line").add(aa.gridGroup));if(!Y&&L&&(ab=aa.getPlotLinePath(ab+v,L.strokeWidth()*W,Y,!0))){L[this.isNew?"attr":"animate"]({d:ab,opacity:R})}Z&&(aa.opposite&&(Z[0]=-Z[0]),H&&(this.mark=C=S.path().addClass("highcharts-"+(M?M+"-":"")+"tick").add(aa.axisGroup),C.attr({stroke:u,"stroke-width":O})),C[H?"attr":"animate"]({d:this.getMarkPath(B,s,Z[0],C.strokeWidth()*W,V,S),opacity:R}));U&&h(B)&&(U.xy=s=this.getLabelPosition(B,s,U,V,T,v,ad,G),this.isFirst&&!this.isLast&&!i(ac.showFirstLabel,1)||this.isLast&&!this.isFirst&&!i(ac.showLastLabel,1)?A=!1:!V||aa.isRadial||T.step||T.rotation||Y||0===R||this.handleOverflow(s),G&&ad%G&&(A=!1),A&&h(s.y)?(s.opacity=R,U[this.isNew?"attr":"animate"](s)):U.attr("y",-9999),this.isNew=!1)},destroy:function(){d(this,this.axis)}}})(a);(function(ah){var T=ah.addEvent,V=ah.animObject,L=ah.arrayMax,M=ah.arrayMin,S=ah.AxisPlotLineOrBandExtension,ab=ah.color,ac=ah.correctFloat,O=ah.defaultOptions,Z=ah.defined,U=ah.deg2rad,ae=ah.destroyObjectProperties,ag=ah.each,W=ah.extend,R=ah.fireEvent,Q=ah.format,Y=ah.getMagnitude,af=ah.grep,X=ah.inArray,P=ah.isArray,j=ah.isNumber,ad=ah.isString,v=ah.merge,N=ah.normalizeTickInterval,D=ah.pick,aa=ah.PlotLineOrBand,o=ah.removeEvent,k=ah.splat,i=ah.syncTimeout,s=ah.Tick;ah.Axis=function(){this.init.apply(this,arguments)};ah.Axis.prototype={defaultOptions:{dateTimeLabelFormats:{millisecond:"%H:%M:%S.%L",second:"%H:%M:%S",minute:"%H:%M",hour:"%H:%M",day:"%e. %b",week:"%e. %b",month:"%b '%y",year:"%Y"},endOnTick:!1,labels:{enabled:!0,style:{color:"#666666",cursor:"default",fontSize:"11px"},x:0},minPadding:0.01,maxPadding:0.01,minorTickLength:2,minorTickPosition:"outside",startOfWeek:1,startOnTick:!1,tickLength:10,tickmarkPlacement:"between",tickPixelInterval:100,tickPosition:"outside",title:{align:"middle",style:{color:"#666666"}},type:"linear",minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",tickColor:"#ccd6eb"},defaultYAxisOptions:{endOnTick:!0,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},maxPadding:0.05,minPadding:0.05,startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{enabled:!1,formatter:function(){return ah.numberFormat(this.total,-1)},style:{fontSize:"11px",fontWeight:"bold",color:"#000000",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},defaultLeftAxisOptions:{labels:{x:-15},title:{rotation:270}},defaultRightAxisOptions:{labels:{x:15},title:{rotation:90}},defaultBottomAxisOptions:{labels:{autoRotation:[-45],x:0},title:{rotation:0}},defaultTopAxisOptions:{labels:{autoRotation:[-45],x:0},title:{rotation:0}},init:function(f,d){var g=d.isX;this.chart=f;this.horiz=f.inverted?!g:g;this.isXAxis=g;this.coll=this.coll||(g?"xAxis":"yAxis");this.opposite=d.opposite;this.side=d.side||(this.horiz?this.opposite?0:2:this.opposite?1:3);this.setOptions(d);var n=this.options,m=n.type;this.labelFormatter=n.labels.formatter||this.defaultLabelFormatter;this.userOptions=d;this.minPixelPadding=0;this.reversed=n.reversed;this.visible=!1!==n.visible;this.zoomEnabled=!1!==n.zoomEnabled;this.hasNames="category"===m||!0===n.categories;this.categories=n.categories||this.hasNames;this.names=this.names||[];this.isLog="logarithmic"===m;this.isDatetimeAxis="datetime"===m;this.isLinked=Z(n.linkedTo);this.ticks={};this.labelEdge=[];this.minorTicks={};this.plotLinesAndBands=[];this.alternateBands={};this.len=0;this.minRange=this.userMinRange=n.minRange||n.maxZoom;this.range=n.range;this.offset=n.offset||0;this.stacks={};this.oldStacks={};this.stacksTouched=0;this.min=this.max=null;this.crosshair=D(n.crosshair,k(f.options.tooltip.crosshairs)[g?0:1],!1);var l;d=this.options.events;-1===X(this,f.axes)&&(g?f.axes.splice(f.xAxis.length,0,this):f.axes.push(this),f[this.coll].push(this));this.series=this.series||[];f.inverted&&g&&void 0===this.reversed&&(this.reversed=!0);this.removePlotLine=this.removePlotBand=this.removePlotBandOrLine;for(l in d){T(this,l,d[l])}this.isLog&&(this.val2lin=this.log2lin,this.lin2val=this.lin2log)},setOptions:function(b){this.options=v(this.defaultOptions,"yAxis"===this.coll&&this.defaultYAxisOptions,[this.defaultTopAxisOptions,this.defaultRightAxisOptions,this.defaultBottomAxisOptions,this.defaultLeftAxisOptions][this.side],v(O[this.coll],b))},defaultLabelFormatter:function(){var w=this.axis,u=this.value,r=w.categories,p=this.dateTimeLabelFormat,g=O.lang,t=g.numericSymbols,g=g.numericSymbolMagnitude||1000,x=t&&t.length,l,q=w.options.labels.format,w=w.isLog?u:w.tickInterval;if(q){l=Q(q,this)}else{if(r){l=u}else{if(p){l=ah.dateFormat(p,u)}else{if(x&&1000<=w){for(;x--&&void 0===l;){r=Math.pow(g,x+1),w>=r&&0===10*u%r&&null!==t[x]&&0!==u&&(l=ah.numberFormat(u/r,-1)+t[x])}}}}}void 0===l&&(l=10000<=Math.abs(u)?ah.numberFormat(u,-1):ah.numberFormat(u,-1,void 0,""));return l},getSeriesExtremes:function(){var b=this,c=b.chart;b.hasVisibleSeries=!1;b.dataMin=b.dataMax=b.threshold=null;b.softThreshold=!b.isXAxis;b.buildStacks&&b.buildStacks();ag(b.series,function(d){if(d.visible||!c.options.chart.ignoreHiddenSeries){var f=d.options,g=f.threshold,l;b.hasVisibleSeries=!0;b.isLog&&0>=g&&(g=null);if(b.isXAxis){f=d.xData,f.length&&(d=M(f),j(d)||d instanceof Date||(f=af(f,function(h){return j(h)}),d=M(f)),b.dataMin=Math.min(D(b.dataMin,f[0]),d),b.dataMax=Math.max(D(b.dataMax,f[0]),L(f)))}else{if(d.getExtremes(),l=d.dataMax,d=d.dataMin,Z(d)&&Z(l)&&(b.dataMin=Math.min(D(b.dataMin,d),d),b.dataMax=Math.max(D(b.dataMax,l),l)),Z(g)&&(b.threshold=g),!f.softThreshold||b.isLog){b.softThreshold=!1}}}})},translate:function(z,y,x,u,r,l){var q=this.linkedParent||this,g=1,p=0,w=u?q.oldTransA:q.transA;u=u?q.oldMin:q.min;var t=q.minPixelPadding;r=(q.isOrdinal||q.isBroken||q.isLog&&r)&&q.lin2val;w||(w=q.transA);x&&(g*=-1,p=q.len);q.reversed&&(g*=-1,p-=g*(q.sector||q.len));y?(z=(z*g+p-t)/w+u,r&&(z=q.lin2val(z))):(r&&(z=q.val2lin(z)),z=g*(z-u)*w+p+g*t+(j(l)?w*l:0));return z},toPixels:function(d,c){return this.translate(d,!1,!this.horiz,null,!0)+(c?0:this.pos)},toValue:function(d,c){return this.translate(d-(c?0:this.pos),!0,!this.horiz,null,!0)},getPlotLinePath:function(F,E,B,z,w){var u=this.chart,g=this.left,q=this.top,r,A,x=B&&u.oldChartHeight||u.chartHeight,l=B&&u.oldChartWidth||u.chartWidth,C;r=this.transB;var G=function(d,c,f){if(df){z?d=Math.min(Math.max(c,d),f):C=!0}return d};w=D(w,this.translate(F,null,null,B));F=B=Math.round(w+r);r=A=Math.round(x-w-r);j(w)?this.horiz?(r=q,A=x-this.bottom,F=B=G(F,g,g+this.width)):(F=g,B=l-this.right,r=A=G(r,q,q+this.height)):C=!0;return C&&!z?null:u.renderer.crispLine(["M",F,r,"L",B,A],E||1)},getLinearTickPositions:function(f,d,p){var g,n=ac(Math.floor(d/f)*f),l=ac(Math.ceil(p/f)*f),m=[];if(d===p&&j(d)){return[d]}for(d=n;d<=l;){m.push(d);d=ac(d+f);if(d===g){break}g=d}return m},getMinorTickPositions:function(){var g=this.options,f=this.tickPositions,r=this.minorTickInterval,p=[],l,q=this.pointRangePadding||0;l=this.min-q;var q=this.max+q,d=q-l;if(d&&d/r=this.minRange,l,A,u,r,b,x;this.isXAxis&&void 0===this.minRange&&!this.isLog&&(Z(z.min)||Z(z.max)?this.minRange=null:(ag(this.series,function(c){r=c.xData;for(A=b=c.xIncrement?1:r.length-1;0=f?(m=f,w=0):aq.dataMax<=f&&(G=f,F=0)),aq.min=D(B,m,aq.dataMin),aq.max=D(ai,G,aq.dataMax));ak&&(!al&&0>=Math.min(aq.min,D(aq.dataMin,aq.min))&&ah.error(10,1),aq.min=ac(ap(aq.min),15),aq.max=ac(ap(aq.max),15));aq.range&&Z(aq.max)&&(aq.userMin=aq.min=B=Math.max(aq.min,aq.minFromRange()),aq.userMax=ai=aq.max,aq.range=null);R(aq,"foundExtremes");aq.beforePadding&&aq.beforePadding();aq.adjustForMinRange();!(H||aq.axisPointRange||aq.usePercentage||aj)&&Z(aq.min)&&Z(aq.max)&&(ap=aq.max-aq.min)&&(!Z(B)&&w&&(aq.min-=ap*w),!Z(ai)&&F&&(aq.max+=ap*F));j(am.floor)?aq.min=Math.max(aq.min,am.floor):j(am.softMin)&&(aq.min=Math.min(aq.min,am.softMin));j(am.ceiling)?aq.max=Math.min(aq.max,am.ceiling):j(am.softMax)&&(aq.max=Math.max(aq.max,am.softMax));b&&Z(aq.dataMin)&&(f=f||0,!Z(B)&&aq.min=f?aq.min=f:!Z(ai)&&aq.max>f&&aq.dataMax<=f&&(aq.max=f));aq.tickInterval=aq.min===aq.max||void 0===aq.min||void 0===aq.max?1:aj&&!an&&C===aq.linkedParent.options.tickPixelInterval?an=aq.linkedParent.tickInterval:D(an,this.tickAmount?(aq.max-aq.min)/Math.max(this.tickAmount-1,1):void 0,H?1:(aq.max-aq.min)*C/Math.max(aq.len,C));l&&!al&&ag(aq.series,function(c){c.processData(aq.min!==aq.oldMin||aq.max!==aq.oldMax)});aq.setAxisTranslation(!0);aq.beforeSetTickPositions&&aq.beforeSetTickPositions();aq.postProcessTickInterval&&(aq.tickInterval=aq.postProcessTickInterval(aq.tickInterval));aq.pointRange&&!an&&(aq.tickInterval=Math.max(aq.pointRange,aq.tickInterval));al=D(am.minTickInterval,aq.isDatetimeAxis&&aq.closestPointRange);!an&&aq.tickIntervalaq.tickInterval&&1000aq.max)),!!this.tickAmount));this.tickAmount||(aq.tickInterval=aq.unsquish());this.setTickPositions()},setTickPositions:function(){var g=this.options,f,r=g.tickPositions,p=g.tickPositioner,l=g.startOnTick,q=g.endOnTick,d;this.tickmarkOffset=this.categories&&"between"===g.tickmarkPlacement&&1===this.tickInterval?0.5:0;this.minorTickInterval="auto"===g.minorTickInterval&&this.tickInterval?this.tickInterval/5:g.minorTickInterval;this.tickPositions=f=r&&r.slice();!f&&(f=this.isDatetimeAxis?this.getTimeTicks(this.normalizeTimeTickInterval(this.tickInterval,g.units),this.min,this.max,g.startOfWeek,this.ordinalPositions,this.closestPointRange,!0):this.isLog?this.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max),f.length>this.len&&(f=[f[0],f.pop()]),this.tickPositions=f,p&&(p=p.apply(this,[this.min,this.max])))&&(this.tickPositions=f=p);this.trimTicks(f,l,q);this.isLinked||(this.min===this.max&&Z(this.min)&&!this.tickAmount&&(d=!0,this.min-=0.5,this.max+=0.5),this.single=d,r||p||this.adjustTickAmount())},trimTicks:function(f,d,n){var g=f[0],m=f[f.length-1],l=this.minPointOffset||0;if(!this.isLinked){if(d){this.min=g}else{for(;this.min-l>f[0];){f.shift()}}if(n){this.max=m}else{for(;this.max+ld&&(this.finalTickAmt=d,d=5);this.tickAmount=d},adjustTickAmount:function(){var f=this.tickInterval,d=this.tickPositions,m=this.tickAmount,l=this.finalTickAmt,g=d&&d.length;if(gm&&(this.tickInterval*=2,this.setTickPositions())}if(Z(l)){for(f=m=d.length;f--;){(3===l&&1===f%2||2>=l&&0m&&(f=m)),Z(g)&&(dm&&(d=m))),this.displayBtn=void 0!==f||void 0!==d,this.setExtremes(f,d,!1,void 0,{trigger:"zoom"})}return !0},setAxisSize:function(){var g=this.chart,f=this.options,r=f.offsets||[0,0,0,0],p=this.horiz,l=D(f.width,g.plotWidth-r[3]+r[1]),q=D(f.height,g.plotHeight-r[0]+r[2]),d=D(f.top,g.plotTop+r[0]),f=D(f.left,g.plotLeft+r[3]),r=/%$/;r.test(q)&&(q=Math.round(parseFloat(q)/100*g.plotHeight));r.test(d)&&(d=Math.round(parseFloat(d)/100*g.plotHeight+g.plotTop));this.left=f;this.top=d;this.width=l;this.height=q;this.bottom=g.chartHeight-q-d;this.right=g.chartWidth-l-f;this.len=Math.max(p?l:q,0);this.pos=p?f:d},getExtremes:function(){var d=this.isLog,c=this.lin2log;return{min:d?ac(c(this.min)):this.min,max:d?ac(c(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},getThreshold:function(f){var d=this.isLog,h=this.lin2log,g=d?h(this.min):this.min,d=d?h(this.max):this.max;null===f?f=g:g>f?f=g:db?"right":195b?"left":"center"},tickSize:function(f){var d=this.options,h=d[f+"Length"],g=D(d[f+"Width"],"tick"===f&&this.isXAxis?1:0);if(g&&h){return"inside"===d[f+"Position"]&&(h=-h),[h,g]}},labelMetrics:function(){return this.chart.renderer.fontMetrics(this.options.labels.style&&this.options.labels.style.fontSize,this.ticks[0]&&this.ticks[0].label)},unsquish:function(){var C=this.options.labels,z=this.horiz,u=this.tickInterval,q=u,g=this.len/(((this.categories?1:0)+this.max-this.min)/u),l,w=C.rotation,r=this.labelMetrics(),b,A=Number.MAX_VALUE,E,B=function(c){c/=g||1;c=1=d){b=B(Math.abs(r.h/Math.sin(U*d))),c=b+Math.abs(d/360),c(m.step||0)&&!m.rotation&&(this.staggerLines||1)*this.len/l||!d&&(g&&g-f.spacing[3]||0.33*f.chartWidth)},renderUnsquish:function(){var G=this.chart,C=G.renderer,r=this.tickPositions,l=this.ticks,q=this.options.labels,A=this.horiz,I=this.getSlotWidth(),x=Math.max(1,Math.round(I-2*(q.padding||5))),b={},F=this.labelMetrics(),J=q.style&&q.style.textOverflow,u,B=0,K,H;ad(q.rotation)||(b.rotation=q.rotation||0);ag(r,function(c){(c=l[c])&&c.labelLength>B&&(B=c.labelLength)});this.maxLabelLength=B;if(this.autoRotation){B>x&&B>F.h?b.rotation=this.labelRotation:this.labelRotation=0}else{if(I&&(u={width:x+"px"},!J)){for(u.textOverflow="clip",K=r.length;!A&&K--;){if(H=r[K],x=l[H].label){x.styles&&"ellipsis"===x.styles.textOverflow?x.css({textOverflow:"clip"}):l[H].labelLength>I&&x.css({width:I+"px"}),x.getBBox().height>this.len/r.length-(F.h-F.f)&&(x.specCss={textOverflow:"ellipsis"})}}}}b.rotation&&(u={width:(B>0.5*G.chartHeight?0.33*G.chartHeight:G.chartHeight)+"px"},J||(u.textOverflow="ellipsis"));if(this.labelAlign=q.align||this.autoLabelAlign(this.labelRotation)){b.align=this.labelAlign}ag(r,function(d){var c=(d=l[d])&&d.label;c&&(c.attr(b),u&&c.css(v(u,c.specCss)),delete c.specCss,d.rotation=b.rotation)});this.tickRotCorr=C.rotCorr(F.b,this.labelRotation||0,0!==this.side)},hasData:function(){return this.hasVisibleSeries||Z(this.min)&&Z(this.max)&&!!this.tickPositions},addTitle:function(f){var d=this.chart.renderer,n=this.horiz,g=this.opposite,m=this.options.title,l;this.axisTitle||((l=m.textAlign)||(l=(n?{low:"left",middle:"center",high:"right"}:{low:g?"right":"left",middle:"center",high:g?"left":"right"})[m.align]),this.axisTitle=d.text(m.text,0,0,m.useHTML).attr({zIndex:7,rotation:m.rotation||0,align:l}).addClass("highcharts-axis-title").css(m.style).add(this.axisGroup),this.axisTitle.isNew=!0);this.axisTitle[f?"show":"hide"](!0)},generateTick:function(d){var c=this.ticks;c[d]?c[d].addLabel():c[d]=new s(this,d)},getOffset:function(){var ay=this,ax=ay.chart,av=ax.renderer,ar=ay.options,ap=ay.tickPositions,aq=ay.ticks,aw=ay.horiz,au=ay.side,ao=ax.inverted?[1,0,3,2][au]:au,A,ak,G=0,at,l=0,aj=ar.title,an=ar.labels,ai=0,w=ax.axisOffset,ax=ax.clipOffset,b=[-1,1,1,-1][au],am,B=ar.className,al=ay.axisParent,H=this.tickSize("tick");A=ay.hasData();ay.showAxis=ak=A||D(ar.showEmpty,!0);ay.staggerLines=ay.horiz&&an.staggerLines;ay.axisGroup||(ay.gridGroup=av.g("grid").attr({zIndex:ar.gridZIndex||1}).addClass("highcharts-"+this.coll.toLowerCase()+"-grid "+(B||"")).add(al),ay.axisGroup=av.g("axis").attr({zIndex:ar.zIndex||2}).addClass("highcharts-"+this.coll.toLowerCase()+" "+(B||"")).add(al),ay.labelGroup=av.g("axis-labels").attr({zIndex:an.zIndex||7}).addClass("highcharts-"+ay.coll.toLowerCase()+"-labels "+(B||"")).add(al));if(A||ay.isLinked){ag(ap,function(d,f){ay.generateTick(d,f)}),ay.renderUnsquish(),!1===an.reserveSpace||0!==au&&2!==au&&{1:"left",3:"right"}[au]!==ay.labelAlign&&"center"!==ay.labelAlign||ag(ap,function(c){ai=Math.max(aq[c].getLabelSize(),ai)}),ay.staggerLines&&(ai*=ay.staggerLines,ay.labelOffset=ai*(ay.opposite?-1:1))}else{for(am in aq){aq[am].destroy(),delete aq[am]}}aj&&aj.text&&!1!==aj.enabled&&(ay.addTitle(ak),ak&&(G=ay.axisTitle.getBBox()[aw?"height":"width"],at=aj.offset,l=Z(at)?0:D(aj.margin,aw?5:10)));ay.renderLine();ay.offset=b*D(ar.offset,w[au]);ay.tickRotCorr=ay.tickRotCorr||{x:0,y:0};av=0===au?-ay.labelMetrics().h:2===au?ay.tickRotCorr.y:0;l=Math.abs(ai)+l;ai&&(l=l-av+b*(aw?D(an.y,ay.tickRotCorr.y+8*b):an.x));ay.axisTitleMargin=D(at,l);w[au]=Math.max(w[au],ay.axisTitleMargin+G+b*ay.offset,l,A&&ap.length&&H?H[0]:0);ar=ar.offset?0:2*Math.floor(ay.axisLine.strokeWidth()/2);ax[ao]=Math.max(ax[ao],ar)},getLinePath:function(f){var d=this.chart,n=this.opposite,g=this.offset,m=this.horiz,l=this.left+(n?this.width:0)+g,g=d.chartHeight-this.bottom-(n?this.height:0)+g;n&&(f*=-1);return d.renderer.crispLine(["M",m?this.left:l,m?g:this.top,"L",m?d.chartWidth-this.right:l,m?g:d.chartHeight-this.bottom],f)},renderLine:function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))},getTitlePosition:function(){var B=this.horiz,A=this.left,x=this.top,u=this.len,r=this.options.title,l=B?A:x,q=this.opposite,w=this.offset,t=r.x||0,g=r.y||0,z=this.chart.renderer.fontMetrics(r.style&&r.style.fontSize,this.axisTitle).f,u={low:l+(B?0:u),middle:l+u/2,high:l+(B?u:0)}[r.align],A=(B?x+this.height:A)+(B?1:-1)*(q?-1:1)*this.axisTitleMargin+(2===this.side?z:0);return{x:B?u+t:A+(q?this.width:0)+w+t,y:B?A+g-(q?this.height:0)+w:u+g}},renderMinorTick:function(f){var d=this.chart.hasRendered&&j(this.oldMin),g=this.minorTicks;g[f]||(g[f]=new s(this,f,"minor"));d&&g[f].isNew&&g[f].render(null,!0);g[f].render(null,!1,1)},renderTick:function(f,d){var l=this.isLinked,h=this.ticks,g=this.chart.hasRendered&&j(this.oldMin);if(!l||f>=this.min&&f<=this.max){h[f]||(h[f]=new s(this,f)),g&&h[f].isNew&&h[f].render(d,!0,0.1),h[f].render(d)}},render:function(){var ao=this,an=ao.chart,al=ao.options,J=ao.isLog,K=ao.lin2log,am=ao.isLinked,A=ao.tickPositions,ak=ao.axisTitle,I=ao.ticks,h=ao.minorTicks,G=ao.alternateBands,r=al.stackLabels,b=al.alternateGridColor,aj=ao.tickmarkOffset,C=ao.axisLine,u=ao.showAxis,ai=V(an.renderer.globalAnimation),H,B;ao.labelEdge.length=0;ao.overlap=!1;ag([I,h,G],function(d){for(var c in d){d[c].isActive=!1}});if(ao.hasData()||am){ao.minorTickInterval&&!ao.categories&&ag(ao.getMinorTickPositions(),function(c){ao.renderMinorTick(c)}),A.length&&(ag(A,function(d,f){ao.renderTick(d,f)}),aj&&(0===ao.min||ao.single)&&(I[-1]||(I[-1]=new s(ao,-1,null,!0)),I[-1].render(-1))),b&&ag(A,function(c,d){B=void 0!==A[d+1]?A[d+1]+aj:ao.max-aj;0===d%2&&c=p.second?0:G*Math.floor(r.getMilliseconds()/G));if(H>=p.second){r[j.hcSetSeconds](H>=p.minute?0:G*Math.floor(r.getSeconds()/G))}if(H>=p.minute){r[j.hcSetMinutes](H>=p.hour?0:G*Math.floor(r[j.hcGetMinutes]()/G))}if(H>=p.hour){r[j.hcSetHours](H>=p.day?0:G*Math.floor(r[j.hcGetHours]()/G))}if(H>=p.day){r[j.hcSetDate](H>=p.month?1:G*Math.floor(r[j.hcGetDate]()/G))}H>=p.month&&(r[j.hcSetMonth](H>=p.year?0:G*Math.floor(r[j.hcGetMonth]()/G)),A=r[j.hcGetFullYear]());if(H>=p.year){r[j.hcSetFullYear](A-A%G)}if(H===p.week){r[j.hcSetDate](r[j.hcGetDate]()-r[j.hcGetDay]()+o(g,1))}A=r[j.hcGetFullYear]();g=r[j.hcGetMonth]();var B=r[j.hcGetDate](),C=r[j.hcGetHours]();if(j.hcTimezoneOffset||j.hcGetTimezoneOffset){l=(!d||!!j.hcGetTimezoneOffset)&&(I-b>4*p.month||k(b)!==k(I)),r=r.getTime(),r=new j(r+k(r))}d=r.getTime();for(b=1;du.length&&m(u,function(q){0===q%1800000&&"000000000"===t("%H%M%S%L",q)&&(f[q]="day")})}u.info=n(E,{higherRanks:f,totalRange:H*G});return u};i.prototype.normalizeTimeTickInterval=function(g,q){var l=q||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];q=l[l.length-1];var b=p[q[0]],u=q[1],r;for(r=0;rs&&(!q||k<=z)&&void 0!==k&&i.push(k),k>z&&(B=!0),k=w}}}else{s=x(s),z=x(z),y=r[q?"minorTickInterval":"tickInterval"],y=g("auto"===y?null:y,this._minorAutoInterval,r.tickPixelInterval/(q?5:1)*(z-s)/((q?v/this.tickPositions.length:v)||1)),y=f(y,null,b(y)),i=d(this.getLinearTickPositions(y,s,z),j),q||(this._minorAutoInterval=y/5)}}q||(this.tickInterval=y);return i};h.prototype.log2lin=function(i){return Math.log(i)/Math.LN10};h.prototype.lin2log=function(i){return Math.pow(10,i)}})(a);(function(o){var h=o.dateFormat,i=o.each,p=o.extend,t=o.format,b=o.isNumber,k=o.map,m=o.merge,s=o.pick,j=o.splat,c=o.syncTimeout,n=o.timeUnits;o.Tooltip=function(){this.init.apply(this,arguments)};o.Tooltip.prototype={init:function(f,g){this.chart=f;this.options=g;this.crosshairs=[];this.now={x:0,y:0};this.isHidden=!0;this.split=g.split&&!f.inverted;this.shared=g.shared||this.split},cleanSplit:function(d){i(this.chart.series,function(f){var g=f&&f.tt;g&&(!g.isActive||d?f.tt=g.destroy():g.isActive=!1)})},getLabel:function(){var f=this.chart.renderer,g=this.options;this.label||(this.split?this.label=f.g("tooltip"):(this.label=f.label("",0,0,g.shape||"callout",null,null,g.useHTML,null,"tooltip").attr({padding:g.padding,r:g.borderRadius}),this.label.attr({fill:g.backgroundColor,"stroke-width":g.borderWidth}).css(g.style).shadow(g.shadow)),this.label.attr({zIndex:8}).add());return this.label},update:function(d){this.destroy();this.init(this.chart,m(!0,this.options,d))},destroy:function(){this.label&&(this.label=this.label.destroy());this.split&&this.tt&&(this.cleanSplit(this.chart,!0),this.tt=this.tt.destroy());clearTimeout(this.hideTimer);clearTimeout(this.tooltipTimeout)},move:function(l,v,r,q){var g=this,x=g.now,w=!1!==g.options.animation&&!g.isHidden&&(1g-q?g:g-q)}else{if(M){E[O]=Math.max(L,x+q+K>N?x:x+q)}else{return !1}}}}},J=function(f,d,x,w){var g;wd-r?g=!1:E[f]=wd-x/2?d-x-2:w-x/2;return g},u=function(f){var d=D;D=B;B=d;l=f},F=function(){!1!==v.apply(0,D)?!1!==J.apply(0,B)||l||(u(!0),F()):l?E.x=E.y=0:(u(!0),F())};(G.inverted||1D&&(q=!1);g=(f.series&&f.series.yAxis&&f.series.yAxis.pos)+(f.plotY||0);g-=r.plotTop;l.push({target:f.isHeader?r.plotHeight+y:g,rank:f.isHeader?1:0,size:d.tt.getBBox().height+1,point:f,x:D,tt:C})});this.cleanSplit();o.distribute(l,r.plotHeight+y);i(l,function(f){var d=f.point,g=d.series;f.tt.attr({visibility:void 0===f.pos?"hidden":"inherit",x:q||d.isHeader?f.x:d.plotX+r.plotLeft+s(u.distance,16),y:f.pos+r.plotTop,anchorX:d.isHeader?d.plotX+r.plotLeft:d.plotX+g.xAxis.pos,anchorY:d.isHeader?f.pos+r.plotTop-15:d.plotY+g.yAxis.pos})})},updatePosition:function(g){var f=this.chart,l=this.getLabel(),l=(this.options.positioner||this.getPosition).call(this,l.width,l.height,g);this.move(Math.round(l.x),Math.round(l.y||0),g.plotX+f.plotLeft,g.plotY+f.plotTop)},getDateFormat:function(x,r,q,y){var w=h("%m-%d %H:%M:%S.%L",r),v,l,d={millisecond:15,second:12,minute:9,hour:6,day:3},u="millisecond";for(l in n){if(x===n.week&&+h("%w",r)===q&&"00:00:00.000"===w.substr(6)){l="week";break}if(n[l]>x){l=u;break}if(d[l]&&w.substr(d[l])!=="01-01 00:00:00.000".substr(d[l])){break}"week"!==l&&(u=l)}l&&(v=y[l]);return v},getXDateFormat:function(l,r,q){r=r.dateTimeLabelFormats;var g=q&&q.closestPointRange;return(g?this.getDateFormat(g,l.x,q.options.startOfWeek,r):r.day)||r.year},tooltipFooterHeaderFormatter:function(q,u){var l=u?"footer":"header";u=q.series;var r=u.tooltipOptions,g=r.xDateFormat,w=u.xAxis,v=w&&"datetime"===w.options.type&&b(q.key),l=r[l+"Format"];v&&!g&&(g=this.getXDateFormat(q,r,w));v&&g&&(l=l.replace("{point.key}","{point.key:"+g+"}"));return t(l,{point:q,series:u})},bodyFormatter:function(d){return k(d,function(g){var f=g.series.tooltipOptions;return(f.pointFormatter||g.point.tooltipFormatter).call(g.point,f.pointFormat)})}}})(a);(function(z){var k=z.addEvent,n=z.attr,D=z.charts,F=z.color,c=z.css,v=z.defined,w=z.doc,E=z.each,s=z.extend,i=z.fireEvent,x=z.offset,y=z.pick,j=z.removeEvent,h=z.splat,I=z.Tooltip,o=z.win;z.Pointer=function(f,d){this.init(f,d)};z.Pointer.prototype={init:function(b,f){this.options=f;this.chart=b;this.runChartClick=f.chart.events&&!!f.chart.events.click;this.pinchDown=[];this.lastValidTouch={};I&&f.tooltip.enabled&&(b.tooltip=new I(b,f.tooltip),this.followTouchMove=y(f.tooltip.followTouchMove,!0));this.setDOMEvents()},zoomOption:function(f){var l=this.chart,g=l.options.chart,b=g.zoomType||"",l=l.inverted;/touch/.test(f.type)&&(b=y(g.pinchType,b));this.zoomX=f=/x/.test(b);this.zoomY=b=/y/.test(b);this.zoomHor=f&&!l||b&&l;this.zoomVert=b&&!l||f&&l;this.hasZoom=f||b},normalize:function(f,d){var l,g;f=f||o.event;f.target||(f.target=f.srcElement);g=f.touches?f.touches.length?f.touches.item(0):f.changedTouches[0]:f;d||(this.chartPosition=d=x(this.chart.container));void 0===g.pageX?(l=Math.max(f.x,f.clientX-d.left),d=f.y):(l=g.pageX-d.left,d=g.pageY-d.top);return s(f,{chartX:Math.round(l),chartY:Math.round(d)})},getCoordinates:function(f){var d={xAxis:[],yAxis:[]};E(this.chart.axes,function(b){d[b.isXAxis?"xAxis":"yAxis"].push({axis:b,value:b.toValue(f[b.horiz?"chartX":"chartY"])})});return d},runPointActions:function(K){var J=this.chart,A=J.series,u=J.tooltip,H=u?u.shared:!1,G=!0,N=J.hoverPoint,M=J.hoverSeries,C,L,B,f=[],b;if(!H&&!M){for(C=0;Cd.series.index?-1:1}));if(H){for(C=f.length;C--;){(f[C].x!==f[0].x||f[C].series.noSharedTooltip)&&f.splice(C,1)}}if(f[0]&&(f[0]!==this.prevKDPoint||u&&u.isHidden)){if(H&&!f[0].series.noSharedTooltip){for(C=0;CB+P&&(N=B+P),MJ+K&&(M=J+K),this.hasDragged=Math.sqrt(Math.pow(H-N,2)+Math.pow(G-M,2)),10S.max&&(T=S.max-V,K=!0);K?(C-=0.8*(C-N[P][0]),t||(R-=0.8*(R-N[P][1])),Q()):N[P]=[C,R];B||(Y[P]=A-o,Y[H]=V);Y=B?1/G:G;W[H]=V;W[P]=T;M[B?Z?"scaleY":"scaleX":"scale"+X]=G;M["translate"+X]=Y*o+(C-Y*s)},pinch:function(z){var v=this,u=v.chart,k=v.pinchDown,w=z.touches,y=w.length,o=v.lastValidTouch,g=v.hasZoom,A=v.selectionMarker,s={},x=1===y&&(v.inClass(z.target,"highcharts-tracker")&&u.runTrackerClick||v.runChartClick),r={};1r-6&&d(O||Z.chartWidth-2*V-K-S.x)&&(this.itemX=K,this.itemY+=U+this.lastLineHeight+G,this.lastLineHeight=0);this.maxItemWidth=Math.max(this.maxItemWidth,Y);this.lastItemY=U+this.itemY+G;this.lastLineHeight=Math.max(W,this.lastLineHeight);aa._legendItemPos=[this.itemX,this.itemY];R?this.itemX+=Y:(this.itemY+=U+W+G,this.lastLineHeight=W);this.offsetWidth=O||Math.max((R?this.itemX-K-F:Y)+V,this.offsetWidth)},getAllItems:function(){var b=[];o(this.chart.series,function(d){var f=d&&d.options;d&&v(f.showInLegend,c(f.linkedTo)?!1:void 0,!0)&&(b=b.concat(d.legendItems||("point"===f.legendType?d.data:d)))});return b},adjustMargins:function(l,g){var q=this.chart,p=this.options,d=p.align.charAt(0)+p.verticalAlign.charAt(0)+p.layout.charAt(0);p.floating||o([/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/],function(b,f){b.test(d)&&!c(l[f])&&(q[n[f]]=Math.max(q[n[f]],q.legend[(f+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][f]*p[f%2?"x":"y"]+v(p.margin,12)+g[f]))})},render:function(){var G=this,F=G.chart,B=F.renderer,g=G.group,p,A,I,f,H=G.box,u=G.options,C=G.padding;G.itemX=G.initialItemX;G.itemY=G.initialItemY;G.offsetWidth=0;G.lastItemY=0;g||(G.group=g=B.g("legend").attr({zIndex:7}).add(),G.contentGroup=B.g().attr({zIndex:1}).add(g),G.scrollGroup=B.g().add(G.contentGroup));G.renderTitle();p=G.getAllItems();j(p,function(l,d){return(l.options&&l.options.legendIndex||0)-(d.options&&d.options.legendIndex||0)});u.reversed&&p.reverse();G.allItems=p;G.display=A=!!p.length;G.lastLineHeight=0;o(p,function(d){G.renderItem(d)});I=(u.width||G.offsetWidth)+C;f=G.lastItemY+G.lastLineHeight+G.titleHeight;f=G.handleOverflow(f);f+=C;H||(G.box=H=B.rect().addClass("highcharts-legend-box").attr({r:u.borderRadius}).add(g),H.isNew=!0);H.attr({stroke:u.borderColor,"stroke-width":u.borderWidth||0,fill:u.backgroundColor||"none"}).shadow(u.shadow);0L&&!1!==S.enabled?(this.clipHeight=B=Math.max(L-20-this.titleHeight-Q,0),this.currentPage=v(this.currentPage,1),this.fullHeight=P,o(d,function(l,f){var q=l._legendItemPos[1];l=Math.round(l.legendItem.getBBox().height);var p=R.length;if(!p||q-R[p-1]>B&&(J||q)!==R[p-1]){R.push(J||q),p++}f===d.length-1&&q+l-R[p-1]>B&&R.push(q);q!==J&&(J=q)}),H||(H=O.clipRect=G.clipRect(0,Q,9999,0),O.contentGroup.clip(H)),A(B),g||(this.nav=g=G.g().attr({zIndex:1}).add(this.group),this.up=G.symbol("triangle",0,0,N,N).on("click",function(){O.scroll(-1,K)}).add(g),this.pager=G.text("",15,10).addClass("highcharts-legend-navigation").css(S.style).add(g),this.down=G.symbol("triangle-down",0,0,N,N).on("click",function(){O.scroll(1,K)}).add(g)),O.scroll(0),P=L):g&&(A(),g.hide(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0);return P},scroll:function(l,B){var A=this.pages,r=A.length;l=this.currentPage+l;var b=this.clipHeight,u=this.options.navigation,t=this.pager,q=this.padding;l>r&&(l=r);0f&&(u=typeof s[0],"string"===u?q.name=s[0]:"number"===u&&(q.x=s[0]),w++);v=r.value;){r=l[++s]}r&&r.color&&!this.options.color&&(this.color=r.color);return r},destroy:function(){var l=this.series.chart,g=l.hoverPoints,q;l.pointCount--;g&&(this.setState(),p(g,this),g.length||(l.hoverPoints=null));if(this===l.hoverPoint){this.onMouseOut()}if(this.graphic||this.dataLabel){c(this),this.destroyElements()}this.legendItem&&l.legend.destroyItem(this);for(q in this){this[q]=null}},destroyElements:function(){for(var l=["graphic","dataLabel","dataLabelUpper","connector","shadowGroup"],g,q=6;q--;){g=l[q],this[g]&&(this[g]=this[g].destroy())}},getLabelConfig:function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},tooltipFormatter:function(r){var l=this.series,u=l.tooltipOptions,t=i(u.valueDecimals,""),s=u.valuePrefix||"",g=u.valueSuffix||"";h(l.pointArrayMap||["y"],function(f){f="{point."+f;if(s||g){r=r.replace(f+"}",s+f+"}"+g)}r=r.replace(f+"}",f+":,."+t+"f}")});return j(r,{point:this,series:this.series})},firePointEvent:function(q,l,s){var t=this,r=this.series.options;(r.point.events[q]||t.options&&t.options.events&&t.options.events[q])&&this.importEvents();"click"===q&&r.allowPointSelect&&(s=function(f){t.select&&t.select(null,f.ctrlKey||f.metaKey||f.shiftKey)});b(this,q,l,s)},visible:!0}})(a);(function(X){var K=X.addEvent,M=X.animObject,k=X.arrayMax,o=X.arrayMin,J=X.correctFloat,R=X.Date,S=X.defaultOptions,v=X.defaultPlotOptions,Q=X.defined,L=X.each,U=X.erase,W=X.extend,N=X.fireEvent,I=X.grep,D=X.isArray,P=X.isNumber,V=X.isString,O=X.merge,y=X.pick,h=X.removeEvent,T=X.splat,i=X.SVGElement,s=X.syncTimeout,j=X.win;X.Series=X.seriesType("line",null,{lineWidth:2,allowPointSelect:!1,showCheckbox:!1,animation:{duration:1000},events:{},marker:{lineWidth:0,lineColor:"#ffffff",radius:4,states:{hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{align:"center",formatter:function(){return null===this.y?"":X.numberFormat(this.y,-1)},style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0,padding:5},cropThreshold:300,pointRange:0,softThreshold:!0,states:{hover:{lineWidthPlus:1,marker:{},halo:{size:10,opacity:0.25}},select:{marker:{}}},stickyTracking:!0,turboThreshold:1000},{isCartesian:!0,pointClass:X.Point,sorted:!0,requireSorting:!0,directTouch:!1,axisTypes:["xAxis","yAxis"],colorCounter:0,parallelArrays:["x","y"],coll:"series",init:function(b,q){var n=this,l,p,g=b.series,m;n.chart=b;n.options=q=n.setOptions(q);n.linkedSeries=[];n.bindAxes();W(n,{name:q.name,state:"",visible:!1!==q.visible,selected:!0===q.selected});p=q.events;for(l in p){K(n,l,p[l])}if(p&&p.click||q.point&&q.point.events&&q.point.events.click||q.allowPointSelect){b.runTrackerClick=!0}n.getColor();n.getSymbol();L(n.parallelArrays,function(c){n[c+"Data"]=[]});n.setData(q.data,!1);n.isCartesian&&(b.hasCartesianSeries=!0);g.length&&(m=g[g.length-1]);n._i=y(m&&m._i,-1)+1;b.orderSeries(this.insert(g))},insert:function(f){var d=this.options.index,g;if(P(d)){for(g=f.length;g--;){if(d>=y(f[g].options.index,f[g]._i)){f.splice(g+1,0,this);break}}-1===g&&f.unshift(this);g+=1}else{f.push(this)}return y(g,f.length-1)},bindAxes:function(){var f=this,m=f.options,g=f.chart,l;L(f.axisTypes||[],function(b){L(g[b],function(c){l=c.options;if(m[b]===l.index||void 0!==m[b]&&m[b]===l.id||void 0===m[b]&&0===l.index){f.insert(c.series),f[b]=c,c.isDirty=!0}});f[b]||f.optionalAxis===b||X.error(18,!0)})},updateParallelArrays:function(f,d){var m=f.series,l=arguments,g=P(d)?function(c){var b="y"===c&&m.toYData?m.toYData(f):f[c];m[c+"Data"][d]=b}:function(b){Array.prototype[d].apply(m[b+"Data"],Array.prototype.slice.call(l,2))};L(m.parallelArrays,g)},autoIncrement:function(){var f=this.options,d=this.xIncrement,l,g=f.pointIntervalUnit,d=y(d,f.pointStart,0);this.pointInterval=l=y(this.pointInterval,f.pointInterval,1);g&&(f=new R(d),"day"===g?f=+f[R.hcSetDate](f[R.hcGetDate]()+l):"month"===g?f=+f[R.hcSetMonth](f[R.hcGetMonth]()+l):"year"===g&&(f=+f[R.hcSetFullYear](f[R.hcGetFullYear]()+l)),l=f-d);this.xIncrement=d+l;return d},setOptions:function(f){var d=this.chart,m=d.options.plotOptions,d=d.userOptions||{},l=d.plotOptions||{},g=m[this.type];this.userOptions=f;m=O(g,m.series,f);this.tooltipOptions=O(S.tooltip,S.plotOptions[this.type].tooltip,d.tooltip,l.series&&l.series.tooltip,l[this.type]&&l[this.type].tooltip,f.tooltip);null===g.marker&&delete m.marker;this.zoneAxis=m.zoneAxis;f=this.zones=(m.zones||[]).slice();!m.negativeColor&&!m.negativeFillColor||m.zones||f.push({value:m[this.zoneAxis+"Threshold"]||m.threshold||0,className:"highcharts-negative",color:m.negativeColor,fillColor:m.negativeFillColor});f.length&&Q(f[f.length-1].value)&&f.push({color:this.color,fillColor:this.fillColor});return m},getCyclic:function(x,w,u){var r,p=this.chart,t=this.userOptions,q=x+"Index",g=x+"Counter",l=u?u.length:y(p.options.chart[x+"Count"],p[x+"Count"]);w||(r=y(t[q],t["_"+q]),Q(r)||(p.series.length||(p[g]=0),t["_"+q]=r=p[g]%l,p[g]+=1),u&&(w=u[r]));void 0!==r&&(this[q]=r);this[x]=w},getColor:function(){this.options.colorByPoint?this.options.color=null:this.getCyclic("color",this.options.color||v[this.type].color,this.chart.options.colors)},getSymbol:function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},drawLegendSymbol:X.LegendSymbolMixin.drawLineMarker,setData:function(Z,E,G,C){var A=this,u=A.points,q=u&&u.length||0,B,m=A.options,Y=A.chart,t=null,ab=A.xAxis,aa=m.turboThreshold,c=this.xData,H=this.yData,ac=(B=A.pointArrayMap)&&B.length;Z=Z||[];B=Z.length;E=y(E,!0);if(!1!==C&&B&&q===B&&!A.cropped&&!A.hasGroupedData&&A.visible){L(Z,function(f,d){u[d].update&&f!==m.data[d]&&u[d].update(f,!1,null,!1)})}else{A.xIncrement=null;A.colorCounter=0;L(this.parallelArrays,function(b){A[b+"Data"].length=0});if(aa&&B>aa){for(G=0;null===t&&Gz||this.forceCrop)){if(Y[C-1]aa){Y=[],G=[]}else{if(Y[0]aa){H=this.cropData(this.xData,this.yData,ab,aa),Y=H.xData,G=H.yData,H=H.start,B=!0}}}for(z=Y.length||1;--z;){C=r?E(Y[z])-E(Y[z-1]):Y[z]-Y[z-1],0C&&this.requireSorting&&X.error(15)}this.cropped=B;this.cropStart=H;this.processedXData=Y;this.processedYData=G;this.closestPointRange=F},cropData:function(x,w,u,r){var p=x.length,t=0,q=p,g=y(this.cropShoulder,1),l;for(l=0;l=u){t=Math.max(0,l-g);break}}for(u=l;ur){q=u+g;break}}return{xData:x.slice(t,q),yData:w.slice(t,q),start:t,end:q}},generatePoints:function(){var H=this.options.data,G=this.data,F,E=this.processedXData,C=this.processedYData,A=this.pointClass,w=E.length,x=this.cropStart||0,B,u=this.hasGroupedData,z,r=[],Y;G||u||(G=[],G.length=H.length,G=this.data=G);for(Y=0;Y=z&&(C[m-1]||r)<=t,x&&r){if(x=u.length){for(;x--;){null!==u[x]&&(w[B++]=u[x])}}else{w[B++]=u}}}this.dataMin=o(w);this.dataMax=k(w)},translate:function(){this.processedXData||this.processData();this.generatePoints();var ap=this.options,ao=ap.stacking,an=this.xAxis,al=an.categories,am=this.yAxis,ai=this.points,ak=ai.length,ah=!!this.modifyValue,aj=ap.pointPlacement,ag="between"===aj||P(aj),ae=ap.threshold,ab=ap.startFromThreshold?ae:0,E,m,l,Z,aa=Number.MAX_VALUE;"between"===aj&&(aj=0.5);P(aj)&&(aj*=y(ap.pointRange||an.pointRange));for(ap=0;ap=ad&&(ac.isNull=!0);ac.plotX=E=J(Math.min(Math.max(-100000,an.translate(af,0,0,0,1,aj,"flags"===this.type)),100000));ao&&this.visible&&!ac.isNull&&r&&r[af]&&(Z=this.getStackIndicator(Z,af,this.index),Y=r[af],ad=Y.points[Z.key],m=ad[0],ad=ad[1],m===ab&&Z.key===r[af].base&&(m=y(ae,am.min)),am.isLog&&0>=m&&(m=null),ac.total=ac.stackTotal=Y.total,ac.percentage=Y.total&&ac.y/Y.total*100,ac.stackY=ad,Y.setOffset(this.pointXOffset||0,this.barW||0));ac.yBottom=Q(m)?am.translate(m,0,1,0,1):null;ah&&(ad=this.modifyValue(ad,ac));ac.plotY=m="number"===typeof ad&&Infinity!==ad?Math.min(Math.max(-100000,am.translate(ad,0,1,0,1)),100000):void 0;ac.isInside=void 0!==m&&0<=m&&m<=am.len&&0<=E&&E<=an.len;ac.clientX=ag?J(an.translate(af,0,0,0,1,aj)):E;ac.negative=ac.y<(ae||0);ac.category=al&&void 0!==al[ac.x]?al[ac.x]:ac.x;ac.isNull||(void 0!==l&&(aa=Math.min(aa,Math.abs(E-l))),l=E);ac.zone=this.zones.length&&ac.getZone()}this.closestPointRangePx=aa},getValidPoints:function(f,d){var g=this.chart;return I(f||this.points||[],function(b){return d&&!g.isInsidePlot(b.plotX,b.plotY,g.inverted)?!1:!b.isNull})},setClip:function(A){var z=this.chart,x=this.options,u=z.renderer,w=z.inverted,q=this.clipBox,t=q||z.clipBox,l=this.sharedClipKey||["_sharedClip",A&&A.duration,A&&A.easing,t.height,x.xAxis,x.yAxis].join(),p=z[l],r=z[l+"m"];p||(A&&(t.width=0,z[l+"m"]=r=u.clipRect(-99,w?-z.plotLeft:-z.plotTop,99,w?z.chartWidth:z.chartHeight)),z[l]=p=u.clipRect(t),p.count={length:0});A&&!p.count[this.index]&&(p.count[this.index]=!0,p.count.length+=1);!1!==x.clip&&(this.group.clip(A||q?p:z.clipRect),this.markerGroup.clip(r),this.sharedClipKey=l);A||(p.count[this.index]&&(delete p.count[this.index],--p.count.length),0===p.count.length&&l&&z[l]&&(q||(z[l]=z[l].destroy()),z[l+"m"]&&(this.markerGroup.clip(),z[l+"m"]=z[l+"m"].destroy())))},animate:function(f){var d=this.chart,l=M(this.options.animation),g;f?this.setClip(l):(g=this.sharedClipKey,(f=d[g])&&f.animate({width:d.plotSizeX},l),d[g+"m"]&&d[g+"m"].animate({width:d.plotSizeX+99},l),this.animate=null)},afterAnimate:function(){this.setClip();N(this,"afterAnimate")},drawPoints:function(){var G=this.points,F=this.chart,E,B,C,x,A=this.options.marker,u,z,r,w,m=this.markerGroup,H=y(A.enabled,this.xAxis.isRadial?!0:null,this.closestPointRangePx>2*A.radius);if(!1!==A.enabled||this._hasPointMarkers){for(B=0;Bn&&d.shadow));c&&(c.startX=l.xMap,c.isArea=l.isArea)})},applyZones:function(){var am=this,al=this.chart,ak=al.renderer,ai=this.zones,aj,ah,ad=this.clips||[],ae,ag=this.graph,ac=this.area,af=Math.max(al.chartWidth,al.chartHeight),Y=this[(this.zoneAxis||"y")+"Axis"],E,B,aa=al.inverted,q,H,G,Z,ab=!1;ai.length&&(ag||ac)&&Y&&void 0!==Y.min&&(B=Y.reversed,q=Y.horiz,ag&&ag.hide(),ac&&ac.hide(),E=Y.getExtremes(),L(ai,function(c,b){aj=B?q?al.plotWidth:0:q?0:Y.toPixels(E.min);aj=Math.min(Math.max(y(ah,aj),0),af);ah=Math.min(Math.max(Math.round(Y.toPixels(y(c.value,E.max),!0)),0),af);ab&&(aj=ah=Y.toPixels(E.max));H=Math.abs(aj-ah);G=Math.min(aj,ah);Z=Math.max(aj,ah);Y.isXAxis?(ae={x:aa?Z:G,y:0,width:H,height:af},q||(ae.x=al.plotHeight-ae.x)):(ae={x:0,y:aa?Z:G,width:af,height:H},q&&(ae.y=al.plotWidth-ae.y));aa&&ak.isVML&&(ae=Y.isXAxis?{x:0,y:B?G:Z,height:ae.width,width:al.chartWidth}:{x:ae.y-al.plotLeft-al.spacingBox.x,y:0,width:ae.height,height:al.chartHeight});ad[b]?ad[b].animate(ae):(ad[b]=ak.clipRect(ae),ag&&am["zone-graph-"+b].clip(ad[b]),ac&&am["zone-area-"+b].clip(ad[b]));ab=c.value>E.max}),this.clips=ad)},invertGroups:function(f){function d(){L(["group","markerGroup"],function(c){l[c]&&(l[c].width=l.yAxis.len,l[c].height=l.xAxis.len,l[c].invert(f))})}var l=this,g;l.xAxis&&(g=K(l.chart,"resize",d),K(l,"destroy",g),d(f),l.invertGroups=d)},plotGroup:function(l,g,r,p,q){var m=this[l],n=!m;n&&(this[l]=m=this.chart.renderer.g(g).attr({zIndex:p||0.1}).add(q),m.addClass("highcharts-series-"+this.index+" highcharts-"+this.type+"-series highcharts-color-"+this.colorIndex+" "+(this.options.className||"")));m.attr({visibility:r})[n?"attr":"animate"](this.getPlotBox());return m},getPlotBox:function(){var f=this.chart,d=this.xAxis,g=this.yAxis;f.inverted&&(d=g,g=this.xAxis);return{translateX:d?d.left:f.plotLeft,translateY:g?g.top:f.plotTop,scaleX:1,scaleY:1}},render:function(){var B=this,A=B.chart,z,w=B.options,x=!!B.animate&&A.renderer.isSVG&&M(w.animation).duration,u=B.visible?"inherit":"hidden",q=w.zIndex,r=B.hasRendered,t=A.seriesGroup,l=A.inverted;z=B.plotGroup("group","series",u,q,t);B.markerGroup=B.plotGroup("markerGroup","markers",u,q,t);x&&B.animate(!0);z.inverted=B.isCartesian?l:!1;B.drawGraph&&(B.drawGraph(),B.applyZones());B.drawDataLabels&&B.drawDataLabels();B.visible&&B.drawPoints();B.drawTracker&&!1!==B.options.enableMouseTracking&&B.drawTracker();B.invertGroups(l);!1===w.clip||B.sharedClipKey||r||z.clip(A.clipRect);x&&B.animate();r||(B.animationTimeout=s(function(){B.afterAnimate()},x));B.isDirty=!1;B.hasRendered=!0},redraw:function(){var g=this.chart,f=this.isDirty||this.isDirtyData,n=this.group,l=this.xAxis,m=this.yAxis;n&&(g.inverted&&n.attr({width:g.plotWidth,height:g.plotHeight}),n.animate({translateX:y(l&&l.left,g.plotLeft),translateY:y(m&&m.top,g.plotTop)}));this.translate();this.render();f&&delete this.kdTree},kdDimensions:1,kdAxisArray:["clientX","plotY"],searchPoint:function(g,f){var n=this.xAxis,l=this.yAxis,m=this.chart.inverted;return this.searchKDTree({clientX:m?n.len-g.chartY+n.pos:g.chartX-n.pos,plotY:m?l.len-g.chartX+l.pos:g.chartY-l.pos},f)},buildKDTree:function(){function f(p,m,n){var b,l;if(l=p&&p.length){return b=d.kdAxisArray[m%n],p.sort(function(q,c){return q[b]-c[b]}),l=Math.floor(l/2),{point:p[l],left:f(p.slice(0,l),m+1,n),right:f(p.slice(l+1),m+1,n)}}}this.buildingKdTree=!0;var d=this,g=d.kdDimensions;delete d.kdTree;s(function(){d.kdTree=f(d.getValidPoints(null,!d.directTouch),g,g);d.buildingKdTree=!1},d.options.kdNow?0:1)},searchKDTree:function(l,g){function r(A,z,w,f){var u=z.point,x=p.kdAxisArray[w%f],d,B,c=u;B=Q(A[q])&&Q(u[q])?Math.pow(A[q]-u[q],2):null;d=Q(A[m])&&Q(u[m])?Math.pow(A[m]-u[m],2):null;d=(B||0)+(d||0);u.dist=Q(d)?Math.sqrt(d):Number.MAX_VALUE;u.distX=Q(B)?Math.sqrt(B):Number.MAX_VALUE;x=A[x]-u[x];d=0>x?"left":"right";B=0>x?"right":"left";z[d]&&(d=r(A,z[d],w+1,f),c=d[n]U;){r--}}this.updateParallelArrays(B,"splice",r,0,0);this.updateParallelArrays(B,r);u&&B.name&&(u[U]=B.name);z.splice(r,0,T);t&&(this.data.splice(r,0,null),this.processData());"point"===G.legendType&&this.generatePoints();R&&(E[0]&&E[0].remove?E[0].remove(!1):(E.shift(),this.updateParallelArrays(B,"shift"),z.shift()));this.isDirtyData=this.isDirty=!0;S&&C.redraw(H)},removePoint:function(B,A,z){var t=this,u=t.data,r=u[B],q=t.points,l=t.chart,p=function(){q&&q.length===u.length&&q.splice(B,1);u.splice(B,1);t.options.data.splice(B,1);t.updateParallelArrays(r||{series:t},"splice",B,1);r&&r.destroy();t.isDirty=!0;t.isDirtyData=!0;A&&l.redraw()};o(z,l);A=s(A,!0);r?r.firePointEvent("remove",null,p):p()},remove:function(l,g,q){function n(){p.destroy();m.isDirtyLegend=m.isDirtyBox=!0;m.linkSeries();s(l,!0)&&m.redraw(g)}var p=this,m=p.chart;!1!==q?y(p,"remove",null,n):n()},update:function(C,B){var A=this,u=this.chart,z=this.userOptions,t=this.type,n=C.type||z.type||u.options.chart.type,l=I[t].prototype,f=["group","markerGroup","dataLabelsGroup"],r;if(n&&n!==t||void 0!==C.zIndex){f.length=0}M(f,function(b){f[b]=A[b];delete A[b]});C=v(z,{animation:!1,index:this.index,pointStart:this.xData[0]},{data:this.options.data},C);this.remove(!1,null,!1);for(r in l){this[r]=void 0}K(this,I[n||t].prototype);M(f,function(b){A[b]=f[b]});this.init(u,C);u.linkSeries();s(B,!0)&&u.redraw(!1)}});K(i.prototype,{update:function(f,d){var g=this.chart;f=g.options[this.coll][this.options.index]=v(this.userOptions,f);this.destroy(!0);this.init(g,K(f,{events:void 0}));g.isDirtyBox=!0;s(d,!0)&&g.redraw()},remove:function(g){for(var f=this.chart,n=this.coll,l=this.series,m=l.length;m--;){l[m]&&l[m].remove(!1)}k(f.axes,this);k(f[n],this);f.options[n].splice(this.options.index,1);M(f[n],function(d,c){d.options.index=c});this.destroy();f.isDirtyBox=!0;s(g,!0)&&f.redraw()},setTitle:function(d,c){this.update({title:d},c)},setCategories:function(d,c){this.update({categories:d},c)}})})(a);(function(c){var j=c.color,b=c.each,d=c.map,f=c.pick,i=c.Series,h=c.seriesType;h("area","line",{softThreshold:!1,threshold:0},{singleStacks:!1,getStackPoints:function(){var D=[],x=[],w=this.xAxis,o=this.yAxis,y=o.stacks[this.stackKey],C={},s=this.points,k=this.index,F=o.series,v=F.length,B,u=f(o.options.reversedStacks,!0)?1:-1,G,A;if(this.options.stacking){for(G=0;Gp&&j>k?(j=Math.max(p,k),n=2*k-j):jt&&n>k?(n=Math.max(t,k),j=2*k-n):n=Math.abs(q)&&0.5B.closestPointRange*B.xAxis.transA,w=B.borderWidth=k(x.borderWidth,w?0:1),C=B.yAxis,v=B.translatedThreshold=C.getThreshold(x.threshold),z=k(x.minPointLength,5),u=B.getColumnMetrics(),s=u.width,f=B.barW=Math.max(s,1+2*w),y=B.pointXOffset=u.offset;A.inverted&&(v-=0.5);x.pointPadding&&(f=Math.ceil(f));o.prototype.translate.apply(B);n(B.points,function(G){var D=k(G.yBottom,v),H=999+Math.abs(D),H=Math.min(Math.max(-H,G.plotY),C.len+H),t=G.plotX+y,r=f,E=Math.min(H,D),F,q=Math.max(H,D)-E;Math.abs(q)z?D-z:v-(F?z:0));G.barX=t;G.pointWidth=s;G.tooltipPos=A.inverted?[C.len+C.pos-A.plotLeft-H,B.xAxis.len-t-r/2,q]:[t+r/2,H+C.pos-A.plotTop,q];G.shapeType="rect";G.shapeArgs=B.crispCol.apply(B,G.isNull?[G.plotX,C.len/2,0,0]:[t,E,r,q])})},getSymbol:m.noop,drawLegendSymbol:m.LegendSymbolMixin.drawRectangle,drawGraph:function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},pointAttribs:function(y,x){var v=this.options,u,t=this.pointAttrToOptions||{};u=t.stroke||"borderColor";var r=t["stroke-width"]||"borderWidth",w=y&&y.color||this.color,q=y[u]||v[u]||this.color||w,s=y[r]||v[r]||this[r]||0,t=v.dashStyle;y&&this.zones.length&&(w=(w=y.getZone())&&w.color||y.options.color||this.color);x&&(y=v.states[x],x=y.brightness,w=y.color||void 0!==x&&h(w).brighten(y.brightness).get()||w,q=y[u]||q,s=y[r]||s,t=y.dashStyle||t);u={fill:w,stroke:q,"stroke-width":s};v.borderRadius&&(u.r=v.borderRadius);t&&(u.dashstyle=t);return u},drawPoints:function(){var s=this,q=this.chart,v=s.options,r=q.renderer,u=v.animationLimit||250,g;n(s.points,function(l){var f=l.graphic;if(b(l.plotY)&&null!==l.y){g=l.shapeArgs;if(f){f[q.pointCounth;++h){o=p[h],i=2>h||2===h&&/%$/.test(o),p[h]=b(o,[m,k,j,p[2]][h])+(i?n:0)}p[3]>p[2]&&(p[3]=p[2]);return p}}})(a);(function(o){var h=o.addEvent,i=o.defined,p=o.each,t=o.extend,b=o.inArray,k=o.noop,m=o.pick,s=o.Point,j=o.Series,c=o.seriesType,n=o.setAnimation;c("pie","line",{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{distance:30,enabled:!0,formatter:function(){return null===this.y?void 0:this.point.name},x:0},ignoreHiddenPoint:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,states:{hover:{brightness:0.1,shadow:!1}}},{isCartesian:!1,requireSorting:!1,directTouch:!0,noSharedTooltip:!0,trackerGroups:["group","dataLabelsGroup"],axisTypes:[],pointAttribs:o.seriesTypes.column.prototype.pointAttribs,animate:function(l){var g=this,r=g.points,q=g.startAngleRad;l||(p(r,function(f){var v=f.graphic,u=f.shapeArgs;v&&(v.attr({r:f.startR||g.center[3]/2,start:q,end:q}),v.animate({r:u.r,start:u.start,end:u.end},g.options.animation))}),g.animate=null)},updateTotals:function(){var q,v=0,u=this.points,r=u.length,l,w=this.options.ignoreHiddenPoint;for(q=0;ql.y&&(l.y=null),v+=w&&!l.visible?0:l.y}this.total=v;for(q=0;q1.5*Math.PI?A-=2*Math.PI:A<-Math.PI/2&&(A+=2*Math.PI);G.slicedTranslation={translateX:Math.round(Math.cos(A)*C),translateY:Math.round(Math.sin(A)*C)};F=Math.cos(A)*I[2]/2;x=Math.sin(A)*I[2]/2;G.tooltipPos=[I[0]+0.7*F,I[1]+0.7*x];G.half=A<-Math.PI/2||A>Math.PI/2?1:0;G.angle=A;z=Math.min(z,K/5);G.labelPos=[I[0]+F+Math.cos(A)*K,I[1]+x+Math.sin(A)*K,I[0]+F+Math.cos(A)*z,I[1]+x+Math.sin(A)*z,I[0]+F,I[1]+x,0>K?"center":G.half?"right":"left",A]}},drawGraph:null,drawPoints:function(){var q=this,v=q.chart.renderer,u,r,l,x,w=q.options.shadow;w&&!q.shadowGroup&&(q.shadowGroup=v.g("shadow").add(q.group));p(q.points,function(d){if(null!==d.y){r=d.graphic;x=d.shapeArgs;u=d.sliced?d.slicedTranslation:{};var f=d.shadowGroup;w&&!f&&(f=d.shadowGroup=v.g("shadow").add(q.shadowGroup));f&&f.attr(u);l=q.pointAttribs(d,d.selected&&"select");r?r.setRadialReference(q.center).attr(l).animate(t(x,u)):(d.graphic=r=v[d.shapeType](x).addClass(d.getClassName()).setRadialReference(q.center).attr(u).add(q.group),d.visible||r.attr({visibility:"hidden"}),r.attr(l).attr({"stroke-linejoin":"round"}).shadow(w,f))}})},searchPoint:k,sortByAngle:function(f,g){f.sort(function(l,d){return void 0!==l.angle&&(d.angle-l.angle)*g})},drawLegendSymbol:o.LegendSymbolMixin.drawRectangle,getCenter:o.CenteredSeriesMixin.getCenter,getSymbol:k},{init:function(){s.prototype.init.apply(this,arguments);var f=this,g;f.name=m(f.name,"Slice");g=function(d){f.slice("select"===d.type)};h(f,"select",g);h(f,"unselect",g);return f},setVisible:function(q,u){var l=this,r=l.series,f=r.chart,v=r.options.ignoreHiddenPoint;u=m(u,v);q!==l.visible&&(l.visible=l.options.visible=q=void 0===q?!l.visible:q,r.options.data[b(l,r.data)]=l.options,p(["graphic","dataLabel","connector","shadowGroup"],function(d){if(l[d]){l[d][q?"show":"hide"](!0)}}),l.legendItem&&f.legend.colorizeItem(l,q),q||"hover"!==l.state||l.setState(""),v&&(r.isDirty=!0),u&&f.redraw())},slice:function(q,r,f){var d=this.series;n(f,d.chart);m(r,!0);this.sliced=this.options.sliced=q=i(q)?q:!this.sliced;d.options.data[b(this,d.data)]=this.options;q=q?this.slicedTranslation:{translateX:0,translateY:0};this.graphic.animate(q);this.shadowGroup&&this.shadowGroup.animate(q)},haloPath:function(f){var d=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(d.x,d.y,d.r+f,d.r+f,{innerR:this.shapeArgs.r,start:d.start,end:d.end})}})})(a);(function(w){var k=w.addEvent,m=w.arrayMax,x=w.defined,z=w.each,c=w.extend,o=w.format,s=w.map,y=w.merge,n=w.noop,i=w.pick,t=w.relativeLength,v=w.Series,j=w.seriesTypes,h=w.stableSort;w.distribute=function(r,p){function C(g,d){return g.target-d.target}var B,u=!0,f=r,A=[],q;q=0;for(B=r.length;B--;){q+=r[B].size}if(q>p){h(r,function(g,d){return(d.rank||0)-(g.rank||0)});for(q=B=0;q<=p;){q+=r[B].size,B++}A=r.splice(B-1,r.length)}h(r,C);for(r=s(r,function(b){return{size:b.size,targets:[b.target]}});u;){for(B=r.length;B--;){u=r[B],q=(Math.min.apply(0,u.targets)+Math.max.apply(0,u.targets))/2,u.pos=Math.min(Math.max(0,q-u.size/2),p-u.size)}B=r.length;for(u=!1;B--;){0r[B].pos&&(r[B-1].size+=r[B].size,r[B-1].targets=r[B-1].targets.concat(r[B].targets),r[B-1].pos+r[B-1].size>p&&(r[B-1].pos=p-r[B-1].size),r.splice(B,1),u=!0)}}B=0;z(r,function(g){var d=0;z(g.targets,function(){f[B].pos=g.pos+d;d+=f[B].size;B++})});f.push.apply(f,A);h(f,C)};v.prototype.drawDataLabels=function(){var G=this,F=G.options,E=F.dataLabels,D=G.points,B,u,C=G.hasRendered||0,q,g,H=i(E.defer,!0),A=G.chart.renderer;if(E.enabled||G._hasPointLabels){G.dlProcessOptions&&G.dlProcessOptions(E),g=G.plotGroup("dataLabelsGroup","data-labels",H&&!C?"hidden":"visible",E.zIndex||6),H&&(g.attr({opacity:+C}),C||k(G,"afterAnimate",function(){G.visible&&g.show(!0);g[F.animation?"animate":"attr"]({opacity:1},{duration:200})})),u=E,z(D,function(p){var r,f=p.dataLabel,b,l,L,I=p.connector,K=!f,J;B=p.dlOptions||p.options&&p.options.dataLabels;if(r=i(B&&B.enabled,u.enabled)&&null!==p.y){for(l in E=y(u,B),b=p.getLabelConfig(),q=E.format?o(E.format,b):E.formatter.call(b,E),J=E.style,L=E.rotation,J.color=i(E.color,J.color,G.color,"#000000"),"contrast"===J.color&&(J.color=E.inside||0>E.distance||F.stacking?A.getContrast(p.color||G.color):"#000000"),F.cursor&&(J.cursor=F.cursor),b={fill:E.backgroundColor,stroke:E.borderColor,"stroke-width":E.borderWidth,r:E.borderRadius||0,rotation:L,padding:E.padding,zIndex:1},b){void 0===b[l]&&delete b[l]}}!f||r&&x(q)?r&&x(q)&&(f?b.text=q:(f=p.dataLabel=A[L?"text":"label"](q,0,-9999,E.shape,null,null,E.useHTML,null,"data-label"),f.addClass("highcharts-data-label-color-"+p.colorIndex+" "+(E.className||"")+(E.useHTML?"highcharts-tracker":""))),f.attr(b),f.css(J).shadow(E.shadow),f.added||f.add(g),G.alignDataLabel(p,f,E,null,K)):(p.dataLabel=f.destroy(),I&&(p.connector=I.destroy()))})}};v.prototype.alignDataLabel=function(K,J,I,H,F){var D=this.chart,G=D.inverted,A=i(K.plotX,-9999),r=i(K.plotY,-9999),B=J.getBBox(),C,q=I.rotation,M=I.align,L=this.visible&&(K.series.forceDL||D.isInsidePlot(A,Math.round(r),G)||H&&D.isInsidePlot(A,G?H.x+1:H.y+H.height-1,G)),N="justify"===i(I.overflow,"justify");L&&(C=I.style.fontSize,C=D.renderer.fontMetrics(C,J).b,H=c({x:G?D.plotWidth-r:A,y:Math.round(G?D.plotHeight-A:r),width:0,height:0},H),c(I,{width:B.width,height:B.height}),q?(N=!1,G=D.renderer.rotCorr(C,q),G={x:H.x+I.x+H.width/2+G.x,y:H.y+I.y+{top:0,middle:0.5,bottom:1}[I.verticalAlign]*H.height},J[F?"attr":"animate"](G).attr({align:M}),A=(q+720)%360,A=180A,"left"===M?G.y-=A?B.height:0:"center"===M?(G.x-=B.width/2,G.y-=B.height/2):"right"===M&&(G.x-=B.width,G.y-=A?0:B.height)):(J.align(I,null,H),G=J.alignAttr),N?this.justifyDataLabel(J,I,G,B,H,F):i(I.crop,!0)&&(L=D.isInsidePlot(G.x,G.y)&&D.isInsidePlot(G.x+B.width,G.y+B.height)),I.shape&&!q&&J.attr({anchorX:K.plotX,anchorY:K.plotY}));L||(J.attr({y:-9999}),J.placed=!1)};v.prototype.justifyDataLabel=function(I,H,G,F,D,C){var E=this.chart,u=H.align,r=H.verticalAlign,A,B,q=I.box?0:I.padding||0;A=G.x+q;0>A&&("right"===u?H.align="left":H.x=-A,B=!0);A=G.x+F.width-q;A>E.plotWidth&&("left"===u?H.align="right":H.x=E.plotWidth-A,B=!0);A=G.y+q;0>A&&("bottom"===r?H.verticalAlign="top":H.y=-A,B=!0);A=G.y+F.height-q;A>E.plotHeight&&("top"===r?H.verticalAlign="bottom":H.y=E.plotHeight-A,B=!0);B&&(I.placed=!C,I.align(H,null,D))};j.pie&&(j.pie.prototype.drawDataLabels=function(){var ag=this,ae=ag.data,ah,ab=ag.chart,aa=ag.options.dataLabels,Y=i(aa.connectorPadding,10),af=i(aa.connectorWidth,1),V=ab.plotWidth,U=ab.plotHeight,P,ad=aa.distance,J=ag.center,X=J[2]/2,Z=J[1],K=0d-2?p:T,B),ac._attr={visibility:G,align:I[6]},ac._pos={x:A+aa.x+({left:Y,right:-Y}[I[6]]||0),y:T+aa.y-10},I.x=A,I.y=T,null===ag.options.size&&(W=ac.width,A-WV-Y&&(f[1]=Math.max(Math.round(A+W-V+Y),f[1])),0>T-E/2?f[0]=Math.max(Math.round(-T+E/2),f[0]):T+E/2>U&&(f[2]=Math.max(Math.round(T+E/2-U),f[2])))}}}),0===m(f)||this.verifyDataLabelOverflow(f))&&(this.placeDataLabels(),K&&af&&z(this.points,function(g){var d;P=g.connector;if((ac=g.dataLabel)&&ac._pos&&g.visible){G=ac._attr.visibility;if(d=!P){g.connector=P=ab.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+g.colorIndex).add(ag.dataLabelsGroup),P.attr({"stroke-width":af,stroke:aa.connectorColor||g.color||"#666666"})}P[d?"attr":"animate"]({d:ag.connectorPath(g.labelPos)});P.attr("visibility",G)}else{P&&(g.connector=P.destroy())}}))},j.pie.prototype.connectorPath=function(f){var d=f.x,g=f.y;return i(this.options.dataLabels.softConnector,!0)?["M",d+("left"===f[6]?5:-5),g,"C",d,g,2*f[2]-f[4],2*f[3]-f[5],f[2],f[3],"L",f[4],f[5]]:["M",d+("left"===f[6]?5:-5),g,"L",f[2],f[3],"L",f[4],f[5]]},j.pie.prototype.placeDataLabels=function(){z(this.points,function(f){var d=f.dataLabel;d&&f.visible&&((f=d._pos)?(d.attr(d._attr),d[d.moved?"animate":"attr"](f),d.moved=!0):d&&d.attr({y:-9999}))})},j.pie.prototype.alignDataLabel=n,j.pie.prototype.verifyDataLabelOverflow=function(q){var d=this.center,B=this.options,u=B.center,r=B.minSize||80,p,A;null!==u[0]?p=Math.max(d[2]-Math.max(q[1],q[3]),r):(p=Math.max(d[2]-q[1]-q[3],r),d[0]+=(q[3]-q[1])/2);null!==u[1]?p=Math.max(Math.min(p,d[2]-Math.max(q[0],q[2])),r):(p=Math.max(Math.min(p,d[2]-q[0]-q[2]),r),d[1]+=(q[0]-q[2])/2);pi(this.translatedThreshold,C.yAxis.len)),b=i(E.inside,!!this.options.stacking);r&&(B=y(r),0>B.y&&(B.height+=B.y,B.y=0),r=B.y+B.height-C.yAxis.len,0t+C||B+rq+A||z+pthis.pointCount))},pan:function(g,f){var n=this,m=n.hoverPoints,l;m&&K(m,function(b){b.setState()});K("xy"===f?[1,0]:[1],function(p){p=n[p?"xAxis":"yAxis"][0];var B=p.horiz,A=g[B?"chartX":"chartY"],B=B?"mouseDownX":"mouseDownY",u=n[B],t=(p.pointRange||0)/2,r=p.getExtremes(),q=p.toValue(u-A,!0)+t,t=p.toValue(u+p.len-A,!0)-t,c=tt&&0>r&&(p.setExtremes(u,q,!1,!1,{trigger:"pan"}),l=!0);n[B]=A});l&&n.redraw(!1);i(n.container,{cursor:"move"})}});j(F.prototype,{select:function(f,d){var n=this,m=n.series,l=m.chart;f=o(f,!n.selected);n.firePointEvent(f?"select":"unselect",{accumulate:d},function(){n.selected=n.options.selected=f;m.options.data[L(n,m.data)]=n.options;n.setState(f&&"select");d||K(l.getSelectedPoints(),function(b){b.selected&&b!==n&&(b.selected=b.options.selected=!1,m.options.data[L(b,m.data)]=b.options,b.setState(""),b.firePointEvent("unselect"))})})},onMouseOver:function(l,g){var q=this.series,p=q.chart,n=p.tooltip,m=p.hoverPoint;if(this.series){if(!g){if(m&&m!==this){m.onMouseOut()}if(p.hoverSeries!==q){q.onMouseOver()}p.hoverPoint=this}!n||n.shared&&!q.noSharedTooltip?n||this.setState("hover"):(this.setState("hover"),n.refresh(this,l));this.firePointEvent("mouseOver")}},onMouseOut:function(){var d=this.series.chart,c=d.hoverPoints;this.firePointEvent("mouseOut");c&&-1!==L(this,c)||(this.setState(),d.hoverPoint=null)},importEvents:function(){if(!this.hasImportedEvents){var d=s(this.series.options.point,this.options).events,c;this.events=d;for(c in d){w(this,c,d[c])}this.hasImportedEvents=!0}},setState:function(X,W){var V=Math.floor(this.plotX),T=this.plotY,S=this.series,R=S.options.states[X]||{},P=J[S.type].marker&&S.options.marker,H=P&&!1===P.enabled,G=P&&P.states&&P.states[X]||{},B=!1===G.enabled,Q=S.stateMarkerGraphic,u=this.marker||{},g=S.chart,U=S.halo,t,E=P&&S.markerAttribs;X=X||"";if(!(X===this.state&&!W||this.selected&&"select"!==X||!1===R.enabled||X&&(B||H&&!1===G.enabled)||X&&u.states&&u.states[X]&&!1===u.states[X].enabled)){E&&(t=S.markerAttribs(this,X));if(this.graphic){this.state&&this.graphic.removeClass("highcharts-point-"+this.state),X&&this.graphic.addClass("highcharts-point-"+X),this.graphic.attr(S.pointAttribs(this,X)),t&&this.graphic.animate(t,o(g.options.chart.animation,G.animation,P.animation)),Q&&Q.hide()}else{if(X&&G){P=u.symbol||S.symbol;Q&&Q.currentSymbol!==P&&(Q=Q.destroy());if(Q){Q[W?"animate":"attr"]({x:t.x,y:t.y})}else{P&&(S.stateMarkerGraphic=Q=g.renderer.symbol(P,t.x,t.y,t.width,t.height).add(S.markerGroup),Q.currentSymbol=P)}Q&&Q.attr(S.pointAttribs(this,X))}Q&&(Q[X&&g.isInsidePlot(V,T,g.inverted)?"show":"hide"](),Q.element.point=this)}(V=R.halo)&&V.size?(U||(S.halo=U=g.renderer.path().add(E?S.markerGroup:S.group)),U[W?"animate":"attr"]({d:this.haloPath(V.size)}),U.attr({"class":"highcharts-halo highcharts-color-"+o(this.colorIndex,S.colorIndex)}),U.point=this,U.attr(j({fill:this.color||S.color,"fill-opacity":V.opacity,zIndex:-1},V.attributes))):U&&U.point&&U.point.haloPath&&U.animate({d:U.point.haloPath(0)});this.state=X}},haloPath:function(b){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-b,this.plotY-b,2*b,2*b)}});j(M.prototype,{onMouseOver:function(){var d=this.chart,c=d.hoverSeries;if(c&&c!==this){c.onMouseOut()}this.options.events.mouseOver&&I(this,"mouseOver");this.setState("hover");d.hoverSeries=this},onMouseOut:function(){var g=this.options,f=this.chart,m=f.tooltip,l=f.hoverPoint;f.hoverSeries=null;if(l){l.onMouseOut()}this&&g.events.mouseOut&&I(this,"mouseOut");!m||g.stickyTracking||m.shared&&!this.noSharedTooltip||m.hide();this.setState()},setState:function(l){var f=this,q=f.options,p=f.graph,n=q.states,m=q.lineWidth,q=0;l=l||"";if(f.state!==l&&(K([f.group,f.markerGroup],function(b){b&&(f.state&&b.removeClass("highcharts-series-"+f.state),l&&b.addClass("highcharts-series-"+l))}),f.state=l,!n[l]||!1!==n[l].enabled)&&(l&&(m=n[l].lineWidth||m+(n[l].lineWidthPlus||0)),p&&!p.dashstyle)){for(n={"stroke-width":m},p.attr(n);f["zone-graph-"+q];){f["zone-graph-"+q].attr(n),q+=1}}},setVisible:function(p,l){var A=this,t=A.chart,r=A.legendItem,q,f=t.options.chart.ignoreHiddenSeries,u=A.visible;q=(A.visible=p=A.options.visible=A.userOptions.visible=void 0===p?!u:p)?"show":"hide";K(["group","dataLabelsGroup","markerGroup","tracker","tt"],function(b){if(A[b]){A[b][q]()}});if(t.hoverSeries===A||(t.hoverPoint&&t.hoverPoint.series)===A){A.onMouseOut()}r&&t.legend.colorizeItem(A,p);A.isDirty=!0;A.options.stacking&&K(t.series,function(b){b.options.stacking&&b.visible&&(b.isDirty=!0)});K(A.linkedSeries,function(c){c.setVisible(p,!1)});f&&(t.isDirtyBox=!0);!1!==l&&t.redraw();I(A,q)},show:function(){this.setVisible(!0)},hide:function(){this.setVisible(!1)},select:function(b){this.selected=b=void 0===b?!this.selected:b;this.checkbox&&(this.checkbox.checked=b);I(this,b?"select":"unselect")},drawTracker:O.drawTrackerGraph})})(a);(function(c){var j=c.Chart,b=c.each,d=c.inArray,f=c.isObject,i=c.pick,h=c.splat;j.prototype.setResponsive=function(g){var k=this.options.responsive;k&&k.rules&&b(k.rules,function(l){this.matchResponsiveRule(l,g)},this)};j.prototype.matchResponsiveRule=function(o,m){var k=this.respRules,n=o.condition,p;p=n.callback||function(){return this.chartWidth<=i(n.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=i(n.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=i(n.minWidth,0)&&this.chartHeight>=i(n.minHeight,0)};void 0===o._id&&(o._id=c.uniqueKey());p=p.call(this);!k[o._id]&&p?o.chartOptions&&(k[o._id]=this.currentOptions(o.chartOptions),this.update(o.chartOptions,m)):k[o._id]&&!p&&(this.update(k[o._id],m),delete k[o._id])};j.prototype.currentOptions=function(k){function m(r,u,n,o){var t,s;for(t in r){if(!o&&-10){a=b.replace("[^0-9a-zA-Z]","-").toLowerCase();a=a.replace(/\s+/g,"-")}return a}function getCustomDomainPageUrl(a,b){return"https://"+a+"."+b}function getCompanyInfoUrl(a,b){var c=HOST_WITHOUT_SSL+a+"/"+b+"-company-profile";return c}var events=[];function trackMixpanelEvent(b,c,a){if(typeof mixpanel!=null&&typeof mixpanel=="object"&&typeof(mixpanel.track)==="function"){mixpanel.track(b,c,function(){if(a!=undefined){a()}mixpanel.people.set("$last_seen",new Date())})}else{events.push({event:b,prop:c,callBckFun:a})}}function trackArticleViewed(c,a,f,b,d){var g={};g["Article Id"]=c;g["Company Id"]=a;g["Feed Url"]=f;if(f==undefined){g["Feed Url"]="N/A"}g.Location=b;g["Company Name"]=d;trackMixpanelEvent("Article Viewed",g);mixpanel.people.increment("Articles Viewed",1)}function trackPollResponse(a,f,h,g,b,c){var d={};d["Company Id"]=a;d["Company Name"]=f;d["Type of Survey"]=h;d["Survey Name"]=g;d["Location of Survey"]=b;d["Don't Know"]="False";if(c==="dont_know"){d["Don't Know"]="True"}trackMixpanelEvent("SurveyResponse",d);mixpanel.people.set({"$last_seen":new Date()});mixpanel.people.increment("Polls Taken",1)}function flushEvents(){if(typeof mixpanel!=null){for(var a=0;a