UNPKG

universalviewer

Version:

The Universal Viewer is a community-developed open source project on a mission to help you share your 📚📜📰📽️📻🗿 with the 🌎

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