/*! jQuery v3.5.1 | (c) JS Foundation and other contributors | jquery.org/license */ !function(f,H){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=f.document?H(f,!0):function(f){if(!f.document)throw new Error("jQuery requires a window with a document");return H(f)}:H(f)}("undefined"!=typeof window?window:this,function(f,H){"use strict";var g=[],D=Object.getPrototypeOf,fj=g.slice,gN=g.flat?function(f){return g.flat.call(f)}:function(f){return g.concat.apply([],f)},fL=g.push,d=g.indexOf,W={},fN=W.toString,gS=W.hasOwnProperty,e=gS.toString,ge=e.call(Object),R={},b=function(f){return"function"==typeof f&&"number"!=typeof f.nodeType},De=function(f){return null!=f&&f===f.window},fg=f.document,Wg={type:!0,src:!0,nonce:!0,noModule:!0};function J(f,H,g){var D,fj,gN=(g=g||fg).createElement("script");if(gN.text=f,H)for(D in Wg)(fj=H[D]||H.getAttribute&&H.getAttribute(D))&&gN.setAttribute(D,fj);g.head.appendChild(gN).parentNode.removeChild(gN)}function ed(f){return null==f?f+"":"object"==typeof f||"function"==typeof f?W[fN.call(f)]||"object":typeof f}var fX="3.5.1",fXc=function(f,H){return new fXc.fn.init(f,H)};function I(f){var H=!!f&&"length"in f&&f.length,g=ed(f);return!b(f)&&!De(f)&&("array"===g||0===H||"number"==typeof H&&0+~]|"+i+")"+i+"*"),q=new RegExp(i+"|>"),r=new RegExp(l),s=new RegExp("^"+j+"$"),t={ID:new RegExp("^#("+j+")"),CLASS:new RegExp("^\\.("+j+")"),TAG:new RegExp("^("+j+"|[*])"),ATTR:new RegExp("^"+k),PSEUDO:new RegExp("^"+l),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+i+"*(even|odd|(([+-]|)(\\d*)n|)"+i+"*(?:([+-]|)"+i+"*(\\d+)|))"+i+"*\\)|)","i"),bool:new RegExp("^(?:"+h+")$","i"),needsContext:new RegExp("^"+i+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+i+"*((?:-\\d)?\\d*)"+i+"*\\)|)(?=[^-]|$)","i")},u=/HTML$/i,v=/^(?:input|select|textarea|button)$/i,w=/^h\d$/i,x=/^[^{]+\{\s*\[native \w/,y=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,z=/[+~]/,A=new RegExp("\\\\[\\da-fA-F]{1,6}"+i+"?|\\\\([^\\r\\n\\f])","g"),E=function(f,H){var g="0x"+f.slice(1)-65536;return H||(g<0?String.fromCharCode(g+65536):String.fromCharCode(g>>10|55296,1023&g|56320))},F=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,G=function(f,H){return H?"\0"===f?"�":f.slice(0,-1)+"\\"+f.charCodeAt(f.length-1).toString(16)+" ":"\\"+f},K=function(){ge()},L=_(function(f){return!0===f.disabled&&"fieldset"===f.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{aG.apply(a=aX.call(fXc.childNodes),fXc.childNodes),a[fXc.childNodes.length].nodeType}catch(H){aG={apply:a.length?function(f,H){C.apply(f,aX.call(H))}:function(f,H){var g=f.length,D=0;while(f[g++]=H[D++]);f.length=g-1}}}function M(f,H,D,fj){var gN,d,fN,gS,e,b,Wg,J=H&&H.ownerDocument,fXc=H?H.nodeType:9;if(D=D||[],"string"!=typeof f||!f||1!==fXc&&9!==fXc&&11!==fXc)return D;if(!fj&&(ge(H),H=H||R,De)){if(11!==fXc&&(e=y.exec(f)))if(gN=e[1]){if(9===fXc){if(!(fN=H.getElementById(gN)))return D;if(fN.id===gN)return D.push(fN),D}else if(J&&(fN=J.getElementById(gN))&&ed(H,fN)&&fN.id===gN)return D.push(fN),D}else{if(e[2])return aG.apply(D,H.getElementsByTagName(f)),D;if((gN=e[3])&&g.getElementsByClassName&&H.getElementsByClassName)return aG.apply(D,H.getElementsByClassName(gN)),D}if(g.qsa&&!fF[f+" "]&&(!fg||!fg.test(f))&&(1!==fXc||"object"!==H.nodeName.toLowerCase())){if(Wg=f,J=H,1===fXc&&(q.test(f)||p.test(f))){(J=z.test(f)&&Y(H.parentNode)||H)===H&&g.scope||((gS=H.getAttribute("id"))?gS=gS.replace(F,G):H.setAttribute("id",gS=fX)),d=(b=fL(f)).length;while(d--)b[d]=(gS?"#"+gS:":scope")+" "+$(b[d]);Wg=b.join(",")}try{return aG.apply(D,J.querySelectorAll(Wg)),D}catch(H){fF(f,!0)}finally{gS===fX&&H.removeAttribute("id")}}}return W(f.replace(n,"$1"),H,D,fj)}function N(){var f=[];return function H(g,fj){return f.push(g+" ")>D.cacheLength&&delete H[f.shift()],H[g+" "]=fj}}function O(f){return f[fX]=!0,f}function P(f){var H=R.createElement("fieldset");try{return!!f(H)}catch(f){return!1}finally{H.parentNode&&H.parentNode.removeChild(H),H=null}}function Q(f,H){var g=f.split("|"),fj=g.length;while(fj--)D.attrHandle[g[fj]]=H}function S(f,H){var g=H&&f,D=g&&1===f.nodeType&&1===H.nodeType&&f.sourceIndex-H.sourceIndex;if(D)return D;if(g)while(g=g.nextSibling)if(g===H)return-1;return f?1:-1}function T(f){return function(H){return"input"===H.nodeName.toLowerCase()&&H.type===f}}function U(f){return function(H){var g=H.nodeName.toLowerCase();return("input"===g||"button"===g)&&H.type===f}}function V(f){return function(H){return"form"in H?H.parentNode&&!1===H.disabled?"label"in H?"label"in H.parentNode?H.parentNode.disabled===f:H.disabled===f:H.isDisabled===f||H.isDisabled!==!f&&L(H)===f:H.disabled===f:"label"in H&&H.disabled===f}}function X(f){return O(function(H){return H=+H,O(function(g,D){var fj,gN=f([],g.length,H),fL=gN.length;while(fL--)g[fj=gN[fL]]&&(g[fj]=!(D[fj]=g[fj]))})})}function Y(f){return f&&"undefined"!=typeof f.getElementsByTagName&&f}for(H in g=M.support={},gN=M.isXML=function(f){var H=f.namespaceURI,g=(f.ownerDocument||f).documentElement;return!u.test(H||g&&g.nodeName||"HTML")},ge=M.setDocument=function(f){var H,fj,fL=f?f.ownerDocument||f:fXc;return fL!=R&&9===fL.nodeType&&fL.documentElement&&(b=(R=fL).documentElement,De=!gN(R),fXc!=R&&(fj=R.defaultView)&&fj.top!==fj&&(fj.addEventListener?fj.addEventListener("unload",K,!1):fj.attachEvent&&fj.attachEvent("onunload",K)),g.scope=P(function(f){return b.appendChild(f).appendChild(R.createElement("div")),"undefined"!=typeof f.querySelectorAll&&!f.querySelectorAll(":scope fieldset div").length}),g.attributes=P(function(f){return f.className="i",!f.getAttribute("className")}),g.getElementsByTagName=P(function(f){return f.appendChild(R.createComment("")),!f.getElementsByTagName("*").length}),g.getElementsByClassName=x.test(R.getElementsByClassName),g.getById=P(function(f){return b.appendChild(f).id=fX,!R.getElementsByName||!R.getElementsByName(fX).length}),g.getById?(D.filter.ID=function(f){var H=f.replace(A,E);return function(f){return f.getAttribute("id")===H}},D.find.ID=function(f,H){if("undefined"!=typeof H.getElementById&&De){var g=H.getElementById(f);return g?[g]:[]}}):(D.filter.ID=function(f){var H=f.replace(A,E);return function(f){var g="undefined"!=typeof f.getAttributeNode&&f.getAttributeNode("id");return g&&g.value===H}},D.find.ID=function(f,H){if("undefined"!=typeof H.getElementById&&De){var g,D,fj,gN=H.getElementById(f);if(gN){if((g=gN.getAttributeNode("id"))&&g.value===f)return[gN];fj=H.getElementsByName(f),D=0;while(gN=fj[D++])if((g=gN.getAttributeNode("id"))&&g.value===f)return[gN]}return[]}}),D.find.TAG=g.getElementsByTagName?function(f,H){return"undefined"!=typeof H.getElementsByTagName?H.getElementsByTagName(f):g.qsa?H.querySelectorAll(f):void 0}:function(f,H){var g,D=[],fj=0,gN=H.getElementsByTagName(f);if("*"===f){while(g=gN[fj++])1===g.nodeType&&D.push(g);return D}return gN},D.find.CLASS=g.getElementsByClassName&&function(f,H){if("undefined"!=typeof H.getElementsByClassName&&De)return H.getElementsByClassName(f)},Wg=[],fg=[],(g.qsa=x.test(R.querySelectorAll))&&(P(function(f){var H;b.appendChild(f).innerHTML="",f.querySelectorAll("[msallowcapture^='']").length&&fg.push("[*^$]="+i+"*(?:''|\"\")"),f.querySelectorAll("[selected]").length||fg.push("\\["+i+"*(?:value|"+h+")"),f.querySelectorAll("[id~="+fX+"-]").length||fg.push("~="),(H=R.createElement("input")).setAttribute("name",""),f.appendChild(H),f.querySelectorAll("[name='']").length||fg.push("\\["+i+"*name"+i+"*="+i+"*(?:''|\"\")"),f.querySelectorAll(":checked").length||fg.push(":checked"),f.querySelectorAll("a#"+fX+"+*").length||fg.push(".#.+[+~]"),f.querySelectorAll("\\\f"),fg.push("[\\r\\n\\f]")}),P(function(f){f.innerHTML="";var H=R.createElement("input");H.setAttribute("type","hidden"),f.appendChild(H).setAttribute("name","D"),f.querySelectorAll("[name=d]").length&&fg.push("name"+i+"*[*^$|!~]?="),2!==f.querySelectorAll(":enabled").length&&fg.push(":enabled",":disabled"),b.appendChild(f).disabled=!0,2!==f.querySelectorAll(":disabled").length&&fg.push(":enabled",":disabled"),f.querySelectorAll("*,:x"),fg.push(",.*:")})),(g.matchesSelector=x.test(J=b.matches||b.webkitMatchesSelector||b.mozMatchesSelector||b.oMatchesSelector||b.msMatchesSelector))&&P(function(f){g.disconnectedMatch=J.call(f,"*"),J.call(f,"[s!='']:x"),Wg.push("!=",l)}),fg=fg.length&&new RegExp(fg.join("|")),Wg=Wg.length&&new RegExp(Wg.join("|")),H=x.test(b.compareDocumentPosition),ed=H||x.test(b.contains)?function(f,H){var g=9===f.nodeType?f.documentElement:f,D=H&&H.parentNode;return f===D||!(!D||1!==D.nodeType||!(g.contains?g.contains(D):f.compareDocumentPosition&&16&f.compareDocumentPosition(D)))}:function(f,H){if(H)while(H=H.parentNode)if(H===f)return!0;return!1},bX=H?function(f,H){if(f===H)return e=!0,0;var D=!f.compareDocumentPosition-!H.compareDocumentPosition;return D||(1&(D=(f.ownerDocument||f)==(H.ownerDocument||H)?f.compareDocumentPosition(H):1)||!g.sortDetached&&H.compareDocumentPosition(f)===D?f==R||f.ownerDocument==fXc&&ed(fXc,f)?-1:H==R||H.ownerDocument==fXc&&ed(fXc,H)?1:gS?c(gS,f)-c(gS,H):0:4&D?-1:1)}:function(f,H){if(f===H)return e=!0,0;var g,D=0,fj=f.parentNode,gN=H.parentNode,fL=[f],d=[H];if(!fj||!gN)return f==R?-1:H==R?1:fj?-1:gN?1:gS?c(gS,f)-c(gS,H):0;if(fj===gN)return S(f,H);g=f;while(g=g.parentNode)fL.unshift(g);g=H;while(g=g.parentNode)d.unshift(g);while(fL[D]===d[D])D++;return D?S(fL[D],d[D]):fL[D]==fXc?-1:d[D]==fXc?1:0}),R},M.matches=function(f,H){return M(f,null,null,H)},M.matchesSelector=function(f,H){if(ge(f),g.matchesSelector&&De&&!fF[H+" "]&&(!Wg||!Wg.test(H))&&(!fg||!fg.test(H)))try{var D=J.call(f,H);if(D||g.disconnectedMatch||f.document&&11!==f.document.nodeType)return D}catch(f){fF(H,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(f){return f[1]=f[1].replace(A,E),f[3]=(f[3]||f[4]||f[5]||"").replace(A,E),"~="===f[2]&&(f[3]=" "+f[3]+" "),f.slice(0,4)},CHILD:function(f){return f[1]=f[1].toLowerCase(),"nth"===f[1].slice(0,3)?(f[3]||M.error(f[0]),f[4]=+(f[4]?f[5]+(f[6]||1):2*("even"===f[3]||"odd"===f[3])),f[5]=+(f[7]+f[8]||"odd"===f[3])):f[3]&&M.error(f[0]),f},PSEUDO:function(f){var H,g=!f[6]&&f[2];return t.CHILD.test(f[0])?null:(f[3]?f[2]=f[4]||f[5]||"":g&&r.test(g)&&(H=fL(g,!0))&&(H=g.indexOf(")",g.length-H)-g.length)&&(f[0]=f[0].slice(0,H),f[2]=g.slice(0,H)),f.slice(0,3))}},filter:{TAG:function(f){var H=f.replace(A,E).toLowerCase();return"*"===f?function(){return!0}:function(f){return f.nodeName&&f.nodeName.toLowerCase()===H}},CLASS:function(f){var H=Ib[f+" "];return H||(H=new RegExp("(^|"+i+")"+f+"("+i+"|$)"))&&Ib(f,function(f){return H.test("string"==typeof f.className&&f.className||"undefined"!=typeof f.getAttribute&&f.getAttribute("class")||"")})},ATTR:function(f,H,g){return function(D){var fj=M.attr(D,f);return null==fj?"!="===H:!H||(fj+="","="===H?fj===g:"!="===H?fj!==g:"^="===H?g&&0===fj.indexOf(g):"*="===H?g&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function dQ(f,H,g){return b(H)?fXc.grep(f,function(f,D){return!!H.call(f,D,f)!==g}):H.nodeType?fXc.grep(f,function(f){return f===H!==g}):"string"!=typeof H?fXc.grep(f,function(f){return-1)[^>]*|#([\w-]+))$/;(fXc.fn.init=function(f,H,g){var D,fj;if(!f)return this;if(g=g||a,"string"==typeof f){if(!(D="<"===f[0]&&">"===f[f.length-1]&&3<=f.length?[null,f,null]:fe.exec(f))||!D[1]&&H)return!H||H.jquery?(H||g).find(f):this.constructor(H).find(f);if(D[1]){if(H=H instanceof fXc?H[0]:H,fXc.merge(this,fXc.parseHTML(D[1],H&&H.nodeType?H.ownerDocument||H:fg,!0)),bX.test(D[1])&&fXc.isPlainObject(H))for(D in H)b(this[D])?this[D](H[D]):this.attr(D,H[D]);return this}return(fj=fg.getElementById(D[2]))&&(this[0]=fj,this.length=1),this}return f.nodeType?(this[0]=f,this.length=1,this):b(f)?void 0!==g.ready?g.ready(f):f(fXc):fXc.makeArray(f,this)}).prototype=fXc.fn,a=fXc(fg);var C=/^(?:parents|prev(?:Until|All))/,aG={children:!0,contents:!0,next:!0,prev:!0};function aX(f,H){while((f=f[H])&&1!==f.nodeType);return f}fXc.fn.extend({has:function(f){var H=fXc(f,this),g=H.length;return this.filter(function(){for(var f=0;f\x20\t\r\n\f]*)/i,U=/^$|^module$|\/(?:java|ecma)script/i;P=fg.createDocumentFragment().appendChild(fg.createElement("div")),(Q=fg.createElement("input")).setAttribute("type","radio"),Q.setAttribute("checked","checked"),Q.setAttribute("name","t"),P.appendChild(Q),R.checkClone=P.cloneNode(!0).cloneNode(!0).lastChild.checked,P.innerHTML="",R.noCloneChecked=!!P.cloneNode(!0).lastChild.defaultValue,P.innerHTML="",R.option=!!P.lastChild;var V={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function X(f,H){var g;return g="undefined"!=typeof f.getElementsByTagName?f.getElementsByTagName(H||"*"):"undefined"!=typeof f.querySelectorAll?f.querySelectorAll(H||"*"):[],void 0===H||H&&fF(f,H)?fXc.merge([f],g):g}function Y(f,H){for(var g=0,D=f.length;g",""]);var Z=/<|&#?\w+;/;function $(f,H,g,D,fj){for(var gN,fL,d,W,fN,gS,e=H.createDocumentFragment(),ge=[],R=0,b=f.length;R\s*$/g;function gSf(f,H){return fF(f,"table")&&fF(11!==H.nodeType?H:H.firstChild,"tr")&&fXc(f).children("tbody")[0]||f}function ef(f){return f.type=(null!==f.getAttribute("type"))+"/"+f.type,f}function gef(f){return"true/"===(f.type||"").slice(0,5)?f.type=f.type.slice(5):f.removeAttribute("type"),f}function Rf(f,H){var g,D,fj,gN,fL,d;if(1===H.nodeType){if(u.hasData(f)&&(d=u.get(f).events))for(fj in u.remove(H,"handle events"),d)for(g=0,D=d[fj].length;g").attr(f.scriptAttrs||{}).prop({charset:f.scriptCharset,src:f.url}).on("load error",g=function(f){H.remove(),g=null,f&&fj("error"===f.type?404:200,f.type)}),fg.head.appendChild(H[0])},abort:function(){g&&g()}}});var fjH,gNH=[],fLH=/(=)\?(?=&|$)|\?\?/;fXc.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var f=gNH.pop()||fXc.expando+"_"+Ff.guid++;return this[f]=!0,f}}),fXc.ajaxPrefilter("json jsonp",function(H,g,D){var fj,gN,fL,d=!1!==H.jsonp&&(fLH.test(H.url)?"url":"string"==typeof H.data&&0===(H.contentType||"").indexOf("application/x-www-form-urlencoded")&&fLH.test(H.data)&&"data");if(d||"jsonp"===H.dataTypes[0])return fj=H.jsonpCallback=b(H.jsonpCallback)?H.jsonpCallback():H.jsonpCallback,d?H[d]=H[d].replace(fLH,"$1"+fj):!1!==H.jsonp&&(H.url+=(Gf.test(H.url)?"&":"?")+H.jsonp+"="+fj),H.converters["script json"]=function(){return fL||fXc.error(fj+" was not called"),fL[0]},H.dataTypes[0]="json",gN=f[fj],f[fj]=function(){fL=arguments},D.always(function(){void 0===gN?fXc(f).removeProp(fj):f[fj]=gN,H[fj]&&(H.jsonpCallback=g.jsonpCallback,gNH.push(fj)),fL&&b(gN)&&gN(fL[0]),fL=gN=void 0}),"script"}),R.createHTMLDocument=((fjH=fg.implementation.createHTMLDocument("").body).innerHTML="
",2===fjH.childNodes.length),fXc.parseHTML=function(f,H,g){return"string"!=typeof f?[]:("boolean"==typeof H&&(g=H,H=!1),H||(R.createHTMLDocument?((D=(H=fg.implementation.createHTMLDocument("")).createElement("base")).href=fg.location.href,H.head.appendChild(D)):H=fg),gN=!g&&[],(fj=bX.exec(f))?[H.createElement(fj[1])]:(fj=$([f],H,gN),gN&&gN.length&&fXc(gN).remove(),fXc.merge([],fj.childNodes)));var D,fj,gN},fXc.fn.load=function(f,H,g){var D,fj,gN,fL=this,d=f.indexOf(" ");return-1").append(fXc.parseHTML(f)).find(D):f)}).always(g&&function(f,H){fL.each(function(){g.apply(this,gN||[f.responseText,H,f])})}),this},fXc.expr.pseudos.animated=function(f){return fXc.grep(fXc.timers,function(H){return f===H.elem}).length},fXc.offset={setOffset:function(f,H,g){var D,fj,gN,fL,d,W,fN=fXc.css(f,"position"),gS=fXc(f),e={};"static"===fN&&(f.style.position="relative"),d=gS.offset(),gN=fXc.css(f,"top"),W=fXc.css(f,"left"),("absolute"===fN||"fixed"===fN)&&-1<(gN+W).indexOf("auto")?(fL=(D=gS.position()).top,fj=D.left):(fL=parseFloat(gN)||0,fj=parseFloat(W)||0),b(H)&&(H=H.call(f,g,fXc.extend({},d))),null!=H.top&&(e.top=H.top-d.top+fL),null!=H.left&&(e.left=H.left-d.left+fj),"using"in H?H.using.call(f,e):("number"==typeof e.top&&(e.top+="px"),"number"==typeof e.left&&(e.left+="px"),gS.css(e))}},fXc.fn.extend({offset:function(f){if(arguments.length)return void 0===f?this:this.each(function(H){fXc.offset.setOffset(this,f,H)});var H,g,D=this[0];return D?D.getClientRects().length?(H=D.getBoundingClientRect(),g=D.ownerDocument.defaultView,{top:H.top+g.pageYOffset,left:H.left+g.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var f,H,g,D=this[0],fj={top:0,left:0};if("fixed"===fXc.css(D,"position"))H=D.getBoundingClientRect();else{H=this.offset(),g=D.ownerDocument,f=D.offsetParent||g.documentElement;while(f&&(f===g.body||f===g.documentElement)&&"static"===fXc.css(f,"position"))f=f.parentNode;f&&f!==D&&1===f.nodeType&&((fj=fXc(f).offset()).top+=fXc.css(f,"borderTopWidth",!0),fj.left+=fXc.css(f,"borderLeftWidth",!0))}return{top:H.top-fj.top-fXc.css(D,"marginTop",!0),left:H.left-fj.left-fXc.css(D,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var f=this.offsetParent;while(f&&"static"===fXc.css(f,"position"))f=f.offsetParent;return f||F})}}),fXc.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(f,H){var g="pageYOffset"===H;fXc.fn[f]=function(D){return n(this,function(f,D,fj){var gN;if(De(f)?gN=f:9===f.nodeType&&(gN=f.defaultView),void 0===fj)return gN?gN[H]:f[D];gN?gN.scrollTo(g?gN.pageXOffset:fj,g?fj:gN.pageYOffset):f[D]=fj},f,D,arguments.length)}}),fXc.each(["top","left"],function(f,H){fXc.cssHooks[H]=fXcf(R.pixelPosition,function(f,g){if(g)return g=fXf(f,H),fgf.test(g)?fXc(f).position()[H]+"px":g})}),fXc.each({Height:"height",Width:"width"},function(f,H){fXc.each({padding:"inner"+f,content:H,"":"outer"+f},function(g,D){fXc.fn[D]=function(fj,gN){var fL=arguments.length&&(g||"boolean"!=typeof fj),d=g||(!0===fj||!0===gN?"margin":"border");return n(this,function(H,g,fj){var gN;return De(H)?0===D.indexOf("outer")?H["inner"+f]:H.document.documentElement["client"+f]:9===H.nodeType?(gN=H.documentElement,Math.max(H.body["scroll"+f],gN["scroll"+f],H.body["offset"+f],gN["offset"+f],gN["client"+f])):void 0===fj?fXc.css(H,g,d):fXc.style(H,g,fj,d)},H,fL?fj:void 0,fL)}})}),fXc.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(f,H){fXc.fn[H]=function(f){return this.on(H,f)}}),fXc.fn.extend({bind:function(f,H,g){return this.on(f,null,H,g)},unbind:function(f,H){return this.off(f,null,H)},delegate:function(f,H,g,D){return this.on(H,f,g,D)},undelegate:function(f,H,g){return 1===arguments.length?this.off(f,"**"):this.off(H,f||"**",g)},hover:function(f,H){return this.mouseenter(f).mouseleave(H||f)}}),fXc.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(f,H){fXc.fn[H]=function(f,g){return 0",{size:1}).attr("size")&&g.attrFn,gR=g.attr,e=g.attrHooks.value&&g.attrHooks.value.get||function(){return null},I=g.attrHooks.value&&g.attrHooks.value.set||function(){return d},gZ=/^(?:input|button)$/i,gi=/^[238]$/,a=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,B=/^(?:checked|selected)$/i;b(g,"attrFn",U||{},"jQuery.attrFn is deprecated"),g.attr=function(X,b,Ye,e){var I=b.toLowerCase(),gA=X&&X.nodeType;return e&&(gR.length<4&&Y("jQuery.fn.attr( props, pass ) is deprecated"),X&&!gi.test(gA)&&(U?b in U:g.isFunction(g.fn[b])))?g(X)[b](Ye):("type"===b&&Ye!==d&&gZ.test(X.nodeName)&&X.parentNode&&Y("Can't change the 'type' of an input or button in IE 6/7/8"),!g.attrHooks[I]&&a.test(I)&&(g.attrHooks[I]={get:function(X,Y){var b,Ye=g.prop(X,Y);return Ye===!0||"boolean"!=typeof Ye&&(b=X.getAttributeNode(Y))&&b.nodeValue!==!1?Y.toLowerCase():d},set:function(X,d,Y){var b;return d===!1?g.removeAttr(X,Y):(b=g.propFix[Y]||Y,b in X&&(X[b]=!0),X.setAttribute(Y,Y.toLowerCase())),Y}},B.test(I)&&Y("jQuery.fn.attr('"+I+"') might use property instead of attribute")),gR.call(g,X,b,Ye))},g.attrHooks.value={get:function(g,X){var d=(g.nodeName||"").toLowerCase();return"button"===d?e.apply(this,arguments):("input"!==d&&"option"!==d&&Y("jQuery.fn.attr('value') no longer gets properties"),X in g?g.value:null)},set:function(g,X){var d=(g.nodeName||"").toLowerCase();return"button"===d?I.apply(this,arguments):("input"!==d&&"option"!==d&&Y("jQuery.fn.attr('value', val) no longer sets properties"),void(g.value=X))}};var gA,c,da=g.fn.init,C=g.find,aK=g.parseJSON,ch=/^\s*)([^>]*)$/;g.fn.init=function(X,b,Ye){var U,gR;return X&&"string"==typeof X&&!g.isPlainObject(b)&&(U=aI.exec(g.trim(X)))&&U[0]&&(ch.test(X)||Y("$(html) HTML strings must start with '<' character"),U[3]&&Y("$(html) HTML text after last tag is ignored"),"#"===U[0].charAt(0)&&(Y("HTML string cannot start with a '#' character"),g.error("JQMIGRATE: Invalid selector string (XSS)")),b&&b.context&&b.context.nodeType&&(b=b.context),g.parseHTML)?da.call(this,g.parseHTML(U[2],b&&b.ownerDocument||b||document,!0),b,Ye):(gR=da.apply(this,arguments),X&&X.selector!==d?(gR.selector=X.selector,gR.context=X.context):(gR.selector="string"==typeof X?X:"",X&&(gR.context=X.nodeType?X:b||document)),gR)},g.fn.init.prototype=g.fn,g.find=function(g){var X=Array.prototype.slice.call(arguments);if("string"==typeof g&&cB.test(g))try{document.querySelector(g)}catch(d){g=g.replace(eC,function(g,X,d,Y){return"["+X+d+'"'+Y+'"]'});try{document.querySelector(g),Y("Attribute selector with '#' must be quoted: "+X[0]),X[0]=g}catch(g){Y("Attribute selector with '#' was not fixed: "+X[0])}}return C.apply(this,X)};var dP;for(dP in C)Object.prototype.hasOwnProperty.call(C,dP)&&(g.find[dP]=C[dP]);g.parseJSON=function(g){return g?aK.apply(this,arguments):(Y("jQuery.parseJSON requires a valid JSON string"),null)},g.uaMatch=function(g){g=g.toLowerCase();var X=/(chrome)[ \/]([\w.]+)/.exec(g)||/(webkit)[ \/]([\w.]+)/.exec(g)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(g)||/(msie) ([\w.]+)/.exec(g)||g.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(g)||[];return{browser:X[1]||"",version:X[2]||"0"}},g.browser||(gA=g.uaMatch(navigator.userAgent),c={},gA.browser&&(c[gA.browser]=!0,c.version=gA.version),c.chrome?c.webkit=!0:c.webkit&&(c.safari=!0),g.browser=c),b(g,"browser",g.browser,"jQuery.browser is deprecated"),g.boxModel=g.support.boxModel="CSS1Compat"===document.compatMode,b(g,"boxModel",g.boxModel,"jQuery.boxModel is deprecated"),b(g.support,"boxModel",g.support.boxModel,"jQuery.support.boxModel is deprecated"),g.sub=function(){function X(g,d){return new X.fn.init(g,d)}g.extend(!0,X,this),X.superclass=this,X.fn=X.prototype=this(),X.fn.constructor=X,X.sub=this.sub,X.fn.init=function(Y,b){var Ye=g.fn.init.call(this,Y,b,d);return Ye instanceof X?Ye:X(Ye)},X.fn.init.prototype=X.fn;var d=X(document);return Y("jQuery.sub() is deprecated"),X},g.fn.size=function(){return Y("jQuery.fn.size() is deprecated; use the .length property"),this.length};var dC=!1;g.swap&&g.each(["height","width","reliableMarginRight"],function(X,d){var Y=g.cssHooks[d]&&g.cssHooks[d].get;Y&&(g.cssHooks[d].get=function(){var g;return dC=!0,g=Y.apply(this,arguments),dC=!1,g})}),g.swap=function(g,X,d,b){var Ye,U,gR={};dC||Y("jQuery.swap() is undocumented and deprecated");for(U in X)gR[U]=g.style[U],g.style[U]=X[U];Ye=d.apply(g,b||[]);for(U in X)g.style[U]=gR[U];return Ye},g.ajaxSetup({converters:{"text json":g.parseJSON}});var bb=g.fn.data;g.fn.data=function(X){var b,Ye,U=this[0];return!U||"events"!==X||1!==arguments.length||(b=g.data(U,X),Ye=g._data(U,X),b!==d&&b!==Ye||Ye===d)?bb.apply(this,arguments):(Y("Use of jQuery.fn.data('events') is deprecated"),Ye)};var eQ=/\/(java|ecma)script/i;g.clean||(g.clean=function(X,d,b,Ye){d=d||document,d=!d.nodeType&&d[0]||d,d=d.ownerDocument||d,Y("jQuery.clean() is deprecated");var U,gR,e,I,gZ=[];if(g.merge(gZ,g.buildFragment(X,d).childNodes),b)for(e=function(g){return!g.type||eQ.test(g.type)?Ye?Ye.push(g.parentNode?g.parentNode.removeChild(g):g):b.appendChild(g):void 0},U=0;null!=(gR=gZ[U]);U++)g.nodeName(gR,"script")&&e(gR)||(b.appendChild(gR),"undefined"!=typeof gR.getElementsByTagName&&(I=g.grep(g.merge([],gR.getElementsByTagName("script")),e),gZ.splice.apply(gZ,[U+1,0].concat(I)),U+=I.length));return gZ});var gAg=g.event.add,N=g.event.remove,bH=g.event.trigger,cR=g.fn.toggle,cZ=g.fn.live,eM=g.fn.die,dO=g.fn.load,gD="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",f=new RegExp("\\b(?:"+gD+")\\b"),h=/(?:^|\s)hover(\.\S+|)\b/,i=function(X){return"string"!=typeof X||g.event.special.hover?X:(h.test(X)&&Y("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),X&&X.replace(h,"mouseenter$1 mouseleave$1"))};g.event.props&&"attrChange"!==g.event.props[0]&&g.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),g.event.dispatch&&b(g.event,"handle",g.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),g.event.add=function(g,X,d,b,Ye){g!==document&&f.test(X)&&Y("AJAX events should be attached to document: "+X),gAg.call(this,g,i(X||""),d,b,Ye)},g.event.remove=function(g,X,d,Y,b){N.call(this,g,i(X)||"",d,Y,b)},g.each(["load","unload","error"],function(X,d){g.fn[d]=function(){var g=Array.prototype.slice.call(arguments,0);return"load"===d&&"string"==typeof g[0]?dO.apply(this,g):(Y("jQuery.fn."+d+"() is deprecated"),g.splice(0,0,d),arguments.length?this.bind.apply(this,g):(this.triggerHandler.apply(this,g),this))}}),g.fn.toggle=function(X,d){if(!g.isFunction(X)||!g.isFunction(d))return cR.apply(this,arguments);Y("jQuery.fn.toggle(handler, handler...) is deprecated");var b=arguments,Ye=X.guid||g.guid++,U=0,gR=function(d){var Y=(g._data(this,"lastToggle"+X.guid)||0)%U;return g._data(this,"lastToggle"+X.guid,Y+1),d.preventDefault(),b[Y].apply(this,arguments)||!1};for(gR.guid=Ye;U dwh) ? dwh - scrollTop : 0; for (var i = 0, l = sticked.length; i < l; i++) { var s = sticked[i], elementTop = s.stickyWrapper.offset().top, etse = elementTop - s.topSpacing - extra; //update height in case of dynamic content s.stickyWrapper.css('height', s.stickyElement.outerHeight()); if (scrollTop <= etse) { if (s.currentTop !== null) { s.stickyElement .css({ 'width': '', 'position': '', 'top': '', 'z-index': '' }); s.stickyElement.parent().removeClass(s.className); s.stickyElement.trigger('sticky-end', [s]); s.currentTop = null; } } else { var newTop = documentHeight - s.stickyElement.outerHeight() - s.topSpacing - s.bottomSpacing - scrollTop - extra; if (newTop < 0) { newTop = newTop + s.topSpacing; } else { newTop = s.topSpacing; } if (s.currentTop !== newTop) { var newWidth; if (s.getWidthFrom) { newWidth = $(s.getWidthFrom).width() || null; } else if (s.widthFromWrapper) { newWidth = s.stickyWrapper.width(); } if (newWidth == null) { newWidth = s.stickyElement.width(); } s.stickyElement .css('width', newWidth) .css('position', 'fixed') .css('top', newTop) .css('z-index', s.zIndex); s.stickyElement.parent().addClass(s.className); if (s.currentTop === null) { s.stickyElement.trigger('sticky-start', [s]); } else { // sticky is started but it have to be repositioned s.stickyElement.trigger('sticky-update', [s]); } if (s.currentTop === s.topSpacing && s.currentTop > newTop || s.currentTop === null && newTop < s.topSpacing) { // just reached bottom || just started to stick but bottom is already reached s.stickyElement.trigger('sticky-bottom-reached', [s]); } else if(s.currentTop !== null && newTop === s.topSpacing && s.currentTop < newTop) { // sticky is started && sticked at topSpacing && overflowing from top just finished s.stickyElement.trigger('sticky-bottom-unreached', [s]); } s.currentTop = newTop; } // Check if sticky has reached end of container and stop sticking var stickyWrapperContainer = s.stickyWrapper.parent(); var unstick = (s.stickyElement.offset().top + s.stickyElement.outerHeight() >= stickyWrapperContainer.offset().top + stickyWrapperContainer.outerHeight()) && (s.stickyElement.offset().top <= s.topSpacing); if( unstick ) { s.stickyElement .css('position', 'absolute') .css('top', '') .css('bottom', 0) .css('z-index', ''); } else { s.stickyElement .css('position', 'fixed') .css('top', newTop) .css('bottom', '') .css('z-index', s.zIndex); } } } }, resizer = function() { windowHeight = $window.height(); for (var i = 0, l = sticked.length; i < l; i++) { var s = sticked[i]; var newWidth = null; if (s.getWidthFrom) { if (s.responsiveWidth) { newWidth = $(s.getWidthFrom).width(); } } else if(s.widthFromWrapper) { newWidth = s.stickyWrapper.width(); } if (newWidth != null) { s.stickyElement.css('width', newWidth); } } }, methods = { init: function(options) { return this.each(function() { var o = $.extend({}, defaults, options); var stickyElement = $(this); var stickyId = stickyElement.attr('id'); var wrapperId = stickyId ? stickyId + '-' + defaults.wrapperClassName : defaults.wrapperClassName; var wrapper = $('
') .attr('id', wrapperId) .addClass(o.wrapperClassName); stickyElement.wrapAll(function() { if ($(this).parent("#" + wrapperId).length == 0) { return wrapper; } }); var stickyWrapper = stickyElement.parent(); if (o.center) { stickyWrapper.css({width:stickyElement.outerWidth(),marginLeft:"auto",marginRight:"auto"}); } if (stickyElement.css("float") === "right") { stickyElement.css({"float":"none"}).parent().css({"float":"right"}); } o.stickyElement = stickyElement; o.stickyWrapper = stickyWrapper; o.currentTop = null; sticked.push(o); methods.setWrapperHeight(this); methods.setupChangeListeners(this); }); }, setWrapperHeight: function(stickyElement) { var element = $(stickyElement); var stickyWrapper = element.parent(); if (stickyWrapper) { stickyWrapper.css('height', element.outerHeight()); } }, setupChangeListeners: function(stickyElement) { if (window.MutationObserver) { var mutationObserver = new window.MutationObserver(function(mutations) { if (mutations[0].addedNodes.length || mutations[0].removedNodes.length) { methods.setWrapperHeight(stickyElement); } }); mutationObserver.observe(stickyElement, {subtree: true, childList: true}); } else { if (window.addEventListener) { stickyElement.addEventListener('DOMNodeInserted', function() { methods.setWrapperHeight(stickyElement); }, false); stickyElement.addEventListener('DOMNodeRemoved', function() { methods.setWrapperHeight(stickyElement); }, false); } else if (window.attachEvent) { stickyElement.attachEvent('onDOMNodeInserted', function() { methods.setWrapperHeight(stickyElement); }); stickyElement.attachEvent('onDOMNodeRemoved', function() { methods.setWrapperHeight(stickyElement); }); } } }, update: scroller, unstick: function(options) { return this.each(function() { var that = this; var unstickyElement = $(that); var removeIdx = -1; var i = sticked.length; while (i-- > 0) { if (sticked[i].stickyElement.get(0) === that) { splice.call(sticked,i,1); removeIdx = i; } } if(removeIdx !== -1) { unstickyElement.unwrap(); unstickyElement .css({ 'width': '', 'position': '', 'top': '', 'float': '', 'z-index': '' }) ; } }); } }; // should be more efficient than using $window.scroll(scroller) and $window.resize(resizer): if (window.addEventListener) { window.addEventListener('scroll', scroller, false); window.addEventListener('resize', resizer, false); } else if (window.attachEvent) { window.attachEvent('onscroll', scroller); window.attachEvent('onresize', resizer); } $.fn.sticky = function(method) { if (methods[method]) { return methods[method].apply(this, slice.call(arguments, 1)); } else if (typeof method === 'object' || !method ) { return methods.init.apply( this, arguments ); } else { $.error('Method ' + method + ' does not exist on jQuery.sticky'); } }; $.fn.unstick = function(method) { if (methods[method]) { return methods[method].apply(this, slice.call(arguments, 1)); } else if (typeof method === 'object' || !method ) { return methods.unstick.apply( this, arguments ); } else { $.error('Method ' + method + ' does not exist on jQuery.sticky'); } }; $(function() { setTimeout(scroller, 0); }); }));