jquery-mobile/js/jquery.min.js
2010-10-07 11:30:48 -04:00

160 lines
73 KiB
JavaScript

/*!
* jQuery JavaScript Library v1.4.3pre
* http://jquery.com/
*
* Copyright 2010, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2010, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
*
* Date: Wed Sep 22 09:16:28 2010 -0400
*/
(function(F,B){function T(){return false}function $(){return true}function ha(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function Da(a){var b,d,f=[],h=[],i,n,l,o,v,w,A,E;n=c.data(this,"events");if(!(a.liveFired===this||!n||!n.live||a.button&&a.type==="click")){if(a.namespace)E=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)");a.liveFired=this;var x=n.live.slice(0);for(o=0;o<x.length;o++){n=x[o];n.origType.replace(W,"")===a.type?h.push(n.selector):x.splice(o--,1)}i=
c(a.target).closest(h,a.currentTarget);v=0;for(w=i.length;v<w;v++){A=i[v];for(o=0;o<x.length;o++){n=x[o];if(A.selector===n.selector&&(!E||E.test(n.namespace))){l=A.elem;h=null;if(n.preType==="mouseenter"||n.preType==="mouseleave"){a.type=n.preType;h=c(a.relatedTarget).closest(n.selector)[0]}if(!h||h!==l)f.push({elem:l,handleObj:n,level:A.level})}}}v=0;for(w=f.length;v<w;v++){i=f[v];if(d&&i.level>d)break;a.currentTarget=i.elem;a.data=i.handleObj.data;a.handleObj=i.handleObj;ret=i.handleObj.origHandler.apply(i.elem,
arguments);if(ret===false||a.isPropagationStopped()){d=i.level;if(ret===false)b=false}}return b}}function X(a,b){return(a&&a!=="*"?a+".":"")+b.replace(Ea,"`").replace(U,"&")}function ia(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function ja(a,b,d){if(c.isFunction(b))return c.grep(a,function(h,i){return!!b.call(h,i,h)===d});else if(b.nodeType)return c.grep(a,function(h){return h===b===d});else if(typeof b==="string"){var f=c.grep(a,function(h){return h.nodeType===1});if(Fa.test(b))return c.filter(b,
f,!d);else b=c.filter(b,f)}return c.grep(a,function(h){return c.inArray(h,b)>=0===d})}function Ga(a){return c.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function ka(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var f=c.data(a[d++]),h=c.data(this,f);if(f=f&&f.events){delete h.handle;h.events={};for(var i in f)for(var n in f[i])c.event.add(this,i,f[i][n],f[i][n].data)}}})}function Ha(a,b){b.src?c.ajax({url:b.src,
async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function la(a,b,d){var f=b==="width"?a.offsetWidth:a.offsetHeight;if(d==="border")return f;c.each(b==="width"?Ia:Ja,function(){d||(f-=parseFloat(c.css(a,"padding"+this))||0);if(d==="margin")f+=parseFloat(c.css(a,"margin"+this))||0;else f-=parseFloat(c.css(a,"border"+this+"Width"))||0});return f}function aa(a,b,d,f){if(c.isArray(b))c.each(b,function(h,i){d||Ka.test(a)?f(a,
i):aa(a+"["+(typeof i==="object"||c.isArray(i)?h:"")+"]",i,d,f)});else!d&&b!=null&&typeof b==="object"?c.each(b,function(h,i){aa(a+"["+h+"]",i,d,f)}):f(a,b)}function Q(a,b){var d={};c.each(ma.concat.apply([],ma.slice(0,b)),function(){d[this]=a});return d}function ba(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var t=F.document,c=function(){function a(){if(!b.isReady){try{t.documentElement.doScroll("left")}catch(k){setTimeout(a,1);return}b.ready()}}var b=
function(k,q){return new b.fn.init(k,q)},d=F.jQuery,f=F.$,h,i=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w-]+)$)/,n=/\S/,l=/^\s+/,o=/\s+$/,v=/\W/,w=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,A=/^[\],:{}\s]*$/,E=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,x=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,I=/(?:^|:|,)(?:\s*\[)+/g,L=/(webkit)[ \/]([\w.]+)/,R=/(opera)(?:.*version)?[ \/]([\w.]+)/,g=/(msie) ([\w.]+)/,j=/(mozilla)(?:.*? rv:([\w.]+))?/,m=navigator.userAgent,p=false,r=[],s,u=Object.prototype.toString,
z=Object.prototype.hasOwnProperty,D=Array.prototype.push,O=Array.prototype.slice,N=String.prototype.trim,P=Array.prototype.indexOf;b.fn=b.prototype={init:function(k,q){var y,C;if(!k)return this;if(k.nodeType){this.context=this[0]=k;this.length=1;return this}if(k==="body"&&!q){this.context=t;this[0]=t.body;this.selector="body";this.length=1;return this}if(typeof k==="string")if((y=i.exec(k))&&(y[1]||!q))if(y[1]){C=q?q.ownerDocument||q:t;if(k=w.exec(k))if(b.isPlainObject(q)){k=[t.createElement(k[1])];
b.fn.attr.call(k,q,true)}else k=[C.createElement(k[1])];else{k=b.buildFragment([y[1]],[C]);k=(k.cacheable?k.fragment.cloneNode(true):k.fragment).childNodes}return b.merge(this,k)}else{if((q=t.getElementById(y[2]))&&q.parentNode){if(q.id!==y[2])return h.find(k);this.length=1;this[0]=q}this.context=t;this.selector=k;return this}else if(!q&&!v.test(k)){this.selector=k;this.context=t;k=t.getElementsByTagName(k);return b.merge(this,k)}else return!q||q.jquery?(q||h).find(k):b(q).find(k);else if(b.isFunction(k))return h.ready(k);
if(k.selector!==B){this.selector=k.selector;this.context=k.context}return b.makeArray(k,this)},selector:"",jquery:"1.4.3pre",length:0,size:function(){return this.length},toArray:function(){return O.call(this,0)},get:function(k){return k==null?this.toArray():k<0?this.slice(k)[0]:this[k]},pushStack:function(k,q,y){var C=b();b.isArray(k)?D.apply(C,k):b.merge(C,k);C.prevObject=this;C.context=this.context;if(q==="find")C.selector=this.selector+(this.selector?" ":"")+y;else if(q)C.selector=this.selector+
"."+q+"("+y+")";return C},each:function(k,q){return b.each(this,k,q)},ready:function(k){b.bindReady();if(b.isReady)k.call(t,b);else r&&r.push(k);return this},eq:function(k){return k===-1?this.slice(k):this.slice(k,+k+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(O.apply(this,arguments),"slice",O.call(arguments).join(","))},map:function(k){return this.pushStack(b.map(this,function(q,y){return k.call(q,y,q)}))},end:function(){return this.prevObject||
b(null)},push:D,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var k=arguments[0]||{},q=1,y=arguments.length,C=false,G,H,K,J;if(typeof k==="boolean"){C=k;k=arguments[1]||{};q=2}if(typeof k!=="object"&&!b.isFunction(k))k={};if(y===q){k=this;--q}for(;q<y;q++)if((G=arguments[q])!=null)for(H in G){K=k[H];J=G[H];if(k!==J)if(C&&J&&(b.isPlainObject(J)||b.isArray(J))){K=K&&(b.isPlainObject(K)||b.isArray(K))?K:b.isArray(J)?[]:{};k[H]=b.extend(C,K,J)}else if(J!==B)k[H]=
J}return k};b.extend({noConflict:function(k){F.$=f;if(k)F.jQuery=d;return b},isReady:false,readyWait:1,ready:function(k){k===true&&b.readyWait--;if(!b.readyWait||k!==true&&!b.isReady){if(!t.body)return setTimeout(b.ready,13);b.isReady=true;if(!(k!==true&&--b.readyWait>0)){if(r){for(var q=0;k=r[q++];)k.call(t,b);r=null}b.fn.triggerHandler&&b(t).triggerHandler("ready")}}},bindReady:function(){if(!p){p=true;if(t.readyState==="complete")return b.ready();if(t.addEventListener){t.addEventListener("DOMContentLoaded",
s,false);F.addEventListener("load",b.ready,false)}else if(t.attachEvent){t.attachEvent("onreadystatechange",s);F.attachEvent("onload",b.ready);var k=false;try{k=F.frameElement==null}catch(q){}t.documentElement.doScroll&&k&&a()}}},isFunction:function(k){return b.type(k)==="function"},isArray:Array.isArray||function(k){return b.type(k)==="array"},type:function(k){return k==null?String(k):u.call(k).slice(8,-1).toLowerCase()},isPlainObject:function(k){if(!k||b.type(k)!=="object"||k.nodeType||k.setInterval)return false;
if(k.constructor&&!z.call(k,"constructor")&&!z.call(k.constructor.prototype,"isPrototypeOf"))return false;var q;for(q in k);return q===B||z.call(k,q)},isEmptyObject:function(k){for(var q in k)return false;return true},error:function(k){throw k;},parseJSON:function(k){if(typeof k!=="string"||!k)return null;k=b.trim(k);if(A.test(k.replace(E,"@").replace(x,"]").replace(I,"")))return F.JSON&&F.JSON.parse?F.JSON.parse(k):(new Function("return "+k))();else b.error("Invalid JSON: "+k)},noop:function(){},
globalEval:function(k){if(k&&n.test(k)){var q=t.getElementsByTagName("head")[0]||t.documentElement,y=t.createElement("script");y.type="text/javascript";if(b.support.scriptEval)y.appendChild(t.createTextNode(k));else y.text=k;q.insertBefore(y,q.firstChild);q.removeChild(y)}},nodeName:function(k,q){return k.nodeName&&k.nodeName.toUpperCase()===q.toUpperCase()},each:function(k,q,y){var C,G=0,H=k.length,K=H===B||b.isFunction(k);if(y)if(K)for(C in k){if(q.apply(k[C],y)===false)break}else for(;G<H;){if(q.apply(k[G++],
y)===false)break}else if(K)for(C in k){if(q.call(k[C],C,k[C])===false)break}else for(y=k[0];G<H&&q.call(y,G,y)!==false;y=k[++G]);return k},trim:N?function(k){return k==null?"":N.call(k)}:function(k){return k==null?"":k.toString().replace(l,"").replace(o,"")},makeArray:function(k,q){q=q||[];if(k!=null){var y=b.type(k);k.length==null||y==="string"||y==="function"||y==="regexp"||"setInterval"in k?D.call(q,k):b.merge(q,k)}return q},inArray:function(k,q){if(q.indexOf)return q.indexOf(k);for(var y=0,C=
q.length;y<C;y++)if(q[y]===k)return y;return-1},merge:function(k,q){var y=k.length,C=0;if(typeof q.length==="number")for(var G=q.length;C<G;C++)k[y++]=q[C];else for(;q[C]!==B;)k[y++]=q[C++];k.length=y;return k},grep:function(k,q,y){var C=[],G;y=!!y;for(var H=0,K=k.length;H<K;H++){G=!!q(k[H],H);y!==G&&C.push(k[H])}return C},map:function(k,q,y){for(var C=[],G,H=0,K=k.length;H<K;H++){G=q(k[H],H,y);if(G!=null)C[C.length]=G}return C.concat.apply([],C)},guid:1,proxy:function(k,q,y){if(arguments.length===
2)if(typeof q==="string"){y=k;k=y[q];q=B}else if(q&&!b.isFunction(q)){y=q;q=B}if(!q&&k)q=function(){return k.apply(y||this,arguments)};if(k)q.guid=k.guid=k.guid||q.guid||b.guid++;return q},access:function(k,q,y,C,G,H){var K=k.length;if(typeof q==="object"){for(var J in q)b.access(k,J,q[J],C,G,y);return k}if(y!==B){C=!H&&C&&b.isFunction(y);for(J=0;J<K;J++)G(k[J],q,C?y.call(k[J],J,G(k[J],q)):y,H);return k}return K?G(k[0],q):B},now:function(){return(new Date).getTime()},uaMatch:function(k){k=k.toLowerCase();
k=L.exec(k)||R.exec(k)||g.exec(k)||k.indexOf("compatible")<0&&j.exec(k)||[];return{browser:k[1]||"",version:k[2]||"0"}},browser:{}});m=b.uaMatch(m);if(m.browser){b.browser[m.browser]=true;b.browser.version=m.version}if(b.browser.webkit)b.browser.safari=true;if(P)b.inArray=function(k,q){return P.call(q,k)};if(!/\s/.test("\u00a0")){l=/^[\s\xA0]+/;o=/[\s\xA0]+$/}h=b(t);if(t.addEventListener)s=function(){t.removeEventListener("DOMContentLoaded",s,false);b.ready()};else if(t.attachEvent)s=function(){if(t.readyState===
"complete"){t.detachEvent("onreadystatechange",s);b.ready()}};return F.jQuery=F.$=b}();(function(){c.support={};var a=t.documentElement,b=t.createElement("script"),d=t.createElement("div"),f="script"+c.now();d.style.display="none";d.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var h=d.getElementsByTagName("*"),i=d.getElementsByTagName("a")[0];if(!(!h||!h.length||!i)){c.support={leadingWhitespace:d.firstChild.nodeType===3,
tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(i.getAttribute("style")),hrefNormalized:i.getAttribute("href")==="/a",opacity:/^0.55$/.test(i.style.opacity),cssFloat:!!i.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:t.createElement("select").appendChild(t.createElement("option")).selected,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(t.createTextNode("window."+
f+"=1;"))}catch(n){}a.insertBefore(b,a.firstChild);if(F[f]){c.support.scriptEval=true;delete F[f]}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function l(){c.support.noCloneEvent=false;d.detachEvent("onclick",l)});d.cloneNode(true).fireEvent("onclick")}d=t.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=t.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;
c(function(){var l=t.createElement("div");l.style.width=l.style.paddingLeft="1px";t.body.appendChild(l);c.boxModel=c.support.boxModel=l.offsetWidth===2;t.body.removeChild(l).style.display="none"});a=function(l){var o=t.createElement("div");l="on"+l;var v=l in o;if(!v){o.setAttribute(l,"return;");v=typeof o[l]==="function"}return v};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=h=i=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",
cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var na={},La=/^(?:\{.*\}|\[.*\])$/,Ma=/\d/;c.extend({cache:{},uuid:0,expando:"jQuery"+c.now(),noData:{embed:true,object:true,applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==F?na:a;var f=a[c.expando],h=c.cache,i=a.nodeType,n;if(!(!f&&typeof b==="string"&&d===B)){if(i)f||(a[c.expando]=f=++c.uuid);else{h=a;f=c.expando}if(typeof b===
"object")if(i)h[f]=c.extend(true,{},b);else{n=c.extend(true,{},b);h[f]=function(){return n}}else if(!h[f])if(i)h[f]={};else{n={};h[f]=function(){return n}}a=i?h[f]:h[f]();if(d!==B)a[b]=d;return typeof b==="string"?a[b]:a}}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==F?na:a;var d=a.nodeType,f=a[c.expando],h=c.cache;if(f&&!d)f=f();var i=h[f];if(b){if(i){delete i[b];c.isEmptyObject(i)&&c.removeData(a)}}else{if(c.support.deleteExpando||!d)delete a[c.expando];else a.removeAttribute&&
a.removeAttribute(c.expando);d&&delete h[f]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===B){var f=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(f===B&&this.length){f=c.data(this[0],a);if(f===B&&this[0].nodeType===1){f=this[0].getAttribute("data-"+a);if(typeof f==="string")try{f=f==="true"?true:f==="false"?false:f==="null"?
null:Ma.test(f)&&!isNaN(f)?parseFloat(f):La.test(f)?c.parseJSON(f):f}catch(h){}else f=B}}return f===B&&d[1]?this.data(d[0]):f}else return this.each(function(){var i=c(this),n=[d[0],b];i.triggerHandler("setData"+d[1]+"!",n);c.data(this,a,b);i.triggerHandler("changeData"+d[1]+"!",n)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var f=c.data(a,b);if(!d)return f||[];if(!f||c.isArray(d))f=c.data(a,b,c.makeArray(d));
else f.push(d);return f}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),f=d.shift();if(f==="inprogress")f=d.shift();if(f){b==="fx"&&d.unshift("inprogress");f.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===B)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&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 d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var oa=/[\n\t]/g,U=/\s+/,Na=/\r/g,Oa=/^(?:href|src|style)$/,Pa=/^(?:button|input)$/i,Qa=/^(?:button|input|object|select|textarea)$/i,Ra=/^a(?:rea)?$/i,pa=/^(?:radio|checkbox)$/i;c.fn.extend({attr:function(a,b){return c.access(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===
1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(v){var w=c(this);w.addClass(a.call(this,v,w.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(U),d=0,f=this.length;d<f;d++){var h=this[d];if(h.nodeType===1)if(h.className){for(var i=" "+h.className+" ",n=h.className,l=0,o=b.length;l<o;l++)if(i.indexOf(" "+b[l]+" ")<0)n+=" "+b[l];h.className=c.trim(n)}else h.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(o){var v=
c(this);v.removeClass(a.call(this,o,v.attr("class")))});if(a&&typeof a==="string"||a===B)for(var b=(a||"").split(U),d=0,f=this.length;d<f;d++){var h=this[d];if(h.nodeType===1&&h.className)if(a){for(var i=(" "+h.className+" ").replace(oa," "),n=0,l=b.length;n<l;n++)i=i.replace(" "+b[n]+" "," ");h.className=c.trim(i)}else h.className=""}return this},toggleClass:function(a,b){var d=typeof a,f=typeof b==="boolean";if(c.isFunction(a))return this.each(function(h){var i=c(this);i.toggleClass(a.call(this,
h,i.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var h,i=0,n=c(this),l=b,o=a.split(U);h=o[i++];){l=f?l:!n.hasClass(h);n[l?"addClass":"removeClass"](h)}else if(d==="undefined"||d==="boolean"){this.className&&c.data(this,"__className__",this.className);this.className=this.className||a===false?"":c.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if((" "+this[b].className+" ").replace(oa," ").indexOf(a)>-1)return true;return false},
val:function(a){if(a===B){var b=this[0];if(b){if(c.nodeName(b,"option")){var d=b.attributes.value;return!d||d.specified?b.value:b.text}if(c.nodeName(b,"select")){var f=b.selectedIndex;d=[];var h=b.options;b=b.type==="select-one";if(f<0)return null;var i=b?f:0;for(f=b?f+1:h.length;i<f;i++){var n=h[i];if(n.selected){a=c(n).val();if(b)return a;d.push(a)}}return d}if(pa.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Na,"")}return B}var l=
c.isFunction(a);return this.each(function(o){var v=c(this),w=a;if(this.nodeType===1){if(l)w=a.call(this,o,v.val());if(typeof w==="number")w+="";if(c.isArray(w)&&pa.test(this.type))this.checked=c.inArray(v.val(),w)>=0;else if(c.nodeName(this,"select")){var A=c.makeArray(w);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),A)>=0});if(!A.length)this.selectedIndex=-1}else this.value=w}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},
attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return B;if(f&&b in c.attrFn)return c(a)[b](d);f=a.nodeType!==1||!c.isXMLDoc(a);var h=d!==B;b=f&&c.props[b]||b;if(a.nodeType===1){var i=Oa.test(b);if((b in a||a[b]!==B)&&f&&!i){if(h){b==="type"&&Pa.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:
Qa.test(a.nodeName)||Ra.test(a.nodeName)&&a.href?0:B;return a[b]}if(!c.support.style&&f&&b==="style"){if(h)a.style.cssText=""+d;return a.style.cssText}h&&a.setAttribute(b,""+d);if(!a.attributes[b]&&!a.hasAttribute(b))return B;a=!c.support.hrefNormalized&&f&&i?a.getAttribute(b,2):a.getAttribute(b);return a===null?B:a}}});var W=/\.(.*)$/,ca=/^(?:textarea|input|select)$/i,Ea=/\./g;U=/ /g;var Sa=/[^\w\s.|`]/g,Ta=function(a){return a.replace(Sa,"\\$&")};c.event={add:function(a,b,d,f){if(!(a.nodeType===
3||a.nodeType===8)){if(a.setInterval&&a!==F&&!a.frameElement)a=F;if(d===false)d=T;var h,i;if(d.handler){h=d;d=h.handler}if(!d.guid)d.guid=c.guid++;if(i=c.data(a)){var n=i.events=i.events||{},l=i.handle;if(!l)i.handle=l=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(l.elem,arguments):B};l.elem=a;b=b.split(" ");for(var o,v=0,w;o=b[v++];){i=h?c.extend({},h):{handler:d,data:f};if(o.indexOf(".")>-1){w=o.split(".");o=w.shift();i.namespace=w.slice(0).sort().join(".")}else{w=
[];i.namespace=""}i.type=o;if(!i.guid)i.guid=d.guid;var A=n[o],E=c.event.special[o]||{};if(!A){A=n[o]=[];if(!E.setup||E.setup.call(a,f,w,l)===false)if(a.addEventListener)a.addEventListener(o,l,false);else a.attachEvent&&a.attachEvent("on"+o,l)}if(E.add){E.add.call(a,i);if(!i.handler.guid)i.handler.guid=d.guid}A.push(i);c.event.global[o]=true}a=null}}},global:{},remove:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if(d===false)d=T;var h,i,n=0,l,o,v,w,A,E,x=c.data(a),I=x&&x.events;if(x&&I){if(b&&
b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(h in I)c.event.remove(a,h+b)}else{for(b=b.split(" ");h=b[n++];){w=h;l=h.indexOf(".")<0;o=[];if(!l){o=h.split(".");h=o.shift();v=new RegExp("(^|\\.)"+c.map(o.slice(0).sort(),Ta).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(A=I[h])if(d){w=c.event.special[h]||{};for(i=f||0;i<A.length;i++){E=A[i];if(d.guid===E.guid){if(l||v.test(E.namespace)){f==null&&A.splice(i--,1);w.remove&&w.remove.call(a,E)}if(f!=null)break}}if(A.length===
0||f!=null&&A.length===1){if(!w.teardown||w.teardown.call(a,o)===false)c.removeEvent(a,h,x.handle);delete I[h]}}else for(i=0;i<A.length;i++){E=A[i];if(l||v.test(E.namespace)){c.event.remove(a,w,E.handler,i);A.splice(i--,1)}}}if(c.isEmptyObject(I)){if(b=x.handle)b.elem=null;delete x.events;delete x.handle;c.isEmptyObject(x)&&c.removeData(a)}}}}},trigger:function(a,b,d,f){var h=a.type||a;if(!f){a=typeof a==="object"?a[c.expando]?a:c.extend(c.Event(h),a):c.Event(h);if(h.indexOf("!")>=0){a.type=h=h.slice(0,
-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[h]&&c.each(c.cache,function(){this.events&&this.events[h]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return B;a.result=B;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(f=c.data(d,"handle"))&&f.apply(d,b);f=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+h]&&d["on"+h].apply(d,b)===false)a.result=false}catch(i){}if(!a.isPropagationStopped()&&
f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){f=a.target;var n,l=h.replace(W,""),o=c.nodeName(f,"a")&&l==="click",v=c.event.special[l]||{};if((!v._default||v._default.call(d,a)===false)&&!o&&!(f&&f.nodeName&&c.noData[f.nodeName.toLowerCase()])){try{if(f[l]){if(n=f["on"+l])f["on"+l]=null;c.event.triggered=true;f[l]()}}catch(w){}if(n)f["on"+l]=n;c.event.triggered=false}}},handle:function(a){var b,d,f;d=[];var h,i=c.makeArray(arguments);a=i[0]=c.event.fix(a||F.event);a.currentTarget=
this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b){f=a.type.split(".");a.type=f.shift();d=f.slice(0).sort();f=new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.)?")+"(\\.|$)")}a.namespace=a.namespace||d.join(".");h=c.data(this,"events");d=(h||{})[a.type];if(h&&d){d=d.slice(0);h=0;for(var n=d.length;h<n;h++){var l=d[h];if(b||f.test(l.namespace)){a.handler=l.handler;a.data=l.data;a.handleObj=l;l=l.handler.apply(this,i);if(l!==B){a.result=l;if(l===false){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.expando])return a;var b=a;a=c.Event(b);for(var d=this.props.length,f;d;){f=this.props[--d];a[f]=b[f]}if(!a.target)a.target=
a.srcElement||t;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=t.documentElement;d=t.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||
a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==B)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,X(a.origType,a.selector),c.extend({},a,{handler:Da,guid:a.handler.guid}))},remove:function(a){c.event.remove(this,X(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,d){if(this.setInterval)this.onbeforeunload=d},teardown:function(a,b){if(this.onbeforeunload===
b)this.onbeforeunload=null}}}};c.removeEvent=t.removeEventListener?function(a,b,d){a.removeEventListener&&a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent&&a.detachEvent("on"+b,d)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=c.now();this[c.expando]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=$;var a=this.originalEvent;if(a)if(a.preventDefault)a.preventDefault();
else a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=$;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=$;this.stopPropagation()},isDefaultPrevented:T,isPropagationStopped:T,isImmediatePropagationStopped:T};var qa=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(d){}},
ra=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(d){c.event.add(this,b,d&&d.selector?ra:qa,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?ra:qa)}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!=="form"){c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&
c(b).closest("form").length)return ha("submit",this,arguments)});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="text"||d==="password")&&c(b).closest("form").length&&a.keyCode===13)return ha("submit",this,arguments)})}else return false},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var da,sa=function(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>
-1?c.map(a.options,function(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},ea=function(a,b){var d=a.target,f,h;if(!(!ca.test(d.nodeName)||d.readOnly)){f=c.data(d,"_change_data");h=sa(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",h);if(!(f===B||h===f))if(f!=null||h){a.type="change";return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:ea,click:function(a){var b=a.target,d=b.type;if(d==="radio"||
d==="checkbox"||b.nodeName.toLowerCase()==="select")return ea.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return ea.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",sa(a))}},setup:function(){if(this.type==="file")return false;for(var a in da)c.event.add(this,a+".specialChange",da[a]);return ca.test(this.nodeName)},teardown:function(){c.event.remove(this,
".specialChange");return ca.test(this.nodeName)}};da=c.event.special.change.filters}t.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(f){f=c.event.fix(f);f.type=b;return c.event.handle.call(this,f)}c.event.special[b]={setup:function(){this.addEventListener(a,d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,f,h){if(typeof d==="object"){for(var i in d)this[b](i,f,d[i],h);return this}if(c.isFunction(f)||
f===false){h=f;f=B}var n=b==="one"?c.proxy(h,function(o){c(this).unbind(o,n);return h.apply(this,arguments)}):h;if(d==="unload"&&b!=="one")this.one(d,f,h);else{i=0;for(var l=this.length;i<l;i++)c.event.add(this[i],d,n,f)}return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault)for(var d in a)this.unbind(d,a[d]);else{d=0;for(var f=this.length;d<f;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,d,f){return this.live(b,d,f,a)},undelegate:function(a,
b,d){return arguments.length===0?this.unbind("live"):this.die(b,null,d,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){a=c.Event(a);a.preventDefault();a.stopPropagation();c.event.trigger(a,b,this[0]);return a.result}},toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(f){var h=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,h+1);f.preventDefault();
return b[h].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var ta={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(d,f,h,i){var n=0,l,o,v=i||this.selector,w=i?this:c(this.context);if(c.isFunction(f)){h=f;f=B}for(d=(d||"").split(" ");(i=d[n++])!=null;){l=W.exec(i);o="";if(l){o=l[0];i=i.replace(W,"")}if(i==="hover")d.push("mouseenter"+o,"mouseleave"+o);else{l=i;if(i===
"focus"||i==="blur"){d.push(ta[i]+o);i+=o}else i=(ta[i]||i)+o;if(b==="live"){o=0;for(var A=w.length;o<A;o++)c.event.add(w[o],"live."+X(i,v),{data:f,selector:v,handler:h,origType:i,origHandler:h,preType:l})}else w.unbind("live."+X(i,v),h)}}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(d,f){if(f==
null){f=d;d=null}return arguments.length>0?this.bind(b,d,f):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});F.attachEvent&&!F.addEventListener&&F.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(g,j,m,p,r,s){r=0;for(var u=p.length;r<u;r++){var z=p[r];if(z){z=z[g];for(var D=false;z;){if(z.sizcache===m){D=p[z.sizset];break}if(z.nodeType===1&&!s){z.sizcache=m;z.sizset=r}if(z.nodeName.toLowerCase()===
j){D=z;break}z=z[g]}p[r]=D}}}function b(g,j,m,p,r,s){r=0;for(var u=p.length;r<u;r++){var z=p[r];if(z){z=z[g];for(var D=false;z;){if(z.sizcache===m){D=p[z.sizset];break}if(z.nodeType===1){if(!s){z.sizcache=m;z.sizset=r}if(typeof j!=="string"){if(z===j){D=true;break}}else if(l.filter(j,[z]).length>0){D=z;break}}z=z[g]}p[r]=D}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,f=0,h=Object.prototype.toString,i=
false,n=true;[0,0].sort(function(){n=false;return 0});var l=function(g,j,m,p){m=m||[];var r=j=j||t;if(j.nodeType!==1&&j.nodeType!==9)return[];if(!g||typeof g!=="string")return m;var s=[],u,z,D,O,N=true,P=l.isXML(j),k=g,q;do{d.exec("");if(u=d.exec(k)){k=u[3];s.push(u[1]);if(u[2]){O=u[3];break}}}while(u);if(s.length>1&&v.exec(g))if(s.length===2&&o.relative[s[0]])z=R(s[0]+s[1],j);else for(z=o.relative[s[0]]?[j]:l(s.shift(),j);s.length;){g=s.shift();if(o.relative[g])g+=s.shift();z=R(g,z)}else{if(!p&&
s.length>1&&j.nodeType===9&&!P&&o.match.ID.test(s[0])&&!o.match.ID.test(s[s.length-1])){u=l.find(s.shift(),j,P);j=u.expr?l.filter(u.expr,u.set)[0]:u.set[0]}if(j){u=p?{expr:s.pop(),set:E(p)}:l.find(s.pop(),s.length===1&&(s[0]==="~"||s[0]==="+")&&j.parentNode?j.parentNode:j,P);z=u.expr?l.filter(u.expr,u.set):u.set;if(s.length>0)D=E(z);else N=false;for(;s.length;){u=q=s.pop();if(o.relative[q])u=s.pop();else q="";if(u==null)u=j;o.relative[q](D,u,P)}}else D=[]}D||(D=z);D||l.error(q||g);if(h.call(D)===
"[object Array]")if(N)if(j&&j.nodeType===1)for(g=0;D[g]!=null;g++){if(D[g]&&(D[g]===true||D[g].nodeType===1&&l.contains(j,D[g])))m.push(z[g])}else for(g=0;D[g]!=null;g++)D[g]&&D[g].nodeType===1&&m.push(z[g]);else m.push.apply(m,D);else E(D,m);if(O){l(O,r,m,p);l.uniqueSort(m)}return m};l.uniqueSort=function(g){if(I){i=n;g.sort(I);if(i)for(var j=1;j<g.length;j++)g[j]===g[j-1]&&g.splice(j--,1)}return g};l.matches=function(g,j){return l(g,null,null,j)};l.find=function(g,j,m){var p;if(!g)return[];for(var r=
0,s=o.order.length;r<s;r++){var u=o.order[r],z;if(z=o.leftMatch[u].exec(g)){var D=z[1];z.splice(1,1);if(D.substr(D.length-1)!=="\\"){z[1]=(z[1]||"").replace(/\\/g,"");p=o.find[u](z,j,m);if(p!=null){g=g.replace(o.match[u],"");break}}}}p||(p=j.getElementsByTagName("*"));return{set:p,expr:g}};l.filter=function(g,j,m,p){for(var r=g,s=[],u=j,z,D,O=j&&j[0]&&l.isXML(j[0]);g&&j.length;){for(var N in o.filter)if((z=o.leftMatch[N].exec(g))!=null&&z[2]){var P=o.filter[N],k,q;q=z[1];D=false;z.splice(1,1);if(q.substr(q.length-
1)!=="\\"){if(u===s)s=[];if(o.preFilter[N])if(z=o.preFilter[N](z,u,m,s,p,O)){if(z===true)continue}else D=k=true;if(z)for(var y=0;(q=u[y])!=null;y++)if(q){k=P(q,z,y,u);var C=p^!!k;if(m&&k!=null)if(C)D=true;else u[y]=false;else if(C){s.push(q);D=true}}if(k!==B){m||(u=s);g=g.replace(o.match[N],"");if(!D)return[];break}}}if(g===r)if(D==null)l.error(g);else break;r=g}return u};l.error=function(g){throw"Syntax error, unrecognized expression: "+g;};var o=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(g){return g.getAttribute("href")}},
relative:{"+":function(g,j){var m=typeof j==="string",p=m&&!/\W/.test(j);m=m&&!p;if(p)j=j.toLowerCase();p=0;for(var r=g.length,s;p<r;p++)if(s=g[p]){for(;(s=s.previousSibling)&&s.nodeType!==1;);g[p]=m||s&&s.nodeName.toLowerCase()===j?s||false:s===j}m&&l.filter(j,g,true)},">":function(g,j){var m=typeof j==="string",p,r=0,s=g.length;if(m&&!/\W/.test(j))for(j=j.toLowerCase();r<s;r++){if(p=g[r]){m=p.parentNode;g[r]=m.nodeName.toLowerCase()===j?m:false}}else{for(;r<s;r++)if(p=g[r])g[r]=m?p.parentNode:p.parentNode===
j;m&&l.filter(j,g,true)}},"":function(g,j,m){var p=f++,r=b,s;if(typeof j==="string"&&!/\W/.test(j)){s=j=j.toLowerCase();r=a}r("parentNode",j,p,g,s,m)},"~":function(g,j,m){var p=f++,r=b,s;if(typeof j==="string"&&!/\W/.test(j)){s=j=j.toLowerCase();r=a}r("previousSibling",j,p,g,s,m)}},find:{ID:function(g,j,m){if(typeof j.getElementById!=="undefined"&&!m)return(g=j.getElementById(g[1]))&&g.parentNode?[g]:[]},NAME:function(g,j){if(typeof j.getElementsByName!=="undefined"){var m=[];j=j.getElementsByName(g[1]);
for(var p=0,r=j.length;p<r;p++)j[p].getAttribute("name")===g[1]&&m.push(j[p]);return m.length===0?null:m}},TAG:function(g,j){return j.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,j,m,p,r,s){g=" "+g[1].replace(/\\/g,"")+" ";if(s)return g;s=0;for(var u;(u=j[s])!=null;s++)if(u)if(r^(u.className&&(" "+u.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=0))m||p.push(u);else if(m)j[s]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},
CHILD:function(g){if(g[1]==="nth"){var j=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=j[1]+(j[2]||1)-0;g[3]=j[3]-0}g[0]=f++;return g},ATTR:function(g,j,m,p,r,s){j=g[1].replace(/\\/g,"");if(!s&&o.attrMap[j])g[1]=o.attrMap[j];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,j,m,p,r){if(g[1]==="not")if((d.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=l(g[3],null,null,j);else{g=l.filter(g[3],j,m,true^r);m||p.push.apply(p,
g);return false}else if(o.match.POS.test(g[0])||o.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,j,m){return!!l(m[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},
text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},
setFilters:{first:function(g,j){return j===0},last:function(g,j,m,p){return j===p.length-1},even:function(g,j){return j%2===0},odd:function(g,j){return j%2===1},lt:function(g,j,m){return j<m[3]-0},gt:function(g,j,m){return j>m[3]-0},nth:function(g,j,m){return m[3]-0===j},eq:function(g,j,m){return m[3]-0===j}},filter:{PSEUDO:function(g,j,m,p){var r=j[1],s=o.filters[r];if(s)return s(g,m,j,p);else if(r==="contains")return(g.textContent||g.innerText||l.getText([g])||"").indexOf(j[3])>=0;else if(r==="not"){j=
j[3];m=0;for(p=j.length;m<p;m++)if(j[m]===g)return false;return true}else l.error("Syntax error, unrecognized expression: "+r)},CHILD:function(g,j){var m=j[1],p=g;switch(m){case "only":case "first":for(;p=p.previousSibling;)if(p.nodeType===1)return false;if(m==="first")return true;p=g;case "last":for(;p=p.nextSibling;)if(p.nodeType===1)return false;return true;case "nth":m=j[2];var r=j[3];if(m===1&&r===0)return true;j=j[0];var s=g.parentNode;if(s&&(s.sizcache!==j||!g.nodeIndex)){var u=0;for(p=s.firstChild;p;p=
p.nextSibling)if(p.nodeType===1)p.nodeIndex=++u;s.sizcache=j}g=g.nodeIndex-r;return m===0?g===0:g%m===0&&g/m>=0}},ID:function(g,j){return g.nodeType===1&&g.getAttribute("id")===j},TAG:function(g,j){return j==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===j},CLASS:function(g,j){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(j)>-1},ATTR:function(g,j){var m=j[1];g=o.attrHandle[m]?o.attrHandle[m](g):g[m]!=null?g[m]:g.getAttribute(m);m=g+"";var p=j[2];j=j[4];return g==null?p==="!=":p===
"="?m===j:p==="*="?m.indexOf(j)>=0:p==="~="?(" "+m+" ").indexOf(j)>=0:!j?m&&g!==false:p==="!="?m!==j:p==="^="?m.indexOf(j)===0:p==="$="?m.substr(m.length-j.length)===j:p==="|="?m===j||m.substr(0,j.length+1)===j+"-":false},POS:function(g,j,m,p){var r=o.setFilters[j[2]];if(r)return r(g,m,j,p)}}},v=o.match.POS,w=function(g,j){return"\\"+(j-0+1)};for(var A in o.match){o.match[A]=new RegExp(o.match[A].source+/(?![^\[]*\])(?![^\(]*\))/.source);o.leftMatch[A]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[A].source.replace(/\\(\d+)/g,
w))}var E=function(g,j){g=Array.prototype.slice.call(g,0);if(j){j.push.apply(j,g);return j}return g};try{Array.prototype.slice.call(t.documentElement.childNodes,0)}catch(x){E=function(g,j){j=j||[];var m=0;if(h.call(g)==="[object Array]")Array.prototype.push.apply(j,g);else if(typeof g.length==="number")for(var p=g.length;m<p;m++)j.push(g[m]);else for(;g[m];m++)j.push(g[m]);return j}}var I,L;if(t.documentElement.compareDocumentPosition)I=function(g,j){if(g===j){i=true;return 0}if(!g.compareDocumentPosition||
!j.compareDocumentPosition)return g.compareDocumentPosition?-1:1;return g.compareDocumentPosition(j)&4?-1:1};else{I=function(g,j){var m=[],p=[],r=g.parentNode,s=j.parentNode,u=r;if(g===j){i=true;return 0}else if(r===s)return L(g,j);else if(r){if(!s)return 1}else return-1;for(;u;){m.unshift(u);u=u.parentNode}for(u=s;u;){p.unshift(u);u=u.parentNode}r=m.length;s=p.length;for(u=0;u<r&&u<s;u++)if(m[u]!==p[u])return L(m[u],p[u]);return u===r?L(g,p[u],-1):L(m[u],j,1)};L=function(g,j,m){if(g===j)return m;
for(g=g.nextSibling;g;){if(g===j)return-1;g=g.nextSibling}return 1}}l.getText=function(g){for(var j="",m,p=0;g[p];p++){m=g[p];if(m.nodeType===3||m.nodeType===4)j+=m.nodeValue;else if(m.nodeType!==8)j+=l.getText(m.childNodes)}return j};(function(){var g=t.createElement("div"),j="script"+(new Date).getTime();g.innerHTML="<a name='"+j+"'/>";var m=t.documentElement;m.insertBefore(g,m.firstChild);if(t.getElementById(j)){o.find.ID=function(p,r,s){if(typeof r.getElementById!=="undefined"&&!s)return(r=r.getElementById(p[1]))?
r.id===p[1]||typeof r.getAttributeNode!=="undefined"&&r.getAttributeNode("id").nodeValue===p[1]?[r]:B:[]};o.filter.ID=function(p,r){var s=typeof p.getAttributeNode!=="undefined"&&p.getAttributeNode("id");return p.nodeType===1&&s&&s.nodeValue===r}}m.removeChild(g);m=g=null})();(function(){var g=t.createElement("div");g.appendChild(t.createComment(""));if(g.getElementsByTagName("*").length>0)o.find.TAG=function(j,m){m=m.getElementsByTagName(j[1]);if(j[1]==="*"){j=[];for(var p=0;m[p];p++)m[p].nodeType===
1&&j.push(m[p]);m=j}return m};g.innerHTML="<a href='#'></a>";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")o.attrHandle.href=function(j){return j.getAttribute("href",2)};g=null})();t.querySelectorAll&&function(){var g=l,j=t.createElement("div");j.innerHTML="<p class='TEST'></p>";if(!(j.querySelectorAll&&j.querySelectorAll(".TEST").length===0)){l=function(p,r,s,u){r=r||t;if(!u&&r.nodeType===9&&!l.isXML(r))try{return E(r.querySelectorAll(p),
s)}catch(z){}return g(p,r,s,u)};for(var m in g)l[m]=g[m];j=null}}();(function(){var g=t.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){o.order.splice(1,0,"CLASS");o.find.CLASS=function(j,m,p){if(typeof m.getElementsByClassName!=="undefined"&&!p)return m.getElementsByClassName(j[1])};g=null}}})();l.contains=t.compareDocumentPosition?
function(g,j){return!!(g.compareDocumentPosition(j)&16)}:function(g,j){return g!==j&&(g.contains?g.contains(j):true)};l.isXML=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false};var R=function(g,j){var m=[],p="",r;for(j=j.nodeType?[j]:j;r=o.match.PSEUDO.exec(g);){p+=r[0];g=g.replace(o.match.PSEUDO,"")}g=o.relative[g]?g+"*":g;r=0;for(var s=j.length;r<s;r++)l(g,j[r],m);return l.filter(p,m)};c.find=l;c.expr=l.selectors;c.expr[":"]=c.expr.filters;c.unique=l.uniqueSort;
c.text=l.getText;c.isXMLDoc=l.isXML;c.contains=l.contains})();var Ua=/Until$/,Va=/^(?:parents|prevUntil|prevAll)/,Wa=/,/,Fa=/^.[^:#\[\.,]*$/,Xa=Array.prototype.slice;c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,h=this.length;f<h;f++){d=b.length;c.find(a,this[f],b);if(f>0)for(var i=d;i<b.length;i++)for(var n=0;n<d;n++)if(b[n]===b[i]){b.splice(i--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,f=b.length;d<f;d++)if(c.contains(this,
b[d]))return true})},not:function(a){return this.pushStack(ja(this,a,false),"not",a)},filter:function(a){return this.pushStack(ja(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){if(c.isArray(a)){var d=[],f=this[0],h,i={},n,l=1;if(f&&a.length){h=0;for(var o=a.length;h<o;h++){n=a[h];i[n]||(i[n]=c.expr.match.POS.test(n)?c(n,b||this.context):n)}for(;f&&f.ownerDocument&&f!==b;){for(n in i){h=i[n];if(h.jquery?h.index(f)>-1:c(f).is(h))d.push({selector:n,
elem:f,level:l})}f=f.parentNode;l++}}return d}var v=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(w,A){for(;A&&A.ownerDocument&&A!==b;){if(v?v.index(A)>-1:c(A).is(a))return A;A=A.parentNode}return null})},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(ia(a[0])||
ia(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},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,d){return c.dir(a,
"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},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(d,f){var h=c.map(this,b,d);Ua.test(a)||(f=d);if(f&&typeof f==="string")h=c.filter(f,h);h=this.length>1?c.unique(h):h;if((this.length>1||Wa.test(f))&&
Va.test(a))h=h.reverse();return this.pushStack(h,a,Xa.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,d){var f=[];for(a=a[b];a&&a.nodeType!==9&&(d===B||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var ua=
/ jQuery\d+="(?:\d+|null)"/g,Y=/^\s+/,va=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,wa=/<([\w:]+)/,Ya=/<tbody/i,Za=/<|&#?\w+;/,xa=/<(?:script|object|embed|option|style)/i,ya=/checked\s*(?:[^=]|=\s*.checked.)/i,$a=/\=([^="'>\s]+\/)>/g,M={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,"",""]};M.optgroup=M.option;M.tbody=M.tfoot=M.colgroup=M.caption=M.thead;M.th=M.td;if(!c.support.htmlSerialize)M._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==B)return this.empty().append((this[0]&&this[0].ownerDocument||t).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,
d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.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,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else 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,false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else 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 d=0,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType===1){c.cleanData(f.getElementsByTagName("*"));
c.cleanData([f])}f.parentNode&&f.parentNode.removeChild(f)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&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 d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(ua,"").replace($a,'="$1">').replace(Y,
"")],f)[0]}else return this.cloneNode(true)});if(a===true){ka(this,b);ka(this.find("*"),b.find("*"))}return b},html:function(a){if(a===B)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ua,""):null;else if(typeof a==="string"&&!xa.test(a)&&(c.support.leadingWhitespace||!Y.test(a))&&!M[(wa.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(va,"<$1></$2>");try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(f){this.empty().append(a)}}else c.isFunction(a)?
this.each(function(h){var i=c(this),n=i.html();i.empty().append(function(){return a.call(this,h,n)})}):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 d=c(this),f=d.html();d.replaceWith(a.call(this,b,f))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?
a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){var f,h,i=a[0],n=[],l;if(!c.support.checkClone&&arguments.length===3&&typeof i==="string"&&ya.test(i))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(i))return this.each(function(w){var A=c(this);a[0]=i.call(this,w,b?A.html():B);A.domManip(a,b,d)});if(this[0]){f=i&&i.parentNode;f=c.support.parentNode&&f&&f.nodeType===11&&f.childNodes.length===this.length?{fragment:f}:c.buildFragment(a,
this,n);l=f.fragment;if(h=l.childNodes.length===1?(l=l.firstChild):l.firstChild){b=b&&c.nodeName(h,"tr");for(var o=0,v=this.length;o<v;o++)d.call(b?Ga(this[o],h):this[o],o>0||f.cacheable||this.length>1?l.cloneNode(true):l)}n.length&&c.each(n,Ha)}return this}});c.buildFragment=function(a,b,d){var f,h,i;b=b&&b[0]?b[0].ownerDocument||b[0]:t;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===t&&!xa.test(a[0])&&(c.support.checkClone||!ya.test(a[0]))){h=true;if(i=c.fragments[a[0]])if(i!==1)f=
i}if(!f){f=b.createDocumentFragment();c.clean(a,b,f,d)}if(h)c.fragments[a[0]]=i?f:1;return{fragment:f,cacheable:h}};c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var f=[];d=c(d);var h=this.length===1&&this[0].parentNode;if(h&&h.nodeType===11&&h.childNodes.length===1&&d.length===1){d[b](this[0]);return this}else{h=0;for(var i=d.length;h<i;h++){var n=(h>0?this.clone(true):this).get();
c(d[h])[b](n);f=f.concat(n)}return this.pushStack(f,a,d.selector)}}});c.extend({clean:function(a,b,d,f){b=b||t;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||t;for(var h=[],i=0,n;(n=a[i])!=null;i++){if(typeof n==="number")n+="";if(n){if(typeof n==="string"&&!Za.test(n))n=b.createTextNode(n);else if(typeof n==="string"){n=n.replace(va,"<$1></$2>");var l=(wa.exec(n)||["",""])[1].toLowerCase(),o=M[l]||M._default,v=o[0],w=b.createElement("div");for(w.innerHTML=o[1]+
n+o[2];v--;)w=w.lastChild;if(!c.support.tbody){v=Ya.test(n);l=l==="table"&&!v?w.firstChild&&w.firstChild.childNodes:o[1]==="<table>"&&!v?w.childNodes:[];for(o=l.length-1;o>=0;--o)c.nodeName(l[o],"tbody")&&!l[o].childNodes.length&&l[o].parentNode.removeChild(l[o])}!c.support.leadingWhitespace&&Y.test(n)&&w.insertBefore(b.createTextNode(Y.exec(n)[0]),w.firstChild);n=w.childNodes}if(n.nodeType)h.push(n);else h=c.merge(h,n)}}if(d)for(i=0;h[i];i++)if(f&&c.nodeName(h[i],"script")&&(!h[i].type||h[i].type.toLowerCase()===
"text/javascript"))f.push(h[i].parentNode?h[i].parentNode.removeChild(h[i]):h[i]);else{h[i].nodeType===1&&h.splice.apply(h,[i+1,0].concat(c.makeArray(h[i].getElementsByTagName("script"))));d.appendChild(h[i])}return h},cleanData:function(a){for(var b,d,f=c.cache,h=c.event.special,i=c.support.deleteExpando,n=0,l;(l=a[n])!=null;n++)if(!(l.nodeName&&c.noData[l.nodeName.toLowerCase()]))if(d=l[c.expando]){if((b=f[d])&&b.events)for(var o in b.events)h[o]?c.event.remove(l,o):c.removeEvent(l,o,b.handle);
if(i)delete l[c.expando];else l.removeAttribute&&l.removeAttribute(c.expando);delete f[d]}}});var za=/alpha\([^)]*\)/,ab=/opacity=([^)]*)/,bb=/-([a-z])/ig,cb=/([A-Z])/g,Aa=/^-?\d+(?:px)?$/i,db=/^-?\d/,eb={position:"absolute",visibility:"hidden",display:"block"},Ia=["Left","Right"],Ja=["Top","Bottom"],V,fb=t.defaultView&&t.defaultView.getComputedStyle,gb=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return c.access(this,a,b,true,function(d,f,h){return h!==B?c.style(d,f,h):c.css(d,f)})};
c.extend({cssHooks:{opacity:{get:function(a){a=V(a,"opacity","opacity");return a===""?"1":a}}},cssNumber:{zIndex:true,fontWeight:true,opacity:true,zoom:true,lineHeight:true},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8||!a.style)return B;var h,i=c.camelCase(b),n=a.style,l=c.cssHooks[i];b=c.cssProps[i]||i;if(d!==B){if(typeof d==="number"&&!c.cssNumber[i])d+="px";if(!l||!("set"in l)||(d=l.set(a,d))!==B)n[b]=d}else{if(l&&
"get"in l&&(h=l.get(a,false,f))!==B)return h;return n[b]}},css:function(a,b,d){var f,h=c.camelCase(b),i=c.cssHooks[h];b=c.cssProps[h]||h;if(i&&"get"in i&&(f=i.get(a,true,d))!==B)return f;else if(V)return V(a,b,h)},swap:function(a,b,d){var f={};for(var h in b){f[h]=a.style[h];a.style[h]=b[h]}d.call(a);for(h in b)a.style[h]=f[h]},camelCase:function(a){return a.replace(bb,gb)}});c.curCSS=c.css;c.each(["height","width"],function(a,b){c.cssHooks[b]={get:function(d,f,h){var i;if(f){if(d.offsetWidth!==0)i=
la(d,b,h);else c.swap(d,eb,function(){i=la(d,b,h)});return i+"px"}},set:function(d,f){if(Aa.test(f)){f=parseFloat(f);if(f>=0)return f+"px"}else return f}}});if(!c.support.opacity)c.cssHooks.opacity={get:function(a,b){return ab.test((b?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":"1"},set:function(a,b){var d=a.style;d.zoom=1;b=parseInt(b,10)+""==="NaN"?"":"alpha(opacity="+b*100+")";a=d.filter||a.currentStyle.filter||"";d.filter=za.test(a)?a.replace(za,b):b}};if(fb)V=function(a,
b,d){var f;d=d.replace(cb,"-$1").toLowerCase();if(!(b=a.ownerDocument.defaultView))return B;if(a=b.getComputedStyle(a,null))f=a.getPropertyValue(d);return f};else if(t.documentElement.currentStyle)V=function(a,b){var d,f,h=a.currentStyle[b],i=a.style;if(!Aa.test(h)&&db.test(h)){d=i.left;f=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;i.left=b==="fontSize"?"1em":h||0;h=i.pixelLeft+"px";i.left=d;a.runtimeStyle.left=f}return h};if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=
a.offsetWidth,d=a.offsetHeight,f=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!f?true:b>0&&d>0&&!f?false:(a.style.display||c.css(a,"display"))==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var hb=c.now(),ib=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,jb=/^(?:select|textarea)/i,kb=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Ka=/\[\]$/,S=/\=\?(&|$)/,fa=/\?/,lb=/([?&])_=[^&]*(&?)/,mb=/^(\w+:)?\/\/([^\/?#]+)/,
nb=/%20/g,Ba=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!=="string"&&Ba)return Ba.apply(this,arguments);else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var h=a.slice(f,a.length);a=a.slice(0,f)}f="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);f="POST"}var i=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(n,l){if(l==="success"||l==="notmodified")i.html(h?c("<div>").append(n.responseText.replace(ib,
"")).find(h):n.responseText);d&&i.each(d,[n.responseText,l,n])}});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||jb.test(this.nodeName)||kb.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(d){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});
c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:f})},
ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:F.XMLHttpRequest&&(F.location.protocol!=="file:"||!F.ActiveXObject)?function(){return new F.XMLHttpRequest}:function(){try{return new F.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:"*/*"}},ajax:function(a){var b=c.extend(true,{},c.ajaxSettings,a),d,f,h,i=b.type.toUpperCase();b.context=a&&a.context||b;if(b.data&&b.processData&&typeof b.data!=="string")b.data=c.param(b.data,b.traditional);if(b.dataType==="jsonp"){if(i==="GET")S.test(b.url)||(b.url+=(fa.test(b.url)?"&":"?")+(b.jsonp||"callback")+"=?");else if(!b.data||!S.test(b.data))b.data=(b.data?b.data+"&":"")+(b.jsonp||"callback")+"=?";b.dataType="json"}if(b.dataType==="json"&&(b.data&&S.test(b.data)||
S.test(b.url))){d=b.jsonpCallback||"jsonp"+hb++;if(b.data)b.data=(b.data+"").replace(S,"="+d+"$1");b.url=b.url.replace(S,"="+d+"$1");b.dataType="script";var n=F[d];F[d]=function(m){h=m;c.ajax.handleSuccess(b,x,f,h);c.ajax.handleComplete(b,x,f,h);if(c.isFunction(n))n(m);else{F[d]=B;try{delete F[d]}catch(p){}}v&&v.removeChild(w)}}if(b.dataType==="script"&&b.cache===null)b.cache=false;if(b.cache===false&&i==="GET"){var l=c.now(),o=b.url.replace(lb,"$1_="+l+"$2");b.url=o+(o===b.url?(fa.test(b.url)?"&":
"?")+"_="+l:"")}if(b.data&&i==="GET")b.url+=(fa.test(b.url)?"&":"?")+b.data;b.global&&c.ajax.active++===0&&c.event.trigger("ajaxStart");l=(l=mb.exec(b.url))&&(l[1]&&l[1]!==location.protocol||l[2]!==location.host);if(b.dataType==="script"&&i==="GET"&&l){var v=t.getElementsByTagName("head")[0]||t.documentElement,w=t.createElement("script");w.src=b.url;if(b.scriptCharset)w.charset=b.scriptCharset;if(!d){var A=false;w.onload=w.onreadystatechange=function(){if(!A&&(!this.readyState||this.readyState===
"loaded"||this.readyState==="complete")){A=true;c.ajax.handleSuccess(b,x,f,h);c.ajax.handleComplete(b,x,f,h);w.onload=w.onreadystatechange=null;v&&w.parentNode&&v.removeChild(w)}}}v.insertBefore(w,v.firstChild);return B}var E=false,x=b.xhr();if(x){b.username?x.open(i,b.url,b.async,b.username,b.password):x.open(i,b.url,b.async);try{if(b.data||a&&a.contentType)x.setRequestHeader("Content-Type",b.contentType);if(b.ifModified){c.lastModified[b.url]&&x.setRequestHeader("If-Modified-Since",c.lastModified[b.url]);
c.ajax.etag[b.url]&&x.setRequestHeader("If-None-Match",c.ajax.etag[b.url])}l||x.setRequestHeader("X-Requested-With","XMLHttpRequest");x.setRequestHeader("Accept",b.dataType&&b.accepts[b.dataType]?b.accepts[b.dataType]+", */*":b.accepts._default)}catch(I){}if(b.beforeSend&&b.beforeSend.call(b.context,x,b)===false){b.global&&c.ajax.active--===1&&c.event.trigger("ajaxStop");x.abort();return false}b.global&&c.ajax.triggerGlobal(b,"ajaxSend",[x,b]);var L=x.onreadystatechange=function(m){if(!x||x.readyState===
0||m==="abort"){E||c.ajax.handleComplete(b,x,f,h);E=true;if(x)x.onreadystatechange=c.noop}else if(!E&&x&&(x.readyState===4||m==="timeout")){E=true;x.onreadystatechange=c.noop;f=m==="timeout"?"timeout":!c.ajax.httpSuccess(x)?"error":b.ifModified&&c.ajax.httpNotModified(x,b.url)?"notmodified":"success";var p;if(f==="success")try{h=c.ajax.httpData(x,b.dataType,b)}catch(r){f="parsererror";p=r}if(f==="success"||f==="notmodified")d||c.ajax.handleSuccess(b,x,f,h);else c.ajax.handleError(b,x,f,p);d||c.ajax.handleComplete(b,
x,f,h);m==="timeout"&&x.abort();if(b.async)x=null}};try{var R=x.abort;x.abort=function(){x&&R.call(x);L("abort")}}catch(g){}b.async&&b.timeout>0&&setTimeout(function(){x&&!E&&L("timeout")},b.timeout);try{x.send(i!=="GET"&&b.data||null)}catch(j){c.ajax.handleError(b,x,null,e);c.ajax.handleComplete(b,x,f,h)}b.async||L();return x}},param:function(a,b){var d=[],f=function(i,n){n=c.isFunction(n)?n():n;d[d.length]=encodeURIComponent(i)+"="+encodeURIComponent(n)};if(b===B)b=c.ajaxSettings.traditional;if(c.isArray(a)||
a.jquery)c.each(a,function(){f(this.name,this.value)});else for(var h in a)aa(h,a[h],b,f);return d.join("&").replace(nb,"+")}});c.extend(c.ajax,{active:0,lastModified:{},etag:{},handleError:function(a,b,d,f){a.error&&a.error.call(a.context,b,d,f);a.global&&c.ajax.triggerGlobal(a,"ajaxError",[b,a,f])},handleSuccess:function(a,b,d,f){a.success&&a.success.call(a.context,f,d,b);a.global&&c.ajax.triggerGlobal(a,"ajaxSuccess",[b,a])},handleComplete:function(a,b,d){a.complete&&a.complete.call(a.context,
b,d);a.global&&c.ajax.triggerGlobal(a,"ajaxComplete",[b,a]);a.global&&c.ajax.active--===1&&c.event.trigger("ajaxStop")},triggerGlobal:function(a,b,d){(a.context&&a.context.url==null?c(a.context):c.event).trigger(b,d)},httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.ajax.lastModified[b]=
d;if(f)c.ajax.etag[b]=f;return a.status===304},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",h=b==="xml"||!b&&f.indexOf("xml")>=0;a=h?a.responseXML:a.responseText;h&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b==="json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a}});c.support.ajax=!!c.ajaxSettings.xhr();c.extend(c.ajax);
var ga={},ob=/^(?:toggle|show|hide)$/,pb=/^([+\-]=)?([\d+.\-]+)(.*)$/,Z,ma=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a||a===0)return this.animate(Q("show",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");this[a].style.display=d||"";if(c.css(this[a],"display")==="none"){d=this[a].nodeName;var f;if(ga[d])f=ga[d];else{var h=c("<"+d+
">").appendTo("body");f=h.css("display");if(f==="none")f="block";h.remove();ga[d]=f}c.data(this[a],"olddisplay",f)}}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||a===0)return this.animate(Q("hide",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");!d&&d!=="none"&&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 d=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||d?this.each(function(){var f=d?a:c(this).is(":hidden");c(this)[f?"show":"hide"]()}):this.animate(Q("toggle",3),a,b);return this},fadeTo:function(a,b,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d)},animate:function(a,b,d,f){var h=c.speed(b,d,f);if(c.isEmptyObject(a))return this.each(h.complete);return this[h.queue===false?"each":
"queue"](function(){var i=c.extend({},h),n,l=this.nodeType===1&&c(this).is(":hidden"),o=this;for(n in a){var v=c.camelCase(n);if(n!==v){a[v]=a[n];delete a[n];n=v}if(a[n]==="hide"&&l||a[n]==="show"&&!l)return i.complete.call(this);if((n==="height"||n==="width")&&this.style){i.display=this.style.display;i.overflow=this.style.overflow}if(c.isArray(a[n])){(i.specialEasing=i.specialEasing||{})[n]=a[n][1];a[n]=a[n][0]}}if(i.overflow!=null)this.style.overflow="hidden";i.curAnim=c.extend({},a);c.each(a,function(w,
A){var E=new c.fx(o,i,w);if(ob.test(A))E[A==="toggle"?l?"show":"hide":A](a);else{var x=pb.exec(A),I=E.cur(true)||0;if(x){A=parseFloat(x[2]);var L=x[3]||"px";if(L!=="px"){o.style[w]=(A||1)+L;I=(A||1)/E.cur(true)*I;o.style[w]=I+L}if(x[1])A=(x[1]==="-="?-1:1)*A+I;E.custom(I,A,L)}else E.custom(I,A,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);this.each(function(){for(var f=d.length-1;f>=0;f--)if(d[f].elem===this){b&&d[f](true);d.splice(f,1)}});b||this.dequeue();return this}});
c.each({slideDown:Q("show",1),slideUp:Q("hide",1),slideToggle:Q("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,f){return this.animate(b,d,f)}});c.extend({speed:function(a,b,d){var f=a&&typeof a==="object"?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};f.duration=c.fx.off?0:typeof f.duration==="number"?f.duration:c.fx.speeds[f.duration]||c.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==false&&
c(this).dequeue();c.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,b,d,f){return d+f*a},swing:function(a,b,d,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;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((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display=
"block"},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a=parseFloat(c.css(this.elem,this.prop));return a&&a>-10000?a:0},custom:function(a,b,d){function f(i){return h.step(i)}this.startTime=c.now();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;var h=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!Z)Z=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=
c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=c.now(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var f in this.options.curAnim)if(this.options.curAnim[f]!==
true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;a=c.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(c.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var h in this.options.curAnim)c.style(this.elem,h,this.options.orig[h]);this.options.complete.call(this.elem)}return false}else{h=b-this.startTime;this.state=h/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,h,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};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(Z);Z=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,
"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else 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};var qb=/^t(?:able|d|h)$/i,Ca=/^(?:body|html)$/i;c.fn.offset="getBoundingClientRect"in t.documentElement?function(a){var b=this[0];if(a)return this.each(function(i){c.offset.setOffset(this,
a,i)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var d=b.getBoundingClientRect(),f=b.ownerDocument;b=f.body;var h=f.documentElement;f=ba(f);return{top:d.top+(f.pageYOffset||c.support.boxModel&&h.scrollTop||b.scrollTop)-(h.clientTop||b.clientTop||0),left:d.left+(f.pageXOffset||c.support.boxModel&&h.scrollLeft||b.scrollLeft)-(h.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(w){c.offset.setOffset(this,a,w)});
if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d=b.offsetParent,f=b,h=b.ownerDocument,i,n=h.documentElement,l=h.body;f=(h=h.defaultView)?h.getComputedStyle(b,null):b.currentStyle;for(var o=b.offsetTop,v=b.offsetLeft;(b=b.parentNode)&&b!==l&&b!==n;){if(c.offset.supportsFixedPosition&&f.position==="fixed")break;i=h?h.getComputedStyle(b,null):b.currentStyle;o-=b.scrollTop;v-=b.scrollLeft;if(b===d){o+=b.offsetTop;v+=b.offsetLeft;
if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&qb.test(b.nodeName))){o+=parseFloat(i.borderTopWidth)||0;v+=parseFloat(i.borderLeftWidth)||0}f=d;d=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&i.overflow!=="visible"){o+=parseFloat(i.borderTopWidth)||0;v+=parseFloat(i.borderLeftWidth)||0}f=i}if(f.position==="relative"||f.position==="static"){o+=l.offsetTop;v+=l.offsetLeft}if(c.offset.supportsFixedPosition&&f.position==="fixed"){o+=Math.max(n.scrollTop,l.scrollTop);
v+=Math.max(n.scrollLeft,l.scrollLeft)}return{top:o,left:v}};c.offset={initialize:function(){var a=t.body,b=t.createElement("div"),d,f,h,i=parseFloat(c.css(a,"marginTop"))||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);d=b.firstChild;f=d.firstChild;h=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=h.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15;f.style.position=f.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i;a.removeChild(b);
c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.css(a,"marginTop"))||0;d+=parseFloat(c.css(a,"marginLeft"))||0}return{top:b,left:d}},setOffset:function(a,b,d){var f=c.css(a,"position");if(f==="static")a.style.position="relative";var h=c(a),i=h.offset(),n=c.css(a,"top"),l=c.css(a,"left"),o=f==="absolute"&&c.inArray("auto",[n,l])>-1;f={};var v={};if(o)v=h.position();n=o?v.top:parseInt(n,
10)||0;l=o?v.left:parseInt(l,10)||0;if(c.isFunction(b))b=b.call(a,d,i);if(b.top!=null)f.top=b.top-i.top+n;if(b.left!=null)f.left=b.left-i.left+l;"using"in b?b.using.call(a,f):h.css(f)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),f=Ca.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.css(a,"marginTop"))||0;d.left-=parseFloat(c.css(a,"marginLeft"))||0;f.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;f.left+=parseFloat(c.css(b[0],
"borderLeftWidth"))||0;return{top:d.top-f.top,left:d.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||t.body;a&&!Ca.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(f){var h=this[0],i;if(!h)return null;if(f!==B)return this.each(function(){if(i=ba(this))i.scrollTo(!a?f:c(i).scrollLeft(),a?f:c(i).scrollTop());else this[d]=f});else return(i=ba(h))?"pageXOffset"in
i?i[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&i.document.documentElement[d]||i.document.body[d]:h[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?parseFloat(c.css(this[0],d,"padding")):null};c.fn["outer"+b]=function(f){return this[0]?parseFloat(c.css(this[0],d,f?"margin":"border")):null};c.fn[d]=function(f){var h=this[0];if(!h)return f==null?null:this;if(c.isFunction(f))return this.each(function(i){var n=c(this);n[d](f.call(this,
i,n[d]()))});return"scrollTo"in h&&h.document?h.document.compatMode==="CSS1Compat"&&h.document.documentElement["client"+b]||h.document.body["client"+b]:h.nodeType===9?Math.max(h.documentElement["client"+b],h.body["scroll"+b],h.documentElement["scroll"+b],h.body["offset"+b],h.documentElement["offset"+b]):f===B?parseFloat(c.css(h,d)):this.css(d,typeof f==="string"?f:f+"px")}})})(window);