UNPKG

@georgestagg/webr

Version:

The statistical programming langauge R compiled into WASM for use in a web browser and node.

1 lines 693 kB
var ka=Object.create;var Es=Object.defineProperty;var Ta=Object.getOwnPropertyDescriptor;var La=Object.getOwnPropertyNames,fo=Object.getOwnPropertySymbols,Ra=Object.getPrototypeOf,_o=Object.prototype.hasOwnProperty,Aa=Object.prototype.propertyIsEnumerable;var po=(f,_,A)=>_ in f?Es(f,_,{enumerable:!0,configurable:!0,writable:!0,value:A}):f[_]=A,go=(f,_)=>{for(var A in _||(_={}))_o.call(_,A)&&po(f,A,_[A]);if(fo)for(var A of fo(_))Aa.call(_,A)&&po(f,A,_[A]);return f};var xr=(f=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(f,{get:(_,A)=>(typeof require!="undefined"?require:_)[A]}):f)(function(f){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+f+'" is not supported')});var Ct=(f,_)=>()=>(_||f((_={exports:{}}).exports,_),_.exports);var Ma=(f,_,A,l)=>{if(_&&typeof _=="object"||typeof _=="function")for(let x of La(_))!_o.call(f,x)&&x!==A&&Es(f,x,{get:()=>_[x],enumerable:!(l=Ta(_,x))||l.enumerable});return f};var cr=(f,_,A)=>(A=f!=null?ka(Ra(f)):{},Ma(_||!f||!f.__esModule?Es(A,"default",{value:f,enumerable:!0}):A,f));var ks=(f,_,A)=>{if(!_.has(f))throw TypeError("Cannot "+A)};var Ce=(f,_,A)=>(ks(f,_,"read from private field"),A?A.call(f):_.get(f)),Me=(f,_,A)=>{if(_.has(f))throw TypeError("Cannot add the same private member more than once");_ instanceof WeakSet?_.add(f):_.set(f,A)},We=(f,_,A,l)=>(ks(f,_,"write to private field"),l?l.call(f,A):_.set(f,A),A);var Ot=(f,_,A)=>(ks(f,_,"access private method"),A);var Ts=Ct((vo,Pn)=>{(function(f,_){"use strict";typeof Pn=="object"&&typeof Pn.exports=="object"?Pn.exports=f.document?_(f,!0):function(A){if(!A.document)throw new Error("jQuery requires a window with a document");return _(A)}:_(f)})(typeof window<"u"?window:vo,function(f,_){"use strict";var A=[],l=Object.getPrototypeOf,x=A.slice,v=A.flat?function(s){return A.flat.call(s)}:function(s){return A.concat.apply([],s)},y=A.push,w=A.indexOf,b={},O=b.toString,R=b.hasOwnProperty,C=R.toString,m=C.call(Object),E={},D=function(h){return typeof h=="function"&&typeof h.nodeType!="number"&&typeof h.item!="function"},u=function(h){return h!=null&&h===h.window},o=f.document,e={type:!0,src:!0,nonce:!0,noModule:!0};function i(s,h,S){S=S||o;var T,P,I=S.createElement("script");if(I.text=s,h)for(T in e)P=h[T]||h.getAttribute&&h.getAttribute(T),P&&I.setAttribute(T,P);S.head.appendChild(I).parentNode.removeChild(I)}function t(s){return s==null?s+"":typeof s=="object"||typeof s=="function"?b[O.call(s)]||"object":typeof s}var n="3.6.0",r=function(s,h){return new r.fn.init(s,h)};r.fn=r.prototype={jquery:n,constructor:r,length:0,toArray:function(){return x.call(this)},get:function(s){return s==null?x.call(this):s<0?this[s+this.length]:this[s]},pushStack:function(s){var h=r.merge(this.constructor(),s);return h.prevObject=this,h},each:function(s){return r.each(this,s)},map:function(s){return this.pushStack(r.map(this,function(h,S){return s.call(h,S,h)}))},slice:function(){return this.pushStack(x.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(r.grep(this,function(s,h){return(h+1)%2}))},odd:function(){return this.pushStack(r.grep(this,function(s,h){return h%2}))},eq:function(s){var h=this.length,S=+s+(s<0?h:0);return this.pushStack(S>=0&&S<h?[this[S]]:[])},end:function(){return this.prevObject||this.constructor()},push:y,sort:A.sort,splice:A.splice},r.extend=r.fn.extend=function(){var s,h,S,T,P,I,H=arguments[0]||{},K=1,V=arguments.length,Z=!1;for(typeof H=="boolean"&&(Z=H,H=arguments[K]||{},K++),typeof H!="object"&&!D(H)&&(H={}),K===V&&(H=this,K--);K<V;K++)if((s=arguments[K])!=null)for(h in s)T=s[h],!(h==="__proto__"||H===T)&&(Z&&T&&(r.isPlainObject(T)||(P=Array.isArray(T)))?(S=H[h],P&&!Array.isArray(S)?I=[]:!P&&!r.isPlainObject(S)?I={}:I=S,P=!1,H[h]=r.extend(Z,I,T)):T!==void 0&&(H[h]=T));return H},r.extend({expando:"jQuery"+(n+Math.random()).replace(/\D/g,""),isReady:!0,error:function(s){throw new Error(s)},noop:function(){},isPlainObject:function(s){var h,S;return!s||O.call(s)!=="[object Object]"?!1:(h=l(s),h?(S=R.call(h,"constructor")&&h.constructor,typeof S=="function"&&C.call(S)===m):!0)},isEmptyObject:function(s){var h;for(h in s)return!1;return!0},globalEval:function(s,h,S){i(s,{nonce:h&&h.nonce},S)},each:function(s,h){var S,T=0;if(a(s))for(S=s.length;T<S&&h.call(s[T],T,s[T])!==!1;T++);else for(T in s)if(h.call(s[T],T,s[T])===!1)break;return s},makeArray:function(s,h){var S=h||[];return s!=null&&(a(Object(s))?r.merge(S,typeof s=="string"?[s]:s):y.call(S,s)),S},inArray:function(s,h,S){return h==null?-1:w.call(h,s,S)},merge:function(s,h){for(var S=+h.length,T=0,P=s.length;T<S;T++)s[P++]=h[T];return s.length=P,s},grep:function(s,h,S){for(var T,P=[],I=0,H=s.length,K=!S;I<H;I++)T=!h(s[I],I),T!==K&&P.push(s[I]);return P},map:function(s,h,S){var T,P,I=0,H=[];if(a(s))for(T=s.length;I<T;I++)P=h(s[I],I,S),P!=null&&H.push(P);else for(I in s)P=h(s[I],I,S),P!=null&&H.push(P);return v(H)},guid:1,support:E}),typeof Symbol=="function"&&(r.fn[Symbol.iterator]=A[Symbol.iterator]),r.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(s,h){b["[object "+h+"]"]=h.toLowerCase()});function a(s){var h=!!s&&"length"in s&&s.length,S=t(s);return D(s)||u(s)?!1:S==="array"||h===0||typeof h=="number"&&h>0&&h-1 in s}var c=function(s){var h,S,T,P,I,H,K,V,Z,se,de,te,oe,Ee,Fe,ke,ct,ot,Lt,ze="sizzle"+1*new Date,Be=s.document,kt=0,je=0,Ye=Mn(),Zi=Mn(),Ln=Mn(),Rt=Mn(),Vr=function(q,G){return q===G&&(de=!0),0},Gr={}.hasOwnProperty,Tt=[],Dr=Tt.pop,Pt=Tt.push,Sr=Tt.push,io=Tt.slice,Xr=function(q,G){for(var J=0,le=q.length;J<le;J++)if(q[J]===G)return J;return-1},ys="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",qe="[\\x20\\t\\r\\n\\f]",Jr="(?:\\\\[\\da-fA-F]{1,6}"+qe+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",no="\\["+qe+"*("+Jr+")(?:"+qe+"*([*^$|!~]?=)"+qe+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Jr+"))|)"+qe+"*\\]",ms=":("+Jr+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+no+")*)|.*)\\)|)",da=new RegExp(qe+"+","g"),Rn=new RegExp("^"+qe+"+|((?:^|[^\\\\])(?:\\\\.)*)"+qe+"+$","g"),pa=new RegExp("^"+qe+"*,"+qe+"*"),so=new RegExp("^"+qe+"*([>+~]|"+qe+")"+qe+"*"),_a=new RegExp(qe+"|>"),ga=new RegExp(ms),va=new RegExp("^"+Jr+"$"),An={ID:new RegExp("^#("+Jr+")"),CLASS:new RegExp("^\\.("+Jr+")"),TAG:new RegExp("^("+Jr+"|[*])"),ATTR:new RegExp("^"+no),PSEUDO:new RegExp("^"+ms),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+qe+"*(even|odd|(([+-]|)(\\d*)n|)"+qe+"*(?:([+-]|)"+qe+"*(\\d+)|))"+qe+"*\\)|)","i"),bool:new RegExp("^(?:"+ys+")$","i"),needsContext:new RegExp("^"+qe+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+qe+"*((?:-\\d)?\\d*)"+qe+"*\\)|)(?=[^-]|$)","i")},ya=/HTML$/i,ma=/^(?:input|select|textarea|button)$/i,Ca=/^h\d$/i,Qi=/^[^{]+\{\s*\[native \w/,ba=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Cs=/[+~]/,ar=new RegExp("\\\\[\\da-fA-F]{1,6}"+qe+"?|\\\\([^\\r\\n\\f])","g"),lr=function(q,G){var J="0x"+q.slice(1)-65536;return G||(J<0?String.fromCharCode(J+65536):String.fromCharCode(J>>10|55296,J&1023|56320))},oo=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ao=function(q,G){return G?q==="\0"?"\uFFFD":q.slice(0,-1)+"\\"+q.charCodeAt(q.length-1).toString(16)+" ":"\\"+q},lo=function(){te()},wa=Bn(function(q){return q.disabled===!0&&q.nodeName.toLowerCase()==="fieldset"},{dir:"parentNode",next:"legend"});try{Sr.apply(Tt=io.call(Be.childNodes),Be.childNodes),Tt[Be.childNodes.length].nodeType}catch{Sr={apply:Tt.length?function(G,J){Pt.apply(G,io.call(J))}:function(G,J){for(var le=G.length,$=0;G[le++]=J[$++];);G.length=le-1}}}function Ve(q,G,J,le){var $,ce,pe,me,we,Le,Te,Ae=G&&G.ownerDocument,Ie=G?G.nodeType:9;if(J=J||[],typeof q!="string"||!q||Ie!==1&&Ie!==9&&Ie!==11)return J;if(!le&&(te(G),G=G||oe,Fe)){if(Ie!==11&&(we=ba.exec(q)))if($=we[1]){if(Ie===9)if(pe=G.getElementById($)){if(pe.id===$)return J.push(pe),J}else return J;else if(Ae&&(pe=Ae.getElementById($))&&Lt(G,pe)&&pe.id===$)return J.push(pe),J}else{if(we[2])return Sr.apply(J,G.getElementsByTagName(q)),J;if(($=we[3])&&S.getElementsByClassName&&G.getElementsByClassName)return Sr.apply(J,G.getElementsByClassName($)),J}if(S.qsa&&!Rt[q+" "]&&(!ke||!ke.test(q))&&(Ie!==1||G.nodeName.toLowerCase()!=="object")){if(Te=q,Ae=G,Ie===1&&(_a.test(q)||so.test(q))){for(Ae=Cs.test(q)&&ws(G.parentNode)||G,(Ae!==G||!S.scope)&&((me=G.getAttribute("id"))?me=me.replace(oo,ao):G.setAttribute("id",me=ze)),Le=H(q),ce=Le.length;ce--;)Le[ce]=(me?"#"+me:":scope")+" "+On(Le[ce]);Te=Le.join(",")}try{return Sr.apply(J,Ae.querySelectorAll(Te)),J}catch{Rt(q,!0)}finally{me===ze&&G.removeAttribute("id")}}}return V(q.replace(Rn,"$1"),G,J,le)}function Mn(){var q=[];function G(J,le){return q.push(J+" ")>T.cacheLength&&delete G[q.shift()],G[J+" "]=le}return G}function Kt(q){return q[ze]=!0,q}function Vt(q){var G=oe.createElement("fieldset");try{return!!q(G)}catch{return!1}finally{G.parentNode&&G.parentNode.removeChild(G),G=null}}function bs(q,G){for(var J=q.split("|"),le=J.length;le--;)T.attrHandle[J[le]]=G}function co(q,G){var J=G&&q,le=J&&q.nodeType===1&&G.nodeType===1&&q.sourceIndex-G.sourceIndex;if(le)return le;if(J){for(;J=J.nextSibling;)if(J===G)return-1}return q?1:-1}function Da(q){return function(G){var J=G.nodeName.toLowerCase();return J==="input"&&G.type===q}}function Sa(q){return function(G){var J=G.nodeName.toLowerCase();return(J==="input"||J==="button")&&G.type===q}}function uo(q){return function(G){return"form"in G?G.parentNode&&G.disabled===!1?"label"in G?"label"in G.parentNode?G.parentNode.disabled===q:G.disabled===q:G.isDisabled===q||G.isDisabled!==!q&&wa(G)===q:G.disabled===q:"label"in G?G.disabled===q:!1}}function Yr(q){return Kt(function(G){return G=+G,Kt(function(J,le){for(var $,ce=q([],J.length,G),pe=ce.length;pe--;)J[$=ce[pe]]&&(J[$]=!(le[$]=J[$]))})})}function ws(q){return q&&typeof q.getElementsByTagName<"u"&&q}S=Ve.support={},I=Ve.isXML=function(q){var G=q&&q.namespaceURI,J=q&&(q.ownerDocument||q).documentElement;return!ya.test(G||J&&J.nodeName||"HTML")},te=Ve.setDocument=function(q){var G,J,le=q?q.ownerDocument||q:Be;return le==oe||le.nodeType!==9||!le.documentElement||(oe=le,Ee=oe.documentElement,Fe=!I(oe),Be!=oe&&(J=oe.defaultView)&&J.top!==J&&(J.addEventListener?J.addEventListener("unload",lo,!1):J.attachEvent&&J.attachEvent("onunload",lo)),S.scope=Vt(function($){return Ee.appendChild($).appendChild(oe.createElement("div")),typeof $.querySelectorAll<"u"&&!$.querySelectorAll(":scope fieldset div").length}),S.attributes=Vt(function($){return $.className="i",!$.getAttribute("className")}),S.getElementsByTagName=Vt(function($){return $.appendChild(oe.createComment("")),!$.getElementsByTagName("*").length}),S.getElementsByClassName=Qi.test(oe.getElementsByClassName),S.getById=Vt(function($){return Ee.appendChild($).id=ze,!oe.getElementsByName||!oe.getElementsByName(ze).length}),S.getById?(T.filter.ID=function($){var ce=$.replace(ar,lr);return function(pe){return pe.getAttribute("id")===ce}},T.find.ID=function($,ce){if(typeof ce.getElementById<"u"&&Fe){var pe=ce.getElementById($);return pe?[pe]:[]}}):(T.filter.ID=function($){var ce=$.replace(ar,lr);return function(pe){var me=typeof pe.getAttributeNode<"u"&&pe.getAttributeNode("id");return me&&me.value===ce}},T.find.ID=function($,ce){if(typeof ce.getElementById<"u"&&Fe){var pe,me,we,Le=ce.getElementById($);if(Le){if(pe=Le.getAttributeNode("id"),pe&&pe.value===$)return[Le];for(we=ce.getElementsByName($),me=0;Le=we[me++];)if(pe=Le.getAttributeNode("id"),pe&&pe.value===$)return[Le]}return[]}}),T.find.TAG=S.getElementsByTagName?function($,ce){if(typeof ce.getElementsByTagName<"u")return ce.getElementsByTagName($);if(S.qsa)return ce.querySelectorAll($)}:function($,ce){var pe,me=[],we=0,Le=ce.getElementsByTagName($);if($==="*"){for(;pe=Le[we++];)pe.nodeType===1&&me.push(pe);return me}return Le},T.find.CLASS=S.getElementsByClassName&&function($,ce){if(typeof ce.getElementsByClassName<"u"&&Fe)return ce.getElementsByClassName($)},ct=[],ke=[],(S.qsa=Qi.test(oe.querySelectorAll))&&(Vt(function($){var ce;Ee.appendChild($).innerHTML="<a id='"+ze+"'></a><select id='"+ze+"-\r\\' msallowcapture=''><option selected=''></option></select>",$.querySelectorAll("[msallowcapture^='']").length&&ke.push("[*^$]="+qe+`*(?:''|"")`),$.querySelectorAll("[selected]").length||ke.push("\\["+qe+"*(?:value|"+ys+")"),$.querySelectorAll("[id~="+ze+"-]").length||ke.push("~="),ce=oe.createElement("input"),ce.setAttribute("name",""),$.appendChild(ce),$.querySelectorAll("[name='']").length||ke.push("\\["+qe+"*name"+qe+"*="+qe+`*(?:''|"")`),$.querySelectorAll(":checked").length||ke.push(":checked"),$.querySelectorAll("a#"+ze+"+*").length||ke.push(".#.+[+~]"),$.querySelectorAll("\\\f"),ke.push("[\\r\\n\\f]")}),Vt(function($){$.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var ce=oe.createElement("input");ce.setAttribute("type","hidden"),$.appendChild(ce).setAttribute("name","D"),$.querySelectorAll("[name=d]").length&&ke.push("name"+qe+"*[*^$|!~]?="),$.querySelectorAll(":enabled").length!==2&&ke.push(":enabled",":disabled"),Ee.appendChild($).disabled=!0,$.querySelectorAll(":disabled").length!==2&&ke.push(":enabled",":disabled"),$.querySelectorAll("*,:x"),ke.push(",.*:")})),(S.matchesSelector=Qi.test(ot=Ee.matches||Ee.webkitMatchesSelector||Ee.mozMatchesSelector||Ee.oMatchesSelector||Ee.msMatchesSelector))&&Vt(function($){S.disconnectedMatch=ot.call($,"*"),ot.call($,"[s!='']:x"),ct.push("!=",ms)}),ke=ke.length&&new RegExp(ke.join("|")),ct=ct.length&&new RegExp(ct.join("|")),G=Qi.test(Ee.compareDocumentPosition),Lt=G||Qi.test(Ee.contains)?function($,ce){var pe=$.nodeType===9?$.documentElement:$,me=ce&&ce.parentNode;return $===me||!!(me&&me.nodeType===1&&(pe.contains?pe.contains(me):$.compareDocumentPosition&&$.compareDocumentPosition(me)&16))}:function($,ce){if(ce){for(;ce=ce.parentNode;)if(ce===$)return!0}return!1},Vr=G?function($,ce){if($===ce)return de=!0,0;var pe=!$.compareDocumentPosition-!ce.compareDocumentPosition;return pe||(pe=($.ownerDocument||$)==(ce.ownerDocument||ce)?$.compareDocumentPosition(ce):1,pe&1||!S.sortDetached&&ce.compareDocumentPosition($)===pe?$==oe||$.ownerDocument==Be&&Lt(Be,$)?-1:ce==oe||ce.ownerDocument==Be&&Lt(Be,ce)?1:se?Xr(se,$)-Xr(se,ce):0:pe&4?-1:1)}:function($,ce){if($===ce)return de=!0,0;var pe,me=0,we=$.parentNode,Le=ce.parentNode,Te=[$],Ae=[ce];if(!we||!Le)return $==oe?-1:ce==oe?1:we?-1:Le?1:se?Xr(se,$)-Xr(se,ce):0;if(we===Le)return co($,ce);for(pe=$;pe=pe.parentNode;)Te.unshift(pe);for(pe=ce;pe=pe.parentNode;)Ae.unshift(pe);for(;Te[me]===Ae[me];)me++;return me?co(Te[me],Ae[me]):Te[me]==Be?-1:Ae[me]==Be?1:0}),oe},Ve.matches=function(q,G){return Ve(q,null,null,G)},Ve.matchesSelector=function(q,G){if(te(q),S.matchesSelector&&Fe&&!Rt[G+" "]&&(!ct||!ct.test(G))&&(!ke||!ke.test(G)))try{var J=ot.call(q,G);if(J||S.disconnectedMatch||q.document&&q.document.nodeType!==11)return J}catch{Rt(G,!0)}return Ve(G,oe,null,[q]).length>0},Ve.contains=function(q,G){return(q.ownerDocument||q)!=oe&&te(q),Lt(q,G)},Ve.attr=function(q,G){(q.ownerDocument||q)!=oe&&te(q);var J=T.attrHandle[G.toLowerCase()],le=J&&Gr.call(T.attrHandle,G.toLowerCase())?J(q,G,!Fe):void 0;return le!==void 0?le:S.attributes||!Fe?q.getAttribute(G):(le=q.getAttributeNode(G))&&le.specified?le.value:null},Ve.escape=function(q){return(q+"").replace(oo,ao)},Ve.error=function(q){throw new Error("Syntax error, unrecognized expression: "+q)},Ve.uniqueSort=function(q){var G,J=[],le=0,$=0;if(de=!S.detectDuplicates,se=!S.sortStable&&q.slice(0),q.sort(Vr),de){for(;G=q[$++];)G===q[$]&&(le=J.push($));for(;le--;)q.splice(J[le],1)}return se=null,q},P=Ve.getText=function(q){var G,J="",le=0,$=q.nodeType;if($){if($===1||$===9||$===11){if(typeof q.textContent=="string")return q.textContent;for(q=q.firstChild;q;q=q.nextSibling)J+=P(q)}else if($===3||$===4)return q.nodeValue}else for(;G=q[le++];)J+=P(G);return J},T=Ve.selectors={cacheLength:50,createPseudo:Kt,match:An,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(q){return q[1]=q[1].replace(ar,lr),q[3]=(q[3]||q[4]||q[5]||"").replace(ar,lr),q[2]==="~="&&(q[3]=" "+q[3]+" "),q.slice(0,4)},CHILD:function(q){return q[1]=q[1].toLowerCase(),q[1].slice(0,3)==="nth"?(q[3]||Ve.error(q[0]),q[4]=+(q[4]?q[5]+(q[6]||1):2*(q[3]==="even"||q[3]==="odd")),q[5]=+(q[7]+q[8]||q[3]==="odd")):q[3]&&Ve.error(q[0]),q},PSEUDO:function(q){var G,J=!q[6]&&q[2];return An.CHILD.test(q[0])?null:(q[3]?q[2]=q[4]||q[5]||"":J&&ga.test(J)&&(G=H(J,!0))&&(G=J.indexOf(")",J.length-G)-J.length)&&(q[0]=q[0].slice(0,G),q[2]=J.slice(0,G)),q.slice(0,3))}},filter:{TAG:function(q){var G=q.replace(ar,lr).toLowerCase();return q==="*"?function(){return!0}:function(J){return J.nodeName&&J.nodeName.toLowerCase()===G}},CLASS:function(q){var G=Ye[q+" "];return G||(G=new RegExp("(^|"+qe+")"+q+"("+qe+"|$)"))&&Ye(q,function(J){return G.test(typeof J.className=="string"&&J.className||typeof J.getAttribute<"u"&&J.getAttribute("class")||"")})},ATTR:function(q,G,J){return function(le){var $=Ve.attr(le,q);return $==null?G==="!=":G?($+="",G==="="?$===J:G==="!="?$!==J:G==="^="?J&&$.indexOf(J)===0:G==="*="?J&&$.indexOf(J)>-1:G==="$="?J&&$.slice(-J.length)===J:G==="~="?(" "+$.replace(da," ")+" ").indexOf(J)>-1:G==="|="?$===J||$.slice(0,J.length+1)===J+"-":!1):!0}},CHILD:function(q,G,J,le,$){var ce=q.slice(0,3)!=="nth",pe=q.slice(-4)!=="last",me=G==="of-type";return le===1&&$===0?function(we){return!!we.parentNode}:function(we,Le,Te){var Ae,Ie,Ge,Re,ut,mt,At=ce!==pe?"nextSibling":"previousSibling",Xe=we.parentNode,$i=me&&we.nodeName.toLowerCase(),en=!Te&&!me,Mt=!1;if(Xe){if(ce){for(;At;){for(Re=we;Re=Re[At];)if(me?Re.nodeName.toLowerCase()===$i:Re.nodeType===1)return!1;mt=At=q==="only"&&!mt&&"nextSibling"}return!0}if(mt=[pe?Xe.firstChild:Xe.lastChild],pe&&en){for(Re=Xe,Ge=Re[ze]||(Re[ze]={}),Ie=Ge[Re.uniqueID]||(Ge[Re.uniqueID]={}),Ae=Ie[q]||[],ut=Ae[0]===kt&&Ae[1],Mt=ut&&Ae[2],Re=ut&&Xe.childNodes[ut];Re=++ut&&Re&&Re[At]||(Mt=ut=0)||mt.pop();)if(Re.nodeType===1&&++Mt&&Re===we){Ie[q]=[kt,ut,Mt];break}}else if(en&&(Re=we,Ge=Re[ze]||(Re[ze]={}),Ie=Ge[Re.uniqueID]||(Ge[Re.uniqueID]={}),Ae=Ie[q]||[],ut=Ae[0]===kt&&Ae[1],Mt=ut),Mt===!1)for(;(Re=++ut&&Re&&Re[At]||(Mt=ut=0)||mt.pop())&&!((me?Re.nodeName.toLowerCase()===$i:Re.nodeType===1)&&++Mt&&(en&&(Ge=Re[ze]||(Re[ze]={}),Ie=Ge[Re.uniqueID]||(Ge[Re.uniqueID]={}),Ie[q]=[kt,Mt]),Re===we)););return Mt-=$,Mt===le||Mt%le===0&&Mt/le>=0}}},PSEUDO:function(q,G){var J,le=T.pseudos[q]||T.setFilters[q.toLowerCase()]||Ve.error("unsupported pseudo: "+q);return le[ze]?le(G):le.length>1?(J=[q,q,"",G],T.setFilters.hasOwnProperty(q.toLowerCase())?Kt(function($,ce){for(var pe,me=le($,G),we=me.length;we--;)pe=Xr($,me[we]),$[pe]=!(ce[pe]=me[we])}):function($){return le($,0,J)}):le}},pseudos:{not:Kt(function(q){var G=[],J=[],le=K(q.replace(Rn,"$1"));return le[ze]?Kt(function($,ce,pe,me){for(var we,Le=le($,null,me,[]),Te=$.length;Te--;)(we=Le[Te])&&($[Te]=!(ce[Te]=we))}):function($,ce,pe){return G[0]=$,le(G,null,pe,J),G[0]=null,!J.pop()}}),has:Kt(function(q){return function(G){return Ve(q,G).length>0}}),contains:Kt(function(q){return q=q.replace(ar,lr),function(G){return(G.textContent||P(G)).indexOf(q)>-1}}),lang:Kt(function(q){return va.test(q||"")||Ve.error("unsupported lang: "+q),q=q.replace(ar,lr).toLowerCase(),function(G){var J;do if(J=Fe?G.lang:G.getAttribute("xml:lang")||G.getAttribute("lang"))return J=J.toLowerCase(),J===q||J.indexOf(q+"-")===0;while((G=G.parentNode)&&G.nodeType===1);return!1}}),target:function(q){var G=s.location&&s.location.hash;return G&&G.slice(1)===q.id},root:function(q){return q===Ee},focus:function(q){return q===oe.activeElement&&(!oe.hasFocus||oe.hasFocus())&&!!(q.type||q.href||~q.tabIndex)},enabled:uo(!1),disabled:uo(!0),checked:function(q){var G=q.nodeName.toLowerCase();return G==="input"&&!!q.checked||G==="option"&&!!q.selected},selected:function(q){return q.parentNode&&q.parentNode.selectedIndex,q.selected===!0},empty:function(q){for(q=q.firstChild;q;q=q.nextSibling)if(q.nodeType<6)return!1;return!0},parent:function(q){return!T.pseudos.empty(q)},header:function(q){return Ca.test(q.nodeName)},input:function(q){return ma.test(q.nodeName)},button:function(q){var G=q.nodeName.toLowerCase();return G==="input"&&q.type==="button"||G==="button"},text:function(q){var G;return q.nodeName.toLowerCase()==="input"&&q.type==="text"&&((G=q.getAttribute("type"))==null||G.toLowerCase()==="text")},first:Yr(function(){return[0]}),last:Yr(function(q,G){return[G-1]}),eq:Yr(function(q,G,J){return[J<0?J+G:J]}),even:Yr(function(q,G){for(var J=0;J<G;J+=2)q.push(J);return q}),odd:Yr(function(q,G){for(var J=1;J<G;J+=2)q.push(J);return q}),lt:Yr(function(q,G,J){for(var le=J<0?J+G:J>G?G:J;--le>=0;)q.push(le);return q}),gt:Yr(function(q,G,J){for(var le=J<0?J+G:J;++le<G;)q.push(le);return q})}},T.pseudos.nth=T.pseudos.eq;for(h in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})T.pseudos[h]=Da(h);for(h in{submit:!0,reset:!0})T.pseudos[h]=Sa(h);function ho(){}ho.prototype=T.filters=T.pseudos,T.setFilters=new ho,H=Ve.tokenize=function(q,G){var J,le,$,ce,pe,me,we,Le=Zi[q+" "];if(Le)return G?0:Le.slice(0);for(pe=q,me=[],we=T.preFilter;pe;){(!J||(le=pa.exec(pe)))&&(le&&(pe=pe.slice(le[0].length)||pe),me.push($=[])),J=!1,(le=so.exec(pe))&&(J=le.shift(),$.push({value:J,type:le[0].replace(Rn," ")}),pe=pe.slice(J.length));for(ce in T.filter)(le=An[ce].exec(pe))&&(!we[ce]||(le=we[ce](le)))&&(J=le.shift(),$.push({value:J,type:ce,matches:le}),pe=pe.slice(J.length));if(!J)break}return G?pe.length:pe?Ve.error(q):Zi(q,me).slice(0)};function On(q){for(var G=0,J=q.length,le="";G<J;G++)le+=q[G].value;return le}function Bn(q,G,J){var le=G.dir,$=G.next,ce=$||le,pe=J&&ce==="parentNode",me=je++;return G.first?function(we,Le,Te){for(;we=we[le];)if(we.nodeType===1||pe)return q(we,Le,Te);return!1}:function(we,Le,Te){var Ae,Ie,Ge,Re=[kt,me];if(Te){for(;we=we[le];)if((we.nodeType===1||pe)&&q(we,Le,Te))return!0}else for(;we=we[le];)if(we.nodeType===1||pe)if(Ge=we[ze]||(we[ze]={}),Ie=Ge[we.uniqueID]||(Ge[we.uniqueID]={}),$&&$===we.nodeName.toLowerCase())we=we[le]||we;else{if((Ae=Ie[ce])&&Ae[0]===kt&&Ae[1]===me)return Re[2]=Ae[2];if(Ie[ce]=Re,Re[2]=q(we,Le,Te))return!0}return!1}}function Ds(q){return q.length>1?function(G,J,le){for(var $=q.length;$--;)if(!q[$](G,J,le))return!1;return!0}:q[0]}function xa(q,G,J){for(var le=0,$=G.length;le<$;le++)Ve(q,G[le],J);return J}function Fn(q,G,J,le,$){for(var ce,pe=[],me=0,we=q.length,Le=G!=null;me<we;me++)(ce=q[me])&&(!J||J(ce,le,$))&&(pe.push(ce),Le&&G.push(me));return pe}function Ss(q,G,J,le,$,ce){return le&&!le[ze]&&(le=Ss(le)),$&&!$[ze]&&($=Ss($,ce)),Kt(function(pe,me,we,Le){var Te,Ae,Ie,Ge=[],Re=[],ut=me.length,mt=pe||xa(G||"*",we.nodeType?[we]:we,[]),At=q&&(pe||!G)?Fn(mt,Ge,q,we,Le):mt,Xe=J?$||(pe?q:ut||le)?[]:me:At;if(J&&J(At,Xe,we,Le),le)for(Te=Fn(Xe,Re),le(Te,[],we,Le),Ae=Te.length;Ae--;)(Ie=Te[Ae])&&(Xe[Re[Ae]]=!(At[Re[Ae]]=Ie));if(pe){if($||q){if($){for(Te=[],Ae=Xe.length;Ae--;)(Ie=Xe[Ae])&&Te.push(At[Ae]=Ie);$(null,Xe=[],Te,Le)}for(Ae=Xe.length;Ae--;)(Ie=Xe[Ae])&&(Te=$?Xr(pe,Ie):Ge[Ae])>-1&&(pe[Te]=!(me[Te]=Ie))}}else Xe=Fn(Xe===me?Xe.splice(ut,Xe.length):Xe),$?$(null,me,Xe,Le):Sr.apply(me,Xe)})}function xs(q){for(var G,J,le,$=q.length,ce=T.relative[q[0].type],pe=ce||T.relative[" "],me=ce?1:0,we=Bn(function(Ae){return Ae===G},pe,!0),Le=Bn(function(Ae){return Xr(G,Ae)>-1},pe,!0),Te=[function(Ae,Ie,Ge){var Re=!ce&&(Ge||Ie!==Z)||((G=Ie).nodeType?we(Ae,Ie,Ge):Le(Ae,Ie,Ge));return G=null,Re}];me<$;me++)if(J=T.relative[q[me].type])Te=[Bn(Ds(Te),J)];else{if(J=T.filter[q[me].type].apply(null,q[me].matches),J[ze]){for(le=++me;le<$&&!T.relative[q[le].type];le++);return Ss(me>1&&Ds(Te),me>1&&On(q.slice(0,me-1).concat({value:q[me-2].type===" "?"*":""})).replace(Rn,"$1"),J,me<le&&xs(q.slice(me,le)),le<$&&xs(q=q.slice(le)),le<$&&On(q))}Te.push(J)}return Ds(Te)}function Ea(q,G){var J=G.length>0,le=q.length>0,$=function(ce,pe,me,we,Le){var Te,Ae,Ie,Ge=0,Re="0",ut=ce&&[],mt=[],At=Z,Xe=ce||le&&T.find.TAG("*",Le),$i=kt+=At==null?1:Math.random()||.1,en=Xe.length;for(Le&&(Z=pe==oe||pe||Le);Re!==en&&(Te=Xe[Re])!=null;Re++){if(le&&Te){for(Ae=0,!pe&&Te.ownerDocument!=oe&&(te(Te),me=!Fe);Ie=q[Ae++];)if(Ie(Te,pe||oe,me)){we.push(Te);break}Le&&(kt=$i)}J&&((Te=!Ie&&Te)&&Ge--,ce&&ut.push(Te))}if(Ge+=Re,J&&Re!==Ge){for(Ae=0;Ie=G[Ae++];)Ie(ut,mt,pe,me);if(ce){if(Ge>0)for(;Re--;)ut[Re]||mt[Re]||(mt[Re]=Dr.call(we));mt=Fn(mt)}Sr.apply(we,mt),Le&&!ce&&mt.length>0&&Ge+G.length>1&&Ve.uniqueSort(we)}return Le&&(kt=$i,Z=At),ut};return J?Kt($):$}return K=Ve.compile=function(q,G){var J,le=[],$=[],ce=Ln[q+" "];if(!ce){for(G||(G=H(q)),J=G.length;J--;)ce=xs(G[J]),ce[ze]?le.push(ce):$.push(ce);ce=Ln(q,Ea($,le)),ce.selector=q}return ce},V=Ve.select=function(q,G,J,le){var $,ce,pe,me,we,Le=typeof q=="function"&&q,Te=!le&&H(q=Le.selector||q);if(J=J||[],Te.length===1){if(ce=Te[0]=Te[0].slice(0),ce.length>2&&(pe=ce[0]).type==="ID"&&G.nodeType===9&&Fe&&T.relative[ce[1].type]){if(G=(T.find.ID(pe.matches[0].replace(ar,lr),G)||[])[0],G)Le&&(G=G.parentNode);else return J;q=q.slice(ce.shift().value.length)}for($=An.needsContext.test(q)?0:ce.length;$--&&(pe=ce[$],!T.relative[me=pe.type]);)if((we=T.find[me])&&(le=we(pe.matches[0].replace(ar,lr),Cs.test(ce[0].type)&&ws(G.parentNode)||G))){if(ce.splice($,1),q=le.length&&On(ce),!q)return Sr.apply(J,le),J;break}}return(Le||K(q,Te))(le,G,!Fe,J,!G||Cs.test(q)&&ws(G.parentNode)||G),J},S.sortStable=ze.split("").sort(Vr).join("")===ze,S.detectDuplicates=!!de,te(),S.sortDetached=Vt(function(q){return q.compareDocumentPosition(oe.createElement("fieldset"))&1}),Vt(function(q){return q.innerHTML="<a href='#'></a>",q.firstChild.getAttribute("href")==="#"})||bs("type|href|height|width",function(q,G,J){if(!J)return q.getAttribute(G,G.toLowerCase()==="type"?1:2)}),(!S.attributes||!Vt(function(q){return q.innerHTML="<input/>",q.firstChild.setAttribute("value",""),q.firstChild.getAttribute("value")===""}))&&bs("value",function(q,G,J){if(!J&&q.nodeName.toLowerCase()==="input")return q.defaultValue}),Vt(function(q){return q.getAttribute("disabled")==null})||bs(ys,function(q,G,J){var le;if(!J)return q[G]===!0?G.toLowerCase():(le=q.getAttributeNode(G))&&le.specified?le.value:null}),Ve}(f);r.find=c,r.expr=c.selectors,r.expr[":"]=r.expr.pseudos,r.uniqueSort=r.unique=c.uniqueSort,r.text=c.getText,r.isXMLDoc=c.isXML,r.contains=c.contains,r.escapeSelector=c.escape;var d=function(s,h,S){for(var T=[],P=S!==void 0;(s=s[h])&&s.nodeType!==9;)if(s.nodeType===1){if(P&&r(s).is(S))break;T.push(s)}return T},p=function(s,h){for(var S=[];s;s=s.nextSibling)s.nodeType===1&&s!==h&&S.push(s);return S},g=r.expr.match.needsContext;function k(s,h){return s.nodeName&&s.nodeName.toLowerCase()===h.toLowerCase()}var L=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function F(s,h,S){return D(h)?r.grep(s,function(T,P){return!!h.call(T,P,T)!==S}):h.nodeType?r.grep(s,function(T){return T===h!==S}):typeof h!="string"?r.grep(s,function(T){return w.call(h,T)>-1!==S}):r.filter(h,s,S)}r.filter=function(s,h,S){var T=h[0];return S&&(s=":not("+s+")"),h.length===1&&T.nodeType===1?r.find.matchesSelector(T,s)?[T]:[]:r.find.matches(s,r.grep(h,function(P){return P.nodeType===1}))},r.fn.extend({find:function(s){var h,S,T=this.length,P=this;if(typeof s!="string")return this.pushStack(r(s).filter(function(){for(h=0;h<T;h++)if(r.contains(P[h],this))return!0}));for(S=this.pushStack([]),h=0;h<T;h++)r.find(s,P[h],S);return T>1?r.uniqueSort(S):S},filter:function(s){return this.pushStack(F(this,s||[],!1))},not:function(s){return this.pushStack(F(this,s||[],!0))},is:function(s){return!!F(this,typeof s=="string"&&g.test(s)?r(s):s||[],!1).length}});var M,B=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,j=r.fn.init=function(s,h,S){var T,P;if(!s)return this;if(S=S||M,typeof s=="string")if(s[0]==="<"&&s[s.length-1]===">"&&s.length>=3?T=[null,s,null]:T=B.exec(s),T&&(T[1]||!h))if(T[1]){if(h=h instanceof r?h[0]:h,r.merge(this,r.parseHTML(T[1],h&&h.nodeType?h.ownerDocument||h:o,!0)),L.test(T[1])&&r.isPlainObject(h))for(T in h)D(this[T])?this[T](h[T]):this.attr(T,h[T]);return this}else return P=o.getElementById(T[2]),P&&(this[0]=P,this.length=1),this;else return!h||h.jquery?(h||S).find(s):this.constructor(h).find(s);else{if(s.nodeType)return this[0]=s,this.length=1,this;if(D(s))return S.ready!==void 0?S.ready(s):s(r)}return r.makeArray(s,this)};j.prototype=r.fn,M=r(o);var N=/^(?:parents|prev(?:Until|All))/,ee={children:!0,contents:!0,next:!0,prev:!0};r.fn.extend({has:function(s){var h=r(s,this),S=h.length;return this.filter(function(){for(var T=0;T<S;T++)if(r.contains(this,h[T]))return!0})},closest:function(s,h){var S,T=0,P=this.length,I=[],H=typeof s!="string"&&r(s);if(!g.test(s)){for(;T<P;T++)for(S=this[T];S&&S!==h;S=S.parentNode)if(S.nodeType<11&&(H?H.index(S)>-1:S.nodeType===1&&r.find.matchesSelector(S,s))){I.push(S);break}}return this.pushStack(I.length>1?r.uniqueSort(I):I)},index:function(s){return s?typeof s=="string"?w.call(r(s),this[0]):w.call(this,s.jquery?s[0]:s):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(s,h){return this.pushStack(r.uniqueSort(r.merge(this.get(),r(s,h))))},addBack:function(s){return this.add(s==null?this.prevObject:this.prevObject.filter(s))}});function fe(s,h){for(;(s=s[h])&&s.nodeType!==1;);return s}r.each({parent:function(s){var h=s.parentNode;return h&&h.nodeType!==11?h:null},parents:function(s){return d(s,"parentNode")},parentsUntil:function(s,h,S){return d(s,"parentNode",S)},next:function(s){return fe(s,"nextSibling")},prev:function(s){return fe(s,"previousSibling")},nextAll:function(s){return d(s,"nextSibling")},prevAll:function(s){return d(s,"previousSibling")},nextUntil:function(s,h,S){return d(s,"nextSibling",S)},prevUntil:function(s,h,S){return d(s,"previousSibling",S)},siblings:function(s){return p((s.parentNode||{}).firstChild,s)},children:function(s){return p(s.firstChild)},contents:function(s){return s.contentDocument!=null&&l(s.contentDocument)?s.contentDocument:(k(s,"template")&&(s=s.content||s),r.merge([],s.childNodes))}},function(s,h){r.fn[s]=function(S,T){var P=r.map(this,h,S);return s.slice(-5)!=="Until"&&(T=S),T&&typeof T=="string"&&(P=r.filter(T,P)),this.length>1&&(ee[s]||r.uniqueSort(P),N.test(s)&&P.reverse()),this.pushStack(P)}});var Q=/[^\x20\t\r\n\f]+/g;function ue(s){var h={};return r.each(s.match(Q)||[],function(S,T){h[T]=!0}),h}r.Callbacks=function(s){s=typeof s=="string"?ue(s):r.extend({},s);var h,S,T,P,I=[],H=[],K=-1,V=function(){for(P=P||s.once,T=h=!0;H.length;K=-1)for(S=H.shift();++K<I.length;)I[K].apply(S[0],S[1])===!1&&s.stopOnFalse&&(K=I.length,S=!1);s.memory||(S=!1),h=!1,P&&(S?I=[]:I="")},Z={add:function(){return I&&(S&&!h&&(K=I.length-1,H.push(S)),function se(de){r.each(de,function(te,oe){D(oe)?(!s.unique||!Z.has(oe))&&I.push(oe):oe&&oe.length&&t(oe)!=="string"&&se(oe)})}(arguments),S&&!h&&V()),this},remove:function(){return r.each(arguments,function(se,de){for(var te;(te=r.inArray(de,I,te))>-1;)I.splice(te,1),te<=K&&K--}),this},has:function(se){return se?r.inArray(se,I)>-1:I.length>0},empty:function(){return I&&(I=[]),this},disable:function(){return P=H=[],I=S="",this},disabled:function(){return!I},lock:function(){return P=H=[],!S&&!h&&(I=S=""),this},locked:function(){return!!P},fireWith:function(se,de){return P||(de=de||[],de=[se,de.slice?de.slice():de],H.push(de),h||V()),this},fire:function(){return Z.fireWith(this,arguments),this},fired:function(){return!!T}};return Z};function ve(s){return s}function W(s){throw s}function _e(s,h,S,T){var P;try{s&&D(P=s.promise)?P.call(s).done(h).fail(S):s&&D(P=s.then)?P.call(s,h,S):h.apply(void 0,[s].slice(T))}catch(I){S.apply(void 0,[I])}}r.extend({Deferred:function(s){var h=[["notify","progress",r.Callbacks("memory"),r.Callbacks("memory"),2],["resolve","done",r.Callbacks("once memory"),r.Callbacks("once memory"),0,"resolved"],["reject","fail",r.Callbacks("once memory"),r.Callbacks("once memory"),1,"rejected"]],S="pending",T={state:function(){return S},always:function(){return P.done(arguments).fail(arguments),this},catch:function(I){return T.then(null,I)},pipe:function(){var I=arguments;return r.Deferred(function(H){r.each(h,function(K,V){var Z=D(I[V[4]])&&I[V[4]];P[V[1]](function(){var se=Z&&Z.apply(this,arguments);se&&D(se.promise)?se.promise().progress(H.notify).done(H.resolve).fail(H.reject):H[V[0]+"With"](this,Z?[se]:arguments)})}),I=null}).promise()},then:function(I,H,K){var V=0;function Z(se,de,te,oe){return function(){var Ee=this,Fe=arguments,ke=function(){var ot,Lt;if(!(se<V)){if(ot=te.apply(Ee,Fe),ot===de.promise())throw new TypeError("Thenable self-resolution");Lt=ot&&(typeof ot=="object"||typeof ot=="function")&&ot.then,D(Lt)?oe?Lt.call(ot,Z(V,de,ve,oe),Z(V,de,W,oe)):(V++,Lt.call(ot,Z(V,de,ve,oe),Z(V,de,W,oe),Z(V,de,ve,de.notifyWith))):(te!==ve&&(Ee=void 0,Fe=[ot]),(oe||de.resolveWith)(Ee,Fe))}},ct=oe?ke:function(){try{ke()}catch(ot){r.Deferred.exceptionHook&&r.Deferred.exceptionHook(ot,ct.stackTrace),se+1>=V&&(te!==W&&(Ee=void 0,Fe=[ot]),de.rejectWith(Ee,Fe))}};se?ct():(r.Deferred.getStackHook&&(ct.stackTrace=r.Deferred.getStackHook()),f.setTimeout(ct))}}return r.Deferred(function(se){h[0][3].add(Z(0,se,D(K)?K:ve,se.notifyWith)),h[1][3].add(Z(0,se,D(I)?I:ve)),h[2][3].add(Z(0,se,D(H)?H:W))}).promise()},promise:function(I){return I!=null?r.extend(I,T):T}},P={};return r.each(h,function(I,H){var K=H[2],V=H[5];T[H[1]]=K.add,V&&K.add(function(){S=V},h[3-I][2].disable,h[3-I][3].disable,h[0][2].lock,h[0][3].lock),K.add(H[3].fire),P[H[0]]=function(){return P[H[0]+"With"](this===P?void 0:this,arguments),this},P[H[0]+"With"]=K.fireWith}),T.promise(P),s&&s.call(P,P),P},when:function(s){var h=arguments.length,S=h,T=Array(S),P=x.call(arguments),I=r.Deferred(),H=function(K){return function(V){T[K]=this,P[K]=arguments.length>1?x.call(arguments):V,--h||I.resolveWith(T,P)}};if(h<=1&&(_e(s,I.done(H(S)).resolve,I.reject,!h),I.state()==="pending"||D(P[S]&&P[S].then)))return I.then();for(;S--;)_e(P[S],H(S),I.reject);return I.promise()}});var be=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;r.Deferred.exceptionHook=function(s,h){f.console&&f.console.warn&&s&&be.test(s.name)&&f.console.warn("jQuery.Deferred exception: "+s.message,s.stack,h)},r.readyException=function(s){f.setTimeout(function(){throw s})};var Pe=r.Deferred();r.fn.ready=function(s){return Pe.then(s).catch(function(h){r.readyException(h)}),this},r.extend({isReady:!1,readyWait:1,ready:function(s){(s===!0?--r.readyWait:r.isReady)||(r.isReady=!0,!(s!==!0&&--r.readyWait>0)&&Pe.resolveWith(o,[r]))}}),r.ready.then=Pe.then;function X(){o.removeEventListener("DOMContentLoaded",X),f.removeEventListener("load",X),r.ready()}o.readyState==="complete"||o.readyState!=="loading"&&!o.documentElement.doScroll?f.setTimeout(r.ready):(o.addEventListener("DOMContentLoaded",X),f.addEventListener("load",X));var Oe=function(s,h,S,T,P,I,H){var K=0,V=s.length,Z=S==null;if(t(S)==="object"){P=!0;for(K in S)Oe(s,h,K,S[K],!0,I,H)}else if(T!==void 0&&(P=!0,D(T)||(H=!0),Z&&(H?(h.call(s,T),h=null):(Z=h,h=function(se,de,te){return Z.call(r(se),te)})),h))for(;K<V;K++)h(s[K],S,H?T:T.call(s[K],K,h(s[K],S)));return P?s:Z?h.call(s):V?h(s[0],S):I},re=/^-ms-/,ae=/-([a-z])/g;function z(s,h){return h.toUpperCase()}function U(s){return s.replace(re,"ms-").replace(ae,z)}var Y=function(s){return s.nodeType===1||s.nodeType===9||!+s.nodeType};function Se(){this.expando=r.expando+Se.uid++}Se.uid=1,Se.prototype={cache:function(s){var h=s[this.expando];return h||(h={},Y(s)&&(s.nodeType?s[this.expando]=h:Object.defineProperty(s,this.expando,{value:h,configurable:!0}))),h},set:function(s,h,S){var T,P=this.cache(s);if(typeof h=="string")P[U(h)]=S;else for(T in h)P[U(T)]=h[T];return P},get:function(s,h){return h===void 0?this.cache(s):s[this.expando]&&s[this.expando][U(h)]},access:function(s,h,S){return h===void 0||h&&typeof h=="string"&&S===void 0?this.get(s,h):(this.set(s,h,S),S!==void 0?S:h)},remove:function(s,h){var S,T=s[this.expando];if(T!==void 0){if(h!==void 0)for(Array.isArray(h)?h=h.map(U):(h=U(h),h=h in T?[h]:h.match(Q)||[]),S=h.length;S--;)delete T[h[S]];(h===void 0||r.isEmptyObject(T))&&(s.nodeType?s[this.expando]=void 0:delete s[this.expando])}},hasData:function(s){var h=s[this.expando];return h!==void 0&&!r.isEmptyObject(h)}};var he=new Se,xe=new Se,ge=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,tt=/[A-Z]/g;function rt(s){return s==="true"?!0:s==="false"?!1:s==="null"?null:s===+s+""?+s:ge.test(s)?JSON.parse(s):s}function De(s,h,S){var T;if(S===void 0&&s.nodeType===1)if(T="data-"+h.replace(tt,"-$&").toLowerCase(),S=s.getAttribute(T),typeof S=="string"){try{S=rt(S)}catch{}xe.set(s,h,S)}else S=void 0;return S}r.extend({hasData:function(s){return xe.hasData(s)||he.hasData(s)},data:function(s,h,S){return xe.access(s,h,S)},removeData:function(s,h){xe.remove(s,h)},_data:function(s,h,S){return he.access(s,h,S)},_removeData:function(s,h){he.remove(s,h)}}),r.fn.extend({data:function(s,h){var S,T,P,I=this[0],H=I&&I.attributes;if(s===void 0){if(this.length&&(P=xe.get(I),I.nodeType===1&&!he.get(I,"hasDataAttrs"))){for(S=H.length;S--;)H[S]&&(T=H[S].name,T.indexOf("data-")===0&&(T=U(T.slice(5)),De(I,T,P[T])));he.set(I,"hasDataAttrs",!0)}return P}return typeof s=="object"?this.each(function(){xe.set(this,s)}):Oe(this,function(K){var V;if(I&&K===void 0)return V=xe.get(I,s),V!==void 0||(V=De(I,s),V!==void 0)?V:void 0;this.each(function(){xe.set(this,s,K)})},null,h,arguments.length>1,null,!0)},removeData:function(s){return this.each(function(){xe.remove(this,s)})}}),r.extend({queue:function(s,h,S){var T;if(s)return h=(h||"fx")+"queue",T=he.get(s,h),S&&(!T||Array.isArray(S)?T=he.access(s,h,r.makeArray(S)):T.push(S)),T||[]},dequeue:function(s,h){h=h||"fx";var S=r.queue(s,h),T=S.length,P=S.shift(),I=r._queueHooks(s,h),H=function(){r.dequeue(s,h)};P==="inprogress"&&(P=S.shift(),T--),P&&(h==="fx"&&S.unshift("inprogress"),delete I.stop,P.call(s,H,I)),!T&&I&&I.empty.fire()},_queueHooks:function(s,h){var S=h+"queueHooks";return he.get(s,S)||he.access(s,S,{empty:r.Callbacks("once memory").add(function(){he.remove(s,[h+"queue",S])})})}}),r.fn.extend({queue:function(s,h){var S=2;return typeof s!="string"&&(h=s,s="fx",S--),arguments.length<S?r.queue(this[0],s):h===void 0?this:this.each(function(){var T=r.queue(this,s,h);r._queueHooks(this,s),s==="fx"&&T[0]!=="inprogress"&&r.dequeue(this,s)})},dequeue:function(s){return this.each(function(){r.dequeue(this,s)})},clearQueue:function(s){return this.queue(s||"fx",[])},promise:function(s,h){var S,T=1,P=r.Deferred(),I=this,H=this.length,K=function(){--T||P.resolveWith(I,[I])};for(typeof s!="string"&&(h=s,s=void 0),s=s||"fx";H--;)S=he.get(I[H],s+"queueHooks"),S&&S.empty&&(T++,S.empty.add(K));return K(),P.promise(h)}});var $e=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,it=new RegExp("^(?:([+-])=|)("+$e+")([a-z%]*)$","i"),nt=["Top","Right","Bottom","Left"],St=o.documentElement,Yt=function(s){return r.contains(s.ownerDocument,s)},Ui={composed:!0};St.getRootNode&&(Yt=function(s){return r.contains(s.ownerDocument,s)||s.getRootNode(Ui)===s.ownerDocument});var dr=function(s,h){return s=h||s,s.style.display==="none"||s.style.display===""&&Yt(s)&&r.css(s,"display")==="none"};function ti(s,h,S,T){var P,I,H=20,K=T?function(){return T.cur()}:function(){return r.css(s,h,"")},V=K(),Z=S&&S[3]||(r.cssNumber[h]?"":"px"),se=s.nodeType&&(r.cssNumber[h]||Z!=="px"&&+V)&&it.exec(r.css(s,h));if(se&&se[3]!==Z){for(V=V/2,Z=Z||se[3],se=+V||1;H--;)r.style(s,h,se+Z),(1-I)*(1-(I=K()/V||.5))<=0&&(H=0),se=se/I;se=se*2,r.style(s,h,se+Z),S=S||[]}return S&&(se=+se||+V||0,P=S[1]?se+(S[1]+1)*S[2]:+S[2],T&&(T.unit=Z,T.start=se,T.end=P)),P}var ri={};function zi(s){var h,S=s.ownerDocument,T=s.nodeName,P=ri[T];return P||(h=S.body.appendChild(S.createElement(T)),P=r.css(h,"display"),h.parentNode.removeChild(h),P==="none"&&(P="block"),ri[T]=P,P)}function It(s,h){for(var S,T,P=[],I=0,H=s.length;I<H;I++)T=s[I],T.style&&(S=T.style.display,h?(S==="none"&&(P[I]=he.get(T,"display")||null,P[I]||(T.style.display="")),T.style.display===""&&dr(T)&&(P[I]=zi(T))):S!=="none"&&(P[I]="none",he.set(T,"display",S)));for(I=0;I<H;I++)P[I]!=null&&(s[I].style.display=P[I]);return s}r.fn.extend({show:function(){return It(this,!0)},hide:function(){return It(this)},toggle:function(s){return typeof s=="boolean"?s?this.show():this.hide():this.each(function(){dr(this)?r(this).show():r(this).hide()})}});var Zt=/^(?:checkbox|radio)$/i,Lr=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Rr=/^$|^module$|\/(?:java|ecma)script/i;(function(){var s=o.createDocumentFragment(),h=s.appendChild(o.createElement("div")),S=o.createElement("input");S.setAttribute("type","radio"),S.setAttribute("checked","checked"),S.setAttribute("name","t"),h.appendChild(S),E.checkClone=h.cloneNode(!0).cloneNode(!0).lastChild.checked,h.innerHTML="<textarea>x</textarea>",E.noCloneChecked=!!h.cloneNode(!0).lastChild.defaultValue,h.innerHTML="<option></option>",E.option=!!h.lastChild})();var pt={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,"",""]};pt.tbody=pt.tfoot=pt.colgroup=pt.caption=pt.thead,pt.th=pt.td,E.option||(pt.optgroup=pt.option=[1,"<select multiple='multiple'>","</select>"]);function at(s,h){var S;return typeof s.getElementsByTagName<"u"?S=s.getElementsByTagName(h||"*"):typeof s.querySelectorAll<"u"?S=s.querySelectorAll(h||"*"):S=[],h===void 0||h&&k(s,h)?r.merge([s],S):S}function pr(s,h){for(var S=0,T=s.length;S<T;S++)he.set(s[S],"globalEval",!h||he.get(h[S],"globalEval"))}var ii=/<|&#?\w+;/;function Ar(s,h,S,T,P){for(var I,H,K,V,Z,se,de=h.createDocumentFragment(),te=[],oe=0,Ee=s.length;oe<Ee;oe++)if(I=s[oe],I||I===0)if(t(I)==="object")r.merge(te,I.nodeType?[I]:I);else if(!ii.test(I))te.push(h.createTextNode(I));else{for(H=H||de.appendChild(h.createElement("div")),K=(Lr.exec(I)||["",""])[1].toLowerCase(),V=pt[K]||pt._default,H.innerHTML=V[1]+r.htmlPrefilter(I)+V[2],se=V[0];se--;)H=H.lastChild;r.merge(te,H.childNodes),H=de.firstChild,H.textContent=""}for(de.textContent="",oe=0;I=te[oe++];){if(T&&r.inArray(I,T)>-1){P&&P.push(I);continue}if(Z=Yt(I),H=at(de.appendChild(I),"script"),Z&&pr(H),S)for(se=0;I=H[se++];)Rr.test(I.type||"")&&S.push(I)}return de}var Mr=/^([^.]*)(?:\.(.+)|)/;function jt(){return!0}function Ht(){return!1}function ni(s,h){return s===si()==(h==="focus")}function si(){try{return o.activeElement}catch{}}function _r(s,h,S,T,P,I){var H,K;if(typeof h=="object"){typeof S!="string"&&(T=T||S,S=void 0);for(K in h)_r(s,K,S,T,h[K],I);return s}if(T==null&&P==null?(P=S,T=S=void 0):P==null&&(typeof S=="string"?(P=T,T=void 0):(P=T,T=S,S=void 0)),P===!1)P=Ht;else if(!P)return s;return I===1&&(H=P,P=function(V){return r().off(V),H.apply(this,arguments)},P.guid=H.guid||(H.guid=r.guid++)),s.each(function(){r.event.add(this,h,P,T,S)})}r.event={global:{},add:function(s,h,S,T,P){var I,H,K,V,Z,se,de,te,oe,Ee,Fe,ke=he.get(s);if(!!Y(s))for(S.handler&&(I=S,S=I.handler,P=I.selector),P&&r.find.matchesSelector(St,P),S.guid||(S.guid=r.guid++),(V=ke.events)||(V=ke.events=Object.create(null)),(H=ke.handle)||(H=ke.handle=function(ct){return typeof r<"u"&&r.event.triggered!==ct.type?r.event.dispatch.apply(s,arguments):void 0}),h=(h||"").match(Q)||[""],Z=h.length;Z--;)K=Mr.exec(h[Z])||[],oe=Fe=K[1],Ee=(K[2]||"").split(".").sort(),oe&&(de=r.event.special[oe]||{},oe=(P?de.delegateType:de.bindType)||oe,de=r.event.special[oe]||{},se=r.extend({type:oe,origType:Fe,data:T,handler:S,guid:S.guid,selector:P,needsContext:P&&r.expr.match.needsContext.test(P),namespace:Ee.join(".")},I),(te=V[oe])||(te=V[oe]=[],te.delegateCount=0,(!de.setup||de.setup.call(s,T,Ee,H)===!1)&&s.addEventListener&&s.addEventListener(oe,H)),de.add&&(de.add.call(s,se),se.handler.guid||(se.handler.guid=S.guid)),P?te.splice(te.delegateCount++,0,se):te.push(se),r.event.global[oe]=!0)},remove:function(s,h,S,T,P){var I,H,K,V,Z,se,de,te,oe,Ee,Fe,ke=he.hasData(s)&&he.get(s);if(!(!ke||!(V=ke.events))){for(h=(h||"").match(Q)||[""],Z=h.length;Z--;){if(K=Mr.exec(h[Z])||[],oe=Fe=K[1],Ee=(K[2]||"").split(".").sort(),!oe){for(oe in V)r.event.remove(s,oe+h[Z],S,T,!0);continue}for(de=r.event.special[oe]||{},oe=(T?de.delegateType:de.bindType)||oe,te=V[oe]||[],K=K[2]&&new RegExp("(^|\\.)"+Ee.join("\\.(?:.*\\.|)")+"(\\.|$)"),H=I=te.length;I--;)se=te[I],(P||Fe===se.origType)&&(!S||S.guid===se.guid)&&(!K||K.test(se.namespace))&&(!T||T===se.selector||T==="**"&&se.selector)&&(te.splice(I,1),se.selector&&te.delegateCount--,de.remove&&de.remove.call(s,se));H&&!te.length&&((!de.teardown||de.teardown.call(s,Ee,ke.handle)===!1)&&r.removeEvent(s,oe,ke.handle),delete V[oe])}r.isEmptyObject(V)&&he.remove(s,"handle events")}},dispatch:function(s){var h,S,T,P,I,H,K=new Array(arguments.length),V=r.event.fix(s),Z=(he.get(this,"events")||Object.create(null))[V.type]||[],se=r.event.special[V.type]||{};for(K[0]=V,h=1;h<arguments.length;h++)K[h]=arguments[h];if(V.delegateTarget=this,!(se.preDispatch&&se.preDispatch.call(this,V)===!1)){for(H=r.event.handlers.call(this,V,Z),h=0;(P=H[h++])&&!V.isPropagationStopped();)for(V.currentTarget=P.elem,S=0;(I=P.handlers[S++])&&!V.isImmediatePropagationStopped();)(!V.rnamespace||I.namespace===!1||V.rnamespace.test(I.namespace))&&(V.handleObj=I,V.data=I.data,T=((r.event.special[I.origType]||{}).handle||I.handler).apply(P.elem,K),T!==void 0&&(V.result=T)===!1&&(V.preventDefault(),V.stopPropagation()));return se.postDispatch&&se.postDispatch.call(this,V),V.result}},handlers:function(s,h){var S,T,P,I,H,K=[],V=h.delegateCount,Z=s.target;if(V&&Z.nodeType&&!(s.type==="click"&&s.button>=1)){for(;Z!==this;Z=Z.parentNode||this)if(Z.nodeType===1&&!(s.type==="click"&&Z.disabled===!0)){for(I=[],H={},S=0;S<V;S++)T=h[S],P=T.selector+" ",H[P]===void 0&&(H[P]=T.needsContext?r(P,this).index(Z)>-1:r.find(P,this,null,[Z]).length),H[P]&&I.push(T);I.length&&K.push({elem:Z,handlers:I})}}return Z=this,V<h.length&&K.push({elem:Z,handlers:h.slice(V)}),K},addProp:function(s,h){Object.defineProperty(r.Event.prototype,s,{enumerable:!0,configurable:!0,get:D(h)?function(){if(this.originalEvent)return h(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[s]},set:function(S){Object.defineProperty(this,s,{enumerable:!0,configurable:!0,writable:!0,value:S})}})},fix:function(s){return s[r.expando]?s:new r.Event(s)},special:{load:{noBubble:!0},click:{setup:function(s){var h=this||s;return Zt.test(h.type)&&h.click&&k(h,"input")&&ir(h,"click",jt),!1},trigger:function(s){var h=this||s;return Zt.test(h.type)&&h.click&&k(h,"input")&&ir(h,"click"),!0},_default:function(s){var h=s.target;return Zt.test(h.type)&&h.click&&k(h,"input")&&he.get(h,"click")||k(h,"a")}},beforeunload:{postDispatch:function(s){s.result!==void 0&&s.originalEvent&&(s.originalEvent.returnValue=s.result)}}}};function ir(s,h,S){if(!S){he.get(s,h)===void 0&&r.event.add(s,h,jt);return}he.set(s,h,!1),r.event.add(s,h,{namespace:!1,handler:function(T){var P,I,H=he.get(this,h);if(T.isTrigger&1&&this[h]){if(H.length)(r.event.special[h]||{}).delegateType&&T.stopPropagation();else if(H=x.call(arguments),he.set(this,h,H),P=S(this,h),this[h](),I=he.get(this,h),H!==I||P?he.set(this,h,!1):I={},H!==I)return T.stopImmediatePropagation(),T.preventDefault(),I&&I.value}else H.length&&(he.set(this,h,{value:r.event.trigger(r.extend(H[0],r.Event.prototype),H.slice(1),this)}),T.stopImmediatePropagation())}})}r.removeEvent=function(s,h,S){s.removeEventListener&&s.removeEventListener(h,S)},r.Event=function(s,h){if(!(this instanceof r.Event))return new r.Event(s,h);s&&s.type?(this.originalEvent=s,this.type=s.type,this.isDefaultPrevented=s.defaultPrevented||s.defaultPrevented===void 0&&s.returnValue===!1?jt:Ht,this.target=s.target&&s.target.nodeType===3?s.target.parentNode:s.target,this.currentTarget=s.currentTarget,this.relatedTarget=s.relatedTarget):this.type=s,h&&r.extend(this,h),this.timeStamp=s&&s.timeStamp||Date.now(),this[r.expando]=!0},r.Event.prototype={constructor:r.Event,isDefaultPrevented:Ht,isPropagationStopped:Ht,isImmediatePropagationStopped:Ht,isSimulated:!1,preventDefault:function(){var s=this.originalEvent;this.isDefaultPrevented=jt,s&&!this.isSimulated&&s.preventDefault()},stopPropagation:function(){var s=this.originalEvent;this.isPropagationStopped=jt,s&&!this.isSimulated&&s.stopPropagation()},stopImmediatePropagation:function(){var s=this.originalEvent;this.isImmediatePropagationStopped=jt,s&&!this.isSimulated&&s.stopImmediatePropagation(),this.stopPropagation()}},r.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},r.event.addProp),r.each({focus:"focusin",blur:"focusout"},function(s,h){r.event.special[s]={setup:function(){return ir(this,s,ni),!1},trigger:function(){return ir(this,s),!0},_default:function(){return!0},delegateType:h}}),r.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(s,h){r.event.special[s]={delegateType:h,bindType:h,handle:function(S){var T,P=this,I=S.relatedTarget,H=S.handleObj;return(!I||I!==P&&!r.contains(P,I))&&(S.type=H.origType,T=H.handler.apply(this,arguments),S.type=h),T}}}),r.fn.extend({on:function(s,h,S,T){return _r(this,s,h,S,T)},one:function(s,h,S,T){return _r(this,s,h,S,T,1)},off:function(s,h,S){var T,P;if(s&&s.preventDefault&&s.handleObj)return T=s.handleObj,r(s.delegateTarget).off(T.namespace?T.origType+"."+T.namespace:T.origType,T.selector,T.handler),this;if(typeof s=="object"){for(P in s)this.off(P,h,s[P]);