1
|
!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){var n=[],r=e.document,o=n.slice,i=n.concat,a=n.push,s=n.indexOf,c={},l=c.toString,u=c.hasOwnProperty,d={},p="1.12.4",f=function(e,t){return new f.fn.init(e,t)},h=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,g=/^-ms-/,v=/-([\da-z])/gi,m=function(e,t){return t.toUpperCase()};function y(e){var t=!!e&&"length"in e&&e.length,n=f.type(e);return"function"!==n&&!f.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}f.fn=f.prototype={jquery:p,constructor:f,selector:"",length:0,toArray:function(){return o.call(this)},get:function(e){return null!=e?0>e?this[e+this.length]:this[e]:o.call(this)},pushStack:function(e){var t=f.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return f.each(this,e)},map:function(e){return this.pushStack(f.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:a,sort:n.sort,splice:n.splice},f.extend=f.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,c=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||f.isFunction(a)||(a={}),s===c&&(a=this,s--);c>s;s++)if(null!=(o=arguments[s]))for(r in o)e=a[r],a!==(n=o[r])&&(l&&n&&(f.isPlainObject(n)||(t=f.isArray(n)))?(t?(t=!1,i=e&&f.isArray(e)?e:[]):i=e&&f.isPlainObject(e)?e:{},a[r]=f.extend(l,i,n)):void 0!==n&&(a[r]=n));return a},f.extend({expando:"jQuery"+(p+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===f.type(e)},isArray:Array.isArray||function(e){return"array"===f.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){var t=e&&e.toString();return!f.isArray(e)&&t-parseFloat(t)+1>=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==f.type(e)||e.nodeType||f.isWindow(e))return!1;try{if(e.constructor&&!u.call(e,"constructor")&&!u.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(!d.ownFirst)for(t in e)return u.call(e,t);for(t in e);return void 0===t||u.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[l.call(e)]||"object":typeof e},globalEval:function(t){t&&f.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(g,"ms-").replace(v,m)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,r=0;if(y(e))for(n=e.length;n>r&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(h,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(y(Object(e))?f.merge(n,"string"==typeof e?[e]:e):a.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(s)return s.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;n>r;)e[o++]=t[r++];if(n!=n)for(;void 0!==t[r];)e[o++]=t[r++];return e.length=o,e},grep:function(e,t,n){for(var r=[],o=0,i=e.length,a=!n;i>o;o++)!t(e[o],o)!==a&&r.push(e[o]);return r},map:function(e,t,n){var r,o,a=0,s=[];if(y(e))for(r=e.length;r>a;a++)null!=(o=t(e[a],a,n))&&s.push(o);else for(a in e)null!=(o=t(e[a],a,n))&&s.push(o);return i.apply([],s)},guid:1,proxy:function(e,t){var n,r,i;return"string"==typeof t&&(i=e[t],t=e,e=i),f.isFunction(e)?(n=o.call(arguments,2),(r=function(){return e.apply(t||this,n.concat(o.call(arguments)))}).guid=e.guid=e.guid||f.guid++,r):void 0},now:function(){return+new Date},support:d}),"function"==typeof Symbol&&(f.fn[Symbol.iterator]=n[Symbol.iterator]),f.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){c["[object "+t+"]"]=t.toLowerCase()});var b=function(e){var t,n,r,o,i,a,s,c,l,u,d,p,f,h,g,v,m,y,b,x="sizzle"+1*new Date,w=e.document,S=0,T=0,C=ae(),E=ae(),k=ae(),_=function(e,t){return e===t&&(d=!0),0},A=1<<31,N={}.hasOwnProperty,R=[],j=R.pop,D=R.push,H=R.push,L=R.slice,I=function(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1},q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",F="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",M="\\["+P+"*("+F+")(?:"+P+"*([*^$|!~]?=)"+P+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+F+"))|)"+P+"*\\]",O=":("+F+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+M+")*)|.*)\\)|)",W=new RegExp(P+"+","g"),B=new RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),z=new RegExp("^"+P+"*,"+P+"*"),$=new RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),U=new RegExp("="+P+"*([^\\]'\"]*?)"+P+"*\\]","g"),X=new RegExp(O),Q=new RegExp("^"+F+"$"),G={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+O),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+q+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},V=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Y=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Z=/[+~]/,ee=/'|\\/g,te=new RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),re=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},oe=function(){p()};try{H.apply(R=L.call(w.childNodes),w.childNodes)}catch(ne){H={apply:R.length?function(e,t){D.apply(e,L.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function ie(e,t,r,o){var i,s,l,u,d,h,m,y,S=t&&t.ownerDocument,T=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==T&&9!==T&&11!==T)return r;if(!o&&((t?t.ownerDocument||t:w)!==f&&p(t),t=t||f,g)){if(11!==T&&(h=Y.exec(e)))if(i=h[1]){if(9===T){if(!(l=t.getElementById(i)))return r;if(l.id===i)return r.push(l),r}else if(S&&(l=S.getElementById(i))&&b(t,l)&&l.id===i)return r.push(l),r}else{if(h[2])return H.apply(r,t.getElementsByTagName(e)),r;if((i=h[3])&&n.getElementsByClassName&&t.getElementsByClassName)return H.apply(r,t.getElementsByClassName(i)),r}if(n.qsa&&!k[e+" "]&&(!v||!v.test(e))){if(1!==T)S=t,y=e;else if("object"!==t.nodeName.toLowerCase()){for((u=t.getAttribute("id"))?u=u.replace(ee,"\\$&"):t.setAttribute("id",u=x),s=(m=a(e)).length,d=Q.test(u)?"#"+u:"[id='"+u+"']";s--;)m[s]=d+" "+ve(m[s]);y=m.join(","),S=Z.test(e)&&he(t.parentNode)||t}if(y)try{return H.apply(r,S.querySelectorAll(y)),r}catch(C){}finally{u===x&&t.removeAttribute("id")}}}return c(e.replace(B,"$1"),t,r,o)}function ae(){var e=[];return function t(n,o){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function se(e){return e[x]=!0,e}function ce(e){var t=f.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function le(e,t){for(var n=e.split("|"),o=n.length;o--;)r.attrHandle[n[o]]=t}function ue(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||A)-(~e.sourceIndex||A);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function de(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function fe(e){return se(function(t){return t=+t,se(function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))})})}function he(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=ie.support={},i=ie.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},p=ie.setDocument=function(e){var t,o,a=e?e.ownerDocument||e:w;return a!==f&&9===a.nodeType&&a.documentElement?(h=(f=a).documentElement,g=!i(f),(o=f.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",oe,!1):o.attachEvent&&o.attachEvent("onunload",oe)),n.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ce(function(e){return e.appendChild(f.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=J.test(f.getElementsByClassName),n.getById=ce(function(e){return h.appendChild(e).id=x,!f.getElementsByName||!f.getElementsByName(x).length}),n.getById?(r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}},r.filter.ID=function(e){var t=e.replace(te,re);return function(e){return e.getAttribute("id")===t}}):(delete r.find.ID,r.filter.ID=function(e){var t=e.replace(te,re);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(e,t){return void 0!==t.getElementsByClassName&&g?t.getElementsByClassName(e):void 0},m=[],v=[],(n.qsa=J.test(f.querySelectorAll))&&(ce(function(e){h.appendChild(e).innerHTML="<a id='"+x+"'></a><select id='"+x+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+P+"*(?:value|"+q+")"),e.querySelectorAll("[id~="+x+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+x+"+*").length||v.push(".#.+[+~]")}),ce(function(e){var t=f.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+P+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(n.matchesSelector=J.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ce(function(e){n.disconnectedMatch=y.call(e,"div"),y.call(e,"[s!='']:x"),m.push("!=",O)}),v=v.length&&new RegExp(v.join("|")),m=m.length&&new RegExp(m.join("|")),t=J.test(h.compareDocumentPosition),b=t||J.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},_=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===f||e.ownerDocument===w&&b(w,e)?-1:t===f||t.ownerDocument===w&&b(w,t)?1:u?I(u,e)-I(u,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],s=[t];if(!o||!i)return e===f?-1:t===f?1:o?-1:i?1:u?I(u,e)-I(u,t):0;if(o===i)return ue(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?ue(a[r],s[r]):a[r]===w?-1:s[r]===w?1:0},f):f},ie.matches=function(e,t){return ie(e,null,null,t)},ie.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&p(e),t=t.replace(U,"='$1']"),n.matchesSelector&&g&&!k[t+" "]&&(!m||!m.test(t))&&(!v||!v.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(o){}return ie(t,f,null,[e]).length>0},ie.contains=function(e,t){return(e.ownerDocument||e)!==f&&p(e),b(e,t)},ie.attr=function(e,t){(e.ownerDocument||e)!==f&&p(e);var o=r.attrHandle[t.toLowerCase()],i=o&&N.call(r.attrHandle,t.toLowerCase())?o(e,t,!g):void 0;return void 0!==i?i:n.attributes||!g?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},ie.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ie.uniqueSort=function(e){var t,r=[],o=0,i=0;if(d=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(_),d){for(;t=e[i++];)t===e[i]&&(o=r.push(i));for(;o--;)e.splice(r[o],1)}return u=null,e},o=ie.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},(r=ie.selectors={cacheLength:50,createPseudo:se,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,re),e[3]=(e[3]||e[4]||e[5]||"").replace(te,re),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ie.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ie.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,re).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=new RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&C(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var o=ie.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(W," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,c){var l,u,d,p,f,h,g=i!==a?"nextSibling":"previousSibling",v=t.parentNode,m=s&&t.nodeName.toLowerCase(),y=!c&&!s,b=!1;if(v){if(i){for(;g;){for(p=t;p=p[g];)if(s?p.nodeName.toLowerCase()===m:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?v.firstChild:v.lastChild],a&&y){for(b=(f=(l=(u=(d=(p=v)[x]||(p[x]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===S&&l[1])&&l[2],p=f&&v.childNodes[f];p=++f&&p&&p[g]||(b=f=0)||h.pop();)if(1===p.nodeType&&++b&&p===t){u[e]=[S,f,b];break}}else if(y&&(b=f=(l=(u=(d=(p=t)[x]||(p[x]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===S&&l[1]),!1===b)for(;(p=++f&&p&&p[g]||(b=f=0)||h.pop())&&((s?p.nodeName.toLowerCase()!==m:1!==p.nodeType)||!++b||(y&&((u=(d=p[x]||(p[x]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]=[S,b]),p!==t)););return(b-=o)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,o=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ie.error("unsupported pseudo: "+e);return o[x]?o(t):o.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){for(var r,i=o(e,t),a=i.length;a--;)e[r=I(e,i[a])]=!(n[r]=i[a])}):function(e){return o(e,0,n)}):o}},pseudos:{not:se(function(e){var t=[],n=[],r=s(e.replace(B,"$1"));return r[x]?se(function(e,t,n,o){for(var i,a=r(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))}):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return ie(e,t).length>0}}),contains:se(function(e){return e=e.replace(te,re),function(t){return(t.textContent||t.innerText||o(t)).indexOf(e)>-1}}),lang:se(function(e){return Q.test(e||"")||ie.error("unsupported lang: "+e),e=e.replace(te,re).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return K.test(e.nodeName)},input:function(e){return V.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:fe(function(){return[0]}),last:fe(function(e,t){return[t-1]}),eq:fe(function(e,t,n){return[0>n?n+t:n]}),even:fe(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:fe(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:fe(function(e,t,n){for(var r=0>n?n+t:n;--r>=0;)e.push(r);return e}),gt:fe(function(e,t,n){for(var r=0>n?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=de(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=pe(t);function ge(){}function ve(e){for(var t=0,n=e.length,r="";n>t;t++)r+=e[t].value;return r}function me(e,t,n){var r=t.dir,o=n&&"parentNode"===r,i=T++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,a){var s,c,l,u=[S,i];if(a){for(;t=t[r];)if((1===t.nodeType||o)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||o){if((s=(c=(l=t[x]||(t[x]={}))[t.uniqueID]||(l[t.uniqueID]={}))[r])&&s[0]===S&&s[1]===i)return u[2]=s[2];if(c[r]=u,u[2]=e(t,n,a))return!0}}}function ye(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function be(e,t,n,r,o){for(var i,a=[],s=0,c=e.length,l=null!=t;c>s;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),l&&t.push(s)));return a}function xe(e,t,n,r,o,i){return r&&!r[x]&&(r=xe(r)),o&&!o[x]&&(o=xe(o,i)),se(function(i,a,s,c){var l,u,d,p=[],f=[],h=a.length,g=i||function(e,t,n){for(var r=0,o=t.length;o>r;r++)ie(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),v=!e||!i&&t?g:be(g,p,e,s,c),m=n?o||(i?e:h||r)?[]:a:v;if(n&&n(v,m,s,c),r)for(l=be(m,f),r(l,[],s,c),u=l.length;u--;)(d=l[u])&&(m[f[u]]=!(v[f[u]]=d));if(i){if(o||e){if(o){for(l=[],u=m.length;u--;)(d=m[u])&&l.push(v[u]=d);o(null,m=[],l,c)}for(u=m.length;u--;)(d=m[u])&&(l=o?I(i,d):p[u])>-1&&(i[l]=!(a[l]=d))}}else m=be(m===a?m.splice(h,m.length):m),o?o(null,a,m,c):H.apply(a,m)})}function we(e){for(var t,n,o,i=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],c=a?1:0,u=me(function(e){return e===t},s,!0),d=me(function(e){return I(t,e)>-1},s,!0),p=[function(e,n,r){var o=!a&&(r||n!==l)||((t=n).nodeType?u(e,n,r):d(e,n,r));return t=null,o}];i>c;c++)if(n=r.relative[e[c].type])p=[me(ye(p),n)];else{if((n=r.filter[e[c].type].apply(null,e[c].matches))[x]){for(o=++c;i>o&&!r.relative[e[o].type];o++);return xe(c>1&&ye(p),c>1&&ve(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(B,"$1"),n,o>c&&we(e.slice(c,o)),i>o&&we(e=e.slice(o)),i>o&&ve(e))}p.push(n)}return ye(p)}function Se(e,t){var n=t.length>0,o=e.length>0,i=function(i,a,s,c,u){var d,h,v,m=0,y="0",b=i&&[],x=[],w=l,T=i||o&&r.find.TAG("*",u),C=S+=null==w?1:Math.random()||.1,E=T.length;for(u&&(l=a===f||a||u);y!==E&&null!=(d=T[y]);y++){if(o&&d){for(h=0,a||d.ownerDocument===f||(p(d),s=!g);v=e[h++];)if(v(d,a||f,s)){c.push(d);break}u&&(S=C)}n&&((d=!v&&d)&&m--,i&&b.push(d))}if(m+=y,n&&y!==m){for(h=0;v=t[h++];)v(b,x,a,s);if(i){if(m>0)for(;y--;)b[y]||x[y]||(x[y]=j.call(c));x=be(x)}H.apply(c,x),u&&!i&&x.length>0&&m+t.length>1&&ie.uniqueSort(c)}return u&&(S=C,l=w),b};return n?se(i):i}return ge.prototype=r.filters=r.pseudos,r.setFilters=new ge,a=ie.tokenize=function(e,t){var n,o,i,a,s,c,l,u=E[e+" "];if(u)return t?0:u.slice(0);for(s=e,c=[],l=r.preFilter;s;){for(a in n&&!(o=z.exec(s))||(o&&(s=s.slice(o[0].length)||s),c.push(i=[])),n=!1,(o=$.exec(s))&&(n=o.shift(),i.push({value:n,type:o[0].replace(B," ")}),s=s.slice(n.length)),r.filter)!(o=G[a].exec(s))||l[a]&&!(o=l[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return t?s.length:s?ie.error(e):E(e,c).slice(0)},s=ie.compile=function(e,t){var n,r=[],o=[],i=k[e+" "];if(!i){for(t||(t=a(e)),n=t.length;n--;)(i=we(t[n]))[x]?r.push(i):o.push(i);(i=k(e,Se(o,r))).selector=e}return i},c=ie.select=function(e,t,o,i){var c,l,u,d,p,f="function"==typeof e&&e,h=!i&&a(e=f.selector||e);if(o=o||[],1===h.length){if((l=h[0]=h[0].slice(0)).length>2&&"ID"===(u=l[0]).type&&n.getById&&9===t.nodeType&&g&&r.relative[l[1].type]){if(!(t=(r.find.ID(u.matches[0].replace(te,re),t)||[])[0]))return o;f&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(c=G.needsContext.test(e)?0:l.length;c--&&!r.relative[d=(u=l[c]).type];)if((p=r.find[d])&&(i=p(u.matches[0].replace(te,re),Z.test(l[0].type)&&he(t.parentNode)||t))){if(l.splice(c,1),!(e=i.length&&ve(l)))return H.apply(o,i),o;break}}return(f||s(e,h))(i,t,!g,o,!t||Z.test(e)&&he(t.parentNode)||t),o},n.sortStable=x.split("").sort(_).join("")===x,n.detectDuplicates=!!d,p(),n.sortDetached=ce(function(e){return 1&e.compareDocumentPosition(f.createElement("div"))}),ce(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||le("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ce(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||le("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),ce(function(e){return null==e.getAttribute("disabled")})||le(q,function(e,t,n){var r;return n?void 0:!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),ie}(e);f.find=b,f.expr=b.selectors,f.expr[":"]=f.expr.pseudos,f.uniqueSort=f.unique=b.uniqueSort,f.text=b.getText,f.isXMLDoc=b.isXML,f.contains=b.contains;var x=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&f(e).is(n))break;r.push(e)}return r},w=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},S=f.expr.match.needsContext,T=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,C=/^.[^:#\[\.,]*$/;function E(e,t,n){if(f.isFunction(t))return f.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return f.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(C.test(t))return f.filter(t,e,n);t=f.filter(t,e)}return f.grep(e,function(e){return f.inArray(e,t)>-1!==n})}f.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?f.find.matchesSelector(r,e)?[r]:[]:f.find.matches(e,f.grep(t,function(e){return 1===e.nodeType}))},f.fn.extend({find:function(e){var t,n=[],r=this,o=r.length;if("string"!=typeof e)return this.pushStack(f(e).filter(function(){for(t=0;o>t;t++)if(f.contains(r[t],this))return!0}));for(t=0;o>t;t++)f.find(e,r[t],n);return(n=this.pushStack(o>1?f.unique(n):n)).selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(E(this,e||[],!1))},not:function(e){return this.pushStack(E(this,e||[],!0))},is:function(e){return!!E(this,"string"==typeof e&&S.test(e)?f(e):e||[],!1).length}});var k,_=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(f.fn.init=function(e,t,n){var o,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(o="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:_.exec(e))||!o[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(o[1]){if(f.merge(this,f.parseHTML(o[1],(t=t instanceof f?t[0]:t)&&t.nodeType?t.ownerDocument||t:r,!0)),T.test(o[1])&&f.isPlainObject(t))for(o in t)f.isFunction(this[o])?this[o](t[o]):this.attr(o,t[o]);return this}if((i=r.getElementById(o[2]))&&i.parentNode){if(i.id!==o[2])return k.find(e);this.length=1,this[0]=i}return this.context=r,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):f.isFunction(e)?void 0!==n.ready?n.ready(e):e(f):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),f.makeArray(e,this))}).prototype=f.fn,k=f(r);var A=/^(?:parents|prev(?:Until|All))/,N={children:!0,contents:!0,next:!0,prev:!0};function R(e,t){do{e=e[t]}while(e&&1!==e.nodeType);return e}f.fn.extend({has:function(e){var t,n=f(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(f.contains(this,n[t]))return!0})},closest:function(e,t){for(var n,r=0,o=this.length,i=[],a=S.test(e)||"string"!=typeof e?f(e,t||this.context):0;o>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&f.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?f.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?f.inArray(this[0],f(e)):f.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(f.uniqueSort(f.merge(this.get(),f(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),f.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x(e,"parentNode")},parentsUntil:function(e,t,n){return x(e,"parentNode",n)},next:function(e){return R(e,"nextSibling")},prev:function(e){return R(e,"previousSibling")},nextAll:function(e){return x(e,"nextSibling")},prevAll:function(e){return x(e,"previousSibling")},nextUntil:function(e,t,n){return x(e,"nextSibling",n)},prevUntil:function(e,t,n){return x(e,"previousSibling",n)},siblings:function(e){return w((e.parentNode||{}).firstChild,e)},children:function(e){return w(e.firstChild)},contents:function(e){return f.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:f.merge([],e.childNodes)}},function(e,t){f.fn[e]=function(n,r){var o=f.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=f.filter(r,o)),this.length>1&&(N[e]||(o=f.uniqueSort(o)),A.test(e)&&(o=o.reverse())),this.pushStack(o)}});var j,D,H=/\S+/g;function L(){r.addEventListener?(r.removeEventListener("DOMContentLoaded",I),e.removeEventListener("load",I)):(r.detachEvent("onreadystatechange",I),e.detachEvent("onload",I))}function I(){(r.addEventListener||"load"===e.event.type||"complete"===r.readyState)&&(L(),f.ready())}for(D in f.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return f.each(e.match(H)||[],function(e,n){t[n]=!0}),t}(e):f.extend({},e);var t,n,r,o,i=[],a=[],s=-1,c=function(){for(o=e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)!1===i[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},l={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){f.each(n,function(n,r){f.isFunction(r)?e.unique&&l.has(r)||i.push(r):r&&r.length&&"string"!==f.type(r)&&t(r)})}(arguments),n&&!t&&c()),this},remove:function(){return f.each(arguments,function(e,t){for(var n;(n=f.inArray(t,i,n))>-1;)i.splice(n,1),s>=n&&s--}),this},has:function(e){return e?f.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=!0,n||l.disable(),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},f.extend({Deferred:function(e){var t=[["resolve","done",f.Callbacks("once memory"),"resolved"],["reject","fail",f.Callbacks("once memory"),"rejected"],["notify","progress",f.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var e=arguments;return f.Deferred(function(n){f.each(t,function(t,i){var a=f.isFunction(e[t])&&e[t];o[i[1]](function(){var e=a&&a.apply(this,arguments);e&&f.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?f.extend(e,r):r}},o={};return r.pipe=r.then,f.each(t,function(e,i){var a=i[2],s=i[3];r[i[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),o[i[0]]=function(){return o[i[0]+"With"](this===o?r:this,arguments),this},o[i[0]+"With"]=a.fireWith}),r.promise(o),e&&e.call(o,o),o},when:function(e){var t,n,r,i=0,a=o.call(arguments),s=a.length,c=1!==s||e&&f.isFunction(e.promise)?s:0,l=1===c?e:f.Deferred(),u=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?o.call(arguments):i,r===t?l.notifyWith(n,r):--c||l.resolveWith(n,r)}};if(s>1)for(t=new Array(s),n=new Array(s),r=new Array(s);s>i;i++)a[i]&&f.isFunction(a[i].promise)?a[i].promise().progress(u(i,n,t)).done(u(i,r,a)).fail(l.reject):--c;return c||l.resolveWith(r,a),l.promise()}}),f.fn.ready=function(e){return f.ready.promise().done(e),this},f.extend({isReady:!1,readyWait:1,holdReady:function(e){e?f.readyWait++:f.ready(!0)},ready:function(e){(!0===e?--f.readyWait:f.isReady)||(f.isReady=!0,!0!==e&&--f.readyWait>0||(j.resolveWith(r,[f]),f.fn.triggerHandler&&(f(r).triggerHandler("ready"),f(r).off("ready"))))}}),f.ready.promise=function(t){if(!j)if(j=f.Deferred(),"complete"===r.readyState||"loading"!==r.readyState&&!r.documentElement.doScroll)e.setTimeout(f.ready);else if(r.addEventListener)r.addEventListener("DOMContentLoaded",I),e.addEventListener("load",I);else{r.attachEvent("onreadystatechange",I),e.attachEvent("onload",I);var n=!1;try{n=null==e.frameElement&&r.documentElement}catch(o){}n&&n.doScroll&&function r(){if(!f.isReady){try{n.doScroll("left")}catch(t){return e.setTimeout(r,50)}L(),f.ready()}}()}return j.promise(t)},f.ready.promise(),f(d))break;d.ownFirst="0"===D,d.inlineBlockNeedsLayout=!1,f(function(){var e,t,n,o;(n=r.getElementsByTagName("body")[0])&&n.style&&(t=r.createElement("div"),(o=r.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(o).appendChild(t),void 0!==t.style.zoom&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",d.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(n.style.zoom=1)),n.removeChild(o))}),function(){var e=r.createElement("div");d.deleteExpando=!0;try{delete e.test}catch(t){d.deleteExpando=!1}e=null}();var q=function(e){var t=f.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||!0!==t&&e.getAttribute("classid")===t)},P=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,F=/([A-Z])/g;function M(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace(F,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:P.test(n)?f.parseJSON(n):n)}catch(o){}f.data(e,t,n)}else n=void 0}return n}function O(e){var t;for(t in e)if(("data"!==t||!f.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function W(e,t,r,o){if(q(e)){var i,a,s=f.expando,c=e.nodeType,l=c?f.cache:e,u=c?e[s]:e[s]&&s;if(u&&l[u]&&(o||l[u].data)||void 0!==r||"string"!=typeof t)return u||(u=c?e[s]=n.pop()||f.guid++:s),l[u]||(l[u]=c?{}:{toJSON:f.noop}),"object"!=typeof t&&"function"!=typeof t||(o?l[u]=f.extend(l[u],t):l[u].data=f.extend(l[u].data,t)),a=l[u],o||(a.data||(a.data={}),a=a.data),void 0!==r&&(a[f.camelCase(t)]=r),"string"==typeof t?null==(i=a[t])&&(i=a[f.camelCase(t)]):i=a,i}}function B(e,t,n){if(q(e)){var r,o,i=e.nodeType,a=i?f.cache:e,s=i?e[f.expando]:f.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){o=(t=f.isArray(t)?t.concat(f.map(t,f.camelCase)):t in r?[t]:(t=f.camelCase(t))in r?[t]:t.split(" ")).length;for(;o--;)delete r[t[o]];if(n?!O(r):!f.isEmptyObject(r))return}(n||(delete a[s].data,O(a[s])))&&(i?f.cleanData([e],!0):d.deleteExpando||a!=a.window?delete a[s]:a[s]=void 0)}}}f.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?f.cache[e[f.expando]]:e[f.expando])&&!O(e)},data:function(e,t,n){return W(e,t,n)},removeData:function(e,t){return B(e,t)},_data:function(e,t,n){return W(e,t,n,!0)},_removeData:function(e,t){return B(e,t,!0)}}),f.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=f.data(i),1===i.nodeType&&!f._data(i,"parsedAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&M(i,r=f.camelCase(r.slice(5)),o[r]);f._data(i,"parsedAttrs",!0)}return o}return"object"==typeof e?this.each(function(){f.data(this,e)}):arguments.length>1?this.each(function(){f.data(this,e,t)}):i?M(i,e,f.data(i,e)):void 0},removeData:function(e){return this.each(function(){f.removeData(this,e)})}}),f.extend({queue:function(e,t,n){var r;return e?(r=f._data(e,t=(t||"fx")+"queue"),n&&(!r||f.isArray(n)?r=f._data(e,t,f.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(e,t){var n=f.queue(e,t=t||"fx"),r=n.length,o=n.shift(),i=f._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,function(){f.dequeue(e,t)},i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return f._data(e,n)||f._data(e,n,{empty:f.Callbacks("once memory").add(function(){f._removeData(e,t+"queue"),f._removeData(e,n)})})}}),f.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?f.queue(this[0],e):void 0===t?this:this.each(function(){var n=f.queue(this,e,t);f._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&f.dequeue(this,e)})},dequeue:function(e){return this.each(function(){f.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=f.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=f._data(i[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}}),function(){var e;d.shrinkWrapBlocks=function(){return null!=e?e:(e=!1,(n=r.getElementsByTagName("body")[0])&&n.style?(t=r.createElement("div"),(o=r.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(o).appendChild(t),void 0!==t.style.zoom&&(t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",t.appendChild(r.createElement("div")).style.width="5px",e=3!==t.offsetWidth),n.removeChild(o),e):void 0);var t,n,o}}();var z=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,$=new RegExp("^(?:([+-])=|)("+z+")([a-z%]*)$","i"),U=["Top","Right","Bottom","Left"],X=function(e,t){return"none"===f.css(e=t||e,"display")||!f.contains(e.ownerDocument,e)};function Q(e,t,n,r){var o,i=1,a=20,s=r?function(){return r.cur()}:function(){return f.css(e,t,"")},c=s(),l=n&&n[3]||(f.cssNumber[t]?"":"px"),u=(f.cssNumber[t]||"px"!==l&&+c)&&$.exec(f.css(e,t));if(u&&u[3]!==l){l=l||u[3],n=n||[],u=+c||1;do{f.style(e,t,(u/=i=i||".5")+l)}while(i!==(i=s()/c)&&1!==i&&--a)}return n&&(u=+u||+c||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=u,r.end=o)),o}var G=function(e,t,n,r,o,i,a){var s=0,c=e.length,l=null==n;if("object"===f.type(n))for(s in o=!0,n)G(e,t,s,n[s],!0,i,a);else if(void 0!==r&&(o=!0,f.isFunction(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(f(e),n)})),t))for(;c>s;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:l?t.call(e):c?t(e[0],n):i},V=/^(?:checkbox|radio)$/i,K=/<([\w:-]+)/,J=/^$|\/(?:java|ecma)script/i,Y=/^\s+/,Z="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";function ee(e){var t=Z.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}!function(){var e=r.createElement("div"),t=r.createDocumentFragment(),n=r.createElement("input");e.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",d.leadingWhitespace=3===e.firstChild.nodeType,d.tbody=!e.getElementsByTagName("tbody").length,d.htmlSerialize=!!e.getElementsByTagName("link").length,d.html5Clone="<:nav></:nav>"!==r.createElement("nav").cloneNode(!0).outerHTML,n.type="checkbox",n.checked=!0,t.appendChild(n),d.appendChecked=n.checked,e.innerHTML="<textarea>x</textarea>",d.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,t.appendChild(e),(n=r.createElement("input")).setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),d.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,d.noCloneEvent=!!e.addEventListener,e[f.expando]=1,d.attributes=!e.getAttribute(f.expando)}();var te={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:d.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};function ne(e,t){var n,r,o=0,i=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):void 0;if(!i)for(i=[],n=e.childNodes||e;null!=(r=n[o]);o++)!t||f.nodeName(r,t)?i.push(r):f.merge(i,ne(r,t));return void 0===t||t&&f.nodeName(e,t)?f.merge([e],i):i}function re(e,t){for(var n,r=0;null!=(n=e[r]);r++)f._data(n,"globalEval",!t||f._data(t[r],"globalEval"))}te.optgroup=te.option,te.tbody=te.tfoot=te.colgroup=te.caption=te.thead,te.th=te.td;var oe=/<|&#?\w+;/,ie=/<tbody/i;function ae(e){V.test(e.type)&&(e.defaultChecked=e.checked)}function se(e,t,n,r,o){for(var i,a,s,c,l,u,p,h=e.length,g=ee(t),v=[],m=0;h>m;m++)if((a=e[m])||0===a)if("object"===f.type(a))f.merge(v,a.nodeType?[a]:a);else if(oe.test(a)){for(c=c||g.appendChild(t.createElement("div")),l=(K.exec(a)||["",""])[1].toLowerCase(),c.innerHTML=(p=te[l]||te._default)[1]+f.htmlPrefilter(a)+p[2],i=p[0];i--;)c=c.lastChild;if(!d.leadingWhitespace&&Y.test(a)&&v.push(t.createTextNode(Y.exec(a)[0])),!d.tbody)for(i=(a="table"!==l||ie.test(a)?"<table>"!==p[1]||ie.test(a)?0:c:c.firstChild)&&a.childNodes.length;i--;)f.nodeName(u=a.childNodes[i],"tbody")&&!u.childNodes.length&&a.removeChild(u);for(f.merge(v,c.childNodes),c.textContent="";c.firstChild;)c.removeChild(c.firstChild);c=g.lastChild}else v.push(t.createTextNode(a));for(c&&g.removeChild(c),d.appendChecked||f.grep(ne(v,"input"),ae),m=0;a=v[m++];)if(r&&f.inArray(a,r)>-1)o&&o.push(a);else if(s=f.contains(a.ownerDocument,a),c=ne(g.appendChild(a),"script"),s&&re(c),n)for(i=0;a=c[i++];)J.test(a.type||"")&&n.push(a);return c=null,g}!function(){var t,n,o=r.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})(d[t]=(n="on"+t)in e)||(o.setAttribute(n,"t"),d[t]=!1===o.attributes[n].expando);o=null}();var ce=/^(?:input|select|textarea)$/i,le=/^key/,ue=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,de=/^(?:focusinfocus|focusoutblur)$/,pe=/^([^.]*)(?:\.(.+)|)/;function fe(){return!0}function he(){return!1}function ge(){try{return r.activeElement}catch(e){}}function ve(e,t,n,r,o,i){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)ve(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=he;else if(!o)return e;return 1===i&&(a=o,(o=function(e){return f().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=f.guid++)),e.each(function(){f.event.add(this,t,o,r,n)})}f.event={global:{},add:function(e,t,n,r,o){var i,a,s,c,l,u,d,p,h,g,v,m=f._data(e);if(m){for(n.handler&&(n=(c=n).handler,o=c.selector),n.guid||(n.guid=f.guid++),(a=m.events)||(a=m.events={}),(u=m.handle)||((u=m.handle=function(e){return void 0===f||e&&f.event.triggered===e.type?void 0:f.event.dispatch.apply(u.elem,arguments)}).elem=e),s=(t=(t||"").match(H)||[""]).length;s--;)h=v=(i=pe.exec(t[s])||[])[1],g=(i[2]||"").split(".").sort(),h&&(l=f.event.special[h]||{},l=f.event.special[h=(o?l.delegateType:l.bindType)||h]||{},d=f.extend({type:h,origType:v,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&f.expr.match.needsContext.test(o),namespace:g.join(".")},c),(p=a[h])||((p=a[h]=[]).delegateCount=0,l.setup&&!1!==l.setup.call(e,r,g,u)||(e.addEventListener?e.addEventListener(h,u,!1):e.attachEvent&&e.attachEvent("on"+h,u))),l.add&&(l.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,d):p.push(d),f.event.global[h]=!0);e=null}},remove:function(e,t,n,r,o){var i,a,s,c,l,u,d,p,h,g,v,m=f.hasData(e)&&f._data(e);if(m&&(u=m.events)){for(l=(t=(t||"").match(H)||[""]).length;l--;)if(h=v=(s=pe.exec(t[l])||[])[1],g=(s[2]||"").split(".").sort(),h){for(d=f.event.special[h]||{},p=u[h=(r?d.delegateType:d.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"),c=i=p.length;i--;)a=p[i],!o&&v!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(p.splice(i,1),a.selector&&p.delegateCount--,d.remove&&d.remove.call(e,a));c&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,g,m.handle)||f.removeEvent(e,h,m.handle),delete u[h])}else for(h in u)f.event.remove(e,h+t[l],n,r,!0);f.isEmptyObject(u)&&(delete m.handle,f._removeData(e,"events"))}},trigger:function(t,n,o,i){var a,s,c,l,d,p,h,g=[o||r],v=u.call(t,"type")?t.type:t,m=u.call(t,"namespace")?t.namespace.split("."):[];if(c=p=o=o||r,3!==o.nodeType&&8!==o.nodeType&&!de.test(v+f.event.triggered)&&(v.indexOf(".")>-1&&(m=v.split("."),v=m.shift(),m.sort()),s=v.indexOf(":")<0&&"on"+v,(t=t[f.expando]?t:new f.Event(v,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=o),n=null==n?[t]:f.makeArray(n,[t]),d=f.event.special[v]||{},i||!d.trigger||!1!==d.trigger.apply(o,n))){if(!i&&!d.noBubble&&!f.isWindow(o)){for(de.test((l=d.delegateType||v)+v)||(c=c.parentNode);c;c=c.parentNode)g.push(c),p=c;p===(o.ownerDocument||r)&&g.push(p.defaultView||p.parentWindow||e)}for(h=0;(c=g[h++])&&!t.isPropagationStopped();)t.type=h>1?l:d.bindType||v,(a=(f._data(c,"events")||{})[t.type]&&f._data(c,"handle"))&&a.apply(c,n),(a=s&&c[s])&&a.apply&&q(c)&&(t.result=a.apply(c,n),!1===t.result&&t.preventDefault());if(t.type=v,!i&&!t.isDefaultPrevented()&&(!d._default||!1===d._default.apply(g.pop(),n))&&q(o)&&s&&o[v]&&!f.isWindow(o)){(p=o[s])&&(o[s]=null),f.event.triggered=v;try{o[v]()}catch(y){}f.event.triggered=void 0,p&&(o[s]=p)}return t.result}},dispatch:function(e){e=f.event.fix(e);var t,n,r,i,a,s=[],c=o.call(arguments),l=(f._data(this,"events")||{})[e.type]||[],u=f.event.special[e.type]||{};if(c[0]=e,e.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,e)){for(s=f.event.handlers.call(this,e,l),t=0;(i=s[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,n=0;(a=i.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(a.namespace)||(e.handleObj=a,e.data=a.data,void 0!==(r=((f.event.special[a.origType]||{}).handle||a.handler).apply(i.elem,c))&&!1===(e.result=r)&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,o,i,a=[],s=t.delegateCount,c=e.target;if(s&&c.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;c!=this;c=c.parentNode||this)if(1===c.nodeType&&(!0!==c.disabled||"click"!==e.type)){for(r=[],n=0;s>n;n++)void 0===r[o=(i=t[n]).selector+" "]&&(r[o]=i.needsContext?f(o,this).index(c)>-1:f.find(o,this,null,[c]).length),r[o]&&r.push(i);r.length&&a.push({elem:c,handlers:r})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},fix:function(e){if(e[f.expando])return e;var t,n,o,i=e.type,a=e,s=this.fixHooks[i];for(s||(this.fixHooks[i]=s=ue.test(i)?this.mouseHooks:le.test(i)?this.keyHooks:{}),o=s.props?this.props.concat(s.props):this.props,e=new f.Event(a),t=o.length;t--;)e[n=o[t]]=a[n];return e.target||(e.target=a.srcElement||r),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,a):e},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,o,i,a=t.button,s=t.fromElement;return null==e.pageX&&null!=t.clientX&&(n=(o=e.target.ownerDocument||r).body,e.pageX=t.clientX+((i=o.documentElement)&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&s&&(e.relatedTarget=s===e.target?t.toElement:s),e.which||void 0===a||(e.which=1&a?1:2&a?3:4&a?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==ge()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===ge()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return f.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(e){return f.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n){var r=f.extend(new f.Event,n,{type:e,isSimulated:!0});f.event.trigger(r,null,t),r.isDefaultPrevented()&&n.preventDefault()}},f.removeEvent=r.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)}:function(e,t,n){var r="on"+t;e.detachEvent&&(void 0===e[r]&&(e[r]=null),e.detachEvent(r,n))},f.Event=function(e,t){return this instanceof f.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?fe:he):this.type=e,t&&f.extend(this,t),this.timeStamp=e&&e.timeStamp||f.now(),void(this[f.expando]=!0)):new f.Event(e,t)},f.Event.prototype={constructor:f.Event,isDefaultPrevented:he,isPropagationStopped:he,isImmediatePropagationStopped:he,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=fe,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=fe,e&&!this.isSimulated&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=fe,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},f.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){f.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,o=e.handleObj;return r&&(r===this||f.contains(this,r))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),d.submit||(f.event.special.submit={setup:function(){return!f.nodeName(this,"form")&&void f.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=f.nodeName(t,"input")||f.nodeName(t,"button")?f.prop(t,"form"):void 0;n&&!f._data(n,"submit")&&(f.event.add(n,"submit._submit",function(e){e._submitBubble=!0}),f._data(n,"submit",!0))})},postDispatch:function(e){e._submitBubble&&(delete e._submitBubble,this.parentNode&&!e.isTrigger&&f.event.simulate("submit",this.parentNode,e))},teardown:function(){return!f.nodeName(this,"form")&&void f.event.remove(this,"._submit")}}),d.change||(f.event.special.change={setup:function(){return ce.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(f.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._justChanged=!0)}),f.event.add(this,"click._change",function(e){this._justChanged&&!e.isTrigger&&(this._justChanged=!1),f.event.simulate("change",this,e)})),!1):void f.event.add(this,"beforeactivate._change",function(e){var t=e.target;ce.test(t.nodeName)&&!f._data(t,"change")&&(f.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||f.event.simulate("change",this.parentNode,e)}),f._data(t,"change",!0))})},handle:function(e){var t=e.target;return this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type?e.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return f.event.remove(this,"._change"),!ce.test(this.nodeName)}}),d.focusin||f.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){f.event.simulate(t,e.target,f.event.fix(e))};f.event.special[t]={setup:function(){var r=this.ownerDocument||this,o=f._data(r,t);o||r.addEventListener(e,n,!0),f._data(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this,o=f._data(r,t)-1;o?f._data(r,t,o):(r.removeEventListener(e,n,!0),f._removeData(r,t))}}}),f.fn.extend({on:function(e,t,n,r){return ve(this,e,t,n,r)},one:function(e,t,n,r){return ve(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,f(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=he),this.each(function(){f.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){f.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?f.event.trigger(e,t,n,!0):void 0}});var me=/ jQuery\d+="(?:null|\d+)"/g,ye=new RegExp("<(?:"+Z+")[\\s/>]","i"),be=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,xe=/<script|<style|<link/i,we=/checked\s*(?:[^=]|=\s*.checked.)/i,Se=/^true\/(.*)/,Te=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Ce=ee(r).appendChild(r.createElement("div"));function Ee(e,t){return f.nodeName(e,"table")&&f.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function ke(e){return e.type=(null!==f.find.attr(e,"type"))+"/"+e.type,e}function _e(e){var t=Se.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Ae(e,t){if(1===t.nodeType&&f.hasData(e)){var n,r,o,i=f._data(e),a=f._data(t,i),s=i.events;if(s)for(n in delete a.handle,a.events={},s)for(r=0,o=s[n].length;o>r;r++)f.event.add(t,n,s[n][r]);a.data&&(a.data=f.extend({},a.data))}}function Ne(e,t){var n,r,o;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!d.noCloneEvent&&t[f.expando]){for(r in(o=f._data(t)).events)f.removeEvent(t,r,o.handle);t.removeAttribute(f.expando)}"script"===n&&t.text!==e.text?(ke(t).text=e.text,_e(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),d.html5Clone&&e.innerHTML&&!f.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&V.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}}function Re(e,t,n,r){t=i.apply([],t);var o,a,s,c,l,u,p=0,h=e.length,g=h-1,v=t[0],m=f.isFunction(v);if(m||h>1&&"string"==typeof v&&!d.checkClone&&we.test(v))return e.each(function(o){var i=e.eq(o);m&&(t[0]=v.call(this,o,i.html())),Re(i,t,n,r)});if(h&&(o=(u=se(t,e[0].ownerDocument,!1,e,r)).firstChild,1===u.childNodes.length&&(u=o),o||r)){for(s=(c=f.map(ne(u,"script"),ke)).length;h>p;p++)a=u,p!==g&&(a=f.clone(a,!0,!0),s&&f.merge(c,ne(a,"script"))),n.call(e[p],a,p);if(s)for(l=c[c.length-1].ownerDocument,f.map(c,_e),p=0;s>p;p++)J.test((a=c[p]).type||"")&&!f._data(a,"globalEval")&&f.contains(l,a)&&(a.src?f._evalUrl&&f._evalUrl(a.src):f.globalEval((a.text||a.textContent||a.innerHTML||"").replace(Te,"")));u=o=null}return e}function je(e,t,n){for(var r,o=t?f.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||f.cleanData(ne(r)),r.parentNode&&(n&&f.contains(r.ownerDocument,r)&&re(ne(r,"script")),r.parentNode.removeChild(r));return e}f.extend({htmlPrefilter:function(e){return e.replace(be,"<$1></$2>")},clone:function(e,t,n){var r,o,i,a,s,c=f.contains(e.ownerDocument,e);if(d.html5Clone||f.isXMLDoc(e)||!ye.test("<"+e.nodeName+">")?i=e.cloneNode(!0):(Ce.innerHTML=e.outerHTML,Ce.removeChild(i=Ce.firstChild)),!(d.noCloneEvent&&d.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||f.isXMLDoc(e)))for(r=ne(i),s=ne(e),a=0;null!=(o=s[a]);++a)r[a]&&Ne(o,r[a]);if(t)if(n)for(s=s||ne(e),r=r||ne(i),a=0;null!=(o=s[a]);a++)Ae(o,r[a]);else Ae(e,i);return(r=ne(i,"script")).length>0&&re(r,!c&&ne(e,"script")),r=s=o=null,i},cleanData:function(e,t){for(var r,o,i,a,s=0,c=f.expando,l=f.cache,u=d.attributes,p=f.event.special;null!=(r=e[s]);s++)if((t||q(r))&&(a=(i=r[c])&&l[i])){if(a.events)for(o in a.events)p[o]?f.event.remove(r,o):f.removeEvent(r,o,a.handle);l[i]&&(delete l[i],u||void 0===r.removeAttribute?r[c]=void 0:r.removeAttribute(c),n.push(i))}}}),f.fn.extend({domManip:Re,detach:function(e){return je(this,e,!0)},remove:function(e){return je(this,e)},text:function(e){return G(this,function(e){return void 0===e?f.text(this):this.empty().append((this[0]&&this[0].ownerDocument||r).createTextNode(e))},null,e,arguments.length)},append:function(){return Re(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ee(this,e).appendChild(e)})},prepend:function(){return Re(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ee(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&f.cleanData(ne(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&f.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return f.clone(this,e,t)})},html:function(e){return G(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(me,""):void 0;if("string"==typeof e&&!xe.test(e)&&(d.htmlSerialize||!ye.test(e))&&(d.leadingWhitespace||!Y.test(e))&&!te[(K.exec(e)||["",""])[1].toLowerCase()]){e=f.htmlPrefilter(e);try{for(;r>n;n++)1===(t=this[n]||{}).nodeType&&(f.cleanData(ne(t,!1)),t.innerHTML=e);t=0}catch(o){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Re(this,arguments,function(t){var n=this.parentNode;f.inArray(this,e)<0&&(f.cleanData(ne(this)),n&&n.replaceChild(t,this))},e)}}),f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){f.fn[e]=function(e){for(var n,r=0,o=[],i=f(e),s=i.length-1;s>=r;r++)n=r===s?this:this.clone(!0),f(i[r])[t](n),a.apply(o,n.get());return this.pushStack(o)}});var De,He={HTML:"block",BODY:"block"};function Le(e,t){var n=f(t.createElement(e)).appendTo(t.body),r=f.css(n[0],"display");return n.detach(),r}function Ie(e){var t=r,n=He[e];return n||("none"!==(n=Le(e,t))&&n||((t=((De=(De||f("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentWindow||De[0].contentDocument).document).write(),t.close(),n=Le(e,t),De.detach()),He[e]=n),n}var qe=/^margin/,Pe=new RegExp("^("+z+")(?!px)[a-z%]+$","i"),Fe=function(e,t,n,r){var o,i,a={};for(i in t)a[i]=e.style[i],e.style[i]=t[i];for(i in o=n.apply(e,r||[]),t)e.style[i]=a[i];return o},Me=r.documentElement;!function(){var t,n,o,i,a,s,c=r.createElement("div"),l=r.createElement("div");if(l.style){function u(){var u,d,p=r.documentElement;p.appendChild(c),l.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",t=o=s=!1,n=a=!0,e.getComputedStyle&&(d=e.getComputedStyle(l),t="1%"!==(d||{}).top,s="2px"===(d||{}).marginLeft,o="4px"===(d||{width:"4px"}).width,l.style.marginRight="50%",n="4px"===(d||{marginRight:"4px"}).marginRight,(u=l.appendChild(r.createElement("div"))).style.cssText=l.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",u.style.marginRight=u.style.width="0",l.style.width="1px",a=!parseFloat((e.getComputedStyle(u)||{}).marginRight),l.removeChild(u)),l.style.display="none",(i=0===l.getClientRects().length)&&(l.style.display="",l.innerHTML="<table><tr><td></td><td>t</td></tr></table>",l.childNodes[0].style.borderCollapse="separate",(u=l.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",(i=0===u[0].offsetHeight)&&(u[0].style.display="",u[1].style.display="none",i=0===u[0].offsetHeight)),p.removeChild(c)}l.style.cssText="float:left;opacity:.5",d.opacity="0.5"===l.style.opacity,d.cssFloat=!!l.style.cssFloat,l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",d.clearCloneStyle="content-box"===l.style.backgroundClip,(c=r.createElement("div")).style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",l.innerHTML="",c.appendChild(l),d.boxSizing=""===l.style.boxSizing||""===l.style.MozBoxSizing||""===l.style.WebkitBoxSizing,f.extend(d,{reliableHiddenOffsets:function(){return null==t&&u(),i},boxSizingReliable:function(){return null==t&&u(),o},pixelMarginRight:function(){return null==t&&u(),n},pixelPosition:function(){return null==t&&u(),t},reliableMarginRight:function(){return null==t&&u(),a},reliableMarginLeft:function(){return null==t&&u(),s}})}}();var Oe,We,Be=/^(top|right|bottom|left)$/;function ze(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}e.getComputedStyle?(Oe=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},We=function(e,t,n){var r,o,i,a,s=e.style;return""!==(a=(n=n||Oe(e))?n.getPropertyValue(t)||n[t]:void 0)&&void 0!==a||f.contains(e.ownerDocument,e)||(a=f.style(e,t)),n&&!d.pixelMarginRight()&&Pe.test(a)&&qe.test(t)&&(r=s.width,o=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=o,s.maxWidth=i),void 0===a?a:a+""}):Me.currentStyle&&(Oe=function(e){return e.currentStyle},We=function(e,t,n){var r,o,i,a,s=e.style;return null==(a=(n=n||Oe(e))?n[t]:void 0)&&s&&s[t]&&(a=s[t]),Pe.test(a)&&!Be.test(t)&&(r=s.left,(i=(o=e.runtimeStyle)&&o.left)&&(o.left=e.currentStyle.left),s.left="fontSize"===t?"1em":a,a=s.pixelLeft+"px",s.left=r,i&&(o.left=i)),void 0===a?a:a+""||"auto"});var $e=/alpha\([^)]*\)/i,Ue=/opacity\s*=\s*([^)]*)/i,Xe=/^(none|table(?!-c[ea]).+)/,Qe=new RegExp("^("+z+")(.*)$","i"),Ge={position:"absolute",visibility:"hidden",display:"block"},Ve={letterSpacing:"0",fontWeight:"400"},Ke=["Webkit","O","Moz","ms"],Je=r.createElement("div").style;function Ye(e){if(e in Je)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=Ke.length;n--;)if((e=Ke[n]+t)in Je)return e}function Ze(e,t){for(var n,r,o,i=[],a=0,s=e.length;s>a;a++)(r=e[a]).style&&(i[a]=f._data(r,"olddisplay"),n=r.style.display,t?(i[a]||"none"!==n||(r.style.display=""),""===r.style.display&&X(r)&&(i[a]=f._data(r,"olddisplay",Ie(r.nodeName)))):(o=X(r),(n&&"none"!==n||!o)&&f._data(r,"olddisplay",o?n:f.css(r,"display"))));for(a=0;s>a;a++)(r=e[a]).style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?i[a]||"":"none"));return e}function et(e,t,n){var r=Qe.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function tt(e,t,n,r,o){for(var i=n===(r?"border":"content")?4:"width"===t?1:0,a=0;4>i;i+=2)"margin"===n&&(a+=f.css(e,n+U[i],!0,o)),r?("content"===n&&(a-=f.css(e,"padding"+U[i],!0,o)),"margin"!==n&&(a-=f.css(e,"border"+U[i]+"Width",!0,o))):(a+=f.css(e,"padding"+U[i],!0,o),"padding"!==n&&(a+=f.css(e,"border"+U[i]+"Width",!0,o)));return a}function nt(e,t,n){var r=!0,o="width"===t?e.offsetWidth:e.offsetHeight,i=Oe(e),a=d.boxSizing&&"border-box"===f.css(e,"boxSizing",!1,i);if(0>=o||null==o){if((0>(o=We(e,t,i))||null==o)&&(o=e.style[t]),Pe.test(o))return o;r=a&&(d.boxSizingReliable()||o===e.style[t]),o=parseFloat(o)||0}return o+tt(e,t,n||(a?"border":"content"),r,i)+"px"}function rt(e,t,n,r,o){return new rt.prototype.init(e,t,n,r,o)}f.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=We(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:d.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=f.camelCase(t),c=e.style;if(t=f.cssProps[s]||(f.cssProps[s]=Ye(s)||s),a=f.cssHooks[t]||f.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:c[t];if("string"==(i=typeof n)&&(o=$.exec(n))&&o[1]&&(n=Q(e,t,o),i="number"),null!=n&&n==n&&("number"===i&&(n+=o&&o[3]||(f.cssNumber[s]?"":"px")),d.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(e,n,r)))))try{c[t]=n}catch(l){}}},css:function(e,t,n,r){var o,i,a,s=f.camelCase(t);return t=f.cssProps[s]||(f.cssProps[s]=Ye(s)||s),(a=f.cssHooks[t]||f.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=We(e,t,r)),"normal"===i&&t in Ve&&(i=Ve[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),f.each(["height","width"],function(e,t){f.cssHooks[t]={get:function(e,n,r){return n?Xe.test(f.css(e,"display"))&&0===e.offsetWidth?Fe(e,Ge,function(){return nt(e,t,r)}):nt(e,t,r):void 0},set:function(e,n,r){var o=r&&Oe(e);return et(0,n,r?tt(e,t,r,d.boxSizing&&"border-box"===f.css(e,"boxSizing",!1,o),o):0)}}}),d.opacity||(f.cssHooks.opacity={get:function(e,t){return Ue.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,o=f.isNumeric(t)?"alpha(opacity="+100*t+")":"",i=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===f.trim(i.replace($e,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=$e.test(i)?i.replace($e,o):i+" "+o)}}),f.cssHooks.marginRight=ze(d.reliableMarginRight,function(e,t){return t?Fe(e,{display:"inline-block"},We,[e,"marginRight"]):void 0}),f.cssHooks.marginLeft=ze(d.reliableMarginLeft,function(e,t){return t?(parseFloat(We(e,"marginLeft"))||(f.contains(e.ownerDocument,e)?e.getBoundingClientRect().left-Fe(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}):0))+"px":void 0}),f.each({margin:"",padding:"",border:"Width"},function(e,t){f.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];4>r;r++)o[e+U[r]+t]=i[r]||i[r-2]||i[0];return o}},qe.test(e)||(f.cssHooks[e+t].set=et)}),f.fn.extend({css:function(e,t){return G(this,function(e,t,n){var r,o,i={},a=0;if(f.isArray(t)){for(r=Oe(e),o=t.length;o>a;a++)i[t[a]]=f.css(e,t[a],!1,r);return i}return void 0!==n?f.style(e,t,n):f.css(e,t)},e,t,arguments.length>1)},show:function(){return Ze(this,!0)},hide:function(){return Ze(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){X(this)?f(this).show():f(this).hide()})}}),f.Tween=rt,(rt.prototype={constructor:rt,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||f.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(f.cssNumber[n]?"":"px")},cur:function(){var e=rt.propHooks[this.prop];return e&&e.get?e.get(this):rt.propHooks._default.get(this)},run:function(e){var t,n=rt.propHooks[this.prop];return this.pos=t=this.options.duration?f.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rt.propHooks._default.set(this),this}}).init.prototype=rt.prototype,(rt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=f.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){f.fx.step[e.prop]?f.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[f.cssProps[e.prop]]&&!f.cssHooks[e.prop]?e.elem[e.prop]=e.now:f.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=rt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},f.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},f.fx=rt.prototype.init,f.fx.step={};var ot,it,at=/^(?:toggle|show|hide)$/,st=/queueHooks$/;function ct(){return e.setTimeout(function(){ot=void 0}),ot=f.now()}function lt(e,t){var n,r={height:e},o=0;for(t=t?1:0;4>o;o+=2-t)r["margin"+(n=U[o])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function ut(e,t,n){for(var r,o=(dt.tweeners[t]||[]).concat(dt.tweeners["*"]),i=0,a=o.length;a>i;i++)if(r=o[i].call(n,t,e))return r}function dt(e,t,n){var r,o,i=0,a=dt.prefilters.length,s=f.Deferred().always(function(){delete c.elem}),c=function(){if(o)return!1;for(var t=ot||ct(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),i=0,a=l.tweens.length;a>i;i++)l.tweens[i].run(r);return s.notifyWith(e,[l,r,n]),1>r&&a?n:(s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:f.extend({},t),opts:f.extend(!0,{specialEasing:{},easing:f.easing._default},n),originalProperties:t,originalOptions:n,startTime:ot||ct(),duration:n.duration,tweens:[],createTween:function(t,n){var r=f.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(o)return this;for(o=!0;r>n;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),u=l.props;for(function(e,t){var n,r,o,i,a;for(n in e)if(o=t[r=f.camelCase(n)],f.isArray(i=e[n])&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=f.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=o);else t[r]=o}(u,l.opts.specialEasing);a>i;i++)if(r=dt.prefilters[i].call(l,e,u,l.opts))return f.isFunction(r.stop)&&(f._queueHooks(l.elem,l.opts.queue).stop=f.proxy(r.stop,r)),r;return f.map(u,ut,l),f.isFunction(l.opts.start)&&l.opts.start.call(e,l),f.fx.timer(f.extend(c,{elem:e,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}f.Animation=f.extend(dt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return Q(n.elem,e,$.exec(t),n),n}]},tweener:function(e,t){f.isFunction(e)?(t=e,e=["*"]):e=e.match(H);for(var n,r=0,o=e.length;o>r;r++)(dt.tweeners[n=e[r]]=dt.tweeners[n]||[]).unshift(t)},prefilters:[function(e,t,n){var r,o,i,a,s,c,l,u=this,p={},h=e.style,g=e.nodeType&&X(e),v=f._data(e,"fxshow");for(r in n.queue||(null==(s=f._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,c=s.empty.fire,s.empty.fire=function(){s.unqueued||c()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,f.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],"inline"===("none"===(l=f.css(e,"display"))?f._data(e,"olddisplay")||Ie(e.nodeName):l)&&"none"===f.css(e,"float")&&(d.inlineBlockNeedsLayout&&"inline"!==Ie(e.nodeName)?h.zoom=1:h.display="inline-block")),n.overflow&&(h.overflow="hidden",d.shrinkWrapBlocks()||u.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),t)if(at.exec(o=t[r])){if(delete t[r],i=i||"toggle"===o,o===(g?"hide":"show")){if("show"!==o||!v||void 0===v[r])continue;g=!0}p[r]=v&&v[r]||f.style(e,r)}else l=void 0;if(f.isEmptyObject(p))"inline"===("none"===l?Ie(e.nodeName):l)&&(h.display=l);else for(r in v?"hidden"in v&&(g=v.hidden):v=f._data(e,"fxshow",{}),i&&(v.hidden=!g),g?f(e).show():u.done(function(){f(e).hide()}),u.done(function(){var t;for(t in f._removeData(e,"fxshow"),p)f.style(e,t,p[t])}),p)a=ut(g?v[r]:0,r,u),r in v||(v[r]=a.start,g&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}],prefilter:function(e,t){t?dt.prefilters.unshift(e):dt.prefilters.push(e)}}),f.speed=function(e,t,n){var r=e&&"object"==typeof e?f.extend({},e):{complete:n||!n&&t||f.isFunction(e)&&e,duration:e,easing:n&&t||t&&!f.isFunction(t)&&t};return r.duration=f.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in f.fx.speeds?f.fx.speeds[r.duration]:f.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){f.isFunction(r.old)&&r.old.call(this),r.queue&&f.dequeue(this,r.queue)},r},f.fn.extend({fadeTo:function(e,t,n,r){return this.filter(X).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=f.isEmptyObject(e),i=f.speed(t,n,r),a=function(){var t=dt(this,f.extend({},e),i);(o||f._data(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,o=null!=e&&e+"queueHooks",i=f.timers,a=f._data(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&st.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||f.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=f._data(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=f.timers,a=r?r.length:0;for(n.finish=!0,f.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),f.each(["toggle","show","hide"],function(e,t){var n=f.fn[t];f.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(lt(t,!0),e,r,o)}}),f.each({slideDown:lt("show"),slideUp:lt("hide"),slideToggle:lt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){f.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),f.timers=[],f.fx.tick=function(){var e,t=f.timers,n=0;for(ot=f.now();n<t.length;n++)(e=t[n])()||t[n]!==e||t.splice(n--,1);t.length||f.fx.stop(),ot=void 0},f.fx.timer=function(e){f.timers.push(e),e()?f.fx.start():f.timers.pop()},f.fx.interval=13,f.fx.start=function(){it||(it=e.setInterval(f.fx.tick,f.fx.interval))},f.fx.stop=function(){e.clearInterval(it),it=null},f.fx.speeds={slow:600,fast:200,_default:400},f.fn.delay=function(t,n){return t=f.fx&&f.fx.speeds[t]||t,this.queue(n=n||"fx",function(n,r){var o=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(o)}})},function(){var e,t=r.createElement("input"),n=r.createElement("div"),o=r.createElement("select"),i=o.appendChild(r.createElement("option"));(n=r.createElement("div")).setAttribute("className","t"),n.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=n.getElementsByTagName("a")[0],t.setAttribute("type","checkbox"),n.appendChild(t),(e=n.getElementsByTagName("a")[0]).style.cssText="top:1px",d.getSetAttribute="t"!==n.className,d.style=/top/.test(e.getAttribute("style")),d.hrefNormalized="/a"===e.getAttribute("href"),d.checkOn=!!t.value,d.optSelected=i.selected,d.enctype=!!r.createElement("form").enctype,o.disabled=!0,d.optDisabled=!i.disabled,(t=r.createElement("input")).setAttribute("value",""),d.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),d.radioValue="t"===t.value}();var pt=/\r/g,ft=/[\x20\t\r\n\f]+/g;f.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=f.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,f(this).val()):e)?o="":"number"==typeof o?o+="":f.isArray(o)&&(o=f.map(o,function(e){return null==e?"":e+""})),(t=f.valHooks[this.type]||f.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))})):o?(t=f.valHooks[o.type]||f.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(pt,""):null==n?"":n:void 0}}),f.extend({valHooks:{option:{get:function(e){var t=f.find.attr(e,"value");return null!=t?t:f.trim(f.text(e)).replace(ft," ")}},select:{get:function(e){for(var t,n,r=e.options,o=e.selectedIndex,i="select-one"===e.type||0>o,a=i?null:[],s=i?o+1:r.length,c=0>o?s:i?o:0;s>c;c++)if(((n=r[c]).selected||c===o)&&(d.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!f.nodeName(n.parentNode,"optgroup"))){if(t=f(n).val(),i)return t;a.push(t)}return a},set:function(e,t){for(var n,r,o=e.options,i=f.makeArray(t),a=o.length;a--;)if(f.inArray(f.valHooks.option.get(r=o[a]),i)>-1)try{r.selected=n=!0}catch(s){}else r.selected=!1;return n||(e.selectedIndex=-1),o}}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]={set:function(e,t){return f.isArray(t)?e.checked=f.inArray(f(e).val(),t)>-1:void 0}},d.checkOn||(f.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var ht,gt,vt=f.expr.attrHandle,mt=/^(?:checked|selected)$/i,yt=d.getSetAttribute,bt=d.input;f.fn.extend({attr:function(e,t){return G(this,f.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){f.removeAttr(this,e)})}}),f.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?f.prop(e,t,n):(1===i&&f.isXMLDoc(e)||(t=t.toLowerCase(),o=f.attrHooks[t]||(f.expr.match.bool.test(t)?gt:ht)),void 0!==n?null===n?void f.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=f.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!d.radioValue&&"radio"===t&&f.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,o=0,i=t&&t.match(H);if(i&&1===e.nodeType)for(;n=i[o++];)r=f.propFix[n]||n,f.expr.match.bool.test(n)?bt&&yt||!mt.test(n)?e[r]=!1:e[f.camelCase("default-"+n)]=e[r]=!1:f.attr(e,n,""),e.removeAttribute(yt?n:r)}}),gt={set:function(e,t,n){return!1===t?f.removeAttr(e,n):bt&&yt||!mt.test(n)?e.setAttribute(!yt&&f.propFix[n]||n,n):e[f.camelCase("default-"+n)]=e[n]=!0,n}},f.each(f.expr.match.bool.source.match(/\w+/g),function(e,t){var n=vt[t]||f.find.attr;vt[t]=bt&&yt||!mt.test(t)?function(e,t,r){var o,i;return r||(i=vt[t],vt[t]=o,o=null!=n(e,t,r)?t.toLowerCase():null,vt[t]=i),o}:function(e,t,n){return n?void 0:e[f.camelCase("default-"+t)]?t.toLowerCase():null}}),bt&&yt||(f.attrHooks.value={set:function(e,t,n){return f.nodeName(e,"input")?void(e.defaultValue=t):ht&&ht.set(e,t,n)}}),yt||(ht={set:function(e,t,n){var r=e.getAttributeNode(n);return r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n)?t:void 0}},vt.id=vt.name=vt.coords=function(e,t,n){var r;return n?void 0:(r=e.getAttributeNode(t))&&""!==r.value?r.value:null},f.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);return n&&n.specified?n.value:void 0},set:ht.set},f.attrHooks.contenteditable={set:function(e,t,n){ht.set(e,""!==t&&t,n)}},f.each(["width","height"],function(e,t){f.attrHooks[t]={set:function(e,n){return""===n?(e.setAttribute(t,"auto"),n):void 0}}})),d.style||(f.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var xt=/^(?:input|select|textarea|button|object)$/i,wt=/^(?:a|area)$/i;f.fn.extend({prop:function(e,t){return G(this,f.prop,e,t,arguments.length>1)},removeProp:function(e){return e=f.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(t){}})}}),f.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&f.isXMLDoc(e)||(o=f.propHooks[t=f.propFix[t]||t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=f.find.attr(e,"tabindex");return t?parseInt(t,10):xt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),d.hrefNormalized||f.each(["href","src"],function(e,t){f.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),d.optSelected||(f.propHooks.selected={get:function(e){return null},set:function(e){}}),f.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){f.propFix[this.toLowerCase()]=this}),d.enctype||(f.propFix.enctype="encoding");var St=/[\t\r\n\f]/g;function Tt(e){return f.attr(e,"class")||""}f.fn.extend({addClass:function(e){var t,n,r,o,i,a,s,c=0;if(f.isFunction(e))return this.each(function(t){f(this).addClass(e.call(this,t,Tt(this)))});if("string"==typeof e&&e)for(t=e.match(H)||[];n=this[c++];)if(o=Tt(n),r=1===n.nodeType&&(" "+o+" ").replace(St," ")){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");o!==(s=f.trim(r))&&f.attr(n,"class",s)}return this},removeClass:function(e){var t,n,r,o,i,a,s,c=0;if(f.isFunction(e))return this.each(function(t){f(this).removeClass(e.call(this,t,Tt(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(H)||[];n=this[c++];)if(o=Tt(n),r=1===n.nodeType&&(" "+o+" ").replace(St," ")){for(a=0;i=t[a++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");o!==(s=f.trim(r))&&f.attr(n,"class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):f.isFunction(e)?this.each(function(n){f(this).toggleClass(e.call(this,n,Tt(this),t),t)}):this.each(function(){var t,r,o,i;if("string"===n)for(r=0,o=f(this),i=e.match(H)||[];t=i[r++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=Tt(this))&&f._data(this,"__className__",t),f.attr(this,"class",t||!1===e?"":f._data(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+Tt(n)+" ").replace(St," ").indexOf(t)>-1)return!0;return!1}}),f.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){f.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),f.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var Ct=e.location,Et=f.now(),kt=/\?/,_t=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;f.parseJSON=function(t){if(e.JSON&&e.JSON.parse)return e.JSON.parse(t+"");var n,r=null,o=f.trim(t+"");return o&&!f.trim(o.replace(_t,function(e,t,o,i){return n&&t&&(r=0),0===r?e:(n=o||t,r+=!i-!o,"")}))?Function("return "+o)():f.error("Invalid JSON: "+t)},f.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{e.DOMParser?n=(new e.DOMParser).parseFromString(t,"text/xml"):((n=new e.ActiveXObject("Microsoft.XMLDOM")).async="false",n.loadXML(t))}catch(o){n=void 0}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||f.error("Invalid XML: "+t),n};var At=/#.*$/,Nt=/([?&])_=[^&]*/,Rt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,jt=/^(?:GET|HEAD)$/,Dt=/^\/\//,Ht=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Lt={},It={},qt="*/".concat("*"),Pt=Ct.href,Ft=Ht.exec(Pt.toLowerCase())||[];function Mt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(H)||[];if(f.isFunction(n))for(;r=i[o++];)"+"===r.charAt(0)?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Ot(e,t,n,r){var o={},i=e===It;function a(s){var c;return o[s]=!0,f.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||i||o[l]?i?!(c=l):void 0:(t.dataTypes.unshift(l),a(l),!1)}),c}return a(t.dataTypes[0])||!o["*"]&&a("*")}function Wt(e,t){var n,r,o=f.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((o[r]?e:n||(n={}))[r]=t[r]);return n&&f.extend(!0,e,n),e}function Bt(e){return e.style&&e.style.display||f.css(e,"display")}f.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Pt,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ft[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":qt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Wt(Wt(e,f.ajaxSettings),t):Wt(f.ajaxSettings,e)},ajaxPrefilter:Mt(Lt),ajaxTransport:Mt(It),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0);var r,o,i,a,s,c,l,u,d=f.ajaxSetup({},n=n||{}),p=d.context||d,h=d.context&&(p.nodeType||p.jquery)?f(p):f.event,g=f.Deferred(),v=f.Callbacks("once memory"),m=d.statusCode||{},y={},b={},x=0,w="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(2===x){if(!u)for(u={};t=Rt.exec(a);)u[t[1].toLowerCase()]=t[2];t=u[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===x?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return x||(e=b[n]=b[n]||e,y[e]=t),this},overrideMimeType:function(e){return x||(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>x)for(t in e)m[t]=[m[t],e[t]];else S.always(e[S.status]);return this},abort:function(e){var t=e||w;return l&&l.abort(t),C(0,t),this}};if(g.promise(S).complete=v.add,S.success=S.done,S.error=S.fail,d.url=((t||d.url||Pt)+"").replace(At,"").replace(Dt,Ft[1]+"//"),d.type=n.method||n.type||d.method||d.type,d.dataTypes=f.trim(d.dataType||"*").toLowerCase().match(H)||[""],null==d.crossDomain&&(r=Ht.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]===Ft[1]&&r[2]===Ft[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(Ft[3]||("http:"===Ft[1]?"80":"443")))),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=f.param(d.data,d.traditional)),Ot(Lt,d,n,S),2===x)return S;for(o in(c=f.event&&d.global)&&0==f.active++&&f.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!jt.test(d.type),i=d.url,d.hasContent||(d.data&&(i=d.url+=(kt.test(i)?"&":"?")+d.data,delete d.data),!1===d.cache&&(d.url=Nt.test(i)?i.replace(Nt,"$1_="+Et++):i+(kt.test(i)?"&":"?")+"_="+Et++)),d.ifModified&&(f.lastModified[i]&&S.setRequestHeader("If-Modified-Since",f.lastModified[i]),f.etag[i]&&S.setRequestHeader("If-None-Match",f.etag[i])),(d.data&&d.hasContent&&!1!==d.contentType||n.contentType)&&S.setRequestHeader("Content-Type",d.contentType),S.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+qt+"; q=0.01":""):d.accepts["*"]),d.headers)S.setRequestHeader(o,d.headers[o]);if(d.beforeSend&&(!1===d.beforeSend.call(p,S,d)||2===x))return S.abort();for(o in w="abort",{success:1,error:1,complete:1})S[o](d[o]);if(l=Ot(It,d,n,S)){if(S.readyState=1,c&&h.trigger("ajaxSend",[S,d]),2===x)return S;d.async&&d.timeout>0&&(s=e.setTimeout(function(){S.abort("timeout")},d.timeout));try{x=1,l.send(y,C)}catch(T){if(!(2>x))throw T;C(-1,T)}}else C(-1,"No Transport");function C(t,n,r,o){var u,y,b,w,T,C=n;2!==x&&(x=2,s&&e.clearTimeout(s),l=void 0,a=o||"",S.readyState=t>0?4:0,u=t>=200&&300>t||304===t,r&&(w=function(e,t,n){for(var r,o,i,a,s=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===o&&(o=e.mimeType||t.getResponseHeader("Content-Type"));if(o)for(a in s)if(s[a]&&s[a].test(o)){c.unshift(a);break}if(c[0]in n)i=c[0];else{for(a in n){if(!c[0]||e.converters[a+" "+c[0]]){i=a;break}r||(r=a)}i=i||r}return i?(i!==c[0]&&c.unshift(i),n[i]):void 0}(d,S,r)),w=function(e,t,n,r){var o,i,a,s,c,l={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(i=u.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!c&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=i,i=u.shift())if("*"===i)i=c;else if("*"!==c&&c!==i){if(!(a=l[c+" "+i]||l["* "+i]))for(o in l)if((s=o.split(" "))[1]===i&&(a=l[c+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[o]:!0!==l[o]&&(i=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(d){return{state:"parsererror",error:a?d:"No conversion from "+c+" to "+i}}}return{state:"success",data:t}}(d,w,S,u),u?(d.ifModified&&((T=S.getResponseHeader("Last-Modified"))&&(f.lastModified[i]=T),(T=S.getResponseHeader("etag"))&&(f.etag[i]=T)),204===t||"HEAD"===d.type?C="nocontent":304===t?C="notmodified":(C=w.state,y=w.data,u=!(b=w.error))):(b=C,!t&&C||(C="error",0>t&&(t=0))),S.status=t,S.statusText=(n||C)+"",u?g.resolveWith(p,[y,C,S]):g.rejectWith(p,[S,C,b]),S.statusCode(m),m=void 0,c&&h.trigger(u?"ajaxSuccess":"ajaxError",[S,d,u?y:b]),v.fireWith(p,[S,C]),c&&(h.trigger("ajaxComplete",[S,d]),--f.active||f.event.trigger("ajaxStop")))}return S},getJSON:function(e,t,n){return f.get(e,t,n,"json")},getScript:function(e,t){return f.get(e,void 0,t,"script")}}),f.each(["get","post"],function(e,t){f[t]=function(e,n,r,o){return f.isFunction(n)&&(o=o||r,r=n,n=void 0),f.ajax(f.extend({url:e,type:t,dataType:o,data:n,success:r},f.isPlainObject(e)&&e))}}),f._evalUrl=function(e){return f.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},f.fn.extend({wrapAll:function(e){if(f.isFunction(e))return this.each(function(t){f(this).wrapAll(e.call(this,t))});if(this[0]){var t=f(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return f.isFunction(e)?this.each(function(t){f(this).wrapInner(e.call(this,t))}):this.each(function(){var t=f(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=f.isFunction(e);return this.each(function(n){f(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()}}),f.expr.filters.hidden=function(e){return d.reliableHiddenOffsets()?e.offsetWidth<=0&&e.offsetHeight<=0&&!e.getClientRects().length:function(e){if(!f.contains(e.ownerDocument||r,e))return!0;for(;e&&1===e.nodeType;){if("none"===Bt(e)||"hidden"===e.type)return!0;e=e.parentNode}return!1}(e)},f.expr.filters.visible=function(e){return!f.expr.filters.hidden(e)};var zt=/%20/g,$t=/\[\]$/,Ut=/\r?\n/g,Xt=/^(?:submit|button|image|reset|file)$/i,Qt=/^(?:input|select|textarea|keygen)/i;function Gt(e,t,n,r){var o;if(f.isArray(t))f.each(t,function(t,o){n||$t.test(e)?r(e,o):Gt(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)});else if(n||"object"!==f.type(t))r(e,t);else for(o in t)Gt(e+"["+o+"]",t[o],n,r)}f.param=function(e,t){var n,r=[],o=function(e,t){t=f.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=f.ajaxSettings&&f.ajaxSettings.traditional),f.isArray(e)||e.jquery&&!f.isPlainObject(e))f.each(e,function(){o(this.name,this.value)});else for(n in e)Gt(n,e[n],t,o);return r.join("&").replace(zt,"+")},f.fn.extend({serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=f.prop(this,"elements");return e?f.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!f(this).is(":disabled")&&Qt.test(this.nodeName)&&!Xt.test(e)&&(this.checked||!V.test(e))}).map(function(e,t){var n=f(this).val();return null==n?null:f.isArray(n)?f.map(n,function(e){return{name:t.name,value:e.replace(Ut,"\r\n")}}):{name:t.name,value:n.replace(Ut,"\r\n")}}).get()}}),f.ajaxSettings.xhr=void 0!==e.ActiveXObject?function(){return this.isLocal?Zt():r.documentMode>8?Yt():/^(get|post|head|put|delete|options)$/i.test(this.type)&&Yt()||Zt()}:Yt;var Vt=0,Kt={},Jt=f.ajaxSettings.xhr();function Yt(){try{return new e.XMLHttpRequest}catch(t){}}function Zt(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}e.attachEvent&&e.attachEvent("onunload",function(){for(var e in Kt)Kt[e](void 0,!0)}),d.cors=!!Jt&&"withCredentials"in Jt,(Jt=d.ajax=!!Jt)&&f.ajaxTransport(function(t){var n;if(!t.crossDomain||d.cors)return{send:function(r,o){var i,a=t.xhr(),s=++Vt;if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(i in t.xhrFields)a[i]=t.xhrFields[i];for(i in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)void 0!==r[i]&&a.setRequestHeader(i,r[i]+"");a.send(t.hasContent&&t.data||null),n=function(e,r){var i,c,l;if(n&&(r||4===a.readyState))if(delete Kt[s],n=void 0,a.onreadystatechange=f.noop,r)4!==a.readyState&&a.abort();else{l={},i=a.status,"string"==typeof a.responseText&&(l.text=a.responseText);try{c=a.statusText}catch(u){c=""}i||!t.isLocal||t.crossDomain?1223===i&&(i=204):i=l.text?200:404}l&&o(i,c,l,a.getAllResponseHeaders())},t.async?4===a.readyState?e.setTimeout(n):a.onreadystatechange=Kt[s]=n:n()},abort:function(){n&&n(void 0,!0)}}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return f.globalEval(e),e}}}),f.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),f.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=r.head||f("head")[0]||r.documentElement;return{send:function(o,i){(t=r.createElement("script")).async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){(n||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||i(200,"success"))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}});var en=[],tn=/(=)\?(?=&|$)|\?\?/;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=en.pop()||f.expando+"_"+Et++;return this[e]=!0,e}}),f.ajaxPrefilter("json jsonp",function(t,n,r){var o,i,a,s=!1!==t.jsonp&&(tn.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&tn.test(t.data)&&"data");return s||"jsonp"===t.dataTypes[0]?(o=t.jsonpCallback=f.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(tn,"$1"+o):!1!==t.jsonp&&(t.url+=(kt.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return a||f.error(o+" was not called"),a[0]},t.dataTypes[0]="json",i=e[o],e[o]=function(){a=arguments},r.always(function(){void 0===i?f(e).removeProp(o):e[o]=i,t[o]&&(t.jsonpCallback=n.jsonpCallback,en.push(o)),a&&f.isFunction(i)&&i(a[0]),a=i=void 0}),"script"):void 0}),f.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||r;var o=T.exec(e),i=!n&&[];return o?[t.createElement(o[1])]:(o=se([e],t,i),i&&i.length&&f(i).remove(),f.merge([],o.childNodes))};var nn=f.fn.load;function rn(e){return f.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}f.fn.load=function(e,t,n){if("string"!=typeof e&&nn)return nn.apply(this,arguments);var r,o,i,a=this,s=e.indexOf(" ");return s>-1&&(r=f.trim(e.slice(s,e.length)),e=e.slice(0,s)),f.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&f.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){i=arguments,a.html(r?f("<div>").append(f.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,i||[e.responseText,t,e])})}),this},f.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){f.fn[t]=function(e){return this.on(t,e)}}),f.expr.filters.animated=function(e){return f.grep(f.timers,function(t){return e===t.elem}).length},f.offset={setOffset:function(e,t,n){var r,o,i,a,s,c,l=f.css(e,"position"),u=f(e),d={};"static"===l&&(e.style.position="relative"),s=u.offset(),i=f.css(e,"top"),c=f.css(e,"left"),("absolute"===l||"fixed"===l)&&f.inArray("auto",[i,c])>-1?(a=(r=u.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(c)||0),f.isFunction(t)&&(t=t.call(e,n,f.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):u.css(d)}},f.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){f.offset.setOffset(this,e,t)});var t,n,r={top:0,left:0},o=this[0],i=o&&o.ownerDocument;return i?f.contains(t=i.documentElement,o)?(void 0!==o.getBoundingClientRect&&(r=o.getBoundingClientRect()),n=rn(i),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r:void 0},position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===f.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),f.nodeName(e[0],"html")||(n=e.offset()),n.top+=f.css(e[0],"borderTopWidth",!0),n.left+=f.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-f.css(r,"marginTop",!0),left:t.left-n.left-f.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&!f.nodeName(e,"html")&&"static"===f.css(e,"position");)e=e.offsetParent;return e||Me})}}),f.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);f.fn[e]=function(r){return G(this,function(e,r,o){var i=rn(e);return void 0===o?i?t in i?i[t]:i.document.documentElement[r]:e[r]:void(i?i.scrollTo(n?f(i).scrollLeft():o,n?o:f(i).scrollTop()):e[r]=o)},e,r,arguments.length,null)}}),f.each(["top","left"],function(e,t){f.cssHooks[t]=ze(d.pixelPosition,function(e,n){return n?(n=We(e,t),Pe.test(n)?f(e).position()[t]+"px":n):void 0})}),f.each({Height:"height",Width:"width"},function(e,t){f.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){f.fn[r]=function(r,o){var i=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===o?"margin":"border");return G(this,function(t,n,r){var o;return f.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===r?f.css(t,n,a):f.style(t,n,r,a)},t,i?r:void 0,i,null)}})}),f.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),f.fn.size=function(){return this.length},f.fn.andSelf=f.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return f});var on=e.jQuery,an=e.$;return f.noConflict=function(t){return e.$===f&&(e.$=an),t&&e.jQuery===f&&(e.jQuery=on),f},t||(e.jQuery=e.$=f),f}),function(e,t,n){function r(e,t){return t.match(/:\d+$/)?t:t+":"+function(e){return"http:"===e?80:"https:"===e?443:void 0}(e)}function o(t,n){var r=this,o=[];r.tryBuffer=function(n){return t.state===e.signalR.connectionState.connecting&&(o.push(n),!0)},r.drain=function(){if(t.state===e.signalR.connectionState.connected)for(;o.length>0;)n(o.shift())},r.clear=function(){o=[]}}var i={nojQuery:"jQuery was not found. Please ensure jQuery is referenced before the SignalR client JavaScript file.",noTransportOnInit:"No transport could be initialized successfully. Try specifying a different transport or none at all for auto initialization.",errorOnNegotiate:"Error during negotiation request.",stoppedWhileLoading:"The connection was stopped during page load.",stoppedWhileNegotiating:"The connection was stopped during the negotiate request.",errorParsingNegotiateResponse:"Error parsing negotiate response.",errorRedirectionExceedsLimit:"Negotiate redirection limit exceeded.",errorDuringStartRequest:"Error during start request. Stopping the connection.",errorFromServer:"Error message received from the server: '{0}'.",stoppedDuringStartRequest:"The connection was stopped during the start request.",errorParsingStartResponse:"Error parsing start response: '{0}'. Stopping the connection.",invalidStartResponse:"Invalid start response: '{0}'. Stopping the connection.",protocolIncompatible:"You are using a version of the client that isn't compatible with the server. Client version {0}, server version {1}.",aspnetCoreSignalrServer:"Detected a connection attempt to an ASP.NET Core SignalR Server. This client only supports connecting to an ASP.NET SignalR Server. See https://aka.ms/signalr-core-differences for details.",sendFailed:"Send failed.",parseFailed:"Failed at parsing response: {0}",longPollFailed:"Long polling request failed.",eventSourceFailedToConnect:"EventSource failed to connect.",eventSourceError:"Error raised by EventSource",webSocketClosed:"WebSocket closed.",pingServerFailedInvalidResponse:"Invalid ping response when pinging server: '{0}'.",pingServerFailed:"Failed to ping server.",pingServerFailedStatusCode:"Failed to ping server. Server responded with status code {0}, stopping the connection.",pingServerFailedParse:"Failed to parse ping server response, stopping the connection.",noConnectionTransport:"Connection is in an invalid state, there is no transport active.",webSocketsInvalidState:"The Web Socket transport is in an invalid state, transitioning into reconnecting.",reconnectTimeout:"Couldn't reconnect within the configured timeout of {0} ms, disconnecting.",reconnectWindowTimeout:"The client has been inactive since {0} and it has exceeded the inactivity timeout of {1} ms. Stopping the connection.",jsonpNotSupportedWithAccessToken:"The JSONP protocol does not support connections that require a Bearer token to connect, such as the Azure SignalR Service."};if("function"!=typeof e)throw new Error(i.nojQuery);var a,s,c="complete"===t.document.readyState,l=e(t),u="__Negotiate Aborted__",d={onStart:"onStart",onStarting:"onStarting",onReceived:"onReceived",onError:"onError",onConnectionSlow:"onConnectionSlow",onReconnecting:"onReconnecting",onReconnect:"onReconnect",onStateChanged:"onStateChanged",onDisconnect:"onDisconnect"},p=function(t,n,r){return n===t.state&&(t.state=r,e(t).triggerHandler(d.onStateChanged,[{oldState:n,newState:r}]),!0)},f=function(e){return e._.keepAliveData.activated&&e.transport.supportsKeepAlive(e)};(a=function(e,t,n){return new a.fn.init(e,t,n)})._={defaultContentType:"application/x-www-form-urlencoded; charset=UTF-8",ieVersion:function(){var e,n;return"Microsoft Internet Explorer"===t.navigator.appName&&(n=/MSIE ([0-9]+\.[0-9]+)/.exec(t.navigator.userAgent))&&(e=t.parseFloat(n[1])),e}(),error:function(e,t,n){var r=new Error(e);return r.source=t,void 0!==n&&(r.context=n),r},transportError:function(e,t,n,r){var o=this.error(e,n,r);return o.transport=t?t.name:void 0,o},format:function(){for(var e=arguments[0],t=0;t<arguments.length-1;t++)e=e.replace("{"+t+"}",arguments[t+1]);return e},firefoxMajorVersion:function(e){var t=e.match(/Firefox\/(\d+)/);return!t||!t.length||t.length<2?0:parseInt(t[1],10)},configurePingInterval:function(n){var r=n._.config,o=function(t){e(n).triggerHandler(d.onError,[t])};r&&!n._.pingIntervalId&&r.pingInterval&&(n._.pingIntervalId=t.setInterval(function(){a.transports._logic.pingServer(n).fail(o)},r.pingInterval))}},a.events=d,a.resources=i,a.ajaxDefaults={processData:!0,timeout:null,async:!0,global:!1,cache:!1},a.changeState=p,a.isDisconnecting=function(e){return e.state===a.connectionState.disconnected},a.connectionState={connecting:0,connected:1,reconnecting:2,disconnected:4},a.hub={start:function(){throw new Error("SignalR: Error loading hubs. Ensure your hubs reference is correct, e.g. <script src='/signalr/js'><\/script>.")}},"function"==typeof l.on?l.on("load",function(){c=!0}):l.load(function(){c=!0}),a.fn=a.prototype={init:function(t,n,r){var i=e(this);this.url=t,this.qs=n,this.lastError=null,this._={keepAliveData:{},connectingMessageBuffer:new o(this,function(e){i.triggerHandler(d.onReceived,[e])}),lastMessageAt:(new Date).getTime(),lastActiveAt:(new Date).getTime(),beatInterval:5e3,beatHandle:null,totalTransportConnectTimeout:0,redirectQs:null},"boolean"==typeof r&&(this.logging=r)},_parseResponse:function(e){return e&&"string"==typeof e?this.json.parse(e):e},_originalJson:t.JSON,json:t.JSON,isCrossDomain:function(n,o){var i;return n=e.trim(n),o=o||t.location,0===n.indexOf("http")&&((i=t.document.createElement("a")).href=n,i.protocol+r(i.protocol,i.host)!==o.protocol+r(o.protocol,o.host))},ajaxDataType:"text",contentType:"application/json; charset=UTF-8",logging:!1,state:a.connectionState.disconnected,clientProtocol:"2.1",supportedProtocols:["1.5","2.0","2.1"],negotiateRedirectSupportedProtocols:["2.0","2.1"],reconnectDelay:2e3,transportConnectTimeout:0,disconnectTimeout:3e4,reconnectWindow:3e4,keepAliveWarnAt:2/3,start:function(n,r){var o,s,h,g=this,v={pingInterval:3e5,waitForPageLoad:!0,transport:"auto",jsonp:!1},m=g._deferral||e.Deferred(),y=t.document.createElement("a"),b=function(n,r){n.url===r&&n.baseUrl||(n.url=r,y.href=n.url,y.protocol&&":"!==y.protocol?(n.protocol=y.protocol,n.host=y.host):(n.protocol=t.document.location.protocol,n.host=y.host||t.document.location.host),n.baseUrl=n.protocol+"//"+n.host,n.wsProtocol="https:"===n.protocol?"wss://":"ws://",0===n.url.indexOf("//")&&(n.url=t.location.protocol+n.url,n.log("Protocol relative URL detected, normalizing it to '"+n.url+"'.")),n.isCrossDomain(n.url)&&(n.log("Auto detected cross domain url."),"auto"===v.transport&&(v.transport=["webSockets","serverSentEvents","longPolling"]),void 0===n.withCredentials&&(n.withCredentials=!0),e.support.cors||(n.ajaxDataType="jsonp",n.log("Using jsonp because this browser doesn't support CORS.")),n.contentType=a._.defaultContentType))};if(g.lastError=null,g._deferral=m,!g.json)throw new Error("SignalR: No JSON parser found. Please ensure json2.js is referenced before the SignalR.js file if you need to support clients without native JSON parsing support, e.g. IE<8.");if("function"===e.type(n)?r=n:"object"===e.type(n)&&(e.extend(v,n),"function"===e.type(v.callback)&&(r=v.callback)),v.transport=function(t,n){var r,o;if(e.isArray(t)){for(r=t.length-1;r>=0;r--)"string"===e.type(o=t[r])&&a.transports[o]||(n.log("Invalid transport: "+o+", removing it from the transports list."),t.splice(r,1));0===t.length&&(n.log("No transports remain within the specified transport array."),t=null)}else if(a.transports[t]||"auto"===t){if("auto"===t&&a._.ieVersion<=8)return["longPolling"]}else n.log("Invalid transport: "+t.toString()+"."),t=null;return t}(v.transport,g),!v.transport)throw new Error("SignalR: Invalid transport(s) specified, aborting start.");return g._.config=v,c||!0!==v.waitForPageLoad?g.state===a.connectionState.connecting?m.promise():!1===p(g,a.connectionState.disconnected,a.connectionState.connecting)?(m.resolve(g),m.promise()):(function(n){var r,o;n._.configuredStopReconnectingTimeout||(o=function(t){var n=a._.format(a.resources.reconnectTimeout,t.disconnectTimeout);t.log(n),e(t).triggerHandler(d.onError,[a._.error(n,"TimeoutException")]),t.stop(!1,!1)},n.reconnecting(function(){var e=this;e.state===a.connectionState.reconnecting&&(r=t.setTimeout(function(){o(e)},e.disconnectTimeout))}),n.stateChanged(function(e){e.oldState===a.connectionState.reconnecting&&t.clearTimeout(r)}),n._.configuredStopReconnectingTimeout=!0)}(g),"auto"===v.transport&&!0===v.jsonp&&(v.transport="longPolling"),g.withCredentials=v.withCredentials,g._originalUrl=g.url,g.ajaxDataType=v.jsonp?"jsonp":"text",b(g,g.url),e(g).bind(d.onStart,function(){"function"===e.type(r)&&r.call(g),m.resolve(g)}),g._.initHandler=a.transports._logic.initHandler(g),o=function(n,r){var s=a._.error(i.noTransportOnInit);if((r=r||0)>=n.length)return g.log(0===r?"No transports supported by the server were selected.":1===r?"No fallback transports were selected.":"Fallback transports exhausted."),e(g).triggerHandler(d.onError,[s]),m.reject(s),void g.stop();if(g.state!==a.connectionState.disconnected){var c=a.transports[n[r]],u=function(){o(n,r+1)};g.transport=c;try{g._.initHandler.start(c,function(){var n=a._.firefoxMajorVersion(t.navigator.userAgent)>=11;g.log("The start request succeeded. Transitioning to the connected state."),f(g)&&a.transports._logic.monitorKeepAlive(g),a.transports._logic.startHeartbeat(g),a._.configurePingInterval(g),p(g,a.connectionState.connecting,a.connectionState.connected)||g.log("WARNING! The connection was not in the connecting state."),g._.connectingMessageBuffer.drain(),e(g).triggerHandler(d.onStart),l.bind("unload",function(){g.log("Window unloading, stopping the connection."),g.stop(!0)}),n&&l.bind("beforeunload",function(){t.setTimeout(function(){g.stop(!0)},0)})},u)}catch(h){g.log(c.name+" transport threw '"+h.message+"' when attempting to start."),u()}}},s=g.url+"/negotiate",h=function(t,n){var r=a._.error(i.errorOnNegotiate,t,n._.negotiateRequest);e(n).triggerHandler(d.onError,r),m.reject(r),n.stop()},e(g).triggerHandler(d.onStarting),s=a.transports._logic.prepareQueryString(g,s),g.log("Negotiating with '"+s+"'."),g._.negotiateRequest=function(){var t,n,r,c=0,l=[],p=[],f=function(e,t){var n,r=a.transports._logic.prepareQueryString(e,e.url+"/negotiate");return e.log("Negotiating with '"+r+"'."),n={url:r,error:function(t,n){n!==u?h(t,e):m.reject(a._.error(i.stoppedWhileNegotiating,null,e._.negotiateRequest))},success:t},e.accessToken&&(n.headers={Authorization:"Bearer "+e.accessToken}),a.transports._logic.ajax(e,n)},y=function(u){try{t=g._parseResponse(u)}catch(s){return void h(a._.error(i.errorParsingNegotiateResponse,s),g)}if(t.availableTransports)return r=a._.error(i.aspnetCoreSignalrServer),e(g).triggerHandler(d.onError,[r]),void m.reject(r);if(!t.ProtocolVersion||-1===g.supportedProtocols.indexOf(t.ProtocolVersion))return r=a._.error(a._.format(i.protocolIncompatible,g.clientProtocol,t.ProtocolVersion)),e(g).triggerHandler(d.onError,[r]),void m.reject(r);if(-1!==g.negotiateRedirectSupportedProtocols.indexOf(t.ProtocolVersion)){if(t.Error)return r=a._.error(a._.format(i.errorFromServer,t.Error)),e(g).triggerHandler(d.onError,[r]),void m.reject(r);if(t.RedirectUrl){if(100===c)return void h(a._.error(i.errorRedirectionExceedsLimit),g);"auto"===v.transport&&(v.transport=["webSockets","serverSentEvents","longPolling"]),g.log("Received redirect to: "+t.RedirectUrl),g.accessToken=t.AccessToken;var x=t.RedirectUrl.split("?",2);return b(g,x[0]),g._.redirectQs=2===x.length?x[1]:null,"jsonp"===g.ajaxDataType&&g.accessToken?void h(a._.error(i.jsonpNotSupportedWithAccessToken),g):(c++,void f(g,y))}}n=g._.keepAliveData,g.appRelativeUrl=t.Url,g.id=t.ConnectionId,g.token=t.ConnectionToken,g.webSocketServerUrl=t.WebSocketServerUrl,g._.pollTimeout=1e3*t.ConnectionTimeout+1e4,g.disconnectTimeout=1e3*t.DisconnectTimeout,g._.totalTransportConnectTimeout=g.transportConnectTimeout+1e3*t.TransportConnectTimeout,t.KeepAliveTimeout?(n.activated=!0,n.timeout=1e3*t.KeepAliveTimeout,n.timeoutWarning=n.timeout*g.keepAliveWarnAt,g._.beatInterval=(n.timeout-n.timeoutWarning)/3):n.activated=!1,g.reconnectWindow=g.disconnectTimeout+(n.timeout||0),e.each(a.transports,function(e){if(0===e.indexOf("_")||"webSockets"===e&&!t.TryWebSockets)return!0;p.push(e)}),e.isArray(v.transport)?e.each(v.transport,function(t,n){e.inArray(n,p)>=0&&l.push(n)}):"auto"===v.transport?l=p:e.inArray(v.transport,p)>=0&&l.push(v.transport),o(l)};return f(g,y)}(),m.promise()):(g._.deferredStartHandler=function(){g.start(n,r)},l.bind("load",g._.deferredStartHandler),m.promise())},starting:function(t){var n=this;return e(n).bind(d.onStarting,function(){t.call(n)}),n},send:function(e){var t=this;if(t.state===a.connectionState.disconnected)throw new Error("SignalR: Connection must be started before data can be sent. Call .start() before .send()");if(t.state===a.connectionState.connecting)throw new Error("SignalR: Connection has not been fully initialized. Use .start().done() or .start().fail() to run logic after the connection has started.");return t.transport.send(t,e),t},received:function(t){var n=this;return e(n).bind(d.onReceived,function(e,r){t.call(n,r)}),n},stateChanged:function(t){var n=this;return e(n).bind(d.onStateChanged,function(e,r){t.call(n,r)}),n},error:function(t){var n=this;return e(n).bind(d.onError,function(e,r,o){n.lastError=r,t.call(n,r,o)}),n},disconnected:function(t){var n=this;return e(n).bind(d.onDisconnect,function(){t.call(n)}),n},connectionSlow:function(t){var n=this;return e(n).bind(d.onConnectionSlow,function(){t.call(n)}),n},reconnecting:function(t){var n=this;return e(n).bind(d.onReconnecting,function(){t.call(n)}),n},reconnected:function(t){var n=this;return e(n).bind(d.onReconnect,function(){t.call(n)}),n},stop:function(n,r){var o=this,s=o._deferral;return o._.deferredStartHandler&&l.unbind("load",o._.deferredStartHandler),delete o._.config,delete o._.deferredStartHandler,c||o._.config&&!0!==o._.config.waitForPageLoad?o.state!==a.connectionState.disconnected?(o.log("Stopping connection."),t.clearTimeout(o._.beatHandle),t.clearInterval(o._.pingIntervalId),o.transport&&(o.transport.stop(o),!1!==r&&o.transport.abort(o,n),f(o)&&a.transports._logic.stopMonitoringKeepAlive(o),o.transport=null),o._.negotiateRequest&&(o._.negotiateRequest.abort(u),delete o._.negotiateRequest),o._.initHandler&&o._.initHandler.stop(),delete o._deferral,delete o.messageId,delete o.groupsToken,delete o.id,delete o._.pingIntervalId,delete o._.lastMessageAt,delete o._.lastActiveAt,o._.connectingMessageBuffer.clear(),e(o).unbind(d.onStart),delete o.accessToken,delete o.protocol,delete o.host,delete o.baseUrl,delete o.wsProtocol,delete o.contentType,o.url=o._originalUrl,o._.redirectQs=null,p(o,o.state,a.connectionState.disconnected),e(o).triggerHandler(d.onDisconnect),o):void 0:(o.log("Stopping connection prior to negotiate."),void(s&&s.reject(a._.error(i.stoppedWhileLoading))))},log:function(e){!function(e,n){var r;!1!==n&&void 0!==t.console&&(r="["+(new Date).toTimeString()+"] SignalR: "+e,t.console.debug?t.console.debug(r):t.console.log&&t.console.log(r))}(e,this.logging)}},a.fn.init.prototype=a.fn,a.noConflict=function(){return e.connection===a&&(e.connection=s),a},e.connection&&(s=e.connection),e.connection=e.signalR=a}(window.jQuery,window),function(e,t,n){function r(t){var n,r=t._.keepAliveData;t.state===s.connectionState.connected&&((n=(new Date).getTime()-t._.lastMessageAt)>=r.timeout?(t.log("Keep alive timed out. Notifying transport that connection has been lost."),t.transport.lostConnection(t)):n>=r.timeoutWarning?r.userNotified||(t.log("Keep alive has been missed, connection may be dead/slow."),e(t).triggerHandler(c.onConnectionSlow),r.userNotified=!0):r.userNotified=!1)}function o(e,t){var n=e.url+t;return e.transport&&(n+="?transport="+e.transport.name),a.prepareQueryString(e,n)}function i(e){this.connection=e,this.startRequested=!1,this.startCompleted=!1,this.connectionStopped=!1}var a,s=e.signalR,c=e.signalR.events,l=e.signalR.changeState,u="__Start Aborted__";s.transports={},i.prototype={start:function(e,n,r){var o=this,i=o.connection,a=!1;o.startRequested||o.connectionStopped?i.log("WARNING! "+e.name+" transport cannot be started. Initialization ongoing or completed."):(i.log(e.name+" transport starting."),e.start(i,function(){a||o.initReceived(e,n)},function(t){return a||(a=!0,o.transportFailed(e,t,r)),!o.startCompleted||o.connectionStopped}),o.transportTimeoutHandle=t.setTimeout(function(){a||(a=!0,i.log(e.name+" transport timed out when trying to connect."),o.transportFailed(e,void 0,r))},i._.totalTransportConnectTimeout))},stop:function(){this.connectionStopped=!0,t.clearTimeout(this.transportTimeoutHandle),s.transports._logic.tryAbortStartRequest(this.connection)},initReceived:function(e,n){var r=this,o=r.connection;r.startRequested?o.log("WARNING! The client received multiple init messages."):r.connectionStopped||(r.startRequested=!0,t.clearTimeout(r.transportTimeoutHandle),o.log(e.name+" transport connected. Initiating start request."),s.transports._logic.ajaxStart(o,function(){r.startCompleted=!0,n()}))},transportFailed:function(n,r,o){var i,a=this.connection,l=a._deferral;this.connectionStopped||(t.clearTimeout(this.transportTimeoutHandle),this.startRequested?this.startCompleted||(i=s._.error(s.resources.errorDuringStartRequest,r),a.log(n.name+" transport failed during the start request. Stopping the connection."),e(a).triggerHandler(c.onError,[i]),l&&l.reject(i),a.stop()):(n.stop(a),a.log(n.name+" transport failed to connect. Attempting to fall back."),o()))}},a=s.transports._logic={ajax:function(t,n){return e.ajax(e.extend(!0,{},e.signalR.ajaxDefaults,{type:"GET",data:{},xhrFields:{withCredentials:t.withCredentials},contentType:t.contentType,dataType:t.ajaxDataType},n))},pingServer:function(t){var n,r,o=e.Deferred();return t.transport?(n=a.addQs(n=t.url+"/ping",t.qs),r=a.ajax(t,{url:n,headers:t.accessToken?{Authorization:"Bearer "+t.accessToken}:{},success:function(e){var i;try{i=t._parseResponse(e)}catch(n){return o.reject(s._.transportError(s.resources.pingServerFailedParse,t.transport,n,r)),void t.stop()}"pong"===i.Response?o.resolve():o.reject(s._.transportError(s._.format(s.resources.pingServerFailedInvalidResponse,e),t.transport,null,r))},error:function(e){401===e.status||403===e.status?(o.reject(s._.transportError(s._.format(s.resources.pingServerFailedStatusCode,e.status),t.transport,e,r)),t.stop()):o.reject(s._.transportError(s.resources.pingServerFailed,t.transport,e,r))}})):o.reject(s._.transportError(s.resources.noConnectionTransport,t.transport)),o.promise()},prepareQueryString:function(e,n){var r;return r=a.addQs(n,"clientProtocol="+e.clientProtocol),r=a.addQs(r,"string"==typeof e._.redirectQs?e._.redirectQs:e.qs),e.token&&(r+="&connectionToken="+t.encodeURIComponent(e.token)),e.data&&(r+="&connectionData="+t.encodeURIComponent(e.data)),r},addQs:function(t,n){var r,o=-1!==t.indexOf("?")?"&":"?";if(!n)return t;if("object"==typeof n)return t+o+e.param(n);if("string"==typeof n)return("?"===(r=n.charAt(0))||"&"===r)&&(o=""),t+o+n;throw new Error("Query string property must be either a string or object.")},getUrl:function(e,n,r,o,i){var s=("webSockets"===n?"":e.baseUrl)+e.appRelativeUrl,c="transport="+n;return!i&&e.groupsToken&&(c+="&groupsToken="+t.encodeURIComponent(e.groupsToken)),r?(s+=o?"/poll":"/reconnect",!i&&e.messageId&&(c+="&messageId="+t.encodeURIComponent(e.messageId))):s+="/connect",s=a.prepareQueryString(e,s+="?"+c),e.transport&&e.accessToken&&("serverSentEvents"===e.transport.name||"webSockets"===e.transport.name)&&(s+="&access_token="+t.encodeURIComponent(e.accessToken)),i||(s+="&tid="+Math.floor(11*Math.random())),s},maximizePersistentResponse:function(e){return{MessageId:e.C,Messages:e.M,Initialized:void 0!==e.S,ShouldReconnect:void 0!==e.T,LongPollDelay:e.L,GroupsToken:e.G,Error:e.E}},updateGroups:function(e,t){t&&(e.groupsToken=t)},stringifySend:function(e,t){return"string"==typeof t||null==t?t:e.json.stringify(t)},ajaxSend:function(t,n){var r,i=a.stringifySend(t,n),l=o(t,"/send"),u=function(t,o){e(o).triggerHandler(c.onError,[s._.transportError(s.resources.sendFailed,o.transport,t,r),n])};return r=a.ajax(t,{url:l,type:"jsonp"===t.ajaxDataType?"GET":"POST",contentType:s._.defaultContentType,headers:t.accessToken?{Authorization:"Bearer "+t.accessToken}:{},data:{data:i},success:function(e){var n;if(e){try{n=t._parseResponse(e)}catch(s){return u(s,t),void t.stop()}a.triggerReceived(t,n)}},error:function(e,n){"abort"!==n&&"parsererror"!==n&&u(e,t)}})},ajaxAbort:function(e,t){if(void 0!==e.transport){t=void 0===t||t;var n=o(e,"/abort");a.ajax(e,{url:n,async:t,timeout:1e3,type:"POST",headers:e.accessToken?{Authorization:"Bearer "+e.accessToken}:{},dataType:"text"}),e.log("Fired ajax abort async = "+t+".")}},ajaxStart:function(t,n){var r=function(e){var n=t._deferral;n&&n.reject(e)},i=function(n){t.log("The start request failed. Stopping the connection."),e(t).triggerHandler(c.onError,[n]),r(n),t.stop()};t._.startRequest=a.ajax(t,{url:o(t,"/start"),headers:t.accessToken?{Authorization:"Bearer "+t.accessToken}:{},success:function(e,r,o){var a;try{a=t._parseResponse(e)}catch(u){return void i(s._.error(s._.format(s.resources.errorParsingStartResponse,e),u,o))}"started"===a.Response?n():i(s._.error(s._.format(s.resources.invalidStartResponse,e),null,o))},error:function(e,n,o){n!==u?i(s._.error(s.resources.errorDuringStartRequest,o,e)):(t.log("The start request aborted because connection.stop() was called."),r(s._.error(s.resources.stoppedDuringStartRequest,null,e)))}})},tryAbortStartRequest:function(e){e._.startRequest&&(e._.startRequest.abort(u),delete e._.startRequest)},tryInitialize:function(e,t,n){t.Initialized&&n?n():t.Initialized&&e.log("WARNING! The client received an init message after reconnecting.")},triggerReceived:function(t,n){t._.connectingMessageBuffer.tryBuffer(n)||e(t).triggerHandler(c.onReceived,[n])},processMessages:function(t,n,r){var o;if(n&&void 0!==n.I)a.triggerReceived(t,n);else if(a.markLastMessage(t),n){if((o=a.maximizePersistentResponse(n)).Error)return t.log("Received an error message from the server: "+n.E),e(t).triggerHandler(s.events.onError,[s._.error(n.E,"ServerError")]),void t.stop(!1,!1);a.updateGroups(t,o.GroupsToken),o.MessageId&&(t.messageId=o.MessageId),o.Messages&&(e.each(o.Messages,function(e,n){a.triggerReceived(t,n)}),a.tryInitialize(t,o,r))}},monitorKeepAlive:function(t){var n=t._.keepAliveData;n.monitoring?t.log("Tried to monitor keep alive but it's already being monitored."):(n.monitoring=!0,a.markLastMessage(t),t._.keepAliveData.reconnectKeepAliveUpdate=function(){a.markLastMessage(t)},e(t).bind(c.onReconnect,t._.keepAliveData.reconnectKeepAliveUpdate),t.log("Now monitoring keep alive with a warning timeout of "+n.timeoutWarning+", keep alive timeout of "+n.timeout+" and disconnecting timeout of "+t.disconnectTimeout))},stopMonitoringKeepAlive:function(t){var n=t._.keepAliveData;n.monitoring&&(n.monitoring=!1,e(t).unbind(c.onReconnect,t._.keepAliveData.reconnectKeepAliveUpdate),t._.keepAliveData={},t.log("Stopping the monitoring of the keep alive."))},startHeartbeat:function(e){e._.lastActiveAt=(new Date).getTime(),function e(n){n._.keepAliveData.monitoring&&r(n),a.markActive(n)&&(n._.beatHandle=t.setTimeout(function(){e(n)},n._.beatInterval))}(e)},markLastMessage:function(e){e._.lastMessageAt=(new Date).getTime()},markActive:function(e){return!!a.verifyLastActive(e)&&(e._.lastActiveAt=(new Date).getTime(),!0)},isConnectedOrReconnecting:function(e){return e.state===s.connectionState.connected||e.state===s.connectionState.reconnecting},ensureReconnectingState:function(t){return!0===l(t,s.connectionState.connected,s.connectionState.reconnecting)&&e(t).triggerHandler(c.onReconnecting),t.state===s.connectionState.reconnecting},clearReconnectTimeout:function(e){e&&e._.reconnectTimeout&&(t.clearTimeout(e._.reconnectTimeout),delete e._.reconnectTimeout)},verifyLastActive:function(t){if((new Date).getTime()-t._.lastActiveAt>=t.reconnectWindow){var n=s._.format(s.resources.reconnectWindowTimeout,new Date(t._.lastActiveAt),t.reconnectWindow);return t.log(n),e(t).triggerHandler(c.onError,[s._.error(n,"TimeoutException")]),t.stop(!1,!1),!1}return!0},reconnect:function(e,n){var r=s.transports[n];if(a.isConnectedOrReconnecting(e)&&!e._.reconnectTimeout){if(!a.verifyLastActive(e))return;e._.reconnectTimeout=t.setTimeout(function(){a.verifyLastActive(e)&&(r.stop(e),a.ensureReconnectingState(e)&&(e.log(n+" reconnecting."),r.start(e)))},e.reconnectDelay)}},handleParseFailure:function(t,n,r,o,i){var a=s._.transportError(s._.format(s.resources.parseFailed,n),t.transport,r,i);o&&o(a)?t.log("Failed to parse server response while attempting to connect."):(e(t).triggerHandler(c.onError,[a]),t.stop())},initHandler:function(e){return new i(e)},foreverFrame:{count:0,connections:{}}}}(window.jQuery,window),function(e,t){var n=e.signalR,r=e.signalR.events,o=e.signalR.changeState,i=n.transports._logic;n.transports.webSockets={name:"webSockets",supportsKeepAlive:function(){return!0},send:function(t,o){var a=i.stringifySend(t,o);try{t.socket.send(a)}catch(s){e(t).triggerHandler(r.onError,[n._.transportError(n.resources.webSocketsInvalidState,t.transport,s,t.socket),o])}},start:function(a,s,c){var l,u=!1,d=this,p=!s,f=e(a);t.WebSocket?a.socket||(l=a.webSocketServerUrl?a.webSocketServerUrl:a.wsProtocol+a.host,l+=i.getUrl(a,this.name,p),a.log("Connecting to websocket endpoint '"+l+"'."),a.socket=new t.WebSocket(l),a.socket.onopen=function(){u=!0,a.log("Websocket opened."),i.clearReconnectTimeout(a),!0===o(a,n.connectionState.reconnecting,n.connectionState.connected)&&f.triggerHandler(r.onReconnect)},a.socket.onclose=function(t){var o;this===a.socket&&(u&&void 0!==t.wasClean&&!1===t.wasClean?(o=n._.transportError(n.resources.webSocketClosed,a.transport,t),a.log("Unclean disconnect from websocket: "+(t.reason||"[no reason given]."))):a.log("Websocket closed."),c&&c(o)||(o&&e(a).triggerHandler(r.onError,[o]),d.reconnect(a)))},a.socket.onmessage=function(e){var t;try{t=a._parseResponse(e.data)}catch(n){return void i.handleParseFailure(a,e.data,n,c,e)}t&&i.processMessages(a,t,s)}):c()},reconnect:function(e){i.reconnect(e,this.name)},lostConnection:function(e){this.reconnect(e)},stop:function(e){i.clearReconnectTimeout(e),e.socket&&(e.log("Closing the Websocket."),e.socket.close(),e.socket=null)},abort:function(e,t){i.ajaxAbort(e,t)}}}(window.jQuery,window),function(e,t){var n=e.signalR,r=e.signalR.events,o=e.signalR.changeState,i=n.transports._logic,a=function(e){t.clearTimeout(e._.reconnectAttemptTimeoutHandle),delete e._.reconnectAttemptTimeoutHandle};n.transports.serverSentEvents={name:"serverSentEvents",supportsKeepAlive:function(){return!0},timeOut:3e3,start:function(s,c,l){var u,d=this,p=!1,f=e(s),h=!c;if(s.eventSource&&(s.log("The connection already has an event source. Stopping it."),s.stop()),t.EventSource){u=i.getUrl(s,this.name,h);try{s.log("Attempting to connect to SSE endpoint '"+u+"'."),s.eventSource=new t.EventSource(u,{withCredentials:s.withCredentials})}catch(g){return s.log("EventSource failed trying to connect with error "+g.Message+"."),void(l?l():(f.triggerHandler(r.onError,[n._.transportError(n.resources.eventSourceFailedToConnect,s.transport,g)]),h&&d.reconnect(s)))}h&&(s._.reconnectAttemptTimeoutHandle=t.setTimeout(function(){!1===p&&s.eventSource.readyState!==t.EventSource.OPEN&&d.reconnect(s)},d.timeOut)),s.eventSource.addEventListener("open",function(){s.log("EventSource connected."),a(s),i.clearReconnectTimeout(s),!1===p&&(p=!0,!0===o(s,n.connectionState.reconnecting,n.connectionState.connected)&&f.triggerHandler(r.onReconnect))},!1),s.eventSource.addEventListener("message",function(e){var t;if("initialized"!==e.data){try{t=s._parseResponse(e.data)}catch(n){return void i.handleParseFailure(s,e.data,n,l,e)}i.processMessages(s,t,c)}},!1),s.eventSource.addEventListener("error",function(e){var o=n._.transportError(n.resources.eventSourceError,s.transport,e);this===s.eventSource&&(l&&l(o)||(s.log("EventSource readyState: "+s.eventSource.readyState+"."),e.eventPhase===t.EventSource.CLOSED?(s.log("EventSource reconnecting due to the server connection ending."),d.reconnect(s)):(s.log("EventSource error."),f.triggerHandler(r.onError,[o]))))},!1)}else l&&(s.log("This browser doesn't support SSE."),l())},reconnect:function(e){i.reconnect(e,this.name)},lostConnection:function(e){this.reconnect(e)},send:function(e,t){i.ajaxSend(e,t)},stop:function(e){a(e),i.clearReconnectTimeout(e),e&&e.eventSource&&(e.log("EventSource calling close()."),e.eventSource.close(),e.eventSource=null,delete e.eventSource)},abort:function(e,t){i.ajaxAbort(e,t)}}}(window.jQuery,window),function(e,t){var n=e.signalR,r=e.signalR.events,o=e.signalR.changeState,i=n.transports._logic,a=function(){var e=t.document.createElement("iframe");return e.setAttribute("style","position:absolute;top:0;left:0;width:0;height:0;visibility:hidden;"),e},s=function(){var e=null,r=0;return{prevent:function(){n._.ieVersion<=8&&(0===r&&(e=t.setInterval(function(){var e=a();t.document.body.appendChild(e),t.document.body.removeChild(e),e=null},1e3)),r++)},cancel:function(){1===r&&t.clearInterval(e),r>0&&r--}}}();n.transports.foreverFrame={name:"foreverFrame",supportsKeepAlive:function(){return!0},iframeClearThreshold:50,start:function(e,n,r){if(e.accessToken)r&&(e.log("Forever Frame does not support connections that require a Bearer token to connect, such as the Azure SignalR Service."),r());else{var o,c=this,l=i.foreverFrame.count+=1,u=a(),d=function(){e.log("Forever frame iframe finished loading and is no longer receiving messages."),r&&r()||c.reconnect(e)};t.EventSource?r&&(e.log("Forever Frame is not supported by SignalR on browsers with SSE support."),r()):(u.setAttribute("data-signalr-connection-id",e.id),s.prevent(),o=i.getUrl(e,this.name),o+="&frameId="+l,t.document.documentElement.appendChild(u),e.log("Binding to iframe's load event."),u.addEventListener?u.addEventListener("load",d,!1):u.attachEvent&&u.attachEvent("onload",d),u.src=o,i.foreverFrame.connections[l]=e,e.frame=u,e.frameId=l,n&&(e.onSuccess=function(){e.log("Iframe transport started."),n()}))}},reconnect:function(e){var n=this;i.isConnectedOrReconnecting(e)&&i.verifyLastActive(e)&&t.setTimeout(function(){if(i.verifyLastActive(e)&&e.frame&&i.ensureReconnectingState(e)){var t=e.frame,r=i.getUrl(e,n.name,!0)+"&frameId="+e.frameId;e.log("Updating iframe src to '"+r+"'."),t.src=r}},e.reconnectDelay)},lostConnection:function(e){this.reconnect(e)},send:function(e,t){i.ajaxSend(e,t)},receive:function(t,r){var o,a,s;if(t.json!==t._originalJson&&(r=t._originalJson.stringify(r)),s=t._parseResponse(r),i.processMessages(t,s,t.onSuccess),t.state===e.signalR.connectionState.connected&&(t.frameMessageCount=(t.frameMessageCount||0)+1,t.frameMessageCount>n.transports.foreverFrame.iframeClearThreshold&&(t.frameMessageCount=0,(o=t.frame.contentWindow||t.frame.contentDocument)&&o.document&&o.document.body)))for(a=o.document.body;a.firstChild;)a.removeChild(a.firstChild)},stop:function(e){var n=null;if(s.cancel(),e.frame){if(e.frame.stop)e.frame.stop();else try{(n=e.frame.contentWindow||e.frame.contentDocument).document&&n.document.execCommand&&n.document.execCommand("Stop")}catch(a){e.log("Error occurred when stopping foreverFrame transport. Message = "+a.message+".")}e.frame.parentNode===t.document.documentElement&&t.document.documentElement.removeChild(e.frame),delete i.foreverFrame.connections[e.frameId],e.frame=null,e.frameId=null,delete e.frame,delete e.frameId,delete e.onSuccess,delete e.frameMessageCount,e.log("Stopping forever frame.")}},abort:function(e,t){i.ajaxAbort(e,t)},getConnection:function(e){return i.foreverFrame.connections[e]},started:function(t){!0===o(t,n.connectionState.reconnecting,n.connectionState.connected)&&e(t).triggerHandler(r.onReconnect)}}}(window.jQuery,window),function(e,t){var n=e.signalR,r=e.signalR.events,o=e.signalR.changeState,i=e.signalR.isDisconnecting,a=n.transports._logic;n.transports.longPolling={name:"longPolling",supportsKeepAlive:function(){return!1},reconnectDelay:3e3,start:function(s,c,l){var u=this,d=function(){d=e.noop,s.log("LongPolling connected."),c?c():s.log("WARNING! The client received an init message after reconnecting.")},p=function(e){return!!l(e)&&(s.log("LongPolling failed to connect."),!0)},f=s._,h=0,g=function(i){t.clearTimeout(f.reconnectTimeoutId),f.reconnectTimeoutId=null,!0===o(i,n.connectionState.reconnecting,n.connectionState.connected)&&(i.log("Raising the reconnect event"),e(i).triggerHandler(r.onReconnect))};s.pollXhr&&(s.log("Polling xhr requests already exists, aborting."),s.stop()),s.messageId=null,f.reconnectTimeoutId=null,f.pollTimeoutId=t.setTimeout(function(){!function o(c,l){var v=!(null===c.messageId),m=a.getUrl(c,u.name,v,!l,!0),y={};c.messageId&&(y.messageId=c.messageId),c.groupsToken&&(y.groupsToken=c.groupsToken),!0!==i(c)&&(s.log("Opening long polling request to '"+m+"'."),c.pollXhr=a.ajax(s,{xhrFields:{onprogress:function(){a.markLastMessage(s)}},url:m,type:"POST",contentType:n._.defaultContentType,data:y,timeout:s._.pollTimeout,headers:s.accessToken?{Authorization:"Bearer "+s.accessToken}:{},success:function(n){var r,l,u,v=0;s.log("Long poll complete."),h=0;try{r=s._parseResponse(n)}catch(y){return void a.handleParseFailure(c,n,y,p,c.pollXhr)}null!==f.reconnectTimeoutId&&g(c),r&&(l=a.maximizePersistentResponse(r)),a.processMessages(c,r,d),l&&"number"===e.type(l.LongPollDelay)&&(v=l.LongPollDelay),!0!==i(c)&&(!(u=l&&l.ShouldReconnect)||a.ensureReconnectingState(c))&&(v>0?f.pollTimeoutId=t.setTimeout(function(){o(c,u)},v):o(c,u))},error:function(i,l){var d=n._.transportError(n.resources.longPollFailed,s.transport,i,c.pollXhr);if(t.clearTimeout(f.reconnectTimeoutId),f.reconnectTimeoutId=null,"abort"!==l){if(!p(d)){if(h++,s.state!==n.connectionState.reconnecting&&(s.log("An error occurred using longPolling. Status = "+l+". Response = "+i.responseText+"."),e(c).triggerHandler(r.onError,[d])),(s.state===n.connectionState.connected||s.state===n.connectionState.reconnecting)&&!a.verifyLastActive(s))return;if(!a.ensureReconnectingState(c))return;f.pollTimeoutId=t.setTimeout(function(){o(c,!0)},u.reconnectDelay)}}else s.log("Aborted xhr request.")}}),v&&!0===l&&(f.reconnectTimeoutId=t.setTimeout(function(){g(c)},Math.min(1e3*(Math.pow(2,h)-1),36e5))))}(s)},250)},lostConnection:function(e){e.pollXhr&&e.pollXhr.abort("lostConnection")},send:function(e,t){a.ajaxSend(e,t)},stop:function(e){t.clearTimeout(e._.pollTimeoutId),t.clearTimeout(e._.reconnectTimeoutId),delete e._.pollTimeoutId,delete e._.reconnectTimeoutId,e.pollXhr&&(e.pollXhr.abort(),e.pollXhr=null,delete e.pollXhr)},abort:function(e,t){a.ajaxAbort(e,t)}}}(window.jQuery,window),function(e){function t(e){return e+l}function n(t){return e.isFunction(t)?null:"undefined"===e.type(t)?null:t}function r(e){for(var t in e)if(e.hasOwnProperty(t))return!0;return!1}function o(e,t){var n,o,i=e._.invocationCallbacks;for(o in r(i)&&e.log("Clearing hub invocation callbacks with error: "+t+"."),e._.invocationCallbackId=0,delete e._.invocationCallbacks,e._.invocationCallbacks={},i)(n=i[o]).method.call(n.scope,{E:t})}function i(t){return e.isFunction(t)&&t.toString().slice(0,256).indexOf("// Call the client hub method")>=0}function a(e,t){return new a.fn.init(e,t)}function s(t,n){var r={qs:null,logging:!1,useDefaultPath:!0};return e.extend(r,n),(!t||r.useDefaultPath)&&(t=(t||"")+"/signalr"),new s.fn.init(t,r)}var c=0,l=".hubProxy",u=e.signalR;(a.fn=a.prototype={init:function(e,t){this.state={},this.connection=e,this.hubName=t,this._={callbackMap:{}}},constructor:a,hasSubscriptions:function(){return r(this._.callbackMap)},on:function(n,r,o){var a,s,l,u,d=this,p=d._.callbackMap,f=!o&&i(r);for((o=o||r)._signalRGuid||(o._signalRGuid=c++),(a=p[n=n.toLowerCase()])||(p[n]=a=[]),l=0;l<a.length;l++)(a[l].guid===o._signalRGuid||f&&a[l].isFromOldGeneratedHubProxy)&&(s=a[l]);return s||p[n].push(s={guid:o._signalRGuid,eventHandlers:[],isFromOldGeneratedHubProxy:f}),s.eventHandlers.push(u=function(e,t){r.apply(d,t)}),e(d).bind(t(n),u),d},off:function(n,r,o){var a,s,c,l,u=this,d=u._.callbackMap,p=!o&&i(r);if(o=o||r,a=d[n=n.toLowerCase()])if(r){for(c=0;c<a.length;c++)(a[c].guid===o._signalRGuid||p&&a[c].isFromOldGeneratedHubProxy)&&(s=a[c]);if(s){for(l=0;l<s.eventHandlers.length;l++)e(u).unbind(t(n),s.eventHandlers[l]);a.splice(c,1),0===a.length&&delete d[n]}}else r||(e(u).unbind(t(n)),delete d[n]);return u},invoke:function(t){var r=this,o=r.connection,i=function(e,t,n){for(var r=e.length,o=[],i=0;i<r;i+=1)e.hasOwnProperty(i)&&(o[i]=t.call(void 0,e[i],i,e));return o}(e.makeArray(arguments).slice(1),n),a={H:r.hubName,M:t,A:i,I:o._.invocationCallbackId},s=e.Deferred();return o._.invocationCallbacks[o._.invocationCallbackId.toString()]={scope:r,method:function(n){var i,a=r._maximizeHubResponse(n);e.extend(r.state,a.State),a.Progress?s.notifyWith?s.notifyWith(r,[a.Progress.Data]):o._.progressjQueryVersionLogged||(o.log("A hub method invocation progress update was received but the version of jQuery in use ("+e.prototype.jquery+") does not support progress updates. Upgrade to jQuery 1.7+ to receive progress notifications."),o._.progressjQueryVersionLogged=!0):a.Error?(a.StackTrace&&o.log(a.Error+"\n"+a.StackTrace+"."),(i=u._.error(a.Error,a.IsHubException?"HubException":"Exception")).data=a.ErrorData,o.log(r.hubName+"."+t+" failed to execute. Error: "+i.message),s.rejectWith(r,[i])):(o.log("Invoked "+r.hubName+"."+t),s.resolveWith(r,[a.Result]))}},o._.invocationCallbackId+=1,e.isEmptyObject(r.state)||(a.S=r.state),o.log("Invoking "+r.hubName+"."+t),o.send(a),s.promise()},_maximizeHubResponse:function(e){return{State:e.S,Result:e.R,Progress:e.P?{Id:e.P.I,Data:e.P.D}:null,Id:e.I,IsHubException:e.H,Error:e.E,StackTrace:e.T,ErrorData:e.D}}}).init.prototype=a.fn,(s.fn=s.prototype=e.connection()).init=function(n,r){var i={qs:null,logging:!1,useDefaultPath:!0},a=this;e.extend(i,r),e.signalR.fn.init.call(a,n,i.qs,i.logging),a.proxies={},a._.invocationCallbackId=0,a._.invocationCallbacks={},a.received(function(n){var r,o,i,s,c,l;n&&(void 0!==n.P?(i=n.P.I.toString(),(s=a._.invocationCallbacks[i])&&s.method.call(s.scope,n)):void 0!==n.I?(i=n.I.toString(),(s=a._.invocationCallbacks[i])&&(a._.invocationCallbacks[i]=null,delete a._.invocationCallbacks[i],s.method.call(s.scope,n))):(r=this._maximizeClientHubInvocation(n),a.log("Triggering client hub event '"+r.Method+"' on hub '"+r.Hub+"'."),c=r.Hub.toLowerCase(),l=r.Method.toLowerCase(),e.extend((o=this.proxies[c]).state,r.State),e(o).triggerHandler(t(l),[r.Args])))}),a.error(function(e,t){var n,r;t&&(r=a._.invocationCallbacks[n=t.I])&&(a._.invocationCallbacks[n]=null,delete a._.invocationCallbacks[n],r.method.call(r.scope,{E:e}))}),a.reconnecting(function(){a.transport&&"webSockets"===a.transport.name&&o(a,"Connection started reconnecting before invocation result was received.")}),a.disconnected(function(){o(a,"Connection was disconnected before invocation result was received.")})},s.fn._maximizeClientHubInvocation=function(e){return{Hub:e.H,Method:e.M,Args:e.A,State:e.S}},s.fn._registerSubscribedHubs=function(){var t=this;t._subscribedToHubs||(t._subscribedToHubs=!0,t.starting(function(){var n=[];e.each(t.proxies,function(e){this.hasSubscriptions()&&(n.push({name:e}),t.log("Client subscribed to hub '"+e+"'."))}),0===n.length&&t.log("No hubs have been subscribed to. The client will not receive data from hubs. To fix, declare at least one client side function prior to connection start for each hub you wish to subscribe to."),t.data=t.json.stringify(n)}))},s.fn.createHubProxy=function(e){e=e.toLowerCase();var t=this.proxies[e];return t||(t=a(this,e),this.proxies[e]=t),this._registerSubscribedHubs(),t},s.fn.init.prototype=s.fn,e.hubConnection=s}(window.jQuery,window),window.jQuery.signalR.version="2.4.1";
|