=0){return true}}return false}});h.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(e,t){h.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}});h.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return arguments.length===1?this.off(e,"**"):this.off(t,e||"**",n)}});var Sn=h.now();var xn=/\?/;var Tn=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;h.parseJSON=function(t){if(e.JSON&&e.JSON.parse){return e.JSON.parse(t+"")}var n,r=null,i=h.trim(t+"");return i&&!h.trim(i.replace(Tn,function(e,t,i,s){if(n&&t){r=0}if(r===0){return e}n=i||t;r+=!s-!i;return""}))?Function("return "+i)():h.error("Invalid JSON: "+t)};h.parseXML=function(t){var n,r;if(!t||typeof t!=="string"){return null}try{if(e.DOMParser){r=new DOMParser;n=r.parseFromString(t,"text/xml")}else{n=new ActiveXObject("Microsoft.XMLDOM");n.async="false";n.loadXML(t)}}catch(i){n=undefined}if(!n||!n.documentElement||n.getElementsByTagName("parsererror").length){h.error("Invalid XML: "+t)}return n};var Nn,Cn,kn=/#.*$/,Ln=/([?&])_=[^&]*/,An=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,On=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Mn=/^(?:GET|HEAD)$/,_n=/^\/\//,Dn=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Pn={},Hn={},Bn="*/".concat("*");try{Cn=location.href}catch(jn){Cn=T.createElement("a");Cn.href="";Cn=Cn.href}Nn=Dn.exec(Cn.toLowerCase())||[];h.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Cn,type:"GET",isLocal:On.test(Nn[1]),global:true,processData:true,async:true,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Bn,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":true,"text json":h.parseJSON,"text xml":h.parseXML},flatOptions:{url:true,context:true}},ajaxSetup:function(e,t){return t?qn(qn(e,h.ajaxSettings),t):qn(h.ajaxSettings,e)},ajaxPrefilter:Fn(Pn),ajaxTransport:Fn(Hn),ajax:function(e,t){function x(e,t,n,r){var f,g,y,w,S,x=t;if(b===2){return}b=2;if(o){clearTimeout(o)}a=undefined;s=r||"";E.readyState=e>0?4:0;f=e>=200&&e<300||e===304;if(n){w=Rn(l,E,n)}w=Un(l,w,E,f);if(f){if(l.ifModified){S=E.getResponseHeader("Last-Modified");if(S){h.lastModified[i]=S}S=E.getResponseHeader("etag");if(S){h.etag[i]=S}}if(e===204||l.type==="HEAD"){x="nocontent"}else if(e===304){x="notmodified"}else{x=w.state;g=w.data;y=w.error;f=!y}}else{y=x;if(e||!x){x="error";if(e<0){e=0}}}E.status=e;E.statusText=(t||x)+"";if(f){d.resolveWith(c,[g,x,E])}else{d.rejectWith(c,[E,x,y])}E.statusCode(m);m=undefined;if(u){p.trigger(f?"ajaxSuccess":"ajaxError",[E,l,f?g:y])}v.fireWith(c,[E,x]);if(u){p.trigger("ajaxComplete",[E,l]);if(!--h.active){h.event.trigger("ajaxStop")}}}if(typeof e==="object"){t=e;e=undefined}t=t||{};var n,r,i,s,o,u,a,f,l=h.ajaxSetup({},t),c=l.context||l,p=l.context&&(c.nodeType||c.jquery)?h(c):h.event,d=h.Deferred(),v=h.Callbacks("once memory"),m=l.statusCode||{},g={},y={},b=0,w="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(b===2){if(!f){f={};while(t=An.exec(s)){f[t[1].toLowerCase()]=t[2]}}t=f[e.toLowerCase()]}return t==null?null:t},getAllResponseHeaders:function(){return b===2?s:null},setRequestHeader:function(e,t){var n=e.toLowerCase();if(!b){e=y[n]=y[n]||e;g[e]=t}return this},overrideMimeType:function(e){if(!b){l.mimeType=e}return this},statusCode:function(e){var t;if(e){if(b<2){for(t in e){m[t]=[m[t],e[t]]}}else{E.always(e[E.status])}}return this},abort:function(e){var t=e||w;if(a){a.abort(t)}x(0,t);return this}};d.promise(E).complete=v.add;E.success=E.done;E.error=E.fail;l.url=((e||l.url||Cn)+"").replace(kn,"").replace(_n,Nn[1]+"//");l.type=t.method||t.type||l.method||l.type;l.dataTypes=h.trim(l.dataType||"*").toLowerCase().match(O)||[""];if(l.crossDomain==null){n=Dn.exec(l.url.toLowerCase());l.crossDomain=!!(n&&(n[1]!==Nn[1]||n[2]!==Nn[2]||(n[3]||(n[1]==="http:"?"80":"443"))!==(Nn[3]||(Nn[1]==="http:"?"80":"443"))))}if(l.data&&l.processData&&typeof l.data!=="string"){l.data=h.param(l.data,l.traditional)}In(Pn,l,t,E);if(b===2){return E}u=l.global;if(u&&h.active++===0){h.event.trigger("ajaxStart")}l.type=l.type.toUpperCase();l.hasContent=!Mn.test(l.type);i=l.url;if(!l.hasContent){if(l.data){i=l.url+=(xn.test(i)?"&":"?")+l.data;delete l.data}if(l.cache===false){l.url=Ln.test(i)?i.replace(Ln,"$1_="+Sn++):i+(xn.test(i)?"&":"?")+"_="+Sn++}}if(l.ifModified){if(h.lastModified[i]){E.setRequestHeader("If-Modified-Since",h.lastModified[i])}if(h.etag[i]){E.setRequestHeader("If-None-Match",h.etag[i])}}if(l.data&&l.hasContent&&l.contentType!==false||t.contentType){E.setRequestHeader("Content-Type",l.contentType)}E.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+(l.dataTypes[0]!=="*"?", "+Bn+"; q=0.01":""):l.accepts["*"]);for(r in l.headers){E.setRequestHeader(r,l.headers[r])}if(l.beforeSend&&(l.beforeSend.call(c,E,l)===false||b===2)){return E.abort()}w="abort";for(r in{success:1,error:1,complete:1}){E[r](l[r])}a=In(Hn,l,t,E);if(!a){x(-1,"No Transport")}else{E.readyState=1;if(u){p.trigger("ajaxSend",[E,l])}if(l.async&&l.timeout>0){o=setTimeout(function(){E.abort("timeout")},l.timeout)}try{b=1;a.send(g,x)}catch(S){if(b<2){x(-1,S)}else{throw S}}}return E},getJSON:function(e,t,n){return h.get(e,t,n,"json")},getScript:function(e,t){return h.get(e,undefined,t,"script")}});h.each(["get","post"],function(e,t){h[t]=function(e,n,r,i){if(h.isFunction(n)){i=i||r;r=n;n=undefined}return h.ajax({url:e,type:t,dataType:i,data:n,success:r})}});h.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){h.fn[t]=function(e){return this.on(t,e)}});h._evalUrl=function(e){return h.ajax({url:e,type:"GET",dataType:"script",async:false,global:false,"throws":true})};h.fn.extend({wrapAll:function(e){if(h.isFunction(e)){return this.each(function(t){h(this).wrapAll(e.call(this,t))})}if(this[0]){var t=h(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){t.insertBefore(this[0])}t.map(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1){e=e.firstChild}return e}).append(this)}return this},wrapInner:function(e){if(h.isFunction(e)){return this.each(function(t){h(this).wrapInner(e.call(this,t))})}return this.each(function(){var t=h(this),n=t.contents();if(n.length){n.wrapAll(e)}else{t.append(e)}})},wrap:function(e){var t=h.isFunction(e);return this.each(function(n){h(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){if(!h.nodeName(this,"body")){h(this).replaceWith(this.childNodes)}}).end()}});h.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!l.reliableHiddenOffsets()&&(e.style&&e.style.display||h.css(e,"display"))==="none"};h.expr.filters.visible=function(e){return!h.expr.filters.hidden(e)};var zn=/%20/g,Wn=/\[\]$/,Xn=/\r?\n/g,Vn=/^(?:submit|button|image|reset|file)$/i,$n=/^(?:input|select|textarea|keygen)/i;h.param=function(e,t){var n,r=[],i=function(e,t){t=h.isFunction(t)?t():t==null?"":t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(t===undefined){t=h.ajaxSettings&&h.ajaxSettings.traditional}if(h.isArray(e)||e.jquery&&!h.isPlainObject(e)){h.each(e,function(){i(this.name,this.value)})}else{for(n in e){Jn(n,e[n],t,i)}}return r.join("&").replace(zn,"+")};h.fn.extend({serialize:function(){return h.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=h.prop(this,"elements");return e?h.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!h(this).is(":disabled")&&$n.test(this.nodeName)&&!Vn.test(e)&&(this.checked||!J.test(e))}).map(function(e,t){var n=h(this).val();return n==null?null:h.isArray(n)?h.map(n,function(e){return{name:t.name,value:e.replace(Xn,"\r\n")}}):{name:t.name,value:n.replace(Xn,"\r\n")}}).get()}});h.ajaxSettings.xhr=e.ActiveXObject!==undefined?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Yn()||Zn()}:Yn;var Kn=0,Qn={},Gn=h.ajaxSettings.xhr();if(e.ActiveXObject){h(e).on("unload",function(){for(var e in Qn){Qn[e](undefined,true)}})}l.cors=!!Gn&&"withCredentials"in Gn;Gn=l.ajax=!!Gn;if(Gn){h.ajaxTransport(function(e){if(!e.crossDomain||l.cors){var t;return{send:function(n,r){var i,s=e.xhr(),o=++Kn;s.open(e.type,e.url,e.async,e.username,e.password);if(e.xhrFields){for(i in e.xhrFields){s[i]=e.xhrFields[i]}}if(e.mimeType&&s.overrideMimeType){s.overrideMimeType(e.mimeType)}if(!e.crossDomain&&!n["X-Requested-With"]){n["X-Requested-With"]="XMLHttpRequest"}for(i in n){if(n[i]!==undefined){s.setRequestHeader(i,n[i]+"")}}s.send(e.hasContent&&e.data||null);t=function(n,i){var u,a,f;if(t&&(i||s.readyState===4)){delete Qn[o];t=undefined;s.onreadystatechange=h.noop;if(i){if(s.readyState!==4){s.abort()}}else{f={};u=s.status;if(typeof s.responseText==="string"){f.text=s.responseText}try{a=s.statusText}catch(l){a=""}if(!u&&e.isLocal&&!e.crossDomain){u=f.text?200:404}else if(u===1223){u=204}}}if(f){r(u,a,f,s.getAllResponseHeaders())}};if(!e.async){t()}else if(s.readyState===4){setTimeout(t)}else{s.onreadystatechange=Qn[o]=t}},abort:function(){if(t){t(undefined,true)}}}}})}h.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){h.globalEval(e);return e}}});h.ajaxPrefilter("script",function(e){if(e.cache===undefined){e.cache=false}if(e.crossDomain){e.type="GET";e.global=false}});h.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=T.head||h("head")[0]||T.documentElement;return{send:function(r,i){t=T.createElement("script");t.async=true;if(e.scriptCharset){t.charset=e.scriptCharset}t.src=e.url;t.onload=t.onreadystatechange=function(e,n){if(n||!t.readyState||/loaded|complete/.test(t.readyState)){t.onload=t.onreadystatechange=null;if(t.parentNode){t.parentNode.removeChild(t)}t=null;if(!n){i(200,"success")}}};n.insertBefore(t,n.firstChild)},abort:function(){if(t){t.onload(undefined,true)}}}}});var er=[],tr=/(=)\?(?=&|$)|\?\?/;h.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=er.pop()||h.expando+"_"+Sn++;this[e]=true;return e}});h.ajaxPrefilter("json jsonp",function(t,n,r){var i,s,o,u=t.jsonp!==false&&(tr.test(t.url)?"url":typeof t.data==="string"&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&tr.test(t.data)&&"data");if(u||t.dataTypes[0]==="jsonp"){i=t.jsonpCallback=h.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback;if(u){t[u]=t[u].replace(tr,"$1"+i)}else if(t.jsonp!==false){t.url+=(xn.test(t.url)?"&":"?")+t.jsonp+"="+i}t.converters["script json"]=function(){if(!o){h.error(i+" was not called")}return o[0]};t.dataTypes[0]="json";s=e[i];e[i]=function(){o=arguments};r.always(function(){e[i]=s;if(t[i]){t.jsonpCallback=n.jsonpCallback;er.push(i)}if(o&&h.isFunction(s)){s(o[0])}o=s=undefined});return"script"}});h.parseHTML=function(e,t,n){if(!e||typeof e!=="string"){return null}if(typeof t==="boolean"){n=t;t=false}t=t||T;var r=w.exec(e),i=!n&&[];if(r){return[t.createElement(r[1])]}r=h.buildFragment([e],t,i);if(i&&i.length){h(i).remove()}return h.merge([],r.childNodes)};var nr=h.fn.load;h.fn.load=function(e,t,n){if(typeof e!=="string"&&nr){return nr.apply(this,arguments)}var r,i,s,o=this,u=e.indexOf(" ");if(u>=0){r=h.trim(e.slice(u,e.length));e=e.slice(0,u)}if(h.isFunction(t)){n=t;t=undefined}else if(t&&typeof t==="object"){s="POST"}if(o.length>0){h.ajax({url:e,type:s,dataType:"html",data:t}).done(function(e){i=arguments;o.html(r?h("").append(h.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){o.each(n,i||[e.responseText,t,e])})}return this};h.expr.filters.animated=function(e){return h.grep(h.timers,function(t){return e===t.elem}).length};var rr=e.document.documentElement;h.offset={setOffset:function(e,t,n){var r,i,s,o,u,a,f,l=h.css(e,"position"),c=h(e),p={};if(l==="static"){e.style.position="relative"}u=c.offset();s=h.css(e,"top");a=h.css(e,"left");f=(l==="absolute"||l==="fixed")&&h.inArray("auto",[s,a])>-1;if(f){r=c.position();o=r.top;i=r.left}else{o=parseFloat(s)||0;i=parseFloat(a)||0}if(h.isFunction(t)){t=t.call(e,n,u)}if(t.top!=null){p.top=t.top-u.top+o}if(t.left!=null){p.left=t.left-u.left+i}if("using"in t){t.using.call(e,p)}else{c.css(p)}}};h.fn.extend({offset:function(e){if(arguments.length){return e===undefined?this:this.each(function(t){h.offset.setOffset(this,e,t)})}var t,n,r={top:0,left:0},i=this[0],s=i&&i.ownerDocument;if(!s){return}t=s.documentElement;if(!h.contains(t,i)){return r}if(typeof i.getBoundingClientRect!==B){r=i.getBoundingClientRect()}n=ir(s);return{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}},position:function(){if(!this[0]){return}var e,t,n={top:0,left:0},r=this[0];if(h.css(r,"position")==="fixed"){t=r.getBoundingClientRect()}else{e=this.offsetParent();t=this.offset();if(!h.nodeName(e[0],"html")){n=e.offset()}n.top+=h.css(e[0],"borderTopWidth",true);n.left+=h.css(e[0],"borderLeftWidth",true)}return{top:t.top-n.top-h.css(r,"marginTop",true),left:t.left-n.left-h.css(r,"marginLeft",true)}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||rr;while(e&&!h.nodeName(e,"html")&&h.css(e,"position")==="static"){e=e.offsetParent}return e||rr})}});h.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);h.fn[e]=function(r){return $(this,function(e,r,i){var s=ir(e);if(i===undefined){return s?t in s?s[t]:s.document.documentElement[r]:e[r]}if(s){s.scrollTo(!n?i:h(s).scrollLeft(),n?i:h(s).scrollTop())}else{e[r]=i}},e,r,arguments.length,null)}});h.each(["top","left"],function(e,t){h.cssHooks[t]=jt(l.pixelPosition,function(e,n){if(n){n=Ht(e,t);return Dt.test(n)?h(e).position()[t]+"px":n}})});h.each({Height:"height",Width:"width"},function(e,t){h.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){h.fn[r]=function(r,i){var s=arguments.length&&(n||typeof r!=="boolean"),o=n||(r===true||i===true?"margin":"border");return $(this,function(t,n,r){var i;if(h.isWindow(t)){return t.document.documentElement["client"+e]}if(t.nodeType===9){i=t.documentElement;return Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])}return r===undefined?h.css(t,n,o):h.style(t,n,r,o)},t,s?r:undefined,s,null)}})});h.fn.size=function(){return this.length};h.fn.andSelf=h.fn.addBack;if(typeof define==="function"&&define.amd){define("jquery",[],function(){return h})}var sr=e.jQuery,or=e.$;h.noConflict=function(t){if(e.$===h){e.$=or}if(t&&e.jQuery===h){e.jQuery=sr}return h};if(typeof t===B){e.jQuery=e.$=h}return h})