-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjquery-and-plugins.js
169 lines (169 loc) · 84.4 KB
/
jquery-and-plugins.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
// contains jQuery 1.5.2 and the textchange plugin
(function(n,m){function y(a,b,d){if(d===m&&a.nodeType===1)if(d=a.getAttribute("data-"+b),typeof d==="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:!c.isNaN(d)?parseFloat(d):Qa.test(d)?c.parseJSON(d):d}catch(e){}c.data(a,b,d)}else d=m;return d}function Z(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function E(){return!1}function P(){return!0}function ka(a,b,d){var e=c.extend({},d[0]);e.type=a;e.originalEvent={};e.liveFired=m;c.event.handle.call(b,e);e.isDefaultPrevented()&&d[0].preventDefault()}
function Ra(a){var b,d,e,f,h,g,i,j,l,o,k,m=[];f=[];h=c._data(this,"events");if(!(a.liveFired===this||!h||!h.live||a.target.disabled||a.button&&a.type==="click")){a.namespace&&(k=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)"));a.liveFired=this;var n=h.live.slice(0);for(i=0;i<n.length;i++)h=n[i],h.origType.replace(R,"")===a.type?f.push(h.selector):n.splice(i--,1);f=c(a.target).closest(f,a.currentTarget);j=0;for(l=f.length;j<l;j++){o=f[j];for(i=0;i<n.length;i++)if(h=n[i],o.selector===
h.selector&&(!k||k.test(h.namespace))&&!o.elem.disabled){g=o.elem;e=null;if(h.preType==="mouseenter"||h.preType==="mouseleave")a.type=h.preType,e=c(a.relatedTarget).closest(h.selector)[0];(!e||e!==g)&&m.push({elem:g,handleObj:h,level:o.level})}}j=0;for(l=m.length;j<l;j++){f=m[j];if(d&&f.level>d)break;a.currentTarget=f.elem;a.data=f.handleObj.data;a.handleObj=f.handleObj;k=f.handleObj.origHandler.apply(f.elem,arguments);if(k===!1||a.isPropagationStopped())if(d=f.level,k===!1&&(b=!1),a.isImmediatePropagationStopped())break}return b}}
function S(a,b){return(a&&a!=="*"?a+".":"")+b.replace(Ta,"`").replace(Ua,"&")}function la(a,b,d){if(c.isFunction(b))return c.grep(a,function(a,c){return!!b.call(a,c,a)===d});else if(b.nodeType)return c.grep(a,function(a){return a===b===d});else if(typeof b==="string"){var e=c.grep(a,function(a){return a.nodeType===1});if(Va.test(b))return c.filter(b,e,!d);else b=c.filter(b,e)}return c.grep(a,function(a){return c.inArray(a,b)>=0===d})}function ma(a,b){if(b.nodeType===1&&c.hasData(a)){var d=c.expando,
e=c.data(a),f=c.data(b,e);if(e=e[d]){var h=e.events,f=f[d]=c.extend({},e);if(h){delete f.handle;f.events={};for(var g in h){d=0;for(e=h[g].length;d<e;d++)c.event.add(b,g+(h[g][d].namespace?".":"")+h[g][d].namespace,h[g][d],h[g][d].data)}}}}}function na(a,b){if(b.nodeType===1){var d=b.nodeName.toLowerCase();b.clearAttributes();b.mergeAttributes(a);if(d==="object")b.outerHTML=a.outerHTML;else if(d==="input"&&(a.type==="checkbox"||a.type==="radio")){if(a.checked)b.defaultChecked=b.checked=a.checked;
if(b.value!==a.value)b.value=a.value}else if(d==="option")b.selected=a.defaultSelected;else if(d==="input"||d==="textarea")b.defaultValue=a.defaultValue;b.removeAttribute(c.expando)}}function T(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function Wa(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 oa(a,b,d){var e=b===
"width"?a.offsetWidth:a.offsetHeight;if(d==="border")return e;c.each(b==="width"?Xa:Ya,function(){d||(e-=parseFloat(c.css(a,"padding"+this))||0);d==="margin"?e+=parseFloat(c.css(a,"margin"+this))||0:e-=parseFloat(c.css(a,"border"+this+"Width"))||0});return e}function pa(a){return function(b,d){var j;typeof b!=="string"&&(d=b,b="*");if(c.isFunction(d))for(var e=b.toLowerCase().split(qa),f=0,h=e.length,g,i;f<h;f++)g=e[f],(i=/^\+/.test(g))&&(g=g.substr(1)||"*"),j=a[g]=a[g]||[],g=j,g[i?"unshift":"push"](d)}}
function U(a,b,c,e,f,h){f=f||b.dataTypes[0];h=h||{};h[f]=!0;for(var f=a[f],g=0,i=f?f.length:0,j=a===$,l;g<i&&(j||!l);g++)l=f[g](b,c,e),typeof l==="string"&&(!j||h[l]?l=m:(b.dataTypes.unshift(l),l=U(a,b,c,e,l,h)));if((j||!l)&&!h["*"])l=U(a,b,c,e,"*",h);return l}function aa(a,b,d,e){if(c.isArray(b)&&b.length)c.each(b,function(b,f){d||Za.test(a)?e(a,f):aa(a+"["+(typeof f==="object"||c.isArray(f)?b:"")+"]",f,d,e)});else if(!d&&b!=null&&typeof b==="object")if(c.isArray(b)||c.isEmptyObject(b))e(a,"");else for(var f in b)aa(a+
"["+f+"]",b[f],d,e);else e(a,b)}function $a(){c(n).unload(function(){for(var a in J)J[a](0,1)})}function ra(){try{return new n.XMLHttpRequest}catch(a){}}function F(a,b){var d={};c.each(sa.concat.apply([],sa.slice(0,b)),function(){d[this]=a});return d}function ta(a){if(!ba[a]){var b=c("<"+a+">").appendTo("body"),d=b.css("display");b.remove();if(d==="none"||d==="")d="block";ba[a]=d}return ba[a]}function ca(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}var k=n.document,c=
function(){function a(){if(!b.isReady){try{k.documentElement.doScroll("left")}catch(c){setTimeout(a,1);return}b.ready()}}var b=function(a,c){return new b.fn.init(a,c,f)},c=n.jQuery,e=n.$,f,h=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,g=/\S/,i=/^\s+/,j=/\s+$/,l=/\d/,o=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,Sa=/^[\],:{}\s]*$/,u=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,q=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,s=/(?:^|:|,)(?:\s*\[)+/g,w=/(webkit)[ \/]([\w.]+)/,t=/(opera)(?:.*version)?[ \/]([\w.]+)/,
N=/(msie) ([\w.]+)/,v=/(mozilla)(?:.*? rv:([\w.]+))?/,p=navigator.userAgent,z,D,ab=Object.prototype.toString,da=Object.prototype.hasOwnProperty,ea=Array.prototype.push,fa=Array.prototype.slice,ua=String.prototype.trim,va=Array.prototype.indexOf,wa={};b.fn=b.prototype={constructor:b,init:function(a,c,d){var e;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(a==="body"&&!c&&k.body)return this.context=k,this[0]=k.body,this.selector="body",this.length=1,this;if(typeof a===
"string")if((e=h.exec(a))&&(e[1]||!c))if(e[1])return d=(c=c instanceof b?c[0]:c)?c.ownerDocument||c:k,(a=o.exec(a))?b.isPlainObject(c)?(a=[k.createElement(a[1])],b.fn.attr.call(a,c,!0)):a=[d.createElement(a[1])]:(a=b.buildFragment([e[1]],[d]),a=(a.cacheable?b.clone(a.fragment):a.fragment).childNodes),b.merge(this,a);else{if((c=k.getElementById(e[2]))&&c.parentNode){if(c.id!==e[2])return d.find(a);this.length=1;this[0]=c}this.context=k;this.selector=a;return this}else return!c||c.jquery?(c||d).find(a):
this.constructor(c).find(a);else if(b.isFunction(a))return d.ready(a);if(a.selector!==m)this.selector=a.selector,this.context=a.context;return b.makeArray(a,this)},selector:"",jquery:"1.5.2",length:0,size:function(){return this.length},toArray:function(){return fa.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,c,d){var e=this.constructor();b.isArray(a)?ea.apply(e,a):b.merge(e,a);e.prevObject=this;e.context=this.context;if(c==="find")e.selector=
this.selector+(this.selector?" ":"")+d;else if(c)e.selector=this.selector+"."+c+"("+d+")";return e},each:function(a,c){return b.each(this,a,c)},ready:function(a){b.bindReady();z.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(fa.apply(this,arguments),"slice",fa.call(arguments).join(","))},map:function(a){return this.pushStack(b.map(this,function(b,c){return a.call(b,
c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:ea,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var a,c,d,e,f,p=arguments[0]||{},h=1,g=arguments.length,z=!1;typeof p==="boolean"&&(z=p,p=arguments[1]||{},h=2);typeof p!=="object"&&!b.isFunction(p)&&(p={});g===h&&(p=this,--h);for(;h<g;h++)if((a=arguments[h])!=null)for(c in a)d=p[c],e=a[c],p!==e&&(z&&e&&(b.isPlainObject(e)||(f=b.isArray(e)))?(f?(f=!1,d=d&&b.isArray(d)?d:[]):d=d&&
b.isPlainObject(d)?d:{},p[c]=b.extend(z,d,e)):e!==m&&(p[c]=e));return p};b.extend({noConflict:function(a){n.$=e;if(a)n.jQuery=c;return b},isReady:!1,readyWait:1,ready:function(a){a===!0&&b.readyWait--;if(!b.readyWait||a!==!0&&!b.isReady){if(!k.body)return setTimeout(b.ready,1);b.isReady=!0;a!==!0&&--b.readyWait>0||(z.resolveWith(k,[b]),b.fn.trigger&&b(k).trigger("ready").unbind("ready"))}},bindReady:function(){if(!z){z=b._Deferred();if(k.readyState==="complete")return setTimeout(b.ready,1);if(k.addEventListener)k.addEventListener("DOMContentLoaded",
D,!1),n.addEventListener("load",b.ready,!1);else if(k.attachEvent){k.attachEvent("onreadystatechange",D);n.attachEvent("onload",b.ready);var c=!1;try{c=n.frameElement==null}catch(d){}k.documentElement.doScroll&&c&&a()}}},isFunction:function(a){return b.type(a)==="function"},isArray:Array.isArray||function(a){return b.type(a)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||!l.test(a)||isNaN(a)},type:function(a){return a==null?String(a):
wa[ab.call(a)]||"object"},isPlainObject:function(a){if(!a||b.type(a)!=="object"||a.nodeType||b.isWindow(a))return!1;if(a.constructor&&!da.call(a,"constructor")&&!da.call(a.constructor.prototype,"isPrototypeOf"))return!1;for(var c in a);return c===m||da.call(a,c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=b.trim(a);if(Sa.test(a.replace(u,"@").replace(q,"]").replace(s,"")))return n.JSON&&n.JSON.parse?
n.JSON.parse(a):(new Function("return "+a))();else b.error("Invalid JSON: "+a)},parseXML:function(a,c,d){n.DOMParser?(d=new DOMParser,c=d.parseFromString(a,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(a));d=c.documentElement;(!d||!d.nodeName||d.nodeName==="parsererror")&&b.error("Invalid XML: "+a);return c},noop:function(){},globalEval:function(a){if(a&&g.test(a)){var c=k.head||k.getElementsByTagName("head")[0]||k.documentElement,d=k.createElement("script");b.support.scriptEval()?
d.appendChild(k.createTextNode(a)):d.text=a;c.insertBefore(d,c.firstChild);c.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var e,f=0,p=a.length,h=p===m||b.isFunction(a);if(d)if(h)for(e in a){if(c.apply(a[e],d)===!1)break}else for(;f<p;){if(c.apply(a[f++],d)===!1)break}else if(h)for(e in a){if(c.call(a[e],e,a[e])===!1)break}else for(d=a[0];f<p&&c.call(d,f,d)!==!1;d=a[++f]);return a},trim:ua?function(a){return a==null?"":
ua.call(a)}:function(a){return a==null?"":a.toString().replace(i,"").replace(j,"")},makeArray:function(a,c){var d=c||[];if(a!=null){var e=b.type(a);a.length==null||e==="string"||e==="function"||e==="regexp"||b.isWindow(a)?ea.call(d,a):b.merge(d,a)}return d},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var c=0,d=b.length;c<d;c++)if(b[c]===a)return c;return-1},merge:function(a,b){var c=a.length,d=0;if(typeof b.length==="number")for(var e=b.length;d<e;d++)a[c++]=b[d];else for(;b[d]!==m;)a[c++]=
b[d++];a.length=c;return a},grep:function(a,b,c){for(var d=[],e,c=!!c,f=0,p=a.length;f<p;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,b,c){for(var d=[],e,f=0,p=a.length;f<p;f++)e=b(a[f],f,c),e!=null&&(d[d.length]=e);return d.concat.apply([],d)},guid:1,proxy:function(a,c,d){arguments.length===2&&(typeof c==="string"?(d=a,a=d[c],c=m):c&&!b.isFunction(c)&&(d=c,c=m));!c&&a&&(c=function(){return a.apply(d||this,arguments)});if(a)c.guid=a.guid=a.guid||c.guid||b.guid++;return c},access:function(a,
c,d,e,f,p){var h=a.length;if(typeof c==="object"){for(var g in c)b.access(a,g,c[g],e,f,d);return a}if(d!==m){e=!p&&e&&b.isFunction(d);for(g=0;g<h;g++)f(a[g],c,e?d.call(a[g],g,f(a[g],c)):d,p);return a}return h?f(a[0],c):m},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();a=w.exec(a)||t.exec(a)||N.exec(a)||a.indexOf("compatible")<0&&v.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}b.extend(!0,a,this);a.superclass=
this;a.fn=a.prototype=this();a.fn.constructor=a;a.subclass=this.subclass;a.fn.init=function(d,e){e&&e instanceof b&&!(e instanceof a)&&(e=a(e));return b.fn.init.call(this,d,e,c)};a.fn.init.prototype=a.fn;var c=a(k);return a},browser:{}});b.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){wa["[object "+b+"]"]=b.toLowerCase()});p=b.uaMatch(p);if(p.browser)b.browser[p.browser]=!0,b.browser.version=p.version;if(b.browser.webkit)b.browser.safari=!0;if(va)b.inArray=
function(a,b){return va.call(b,a)};g.test("\u00a0")&&(i=/^[\s\xA0]+/,j=/[\s\xA0]+$/);f=b(k);k.addEventListener?D=function(){k.removeEventListener("DOMContentLoaded",D,!1);b.ready()}:k.attachEvent&&(D=function(){k.readyState==="complete"&&(k.detachEvent("onreadystatechange",D),b.ready())});return b}(),ga="then done fail isResolved isRejected promise".split(" "),xa=[].slice;c.extend({_Deferred:function(){var a=[],b,d,e,f={done:function(){if(!e){var d=arguments,g,i,j,l,o;b&&(o=b,b=0);g=0;for(i=d.length;g<
i;g++)j=d[g],l=c.type(j),l==="array"?f.done.apply(f,j):l==="function"&&a.push(j);o&&f.resolveWith(o[0],o[1])}return this},resolveWith:function(c,f){if(!e&&!b&&!d){f=f||[];d=1;try{for(;a[0];)a.shift().apply(c,f)}finally{b=[c,f],d=0}}return this},resolve:function(){f.resolveWith(this,arguments);return this},isResolved:function(){return!(!d&&!b)},cancel:function(){e=1;a=[];return this}};return f},Deferred:function(a){var b=c._Deferred(),d=c._Deferred(),e;c.extend(b,{then:function(a,c){b.done(a).fail(c);
return this},fail:d.done,rejectWith:d.resolveWith,reject:d.resolve,isRejected:d.isResolved,promise:function(a){if(a==null){if(e)return e;e=a={}}for(var c=ga.length;c--;)a[ga[c]]=b[ga[c]];return a}});b.done(d.cancel).fail(b.cancel);delete b.cancel;a&&a.call(b,b);return b},when:function(a){function b(a){return function(b){d[a]=arguments.length>1?xa.call(arguments,0):b;--h||g.resolveWith(g,xa.call(d,0))}}var d=arguments,e=0,f=d.length,h=f,g=f<=1&&a&&c.isFunction(a.promise)?a:c.Deferred();if(f>1){for(;e<
f;e++)d[e]&&c.isFunction(d[e].promise)?d[e].promise().then(b(e),g.reject):--h;h||g.resolveWith(g,d)}else g!==a&&g.resolveWith(g,f?[a]:[]);return g.promise()}});(function(){c.support={};var a=k.createElement("div");a.style.display="none";a.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var b=a.getElementsByTagName("*"),d=a.getElementsByTagName("a")[0],e=k.createElement("select"),f=e.appendChild(k.createElement("option")),h=
a.getElementsByTagName("input")[0];if(b&&b.length&&d){c.support={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/red/.test(d.getAttribute("style")),hrefNormalized:d.getAttribute("href")==="/a",opacity:/^0.55$/.test(d.style.opacity),cssFloat:!!d.style.cssFloat,checkOn:h.value==="on",optSelected:f.selected,deleteExpando:!0,optDisabled:!1,checkClone:!1,noCloneEvent:!0,noCloneChecked:!0,boxModel:null,
inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0,reliableMarginRight:!0};h.checked=!0;c.support.noCloneChecked=h.cloneNode(!0).checked;e.disabled=!0;c.support.optDisabled=!f.disabled;var g=null;c.support.scriptEval=function(){if(g===null){var a=k.documentElement,b=k.createElement("script"),d="script"+c.now();try{b.appendChild(k.createTextNode("window."+d+"=1;"))}catch(e){}a.insertBefore(b,a.firstChild);n[d]?(g=!0,delete n[d]):g=!1;a.removeChild(b)}return g};try{delete a.test}catch(i){c.support.deleteExpando=
!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function l(){c.support.noCloneEvent=!1;a.detachEvent("onclick",l)}),a.cloneNode(!0).fireEvent("onclick"));a=k.createElement("div");a.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";b=k.createDocumentFragment();b.appendChild(a.firstChild);c.support.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked;c(function(){var a=k.createElement("div"),b=k.getElementsByTagName("body")[0];if(b){a.style.width=
a.style.paddingLeft="1px";b.appendChild(a);c.boxModel=c.support.boxModel=a.offsetWidth===2;if("zoom"in a.style)a.style.display="inline",a.style.zoom=1,c.support.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",c.support.shrinkWrapBlocks=a.offsetWidth!==2;a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";var d=a.getElementsByTagName("td");c.support.reliableHiddenOffsets=d[0].offsetHeight===0;d[0].style.display=
"";d[1].style.display="none";c.support.reliableHiddenOffsets=c.support.reliableHiddenOffsets&&d[0].offsetHeight===0;a.innerHTML="";if(k.defaultView&&k.defaultView.getComputedStyle)a.style.width="1px",a.style.marginRight="0",c.support.reliableMarginRight=(parseInt(k.defaultView.getComputedStyle(a,null).marginRight,10)||0)===0;b.removeChild(a).style.display="none"}});b=function(a){var b=k.createElement("div"),a="on"+a;if(!b.attachEvent)return!0;var c=a in b;c||(b.setAttribute(a,"return;"),c=typeof b[a]===
"function");return c};c.support.submitBubbles=b("submit");c.support.changeBubbles=b("change");a=b=d=null}})();var Qa=/^(?:\{.*\}|\[.*\])$/;c.extend({cache:{},uuid:0,expando:"jQuery"+(c.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?c.cache[a[c.expando]]:a[c.expando];return!!a&&!Z(a)},data:function(a,b,d,e){if(c.acceptData(a)){var f=c.expando,h=typeof b==="string",g=a.nodeType,i=g?c.cache:a,
j=g?a[c.expando]:a[c.expando]&&c.expando;if(j&&(!e||!j||i[j][f])||!(h&&d===m)){if(!j)g?a[c.expando]=j=++c.uuid:j=c.expando;if(!i[j]&&(i[j]={},!g))i[j].toJSON=c.noop;if(typeof b==="object"||typeof b==="function")e?i[j][f]=c.extend(i[j][f],b):i[j]=c.extend(i[j],b);a=i[j];e&&(a[f]||(a[f]={}),a=a[f]);d!==m&&(a[b]=d);if(b==="events"&&!a[b])return a[f]&&a[f].events;return h?a[b]:a}}},removeData:function(a,b,d){if(c.acceptData(a)){var e=c.expando,f=a.nodeType,h=f?c.cache:a,g=f?a[c.expando]:c.expando;if(h[g]){if(b){var i=
d?h[g][e]:h[g];if(i&&(delete i[b],!Z(i)))return}if(d&&(delete h[g][e],!Z(h[g])))return;b=h[g][e];c.support.deleteExpando||h!=n?delete h[g]:h[g]=null;if(b){h[g]={};if(!f)h[g].toJSON=c.noop;h[g][e]=b}else f&&(c.support.deleteExpando?delete a[c.expando]:a.removeAttribute?a.removeAttribute(c.expando):a[c.expando]=null)}}},_data:function(a,b,d){return c.data(a,b,d,!0)},acceptData:function(a){if(a.nodeName){var b=c.noData[a.nodeName.toLowerCase()];if(b)return!(b===!0||a.getAttribute("classid")!==b)}return!0}});
c.fn.extend({data:function(a,b){var d=null;if(typeof a==="undefined"){if(this.length&&(d=c.data(this[0]),this[0].nodeType===1))for(var e=this[0].attributes,f,h=0,g=e.length;h<g;h++)f=e[h].name,f.indexOf("data-")===0&&(f=f.substr(5),y(this[0],f,d[f]));return d}else if(typeof a==="object")return this.each(function(){c.data(this,a)});var i=a.split(".");i[1]=i[1]?"."+i[1]:"";return b===m?(d=this.triggerHandler("getData"+i[1]+"!",[i[0]]),d===m&&this.length&&(d=c.data(this[0],a),d=y(this[0],a,d)),d===m&&
i[1]?this.data(i[0]):d):this.each(function(){var d=c(this),e=[i[0],b];d.triggerHandler("setData"+i[1]+"!",e);c.data(this,a,b);d.triggerHandler("changeData"+i[1]+"!",e)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){var b=(b||"fx")+"queue",e=c._data(a,b);if(!d)return e||[];!e||c.isArray(d)?e=c._data(a,b,c.makeArray(d)):e.push(d);return e}},dequeue:function(a,b){var b=b||"fx",d=c.queue(a,b),e=d.shift();e==="inprogress"&&(e=d.shift());
e&&(b==="fx"&&d.unshift("inprogress"),e.call(a,function(){c.dequeue(a,b)}));d.length||c.removeData(a,b+"queue",!0)}});c.fn.extend({queue:function(a,b){typeof a!=="string"&&(b=a,a="fx");if(b===m)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 ya=/[\n\t\r]/g,ha=/\s+/,bb=/\r/g,cb=/^(?:href|src|style)$/,db=/^(?:button|input)$/i,eb=/^(?:button|input|object|select|textarea)$/i,fb=/^a(?:rea)?$/i,za=/^(?:radio|checkbox)$/i;c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};c.fn.extend({attr:function(a,b){return c.access(this,
a,b,!0,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(b){var d=c(this);d.addClass(a.call(this,b,d.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ha),d=0,e=this.length;d<e;d++){var f=this[d];if(f.nodeType===1)if(f.className){for(var h=" "+f.className+" ",g=f.className,i=0,j=b.length;i<j;i++)h.indexOf(" "+b[i]+" ")<0&&(g+=" "+b[i]);f.className=
c.trim(g)}else f.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.removeClass(a.call(this,b,d.attr("class")))});if(a&&typeof a==="string"||a===m)for(var b=(a||"").split(ha),d=0,e=this.length;d<e;d++){var f=this[d];if(f.nodeType===1&&f.className)if(a){for(var h=(" "+f.className+" ").replace(ya," "),g=0,i=b.length;g<i;g++)h=h.replace(" "+b[g]+" "," ");f.className=c.trim(h)}else f.className=""}return this},toggleClass:function(a,b){var d=
typeof a,e=typeof b==="boolean";if(c.isFunction(a))return this.each(function(d){var e=c(this);e.toggleClass(a.call(this,d,e.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var f,h=0,g=c(this),i=b,j=a.split(ha);f=j[h++];)i=e?i:!g.hasClass(f),g[i?"addClass":"removeClass"](f);else if(d==="undefined"||d==="boolean")this.className&&c._data(this,"__className__",this.className),this.className=this.className||a===!1?"":c._data(this,"__className__")||""})},hasClass:function(a){for(var a=
" "+a+" ",b=0,c=this.length;b<c;b++)if((" "+this[b].className+" ").replace(ya," ").indexOf(a)>-1)return!0;return!1},val:function(a){if(!arguments.length){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 d=b.selectedIndex,e=[],f=b.options,b=b.type==="select-one";if(d<0)return null;for(var h=b?d:0,g=b?d+1:f.length;h<g;h++){var i=f[h];if(i.selected&&(c.support.optDisabled?!i.disabled:i.getAttribute("disabled")===
null)&&(!i.parentNode.disabled||!c.nodeName(i.parentNode,"optgroup"))){a=c(i).val();if(b)return a;e.push(a)}}if(b&&!e.length&&f.length)return c(f[d]).val();return e}if(za.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(bb,"")}return m}var j=c.isFunction(a);return this.each(function(b){var d=c(this),e=a;if(this.nodeType===1)if(j&&(e=a.call(this,b,d.val())),e==null?e="":typeof e==="number"?e+="":c.isArray(e)&&(e=c.map(e,function(a){return a==
null?"":a+""})),c.isArray(e)&&za.test(this.type))this.checked=c.inArray(d.val(),e)>=0;else if(c.nodeName(this,"select")){var f=c.makeArray(e);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),f)>=0});if(!f.length)this.selectedIndex=-1}else this.value=e})}});c.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,b,d,e){if(!a||a.nodeType===3||a.nodeType===8||a.nodeType===2)return m;if(e&&b in c.attrFn)return c(a)[b](d);var e=a.nodeType!==
1||!c.isXMLDoc(a),f=d!==m,b=e&&c.props[b]||b;if(a.nodeType===1){var h=cb.test(b);if((b in a||a[b]!==m)&&e&&!h){f&&(b==="type"&&db.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed"),d===null?a.nodeType===1&&a.removeAttribute(b):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:eb.test(a.nodeName)||fb.test(a.nodeName)&&a.href?0:m;return a[b]}if(!c.support.style&&
e&&b==="style"){if(f)a.style.cssText=""+d;return a.style.cssText}f&&a.setAttribute(b,""+d);if(!a.attributes[b]&&a.hasAttribute&&!a.hasAttribute(b))return m;a=!c.support.hrefNormalized&&e&&h?a.getAttribute(b,2):a.getAttribute(b);return a===null?m:a}f&&(a[b]=d);return a[b]}});var R=/\.(.*)$/,ia=/^(?:textarea|input|select)$/i,Ta=/\./g,Ua=/ /g,gb=/[^\w\s.|`]/g,hb=function(a){return a.replace(gb,"\\$&")};c.event={add:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){try{c.isWindow(a)&&a!==n&&!a.frameElement&&
(a=n)}catch(f){}if(d===!1)d=E;else if(!d)return;var h,g;if(d.handler)h=d,d=h.handler;if(!d.guid)d.guid=c.guid++;if(g=c._data(a)){var i=g.events,j=g.handle;if(!i)g.events=i={};if(!j)g.handle=j=function(a){return typeof c!=="undefined"&&c.event.triggered!==a.type?c.event.handle.apply(j.elem,arguments):m};j.elem=a;for(var b=b.split(" "),l,o=0,k;l=b[o++];){g=h?c.extend({},h):{handler:d,data:e};l.indexOf(".")>-1?(k=l.split("."),l=k.shift(),g.namespace=k.slice(0).sort().join(".")):(k=[],g.namespace="");
g.type=l;if(!g.guid)g.guid=d.guid;var u=i[l],q=c.event.special[l]||{};if(!u&&(u=i[l]=[],!q.setup||q.setup.call(a,e,k,j)===!1))a.addEventListener?a.addEventListener(l,j,!1):a.attachEvent&&a.attachEvent("on"+l,j);if(q.add&&(q.add.call(a,g),!g.handler.guid))g.handler.guid=d.guid;u.push(g);c.event.global[l]=!0}a=null}}},global:{},remove:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){d===!1&&(d=E);var f,h,g=0,i,j,l,o,k,n,q=c.hasData(a)&&c._data(a),s=q&&q.events;if(q&&s){if(b&&b.type)d=b.handler,
b=b.type;if(!b||typeof b==="string"&&b.charAt(0)===".")for(f in b=b||"",s)c.event.remove(a,f+b);else{for(b=b.split(" ");f=b[g++];)if(o=f,i=f.indexOf(".")<0,j=[],i||(j=f.split("."),f=j.shift(),l=RegExp("(^|\\.)"+c.map(j.slice(0).sort(),hb).join("\\.(?:.*\\.)?")+"(\\.|$)")),k=s[f])if(d){o=c.event.special[f]||{};for(h=e||0;h<k.length;h++)if(n=k[h],d.guid===n.guid){if(i||l.test(n.namespace))e==null&&k.splice(h--,1),o.remove&&o.remove.call(a,n);if(e!=null)break}if(k.length===0||e!=null&&k.length===1)(!o.teardown||
o.teardown.call(a,j)===!1)&&c.removeEvent(a,f,q.handle),delete s[f]}else for(h=0;h<k.length;h++)if(n=k[h],i||l.test(n.namespace))c.event.remove(a,o,n.handler,h),k.splice(h--,1);if(c.isEmptyObject(s)){if(b=q.handle)b.elem=null;delete q.events;delete q.handle;c.isEmptyObject(q)&&c.removeData(a,m,!0)}}}}},trigger:function(a,b,d,e){var f=a.type||a;if(!e){a=typeof a==="object"?a[c.expando]?a:c.extend(c.Event(f),a):c.Event(f);if(f.indexOf("!")>=0)a.type=f=f.slice(0,-1),a.exclusive=!0;d||(a.stopPropagation(),
c.event.global[f]&&c.each(c.cache,function(){var d=this[c.expando];d&&d.events&&d.events[f]&&c.event.trigger(a,b,d.handle.elem)}));if(!d||d.nodeType===3||d.nodeType===8)return m;a.result=m;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(e=c._data(d,"handle"))&&e.apply(d,b);e=d.parentNode||d.ownerDocument;try{if((!d||!d.nodeName||!c.noData[d.nodeName.toLowerCase()])&&d["on"+f]&&d["on"+f].apply(d,b)===!1)a.result=!1,a.preventDefault()}catch(h){}if(!a.isPropagationStopped()&&e)c.event.trigger(a,
b,e,!0);else if(!a.isDefaultPrevented()){var g,e=a.target,i=f.replace(R,""),j=c.nodeName(e,"a")&&i==="click",l=c.event.special[i]||{};if((!l._default||l._default.call(d,a)===!1)&&!j&&(!e||!e.nodeName||!c.noData[e.nodeName.toLowerCase()])){try{if(e[i])(g=e["on"+i])&&(e["on"+i]=null),c.event.triggered=a.type,e[i]()}catch(k){}g&&(e["on"+i]=g);c.event.triggered=m}}},handle:function(a){var b,d,e,f;d=[];var h=c.makeArray(arguments),a=h[0]=c.event.fix(a||n.event);a.currentTarget=this;b=a.type.indexOf(".")<
0&&!a.exclusive;if(!b)e=a.type.split("."),a.type=e.shift(),d=e.slice(0).sort(),e=RegExp("(^|\\.)"+d.join("\\.(?:.*\\.)?")+"(\\.|$)");a.namespace=a.namespace||d.join(".");f=c._data(this,"events");d=(f||{})[a.type];if(f&&d){d=d.slice(0);f=0;for(var g=d.length;f<g;f++){var i=d[f];if(b||e.test(i.namespace)){a.handler=i.handler;a.data=i.data;a.handleObj=i;i=i.handler.apply(this,h);if(i!==m)a.result=i,i===!1&&(a.preventDefault(),a.stopPropagation());if(a.isImmediatePropagationStopped())break}}}return a.result},
props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a){if(a[c.expando])return a;for(var b=a,a=c.Event(b),d=this.props.length,e;d;)e=this.props[--d],a[e]=b[e];if(!a.target)a.target=a.srcElement||k;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=k.documentElement,d=k.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==null&&(a.charCode!=null||a.keyCode!=null))a.which=a.charCode!=null?a.charCode:a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=
a.ctrlKey;if(!a.which&&a.button!==m)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,S(a.origType,a.selector),c.extend({},a,{handler:Ra,guid:a.handler.guid}))},remove:function(a){c.event.remove(this,S(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,d){if(c.isWindow(this))this.onbeforeunload=d},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=
null}}}};c.removeEvent=k.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&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.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?P:E):this.type=a;this.timeStamp=c.now();this[c.expando]=!0};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=
P;var a=this.originalEvent;if(a)a.preventDefault?a.preventDefault():a.returnValue=!1},stopPropagation:function(){this.isPropagationStopped=P;var a=this.originalEvent;if(a)a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=P;this.stopPropagation()},isDefaultPrevented:E,isPropagationStopped:E,isImmediatePropagationStopped:E};var Aa=function(a){var b=a.relatedTarget;try{if(!b||b===k||b.parentNode){for(;b&&b!==this;)b=b.parentNode;
if(b!==this)a.type=a.data,c.event.handle.apply(this,arguments)}}catch(d){}},Ba=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?Ba:Aa,a)},teardown:function(a){c.event.remove(this,b,a&&a.selector?Ba:Aa)}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(){if(this.nodeName&&this.nodeName.toLowerCase()!=="form")c.event.add(this,
"click.specialSubmit",function(a){var b=a.target,d=b.type;(d==="submit"||d==="image")&&c(b).closest("form").length&&ka("submit",this,arguments)}),c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;(d==="text"||d==="password")&&c(b).closest("form").length&&a.keyCode===13&&ka("submit",this,arguments)});else return!1},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var I,Ca=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(a){return a.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},V=function(a,b){var d=a.target,e,f;if(ia.test(d.nodeName)&&!d.readOnly&&(e=c._data(d,"_change_data"),f=Ca(d),(a.type!=="focusout"||d.type!=="radio")&&c._data(d,"_change_data",f),!(e===m||f===e)))if(e!=null||f)a.type="change",a.liveFired=m,c.event.trigger(a,b,d)};c.event.special.change={filters:{focusout:V,
beforedeactivate:V,click:function(a){var b=a.target,c=b.type;(c==="radio"||c==="checkbox"||b.nodeName.toLowerCase()==="select")&&V.call(this,a)},keydown:function(a){var b=a.target,c=b.type;(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&V.call(this,a)},beforeactivate:function(a){a=a.target;c._data(a,"_change_data",Ca(a))}},setup:function(){if(this.type==="file")return!1;for(var a in I)c.event.add(this,a+".specialChange",
I[a]);return ia.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return ia.test(this.nodeName)}};I=c.event.special.change.filters;I.focus=I.beforeactivate}k.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(a){var d=c.event.fix(a);d.type=b;d.originalEvent={};c.event.trigger(d,null,d.target);d.isDefaultPrevented()&&a.preventDefault()}var e=0;c.event.special[b]={setup:function(){e++===0&&k.addEventListener(a,d,!0)},teardown:function(){--e===
0&&k.removeEventListener(a,d,!0)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(a,e,f){if(typeof a==="object"){for(var h in a)this[b](h,e,a[h],f);return this}if(c.isFunction(e)||e===!1)f=e,e=m;var g=b==="one"?c.proxy(f,function(a){c(this).unbind(a,g);return f.apply(this,arguments)}):f;if(a==="unload"&&b!=="one")this.one(a,e,f);else{h=0;for(var i=this.length;h<i;h++)c.event.add(this[h],a,g,e)}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 e=this.length;d<e;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,c,e){return this.live(b,c,e,a)},undelegate:function(a,b,c){return arguments.length===0?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]){var d=c.Event(a);d.preventDefault();d.stopPropagation();c.event.trigger(d,b,this[0]);return d.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(e){var f=(c._data(this,"lastToggle"+a.guid)||0)%d;c._data(this,"lastToggle"+a.guid,f+1);e.preventDefault();return b[f].apply(this,arguments)||!1}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var Da={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(a,e,f,h){var g,i=0,j,l,k=h||this.selector,h=h?this:c(this.context);if(typeof a===
"object"&&!a.preventDefault){for(g in a)h[b](g,e,a[g],k);return this}c.isFunction(e)&&(f=e,e=m);for(a=(a||"").split(" ");(g=a[i++])!=null;)if(j=R.exec(g),l="",j&&(l=j[0],g=g.replace(R,"")),g==="hover")a.push("mouseenter"+l,"mouseleave"+l);else if(j=g,g==="focus"||g==="blur"?(a.push(Da[g]+l),g+=l):g=(Da[g]||g)+l,b==="live"){l=0;for(var n=h.length;l<n;l++)c.event.add(h[l],"live."+S(g,k),{data:e,selector:k,handler:f,origType:g,origHandler:f,preType:j})}else h.unbind("live."+S(g,k),f);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,c){c==null&&(c=a,a=null);return arguments.length>0?this.bind(b,a,c):this.trigger(b)};c.attrFn&&(c.attrFn[b]=!0)});(function(){function a(a,b,c,d,e,f){for(var e=0,h=d.length;e<h;e++){var g=d[e];if(g){for(var i=!1,g=g[a];g;){if(g.sizcache===c){i=d[g.sizset];break}if(g.nodeType===
1&&!f)g.sizcache=c,g.sizset=e;if(g.nodeName.toLowerCase()===b){i=g;break}g=g[a]}d[e]=i}}}function b(a,b,c,d,e,f){for(var e=0,h=d.length;e<h;e++){var g=d[e];if(g){for(var i=!1,g=g[a];g;){if(g.sizcache===c){i=d[g.sizset];break}if(g.nodeType===1){if(!f)g.sizcache=c,g.sizset=e;if(typeof b!=="string"){if(g===b){i=!0;break}}else if(l.filter(b,[g]).length>0){i=g;break}}g=g[a]}d[e]=i}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
e=0,f=Object.prototype.toString,h=!1,g=!0,i=/\\/g,j=/\W/;[0,0].sort(function(){g=!1;return 0});var l=function(a,b,c,e){var c=c||[],h=b=b||k;if(b.nodeType!==1&&b.nodeType!==9)return[];if(!a||typeof a!=="string")return c;var g,i,j,m,q,t=!0,u=l.isXML(b),r=[],w=a;do if(d.exec(""),g=d.exec(w))if(w=g[3],r.push(g[1]),g[2]){m=g[3];break}while(g);if(r.length>1&&n.exec(a))if(r.length===2&&o.relative[r[0]])i=v(r[0]+r[1],b);else for(i=o.relative[r[0]]?[b]:l(r.shift(),b);r.length;)a=r.shift(),o.relative[a]&&(a+=
r.shift()),i=v(a,i);else if(!e&&r.length>1&&b.nodeType===9&&!u&&o.match.ID.test(r[0])&&!o.match.ID.test(r[r.length-1])&&(g=l.find(r.shift(),b,u),b=g.expr?l.filter(g.expr,g.set)[0]:g.set[0]),b){g=e?{expr:r.pop(),set:s(e)}:l.find(r.pop(),r.length===1&&(r[0]==="~"||r[0]==="+")&&b.parentNode?b.parentNode:b,u);i=g.expr?l.filter(g.expr,g.set):g.set;for(r.length>0?j=s(i):t=!1;r.length;)g=q=r.pop(),o.relative[q]?g=r.pop():q="",g==null&&(g=b),o.relative[q](j,g,u)}else j=[];j||(j=i);j||l.error(q||a);if(f.call(j)===
"[object Array]")if(t)if(b&&b.nodeType===1)for(a=0;j[a]!=null;a++)j[a]&&(j[a]===!0||j[a].nodeType===1&&l.contains(b,j[a]))&&c.push(i[a]);else for(a=0;j[a]!=null;a++)j[a]&&j[a].nodeType===1&&c.push(i[a]);else c.push.apply(c,j);else s(j,c);m&&(l(m,h,c,e),l.uniqueSort(c));return c};l.uniqueSort=function(a){if(t&&(h=g,a.sort(t),h))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.matchesSelector=function(a,b){return l(b,null,null,[a]).length>
0};l.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=o.order.length;e<f;e++){var g,h=o.order[e];if(g=o.leftMatch[h].exec(a)){var j=g[1];g.splice(1,1);if(j.substr(j.length-1)!=="\\"&&(g[1]=(g[1]||"").replace(i,""),d=o.find[h](g,b,c),d!=null)){a=a.replace(o.match[h],"");break}}}d||(d=typeof b.getElementsByTagName!=="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}};l.filter=function(a,b,c,d){for(var e,f,g=a,h=[],i=b,j=b&&b[0]&&l.isXML(b[0]);a&&b.length;){for(var k in o.filter)if((e=
o.leftMatch[k].exec(a))!=null&&e[2]){var n,q,s=o.filter[k];q=e[1];f=!1;e.splice(1,1);if(q.substr(q.length-1)!=="\\"){i===h&&(h=[]);if(o.preFilter[k])if(e=o.preFilter[k](e,i,c,h,d,j)){if(e===!0)continue}else f=n=!0;if(e)for(var t=0;(q=i[t])!=null;t++)if(q){n=s(q,e,t,i);var u=d^!!n;c&&n!=null?u?f=!0:i[t]=!1:u&&(h.push(q),f=!0)}if(n!==m){c||(i=h);a=a.replace(o.match[k],"");if(!f)return[];break}}}if(a===g)if(f==null)l.error(a);else break;g=a}return i};l.error=function(a){throw"Syntax error, unrecognized expression: "+
a;};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|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,
PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b==="string",d=c&&!j.test(b),c=c&&!d;d&&(b=b.toLowerCase());for(var d=0,e=a.length,f;d<e;d++)if(f=a[d]){for(;(f=f.previousSibling)&&f.nodeType!==1;);a[d]=c||f&&f.nodeName.toLowerCase()===b?f||!1:f===b}c&&l.filter(b,
a,!0)},">":function(a,b){var c,d=typeof b==="string",e=0,f=a.length;if(d&&!j.test(b))for(b=b.toLowerCase();e<f;e++){if(c=a[e])c=c.parentNode,a[e]=c.nodeName.toLowerCase()===b?c:!1}else{for(;e<f;e++)(c=a[e])&&(a[e]=d?c.parentNode:c.parentNode===b);d&&l.filter(b,a,!0)}},"":function(c,d,f){var g,h=e++,i=b;typeof d==="string"&&!j.test(d)&&(g=d=d.toLowerCase(),i=a);i("parentNode",d,h,c,g,f)},"~":function(c,d,f){var g,h=e++,i=b;typeof d==="string"&&!j.test(d)&&(g=d=d.toLowerCase(),i=a);i("previousSibling",
d,h,c,g,f)}},find:{ID:function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c)return(a=b.getElementById(a[1]))&&a.parentNode?[a]:[]},NAME:function(a,b){if(typeof b.getElementsByName!=="undefined"){for(var c=[],d=b.getElementsByName(a[1]),e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!=="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(i,
"")+" ";if(f)return a;for(var f=0,g;(g=b[f])!=null;f++)g&&(e^(g.className&&(" "+g.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(g):c&&(b[f]=!1));return!1},ID:function(a){return a[1].replace(i,"")},TAG:function(a){return a[1].replace(i,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||l.error(a[0]);a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0;
a[3]=b[3]-0}else a[2]&&l.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){b=a[1]=a[1].replace(i,"");!f&&o.attrMap[b]&&(a[1]=o.attrMap[b]);a[4]=(a[4]||a[5]||"").replace(i,"");a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(a,b,c,e,f){if(a[1]==="not")if((d.exec(a[3])||"").length>1||/^\w/.test(a[3]))a[3]=l(a[3],null,null,b);else return a=l.filter(a[3],b,c,1^f),c||e.push.apply(e,a),!1;else if(o.match.POS.test(a[0])||o.match.CHILD.test(a[0]))return!0;return a},POS:function(a){a.unshift(!0);
return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!l(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),a=a.type;return"text"===a&&(b===a||b===null)},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||a.nodeName.toLowerCase()==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===
d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},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(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);else if(e==="contains")return(a.textContent||a.innerText||l.getText([a])||"").indexOf(b[3])>=0;else if(e==="not"){b=b[3];c=0;for(d=b.length;c<d;c++)if(b[c]===a)return!1;return!0}else l.error(e)},
CHILD:function(a,b){var c=b[1],d=a;switch(c){case "only":case "first":for(;d=d.previousSibling;)if(d.nodeType===1)return!1;if(c==="first")return!0;d=a;case "last":for(;d=d.nextSibling;)if(d.nodeType===1)return!1;return!0;case "nth":var c=b[2],e=b[3];if(c===1&&e===0)return!0;var f=b[0],g=a.parentNode;if(g&&(g.sizcache!==f||!a.nodeIndex)){for(var h=0,d=g.firstChild;d;d=d.nextSibling)if(d.nodeType===1)d.nodeIndex=++h;g.sizcache=f}d=a.nodeIndex-e;return c===0?d===0:d%c===0&&d/c>=0}},ID:function(a,b){return a.nodeType===
1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],c=o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),d=c+"",e=b[2],f=b[4];return c==null?e==="!=":e==="="?d===f:e==="*="?d.indexOf(f)>=0:e==="~="?(" "+d+" ").indexOf(f)>=0:!f?d&&c!==!1:e==="!="?d!==f:e==="^="?d.indexOf(f)===0:e==="$="?d.substr(d.length-f.length)===
f:e==="|="?d===f||d.substr(0,f.length+1)===f+"-":!1},POS:function(a,b,c,d){var e=o.setFilters[b[2]];if(e)return e(a,c,b,d)}}},n=o.match.POS,u=function(a,b){return"\\"+(b-0+1)},q;for(q in o.match)o.match[q]=RegExp(o.match[q].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[q]=RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[q].source.replace(/\\(\d+)/g,u));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b)return b.push.apply(b,a),b;return a};try{Array.prototype.slice.call(k.documentElement.childNodes,
0)}catch(w){s=function(a,b){var c=0,d=b||[];if(f.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length==="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var t,N;k.documentElement.compareDocumentPosition?t=function(a,b){if(a===b)return h=!0,0;if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(t=function(a,b){var c,d,e=[],f=[];c=a.parentNode;
d=b.parentNode;var g=c;if(a===b)return h=!0,0;else if(c===d)return N(a,b);else if(c){if(!d)return 1}else return-1;for(;g;)e.unshift(g),g=g.parentNode;for(g=d;g;)f.unshift(g),g=g.parentNode;c=e.length;d=f.length;for(g=0;g<c&&g<d;g++)if(e[g]!==f[g])return N(e[g],f[g]);return g===c?N(a,f[g],-1):N(e[g],b,1)},N=function(a,b,c){if(a===b)return c;for(a=a.nextSibling;a;){if(a===b)return-1;a=a.nextSibling}return 1});l.getText=function(a){for(var b="",c,d=0;a[d];d++)c=a[d],c.nodeType===3||c.nodeType===4?b+=
c.nodeValue:c.nodeType!==8&&(b+=l.getText(c.childNodes));return b};(function(){var a=k.createElement("div"),b="script"+(new Date).getTime(),c=k.documentElement;a.innerHTML="<a name='"+b+"'/>";c.insertBefore(a,c.firstChild);if(k.getElementById(b))o.find.ID=function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c)return(b=b.getElementById(a[1]))?b.id===a[1]||typeof b.getAttributeNode!=="undefined"&&b.getAttributeNode("id").nodeValue===a[1]?[b]:m:[]},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!==
"undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b};c.removeChild(a);c=a=null})();(function(){var a=k.createElement("div");a.appendChild(k.createComment(""));if(a.getElementsByTagName("*").length>0)o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){for(var d=[],e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c};a.innerHTML="<a href='#'></a>";if(a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!==
"#")o.attrHandle.href=function(a){return a.getAttribute("href",2)};a=null})();k.querySelectorAll&&function(){var a=l,b=k.createElement("div");b.innerHTML="<p class='TEST'></p>";if(!(b.querySelectorAll&&b.querySelectorAll(".TEST").length===0)){l=function(b,c,d,e){c=c||k;if(!e&&!l.isXML(c)){var f=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(f&&(c.nodeType===1||c.nodeType===9))if(f[1])return s(c.getElementsByTagName(b),d);else if(f[2]&&o.find.CLASS&&c.getElementsByClassName)return s(c.getElementsByClassName(f[2]),
d);if(c.nodeType===9){if(b==="body"&&c.body)return s([c.body],d);else if(f&&f[3]){var g=c.getElementById(f[3]);if(g&&g.parentNode){if(g.id===f[3])return s([g],d)}else return s([],d)}try{return s(c.querySelectorAll(b),d)}catch(h){}}else if(c.nodeType===1&&c.nodeName.toLowerCase()!=="object"){var f=c,i=(g=c.getAttribute("id"))||"__sizzle__",j=c.parentNode,m=/^\s*[+~]/.test(b);g?i=i.replace(/'/g,"\\$&"):c.setAttribute("id",i);if(m&&j)c=c.parentNode;try{if(!m||j)return s(c.querySelectorAll("[id='"+i+
"'] "+b),d)}catch(n){}finally{g||f.removeAttribute("id")}}}return a(b,c,d,e)};for(var c in a)l[c]=a[c];b=null}}();(function(){var a=k.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var c=!b.call(k.createElement("div"),"div"),d=!1;try{b.call(k.documentElement,"[test!='']:sizzle")}catch(e){d=!0}l.matchesSelector=function(a,e){e=e.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!l.isXML(a))try{if(d||!o.match.PSEUDO.test(e)&&!/!=/.test(e)){var f=
b.call(a,e);if(f||!c||a.document&&a.document.nodeType!==11)return f}}catch(g){}return l(e,null,null,[a]).length>0}}})();(function(){var a=k.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==0&&(a.lastChild.className="e",a.getElementsByClassName("e").length!==1))o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!=="undefined"&&!c)return b.getElementsByClassName(a[1])},
a=null})();l.contains=k.documentElement.contains?function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:k.documentElement.compareDocumentPosition?function(a,b){return!!(a.compareDocumentPosition(b)&16)}:function(){return!1};l.isXML=function(a){return(a=(a?a.ownerDocument||a:0).documentElement)?a.nodeName!=="HTML":!1};var v=function(a,b){for(var c,d=[],e="",f=b.nodeType?[b]:b;c=o.match.PSEUDO.exec(a);)e+=c[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;c=0;for(var g=f.length;c<g;c++)l(a,
f[c],d);return l.filter(e,d)};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 ib=/Until$/,jb=/^(?:parents|prevUntil|prevAll)/,kb=/,/,Va=/^.[^:#\[\.,]*$/,lb=Array.prototype.slice,mb=c.expr.match.POS,nb={children:!0,contents:!0,next:!0,prev:!0};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,e=0,f=this.length;e<f;e++)if(d=b.length,c.find(a,this[e],b),e>0)for(var h=d;h<b.length;h++)for(var g=
0;g<d;g++)if(b[g]===b[h]){b.splice(h--,1);break}return b},has:function(a){var b=c(a);return this.filter(function(){for(var a=0,e=b.length;a<e;a++)if(c.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(la(this,a,!1),"not",a)},filter:function(a){return this.pushStack(la(this,a,!0),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){var d=[],e,f,h=this[0];if(c.isArray(a)){var g,i={},j=1;if(h&&a.length){e=0;for(f=a.length;e<f;e++)g=a[e],i[g]||(i[g]=
c.expr.match.POS.test(g)?c(g,b||this.context):g);for(;h&&h.ownerDocument&&h!==b;){for(g in i)e=i[g],(e.jquery?e.index(h)>-1:c(h).is(e))&&d.push({selector:g,elem:h,level:j});h=h.parentNode;j++}}return d}g=mb.test(a)?c(a,b||this.context):null;e=0;for(f=this.length;e<f;e++)for(h=this[e];h;)if(g?g.index(h)>-1:c.find.matchesSelector(h,a)){d.push(h);break}else if(h=h.parentNode,!h||!h.ownerDocument||h===b)break;d=d.length>1?c.unique(d):d;return this.pushStack(d,"closest",a)},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){var d=typeof a==="string"?c(a,b):c.makeArray(a),e=c.merge(this.get(),d);return this.pushStack(!d[0]||!d[0].parentNode||d[0].parentNode.nodeType===11||!e[0]||!e[0].parentNode||e[0].parentNode.nodeType===11?e:c.unique(e))},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,e){var f=c.map(this,b,d),h=lb.call(arguments);ib.test(a)||(e=d);e&&typeof e==="string"&&(f=c.filter(e,f));f=this.length>1&&!nb[a]?c.unique(f):f;if((this.length>1||kb.test(e))&&jb.test(a))f=f.reverse();return this.pushStack(f,a,h.join(","))}});c.extend({filter:function(a,b,d){d&&(a=":not("+a+")");return b.length===1?c.find.matchesSelector(b[0],
a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,b,d){for(var e=[],a=a[b];a&&a.nodeType!==9&&(d===m||a.nodeType!==1||!c(a).is(d));)a.nodeType===1&&e.push(a),a=a[b];return e},nth:function(a,b,c){for(var b=b||1,e=0;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var ob=/ jQuery\d+="(?:\d+|null)"/g,ja=/^\s+/,Ea=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Fa=/<([\w:]+)/,
pb=/<tbody/i,qb=/<|&#?\w+;/,Ga=/<(?:script|object|embed|option|style)/i,Ha=/checked\s*(?:[^=]|=\s*.checked.)/i,v={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,"",""]};v.optgroup=v.option;v.tbody=v.tfoot=v.colgroup=v.caption=v.thead;
v.th=v.td;if(!c.support.htmlSerialize)v._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!==m)return this.empty().append((this[0]&&this[0].ownerDocument||k).createTextNode(a));return 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&&a.firstChild.nodeType===1;)a=a.firstChild;return a}).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,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});else if(arguments.length){var a=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)});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,e;(e=this[d])!=null;d++)if(!a||c.filter(a,[e]).length)!b&&e.nodeType===1&&(c.cleanData(e.getElementsByTagName("*")),c.cleanData([e])),e.parentNode&&e.parentNode.removeChild(e);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,b){a=a==null?!1:a;b=b==null?a:b;return this.map(function(){return c.clone(this,a,b)})},html:function(a){if(a===m)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ob,""):null;else if(typeof a==="string"&&!Ga.test(a)&&(c.support.leadingWhitespace||!ja.test(a))&&!v[(Fa.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ea,"<$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(e){this.empty().append(a)}}else c.isFunction(a)?this.each(function(b){var d=c(this);d.html(a.call(this,b,d.html()))}):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),e=d.html();d.replaceWith(a.call(this,b,e))});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.length?this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,b,d){var e,f,h,g=a[0],i=[];if(!c.support.checkClone&&arguments.length===3&&typeof g==="string"&&Ha.test(g))return this.each(function(){c(this).domManip(a,b,d,!0)});if(c.isFunction(g))return this.each(function(e){var f=c(this);a[0]=g.call(this,e,b?f.html():m);f.domManip(a,
b,d)});if(this[0]){e=g&&g.parentNode;e=c.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:c.buildFragment(a,this,i);h=e.fragment;if(f=h.childNodes.length===1?h=h.firstChild:h.firstChild){b=b&&c.nodeName(f,"tr");f=0;for(var j=this.length,l=j-1;f<j;f++)d.call(b?c.nodeName(this[f],"table")?this[f].getElementsByTagName("tbody")[0]||this[f].appendChild(this[f].ownerDocument.createElement("tbody")):this[f]:this[f],e.cacheable||j>1&&f<l?c.clone(h,!0,!0):h)}i.length&&
c.each(i,Wa)}return this}});c.buildFragment=function(a,b,d){var e,f,h,b=b&&b[0]?b[0].ownerDocument||b[0]:k;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===k&&a[0].charAt(0)==="<"&&!Ga.test(a[0])&&(c.support.checkClone||!Ha.test(a[0])))f=!0,(h=c.fragments[a[0]])&&h!==1&&(e=h);e||(e=b.createDocumentFragment(),c.clean(a,b,e,d));f&&(c.fragments[a[0]]=h?e:1);return{fragment:e,cacheable:f}};c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",
replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var e=[],d=c(d),f=this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&d.length===1)return d[b](this[0]),this;else{for(var f=0,h=d.length;f<h;f++){var g=(f>0?this.clone(!0):this).get();c(d[f])[b](g);e=e.concat(g)}return this.pushStack(e,a,d.selector)}}});c.extend({clone:function(a,b,d){var e=a.cloneNode(!0),f,h,g;if((!c.support.noCloneEvent||!c.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!c.isXMLDoc(a)){na(a,
e);f=T(a);h=T(e);for(g=0;f[g];++g)na(f[g],h[g])}if(b&&(ma(a,e),d)){f=T(a);h=T(e);for(g=0;f[g];++g)ma(f[g],h[g])}return e},clean:function(a,b,d,e){b=b||k;typeof b.createElement==="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||k);for(var f=[],h=0,g;(g=a[h])!=null;h++)if(typeof g==="number"&&(g+=""),g){if(typeof g==="string"&&!qb.test(g))g=b.createTextNode(g);else if(typeof g==="string"){g=g.replace(Ea,"<$1></$2>");var i=(Fa.exec(g)||["",""])[1].toLowerCase(),j=v[i]||v._default,l=j[0],o=
b.createElement("div");for(o.innerHTML=j[1]+g+j[2];l--;)o=o.lastChild;if(!c.support.tbody){l=pb.test(g);i=i==="table"&&!l?o.firstChild&&o.firstChild.childNodes:j[1]==="<table>"&&!l?o.childNodes:[];for(j=i.length-1;j>=0;--j)c.nodeName(i[j],"tbody")&&!i[j].childNodes.length&&i[j].parentNode.removeChild(i[j])}!c.support.leadingWhitespace&&ja.test(g)&&o.insertBefore(b.createTextNode(ja.exec(g)[0]),o.firstChild);g=o.childNodes}g.nodeType?f.push(g):f=c.merge(f,g)}if(d)for(h=0;f[h];h++)e&&c.nodeName(f[h],
"script")&&(!f[h].type||f[h].type.toLowerCase()==="text/javascript")?e.push(f[h].parentNode?f[h].parentNode.removeChild(f[h]):f[h]):(f[h].nodeType===1&&f.splice.apply(f,[h+1,0].concat(c.makeArray(f[h].getElementsByTagName("script")))),d.appendChild(f[h]));return f},cleanData:function(a){for(var b,d,e=c.cache,f=c.expando,h=c.event.special,g=c.support.deleteExpando,i=0,j;(j=a[i])!=null;i++)if(!j.nodeName||!c.noData[j.nodeName.toLowerCase()])if(d=j[c.expando]){if((b=e[d]&&e[d][f])&&b.events){for(var l in b.events)h[l]?
c.event.remove(j,l):c.removeEvent(j,l,b.handle);if(b.handle)b.handle.elem=null}g?delete j[c.expando]:j.removeAttribute&&j.removeAttribute(c.expando);delete e[d]}}});var Ia=/alpha\([^)]*\)/i,rb=/opacity=([^)]*)/,sb=/-([a-z])/ig,tb=/([A-Z]|^ms)/g,Ja=/^-?\d+(?:px)?$/i,ub=/^-?\d/,vb={position:"absolute",visibility:"hidden",display:"block"},Xa=["Left","Right"],Ya=["Top","Bottom"],B,G,W,wb=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){if(arguments.length===2&&b===m)return this;return c.access(this,
a,b,!0,function(a,b,f){return f!==m?c.style(a,b,f):c.css(a,b)})};c.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=B(a,"opacity","opacity");return c===""?"1":c}else return a.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,d,e){if(a&&!(a.nodeType===3||a.nodeType===8||!a.style)){var f,h=c.camelCase(b),g=a.style,i=c.cssHooks[h],b=c.cssProps[h]||h;if(d!==m){if(!(typeof d==="number"&&
isNaN(d)||d==null))if(typeof d==="number"&&!c.cssNumber[h]&&(d+="px"),!i||!("set"in i)||(d=i.set(a,d))!==m)try{g[b]=d}catch(j){}}else{if(i&&"get"in i&&(f=i.get(a,!1,e))!==m)return f;return g[b]}}},css:function(a,b,d){var e,f=c.camelCase(b),h=c.cssHooks[f],b=c.cssProps[f]||f;if(h&&"get"in h&&(e=h.get(a,!0,d))!==m)return e;else if(B)return B(a,b,f)},swap:function(a,b,c){var e={},f;for(f in b)e[f]=a.style[f],a.style[f]=b[f];c.call(a);for(f in b)a.style[f]=e[f]},camelCase:function(a){return a.replace(sb,
wb)}});c.curCSS=c.css;c.each(["height","width"],function(a,b){c.cssHooks[b]={get:function(a,e,f){var h;if(e){a.offsetWidth!==0?h=oa(a,b,f):c.swap(a,vb,function(){h=oa(a,b,f)});if(h<=0&&(h=B(a,b,b),h==="0px"&&W&&(h=W(a,b,b)),h!=null))return h===""||h==="auto"?"0px":h;if(h<0||h==null)return h=a.style[b],h===""||h==="auto"?"0px":h;return typeof h==="string"?h:h+"px"}},set:function(a,b){if(Ja.test(b)){if(b=parseFloat(b),b>=0)return b+"px"}else return b}}});if(!c.support.opacity)c.cssHooks.opacity={get:function(a,
b){return rb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var d=a.style;d.zoom=1;var e=c.isNaN(b)?"":"alpha(opacity="+b*100+")",f=d.filter||"";d.filter=Ia.test(f)?f.replace(Ia,e):d.filter+" "+e}};c(function(){if(!c.support.reliableMarginRight)c.cssHooks.marginRight={get:function(a,b){var d;c.swap(a,{display:"inline-block"},function(){d=b?B(a,"margin-right","marginRight"):a.style.marginRight});return d}}});k.defaultView&&
k.defaultView.getComputedStyle&&(G=function(a,b,d){var e,d=d.replace(tb,"-$1").toLowerCase();if(!(b=a.ownerDocument.defaultView))return m;if(b=b.getComputedStyle(a,null))e=b.getPropertyValue(d),e===""&&!c.contains(a.ownerDocument.documentElement,a)&&(e=c.style(a,d));return e});k.documentElement.currentStyle&&(W=function(a,b){var c,e=a.currentStyle&&a.currentStyle[b],f=a.runtimeStyle&&a.runtimeStyle[b],h=a.style;if(!Ja.test(e)&&ub.test(e)){c=h.left;if(f)a.runtimeStyle.left=a.currentStyle.left;h.left=
b==="fontSize"?"1em":e||0;e=h.pixelLeft+"px";h.left=c;if(f)a.runtimeStyle.left=f}return e===""?"auto":e});B=G||W;if(c.expr&&c.expr.filters)c.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===0&&b===0||!c.support.reliableHiddenOffsets&&(a.style.display||c.css(a,"display"))==="none"},c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)};var xb=/%20/g,Za=/\[\]$/,Ka=/\r?\n/g,yb=/#.*$/,zb=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,Ab=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,
Bb=/^(?:GET|HEAD)$/,Cb=/^\/\//,La=/\?/,Db=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,Eb=/^(?:select|textarea)/i,qa=/\s+/,Fb=/([?&])_=[^&]*/,Gb=/(^|\-)([a-z])/g,Hb=function(a,b,c){return b+c.toUpperCase()},Ma=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,Na=c.fn.load,$={},Oa={},H,C;try{H=k.location.href}catch(Nb){H=k.createElement("a"),H.href="",H=H.href}C=Ma.exec(H.toLowerCase())||[];c.fn.extend({load:function(a,b,d){if(typeof a!=="string"&&Na)return Na.apply(this,arguments);else if(!this.length)return this;
var e=a.indexOf(" ");if(e>=0)var f=a.slice(e,a.length),a=a.slice(0,e);e="GET";b&&(c.isFunction(b)?(d=b,b=m):typeof b==="object"&&(b=c.param(b,c.ajaxSettings.traditional),e="POST"));var h=this;c.ajax({url:a,type:e,dataType:"html",data:b,complete:function(a,b,e){e=a.responseText;a.isResolved()&&(a.done(function(a){e=a}),h.html(f?c("<div>").append(e.replace(Db,"")).find(f):e));d&&h.each(d,[e,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||Eb.test(this.nodeName)||Ab.test(this.type))}).map(function(a,b){var d=c(this).val();return d==null?null:c.isArray(d)?c.map(d,function(a){return{name:b.name,value:a.replace(Ka,"\r\n")}}):{name:b.name,value:d.replace(Ka,"\r\n")}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(a){return this.bind(b,a)}});c.each(["get","post"],
function(a,b){c[b]=function(a,e,f,h){c.isFunction(e)&&(h=h||f,f=e,e=m);return c.ajax({type:b,url:a,data:e,success:f,dataType:h})}});c.extend({getScript:function(a,b){return c.get(a,m,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},ajaxSetup:function(a,b){b?c.extend(!0,a,c.ajaxSettings,b):(b=a,a=c.extend(!0,c.ajaxSettings,b));for(var d in{context:1,url:1})d in b?a[d]=b[d]:d in c.ajaxSettings&&(a[d]=c.ajaxSettings[d]);return a},ajaxSettings:{url:H,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|widget):$/.test(C[1]),
global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":n.String,"text html":!0,"text json":c.parseJSON,"text xml":c.parseXML}},ajaxPrefilter:pa($),ajaxTransport:pa(Oa),ajax:function(a,b){function d(a,b,d,k){if(t!==
2){t=2;s&&clearTimeout(s);q=m;n=k||"";p.readyState=a?4:0;var o,u,w;if(d){var k=e,y=p,z=k.contents,r=k.dataTypes,D=k.responseFields,A,x,K,G;for(x in D)x in d&&(y[D[x]]=d[x]);for(;r[0]==="*";)r.shift(),A===m&&(A=k.mimeType||y.getResponseHeader("content-type"));if(A)for(x in z)if(z[x]&&z[x].test(A)){r.unshift(x);break}if(r[0]in d)K=r[0];else{for(x in d){if(!r[0]||k.converters[x+" "+r[0]]){K=x;break}G||(G=x)}K=K||G}K?(K!==r[0]&&r.unshift(K),d=d[K]):d=void 0}else d=m;if(a>=200&&a<300||a===304){if(e.ifModified){if(A=
p.getResponseHeader("Last-Modified"))c.lastModified[l]=A;if(A=p.getResponseHeader("Etag"))c.etag[l]=A}if(a===304)b="notmodified",o=!0;else try{A=e;A.dataFilter&&(d=A.dataFilter(d,A.dataType));var H=A.dataTypes;x={};var C,E,J=H.length,F,L=H[0],B,I,M,O,Q;for(C=1;C<J;C++){if(C===1)for(E in A.converters)typeof E==="string"&&(x[E.toLowerCase()]=A.converters[E]);B=L;L=H[C];if(L==="*")L=B;else if(B!=="*"&&B!==L){I=B+" "+L;M=x[I]||x["* "+L];if(!M)for(O in Q=m,x)if(F=O.split(" "),F[0]===B||F[0]==="*")if(Q=
x[F[1]+" "+L]){O=x[O];O===!0?M=Q:Q===!0&&(M=O);break}!M&&!Q&&c.error("No conversion from "+I.replace(" "," to "));M!==!0&&(d=M?M(d):Q(O(d)))}}u=d;b="success";o=!0}catch(P){b="parsererror",w=P}}else if(w=b,!b||a)b="error",a<0&&(a=0);p.status=a;p.statusText=b;o?g.resolveWith(f,[u,b,p]):g.rejectWith(f,[p,b,w]);p.statusCode(j);j=m;v&&h.trigger("ajax"+(o?"Success":"Error"),[p,e,o?u:w]);i.resolveWith(f,[p,b]);v&&(h.trigger("ajaxComplete",[p,e]),--c.active||c.event.trigger("ajaxStop"))}}typeof a==="object"&&
(b=a,a=m);var b=b||{},e=c.ajaxSetup({},b),f=e.context||e,h=f!==e&&(f.nodeType||f instanceof c)?c(f):c.event,g=c.Deferred(),i=c._Deferred(),j=e.statusCode||{},l,k={},n,u,q,s,w,t=0,v,y,p={readyState:0,setRequestHeader:function(a,b){t||(k[a.toLowerCase().replace(Gb,Hb)]=b);return this},getAllResponseHeaders:function(){return t===2?n:null},getResponseHeader:function(a){var b;if(t===2){if(!u)for(u={};b=zb.exec(n);)u[b[1].toLowerCase()]=b[2];b=u[a.toLowerCase()]}return b===m?null:b},overrideMimeType:function(a){if(!t)e.mimeType=
a;return this},abort:function(a){a=a||"abort";q&&q.abort(a);d(0,a);return this}};g.promise(p);p.success=p.done;p.error=p.fail;p.complete=i.done;p.statusCode=function(a){if(a){var b;if(t<2)for(b in a)j[b]=[j[b],a[b]];else b=a[p.status],p.then(b,b)}return this};e.url=((a||e.url)+"").replace(yb,"").replace(Cb,C[1]+"//");e.dataTypes=c.trim(e.dataType||"*").toLowerCase().split(qa);if(e.crossDomain==null)w=Ma.exec(e.url.toLowerCase()),e.crossDomain=!(!w||!(w[1]!=C[1]||w[2]!=C[2]||(w[3]||(w[1]==="http:"?
80:443))!=(C[3]||(C[1]==="http:"?80:443))));if(e.data&&e.processData&&typeof e.data!=="string")e.data=c.param(e.data,e.traditional);U($,e,b,p);if(t===2)return!1;v=e.global;e.type=e.type.toUpperCase();e.hasContent=!Bb.test(e.type);v&&c.active++===0&&c.event.trigger("ajaxStart");if(!e.hasContent&&(e.data&&(e.url+=(La.test(e.url)?"&":"?")+e.data),l=e.url,e.cache===!1)){w=c.now();var z=e.url.replace(Fb,"$1_="+w);e.url=z+(z===e.url?(La.test(e.url)?"&":"?")+"_="+w:"")}if(e.data&&e.hasContent&&e.contentType!==
!1||b.contentType)k["Content-Type"]=e.contentType;e.ifModified&&(l=l||e.url,c.lastModified[l]&&(k["If-Modified-Since"]=c.lastModified[l]),c.etag[l]&&(k["If-None-Match"]=c.etag[l]));k.Accept=e.dataTypes[0]&&e.accepts[e.dataTypes[0]]?e.accepts[e.dataTypes[0]]+(e.dataTypes[0]!=="*"?", */*; q=0.01":""):e.accepts["*"];for(y in e.headers)p.setRequestHeader(y,e.headers[y]);if(e.beforeSend&&(e.beforeSend.call(f,p,e)===!1||t===2))return p.abort(),!1;for(y in{success:1,error:1,complete:1})p[y](e[y]);if(q=U(Oa,
e,b,p)){p.readyState=1;v&&h.trigger("ajaxSend",[p,e]);e.async&&e.timeout>0&&(s=setTimeout(function(){p.abort("timeout")},e.timeout));try{t=1,q.send(k,d)}catch(D){status<2?d(-1,D):c.error(D)}}else d(-1,"No Transport");return p},param:function(a,b){var d=[],e=function(a,b){b=c.isFunction(b)?b():b;d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(b===m)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery&&!c.isPlainObject(a))c.each(a,function(){e(this.name,this.value)});else for(var f in a)aa(f,
a[f],b,e);return d.join("&").replace(xb,"+")}});c.extend({active:0,lastModified:{},etag:{}});var Ib=c.now(),X=/(\=)\?(&|$)|\?\?/i;c.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return c.expando+"_"+Ib++}});c.ajaxPrefilter("json jsonp",function(a,b,d){var e=typeof a.data==="string";if(a.dataTypes[0]==="jsonp"||b.jsonpCallback||b.jsonp!=null||a.jsonp!==!1&&(X.test(a.url)||e&&X.test(a.data))){var f,h=a.jsonpCallback=c.isFunction(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,g=n[h],b=a.url,
i=a.data,j="$1"+h+"$2",l=function(){n[h]=g;if(f&&c.isFunction(g))n[h](f[0])};a.jsonp!==!1&&(b=b.replace(X,j),a.url===b&&(e&&(i=i.replace(X,j)),a.data===i&&(b+=(/\?/.test(b)?"&":"?")+a.jsonp+"="+h)));a.url=b;a.data=i;n[h]=function(a){f=[a]};d.then(l,l);a.converters["script json"]=function(){f||c.error(h+" was not called");return f[0]};a.dataTypes[0]="json";return"script"}});c.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},
converters:{"text script":function(a){c.globalEval(a);return a}}});c.ajaxPrefilter("script",function(a){if(a.cache===m)a.cache=!1;if(a.crossDomain)a.type="GET",a.global=!1});c.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=k.head||k.getElementsByTagName("head")[0]||k.documentElement;return{send:function(e,f){b=k.createElement("script");b.async="async";if(a.scriptCharset)b.charset=a.scriptCharset;b.src=a.url;b.onload=b.onreadystatechange=function(a,e){if(!b.readyState||/loaded|complete/.test(b.readyState))b.onload=
b.onreadystatechange=null,c&&b.parentNode&&c.removeChild(b),b=m,e||f(200,"success")};c.insertBefore(b,c.firstChild)},abort:function(){if(b)b.onload(0,1)}}}});var Jb=c.now(),J;c.ajaxSettings.xhr=n.ActiveXObject?function(){var a;if(!(a=!this.isLocal&&ra()))a:{try{a=new n.ActiveXObject("Microsoft.XMLHTTP");break a}catch(b){}a=void 0}return a}:ra;G=c.ajaxSettings.xhr();c.support.ajax=!!G;c.support.cors=G&&"withCredentials"in G;G=m;c.support.ajax&&c.ajaxTransport(function(a){if(!a.crossDomain||c.support.cors){var b;
return{send:function(d,e){var f=a.xhr(),h,g;a.username?f.open(a.type,a.url,a.async,a.username,a.password):f.open(a.type,a.url,a.async);if(a.xhrFields)for(g in a.xhrFields)f[g]=a.xhrFields[g];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType);!a.crossDomain&&!d["X-Requested-With"]&&(d["X-Requested-With"]="XMLHttpRequest");try{for(g in d)f.setRequestHeader(g,d[g])}catch(i){}f.send(a.hasContent&&a.data||null);b=function(d,g){var i,k,n,q,s;try{if(b&&(g||f.readyState===4)){b=m;if(h)f.onreadystatechange=
c.noop,delete J[h];if(g)f.readyState!==4&&f.abort();else{i=f.status;n=f.getAllResponseHeaders();q={};if((s=f.responseXML)&&s.documentElement)q.xml=s;q.text=f.responseText;try{k=f.statusText}catch(w){k=""}!i&&a.isLocal&&!a.crossDomain?i=q.text?200:404:i===1223&&(i=204)}}}catch(t){g||e(-1,t)}q&&e(i,k,q,n)};!a.async||f.readyState===4?b():(J||(J={},$a()),h=Jb++,f.onreadystatechange=J[h]=b)},abort:function(){b&&b(0,1)}}}});var ba={},Kb=/^(?:toggle|show|hide)$/,Lb=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,Y,sa=
[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b,d){if(a||a===0)return this.animate(F("show",3),a,b,d);else{for(var d=0,e=this.length;d<e;d++){a=this[d];b=a.style.display;if(!c._data(a,"olddisplay")&&b==="none")b=a.style.display="";b===""&&c.css(a,"display")==="none"&&c._data(a,"olddisplay",ta(a.nodeName))}for(d=0;d<e;d++)if(a=this[d],b=a.style.display,b===""||b==="none")a.style.display=
c._data(a,"olddisplay")||"";return this}},hide:function(a,b,d){if(a||a===0)return this.animate(F("hide",3),a,b,d);else{a=0;for(b=this.length;a<b;a++)d=c.css(this[a],"display"),d!=="none"&&!c._data(this[a],"olddisplay")&&c._data(this[a],"olddisplay",d);for(a=0;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b,d){var e=typeof a==="boolean";c.isFunction(a)&&c.isFunction(b)?this._toggle.apply(this,arguments):a==null||e?this.each(function(){var b=e?a:c(this).is(":hidden");
c(this)[b?"show":"hide"]()}):this.animate(F("toggle",3),a,b,d);return this},fadeTo:function(a,b,c,e){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,e)},animate:function(a,b,d,e){var f=c.speed(b,d,e);if(c.isEmptyObject(a))return this.each(f.complete);return this[f.queue===!1?"each":"queue"](function(){var b=c.extend({},f),d,e=this.nodeType===1,j=e&&c(this).is(":hidden"),k=this;for(d in a){var m=c.camelCase(d);d!==m&&(a[m]=a[d],delete a[d],d=m);if(a[d]==="hide"&&
j||a[d]==="show"&&!j)return b.complete.call(this);if(e&&(d==="height"||d==="width"))if(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],c.css(this,"display")==="inline"&&c.css(this,"float")==="none")c.support.inlineBlockNeedsLayout?ta(this.nodeName)==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1):this.style.display="inline-block";if(c.isArray(a[d]))(b.specialEasing=b.specialEasing||{})[d]=a[d][1],a[d]=a[d][0]}if(b.overflow!=null)this.style.overflow=
"hidden";b.curAnim=c.extend({},a);c.each(a,function(d,e){var f=new c.fx(k,b,d);if(Kb.test(e))f[e==="toggle"?j?"show":"hide":e](a);else{var g=Lb.exec(e),i=f.cur();if(g){var m=parseFloat(g[2]),n=g[3]||(c.cssNumber[d]?"":"px");n!=="px"&&(c.style(k,d,(m||1)+n),i*=(m||1)/f.cur(),c.style(k,d,i+n));g[1]&&(m=(g[1]==="-="?-1:1)*m+i);f.custom(i,m,n)}else f.custom(i,e,"")}});return!0})},stop:function(a,b){var d=c.timers;a&&this.queue([]);this.each(function(){for(var a=d.length-1;a>=0;a--)if(d[a].elem===this){if(b)d[a](!0);
d.splice(a,1)}});b||this.dequeue();return this}});c.each({slideDown:F("show",1),slideUp:F("hide",1),slideToggle:F("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(a,c,f){return this.animate(b,a,c,f)}});c.extend({speed:function(a,b,d){var e=a&&typeof a==="object"?c.extend({},a):{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};e.duration=c.fx.off?0:typeof e.duration==="number"?e.duration:
e.duration in c.fx.speeds?c.fx.speeds[e.duration]:c.fx.speeds._default;e.old=e.complete;e.complete=function(){e.queue!==!1&&c(this).dequeue();c.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,c,e){return c+e*a},swing:function(a,b,c,e){return(-Math.cos(a*Math.PI)/2+0.5)*e+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)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=c.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,b,d){function e(a){return f.step(a)}var f=this,h=c.fx;this.startTime=c.now();this.start=a;this.end=b;this.unit=d||this.unit||(c.cssNumber[this.prop]?"":"px");this.now=this.start;this.pos=this.state=0;e.elem=this.elem;e()&&c.timers.push(e)&&!Y&&
(Y=setInterval(h.tick,h.interval))},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=!0;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=!0;this.custom(this.cur(),0)},step:function(a){var b=c.now(),d=!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 e in this.options.curAnim)this.options.curAnim[e]!==!0&&(d=!1);if(d){if(this.options.overflow!=null&&!c.support.shrinkWrapBlocks){var f=this.elem,h=this.options;c.each(["","X","Y"],function(a,b){f.style["overflow"+b]=h.overflow[a]})}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}else a=b-this.startTime,this.state=a/this.options.duration,
b=this.options.easing||(c.easing.swing?"swing":"linear"),this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||b](this.state,a,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()},interval:13,stop:function(){clearInterval(Y);Y=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&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};var Mb=/^t(?:able|d|h)$/i,Pa=/^(?:body|html)$/i;c.fn.offset="getBoundingClientRect"in k.documentElement?function(a){var b=this[0],d;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);try{d=b.getBoundingClientRect()}catch(e){}var f=b.ownerDocument,h=f.documentElement;if(!d||!c.contains(h,b))return d?{top:d.top,left:d.left}:{top:0,left:0};b=f.body;f=ca(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(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();var d,e=b.offsetParent,f=b.ownerDocument,h=f.documentElement,g=f.body;d=(f=f.defaultView)?f.getComputedStyle(b,null):b.currentStyle;for(var i=b.offsetTop,j=b.offsetLeft;(b=b.parentNode)&&b!==g&&b!==h;){if(c.offset.supportsFixedPosition&&d.position==="fixed")break;d=f?f.getComputedStyle(b,null):b.currentStyle;i-=
b.scrollTop;j-=b.scrollLeft;if(b===e){i+=b.offsetTop;j+=b.offsetLeft;if(c.offset.doesNotAddBorder&&(!c.offset.doesAddBorderForTableAndCells||!Mb.test(b.nodeName)))i+=parseFloat(d.borderTopWidth)||0,j+=parseFloat(d.borderLeftWidth)||0;e=b.offsetParent}c.offset.subtractsBorderForOverflowNotVisible&&d.overflow!=="visible"&&(i+=parseFloat(d.borderTopWidth)||0,j+=parseFloat(d.borderLeftWidth)||0)}if(d.position==="relative"||d.position==="static")i+=g.offsetTop,j+=g.offsetLeft;c.offset.supportsFixedPosition&&
d.position==="fixed"&&(i+=Math.max(h.scrollTop,g.scrollTop),j+=Math.max(h.scrollLeft,g.scrollLeft));return{top:i,left:j}};c.offset={initialize:function(){var a=k.body,b=k.createElement("div"),d,e,f,h=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;e=d.firstChild;f=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=e.offsetTop!==5;this.doesAddBorderForTableAndCells=f.offsetTop===5;e.style.position="fixed";e.style.top="20px";this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15;e.style.position=e.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==h;a.removeChild(b);
c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();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 e=c.css(a,"position");if(e==="static")a.style.position="relative";var f=c(a),h=f.offset(),g=c.css(a,"top"),i=c.css(a,"left"),j=(e==="absolute"||e==="fixed")&&c.inArray("auto",[g,i])>-1,e={},k={};j&&(k=f.position());g=j?
k.top:parseInt(g,10)||0;i=j?k.left:parseInt(i,10)||0;c.isFunction(b)&&(b=b.call(a,d,h));if(b.top!=null)e.top=b.top-h.top+g;if(b.left!=null)e.left=b.left-h.left+i;"using"in b?b.using.call(a,e):f.css(e)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),e=Pa.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;e.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;
e.left+=parseFloat(c.css(b[0],"borderLeftWidth"))||0;return{top:d.top-e.top,left:d.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||k.body;a&&!Pa.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(b){var f=this[0],h;if(!f)return null;return b!==m?this.each(function(){(h=ca(this))?h.scrollTo(!a?b:c(h).scrollLeft(),a?b:c(h).scrollTop()):this[d]=b}):(h=ca(f))?
"pageXOffset"in h?h[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&h.document.documentElement[d]||h.document.body[d]:f[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(a){return this[0]?parseFloat(c.css(this[0],d,a?"margin":"border")):null};c.fn[d]=function(a){var f=this[0];if(!f)return a==null?null:this;if(c.isFunction(a))return this.each(function(b){var f=c(this);
f[d](a.call(this,b,f[d]()))});if(c.isWindow(f)){var h=f.document.documentElement["client"+b];return f.document.compatMode==="CSS1Compat"&&h||f.document.body["client"+b]||h}else return f.nodeType===9?Math.max(f.documentElement["client"+b],f.body["scroll"+b],f.documentElement["scroll"+b],f.body["offset"+b],f.documentElement["offset"+b]):a===m?(f=c.css(f,d),h=parseFloat(f),c.isNaN(h)?f:h):this.css(d,typeof a==="string"?a:a+"px")}});n.jQuery=n.$=c})(window);(function(n){n.event.special.textchange={setup:function(){n(this).data("lastValue",this.contentEditable==="true"?n(this).html():n(this).val());n(this).bind("keyup.textchange",n.event.special.textchange.handler);n(this).bind("cut.textchange paste.textchange input.textchange",n.event.special.textchange.delayedHandler)},teardown:function(){n(this).unbind(".textchange")},handler:function(){n.event.special.textchange.triggerIfChanged(n(this))},delayedHandler:function(){var m=n(this);setTimeout(function(){n.event.special.textchange.triggerIfChanged(m)},
25)},triggerIfChanged:function(m){var n=m[0].contentEditable==="true"?m.html():m.val();n!==m.data("lastValue")&&(m.trigger("textchange",[m.data("lastValue")]),m.data("lastValue",n))}};n.event.special.hastext={setup:function(){n(this).bind("textchange",n.event.special.hastext.handler)},teardown:function(){n(this).unbind("textchange",n.event.special.hastext.handler)},handler:function(m,y){y===""&&y!==n(this).val()&&n(this).trigger("hastext")}};n.event.special.notext={setup:function(){n(this).bind("textchange",
n.event.special.notext.handler)},teardown:function(){n(this).unbind("textchange",n.event.special.notext.handler)},handler:function(m,y){n(this).val()===""&&n(this).val()!==y&&n(this).trigger("notext")}}})(jQuery);