1 (function(r
,p
){function K(a
){var b
=Ga
[a]={},d
,e
;a
=a
.split(/\s
+/);d
=0;for(e
=a
.length
;d
<e
;d
++)b
[a
[d]]=true;return b
}function N(a
,b
,d
){if(d
===p
&&a
.nodeType
===1){d
="data-"+b
.replace(sb
,"-$1").toLowerCase();d
=a
.getAttribute(d
);if(typeof d
==="string"){try{d
=d
==="true"?true:d
==="false"?false:d
==="null"?null:c
.isNumeric(d
)?parseFloat(d
):tb
.test(d
)?c
.parseJSON(d
):d
}catch(e
){}c
.data(a
,b
,d
)}else d
=p
}return d
}function Q(a
){for(var b
in a
)if(!(b
==="data"&&c
.isEmptyObject(a
[b])))if(b
!=="toJSON")return false;return true}
2 function ma(a
,b
,d
){var e
=b
+"defer",f
=b
+"queue",g
=b
+"mark",i
=c
._data(a
,e
);if(i
&&(d
==="queue"||!c
._data(a
,f
))&&(d
==="mark"||!c
._data(a
,g
)))setTimeout(function(){if(!c
._data(a
,f
)&&!c
._data(a
,g
)){c
.removeData(a
,e
,true);i
.fire()}},0)}function U(){return false}function X(){return true}function fa(a
,b
,d
){b
=b
||0;if(c
.isFunction(b
))return c
.grep(a
,function(f
,g
){return!!b
.call(f
,g
,f
)===d
});else if(b
.nodeType
)return c
.grep(a
,function(f
){return f
===b
===d
});else if(typeof b
==="string"){var e
=c
.grep(a
,function(f
){return f
.nodeType
===
3 1});if(ub
.test(b
))return c
.filter(b
,e
,!d
);else b
=c
.filter(b
,e
)}return c
.grep(a
,function(f
){return c
.inArray(f
,b
)>=0===d
})}function Ha(a
){var b
=Ia
.split("|");a
=a
.createDocumentFragment();if(a
.createElement
)for(;b
.length
;)a
.createElement(b
.pop());return a
}function Ja(a
,b
){if(!(b
.nodeType
!==1||!c
.hasData(a
))){var d
,e
,f
;e
=c
._data(a
);var g
=c
._data(b
,e
),i
=e
.events
;if(i
){delete g
.handle
;g
.events
={};for(d
in i
){e
=0;for(f
=i
[d].length
;e
<f
;e
++)c
.event
.add(b
,d
+(i
[d][e].namespace?".":"")+i
[d][e].namespace,i
[d][e],
4 i
[d][e].data
)}}if(g
.data
)g
.data
=c
.extend({},g
.data
)}}function Ka(a
,b
){var d
;if(b
.nodeType
===1){b
.clearAttributes
&&b
.clearAttributes();b
.mergeAttributes
&&b
.mergeAttributes(a
);d
=b
.nodeName
.toLowerCase();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
;
5 b
.removeAttribute(c
.expando
)}}function oa(a
){return typeof a
.getElementsByTagName
!=="undefined"?a
.getElementsByTagName("*"):typeof a
.querySelectorAll
!=="undefined"?a
.querySelectorAll("*"):[]}function La(a
){if(a
.type
==="checkbox"||a
.type
==="radio")a
.defaultChecked
=a
.checked
}function Ma(a
){var b
=(a
.nodeName
||"").toLowerCase();if(b
==="input")La(a
);else b
!=="script"&&typeof a
.getElementsByTagName
!=="undefined"&&c
.grep(a
.getElementsByTagName("input"),La
)}function vb(a
,b
){b
.src
?c
.ajax({url
:b
.src
,async
:false,
6 dataType
:"script"}):c
.globalEval((b
.text
||b
.textContent
||b
.innerHTML
||"").replace(wb
,"/*$0*/"));b
.parentNode
&&b
.parentNode
.removeChild(b
)}function Na(a
,b
,d
){var e
=b
==="width"?a
.offsetWidth
:a
.offsetHeight
,f
=b
==="width"?xb
:yb
,g
=0,i
=f
.length
;if(e
>0){if(d
!=="border")for(;g
<i
;g
++){d
||(e
-=parseFloat(c
.css(a
,"padding"+f
[g]))||0);if(d
==="margin")e
+=parseFloat(c
.css(a
,d
+f
[g]))||0;else e
-=parseFloat(c
.css(a
,"border"+f
[g]+"Width"))||0}return e
+"px"}e
=ga(a
,b
,b
);if(e
<0||e
==null)e
=a
.style
[b]||0;e
=parseFloat(e
)||
7 0;if(d
)for(;g
<i
;g
++){e
+=parseFloat(c
.css(a
,"padding"+f
[g]))||0;if(d
!=="padding")e
+=parseFloat(c
.css(a
,"border"+f
[g]+"Width"))||0;if(d
==="margin")e
+=parseFloat(c
.css(a
,d
+f
[g]))||0}return e
+"px"}function Oa(a
){return function(b
,d
){if(typeof b
!=="string"){d
=b
;b
="*"}if(c
.isFunction(d
))for(var e
=b
.toLowerCase().split(Pa
),f
=0,g
=e
.length
,i
,l
;f
<g
;f
++){i
=e
[f];if(l
=/^\+/.test(i
))i
=i
.substr(1)||"*";i
=a
[i]=a
[i]||[];i
[l
?"unshift":"push"](d
)}}}function pa(a
,b
,d
,e
,f
,g
){f
=f
||b
.dataTypes
[0];g
=g
||{};g
[f]=true;f
=a
[f];
8 for(var i
=0,l
=f
?f
.length
:0,m
=a
===wa
,q
;i
<l
&&(m
||!q
);i
++){q
=f
[i](b
,d
,e
);if(typeof q
==="string")if(!m
||g
[q])q
=p
;else{b
.dataTypes
.unshift(q
);q
=pa(a
,b
,d
,e
,q
,g
)}}if((m
||!q
)&&!g
["*"])q
=pa(a
,b
,d
,e
,"*",g
);return q
}function Qa(a
,b
){var d
,e
,f
=c
.ajaxSettings
.flatOptions
||{};for(d
in b
)if(b
[d]!==p
)(f
[d]?a
:e
||(e
={}))[d]=b
[d];e
&&c
.extend(true,a
,e
)}function xa(a
,b
,d
,e
){if(c
.isArray(b
))c
.each(b
,function(g
,i
){d
||zb
.test(a
)?e(a
,i
):xa(a
+"["+(typeof i
==="object"||c
.isArray(i
)?g
:"")+"]",i
,d
,e
)});else if(!d
&&b
!=null&&typeof b
===
9 "object")for(var f
in b
)xa(a
+"["+f
+"]",b
[f],d
,e
);else e(a
,b
)}function Ra(){try{return new r
.XMLHttpRequest
}catch(a
){}}function Sa(){setTimeout(Ab
,0);return qa
=c
.now()}function Ab(){qa
=p
}function ha(a
,b
){var d
={};c
.each(Ta
.concat
.apply([],Ta
.slice(0,b
)),function(){d
[this]=a
});return d
}function Ua(a
){if(!ya
[a]){var b
=C
.body
,d
=c("<"+a
+">").appendTo(b
),e
=d
.css("display");d
.remove();if(e
==="none"||e
===""){if(!V
){V
=C
.createElement("iframe");V
.frameBorder
=V
.width
=V
.height
=0}b
.appendChild(V
);if(!ia
||!V
.createElement
){ia
=
10 (V
.contentWindow
||V
.contentDocument
).document
;ia
.write((C
.compatMode
==="CSS1Compat"?"<!doctype html>":"")+"<html><body>");ia
.close()}d
=ia
.createElement(a
);ia
.body
.appendChild(d
);e
=c
.css(d
,"display");b
.removeChild(V
)}ya
[a]=e
}return ya
[a]}function za(a
){return c
.isWindow(a
)?a
:a
.nodeType
===9?a
.defaultView
||a
.parentWindow
:false}var C
=r
.document
,Bb
=r
.navigator
,Cb
=r
.location
,c
=function(){function a(){if(!b
.isReady
){try{C
.documentElement
.doScroll("left")}catch(k
){setTimeout(a
,1);return}b
.ready()}}var b
=
11 function(k
,v
){return new b
.fn
.init(k
,v
,f
)},d
=r
.jQuery
,e
=r
.$,f
,g
=/^(?:[^#<]*(<[\w
\W
]+>)[^>]*$|#([\w
\-]*)$)/,i
=/\S
/,l
=/^\s
+/,m
=/\s
+$/,q
=/^<(\w
+)\s
*\/?>(?:<\/\1>)?$/,x
=/^[\],:{}\s
]*$/,u
=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,B=/"[^"\\\n\r]*"|true|false|null|-?\d
+(?:\.\d
*)?(?:[eE][+\-]?\d
+)?/g
,y
=/(?:^|:|,)(?:\s
*\[)+/g
,G
=/(webkit
)[ \/]([\w
.]+)/,J
=/(opera
)(?:.*version
)?[ \/]([\w
.]+)/,O
=/(msie
) ([\w
.]+)/,L
=/(mozilla
)(?:.*? rv
:([\w
.]+))?/,Y
=/-([a
-z
]|[0-9])/ig
,R
=/^-ms
-/,H
=function(k
,v
){return(v
+"").toUpperCase()},
12 T
=Bb
.userAgent
,h
,j
,n
=Object
.prototype.toString
,o
=Object
.prototype.hasOwnProperty
,s
=Array
.prototype.push
,t
=Array
.prototype.slice
,D
=String
.prototype.trim
,z
=Array
.prototype.indexOf
,I
={};b
.fn
=b
.prototype={constructor
:b
,init
:function(k
,v
,A
){var w
;if(!k
)return this;if(k
.nodeType
){this.context
=this[0]=k
;this.length
=1;return this}if(k
==="body"&&!v
&&C
.body
){this.context
=C
;this[0]=C
.body
;this.selector
=k
;this.length
=1;return this}if(typeof k
==="string")if((w
=k
.charAt(0)==="<"&&k
.charAt(k
.length
-1)===">"&&k
.length
>=
13 3?[null,k
,null]:g
.exec(k
))&&(w
[1]||!v
))if(w
[1]){A
=(v
=v
instanceof b
?v
[0]:v
)?v
.ownerDocument
||v
:C
;if(k
=q
.exec(k
))if(b
.isPlainObject(v
)){k
=[C
.createElement(k
[1])];b
.fn
.attr
.call(k
,v
,true)}else k
=[A
.createElement(k
[1])];else{k
=b
.buildFragment([w
[1]],[A]);k
=(k
.cacheable
?b
.clone(k
.fragment
):k
.fragment
).childNodes
}return b
.merge(this,k
)}else{if((v
=C
.getElementById(w
[2]))&&v
.parentNode
){if(v
.id
!==w
[2])return A
.find(k
);this.length
=1;this[0]=v
}this.context
=C
;this.selector
=k
;return this}else return!v
||v
.jquery
?
14 (v
||A
).find(k
):this.constructor(v
).find(k
);else if(b
.isFunction(k
))return A
.ready(k
);if(k
.selector
!==p
){this.selector
=k
.selector
;this.context
=k
.context
}return b
.makeArray(k
,this)},selector
:"",jquery
:"1.7.1",length
:0,size
:function(){return this.length
},toArray
:function(){return t
.call(this,0)},get
:function(k
){return k
==null?this.toArray():k
<0?this[this.length
+k
]:this[k]},pushStack
:function(k
,v
,A
){var w
=this.constructor();b
.isArray(k
)?s
.apply(w
,k
):b
.merge(w
,k
);w
.prevObject
=this;w
.context
=this.context
;
15 if(v
==="find")w
.selector
=this.selector
+(this.selector
?" ":"")+A
;else if(v
)w
.selector
=this.selector
+"."+v
+"("+A
+")";return w
},each
:function(k
,v
){return b
.each(this,k
,v
)},ready
:function(k
){b
.bindReady();h
.add(k
);return this},eq
:function(k
){k
=+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(t
.apply(this,arguments
),"slice",t
.call(arguments
).join(","))},map
:function(k
){return this.pushStack(b
.map(this,
16 function(v
,A
){return k
.call(v
,A
,v
)}))},end
:function(){return this.prevObject
||this.constructor(null)},push
:s
,sort
:[].sort
,splice
:[].splice
};b
.fn
.init
.prototype=b
.fn
;b
.extend
=b
.fn
.extend
=function(){var k
,v
,A
,w
,F
,E
=arguments
[0]||{},M
=1,P
=arguments
.length
,ba
=false;if(typeof E
==="boolean"){ba
=E
;E
=arguments
[1]||{};M
=2}if(typeof E
!=="object"&&!b
.isFunction(E
))E
={};if(P
===M
){E
=this;--M
}for(;M
<P
;M
++)if((k
=arguments
[M])!=null)for(v
in k
){A
=E
[v];w
=k
[v];if(E
!==w
)if(ba
&&w
&&(b
.isPlainObject(w
)||(F
=b
.isArray(w
)))){if(F
){F
=
17 false;A
=A
&&b
.isArray(A
)?A
:[]}else A
=A
&&b
.isPlainObject(A
)?A
:{};E
[v]=b
.extend(ba
,A
,w
)}else if(w
!==p
)E
[v]=w
}return E
};b
.extend({noConflict
:function(k
){if(r
.$===b
)r
.$=e
;if(k
&&r
.jQuery
===b
)r
.jQuery
=d
;return b
},isReady
:false,readyWait
:1,holdReady
:function(k
){if(k
)b
.readyWait
++;else b
.ready(true)},ready
:function(k
){if(k
===true&&!--b
.readyWait
||k
!==true&&!b
.isReady
){if(!C
.body
)return setTimeout(b
.ready
,1);b
.isReady
=true;if(!(k
!==true&&--b
.readyWait
>0)){h
.fireWith(C
,[b]);b
.fn
.trigger
&&b(C
).trigger("ready").off("ready")}}},
18 bindReady
:function(){if(!h
){h
=b
.Callbacks("once memory");if(C
.readyState
==="complete")return setTimeout(b
.ready
,1);if(C
.addEventListener
){C
.addEventListener("DOMContentLoaded",j
,false);r
.addEventListener("load",b
.ready
,false)}else if(C
.attachEvent
){C
.attachEvent("onreadystatechange",j
);r
.attachEvent("onload",b
.ready
);var k
=false;try{k
=r
.frameElement
==null}catch(v
){}C
.documentElement
.doScroll
&&k
&&a()}}},isFunction
:function(k
){return b
.type(k
)==="function"},isArray
:Array
.isArray
||function(k
){return b
.type(k
)===
19 "array"},isWindow
:function(k
){return k
&&typeof k
==="object"&&"setInterval"in k
},isNumeric
:function(k
){return!isNaN(parseFloat(k
))&&isFinite(k
)},type
:function(k
){return k
==null?String(k
):I
[n
.call(k
)]||"object"},isPlainObject
:function(k
){if(!k
||b
.type(k
)!=="object"||k
.nodeType
||b
.isWindow(k
))return false;try{if(k
.constructor
&&!o
.call(k
,"constructor")&&!o
.call(k
.constructor
.prototype,"isPrototypeOf"))return false}catch(v
){return false}var A
;for(A
in k
);return A
===p
||o
.call(k
,A
)},isEmptyObject
:function(k
){for(var v
in k
)return false;
20 return true},error
:function(k
){throw Error(k
);},parseJSON
:function(k
){if(typeof k
!=="string"||!k
)return null;k
=b
.trim(k
);if(r
.JSON
&&r
.JSON
.parse
)return r
.JSON
.parse(k
);if(x
.test(k
.replace(u
,"@").replace(B
,"]").replace(y
,"")))return(new Function("return "+k
))();b
.error("Invalid JSON: "+k
)},parseXML
:function(k
){var v
,A
;try{if(r
.DOMParser
){A
=new DOMParser
;v
=A
.parseFromString(k
,"text/xml")}else{v
=new ActiveXObject("Microsoft.XMLDOM");v
.async
="false";v
.loadXML(k
)}}catch(w
){v
=p
}if(!v
||!v
.documentElement
||
21 v
.getElementsByTagName("parsererror").length
)b
.error("Invalid XML: "+k
);return v
},noop
:function(){},globalEval
:function(k
){if(k
&&i
.test(k
))(r
.execScript
||function(v
){r
.eval
.call(r
,v
)})(k
)},camelCase
:function(k
){return k
.replace(R
,"ms-").replace(Y
,H
)},nodeName
:function(k
,v
){return k
.nodeName
&&k
.nodeName
.toUpperCase()===v
.toUpperCase()},each
:function(k
,v
,A
){var w
,F
=0,E
=k
.length
,M
=E
===p
||b
.isFunction(k
);if(A
)if(M
)for(w
in k
){if(v
.apply(k
[w],A
)===false)break}else for(;F
<E
;){if(v
.apply(k
[F
++],A
)===false)break}else if(M
)for(w
in k
){if(v
.call(k
[w],
22 w
,k
[w])===false)break}else for(;F
<E
;)if(v
.call(k
[F],F
,k
[F
++])===false)break;return k
},trim
:D
?function(k
){return k
==null?"":D
.call(k
)}:function(k
){return k
==null?"":k
.toString().replace(l
,"").replace(m
,"")},makeArray
:function(k
,v
){var A
=v
||[];if(k
!=null){var w
=b
.type(k
);k
.length
==null||w
==="string"||w
==="function"||w
==="regexp"||b
.isWindow(k
)?s
.call(A
,k
):b
.merge(A
,k
)}return A
},inArray
:function(k
,v
,A
){var w
;if(v
){if(z
)return z
.call(v
,k
,A
);w
=v
.length
;for(A
=A
?A
<0?Math
.max(0,w
+A
):A
:0;A
<w
;A
++)if(A
in v
&&
23 v
[A]===k
)return A
}return-1},merge
:function(k
,v
){var A
=k
.length
,w
=0;if(typeof v
.length
==="number")for(var F
=v
.length
;w
<F
;w
++)k
[A
++]=v
[w];else for(;v
[w]!==p
;)k
[A
++]=v
[w
++];k
.length
=A
;return k
},grep
:function(k
,v
,A
){var w
=[],F
;A
=!!A
;for(var E
=0,M
=k
.length
;E
<M
;E
++){F
=!!v(k
[E],E
);A
!==F
&&w
.push(k
[E])}return w
},map
:function(k
,v
,A
){var w
,F
,E
=[],M
=0,P
=k
.length
;if(k
instanceof b
||P
!==p
&&typeof P
==="number"&&(P
>0&&k
[0]&&k
[P
-1]||P
===0||b
.isArray(k
)))for(;M
<P
;M
++){w
=v(k
[M],M
,A
);if(w
!=null)E
[E
.length
]=w
}else for(F
in k
){w
=
24 v(k
[F],F
,A
);if(w
!=null)E
[E
.length
]=w
}return E
.concat
.apply([],E
)},guid
:1,proxy
:function(k
,v
){if(typeof v
==="string"){var A
=k
[v];v
=k
;k
=A
}if(!b
.isFunction(k
))return p
;var w
=t
.call(arguments
,2);A
=function(){return k
.apply(v
,w
.concat(t
.call(arguments
)))};A
.guid
=k
.guid
=k
.guid
||A
.guid
||b
.guid
++;return A
},access
:function(k
,v
,A
,w
,F
,E
){var M
=k
.length
;if(typeof v
==="object"){for(var P
in v
)b
.access(k
,P
,v
[P],w
,F
,A
);return k
}if(A
!==p
){w
=!E
&&w
&&b
.isFunction(A
);for(P
=0;P
<M
;P
++)F(k
[P],v
,w
?A
.call(k
[P],P
,F(k
[P],v
)):
25 A
,E
);return k
}return M
?F(k
[0],v
):p
},now
:function(){return(new Date
).getTime()},uaMatch
:function(k
){k
=k
.toLowerCase();k
=G
.exec(k
)||J
.exec(k
)||O
.exec(k
)||k
.indexOf("compatible")<0&&L
.exec(k
)||[];return{browser
:k
[1]||"",version
:k
[2]||"0"}},sub
:function(){function k(A
,w
){return new k
.fn
.init(A
,w
)}b
.extend(true,k
,this);k
.superclass
=this;k
.fn
=k
.prototype=this();k
.fn
.constructor
=k
;k
.sub
=this.sub
;k
.fn
.init
=function(A
,w
){if(w
&&w
instanceof b
&&!(w
instanceof k
))w
=k(w
);return b
.fn
.init
.call(this,A
,w
,v
)};k
.fn
.init
.prototype=
26 k
.fn
;var v
=k(C
);return k
},browser
:{}});b
.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(k
,v
){I
["[object "+v
+"]"]=v
.toLowerCase()});T
=b
.uaMatch(T
);if(T
.browser
){b
.browser
[T
.browser
]=true;b
.browser
.version
=T
.version
}if(b
.browser
.webkit
)b
.browser
.safari
=true;if(i
.test("\u00a0")){l
=/^[\s
\xA0]+/;m
=/[\s
\xA0]+$/}f
=b(C
);if(C
.addEventListener
)j
=function(){C
.removeEventListener("DOMContentLoaded",j
,false);b
.ready()};else if(C
.attachEvent
)j
=function(){if(C
.readyState
==="complete"){C
.detachEvent("onreadystatechange",
27 j
);b
.ready()}};return b
}(),Ga
={};c
.Callbacks
=function(a
){a
=a
?Ga
[a]||K(a
):{};var b
=[],d
=[],e
,f
,g
,i
,l
,m
=function(u
){var B
,y
,G
,J
;B
=0;for(y
=u
.length
;B
<y
;B
++){G
=u
[B];J
=c
.type(G
);if(J
==="array")m(G
);else if(J
==="function")if(!a
.unique
||!x
.has(G
))b
.push(G
)}},q
=function(u
,B
){B
=B
||[];e
=!a
.memory
||[u
,B
];f
=true;l
=g
||0;g
=0;for(i
=b
.length
;b
&&l
<i
;l
++)if(b
[l].apply(u
,B
)===false&&a
.stopOnFalse
){e
=true;break}f
=false;if(b
)if(a
.once
)if(e
===true)x
.disable();else b
=[];else if(d
&&d
.length
){e
=d
.shift();x
.fireWith(e
[0],
28 e
[1])}},x
={add
:function(){if(b
){var u
=b
.length
;m(arguments
);if(f
)i
=b
.length
;else if(e
&&e
!==true){g
=u
;q(e
[0],e
[1])}}return this},remove
:function(){if(b
)for(var u
=arguments
,B
=0,y
=u
.length
;B
<y
;B
++)for(var G
=0;G
<b
.length
;G
++)if(u
[B]===b
[G]){if(f
)if(G
<=i
){i
--;G
<=l
&&l
--}b
.splice(G
--,1);if(a
.unique
)break}return this},has
:function(u
){if(b
)for(var B
=0,y
=b
.length
;B
<y
;B
++)if(u
===b
[B])return true;return false},empty
:function(){b
=[];return this},disable
:function(){b
=d
=e
=p
;return this},disabled
:function(){return!b
},
29 lock
:function(){d
=p
;if(!e
||e
===true)x
.disable();return this},locked
:function(){return!d
},fireWith
:function(u
,B
){if(d
)if(f
)a
.once
||d
.push([u
,B
]);else a
.once
&&e
||q(u
,B
);return this},fire
:function(){x
.fireWith(this,arguments
);return this},fired
:function(){return!!e
}};return x
};var Aa
=[].slice
;c
.extend({Deferred
:function(a
){var b
=c
.Callbacks("once memory"),d
=c
.Callbacks("once memory"),e
=c
.Callbacks("memory"),f
="pending",g
={resolve
:b
,reject
:d
,notify
:e
},i
={done
:b
.add
,fail
:d
.add
,progress
:e
.add
,state
:function(){return f
},
30 isResolved
:b
.fired
,isRejected
:d
.fired
,then
:function(q
,x
,u
){l
.done(q
).fail(x
).progress(u
);return this},always
:function(){l
.done
.apply(l
,arguments
).fail
.apply(l
,arguments
);return this},pipe
:function(q
,x
,u
){return c
.Deferred(function(B
){c
.each({done
:[q
,"resolve"],fail
:[x
,"reject"],progress
:[u
,"notify"]},function(y
,G
){var J
=G
[0],O
=G
[1],L
;c
.isFunction(J
)?l
[y](function(){(L
=J
.apply(this,arguments
))&&c
.isFunction(L
.promise
)?L
.promise().then(B
.resolve
,B
.reject
,B
.notify
):B
[O
+"With"](this===l
?B
:this,[L])}):
31 l
[y](B
[O])})}).promise()},promise
:function(q
){if(q
==null)q
=i
;else for(var x
in i
)q
[x]=i
[x];return q
}},l
=i
.promise({}),m
;for(m
in g
){l
[m]=g
[m].fire
;l
[m
+"With"]=g
[m].fireWith
}l
.done(function(){f
="resolved"},d
.disable
,e
.lock
).fail(function(){f
="rejected"},b
.disable
,e
.lock
);a
&&a
.call(l
,l
);return l
},when
:function(a
){function b(x
){return function(u
){e
[x]=arguments
.length
>1?Aa
.call(arguments
,0):u
;--l
||m
.resolveWith(m
,e
)}}function d(x
){return function(u
){i
[x]=arguments
.length
>1?Aa
.call(arguments
,0):u
;m
.notifyWith(q
,
32 i
)}}var e
=Aa
.call(arguments
,0),f
=0,g
=e
.length
,i
=Array(g
),l
=g
,m
=g
<=1&&a
&&c
.isFunction(a
.promise
)?a
:c
.Deferred(),q
=m
.promise();if(g
>1){for(;f
<g
;f
++)if(e
[f]&&e
[f].promise
&&c
.isFunction(e
[f].promise
))e
[f].promise().then(b(f
),m
.reject
,d(f
));else--l
;l
||m
.resolveWith(m
,e
)}else if(m
!==a
)m
.resolveWith(m
,g
?[a]:[]);return q
}});c
.support
=function(){var a
,b
,d
,e
,f
,g
,i
,l
,m
=C
.createElement("div");m
.setAttribute("className","t");m
.innerHTML
=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";
33 b
=m
.getElementsByTagName("*");d
=m
.getElementsByTagName("a")[0];if(!b
||!b
.length
||!d
)return{};e
=C
.createElement("select");f
=e
.appendChild(C
.createElement("option"));b
=m
.getElementsByTagName("input")[0];a
={leadingWhitespace
:m
.firstChild
.nodeType
===3,tbody
:!m
.getElementsByTagName("tbody").length
,htmlSerialize
:!!m
.getElementsByTagName("link").length
,style
:/top
/.test(d
.getAttribute("style")),hrefNormalized
:d
.getAttribute("href")==="/a",opacity
:/^0.55/.test(d
.style
.opacity
),cssFloat
:!!d
.style
.cssFloat
,
34 checkOn
:b
.value
==="on",optSelected
:f
.selected
,getSetAttribute
:m
.className
!=="t",enctype
:!!C
.createElement("form").enctype
,html5Clone
:C
.createElement("nav").cloneNode(true).outerHTML
!=="<:nav></:nav>",submitBubbles
:true,changeBubbles
:true,focusinBubbles
:false,deleteExpando
:true,noCloneEvent
:true,inlineBlockNeedsLayout
:false,shrinkWrapBlocks
:false,reliableMarginRight
:true};b
.checked
=true;a
.noCloneChecked
=b
.cloneNode(true).checked
;e
.disabled
=true;a
.optDisabled
=!f
.disabled
;try{delete m
.test
}catch(q
){a
.deleteExpando
=
35 false}if(!m
.addEventListener
&&m
.attachEvent
&&m
.fireEvent
){m
.attachEvent("onclick",function(){a
.noCloneEvent
=false});m
.cloneNode(true).fireEvent("onclick")}b
=C
.createElement("input");b
.value
="t";b
.setAttribute("type","radio");a
.radioValue
=b
.value
==="t";b
.setAttribute("checked","checked");m
.appendChild(b
);d
=C
.createDocumentFragment();d
.appendChild(m
.lastChild
);a
.checkClone
=d
.cloneNode(true).cloneNode(true).lastChild
.checked
;a
.appendChecked
=b
.checked
;d
.removeChild(b
);d
.appendChild(m
);m
.innerHTML
="";
36 if(r
.getComputedStyle
){b
=C
.createElement("div");b
.style
.width
="0";b
.style
.marginRight
="0";m
.style
.width
="2px";m
.appendChild(b
);a
.reliableMarginRight
=(parseInt((r
.getComputedStyle(b
,null)||{marginRight
:0}).marginRight
,10)||0)===0}if(m
.attachEvent
)for(i
in{submit
:1,change
:1,focusin
:1}){b
="on"+i
;l
=b
in m
;if(!l
){m
.setAttribute(b
,"return;");l
=typeof m
[b]==="function"}a
[i
+"Bubbles"]=l
}d
.removeChild(m
);d
=e
=f
=b
=m
=b
=null;c(function(){var x
,u
,B
,y
,G
=C
.getElementsByTagName("body")[0];if(G
){x
=C
.createElement("div");
37 x
.style
.cssText
="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px";G
.insertBefore(x
,G
.firstChild
);m
=C
.createElement("div");x
.appendChild(m
);m
.innerHTML
="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";g
=m
.getElementsByTagName("td");l
=g
[0].offsetHeight
===0;g
[0].style
.display
="";g
[1].style
.display
="none";a
.reliableHiddenOffsets
=l
&&g
[0].offsetHeight
===0;m
.innerHTML
="";m
.style
.width
=m
.style
.paddingLeft
="1px";c
.boxModel
=a
.boxModel
=m
.offsetWidth
===
38 2;if(typeof m
.style
.zoom
!=="undefined"){m
.style
.display
="inline";m
.style
.zoom
=1;a
.inlineBlockNeedsLayout
=m
.offsetWidth
===2;m
.style
.display
="";m
.innerHTML
="<div style='width:4px;'></div>";a
.shrinkWrapBlocks
=m
.offsetWidth
!==2}m
.style
.cssText
="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;visibility:hidden;border:0;";m
.innerHTML
="<div style='position:absolute;top:0;left:0;width:1px;height:1px;margin:0;border:5px solid #000;padding:0;'><div></div></div><table style='position:absolute;top:0;left:0;width:1px;height:1px;margin:0;border:5px solid #000;padding:0;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
39 u
=m
.firstChild
;B
=u
.firstChild
;y
={doesNotAddBorder
:B
.offsetTop
!==5,doesAddBorderForTableAndCells
:u
.nextSibling
.firstChild
.firstChild
.offsetTop
===5};B
.style
.position
="fixed";B
.style
.top
="20px";y
.fixedPosition
=B
.offsetTop
===20||B
.offsetTop
===15;B
.style
.position
=B
.style
.top
="";u
.style
.overflow
="hidden";u
.style
.position
="relative";y
.subtractsBorderForOverflowNotVisible
=B
.offsetTop
===-5;y
.doesNotIncludeMarginInBodyOffset
=G
.offsetTop
!==1;G
.removeChild(x
);m
=null;c
.extend(a
,y
)}});return a
}();var tb
=/^(?:\{.*\}|\[.*\])$/,
40 sb
=/([A
-Z
])/g
;c
.extend({cache
:{},uuid
:0,expando
:"jQuery"+(c
.fn
.jquery
+Math
.random()).replace(/\D
/g
,""),noData
:{embed
:true,object
:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet
:true},hasData
:function(a
){a
=a
.nodeType
?c
.cache
[a
[c
.expando
]]:a
[c
.expando
];return!!a
&&!Q(a
)},data
:function(a
,b
,d
,e
){if(c
.acceptData(a
)){var f
;f
=c
.expando
;var g
=typeof b
==="string",i
=a
.nodeType
,l
=i
?c
.cache
:a
,m
=i
?a
[f]:a
[f]&&f
,q
=b
==="events";if(!((!m
||!l
[m]||!q
&&!e
&&!l
[m].data
)&&g
&&d
===p
)){if(!m
)if(i
)a
[f]=m
=++c
.uuid
;else m
=
41 f
;if(!l
[m]){l
[m]={};if(!i
)l
[m].toJSON
=c
.noop
}if(typeof b
==="object"||typeof b
==="function")if(e
)l
[m]=c
.extend(l
[m],b
);else l
[m].data
=c
.extend(l
[m].data
,b
);f
=a
=l
[m];if(!e
){if(!a
.data
)a
.data
={};a
=a
.data
}if(d
!==p
)a
[c
.camelCase(b
)]=d
;if(q
&&!a
[b])return f
.events
;if(g
){d
=a
[b];if(d
==null)d
=a
[c
.camelCase(b
)]}else d
=a
;return d
}}},removeData
:function(a
,b
,d
){if(c
.acceptData(a
)){var e
,f
,g
,i
=c
.expando
,l
=a
.nodeType
,m
=l
?c
.cache
:a
,q
=l
?a
[i]:i
;if(m
[q]){if(b
)if(e
=d
?m
[q]:m
[q].data
){if(!c
.isArray(b
))if(b
in e
)b
=[b];else{b
=
42 c
.camelCase(b
);b
=b
in e
?[b]:b
.split(" ")}f
=0;for(g
=b
.length
;f
<g
;f
++)delete e
[b
[f]];if(!(d
?Q
:c
.isEmptyObject
)(e
))return}if(!d
){delete m
[q].data
;if(!Q(m
[q]))return}if(c
.support
.deleteExpando
||!m
.setInterval
)delete m
[q];else m
[q]=null;if(l
)if(c
.support
.deleteExpando
)delete a
[i];else if(a
.removeAttribute
)a
.removeAttribute(i
);else a
[i]=null}}},_data
:function(a
,b
,d
){return c
.data(a
,b
,d
,true)},acceptData
:function(a
){if(a
.nodeName
){var b
=c
.noData
[a
.nodeName
.toLowerCase()];if(b
)return!(b
===true||a
.getAttribute("classid")!==
43 b
)}return true}});c
.fn
.extend({data
:function(a
,b
){var d
,e
,f
,g
=null;if(typeof a
==="undefined"){if(this.length
){g
=c
.data(this[0]);if(this[0].nodeType
===1&&!c
._data(this[0],"parsedAttrs")){e
=this[0].attributes
;for(var i
=0,l
=e
.length
;i
<l
;i
++){f
=e
[i].name
;if(f
.indexOf("data-")===0){f
=c
.camelCase(f
.substring(5));N(this[0],f
,g
[f])}}c
._data(this[0],"parsedAttrs",true)}}return g
}else if(typeof a
==="object")return this.each(function(){c
.data(this,a
)});d
=a
.split(".");d
[1]=d
[1]?"."+d
[1]:"";if(b
===p
){g
=this.triggerHandler("getData"+
44 d
[1]+"!",[d
[0]]);if(g
===p
&&this.length
){g
=c
.data(this[0],a
);g
=N(this[0],a
,g
)}return g
===p
&&d
[1]?this.data(d
[0]):g
}else return this.each(function(){var m
=c(this),q
=[d
[0],b
];m
.triggerHandler("setData"+d
[1]+"!",q
);c
.data(this,a
,b
);m
.triggerHandler("changeData"+d
[1]+"!",q
)})},removeData
:function(a
){return this.each(function(){c
.removeData(this,a
)})}});c
.extend({_mark
:function(a
,b
){if(a
){b
=(b
||"fx")+"mark";c
._data(a
,b
,(c
._data(a
,b
)||0)+1)}},_unmark
:function(a
,b
,d
){if(a
!==true){d
=b
;b
=a
;a
=false}if(b
){d
=
45 d
||"fx";var e
=d
+"mark";if(a
=a
?0:(c
._data(b
,e
)||1)-1)c
._data(b
,e
,a
);else{c
.removeData(b
,e
,true);ma(b
,d
,"mark")}}},queue
:function(a
,b
,d
){var e
;if(a
){b
=(b
||"fx")+"queue";e
=c
._data(a
,b
);if(d
)if(!e
||c
.isArray(d
))e
=c
._data(a
,b
,c
.makeArray(d
));else e
.push(d
);return e
||[]}},dequeue
:function(a
,b
){b
=b
||"fx";var d
=c
.queue(a
,b
),e
=d
.shift(),f
={};if(e
==="inprogress")e
=d
.shift();if(e
){b
==="fx"&&d
.unshift("inprogress");c
._data(a
,b
+".run",f
);e
.call(a
,function(){c
.dequeue(a
,b
)},f
)}if(!d
.length
){c
.removeData(a
,b
+"queue "+
46 b
+".run",true);ma(a
,b
,"queue")}}});c
.fn
.extend({queue
:function(a
,b
){if(typeof a
!=="string"){b
=a
;a
="fx"}if(b
===p
)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(d
,e
){var f
=setTimeout(d
,a
);e
.stop
=function(){clearTimeout(f
)}})},clearQueue
:function(a
){return this.queue(a
||
47 "fx",[])},promise
:function(a
,b
){function d(){--i
||e
.resolveWith(f
,[f])}if(typeof a
!=="string"){b
=a
;a
=p
}a
=a
||"fx";for(var e
=c
.Deferred(),f
=this,g
=f
.length
,i
=1,l
=a
+"defer",m
=a
+"queue",q
=a
+"mark",x
;g
--;)if(x
=c
.data(f
[g],l
,p
,true)||(c
.data(f
[g],m
,p
,true)||c
.data(f
[g],q
,p
,true))&&c
.data(f
[g],l
,c
.Callbacks("once memory"),true)){i
++;x
.add(d
)}d();return e
.promise()}});var Va
=/[\n\t\r]/g
,ra
=/\s
+/,Db
=/\r/g
,Eb
=/^(?:button
|input
)$/i
,Fb
=/^(?:button
|input
|object
|select
|textarea
)$/i
,Gb
=/^a(?:rea
)?$/i
,Wa
=/^(?:autofocus
|autoplay
|async
|checked
|controls
|defer
|disabled
|hidden
|loop
|multiple
|open
|readonly
|required
|scoped
|selected
)$/i
,
48 Xa
=c
.support
.getSetAttribute
,W
,Ya
,Za
;c
.fn
.extend({attr
:function(a
,b
){return c
.access(this,a
,b
,true,c
.attr
)},removeAttr
:function(a
){return this.each(function(){c
.removeAttr(this,a
)})},prop
:function(a
,b
){return c
.access(this,a
,b
,true,c
.prop
)},removeProp
:function(a
){a
=c
.propFix
[a]||a
;return this.each(function(){try{this[a]=p
;delete this[a]}catch(b
){}})},addClass
:function(a
){var b
,d
,e
,f
,g
,i
,l
;if(c
.isFunction(a
))return this.each(function(m
){c(this).addClass(a
.call(this,m
,this.className
))});if(a
&&typeof a
===
49 "string"){b
=a
.split(ra
);d
=0;for(e
=this.length
;d
<e
;d
++){f
=this[d];if(f
.nodeType
===1)if(!f
.className
&&b
.length
===1)f
.className
=a
;else{g
=" "+f
.className
+" ";i
=0;for(l
=b
.length
;i
<l
;i
++)~g
.indexOf(" "+b
[i]+" ")||(g
+=b
[i]+" ");f
.className
=c
.trim(g
)}}}return this},removeClass
:function(a
){var b
,d
,e
,f
,g
,i
,l
;if(c
.isFunction(a
))return this.each(function(m
){c(this).removeClass(a
.call(this,m
,this.className
))});if(a
&&typeof a
==="string"||a
===p
){b
=(a
||"").split(ra
);d
=0;for(e
=this.length
;d
<e
;d
++){f
=this[d];if(f
.nodeType
===
50 1&&f
.className
)if(a
){g
=(" "+f
.className
+" ").replace(Va
," ");i
=0;for(l
=b
.length
;i
<l
;i
++)g
=g
.replace(" "+b
[i]+" "," ");f
.className
=c
.trim(g
)}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(f
){c(this).toggleClass(a
.call(this,f
,this.className
,b
),b
)});return this.each(function(){if(d
==="string")for(var f
,g
=0,i
=c(this),l
=b
,m
=a
.split(ra
);f
=m
[g
++];){l
=e
?l
:!i
.hasClass(f
);i
[l
?"addClass":"removeClass"](f
)}else if(d
===
51 "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].nodeType
===1&&(" "+this[b].className
+" ").replace(Va
," ").indexOf(a
)>-1)return true;return false},val
:function(a
){var b
,d
,e
,f
=this[0];if(arguments
.length
){e
=c
.isFunction(a
);return this.each(function(g
){var i
=c(this);if(this.nodeType
===1){g
=e
?a
.call(this,
52 g
,i
.val()):a
;if(g
==null)g
="";else if(typeof g
==="number")g
+="";else if(c
.isArray(g
))g
=c
.map(g
,function(l
){return l
==null?"":l
+""});b
=c
.valHooks
[this.nodeName
.toLowerCase()]||c
.valHooks
[this.type
];if(!b
||!("set"in b
)||b
.set(this,g
,"value")===p
)this.value
=g
}})}else if(f
){if((b
=c
.valHooks
[f
.nodeName
.toLowerCase()]||c
.valHooks
[f
.type
])&&"get"in b
&&(d
=b
.get(f
,"value"))!==p
)return d
;d
=f
.value
;return typeof d
==="string"?d
.replace(Db
,""):d
==null?"":d
}}});c
.extend({valHooks
:{option
:{get
:function(a
){var b
=
53 a
.attributes
.value
;return!b
||b
.specified
?a
.value
:a
.text
}},select
:{get
:function(a
){var b
,d
,e
=a
.selectedIndex
,f
=[],g
=a
.options
,i
=a
.type
==="select-one";if(e
<0)return null;a
=i
?e
:0;for(d
=i
?e
+1:g
.length
;a
<d
;a
++){b
=g
[a];if(b
.selected
&&(c
.support
.optDisabled
?!b
.disabled
:b
.getAttribute("disabled")===null)&&(!b
.parentNode
.disabled
||!c
.nodeName(b
.parentNode
,"optgroup"))){b
=c(b
).val();if(i
)return b
;f
.push(b
)}}if(i
&&!f
.length
&&g
.length
)return c(g
[e]).val();return f
},set
:function(a
,b
){var d
=c
.makeArray(b
);c(a
).find("option").each(function(){this.selected
=
54 c
.inArray(c(this).val(),d
)>=0});if(!d
.length
)a
.selectedIndex
=-1;return d
}}},attrFn
:{val
:true,css
:true,html
:true,text
:true,data
:true,width
:true,height
:true,offset
:true},attr
:function(a
,b
,d
,e
){var f
,g
,i
=a
.nodeType
;if(!(!a
||i
===3||i
===8||i
===2)){if(e
&&b
in c
.attrFn
)return c(a
)[b](d
);if(typeof a
.getAttribute
==="undefined")return c
.prop(a
,b
,d
);if(e
=i
!==1||!c
.isXMLDoc(a
)){b
=b
.toLowerCase();g
=c
.attrHooks
[b]||(Wa
.test(b
)?Ya
:W
)}if(d
!==p
)if(d
===null)c
.removeAttr(a
,b
);else if(g
&&"set"in g
&&e
&&(f
=g
.set(a
,d
,b
))!==
55 p
)return f
;else{a
.setAttribute(b
,""+d
);return d
}else if(g
&&"get"in g
&&e
&&(f
=g
.get(a
,b
))!==null)return f
;else{f
=a
.getAttribute(b
);return f
===null?p
:f
}}},removeAttr
:function(a
,b
){var d
,e
,f
,g
,i
=0;if(b
&&a
.nodeType
===1){e
=b
.toLowerCase().split(ra
);for(g
=e
.length
;i
<g
;i
++)if(f
=e
[i]){d
=c
.propFix
[f]||f
;c
.attr(a
,f
,"");a
.removeAttribute(Xa
?f
:d
);if(Wa
.test(f
)&&d
in a
)a
[d]=false}}},attrHooks
:{type
:{set
:function(a
,b
){if(Eb
.test(a
.nodeName
)&&a
.parentNode
)c
.error("type property can't be changed");else if(!c
.support
.radioValue
&&
56 b
==="radio"&&c
.nodeName(a
,"input")){var d
=a
.value
;a
.setAttribute("type",b
);if(d
)a
.value
=d
;return b
}}},value
:{get
:function(a
,b
){if(W
&&c
.nodeName(a
,"button"))return W
.get(a
,b
);return b
in a
?a
.value
:null},set
:function(a
,b
,d
){if(W
&&c
.nodeName(a
,"button"))return W
.set(a
,b
,d
);a
.value
=b
}}},propFix
:{tabindex
:"tabIndex",readonly
:"readOnly","for":"htmlFor","class":"className",maxlength
:"maxLength",cellspacing
:"cellSpacing",cellpadding
:"cellPadding",rowspan
:"rowSpan",colspan
:"colSpan",usemap
:"useMap",frameborder
:"frameBorder",
57 contenteditable
:"contentEditable"},prop
:function(a
,b
,d
){var e
,f
,g
=a
.nodeType
;if(!(!a
||g
===3||g
===8||g
===2)){if(g
!==1||!c
.isXMLDoc(a
)){b
=c
.propFix
[b]||b
;f
=c
.propHooks
[b]}return d
!==p
?f
&&"set"in f
&&(e
=f
.set(a
,d
,b
))!==p
?e
:a
[b]=d
:f
&&"get"in f
&&(e
=f
.get(a
,b
))!==null?e
:a
[b]}},propHooks
:{tabIndex
:{get
:function(a
){var b
=a
.getAttributeNode("tabindex");return b
&&b
.specified
?parseInt(b
.value
,10):Fb
.test(a
.nodeName
)||Gb
.test(a
.nodeName
)&&a
.href
?0:p
}}}});c
.attrHooks
.tabindex
=c
.propHooks
.tabIndex
;Ya
={get
:function(a
,
58 b
){var d
,e
=c
.prop(a
,b
);return e
===true||typeof e
!=="boolean"&&(d
=a
.getAttributeNode(b
))&&d
.nodeValue
!==false?b
.toLowerCase():p
},set
:function(a
,b
,d
){if(b
===false)c
.removeAttr(a
,d
);else{b
=c
.propFix
[d]||d
;if(b
in a
)a
[b]=true;a
.setAttribute(d
,d
.toLowerCase())}return d
}};if(!Xa
){Za
={name
:true,id
:true};W
=c
.valHooks
.button
={get
:function(a
,b
){var d
;return(d
=a
.getAttributeNode(b
))&&(Za
[b]?d
.nodeValue
!=="":d
.specified
)?d
.nodeValue
:p
},set
:function(a
,b
,d
){var e
=a
.getAttributeNode(d
);if(!e
){e
=C
.createAttribute(d
);
59 a
.setAttributeNode(e
)}return e
.nodeValue
=b
+""}};c
.attrHooks
.tabindex
.set
=W
.set
;c
.each(["width","height"],function(a
,b
){c
.attrHooks
[b]=c
.extend(c
.attrHooks
[b],{set
:function(d
,e
){if(e
===""){d
.setAttribute(b
,"auto");return e
}}})});c
.attrHooks
.contenteditable
={get
:W
.get
,set
:function(a
,b
,d
){if(b
==="")b
="false";W
.set(a
,b
,d
)}}}c
.support
.hrefNormalized
||c
.each(["href","src","width","height"],function(a
,b
){c
.attrHooks
[b]=c
.extend(c
.attrHooks
[b],{get
:function(d
){d
=d
.getAttribute(b
,2);return d
===null?p
:d
}})});
60 if(!c
.support
.style
)c
.attrHooks
.style
={get
:function(a
){return a
.style
.cssText
.toLowerCase()||p
},set
:function(a
,b
){return a
.style
.cssText
=""+b
}};if(!c
.support
.optSelected
)c
.propHooks
.selected
=c
.extend(c
.propHooks
.selected
,{get
:function(){return null}});if(!c
.support
.enctype
)c
.propFix
.enctype
="encoding";c
.support
.checkOn
||c
.each(["radio","checkbox"],function(){c
.valHooks
[this]={get
:function(a
){return a
.getAttribute("value")===null?"on":a
.value
}}});c
.each(["radio","checkbox"],function(){c
.valHooks
[this]=
61 c
.extend(c
.valHooks
[this],{set
:function(a
,b
){if(c
.isArray(b
))return a
.checked
=c
.inArray(c(a
).val(),b
)>=0}})});var Ba
=/^(?:textarea
|input
|select
)$/i
,$a
=/^([^\.]*)?(?:\.(.+))?$/,Hb
=/\bhover(\.\S
+)?\b/,Ib
=/^key
/,Jb
=/^(?:mouse
|contextmenu
)|click
/,ab
=/^(?:focusinfocus
|focusoutblur
)$/,Kb
=/^(\w
*)(?:#([\w
\-]+))?(?:\.([\w
\-]+))?$/,Lb
=function(a
){if(a
=Kb
.exec(a
)){a
[1]=(a
[1]||"").toLowerCase();a
[3]=a
[3]&&RegExp("(?:^|\\s)"+a
[3]+"(?:\\s|$)")}return a
},bb
=function(a
){return c
.event
.special
.hover
?a
:a
.replace(Hb
,
62 "mouseenter$1 mouseleave$1")};c
.event
={add
:function(a
,b
,d
,e
,f
){var g
,i
,l
,m
,q
,x
,u
,B
,y
;if(!(a
.nodeType
===3||a
.nodeType
===8||!b
||!d
||!(g
=c
._data(a
)))){if(d
.handler
){u
=d
;d
=u
.handler
}if(!d
.guid
)d
.guid
=c
.guid
++;l
=g
.events
;if(!l
)g
.events
=l
={};i
=g
.handle
;if(!i
){g
.handle
=i
=function(G
){return typeof c
!=="undefined"&&(!G
||c
.event
.triggered
!==G
.type
)?c
.event
.dispatch
.apply(i
.elem
,arguments
):p
};i
.elem
=a
}b
=c
.trim(bb(b
)).split(" ");for(g
=0;g
<b
.length
;g
++){m
=$a
.exec(b
[g])||[];q
=m
[1];x
=(m
[2]||"").split(".").sort();
63 y
=c
.event
.special
[q]||{};q
=(f
?y
.delegateType
:y
.bindType
)||q
;y
=c
.event
.special
[q]||{};m
=c
.extend({type
:q
,origType
:m
[1],data
:e
,handler
:d
,guid
:d
.guid
,selector
:f
,quick
:Lb(f
),namespace:x
.join(".")},u
);B
=l
[q];if(!B
){B
=l
[q]=[];B
.delegateCount
=0;if(!y
.setup
||y
.setup
.call(a
,e
,x
,i
)===false)if(a
.addEventListener
)a
.addEventListener(q
,i
,false);else a
.attachEvent
&&a
.attachEvent("on"+q
,i
)}if(y
.add
){y
.add
.call(a
,m
);if(!m
.handler
.guid
)m
.handler
.guid
=d
.guid
}f
?B
.splice(B
.delegateCount
++,0,m
):B
.push(m
);c
.event
.global
[q]=
64 true}a
=null}},global
:{},remove
:function(a
,b
,d
,e
,f
){var g
=c
.hasData(a
)&&c
._data(a
),i
,l
,m
,q
,x
,u
,B
,y
,G
,J
;if(g
&&(B
=g
.events
)){b
=c
.trim(bb(b
||"")).split(" ");for(i
=0;i
<b
.length
;i
++){l
=$a
.exec(b
[i])||[];m
=q
=l
[1];l
=l
[2];if(m
){y
=c
.event
.special
[m]||{};m
=(e
?y
.delegateType
:y
.bindType
)||m
;G
=B
[m]||[];x
=G
.length
;l
=l
?RegExp("(^|\\.)"+l
.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(u
=0;u
<G
.length
;u
++){J
=G
[u];if((f
||q
===J
.origType
)&&(!d
||d
.guid
===J
.guid
)&&(!l
||l
.test(J
.namespace))&&(!e
||e
===J
.selector
||
65 e
==="**"&&J
.selector
)){G
.splice(u
--,1);J
.selector
&&G
.delegateCount
--;y
.remove
&&y
.remove
.call(a
,J
)}}if(G
.length
===0&&x
!==G
.length
){if(!y
.teardown
||y
.teardown
.call(a
,l
)===false)c
.removeEvent(a
,m
,g
.handle
);delete B
[m]}}else for(m
in B
)c
.event
.remove(a
,m
+b
[i],d
,e
,true)}if(c
.isEmptyObject(B
)){if(b
=g
.handle
)b
.elem
=null;c
.removeData(a
,["events","handle"],true)}}},customEvent
:{getData
:true,setData
:true,changeData
:true},trigger
:function(a
,b
,d
,e
){if(!(d
&&(d
.nodeType
===3||d
.nodeType
===8))){var f
=a
.type
||a
,g
=
66 [],i
,l
,m
,q
,x
;if(!ab
.test(f
+c
.event
.triggered
)){if(f
.indexOf("!")>=0){f
=f
.slice(0,-1);i
=true}if(f
.indexOf(".")>=0){g
=f
.split(".");f
=g
.shift();g
.sort()}if(!((!d
||c
.event
.customEvent
[f])&&!c
.event
.global
[f])){a
=typeof a
==="object"?a
[c
.expando
]?a
:new c
.Event(f
,a
):new c
.Event(f
);a
.type
=f
;a
.isTrigger
=true;a
.exclusive
=i
;a
.namespace=g
.join(".");a
.namespace_re
=a
.namespace?RegExp("(^|\\.)"+g
.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;i
=f
.indexOf(":")<0?"on"+f
:"";if(d
){a
.result
=p
;if(!a
.target
)a
.target
=d
;b
=b
!=null?
67 c
.makeArray(b
):[];b
.unshift(a
);m
=c
.event
.special
[f]||{};if(!(m
.trigger
&&m
.trigger
.apply(d
,b
)===false)){x
=[[d
,m
.bindType
||f
]];if(!e
&&!m
.noBubble
&&!c
.isWindow(d
)){q
=m
.delegateType
||f
;g
=ab
.test(q
+f
)?d
:d
.parentNode
;for(l
=null;g
;g
=g
.parentNode
){x
.push([g
,q
]);l
=g
}if(l
&&l
===d
.ownerDocument
)x
.push([l
.defaultView
||l
.parentWindow
||r
,q
])}for(l
=0;l
<x
.length
&&!a
.isPropagationStopped();l
++){g
=x
[l][0];a
.type
=x
[l][1];(q
=(c
._data(g
,"events")||{})[a
.type
]&&c
._data(g
,"handle"))&&q
.apply(g
,b
);(q
=i
&&g
[i])&&c
.acceptData(g
)&&
68 q
.apply(g
,b
)===false&&a
.preventDefault()}a
.type
=f
;if(!e
&&!a
.isDefaultPrevented())if((!m
._default
||m
._default
.apply(d
.ownerDocument
,b
)===false)&&!(f
==="click"&&c
.nodeName(d
,"a"))&&c
.acceptData(d
))if(i
&&d
[f]&&(f
!=="focus"&&f
!=="blur"||a
.target
.offsetWidth
!==0)&&!c
.isWindow(d
)){if(l
=d
[i])d
[i]=null;c
.event
.triggered
=f
;d
[f]();c
.event
.triggered
=p
;if(l
)d
[i]=l
}return a
.result
}}else{d
=c
.cache
;for(l
in d
)d
[l].events
&&d
[l].events
[f]&&c
.event
.trigger(a
,b
,d
[l].handle
.elem
,true)}}}}},dispatch
:function(a
){a
=c
.event
.fix(a
||
69 r
.event
);var b
=(c
._data(this,"events")||{})[a
.type
]||[],d
=b
.delegateCount
,e
=[].slice
.call(arguments
,0),f
=!a
.exclusive
&&!a
.namespace,g
=[],i
,l
,m
,q
,x
,u
,B
;e
[0]=a
;a
.delegateTarget
=this;if(d
&&!a
.target
.disabled
&&!(a
.button
&&a
.type
==="click")){m
=c(this);m
.context
=this.ownerDocument
||this;for(l
=a
.target
;l
!=this;l
=l
.parentNode
||this){x
={};u
=[];m
[0]=l
;for(i
=0;i
<d
;i
++){q
=b
[i];B
=q
.selector
;if(x
[B]===p
){var y
=x
,G
=B
,J
;if(q
.quick
){J
=q
.quick
;var O
=l
.attributes
||{};J
=(!J
[1]||l
.nodeName
.toLowerCase()===J
[1])&&(!J
[2]||
70 (O
.id
||{}).value
===J
[2])&&(!J
[3]||J
[3].test((O
["class"]||{}).value
))}else J
=m
.is(B
);y
[G]=J
}x
[B]&&u
.push(q
)}u
.length
&&g
.push({elem
:l
,matches
:u
})}}b
.length
>d
&&g
.push({elem
:this,matches
:b
.slice(d
)});for(i
=0;i
<g
.length
&&!a
.isPropagationStopped();i
++){d
=g
[i];a
.currentTarget
=d
.elem
;for(b
=0;b
<d
.matches
.length
&&!a
.isImmediatePropagationStopped();b
++){q
=d
.matches
[b];if(f
||!a
.namespace&&!q
.namespace||a
.namespace_re
&&a
.namespace_re
.test(q
.namespace)){a
.data
=q
.data
;a
.handleObj
=q
;q
=((c
.event
.special
[q
.origType
]||
71 {}).handle
||q
.handler
).apply(d
.elem
,e
);if(q
!==p
){a
.result
=q
;if(q
===false){a
.preventDefault();a
.stopPropagation()}}}}}return a
.result
},props
:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks
:{},keyHooks
:{props
:"char charCode key keyCode".split(" "),filter
:function(a
,b
){if(a
.which
==null)a
.which
=b
.charCode
!=null?b
.charCode
:b
.keyCode
;return a
}},mouseHooks
:{props
:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
72 filter
:function(a
,b
){var d
,e
,f
=b
.button
,g
=b
.fromElement
;if(a
.pageX
==null&&b
.clientX
!=null){d
=a
.target
.ownerDocument
||C
;e
=d
.documentElement
;d
=d
.body
;a
.pageX
=b
.clientX
+(e
&&e
.scrollLeft
||d
&&d
.scrollLeft
||0)-(e
&&e
.clientLeft
||d
&&d
.clientLeft
||0);a
.pageY
=b
.clientY
+(e
&&e
.scrollTop
||d
&&d
.scrollTop
||0)-(e
&&e
.clientTop
||d
&&d
.clientTop
||0)}if(!a
.relatedTarget
&&g
)a
.relatedTarget
=g
===a
.target
?b
.toElement
:g
;if(!a
.which
&&f
!==p
)a
.which
=f
&1?1:f
&2?3:f
&4?2:0;return a
}},fix
:function(a
){if(a
[c
.expando
])return a
;var b
,
73 d
,e
=a
,f
=c
.event
.fixHooks
[a
.type
]||{},g
=f
.props
?this.props
.concat(f
.props
):this.props
;a
=c
.Event(e
);for(b
=g
.length
;b
;){d
=g
[--b
];a
[d]=e
[d]}if(!a
.target
)a
.target
=e
.srcElement
||C
;if(a
.target
.nodeType
===3)a
.target
=a
.target
.parentNode
;if(a
.metaKey
===p
)a
.metaKey
=a
.ctrlKey
;return f
.filter
?f
.filter(a
,e
):a
},special
:{ready
:{setup
:c
.bindReady
},load
:{noBubble
:true},focus
:{delegateType
:"focusin"},blur
:{delegateType
:"focusout"},beforeunload
:{setup
:function(a
,b
,d
){if(c
.isWindow(this))this.onbeforeunload
=d
},teardown
:function(a
,
74 b
){if(this.onbeforeunload
===b
)this.onbeforeunload
=null}}},simulate
:function(a
,b
,d
,e
){a
=c
.extend(new c
.Event
,d
,{type
:a
,isSimulated
:true,originalEvent
:{}});e
?c
.event
.trigger(a
,null,b
):c
.event
.dispatch
.call(b
,a
);a
.isDefaultPrevented()&&d
.preventDefault()}};c
.event
.handle
=c
.event
.dispatch
;c
.removeEvent
=C
.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
,b
){if(!(this instanceof c
.Event
))return new c
.Event(a
,
75 b
);if(a
&&a
.type
){this.originalEvent
=a
;this.type
=a
.type
;this.isDefaultPrevented
=a
.defaultPrevented
||a
.returnValue
===false||a
.getPreventDefault
&&a
.getPreventDefault()?X
:U
}else this.type
=a
;b
&&c
.extend(this,b
);this.timeStamp
=a
&&a
.timeStamp
||c
.now();this[c
.expando
]=true};c
.Event
.prototype={preventDefault
:function(){this.isDefaultPrevented
=X
;var a
=this.originalEvent
;if(a
)if(a
.preventDefault
)a
.preventDefault();else a
.returnValue
=false},stopPropagation
:function(){this.isPropagationStopped
=X
;var a
=this.originalEvent
;
76 if(a
){a
.stopPropagation
&&a
.stopPropagation();a
.cancelBubble
=true}},stopImmediatePropagation
:function(){this.isImmediatePropagationStopped
=X
;this.stopPropagation()},isDefaultPrevented
:U
,isPropagationStopped
:U
,isImmediatePropagationStopped
:U
};c
.each({mouseenter
:"mouseover",mouseleave
:"mouseout"},function(a
,b
){c
.event
.special
[a]={delegateType
:b
,bindType
:b
,handle
:function(d
){var e
=d
.relatedTarget
,f
=d
.handleObj
,g
;if(!e
||e
!==this&&!c
.contains(this,e
)){d
.type
=f
.origType
;g
=f
.handler
.apply(this,arguments
);
77 d
.type
=b
}return g
}}});if(!c
.support
.submitBubbles
)c
.event
.special
.submit
={setup
:function(){if(c
.nodeName(this,"form"))return false;c
.event
.add(this,"click._submit keypress._submit",function(a
){a
=a
.target
;if((a
=c
.nodeName(a
,"input")||c
.nodeName(a
,"button")?a
.form
:p
)&&!a
._submit_attached
){c
.event
.add(a
,"submit._submit",function(b
){this.parentNode
&&!b
.isTrigger
&&c
.event
.simulate("submit",this.parentNode
,b
,true)});a
._submit_attached
=true}})},teardown
:function(){if(c
.nodeName(this,"form"))return false;
78 c
.event
.remove(this,"._submit")}};if(!c
.support
.changeBubbles
)c
.event
.special
.change
={setup
:function(){if(Ba
.test(this.nodeName
)){if(this.type
==="checkbox"||this.type
==="radio"){c
.event
.add(this,"propertychange._change",function(a
){if(a
.originalEvent
.propertyName
==="checked")this._just_changed
=true});c
.event
.add(this,"click._change",function(a
){if(this._just_changed
&&!a
.isTrigger
){this._just_changed
=false;c
.event
.simulate("change",this,a
,true)}})}return false}c
.event
.add(this,"beforeactivate._change",
79 function(a
){a
=a
.target
;if(Ba
.test(a
.nodeName
)&&!a
._change_attached
){c
.event
.add(a
,"change._change",function(b
){this.parentNode
&&!b
.isSimulated
&&!b
.isTrigger
&&c
.event
.simulate("change",this.parentNode
,b
,true)});a
._change_attached
=true}})},handle
:function(a
){var b
=a
.target
;if(this!==b
||a
.isSimulated
||a
.isTrigger
||b
.type
!=="radio"&&b
.type
!=="checkbox")return a
.handleObj
.handler
.apply(this,arguments
)},teardown
:function(){c
.event
.remove(this,"._change");return Ba
.test(this.nodeName
)}};c
.support
.focusinBubbles
||
80 c
.each({focus
:"focusin",blur
:"focusout"},function(a
,b
){var d
=0,e
=function(f
){c
.event
.simulate(b
,f
.target
,c
.event
.fix(f
),true)};c
.event
.special
[b]={setup
:function(){d
++===0&&C
.addEventListener(a
,e
,true)},teardown
:function(){--d
===0&&C
.removeEventListener(a
,e
,true)}}});c
.fn
.extend({on
:function(a
,b
,d
,e
,f
){var g
,i
;if(typeof a
==="object"){if(typeof b
!=="string"){d
=b
;b
=p
}for(i
in a
)this.on(i
,b
,d
,a
[i],f
);return this}if(d
==null&&e
==null){e
=b
;d
=b
=p
}else if(e
==null)if(typeof b
==="string"){e
=d
;d
=p
}else{e
=d
;
81 d
=b
;b
=p
}if(e
===false)e
=U
;else if(!e
)return this;if(f
===1){g
=e
;e
=function(l
){c().off(l
);return g
.apply(this,arguments
)};e
.guid
=g
.guid
||(g
.guid
=c
.guid
++)}return this.each(function(){c
.event
.add(this,a
,e
,d
,b
)})},one
:function(a
,b
,d
,e
){return this.on
.call(this,a
,b
,d
,e
,1)},off
:function(a
,b
,d
){if(a
&&a
.preventDefault
&&a
.handleObj
){var e
=a
.handleObj
;c(a
.delegateTarget
).off(e
.namespace?e
.type
+"."+e
.namespace:e
.type
,e
.selector
,e
.handler
);return this}if(typeof a
==="object"){for(e
in a
)this.off(e
,b
,a
[e]);return this}if(b
===
82 false||typeof b
==="function"){d
=b
;b
=p
}if(d
===false)d
=U
;return this.each(function(){c
.event
.remove(this,a
,d
,b
)})},bind
:function(a
,b
,d
){return this.on(a
,null,b
,d
)},unbind
:function(a
,b
){return this.off(a
,null,b
)},live
:function(a
,b
,d
){c(this.context
).on(a
,this.selector
,b
,d
);return this},die
:function(a
,b
){c(this.context
).off(a
,this.selector
||"**",b
);return this},delegate
:function(a
,b
,d
,e
){return this.on(b
,a
,d
,e
)},undelegate
:function(a
,b
,d
){return arguments
.length
==1?this.off(a
,"**"):this.off(b
,a
,d
)},trigger
:function(a
,
83 b
){return this.each(function(){c
.event
.trigger(a
,b
,this)})},triggerHandler
:function(a
,b
){if(this[0])return c
.event
.trigger(a
,b
,this[0],true)},toggle
:function(a
){var b
=arguments
,d
=a
.guid
||c
.guid
++,e
=0,f
=function(g
){var i
=(c
._data(this,"lastToggle"+a
.guid
)||0)%e
;c
._data(this,"lastToggle"+a
.guid
,i
+1);g
.preventDefault();return b
[i].apply(this,arguments
)||false};for(f
.guid
=d
;e
<b
.length
;)b
[e
++].guid
=d
;return this.click(f
)},hover
:function(a
,b
){return this.mouseenter(a
).mouseleave(b
||a
)}});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 contextmenu".split(" "),
84 function(a
,b
){c
.fn
[b]=function(d
,e
){if(e
==null){e
=d
;d
=null}return arguments
.length
>0?this.on(b
,null,d
,e
):this.trigger(b
)};if(c
.attrFn
)c
.attrFn
[b]=true;if(Ib
.test(b
))c
.event
.fixHooks
[b]=c
.event
.keyHooks
;if(Jb
.test(b
))c
.event
.fixHooks
[b]=c
.event
.mouseHooks
});(function(){function a(h
,j
,n
,o
,s
,t
){s
=0;for(var D
=o
.length
;s
<D
;s
++){var z
=o
[s];if(z
){var I
=false;for(z
=z
[h];z
;){if(z
[e]===n
){I
=o
[z
.sizset
];break}if(z
.nodeType
===1&&!t
){z
[e]=n
;z
.sizset
=s
}if(z
.nodeName
.toLowerCase()===j
){I
=z
;break}z
=z
[h]}o
[s]=I
}}}
85 function b(h
,j
,n
,o
,s
,t
){s
=0;for(var D
=o
.length
;s
<D
;s
++){var z
=o
[s];if(z
){var I
=false;for(z
=z
[h];z
;){if(z
[e]===n
){I
=o
[z
.sizset
];break}if(z
.nodeType
===1){if(!t
){z
[e]=n
;z
.sizset
=s
}if(typeof j
!=="string"){if(z
===j
){I
=true;break}}else if(u
.filter(j
,[z]).length
>0){I
=z
;break}}z
=z
[h]}o
[s]=I
}}}var d
=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e="sizcache"+(Math.random()+"").replace(".",""),f=0,g=Object.prototype.toString,
86 i=false,l=true,m=/\\/g,q=/\r\n/g,x=/\W/;[0,0].sort(function(){l=false;return 0});var u=function(h,j,n,o){n=n||[];var s=j=j||C;if(j.nodeType!==1&&j.nodeType!==9)return[];if(!h||typeof h!=="string")return n;var t,D,z,I,k,v=true,A=u.isXML(j),w=[],F=h;do{d.exec("");if(t=d.exec(F)){F=t[3];w.push(t[1]);if(t[2]){I=t[3];break}}}while(t);if(w.length>1&&G.exec(h))if(w.length===2&&y.relative[w[0]])D=T(w[0]+w[1],j,o);else for(D=y.relative[w[0]]?[j]:u(w.shift(),j);w.length;){h=w.shift();if(y.relative[h])h+=w.shift();
87 D=T(h,D,o)}else{if(!o&&w.length>1&&j.nodeType===9&&!A&&y.match.ID.test(w[0])&&!y.match.ID.test(w[w.length-1])){t=u.find(w.shift(),j,A);j=t.expr?u.filter(t.expr,t.set)[0]:t.set[0]}if(j){t=o?{expr:w.pop(),set:L(o)}:u.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&j.parentNode?j.parentNode:j,A);D=t.expr?u.filter(t.expr,t.set):t.set;if(w.length>0)z=L(D);else v=false;for(;w.length;){t=k=w.pop();if(y.relative[k])t=w.pop();else k="";if(t==null)t=j;y.relative[k](z,t,A)}}else z=[]}z||(z=D);z||u.error(k||
88 h);if(g.call(z)==="[object Array]")if(v)if(j&&j.nodeType===1)for(h=0;z[h]!=null;h++){if(z[h]&&(z[h]===true||z[h].nodeType===1&&u.contains(j,z[h])))n.push(D[h])}else for(h=0;z[h]!=null;h++)z[h]&&z[h].nodeType===1&&n.push(D[h]);else n.push.apply(n,z);else L(z,n);if(I){u(I,s,n,o);u.uniqueSort(n)}return n};u.uniqueSort=function(h){if(R){i=l;h.sort(R);if(i)for(var j=1;j<h.length;j++)h[j]===h[j-1]&&h.splice(j--,1)}return h};u.matches=function(h,j){return u(h,null,null,j)};u.matchesSelector=function(h,j){return u(j,
89 null,null,[h]).length>0};u.find=function(h,j,n){var o,s,t,D,z,I;if(!h)return[];s=0;for(t=y.order.length;s<t;s++){z=y.order[s];if(D=y.leftMatch[z].exec(h)){I=D[1];D.splice(1,1);if(I.substr(I.length-1)!=="\\"){D[1]=(D[1]||"").replace(m,"");o=y.find[z](D,j,n);if(o!=null){h=h.replace(y.match[z],"");break}}}}o||(o=typeof j.getElementsByTagName!=="undefined"?j.getElementsByTagName("*"):[]);return{set:o,expr:h}};u.filter=function(h,j,n,o){for(var s,t,D,z,I,k,v,A,w=h,F=[],E=j,M=j&&j[0]&&u.isXML(j[0]);h&&
90 j.length;){for(D in y.filter)if((s=y.leftMatch[D].exec(h))!=null&&s[2]){k=y.filter[D];I=s[1];t=false;s.splice(1,1);if(I.substr(I.length-1)!=="\\"){if(E===F)F=[];if(y.preFilter[D])if(s=y.preFilter[D](s,E,n,F,o,M)){if(s===true)continue}else t=z=true;if(s)for(v=0;(I=E[v])!=null;v++)if(I){z=k(I,s,v,E);A=o^z;if(n&&z!=null)if(A)t=true;else E[v]=false;else if(A){F.push(I);t=true}}if(z!==p){n||(E=F);h=h.replace(y.match[D],"");if(!t)return[];break}}}if(h===w)if(t==null)u.error(h);else break;w=h}return E};
91 u.error=function(h){throw Error("Syntax error, unrecognized expression: "+h);};var B=u.getText=function(h){var j,n;j=h.nodeType;var o="";if(j)if(j===1||j===9)if(typeof h.textContent==="string")return h.textContent;else if(typeof h.innerText==="string")return h.innerText.replace(q,"");else for(h=h.firstChild;h;h=h.nextSibling)o+=B(h);else{if(j===3||j===4)return h.nodeValue}else for(j=0;n=h[j];j++)if(n.nodeType!==8)o+=B(n);return o},y=u.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,
92 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\))?/},
93 leftMatch:{},attrMap:{"class":"className
","for":"htmlFor
"},attrHandle:{href:function(h){return h.getAttribute("href
")},type:function(h){return h.getAttribute("type
")}},relative:{"+":function(h,j){var n=typeof j==="string
",o=n&&!x.test(j);n=n&&!o;if(o)j=j.toLowerCase();o=0;for(var s=h.length,t;o<s;o++)if(t=h[o]){for(;(t=t.previousSibling)&&t.nodeType!==1;);h[o]=n||t&&t.nodeName.toLowerCase()===j?t||false:t===j}n&&u.filter(j,h,true)},">":function(h,j){var n,o=typeof j==="string
",s=0,t=h.length;if(o&&
94 !x.test(j))for(j=j.toLowerCase();s<t;s++){if(n=h[s]){n=n.parentNode;h[s]=n.nodeName.toLowerCase()===j?n:false}}else{for(;s<t;s++)if(n=h[s])h[s]=o?n.parentNode:n.parentNode===j;o&&u.filter(j,h,true)}},"":function(h,j,n){var o,s=f++,t=b;if(typeof j==="string
"&&!x.test(j)){o=j=j.toLowerCase();t=a}t("parentNode
",j,s,h,o,n)},"~":function(h,j,n){var o,s=f++,t=b;if(typeof j==="string
"&&!x.test(j)){o=j=j.toLowerCase();t=a}t("previousSibling
",j,s,h,o,n)}},find:{ID:function(h,j,n){if(typeof j.getElementById!==
95 "undefined
"&&!n)return(h=j.getElementById(h[1]))&&h.parentNode?[h]:[]},NAME:function(h,j){if(typeof j.getElementsByName!=="undefined
"){for(var n=[],o=j.getElementsByName(h[1]),s=0,t=o.length;s<t;s++)o[s].getAttribute("name
")===h[1]&&n.push(o[s]);return n.length===0?null:n}},TAG:function(h,j){if(typeof j.getElementsByTagName!=="undefined
")return j.getElementsByTagName(h[1])}},preFilter:{CLASS:function(h,j,n,o,s,t){h=" "+h[1].replace(m,"")+" ";if(t)return h;t=0;for(var D;(D=j[t])!=null;t++)if(D)if(s^
96 (D.className&&(" "+D.className+" ").replace(/[\t\n\r]/g," ").indexOf(h)>=0))n||o.push(D);else if(n)j[t]=false;return false},ID:function(h){return h[1].replace(m,"")},TAG:function(h){return h[1].replace(m,"").toLowerCase()},CHILD:function(h){if(h[1]==="nth
"){h[2]||u.error(h[0]);h[2]=h[2].replace(/^\+|\s*/g,"");var j=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(h[2]==="even
"&&"2n
"||h[2]==="odd
"&&"2n
+1"||!/\D/.test(h[2])&&"0n
+"+h[2]||h[2]);h[2]=j[1]+(j[2]||1)-0;h[3]=j[3]-0}else h[2]&&u.error(h[0]);h[0]=f++;return h},
97 ATTR:function(h,j,n,o,s,t){j=h[1]=h[1].replace(m,"");if(!t&&y.attrMap[j])h[1]=y.attrMap[j];h[4]=(h[4]||h[5]||"").replace(m,"");if(h[2]==="~=")h[4]=" "+h[4]+" ";return h},PSEUDO:function(h,j,n,o,s){if(h[1]==="not
")if((d.exec(h[3])||"").length>1||/^\w/.test(h[3]))h[3]=u(h[3],null,null,j);else{h=u.filter(h[3],j,n,true^s);n||o.push.apply(o,h);return false}else if(y.match.POS.test(h[0])||y.match.CHILD.test(h[0]))return true;return h},POS:function(h){h.unshift(true);return h}},filters:{enabled:function(h){return h.disabled===
98 false&&h.type!=="hidden
"},disabled:function(h){return h.disabled===true},checked:function(h){return h.checked===true},selected:function(h){return h.selected===true},parent:function(h){return!!h.firstChild},empty:function(h){return!h.firstChild},has:function(h,j,n){return!!u(n[3],h).length},header:function(h){return/h\d/i.test(h.nodeName)},text:function(h){var j=h.getAttribute("type
"),n=h.type;return h.nodeName.toLowerCase()==="input
"&&"text
"===n&&(j===n||j===null)},radio:function(h){return h.nodeName.toLowerCase()===
99 "input
"&&"radio
"===h.type},checkbox:function(h){return h.nodeName.toLowerCase()==="input
"&&"checkbox
"===h.type},file:function(h){return h.nodeName.toLowerCase()==="input
"&&"file
"===h.type},password:function(h){return h.nodeName.toLowerCase()==="input
"&&"password
"===h.type},submit:function(h){var j=h.nodeName.toLowerCase();return(j==="input
"||j==="button
")&&"submit
"===h.type},image:function(h){return h.nodeName.toLowerCase()==="input
"&&"image
"===h.type},reset:function(h){var j=h.nodeName.toLowerCase();
100 return(j==="input
"||j==="button
")&&"reset
"===h.type},button:function(h){var j=h.nodeName.toLowerCase();return j==="input
"&&"button
"===h.type||j==="button
"},input:function(h){return/input|select|textarea|button/i.test(h.nodeName)},focus:function(h){return h===h.ownerDocument.activeElement}},setFilters:{first:function(h,j){return j===0},last:function(h,j,n,o){return j===o.length-1},even:function(h,j){return j%2===0},odd:function(h,j){return j%2===1},lt:function(h,j,n){return j<n[3]-0},gt:function(h,
101 j,n){return j>n[3]-0},nth:function(h,j,n){return n[3]-0===j},eq:function(h,j,n){return n[3]-0===j}},filter:{PSEUDO:function(h,j,n,o){var s=j[1],t=y.filters[s];if(t)return t(h,n,j,o);else if(s==="contains
")return(h.textContent||h.innerText||B([h])||"").indexOf(j[3])>=0;else if(s==="not
"){j=j[3];n=0;for(o=j.length;n<o;n++)if(j[n]===h)return false;return true}else u.error(s)},CHILD:function(h,j){var n,o,s,t,D,z;n=j[1];z=h;switch(n){case "only
":case "first
":for(;z=z.previousSibling;)if(z.nodeType===1)return false;
102 if(n==="first
")return true;z=h;case "last
":for(;z=z.nextSibling;)if(z.nodeType===1)return false;return true;case "nth
":n=j[2];o=j[3];if(n===1&&o===0)return true;s=j[0];if((t=h.parentNode)&&(t[e]!==s||!h.nodeIndex)){D=0;for(z=t.firstChild;z;z=z.nextSibling)if(z.nodeType===1)z.nodeIndex=++D;t[e]=s}z=h.nodeIndex-o;return n===0?z===0:z%n===0&&z/n>=0}},ID:function(h,j){return h.nodeType===1&&h.getAttribute("id
")===j},TAG:function(h,j){return j==="*"&&h.nodeType===1||!!h.nodeName&&h.nodeName.toLowerCase()===
103 j},CLASS:function(h,j){return(" "+(h.className||h.getAttribute("class"))+" ").indexOf(j)>-1},ATTR:function(h,j){var n=j[1];n=u.attr?u.attr(h,n):y.attrHandle[n]?y.attrHandle[n](h):h[n]!=null?h[n]:h.getAttribute(n);var o=n+"",s=j[2],t=j[4];return n==null?s==="!=":!s&&u.attr?n!=null:s==="="?o===t:s==="*="?o.indexOf(t)>=0:s==="~="?(" "+o+" ").indexOf(t)>=0:!t?o&&n!==false:s==="!="?o!==t:s==="^="?o.indexOf(t)===0:s==="$="?o.substr(o.length-t.length)===t:s==="|="?o===t||o.substr(0,t.length+1)===t+"-":false},
104 POS:function(h,j,n,o){var s=y.setFilters[j[2]];if(s)return s(h,n,j,o)}}},G=y.match.POS,J=function(h,j){return"\\"+(j-0+1)};for(var O in y.match){y.match[O]=RegExp(y.match[O].source+/(?![^\[]*\])(?![^\(]*\))/.source);y.leftMatch[O]=RegExp(/(^(?:.|\r|\n)*?)/.source+y.match[O].source.replace(/\\(\d+)/g,J))}var L=function(h,j){h=Array.prototype.slice.call(h,0);if(j){j.push.apply(j,h);return j}return h};try{Array.prototype.slice.call(C.documentElement.childNodes,0)}catch(Y){L=function(h,j){var n=0,o=j||
105 [];if(g.call(h)==="[object Array
]")Array.prototype.push.apply(o,h);else if(typeof h.length==="number
")for(var s=h.length;n<s;n++)o.push(h[n]);else for(;h[n];n++)o.push(h[n]);return o}}var R,H;if(C.documentElement.compareDocumentPosition)R=function(h,j){if(h===j){i=true;return 0}if(!h.compareDocumentPosition||!j.compareDocumentPosition)return h.compareDocumentPosition?-1:1;return h.compareDocumentPosition(j)&4?-1:1};else{R=function(h,j){if(h===j){i=true;return 0}else if(h.sourceIndex&&j.sourceIndex)return h.sourceIndex-
106 j.sourceIndex;var n,o,s=[],t=[];n=h.parentNode;o=j.parentNode;var D=n;if(n===o)return H(h,j);else if(n){if(!o)return 1}else return-1;for(;D;){s.unshift(D);D=D.parentNode}for(D=o;D;){t.unshift(D);D=D.parentNode}n=s.length;o=t.length;for(D=0;D<n&&D<o;D++)if(s[D]!==t[D])return H(s[D],t[D]);return D===n?H(h,t[D],-1):H(s[D],j,1)};H=function(h,j,n){if(h===j)return n;for(h=h.nextSibling;h;){if(h===j)return-1;h=h.nextSibling}return 1}}(function(){var h=C.createElement("div
"),j="script
"+(new Date).getTime(),
107 n=C.documentElement;h.innerHTML="<a name
='"+j+"'/>";n.insertBefore(h,n.firstChild);if(C.getElementById(j)){y.find.ID=function(o,s,t){if(typeof s.getElementById!=="undefined
"&&!t)return(s=s.getElementById(o[1]))?s.id===o[1]||typeof s.getAttributeNode!=="undefined
"&&s.getAttributeNode("id
").nodeValue===o[1]?[s]:p:[]};y.filter.ID=function(o,s){var t=typeof o.getAttributeNode!=="undefined
"&&o.getAttributeNode("id
");return o.nodeType===1&&t&&t.nodeValue===s}}n.removeChild(h);n=h=null})();(function(){var h=
108 C.createElement("div
");h.appendChild(C.createComment(""));if(h.getElementsByTagName("*").length>0)y.find.TAG=function(j,n){var o=n.getElementsByTagName(j[1]);if(j[1]==="*"){for(var s=[],t=0;o[t];t++)o[t].nodeType===1&&s.push(o[t]);o=s}return o};h.innerHTML="<a href
='#'></a
>";if(h.firstChild&&typeof h.firstChild.getAttribute!=="undefined
"&&h.firstChild.getAttribute("href
")!=="#")y.attrHandle.href=function(j){return j.getAttribute("href
",2)};h=null})();C.querySelectorAll&&function(){var h=u,j=C.createElement("div
");
109 j.innerHTML="<p
class='TEST'></p
>";if(!(j.querySelectorAll&&j.querySelectorAll(".TEST
").length===0)){u=function(o,s,t,D){s=s||C;if(!D&&!u.isXML(s)){var z=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(o);if(z&&(s.nodeType===1||s.nodeType===9))if(z[1])return L(s.getElementsByTagName(o),t);else if(z[2]&&y.find.CLASS&&s.getElementsByClassName)return L(s.getElementsByClassName(z[2]),t);if(s.nodeType===9){if(o==="body
"&&s.body)return L([s.body],t);else if(z&&z[3]){var I=s.getElementById(z[3]);if(I&&I.parentNode){if(I.id===
110 z[3])return L([I],t)}else return L([],t)}try{return L(s.querySelectorAll(o),t)}catch(k){}}else if(s.nodeType===1&&s.nodeName.toLowerCase()!=="object
"){z=s;var v=(I=s.getAttribute("id
"))||"__sizzle__
",A=s.parentNode,w=/^\s*[+~]/.test(o);if(I)v=v.replace(/'/g,"\\$&");else s.setAttribute("id
",v);if(w&&A)s=s.parentNode;try{if(!w||A)return L(s.querySelectorAll("[id
='"+v+"'] "+o),t)}catch(F){}finally{I||z.removeAttribute("id
")}}}return h(o,s,t,D)};for(var n in h)u[n]=h[n];j=null}}();(function(){var h=C.documentElement,
111 j=h.matchesSelector||h.mozMatchesSelector||h.webkitMatchesSelector||h.msMatchesSelector;if(j){var n=!j.call(C.createElement("div
"),"div
"),o=false;try{j.call(C.documentElement,"[test
!='']:sizzle
")}catch(s){o=true}u.matchesSelector=function(t,D){D=D.replace(/\=\s*([^'"\]]*)\s
*\]/g
,"='$1']");if(!u
.isXML(t
))try{if(o
||!y
.match
.PSEUDO
.test(D
)&&!/!=/.test(D
)){var z
=j
.call(t
,D
);if(z
||!n
||t
.document
&&t
.document
.nodeType
!==11)return z
}}catch(I
){}return u(D
,null,null,[t]).length
>0}}})();(function(){var h
=C
.createElement("div");
112 h
.innerHTML
="<div class='test e'></div><div class='test'></div>";if(!(!h
.getElementsByClassName
||h
.getElementsByClassName("e").length
===0)){h
.lastChild
.className
="e";if(h
.getElementsByClassName("e").length
!==1){y
.order
.splice(1,0,"CLASS");y
.find
.CLASS
=function(j
,n
,o
){if(typeof n
.getElementsByClassName
!=="undefined"&&!o
)return n
.getElementsByClassName(j
[1])};h
=null}}})();u
.contains
=C
.documentElement
.contains
?function(h
,j
){return h
!==j
&&(h
.contains
?h
.contains(j
):true)}:C
.documentElement
.compareDocumentPosition
?
113 function(h
,j
){return!!(h
.compareDocumentPosition(j
)&16)}:function(){return false};u
.isXML
=function(h
){return(h
=(h
?h
.ownerDocument
||h
:0).documentElement
)?h
.nodeName
!=="HTML":false};var T
=function(h
,j
,n
){var o
,s
=[],t
="";for(j
=j
.nodeType
?[j]:j
;o
=y
.match
.PSEUDO
.exec(h
);){t
+=o
[0];h
=h
.replace(y
.match
.PSEUDO
,"")}h
=y
.relative
[h]?h
+"*":h
;o
=0;for(var D
=j
.length
;o
<D
;o
++)u(h
,j
[o],s
,n
);return u
.filter(t
,s
)};u
.attr
=c
.attr
;u
.selectors
.attrMap
={};c
.find
=u
;c
.expr
=u
.selectors
;c
.expr
[":"]=c
.expr
.filters
;c
.unique
=u
.uniqueSort
;
114 c
.text
=u
.getText
;c
.isXMLDoc
=u
.isXML
;c
.contains
=u
.contains
})();var Mb
=/Until
$/,Nb
=/^(?:parents
|prevUntil
|prevAll
)/,Ob
=/,/,ub
=/^.[^:#\[\.,]*$/,Pb
=Array
.prototype.slice
,cb
=c
.expr
.match
.POS
,Qb
={children
:true,contents
:true,next
:true,prev
:true};c
.fn
.extend({find
:function(a
){var b
=this,d
,e
;if(typeof a
!=="string")return c(a
).filter(function(){d
=0;for(e
=b
.length
;d
<e
;d
++)if(c
.contains(b
[d],this))return true});var f
=this.pushStack("","find",a
),g
,i
,l
;d
=0;for(e
=this.length
;d
<e
;d
++){g
=f
.length
;c
.find(a
,this[d],
115 f
);if(d
>0)for(i
=g
;i
<f
.length
;i
++)for(l
=0;l
<g
;l
++)if(f
[l]===f
[i]){f
.splice(i
--,1);break}}return f
},has
:function(a
){var b
=c(a
);return this.filter(function(){for(var d
=0,e
=b
.length
;d
<e
;d
++)if(c
.contains(this,b
[d]))return true})},not
:function(a
){return this.pushStack(fa(this,a
,false),"not",a
)},filter
:function(a
){return this.pushStack(fa(this,a
,true),"filter",a
)},is
:function(a
){return!!a
&&(typeof a
==="string"?cb
.test(a
)?c(a
,this.context
).index(this[0])>=0:c
.filter(a
,this).length
>0:this.filter(a
).length
>
116 0)},closest
:function(a
,b
){var d
=[],e
,f
,g
=this[0];if(c
.isArray(a
)){for(f
=1;g
&&g
.ownerDocument
&&g
!==b
;){for(e
=0;e
<a
.length
;e
++)c(g
).is(a
[e])&&d
.push({selector
:a
[e],elem
:g
,level
:f
});g
=g
.parentNode
;f
++}return d
}var i
=cb
.test(a
)||typeof a
!=="string"?c(a
,b
||this.context
):0;e
=0;for(f
=this.length
;e
<f
;e
++)for(g
=this[e];g
;)if(i
?i
.index(g
)>-1:c
.find
.matchesSelector(g
,a
)){d
.push(g
);break}else{g
=g
.parentNode
;if(!g
||!g
.ownerDocument
||g
===b
||g
.nodeType
===11)break}d
=d
.length
>1?c
.unique(d
):d
;return this.pushStack(d
,
117 "closest",a
)},index
:function(a
){if(!a
)return this[0]&&this[0].parentNode
?this.prevAll().length
:-1;if(typeof a
==="string")return c
.inArray(this[0],c(a
));return c
.inArray(a
.jquery
?a
[0]:a
,this)},add
:function(a
,b
){var d
=typeof a
==="string"?c(a
,b
):c
.makeArray(a
&&a
.nodeType
?[a]: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
)}});
118 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",
119 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
);Mb
.test(a
)||(e
=d
);if(e
&&typeof e
==="string")f
=c
.filter(e
,f
);f
=this.length
>1&&!Qb
[a]?c
.unique(f
):f
;if((this.length
>1||Ob
.test(e
))&&Nb
.test(a
))f
=f
.reverse();return this.pushStack(f
,a
,Pb
.call(arguments
).join(","))}});
120 c
.extend({filter
:function(a
,b
,d
){if(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
){var e
=[];for(a
=a
[b];a
&&a
.nodeType
!==9&&(d
===p
||a
.nodeType
!==1||!c(a
).is(d
));){a
.nodeType
===1&&e
.push(a
);a
=a
[b]}return e
},nth
:function(a
,b
,d
){b
=b
||1;for(var e
=0;a
;a
=a
[d])if(a
.nodeType
===1&&++e
===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 Ia
="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",
121 Rb
=/ jQuery
\d
+="(?:\d+|null)"/g
,Ca
=/^\s
+/,db
=/<(?!area
|br
|col
|embed
|hr
|img
|input
|link
|meta
|param
)(([\w
:]+)[^>]*)\/>/ig
,eb
=/<([\w
:]+)/,Sb
=/<tbody
/i
,Tb
=/<|&#?\w
+;/,Ub
=/<(?:script
|style
)/i
,Vb
=/<(?:script
|object
|embed
|option
|style
)/i
,fb
=RegExp("<(?:"+Ia
+")","i"),gb
=/checked
\s
*(?:[^=]|=\s
*.checked
.)/i
,Wb
=/\/(java
|ecma
)script
/i
,wb
=/^\s
*<!(?:\[CDATA
\[|\-\-)/,S
={option
:[1,"<select multiple='multiple'>","</select>"],legend
:[1,"<fieldset>","</fieldset>"],thead
:[1,"<table>","</table>"],tr
:[2,"<table><tbody>",
122 "</tbody></table>"],td
:[3,"<table><tbody><tr>","</tr></tbody></table>"],col
:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area
:[1,"<map>","</map>"],_default
:[0,"",""]},hb
=Ha(C
);S
.optgroup
=S
.option
;S
.tbody
=S
.tfoot
=S
.colgroup
=S
.caption
=S
.thead
;S
.th
=S
.td
;if(!c
.support
.htmlSerialize
)S
._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
!==p
)return this.empty().append((this[0]&&
123 this[0].ownerDocument
||C
).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
))});
124 return this.each(function(){var b
=c(this),d
=b
.contents();d
.length
?d
.wrapAll(a
):b
.append(a
)})},wrap
:function(a
){var b
=c
.isFunction(a
);return this.each(function(d
){c(this).wrapAll(b
?a
.call(this,d
):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
===
125 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
.clean(arguments
);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,
126 "after",arguments
);a
.push
.apply(a
,c
.clean(arguments
));return a
}},remove
:function(a
,b
){for(var d
=0,e
;(e
=this[d])!=null;d
++)if(!a
||c
.filter(a
,[e]).length
){if(!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?false:a
;b
=b
==
127 null?a
:b
;return this.map(function(){return c
.clone(this,a
,b
)})},html
:function(a
){if(a
===p
)return this[0]&&this[0].nodeType
===1?this[0].innerHTML
.replace(Rb
,""):null;else if(typeof a
==="string"&&!Ub
.test(a
)&&(c
.support
.leadingWhitespace
||!Ca
.test(a
))&&!S
[(eb
.exec(a
)||["",""])[1].toLowerCase()]){a
=a
.replace(db
,"<$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
)?
128 this.each(function(f
){var g
=c(this);g
.html(a
.call(this,f
,g
.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
))});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.length
?this.pushStack(c(c
.isFunction(a
)?a():a
),"replaceWith",
129 a
):this},detach
:function(a
){return this.remove(a
,true)},domManip
:function(a
,b
,d
){var e
,f
,g
,i
=a
[0],l
=[];if(!c
.support
.checkClone
&&arguments
.length
===3&&typeof i
==="string"&&gb
.test(i
))return this.each(function(){c(this).domManip(a
,b
,d
,true)});if(c
.isFunction(i
))return this.each(function(x
){var u
=c(this);a
[0]=i
.call(this,x
,b
?u
.html():p
);u
.domManip(a
,b
,d
)});if(this[0]){e
=i
&&i
.parentNode
;e
=c
.support
.parentNode
&&e
&&e
.nodeType
===11&&e
.childNodes
.length
===this.length
?{fragment
:e
}:c
.buildFragment(a
,this,
130 l
);g
=e
.fragment
;if(f
=g
.childNodes
.length
===1?g
=g
.firstChild
:g
.firstChild
){b
=b
&&c
.nodeName(f
,"tr");f
=0;for(var m
=this.length
,q
=m
-1;f
<m
;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
||m
>1&&f
<q
?c
.clone(g
,true,true):g
)}l
.length
&&c
.each(l
,vb
)}return this}});c
.buildFragment
=function(a
,b
,d
){var e
,f
,g
,i
,l
=a
[0];if(b
&&b
[0])i
=b
[0].ownerDocument
||b
[0];i
.createDocumentFragment
||(i
=
131 C
);if(a
.length
===1&&typeof l
==="string"&&l
.length
<512&&i
===C
&&l
.charAt(0)==="<"&&!Vb
.test(l
)&&(c
.support
.checkClone
||!gb
.test(l
))&&(c
.support
.html5Clone
||!fb
.test(l
))){f
=true;if((g
=c
.fragments
[l])&&g
!==1)e
=g
}if(!e
){e
=i
.createDocumentFragment();c
.clean(a
,i
,e
,d
)}if(f
)c
.fragments
[l]=g
?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
);var f
=
132 this.length
===1&&this[0].parentNode
;if(f
&&f
.nodeType
===11&&f
.childNodes
.length
===1&&d
.length
===1){d
[b](this[0]);return this}else{f
=0;for(var g
=d
.length
;f
<g
;f
++){var i
=(f
>0?this.clone(true):this).get();c(d
[f])[b](i
);e
=e
.concat(i
)}return this.pushStack(e
,a
,d
.selector
)}}});c
.extend({clone
:function(a
,b
,d
){var e
,f
,g
;if(c
.support
.html5Clone
||!fb
.test("<"+a
.nodeName
))e
=a
.cloneNode(true);else{e
=C
.createElement("div");hb
.appendChild(e
);e
.innerHTML
=a
.outerHTML
;e
=e
.firstChild
}var i
=e
;if((!c
.support
.noCloneEvent
||
133 !c
.support
.noCloneChecked
)&&(a
.nodeType
===1||a
.nodeType
===11)&&!c
.isXMLDoc(a
)){Ka(a
,i
);e
=oa(a
);f
=oa(i
);for(g
=0;e
[g];++g
)f
[g]&&Ka(e
[g],f
[g])}if(b
){Ja(a
,i
);if(d
){e
=oa(a
);f
=oa(i
);for(g
=0;e
[g];++g
)Ja(e
[g],f
[g])}}return i
},clean
:function(a
,b
,d
,e
){b
=b
||C
;if(typeof b
.createElement
==="undefined")b
=b
.ownerDocument
||b
[0]&&b
[0].ownerDocument
||C
;for(var f
=[],g
,i
=0,l
;(l
=a
[i])!=null;i
++){if(typeof l
==="number")l
+="";if(l
){if(typeof l
==="string")if(Tb
.test(l
)){l
=l
.replace(db
,"<$1></$2>");g
=(eb
.exec(l
)||["",""])[1].toLowerCase();
134 var m
=S
[g]||S
._default
,q
=m
[0],x
=b
.createElement("div");b
===C
?hb
.appendChild(x
):Ha(b
).appendChild(x
);for(x
.innerHTML
=m
[1]+l
+m
[2];q
--;)x
=x
.lastChild
;if(!c
.support
.tbody
){q
=Sb
.test(l
);m
=g
==="table"&&!q
?x
.firstChild
&&x
.firstChild
.childNodes
:m
[1]==="<table>"&&!q
?x
.childNodes
:[];for(g
=m
.length
-1;g
>=0;--g
)c
.nodeName(m
[g],"tbody")&&!m
[g].childNodes
.length
&&m
[g].parentNode
.removeChild(m
[g])}!c
.support
.leadingWhitespace
&&Ca
.test(l
)&&x
.insertBefore(b
.createTextNode(Ca
.exec(l
)[0]),x
.firstChild
);l
=x
.childNodes
}else l
=
135 b
.createTextNode(l
);var u
;if(!c
.support
.appendChecked
)if(l
[0]&&typeof(u
=l
.length
)==="number")for(g
=0;g
<u
;g
++)Ma(l
[g]);else Ma(l
);if(l
.nodeType
)f
.push(l
);else f
=c
.merge(f
,l
)}}if(d
){a
=function(B
){return!B
.type
||Wb
.test(B
.type
)};for(i
=0;f
[i];i
++)if(e
&&c
.nodeName(f
[i],"script")&&(!f
[i].type
||f
[i].type
.toLowerCase()==="text/javascript"))e
.push(f
[i].parentNode
?f
[i].parentNode
.removeChild(f
[i]):f
[i]);else{if(f
[i].nodeType
===1){b
=c
.grep(f
[i].getElementsByTagName("script"),a
);f
.splice
.apply(f
,[i
+1,0].concat(b
))}d
.appendChild(f
[i])}}return f
},
136 cleanData
:function(a
){for(var b
,d
,e
=c
.cache
,f
=c
.event
.special
,g
=c
.support
.deleteExpando
,i
=0,l
;(l
=a
[i])!=null;i
++)if(!(l
.nodeName
&&c
.noData
[l
.nodeName
.toLowerCase()]))if(d
=l
[c
.expando
]){if((b
=e
[d])&&b
.events
){for(var m
in b
.events
)f
[m]?c
.event
.remove(l
,m
):c
.removeEvent(l
,m
,b
.handle
);if(b
.handle
)b
.handle
.elem
=null}if(g
)delete l
[c
.expando
];else l
.removeAttribute
&&l
.removeAttribute(c
.expando
);delete e
[d]}}});var Da
=/alpha
\([^)]*\)/i
,Xb
=/opacity
=([^)]*)/,Yb
=/([A
-Z
]|^ms
)/g
,ib
=/^-?\d
+(?:px
)?$/i
,Zb
=/^-?\d
/,
137 $b
=/^([\-+])=([\-+.\de
]+)/,ac
={position
:"absolute",visibility
:"hidden",display
:"block"},xb
=["Left","Right"],yb
=["Top","Bottom"],ga
,jb
,kb
;c
.fn
.css
=function(a
,b
){if(arguments
.length
===2&&b
===p
)return this;return c
.access(this,a
,b
,true,function(d
,e
,f
){return f
!==p
?c
.style(d
,e
,f
):c
.css(d
,e
)})};c
.extend({cssHooks
:{opacity
:{get
:function(a
,b
){if(b
){var d
=ga(a
,"opacity","opacity");return d
===""?"1":d
}else return a
.style
.opacity
}}},cssNumber
:{fillOpacity
:true,fontWeight
:true,lineHeight
:true,opacity
:true,orphans
:true,
138 widows
:true,zIndex
:true,zoom
:true},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
,g
=c
.camelCase(b
),i
=a
.style
,l
=c
.cssHooks
[g];b
=c
.cssProps
[g]||g
;if(d
!==p
){e
=typeof d
;if(e
==="string"&&(f
=$b
.exec(d
))){d
=+(f
[1]+1)*+f
[2]+parseFloat(c
.css(a
,b
));e
="number"}if(!(d
==null||e
==="number"&&isNaN(d
))){if(e
==="number"&&!c
.cssNumber
[g])d
+="px";if(!l
||!("set"in l
)||(d
=l
.set(a
,d
))!==p
)try{i
[b]=d
}catch(m
){}}}else{if(l
&&
139 "get"in l
&&(f
=l
.get(a
,false,e
))!==p
)return f
;return i
[b]}}},css
:function(a
,b
,d
){var e
,f
;b
=c
.camelCase(b
);f
=c
.cssHooks
[b];b
=c
.cssProps
[b]||b
;if(b
==="cssFloat")b
="float";if(f
&&"get"in f
&&(e
=f
.get(a
,true,d
))!==p
)return e
;else if(ga
)return ga(a
,b
)},swap
:function(a
,b
,d
){var e
={};for(var f
in b
){e
[f]=a
.style
[f];a
.style
[f]=b
[f]}d
.call(a
);for(f
in b
)a
.style
[f]=e
[f]}});c
.curCSS
=c
.css
;c
.each(["height","width"],function(a
,b
){c
.cssHooks
[b]={get
:function(d
,e
,f
){var g
;if(e
){if(d
.offsetWidth
!==0)return Na(d
,b
,f
);
140 else c
.swap(d
,ac
,function(){g
=Na(d
,b
,f
)});return g
}},set
:function(d
,e
){if(ib
.test(e
)){e
=parseFloat(e
);if(e
>=0)return e
+"px"}else return e
}}});if(!c
.support
.opacity
)c
.cssHooks
.opacity
={get
:function(a
,b
){return Xb
.test((b
&&a
.currentStyle
?a
.currentStyle
.filter
:a
.style
.filter
)||"")?parseFloat(RegExp
.$1)/100+"":b
?"1":""},set
:function(a
,b
){var d
=a
.style
,e
=a
.currentStyle
,f
=c
.isNumeric(b
)?"alpha(opacity="+b
*100+")":"",g
=e
&&e
.filter
||d
.filter
||"";d
.zoom
=1;if(b
>=1&&c
.trim(g
.replace(Da
,""))===""){d
.removeAttribute("filter");
141 if(e
&&!e
.filter
)return}d
.filter
=Da
.test(g
)?g
.replace(Da
,f
):g
+" "+f
}};c(function(){if(!c
.support
.reliableMarginRight
)c
.cssHooks
.marginRight
={get
:function(a
,b
){var d
;c
.swap(a
,{display
:"inline-block"},function(){d
=b
?ga(a
,"margin-right","marginRight"):a
.style
.marginRight
});return d
}}});if(C
.defaultView
&&C
.defaultView
.getComputedStyle
)jb
=function(a
,b
){var d
,e
,f
;b
=b
.replace(Yb
,"-$1").toLowerCase();if((e
=a
.ownerDocument
.defaultView
)&&(f
=e
.getComputedStyle(a
,null))){d
=f
.getPropertyValue(b
);if(d
===""&&!c
.contains(a
.ownerDocument
.documentElement
,
142 a
))d
=c
.style(a
,b
)}return d
};if(C
.documentElement
.currentStyle
)kb
=function(a
,b
){var d
,e
,f
=a
.currentStyle
&&a
.currentStyle
[b],g
=a
.style
;if(f
===null&&g
&&(d
=g
[b]))f
=d
;if(!ib
.test(f
)&&Zb
.test(f
)){d
=g
.left
;if(e
=a
.runtimeStyle
&&a
.runtimeStyle
.left
)a
.runtimeStyle
.left
=a
.currentStyle
.left
;g
.left
=b
==="fontSize"?"1em":f
||0;f
=g
.pixelLeft
+"px";g
.left
=d
;if(e
)a
.runtimeStyle
.left
=e
}return f
===""?"auto":f
};ga
=jb
||kb
;if(c
.expr
&&c
.expr
.filters
){c
.expr
.filters
.hidden
=function(a
){var b
=a
.offsetHeight
;return a
.offsetWidth
===
143 0&&b
===0||!c
.support
.reliableHiddenOffsets
&&(a
.style
&&a
.style
.display
||c
.css(a
,"display"))==="none"};c
.expr
.filters
.visible
=function(a
){return!c
.expr
.filters
.hidden(a
)}}var bc
=/%20/g
,zb
=/\[\]$/,lb
=/\r?\n/g
,cc
=/#.*$/,dc
=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg
,ec
=/^(?:color
|date
|datetime
|datetime
-local
|email
|hidden
|month
|number
|password
|range
|search
|tel
|text
|time
|url
|week
)$/i
,fc
=/^(?:GET
|HEAD
)$/,gc
=/^\/\//,mb=/\?/,hc=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,ic=/^(?:select|textarea)/i,Pa=/\s+/,
144 jc
=/([?&])_
=[^&]*/
,nb
=/^([\w
\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d
+))?)?/,ob
=c
.fn
.load
,wa
={},pb
={},ca
,da
,qb
=["*/"]+["*"];try{ca
=Cb
.href
}catch(rc
){ca
=C
.createElement("a");ca
.href
="";ca
=ca
.href
}da
=nb
.exec(ca
.toLowerCase())||[];c
.fn
.extend({load
:function(a
,b
,d
){if(typeof a
!=="string"&&ob
)return ob
.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";if(b
)if(c
.isFunction(b
)){d
=b
;b
=p
}else if(typeof b
==="object"){b
=c
.param(b
,
145 c
.ajaxSettings
.traditional
);e
="POST"}var g
=this;c
.ajax({url
:a
,type
:e
,dataType
:"html",data
:b
,complete
:function(i
,l
,m
){m
=i
.responseText
;if(i
.isResolved()){i
.done(function(q
){m
=q
});g
.html(f
?c("<div>").append(m
.replace(hc
,"")).find(f
):m
)}d
&&g
.each(d
,[m
,l
,i
])}});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
||
146 ic
.test(this.nodeName
)||ec
.test(this.type
))}).map(function(a
,b
){var d
=c(this).val();return d
==null?null:c
.isArray(d
)?c
.map(d
,function(e
){return{name
:b
.name
,value
:e
.replace(lb
,"\r\n")}}):{name
:b
.name
,value
:d
.replace(lb
,"\r\n")}}).get()}});c
.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a
,b
){c
.fn
[b]=function(d
){return this.on(b
,d
)}});c
.each(["get","post"],function(a
,b
){c
[b]=function(d
,e
,f
,g
){if(c
.isFunction(e
)){g
=g
||f
;f
=e
;e
=p
}return c
.ajax({type
:b
,url
:d
,data
:e
,
147 success
:f
,dataType
:g
})}});c
.extend({getScript
:function(a
,b
){return c
.get(a
,p
,b
,"script")},getJSON
:function(a
,b
,d
){return c
.get(a
,b
,d
,"json")},ajaxSetup
:function(a
,b
){if(b
)Qa(a
,c
.ajaxSettings
);else{b
=a
;a
=c
.ajaxSettings
}Qa(a
,b
);return a
},ajaxSettings
:{url
:ca
,isLocal
:/^(?:about
|app
|app
\-storage
|.+\-extension
|file
|res
|widget
):$/.test(da
[1]),global
:true,type
:"GET",contentType
:"application/x-www-form-urlencoded",processData
:true,async
:true,accepts
:{xml
:"application/xml, text/xml",html
:"text/html",text
:"text/plain",
148 json
:"application/json, text/javascript","*":qb
},contents
:{xml
:/xml
/,html
:/html
/,json
:/json
/},responseFields
:{xml
:"responseXML",text
:"responseText"},converters
:{"* text":r
.String
,"text html":true,"text json":c
.parseJSON
,"text xml":c
.parseXML
},flatOptions
:{context
:true,url
:true}},ajaxPrefilter
:Oa(wa
),ajaxTransport
:Oa(pb
),ajax
:function(a
,b
){function d(j
,n
,o
,s
){if(L
!==2){L
=2;J
&&clearTimeout(J
);G
=p
;B
=s
||"";H
.readyState
=j
>0?4:0;var t
,D
,z
;s
=n
;if(o
){var I
=e
,k
=H
,v
=I
.contents
,A
=I
.dataTypes
,w
=I
.responseFields
,
149 F
,E
,M
,P
;for(E
in w
)if(E
in o
)k
[w
[E]]=o
[E];for(;A
[0]==="*";){A
.shift();if(F
===p
)F
=I
.mimeType
||k
.getResponseHeader("content-type")}if(F
)for(E
in v
)if(v
[E]&&v
[E].test(F
)){A
.unshift(E
);break}if(A
[0]in o
)M
=A
[0];else{for(E
in o
){if(!A
[0]||I
.converters
[E
+" "+A
[0]]){M
=E
;break}P
||(P
=E
)}M
=M
||P
}if(M
){M
!==A
[0]&&A
.unshift(M
);o
=o
[M]}else o
=void 0}else o
=p
;o
=o
;if(j
>=200&&j
<300||j
===304){if(e
.ifModified
){if(F
=H
.getResponseHeader("Last-Modified"))c
.lastModified
[q]=F
;if(F
=H
.getResponseHeader("Etag"))c
.etag
[q]=F
}if(j
===
150 304){s
="notmodified";t
=true}else try{F
=e
;o
=o
;if(F
.dataFilter
)o
=F
.dataFilter(o
,F
.dataType
);var ba
=F
.dataTypes
;E
={};var na
,sa
,kc
=ba
.length
,ta
,Z
=ba
[0],ja
,Ea
,aa
,ea
,ka
;for(na
=1;na
<kc
;na
++){if(na
===1)for(sa
in F
.converters
)if(typeof sa
==="string")E
[sa
.toLowerCase()]=F
.converters
[sa];ja
=Z
;Z
=ba
[na];if(Z
==="*")Z
=ja
;else if(ja
!=="*"&&ja
!==Z
){Ea
=ja
+" "+Z
;aa
=E
[Ea]||E
["* "+Z
];if(!aa
){ka
=p
;for(ea
in E
){ta
=ea
.split(" ");if(ta
[0]===ja
||ta
[0]==="*")if(ka
=E
[ta
[1]+" "+Z
]){ea
=E
[ea];if(ea
===true)aa
=ka
;else if(ka
===true)aa
=
151 ea
;break}}}aa
||ka
||c
.error("No conversion from "+Ea
.replace(" "," to "));if(aa
!==true)o
=aa
?aa(o
):ka(ea(o
))}}D
=o
;s
="success";t
=true}catch(lc
){s
="parsererror";z
=lc
}}else{z
=s
;if(!s
||j
){s
="error";if(j
<0)j
=0}}H
.status
=j
;H
.statusText
=""+(n
||s
);t
?i
.resolveWith(f
,[D
,s
,H
]):i
.rejectWith(f
,[H
,s
,z
]);H
.statusCode(m
);m
=p
;if(Y
)g
.trigger("ajax"+(t
?"Success":"Error"),[H
,e
,t
?D
:z
]);l
.fireWith(f
,[H
,s
]);if(Y
){g
.trigger("ajaxComplete",[H
,e
]);--c
.active
||c
.event
.trigger("ajaxStop")}}}if(typeof a
==="object"){b
=a
;a
=p
}b
=b
||
152 {};var e
=c
.ajaxSetup({},b
),f
=e
.context
||e
,g
=f
!==e
&&(f
.nodeType
||f
instanceof c
)?c(f
):c
.event
,i
=c
.Deferred(),l
=c
.Callbacks("once memory"),m
=e
.statusCode
||{},q
,x
={},u
={},B
,y
,G
,J
,O
,L
=0,Y
,R
,H
={readyState
:0,setRequestHeader
:function(j
,n
){if(!L
){var o
=j
.toLowerCase();j
=u
[o]=u
[o]||j
;x
[j]=n
}return this},getAllResponseHeaders
:function(){return L
===2?B
:null},getResponseHeader
:function(j
){var n
;if(L
===2){if(!y
)for(y
={};n
=dc
.exec(B
);)y
[n
[1].toLowerCase()]=n
[2];n
=y
[j
.toLowerCase()]}return n
===p
?null:n
},overrideMimeType
:function(j
){if(!L
)e
.mimeType
=
153 j
;return this},abort
:function(j
){j
=j
||"abort";G
&&G
.abort(j
);d(0,j
);return this}};i
.promise(H
);H
.success
=H
.done
;H
.error
=H
.fail
;H
.complete
=l
.add
;H
.statusCode
=function(j
){if(j
){var n
;if(L
<2)for(n
in j
)m
[n]=[m
[n],j
[n]];else{n
=j
[H
.status
];H
.then(n
,n
)}}return this};e
.url
=((a
||e
.url
)+"").replace(cc
,"").replace(gc
,da
[1]+"//");e
.dataTypes
=c
.trim(e
.dataType
||"*").toLowerCase().split(Pa
);if(e
.crossDomain
==null){O
=nb
.exec(e
.url
.toLowerCase());e
.crossDomain
=!!(O
&&(O
[1]!=da
[1]||O
[2]!=da
[2]||(O
[3]||(O
[1]==="http:"?
154 80:443))!=(da
[3]||(da
[1]==="http:"?80:443))))}if(e
.data
&&e
.processData
&&typeof e
.data
!=="string")e
.data
=c
.param(e
.data
,e
.traditional
);pa(wa
,e
,b
,H
);if(L
===2)return false;Y
=e
.global
;e
.type
=e
.type
.toUpperCase();e
.hasContent
=!fc
.test(e
.type
);Y
&&c
.active
++===0&&c
.event
.trigger("ajaxStart");if(!e
.hasContent
){if(e
.data
){e
.url
+=(mb
.test(e
.url
)?"&":"?")+e
.data
;delete e
.data
}q
=e
.url
;if(e
.cache
===false){O
=c
.now();var T
=e
.url
.replace(jc
,"$1_="+O
);e
.url
=T
+(T
===e
.url
?(mb
.test(e
.url
)?"&":"?")+"_="+O
:"")}}if(e
.data
&&
155 e
.hasContent
&&e
.contentType
!==false||b
.contentType
)H
.setRequestHeader("Content-Type",e
.contentType
);if(e
.ifModified
){q
=q
||e
.url
;c
.lastModified
[q]&&H
.setRequestHeader("If-Modified-Since",c
.lastModified
[q]);c
.etag
[q]&&H
.setRequestHeader("If-None-Match",c
.etag
[q])}H
.setRequestHeader("Accept",e
.dataTypes
[0]&&e
.accepts
[e
.dataTypes
[0]]?e
.accepts
[e
.dataTypes
[0]]+(e
.dataTypes
[0]!=="*"?", "+qb
+"; q=0.01":""):e
.accepts
["*"]);for(R
in e
.headers
)H
.setRequestHeader(R
,e
.headers
[R]);if(e
.beforeSend
&&(e
.beforeSend
.call(f
,
156 H
,e
)===false||L
===2)){H
.abort();return false}for(R
in{success
:1,error
:1,complete
:1})H
[R](e
[R]);if(G
=pa(pb
,e
,b
,H
)){H
.readyState
=1;Y
&&g
.trigger("ajaxSend",[H
,e
]);if(e
.async
&&e
.timeout
>0)J
=setTimeout(function(){H
.abort("timeout")},e
.timeout
);try{L
=1;G
.send(x
,d
)}catch(h
){if(L
<2)d(-1,h
);else throw h
;}}else d(-1,"No Transport");return H
},param
:function(a
,b
){var d
=[],e
=function(g
,i
){i
=c
.isFunction(i
)?i():i
;d
[d
.length
]=encodeURIComponent(g
)+"="+encodeURIComponent(i
)};if(b
===p
)b
=c
.ajaxSettings
.traditional
;
157 if(c
.isArray(a
)||a
.jquery
&&!c
.isPlainObject(a
))c
.each(a
,function(){e(this.name
,this.value
)});else for(var f
in a
)xa(f
,a
[f],b
,e
);return d
.join("&").replace(bc
,"+")}});c
.extend({active
:0,lastModified
:{},etag
:{}});var mc
=c
.now(),ua
=/(\=)\?(&|$)|\?\?/i
;c
.ajaxSetup({jsonp
:"callback",jsonpCallback
:function(){return c
.expando
+"_"+mc
++}});c
.ajaxPrefilter("json jsonp",function(a
,b
,d
){b
=a
.contentType
==="application/x-www-form-urlencoded"&&typeof a
.data
==="string";if(a
.dataTypes
[0]==="jsonp"||a
.jsonp
!==false&&
158 (ua
.test(a
.url
)||b
&&ua
.test(a
.data
))){var e
,f
=a
.jsonpCallback
=c
.isFunction(a
.jsonpCallback
)?a
.jsonpCallback():a
.jsonpCallback
,g
=r
[f],i
=a
.url
,l
=a
.data
,m
="$1"+f
+"$2";if(a
.jsonp
!==false){i
=i
.replace(ua
,m
);if(a
.url
===i
){if(b
)l
=l
.replace(ua
,m
);if(a
.data
===l
)i
+=(/\?/.test(i
)?"&":"?")+a
.jsonp
+"="+f
}}a
.url
=i
;a
.data
=l
;r
[f]=function(q
){e
=[q]};d
.always(function(){r
[f]=g
;e
&&c
.isFunction(g
)&&r
[f](e
[0])});a
.converters
["script json"]=function(){e
||c
.error(f
+" was not called");return e
[0]};a
.dataTypes
[0]="json";
159 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
===p
)a
.cache
=false;if(a
.crossDomain
){a
.type
="GET";a
.global
=false}});c
.ajaxTransport("script",function(a
){if(a
.crossDomain
){var b
,d
=C
.head
||C
.getElementsByTagName("head")[0]||C
.documentElement
;return{send
:function(e
,
160 f
){b
=C
.createElement("script");b
.async
="async";if(a
.scriptCharset
)b
.charset
=a
.scriptCharset
;b
.src
=a
.url
;b
.onload
=b
.onreadystatechange
=function(g
,i
){if(i
||!b
.readyState
||/loaded
|complete
/.test(b
.readyState
)){b
.onload
=b
.onreadystatechange
=null;d
&&b
.parentNode
&&d
.removeChild(b
);b
=p
;i
||f(200,"success")}};d
.insertBefore(b
,d
.firstChild
)},abort
:function(){b
&&b
.onload(0,1)}}}});var Fa
=r
.ActiveXObject
?function(){for(var a
in la
)la
[a](0,1)}:false,nc
=0,la
;c
.ajaxSettings
.xhr
=r
.ActiveXObject
?function(){var a
;
161 if(!(a
=!this.isLocal
&&Ra()))a
:{try{a
=new r
.ActiveXObject("Microsoft.XMLHTTP");break a
}catch(b
){}a
=void 0}return a
}:Ra
;(function(a
){c
.extend(c
.support
,{ajax
:!!a
,cors
:!!a
&&"withCredentials"in a
})})(c
.ajaxSettings
.xhr());c
.support
.ajax
&&c
.ajaxTransport(function(a
){if(!a
.crossDomain
||c
.support
.cors
){var b
;return{send
:function(d
,e
){var f
=a
.xhr(),g
,i
;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(i
in a
.xhrFields
)f
[i]=a
.xhrFields
[i];a
.mimeType
&&
162 f
.overrideMimeType
&&f
.overrideMimeType(a
.mimeType
);if(!a
.crossDomain
&&!d
["X-Requested-With"])d
["X-Requested-With"]="XMLHttpRequest";try{for(i
in d
)f
.setRequestHeader(i
,d
[i])}catch(l
){}f
.send(a
.hasContent
&&a
.data
||null);b
=function(m
,q
){var x
,u
,B
,y
,G
;try{if(b
&&(q
||f
.readyState
===4)){b
=p
;if(g
){f
.onreadystatechange
=c
.noop
;Fa
&&delete la
[g]}if(q
)f
.readyState
!==4&&f
.abort();else{x
=f
.status
;B
=f
.getAllResponseHeaders();y
={};if((G
=f
.responseXML
)&&G
.documentElement
)y
.xml
=G
;y
.text
=f
.responseText
;try{u
=f
.statusText
}catch(J
){u
=
163 ""}if(!x
&&a
.isLocal
&&!a
.crossDomain
)x
=y
.text
?200:404;else if(x
===1223)x
=204}}}catch(O
){q
||e(-1,O
)}y
&&e(x
,u
,y
,B
)};if(!a
.async
||f
.readyState
===4)b();else{g
=++nc
;if(Fa
){if(!la
){la
={};c(r
).unload(Fa
)}la
[g]=b
}f
.onreadystatechange
=b
}},abort
:function(){b
&&b(0,1)}}}});var ya
={},V
,ia
,oc
=/^(?:toggle
|show
|hide
)$/,pc
=/^([+\-]=)?([\d
+.\-]+)([a
-z
%]*)$/i
,va
,Ta
=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],qa
;c
.fn
.extend({show
:function(a
,
164 b
,d
){if(a
||a
===0)return this.animate(ha("show",3),a
,b
,d
);else{d
=0;for(var e
=this.length
;d
<e
;d
++){a
=this[d];if(a
.style
){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",Ua(a
.nodeName
))}}for(d
=0;d
<e
;d
++){a
=this[d];if(a
.style
){b
=a
.style
.display
;if(b
===""||b
==="none")a
.style
.display
=c
._data(a
,"olddisplay")||""}}return this}},hide
:function(a
,b
,d
){if(a
||a
===0)return this.animate(ha("hide",3),a
,b
,d
);else{d
=0;for(var e
=
165 this.length
;d
<e
;d
++){a
=this[d];if(a
.style
){b
=c
.css(a
,"display");b
!=="none"&&!c
._data(a
,"olddisplay")&&c
._data(a
,"olddisplay",b
)}}for(d
=0;d
<e
;d
++)if(this[d].style
)this[d].style
.display
="none";return this}},_toggle
:c
.fn
.toggle
,toggle
:function(a
,b
,d
){var e
=typeof a
==="boolean";if(c
.isFunction(a
)&&c
.isFunction(b
))this._toggle
.apply(this,arguments
);else a
==null||e
?this.each(function(){var f
=e
?a
:c(this).is(":hidden");c(this)[f
?"show":"hide"]()}):this.animate(ha("toggle",3),a
,b
,d
);return this},fadeTo
:function(a
,
166 b
,d
,e
){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity
:b
},a
,d
,e
)},animate
:function(a
,b
,d
,e
){function f(){g
.queue
===false&&c
._mark(this);var i
=c
.extend({},g
),l
=this.nodeType
===1,m
=l
&&c(this).is(":hidden"),q
,x
,u
,B
,y
;i
.animatedProperties
={};for(u
in a
){q
=c
.camelCase(u
);if(u
!==q
){a
[q]=a
[u];delete a
[u]}x
=a
[q];if(c
.isArray(x
)){i
.animatedProperties
[q]=x
[1];x
=a
[q]=x
[0]}else i
.animatedProperties
[q]=i
.specialEasing
&&i
.specialEasing
[q]||i
.easing
||"swing";if(x
==="hide"&&m
||x
==="show"&&
167 !m
)return i
.complete
.call(this);if(l
&&(q
==="height"||q
==="width")){i
.overflow
=[this.style
.overflow
,this.style
.overflowX
,this.style
.overflowY
];if(c
.css(this,"display")==="inline"&&c
.css(this,"float")==="none")if(!c
.support
.inlineBlockNeedsLayout
||Ua(this.nodeName
)==="inline")this.style
.display
="inline-block";else this.style
.zoom
=1}}if(i
.overflow
!=null)this.style
.overflow
="hidden";for(u
in a
){l
=new c
.fx(this,i
,u
);x
=a
[u];if(oc
.test(x
))if(q
=c
._data(this,"toggle"+u
)||(x
==="toggle"?m
?"show":"hide":0)){c
._data(this,
168 "toggle"+u
,q
==="show"?"hide":"show");l
[q]()}else l
[x]();else{q
=pc
.exec(x
);B
=l
.cur();if(q
){x
=parseFloat(q
[2]);y
=q
[3]||(c
.cssNumber
[u]?"":"px");if(y
!=="px"){c
.style(this,u
,(x
||1)+y
);B
=(x
||1)/l
.cur()*B
;c
.style(this,u
,B
+y
)}if(q
[1])x
=(q
[1]==="-="?-1:1)*x
+B
;l
.custom(B
,x
,y
)}else l
.custom(B
,x
,"")}}return true}var g
=c
.speed(b
,d
,e
);if(c
.isEmptyObject(a
))return this.each(g
.complete
,[false]);a
=c
.extend({},a
);return g
.queue
===false?this.each(f
):this.queue(g
.queue
,f
)},stop
:function(a
,b
,d
){if(typeof a
!=="string"){d
=
169 b
;b
=a
;a
=p
}if(b
&&a
!==false)this.queue(a
||"fx",[]);return this.each(function(){function e(m
,q
,x
){q
=q
[x];c
.removeData(m
,x
,true);q
.stop(d
)}var f
,g
=false,i
=c
.timers
,l
=c
._data(this);d
||c
._unmark(true,this);if(a
==null)for(f
in l
)l
[f]&&l
[f].stop
&&f
.indexOf(".run")===f
.length
-4&&e(this,l
,f
);else if(l
[f
=a
+".run"]&&l
[f].stop
)e(this,l
,f
);for(f
=i
.length
;f
--;)if(i
[f].elem
===this&&(a
==null||i
[f].queue
===a
)){d
?i
[f](true):i
[f].saveState();g
=true;i
.splice(f
,1)}d
&&g
||c
.dequeue(this,a
)})}});c
.each({slideDown
:ha("show",
170 1),slideUp
:ha("hide",1),slideToggle
:ha("toggle",1),fadeIn
:{opacity
:"show"},fadeOut
:{opacity
:"hide"},fadeToggle
:{opacity
:"toggle"}},function(a
,b
){c
.fn
[a]=function(d
,e
,f
){return this.animate(b
,d
,e
,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
;if(e
.queue
==
171 null||e
.queue
===true)e
.queue
="fx";e
.old
=e
.complete
;e
.complete
=function(f
){c
.isFunction(e
.old
)&&e
.old
.call(this);if(e
.queue
)c
.dequeue(this,e
.queue
);else f
!==false&&c
._unmark(this)};return e
},easing
:{linear
:function(a
,b
,d
,e
){return d
+e
*a
},swing
:function(a
,b
,d
,e
){return(-Math
.cos(a
*Math
.PI
)/2+0.5)*e
+d
}},timers
:[],fx
:function(a
,b
,d
){this.options
=b
;this.elem
=a
;this.prop
=d
;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
]||
172 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(i
){return f
.step(i
)}var f
=this,g
=c
.fx
;this.startTime
=qa
||Sa();this.end
=b
;this.now
=this.start
=a
;this.pos
=this.state
=0;this.unit
=d
||this.unit
||(c
.cssNumber
[this.prop
]?"":"px");e
.queue
=this.options
.queue
;e
.elem
=this.elem
;e
.saveState
=
173 function(){f
.options
.hide
&&c
._data(f
.elem
,"fxshow"+f
.prop
)===p
&&c
._data(f
.elem
,"fxshow"+f
.prop
,f
.start
)};if(e()&&c
.timers
.push(e
)&&!va
)va
=setInterval(g
.tick
,g
.interval
)},show
:function(){var a
=c
._data(this.elem
,"fxshow"+this.prop
);this.options
.orig
[this.prop
]=a
||c
.style(this.elem
,this.prop
);this.options
.show
=true;a
!==p
?this.custom(this.cur(),a
):this.custom(this.prop
==="width"||this.prop
==="height"?1:0,this.cur());c(this.elem
).show()},hide
:function(){this.options
.orig
[this.prop
]=c
._data(this.elem
,"fxshow"+
174 this.prop
)||c
.style(this.elem
,this.prop
);this.options
.hide
=true;this.custom(this.cur(),0)},step
:function(a
){var b
,d
=qa
||Sa(),e
=true,f
=this.elem
,g
=this.options
;if(a
||d
>=g
.duration
+this.startTime
){this.now
=this.end
;this.pos
=this.state
=1;this.update();g
.animatedProperties
[this.prop
]=true;for(b
in g
.animatedProperties
)if(g
.animatedProperties
[b]!==true)e
=false;if(e
){g
.overflow
!=null&&!c
.support
.shrinkWrapBlocks
&&c
.each(["","X","Y"],function(i
,l
){f
.style
["overflow"+l
]=g
.overflow
[i]});g
.hide
&&c(f
).hide();
175 if(g
.hide
||g
.show
)for(b
in g
.animatedProperties
){c
.style(f
,b
,g
.orig
[b]);c
.removeData(f
,"fxshow"+b
,true);c
.removeData(f
,"toggle"+b
,true)}if(a
=g
.complete
){g
.complete
=false;a
.call(f
)}}return false}else{if(g
.duration
==Infinity
)this.now
=d
;else{a
=d
-this.startTime
;this.state
=a
/g
.duration
;this.pos
=c
.easing
[g
.animatedProperties
[this.prop
]](this.state
,a
,0,1,g
.duration
);this.now
=this.start
+(this.end
-this.start
)*this.pos
}this.update()}return true}};c
.extend(c
.fx
,{tick
:function(){for(var a
,b
=c
.timers
,d
=0;d
<b
.length
;d
++){a
=
176 b
[d];!a()&&b
[d]===a
&&b
.splice(d
--,1)}b
.length
||c
.fx
.stop()},interval
:13,stop
:function(){clearInterval(va
);va
=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
.now
+a
.unit
;else a
.elem
[a
.prop
]=a
.now
}}});c
.each(["width","height"],function(a
,b
){c
.fx
.step
[b]=function(d
){c
.style(d
.elem
,b
,Math
.max(0,d
.now
)+d
.unit
)}});if(c
.expr
&&c
.expr
.filters
)c
.expr
.filters
.animated
=
177 function(a
){return c
.grep(c
.timers
,function(b
){return a
===b
.elem
}).length
};var qc
=/^t(?:able
|d
|h
)$/i
,rb
=/^(?:body
|html
)$/i
;c
.fn
.offset
="getBoundingClientRect"in C
.documentElement
?function(a
){var b
=this[0],d
;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
);try{d
=b
.getBoundingClientRect()}catch(e
){}var f
=b
.ownerDocument
,g
=f
.documentElement
;if(!d
||!c
.contains(g
,b
))return d
?{top
:d
.top
,left
:d
.left
}:
178 {top
:0,left
:0};b
=f
.body
;f
=za(f
);return{top
:d
.top
+(f
.pageYOffset
||c
.support
.boxModel
&&g
.scrollTop
||b
.scrollTop
)-(g
.clientTop
||b
.clientTop
||0),left
:d
.left
+(f
.pageXOffset
||c
.support
.boxModel
&&g
.scrollLeft
||b
.scrollLeft
)-(g
.clientLeft
||b
.clientLeft
||0)}}:function(a
){var b
=this[0];if(a
)return this.each(function(x
){c
.offset
.setOffset(this,a
,x
)});if(!b
||!b
.ownerDocument
)return null;if(b
===b
.ownerDocument
.body
)return c
.offset
.bodyOffset(b
);var d
,e
=b
.offsetParent
,f
=b
,g
=b
.ownerDocument
,i
=g
.documentElement
,
179 l
=g
.body
;d
=(g
=g
.defaultView
)?g
.getComputedStyle(b
,null):b
.currentStyle
;for(var m
=b
.offsetTop
,q
=b
.offsetLeft
;(b
=b
.parentNode
)&&b
!==l
&&b
!==i
;){if(c
.support
.fixedPosition
&&d
.position
==="fixed")break;d
=g
?g
.getComputedStyle(b
,null):b
.currentStyle
;m
-=b
.scrollTop
;q
-=b
.scrollLeft
;if(b
===e
){m
+=b
.offsetTop
;q
+=b
.offsetLeft
;if(c
.support
.doesNotAddBorder
&&!(c
.support
.doesAddBorderForTableAndCells
&&qc
.test(b
.nodeName
))){m
+=parseFloat(d
.borderTopWidth
)||0;q
+=parseFloat(d
.borderLeftWidth
)||0}f
=e
;e
=b
.offsetParent
}if(c
.support
.subtractsBorderForOverflowNotVisible
&&
180 d
.overflow
!=="visible"){m
+=parseFloat(d
.borderTopWidth
)||0;q
+=parseFloat(d
.borderLeftWidth
)||0}d
=d
}if(d
.position
==="relative"||d
.position
==="static"){m
+=l
.offsetTop
;q
+=l
.offsetLeft
}if(c
.support
.fixedPosition
&&d
.position
==="fixed"){m
+=Math
.max(i
.scrollTop
,l
.scrollTop
);q
+=Math
.max(i
.scrollLeft
,l
.scrollLeft
)}return{top
:m
,left
:q
}};c
.offset
={bodyOffset
:function(a
){var b
=a
.offsetTop
,d
=a
.offsetLeft
;if(c
.support
.doesNotIncludeMarginInBodyOffset
){b
+=parseFloat(c
.css(a
,"marginTop"))||0;d
+=parseFloat(c
.css(a
,
181 "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
),g
=f
.offset(),i
=c
.css(a
,"top"),l
=c
.css(a
,"left"),m
={},q
={};if((e
==="absolute"||e
==="fixed")&&c
.inArray("auto",[i
,l
])>-1){q
=f
.position();e
=q
.top
;l
=q
.left
}else{e
=parseFloat(i
)||0;l
=parseFloat(l
)||0}if(c
.isFunction(b
))b
=b
.call(a
,d
,g
);if(b
.top
!=null)m
.top
=b
.top
-g
.top
+e
;if(b
.left
!=null)m
.left
=b
.left
-g
.left
+l
;"using"in b
?b
.using
.call(a
,m
):f
.css(m
)}};c
.fn
.extend({position
:function(){if(!this[0])return null;
182 var a
=this[0],b
=this.offsetParent(),d
=this.offset(),e
=rb
.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
||C
.body
;a
&&!rb
.test(a
.nodeName
)&&c
.css(a
,"position")==="static";)a
=a
.offsetParent
;return a
})}});
183 c
.each(["Left","Top"],function(a
,b
){var d
="scroll"+b
;c
.fn
[d]=function(e
){var f
,g
;if(e
===p
){f
=this[0];if(!f
)return null;return(g
=za(f
))?"pageXOffset"in g
?g
[a
?"pageYOffset":"pageXOffset"]:c
.support
.boxModel
&&g
.document
.documentElement
[d]||g
.document
.body
[d]:f
[d]}return this.each(function(){if(g
=za(this))g
.scrollTo(!a
?e
:c(g
).scrollLeft(),a
?e
:c(g
).scrollTop());else this[d]=e
})}});c
.each(["Height","Width"],function(a
,b
){var d
=b
.toLowerCase();c
.fn
["inner"+b
]=function(){var e
=this[0];return e
?e
.style
?parseFloat(c
.css(e
,
184 d
,"padding")):this[d]():null};c
.fn
["outer"+b
]=function(e
){var f
=this[0];return f
?f
.style
?parseFloat(c
.css(f
,d
,e
?"margin":"border")):this[d]():null};c
.fn
[d]=function(e
){var f
=this[0];if(!f
)return e
==null?null:this;if(c
.isFunction(e
))return this.each(function(l
){var m
=c(this);m
[d](e
.call(this,l
,m
[d]()))});if(c
.isWindow(f
)){var g
=f
.document
.documentElement
["client"+b
],i
=f
.document
.body
;return f
.document
.compatMode
==="CSS1Compat"&&g
||i
&&i
["client"+b
]||g
}else if(f
.nodeType
===9)return Math
.max(f
.documentElement
["client"+
185 b
],f
.body
["scroll"+b
],f
.documentElement
["scroll"+b
],f
.body
["offset"+b
],f
.documentElement
["offset"+b
]);else if(e
===p
){f
=c
.css(f
,d
);g
=parseFloat(f
);return c
.isNumeric(g
)?g
:f
}else return this.css(d
,typeof e
==="string"?e
:e
+"px")}});r
.jQuery
=r
.$=c
;typeof define
==="function"&&define
.amd
&&define
.amd
.jQuery
&&define("jquery",[],function(){return c
})})(window
);$.extend({namespace:function(r
){var p
=window
;this.each(r
.split("."),function(K
,N
){p
[N]=p
[N]||{};p
=p
[N]})},createDom
:function(r
){return this(document
.createElement(r
))}});
186 if(!Function
.prototype.bind
)Function
.prototype.bind
=function(r
){if(typeof this!=="function")throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var p
=Array
.prototype.slice
.call(arguments
,1),K
=this,N
=function(){},Q
=function(){return K
.apply(this instanceof N
?this:r
||window
,p
.concat(Array
.prototype.slice
.call(arguments
)))};N
.prototype=this.prototype;Q
.prototype=new N
;return Q
};$.namespace("armadillo.Version");armadillo
.Version
.MAJOR
=0;armadillo
.Version
.MINOR
=8;armadillo
.Version
.BUILD
=643;armadillo
.Version
.STAMP
=1349547115;$.namespace("armadillo.TVRenamer");armadillo
.TVRenamer
=function(r
){this.file_
=r
};armadillo
.TVRenamer
.prototype.run
=function(){var r
=this.file_
;app
.sendRequest("tv_rename",{path
:this.file_
.getFullPath()},function(p
){if(p
.error
)app
.showError(p
.message
);else{app
.clearError();r
.move(p
.path
)}})};$.namespace("armadillo.PathControl");armadillo
.PathControl
=function(r
,p
){this.name_
=this.path_
=null;this.setPath(r
);this.editableLastComponent_
=p
;this.nameControl_
=null};armadillo
.PathControl
.prototype.setPath
=function(r
){this.path_
=app
.stripLastPathComponent(r
);this.name_
=r
.substr(this.path_
.length
)};armadillo
.PathControl
.prototype.getPath
=function(){return app
.joinPath(this.path_
,this.name_
)};armadillo
.PathControl
.prototype.getNameControl
=function(){return this.nameControl_
};
187 armadillo
.PathControl
.prototype.createDom
=function(){this.element_
=$.createDom("div");this.createDom_(this.element_
);return this.element_
};
188 armadillo
.PathControl
.prototype.createDom_
=function(r
){var p
=this.path_
.split("/");p
[0]="/";p
[p
.length
-1]==""&&p
.splice(-1);var K
="";$.each(p
,function(N
,Q
){r
.append(this.createComponentNode_(K
,Q
));K
=app
.joinPath(K
,Q
)}.bind(this));if(this.editableLastComponent_
){this.nameControl_
=$.createDom("input");this.nameControl_
.attr({type
:"text",name
:"pathName",value
:this.name_
});this.nameControl_
.bind("change keydown",this.nameChanged_
.bind(this))}else this.nameControl_
=$.createDom("span").text(this.name_
);
189 r
.append(this.nameControl_
)};armadillo
.PathControl
.prototype.enterDocument
=function(){armadillo
.PathControl
.superClass_
.enterDocument
.call(this);this.nameControl_
.getElement().focus()};armadillo
.PathControl
.prototype.createComponentNode_
=function(r
,p
){var K
=$.createDom("select");this.fetchMenuContents_(r
,p
,K
);var N
=$.createDom("option");N
.text("Loading...").attr("selected","selected");K
.append(N
);K
.change(this.componentChanged_
.bind(this));return K
};
190 armadillo
.PathControl
.prototype.fetchMenuContents_
=function(r
,p
,K
){var N
=this.path_
;app
.sendRequest("list",{path
:app
.joinPath(r
,p
)},function(Q
){if(Q
.error
)app
.showError(Q
.message
);else{Q
.unshift("/");K
.empty();$.each(Q
,function(ma
,U
){if(app
.isDirectory(U
)){var X
=$.createDom("option"),fa
=app
.joinPath(r
,p
,U
);X
.val(fa
).text(U
);K
.append(X
);N
.substr(0,fa
.length
)==fa
&&X
.attr("selected","selected")}})}})};
191 armadillo
.PathControl
.prototype.componentChanged_
=function(r
){this.path_
=$(r
.target
).val();this.element_
.empty();this.createDom_(this.element_
)};armadillo
.PathControl
.prototype.nameChanged_
=function(r
){console
.log(r
);this.name_
=r
.target
.value
;r
.stopPropagation();return true};$.namespace("armadillo.Actor");armadillo
.Actor
=function(r
){this.file_
=r
;this.controlContainer_
=this.element_
=null};armadillo
.Actor
.prototype.getElement
=function(){return this.element_
};armadillo
.Actor
.options_
={OPEN
:"open",MOVE
:"move",DELETE
:"delete",TV_RENAME
:"tv-rename",DOWNLOAD
:"download"};armadillo
.Actor
.optionStrings_
={open
:"Open",move
:"Move","delete":"Delete","tv-rename":"Rename TV Episode",download
:"Download"};
192 armadillo
.Actor
.prototype.createDom
=function(){this.element_
=$.createDom("div").addClass("actor").empty();for(var r
in armadillo
.Actor
.options_
){var p
=this.createTile_(r
);p
&&this.element_
.append(p
)}this.controlContainer_
=$.createDom("div");this.element_
.append(this.controlContainer_
);return this.element_
};
193 armadillo
.Actor
.prototype.createTile_
=function(r
){r
=armadillo
.Actor
.options_
[r];var p
=$.createDom("span").addClass("title");p
.text(armadillo
.Actor
.optionStrings_
[r]);var K
=$.createDom("div").addClass("tile");K
.append(p
);if(r
==armadillo
.Actor
.options_
.OPEN
&&!this.file_
.isDirectory())return null;K
.click(this.tileClickHandler_
.bind(this,r
));return K
};
194 armadillo
.Actor
.prototype.tileClickHandler_
=function(r
){this.controlContainer_
.empty();this.controlContainer_
.show();if(r
==armadillo
.Actor
.options_
.OPEN
)app
.navigate(this.file_
.getName());else if(r
==armadillo
.Actor
.options_
.MOVE
)this.performMove_();else if(r
==armadillo
.Actor
.options_
.DELETE
)this.performDelete_();else if(r
==armadillo
.Actor
.options_
.TV_RENAME
)this.performTVRename_();else r
==armadillo
.Actor
.options_
.DOWNLOAD
&&this.performDownload_()};
195 armadillo
.Actor
.prototype.performMove_
=function(){var r
=new armadillo
.PathControl(this.file_
.getFullPath(),true);this.controlContainer_
.append(r
.createDom());this.createOkCancel_(function(){this.file_
.move(r
.getPath())}.bind(this),null)};armadillo
.Actor
.prototype.performDelete_
=function(){this.controlContainer_
.append($("<div>Are you sure you want to delete:<br/><strong>"+this.file_
.getName()+"</strong></div>"));this.createOkCancel_(function(){this.file_
.remove()}.bind(this),null)};
196 armadillo
.Actor
.prototype.performTVRename_
=function(){(new armadillo
.TVRenamer(this.file_
)).run()};armadillo
.Actor
.prototype.performDownload_
=function(){window
.location
="download?path="+this.file_
.getFullPath()};armadillo
.Actor
.prototype.createOkCancel_
=function(r
,p
){var K
=$.createDom("button").text("OK");r
&&K
.click(r
);var N
=$.createDom("button").text("Cancel");p
||(p
=this.defaultCancelCallback_
.bind(this));N
.click(p
);this.controlContainer_
.append(K
);this.controlContainer_
.append(N
)};
197 armadillo
.Actor
.prototype.defaultCancelCallback_
=function(){this.controlContainer_
.empty()};$.namespace("armadillo.File");armadillo
.File
=function(r
,p
){this.name_
=r
;this.path_
=p
;this.highlight_
="";this.isDirectory_
=app
.isDirectory(r
);this.actor_
=new armadillo
.Actor(this)};armadillo
.File
.Highlight
={NONE
:"",SELECTED
:"file-selected",ACTIVE
:"file-active"};armadillo
.File
.prototype.getName
=function(){return this.name_
};armadillo
.File
.prototype.getParentPath
=function(){return this.path_
};armadillo
.File
.prototype.getFullPath
=function(){return this.path_
+this.name_
};
198 armadillo
.File
.prototype.isDirectory
=function(){return this.isDirectory_
};armadillo
.File
.prototype.getExtension
=function(){if(this.isDirectory())return"";var r
=this.getName().lastIndexOf(".");if(r
==-1)return"";return this.getName().substring(r
)};armadillo
.File
.prototype.setHighlight
=function(){};
199 armadillo
.File
.prototype.createDom
=function(){if(!this.element_
){this.element_
=$.createDom("li");var r
=this.isSpecial_()?this.clickHandler_
:this.actorHandler_
}this.element_
.empty();this.title_
=$.createDom("div");if(this.isDirectory()){this.link_
=$.createDom("a");this.link_
.text(this.name_
);this.link_
.click(this.clickHandler_
.bind(this));this.title_
.append(this.link_
)}else this.title_
.text(this.name_
);this.element_
.append(this.title_
);this.title_
.click(r
.bind(this));return this.element_
};
200 armadillo
.File
.prototype.remove
=function(){var r
=this;app
.sendRequest("remove",{path
:this.path_
+this.name_
},function(p
){if(p
.error
)app
.showError(p
.message
);else{app
.clearError();app
.list(r
.path_
)}})};armadillo
.File
.prototype.move
=function(r
){app
.sendRequest("move",{source
:this.getFullPath(),target
:r
},function(p
){if(p
.error
)app
.showError(p
.message
);else{app
.clearError();app
.list(app
.stripLastPathComponent(r
))}})};
201 armadillo
.File
.prototype.clickHandler_
=function(r
){this.isDirectory_
&&app
.navigate(this.name_
);r
.stopPropagation()};armadillo
.File
.prototype.actorHandler_
=function(r
){r
.stopPropagation();if(!this.actor_
.getElement()){r
=this.actor_
.createDom();r
.hide();this.element_
.append(r
)}this.actor_
.getElement().slideToggle("fast")};armadillo
.File
.prototype.isSpecial_
=function(){return this.name_
=="../"};$.namespace("armadillo.App");$(document
).ready(function(){app
=new armadillo
.App
});armadillo
.App
=function(){var r
="/";if(window
.location
.hash
)r
=window
.location
.hash
.substr(1);this.list(r
);$(window
).bind("hashchange",this.hashChanged_
.bind(this));this.clearError(false);$("#mkdir").click(this.mkdirHandler_
.bind(this));r
="Armadillo "+armadillo
.Version
.MAJOR
+"."+armadillo
.Version
.MINOR
+" ("+armadillo
.Version
.BUILD
+")";$("#footer").text(r
)};
202 armadillo
.App
.prototype.sendRequest
=function(r
,p
,K
){p
.action
=r
;return $.ajax({url
:"service",type
:"POST",data
:p
,success
:K
})};armadillo
.App
.prototype.list
=function(r
){this.sendRequest("list",{path
:r
},function(p
){if(p
.error
)app
.showError(p
.message
);else{app
.clearError(true);$("#pwd").text(r
);app
.currentPath_
=r
;window
.location
.hash
=r
;document
.title
=r
+" - Armadillo";var K
=$("#ls");K
.empty();r
!="/"&&r
!=""&&p
.unshift("../");$.each(p
,function(N
,Q
){var ma
=new armadillo
.File(Q
,r
);K
.append(ma
.createDom())})}})};
203 armadillo
.App
.prototype.navigate
=function(r
){r
=="../"?this.list(this.stripLastPathComponent(this.currentPath_
)):this.list(this.currentPath_
+r
)};armadillo
.App
.prototype.hashChanged_
=function(){window
.location
.hash
.length
&&this.list(window
.location
.hash
.substr(1))};armadillo
.App
.prototype.isDirectory
=function(r
){return r
[r
.length
-1]=="/"};armadillo
.App
.prototype.getCurrentPath
=function(){return this.currentPath_
};
204 armadillo
.App
.prototype.stripLastPathComponent
=function(r
){for(var p
=r
.length
-1;p
>=0;--p
)if(r
[p]=="/")if(p
!=r
.length
-1)return r
.substring(0,p
+1);return"/"};armadillo
.App
.prototype.joinPath
=function(){var r
="",p
=arguments
.length
-1;$.each(arguments
,function(K
,N
){if(!(N
=="/"&&K
!=0)){r
+=N
;if(N
[N
.length
-1]!="/"&&K
!=p
)r
+="/"}});return r
};armadillo
.App
.prototype.clearError
=function(r
){var p
=$("#error");!p
.text()||!r
?p
.hide():p
.fadeOut(500,function(){p
.text("")})};armadillo
.App
.prototype.showError
=function(r
){$("#error").text(r
).fadeIn(1E3
)};
205 armadillo
.App
.prototype.mkdirHandler_
=function(){var r
=prompt("Name the new subdirectory","");r
!=null&&r
!=""&&this.sendRequest("mkdir",{path
:this.joinPath(this.getCurrentPath(),r
)},function(p
){if(p
.error
)app
.showError(p
.message
);else{app
.clearError();app
.list(app
.getCurrentPath())}})};