aboutsummaryrefslogtreecommitdiff
path: root/release/plugins/imagebrowser/browser
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2016-01-25 17:45:33 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2016-01-25 18:00:33 +0100
commit7adcb81e4f83f98c468889aaa5a85558ba88c770 (patch)
tree0d6ede733777b29060b48df4afaa2c64bfbae276 /release/plugins/imagebrowser/browser
downloadconnexionswing-ckeditor-component-7adcb81e4f83f98c468889aaa5a85558ba88c770.tar.gz
connexionswing-ckeditor-component-7adcb81e4f83f98c468889aaa5a85558ba88c770.tar.zst
connexionswing-ckeditor-component-7adcb81e4f83f98c468889aaa5a85558ba88c770.zip
Initial commit4.5.6
Diffstat (limited to 'release/plugins/imagebrowser/browser')
-rw-r--r--release/plugins/imagebrowser/browser/browser.css62
-rw-r--r--release/plugins/imagebrowser/browser/browser.html25
-rw-r--r--release/plugins/imagebrowser/browser/browser.js6
-rw-r--r--release/plugins/imagebrowser/browser/jquery-1.9.1.min.js181
4 files changed, 274 insertions, 0 deletions
diff --git a/release/plugins/imagebrowser/browser/browser.css b/release/plugins/imagebrowser/browser/browser.css
new file mode 100644
index 00000000..1bb665c4
--- /dev/null
+++ b/release/plugins/imagebrowser/browser/browser.css
@@ -0,0 +1,62 @@
1body {
2 margin: 0;
3}
4
5.folder-switcher {
6 font-size: 16px;
7 font-weight: bold;
8 margin: 0;
9 padding: 5px 10px;
10 list-style: none;
11 background-color: #e3e3e3;
12 border-bottom: 1px solid #b7b7b7;
13}
14
15.folder-switcher li {
16 display: inline-block;
17 margin: 5px;
18 padding: 5px 10px;
19 border: 1px solid #b7b7b7;
20 border-radius: 4px;
21 box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
22 background-color: #fff;
23 color: #333;
24 white-space: nowrap;
25 cursor: pointer;
26}
27
28.folder-switcher li:hover {
29 color: #0576b7;
30 border-color: #0576b7;
31}
32
33.folder-switcher li.active {
34 color: #fff;
35 background-color: #0576b7;
36 border-color: #0576b7;
37 box-shadow: none;
38}
39
40.images-container {
41 padding: 5px 10px;
42}
43
44.thumbnail {
45 display: inline-block;
46 margin: 5px 5px;
47 border: 1px solid #ccc;
48 border-radius: 4px;
49 overflow: hidden;
50 font-size: 0;
51}
52
53.thumbnail:hover {
54 border-color: #0a94e3;
55}
56
57.thumbnail img {
58 width: auto;
59 height: auto;
60 max-width: 200px;
61 max-height: 200px;
62}
diff --git a/release/plugins/imagebrowser/browser/browser.html b/release/plugins/imagebrowser/browser/browser.html
new file mode 100644
index 00000000..181e169a
--- /dev/null
+++ b/release/plugins/imagebrowser/browser/browser.html
@@ -0,0 +1,25 @@
1<!doctype html>
2<html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5 <base>
6 <link rel="stylesheet" href="browser.css">
7 </head>
8
9 <body>
10 <script type="text/x-template-html" id="js-template-image">
11 <a href="javascript://" class="thumbnail js-image-link" data-url="%imageUrl%"><img src="%thumbUrl%"></a>
12 </script>
13
14 <ul class="folder-switcher" id="js-folder-switcher"></ul>
15
16 <div class="images-container" id="js-images-container">Loading..</div>
17
18 <script type="text/javascript" src="jquery-1.9.1.min.js"></script>
19 <script type="text/javascript" src="browser.js"></script>
20
21 <script type="text/javascript">
22 CkEditorImageBrowser.init();
23 </script>
24 </body>
25</html>
diff --git a/release/plugins/imagebrowser/browser/browser.js b/release/plugins/imagebrowser/browser/browser.js
new file mode 100644
index 00000000..9f21faa5
--- /dev/null
+++ b/release/plugins/imagebrowser/browser/browser.js
@@ -0,0 +1,6 @@
1var CkEditorImageBrowser={folders:[],images:{},ckFunctionNum:null,$folderSwitcher:null,$imagesContainer:null,init:function(){CkEditorImageBrowser.$folderSwitcher=$("#js-folder-switcher");CkEditorImageBrowser.$imagesContainer=$("#js-images-container");var a=CkEditorImageBrowser.getQueryStringParam("baseHref");if(a){var c=document.head||document.getElementsByTagName("head")[0];c.getElementsByTagName("link")[0].href=location.href.replace(/\/[^\/]*$/,"/browser.css");c.getElementsByTagName("base")[0].href=
2a}CkEditorImageBrowser.ckFunctionNum=CkEditorImageBrowser.getQueryStringParam("CKEditorFuncNum");CkEditorImageBrowser.initEventHandlers();CkEditorImageBrowser.loadData(CkEditorImageBrowser.getQueryStringParam("listUrl"),function(){CkEditorImageBrowser.initFolderSwitcher()})},loadData:function(a,c){CkEditorImageBrowser.folders=[];CkEditorImageBrowser.images={};$.getJSON(a,function(a){$.each(a,function(a,b){"undefined"===typeof b.folder&&(b.folder="Images");"undefined"===typeof b.thumb&&(b.thumb=b.image);
3CkEditorImageBrowser.addImage(b.folder,b.image,b.thumb)});c()}).error(function(c,d,b){CkEditorImageBrowser.$imagesContainer.html(200>c.status||400<=c.status?"HTTP Status: "+c.status+"/"+c.statusText+': "<strong style="color: red;">'+a+'</strong>"':"parsererror"===d?d+': invalid JSON file: "<strong style="color: red;">'+a+'</strong>": '+b.message:d+" / "+c.statusText+" / "+b.message)})},addImage:function(a,c,e){"undefined"===typeof CkEditorImageBrowser.images[a]&&(CkEditorImageBrowser.folders.push(a),
4CkEditorImageBrowser.images[a]=[]);CkEditorImageBrowser.images[a].push({imageUrl:c,thumbUrl:e})},initFolderSwitcher:function(){var a=CkEditorImageBrowser.$folderSwitcher;a.find("li").remove();$.each(CkEditorImageBrowser.folders,function(c,e){$("<li></li>").data("idx",c).text(e).appendTo(a)});0===CkEditorImageBrowser.folders.length?(a.remove(),CkEditorImageBrowser.$imagesContainer.text("No images.")):(1===CkEditorImageBrowser.folders.length&&a.hide(),a.find("li:first").click())},renderImagesForFolder:function(a){var a=
5CkEditorImageBrowser.images[a],c=$("#js-template-image").html();CkEditorImageBrowser.$imagesContainer.html("");$.each(a,function(a,d){var b=c,b=b.replace("%imageUrl%",d.imageUrl),b=b.replace("%thumbUrl%",d.thumbUrl),b=$($.parseHTML(b));CkEditorImageBrowser.$imagesContainer.append(b)})},initEventHandlers:function(){$(document).on("click","#js-folder-switcher li",function(){var a=parseInt($(this).data("idx"),10),a=CkEditorImageBrowser.folders[a];$(this).siblings("li").removeClass("active");$(this).addClass("active");
6CkEditorImageBrowser.renderImagesForFolder(a)});$(document).on("click",".js-image-link",function(){window.opener.CKEDITOR.tools.callFunction(CkEditorImageBrowser.ckFunctionNum,$(this).data("url"));window.close()})},getQueryStringParam:function(a){return(a=window.location.search.match(RegExp("[?&]"+a+"=([^&]*)")))&&1<a.length?decodeURIComponent(a[1]):null}}; \ No newline at end of file
diff --git a/release/plugins/imagebrowser/browser/jquery-1.9.1.min.js b/release/plugins/imagebrowser/browser/jquery-1.9.1.min.js
new file mode 100644
index 00000000..70e65d34
--- /dev/null
+++ b/release/plugins/imagebrowser/browser/jquery-1.9.1.min.js
@@ -0,0 +1,181 @@
1(function(q,k){function ra(a){var b=a.length,d=c.type(a);return c.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===d||"function"!==d&&(0===b||"number"==typeof b&&0<b&&b-1 in a)}function Qb(a){var b=Qa[a]={};return c.each(a.match(I)||[],function(a,c){b[c]=!0}),b}function Ra(a,b,d,e){if(c.acceptData(a)){var f,g,h=c.expando,i="string"==typeof b,j=a.nodeType,m=j?c.cache:a,o=j?a[h]:a[h]&&h;if(o&&m[o]&&(e||m[o].data)||!i||d!==k)return o||(j?a[h]=o=T.pop()||c.guid++:o=h),m[o]||(m[o]={},j||(m[o].toJSON=c.noop)),
2("object"==typeof b||"function"==typeof b)&&(e?m[o]=c.extend(m[o],b):m[o].data=c.extend(m[o].data,b)),f=m[o],e||(f.data||(f.data={}),f=f.data),d!==k&&(f[c.camelCase(b)]=d),i?(g=f[b],null==g&&(g=f[c.camelCase(b)])):g=f,g}}function Sa(a,b,d){if(c.acceptData(a)){var e,f,g,h=a.nodeType,i=h?c.cache:a,j=h?a[c.expando]:c.expando;if(i[j]){if(b&&(g=d?i[j]:i[j].data)){c.isArray(b)?b=b.concat(c.map(b,c.camelCase)):b in g?b=[b]:(b=c.camelCase(b),b=b in g?[b]:b.split(" "));e=0;for(f=b.length;f>e;e++)delete g[b[e]];
3if(!(d?sa:c.isEmptyObject)(g))return}(d||(delete i[j].data,sa(i[j])))&&(h?c.cleanData([a],!0):c.support.deleteExpando||i!=i.window?delete i[j]:i[j]=null)}}}function Ta(a,b,d){if(d===k&&1===a.nodeType){var e="data-"+b.replace(Rb,"-$1").toLowerCase();if(d=a.getAttribute(e),"string"==typeof d){try{d="true"===d?!0:"false"===d?!1:"null"===d?null:+d+""===d?+d:Sb.test(d)?c.parseJSON(d):d}catch(f){}c.data(a,b,d)}else d=k}return d}function sa(a){for(var b in a)if(("data"!==b||!c.isEmptyObject(a[b]))&&"toJSON"!==
4b)return!1;return!0}function ha(){return!0}function U(){return!1}function Ua(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}function Va(a,b,d){if(b=b||0,c.isFunction(b))return c.grep(a,function(a,c){return!!b.call(a,c,a)===d});if(b.nodeType)return c.grep(a,function(a){return a===b===d});if("string"==typeof b){var e=c.grep(a,function(a){return 1===a.nodeType});if(Tb.test(b))return c.filter(b,e,!d);b=c.filter(b,e)}return c.grep(a,function(a){return 0<=c.inArray(a,b)===d})}function Wa(a){var b=Xa.split("|"),
5a=a.createDocumentFragment();if(a.createElement)for(;b.length;)a.createElement(b.pop());return a}function Ya(a){var b=a.getAttributeNode("type");return a.type=(b&&b.specified)+"/"+a.type,a}function Za(a){var b=Ub.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function ta(a,b){for(var d,e=0;null!=(d=a[e]);e++)c._data(d,"globalEval",!b||c._data(b[e],"globalEval"))}function $a(a,b){if(1===b.nodeType&&c.hasData(a)){var d,e,f;e=c._data(a);var g=c._data(b,e),h=e.events;if(h)for(d in delete g.handle,
6g.events={},h){e=0;for(f=h[d].length;f>e;e++)c.event.add(b,d,h[d][e])}g.data&&(g.data=c.extend({},g.data))}}function u(a,b){var d,e,f=0,g=typeof a.getElementsByTagName!==v?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==v?a.querySelectorAll(b||"*"):k;if(!g){g=[];for(d=a.childNodes||a;null!=(e=d[f]);f++)!b||c.nodeName(e,b)?g.push(e):c.merge(g,u(e,b))}return b===k||b&&c.nodeName(a,b)?c.merge([a],g):g}function Vb(a){ua.test(a.type)&&(a.defaultChecked=a.checked)}function ab(a,b){if(b in a)return b;
7for(var c=b.charAt(0).toUpperCase()+b.slice(1),e=b,f=bb.length;f--;)if(b=bb[f]+c,b in a)return b;return e}function V(a,b){return a=b||a,"none"===c.css(a,"display")||!c.contains(a.ownerDocument,a)}function cb(a,b){for(var d,e,f,g=[],h=0,i=a.length;i>h;h++)e=a[h],e.style&&(g[h]=c._data(e,"olddisplay"),d=e.style.display,b?(g[h]||"none"!==d||(e.style.display=""),""===e.style.display&&V(e)&&(g[h]=c._data(e,"olddisplay",db(e.nodeName)))):g[h]||(f=V(e),(d&&"none"!==d||!f)&&c._data(e,"olddisplay",f?d:c.css(e,
8"display"))));for(h=0;i>h;h++)e=a[h],e.style&&(b&&"none"!==e.style.display&&""!==e.style.display||(e.style.display=b?g[h]||"":"none"));return a}function eb(a,b,c){return(a=Wb.exec(b))?Math.max(0,a[1]-(c||0))+(a[2]||"px"):b}function fb(a,b,d,e,f){for(var b=d===(e?"border":"content")?4:"width"===b?1:0,g=0;4>b;b+=2)"margin"===d&&(g+=c.css(a,d+M[b],!0,f)),e?("content"===d&&(g-=c.css(a,"padding"+M[b],!0,f)),"margin"!==d&&(g-=c.css(a,"border"+M[b]+"Width",!0,f))):(g+=c.css(a,"padding"+M[b],!0,f),"padding"!==
9d&&(g+=c.css(a,"border"+M[b]+"Width",!0,f)));return g}function gb(a,b,d){var e=!0,f="width"===b?a.offsetWidth:a.offsetHeight,g=F(a),h=c.support.boxSizing&&"border-box"===c.css(a,"boxSizing",!1,g);if(0>=f||null==f){if(f=P(a,b,g),(0>f||null==f)&&(f=a.style[b]),ia.test(f))return f;e=h&&(c.support.boxSizingReliable||f===a.style[b]);f=parseFloat(f)||0}return f+fb(a,b,d||(h?"border":"content"),e,g)+"px"}function db(a){var b=n,d=hb[a];return d||(d=ib(a,b),"none"!==d&&d||(aa=(aa||c("<iframe frameborder='0' width='0' height='0'/>").css("cssText",
10"display:block !important")).appendTo(b.documentElement),b=(aa[0].contentWindow||aa[0].contentDocument).document,b.write("<!doctype html><html><body>"),b.close(),d=ib(a,b),aa.detach()),hb[a]=d),d}function ib(a,b){var d=c(b.createElement(a)).appendTo(b.body),e=c.css(d[0],"display");return d.remove(),e}function xa(a,b,d,e){var f;if(c.isArray(b))c.each(b,function(b,c){d||Xb.test(a)?e(a,c):xa(a+"["+("object"==typeof c?b:"")+"]",c,d,e)});else if(d||"object"!==c.type(b))e(a,b);else for(f in b)xa(a+"["+
11f+"]",b[f],d,e)}function jb(a){return function(b,d){"string"!=typeof b&&(d=b,b="*");var e,f=0,g=b.toLowerCase().match(I)||[];if(c.isFunction(d))for(;e=g[f++];)"+"===e[0]?(e=e.slice(1)||"*",(a[e]=a[e]||[]).unshift(d)):(a[e]=a[e]||[]).push(d)}}function kb(a,b,d,e){function f(i){var j;return g[i]=!0,c.each(a[i]||[],function(a,c){var i=c(b,d,e);return"string"!=typeof i||h||g[i]?h?!(j=i):k:(b.dataTypes.unshift(i),f(i),!1)}),j}var g={},h=a===ya;return f(b.dataTypes[0])||!g["*"]&&f("*")}function za(a,b){var d,
12e,f=c.ajaxSettings.flatOptions||{};for(e in b)b[e]!==k&&((f[e]?a:d||(d={}))[e]=b[e]);return d&&c.extend(!0,a,d),a}function lb(){try{return new q.XMLHttpRequest}catch(a){}}function mb(){return setTimeout(function(){W=k}),W=c.now()}function Yb(a,b){c.each(b,function(b,c){for(var f=(X[b]||[]).concat(X["*"]),g=0,h=f.length;h>g&&!f[g].call(a,b,c);g++);})}function nb(a,b,d){var e,f=0,g=ja.length,h=c.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=W||mb(),b=Math.max(0,j.startTime+
13j.duration-b),c=1-(b/j.duration||0),d=0,f=j.tweens.length;f>d;d++)j.tweens[d].run(c);return h.notifyWith(a,[j,c,b]),1>c&&f?b:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:c.extend({},b),opts:c.extend(!0,{specialEasing:{}},d),originalProperties:b,originalOptions:d,startTime:W||mb(),duration:d.duration,tweens:[],createTween:function(b,d){var e=c.Tween(a,j.opts,b,d,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(e),e},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;
14for(e=!0;d>c;c++)j.tweens[c].run(1);return b?h.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this}}),d=j.props;for(Zb(d,j.opts.specialEasing);g>f;f++)if(b=ja[f].call(j,a,d,j.opts))return b;return Yb(j,d),c.isFunction(j.opts.start)&&j.opts.start.call(a,j),c.fx.timer(c.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}function Zb(a,b){var d,e,f,g,h;for(f in a)if(e=c.camelCase(f),g=b[e],d=a[f],c.isArray(d)&&
15(g=d[1],d=a[f]=d[0]),f!==e&&(a[e]=d,delete a[f]),h=c.cssHooks[e],h&&"expand"in h)for(f in d=h.expand(d),delete a[e],d)f in a||(a[f]=d[f],b[f]=g);else b[e]=g}function w(a,b,c,e,f){return new w.prototype.init(a,b,c,e,f)}function Y(a,b){for(var c,e={height:a},f=0,b=b?1:0;4>f;f+=2-b)c=M[f],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function ob(a){return c.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}var ba,pb,v=typeof k,n=q.document,$b=q.location,ac=q.jQuery,bc=
16q.$,ka={},T=[],qb=T.concat,Aa=T.push,B=T.slice,rb=T.indexOf,cc=ka.toString,Q=ka.hasOwnProperty,Ba="1.9.1".trim,c=function(a,b){return new c.fn.init(a,b,pb)},la=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,I=/\S+/g,dc=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ec=/^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/,sb=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,fc=/^[\],:{}\s]*$/,gc=/(?:^|:|,)(?:\s*\[)+/g,hc=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,ic=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,jc=/^-ms-/,kc=/-([\da-z])/gi,
17lc=function(a,b){return b.toUpperCase()},N=function(a){(n.addEventListener||"load"===a.type||"complete"===n.readyState)&&(tb(),c.ready())},tb=function(){n.addEventListener?(n.removeEventListener("DOMContentLoaded",N,!1),q.removeEventListener("load",N,!1)):(n.detachEvent("onreadystatechange",N),q.detachEvent("onload",N))};c.fn=c.prototype={jquery:"1.9.1",constructor:c,init:function(a,b,d){var e,f;if(!a)return this;if("string"==typeof a){if(e="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&3<=a.length?
18[null,a,null]:ec.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||d).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof c?b[0]:b,c.merge(this,c.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:n,!0)),sb.test(e[1])&&c.isPlainObject(b))for(e in b)c.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}if(f=n.getElementById(e[2]),f&&f.parentNode){if(f.id!==e[2])return d.find(a);this.length=1;this[0]=f}return this.context=n,this.selector=a,this}return a.nodeType?(this.context=this[0]=
19a,this.length=1,this):c.isFunction(a)?d.ready(a):(a.selector!==k&&(this.selector=a.selector,this.context=a.context),c.makeArray(a,this))},selector:"",length:0,size:function(){return this.length},toArray:function(){return B.call(this)},get:function(a){return null==a?this.toArray():0>a?this[this.length+a]:this[a]},pushStack:function(a){a=c.merge(this.constructor(),a);return a.prevObject=this,a.context=this.context,a},each:function(a,b){return c.each(this,a,b)},ready:function(a){return c.ready.promise().done(a),
20this},slice:function(){return this.pushStack(B.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,a=+a+(0>a?b:0);return this.pushStack(0<=a&&b>a?[this[a]]:[])},map:function(a){return this.pushStack(c.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:Aa,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a,b,d,e,f,g,
21h=arguments[0]||{},i=1,j=arguments.length,m=!1;"boolean"==typeof h&&(m=h,h=arguments[1]||{},i=2);"object"==typeof h||c.isFunction(h)||(h={});for(j===i&&(h=this,--i);j>i;i++)if(null!=(f=arguments[i]))for(e in f)a=h[e],d=f[e],h!==d&&(m&&d&&(c.isPlainObject(d)||(b=c.isArray(d)))?(b?(b=!1,g=a&&c.isArray(a)?a:[]):g=a&&c.isPlainObject(a)?a:{},h[e]=c.extend(m,g,d)):d!==k&&(h[e]=d));return h};c.extend({noConflict:function(a){return q.$===c&&(q.$=bc),a&&q.jQuery===c&&(q.jQuery=ac),c},isReady:!1,readyWait:1,
22holdReady:function(a){a?c.readyWait++:c.ready(!0)},ready:function(a){if(!0===a?!--c.readyWait:!c.isReady){if(!n.body)return setTimeout(c.ready);c.isReady=!0;!0!==a&&0<--c.readyWait||(ba.resolveWith(n,[c]),c.fn.trigger&&c(n).trigger("ready").off("ready"))}},isFunction:function(a){return"function"===c.type(a)},isArray:Array.isArray||function(a){return"array"===c.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return null==
23a?a+"":"object"==typeof a||"function"==typeof a?ka[cc.call(a)]||"object":typeof a},isPlainObject:function(a){if(!a||"object"!==c.type(a)||a.nodeType||c.isWindow(a))return!1;try{if(a.constructor&&!Q.call(a,"constructor")&&!Q.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(b){return!1}for(var d in a);return d===k||Q.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw Error(a);},parseHTML:function(a,b,d){if(!a||"string"!=typeof a)return null;"boolean"==
24typeof b&&(d=b,b=!1);var b=b||n,e=sb.exec(a),d=!d&&[];return e?[b.createElement(e[1])]:(e=c.buildFragment([a],b,d),d&&c(d).remove(),c.merge([],e.childNodes))},parseJSON:function(a){return q.JSON&&q.JSON.parse?q.JSON.parse(a):null===a?a:"string"==typeof a&&(a=c.trim(a),a&&fc.test(a.replace(hc,"@").replace(ic,"]").replace(gc,"")))?Function("return "+a)():(c.error("Invalid JSON: "+a),k)},parseXML:function(a){var b,d;if(!a||"string"!=typeof a)return null;try{q.DOMParser?(d=new DOMParser,b=d.parseFromString(a,
25"text/xml")):(b=new ActiveXObject("Microsoft.XMLDOM"),b.async="false",b.loadXML(a))}catch(e){b=k}return b&&b.documentElement&&!b.getElementsByTagName("parsererror").length||c.error("Invalid XML: "+a),b},noop:function(){},globalEval:function(a){a&&c.trim(a)&&(q.execScript||function(a){q.eval.call(q,a)})(a)},camelCase:function(a){return a.replace(jc,"ms-").replace(kc,lc)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var e,f=0,g=a.length,
26h=ra(a);if(c)if(h)for(;g>f&&!(e=b.apply(a[f],c),!1===e);f++);else for(f in a){if(e=b.apply(a[f],c),!1===e)break}else if(h)for(;g>f&&!(e=b.call(a[f],f,a[f]),!1===e);f++);else for(f in a)if(e=b.call(a[f],f,a[f]),!1===e)break;return a},trim:Ba&&!Ba.call(" ")?function(a){return null==a?"":Ba.call(a)}:function(a){return null==a?"":(a+"").replace(dc,"")},makeArray:function(a,b){var d=b||[];return null!=a&&(ra(Object(a))?c.merge(d,"string"==typeof a?[a]:a):Aa.call(d,a)),d},inArray:function(a,b,c){var e;
27if(b){if(rb)return rb.call(b,a,c);e=b.length;for(c=c?0>c?Math.max(0,e+c):c:0;e>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=b.length,e=a.length,f=0;if("number"==typeof c)for(;c>f;f++)a[e++]=b[f];else for(;b[f]!==k;)a[e++]=b[f++];return a.length=e,a},grep:function(a,b,c){for(var e,f=[],g=0,h=a.length,c=!!c;h>g;g++)e=!!b(a[g],g),c!==e&&f.push(a[g]);return f},map:function(a,b,c){var e,f=0,g=a.length,h=[];if(ra(a))for(;g>f;f++)e=b(a[f],f,c),null!=e&&(h[h.length]=e);else for(f in a)e=
28b(a[f],f,c),null!=e&&(h[h.length]=e);return qb.apply([],h)},guid:1,proxy:function(a,b){var d,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),c.isFunction(a)?(d=B.call(arguments,2),e=function(){return a.apply(b||this,d.concat(B.call(arguments)))},e.guid=a.guid=a.guid||c.guid++,e):k},access:function(a,b,d,e,f,g,h){var i=0,j=a.length,m=null==d;if("object"===c.type(d))for(i in f=!0,d)c.access(a,b,i,d[i],!0,g,h);else if(e!==k&&(f=!0,c.isFunction(e)||(h=!0),m&&(h?(b.call(a,e),b=null):(m=b,b=function(a,b,
29d){return m.call(c(a),d)})),b))for(;j>i;i++)b(a[i],d,h?e:e.call(a[i],i,b(a[i],d)));return f?a:m?b.call(a):j?b(a[0],d):g},now:function(){return(new Date).getTime()}});c.ready.promise=function(a){if(!ba)if(ba=c.Deferred(),"complete"===n.readyState)setTimeout(c.ready);else if(n.addEventListener)n.addEventListener("DOMContentLoaded",N,!1),q.addEventListener("load",N,!1);else{n.attachEvent("onreadystatechange",N);q.attachEvent("onload",N);var b=!1;try{b=null==q.frameElement&&n.documentElement}catch(d){}b&&
30b.doScroll&&function f(){if(!c.isReady){try{b.doScroll("left")}catch(a){return setTimeout(f,50)}tb();c.ready()}}()}return ba.promise(a)};c.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){ka["[object "+b+"]"]=b.toLowerCase()});pb=c(n);var Qa={};c.Callbacks=function(a){var a="string"==typeof a?Qa[a]||Qb(a):c.extend({},a),b,d,e,f,g,h,i=[],j=!a.once&&[],m=function(c){d=a.memory&&c;e=!0;g=h||0;h=0;f=i.length;for(b=!0;i&&f>g;g++)if(!1===i[g].apply(c[0],c[1])&&
31a.stopOnFalse){d=!1;break}b=!1;i&&(j?j.length&&m(j.shift()):d?i=[]:o.disable())},o={add:function(){if(i){var e=i.length;(function p(b){c.each(b,function(b,d){var e=c.type(d);"function"===e?a.unique&&o.has(d)||i.push(d):d&&d.length&&"string"!==e&&p(d)})})(arguments);b?f=i.length:d&&(h=e,m(d))}return this},remove:function(){return i&&c.each(arguments,function(a,d){for(var e;-1<(e=c.inArray(d,i,e));)i.splice(e,1),b&&(f>=e&&f--,g>=e&&g--)}),this},has:function(a){return a?-1<c.inArray(a,i):!(!i||!i.length)},
32empty:function(){return i=[],this},disable:function(){return i=j=d=k,this},disabled:function(){return!i},lock:function(){return j=k,d||o.disable(),this},locked:function(){return!j},fireWith:function(a,c){return c=c||[],c=[a,c.slice?c.slice():c],!i||e&&!j||(b?j.push(c):m(c)),this},fire:function(){return o.fireWith(this,arguments),this},fired:function(){return!!e}};return o};c.extend({Deferred:function(a){var b=[["resolve","done",c.Callbacks("once memory"),"resolved"],["reject","fail",c.Callbacks("once memory"),
33"rejected"],["notify","progress",c.Callbacks("memory")]],d="pending",e={state:function(){return d},always:function(){return f.done(arguments).fail(arguments),this},then:function(){var a=arguments;return c.Deferred(function(d){c.each(b,function(b,j){var m=j[0],k=c.isFunction(a[b])&&a[b];f[j[1]](function(){var a=k&&k.apply(this,arguments);a&&c.isFunction(a.promise)?a.promise().done(d.resolve).fail(d.reject).progress(d.notify):d[m+"With"](this===e?d.promise():this,k?[a]:arguments)})});a=null}).promise()},
34promise:function(a){return null!=a?c.extend(a,e):e}},f={};return e.pipe=e.then,c.each(b,function(a,c){var i=c[2],j=c[3];e[c[1]]=i.add;j&&i.add(function(){d=j},b[1^a][2].disable,b[2][2].lock);f[c[0]]=function(){return f[c[0]+"With"](this===f?e:this,arguments),this};f[c[0]+"With"]=i.fireWith}),e.promise(f),a&&a.call(f,f),f},when:function(a){var b=0,d=B.call(arguments),e=d.length,f=1!==e||a&&c.isFunction(a.promise)?e:0,g=1===f?a:c.Deferred(),h=function(a,b,c){return function(d){b[a]=this;c[a]=1<arguments.length?
35B.call(arguments):d;c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,m;if(1<e){i=Array(e);j=Array(e);for(m=Array(e);e>b;b++)d[b]&&c.isFunction(d[b].promise)?d[b].promise().done(h(b,m,d)).fail(g.reject).progress(h(b,j,i)):--f}return f||g.resolveWith(m,d),g.promise()}});c.support=function(){var a,b,d,e,f,g,h,i=n.createElement("div");if(i.setAttribute("className","t"),i.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",b=i.getElementsByTagName("*"),d=i.getElementsByTagName("a")[0],
36!b||!d||!b.length)return{};e=n.createElement("select");f=e.appendChild(n.createElement("option"));b=i.getElementsByTagName("input")[0];d.style.cssText="top:1px;float:left;opacity:.5";a={getSetAttribute:"t"!==i.className,leadingWhitespace:3===i.firstChild.nodeType,tbody:!i.getElementsByTagName("tbody").length,htmlSerialize:!!i.getElementsByTagName("link").length,style:/top/.test(d.getAttribute("style")),hrefNormalized:"/a"===d.getAttribute("href"),opacity:/^0.5/.test(d.style.opacity),cssFloat:!!d.style.cssFloat,
37checkOn:!!b.value,optSelected:f.selected,enctype:!!n.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==n.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===n.compatMode,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1};b.checked=!0;a.noCloneChecked=b.cloneNode(!0).checked;e.disabled=!0;a.optDisabled=!f.disabled;try{delete i.test}catch(j){a.deleteExpando=!1}b=n.createElement("input");
38b.setAttribute("value","");a.input=""===b.getAttribute("value");b.value="t";b.setAttribute("type","radio");a.radioValue="t"===b.value;b.setAttribute("checked","t");b.setAttribute("name","t");d=n.createDocumentFragment();d.appendChild(b);a.appendChecked=b.checked;a.checkClone=d.cloneNode(!0).cloneNode(!0).lastChild.checked;i.attachEvent&&(i.attachEvent("onclick",function(){a.noCloneEvent=!1}),i.cloneNode(!0).click());for(h in{submit:!0,change:!0,focusin:!0})i.setAttribute(d="on"+h,"t"),a[h+"Bubbles"]=
39d in q||!1===i.attributes[d].expando;return i.style.backgroundClip="content-box",i.cloneNode(!0).style.backgroundClip="",a.clearCloneStyle="content-box"===i.style.backgroundClip,c(function(){var b,c,d,e=n.getElementsByTagName("body")[0];e&&(b=n.createElement("div"),b.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",e.appendChild(b).appendChild(i),i.innerHTML="<table><tr><td></td><td>t</td></tr></table>",d=i.getElementsByTagName("td"),d[0].style.cssText=
40"padding:0;margin:0;border:0;display:none",g=0===d[0].offsetHeight,d[0].style.display="",d[1].style.display="none",a.reliableHiddenOffsets=g&&0===d[0].offsetHeight,i.innerHTML="",i.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",a.boxSizing=4===i.offsetWidth,a.doesNotIncludeMarginInBodyOffset=1!==e.offsetTop,q.getComputedStyle&&(a.pixelPosition="1%"!==(q.getComputedStyle(i,
41null)||{}).top,a.boxSizingReliable="4px"===(q.getComputedStyle(i,null)||{width:"4px"}).width,c=i.appendChild(n.createElement("div")),c.style.cssText=i.style.cssText="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",c.style.marginRight=c.style.width="0",i.style.width="1px",a.reliableMarginRight=!parseFloat((q.getComputedStyle(c,null)||{}).marginRight)),typeof i.style.zoom!==v&&(i.innerHTML="",i.style.cssText="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;width:1px;padding:1px;display:inline;zoom:1",
42a.inlineBlockNeedsLayout=3===i.offsetWidth,i.style.display="block",i.innerHTML="<div></div>",i.firstChild.style.width="5px",a.shrinkWrapBlocks=3!==i.offsetWidth,a.inlineBlockNeedsLayout&&(e.style.zoom=1)),e.removeChild(b),i=null)}),b=e=d=f=d=b=null,a}();var Sb=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,Rb=/([A-Z])/g;c.extend({cache:{},expando:"jQuery"+("1.9.1"+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){return a=a.nodeType?
43c.cache[a[c.expando]]:a[c.expando],!!a&&!sa(a)},data:function(a,b,c){return Ra(a,b,c)},removeData:function(a,b){return Sa(a,b)},_data:function(a,b,c){return Ra(a,b,c,!0)},_removeData:function(a,b){return Sa(a,b,!0)},acceptData:function(a){if(a.nodeType&&1!==a.nodeType&&9!==a.nodeType)return!1;var b=a.nodeName&&c.noData[a.nodeName.toLowerCase()];return!b||!0!==b&&a.getAttribute("classid")===b}});c.fn.extend({data:function(a,b){var d,e,f=this[0],g=0,h=null;if(a===k){if(this.length&&(h=c.data(f),1===
44f.nodeType&&!c._data(f,"parsedAttrs"))){for(d=f.attributes;d.length>g;g++)e=d[g].name,e.indexOf("data-")||(e=c.camelCase(e.slice(5)),Ta(f,e,h[e]));c._data(f,"parsedAttrs",!0)}return h}return"object"==typeof a?this.each(function(){c.data(this,a)}):c.access(this,function(b){return b===k?f?Ta(f,a,c.data(f,a)):null:(this.each(function(){c.data(this,a,b)}),k)},null,b,1<arguments.length,null,!0)},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){var e;
45return a?(b=(b||"fx")+"queue",e=c._data(a,b),d&&(!e||c.isArray(d)?e=c._data(a,b,c.makeArray(d)):e.push(d)),e||[]):k},dequeue:function(a,b){var b=b||"fx",d=c.queue(a,b),e=d.length,f=d.shift(),g=c._queueHooks(a,b),h=function(){c.dequeue(a,b)};"inprogress"===f&&(f=d.shift(),e--);(g.cur=f)&&("fx"===b&&d.unshift("inprogress"),delete g.stop,f.call(a,h,g));!e&&g&&g.empty.fire()},_queueHooks:function(a,b){var d=b+"queueHooks";return c._data(a,d)||c._data(a,d,{empty:c.Callbacks("once memory").add(function(){c._removeData(a,
46b+"queue");c._removeData(a,d)})})}});c.fn.extend({queue:function(a,b){var d=2;return"string"!=typeof a&&(b=a,a="fx",d--),d>arguments.length?c.queue(this[0],a):b===k?this:this.each(function(){var d=c.queue(this,a,b);c._queueHooks(this,a);"fx"===a&&"inprogress"!==d[0]&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){return a=c.fx?c.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var f=setTimeout(b,a);c.stop=function(){clearTimeout(f)}})},
47clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var d,e=1,f=c.Deferred(),g=this,h=this.length,i=function(){--e||f.resolveWith(g,[g])};"string"!=typeof a&&(b=a,a=k);for(a=a||"fx";h--;)(d=c._data(g[h],a+"queueHooks"))&&d.empty&&(e++,d.empty.add(i));return i(),f.promise(b)}});var ca,ub,Ca=/[\t\r\n]/g,mc=/\r/g,nc=/^(?:input|select|textarea|button|object)$/i,oc=/^(?:a|area)$/i,vb=/^(?:checked|selected|autofocus|autoplay|async|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped)$/i,
48Da=/^(?:checked|selected)$/i,Z=c.support.getSetAttribute,Ea=c.support.input;c.fn.extend({attr:function(a,b){return c.access(this,c.attr,a,b,1<arguments.length)},removeAttr:function(a){return this.each(function(){c.removeAttr(this,a)})},prop:function(a,b){return c.access(this,c.prop,a,b,1<arguments.length)},removeProp:function(a){return a=c.propFix[a]||a,this.each(function(){try{this[a]=k,delete this[a]}catch(b){}})},addClass:function(a){var b,d,e,f,g,h=0,i=this.length;b="string"==typeof a&&a;if(c.isFunction(a))return this.each(function(b){c(this).addClass(a.call(this,
49b,this.className))});if(b)for(b=(a||"").match(I)||[];i>h;h++)if(d=this[h],e=1===d.nodeType&&(d.className?(" "+d.className+" ").replace(Ca," "):" ")){for(g=0;f=b[g++];)0>e.indexOf(" "+f+" ")&&(e+=f+" ");d.className=c.trim(e)}return this},removeClass:function(a){var b,d,e,f,g,h=0,i=this.length;b=0===arguments.length||"string"==typeof a&&a;if(c.isFunction(a))return this.each(function(b){c(this).removeClass(a.call(this,b,this.className))});if(b)for(b=(a||"").match(I)||[];i>h;h++)if(d=this[h],e=1===d.nodeType&&
50(d.className?(" "+d.className+" ").replace(Ca," "):"")){for(g=0;f=b[g++];)for(;0<=e.indexOf(" "+f+" ");)e=e.replace(" "+f+" "," ");d.className=a?c.trim(e):""}return this},toggleClass:function(a,b){var d=typeof a,e="boolean"==typeof b;return c.isFunction(a)?this.each(function(d){c(this).toggleClass(a.call(this,d,this.className,b),b)}):this.each(function(){if("string"===d)for(var f,g=0,h=c(this),i=b,j=a.match(I)||[];f=j[g++];)i=e?i:!h.hasClass(f),h[i?"addClass":"removeClass"](f);else(d===v||"boolean"===
51d)&&(this.className&&c._data(this,"__className__",this.className),this.className=this.className||!1===a?"":c._data(this,"__className__")||"")})},hasClass:function(a){for(var a=" "+a+" ",b=0,c=this.length;c>b;b++)if(1===this[b].nodeType&&0<=(" "+this[b].className+" ").replace(Ca," ").indexOf(a))return!0;return!1},val:function(a){var b,d,e,f=this[0];if(arguments.length)return e=c.isFunction(a),this.each(function(b){var f,i=c(this);1===this.nodeType&&(f=e?a.call(this,b,i.val()):a,null==f?f="":"number"==
52typeof f?f+="":c.isArray(f)&&(f=c.map(f,function(a){return null==a?"":a+""})),d=c.valHooks[this.type]||c.valHooks[this.nodeName.toLowerCase()],d&&"set"in d&&d.set(this,f,"value")!==k||(this.value=f))});if(f)return d=c.valHooks[f.type]||c.valHooks[f.nodeName.toLowerCase()],d&&"get"in d&&(b=d.get(f,"value"))!==k?b:(b=f.value,"string"==typeof b?b.replace(mc,""):null==b?"":b)}});c.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){for(var b,
53d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(b=d[i],!(!b.selected&&i!==e||(c.support.optDisabled?b.disabled:null!==b.getAttribute("disabled"))||b.parentNode.disabled&&c.nodeName(b.parentNode,"optgroup"))){if(a=c(b).val(),f)return a;g.push(a)}return g},set:function(a,b){var d=c.makeArray(b);return c(a).find("option").each(function(){this.selected=0<=c.inArray(c(this).val(),d)}),d.length||(a.selectedIndex=-1),d}}},attr:function(a,b,
54d){var e,f,g,h=a.nodeType;if(a&&3!==h&&8!==h&&2!==h)return typeof a.getAttribute===v?c.prop(a,b,d):(f=1!==h||!c.isXMLDoc(a),f&&(b=b.toLowerCase(),e=c.attrHooks[b]||(vb.test(b)?ub:ca)),d===k?e&&f&&"get"in e&&null!==(g=e.get(a,b))?g:(typeof a.getAttribute!==v&&(g=a.getAttribute(b)),null==g?k:g):null!==d?e&&f&&"set"in e&&(g=e.set(a,d,b))!==k?g:(a.setAttribute(b,d+""),d):(c.removeAttr(a,b),k))},removeAttr:function(a,b){var d,e,f=0,g=b&&b.match(I);if(g&&1===a.nodeType)for(;d=g[f++];)e=c.propFix[d]||d,
55vb.test(d)?!Z&&Da.test(d)?a[c.camelCase("default-"+d)]=a[e]=!1:a[e]=!1:c.attr(a,d,""),a.removeAttribute(Z?d:e)},attrHooks:{type:{set:function(a,b){if(!c.support.radioValue&&"radio"===b&&c.nodeName(a,"input")){var d=a.value;return a.setAttribute("type",b),d&&(a.value=d),b}}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",
56contenteditable:"contentEditable"},prop:function(a,b,d){var e,f,g,h=a.nodeType;if(a&&3!==h&&8!==h&&2!==h)return g=1!==h||!c.isXMLDoc(a),g&&(b=c.propFix[b]||b,f=c.propHooks[b]),d!==k?f&&"set"in f&&(e=f.set(a,d,b))!==k?e:a[b]=d:f&&"get"in f&&null!==(e=f.get(a,b))?e:a[b]},propHooks:{tabIndex:{get:function(a){var b=a.getAttributeNode("tabindex");return b&&b.specified?parseInt(b.value,10):nc.test(a.nodeName)||oc.test(a.nodeName)&&a.href?0:k}}}});ub={get:function(a,b){var d=c.prop(a,b),e="boolean"==typeof d&&
57a.getAttribute(b);return(d="boolean"==typeof d?Ea&&Z?null!=e:Da.test(b)?a[c.camelCase("default-"+b)]:!!e:a.getAttributeNode(b))&&!1!==d.value?b.toLowerCase():k},set:function(a,b,d){return!1===b?c.removeAttr(a,d):Ea&&Z||!Da.test(d)?a.setAttribute(!Z&&c.propFix[d]||d,d):a[c.camelCase("default-"+d)]=a[d]=!0,d}};Ea&&Z||(c.attrHooks.value={get:function(a,b){var d=a.getAttributeNode(b);return c.nodeName(a,"input")?a.defaultValue:d&&d.specified?d.value:k},set:function(a,b,d){return c.nodeName(a,"input")?
58(a.defaultValue=b,k):ca&&ca.set(a,b,d)}});Z||(ca=c.valHooks.button={get:function(a,b){var c=a.getAttributeNode(b);return c&&("id"===b||"name"===b||"coords"===b?""!==c.value:c.specified)?c.value:k},set:function(a,b,c){var e=a.getAttributeNode(c);return e||a.setAttributeNode(e=a.ownerDocument.createAttribute(c)),e.value=b+="","value"===c||b===a.getAttribute(c)?b:k}},c.attrHooks.contenteditable={get:ca.get,set:function(a,b,c){ca.set(a,""===b?!1:b,c)}},c.each(["width","height"],function(a,b){c.attrHooks[b]=
59c.extend(c.attrHooks[b],{set:function(a,c){return""===c?(a.setAttribute(b,"auto"),c):k}})}));c.support.hrefNormalized||(c.each(["href","src","width","height"],function(a,b){c.attrHooks[b]=c.extend(c.attrHooks[b],{get:function(a){a=a.getAttribute(b,2);return null==a?k:a}})}),c.each(["href","src"],function(a,b){c.propHooks[b]={get:function(a){return a.getAttribute(b,4)}}}));c.support.style||(c.attrHooks.style={get:function(a){return a.style.cssText||k},set:function(a,b){return a.style.cssText=b+""}});
60c.support.optSelected||(c.propHooks.selected=c.extend(c.propHooks.selected,{get:function(a){a=a.parentNode;return a&&(a.selectedIndex,a.parentNode&&a.parentNode.selectedIndex),null}}));c.support.enctype||(c.propFix.enctype="encoding");c.support.checkOn||c.each(["radio","checkbox"],function(){c.valHooks[this]={get:function(a){return null===a.getAttribute("value")?"on":a.value}}});c.each(["radio","checkbox"],function(){c.valHooks[this]=c.extend(c.valHooks[this],{set:function(a,b){return c.isArray(b)?
61a.checked=0<=c.inArray(c(a).val(),b):k}})});var Fa=/^(?:input|select|textarea)$/i,pc=/^key/,qc=/^(?:mouse|contextmenu)|click/,wb=/^(?:focusinfocus|focusoutblur)$/,xb=/^([^.]*)(?:\.(.+)|)$/;c.event={global:{},add:function(a,b,d,e,f){var g,h,i,j,m,o,l,x,p;if(i=c._data(a)){d.handler&&(j=d,d=j.handler,f=j.selector);d.guid||(d.guid=c.guid++);(h=i.events)||(h=i.events={});(m=i.handle)||(m=i.handle=function(a){return typeof c===v||a&&c.event.triggered===a.type?k:c.event.dispatch.apply(m.elem,arguments)},
62m.elem=a);b=(b||"").match(I)||[""];for(i=b.length;i--;)g=xb.exec(b[i])||[],x=o=g[1],p=(g[2]||"").split(".").sort(),g=c.event.special[x]||{},x=(f?g.delegateType:g.bindType)||x,g=c.event.special[x]||{},o=c.extend({type:x,origType:o,data:e,handler:d,guid:d.guid,selector:f,needsContext:f&&c.expr.match.needsContext.test(f),namespace:p.join(".")},j),(l=h[x])||(l=h[x]=[],l.delegateCount=0,g.setup&&!1!==g.setup.call(a,e,p,m)||(a.addEventListener?a.addEventListener(x,m,!1):a.attachEvent&&a.attachEvent("on"+
63x,m))),g.add&&(g.add.call(a,o),o.handler.guid||(o.handler.guid=d.guid)),f?l.splice(l.delegateCount++,0,o):l.push(o),c.event.global[x]=!0;a=null}},remove:function(a,b,d,e,f){var g,h,i,j,m,k,l,x,p,n,q,u=c.hasData(a)&&c._data(a);if(u&&(k=u.events)){b=(b||"").match(I)||[""];for(m=b.length;m--;)if(i=xb.exec(b[m])||[],p=q=i[1],n=(i[2]||"").split(".").sort(),p){l=c.event.special[p]||{};p=(e?l.delegateType:l.bindType)||p;x=k[p]||[];i=i[2]&&RegExp("(^|\\.)"+n.join("\\.(?:.*\\.|)")+"(\\.|$)");for(j=g=x.length;g--;)h=
64x[g],!f&&q!==h.origType||d&&d.guid!==h.guid||i&&!i.test(h.namespace)||e&&e!==h.selector&&("**"!==e||!h.selector)||(x.splice(g,1),h.selector&&x.delegateCount--,l.remove&&l.remove.call(a,h));j&&!x.length&&(l.teardown&&!1!==l.teardown.call(a,n,u.handle)||c.removeEvent(a,p,u.handle),delete k[p])}else for(p in k)c.event.remove(a,p+b[m],d,e,!0);c.isEmptyObject(k)&&(delete u.handle,c._removeData(a,"events"))}},trigger:function(a,b,d,e){var f,g,h,i,j,m,o=[d||n],l=Q.call(a,"type")?a.type:a;m=Q.call(a,"namespace")?
65a.namespace.split("."):[];if(h=f=d=d||n,3!==d.nodeType&&8!==d.nodeType&&!wb.test(l+c.event.triggered)&&(0<=l.indexOf(".")&&(m=l.split("."),l=m.shift(),m.sort()),g=0>l.indexOf(":")&&"on"+l,a=a[c.expando]?a:new c.Event(l,"object"==typeof a&&a),a.isTrigger=!0,a.namespace=m.join("."),a.namespace_re=a.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,a.result=k,a.target||(a.target=d),b=null==b?[a]:c.makeArray(b,[a]),j=c.event.special[l]||{},e||!j.trigger||!1!==j.trigger.apply(d,b))){if(!e&&
66!j.noBubble&&!c.isWindow(d)){i=j.delegateType||l;for(wb.test(i+l)||(h=h.parentNode);h;h=h.parentNode)o.push(h),f=h;f===(d.ownerDocument||n)&&o.push(f.defaultView||f.parentWindow||q)}for(m=0;(h=o[m++])&&!a.isPropagationStopped();)a.type=1<m?i:j.bindType||l,(f=(c._data(h,"events")||{})[a.type]&&c._data(h,"handle"))&&f.apply(h,b),(f=g&&h[g])&&c.acceptData(h)&&f.apply&&!1===f.apply(h,b)&&a.preventDefault();if(a.type=l,!(e||a.isDefaultPrevented()||j._default&&!1!==j._default.apply(d.ownerDocument,b)||
67"click"===l&&c.nodeName(d,"a")||!c.acceptData(d)||!g||!d[l]||c.isWindow(d))){(f=d[g])&&(d[g]=null);c.event.triggered=l;try{d[l]()}catch(x){}c.event.triggered=k;f&&(d[g]=f)}return a.result}},dispatch:function(a){var a=c.event.fix(a),b,d,e,f,g,h=[],i=B.call(arguments);b=(c._data(this,"events")||{})[a.type]||[];var j=c.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!j.preDispatch||!1!==j.preDispatch.call(this,a)){h=c.event.handlers.call(this,a,b);for(b=0;(f=h[b++])&&!a.isPropagationStopped();){a.currentTarget=
68f.elem;for(g=0;(e=f.handlers[g++])&&!a.isImmediatePropagationStopped();)(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,d=((c.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),d!==k&&!1===(a.result=d)&&(a.preventDefault(),a.stopPropagation()))}return j.postDispatch&&j.postDispatch.call(this,a),a.result}},handlers:function(a,b){var d,e,f,g,h=[],i=b.delegateCount,j=a.target;if(i&&j.nodeType&&(!a.button||"click"!==a.type))for(;j!=this;j=j.parentNode||
69this)if(1===j.nodeType&&(!0!==j.disabled||"click"!==a.type)){f=[];for(g=0;i>g;g++)e=b[g],d=e.selector+" ",f[d]===k&&(f[d]=e.needsContext?0<=c(d,this).index(j):c.find(d,this,null,[j]).length),f[d]&&f.push(e);f.length&&h.push({elem:j,handlers:f})}return b.length>i&&h.push({elem:this,handlers:b.slice(i)}),h},fix:function(a){if(a[c.expando])return a;var b,d,e;b=a.type;var f=a,g=this.fixHooks[b];g||(this.fixHooks[b]=g=qc.test(b)?this.mouseHooks:pc.test(b)?this.keyHooks:{});e=g.props?this.props.concat(g.props):
70this.props;a=new c.Event(f);for(b=e.length;b--;)d=e[b],a[d]=f[d];return a.target||(a.target=f.srcElement||n),3===a.target.nodeType&&(a.target=a.target.parentNode),a.metaKey=!!a.metaKey,g.filter?g.filter(a,f):a},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:["char","charCode","key","keyCode"],filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),
71a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,e,f,g=b.button,h=b.fromElement;return null==a.pageX&&null!=b.clientX&&(e=a.target.ownerDocument||n,f=e.documentElement,c=e.body,a.pageX=b.clientX+(f&&f.scrollLeft||c&&c.scrollLeft||0)-(f&&f.clientLeft||c&&c.clientLeft||0),a.pageY=b.clientY+(f&&f.scrollTop||c&&c.scrollTop||0)-(f&&f.clientTop||c&&c.clientTop||0)),!a.relatedTarget&&h&&(a.relatedTarget=
72h===a.target?b.toElement:h),a.which||g===k||(a.which=1&g?1:2&g?3:4&g?2:0),a}},special:{load:{noBubble:!0},click:{trigger:function(){return c.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):k}},focus:{trigger:function(){if(this!==n.activeElement&&this.focus)try{return this.focus(),!1}catch(a){}},delegateType:"focusin"},blur:{trigger:function(){return this===n.activeElement&&this.blur?(this.blur(),!1):k},delegateType:"focusout"},beforeunload:{postDispatch:function(a){a.result!==
73k&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,d,e){a=c.extend(new c.Event,d,{type:a,isSimulated:!0,originalEvent:{}});e?c.event.trigger(a,null,b):c.event.dispatch.call(b,a);a.isDefaultPrevented()&&d.preventDefault()}};c.removeEvent=n.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){b="on"+b;a.detachEvent&&(typeof a[b]===v&&(a[b]=null),a.detachEvent(b,c))};c.Event=function(a,b){return this instanceof c.Event?(a&&a.type?(this.originalEvent=
74a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||!1===a.returnValue||a.getPreventDefault&&a.getPreventDefault()?ha:U):this.type=a,b&&c.extend(this,b),this.timeStamp=a&&a.timeStamp||c.now(),this[c.expando]=!0,k):new c.Event(a,b)};c.Event.prototype={isDefaultPrevented:U,isPropagationStopped:U,isImmediatePropagationStopped:U,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=ha;a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){var a=
75this.originalEvent;this.isPropagationStopped=ha;a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=ha;this.stopPropagation()}};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={delegateType:b,bindType:b,handle:function(a){var e,f=a.relatedTarget,g=a.handleObj;return(!f||f!==this&&!c.contains(this,f))&&(a.type=g.origType,e=g.handler.apply(this,arguments),a.type=b),e}}});c.support.submitBubbles||
76(c.event.special.submit={setup:function(){return c.nodeName(this,"form")?!1:(c.event.add(this,"click._submit keypress._submit",function(a){a=a.target;(a=c.nodeName(a,"input")||c.nodeName(a,"button")?a.form:k)&&!c._data(a,"submitBubbles")&&(c.event.add(a,"submit._submit",function(a){a._submit_bubble=true}),c._data(a,"submitBubbles",true))}),k)},postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&c.event.simulate("submit",this.parentNode,a,!0))},teardown:function(){return c.nodeName(this,
77"form")?!1:(c.event.remove(this,"._submit"),k)}});c.support.changeBubbles||(c.event.special.change={setup:function(){return Fa.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(c.event.add(this,"propertychange._change",function(a){"checked"===a.originalEvent.propertyName&&(this._just_changed=!0)}),c.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1);c.event.simulate("change",this,a,!0)})),!1):(c.event.add(this,"beforeactivate._change",
78function(a){a=a.target;Fa.test(a.nodeName)&&!c._data(a,"changeBubbles")&&(c.event.add(a,"change._change",function(a){!this.parentNode||a.isSimulated||a.isTrigger||c.event.simulate("change",this.parentNode,a,!0)}),c._data(a,"changeBubbles",!0))}),k)},handle:function(a){var b=a.target;return this!==b||a.isSimulated||a.isTrigger||"radio"!==b.type&&"checkbox"!==b.type?a.handleObj.handler.apply(this,arguments):k},teardown:function(){return c.event.remove(this,"._change"),!Fa.test(this.nodeName)}});c.support.focusinBubbles||
79c.each({focus:"focusin",blur:"focusout"},function(a,b){var d=0,e=function(a){c.event.simulate(b,a.target,c.event.fix(a),!0)};c.event.special[b]={setup:function(){0===d++&&n.addEventListener(a,e,!0)},teardown:function(){0===--d&&n.removeEventListener(a,e,!0)}}});c.fn.extend({on:function(a,b,d,e,f){var g,h;if("object"==typeof a){"string"!=typeof b&&(d=d||b,b=k);for(g in a)this.on(g,b,d,a[g],f);return this}if(null==d&&null==e?(e=b,d=b=k):null==e&&("string"==typeof b?(e=d,d=k):(e=d,d=b,b=k)),!1===e)e=
80U;else if(!e)return this;return 1===f&&(h=e,e=function(a){return c().off(a),h.apply(this,arguments)},e.guid=h.guid||(h.guid=c.guid++)),this.each(function(){c.event.add(this,a,e,d,b)})},one:function(a,b,c,e){return this.on(a,b,c,e,1)},off:function(a,b,d){var e,f;if(a&&a.preventDefault&&a.handleObj)return e=a.handleObj,c(a.delegateTarget).off(e.namespace?e.origType+"."+e.namespace:e.origType,e.selector,e.handler),this;if("object"==typeof a){for(f in a)this.off(f,b,a[f]);return this}return(!1===b||"function"==
81typeof b)&&(d=b,b=k),!1===d&&(d=U),this.each(function(){c.event.remove(this,a,d,b)})},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,e){return this.on(b,a,c,e)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){var d=this[0];return d?c.event.trigger(a,b,d,!0):k}});(function(a,
82b){var d,e,f,g,h,i,j,k,o;function l(a){return ka.test(a+"")}function n(){var a,b=[];return a=function(c,d){return b.push(c+=" ")>r.cacheLength&&delete a[b.shift()],a[c]=d}}function p(a){return a[C]=!0,a}function q(a){var b=z.createElement("div");try{return a(b)}catch(c){return!1}finally{}}function t(a,b,c,f){var g,h,i,j,l;if((b?b.ownerDocument||b:B)!==z&&ma(b),b=b||z,c=c||[],!a||"string"!=typeof a)return c;if(1!==(j=b.nodeType)&&9!==j)return[];if(!G&&!f){if(g=la.exec(a))if(i=g[1])if(9===j){if(h=b.getElementById(i),
83!h||!h.parentNode)return c;if(h.id===i)return c.push(h),c}else{if(b.ownerDocument&&(h=b.ownerDocument.getElementById(i))&&F(b,h)&&h.id===i)return c.push(h),c}else{if(g[2])return L.apply(c,na.call(b.getElementsByTagName(a),0)),c;if((i=g[3])&&d&&b.getElementsByClassName)return L.apply(c,na.call(b.getElementsByClassName(i),0)),c}if(e&&!A.test(a)){if(g=!0,h=C,i=b,l=9===j&&a,1===j&&"object"!==b.nodeName.toLowerCase()){j=v(a);(g=b.getAttribute("id"))?h=g.replace(sa,"\\$&"):b.setAttribute("id",h);h="[id='"+
84h+"'] ";for(i=j.length;i--;)j[i]=h+s(j[i]);i=ba.test(a)&&b.parentNode||b;l=j.join(",")}if(l)try{return L.apply(c,na.call(i.querySelectorAll(l),0)),c}catch(k){}finally{g||b.removeAttribute("id")}}}var m;a:{var a=a.replace(Q,"$1"),o,n;h=v(a);if(!f&&1===h.length){if(m=h[0]=h[0].slice(0),2<m.length&&"ID"===(o=m[0]).type&&9===b.nodeType&&!G&&r.relative[m[1].type]){if(b=r.find.ID(o.matches[0].replace(da,ea),b)[0],!b){m=c;break a}a=a.slice(m.shift().value.length)}for(j=Y.needsContext.test(a)?0:m.length;j--&&
85!(o=m[j],r.relative[g=o.type]);)if((n=r.find[g])&&(f=n(o.matches[0].replace(da,ea),ba.test(m[0].type)&&b.parentNode||b))){if(m.splice(j,1),a=f.length&&s(m),!a){m=(L.apply(c,na.call(f,0)),c);break a}break}}m=(O(a,h)(f,b,G,c,ba.test(a)),c)}return m}function u(a,b){var c=b&&a,d=c&&(~b.sourceIndex||W)-(~a.sourceIndex||W);if(d)return d;if(c)for(;c=c.nextSibling;)if(c===b)return-1;return a?1:-1}function w(a){return function(b){return"input"===b.nodeName.toLowerCase()&&b.type===a}}function y(a){return function(b){var c=
86b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function H(a){return p(function(b){return b=+b,p(function(c,d){for(var e,f=a([],c.length,b),g=f.length;g--;)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function v(a,b){var c,d,e,f,g,h,i;if(g=T[a+" "])return b?0:g.slice(0);g=a;h=[];for(i=r.preFilter;g;){(!c||(d=ga.exec(g)))&&(d&&(g=g.slice(d[0].length)||g),h.push(e=[]));c=!1;(d=ha.exec(g))&&(c=d.shift(),e.push({value:c,type:d[0].replace(Q," ")}),g=g.slice(c.length));for(f in r.filter)!(d=
87Y[f].exec(g))||i[f]&&!(d=i[f](d))||(c=d.shift(),e.push({value:c,type:f,matches:d}),g=g.slice(c.length));if(!c)break}return b?g.length:g?t.error(a):T(a,h).slice(0)}function s(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function I(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=Z++;return b.first?function(b,c,f){for(;b=b[d];)if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,Ga,j=R+" "+f;if(g)for(;b=b[d];){if((1===b.nodeType||e)&&a(b,c,g))return!0}else for(;b=b[d];)if(1===b.nodeType||
88e)if(Ga=b[C]||(b[C]={}),(i=Ga[d])&&i[0]===j){if(!0===(h=i[1])||h===va)return!0===h}else if(i=Ga[d]=[j],i[1]=a(b,c,g)||va,!0===i[1])return!0}}function Ha(a){return 1<a.length?function(b,c,d){for(var e=a.length;e--;)if(!a[e](b,c,d))return!1;return!0}:a[0]}function wa(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function Ia(a,b,c,d,e,f){return d&&!d[C]&&(d=Ia(d)),e&&!e[C]&&(e=Ia(e,f)),p(function(f,g,h,i){var j,l,m=[],k=[],o=g.length,
89n;if(!(n=f)){n=b||"*";for(var p=h.nodeType?[h]:h,q=[],x=0,r=p.length;r>x;x++)t(n,p[x],q);n=q}n=!a||!f&&b?n:wa(n,m,a,h,i);p=c?e||(f?a:o||d)?[]:g:n;if(c&&c(n,p,h,i),d){j=wa(p,k);d(j,[],h,i);for(h=j.length;h--;)(l=j[h])&&(p[k[h]]=!(n[k[h]]=l))}if(f){if(e||a){if(e){j=[];for(h=p.length;h--;)(l=p[h])&&j.push(n[h]=l);e(null,p=[],j,i)}for(h=p.length;h--;)(l=p[h])&&-1<(j=e?V.call(f,l):m[h])&&(f[j]=!(g[j]=l))}}else p=wa(p===g?p.splice(o,p.length):p),e?e(null,g,p,i):L.apply(g,p)})}function N(a){var b,c,d,e=
90a.length,f=r.relative[a[0].type];c=f||r.relative[" "];for(var g=f?1:0,h=I(function(a){return a===b},c,!0),i=I(function(a){return-1<V.call(b,a)},c,!0),j=[function(a,c,d){return!f&&(d||c!==J)||((b=c).nodeType?h(a,c,d):i(a,c,d))}];e>g;g++)if(c=r.relative[a[g].type])j=[I(Ha(j),c)];else{if(c=r.filter[a[g].type].apply(null,a[g].matches),c[C]){for(d=++g;e>d&&!r.relative[a[d].type];d++);return Ia(1<g&&Ha(j),1<g&&s(a.slice(0,g-1)).replace(Q,"$1"),c,d>g&&N(a.slice(g,d)),e>d&&N(a=a.slice(d)),e>d&&s(a))}j.push(c)}return Ha(j)}
91function rc(a,b){var c=0,d=0<b.length,e=0<a.length,f=function(f,g,h,i,j){var l,m,k=[],o=0,p="0",n=f&&[],q=null!=j,x=J,s=f||e&&r.find.TAG("*",j&&g.parentNode||g),yb=R+=null==x?1:Math.random()||0.1;for(q&&(J=g!==z&&g,va=c);null!=(j=s[p]);p++){if(e&&j){for(l=0;m=a[l++];)if(m(j,g,h)){i.push(j);break}q&&(R=yb,va=++c)}d&&((j=!m&&j)&&o--,f&&n.push(j))}if(o+=p,d&&p!==o){for(l=0;m=b[l++];)m(n,k,g,h);if(f){if(0<o)for(;p--;)n[p]||k[p]||(k[p]=ca.call(i));k=wa(k)}L.apply(i,k);q&&!f&&0<k.length&&1<o+b.length&&
92t.uniqueSort(i)}return q&&(R=yb,J=x),n};return d?p(f):f}function zb(){}var D,va,r,E,Ab,O,oa,J,ma,z,K,G,A,pa,M,F,P,C="sizzle"+-new Date,B=a.document;o=k=j=i=h=g=f=e=d=void 0;var R=0,Z=0,S=n(),T=n(),U=n(),$=typeof b,W=-2147483648,fa=[],ca=fa.pop,L=fa.push,na=fa.slice,V=fa.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},fa="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+".replace("w","w#"),aa="\\[[\\x20\\t\\r\\n\\f]*((?:\\\\.|[\\w-]|[^\\x00-\\xa0])+)[\\x20\\t\\r\\n\\f]*(?:([*^$|!~]?=)[\\x20\\t\\r\\n\\f]*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+
93fa+")|)|)[\\x20\\t\\r\\n\\f]*\\]",X=":((?:\\\\.|[\\w-]|[^\\x00-\\xa0])+)(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+aa.replace(3,8)+")*)|.*)\\)|)",Q=RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),ga=/^[\x20\t\r\n\f]*,[\x20\t\r\n\f]*/,ha=/^[\x20\t\r\n\f]*([\x20\t\r\n\f>+~])[\x20\t\r\n\f]*/,ia=RegExp(X),ja=RegExp("^"+fa+"$"),Y={ID:/^#((?:\\.|[\w-]|[^\x00-\xa0])+)/,CLASS:/^\.((?:\\.|[\w-]|[^\x00-\xa0])+)/,NAME:/^\[name=['"]?((?:\\.|[\w-]|[^\x00-\xa0])+)['"]?\]/,
94TAG:RegExp("^("+"(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+".replace("w","w*")+")"),ATTR:RegExp("^"+aa),PSEUDO:RegExp("^"+X),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),needsContext:RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},ba=/[\x20\t\r\n\f]*[+~]/,
95ka=/^[^{]+\{\s*\[native code/,la=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,qa=/^(?:input|select|textarea|button)$/i,ra=/^h\d$/i,sa=/'|\\/g,ta=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,da=/\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g,ea=function(a,b){var c="0x"+b-65536;return c!==c?b:0>c?String.fromCharCode(c+65536):String.fromCharCode(55296|c>>10,56320|1023&c)};try{na.call(B.documentElement.childNodes,0)[0].nodeType}catch(ua){na=function(a){for(var b,c=[];b=this[a++];)c.push(b);return c}}Ab=t.isXML=function(a){return(a=
96a&&(a.ownerDocument||a).documentElement)?"HTML"!==a.nodeName:!1};ma=t.setDocument=function(a){var c=a?a.ownerDocument||a:B;return c!==z&&9===c.nodeType&&c.documentElement?(z=c,K=c.documentElement,G=Ab(c),f=q(function(a){return a.appendChild(c.createComment("")),!a.getElementsByTagName("*").length}),g=q(function(a){a.innerHTML="<select></select>";a=typeof a.lastChild.getAttribute("multiple");return"boolean"!==a&&"string"!==a}),d=q(function(a){return a.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",
97a.getElementsByClassName&&a.getElementsByClassName("e").length?(a.lastChild.className="e",2===a.getElementsByClassName("e").length):!1}),h=q(function(a){a.id=C+0;a.innerHTML="<a name='"+C+"'></a><div name='"+C+"'></div>";K.insertBefore(a,K.firstChild);var b=c.getElementsByName&&c.getElementsByName(C).length===2+c.getElementsByName(C+0).length;return i=!c.getElementById(C),K.removeChild(a),b}),r.attrHandle=q(function(a){return a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!==
98$&&"#"===a.firstChild.getAttribute("href")})?{}:{href:function(a){return a.getAttribute("href",2)},type:function(a){return a.getAttribute("type")}},i?(r.find.ID=function(a,b){if(typeof b.getElementById!==$&&!G){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},r.filter.ID=function(a){var b=a.replace(da,ea);return function(a){return a.getAttribute("id")===b}}):(r.find.ID=function(a,c){if(typeof c.getElementById!==$&&!G){var d=c.getElementById(a);return d?d.id===a||typeof d.getAttributeNode!==
99$&&d.getAttributeNode("id").value===a?[d]:b:[]}},r.filter.ID=function(a){var b=a.replace(da,ea);return function(a){return(a=typeof a.getAttributeNode!==$&&a.getAttributeNode("id"))&&a.value===b}}),r.find.TAG=f?function(a,c){return typeof c.getElementsByTagName!==$?c.getElementsByTagName(a):b}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){for(;c=f[e++];)1===c.nodeType&&d.push(c);return d}return f},r.find.NAME=h&&function(a,c){return typeof c.getElementsByName!==$?c.getElementsByName(name):
100b},r.find.CLASS=d&&function(a,c){return typeof c.getElementsByClassName===$||G?b:c.getElementsByClassName(a)},pa=[],A=[":focus"],(e=l(c.querySelectorAll))&&(q(function(a){a.innerHTML="<select><option selected=''></option></select>";a.querySelectorAll("[selected]").length||A.push("\\[[\\x20\\t\\r\\n\\f]*(?:checked|disabled|ismap|multiple|readonly|selected|value)");a.querySelectorAll(":checked").length||A.push(":checked")}),q(function(a){a.innerHTML="<input type='hidden' i=''/>";a.querySelectorAll("[i^='']").length&&
101A.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:\"\"|'')");a.querySelectorAll(":enabled").length||A.push(":enabled",":disabled");a.querySelectorAll("*,:x");A.push(",.*:")})),(j=l(M=K.matchesSelector||K.mozMatchesSelector||K.webkitMatchesSelector||K.oMatchesSelector||K.msMatchesSelector))&&q(function(a){k=M.call(a,"div");M.call(a,"[s!='']:x");pa.push("!=",X)}),A=RegExp(A.join("|")),pa=RegExp(pa.join("|")),F=l(K.contains)||K.compareDocumentPosition?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;
102return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)for(;b=b.parentNode;)if(b===a)return!0;return!1},P=K.compareDocumentPosition?function(a,b){var d;return a===b?(oa=!0,0):(d=b.compareDocumentPosition&&a.compareDocumentPosition&&a.compareDocumentPosition(b))?1&d||a.parentNode&&11===a.parentNode.nodeType?a===c||F(B,a)?-1:b===c||F(B,b)?1:0:4&d?-1:1:a.compareDocumentPosition?-1:1}:function(a,b){var d,e=0;d=a.parentNode;
103var f=b.parentNode,g=[a],h=[b];if(a===b)return oa=!0,0;if(!d||!f)return a===c?-1:b===c?1:d?-1:f?1:0;if(d===f)return u(a,b);for(d=a;d=d.parentNode;)g.unshift(d);for(d=b;d=d.parentNode;)h.unshift(d);for(;g[e]===h[e];)e++;return e?u(g[e],h[e]):g[e]===B?-1:h[e]===B?1:0},oa=!1,[0,0].sort(P),o=oa,z):z};t.matches=function(a,b){return t(a,null,null,b)};t.matchesSelector=function(a,b){if((a.ownerDocument||a)!==z&&ma(a),b=b.replace(ta,"='$1']"),!(!j||G||pa&&pa.test(b)||A.test(b)))try{var c=M.call(a,b);if(c||
104k||a.document&&11!==a.document.nodeType)return c}catch(d){}return 0<t(b,z,null,[a]).length};t.contains=function(a,b){return(a.ownerDocument||a)!==z&&ma(a),F(a,b)};t.attr=function(a,b){var c;return(a.ownerDocument||a)!==z&&ma(a),G||(b=b.toLowerCase()),(c=r.attrHandle[b])?c(a):G||g?a.getAttribute(b):((c=a.getAttributeNode(b))||a.getAttribute(b))&&!0===a[b]?b:c&&c.specified?c.value:null};t.error=function(a){throw Error("Syntax error, unrecognized expression: "+a);};t.uniqueSort=function(a){var b,c=[],
105d=1,e=0;if(oa=!o,a.sort(P),oa){for(;b=a[d];d++)b===a[d-1]&&(e=c.push(d));for(;e--;)a.splice(c[e],1)}return a};E=t.getText=function(a){var b,c="",d=0;if(b=a.nodeType)if(1===b||9===b||11===b){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=E(a)}else{if(3===b||4===b)return a.nodeValue}else for(;b=a[d];d++)c+=E(b);return c};r=t.selectors={cacheLength:50,createPseudo:p,match:Y,find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",
106first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(da,ea),a[3]=(a[4]||a[5]||"").replace(da,ea),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||t.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&t.error(a[0]),a},PSEUDO:function(a){var b,c=!a[5]&&a[2];return Y.CHILD.test(a[0])?null:(a[4]?a[2]=a[4]:c&&ia.test(c)&&(b=v(c,
107!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){return"*"===a?function(){return!0}:(a=a.replace(da,ea).toLowerCase(),function(b){return b.nodeName&&b.nodeName.toLowerCase()===a})},CLASS:function(a){var b=S[a+" "];return b||(b=RegExp("(^|[\\x20\\t\\r\\n\\f])"+a+"([\\x20\\t\\r\\n\\f]|$)"))&&S(a,function(a){return b.test(a.className||typeof a.getAttribute!==$&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){d=
108t.attr(d,a);return null==d?"!="===b:b?(d+="","="===b?d===c:"!="===b?d!==c:"^="===b?c&&0===d.indexOf(c):"*="===b?c&&-1<d.indexOf(c):"$="===b?c&&d.slice(-c.length)===c:"~="===b?-1<(" "+d+" ").indexOf(c):"|="===b?d===c||d.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,l,m,k,o,c=f!==g?"nextSibling":"previousSibling",p=b.parentNode,n=h&&b.nodeName.toLowerCase(),
109i=!i&&!h;if(p){if(f){for(;c;){for(l=b;l=l[c];)if(h?l.nodeName.toLowerCase()===n:1===l.nodeType)return!1;o=c="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?p.firstChild:p.lastChild],g&&i){i=p[C]||(p[C]={});j=i[a]||[];k=j[0]===R&&j[1];m=j[0]===R&&j[2];for(l=k&&p.childNodes[k];l=++k&&l&&l[c]||(m=k=0)||o.pop();)if(1===l.nodeType&&++m&&l===b){i[a]=[R,k,m];break}}else if(i&&(j=(b[C]||(b[C]={}))[a])&&j[0]===R)m=j[1];else for(;(l=++k&&l&&l[c]||(m=k=0)||o.pop())&&(!(h?l.nodeName.toLowerCase()===n:1===l.nodeType)||
110!++m||!(i&&((l[C]||(l[C]={}))[a]=[R,m]),l===b)););return m-=e,m===d||0===m%d&&0<=m/d}}},PSEUDO:function(a,b){var c,d=r.pseudos[a]||r.setFilters[a.toLowerCase()]||t.error("unsupported pseudo: "+a);return d[C]?d(b):1<d.length?(c=[a,a,"",b],r.setFilters.hasOwnProperty(a.toLowerCase())?p(function(a,c){for(var e,f=d(a,b),g=f.length;g--;)e=V.call(a,f[g]),a[e]=!(c[e]=f[g])}):function(a){return d(a,0,c)}):d}},pseudos:{not:p(function(a){var b=[],c=[],d=O(a.replace(Q,"$1"));return d[C]?p(function(a,b,c,e){for(var f,
111c=d(a,null,e,[]),e=a.length;e--;)(f=c[e])&&(a[e]=!(b[e]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:p(function(a){return function(b){return 0<t(a,b).length}}),contains:p(function(a){return function(b){return-1<(b.textContent||b.innerText||E(b)).indexOf(a)}}),lang:p(function(a){return ja.test(a||"")||t.error("unsupported lang: "+a),a=a.replace(da,ea).toLowerCase(),function(b){var c;do if(c=G?b.getAttribute("xml:lang")||b.getAttribute("lang"):b.lang)return c=c.toLowerCase(),c===
112a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===K},focus:function(a){return a===z.activeElement&&(!z.hasFocus||z.hasFocus())&&!(!a.type&&!a.href&&!~a.tabIndex)},enabled:function(a){return!1===a.disabled},disabled:function(a){return!0===a.disabled},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&
113a.parentNode.selectedIndex,!0===a.selected},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if("@"<a.nodeName||3===a.nodeType||4===a.nodeType)return!1;return!0},parent:function(a){return!r.pseudos.empty(a)},header:function(a){return ra.test(a.nodeName)},input:function(a){return qa.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=
114a.getAttribute("type"))||b.toLowerCase()===a.type)},first:H(function(){return[0]}),last:H(function(a,b){return[b-1]}),eq:H(function(a,b,c){return[0>c?c+b:c]}),even:H(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:H(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:H(function(a,b,c){for(b=0>c?c+b:c;0<=--b;)a.push(b);return a}),gt:H(function(a,b,c){for(c=0>c?c+b:c;b>++c;)a.push(c);return a})}};for(D in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[D]=w(D);for(D in{submit:!0,
115reset:!0})r.pseudos[D]=y(D);O=t.compile=function(a,b){var c,d=[],e=[],f=U[a+" "];if(!f){b||(b=v(a));for(c=b.length;c--;)f=N(b[c]),f[C]?d.push(f):e.push(f);f=U(a,rc(e,d))}return f};r.pseudos.nth=r.pseudos.eq;r.filters=zb.prototype=r.pseudos;r.setFilters=new zb;ma();t.attr=c.attr;c.find=t;c.expr=t.selectors;c.expr[":"]=c.expr.pseudos;c.unique=t.uniqueSort;c.text=t.getText;c.isXMLDoc=t.isXML;c.contains=t.contains})(q);var sc=/Until$/,tc=/^(?:parents|prev(?:Until|All))/,Tb=/^.[^:#\[\.,]*$/,Bb=c.expr.match.needsContext,
116uc={children:!0,contents:!0,next:!0,prev:!0};c.fn.extend({find:function(a){var b,d,e,f=this.length;if("string"!=typeof a)return e=this,this.pushStack(c(a).filter(function(){for(b=0;f>b;b++)if(c.contains(e[b],this))return!0}));d=[];for(b=0;f>b;b++)c.find(a,this[b],d);return d=this.pushStack(1<f?c.unique(d):d),d.selector=(this.selector?this.selector+" ":"")+a,d},has:function(a){var b,d=c(a,this),e=d.length;return this.filter(function(){for(b=0;e>b;b++)if(c.contains(this,d[b]))return!0})},not:function(a){return this.pushStack(Va(this,
117a,!1))},filter:function(a){return this.pushStack(Va(this,a,!0))},is:function(a){return!!a&&("string"==typeof a?Bb.test(a)?0<=c(a,this.context).index(this[0]):0<c.filter(a,this).length:0<this.filter(a).length)},closest:function(a,b){for(var d,e=0,f=this.length,g=[],h=Bb.test(a)||"string"!=typeof a?c(a,b||this.context):0;f>e;e++)for(d=this[e];d&&d.ownerDocument&&d!==b&&11!==d.nodeType;){if(h?-1<h.index(d):c.find.matchesSelector(d,a)){g.push(d);break}d=d.parentNode}return this.pushStack(1<g.length?c.unique(g):
118g)},index:function(a){return a?"string"==typeof a?c.inArray(this[0],c(a)):c.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){var d="string"==typeof a?c(a,b):c.makeArray(a&&a.nodeType?[a]:a),d=c.merge(this.get(),d);return this.pushStack(c.unique(d))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});c.fn.andSelf=c.fn.addBack;c.each({parent:function(a){return(a=a.parentNode)&&11!==a.nodeType?a:null},
119parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return Ua(a,"nextSibling")},prev:function(a){return Ua(a,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling((a.parentNode||{}).firstChild,
120a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.merge([],a.childNodes)}},function(a,b){c.fn[a]=function(d,e){var f=c.map(this,b,d);return sc.test(a)||(e=d),e&&"string"==typeof e&&(f=c.filter(e,f)),f=1<this.length&&!uc[a]?c.unique(f):f,1<this.length&&tc.test(a)&&(f=f.reverse()),this.pushStack(f)}});c.extend({filter:function(a,b,d){return d&&(a=":not("+a+")"),1===b.length?c.find.matchesSelector(b[0],
121a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,b,d){for(var e=[],a=a[b];a&&9!==a.nodeType&&(d===k||1!==a.nodeType||!c(a).is(d));)1===a.nodeType&&e.push(a),a=a[b];return e},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}});var Xa="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",vc=/ jQuery\d+="(?:null|\d+)"/g,Cb=RegExp("<(?:"+Xa+")[\\s/>]","i"),
122Ja=/^\s+/,Db=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Eb=/<([\w:]+)/,Fb=/<tbody/i,wc=/<|&#?\w+;/,xc=/<(?:script|style|link)/i,ua=/^(?:checkbox|radio)$/i,yc=/checked\s*(?:[^=]|=\s*.checked.)/i,Gb=/^$|\/(?:java|ecma)script/i,Ub=/^true\/(.*)/,zc=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,y={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],
123tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:c.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},Ka=Wa(n).appendChild(n.createElement("div"));y.optgroup=y.option;y.tbody=y.tfoot=y.colgroup=y.caption=y.thead;y.th=y.td;c.fn.extend({text:function(a){return c.access(this,function(a){return a===k?c.text(this):this.empty().append((this[0]&&this[0].ownerDocument||n).createTextNode(a))},
124null,a,arguments.length)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapAll(a.call(this,b))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var a=this;a.firstChild&&1===a.firstChild.nodeType;)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return c.isFunction(a)?this.each(function(b){c(this).wrapInner(a.call(this,b))}):this.each(function(){var b=c(this),d=b.contents();
125d.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,!0,function(a){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){(1===this.nodeType||
12611===this.nodeType||9===this.nodeType)&&this.insertBefore(a,this.firstChild)})},before:function(){return this.domManip(arguments,!1,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,!1,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var d,e=0;null!=(d=this[e]);e++)(!a||0<c.filter(a,[d]).length)&&(b||1!==d.nodeType||c.cleanData(u(d)),d.parentNode&&(b&&c.contains(d.ownerDocument,
127d)&&ta(u(d,"script")),d.parentNode.removeChild(d)));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){for(1===a.nodeType&&c.cleanData(u(a,!1));a.firstChild;)a.removeChild(a.firstChild);a.options&&c.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return c.clone(this,a,b)})},html:function(a){return c.access(this,function(a){var d=this[0]||{},e=0,f=this.length;if(a===k)return 1===d.nodeType?d.innerHTML.replace(vc,
128""):k;if(!("string"!=typeof a||xc.test(a)||!c.support.htmlSerialize&&Cb.test(a)||!c.support.leadingWhitespace&&Ja.test(a)||y[(Eb.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(Db,"<$1></$2>");try{for(;f>e;e++)d=this[e]||{},1===d.nodeType&&(c.cleanData(u(d,!1)),d.innerHTML=a);d=0}catch(g){}}d&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(a){return c.isFunction(a)||"string"==typeof a||(a=c(a).not(this).detach()),this.domManip([a],!0,function(a){var d=this.nextSibling,e=
129this.parentNode;e&&(c(this).remove(),e.insertBefore(a,d))})},detach:function(a){return this.remove(a,!0)},domManip:function(a,b,d){var a=qb.apply([],a),e,f,g,h,i=0,j=this.length,m=this,o=j-1,l=a[0],n=c.isFunction(l);if(n||!(1>=j||"string"!=typeof l||c.support.checkClone)&&yc.test(l))return this.each(function(c){var e=m.eq(c);n&&(a[0]=l.call(this,c,b?e.html():k));e.domManip(a,b,d)});if(j&&(h=c.buildFragment(a,this[0].ownerDocument,!1,this),e=h.firstChild,1===h.childNodes.length&&(h=e),e)){b=b&&c.nodeName(e,
130"tr");g=c.map(u(h,"script"),Ya);for(f=g.length;j>i;i++)e=h,i!==o&&(e=c.clone(e,!0,!0),f&&c.merge(g,u(e,"script"))),d.call(b&&c.nodeName(this[i],"table")?this[i].getElementsByTagName("tbody")[0]||this[i].appendChild(this[i].ownerDocument.createElement("tbody")):this[i],e,i);if(f){h=g[g.length-1].ownerDocument;c.map(g,Za);for(i=0;f>i;i++)e=g[i],Gb.test(e.type||"")&&!c._data(e,"globalEval")&&c.contains(h,e)&&(e.src?c.ajax({url:e.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):c.globalEval((e.text||
131e.textContent||e.innerHTML||"").replace(zc,"")))}h=e=null}return this}});c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(a){for(var e=0,f=[],g=c(a),h=g.length-1;h>=e;e++)a=e===h?this:this.clone(!0),c(g[e])[b](a),Aa.apply(f,a.get());return this.pushStack(f)}});c.extend({clone:function(a,b,d){var e,f,g,h,i,j=c.contains(a.ownerDocument,a);if(c.support.html5Clone||c.isXMLDoc(a)||!Cb.test("<"+a.nodeName+">")?
132g=a.cloneNode(!0):(Ka.innerHTML=a.outerHTML,Ka.removeChild(g=Ka.firstChild)),!(c.support.noCloneEvent&&c.support.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||c.isXMLDoc(a))){e=u(g);i=u(a);for(h=0;null!=(f=i[h]);++h)if(e[h]){var m=e[h],k=void 0,l=void 0,n=void 0;if(1===m.nodeType){if(k=m.nodeName.toLowerCase(),!c.support.noCloneEvent&&m[c.expando]){n=c._data(m);for(l in n.events)c.removeEvent(m,l,n.handle);m.removeAttribute(c.expando)}"script"===k&&m.text!==f.text?(Ya(m).text=f.text,Za(m)):"object"===
133k?(m.parentNode&&(m.outerHTML=f.outerHTML),c.support.html5Clone&&f.innerHTML&&!c.trim(m.innerHTML)&&(m.innerHTML=f.innerHTML)):"input"===k&&ua.test(f.type)?(m.defaultChecked=m.checked=f.checked,m.value!==f.value&&(m.value=f.value)):"option"===k?m.defaultSelected=m.selected=f.defaultSelected:("input"===k||"textarea"===k)&&(m.defaultValue=f.defaultValue)}}}if(b)if(d){i=i||u(a);e=e||u(g);for(h=0;null!=(f=i[h]);h++)$a(f,e[h])}else $a(a,g);return e=u(g,"script"),0<e.length&&ta(e,!j&&u(a,"script")),g},
134buildFragment:function(a,b,d,e){for(var f,g,h,i,j,k,o,l=a.length,n=Wa(b),p=[],q=0;l>q;q++)if(g=a[q],g||0===g)if("object"===c.type(g))c.merge(p,g.nodeType?[g]:g);else if(wc.test(g)){i=i||n.appendChild(b.createElement("div"));j=(Eb.exec(g)||["",""])[1].toLowerCase();o=y[j]||y._default;i.innerHTML=o[1]+g.replace(Db,"<$1></$2>")+o[2];for(f=o[0];f--;)i=i.lastChild;if(!c.support.leadingWhitespace&&Ja.test(g)&&p.push(b.createTextNode(Ja.exec(g)[0])),!c.support.tbody)for(f=(g="table"!==j||Fb.test(g)?"<table>"!==
135o[1]||Fb.test(g)?0:i:i.firstChild)&&g.childNodes.length;f--;)c.nodeName(k=g.childNodes[f],"tbody")&&!k.childNodes.length&&g.removeChild(k);c.merge(p,i.childNodes);for(i.textContent="";i.firstChild;)i.removeChild(i.firstChild);i=n.lastChild}else p.push(b.createTextNode(g));i&&n.removeChild(i);c.support.appendChecked||c.grep(u(p,"input"),Vb);for(q=0;g=p[q++];)if((!e||-1===c.inArray(g,e))&&(h=c.contains(g.ownerDocument,g),i=u(n.appendChild(g),"script"),h&&ta(i),d))for(f=0;g=i[f++];)Gb.test(g.type||"")&&
136d.push(g);return n},cleanData:function(a,b){for(var d,e,f,g,h=0,i=c.expando,j=c.cache,k=c.support.deleteExpando,o=c.event.special;null!=(d=a[h]);h++)if((b||c.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)o[e]?c.event.remove(d,e):c.removeEvent(d,e,g.handle);j[f]&&(delete j[f],k?delete d[i]:typeof d.removeAttribute!==v?d.removeAttribute(i):d[i]=null,T.push(f))}}});var aa,F,P,La=/alpha\([^)]*\)/i,Ac=/opacity\s*=\s*([^)]*)/,Bc=/^(top|right|bottom|left)$/,Cc=/^(none|table(?!-c[ea]).+)/,
137Hb=/^margin/,Wb=RegExp("^("+la+")(.*)$","i"),ia=RegExp("^("+la+")(?!px)[a-z%]+$","i"),Dc=RegExp("^([+-])=("+la+")","i"),hb={BODY:"block"},Ec={position:"absolute",visibility:"hidden",display:"block"},Ib={letterSpacing:0,fontWeight:400},M=["Top","Right","Bottom","Left"],bb=["Webkit","O","Moz","ms"];c.fn.extend({css:function(a,b){return c.access(this,function(a,b,f){var g,h={},i=0;if(c.isArray(b)){g=F(a);for(f=b.length;f>i;i++)h[b[i]]=c.css(a,b[i],!1,g);return h}return f!==k?c.style(a,b,f):c.css(a,b)},
138a,b,1<arguments.length)},show:function(){return cb(this,!0)},hide:function(){return cb(this)},toggle:function(a){var b="boolean"==typeof a;return this.each(function(){(b?a:V(this))?c(this).show():c(this).hide()})}});c.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=P(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,
139b,d,e){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var f,g,h,i=c.camelCase(b),j=a.style;if(b=c.cssProps[i]||(c.cssProps[i]=ab(j,i)),h=c.cssHooks[b]||c.cssHooks[i],d===k)return h&&"get"in h&&(f=h.get(a,!1,e))!==k?f:j[b];if(g=typeof d,"string"===g&&(f=Dc.exec(d))&&(d=(f[1]+1)*f[2]+parseFloat(c.css(a,b)),g="number"),!(null==d||"number"===g&&isNaN(d)||("number"!==g||c.cssNumber[i]||(d+="px"),c.support.clearCloneStyle||""!==d||0!==b.indexOf("background")||(j[b]="inherit"),h&&"set"in h&&(d=h.set(a,d,
140e))===k)))try{j[b]=d}catch(m){}}},css:function(a,b,d,e){var f,g,h,i=c.camelCase(b);return b=c.cssProps[i]||(c.cssProps[i]=ab(a.style,i)),h=c.cssHooks[b]||c.cssHooks[i],h&&"get"in h&&(g=h.get(a,!0,d)),g===k&&(g=P(a,b,e)),"normal"===g&&b in Ib&&(g=Ib[b]),""===d||d?(f=parseFloat(g),!0===d||c.isNumeric(f)?f||0:g):g},swap:function(a,b,c,e){var f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];c=c.apply(a,e||[]);for(f in b)a.style[f]=g[f];return c}});q.getComputedStyle?(F=function(a){return q.getComputedStyle(a,
141null)},P=function(a,b,d){var e,f,g,h=(d=d||F(a))?d.getPropertyValue(b)||d[b]:k,i=a.style;return d&&(""!==h||c.contains(a.ownerDocument,a)||(h=c.style(a,b)),ia.test(h)&&Hb.test(b)&&(e=i.width,f=i.minWidth,g=i.maxWidth,i.minWidth=i.maxWidth=i.width=h,h=d.width,i.width=e,i.minWidth=f,i.maxWidth=g)),h}):n.documentElement.currentStyle&&(F=function(a){return a.currentStyle},P=function(a,b,c){var e,f,g,c=(c=c||F(a))?c[b]:k,h=a.style;return null==c&&h&&h[b]&&(c=h[b]),ia.test(c)&&!Bc.test(b)&&(e=h.left,f=
142a.runtimeStyle,g=f&&f.left,g&&(f.left=a.currentStyle.left),h.left="fontSize"===b?"1em":c,c=h.pixelLeft+"px",h.left=e,g&&(f.left=g)),""===c?"auto":c});c.each(["height","width"],function(a,b){c.cssHooks[b]={get:function(a,e,f){return e?0===a.offsetWidth&&Cc.test(c.css(a,"display"))?c.swap(a,Ec,function(){return gb(a,b,f)}):gb(a,b,f):k},set:function(a,e,f){var g=f&&F(a);return eb(a,e,f?fb(a,b,f,c.support.boxSizing&&"border-box"===c.css(a,"boxSizing",!1,g),g):0)}}});c.support.opacity||(c.cssHooks.opacity=
143{get:function(a,b){return Ac.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?0.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var d=a.style,e=a.currentStyle,f=c.isNumeric(b)?"alpha(opacity="+100*b+")":"",g=e&&e.filter||d.filter||"";d.zoom=1;(1<=b||""===b)&&""===c.trim(g.replace(La,""))&&d.removeAttribute&&(d.removeAttribute("filter"),""===b||e&&!e.filter)||(d.filter=La.test(g)?g.replace(La,f):g+" "+f)}});c(function(){c.support.reliableMarginRight||(c.cssHooks.marginRight=
144{get:function(a,b){return b?c.swap(a,{display:"inline-block"},P,[a,"marginRight"]):k}});!c.support.pixelPosition&&c.fn.position&&c.each(["top","left"],function(a,b){c.cssHooks[b]={get:function(a,e){return e?(e=P(a,b),ia.test(e)?c(a).position()[b]+"px":e):k}}})});c.expr&&c.expr.filters&&(c.expr.filters.hidden=function(a){return 0>=a.offsetWidth&&0>=a.offsetHeight||!c.support.reliableHiddenOffsets&&"none"===(a.style&&a.style.display||c.css(a,"display"))},c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)});
145c.each({margin:"",padding:"",border:"Width"},function(a,b){c.cssHooks[a+b]={expand:function(c){for(var e=0,f={},c="string"==typeof c?c.split(" "):[c];4>e;e++)f[a+M[e]+b]=c[e]||c[e-2]||c[0];return f}};Hb.test(a)||(c.cssHooks[a+b].set=eb)});var Fc=/%20/g,Xb=/\[\]$/,Jb=/\r?\n/g,Gc=/^(?:submit|button|image|reset|file)$/i,Hc=/^(?:input|select|textarea|keygen)/i;c.fn.extend({serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=c.prop(this,
146"elements");return a?c.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!c(this).is(":disabled")&&Hc.test(this.nodeName)&&!Gc.test(a)&&(this.checked||!ua.test(a))}).map(function(a,b){var d=c(this).val();return null==d?null:c.isArray(d)?c.map(d,function(a){return{name:b.name,value:a.replace(Jb,"\r\n")}}):{name:b.name,value:d.replace(Jb,"\r\n")}}).get()}});c.param=function(a,b){var d,e=[],f=function(a,b){b=c.isFunction(b)?b():null==b?"":b;e[e.length]=encodeURIComponent(a)+"="+
147encodeURIComponent(b)};if(b===k&&(b=c.ajaxSettings&&c.ajaxSettings.traditional),c.isArray(a)||a.jquery&&!c.isPlainObject(a))c.each(a,function(){f(this.name,this.value)});else for(d in a)xa(d,a[d],b,f);return e.join("&").replace(Fc,"+")};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(" "),function(a,b){c.fn[b]=function(a,c){return arguments.length>
1480?this.on(b,null,a,c):this.trigger(b)}});c.fn.hover=function(a,b){return this.mouseenter(a).mouseleave(b||a)};var S,O,Ma=c.now(),Na=/\?/,Ic=/#.*$/,Kb=/([?&])_=[^&]*/,Jc=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Kc=/^(?:GET|HEAD)$/,Lc=/^\/\//,Lb=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Mb=c.fn.load,Nb={},ya={},Ob="*/".concat("*");try{O=$b.href}catch(Qc){O=n.createElement("a"),O.href="",O=O.href}S=Lb.exec(O.toLowerCase())||[];c.fn.load=function(a,b,d){if("string"!=typeof a&&Mb)return Mb.apply(this,arguments);
149var e,f,g,h=this,i=a.indexOf(" ");return 0<=i&&(e=a.slice(i,a.length),a=a.slice(0,i)),c.isFunction(b)?(d=b,b=k):b&&"object"==typeof b&&(g="POST"),0<h.length&&c.ajax({url:a,type:g,dataType:"html",data:b}).done(function(a){f=arguments;h.html(e?c("<div>").append(c.parseHTML(a)).find(e):a)}).complete(d&&function(a,b){h.each(d,f||[a.responseText,b,a])}),this};c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(a){return this.on(b,a)}});c.each(["get",
150"post"],function(a,b){c[b]=function(a,e,f,g){return c.isFunction(e)&&(g=g||f,f=e,e=k),c.ajax({url:a,type:b,dataType:g,data:e,success:f})}});c.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:O,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(S[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ob,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},
151contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":q.String,"text html":!0,"text json":c.parseJSON,"text xml":c.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?za(za(a,c.ajaxSettings),b):za(c.ajaxSettings,a)},ajaxPrefilter:jb(Nb),ajaxTransport:jb(ya),ajax:function(a,b){function d(a,b,d,e){var f,o,D,w,r,E=b;if(2!==H){H=2;i&&clearTimeout(i);m=k;h=e||"";s.readyState=0<a?4:0;if(d){w=l;var e=s,v,B,y,J,I=w.contents,
152z=w.dataTypes,K=w.responseFields;for(J in K)J in d&&(e[K[J]]=d[J]);for(;"*"===z[0];)z.shift(),B===k&&(B=w.mimeType||e.getResponseHeader("Content-Type"));if(B)for(J in I)if(I[J]&&I[J].test(B)){z.unshift(J);break}if(z[0]in d)y=z[0];else{for(J in d){if(!z[0]||w.converters[J+" "+z[0]]){y=J;break}v||(v=J)}y=y||v}w=y?(y!==z[0]&&z.unshift(y),d[y]):k}if(200<=a&&300>a||304===a)if(l.ifModified&&(r=s.getResponseHeader("Last-Modified"),r&&(c.lastModified[g]=r),r=s.getResponseHeader("etag"),r&&(c.etag[g]=r)),
153204===a)f=!0,E="nocontent";else if(304===a)f=!0,E="notmodified";else{var G;a:{d=l;f=w;var A,F;D={};r=0;E=d.dataTypes.slice();v=E[0];if(d.dataFilter&&(f=d.dataFilter(f,d.dataType)),E[1])for(A in d.converters)D[A.toLowerCase()]=d.converters[A];for(;o=E[++r];)if("*"!==o){if("*"!==v&&v!==o){if(A=D[v+" "+o]||D["* "+o],!A)for(G in D)if(F=G.split(" "),F[1]===o&&(A=D[v+" "+F[0]]||D["* "+F[0]])){!0===A?A=D[G]:!0!==D[G]&&(o=F[0],E.splice(r--,0,o));break}if(!0!==A)if(A&&d["throws"])f=A(f);else try{f=A(f)}catch(L){G=
154{state:"parsererror",error:A?L:"No conversion from "+v+" to "+o};break a}}v=o}G={state:"success",data:f}}f=G;E=f.state;o=f.data;D=f.error;f=!D}else D=E,(a||!E)&&(E="error",0>a&&(a=0));s.status=a;s.statusText=(b||E)+"";f?q.resolveWith(n,[o,E,s]):q.rejectWith(n,[s,E,D]);s.statusCode(u);u=k;j&&p.trigger(f?"ajaxSuccess":"ajaxError",[s,l,f?o:D]);t.fireWith(n,[s,E]);j&&(p.trigger("ajaxComplete",[s,l]),--c.active||c.event.trigger("ajaxStop"))}}"object"==typeof a&&(b=a,a=k);var b=b||{},e,f,g,h,i,j,m,o,l=
155c.ajaxSetup({},b),n=l.context||l,p=l.context&&(n.nodeType||n.jquery)?c(n):c.event,q=c.Deferred(),t=c.Callbacks("once memory"),u=l.statusCode||{},w={},v={},H=0,B="canceled",s={readyState:0,getResponseHeader:function(a){var b;if(2===H){if(!o)for(o={};b=Jc.exec(h);)o[b[1].toLowerCase()]=b[2];b=o[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===H?h:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return H||(a=v[c]=v[c]||a,w[a]=b),this},overrideMimeType:function(a){return H||
156(l.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>H)for(b in a)u[b]=[u[b],a[b]];else s.always(a[s.status]);return this},abort:function(a){a=a||B;return m&&m.abort(a),d(0,a),this}};if(q.promise(s).complete=t.add,s.success=s.done,s.error=s.fail,l.url=((a||l.url||O)+"").replace(Ic,"").replace(Lc,S[1]+"//"),l.type=b.method||b.type||l.method||l.type,l.dataTypes=c.trim(l.dataType||"*").toLowerCase().match(I)||[""],null==l.crossDomain&&(e=Lb.exec(l.url.toLowerCase()),l.crossDomain=!(!e||e[1]===
157S[1]&&e[2]===S[2]&&(e[3]||("http:"===e[1]?80:443))==(S[3]||("http:"===S[1]?80:443)))),l.data&&l.processData&&"string"!=typeof l.data&&(l.data=c.param(l.data,l.traditional)),kb(Nb,l,b,s),2===H)return s;(j=l.global)&&0===c.active++&&c.event.trigger("ajaxStart");l.type=l.type.toUpperCase();l.hasContent=!Kc.test(l.type);g=l.url;l.hasContent||(l.data&&(g=l.url+=(Na.test(g)?"&":"?")+l.data,delete l.data),!1===l.cache&&(l.url=Kb.test(g)?g.replace(Kb,"$1_="+Ma++):g+(Na.test(g)?"&":"?")+"_="+Ma++));l.ifModified&&
158(c.lastModified[g]&&s.setRequestHeader("If-Modified-Since",c.lastModified[g]),c.etag[g]&&s.setRequestHeader("If-None-Match",c.etag[g]));(l.data&&l.hasContent&&!1!==l.contentType||b.contentType)&&s.setRequestHeader("Content-Type",l.contentType);s.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+("*"!==l.dataTypes[0]?", "+Ob+"; q=0.01":""):l.accepts["*"]);for(f in l.headers)s.setRequestHeader(f,l.headers[f]);if(l.beforeSend&&(!1===l.beforeSend.call(n,s,l)||
1592===H))return s.abort();B="abort";for(f in{success:1,error:1,complete:1})s[f](l[f]);if(m=kb(ya,l,b,s)){s.readyState=1;j&&p.trigger("ajaxSend",[s,l]);l.async&&0<l.timeout&&(i=setTimeout(function(){s.abort("timeout")},l.timeout));try{H=1,m.send(w,d)}catch(y){if(!(2>H))throw y;d(-1,y)}}else d(-1,"No Transport");return s},getScript:function(a,b){return c.get(a,k,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")}});c.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},
160contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return c.globalEval(a),a}}});c.ajaxPrefilter("script",function(a){a.cache===k&&(a.cache=!1);a.crossDomain&&(a.type="GET",a.global=!1)});c.ajaxTransport("script",function(a){if(a.crossDomain){var b,d=n.head||c("head")[0]||n.documentElement;return{send:function(c,f){b=n.createElement("script");b.async=!0;a.scriptCharset&&(b.charset=a.scriptCharset);b.src=a.url;b.onload=b.onreadystatechange=function(a,c){(c||!b.readyState||
161/loaded|complete/.test(b.readyState))&&(b.onload=b.onreadystatechange=null,b.parentNode&&b.parentNode.removeChild(b),b=null,c||f(200,"success"))};d.insertBefore(b,d.firstChild)},abort:function(){b&&b.onload(k,!0)}}}});var Pb=[],Oa=/(=)\?(?=&|$)|\?\?/;c.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Pb.pop()||c.expando+"_"+Ma++;return this[a]=!0,a}});c.ajaxPrefilter("json jsonp",function(a,b,d){var e,f,g,h=!1!==a.jsonp&&(Oa.test(a.url)?"url":"string"==typeof a.data&&!(a.contentType||"").indexOf("application/x-www-form-urlencoded")&&
162Oa.test(a.data)&&"data");return h||"jsonp"===a.dataTypes[0]?(e=a.jsonpCallback=c.isFunction(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,h?a[h]=a[h].replace(Oa,"$1"+e):!1!==a.jsonp&&(a.url+=(Na.test(a.url)?"&":"?")+a.jsonp+"="+e),a.converters["script json"]=function(){return g||c.error(e+" was not called"),g[0]},a.dataTypes[0]="json",f=q[e],q[e]=function(){g=arguments},d.always(function(){q[e]=f;a[e]&&(a.jsonpCallback=b.jsonpCallback,Pb.push(e));g&&c.isFunction(f)&&f(g[0]);g=f=k}),"script"):
163k});var L,ga,Mc=0,Pa=q.ActiveXObject&&function(){for(var a in L)L[a](k,!0)};c.ajaxSettings.xhr=q.ActiveXObject?function(){var a;if(!(a=!this.isLocal&&lb()))a:{try{a=new q.ActiveXObject("Microsoft.XMLHTTP");break a}catch(b){}a=void 0}return a}:lb;ga=c.ajaxSettings.xhr();c.support.cors=!!ga&&"withCredentials"in ga;(ga=c.support.ajax=!!ga)&&c.ajaxTransport(function(a){if(!a.crossDomain||c.support.cors){var b;return{send:function(d,e){var f,g,h=a.xhr();if(a.username?h.open(a.type,a.url,a.async,a.username,
164a.password):h.open(a.type,a.url,a.async),a.xhrFields)for(g in a.xhrFields)h[g]=a.xhrFields[g];a.mimeType&&h.overrideMimeType&&h.overrideMimeType(a.mimeType);a.crossDomain||d["X-Requested-With"]||(d["X-Requested-With"]="XMLHttpRequest");try{for(g in d)h.setRequestHeader(g,d[g])}catch(i){}h.send(a.hasContent&&a.data||null);b=function(d,g){var i,l,n,p;try{if(b&&(g||4===h.readyState))if(b=k,f&&(h.onreadystatechange=c.noop,Pa&&delete L[f]),g)4!==h.readyState&&h.abort();else{p={};i=h.status;l=h.getAllResponseHeaders();
165"string"==typeof h.responseText&&(p.text=h.responseText);try{n=h.statusText}catch(q){n=""}i||!a.isLocal||a.crossDomain?1223===i&&(i=204):i=p.text?200:404}}catch(t){g||e(-1,t)}p&&e(i,n,p,l)};a.async?4===h.readyState?setTimeout(b):(f=++Mc,Pa&&(L||(L={},c(q).unload(Pa)),L[f]=b),h.onreadystatechange=b):b()},abort:function(){b&&b(k,!0)}}}});var W,qa,Nc=/^(?:toggle|show|hide)$/,Oc=RegExp("^(?:([+-])=|)("+la+")([a-z%]*)$","i"),Pc=/queueHooks$/,ja=[function(a,b,d){var e,f,g,h,i,j,k=this,n=a.style,l={},q=
166[],p=a.nodeType&&V(a);d.queue||(i=c._queueHooks(a,"fx"),null==i.unqueued&&(i.unqueued=0,j=i.empty.fire,i.empty.fire=function(){i.unqueued||j()}),i.unqueued++,k.always(function(){k.always(function(){i.unqueued--;c.queue(a,"fx").length||i.empty.fire()})}));1===a.nodeType&&("height"in b||"width"in b)&&(d.overflow=[n.overflow,n.overflowX,n.overflowY],"inline"===c.css(a,"display")&&"none"===c.css(a,"float")&&(c.support.inlineBlockNeedsLayout&&"inline"!==db(a.nodeName)?n.zoom=1:n.display="inline-block"));
167d.overflow&&(n.overflow="hidden",c.support.shrinkWrapBlocks||k.always(function(){n.overflow=d.overflow[0];n.overflowX=d.overflow[1];n.overflowY=d.overflow[2]}));for(f in b)if(g=b[f],Nc.exec(g))(delete b[f],e=e||"toggle"===g,g===(p?"hide":"show"))||q.push(f);if(b=q.length){g=c._data(a,"fxshow")||c._data(a,"fxshow",{});"hidden"in g&&(p=g.hidden);e&&(g.hidden=!p);p?c(a).show():k.done(function(){c(a).hide()});k.done(function(){var b;c._removeData(a,"fxshow");for(b in l)c.style(a,b,l[b])});for(f=0;b>f;f++)e=
168q[f],h=k.createTween(e,p?g[e]:0),l[e]=g[e]||c.style(a,e),e in g||(g[e]=h.start,p&&(h.end=h.start,h.start="width"===e||"height"===e?1:0))}}],X={"*":[function(a,b){var d,e,f=this.createTween(a,b),g=Oc.exec(b),h=f.cur(),i=+h||0,j=1,k=20;if(g){if(d=+g[2],e=g[3]||(c.cssNumber[a]?"":"px"),"px"!==e&&i){i=c.css(f.elem,a,!0)||d||1;do j=j||".5",i/=j,c.style(f.elem,a,i+e);while(j!==(j=f.cur()/h)&&1!==j&&--k)}f.unit=e;f.start=i;f.end=g[1]?i+(g[1]+1)*d:d}return f}]};c.Animation=c.extend(nb,{tweener:function(a,
169b){c.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var d,e=0,f=a.length;f>e;e++)d=a[e],X[d]=X[d]||[],X[d].unshift(b)},prefilter:function(a,b){b?ja.unshift(a):ja.push(a)}});c.Tween=w;w.prototype={constructor:w,init:function(a,b,d,e,f,g){this.elem=a;this.prop=d;this.easing=f||"swing";this.options=b;this.start=this.now=this.cur();this.end=e;this.unit=g||(c.cssNumber[d]?"":"px")},cur:function(){var a=w.propHooks[this.prop];return a&&a.get?a.get(this):w.propHooks._default.get(this)},run:function(a){var b,
170d=w.propHooks[this.prop];return this.pos=b=this.options.duration?c.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),d&&d.set?d.set(this):w.propHooks._default.set(this),this}};w.prototype.init.prototype=w.prototype;w.propHooks={_default:{get:function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=c.css(a.elem,a.prop,""),b&&"auto"!==
171b?b:0):a.elem[a.prop]},set:function(a){c.fx.step[a.prop]?c.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[c.cssProps[a.prop]]||c.cssHooks[a.prop])?c.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}};w.propHooks.scrollTop=w.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}};c.each(["toggle","show","hide"],function(a,b){var d=c.fn[b];c.fn[b]=function(a,c,g){return null==a||"boolean"==typeof a?d.apply(this,arguments):this.animate(Y(b,!0),
172a,c,g)}});c.fn.extend({fadeTo:function(a,b,c,e){return this.filter(V).css("opacity",0).show().end().animate({opacity:b},a,c,e)},animate:function(a,b,d,e){var f=c.isEmptyObject(a),g=c.speed(b,d,e),h=function(){var b=nb(this,c.extend({},a),g);h.finish=function(){b.stop(!0)};(f||c._data(this,"finish"))&&b.stop(!0)};return h.finish=h,f||!1===g.queue?this.each(h):this.queue(g.queue,h)},stop:function(a,b,d){var e=function(a){var b=a.stop;delete a.stop;b(d)};return"string"!=typeof a&&(d=b,b=a,a=k),b&&!1!==
173a&&this.queue(a||"fx",[]),this.each(function(){var b=!0,g=null!=a&&a+"queueHooks",h=c.timers,i=c._data(this);if(g)i[g]&&i[g].stop&&e(i[g]);else for(g in i)i[g]&&i[g].stop&&Pc.test(g)&&e(i[g]);for(g=h.length;g--;)h[g].elem!==this||null!=a&&h[g].queue!==a||(h[g].anim.stop(d),b=!1,h.splice(g,1));(b||!d)&&c.dequeue(this,a)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var b,d=c._data(this),e=d[a+"queue"];b=d[a+"queueHooks"];var f=c.timers,g=e?e.length:0;d.finish=!0;c.queue(this,
174a,[]);b&&b.cur&&b.cur.finish&&b.cur.finish.call(this);for(b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)e[b]&&e[b].finish&&e[b].finish.call(this);delete d.finish})}});c.each({slideDown:Y("show"),slideUp:Y("hide"),slideToggle:Y("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(a,c,f){return this.animate(b,a,c,f)}});c.speed=function(a,b,d){var e=a&&"object"==typeof a?c.extend({},
175a):{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};return e.duration=c.fx.off?0:"number"==typeof e.duration?e.duration:e.duration in c.fx.speeds?c.fx.speeds[e.duration]:c.fx.speeds._default,(null==e.queue||!0===e.queue)&&(e.queue="fx"),e.old=e.complete,e.complete=function(){c.isFunction(e.old)&&e.old.call(this);e.queue&&c.dequeue(this,e.queue)},e};c.easing={linear:function(a){return a},swing:function(a){return 0.5-Math.cos(a*Math.PI)/2}};c.timers=[];c.fx=w.prototype.init;
176c.fx.tick=function(){var a,b=c.timers,d=0;for(W=c.now();b.length>d;d++)a=b[d],a()||b[d]!==a||b.splice(d--,1);b.length||c.fx.stop();W=k};c.fx.timer=function(a){a()&&c.timers.push(a)&&c.fx.start()};c.fx.interval=13;c.fx.start=function(){qa||(qa=setInterval(c.fx.tick,c.fx.interval))};c.fx.stop=function(){clearInterval(qa);qa=null};c.fx.speeds={slow:600,fast:200,_default:400};c.fx.step={};c.expr&&c.expr.filters&&(c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length});
177c.fn.offset=function(a){if(arguments.length)return a===k?this:this.each(function(b){c.offset.setOffset(this,a,b)});var b,d,e={top:0,left:0},f=this[0],g=f&&f.ownerDocument;if(g)return b=g.documentElement,c.contains(b,f)?(typeof f.getBoundingClientRect!==v&&(e=f.getBoundingClientRect()),d=ob(g),{top:e.top+(d.pageYOffset||b.scrollTop)-(b.clientTop||0),left:e.left+(d.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):e};c.offset={setOffset:function(a,b,d){var e=c.css(a,"position");"static"===e&&(a.style.position=
178"relative");var f=c(a),g=f.offset(),h=c.css(a,"top"),i=c.css(a,"left"),j={},k={},n,l;("absolute"===e||"fixed"===e)&&-1<c.inArray("auto",[h,i])?(k=f.position(),n=k.top,l=k.left):(n=parseFloat(h)||0,l=parseFloat(i)||0);c.isFunction(b)&&(b=b.call(a,d,g));null!=b.top&&(j.top=b.top-g.top+n);null!=b.left&&(j.left=b.left-g.left+l);"using"in b?b.using.call(a,j):f.css(j)}};c.fn.extend({position:function(){if(this[0]){var a,b,d={top:0,left:0},e=this[0];return"fixed"===c.css(e,"position")?b=e.getBoundingClientRect():
179(a=this.offsetParent(),b=this.offset(),c.nodeName(a[0],"html")||(d=a.offset()),d.top+=c.css(a[0],"borderTopWidth",!0),d.left+=c.css(a[0],"borderLeftWidth",!0)),{top:b.top-d.top-c.css(e,"marginTop",!0),left:b.left-d.left-c.css(e,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||n.documentElement;a&&!c.nodeName(a,"html")&&"static"===c.css(a,"position");)a=a.offsetParent;return a||n.documentElement})}});c.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},
180function(a,b){var d=/Y/.test(b);c.fn[a]=function(e){return c.access(this,function(a,e,h){var i=ob(a);return h===k?i?b in i?i[b]:i.document.documentElement[e]:a[e]:(i?i.scrollTo(d?c(i).scrollLeft():h,d?h:c(i).scrollTop()):a[e]=h,k)},a,e,arguments.length,null)}});c.each({Height:"height",Width:"width"},function(a,b){c.each({padding:"inner"+a,content:b,"":"outer"+a},function(d,e){c.fn[e]=function(e,g){var h=arguments.length&&(d||"boolean"!=typeof e),i=d||(!0===e||!0===g?"margin":"border");return c.access(this,
181function(b,d,e){var f;return c.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(f=b.documentElement,Math.max(b.body["scroll"+a],f["scroll"+a],b.body["offset"+a],f["offset"+a],f["client"+a])):e===k?c.css(b,d,i):c.style(b,d,e,i)},b,h?e:k,h,null)}})});q.jQuery=q.$=c;"function"==typeof define&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return c})})(window); \ No newline at end of file