=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})