(function(d,e){function h(){if(!c.isReady){try{n.documentElement.doScroll("left")}catch(a){setTimeout(h,1);return}c.ready()}}function k(a,b){b.src?c.ajax({url:b.src,async:!1,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function q(a,b,f,i,g,d){var j=a.length;if("object"===typeof b){for(var h in b)q(a,h,b[h],i,g,f);return a}if(f!==e){i=!d&&i&&c.isFunction(f);for(h=0;h<j;h++)g(a[h],b,i?f.call(a[h],h,g(a[h],b)):f,d);return a}return j?
g(a[0],b):e}function m(){return(new Date).getTime()}function p(){return!1}function j(){return!0}function l(a,b,f){f[0].type=a;return c.event.handle.apply(b,f)}function o(a){var b,f=[],i=[],g=arguments,d,e,j,h,z,n;e=c.data(this,"events");if(!(a.liveFired===this||!e||!e.live||a.button&&"click"===a.type)){a.liveFired=this;var l=e.live.slice(0);for(h=0;h<l.length;h++)e=l[h],e.origType.replace(I,"")===a.type?i.push(e.selector):l.splice(h--,1);d=c(a.target).closest(i,a.currentTarget);z=0;for(n=d.length;z<
n;z++)for(h=0;h<l.length;h++)if(e=l[h],d[z].selector===e.selector){j=d[z].elem;i=null;if("mouseenter"===e.preType||"mouseleave"===e.preType)i=c(a.relatedTarget).closest(e.selector)[0];(!i||i!==j)&&f.push({elem:j,handleObj:e})}z=0;for(n=f.length;z<n;z++)if(d=f[z],a.currentTarget=d.elem,a.data=d.handleObj.data,a.handleObj=d.handleObj,!1===d.handleObj.origHandler.apply(d.elem,g)){b=!1;break}return b}}function u(a,b){return"live."+(a&&"*"!==a?a+".":"")+b.replace(/\./g,"`").replace(/ /g,"&")}function x(a,
b){var f=0;b.each(function(){if(this.nodeName===(a[f]&&a[f].nodeName)){var b=c.data(a[f++]),g=c.data(this,b);if(b=b&&b.events){delete g.handle;g.events={};for(var d in b)for(var e in b[d])c.event.add(this,d,b[d][e],b[d][e].data)}}})}function v(a,b,f){var i,g,d,b=b&&b[0]?b[0].ownerDocument||b[0]:n;if(1===a.length&&"string"===typeof a[0]&&512>a[0].length&&b===n&&!ba.test(a[0])&&(c.support.checkClone||!ca.test(a[0])))if(g=!0,d=c.fragments[a[0]])1!==d&&(i=d);i||(i=b.createDocumentFragment(),c.clean(a,
b,i,f));g&&(c.fragments[a[0]]=d?i:1);return{fragment:i,cacheable:g}}function t(a,b){var f={};c.each(da.concat.apply([],da.slice(0,b)),function(){f[this]=a});return f}function w(a){return"scrollTo"in a&&a.document?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}var c=function(a,b){return new c.fn.init(a,b)},s=d.jQuery,y=d.$,n=d.document,J,wa=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,Q=/^.[^:#\[\.,]*$/,xa=/\S/,K=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,ya=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,E=navigator.userAgent,ea=!1,
L=[],F,M=Object.prototype.toString,G=Object.prototype.hasOwnProperty,R=Array.prototype.push,N=Array.prototype.slice,fa=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var f,i;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if("body"===a&&!b)return this.context=n,this[0]=n.body,this.selector="body",this.length=1,this;if("string"===typeof a){if((f=wa.exec(a))&&(f[1]||!b)){if(f[1])return i=b?b.ownerDocument||b:n,(a=ya.exec(a))?c.isPlainObject(b)?(a=[n.createElement(a[1])],
c.fn.attr.call(a,b,!0)):a=[i.createElement(a[1])]:(a=v([f[1]],[i]),a=(a.cacheable?a.fragment.cloneNode(!0):a.fragment).childNodes),c.merge(this,a);if(b=n.getElementById(f[2])){if(b.id!==f[2])return J.find(a);this.length=1;this[0]=b}this.context=n;this.selector=a;return this}return!b&&/^\w+$/.test(a)?(this.selector=a,this.context=n,a=n.getElementsByTagName(a),c.merge(this,a)):!b||b.jquery?(b||J).find(a):c(b).find(a)}if(c.isFunction(a))return J.ready(a);if(a.selector!==e)this.selector=a.selector,this.context=
a.context;return c.makeArray(a,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return N.call(this,0)},get:function(a){return null==a?this.toArray():0>a?this.slice(a)[0]:this[a]},pushStack:function(a,b,f){var i=c();c.isArray(a)?R.apply(i,a):c.merge(i,a);i.prevObject=this;i.context=this.context;if("find"===b)i.selector=this.selector+(this.selector?" ":"")+f;else if(b)i.selector=this.selector+"."+b+"("+f+")";return i},each:function(a,b){return c.each(this,
a,b)},ready:function(a){c.bindReady();c.isReady?a.call(n,c):L&&L.push(a);return this},eq:function(a){return-1===a?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(N.apply(this,arguments),"slice",N.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||c(null)},push:R,sort:[].sort,splice:[].splice};c.fn.init.prototype=
c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,f=arguments.length,i=!1,g,d,j,h;"boolean"===typeof a&&(i=a,a=arguments[1]||{},b=2);"object"!==typeof a&&!c.isFunction(a)&&(a={});f===b&&(a=this,--b);for(;b<f;b++)if(null!=(g=arguments[b]))for(d in g)j=a[d],h=g[d],a!==h&&(i&&h&&(c.isPlainObject(h)||c.isArray(h))?(j=j&&(c.isPlainObject(j)||c.isArray(j))?j:c.isArray(h)?[]:{},a[d]=c.extend(i,j,h)):h!==e&&(a[d]=h));return a};c.extend({noConflict:function(a){d.$=y;if(a)d.jQuery=s;return c},
isReady:!1,ready:function(){if(!c.isReady){if(!n.body)return setTimeout(c.ready,13);c.isReady=!0;if(L){for(var a,b=0;a=L[b++];)a.call(n,c);L=null}c.fn.triggerHandler&&c(n).triggerHandler("ready")}},bindReady:function(){if(!ea){ea=!0;if("complete"===n.readyState)return c.ready();if(n.addEventListener)n.addEventListener("DOMContentLoaded",F,!1),d.addEventListener("load",c.ready,!1);else if(n.attachEvent){n.attachEvent("onreadystatechange",F);d.attachEvent("onload",c.ready);var a=!1;try{a=null==d.frameElement}catch(b){}n.documentElement.doScroll&&
a&&h()}}},isFunction:function(a){return"[object Function]"===M.call(a)},isArray:function(a){return"[object Array]"===M.call(a)},isPlainObject:function(a){if(!a||"[object Object]"!==M.call(a)||a.nodeType||a.setInterval)return!1;if(a.constructor&&!G.call(a,"constructor")&&!G.call(a.constructor.prototype,"isPrototypeOf"))return!1;for(var b in a);return b===e||G.call(a,b)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a;},parseJSON:function(a){if("string"!==typeof a||
!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return d.JSON&&d.JSON.parse?d.JSON.parse(a):(new Function("return "+a))();c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&xa.test(a)){var b=n.getElementsByTagName("head")[0]||n.documentElement,f=n.createElement("script");f.type="text/javascript";c.support.scriptEval?
f.appendChild(n.createTextNode(a)):f.text=a;b.insertBefore(f,b.firstChild);b.removeChild(f)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,b,f){var i,g=0,d=a.length,j=d===e||c.isFunction(a);if(f)if(j)for(i in a){if(!1===b.apply(a[i],f))break}else for(;g<d&&!(!1===b.apply(a[g++],f)););else if(j)for(i in a){if(!1===b.call(a[i],i,a[i]))break}else for(f=a[0];g<d&&!1!==b.call(f,g,f);f=a[++g]);return a},trim:function(a){return(a||"").replace(K,"")},
makeArray:function(a,b){b=b||[];null!=a&&(null==a.length||"string"===typeof a||c.isFunction(a)||"function"!==typeof a&&a.setInterval?R.call(b,a):c.merge(b,a));return b},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var c=0,i=b.length;c<i;c++)if(b[c]===a)return c;return-1},merge:function(a,b){var c=a.length,i=0;if("number"===typeof b.length)for(var g=b.length;i<g;i++)a[c++]=b[i];else for(;b[i]!==e;)a[c++]=b[i++];a.length=c;return a},grep:function(a,b,c){for(var i=[],g=0,d=a.length;g<d;g++)!c!==
!b(a[g],g)&&i.push(a[g]);return i},map:function(a,b,c){for(var i=[],g,d=0,e=a.length;d<e;d++)g=b(a[d],d,c),null!=g&&(i[i.length]=g);return i.concat.apply([],i)},guid:1,proxy:function(a,b,f){2===arguments.length&&("string"===typeof b?(f=a,a=f[b],b=e):b&&!c.isFunction(b)&&(f=b,b=e));!b&&a&&(b=function(){return a.apply(f||this,arguments)});if(a)b.guid=a.guid=a.guid||b.guid||c.guid++;return b},uaMatch:function(a){a=a.toLowerCase();a=/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(a)||
/(msie) ([\w.]+)/.exec(a)||!/compatible/.test(a)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},browser:{}});E=c.uaMatch(E);if(E.browser)c.browser[E.browser]=!0,c.browser.version=E.version;if(c.browser.webkit)c.browser.safari=!0;if(fa)c.inArray=function(a,b){return fa.call(b,a)};J=c(n);n.addEventListener?F=function(){n.removeEventListener("DOMContentLoaded",F,!1);c.ready()}:n.attachEvent&&(F=function(){"complete"===n.readyState&&(n.detachEvent("onreadystatechange",
F),c.ready())});(function(){c.support={};var a=n.documentElement,b=n.createElement("script"),f=n.createElement("div"),i="script"+m();f.style.display="none";f.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var g=f.getElementsByTagName("*"),e=f.getElementsByTagName("a")[0];if(g&&g.length&&e){c.support={leadingWhitespace:3===f.firstChild.nodeType,tbody:!f.getElementsByTagName("tbody").length,htmlSerialize:!!f.getElementsByTagName("link").length,
style:/red/.test(e.getAttribute("style")),hrefNormalized:"/a"===e.getAttribute("href"),opacity:/^0.55$/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:"on"===f.getElementsByTagName("input")[0].value,optSelected:n.createElement("select").appendChild(n.createElement("option")).selected,parentNode:null===f.removeChild(f.appendChild(n.createElement("div"))).parentNode,deleteExpando:!0,checkClone:!1,scriptEval:!1,noCloneEvent:!0,boxModel:null};b.type="text/javascript";try{b.appendChild(n.createTextNode("window."+
i+"=1;"))}catch(j){}a.insertBefore(b,a.firstChild);if(d[i])c.support.scriptEval=!0,delete d[i];try{delete b.test}catch(h){c.support.deleteExpando=!1}a.removeChild(b);f.attachEvent&&f.fireEvent&&(f.attachEvent("onclick",function z(){c.support.noCloneEvent=!1;f.detachEvent("onclick",z)}),f.cloneNode(!0).fireEvent("onclick"));f=n.createElement("div");f.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=n.createDocumentFragment();a.appendChild(f.firstChild);c.support.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked;
c(function(){var a=n.createElement("div");a.style.width=a.style.paddingLeft="1px";n.body.appendChild(a);c.boxModel=c.support.boxModel=2===a.offsetWidth;n.body.removeChild(a).style.display="none"});a=function(a){var b=n.createElement("div"),a="on"+a,c=a in b;c||(b.setAttribute(a,"return;"),c="function"===typeof b[a]);return c};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=f=g=e=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",
cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var C="jQuery"+m(),za=0,ga={};c.extend({cache:{},expando:C,noData:{embed:!0,object:!0,applet:!0},data:function(a,b,f){if(!a.nodeName||!c.noData[a.nodeName.toLowerCase()]){var a=a==d?ga:a,i=a[C],g=c.cache;if(!i&&"string"===typeof b&&f===e)return null;i||(i=++za);"object"===typeof b?(a[C]=i,g[i]=c.extend(!0,{},b)):g[i]||(a[C]=i,g[i]={});a=g[i];f!==e&&(a[b]=f);return"string"===
typeof b?a[b]:a}},removeData:function(a,b){if(!a.nodeName||!c.noData[a.nodeName.toLowerCase()]){var a=a==d?ga:a,f=a[C],i=c.cache,g=i[f];b?g&&(delete g[b],c.isEmptyObject(g)&&c.removeData(a)):(c.support.deleteExpando?delete a[c.expando]:a.removeAttribute&&a.removeAttribute(c.expando),delete i[f])}}});c.fn.extend({data:function(a,b){if("undefined"===typeof a&&this.length)return c.data(this[0]);if("object"===typeof a)return this.each(function(){c.data(this,a)});var f=a.split(".");f[1]=f[1]?"."+f[1]:
"";if(b===e){var i=this.triggerHandler("getData"+f[1]+"!",[f[0]]);i===e&&this.length&&(i=c.data(this[0],a));return i===e&&f[1]?this.data(f[0]):i}return this.trigger("setData"+f[1]+"!",[f[0],b]).each(function(){c.data(this,a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,f){if(a){var b=(b||"fx")+"queue",i=c.data(a,b);if(!f)return i||[];!i||c.isArray(f)?i=c.data(a,b,c.makeArray(f)):i.push(f);return i}},dequeue:function(a,b){var b=b||"fx",
f=c.queue(a,b),i=f.shift();"inprogress"===i&&(i=f.shift());i&&("fx"===b&&f.unshift("inprogress"),i.call(a,function(){c.dequeue(a,b)}))}});c.fn.extend({queue:function(a,b){"string"!==typeof a&&(b=a,a="fx");return b===e?c.queue(this[0],a):this.each(function(){var f=c.queue(this,a,b);"fx"===a&&"inprogress"!==f[0]&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var f=this;
setTimeout(function(){c.dequeue(f,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var ha=/[\n\t]/g,S=/\s+/,Aa=/\r/g,Ba=/href|src|style/,Ca=/(button|input)/i,Da=/(button|input|object|select|textarea)/i,Ea=/^(a|area)$/i,ia=/radio|checkbox/;c.fn.extend({attr:function(a,b){return q(this,a,b,!0,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");1===this.nodeType&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(b){var f=
c(this);f.addClass(a.call(this,b,f.attr("class")))});if(a&&"string"===typeof a)for(var b=(a||"").split(S),f=0,i=this.length;f<i;f++){var g=this[f];if(1===g.nodeType)if(g.className){for(var d=" "+g.className+" ",e=g.className,j=0,h=b.length;j<h;j++)0>d.indexOf(" "+b[j]+" ")&&(e+=" "+b[j]);g.className=c.trim(e)}else g.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(b){var f=c(this);f.removeClass(a.call(this,b,f.attr("class")))});if(a&&"string"===typeof a||
a===e)for(var b=(a||"").split(S),f=0,i=this.length;f<i;f++){var g=this[f];if(1===g.nodeType&&g.className)if(a){for(var d=(" "+g.className+" ").replace(ha," "),j=0,h=b.length;j<h;j++)d=d.replace(" "+b[j]+" "," ");g.className=c.trim(d)}else g.className=""}return this},toggleClass:function(a,b){var f=typeof a,i="boolean"===typeof b;return c.isFunction(a)?this.each(function(f){var i=c(this);i.toggleClass(a.call(this,f,i.attr("class"),b),b)}):this.each(function(){if("string"===f)for(var g,d=0,e=c(this),
j=b,h=a.split(S);g=h[d++];)j=i?j:!e.hasClass(g),e[j?"addClass":"removeClass"](g);else if("undefined"===f||"boolean"===f)this.className&&c.data(this,"__className__",this.className),this.className=this.className||!1===a?"":c.data(this,"__className__")||""})},hasClass:function(a){for(var a=" "+a+" ",b=0,c=this.length;b<c;b++)if(-1<(" "+this[b].className+" ").replace(ha," ").indexOf(a))return!0;return!1},val:function(a){if(a===e){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||
{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var f=b.selectedIndex,i=[],g=b.options,b="select-one"===b.type;if(0>f)return null;for(var d=b?f:0,f=b?f+1:g.length;d<f;d++){var j=g[d];if(j.selected){a=c(j).val();if(b)return a;i.push(a)}}return i}return ia.test(b.type)&&!c.support.checkOn?null===b.getAttribute("value")?"on":b.value:(b.value||"").replace(Aa,"")}return e}var h=c.isFunction(a);return this.each(function(b){var f=c(this),g=a;if(1===this.nodeType)if(h&&(g=a.call(this,b,f.val())),
"number"===typeof g&&(g+=""),c.isArray(g)&&ia.test(this.type))this.checked=0<=c.inArray(f.val(),g);else if(c.nodeName(this,"select")){var i=c.makeArray(g);c("option",this).each(function(){this.selected=0<=c.inArray(c(this).val(),i)});if(!i.length)this.selectedIndex=-1}else this.value=g})}});c.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,b,f,i){if(!a||3===a.nodeType||8===a.nodeType)return e;if(i&&b in c.attrFn)return c(a)[b](f);var i=1!==a.nodeType||
!c.isXMLDoc(a),g=f!==e,b=i&&c.props[b]||b;if(1===a.nodeType){var d=Ba.test(b);if(b in a&&i&&!d)return g&&("type"===b&&Ca.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed"),a[b]=f),c.nodeName(a,"form")&&a.getAttributeNode(b)?a.getAttributeNode(b).nodeValue:"tabIndex"===b?(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:Da.test(a.nodeName)||Ea.test(a.nodeName)&&a.href?0:e:a[b];if(!c.support.style&&i&&"style"===b){if(g)a.style.cssText=""+f;return a.style.cssText}g&&a.setAttribute(b,
""+f);a=!c.support.hrefNormalized&&i&&d?a.getAttribute(b,2):a.getAttribute(b);return null===a?e:a}return c.style(a,b,f)}});var I=/\.(.*)$/,Fa=function(a){return a.replace(/[^\w\s\.\|`]/g,function(a){return"\\"+a})};c.event={add:function(a,b,f,i){if(!(3===a.nodeType||8===a.nodeType)){a.setInterval&&a!==d&&!a.frameElement&&(a=d);var g,j;if(f.handler)g=f,f=g.handler;if(!f.guid)f.guid=c.guid++;if(j=c.data(a)){var h=j.events=j.events||{},n=j.handle;if(!n)j.handle=n=function(){return"undefined"!==typeof c&&
!c.event.triggered?c.event.handle.apply(n.elem,arguments):e};n.elem=a;for(var b=b.split(" "),l,z=0,m;l=b[z++];){j=g?c.extend({},g):{handler:f,data:i};-1<l.indexOf(".")?(m=l.split("."),l=m.shift(),j.namespace=m.slice(0).sort().join(".")):(m=[],j.namespace="");j.type=l;j.guid=f.guid;var p=h[l],k=c.event.special[l]||{};if(!p&&(p=h[l]=[],!k.setup||!1===k.setup.call(a,i,m,n)))a.addEventListener?a.addEventListener(l,n,!1):a.attachEvent&&a.attachEvent("on"+l,n);if(k.add&&(k.add.call(a,j),!j.handler.guid))j.handler.guid=
f.guid;p.push(j);c.event.global[l]=!0}a=null}}},global:{},remove:function(a,b,f,i){if(!(3===a.nodeType||8===a.nodeType)){var g,d=0,e,j,h,n,l,m,p=c.data(a),k=p&&p.events;if(p&&k){if(b&&b.type)f=b.handler,b=b.type;if(!b||"string"===typeof b&&"."===b.charAt(0))for(g in b=b||"",k)c.event.remove(a,g+b);else{for(b=b.split(" ");g=b[d++];)if(n=g,e=0>g.indexOf("."),j=[],e||(j=g.split("."),g=j.shift(),h=RegExp("(^|\\.)"+c.map(j.slice(0).sort(),Fa).join("\\.(?:.*\\.)?")+"(\\.|$)")),l=k[g])if(f){n=c.event.special[g]||
{};for(o=i||0;o<l.length;o++)if(m=l[o],f.guid===m.guid){if(e||h.test(m.namespace))null==i&&l.splice(o--,1),n.remove&&n.remove.call(a,m);if(null!=i)break}if(0===l.length||null!=i&&1===l.length)(!n.teardown||!1===n.teardown.call(a,j))&&ja(a,g,p.handle),delete k[g]}else for(var o=0;o<l.length;o++)if(m=l[o],e||h.test(m.namespace))c.event.remove(a,n,m.handler,o),l.splice(o--,1);if(c.isEmptyObject(k)){if(b=p.handle)b.elem=null;delete p.events;delete p.handle;c.isEmptyObject(p)&&c.removeData(a)}}}}},trigger:function(a,
b,f,i){var g=a.type||a;if(!i){a="object"===typeof a?a[C]?a:c.extend(c.Event(g),a):c.Event(g);if(0<=g.indexOf("!"))a.type=g=g.slice(0,-1),a.exclusive=!0;f||(a.stopPropagation(),c.event.global[g]&&c.each(c.cache,function(){this.events&&this.events[g]&&c.event.trigger(a,b,this.handle.elem)}));if(!f||3===f.nodeType||8===f.nodeType)return e;a.result=e;a.target=f;b=c.makeArray(b);b.unshift(a)}a.currentTarget=f;(i=c.data(f,"handle"))&&i.apply(f,b);i=f.parentNode||f.ownerDocument;try{if((!f||!f.nodeName||
!c.noData[f.nodeName.toLowerCase()])&&f["on"+g]&&!1===f["on"+g].apply(f,b))a.result=!1}catch(d){}if(!a.isPropagationStopped()&&i)c.event.trigger(a,b,i,!0);else if(!a.isDefaultPrevented()){var i=a.target,j,h=c.nodeName(i,"a")&&"click"===g,n=c.event.special[g]||{};if((!n._default||!1===n._default.call(f,a))&&!h&&(!i||!i.nodeName||!c.noData[i.nodeName.toLowerCase()])){try{if(i[g]){if(j=i["on"+g])i["on"+g]=null;c.event.triggered=!0;i[g]()}}catch(l){}j&&(i["on"+g]=j);c.event.triggered=!1}}},handle:function(a){var b,
f,i,g,a=arguments[0]=c.event.fix(a||d.event);a.currentTarget=this;b=0>a.type.indexOf(".")&&!a.exclusive;if(!b)f=a.type.split("."),a.type=f.shift(),i=RegExp("(^|\\.)"+f.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)");g=c.data(this,"events");f=g[a.type];if(g&&f){f=f.slice(0);g=0;for(var j=f.length;g<j;g++){var h=f[g];if(b||i.test(h.namespace)){a.handler=h.handler;a.data=h.data;a.handleObj=h;h=h.handler.apply(this,arguments);if(h!==e)a.result=h,!1===h&&(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 originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a){if(a[C])return a;for(var b=a,a=c.Event(b),f=this.props.length,i;f;)i=this.props[--f],a[i]=b[i];if(!a.target)a.target=a.srcElement||
n;if(3===a.target.nodeType)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(null==a.pageX&&null!=a.clientX)b=n.documentElement,f=n.body,a.pageX=a.clientX+(b&&b.scrollLeft||f&&f.scrollLeft||0)-(b&&b.clientLeft||f&&f.clientLeft||0),a.pageY=a.clientY+(b&&b.scrollTop||f&&f.scrollTop||0)-(b&&b.clientTop||f&&f.clientTop||0);if(!a.which&&(a.charCode||0===a.charCode?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&
a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==e)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,a.origType,c.extend({},a,{handler:o}))},remove:function(a){var b=!0,f=a.origType.replace(I,"");c.each(c.data(this,"events").live||[],function(){if(f===this.origType.replace(I,""))return b=!1});b&&c.event.remove(this,a.origType,o)}},beforeunload:{setup:function(a,b,c){if(this.setInterval)this.onbeforeunload=
c;return!1},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};var ja=n.removeEventListener?function(a,b,c){a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent("on"+b,c)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);a&&a.type?(this.originalEvent=a,this.type=a.type):this.type=a;this.timeStamp=m();this[C]=!0};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=j;var a=this.originalEvent;if(a)a.preventDefault&&a.preventDefault(),
a.returnValue=!1},stopPropagation:function(){this.isPropagationStopped=j;var a=this.originalEvent;if(a)a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=j;this.stopPropagation()},isDefaultPrevented:p,isPropagationStopped:p,isImmediatePropagationStopped:p};var ka=function(a){var b=a.relatedTarget;try{for(;b&&b!==this;)b=b.parentNode;if(b!==this)a.type=a.data,c.event.handle.apply(this,arguments)}catch(f){}},la=function(a){a.type=
a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(f){c.event.add(this,b,f&&f.selector?la:ka,a)},teardown:function(a){c.event.remove(this,b,a&&a.selector?la:ka)}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(){if("form"!==this.nodeName.toLowerCase())c.event.add(this,"click.specialSubmit",function(a){var b=a.target,f=b.type;if(("submit"===f||"image"===f)&&c(b).closest("form").length)return l("submit",
this,arguments)}),c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,f=b.type;if(("text"===f||"password"===f)&&c(b).closest("form").length&&13===a.keyCode)return l("submit",this,arguments)});else return!1},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var T=/textarea|input|select/i,U,ma=function(a){var b=a.type,f=a.value;if("radio"===b||"checkbox"===b)f=a.checked;else if("select-multiple"===b)f=-1<a.selectedIndex?c.map(a.options,function(a){return a.selected}).join("-"):
"";else if("select"===a.nodeName.toLowerCase())f=a.selectedIndex;return f},V=function(a,b){var f=a.target,i,g;if(T.test(f.nodeName)&&!f.readOnly&&(i=c.data(f,"_change_data"),g=ma(f),("focusout"!==a.type||"radio"!==f.type)&&c.data(f,"_change_data",g),!(i===e||g===i)))if(null!=i||g)return a.type="change",c.event.trigger(a,b,f)};c.event.special.change={filters:{focusout:V,click:function(a){var b=a.target,c=b.type;if("radio"===c||"checkbox"===c||"select"===b.nodeName.toLowerCase())return V.call(this,
a)},keydown:function(a){var b=a.target,c=b.type;if(13===a.keyCode&&"textarea"!==b.nodeName.toLowerCase()||32===a.keyCode&&("checkbox"===c||"radio"===c)||"select-multiple"===c)return V.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",ma(a))}},setup:function(){if("file"===this.type)return!1;for(var a in U)c.event.add(this,a+".specialChange",U[a]);return T.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return T.test(this.nodeName)}};U=c.event.special.change.filters}n.addEventListener&&
c.each({focus:"focusin",blur:"focusout"},function(a,b){function f(a){a=c.event.fix(a);a.type=b;return c.event.handle.call(this,a)}c.event.special[b]={setup:function(){this.addEventListener(a,f,!0)},teardown:function(){this.removeEventListener(a,f,!0)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(a,i,g){if("object"===typeof a){for(var d in a)this[b](d,i,a[d],g);return this}c.isFunction(i)&&(g=i,i=e);var j="one"===b?c.proxy(g,function(a){c(this).unbind(a,j);return g.apply(this,arguments)}):
g;if("unload"===a&&"one"!==b)this.one(a,i,g);else{d=0;for(var h=this.length;d<h;d++)c.event.add(this[d],a,j,i)}return this}});c.fn.extend({unbind:function(a,b){if("object"===typeof a&&!a.preventDefault)for(var f in a)this.unbind(f,a[f]);else{f=0;for(var i=this.length;f<i;f++)c.event.remove(this[f],a,b)}return this},delegate:function(a,b,c,i){return this.live(b,c,i,a)},undelegate:function(a,b,c){return 0===arguments.length?this.unbind("live"):this.die(b,null,c,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,
b,this)})},triggerHandler:function(a,b){if(this[0])return a=c.Event(a),a.preventDefault(),a.stopPropagation(),c.event.trigger(a,b,this[0]),a.result},toggle:function(a){for(var b=arguments,f=1;f<b.length;)c.proxy(a,b[f++]);return this.click(c.proxy(a,function(i){var g=(c.data(this,"lastToggle"+a.guid)||0)%f;c.data(this,"lastToggle"+a.guid,g+1);i.preventDefault();return b[g].apply(this,arguments)||!1}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var na={focus:"focusin",blur:"focusout",
mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(a,i,g,d){var j,h=0,n,l,m=d||this.selector,p=d?this:c(this.context);c.isFunction(i)&&(g=i,i=e);for(a=(a||"").split(" ");null!=(j=a[h++]);)d=I.exec(j),n="",d&&(n=d[0],j=j.replace(I,"")),"hover"===j?a.push("mouseenter"+n,"mouseleave"+n):(l=j,"focus"===j||"blur"===j?(a.push(na[j]+n),j+=n):j=(na[j]||j)+n,"live"===b?p.each(function(){c.event.add(this,u(j,m),{data:i,selector:m,handler:g,origType:j,origHandler:g,
preType:l})}):p.unbind(u(j,m),g));return this}});c.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,b){c.fn[b]=function(a){return a?this.bind(b,a):this.trigger(b)};c.attrFn&&(c.attrFn[b]=!0)});d.attachEvent&&!d.addEventListener&&d.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});
(function(){function a(b){for(var c="",f,g=0;b[g];g++)f=b[g],3===f.nodeType||4===f.nodeType?c+=f.nodeValue:8!==f.nodeType&&(c+=a(f.childNodes));return c}function b(a,b,c,f,g,i){for(var g=0,d=f.length;g<d;g++){var e=f[g];if(e){for(var e=e[a],j=!1;e;){if(e.sizcache===c){j=f[e.sizset];break}if(1===e.nodeType&&!i)e.sizcache=c,e.sizset=g;if(e.nodeName.toLowerCase()===b){j=e;break}e=e[a]}f[g]=j}}}function f(a,b,c,f,g,i){for(var g=0,d=f.length;g<d;g++){var e=f[g];if(e){for(var e=e[a],j=!1;e;){if(e.sizcache===
c){j=f[e.sizset];break}if(1===e.nodeType){if(!i)e.sizcache=c,e.sizset=g;if("string"!==typeof b){if(e===b){j=!0;break}}else if(0<l.filter(b,[e]).length){j=e;break}}e=e[a]}f[g]=j}}}var i=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,g=0,d=Object.prototype.toString,j=!1,h=!0;[0,0].sort(function(){h=!1;return 0});var l=function(a,b,c,f){var c=c||[],g=b=b||n;if(1!==b.nodeType&&9!==b.nodeType)return[];if(!a||"string"!==
typeof a)return c;for(var e=[],j,h,k,B,w=!0,t=q(b),aa=a;null!==(i.exec(""),j=i.exec(aa));)if(aa=j[3],e.push(j[1]),j[2]){B=j[3];break}if(1<e.length&&p.exec(a))if(2===e.length&&m.relative[e[0]])h=s(e[0]+e[1],b);else for(h=m.relative[e[0]]?[b]:l(e.shift(),b);e.length;)a=e.shift(),m.relative[a]&&(a+=e.shift()),h=s(a,h);else if(!f&&1<e.length&&9===b.nodeType&&!t&&m.match.ID.test(e[0])&&!m.match.ID.test(e[e.length-1])&&(j=l.find(e.shift(),b,t),b=j.expr?l.filter(j.expr,j.set)[0]:j.set[0]),b){j=f?{expr:e.pop(),
set:o(f)}:l.find(e.pop(),1===e.length&&("~"===e[0]||"+"===e[0])&&b.parentNode?b.parentNode:b,t);h=j.expr?l.filter(j.expr,j.set):j.set;for(0<e.length?k=o(h):w=!1;e.length;){var u=e.pop();j=u;m.relative[u]?j=e.pop():u="";null==j&&(j=b);m.relative[u](k,j,t)}}else k=[];k||(k=h);k||l.error(u||a);if("[object Array]"===d.call(k))if(w)if(b&&1===b.nodeType)for(a=0;null!=k[a];a++)k[a]&&(!0===k[a]||1===k[a].nodeType&&y(b,k[a]))&&c.push(h[a]);else for(a=0;null!=k[a];a++)k[a]&&1===k[a].nodeType&&c.push(h[a]);
else c.push.apply(c,k);else o(k,c);B&&(l(B,g,c,f),l.uniqueSort(c));return c};l.uniqueSort=function(a){if(t&&(j=h,a.sort(t),j))for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1);return a};l.matches=function(a,b){return l(a,null,null,b)};l.find=function(a,b,c){var f,g;if(!a)return[];for(var i=0,e=m.order.length;i<e;i++){var d=m.order[i];if(g=m.leftMatch[d].exec(a)){var j=g[1];g.splice(1,1);if("\\"!==j.substr(j.length-1)&&(g[1]=(g[1]||"").replace(/\\/g,""),f=m.find[d](g,b,c),null!=f)){a=a.replace(m.match[d],
"");break}}}f||(f=b.getElementsByTagName("*"));return{set:f,expr:a}};l.filter=function(a,b,c,f){for(var g=a,i=[],d=b,j,h,n=b&&b[0]&&q(b[0]);a&&b.length;){for(var k in m.filter)if(null!=(j=m.leftMatch[k].exec(a))&&j[2]){var p=m.filter[k],B,D;D=j[1];h=!1;j.splice(1,1);if("\\"!==D.substr(D.length-1)){d===i&&(i=[]);if(m.preFilter[k])if(j=m.preFilter[k](j,d,c,i,f,n)){if(!0===j)continue}else h=B=!0;if(j)for(var o=0;null!=(D=d[o]);o++)if(D){B=p(D,j,o,d);var w=f^!!B;c&&null!=B?w?h=!0:d[o]=!1:w&&(i.push(D),
h=!0)}if(B!==e){c||(d=i);a=a.replace(m.match[k],"");if(!h)return[];break}}}if(a===g)if(null==h)l.error(a);else break;g=a}return d};l.error=function(a){throw"Syntax error, unrecognized expression: "+a;};var m=l.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|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,
CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,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")}},relative:{"+":function(a,b){var c="string"===typeof b,f=c&&!/\W/.test(b),c=c&&!f;f&&(b=b.toLowerCase());for(var f=0,g=a.length,i;f<g;f++)if(i=a[f]){for(;(i=i.previousSibling)&&
1!==i.nodeType;);a[f]=c||i&&i.nodeName.toLowerCase()===b?i||!1:i===b}c&&l.filter(b,a,!0)},">":function(a,b){var c="string"===typeof b;if(c&&!/\W/.test(b))for(var b=b.toLowerCase(),f=0,g=a.length;f<g;f++){var i=a[f];if(i)c=i.parentNode,a[f]=c.nodeName.toLowerCase()===b?c:!1}else{f=0;for(g=a.length;f<g;f++)if(i=a[f])a[f]=c?i.parentNode:i.parentNode===b;c&&l.filter(b,a,!0)}},"":function(a,c,i){var e=g++,d=f;if("string"===typeof c&&!/\W/.test(c))var j=c=c.toLowerCase(),d=b;d("parentNode",c,e,a,j,i)},
"~":function(a,c,i){var e=g++,d=f;if("string"===typeof c&&!/\W/.test(c))var j=c=c.toLowerCase(),d=b;d("previousSibling",c,e,a,j,i)}},find:{ID:function(a,b,c){if("undefined"!==typeof b.getElementById&&!c)return(a=b.getElementById(a[1]))?[a]:[]},NAME:function(a,b){if("undefined"!==typeof b.getElementsByName){for(var c=[],b=b.getElementsByName(a[1]),f=0,g=b.length;f<g;f++)b[f].getAttribute("name")===a[1]&&c.push(b[f]);return 0===c.length?null:c}},TAG:function(a,b){return b.getElementsByTagName(a[1])}},
preFilter:{CLASS:function(a,b,c,f,g,i){a=" "+a[1].replace(/\\/g,"")+" ";if(i)return a;for(var i=0,d;null!=(d=b[i]);i++)d&&(g^(d.className&&0<=(" "+d.className+" ").replace(/[\t\n]/g," ").indexOf(a))?c||f.push(d):c&&(b[i]=!1));return!1},ID:function(a){return a[1].replace(/\\/g,"")},TAG:function(a){return a[1].toLowerCase()},CHILD:function(a){if("nth"===a[1]){var b=/(-?)(\d*)n((?:\+|-)?\d*)/.exec("even"===a[2]&&"2n"||"odd"===a[2]&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0;a[3]=
b[3]-0}a[0]=g++;return a},ATTR:function(a,b,c,f,g,i){b=a[1].replace(/\\/g,"");!i&&m.attrMap[b]&&(a[1]=m.attrMap[b]);"~="===a[2]&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(a,b,c,f,g){if("not"===a[1])if(1<(i.exec(a[3])||"").length||/^\w/.test(a[3]))a[3]=l(a[3],null,null,b);else return a=l.filter(a[3],b,c,1^g),c||f.push.apply(f,a),!1;else if(m.match.POS.test(a[0])||m.match.CHILD.test(a[0]))return!0;return a},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return!1===a.disabled&&
"hidden"!==a.type},disabled:function(a){return!0===a.disabled},checked:function(a){return!0===a.checked},selected:function(a){return!0===a.selected},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!l(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){return"text"===a.type},radio:function(a){return"radio"===a.type},checkbox:function(a){return"checkbox"===a.type},file:function(a){return"file"===a.type},password:function(a){return"password"===
a.type},submit:function(a){return"submit"===a.type},image:function(a){return"image"===a.type},reset:function(a){return"reset"===a.type},button:function(a){return"button"===a.type||"button"===a.nodeName.toLowerCase()},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,b){return 0===b},last:function(a,b,c,f){return b===f.length-1},even:function(a,b){return 0===b%2},odd:function(a,b){return 1===b%2},lt:function(a,b,c){return b<c[3]-0},gt:function(a,
b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(b,c,f,g){var i=c[1],d=m.filters[i];if(d)return d(b,f,c,g);if("contains"===i)return 0<=(b.textContent||b.innerText||a([b])||"").indexOf(c[3]);if("not"===i){c=c[3];f=0;for(g=c.length;f<g;f++)if(c[f]===b)return!1;return!0}l.error("Syntax error, unrecognized expression: "+i)},CHILD:function(a,b){var c=b[1],f=a;switch(c){case "only":case "first":for(;f=f.previousSibling;)if(1===f.nodeType)return!1;
if("first"===c)return!0;f=a;case "last":for(;f=f.nextSibling;)if(1===f.nodeType)return!1;return!0;case "nth":var c=b[2],g=b[3];if(1===c&&0===g)return!0;var b=b[0],i=a.parentNode;if(i&&(i.sizcache!==b||!a.nodeIndex)){for(var d=0,f=i.firstChild;f;f=f.nextSibling)if(1===f.nodeType)f.nodeIndex=++d;i.sizcache=b}a=a.nodeIndex-g;return 0===c?0===a:0===a%c&&0<=a/c}},ID:function(a,b){return 1===a.nodeType&&a.getAttribute("id")===b},TAG:function(a,b){return"*"===b&&1===a.nodeType||a.nodeName.toLowerCase()===
b},CLASS:function(a,b){return-1<(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)},ATTR:function(a,b){var c=b[1],a=m.attrHandle[c]?m.attrHandle[c](a):null!=a[c]?a[c]:a.getAttribute(c),c=a+"",f=b[2],b=b[4];return null==a?"!="===f:"="===f?c===b:"*="===f?0<=c.indexOf(b):"~="===f?0<=(" "+c+" ").indexOf(b):!b?c&&!1!==a:"!="===f?c!==b:"^="===f?0===c.indexOf(b):"$="===f?c.substr(c.length-b.length)===b:"|="===f?c===b||c.substr(0,b.length+1)===b+"-":!1},POS:function(a,b,c,f){var g=m.setFilters[b[2]];
if(g)return g(a,c,b,f)}}},p=m.match.POS,k;for(k in m.match)m.match[k]=RegExp(m.match[k].source+/(?![^\[]*\])(?![^\(]*\))/.source),m.leftMatch[k]=RegExp(/(^(?:.|\r|\n)*?)/.source+m.match[k].source.replace(/\\(\d+)/g,function(a,b){return"\\"+(b-0+1)}));var o=function(a,b){a=Array.prototype.slice.call(a,0);return b?(b.push.apply(b,a),b):a};try{Array.prototype.slice.call(n.documentElement.childNodes,0)}catch(w){o=function(a,b){b=b||[];if("[object Array]"===d.call(a))Array.prototype.push.apply(b,a);else if("number"===
typeof a.length)for(var c=0,f=a.length;c<f;c++)b.push(a[c]);else for(c=0;a[c];c++)b.push(a[c]);return b}}var t;n.documentElement.compareDocumentPosition?t=function(a,b){if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a==b&&(j=!0),a.compareDocumentPosition?-1:1;a=a.compareDocumentPosition(b)&4?-1:a===b?0:1;0===a&&(j=!0);return a}:"sourceIndex"in n.documentElement?t=function(a,b){if(!a.sourceIndex||!b.sourceIndex)return a==b&&(j=!0),a.sourceIndex?-1:1;a=a.sourceIndex-b.sourceIndex;
0===a&&(j=!0);return a}:n.createRange&&(t=function(a,b){if(!a.ownerDocument||!b.ownerDocument)return a==b&&(j=!0),a.ownerDocument?-1:1;var c=a.ownerDocument.createRange(),f=b.ownerDocument.createRange();c.setStart(a,0);c.setEnd(a,0);f.setStart(b,0);f.setEnd(b,0);a=c.compareBoundaryPoints(Range.START_TO_END,f);0===a&&(j=!0);return a});(function(){var a=n.createElement("div"),b="script"+(new Date).getTime();a.innerHTML="<a name='"+b+"'/>";var c=n.documentElement;c.insertBefore(a,c.firstChild);if(n.getElementById(b))m.find.ID=
function(a,b,c){if("undefined"!==typeof b.getElementById&&!c)return(b=b.getElementById(a[1]))?b.id===a[1]||"undefined"!==typeof b.getAttributeNode&&b.getAttributeNode("id").nodeValue===a[1]?[b]:e:[]},m.filter.ID=function(a,b){var c="undefined"!==typeof a.getAttributeNode&&a.getAttributeNode("id");return 1===a.nodeType&&c&&c.nodeValue===b};c.removeChild(a);c=a=null})();(function(){var a=n.createElement("div");a.appendChild(n.createComment(""));if(0<a.getElementsByTagName("*").length)m.find.TAG=function(a,
b){b=b.getElementsByTagName(a[1]);if("*"===a[1]){for(var a=[],c=0;b[c];c++)1===b[c].nodeType&&a.push(b[c]);b=a}return b};a.innerHTML="<a href='#'></a>";if(a.firstChild&&"undefined"!==typeof a.firstChild.getAttribute&&"#"!==a.firstChild.getAttribute("href"))m.attrHandle.href=function(a){return a.getAttribute("href",2)};a=null})();n.querySelectorAll&&function(){var a=l,b=n.createElement("div");b.innerHTML="<p class='TEST'></p>";if(!(b.querySelectorAll&&0===b.querySelectorAll(".TEST").length)){l=function(b,
c,f,g){c=c||n;if(!g&&9===c.nodeType&&!q(c))try{return o(c.querySelectorAll(b),f)}catch(i){}return a(b,c,f,g)};for(var c in a)l[c]=a[c];b=null}}();(function(){var a=n.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(a.getElementsByClassName&&0!==a.getElementsByClassName("e").length&&(a.lastChild.className="e",1!==a.getElementsByClassName("e").length))m.order.splice(1,0,"CLASS"),m.find.CLASS=function(a,b,c){if("undefined"!==typeof b.getElementsByClassName&&!c)return b.getElementsByClassName(a[1])},
a=null})();var y=n.compareDocumentPosition?function(a,b){return!!(a.compareDocumentPosition(b)&16)}:function(a,b){return a!==b&&(a.contains?a.contains(b):!0)},q=function(a){return(a=(a?a.ownerDocument||a:0).documentElement)?"HTML"!==a.nodeName:!1},s=function(a,b){for(var c=[],f="",g,b=b.nodeType?[b]:b;g=m.match.PSEUDO.exec(a);)f+=g[0],a=a.replace(m.match.PSEUDO,"");a=m.relative[a]?a+"*":a;g=0;for(var i=b.length;g<i;g++)l(a,b[g],c);return l.filter(f,c)};c.find=l;c.expr=l.selectors;c.expr[":"]=c.expr.filters;
c.unique=l.uniqueSort;c.text=a;c.isXMLDoc=q;c.contains=y})();var Ga=/Until$/,Ha=/^(?:parents|prevUntil|prevAll)/,Ia=/,/,N=Array.prototype.slice,oa=function(a,b,f){if(c.isFunction(b))return c.grep(a,function(a,c){return!!b.call(a,c,a)===f});if(b.nodeType)return c.grep(a,function(a){return a===b===f});if("string"===typeof b){var i=c.grep(a,function(a){return 1===a.nodeType});if(Q.test(b))return c.filter(b,i,!f);b=c.filter(b,i)}return c.grep(a,function(a){return 0<=c.inArray(a,b)===f})};c.fn.extend({find:function(a){for(var b=
this.pushStack("","find",a),f=0,i=0,g=this.length;i<g;i++)if(f=b.length,c.find(a,this[i],b),0<i)for(var d=f;d<b.length;d++)for(var e=0;e<f;e++)if(b[e]===b[d]){b.splice(d--,1);break}return b},has:function(a){var b=c(a);return this.filter(function(){for(var a=0,i=b.length;a<i;a++)if(c.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(oa(this,a,!1),"not",a)},filter:function(a){return this.pushStack(oa(this,a,!0),"filter",a)},is:function(a){return!!a&&0<c.filter(a,this).length},closest:function(a,
b){if(c.isArray(a)){var f=[],i=this[0],g,d={},e;if(i&&a.length){g=0;for(var j=a.length;g<j;g++)e=a[g],d[e]||(d[e]=c.expr.match.POS.test(e)?c(e,b||this.context):e);for(;i&&i.ownerDocument&&i!==b;){for(e in d)if(g=d[e],g.jquery?-1<g.index(i):c(i).is(g))f.push({selector:e,elem:i}),delete d[e];i=i.parentNode}}return f}var h=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(f,g){for(;g&&g.ownerDocument&&g!==b;){if(h?-1<h.index(g):c(g).is(a))return g;g=g.parentNode}return null})},
index:function(a){return!a||"string"===typeof a?c.inArray(this[0],a?c(a):this.parent().children()):c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a="string"===typeof a?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(!a[0]||!a[0].parentNode||11===a[0].parentNode.nodeType||!b[0]||!b[0].parentNode||11===b[0].parentNode.nodeType?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&11!==a.nodeType?
a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,f){return c.dir(a,"parentNode",f)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,f){return c.dir(a,"nextSibling",f)},prevUntil:function(a,b,f){return c.dir(a,"previousSibling",f)},siblings:function(a){return c.sibling(a.parentNode.firstChild,
a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(f,i){var g=c.map(this,b,f);Ga.test(a)||(i=f);i&&"string"===typeof i&&(g=c.filter(i,g));g=1<this.length?c.unique(g):g;if((1<this.length||Ia.test(i))&&Ha.test(a))g=g.reverse();return this.pushStack(g,a,N.call(arguments).join(","))}});c.extend({filter:function(a,b,f){f&&(a=":not("+a+")");return c.find.matches(a,
b)},dir:function(a,b,f){for(var i=[],a=a[b];a&&9!==a.nodeType&&(f===e||1!==a.nodeType||!c(a).is(f));)1===a.nodeType&&i.push(a),a=a[b];return i},nth:function(a,b,c){for(var b=b||1,i=0;a&&!(1===a.nodeType&&++i===b);a=a[c]);return a},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}});var pa=/ jQuery\d+="(?:\d+|null)"/g,O=/^\s+/,qa=/(<([\w:]+)[^>]*?)\/>/g,Ja=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,ra=/<([\w:]+)/,Ka=/<tbody/i,La=/<|&#?\w+;/,
ba=/<script|<object|<embed|<option|<style/i,ca=/checked\s*(?:[^=]|=\s*.checked.)/i,sa=function(a,b,c){return Ja.test(c)?a:b+"></"+c+">"},A={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,"",""]};A.optgroup=A.option;A.tbody=A.tfoot=
A.colgroup=A.caption=A.thead;A.th=A.td;if(!c.support.htmlSerialize)A._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){return c.isFunction(a)?this.each(function(b){var f=c(this);f.text(a.call(this,b,f.text()))}):"object"!==typeof a&&a!==e?this.empty().append((this[0]&&this[0].ownerDocument||n).createTextNode(a)):c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapAll(a.call(this,b))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(!0);
this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var a=this;a.firstChild&&1===a.firstChild.nodeType;)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return c.isFunction(a)?this.each(function(b){c(this).wrapInner(a.call(this,b))}):this.each(function(){var b=c(this),f=b.contents();f.length?f.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||
c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){1===this.nodeType&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){1===this.nodeType&&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)});if(arguments.length){var a=c(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)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var f=0,i;null!=(i=this[f]);f++)if(!a||c.filter(a,[i]).length)!b&&1===i.nodeType&&(c.cleanData(i.getElementsByTagName("*")),c.cleanData([i])),i.parentNode&&i.parentNode.removeChild(i);return this},
empty:function(){for(var a=0,b;null!=(b=this[a]);a++)for(1===b.nodeType&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var a=this.outerHTML,b=this.ownerDocument;if(!a)a=b.createElement("div"),a.appendChild(this.cloneNode(!0)),a=a.innerHTML;return c.clean([a.replace(pa,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(O,"")],b)[0]}return this.cloneNode(!0)});
!0===a&&(x(this,b),x(this.find("*"),b.find("*")));return b},html:function(a){if(a===e)return this[0]&&1===this[0].nodeType?this[0].innerHTML.replace(pa,""):null;if("string"===typeof a&&!ba.test(a)&&(c.support.leadingWhitespace||!O.test(a))&&!A[(ra.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(qa,sa);try{for(var b=0,f=this.length;b<f;b++)if(1===this[b].nodeType)c.cleanData(this[b].getElementsByTagName("*")),this[b].innerHTML=a}catch(i){this.empty().append(a)}}else c.isFunction(a)?this.each(function(b){var f=
c(this),i=f.html();f.empty().append(function(){return a.call(this,b,i)})}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var f=c(this),i=f.html();f.replaceWith(a.call(this,b,i))});"string"!==typeof a&&(a=c(a).detach());return this.each(function(){var b=this.nextSibling,f=this.parentNode;c(this).remove();b?c(b).before(a):c(f).append(a)})}return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,
!0)},domManip:function(a,b,f){var i,g,d=a[0],j=[],h;if(!c.support.checkClone&&3===arguments.length&&"string"===typeof d&&ca.test(d))return this.each(function(){c(this).domManip(a,b,f,!0)});if(c.isFunction(d))return this.each(function(g){var i=c(this);a[0]=d.call(this,g,b?i.html():e);i.domManip(a,b,f)});if(this[0]){i=d&&d.parentNode;i=c.support.parentNode&&i&&11===i.nodeType&&i.childNodes.length===this.length?{fragment:i}:v(a,this,j);h=i.fragment;if(g=1===h.childNodes.length?h=h.firstChild:h.firstChild){b=
b&&c.nodeName(g,"tr");g=0;for(var l=this.length;g<l;g++)f.call(b?c.nodeName(this[g],"table")?this[g].getElementsByTagName("tbody")[0]||this[g].appendChild(this[g].ownerDocument.createElement("tbody")):this[g]:this[g],0<g||i.cacheable||1<this.length?h.cloneNode(!0):h)}j.length&&c.each(j,k)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(f){var i=[],f=c(f),g=1===this.length&&
this[0].parentNode;if(g&&11===g.nodeType&&1===g.childNodes.length&&1===f.length)return f[b](this[0]),this;for(var g=0,d=f.length;g<d;g++){var e=(0<g?this.clone(!0):this).get();c.fn[b].apply(c(f[g]),e);i=i.concat(e)}return this.pushStack(i,a,f.selector)}});c.extend({clean:function(a,b,f,i){b=b||n;"undefined"===typeof b.createElement&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||n);for(var g=[],d=0,e;null!=(e=a[d]);d++)if("number"===typeof e&&(e+=""),e){if("string"===typeof e&&!La.test(e))e=b.createTextNode(e);
else if("string"===typeof e){e=e.replace(qa,sa);var j=(ra.exec(e)||["",""])[1].toLowerCase(),h=A[j]||A._default,l=h[0],m=b.createElement("div");for(m.innerHTML=h[1]+e+h[2];l--;)m=m.lastChild;if(!c.support.tbody){l=Ka.test(e);j="table"===j&&!l?m.firstChild&&m.firstChild.childNodes:"<table>"===h[1]&&!l?m.childNodes:[];for(h=j.length-1;0<=h;--h)c.nodeName(j[h],"tbody")&&!j[h].childNodes.length&&j[h].parentNode.removeChild(j[h])}!c.support.leadingWhitespace&&O.test(e)&&m.insertBefore(b.createTextNode(O.exec(e)[0]),
m.firstChild);e=m.childNodes}e.nodeType?g.push(e):g=c.merge(g,e)}if(f)for(d=0;g[d];d++)i&&c.nodeName(g[d],"script")&&(!g[d].type||"text/javascript"===g[d].type.toLowerCase())?i.push(g[d].parentNode?g[d].parentNode.removeChild(g[d]):g[d]):(1===g[d].nodeType&&g.splice.apply(g,[d+1,0].concat(c.makeArray(g[d].getElementsByTagName("script")))),f.appendChild(g[d]));return g},cleanData:function(a){for(var b,f,i=c.cache,g=c.event.special,d=c.support.deleteExpando,e=0,j;null!=(j=a[e]);e++)if(f=j[c.expando]){b=
i[f];if(b.events)for(var h in b.events)g[h]?c.event.remove(j,h):ja(j,h,b.handle);d?delete j[c.expando]:j.removeAttribute&&j.removeAttribute(c.expando);delete i[f]}}});var Ma=/z-?index|font-?weight|opacity|zoom|line-?height/i,ta=/alpha\([^)]*\)/,ua=/opacity=([^)]*)/,W=/float/i,X=/-([a-z])/ig,Na=/([A-Z])/g,Oa=/^-?\d+(?:px)?$/i,Pa=/^-?\d/,Qa={position:"absolute",visibility:"hidden",display:"block"},Ra=["Left","Right"],Sa=["Top","Bottom"],Ta=n.defaultView&&n.defaultView.getComputedStyle,va=c.support.cssFloat?
"cssFloat":"styleFloat",Y=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return q(this,a,b,!0,function(a,b,g){if(g===e)return c.curCSS(a,b);"number"===typeof g&&!Ma.test(b)&&(g+="px");c.style(a,b,g)})};c.extend({style:function(a,b,f){if(!a||3===a.nodeType||8===a.nodeType)return e;if(("width"===b||"height"===b)&&0>parseFloat(f))f=e;var i=a.style||a,g=f!==e;if(!c.support.opacity&&"opacity"===b){if(g)i.zoom=1,b="NaN"===parseInt(f,10)+""?"":"alpha(opacity="+100*f+")",a=i.filter||c.curCSS(a,
"filter")||"",i.filter=ta.test(a)?a.replace(ta,b):b;return i.filter&&0<=i.filter.indexOf("opacity=")?parseFloat(ua.exec(i.filter)[1])/100+"":""}W.test(b)&&(b=va);b=b.replace(X,Y);g&&(i[b]=f);return i[b]},css:function(a,b,f,i){if("width"===b||"height"===b){var g,d="width"===b?Ra:Sa,f=function(){g="width"===b?a.offsetWidth:a.offsetHeight;"border"!==i&&c.each(d,function(){i||(g-=parseFloat(c.curCSS(a,"padding"+this,!0))||0);g="margin"===i?g+(parseFloat(c.curCSS(a,"margin"+this,!0))||0):g-(parseFloat(c.curCSS(a,
"border"+this+"Width",!0))||0)})};0!==a.offsetWidth?f():c.swap(a,Qa,f);return Math.max(0,Math.round(g))}return c.curCSS(a,b,f)},curCSS:function(a,b,f){var i,g=a.style;if(!c.support.opacity&&"opacity"===b&&a.currentStyle)return i=ua.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"",""===i?"1":i;W.test(b)&&(b=va);if(!f&&g&&g[b])i=g[b];else if(Ta){W.test(b)&&(b="float");b=b.replace(Na,"-$1").toLowerCase();g=a.ownerDocument.defaultView;if(!g)return null;if(a=g.getComputedStyle(a,null))i=
a.getPropertyValue(b);"opacity"===b&&""===i&&(i="1")}else if(a.currentStyle&&(f=b.replace(X,Y),i=a.currentStyle[b]||a.currentStyle[f],!Oa.test(i)&&Pa.test(i))){var b=g.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;g.left="fontSize"===f?"1em":i||0;i=g.pixelLeft+"px";g.left=b;a.runtimeStyle.left=d}return i},swap:function(a,b,c){var i={},g;for(g in b)i[g]=a.style[g],a.style[g]=b[g];c.call(a);for(g in b)a.style[g]=i[g]}});if(c.expr&&c.expr.filters)c.expr.filters.hidden=function(a){var b=
a.offsetWidth,f=a.offsetHeight,i="tr"===a.nodeName.toLowerCase();return 0===b&&0===f&&!i?!0:0<b&&0<f&&!i?!1:"none"===c.curCSS(a,"display")},c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)};var Ua=m(),Va=/<script(.|\s)*?\/script>/gi,Wa=/select|textarea/i,Xa=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,H=/=\?(&|$)/,Z=/\?/,Ya=/(\?|&)_=.*?(&|$)/,Za=/^(\w+:)?\/\/([^\/?#]+)/,$a=/%20/g,ab=c.fn.load;c.fn.extend({load:function(a,b,f){if("string"!==
typeof a)return ab.call(this,a);if(!this.length)return this;var i=a.indexOf(" ");if(0<=i)var g=a.slice(i,a.length),a=a.slice(0,i);i="GET";b&&(c.isFunction(b)?(f=b,b=null):"object"===typeof b&&(b=c.param(b,c.ajaxSettings.traditional),i="POST"));var d=this;c.ajax({url:a,type:i,dataType:"html",data:b,complete:function(a,b){if("success"===b||"notmodified"===b)d.html(g?c("<div />").append(a.responseText.replace(Va,"")).find(g):a.responseText);f&&d.each(f,[a.responseText,b,a])}});return this},serialize:function(){return c.param(this.serializeArray())},
serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||Wa.test(this.nodeName)||Xa.test(this.type))}).map(function(a,b){a=c(this).val();return null==a?null:c.isArray(a)?c.map(a,function(a){return{name:b.name,value:a}}):{name:b.name,value:a}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(a){return this.bind(b,
a)}});c.extend({get:function(a,b,f,i){c.isFunction(b)&&(i=i||f,f=b,b=null);return c.ajax({type:"GET",url:a,data:b,success:f,dataType:i})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,f){return c.get(a,b,f,"json")},post:function(a,b,f,i){c.isFunction(b)&&(i=i||f,f=b,b={});return c.ajax({type:"POST",url:a,data:b,success:f,dataType:i})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",
processData:!0,async:!0,xhr:d.XMLHttpRequest&&("file:"!==d.location.protocol||!d.ActiveXObject)?function(){return new d.XMLHttpRequest}:function(){try{return new d.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(a){function b(){g.success&&g.success.call(k,l,h,s);g.global&&i("ajaxSuccess",
[s,g])}function f(){g.complete&&g.complete.call(k,s,h);g.global&&i("ajaxComplete",[s,g]);g.global&&!--c.active&&c.event.trigger("ajaxStop")}function i(a,b){(g.context?c(g.context):c.event).trigger(a,b)}var g=c.extend(!0,{},c.ajaxSettings,a),j,h,l,k=a&&a.context||g,p=g.type.toUpperCase();if(g.data&&g.processData&&"string"!==typeof g.data)g.data=c.param(g.data,g.traditional);if("jsonp"===g.dataType){if("GET"===p)H.test(g.url)||(g.url+=(Z.test(g.url)?"&":"?")+(g.jsonp||"callback")+"=?");else if(!g.data||
!H.test(g.data))g.data=(g.data?g.data+"&":"")+(g.jsonp||"callback")+"=?";g.dataType="json"}if("json"===g.dataType&&(g.data&&H.test(g.data)||H.test(g.url))){j=g.jsonpCallback||"jsonp"+Ua++;if(g.data)g.data=(g.data+"").replace(H,"="+j+"$1");g.url=g.url.replace(H,"="+j+"$1");g.dataType="script";d[j]=d[j]||function(a){l=a;b();f();d[j]=e;try{delete d[j]}catch(c){}t&&t.removeChild(y)}}if("script"===g.dataType&&null===g.cache)g.cache=!1;if(!1===g.cache&&"GET"===p){var o=m(),w=g.url.replace(Ya,"$1_="+o+"$2");
g.url=w+(w===g.url?(Z.test(g.url)?"&":"?")+"_="+o:"")}g.data&&"GET"===p&&(g.url+=(Z.test(g.url)?"&":"?")+g.data);g.global&&!c.active++&&c.event.trigger("ajaxStart");o=(o=Za.exec(g.url))&&(o[1]&&o[1]!==location.protocol||o[2]!==location.host);if("script"===g.dataType&&"GET"===p&&o){var t=n.getElementsByTagName("head")[0]||n.documentElement,y=n.createElement("script");y.src=g.url;if(g.scriptCharset)y.charset=g.scriptCharset;if(!j){var q=!1;y.onload=y.onreadystatechange=function(){if(!q&&(!this.readyState||
"loaded"===this.readyState||"complete"===this.readyState))q=!0,b(),f(),y.onload=y.onreadystatechange=null,t&&y.parentNode&&t.removeChild(y)}}t.insertBefore(y,t.firstChild);return e}var u=!1,s=g.xhr();if(s){g.username?s.open(p,g.url,g.async,g.username,g.password):s.open(p,g.url,g.async);try{(g.data||a&&a.contentType)&&s.setRequestHeader("Content-Type",g.contentType),g.ifModified&&(c.lastModified[g.url]&&s.setRequestHeader("If-Modified-Since",c.lastModified[g.url]),c.etag[g.url]&&s.setRequestHeader("If-None-Match",
c.etag[g.url])),o||s.setRequestHeader("X-Requested-With","XMLHttpRequest"),s.setRequestHeader("Accept",g.dataType&&g.accepts[g.dataType]?g.accepts[g.dataType]+", */*":g.accepts._default)}catch(J){}if(g.beforeSend&&!1===g.beforeSend.call(k,s,g))return g.global&&!--c.active&&c.event.trigger("ajaxStop"),s.abort(),!1;g.global&&i("ajaxSend",[s,g]);var K=s.onreadystatechange=function(a){if(!s||0===s.readyState||"abort"===a){if(u||f(),u=!0,s)s.onreadystatechange=c.noop}else if(!u&&s&&(4===s.readyState||
"timeout"===a)){u=!0;s.onreadystatechange=c.noop;h="timeout"===a?"timeout":!c.httpSuccess(s)?"error":g.ifModified&&c.httpNotModified(s,g.url)?"notmodified":"success";var i;if("success"===h)try{l=c.httpData(s,g.dataType,g)}catch(d){h="parsererror",i=d}"success"===h||"notmodified"===h?j||b():c.handleError(g,s,h,i);f();"timeout"===a&&s.abort();g.async&&(s=null)}};try{var E=s.abort;s.abort=function(){s&&E.call(s);K("abort")}}catch(x){}g.async&&0<g.timeout&&setTimeout(function(){s&&!u&&K("timeout")},g.timeout);
try{s.send("POST"===p||"PUT"===p||"DELETE"===p?g.data:null)}catch(Q){c.handleError(g,s,null,Q),f()}g.async||K();return s}},handleError:function(a,b,f,i){a.error&&a.error.call(a.context||a,b,f,i);a.global&&(a.context?c(a.context):c.event).trigger("ajaxError",[b,a,i])},active:0,httpSuccess:function(a){try{return!a.status&&"file:"===location.protocol||200<=a.status&&300>a.status||304===a.status||1223===a.status||0===a.status}catch(b){}return!1},httpNotModified:function(a,b){var f=a.getResponseHeader("Last-Modified"),
i=a.getResponseHeader("Etag");f&&(c.lastModified[b]=f);i&&(c.etag[b]=i);return 304===a.status||0===a.status},httpData:function(a,b,f){var i=a.getResponseHeader("content-type")||"",g="xml"===b||!b&&0<=i.indexOf("xml"),a=g?a.responseXML:a.responseText;g&&"parsererror"===a.documentElement.nodeName&&c.error("parsererror");f&&f.dataFilter&&(a=f.dataFilter(a,b));"string"===typeof a&&("json"===b||!b&&0<=i.indexOf("json")?a=c.parseJSON(a):("script"===b||!b&&0<=i.indexOf("javascript"))&&c.globalEval(a));return a},
param:function(a,b){function f(a,g){c.isArray(g)?c.each(g,function(g,d){b||/\[\]$/.test(a)?i(a,d):f(a+"["+("object"===typeof d||c.isArray(d)?g:"")+"]",d)}):!b&&null!=g&&"object"===typeof g?c.each(g,function(b,c){f(a+"["+b+"]",c)}):i(a,g)}function i(a,b){b=c.isFunction(b)?b():b;g[g.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)}var g=[];if(b===e)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,function(){i(this.name,this.value)});else for(var d in a)f(d,a[d]);return g.join("&").replace($a,
"+")}});var $={},bb=/toggle|show|hide/,cb=/^([+-]=)?([\d+-.]+)(.*)$/,P,da=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a||0===a)return this.animate(t("show",3),a,b);a=0;for(b=this.length;a<b;a++){var f=c.data(this[a],"olddisplay");this[a].style.display=f||"";if("none"===c.css(this[a],"display")){var f=this[a].nodeName,i;if($[f])i=$[f];else{var g=c("<"+f+" />").appendTo("body");
i=g.css("display");"none"===i&&(i="block");g.remove();$[f]=i}c.data(this[a],"olddisplay",i)}}a=0;for(b=this.length;a<b;a++)this[a].style.display=c.data(this[a],"olddisplay")||"";return this},hide:function(a,b){if(a||0===a)return this.animate(t("hide",3),a,b);a=0;for(b=this.length;a<b;a++){var f=c.data(this[a],"olddisplay");!f&&"none"!==f&&c.data(this[a],"olddisplay",c.css(this[a],"display"))}a=0;for(b=this.length;a<b;a++)this[a].style.display="none";return this},_toggle:c.fn.toggle,toggle:function(a,
b){var f="boolean"===typeof a;c.isFunction(a)&&c.isFunction(b)?this._toggle.apply(this,arguments):null==a||f?this.each(function(){var b=f?a:c(this).is(":hidden");c(this)[b?"show":"hide"]()}):this.animate(t("toggle",3),a,b);return this},fadeTo:function(a,b,c){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c)},animate:function(a,b,f,i){var g=c.speed(b,f,i);return c.isEmptyObject(a)?this.each(g.complete):this[!1===g.queue?"each":"queue"](function(){var b=c.extend({},
g),f,i=1===this.nodeType&&c(this).is(":hidden"),d=this;for(f in a){var e=f.replace(X,Y);f!==e&&(a[e]=a[f],delete a[f],f=e);if("hide"===a[f]&&i||"show"===a[f]&&!i)return b.complete.call(this);if(("height"===f||"width"===f)&&this.style)b.display=c.css(this,"display"),b.overflow=this.style.overflow;if(c.isArray(a[f]))(b.specialEasing=b.specialEasing||{})[f]=a[f][1],a[f]=a[f][0]}if(null!=b.overflow)this.style.overflow="hidden";b.curAnim=c.extend({},a);c.each(a,function(f,g){var e=new c.fx(d,b,f);if(bb.test(g))e["toggle"===
g?i?"show":"hide":g](a);else{var j=cb.exec(g),h=e.cur(!0)||0;if(j){var g=parseFloat(j[2]),l=j[3]||"px";"px"!==l&&(d.style[f]=(g||1)+l,h*=(g||1)/e.cur(!0),d.style[f]=h+l);j[1]&&(g=("-="===j[1]?-1:1)*g+h);e.custom(h,g,l)}else e.custom(h,g,"")}});return!0})},stop:function(a,b){var f=c.timers;a&&this.queue([]);this.each(function(){for(var a=f.length-1;0<=a;a--)f[a].elem===this&&(b&&f[a](!0),f.splice(a,1))});b||this.dequeue();return this}});c.each({slideDown:t("show",1),slideUp:t("hide",1),slideToggle:t("toggle",
1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(a,c){return this.animate(b,a,c)}});c.extend({speed:function(a,b,f){var i=a&&"object"===typeof a?a:{complete:f||!f&&b||c.isFunction(a)&&a,duration:a,easing:f&&b||b&&!c.isFunction(b)&&b};i.duration=c.fx.off?0:"number"===typeof i.duration?i.duration:c.fx.speeds[i.duration]||c.fx.speeds._default;i.old=i.complete;i.complete=function(){!1!==i.queue&&c(this).dequeue();c.isFunction(i.old)&&i.old.call(this)};return i},easing:{linear:function(a,
b,c,i){return c+i*a},swing:function(a,b,c,i){return(-Math.cos(a*Math.PI)/2+0.5)*i+c}},timers:[],fx:function(a,b,c){this.options=b;this.elem=a;this.prop=c;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this);if(("height"===this.prop||"width"===this.prop)&&this.elem.style)this.elem.style.display="block"},cur:function(a){return null!=this.elem[this.prop]&&(!this.elem.style||null==
this.elem.style[this.prop])?this.elem[this.prop]:(a=parseFloat(c.css(this.elem,this.prop,a)))&&-1E4<a?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,f){function i(a){return g.step(a)}this.startTime=m();this.start=a;this.end=b;this.unit=f||this.unit||"px";this.now=this.start;this.pos=this.state=0;var g=this;i.elem=this.elem;i()&&c.timers.push(i)&&!P&&(P=setInterval(c.fx.tick,13))},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=!0;this.custom("width"===
this.prop||"height"===this.prop?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=!0;this.custom(this.cur(),0)},step:function(a){var b=m(),f=!0;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=!0;for(var i in this.options.curAnim)!0!==this.options.curAnim[i]&&(f=!1);if(f){if(null!=this.options.display&&(this.elem.style.overflow=this.options.overflow,
a=c.data(this.elem,"olddisplay"),this.elem.style.display=a?a:this.options.display,"none"===c.css(this.elem,"display")))this.elem.style.display="block";this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var g in this.options.curAnim)c.style(this.elem,g,this.options.orig[g]);this.options.complete.call(this.elem)}return!1}g=b-this.startTime;this.state=g/this.options.duration;a=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&
this.options.specialEasing[this.prop]||a](this.state,g,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update();return!0}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||c.fx.stop()},stop:function(){clearInterval(P);P=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&null!=a.elem.style[a.prop]?a.elem.style[a.prop]=("width"===
a.prop||"height"===a.prop?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};c.fn.offset="getBoundingClientRect"in n.documentElement?function(a){var b=this[0];if(a)return this.each(function(b){c.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var f=b.getBoundingClientRect(),i=b.ownerDocument,b=
i.body,i=i.documentElement;return{top:f.top+(self.pageYOffset||c.support.boxModel&&i.scrollTop||b.scrollTop)-(i.clientTop||b.clientTop||0),left:f.left+(self.pageXOffset||c.support.boxModel&&i.scrollLeft||b.scrollLeft)-(i.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(b){c.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();for(var f=b.offsetParent,i=b,g=b.ownerDocument,
d,e=g.documentElement,j=g.body,i=(g=g.defaultView)?g.getComputedStyle(b,null):b.currentStyle,h=b.offsetTop,l=b.offsetLeft;(b=b.parentNode)&&b!==j&&b!==e&&!(c.offset.supportsFixedPosition&&"fixed"===i.position);){d=g?g.getComputedStyle(b,null):b.currentStyle;h-=b.scrollTop;l-=b.scrollLeft;if(b===f){h+=b.offsetTop;l+=b.offsetLeft;if(c.offset.doesNotAddBorder&&(!c.offset.doesAddBorderForTableAndCells||!/^t(able|d|h)$/i.test(b.nodeName)))h+=parseFloat(d.borderTopWidth)||0,l+=parseFloat(d.borderLeftWidth)||
0;i=f;f=b.offsetParent}c.offset.subtractsBorderForOverflowNotVisible&&"visible"!==d.overflow&&(h+=parseFloat(d.borderTopWidth)||0,l+=parseFloat(d.borderLeftWidth)||0);i=d}if("relative"===i.position||"static"===i.position)h+=j.offsetTop,l+=j.offsetLeft;c.offset.supportsFixedPosition&&"fixed"===i.position&&(h+=Math.max(e.scrollTop,j.scrollTop),l+=Math.max(e.scrollLeft,j.scrollLeft));return{top:h,left:l}};c.offset={initialize:function(){var a=n.body,b=n.createElement("div"),f,i,g,d=parseFloat(c.curCSS(a,
"marginTop",!0))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.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(b,a.firstChild);f=b.firstChild;i=f.firstChild;
g=f.nextSibling.firstChild.firstChild;this.doesNotAddBorder=5!==i.offsetTop;this.doesAddBorderForTableAndCells=5===g.offsetTop;i.style.position="fixed";i.style.top="20px";this.supportsFixedPosition=20===i.offsetTop||15===i.offsetTop;i.style.position=i.style.top="";f.style.overflow="hidden";f.style.position="relative";this.subtractsBorderForOverflowNotVisible=-5===i.offsetTop;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==d;a.removeChild(b);c.offset.initialize=c.noop},bodyOffset:function(a){var b=
a.offsetTop,f=a.offsetLeft;c.offset.initialize();c.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(c.curCSS(a,"marginTop",!0))||0,f+=parseFloat(c.curCSS(a,"marginLeft",!0))||0);return{top:b,left:f}},setOffset:function(a,b,f){if(/static/.test(c.curCSS(a,"position")))a.style.position="relative";var i=c(a),g=i.offset(),d=parseInt(c.curCSS(a,"top",!0),10)||0,e=parseInt(c.curCSS(a,"left",!0),10)||0;c.isFunction(b)&&(b=b.call(a,f,g));f={top:b.top-g.top+d,left:b.left-g.left+e};"using"in b?b.using.call(a,
f):i.css(f)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),f=this.offset(),i=/^body|html$/i.test(b[0].nodeName)?{top:0,left:0}:b.offset();f.top-=parseFloat(c.curCSS(a,"marginTop",!0))||0;f.left-=parseFloat(c.curCSS(a,"marginLeft",!0))||0;i.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",!0))||0;i.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",!0))||0;return{top:f.top-i.top,left:f.left-i.left}},offsetParent:function(){return this.map(function(){for(var a=
this.offsetParent||n.body;a&&!/^body|html$/i.test(a.nodeName)&&"static"===c.css(a,"position");)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var f="scroll"+b;c.fn[f]=function(b){var g=this[0],d;return!g?null:b!==e?this.each(function(){(d=w(this))?d.scrollTo(!a?b:c(d).scrollLeft(),a?b:c(d).scrollTop()):this[f]=b}):(d=w(g))?"pageXOffset"in d?d[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&d.document.documentElement[f]||d.document.body[f]:g[f]}});c.each(["Height","Width"],function(a,
b){var f=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],f,!1,"padding"):null};c.fn["outer"+b]=function(a){return this[0]?c.css(this[0],f,!1,a?"margin":"border"):null};c.fn[f]=function(a){var g=this[0];return!g?null==a?null:this:c.isFunction(a)?this.each(function(b){var g=c(this);g[f](a.call(this,b,g[f]()))}):"scrollTo"in g&&g.document?"CSS1Compat"===g.document.compatMode&&g.document.documentElement["client"+b]||g.document.body["client"+b]:9===g.nodeType?Math.max(g.documentElement["client"+
b],g.body["scroll"+b],g.documentElement["scroll"+b],g.body["offset"+b],g.documentElement["offset"+b]):a===e?c.css(g,f):this.css(f,"string"===typeof a?a:a+"px")}});d.jQuery=d.$=c})(window);(function(d,e,h){function k(d){d=d||location.href;return"#"+d.replace(/^[^#]*#?(.*)$/,"$1")}var q="hashchange",m=document,p,j=d.event.special,l=m.documentMode,o="on"+q in e&&(l===h||7<l);d.fn[q]=function(d){return d?this.bind(q,d):this.trigger(q)};d.fn[q].delay=50;j[q]=d.extend(j[q],{setup:function(){if(o)return!1;d(p.start)},teardown:function(){if(o)return!1;d(p.stop)}});p=function(){function j(){var h=k(),l=s(t);if(h!==t)c(t=h,l),d(e).trigger(q);else if(l!==t)location.href=location.href.replace(/#.*/,
"")+l;p=setTimeout(j,d.fn[q].delay)}var l={},p,t=k(),w=function(c){return c},c=w,s=w;l.start=function(){p||j()};l.stop=function(){p&&clearTimeout(p);p=h};d.browser.msie&&!o&&function(){var e,h;l.start=function(){if(!e)h=(h=d.fn[q].src)&&h+k(),e=d('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){h||c(k());j()}).attr("src",h||"javascript:0").insertAfter("body")[0].contentWindow,m.onpropertychange=function(){try{if("title"===event.propertyName)e.document.title=m.title}catch(c){}}};
l.stop=w;s=function(){return k(e.location.href)};c=function(c,j){var h=e.document,l=d.fn[q].domain;if(c!==j)h.title=m.title,h.open(),l&&h.write('<script>document.domain="'+l+'"<\/script>'),h.close(),e.location.hash=c}}();return l}()})(jQuery,this);Date.CultureInfo={name:"en-US",englishName:"English (United States)",nativeName:"English (United States)",dayNames:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","),abbreviatedDayNames:"Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(","),shortestDayNames:"Su,Mo,Tu,We,Th,Fr,Sa".split(","),firstLetterDayNames:"S,M,T,W,T,F,S".split(","),monthNames:"January,February,March,April,May,June,July,August,September,October,November,December".split(","),abbreviatedMonthNames:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","),
amDesignator:"AM",pmDesignator:"PM",firstDayOfWeek:0,twoDigitYearMax:2029,dateElementOrder:"mdy",formatPatterns:{shortDate:"M/d/yyyy",longDate:"dddd, MMMM dd, yyyy",shortTime:"h:mm tt",longTime:"h:mm:ss tt",fullDateTime:"dddd, MMMM dd, yyyy h:mm:ss tt",sortableDateTime:"yyyy-MM-ddTHH:mm:ss",universalSortableDateTime:"yyyy-MM-dd HH:mm:ssZ",rfc1123:"ddd, dd MMM yyyy HH:mm:ss GMT",monthDay:"MMMM dd",yearMonth:"MMMM, yyyy"},regexPatterns:{jan:/^jan(uary)?/i,feb:/^feb(ruary)?/i,mar:/^mar(ch)?/i,apr:/^apr(il)?/i,
may:/^may/i,jun:/^jun(e)?/i,jul:/^jul(y)?/i,aug:/^aug(ust)?/i,sep:/^sep(t(ember)?)?/i,oct:/^oct(ober)?/i,nov:/^nov(ember)?/i,dec:/^dec(ember)?/i,sun:/^su(n(day)?)?/i,mon:/^mo(n(day)?)?/i,tue:/^tu(e(s(day)?)?)?/i,wed:/^we(d(nesday)?)?/i,thu:/^th(u(r(s(day)?)?)?)?/i,fri:/^fr(i(day)?)?/i,sat:/^sa(t(urday)?)?/i,future:/^next/i,past:/^last|past|prev(ious)?/i,add:/^(\+|after|from)/i,subtract:/^(\-|before|ago)/i,yesterday:/^yesterday/i,today:/^t(oday)?/i,tomorrow:/^tomorrow/i,now:/^n(ow)?/i,millisecond:/^ms|milli(second)?s?/i,
second:/^sec(ond)?s?/i,minute:/^min(ute)?s?/i,hour:/^h(ou)?rs?/i,week:/^w(ee)?k/i,month:/^m(o(nth)?s?)?/i,day:/^d(ays?)?/i,year:/^y((ea)?rs?)?/i,shortMeridian:/^(a|p)/i,longMeridian:/^(a\.?m?\.?|p\.?m?\.?)/i,timezone:/^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt)/i,ordinalSuffix:/^\s*(st|nd|rd|th)/i,timeContext:/^\s*(\:|a|p)/i},abbreviatedTimeZoneStandard:{GMT:"-000",EST:"-0400",CST:"-0500",MST:"-0600",PST:"-0700"},abbreviatedTimeZoneDST:{GMT:"-000",EDT:"-0500",CDT:"-0600",
MDT:"-0700",PDT:"-0800"}};Date.getMonthNumberFromName=function(d){for(var e=Date.CultureInfo.monthNames,h=Date.CultureInfo.abbreviatedMonthNames,d=d.toLowerCase(),k=0;k<e.length;k++)if(e[k].toLowerCase()==d||h[k].toLowerCase()==d)return k;return-1};Date.getDayNumberFromName=function(d){for(var e=Date.CultureInfo.dayNames,h=Date.CultureInfo.abbreviatedDayNames,d=d.toLowerCase(),k=0;k<e.length;k++)if(e[k].toLowerCase()==d||h[k].toLowerCase()==d)return k;return-1};
Date.isLeapYear=function(d){return 0===d%4&&0!==d%100||0===d%400};Date.getDaysInMonth=function(d,e){return[31,Date.isLeapYear(d)?29:28,31,30,31,30,31,31,30,31,30,31][e]};Date.getTimezoneOffset=function(d,e){return e?Date.CultureInfo.abbreviatedTimeZoneDST[d.toUpperCase()]:Date.CultureInfo.abbreviatedTimeZoneStandard[d.toUpperCase()]};
Date.getTimezoneAbbreviation=function(d,e){var h=e?Date.CultureInfo.abbreviatedTimeZoneDST:Date.CultureInfo.abbreviatedTimeZoneStandard,k;for(k in h)if(h[k]===d)return k;return null};Date.prototype.clone=function(){return new Date(this.getTime())};Date.prototype.compareTo=function(d){if(isNaN(this))throw Error(this);if(d instanceof Date&&!isNaN(d))return this>d?1:this<d?-1:0;throw new TypeError(d);};Date.prototype.equals=function(d){return 0===this.compareTo(d)};
Date.prototype.between=function(d,e){var h=this.getTime();return h>=d.getTime()&&h<=e.getTime()};Date.prototype.addMilliseconds=function(d){this.setMilliseconds(this.getMilliseconds()+d);return this};Date.prototype.addSeconds=function(d){return this.addMilliseconds(1E3*d)};Date.prototype.addMinutes=function(d){return this.addMilliseconds(6E4*d)};Date.prototype.addHours=function(d){return this.addMilliseconds(36E5*d)};Date.prototype.addDays=function(d){return this.addMilliseconds(864E5*d)};
Date.prototype.addWeeks=function(d){return this.addMilliseconds(6048E5*d)};Date.prototype.addMonths=function(d){var e=this.getDate();this.setDate(1);this.setMonth(this.getMonth()+d);this.setDate(Math.min(e,this.getDaysInMonth()));return this};Date.prototype.addYears=function(d){return this.addMonths(12*d)};
Date.prototype.add=function(d){if("number"==typeof d)return this._orient=d,this;if(d.millisecond||d.milliseconds)this.addMilliseconds(d.millisecond||d.milliseconds);if(d.second||d.seconds)this.addSeconds(d.second||d.seconds);if(d.minute||d.minutes)this.addMinutes(d.minute||d.minutes);if(d.hour||d.hours)this.addHours(d.hour||d.hours);if(d.month||d.months)this.addMonths(d.month||d.months);if(d.year||d.years)this.addYears(d.year||d.years);if(d.day||d.days)this.addDays(d.day||d.days);return this};
Date._validate=function(d,e,h,k){if("number"!=typeof d)throw new TypeError(d+" is not a Number.");if(d<e||d>h)throw new RangeError(d+" is not a valid value for "+k+".");return!0};Date.validateMillisecond=function(d){return Date._validate(d,0,999,"milliseconds")};Date.validateSecond=function(d){return Date._validate(d,0,59,"seconds")};Date.validateMinute=function(d){return Date._validate(d,0,59,"minutes")};Date.validateHour=function(d){return Date._validate(d,0,23,"hours")};
Date.validateDay=function(d,e,h){return Date._validate(d,1,Date.getDaysInMonth(e,h),"days")};Date.validateMonth=function(d){return Date._validate(d,0,11,"months")};Date.validateYear=function(d){return Date._validate(d,1,9999,"seconds")};
Date.prototype.set=function(d){if(!d.millisecond&&0!==d.millisecond)d.millisecond=-1;if(!d.second&&0!==d.second)d.second=-1;if(!d.minute&&0!==d.minute)d.minute=-1;if(!d.hour&&0!==d.hour)d.hour=-1;if(!d.day&&0!==d.day)d.day=-1;if(!d.month&&0!==d.month)d.month=-1;if(!d.year&&0!==d.year)d.year=-1;-1!=d.millisecond&&Date.validateMillisecond(d.millisecond)&&this.addMilliseconds(d.millisecond-this.getMilliseconds());-1!=d.second&&Date.validateSecond(d.second)&&this.addSeconds(d.second-this.getSeconds());
-1!=d.minute&&Date.validateMinute(d.minute)&&this.addMinutes(d.minute-this.getMinutes());-1!=d.hour&&Date.validateHour(d.hour)&&this.addHours(d.hour-this.getHours());-1!==d.month&&Date.validateMonth(d.month)&&this.addMonths(d.month-this.getMonth());-1!=d.year&&Date.validateYear(d.year)&&this.addYears(d.year-this.getFullYear());-1!=d.day&&Date.validateDay(d.day,this.getFullYear(),this.getMonth())&&this.addDays(d.day-this.getDate());d.timezone&&this.setTimezone(d.timezone);d.timezoneOffset&&this.setTimezoneOffset(d.timezoneOffset);
return this};Date.prototype.clearTime=function(){this.setHours(0);this.setMinutes(0);this.setSeconds(0);this.setMilliseconds(0);return this};Date.prototype.isLeapYear=function(){var d=this.getFullYear();return 0===d%4&&0!==d%100||0===d%400};Date.prototype.isWeekday=function(){return!(this.is().sat()||this.is().sun())};Date.prototype.getDaysInMonth=function(){return Date.getDaysInMonth(this.getFullYear(),this.getMonth())};Date.prototype.moveToFirstDayOfMonth=function(){return this.set({day:1})};
Date.prototype.moveToLastDayOfMonth=function(){return this.set({day:this.getDaysInMonth()})};Date.prototype.moveToDayOfWeek=function(d,e){var h=(d-this.getDay()+7*(e||1))%7;return this.addDays(0===h?h+7*(e||1):h)};Date.prototype.moveToMonth=function(d,e){var h=(d-this.getMonth()+12*(e||1))%12;return this.addMonths(0===h?h+12*(e||1):h)};Date.prototype.getDayOfYear=function(){return Math.floor((this-new Date(this.getFullYear(),0,1))/864E5)};
Date.prototype.getWeekOfYear=function(d){var e=this.getFullYear(),h=this.getMonth(),k=this.getDate(),d=d||Date.CultureInfo.firstDayOfWeek,q=8-(new Date(e,0,1)).getDay();8==q&&(q=1);h=(Date.UTC(e,h,k,0,0,0)-Date.UTC(e,0,1,0,0,0))/864E5+1;h=Math.floor((h-q+7)/7);h===d&&(e--,e=8-(new Date(e,0,1)).getDay(),h=2==e||8==e?53:52);return h};Date.prototype.isDST=function(){console.log("isDST");return"D"==this.toString().match(/(E|C|M|P)(S|D)T/)[2]};
Date.prototype.getTimezone=function(){return Date.getTimezoneAbbreviation(this.getUTCOffset,this.isDST())};Date.prototype.setTimezoneOffset=function(d){var e=this.getTimezoneOffset();this.addMinutes(-6*Number(d)/10-e);return this};Date.prototype.setTimezone=function(d){return this.setTimezoneOffset(Date.getTimezoneOffset(d))};Date.prototype.getUTCOffset=function(){var d=-10*this.getTimezoneOffset()/6;if(0>d)return d=(d-1E4).toString(),d[0]+d.substr(2);d=(d+1E4).toString();return"+"+d.substr(1)};
Date.prototype.getDayName=function(d){return d?Date.CultureInfo.abbreviatedDayNames[this.getDay()]:Date.CultureInfo.dayNames[this.getDay()]};Date.prototype.getMonthName=function(d){return d?Date.CultureInfo.abbreviatedMonthNames[this.getMonth()]:Date.CultureInfo.monthNames[this.getMonth()]};Date.prototype._toString=Date.prototype.toString;
Date.prototype.toString=function(d){var e=this,h=function(d){return 1==d.toString().length?"0"+d:d};return d?d.replace(/dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|zz?z?/g,function(d){switch(d){case "hh":return h(13>e.getHours()?e.getHours():e.getHours()-12);case "h":return 13>e.getHours()?e.getHours():e.getHours()-12;case "HH":return h(e.getHours());case "H":return e.getHours();case "mm":return h(e.getMinutes());case "m":return e.getMinutes();case "ss":return h(e.getSeconds());case "s":return e.getSeconds();
case "yyyy":return e.getFullYear();case "yy":return e.getFullYear().toString().substring(2,4);case "dddd":return e.getDayName();case "ddd":return e.getDayName(!0);case "dd":return h(e.getDate());case "d":return e.getDate().toString();case "MMMM":return e.getMonthName();case "MMM":return e.getMonthName(!0);case "MM":return h(e.getMonth()+1);case "M":return e.getMonth()+1;case "t":return 12>e.getHours()?Date.CultureInfo.amDesignator.substring(0,1):Date.CultureInfo.pmDesignator.substring(0,1);case "tt":return 12>
e.getHours()?Date.CultureInfo.amDesignator:Date.CultureInfo.pmDesignator;case "zzz":case "zz":case "z":return""}}):this._toString()};Date.now=function(){return new Date};Date.today=function(){return Date.now().clearTime()};Date.prototype._orient=1;Date.prototype.next=function(){this._orient=1;return this};Date.prototype.last=Date.prototype.prev=Date.prototype.previous=function(){this._orient=-1;return this};Date.prototype._is=!1;Date.prototype.is=function(){this._is=!0;return this};
Number.prototype._dateElement="day";Number.prototype.fromNow=function(){var d={};d[this._dateElement]=this;return Date.now().add(d)};Number.prototype.ago=function(){var d={};d[this._dateElement]=-1*this;return Date.now().add(d)};
(function(){for(var d=Date.prototype,e=Number.prototype,h="sunday monday tuesday wednesday thursday friday saturday".split(/\s/),k="january february march april may june july august september october november december".split(/\s/),q="Millisecond Second Minute Hour Day Week Month Year".split(/\s/),m=function(d){return function(){return this._is?(this._is=!1,this.getDay()==d):this.moveToDayOfWeek(d,this._orient)}},p=0;p<h.length;p++)d[h[p]]=d[h[p].substring(0,3)]=m(p);h=function(d){return function(){return this._is?
(this._is=!1,this.getMonth()===d):this.moveToMonth(d,this._orient)}};for(m=0;m<k.length;m++)d[k[m]]=d[k[m].substring(0,3)]=h(m);h=function(d){return function(){"s"!=d.substring(d.length-1)&&(d+="s");return this["add"+d](this._orient)}};m=function(d){return function(){this._dateElement=d;return this}};for(p=0;p<q.length;p++)k=q[p].toLowerCase(),d[k]=d[k+"s"]=h(q[p]),e[k]=e[k+"s"]=m(k)})();Date.prototype.toJSONString=function(){return this.toString("yyyy-MM-ddThh:mm:ssZ")};
Date.prototype.toShortDateString=function(){return this.toString(Date.CultureInfo.formatPatterns.shortDatePattern)};Date.prototype.toLongDateString=function(){return this.toString(Date.CultureInfo.formatPatterns.longDatePattern)};Date.prototype.toShortTimeString=function(){return this.toString(Date.CultureInfo.formatPatterns.shortTimePattern)};Date.prototype.toLongTimeString=function(){return this.toString(Date.CultureInfo.formatPatterns.longTimePattern)};
Date.prototype.getOrdinal=function(){switch(this.getDate()){case 1:case 21:case 31:return"st";case 2:case 22:return"nd";case 3:case 23:return"rd";default:return"th"}};
(function(){Date.Parsing={Exception:function(d){this.message="Parse error at '"+d.substring(0,10)+" ...'"}};for(var d=Date.Parsing,e=d.Operators={rtoken:function(e){return function(h){var j=h.match(e);if(j)return[j[0],h.substring(j[0].length)];throw new d.Exception(h);}},token:function(){return function(d){return e.rtoken(RegExp("^s*"+d+"s*"))(d)}},stoken:function(d){return e.rtoken(RegExp("^"+d))},until:function(d){return function(e){for(var j=[],h=null;e.length;){try{h=d.call(this,e)}catch(k){j.push(h[0]);
e=h[1];continue}break}return[j,e]}},many:function(d){return function(e){for(var j=[],h=null;e.length;){try{h=d.call(this,e)}catch(k){break}j.push(h[0]);e=h[1]}return[j,e]}},optional:function(d){return function(e){var j=null;try{j=d.call(this,e)}catch(h){return[null,e]}return[j[0],j[1]]}},not:function(e){return function(h){try{e.call(this,h)}catch(j){return[null,h]}throw new d.Exception(h);}},ignore:function(d){return d?function(e){var j=null,j=d.call(this,e);return[null,j[1]]}:null},product:function(){for(var d=
arguments[0],h=Array.prototype.slice.call(arguments,1),j=[],l=0;l<d.length;l++)j.push(e.each(d[l],h));return j},cache:function(e){var h={},j=null;return function(l){try{j=h[l]=h[l]||e.call(this,l)}catch(k){j=h[l]=k}if(j instanceof d.Exception)throw j;return j}},any:function(){var e=arguments;return function(h){for(var j=null,l=0;l<e.length;l++)if(null!=e[l]){try{j=e[l].call(this,h)}catch(k){j=null}if(j)return j}throw new d.Exception(h);}},each:function(){var e=arguments;return function(h){for(var j=
[],l=null,k=0;k<e.length;k++)if(null!=e[k]){try{l=e[k].call(this,h)}catch(q){throw new d.Exception(h);}j.push(l[0]);h=l[1]}return[j,h]}},all:function(){var d=d;return d.each(d.optional(arguments))},sequence:function(h,k,j){k=k||e.rtoken(/^\s*/);j=j||null;return 1==h.length?h[0]:function(e){for(var o=null,q=null,x=[],v=0;v<h.length;v++){try{o=h[v].call(this,e)}catch(t){break}x.push(o[0]);try{q=k.call(this,o[1])}catch(w){q=null;break}e=q[1]}if(!o)throw new d.Exception(e);if(q)throw new d.Exception(q[1]);
if(j)try{o=j.call(this,o[1])}catch(c){throw new d.Exception(o[1]);}return[x,o?o[1]:e]}},between:function(d,h,j){var j=j||d,l=e.each(e.ignore(d),h,e.ignore(j));return function(d){d=l.call(this,d);return[[d[0][0],r[0][2]],d[1]]}},list:function(d,h,j){h=h||e.rtoken(/^\s*/);j=j||null;return d instanceof Array?e.each(e.product(d.slice(0,-1),e.ignore(h)),d.slice(-1),e.ignore(j)):e.each(e.many(e.each(d,e.ignore(h))),px,e.ignore(j))},set:function(h,k,j){k=k||e.rtoken(/^\s*/);j=j||null;return function(l){for(var o=
null,q=o=null,x=null,v=[[],l],t=!1,w=0;w<h.length;w++){o=q=null;t=1==h.length;try{o=h[w].call(this,l)}catch(c){continue}x=[[o[0]],o[1]];if(0<o[1].length&&!t)try{q=k.call(this,o[1])}catch(s){t=!0}else t=!0;!t&&0===q[1].length&&(t=!0);if(!t){o=[];for(t=0;t<h.length;t++)w!=t&&o.push(h[t]);o=e.set(o,k).call(this,q[1]);0<o[0].length&&(x[0]=x[0].concat(o[0]),x[1]=o[1])}x[1].length<v[1].length&&(v=x);if(0===v[1].length)break}if(0===v[0].length)return v;if(j){try{q=j.call(this,v[1])}catch(y){throw new d.Exception(v[1]);
}v[1]=q[1]}return v}},forward:function(d,e){return function(j){return d[e].call(this,j)}},replace:function(d,e){return function(j){j=d.call(this,j);return[e,j[1]]}},process:function(d,e){return function(j){j=d.call(this,j);return[e.call(this,j[0]),j[1]]}},min:function(e,h){return function(j){var l=h.call(this,j);if(l[0].length<e)throw new d.Exception(j);return l}}},h=function(d){return function(){var e=null,h=[];1<arguments.length?e=Array.prototype.slice.call(arguments):arguments[0]instanceof Array&&
(e=arguments[0]);if(e)for(var l=e.shift();0<l.length;)return e.unshift(l[0]),h.push(d.apply(null,e)),e.shift(),h;else return d.apply(null,arguments)}},k="optional not ignore cache".split(/\s/),q=0;q<k.length;q++)e[k[q]]=h(e[k[q]]);h=function(d){return function(){return arguments[0]instanceof Array?d.apply(null,arguments[0]):d.apply(null,arguments)}};k="each any all".split(/\s/);for(q=0;q<k.length;q++)e[k[q]]=h(e[k[q]])})();
(function(){var d=function(e){for(var h=[],k=0;k<e.length;k++)e[k]instanceof Array?h=h.concat(d(e[k])):e[k]&&h.push(e[k]);return h};Date.Grammar={};Date.Translator={hour:function(d){return function(){this.hour=Number(d)}},minute:function(d){return function(){this.minute=Number(d)}},second:function(d){return function(){this.second=Number(d)}},meridian:function(d){return function(){this.meridian=d.slice(0,1).toLowerCase()}},timezone:function(d){return function(){var e=d.replace(/[^\d\+\-]/g,"");e.length?
this.timezoneOffset=Number(e):this.timezone=d.toLowerCase()}},day:function(d){var e=d[0];return function(){this.day=Number(e.match(/\d+/)[0])}},month:function(d){return function(){this.month=3==d.length?Date.getMonthNumberFromName(d):Number(d)-1}},year:function(d){return function(){var e=Number(d);this.year=2<d.length?e:e+(e+2E3<Date.CultureInfo.twoDigitYearMax?2E3:1900)}},rday:function(d){return function(){switch(d){case "yesterday":this.days=-1;break;case "tomorrow":this.days=1;break;case "today":this.days=
0;break;case "now":this.days=0,this.now=!0}}},finishExact:function(d){var d=d instanceof Array?d:[d],e=new Date;this.year=e.getFullYear();this.month=e.getMonth();this.day=1;for(e=this.second=this.minute=this.hour=0;e<d.length;e++)d[e]&&d[e].call(this);this.hour="p"==this.meridian&&13>this.hour?this.hour+12:this.hour;if(this.day>Date.getDaysInMonth(this.year,this.month))throw new RangeError(this.day+" is not a valid value for days.");d=new Date(this.year,this.month,this.day,this.hour,this.minute,this.second);
this.timezone?d.set({timezone:this.timezone}):this.timezoneOffset&&d.set({timezoneOffset:this.timezoneOffset});return d},finish:function(e){e=e instanceof Array?d(e):[e];if(0===e.length)return null;for(var h=0;h<e.length;h++)"function"==typeof e[h]&&e[h].call(this);if(this.now)return new Date;e=Date.today();if(null!=this.days||this.orient||this.operator){var k,m;m="past"==this.orient||"subtract"==this.operator?-1:1;if(this.weekday)this.unit="day",h=Date.getDayNumberFromName(this.weekday)-e.getDay(),
k=7,this.days=h?(h+m*k)%k:m*k;if(this.month)this.unit="month",h=this.month-e.getMonth(),k=12,this.months=h?(h+m*k)%k:m*k,this.month=null;if(!this.unit)this.unit="day";if(null==this[this.unit+"s"]||null!=this.operator){if(!this.value)this.value=1;if("week"==this.unit)this.unit="day",this.value*=7;this[this.unit+"s"]=this.value*m}return e.add(this)}if(this.meridian&&this.hour)this.hour=13>this.hour&&"p"==this.meridian?this.hour+12:this.hour;if(this.weekday&&!this.day)this.day=e.addDays(Date.getDayNumberFromName(this.weekday)-
e.getDay()).getDate();if(this.month&&!this.day)this.day=1;return e.set(this)}};var e=Date.Parsing.Operators,h=Date.Grammar,k=Date.Translator,q;h.datePartDelimiter=e.rtoken(/^([\s\-\.\,\/\x27]+)/);h.timePartDelimiter=e.stoken(":");h.whiteSpace=e.rtoken(/^\s*/);h.generalDelimiter=e.rtoken(/^(([\s\,]|at|on)+)/);var m={};h.ctoken=function(d){var h=m[d];if(!h){for(var h=Date.CultureInfo.regexPatterns,k=d.split(/\s+/),q=[],p=0;p<k.length;p++)q.push(e.replace(e.rtoken(h[k[p]]),k[p]));h=m[d]=e.any.apply(null,
q)}return h};h.ctoken2=function(d){return e.rtoken(Date.CultureInfo.regexPatterns[d])};h.h=e.cache(e.process(e.rtoken(/^(0[0-9]|1[0-2]|[1-9])/),k.hour));h.hh=e.cache(e.process(e.rtoken(/^(0[0-9]|1[0-2])/),k.hour));h.H=e.cache(e.process(e.rtoken(/^([0-1][0-9]|2[0-3]|[0-9])/),k.hour));h.HH=e.cache(e.process(e.rtoken(/^([0-1][0-9]|2[0-3])/),k.hour));h.m=e.cache(e.process(e.rtoken(/^([0-5][0-9]|[0-9])/),k.minute));h.mm=e.cache(e.process(e.rtoken(/^[0-5][0-9]/),k.minute));h.s=e.cache(e.process(e.rtoken(/^([0-5][0-9]|[0-9])/),
k.second));h.ss=e.cache(e.process(e.rtoken(/^[0-5][0-9]/),k.second));h.hms=e.cache(e.sequence([h.H,h.mm,h.ss],h.timePartDelimiter));h.t=e.cache(e.process(h.ctoken2("shortMeridian"),k.meridian));h.tt=e.cache(e.process(h.ctoken2("longMeridian"),k.meridian));h.z=e.cache(e.process(e.rtoken(/^(\+|\-)?\s*\d\d\d\d?/),k.timezone));h.zz=e.cache(e.process(e.rtoken(/^(\+|\-)\s*\d\d\d\d/),k.timezone));h.zzz=e.cache(e.process(h.ctoken2("timezone"),k.timezone));h.timeSuffix=e.each(e.ignore(h.whiteSpace),e.set([h.tt,
h.zzz]));h.time=e.each(e.optional(e.ignore(e.stoken("T"))),h.hms,h.timeSuffix);h.d=e.cache(e.process(e.each(e.rtoken(/^([0-2]\d|3[0-1]|\d)/),e.optional(h.ctoken2("ordinalSuffix"))),k.day));h.dd=e.cache(e.process(e.each(e.rtoken(/^([0-2]\d|3[0-1])/),e.optional(h.ctoken2("ordinalSuffix"))),k.day));h.ddd=h.dddd=e.cache(e.process(h.ctoken("sun mon tue wed thu fri sat"),function(d){return function(){this.weekday=d}}));h.M=e.cache(e.process(e.rtoken(/^(1[0-2]|0\d|\d)/),k.month));h.MM=e.cache(e.process(e.rtoken(/^(1[0-2]|0\d)/),
k.month));h.MMM=h.MMMM=e.cache(e.process(h.ctoken("jan feb mar apr may jun jul aug sep oct nov dec"),k.month));h.y=e.cache(e.process(e.rtoken(/^(\d\d?)/),k.year));h.yy=e.cache(e.process(e.rtoken(/^(\d\d)/),k.year));h.yyy=e.cache(e.process(e.rtoken(/^(\d\d?\d?\d?)/),k.year));h.yyyy=e.cache(e.process(e.rtoken(/^(\d\d\d\d)/),k.year));q=function(){return e.each(e.any.apply(null,arguments),e.not(h.ctoken2("timeContext")))};h.day=q(h.d,h.dd);h.month=q(h.M,h.MMM);h.year=q(h.yyyy,h.yy);h.orientation=e.process(h.ctoken("past future"),
function(d){return function(){this.orient=d}});h.operator=e.process(h.ctoken("add subtract"),function(d){return function(){this.operator=d}});h.rday=e.process(h.ctoken("yesterday tomorrow today now"),k.rday);h.unit=e.process(h.ctoken("minute hour day week month year"),function(d){return function(){this.unit=d}});h.value=e.process(e.rtoken(/^\d\d?(st|nd|rd|th)?/),function(d){return function(){this.value=d.replace(/\D/g,"")}});h.expression=e.set([h.rday,h.operator,h.value,h.unit,h.orientation,h.ddd,
h.MMM]);q=function(){return e.set(arguments,h.datePartDelimiter)};h.mdy=q(h.ddd,h.month,h.day,h.year);h.ymd=q(h.ddd,h.year,h.month,h.day);h.dmy=q(h.ddd,h.day,h.month,h.year);h.date=function(d){return(h[Date.CultureInfo.dateElementOrder]||h.mdy).call(this,d)};h.format=e.process(e.many(e.any(e.process(e.rtoken(/^(dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|zz?z?)/),function(d){if(h[d])return h[d];throw Date.Parsing.Exception(d);}),e.process(e.rtoken(/^[^dMyhHmstz]+/),function(d){return e.ignore(e.stoken(d))}))),
function(d){return e.process(e.each.apply(null,d),k.finishExact)});var p={};h.formats=function(d){if(d instanceof Array){for(var k=[],m=0;m<d.length;m++)k.push(p[d[m]]=p[d[m]]||h.format(d[m])[0]);return e.any.apply(null,k)}return p[d]=p[d]||h.format(d)[0]};h._formats=h.formats(["yyyy-MM-ddTHH:mm:ss","ddd, MMM dd, yyyy H:mm:ss tt","ddd MMM d yyyy HH:mm:ss zzz","d"]);h._start=e.process(e.set([h.date,h.time,h.expression],h.generalDelimiter,h.whiteSpace),k.finish);h.start=function(d){try{var e=h._formats.call({},
d);if(0===e[1].length)return e}catch(k){}return h._start.call({},d)}})();Date._parse=Date.parse;Date.parse=function(d){var e=null;if(!d)return null;try{e=Date.Grammar.start.call({},d)}catch(h){return null}return 0===e[1].length?e[0]:null};Date.getParseFunction=function(d){var e=Date.Grammar.formats(d);return function(d){var k=null;try{k=e.call({},d)}catch(q){return null}return 0===k[1].length?k[0]:null}};Date.parseExact=function(d,e){return Date.getParseFunction(e)(d)};window.JsViews||window.jQuery&&jQuery.views||function(d,e){function h(d,e,c,h,k){var l=c&&c.ctx,c=c||{viewsCount:0};return{jsViews:"v1.0pre",path:e||"",itemNumber:++c.viewsCount||1,viewsCount:0,tmpl:k,data:h||c.data||{},ctx:d&&d===l?l:l?j.extend({},l,d):d,parent:c}}function k(d){function e(j){if(j-=c)if(j=d.substr(c,j).replace(/\n/g,"\\n"),h)m.push(j);else{if(!j.split('"').length%2)return x;(j+" ").replace(/([\w\$\.\[\]]+|(\\?['"])(.*?)\2)(?=\s)|([\w\$\.\[\]]+)\=([\w\$\.\[\]]+|\\(['"]).*?\\\6)(?=\s)/g,
function(c,d,e,h,j,k){m.push(d?d:[j,k])})}}var c=0,h=x,j=[],k=[],m=k,o=[,,k],d=d.replace(/\\'|'/g,"\\'").replace(/\\"|"/g,'\\"').split(/\s+/g).join(" ").replace(/^\s+/,"").replace(/\s+$/,"");d.replace(/(?:\{\{(?:(\#)?([\w\$\.\[\]]+(?=[\s\}!]))|([^\/\*\>$\w\s\d\x7f\x00-\x1f](?=[\s\w\$\[]))|\*((?:[^\}]|\}(?!\}))+)\}\}))|(!(\w*))?(\}\})|(?:\{\{\/([\w\$\.\[\]]+)\}\})/g,function(d,k,n,t,q,p,v,u,M,G){n=n||t;h&&u||e(G)||(q?l.allowCode&&m.push(["*",q.replace(/\\(['"])/g,"$1")]):n?("else"===n&&(o=j.pop(),
m=o[2],k=x),j.push(o),m.push(o=[n,[],k&&1])):u?(o[3]=p?v||"none":"",o[2]?o[2]=[]:o=j.pop()):M&&(o=j.pop()),c=G+d.length,h=!n&&o[2]&&1!==o[2],m=o[h?2:1])});e(d.length);return q(k)}function q(d){function e(d,h){if(""+d===d)return'"'+d+'"';if(3>d.length)return t=(h[0]&&",")+d[0]+":",h[0]+=t+e(d[1]),h[1]+=t+d[1],u;var j,m,o,p,s,t,y;j=d[0];s=d[1];t=d[3];if("="===j){if(0<k||1!==s.length)return"";s=s[0];(j=/^((?:\$view|\$data|\$(itemNumber)|\$(ctx))(?:$|\.))?[\w\.]*$/.exec(s))?(j=j[1]?j[2]||j[3]?"$view."+
s.slice(1):s:"$data."+s,"none"!==t&&(j="html("+j+")")):j='tag("=","'+s+'",$view,"'+t+'")'}else{j='tag("'+j+'",';k++;y=["",""];for(m=0,o=s.length;m<o;m++)p=e(s[m],y),j+=p?p+",":"";s=y[0];k--;(c=d[2])&&l.push(q(c));j+='$view,"'+(t?t:k?"string":"")+'"'+(s?",{ json:'{"+y[1]+"}',"+s+"}":"")+(c?","+l.length:"");j+=")"}return j}for(var c,h,j=x,k=0,l=[],m=0,o=d.length,p='var tag=$.views.renderTag,html=$.views.encode.html,\nresult=""+';m<o;m++)j=x,h=d[m],"*"===h[0]?p=p.slice(0,-1)+";"+h[1]+"result+=":(p+=
e(h)+"+",j=x);d=new Function("$data, $view",p.slice(0,j?-1:-8)+";\nreturn result;");d.nested=l;return d}function m(d){return escapeMapForHtml[d]||(escapeMapForHtml[d]="&#"+d.charCodeAt(0)+";")}function p(d){try{return j(d)}catch(e){}return d}var j,l,o,u=!1,x=!0,v=d.jQuery;htmlExpr=/^[^<]*(<[\w\W]+>)[^>]*$|\{\{\! /;stack=[];autoName=0;escapeMapForHtml={"&":"&amp;","<":"&lt;",">":"&gt;"};htmlSpecialChar=/[\x00"&'<>]/g;slice=Array.prototype.slice;v?(j=v,j.fn.extend({render:function(d,e,c,h){return o(this[0],
d,e,c,h)},template:function(d,e){return j.template(d,this[0],e)}})):d.JsViews=d.$=j={extend:function(d,h){h===e&&(h=d,d=j);for(var c in h)d[c]=h[c];return d},map:function(d,e){var c,h=[],k=0,l=d.length;if(j.isArray(d))for(;k<l;k++)c=e(d[k],k),null!=c&&h.push(c);return h.concat.apply([],h)},isArray:Array.isArray||function(d){return"[object Array]"===Object.prototype.toString.call(d)}};j.extend({views:l={templates:{},tags:{},allowCode:u,renderTag:function(d){function e(c){var a;var d,h;if(/^(['"]).*\1$/.test(c))c=
c.slice(1,-1);else if(""+c===c){c=c.split(".");for(d="$"===c[0].charAt(0)?(h=c.shift().slice(1),"view"===h?k:k[h]):k.data;d&&1<c.length;)d=d[c.shift()];a=(c=c[0])?d&&d[c]:d,c=a}return[c]}var c,h,k,n,m,o,p="",q="",v=0,u=slice.call(arguments,1),x=l.tags[d];n=u.pop();+n===n&&(c=n,n=u.pop());""+n!==n&&(m=n,n=u.pop());k=u.pop();c=c&&k.tmpl.nested[c-1];if(o=u.length)q=u.toString(),u=j.map(u,e);if(m){p=m.json;delete m.json;m.content&&(c=c||e(m.content)[0],delete m.content);for(h in m)v++,m[h]=e(m[h])[0];
v&&u.push(m)}c&&u.push(c);o&&u.push(q);v&&u.push(p);u.push(n);c=x&&(x.apply(k,u)||"");return"string"===n?'"'+c+'"':c},registerTags:function w(c,d){if("object"===typeof c)for(var e in c)w(e,c[e]);else l.tags[c]=d;return this},encode:{none:function(d){return d},html:function(d){return(""+d).replace(htmlSpecialChar,m)},string:function(d){return'"'+d+'"'}}},render:o=function(d,c,e,k,n){var m,o,p,q,u="";if(2===arguments.length&&c.jsViews)k=c,e=k.ctx,c=k.data;d=j.template(d);if(!d)return"";if(j.isArray(c)){q=
h(e,n,k,c);for(m=0,o=c.length;m<o;m++)p=(p=c[m])?d(p,h(e,n,q,p,d)):"",u+=l.activeViews?"<\!--item--\>"+p+"<\!--/item--\>":p}else u+=d(c,h(e,n,k,c,d));return l.activeViews?"<\!--tmpl("+(n||"")+") "+d._name+"--\>"+u+"<\!--/tmpl--\>":u},template:function(d,c){if(c){""+c===c?c=k(c):v&&c instanceof j&&(c=c[0]);if(c)v&&c.nodeType&&(c=j.data(c,"tmpl")||j.data(c,"tmpl",k(c.innerHTML))),l.templates[c._name=c._name||d||"_"+autoName++]=c;return c}return d?""+d!==d?d._name?d:j.template(null,d):l.templates[d]||
j.template(null,htmlExpr.test(d)?d:p(d)):null}});l.registerTags({"if":function(){function d(h){for(var j=0,k=h.length-3;-1<k&&!h[j++];)if(j===k)return"";c.onElse=e;return o(h[0>k?0:k],c.data,c.context,c)}var c=this;c.onElse=function(){return d(arguments)};return d(arguments)},"else":function(){return this.onElse?this.onElse.apply(this,arguments):""},each:function(){for(var d="",c=arguments,e=0,h=c.length-1,j=c[h-2],k=c[h-1];e<h-2;e++)d+=c[e]?o(j,c[e],this.context,this,k):"";return d},"*":function(d){return d}})}(window); 
