@ngageoint/mage.web-app
Version:
The MAGE web-app is the UI for interacting with the MAGE service in a web browser.
1 lines • 178 kB
JavaScript
!function(t,n){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?n(t,!0):function(l){if(!l.document)throw new Error("jQuery requires a window with a document");return n(l)}:n(t)}(typeof window<"u"?window:this,function(t,n){"use strict";var l=[],y=Object.getPrototypeOf,O=l.slice,ht=l.flat?function(e){return l.flat.call(e)}:function(e){return l.concat.apply([],e)},W=l.push,ct=l.indexOf,xt={},kt=xt.toString,gt=xt.hasOwnProperty,rt=gt.toString,lt=rt.call(Object),T={},K=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},Bt=function(e){return null!=e&&e===e.window},b=t.document,zt={type:!0,src:!0,nonce:!0,noModule:!0};function vt(e,s,r){var a,c,u=(r=r||b).createElement("script");if(u.text=e,s)for(a in zt)(c=s[a]||s.getAttribute&&s.getAttribute(a))&&u.setAttribute(a,c);r.head.appendChild(u).parentNode.removeChild(u)}function Jt(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?xt[kt.call(e)]||"object":typeof e}var g="3.7.1",C=/HTML$/i,o=function(e,s){return new o.fn.init(e,s)};function A(e){var s=!!e&&"length"in e&&e.length,r=Jt(e);return!K(e)&&!Bt(e)&&("array"===r||0===s||"number"==typeof s&&0<s&&s-1 in e)}function D(e,s){return e.nodeName&&e.nodeName.toLowerCase()===s.toLowerCase()}o.fn=o.prototype={jquery:g,constructor:o,length:0,toArray:function(){return O.call(this)},get:function(e){return null==e?O.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var s=o.merge(this.constructor(),e);return s.prevObject=this,s},each:function(e){return o.each(this,e)},map:function(e){return this.pushStack(o.map(this,function(s,r){return e.call(s,r,s)}))},slice:function(){return this.pushStack(O.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(o.grep(this,function(e,s){return(s+1)%2}))},odd:function(){return this.pushStack(o.grep(this,function(e,s){return s%2}))},eq:function(e){var s=this.length,r=+e+(e<0?s:0);return this.pushStack(0<=r&&r<s?[this[r]]:[])},end:function(){return this.prevObject||this.constructor()},push:W,sort:l.sort,splice:l.splice},o.extend=o.fn.extend=function(){var e,s,r,a,c,u,h=arguments[0]||{},d=1,f=arguments.length,_=!1;for("boolean"==typeof h&&(_=h,h=arguments[d]||{},d++),"object"==typeof h||K(h)||(h={}),d===f&&(h=this,d--);d<f;d++)if(null!=(e=arguments[d]))for(s in e)a=e[s],"__proto__"!==s&&h!==a&&(_&&a&&(o.isPlainObject(a)||(c=Array.isArray(a)))?(r=h[s],u=c&&!Array.isArray(r)?[]:c||o.isPlainObject(r)?r:{},c=!1,h[s]=o.extend(_,u,a)):void 0!==a&&(h[s]=a));return h},o.extend({expando:"jQuery"+(g+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var s,r;return!(!e||"[object Object]"!==kt.call(e)||(s=y(e))&&("function"!=typeof(r=gt.call(s,"constructor")&&s.constructor)||rt.call(r)!==lt))},isEmptyObject:function(e){var s;for(s in e)return!1;return!0},globalEval:function(e,s,r){vt(e,{nonce:s&&s.nonce},r)},each:function(e,s){var r,a=0;if(A(e))for(r=e.length;a<r&&!1!==s.call(e[a],a,e[a]);a++);else for(a in e)if(!1===s.call(e[a],a,e[a]))break;return e},text:function(e){var s,r="",a=0,c=e.nodeType;if(!c)for(;s=e[a++];)r+=o.text(s);return 1===c||11===c?e.textContent:9===c?e.documentElement.textContent:3===c||4===c?e.nodeValue:r},makeArray:function(e,s){var r=s||[];return null!=e&&(A(Object(e))?o.merge(r,"string"==typeof e?[e]:e):W.call(r,e)),r},inArray:function(e,s,r){return null==s?-1:ct.call(s,e,r)},isXMLDoc:function(e){var r=e&&(e.ownerDocument||e).documentElement;return!C.test(e&&e.namespaceURI||r&&r.nodeName||"HTML")},merge:function(e,s){for(var r=+s.length,a=0,c=e.length;a<r;a++)e[c++]=s[a];return e.length=c,e},grep:function(e,s,r){for(var a=[],c=0,u=e.length,h=!r;c<u;c++)!s(e[c],c)!==h&&a.push(e[c]);return a},map:function(e,s,r){var a,c,u=0,h=[];if(A(e))for(a=e.length;u<a;u++)null!=(c=s(e[u],u,r))&&h.push(c);else for(u in e)null!=(c=s(e[u],u,r))&&h.push(c);return ht(h)},guid:1,support:T}),"function"==typeof Symbol&&(o.fn[Symbol.iterator]=l[Symbol.iterator]),o.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,s){xt["[object "+s+"]"]=s.toLowerCase()});var it=l.pop,B=l.sort,ot=l.splice,z="[\\x20\\t\\r\\n\\f]",et=new RegExp("^"+z+"+|((?:^|[^\\\\])(?:\\\\.)*)"+z+"+$","g");o.contains=function(e,s){var r=s&&s.parentNode;return e===r||!(!r||1!==r.nodeType||!(e.contains?e.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))};var mt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function bt(e,s){return s?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}o.escapeSelector=function(e){return(e+"").replace(mt,bt)};var Q=b,_t=W;!function(){var e,s,r,a,c,u,h,d,f,_,w=_t,E=o.expando,x=0,L=0,X=At(),Z=At(),$=At(),Tt=At(),Ft=function(p,m){return p===m&&(c=!0),0},ce="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ue="(?:\\\\[\\da-fA-F]{1,6}"+z+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",at="\\["+z+"*("+ue+")(?:"+z+"*([*^$|!~]?=)"+z+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ue+"))|)"+z+"*\\]",Ce=":("+ue+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+at+")*)|.*)\\)|)",dt=new RegExp(z+"+","g"),St=new RegExp("^"+z+"*,"+z+"*"),We=new RegExp("^"+z+"*([>+~]|"+z+")"+z+"*"),jn=new RegExp(z+"|>"),he=new RegExp(Ce),Xe=new RegExp("^"+ue+"$"),ye={ID:new RegExp("^#("+ue+")"),CLASS:new RegExp("^\\.("+ue+")"),TAG:new RegExp("^("+ue+"|[*])"),ATTR:new RegExp("^"+at),PSEUDO:new RegExp("^"+Ce),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+z+"*(even|odd|(([+-]|)(\\d*)n|)"+z+"*(?:([+-]|)"+z+"*(\\d+)|))"+z+"*\\)|)","i"),bool:new RegExp("^(?:"+ce+")$","i"),needsContext:new RegExp("^"+z+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+z+"*((?:-\\d)?\\d*)"+z+"*\\)|)(?=[^-]|$)","i")},me=/^(?:input|select|textarea|button)$/i,Ie=/^h\d$/i,ie=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Kt=/[+~]/,Nt=new RegExp("\\\\[\\da-fA-F]{1,6}"+z+"?|\\\\([^\\r\\n\\f])","g"),Qt=function(p,m){var k="0x"+p.slice(1)-65536;return m||(k<0?String.fromCharCode(k+65536):String.fromCharCode(k>>10|55296,1023&k|56320))},ve=function(){_e()},Yt=nn(function(p){return!0===p.disabled&&D(p,"fieldset")},{dir:"parentNode",next:"legend"});try{w.apply(l=O.call(Q.childNodes),Q.childNodes)}catch{w={apply:function(m,k){_t.apply(m,O.call(k))},call:function(m){_t.apply(m,O.call(arguments,1))}}}function G(p,m,k,M){var S,q,F,V,I,yt,tt,nt=m&&m.ownerDocument,ut=m?m.nodeType:9;if(k=k||[],"string"!=typeof p||!p||1!==ut&&9!==ut&&11!==ut)return k;if(!M&&(_e(m),m=m||u,d)){if(11!==ut&&(I=ie.exec(p)))if(S=I[1]){if(9===ut){if(!(F=m.getElementById(S)))return k;if(F.id===S)return w.call(k,F),k}else if(nt&&(F=nt.getElementById(S))&&G.contains(m,F)&&F.id===S)return w.call(k,F),k}else{if(I[2])return w.apply(k,m.getElementsByTagName(p)),k;if((S=I[3])&&m.getElementsByClassName)return w.apply(k,m.getElementsByClassName(S)),k}if(!(Tt[p+" "]||f&&f.test(p))){if(tt=p,nt=m,1===ut&&(jn.test(p)||We.test(p))){for((nt=Kt.test(p)&&xn(m.parentNode)||m)==m&&T.scope||((V=m.getAttribute("id"))?V=o.escapeSelector(V):m.setAttribute("id",V=E)),q=(yt=Je(p)).length;q--;)yt[q]=(V?"#"+V:":scope")+" "+en(yt[q]);tt=yt.join(",")}try{return w.apply(k,nt.querySelectorAll(tt)),k}catch{Tt(p,!0)}finally{V===E&&m.removeAttribute("id")}}}return si(p.replace(et,"$1"),m,k,M)}function At(){var p=[];return function m(k,M){return p.push(k+" ")>s.cacheLength&&delete m[p.shift()],m[k+" "]=M}}function Ot(p){return p[E]=!0,p}function Mt(p){var m=u.createElement("fieldset");try{return!!p(m)}catch{return!1}finally{m.parentNode&&m.parentNode.removeChild(m),m=null}}function pe(p){return function(m){return D(m,"input")&&m.type===p}}function Pe(p){return function(m){return(D(m,"input")||D(m,"button"))&&m.type===p}}function tn(p){return function(m){return"form"in m?m.parentNode&&!1===m.disabled?"label"in m?"label"in m.parentNode?m.parentNode.disabled===p:m.disabled===p:m.isDisabled===p||m.isDisabled!==!p&&Yt(m)===p:m.disabled===p:"label"in m&&m.disabled===p}}function Ee(p){return Ot(function(m){return m=+m,Ot(function(k,M){for(var S,q=p([],k.length,m),F=q.length;F--;)k[S=q[F]]&&(k[S]=!(M[S]=k[S]))})})}function xn(p){return p&&typeof p.getElementsByTagName<"u"&&p}function _e(p){var m,k=p?p.ownerDocument||p:Q;return k!=u&&9===k.nodeType&&k.documentElement&&(h=(u=k).documentElement,d=!o.isXMLDoc(u),_=h.matches||h.webkitMatchesSelector||h.msMatchesSelector,h.msMatchesSelector&&Q!=u&&(m=u.defaultView)&&m.top!==m&&m.addEventListener("unload",ve),T.getById=Mt(function(M){return h.appendChild(M).id=o.expando,!u.getElementsByName||!u.getElementsByName(o.expando).length}),T.disconnectedMatch=Mt(function(M){return _.call(M,"*")}),T.scope=Mt(function(){return u.querySelectorAll(":scope")}),T.cssHas=Mt(function(){try{return u.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),T.getById?(s.filter.ID=function(M){var S=M.replace(Nt,Qt);return function(q){return q.getAttribute("id")===S}},s.find.ID=function(M,S){if(typeof S.getElementById<"u"&&d){var q=S.getElementById(M);return q?[q]:[]}}):(s.filter.ID=function(M){var S=M.replace(Nt,Qt);return function(q){var F=typeof q.getAttributeNode<"u"&&q.getAttributeNode("id");return F&&F.value===S}},s.find.ID=function(M,S){if(typeof S.getElementById<"u"&&d){var q,F,V,I=S.getElementById(M);if(I){if((q=I.getAttributeNode("id"))&&q.value===M)return[I];for(V=S.getElementsByName(M),F=0;I=V[F++];)if((q=I.getAttributeNode("id"))&&q.value===M)return[I]}return[]}}),s.find.TAG=function(M,S){return typeof S.getElementsByTagName<"u"?S.getElementsByTagName(M):S.querySelectorAll(M)},s.find.CLASS=function(M,S){if(typeof S.getElementsByClassName<"u"&&d)return S.getElementsByClassName(M)},f=[],Mt(function(M){var S;h.appendChild(M).innerHTML="<a id='"+E+"' href='' disabled='disabled'></a><select id='"+E+"-\r\\' disabled='disabled'><option selected=''></option></select>",M.querySelectorAll("[selected]").length||f.push("\\["+z+"*(?:value|"+ce+")"),M.querySelectorAll("[id~="+E+"-]").length||f.push("~="),M.querySelectorAll("a#"+E+"+*").length||f.push(".#.+[+~]"),M.querySelectorAll(":checked").length||f.push(":checked"),(S=u.createElement("input")).setAttribute("type","hidden"),M.appendChild(S).setAttribute("name","D"),h.appendChild(M).disabled=!0,2!==M.querySelectorAll(":disabled").length&&f.push(":enabled",":disabled"),(S=u.createElement("input")).setAttribute("name",""),M.appendChild(S),M.querySelectorAll("[name='']").length||f.push("\\["+z+"*name"+z+"*="+z+"*(?:''|\"\")")}),T.cssHas||f.push(":has"),f=f.length&&new RegExp(f.join("|")),Ft=function(M,S){if(M===S)return c=!0,0;var q=!M.compareDocumentPosition-!S.compareDocumentPosition;return q||(1&(q=(M.ownerDocument||M)==(S.ownerDocument||S)?M.compareDocumentPosition(S):1)||!T.sortDetached&&S.compareDocumentPosition(M)===q?M===u||M.ownerDocument==Q&&G.contains(Q,M)?-1:S===u||S.ownerDocument==Q&&G.contains(Q,S)?1:a?ct.call(a,M)-ct.call(a,S):0:4&q?-1:1)}),u}for(e in G.matches=function(p,m){return G(p,null,null,m)},G.matchesSelector=function(p,m){if(_e(p),d&&!Tt[m+" "]&&(!f||!f.test(m)))try{var k=_.call(p,m);if(k||T.disconnectedMatch||p.document&&11!==p.document.nodeType)return k}catch{Tt(m,!0)}return 0<G(m,u,null,[p]).length},G.contains=function(p,m){return(p.ownerDocument||p)!=u&&_e(p),o.contains(p,m)},G.attr=function(p,m){(p.ownerDocument||p)!=u&&_e(p);var k=s.attrHandle[m.toLowerCase()],M=k&>.call(s.attrHandle,m.toLowerCase())?k(p,m,!d):void 0;return void 0!==M?M:p.getAttribute(m)},G.error=function(p){throw new Error("Syntax error, unrecognized expression: "+p)},o.uniqueSort=function(p){var m,k=[],M=0,S=0;if(c=!T.sortStable,a=!T.sortStable&&O.call(p,0),B.call(p,Ft),c){for(;m=p[S++];)m===p[S]&&(M=k.push(S));for(;M--;)ot.call(p,k[M],1)}return a=null,p},o.fn.uniqueSort=function(){return this.pushStack(o.uniqueSort(O.apply(this)))},(s=o.expr={cacheLength:50,createPseudo:Ot,match:ye,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(p){return p[1]=p[1].replace(Nt,Qt),p[3]=(p[3]||p[4]||p[5]||"").replace(Nt,Qt),"~="===p[2]&&(p[3]=" "+p[3]+" "),p.slice(0,4)},CHILD:function(p){return p[1]=p[1].toLowerCase(),"nth"===p[1].slice(0,3)?(p[3]||G.error(p[0]),p[4]=+(p[4]?p[5]+(p[6]||1):2*("even"===p[3]||"odd"===p[3])),p[5]=+(p[7]+p[8]||"odd"===p[3])):p[3]&&G.error(p[0]),p},PSEUDO:function(p){var m,k=!p[6]&&p[2];return ye.CHILD.test(p[0])?null:(p[3]?p[2]=p[4]||p[5]||"":k&&he.test(k)&&(m=Je(k,!0))&&(m=k.indexOf(")",k.length-m)-k.length)&&(p[0]=p[0].slice(0,m),p[2]=k.slice(0,m)),p.slice(0,3))}},filter:{TAG:function(p){var m=p.replace(Nt,Qt).toLowerCase();return"*"===p?function(){return!0}:function(k){return D(k,m)}},CLASS:function(p){var m=X[p+" "];return m||(m=new RegExp("(^|"+z+")"+p+"("+z+"|$)"))&&X(p,function(k){return m.test("string"==typeof k.className&&k.className||typeof k.getAttribute<"u"&&k.getAttribute("class")||"")})},ATTR:function(p,m,k){return function(M){var S=G.attr(M,p);return null==S?"!="===m:!m||(S+="","="===m?S===k:"!="===m?S!==k:"^="===m?k&&0===S.indexOf(k):"*="===m?k&&-1<S.indexOf(k):"$="===m?k&&S.slice(-k.length)===k:"~="===m?-1<(" "+S.replace(dt," ")+" ").indexOf(k):"|="===m&&(S===k||S.slice(0,k.length+1)===k+"-"))}},CHILD:function(p,m,k,M,S){var q="nth"!==p.slice(0,3),F="last"!==p.slice(-4),V="of-type"===m;return 1===M&&0===S?function(I){return!!I.parentNode}:function(I,yt,tt){var nt,ut,U,It,Xt,Vt=q!==F?"nextSibling":"previousSibling",Zt=I.parentNode,$t=V&&I.nodeName.toLowerCase(),ae=!tt&&!V,Ct=!1;if(Zt){if(q){for(;Vt;){for(U=I;U=U[Vt];)if(V?D(U,$t):1===U.nodeType)return!1;Xt=Vt="only"===p&&!Xt&&"nextSibling"}return!0}if(Xt=[F?Zt.firstChild:Zt.lastChild],F&&ae){for(Ct=(It=(nt=(ut=Zt[E]||(Zt[E]={}))[p]||[])[0]===x&&nt[1])&&nt[2],U=It&&Zt.childNodes[It];U=++It&&U&&U[Vt]||(Ct=It=0)||Xt.pop();)if(1===U.nodeType&&++Ct&&U===I){ut[p]=[x,It,Ct];break}}else if(ae&&(Ct=It=(nt=(ut=I[E]||(I[E]={}))[p]||[])[0]===x&&nt[1]),!1===Ct)for(;(U=++It&&U&&U[Vt]||(Ct=It=0)||Xt.pop())&&(!(V?D(U,$t):1===U.nodeType)||!++Ct||(ae&&((ut=U[E]||(U[E]={}))[p]=[x,Ct]),U!==I)););return(Ct-=S)===M||Ct%M==0&&0<=Ct/M}}},PSEUDO:function(p,m){var k,M=s.pseudos[p]||s.setFilters[p.toLowerCase()]||G.error("unsupported pseudo: "+p);return M[E]?M(m):1<M.length?(k=[p,p,"",m],s.setFilters.hasOwnProperty(p.toLowerCase())?Ot(function(S,q){for(var F,V=M(S,m),I=V.length;I--;)S[F=ct.call(S,V[I])]=!(q[F]=V[I])}):function(S){return M(S,0,k)}):M}},pseudos:{not:Ot(function(p){var m=[],k=[],M=Cn(p.replace(et,"$1"));return M[E]?Ot(function(S,q,F,V){for(var I,yt=M(S,null,V,[]),tt=S.length;tt--;)(I=yt[tt])&&(S[tt]=!(q[tt]=I))}):function(S,q,F){return m[0]=S,M(m,null,F,k),m[0]=null,!k.pop()}}),has:Ot(function(p){return function(m){return 0<G(p,m).length}}),contains:Ot(function(p){return p=p.replace(Nt,Qt),function(m){return-1<(m.textContent||o.text(m)).indexOf(p)}}),lang:Ot(function(p){return Xe.test(p||"")||G.error("unsupported lang: "+p),p=p.replace(Nt,Qt).toLowerCase(),function(m){var k;do{if(k=d?m.lang:m.getAttribute("xml:lang")||m.getAttribute("lang"))return(k=k.toLowerCase())===p||0===k.indexOf(p+"-")}while((m=m.parentNode)&&1===m.nodeType);return!1}}),target:function(p){var m=t.location&&t.location.hash;return m&&m.slice(1)===p.id},root:function(p){return p===h},focus:function(p){return p===function(){try{return u.activeElement}catch{}}()&&u.hasFocus()&&!!(p.type||p.href||~p.tabIndex)},enabled:tn(!1),disabled:tn(!0),checked:function(p){return D(p,"input")&&!!p.checked||D(p,"option")&&!!p.selected},selected:function(p){return!0===p.selected},empty:function(p){for(p=p.firstChild;p;p=p.nextSibling)if(p.nodeType<6)return!1;return!0},parent:function(p){return!s.pseudos.empty(p)},header:function(p){return Ie.test(p.nodeName)},input:function(p){return me.test(p.nodeName)},button:function(p){return D(p,"input")&&"button"===p.type||D(p,"button")},text:function(p){var m;return D(p,"input")&&"text"===p.type&&(null==(m=p.getAttribute("type"))||"text"===m.toLowerCase())},first:Ee(function(){return[0]}),last:Ee(function(p,m){return[m-1]}),eq:Ee(function(p,m,k){return[k<0?k+m:k]}),even:Ee(function(p,m){for(var k=0;k<m;k+=2)p.push(k);return p}),odd:Ee(function(p,m){for(var k=1;k<m;k+=2)p.push(k);return p}),lt:Ee(function(p,m,k){var M;for(M=k<0?k+m:m<k?m:k;0<=--M;)p.push(M);return p}),gt:Ee(function(p,m,k){for(var M=k<0?k+m:k;++M<m;)p.push(M);return p})}}).pseudos.nth=s.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})s.pseudos[e]=pe(e);for(e in{submit:!0,reset:!0})s.pseudos[e]=Pe(e);function ii(){}function Je(p,m){var k,M,S,q,F,V,I,yt=Z[p+" "];if(yt)return m?0:yt.slice(0);for(F=p,V=[],I=s.preFilter;F;){for(q in k&&!(M=St.exec(F))||(M&&(F=F.slice(M[0].length)||F),V.push(S=[])),k=!1,(M=We.exec(F))&&(k=M.shift(),S.push({value:k,type:M[0].replace(et," ")}),F=F.slice(k.length)),s.filter)!(M=ye[q].exec(F))||I[q]&&!(M=I[q](M))||(k=M.shift(),S.push({value:k,type:q,matches:M}),F=F.slice(k.length));if(!k)break}return m?F.length:F?G.error(p):Z(p,V).slice(0)}function en(p){for(var m=0,k=p.length,M="";m<k;m++)M+=p[m].value;return M}function nn(p,m,k){var M=m.dir,S=m.next,q=S||M,F=k&&"parentNode"===q,V=L++;return m.first?function(I,yt,tt){for(;I=I[M];)if(1===I.nodeType||F)return p(I,yt,tt);return!1}:function(I,yt,tt){var nt,ut,U=[x,V];if(tt){for(;I=I[M];)if((1===I.nodeType||F)&&p(I,yt,tt))return!0}else for(;I=I[M];)if(1===I.nodeType||F)if(ut=I[E]||(I[E]={}),S&&D(I,S))I=I[M]||I;else{if((nt=ut[q])&&nt[0]===x&&nt[1]===V)return U[2]=nt[2];if((ut[q]=U)[2]=p(I,yt,tt))return!0}return!1}}function kn(p){return 1<p.length?function(m,k,M){for(var S=p.length;S--;)if(!p[S](m,k,M))return!1;return!0}:p[0]}function sn(p,m,k,M,S){for(var q,F=[],V=0,I=p.length,yt=null!=m;V<I;V++)(q=p[V])&&(k&&!k(q,M,S)||(F.push(q),yt&&m.push(V)));return F}function wn(p,m,k,M,S,q){return M&&!M[E]&&(M=wn(M)),S&&!S[E]&&(S=wn(S,q)),Ot(function(F,V,I,yt){var tt,nt,ut,U,It=[],Xt=[],Vt=V.length,Zt=F||function(ae,Ct,Se){for(var le=0,rn=Ct.length;le<rn;le++)G(ae,Ct[le],Se);return Se}(m||"*",I.nodeType?[I]:I,[]),$t=!p||!F&&m?Zt:sn(Zt,It,p,I,yt);if(k?k($t,U=S||(F?p:Vt||M)?[]:V,I,yt):U=$t,M)for(tt=sn(U,Xt),M(tt,[],I,yt),nt=tt.length;nt--;)(ut=tt[nt])&&(U[Xt[nt]]=!($t[Xt[nt]]=ut));if(F){if(S||p){if(S){for(tt=[],nt=U.length;nt--;)(ut=U[nt])&&tt.push($t[nt]=ut);S(null,U=[],tt,yt)}for(nt=U.length;nt--;)(ut=U[nt])&&-1<(tt=S?ct.call(F,ut):It[nt])&&(F[tt]=!(V[tt]=ut))}}else U=sn(U===V?U.splice(Vt,U.length):U),S?S(null,V,U,yt):w.apply(V,U)})}function Mn(p){for(var m,k,M,S=p.length,q=s.relative[p[0].type],F=q||s.relative[" "],V=q?1:0,I=nn(function(nt){return nt===m},F,!0),yt=nn(function(nt){return-1<ct.call(m,nt)},F,!0),tt=[function(nt,ut,U){var It=!q&&(U||ut!=r)||((m=ut).nodeType?I(nt,ut,U):yt(nt,ut,U));return m=null,It}];V<S;V++)if(k=s.relative[p[V].type])tt=[nn(kn(tt),k)];else{if((k=s.filter[p[V].type].apply(null,p[V].matches))[E]){for(M=++V;M<S&&!s.relative[p[M].type];M++);return wn(1<V&&kn(tt),1<V&&en(p.slice(0,V-1).concat({value:" "===p[V-2].type?"*":""})).replace(et,"$1"),k,V<M&&Mn(p.slice(V,M)),M<S&&Mn(p=p.slice(M)),M<S&&en(p))}tt.push(k)}return kn(tt)}function Cn(p,m){var k,M,S,q,F,V,I=[],yt=[],tt=$[p+" "];if(!tt){for(m||(m=Je(p)),k=m.length;k--;)(tt=Mn(m[k]))[E]?I.push(tt):yt.push(tt);(tt=$(p,(M=yt,q=0<(S=I).length,F=0<M.length,V=function(nt,ut,U,It,Xt){var Vt,Zt,$t,ae=0,Ct="0",Se=nt&&[],le=[],rn=r,ri=nt||F&&s.find.TAG("*",Xt),oi=x+=null==rn?1:Math.random()||.1,bi=ri.length;for(Xt&&(r=ut==u||ut||Xt);Ct!==bi&&null!=(Vt=ri[Ct]);Ct++){if(F&&Vt){for(Zt=0,ut||Vt.ownerDocument==u||(_e(Vt),U=!d);$t=M[Zt++];)if($t(Vt,ut||u,U)){w.call(It,Vt);break}Xt&&(x=oi)}q&&((Vt=!$t&&Vt)&&ae--,nt&&Se.push(Vt))}if(ae+=Ct,q&&Ct!==ae){for(Zt=0;$t=S[Zt++];)$t(Se,le,ut,U);if(nt){if(0<ae)for(;Ct--;)Se[Ct]||le[Ct]||(le[Ct]=it.call(It));le=sn(le)}w.apply(It,le),Xt&&!nt&&0<le.length&&1<ae+S.length&&o.uniqueSort(It)}return Xt&&(x=oi,r=rn),Se},q?Ot(V):V))).selector=p}return tt}function si(p,m,k,M){var S,q,F,V,I,yt="function"==typeof p&&p,tt=!M&&Je(p=yt.selector||p);if(k=k||[],1===tt.length){if(2<(q=tt[0]=tt[0].slice(0)).length&&"ID"===(F=q[0]).type&&9===m.nodeType&&d&&s.relative[q[1].type]){if(!(m=(s.find.ID(F.matches[0].replace(Nt,Qt),m)||[])[0]))return k;yt&&(m=m.parentNode),p=p.slice(q.shift().value.length)}for(S=ye.needsContext.test(p)?0:q.length;S--&&!s.relative[V=(F=q[S]).type];)if((I=s.find[V])&&(M=I(F.matches[0].replace(Nt,Qt),Kt.test(q[0].type)&&xn(m.parentNode)||m))){if(q.splice(S,1),!(p=M.length&&en(q)))return w.apply(k,M),k;break}}return(yt||Cn(p,tt))(M,m,!d,k,!m||Kt.test(p)&&xn(m.parentNode)||m),k}ii.prototype=s.filters=s.pseudos,s.setFilters=new ii,T.sortStable=E.split("").sort(Ft).join("")===E,_e(),T.sortDetached=Mt(function(p){return 1&p.compareDocumentPosition(u.createElement("fieldset"))}),o.find=G,o.expr[":"]=o.expr.pseudos,o.unique=o.uniqueSort,G.compile=Cn,G.select=si,G.setDocument=_e,G.tokenize=Je,G.escape=o.escapeSelector,G.getText=o.text,G.isXML=o.isXMLDoc,G.selectors=o.expr,G.support=o.support,G.uniqueSort=o.uniqueSort}();var Lt=function(e,s,r){for(var a=[],c=void 0!==r;(e=e[s])&&9!==e.nodeType;)if(1===e.nodeType){if(c&&o(e).is(r))break;a.push(e)}return a},Ht=function(e,s){for(var r=[];e;e=e.nextSibling)1===e.nodeType&&e!==s&&r.push(e);return r},Rt=o.expr.match.needsContext,se=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function fe(e,s,r){return K(s)?o.grep(e,function(a,c){return!!s.call(a,c,a)!==r}):s.nodeType?o.grep(e,function(a){return a===s!==r}):"string"!=typeof s?o.grep(e,function(a){return-1<ct.call(s,a)!==r}):o.filter(s,e,r)}o.filter=function(e,s,r){var a=s[0];return r&&(e=":not("+e+")"),1===s.length&&1===a.nodeType?o.find.matchesSelector(a,e)?[a]:[]:o.find.matches(e,o.grep(s,function(c){return 1===c.nodeType}))},o.fn.extend({find:function(e){var s,r,a=this.length,c=this;if("string"!=typeof e)return this.pushStack(o(e).filter(function(){for(s=0;s<a;s++)if(o.contains(c[s],this))return!0}));for(r=this.pushStack([]),s=0;s<a;s++)o.find(e,c[s],r);return 1<a?o.uniqueSort(r):r},filter:function(e){return this.pushStack(fe(this,e||[],!1))},not:function(e){return this.pushStack(fe(this,e||[],!0))},is:function(e){return!!fe(this,"string"==typeof e&&Rt.test(e)?o(e):e||[],!1).length}});var Le,He=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(o.fn.init=function(e,s,r){var a,c;if(!e)return this;if(r=r||Le,"string"==typeof e){if(!(a="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:He.exec(e))||!a[1]&&s)return!s||s.jquery?(s||r).find(e):this.constructor(s).find(e);if(a[1]){if(o.merge(this,o.parseHTML(a[1],(s=s instanceof o?s[0]:s)&&s.nodeType?s.ownerDocument||s:b,!0)),se.test(a[1])&&o.isPlainObject(s))for(a in s)K(this[a])?this[a](s[a]):this.attr(a,s[a]);return this}return(c=b.getElementById(a[2]))&&(this[0]=c,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):K(e)?void 0!==r.ready?r.ready(e):e(o):o.makeArray(e,this)}).prototype=o.fn,Le=o(b);var Gt=/^(?:parents|prev(?:Until|All))/,ge={children:!0,contents:!0,next:!0,prev:!0};function Re(e,s){for(;(e=e[s])&&1!==e.nodeType;);return e}o.fn.extend({has:function(e){var s=o(e,this),r=s.length;return this.filter(function(){for(var a=0;a<r;a++)if(o.contains(this,s[a]))return!0})},closest:function(e,s){var r,a=0,c=this.length,u=[],h="string"!=typeof e&&o(e);if(!Rt.test(e))for(;a<c;a++)for(r=this[a];r&&r!==s;r=r.parentNode)if(r.nodeType<11&&(h?-1<h.index(r):1===r.nodeType&&o.find.matchesSelector(r,e))){u.push(r);break}return this.pushStack(1<u.length?o.uniqueSort(u):u)},index:function(e){return e?"string"==typeof e?ct.call(o(e),this[0]):ct.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,s){return this.pushStack(o.uniqueSort(o.merge(this.get(),o(e,s))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),o.each({parent:function(e){var s=e.parentNode;return s&&11!==s.nodeType?s:null},parents:function(e){return Lt(e,"parentNode")},parentsUntil:function(e,s,r){return Lt(e,"parentNode",r)},next:function(e){return Re(e,"nextSibling")},prev:function(e){return Re(e,"previousSibling")},nextAll:function(e){return Lt(e,"nextSibling")},prevAll:function(e){return Lt(e,"previousSibling")},nextUntil:function(e,s,r){return Lt(e,"nextSibling",r)},prevUntil:function(e,s,r){return Lt(e,"previousSibling",r)},siblings:function(e){return Ht((e.parentNode||{}).firstChild,e)},children:function(e){return Ht(e.firstChild)},contents:function(e){return null!=e.contentDocument&&y(e.contentDocument)?e.contentDocument:(D(e,"template")&&(e=e.content||e),o.merge([],e.childNodes))}},function(e,s){o.fn[e]=function(r,a){var c=o.map(this,s,r);return"Until"!==e.slice(-5)&&(a=r),a&&"string"==typeof a&&(c=o.filter(a,c)),1<this.length&&(ge[e]||o.uniqueSort(c),Gt.test(e)&&c.reverse()),this.pushStack(c)}});var Pt=/[^\x20\t\r\n\f]+/g;function te(e){return e}function ee(e){throw e}function je(e,s,r,a){var c;try{e&&K(c=e.promise)?c.call(e).done(s).fail(r):e&&K(c=e.then)?c.call(e,s,r):s.apply(void 0,[e].slice(a))}catch(u){r.apply(void 0,[u])}}o.Callbacks=function(e){var r;e="string"==typeof e?(r={},o.each(e.match(Pt)||[],function(x,L){r[L]=!0}),r):o.extend({},e);var a,c,u,h,d=[],f=[],_=-1,w=function(){for(h=h||e.once,u=a=!0;f.length;_=-1)for(c=f.shift();++_<d.length;)!1===d[_].apply(c[0],c[1])&&e.stopOnFalse&&(_=d.length,c=!1);e.memory||(c=!1),a=!1,h&&(d=c?[]:"")},E={add:function(){return d&&(c&&!a&&(_=d.length-1,f.push(c)),function x(L){o.each(L,function(X,Z){K(Z)?e.unique&&E.has(Z)||d.push(Z):Z&&Z.length&&"string"!==Jt(Z)&&x(Z)})}(arguments),c&&!a&&w()),this},remove:function(){return o.each(arguments,function(x,L){for(var X;-1<(X=o.inArray(L,d,X));)d.splice(X,1),X<=_&&_--}),this},has:function(x){return x?-1<o.inArray(x,d):0<d.length},empty:function(){return d&&(d=[]),this},disable:function(){return h=f=[],d=c="",this},disabled:function(){return!d},lock:function(){return h=f=[],c||a||(d=c=""),this},locked:function(){return!!h},fireWith:function(x,L){return h||(L=[x,(L=L||[]).slice?L.slice():L],f.push(L),a||w()),this},fire:function(){return E.fireWith(this,arguments),this},fired:function(){return!!u}};return E},o.extend({Deferred:function(e){var s=[["notify","progress",o.Callbacks("memory"),o.Callbacks("memory"),2],["resolve","done",o.Callbacks("once memory"),o.Callbacks("once memory"),0,"resolved"],["reject","fail",o.Callbacks("once memory"),o.Callbacks("once memory"),1,"rejected"]],r="pending",a={state:function(){return r},always:function(){return c.done(arguments).fail(arguments),this},catch:function(u){return a.then(null,u)},pipe:function(){var u=arguments;return o.Deferred(function(h){o.each(s,function(d,f){var _=K(u[f[4]])&&u[f[4]];c[f[1]](function(){var w=_&&_.apply(this,arguments);w&&K(w.promise)?w.promise().progress(h.notify).done(h.resolve).fail(h.reject):h[f[0]+"With"](this,_?[w]:arguments)})}),u=null}).promise()},then:function(u,h,d){var f=0;function _(w,E,x,L){return function(){var X=this,Z=arguments,$=function(){var Ft,ce;if(!(w<f)){if((Ft=x.apply(X,Z))===E.promise())throw new TypeError("Thenable self-resolution");K(ce=Ft&&("object"==typeof Ft||"function"==typeof Ft)&&Ft.then)?L?ce.call(Ft,_(f,E,te,L),_(f,E,ee,L)):(f++,ce.call(Ft,_(f,E,te,L),_(f,E,ee,L),_(f,E,te,E.notifyWith))):(x!==te&&(X=void 0,Z=[Ft]),(L||E.resolveWith)(X,Z))}},Tt=L?$:function(){try{$()}catch(Ft){o.Deferred.exceptionHook&&o.Deferred.exceptionHook(Ft,Tt.error),f<=w+1&&(x!==ee&&(X=void 0,Z=[Ft]),E.rejectWith(X,Z))}};w?Tt():(o.Deferred.getErrorHook?Tt.error=o.Deferred.getErrorHook():o.Deferred.getStackHook&&(Tt.error=o.Deferred.getStackHook()),t.setTimeout(Tt))}}return o.Deferred(function(w){s[0][3].add(_(0,w,K(d)?d:te,w.notifyWith)),s[1][3].add(_(0,w,K(u)?u:te)),s[2][3].add(_(0,w,K(h)?h:ee))}).promise()},promise:function(u){return null!=u?o.extend(u,a):a}},c={};return o.each(s,function(u,h){var d=h[2],f=h[5];a[h[1]]=d.add,f&&d.add(function(){r=f},s[3-u][2].disable,s[3-u][3].disable,s[0][2].lock,s[0][3].lock),d.add(h[3].fire),c[h[0]]=function(){return c[h[0]+"With"](this===c?void 0:this,arguments),this},c[h[0]+"With"]=d.fireWith}),a.promise(c),e&&e.call(c,c),c},when:function(e){var s=arguments.length,r=s,a=Array(r),c=O.call(arguments),u=o.Deferred(),h=function(d){return function(f){a[d]=this,c[d]=1<arguments.length?O.call(arguments):f,--s||u.resolveWith(a,c)}};if(s<=1&&(je(e,u.done(h(r)).resolve,u.reject,!s),"pending"===u.state()||K(c[r]&&c[r].then)))return u.then();for(;r--;)je(c[r],h(r),u.reject);return u.promise()}});var v=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;o.Deferred.exceptionHook=function(e,s){t.console&&t.console.warn&&e&&v.test(e.name)&&t.console.warn("jQuery.Deferred exception: "+e.message,e.stack,s)},o.readyException=function(e){t.setTimeout(function(){throw e})};var j=o.Deferred();function H(){b.removeEventListener("DOMContentLoaded",H),t.removeEventListener("load",H),o.ready()}o.fn.ready=function(e){return j.then(e).catch(function(s){o.readyException(s)}),this},o.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--o.readyWait:o.isReady)||(o.isReady=!0)!==e&&0<--o.readyWait||j.resolveWith(b,[o])}}),o.ready.then=j.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?t.setTimeout(o.ready):(b.addEventListener("DOMContentLoaded",H),t.addEventListener("load",H));var R=function(e,s,r,a,c,u,h){var d=0,f=e.length,_=null==r;if("object"===Jt(r))for(d in c=!0,r)R(e,s,d,r[d],!0,u,h);else if(void 0!==a&&(c=!0,K(a)||(h=!0),_&&(h?(s.call(e,a),s=null):(_=s,s=function(w,E,x){return _.call(o(w),x)})),s))for(;d<f;d++)s(e[d],r,h?a:a.call(e[d],d,s(e[d],r)));return c?e:_?s.call(e):f?s(e[0],r):u},N=/^-ms-/,J=/-([a-z])/g;function pt(e,s){return s.toUpperCase()}function Y(e){return e.replace(N,"ms-").replace(J,pt)}var wt=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Et(){this.expando=o.expando+Et.uid++}Et.uid=1,Et.prototype={cache:function(e){var s=e[this.expando];return s||(s={},wt(e)&&(e.nodeType?e[this.expando]=s:Object.defineProperty(e,this.expando,{value:s,configurable:!0}))),s},set:function(e,s,r){var a,c=this.cache(e);if("string"==typeof s)c[Y(s)]=r;else for(a in s)c[Y(a)]=s[a];return c},get:function(e,s){return void 0===s?this.cache(e):e[this.expando]&&e[this.expando][Y(s)]},access:function(e,s,r){return void 0===s||s&&"string"==typeof s&&void 0===r?this.get(e,s):(this.set(e,s,r),void 0!==r?r:s)},remove:function(e,s){var r,a=e[this.expando];if(void 0!==a){if(void 0!==s)for((r=(s=Array.isArray(s)?s.map(Y):(s=Y(s))in a?[s]:s.match(Pt)||[]).length);r--;)delete a[s[r]];(void 0===s||o.isEmptyObject(a))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var s=e[this.expando];return void 0!==s&&!o.isEmptyObject(s)}};var P=new Et,st=new Et,ft=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,jt=/[A-Z]/g;function qt(e,s,r){var a,c;if(void 0===r&&1===e.nodeType)if(a="data-"+s.replace(jt,"-$&").toLowerCase(),"string"==typeof(r=e.getAttribute(a))){try{r="true"===(c=r)||"false"!==c&&("null"===c?null:c===+c+""?+c:ft.test(c)?JSON.parse(c):c)}catch{}st.set(e,s,r)}else r=void 0;return r}o.extend({hasData:function(e){return st.hasData(e)||P.hasData(e)},data:function(e,s,r){return st.access(e,s,r)},removeData:function(e,s){st.remove(e,s)},_data:function(e,s,r){return P.access(e,s,r)},_removeData:function(e,s){P.remove(e,s)}}),o.fn.extend({data:function(e,s){var r,a,c,u=this[0],h=u&&u.attributes;if(void 0===e){if(this.length&&(c=st.get(u),1===u.nodeType&&!P.get(u,"hasDataAttrs"))){for(r=h.length;r--;)h[r]&&0===(a=h[r].name).indexOf("data-")&&(a=Y(a.slice(5)),qt(u,a,c[a]));P.set(u,"hasDataAttrs",!0)}return c}return"object"==typeof e?this.each(function(){st.set(this,e)}):R(this,function(d){var f;if(u&&void 0===d)return void 0!==(f=st.get(u,e))||void 0!==(f=qt(u,e))?f:void 0;this.each(function(){st.set(this,e,d)})},null,s,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){st.remove(this,e)})}}),o.extend({queue:function(e,s,r){var a;if(e)return a=P.get(e,s=(s||"fx")+"queue"),r&&(!a||Array.isArray(r)?a=P.access(e,s,o.makeArray(r)):a.push(r)),a||[]},dequeue:function(e,s){var r=o.queue(e,s=s||"fx"),a=r.length,c=r.shift(),u=o._queueHooks(e,s);"inprogress"===c&&(c=r.shift(),a--),c&&("fx"===s&&r.unshift("inprogress"),delete u.stop,c.call(e,function(){o.dequeue(e,s)},u)),!a&&u&&u.empty.fire()},_queueHooks:function(e,s){var r=s+"queueHooks";return P.get(e,r)||P.access(e,r,{empty:o.Callbacks("once memory").add(function(){P.remove(e,[s+"queue",r])})})}}),o.fn.extend({queue:function(e,s){var r=2;return"string"!=typeof e&&(s=e,e="fx",r--),arguments.length<r?o.queue(this[0],e):void 0===s?this:this.each(function(){var a=o.queue(this,e,s);o._queueHooks(this,e),"fx"===e&&"inprogress"!==a[0]&&o.dequeue(this,e)})},dequeue:function(e){return this.each(function(){o.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,s){var r,a=1,c=o.Deferred(),u=this,h=this.length,d=function(){--a||c.resolveWith(u,[u])};for("string"!=typeof e&&(s=e,e=void 0),e=e||"fx";h--;)(r=P.get(u[h],e+"queueHooks"))&&r.empty&&(a++,r.empty.add(d));return d(),c.promise(s)}});var Dt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Wt=new RegExp("^(?:([+-])=|)("+Dt+")([a-z%]*)$","i"),de=["Top","Right","Bottom","Left"],xe=b.documentElement,Te=function(e){return o.contains(e.ownerDocument,e)},ai={composed:!0};xe.getRootNode&&(Te=function(e){return o.contains(e.ownerDocument,e)||e.getRootNode(ai)===e.ownerDocument});var Ge=function(e,s){return"none"===(e=s||e).style.display||""===e.style.display&&Te(e)&&"none"===o.css(e,"display")};function En(e,s,r,a){var c,u,h=20,d=a?function(){return a.cur()}:function(){return o.css(e,s,"")},f=d(),_=r&&r[3]||(o.cssNumber[s]?"":"px"),w=e.nodeType&&(o.cssNumber[s]||"px"!==_&&+f)&&Wt.exec(o.css(e,s));if(w&&w[3]!==_){for(_=_||w[3],w=+(f/=2)||1;h--;)o.style(e,s,w+_),(1-u)*(1-(u=d()/f||.5))<=0&&(h=0),w/=u;o.style(e,s,(w*=2)+_),r=r||[]}return r&&(w=+w||+f||0,c=r[1]?w+(r[1]+1)*r[2]:+r[2],a&&(a.unit=_,a.start=w,a.end=c)),c}var Sn={};function Ae(e,s){for(var r,a,c,u,h,d,f,_=[],w=0,E=e.length;w<E;w++)(a=e[w]).style&&(r=a.style.display,s?("none"===r&&(_[w]=P.get(a,"display")||null,_[w]||(a.style.display="")),""===a.style.display&&Ge(a)&&(_[w]=(f=h=u=void 0,h=(c=a).ownerDocument,(f=Sn[d=c.nodeName])||(u=h.body.appendChild(h.createElement(d)),f=o.css(u,"display"),u.parentNode.removeChild(u),"none"===f&&(f="block"),Sn[d]=f)))):"none"!==r&&(_[w]="none",P.set(a,"display",r)));for(w=0;w<E;w++)null!=_[w]&&(e[w].style.display=_[w]);return e}o.fn.extend({show:function(){return Ae(this,!0)},hide:function(){return Ae(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Ge(this)?o(this).show():o(this).hide()})}});var ke,Qe,qe=/^(?:checkbox|radio)$/i,Ln=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Hn=/^$|^module$|\/(?:java|ecma)script/i;ke=b.createDocumentFragment().appendChild(b.createElement("div")),(Qe=b.createElement("input")).setAttribute("type","radio"),Qe.setAttribute("checked","checked"),Qe.setAttribute("name","t"),ke.appendChild(Qe),T.checkClone=ke.cloneNode(!0).cloneNode(!0).lastChild.checked,ke.innerHTML="<textarea>x</textarea>",T.noCloneChecked=!!ke.cloneNode(!0).lastChild.defaultValue,ke.innerHTML="<option></option>",T.option=!!ke.lastChild;var ne={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 Ut(e,s){var r;return r=typeof e.getElementsByTagName<"u"?e.getElementsByTagName(s||"*"):typeof e.querySelectorAll<"u"?e.querySelectorAll(s||"*"):[],void 0===s||s&&D(e,s)?o.merge([e],r):r}function on(e,s){for(var r=0,a=e.length;r<a;r++)P.set(e[r],"globalEval",!s||P.get(s[r],"globalEval"))}ne.tbody=ne.tfoot=ne.colgroup=ne.caption=ne.thead,ne.th=ne.td,T.option||(ne.optgroup=ne.option=[1,"<select multiple='multiple'>","</select>"]);var li=/<|&#?\w+;/;function Rn(e,s,r,a,c){for(var u,h,d,f,_,w,E=s.createDocumentFragment(),x=[],L=0,X=e.length;L<X;L++)if((u=e[L])||0===u)if("object"===Jt(u))o.merge(x,u.nodeType?[u]:u);else if(li.test(u)){for(h=h||E.appendChild(s.createElement("div")),d=(Ln.exec(u)||["",""])[1].toLowerCase(),h.innerHTML=(f=ne[d]||ne._default)[1]+o.htmlPrefilter(u)+f[2],w=f[0];w--;)h=h.lastChild;o.merge(x,h.childNodes),(h=E.firstChild).textContent=""}else x.push(s.createTextNode(u));for(E.textContent="",L=0;u=x[L++];)if(a&&-1<o.inArray(u,a))c&&c.push(u);else if(_=Te(u),h=Ut(E.appendChild(u),"script"),_&&on(h),r)for(w=0;u=h[w++];)Hn.test(u.type||"")&&r.push(u);return E}var Tn=/^([^.]*)(?:\.(.+)|)/;function Oe(){return!0}function Be(){return!1}function an(e,s,r,a,c,u){var h,d;if("object"==typeof s){for(d in"string"!=typeof r&&(a=a||r,r=void 0),s)an(e,d,r,a,s[d],u);return e}if(null==a&&null==c?(c=r,a=r=void 0):null==c&&("string"==typeof r?(c=a,a=void 0):(c=a,a=r,r=void 0)),!1===c)c=Be;else if(!c)return e;return 1===u&&(h=c,(c=function(f){return o().off(f),h.apply(this,arguments)}).guid=h.guid||(h.guid=o.guid++)),e.each(function(){o.event.add(this,s,c,a,r)})}function Ye(e,s,r){r?(P.set(e,s,!1),o.event.add(e,s,{namespace:!1,handler:function(a){var c,u=P.get(this,s);if(1&a.isTrigger&&this[s]){if(u)(o.event.special[s]||{}).delegateType&&a.stopPropagation();else if(u=O.call(arguments),P.set(this,s,u),this[s](),c=P.get(this,s),P.set(this,s,!1),u!==c)return a.stopImmediatePropagation(),a.preventDefault(),c}else u&&(P.set(this,s,o.event.trigger(u[0],u.slice(1),this)),a.stopPropagation(),a.isImmediatePropagationStopped=Oe)}})):void 0===P.get(e,s)&&o.event.add(e,s,Oe)}o.event={global:{},add:function(e,s,r,a,c){var u,h,d,f,_,w,E,x,L,X,Z,$=P.get(e);if(wt(e))for(r.handler&&(r=(u=r).handler,c=u.selector),c&&o.find.matchesSelector(xe,c),r.guid||(r.guid=o.guid++),(f=$.events)||(f=$.events=Object.create(null)),(h=$.handle)||(h=$.handle=function(Tt){return typeof o<"u"&&o.event.triggered!==Tt.type?o.event.dispatch.apply(e,arguments):void 0}),_=(s=(s||"").match(Pt)||[""]).length;_--;)L=Z=(d=Tn.exec(s[_])||[])[1],X=(d[2]||"").split(".").sort(),L&&(E=o.event.special[L]||{},E=o.event.special[L=(c?E.delegateType:E.bindType)||L]||{},w=o.extend({type:L,origType:Z,data:a,handler:r,guid:r.guid,selector:c,needsContext:c&&o.expr.match.needsContext.test(c),namespace:X.join(".")},u),(x=f[L])||((x=f[L]=[]).delegateCount=0,E.setup&&!1!==E.setup.call(e,a,X,h)||e.addEventListener&&e.addEventListener(L,h)),E.add&&(E.add.call(e,w),w.handler.guid||(w.handler.guid=r.guid)),c?x.splice(x.delegateCount++,0,w):x.push(w),o.event.global[L]=!0)},remove:function(e,s,r,a,c){var u,h,d,f,_,w,E,x,L,X,Z,$=P.hasData(e)&&P.get(e);if($&&(f=$.events)){for(_=(s=(s||"").match(Pt)||[""]).length;_--;)if(L=Z=(d=Tn.exec(s[_])||[])[1],X=(d[2]||"").split(".").sort(),L){for(E=o.event.special[L]||{},x=f[L=(a?E.delegateType:E.bindType)||L]||[],d=d[2]&&new RegExp("(^|\\.)"+X.join("\\.(?:.*\\.|)")+"(\\.|$)"),h=u=x.length;u--;)w=x[u],!c&&Z!==w.origType||r&&r.guid!==w.guid||d&&!d.test(w.namespace)||a&&a!==w.selector&&("**"!==a||!w.selector)||(x.splice(u,1),w.selector&&x.delegateCount--,E.remove&&E.remove.call(e,w));h&&!x.length&&(E.teardown&&!1!==E.teardown.call(e,X,$.handle)||o.removeEvent(e,L,$.handle),delete f[L])}else for(L in f)o.event.remove(e,L+s[_],r,a,!0);o.isEmptyObject(f)&&P.remove(e,"handle events")}},dispatch:function(e){var s,r,a,c,u,h,d=new Array(arguments.length),f=o.event.fix(e),_=(P.get(this,"events")||Object.create(null))[f.type]||[],w=o.event.special[f.type]||{};for(d[0]=f,s=1;s<arguments.length;s++)d[s]=arguments[s];if(f.delegateTarget=this,!w.preDispatch||!1!==w.preDispatch.call(this,f)){for(h=o.event.handlers.call(this,f,_),s=0;(c=h[s++])&&!f.isPropagationStopped();)for(f.currentTarget=c.elem,r=0;(u=c.handlers[r++])&&!f.isImmediatePropagationStopped();)f.rnamespace&&!1!==u.namespace&&!f.rnamespace.test(u.namespace)||(f.handleObj=u,f.data=u.data,void 0!==(a=((o.event.special[u.origType]||{}).handle||u.handler).apply(c.elem,d))&&!1===(f.result=a)&&(f.preventDefault(),f.stopPropagation()));return w.postDispatch&&w.postDispatch.call(this,f),f.result}},handlers:function(e,s){var r,a,c,u,h,d=[],f=s.delegateCount,_=e.target;if(f&&_.nodeType&&!("click"===e.type&&1<=e.button))for(;_!==this;_=_.parentNode||this)if(1===_.nodeType&&("click"!==e.type||!0!==_.disabled)){for(u=[],h={},r=0;r<f;r++)void 0===h[c=(a=s[r]).selector+" "]&&(h[c]=a.needsContext?-1<o(c,this).index(_):o.find(c,this,null,[_]).length),h[c]&&u.push(a);u.length&&d.push({elem:_,handlers:u})}return _=this,f<s.length&&d.push({elem:_,handlers:s.slice(f)}),d},addProp:function(e,s){Object.defineProperty(o.Event.prototype,e,{enumerable:!0,configurable:!0,get:K(s)?function(){if(this.originalEvent)return s(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(r){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:r})}})},fix:function(e){return e[o.expando]?e:new o.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var s=this||e;return qe.test(s.type)&&s.click&&D(s,"input")&&Ye(s,"click",!0),!1},trigger:function(e){var s=this||e;return qe.test(s.type)&&s.click&&D(s,"input")&&Ye(s,"click"),!0},_default:function(e){var s=e.target;return qe.test(s.type)&&s.click&&D(s,"input")&&P.get(s,"click")||D(s,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},o.removeEvent=function(e,s,r){e.removeEventListener&&e.removeEventListener(s,r)},o.Event=function(e,s){if(!(this instanceof o.Event))return new o.Event(e,s);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Oe:Be,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,s&&o.extend(this,s),this.timeStamp=e&&e.timeStamp||Date.now(),this[o.expando]=!0},o.Event.prototype={constructor:o.Event,isDefaultPrevented:Be,isPropagationStopped:Be,isImmediatePropagationStopped:Be,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Oe,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Oe,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Oe,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},o.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:!0},o.event.addProp),o.each({focus:"focusin",blur:"focusout"},function(e,s){function r(a){if(b.documentMode){var c=P.get(this,"handle"),u=o.event.fix(a);u.type="focusin"===a.type?"focus":"blur",u.isSimulated=!0,c(a),u.target===u.currentTarget&&c(u)}else o.event.simulate(s,a.target,o.event.fix(a))}o.event.special[e]={setup:function(){var a;if(Ye(this,e,!0),!b.documentMode)return!1;(a=P.get(this,s))||this.addEventListener(s,r),P.set(this,s,(a||0)+1)},trigger:function(){return Ye(this,e),!0},teardown:function(){var a;if(!b.documentMode)return!1;(a=P.get(this,s)-1)?P.set(this,s,a):(this.removeEventListener(s,r),P.remove(this,s))},_default:function(a){return P.get(a.target,e)},delegateType:s},o.event.special[s]={setup:function(){var a=this.ownerDocument||this.document||this,c=b.documentMode?this:a,u=P.get(c,s);u||(b.documentMode?this.addEventListener(s,r):a.addEventListener(e,r,!0)),P.set(c,s,(u||0)+1)},teardown:function(){var a=this.ownerDocument||this.document||this,c=b.documentMode?this:a,u=P.get(c,s)-1;u?P.set(c,s,u):(b.documentMode?this.removeEventListener(s,r):a.removeEventListener(e,r,!0),P.remove(c,s))}}}),o.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,s){o.event.special[e]={delegateType:s,bindType:s,handle:function(r){var a,c=r.relatedTarget,u=r.handleObj;return c&&(c===this||o.contains(this,c))||(r.type=u.origType,a=u.handler.apply(this,arguments),r.type=s),a}}}),o.fn.extend({on:function(e,s,r,a){return an(this,e,s,r,a)},one:function(e,s,r,a){return an(this,e,s,r,a,1)},off:function(e,s,r){var a,c;if(e&&e.preventDefault&&e.handleObj)return a=e.handleObj,o(e.delegateTarget).off(a.namespace?a.origType+"."+a.namespace:a.origType,a.selector,a.handler),this;if("object"==typeof e){for(c in e)this.off(c,s,e[c]);return this}return!1!==s&&"function"!=typeof s||(r=s,s=void 0),!1===r&&(r=Be),this.each(function(){o.event.remove(this,e,r,s)})}});var ci=/<script|<style|<link/i,ui=/checked\s*(?:[^=]|=\s*.checked.)/i,hi=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function An(e,s){return D(e,"table")&&D(11!==s.nodeType?s:s.firstChild,"tr")&&o(e).children("tbody")[0]||e}function pi(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function fi(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function On(e,s){var r,a,c,u,h,d;if(1===s.nodeType){if(P.hasData(e)&&(d=P.get(e).events))for(c in P.remove(s,"handle events"),d)for(r=0,a=d[c].length;r<a;r++)o.event.add(s,c,d[c][r]);st.hasData(e)&&(u=st.access(e),h=o.extend({},u),st.set(s,h))}}function be(e,s,r,a){s=ht(s);var c,u,h,d,f,_,w=0,E=e.length,x=E-1,L=s[0],X=K(L);if(X||1<E&&"string"==typeof L&&!T.checkClone&&ui.test(L))return e.each(function(Z){var $=e.eq(Z);X&&(s[0]=L.call(this,Z,$.html())),be($,s,r,a)});if(E&&(u=(c=Rn(s,e[0].ownerDocument,!1,e,a)).firstChild,1===c.childNodes.length&&(c=u),u||a)){for(d=(h=o.map(Ut(c,"script"),pi)).length;w<E;w++)f=c,w!==x&&(f=o.clone(f,!0,!0),d&&o.merge(h,Ut(f,"script"))),r.call(e[w],f,w);if(d)for(_=h[h.length-1].ownerDocument,o.map(h,fi),w=0;w<d;w++)Hn.test((f=h[w]).type||"")&&!P.access(f,"globalEval")&&o.contains(_,f)&&(f.src&&"module"!==(f.type||"").toLowerCase()?o._evalUrl&&!f.noModule&&o._evalUrl(f.src,{nonce:f.nonce||f.getAttribute("nonce")},_):vt(f.textContent.replace(hi,""),f,_))}return e}function Bn(e,s,r){for(var a,c=s?o.filter(s,e):e,u=0;null!=(a=c[u]);u++)r||1!==a.nodeType||o.cleanData(Ut(a)),a.parentNode&&(r&&Te(a)&&on(Ut(a,"script")),a.parentNode.removeChild(a));return e}o.extend({htmlPrefilter:function(e){return e},clone:function(e,s,r){var a,c,u,h,d,f,_,w=e.cloneNode(!0),E=Te(e);if(!(T.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||o.isXMLDoc(e)))for(h=Ut(w),a=0,c=(u=Ut(e)).length;a<c;a++)d=u[a],"input"===(_=(f=h[a]).nodeName.toLowerCase())&&qe.test(d.type)?f.checked=d.checked:"input"!==_&&"textarea"!==_||(f.defaultValue=d.defaultValue);if(s)if(r)for(u=u||Ut(e),h=h||Ut(w),a=0,c=u.length;a<c;a++)On(u[a],h[a]);else On(e,w);return 0<(h=Ut(w,"script")).length&&on(h,!E&&Ut(e,"script")),w},cleanData:function(e){for(var s,r,a,c=o.event.special,u=0;void 0!==(r=e[u]);u++)if(wt(r)){if(s=r[P.expando]){if(s.events)for(a in s.events)c[a]?o.event.remove(r,a):o.removeEvent(r,a,s.handle);r[P.expando]=void 0}r[st.expando]&&(r[st.expando]=void 0)}}}),o.fn.extend({detach:function(e){return Bn(this,e,!0)},remove:function(e){return Bn(this,e)},text:function(e){return R(this,function(s){return void 0===s?o.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=s)})},null,e,arguments.length)},append:function(){return be(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||An(this,e).appendChild(e)})},prepend:function(){return be(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var s=An(this,e);s.insertBefore(e,s.firstChild)}})},before:function(){return be(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return be(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,s=0;null!=(e=this[s]);s++)1===e.nodeType&&(o.cleanData(Ut(e,!1)),e.textContent="");return this},clone:function(e,s){return e=null!=e&&e,s=s??e,this.map(function(){return o.clone(this,e,s)})},html:function(e){return R(this,function(s){var r=this[0]||{},a=0,c=this.length;if(void 0===s&&1===r.nodeType)return r.innerHTML;if("string"==typeof s&&!ci.test(s)&&!ne[(Ln.exec(s)||["",""])[1].toLowerCase()]){s=o.htmlPrefilter(s);try{for(;a<c;a++)1===(r=this[a]||{}).nodeType&&(o.cleanData(Ut(r,!1)),r.innerHTML=s);r=0}catch{}}r&&this.empty().append(s)},null,e,arguments.length)},replaceWith:function(){var e=[];return be(this,arguments,function(s){var r=this.parentNode;o.inArray(this,e)<0&&(o.cleanData(Ut(this)),r&&r.replaceChild(s,this))},e)}}),o.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,s){o.fn[e]=function(r){for(var a,c=[],u=o(r),h=u.length-1,d=0;d<=h;d++)a=d===h?this:this.clone(!0),o(u[d])[s](a),W.apply(c,a.get());return this.pushStack(c)}});var ln=new RegExp("^("+Dt+")(?!px)[a-z%]+$","i"),cn=/^--/,Ue=function(e){var s=e.ownerDocument.defaultView;return s&&s.opener||(s=t),s.getComputedStyle(e)},bn=function(e,s,r){var a,c,u={};for(c in s)u[c]=e.style[c],e.style[c]=s[c];for(c in a=r.call(e),s)e.style[c]=u[c];return a},di=new RegExp(de.join("|"),"i");function Fe(e,s,r){var a,c,u,h,d=cn.test(s),f=e.style;return(r=r||Ue(e))&&(h=r.getPropertyValue(s)||r[s],d&&h&&(h=h.replace(et,"$1")||void 0),""!==h||Te(e)||(h=o.style(e,s)),!T.pixelBoxStyles()&&ln.test(h)&&di.test(s)&&(a=f.width,c=f.minWidth,u=f.maxWidth,f.minWidth=f.maxWidth=f.width=h,h=r.width,f.width=a,f.minWidth=c,f.maxWidth=u)),void 0!==h?h+"":h}function Dn(e,s){return{get:function(){if(!e())return(this.get=s).apply(this,arguments);delete this.get}}}!function(){function e(){if(_){f.style.c