UNPKG

homebridge-camera-ui

Version:
1 lines 209 kB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["camview"],{"0d2d":function(e,t,i){var n,s;!function(t,i){"use strict";"object"==typeof e.exports?e.exports=t.document?i(t):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return i(e)}:i(t)}("undefined"!=typeof window?window:this,(function(i,o){"use strict";function r(e){return null!=e&&e===e.window}var a=[],l=Object.getPrototypeOf,h=a.slice,c=a.flat?function(e){return a.flat.call(e)}:function(e){return a.concat.apply([],e)},u=a.push,d=a.indexOf,p={},f=p.toString,g=p.hasOwnProperty,m=g.toString,v=m.call(Object),y={},b=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},w=i.document,_={type:!0,src:!0,nonce:!0,noModule:!0};function x(e,t,i){var n,s,o=(i=i||w).createElement("script");if(o.text=e,t)for(n in _)(s=t[n]||t.getAttribute&&t.getAttribute(n))&&o.setAttribute(n,s);i.head.appendChild(o).parentNode.removeChild(o)}function C(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?p[f.call(e)]||"object":typeof e}var E="3.5.1",k=function(e,t){return new k.fn.init(e,t)};function N(e){var t=!!e&&"length"in e&&e.length,i=C(e);return!b(e)&&!r(e)&&("array"===i||0===t||"number"==typeof t&&0<t&&t-1 in e)}k.fn=k.prototype={jquery:E,constructor:k,length:0,toArray:function(){return h.call(this)},get:function(e){return null==e?h.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){return e=k.merge(this.constructor(),e),e.prevObject=this,e},each:function(e){return k.each(this,e)},map:function(e){return this.pushStack(k.map(this,(function(t,i){return e.call(t,i,t)})))},slice:function(){return this.pushStack(h.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(k.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(k.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length;e=+e+(e<0?t:0);return this.pushStack(0<=e&&e<t?[this[e]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:a.sort,splice:a.splice},k.extend=k.fn.extend=function(){var e,t,i,n,s,o=arguments[0]||{},r=1,a=arguments.length,l=!1;for("boolean"==typeof o&&(l=o,o=arguments[r]||{},r++),"object"==typeof o||b(o)||(o={}),r===a&&(o=this,r--);r<a;r++)if(null!=(e=arguments[r]))for(t in e)i=e[t],"__proto__"!==t&&o!==i&&(l&&i&&(k.isPlainObject(i)||(n=Array.isArray(i)))?(s=o[t],s=n&&!Array.isArray(s)?[]:n||k.isPlainObject(s)?s:{},n=!1,o[t]=k.extend(l,s,i)):void 0!==i&&(o[t]=i));return o},k.extend({expando:"jQuery"+(E+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){return!(!e||"[object Object]"!==f.call(e))&&(!(e=l(e))||"function"==typeof(e=g.call(e,"constructor")&&e.constructor)&&m.call(e)===v)},isEmptyObject:function(e){for(var t in e)return!1;return!0},globalEval:function(e,t,i){x(e,{nonce:t&&t.nonce},i)},each:function(e,t){var i,n=0;if(N(e))for(i=e.length;n<i&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},makeArray:function(e,t){return t=t||[],null!=e&&(N(Object(e))?k.merge(t,"string"==typeof e?[e]:e):u.call(t,e)),t},inArray:function(e,t,i){return null==t?-1:d.call(t,e,i)},merge:function(e,t){for(var i=+t.length,n=0,s=e.length;n<i;n++)e[s++]=t[n];return e.length=s,e},grep:function(e,t,i){for(var n=[],s=0,o=e.length,r=!i;s<o;s++)!t(e[s],s)!=r&&n.push(e[s]);return n},map:function(e,t,i){var n,s,o=0,r=[];if(N(e))for(n=e.length;o<n;o++)null!=(s=t(e[o],o,i))&&r.push(s);else for(o in e)null!=(s=t(e[o],o,i))&&r.push(s);return c(r)},guid:1,support:y}),"function"==typeof Symbol&&(k.fn[Symbol.iterator]=a[Symbol.iterator]),k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){p["[object "+t+"]"]=t.toLowerCase()}));var S=function(e){function t(e,t){return e="0x"+e.slice(1)-65536,t||(e<0?String.fromCharCode(65536+e):String.fromCharCode(e>>10|55296,1023&e|56320))}function i(){f()}var n,s,o,r,a,l,h,c,u,d,p,f,g,m,v,y,b,w,_,x="sizzle"+ +new Date,C=e.document,E=0,k=0,N=le(),S=le(),T=le(),H=le(),P=function(e,t){return e===t&&(p=!0),0},A={}.hasOwnProperty,z=[],D=z.pop,R=z.push,M=z.push,L=z.slice,O=function(e,t){for(var i=0,n=e.length;i<n;i++)if(e[i]===t)return i;return-1},j="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",I="[\\x20\\t\\r\\n\\f]",W="(?:\\\\[\\da-fA-F]{1,6}"+I+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",U="\\["+I+"*("+W+")(?:"+I+"*([*^$|!~]?=)"+I+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+W+"))|)"+I+"*\\]",q=":("+W+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+U+")*)|.*)\\)|)",F=new RegExp(I+"+","g"),B=new RegExp("^"+I+"+|((?:^|[^\\\\])(?:\\\\.)*)"+I+"+$","g"),$=new RegExp("^"+I+"*,"+I+"*"),G=new RegExp("^"+I+"*([>+~]|"+I+")"+I+"*"),X=new RegExp(I+"|>"),Y=new RegExp(q),V=new RegExp("^"+W+"$"),K={ID:new RegExp("^#("+W+")"),CLASS:new RegExp("^\\.("+W+")"),TAG:new RegExp("^("+W+"|[*])"),ATTR:new RegExp("^"+U),PSEUDO:new RegExp("^"+q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+I+"*(even|odd|(([+-]|)(\\d*)n|)"+I+"*(?:([+-]|)"+I+"*(\\d+)|))"+I+"*\\)|)","i"),bool:new RegExp("^(?:"+j+")$","i"),needsContext:new RegExp("^"+I+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+I+"*((?:-\\d)?\\d*)"+I+"*\\)|)(?=[^-]|$)","i")},J=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,ee=/^[^{]+\{\s*\[native \w/,te=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ie=/[+~]/,ne=new RegExp("\\\\[\\da-fA-F]{1,6}"+I+"?|\\\\([^\\r\\n\\f])","g"),se=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=ye((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{M.apply(z=L.call(C.childNodes),C.childNodes),z[C.childNodes.length].nodeType}catch(n){M={apply:z.length?function(e,t){R.apply(e,L.call(t))}:function(e,t){for(var i=e.length,n=0;e[i++]=t[n++];);e.length=i-1}}}function ae(e,t,i,n){var o,r,a,h,u,d,p=t&&t.ownerDocument,m=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==m&&9!==m&&11!==m)return i;if(!n&&(f(t),t=t||g,v)){if(11!==m&&(h=te.exec(e)))if(d=h[1]){if(9===m){if(!(r=t.getElementById(d)))return i;if(r.id===d)return i.push(r),i}else if(p&&(r=p.getElementById(d))&&_(t,r)&&r.id===d)return i.push(r),i}else{if(h[2])return M.apply(i,t.getElementsByTagName(e)),i;if((d=h[3])&&s.getElementsByClassName&&t.getElementsByClassName)return M.apply(i,t.getElementsByClassName(d)),i}if(s.qsa&&!H[e+" "]&&(!y||!y.test(e))&&(1!==m||"object"!==t.nodeName.toLowerCase())){if(d=e,p=t,1===m&&(X.test(e)||G.test(e))){for((p=ie.test(e)&&ge(t.parentNode)||t)===t&&s.scope||((a=t.getAttribute("id"))?a=a.replace(se,oe):t.setAttribute("id",a=x)),o=(u=l(e)).length;o--;)u[o]=(a?"#"+a:":scope")+" "+ve(u[o]);d=u.join(",")}try{return M.apply(i,p.querySelectorAll(d)),i}catch(t){H(e,!0)}finally{a===x&&t.removeAttribute("id")}}}return c(e.replace(B,"$1"),t,i,n)}function le(){var e=[];function t(i,n){return e.push(i+" ")>o.cacheLength&&delete t[e.shift()],t[i+" "]=n}return t}function he(e){return e[x]=!0,e}function ce(e){var t=g.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ue(e,t){for(var i=e.split("|"),n=i.length;n--;)o.attrHandle[i[n]]=t}function de(e,t){var i=t&&e,n=i&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===t)return-1;return e?1:-1}function pe(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&re(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function fe(e){return he((function(t){return t=+t,he((function(i,n){for(var s,o=e([],i.length,t),r=o.length;r--;)i[s=o[r]]&&(i[s]=!(n[s]=i[s]))}))}))}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(n in s=ae.support={},a=ae.isXML=function(e){var t=e.namespaceURI;e=(e.ownerDocument||e).documentElement;return!J.test(t||e&&e.nodeName||"HTML")},f=ae.setDocument=function(e){var n;e=e?e.ownerDocument||e:C;return e!=g&&9===e.nodeType&&e.documentElement&&(m=(g=e).documentElement,v=!a(g),C!=g&&(n=g.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",i,!1):n.attachEvent&&n.attachEvent("onunload",i)),s.scope=ce((function(e){return m.appendChild(e).appendChild(g.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),s.attributes=ce((function(e){return e.className="i",!e.getAttribute("className")})),s.getElementsByTagName=ce((function(e){return e.appendChild(g.createComment("")),!e.getElementsByTagName("*").length})),s.getElementsByClassName=ee.test(g.getElementsByClassName),s.getById=ce((function(e){return m.appendChild(e).id=x,!g.getElementsByName||!g.getElementsByName(x).length})),s.getById?(o.filter.ID=function(e){var i=e.replace(ne,t);return function(e){return e.getAttribute("id")===i}},o.find.ID=function(e,t){if(void 0!==t.getElementById&&v)return e=t.getElementById(e),e?[e]:[]}):(o.filter.ID=function(e){var i=e.replace(ne,t);return function(e){return e=void 0!==e.getAttributeNode&&e.getAttributeNode("id"),e&&e.value===i}},o.find.ID=function(e,t){if(void 0!==t.getElementById&&v){var i,n,s,o=t.getElementById(e);if(o){if((i=o.getAttributeNode("id"))&&i.value===e)return[o];for(s=t.getElementsByName(e),n=0;o=s[n++];)if((i=o.getAttributeNode("id"))&&i.value===e)return[o]}return[]}}),o.find.TAG=s.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):s.qsa?t.querySelectorAll(e):void 0}:function(e,t){var i,n=[],s=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;i=o[s++];)1===i.nodeType&&n.push(i);return n},o.find.CLASS=s.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&v)return t.getElementsByClassName(e)},b=[],y=[],(s.qsa=ee.test(g.querySelectorAll))&&(ce((function(e){var t;m.appendChild(e).innerHTML="<a id='"+x+"'></a><select id='"+x+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+I+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+I+"*(?:value|"+j+")"),e.querySelectorAll("[id~="+x+"-]").length||y.push("~="),(t=g.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||y.push("\\["+I+"*name"+I+"*="+I+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+x+"+*").length||y.push(".#.+[+~]"),e.querySelectorAll("\\\f"),y.push("[\\r\\n\\f]")})),ce((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=g.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+I+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),m.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")}))),(s.matchesSelector=ee.test(w=m.matches||m.webkitMatchesSelector||m.mozMatchesSelector||m.oMatchesSelector||m.msMatchesSelector))&&ce((function(e){s.disconnectedMatch=w.call(e,"*"),w.call(e,"[s!='']:x"),b.push("!=",q)})),y=y.length&&new RegExp(y.join("|")),b=b.length&&new RegExp(b.join("|")),n=ee.test(m.compareDocumentPosition),_=n||ee.test(m.contains)?function(e,t){var i=9===e.nodeType?e.documentElement:e;t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(i.contains?i.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},P=n?function(e,t){if(e===t)return p=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!s.sortDetached&&t.compareDocumentPosition(e)===i?e==g||e.ownerDocument==C&&_(C,e)?-1:t==g||t.ownerDocument==C&&_(C,t)?1:d?O(d,e)-O(d,t):0:4&i?-1:1)}:function(e,t){if(e===t)return p=!0,0;var i,n=0,s=e.parentNode,o=t.parentNode,r=[e],a=[t];if(!s||!o)return e==g?-1:t==g?1:s?-1:o?1:d?O(d,e)-O(d,t):0;if(s===o)return de(e,t);for(i=e;i=i.parentNode;)r.unshift(i);for(i=t;i=i.parentNode;)a.unshift(i);for(;r[n]===a[n];)n++;return n?de(r[n],a[n]):r[n]==C?-1:a[n]==C?1:0}),g},ae.matches=function(e,t){return ae(e,null,null,t)},ae.matchesSelector=function(e,t){if(f(e),s.matchesSelector&&v&&!H[t+" "]&&(!b||!b.test(t))&&(!y||!y.test(t)))try{var i=w.call(e,t);if(i||s.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){H(t,!0)}return 0<ae(t,g,null,[e]).length},ae.contains=function(e,t){return(e.ownerDocument||e)!=g&&f(e),_(e,t)},ae.attr=function(e,t){(e.ownerDocument||e)!=g&&f(e);var i=o.attrHandle[t.toLowerCase()];i=i&&A.call(o.attrHandle,t.toLowerCase())?i(e,t,!v):void 0;return void 0!==i?i:s.attributes||!v?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},ae.escape=function(e){return(e+"").replace(se,oe)},ae.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ae.uniqueSort=function(e){var t,i=[],n=0,o=0;if(p=!s.detectDuplicates,d=!s.sortStable&&e.slice(0),e.sort(P),p){for(;t=e[o++];)t===e[o]&&(n=i.push(o));for(;n--;)e.splice(i[n],1)}return d=null,e},r=ae.getText=function(e){var t,i="",n=0,s=e.nodeType;if(s){if(1===s||9===s||11===s){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)i+=r(e)}else if(3===s||4===s)return e.nodeValue}else for(;t=e[n++];)i+=r(t);return i},(o=ae.selectors={cacheLength:50,createPseudo:he,match:K,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(ne,t),e[3]=(e[3]||e[4]||e[5]||"").replace(ne,t),"~="===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]||ae.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]&&ae.error(e[0]),e},PSEUDO:function(e){var t,i=!e[6]&&e[2];return K.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":i&&Y.test(i)&&(t=l(i,!0))&&(t=i.indexOf(")",i.length-t)-i.length)&&(e[0]=e[0].slice(0,t),e[2]=i.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var i=e.replace(ne,t).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===i}},CLASS:function(e){var t=N[e+" "];return t||(t=new RegExp("(^|"+I+")"+e+"("+I+"|$)"))&&N(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,i){return function(n){return n=ae.attr(n,e),null==n?"!="===t:!t||(n+="","="===t?n===i:"!="===t?n!==i:"^="===t?i&&0===n.indexOf(i):"*="===t?i&&-1<n.indexOf(i):"$="===t?i&&n.slice(-i.length)===i:"~="===t?-1<(" "+n.replace(F," ")+" ").indexOf(i):"|="===t&&(n===i||n.slice(0,i.length+1)===i+"-"))}},CHILD:function(e,t,i,n,s){var o="nth"!==e.slice(0,3),r="last"!==e.slice(-4),a="of-type"===t;return 1===n&&0===s?function(e){return!!e.parentNode}:function(t,i,l){var h,c,u,d,p,f,g=o!=r?"nextSibling":"previousSibling",m=t.parentNode,v=a&&t.nodeName.toLowerCase(),y=!l&&!a,b=!1;if(m){if(o){for(;g;){for(d=t;d=d[g];)if(a?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;f=g="only"===e&&!f&&"nextSibling"}return!0}if(f=[r?m.firstChild:m.lastChild],r&&y){for(b=(p=(h=(c=(u=(d=m)[x]||(d[x]={}))[d.uniqueID]||(u[d.uniqueID]={}))[e]||[])[0]===E&&h[1])&&h[2],d=p&&m.childNodes[p];d=++p&&d&&d[g]||(b=p=0)||f.pop();)if(1===d.nodeType&&++b&&d===t){c[e]=[E,p,b];break}}else if(!1===(b=y?p=(h=(c=(u=(d=t)[x]||(d[x]={}))[d.uniqueID]||(u[d.uniqueID]={}))[e]||[])[0]===E&&h[1]:b))for(;(d=++p&&d&&d[g]||(b=p=0)||f.pop())&&((a?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++b||(y&&((c=(u=d[x]||(d[x]={}))[d.uniqueID]||(u[d.uniqueID]={}))[e]=[E,b]),d!==t)););return(b-=s)===n||b%n==0&&0<=b/n}}},PSEUDO:function(e,t){var i,n=o.pseudos[e]||o.setFilters[e.toLowerCase()]||ae.error("unsupported pseudo: "+e);return n[x]?n(t):1<n.length?(i=[e,e,"",t],o.setFilters.hasOwnProperty(e.toLowerCase())?he((function(e,i){for(var s,o=n(e,t),r=o.length;r--;)e[s=O(e,o[r])]=!(i[s]=o[r])})):function(e){return n(e,0,i)}):n}},pseudos:{not:he((function(e){var t=[],i=[],n=h(e.replace(B,"$1"));return n[x]?he((function(e,t,i,s){for(var o,r=n(e,null,s,[]),a=e.length;a--;)(o=r[a])&&(e[a]=!(t[a]=o))})):function(e,s,o){return t[0]=e,n(t,null,o,i),t[0]=null,!i.pop()}})),has:he((function(e){return function(t){return 0<ae(e,t).length}})),contains:he((function(e){return e=e.replace(ne,t),function(t){return-1<(t.textContent||r(t)).indexOf(e)}})),lang:he((function(e){return V.test(e||"")||ae.error("unsupported lang: "+e),e=e.replace(ne,t).toLowerCase(),function(t){var i;do{if(i=v?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(i=i.toLowerCase())===e||0===i.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var i=e.location&&e.location.hash;return i&&i.slice(1)===t.id},root:function(e){return e===m},focus:function(e){return e===g.activeElement&&(!g.hasFocus||g.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:pe(!1),disabled:pe(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!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!o.pseudos.empty(e)},header:function(e){return Z.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(e=e.getAttribute("type"))||"text"===e.toLowerCase())},first:fe((function(){return[0]})),last:fe((function(e,t){return[t-1]})),eq:fe((function(e,t,i){return[i<0?i+t:i]})),even:fe((function(e,t){for(var i=0;i<t;i+=2)e.push(i);return e})),odd:fe((function(e,t){for(var i=1;i<t;i+=2)e.push(i);return e})),lt:fe((function(e,t,i){for(var n=i<0?i+t:t<i?t:i;0<=--n;)e.push(n);return e})),gt:fe((function(e,t,i){for(var n=i<0?i+t:i;++n<t;)e.push(n);return e}))}}).pseudos.nth=o.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})o.pseudos[n]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(n);for(n in{submit:!0,reset:!0})o.pseudos[n]=function(e){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===e}}(n);function me(){}function ve(e){for(var t=0,i=e.length,n="";t<i;t++)n+=e[t].value;return n}function ye(e,t,i){var n=t.dir,s=t.next,o=s||n,r=i&&"parentNode"===o,a=k++;return t.first?function(t,i,s){for(;t=t[n];)if(1===t.nodeType||r)return e(t,i,s);return!1}:function(t,i,l){var h,c,u=[E,a];if(l){for(;t=t[n];)if((1===t.nodeType||r)&&e(t,i,l))return!0}else for(;t=t[n];)if(1===t.nodeType||r)if(h=(c=t[x]||(t[x]={}))[t.uniqueID]||(c[t.uniqueID]={}),s&&s===t.nodeName.toLowerCase())t=t[n]||t;else{if((c=h[o])&&c[0]===E&&c[1]===a)return u[2]=c[2];if((h[o]=u)[2]=e(t,i,l))return!0}return!1}}function be(e){return 1<e.length?function(t,i,n){for(var s=e.length;s--;)if(!e[s](t,i,n))return!1;return!0}:e[0]}function we(e,t,i,n,s){for(var o,r=[],a=0,l=e.length,h=null!=t;a<l;a++)(o=e[a])&&(i&&!i(o,n,s)||(r.push(o),h&&t.push(a)));return r}function _e(e,t,i,n,s,o){return n&&!n[x]&&(n=_e(n)),s&&!s[x]&&(s=_e(s,o)),he((function(o,r,a,l){var h,c,u,d=[],p=[],f=r.length,g=o||function(e,t,i){for(var n=0,s=t.length;n<s;n++)ae(e,t[n],i);return i}(t||"*",a.nodeType?[a]:a,[]),m=!e||!o&&t?g:we(g,d,e,a,l),v=i?s||(o?e:f||n)?[]:r:m;if(i&&i(m,v,a,l),n)for(h=we(v,p),n(h,[],a,l),c=h.length;c--;)(u=h[c])&&(v[p[c]]=!(m[p[c]]=u));if(o){if(s||e){if(s){for(h=[],c=v.length;c--;)(u=v[c])&&h.push(m[c]=u);s(null,v=[],h,l)}for(c=v.length;c--;)(u=v[c])&&-1<(h=s?O(o,u):d[c])&&(o[h]=!(r[h]=u))}}else v=we(v===r?v.splice(f,v.length):v),s?s(null,r,v,l):M.apply(r,v)}))}function xe(e,t){function i(i,r,a,l,h){var c,d,p,m=0,y="0",b=i&&[],w=[],_=u,x=i||s&&o.find.TAG("*",h),C=E+=null==_?1:Math.random()||.1,k=x.length;for(h&&(u=r==g||r||h);y!==k&&null!=(c=x[y]);y++){if(s&&c){for(d=0,r||c.ownerDocument==g||(f(c),a=!v);p=e[d++];)if(p(c,r||g,a)){l.push(c);break}h&&(E=C)}n&&((c=!p&&c)&&m--,i&&b.push(c))}if(m+=y,n&&y!==m){for(d=0;p=t[d++];)p(b,w,r,a);if(i){if(0<m)for(;y--;)b[y]||w[y]||(w[y]=D.call(l));w=we(w)}M.apply(l,w),h&&!i&&0<w.length&&1<m+t.length&&ae.uniqueSort(l)}return h&&(E=C,u=_),b}var n=0<t.length,s=0<e.length;return n?he(i):i}return me.prototype=o.filters=o.pseudos,o.setFilters=new me,l=ae.tokenize=function(e,t){var i,n,s,r,a,l,h,c=S[e+" "];if(c)return t?0:c.slice(0);for(a=e,l=[],h=o.preFilter;a;){for(r in i&&!(n=$.exec(a))||(n&&(a=a.slice(n[0].length)||a),l.push(s=[])),i=!1,(n=G.exec(a))&&(i=n.shift(),s.push({value:i,type:n[0].replace(B," ")}),a=a.slice(i.length)),o.filter)!(n=K[r].exec(a))||h[r]&&!(n=h[r](n))||(i=n.shift(),s.push({value:i,type:r,matches:n}),a=a.slice(i.length));if(!i)break}return t?a.length:a?ae.error(e):S(e,l).slice(0)},h=ae.compile=function(e,t){var i,n=[],s=[],r=T[e+" "];if(!r){for(i=(t=t||l(e)).length;i--;)((r=function e(t){for(var i,n,s,r=t.length,a=o.relative[t[0].type],l=a||o.relative[" "],h=a?1:0,c=ye((function(e){return e===i}),l,!0),d=ye((function(e){return-1<O(i,e)}),l,!0),p=[function(e,t,n){return n=!a&&(n||t!==u)||((i=t).nodeType?c:d)(e,t,n),i=null,n}];h<r;h++)if(n=o.relative[t[h].type])p=[ye(be(p),n)];else{if((n=o.filter[t[h].type].apply(null,t[h].matches))[x]){for(s=++h;s<r&&!o.relative[t[s].type];s++);return _e(1<h&&be(p),1<h&&ve(t.slice(0,h-1).concat({value:" "===t[h-2].type?"*":""})).replace(B,"$1"),n,h<s&&e(t.slice(h,s)),s<r&&e(t=t.slice(s)),s<r&&ve(t))}p.push(n)}return be(p)}(t[i]))[x]?n:s).push(r);(r=T(e,xe(s,n))).selector=e}return r},c=ae.select=function(e,i,n,s){var r,a,c,u,d,p="function"==typeof e&&e,f=!s&&l(e=p.selector||e);if(n=n||[],1===f.length){if(2<(a=f[0]=f[0].slice(0)).length&&"ID"===(c=a[0]).type&&9===i.nodeType&&v&&o.relative[a[1].type]){if(!(i=(o.find.ID(c.matches[0].replace(ne,t),i)||[])[0]))return n;p&&(i=i.parentNode),e=e.slice(a.shift().value.length)}for(r=K.needsContext.test(e)?0:a.length;r--&&(c=a[r],!o.relative[u=c.type]);)if((d=o.find[u])&&(s=d(c.matches[0].replace(ne,t),ie.test(a[0].type)&&ge(i.parentNode)||i))){if(a.splice(r,1),!(e=s.length&&ve(a)))return M.apply(n,s),n;break}}return(p||h(e,f))(s,i,!v,n,!i||ie.test(e)&&ge(i.parentNode)||i),n},s.sortStable=x.split("").sort(P).join("")===x,s.detectDuplicates=!!p,f(),s.sortDetached=ce((function(e){return 1&e.compareDocumentPosition(g.createElement("fieldset"))})),ce((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||ue("type|href|height|width",(function(e,t,i){if(!i)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),s.attributes&&ce((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||ue("value",(function(e,t,i){if(!i&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ce((function(e){return null==e.getAttribute("disabled")}))||ue(j,(function(e,t,i){if(!i)return!0===e[t]?t.toLowerCase():(t=e.getAttributeNode(t))&&t.specified?t.value:null})),ae}(i);function T(e,t,i){for(var n=[],s=void 0!==i;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(s&&k(e).is(i))break;n.push(e)}return n}function H(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i}k.find=S,k.expr=S.selectors,k.expr[":"]=k.expr.pseudos,k.uniqueSort=k.unique=S.uniqueSort,k.text=S.getText,k.isXMLDoc=S.isXML,k.contains=S.contains,k.escapeSelector=S.escape;var P=k.expr.match.needsContext;function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var z=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(e,t,i){return b(t)?k.grep(e,(function(e,n){return!!t.call(e,n,e)!==i})):t.nodeType?k.grep(e,(function(e){return e===t!==i})):"string"!=typeof t?k.grep(e,(function(e){return-1<d.call(t,e)!==i})):k.filter(t,e,i)}k.filter=function(e,t,i){var n=t[0];return i&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?k.find.matchesSelector(n,e)?[n]:[]:k.find.matches(e,k.grep(t,(function(e){return 1===e.nodeType})))},k.fn.extend({find:function(e){var t,i,n=this.length,s=this;if("string"!=typeof e)return this.pushStack(k(e).filter((function(){for(t=0;t<n;t++)if(k.contains(s[t],this))return!0})));for(i=this.pushStack([]),t=0;t<n;t++)k.find(e,s[t],i);return 1<n?k.uniqueSort(i):i},filter:function(e){return this.pushStack(D(this,e||[],!1))},not:function(e){return this.pushStack(D(this,e||[],!0))},is:function(e){return!!D(this,"string"==typeof e&&P.test(e)?k(e):e||[],!1).length}});var R=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,i){if(!e)return this;if(i=i||M,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):b(e)?void 0!==i.ready?i.ready(e):e(k):k.makeArray(e,this);if(!(n="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:R.exec(e))||!n[1]&&t)return(!t||t.jquery?t||i:this.constructor(t)).find(e);if(n[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:w,!0)),z.test(n[1])&&k.isPlainObject(t))for(var n in t)b(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(e=w.getElementById(n[2]))&&(this[0]=e,this.length=1),this}).prototype=k.fn;var M=k(w),L=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function j(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}k.fn.extend({has:function(e){var t=k(e,this),i=t.length;return this.filter((function(){for(var e=0;e<i;e++)if(k.contains(this,t[e]))return!0}))},closest:function(e,t){var i,n=0,s=this.length,o=[],r="string"!=typeof e&&k(e);if(!P.test(e))for(;n<s;n++)for(i=this[n];i&&i!==t;i=i.parentNode)if(i.nodeType<11&&(r?-1<r.index(i):1===i.nodeType&&k.find.matchesSelector(i,e))){o.push(i);break}return this.pushStack(1<o.length?k.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?d.call(k(e),this[0]):d.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(k.uniqueSort(k.merge(this.get(),k(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),k.each({parent:function(e){return e=e.parentNode,e&&11!==e.nodeType?e:null},parents:function(e){return T(e,"parentNode")},parentsUntil:function(e,t,i){return T(e,"parentNode",i)},next:function(e){return j(e,"nextSibling")},prev:function(e){return j(e,"previousSibling")},nextAll:function(e){return T(e,"nextSibling")},prevAll:function(e){return T(e,"previousSibling")},nextUntil:function(e,t,i){return T(e,"nextSibling",i)},prevUntil:function(e,t,i){return T(e,"previousSibling",i)},siblings:function(e){return H((e.parentNode||{}).firstChild,e)},children:function(e){return H(e.firstChild)},contents:function(e){return null!=e.contentDocument&&l(e.contentDocument)?e.contentDocument:(A(e,"template")&&(e=e.content||e),k.merge([],e.childNodes))}},(function(e,t){k.fn[e]=function(i,n){var s=k.map(this,t,i);return(n="Until"!==e.slice(-5)?i:n)&&"string"==typeof n&&(s=k.filter(n,s)),1<this.length&&(O[e]||k.uniqueSort(s),L.test(e)&&s.reverse()),this.pushStack(s)}}));var I=/[^\x20\t\r\n\f]+/g;function W(e){return e}function U(e){throw e}function q(e,t,i,n){var s;try{e&&b(s=e.promise)?s.call(e).done(t).fail(i):e&&b(s=e.then)?s.call(e,t,i):t.apply(void 0,[e].slice(n))}catch(e){i.apply(void 0,[e])}}k.Callbacks=function(e){var t,i;function n(){for(a=a||e.once,r=s=!0;h.length;c=-1)for(o=h.shift();++c<l.length;)!1===l[c].apply(o[0],o[1])&&e.stopOnFalse&&(c=l.length,o=!1);e.memory||(o=!1),s=!1,a&&(l=o?[]:"")}e="string"==typeof e?(t=e,i={},k.each(t.match(I)||[],(function(e,t){i[t]=!0})),i):k.extend({},e);var s,o,r,a,l=[],h=[],c=-1,u={add:function(){return l&&(o&&!s&&(c=l.length-1,h.push(o)),function t(i){k.each(i,(function(i,n){b(n)?e.unique&&u.has(n)||l.push(n):n&&n.length&&"string"!==C(n)&&t(n)}))}(arguments),o&&!s&&n()),this},remove:function(){return k.each(arguments,(function(e,t){for(var i;-1<(i=k.inArray(t,l,i));)l.splice(i,1),i<=c&&c--})),this},has:function(e){return e?-1<k.inArray(e,l):0<l.length},empty:function(){return l=l&&[],this},disable:function(){return a=h=[],l=o="",this},disabled:function(){return!l},lock:function(){return a=h=[],o||s||(l=o=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],h.push(t),s||n()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},k.extend({Deferred:function(e){var t=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],n="pending",s={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return s.then(null,e)},pipe:function(){var e=arguments;return k.Deferred((function(i){k.each(t,(function(t,n){var s=b(e[n[4]])&&e[n[4]];o[n[1]]((function(){var e=s&&s.apply(this,arguments);e&&b(e.promise)?e.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[n[0]+"With"](this,s?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,s){var o=0;function r(e,t,n,s){return function(){function a(){var i,a;if(!(e<o)){if((i=n.apply(l,h))===t.promise())throw new TypeError("Thenable self-resolution");a=i&&("object"==typeof i||"function"==typeof i)&&i.then,b(a)?s?a.call(i,r(o,t,W,s),r(o,t,U,s)):(o++,a.call(i,r(o,t,W,s),r(o,t,U,s),r(o,t,W,t.notifyWith))):(n!==W&&(l=void 0,h=[i]),(s||t.resolveWith)(l,h))}}var l=this,h=arguments,c=s?a:function(){try{a()}catch(a){k.Deferred.exceptionHook&&k.Deferred.exceptionHook(a,c.stackTrace),o<=e+1&&(n!==U&&(l=void 0,h=[a]),t.rejectWith(l,h))}};e?c():(k.Deferred.getStackHook&&(c.stackTrace=k.Deferred.getStackHook()),i.setTimeout(c))}}return k.Deferred((function(i){t[0][3].add(r(0,i,b(s)?s:W,i.notifyWith)),t[1][3].add(r(0,i,b(e)?e:W)),t[2][3].add(r(0,i,b(n)?n:U))})).promise()},promise:function(e){return null!=e?k.extend(e,s):s}},o={};return k.each(t,(function(e,i){var r=i[2],a=i[5];s[i[1]]=r.add,a&&r.add((function(){n=a}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),r.add(i[3].fire),o[i[0]]=function(){return o[i[0]+"With"](this===o?void 0:this,arguments),this},o[i[0]+"With"]=r.fireWith})),s.promise(o),e&&e.call(o,o),o},when:function(e){function t(e){return function(t){s[e]=this,o[e]=1<arguments.length?h.call(arguments):t,--i||r.resolveWith(s,o)}}var i=arguments.length,n=i,s=Array(n),o=h.call(arguments),r=k.Deferred();if(i<=1&&(q(e,r.done(t(n)).resolve,r.reject,!i),"pending"===r.state()||b(o[n]&&o[n].then)))return r.then();for(;n--;)q(o[n],t(n),r.reject);return r.promise()}});var F=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(e,t){i.console&&i.console.warn&&e&&F.test(e.name)&&i.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},k.readyException=function(e){i.setTimeout((function(){throw e}))};var B=k.Deferred();function $(){w.removeEventListener("DOMContentLoaded",$),i.removeEventListener("load",$),k.ready()}k.fn.ready=function(e){return B.then(e).catch((function(e){k.readyException(e)})),this},k.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--k.readyWait:k.isReady)||(k.isReady=!0)!==e&&0<--k.readyWait||B.resolveWith(w,[k])}}),k.ready.then=B.then,"complete"===w.readyState||"loading"!==w.readyState&&!w.documentElement.doScroll?i.setTimeout(k.ready):(w.addEventListener("DOMContentLoaded",$),i.addEventListener("load",$));var G=function(e,t,i,n,s,o,r){var a=0,l=e.length,h=null==i;if("object"===C(i))for(a in s=!0,i)G(e,t,a,i[a],!0,o,r);else if(void 0!==n&&(s=!0,b(n)||(r=!0),t=h?r?(t.call(e,n),null):(h=t,function(e,t,i){return h.call(k(e),i)}):t))for(;a<l;a++)t(e[a],i,r?n:n.call(e[a],a,t(e[a],i)));return s?e:h?t.call(e):l?t(e[0],i):o},X=/^-ms-/,Y=/-([a-z])/g;function V(e,t){return t.toUpperCase()}function K(e){return e.replace(X,"ms-").replace(Y,V)}function J(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function Q(){this.expando=k.expando+Q.uid++}Q.uid=1,Q.prototype={cache:function(e){var t=e[this.expando];return t||(t={},J(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,i){var n,s=this.cache(e);if("string"==typeof t)s[K(t)]=i;else for(n in t)s[K(n)]=t[n];return s},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][K(t)]},access:function(e,t,i){return void 0===t||t&&"string"==typeof t&&void 0===i?this.get(e,t):(this.set(e,t,i),void 0!==i?i:t)},remove:function(e,t){var i,n=e[this.expando];if(void 0!==n){if(void 0!==t){i=(t=Array.isArray(t)?t.map(K):(t=K(t))in n?[t]:t.match(I)||[]).length;for(;i--;)delete n[t[i]]}void 0!==t&&!k.isEmptyObject(n)||(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){return e=e[this.expando],void 0!==e&&!k.isEmptyObject(e)}};var Z=new Q,ee=new Q,te=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ie=/[A-Z]/g;function ne(e,t,i){var n,s;if(void 0===i&&1===e.nodeType)if(n="data-"+t.replace(ie,"-$&").toLowerCase(),"string"==typeof(i=e.getAttribute(n))){try{i="true"===(s=i)||"false"!==s&&("null"===s?null:s===+s+""?+s:te.test(s)?JSON.parse(s):s)}catch(e){}ee.set(e,t,i)}else i=void 0;return i}k.extend({hasData:function(e){return ee.hasData(e)||Z.hasData(e)},data:function(e,t,i){return ee.access(e,t,i)},removeData:function(e,t){ee.remove(e,t)},_data:function(e,t,i){return Z.access(e,t,i)},_removeData:function(e,t){Z.remove(e,t)}}),k.fn.extend({data:function(e,t){var i,n,s,o=this[0],r=o&&o.attributes;if(void 0!==e)return"object"==typeof e?this.each((function(){ee.set(this,e)})):G(this,(function(t){var i;return o&&void 0===t?void 0!==(i=ee.get(o,e))||void 0!==(i=ne(o,e))?i:void 0:void this.each((function(){ee.set(this,e,t)}))}),null,t,1<arguments.length,null,!0);if(this.length&&(s=ee.get(o),1===o.nodeType&&!Z.get(o,"hasDataAttrs"))){for(i=r.length;i--;)r[i]&&0===(n=r[i].name).indexOf("data-")&&(n=K(n.slice(5)),ne(o,n,s[n]));Z.set(o,"hasDataAttrs",!0)}return s},removeData:function(e){return this.each((function(){ee.remove(this,e)}))}}),k.extend({queue:function(e,t,i){var n;if(e)return n=Z.get(e,t=(t||"fx")+"queue"),i&&(!n||Array.isArray(i)?n=Z.access(e,t,k.makeArray(i)):n.push(i)),n||[]},dequeue:function(e,t){var i=k.queue(e,t=t||"fx"),n=i.length,s=i.shift(),o=k._queueHooks(e,t);"inprogress"===s&&(s=i.shift(),n--),s&&("fx"===t&&i.unshift("inprogress"),delete o.stop,s.call(e,(function(){k.dequeue(e,t)}),o)),!n&&o&&o.empty.fire()},_queueHooks:function(e,t){var i=t+"queueHooks";return Z.get(e,i)||Z.access(e,i,{empty:k.Callbacks("once memory").add((function(){Z.remove(e,[t+"queue",i])}))})}}),k.fn.extend({queue:function(e,t){var i=2;return"string"!=typeof e&&(t=e,e="fx",i--),arguments.length<i?k.queue(this[0],e):void 0===t?this:this.each((function(){var i=k.queue(this,e,t);k._queueHooks(this,e),"fx"===e&&"inprogress"!==i[0]&&k.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){k.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function i(){--s||o.resolveWith(r,[r])}var n,s=1,o=k.Deferred(),r=this,a=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Z.get(r[a],e+"queueHooks"))&&n.empty&&(s++,n.empty.add(i));return i(),o.promise(t)}});var se=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,oe=new RegExp("^(?:([+-])=|)("+se+")([a-z%]*)$","i"),re=["Top","Right","Bottom","Left"],ae=w.documentElement,le=function(e){return k.contains(e.ownerDocument,e)},he={composed:!0};ae.getRootNode&&(le=function(e){return k.contains(e.ownerDocument,e)||e.getRootNode(he)===e.ownerDocument});var ce=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&le(e)&&"none"===k.css(e,"display")};function ue(e,t,i,n){var s,o,r=20,a=n?function(){return n.cur()}:function(){return k.css(e,t,"")},l=a(),h=i&&i[3]||(k.cssNumber[t]?"":"px"),c=e.nodeType&&(k.cssNumber[t]||"px"!==h&&+l)&&oe.exec(k.css(e,t));if(c&&c[3]!==h){for(h=h||c[3],c=+(l/=2)||1;r--;)k.style(e,t,c+h),(1-o)*(1-(o=a()/l||.5))<=0&&(r=0),c/=o;k.style(e,t,(c*=2)+h),i=i||[]}return i&&(c=+c||+l||0,s=i[1]?c+(i[1]+1)*i[2]:+i[2],n&&(n.unit=h,n.start=c,n.end=s)),s}var de={};function pe(e,t){for(var i,n,s,o,r,a=[],l=0,h=e.length;l<h;l++)(n=e[l]).style&&(i=n.style.display,t?("none"===i&&(a[l]=Z.get(n,"display")||null,a[l]||(n.style.display="")),""===n.style.display&&ce(n)&&(a[l]=(r=o=void 0,o=(s=n).ownerDocument,r=s.nodeName,(s=de[r])||(o=o.body.appendChild(o.createElement(r)),s=k.css(o,"display"),o.parentNode.removeChild(o),de[r]=s="none"===s?"block":s)))):"none"!==i&&(a[l]="none",Z.set(n,"display",i)));for(l=0;l<h;l++)null!=a[l]&&(e[l].style.display=a[l]);return e}k.fn.extend({show:function(){return pe(this,!0)},hide:function(){return pe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ce(this)?k(this).show():k(this).hide()}))}});var fe=/^(?:checkbox|radio)$/i,ge=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,me=/^$|^module$|\/(?:java|ecma)script/i;E=w.createDocumentFragment().appendChild(w.createElement("div")),(S=w.createElement("input")).setAttribute("type","radio"),S.setAttribute("checked","checked"),S.setAttribute("name","t"),E.appendChild(S),y.checkClone=E.cloneNode(!0).cloneNode(!0).lastChild.checked,E.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!E.cloneNode(!0).lastChild.defaultValue,E.innerHTML="<option></option>",y.option=!!E.lastChild;var ve={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ye(e,t){var i=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&A(e,t)?k.merge([e],i):i}function be(e,t){for(var i=0,n=e.length;i<n;i++)Z.set(e[i],"globalEval",!t||Z.get(t[i],"globalEval"))}ve.tbody=ve.tfoot=ve.colgroup=ve.caption=ve.thead,ve.th=ve.td,y.option||(ve.optgroup=ve.option=[1,"<select multiple='multiple'>","</select>"]);var we=/<|&#?\w+;/;function _e(e,t,i,n,s){for(var o,r,a,l,h,c=t.createDocumentFragment(),u=[],d=0,p=e.length;d<p;d++)if((o=e[d])||0===o)if("object"===C(o))k.merge(u,o.nodeType?[o]:o);else if(we.test(o)){for(r=r||c.appendChild(t.createElement("div")),a=(ge.exec(o)||["",""])[1].toLowerCase(),a=ve[a]||ve._default,r.innerHTML=a[1]+k.htmlPrefilter(o)+a[2],h=a[0];h--;)r=r.lastChild;k.merge(u,r.childNodes),(r=c.firstChild).textContent=""}else u.push(t.createTextNode(o));for(c.textContent="",d=0;o=u[d++];)if(n&&-1<k.inArray(o,n))s&&s.push(o);else if(l=le(o),r=ye(c.appendChild(o),"script"),l&&be(r),i)for(h=0;o=r[h++];)me.test(o.type||"")&&i.push(o);return c}var xe=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Ne(){return!1}function Se(e,t){return e===function(){try{return w.activeElement}catch(e){}}()==("focus"===t)}function Te(e,t,i,n,s,o){var r,a;if("object"==typeof t){for(a in"string"!=typeof i&&(n=n||i,i=void 0),t)Te(e,a,i,n,t[a],o);return e}if(null==n&&null==s?(s=i,n=i=void 0):null==s&&("string"==typeof i?(s=n,n=void 0):(s=n,n=i,i=void 0)),!1===s)s=Ne;else if(!s)return e;return 1===o&&(r=s,(s=function(e){return k().off(e),r.apply(this,arguments)}).guid=r.guid||(r.guid=k.guid++)),e.each((function(){k.event.add(this,t,s,n,i)}))}function He(e,t,i){i?(Z.set(e,t,!1),k.event.add(e,t,{namespace:!1,handler:function(e){var n,s,o=Z.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(k.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=h.call(arguments),Z.set(this,t,o),n=i(this,t),this[t](),o!==(s=Z.get(this,t))||n?Z.set(this,t,!1):s={},o!==s)return e.stopImmediatePropagation(),e.preventDefault(),s.value}else o.length&&(Z.set(this,t,{value:k.event.trigger(k.extend(o[0],k.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Z.get(e,t)&&k.event.add(e,t,ke)}k.event={global:{},add:function(e,t,i,n,s){var o,r,a,l,h,c,u,d,p,f=Z.get(e);if(J(e))for(i.handler&&(i=(o=i).handler,s=o.selector),s&&k.find.matchesSelector(ae,s),i.guid||(i.guid=k.guid++),(a=f.events)||(a=f.events=Object.create(null)),(r=f.handle)||(r=f.handle=function(t){return void 0!==k&&k.event.triggered!==t.type?k.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(I)||[""]).length;l--;)u=p=(h=Ee.exec(t[l])||[])[1],d=(h[2]||"").split(".").sort(),u&&(c=k.event.special[u]||{},u=(s?c.delegateType:c.bindType)||u,c=k.event.special[u]||{},h=k.extend({type:u,origType:p,data:n,handler:i,guid:i.guid,selector:s,needsContext:s&&k.expr.match.needsContext.test(s),namespace:d.join(".")},o),(p=a[u])||((p=a[u]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(e,n,d,r)||e.addEventListener&&e.addEventListener(u,r)),c.add&&(c.add.call(e,h),h.handler.guid||(h.handler.guid=i.guid)),s?p.splice(p.delegateCount++,0,h):p.push(h),k.event.global[u]=!0)},remove:function(e,t,i,n,s){var o,r,a,l,h,c,u,d,p,f,g,m=Z.hasData(e)&&Z.get(e);if(m&&(l=m.events)){for(h=(t=(t||"").match(I)||[""]).length;h--;)if(p=g=(a=Ee.exec(t[h])||[])[1],f=(a[2]||"").split(".").sort(),p){for(u=k.event.special[p]||{},d=l[p=(n?u.delegateType:u.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=o=d.length;o--;)c=d[o],!s&&g!==c.origType||i&&i.guid!==c.guid||a&&!a.test(c.namespace)||n&&n!==c.selector&&("**"!==n||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,u.remove&&u.remove.call(e,c));r&&!d.length&&(u.teardown&&!1!==u.teardown.call(e,f,m.handle)||k.removeEvent(e,p,m.handle),delete l[p])}else for(p in l)k.event.remove(e,p+t[h],i,n,!0);k.isEmptyObject(l)&&Z.remove(e,"handle events")}},dispatch:function(e){var t,i,n,s,o,r=new Array(arguments.length),a=k.event.fix(e),l=(Z.get(this,"events")||Object.create(null))[a.type]||[];e=k.event.special[a.type]||{};for(r[0]=a,t=1;t<arguments.length;t++)r[t]=arguments[t];if(a.delegateTarget=this,!e.preDispatch||!1!==e.preDispatch.call(this,a)){for(o=k.event.handlers.call(this,a,l),t=0;(n=o[t++])&&!a.isPropagationStopped();)for(a.currentTarget=n.elem,i=0;(s=n.handlers[i++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!1!==s.namespace&&!a.rnamespace.test(s.namespace)||(a.handleObj=s,a.data=s.data,void 0!==(s=((k.event.special[s.origType]||{}).handle||s.handler).apply(n.elem,r))&&!1===(a.result=s)&&(a.preventDefault(),a.stopPropagation()));return e.postDispatch&&e.postDispatch.call(this,a),a.result}},handlers:function(e,t){var i,n,s,o,r,a=[],l=t.delegateCount,h=e.target;if(l&&h.nodeType&&!("click"===e.type&&1<=e.button))for(;h!==this;h=h.parentNode||this)if(1===h.nodeType&&("click"!==e.type||!0!==h.disabled)){for(o=[],r={},i=0;i<l;i++)void 0===r[s=(n=t[i]).selector+" "]&&(r[s]=n.needsContext?-1<k(s,this).index(h):k.find(s,this,null,[h]).length),r[s]&&o.push(n);o.length&&a.push({elem:h,handlers:o})}return h=this,l<t.length&&a.push({elem:h,handlers:t.slice(l)}),a},addProp:function(e,t){Object.defineProperty(k.Event.prototype,e,{enumerable:!0,configurable:!0,get:b(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[k.expando]?e:new k.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){return e=this||e,fe.test(e.type)&&e.click&&A(e,"input")&&He(e,"click",ke),!1},trigger:function(e){return e=this||e,fe.test(e.type)&&e.click&&A(e,"input")&&He(e,"click"),!0},_default:function(e){return e=e.target,fe.test(e.type)&&e.click&&A(e,"input")&&Z.get(e,"click")||A(e,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},k.removeEvent=function(e,t,i){e.removeEventListener&&e.removeEventListener(t,i)},k.Event=function(e,t){if(!(this instanceof k.Event))return new k.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?ke:Ne,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&k.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[k.expando]=!0},k.Event.prototype={constructor:k.Event,isDefaultPrevented:Ne,isPropagationStopped:Ne,isImmediatePropagationStopped:Ne,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=ke,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=ke,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=ke,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},k.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&xe.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Ce.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},k.event.addProp),k.each({focus:"focusin",blur:"focusout"},(function(e,t){k.event.special[e]={setup:function(){return He(this,e,Se),!1},trigger:function(){return He(this,e),!0},delegateType:t}})),k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){k.event.special[e]={delegateType:t,bindType:t,handle:function(e){var i,n=e.relatedTarget,s=e.handleObj;return n&&(n===this||k.contains(this,n))||(e.type=s.origType,i=s.handler.apply(this,arguments),e.type=t),i}}})),k.fn.extend({on:function(e,t,i,n){return Te(this,e,t,i,n)},one:function(e,t,i,n){return Te(this,e,t,i,n,1)},off:function(e,t,i){var n,s;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,k(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(i=t,t=void 0),!1===i&&(i=Ne),this.each((function(){k.event.remove(this,e,i,t)}));for(s in e)this.off(s,t,e[s]);return this}});var Pe=/<script|<style|<link/i,Ae=/checked\s*(?:[^=]|=\s*.checked.)/i,ze=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function De(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Re(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Me(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var i,n,s,o;if(1===t.nodeType){if(Z.hasData(e)&&(o=Z.get(e).events))for(s in Z.remove(t,"handle events"),o)for(i=0,n=o[s].length;i<n;i++)k.event.add(t,s,o[s][i]);ee.hasData(e)&&(e=ee.access(e),e=k.extend({},e),ee.set(t,e))}}function Oe(e,t,i,n){t=c(t);var s,o,r,a,l,h,u=0,d=e.length,p=d-1,f=t[0],g=b(f);if(g||1<d&&"string"==typeof f&&!y.checkClone&&Ae.test(f))return e.each((function(s){var o=e.eq(s);g&&(t[0]=f.call(this,s,o.html())),Oe(o,t,i,n)}));if(d&&(o=(s=_e(t,e[0].ownerDocument,!1,e,n)).firstChild,1===s.childNodes.length&&(s=o),o||n)){for(a=(r=k.map(ye(s,"script"),Re)).length;u<d;u++)l=s,u!==p&&(l=k.clone(l,!0,!0),a&&k.merge(r,ye(l,"script"))),i.call(e[u],l,u);if(a)for(h=r[r.length-1].ownerDocument,k.map(r,Me),u=0;u<a;u++)l=r[u],me.test(l.type||"")&&!Z.access(l,"globalEval")&&k.contains(h,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?k._evalUrl&&!l.noModule&&k._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},h):x(l.textContent.replace(ze,""),l,h))}return e}function je(e,t,i){for(var n,s=t?k.filter(t,e):e,o=0;null!=(n=s[o]);o++)i||1!==n.nodeType||k.cleanData(ye(n)),n.parentNode&&(i&&le(n)&&be(ye(n,"script")),n.parentNode.removeChild(n));return e}function Ie(e,t,i){var n,s={};for(n in t)s[n]=e.style[n],e.style[n]=t[n];for(n in i=i.call(e),t)e.style[n]=s[n];return i}k.extend({htmlPrefilter:function(e){return e},clone:function(e,t,i){var n,s,o,r,a,l,h,c=e.cloneNode(!0),u=le(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(r=ye(c),n=0,s=(o=ye(e)).length;n<s;n++)a=o[n],l=r[n],h=void 0,"input"===(h=l.nodeName.toLowerCase())&&fe.test(a.type)?l.checked=a.checked:"input"!==h&&"textarea"!==h||(l.defaultValue=a.defaultValue);if(t)if(i)for(o=o||ye(e),r=r||ye(c),n=0,s=o.length;n<s;n++)Le(o[n],r[n]);else Le(e,c);return 0<(r=ye(c,"script")).length&&be(r,!u&&ye(e,"script")),c},cleanData:function(e){for(var t,i,n,s=k.event.special,o=0;void 0!==(i=e[o]);o++)if(J(i)){if(t=i[Z.expando]){if(t.events)for(n in t.events)s[n]?k.event.remove(i,n):k.removeEvent(i,n,t.handle);i[Z.expando]=void 0}i[ee.expando]&&(i[ee.expando]=void 0)}}}),k.fn.extend({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?k.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Oe(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||De(this,e).appendChild(e)}))},prepend:function(){re