summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Wall <richard@largo>2011-09-11 10:29:53 +0100
committerRichard Wall <richard@largo>2011-09-11 10:29:53 +0100
commitc3be3efa9b2c02d63a680674b3924a2208050f83 (patch)
tree2106daccda05617ff5354bf0f4139b26d03686cc
parent717d4eb9d9416f84f06a198534b093aae8a494fe (diff)
#816668 Upgrade to latest dev jquerytools and re-enable the tab history plugin
-rw-r--r--docs/examples/assets/js/dependencies.js625
-rw-r--r--jarmon/jarmon.js3
2 files changed, 321 insertions, 307 deletions
diff --git a/docs/examples/assets/js/dependencies.js b/docs/examples/assets/js/dependencies.js
index 893ef2e..6e57d1a 100644
--- a/docs/examples/assets/js/dependencies.js
+++ b/docs/examples/assets/js/dependencies.js
@@ -1,4 +1,4 @@
-// Compiled with closure-compiler on 2011-08-07 18:29:31.168108
+// Compiled with closure-compiler on 2011-09-11 10:17:11.089223
// @code_url http://code.jquery.com/jquery-1.6.2.js
// @code_url http://flot.googlecode.com/svn/trunk/excanvas.js
// @code_url http://flot.googlecode.com/svn/trunk/jquery.flot.js
@@ -7,319 +7,319 @@
// @code_url http://javascriptrrd.cvs.sourceforge.net/viewvc/javascriptrrd/v0/src/lib/rrdFile.js
// @code_url https://raw.github.com/jquerytools/jquerytools/dev/src/dateinput/dateinput.js
// @code_url https://raw.github.com/jquerytools/jquerytools/dev/src/tabs/tabs.js
+// @code_url https://raw.github.com/jquerytools/jquerytools/dev/src/toolbox/toolbox.history.js
// @compilation_level SIMPLE_OPTIMIZATIONS
// @formatting print_input_delimiter
// @output_format text
// @output_info compiled_code
// Input 0
-(function(d,h){function F(a,c,g){if(g===h&&a.nodeType===1)if(g="data-"+c.replace(oa,"$1-$2").toLowerCase(),g=a.getAttribute(g),typeof g==="string"){try{g=g==="true"?!0:g==="false"?!1:g==="null"?null:!b.isNaN(g)?parseFloat(g):D.test(g)?b.parseJSON(g):g}catch(k){}b.data(a,c,g)}else g=h;return g}function p(a){for(var c in a)if(c!=="toJSON")return!1;return!0}function C(a,c,g){var k=c+"defer",s=c+"queue",H=c+"mark",f=b.data(a,k,h,!0);f&&(g==="queue"||!b.data(a,s,h,!0))&&(g==="mark"||!b.data(a,H,h,!0))&&
-setTimeout(function(){!b.data(a,s,h,!0)&&!b.data(a,H,h,!0)&&(b.removeData(a,k,!0),f.resolve())},0)}function B(){return!1}function q(){return!0}function z(a,c,g){var k=b.extend({},g[0]);k.type=a;k.originalEvent={};k.liveFired=h;b.event.handle.call(c,k);k.isDefaultPrevented()&&g[0].preventDefault()}function N(a){var c,g,k,s,H,f,e,j,l,d,v,t=[];s=[];H=b._data(this,"events");if(!(a.liveFired===this||!H||!H.live||a.target.disabled||a.button&&a.type==="click")){a.namespace&&(v=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+
-"(\\.|$)"));a.liveFired=this;var n=H.live.slice(0);for(e=0;e<n.length;e++)H=n[e],H.origType.replace(Ba,"")===a.type?s.push(H.selector):n.splice(e--,1);s=b(a.target).closest(s,a.currentTarget);j=0;for(l=s.length;j<l;j++){d=s[j];for(e=0;e<n.length;e++)if(H=n[e],d.selector===H.selector&&(!v||v.test(H.namespace))&&!d.elem.disabled){f=d.elem;k=null;if(H.preType==="mouseenter"||H.preType==="mouseleave")a.type=H.preType,(k=b(a.relatedTarget).closest(H.selector)[0])&&b.contains(f,k)&&(k=f);(!k||k!==f)&&t.push({elem:f,
-handleObj:H,level:d.level})}}j=0;for(l=t.length;j<l;j++){s=t[j];if(g&&s.level>g)break;a.currentTarget=s.elem;a.data=s.handleObj.data;a.handleObj=s.handleObj;v=s.handleObj.origHandler.apply(s.elem,arguments);if(v===!1||a.isPropagationStopped())if(g=s.level,v===!1&&(c=!1),a.isImmediatePropagationStopped())break}return c}}function K(a,c){return(a&&a!=="*"?a+".":"")+c.replace(pa,"`").replace(u,"&")}function I(a,c,g){c=c||0;if(b.isFunction(c))return b.grep(a,function(a,b){return!!c.call(a,b,a)===g});else if(c.nodeType)return b.grep(a,
-function(a){return a===c===g});else if(typeof c==="string"){var k=b.grep(a,function(a){return a.nodeType===1});if(Ea.test(c))return b.filter(c,k,!g);else c=b.filter(c,k)}return b.grep(a,function(a){return b.inArray(a,c)>=0===g})}function G(a,c){if(c.nodeType===1&&b.hasData(a)){var g=b.expando,k=b.data(a),s=b.data(c,k);if(k=k[g]){var H=k.events,s=s[g]=b.extend({},k);if(H){delete s.handle;s.events={};for(var f in H){g=0;for(k=H[f].length;g<k;g++)b.event.add(c,f+(H[f][g].namespace?".":"")+H[f][g].namespace,
-H[f][g],H[f][g].data)}}}}}function r(a,c){var g;if(c.nodeType===1){c.clearAttributes&&c.clearAttributes();c.mergeAttributes&&c.mergeAttributes(a);g=c.nodeName.toLowerCase();if(g==="object")c.outerHTML=a.outerHTML;else if(g==="input"&&(a.type==="checkbox"||a.type==="radio")){if(a.checked)c.defaultChecked=c.checked=a.checked;if(c.value!==a.value)c.value=a.value}else if(g==="option")c.selected=a.defaultSelected;else if(g==="input"||g==="textarea")c.defaultValue=a.defaultValue;c.removeAttribute(b.expando)}}
-function o(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function A(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function V(a){b.nodeName(a,"input")?A(a):"getElementsByTagName"in a&&b.grep(a.getElementsByTagName("input"),A)}function Q(a,c){c.src?b.ajax({url:c.src,async:!1,dataType:"script"}):b.globalEval((c.text||c.textContent||c.innerHTML||"").replace(hb,"/*$0*/"));c.parentNode&&c.parentNode.removeChild(c)}
-function R(a,c,g){var k=c==="width"?a.offsetWidth:a.offsetHeight,s=c==="width"?ib:jb;if(k>0)return g!=="border"&&b.each(s,function(){g||(k-=parseFloat(b.css(a,"padding"+this))||0);g==="margin"?k+=parseFloat(b.css(a,g+this))||0:k-=parseFloat(b.css(a,"border"+this+"Width"))||0}),k+"px";k=Ja(a,c,c);if(k<0||k==null)k=a.style[c]||0;k=parseFloat(k)||0;g&&b.each(s,function(){k+=parseFloat(b.css(a,"padding"+this))||0;g!=="padding"&&(k+=parseFloat(b.css(a,"border"+this+"Width"))||0);g==="margin"&&(k+=parseFloat(b.css(a,
-g+this))||0)});return k+"px"}function S(a){return function(c,g){var Z;typeof c!=="string"&&(g=c,c="*");if(b.isFunction(g))for(var k=c.toLowerCase().split(Ya),s=0,H=k.length,f,e;s<H;s++)f=k[s],(e=/^\+/.test(f))&&(f=f.substr(1)||"*"),Z=a[f]=a[f]||[],f=Z,f[e?"unshift":"push"](g)}}function x(a,c,b,k,s,H){s=s||c.dataTypes[0];H=H||{};H[s]=!0;for(var s=a[s],f=0,e=s?s.length:0,j=a===Ua,l;f<e&&(j||!l);f++)l=s[f](c,b,k),typeof l==="string"&&(!j||H[l]?l=h:(c.dataTypes.unshift(l),l=x(a,c,b,k,l,H)));if((j||!l)&&
-!H["*"])l=x(a,c,b,k,"*",H);return l}function X(a,c,g,k){if(b.isArray(c))b.each(c,function(c,s){g||kb.test(a)?k(a,s):X(a+"["+(typeof s==="object"||b.isArray(s)?c:"")+"]",s,g,k)});else if(!g&&c!=null&&typeof c==="object")for(var s in c)X(a+"["+s+"]",c[s],g,k);else k(a,c)}function L(){try{return new d.XMLHttpRequest}catch(a){}}function fa(){setTimeout(O,0);return Ra=b.now()}function O(){Ra=h}function ga(a,c){var g={};b.each(Za.concat.apply([],Za.slice(0,c)),function(){g[this]=a});return g}function qa(a){if(!Va[a]){var c=
-y.body,g=b("<"+a+">").appendTo(c),k=g.css("display");g.remove();if(k==="none"||k===""){if(!Ca)Ca=y.createElement("iframe"),Ca.frameBorder=Ca.width=Ca.height=0;c.appendChild(Ca);if(!Ka||!Ca.createElement)Ka=(Ca.contentWindow||Ca.contentDocument).document,Ka.write((y.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),Ka.close();g=Ka.createElement(a);Ka.body.appendChild(g);k=b.css(g,"display");c.removeChild(Ca)}Va[a]=k}return Va[a]}function va(a){return b.isWindow(a)?a:a.nodeType===9?a.defaultView||
-a.parentWindow:!1}var y=d.document,T=d.navigator,Y=d.location,b=function(){function a(){if(!c.isReady){try{y.documentElement.doScroll("left")}catch(b){setTimeout(a,1);return}c.ready()}}var c=function(a,b){return new c.fn.init(a,b,s)},b=d.jQuery,k=d.$,s,f=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,e=/\S/,j=/^\s+/,l=/\s+$/,v=/\d/,t=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,M=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,P=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,W=/(?:^|:|,)(?:\s*\[)+/g,
-w=/(webkit)[ \/]([\w.]+)/,ma=/(opera)(?:.*version)?[ \/]([\w.]+)/,J=/(msie) ([\w.]+)/,ha=/(mozilla)(?:.*? rv:([\w.]+))?/,Z=/-([a-z])/ig,lb=function(a,c){return c.toUpperCase()},Qa=T.userAgent,Sa,La,mb=Object.prototype.toString,Aa=Object.prototype.hasOwnProperty,u=Array.prototype.push,o=Array.prototype.slice,za=String.prototype.trim,r=Array.prototype.indexOf,q={};c.fn=c.prototype={constructor:c,init:function(a,b,g){var k;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;
-if(a==="body"&&!b&&y.body)return this.context=y,this[0]=y.body,this.selector=a,this.length=1,this;if(typeof a==="string")if((k=a.charAt(0)==="<"&&a.charAt(a.length-1)===">"&&a.length>=3?[null,a,null]:f.exec(a))&&(k[1]||!b))if(k[1])return g=(b=b instanceof c?b[0]:b)?b.ownerDocument||b:y,(a=t.exec(a))?c.isPlainObject(b)?(a=[y.createElement(a[1])],c.fn.attr.call(a,b,!0)):a=[g.createElement(a[1])]:(a=c.buildFragment([k[1]],[g]),a=(a.cacheable?c.clone(a.fragment):a.fragment).childNodes),c.merge(this,a);
-else{if((b=y.getElementById(k[2]))&&b.parentNode){if(b.id!==k[2])return g.find(a);this.length=1;this[0]=b}this.context=y;this.selector=a;return this}else return!b||b.jquery?(b||g).find(a):this.constructor(b).find(a);else if(c.isFunction(a))return g.ready(a);if(a.selector!==h)this.selector=a.selector,this.context=a.context;return c.makeArray(a,this)},selector:"",jquery:"1.6.2",length:0,size:function(){return this.length},toArray:function(){return o.call(this,0)},get:function(a){return a==null?this.toArray():
-a<0?this[this.length+a]:this[a]},pushStack:function(a,b,g){var k=this.constructor();c.isArray(a)?u.apply(k,a):c.merge(k,a);k.prevObject=this;k.context=this.context;if(b==="find")k.selector=this.selector+(this.selector?" ":"")+g;else if(b)k.selector=this.selector+"."+b+"("+g+")";return k},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();Sa.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},
-slice:function(){return this.pushStack(o.apply(this,arguments),"slice",o.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this,function(c,b){return a.call(c,b,c)}))},end:function(){return this.prevObject||this.constructor(null)},push:u,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a,b,g,k,s,f=arguments[0]||{},H=1,Z=arguments.length,e=!1;typeof f==="boolean"&&(e=f,f=arguments[1]||{},H=2);typeof f!=="object"&&!c.isFunction(f)&&(f=
-{});Z===H&&(f=this,--H);for(;H<Z;H++)if((a=arguments[H])!=null)for(b in a)g=f[b],k=a[b],f!==k&&(e&&k&&(c.isPlainObject(k)||(s=c.isArray(k)))?(s?(s=!1,g=g&&c.isArray(g)?g:[]):g=g&&c.isPlainObject(g)?g:{},f[b]=c.extend(e,g,k)):k!==h&&(f[b]=k));return f};c.extend({noConflict:function(a){if(d.$===c)d.$=k;if(a&&d.jQuery===c)d.jQuery=b;return c},isReady:!1,readyWait:1,holdReady:function(a){a?c.readyWait++:c.ready(!0)},ready:function(a){if(a===!0&&!--c.readyWait||a!==!0&&!c.isReady){if(!y.body)return setTimeout(c.ready,
-1);c.isReady=!0;a!==!0&&--c.readyWait>0||(Sa.resolveWith(y,[c]),c.fn.trigger&&c(y).trigger("ready").unbind("ready"))}},bindReady:function(){if(!Sa){Sa=c._Deferred();if(y.readyState==="complete")return setTimeout(c.ready,1);if(y.addEventListener)y.addEventListener("DOMContentLoaded",La,!1),d.addEventListener("load",c.ready,!1);else if(y.attachEvent){y.attachEvent("onreadystatechange",La);d.attachEvent("onload",c.ready);var b=!1;try{b=d.frameElement==null}catch(g){}y.documentElement.doScroll&&b&&a()}}},
-isFunction:function(a){return c.type(a)==="function"},isArray:Array.isArray||function(a){return c.type(a)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||!v.test(a)||isNaN(a)},type:function(a){return a==null?String(a):q[mb.call(a)]||"object"},isPlainObject:function(a){if(!a||c.type(a)!=="object"||a.nodeType||c.isWindow(a))return!1;if(a.constructor&&!Aa.call(a,"constructor")&&!Aa.call(a.constructor.prototype,"isPrototypeOf"))return!1;
-for(var b in a);return b===h||Aa.call(a,b)},isEmptyObject:function(a){for(var c in a)return!1;return!0},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(d.JSON&&d.JSON.parse)return d.JSON.parse(a);if(n.test(a.replace(M,"@").replace(P,"]").replace(W,"")))return(new Function("return "+a))();c.error("Invalid JSON: "+a)},parseXML:function(a,b,g){d.DOMParser?(g=new DOMParser,b=g.parseFromString(a,"text/xml")):(b=new ActiveXObject("Microsoft.XMLDOM"),
-b.async="false",b.loadXML(a));g=b.documentElement;(!g||!g.nodeName||g.nodeName==="parsererror")&&c.error("Invalid XML: "+a);return b},noop:function(){},globalEval:function(a){a&&e.test(a)&&(d.execScript||function(a){d.eval.call(d,a)})(a)},camelCase:function(a){return a.replace(Z,lb)},nodeName:function(a,c){return a.nodeName&&a.nodeName.toUpperCase()===c.toUpperCase()},each:function(a,b,g){var k,s=0,f=a.length,H=f===h||c.isFunction(a);if(g)if(H)for(k in a){if(b.apply(a[k],g)===!1)break}else for(;s<
-f;){if(b.apply(a[s++],g)===!1)break}else if(H)for(k in a){if(b.call(a[k],k,a[k])===!1)break}else for(;s<f;)if(b.call(a[s],s,a[s++])===!1)break;return a},trim:za?function(a){return a==null?"":za.call(a)}:function(a){return a==null?"":a.toString().replace(j,"").replace(l,"")},makeArray:function(a,b){var g=b||[];if(a!=null){var k=c.type(a);a.length==null||k==="string"||k==="function"||k==="regexp"||c.isWindow(a)?u.call(g,a):c.merge(g,a)}return g},inArray:function(a,c){if(r)return r.call(c,a);for(var b=
-0,g=c.length;b<g;b++)if(c[b]===a)return b;return-1},merge:function(a,c){var b=a.length,g=0;if(typeof c.length==="number")for(var k=c.length;g<k;g++)a[b++]=c[g];else for(;c[g]!==h;)a[b++]=c[g++];a.length=b;return a},grep:function(a,c,b){for(var g=[],k,b=!!b,s=0,f=a.length;s<f;s++)k=!!c(a[s],s),b!==k&&g.push(a[s]);return g},map:function(a,b,g){var k,s,f=[],H=0,Z=a.length;if(a instanceof c||Z!==h&&typeof Z==="number"&&(Z>0&&a[0]&&a[Z-1]||Z===0||c.isArray(a)))for(;H<Z;H++)k=b(a[H],H,g),k!=null&&(f[f.length]=
-k);else for(s in a)k=b(a[s],s,g),k!=null&&(f[f.length]=k);return f.concat.apply([],f)},guid:1,proxy:function(a,b){if(typeof b==="string")var g=a[b],b=a,a=g;if(!c.isFunction(a))return h;var k=o.call(arguments,2),g=function(){return a.apply(b,k.concat(o.call(arguments)))};g.guid=a.guid=a.guid||g.guid||c.guid++;return g},access:function(a,b,g,k,s,f){var H=a.length;if(typeof b==="object"){for(var Z in b)c.access(a,Z,b[Z],k,s,g);return a}if(g!==h){k=!f&&k&&c.isFunction(g);for(Z=0;Z<H;Z++)s(a[Z],b,k?g.call(a[Z],
-Z,s(a[Z],b)):g,f);return a}return H?s(a[0],b):h},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();a=w.exec(a)||ma.exec(a)||J.exec(a)||a.indexOf("compatible")<0&&ha.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},sub:function(){function a(c,b){return new a.fn.init(c,b)}c.extend(!0,a,this);a.superclass=this;a.fn=a.prototype=this();a.fn.constructor=a;a.sub=this.sub;a.fn.init=function(g,k){k&&k instanceof c&&!(k instanceof a)&&(k=a(k));return c.fn.init.call(this,
-g,k,b)};a.fn.init.prototype=a.fn;var b=a(y);return a},browser:{}});c.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,c){q["[object "+c+"]"]=c.toLowerCase()});Qa=c.uaMatch(Qa);if(Qa.browser)c.browser[Qa.browser]=!0,c.browser.version=Qa.version;if(c.browser.webkit)c.browser.safari=!0;e.test("\u00a0")&&(j=/^[\s\xA0]+/,l=/[\s\xA0]+$/);s=c(y);y.addEventListener?La=function(){y.removeEventListener("DOMContentLoaded",La,!1);c.ready()}:y.attachEvent&&(La=function(){y.readyState===
-"complete"&&(y.detachEvent("onreadystatechange",La),c.ready())});return c}(),$="done fail isResolved isRejected promise then always pipe".split(" "),aa=[].slice;b.extend({_Deferred:function(){var a=[],c,g,k,s={done:function(){if(!k){var g=arguments,f,e,j,l,d;c&&(d=c,c=0);f=0;for(e=g.length;f<e;f++)j=g[f],l=b.type(j),l==="array"?s.done.apply(s,j):l==="function"&&a.push(j);d&&s.resolveWith(d[0],d[1])}return this},resolveWith:function(b,s){if(!k&&!c&&!g){s=s||[];g=1;try{for(;a[0];)a.shift().apply(b,
-s)}finally{c=[b,s],g=0}}return this},resolve:function(){s.resolveWith(this,arguments);return this},isResolved:function(){return!(!g&&!c)},cancel:function(){k=1;a=[];return this}};return s},Deferred:function(a){var c=b._Deferred(),g=b._Deferred(),k;b.extend(c,{then:function(a,b){c.done(a).fail(b);return this},always:function(){return c.done.apply(c,arguments).fail.apply(this,arguments)},fail:g.done,rejectWith:g.resolveWith,reject:g.resolve,isRejected:g.isResolved,pipe:function(a,g){return b.Deferred(function(k){b.each({done:[a,
-"resolve"],fail:[g,"reject"]},function(a,g){var s=g[0],f=g[1],H;if(b.isFunction(s))c[a](function(){if((H=s.apply(this,arguments))&&b.isFunction(H.promise))H.promise().then(k.resolve,k.reject);else k[f](H)});else c[a](k[f])})}).promise()},promise:function(a){if(a==null){if(k)return k;k=a={}}for(var b=$.length;b--;)a[$[b]]=c[$[b]];return a}});c.done(g.cancel).fail(c.cancel);delete c.cancel;a&&a.call(c,c);return c},when:function(a){function c(a){return function(c){g[a]=arguments.length>1?aa.call(arguments,
-0):c;--f||e.resolveWith(e,aa.call(g,0))}}var g=arguments,k=0,s=g.length,f=s,e=s<=1&&a&&b.isFunction(a.promise)?a:b.Deferred();if(s>1){for(;k<s;k++)g[k]&&b.isFunction(g[k].promise)?g[k].promise().then(c(k),e.reject):--f;f||e.resolveWith(e,g)}else e!==a&&e.resolveWith(e,s?[a]:[]);return e.promise()}});b.support=function(){var a=y.createElement("div"),c=y.documentElement,g,k,s,f,e,j;a.setAttribute("className","t");a.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";
-g=a.getElementsByTagName("*");k=a.getElementsByTagName("a")[0];if(!g||!g.length||!k)return{};s=y.createElement("select");f=s.appendChild(y.createElement("option"));g=a.getElementsByTagName("input")[0];e={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(k.getAttribute("style")),hrefNormalized:k.getAttribute("href")==="/a",opacity:/^0.55$/.test(k.style.opacity),cssFloat:!!k.style.cssFloat,
-checkOn:g.value==="on",optSelected:f.selected,getSetAttribute:a.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0};g.checked=!0;e.noCloneChecked=g.cloneNode(!0).checked;s.disabled=!0;e.optDisabled=!f.disabled;try{delete a.test}catch(l){e.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function(){e.noCloneEvent=!1}),a.cloneNode(!0).fireEvent("onclick"));
-g=y.createElement("input");g.value="t";g.setAttribute("type","radio");e.radioValue=g.value==="t";g.setAttribute("checked","checked");a.appendChild(g);k=y.createDocumentFragment();k.appendChild(a.firstChild);e.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked;a.innerHTML="";a.style.width=a.style.paddingLeft="1px";s=y.getElementsByTagName("body")[0];k=y.createElement(s?"div":"body");f={visibility:"hidden",width:0,height:0,border:0,margin:0};s&&b.extend(f,{position:"absolute",left:-1E3,top:-1E3});
-for(j in f)k.style[j]=f[j];k.appendChild(a);c=s||c;c.insertBefore(k,c.firstChild);e.appendChecked=g.checked;e.boxModel=a.offsetWidth===2;if("zoom"in a.style)a.style.display="inline",a.style.zoom=1,e.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",e.shrinkWrapBlocks=a.offsetWidth!==2;a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";s=a.getElementsByTagName("td");g=s[0].offsetHeight===0;s[0].style.display=
-"";s[1].style.display="none";e.reliableHiddenOffsets=g&&s[0].offsetHeight===0;a.innerHTML="";if(y.defaultView&&y.defaultView.getComputedStyle)g=y.createElement("div"),g.style.width="0",g.style.marginRight="0",a.appendChild(g),e.reliableMarginRight=(parseInt((y.defaultView.getComputedStyle(g,null)||{marginRight:0}).marginRight,10)||0)===0;k.innerHTML="";c.removeChild(k);if(a.attachEvent)for(j in{submit:1,change:1,focusin:1})c="on"+j,g=c in a,g||(a.setAttribute(c,"return;"),g=typeof a[c]==="function"),
-e[j+"Bubbles"]=g;k=k=s=f=s=g=a=g=null;return e}();b.boxModel=b.support.boxModel;var D=/^(?:\{.*\}|\[.*\])$/,oa=/([a-z])([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?b.cache[a[b.expando]]:a[b.expando];return!!a&&!p(a)},data:function(a,c,g,k){if(b.acceptData(a)){var s=b.expando,f=typeof c==="string",e=a.nodeType,j=e?b.cache:a,l=e?a[b.expando]:
-a[b.expando]&&b.expando;if(l&&(!k||!l||j[l][s])||!(f&&g===h)){if(!l)e?a[b.expando]=l=++b.uuid:l=b.expando;if(!j[l]&&(j[l]={},!e))j[l].toJSON=b.noop;if(typeof c==="object"||typeof c==="function")k?j[l][s]=b.extend(j[l][s],c):j[l]=b.extend(j[l],c);a=j[l];k&&(a[s]||(a[s]={}),a=a[s]);g!==h&&(a[b.camelCase(c)]=g);if(c==="events"&&!a[c])return a[s]&&a[s].events;return f?a[b.camelCase(c)]||a[c]:a}}},removeData:function(a,c,g){if(b.acceptData(a)){var k=b.expando,s=a.nodeType,f=s?b.cache:a,e=s?a[b.expando]:
-b.expando;if(f[e]){if(c){var j=g?f[e][k]:f[e];if(j&&(delete j[c],!p(j)))return}if(g&&(delete f[e][k],!p(f[e])))return;c=f[e][k];b.support.deleteExpando||f!=d?delete f[e]:f[e]=null;if(c){f[e]={};if(!s)f[e].toJSON=b.noop;f[e][k]=c}else s&&(b.support.deleteExpando?delete a[b.expando]:a.removeAttribute?a.removeAttribute(b.expando):a[b.expando]=null)}}},_data:function(a,c,g){return b.data(a,c,g,!0)},acceptData:function(a){if(a.nodeName){var c=b.noData[a.nodeName.toLowerCase()];if(c)return!(c===!0||a.getAttribute("classid")!==
-c)}return!0}});b.fn.extend({data:function(a,c){var g=null;if(typeof a==="undefined"){if(this.length&&(g=b.data(this[0]),this[0].nodeType===1))for(var k=this[0].attributes,s,f=0,e=k.length;f<e;f++)s=k[f].name,s.indexOf("data-")===0&&(s=b.camelCase(s.substring(5)),F(this[0],s,g[s]));return g}else if(typeof a==="object")return this.each(function(){b.data(this,a)});var j=a.split(".");j[1]=j[1]?"."+j[1]:"";return c===h?(g=this.triggerHandler("getData"+j[1]+"!",[j[0]]),g===h&&this.length&&(g=b.data(this[0],
-a),g=F(this[0],a,g)),g===h&&j[1]?this.data(j[0]):g):this.each(function(){var g=b(this),k=[j[0],c];g.triggerHandler("setData"+j[1]+"!",k);b.data(this,a,c);g.triggerHandler("changeData"+j[1]+"!",k)})},removeData:function(a){return this.each(function(){b.removeData(this,a)})}});b.extend({_mark:function(a,c){a&&(c=(c||"fx")+"mark",b.data(a,c,(b.data(a,c,h,!0)||0)+1,!0))},_unmark:function(a,c,g){a!==!0&&(g=c,c=a,a=!1);if(c){var g=g||"fx",k=g+"mark";(a=a?0:(b.data(c,k,h,!0)||1)-1)?b.data(c,k,a,!0):(b.removeData(c,
-k,!0),C(c,g,"mark"))}},queue:function(a,c,g){if(a){var c=(c||"fx")+"queue",k=b.data(a,c,h,!0);g&&(!k||b.isArray(g)?k=b.data(a,c,b.makeArray(g),!0):k.push(g));return k||[]}},dequeue:function(a,c){var c=c||"fx",g=b.queue(a,c),k=g.shift();k==="inprogress"&&(k=g.shift());k&&(c==="fx"&&g.unshift("inprogress"),k.call(a,function(){b.dequeue(a,c)}));g.length||(b.removeData(a,c+"queue",!0),C(a,c,"queue"))}});b.fn.extend({queue:function(a,c){typeof a!=="string"&&(c=a,a="fx");if(c===h)return b.queue(this[0],
-a);return this.each(function(){var g=b.queue(this,a,c);a==="fx"&&g[0]!=="inprogress"&&b.dequeue(this,a)})},dequeue:function(a){return this.each(function(){b.dequeue(this,a)})},delay:function(a,c){a=b.fx?b.fx.speeds[a]||a:a;c=c||"fx";return this.queue(c,function(){var g=this;setTimeout(function(){b.dequeue(g,c)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a){function c(){--f||g.resolveWith(k,[k])}typeof a!=="string"&&(a=h);var a=a||"fx",g=b.Deferred(),k=this,s=k.length,
-f=1,e=a+"defer",j=a+"queue";a+="mark";for(var l;s--;)if(l=b.data(k[s],e,h,!0)||(b.data(k[s],j,h,!0)||b.data(k[s],a,h,!0))&&b.data(k[s],e,b._Deferred(),!0))f++,l.done(c);c();return g.promise()}});var ja=/[\n\t\r]/g,ba=/\s+/,ra=/\r/g,wa=/^(?:button|input)$/i,Ma=/^(?:button|input|object|select|textarea)$/i,e=/^a(?:rea)?$/i,t=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,w=/\:|^on/,J,n;b.fn.extend({attr:function(a,c){return b.access(this,
-a,c,!0,b.attr)},removeAttr:function(a){return this.each(function(){b.removeAttr(this,a)})},prop:function(a,c){return b.access(this,a,c,!0,b.prop)},removeProp:function(a){a=b.propFix[a]||a;return this.each(function(){try{this[a]=h,delete this[a]}catch(c){}})},addClass:function(a){var c,g,k,s,f,e,j;if(b.isFunction(a))return this.each(function(c){b(this).addClass(a.call(this,c,this.className))});if(a&&typeof a==="string"){c=a.split(ba);g=0;for(k=this.length;g<k;g++)if(s=this[g],s.nodeType===1)if(!s.className&&
-c.length===1)s.className=a;else{f=" "+s.className+" ";e=0;for(j=c.length;e<j;e++)~f.indexOf(" "+c[e]+" ")||(f+=c[e]+" ");s.className=b.trim(f)}}return this},removeClass:function(a){var c,g,k,s,f,e,j;if(b.isFunction(a))return this.each(function(c){b(this).removeClass(a.call(this,c,this.className))});if(a&&typeof a==="string"||a===h){c=(a||"").split(ba);g=0;for(k=this.length;g<k;g++)if(s=this[g],s.nodeType===1&&s.className)if(a){f=(" "+s.className+" ").replace(ja," ");e=0;for(j=c.length;e<j;e++)f=f.replace(" "+
-c[e]+" "," ");s.className=b.trim(f)}else s.className=""}return this},toggleClass:function(a,c){var g=typeof a,k=typeof c==="boolean";if(b.isFunction(a))return this.each(function(g){b(this).toggleClass(a.call(this,g,this.className,c),c)});return this.each(function(){if(g==="string")for(var s,f=0,e=b(this),j=c,l=a.split(ba);s=l[f++];)j=k?j:!e.hasClass(s),e[j?"addClass":"removeClass"](s);else if(g==="undefined"||g==="boolean")this.className&&b._data(this,"__className__",this.className),this.className=
-this.className||a===!1?"":b._data(this,"__className__")||""})},hasClass:function(a){for(var a=" "+a+" ",c=0,b=this.length;c<b;c++)if((" "+this[c].className+" ").replace(ja," ").indexOf(a)>-1)return!0;return!1},val:function(a){var c,g,k=this[0];if(!arguments.length){if(k){if((c=b.valHooks[k.nodeName.toLowerCase()]||b.valHooks[k.type])&&"get"in c&&(g=c.get(k,"value"))!==h)return g;g=k.value;return typeof g==="string"?g.replace(ra,""):g==null?"":g}return h}var s=b.isFunction(a);return this.each(function(g){var k=
-b(this);if(this.nodeType===1&&(g=s?a.call(this,g,k.val()):a,g==null?g="":typeof g==="number"?g+="":b.isArray(g)&&(g=b.map(g,function(a){return a==null?"":a+""})),c=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type],!c||!("set"in c)||c.set(this,g,"value")===h))this.value=g})}});b.extend({valHooks:{option:{get:function(a){var c=a.attributes.value;return!c||c.specified?a.value:a.text}},select:{get:function(a){var c,g=a.selectedIndex,k=[],s=a.options,a=a.type==="select-one";if(g<0)return null;
-for(var f=a?g:0,e=a?g+1:s.length;f<e;f++)if(c=s[f],c.selected&&(b.support.optDisabled?!c.disabled:c.getAttribute("disabled")===null)&&(!c.parentNode.disabled||!b.nodeName(c.parentNode,"optgroup"))){c=b(c).val();if(a)return c;k.push(c)}if(a&&!k.length&&s.length)return b(s[g]).val();return k},set:function(a,c){var g=b.makeArray(c);b(a).find("option").each(function(){this.selected=b.inArray(b(this).val(),g)>=0});if(!g.length)a.selectedIndex=-1;return g}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,
-width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(a,c,g,k){var s=a.nodeType;if(!a||s===3||s===8||s===2)return h;if(k&&c in b.attrFn)return b(a)[c](g);if(!("getAttribute"in a))return b.prop(a,c,g);var f,e;if(k=s!==1||!b.isXMLDoc(a))if(c=b.attrFix[c]||c,e=b.attrHooks[c],!e)if(t.test(c))e=n;else if(J&&c!=="className"&&(b.nodeName(a,"form")||w.test(c)))e=J;return g!==h?g===null?(b.removeAttr(a,c),h):e&&"set"in e&&k&&(f=e.set(a,g,c))!==h?f:(a.setAttribute(c,""+g),g):e&&"get"in e&&
-k&&(f=e.get(a,c))!==null?f:(f=a.getAttribute(c),f===null?h:f)},removeAttr:function(a,c){var g;if(a.nodeType===1&&(c=b.attrFix[c]||c,b.support.getSetAttribute?a.removeAttribute(c):(b.attr(a,c,""),a.removeAttributeNode(a.getAttributeNode(c))),t.test(c)&&(g=b.propFix[c]||c)in a))a[g]=!1},attrHooks:{type:{set:function(a,c){if(wa.test(a.nodeName)&&a.parentNode)b.error("type property can't be changed");else if(!b.support.radioValue&&c==="radio"&&b.nodeName(a,"input")){var g=a.value;a.setAttribute("type",
-c);if(g)a.value=g;return c}}},tabIndex:{get:function(a){var c=a.getAttributeNode("tabIndex");return c&&c.specified?parseInt(c.value,10):Ma.test(a.nodeName)||e.test(a.nodeName)&&a.href?0:h}},value:{get:function(a,c){if(J&&b.nodeName(a,"button"))return J.get(a,c);return c in a?a.value:null},set:function(a,c,g){if(J&&b.nodeName(a,"button"))return J.set(a,c,g);a.value=c}}},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(a,c,g){var k=a.nodeType;if(!a||k===3||k===8||k===2)return h;var f,e;if(k!==1||!b.isXMLDoc(a))c=b.propFix[c]||c,e=b.propHooks[c];return g!==h?e&&"set"in e&&(f=e.set(a,g,c))!==h?f:a[c]=g:e&&"get"in e&&(f=e.get(a,c))!==h?f:a[c]},propHooks:{}});n={get:function(a,c){return b.prop(a,c)?c.toLowerCase():h},set:function(a,c,g){c===!1?b.removeAttr(a,g):(c=
-b.propFix[g]||g,c in a&&(a[c]=!0),a.setAttribute(g,g.toLowerCase()));return g}};if(!b.support.getSetAttribute)b.attrFix=b.propFix,J=b.attrHooks.name=b.attrHooks.title=b.valHooks.button={get:function(a,c){var b;return(b=a.getAttributeNode(c))&&b.nodeValue!==""?b.nodeValue:h},set:function(a,c,b){if(a=a.getAttributeNode(b))return a.nodeValue=c}},b.each(["width","height"],function(a,c){b.attrHooks[c]=b.extend(b.attrHooks[c],{set:function(a,b){if(b==="")return a.setAttribute(c,"auto"),b}})});b.support.hrefNormalized||
-b.each(["href","src","width","height"],function(a,c){b.attrHooks[c]=b.extend(b.attrHooks[c],{get:function(a){a=a.getAttribute(c,2);return a===null?h:a}})});if(!b.support.style)b.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||h},set:function(a,c){return a.style.cssText=""+c}};if(!b.support.optSelected)b.propHooks.selected=b.extend(b.propHooks.selected,{get:function(){}});b.support.checkOn||b.each(["radio","checkbox"],function(){b.valHooks[this]={get:function(a){return a.getAttribute("value")===
-null?"on":a.value}}});b.each(["radio","checkbox"],function(){b.valHooks[this]=b.extend(b.valHooks[this],{set:function(a,c){if(b.isArray(c))return a.checked=b.inArray(b(a).val(),c)>=0}})});var Ba=/\.(.*)$/,ca=/^(?:textarea|input|select)$/i,pa=/\./g,u=/ /g,da=/[^\w\s.|`]/g,ia=function(a){return a.replace(da,"\\$&")};b.event={add:function(a,c,g,k){if(!(a.nodeType===3||a.nodeType===8)){if(g===!1)g=B;else if(!g)return;var f,e;if(g.handler)f=g,g=f.handler;if(!g.guid)g.guid=b.guid++;if(e=b._data(a)){var j=
-e.events,l=e.handle;if(!j)e.events=j={};if(!l)e.handle=l=function(a){return typeof b!=="undefined"&&(!a||b.event.triggered!==a.type)?b.event.handle.apply(l.elem,arguments):h};l.elem=a;for(var c=c.split(" "),d,v=0,t;d=c[v++];){e=f?b.extend({},f):{handler:g,data:k};d.indexOf(".")>-1?(t=d.split("."),d=t.shift(),e.namespace=t.slice(0).sort().join(".")):(t=[],e.namespace="");e.type=d;if(!e.guid)e.guid=g.guid;var n=j[d],M=b.event.special[d]||{};if(!n&&(n=j[d]=[],!M.setup||M.setup.call(a,k,t,l)===!1))a.addEventListener?
-a.addEventListener(d,l,!1):a.attachEvent&&a.attachEvent("on"+d,l);if(M.add&&(M.add.call(a,e),!e.handler.guid))e.handler.guid=g.guid;n.push(e);b.event.global[d]=!0}a=null}}},global:{},remove:function(a,c,g,k){if(!(a.nodeType===3||a.nodeType===8)){g===!1&&(g=B);var f,e,j=0,l,d,t,v,n,M,P=b.hasData(a)&&b._data(a),W=P&&P.events;if(P&&W){if(c&&c.type)g=c.handler,c=c.type;if(!c||typeof c==="string"&&c.charAt(0)===".")for(f in c=c||"",W)b.event.remove(a,f+c);else{for(c=c.split(" ");f=c[j++];)if(v=f,l=f.indexOf(".")<
-0,d=[],l||(d=f.split("."),f=d.shift(),t=RegExp("(^|\\.)"+b.map(d.slice(0).sort(),ia).join("\\.(?:.*\\.)?")+"(\\.|$)")),n=W[f])if(g){v=b.event.special[f]||{};for(e=k||0;e<n.length;e++)if(M=n[e],g.guid===M.guid){if(l||t.test(M.namespace))k==null&&n.splice(e--,1),v.remove&&v.remove.call(a,M);if(k!=null)break}if(n.length===0||k!=null&&n.length===1)(!v.teardown||v.teardown.call(a,d)===!1)&&b.removeEvent(a,f,P.handle),delete W[f]}else for(e=0;e<n.length;e++)if(M=n[e],l||t.test(M.namespace))b.event.remove(a,
-v,M.handler,e),n.splice(e--,1);if(b.isEmptyObject(W)){if(c=P.handle)c.elem=null;delete P.events;delete P.handle;b.isEmptyObject(P)&&b.removeData(a,h,!0)}}}}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(a,c,g,k){var f=a.type||a,e=[],j;f.indexOf("!")>=0&&(f=f.slice(0,-1),j=!0);f.indexOf(".")>=0&&(e=f.split("."),f=e.shift(),e.sort());if(g&&!b.event.customEvent[f]||b.event.global[f]){a=typeof a==="object"?a[b.expando]?a:new b.Event(f,a):new b.Event(f);a.type=f;a.exclusive=j;a.namespace=
-e.join(".");a.namespace_re=RegExp("(^|\\.)"+e.join("\\.(?:.*\\.)?")+"(\\.|$)");if(k||!g)a.preventDefault(),a.stopPropagation();if(g){if(!(g.nodeType===3||g.nodeType===8)){a.result=h;a.target=g;c=c!=null?b.makeArray(c):[];c.unshift(a);e=g;k=f.indexOf(":")<0?"on"+f:"";do{j=b._data(e,"handle");a.currentTarget=e;j&&j.apply(e,c);if(k&&b.acceptData(e)&&e[k]&&e[k].apply(e,c)===!1)a.result=!1,a.preventDefault();e=e.parentNode||e.ownerDocument||e===a.target.ownerDocument&&d}while(e&&!a.isPropagationStopped());
-if(!a.isDefaultPrevented()){var l,e=b.event.special[f]||{};if((!e._default||e._default.call(g.ownerDocument,a)===!1)&&!(f==="click"&&b.nodeName(g,"a"))&&b.acceptData(g)){try{if(k&&g[f])(l=g[k])&&(g[k]=null),b.event.triggered=f,g[f]()}catch(v){}l&&(g[k]=l);b.event.triggered=h}}return a.result}}else b.each(b.cache,function(){var g=this[b.expando];g&&g.events&&g.events[f]&&b.event.trigger(a,c,g.handle.elem)})}},handle:function(a){var a=b.event.fix(a||d.event),c=((b._data(this,"events")||{})[a.type]||
-[]).slice(0),g=!a.exclusive&&!a.namespace,k=Array.prototype.slice.call(arguments,0);k[0]=a;a.currentTarget=this;for(var f=0,e=c.length;f<e;f++){var j=c[f];if(g||a.namespace_re.test(j.namespace)){a.handler=j.handler;a.data=j.data;a.handleObj=j;j=j.handler.apply(this,k);if(j!==h)a.result=j,j===!1&&(a.preventDefault(),a.stopPropagation());if(a.isImmediatePropagationStopped())break}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
-fix:function(a){if(a[b.expando])return a;for(var c=a,a=b.Event(c),g=this.props.length,k;g;)k=this.props[--g],a[k]=c[k];if(!a.target)a.target=a.srcElement||y;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null)g=a.target.ownerDocument||y,c=g.documentElement,g=g.body,a.pageX=a.clientX+(c&&c.scrollLeft||g&&g.scrollLeft||0)-(c&&c.clientLeft||g&&g.clientLeft||0),a.pageY=
-a.clientY+(c&&c.scrollTop||g&&g.scrollTop||0)-(c&&c.clientTop||g&&g.clientTop||0);if(a.which==null&&(a.charCode!=null||a.keyCode!=null))a.which=a.charCode!=null?a.charCode:a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==h)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:b.proxy,special:{ready:{setup:b.bindReady,teardown:b.noop},live:{add:function(a){b.event.add(this,K(a.origType,a.selector),b.extend({},a,{handler:N,guid:a.handler.guid}))},remove:function(a){b.event.remove(this,
-K(a.origType,a.selector),a)}},beforeunload:{setup:function(a,c,g){if(b.isWindow(this))this.onbeforeunload=g},teardown:function(a,c){if(this.onbeforeunload===c)this.onbeforeunload=null}}}};b.removeEvent=y.removeEventListener?function(a,c,b){a.removeEventListener&&a.removeEventListener(c,b,!1)}:function(a,c,b){a.detachEvent&&a.detachEvent("on"+c,b)};b.Event=function(a,c){if(!this.preventDefault)return new b.Event(a,c);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||
-a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?q:B):this.type=a;c&&b.extend(this,c);this.timeStamp=b.now();this[b.expando]=!0};b.Event.prototype={preventDefault:function(){this.isDefaultPrevented=q;var a=this.originalEvent;if(a)a.preventDefault?a.preventDefault():a.returnValue=!1},stopPropagation:function(){this.isPropagationStopped=q;var a=this.originalEvent;if(a)a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=
-q;this.stopPropagation()},isDefaultPrevented:B,isPropagationStopped:B,isImmediatePropagationStopped:B};var ka=function(a){var c=a.relatedTarget,g=!1,k=a.type;a.type=a.data;if(c!==this&&(c&&(g=b.contains(this,c)),!g))b.event.handle.apply(this,arguments),a.type=k},E=function(a){a.type=a.data;b.event.handle.apply(this,arguments)};b.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,c){b.event.special[a]={setup:function(g){b.event.add(this,c,g&&g.selector?E:ka,a)},teardown:function(a){b.event.remove(this,
-c,a&&a.selector?E:ka)}}});if(!b.support.submitBubbles)b.event.special.submit={setup:function(){if(b.nodeName(this,"form"))return!1;else b.event.add(this,"click.specialSubmit",function(a){var c=a.target,g=c.type;(g==="submit"||g==="image")&&b(c).closest("form").length&&z("submit",this,arguments)}),b.event.add(this,"keypress.specialSubmit",function(a){var c=a.target,g=c.type;(g==="text"||g==="password")&&b(c).closest("form").length&&a.keyCode===13&&z("submit",this,arguments)})},teardown:function(){b.event.remove(this,
-".specialSubmit")}};if(!b.support.changeBubbles){var ea,la=function(a){var c=a.type,g=a.value;if(c==="radio"||c==="checkbox")g=a.checked;else if(c==="select-multiple")g=a.selectedIndex>-1?b.map(a.options,function(a){return a.selected}).join("-"):"";else if(b.nodeName(a,"select"))g=a.selectedIndex;return g},xa=function(a,c){var g=a.target,k,f;if(ca.test(g.nodeName)&&!g.readOnly&&(k=b._data(g,"_change_data"),f=la(g),(a.type!=="focusout"||g.type!=="radio")&&b._data(g,"_change_data",f),!(k===h||f===k)))if(k!=
-null||f)a.type="change",a.liveFired=h,b.event.trigger(a,c,g)};b.event.special.change={filters:{focusout:xa,beforedeactivate:xa,click:function(a){var c=a.target,g=b.nodeName(c,"input")?c.type:"";(g==="radio"||g==="checkbox"||b.nodeName(c,"select"))&&xa.call(this,a)},keydown:function(a){var c=a.target,g=b.nodeName(c,"input")?c.type:"";(a.keyCode===13&&!b.nodeName(c,"textarea")||a.keyCode===32&&(g==="checkbox"||g==="radio")||g==="select-multiple")&&xa.call(this,a)},beforeactivate:function(a){a=a.target;
-b._data(a,"_change_data",la(a))}},setup:function(){if(this.type==="file")return!1;for(var a in ea)b.event.add(this,a+".specialChange",ea[a]);return ca.test(this.nodeName)},teardown:function(){b.event.remove(this,".specialChange");return ca.test(this.nodeName)}};ea=b.event.special.change.filters;ea.focus=ea.beforeactivate}b.support.focusinBubbles||b.each({focus:"focusin",blur:"focusout"},function(a,c){function g(a){var g=b.event.fix(a);g.type=c;g.originalEvent={};b.event.trigger(g,null,g.target);g.isDefaultPrevented()&&
-a.preventDefault()}var k=0;b.event.special[c]={setup:function(){k++===0&&y.addEventListener(a,g,!0)},teardown:function(){--k===0&&y.removeEventListener(a,g,!0)}}});b.each(["bind","one"],function(a,c){b.fn[c]=function(a,k,f){var e;if(typeof a==="object"){for(var j in a)this[c](j,k,a[j],f);return this}if(arguments.length===2||k===!1)f=k,k=h;c==="one"?(e=function(a){b(this).unbind(a,e);return f.apply(this,arguments)},e.guid=f.guid||b.guid++):e=f;if(a==="unload"&&c!=="one")this.one(a,k,f);else{j=0;for(var l=
-this.length;j<l;j++)b.event.add(this[j],a,e,k)}return this}});b.fn.extend({unbind:function(a,c){if(typeof a==="object"&&!a.preventDefault)for(var g in a)this.unbind(g,a[g]);else{g=0;for(var k=this.length;g<k;g++)b.event.remove(this[g],a,c)}return this},delegate:function(a,c,b,k){return this.live(c,b,k,a)},undelegate:function(a,c,b){return arguments.length===0?this.unbind("live"):this.die(c,null,b,a)},trigger:function(a,c){return this.each(function(){b.event.trigger(a,c,this)})},triggerHandler:function(a,
-c){if(this[0])return b.event.trigger(a,c,this[0],!0)},toggle:function(a){var c=arguments,g=a.guid||b.guid++,k=0,f=function(g){var f=(b.data(this,"lastToggle"+a.guid)||0)%k;b.data(this,"lastToggle"+a.guid,f+1);g.preventDefault();return c[f].apply(this,arguments)||!1};for(f.guid=g;k<c.length;)c[k++].guid=g;return this.click(f)},hover:function(a,c){return this.mouseenter(a).mouseleave(c||a)}});var sa={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};b.each(["live","die"],
-function(a,c){b.fn[c]=function(a,k,f,e){var j=0,l,d,v=e||this.selector,t=e?this:b(this.context);if(typeof a==="object"&&!a.preventDefault){for(l in a)t[c](l,k,a[l],v);return this}if(c==="die"&&!a&&e&&e.charAt(0)===".")return t.unbind(e),this;if(k===!1||b.isFunction(k))f=k||B,k=h;for(a=(a||"").split(" ");(e=a[j++])!=null;)if(l=Ba.exec(e),d="",l&&(d=l[0],e=e.replace(Ba,"")),e==="hover")a.push("mouseenter"+d,"mouseleave"+d);else if(l=e,sa[e]?(a.push(sa[e]+d),e+=d):e=(sa[e]||e)+d,c==="live"){d=0;for(var n=
-t.length;d<n;d++)b.event.add(t[d],"live."+K(e,v),{data:k,selector:v,handler:f,origType:e,origHandler:f,preType:l})}else t.unbind("live."+K(e,v),f);return this}});b.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,c){b.fn[c]=function(a,b){b==null&&(b=a,a=null);return arguments.length>0?this.bind(c,a,b):this.trigger(c)};b.attrFn&&(b.attrFn[c]=
-!0)});(function(){function a(a,c,b,g,k,f){for(var k=0,e=g.length;k<e;k++){var s=g[k];if(s){for(var j=!1,s=s[a];s;){if(s.sizcache===b){j=g[s.sizset];break}if(s.nodeType===1&&!f)s.sizcache=b,s.sizset=k;if(s.nodeName.toLowerCase()===c){j=s;break}s=s[a]}g[k]=j}}}function c(a,c,b,g,k,f){for(var k=0,e=g.length;k<e;k++){var s=g[k];if(s){for(var j=!1,s=s[a];s;){if(s.sizcache===b){j=g[s.sizset];break}if(s.nodeType===1){if(!f)s.sizcache=b,s.sizset=k;if(typeof c!=="string"){if(s===c){j=!0;break}}else if(v.filter(c,
-[s]).length>0){j=s;break}}s=s[a]}g[k]=j}}}var g=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,k=0,f=Object.prototype.toString,e=!1,j=!0,l=/\\/g,d=/\W/;[0,0].sort(function(){j=!1;return 0});var v=function(a,c,b,k){var b=b||[],e=c=c||y;if(c.nodeType!==1&&c.nodeType!==9)return[];if(!a||typeof a!=="string")return b;var j,l,d,M,H,P=!0,h=v.isXML(c),w=[],ma=a;do if(g.exec(""),j=g.exec(ma))if(ma=j[3],w.push(j[1]),j[2]){M=
-j[3];break}while(j);if(w.length>1&&n.exec(a))if(w.length===2&&t.relative[w[0]])l=ha(w[0]+w[1],c);else for(l=t.relative[w[0]]?[c]:v(w.shift(),c);w.length;)a=w.shift(),t.relative[a]&&(a+=w.shift()),l=ha(a,l);else if(!k&&w.length>1&&c.nodeType===9&&!h&&t.match.ID.test(w[0])&&!t.match.ID.test(w[w.length-1])&&(j=v.find(w.shift(),c,h),c=j.expr?v.filter(j.expr,j.set)[0]:j.set[0]),c){j=k?{expr:w.pop(),set:W(k)}:v.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&c.parentNode?c.parentNode:c,h);l=j.expr?
-v.filter(j.expr,j.set):j.set;for(w.length>0?d=W(l):P=!1;w.length;)j=H=w.pop(),t.relative[H]?j=w.pop():H="",j==null&&(j=c),t.relative[H](d,j,h)}else d=[];d||(d=l);d||v.error(H||a);if(f.call(d)==="[object Array]")if(P)if(c&&c.nodeType===1)for(a=0;d[a]!=null;a++)d[a]&&(d[a]===!0||d[a].nodeType===1&&v.contains(c,d[a]))&&b.push(l[a]);else for(a=0;d[a]!=null;a++)d[a]&&d[a].nodeType===1&&b.push(l[a]);else b.push.apply(b,d);else W(d,b);M&&(v(M,e,b,k),v.uniqueSort(b));return b};v.uniqueSort=function(a){if(ma&&
-(e=j,a.sort(ma),e))for(var c=1;c<a.length;c++)a[c]===a[c-1]&&a.splice(c--,1);return a};v.matches=function(a,c){return v(a,null,null,c)};v.matchesSelector=function(a,c){return v(c,null,null,[a]).length>0};v.find=function(a,c,b){var g;if(!a)return[];for(var k=0,f=t.order.length;k<f;k++){var e,s=t.order[k];if(e=t.leftMatch[s].exec(a)){var j=e[1];e.splice(1,1);if(j.substr(j.length-1)!=="\\"&&(e[1]=(e[1]||"").replace(l,""),g=t.find[s](e,c,b),g!=null)){a=a.replace(t.match[s],"");break}}}g||(g=typeof c.getElementsByTagName!==
-"undefined"?c.getElementsByTagName("*"):[]);return{set:g,expr:a}};v.filter=function(a,c,b,g){for(var k,f,e=a,s=[],j=c,l=c&&c[0]&&v.isXML(c[0]);a&&c.length;){for(var d in t.filter)if((k=t.leftMatch[d].exec(a))!=null&&k[2]){var n,M,H=t.filter[d];M=k[1];f=!1;k.splice(1,1);if(M.substr(M.length-1)!=="\\"){j===s&&(s=[]);if(t.preFilter[d])if(k=t.preFilter[d](k,j,b,s,g,l)){if(k===!0)continue}else f=n=!0;if(k)for(var P=0;(M=j[P])!=null;P++)if(M){n=H(M,k,P,j);var w=g^!!n;b&&n!=null?w?f=!0:j[P]=!1:w&&(s.push(M),
-f=!0)}if(n!==h){b||(j=s);a=a.replace(t.match[d],"");if(!f)return[];break}}}if(a===e)if(f==null)v.error(a);else break;e=a}return j};v.error=function(a){throw"Syntax error, unrecognized expression: "+a;};var t=v.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,
+(function(d,j){function C(a,c,h){if(h===j&&a.nodeType===1)if(h="data-"+c.replace(fa,"$1-$2").toLowerCase(),h=a.getAttribute(h),typeof h==="string"){try{h=h==="true"?!0:h==="false"?!1:h==="null"?null:!b.isNaN(h)?parseFloat(h):H.test(h)?b.parseJSON(h):h}catch(k){}b.data(a,c,h)}else h=j;return h}function n(a){for(var c in a)if(c!=="toJSON")return!1;return!0}function G(a,c,h){var k=c+"defer",t=c+"queue",J=c+"mark",f=b.data(a,k,j,!0);f&&(h==="queue"||!b.data(a,t,j,!0))&&(h==="mark"||!b.data(a,J,j,!0))&&
+setTimeout(function(){!b.data(a,t,j,!0)&&!b.data(a,J,j,!0)&&(b.removeData(a,k,!0),f.resolve())},0)}function F(){return!1}function l(){return!0}function v(a,c,h){var k=b.extend({},h[0]);k.type=a;k.originalEvent={};k.liveFired=j;b.event.handle.call(c,k);k.isDefaultPrevented()&&h[0].preventDefault()}function z(a){var c,h,k,t,J,f,d,e,g,o,u,x=[];t=[];J=b._data(this,"events");if(!(a.liveFired===this||!J||!J.live||a.target.disabled||a.button&&a.type==="click")){a.namespace&&(u=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+
+"(\\.|$)"));a.liveFired=this;var p=J.live.slice(0);for(d=0;d<p.length;d++)J=p[d],J.origType.replace(ka,"")===a.type?t.push(J.selector):p.splice(d--,1);t=b(a.target).closest(t,a.currentTarget);for(e=0,g=t.length;e<g;e++){o=t[e];for(d=0;d<p.length;d++)if(J=p[d],o.selector===J.selector&&(!u||u.test(J.namespace))&&!o.elem.disabled){f=o.elem;k=null;if(J.preType==="mouseenter"||J.preType==="mouseleave")a.type=J.preType,(k=b(a.relatedTarget).closest(J.selector)[0])&&b.contains(f,k)&&(k=f);(!k||k!==f)&&x.push({elem:f,
+handleObj:J,level:o.level})}}for(e=0,g=x.length;e<g;e++){t=x[e];if(h&&t.level>h)break;a.currentTarget=t.elem;a.data=t.handleObj.data;a.handleObj=t.handleObj;u=t.handleObj.origHandler.apply(t.elem,arguments);if(u===!1||a.isPropagationStopped())if(h=t.level,u===!1&&(c=!1),a.isImmediatePropagationStopped())break}return c}}function S(a,c){return(a&&a!=="*"?a+".":"")+c.replace(qa,"`").replace(s,"&")}function M(a,c,h){c=c||0;if(b.isFunction(c))return b.grep(a,function(a,b){return!!c.call(a,b,a)===h});else if(c.nodeType)return b.grep(a,
+function(a){return a===c===h});else if(typeof c==="string"){var k=b.grep(a,function(a){return a.nodeType===1});if(Ha.test(c))return b.filter(c,k,!h);else c=b.filter(c,k)}return b.grep(a,function(a){return b.inArray(a,c)>=0===h})}function R(a,c){if(c.nodeType===1&&b.hasData(a)){var h=b.expando,k=b.data(a),t=b.data(c,k);if(k=k[h]){var J=k.events,t=t[h]=b.extend({},k);if(J){delete t.handle;t.events={};for(var f in J){h=0;for(k=J[f].length;h<k;h++)b.event.add(c,f+(J[f][h].namespace?".":"")+J[f][h].namespace,
+J[f][h],J[f][h].data)}}}}}function K(a,c){var h;if(c.nodeType===1){c.clearAttributes&&c.clearAttributes();c.mergeAttributes&&c.mergeAttributes(a);h=c.nodeName.toLowerCase();if(h==="object")c.outerHTML=a.outerHTML;else if(h==="input"&&(a.type==="checkbox"||a.type==="radio")){if(a.checked)c.defaultChecked=c.checked=a.checked;if(c.value!==a.value)c.value=a.value}else if(h==="option")c.selected=a.defaultSelected;else if(h==="input"||h==="textarea")c.defaultValue=a.defaultValue;c.removeAttribute(b.expando)}}
+function L(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function w(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function D(a){b.nodeName(a,"input")?w(a):"getElementsByTagName"in a&&b.grep(a.getElementsByTagName("input"),w)}function pa(a,c){c.src?b.ajax({url:c.src,async:!1,dataType:"script"}):b.globalEval((c.text||c.textContent||c.innerHTML||"").replace(gb,"/*$0*/"));c.parentNode&&c.parentNode.removeChild(c)}
+function T(a,c,h){var k=c==="width"?a.offsetWidth:a.offsetHeight,t=c==="width"?hb:ib;if(k>0)return h!=="border"&&b.each(t,function(){h||(k-=parseFloat(b.css(a,"padding"+this))||0);h==="margin"?k+=parseFloat(b.css(a,h+this))||0:k-=parseFloat(b.css(a,"border"+this+"Width"))||0}),k+"px";k=Ka(a,c,c);if(k<0||k==null)k=a.style[c]||0;k=parseFloat(k)||0;h&&b.each(t,function(){k+=parseFloat(b.css(a,"padding"+this))||0;h!=="padding"&&(k+=parseFloat(b.css(a,"border"+this+"Width"))||0);h==="margin"&&(k+=parseFloat(b.css(a,
+h+this))||0)});return k+"px"}function A(a){return function(c,h){var aa;typeof c!=="string"&&(h=c,c="*");if(b.isFunction(h))for(var k=c.toLowerCase().split(Xa),t=0,J=k.length,f,d;t<J;t++)f=k[t],(d=/^\+/.test(f))&&(f=f.substr(1)||"*"),aa=a[f]=a[f]||[],f=aa,f[d?"unshift":"push"](h)}}function N(a,c,b,k,t,J){t=t||c.dataTypes[0];J=J||{};J[t]=!0;for(var t=a[t],f=0,d=t?t.length:0,e=a===Ta,g;f<d&&(e||!g);f++)g=t[f](c,b,k),typeof g==="string"&&(!e||J[g]?g=j:(c.dataTypes.unshift(g),g=N(a,c,b,k,g,J)));if((e||
+!g)&&!J["*"])g=N(a,c,b,k,"*",J);return g}function Y(a,c,h,k){if(b.isArray(c))b.each(c,function(c,t){h||jb.test(a)?k(a,t):Y(a+"["+(typeof t==="object"||b.isArray(t)?c:"")+"]",t,h,k)});else if(!h&&c!=null&&typeof c==="object")for(var t in c)Y(a+"["+t+"]",c[t],h,k);else k(a,c)}function y(){try{return new d.XMLHttpRequest}catch(a){}}function ra(){setTimeout(I,0);return Ra=b.now()}function I(){Ra=j}function ia(a,c){var h={};b.each(Ya.concat.apply([],Ya.slice(0,c)),function(){h[this]=a});return h}function sa(a){if(!Ua[a]){var c=
+B.body,h=b("<"+a+">").appendTo(c),k=h.css("display");h.remove();if(k==="none"||k===""){if(!Da)Da=B.createElement("iframe"),Da.frameBorder=Da.width=Da.height=0;c.appendChild(Da);if(!La||!Da.createElement)La=(Da.contentWindow||Da.contentDocument).document,La.write((B.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),La.close();h=La.createElement(a);La.body.appendChild(h);k=b.css(h,"display");c.removeChild(Da)}Ua[a]=k}return Ua[a]}function Ba(a){return b.isWindow(a)?a:a.nodeType===9?a.defaultView||
+a.parentWindow:!1}var B=d.document,U=d.navigator,la=d.location,b=function(){function a(){if(!c.isReady){try{B.documentElement.doScroll("left")}catch(b){setTimeout(a,1);return}c.ready()}}var c=function(a,b){return new c.fn.init(a,b,t)},b=d.jQuery,k=d.$,t,f=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,e=/\S/,g=/^\s+/,o=/\s+$/,u=/\d/,x=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,p=/^[\],:{}\s]*$/,q=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,r=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,O=/(?:^|:|,)(?:\s*\[)+/g,
+wa=/(webkit)[ \/]([\w.]+)/,P=/(opera)(?:.*version)?[ \/]([\w.]+)/,s=/(msie) ([\w.]+)/,X=/(mozilla)(?:.*? rv:([\w.]+))?/,aa=/-([a-z])/ig,kb=function(a,c){return c.toUpperCase()},Qa=U.userAgent,ca,Ma,lb=Object.prototype.toString,W=Object.prototype.hasOwnProperty,Q=Array.prototype.push,l=Array.prototype.slice,ha=String.prototype.trim,v=Array.prototype.indexOf,w={};c.fn=c.prototype={constructor:c,init:function(a,b,h){var k;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;
+if(a==="body"&&!b&&B.body)return this.context=B,this[0]=B.body,this.selector=a,this.length=1,this;if(typeof a==="string")if((k=a.charAt(0)==="<"&&a.charAt(a.length-1)===">"&&a.length>=3?[null,a,null]:f.exec(a))&&(k[1]||!b))if(k[1])return h=(b=b instanceof c?b[0]:b)?b.ownerDocument||b:B,(a=x.exec(a))?c.isPlainObject(b)?(a=[B.createElement(a[1])],c.fn.attr.call(a,b,!0)):a=[h.createElement(a[1])]:(a=c.buildFragment([k[1]],[h]),a=(a.cacheable?c.clone(a.fragment):a.fragment).childNodes),c.merge(this,a);
+else{if((b=B.getElementById(k[2]))&&b.parentNode){if(b.id!==k[2])return h.find(a);this.length=1;this[0]=b}this.context=B;this.selector=a;return this}else return!b||b.jquery?(b||h).find(a):this.constructor(b).find(a);else if(c.isFunction(a))return h.ready(a);if(a.selector!==j)this.selector=a.selector,this.context=a.context;return c.makeArray(a,this)},selector:"",jquery:"1.6.2",length:0,size:function(){return this.length},toArray:function(){return l.call(this,0)},get:function(a){return a==null?this.toArray():
+a<0?this[this.length+a]:this[a]},pushStack:function(a,b,h){var k=this.constructor();c.isArray(a)?Q.apply(k,a):c.merge(k,a);k.prevObject=this;k.context=this.context;if(b==="find")k.selector=this.selector+(this.selector?" ":"")+h;else if(b)k.selector=this.selector+"."+b+"("+h+")";return k},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();ca.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},
+slice:function(){return this.pushStack(l.apply(this,arguments),"slice",l.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this,function(c,b){return a.call(c,b,c)}))},end:function(){return this.prevObject||this.constructor(null)},push:Q,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a,b,h,k,t,f=arguments[0]||{},J=1,aa=arguments.length,d=!1;typeof f==="boolean"&&(d=f,f=arguments[1]||{},J=2);typeof f!=="object"&&!c.isFunction(f)&&(f=
+{});aa===J&&(f=this,--J);for(;J<aa;J++)if((a=arguments[J])!=null)for(b in a)h=f[b],k=a[b],f!==k&&(d&&k&&(c.isPlainObject(k)||(t=c.isArray(k)))?(t?(t=!1,h=h&&c.isArray(h)?h:[]):h=h&&c.isPlainObject(h)?h:{},f[b]=c.extend(d,h,k)):k!==j&&(f[b]=k));return f};c.extend({noConflict:function(a){if(d.$===c)d.$=k;if(a&&d.jQuery===c)d.jQuery=b;return c},isReady:!1,readyWait:1,holdReady:function(a){a?c.readyWait++:c.ready(!0)},ready:function(a){if(a===!0&&!--c.readyWait||a!==!0&&!c.isReady){if(!B.body)return setTimeout(c.ready,
+1);c.isReady=!0;a!==!0&&--c.readyWait>0||(ca.resolveWith(B,[c]),c.fn.trigger&&c(B).trigger("ready").unbind("ready"))}},bindReady:function(){if(!ca){ca=c._Deferred();if(B.readyState==="complete")return setTimeout(c.ready,1);if(B.addEventListener)B.addEventListener("DOMContentLoaded",Ma,!1),d.addEventListener("load",c.ready,!1);else if(B.attachEvent){B.attachEvent("onreadystatechange",Ma);d.attachEvent("onload",c.ready);var b=!1;try{b=d.frameElement==null}catch(h){}B.documentElement.doScroll&&b&&a()}}},
+isFunction:function(a){return c.type(a)==="function"},isArray:Array.isArray||function(a){return c.type(a)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||!u.test(a)||isNaN(a)},type:function(a){return a==null?String(a):w[lb.call(a)]||"object"},isPlainObject:function(a){if(!a||c.type(a)!=="object"||a.nodeType||c.isWindow(a))return!1;if(a.constructor&&!W.call(a,"constructor")&&!W.call(a.constructor.prototype,"isPrototypeOf"))return!1;
+for(var b in a);return b===j||W.call(a,b)},isEmptyObject:function(a){for(var c in a)return!1;return!0},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(d.JSON&&d.JSON.parse)return d.JSON.parse(a);if(p.test(a.replace(q,"@").replace(r,"]").replace(O,"")))return(new Function("return "+a))();c.error("Invalid JSON: "+a)},parseXML:function(a,b,h){d.DOMParser?(h=new DOMParser,b=h.parseFromString(a,"text/xml")):(b=new ActiveXObject("Microsoft.XMLDOM"),
+b.async="false",b.loadXML(a));h=b.documentElement;(!h||!h.nodeName||h.nodeName==="parsererror")&&c.error("Invalid XML: "+a);return b},noop:function(){},globalEval:function(a){a&&e.test(a)&&(d.execScript||function(a){d.eval.call(d,a)})(a)},camelCase:function(a){return a.replace(aa,kb)},nodeName:function(a,c){return a.nodeName&&a.nodeName.toUpperCase()===c.toUpperCase()},each:function(a,b,h){var k,t=0,f=a.length,J=f===j||c.isFunction(a);if(h)if(J)for(k in a){if(b.apply(a[k],h)===!1)break}else for(;t<
+f;){if(b.apply(a[t++],h)===!1)break}else if(J)for(k in a){if(b.call(a[k],k,a[k])===!1)break}else for(;t<f;)if(b.call(a[t],t,a[t++])===!1)break;return a},trim:ha?function(a){return a==null?"":ha.call(a)}:function(a){return a==null?"":a.toString().replace(g,"").replace(o,"")},makeArray:function(a,b){var h=b||[];if(a!=null){var k=c.type(a);a.length==null||k==="string"||k==="function"||k==="regexp"||c.isWindow(a)?Q.call(h,a):c.merge(h,a)}return h},inArray:function(a,c){if(v)return v.call(c,a);for(var b=
+0,h=c.length;b<h;b++)if(c[b]===a)return b;return-1},merge:function(a,c){var b=a.length,h=0;if(typeof c.length==="number")for(var k=c.length;h<k;h++)a[b++]=c[h];else for(;c[h]!==j;)a[b++]=c[h++];a.length=b;return a},grep:function(a,c,b){for(var h=[],k,b=!!b,t=0,f=a.length;t<f;t++)k=!!c(a[t],t),b!==k&&h.push(a[t]);return h},map:function(a,b,h){var k,t,f=[],J=0,aa=a.length;if(a instanceof c||aa!==j&&typeof aa==="number"&&(aa>0&&a[0]&&a[aa-1]||aa===0||c.isArray(a)))for(;J<aa;J++)k=b(a[J],J,h),k!=null&&
+(f[f.length]=k);else for(t in a)k=b(a[t],t,h),k!=null&&(f[f.length]=k);return f.concat.apply([],f)},guid:1,proxy:function(a,b){if(typeof b==="string")var h=a[b],b=a,a=h;if(!c.isFunction(a))return j;var k=l.call(arguments,2),h=function(){return a.apply(b,k.concat(l.call(arguments)))};h.guid=a.guid=a.guid||h.guid||c.guid++;return h},access:function(a,b,h,k,t,f){var J=a.length;if(typeof b==="object"){for(var aa in b)c.access(a,aa,b[aa],k,t,h);return a}if(h!==j){k=!f&&k&&c.isFunction(h);for(aa=0;aa<J;aa++)t(a[aa],
+b,k?h.call(a[aa],aa,t(a[aa],b)):h,f);return a}return J?t(a[0],b):j},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();a=wa.exec(a)||P.exec(a)||s.exec(a)||a.indexOf("compatible")<0&&X.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},sub:function(){function a(c,b){return new a.fn.init(c,b)}c.extend(!0,a,this);a.superclass=this;a.fn=a.prototype=this();a.fn.constructor=a;a.sub=this.sub;a.fn.init=function(h,k){k&&k instanceof c&&!(k instanceof a)&&(k=a(k));return c.fn.init.call(this,
+h,k,b)};a.fn.init.prototype=a.fn;var b=a(B);return a},browser:{}});c.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,c){w["[object "+c+"]"]=c.toLowerCase()});Qa=c.uaMatch(Qa);if(Qa.browser)c.browser[Qa.browser]=!0,c.browser.version=Qa.version;if(c.browser.webkit)c.browser.safari=!0;e.test("\u00a0")&&(g=/^[\s\xA0]+/,o=/[\s\xA0]+$/);t=c(B);B.addEventListener?Ma=function(){B.removeEventListener("DOMContentLoaded",Ma,!1);c.ready()}:B.attachEvent&&(Ma=function(){B.readyState===
+"complete"&&(B.detachEvent("onreadystatechange",Ma),c.ready())});return c}(),ba="done fail isResolved isRejected promise then always pipe".split(" "),Z=[].slice;b.extend({_Deferred:function(){var a=[],c,h,k,t={done:function(){if(!k){var h=arguments,f,d,e,g,o;c&&(o=c,c=0);for(f=0,d=h.length;f<d;f++)e=h[f],g=b.type(e),g==="array"?t.done.apply(t,e):g==="function"&&a.push(e);o&&t.resolveWith(o[0],o[1])}return this},resolveWith:function(b,t){if(!k&&!c&&!h){t=t||[];h=1;try{for(;a[0];)a.shift().apply(b,
+t)}finally{c=[b,t],h=0}}return this},resolve:function(){t.resolveWith(this,arguments);return this},isResolved:function(){return!(!h&&!c)},cancel:function(){k=1;a=[];return this}};return t},Deferred:function(a){var c=b._Deferred(),h=b._Deferred(),k;b.extend(c,{then:function(a,b){c.done(a).fail(b);return this},always:function(){return c.done.apply(c,arguments).fail.apply(this,arguments)},fail:h.done,rejectWith:h.resolveWith,reject:h.resolve,isRejected:h.isResolved,pipe:function(a,h){return b.Deferred(function(k){b.each({done:[a,
+"resolve"],fail:[h,"reject"]},function(a,h){var t=h[0],f=h[1],J;if(b.isFunction(t))c[a](function(){if((J=t.apply(this,arguments))&&b.isFunction(J.promise))J.promise().then(k.resolve,k.reject);else k[f](J)});else c[a](k[f])})}).promise()},promise:function(a){if(a==null){if(k)return k;k=a={}}for(var b=ba.length;b--;)a[ba[b]]=c[ba[b]];return a}});c.done(h.cancel).fail(c.cancel);delete c.cancel;a&&a.call(c,c);return c},when:function(a){function c(a){return function(c){h[a]=arguments.length>1?Z.call(arguments,
+0):c;--f||d.resolveWith(d,Z.call(h,0))}}var h=arguments,k=0,t=h.length,f=t,d=t<=1&&a&&b.isFunction(a.promise)?a:b.Deferred();if(t>1){for(;k<t;k++)h[k]&&b.isFunction(h[k].promise)?h[k].promise().then(c(k),d.reject):--f;f||d.resolveWith(d,h)}else d!==a&&d.resolveWith(d,t?[a]:[]);return d.promise()}});b.support=function(){var a=B.createElement("div"),c=B.documentElement,h,k,t,f,d,e;a.setAttribute("className","t");a.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";
+h=a.getElementsByTagName("*");k=a.getElementsByTagName("a")[0];if(!h||!h.length||!k)return{};t=B.createElement("select");f=t.appendChild(B.createElement("option"));h=a.getElementsByTagName("input")[0];d={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(k.getAttribute("style")),hrefNormalized:k.getAttribute("href")==="/a",opacity:/^0.55$/.test(k.style.opacity),cssFloat:!!k.style.cssFloat,
+checkOn:h.value==="on",optSelected:f.selected,getSetAttribute:a.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0};h.checked=!0;d.noCloneChecked=h.cloneNode(!0).checked;t.disabled=!0;d.optDisabled=!f.disabled;try{delete a.test}catch(g){d.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function(){d.noCloneEvent=!1}),a.cloneNode(!0).fireEvent("onclick"));
+h=B.createElement("input");h.value="t";h.setAttribute("type","radio");d.radioValue=h.value==="t";h.setAttribute("checked","checked");a.appendChild(h);k=B.createDocumentFragment();k.appendChild(a.firstChild);d.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked;a.innerHTML="";a.style.width=a.style.paddingLeft="1px";t=B.getElementsByTagName("body")[0];k=B.createElement(t?"div":"body");f={visibility:"hidden",width:0,height:0,border:0,margin:0};t&&b.extend(f,{position:"absolute",left:-1E3,top:-1E3});
+for(e in f)k.style[e]=f[e];k.appendChild(a);c=t||c;c.insertBefore(k,c.firstChild);d.appendChecked=h.checked;d.boxModel=a.offsetWidth===2;if("zoom"in a.style)a.style.display="inline",a.style.zoom=1,d.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",d.shrinkWrapBlocks=a.offsetWidth!==2;a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";t=a.getElementsByTagName("td");h=t[0].offsetHeight===0;t[0].style.display=
+"";t[1].style.display="none";d.reliableHiddenOffsets=h&&t[0].offsetHeight===0;a.innerHTML="";if(B.defaultView&&B.defaultView.getComputedStyle)h=B.createElement("div"),h.style.width="0",h.style.marginRight="0",a.appendChild(h),d.reliableMarginRight=(parseInt((B.defaultView.getComputedStyle(h,null)||{marginRight:0}).marginRight,10)||0)===0;k.innerHTML="";c.removeChild(k);if(a.attachEvent)for(e in{submit:1,change:1,focusin:1})c="on"+e,h=c in a,h||(a.setAttribute(c,"return;"),h=typeof a[c]==="function"),
+d[e+"Bubbles"]=h;k=k=t=f=t=h=a=h=null;return d}();b.boxModel=b.support.boxModel;var H=/^(?:\{.*\}|\[.*\])$/,fa=/([a-z])([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?b.cache[a[b.expando]]:a[b.expando];return!!a&&!n(a)},data:function(a,c,h,k){if(b.acceptData(a)){var t=b.expando,f=typeof c==="string",d=a.nodeType,e=d?b.cache:a,g=d?a[b.expando]:
+a[b.expando]&&b.expando;if(g&&(!k||!g||e[g][t])||!(f&&h===j)){if(!g)d?a[b.expando]=g=++b.uuid:g=b.expando;if(!e[g]&&(e[g]={},!d))e[g].toJSON=b.noop;if(typeof c==="object"||typeof c==="function")k?e[g][t]=b.extend(e[g][t],c):e[g]=b.extend(e[g],c);a=e[g];k&&(a[t]||(a[t]={}),a=a[t]);h!==j&&(a[b.camelCase(c)]=h);return c==="events"&&!a[c]?a[t]&&a[t].events:f?a[b.camelCase(c)]||a[c]:a}}},removeData:function(a,c,h){if(b.acceptData(a)){var k=b.expando,t=a.nodeType,f=t?b.cache:a,e=t?a[b.expando]:b.expando;
+if(f[e]){if(c){var g=h?f[e][k]:f[e];if(g&&(delete g[c],!n(g)))return}if(h&&(delete f[e][k],!n(f[e])))return;c=f[e][k];b.support.deleteExpando||f!=d?delete f[e]:f[e]=null;if(c){f[e]={};if(!t)f[e].toJSON=b.noop;f[e][k]=c}else t&&(b.support.deleteExpando?delete a[b.expando]:a.removeAttribute?a.removeAttribute(b.expando):a[b.expando]=null)}}},_data:function(a,c,h){return b.data(a,c,h,!0)},acceptData:function(a){if(a.nodeName){var c=b.noData[a.nodeName.toLowerCase()];if(c)return!(c===!0||a.getAttribute("classid")!==
+c)}return!0}});b.fn.extend({data:function(a,c){var h=null;if(typeof a==="undefined"){if(this.length&&(h=b.data(this[0]),this[0].nodeType===1))for(var k=this[0].attributes,t,f=0,d=k.length;f<d;f++)t=k[f].name,t.indexOf("data-")===0&&(t=b.camelCase(t.substring(5)),C(this[0],t,h[t]));return h}else if(typeof a==="object")return this.each(function(){b.data(this,a)});var e=a.split(".");e[1]=e[1]?"."+e[1]:"";return c===j?(h=this.triggerHandler("getData"+e[1]+"!",[e[0]]),h===j&&this.length&&(h=b.data(this[0],
+a),h=C(this[0],a,h)),h===j&&e[1]?this.data(e[0]):h):this.each(function(){var h=b(this),k=[e[0],c];h.triggerHandler("setData"+e[1]+"!",k);b.data(this,a,c);h.triggerHandler("changeData"+e[1]+"!",k)})},removeData:function(a){return this.each(function(){b.removeData(this,a)})}});b.extend({_mark:function(a,c){a&&(c=(c||"fx")+"mark",b.data(a,c,(b.data(a,c,j,!0)||0)+1,!0))},_unmark:function(a,c,h){a!==!0&&(h=c,c=a,a=!1);if(c){var h=h||"fx",k=h+"mark";(a=a?0:(b.data(c,k,j,!0)||1)-1)?b.data(c,k,a,!0):(b.removeData(c,
+k,!0),G(c,h,"mark"))}},queue:function(a,c,h){if(a){var c=(c||"fx")+"queue",k=b.data(a,c,j,!0);h&&(!k||b.isArray(h)?k=b.data(a,c,b.makeArray(h),!0):k.push(h));return k||[]}},dequeue:function(a,c){var c=c||"fx",h=b.queue(a,c),k=h.shift();k==="inprogress"&&(k=h.shift());k&&(c==="fx"&&h.unshift("inprogress"),k.call(a,function(){b.dequeue(a,c)}));h.length||(b.removeData(a,c+"queue",!0),G(a,c,"queue"))}});b.fn.extend({queue:function(a,c){typeof a!=="string"&&(c=a,a="fx");return c===j?b.queue(this[0],a):
+this.each(function(){var h=b.queue(this,a,c);a==="fx"&&h[0]!=="inprogress"&&b.dequeue(this,a)})},dequeue:function(a){return this.each(function(){b.dequeue(this,a)})},delay:function(a,c){a=b.fx?b.fx.speeds[a]||a:a;c=c||"fx";return this.queue(c,function(){var h=this;setTimeout(function(){b.dequeue(h,c)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a){function c(){--f||h.resolveWith(k,[k])}typeof a!=="string"&&(a=j);var a=a||"fx",h=b.Deferred(),k=this,t=k.length,f=1,e=
+a+"defer",d=a+"queue";a+="mark";for(var g;t--;)if(g=b.data(k[t],e,j,!0)||(b.data(k[t],d,j,!0)||b.data(k[t],a,j,!0))&&b.data(k[t],e,b._Deferred(),!0))f++,g.done(c);c();return h.promise()}});var ya=/[\n\t\r]/g,ga=/\s+/,ma=/\r/g,ta=/^(?:button|input)$/i,g=/^(?:button|input|object|select|textarea)$/i,O=/^a(?:rea)?$/i,p=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,X=/\:|^on/,r,q;b.fn.extend({attr:function(a,c){return b.access(this,
+a,c,!0,b.attr)},removeAttr:function(a){return this.each(function(){b.removeAttr(this,a)})},prop:function(a,c){return b.access(this,a,c,!0,b.prop)},removeProp:function(a){a=b.propFix[a]||a;return this.each(function(){try{this[a]=j,delete this[a]}catch(c){}})},addClass:function(a){var c,h,k,t,f,e,d;if(b.isFunction(a))return this.each(function(c){b(this).addClass(a.call(this,c,this.className))});if(a&&typeof a==="string"){c=a.split(ga);for(h=0,k=this.length;h<k;h++)if(t=this[h],t.nodeType===1)if(!t.className&&
+c.length===1)t.className=a;else{f=" "+t.className+" ";for(e=0,d=c.length;e<d;e++)~f.indexOf(" "+c[e]+" ")||(f+=c[e]+" ");t.className=b.trim(f)}}return this},removeClass:function(a){var c,h,k,t,f,e,d;if(b.isFunction(a))return this.each(function(c){b(this).removeClass(a.call(this,c,this.className))});if(a&&typeof a==="string"||a===j){c=(a||"").split(ga);for(h=0,k=this.length;h<k;h++)if(t=this[h],t.nodeType===1&&t.className)if(a){f=(" "+t.className+" ").replace(ya," ");for(e=0,d=c.length;e<d;e++)f=f.replace(" "+
+c[e]+" "," ");t.className=b.trim(f)}else t.className=""}return this},toggleClass:function(a,c){var h=typeof a,k=typeof c==="boolean";return b.isFunction(a)?this.each(function(h){b(this).toggleClass(a.call(this,h,this.className,c),c)}):this.each(function(){if(h==="string")for(var t,f=0,e=b(this),d=c,g=a.split(ga);t=g[f++];)d=k?d:!e.hasClass(t),e[d?"addClass":"removeClass"](t);else if(h==="undefined"||h==="boolean")this.className&&b._data(this,"__className__",this.className),this.className=this.className||
+a===!1?"":b._data(this,"__className__")||""})},hasClass:function(a){for(var a=" "+a+" ",c=0,b=this.length;c<b;c++)if((" "+this[c].className+" ").replace(ya," ").indexOf(a)>-1)return!0;return!1},val:function(a){var c,h,k=this[0];if(!arguments.length){if(k){if((c=b.valHooks[k.nodeName.toLowerCase()]||b.valHooks[k.type])&&"get"in c&&(h=c.get(k,"value"))!==j)return h;h=k.value;return typeof h==="string"?h.replace(ma,""):h==null?"":h}return j}var t=b.isFunction(a);return this.each(function(h){var k=b(this);
+if(this.nodeType===1&&(h=t?a.call(this,h,k.val()):a,h==null?h="":typeof h==="number"?h+="":b.isArray(h)&&(h=b.map(h,function(a){return a==null?"":a+""})),c=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type],!c||!("set"in c)||c.set(this,h,"value")===j))this.value=h})}});b.extend({valHooks:{option:{get:function(a){var c=a.attributes.value;return!c||c.specified?a.value:a.text}},select:{get:function(a){var c,h=a.selectedIndex,k=[],t=a.options,a=a.type==="select-one";if(h<0)return null;for(var f=
+a?h:0,e=a?h+1:t.length;f<e;f++)if(c=t[f],c.selected&&(b.support.optDisabled?!c.disabled:c.getAttribute("disabled")===null)&&(!c.parentNode.disabled||!b.nodeName(c.parentNode,"optgroup"))){c=b(c).val();if(a)return c;k.push(c)}return a&&!k.length&&t.length?b(t[h]).val():k},set:function(a,c){var h=b.makeArray(c);b(a).find("option").each(function(){this.selected=b.inArray(b(this).val(),h)>=0});if(!h.length)a.selectedIndex=-1;return h}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,
+offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(a,c,h,k){var t=a.nodeType;if(!a||t===3||t===8||t===2)return j;if(k&&c in b.attrFn)return b(a)[c](h);if(!("getAttribute"in a))return b.prop(a,c,h);var f,e;if(k=t!==1||!b.isXMLDoc(a))if(c=b.attrFix[c]||c,e=b.attrHooks[c],!e)if(p.test(c))e=q;else if(r&&c!=="className"&&(b.nodeName(a,"form")||X.test(c)))e=r;return h!==j?h===null?(b.removeAttr(a,c),j):e&&"set"in e&&k&&(f=e.set(a,h,c))!==j?f:(a.setAttribute(c,""+h),h):e&&"get"in e&&k&&(f=e.get(a,c))!==
+null?f:(f=a.getAttribute(c),f===null?j:f)},removeAttr:function(a,c){var h;if(a.nodeType===1&&(c=b.attrFix[c]||c,b.support.getSetAttribute?a.removeAttribute(c):(b.attr(a,c,""),a.removeAttributeNode(a.getAttributeNode(c))),p.test(c)&&(h=b.propFix[c]||c)in a))a[h]=!1},attrHooks:{type:{set:function(a,c){if(ta.test(a.nodeName)&&a.parentNode)b.error("type property can't be changed");else if(!b.support.radioValue&&c==="radio"&&b.nodeName(a,"input")){var h=a.value;a.setAttribute("type",c);if(h)a.value=h;
+return c}}},tabIndex:{get:function(a){var c=a.getAttributeNode("tabIndex");return c&&c.specified?parseInt(c.value,10):g.test(a.nodeName)||O.test(a.nodeName)&&a.href?0:j}},value:{get:function(a,c){return r&&b.nodeName(a,"button")?r.get(a,c):c in a?a.value:null},set:function(a,c,h){if(r&&b.nodeName(a,"button"))return r.set(a,c,h);a.value=c}}},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(a,c,h){var k=a.nodeType;if(!a||k===3||k===8||k===2)return j;var f,e;if(k!==1||!b.isXMLDoc(a))c=b.propFix[c]||c,e=b.propHooks[c];return h!==j?e&&"set"in e&&(f=e.set(a,h,c))!==j?f:a[c]=h:e&&"get"in e&&(f=e.get(a,c))!==j?f:a[c]},propHooks:{}});q={get:function(a,c){return b.prop(a,c)?c.toLowerCase():j},set:function(a,c,h){c===!1?b.removeAttr(a,h):(c=b.propFix[h]||h,c in a&&(a[c]=
+!0),a.setAttribute(h,h.toLowerCase()));return h}};if(!b.support.getSetAttribute)b.attrFix=b.propFix,r=b.attrHooks.name=b.attrHooks.title=b.valHooks.button={get:function(a,c){var b;return(b=a.getAttributeNode(c))&&b.nodeValue!==""?b.nodeValue:j},set:function(a,c,b){if(a=a.getAttributeNode(b))return a.nodeValue=c}},b.each(["width","height"],function(a,c){b.attrHooks[c]=b.extend(b.attrHooks[c],{set:function(a,b){if(b==="")return a.setAttribute(c,"auto"),b}})});b.support.hrefNormalized||b.each(["href",
+"src","width","height"],function(a,c){b.attrHooks[c]=b.extend(b.attrHooks[c],{get:function(a){a=a.getAttribute(c,2);return a===null?j:a}})});if(!b.support.style)b.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||j},set:function(a,c){return a.style.cssText=""+c}};if(!b.support.optSelected)b.propHooks.selected=b.extend(b.propHooks.selected,{get:function(){}});b.support.checkOn||b.each(["radio","checkbox"],function(){b.valHooks[this]={get:function(a){return a.getAttribute("value")===
+null?"on":a.value}}});b.each(["radio","checkbox"],function(){b.valHooks[this]=b.extend(b.valHooks[this],{set:function(a,c){if(b.isArray(c))return a.checked=b.inArray(b(a).val(),c)>=0}})});var ka=/\.(.*)$/,Ea=/^(?:textarea|input|select)$/i,qa=/\./g,s=/ /g,da=/[^\w\s.|`]/g,ja=function(a){return a.replace(da,"\\$&")};b.event={add:function(a,c,h,k){if(!(a.nodeType===3||a.nodeType===8)){if(h===!1)h=F;else if(!h)return;var f,e;if(h.handler)f=h,h=f.handler;if(!h.guid)h.guid=b.guid++;if(e=b._data(a)){var d=
+e.events,g=e.handle;if(!d)e.events=d={};if(!g)e.handle=g=function(a){return typeof b!=="undefined"&&(!a||b.event.triggered!==a.type)?b.event.handle.apply(g.elem,arguments):j};g.elem=a;for(var c=c.split(" "),o,u=0,x;o=c[u++];){e=f?b.extend({},f):{handler:h,data:k};o.indexOf(".")>-1?(x=o.split("."),o=x.shift(),e.namespace=x.slice(0).sort().join(".")):(x=[],e.namespace="");e.type=o;if(!e.guid)e.guid=h.guid;var p=d[o],q=b.event.special[o]||{};if(!p&&(p=d[o]=[],!q.setup||q.setup.call(a,k,x,g)===!1))a.addEventListener?
+a.addEventListener(o,g,!1):a.attachEvent&&a.attachEvent("on"+o,g);if(q.add&&(q.add.call(a,e),!e.handler.guid))e.handler.guid=h.guid;p.push(e);b.event.global[o]=!0}a=null}}},global:{},remove:function(a,c,h,k){if(!(a.nodeType===3||a.nodeType===8)){h===!1&&(h=F);var f,e,d=0,g,o,u,x,p,q,r=b.hasData(a)&&b._data(a),O=r&&r.events;if(r&&O){if(c&&c.type)h=c.handler,c=c.type;if(!c||typeof c==="string"&&c.charAt(0)===".")for(f in c=c||"",O)b.event.remove(a,f+c);else{for(c=c.split(" ");f=c[d++];)if(x=f,g=f.indexOf(".")<
+0,o=[],g||(o=f.split("."),f=o.shift(),u=RegExp("(^|\\.)"+b.map(o.slice(0).sort(),ja).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=O[f])if(h){x=b.event.special[f]||{};for(e=k||0;e<p.length;e++)if(q=p[e],h.guid===q.guid){if(g||u.test(q.namespace))k==null&&p.splice(e--,1),x.remove&&x.remove.call(a,q);if(k!=null)break}if(p.length===0||k!=null&&p.length===1)(!x.teardown||x.teardown.call(a,o)===!1)&&b.removeEvent(a,f,r.handle),delete O[f]}else for(e=0;e<p.length;e++)if(q=p[e],g||u.test(q.namespace))b.event.remove(a,
+x,q.handler,e),p.splice(e--,1);if(b.isEmptyObject(O)){if(c=r.handle)c.elem=null;delete r.events;delete r.handle;b.isEmptyObject(r)&&b.removeData(a,j,!0)}}}}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(a,c,h,k){var f=a.type||a,e=[],g;f.indexOf("!")>=0&&(f=f.slice(0,-1),g=!0);f.indexOf(".")>=0&&(e=f.split("."),f=e.shift(),e.sort());if(h&&!b.event.customEvent[f]||b.event.global[f]){a=typeof a==="object"?a[b.expando]?a:new b.Event(f,a):new b.Event(f);a.type=f;a.exclusive=g;a.namespace=
+e.join(".");a.namespace_re=RegExp("(^|\\.)"+e.join("\\.(?:.*\\.)?")+"(\\.|$)");if(k||!h)a.preventDefault(),a.stopPropagation();if(h){if(!(h.nodeType===3||h.nodeType===8)){a.result=j;a.target=h;c=c!=null?b.makeArray(c):[];c.unshift(a);e=h;k=f.indexOf(":")<0?"on"+f:"";do{g=b._data(e,"handle");a.currentTarget=e;g&&g.apply(e,c);if(k&&b.acceptData(e)&&e[k]&&e[k].apply(e,c)===!1)a.result=!1,a.preventDefault();e=e.parentNode||e.ownerDocument||e===a.target.ownerDocument&&d}while(e&&!a.isPropagationStopped());
+if(!a.isDefaultPrevented()){var o,e=b.event.special[f]||{};if((!e._default||e._default.call(h.ownerDocument,a)===!1)&&!(f==="click"&&b.nodeName(h,"a"))&&b.acceptData(h)){try{if(k&&h[f])(o=h[k])&&(h[k]=null),b.event.triggered=f,h[f]()}catch(u){}o&&(h[k]=o);b.event.triggered=j}}return a.result}}else b.each(b.cache,function(){var h=this[b.expando];h&&h.events&&h.events[f]&&b.event.trigger(a,c,h.handle.elem)})}},handle:function(a){var a=b.event.fix(a||d.event),c=((b._data(this,"events")||{})[a.type]||
+[]).slice(0),h=!a.exclusive&&!a.namespace,k=Array.prototype.slice.call(arguments,0);k[0]=a;a.currentTarget=this;for(var f=0,e=c.length;f<e;f++){var g=c[f];if(h||a.namespace_re.test(g.namespace)){a.handler=g.handler;a.data=g.data;a.handleObj=g;g=g.handler.apply(this,k);if(g!==j)a.result=g,g===!1&&(a.preventDefault(),a.stopPropagation());if(a.isImmediatePropagationStopped())break}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
+fix:function(a){if(a[b.expando])return a;for(var c=a,a=b.Event(c),h=this.props.length,k;h;)k=this.props[--h],a[k]=c[k];if(!a.target)a.target=a.srcElement||B;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null)h=a.target.ownerDocument||B,c=h.documentElement,h=h.body,a.pageX=a.clientX+(c&&c.scrollLeft||h&&h.scrollLeft||0)-(c&&c.clientLeft||h&&h.clientLeft||0),a.pageY=
+a.clientY+(c&&c.scrollTop||h&&h.scrollTop||0)-(c&&c.clientTop||h&&h.clientTop||0);if(a.which==null&&(a.charCode!=null||a.keyCode!=null))a.which=a.charCode!=null?a.charCode:a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==j)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:b.proxy,special:{ready:{setup:b.bindReady,teardown:b.noop},live:{add:function(a){b.event.add(this,S(a.origType,a.selector),b.extend({},a,{handler:z,guid:a.handler.guid}))},remove:function(a){b.event.remove(this,
+S(a.origType,a.selector),a)}},beforeunload:{setup:function(a,c,h){if(b.isWindow(this))this.onbeforeunload=h},teardown:function(a,c){if(this.onbeforeunload===c)this.onbeforeunload=null}}}};b.removeEvent=B.removeEventListener?function(a,c,b){a.removeEventListener&&a.removeEventListener(c,b,!1)}:function(a,c,b){a.detachEvent&&a.detachEvent("on"+c,b)};b.Event=function(a,c){if(!this.preventDefault)return new b.Event(a,c);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||
+a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?l:F):this.type=a;c&&b.extend(this,c);this.timeStamp=b.now();this[b.expando]=!0};b.Event.prototype={preventDefault:function(){this.isDefaultPrevented=l;var a=this.originalEvent;if(a)a.preventDefault?a.preventDefault():a.returnValue=!1},stopPropagation:function(){this.isPropagationStopped=l;var a=this.originalEvent;if(a)a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=
+l;this.stopPropagation()},isDefaultPrevented:F,isPropagationStopped:F,isImmediatePropagationStopped:F};var na=function(a){var c=a.relatedTarget,h=!1,k=a.type;a.type=a.data;if(c!==this&&(c&&(h=b.contains(this,c)),!h))b.event.handle.apply(this,arguments),a.type=k},E=function(a){a.type=a.data;b.event.handle.apply(this,arguments)};b.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,c){b.event.special[a]={setup:function(h){b.event.add(this,c,h&&h.selector?E:na,a)},teardown:function(a){b.event.remove(this,
+c,a&&a.selector?E:na)}}});if(!b.support.submitBubbles)b.event.special.submit={setup:function(){if(b.nodeName(this,"form"))return!1;else b.event.add(this,"click.specialSubmit",function(a){var c=a.target,h=c.type;(h==="submit"||h==="image")&&b(c).closest("form").length&&v("submit",this,arguments)}),b.event.add(this,"keypress.specialSubmit",function(a){var c=a.target,h=c.type;(h==="text"||h==="password")&&b(c).closest("form").length&&a.keyCode===13&&v("submit",this,arguments)})},teardown:function(){b.event.remove(this,
+".specialSubmit")}};if(!b.support.changeBubbles){var ea,oa=function(a){var c=a.type,h=a.value;if(c==="radio"||c==="checkbox")h=a.checked;else if(c==="select-multiple")h=a.selectedIndex>-1?b.map(a.options,function(a){return a.selected}).join("-"):"";else if(b.nodeName(a,"select"))h=a.selectedIndex;return h},za=function(a,c){var h=a.target,k,f;if(Ea.test(h.nodeName)&&!h.readOnly&&(k=b._data(h,"_change_data"),f=oa(h),(a.type!=="focusout"||h.type!=="radio")&&b._data(h,"_change_data",f),!(k===j||f===k)))if(k!=
+null||f)a.type="change",a.liveFired=j,b.event.trigger(a,c,h)};b.event.special.change={filters:{focusout:za,beforedeactivate:za,click:function(a){var c=a.target,h=b.nodeName(c,"input")?c.type:"";(h==="radio"||h==="checkbox"||b.nodeName(c,"select"))&&za.call(this,a)},keydown:function(a){var c=a.target,h=b.nodeName(c,"input")?c.type:"";(a.keyCode===13&&!b.nodeName(c,"textarea")||a.keyCode===32&&(h==="checkbox"||h==="radio")||h==="select-multiple")&&za.call(this,a)},beforeactivate:function(a){a=a.target;
+b._data(a,"_change_data",oa(a))}},setup:function(){if(this.type==="file")return!1;for(var a in ea)b.event.add(this,a+".specialChange",ea[a]);return Ea.test(this.nodeName)},teardown:function(){b.event.remove(this,".specialChange");return Ea.test(this.nodeName)}};ea=b.event.special.change.filters;ea.focus=ea.beforeactivate}b.support.focusinBubbles||b.each({focus:"focusin",blur:"focusout"},function(a,c){function h(a){var h=b.event.fix(a);h.type=c;h.originalEvent={};b.event.trigger(h,null,h.target);h.isDefaultPrevented()&&
+a.preventDefault()}var k=0;b.event.special[c]={setup:function(){k++===0&&B.addEventListener(a,h,!0)},teardown:function(){--k===0&&B.removeEventListener(a,h,!0)}}});b.each(["bind","one"],function(a,c){b.fn[c]=function(a,k,f){var e;if(typeof a==="object"){for(var d in a)this[c](d,k,a[d],f);return this}if(arguments.length===2||k===!1)f=k,k=j;c==="one"?(e=function(a){b(this).unbind(a,e);return f.apply(this,arguments)},e.guid=f.guid||b.guid++):e=f;if(a==="unload"&&c!=="one")this.one(a,k,f);else{d=0;for(var g=
+this.length;d<g;d++)b.event.add(this[d],a,e,k)}return this}});b.fn.extend({unbind:function(a,c){if(typeof a==="object"&&!a.preventDefault)for(var h in a)this.unbind(h,a[h]);else{h=0;for(var k=this.length;h<k;h++)b.event.remove(this[h],a,c)}return this},delegate:function(a,c,b,k){return this.live(c,b,k,a)},undelegate:function(a,c,b){return arguments.length===0?this.unbind("live"):this.die(c,null,b,a)},trigger:function(a,c){return this.each(function(){b.event.trigger(a,c,this)})},triggerHandler:function(a,
+c){if(this[0])return b.event.trigger(a,c,this[0],!0)},toggle:function(a){var c=arguments,h=a.guid||b.guid++,k=0,f=function(h){var f=(b.data(this,"lastToggle"+a.guid)||0)%k;b.data(this,"lastToggle"+a.guid,f+1);h.preventDefault();return c[f].apply(this,arguments)||!1};for(f.guid=h;k<c.length;)c[k++].guid=h;return this.click(f)},hover:function(a,c){return this.mouseenter(a).mouseleave(c||a)}});var ua={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};b.each(["live","die"],
+function(a,c){b.fn[c]=function(a,k,f,e){var d=0,g,o,u=e||this.selector,x=e?this:b(this.context);if(typeof a==="object"&&!a.preventDefault){for(g in a)x[c](g,k,a[g],u);return this}if(c==="die"&&!a&&e&&e.charAt(0)===".")return x.unbind(e),this;if(k===!1||b.isFunction(k))f=k||F,k=j;for(a=(a||"").split(" ");(e=a[d++])!=null;)if(g=ka.exec(e),o="",g&&(o=g[0],e=e.replace(ka,"")),e==="hover")a.push("mouseenter"+o,"mouseleave"+o);else if(g=e,ua[e]?(a.push(ua[e]+o),e+=o):e=(ua[e]||e)+o,c==="live"){o=0;for(var p=
+x.length;o<p;o++)b.event.add(x[o],"live."+S(e,u),{data:k,selector:u,handler:f,origType:e,origHandler:f,preType:g})}else x.unbind("live."+S(e,u),f);return this}});b.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,c){b.fn[c]=function(a,b){b==null&&(b=a,a=null);return arguments.length>0?this.bind(c,a,b):this.trigger(c)};b.attrFn&&(b.attrFn[c]=
+!0)});(function(){function a(a,c,b,h,k,f){for(var k=0,e=h.length;k<e;k++){var t=h[k];if(t){for(var g=!1,t=t[a];t;){if(t.sizcache===b){g=h[t.sizset];break}if(t.nodeType===1&&!f)t.sizcache=b,t.sizset=k;if(t.nodeName.toLowerCase()===c){g=t;break}t=t[a]}h[k]=g}}}function c(a,c,b,h,k,f){for(var k=0,e=h.length;k<e;k++){var t=h[k];if(t){for(var g=!1,t=t[a];t;){if(t.sizcache===b){g=h[t.sizset];break}if(t.nodeType===1){if(!f)t.sizcache=b,t.sizset=k;if(typeof c!=="string"){if(t===c){g=!0;break}}else if(u.filter(c,
+[t]).length>0){g=t;break}}t=t[a]}h[k]=g}}}var h=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,k=0,f=Object.prototype.toString,e=!1,d=!0,g=/\\/g,o=/\W/;[0,0].sort(function(){d=!1;return 0});var u=function(a,c,b,k){var b=b||[],e=c=c||B;if(c.nodeType!==1&&c.nodeType!==9)return[];if(!a||typeof a!=="string")return b;var g,d,o,J,q,r=!0,wa=u.isXML(c),P=[],j=a;do if(h.exec(""),g=h.exec(j))if(j=g[3],P.push(g[1]),g[2]){J=
+g[3];break}while(g);if(P.length>1&&p.exec(a))if(P.length===2&&x.relative[P[0]])d=ca(P[0]+P[1],c);else for(d=x.relative[P[0]]?[c]:u(P.shift(),c);P.length;)a=P.shift(),x.relative[a]&&(a+=P.shift()),d=ca(a,d);else if(!k&&P.length>1&&c.nodeType===9&&!wa&&x.match.ID.test(P[0])&&!x.match.ID.test(P[P.length-1])&&(g=u.find(P.shift(),c,wa),c=g.expr?u.filter(g.expr,g.set)[0]:g.set[0]),c){g=k?{expr:P.pop(),set:O(k)}:u.find(P.pop(),P.length===1&&(P[0]==="~"||P[0]==="+")&&c.parentNode?c.parentNode:c,wa);d=g.expr?
+u.filter(g.expr,g.set):g.set;for(P.length>0?o=O(d):r=!1;P.length;)g=q=P.pop(),x.relative[q]?g=P.pop():q="",g==null&&(g=c),x.relative[q](o,g,wa)}else o=[];o||(o=d);o||u.error(q||a);if(f.call(o)==="[object Array]")if(r)if(c&&c.nodeType===1)for(a=0;o[a]!=null;a++)o[a]&&(o[a]===!0||o[a].nodeType===1&&u.contains(c,o[a]))&&b.push(d[a]);else for(a=0;o[a]!=null;a++)o[a]&&o[a].nodeType===1&&b.push(d[a]);else b.push.apply(b,o);else O(o,b);J&&(u(J,e,b,k),u.uniqueSort(b));return b};u.uniqueSort=function(a){if(P&&
+(e=d,a.sort(P),e))for(var c=1;c<a.length;c++)a[c]===a[c-1]&&a.splice(c--,1);return a};u.matches=function(a,c){return u(a,null,null,c)};u.matchesSelector=function(a,c){return u(c,null,null,[a]).length>0};u.find=function(a,c,b){var h;if(!a)return[];for(var k=0,f=x.order.length;k<f;k++){var e,t=x.order[k];if(e=x.leftMatch[t].exec(a)){var d=e[1];e.splice(1,1);if(d.substr(d.length-1)!=="\\"&&(e[1]=(e[1]||"").replace(g,""),h=x.find[t](e,c,b),h!=null)){a=a.replace(x.match[t],"");break}}}h||(h=typeof c.getElementsByTagName!==
+"undefined"?c.getElementsByTagName("*"):[]);return{set:h,expr:a}};u.filter=function(a,c,b,h){for(var k,f,e=a,t=[],g=c,d=c&&c[0]&&u.isXML(c[0]);a&&c.length;){for(var o in x.filter)if((k=x.leftMatch[o].exec(a))!=null&&k[2]){var p,q,J=x.filter[o];q=k[1];f=!1;k.splice(1,1);if(q.substr(q.length-1)!=="\\"){g===t&&(t=[]);if(x.preFilter[o])if(k=x.preFilter[o](k,g,b,t,h,d)){if(k===!0)continue}else f=p=!0;if(k)for(var r=0;(q=g[r])!=null;r++)if(q){p=J(q,k,r,g);var O=h^!!p;b&&p!=null?O?f=!0:g[r]=!1:O&&(t.push(q),
+f=!0)}if(p!==j){b||(g=t);a=a.replace(x.match[o],"");if(!f)return[];break}}}if(a===e)if(f==null)u.error(a);else break;e=a}return g};u.error=function(a){throw"Syntax error, unrecognized expression: "+a;};var x=u.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,
TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,c){var b=
-typeof c==="string",g=b&&!d.test(c),b=b&&!g;g&&(c=c.toLowerCase());for(var g=0,k=a.length,f;g<k;g++)if(f=a[g]){for(;(f=f.previousSibling)&&f.nodeType!==1;);a[g]=b||f&&f.nodeName.toLowerCase()===c?f||!1:f===c}b&&v.filter(c,a,!0)},">":function(a,c){var b,g=typeof c==="string",k=0,f=a.length;if(g&&!d.test(c))for(c=c.toLowerCase();k<f;k++){if(b=a[k])b=b.parentNode,a[k]=b.nodeName.toLowerCase()===c?b:!1}else{for(;k<f;k++)(b=a[k])&&(a[k]=g?b.parentNode:b.parentNode===c);g&&v.filter(c,a,!0)}},"":function(b,
-g,f){var e,s=k++,j=c;typeof g==="string"&&!d.test(g)&&(e=g=g.toLowerCase(),j=a);j("parentNode",g,s,b,e,f)},"~":function(b,g,f){var e,s=k++,j=c;typeof g==="string"&&!d.test(g)&&(e=g=g.toLowerCase(),j=a);j("previousSibling",g,s,b,e,f)}},find:{ID:function(a,c,b){if(typeof c.getElementById!=="undefined"&&!b)return(a=c.getElementById(a[1]))&&a.parentNode?[a]:[]},NAME:function(a,c){if(typeof c.getElementsByName!=="undefined"){for(var b=[],g=c.getElementsByName(a[1]),k=0,f=g.length;k<f;k++)g[k].getAttribute("name")===
-a[1]&&b.push(g[k]);return b.length===0?null:b}},TAG:function(a,c){if(typeof c.getElementsByTagName!=="undefined")return c.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,c,b,g,k,f){a=" "+a[1].replace(l,"")+" ";if(f)return a;for(var f=0,e;(e=c[f])!=null;f++)e&&(k^(e.className&&(" "+e.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?b||g.push(e):b&&(c[f]=!1));return!1},ID:function(a){return a[1].replace(l,"")},TAG:function(a){return a[1].replace(l,"").toLowerCase()},CHILD:function(a){if(a[1]===
-"nth"){a[2]||v.error(a[0]);a[2]=a[2].replace(/^\+|\s*/g,"");var c=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=c[1]+(c[2]||1)-0;a[3]=c[3]-0}else a[2]&&v.error(a[0]);a[0]=k++;return a},ATTR:function(a,c,b,g,k,f){c=a[1]=a[1].replace(l,"");!f&&t.attrMap[c]&&(a[1]=t.attrMap[c]);a[4]=(a[4]||a[5]||"").replace(l,"");a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(a,c,b,k,f){if(a[1]==="not")if((g.exec(a[3])||"").length>1||
-/^\w/.test(a[3]))a[3]=v(a[3],null,null,c);else return a=v.filter(a[3],c,b,1^f),b||k.push.apply(k,a),!1;else if(t.match.POS.test(a[0])||t.match.CHILD.test(a[0]))return!0;return a},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},
-has:function(a,c,b){return!!v(b[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var c=a.getAttribute("type"),b=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===b&&(c===b||c===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()===
+typeof c==="string",h=b&&!o.test(c),b=b&&!h;h&&(c=c.toLowerCase());for(var h=0,k=a.length,f;h<k;h++)if(f=a[h]){for(;(f=f.previousSibling)&&f.nodeType!==1;);a[h]=b||f&&f.nodeName.toLowerCase()===c?f||!1:f===c}b&&u.filter(c,a,!0)},">":function(a,c){var b,h=typeof c==="string",k=0,f=a.length;if(h&&!o.test(c))for(c=c.toLowerCase();k<f;k++){if(b=a[k])b=b.parentNode,a[k]=b.nodeName.toLowerCase()===c?b:!1}else{for(;k<f;k++)(b=a[k])&&(a[k]=h?b.parentNode:b.parentNode===c);h&&u.filter(c,a,!0)}},"":function(b,
+h,f){var e,t=k++,g=c;typeof h==="string"&&!o.test(h)&&(e=h=h.toLowerCase(),g=a);g("parentNode",h,t,b,e,f)},"~":function(b,h,f){var e,t=k++,g=c;typeof h==="string"&&!o.test(h)&&(e=h=h.toLowerCase(),g=a);g("previousSibling",h,t,b,e,f)}},find:{ID:function(a,c,b){if(typeof c.getElementById!=="undefined"&&!b)return(a=c.getElementById(a[1]))&&a.parentNode?[a]:[]},NAME:function(a,c){if(typeof c.getElementsByName!=="undefined"){for(var b=[],h=c.getElementsByName(a[1]),k=0,f=h.length;k<f;k++)h[k].getAttribute("name")===
+a[1]&&b.push(h[k]);return b.length===0?null:b}},TAG:function(a,c){if(typeof c.getElementsByTagName!=="undefined")return c.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,c,b,h,k,f){a=" "+a[1].replace(g,"")+" ";if(f)return a;for(var f=0,e;(e=c[f])!=null;f++)e&&(k^(e.className&&(" "+e.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?b||h.push(e):b&&(c[f]=!1));return!1},ID:function(a){return a[1].replace(g,"")},TAG:function(a){return a[1].replace(g,"").toLowerCase()},CHILD:function(a){if(a[1]===
+"nth"){a[2]||u.error(a[0]);a[2]=a[2].replace(/^\+|\s*/g,"");var c=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=c[1]+(c[2]||1)-0;a[3]=c[3]-0}else a[2]&&u.error(a[0]);a[0]=k++;return a},ATTR:function(a,c,b,h,k,f){c=a[1]=a[1].replace(g,"");!f&&x.attrMap[c]&&(a[1]=x.attrMap[c]);a[4]=(a[4]||a[5]||"").replace(g,"");a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(a,c,b,k,f){if(a[1]==="not")if((h.exec(a[3])||"").length>1||
+/^\w/.test(a[3]))a[3]=u(a[3],null,null,c);else return a=u.filter(a[3],c,b,1^f),b||k.push.apply(k,a),!1;else if(x.match.POS.test(a[0])||x.match.CHILD.test(a[0]))return!0;return a},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},
+has:function(a,c,b){return!!u(b[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var c=a.getAttribute("type"),b=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===b&&(c===b||c===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()===
"input"&&"password"===a.type},submit:function(a){var c=a.nodeName.toLowerCase();return(c==="input"||c==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var c=a.nodeName.toLowerCase();return(c==="input"||c==="button")&&"reset"===a.type},button:function(a){var c=a.nodeName.toLowerCase();return c==="input"&&"button"===a.type||c==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===
-a.ownerDocument.activeElement}},setFilters:{first:function(a,c){return c===0},last:function(a,c,b,g){return c===g.length-1},even:function(a,c){return c%2===0},odd:function(a,c){return c%2===1},lt:function(a,c,b){return c<b[3]-0},gt:function(a,c,b){return c>b[3]-0},nth:function(a,c,b){return b[3]-0===c},eq:function(a,c,b){return b[3]-0===c}},filter:{PSEUDO:function(a,c,b,g){var k=c[1],f=t.filters[k];if(f)return f(a,b,c,g);else if(k==="contains")return(a.textContent||a.innerText||v.getText([a])||"").indexOf(c[3])>=
-0;else if(k==="not"){c=c[3];b=0;for(g=c.length;b<g;b++)if(c[b]===a)return!1;return!0}else v.error(k)},CHILD:function(a,c){var b=c[1],g=a;switch(b){case "only":case "first":for(;g=g.previousSibling;)if(g.nodeType===1)return!1;if(b==="first")return!0;g=a;case "last":for(;g=g.nextSibling;)if(g.nodeType===1)return!1;return!0;case "nth":var b=c[2],k=c[3];if(b===1&&k===0)return!0;var f=c[0],e=a.parentNode;if(e&&(e.sizcache!==f||!a.nodeIndex)){for(var s=0,g=e.firstChild;g;g=g.nextSibling)if(g.nodeType===
-1)g.nodeIndex=++s;e.sizcache=f}g=a.nodeIndex-k;return b===0?g===0:g%b===0&&g/b>=0}},ID:function(a,c){return a.nodeType===1&&a.getAttribute("id")===c},TAG:function(a,c){return c==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===c},CLASS:function(a,c){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(c)>-1},ATTR:function(a,c){var b=c[1],b=t.attrHandle[b]?t.attrHandle[b](a):a[b]!=null?a[b]:a.getAttribute(b),g=b+"",k=c[2],f=c[4];return b==null?k==="!=":k==="="?g===f:k==="*="?g.indexOf(f)>=
-0:k==="~="?(" "+g+" ").indexOf(f)>=0:!f?g&&b!==!1:k==="!="?g!==f:k==="^="?g.indexOf(f)===0:k==="$="?g.substr(g.length-f.length)===f:k==="|="?g===f||g.substr(0,f.length+1)===f+"-":!1},POS:function(a,c,b,g){var k=t.setFilters[c[2]];if(k)return k(a,b,c,g)}}},n=t.match.POS,M=function(a,c){return"\\"+(c-0+1)},P;for(P in t.match)t.match[P]=RegExp(t.match[P].source+/(?![^\[]*\])(?![^\(]*\))/.source),t.leftMatch[P]=RegExp(/(^(?:.|\r|\n)*?)/.source+t.match[P].source.replace(/\\(\d+)/g,M));var W=function(a,
-c){a=Array.prototype.slice.call(a,0);if(c)return c.push.apply(c,a),c;return a};try{Array.prototype.slice.call(y.documentElement.childNodes,0)}catch(w){W=function(a,c){var b=0,g=c||[];if(f.call(a)==="[object Array]")Array.prototype.push.apply(g,a);else if(typeof a.length==="number")for(var k=a.length;b<k;b++)g.push(a[b]);else for(;a[b];b++)g.push(a[b]);return g}}var ma,J;y.documentElement.compareDocumentPosition?ma=function(a,c){if(a===c)return e=!0,0;if(!a.compareDocumentPosition||!c.compareDocumentPosition)return a.compareDocumentPosition?
--1:1;return a.compareDocumentPosition(c)&4?-1:1}:(ma=function(a,c){if(a===c)return e=!0,0;else if(a.sourceIndex&&c.sourceIndex)return a.sourceIndex-c.sourceIndex;var b,g,k=[],f=[];b=a.parentNode;g=c.parentNode;var s=b;if(b===g)return J(a,c);else if(b){if(!g)return 1}else return-1;for(;s;)k.unshift(s),s=s.parentNode;for(s=g;s;)f.unshift(s),s=s.parentNode;b=k.length;g=f.length;for(s=0;s<b&&s<g;s++)if(k[s]!==f[s])return J(k[s],f[s]);return s===b?J(a,f[s],-1):J(k[s],c,1)},J=function(a,c,b){if(a===c)return b;
-for(a=a.nextSibling;a;){if(a===c)return-1;a=a.nextSibling}return 1});v.getText=function(a){for(var c="",b,g=0;a[g];g++)b=a[g],b.nodeType===3||b.nodeType===4?c+=b.nodeValue:b.nodeType!==8&&(c+=v.getText(b.childNodes));return c};(function(){var a=y.createElement("div"),c="script"+(new Date).getTime(),b=y.documentElement;a.innerHTML="<a name='"+c+"'/>";b.insertBefore(a,b.firstChild);if(y.getElementById(c))t.find.ID=function(a,c,b){if(typeof c.getElementById!=="undefined"&&!b)return(c=c.getElementById(a[1]))?
-c.id===a[1]||typeof c.getAttributeNode!=="undefined"&&c.getAttributeNode("id").nodeValue===a[1]?[c]:h:[]},t.filter.ID=function(a,c){var b=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&b&&b.nodeValue===c};b.removeChild(a);b=a=null})();(function(){var a=y.createElement("div");a.appendChild(y.createComment(""));if(a.getElementsByTagName("*").length>0)t.find.TAG=function(a,c){var b=c.getElementsByTagName(a[1]);if(a[1]==="*"){for(var g=[],k=0;b[k];k++)b[k].nodeType===
-1&&g.push(b[k]);b=g}return b};a.innerHTML="<a href='#'></a>";if(a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#")t.attrHandle.href=function(a){return a.getAttribute("href",2)};a=null})();y.querySelectorAll&&function(){var a=v,c=y.createElement("div");c.innerHTML="<p class='TEST'></p>";if(!(c.querySelectorAll&&c.querySelectorAll(".TEST").length===0)){v=function(c,b,g,k){b=b||y;if(!k&&!v.isXML(b)){var f=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(c);
-if(f&&(b.nodeType===1||b.nodeType===9))if(f[1])return W(b.getElementsByTagName(c),g);else if(f[2]&&t.find.CLASS&&b.getElementsByClassName)return W(b.getElementsByClassName(f[2]),g);if(b.nodeType===9){if(c==="body"&&b.body)return W([b.body],g);else if(f&&f[3]){var e=b.getElementById(f[3]);if(e&&e.parentNode){if(e.id===f[3])return W([e],g)}else return W([],g)}try{return W(b.querySelectorAll(c),g)}catch(s){}}else if(b.nodeType===1&&b.nodeName.toLowerCase()!=="object"){var f=b,j=(e=b.getAttribute("id"))||
-"__sizzle__",l=b.parentNode,d=/^\s*[+~]/.test(c);e?j=j.replace(/'/g,"\\$&"):b.setAttribute("id",j);if(d&&l)b=b.parentNode;try{if(!d||l)return W(b.querySelectorAll("[id='"+j+"'] "+c),g)}catch(n){}finally{e||f.removeAttribute("id")}}}return a(c,b,g,k)};for(var b in a)v[b]=a[b];c=null}}();(function(){var a=y.documentElement,c=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(c){var b=!c.call(y.createElement("div"),"div"),g=!1;try{c.call(y.documentElement,"[test!='']:sizzle")}catch(k){g=
-!0}v.matchesSelector=function(a,k){k=k.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!v.isXML(a))try{if(g||!t.match.PSEUDO.test(k)&&!/!=/.test(k)){var f=c.call(a,k);if(f||!b||a.document&&a.document.nodeType!==11)return f}}catch(e){}return v(k,null,null,[a]).length>0}}})();(function(){var a=y.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==0&&(a.lastChild.className="e",a.getElementsByClassName("e").length!==
-1))t.order.splice(1,0,"CLASS"),t.find.CLASS=function(a,c,b){if(typeof c.getElementsByClassName!=="undefined"&&!b)return c.getElementsByClassName(a[1])},a=null})();v.contains=y.documentElement.contains?function(a,c){return a!==c&&(a.contains?a.contains(c):!0)}:y.documentElement.compareDocumentPosition?function(a,c){return!!(a.compareDocumentPosition(c)&16)}:function(){return!1};v.isXML=function(a){return(a=(a?a.ownerDocument||a:0).documentElement)?a.nodeName!=="HTML":!1};var ha=function(a,c){for(var b,
-g=[],k="",f=c.nodeType?[c]:c;b=t.match.PSEUDO.exec(a);)k+=b[0],a=a.replace(t.match.PSEUDO,"");a=t.relative[a]?a+"*":a;b=0;for(var e=f.length;b<e;b++)v(a,f[b],g);return v.filter(k,g)};b.find=v;b.expr=v.selectors;b.expr[":"]=b.expr.filters;b.unique=v.uniqueSort;b.text=v.getText;b.isXMLDoc=v.isXML;b.contains=v.contains})();var ta=/Until$/,U=/^(?:parents|prevUntil|prevAll)/,ya=/,/,Ea=/^.[^:#\[\.,]*$/,f=Array.prototype.slice,v=b.expr.match.POS,j={children:!0,contents:!0,next:!0,prev:!0};b.fn.extend({find:function(a){var c=
-this,g,k;if(typeof a!=="string")return b(a).filter(function(){g=0;for(k=c.length;g<k;g++)if(b.contains(c[g],this))return!0});var f=this.pushStack("","find",a),e,j,l;g=0;for(k=this.length;g<k;g++)if(e=f.length,b.find(a,this[g],f),g>0)for(j=e;j<f.length;j++)for(l=0;l<e;l++)if(f[l]===f[j]){f.splice(j--,1);break}return f},has:function(a){var c=b(a);return this.filter(function(){for(var a=0,k=c.length;a<k;a++)if(b.contains(this,c[a]))return!0})},not:function(a){return this.pushStack(I(this,a,!1),"not",
-a)},filter:function(a){return this.pushStack(I(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a==="string"?b.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,c){var g=[],k,f,e=this[0];if(b.isArray(a)){var j,l={},d=1;if(e&&a.length){k=0;for(f=a.length;k<f;k++)j=a[k],l[j]||(l[j]=v.test(j)?b(j,c||this.context):j);for(;e&&e.ownerDocument&&e!==c;){for(j in l)k=l[j],(k.jquery?k.index(e)>-1:b(e).is(k))&&g.push({selector:j,elem:e,level:d});e=e.parentNode;d++}}return g}j=v.test(a)||
-typeof a!=="string"?b(a,c||this.context):0;k=0;for(f=this.length;k<f;k++)for(e=this[k];e;)if(j?j.index(e)>-1:b.find.matchesSelector(e,a)){g.push(e);break}else if(e=e.parentNode,!e||!e.ownerDocument||e===c||e.nodeType===11)break;g=g.length>1?b.unique(g):g;return this.pushStack(g,"closest",a)},index:function(a){if(!a||typeof a==="string")return b.inArray(this[0],a?b(a):this.parent().children());return b.inArray(a.jquery?a[0]:a,this)},add:function(a,c){var g=typeof a==="string"?b(a,c):b.makeArray(a&&
-a.nodeType?[a]:a),k=b.merge(this.get(),g);return this.pushStack(!g[0]||!g[0].parentNode||g[0].parentNode.nodeType===11||!k[0]||!k[0].parentNode||k[0].parentNode.nodeType===11?k:b.unique(k))},andSelf:function(){return this.add(this.prevObject)}});b.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return b.dir(a,"parentNode")},parentsUntil:function(a,c,g){return b.dir(a,"parentNode",g)},next:function(a){return b.nth(a,2,"nextSibling")},prev:function(a){return b.nth(a,
-2,"previousSibling")},nextAll:function(a){return b.dir(a,"nextSibling")},prevAll:function(a){return b.dir(a,"previousSibling")},nextUntil:function(a,c,g){return b.dir(a,"nextSibling",g)},prevUntil:function(a,c,g){return b.dir(a,"previousSibling",g)},siblings:function(a){return b.sibling(a.parentNode.firstChild,a)},children:function(a){return b.sibling(a.firstChild)},contents:function(a){return b.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:b.makeArray(a.childNodes)}},function(a,
-c){b.fn[a]=function(g,k){var e=b.map(this,c,g),l=f.call(arguments);ta.test(a)||(k=g);k&&typeof k==="string"&&(e=b.filter(k,e));e=this.length>1&&!j[a]?b.unique(e):e;if((this.length>1||ya.test(k))&&U.test(a))e=e.reverse();return this.pushStack(e,a,l.join(","))}});b.extend({filter:function(a,c,g){g&&(a=":not("+a+")");return c.length===1?b.find.matchesSelector(c[0],a)?[c[0]]:[]:b.find.matches(a,c)},dir:function(a,c,g){for(var k=[],a=a[c];a&&a.nodeType!==9&&(g===h||a.nodeType!==1||!b(a).is(g));)a.nodeType===
-1&&k.push(a),a=a[c];return k},nth:function(a,c,b){for(var c=c||1,k=0;a;a=a[b])if(a.nodeType===1&&++k===c)break;return a},sibling:function(a,c){for(var b=[];a;a=a.nextSibling)a.nodeType===1&&a!==c&&b.push(a);return b}});var M=/ jQuery\d+="(?:\d+|null)"/g,l=/^\s+/,P=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,W=/<([\w:]+)/,Aa=/<tbody/i,ma=/<|&#?\w+;/,za=/<(?:script|object|embed|option|style)/i,ha=/checked\s*(?:[^=]|=\s*.checked.)/i,Na=/\/(java|ecma)script/i,hb=/^\s*<!(?:\[CDATA\[|\-\-)/,
-na={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};na.optgroup=na.option;na.tbody=na.tfoot=na.colgroup=na.caption=na.thead;na.th=na.td;if(!b.support.htmlSerialize)na._default=[1,"div<div>","</div>"];b.fn.extend({text:function(a){if(b.isFunction(a))return this.each(function(c){var g=
-b(this);g.text(a.call(this,c,g.text()))});if(typeof a!=="object"&&a!==h)return this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a));return b.text(this)},wrapAll:function(a){if(b.isFunction(a))return this.each(function(c){b(this).wrapAll(a.call(this,c))});if(this[0]){var c=b(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&c.insertBefore(this[0]);c.map(function(){for(var a=this;a.firstChild&&a.firstChild.nodeType===1;)a=a.firstChild;return a}).append(this)}return this},
-wrapInner:function(a){if(b.isFunction(a))return this.each(function(c){b(this).wrapInner(a.call(this,c))});return this.each(function(){var c=b(this),g=c.contents();g.length?g.wrapAll(a):c.append(a)})},wrap:function(a){return this.each(function(){b(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){b.nodeName(this,"body")||b(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,
+a.ownerDocument.activeElement}},setFilters:{first:function(a,c){return c===0},last:function(a,c,b,h){return c===h.length-1},even:function(a,c){return c%2===0},odd:function(a,c){return c%2===1},lt:function(a,c,b){return c<b[3]-0},gt:function(a,c,b){return c>b[3]-0},nth:function(a,c,b){return b[3]-0===c},eq:function(a,c,b){return b[3]-0===c}},filter:{PSEUDO:function(a,c,b,h){var k=c[1],f=x.filters[k];if(f)return f(a,b,c,h);else if(k==="contains")return(a.textContent||a.innerText||u.getText([a])||"").indexOf(c[3])>=
+0;else if(k==="not"){c=c[3];b=0;for(h=c.length;b<h;b++)if(c[b]===a)return!1;return!0}else u.error(k)},CHILD:function(a,c){var b=c[1],h=a;switch(b){case "only":case "first":for(;h=h.previousSibling;)if(h.nodeType===1)return!1;if(b==="first")return!0;h=a;case "last":for(;h=h.nextSibling;)if(h.nodeType===1)return!1;return!0;case "nth":var b=c[2],k=c[3];if(b===1&&k===0)return!0;var f=c[0],e=a.parentNode;if(e&&(e.sizcache!==f||!a.nodeIndex)){for(var t=0,h=e.firstChild;h;h=h.nextSibling)if(h.nodeType===
+1)h.nodeIndex=++t;e.sizcache=f}h=a.nodeIndex-k;return b===0?h===0:h%b===0&&h/b>=0}},ID:function(a,c){return a.nodeType===1&&a.getAttribute("id")===c},TAG:function(a,c){return c==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===c},CLASS:function(a,c){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(c)>-1},ATTR:function(a,c){var b=c[1],b=x.attrHandle[b]?x.attrHandle[b](a):a[b]!=null?a[b]:a.getAttribute(b),h=b+"",k=c[2],f=c[4];return b==null?k==="!=":k==="="?h===f:k==="*="?h.indexOf(f)>=
+0:k==="~="?(" "+h+" ").indexOf(f)>=0:!f?h&&b!==!1:k==="!="?h!==f:k==="^="?h.indexOf(f)===0:k==="$="?h.substr(h.length-f.length)===f:k==="|="?h===f||h.substr(0,f.length+1)===f+"-":!1},POS:function(a,c,b,h){var k=x.setFilters[c[2]];if(k)return k(a,b,c,h)}}},p=x.match.POS,q=function(a,c){return"\\"+(c-0+1)},r;for(r in x.match)x.match[r]=RegExp(x.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),x.leftMatch[r]=RegExp(/(^(?:.|\r|\n)*?)/.source+x.match[r].source.replace(/\\(\d+)/g,q));var O=function(a,
+c){a=Array.prototype.slice.call(a,0);return c?(c.push.apply(c,a),c):a};try{Array.prototype.slice.call(B.documentElement.childNodes,0)}catch(wa){O=function(a,c){var b=0,h=c||[];if(f.call(a)==="[object Array]")Array.prototype.push.apply(h,a);else if(typeof a.length==="number")for(var k=a.length;b<k;b++)h.push(a[b]);else for(;a[b];b++)h.push(a[b]);return h}}var P,s;B.documentElement.compareDocumentPosition?P=function(a,c){return a===c?(e=!0,0):!a.compareDocumentPosition||!c.compareDocumentPosition?a.compareDocumentPosition?
+-1:1:a.compareDocumentPosition(c)&4?-1:1}:(P=function(a,c){if(a===c)return e=!0,0;else if(a.sourceIndex&&c.sourceIndex)return a.sourceIndex-c.sourceIndex;var b,h,k=[],f=[];b=a.parentNode;h=c.parentNode;var t=b;if(b===h)return s(a,c);else if(b){if(!h)return 1}else return-1;for(;t;)k.unshift(t),t=t.parentNode;for(t=h;t;)f.unshift(t),t=t.parentNode;b=k.length;h=f.length;for(t=0;t<b&&t<h;t++)if(k[t]!==f[t])return s(k[t],f[t]);return t===b?s(a,f[t],-1):s(k[t],c,1)},s=function(a,c,b){if(a===c)return b;
+for(a=a.nextSibling;a;){if(a===c)return-1;a=a.nextSibling}return 1});u.getText=function(a){for(var c="",b,h=0;a[h];h++)b=a[h],b.nodeType===3||b.nodeType===4?c+=b.nodeValue:b.nodeType!==8&&(c+=u.getText(b.childNodes));return c};(function(){var a=B.createElement("div"),c="script"+(new Date).getTime(),b=B.documentElement;a.innerHTML="<a name='"+c+"'/>";b.insertBefore(a,b.firstChild);if(B.getElementById(c))x.find.ID=function(a,c,b){if(typeof c.getElementById!=="undefined"&&!b)return(c=c.getElementById(a[1]))?
+c.id===a[1]||typeof c.getAttributeNode!=="undefined"&&c.getAttributeNode("id").nodeValue===a[1]?[c]:j:[]},x.filter.ID=function(a,c){var b=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&b&&b.nodeValue===c};b.removeChild(a);b=a=null})();(function(){var a=B.createElement("div");a.appendChild(B.createComment(""));if(a.getElementsByTagName("*").length>0)x.find.TAG=function(a,c){var b=c.getElementsByTagName(a[1]);if(a[1]==="*"){for(var h=[],k=0;b[k];k++)b[k].nodeType===
+1&&h.push(b[k]);b=h}return b};a.innerHTML="<a href='#'></a>";if(a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#")x.attrHandle.href=function(a){return a.getAttribute("href",2)};a=null})();B.querySelectorAll&&function(){var a=u,c=B.createElement("div");c.innerHTML="<p class='TEST'></p>";if(!(c.querySelectorAll&&c.querySelectorAll(".TEST").length===0)){u=function(c,b,h,k){b=b||B;if(!k&&!u.isXML(b)){var f=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(c);
+if(f&&(b.nodeType===1||b.nodeType===9))if(f[1])return O(b.getElementsByTagName(c),h);else if(f[2]&&x.find.CLASS&&b.getElementsByClassName)return O(b.getElementsByClassName(f[2]),h);if(b.nodeType===9){if(c==="body"&&b.body)return O([b.body],h);else if(f&&f[3]){var e=b.getElementById(f[3]);if(e&&e.parentNode){if(e.id===f[3])return O([e],h)}else return O([],h)}try{return O(b.querySelectorAll(c),h)}catch(t){}}else if(b.nodeType===1&&b.nodeName.toLowerCase()!=="object"){var f=b,g=(e=b.getAttribute("id"))||
+"__sizzle__",d=b.parentNode,o=/^\s*[+~]/.test(c);e?g=g.replace(/'/g,"\\$&"):b.setAttribute("id",g);if(o&&d)b=b.parentNode;try{if(!o||d)return O(b.querySelectorAll("[id='"+g+"'] "+c),h)}catch(p){}finally{e||f.removeAttribute("id")}}}return a(c,b,h,k)};for(var b in a)u[b]=a[b];c=null}}();(function(){var a=B.documentElement,c=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(c){var b=!c.call(B.createElement("div"),"div"),h=!1;try{c.call(B.documentElement,"[test!='']:sizzle")}catch(k){h=
+!0}u.matchesSelector=function(a,k){k=k.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!u.isXML(a))try{if(h||!x.match.PSEUDO.test(k)&&!/!=/.test(k)){var f=c.call(a,k);if(f||!b||a.document&&a.document.nodeType!==11)return f}}catch(e){}return u(k,null,null,[a]).length>0}}})();(function(){var a=B.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==0&&(a.lastChild.className="e",a.getElementsByClassName("e").length!==
+1))x.order.splice(1,0,"CLASS"),x.find.CLASS=function(a,c,b){if(typeof c.getElementsByClassName!=="undefined"&&!b)return c.getElementsByClassName(a[1])},a=null})();u.contains=B.documentElement.contains?function(a,c){return a!==c&&(a.contains?a.contains(c):!0)}:B.documentElement.compareDocumentPosition?function(a,c){return!!(a.compareDocumentPosition(c)&16)}:function(){return!1};u.isXML=function(a){return(a=(a?a.ownerDocument||a:0).documentElement)?a.nodeName!=="HTML":!1};var ca=function(a,c){for(var b,
+h=[],k="",f=c.nodeType?[c]:c;b=x.match.PSEUDO.exec(a);)k+=b[0],a=a.replace(x.match.PSEUDO,"");a=x.relative[a]?a+"*":a;b=0;for(var e=f.length;b<e;b++)u(a,f[b],h);return u.filter(k,h)};b.find=u;b.expr=u.selectors;b.expr[":"]=b.expr.filters;b.unique=u.uniqueSort;b.text=u.getText;b.isXMLDoc=u.isXML;b.contains=u.contains})();var va=/Until$/,V=/^(?:parents|prevUntil|prevAll)/,Ca=/,/,Ha=/^.[^:#\[\.,]*$/,f=Array.prototype.slice,u=b.expr.match.POS,e={children:!0,contents:!0,next:!0,prev:!0};b.fn.extend({find:function(a){var c=
+this,h,k;if(typeof a!=="string")return b(a).filter(function(){for(h=0,k=c.length;h<k;h++)if(b.contains(c[h],this))return!0});var f=this.pushStack("","find",a),e,g,d;for(h=0,k=this.length;h<k;h++)if(e=f.length,b.find(a,this[h],f),h>0)for(g=e;g<f.length;g++)for(d=0;d<e;d++)if(f[d]===f[g]){f.splice(g--,1);break}return f},has:function(a){var c=b(a);return this.filter(function(){for(var a=0,k=c.length;a<k;a++)if(b.contains(this,c[a]))return!0})},not:function(a){return this.pushStack(M(this,a,!1),"not",
+a)},filter:function(a){return this.pushStack(M(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a==="string"?b.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,c){var h=[],k,f,e=this[0];if(b.isArray(a)){var g,d={},o=1;if(e&&a.length){for(k=0,f=a.length;k<f;k++)g=a[k],d[g]||(d[g]=u.test(g)?b(g,c||this.context):g);for(;e&&e.ownerDocument&&e!==c;){for(g in d)k=d[g],(k.jquery?k.index(e)>-1:b(e).is(k))&&h.push({selector:g,elem:e,level:o});e=e.parentNode;o++}}return h}g=u.test(a)||
+typeof a!=="string"?b(a,c||this.context):0;for(k=0,f=this.length;k<f;k++)for(e=this[k];e;)if(g?g.index(e)>-1:b.find.matchesSelector(e,a)){h.push(e);break}else if(e=e.parentNode,!e||!e.ownerDocument||e===c||e.nodeType===11)break;h=h.length>1?b.unique(h):h;return this.pushStack(h,"closest",a)},index:function(a){return!a||typeof a==="string"?b.inArray(this[0],a?b(a):this.parent().children()):b.inArray(a.jquery?a[0]:a,this)},add:function(a,c){var h=typeof a==="string"?b(a,c):b.makeArray(a&&a.nodeType?
+[a]:a),k=b.merge(this.get(),h);return this.pushStack(!h[0]||!h[0].parentNode||h[0].parentNode.nodeType===11||!k[0]||!k[0].parentNode||k[0].parentNode.nodeType===11?k:b.unique(k))},andSelf:function(){return this.add(this.prevObject)}});b.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return b.dir(a,"parentNode")},parentsUntil:function(a,c,h){return b.dir(a,"parentNode",h)},next:function(a){return b.nth(a,2,"nextSibling")},prev:function(a){return b.nth(a,
+2,"previousSibling")},nextAll:function(a){return b.dir(a,"nextSibling")},prevAll:function(a){return b.dir(a,"previousSibling")},nextUntil:function(a,c,h){return b.dir(a,"nextSibling",h)},prevUntil:function(a,c,h){return b.dir(a,"previousSibling",h)},siblings:function(a){return b.sibling(a.parentNode.firstChild,a)},children:function(a){return b.sibling(a.firstChild)},contents:function(a){return b.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:b.makeArray(a.childNodes)}},function(a,
+c){b.fn[a]=function(h,k){var t=b.map(this,c,h),g=f.call(arguments);va.test(a)||(k=h);k&&typeof k==="string"&&(t=b.filter(k,t));t=this.length>1&&!e[a]?b.unique(t):t;if((this.length>1||Ca.test(k))&&V.test(a))t=t.reverse();return this.pushStack(t,a,g.join(","))}});b.extend({filter:function(a,c,h){h&&(a=":not("+a+")");return c.length===1?b.find.matchesSelector(c[0],a)?[c[0]]:[]:b.find.matches(a,c)},dir:function(a,c,h){for(var k=[],a=a[c];a&&a.nodeType!==9&&(h===j||a.nodeType!==1||!b(a).is(h));)a.nodeType===
+1&&k.push(a),a=a[c];return k},nth:function(a,c,b){for(var c=c||1,k=0;a;a=a[b])if(a.nodeType===1&&++k===c)break;return a},sibling:function(a,c){for(var b=[];a;a=a.nextSibling)a.nodeType===1&&a!==c&&b.push(a);return b}});var x=/ jQuery\d+="(?:\d+|null)"/g,o=/^\s+/,wa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,P=/<([\w:]+)/,Q=/<tbody/i,ca=/<|&#?\w+;/,ha=/<(?:script|object|embed|option|style)/i,W=/checked\s*(?:[^=]|=\s*.checked.)/i,Na=/\/(java|ecma)script/i,gb=/^\s*<!(?:\[CDATA\[|\-\-)/,
+Aa={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};Aa.optgroup=Aa.option;Aa.tbody=Aa.tfoot=Aa.colgroup=Aa.caption=Aa.thead;Aa.th=Aa.td;if(!b.support.htmlSerialize)Aa._default=[1,"div<div>","</div>"];b.fn.extend({text:function(a){return b.isFunction(a)?
+this.each(function(c){var h=b(this);h.text(a.call(this,c,h.text()))}):typeof a!=="object"&&a!==j?this.empty().append((this[0]&&this[0].ownerDocument||B).createTextNode(a)):b.text(this)},wrapAll:function(a){if(b.isFunction(a))return this.each(function(c){b(this).wrapAll(a.call(this,c))});if(this[0]){var c=b(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&c.insertBefore(this[0]);c.map(function(){for(var a=this;a.firstChild&&a.firstChild.nodeType===1;)a=a.firstChild;return a}).append(this)}return this},
+wrapInner:function(a){return b.isFunction(a)?this.each(function(c){b(this).wrapInner(a.call(this,c))}):this.each(function(){var c=b(this),h=c.contents();h.length?h.wrapAll(a):c.append(a)})},wrap:function(a){return this.each(function(){b(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){b.nodeName(this,"body")||b(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,
!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});else if(arguments.length){var a=b(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});else if(arguments.length){var a=
-this.pushStack(this,"after",arguments);a.push.apply(a,b(arguments[0]).toArray());return a}},remove:function(a,c){for(var g=0,k;(k=this[g])!=null;g++)if(!a||b.filter(a,[k]).length)!c&&k.nodeType===1&&(b.cleanData(k.getElementsByTagName("*")),b.cleanData([k])),k.parentNode&&k.parentNode.removeChild(k);return this},empty:function(){for(var a=0,c;(c=this[a])!=null;a++)for(c.nodeType===1&&b.cleanData(c.getElementsByTagName("*"));c.firstChild;)c.removeChild(c.firstChild);return this},clone:function(a,c){a=
-a==null?!1:a;c=c==null?a:c;return this.map(function(){return b.clone(this,a,c)})},html:function(a){if(a===h)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(M,""):null;else if(typeof a==="string"&&!za.test(a)&&(b.support.leadingWhitespace||!l.test(a))&&!na[(W.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(P,"<$1></$2>");try{for(var c=0,g=this.length;c<g;c++)if(this[c].nodeType===1)b.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a}catch(k){this.empty().append(a)}}else b.isFunction(a)?
-this.each(function(c){var g=b(this);g.html(a.call(this,c,g.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(b.isFunction(a))return this.each(function(c){var g=b(this),k=g.html();g.replaceWith(a.call(this,c,k))});typeof a!=="string"&&(a=b(a).detach());return this.each(function(){var c=this.nextSibling,g=this.parentNode;b(this).remove();c?b(c).before(a):b(g).append(a)})}else return this.length?this.pushStack(b(b.isFunction(a)?a():a),"replaceWith",
-a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,g){var k,f,e,j=a[0],l=[];if(!b.support.checkClone&&arguments.length===3&&typeof j==="string"&&ha.test(j))return this.each(function(){b(this).domManip(a,c,g,!0)});if(b.isFunction(j))return this.each(function(k){var f=b(this);a[0]=j.call(this,k,c?f.html():h);f.domManip(a,c,g)});if(this[0]){k=j&&j.parentNode;k=b.support.parentNode&&k&&k.nodeType===11&&k.childNodes.length===this.length?{fragment:k}:b.buildFragment(a,this,l);e=
-k.fragment;if(f=e.childNodes.length===1?e=e.firstChild:e.firstChild){c=c&&b.nodeName(f,"tr");f=0;for(var d=this.length,v=d-1;f<d;f++)g.call(c?b.nodeName(this[f],"table")?this[f].getElementsByTagName("tbody")[0]||this[f].appendChild(this[f].ownerDocument.createElement("tbody")):this[f]:this[f],k.cacheable||d>1&&f<v?b.clone(e,!0,!0):e)}l.length&&b.each(l,Q)}return this}});b.buildFragment=function(a,c,g){var k,f,e,j;c&&c[0]&&(j=c[0].ownerDocument||c[0]);j.createDocumentFragment||(j=y);if(a.length===
-1&&typeof a[0]==="string"&&a[0].length<512&&j===y&&a[0].charAt(0)==="<"&&!za.test(a[0])&&(b.support.checkClone||!ha.test(a[0])))f=!0,(e=b.fragments[a[0]])&&e!==1&&(k=e);k||(k=j.createDocumentFragment(),b.clean(a,j,k,g));f&&(b.fragments[a[0]]=e?k:1);return{fragment:k,cacheable:f}};b.fragments={};b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,c){b.fn[a]=function(g){var k=[],g=b(g),f=this.length===1&&this[0].parentNode;if(f&&
-f.nodeType===11&&f.childNodes.length===1&&g.length===1)return g[c](this[0]),this;else{for(var f=0,e=g.length;f<e;f++){var j=(f>0?this.clone(!0):this).get();b(g[f])[c](j);k=k.concat(j)}return this.pushStack(k,a,g.selector)}}});b.extend({clone:function(a,c,g){var k=a.cloneNode(!0),f,e,j;if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!b.isXMLDoc(a)){r(a,k);f=o(a);e=o(k);for(j=0;f[j];++j)r(f[j],e[j])}if(c&&(G(a,k),g)){f=o(a);e=o(k);for(j=0;f[j];++j)G(f[j],
-e[j])}return k},clean:function(a,c,g,k){c=c||y;typeof c.createElement==="undefined"&&(c=c.ownerDocument||c[0]&&c[0].ownerDocument||y);for(var f=[],e,j=0,d;(d=a[j])!=null;j++)if(typeof d==="number"&&(d+=""),d){if(typeof d==="string")if(ma.test(d)){d=d.replace(P,"<$1></$2>");e=(W.exec(d)||["",""])[1].toLowerCase();var v=na[e]||na._default,t=v[0],n=c.createElement("div");for(n.innerHTML=v[1]+d+v[2];t--;)n=n.lastChild;if(!b.support.tbody){t=Aa.test(d);v=e==="table"&&!t?n.firstChild&&n.firstChild.childNodes:
-v[1]==="<table>"&&!t?n.childNodes:[];for(e=v.length-1;e>=0;--e)b.nodeName(v[e],"tbody")&&!v[e].childNodes.length&&v[e].parentNode.removeChild(v[e])}!b.support.leadingWhitespace&&l.test(d)&&n.insertBefore(c.createTextNode(l.exec(d)[0]),n.firstChild);d=n.childNodes}else d=c.createTextNode(d);var M;if(!b.support.appendChecked)if(d[0]&&typeof(M=d.length)==="number")for(e=0;e<M;e++)V(d[e]);else V(d);d.nodeType?f.push(d):f=b.merge(f,d)}if(g){a=function(a){return!a.type||Na.test(a.type)};for(j=0;f[j];j++)k&&
-b.nodeName(f[j],"script")&&(!f[j].type||f[j].type.toLowerCase()==="text/javascript")?k.push(f[j].parentNode?f[j].parentNode.removeChild(f[j]):f[j]):(f[j].nodeType===1&&(c=b.grep(f[j].getElementsByTagName("script"),a),f.splice.apply(f,[j+1,0].concat(c))),g.appendChild(f[j]))}return f},cleanData:function(a){for(var c,g,k=b.cache,f=b.expando,e=b.event.special,j=b.support.deleteExpando,l=0,d;(d=a[l])!=null;l++)if(!d.nodeName||!b.noData[d.nodeName.toLowerCase()])if(g=d[b.expando]){if((c=k[g]&&k[g][f])&&
-c.events){for(var v in c.events)e[v]?b.event.remove(d,v):b.removeEvent(d,v,c.handle);if(c.handle)c.handle.elem=null}j?delete d[b.expando]:d.removeAttribute&&d.removeAttribute(b.expando);delete k[g]}}});var Da=/alpha\([^)]*\)/i,Fa=/opacity=([^)]*)/,ua=/([A-Z]|^ms)/g,Ga=/^-?\d+(?:px)?$/i,nb=/^-?\d/,ob=/^[+\-]=/,pb=/[^+\-\.\de]+/g,qb={position:"absolute",visibility:"hidden",display:"block"},ib=["Left","Right"],jb=["Top","Bottom"],Ja,$a,ab;b.fn.css=function(a,c){if(arguments.length===2&&c===h)return this;
-return b.access(this,a,c,!0,function(a,c,f){return f!==h?b.style(a,c,f):b.css(a,c)})};b.extend({cssHooks:{opacity:{get:function(a,c){if(c){var b=Ja(a,"opacity","opacity");return b===""?"1":b}else return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":b.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,g,f){if(a&&!(a.nodeType===3||a.nodeType===8||!a.style)){var e,j=b.camelCase(c),l=a.style,d=b.cssHooks[j],
-c=b.cssProps[j]||j;if(g!==h){if(f=typeof g,!(f==="number"&&isNaN(g)||g==null))if(f==="string"&&ob.test(g)&&(g=+g.replace(pb,"")+parseFloat(b.css(a,c)),f="number"),f==="number"&&!b.cssNumber[j]&&(g+="px"),!d||!("set"in d)||(g=d.set(a,g))!==h)try{l[c]=g}catch(v){}}else{if(d&&"get"in d&&(e=d.get(a,!1,f))!==h)return e;return l[c]}}},css:function(a,c,g){var f,e,c=b.camelCase(c);e=b.cssHooks[c];c=b.cssProps[c]||c;c==="cssFloat"&&(c="float");if(e&&"get"in e&&(f=e.get(a,!0,g))!==h)return f;else if(Ja)return Ja(a,
-c)},swap:function(a,c,b){var f={},e;for(e in c)f[e]=a.style[e],a.style[e]=c[e];b.call(a);for(e in c)a.style[e]=f[e]}});b.curCSS=b.css;b.each(["height","width"],function(a,c){b.cssHooks[c]={get:function(a,f,e){var j;if(f){if(a.offsetWidth!==0)return R(a,c,e);else b.swap(a,qb,function(){j=R(a,c,e)});return j}},set:function(a,c){if(Ga.test(c)){if(c=parseFloat(c),c>=0)return c+"px"}else return c}}});if(!b.support.opacity)b.cssHooks.opacity={get:function(a,c){return Fa.test((c&&a.currentStyle?a.currentStyle.filter:
-a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":c?"1":""},set:function(a,c){var g=a.style,f=a.currentStyle;g.zoom=1;var e=b.isNaN(c)?"":"alpha(opacity="+c*100+")",f=f&&f.filter||g.filter||"";g.filter=Da.test(f)?f.replace(Da,e):f+" "+e}};b(function(){if(!b.support.reliableMarginRight)b.cssHooks.marginRight={get:function(a,c){var g;b.swap(a,{display:"inline-block"},function(){g=c?Ja(a,"margin-right","marginRight"):a.style.marginRight});return g}}});y.defaultView&&y.defaultView.getComputedStyle&&($a=
-function(a,c){var g,f,c=c.replace(ua,"-$1").toLowerCase();if(!(f=a.ownerDocument.defaultView))return h;if(f=f.getComputedStyle(a,null))g=f.getPropertyValue(c),g===""&&!b.contains(a.ownerDocument.documentElement,a)&&(g=b.style(a,c));return g});y.documentElement.currentStyle&&(ab=function(a,c){var b,f=a.currentStyle&&a.currentStyle[c],e=a.runtimeStyle&&a.runtimeStyle[c],j=a.style;if(!Ga.test(f)&&nb.test(f)){b=j.left;if(e)a.runtimeStyle.left=a.currentStyle.left;j.left=c==="fontSize"?"1em":f||0;f=j.pixelLeft+
-"px";j.left=b;if(e)a.runtimeStyle.left=e}return f===""?"auto":f});Ja=$a||ab;if(b.expr&&b.expr.filters)b.expr.filters.hidden=function(a){var c=a.offsetHeight;return a.offsetWidth===0&&c===0||!b.support.reliableHiddenOffsets&&(a.style.display||b.css(a,"display"))==="none"},b.expr.filters.visible=function(a){return!b.expr.filters.hidden(a)};var rb=/%20/g,kb=/\[\]$/,bb=/\r?\n/g,sb=/#.*$/,tb=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,ub=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,
-vb=/^(?:GET|HEAD)$/,wb=/^\/\//,cb=/\?/,xb=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,yb=/^(?:select|textarea)/i,Ya=/\s+/,zb=/([?&])_=[^&]*/,db=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,eb=b.fn.load,Ua={},fb={},Ha,Ia;try{Ha=Y.href}catch(Fb){Ha=y.createElement("a"),Ha.href="",Ha=Ha.href}Ia=db.exec(Ha.toLowerCase())||[];b.fn.extend({load:function(a,c,g){if(typeof a!=="string"&&eb)return eb.apply(this,arguments);else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0)var e=a.slice(f,
-a.length),a=a.slice(0,f);f="GET";c&&(b.isFunction(c)?(g=c,c=h):typeof c==="object"&&(c=b.param(c,b.ajaxSettings.traditional),f="POST"));var j=this;b.ajax({url:a,type:f,dataType:"html",data:c,complete:function(a,c,f){f=a.responseText;a.isResolved()&&(a.done(function(a){f=a}),j.html(e?b("<div>").append(f.replace(xb,"")).find(e):f));g&&j.each(g,[f,c,a])}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?
-b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||yb.test(this.nodeName)||ub.test(this.type))}).map(function(a,c){var g=b(this).val();return g==null?null:b.isArray(g)?b.map(g,function(a){return{name:c.name,value:a.replace(bb,"\r\n")}}):{name:c.name,value:g.replace(bb,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,c){b.fn[c]=function(a){return this.bind(c,a)}});b.each(["get","post"],
-function(a,c){b[c]=function(a,f,e,j){b.isFunction(f)&&(j=j||e,e=f,f=h);return b.ajax({type:c,url:a,data:f,success:e,dataType:j})}});b.extend({getScript:function(a,c){return b.get(a,h,c,"script")},getJSON:function(a,c,g){return b.get(a,c,g,"json")},ajaxSetup:function(a,c){c?b.extend(!0,a,b.ajaxSettings,c):(c=a,a=b.extend(!0,b.ajaxSettings,c));for(var g in{context:1,url:1})g in c?a[g]=c[g]:g in b.ajaxSettings&&(a[g]=b.ajaxSettings[g]);return a},ajaxSettings:{url:Ha,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|widget):$/.test(Ia[1]),
-global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":d.String,"text html":!0,"text json":b.parseJSON,"text xml":b.parseXML}},ajaxPrefilter:S(Ua),ajaxTransport:S(fb),ajax:function(a,c){function g(a,c,g,n){if(ha!==
-2){ha=2;ma&&clearTimeout(ma);W=h;P=n||"";u.readyState=a?4:0;var M,w,J;if(g){var n=f,o=u,za=n.contents,r=n.dataTypes,q=n.responseFields,x,p,ca,ua;for(p in q)p in g&&(o[q[p]]=g[p]);for(;r[0]==="*";)r.shift(),x===h&&(x=n.mimeType||o.getResponseHeader("content-type"));if(x)for(p in za)if(za[p]&&za[p].test(x)){r.unshift(p);break}if(r[0]in g)ca=r[0];else{for(p in g){if(!r[0]||n.converters[p+" "+r[0]]){ca=p;break}ua||(ua=p)}ca=ca||ua}ca?(ca!==r[0]&&r.unshift(ca),g=g[ca]):g=void 0}else g=h;if(a>=200&&a<300||
-a===304){if(f.ifModified){if(x=u.getResponseHeader("Last-Modified"))b.lastModified[t]=x;if(x=u.getResponseHeader("Etag"))b.etag[t]=x}if(a===304)c="notmodified",M=!0;else try{x=f;x.dataFilter&&(g=x.dataFilter(g,x.dataType));var A=x.dataTypes;p={};var Fa,Na,y=A.length,Ga,E=A[0],Da,F,z,Q,C;for(Fa=1;Fa<y;Fa++){if(Fa===1)for(Na in x.converters)typeof Na==="string"&&(p[Na.toLowerCase()]=x.converters[Na]);Da=E;E=A[Fa];if(E==="*")E=Da;else if(Da!=="*"&&Da!==E){F=Da+" "+E;z=p[F]||p["* "+E];if(!z)for(Q in C=
-h,p)if(Ga=Q.split(" "),Ga[0]===Da||Ga[0]==="*")if(C=p[Ga[1]+" "+E]){Q=p[Q];Q===!0?z=C:C===!0&&(z=Q);break}!z&&!C&&b.error("No conversion from "+F.replace(" "," to "));z!==!0&&(g=z?z(g):C(Q(g)))}}w=g;c="success";M=!0}catch(na){c="parsererror",J=na}}else if(J=c,!c||a)c="error",a<0&&(a=0);u.status=a;u.statusText=c;M?d.resolveWith(e,[w,c,u]):d.rejectWith(e,[u,c,J]);u.statusCode(v);v=h;Aa&&j.trigger("ajax"+(M?"Success":"Error"),[u,f,M?w:J]);l.resolveWith(e,[u,c]);Aa&&(j.trigger("ajaxComplete",[u,f]),--b.active||
-b.event.trigger("ajaxStop"))}}typeof a==="object"&&(c=a,a=h);var c=c||{},f=b.ajaxSetup({},c),e=f.context||f,j=e!==f&&(e.nodeType||e instanceof b)?b(e):b.event,d=b.Deferred(),l=b._Deferred(),v=f.statusCode||{},t,n={},M={},P,w,W,ma,J,ha=0,Aa,o,u={readyState:0,setRequestHeader:function(a,c){if(!ha){var b=a.toLowerCase(),a=M[b]=M[b]||a;n[a]=c}return this},getAllResponseHeaders:function(){return ha===2?P:null},getResponseHeader:function(a){var c;if(ha===2){if(!w)for(w={};c=tb.exec(P);)w[c[1].toLowerCase()]=
-c[2];c=w[a.toLowerCase()]}return c===h?null:c},overrideMimeType:function(a){if(!ha)f.mimeType=a;return this},abort:function(a){a=a||"abort";W&&W.abort(a);g(0,a);return this}};d.promise(u);u.success=u.done;u.error=u.fail;u.complete=l.done;u.statusCode=function(a){if(a){var c;if(ha<2)for(c in a)v[c]=[v[c],a[c]];else c=a[u.status],u.then(c,c)}return this};f.url=((a||f.url)+"").replace(sb,"").replace(wb,Ia[1]+"//");f.dataTypes=b.trim(f.dataType||"*").toLowerCase().split(Ya);if(f.crossDomain==null)J=db.exec(f.url.toLowerCase()),
-f.crossDomain=!(!J||!(J[1]!=Ia[1]||J[2]!=Ia[2]||(J[3]||(J[1]==="http:"?80:443))!=(Ia[3]||(Ia[1]==="http:"?80:443))));if(f.data&&f.processData&&typeof f.data!=="string")f.data=b.param(f.data,f.traditional);x(Ua,f,c,u);if(ha===2)return!1;Aa=f.global;f.type=f.type.toUpperCase();f.hasContent=!vb.test(f.type);Aa&&b.active++===0&&b.event.trigger("ajaxStart");if(!f.hasContent&&(f.data&&(f.url+=(cb.test(f.url)?"&":"?")+f.data),t=f.url,f.cache===!1)){J=b.now();var za=f.url.replace(zb,"$1_="+J);f.url=za+(za===
-f.url?(cb.test(f.url)?"&":"?")+"_="+J:"")}(f.data&&f.hasContent&&f.contentType!==!1||c.contentType)&&u.setRequestHeader("Content-Type",f.contentType);f.ifModified&&(t=t||f.url,b.lastModified[t]&&u.setRequestHeader("If-Modified-Since",b.lastModified[t]),b.etag[t]&&u.setRequestHeader("If-None-Match",b.etag[t]));u.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+(f.dataTypes[0]!=="*"?", */*; q=0.01":""):f.accepts["*"]);for(o in f.headers)u.setRequestHeader(o,
-f.headers[o]);if(f.beforeSend&&(f.beforeSend.call(e,u,f)===!1||ha===2))return u.abort(),!1;for(o in{success:1,error:1,complete:1})u[o](f[o]);if(W=x(fb,f,c,u)){u.readyState=1;Aa&&j.trigger("ajaxSend",[u,f]);f.async&&f.timeout>0&&(ma=setTimeout(function(){u.abort("timeout")},f.timeout));try{ha=1,W.send(n,g)}catch(r){status<2?g(-1,r):b.error(r)}}else g(-1,"No Transport");return u},param:function(a,c){var f=[],e=function(a,c){c=b.isFunction(c)?c():c;f[f.length]=encodeURIComponent(a)+"="+encodeURIComponent(c)};
-if(c===h)c=b.ajaxSettings.traditional;if(b.isArray(a)||a.jquery&&!b.isPlainObject(a))b.each(a,function(){e(this.name,this.value)});else for(var j in a)X(j,a[j],c,e);return f.join("&").replace(rb,"+")}});b.extend({active:0,lastModified:{},etag:{}});var Ab=b.now(),Ta=/(\=)\?(&|$)|\?\?/i;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return b.expando+"_"+Ab++}});b.ajaxPrefilter("json jsonp",function(a,c,f){c=a.contentType==="application/x-www-form-urlencoded"&&typeof a.data==="string";if(a.dataTypes[0]===
-"jsonp"||a.jsonp!==!1&&(Ta.test(a.url)||c&&Ta.test(a.data))){var e,j=a.jsonpCallback=b.isFunction(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,l=d[j],v=a.url,t=a.data,n="$1"+j+"$2";a.jsonp!==!1&&(v=v.replace(Ta,n),a.url===v&&(c&&(t=t.replace(Ta,n)),a.data===t&&(v+=(/\?/.test(v)?"&":"?")+a.jsonp+"="+j)));a.url=v;a.data=t;d[j]=function(a){e=[a]};f.always(function(){d[j]=l;if(e&&b.isFunction(l))d[j](e[0])});a.converters["script json"]=function(){e||b.error(j+" was not called");return e[0]};a.dataTypes[0]=
-"json";return"script"}});b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){b.globalEval(a);return a}}});b.ajaxPrefilter("script",function(a){if(a.cache===h)a.cache=!1;if(a.crossDomain)a.type="GET",a.global=!1});b.ajaxTransport("script",function(a){if(a.crossDomain){var c,b=y.head||y.getElementsByTagName("head")[0]||y.documentElement;return{send:function(f,
-e){c=y.createElement("script");c.async="async";if(a.scriptCharset)c.charset=a.scriptCharset;c.src=a.url;c.onload=c.onreadystatechange=function(a,f){if(f||!c.readyState||/loaded|complete/.test(c.readyState))c.onload=c.onreadystatechange=null,b&&c.parentNode&&b.removeChild(c),c=h,f||e(200,"success")};b.insertBefore(c,b.firstChild)},abort:function(){if(c)c.onload(0,1)}}}});var Wa=d.ActiveXObject?function(){for(var a in Oa)Oa[a](0,1)}:!1,Bb=0,Oa;b.ajaxSettings.xhr=d.ActiveXObject?function(){var a;if(!(a=
-!this.isLocal&&L()))a:{try{a=new d.ActiveXObject("Microsoft.XMLHTTP");break a}catch(c){}a=void 0}return a}:L;(function(a){b.extend(b.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})})(b.ajaxSettings.xhr());b.support.ajax&&b.ajaxTransport(function(a){if(!a.crossDomain||b.support.cors){var c;return{send:function(f,e){var j=a.xhr(),l,v;a.username?j.open(a.type,a.url,a.async,a.username,a.password):j.open(a.type,a.url,a.async);if(a.xhrFields)for(v in a.xhrFields)j[v]=a.xhrFields[v];a.mimeType&&j.overrideMimeType&&
-j.overrideMimeType(a.mimeType);!a.crossDomain&&!f["X-Requested-With"]&&(f["X-Requested-With"]="XMLHttpRequest");try{for(v in f)j.setRequestHeader(v,f[v])}catch(t){}j.send(a.hasContent&&a.data||null);c=function(f,g){var d,v,t,n,M;try{if(c&&(g||j.readyState===4)){c=h;if(l)j.onreadystatechange=b.noop,Wa&&delete Oa[l];if(g)j.readyState!==4&&j.abort();else{d=j.status;t=j.getAllResponseHeaders();n={};if((M=j.responseXML)&&M.documentElement)n.xml=M;n.text=j.responseText;try{v=j.statusText}catch(P){v=""}!d&&
-a.isLocal&&!a.crossDomain?d=n.text?200:404:d===1223&&(d=204)}}}catch(w){g||e(-1,w)}n&&e(d,v,n,t)};!a.async||j.readyState===4?c():(l=++Bb,Wa&&(Oa||(Oa={},b(d).unload(Wa)),Oa[l]=c),j.onreadystatechange=c)},abort:function(){c&&c(0,1)}}}});var Va={},Ca,Ka,Cb=/^(?:toggle|show|hide)$/,Db=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,Pa,Za=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],Ra,Xa=d.webkitRequestAnimationFrame||
-d.mozRequestAnimationFrame||d.oRequestAnimationFrame;b.fn.extend({show:function(a,c,f){if(a||a===0)return this.animate(ga("show",3),a,c,f);else{for(var f=0,e=this.length;f<e;f++)if(a=this[f],a.style){c=a.style.display;if(!b._data(a,"olddisplay")&&c==="none")c=a.style.display="";c===""&&b.css(a,"display")==="none"&&b._data(a,"olddisplay",qa(a.nodeName))}for(f=0;f<e;f++)if(a=this[f],a.style&&(c=a.style.display,c===""||c==="none"))a.style.display=b._data(a,"olddisplay")||"";return this}},hide:function(a,
-c,f){if(a||a===0)return this.animate(ga("hide",3),a,c,f);else{a=0;for(c=this.length;a<c;a++)this[a].style&&(f=b.css(this[a],"display"),f!=="none"&&!b._data(this[a],"olddisplay")&&b._data(this[a],"olddisplay",f));for(a=0;a<c;a++)if(this[a].style)this[a].style.display="none";return this}},_toggle:b.fn.toggle,toggle:function(a,c,f){var e=typeof a==="boolean";b.isFunction(a)&&b.isFunction(c)?this._toggle.apply(this,arguments):a==null||e?this.each(function(){var c=e?a:b(this).is(":hidden");b(this)[c?"show":
-"hide"]()}):this.animate(ga("toggle",3),a,c,f);return this},fadeTo:function(a,c,b,f){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:c},a,b,f)},animate:function(a,c,f,e){var j=b.speed(c,f,e);if(b.isEmptyObject(a))return this.each(j.complete,[!1]);a=b.extend({},a);return this[j.queue===!1?"each":"queue"](function(){var s;j.queue===!1&&b._mark(this);var c=b.extend({},j),f=this.nodeType===1,g=f&&b(this).is(":hidden"),e,k,d,l,v;c.animatedProperties={};for(d in a){e=b.camelCase(d);
-d!==e&&(a[e]=a[d],delete a[d]);k=a[e];b.isArray(k)?(c.animatedProperties[e]=k[1],s=a[e]=k[0],k=s):c.animatedProperties[e]=c.specialEasing&&c.specialEasing[e]||c.easing||"swing";if(k==="hide"&&g||k==="show"&&!g)return c.complete.call(this);if(f&&(e==="height"||e==="width"))if(c.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],b.css(this,"display")==="inline"&&b.css(this,"float")==="none")b.support.inlineBlockNeedsLayout?(k=qa(this.nodeName),k==="inline"?this.style.display="inline-block":
-(this.style.display="inline",this.style.zoom=1)):this.style.display="inline-block"}if(c.overflow!=null)this.style.overflow="hidden";for(d in a)if(f=new b.fx(this,c,d),k=a[d],Cb.test(k))f[k==="toggle"?g?"show":"hide":k]();else e=Db.exec(k),l=f.cur(),e?(k=parseFloat(e[2]),v=e[3]||(b.cssNumber[d]?"":"px"),v!=="px"&&(b.style(this,d,(k||1)+v),l*=(k||1)/f.cur(),b.style(this,d,l+v)),e[1]&&(k=(e[1]==="-="?-1:1)*k+l),f.custom(l,k,v)):f.custom(l,k,"");return!0})},stop:function(a,c){a&&this.queue([]);this.each(function(){var a=
-b.timers,f=a.length;for(c||b._unmark(!0,this);f--;)if(a[f].elem===this){if(c)a[f](!0);a.splice(f,1)}});c||this.dequeue();return this}});b.each({slideDown:ga("show",1),slideUp:ga("hide",1),slideToggle:ga("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,c){b.fn[a]=function(a,b,f){return this.animate(c,a,b,f)}});b.extend({speed:function(a,c,f){var e=a&&typeof a==="object"?b.extend({},a):{complete:f||!f&&c||b.isFunction(a)&&a,duration:a,easing:f&&
+this.pushStack(this,"after",arguments);a.push.apply(a,b(arguments[0]).toArray());return a}},remove:function(a,c){for(var h=0,k;(k=this[h])!=null;h++)if(!a||b.filter(a,[k]).length)!c&&k.nodeType===1&&(b.cleanData(k.getElementsByTagName("*")),b.cleanData([k])),k.parentNode&&k.parentNode.removeChild(k);return this},empty:function(){for(var a=0,c;(c=this[a])!=null;a++)for(c.nodeType===1&&b.cleanData(c.getElementsByTagName("*"));c.firstChild;)c.removeChild(c.firstChild);return this},clone:function(a,c){a=
+a==null?!1:a;c=c==null?a:c;return this.map(function(){return b.clone(this,a,c)})},html:function(a){if(a===j)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(x,""):null;else if(typeof a==="string"&&!ha.test(a)&&(b.support.leadingWhitespace||!o.test(a))&&!Aa[(P.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(wa,"<$1></$2>");try{for(var c=0,h=this.length;c<h;c++)if(this[c].nodeType===1)b.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a}catch(k){this.empty().append(a)}}else b.isFunction(a)?
+this.each(function(c){var h=b(this);h.html(a.call(this,c,h.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(b.isFunction(a))return this.each(function(c){var h=b(this),k=h.html();h.replaceWith(a.call(this,c,k))});typeof a!=="string"&&(a=b(a).detach());return this.each(function(){var c=this.nextSibling,h=this.parentNode;b(this).remove();c?b(c).before(a):b(h).append(a)})}else return this.length?this.pushStack(b(b.isFunction(a)?a():a),"replaceWith",
+a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,h){var k,f,e,g=a[0],d=[];if(!b.support.checkClone&&arguments.length===3&&typeof g==="string"&&W.test(g))return this.each(function(){b(this).domManip(a,c,h,!0)});if(b.isFunction(g))return this.each(function(k){var f=b(this);a[0]=g.call(this,k,c?f.html():j);f.domManip(a,c,h)});if(this[0]){k=g&&g.parentNode;k=b.support.parentNode&&k&&k.nodeType===11&&k.childNodes.length===this.length?{fragment:k}:b.buildFragment(a,this,d);e=
+k.fragment;if(f=e.childNodes.length===1?e=e.firstChild:e.firstChild){c=c&&b.nodeName(f,"tr");f=0;for(var o=this.length,u=o-1;f<o;f++)h.call(c?b.nodeName(this[f],"table")?this[f].getElementsByTagName("tbody")[0]||this[f].appendChild(this[f].ownerDocument.createElement("tbody")):this[f]:this[f],k.cacheable||o>1&&f<u?b.clone(e,!0,!0):e)}d.length&&b.each(d,pa)}return this}});b.buildFragment=function(a,c,h){var k,f,e,g;c&&c[0]&&(g=c[0].ownerDocument||c[0]);g.createDocumentFragment||(g=B);if(a.length===
+1&&typeof a[0]==="string"&&a[0].length<512&&g===B&&a[0].charAt(0)==="<"&&!ha.test(a[0])&&(b.support.checkClone||!W.test(a[0])))f=!0,(e=b.fragments[a[0]])&&e!==1&&(k=e);k||(k=g.createDocumentFragment(),b.clean(a,g,k,h));f&&(b.fragments[a[0]]=e?k:1);return{fragment:k,cacheable:f}};b.fragments={};b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,c){b.fn[a]=function(h){var k=[],h=b(h),f=this.length===1&&this[0].parentNode;if(f&&
+f.nodeType===11&&f.childNodes.length===1&&h.length===1)return h[c](this[0]),this;else{for(var f=0,e=h.length;f<e;f++){var g=(f>0?this.clone(!0):this).get();b(h[f])[c](g);k=k.concat(g)}return this.pushStack(k,a,h.selector)}}});b.extend({clone:function(a,c,h){var k=a.cloneNode(!0),f,e,g;if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!b.isXMLDoc(a)){K(a,k);f=L(a);e=L(k);for(g=0;f[g];++g)K(f[g],e[g])}if(c&&(R(a,k),h)){f=L(a);e=L(k);for(g=0;f[g];++g)R(f[g],
+e[g])}return k},clean:function(a,c,h,k){c=c||B;typeof c.createElement==="undefined"&&(c=c.ownerDocument||c[0]&&c[0].ownerDocument||B);for(var f=[],e,g=0,d;(d=a[g])!=null;g++)if(typeof d==="number"&&(d+=""),d){if(typeof d==="string")if(ca.test(d)){d=d.replace(wa,"<$1></$2>");e=(P.exec(d)||["",""])[1].toLowerCase();var u=Aa[e]||Aa._default,x=u[0],p=c.createElement("div");for(p.innerHTML=u[1]+d+u[2];x--;)p=p.lastChild;if(!b.support.tbody){x=Q.test(d);u=e==="table"&&!x?p.firstChild&&p.firstChild.childNodes:
+u[1]==="<table>"&&!x?p.childNodes:[];for(e=u.length-1;e>=0;--e)b.nodeName(u[e],"tbody")&&!u[e].childNodes.length&&u[e].parentNode.removeChild(u[e])}!b.support.leadingWhitespace&&o.test(d)&&p.insertBefore(c.createTextNode(o.exec(d)[0]),p.firstChild);d=p.childNodes}else d=c.createTextNode(d);var q;if(!b.support.appendChecked)if(d[0]&&typeof(q=d.length)==="number")for(e=0;e<q;e++)D(d[e]);else D(d);d.nodeType?f.push(d):f=b.merge(f,d)}if(h){a=function(a){return!a.type||Na.test(a.type)};for(g=0;f[g];g++)k&&
+b.nodeName(f[g],"script")&&(!f[g].type||f[g].type.toLowerCase()==="text/javascript")?k.push(f[g].parentNode?f[g].parentNode.removeChild(f[g]):f[g]):(f[g].nodeType===1&&(c=b.grep(f[g].getElementsByTagName("script"),a),f.splice.apply(f,[g+1,0].concat(c))),h.appendChild(f[g]))}return f},cleanData:function(a){for(var c,h,k=b.cache,f=b.expando,e=b.event.special,g=b.support.deleteExpando,d=0,o;(o=a[d])!=null;d++)if(!o.nodeName||!b.noData[o.nodeName.toLowerCase()])if(h=o[b.expando]){if((c=k[h]&&k[h][f])&&
+c.events){for(var u in c.events)e[u]?b.event.remove(o,u):b.removeEvent(o,u,c.handle);if(c.handle)c.handle.elem=null}g?delete o[b.expando]:o.removeAttribute&&o.removeAttribute(b.expando);delete k[h]}}});var Fa=/alpha\([^)]*\)/i,$=/opacity=([^)]*)/,xa=/([A-Z]|^ms)/g,Ga=/^-?\d+(?:px)?$/i,mb=/^-?\d/,nb=/^[+\-]=/,ob=/[^+\-\.\de]+/g,pb={position:"absolute",visibility:"hidden",display:"block"},hb=["Left","Right"],ib=["Top","Bottom"],Ka,Za,$a;b.fn.css=function(a,c){return arguments.length===2&&c===j?this:
+b.access(this,a,c,!0,function(a,c,f){return f!==j?b.style(a,c,f):b.css(a,c)})};b.extend({cssHooks:{opacity:{get:function(a,c){if(c){var b=Ka(a,"opacity","opacity");return b===""?"1":b}else return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":b.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,h,f){if(a&&!(a.nodeType===3||a.nodeType===8||!a.style)){var e,g=b.camelCase(c),d=a.style,o=b.cssHooks[g],
+c=b.cssProps[g]||g;if(h!==j){if(f=typeof h,!(f==="number"&&isNaN(h)||h==null))if(f==="string"&&nb.test(h)&&(h=+h.replace(ob,"")+parseFloat(b.css(a,c)),f="number"),f==="number"&&!b.cssNumber[g]&&(h+="px"),!o||!("set"in o)||(h=o.set(a,h))!==j)try{d[c]=h}catch(u){}}else return o&&"get"in o&&(e=o.get(a,!1,f))!==j?e:d[c]}},css:function(a,c,h){var f,e,c=b.camelCase(c);e=b.cssHooks[c];c=b.cssProps[c]||c;c==="cssFloat"&&(c="float");if(e&&"get"in e&&(f=e.get(a,!0,h))!==j)return f;else if(Ka)return Ka(a,c)},
+swap:function(a,c,b){var f={},e;for(e in c)f[e]=a.style[e],a.style[e]=c[e];b.call(a);for(e in c)a.style[e]=f[e]}});b.curCSS=b.css;b.each(["height","width"],function(a,c){b.cssHooks[c]={get:function(a,f,e){var g;if(f){if(a.offsetWidth!==0)return T(a,c,e);else b.swap(a,pb,function(){g=T(a,c,e)});return g}},set:function(a,c){if(Ga.test(c)){if(c=parseFloat(c),c>=0)return c+"px"}else return c}}});if(!b.support.opacity)b.cssHooks.opacity={get:function(a,c){return $.test((c&&a.currentStyle?a.currentStyle.filter:
+a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":c?"1":""},set:function(a,c){var h=a.style,f=a.currentStyle;h.zoom=1;var e=b.isNaN(c)?"":"alpha(opacity="+c*100+")",f=f&&f.filter||h.filter||"";h.filter=Fa.test(f)?f.replace(Fa,e):f+" "+e}};b(function(){if(!b.support.reliableMarginRight)b.cssHooks.marginRight={get:function(a,c){var h;b.swap(a,{display:"inline-block"},function(){h=c?Ka(a,"margin-right","marginRight"):a.style.marginRight});return h}}});B.defaultView&&B.defaultView.getComputedStyle&&(Za=
+function(a,c){var h,f,c=c.replace(xa,"-$1").toLowerCase();if(!(f=a.ownerDocument.defaultView))return j;if(f=f.getComputedStyle(a,null))h=f.getPropertyValue(c),h===""&&!b.contains(a.ownerDocument.documentElement,a)&&(h=b.style(a,c));return h});B.documentElement.currentStyle&&($a=function(a,c){var b,f=a.currentStyle&&a.currentStyle[c],e=a.runtimeStyle&&a.runtimeStyle[c],g=a.style;if(!Ga.test(f)&&mb.test(f)){b=g.left;if(e)a.runtimeStyle.left=a.currentStyle.left;g.left=c==="fontSize"?"1em":f||0;f=g.pixelLeft+
+"px";g.left=b;if(e)a.runtimeStyle.left=e}return f===""?"auto":f});Ka=Za||$a;if(b.expr&&b.expr.filters)b.expr.filters.hidden=function(a){var c=a.offsetHeight;return a.offsetWidth===0&&c===0||!b.support.reliableHiddenOffsets&&(a.style.display||b.css(a,"display"))==="none"},b.expr.filters.visible=function(a){return!b.expr.filters.hidden(a)};var qb=/%20/g,jb=/\[\]$/,ab=/\r?\n/g,rb=/#.*$/,sb=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,tb=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,
+ub=/^(?:GET|HEAD)$/,vb=/^\/\//,bb=/\?/,wb=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,xb=/^(?:select|textarea)/i,Xa=/\s+/,yb=/([?&])_=[^&]*/,cb=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,db=b.fn.load,Ta={},eb={},Ia,Ja;try{Ia=la.href}catch(Eb){Ia=B.createElement("a"),Ia.href="",Ia=Ia.href}Ja=cb.exec(Ia.toLowerCase())||[];b.fn.extend({load:function(a,c,h){if(typeof a!=="string"&&db)return db.apply(this,arguments);else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0)var e=a.slice(f,
+a.length),a=a.slice(0,f);f="GET";c&&(b.isFunction(c)?(h=c,c=j):typeof c==="object"&&(c=b.param(c,b.ajaxSettings.traditional),f="POST"));var g=this;b.ajax({url:a,type:f,dataType:"html",data:c,complete:function(a,c,f){f=a.responseText;a.isResolved()&&(a.done(function(a){f=a}),g.html(e?b("<div>").append(f.replace(wb,"")).find(e):f));h&&g.each(h,[f,c,a])}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?
+b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||xb.test(this.nodeName)||tb.test(this.type))}).map(function(a,c){var h=b(this).val();return h==null?null:b.isArray(h)?b.map(h,function(a){return{name:c.name,value:a.replace(ab,"\r\n")}}):{name:c.name,value:h.replace(ab,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,c){b.fn[c]=function(a){return this.bind(c,a)}});b.each(["get","post"],
+function(a,c){b[c]=function(a,f,e,g){b.isFunction(f)&&(g=g||e,e=f,f=j);return b.ajax({type:c,url:a,data:f,success:e,dataType:g})}});b.extend({getScript:function(a,c){return b.get(a,j,c,"script")},getJSON:function(a,c,h){return b.get(a,c,h,"json")},ajaxSetup:function(a,c){c?b.extend(!0,a,b.ajaxSettings,c):(c=a,a=b.extend(!0,b.ajaxSettings,c));for(var h in{context:1,url:1})h in c?a[h]=c[h]:h in b.ajaxSettings&&(a[h]=b.ajaxSettings[h]);return a},ajaxSettings:{url:Ia,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|widget):$/.test(Ja[1]),
+global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":d.String,"text html":!0,"text json":b.parseJSON,"text xml":b.parseXML}},ajaxPrefilter:A(Ta),ajaxTransport:A(eb),ajax:function(a,c){function h(a,c,h,p){if(ca!==
+2){ca=2;wa&&clearTimeout(wa);P=j;r=p||"";Q.readyState=a?4:0;var q,O,s;if(h){var p=f,W=Q,l=p.contents,ha=p.dataTypes,v=p.responseFields,w,n,y,A;for(n in v)n in h&&(W[v[n]]=h[n]);for(;ha[0]==="*";)ha.shift(),w===j&&(w=p.mimeType||W.getResponseHeader("content-type"));if(w)for(n in l)if(l[n]&&l[n].test(w)){ha.unshift(n);break}if(ha[0]in h)y=ha[0];else{for(n in h){if(!ha[0]||p.converters[n+" "+ha[0]]){y=n;break}A||(A=n)}y=y||A}y?(y!==ha[0]&&ha.unshift(y),h=h[y]):h=void 0}else h=j;if(a>=200&&a<300||a===
+304){if(f.ifModified){if(w=Q.getResponseHeader("Last-Modified"))b.lastModified[x]=w;if(w=Q.getResponseHeader("Etag"))b.etag[x]=w}if(a===304)c="notmodified",q=!0;else try{w=f;w.dataFilter&&(h=w.dataFilter(h,w.dataType));var xa=w.dataTypes;n={};var ka,$,D=xa.length,Na,E=xa[0],Ga,B,C,z,Fa;for(ka=1;ka<D;ka++){if(ka===1)for($ in w.converters)typeof $==="string"&&(n[$.toLowerCase()]=w.converters[$]);Ga=E;E=xa[ka];if(E==="*")E=Ga;else if(Ga!=="*"&&Ga!==E){B=Ga+" "+E;C=n[B]||n["* "+E];if(!C)for(z in Fa=j,
+n)if(Na=z.split(" "),Na[0]===Ga||Na[0]==="*")if(Fa=n[Na[1]+" "+E]){z=n[z];z===!0?C=Fa:Fa===!0&&(C=z);break}!C&&!Fa&&b.error("No conversion from "+B.replace(" "," to "));C!==!0&&(h=C?C(h):Fa(z(h)))}}O=h;c="success";q=!0}catch(F){c="parsererror",s=F}}else if(s=c,!c||a)c="error",a<0&&(a=0);Q.status=a;Q.statusText=c;q?d.resolveWith(e,[O,c,Q]):d.rejectWith(e,[Q,c,s]);Q.statusCode(u);u=j;X&&g.trigger("ajax"+(q?"Success":"Error"),[Q,f,q?O:s]);o.resolveWith(e,[Q,c]);X&&(g.trigger("ajaxComplete",[Q,f]),--b.active||
+b.event.trigger("ajaxStop"))}}typeof a==="object"&&(c=a,a=j);var c=c||{},f=b.ajaxSetup({},c),e=f.context||f,g=e!==f&&(e.nodeType||e instanceof b)?b(e):b.event,d=b.Deferred(),o=b._Deferred(),u=f.statusCode||{},x,p={},q={},r,O,P,wa,s,ca=0,X,W,Q={readyState:0,setRequestHeader:function(a,c){if(!ca){var b=a.toLowerCase(),a=q[b]=q[b]||a;p[a]=c}return this},getAllResponseHeaders:function(){return ca===2?r:null},getResponseHeader:function(a){var c;if(ca===2){if(!O)for(O={};c=sb.exec(r);)O[c[1].toLowerCase()]=
+c[2];c=O[a.toLowerCase()]}return c===j?null:c},overrideMimeType:function(a){if(!ca)f.mimeType=a;return this},abort:function(a){a=a||"abort";P&&P.abort(a);h(0,a);return this}};d.promise(Q);Q.success=Q.done;Q.error=Q.fail;Q.complete=o.done;Q.statusCode=function(a){if(a){var c;if(ca<2)for(c in a)u[c]=[u[c],a[c]];else c=a[Q.status],Q.then(c,c)}return this};f.url=((a||f.url)+"").replace(rb,"").replace(vb,Ja[1]+"//");f.dataTypes=b.trim(f.dataType||"*").toLowerCase().split(Xa);if(f.crossDomain==null)s=cb.exec(f.url.toLowerCase()),
+f.crossDomain=!(!s||!(s[1]!=Ja[1]||s[2]!=Ja[2]||(s[3]||(s[1]==="http:"?80:443))!=(Ja[3]||(Ja[1]==="http:"?80:443))));if(f.data&&f.processData&&typeof f.data!=="string")f.data=b.param(f.data,f.traditional);N(Ta,f,c,Q);if(ca===2)return!1;X=f.global;f.type=f.type.toUpperCase();f.hasContent=!ub.test(f.type);X&&b.active++===0&&b.event.trigger("ajaxStart");if(!f.hasContent&&(f.data&&(f.url+=(bb.test(f.url)?"&":"?")+f.data),x=f.url,f.cache===!1)){s=b.now();var l=f.url.replace(yb,"$1_="+s);f.url=l+(l===f.url?
+(bb.test(f.url)?"&":"?")+"_="+s:"")}(f.data&&f.hasContent&&f.contentType!==!1||c.contentType)&&Q.setRequestHeader("Content-Type",f.contentType);f.ifModified&&(x=x||f.url,b.lastModified[x]&&Q.setRequestHeader("If-Modified-Since",b.lastModified[x]),b.etag[x]&&Q.setRequestHeader("If-None-Match",b.etag[x]));Q.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+(f.dataTypes[0]!=="*"?", */*; q=0.01":""):f.accepts["*"]);for(W in f.headers)Q.setRequestHeader(W,f.headers[W]);
+if(f.beforeSend&&(f.beforeSend.call(e,Q,f)===!1||ca===2))return Q.abort(),!1;for(W in{success:1,error:1,complete:1})Q[W](f[W]);if(P=N(eb,f,c,Q)){Q.readyState=1;X&&g.trigger("ajaxSend",[Q,f]);f.async&&f.timeout>0&&(wa=setTimeout(function(){Q.abort("timeout")},f.timeout));try{ca=1,P.send(p,h)}catch(ha){status<2?h(-1,ha):b.error(ha)}}else h(-1,"No Transport");return Q},param:function(a,c){var f=[],e=function(a,c){c=b.isFunction(c)?c():c;f[f.length]=encodeURIComponent(a)+"="+encodeURIComponent(c)};if(c===
+j)c=b.ajaxSettings.traditional;if(b.isArray(a)||a.jquery&&!b.isPlainObject(a))b.each(a,function(){e(this.name,this.value)});else for(var g in a)Y(g,a[g],c,e);return f.join("&").replace(qb,"+")}});b.extend({active:0,lastModified:{},etag:{}});var zb=b.now(),Sa=/(\=)\?(&|$)|\?\?/i;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return b.expando+"_"+zb++}});b.ajaxPrefilter("json jsonp",function(a,c,f){c=a.contentType==="application/x-www-form-urlencoded"&&typeof a.data==="string";if(a.dataTypes[0]===
+"jsonp"||a.jsonp!==!1&&(Sa.test(a.url)||c&&Sa.test(a.data))){var e,g=a.jsonpCallback=b.isFunction(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,o=d[g],u=a.url,x=a.data,p="$1"+g+"$2";a.jsonp!==!1&&(u=u.replace(Sa,p),a.url===u&&(c&&(x=x.replace(Sa,p)),a.data===x&&(u+=(/\?/.test(u)?"&":"?")+a.jsonp+"="+g)));a.url=u;a.data=x;d[g]=function(a){e=[a]};f.always(function(){d[g]=o;if(e&&b.isFunction(o))d[g](e[0])});a.converters["script json"]=function(){e||b.error(g+" was not called");return e[0]};a.dataTypes[0]=
+"json";return"script"}});b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){b.globalEval(a);return a}}});b.ajaxPrefilter("script",function(a){if(a.cache===j)a.cache=!1;if(a.crossDomain)a.type="GET",a.global=!1});b.ajaxTransport("script",function(a){if(a.crossDomain){var c,b=B.head||B.getElementsByTagName("head")[0]||B.documentElement;return{send:function(f,
+e){c=B.createElement("script");c.async="async";if(a.scriptCharset)c.charset=a.scriptCharset;c.src=a.url;c.onload=c.onreadystatechange=function(a,f){if(f||!c.readyState||/loaded|complete/.test(c.readyState))c.onload=c.onreadystatechange=null,b&&c.parentNode&&b.removeChild(c),c=j,f||e(200,"success")};b.insertBefore(c,b.firstChild)},abort:function(){if(c)c.onload(0,1)}}}});var Va=d.ActiveXObject?function(){for(var a in Oa)Oa[a](0,1)}:!1,Ab=0,Oa;b.ajaxSettings.xhr=d.ActiveXObject?function(){var a;if(!(a=
+!this.isLocal&&y()))a:{try{a=new d.ActiveXObject("Microsoft.XMLHTTP");break a}catch(c){}a=void 0}return a}:y;(function(a){b.extend(b.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})})(b.ajaxSettings.xhr());b.support.ajax&&b.ajaxTransport(function(a){if(!a.crossDomain||b.support.cors){var c;return{send:function(f,e){var g=a.xhr(),o,u;a.username?g.open(a.type,a.url,a.async,a.username,a.password):g.open(a.type,a.url,a.async);if(a.xhrFields)for(u in a.xhrFields)g[u]=a.xhrFields[u];a.mimeType&&g.overrideMimeType&&
+g.overrideMimeType(a.mimeType);!a.crossDomain&&!f["X-Requested-With"]&&(f["X-Requested-With"]="XMLHttpRequest");try{for(u in f)g.setRequestHeader(u,f[u])}catch(x){}g.send(a.hasContent&&a.data||null);c=function(f,h){var d,u,x,p,q;try{if(c&&(h||g.readyState===4)){c=j;if(o)g.onreadystatechange=b.noop,Va&&delete Oa[o];if(h)g.readyState!==4&&g.abort();else{d=g.status;x=g.getAllResponseHeaders();p={};if((q=g.responseXML)&&q.documentElement)p.xml=q;p.text=g.responseText;try{u=g.statusText}catch(O){u=""}!d&&
+a.isLocal&&!a.crossDomain?d=p.text?200:404:d===1223&&(d=204)}}}catch(r){h||e(-1,r)}p&&e(d,u,p,x)};!a.async||g.readyState===4?c():(o=++Ab,Va&&(Oa||(Oa={},b(d).unload(Va)),Oa[o]=c),g.onreadystatechange=c)},abort:function(){c&&c(0,1)}}}});var Ua={},Da,La,Bb=/^(?:toggle|show|hide)$/,Cb=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,Pa,Ya=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],Ra,Wa=d.webkitRequestAnimationFrame||
+d.mozRequestAnimationFrame||d.oRequestAnimationFrame;b.fn.extend({show:function(a,c,f){if(a||a===0)return this.animate(ia("show",3),a,c,f);else{for(var f=0,e=this.length;f<e;f++)if(a=this[f],a.style){c=a.style.display;if(!b._data(a,"olddisplay")&&c==="none")c=a.style.display="";c===""&&b.css(a,"display")==="none"&&b._data(a,"olddisplay",sa(a.nodeName))}for(f=0;f<e;f++)if(a=this[f],a.style&&(c=a.style.display,c===""||c==="none"))a.style.display=b._data(a,"olddisplay")||"";return this}},hide:function(a,
+c,f){if(a||a===0)return this.animate(ia("hide",3),a,c,f);else{a=0;for(c=this.length;a<c;a++)this[a].style&&(f=b.css(this[a],"display"),f!=="none"&&!b._data(this[a],"olddisplay")&&b._data(this[a],"olddisplay",f));for(a=0;a<c;a++)if(this[a].style)this[a].style.display="none";return this}},_toggle:b.fn.toggle,toggle:function(a,c,f){var e=typeof a==="boolean";b.isFunction(a)&&b.isFunction(c)?this._toggle.apply(this,arguments):a==null||e?this.each(function(){var c=e?a:b(this).is(":hidden");b(this)[c?"show":
+"hide"]()}):this.animate(ia("toggle",3),a,c,f);return this},fadeTo:function(a,c,b,f){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:c},a,b,f)},animate:function(a,c,f,e){var g=b.speed(c,f,e);if(b.isEmptyObject(a))return this.each(g.complete,[!1]);a=b.extend({},a);return this[g.queue===!1?"each":"queue"](function(){var t;g.queue===!1&&b._mark(this);var c=b.extend({},g),f=this.nodeType===1,h=f&&b(this).is(":hidden"),e,k,d,o,u;c.animatedProperties={};for(d in a){e=b.camelCase(d);
+d!==e&&(a[e]=a[d],delete a[d]);k=a[e];b.isArray(k)?(c.animatedProperties[e]=k[1],t=a[e]=k[0],k=t):c.animatedProperties[e]=c.specialEasing&&c.specialEasing[e]||c.easing||"swing";if(k==="hide"&&h||k==="show"&&!h)return c.complete.call(this);if(f&&(e==="height"||e==="width"))if(c.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],b.css(this,"display")==="inline"&&b.css(this,"float")==="none")b.support.inlineBlockNeedsLayout?(k=sa(this.nodeName),k==="inline"?this.style.display="inline-block":
+(this.style.display="inline",this.style.zoom=1)):this.style.display="inline-block"}if(c.overflow!=null)this.style.overflow="hidden";for(d in a)if(f=new b.fx(this,c,d),k=a[d],Bb.test(k))f[k==="toggle"?h?"show":"hide":k]();else e=Cb.exec(k),o=f.cur(),e?(k=parseFloat(e[2]),u=e[3]||(b.cssNumber[d]?"":"px"),u!=="px"&&(b.style(this,d,(k||1)+u),o*=(k||1)/f.cur(),b.style(this,d,o+u)),e[1]&&(k=(e[1]==="-="?-1:1)*k+o),f.custom(o,k,u)):f.custom(o,k,"");return!0})},stop:function(a,c){a&&this.queue([]);this.each(function(){var a=
+b.timers,f=a.length;for(c||b._unmark(!0,this);f--;)if(a[f].elem===this){if(c)a[f](!0);a.splice(f,1)}});c||this.dequeue();return this}});b.each({slideDown:ia("show",1),slideUp:ia("hide",1),slideToggle:ia("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,c){b.fn[a]=function(a,b,f){return this.animate(c,a,b,f)}});b.extend({speed:function(a,c,f){var e=a&&typeof a==="object"?b.extend({},a):{complete:f||!f&&c||b.isFunction(a)&&a,duration:a,easing:f&&
c||c&&!b.isFunction(c)&&c};e.duration=b.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in b.fx.speeds?b.fx.speeds[e.duration]:b.fx.speeds._default;e.old=e.complete;e.complete=function(a){b.isFunction(e.old)&&e.old.call(this);e.queue!==!1?b.dequeue(this):a!==!1&&b._unmark(this)};return e},easing:{linear:function(a,c,b,f){return b+f*a},swing:function(a,c,b,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+b}},timers:[],fx:function(a,c,b){this.options=c;this.elem=a;this.prop=b;c.orig=c.orig||{}}});
-b.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(b.fx.step[this.prop]||b.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,c=b.css(this.elem,this.prop);return isNaN(a=parseFloat(c))?!c||c==="auto"?0:c:a},custom:function(a,c,f){function e(a){return j.step(a)}var j=this,d=b.fx,l;this.startTime=Ra||fa();this.start=a;this.end=c;this.unit=f||this.unit||
-(b.cssNumber[this.prop]?"":"px");this.now=this.start;this.pos=this.state=0;e.elem=this.elem;e()&&b.timers.push(e)&&!Pa&&(Xa?(Pa=!0,l=function(){Pa&&(Xa(l),d.tick())},Xa(l)):Pa=setInterval(d.tick,d.interval))},show:function(){this.options.orig[this.prop]=b.style(this.elem,this.prop);this.options.show=!0;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());b(this.elem).show()},hide:function(){this.options.orig[this.prop]=b.style(this.elem,this.prop);this.options.hide=!0;this.custom(this.cur(),
-0)},step:function(a){var c=Ra||fa(),f=!0,e=this.elem,j=this.options,d;if(a||c>=j.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();j.animatedProperties[this.prop]=!0;for(d in j.animatedProperties)j.animatedProperties[d]!==!0&&(f=!1);if(f){j.overflow!=null&&!b.support.shrinkWrapBlocks&&b.each(["","X","Y"],function(a,c){e.style["overflow"+c]=j.overflow[a]});j.hide&&b(e).hide();if(j.hide||j.show)for(var l in j.animatedProperties)b.style(e,l,j.orig[l]);j.complete.call(e)}return!1}else j.duration==
-Infinity?this.now=c:(a=c-this.startTime,this.state=a/j.duration,this.pos=b.easing[j.animatedProperties[this.prop]](this.state,a,0,1,j.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}};b.extend(b.fx,{tick:function(){for(var a=b.timers,c=0;c<a.length;++c)a[c]()||a.splice(c--,1);a.length||b.fx.stop()},interval:13,stop:function(){clearInterval(Pa);Pa=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){b.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&
-a.elem.style[a.prop]!=null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}});if(b.expr&&b.expr.filters)b.expr.filters.animated=function(a){return b.grep(b.timers,function(c){return a===c.elem}).length};var Eb=/^t(?:able|d|h)$/i,gb=/^(?:body|html)$/i;b.fn.offset="getBoundingClientRect"in y.documentElement?function(a){var c=this[0],f;if(a)return this.each(function(c){b.offset.setOffset(this,a,c)});if(!c||!c.ownerDocument)return null;if(c===
-c.ownerDocument.body)return b.offset.bodyOffset(c);try{f=c.getBoundingClientRect()}catch(e){}var j=c.ownerDocument,d=j.documentElement;if(!f||!b.contains(d,c))return f?{top:f.top,left:f.left}:{top:0,left:0};c=j.body;j=va(j);return{top:f.top+(j.pageYOffset||b.support.boxModel&&d.scrollTop||c.scrollTop)-(d.clientTop||c.clientTop||0),left:f.left+(j.pageXOffset||b.support.boxModel&&d.scrollLeft||c.scrollLeft)-(d.clientLeft||c.clientLeft||0)}}:function(a){var c=this[0];if(a)return this.each(function(c){b.offset.setOffset(this,
-a,c)});if(!c||!c.ownerDocument)return null;if(c===c.ownerDocument.body)return b.offset.bodyOffset(c);b.offset.initialize();var f,e=c.offsetParent,j=c.ownerDocument,d=j.documentElement,l=j.body;f=(j=j.defaultView)?j.getComputedStyle(c,null):c.currentStyle;for(var v=c.offsetTop,t=c.offsetLeft;(c=c.parentNode)&&c!==l&&c!==d;){if(b.offset.supportsFixedPosition&&f.position==="fixed")break;f=j?j.getComputedStyle(c,null):c.currentStyle;v-=c.scrollTop;t-=c.scrollLeft;if(c===e){v+=c.offsetTop;t+=c.offsetLeft;
-if(b.offset.doesNotAddBorder&&(!b.offset.doesAddBorderForTableAndCells||!Eb.test(c.nodeName)))v+=parseFloat(f.borderTopWidth)||0,t+=parseFloat(f.borderLeftWidth)||0;e=c.offsetParent}b.offset.subtractsBorderForOverflowNotVisible&&f.overflow!=="visible"&&(v+=parseFloat(f.borderTopWidth)||0,t+=parseFloat(f.borderLeftWidth)||0)}if(f.position==="relative"||f.position==="static")v+=l.offsetTop,t+=l.offsetLeft;b.offset.supportsFixedPosition&&f.position==="fixed"&&(v+=Math.max(d.scrollTop,l.scrollTop),t+=
-Math.max(d.scrollLeft,l.scrollLeft));return{top:v,left:t}};b.offset={initialize:function(){var a=y.body,c=y.createElement("div"),f,e,j,d=parseFloat(b.css(a,"marginTop"))||0;b.extend(c.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});c.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
-a.insertBefore(c,a.firstChild);f=c.firstChild;e=f.firstChild;j=f.nextSibling.firstChild.firstChild;this.doesNotAddBorder=e.offsetTop!==5;this.doesAddBorderForTableAndCells=j.offsetTop===5;e.style.position="fixed";e.style.top="20px";this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15;e.style.position=e.style.top="";f.style.overflow="hidden";f.style.position="relative";this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==d;a.removeChild(c);
-b.offset.initialize=b.noop},bodyOffset:function(a){var c=a.offsetTop,f=a.offsetLeft;b.offset.initialize();b.offset.doesNotIncludeMarginInBodyOffset&&(c+=parseFloat(b.css(a,"marginTop"))||0,f+=parseFloat(b.css(a,"marginLeft"))||0);return{top:c,left:f}},setOffset:function(a,c,f){var e=b.css(a,"position");if(e==="static")a.style.position="relative";var j=b(a),d=j.offset(),l=b.css(a,"top"),v=b.css(a,"left"),t={},n={};(e==="absolute"||e==="fixed")&&b.inArray("auto",[l,v])>-1?(n=j.position(),e=n.top,v=
-n.left):(e=parseFloat(l)||0,v=parseFloat(v)||0);b.isFunction(c)&&(c=c.call(a,f,d));if(c.top!=null)t.top=c.top-d.top+e;if(c.left!=null)t.left=c.left-d.left+v;"using"in c?c.using.call(a,t):j.css(t)}};b.fn.extend({position:function(){if(!this[0])return null;var a=this[0],c=this.offsetParent(),f=this.offset(),e=gb.test(c[0].nodeName)?{top:0,left:0}:c.offset();f.top-=parseFloat(b.css(a,"marginTop"))||0;f.left-=parseFloat(b.css(a,"marginLeft"))||0;e.top+=parseFloat(b.css(c[0],"borderTopWidth"))||0;e.left+=
-parseFloat(b.css(c[0],"borderLeftWidth"))||0;return{top:f.top-e.top,left:f.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||y.body;a&&!gb.test(a.nodeName)&&b.css(a,"position")==="static";)a=a.offsetParent;return a})}});b.each(["Left","Top"],function(a,c){var f="scroll"+c;b.fn[f]=function(c){var e,j;if(c===h){e=this[0];if(!e)return null;return(j=va(e))?"pageXOffset"in j?j[a?"pageYOffset":"pageXOffset"]:b.support.boxModel&&j.document.documentElement[f]||
-j.document.body[f]:e[f]}return this.each(function(){(j=va(this))?j.scrollTo(!a?c:b(j).scrollLeft(),a?c:b(j).scrollTop()):this[f]=c})}});b.each(["Height","Width"],function(a,c){var f=c.toLowerCase();b.fn["inner"+c]=function(){var a=this[0];return a&&a.style?parseFloat(b.css(a,f,"padding")):null};b.fn["outer"+c]=function(a){var c=this[0];return c&&c.style?parseFloat(b.css(c,f,a?"margin":"border")):null};b.fn[f]=function(a){var e=this[0];if(!e)return a==null?null:this;if(b.isFunction(a))return this.each(function(c){var e=
-b(this);e[f](a.call(this,c,e[f]()))});if(b.isWindow(e)){var j=e.document.documentElement["client"+c];return e.document.compatMode==="CSS1Compat"&&j||e.document.body["client"+c]||j}else return e.nodeType===9?Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]):a===h?(e=b.css(e,f),j=parseFloat(e),b.isNaN(j)?e:j):this.css(f,typeof a==="string"?a:a+"px")}});d.jQuery=d.$=b})(window);
+b.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(b.fx.step[this.prop]||b.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,c=b.css(this.elem,this.prop);return isNaN(a=parseFloat(c))?!c||c==="auto"?0:c:a},custom:function(a,c,f){function e(a){return g.step(a)}var g=this,d=b.fx,o;this.startTime=Ra||ra();this.start=a;this.end=c;this.unit=f||this.unit||
+(b.cssNumber[this.prop]?"":"px");this.now=this.start;this.pos=this.state=0;e.elem=this.elem;e()&&b.timers.push(e)&&!Pa&&(Wa?(Pa=!0,o=function(){Pa&&(Wa(o),d.tick())},Wa(o)):Pa=setInterval(d.tick,d.interval))},show:function(){this.options.orig[this.prop]=b.style(this.elem,this.prop);this.options.show=!0;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());b(this.elem).show()},hide:function(){this.options.orig[this.prop]=b.style(this.elem,this.prop);this.options.hide=!0;this.custom(this.cur(),
+0)},step:function(a){var c=Ra||ra(),f=!0,e=this.elem,g=this.options,d;if(a||c>=g.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();g.animatedProperties[this.prop]=!0;for(d in g.animatedProperties)g.animatedProperties[d]!==!0&&(f=!1);if(f){g.overflow!=null&&!b.support.shrinkWrapBlocks&&b.each(["","X","Y"],function(a,c){e.style["overflow"+c]=g.overflow[a]});g.hide&&b(e).hide();if(g.hide||g.show)for(var o in g.animatedProperties)b.style(e,o,g.orig[o]);g.complete.call(e)}return!1}else g.duration==
+Infinity?this.now=c:(a=c-this.startTime,this.state=a/g.duration,this.pos=b.easing[g.animatedProperties[this.prop]](this.state,a,0,1,g.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}};b.extend(b.fx,{tick:function(){for(var a=b.timers,c=0;c<a.length;++c)a[c]()||a.splice(c--,1);a.length||b.fx.stop()},interval:13,stop:function(){clearInterval(Pa);Pa=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){b.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&
+a.elem.style[a.prop]!=null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}});if(b.expr&&b.expr.filters)b.expr.filters.animated=function(a){return b.grep(b.timers,function(c){return a===c.elem}).length};var Db=/^t(?:able|d|h)$/i,fb=/^(?:body|html)$/i;b.fn.offset="getBoundingClientRect"in B.documentElement?function(a){var c=this[0],f;if(a)return this.each(function(c){b.offset.setOffset(this,a,c)});if(!c||!c.ownerDocument)return null;if(c===
+c.ownerDocument.body)return b.offset.bodyOffset(c);try{f=c.getBoundingClientRect()}catch(e){}var g=c.ownerDocument,d=g.documentElement;if(!f||!b.contains(d,c))return f?{top:f.top,left:f.left}:{top:0,left:0};c=g.body;g=Ba(g);return{top:f.top+(g.pageYOffset||b.support.boxModel&&d.scrollTop||c.scrollTop)-(d.clientTop||c.clientTop||0),left:f.left+(g.pageXOffset||b.support.boxModel&&d.scrollLeft||c.scrollLeft)-(d.clientLeft||c.clientLeft||0)}}:function(a){var c=this[0];if(a)return this.each(function(c){b.offset.setOffset(this,
+a,c)});if(!c||!c.ownerDocument)return null;if(c===c.ownerDocument.body)return b.offset.bodyOffset(c);b.offset.initialize();var f,e=c.offsetParent,g=c.ownerDocument,d=g.documentElement,o=g.body;f=(g=g.defaultView)?g.getComputedStyle(c,null):c.currentStyle;for(var u=c.offsetTop,x=c.offsetLeft;(c=c.parentNode)&&c!==o&&c!==d;){if(b.offset.supportsFixedPosition&&f.position==="fixed")break;f=g?g.getComputedStyle(c,null):c.currentStyle;u-=c.scrollTop;x-=c.scrollLeft;if(c===e){u+=c.offsetTop;x+=c.offsetLeft;
+if(b.offset.doesNotAddBorder&&(!b.offset.doesAddBorderForTableAndCells||!Db.test(c.nodeName)))u+=parseFloat(f.borderTopWidth)||0,x+=parseFloat(f.borderLeftWidth)||0;e=c.offsetParent}b.offset.subtractsBorderForOverflowNotVisible&&f.overflow!=="visible"&&(u+=parseFloat(f.borderTopWidth)||0,x+=parseFloat(f.borderLeftWidth)||0)}if(f.position==="relative"||f.position==="static")u+=o.offsetTop,x+=o.offsetLeft;b.offset.supportsFixedPosition&&f.position==="fixed"&&(u+=Math.max(d.scrollTop,o.scrollTop),x+=
+Math.max(d.scrollLeft,o.scrollLeft));return{top:u,left:x}};b.offset={initialize:function(){var a=B.body,c=B.createElement("div"),f,e,g,d=parseFloat(b.css(a,"marginTop"))||0;b.extend(c.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});c.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
+a.insertBefore(c,a.firstChild);f=c.firstChild;e=f.firstChild;g=f.nextSibling.firstChild.firstChild;this.doesNotAddBorder=e.offsetTop!==5;this.doesAddBorderForTableAndCells=g.offsetTop===5;e.style.position="fixed";e.style.top="20px";this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15;e.style.position=e.style.top="";f.style.overflow="hidden";f.style.position="relative";this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==d;a.removeChild(c);
+b.offset.initialize=b.noop},bodyOffset:function(a){var c=a.offsetTop,f=a.offsetLeft;b.offset.initialize();b.offset.doesNotIncludeMarginInBodyOffset&&(c+=parseFloat(b.css(a,"marginTop"))||0,f+=parseFloat(b.css(a,"marginLeft"))||0);return{top:c,left:f}},setOffset:function(a,c,f){var e=b.css(a,"position");if(e==="static")a.style.position="relative";var g=b(a),d=g.offset(),o=b.css(a,"top"),u=b.css(a,"left"),x={},p={};(e==="absolute"||e==="fixed")&&b.inArray("auto",[o,u])>-1?(p=g.position(),e=p.top,u=
+p.left):(e=parseFloat(o)||0,u=parseFloat(u)||0);b.isFunction(c)&&(c=c.call(a,f,d));if(c.top!=null)x.top=c.top-d.top+e;if(c.left!=null)x.left=c.left-d.left+u;"using"in c?c.using.call(a,x):g.css(x)}};b.fn.extend({position:function(){if(!this[0])return null;var a=this[0],c=this.offsetParent(),f=this.offset(),e=fb.test(c[0].nodeName)?{top:0,left:0}:c.offset();f.top-=parseFloat(b.css(a,"marginTop"))||0;f.left-=parseFloat(b.css(a,"marginLeft"))||0;e.top+=parseFloat(b.css(c[0],"borderTopWidth"))||0;e.left+=
+parseFloat(b.css(c[0],"borderLeftWidth"))||0;return{top:f.top-e.top,left:f.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||B.body;a&&!fb.test(a.nodeName)&&b.css(a,"position")==="static";)a=a.offsetParent;return a})}});b.each(["Left","Top"],function(a,c){var f="scroll"+c;b.fn[f]=function(c){var e,g;if(c===j){e=this[0];return!e?null:(g=Ba(e))?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:b.support.boxModel&&g.document.documentElement[f]||g.document.body[f]:
+e[f]}return this.each(function(){(g=Ba(this))?g.scrollTo(!a?c:b(g).scrollLeft(),a?c:b(g).scrollTop()):this[f]=c})}});b.each(["Height","Width"],function(a,c){var f=c.toLowerCase();b.fn["inner"+c]=function(){var a=this[0];return a&&a.style?parseFloat(b.css(a,f,"padding")):null};b.fn["outer"+c]=function(a){var c=this[0];return c&&c.style?parseFloat(b.css(c,f,a?"margin":"border")):null};b.fn[f]=function(a){var e=this[0];if(!e)return a==null?null:this;if(b.isFunction(a))return this.each(function(c){var e=
+b(this);e[f](a.call(this,c,e[f]()))});if(b.isWindow(e)){var g=e.document.documentElement["client"+c];return e.document.compatMode==="CSS1Compat"&&g||e.document.body["client"+c]||g}else return e.nodeType===9?Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]):a===j?(e=b.css(e,f),g=parseFloat(e),b.isNaN(g)?e:g):this.css(f,typeof a==="string"?a:a+"px")}});d.jQuery=d.$=b})(window);
// Input 1
-document.createElement("canvas").getContext||function(){function d(){return this.context_||(this.context_=new o(this))}function h(e,d){var w=b.call(arguments,2);return function(){return e.apply(d,w.concat(b.call(arguments)))}}function F(b){return String(b).replace(/&/g,"&amp;").replace(/"/g,"&quot;")}function p(b){b.namespaces.g_vml_||b.namespaces.add("g_vml_","urn:schemas-microsoft-com:vml","#default#VML");b.namespaces.g_o_||b.namespaces.add("g_o_","urn:schemas-microsoft-com:office:office","#default#VML");
-if(!b.styleSheets.ex_canvas_)b=b.createStyleSheet(),b.owningElement.id="ex_canvas_",b.cssText="canvas{display:inline-block;overflow:hidden;text-align:left;width:300px;height:150px}"}function C(b){var d=b.srcElement;switch(b.propertyName){case "width":d.getContext().clearRect();d.style.width=d.attributes.width.nodeValue+"px";d.firstChild.style.width=d.clientWidth+"px";break;case "height":d.getContext().clearRect(),d.style.height=d.attributes.height.nodeValue+"px",d.firstChild.style.height=d.clientHeight+
-"px"}}function B(b){b=b.srcElement;if(b.firstChild)b.firstChild.style.width=b.clientWidth+"px",b.firstChild.style.height=b.clientHeight+"px"}function q(){return[[1,0,0],[0,1,0],[0,0,1]]}function z(b,d){for(var w=q(),h=0;h<3;h++)for(var n=0;n<3;n++){for(var o=0,r=0;r<3;r++)o+=b[h][r]*d[r][n];w[h][n]=o}return w}function N(b,d){d.fillStyle=b.fillStyle;d.lineCap=b.lineCap;d.lineJoin=b.lineJoin;d.lineWidth=b.lineWidth;d.miterLimit=b.miterLimit;d.shadowBlur=b.shadowBlur;d.shadowColor=b.shadowColor;d.shadowOffsetX=
-b.shadowOffsetX;d.shadowOffsetY=b.shadowOffsetY;d.strokeStyle=b.strokeStyle;d.globalAlpha=b.globalAlpha;d.font=b.font;d.textAlign=b.textAlign;d.textBaseline=b.textBaseline;d.arcScaleX_=b.arcScaleX_;d.arcScaleY_=b.arcScaleY_;d.lineScale_=b.lineScale_}function K(b){var d=b.indexOf("(",3),w=b.indexOf(")",d+1),d=b.substring(d+1,w).split(",");if(d.length!=4||b.charAt(3)!="a")d[3]=1;return d}function I(b,d,w){return Math.min(w,Math.max(d,b))}function G(b,d,w){w<0&&w++;w>1&&w--;return 6*w<1?b+(d-b)*6*w:
-2*w<1?d:3*w<2?b+(d-b)*(2/3-w)*6:b}function r(b){if(b in ba)return ba[b];var d,w=1,b=String(b);if(b.charAt(0)=="#")d=b;else if(/^rgb/.test(b)){w=K(b);d="#";for(var h,n=0;n<3;n++)h=w[n].indexOf("%")!=-1?Math.floor(parseFloat(w[n])/100*255):+w[n],d+=aa[I(h,0,255)];w=+w[3]}else if(/^hsl/.test(b)){n=w=K(b);d=parseFloat(n[0])/360%360;d<0&&d++;h=I(parseFloat(n[1])/100,0,1);n=I(parseFloat(n[2])/100,0,1);if(h==0)h=n=d=n;else{var o=n<0.5?n*(1+h):n+h-n*h,r=2*n-o;h=G(r,o,d+1/3);n=G(r,o,d);d=G(r,o,d-1/3)}d="#"+
-aa[Math.floor(h*255)]+aa[Math.floor(n*255)]+aa[Math.floor(d*255)];w=w[3]}else d=ja[b]||b;return ba[b]={color:d,alpha:w}}function o(b){this.m_=q();this.mStack_=[];this.aStack_=[];this.currentPath_=[];this.fillStyle=this.strokeStyle="#000";this.lineWidth=1;this.lineJoin="miter";this.lineCap="butt";this.miterLimit=T*1;this.globalAlpha=1;this.font="10px sans-serif";this.textAlign="left";this.textBaseline="alphabetic";this.canvas=b;var d="width:"+b.clientWidth+"px;height:"+b.clientHeight+"px;overflow:hidden;position:absolute",
-w=b.ownerDocument.createElement("div");w.style.cssText=d;b.appendChild(w);d=w.cloneNode(!1);d.style.backgroundColor="red";d.style.filter="alpha(opacity=0)";b.appendChild(d);this.element_=w;this.lineScale_=this.arcScaleY_=this.arcScaleX_=1}function A(b,d,w,h){b.currentPath_.push({type:"bezierCurveTo",cp1x:d.x,cp1y:d.y,cp2x:w.x,cp2y:w.y,x:h.x,y:h.y});b.currentX_=h.x;b.currentY_=h.y}function V(b,d){var w=r(b.strokeStyle),h=w.color,w=w.alpha*b.globalAlpha,n=b.lineScale_*b.lineWidth;n<1&&(w*=n);d.push("<g_vml_:stroke",
-' opacity="',w,'"',' joinstyle="',b.lineJoin,'"',' miterlimit="',b.miterLimit,'"',' endcap="',Ma[b.lineCap]||"square",'"',' weight="',n,'px"',' color="',h,'" />')}function Q(b,d,w,h){var n=b.fillStyle,o=b.arcScaleX_,p=b.arcScaleY_,q=h.x-w.x,u=h.y-w.y;if(n instanceof x){var A=0,h={x:0,y:0},y=0,z=1;if(n.type_=="gradient"){var A=n.x1_/o,w=n.y1_/p,E=R(b,n.x0_/o,n.y0_/p),A=R(b,A,w),A=Math.atan2(A.x-E.x,A.y-E.y)*180/Math.PI;A<0&&(A+=360);A<1.0E-6&&(A=0)}else E=R(b,n.x0_,n.y0_),h={x:(E.x-w.x)/q,y:(E.y-w.y)/
-u},q/=o*T,u/=p*T,z=fa.max(q,u),y=2*n.r0_/z,z=2*n.r1_/z-y;o=n.colors_;o.sort(function(b,e){return b.offset-e.offset});for(var p=o.length,E=o[0].color,w=o[p-1].color,q=o[0].alpha*b.globalAlpha,b=o[p-1].alpha*b.globalAlpha,u=[],Q=0;Q<p;Q++){var F=o[Q];u.push(F.offset*z+y+" "+F.color)}d.push('<g_vml_:fill type="',n.type_,'"',' method="none" focus="100%"',' color="',E,'"',' color2="',w,'"',' colors="',u.join(","),'"',' opacity="',b,'"',' g_o_:opacity2="',q,'"',' angle="',A,'"',' focusposition="',h.x,",",
-h.y,'" />')}else n instanceof X?q&&u&&d.push("<g_vml_:fill",' position="',-w.x/q*o*o,",",-w.y/u*p*p,'"',' type="tile"',' src="',n.src_,'" />'):(n=r(b.fillStyle),d.push('<g_vml_:fill color="',n.color,'" opacity="',n.alpha*b.globalAlpha,'" />'))}function R(b,d,w){b=b.m_;return{x:T*(d*b[0][0]+w*b[1][0]+b[2][0])-Y,y:T*(d*b[0][1]+w*b[1][1]+b[2][1])-Y}}function S(b,d,w){if(isFinite(d[0][0])&&isFinite(d[0][1])&&isFinite(d[1][0])&&isFinite(d[1][1])&&isFinite(d[2][0])&&isFinite(d[2][1])&&(b.m_=d,w))b.lineScale_=
-y(va(d[0][0]*d[1][1]-d[0][1]*d[1][0]))}function x(b){this.type_=b;this.r1_=this.y1_=this.x1_=this.r0_=this.y0_=this.x0_=0;this.colors_=[]}function X(b,d){if(!b||b.nodeType!=1||b.tagName!="IMG")throw new L("TYPE_MISMATCH_ERR");if(b.readyState!="complete")throw new L("INVALID_STATE_ERR");switch(d){case "repeat":case null:case "":this.repetition_="repeat";break;case "repeat-x":case "repeat-y":case "no-repeat":this.repetition_=d;break;default:throw new L("SYNTAX_ERR");}this.src_=b.src;this.width_=b.width;
-this.height_=b.height}function L(b){this.code=this[b];this.message=b+": DOM Exception "+this.code}var fa=Math,O=fa.round,ga=fa.sin,qa=fa.cos,va=fa.abs,y=fa.sqrt,T=10,Y=T/2;navigator.userAgent.match(/MSIE ([\d.]+)?/);var b=Array.prototype.slice;p(document);var $={init:function(b){b=b||document;b.createElement("canvas");b.attachEvent("onreadystatechange",h(this.init_,this,b))},init_:function(b){for(var b=b.getElementsByTagName("canvas"),d=0;d<b.length;d++)this.initElement(b[d])},initElement:function(b){if(!b.getContext){b.getContext=
-d;p(b.ownerDocument);b.innerHTML="";b.attachEvent("onpropertychange",C);b.attachEvent("onresize",B);var t=b.attributes;t.width&&t.width.specified?b.style.width=t.width.nodeValue+"px":b.width=b.clientWidth;t.height&&t.height.specified?b.style.height=t.height.nodeValue+"px":b.height=b.clientHeight}return b}};$.init();for(var aa=[],D=0;D<16;D++)for(var oa=0;oa<16;oa++)aa[D*16+oa]=D.toString(16)+oa.toString(16);var ja={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",
+document.createElement("canvas").getContext||function(){function d(){return this.context_||(this.context_=new L(this))}function j(g,d,p){var j=b.call(arguments,2);return function(){return g.apply(d,j.concat(b.call(arguments)))}}function C(b){return String(b).replace(/&/g,"&amp;").replace(/"/g,"&quot;")}function n(b){b.namespaces.g_vml_||b.namespaces.add("g_vml_","urn:schemas-microsoft-com:vml","#default#VML");b.namespaces.g_o_||b.namespaces.add("g_o_","urn:schemas-microsoft-com:office:office","#default#VML");
+if(!b.styleSheets.ex_canvas_)b=b.createStyleSheet(),b.owningElement.id="ex_canvas_",b.cssText="canvas{display:inline-block;overflow:hidden;text-align:left;width:300px;height:150px}"}function G(b){var d=b.srcElement;switch(b.propertyName){case "width":d.getContext().clearRect();d.style.width=d.attributes.width.nodeValue+"px";d.firstChild.style.width=d.clientWidth+"px";break;case "height":d.getContext().clearRect(),d.style.height=d.attributes.height.nodeValue+"px",d.firstChild.style.height=d.clientHeight+
+"px"}}function F(b){b=b.srcElement;if(b.firstChild)b.firstChild.style.width=b.clientWidth+"px",b.firstChild.style.height=b.clientHeight+"px"}function l(){return[[1,0,0],[0,1,0],[0,0,1]]}function v(b,d){for(var p=l(),j=0;j<3;j++)for(var r=0;r<3;r++){for(var q=0,n=0;n<3;n++)q+=b[j][n]*d[n][r];p[j][r]=q}return p}function z(b,d){d.fillStyle=b.fillStyle;d.lineCap=b.lineCap;d.lineJoin=b.lineJoin;d.lineWidth=b.lineWidth;d.miterLimit=b.miterLimit;d.shadowBlur=b.shadowBlur;d.shadowColor=b.shadowColor;d.shadowOffsetX=
+b.shadowOffsetX;d.shadowOffsetY=b.shadowOffsetY;d.strokeStyle=b.strokeStyle;d.globalAlpha=b.globalAlpha;d.font=b.font;d.textAlign=b.textAlign;d.textBaseline=b.textBaseline;d.arcScaleX_=b.arcScaleX_;d.arcScaleY_=b.arcScaleY_;d.lineScale_=b.lineScale_}function S(b){var d=b.indexOf("(",3),p=b.indexOf(")",d+1),d=b.substring(d+1,p).split(",");if(d.length!=4||b.charAt(3)!="a")d[3]=1;return d}function M(b,d,p){return Math.min(p,Math.max(d,b))}function R(b,d,p){p<0&&p++;p>1&&p--;return 6*p<1?b+(d-b)*6*p:
+2*p<1?d:3*p<2?b+(d-b)*(2/3-p)*6:b}function K(b){if(b in ga)return ga[b];var d,p=1,b=String(b);if(b.charAt(0)=="#")d=b;else if(/^rgb/.test(b)){p=S(b);d="#";for(var j,r=0;r<3;r++)j=p[r].indexOf("%")!=-1?Math.floor(parseFloat(p[r])/100*255):+p[r],d+=Z[M(j,0,255)];p=+p[3]}else if(/^hsl/.test(b)){r=p=S(b);d=parseFloat(r[0])/360%360;d<0&&d++;j=M(parseFloat(r[1])/100,0,1);r=M(parseFloat(r[2])/100,0,1);if(j==0)j=r=d=r;else{var q=r<0.5?r*(1+j):r+j-r*j,l=2*r-q;j=R(l,q,d+1/3);r=R(l,q,d);d=R(l,q,d-1/3)}d="#"+
+Z[Math.floor(j*255)]+Z[Math.floor(r*255)]+Z[Math.floor(d*255)];p=p[3]}else d=ya[b]||b;return ga[b]={color:d,alpha:p}}function L(b){this.m_=l();this.mStack_=[];this.aStack_=[];this.currentPath_=[];this.fillStyle=this.strokeStyle="#000";this.lineWidth=1;this.lineJoin="miter";this.lineCap="butt";this.miterLimit=U*1;this.globalAlpha=1;this.font="10px sans-serif";this.textAlign="left";this.textBaseline="alphabetic";this.canvas=b;var d="width:"+b.clientWidth+"px;height:"+b.clientHeight+"px;overflow:hidden;position:absolute",
+p=b.ownerDocument.createElement("div");p.style.cssText=d;b.appendChild(p);d=p.cloneNode(!1);d.style.backgroundColor="red";d.style.filter="alpha(opacity=0)";b.appendChild(d);this.element_=p;this.lineScale_=this.arcScaleY_=this.arcScaleX_=1}function w(b,d,p,j){b.currentPath_.push({type:"bezierCurveTo",cp1x:d.x,cp1y:d.y,cp2x:p.x,cp2y:p.y,x:j.x,y:j.y});b.currentX_=j.x;b.currentY_=j.y}function D(b,d){var p=K(b.strokeStyle),j=p.color,p=p.alpha*b.globalAlpha,r=b.lineScale_*b.lineWidth;r<1&&(p*=r);d.push("<g_vml_:stroke",
+' opacity="',p,'"',' joinstyle="',b.lineJoin,'"',' miterlimit="',b.miterLimit,'"',' endcap="',ta[b.lineCap]||"square",'"',' weight="',r,'px"',' color="',j,'" />')}function pa(b,d,p,j){var r=b.fillStyle,q=b.arcScaleX_,l=b.arcScaleY_,n=j.x-p.x,w=j.y-p.y;if(r instanceof N){var s=0,v=j=0,y=0,A=1;if(r.type_=="gradient"){var s=r.x1_/q,p=r.y1_/l,E=T(b,r.x0_/q,r.y0_/l),s=T(b,s,p),s=Math.atan2(s.x-E.x,s.y-E.y)*180/Math.PI;s<0&&(s+=360);s<1.0E-6&&(s=0)}else E=T(b,r.x0_,r.y0_),j=(E.x-p.x)/n,v=(E.y-p.y)/w,n/=
+q*U,w/=l*U,A=ra.max(n,w),y=2*r.r0_/A,A=2*r.r1_/A-y;q=r.colors_;q.sort(function(b,d){return b.offset-d.offset});for(var l=q.length,E=q[0].color,p=q[l-1].color,n=q[0].alpha*b.globalAlpha,b=q[l-1].alpha*b.globalAlpha,w=[],D=0;D<l;D++){var C=q[D];w.push(C.offset*A+y+" "+C.color)}d.push('<g_vml_:fill type="',r.type_,'"',' method="none" focus="100%"',' color="',E,'"',' color2="',p,'"',' colors="',w.join(","),'"',' opacity="',b,'"',' g_o_:opacity2="',n,'"',' angle="',s,'"',' focusposition="',j,",",v,'" />')}else r instanceof
+Y?n&&w&&d.push("<g_vml_:fill",' position="',-p.x/n*q*q,",",-p.y/w*l*l,'"',' type="tile"',' src="',r.src_,'" />'):(r=K(b.fillStyle),d.push('<g_vml_:fill color="',r.color,'" opacity="',r.alpha*b.globalAlpha,'" />'))}function T(b,d,p){b=b.m_;return{x:U*(d*b[0][0]+p*b[1][0]+b[2][0])-la,y:U*(d*b[0][1]+p*b[1][1]+b[2][1])-la}}function A(b,d,p){if(isFinite(d[0][0])&&isFinite(d[0][1])&&isFinite(d[1][0])&&isFinite(d[1][1])&&isFinite(d[2][0])&&isFinite(d[2][1])&&(b.m_=d,p))b.lineScale_=B(Ba(d[0][0]*d[1][1]-
+d[0][1]*d[1][0]))}function N(b){this.type_=b;this.r1_=this.y1_=this.x1_=this.r0_=this.y0_=this.x0_=0;this.colors_=[]}function Y(b,d){if(!b||b.nodeType!=1||b.tagName!="IMG")throw new y("TYPE_MISMATCH_ERR");if(b.readyState!="complete")throw new y("INVALID_STATE_ERR");switch(d){case "repeat":case null:case "":this.repetition_="repeat";break;case "repeat-x":case "repeat-y":case "no-repeat":this.repetition_=d;break;default:throw new y("SYNTAX_ERR");}this.src_=b.src;this.width_=b.width;this.height_=b.height}
+function y(b){this.code=this[b];this.message=b+": DOM Exception "+this.code}var ra=Math,I=ra.round,ia=ra.sin,sa=ra.cos,Ba=ra.abs,B=ra.sqrt,U=10,la=U/2;navigator.userAgent.match(/MSIE ([\d.]+)?/);var b=Array.prototype.slice;n(document);var ba={init:function(b){b=b||document;b.createElement("canvas");b.attachEvent("onreadystatechange",j(this.init_,this,b))},init_:function(b){for(var b=b.getElementsByTagName("canvas"),d=0;d<b.length;d++)this.initElement(b[d])},initElement:function(b){if(!b.getContext){b.getContext=
+d;n(b.ownerDocument);b.innerHTML="";b.attachEvent("onpropertychange",G);b.attachEvent("onresize",F);var j=b.attributes;j.width&&j.width.specified?b.style.width=j.width.nodeValue+"px":b.width=b.clientWidth;j.height&&j.height.specified?b.style.height=j.height.nodeValue+"px":b.height=b.clientHeight}return b}};ba.init();for(var Z=[],H=0;H<16;H++)for(var fa=0;fa<16;fa++)Z[H*16+fa]=H.toString(16)+fa.toString(16);var ya={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",
bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgreen:"#006400",darkgrey:"#A9A9A9",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",
darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",grey:"#808080",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",
ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgreen:"#90EE90",lightgrey:"#D3D3D3",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",mediumaquamarine:"#66CDAA",
mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",oldlace:"#FDF5E6",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",
peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",whitesmoke:"#F5F5F5",yellowgreen:"#9ACD32"},
-ba={},ra={style:"normal",variant:"normal",weight:"normal",size:10,family:"sans-serif"},wa={},Ma={butt:"flat",round:"round"},D=o.prototype;D.clearRect=function(){if(this.textMeasureEl_)this.textMeasureEl_.removeNode(!0),this.textMeasureEl_=null;this.element_.innerHTML=""};D.beginPath=function(){this.currentPath_=[]};D.moveTo=function(b,d){var w=R(this,b,d);this.currentPath_.push({type:"moveTo",x:w.x,y:w.y});this.currentX_=w.x;this.currentY_=w.y};D.lineTo=function(b,d){var w=R(this,b,d);this.currentPath_.push({type:"lineTo",
-x:w.x,y:w.y});this.currentX_=w.x;this.currentY_=w.y};D.bezierCurveTo=function(b,d,w,h,n,o){n=R(this,n,o);b=R(this,b,d);w=R(this,w,h);A(this,b,w,n)};D.quadraticCurveTo=function(b,d,h,o){b=R(this,b,d);h=R(this,h,o);o={x:this.currentX_+2/3*(b.x-this.currentX_),y:this.currentY_+2/3*(b.y-this.currentY_)};A(this,o,{x:o.x+(h.x-this.currentX_)/3,y:o.y+(h.y-this.currentY_)/3},h)};D.arc=function(b,d,h,o,n,r){h*=T;var p=r?"at":"wa",x=b+qa(o)*h-Y,u=d+ga(o)*h-Y,o=b+qa(n)*h-Y,n=d+ga(n)*h-Y;x==o&&!r&&(x+=0.125);
-b=R(this,b,d);x=R(this,x,u);o=R(this,o,n);this.currentPath_.push({type:p,x:b.x,y:b.y,radius:h,xStart:x.x,yStart:x.y,xEnd:o.x,yEnd:o.y})};D.rect=function(b,d,h,o){this.moveTo(b,d);this.lineTo(b+h,d);this.lineTo(b+h,d+o);this.lineTo(b,d+o);this.closePath()};D.strokeRect=function(b,d,h,o){var n=this.currentPath_;this.beginPath();this.moveTo(b,d);this.lineTo(b+h,d);this.lineTo(b+h,d+o);this.lineTo(b,d+o);this.closePath();this.stroke();this.currentPath_=n};D.fillRect=function(b,d,h,o){var n=this.currentPath_;
-this.beginPath();this.moveTo(b,d);this.lineTo(b+h,d);this.lineTo(b+h,d+o);this.lineTo(b,d+o);this.closePath();this.fill();this.currentPath_=n};D.createLinearGradient=function(b,d,h,o){var n=new x("gradient");n.x0_=b;n.y0_=d;n.x1_=h;n.y1_=o;return n};D.createRadialGradient=function(b,d,h,o,n,r){var p=new x("gradientradial");p.x0_=b;p.y0_=d;p.r0_=h;p.x1_=o;p.y1_=n;p.r1_=r;return p};D.drawImage=function(b){var d,h,o,n,r,p,x,u;o=b.runtimeStyle.width;n=b.runtimeStyle.height;b.runtimeStyle.width="auto";
-b.runtimeStyle.height="auto";var q=b.width,A=b.height;b.runtimeStyle.width=o;b.runtimeStyle.height=n;if(arguments.length==3)d=arguments[1],h=arguments[2],r=p=0,x=o=q,u=n=A;else if(arguments.length==5)d=arguments[1],h=arguments[2],o=arguments[3],n=arguments[4],r=p=0,x=q,u=A;else if(arguments.length==9)r=arguments[1],p=arguments[2],x=arguments[3],u=arguments[4],d=arguments[5],h=arguments[6],o=arguments[7],n=arguments[8];else throw Error("Invalid number of arguments");var z=R(this,d,h),y=[];y.push(" <g_vml_:group",
-' coordsize="',T*10,",",T*10,'"',' coordorigin="0,0"',' style="width:',10,"px;height:",10,"px;position:absolute;");if(this.m_[0][0]!=1||this.m_[0][1]||this.m_[1][1]!=1||this.m_[1][0]){var Q=[];Q.push("M11=",this.m_[0][0],",","M12=",this.m_[1][0],",","M21=",this.m_[0][1],",","M22=",this.m_[1][1],",","Dx=",O(z.x/T),",","Dy=",O(z.y/T),"");var F=R(this,d+o,h),C=R(this,d,h+n);d=R(this,d+o,h+n);z.x=fa.max(z.x,F.x,C.x,d.x);z.y=fa.max(z.y,F.y,C.y,d.y);y.push("padding:0 ",O(z.x/T),"px ",O(z.y/T),"px 0;filter:progid:DXImageTransform.Microsoft.Matrix(",
-Q.join(""),", sizingmethod='clip');")}else y.push("top:",O(z.y/T),"px;left:",O(z.x/T),"px;");y.push(' ">','<g_vml_:image src="',b.src,'"',' style="width:',T*o,"px;"," height:",T*n,'px"',' cropleft="',r/q,'"',' croptop="',p/A,'"',' cropright="',(q-r-x)/q,'"',' cropbottom="',(A-p-u)/A,'"'," />","</g_vml_:group>");this.element_.insertAdjacentHTML("BeforeEnd",y.join(""))};D.stroke=function(b){for(var d={x:null,y:null},h={x:null,y:null},o=0;o<this.currentPath_.length;o+=5E3){var n=[];n.push("<g_vml_:shape",
-' filled="',!!b,'"',' style="position:absolute;width:',10,"px;height:",10,'px;"',' coordorigin="0,0"',' coordsize="',T*10,",",T*10,'"',' stroked="',!b,'"',' path="');for(var r=o;r<Math.min(o+5E3,this.currentPath_.length);r++){r%5E3==0&&r>0&&n.push(" m ",O(this.currentPath_[r-1].x),",",O(this.currentPath_[r-1].y));var p=this.currentPath_[r];switch(p.type){case "moveTo":n.push(" m ",O(p.x),",",O(p.y));break;case "lineTo":n.push(" l ",O(p.x),",",O(p.y));break;case "close":n.push(" x ");p=null;break;
-case "bezierCurveTo":n.push(" c ",O(p.cp1x),",",O(p.cp1y),",",O(p.cp2x),",",O(p.cp2y),",",O(p.x),",",O(p.y));break;case "at":case "wa":n.push(" ",p.type," ",O(p.x-this.arcScaleX_*p.radius),",",O(p.y-this.arcScaleY_*p.radius)," ",O(p.x+this.arcScaleX_*p.radius),",",O(p.y+this.arcScaleY_*p.radius)," ",O(p.xStart),",",O(p.yStart)," ",O(p.xEnd),",",O(p.yEnd))}if(p){if(d.x==null||p.x<d.x)d.x=p.x;if(h.x==null||p.x>h.x)h.x=p.x;if(d.y==null||p.y<d.y)d.y=p.y;if(h.y==null||p.y>h.y)h.y=p.y}}n.push(' ">');b?
-Q(this,n,d,h):V(this,n);n.push("</g_vml_:shape>");this.element_.insertAdjacentHTML("beforeEnd",n.join(""))}};D.fill=function(){this.stroke(!0)};D.closePath=function(){this.currentPath_.push({type:"close"})};D.save=function(){var b={};N(this,b);this.aStack_.push(b);this.mStack_.push(this.m_);this.m_=z(q(),this.m_)};D.restore=function(){if(this.aStack_.length)N(this.aStack_.pop(),this),this.m_=this.mStack_.pop()};D.translate=function(b,d){S(this,z([[1,0,0],[0,1,0],[b,d,1]],this.m_),!1)};D.rotate=function(b){var d=
-qa(b),b=ga(b);S(this,z([[d,b,0],[-b,d,0],[0,0,1]],this.m_),!1)};D.scale=function(b,d){this.arcScaleX_*=b;this.arcScaleY_*=d;S(this,z([[b,0,0],[0,d,0],[0,0,1]],this.m_),!0)};D.transform=function(b,d,h,o,n,p){S(this,z([[b,d,0],[h,o,0],[n,p,1]],this.m_),!0)};D.setTransform=function(b,d,h,o,n,p){S(this,[[b,d,0],[h,o,0],[n,p,1]],!0)};D.drawText_=function(b,d,h,o,n){var p=this.m_,o=0,r=1E3,x={x:0,y:0},u=[],q;q=this.font;if(wa[q])q=wa[q];else{var A=document.createElement("div").style;try{A.font=q}catch(z){}q=
-wa[q]={style:A.fontStyle||ra.style,variant:A.fontVariant||ra.variant,weight:A.fontWeight||ra.weight,size:A.fontSize||ra.size,family:A.fontFamily||ra.family}}var A=q,y=this.element_;q={};for(var C in A)q[C]=A[C];C=parseFloat(y.currentStyle.fontSize);y=parseFloat(A.size);q.size=typeof A.size=="number"?A.size:A.size.indexOf("px")!=-1?y:A.size.indexOf("em")!=-1?C*y:A.size.indexOf("%")!=-1?C/100*y:A.size.indexOf("pt")!=-1?y/0.75:C;q.size*=0.981;C=q.style+" "+q.variant+" "+q.weight+" "+q.size+"px "+q.family;
-y=this.element_.currentStyle;A=this.textAlign.toLowerCase();switch(A){case "left":case "center":case "right":break;case "end":A=y.direction=="ltr"?"right":"left";break;case "start":A=y.direction=="rtl"?"right":"left";break;default:A="left"}switch(this.textBaseline){case "hanging":case "top":x.y=q.size/1.75;break;case "middle":break;default:case null:case "alphabetic":case "ideographic":case "bottom":x.y=-q.size/2.25}switch(A){case "right":o=1E3;r=0.05;break;case "center":o=r=500}d=R(this,d+x.x,h+
-x.y);u.push('<g_vml_:line from="',-o,' 0" to="',r,' 0.05" ',' coordsize="100 100" coordorigin="0 0"',' filled="',!n,'" stroked="',!!n,'" style="position:absolute;width:1px;height:1px;">');n?V(this,u):Q(this,u,{x:-o,y:0},{x:r,y:q.size});n=p[0][0].toFixed(3)+","+p[1][0].toFixed(3)+","+p[0][1].toFixed(3)+","+p[1][1].toFixed(3)+",0,0";d=O(d.x/T)+","+O(d.y/T);u.push('<g_vml_:skew on="t" matrix="',n,'" ',' offset="',d,'" origin="',o,' 0" />','<g_vml_:path textpathok="true" />','<g_vml_:textpath on="true" string="',
-F(b),'" style="v-text-align:',A,";font:",F(C),'" /></g_vml_:line>');this.element_.insertAdjacentHTML("beforeEnd",u.join(""))};D.fillText=function(b,d,h,o){this.drawText_(b,d,h,o,!1)};D.strokeText=function(b,d,h,o){this.drawText_(b,d,h,o,!0)};D.measureText=function(b){if(!this.textMeasureEl_)this.element_.insertAdjacentHTML("beforeEnd",'<span style="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;"></span>'),this.textMeasureEl_=this.element_.lastChild;var d=this.element_.ownerDocument;
-this.textMeasureEl_.innerHTML="";this.textMeasureEl_.style.font=this.font;this.textMeasureEl_.appendChild(d.createTextNode(b));return{width:this.textMeasureEl_.offsetWidth}};D.clip=function(){};D.arcTo=function(){};D.createPattern=function(b,d){return new X(b,d)};x.prototype.addColorStop=function(b,d){d=r(d);this.colors_.push({offset:b,color:d.color,alpha:d.alpha})};D=L.prototype=Error();D.INDEX_SIZE_ERR=1;D.DOMSTRING_SIZE_ERR=2;D.HIERARCHY_REQUEST_ERR=3;D.WRONG_DOCUMENT_ERR=4;D.INVALID_CHARACTER_ERR=
-5;D.NO_DATA_ALLOWED_ERR=6;D.NO_MODIFICATION_ALLOWED_ERR=7;D.NOT_FOUND_ERR=8;D.NOT_SUPPORTED_ERR=9;D.INUSE_ATTRIBUTE_ERR=10;D.INVALID_STATE_ERR=11;D.SYNTAX_ERR=12;D.INVALID_MODIFICATION_ERR=13;D.NAMESPACE_ERR=14;D.INVALID_ACCESS_ERR=15;D.VALIDATION_ERR=16;D.TYPE_MISMATCH_ERR=17;G_vmlCanvasManager=$;CanvasRenderingContext2D=o;CanvasGradient=x;CanvasPattern=X;DOMException=L}();
+ga={},ma={},ta={butt:"flat",round:"round"},H=L.prototype;H.clearRect=function(){if(this.textMeasureEl_)this.textMeasureEl_.removeNode(!0),this.textMeasureEl_=null;this.element_.innerHTML=""};H.beginPath=function(){this.currentPath_=[]};H.moveTo=function(b,d){var p=T(this,b,d);this.currentPath_.push({type:"moveTo",x:p.x,y:p.y});this.currentX_=p.x;this.currentY_=p.y};H.lineTo=function(b,d){var p=T(this,b,d);this.currentPath_.push({type:"lineTo",x:p.x,y:p.y});this.currentX_=p.x;this.currentY_=p.y};H.bezierCurveTo=
+function(b,d,p,j,r,q){r=T(this,r,q);b=T(this,b,d);p=T(this,p,j);w(this,b,p,r)};H.quadraticCurveTo=function(b,d,p,j){b=T(this,b,d);p=T(this,p,j);j={x:this.currentX_+2/3*(b.x-this.currentX_),y:this.currentY_+2/3*(b.y-this.currentY_)};w(this,j,{x:j.x+(p.x-this.currentX_)/3,y:j.y+(p.y-this.currentY_)/3},p)};H.arc=function(b,d,p,j,r,q){p*=U;var l=q?"at":"wa",n=b+sa(j)*p-la,w=d+ia(j)*p-la,j=b+sa(r)*p-la,r=d+ia(r)*p-la;n==j&&!q&&(n+=0.125);b=T(this,b,d);n=T(this,n,w);j=T(this,j,r);this.currentPath_.push({type:l,
+x:b.x,y:b.y,radius:p,xStart:n.x,yStart:n.y,xEnd:j.x,yEnd:j.y})};H.rect=function(b,d,p,j){this.moveTo(b,d);this.lineTo(b+p,d);this.lineTo(b+p,d+j);this.lineTo(b,d+j);this.closePath()};H.strokeRect=function(b,d,p,j){var r=this.currentPath_;this.beginPath();this.moveTo(b,d);this.lineTo(b+p,d);this.lineTo(b+p,d+j);this.lineTo(b,d+j);this.closePath();this.stroke();this.currentPath_=r};H.fillRect=function(b,d,p,j){var r=this.currentPath_;this.beginPath();this.moveTo(b,d);this.lineTo(b+p,d);this.lineTo(b+
+p,d+j);this.lineTo(b,d+j);this.closePath();this.fill();this.currentPath_=r};H.createLinearGradient=function(b,d,p,j){var r=new N("gradient");r.x0_=b;r.y0_=d;r.x1_=p;r.y1_=j;return r};H.createRadialGradient=function(b,d,p,j,r,q){var l=new N("gradientradial");l.x0_=b;l.y0_=d;l.r0_=p;l.x1_=j;l.y1_=r;l.r1_=q;return l};H.drawImage=function(b,d){var p,j,r,q,l,n,w,s;r=b.runtimeStyle.width;q=b.runtimeStyle.height;b.runtimeStyle.width="auto";b.runtimeStyle.height="auto";var v=b.width,y=b.height;b.runtimeStyle.width=
+r;b.runtimeStyle.height=q;if(arguments.length==3)p=arguments[1],j=arguments[2],l=n=0,w=r=v,s=q=y;else if(arguments.length==5)p=arguments[1],j=arguments[2],r=arguments[3],q=arguments[4],l=n=0,w=v,s=y;else if(arguments.length==9)l=arguments[1],n=arguments[2],w=arguments[3],s=arguments[4],p=arguments[5],j=arguments[6],r=arguments[7],q=arguments[8];else throw Error("Invalid number of arguments");var A=T(this,p,j),D=[];D.push(" <g_vml_:group",' coordsize="',U*10,",",U*10,'"',' coordorigin="0,0"',' style="width:',
+10,"px;height:",10,"px;position:absolute;");if(this.m_[0][0]!=1||this.m_[0][1]||this.m_[1][1]!=1||this.m_[1][0]){var C=[];C.push("M11=",this.m_[0][0],",","M12=",this.m_[1][0],",","M21=",this.m_[0][1],",","M22=",this.m_[1][1],",","Dx=",I(A.x/U),",","Dy=",I(A.y/U),"");var z=T(this,p+r,j),B=T(this,p,j+q);p=T(this,p+r,j+q);A.x=ra.max(A.x,z.x,B.x,p.x);A.y=ra.max(A.y,z.y,B.y,p.y);D.push("padding:0 ",I(A.x/U),"px ",I(A.y/U),"px 0;filter:progid:DXImageTransform.Microsoft.Matrix(",C.join(""),", sizingmethod='clip');")}else D.push("top:",
+I(A.y/U),"px;left:",I(A.x/U),"px;");D.push(' ">','<g_vml_:image src="',b.src,'"',' style="width:',U*r,"px;"," height:",U*q,'px"',' cropleft="',l/v,'"',' croptop="',n/y,'"',' cropright="',(v-l-w)/v,'"',' cropbottom="',(y-n-s)/y,'"'," />","</g_vml_:group>");this.element_.insertAdjacentHTML("BeforeEnd",D.join(""))};H.stroke=function(b){for(var d={x:null,y:null},p={x:null,y:null},j=0;j<this.currentPath_.length;j+=5E3){var r=[];r.push("<g_vml_:shape",' filled="',!!b,'"',' style="position:absolute;width:',
+10,"px;height:",10,'px;"',' coordorigin="0,0"',' coordsize="',U*10,",",U*10,'"',' stroked="',!b,'"',' path="');for(var q=j;q<Math.min(j+5E3,this.currentPath_.length);q++){q%5E3==0&&q>0&&r.push(" m ",I(this.currentPath_[q-1].x),",",I(this.currentPath_[q-1].y));var l=this.currentPath_[q];switch(l.type){case "moveTo":r.push(" m ",I(l.x),",",I(l.y));break;case "lineTo":r.push(" l ",I(l.x),",",I(l.y));break;case "close":r.push(" x ");l=null;break;case "bezierCurveTo":r.push(" c ",I(l.cp1x),",",I(l.cp1y),
+",",I(l.cp2x),",",I(l.cp2y),",",I(l.x),",",I(l.y));break;case "at":case "wa":r.push(" ",l.type," ",I(l.x-this.arcScaleX_*l.radius),",",I(l.y-this.arcScaleY_*l.radius)," ",I(l.x+this.arcScaleX_*l.radius),",",I(l.y+this.arcScaleY_*l.radius)," ",I(l.xStart),",",I(l.yStart)," ",I(l.xEnd),",",I(l.yEnd))}if(l){if(d.x==null||l.x<d.x)d.x=l.x;if(p.x==null||l.x>p.x)p.x=l.x;if(d.y==null||l.y<d.y)d.y=l.y;if(p.y==null||l.y>p.y)p.y=l.y}}r.push(' ">');b?pa(this,r,d,p):D(this,r);r.push("</g_vml_:shape>");this.element_.insertAdjacentHTML("beforeEnd",
+r.join(""))}};H.fill=function(){this.stroke(!0)};H.closePath=function(){this.currentPath_.push({type:"close"})};H.save=function(){var b={};z(this,b);this.aStack_.push(b);this.mStack_.push(this.m_);this.m_=v(l(),this.m_)};H.restore=function(){if(this.aStack_.length)z(this.aStack_.pop(),this),this.m_=this.mStack_.pop()};H.translate=function(b,d){A(this,v([[1,0,0],[0,1,0],[b,d,1]],this.m_),!1)};H.rotate=function(b){var d=sa(b),b=ia(b);A(this,v([[d,b,0],[-b,d,0],[0,0,1]],this.m_),!1)};H.scale=function(b,
+d){this.arcScaleX_*=b;this.arcScaleY_*=d;A(this,v([[b,0,0],[0,d,0],[0,0,1]],this.m_),!0)};H.transform=function(b,d,p,j,r,q){A(this,v([[b,d,0],[p,j,0],[r,q,1]],this.m_),!0)};H.setTransform=function(b,d,p,j,r,q){A(this,[[b,d,0],[p,j,0],[r,q,1]],!0)};H.drawText_=function(b,d,p,j,r){var q=this.m_,j=0,l=1E3,n=0,w=[],s;s=this.font;if(ma[s])s=ma[s];else{var v=document.createElement("div").style;try{v.font=s}catch(A){}s=ma[s]={style:v.fontStyle||"normal",variant:v.fontVariant||"normal",weight:v.fontWeight||
+"normal",size:v.fontSize||10,family:v.fontFamily||"sans-serif"}}var v=s,y=this.element_;s={};for(var z in v)s[z]=v[z];z=parseFloat(y.currentStyle.fontSize);y=parseFloat(v.size);s.size=typeof v.size=="number"?v.size:v.size.indexOf("px")!=-1?y:v.size.indexOf("em")!=-1?z*y:v.size.indexOf("%")!=-1?z/100*y:v.size.indexOf("pt")!=-1?y/0.75:z;s.size*=0.981;z=s.style+" "+s.variant+" "+s.weight+" "+s.size+"px "+s.family;y=this.element_.currentStyle;v=this.textAlign.toLowerCase();switch(v){case "left":case "center":case "right":break;
+case "end":v=y.direction=="ltr"?"right":"left";break;case "start":v=y.direction=="rtl"?"right":"left";break;default:v="left"}switch(this.textBaseline){case "hanging":case "top":n=s.size/1.75;break;case "middle":break;default:case null:case "alphabetic":case "ideographic":case "bottom":n=-s.size/2.25}switch(v){case "right":j=1E3;l=0.05;break;case "center":j=l=500}d=T(this,d+0,p+n);w.push('<g_vml_:line from="',-j,' 0" to="',l,' 0.05" ',' coordsize="100 100" coordorigin="0 0"',' filled="',!r,'" stroked="',
+!!r,'" style="position:absolute;width:1px;height:1px;">');r?D(this,w):pa(this,w,{x:-j,y:0},{x:l,y:s.size});r=q[0][0].toFixed(3)+","+q[1][0].toFixed(3)+","+q[0][1].toFixed(3)+","+q[1][1].toFixed(3)+",0,0";d=I(d.x/U)+","+I(d.y/U);w.push('<g_vml_:skew on="t" matrix="',r,'" ',' offset="',d,'" origin="',j,' 0" />','<g_vml_:path textpathok="true" />','<g_vml_:textpath on="true" string="',C(b),'" style="v-text-align:',v,";font:",C(z),'" /></g_vml_:line>');this.element_.insertAdjacentHTML("beforeEnd",w.join(""))};
+H.fillText=function(b,d,p,j){this.drawText_(b,d,p,j,!1)};H.strokeText=function(b,d,p,j){this.drawText_(b,d,p,j,!0)};H.measureText=function(b){if(!this.textMeasureEl_)this.element_.insertAdjacentHTML("beforeEnd",'<span style="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;"></span>'),this.textMeasureEl_=this.element_.lastChild;var d=this.element_.ownerDocument;this.textMeasureEl_.innerHTML="";this.textMeasureEl_.style.font=this.font;this.textMeasureEl_.appendChild(d.createTextNode(b));
+return{width:this.textMeasureEl_.offsetWidth}};H.clip=function(){};H.arcTo=function(){};H.createPattern=function(b,d){return new Y(b,d)};N.prototype.addColorStop=function(b,d){d=K(d);this.colors_.push({offset:b,color:d.color,alpha:d.alpha})};H=y.prototype=Error();H.INDEX_SIZE_ERR=1;H.DOMSTRING_SIZE_ERR=2;H.HIERARCHY_REQUEST_ERR=3;H.WRONG_DOCUMENT_ERR=4;H.INVALID_CHARACTER_ERR=5;H.NO_DATA_ALLOWED_ERR=6;H.NO_MODIFICATION_ALLOWED_ERR=7;H.NOT_FOUND_ERR=8;H.NOT_SUPPORTED_ERR=9;H.INUSE_ATTRIBUTE_ERR=10;
+H.INVALID_STATE_ERR=11;H.SYNTAX_ERR=12;H.INVALID_MODIFICATION_ERR=13;H.NAMESPACE_ERR=14;H.INVALID_ACCESS_ERR=15;H.VALIDATION_ERR=16;H.TYPE_MISMATCH_ERR=17;G_vmlCanvasManager=ba;CanvasRenderingContext2D=L;CanvasGradient=N;CanvasPattern=Y;DOMException=y}();
// Input 2
-(function(d){d.color={};d.color.make=function(h,p,C,B){var q={};q.r=h||0;q.g=p||0;q.b=C||0;q.a=B!=null?B:1;q.add=function(d,h){for(var p=0;p<d.length;++p)q[d.charAt(p)]+=h;return q.normalize()};q.scale=function(d,h){for(var p=0;p<d.length;++p)q[d.charAt(p)]*=h;return q.normalize()};q.toString=function(){return q.a>=1?"rgb("+[q.r,q.g,q.b].join(",")+")":"rgba("+[q.r,q.g,q.b,q.a].join(",")+")"};q.normalize=function(){function d(h,p,q){return p<h?h:p>q?q:p}q.r=d(0,parseInt(q.r),255);q.g=d(0,parseInt(q.g),
-255);q.b=d(0,parseInt(q.b),255);q.a=d(0,q.a,1);return q};q.clone=function(){return d.color.make(q.r,q.b,q.g,q.a)};return q.normalize()};d.color.extract=function(h,p){var C;do{C=h.css(p).toLowerCase();if(C!=""&&C!="transparent")break;h=h.parent()}while(!d.nodeName(h.get(0),"body"));C=="rgba(0, 0, 0, 0)"&&(C="transparent");return d.color.parse(C)};d.color.parse=function(F){var p,C=d.color.make;if(p=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(F))return C(parseInt(p[1],10),
-parseInt(p[2],10),parseInt(p[3],10));if(p=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(F))return C(parseInt(p[1],10),parseInt(p[2],10),parseInt(p[3],10),parseFloat(p[4]));if(p=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(F))return C(parseFloat(p[1])*2.55,parseFloat(p[2])*2.55,parseFloat(p[3])*2.55);if(p=/rgba\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(F))return C(parseFloat(p[1])*
-2.55,parseFloat(p[2])*2.55,parseFloat(p[3])*2.55,parseFloat(p[4]));if(p=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(F))return C(parseInt(p[1],16),parseInt(p[2],16),parseInt(p[3],16));if(p=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(F))return C(parseInt(p[1]+p[1],16),parseInt(p[2]+p[2],16),parseInt(p[3]+p[3],16));F=d.trim(F).toLowerCase();return F=="transparent"?C(255,255,255,0):(p=h[F]||[0,0,0],C(p[0],p[1],p[2]))};var h={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,
+(function(d){d.color={};d.color.make=function(j,n,G,F){var l={};l.r=j||0;l.g=n||0;l.b=G||0;l.a=F!=null?F:1;l.add=function(d,j){for(var n=0;n<d.length;++n)l[d.charAt(n)]+=j;return l.normalize()};l.scale=function(d,j){for(var n=0;n<d.length;++n)l[d.charAt(n)]*=j;return l.normalize()};l.toString=function(){return l.a>=1?"rgb("+[l.r,l.g,l.b].join(",")+")":"rgba("+[l.r,l.g,l.b,l.a].join(",")+")"};l.normalize=function(){function d(j,l,n){return l<j?j:l>n?n:l}l.r=d(0,parseInt(l.r),255);l.g=d(0,parseInt(l.g),
+255);l.b=d(0,parseInt(l.b),255);l.a=d(0,l.a,1);return l};l.clone=function(){return d.color.make(l.r,l.b,l.g,l.a)};return l.normalize()};d.color.extract=function(j,n){var G;do{G=j.css(n).toLowerCase();if(G!=""&&G!="transparent")break;j=j.parent()}while(!d.nodeName(j.get(0),"body"));G=="rgba(0, 0, 0, 0)"&&(G="transparent");return d.color.parse(G)};d.color.parse=function(C){var n,G=d.color.make;if(n=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(C))return G(parseInt(n[1],10),
+parseInt(n[2],10),parseInt(n[3],10));if(n=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(C))return G(parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3],10),parseFloat(n[4]));if(n=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(C))return G(parseFloat(n[1])*2.55,parseFloat(n[2])*2.55,parseFloat(n[3])*2.55);if(n=/rgba\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(C))return G(parseFloat(n[1])*
+2.55,parseFloat(n[2])*2.55,parseFloat(n[3])*2.55,parseFloat(n[4]));if(n=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(C))return G(parseInt(n[1],16),parseInt(n[2],16),parseInt(n[3],16));if(n=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(C))return G(parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16),parseInt(n[3]+n[3],16));C=d.trim(C).toLowerCase();return C=="transparent"?G(255,255,255,0):(n=j[C]||[0,0,0],G(n[0],n[1],n[2]))};var j={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,
0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,
211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]}})(jQuery);
-(function(d){function h(h,C,B,q){function z(b,d){for(var d=[U].concat(d),j=0;j<b.length;++j)b[j].apply(this,d)}function N(b){for(var e=[],j=0;j<b.length;++j){var h=d.extend(!0,{},n.series);b[j].data!=null?(h.data=b[j].data,delete b[j].data,d.extend(!0,h,b[j]),b[j].data=h.data):h.data=b[j];e.push(h)}J=e;e=J.length;j=[];h=[];for(b=0;b<J.length;++b){var l=J[b].color;l!=null&&(--e,typeof l=="number"?h.push(l):j.push(d.color.parse(J[b].color)))}for(b=0;b<h.length;++b)e=Math.max(e,h[b]+1);j=[];for(b=h=
-0;j.length<e;)l=n.colors.length==b?d.color.make(100,100,100):d.color.parse(n.colors[b]),l.scale("rgb",1+(h%2==1?-1:1)*Math.ceil(h/2)*0.2),j.push(l),++b,b>=n.colors.length&&(b=0,++h);for(b=e=0;b<J.length;++b){h=J[b];if(h.color==null)h.color=j[e].toString(),++e;else if(typeof h.color=="number")h.color=j[h.color].toString();if(h.lines.show==null){var P,l=!0;for(P in h)if(h[P]&&h[P].show){l=!1;break}if(l)h.lines.show=!0}h.xaxis=r(ia,K(h,"x"));h.yaxis=r(ka,K(h,"y"))}o()}function K(b,d){var j=b[d+"axis"];
-if(typeof j=="object")j=j.n;typeof j!="number"&&(j=1);return j}function I(){return d.grep(ia.concat(ka),function(b){return b})}function G(b){var d={},j,e;for(j=0;j<ia.length;++j)(e=ia[j])&&e.used&&(d["x"+e.n]=e.c2p(b.left));for(j=0;j<ka.length;++j)(e=ka[j])&&e.used&&(d["y"+e.n]=e.c2p(b.top));if(d.x1!==void 0)d.x=d.x1;if(d.y1!==void 0)d.y=d.y1;return d}function r(b,e){b[e-1]||(b[e-1]={n:e,direction:b==ia?"x":"y",options:d.extend(!0,{},b==ia?n.xaxis:n.yaxis)});return b[e-1]}function o(){function b(f,
-d,j){if(d<f.datamin&&d!=-h)f.datamin=d;if(j>f.datamax&&j!=h)f.datamax=j}var e=Number.POSITIVE_INFINITY,j=Number.NEGATIVE_INFINITY,h=Number.MAX_VALUE,l,n,o,p,r,u,t,q,w,A;d.each(I(),function(b,f){f.datamin=e;f.datamax=j;f.used=!1});for(l=0;l<J.length;++l)r=J[l],r.datapoints={points:[]},z(ta.processRawData,[r,r.data,r.datapoints]);for(l=0;l<J.length;++l){r=J[l];var x=r.data,y=r.datapoints.format;if(!y){y=[];y.push({x:!0,number:!0,required:!0});y.push({y:!0,number:!0,required:!0});if(r.bars.show||r.lines.show&&
-r.lines.fill)if(y.push({y:!0,number:!0,required:!1,defaultValue:0}),r.bars.horizontal)delete y[y.length-1].y,y[y.length-1].x=!0;r.datapoints.format=y}if(r.datapoints.pointsize==null){r.datapoints.pointsize=y.length;t=r.datapoints.pointsize;u=r.datapoints.points;insertSteps=r.lines.show&&r.lines.steps;r.xaxis.used=r.yaxis.used=!0;for(n=o=0;n<x.length;++n,o+=t){A=x[n];var ua=A==null;if(!ua)for(p=0;p<t;++p){q=A[p];if(w=y[p])if(w.number&&q!=null&&(q=+q,isNaN(q)?q=null:q==Infinity?q=h:q==-Infinity&&(q=
--h)),q==null&&(w.required&&(ua=!0),w.defaultValue!=null))q=w.defaultValue;u[o+p]=q}if(ua)for(p=0;p<t;++p)q=u[o+p],q!=null&&(w=y[p],w.x&&b(r.xaxis,q,q),w.y&&b(r.yaxis,q,q)),u[o+p]=null;else if(insertSteps&&o>0&&u[o-t]!=null&&u[o-t]!=u[o]&&u[o-t+1]!=u[o+1]){for(p=0;p<t;++p)u[o+t+p]=u[o+p];u[o+1]=u[o-t+1];o+=t}}}}for(l=0;l<J.length;++l)r=J[l],z(ta.processDatapoints,[r,r.datapoints]);for(l=0;l<J.length;++l){r=J[l];u=r.datapoints.points;t=r.datapoints.pointsize;y=r.datapoints.format;A=o=e;ua=x=j;for(n=
-0;n<u.length;n+=t)if(u[n]!=null)for(p=0;p<t;++p)if(q=u[n+p],(w=y[p])&&!(q==h||q==-h))w.x&&(q<o&&(o=q),q>x&&(x=q)),w.y&&(q<A&&(A=q),q>ua&&(ua=q));r.bars.show&&(n=r.bars.align=="left"?0:-r.bars.barWidth/2,r.bars.horizontal?(A+=n,ua+=n+r.bars.barWidth):(o+=n,x+=n+r.bars.barWidth));b(r.xaxis,o,x);b(r.yaxis,A,ua)}d.each(I(),function(b,f){if(f.datamin==e)f.datamin=null;if(f.datamax==j)f.datamax=null})}function A(b,e){var j=document.createElement("canvas");j.className=e;j.width=ea;j.height=la;b||d(j).css({position:"absolute",
-left:0,top:0});d(j).appendTo(h);j.getContext||(j=window.G_vmlCanvasManager.initElement(j));j.getContext("2d").save();return j}function V(){ea=h.width();la=h.height();if(ea<=0||la<=0)throw"Invalid dimensions for plot, width = "+ea+", height = "+la;}function Q(b){if(b.width!=ea)b.width=ea;if(b.height!=la)b.height=la;b=b.getContext("2d");b.restore();b.save()}function R(b){function d(b){return b}var j,e,l=b.options.transform||d,h=b.options.inverseTransform;b.direction=="x"?(j=b.scale=xa/Math.abs(l(b.max)-
-l(b.min)),e=Math.min(l(b.max),l(b.min))):(j=b.scale=sa/Math.abs(l(b.max)-l(b.min)),j=-j,e=Math.max(l(b.max),l(b.min)));b.p2c=l==d?function(b){return(b-e)*j}:function(b){return(l(b)-e)*j};b.c2p=h?function(b){return h(e+b/j)}:function(b){return e+b/j}}function S(b){var e=b.labelWidth,j=b.labelHeight,h=b.options.position,l=b.options.tickLength,o=n.grid.axisMargin,r=n.grid.labelMargin,p=b.direction=="x"?ia:ka,u=d.grep(p,function(b){return b&&b.options.position==h&&b.reserveSpace});d.inArray(b,u)==u.length-
-1&&(o=0);if(l==null)var l=d.grep(p,function(b){return b&&b.reserveSpace}),q=d.inArray(b,l)==0,l=q?"full":5;isNaN(+l)||(r+=+l);b.direction=="x"?(j+=r,h=="bottom"?(E.bottom+=j+o,b.box={top:la-E.bottom,height:j}):(b.box={top:E.top+o,height:j},E.top+=j+o)):(e+=r,h=="left"?(b.box={left:E.left+o,width:e},E.left+=e+o):(E.right+=e+o,b.box={left:ea-E.right,width:e}));b.position=h;b.tickLength=l;b.box.padding=r;b.innermost=q}function x(){var b=n.grid.minBorderMargin,e={x:0,y:0},j;if(b==null)for(j=b=0;j<J.length;++j)b=
-Math.max(b,2*(J[j].points.radius+J[j].points.lineWidth/2));e.x=e.y=Math.ceil(b);d.each(I(),function(b,f){var d=f.direction;f.reserveSpace&&(e[d]=Math.ceil(Math.max(e[d],(d=="x"?f.labelWidth:f.labelHeight)/2)))});E.left=Math.max(e.x,E.left);E.right=Math.max(e.x,E.right);E.top=Math.max(e.y,E.top);E.bottom=Math.max(e.y,E.bottom)}function X(){var b,e=I();b=n.grid.show;for(var j in E)E[j]=b?n.grid.borderWidth:0;d.each(e,function(b,f){f.show=f.options.show;if(f.show==null)f.show=f.used;f.reserveSpace=f.show||
-f.options.reserveSpace;var d=f.options,j=+(d.min!=null?d.min:f.datamin),e=+(d.max!=null?d.max:f.datamax),h=e-j;if(h==0){if(h=e==0?1:0.01,d.min==null&&(j-=h),d.max==null||d.min!=null)e+=h}else{var v=d.autoscaleMargin;v!=null&&(d.min==null&&(j-=h*v,j<0&&f.datamin!=null&&f.datamin>=0&&(j=0)),d.max==null&&(e+=h*v,e>0&&f.datamax!=null&&f.datamax<=0&&(e=0)))}f.min=j;f.max=e});if(b){var o={style:h.css("font-style"),size:Math.round(0.8*(+h.css("font-size").replace("px","")||13)),variant:h.css("font-variant"),
-weight:h.css("font-weight"),family:h.css("font-family")};j=d.grep(e,function(b){return b.reserveSpace});d.each(j,function(b,f){L(f);var j=f.options.ticks,e=[];j==null||typeof j=="number"&&j>0?e=f.tickGenerator(f):j&&(e=d.isFunction(j)?j(f):j);var h;f.ticks=[];for(j=0;j<e.length;++j){var v=null,n=e[j];typeof n=="object"?(h=+n[0],n.length>1&&(v=n[1])):h=+n;v==null&&(v=f.tickFormatter(h,f));isNaN(h)||f.ticks.push({v:h,label:v})}e=f.ticks;if(f.options.autoscaleMargin&&e.length>0){if(f.options.min==null)f.min=
-Math.min(f.min,e[0].v);if(f.options.max==null&&e.length>1)f.max=Math.max(f.max,e[e.length-1].v)}f.font=d.extend({},o,f.options.font);e=f.options;j=f.ticks||[];h=e.labelWidth||0;v=e.labelHeight||0;n=f.font;u.save();u.font=n.style+" "+n.variant+" "+n.weight+" "+n.size+"px '"+n.family+"'";for(var r=0;r<j.length;++r){var p=j[r];p.lines=[];p.width=p.height=0;if(p.label){for(var q=p.label.replace(/<br ?\/?>|\r\n|\r/g,"\n").split("\n"),t=0;t<q.length;++t){var w={text:q[t]},A=u.measureText(w.text);w.width=
-A.width;w.height=A.height!=null?A.height:n.size;w.height+=Math.round(n.size*0.15);p.width=Math.max(w.width,p.width);p.height+=w.height;p.lines.push(w)}e.labelWidth==null&&(h=Math.max(h,p.width));e.labelHeight==null&&(v=Math.max(v,p.height))}}u.restore();f.labelWidth=Math.ceil(h);f.labelHeight=Math.ceil(v)});for(b=j.length-1;b>=0;--b)S(j[b]);x();d.each(j,function(b,f){f.direction=="x"?(f.box.left=E.left-f.labelWidth/2,f.box.width=ea-E.left-E.right+f.labelWidth):(f.box.top=E.top-f.labelHeight/2,f.box.height=
-la-E.bottom-E.top+f.labelHeight)})}xa=ea-E.left-E.right;sa=la-E.bottom-E.top;d.each(e,function(b,f){R(f)});$()}function L(b){var e=b.options,j=(b.max-b.min)/(typeof e.ticks=="number"&&e.ticks>0?e.ticks:0.3*Math.sqrt(b.direction=="x"?ea:la)),h,l,n,o;if(e.mode=="time"){var p={second:1E3,minute:6E4,hour:36E5,day:864E5,month:2592E6,year:525949.2*6E4};o=[[1,"second"],[2,"second"],[5,"second"],[10,"second"],[30,"second"],[1,"minute"],[2,"minute"],[5,"minute"],[10,"minute"],[30,"minute"],[1,"hour"],[2,"hour"],
-[4,"hour"],[8,"hour"],[12,"hour"],[1,"day"],[2,"day"],[3,"day"],[0.25,"month"],[0.5,"month"],[1,"month"],[2,"month"],[3,"month"],[6,"month"],[1,"year"]];h=0;e.minTickSize!=null&&(h=typeof e.tickSize=="number"?e.tickSize:e.minTickSize[0]*p[e.minTickSize[1]]);for(l=0;l<o.length-1;++l)if(j<(o[l][0]*p[o[l][1]]+o[l+1][0]*p[o[l+1][1]])/2&&o[l][0]*p[o[l][1]]>=h)break;h=o[l][0];n=o[l][1];n=="year"&&(l=Math.pow(10,Math.floor(Math.log(j/p.year)/Math.LN10)),o=j/p.year/l,h=o<1.5?1:o<3?2:o<7.5?5:10,h*=l);b.tickSize=
-e.tickSize||[h,n];l=function(b){var f=[],d=b.tickSize[0],e=b.tickSize[1],j=new Date(b.min),l=d*p[e];e=="second"&&j.setUTCSeconds(F(j.getUTCSeconds(),d));e=="minute"&&j.setUTCMinutes(F(j.getUTCMinutes(),d));e=="hour"&&j.setUTCHours(F(j.getUTCHours(),d));e=="month"&&j.setUTCMonth(F(j.getUTCMonth(),d));e=="year"&&j.setUTCFullYear(F(j.getUTCFullYear(),d));j.setUTCMilliseconds(0);l>=p.minute&&j.setUTCSeconds(0);l>=p.hour&&j.setUTCMinutes(0);l>=p.day&&j.setUTCHours(0);l>=p.day*4&&j.setUTCDate(1);l>=p.year&&
-j.setUTCMonth(0);var h=0,n=Number.NaN,v;do if(v=n,n=j.getTime(),f.push(n),e=="month")if(d<1){j.setUTCDate(1);var o=j.getTime();j.setUTCMonth(j.getUTCMonth()+1);var r=j.getTime();j.setTime(n+h*p.hour+(r-o)*d);h=j.getUTCHours();j.setUTCHours(0)}else j.setUTCMonth(j.getUTCMonth()+d);else e=="year"?j.setUTCFullYear(j.getUTCFullYear()+d):j.setTime(n+l);while(n<b.max&&n!=v);return f};h=function(b,f){var j=new Date(b);if(e.timeformat!=null)return d.plot.formatDate(j,e.timeformat,e.monthNames);var l=f.tickSize[0]*
-p[f.tickSize[1]],h=f.max-f.min,n=e.twelveHourClock?" %p":"";fmt=l<p.minute?"%h:%M:%S"+n:l<p.day?h<2*p.day?"%h:%M"+n:"%b %d %h:%M"+n:l<p.month?"%b %d":l<p.year?h<p.year?"%b":"%b %y":"%y";return d.plot.formatDate(j,fmt,e.monthNames)}}else{n=e.tickDecimals;var r=-Math.floor(Math.log(j)/Math.LN10);n!=null&&r>n&&(r=n);l=Math.pow(10,-r);o=j/l;if(o<1.5)h=1;else if(o<3){if(h=2,o>2.25&&(n==null||r+1<=n))h=2.5,++r}else h=o<7.5?5:10;h*=l;if(e.minTickSize!=null&&h<e.minTickSize)h=e.minTickSize;b.tickDecimals=
-Math.max(0,n!=null?n:r);b.tickSize=e.tickSize||h;l=function(b){var f=[],d=F(b.min,b.tickSize),j=0,e=Number.NaN,l;do l=e,e=d+j*b.tickSize,f.push(e),++j;while(e<b.max&&e!=l);return f};h=function(b,f){return b.toFixed(f.tickDecimals)}}if(e.alignTicksWithAxis!=null){var u=(b.direction=="x"?ia:ka)[e.alignTicksWithAxis-1];if(u&&u.used&&u!=b){l=l(b);if(l.length>0){if(e.min==null)b.min=Math.min(b.min,l[0]);if(e.max==null&&l.length>1)b.max=Math.max(b.max,l[l.length-1])}l=function(b){var f=[],d,j;for(j=0;j<
-u.ticks.length;++j)d=(u.ticks[j].v-u.min)/(u.max-u.min),d=b.min+d*(b.max-b.min),f.push(d);return f};if(!b.mode&&e.tickDecimals==null&&(j=Math.max(0,-Math.floor(Math.log(j)/Math.LN10)+1),o=l(b),!(o.length>1&&/\..*0$/.test((o[1]-o[0]).toFixed(j)))))b.tickDecimals=j}}b.tickGenerator=l;b.tickFormatter=d.isFunction(e.tickFormatter)?function(b,f){return""+e.tickFormatter(b,f)}:h}function fa(){u.clearRect(0,0,ea,la);var b=n.grid;if(b.show&&b.backgroundColor)u.save(),u.translate(E.left,E.top),u.fillStyle=
-w(n.grid.backgroundColor,sa,0,"rgba(255, 255, 255, 0)"),u.fillRect(0,0,xa,sa),u.restore();b.show&&!b.aboveData&&(ga(),qa());for(var d=0;d<J.length;++d){z(ta.drawSeries,[u,J[d]]);var j=J[d];j.lines.show&&va(j);j.bars.show&&Y(j);j.points.show&&y(j)}z(ta.draw,[u]);b.show&&b.aboveData&&(ga(),qa())}function O(b,d){var j,e,l,h,n=I();for(i=0;i<n.length;++i)if(j=n[i],j.direction==d&&(h=d+j.n+"axis",!b[h]&&j.n==1&&(h=d+"axis"),b[h])){e=b[h].from;l=b[h].to;break}b[h]||(j=d=="x"?ia[0]:ka[0],e=b[d+"1"],l=b[d+
-"2"]);e!=null&&l!=null&&e>l&&(h=e,e=l,l=h);return{from:e,to:l,axis:j}}function ga(){var b;u.save();u.translate(E.left,E.top);var e=n.grid.markings;if(e){if(d.isFunction(e)){var j=U.getAxes();j.xmin=j.xaxis.min;j.xmax=j.xaxis.max;j.ymin=j.yaxis.min;j.ymax=j.yaxis.max;e=e(j)}for(b=0;b<e.length;++b){var j=e[b],h=O(j,"x"),l=O(j,"y");if(h.from==null)h.from=h.axis.min;if(h.to==null)h.to=h.axis.max;if(l.from==null)l.from=l.axis.min;if(l.to==null)l.to=l.axis.max;if(!(h.to<h.axis.min||h.from>h.axis.max||l.to<
-l.axis.min||l.from>l.axis.max))if(h.from=Math.max(h.from,h.axis.min),h.to=Math.min(h.to,h.axis.max),l.from=Math.max(l.from,l.axis.min),l.to=Math.min(l.to,l.axis.max),!(h.from==h.to&&l.from==l.to))h.from=h.axis.p2c(h.from),h.to=h.axis.p2c(h.to),l.from=l.axis.p2c(l.from),l.to=l.axis.p2c(l.to),h.from==h.to||l.from==l.to?(u.beginPath(),u.strokeStyle=j.color||n.grid.markingsColor,u.lineWidth=j.lineWidth||n.grid.markingsLineWidth,u.moveTo(h.from,l.from),u.lineTo(h.to,l.to),u.stroke()):(u.fillStyle=j.color||
-n.grid.markingsColor,u.fillRect(h.from,l.to,h.to-h.from,l.from-l.to))}}j=I();e=n.grid.borderWidth;for(h=0;h<j.length;++h){l=j[h];b=l.box;var o=l.tickLength,p,r,q,t;if(l.show&&l.ticks.length!=0){u.strokeStyle=l.options.tickColor||d.color.parse(l.options.color).scale("a",0.22).toString();u.lineWidth=1;l.direction=="x"?(p=0,r=o=="full"?l.position=="top"?0:sa:b.top-E.top+(l.position=="top"?b.height:0)):(r=0,p=o=="full"?l.position=="left"?0:xa:b.left-E.left+(l.position=="left"?b.width:0));l.innermost||
-(u.beginPath(),q=t=0,l.direction=="x"?q=xa:t=sa,u.lineWidth==1&&(p=Math.floor(p)+0.5,r=Math.floor(r)+0.5),u.moveTo(p,r),u.lineTo(p+q,r+t),u.stroke());u.beginPath();for(b=0;b<l.ticks.length;++b){var w=l.ticks[b].v;q=t=0;w<l.min||w>l.max||o=="full"&&e>0&&(w==l.min||w==l.max)||(l.direction=="x"?(p=l.p2c(w),t=o=="full"?-sa:o,l.position=="top"&&(t=-t)):(r=l.p2c(w),q=o=="full"?-xa:o,l.position=="left"&&(q=-q)),u.lineWidth==1&&(l.direction=="x"?p=Math.floor(p)+0.5:r=Math.floor(r)+0.5),u.moveTo(p,r),u.lineTo(p+
-q,r+t))}u.stroke()}}if(e)u.lineWidth=e,u.strokeStyle=n.grid.borderColor,u.strokeRect(-e/2,-e/2,xa+e,sa+e);u.restore()}function qa(){u.save();d.each(I(),function(b,e){if(e.show&&e.ticks.length!=0){var j=e.box,h=e.font;u.fillStyle=e.options.color;u.font=h.style+" "+h.variant+" "+h.weight+" "+h.size+"px "+h.family;u.textAlign="start";u.textBaseline="middle";for(h=0;h<e.ticks.length;++h){var l=e.ticks[h];if(l.label&&!(l.v<e.min||l.v>e.max))for(var n,o,p=0,r,q=0;q<l.lines.length;++q)r=l.lines[q],e.direction==
-"x"?(n=E.left+e.p2c(l.v)-r.width/2,o=e.position=="bottom"?j.top+j.padding:j.top+j.height-j.padding-l.height):(o=E.top+e.p2c(l.v)-l.height/2,n=e.position=="left"?j.left+j.width-j.padding-r.width:j.left+j.padding),o+=r.height/2+p,p+=r.height,d.browser.opera&&(n=Math.floor(n),o=Math.ceil(o-2)),u.fillText(r.text,n,o)}}});u.restore()}function va(f){function e(b,f,d,j,h){var l=b.points,b=b.pointsize,n=null,o=null;u.beginPath();for(var p=b;p<l.length;p+=b){var v=l[p-b],r=l[p-b+1],q=l[p],t=l[p+1];if(!(v==
-null||q==null)){if(r<=t&&r<h.min){if(t<h.min)continue;v=(h.min-r)/(t-r)*(q-v)+v;r=h.min}else if(t<=r&&t<h.min){if(r<h.min)continue;q=(h.min-r)/(t-r)*(q-v)+v;t=h.min}if(r>=t&&r>h.max){if(t>h.max)continue;v=(h.max-r)/(t-r)*(q-v)+v;r=h.max}else if(t>=r&&t>h.max){if(r>h.max)continue;q=(h.max-r)/(t-r)*(q-v)+v;t=h.max}if(v<=q&&v<j.min){if(q<j.min)continue;r=(j.min-v)/(q-v)*(t-r)+r;v=j.min}else if(q<=v&&q<j.min){if(v<j.min)continue;t=(j.min-v)/(q-v)*(t-r)+r;q=j.min}if(v>=q&&v>j.max){if(q>j.max)continue;
-r=(j.max-v)/(q-v)*(t-r)+r;v=j.max}else if(q>=v&&q>j.max){if(v>j.max)continue;t=(j.max-v)/(q-v)*(t-r)+r;q=j.max}(v!=n||r!=o)&&u.moveTo(j.p2c(v)+f,h.p2c(r)+d);n=q;o=t;u.lineTo(j.p2c(q)+f,h.p2c(t)+d)}}u.stroke()}function d(b,f,e){for(var j=b.points,b=b.pointsize,h=Math.min(Math.max(0,e.min),e.max),l=0,n=!1,o=1,v=0,r=0;;){if(b>0&&l>j.length+b)break;l+=b;var p=j[l-b],q=j[l-b+o],t=j[l],w=j[l+o];if(n){if(b>0&&p!=null&&t==null){r=l;b=-b;o=2;continue}if(b<0&&l==v+b){u.fill();n=!1;b=-b;o=1;l=v=r+b;continue}}if(!(p==
-null||t==null)){if(p<=t&&p<f.min){if(t<f.min)continue;q=(f.min-p)/(t-p)*(w-q)+q;p=f.min}else if(t<=p&&t<f.min){if(p<f.min)continue;w=(f.min-p)/(t-p)*(w-q)+q;t=f.min}if(p>=t&&p>f.max){if(t>f.max)continue;q=(f.max-p)/(t-p)*(w-q)+q;p=f.max}else if(t>=p&&t>f.max){if(p>f.max)continue;w=(f.max-p)/(t-p)*(w-q)+q;t=f.max}n||(u.beginPath(),u.moveTo(f.p2c(p),e.p2c(h)),n=!0);if(q>=e.max&&w>=e.max)u.lineTo(f.p2c(p),e.p2c(e.max)),u.lineTo(f.p2c(t),e.p2c(e.max));else if(q<=e.min&&w<=e.min)u.lineTo(f.p2c(p),e.p2c(e.min)),
-u.lineTo(f.p2c(t),e.p2c(e.min));else{var A=p,x=t;if(q<=w&&q<e.min&&w>=e.min)p=(e.min-q)/(w-q)*(t-p)+p,q=e.min;else if(w<=q&&w<e.min&&q>=e.min)t=(e.min-q)/(w-q)*(t-p)+p,w=e.min;if(q>=w&&q>e.max&&w<=e.max)p=(e.max-q)/(w-q)*(t-p)+p,q=e.max;else if(w>=q&&w>e.max&&q<=e.max)t=(e.max-q)/(w-q)*(t-p)+p,w=e.max;p!=A&&u.lineTo(f.p2c(A),e.p2c(q));u.lineTo(f.p2c(p),e.p2c(q));u.lineTo(f.p2c(t),e.p2c(w));t!=x&&(u.lineTo(f.p2c(t),e.p2c(w)),u.lineTo(f.p2c(x),e.p2c(w)))}}}}u.save();u.translate(E.left,E.top);u.lineJoin=
-"round";var h=f.lines.lineWidth,l=f.shadowSize;if(h>0&&l>0){u.lineWidth=l;u.strokeStyle="rgba(0,0,0,0.1)";var n=Math.PI/18;e(f.datapoints,Math.sin(n)*(h/2+l/2),Math.cos(n)*(h/2+l/2),f.xaxis,f.yaxis);u.lineWidth=l/2;e(f.datapoints,Math.sin(n)*(h/2+l/4),Math.cos(n)*(h/2+l/4),f.xaxis,f.yaxis)}u.lineWidth=h;u.strokeStyle=f.color;if(l=b(f.lines,f.color,0,sa))u.fillStyle=l,d(f.datapoints,f.xaxis,f.yaxis);h>0&&e(f.datapoints,0,0,f.xaxis,f.yaxis);u.restore()}function y(f){function e(b,f,d,j,h,l,n,o){for(var p=
-b.points,b=b.pointsize,v=0;v<p.length;v+=b){var r=p[v],q=p[v+1];if(!(r==null||r<l.min||r>l.max||q<n.min||q>n.max)){u.beginPath();r=l.p2c(r);q=n.p2c(q)+j;o=="circle"?u.arc(r,q,f,0,h?Math.PI:Math.PI*2,!1):o(u,r,q,f,h);u.closePath();if(d)u.fillStyle=d,u.fill();u.stroke()}}}u.save();u.translate(E.left,E.top);var j=f.points.lineWidth,d=f.shadowSize,h=f.points.radius,n=f.points.symbol;if(j>0&&d>0)d/=2,u.lineWidth=d,u.strokeStyle="rgba(0,0,0,0.1)",e(f.datapoints,h,null,d+d/2,!0,f.xaxis,f.yaxis,n),u.strokeStyle=
-"rgba(0,0,0,0.2)",e(f.datapoints,h,null,d/2,!0,f.xaxis,f.yaxis,n);u.lineWidth=j;u.strokeStyle=f.color;e(f.datapoints,h,b(f.points,f.color),0,!1,f.xaxis,f.yaxis,n);u.restore()}function T(b,e,d,h,l,n,o,p,r,q,t,w){var u,A,x,y;t?(y=A=x=!0,u=!1,t=d,d=e+h,l=e+l,b<t&&(e=b,b=t,t=e,u=!0,A=!1)):(u=A=x=!0,y=!1,t=b+h,b+=l,l=d,d=e,d<l&&(e=d,d=l,l=e,y=!0,x=!1));if(!(b<p.min||t>p.max||d<r.min||l>r.max)){if(t<p.min)t=p.min,u=!1;if(b>p.max)b=p.max,A=!1;if(l<r.min)l=r.min,y=!1;if(d>r.max)d=r.max,x=!1;t=p.p2c(t);l=
-r.p2c(l);b=p.p2c(b);d=r.p2c(d);if(o)q.beginPath(),q.moveTo(t,l),q.lineTo(t,d),q.lineTo(b,d),q.lineTo(b,l),q.fillStyle=o(l,d),q.fill();if(w>0&&(u||A||x||y))q.beginPath(),q.moveTo(t,l+n),u?q.lineTo(t,d+n):q.moveTo(t,d+n),x?q.lineTo(b,d+n):q.moveTo(b,d+n),A?q.lineTo(b,l+n):q.moveTo(b,l+n),y?q.lineTo(t,l+n):q.moveTo(t,l+n),q.stroke()}}function Y(f){u.save();u.translate(E.left,E.top);u.lineWidth=f.bars.lineWidth;u.strokeStyle=f.color;var e=f.bars.align=="left"?0:-f.bars.barWidth/2;(function(b,e,d,h,n,
-p,o){for(var r=b.points,b=b.pointsize,q=0;q<r.length;q+=b)r[q]!=null&&T(r[q],r[q+1],r[q+2],e,d,h,n,p,o,u,f.bars.horizontal,f.bars.lineWidth)})(f.datapoints,e,e+f.bars.barWidth,0,f.bars.fill?function(e,d){return b(f.bars,f.color,e,d)}:null,f.xaxis,f.yaxis);u.restore()}function b(b,e,j,h){var l=b.fill;if(!l)return null;if(b.fillColor)return w(b.fillColor,j,h,e);b=d.color.parse(e);b.a=typeof l=="number"?l:0.4;b.normalize();return b.toString()}function $(){h.find(".legend").remove();if(n.legend.show){for(var b=
-[],e=!1,j=n.legend.labelFormatter,o,l,r=0;r<J.length;++r)if(o=J[r],l=o.label)r%n.legend.noColumns==0&&(e&&b.push("</tr>"),b.push("<tr>"),e=!0),j&&(l=j(l,o)),b.push('<td class="legendColorBox"><div style="border:1px solid '+n.legend.labelBoxBorderColor+';padding:1px"><div style="width:4px;height:0;border:5px solid '+o.color+';overflow:hidden"></div></div></td><td class="legendLabel">'+l+"</td>");e&&b.push("</tr>");if(b.length!=0)if(e='<table style="font-size:smaller;color:'+n.grid.color+'">'+b.join("")+
-"</table>",n.legend.container!=null)d(n.legend.container).html(e);else if(b="",j=n.legend.position,o=n.legend.margin,o[0]==null&&(o=[o,o]),j.charAt(0)=="n"?b+="top:"+(o[1]+E.top)+"px;":j.charAt(0)=="s"&&(b+="bottom:"+(o[1]+E.bottom)+"px;"),j.charAt(1)=="e"?b+="right:"+(o[0]+E.right)+"px;":j.charAt(1)=="w"&&(b+="left:"+(o[0]+E.left)+"px;"),e=d('<div class="legend">'+e.replace('style="','style="position:absolute;'+b+";")+"</div>").appendTo(h),n.legend.backgroundOpacity!=0){j=n.legend.backgroundColor;
-if(j==null)j=(j=n.grid.backgroundColor)&&typeof j=="string"?d.color.parse(j):d.color.extract(e,"background-color"),j.a=1,j=j.toString();o=e.children();d('<div style="position:absolute;width:'+o.width()+"px;height:"+o.height()+"px;"+b+"background-color:"+j+';"> </div>').prependTo(e).css("opacity",n.legend.backgroundOpacity)}}}function aa(b){n.grid.hoverable&&ja("plothover",b,function(b){return b.hoverable!=!1})}function D(b){n.grid.hoverable&&ja("plothover",b,function(){return!1})}function oa(b){ja("plotclick",
-b,function(b){return b.clickable!=!1})}function ja(b,e,d){var o=pa.offset(),l=e.pageX-o.left-E.left,r=e.pageY-o.top-E.top,q=G({left:l,top:r});q.pageX=e.pageX;q.pageY=e.pageY;var e=n.grid.mouseActiveRadius,t=e*e+1,u=null,w,A;for(w=J.length-1;w>=0;--w)if(d(J[w])){var x=J[w],y=x.xaxis,C=x.yaxis,z=x.datapoints.points,Q=x.datapoints.pointsize,F=y.c2p(l),B=C.c2p(r),R=e/y.scale,D=e/C.scale;if(y.options.inverseTransform)R=Number.MAX_VALUE;if(C.options.inverseTransform)D=Number.MAX_VALUE;if(x.lines.show||
-x.points.show)for(A=0;A<z.length;A+=Q){var V=z[A],S=z[A+1];if(V!=null&&!(V-F>R||V-F<-R||S-B>D||S-B<-D))V=Math.abs(y.p2c(V)-l),S=Math.abs(C.p2c(S)-r),S=V*V+S*S,S<t&&(t=S,u=[w,A/Q])}if(x.bars.show&&!u){y=x.bars.align=="left"?0:-x.bars.barWidth/2;x=y+x.bars.barWidth;for(A=0;A<z.length;A+=Q)if(V=z[A],S=z[A+1],C=z[A+2],V!=null&&(J[w].bars.horizontal?F<=Math.max(C,V)&&F>=Math.min(C,V)&&B>=S+y&&B<=S+x:F>=V+y&&F<=V+x&&B>=Math.min(C,S)&&B<=Math.max(C,S)))u=[w,A/Q]}}u?(w=u[0],A=u[1],Q=J[w].datapoints.pointsize,
-d={datapoint:J[w].datapoints.points.slice(A*Q,(A+1)*Q),dataIndex:A,series:J[w],seriesIndex:w}):d=null;if(d)d.pageX=parseInt(d.series.xaxis.p2c(d.datapoint[0])+o.left+E.left),d.pageY=parseInt(d.series.yaxis.p2c(d.datapoint[1])+o.top+E.top);if(n.grid.autoHighlight){for(o=0;o<ya.length;++o)l=ya[o],l.auto==b&&(!d||!(l.series==d.series&&l.point[0]==d.datapoint[0]&&l.point[1]==d.datapoint[1]))&&Ma(l.series,l.point);d&&wa(d.series,d.datapoint,b)}h.trigger(b,[q,d])}function ba(){var b=n.interaction.redrawOverlayInterval;
-b==-1?ra():Ea||(Ea=setTimeout(ra,b))}function ra(){Ea=null;da.save();da.clearRect(0,0,ea,la);da.translate(E.left,E.top);var b,e;for(b=0;b<ya.length;++b)if(e=ya[b],e.series.bars.show)t(e.series,e.point);else{var j=e.series,h=e.point;e=h[0];var h=h[1],l=j.xaxis,n=j.yaxis;if(!(e<l.min||e>l.max||h<n.min||h>n.max)){var o=j.points.radius+j.points.lineWidth/2;da.lineWidth=o;da.strokeStyle=d.color.parse(j.color).scale("a",0.5).toString();o*=1.5;e=l.p2c(e);h=n.p2c(h);da.beginPath();j.points.symbol=="circle"?
-da.arc(e,h,o,0,2*Math.PI,!1):j.points.symbol(da,e,h,o,!1);da.closePath();da.stroke()}}da.restore();z(ta.drawOverlay,[da])}function wa(b,d,j){typeof b=="number"&&(b=J[b]);if(typeof d=="number")var h=b.datapoints.pointsize,d=b.datapoints.points.slice(h*d,h*(d+1));h=e(b,d);if(h==-1)ya.push({series:b,point:d,auto:j}),ba();else if(!j)ya[h].auto=!1}function Ma(b,d){b==null&&d==null&&(ya=[],ba());typeof b=="number"&&(b=J[b]);typeof d=="number"&&(d=b.data[d]);var j=e(b,d);j!=-1&&(ya.splice(j,1),ba())}function e(b,
-e){for(var d=0;d<ya.length;++d){var h=ya[d];if(h.series==b&&h.point[0]==e[0]&&h.point[1]==e[1])return d}return-1}function t(b,e){da.lineWidth=b.bars.lineWidth;da.strokeStyle=d.color.parse(b.color).scale("a",0.5).toString();var j=d.color.parse(b.color).scale("a",0.5).toString(),h=b.bars.align=="left"?0:-b.bars.barWidth/2;T(e[0],e[1],e[2]||0,h,h+b.bars.barWidth,0,function(){return j},b.xaxis,b.yaxis,da,b.bars.horizontal,b.bars.lineWidth)}function w(b,e,j,h){if(typeof b=="string")return b;else{for(var e=
-u.createLinearGradient(0,j,0,e),j=0,l=b.colors.length;j<l;++j){var n=b.colors[j];if(typeof n!="string"){var o=d.color.parse(h);n.brightness!=null&&(o=o.scale("rgb",n.brightness));n.opacity!=null&&(o.a*=n.opacity);n=o.toString()}e.addColorStop(j/(l-1),n)}return e}}var J=[],n={colors:["#edc240","#afd8f8","#cb4b4b","#4da74d","#9440ed"],legend:{show:!0,noColumns:1,labelFormatter:null,labelBoxBorderColor:"#ccc",container:null,position:"ne",margin:5,backgroundColor:null,backgroundOpacity:0.85},xaxis:{show:null,
+(function(d){function j(j,G,F,l){function v(b,d){for(var d=[V].concat(d),e=0;e<b.length;++e)b[e].apply(this,d)}function z(b){for(var u=[],e=0;e<b.length;++e){var g=d.extend(!0,{},q.series);b[e].data!=null?(g.data=b[e].data,delete b[e].data,d.extend(!0,g,b[e]),b[e].data=g.data):g.data=b[e];u.push(g)}r=u;u=r.length;e=[];g=[];for(b=0;b<r.length;++b){var o=r[b].color;o!=null&&(--u,typeof o=="number"?g.push(o):e.push(d.color.parse(r[b].color)))}for(b=0;b<g.length;++b)u=Math.max(u,g[b]+1);e=[];for(b=g=
+0;e.length<u;)o=q.colors.length==b?d.color.make(100,100,100):d.color.parse(q.colors[b]),o.scale("rgb",1+(g%2==1?-1:1)*Math.ceil(g/2)*0.2),e.push(o),++b,b>=q.colors.length&&(b=0,++g);for(b=u=0;b<r.length;++b){g=r[b];if(g.color==null)g.color=e[u].toString(),++u;else if(typeof g.color=="number")g.color=e[g.color].toString();if(g.lines.show==null){var j,o=!0;for(j in g)if(g[j]&&g[j].show){o=!1;break}if(o)g.lines.show=!0}g.xaxis=K(ja,S(g,"x"));g.yaxis=K(na,S(g,"y"))}L()}function S(b,d){var e=b[d+"axis"];
+if(typeof e=="object")e=e.n;typeof e!="number"&&(e=1);return e}function M(){return d.grep(ja.concat(na),function(b){return b})}function R(b){var d={},e,g;for(e=0;e<ja.length;++e)(g=ja[e])&&g.used&&(d["x"+g.n]=g.c2p(b.left));for(e=0;e<na.length;++e)(g=na[e])&&g.used&&(d["y"+g.n]=g.c2p(b.top));if(d.x1!==void 0)d.x=d.x1;if(d.y1!==void 0)d.y=d.y1;return d}function K(b,g){b[g-1]||(b[g-1]={n:g,direction:b==ja?"x":"y",options:d.extend(!0,{},b==ja?q.xaxis:q.yaxis)});return b[g-1]}function L(){function b(f,
+e,d){if(e<f.datamin&&e!=-j)f.datamin=e;if(d>f.datamax&&d!=j)f.datamax=d}var g=Number.POSITIVE_INFINITY,e=Number.NEGATIVE_INFINITY,j=Number.MAX_VALUE,o,p,q,l,s,w,W,n,y,A;d.each(M(),function(b,f){f.datamin=g;f.datamax=e;f.used=!1});for(o=0;o<r.length;++o)s=r[o],s.datapoints={points:[]},v(va.processRawData,[s,s.data,s.datapoints]);for(o=0;o<r.length;++o){s=r[o];var D=s.data,$=s.datapoints.format;if(!$){$=[];$.push({x:!0,number:!0,required:!0});$.push({y:!0,number:!0,required:!0});if(s.bars.show||s.lines.show&&
+s.lines.fill)if($.push({y:!0,number:!0,required:!1,defaultValue:0}),s.bars.horizontal)delete $[$.length-1].y,$[$.length-1].x=!0;s.datapoints.format=$}if(s.datapoints.pointsize==null){s.datapoints.pointsize=$.length;W=s.datapoints.pointsize;w=s.datapoints.points;insertSteps=s.lines.show&&s.lines.steps;s.xaxis.used=s.yaxis.used=!0;for(p=q=0;p<D.length;++p,q+=W){A=D[p];var xa=A==null;if(!xa)for(l=0;l<W;++l){n=A[l];if(y=$[l])if(y.number&&n!=null&&(n=+n,isNaN(n)?n=null:n==Infinity?n=j:n==-Infinity&&(n=
+-j)),n==null&&(y.required&&(xa=!0),y.defaultValue!=null))n=y.defaultValue;w[q+l]=n}if(xa)for(l=0;l<W;++l)n=w[q+l],n!=null&&(y=$[l],y.x&&b(s.xaxis,n,n),y.y&&b(s.yaxis,n,n)),w[q+l]=null;else if(insertSteps&&q>0&&w[q-W]!=null&&w[q-W]!=w[q]&&w[q-W+1]!=w[q+1]){for(l=0;l<W;++l)w[q+W+l]=w[q+l];w[q+1]=w[q-W+1];q+=W}}}}for(o=0;o<r.length;++o)s=r[o],v(va.processDatapoints,[s,s.datapoints]);for(o=0;o<r.length;++o){s=r[o];w=s.datapoints.points;W=s.datapoints.pointsize;$=s.datapoints.format;A=q=g;xa=D=e;for(p=
+0;p<w.length;p+=W)if(w[p]!=null)for(l=0;l<W;++l)if(n=w[p+l],(y=$[l])&&!(n==j||n==-j))y.x&&(n<q&&(q=n),n>D&&(D=n)),y.y&&(n<A&&(A=n),n>xa&&(xa=n));s.bars.show&&(p=s.bars.align=="left"?0:-s.bars.barWidth/2,s.bars.horizontal?(A+=p,xa+=p+s.bars.barWidth):(q+=p,D+=p+s.bars.barWidth));b(s.xaxis,q,D);b(s.yaxis,A,xa)}d.each(M(),function(b,f){if(f.datamin==g)f.datamin=null;if(f.datamax==e)f.datamax=null})}function w(b,g){var e=document.createElement("canvas");e.className=g;e.width=ea;e.height=oa;b||d(e).css({position:"absolute",
+left:0,top:0});d(e).appendTo(j);e.getContext||(e=window.G_vmlCanvasManager.initElement(e));e.getContext("2d").save();return e}function D(){ea=j.width();oa=j.height();if(ea<=0||oa<=0)throw"Invalid dimensions for plot, width = "+ea+", height = "+oa;}function pa(b){if(b.width!=ea)b.width=ea;if(b.height!=oa)b.height=oa;b=b.getContext("2d");b.restore();b.save()}function T(b){function d(b){return b}var e,g,o=b.options.transform||d,j=b.options.inverseTransform;b.direction=="x"?(e=b.scale=za/Math.abs(o(b.max)-
+o(b.min)),g=Math.min(o(b.max),o(b.min))):(e=b.scale=ua/Math.abs(o(b.max)-o(b.min)),e=-e,g=Math.max(o(b.max),o(b.min)));b.p2c=o==d?function(b){return(b-g)*e}:function(b){return(o(b)-g)*e};b.c2p=j?function(b){return j(g+b/e)}:function(b){return g+b/e}}function A(b){var g=b.labelWidth,e=b.labelHeight,j=b.options.position,o=b.options.tickLength,p=q.grid.axisMargin,l=q.grid.labelMargin,r=b.direction=="x"?ja:na,s=d.grep(r,function(b){return b&&b.options.position==j&&b.reserveSpace});d.inArray(b,s)==s.length-
+1&&(p=0);if(o==null)var o=d.grep(r,function(b){return b&&b.reserveSpace}),n=d.inArray(b,o)==0,o=n?"full":5;isNaN(+o)||(l+=+o);b.direction=="x"?(e+=l,j=="bottom"?(E.bottom+=e+p,b.box={top:oa-E.bottom,height:e}):(b.box={top:E.top+p,height:e},E.top+=e+p)):(g+=l,j=="left"?(b.box={left:E.left+p,width:g},E.left+=g+p):(E.right+=g+p,b.box={left:ea-E.right,width:g}));b.position=j;b.tickLength=o;b.box.padding=l;b.innermost=n}function N(){var b=q.grid.minBorderMargin,g={x:0,y:0},e;if(b==null)for(e=b=0;e<r.length;++e)b=
+Math.max(b,2*(r[e].points.radius+r[e].points.lineWidth/2));g.x=g.y=Math.ceil(b);d.each(M(),function(b,f){var e=f.direction;f.reserveSpace&&(g[e]=Math.ceil(Math.max(g[e],(e=="x"?f.labelWidth:f.labelHeight)/2)))});E.left=Math.max(g.x,E.left);E.right=Math.max(g.x,E.right);E.top=Math.max(g.y,E.top);E.bottom=Math.max(g.y,E.bottom)}function Y(){var b,g=M();b=q.grid.show;for(var e in E)E[e]=b?q.grid.borderWidth:0;d.each(g,function(b,f){f.show=f.options.show;if(f.show==null)f.show=f.used;f.reserveSpace=f.show||
+f.options.reserveSpace;var e=f.options,d=+(e.min!=null?e.min:f.datamin),g=+(e.max!=null?e.max:f.datamax),j=g-d;if(j==0){if(j=g==0?1:0.01,e.min==null&&(d-=j),e.max==null||e.min!=null)g+=j}else{var u=e.autoscaleMargin;u!=null&&(e.min==null&&(d-=j*u,d<0&&f.datamin!=null&&f.datamin>=0&&(d=0)),e.max==null&&(g+=j*u,g>0&&f.datamax!=null&&f.datamax<=0&&(g=0)))}f.min=d;f.max=g});if(b){var p={style:j.css("font-style"),size:Math.round(0.8*(+j.css("font-size").replace("px","")||13)),variant:j.css("font-variant"),
+weight:j.css("font-weight"),family:j.css("font-family")};e=d.grep(g,function(b){return b.reserveSpace});d.each(e,function(b,f){y(f);var e=f.options.ticks,g=[];e==null||typeof e=="number"&&e>0?g=f.tickGenerator(f):e&&(g=d.isFunction(e)?e(f):e);var j;f.ticks=[];for(e=0;e<g.length;++e){var u=null,q=g[e];typeof q=="object"?(j=+q[0],q.length>1&&(u=q[1])):j=+q;u==null&&(u=f.tickFormatter(j,f));isNaN(j)||f.ticks.push({v:j,label:u})}g=f.ticks;if(f.options.autoscaleMargin&&g.length>0){if(f.options.min==null)f.min=
+Math.min(f.min,g[0].v);if(f.options.max==null&&g.length>1)f.max=Math.max(f.max,g[g.length-1].v)}f.font=d.extend({},p,f.options.font);g=f.options;e=f.ticks||[];j=g.labelWidth||0;u=g.labelHeight||0;q=f.font;s.save();s.font=q.style+" "+q.variant+" "+q.weight+" "+q.size+"px '"+q.family+"'";for(var l=0;l<e.length;++l){var r=e[l];r.lines=[];r.width=r.height=0;if(r.label){for(var n=r.label.replace(/<br ?\/?>|\r\n|\r/g,"\n").split("\n"),w=0;w<n.length;++w){var v={text:n[w]},A=s.measureText(v.text);v.width=
+A.width;v.height=A.height!=null?A.height:q.size;v.height+=Math.round(q.size*0.15);r.width=Math.max(v.width,r.width);r.height+=v.height;r.lines.push(v)}g.labelWidth==null&&(j=Math.max(j,r.width));g.labelHeight==null&&(u=Math.max(u,r.height))}}s.restore();f.labelWidth=Math.ceil(j);f.labelHeight=Math.ceil(u)});for(b=e.length-1;b>=0;--b)A(e[b]);N();d.each(e,function(b,f){f.direction=="x"?(f.box.left=E.left-f.labelWidth/2,f.box.width=ea-E.left-E.right+f.labelWidth):(f.box.top=E.top-f.labelHeight/2,f.box.height=
+oa-E.bottom-E.top+f.labelHeight)})}za=ea-E.left-E.right;ua=oa-E.bottom-E.top;d.each(g,function(b,f){T(f)});ba()}function y(b){var g=b.options,e;e=typeof g.ticks=="number"&&g.ticks>0?g.ticks:0.3*Math.sqrt(b.direction=="x"?ea:oa);e=(b.max-b.min)/e;var j,o,p,q;if(g.mode=="time"){var l={second:1E3,minute:6E4,hour:36E5,day:864E5,month:2592E6,year:525949.2*6E4};q=[[1,"second"],[2,"second"],[5,"second"],[10,"second"],[30,"second"],[1,"minute"],[2,"minute"],[5,"minute"],[10,"minute"],[30,"minute"],[1,"hour"],
+[2,"hour"],[4,"hour"],[8,"hour"],[12,"hour"],[1,"day"],[2,"day"],[3,"day"],[0.25,"month"],[0.5,"month"],[1,"month"],[2,"month"],[3,"month"],[6,"month"],[1,"year"]];j=0;g.minTickSize!=null&&(j=typeof g.tickSize=="number"?g.tickSize:g.minTickSize[0]*l[g.minTickSize[1]]);for(o=0;o<q.length-1;++o)if(e<(q[o][0]*l[q[o][1]]+q[o+1][0]*l[q[o+1][1]])/2&&q[o][0]*l[q[o][1]]>=j)break;j=q[o][0];p=q[o][1];p=="year"&&(o=Math.pow(10,Math.floor(Math.log(e/l.year)/Math.LN10)),q=e/l.year/o,j=q<1.5?1:q<3?2:q<7.5?5:10,
+j*=o);b.tickSize=g.tickSize||[j,p];o=function(b){var f=[],e=b.tickSize[0],d=b.tickSize[1],g=new Date(b.min),o=e*l[d];d=="second"&&g.setUTCSeconds(C(g.getUTCSeconds(),e));d=="minute"&&g.setUTCMinutes(C(g.getUTCMinutes(),e));d=="hour"&&g.setUTCHours(C(g.getUTCHours(),e));d=="month"&&g.setUTCMonth(C(g.getUTCMonth(),e));d=="year"&&g.setUTCFullYear(C(g.getUTCFullYear(),e));g.setUTCMilliseconds(0);o>=l.minute&&g.setUTCSeconds(0);o>=l.hour&&g.setUTCMinutes(0);o>=l.day&&g.setUTCHours(0);o>=l.day*4&&g.setUTCDate(1);
+o>=l.year&&g.setUTCMonth(0);var j=0,p=Number.NaN,u;do if(u=p,p=g.getTime(),f.push(p),d=="month")if(e<1){g.setUTCDate(1);var q=g.getTime();g.setUTCMonth(g.getUTCMonth()+1);var x=g.getTime();g.setTime(p+j*l.hour+(x-q)*e);j=g.getUTCHours();g.setUTCHours(0)}else g.setUTCMonth(g.getUTCMonth()+e);else d=="year"?g.setUTCFullYear(g.getUTCFullYear()+e):g.setTime(p+o);while(p<b.max&&p!=u);return f};j=function(b,f){var e=new Date(b);if(g.timeformat!=null)return d.plot.formatDate(e,g.timeformat,g.monthNames);
+var o=f.tickSize[0]*l[f.tickSize[1]],j=f.max-f.min,p=g.twelveHourClock?" %p":"";fmt=o<l.minute?"%h:%M:%S"+p:o<l.day?j<2*l.day?"%h:%M"+p:"%b %d %h:%M"+p:o<l.month?"%b %d":o<l.year?j<l.year?"%b":"%b %y":"%y";return d.plot.formatDate(e,fmt,g.monthNames)}}else{p=g.tickDecimals;var r=-Math.floor(Math.log(e)/Math.LN10);p!=null&&r>p&&(r=p);o=Math.pow(10,-r);q=e/o;if(q<1.5)j=1;else if(q<3){if(j=2,q>2.25&&(p==null||r+1<=p))j=2.5,++r}else j=q<7.5?5:10;j*=o;if(g.minTickSize!=null&&j<g.minTickSize)j=g.minTickSize;
+b.tickDecimals=Math.max(0,p!=null?p:r);b.tickSize=g.tickSize||j;o=function(b){var f=[],e=C(b.min,b.tickSize),d=0,g=Number.NaN,o;do o=g,g=e+d*b.tickSize,f.push(g),++d;while(g<b.max&&g!=o);return f};j=function(b,f){return b.toFixed(f.tickDecimals)}}if(g.alignTicksWithAxis!=null){var s=(b.direction=="x"?ja:na)[g.alignTicksWithAxis-1];if(s&&s.used&&s!=b){o=o(b);if(o.length>0){if(g.min==null)b.min=Math.min(b.min,o[0]);if(g.max==null&&o.length>1)b.max=Math.max(b.max,o[o.length-1])}o=function(b){var f=[],
+e,d;for(d=0;d<s.ticks.length;++d)e=(s.ticks[d].v-s.min)/(s.max-s.min),e=b.min+e*(b.max-b.min),f.push(e);return f};if(!b.mode&&g.tickDecimals==null&&(e=Math.max(0,-Math.floor(Math.log(e)/Math.LN10)+1),q=o(b),!(q.length>1&&/\..*0$/.test((q[1]-q[0]).toFixed(e)))))b.tickDecimals=e}}b.tickGenerator=o;b.tickFormatter=d.isFunction(g.tickFormatter)?function(b,f){return""+g.tickFormatter(b,f)}:j}function ra(){s.clearRect(0,0,ea,oa);var b=q.grid;if(b.show&&b.backgroundColor)s.save(),s.translate(E.left,E.top),
+s.fillStyle=X(q.grid.backgroundColor,ua,0,"rgba(255, 255, 255, 0)"),s.fillRect(0,0,za,ua),s.restore();b.show&&!b.aboveData&&(ia(),sa());for(var d=0;d<r.length;++d){v(va.drawSeries,[s,r[d]]);var e=r[d];e.lines.show&&Ba(e);e.bars.show&&la(e);e.points.show&&B(e)}v(va.draw,[s]);b.show&&b.aboveData&&(ia(),sa())}function I(b,d){var e,g,o,j,p=M();for(i=0;i<p.length;++i)if(e=p[i],e.direction==d&&(j=d+e.n+"axis",!b[j]&&e.n==1&&(j=d+"axis"),b[j])){g=b[j].from;o=b[j].to;break}b[j]||(e=d=="x"?ja[0]:na[0],g=b[d+
+"1"],o=b[d+"2"]);g!=null&&o!=null&&g>o&&(j=g,g=o,o=j);return{from:g,to:o,axis:e}}function ia(){var b;s.save();s.translate(E.left,E.top);var g=q.grid.markings;if(g){if(d.isFunction(g)){var e=V.getAxes();e.xmin=e.xaxis.min;e.xmax=e.xaxis.max;e.ymin=e.yaxis.min;e.ymax=e.yaxis.max;g=g(e)}for(b=0;b<g.length;++b){var e=g[b],j=I(e,"x"),o=I(e,"y");if(j.from==null)j.from=j.axis.min;if(j.to==null)j.to=j.axis.max;if(o.from==null)o.from=o.axis.min;if(o.to==null)o.to=o.axis.max;if(!(j.to<j.axis.min||j.from>j.axis.max||
+o.to<o.axis.min||o.from>o.axis.max))if(j.from=Math.max(j.from,j.axis.min),j.to=Math.min(j.to,j.axis.max),o.from=Math.max(o.from,o.axis.min),o.to=Math.min(o.to,o.axis.max),!(j.from==j.to&&o.from==o.to))j.from=j.axis.p2c(j.from),j.to=j.axis.p2c(j.to),o.from=o.axis.p2c(o.from),o.to=o.axis.p2c(o.to),j.from==j.to||o.from==o.to?(s.beginPath(),s.strokeStyle=e.color||q.grid.markingsColor,s.lineWidth=e.lineWidth||q.grid.markingsLineWidth,s.moveTo(j.from,o.from),s.lineTo(j.to,o.to),s.stroke()):(s.fillStyle=
+e.color||q.grid.markingsColor,s.fillRect(j.from,o.to,j.to-j.from,o.from-o.to))}}e=M();g=q.grid.borderWidth;for(j=0;j<e.length;++j){o=e[j];b=o.box;var p=o.tickLength,l,r,n,w;if(o.show&&o.ticks.length!=0){s.strokeStyle=o.options.tickColor||d.color.parse(o.options.color).scale("a",0.22).toString();s.lineWidth=1;o.direction=="x"?(l=0,r=p=="full"?o.position=="top"?0:ua:b.top-E.top+(o.position=="top"?b.height:0)):(r=0,l=p=="full"?o.position=="left"?0:za:b.left-E.left+(o.position=="left"?b.width:0));o.innermost||
+(s.beginPath(),n=w=0,o.direction=="x"?n=za:w=ua,s.lineWidth==1&&(l=Math.floor(l)+0.5,r=Math.floor(r)+0.5),s.moveTo(l,r),s.lineTo(l+n,r+w),s.stroke());s.beginPath();for(b=0;b<o.ticks.length;++b){var v=o.ticks[b].v;n=w=0;v<o.min||v>o.max||p=="full"&&g>0&&(v==o.min||v==o.max)||(o.direction=="x"?(l=o.p2c(v),w=p=="full"?-ua:p,o.position=="top"&&(w=-w)):(r=o.p2c(v),n=p=="full"?-za:p,o.position=="left"&&(n=-n)),s.lineWidth==1&&(o.direction=="x"?l=Math.floor(l)+0.5:r=Math.floor(r)+0.5),s.moveTo(l,r),s.lineTo(l+
+n,r+w))}s.stroke()}}if(g)s.lineWidth=g,s.strokeStyle=q.grid.borderColor,s.strokeRect(-g/2,-g/2,za+g,ua+g);s.restore()}function sa(){s.save();d.each(M(),function(b,g){if(g.show&&g.ticks.length!=0){var e=g.box,j=g.font;s.fillStyle=g.options.color;s.font=j.style+" "+j.variant+" "+j.weight+" "+j.size+"px "+j.family;s.textAlign="start";s.textBaseline="middle";for(j=0;j<g.ticks.length;++j){var o=g.ticks[j];if(o.label&&!(o.v<g.min||o.v>g.max))for(var p,q,l=0,r,n=0;n<o.lines.length;++n)r=o.lines[n],g.direction==
+"x"?(p=E.left+g.p2c(o.v)-r.width/2,q=g.position=="bottom"?e.top+e.padding:e.top+e.height-e.padding-o.height):(q=E.top+g.p2c(o.v)-o.height/2,p=g.position=="left"?e.left+e.width-e.padding-r.width:e.left+e.padding),q+=r.height/2+l,l+=r.height,d.browser.opera&&(p=Math.floor(p),q=Math.ceil(q-2)),s.fillText(r.text,p,q)}}});s.restore()}function Ba(f){function d(b,f,e,g,j){var o=b.points,b=b.pointsize,p=null,q=null;s.beginPath();for(var l=b;l<o.length;l+=b){var u=o[l-b],r=o[l-b+1],n=o[l],x=o[l+1];if(!(u==
+null||n==null)){if(r<=x&&r<j.min){if(x<j.min)continue;u=(j.min-r)/(x-r)*(n-u)+u;r=j.min}else if(x<=r&&x<j.min){if(r<j.min)continue;n=(j.min-r)/(x-r)*(n-u)+u;x=j.min}if(r>=x&&r>j.max){if(x>j.max)continue;u=(j.max-r)/(x-r)*(n-u)+u;r=j.max}else if(x>=r&&x>j.max){if(r>j.max)continue;n=(j.max-r)/(x-r)*(n-u)+u;x=j.max}if(u<=n&&u<g.min){if(n<g.min)continue;r=(g.min-u)/(n-u)*(x-r)+r;u=g.min}else if(n<=u&&n<g.min){if(u<g.min)continue;x=(g.min-u)/(n-u)*(x-r)+r;n=g.min}if(u>=n&&u>g.max){if(n>g.max)continue;
+r=(g.max-u)/(n-u)*(x-r)+r;u=g.max}else if(n>=u&&n>g.max){if(u>g.max)continue;x=(g.max-u)/(n-u)*(x-r)+r;n=g.max}(u!=p||r!=q)&&s.moveTo(g.p2c(u)+f,j.p2c(r)+e);p=n;q=x;s.lineTo(g.p2c(n)+f,j.p2c(x)+e)}}s.stroke()}function e(b,f,e){for(var d=b.points,b=b.pointsize,g=Math.min(Math.max(0,e.min),e.max),j=0,o=!1,p=1,q=0,u=0;;){if(b>0&&j>d.length+b)break;j+=b;var l=d[j-b],r=d[j-b+p],n=d[j],x=d[j+p];if(o){if(b>0&&l!=null&&n==null){u=j;b=-b;p=2;continue}if(b<0&&j==q+b){s.fill();o=!1;b=-b;p=1;j=q=u+b;continue}}if(!(l==
+null||n==null)){if(l<=n&&l<f.min){if(n<f.min)continue;r=(f.min-l)/(n-l)*(x-r)+r;l=f.min}else if(n<=l&&n<f.min){if(l<f.min)continue;x=(f.min-l)/(n-l)*(x-r)+r;n=f.min}if(l>=n&&l>f.max){if(n>f.max)continue;r=(f.max-l)/(n-l)*(x-r)+r;l=f.max}else if(n>=l&&n>f.max){if(l>f.max)continue;x=(f.max-l)/(n-l)*(x-r)+r;n=f.max}o||(s.beginPath(),s.moveTo(f.p2c(l),e.p2c(g)),o=!0);if(r>=e.max&&x>=e.max)s.lineTo(f.p2c(l),e.p2c(e.max)),s.lineTo(f.p2c(n),e.p2c(e.max));else if(r<=e.min&&x<=e.min)s.lineTo(f.p2c(l),e.p2c(e.min)),
+s.lineTo(f.p2c(n),e.p2c(e.min));else{var w=l,v=n;if(r<=x&&r<e.min&&x>=e.min)l=(e.min-r)/(x-r)*(n-l)+l,r=e.min;else if(x<=r&&x<e.min&&r>=e.min)n=(e.min-r)/(x-r)*(n-l)+l,x=e.min;if(r>=x&&r>e.max&&x<=e.max)l=(e.max-r)/(x-r)*(n-l)+l,r=e.max;else if(x>=r&&x>e.max&&r<=e.max)n=(e.max-r)/(x-r)*(n-l)+l,x=e.max;l!=w&&s.lineTo(f.p2c(w),e.p2c(r));s.lineTo(f.p2c(l),e.p2c(r));s.lineTo(f.p2c(n),e.p2c(x));n!=v&&(s.lineTo(f.p2c(n),e.p2c(x)),s.lineTo(f.p2c(v),e.p2c(x)))}}}}s.save();s.translate(E.left,E.top);s.lineJoin=
+"round";var g=f.lines.lineWidth,j=f.shadowSize;if(g>0&&j>0){s.lineWidth=j;s.strokeStyle="rgba(0,0,0,0.1)";var p=Math.PI/18;d(f.datapoints,Math.sin(p)*(g/2+j/2),Math.cos(p)*(g/2+j/2),f.xaxis,f.yaxis);s.lineWidth=j/2;d(f.datapoints,Math.sin(p)*(g/2+j/4),Math.cos(p)*(g/2+j/4),f.xaxis,f.yaxis)}s.lineWidth=g;s.strokeStyle=f.color;if(j=b(f.lines,f.color,0,ua))s.fillStyle=j,e(f.datapoints,f.xaxis,f.yaxis);g>0&&d(f.datapoints,0,0,f.xaxis,f.yaxis);s.restore()}function B(f){function d(b,f,e,g,j,o,p,l){for(var r=
+b.points,b=b.pointsize,q=0;q<r.length;q+=b){var u=r[q],n=r[q+1];if(!(u==null||u<o.min||u>o.max||n<p.min||n>p.max)){s.beginPath();u=o.p2c(u);n=p.p2c(n)+g;l=="circle"?s.arc(u,n,f,0,j?Math.PI:Math.PI*2,!1):l(s,u,n,f,j);s.closePath();if(e)s.fillStyle=e,s.fill();s.stroke()}}}s.save();s.translate(E.left,E.top);var e=f.points.lineWidth,g=f.shadowSize,j=f.points.radius,p=f.points.symbol;if(e>0&&g>0)g/=2,s.lineWidth=g,s.strokeStyle="rgba(0,0,0,0.1)",d(f.datapoints,j,null,g+g/2,!0,f.xaxis,f.yaxis,p),s.strokeStyle=
+"rgba(0,0,0,0.2)",d(f.datapoints,j,null,g/2,!0,f.xaxis,f.yaxis,p);s.lineWidth=e;s.strokeStyle=f.color;d(f.datapoints,j,b(f.points,f.color),0,!1,f.xaxis,f.yaxis,p);s.restore()}function U(b,d,e,g,j,p,l,r,q,n,s,w){var v,y,A,D;s?(D=y=A=!0,v=!1,s=e,e=d+g,j=d+j,b<s&&(d=b,b=s,s=d,v=!0,y=!1)):(v=y=A=!0,D=!1,s=b+g,b+=j,j=e,e=d,e<j&&(d=e,e=j,j=d,D=!0,A=!1));if(!(b<r.min||s>r.max||e<q.min||j>q.max)){if(s<r.min)s=r.min,v=!1;if(b>r.max)b=r.max,y=!1;if(j<q.min)j=q.min,D=!1;if(e>q.max)e=q.max,A=!1;s=r.p2c(s);j=
+q.p2c(j);b=r.p2c(b);e=q.p2c(e);if(l)n.beginPath(),n.moveTo(s,j),n.lineTo(s,e),n.lineTo(b,e),n.lineTo(b,j),n.fillStyle=l(j,e),n.fill();if(w>0&&(v||y||A||D))n.beginPath(),n.moveTo(s,j+p),v?n.lineTo(s,e+p):n.moveTo(s,e+p),A?n.lineTo(b,e+p):n.moveTo(b,e+p),y?n.lineTo(b,j+p):n.moveTo(b,j+p),D?n.lineTo(s,j+p):n.moveTo(s,j+p),n.stroke()}}function la(f){s.save();s.translate(E.left,E.top);s.lineWidth=f.bars.lineWidth;s.strokeStyle=f.color;var d=f.bars.align=="left"?0:-f.bars.barWidth/2;(function(b,d,g,j,p,
+r,l){for(var q=b.points,b=b.pointsize,u=0;u<q.length;u+=b)q[u]!=null&&U(q[u],q[u+1],q[u+2],d,g,j,p,r,l,s,f.bars.horizontal,f.bars.lineWidth)})(f.datapoints,d,d+f.bars.barWidth,0,f.bars.fill?function(e,d){return b(f.bars,f.color,e,d)}:null,f.xaxis,f.yaxis);s.restore()}function b(b,g,e,j){var p=b.fill;if(!p)return null;if(b.fillColor)return X(b.fillColor,e,j,g);b=d.color.parse(g);b.a=typeof p=="number"?p:0.4;b.normalize();return b.toString()}function ba(){j.find(".legend").remove();if(q.legend.show){for(var b=
+[],g=!1,e=q.legend.labelFormatter,p,o,l=0;l<r.length;++l)if(p=r[l],o=p.label)l%q.legend.noColumns==0&&(g&&b.push("</tr>"),b.push("<tr>"),g=!0),e&&(o=e(o,p)),b.push('<td class="legendColorBox"><div style="border:1px solid '+q.legend.labelBoxBorderColor+';padding:1px"><div style="width:4px;height:0;border:5px solid '+p.color+';overflow:hidden"></div></div></td><td class="legendLabel">'+o+"</td>");g&&b.push("</tr>");if(b.length!=0)if(g='<table style="font-size:smaller;color:'+q.grid.color+'">'+b.join("")+
+"</table>",q.legend.container!=null)d(q.legend.container).html(g);else if(b="",e=q.legend.position,p=q.legend.margin,p[0]==null&&(p=[p,p]),e.charAt(0)=="n"?b+="top:"+(p[1]+E.top)+"px;":e.charAt(0)=="s"&&(b+="bottom:"+(p[1]+E.bottom)+"px;"),e.charAt(1)=="e"?b+="right:"+(p[0]+E.right)+"px;":e.charAt(1)=="w"&&(b+="left:"+(p[0]+E.left)+"px;"),g=d('<div class="legend">'+g.replace('style="','style="position:absolute;'+b+";")+"</div>").appendTo(j),q.legend.backgroundOpacity!=0){e=q.legend.backgroundColor;
+if(e==null)e=(e=q.grid.backgroundColor)&&typeof e=="string"?d.color.parse(e):d.color.extract(g,"background-color"),e.a=1,e=e.toString();p=g.children();d('<div style="position:absolute;width:'+p.width()+"px;height:"+p.height()+"px;"+b+"background-color:"+e+';"> </div>').prependTo(g).css("opacity",q.legend.backgroundOpacity)}}}function Z(b){q.grid.hoverable&&ya("plothover",b,function(b){return b.hoverable!=!1})}function H(b){q.grid.hoverable&&ya("plothover",b,function(){return!1})}function fa(b){ya("plotclick",
+b,function(b){return b.clickable!=!1})}function ya(b,d,e){var p=qa.offset(),o=d.pageX-p.left-E.left,l=d.pageY-p.top-E.top,s=R({left:o,top:l});s.pageX=d.pageX;s.pageY=d.pageY;var d=q.grid.mouseActiveRadius,w=d*d+1,v=null,y,A;for(y=r.length-1;y>=0;--y)if(e(r[y])){var D=r[y],z=D.xaxis,B=D.yaxis,C=D.datapoints.points,F=D.datapoints.pointsize,N=z.c2p(o),I=B.c2p(l),H=d/z.scale,Y=d/B.scale;if(z.options.inverseTransform)H=Number.MAX_VALUE;if(B.options.inverseTransform)Y=Number.MAX_VALUE;if(D.lines.show||
+D.points.show)for(A=0;A<C.length;A+=F){var G=C[A],X=C[A+1];if(G!=null&&!(G-N>H||G-N<-H||X-I>Y||X-I<-Y))G=Math.abs(z.p2c(G)-o),X=Math.abs(B.p2c(X)-l),X=G*G+X*X,X<w&&(w=X,v=[y,A/F])}if(D.bars.show&&!v){z=D.bars.align=="left"?0:-D.bars.barWidth/2;D=z+D.bars.barWidth;for(A=0;A<C.length;A+=F)if(G=C[A],X=C[A+1],B=C[A+2],G!=null&&(r[y].bars.horizontal?N<=Math.max(B,G)&&N>=Math.min(B,G)&&I>=X+z&&I<=X+D:N>=G+z&&N<=G+D&&I>=Math.min(B,X)&&I<=Math.max(B,X)))v=[y,A/F]}}v?(y=v[0],A=v[1],F=r[y].datapoints.pointsize,
+e={datapoint:r[y].datapoints.points.slice(A*F,(A+1)*F),dataIndex:A,series:r[y],seriesIndex:y}):e=null;if(e)e.pageX=parseInt(e.series.xaxis.p2c(e.datapoint[0])+p.left+E.left),e.pageY=parseInt(e.series.yaxis.p2c(e.datapoint[1])+p.top+E.top);if(q.grid.autoHighlight){for(p=0;p<Ca.length;++p)o=Ca[p],o.auto==b&&(!e||!(o.series==e.series&&o.point[0]==e.datapoint[0]&&o.point[1]==e.datapoint[1]))&&g(o.series,o.point);e&&ta(e.series,e.datapoint,b)}j.trigger(b,[s,e])}function ga(){var b=q.interaction.redrawOverlayInterval;
+b==-1?ma():Ha||(Ha=setTimeout(ma,b))}function ma(){Ha=null;da.save();da.clearRect(0,0,ea,oa);da.translate(E.left,E.top);var b,g;for(b=0;b<Ca.length;++b)if(g=Ca[b],g.series.bars.show)p(g.series,g.point);else{var e=g.series,j=g.point;g=j[0];var j=j[1],o=e.xaxis,l=e.yaxis;if(!(g<o.min||g>o.max||j<l.min||j>l.max)){var r=e.points.radius+e.points.lineWidth/2;da.lineWidth=r;da.strokeStyle=d.color.parse(e.color).scale("a",0.5).toString();r*=1.5;g=o.p2c(g);j=l.p2c(j);da.beginPath();e.points.symbol=="circle"?
+da.arc(g,j,r,0,2*Math.PI,!1):e.points.symbol(da,g,j,r,!1);da.closePath();da.stroke()}}da.restore();v(va.drawOverlay,[da])}function ta(b,d,e){typeof b=="number"&&(b=r[b]);if(typeof d=="number")var g=b.datapoints.pointsize,d=b.datapoints.points.slice(g*d,g*(d+1));g=O(b,d);if(g==-1)Ca.push({series:b,point:d,auto:e}),ga();else if(!e)Ca[g].auto=!1}function g(b,d){b==null&&d==null&&(Ca=[],ga());typeof b=="number"&&(b=r[b]);typeof d=="number"&&(d=b.data[d]);var e=O(b,d);e!=-1&&(Ca.splice(e,1),ga())}function O(b,
+d){for(var e=0;e<Ca.length;++e){var g=Ca[e];if(g.series==b&&g.point[0]==d[0]&&g.point[1]==d[1])return e}return-1}function p(b,g){da.lineWidth=b.bars.lineWidth;da.strokeStyle=d.color.parse(b.color).scale("a",0.5).toString();var e=d.color.parse(b.color).scale("a",0.5).toString(),j=b.bars.align=="left"?0:-b.bars.barWidth/2;U(g[0],g[1],g[2]||0,j,j+b.bars.barWidth,0,function(){return e},b.xaxis,b.yaxis,da,b.bars.horizontal,b.bars.lineWidth)}function X(b,g,e,j){if(typeof b=="string")return b;else{for(var g=
+s.createLinearGradient(0,e,0,g),e=0,p=b.colors.length;e<p;++e){var l=b.colors[e];if(typeof l!="string"){var r=d.color.parse(j);l.brightness!=null&&(r=r.scale("rgb",l.brightness));l.opacity!=null&&(r.a*=l.opacity);l=r.toString()}g.addColorStop(e/(p-1),l)}return g}}var r=[],q={colors:["#edc240","#afd8f8","#cb4b4b","#4da74d","#9440ed"],legend:{show:!0,noColumns:1,labelFormatter:null,labelBoxBorderColor:"#ccc",container:null,position:"ne",margin:5,backgroundColor:null,backgroundOpacity:0.85},xaxis:{show:null,
position:"bottom",mode:null,font:null,color:null,tickColor:null,transform:null,inverseTransform:null,min:null,max:null,autoscaleMargin:null,ticks:null,tickFormatter:null,labelWidth:null,labelHeight:null,reserveSpace:null,tickLength:null,alignTicksWithAxis:null,tickDecimals:null,tickSize:null,minTickSize:null,monthNames:null,timeformat:null,twelveHourClock:!1},yaxis:{autoscaleMargin:0.02,position:"left"},xaxes:[],yaxes:[],series:{points:{show:!1,radius:3,lineWidth:2,fill:!0,fillColor:"#ffffff",symbol:"circle"},
-lines:{lineWidth:2,fill:!1,fillColor:null,steps:!1},bars:{show:!1,lineWidth:2,barWidth:1,fill:!0,fillColor:null,align:"left",horizontal:!1},shadowSize:3},grid:{show:!0,aboveData:!1,color:"#545454",backgroundColor:null,borderColor:null,tickColor:null,labelMargin:5,axisMargin:8,borderWidth:2,minBorderMargin:null,markings:null,markingsColor:"#f4f4f4",markingsLineWidth:2,clickable:!1,hoverable:!1,autoHighlight:!0,mouseActiveRadius:10},interaction:{redrawOverlayInterval:1E3/60},hooks:{}},Ba=null,ca=null,
-pa=null,u=null,da=null,ia=[],ka=[],E={left:0,right:0,top:0,bottom:0},ea=0,la=0,xa=0,sa=0,ta={processOptions:[],processRawData:[],processDatapoints:[],drawSeries:[],draw:[],bindEvents:[],drawOverlay:[],shutdown:[]},U=this;U.setData=N;U.setupGrid=X;U.draw=fa;U.getPlaceholder=function(){return h};U.getCanvas=function(){return Ba};U.getPlotOffset=function(){return E};U.width=function(){return xa};U.height=function(){return sa};U.offset=function(){var b=pa.offset();b.left+=E.left;b.top+=E.top;return b};
-U.getData=function(){return J};U.getAxes=function(){var b={};d.each(ia.concat(ka),function(e,d){d&&(b[d.direction+(d.n!=1?d.n:"")+"axis"]=d)});return b};U.getXAxes=function(){return ia};U.getYAxes=function(){return ka};U.c2p=G;U.p2c=function(b){var e={},d,h,l;for(d=0;d<ia.length;++d)if((h=ia[d])&&h.used)if(l="x"+h.n,b[l]==null&&h.n==1&&(l="x"),b[l]!=null){e.left=h.p2c(b[l]);break}for(d=0;d<ka.length;++d)if((h=ka[d])&&h.used)if(l="y"+h.n,b[l]==null&&h.n==1&&(l="y"),b[l]!=null){e.top=h.p2c(b[l]);break}return e};
-U.getOptions=function(){return n};U.highlight=wa;U.unhighlight=Ma;U.triggerRedrawOverlay=ba;U.pointOffset=function(b){return{left:parseInt(ia[K(b,"x")-1].p2c(+b.x)+E.left),top:parseInt(ka[K(b,"y")-1].p2c(+b.y)+E.top)}};U.shutdown=function(){Ea&&clearTimeout(Ea);pa.unbind("mousemove",aa);pa.unbind("mouseleave",D);pa.unbind("click",oa);z(ta.shutdown,[pa])};U.resize=function(){V();Q(Ba);Q(ca)};U.hooks=ta;(function(){for(var b=0;b<q.length;++b){var e=q[b];e.init(U);e.options&&d.extend(!0,n,e.options)}})(U);
-(function(b){d.extend(!0,n,b);if(n.xaxis.color==null)n.xaxis.color=n.grid.color;if(n.yaxis.color==null)n.yaxis.color=n.grid.color;if(n.xaxis.tickColor==null)n.xaxis.tickColor=n.grid.tickColor;if(n.yaxis.tickColor==null)n.yaxis.tickColor=n.grid.tickColor;if(n.grid.borderColor==null)n.grid.borderColor=n.grid.color;if(n.grid.tickColor==null)n.grid.tickColor=d.color.parse(n.grid.color).scale("a",0.22).toString();for(b=0;b<Math.max(1,n.xaxes.length);++b)n.xaxes[b]=d.extend(!0,{},n.xaxis,n.xaxes[b]);for(b=
-0;b<Math.max(1,n.yaxes.length);++b)n.yaxes[b]=d.extend(!0,{},n.yaxis,n.yaxes[b]);if(n.xaxis.noTicks&&n.xaxis.ticks==null)n.xaxis.ticks=n.xaxis.noTicks;if(n.yaxis.noTicks&&n.yaxis.ticks==null)n.yaxis.ticks=n.yaxis.noTicks;if(n.x2axis)n.xaxes[1]=d.extend(!0,{},n.xaxis,n.x2axis),n.xaxes[1].position="top";if(n.y2axis)n.yaxes[1]=d.extend(!0,{},n.yaxis,n.y2axis),n.yaxes[1].position="right";if(n.grid.coloredAreas)n.grid.markings=n.grid.coloredAreas;if(n.grid.coloredAreasColor)n.grid.markingsColor=n.grid.coloredAreasColor;
-n.lines&&d.extend(!0,n.series.lines,n.lines);n.points&&d.extend(!0,n.series.points,n.points);n.bars&&d.extend(!0,n.series.bars,n.bars);if(n.shadowSize!=null)n.series.shadowSize=n.shadowSize;for(b=0;b<n.xaxes.length;++b)r(ia,b+1).options=n.xaxes[b];for(b=0;b<n.yaxes.length;++b)r(ka,b+1).options=n.yaxes[b];for(var e in ta)n.hooks[e]&&n.hooks[e].length&&(ta[e]=ta[e].concat(n.hooks[e]));z(ta.processOptions,[n])})(B);(function(){var b;b=h.children("canvas.flot-base");var e=h.children("canvas.flot-overlay");
-b.length==0||e==0?(h.html(""),h.css({padding:0}),h.css("position")=="static"&&h.css("position","relative"),V(),Ba=A(!0,"flot-base"),ca=A(!1,"flot-overlay"),b=!1):(Ba=b.get(0),ca=e.get(0),b=!0);u=Ba.getContext("2d");da=ca.getContext("2d");pa=d(ca);b&&(h.data("plot").shutdown(),U.resize(),da.clearRect(0,0,ea,la),pa.unbind(),h.children().not([Ba,ca]).remove());h.data("plot",U)})();N(C);X();fa();n.grid.hoverable&&(pa.mousemove(aa),pa.mouseleave(D));n.grid.clickable&&pa.click(oa);z(ta.bindEvents,[pa]);
-var ya=[],Ea=null}function F(d,h){return h*Math.floor(d/h)}d.plot=function(p,C,F){return new h(d(p),C,F,d.plot.plugins)};d.plot.version="0.7";d.plot.plugins=[];d.plot.formatDate=function(d,h,F){var q=function(d){d=""+d;return d.length==1?"0"+d:d},z=[],N=!1,K=!1,I=d.getUTCHours(),G=I<12;F==null&&(F=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]);h.search(/%p|%P/)!=-1&&(I>12?I-=12:I==0&&(I=12));for(var r=0;r<h.length;++r){var o=h.charAt(r);if(N){switch(o){case "h":o=""+I;
-break;case "H":o=q(I);break;case "M":o=q(d.getUTCMinutes());break;case "S":o=q(d.getUTCSeconds());break;case "d":o=""+d.getUTCDate();break;case "m":o=""+(d.getUTCMonth()+1);break;case "y":o=""+d.getUTCFullYear();break;case "b":o=""+F[d.getUTCMonth()];break;case "p":o=G?"am":"pm";break;case "P":o=G?"AM":"PM";break;case "0":o="",K=!0}o&&K&&(o=q(o),K=!1);z.push(o);K||(N=!1)}else o=="%"?N=!0:z.push(o)}return z.join("")}})(jQuery);
+lines:{lineWidth:2,fill:!1,fillColor:null,steps:!1},bars:{show:!1,lineWidth:2,barWidth:1,fill:!0,fillColor:null,align:"left",horizontal:!1},shadowSize:3},grid:{show:!0,aboveData:!1,color:"#545454",backgroundColor:null,borderColor:null,tickColor:null,labelMargin:5,axisMargin:8,borderWidth:2,minBorderMargin:null,markings:null,markingsColor:"#f4f4f4",markingsLineWidth:2,clickable:!1,hoverable:!1,autoHighlight:!0,mouseActiveRadius:10},interaction:{redrawOverlayInterval:1E3/60},hooks:{}},ka=null,Ea=null,
+qa=null,s=null,da=null,ja=[],na=[],E={left:0,right:0,top:0,bottom:0},ea=0,oa=0,za=0,ua=0,va={processOptions:[],processRawData:[],processDatapoints:[],drawSeries:[],draw:[],bindEvents:[],drawOverlay:[],shutdown:[]},V=this;V.setData=z;V.setupGrid=Y;V.draw=ra;V.getPlaceholder=function(){return j};V.getCanvas=function(){return ka};V.getPlotOffset=function(){return E};V.width=function(){return za};V.height=function(){return ua};V.offset=function(){var b=qa.offset();b.left+=E.left;b.top+=E.top;return b};
+V.getData=function(){return r};V.getAxes=function(){var b={};d.each(ja.concat(na),function(d,e){e&&(b[e.direction+(e.n!=1?e.n:"")+"axis"]=e)});return b};V.getXAxes=function(){return ja};V.getYAxes=function(){return na};V.c2p=R;V.p2c=function(b){var d={},e,g,j;for(e=0;e<ja.length;++e)if((g=ja[e])&&g.used)if(j="x"+g.n,b[j]==null&&g.n==1&&(j="x"),b[j]!=null){d.left=g.p2c(b[j]);break}for(e=0;e<na.length;++e)if((g=na[e])&&g.used)if(j="y"+g.n,b[j]==null&&g.n==1&&(j="y"),b[j]!=null){d.top=g.p2c(b[j]);break}return d};
+V.getOptions=function(){return q};V.highlight=ta;V.unhighlight=g;V.triggerRedrawOverlay=ga;V.pointOffset=function(b){return{left:parseInt(ja[S(b,"x")-1].p2c(+b.x)+E.left),top:parseInt(na[S(b,"y")-1].p2c(+b.y)+E.top)}};V.shutdown=function(){Ha&&clearTimeout(Ha);qa.unbind("mousemove",Z);qa.unbind("mouseleave",H);qa.unbind("click",fa);v(va.shutdown,[qa])};V.resize=function(){D();pa(ka);pa(Ea)};V.hooks=va;(function(){for(var b=0;b<l.length;++b){var g=l[b];g.init(V);g.options&&d.extend(!0,q,g.options)}})(V);
+(function(b){d.extend(!0,q,b);if(q.xaxis.color==null)q.xaxis.color=q.grid.color;if(q.yaxis.color==null)q.yaxis.color=q.grid.color;if(q.xaxis.tickColor==null)q.xaxis.tickColor=q.grid.tickColor;if(q.yaxis.tickColor==null)q.yaxis.tickColor=q.grid.tickColor;if(q.grid.borderColor==null)q.grid.borderColor=q.grid.color;if(q.grid.tickColor==null)q.grid.tickColor=d.color.parse(q.grid.color).scale("a",0.22).toString();for(b=0;b<Math.max(1,q.xaxes.length);++b)q.xaxes[b]=d.extend(!0,{},q.xaxis,q.xaxes[b]);for(b=
+0;b<Math.max(1,q.yaxes.length);++b)q.yaxes[b]=d.extend(!0,{},q.yaxis,q.yaxes[b]);if(q.xaxis.noTicks&&q.xaxis.ticks==null)q.xaxis.ticks=q.xaxis.noTicks;if(q.yaxis.noTicks&&q.yaxis.ticks==null)q.yaxis.ticks=q.yaxis.noTicks;if(q.x2axis)q.xaxes[1]=d.extend(!0,{},q.xaxis,q.x2axis),q.xaxes[1].position="top";if(q.y2axis)q.yaxes[1]=d.extend(!0,{},q.yaxis,q.y2axis),q.yaxes[1].position="right";if(q.grid.coloredAreas)q.grid.markings=q.grid.coloredAreas;if(q.grid.coloredAreasColor)q.grid.markingsColor=q.grid.coloredAreasColor;
+q.lines&&d.extend(!0,q.series.lines,q.lines);q.points&&d.extend(!0,q.series.points,q.points);q.bars&&d.extend(!0,q.series.bars,q.bars);if(q.shadowSize!=null)q.series.shadowSize=q.shadowSize;for(b=0;b<q.xaxes.length;++b)K(ja,b+1).options=q.xaxes[b];for(b=0;b<q.yaxes.length;++b)K(na,b+1).options=q.yaxes[b];for(var g in va)q.hooks[g]&&q.hooks[g].length&&(va[g]=va[g].concat(q.hooks[g]));v(va.processOptions,[q])})(F);(function(){var b;b=j.children("canvas.flot-base");var g=j.children("canvas.flot-overlay");
+b.length==0||g==0?(j.html(""),j.css({padding:0}),j.css("position")=="static"&&j.css("position","relative"),D(),ka=w(!0,"flot-base"),Ea=w(!1,"flot-overlay"),b=!1):(ka=b.get(0),Ea=g.get(0),b=!0);s=ka.getContext("2d");da=Ea.getContext("2d");qa=d(Ea);b&&(j.data("plot").shutdown(),V.resize(),da.clearRect(0,0,ea,oa),qa.unbind(),j.children().not([ka,Ea]).remove());j.data("plot",V)})();z(G);Y();ra();q.grid.hoverable&&(qa.mousemove(Z),qa.mouseleave(H));q.grid.clickable&&qa.click(fa);v(va.bindEvents,[qa]);
+var Ca=[],Ha=null}function C(d,j){return j*Math.floor(d/j)}d.plot=function(n,C,F){return new j(d(n),C,F,d.plot.plugins)};d.plot.version="0.7";d.plot.plugins=[];d.plot.formatDate=function(d,j,C){var l=function(d){d=""+d;return d.length==1?"0"+d:d},v=[],z=!1,S=!1,M=d.getUTCHours(),R=M<12;C==null&&(C="Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","));j.search(/%p|%P/)!=-1&&(M>12?M-=12:M==0&&(M=12));for(var K=0;K<j.length;++K){var L=j.charAt(K);if(z){switch(L){case "h":L=""+M;break;case "H":L=
+l(M);break;case "M":L=l(d.getUTCMinutes());break;case "S":L=l(d.getUTCSeconds());break;case "d":L=""+d.getUTCDate();break;case "m":L=""+(d.getUTCMonth()+1);break;case "y":L=""+d.getUTCFullYear();break;case "b":L=""+C[d.getUTCMonth()];break;case "p":L=R?"am":"pm";break;case "P":L=R?"AM":"PM";break;case "0":L="",S=!0}L&&S&&(L=l(L),S=!1);v.push(L);S||(z=!1)}else L=="%"?z=!0:v.push(L)}return v.join("")}})(jQuery);
// Input 3
-(function(d){d.plot.plugins.push({init:function(d){d.hooks.processDatapoints.push(function(d,h,C){if(h.stack!=null){for(var B,d=d.getData(),q=null,z=0;z<d.length;++z){if(h==d[z])break;d[z].stack==h.stack&&(q=d[z])}if(B=q){d=C.pointsize;q=C.points;z=B.datapoints.pointsize;B=B.datapoints.points;var N=[],K,I,G,r,o,A,V=h.lines.show;r=h.bars.horizontal;var Q=d>2&&(r?C.format[2].x:C.format[2].y),h=V&&h.lines.steps;G=!0;for(var R=r?1:0,S=r?0:1,x=0,X=0,L;;){if(x>=q.length)break;L=N.length;if(q[x]==null){for(m=
-0;m<d;++m)N.push(q[x+m]);x+=d}else if(X>=B.length){if(!V)for(m=0;m<d;++m)N.push(q[x+m]);x+=d}else if(B[X]==null){for(m=0;m<d;++m)N.push(null);G=!0;X+=z}else{K=q[x+R];I=q[x+S];r=B[X+R];o=B[X+S];A=0;if(K==r){for(m=0;m<d;++m)N.push(q[x+m]);N[L+S]+=o;A=o;x+=d;X+=z}else if(K>r){if(V&&x>0&&q[x-d]!=null){G=I+(q[x-d+S]-I)*(r-K)/(q[x-d+R]-K);N.push(r);N.push(G+o);for(m=2;m<d;++m)N.push(q[x+m]);A=o}X+=z}else{if(G&&V){x+=d;continue}for(m=0;m<d;++m)N.push(q[x+m]);V&&X>0&&B[X-z]!=null&&(A=o+(B[X-z+S]-o)*(K-r)/
-(B[X-z+R]-r));N[L+S]+=A;x+=d}G=!1;L!=N.length&&Q&&(N[L+2]+=A)}if(h&&L!=N.length&&L>0&&N[L]!=null&&N[L]!=N[L-d]&&N[L+1]!=N[L-d+1]){for(m=0;m<d;++m)N[L+d+m]=N[L+m];N[L+1]=N[L-d+1]}}C.points=N}}})},options:{series:{stack:null}},name:"stack",version:"1.2"})})(jQuery);
+(function(d){d.plot.plugins.push({init:function(d){d.hooks.processDatapoints.push(function(d,j,G){if(j.stack!=null){for(var F,d=d.getData(),l=null,v=0;v<d.length;++v){if(j==d[v])break;d[v].stack==j.stack&&(l=d[v])}if(F=l){d=G.pointsize;l=G.points;v=F.datapoints.pointsize;F=F.datapoints.points;var z=[],S,M,R,K,L,w,D=j.lines.show;K=j.bars.horizontal;var pa=d>2&&(K?G.format[2].x:G.format[2].y),j=D&&j.lines.steps;R=!0;for(var T=K?1:0,A=K?0:1,N=0,Y=0,y;;){if(N>=l.length)break;y=z.length;if(l[N]==null){for(m=
+0;m<d;++m)z.push(l[N+m]);N+=d}else if(Y>=F.length){if(!D)for(m=0;m<d;++m)z.push(l[N+m]);N+=d}else if(F[Y]==null){for(m=0;m<d;++m)z.push(null);R=!0;Y+=v}else{S=l[N+T];M=l[N+A];K=F[Y+T];L=F[Y+A];w=0;if(S==K){for(m=0;m<d;++m)z.push(l[N+m]);z[y+A]+=L;w=L;N+=d;Y+=v}else if(S>K){if(D&&N>0&&l[N-d]!=null){R=M+(l[N-d+A]-M)*(K-S)/(l[N-d+T]-S);z.push(K);z.push(R+L);for(m=2;m<d;++m)z.push(l[N+m]);w=L}Y+=v}else{if(R&&D){N+=d;continue}for(m=0;m<d;++m)z.push(l[N+m]);D&&Y>0&&F[Y-v]!=null&&(w=L+(F[Y-v+A]-L)*(S-K)/
+(F[Y-v+T]-K));z[y+A]+=w;N+=d}R=!1;y!=z.length&&pa&&(z[y+2]+=w)}if(j&&y!=z.length&&y>0&&z[y]!=null&&z[y]!=z[y-d]&&z[y+1]!=z[y-d+1]){for(m=0;m<d;++m)z[y+d+m]=z[y+m];z[y+1]=z[y-d+1]}}G.points=z}}})},options:{series:{stack:null}},name:"stack",version:"1.2"})})(jQuery);
// Input 4
-(function(d){d.plot.plugins.push({init:function(h){function F(d){G.active&&(z(d),h.getPlaceholder().trigger("plotselecting",[C()]))}function p(p){if(p.which==1){document.body.focus();if(document.onselectstart!==void 0&&r.onselectstart==null)r.onselectstart=document.onselectstart,document.onselectstart=function(){return!1};if(document.ondrag!==void 0&&r.ondrag==null)r.ondrag=document.ondrag,document.ondrag=function(){return!1};q(G.first,p);G.active=!0;o=function(d){o=null;if(document.onselectstart!==
-void 0)document.onselectstart=r.onselectstart;if(document.ondrag!==void 0)document.ondrag=r.ondrag;G.active=!1;z(d);I()?B():(h.getPlaceholder().trigger("plotunselected",[]),h.getPlaceholder().trigger("plotselecting",[null]))};d(document).one("mouseup",o)}}function C(){if(!I())return null;var o={},r=G.first,p=G.second;d.each(h.getAxes(),function(d,h){if(h.used){var q=h.c2p(r[h.direction]),z=h.c2p(p[h.direction]);o[d]={from:Math.min(q,z),to:Math.max(q,z)}}});return o}function B(){var d=C();h.getPlaceholder().trigger("plotselected",
-[d]);d.xaxis&&d.yaxis&&h.getPlaceholder().trigger("selected",[{x1:d.xaxis.from,y1:d.yaxis.from,x2:d.xaxis.to,y2:d.yaxis.to}])}function q(d,o){var r=h.getOptions(),p=h.getPlaceholder().offset(),q=h.getPlotOffset(),x=o.pageX-p.left-q.left,z=h.width();d.x=x<0?0:x>z?z:x;p=o.pageY-p.top-q.top;q=h.height();d.y=p<0?0:p>q?q:p;if(r.selection.mode=="y")d.x=d==G.first?0:h.width();if(r.selection.mode=="x")d.y=d==G.first?0:h.height()}function z(d){if(d.pageX!=null)q(G.second,d),I()?(G.show=!0,h.triggerRedrawOverlay()):
-N(!0)}function N(d){if(G.show)G.show=!1,h.triggerRedrawOverlay(),d||h.getPlaceholder().trigger("plotunselected",[])}function K(d,o){var r,p,q,x,z=h.getAxes(),C;for(C in z)if(r=z[C],r.direction==o&&(x=o+r.n+"axis",!d[x]&&r.n==1&&(x=o+"axis"),d[x])){p=d[x].from;q=d[x].to;break}d[x]||(r=o=="x"?h.getXAxes()[0]:h.getYAxes()[0],p=d[o+"1"],q=d[o+"2"]);p!=null&&q!=null&&p>q&&(x=p,p=q,q=x);return{from:p,to:q,axis:r}}function I(){return Math.abs(G.second.x-G.first.x)>=5&&Math.abs(G.second.y-G.first.y)>=5}var G=
-{first:{x:-1,y:-1},second:{x:-1,y:-1},show:!1,active:!1},r={},o=null;h.clearSelection=N;h.setSelection=function(d,o){var r,p=h.getOptions();p.selection.mode=="y"?(G.first.x=0,G.second.x=h.width()):(r=K(d,"x"),G.first.x=r.axis.p2c(r.from),G.second.x=r.axis.p2c(r.to));p.selection.mode=="x"?(G.first.y=0,G.second.y=h.height()):(r=K(d,"y"),G.first.y=r.axis.p2c(r.from),G.second.y=r.axis.p2c(r.to));G.show=!0;h.triggerRedrawOverlay();!o&&I()&&B()};h.getSelection=C;h.hooks.bindEvents.push(function(d,h){d.getOptions().selection.mode!=
-null&&(h.mousemove(F),h.mousedown(p))});h.hooks.drawOverlay.push(function(h,o){if(G.show&&I()){var r=h.getPlotOffset(),p=h.getOptions();o.save();o.translate(r.left,r.top);r=d.color.parse(p.selection.color);o.strokeStyle=r.scale("a",0.8).toString();o.lineWidth=1;o.lineJoin="round";o.fillStyle=r.scale("a",0.4).toString();var r=Math.min(G.first.x,G.second.x),p=Math.min(G.first.y,G.second.y),q=Math.abs(G.second.x-G.first.x),x=Math.abs(G.second.y-G.first.y);o.fillRect(r,p,q,x);o.strokeRect(r,p,q,x);o.restore()}});
-h.hooks.shutdown.push(function(h,r){r.unbind("mousemove",F);r.unbind("mousedown",p);o&&d(document).unbind("mouseup",o)})},options:{selection:{mode:null,color:"#e8cfac"}},name:"selection",version:"1.1"})})(jQuery);
+(function(d){d.plot.plugins.push({init:function(j){var C,n,G,F,l,v;function z(d){G&&(L(d),j.getPlaceholder().trigger("plotselecting",[M()]))}function S(l){if(l.which==1){document.body.focus();if(document.onselectstart!==void 0&&C==null)C=document.onselectstart,document.onselectstart=function(){return!1};if(document.ondrag!==void 0&&n==null)n=document.ondrag,document.ondrag=function(){return!1};K(F,l);G=!0;T=function(d){T=null;if(document.onselectstart!==void 0)document.onselectstart=C;if(document.ondrag!==
+void 0)document.ondrag=n;G=!1;L(d);pa()?R():(j.getPlaceholder().trigger("plotunselected",[]),j.getPlaceholder().trigger("plotselecting",[null]))};d(document).one("mouseup",T)}}function M(){if(!pa())return null;var n={},w=F,v=l;d.each(j.getAxes(),function(d,j){if(j.used){var l=j.c2p(w[j.direction]),D=j.c2p(v[j.direction]);n[d]={from:Math.min(l,D),to:Math.max(l,D)}}});return n}function R(){var d=M();j.getPlaceholder().trigger("plotselected",[d]);d.xaxis&&d.yaxis&&j.getPlaceholder().trigger("selected",
+[{x1:d.xaxis.from,y1:d.yaxis.from,x2:d.xaxis.to,y2:d.yaxis.to}])}function K(d,l){var n=j.getOptions(),w=j.getPlaceholder().offset(),v=j.getPlotOffset(),D=l.pageX-w.left-v.left,z=j.width();d.x=D<0?0:D>z?z:D;w=l.pageY-w.top-v.top;v=j.height();d.y=w<0?0:w>v?v:w;if(n.selection.mode=="y")d.x=d==F?0:j.width();if(n.selection.mode=="x")d.y=d==F?0:j.height()}function L(d){d.pageX!=null&&(K(l,d),pa()?(v=!0,j.triggerRedrawOverlay()):w(!0))}function w(d){v&&(v=!1,j.triggerRedrawOverlay(),d||j.getPlaceholder().trigger("plotunselected",
+[]))}function D(d,l){var n,w,v,D,z=j.getAxes(),F;for(F in z)if(n=z[F],n.direction==l&&(D=l+n.n+"axis",!d[D]&&n.n==1&&(D=l+"axis"),d[D])){w=d[D].from;v=d[D].to;break}d[D]||(n=l=="x"?j.getXAxes()[0]:j.getYAxes()[0],w=d[l+"1"],v=d[l+"2"]);w!=null&&v!=null&&w>v&&(D=w,w=v,v=D);return{from:w,to:v,axis:n}}function pa(){return Math.abs(l.x-F.x)>=5&&Math.abs(l.y-F.y)>=5}F={x:-1,y:-1};l={x:-1,y:-1};v=!1;G=!1;C=void 0;n=void 0;var T=null;j.clearSelection=w;j.setSelection=function(d,n){var w,y=j.getOptions();
+y.selection.mode=="y"?(F.x=0,l.x=j.width()):(w=D(d,"x"),F.x=w.axis.p2c(w.from),l.x=w.axis.p2c(w.to));y.selection.mode=="x"?(F.y=0,l.y=j.height()):(w=D(d,"y"),F.y=w.axis.p2c(w.from),l.y=w.axis.p2c(w.to));v=!0;j.triggerRedrawOverlay();!n&&pa()&&R()};j.getSelection=M;j.hooks.bindEvents.push(function(d,j){d.getOptions().selection.mode!=null&&(j.mousemove(z),j.mousedown(S))});j.hooks.drawOverlay.push(function(j,n){if(v&&pa()){var w=j.getPlotOffset(),D=j.getOptions();n.save();n.translate(w.left,w.top);
+w=d.color.parse(D.selection.color);n.strokeStyle=w.scale("a",0.8).toString();n.lineWidth=1;n.lineJoin="round";n.fillStyle=w.scale("a",0.4).toString();var w=Math.min(F.x,l.x),D=Math.min(F.y,l.y),z=Math.abs(l.x-F.x),C=Math.abs(l.y-F.y);n.fillRect(w,D,z,C);n.strokeRect(w,D,z,C);n.restore()}});j.hooks.shutdown.push(function(j,l){l.unbind("mousemove",z);l.unbind("mousedown",S);T&&d(document).unbind("mouseup",T)})},options:{selection:{mode:null,color:"#e8cfac"}},name:"selection",version:"1.1"})})(jQuery);
// Input 5
-function InvalidRRD(d){this.message=d;this.name="Invalid RRD"}InvalidRRD.prototype.toString=function(){return this.name+': "'+this.message+'"'};function RRDDS(d,h,F){this.rrd_data=d;this.rrd_data_idx=h;this.my_idx=F}RRDDS.prototype.getIdx=function(){return this.my_idx};RRDDS.prototype.getName=function(){return this.rrd_data.getCStringAt(this.rrd_data_idx,20)};RRDDS.prototype.getType=function(){return this.rrd_data.getCStringAt(this.rrd_data_idx+20,20)};
-RRDDS.prototype.getMin=function(){return this.rrd_data.getDoubleAt(this.rrd_data_idx+48)};RRDDS.prototype.getMax=function(){return this.rrd_data.getDoubleAt(this.rrd_data_idx+56)};function RRDRRAInfo(d,h,F,p,C,B){this.rrd_data=d;this.rra_def_idx=h;this.rrd_align=F;this.row_cnt=p;this.pdp_step=C;this.my_idx=B}RRDRRAInfo.prototype.getIdx=function(){return this.my_idx};RRDRRAInfo.prototype.getNrRows=function(){return this.row_cnt};
+function InvalidRRD(d){this.message=d;this.name="Invalid RRD"}InvalidRRD.prototype.toString=function(){return this.name+': "'+this.message+'"'};function RRDDS(d,j,C){this.rrd_data=d;this.rrd_data_idx=j;this.my_idx=C}RRDDS.prototype.getIdx=function(){return this.my_idx};RRDDS.prototype.getName=function(){return this.rrd_data.getCStringAt(this.rrd_data_idx,20)};RRDDS.prototype.getType=function(){return this.rrd_data.getCStringAt(this.rrd_data_idx+20,20)};
+RRDDS.prototype.getMin=function(){return this.rrd_data.getDoubleAt(this.rrd_data_idx+48)};RRDDS.prototype.getMax=function(){return this.rrd_data.getDoubleAt(this.rrd_data_idx+56)};function RRDRRAInfo(d,j,C,n,G,F){this.rrd_data=d;this.rra_def_idx=j;this.rrd_align=C;this.row_cnt=n;this.pdp_step=G;this.my_idx=F}RRDRRAInfo.prototype.getIdx=function(){return this.my_idx};RRDRRAInfo.prototype.getNrRows=function(){return this.row_cnt};
RRDRRAInfo.prototype.getPdpPerRow=function(){return this.rrd_align==32?this.rrd_data.getLongAt(this.rra_def_idx+24,20):this.rrd_data.getLongAt(this.rra_def_idx+32,20)};RRDRRAInfo.prototype.getStep=function(){return this.pdp_step*this.getPdpPerRow()};RRDRRAInfo.prototype.getCFName=function(){return this.rrd_data.getCStringAt(this.rra_def_idx,20)};
-function RRDRRA(d,h,F,p,C,B){this.rrd_data=d;this.rra_info=F;this.row_cnt=F.row_cnt;this.ds_cnt=B;var q=B*8;this.base_rrd_db_idx=p+C*q;this.cur_row=d.getLongAt(h);this.calc_idx=function(d,h){if(d>=0&&d<this.row_cnt)if(h>=0&&h<B){var p=d+this.cur_row+1;p>=this.row_cnt&&(p-=this.row_cnt);return q*p+h*8}else throw RangeError("DS idx ("+d+") out of range [0-"+B+").");else throw RangeError("Row idx ("+d+") out of range [0-"+this.row_cnt+").");}}RRDRRA.prototype.getIdx=function(){return this.rra_info.getIdx()};
-RRDRRA.prototype.getNrRows=function(){return this.row_cnt};RRDRRA.prototype.getNrDSs=function(){return this.ds_cnt};RRDRRA.prototype.getStep=function(){return this.rra_info.getStep()};RRDRRA.prototype.getCFName=function(){return this.rra_info.getCFName()};RRDRRA.prototype.getEl=function(d,h){return this.rrd_data.getDoubleAt(this.base_rrd_db_idx+this.calc_idx(d,h))};RRDRRA.prototype.getElFast=function(d,h){return this.rrd_data.getFastDoubleAt(this.base_rrd_db_idx+this.calc_idx(d,h))};
+function RRDRRA(d,j,C,n,G,F){this.rrd_data=d;this.rra_info=C;this.row_cnt=C.row_cnt;this.ds_cnt=F;var l=F*8;this.base_rrd_db_idx=n+G*l;this.cur_row=d.getLongAt(j);this.calc_idx=function(d,j){if(d>=0&&d<this.row_cnt)if(j>=0&&j<F){var n=d+this.cur_row+1;n>=this.row_cnt&&(n-=this.row_cnt);return l*n+j*8}else throw RangeError("DS idx ("+d+") out of range [0-"+F+").");else throw RangeError("Row idx ("+d+") out of range [0-"+this.row_cnt+").");}}RRDRRA.prototype.getIdx=function(){return this.rra_info.getIdx()};
+RRDRRA.prototype.getNrRows=function(){return this.row_cnt};RRDRRA.prototype.getNrDSs=function(){return this.ds_cnt};RRDRRA.prototype.getStep=function(){return this.rra_info.getStep()};RRDRRA.prototype.getCFName=function(){return this.rra_info.getCFName()};RRDRRA.prototype.getEl=function(d,j){return this.rrd_data.getDoubleAt(this.base_rrd_db_idx+this.calc_idx(d,j))};RRDRRA.prototype.getElFast=function(d,j){return this.rrd_data.getFastDoubleAt(this.base_rrd_db_idx+this.calc_idx(d,j))};
function RRDHeader(d){this.rrd_data=d;this.validate_rrd();this.load_header();this.calc_idxs()}
RRDHeader.prototype.validate_rrd=function(){if(this.rrd_data.getCStringAt(0,4)!=="RRD")throw new InvalidRRD("Wrong magic id.");this.rrd_version=this.rrd_data.getCStringAt(4,5);if(this.rrd_version!=="0003"&&this.rrd_version!=="0004")throw new InvalidRRD("Unsupported RRD version "+this.rrd_version+".");if(this.rrd_data.getDoubleAt(12)==8.642135E130)this.rrd_align=32;else if(this.rrd_data.getDoubleAt(16)==8.642135E130)this.rrd_align=64;else throw new InvalidRRD("Unsupported platform.");};
RRDHeader.prototype.load_header=function(){this.rrd_align==32?(this.ds_cnt=this.rrd_data.getLongAt(20,!1),this.rra_cnt=this.rrd_data.getLongAt(24,!1),this.pdp_step=this.rrd_data.getLongAt(28,!1),this.top_header_size=112):(this.ds_cnt=this.rrd_data.getLongAt(24,!1),this.rra_cnt=this.rrd_data.getLongAt(32,!1),this.pdp_step=this.rrd_data.getLongAt(40,!1),this.top_header_size=128)};
RRDHeader.prototype.calc_idxs=function(){this.ds_def_idx=this.top_header_size;this.ds_el_size=120;this.rra_def_idx=this.ds_def_idx+this.ds_el_size*this.ds_cnt;this.rrd_align==32?(this.rra_def_el_size=108,this.row_cnt_idx=20):(this.rra_def_el_size=120,this.row_cnt_idx=24);this.live_head_idx=this.rra_def_idx+this.rra_def_el_size*this.rra_cnt;this.live_head_size=this.rrd_align==32?8:16;this.pdp_prep_idx=this.live_head_idx+this.live_head_size;this.pdp_prep_el_size=112;this.cdp_prep_idx=this.pdp_prep_idx+
this.pdp_prep_el_size*this.ds_cnt;this.cdp_prep_el_size=80;this.rra_ptr_idx=this.cdp_prep_idx+this.cdp_prep_el_size*this.ds_cnt*this.rra_cnt;this.rra_ptr_el_size=this.rrd_align==32?4:8;this.header_size=this.rra_ptr_idx+this.rra_ptr_el_size*this.rra_cnt};
RRDHeader.prototype.load_row_cnts=function(){this.rra_def_row_cnts=[];this.rra_def_row_cnt_sums=[];for(var d=0;d<this.rra_cnt;d++)this.rra_def_row_cnts[d]=this.rrd_data.getLongAt(this.rra_def_idx+d*this.rra_def_el_size+this.row_cnt_idx,!1),this.rra_def_row_cnt_sums[d]=d==0?0:this.rra_def_row_cnt_sums[d-1]+this.rra_def_row_cnts[d-1]};RRDHeader.prototype.getMinStep=function(){return this.pdp_step};RRDHeader.prototype.getLastUpdate=function(){return this.rrd_data.getLongAt(this.live_head_idx,!1)};
-RRDHeader.prototype.getNrDSs=function(){return this.ds_cnt};RRDHeader.prototype.getDSNames=function(){for(var d=[],h=0;h<this.ds_cnt;h++){var F=this.getDSbyIdx(h).getName();d.push(F)}return d};RRDHeader.prototype.getDSbyIdx=function(d){if(d>=0&&d<this.ds_cnt)return new RRDDS(this.rrd_data,this.ds_def_idx+this.ds_el_size*d,d);else throw RangeError("DS idx ("+d+") out of range [0-"+this.ds_cnt+").");};
-RRDHeader.prototype.getDSbyName=function(d){for(var h=0;h<this.ds_cnt;h++){var F=this.getDSbyIdx(h);if(F.getName()==d)return F}throw RangeError("DS name "+d+" unknown.");};RRDHeader.prototype.getNrRRAs=function(){return this.rra_cnt};
+RRDHeader.prototype.getNrDSs=function(){return this.ds_cnt};RRDHeader.prototype.getDSNames=function(){for(var d=[],j=0;j<this.ds_cnt;j++){var C=this.getDSbyIdx(j).getName();d.push(C)}return d};RRDHeader.prototype.getDSbyIdx=function(d){if(d>=0&&d<this.ds_cnt)return new RRDDS(this.rrd_data,this.ds_def_idx+this.ds_el_size*d,d);else throw RangeError("DS idx ("+d+") out of range [0-"+this.ds_cnt+").");};
+RRDHeader.prototype.getDSbyName=function(d){for(var j=0;j<this.ds_cnt;j++){var C=this.getDSbyIdx(j);if(C.getName()==d)return C}throw RangeError("DS name "+d+" unknown.");};RRDHeader.prototype.getNrRRAs=function(){return this.rra_cnt};
RRDHeader.prototype.getRRAInfo=function(d){if(d>=0&&d<this.rra_cnt)return new RRDRRAInfo(this.rrd_data,this.rra_def_idx+d*this.rra_def_el_size,this.rrd_align,this.rra_def_row_cnts[d],this.pdp_step,d);else throw RangeError("RRA idx ("+d+") out of range [0-"+this.rra_cnt+").");};
function RRDFile(d){this.rrd_header=new RRDHeader(d);this.rrd_header.load_row_cnts();this.getMinStep=function(){return this.rrd_header.getMinStep()};this.getLastUpdate=function(){return this.rrd_header.getLastUpdate()};this.getNrDSs=function(){return this.rrd_header.getNrDSs()};this.getDSNames=function(){return this.rrd_header.getDSNames()};this.getDS=function(d){return typeof d=="number"?this.rrd_header.getDSbyIdx(d):this.rrd_header.getDSbyName(d)};this.getNrRRAs=function(){return this.rrd_header.getNrRRAs()};
-this.getRRAInfo=function(d){return this.rrd_header.getRRAInfo(d)};this.getRRA=function(h){rra_info=this.rrd_header.getRRAInfo(h);return new RRDRRA(d,this.rrd_header.rra_ptr_idx+h*this.rrd_header.rra_ptr_el_size,rra_info,this.rrd_header.header_size,this.rrd_header.rra_def_row_cnt_sums[h],this.rrd_header.ds_cnt)}};
+this.getRRAInfo=function(d){return this.rrd_header.getRRAInfo(d)};this.getRRA=function(j){rra_info=this.rrd_header.getRRAInfo(j);return new RRDRRA(d,this.rrd_header.rra_ptr_idx+j*this.rrd_header.rra_ptr_el_size,rra_info,this.rrd_header.header_size,this.rrd_header.rra_def_row_cnt_sums[j],this.rrd_header.ds_cnt)}};
// Input 6
/*
@@ -332,22 +332,23 @@ this.getRRAInfo=function(d){return this.rrd_header.getRRAInfo(d)};this.getRRA=fu
Since: Mar 2010
Date: @DATE
*/
-(function(d){function h(d,h){d=""+d;for(h=h||2;d.length<h;)d="0"+d;return d}function F(d,o,p){var q=d.getDate(),z=d.getDay(),C=d.getMonth(),d=d.getFullYear(),B={d:q,dd:h(q),ddd:K[p].shortDays[z],dddd:K[p].days[z],m:C+1,mm:h(C+1),mmm:K[p].shortMonths[C],mmmm:K[p].months[C],yy:String(d).slice(2),yyyy:d},o=o.replace(I,function(d){return d in B?B[d]:d.slice(1,d.length-1)});return G.html(o).html()}function p(d,h){return d.getFullYear()===h.getFullYear()&&d.getMonth()==h.getMonth()&&d.getDate()==h.getDate()}
-function C(d){if(d!==void 0){if(d.constructor==Date)return d;if(typeof d=="string"){var h=d.split("-");if(h.length==3)return new Date(parseInt(h[0],10),parseInt(h[1],10)-1,parseInt(h[2],10));if(!/^-?\d+$/.test(d))return;d=parseInt(d,10)}h=new Date;h.setDate(h.getDate()+d);return h}}function B(h,o){function A(b,e,o){Y=b;va=b.getFullYear();y=b.getMonth();T=b.getDate();o=o||d.Event("api");o.type="change";oa.trigger(o,[b]);o.isDefaultPrevented()||(h.val(F(b,e.format,e.lang)),h.data("date",b),B.hide(o))}
-function z(b){b.type="onShow";oa.trigger(b);d(document).bind("keydown.d",function(b){if(b.ctrlKey)return!0;var o=b.keyCode;if(o==8)return h.val(""),B.hide(b);if(o==27||o==9)return B.hide(b);if(d(N).index(o)>=0){if(!aa)return B.show(b),b.preventDefault();var p=d("#"+x.weeks+" a"),q=d("."+x.focus),n=p.index(q);q.removeClass(x.focus);if(o==74||o==40)n+=7;else if(o==75||o==38)n-=7;else if(o==76||o==39)n+=1;else if(o==72||o==37)n-=1;n>41?(B.addMonth(),q=d("#"+x.weeks+" a:eq("+(n-42)+")")):n<0?(B.addMonth(-1),
-q=d("#"+x.weeks+" a:eq("+(n+42)+")")):q=p.eq(n);q.addClass(x.focus);return b.preventDefault()}if(o==34)return B.addMonth();if(o==33)return B.addMonth(-1);if(o==36)return B.today();o==13&&(d(b.target).is("select")||d("."+x.focus).click());return d([16,17,18,9]).index(o)>=0});d(document).bind("click.d",function(b){var o=b.target;!d(o).parents("#"+x.root).length&&o!=h[0]&&(!O||o!=O[0])&&B.hide(b)})}var B=this,G=new Date,I=G.getFullYear(),x=o.css,X=K[o.lang],L=d("#"+x.root),fa=L.find("#"+x.title),O,ga,
-qa,va,y,T,Y=h.attr("data-value")||o.value||h.val(),b=h.attr("min")||o.min,$=h.attr("max")||o.max,aa,D;b===0&&(b="0");Y=C(Y)||G;b=C(b||new Date(I+o.yearRange[0],1,1));$=C($||new Date(I+o.yearRange[1]+1,1,-1));if(!X)throw"Dateinput: invalid language: "+o.lang;h.attr("type")=="date"&&(D=h.clone(),I=D.wrap("<div/>").parent().html(),I=d(I.replace(/type/i,"type=text data-orig-type")),I.val(o.value),h.replaceWith(I),h=I);h.addClass(x.input);var oa=h.add(B);if(!L.length){L=d("<div><div><a/><div/><a/></div><div><div/><div/></div></div>").hide().css({position:"absolute"}).attr("id",
-x.root);L.children().eq(0).attr("id",x.head).end().eq(1).attr("id",x.body).children().eq(0).attr("id",x.days).end().eq(1).attr("id",x.weeks).end().end().end().find("a").eq(0).attr("id",x.prev).end().eq(1).attr("id",x.next);fa=L.find("#"+x.head).find("div").attr("id",x.title);if(o.selectors){var ja=d("<select/>").attr("id",x.month),ba=d("<select/>").attr("id",x.year);fa.html(ja.add(ba))}for(var I=L.find("#"+x.days),ra=0;ra<7;ra++)I.append(d("<span/>").text(X.shortDays[(ra+o.firstDay)%7]));d("body").append(L)}o.trigger&&
-(O=d("<a/>").attr("href","#").addClass(x.trigger).click(function(b){B.show();return b.preventDefault()}).insertAfter(h));var wa=L.find("#"+x.weeks),ba=L.find("#"+x.year),ja=L.find("#"+x.month);d.extend(B,{show:function(b){if(!h.attr("readonly")&&!h.attr("disabled")&&!aa&&(b=b||d.Event(),b.type="onBeforeShow",oa.trigger(b),!b.isDefaultPrevented())){d.each(q,function(){this.hide()});aa=!0;ja.unbind("change").change(function(){B.setValue(ba.val(),d(this).val())});ba.unbind("change").change(function(){B.setValue(d(this).val(),
-ja.val())});ga=L.find("#"+x.prev).unbind("click").click(function(){ga.hasClass(x.disabled)||B.addMonth(-1);return!1});qa=L.find("#"+x.next).unbind("click").click(function(){qa.hasClass(x.disabled)||B.addMonth();return!1});B.setValue(Y);var e=h.offset();/iPad/i.test(navigator.userAgent)&&(e.top-=d(window).scrollTop());L.css({top:e.top+h.outerHeight({margins:!0})+o.offset[0],left:e.left+o.offset[1]});o.speed?L.show(o.speed,function(){z(b)}):(L.show(),z(b));return B}},setValue:function(h,e,q){var r=
-parseInt(e,10)>=-1?new Date(parseInt(h,10),parseInt(e,10),parseInt(q||1,10)):h||Y;r<b?r=b:r>$&&(r=$);typeof h=="string"&&(r=C(h));h=r.getFullYear();e=r.getMonth();q=r.getDate();e==-1?(e=11,h--):e==12&&(e=0,h++);if(!aa)return A(r,o),B;y=e;va=h;var q=(new Date(h,e,1-o.firstDay)).getDay(),z=32-(new Date(h,e,32)).getDate(),n=32-(new Date(h,e-1,32)).getDate(),F;if(o.selectors){ja.empty();d.each(X.months,function(e,n){b<new Date(h,e+1,-1)&&$>new Date(h,e,0)&&ja.append(d("<option/>").html(n).attr("value",
-e))});ba.empty();for(var r=G.getFullYear(),D=r+o.yearRange[0];D<r+o.yearRange[1];D++)b<=new Date(D+1,-1,1)&&$>new Date(D,0,0)&&ba.append(d("<option/>").text(D));ja.val(e);ba.val(h)}else fa.html(X.months[e]+" "+h);wa.empty();ga.add(qa).removeClass(x.disabled);for(var D=!q?-7:0,I,u;D<(!q?35:42);D++)I=d("<a/>"),D%7===0&&(F=d("<div/>").addClass(x.week),wa.append(F)),D<q?(I.addClass(x.off),u=n-q+D+1,r=new Date(h,e-1,u)):D>=q+z?(I.addClass(x.off),u=D-z-q+1,r=new Date(h,e+1,u)):(u=D-q+1,r=new Date(h,e,u),
-p(Y,r)?I.attr("id",x.current).addClass(x.focus):p(G,r)&&I.attr("id",x.today)),b&&r<b&&I.add(ga).addClass(x.disabled),$&&r>$&&I.add(qa).addClass(x.disabled),I.attr("href","#"+u).text(u).data("date",r),F.append(I);wa.find("a").click(function(b){var e=d(this);e.hasClass(x.disabled)||(d("#"+x.current).removeAttr("id"),e.attr("id",x.current),A(e.data("date"),o,b));return!1});x.sunday&&wa.find(x.week).each(function(){var b=o.firstDay?7-o.firstDay:0;d(this).children().slice(b,b+1).addClass(x.sunday)});return B},
-setMin:function(d,e){b=C(d);e&&Y<b&&B.setValue(b);return B},setMax:function(b,d){$=C(b);d&&Y>$&&B.setValue($);return B},today:function(){return B.setValue(G)},addDay:function(b){return this.setValue(va,y,T+(b||1))},addMonth:function(b){return this.setValue(va,y+(b||1),T)},addYear:function(b){return this.setValue(va+(b||1),y,T)},destroy:function(){h.add(document).unbind("click.d").unbind("keydown.d");L.add(O).remove();h.removeData("dateinput").removeClass(x.input);D&&h.replaceWith(D)},hide:function(b){if(aa){b=
-d.Event();b.type="onHide";oa.trigger(b);d(document).unbind("click.d").unbind("keydown.d");if(b.isDefaultPrevented())return;L.hide();aa=!1}return B},getConf:function(){return o},getInput:function(){return h},getCalendar:function(){return L},getValue:function(b){return b?F(Y,b,o.lang):Y},isOpen:function(){return aa}});d.each(["onBeforeShow","onShow","change","onHide"],function(b,e){d.isFunction(o[e])&&d(B).bind(e,o[e]);B[e]=function(b){b&&d(B).bind(e,b);return B}});o.editable||h.bind("focus.d click.d",
-B.show).keydown(function(b){var e=b.keyCode;if(!aa&&d(N).index(e)>=0)return B.show(b),b.preventDefault();return b.shiftKey||b.ctrlKey||b.altKey||e==9?!0:b.preventDefault()});C(h.val())&&A(Y,o)}d.tools=d.tools||{version:"@VERSION"};var q=[],z,N=[75,76,38,39,74,72,40,37],K={};z=d.tools.dateinput={conf:{format:"mm/dd/yy",selectors:!1,yearRange:[-5,5],lang:"en",offset:[0,0],speed:0,firstDay:0,min:void 0,max:void 0,trigger:0,editable:0,css:{prefix:"cal",input:"date",root:0,head:0,title:0,prev:0,next:0,
-month:0,year:0,days:0,body:0,weeks:0,today:0,current:0,week:0,off:0,sunday:0,focus:0,disabled:0,trigger:0}},localize:function(h,o){d.each(o,function(d,h){o[d]=h.split(",")});K[h]=o}};z.localize("en",{months:"January,February,March,April,May,June,July,August,September,October,November,December",shortMonths:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec",days:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday",shortDays:"Sun,Mon,Tue,Wed,Thu,Fri,Sat"});var I=/d{1,4}|m{1,4}|yy(?:yy)?|"[^"]*"|'[^']*'/g,
-G=d("<a/>");d.expr[":"].date=function(h){var o=h.getAttribute("type");return o&&o=="date"||!!d(h).data("dateinput")};d.fn.dateinput=function(h){if(this.data("dateinput"))return this;h=d.extend(!0,{},z.conf,h);d.each(h.css,function(d,o){!o&&d!="prefix"&&(h.css[d]=(h.css.prefix||"")+(o||d))});var o;this.each(function(){var p=new B(d(this),h);q.push(p);p=p.getInput().data("dateinput",p);o=o?o.add(p):p});return o?o:this}})(jQuery);
+(function(d,j){function C(d,j){d=""+d;for(j=j||2;d.length<j;)d="0"+d;return d}function n(d,j,l){var n=d.getDate(),v=d.getDay(),z=d.getMonth(),d=d.getFullYear(),F={d:n,dd:C(n),ddd:R[l].shortDays[v],dddd:R[l].days[v],m:z+1,mm:C(z+1),mmm:R[l].shortMonths[z],mmmm:R[l].months[z],yy:String(d).slice(2),yyyy:d},j=j.replace(K,function(d){return d in F?F[d]:d.slice(1,d.length-1)});return L.html(j).html()}function G(d){return parseInt(d,10)}function F(d,j){return d.getFullYear()===j.getFullYear()&&d.getMonth()==
+j.getMonth()&&d.getDate()==j.getDate()}function l(d){if(d!==j){if(d.constructor==Date)return d;if(typeof d=="string"){var l=d.split("-");if(l.length==3)return new Date(G(l[0]),G(l[1])-1,G(l[2]));if(!/^-?\d+$/.test(d))return;d=G(d)}l=new Date;l.setDate(l.getDate()+d);return l}}function v(w,v){function C(g,j,l){ba=g;U=g.getFullYear();la=g.getMonth();b=g.getDate();l=l||d.Event("api");l.type="beforeChange";ga.trigger(l,[g]);if(!l.isDefaultPrevented())w.val(n(g,j.format,j.lang)),l.type="change",ga.trigger(l),
+w.data("date",g),A.hide(l)}function L(b){b.type="onShow";ga.trigger(b);d(document).bind("keydown.d",function(b){if(b.ctrlKey)return!0;var g=b.keyCode;if(g==8)return w.val(""),A.hide(b);if(g==27||g==9)return A.hide(b);if(d(M).index(g)>=0){if(!fa)return A.show(b),b.preventDefault();var j=d("#"+y.weeks+" a"),l=d("."+y.focus),p=j.index(l);l.removeClass(y.focus);if(g==74||g==40)p+=7;else if(g==75||g==38)p-=7;else if(g==76||g==39)p+=1;else if(g==72||g==37)p-=1;p>41?(A.addMonth(),l=d("#"+y.weeks+" a:eq("+
+(p-42)+")")):p<0?(A.addMonth(-1),l=d("#"+y.weeks+" a:eq("+(p+42)+")")):l=j.eq(p);l.addClass(y.focus);return b.preventDefault()}if(g==34)return A.addMonth();if(g==33)return A.addMonth(-1);if(g==36)return A.today();g==13&&(d(b.target).is("select")||d("."+y.focus).click());return d([16,17,18,9]).index(g)>=0});d(document).bind("click.d",function(b){var g=b.target;!d(g).parents("#"+y.root).length&&g!=w[0]&&(!sa||g!=sa[0])&&A.hide(b)})}var A=this,N=new Date,K=N.getFullYear(),y=v.css,S=R[v.lang],I=d("#"+
+y.root),ia=I.find("#"+y.title),sa,Ba,B,U,la,b,ba=w.attr("data-value")||v.value||w.val(),Z=w.attr("min")||v.min,H=w.attr("max")||v.max,fa,ya;Z===0&&(Z="0");ba=l(ba)||N;Z=l(Z||new Date(K+v.yearRange[0],1,1));H=l(H||new Date(K+v.yearRange[1]+1,1,-1));if(!S)throw"Dateinput: invalid language: "+v.lang;w.attr("type")=="date"&&(ya=w.clone(),K=ya.wrap("<div/>").parent().html(),K=d(K.replace(/type/i,"type=text data-orig-type")),v.value&&K.val(v.value),w.replaceWith(K),w=K);w.addClass(y.input);var ga=w.add(A);
+if(!I.length){I=d("<div><div><a/><div/><a/></div><div><div/><div/></div></div>").hide().css({position:"absolute"}).attr("id",y.root);I.children().eq(0).attr("id",y.head).end().eq(1).attr("id",y.body).children().eq(0).attr("id",y.days).end().eq(1).attr("id",y.weeks).end().end().end().find("a").eq(0).attr("id",y.prev).end().eq(1).attr("id",y.next);ia=I.find("#"+y.head).find("div").attr("id",y.title);if(v.selectors){var ma=d("<select/>").attr("id",y.month),ta=d("<select/>").attr("id",y.year);ia.html(ma.add(ta))}for(var K=
+I.find("#"+y.days),g=0;g<7;g++)K.append(d("<span/>").text(S.shortDays[(g+v.firstDay)%7]));d("body").append(I)}v.trigger&&(sa=d("<a/>").attr("href","#").addClass(y.trigger).click(function(b){v.toggle?A.toggle():A.show();return b.preventDefault()}).insertAfter(w));var O=I.find("#"+y.weeks),ta=I.find("#"+y.year),ma=I.find("#"+y.month);d.extend(A,{show:function(b){if(!w.attr("readonly")&&!w.attr("disabled")&&!fa&&(b=b||d.Event(),b.type="onBeforeShow",ga.trigger(b),!b.isDefaultPrevented())){d.each(z,function(){this.hide()});
+fa=!0;ma.unbind("change").change(function(){A.setValue(ta.val(),d(this).val())});ta.unbind("change").change(function(){A.setValue(d(this).val(),ma.val())});Ba=I.find("#"+y.prev).unbind("click").click(function(){Ba.hasClass(y.disabled)||A.addMonth(-1);return!1});B=I.find("#"+y.next).unbind("click").click(function(){B.hasClass(y.disabled)||A.addMonth();return!1});A.setValue(ba);var g=w.offset();/iPad/i.test(navigator.userAgent)&&(g.top-=d(window).scrollTop());I.css({top:g.top+w.outerHeight({margins:!0})+
+v.offset[0],left:g.left+v.offset[1]});v.speed?I.show(v.speed,function(){L(b)}):(I.show(),L(b));return A}},setValue:function(g,n,r){var q=G(n)>=-1?new Date(G(g),G(n),G(r==j||isNaN(r)?1:r)):g||ba;q<Z?q=Z:q>H&&(q=H);typeof g=="string"&&(q=l(g));g=q.getFullYear();n=q.getMonth();r=q.getDate();n==-1?(n=11,g--):n==12&&(n=0,g++);if(!fa)return C(q,v),A;la=n;U=g;b=r;var r=(new Date(g,n,1-v.firstDay)).getDay(),w=(new Date(g,n+1,0)).getDate(),z=(new Date(g,n-1+1,0)).getDate(),L;if(v.selectors){ma.empty();d.each(S.months,
+function(b,j){Z<new Date(g,b+1,1)&&H>new Date(g,b,0)&&ma.append(d("<option/>").html(j).attr("value",b))});ta.empty();for(var q=N.getFullYear(),s=q+v.yearRange[0];s<q+v.yearRange[1];s++)Z<new Date(s+1,0,1)&&H>new Date(s,0,0)&&ta.append(d("<option/>").text(s));ma.val(n);ta.val(g)}else ia.html(S.months[n]+" "+g);O.empty();Ba.add(B).removeClass(y.disabled);for(var s=!r?-7:0,I,K;s<(!r?35:42);s++)I=d("<a/>"),s%7===0&&(L=d("<div/>").addClass(y.week),O.append(L)),s<r?(I.addClass(y.off),K=z-r+s+1,q=new Date(g,
+n-1,K)):s>=r+w?(I.addClass(y.off),K=s-w-r+1,q=new Date(g,n+1,K)):(K=s-r+1,q=new Date(g,n,K),F(ba,q)?I.attr("id",y.current).addClass(y.focus):F(N,q)&&I.attr("id",y.today)),Z&&q<Z&&I.add(Ba).addClass(y.disabled),H&&q>H&&I.add(B).addClass(y.disabled),I.attr("href","#"+K).text(K).data("date",q),L.append(I);O.find("a").click(function(b){var g=d(this);g.hasClass(y.disabled)||(d("#"+y.current).removeAttr("id"),g.attr("id",y.current),C(g.data("date"),v,b));return!1});y.sunday&&O.find(y.week).each(function(){var b=
+v.firstDay?7-v.firstDay:0;d(this).children().slice(b,b+1).addClass(y.sunday)});return A},setMin:function(b,d){Z=l(b);d&&ba<Z&&A.setValue(Z);return A},setMax:function(b,d){H=l(b);d&&ba>H&&A.setValue(H);return A},today:function(){return A.setValue(N)},addDay:function(d){return this.setValue(U,la,b+(d||1))},addMonth:function(d){var d=la+(d||1),g=(new Date(U,d+1,0)).getDate();return this.setValue(U,d,b<=g?b:g)},addYear:function(d){return this.setValue(U+(d||1),la,b)},destroy:function(){w.add(document).unbind("click.d").unbind("keydown.d");
+I.add(sa).remove();w.removeData("dateinput").removeClass(y.input);ya&&w.replaceWith(ya)},hide:function(b){if(fa){b=d.Event();b.type="onHide";ga.trigger(b);d(document).unbind("click.d").unbind("keydown.d");if(b.isDefaultPrevented())return;I.hide();fa=!1}return A},toggle:function(){return A.isOpen()?A.hide():A.show()},getConf:function(){return v},getInput:function(){return w},getCalendar:function(){return I},getValue:function(b){return b?n(ba,b,v.lang):ba},isOpen:function(){return fa}});d.each(["onBeforeShow",
+"onShow","change","onHide"],function(b,g){d.isFunction(v[g])&&d(A).bind(g,v[g]);A[g]=function(b){b&&d(A).bind(g,b);return A}});v.editable||w.bind("focus.d click.d",A.show).keydown(function(b){var g=b.keyCode;return!fa&&d(M).index(g)>=0?(A.show(b),b.preventDefault()):b.shiftKey||b.ctrlKey||b.altKey||g==9?!0:b.preventDefault()});l(w.val())&&C(ba,v)}d.tools=d.tools||{version:"@VERSION"};var z=[],S,M=[75,76,38,39,74,72,40,37],R={};S=d.tools.dateinput={conf:{format:"mm/dd/yy",selectors:!1,yearRange:[-5,
+5],lang:"en",offset:[0,0],speed:0,firstDay:0,min:j,max:j,trigger:0,toggle:0,editable:0,css:{prefix:"cal",input:"date",root:0,head:0,title:0,prev:0,next:0,month:0,year:0,days:0,body:0,weeks:0,today:0,current:0,week:0,off:0,sunday:0,focus:0,disabled:0,trigger:0}},localize:function(j,l){d.each(l,function(d,j){l[d]=j.split(",")});R[j]=l}};S.localize("en",{months:"January,February,March,April,May,June,July,August,September,October,November,December",shortMonths:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec",
+days:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday",shortDays:"Sun,Mon,Tue,Wed,Thu,Fri,Sat"});var K=/d{1,4}|m{1,4}|yy(?:yy)?|"[^"]*"|'[^']*'/g,L=d("<a/>");d.expr[":"].date=function(j){var l=j.getAttribute("type");return l&&l=="date"||!!d(j).data("dateinput")};d.fn.dateinput=function(j){if(this.data("dateinput"))return this;j=d.extend(!0,{},S.conf,j);d.each(j.css,function(d,l){!l&&d!="prefix"&&(j.css[d]=(j.css.prefix||"")+(l||d))});var l;this.each(function(){var n=new v(d(this),j);z.push(n);
+n=n.getInput().data("dateinput",n);l=l?l.add(n):n});return l?l:this}})(jQuery);
// Input 7
/*
@@ -360,9 +361,23 @@ G=d("<a/>");d.expr[":"].date=function(h){var o=h.getAttribute("type");return o&&
Since: November 2008
Date: @DATE
*/
-(function(d){function h(h,p,q){var z=this,N=h.add(this),K=h.find(q.tabs),I=p.jquery?p:h.children(p),G;K.length||(K=h.children());I.length||(I=h.parent().find(p));I.length||(I=d(p));d.extend(this,{click:function(h,o){var p=K.eq(h);typeof h=="string"&&h.replace("#","")&&(p=K.filter("[href*="+h.replace("#","")+"]"),h=Math.max(K.index(p),0));if(q.rotate){var B=K.length-1;if(h<0)return z.click(B,o);if(h>B)return z.click(0,o)}if(!p.length){if(G>=0)return z;h=q.initialIndex;p=K.eq(h)}if(h===G)return z;o=
-o||d.Event();o.type="onBeforeClick";N.trigger(o,[h]);if(!o.isDefaultPrevented())return G=h,F[q.effect].call(z,h,function(){o.type="onClick";N.trigger(o,[h])}),K.removeClass(q.current),p.addClass(q.current),z},getConf:function(){return q},getTabs:function(){return K},getPanes:function(){return I},getCurrentPane:function(){return I.eq(G)},getCurrentTab:function(){return K.eq(G)},getIndex:function(){return G},next:function(){return z.click(G+1)},prev:function(){return z.click(G-1)},destroy:function(){K.unbind(q.event).removeClass(q.current);
-I.find("a[href^=#]").unbind("click.T");return z}});d.each("onBeforeClick,onClick".split(","),function(h,o){d.isFunction(q[o])&&d(z).bind(o,q[o]);z[o]=function(h){h&&d(z).bind(o,h);return z}});if(q.history&&d.fn.history)d.tools.history.init(K),q.event="history";K.each(function(h){d(this).bind(q.event,function(d){z.click(h,d);return d.preventDefault()})});I.find("a[href^=#]").bind("click.T",function(h){z.click(d(this).attr("href"),h)});location.hash&&q.tabs=="a"&&h.find("[href="+location.hash+"]").length?
-z.click(location.hash):(q.initialIndex===0||q.initialIndex>0)&&z.click(q.initialIndex)}d.tools=d.tools||{version:"@VERSION"};d.tools.tabs={conf:{tabs:"a",current:"current",onBeforeClick:null,onClick:null,effect:"default",initialIndex:0,event:"click",rotate:!1,history:!1},addEffect:function(d,h){F[d]=h}};var F={"default":function(d,h){this.getPanes().hide().eq(d).show();h.call()},fade:function(d,h){var p=this.getConf(),z=p.fadeOutSpeed,F=this.getPanes();z?F.fadeOut(z):F.hide();F.eq(d).fadeIn(p.fadeInSpeed,
-h)},slide:function(d,h){this.getPanes().slideUp(200);this.getPanes().eq(d).slideDown(400,h)},ajax:function(d,h){this.getPanes().eq(0).load(this.getTabs().eq(d).attr("href"),h)}},p;d.tools.tabs.addEffect("horizontal",function(h,B){p||(p=this.getPanes().eq(0).width());this.getCurrentPane().animate({width:0},function(){d(this).hide()});this.getPanes().eq(h).animate({width:p},function(){d(this).show();B.call()})});d.fn.tabs=function(p,B){var q=this.data("tabs");q&&(q.destroy(),this.removeData("tabs"));
-d.isFunction(B)&&(B={onBeforeClick:B});B=d.extend({},d.tools.tabs.conf,B);this.each(function(){q=new h(d(this),p,B);d(this).data("tabs",q)});return B.api?q:this}})(jQuery);
+(function(d){function j(j,l,n){var z=this,G=j.add(this),M=j.find(n.tabs),R=l.jquery?l:j.children(l),K;M.length||(M=j.children());R.length||(R=j.parent().find(l));R.length||(R=d(l));d.extend(this,{click:function(j,l){var D=M.eq(j);typeof j=="string"&&j.replace("#","")&&(D=M.filter("[href*="+j.replace("#","")+"]"),j=Math.max(M.index(D),0));if(n.rotate){var F=M.length-1;if(j<0)return z.click(F,l);if(j>F)return z.click(0,l)}if(!D.length){if(K>=0)return z;j=n.initialIndex;D=M.eq(j)}if(j===K)return z;l=
+l||d.Event();l.type="onBeforeClick";G.trigger(l,[j]);if(!l.isDefaultPrevented())return C[n.effect].call(z,j,function(){K=j;l.type="onClick";G.trigger(l,[j])}),M.removeClass(n.current),D.addClass(n.current),z},getConf:function(){return n},getTabs:function(){return M},getPanes:function(){return R},getCurrentPane:function(){return R.eq(K)},getCurrentTab:function(){return M.eq(K)},getIndex:function(){return K},next:function(){return z.click(K+1)},prev:function(){return z.click(K-1)},destroy:function(){M.unbind(n.event).removeClass(n.current);
+R.find("a[href^=#]").unbind("click.T");return z}});d.each("onBeforeClick,onClick".split(","),function(j,l){d.isFunction(n[l])&&d(z).bind(l,n[l]);z[l]=function(j){j&&d(z).bind(l,j);return z}});if(n.history&&d.fn.history)d.tools.history.init(M),n.event="history";M.each(function(j){d(this).bind(n.event,function(d){z.click(j,d);return d.preventDefault()})});R.find("a[href^=#]").bind("click.T",function(j){z.click(d(this).attr("href"),j)});location.hash&&n.tabs=="a"&&j.find("[href="+location.hash+"]").length?
+z.click(location.hash):(n.initialIndex===0||n.initialIndex>0)&&z.click(n.initialIndex)}d.tools=d.tools||{version:"@VERSION"};d.tools.tabs={conf:{tabs:"a",current:"current",onBeforeClick:null,onClick:null,effect:"default",initialIndex:0,event:"click",rotate:!1,slideUpSpeed:400,slideDownSpeed:400,history:!1},addEffect:function(d,j){C[d]=j}};var C={"default":function(d,j){this.getPanes().hide().eq(d).show();j.call()},fade:function(d,j){var n=this.getConf(),z=n.fadeOutSpeed,C=this.getPanes();z?C.fadeOut(z):
+C.hide();C.eq(d).fadeIn(n.fadeInSpeed,j)},slide:function(d,j){var n=this.getConf();this.getPanes().slideUp(n.slideUpSpeed);this.getPanes().eq(d).slideDown(n.slideDownSpeed,j)},ajax:function(d,j){this.getPanes().eq(0).load(this.getTabs().eq(d).attr("href"),j)}},n,G;d.tools.tabs.addEffect("horizontal",function(j,l){if(!n){var v=this.getPanes().eq(j),z=this.getCurrentPane();G||(G=this.getPanes().eq(0).width());n=!0;v.show();z.animate({width:0},{step:function(d){v.css("width",G-d)},complete:function(){d(this).hide();
+l.call();n=!1}});z.length||(l.call(),n=!1)}});d.fn.tabs=function(n,l){var v=this.data("tabs");v&&(v.destroy(),this.removeData("tabs"));d.isFunction(l)&&(l={onBeforeClick:l});l=d.extend({},d.tools.tabs.conf,l);this.each(function(){v=new j(d(this),n,l);d(this).data("tabs",v)});return l.api?v:this}})(jQuery);
+// Input 8
+/*
+
+ jQuery Tools @VERSION History "Back button for AJAX apps"
+
+ NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE.
+
+ http://flowplayer.org/tools/toolbox/history.html
+
+ Since: Mar 2010
+ Date: @DATE
+*/
+(function(d){function j(d){if(d){var j=n.contentWindow.document;j.open().close();j.location.hash=d}}var C,n,G,F;d.tools=d.tools||{version:"@VERSION"};d.tools.history={init:function(l){F||(d.browser.msie&&d.browser.version<"8"?n||(n=d("<iframe/>").attr("src","javascript:false;").hide().get(0),d("body").prepend(n),setInterval(function(){var j=n.contentWindow.document.location.hash;C!==j&&d(window).trigger("hash",j)},100),j(location.hash||"#")):setInterval(function(){var j=location.hash;j!==C&&d(window).trigger("hash",
+j)},100),G=!G?l:G.add(l),l.click(function(l){var z=d(this).attr("href");n&&j(z);if(z.slice(0,1)!="#")return location.href="#"+z,l.preventDefault()}),F=!0)}};d(window).bind("hash",function(j,n){n?G.filter(function(){var j=d(this).attr("href");return j==n||j==n.replace("#","")}).trigger("history",[n]):G.eq(0).trigger("history",[n]);C=n});d.fn.history=function(j){d.tools.history.init(this);return this.bind("history",j)}})(jQuery);
diff --git a/jarmon/jarmon.js b/jarmon/jarmon.js
index 32fce6d..e4fd1dc 100644
--- a/jarmon/jarmon.js
+++ b/jarmon/jarmon.js
@@ -1229,10 +1229,9 @@ jarmon.TabbedInterface.prototype.setup = function() {
if(api) {
api.destroy();
}
- this.$tabBar.tabs(this.$tabPanels.children('div'));
+ this.$tabBar.tabs(this.$tabPanels.children('div'), {history: true});
};
-
jarmon.buildTabbedChartUi = function ($chartTemplate, chartRecipes,
$tabTemplate, tabRecipes,
$controlPanelTemplate) {