mirror of https://github.com/status-im/consul.git
3 lines
81 KiB
JavaScript
3 lines
81 KiB
JavaScript
!function(t,e){function i(t){var e=t.length,i=se.type(t);return se.isWindow(t)?!1:1===t.nodeType&&e?!0:"array"===i||"function"!==i&&(0===e||"number"==typeof e&&e>0&&e-1 in t)}function n(t){var e=fe[t]={};return se.each(t.match(ae)||[],function(t,i){e[i]=!0}),e}function r(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=se.expando+Math.random()}function s(t,i,n){var r;if(n===e&&1===t.nodeType)if(r="data-"+i.replace(ve,"-$1").toLowerCase(),n=t.getAttribute(r),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:ye.test(n)?JSON.parse(n):n}catch(s){}ge.set(t,i,n)}else n=e;return n}function o(){return!0}function a(){return!1}function l(){try{return G.activeElement}catch(t){}}function h(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function c(t,e,i){if(se.isFunction(e))return se.grep(t,function(t,n){return!!e.call(t,n,t)!==i});if(e.nodeType)return se.grep(t,function(t){return t===e!==i});if("string"==typeof e){if(Pe.test(e))return se.filter(e,t,i);e=se.filter(e,t)}return se.grep(t,function(t){return ee.call(e,t)>=0!==i})}function u(t,e){return se.nodeName(t,"table")&&se.nodeName(1===e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function d(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function p(t){var e=je.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function f(t,e){for(var i=t.length,n=0;i>n;n++)me.set(t[n],"globalEval",!e||me.get(e[n],"globalEval"))}function g(t,e){var i,n,r,s,o,a,l,h;if(1===e.nodeType){if(me.hasData(t)&&(s=me.access(t),o=me.set(e,s),h=s.events)){delete o.handle,o.events={};for(r in h)for(i=0,n=h[r].length;n>i;i++)se.event.add(e,r,h[r][i])}ge.hasData(t)&&(a=ge.access(t),l=se.extend({},a),ge.set(e,l))}}function m(t,i){var n=t.getElementsByTagName?t.getElementsByTagName(i||"*"):t.querySelectorAll?t.querySelectorAll(i||"*"):[];return i===e||i&&se.nodeName(t,i)?se.merge([t],n):n}function y(t,e){var i=e.nodeName.toLowerCase();"input"===i&&Re.test(t.type)?e.checked=t.checked:("input"===i||"textarea"===i)&&(e.defaultValue=t.defaultValue)}function v(t,e){if(e in t)return e;for(var i=e.charAt(0).toUpperCase()+e.slice(1),n=e,r=Qe.length;r--;)if(e=Qe[r]+i,e in t)return e;return n}function x(t,e){return t=e||t,"none"===se.css(t,"display")||!se.contains(t.ownerDocument,t)}function b(e){return t.getComputedStyle(e,null)}function w(t,e){for(var i,n,r,s=[],o=0,a=t.length;a>o;o++)n=t[o],n.style&&(s[o]=me.get(n,"olddisplay"),i=n.style.display,e?(s[o]||"none"!==i||(n.style.display=""),""===n.style.display&&x(n)&&(s[o]=me.access(n,"olddisplay",C(n.nodeName)))):s[o]||(r=x(n),(i&&"none"!==i||!r)&&me.set(n,"olddisplay",r?i:se.css(n,"display"))));for(o=0;a>o;o++)n=t[o],n.style&&(e&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=e?s[o]||"":"none"));return t}function k(t,e,i){var n=$e.exec(e);return n?Math.max(0,n[1]-(i||0))+(n[2]||"px"):e}function T(t,e,i,n,r){for(var s=i===(n?"border":"content")?4:"width"===e?1:0,o=0;4>s;s+=2)"margin"===i&&(o+=se.css(t,i+Je[s],!0,r)),n?("content"===i&&(o-=se.css(t,"padding"+Je[s],!0,r)),"margin"!==i&&(o-=se.css(t,"border"+Je[s]+"Width",!0,r))):(o+=se.css(t,"padding"+Je[s],!0,r),"padding"!==i&&(o+=se.css(t,"border"+Je[s]+"Width",!0,r)));return o}function S(t,e,i){var n=!0,r="width"===e?t.offsetWidth:t.offsetHeight,s=b(t),o=se.support.boxSizing&&"border-box"===se.css(t,"boxSizing",!1,s);if(0>=r||null==r){if(r=We(t,e,s),(0>r||null==r)&&(r=t.style[e]),qe.test(r))return r;n=o&&(se.support.boxSizingReliable||r===t.style[e]),r=parseFloat(r)||0}return r+T(t,e,i||(o?"border":"content"),n,s)+"px"}function C(t){var e=G,i=Ue[t];return i||(i=A(t,e),"none"!==i&&i||(Xe=(Xe||se("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(e.documentElement),e=(Xe[0].contentWindow||Xe[0].contentDocument).document,e.write("<!doctype html><html><body>"),e.close(),i=A(t,e),Xe.detach()),Ue[t]=i),i}function A(t,e){var i=se(e.createElement(t)).appendTo(e.body),n=se.css(i[0],"display");return i.remove(),n}function L(t,e,i,n){var r;if(se.isArray(e))se.each(e,function(e,r){i||ei.test(t)?n(t,r):L(t+"["+("object"==typeof r?e:"")+"]",r,i,n)});else if(i||"object"!==se.type(e))n(t,e);else for(r in e)L(t+"["+r+"]",e[r],i,n)}function P(t){return function(e,i){"string"!=typeof e&&(i=e,e="*");var n,r=0,s=e.toLowerCase().match(ae)||[];if(se.isFunction(i))for(;n=s[r++];)"+"===n[0]?(n=n.slice(1)||"*",(t[n]=t[n]||[]).unshift(i)):(t[n]=t[n]||[]).push(i)}}function N(t,i,n,r){function s(l){var h;return o[l]=!0,se.each(t[l]||[],function(t,l){var c=l(i,n,r);return"string"!=typeof c||a||o[c]?a?!(h=c):e:(i.dataTypes.unshift(c),s(c),!1)}),h}var o={},a=t===vi;return s(i.dataTypes[0])||!o["*"]&&s("*")}function M(t,i){var n,r,s=se.ajaxSettings.flatOptions||{};for(n in i)i[n]!==e&&((s[n]?t:r||(r={}))[n]=i[n]);return r&&se.extend(!0,t,r),t}function D(t,i,n){for(var r,s,o,a,l=t.contents,h=t.dataTypes;"*"===h[0];)h.shift(),r===e&&(r=t.mimeType||i.getResponseHeader("Content-Type"));if(r)for(s in l)if(l[s]&&l[s].test(r)){h.unshift(s);break}if(h[0]in n)o=h[0];else{for(s in n){if(!h[0]||t.converters[s+" "+h[0]]){o=s;break}a||(a=s)}o=o||a}return o?(o!==h[0]&&h.unshift(o),n[o]):e}function E(t,e,i,n){var r,s,o,a,l,h={},c=t.dataTypes.slice();if(c[1])for(o in t.converters)h[o.toLowerCase()]=t.converters[o];for(s=c.shift();s;)if(t.responseFields[s]&&(i[t.responseFields[s]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=s,s=c.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(o=h[l+" "+s]||h["* "+s],!o)for(r in h)if(a=r.split(" "),a[1]===s&&(o=h[l+" "+a[0]]||h["* "+a[0]])){o===!0?o=h[r]:h[r]!==!0&&(s=a[0],c.unshift(a[1]));break}if(o!==!0)if(o&&t["throws"])e=o(e);else try{e=o(e)}catch(u){return{state:"parsererror",error:o?u:"No conversion from "+l+" to "+s}}}return{state:"success",data:e}}function O(){return setTimeout(function(){Li=e}),Li=se.now()}function I(t,e,i){for(var n,r=(Oi[e]||[]).concat(Oi["*"]),s=0,o=r.length;o>s;s++)if(n=r[s].call(i,e,t))return n}function H(t,e,i){var n,r,s=0,o=Ei.length,a=se.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=Li||O(),i=Math.max(0,h.startTime+h.duration-e),n=i/h.duration||0,s=1-n,o=0,l=h.tweens.length;l>o;o++)h.tweens[o].run(s);return a.notifyWith(t,[h,s,i]),1>s&&l?i:(a.resolveWith(t,[h]),!1)},h=a.promise({elem:t,props:se.extend({},e),opts:se.extend(!0,{specialEasing:{}},i),originalProperties:e,originalOptions:i,startTime:Li||O(),duration:i.duration,tweens:[],createTween:function(e,i){var n=se.Tween(t,h.opts,e,i,h.opts.specialEasing[e]||h.opts.easing);return h.tweens.push(n),n},stop:function(e){var i=0,n=e?h.tweens.length:0;if(r)return this;for(r=!0;n>i;i++)h.tweens[i].run(1);return e?a.resolveWith(t,[h,e]):a.rejectWith(t,[h,e]),this}}),c=h.props;for(R(c,h.opts.specialEasing);o>s;s++)if(n=Ei[s].call(h,t,c,h.opts))return n;return se.map(c,I,h),se.isFunction(h.opts.start)&&h.opts.start.call(t,h),se.fx.timer(se.extend(l,{elem:t,anim:h,queue:h.opts.queue})),h.progress(h.opts.progress).done(h.opts.done,h.opts.complete).fail(h.opts.fail).always(h.opts.always)}function R(t,e){var i,n,r,s,o;for(i in t)if(n=se.camelCase(i),r=e[n],s=t[i],se.isArray(s)&&(r=s[1],s=t[i]=s[0]),i!==n&&(t[n]=s,delete t[i]),o=se.cssHooks[n],o&&"expand"in o){s=o.expand(s),delete t[n];for(i in s)i in t||(t[i]=s[i],e[i]=r)}else e[n]=r}function B(t,i,n){var r,s,o,a,l,h,c=this,u={},d=t.style,p=t.nodeType&&x(t),f=me.get(t,"fxshow");n.queue||(l=se._queueHooks(t,"fx"),null==l.unqueued&&(l.unqueued=0,h=l.empty.fire,l.empty.fire=function(){l.unqueued||h()}),l.unqueued++,c.always(function(){c.always(function(){l.unqueued--,se.queue(t,"fx").length||l.empty.fire()})})),1===t.nodeType&&("height"in i||"width"in i)&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],"inline"===se.css(t,"display")&&"none"===se.css(t,"float")&&(d.display="inline-block")),n.overflow&&(d.overflow="hidden",c.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]}));for(r in i)if(s=i[r],Ni.exec(s)){if(delete i[r],o=o||"toggle"===s,s===(p?"hide":"show")){if("show"!==s||!f||f[r]===e)continue;p=!0}u[r]=f&&f[r]||se.style(t,r)}if(!se.isEmptyObject(u)){f?"hidden"in f&&(p=f.hidden):f=me.access(t,"fxshow",{}),o&&(f.hidden=!p),p?se(t).show():c.done(function(){se(t).hide()}),c.done(function(){var e;me.remove(t,"fxshow");for(e in u)se.style(t,e,u[e])});for(r in u)a=I(p?f[r]:0,r,c),r in f||(f[r]=a.start,p&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function z(t,e,i,n,r){return new z.prototype.init(t,e,i,n,r)}function j(t,e){var i,n={height:t},r=0;for(e=e?1:0;4>r;r+=2-e)i=Je[r],n["margin"+i]=n["padding"+i]=t;return e&&(n.opacity=n.width=t),n}function _(t){return se.isWindow(t)?t:9===t.nodeType&&t.defaultView}var F,W,X=typeof e,Y=t.location,G=t.document,$=G.documentElement,q=t.jQuery,V=t.$,U={},Z=[],K="2.0.3",J=Z.concat,Q=Z.push,te=Z.slice,ee=Z.indexOf,ie=U.toString,ne=U.hasOwnProperty,re=K.trim,se=function(t,e){return new se.fn.init(t,e,F)},oe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ae=/\S+/g,le=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,he=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ce=/^-ms-/,ue=/-([\da-z])/gi,de=function(t,e){return e.toUpperCase()},pe=function(){G.removeEventListener("DOMContentLoaded",pe,!1),t.removeEventListener("load",pe,!1),se.ready()};se.fn=se.prototype={jquery:K,constructor:se,init:function(t,i,n){var r,s;if(!t)return this;if("string"==typeof t){if(r="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:le.exec(t),!r||!r[1]&&i)return!i||i.jquery?(i||n).find(t):this.constructor(i).find(t);if(r[1]){if(i=i instanceof se?i[0]:i,se.merge(this,se.parseHTML(r[1],i&&i.nodeType?i.ownerDocument||i:G,!0)),he.test(r[1])&&se.isPlainObject(i))for(r in i)se.isFunction(this[r])?this[r](i[r]):this.attr(r,i[r]);return this}return s=G.getElementById(r[2]),s&&s.parentNode&&(this.length=1,this[0]=s),this.context=G,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):se.isFunction(t)?n.ready(t):(t.selector!==e&&(this.selector=t.selector,this.context=t.context),se.makeArray(t,this))},selector:"",length:0,toArray:function(){return te.call(this)},get:function(t){return null==t?this.toArray():0>t?this[this.length+t]:this[t]},pushStack:function(t){var e=se.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return se.each(this,t,e)},ready:function(t){return se.ready.promise().done(t),this},slice:function(){return this.pushStack(te.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,i=+t+(0>t?e:0);return this.pushStack(i>=0&&e>i?[this[i]]:[])},map:function(t){return this.pushStack(se.map(this,function(e,i){return t.call(e,i,e)}))},end:function(){return this.prevObject||this.constructor(null)},push:Q,sort:[].sort,splice:[].splice},se.fn.init.prototype=se.fn,se.extend=se.fn.extend=function(){var t,i,n,r,s,o,a=arguments[0]||{},l=1,h=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[1]||{},l=2),"object"==typeof a||se.isFunction(a)||(a={}),h===l&&(a=this,--l);h>l;l++)if(null!=(t=arguments[l]))for(i in t)n=a[i],r=t[i],a!==r&&(c&&r&&(se.isPlainObject(r)||(s=se.isArray(r)))?(s?(s=!1,o=n&&se.isArray(n)?n:[]):o=n&&se.isPlainObject(n)?n:{},a[i]=se.extend(c,o,r)):r!==e&&(a[i]=r));return a},se.extend({expando:"jQuery"+(K+Math.random()).replace(/\D/g,""),noConflict:function(e){return t.$===se&&(t.$=V),e&&t.jQuery===se&&(t.jQuery=q),se},isReady:!1,readyWait:1,holdReady:function(t){t?se.readyWait++:se.ready(!0)},ready:function(t){(t===!0?--se.readyWait:se.isReady)||(se.isReady=!0,t!==!0&&--se.readyWait>0||(W.resolveWith(G,[se]),se.fn.trigger&&se(G).trigger("ready").off("ready")))},isFunction:function(t){return"function"===se.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?U[ie.call(t)]||"object":typeof t},isPlainObject:function(t){if("object"!==se.type(t)||t.nodeType||se.isWindow(t))return!1;try{if(t.constructor&&!ne.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}return!0},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},error:function(t){throw Error(t)},parseHTML:function(t,e,i){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(i=e,e=!1),e=e||G;var n=he.exec(t),r=!i&&[];return n?[e.createElement(n[1])]:(n=se.buildFragment([t],e,r),r&&se(r).remove(),se.merge([],n.childNodes))},parseJSON:JSON.parse,parseXML:function(t){var i,n;if(!t||"string"!=typeof t)return null;try{n=new DOMParser,i=n.parseFromString(t,"text/xml")}catch(r){i=e}return(!i||i.getElementsByTagName("parsererror").length)&&se.error("Invalid XML: "+t),i},noop:function(){},globalEval:function(t){var e,i=eval;t=se.trim(t),t&&(1===t.indexOf("use strict")?(e=G.createElement("script"),e.text=t,G.head.appendChild(e).parentNode.removeChild(e)):i(t))},camelCase:function(t){return t.replace(ce,"ms-").replace(ue,de)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,n){var r,s=0,o=t.length,a=i(t);if(n){if(a)for(;o>s&&(r=e.apply(t[s],n),r!==!1);s++);else for(s in t)if(r=e.apply(t[s],n),r===!1)break}else if(a)for(;o>s&&(r=e.call(t[s],s,t[s]),r!==!1);s++);else for(s in t)if(r=e.call(t[s],s,t[s]),r===!1)break;return t},trim:function(t){return null==t?"":re.call(t)},makeArray:function(t,e){var n=e||[];return null!=t&&(i(Object(t))?se.merge(n,"string"==typeof t?[t]:t):Q.call(n,t)),n},inArray:function(t,e,i){return null==e?-1:ee.call(e,t,i)},merge:function(t,i){var n=i.length,r=t.length,s=0;if("number"==typeof n)for(;n>s;s++)t[r++]=i[s];else for(;i[s]!==e;)t[r++]=i[s++];return t.length=r,t},grep:function(t,e,i){var n,r=[],s=0,o=t.length;for(i=!!i;o>s;s++)n=!!e(t[s],s),i!==n&&r.push(t[s]);return r},map:function(t,e,n){var r,s=0,o=t.length,a=i(t),l=[];if(a)for(;o>s;s++)r=e(t[s],s,n),null!=r&&(l[l.length]=r);else for(s in t)r=e(t[s],s,n),null!=r&&(l[l.length]=r);return J.apply([],l)},guid:1,proxy:function(t,i){var n,r,s;return"string"==typeof i&&(n=t[i],i=t,t=n),se.isFunction(t)?(r=te.call(arguments,2),s=function(){return t.apply(i||this,r.concat(te.call(arguments)))},s.guid=t.guid=t.guid||se.guid++,s):e},access:function(t,i,n,r,s,o,a){var l=0,h=t.length,c=null==n;if("object"===se.type(n)){s=!0;for(l in n)se.access(t,i,l,n[l],!0,o,a)}else if(r!==e&&(s=!0,se.isFunction(r)||(a=!0),c&&(a?(i.call(t,r),i=null):(c=i,i=function(t,e,i){return c.call(se(t),i)})),i))for(;h>l;l++)i(t[l],n,a?r:r.call(t[l],l,i(t[l],n)));return s?t:c?i.call(t):h?i(t[0],n):o},now:Date.now,swap:function(t,e,i,n){var r,s,o={};for(s in e)o[s]=t.style[s],t.style[s]=e[s];r=i.apply(t,n||[]);for(s in e)t.style[s]=o[s];return r}}),se.ready.promise=function(e){return W||(W=se.Deferred(),"complete"===G.readyState?setTimeout(se.ready):(G.addEventListener("DOMContentLoaded",pe,!1),t.addEventListener("load",pe,!1))),W.promise(e)},se.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){U["[object "+e+"]"]=e.toLowerCase()}),F=se(G),function(t,e){function i(t,e,i,n){var r,s,o,a,l,h,c,u,f,g;if((e?e.ownerDocument||e:_)!==E&&D(e),e=e||E,i=i||[],!t||"string"!=typeof t)return i;if(1!==(a=e.nodeType)&&9!==a)return[];if(I&&!n){if(r=xe.exec(t))if(o=r[1]){if(9===a){if(s=e.getElementById(o),!s||!s.parentNode)return i;if(s.id===o)return i.push(s),i}else if(e.ownerDocument&&(s=e.ownerDocument.getElementById(o))&&z(e,s)&&s.id===o)return i.push(s),i}else{if(r[2])return te.apply(i,e.getElementsByTagName(t)),i;if((o=r[3])&&T.getElementsByClassName&&e.getElementsByClassName)return te.apply(i,e.getElementsByClassName(o)),i}if(T.qsa&&(!H||!H.test(t))){if(u=c=j,f=e,g=9===a&&t,1===a&&"object"!==e.nodeName.toLowerCase()){for(h=d(t),(c=e.getAttribute("id"))?u=c.replace(ke,"\\$&"):e.setAttribute("id",u),u="[id='"+u+"'] ",l=h.length;l--;)h[l]=u+p(h[l]);f=pe.test(t)&&e.parentNode||e,g=h.join(",")}if(g)try{return te.apply(i,f.querySelectorAll(g)),i}catch(m){}finally{c||e.removeAttribute("id")}}}return w(t.replace(ce,"$1"),e,i,n)}function n(){function t(i,n){return e.push(i+=" ")>C.cacheLength&&delete t[e.shift()],t[i]=n}var e=[];return t}function r(t){return t[j]=!0,t}function s(t){var e=E.createElement("div");try{return!!t(e)}catch(i){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var i=t.split("|"),n=t.length;n--;)C.attrHandle[i[n]]=e}function a(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||U)-(~t.sourceIndex||U);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function l(t){return function(e){var i=e.nodeName.toLowerCase();return"input"===i&&e.type===t}}function h(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function c(t){return r(function(e){return e=+e,r(function(i,n){for(var r,s=t([],i.length,e),o=s.length;o--;)i[r=s[o]]&&(i[r]=!(n[r]=i[r]))})})}function u(){}function d(t,e){var n,r,s,o,a,l,h,c=Y[t+" "];if(c)return e?0:c.slice(0);for(a=t,l=[],h=C.preFilter;a;){(!n||(r=ue.exec(a)))&&(r&&(a=a.slice(r[0].length)||a),l.push(s=[])),n=!1,(r=de.exec(a))&&(n=r.shift(),s.push({value:n,type:r[0].replace(ce," ")}),a=a.slice(n.length));for(o in C.filter)!(r=ye[o].exec(a))||h[o]&&!(r=h[o](r))||(n=r.shift(),s.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return e?a.length:a?i.error(t):Y(t,l).slice(0)}function p(t){for(var e=0,i=t.length,n="";i>e;e++)n+=t[e].value;return n}function f(t,e,i){var n=e.dir,r=i&&"parentNode"===n,s=W++;return e.first?function(e,i,s){for(;e=e[n];)if(1===e.nodeType||r)return t(e,i,s)}:function(e,i,o){var a,l,h,c=F+" "+s;if(o){for(;e=e[n];)if((1===e.nodeType||r)&&t(e,i,o))return!0}else for(;e=e[n];)if(1===e.nodeType||r)if(h=e[j]||(e[j]={}),(l=h[n])&&l[0]===c){if((a=l[1])===!0||a===S)return a===!0}else if(l=h[n]=[c],l[1]=t(e,i,o)||S,l[1]===!0)return!0}}function g(t){return t.length>1?function(e,i,n){for(var r=t.length;r--;)if(!t[r](e,i,n))return!1;return!0}:t[0]}function m(t,e,i,n,r){for(var s,o=[],a=0,l=t.length,h=null!=e;l>a;a++)(s=t[a])&&(!i||i(s,n,r))&&(o.push(s),h&&e.push(a));return o}function y(t,e,i,n,s,o){return n&&!n[j]&&(n=y(n)),s&&!s[j]&&(s=y(s,o)),r(function(r,o,a,l){var h,c,u,d=[],p=[],f=o.length,g=r||b(e||"*",a.nodeType?[a]:a,[]),y=!t||!r&&e?g:m(g,d,t,a,l),v=i?s||(r?t:f||n)?[]:o:y;if(i&&i(y,v,a,l),n)for(h=m(v,p),n(h,[],a,l),c=h.length;c--;)(u=h[c])&&(v[p[c]]=!(y[p[c]]=u));if(r){if(s||t){if(s){for(h=[],c=v.length;c--;)(u=v[c])&&h.push(y[c]=u);s(null,v=[],h,l)}for(c=v.length;c--;)(u=v[c])&&(h=s?ie.call(r,u):d[c])>-1&&(r[h]=!(o[h]=u))}}else v=m(v===o?v.splice(f,v.length):v),s?s(null,o,v,l):te.apply(o,v)})}function v(t){for(var e,i,n,r=t.length,s=C.relative[t[0].type],o=s||C.relative[" "],a=s?1:0,l=f(function(t){return t===e},o,!0),h=f(function(t){return ie.call(e,t)>-1},o,!0),c=[function(t,i,n){return!s&&(n||i!==N)||((e=i).nodeType?l(t,i,n):h(t,i,n))}];r>a;a++)if(i=C.relative[t[a].type])c=[f(g(c),i)];else{if(i=C.filter[t[a].type].apply(null,t[a].matches),i[j]){for(n=++a;r>n&&!C.relative[t[n].type];n++);return y(a>1&&g(c),a>1&&p(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(ce,"$1"),i,n>a&&v(t.slice(a,n)),r>n&&v(t=t.slice(n)),r>n&&p(t))}c.push(i)}return g(c)}function x(t,e){var n=0,s=e.length>0,o=t.length>0,a=function(r,a,l,h,c){var u,d,p,f=[],g=0,y="0",v=r&&[],x=null!=c,b=N,w=r||o&&C.find.TAG("*",c&&a.parentNode||a),k=F+=null==b?1:Math.random()||.1;for(x&&(N=a!==E&&a,S=n);null!=(u=w[y]);y++){if(o&&u){for(d=0;p=t[d++];)if(p(u,a,l)){h.push(u);break}x&&(F=k,S=++n)}s&&((u=!p&&u)&&g--,r&&v.push(u))}if(g+=y,s&&y!==g){for(d=0;p=e[d++];)p(v,f,a,l);if(r){if(g>0)for(;y--;)v[y]||f[y]||(f[y]=J.call(h));f=m(f)}te.apply(h,f),x&&!r&&f.length>0&&g+e.length>1&&i.uniqueSort(h)}return x&&(F=k,N=b),v};return s?r(a):a}function b(t,e,n){for(var r=0,s=e.length;s>r;r++)i(t,e[r],n);return n}function w(t,e,i,n){var r,s,o,a,l,h=d(t);if(!n&&1===h.length){if(s=h[0]=h[0].slice(0),s.length>2&&"ID"===(o=s[0]).type&&T.getById&&9===e.nodeType&&I&&C.relative[s[1].type]){if(e=(C.find.ID(o.matches[0].replace(Te,Se),e)||[])[0],!e)return i;t=t.slice(s.shift().value.length)}for(r=ye.needsContext.test(t)?0:s.length;r--&&(o=s[r],!C.relative[a=o.type]);)if((l=C.find[a])&&(n=l(o.matches[0].replace(Te,Se),pe.test(s[0].type)&&e.parentNode||e))){if(s.splice(r,1),t=n.length&&p(s),!t)return te.apply(i,n),i;break}}return P(t,h)(n,e,!I,i,pe.test(t)),i}var k,T,S,C,A,L,P,N,M,D,E,O,I,H,R,B,z,j="sizzle"+-new Date,_=t.document,F=0,W=0,X=n(),Y=n(),G=n(),$=!1,q=function(t,e){return t===e?($=!0,0):0},V=typeof e,U=1<<31,Z={}.hasOwnProperty,K=[],J=K.pop,Q=K.push,te=K.push,ee=K.slice,ie=K.indexOf||function(t){for(var e=0,i=this.length;i>e;e++)if(this[e]===t)return e;return-1},ne="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",re="[\\x20\\t\\r\\n\\f]",oe="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ae=oe.replace("w","w#"),le="\\["+re+"*("+oe+")"+re+"*(?:([*^$|!~]?=)"+re+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+ae+")|)|)"+re+"*\\]",he=":("+oe+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+le.replace(3,8)+")*)|.*)\\)|)",ce=RegExp("^"+re+"+|((?:^|[^\\\\])(?:\\\\.)*)"+re+"+$","g"),ue=RegExp("^"+re+"*,"+re+"*"),de=RegExp("^"+re+"*([>+~]|"+re+")"+re+"*"),pe=RegExp(re+"*[+~]"),fe=RegExp("="+re+"*([^\\]'\"]*)"+re+"*\\]","g"),ge=RegExp(he),me=RegExp("^"+ae+"$"),ye={ID:RegExp("^#("+oe+")"),CLASS:RegExp("^\\.("+oe+")"),TAG:RegExp("^("+oe.replace("w","w*")+")"),ATTR:RegExp("^"+le),PSEUDO:RegExp("^"+he),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+re+"*(even|odd|(([+-]|)(\\d*)n|)"+re+"*(?:([+-]|)"+re+"*(\\d+)|))"+re+"*\\)|)","i"),bool:RegExp("^(?:"+ne+")$","i"),needsContext:RegExp("^"+re+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+re+"*((?:-\\d)?\\d*)"+re+"*\\)|)(?=[^-]|$)","i")},ve=/^[^{]+\{\s*\[native \w/,xe=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,be=/^(?:input|select|textarea|button)$/i,we=/^h\d$/i,ke=/'|\\/g,Te=RegExp("\\\\([\\da-f]{1,6}"+re+"?|("+re+")|.)","ig"),Se=function(t,e,i){var n="0x"+e-65536;return n!==n||i?e:0>n?String.fromCharCode(n+65536):String.fromCharCode(55296|n>>10,56320|1023&n)};try{te.apply(K=ee.call(_.childNodes),_.childNodes),K[_.childNodes.length].nodeType}catch(Ce){te={apply:K.length?function(t,e){Q.apply(t,ee.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}L=i.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return e?"HTML"!==e.nodeName:!1},T=i.support={},D=i.setDocument=function(t){var i=t?t.ownerDocument||t:_,n=i.defaultView;return i!==E&&9===i.nodeType&&i.documentElement?(E=i,O=i.documentElement,I=!L(i),n&&n.attachEvent&&n!==n.top&&n.attachEvent("onbeforeunload",function(){D()}),T.attributes=s(function(t){return t.className="i",!t.getAttribute("className")}),T.getElementsByTagName=s(function(t){return t.appendChild(i.createComment("")),!t.getElementsByTagName("*").length}),T.getElementsByClassName=s(function(t){return t.innerHTML="<div class='a'></div><div class='a i'></div>",t.firstChild.className="i",2===t.getElementsByClassName("i").length}),T.getById=s(function(t){return O.appendChild(t).id=j,!i.getElementsByName||!i.getElementsByName(j).length}),T.getById?(C.find.ID=function(t,e){if(typeof e.getElementById!==V&&I){var i=e.getElementById(t);return i&&i.parentNode?[i]:[]}},C.filter.ID=function(t){var e=t.replace(Te,Se);return function(t){return t.getAttribute("id")===e}}):(delete C.find.ID,C.filter.ID=function(t){var e=t.replace(Te,Se);return function(t){var i=typeof t.getAttributeNode!==V&&t.getAttributeNode("id");return i&&i.value===e}}),C.find.TAG=T.getElementsByTagName?function(t,i){return typeof i.getElementsByTagName!==V?i.getElementsByTagName(t):e}:function(t,e){var i,n=[],r=0,s=e.getElementsByTagName(t);if("*"===t){for(;i=s[r++];)1===i.nodeType&&n.push(i);return n}return s},C.find.CLASS=T.getElementsByClassName&&function(t,i){return typeof i.getElementsByClassName!==V&&I?i.getElementsByClassName(t):e},R=[],H=[],(T.qsa=ve.test(i.querySelectorAll))&&(s(function(t){t.innerHTML="<select><option selected=''></option></select>",t.querySelectorAll("[selected]").length||H.push("\\["+re+"*(?:value|"+ne+")"),t.querySelectorAll(":checked").length||H.push(":checked")}),s(function(t){var e=i.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("t",""),t.querySelectorAll("[t^='']").length&&H.push("[*^$]="+re+"*(?:''|\"\")"),t.querySelectorAll(":enabled").length||H.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),H.push(",.*:")})),(T.matchesSelector=ve.test(B=O.webkitMatchesSelector||O.mozMatchesSelector||O.oMatchesSelector||O.msMatchesSelector))&&s(function(t){T.disconnectedMatch=B.call(t,"div"),B.call(t,"[s!='']:x"),R.push("!=",he)}),H=H.length&&RegExp(H.join("|")),R=R.length&&RegExp(R.join("|")),z=ve.test(O.contains)||O.compareDocumentPosition?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},q=O.compareDocumentPosition?function(t,e){if(t===e)return $=!0,0;var n=e.compareDocumentPosition&&t.compareDocumentPosition&&t.compareDocumentPosition(e);return n?1&n||!T.sortDetached&&e.compareDocumentPosition(t)===n?t===i||z(_,t)?-1:e===i||z(_,e)?1:M?ie.call(M,t)-ie.call(M,e):0:4&n?-1:1:t.compareDocumentPosition?-1:1}:function(t,e){var n,r=0,s=t.parentNode,o=e.parentNode,l=[t],h=[e];if(t===e)return $=!0,0;if(!s||!o)return t===i?-1:e===i?1:s?-1:o?1:M?ie.call(M,t)-ie.call(M,e):0;if(s===o)return a(t,e);for(n=t;n=n.parentNode;)l.unshift(n);for(n=e;n=n.parentNode;)h.unshift(n);for(;l[r]===h[r];)r++;return r?a(l[r],h[r]):l[r]===_?-1:h[r]===_?1:0},i):E},i.matches=function(t,e){return i(t,null,null,e)},i.matchesSelector=function(t,e){if((t.ownerDocument||t)!==E&&D(t),e=e.replace(fe,"='$1']"),!(!T.matchesSelector||!I||R&&R.test(e)||H&&H.test(e)))try{var n=B.call(t,e);if(n||T.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(r){}return i(e,E,null,[t]).length>0},i.contains=function(t,e){return(t.ownerDocument||t)!==E&&D(t),z(t,e)},i.attr=function(t,i){(t.ownerDocument||t)!==E&&D(t);var n=C.attrHandle[i.toLowerCase()],r=n&&Z.call(C.attrHandle,i.toLowerCase())?n(t,i,!I):e;return r===e?T.attributes||!I?t.getAttribute(i):(r=t.getAttributeNode(i))&&r.specified?r.value:null:r},i.error=function(t){throw Error("Syntax error, unrecognized expression: "+t)},i.uniqueSort=function(t){var e,i=[],n=0,r=0;if($=!T.detectDuplicates,M=!T.sortStable&&t.slice(0),t.sort(q),$){for(;e=t[r++];)e===t[r]&&(n=i.push(r));for(;n--;)t.splice(i[n],1)}return t},A=i.getText=function(t){var e,i="",n=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=A(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[n];n++)i+=A(e);return i},C=i.selectors={cacheLength:50,createPseudo:r,match:ye,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(Te,Se),t[3]=(t[4]||t[5]||"").replace(Te,Se),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||i.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&i.error(t[0]),t},PSEUDO:function(t){var i,n=!t[5]&&t[2];return ye.CHILD.test(t[0])?null:(t[3]&&t[4]!==e?t[2]=t[4]:n&&ge.test(n)&&(i=d(n,!0))&&(i=n.indexOf(")",n.length-i)-n.length)&&(t[0]=t[0].slice(0,i),t[2]=n.slice(0,i)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(Te,Se).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=X[t+" "];return e||(e=RegExp("(^|"+re+")"+t+"("+re+"|$)"))&&X(t,function(t){return e.test("string"==typeof t.className&&t.className||typeof t.getAttribute!==V&&t.getAttribute("class")||"")})},ATTR:function(t,e,n){return function(r){var s=i.attr(r,t);return null==s?"!="===e:e?(s+="","="===e?s===n:"!="===e?s!==n:"^="===e?n&&0===s.indexOf(n):"*="===e?n&&s.indexOf(n)>-1:"$="===e?n&&s.slice(-n.length)===n:"~="===e?(" "+s+" ").indexOf(n)>-1:"|="===e?s===n||s.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(t,e,i,n,r){var s="nth"!==t.slice(0,3),o="last"!==t.slice(-4),a="of-type"===e;return 1===n&&0===r?function(t){return!!t.parentNode}:function(e,i,l){var h,c,u,d,p,f,g=s!==o?"nextSibling":"previousSibling",m=e.parentNode,y=a&&e.nodeName.toLowerCase(),v=!l&&!a;if(m){if(s){for(;g;){for(u=e;u=u[g];)if(a?u.nodeName.toLowerCase()===y:1===u.nodeType)return!1;f=g="only"===t&&!f&&"nextSibling"}return!0}if(f=[o?m.firstChild:m.lastChild],o&&v){for(c=m[j]||(m[j]={}),h=c[t]||[],p=h[0]===F&&h[1],d=h[0]===F&&h[2],u=p&&m.childNodes[p];u=++p&&u&&u[g]||(d=p=0)||f.pop();)if(1===u.nodeType&&++d&&u===e){c[t]=[F,p,d];break}}else if(v&&(h=(e[j]||(e[j]={}))[t])&&h[0]===F)d=h[1];else for(;(u=++p&&u&&u[g]||(d=p=0)||f.pop())&&((a?u.nodeName.toLowerCase()!==y:1!==u.nodeType)||!++d||(v&&((u[j]||(u[j]={}))[t]=[F,d]),u!==e)););return d-=r,d===n||0===d%n&&d/n>=0}}},PSEUDO:function(t,e){var n,s=C.pseudos[t]||C.setFilters[t.toLowerCase()]||i.error("unsupported pseudo: "+t);return s[j]?s(e):s.length>1?(n=[t,t,"",e],C.setFilters.hasOwnProperty(t.toLowerCase())?r(function(t,i){for(var n,r=s(t,e),o=r.length;o--;)n=ie.call(t,r[o]),t[n]=!(i[n]=r[o])}):function(t){return s(t,0,n)}):s}},pseudos:{not:r(function(t){var e=[],i=[],n=P(t.replace(ce,"$1"));return n[j]?r(function(t,e,i,r){for(var s,o=n(t,null,r,[]),a=t.length;a--;)(s=o[a])&&(t[a]=!(e[a]=s))}):function(t,r,s){return e[0]=t,n(e,null,s,i),!i.pop()}}),has:r(function(t){return function(e){return i(t,e).length>0}}),contains:r(function(t){return function(e){return(e.textContent||e.innerText||A(e)).indexOf(t)>-1}}),lang:r(function(t){return me.test(t||"")||i.error("unsupported lang: "+t),t=t.replace(Te,Se).toLowerCase(),function(e){var i;do if(i=I?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return i=i.toLowerCase(),i===t||0===i.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===O},focus:function(t){return t===E.activeElement&&(!E.hasFocus||E.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeName>"@"||3===t.nodeType||4===t.nodeType)return!1;return!0},parent:function(t){return!C.pseudos.empty(t)},header:function(t){return we.test(t.nodeName)},input:function(t){return be.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||e.toLowerCase()===t.type)},first:c(function(){return[0]}),last:c(function(t,e){return[e-1]}),eq:c(function(t,e,i){return[0>i?i+e:i]}),even:c(function(t,e){for(var i=0;e>i;i+=2)t.push(i);return t}),odd:c(function(t,e){for(var i=1;e>i;i+=2)t.push(i);return t}),lt:c(function(t,e,i){for(var n=0>i?i+e:i;--n>=0;)t.push(n);return t}),gt:c(function(t,e,i){for(var n=0>i?i+e:i;e>++n;)t.push(n);return t})}},C.pseudos.nth=C.pseudos.eq;for(k in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})C.pseudos[k]=l(k);for(k in{submit:!0,reset:!0})C.pseudos[k]=h(k);u.prototype=C.filters=C.pseudos,C.setFilters=new u,P=i.compile=function(t,e){var i,n=[],r=[],s=G[t+" "];if(!s){for(e||(e=d(t)),i=e.length;i--;)s=v(e[i]),s[j]?n.push(s):r.push(s);s=G(t,x(r,n))}return s},T.sortStable=j.split("").sort(q).join("")===j,T.detectDuplicates=$,D(),T.sortDetached=s(function(t){return 1&t.compareDocumentPosition(E.createElement("div"))}),s(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width",function(t,i,n){return n?e:t.getAttribute(i,"type"===i.toLowerCase()?1:2)}),T.attributes&&s(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function(t,i,n){return n||"input"!==t.nodeName.toLowerCase()?e:t.defaultValue
|
|
}),s(function(t){return null==t.getAttribute("disabled")})||o(ne,function(t,i,n){var r;return n?e:(r=t.getAttributeNode(i))&&r.specified?r.value:t[i]===!0?i.toLowerCase():null}),se.find=i,se.expr=i.selectors,se.expr[":"]=se.expr.pseudos,se.unique=i.uniqueSort,se.text=i.getText,se.isXMLDoc=i.isXML,se.contains=i.contains}(t);var fe={};se.Callbacks=function(t){t="string"==typeof t?fe[t]||n(t):se.extend({},t);var i,r,s,o,a,l,h=[],c=!t.once&&[],u=function(e){for(i=t.memory&&e,r=!0,l=o||0,o=0,a=h.length,s=!0;h&&a>l;l++)if(h[l].apply(e[0],e[1])===!1&&t.stopOnFalse){i=!1;break}s=!1,h&&(c?c.length&&u(c.shift()):i?h=[]:d.disable())},d={add:function(){if(h){var e=h.length;!function n(e){se.each(e,function(e,i){var r=se.type(i);"function"===r?t.unique&&d.has(i)||h.push(i):i&&i.length&&"string"!==r&&n(i)})}(arguments),s?a=h.length:i&&(o=e,u(i))}return this},remove:function(){return h&&se.each(arguments,function(t,e){for(var i;(i=se.inArray(e,h,i))>-1;)h.splice(i,1),s&&(a>=i&&a--,l>=i&&l--)}),this},has:function(t){return t?se.inArray(t,h)>-1:!(!h||!h.length)},empty:function(){return h=[],a=0,this},disable:function(){return h=c=i=e,this},disabled:function(){return!h},lock:function(){return c=e,i||d.disable(),this},locked:function(){return!c},fireWith:function(t,e){return!h||r&&!c||(e=e||[],e=[t,e.slice?e.slice():e],s?c.push(e):u(e)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!r}};return d},se.extend({Deferred:function(t){var e=[["resolve","done",se.Callbacks("once memory"),"resolved"],["reject","fail",se.Callbacks("once memory"),"rejected"],["notify","progress",se.Callbacks("memory")]],i="pending",n={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var t=arguments;return se.Deferred(function(i){se.each(e,function(e,s){var o=s[0],a=se.isFunction(t[e])&&t[e];r[s[1]](function(){var t=a&&a.apply(this,arguments);t&&se.isFunction(t.promise)?t.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[o+"With"](this===n?i.promise():this,a?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?se.extend(t,n):n}},r={};return n.pipe=n.then,se.each(e,function(t,s){var o=s[2],a=s[3];n[s[1]]=o.add,a&&o.add(function(){i=a},e[1^t][2].disable,e[2][2].lock),r[s[0]]=function(){return r[s[0]+"With"](this===r?n:this,arguments),this},r[s[0]+"With"]=o.fireWith}),n.promise(r),t&&t.call(r,r),r},when:function(t){var e,i,n,r=0,s=te.call(arguments),o=s.length,a=1!==o||t&&se.isFunction(t.promise)?o:0,l=1===a?t:se.Deferred(),h=function(t,i,n){return function(r){i[t]=this,n[t]=arguments.length>1?te.call(arguments):r,n===e?l.notifyWith(i,n):--a||l.resolveWith(i,n)}};if(o>1)for(e=Array(o),i=Array(o),n=Array(o);o>r;r++)s[r]&&se.isFunction(s[r].promise)?s[r].promise().done(h(r,n,s)).fail(l.reject).progress(h(r,i,e)):--a;return a||l.resolveWith(n,s),l.promise()}}),se.support=function(e){var i=G.createElement("input"),n=G.createDocumentFragment(),r=G.createElement("div"),s=G.createElement("select"),o=s.appendChild(G.createElement("option"));return i.type?(i.type="checkbox",e.checkOn=""!==i.value,e.optSelected=o.selected,e.reliableMarginRight=!0,e.boxSizingReliable=!0,e.pixelPosition=!1,i.checked=!0,e.noCloneChecked=i.cloneNode(!0).checked,s.disabled=!0,e.optDisabled=!o.disabled,i=G.createElement("input"),i.value="t",i.type="radio",e.radioValue="t"===i.value,i.setAttribute("checked","t"),i.setAttribute("name","t"),n.appendChild(i),e.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked,e.focusinBubbles="onfocusin"in t,r.style.backgroundClip="content-box",r.cloneNode(!0).style.backgroundClip="",e.clearCloneStyle="content-box"===r.style.backgroundClip,se(function(){var i,n,s="padding:0;margin:0;border:0;display:block;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box",o=G.getElementsByTagName("body")[0];o&&(i=G.createElement("div"),i.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",o.appendChild(i).appendChild(r),r.innerHTML="",r.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%",se.swap(o,null!=o.style.zoom?{zoom:1}:{},function(){e.boxSizing=4===r.offsetWidth}),t.getComputedStyle&&(e.pixelPosition="1%"!==(t.getComputedStyle(r,null)||{}).top,e.boxSizingReliable="4px"===(t.getComputedStyle(r,null)||{width:"4px"}).width,n=r.appendChild(G.createElement("div")),n.style.cssText=r.style.cssText=s,n.style.marginRight=n.style.width="0",r.style.width="1px",e.reliableMarginRight=!parseFloat((t.getComputedStyle(n,null)||{}).marginRight)),o.removeChild(i))}),e):e}({});var ge,me,ye=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,ve=/([A-Z])/g;r.uid=1,r.accepts=function(t){return t.nodeType?1===t.nodeType||9===t.nodeType:!0},r.prototype={key:function(t){if(!r.accepts(t))return 0;var e={},i=t[this.expando];if(!i){i=r.uid++;try{e[this.expando]={value:i},Object.defineProperties(t,e)}catch(n){e[this.expando]=i,se.extend(t,e)}}return this.cache[i]||(this.cache[i]={}),i},set:function(t,e,i){var n,r=this.key(t),s=this.cache[r];if("string"==typeof e)s[e]=i;else if(se.isEmptyObject(s))se.extend(this.cache[r],e);else for(n in e)s[n]=e[n];return s},get:function(t,i){var n=this.cache[this.key(t)];return i===e?n:n[i]},access:function(t,i,n){var r;return i===e||i&&"string"==typeof i&&n===e?(r=this.get(t,i),r!==e?r:this.get(t,se.camelCase(i))):(this.set(t,i,n),n!==e?n:i)},remove:function(t,i){var n,r,s,o=this.key(t),a=this.cache[o];if(i===e)this.cache[o]={};else{se.isArray(i)?r=i.concat(i.map(se.camelCase)):(s=se.camelCase(i),i in a?r=[i,s]:(r=s,r=r in a?[r]:r.match(ae)||[])),n=r.length;for(;n--;)delete a[r[n]]}},hasData:function(t){return!se.isEmptyObject(this.cache[t[this.expando]]||{})},discard:function(t){t[this.expando]&&delete this.cache[t[this.expando]]}},ge=new r,me=new r,se.extend({acceptData:r.accepts,hasData:function(t){return ge.hasData(t)||me.hasData(t)},data:function(t,e,i){return ge.access(t,e,i)},removeData:function(t,e){ge.remove(t,e)},_data:function(t,e,i){return me.access(t,e,i)},_removeData:function(t,e){me.remove(t,e)}}),se.fn.extend({data:function(t,i){var n,r,o=this[0],a=0,l=null;if(t===e){if(this.length&&(l=ge.get(o),1===o.nodeType&&!me.get(o,"hasDataAttrs"))){for(n=o.attributes;n.length>a;a++)r=n[a].name,0===r.indexOf("data-")&&(r=se.camelCase(r.slice(5)),s(o,r,l[r]));me.set(o,"hasDataAttrs",!0)}return l}return"object"==typeof t?this.each(function(){ge.set(this,t)}):se.access(this,function(i){var n,r=se.camelCase(t);if(o&&i===e){if(n=ge.get(o,t),n!==e)return n;if(n=ge.get(o,r),n!==e)return n;if(n=s(o,r,e),n!==e)return n}else this.each(function(){var n=ge.get(this,r);ge.set(this,r,i),-1!==t.indexOf("-")&&n!==e&&ge.set(this,t,i)})},null,i,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){ge.remove(this,t)})}}),se.extend({queue:function(t,i,n){var r;return t?(i=(i||"fx")+"queue",r=me.get(t,i),n&&(!r||se.isArray(n)?r=me.access(t,i,se.makeArray(n)):r.push(n)),r||[]):e},dequeue:function(t,e){e=e||"fx";var i=se.queue(t,e),n=i.length,r=i.shift(),s=se._queueHooks(t,e),o=function(){se.dequeue(t,e)};"inprogress"===r&&(r=i.shift(),n--),r&&("fx"===e&&i.unshift("inprogress"),delete s.stop,r.call(t,o,s)),!n&&s&&s.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return me.get(t,i)||me.access(t,i,{empty:se.Callbacks("once memory").add(function(){me.remove(t,[e+"queue",i])})})}}),se.fn.extend({queue:function(t,i){var n=2;return"string"!=typeof t&&(i=t,t="fx",n--),n>arguments.length?se.queue(this[0],t):i===e?this:this.each(function(){var e=se.queue(this,t,i);se._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&se.dequeue(this,t)})},dequeue:function(t){return this.each(function(){se.dequeue(this,t)})},delay:function(t,e){return t=se.fx?se.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,i){var n=setTimeout(e,t);i.stop=function(){clearTimeout(n)}})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,i){var n,r=1,s=se.Deferred(),o=this,a=this.length,l=function(){--r||s.resolveWith(o,[o])};for("string"!=typeof t&&(i=t,t=e),t=t||"fx";a--;)n=me.get(o[a],t+"queueHooks"),n&&n.empty&&(r++,n.empty.add(l));return l(),s.promise(i)}});var xe,be,we=/[\t\r\n\f]/g,ke=/\r/g,Te=/^(?:input|select|textarea|button)$/i;se.fn.extend({attr:function(t,e){return se.access(this,se.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){se.removeAttr(this,t)})},prop:function(t,e){return se.access(this,se.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[se.propFix[t]||t]})},addClass:function(t){var e,i,n,r,s,o=0,a=this.length,l="string"==typeof t&&t;if(se.isFunction(t))return this.each(function(e){se(this).addClass(t.call(this,e,this.className))});if(l)for(e=(t||"").match(ae)||[];a>o;o++)if(i=this[o],n=1===i.nodeType&&(i.className?(" "+i.className+" ").replace(we," "):" ")){for(s=0;r=e[s++];)0>n.indexOf(" "+r+" ")&&(n+=r+" ");i.className=se.trim(n)}return this},removeClass:function(t){var e,i,n,r,s,o=0,a=this.length,l=0===arguments.length||"string"==typeof t&&t;if(se.isFunction(t))return this.each(function(e){se(this).removeClass(t.call(this,e,this.className))});if(l)for(e=(t||"").match(ae)||[];a>o;o++)if(i=this[o],n=1===i.nodeType&&(i.className?(" "+i.className+" ").replace(we," "):"")){for(s=0;r=e[s++];)for(;n.indexOf(" "+r+" ")>=0;)n=n.replace(" "+r+" "," ");i.className=t?se.trim(n):""}return this},toggleClass:function(t,e){var i=typeof t;return"boolean"==typeof e&&"string"===i?e?this.addClass(t):this.removeClass(t):se.isFunction(t)?this.each(function(i){se(this).toggleClass(t.call(this,i,this.className,e),e)}):this.each(function(){if("string"===i)for(var e,n=0,r=se(this),s=t.match(ae)||[];e=s[n++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else(i===X||"boolean"===i)&&(this.className&&me.set(this,"__className__",this.className),this.className=this.className||t===!1?"":me.get(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",i=0,n=this.length;n>i;i++)if(1===this[i].nodeType&&(" "+this[i].className+" ").replace(we," ").indexOf(e)>=0)return!0;return!1},val:function(t){var i,n,r,s=this[0];return arguments.length?(r=se.isFunction(t),this.each(function(n){var s;1===this.nodeType&&(s=r?t.call(this,n,se(this).val()):t,null==s?s="":"number"==typeof s?s+="":se.isArray(s)&&(s=se.map(s,function(t){return null==t?"":t+""})),i=se.valHooks[this.type]||se.valHooks[this.nodeName.toLowerCase()],i&&"set"in i&&i.set(this,s,"value")!==e||(this.value=s))})):s?(i=se.valHooks[s.type]||se.valHooks[s.nodeName.toLowerCase()],i&&"get"in i&&(n=i.get(s,"value"))!==e?n:(n=s.value,"string"==typeof n?n.replace(ke,""):null==n?"":n)):void 0}}),se.extend({valHooks:{option:{get:function(t){var e=t.attributes.value;return!e||e.specified?t.value:t.text}},select:{get:function(t){for(var e,i,n=t.options,r=t.selectedIndex,s="select-one"===t.type||0>r,o=s?null:[],a=s?r+1:n.length,l=0>r?a:s?r:0;a>l;l++)if(i=n[l],!(!i.selected&&l!==r||(se.support.optDisabled?i.disabled:null!==i.getAttribute("disabled"))||i.parentNode.disabled&&se.nodeName(i.parentNode,"optgroup"))){if(e=se(i).val(),s)return e;o.push(e)}return o},set:function(t,e){for(var i,n,r=t.options,s=se.makeArray(e),o=r.length;o--;)n=r[o],(n.selected=se.inArray(se(n).val(),s)>=0)&&(i=!0);return i||(t.selectedIndex=-1),s}}},attr:function(t,i,n){var r,s,o=t.nodeType;return t&&3!==o&&8!==o&&2!==o?typeof t.getAttribute===X?se.prop(t,i,n):(1===o&&se.isXMLDoc(t)||(i=i.toLowerCase(),r=se.attrHooks[i]||(se.expr.match.bool.test(i)?be:xe)),n===e?r&&"get"in r&&null!==(s=r.get(t,i))?s:(s=se.find.attr(t,i),null==s?e:s):null!==n?r&&"set"in r&&(s=r.set(t,n,i))!==e?s:(t.setAttribute(i,n+""),n):(se.removeAttr(t,i),e)):void 0},removeAttr:function(t,e){var i,n,r=0,s=e&&e.match(ae);if(s&&1===t.nodeType)for(;i=s[r++];)n=se.propFix[i]||i,se.expr.match.bool.test(i)&&(t[n]=!1),t.removeAttribute(i)},attrHooks:{type:{set:function(t,e){if(!se.support.radioValue&&"radio"===e&&se.nodeName(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(t,i,n){var r,s,o,a=t.nodeType;return t&&3!==a&&8!==a&&2!==a?(o=1!==a||!se.isXMLDoc(t),o&&(i=se.propFix[i]||i,s=se.propHooks[i]),n!==e?s&&"set"in s&&(r=s.set(t,n,i))!==e?r:t[i]=n:s&&"get"in s&&null!==(r=s.get(t,i))?r:t[i]):void 0},propHooks:{tabIndex:{get:function(t){return t.hasAttribute("tabindex")||Te.test(t.nodeName)||t.href?t.tabIndex:-1}}}}),be={set:function(t,e,i){return e===!1?se.removeAttr(t,i):t.setAttribute(i,i),i}},se.each(se.expr.match.bool.source.match(/\w+/g),function(t,i){var n=se.expr.attrHandle[i]||se.find.attr;se.expr.attrHandle[i]=function(t,i,r){var s=se.expr.attrHandle[i],o=r?e:(se.expr.attrHandle[i]=e)!=n(t,i,r)?i.toLowerCase():null;return se.expr.attrHandle[i]=s,o}}),se.support.optSelected||(se.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null}}),se.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){se.propFix[this.toLowerCase()]=this}),se.each(["radio","checkbox"],function(){se.valHooks[this]={set:function(t,i){return se.isArray(i)?t.checked=se.inArray(se(t).val(),i)>=0:e}},se.support.checkOn||(se.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var Se=/^key/,Ce=/^(?:mouse|contextmenu)|click/,Ae=/^(?:focusinfocus|focusoutblur)$/,Le=/^([^.]*)(?:\.(.+)|)$/;se.event={global:{},add:function(t,i,n,r,s){var o,a,l,h,c,u,d,p,f,g,m,y=me.get(t);if(y){for(n.handler&&(o=n,n=o.handler,s=o.selector),n.guid||(n.guid=se.guid++),(h=y.events)||(h=y.events={}),(a=y.handle)||(a=y.handle=function(t){return typeof se===X||t&&se.event.triggered===t.type?e:se.event.dispatch.apply(a.elem,arguments)},a.elem=t),i=(i||"").match(ae)||[""],c=i.length;c--;)l=Le.exec(i[c])||[],f=m=l[1],g=(l[2]||"").split(".").sort(),f&&(d=se.event.special[f]||{},f=(s?d.delegateType:d.bindType)||f,d=se.event.special[f]||{},u=se.extend({type:f,origType:m,data:r,handler:n,guid:n.guid,selector:s,needsContext:s&&se.expr.match.needsContext.test(s),namespace:g.join(".")},o),(p=h[f])||(p=h[f]=[],p.delegateCount=0,d.setup&&d.setup.call(t,r,g,a)!==!1||t.addEventListener&&t.addEventListener(f,a,!1)),d.add&&(d.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),s?p.splice(p.delegateCount++,0,u):p.push(u),se.event.global[f]=!0);t=null}},remove:function(t,e,i,n,r){var s,o,a,l,h,c,u,d,p,f,g,m=me.hasData(t)&&me.get(t);if(m&&(l=m.events)){for(e=(e||"").match(ae)||[""],h=e.length;h--;)if(a=Le.exec(e[h])||[],p=g=a[1],f=(a[2]||"").split(".").sort(),p){for(u=se.event.special[p]||{},p=(n?u.delegateType:u.bindType)||p,d=l[p]||[],a=a[2]&&RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=s=d.length;s--;)c=d[s],!r&&g!==c.origType||i&&i.guid!==c.guid||a&&!a.test(c.namespace)||n&&n!==c.selector&&("**"!==n||!c.selector)||(d.splice(s,1),c.selector&&d.delegateCount--,u.remove&&u.remove.call(t,c));o&&!d.length&&(u.teardown&&u.teardown.call(t,f,m.handle)!==!1||se.removeEvent(t,p,m.handle),delete l[p])}else for(p in l)se.event.remove(t,p+e[h],i,n,!0);se.isEmptyObject(l)&&(delete m.handle,me.remove(t,"events"))}},trigger:function(i,n,r,s){var o,a,l,h,c,u,d,p=[r||G],f=ne.call(i,"type")?i.type:i,g=ne.call(i,"namespace")?i.namespace.split("."):[];if(a=l=r=r||G,3!==r.nodeType&&8!==r.nodeType&&!Ae.test(f+se.event.triggered)&&(f.indexOf(".")>=0&&(g=f.split("."),f=g.shift(),g.sort()),c=0>f.indexOf(":")&&"on"+f,i=i[se.expando]?i:new se.Event(f,"object"==typeof i&&i),i.isTrigger=s?2:3,i.namespace=g.join("."),i.namespace_re=i.namespace?RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,i.result=e,i.target||(i.target=r),n=null==n?[i]:se.makeArray(n,[i]),d=se.event.special[f]||{},s||!d.trigger||d.trigger.apply(r,n)!==!1)){if(!s&&!d.noBubble&&!se.isWindow(r)){for(h=d.delegateType||f,Ae.test(h+f)||(a=a.parentNode);a;a=a.parentNode)p.push(a),l=a;l===(r.ownerDocument||G)&&p.push(l.defaultView||l.parentWindow||t)}for(o=0;(a=p[o++])&&!i.isPropagationStopped();)i.type=o>1?h:d.bindType||f,u=(me.get(a,"events")||{})[i.type]&&me.get(a,"handle"),u&&u.apply(a,n),u=c&&a[c],u&&se.acceptData(a)&&u.apply&&u.apply(a,n)===!1&&i.preventDefault();return i.type=f,s||i.isDefaultPrevented()||d._default&&d._default.apply(p.pop(),n)!==!1||!se.acceptData(r)||c&&se.isFunction(r[f])&&!se.isWindow(r)&&(l=r[c],l&&(r[c]=null),se.event.triggered=f,r[f](),se.event.triggered=e,l&&(r[c]=l)),i.result}},dispatch:function(t){t=se.event.fix(t);var i,n,r,s,o,a=[],l=te.call(arguments),h=(me.get(this,"events")||{})[t.type]||[],c=se.event.special[t.type]||{};if(l[0]=t,t.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,t)!==!1){for(a=se.event.handlers.call(this,t,h),i=0;(s=a[i++])&&!t.isPropagationStopped();)for(t.currentTarget=s.elem,n=0;(o=s.handlers[n++])&&!t.isImmediatePropagationStopped();)(!t.namespace_re||t.namespace_re.test(o.namespace))&&(t.handleObj=o,t.data=o.data,r=((se.event.special[o.origType]||{}).handle||o.handler).apply(s.elem,l),r!==e&&(t.result=r)===!1&&(t.preventDefault(),t.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(t,i){var n,r,s,o,a=[],l=i.delegateCount,h=t.target;if(l&&h.nodeType&&(!t.button||"click"!==t.type))for(;h!==this;h=h.parentNode||this)if(h.disabled!==!0||"click"!==t.type){for(r=[],n=0;l>n;n++)o=i[n],s=o.selector+" ",r[s]===e&&(r[s]=o.needsContext?se(s,this).index(h)>=0:se.find(s,this,null,[h]).length),r[s]&&r.push(o);r.length&&a.push({elem:h,handlers:r})}return i.length>l&&a.push({elem:this,handlers:i.slice(l)}),a},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,i){var n,r,s,o=i.button;return null==t.pageX&&null!=i.clientX&&(n=t.target.ownerDocument||G,r=n.documentElement,s=n.body,t.pageX=i.clientX+(r&&r.scrollLeft||s&&s.scrollLeft||0)-(r&&r.clientLeft||s&&s.clientLeft||0),t.pageY=i.clientY+(r&&r.scrollTop||s&&s.scrollTop||0)-(r&&r.clientTop||s&&s.clientTop||0)),t.which||o===e||(t.which=1&o?1:2&o?3:4&o?2:0),t}},fix:function(t){if(t[se.expando])return t;var e,i,n,r=t.type,s=t,o=this.fixHooks[r];for(o||(this.fixHooks[r]=o=Ce.test(r)?this.mouseHooks:Se.test(r)?this.keyHooks:{}),n=o.props?this.props.concat(o.props):this.props,t=new se.Event(s),e=n.length;e--;)i=n[e],t[i]=s[i];return t.target||(t.target=G),3===t.target.nodeType&&(t.target=t.target.parentNode),o.filter?o.filter(t,s):t},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==l()&&this.focus?(this.focus(),!1):e},delegateType:"focusin"},blur:{trigger:function(){return this===l()&&this.blur?(this.blur(),!1):e},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&se.nodeName(this,"input")?(this.click(),!1):e},_default:function(t){return se.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){t.result!==e&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,i,n){var r=se.extend(new se.Event,i,{type:t,isSimulated:!0,originalEvent:{}});n?se.event.trigger(r,null,e):se.event.dispatch.call(e,r),r.isDefaultPrevented()&&i.preventDefault()}},se.removeEvent=function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i,!1)},se.Event=function(t,i){return this instanceof se.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||t.getPreventDefault&&t.getPreventDefault()?o:a):this.type=t,i&&se.extend(this,i),this.timeStamp=t&&t.timeStamp||se.now(),this[se.expando]=!0,e):new se.Event(t,i)},se.Event.prototype={isDefaultPrevented:a,isPropagationStopped:a,isImmediatePropagationStopped:a,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=o,t&&t.preventDefault&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=o,t&&t.stopPropagation&&t.stopPropagation()},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=o,this.stopPropagation()}},se.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(t,e){se.event.special[t]={delegateType:e,bindType:e,handle:function(t){var i,n=this,r=t.relatedTarget,s=t.handleObj;return(!r||r!==n&&!se.contains(n,r))&&(t.type=s.origType,i=s.handler.apply(this,arguments),t.type=e),i}}}),se.support.focusinBubbles||se.each({focus:"focusin",blur:"focusout"},function(t,e){var i=0,n=function(t){se.event.simulate(e,t.target,se.event.fix(t),!0)};se.event.special[e]={setup:function(){0===i++&&G.addEventListener(t,n,!0)},teardown:function(){0===--i&&G.removeEventListener(t,n,!0)}}}),se.fn.extend({on:function(t,i,n,r,s){var o,l;if("object"==typeof t){"string"!=typeof i&&(n=n||i,i=e);for(l in t)this.on(l,i,n,t[l],s);return this}if(null==n&&null==r?(r=i,n=i=e):null==r&&("string"==typeof i?(r=n,n=e):(r=n,n=i,i=e)),r===!1)r=a;else if(!r)return this;return 1===s&&(o=r,r=function(t){return se().off(t),o.apply(this,arguments)},r.guid=o.guid||(o.guid=se.guid++)),this.each(function(){se.event.add(this,t,r,n,i)})},one:function(t,e,i,n){return this.on(t,e,i,n,1)},off:function(t,i,n){var r,s;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,se(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(s in t)this.off(s,i,t[s]);return this}return(i===!1||"function"==typeof i)&&(n=i,i=e),n===!1&&(n=a),this.each(function(){se.event.remove(this,t,n,i)})},trigger:function(t,e){return this.each(function(){se.event.trigger(t,e,this)})},triggerHandler:function(t,i){var n=this[0];return n?se.event.trigger(t,i,n,!0):e}});var Pe=/^.[^:#\[\.,]*$/,Ne=/^(?:parents|prev(?:Until|All))/,Me=se.expr.match.needsContext,De={children:!0,contents:!0,next:!0,prev:!0};se.fn.extend({find:function(t){var e,i=[],n=this,r=n.length;if("string"!=typeof t)return this.pushStack(se(t).filter(function(){for(e=0;r>e;e++)if(se.contains(n[e],this))return!0}));for(e=0;r>e;e++)se.find(t,n[e],i);return i=this.pushStack(r>1?se.unique(i):i),i.selector=this.selector?this.selector+" "+t:t,i},has:function(t){var e=se(t,this),i=e.length;return this.filter(function(){for(var t=0;i>t;t++)if(se.contains(this,e[t]))return!0})},not:function(t){return this.pushStack(c(this,t||[],!0))},filter:function(t){return this.pushStack(c(this,t||[],!1))},is:function(t){return!!c(this,"string"==typeof t&&Me.test(t)?se(t):t||[],!1).length},closest:function(t,e){for(var i,n=0,r=this.length,s=[],o=Me.test(t)||"string"!=typeof t?se(t,e||this.context):0;r>n;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(11>i.nodeType&&(o?o.index(i)>-1:1===i.nodeType&&se.find.matchesSelector(i,t))){i=s.push(i);break}return this.pushStack(s.length>1?se.unique(s):s)},index:function(t){return t?"string"==typeof t?ee.call(se(t),this[0]):ee.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){var i="string"==typeof t?se(t,e):se.makeArray(t&&t.nodeType?[t]:t),n=se.merge(this.get(),i);return this.pushStack(se.unique(n))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),se.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return se.dir(t,"parentNode")},parentsUntil:function(t,e,i){return se.dir(t,"parentNode",i)},next:function(t){return h(t,"nextSibling")},prev:function(t){return h(t,"previousSibling")},nextAll:function(t){return se.dir(t,"nextSibling")},prevAll:function(t){return se.dir(t,"previousSibling")},nextUntil:function(t,e,i){return se.dir(t,"nextSibling",i)},prevUntil:function(t,e,i){return se.dir(t,"previousSibling",i)},siblings:function(t){return se.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return se.sibling(t.firstChild)},contents:function(t){return t.contentDocument||se.merge([],t.childNodes)}},function(t,e){se.fn[t]=function(i,n){var r=se.map(this,e,i);return"Until"!==t.slice(-5)&&(n=i),n&&"string"==typeof n&&(r=se.filter(n,r)),this.length>1&&(De[t]||se.unique(r),Ne.test(t)&&r.reverse()),this.pushStack(r)}}),se.extend({filter:function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?se.find.matchesSelector(n,t)?[n]:[]:se.find.matches(t,se.grep(e,function(t){return 1===t.nodeType}))},dir:function(t,i,n){for(var r=[],s=n!==e;(t=t[i])&&9!==t.nodeType;)if(1===t.nodeType){if(s&&se(t).is(n))break;r.push(t)}return r},sibling:function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}});var Ee=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Oe=/<([\w:]+)/,Ie=/<|&#?\w+;/,He=/<(?:script|style|link)/i,Re=/^(?:checkbox|radio)$/i,Be=/checked\s*(?:[^=]|=\s*.checked.)/i,ze=/^$|\/(?:java|ecma)script/i,je=/^true\/(.*)/,_e=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Fe={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Fe.optgroup=Fe.option,Fe.tbody=Fe.tfoot=Fe.colgroup=Fe.caption=Fe.thead,Fe.th=Fe.td,se.fn.extend({text:function(t){return se.access(this,function(t){return t===e?se.text(this):this.empty().append((this[0]&&this[0].ownerDocument||G).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=u(this,t);e.appendChild(t)}})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=u(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var i,n=t?se.filter(t,this):this,r=0;null!=(i=n[r]);r++)e||1!==i.nodeType||se.cleanData(m(i)),i.parentNode&&(e&&se.contains(i.ownerDocument,i)&&f(m(i,"script")),i.parentNode.removeChild(i));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(se.cleanData(m(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null==t?!1:t,e=null==e?t:e,this.map(function(){return se.clone(this,t,e)})},html:function(t){return se.access(this,function(t){var i=this[0]||{},n=0,r=this.length;if(t===e&&1===i.nodeType)return i.innerHTML;if("string"==typeof t&&!He.test(t)&&!Fe[(Oe.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(Ee,"<$1></$2>");try{for(;r>n;n++)i=this[n]||{},1===i.nodeType&&(se.cleanData(m(i,!1)),i.innerHTML=t);i=0}catch(s){}}i&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=se.map(this,function(t){return[t.nextSibling,t.parentNode]}),e=0;return this.domManip(arguments,function(i){var n=t[e++],r=t[e++];r&&(n&&n.parentNode!==r&&(n=this.nextSibling),se(this).remove(),r.insertBefore(i,n))},!0),e?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(t,e,i){t=J.apply([],t);var n,r,s,o,a,l,h=0,c=this.length,u=this,f=c-1,g=t[0],y=se.isFunction(g);if(y||!(1>=c||"string"!=typeof g||se.support.checkClone)&&Be.test(g))return this.each(function(n){var r=u.eq(n);y&&(t[0]=g.call(this,n,r.html())),r.domManip(t,e,i)});if(c&&(n=se.buildFragment(t,this[0].ownerDocument,!1,!i&&this),r=n.firstChild,1===n.childNodes.length&&(n=r),r)){for(s=se.map(m(n,"script"),d),o=s.length;c>h;h++)a=n,h!==f&&(a=se.clone(a,!0,!0),o&&se.merge(s,m(a,"script"))),e.call(this[h],a,h);if(o)for(l=s[s.length-1].ownerDocument,se.map(s,p),h=0;o>h;h++)a=s[h],ze.test(a.type||"")&&!me.access(a,"globalEval")&&se.contains(l,a)&&(a.src?se._evalUrl(a.src):se.globalEval(a.textContent.replace(_e,"")))}return this}}),se.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){se.fn[t]=function(t){for(var i,n=[],r=se(t),s=r.length-1,o=0;s>=o;o++)i=o===s?this:this.clone(!0),se(r[o])[e](i),Q.apply(n,i.get());return this.pushStack(n)}}),se.extend({clone:function(t,e,i){var n,r,s,o,a=t.cloneNode(!0),l=se.contains(t.ownerDocument,t);if(!(se.support.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||se.isXMLDoc(t)))for(o=m(a),s=m(t),n=0,r=s.length;r>n;n++)y(s[n],o[n]);if(e)if(i)for(s=s||m(t),o=o||m(a),n=0,r=s.length;r>n;n++)g(s[n],o[n]);else g(t,a);return o=m(a,"script"),o.length>0&&f(o,!l&&m(t,"script")),a},buildFragment:function(t,e,i,n){for(var r,s,o,a,l,h,c=0,u=t.length,d=e.createDocumentFragment(),p=[];u>c;c++)if(r=t[c],r||0===r)if("object"===se.type(r))se.merge(p,r.nodeType?[r]:r);else if(Ie.test(r)){for(s=s||d.appendChild(e.createElement("div")),o=(Oe.exec(r)||["",""])[1].toLowerCase(),a=Fe[o]||Fe._default,s.innerHTML=a[1]+r.replace(Ee,"<$1></$2>")+a[2],h=a[0];h--;)s=s.lastChild;se.merge(p,s.childNodes),s=d.firstChild,s.textContent=""}else p.push(e.createTextNode(r));for(d.textContent="",c=0;r=p[c++];)if((!n||-1===se.inArray(r,n))&&(l=se.contains(r.ownerDocument,r),s=m(d.appendChild(r),"script"),l&&f(s),i))for(h=0;r=s[h++];)ze.test(r.type||"")&&i.push(r);return d},cleanData:function(t){for(var i,n,s,o,a,l,h=se.event.special,c=0;(n=t[c])!==e;c++){if(r.accepts(n)&&(a=n[me.expando],a&&(i=me.cache[a]))){if(s=Object.keys(i.events||{}),s.length)for(l=0;(o=s[l])!==e;l++)h[o]?se.event.remove(n,o):se.removeEvent(n,o,i.handle);me.cache[a]&&delete me.cache[a]}delete ge.cache[n[ge.expando]]}},_evalUrl:function(t){return se.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),se.fn.extend({wrapAll:function(t){var e;return se.isFunction(t)?this.each(function(e){se(this).wrapAll(t.call(this,e))}):(this[0]&&(e=se(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this)},wrapInner:function(t){return se.isFunction(t)?this.each(function(e){se(this).wrapInner(t.call(this,e))}):this.each(function(){var e=se(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)})},wrap:function(t){var e=se.isFunction(t);return this.each(function(i){se(this).wrapAll(e?t.call(this,i):t)})},unwrap:function(){return this.parent().each(function(){se.nodeName(this,"body")||se(this).replaceWith(this.childNodes)}).end()}});var We,Xe,Ye=/^(none|table(?!-c[ea]).+)/,Ge=/^margin/,$e=RegExp("^("+oe+")(.*)$","i"),qe=RegExp("^("+oe+")(?!px)[a-z%]+$","i"),Ve=RegExp("^([+-])=("+oe+")","i"),Ue={BODY:"block"},Ze={position:"absolute",visibility:"hidden",display:"block"},Ke={letterSpacing:0,fontWeight:400},Je=["Top","Right","Bottom","Left"],Qe=["Webkit","O","Moz","ms"];se.fn.extend({css:function(t,i){return se.access(this,function(t,i,n){var r,s,o={},a=0;if(se.isArray(i)){for(r=b(t),s=i.length;s>a;a++)o[i[a]]=se.css(t,i[a],!1,r);return o}return n!==e?se.style(t,i,n):se.css(t,i)},t,i,arguments.length>1)},show:function(){return w(this,!0)},hide:function(){return w(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){x(this)?se(this).show():se(this).hide()})}}),se.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=We(t,"opacity");return""===i?"1":i}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(t,i,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var s,o,a,l=se.camelCase(i),h=t.style;return i=se.cssProps[l]||(se.cssProps[l]=v(h,l)),a=se.cssHooks[i]||se.cssHooks[l],n===e?a&&"get"in a&&(s=a.get(t,!1,r))!==e?s:h[i]:(o=typeof n,"string"===o&&(s=Ve.exec(n))&&(n=(s[1]+1)*s[2]+parseFloat(se.css(t,i)),o="number"),null==n||"number"===o&&isNaN(n)||("number"!==o||se.cssNumber[l]||(n+="px"),se.support.clearCloneStyle||""!==n||0!==i.indexOf("background")||(h[i]="inherit"),a&&"set"in a&&(n=a.set(t,n,r))===e||(h[i]=n)),e)}},css:function(t,i,n,r){var s,o,a,l=se.camelCase(i);return i=se.cssProps[l]||(se.cssProps[l]=v(t.style,l)),a=se.cssHooks[i]||se.cssHooks[l],a&&"get"in a&&(s=a.get(t,!0,n)),s===e&&(s=We(t,i,r)),"normal"===s&&i in Ke&&(s=Ke[i]),""===n||n?(o=parseFloat(s),n===!0||se.isNumeric(o)?o||0:s):s}}),We=function(t,i,n){var r,s,o,a=n||b(t),l=a?a.getPropertyValue(i)||a[i]:e,h=t.style;return a&&(""!==l||se.contains(t.ownerDocument,t)||(l=se.style(t,i)),qe.test(l)&&Ge.test(i)&&(r=h.width,s=h.minWidth,o=h.maxWidth,h.minWidth=h.maxWidth=h.width=l,l=a.width,h.width=r,h.minWidth=s,h.maxWidth=o)),l
|
|
},se.each(["height","width"],function(t,i){se.cssHooks[i]={get:function(t,n,r){return n?0===t.offsetWidth&&Ye.test(se.css(t,"display"))?se.swap(t,Ze,function(){return S(t,i,r)}):S(t,i,r):e},set:function(t,e,n){var r=n&&b(t);return k(t,e,n?T(t,i,n,se.support.boxSizing&&"border-box"===se.css(t,"boxSizing",!1,r),r):0)}}}),se(function(){se.support.reliableMarginRight||(se.cssHooks.marginRight={get:function(t,i){return i?se.swap(t,{display:"inline-block"},We,[t,"marginRight"]):e}}),!se.support.pixelPosition&&se.fn.position&&se.each(["top","left"],function(t,i){se.cssHooks[i]={get:function(t,n){return n?(n=We(t,i),qe.test(n)?se(t).position()[i]+"px":n):e}}})}),se.expr&&se.expr.filters&&(se.expr.filters.hidden=function(t){return 0>=t.offsetWidth&&0>=t.offsetHeight},se.expr.filters.visible=function(t){return!se.expr.filters.hidden(t)}),se.each({margin:"",padding:"",border:"Width"},function(t,e){se.cssHooks[t+e]={expand:function(i){for(var n=0,r={},s="string"==typeof i?i.split(" "):[i];4>n;n++)r[t+Je[n]+e]=s[n]||s[n-2]||s[0];return r}},Ge.test(t)||(se.cssHooks[t+e].set=k)});var ti=/%20/g,ei=/\[\]$/,ii=/\r?\n/g,ni=/^(?:submit|button|image|reset|file)$/i,ri=/^(?:input|select|textarea|keygen)/i;se.fn.extend({serialize:function(){return se.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=se.prop(this,"elements");return t?se.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!se(this).is(":disabled")&&ri.test(this.nodeName)&&!ni.test(t)&&(this.checked||!Re.test(t))}).map(function(t,e){var i=se(this).val();return null==i?null:se.isArray(i)?se.map(i,function(t){return{name:e.name,value:t.replace(ii,"\r\n")}}):{name:e.name,value:i.replace(ii,"\r\n")}}).get()}}),se.param=function(t,i){var n,r=[],s=function(t,e){e=se.isFunction(e)?e():null==e?"":e,r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(i===e&&(i=se.ajaxSettings&&se.ajaxSettings.traditional),se.isArray(t)||t.jquery&&!se.isPlainObject(t))se.each(t,function(){s(this.name,this.value)});else for(n in t)L(n,t[n],i,s);return r.join("&").replace(ti,"+")},se.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(t,e){se.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}}),se.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)}});var si,oi,ai=se.now(),li=/\?/,hi=/#.*$/,ci=/([?&])_=[^&]*/,ui=/^(.*?):[ \t]*([^\r\n]*)$/gm,di=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,pi=/^(?:GET|HEAD)$/,fi=/^\/\//,gi=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,mi=se.fn.load,yi={},vi={},xi="*/".concat("*");try{oi=Y.href}catch(bi){oi=G.createElement("a"),oi.href="",oi=oi.href}si=gi.exec(oi.toLowerCase())||[],se.fn.load=function(t,i,n){if("string"!=typeof t&&mi)return mi.apply(this,arguments);var r,s,o,a=this,l=t.indexOf(" ");return l>=0&&(r=t.slice(l),t=t.slice(0,l)),se.isFunction(i)?(n=i,i=e):i&&"object"==typeof i&&(s="POST"),a.length>0&&se.ajax({url:t,type:s,dataType:"html",data:i}).done(function(t){o=arguments,a.html(r?se("<div>").append(se.parseHTML(t)).find(r):t)}).complete(n&&function(t,e){a.each(n,o||[t.responseText,e,t])}),this},se.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){se.fn[e]=function(t){return this.on(e,t)}}),se.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:oi,type:"GET",isLocal:di.test(si[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":xi,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":se.parseJSON,"text xml":se.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?M(M(t,se.ajaxSettings),e):M(se.ajaxSettings,t)},ajaxPrefilter:P(yi),ajaxTransport:P(vi),ajax:function(t,i){function n(t,i,n,a){var h,u,v,x,w,T=i;2!==b&&(b=2,l&&clearTimeout(l),r=e,o=a||"",k.readyState=t>0?4:0,h=t>=200&&300>t||304===t,n&&(x=D(d,k,n)),x=E(d,x,k,h),h?(d.ifModified&&(w=k.getResponseHeader("Last-Modified"),w&&(se.lastModified[s]=w),w=k.getResponseHeader("etag"),w&&(se.etag[s]=w)),204===t||"HEAD"===d.type?T="nocontent":304===t?T="notmodified":(T=x.state,u=x.data,v=x.error,h=!v)):(v=T,(t||!T)&&(T="error",0>t&&(t=0))),k.status=t,k.statusText=(i||T)+"",h?g.resolveWith(p,[u,T,k]):g.rejectWith(p,[k,T,v]),k.statusCode(y),y=e,c&&f.trigger(h?"ajaxSuccess":"ajaxError",[k,d,h?u:v]),m.fireWith(p,[k,T]),c&&(f.trigger("ajaxComplete",[k,d]),--se.active||se.event.trigger("ajaxStop")))}"object"==typeof t&&(i=t,t=e),i=i||{};var r,s,o,a,l,h,c,u,d=se.ajaxSetup({},i),p=d.context||d,f=d.context&&(p.nodeType||p.jquery)?se(p):se.event,g=se.Deferred(),m=se.Callbacks("once memory"),y=d.statusCode||{},v={},x={},b=0,w="canceled",k={readyState:0,getResponseHeader:function(t){var e;if(2===b){if(!a)for(a={};e=ui.exec(o);)a[e[1].toLowerCase()]=e[2];e=a[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===b?o:null},setRequestHeader:function(t,e){var i=t.toLowerCase();return b||(t=x[i]=x[i]||t,v[t]=e),this},overrideMimeType:function(t){return b||(d.mimeType=t),this},statusCode:function(t){var e;if(t)if(2>b)for(e in t)y[e]=[y[e],t[e]];else k.always(t[k.status]);return this},abort:function(t){var e=t||w;return r&&r.abort(e),n(0,e),this}};if(g.promise(k).complete=m.add,k.success=k.done,k.error=k.fail,d.url=((t||d.url||oi)+"").replace(hi,"").replace(fi,si[1]+"//"),d.type=i.method||i.type||d.method||d.type,d.dataTypes=se.trim(d.dataType||"*").toLowerCase().match(ae)||[""],null==d.crossDomain&&(h=gi.exec(d.url.toLowerCase()),d.crossDomain=!(!h||h[1]===si[1]&&h[2]===si[2]&&(h[3]||("http:"===h[1]?"80":"443"))===(si[3]||("http:"===si[1]?"80":"443")))),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=se.param(d.data,d.traditional)),N(yi,d,i,k),2===b)return k;c=d.global,c&&0===se.active++&&se.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!pi.test(d.type),s=d.url,d.hasContent||(d.data&&(s=d.url+=(li.test(s)?"&":"?")+d.data,delete d.data),d.cache===!1&&(d.url=ci.test(s)?s.replace(ci,"$1_="+ai++):s+(li.test(s)?"&":"?")+"_="+ai++)),d.ifModified&&(se.lastModified[s]&&k.setRequestHeader("If-Modified-Since",se.lastModified[s]),se.etag[s]&&k.setRequestHeader("If-None-Match",se.etag[s])),(d.data&&d.hasContent&&d.contentType!==!1||i.contentType)&&k.setRequestHeader("Content-Type",d.contentType),k.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+xi+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)k.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(p,k,d)===!1||2===b))return k.abort();w="abort";for(u in{success:1,error:1,complete:1})k[u](d[u]);if(r=N(vi,d,i,k)){k.readyState=1,c&&f.trigger("ajaxSend",[k,d]),d.async&&d.timeout>0&&(l=setTimeout(function(){k.abort("timeout")},d.timeout));try{b=1,r.send(v,n)}catch(T){if(!(2>b))throw T;n(-1,T)}}else n(-1,"No Transport");return k},getJSON:function(t,e,i){return se.get(t,e,i,"json")},getScript:function(t,i){return se.get(t,e,i,"script")}}),se.each(["get","post"],function(t,i){se[i]=function(t,n,r,s){return se.isFunction(n)&&(s=s||r,r=n,n=e),se.ajax({url:t,type:i,dataType:s,data:n,success:r})}}),se.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return se.globalEval(t),t}}}),se.ajaxPrefilter("script",function(t){t.cache===e&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),se.ajaxTransport("script",function(t){if(t.crossDomain){var e,i;return{send:function(n,r){e=se("<script>").prop({async:!0,charset:t.scriptCharset,src:t.url}).on("load error",i=function(t){e.remove(),i=null,t&&r("error"===t.type?404:200,t.type)}),G.head.appendChild(e[0])},abort:function(){i&&i()}}}});var wi=[],ki=/(=)\?(?=&|$)|\?\?/;se.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=wi.pop()||se.expando+"_"+ai++;return this[t]=!0,t}}),se.ajaxPrefilter("json jsonp",function(i,n,r){var s,o,a,l=i.jsonp!==!1&&(ki.test(i.url)?"url":"string"==typeof i.data&&!(i.contentType||"").indexOf("application/x-www-form-urlencoded")&&ki.test(i.data)&&"data");return l||"jsonp"===i.dataTypes[0]?(s=i.jsonpCallback=se.isFunction(i.jsonpCallback)?i.jsonpCallback():i.jsonpCallback,l?i[l]=i[l].replace(ki,"$1"+s):i.jsonp!==!1&&(i.url+=(li.test(i.url)?"&":"?")+i.jsonp+"="+s),i.converters["script json"]=function(){return a||se.error(s+" was not called"),a[0]},i.dataTypes[0]="json",o=t[s],t[s]=function(){a=arguments},r.always(function(){t[s]=o,i[s]&&(i.jsonpCallback=n.jsonpCallback,wi.push(s)),a&&se.isFunction(o)&&o(a[0]),a=o=e}),"script"):e}),se.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(t){}};var Ti=se.ajaxSettings.xhr(),Si={0:200,1223:204},Ci=0,Ai={};t.ActiveXObject&&se(t).on("unload",function(){for(var t in Ai)Ai[t]();Ai=e}),se.support.cors=!!Ti&&"withCredentials"in Ti,se.support.ajax=Ti=!!Ti,se.ajaxTransport(function(t){var i;return se.support.cors||Ti&&!t.crossDomain?{send:function(n,r){var s,o,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(s in n)a.setRequestHeader(s,n[s]);i=function(t){return function(){i&&(delete Ai[o],i=a.onload=a.onerror=null,"abort"===t?a.abort():"error"===t?r(a.status||404,a.statusText):r(Si[a.status]||a.status,a.statusText,"string"==typeof a.responseText?{text:a.responseText}:e,a.getAllResponseHeaders()))}},a.onload=i(),a.onerror=i("error"),i=Ai[o=Ci++]=i("abort"),a.send(t.hasContent&&t.data||null)},abort:function(){i&&i()}}:e});var Li,Pi,Ni=/^(?:toggle|show|hide)$/,Mi=RegExp("^(?:([+-])=|)("+oe+")([a-z%]*)$","i"),Di=/queueHooks$/,Ei=[B],Oi={"*":[function(t,e){var i=this.createTween(t,e),n=i.cur(),r=Mi.exec(e),s=r&&r[3]||(se.cssNumber[t]?"":"px"),o=(se.cssNumber[t]||"px"!==s&&+n)&&Mi.exec(se.css(i.elem,t)),a=1,l=20;if(o&&o[3]!==s){s=s||o[3],r=r||[],o=+n||1;do a=a||".5",o/=a,se.style(i.elem,t,o+s);while(a!==(a=i.cur()/n)&&1!==a&&--l)}return r&&(o=i.start=+o||+n||0,i.unit=s,i.end=r[1]?o+(r[1]+1)*r[2]:+r[2]),i}]};se.Animation=se.extend(H,{tweener:function(t,e){se.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var i,n=0,r=t.length;r>n;n++)i=t[n],Oi[i]=Oi[i]||[],Oi[i].unshift(e)},prefilter:function(t,e){e?Ei.unshift(t):Ei.push(t)}}),se.Tween=z,z.prototype={constructor:z,init:function(t,e,i,n,r,s){this.elem=t,this.prop=i,this.easing=r||"swing",this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=s||(se.cssNumber[i]?"":"px")},cur:function(){var t=z.propHooks[this.prop];return t&&t.get?t.get(this):z.propHooks._default.get(this)},run:function(t){var e,i=z.propHooks[this.prop];return this.pos=e=this.options.duration?se.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):z.propHooks._default.set(this),this}},z.prototype.init.prototype=z.prototype,z.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=se.css(t.elem,t.prop,""),e&&"auto"!==e?e:0):t.elem[t.prop]},set:function(t){se.fx.step[t.prop]?se.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[se.cssProps[t.prop]]||se.cssHooks[t.prop])?se.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},z.propHooks.scrollTop=z.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},se.each(["toggle","show","hide"],function(t,e){var i=se.fn[e];se.fn[e]=function(t,n,r){return null==t||"boolean"==typeof t?i.apply(this,arguments):this.animate(j(e,!0),t,n,r)}}),se.fn.extend({fadeTo:function(t,e,i,n){return this.filter(x).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(t,e,i,n){var r=se.isEmptyObject(t),s=se.speed(e,i,n),o=function(){var e=H(this,se.extend({},t),s);(r||me.get(this,"finish"))&&e.stop(!0)};return o.finish=o,r||s.queue===!1?this.each(o):this.queue(s.queue,o)},stop:function(t,i,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=i,i=t,t=e),i&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,i=null!=t&&t+"queueHooks",s=se.timers,o=me.get(this);if(i)o[i]&&o[i].stop&&r(o[i]);else for(i in o)o[i]&&o[i].stop&&Di.test(i)&&r(o[i]);for(i=s.length;i--;)s[i].elem!==this||null!=t&&s[i].queue!==t||(s[i].anim.stop(n),e=!1,s.splice(i,1));(e||!n)&&se.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,i=me.get(this),n=i[t+"queue"],r=i[t+"queueHooks"],s=se.timers,o=n?n.length:0;for(i.finish=!0,se.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=s.length;e--;)s[e].elem===this&&s[e].queue===t&&(s[e].anim.stop(!0),s.splice(e,1));for(e=0;o>e;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete i.finish})}}),se.each({slideDown:j("show"),slideUp:j("hide"),slideToggle:j("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){se.fn[t]=function(t,i,n){return this.animate(e,t,i,n)}}),se.speed=function(t,e,i){var n=t&&"object"==typeof t?se.extend({},t):{complete:i||!i&&e||se.isFunction(t)&&t,duration:t,easing:i&&e||e&&!se.isFunction(e)&&e};return n.duration=se.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in se.fx.speeds?se.fx.speeds[n.duration]:se.fx.speeds._default,(null==n.queue||n.queue===!0)&&(n.queue="fx"),n.old=n.complete,n.complete=function(){se.isFunction(n.old)&&n.old.call(this),n.queue&&se.dequeue(this,n.queue)},n},se.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},se.timers=[],se.fx=z.prototype.init,se.fx.tick=function(){var t,i=se.timers,n=0;for(Li=se.now();i.length>n;n++)t=i[n],t()||i[n]!==t||i.splice(n--,1);i.length||se.fx.stop(),Li=e},se.fx.timer=function(t){t()&&se.timers.push(t)&&se.fx.start()},se.fx.interval=13,se.fx.start=function(){Pi||(Pi=setInterval(se.fx.tick,se.fx.interval))},se.fx.stop=function(){clearInterval(Pi),Pi=null},se.fx.speeds={slow:600,fast:200,_default:400},se.fx.step={},se.expr&&se.expr.filters&&(se.expr.filters.animated=function(t){return se.grep(se.timers,function(e){return t===e.elem}).length}),se.fn.offset=function(t){if(arguments.length)return t===e?this:this.each(function(e){se.offset.setOffset(this,t,e)});var i,n,r=this[0],s={top:0,left:0},o=r&&r.ownerDocument;return o?(i=o.documentElement,se.contains(i,r)?(typeof r.getBoundingClientRect!==X&&(s=r.getBoundingClientRect()),n=_(o),{top:s.top+n.pageYOffset-i.clientTop,left:s.left+n.pageXOffset-i.clientLeft}):s):void 0},se.offset={setOffset:function(t,e,i){var n,r,s,o,a,l,h,c=se.css(t,"position"),u=se(t),d={};"static"===c&&(t.style.position="relative"),a=u.offset(),s=se.css(t,"top"),l=se.css(t,"left"),h=("absolute"===c||"fixed"===c)&&(s+l).indexOf("auto")>-1,h?(n=u.position(),o=n.top,r=n.left):(o=parseFloat(s)||0,r=parseFloat(l)||0),se.isFunction(e)&&(e=e.call(t,i,a)),null!=e.top&&(d.top=e.top-a.top+o),null!=e.left&&(d.left=e.left-a.left+r),"using"in e?e.using.call(t,d):u.css(d)}},se.fn.extend({position:function(){if(this[0]){var t,e,i=this[0],n={top:0,left:0};return"fixed"===se.css(i,"position")?e=i.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),se.nodeName(t[0],"html")||(n=t.offset()),n.top+=se.css(t[0],"borderTopWidth",!0),n.left+=se.css(t[0],"borderLeftWidth",!0)),{top:e.top-n.top-se.css(i,"marginTop",!0),left:e.left-n.left-se.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||$;t&&!se.nodeName(t,"html")&&"static"===se.css(t,"position");)t=t.offsetParent;return t||$})}}),se.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(i,n){var r="pageYOffset"===n;se.fn[i]=function(s){return se.access(this,function(i,s,o){var a=_(i);return o===e?a?a[n]:i[s]:(a?a.scrollTo(r?t.pageXOffset:o,r?o:t.pageYOffset):i[s]=o,e)},i,s,arguments.length,null)}}),se.each({Height:"height",Width:"width"},function(t,i){se.each({padding:"inner"+t,content:i,"":"outer"+t},function(n,r){se.fn[r]=function(r,s){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(r===!0||s===!0?"margin":"border");return se.access(this,function(i,n,r){var s;return se.isWindow(i)?i.document.documentElement["client"+t]:9===i.nodeType?(s=i.documentElement,Math.max(i.body["scroll"+t],s["scroll"+t],i.body["offset"+t],s["offset"+t],s["client"+t])):r===e?se.css(i,n,a):se.style(i,n,r,a)},i,o?r:e,o,null)}})}),se.fn.size=function(){return this.length},se.fn.andSelf=se.fn.addBack,"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=se:"function"==typeof define&&define.amd&&define("jquery",[],function(){return se}),"object"==typeof t&&"object"==typeof t.document&&(t.jQuery=t.$=se)}(window); |