forked from yaniswang/markdownReader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjquery-1.8.3.min.js
4 lines (4 loc) · 95.7 KB
/
jquery-1.8.3.min.js
1
2
3
4
(function(e,t){var n,i,r=e.document,o=e.location,s=e.navigator,a=e.jQuery,l=e.$,u=Array.prototype.push,f=Array.prototype.slice,c=Array.prototype.indexOf,p=Object.prototype.toString,d=Object.prototype.hasOwnProperty,h=String.prototype.trim,g=function(e,t){return new g.fn.init(e,t,n)},m=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,y=/\S/,v=/\s+/,b=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,x=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,w=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,T=/^[\],:{}\s]*$/,N=/(?:^|:|,)(?:\s*\[)+/g,k=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,C=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,E=/^-ms-/,S=/-([\da-z])/gi,A=function(e,t){return(t+"").toUpperCase()},j=function(){if(r.addEventListener){r.removeEventListener("DOMContentLoaded",j,false);g.ready()}else if(r.readyState==="complete"){r.detachEvent("onreadystatechange",j);g.ready()}},D={};g.fn=g.prototype={constructor:g,init:function(e,n,i){var o,s,a,l;if(!e){return this}if(e.nodeType){this.context=this[0]=e;this.length=1;return this}if(typeof e==="string"){if(e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3){o=[null,e,null]}else{o=x.exec(e)}if(o&&(o[1]||!n)){if(o[1]){n=n instanceof g?n[0]:n;l=n&&n.nodeType?n.ownerDocument||n:r;e=g.parseHTML(o[1],l,true);if(w.test(o[1])&&g.isPlainObject(n)){this.attr.call(e,n,true)}return g.merge(this,e)}else{s=r.getElementById(o[2]);if(s&&s.parentNode){if(s.id!==o[2]){return i.find(e)}this.length=1;this[0]=s}this.context=r;this.selector=e;return this}}else if(!n||n.jquery){return(n||i).find(e)}else{return this.constructor(n).find(e)}}else if(g.isFunction(e)){return i.ready(e)}if(e.selector!==t){this.selector=e.selector;this.context=e.context}return g.makeArray(e,this)},selector:"",jquery:"1.8.3",length:0,size:function(){return this.length},toArray:function(){return f.call(this)},get:function(e){return e==null?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,n){var i=g.merge(this.constructor(),e);i.prevObject=this;i.context=this.context;if(t==="find"){i.selector=this.selector+(this.selector?" ":"")+n}else if(t){i.selector=this.selector+"."+t+"("+n+")"}return i},each:function(e,t){return g.each(this,e,t)},ready:function(e){g.ready.promise().done(e);return this},eq:function(e){e=+e;return e===-1?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(f.apply(this,arguments),"slice",f.call(arguments).join(","))},map:function(e){return this.pushStack(g.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:u,sort:[].sort,splice:[].splice};g.fn.init.prototype=g.fn;g.extend=g.fn.extend=function(){var e,n,i,r,o,s,a=arguments[0]||{},l=1,u=arguments.length,f=false;if(typeof a==="boolean"){f=a;a=arguments[1]||{};l=2}if(typeof a!=="object"&&!g.isFunction(a)){a={}}if(u===l){a=this;--l}for(;l<u;l++){if((e=arguments[l])!=null){for(n in e){i=a[n];r=e[n];if(a===r){continue}if(f&&r&&(g.isPlainObject(r)||(o=g.isArray(r)))){if(o){o=false;s=i&&g.isArray(i)?i:[]}else{s=i&&g.isPlainObject(i)?i:{}}a[n]=g.extend(f,s,r)}else if(r!==t){a[n]=r}}}}return a};g.extend({noConflict:function(t){if(e.$===g){e.$=l}if(t&&e.jQuery===g){e.jQuery=a}return g},isReady:false,readyWait:1,holdReady:function(e){if(e){g.readyWait++}else{g.ready(true)}},ready:function(e){if(e===true?--g.readyWait:g.isReady){return}if(!r.body){return setTimeout(g.ready,1)}g.isReady=true;if(e!==true&&--g.readyWait>0){return}i.resolveWith(r,[g]);if(g.fn.trigger){g(r).trigger("ready").off("ready")}},isFunction:function(e){return g.type(e)==="function"},isArray:Array.isArray||function(e){return g.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return e==null?String(e):D[p.call(e)]||"object"},isPlainObject:function(e){if(!e||g.type(e)!=="object"||e.nodeType||g.isWindow(e)){return false}try{if(e.constructor&&!d.call(e,"constructor")&&!d.call(e.constructor.prototype,"isPrototypeOf")){return false}}catch(n){return false}var i;for(i in e){}return i===t||d.call(e,i)},isEmptyObject:function(e){var t;for(t in e){return false}return true},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var i;if(!e||typeof e!=="string"){return null}if(typeof t==="boolean"){n=t;t=0}t=t||r;if(i=w.exec(e)){return[t.createElement(i[1])]}i=g.buildFragment([e],t,n?null:[]);return g.merge([],(i.cacheable?g.clone(i.fragment):i.fragment).childNodes)},parseJSON:function(t){if(!t||typeof t!=="string"){return null}t=g.trim(t);if(e.JSON&&e.JSON.parse){return e.JSON.parse(t)}if(T.test(t.replace(k,"@").replace(C,"]").replace(N,""))){return new Function("return "+t)()}g.error("Invalid JSON: "+t)},parseXML:function(n){var i,r;if(!n||typeof n!=="string"){return null}try{if(e.DOMParser){r=new DOMParser;i=r.parseFromString(n,"text/xml")}else{i=new ActiveXObject("Microsoft.XMLDOM");i.async="false";i.loadXML(n)}}catch(o){i=t}if(!i||!i.documentElement||i.getElementsByTagName("parsererror").length){g.error("Invalid XML: "+n)}return i},noop:function(){},globalEval:function(t){if(t&&y.test(t)){(e.execScript||function(t){e["eval"].call(e,t)})(t)}},camelCase:function(e){return e.replace(E,"ms-").replace(S,A)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,n,i){var r,o=0,s=e.length,a=s===t||g.isFunction(e);if(i){if(a){for(r in e){if(n.apply(e[r],i)===false){break}}}else{for(;o<s;){if(n.apply(e[o++],i)===false){break}}}}else{if(a){for(r in e){if(n.call(e[r],r,e[r])===false){break}}}else{for(;o<s;){if(n.call(e[o],o,e[o++])===false){break}}}}return e},trim:h&&!h.call(" ")?function(e){return e==null?"":h.call(e)}:function(e){return e==null?"":(e+"").replace(b,"")},makeArray:function(e,t){var n,i=t||[];if(e!=null){n=g.type(e);if(e.length==null||n==="string"||n==="function"||n==="regexp"||g.isWindow(e)){u.call(i,e)}else{g.merge(i,e)}}return i},inArray:function(e,t,n){var i;if(t){if(c){return c.call(t,e,n)}i=t.length;n=n?n<0?Math.max(0,i+n):n:0;for(;n<i;n++){if(n in t&&t[n]===e){return n}}}return-1},merge:function(e,n){var i=n.length,r=e.length,o=0;if(typeof i==="number"){for(;o<i;o++){e[r++]=n[o]}}else{while(n[o]!==t){e[r++]=n[o++]}}e.length=r;return e},grep:function(e,t,n){var i,r=[],o=0,s=e.length;n=!!n;for(;o<s;o++){i=!!t(e[o],o);if(n!==i){r.push(e[o])}}return r},map:function(e,n,i){var r,o,s=[],a=0,l=e.length,u=e instanceof g||l!==t&&typeof l==="number"&&(l>0&&e[0]&&e[l-1]||l===0||g.isArray(e));if(u){for(;a<l;a++){r=n(e[a],a,i);if(r!=null){s[s.length]=r}}}else{for(o in e){r=n(e[o],o,i);if(r!=null){s[s.length]=r}}}return s.concat.apply([],s)},guid:1,proxy:function(e,n){var i,r,o;if(typeof n==="string"){i=e[n];n=e;e=i}if(!g.isFunction(e)){return t}r=f.call(arguments,2);o=function(){return e.apply(n,r.concat(f.call(arguments)))};o.guid=e.guid=e.guid||g.guid++;return o},access:function(e,n,i,r,o,s,a){var l,u=i==null,f=0,c=e.length;if(i&&typeof i==="object"){for(f in i){g.access(e,n,f,i[f],1,s,r)}o=1}else if(r!==t){l=a===t&&g.isFunction(r);if(u){if(l){l=n;n=function(e,t,n){return l.call(g(e),n)}}else{n.call(e,r);n=null}}if(n){for(;f<c;f++){n(e[f],i,l?r.call(e[f],f,n(e[f],i)):r,a)}}o=1}return o?e:u?n.call(e):c?n(e[0],i):s},now:function(){return(new Date).getTime()}});g.ready.promise=function(t){if(!i){i=g.Deferred();if(r.readyState==="complete"){setTimeout(g.ready,1)}else if(r.addEventListener){r.addEventListener("DOMContentLoaded",j,false);e.addEventListener("load",g.ready,false)}else{r.attachEvent("onreadystatechange",j);e.attachEvent("onload",g.ready);var n=false;try{n=e.frameElement==null&&r.documentElement}catch(o){}if(n&&n.doScroll){(function s(){if(!g.isReady){try{n.doScroll("left")}catch(e){return setTimeout(s,50)}g.ready()}})()}}}return i.promise(t)};g.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(e,t){D["[object "+t+"]"]=t.toLowerCase()});n=g(r);var L={};function H(e){var t=L[e]={};g.each(e.split(v),function(e,n){t[n]=true});return t}g.Callbacks=function(e){e=typeof e==="string"?L[e]||H(e):g.extend({},e);var n,i,r,o,s,a,l=[],u=!e.once&&[],f=function(t){n=e.memory&&t;i=true;a=o||0;o=0;s=l.length;r=true;for(;l&&a<s;a++){if(l[a].apply(t[0],t[1])===false&&e.stopOnFalse){n=false;break}}r=false;if(l){if(u){if(u.length){f(u.shift())}}else if(n){l=[]}else{c.disable()}}},c={add:function(){if(l){var t=l.length;(function i(t){g.each(t,function(t,n){var r=g.type(n);if(r==="function"){if(!e.unique||!c.has(n)){l.push(n)}}else if(n&&n.length&&r!=="string"){i(n)}})})(arguments);if(r){s=l.length}else if(n){o=t;f(n)}}return this},remove:function(){if(l){g.each(arguments,function(e,t){var n;while((n=g.inArray(t,l,n))>-1){l.splice(n,1);if(r){if(n<=s){s--}if(n<=a){a--}}}})}return this},has:function(e){return g.inArray(e,l)>-1},empty:function(){l=[];return this},disable:function(){l=u=n=t;return this},disabled:function(){return!l},lock:function(){u=t;if(!n){c.disable()}return this},locked:function(){return!u},fireWith:function(e,t){t=t||[];t=[e,t.slice?t.slice():t];if(l&&(!i||u)){if(r){u.push(t)}else{f(t)}}return this},fire:function(){c.fireWith(this,arguments);return this},fired:function(){return!!i}};return c};g.extend({Deferred:function(e){var t=[["resolve","done",g.Callbacks("once memory"),"resolved"],["reject","fail",g.Callbacks("once memory"),"rejected"],["notify","progress",g.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){r.done(arguments).fail(arguments);return this},then:function(){var e=arguments;return g.Deferred(function(n){g.each(t,function(t,i){var o=i[0],s=e[t];r[i[1]](g.isFunction(s)?function(){var e=s.apply(this,arguments);if(e&&g.isFunction(e.promise)){e.promise().done(n.resolve).fail(n.reject).progress(n.notify)}else{n[o+"With"](this===r?n:this,[e])}}:n[o])});e=null}).promise()},promise:function(e){return e!=null?g.extend(e,i):i}},r={};i.pipe=i.then;g.each(t,function(e,o){var s=o[2],a=o[3];i[o[1]]=s.add;if(a){s.add(function(){n=a},t[e^1][2].disable,t[2][2].lock)}r[o[0]]=s.fire;r[o[0]+"With"]=s.fireWith});i.promise(r);if(e){e.call(r,r)}return r},when:function(e){var t=0,n=f.call(arguments),i=n.length,r=i!==1||e&&g.isFunction(e.promise)?i:0,o=r===1?e:g.Deferred(),s=function(e,t,n){return function(i){t[e]=this;n[e]=arguments.length>1?f.call(arguments):i;if(n===a){o.notifyWith(t,n)}else if(!--r){o.resolveWith(t,n)}}},a,l,u;if(i>1){a=new Array(i);l=new Array(i);u=new Array(i);for(;t<i;t++){if(n[t]&&g.isFunction(n[t].promise)){n[t].promise().done(s(t,u,n)).fail(o.reject).progress(s(t,l,a))}else{--r}}}if(!r){o.resolveWith(u,n)}return o.promise()}});g.support=function(){var t,n,i,o,s,a,l,u,f,c,p,d=r.createElement("div");d.setAttribute("className","t");d.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";n=d.getElementsByTagName("*");i=d.getElementsByTagName("a")[0];if(!n||!i||!n.length){return{}}o=r.createElement("select");s=o.appendChild(r.createElement("option"));a=d.getElementsByTagName("input")[0];i.style.cssText="top:1px;float:left;opacity:.5";t={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/top/.test(i.getAttribute("style")),hrefNormalized:i.getAttribute("href")==="/a",opacity:/^0.5/.test(i.style.opacity),cssFloat:!!i.style.cssFloat,checkOn:a.value==="on",optSelected:s.selected,getSetAttribute:d.className!=="t",enctype:!!r.createElement("form").enctype,html5Clone:r.createElement("nav").cloneNode(true).outerHTML!=="<:nav></:nav>",boxModel:r.compatMode==="CSS1Compat",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true,boxSizingReliable:true,pixelPosition:false};a.checked=true;t.noCloneChecked=a.cloneNode(true).checked;o.disabled=true;t.optDisabled=!s.disabled;try{delete d.test}catch(h){t.deleteExpando=false}if(!d.addEventListener&&d.attachEvent&&d.fireEvent){d.attachEvent("onclick",p=function(){t.noCloneEvent=false});d.cloneNode(true).fireEvent("onclick");d.detachEvent("onclick",p)}a=r.createElement("input");a.value="t";a.setAttribute("type","radio");t.radioValue=a.value==="t";a.setAttribute("checked","checked");a.setAttribute("name","t");d.appendChild(a);l=r.createDocumentFragment();l.appendChild(d.lastChild);t.checkClone=l.cloneNode(true).cloneNode(true).lastChild.checked;t.appendChecked=a.checked;l.removeChild(a);l.appendChild(d);if(d.attachEvent){for(f in{submit:true,change:true,focusin:true}){u="on"+f;c=u in d;if(!c){d.setAttribute(u,"return;");c=typeof d[u]==="function"}t[f+"Bubbles"]=c}}g(function(){var n,i,o,s,a="padding:0;margin:0;border:0;display:block;overflow:hidden;",l=r.getElementsByTagName("body")[0];if(!l){return}n=r.createElement("div");n.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px";l.insertBefore(n,l.firstChild);i=r.createElement("div");n.appendChild(i);i.innerHTML="<table><tr><td></td><td>t</td></tr></table>";o=i.getElementsByTagName("td");o[0].style.cssText="padding:0;margin:0;border:0;display:none";c=o[0].offsetHeight===0;o[0].style.display="";o[1].style.display="none";t.reliableHiddenOffsets=c&&o[0].offsetHeight===0;i.innerHTML="";i.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;";t.boxSizing=i.offsetWidth===4;t.doesNotIncludeMarginInBodyOffset=l.offsetTop!==1;if(e.getComputedStyle){t.pixelPosition=(e.getComputedStyle(i,null)||{}).top!=="1%";t.boxSizingReliable=(e.getComputedStyle(i,null)||{width:"4px"}).width==="4px";s=r.createElement("div");s.style.cssText=i.style.cssText=a;s.style.marginRight=s.style.width="0";i.style.width="1px";i.appendChild(s);t.reliableMarginRight=!parseFloat((e.getComputedStyle(s,null)||{}).marginRight)}if(typeof i.style.zoom!=="undefined"){i.innerHTML="";i.style.cssText=a+"width:1px;padding:1px;display:inline;zoom:1";t.inlineBlockNeedsLayout=i.offsetWidth===3;i.style.display="block";i.style.overflow="visible";i.innerHTML="<div></div>";i.firstChild.style.width="5px";t.shrinkWrapBlocks=i.offsetWidth!==3;n.style.zoom=1}l.removeChild(n);n=i=o=s=null});l.removeChild(d);n=i=o=s=a=l=d=null;return t}();var F=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,M=/([A-Z])/g;g.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(g.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?g.cache[e[g.expando]]:e[g.expando];return!!e&&!O(e)},data:function(e,n,i,r){if(!g.acceptData(e)){return}var o,s,a=g.expando,l=typeof n==="string",u=e.nodeType,f=u?g.cache:e,c=u?e[a]:e[a]&&a;if((!c||!f[c]||!r&&!f[c].data)&&l&&i===t){return}if(!c){if(u){e[a]=c=g.deletedIds.pop()||g.guid++}else{c=a}}if(!f[c]){f[c]={};if(!u){f[c].toJSON=g.noop}}if(typeof n==="object"||typeof n==="function"){if(r){f[c]=g.extend(f[c],n)}else{f[c].data=g.extend(f[c].data,n)}}o=f[c];if(!r){if(!o.data){o.data={}}o=o.data}if(i!==t){o[g.camelCase(n)]=i}if(l){s=o[n];if(s==null){s=o[g.camelCase(n)]}}else{s=o}return s},removeData:function(e,t,n){if(!g.acceptData(e)){return}var i,r,o,s=e.nodeType,a=s?g.cache:e,l=s?e[g.expando]:g.expando;if(!a[l]){return}if(t){i=n?a[l]:a[l].data;if(i){if(!g.isArray(t)){if(t in i){t=[t]}else{t=g.camelCase(t);if(t in i){t=[t]}else{t=t.split(" ")}}}for(r=0,o=t.length;r<o;r++){delete i[t[r]]}if(!(n?O:g.isEmptyObject)(i)){return}}}if(!n){delete a[l].data;if(!O(a[l])){return}}if(s){g.cleanData([e],true)}else if(g.support.deleteExpando||a!=a.window){delete a[l]}else{a[l]=null}},_data:function(e,t,n){return g.data(e,t,n,true)},acceptData:function(e){var t=e.nodeName&&g.noData[e.nodeName.toLowerCase()];return!t||t!==true&&e.getAttribute("classid")===t}});g.fn.extend({data:function(e,n){var i,r,o,s,a,l=this[0],u=0,f=null;if(e===t){if(this.length){f=g.data(l);if(l.nodeType===1&&!g._data(l,"parsedAttrs")){o=l.attributes;for(a=o.length;u<a;u++){s=o[u].name;if(!s.indexOf("data-")){s=g.camelCase(s.substring(5));_(l,s,f[s])}}g._data(l,"parsedAttrs",true)}}return f}if(typeof e==="object"){return this.each(function(){g.data(this,e)})}i=e.split(".",2);i[1]=i[1]?"."+i[1]:"";r=i[1]+"!";return g.access(this,function(n){if(n===t){f=this.triggerHandler("getData"+r,[i[0]]);if(f===t&&l){f=g.data(l,e);f=_(l,e,f)}return f===t&&i[1]?this.data(i[0]):f}i[1]=n;this.each(function(){var t=g(this);t.triggerHandler("setData"+r,i);g.data(this,e,n);t.triggerHandler("changeData"+r,i)})},null,n,arguments.length>1,null,false)},removeData:function(e){return this.each(function(){g.removeData(this,e)})}});function _(e,n,i){if(i===t&&e.nodeType===1){var r="data-"+n.replace(M,"-$1").toLowerCase();i=e.getAttribute(r);if(typeof i==="string"){try{i=i==="true"?true:i==="false"?false:i==="null"?null:+i+""===i?+i:F.test(i)?g.parseJSON(i):i}catch(o){}g.data(e,n,i)}else{i=t}}return i}function O(e){var t;for(t in e){if(t==="data"&&g.isEmptyObject(e[t])){continue}if(t!=="toJSON"){return false}}return true}g.extend({queue:function(e,t,n){var i;if(e){t=(t||"fx")+"queue";i=g._data(e,t);if(n){if(!i||g.isArray(n)){i=g._data(e,t,g.makeArray(n))}else{i.push(n)}}return i||[]}},dequeue:function(e,t){t=t||"fx";var n=g.queue(e,t),i=n.length,r=n.shift(),o=g._queueHooks(e,t),s=function(){g.dequeue(e,t)};if(r==="inprogress"){r=n.shift();i--}if(r){if(t==="fx"){n.unshift("inprogress")}delete o.stop;r.call(e,s,o)}if(!i&&o){o.empty.fire()}},_queueHooks:function(e,t){var n=t+"queueHooks";return g._data(e,n)||g._data(e,n,{empty:g.Callbacks("once memory").add(function(){g.removeData(e,t+"queue",true);g.removeData(e,n,true)})})}});g.fn.extend({queue:function(e,n){var i=2;if(typeof e!=="string"){n=e;e="fx";i--}if(arguments.length<i){return g.queue(this[0],e)}return n===t?this:this.each(function(){var t=g.queue(this,e,n);g._queueHooks(this,e);if(e==="fx"&&t[0]!=="inprogress"){g.dequeue(this,e)}})},dequeue:function(e){return this.each(function(){g.dequeue(this,e)})},delay:function(e,t){e=g.fx?g.fx.speeds[e]||e:e;t=t||"fx";return this.queue(t,function(t,n){var i=setTimeout(t,e);n.stop=function(){clearTimeout(i)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var i,r=1,o=g.Deferred(),s=this,a=this.length,l=function(){if(!--r){o.resolveWith(s,[s])}};if(typeof e!=="string"){n=e;e=t}e=e||"fx";while(a--){i=g._data(s[a],e+"queueHooks");if(i&&i.empty){r++;i.empty.add(l)}}l();return o.promise(n)}});var q,B,P,W=/[\t\r\n]/g,R=/\r/g,$=/^(?:button|input)$/i,I=/^(?:button|input|object|select|textarea)$/i,z=/^a(?:rea|)$/i,X=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,U=g.support.getSetAttribute;g.fn.extend({attr:function(e,t){return g.access(this,g.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){g.removeAttr(this,e)})},prop:function(e,t){return g.access(this,g.prop,e,t,arguments.length>1)},removeProp:function(e){e=g.propFix[e]||e;return this.each(function(){try{this[e]=t;delete this[e]}catch(n){}})},addClass:function(e){var t,n,i,r,o,s,a;if(g.isFunction(e)){return this.each(function(t){g(this).addClass(e.call(this,t,this.className))})}if(e&&typeof e==="string"){t=e.split(v);for(n=0,i=this.length;n<i;n++){r=this[n];if(r.nodeType===1){if(!r.className&&t.length===1){r.className=e}else{o=" "+r.className+" ";for(s=0,a=t.length;s<a;s++){if(o.indexOf(" "+t[s]+" ")<0){o+=t[s]+" "}}r.className=g.trim(o)}}}}return this},removeClass:function(e){var n,i,r,o,s,a,l;if(g.isFunction(e)){return this.each(function(t){g(this).removeClass(e.call(this,t,this.className))})}if(e&&typeof e==="string"||e===t){n=(e||"").split(v);for(a=0,l=this.length;a<l;a++){r=this[a];if(r.nodeType===1&&r.className){i=(" "+r.className+" ").replace(W," ");for(o=0,s=n.length;o<s;o++){while(i.indexOf(" "+n[o]+" ")>=0){i=i.replace(" "+n[o]+" "," ")}}r.className=e?g.trim(i):""}}}return this},toggleClass:function(e,t){var n=typeof e,i=typeof t==="boolean";if(g.isFunction(e)){return this.each(function(n){g(this).toggleClass(e.call(this,n,this.className,t),t)})}return this.each(function(){if(n==="string"){var r,o=0,s=g(this),a=t,l=e.split(v);while(r=l[o++]){a=i?a:!s.hasClass(r);s[a?"addClass":"removeClass"](r)}}else if(n==="undefined"||n==="boolean"){if(this.className){g._data(this,"__className__",this.className)}this.className=this.className||e===false?"":g._data(this,"__className__")||""}})},hasClass:function(e){var t=" "+e+" ",n=0,i=this.length;for(;n<i;n++){if(this[n].nodeType===1&&(" "+this[n].className+" ").replace(W," ").indexOf(t)>=0){return true}}return false},val:function(e){var n,i,r,o=this[0];if(!arguments.length){if(o){n=g.valHooks[o.type]||g.valHooks[o.nodeName.toLowerCase()];if(n&&"get"in n&&(i=n.get(o,"value"))!==t){return i}i=o.value;return typeof i==="string"?i.replace(R,""):i==null?"":i}return}r=g.isFunction(e);return this.each(function(i){var o,s=g(this);if(this.nodeType!==1){return}if(r){o=e.call(this,i,s.val())}else{o=e}if(o==null){o=""}else if(typeof o==="number"){o+=""}else if(g.isArray(o)){o=g.map(o,function(e){return e==null?"":e+""})}n=g.valHooks[this.type]||g.valHooks[this.nodeName.toLowerCase()];if(!n||!("set"in n)||n.set(this,o,"value")===t){this.value=o}})}});g.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,i=e.options,r=e.selectedIndex,o=e.type==="select-one"||r<0,s=o?null:[],a=o?r+1:i.length,l=r<0?a:o?r:0;for(;l<a;l++){n=i[l];if((n.selected||l===r)&&(g.support.optDisabled?!n.disabled:n.getAttribute("disabled")===null)&&(!n.parentNode.disabled||!g.nodeName(n.parentNode,"optgroup"))){t=g(n).val();if(o){return t}s.push(t)}}return s},set:function(e,t){var n=g.makeArray(t);g(e).find("option").each(function(){this.selected=g.inArray(g(this).val(),n)>=0});if(!n.length){e.selectedIndex=-1}return n}}},attrFn:{},attr:function(e,n,i,r){var o,s,a,l=e.nodeType;if(!e||l===3||l===8||l===2){return}if(r&&g.isFunction(g.fn[n])){return g(e)[n](i)}if(typeof e.getAttribute==="undefined"){return g.prop(e,n,i)}a=l!==1||!g.isXMLDoc(e);if(a){n=n.toLowerCase();s=g.attrHooks[n]||(X.test(n)?B:q)}if(i!==t){if(i===null){g.removeAttr(e,n);return}else if(s&&"set"in s&&a&&(o=s.set(e,i,n))!==t){return o}else{e.setAttribute(n,i+"");return i}}else if(s&&"get"in s&&a&&(o=s.get(e,n))!==null){return o}else{o=e.getAttribute(n);return o===null?t:o}},removeAttr:function(e,t){var n,i,r,o,s=0;if(t&&e.nodeType===1){i=t.split(v);for(;s<i.length;s++){r=i[s];if(r){n=g.propFix[r]||r;o=X.test(r);if(!o){g.attr(e,r,"")}e.removeAttribute(U?r:n);if(o&&n in e){e[n]=false}}}}},attrHooks:{type:{set:function(e,t){if($.test(e.nodeName)&&e.parentNode){g.error("type property can't be changed")}else if(!g.support.radioValue&&t==="radio"&&g.nodeName(e,"input")){var n=e.value;e.setAttribute("type",t);if(n){e.value=n}return t}}},value:{get:function(e,t){if(q&&g.nodeName(e,"button")){return q.get(e,t)}return t in e?e.value:null},set:function(e,t,n){if(q&&g.nodeName(e,"button")){return q.set(e,t,n)}e.value=t}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,n,i){var r,o,s,a=e.nodeType;if(!e||a===3||a===8||a===2){return}s=a!==1||!g.isXMLDoc(e);if(s){n=g.propFix[n]||n;o=g.propHooks[n]}if(i!==t){if(o&&"set"in o&&(r=o.set(e,i,n))!==t){return r}else{return e[n]=i}}else{if(o&&"get"in o&&(r=o.get(e,n))!==null){return r}else{return e[n]}}},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):I.test(e.nodeName)||z.test(e.nodeName)&&e.href?0:t}}}});B={get:function(e,n){var i,r=g.prop(e,n);return r===true||typeof r!=="boolean"&&(i=e.getAttributeNode(n))&&i.nodeValue!==false?n.toLowerCase():t},set:function(e,t,n){var i;if(t===false){g.removeAttr(e,n)}else{i=g.propFix[n]||n;if(i in e){e[i]=true}e.setAttribute(n,n.toLowerCase())}return n}};if(!U){P={name:true,id:true,coords:true};q=g.valHooks.button={get:function(e,n){var i;i=e.getAttributeNode(n);return i&&(P[n]?i.value!=="":i.specified)?i.value:t},set:function(e,t,n){var i=e.getAttributeNode(n);if(!i){i=r.createAttribute(n);e.setAttributeNode(i)}return i.value=t+""}};g.each(["width","height"],function(e,t){g.attrHooks[t]=g.extend(g.attrHooks[t],{set:function(e,n){if(n===""){e.setAttribute(t,"auto");return n}}})});g.attrHooks.contenteditable={get:q.get,set:function(e,t,n){if(t===""){t="false"}q.set(e,t,n)}}}if(!g.support.hrefNormalized){g.each(["href","src","width","height"],function(e,n){g.attrHooks[n]=g.extend(g.attrHooks[n],{get:function(e){var i=e.getAttribute(n,2);return i===null?t:i}})})}if(!g.support.style){g.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||t},set:function(e,t){return e.style.cssText=t+""}}}if(!g.support.optSelected){g.propHooks.selected=g.extend(g.propHooks.selected,{get:function(e){var t=e.parentNode;if(t){t.selectedIndex;if(t.parentNode){t.parentNode.selectedIndex}}return null}})}if(!g.support.enctype){g.propFix.enctype="encoding"}if(!g.support.checkOn){g.each(["radio","checkbox"],function(){g.valHooks[this]={get:function(e){return e.getAttribute("value")===null?"on":e.value}}})}g.each(["radio","checkbox"],function(){g.valHooks[this]=g.extend(g.valHooks[this],{set:function(e,t){if(g.isArray(t)){return e.checked=g.inArray(g(e).val(),t)>=0}}})});var Y=/^(?:textarea|input|select)$/i,V=/^([^\.]*|)(?:\.(.+)|)$/,J=/(?:^|\s)hover(\.\S+|)\b/,G=/^key/,Q=/^(?:mouse|contextmenu)|click/,K=/^(?:focusinfocus|focusoutblur)$/,Z=function(e){return g.event.special.hover?e:e.replace(J,"mouseenter$1 mouseleave$1")};g.event={add:function(e,n,i,r,o){var s,a,l,u,f,c,p,d,h,m,y;if(e.nodeType===3||e.nodeType===8||!n||!i||!(s=g._data(e))){return}if(i.handler){h=i;i=h.handler;o=h.selector}if(!i.guid){i.guid=g.guid++}l=s.events;if(!l){s.events=l={}}a=s.handle;if(!a){s.handle=a=function(e){return typeof g!=="undefined"&&(!e||g.event.triggered!==e.type)?g.event.dispatch.apply(a.elem,arguments):t};a.elem=e}n=g.trim(Z(n)).split(" ");for(u=0;u<n.length;u++){f=V.exec(n[u])||[];c=f[1];p=(f[2]||"").split(".").sort();y=g.event.special[c]||{};c=(o?y.delegateType:y.bindType)||c;y=g.event.special[c]||{};d=g.extend({type:c,origType:f[1],data:r,handler:i,guid:i.guid,selector:o,needsContext:o&&g.expr.match.needsContext.test(o),namespace:p.join(".")},h);m=l[c];if(!m){m=l[c]=[];m.delegateCount=0;if(!y.setup||y.setup.call(e,r,p,a)===false){if(e.addEventListener){e.addEventListener(c,a,false)}else if(e.attachEvent){e.attachEvent("on"+c,a)}}}if(y.add){y.add.call(e,d);if(!d.handler.guid){d.handler.guid=i.guid}}if(o){m.splice(m.delegateCount++,0,d)}else{m.push(d)}g.event.global[c]=true}e=null},global:{},remove:function(e,t,n,i,r){var o,s,a,l,u,f,c,p,d,h,m,y=g.hasData(e)&&g._data(e);if(!y||!(p=y.events)){return}t=g.trim(Z(t||"")).split(" ");for(o=0;o<t.length;o++){s=V.exec(t[o])||[];a=l=s[1];u=s[2];if(!a){for(a in p){g.event.remove(e,a+t[o],n,i,true)}continue}d=g.event.special[a]||{};a=(i?d.delegateType:d.bindType)||a;h=p[a]||[];f=h.length;u=u?new RegExp("(^|\\.)"+u.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null;for(c=0;c<h.length;c++){m=h[c];if((r||l===m.origType)&&(!n||n.guid===m.guid)&&(!u||u.test(m.namespace))&&(!i||i===m.selector||i==="**"&&m.selector)){h.splice(c--,1);if(m.selector){h.delegateCount--}if(d.remove){d.remove.call(e,m)}}}if(h.length===0&&f!==h.length){if(!d.teardown||d.teardown.call(e,u,y.handle)===false){g.removeEvent(e,a,y.handle)}delete p[a]}}if(g.isEmptyObject(p)){delete y.handle;g.removeData(e,"events",true)}},customEvent:{getData:true,setData:true,changeData:true},trigger:function(n,i,o,s){if(o&&(o.nodeType===3||o.nodeType===8)){return}var a,l,u,f,c,p,d,h,m,y,v=n.type||n,b=[];if(K.test(v+g.event.triggered)){return}if(v.indexOf("!")>=0){v=v.slice(0,-1);l=true}if(v.indexOf(".")>=0){b=v.split(".");v=b.shift();b.sort()}if((!o||g.event.customEvent[v])&&!g.event.global[v]){return}n=typeof n==="object"?n[g.expando]?n:new g.Event(v,n):new g.Event(v);n.type=v;n.isTrigger=true;n.exclusive=l;n.namespace=b.join(".");n.namespace_re=n.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;p=v.indexOf(":")<0?"on"+v:"";if(!o){a=g.cache;for(u in a){if(a[u].events&&a[u].events[v]){g.event.trigger(n,i,a[u].handle.elem,true)}}return}n.result=t;if(!n.target){n.target=o}i=i!=null?g.makeArray(i):[];i.unshift(n);d=g.event.special[v]||{};if(d.trigger&&d.trigger.apply(o,i)===false){return}m=[[o,d.bindType||v]];if(!s&&!d.noBubble&&!g.isWindow(o)){y=d.delegateType||v;f=K.test(y+v)?o:o.parentNode;for(c=o;f;f=f.parentNode){m.push([f,y]);c=f}if(c===(o.ownerDocument||r)){m.push([c.defaultView||c.parentWindow||e,y])}}for(u=0;u<m.length&&!n.isPropagationStopped();u++){f=m[u][0];n.type=m[u][1];h=(g._data(f,"events")||{})[n.type]&&g._data(f,"handle");if(h){h.apply(f,i)}h=p&&f[p];if(h&&g.acceptData(f)&&h.apply&&h.apply(f,i)===false){n.preventDefault()}}n.type=v;if(!s&&!n.isDefaultPrevented()){if((!d._default||d._default.apply(o.ownerDocument,i)===false)&&!(v==="click"&&g.nodeName(o,"a"))&&g.acceptData(o)){if(p&&o[v]&&(v!=="focus"&&v!=="blur"||n.target.offsetWidth!==0)&&!g.isWindow(o)){c=o[p];if(c){o[p]=null}g.event.triggered=v;o[v]();g.event.triggered=t;if(c){o[p]=c}}}}return n.result},dispatch:function(n){n=g.event.fix(n||e.event);var i,r,o,s,a,l,u,c,p,d,h=(g._data(this,"events")||{})[n.type]||[],m=h.delegateCount,y=f.call(arguments),v=!n.exclusive&&!n.namespace,b=g.event.special[n.type]||{},x=[];y[0]=n;n.delegateTarget=this;if(b.preDispatch&&b.preDispatch.call(this,n)===false){return}if(m&&!(n.button&&n.type==="click")){for(o=n.target;o!=this;o=o.parentNode||this){if(o.disabled!==true||n.type!=="click"){a={};u=[];for(i=0;i<m;i++){c=h[i];p=c.selector;if(a[p]===t){a[p]=c.needsContext?g(p,this).index(o)>=0:g.find(p,this,null,[o]).length}if(a[p]){u.push(c)}}if(u.length){x.push({elem:o,matches:u})}}}}if(h.length>m){x.push({elem:this,matches:h.slice(m)})}for(i=0;i<x.length&&!n.isPropagationStopped();i++){l=x[i];n.currentTarget=l.elem;for(r=0;r<l.matches.length&&!n.isImmediatePropagationStopped();r++){c=l.matches[r];if(v||!n.namespace&&!c.namespace||n.namespace_re&&n.namespace_re.test(c.namespace)){n.data=c.data;n.handleObj=c;s=((g.event.special[c.origType]||{}).handle||c.handler).apply(l.elem,y);if(s!==t){n.result=s;if(s===false){n.preventDefault();n.stopPropagation()}}}}}if(b.postDispatch){b.postDispatch.call(this,n)}return n.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){if(e.which==null){e.which=t.charCode!=null?t.charCode:t.keyCode}return e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var i,o,s,a=n.button,l=n.fromElement;if(e.pageX==null&&n.clientX!=null){i=e.target.ownerDocument||r;o=i.documentElement;s=i.body;e.pageX=n.clientX+(o&&o.scrollLeft||s&&s.scrollLeft||0)-(o&&o.clientLeft||s&&s.clientLeft||0);e.pageY=n.clientY+(o&&o.scrollTop||s&&s.scrollTop||0)-(o&&o.clientTop||s&&s.clientTop||0)}if(!e.relatedTarget&&l){e.relatedTarget=l===e.target?n.toElement:l}if(!e.which&&a!==t){e.which=a&1?1:a&2?3:a&4?2:0}return e}},fix:function(e){if(e[g.expando]){return e}var t,n,i=e,o=g.event.fixHooks[e.type]||{},s=o.props?this.props.concat(o.props):this.props;e=g.Event(i);for(t=s.length;t;){n=s[--t];e[n]=i[n]}if(!e.target){e.target=i.srcElement||r}if(e.target.nodeType===3){e.target=e.target.parentNode}e.metaKey=!!e.metaKey;return o.filter?o.filter(e,i):e},special:{load:{noBubble:true},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(e,t,n){if(g.isWindow(this)){this.onbeforeunload=n
}},teardown:function(e,t){if(this.onbeforeunload===t){this.onbeforeunload=null}}}},simulate:function(e,t,n,i){var r=g.extend(new g.Event,n,{type:e,isSimulated:true,originalEvent:{}});if(i){g.event.trigger(r,null,t)}else{g.event.dispatch.call(t,r)}if(r.isDefaultPrevented()){n.preventDefault()}}};g.event.handle=g.event.dispatch;g.removeEvent=r.removeEventListener?function(e,t,n){if(e.removeEventListener){e.removeEventListener(t,n,false)}}:function(e,t,n){var i="on"+t;if(e.detachEvent){if(typeof e[i]==="undefined"){e[i]=null}e.detachEvent(i,n)}};g.Event=function(e,t){if(!(this instanceof g.Event)){return new g.Event(e,t)}if(e&&e.type){this.originalEvent=e;this.type=e.type;this.isDefaultPrevented=e.defaultPrevented||e.returnValue===false||e.getPreventDefault&&e.getPreventDefault()?tt:et}else{this.type=e}if(t){g.extend(this,t)}this.timeStamp=e&&e.timeStamp||g.now();this[g.expando]=true};function et(){return false}function tt(){return true}g.Event.prototype={preventDefault:function(){this.isDefaultPrevented=tt;var e=this.originalEvent;if(!e){return}if(e.preventDefault){e.preventDefault()}else{e.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=tt;var e=this.originalEvent;if(!e){return}if(e.stopPropagation){e.stopPropagation()}e.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=tt;this.stopPropagation()},isDefaultPrevented:et,isPropagationStopped:et,isImmediatePropagationStopped:et};g.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){g.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,r=e.relatedTarget,o=e.handleObj,s=o.selector;if(!r||r!==i&&!g.contains(i,r)){e.type=o.origType;n=o.handler.apply(this,arguments);e.type=t}return n}}});if(!g.support.submitBubbles){g.event.special.submit={setup:function(){if(g.nodeName(this,"form")){return false}g.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,i=g.nodeName(n,"input")||g.nodeName(n,"button")?n.form:t;if(i&&!g._data(i,"_submit_attached")){g.event.add(i,"submit._submit",function(e){e._submit_bubble=true});g._data(i,"_submit_attached",true)}})},postDispatch:function(e){if(e._submit_bubble){delete e._submit_bubble;if(this.parentNode&&!e.isTrigger){g.event.simulate("submit",this.parentNode,e,true)}}},teardown:function(){if(g.nodeName(this,"form")){return false}g.event.remove(this,"._submit")}}}if(!g.support.changeBubbles){g.event.special.change={setup:function(){if(Y.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio"){g.event.add(this,"propertychange._change",function(e){if(e.originalEvent.propertyName==="checked"){this._just_changed=true}});g.event.add(this,"click._change",function(e){if(this._just_changed&&!e.isTrigger){this._just_changed=false}g.event.simulate("change",this,e,true)})}return false}g.event.add(this,"beforeactivate._change",function(e){var t=e.target;if(Y.test(t.nodeName)&&!g._data(t,"_change_attached")){g.event.add(t,"change._change",function(e){if(this.parentNode&&!e.isSimulated&&!e.isTrigger){g.event.simulate("change",this.parentNode,e,true)}});g._data(t,"_change_attached",true)}})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||t.type!=="radio"&&t.type!=="checkbox"){return e.handleObj.handler.apply(this,arguments)}},teardown:function(){g.event.remove(this,"._change");return!Y.test(this.nodeName)}}}if(!g.support.focusinBubbles){g.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,i=function(e){g.event.simulate(t,e.target,g.event.fix(e),true)};g.event.special[t]={setup:function(){if(n++===0){r.addEventListener(e,i,true)}},teardown:function(){if(--n===0){r.removeEventListener(e,i,true)}}}})}g.fn.extend({on:function(e,n,i,r,o){var s,a;if(typeof e==="object"){if(typeof n!=="string"){i=i||n;n=t}for(a in e){this.on(a,n,i,e[a],o)}return this}if(i==null&&r==null){r=n;i=n=t}else if(r==null){if(typeof n==="string"){r=i;i=t}else{r=i;i=n;n=t}}if(r===false){r=et}else if(!r){return this}if(o===1){s=r;r=function(e){g().off(e);return s.apply(this,arguments)};r.guid=s.guid||(s.guid=g.guid++)}return this.each(function(){g.event.add(this,e,r,i,n)})},one:function(e,t,n,i){return this.on(e,t,n,i,1)},off:function(e,n,i){var r,o;if(e&&e.preventDefault&&e.handleObj){r=e.handleObj;g(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler);return this}if(typeof e==="object"){for(o in e){this.off(o,n,e[o])}return this}if(n===false||typeof n==="function"){i=n;n=t}if(i===false){i=et}return this.each(function(){g.event.remove(this,e,i,n)})},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},live:function(e,t,n){g(this.context).on(e,this.selector,t,n);return this},die:function(e,t){g(this.context).off(e,this.selector||"**",t);return this},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return arguments.length===1?this.off(e,"**"):this.off(t,e||"**",n)},trigger:function(e,t){return this.each(function(){g.event.trigger(e,t,this)})},triggerHandler:function(e,t){if(this[0]){return g.event.trigger(e,t,this[0],true)}},toggle:function(e){var t=arguments,n=e.guid||g.guid++,i=0,r=function(n){var r=(g._data(this,"lastToggle"+e.guid)||0)%i;g._data(this,"lastToggle"+e.guid,r+1);n.preventDefault();return t[r].apply(this,arguments)||false};r.guid=n;while(i<t.length){t[i++].guid=n}return this.click(r)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});g.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){g.fn[t]=function(e,n){if(n==null){n=e;e=null}return arguments.length>0?this.on(t,null,e,n):this.trigger(t)};if(G.test(t)){g.event.fixHooks[t]=g.event.keyHooks}if(Q.test(t)){g.event.fixHooks[t]=g.event.mouseHooks}});(function(e,t){var n,i,r,o,s,a,l,u,f,c,p=true,d="undefined",h=("sizcache"+Math.random()).replace(".",""),m=String,y=e.document,v=y.documentElement,b=0,x=0,w=[].pop,T=[].push,N=[].slice,k=[].indexOf||function(e){var t=0,n=this.length;for(;t<n;t++){if(this[t]===e){return t}}return-1},C=function(e,t){e[h]=t==null||t;return e},E=function(){var e={},t=[];return C(function(n,i){if(t.push(n)>r.cacheLength){delete e[t.shift()]}return e[n+" "]=i},e)},S=E(),A=E(),j=E(),D="[\\x20\\t\\r\\n\\f]",L="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",H=L.replace("w","w#"),F="([*^$|!~]?=)",M="\\["+D+"*("+L+")"+D+"*(?:"+F+D+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+H+")|)|)"+D+"*\\]",_=":("+L+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+M+")|[^:]|\\\\.)*|.*))\\)|)",O=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+D+"*((?:-\\d)?\\d*)"+D+"*\\)|)(?=[^-]|$)",q=new RegExp("^"+D+"+|((?:^|[^\\\\])(?:\\\\.)*)"+D+"+$","g"),B=new RegExp("^"+D+"*,"+D+"*"),P=new RegExp("^"+D+"*([\\x20\\t\\r\\n\\f>+~])"+D+"*"),W=new RegExp(_),R=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,$=/^:not/,I=/[\x20\t\r\n\f]*[+~]/,z=/:not\($/,X=/h\d/i,U=/input|select|textarea|button/i,Y=/\\(?!\\)/g,V={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),NAME:new RegExp("^\\[name=['\"]?("+L+")['\"]?\\]"),TAG:new RegExp("^("+L.replace("w","w*")+")"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+_),POS:new RegExp(O,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+D+"*(even|odd|(([+-]|)(\\d*)n|)"+D+"*(?:([+-]|)"+D+"*(\\d+)|))"+D+"*\\)|)","i"),needsContext:new RegExp("^"+D+"*[>+~]|"+O,"i")},J=function(e){var t=y.createElement("div");try{return e(t)}catch(n){return false}finally{t=null}},G=J(function(e){e.appendChild(y.createComment(""));return!e.getElementsByTagName("*").length}),Q=J(function(e){e.innerHTML="<a href='#'></a>";return e.firstChild&&typeof e.firstChild.getAttribute!==d&&e.firstChild.getAttribute("href")==="#"}),K=J(function(e){e.innerHTML="<select></select>";var t=typeof e.lastChild.getAttribute("multiple");return t!=="boolean"&&t!=="string"}),Z=J(function(e){e.innerHTML="<div class='hidden e'></div><div class='hidden'></div>";if(!e.getElementsByClassName||!e.getElementsByClassName("e").length){return false}e.lastChild.className="e";return e.getElementsByClassName("e").length===2}),et=J(function(e){e.id=h+0;e.innerHTML="<a name='"+h+"'></a><div name='"+h+"'></div>";v.insertBefore(e,v.firstChild);var t=y.getElementsByName&&y.getElementsByName(h).length===2+y.getElementsByName(h+0).length;i=!y.getElementById(h);v.removeChild(e);return t});try{N.call(v.childNodes,0)[0].nodeType}catch(tt){N=function(e){var t,n=[];for(;t=this[e];e++){n.push(t)}return n}}function nt(e,t,n,i){n=n||[];t=t||y;var r,o,l,u,f=t.nodeType;if(!e||typeof e!=="string"){return n}if(f!==1&&f!==9){return[]}l=s(t);if(!l&&!i){if(r=R.exec(e)){if(u=r[1]){if(f===9){o=t.getElementById(u);if(o&&o.parentNode){if(o.id===u){n.push(o);return n}}else{return n}}else{if(t.ownerDocument&&(o=t.ownerDocument.getElementById(u))&&a(t,o)&&o.id===u){n.push(o);return n}}}else if(r[2]){T.apply(n,N.call(t.getElementsByTagName(e),0));return n}else if((u=r[3])&&Z&&t.getElementsByClassName){T.apply(n,N.call(t.getElementsByClassName(u),0));return n}}}return gt(e.replace(q,"$1"),t,n,i,l)}nt.matches=function(e,t){return nt(e,null,null,t)};nt.matchesSelector=function(e,t){return nt(t,null,null,[e]).length>0};function it(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function rt(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function ot(e){return C(function(t){t=+t;return C(function(n,i){var r,o=e([],n.length,t),s=o.length;while(s--){if(n[r=o[s]]){n[r]=!(i[r]=n[r])}}})})}o=nt.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(r===1||r===9||r===11){if(typeof e.textContent==="string"){return e.textContent}else{for(e=e.firstChild;e;e=e.nextSibling){n+=o(e)}}}else if(r===3||r===4){return e.nodeValue}}else{for(;t=e[i];i++){n+=o(t)}}return n};s=nt.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":false};a=nt.contains=v.contains?function(e,t){var n=e.nodeType===9?e.documentElement:e,i=t&&t.parentNode;return e===i||!!(i&&i.nodeType===1&&n.contains&&n.contains(i))}:v.compareDocumentPosition?function(e,t){return t&&!!(e.compareDocumentPosition(t)&16)}:function(e,t){while(t=t.parentNode){if(t===e){return true}}return false};nt.attr=function(e,t){var n,i=s(e);if(!i){t=t.toLowerCase()}if(n=r.attrHandle[t]){return n(e)}if(i||K){return e.getAttribute(t)}n=e.getAttributeNode(t);return n?typeof e[t]==="boolean"?e[t]?t:null:n.specified?n.value:null:null};r=nt.selectors={cacheLength:50,createPseudo:C,match:V,attrHandle:Q?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},find:{ID:i?function(e,t,n){if(typeof t.getElementById!==d&&!n){var i=t.getElementById(e);return i&&i.parentNode?[i]:[]}}:function(e,n,i){if(typeof n.getElementById!==d&&!i){var r=n.getElementById(e);return r?r.id===e||typeof r.getAttributeNode!==d&&r.getAttributeNode("id").value===e?[r]:t:[]}},TAG:G?function(e,t){if(typeof t.getElementsByTagName!==d){return t.getElementsByTagName(e)}}:function(e,t){var n=t.getElementsByTagName(e);if(e==="*"){var i,r=[],o=0;for(;i=n[o];o++){if(i.nodeType===1){r.push(i)}}return r}return n},NAME:et&&function(e,t){if(typeof t.getElementsByName!==d){return t.getElementsByName(name)}},CLASS:Z&&function(e,t,n){if(typeof t.getElementsByClassName!==d&&!n){return t.getElementsByClassName(e)}}},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){e[1]=e[1].replace(Y,"");e[3]=(e[4]||e[5]||"").replace(Y,"");if(e[2]==="~="){e[3]=" "+e[3]+" "}return e.slice(0,4)},CHILD:function(e){e[1]=e[1].toLowerCase();if(e[1]==="nth"){if(!e[2]){nt.error(e[0])}e[3]=+(e[3]?e[4]+(e[5]||1):2*(e[2]==="even"||e[2]==="odd"));e[4]=+(e[6]+e[7]||e[2]==="odd")}else if(e[2]){nt.error(e[0])}return e},PSEUDO:function(e){var t,n;if(V["CHILD"].test(e[0])){return null}if(e[3]){e[2]=e[3]}else if(t=e[4]){if(W.test(t)&&(n=at(t,true))&&(n=t.indexOf(")",t.length-n)-t.length)){t=t.slice(0,n);e[0]=e[0].slice(0,n)}e[2]=t}return e.slice(0,3)}},filter:{ID:i?function(e){e=e.replace(Y,"");return function(t){return t.getAttribute("id")===e}}:function(e){e=e.replace(Y,"");return function(t){var n=typeof t.getAttributeNode!==d&&t.getAttributeNode("id");return n&&n.value===e}},TAG:function(e){if(e==="*"){return function(){return true}}e=e.replace(Y,"").toLowerCase();return function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(e){var t=S[h][e+" "];return t||(t=new RegExp("(^|"+D+")"+e+"("+D+"|$)"))&&S(e,function(e){return t.test(e.className||typeof e.getAttribute!==d&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(i,r){var o=nt.attr(i,e);if(o==null){return t==="!="}if(!t){return true}o+="";return t==="="?o===n:t==="!="?o!==n:t==="^="?n&&o.indexOf(n)===0:t==="*="?n&&o.indexOf(n)>-1:t==="$="?n&&o.substr(o.length-n.length)===n:t==="~="?(" "+o+" ").indexOf(n)>-1:t==="|="?o===n||o.substr(0,n.length+1)===n+"-":false}},CHILD:function(e,t,n,i){if(e==="nth"){return function(e){var t,r,o=e.parentNode;if(n===1&&i===0){return true}if(o){r=0;for(t=o.firstChild;t;t=t.nextSibling){if(t.nodeType===1){r++;if(e===t){break}}}}r-=i;return r===n||r%n===0&&r/n>=0}}return function(t){var n=t;switch(e){case"only":case"first":while(n=n.previousSibling){if(n.nodeType===1){return false}}if(e==="first"){return true}n=t;case"last":while(n=n.nextSibling){if(n.nodeType===1){return false}}return true}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||nt.error("unsupported pseudo: "+e);if(i[h]){return i(t)}if(i.length>1){n=[e,e,"",t];return r.setFilters.hasOwnProperty(e.toLowerCase())?C(function(e,n){var r,o=i(e,t),s=o.length;while(s--){r=k.call(e,o[s]);e[r]=!(n[r]=o[s])}}):function(e){return i(e,0,n)}}return i}},pseudos:{not:C(function(e){var t=[],n=[],i=l(e.replace(q,"$1"));return i[h]?C(function(e,t,n,r){var o,s=i(e,null,r,[]),a=e.length;while(a--){if(o=s[a]){e[a]=!(t[a]=o)}}}):function(e,r,o){t[0]=e;i(t,null,o,n);return!n.pop()}}),has:C(function(e){return function(t){return nt(e,t).length>0}}),contains:C(function(e){return function(t){return(t.textContent||t.innerText||o(t)).indexOf(e)>-1}}),enabled:function(e){return e.disabled===false},disabled:function(e){return e.disabled===true},checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return!r.pseudos["empty"](e)},empty:function(e){var t;e=e.firstChild;while(e){if(e.nodeName>"@"||(t=e.nodeType)===3||t===4){return false}e=e.nextSibling}return true},header:function(e){return X.test(e.nodeName)},text:function(e){var t,n;return e.nodeName.toLowerCase()==="input"&&(t=e.type)==="text"&&((n=e.getAttribute("type"))==null||n.toLowerCase()===t)},radio:it("radio"),checkbox:it("checkbox"),file:it("file"),password:it("password"),image:it("image"),submit:rt("submit"),reset:rt("reset"),button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},input:function(e){return U.test(e.nodeName)},focus:function(e){var t=e.ownerDocument;return e===t.activeElement&&(!t.hasFocus||t.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},active:function(e){return e===e.ownerDocument.activeElement},first:ot(function(){return[0]}),last:ot(function(e,t){return[t-1]}),eq:ot(function(e,t,n){return[n<0?n+t:n]}),even:ot(function(e,t){for(var n=0;n<t;n+=2){e.push(n)}return e}),odd:ot(function(e,t){for(var n=1;n<t;n+=2){e.push(n)}return e}),lt:ot(function(e,t,n){for(var i=n<0?n+t:n;--i>=0;){e.push(i)}return e}),gt:ot(function(e,t,n){for(var i=n<0?n+t:n;++i<t;){e.push(i)}return e})}};function st(e,t,n){if(e===t){return n}var i=e.nextSibling;while(i){if(i===t){return-1}i=i.nextSibling}return 1}u=v.compareDocumentPosition?function(e,t){if(e===t){f=true;return 0}return(!e.compareDocumentPosition||!t.compareDocumentPosition?e.compareDocumentPosition:e.compareDocumentPosition(t)&4)?-1:1}:function(e,t){if(e===t){f=true;return 0}else if(e.sourceIndex&&t.sourceIndex){return e.sourceIndex-t.sourceIndex}var n,i,r=[],o=[],s=e.parentNode,a=t.parentNode,l=s;if(s===a){return st(e,t)}else if(!s){return-1}else if(!a){return 1}while(l){r.unshift(l);l=l.parentNode}l=a;while(l){o.unshift(l);l=l.parentNode}n=r.length;i=o.length;for(var u=0;u<n&&u<i;u++){if(r[u]!==o[u]){return st(r[u],o[u])}}return u===n?st(e,o[u],-1):st(r[u],t,1)};[0,0].sort(u);p=!f;nt.uniqueSort=function(e){var t,n=[],i=1,r=0;f=p;e.sort(u);if(f){for(;t=e[i];i++){if(t===e[i-1]){r=n.push(i)}}while(r--){e.splice(n[r],1)}}return e};nt.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)};function at(e,t){var n,i,o,s,a,l,u,f=A[h][e+" "];if(f){return t?0:f.slice(0)}a=e;l=[];u=r.preFilter;while(a){if(!n||(i=B.exec(a))){if(i){a=a.slice(i[0].length)||a}l.push(o=[])}n=false;if(i=P.exec(a)){o.push(n=new m(i.shift()));a=a.slice(n.length);n.type=i[0].replace(q," ")}for(s in r.filter){if((i=V[s].exec(a))&&(!u[s]||(i=u[s](i)))){o.push(n=new m(i.shift()));a=a.slice(n.length);n.type=s;n.matches=i}}if(!n){break}}return t?a.length:a?nt.error(e):A(e,l).slice(0)}function lt(e,t,i){var r=t.dir,o=i&&t.dir==="parentNode",s=x++;return t.first?function(t,n,i){while(t=t[r]){if(o||t.nodeType===1){return e(t,n,i)}}}:function(t,i,a){if(!a){var l,u=b+" "+s+" ",f=u+n;while(t=t[r]){if(o||t.nodeType===1){if((l=t[h])===f){return t.sizset}else if(typeof l==="string"&&l.indexOf(u)===0){if(t.sizset){return t}}else{t[h]=f;if(e(t,i,a)){t.sizset=true;return t}t.sizset=false}}}}else{while(t=t[r]){if(o||t.nodeType===1){if(e(t,i,a)){return t}}}}}}function ut(e){return e.length>1?function(t,n,i){var r=e.length;while(r--){if(!e[r](t,n,i)){return false}}return true}:e[0]}function ft(e,t,n,i,r){var o,s=[],a=0,l=e.length,u=t!=null;for(;a<l;a++){if(o=e[a]){if(!n||n(o,i,r)){s.push(o);if(u){t.push(a)}}}}return s}function ct(e,t,n,i,r,o){if(i&&!i[h]){i=ct(i)}if(r&&!r[h]){r=ct(r,o)}return C(function(o,s,a,l){var u,f,c,p=[],d=[],h=s.length,g=o||ht(t||"*",a.nodeType?[a]:a,[]),m=e&&(o||!t)?ft(g,p,e,a,l):g,y=n?r||(o?e:h||i)?[]:s:m;if(n){n(m,y,a,l)}if(i){u=ft(y,d);i(u,[],a,l);f=u.length;while(f--){if(c=u[f]){y[d[f]]=!(m[d[f]]=c)}}}if(o){if(r||e){if(r){u=[];f=y.length;while(f--){if(c=y[f]){u.push(m[f]=c)}}r(null,y=[],u,l)}f=y.length;while(f--){if((c=y[f])&&(u=r?k.call(o,c):p[f])>-1){o[u]=!(s[u]=c)}}}}else{y=ft(y===s?y.splice(h,y.length):y);if(r){r(null,s,y,l)}else{T.apply(s,y)}}})}function pt(e){var t,n,i,o=e.length,s=r.relative[e[0].type],a=s||r.relative[" "],l=s?1:0,u=lt(function(e){return e===t},a,true),f=lt(function(e){return k.call(t,e)>-1},a,true),p=[function(e,n,i){return!s&&(i||n!==c)||((t=n).nodeType?u(e,n,i):f(e,n,i))}];for(;l<o;l++){if(n=r.relative[e[l].type]){p=[lt(ut(p),n)]}else{n=r.filter[e[l].type].apply(null,e[l].matches);if(n[h]){i=++l;for(;i<o;i++){if(r.relative[e[i].type]){break}}return ct(l>1&&ut(p),l>1&&e.slice(0,l-1).join("").replace(q,"$1"),n,l<i&&pt(e.slice(l,i)),i<o&&pt(e=e.slice(i)),i<o&&e.join(""))}p.push(n)}}return ut(p)}function dt(e,t){var i=t.length>0,o=e.length>0,s=function(a,l,u,f,p){var d,h,g,m=[],v=0,x="0",N=a&&[],k=p!=null,C=c,E=a||o&&r.find["TAG"]("*",p&&l.parentNode||l),S=b+=C==null?1:Math.E;if(k){c=l!==y&&l;n=s.el}for(;(d=E[x])!=null;x++){if(o&&d){for(h=0;g=e[h];h++){if(g(d,l,u)){f.push(d);break}}if(k){b=S;n=++s.el}}if(i){if(d=!g&&d){v--}if(a){N.push(d)}}}v+=x;if(i&&x!==v){for(h=0;g=t[h];h++){g(N,m,l,u)}if(a){if(v>0){while(x--){if(!(N[x]||m[x])){m[x]=w.call(f)}}}m=ft(m)}T.apply(f,m);if(k&&!a&&m.length>0&&v+t.length>1){nt.uniqueSort(f)}}if(k){b=S;c=C}return N};s.el=0;return i?C(s):s}l=nt.compile=function(e,t){var n,i=[],r=[],o=j[h][e+" "];if(!o){if(!t){t=at(e)}n=t.length;while(n--){o=pt(t[n]);if(o[h]){i.push(o)}else{r.push(o)}}o=j(e,dt(r,i))}return o};function ht(e,t,n){var i=0,r=t.length;for(;i<r;i++){nt(e,t[i],n)}return n}function gt(e,t,n,i,o){var s,a,u,f,c,p=at(e),d=p.length;if(!i){if(p.length===1){a=p[0]=p[0].slice(0);if(a.length>2&&(u=a[0]).type==="ID"&&t.nodeType===9&&!o&&r.relative[a[1].type]){t=r.find["ID"](u.matches[0].replace(Y,""),t,o)[0];if(!t){return n}e=e.slice(a.shift().length)}for(s=V["POS"].test(e)?-1:a.length-1;s>=0;s--){u=a[s];if(r.relative[f=u.type]){break}if(c=r.find[f]){if(i=c(u.matches[0].replace(Y,""),I.test(a[0].type)&&t.parentNode||t,o)){a.splice(s,1);e=i.length&&a.join("");if(!e){T.apply(n,N.call(i,0));return n}break}}}}}l(e,p)(i,t,o,n,I.test(e));return n}if(y.querySelectorAll){(function(){var e,t=gt,n=/'|\\/g,i=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,r=[":focus"],o=[":active"],a=v.matchesSelector||v.mozMatchesSelector||v.webkitMatchesSelector||v.oMatchesSelector||v.msMatchesSelector;J(function(e){e.innerHTML="<select><option selected=''></option></select>";if(!e.querySelectorAll("[selected]").length){r.push("\\["+D+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)")}if(!e.querySelectorAll(":checked").length){r.push(":checked")}});J(function(e){e.innerHTML="<p test=''></p>";if(e.querySelectorAll("[test^='']").length){r.push("[*^$]="+D+"*(?:\"\"|'')")}e.innerHTML="<input type='hidden'/>";if(!e.querySelectorAll(":enabled").length){r.push(":enabled",":disabled")}});r=new RegExp(r.join("|"));gt=function(e,i,o,s,a){if(!s&&!a&&!r.test(e)){var l,u,f=true,c=h,p=i,d=i.nodeType===9&&e;if(i.nodeType===1&&i.nodeName.toLowerCase()!=="object"){l=at(e);if(f=i.getAttribute("id")){c=f.replace(n,"\\$&")}else{i.setAttribute("id",c)}c="[id='"+c+"'] ";u=l.length;while(u--){l[u]=c+l[u].join("")}p=I.test(e)&&i.parentNode||i;d=l.join(",")}if(d){try{T.apply(o,N.call(p.querySelectorAll(d),0));return o}catch(g){}finally{if(!f){i.removeAttribute("id")}}}}return t(e,i,o,s,a)};if(a){J(function(t){e=a.call(t,"div");try{a.call(t,"[test!='']:sizzle");o.push("!=",_)}catch(n){}});o=new RegExp(o.join("|"));nt.matchesSelector=function(t,n){n=n.replace(i,"='$1']");if(!s(t)&&!o.test(n)&&!r.test(n)){try{var l=a.call(t,n);if(l||e||t.document&&t.document.nodeType!==11){return l}}catch(u){}}return nt(n,null,null,[t]).length>0}}})()}r.pseudos["nth"]=r.pseudos["eq"];function mt(){}r.filters=mt.prototype=r.pseudos;r.setFilters=new mt;nt.attr=g.attr;g.find=nt;g.expr=nt.selectors;g.expr[":"]=g.expr.pseudos;g.unique=nt.uniqueSort;g.text=nt.getText;g.isXMLDoc=nt.isXML;g.contains=nt.contains})(e);var nt=/Until$/,it=/^(?:parents|prev(?:Until|All))/,rt=/^.[^:#\[\.,]*$/,ot=g.expr.match.needsContext,st={children:true,contents:true,next:true,prev:true};g.fn.extend({find:function(e){var t,n,i,r,o,s,a=this;if(typeof e!=="string"){return g(e).filter(function(){for(t=0,n=a.length;t<n;t++){if(g.contains(a[t],this)){return true}}})}s=this.pushStack("","find",e);for(t=0,n=this.length;t<n;t++){i=s.length;g.find(e,this[t],s);if(t>0){for(r=i;r<s.length;r++){for(o=0;o<i;o++){if(s[o]===s[r]){s.splice(r--,1);break}}}}}return s},has:function(e){var t,n=g(e,this),i=n.length;return this.filter(function(){for(t=0;t<i;t++){if(g.contains(this,n[t])){return true}}})},not:function(e){return this.pushStack(ut(this,e,false),"not",e)},filter:function(e){return this.pushStack(ut(this,e,true),"filter",e)},is:function(e){return!!e&&(typeof e==="string"?ot.test(e)?g(e,this.context).index(this[0])>=0:g.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,i=0,r=this.length,o=[],s=ot.test(e)||typeof e!=="string"?g(e,t||this.context):0;for(;i<r;i++){n=this[i];while(n&&n.ownerDocument&&n!==t&&n.nodeType!==11){if(s?s.index(n)>-1:g.find.matchesSelector(n,e)){o.push(n);break}n=n.parentNode}}o=o.length>1?g.unique(o):o;return this.pushStack(o,"closest",e)},index:function(e){if(!e){return this[0]&&this[0].parentNode?this.prevAll().length:-1}if(typeof e==="string"){return g.inArray(this[0],g(e))}return g.inArray(e.jquery?e[0]:e,this)},add:function(e,t){var n=typeof e==="string"?g(e,t):g.makeArray(e&&e.nodeType?[e]:e),i=g.merge(this.get(),n);return this.pushStack(at(n[0])||at(i[0])?i:g.unique(i))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});g.fn.andSelf=g.fn.addBack;function at(e){return!e||!e.parentNode||e.parentNode.nodeType===11}function lt(e,t){do{e=e[t]}while(e&&e.nodeType!==1);return e}g.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return g.dir(e,"parentNode")},parentsUntil:function(e,t,n){return g.dir(e,"parentNode",n)},next:function(e){return lt(e,"nextSibling")},prev:function(e){return lt(e,"previousSibling")},nextAll:function(e){return g.dir(e,"nextSibling")},prevAll:function(e){return g.dir(e,"previousSibling")},nextUntil:function(e,t,n){return g.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return g.dir(e,"previousSibling",n)},siblings:function(e){return g.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return g.sibling(e.firstChild)},contents:function(e){return g.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:g.merge([],e.childNodes)}},function(e,t){g.fn[e]=function(n,i){var r=g.map(this,t,n);if(!nt.test(e)){i=n}if(i&&typeof i==="string"){r=g.filter(i,r)}r=this.length>1&&!st[e]?g.unique(r):r;if(this.length>1&&it.test(e)){r=r.reverse()}return this.pushStack(r,e,f.call(arguments).join(","))}});g.extend({filter:function(e,t,n){if(n){e=":not("+e+")"}return t.length===1?g.find.matchesSelector(t[0],e)?[t[0]]:[]:g.find.matches(e,t)},dir:function(e,n,i){var r=[],o=e[n];while(o&&o.nodeType!==9&&(i===t||o.nodeType!==1||!g(o).is(i))){if(o.nodeType===1){r.push(o)}o=o[n]}return r},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling){if(e.nodeType===1&&e!==t){n.push(e)}}return n}});function ut(e,t,n){t=t||0;if(g.isFunction(t)){return g.grep(e,function(e,i){var r=!!t.call(e,i,e);return r===n})}else if(t.nodeType){return g.grep(e,function(e,i){return e===t===n})}else if(typeof t==="string"){var i=g.grep(e,function(e){return e.nodeType===1});if(rt.test(t)){return g.filter(t,i,!n)}else{t=g.filter(t,i)}}return g.grep(e,function(e,i){return g.inArray(e,t)>=0===n})}function ft(e){var t=ct.split("|"),n=e.createDocumentFragment();if(n.createElement){while(t.length){n.createElement(t.pop())}}return n}var ct="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|"+"header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",pt=/ jQuery\d+="(?:null|\d+)"/g,dt=/^\s+/,ht=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,gt=/<([\w:]+)/,mt=/<tbody/i,yt=/<|&#?\w+;/,vt=/<(?:script|style|link)/i,bt=/<(?:script|object|embed|option|style)/i,xt=new RegExp("<(?:"+ct+")[\\s/>]","i"),wt=/^(?:checkbox|radio)$/,Tt=/checked\s*(?:[^=]|=\s*.checked.)/i,Nt=/\/(java|ecma)script/i,kt=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,Ct={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},Et=ft(r),St=Et.appendChild(r.createElement("div"));Ct.optgroup=Ct.option;Ct.tbody=Ct.tfoot=Ct.colgroup=Ct.caption=Ct.thead;Ct.th=Ct.td;if(!g.support.htmlSerialize){Ct._default=[1,"X<div>","</div>"]}g.fn.extend({text:function(e){return g.access(this,function(e){return e===t?g.text(this):this.empty().append((this[0]&&this[0].ownerDocument||r).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(g.isFunction(e)){return this.each(function(t){g(this).wrapAll(e.call(this,t))})}if(this[0]){var t=g(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(g.isFunction(e)){return this.each(function(t){g(this).wrapInner(e.call(this,t))})}return this.each(function(){var t=g(this),n=t.contents();if(n.length){n.wrapAll(e)}else{t.append(e)}})},wrap:function(e){var t=g.isFunction(e);return this.each(function(n){g(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){if(!g.nodeName(this,"body")){g(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1||this.nodeType===11){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1||this.nodeType===11){this.insertBefore(e,this.firstChild)}})},before:function(){if(!at(this[0])){return this.domManip(arguments,false,function(e){this.parentNode.insertBefore(e,this)})}if(arguments.length){var e=g.clean(arguments);return this.pushStack(g.merge(e,this),"before",this.selector)}},after:function(){if(!at(this[0])){return this.domManip(arguments,false,function(e){this.parentNode.insertBefore(e,this.nextSibling)})}if(arguments.length){var e=g.clean(arguments);return this.pushStack(g.merge(this,e),"after",this.selector)}},remove:function(e,t){var n,i=0;for(;(n=this[i])!=null;i++){if(!e||g.filter(e,[n]).length){if(!t&&n.nodeType===1){g.cleanData(n.getElementsByTagName("*"));g.cleanData([n])}if(n.parentNode){n.parentNode.removeChild(n)}}}return this},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){if(e.nodeType===1){g.cleanData(e.getElementsByTagName("*"))}while(e.firstChild){e.removeChild(e.firstChild)}}return this},clone:function(e,t){e=e==null?false:e;t=t==null?e:t;return this.map(function(){return g.clone(this,e,t)})},html:function(e){return g.access(this,function(e){var n=this[0]||{},i=0,r=this.length;if(e===t){return n.nodeType===1?n.innerHTML.replace(pt,""):t}if(typeof e==="string"&&!vt.test(e)&&(g.support.htmlSerialize||!xt.test(e))&&(g.support.leadingWhitespace||!dt.test(e))&&!Ct[(gt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(ht,"<$1></$2>");try{for(;i<r;i++){n=this[i]||{};if(n.nodeType===1){g.cleanData(n.getElementsByTagName("*"));n.innerHTML=e}}n=0}catch(o){}}if(n){this.empty().append(e)}},null,e,arguments.length)},replaceWith:function(e){if(!at(this[0])){if(g.isFunction(e)){return this.each(function(t){var n=g(this),i=n.html();n.replaceWith(e.call(this,t,i))})}if(typeof e!=="string"){e=g(e).detach()}return this.each(function(){var t=this.nextSibling,n=this.parentNode;g(this).remove();if(t){g(t).before(e)}else{g(n).append(e)}})}return this.length?this.pushStack(g(g.isFunction(e)?e():e),"replaceWith",e):this},detach:function(e){return this.remove(e,true)},domManip:function(e,n,i){e=[].concat.apply([],e);var r,o,s,a,l=0,u=e[0],f=[],c=this.length;if(!g.support.checkClone&&c>1&&typeof u==="string"&&Tt.test(u)){return this.each(function(){g(this).domManip(e,n,i)})}if(g.isFunction(u)){return this.each(function(r){var o=g(this);e[0]=u.call(this,r,n?o.html():t);o.domManip(e,n,i)})}if(this[0]){r=g.buildFragment(e,this,f);s=r.fragment;o=s.firstChild;if(s.childNodes.length===1){s=o}if(o){n=n&&g.nodeName(o,"tr");for(a=r.cacheable||c-1;l<c;l++){i.call(n&&g.nodeName(this[l],"table")?At(this[l],"tbody"):this[l],l===a?s:g.clone(s,true,true))}}s=o=null;if(f.length){g.each(f,function(e,t){if(t.src){if(g.ajax){g.ajax({url:t.src,type:"GET",dataType:"script",async:false,global:false,"throws":true})}else{g.error("no ajax")}}else{g.globalEval((t.text||t.textContent||t.innerHTML||"").replace(kt,""))}if(t.parentNode){t.parentNode.removeChild(t)}})}}return this}});function At(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function jt(e,t){if(t.nodeType!==1||!g.hasData(e)){return}var n,i,r,o=g._data(e),s=g._data(t,o),a=o.events;if(a){delete s.handle;s.events={};for(n in a){for(i=0,r=a[n].length;i<r;i++){g.event.add(t,n,a[n][i])}}}if(s.data){s.data=g.extend({},s.data)}}function Dt(e,t){var n;if(t.nodeType!==1){return}if(t.clearAttributes){t.clearAttributes()}if(t.mergeAttributes){t.mergeAttributes(e)}n=t.nodeName.toLowerCase();if(n==="object"){if(t.parentNode){t.outerHTML=e.outerHTML
}if(g.support.html5Clone&&(e.innerHTML&&!g.trim(t.innerHTML))){t.innerHTML=e.innerHTML}}else if(n==="input"&&wt.test(e.type)){t.defaultChecked=t.checked=e.checked;if(t.value!==e.value){t.value=e.value}}else if(n==="option"){t.selected=e.defaultSelected}else if(n==="input"||n==="textarea"){t.defaultValue=e.defaultValue}else if(n==="script"&&t.text!==e.text){t.text=e.text}t.removeAttribute(g.expando)}g.buildFragment=function(e,n,i){var o,s,a,l=e[0];n=n||r;n=!n.nodeType&&n[0]||n;n=n.ownerDocument||n;if(e.length===1&&typeof l==="string"&&l.length<512&&n===r&&l.charAt(0)==="<"&&!bt.test(l)&&(g.support.checkClone||!Tt.test(l))&&(g.support.html5Clone||!xt.test(l))){s=true;o=g.fragments[l];a=o!==t}if(!o){o=n.createDocumentFragment();g.clean(e,n,o,i);if(s){g.fragments[l]=a&&o}}return{fragment:o,cacheable:s}};g.fragments={};g.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){g.fn[e]=function(n){var i,r=0,o=[],s=g(n),a=s.length,l=this.length===1&&this[0].parentNode;if((l==null||l&&l.nodeType===11&&l.childNodes.length===1)&&a===1){s[t](this[0]);return this}else{for(;r<a;r++){i=(r>0?this.clone(true):this).get();g(s[r])[t](i);o=o.concat(i)}return this.pushStack(o,e,s.selector)}}});function Lt(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*")}else if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*")}else{return[]}}function Ht(e){if(wt.test(e.type)){e.defaultChecked=e.checked}}g.extend({clone:function(e,t,n){var i,r,o,s;if(g.support.html5Clone||g.isXMLDoc(e)||!xt.test("<"+e.nodeName+">")){s=e.cloneNode(true)}else{St.innerHTML=e.outerHTML;St.removeChild(s=St.firstChild)}if((!g.support.noCloneEvent||!g.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!g.isXMLDoc(e)){Dt(e,s);i=Lt(e);r=Lt(s);for(o=0;i[o];++o){if(r[o]){Dt(i[o],r[o])}}}if(t){jt(e,s);if(n){i=Lt(e);r=Lt(s);for(o=0;i[o];++o){jt(i[o],r[o])}}}i=r=null;return s},clean:function(e,t,n,i){var o,s,a,l,u,f,c,p,d,h,m,y,v=t===r&&Et,b=[];if(!t||typeof t.createDocumentFragment==="undefined"){t=r}for(o=0;(a=e[o])!=null;o++){if(typeof a==="number"){a+=""}if(!a){continue}if(typeof a==="string"){if(!yt.test(a)){a=t.createTextNode(a)}else{v=v||ft(t);c=t.createElement("div");v.appendChild(c);a=a.replace(ht,"<$1></$2>");l=(gt.exec(a)||["",""])[1].toLowerCase();u=Ct[l]||Ct._default;f=u[0];c.innerHTML=u[1]+a+u[2];while(f--){c=c.lastChild}if(!g.support.tbody){p=mt.test(a);d=l==="table"&&!p?c.firstChild&&c.firstChild.childNodes:u[1]==="<table>"&&!p?c.childNodes:[];for(s=d.length-1;s>=0;--s){if(g.nodeName(d[s],"tbody")&&!d[s].childNodes.length){d[s].parentNode.removeChild(d[s])}}}if(!g.support.leadingWhitespace&&dt.test(a)){c.insertBefore(t.createTextNode(dt.exec(a)[0]),c.firstChild)}a=c.childNodes;c.parentNode.removeChild(c)}}if(a.nodeType){b.push(a)}else{g.merge(b,a)}}if(c){a=c=v=null}if(!g.support.appendChecked){for(o=0;(a=b[o])!=null;o++){if(g.nodeName(a,"input")){Ht(a)}else if(typeof a.getElementsByTagName!=="undefined"){g.grep(a.getElementsByTagName("input"),Ht)}}}if(n){m=function(e){if(!e.type||Nt.test(e.type)){return i?i.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e)}};for(o=0;(a=b[o])!=null;o++){if(!(g.nodeName(a,"script")&&m(a))){n.appendChild(a);if(typeof a.getElementsByTagName!=="undefined"){y=g.grep(g.merge([],a.getElementsByTagName("script")),m);b.splice.apply(b,[o+1,0].concat(y));o+=y.length}}}}return b},cleanData:function(e,t){var n,i,r,o,s=0,a=g.expando,l=g.cache,u=g.support.deleteExpando,f=g.event.special;for(;(r=e[s])!=null;s++){if(t||g.acceptData(r)){i=r[a];n=i&&l[i];if(n){if(n.events){for(o in n.events){if(f[o]){g.event.remove(r,o)}else{g.removeEvent(r,o,n.handle)}}}if(l[i]){delete l[i];if(u){delete r[a]}else if(r.removeAttribute){r.removeAttribute(a)}else{r[a]=null}g.deletedIds.push(i)}}}}}});(function(){var e,t;g.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}};e=g.uaMatch(s.userAgent);t={};if(e.browser){t[e.browser]=true;t.version=e.version}if(t.chrome){t.webkit=true}else if(t.webkit){t.safari=true}g.browser=t;g.sub=function(){function e(t,n){return new e.fn.init(t,n)}g.extend(true,e,this);e.superclass=this;e.fn=e.prototype=this();e.fn.constructor=e;e.sub=this.sub;e.fn.init=function n(i,r){if(r&&r instanceof g&&!(r instanceof e)){r=e(r)}return g.fn.init.call(this,i,r,t)};e.fn.init.prototype=e.fn;var t=e(r);return e}})();var Ft,Mt,_t,Ot=/alpha\([^)]*\)/i,qt=/opacity=([^)]*)/,Bt=/^(top|right|bottom|left)$/,Pt=/^(none|table(?!-c[ea]).+)/,Wt=/^margin/,Rt=new RegExp("^("+m+")(.*)$","i"),$t=new RegExp("^("+m+")(?!px)[a-z%]+$","i"),It=new RegExp("^([-+])=("+m+")","i"),zt={BODY:"block"},Xt={position:"absolute",visibility:"hidden",display:"block"},Ut={letterSpacing:0,fontWeight:400},Yt=["Top","Right","Bottom","Left"],Vt=["Webkit","O","Moz","ms"],Jt=g.fn.toggle;function Gt(e,t){if(t in e){return t}var n=t.charAt(0).toUpperCase()+t.slice(1),i=t,r=Vt.length;while(r--){t=Vt[r]+n;if(t in e){return t}}return i}function Qt(e,t){e=t||e;return g.css(e,"display")==="none"||!g.contains(e.ownerDocument,e)}function Kt(e,t){var n,i,r=[],o=0,s=e.length;for(;o<s;o++){n=e[o];if(!n.style){continue}r[o]=g._data(n,"olddisplay");if(t){if(!r[o]&&n.style.display==="none"){n.style.display=""}if(n.style.display===""&&Qt(n)){r[o]=g._data(n,"olddisplay",nn(n.nodeName))}}else{i=Ft(n,"display");if(!r[o]&&i!=="none"){g._data(n,"olddisplay",i)}}}for(o=0;o<s;o++){n=e[o];if(!n.style){continue}if(!t||n.style.display==="none"||n.style.display===""){n.style.display=t?r[o]||"":"none"}}return e}g.fn.extend({css:function(e,n){return g.access(this,function(e,n,i){return i!==t?g.style(e,n,i):g.css(e,n)},e,n,arguments.length>1)},show:function(){return Kt(this,true)},hide:function(){return Kt(this)},toggle:function(e,t){var n=typeof e==="boolean";if(g.isFunction(e)&&g.isFunction(t)){return Jt.apply(this,arguments)}return this.each(function(){if(n?e:Qt(this)){g(this).show()}else{g(this).hide()}})}});g.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ft(e,"opacity");return n===""?"1":n}}}},cssNumber:{fillOpacity:true,fontWeight:true,lineHeight:true,opacity:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{"float":g.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,i,r){if(!e||e.nodeType===3||e.nodeType===8||!e.style){return}var o,s,a,l=g.camelCase(n),u=e.style;n=g.cssProps[l]||(g.cssProps[l]=Gt(u,l));a=g.cssHooks[n]||g.cssHooks[l];if(i!==t){s=typeof i;if(s==="string"&&(o=It.exec(i))){i=(o[1]+1)*o[2]+parseFloat(g.css(e,n));s="number"}if(i==null||s==="number"&&isNaN(i)){return}if(s==="number"&&!g.cssNumber[l]){i+="px"}if(!a||!("set"in a)||(i=a.set(e,i,r))!==t){try{u[n]=i}catch(f){}}}else{if(a&&"get"in a&&(o=a.get(e,false,r))!==t){return o}return u[n]}},css:function(e,n,i,r){var o,s,a,l=g.camelCase(n);n=g.cssProps[l]||(g.cssProps[l]=Gt(e.style,l));a=g.cssHooks[n]||g.cssHooks[l];if(a&&"get"in a){o=a.get(e,true,r)}if(o===t){o=Ft(e,n)}if(o==="normal"&&n in Ut){o=Ut[n]}if(i||r!==t){s=parseFloat(o);return i||g.isNumeric(s)?s||0:o}return o},swap:function(e,t,n){var i,r,o={};for(r in t){o[r]=e.style[r];e.style[r]=t[r]}i=n.call(e);for(r in t){e.style[r]=o[r]}return i}});if(e.getComputedStyle){Ft=function(t,n){var i,r,o,s,a=e.getComputedStyle(t,null),l=t.style;if(a){i=a.getPropertyValue(n)||a[n];if(i===""&&!g.contains(t.ownerDocument,t)){i=g.style(t,n)}if($t.test(i)&&Wt.test(n)){r=l.width;o=l.minWidth;s=l.maxWidth;l.minWidth=l.maxWidth=l.width=i;i=a.width;l.width=r;l.minWidth=o;l.maxWidth=s}}return i}}else if(r.documentElement.currentStyle){Ft=function(e,t){var n,i,r=e.currentStyle&&e.currentStyle[t],o=e.style;if(r==null&&o&&o[t]){r=o[t]}if($t.test(r)&&!Bt.test(t)){n=o.left;i=e.runtimeStyle&&e.runtimeStyle.left;if(i){e.runtimeStyle.left=e.currentStyle.left}o.left=t==="fontSize"?"1em":r;r=o.pixelLeft+"px";o.left=n;if(i){e.runtimeStyle.left=i}}return r===""?"auto":r}}function Zt(e,t,n){var i=Rt.exec(t);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):t}function en(e,t,n,i){var r=n===(i?"border":"content")?4:t==="width"?1:0,o=0;for(;r<4;r+=2){if(n==="margin"){o+=g.css(e,n+Yt[r],true)}if(i){if(n==="content"){o-=parseFloat(Ft(e,"padding"+Yt[r]))||0}if(n!=="margin"){o-=parseFloat(Ft(e,"border"+Yt[r]+"Width"))||0}}else{o+=parseFloat(Ft(e,"padding"+Yt[r]))||0;if(n!=="padding"){o+=parseFloat(Ft(e,"border"+Yt[r]+"Width"))||0}}}return o}function tn(e,t,n){var i=t==="width"?e.offsetWidth:e.offsetHeight,r=true,o=g.support.boxSizing&&g.css(e,"boxSizing")==="border-box";if(i<=0||i==null){i=Ft(e,t);if(i<0||i==null){i=e.style[t]}if($t.test(i)){return i}r=o&&(g.support.boxSizingReliable||i===e.style[t]);i=parseFloat(i)||0}return i+en(e,t,n||(o?"border":"content"),r)+"px"}function nn(e){if(zt[e]){return zt[e]}var t=g("<"+e+">").appendTo(r.body),n=t.css("display");t.remove();if(n==="none"||n===""){Mt=r.body.appendChild(Mt||g.extend(r.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!_t||!Mt.createElement){_t=(Mt.contentWindow||Mt.contentDocument).document;_t.write("<!doctype html><html><body>");_t.close()}t=_t.body.appendChild(_t.createElement(e));n=Ft(t,"display");r.body.removeChild(Mt)}zt[e]=n;return n}g.each(["height","width"],function(e,t){g.cssHooks[t]={get:function(e,n,i){if(n){if(e.offsetWidth===0&&Pt.test(Ft(e,"display"))){return g.swap(e,Xt,function(){return tn(e,t,i)})}else{return tn(e,t,i)}}},set:function(e,n,i){return Zt(e,n,i?en(e,t,i,g.support.boxSizing&&g.css(e,"boxSizing")==="border-box"):0)}}});if(!g.support.opacity){g.cssHooks.opacity={get:function(e,t){return qt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,i=e.currentStyle,r=g.isNumeric(t)?"alpha(opacity="+t*100+")":"",o=i&&i.filter||n.filter||"";n.zoom=1;if(t>=1&&g.trim(o.replace(Ot,""))===""&&n.removeAttribute){n.removeAttribute("filter");if(i&&!i.filter){return}}n.filter=Ot.test(o)?o.replace(Ot,r):o+" "+r}}}g(function(){if(!g.support.reliableMarginRight){g.cssHooks.marginRight={get:function(e,t){return g.swap(e,{display:"inline-block"},function(){if(t){return Ft(e,"marginRight")}})}}}if(!g.support.pixelPosition&&g.fn.position){g.each(["top","left"],function(e,t){g.cssHooks[t]={get:function(e,n){if(n){var i=Ft(e,t);return $t.test(i)?g(e).position()[t]+"px":i}}}})}});if(g.expr&&g.expr.filters){g.expr.filters.hidden=function(e){return e.offsetWidth===0&&e.offsetHeight===0||!g.support.reliableHiddenOffsets&&(e.style&&e.style.display||Ft(e,"display"))==="none"};g.expr.filters.visible=function(e){return!g.expr.filters.hidden(e)}}g.each({margin:"",padding:"",border:"Width"},function(e,t){g.cssHooks[e+t]={expand:function(n){var i,r=typeof n==="string"?n.split(" "):[n],o={};for(i=0;i<4;i++){o[e+Yt[i]+t]=r[i]||r[i-2]||r[0]}return o}};if(!Wt.test(e)){g.cssHooks[e+t].set=Zt}});var rn=/%20/g,on=/\[\]$/,sn=/\r?\n/g,an=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,ln=/^(?:select|textarea)/i;g.fn.extend({serialize:function(){return g.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?g.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ln.test(this.nodeName)||an.test(this.type))}).map(function(e,t){var n=g(this).val();return n==null?null:g.isArray(n)?g.map(n,function(e,n){return{name:t.name,value:e.replace(sn,"\r\n")}}):{name:t.name,value:n.replace(sn,"\r\n")}}).get()}});g.param=function(e,n){var i,r=[],o=function(e,t){t=g.isFunction(t)?t():t==null?"":t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t){n=g.ajaxSettings&&g.ajaxSettings.traditional}if(g.isArray(e)||e.jquery&&!g.isPlainObject(e)){g.each(e,function(){o(this.name,this.value)})}else{for(i in e){un(i,e[i],n,o)}}return r.join("&").replace(rn,"+")};function un(e,t,n,i){var r;if(g.isArray(t)){g.each(t,function(t,r){if(n||on.test(e)){i(e,r)}else{un(e+"["+(typeof r==="object"?t:"")+"]",r,n,i)}})}else if(!n&&g.type(t)==="object"){for(r in t){un(e+"["+r+"]",t[r],n,i)}}else{i(e,t)}}var fn,cn,pn=/#.*$/,dn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,hn=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,gn=/^(?:GET|HEAD)$/,mn=/^\/\//,yn=/\?/,vn=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bn=/([?&])_=[^&]*/,xn=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,wn=g.fn.load,Tn={},Nn={},kn=["*/"]+["*"];try{cn=o.href}catch(Cn){cn=r.createElement("a");cn.href="";cn=cn.href}fn=xn.exec(cn.toLowerCase())||[];function En(e){return function(t,n){if(typeof t!=="string"){n=t;t="*"}var i,r,o,s=t.toLowerCase().split(v),a=0,l=s.length;if(g.isFunction(n)){for(;a<l;a++){i=s[a];o=/^\+/.test(i);if(o){i=i.substr(1)||"*"}r=e[i]=e[i]||[];r[o?"unshift":"push"](n)}}}}function Sn(e,n,i,r,o,s){o=o||n.dataTypes[0];s=s||{};s[o]=true;var a,l=e[o],u=0,f=l?l.length:0,c=e===Tn;for(;u<f&&(c||!a);u++){a=l[u](n,i,r);if(typeof a==="string"){if(!c||s[a]){a=t}else{n.dataTypes.unshift(a);a=Sn(e,n,i,r,a,s)}}}if((c||!a)&&!s["*"]){a=Sn(e,n,i,r,"*",s)}return a}function An(e,n){var i,r,o=g.ajaxSettings.flatOptions||{};for(i in n){if(n[i]!==t){(o[i]?e:r||(r={}))[i]=n[i]}}if(r){g.extend(true,e,r)}}g.fn.load=function(e,n,i){if(typeof e!=="string"&&wn){return wn.apply(this,arguments)}if(!this.length){return this}var r,o,s,a=this,l=e.indexOf(" ");if(l>=0){r=e.slice(l,e.length);e=e.slice(0,l)}if(g.isFunction(n)){i=n;n=t}else if(n&&typeof n==="object"){o="POST"}g.ajax({url:e,type:o,dataType:"html",data:n,complete:function(e,t){if(i){a.each(i,s||[e.responseText,t,e])}}}).done(function(e){s=arguments;a.html(r?g("<div>").append(e.replace(vn,"")).find(r):e)});return this};g.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){g.fn[t]=function(e){return this.on(t,e)}});g.each(["get","post"],function(e,n){g[n]=function(e,i,r,o){if(g.isFunction(i)){o=o||r;r=i;i=t}return g.ajax({type:n,url:e,data:i,success:r,dataType:o})}});g.extend({getScript:function(e,n){return g.get(e,t,n,"script")},getJSON:function(e,t,n){return g.get(e,t,n,"json")},ajaxSetup:function(e,t){if(t){An(e,g.ajaxSettings)}else{t=e;e=g.ajaxSettings}An(e,t);return e},ajaxSettings:{url:cn,isLocal:hn.test(fn[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":kn},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":true,"text json":g.parseJSON,"text xml":g.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:En(Tn),ajaxTransport:En(Nn),ajax:function(e,n){if(typeof e==="object"){n=e;e=t}n=n||{};var i,r,o,s,a,l,u,f,c=g.ajaxSetup({},n),p=c.context||c,d=p!==c&&(p.nodeType||p instanceof g)?g(p):g.event,h=g.Deferred(),m=g.Callbacks("once memory"),y=c.statusCode||{},b={},x={},w=0,T="canceled",N={readyState:0,setRequestHeader:function(e,t){if(!w){var n=e.toLowerCase();e=x[n]=x[n]||e;b[e]=t}return this},getAllResponseHeaders:function(){return w===2?r:null},getResponseHeader:function(e){var n;if(w===2){if(!o){o={};while(n=dn.exec(r)){o[n[1].toLowerCase()]=n[2]}}n=o[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){if(!w){c.mimeType=e}return this},abort:function(e){e=e||T;if(s){s.abort(e)}k(0,e);return this}};function k(e,n,o,l){var f,v,b,x,T,k=n;if(w===2){return}w=2;if(a){clearTimeout(a)}s=t;r=l||"";N.readyState=e>0?4:0;if(o){x=jn(c,N,o)}if(e>=200&&e<300||e===304){if(c.ifModified){T=N.getResponseHeader("Last-Modified");if(T){g.lastModified[i]=T}T=N.getResponseHeader("Etag");if(T){g.etag[i]=T}}if(e===304){k="notmodified";f=true}else{f=Dn(c,x);k=f.state;v=f.data;b=f.error;f=!b}}else{b=k;if(!k||e){k="error";if(e<0){e=0}}}N.status=e;N.statusText=(n||k)+"";if(f){h.resolveWith(p,[v,k,N])}else{h.rejectWith(p,[N,k,b])}N.statusCode(y);y=t;if(u){d.trigger("ajax"+(f?"Success":"Error"),[N,c,f?v:b])}m.fireWith(p,[N,k]);if(u){d.trigger("ajaxComplete",[N,c]);if(!--g.active){g.event.trigger("ajaxStop")}}}h.promise(N);N.success=N.done;N.error=N.fail;N.complete=m.add;N.statusCode=function(e){if(e){var t;if(w<2){for(t in e){y[t]=[y[t],e[t]]}}else{t=e[N.status];N.always(t)}}return this};c.url=((e||c.url)+"").replace(pn,"").replace(mn,fn[1]+"//");c.dataTypes=g.trim(c.dataType||"*").toLowerCase().split(v);if(c.crossDomain==null){l=xn.exec(c.url.toLowerCase());c.crossDomain=!!(l&&(l[1]!==fn[1]||l[2]!==fn[2]||(l[3]||(l[1]==="http:"?80:443))!=(fn[3]||(fn[1]==="http:"?80:443))))}if(c.data&&c.processData&&typeof c.data!=="string"){c.data=g.param(c.data,c.traditional)}Sn(Tn,c,n,N);if(w===2){return N}u=c.global;c.type=c.type.toUpperCase();c.hasContent=!gn.test(c.type);if(u&&g.active++===0){g.event.trigger("ajaxStart")}if(!c.hasContent){if(c.data){c.url+=(yn.test(c.url)?"&":"?")+c.data;delete c.data}i=c.url;if(c.cache===false){var C=g.now(),E=c.url.replace(bn,"$1_="+C);c.url=E+(E===c.url?(yn.test(c.url)?"&":"?")+"_="+C:"")}}if(c.data&&c.hasContent&&c.contentType!==false||n.contentType){N.setRequestHeader("Content-Type",c.contentType)}if(c.ifModified){i=i||c.url;if(g.lastModified[i]){N.setRequestHeader("If-Modified-Since",g.lastModified[i])}if(g.etag[i]){N.setRequestHeader("If-None-Match",g.etag[i])}}N.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+(c.dataTypes[0]!=="*"?", "+kn+"; q=0.01":""):c.accepts["*"]);for(f in c.headers){N.setRequestHeader(f,c.headers[f])}if(c.beforeSend&&(c.beforeSend.call(p,N,c)===false||w===2)){return N.abort()}T="abort";for(f in{success:1,error:1,complete:1}){N[f](c[f])}s=Sn(Nn,c,n,N);if(!s){k(-1,"No Transport")}else{N.readyState=1;if(u){d.trigger("ajaxSend",[N,c])}if(c.async&&c.timeout>0){a=setTimeout(function(){N.abort("timeout")},c.timeout)}try{w=1;s.send(b,k)}catch(S){if(w<2){k(-1,S)}else{throw S}}}return N},active:0,lastModified:{},etag:{}});function jn(e,n,i){var r,o,s,a,l=e.contents,u=e.dataTypes,f=e.responseFields;for(o in f){if(o in i){n[f[o]]=i[o]}}while(u[0]==="*"){u.shift();if(r===t){r=e.mimeType||n.getResponseHeader("content-type")}}if(r){for(o in l){if(l[o]&&l[o].test(r)){u.unshift(o);break}}}if(u[0]in i){s=u[0]}else{for(o in i){if(!u[0]||e.converters[o+" "+u[0]]){s=o;break}if(!a){a=o}}s=s||a}if(s){if(s!==u[0]){u.unshift(s)}return i[s]}}function Dn(e,t){var n,i,r,o,s=e.dataTypes.slice(),a=s[0],l={},u=0;if(e.dataFilter){t=e.dataFilter(t,e.dataType)}if(s[1]){for(n in e.converters){l[n.toLowerCase()]=e.converters[n]}}for(;r=s[++u];){if(r!=="*"){if(a!=="*"&&a!==r){n=l[a+" "+r]||l["* "+r];if(!n){for(i in l){o=i.split(" ");if(o[1]===r){n=l[a+" "+o[0]]||l["* "+o[0]];if(n){if(n===true){n=l[i]}else if(l[i]!==true){r=o[0];s.splice(u--,0,r)}break}}}}if(n!==true){if(n&&e["throws"]){t=n(t)}else{try{t=n(t)}catch(f){return{state:"parsererror",error:n?f:"No conversion from "+a+" to "+r}}}}}a=r}}return{state:"success",data:t}}var Ln=[],Hn=/\?/,Fn=/(=)\?(?=&|$)|\?\?/,Mn=g.now();g.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Ln.pop()||g.expando+"_"+Mn++;this[e]=true;return e}});g.ajaxPrefilter("json jsonp",function(n,i,r){var o,s,a,l=n.data,u=n.url,f=n.jsonp!==false,c=f&&Fn.test(u),p=f&&!c&&typeof l==="string"&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Fn.test(l);if(n.dataTypes[0]==="jsonp"||c||p){o=n.jsonpCallback=g.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback;s=e[o];if(c){n.url=u.replace(Fn,"$1"+o)}else if(p){n.data=l.replace(Fn,"$1"+o)}else if(f){n.url+=(Hn.test(u)?"&":"?")+n.jsonp+"="+o}n.converters["script json"]=function(){if(!a){g.error(o+" was not called")}return a[0]};n.dataTypes[0]="json";e[o]=function(){a=arguments};r.always(function(){e[o]=s;if(n[o]){n.jsonpCallback=i.jsonpCallback;Ln.push(o)}if(a&&g.isFunction(s)){s(a[0])}a=s=t});return"script"}});g.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){g.globalEval(e);return e}}});g.ajaxPrefilter("script",function(e){if(e.cache===t){e.cache=false}if(e.crossDomain){e.type="GET";e.global=false}});g.ajaxTransport("script",function(e){if(e.crossDomain){var n,i=r.head||r.getElementsByTagName("head")[0]||r.documentElement;return{send:function(o,s){n=r.createElement("script");n.async="async";if(e.scriptCharset){n.charset=e.scriptCharset}n.src=e.url;n.onload=n.onreadystatechange=function(e,r){if(r||!n.readyState||/loaded|complete/.test(n.readyState)){n.onload=n.onreadystatechange=null;if(i&&n.parentNode){i.removeChild(n)}n=t;if(!r){s(200,"success")}}};i.insertBefore(n,i.firstChild)},abort:function(){if(n){n.onload(0,1)}}}}});var _n,On=e.ActiveXObject?function(){for(var e in _n){_n[e](0,1)}}:false,qn=0;function Bn(){try{return new e.XMLHttpRequest}catch(t){}}function Pn(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}g.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&Bn()||Pn()}:Bn;(function(e){g.extend(g.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})})(g.ajaxSettings.xhr());if(g.support.ajax){g.ajaxTransport(function(n){if(!n.crossDomain||g.support.cors){var i;return{send:function(r,o){var s,a,l=n.xhr();if(n.username){l.open(n.type,n.url,n.async,n.username,n.password)}else{l.open(n.type,n.url,n.async)}if(n.xhrFields){for(a in n.xhrFields){l[a]=n.xhrFields[a]}}if(n.mimeType&&l.overrideMimeType){l.overrideMimeType(n.mimeType)}if(!n.crossDomain&&!r["X-Requested-With"]){r["X-Requested-With"]="XMLHttpRequest"}try{for(a in r){l.setRequestHeader(a,r[a])}}catch(u){}l.send(n.hasContent&&n.data||null);i=function(e,r){var a,u,f,c,p;try{if(i&&(r||l.readyState===4)){i=t;if(s){l.onreadystatechange=g.noop;if(On){delete _n[s]}}if(r){if(l.readyState!==4){l.abort()}}else{a=l.status;f=l.getAllResponseHeaders();c={};p=l.responseXML;if(p&&p.documentElement){c.xml=p}try{c.text=l.responseText}catch(d){}try{u=l.statusText}catch(d){u=""}if(!a&&n.isLocal&&!n.crossDomain){a=c.text?200:404}else if(a===1223){a=204}}}}catch(h){if(!r){o(-1,h)}}if(c){o(a,u,c,f)}};if(!n.async){i()}else if(l.readyState===4){setTimeout(i,0)}else{s=++qn;if(On){if(!_n){_n={};g(e).unload(On)}_n[s]=i}l.onreadystatechange=i}},abort:function(){if(i){i(0,1)}}}}})}var Wn,Rn,$n=/^(?:toggle|show|hide)$/,In=new RegExp("^(?:([-+])=|)("+m+")([a-z%]*)$","i"),zn=/queueHooks$/,Xn=[Qn],Un={"*":[function(e,t){var n,i,r=this.createTween(e,t),o=In.exec(t),s=r.cur(),a=+s||0,l=1,u=20;if(o){n=+o[2];i=o[3]||(g.cssNumber[e]?"":"px");if(i!=="px"&&a){a=g.css(r.elem,e,true)||n||1;do{l=l||".5";a=a/l;g.style(r.elem,e,a+i)}while(l!==(l=r.cur()/s)&&l!==1&&--u)}r.unit=i;r.start=a;r.end=o[1]?a+(o[1]+1)*n:n}return r}]};function Yn(){setTimeout(function(){Wn=t},0);return Wn=g.now()}function Vn(e,t){g.each(t,function(t,n){var i=(Un[t]||[]).concat(Un["*"]),r=0,o=i.length;for(;r<o;r++){if(i[r].call(e,t,n)){return}}})}function Jn(e,t,n){var i,r=0,o=0,s=Xn.length,a=g.Deferred().always(function(){delete l.elem}),l=function(){var t=Wn||Yn(),n=Math.max(0,u.startTime+u.duration-t),i=n/u.duration||0,r=1-i,o=0,s=u.tweens.length;for(;o<s;o++){u.tweens[o].run(r)}a.notifyWith(e,[u,r,n]);if(r<1&&s){return n}else{a.resolveWith(e,[u]);return false}},u=a.promise({elem:e,props:g.extend({},t),opts:g.extend(true,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Wn||Yn(),duration:n.duration,tweens:[],createTween:function(t,n,i){var r=g.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);u.tweens.push(r);return r},stop:function(t){var n=0,i=t?u.tweens.length:0;for(;n<i;n++){u.tweens[n].run(1)}if(t){a.resolveWith(e,[u,t])}else{a.rejectWith(e,[u,t])}return this}}),f=u.props;Gn(f,u.opts.specialEasing);for(;r<s;r++){i=Xn[r].call(u,e,f,u.opts);if(i){return i}}Vn(u,f);if(g.isFunction(u.opts.start)){u.opts.start.call(e,u)}g.fx.timer(g.extend(l,{anim:u,queue:u.opts.queue,elem:e}));return u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function Gn(e,t){var n,i,r,o,s;for(n in e){i=g.camelCase(n);r=t[i];o=e[n];if(g.isArray(o)){r=o[1];o=e[n]=o[0]}if(n!==i){e[i]=o;delete e[n]}s=g.cssHooks[i];if(s&&"expand"in s){o=s.expand(o);delete e[i];for(n in o){if(!(n in e)){e[n]=o[n];t[n]=r}}}else{t[i]=r}}}g.Animation=g.extend(Jn,{tweener:function(e,t){if(g.isFunction(e)){t=e;e=["*"]}else{e=e.split(" ")}var n,i=0,r=e.length;for(;i<r;i++){n=e[i];Un[n]=Un[n]||[];Un[n].unshift(t)}},prefilter:function(e,t){if(t){Xn.unshift(e)}else{Xn.push(e)}}});function Qn(e,t,n){var i,r,o,s,a,l,u,f,c,p=this,d=e.style,h={},m=[],y=e.nodeType&&Qt(e);if(!n.queue){f=g._queueHooks(e,"fx");if(f.unqueued==null){f.unqueued=0;c=f.empty.fire;f.empty.fire=function(){if(!f.unqueued){c()}}}f.unqueued++;p.always(function(){p.always(function(){f.unqueued--;if(!g.queue(e,"fx").length){f.empty.fire()}})})}if(e.nodeType===1&&("height"in t||"width"in t)){n.overflow=[d.overflow,d.overflowX,d.overflowY];if(g.css(e,"display")==="inline"&&g.css(e,"float")==="none"){if(!g.support.inlineBlockNeedsLayout||nn(e.nodeName)==="inline"){d.display="inline-block"}else{d.zoom=1}}}if(n.overflow){d.overflow="hidden";if(!g.support.shrinkWrapBlocks){p.done(function(){d.overflow=n.overflow[0];d.overflowX=n.overflow[1];d.overflowY=n.overflow[2]})}}for(i in t){o=t[i];if($n.exec(o)){delete t[i];l=l||o==="toggle";if(o===(y?"hide":"show")){continue}m.push(i)}}s=m.length;if(s){a=g._data(e,"fxshow")||g._data(e,"fxshow",{});if("hidden"in a){y=a.hidden}if(l){a.hidden=!y}if(y){g(e).show()}else{p.done(function(){g(e).hide()})}p.done(function(){var t;g.removeData(e,"fxshow",true);for(t in h){g.style(e,t,h[t])}});for(i=0;i<s;i++){r=m[i];u=p.createTween(r,y?a[r]:0);h[r]=a[r]||g.style(e,r);if(!(r in a)){a[r]=u.start;if(y){u.end=u.start;u.start=r==="width"||r==="height"?1:0}}}}}function Kn(e,t,n,i,r){return new Kn.prototype.init(e,t,n,i,r)}g.Tween=Kn;Kn.prototype={constructor:Kn,init:function(e,t,n,i,r,o){this.elem=e;this.prop=n;this.easing=r||"swing";this.options=t;this.start=this.now=this.cur();this.end=i;this.unit=o||(g.cssNumber[n]?"":"px")},cur:function(){var e=Kn.propHooks[this.prop];return e&&e.get?e.get(this):Kn.propHooks._default.get(this)},run:function(e){var t,n=Kn.propHooks[this.prop];if(this.options.duration){this.pos=t=g.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration)}else{this.pos=t=e}this.now=(this.end-this.start)*t+this.start;if(this.options.step){this.options.step.call(this.elem,this.now,this)}if(n&&n.set){n.set(this)}else{Kn.propHooks._default.set(this)}return this}};Kn.prototype.init.prototype=Kn.prototype;Kn.propHooks={_default:{get:function(e){var t;if(e.elem[e.prop]!=null&&(!e.elem.style||e.elem.style[e.prop]==null)){return e.elem[e.prop]}t=g.css(e.elem,e.prop,false,"");return!t||t==="auto"?0:t},set:function(e){if(g.fx.step[e.prop]){g.fx.step[e.prop](e)}else if(e.elem.style&&(e.elem.style[g.cssProps[e.prop]]!=null||g.cssHooks[e.prop])){g.style(e.elem,e.prop,e.now+e.unit)}else{e.elem[e.prop]=e.now}}}};Kn.propHooks.scrollTop=Kn.propHooks.scrollLeft={set:function(e){if(e.elem.nodeType&&e.elem.parentNode){e.elem[e.prop]=e.now}}};g.each(["toggle","show","hide"],function(e,t){var n=g.fn[t];g.fn[t]=function(i,r,o){return i==null||typeof i==="boolean"||!e&&g.isFunction(i)&&g.isFunction(r)?n.apply(this,arguments):this.animate(Zn(t,true),i,r,o)}});g.fn.extend({fadeTo:function(e,t,n,i){return this.filter(Qt).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=g.isEmptyObject(e),o=g.speed(t,n,i),s=function(){var t=Jn(this,g.extend({},e),o);if(r){t.stop(true)}};return r||o.queue===false?this.each(s):this.queue(o.queue,s)},stop:function(e,n,i){var r=function(e){var t=e.stop;delete e.stop;t(i)};if(typeof e!=="string"){i=n;n=e;e=t}if(n&&e!==false){this.queue(e||"fx",[])}return this.each(function(){var t=true,n=e!=null&&e+"queueHooks",o=g.timers,s=g._data(this);if(n){if(s[n]&&s[n].stop){r(s[n])}}else{for(n in s){if(s[n]&&s[n].stop&&zn.test(n)){r(s[n])}}}for(n=o.length;n--;){if(o[n].elem===this&&(e==null||o[n].queue===e)){o[n].anim.stop(i);t=false;o.splice(n,1)}}if(t||!i){g.dequeue(this,e)}})}});function Zn(e,t){var n,i={height:e},r=0;t=t?1:0;for(;r<4;r+=2-t){n=Yt[r];i["margin"+n]=i["padding"+n]=e}if(t){i.opacity=i.width=e}return i}g.each({slideDown:Zn("show"),slideUp:Zn("hide"),slideToggle:Zn("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){g.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}});g.speed=function(e,t,n){var i=e&&typeof e==="object"?g.extend({},e):{complete:n||!n&&t||g.isFunction(e)&&e,duration:e,easing:n&&t||t&&!g.isFunction(t)&&t};i.duration=g.fx.off?0:typeof i.duration==="number"?i.duration:i.duration in g.fx.speeds?g.fx.speeds[i.duration]:g.fx.speeds._default;if(i.queue==null||i.queue===true){i.queue="fx"}i.old=i.complete;i.complete=function(){if(g.isFunction(i.old)){i.old.call(this)}if(i.queue){g.dequeue(this,i.queue)}};return i};g.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}};g.timers=[];g.fx=Kn.prototype.init;g.fx.tick=function(){var e,n=g.timers,i=0;Wn=g.now();for(;i<n.length;i++){e=n[i];if(!e()&&n[i]===e){n.splice(i--,1)}}if(!n.length){g.fx.stop()}Wn=t};g.fx.timer=function(e){if(e()&&g.timers.push(e)&&!Rn){Rn=setInterval(g.fx.tick,g.fx.interval)}};g.fx.interval=13;g.fx.stop=function(){clearInterval(Rn);Rn=null};g.fx.speeds={slow:600,fast:200,_default:400};g.fx.step={};if(g.expr&&g.expr.filters){g.expr.filters.animated=function(e){return g.grep(g.timers,function(t){return e===t.elem}).length}}var ei=/^(?:body|html)$/i;g.fn.offset=function(e){if(arguments.length){return e===t?this:this.each(function(t){g.offset.setOffset(this,e,t)})}var n,i,r,o,s,a,l,u={top:0,left:0},f=this[0],c=f&&f.ownerDocument;if(!c){return}if((i=c.body)===f){return g.offset.bodyOffset(f)}n=c.documentElement;if(!g.contains(n,f)){return u}if(typeof f.getBoundingClientRect!=="undefined"){u=f.getBoundingClientRect()}r=ti(c);o=n.clientTop||i.clientTop||0;s=n.clientLeft||i.clientLeft||0;a=r.pageYOffset||n.scrollTop;l=r.pageXOffset||n.scrollLeft;return{top:u.top+a-o,left:u.left+l-s}};g.offset={bodyOffset:function(e){var t=e.offsetTop,n=e.offsetLeft;if(g.support.doesNotIncludeMarginInBodyOffset){t+=parseFloat(g.css(e,"marginTop"))||0;n+=parseFloat(g.css(e,"marginLeft"))||0}return{top:t,left:n}},setOffset:function(e,t,n){var i=g.css(e,"position");if(i==="static"){e.style.position="relative"}var r=g(e),o=r.offset(),s=g.css(e,"top"),a=g.css(e,"left"),l=(i==="absolute"||i==="fixed")&&g.inArray("auto",[s,a])>-1,u={},f={},c,p;if(l){f=r.position();c=f.top;p=f.left}else{c=parseFloat(s)||0;p=parseFloat(a)||0}if(g.isFunction(t)){t=t.call(e,n,o)}if(t.top!=null){u.top=t.top-o.top+c}if(t.left!=null){u.left=t.left-o.left+p}if("using"in t){t.using.call(e,u)}else{r.css(u)}}};g.fn.extend({position:function(){if(!this[0]){return}var e=this[0],t=this.offsetParent(),n=this.offset(),i=ei.test(t[0].nodeName)?{top:0,left:0}:t.offset();n.top-=parseFloat(g.css(e,"marginTop"))||0;n.left-=parseFloat(g.css(e,"marginLeft"))||0;i.top+=parseFloat(g.css(t[0],"borderTopWidth"))||0;i.left+=parseFloat(g.css(t[0],"borderLeftWidth"))||0;return{top:n.top-i.top,left:n.left-i.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||r.body;while(e&&(!ei.test(e.nodeName)&&g.css(e,"position")==="static")){e=e.offsetParent}return e||r.body})}});g.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var i=/Y/.test(n);g.fn[e]=function(r){return g.access(this,function(e,r,o){var s=ti(e);if(o===t){return s?n in s?s[n]:s.document.documentElement[r]:e[r]}if(s){s.scrollTo(!i?o:g(s).scrollLeft(),i?o:g(s).scrollTop())}else{e[r]=o}},e,r,arguments.length,null)}});function ti(e){return g.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false
}g.each({Height:"height",Width:"width"},function(e,n){g.each({padding:"inner"+e,content:n,"":"outer"+e},function(i,r){g.fn[r]=function(r,o){var s=arguments.length&&(i||typeof r!=="boolean"),a=i||(r===true||o===true?"margin":"border");return g.access(this,function(n,i,r){var o;if(g.isWindow(n)){return n.document.documentElement["client"+e]}if(n.nodeType===9){o=n.documentElement;return Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])}return r===t?g.css(n,i,r,a):g.style(n,i,r,a)},n,s?r:t,s,null)}})});e.jQuery=e.$=g;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return g})}})(window);(function(e){var t=e.fn.html;e.fn.html=function(e){if(typeof e==="string"){try{var n=window.dmtrack&&dmtrack.clickstat;var i=arguments.callee.caller||"";var r=i.toString().substr(0,200);var o=e.match(/<script(\s+|>)|\s+on(click|dblclick|mousedown|change|error|keydown|keypress|keyup|load|focus|submit)\s*=/);if(n&&o!==null){n(location.protocol+"//stat.alibaba.com/event/common.html",{id:15873,ext:"url="+location.href+"|caller="+encodeURIComponent(r)+"|html="+encodeURIComponent(o[0])})}}catch(s){}}return t.apply(this,arguments)};e.ajaxPrefilter("*",function(e,t,i){e.url=n(e.url)});function n(e){var t=document.cookie;var n=t&&t.match(/(?:^|;)\s*xman_us_t\s*=\s*([^;]+)/);if(n){n=n[1].match(/(?:^|&)\s*ctoken\s*=\s*([^&]+)/)}var r=window["_intl_csrf_token_"]||n&&n[1];if(r&&i(e)&&/(\?|&)ctoken=/.test(e)===false){e+=(/\?/.test(e)?"&":"?")+"ctoken="+r}return e}function i(e){var t=/^https?:\/\/([^\:\/]+\.)?(alibaba|aliexpress)\.com(\:\d+)?\//i;var n=/^https?:\/\/(style|img)\.(alibaba|aliexpress)\.com(\:\d+)?\//i;return(t.test(e)||/^(\w+):\/\//i.test(e)===false&&t.test(location.href))&&n.test(e)===false}})($);