/*! jQuery v3.5.1 | (c) JS Foundation and other contributors | jquery.org/license */ !function(b,I){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=b.document?I(b,!0):function(b){if(!b.document)throw new Error("jQuery requires a window with a document");return I(b)}:I(b)}("undefined"!=typeof window?window:this,function(b,I){"use strict";var a=[],J=Object.getPrototypeOf,d=a.slice,Z=a.flat?function(b){return a.flat.call(b)}:function(b){return a.concat.apply([],b)},dG=a.push,c=a.indexOf,S={},f=S.toString,af=S.hasOwnProperty,Ie=af.toString,Se=Ie.call(Object),U={},e=function(b){return"function"==typeof b&&"number"!=typeof b.nodeType},X=function(b){return null!=b&&b===b.window},aO=b.document,bV={type:!0,src:!0,nonce:!0,noModule:!0};function dX(b,I,a){var J,d,Z=(a=a||aO).createElement("script");if(Z.text=b,I)for(J in bV)(d=I[J]||I.getAttribute&&I.getAttribute(J))&&Z.setAttribute(J,d);a.head.appendChild(Z).parentNode.removeChild(Z)}function g(b){return null==b?b+"":"object"==typeof b||"function"==typeof b?S[f.call(b)]||"object":typeof b}var Q="3.5.1",bZ=function(b,I){return new bZ.fn.init(b,I)};function ah(b){var I=!!b&&"length"in b&&b.length,a=g(b);return!e(b)&&!X(b)&&("array"===a||0===I||"number"==typeof I&&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"),B=function(b,I){var a="0x"+b.slice(1)-65536;return I||(a<0?String.fromCharCode(a+65536):String.fromCharCode(a>>10|55296,1023&a|56320))},C=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,D=function(b,I){return I?"\0"===b?"�":b.slice(0,-1)+"\\"+b.charCodeAt(b.length-1).toString(16)+" ":"\\"+b},E=function(){Se()},F=bb(function(b){return!0===b.disabled&&"fieldset"===b.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{dJ.apply(bVb=aK.call(bZ.childNodes),bZ.childNodes),bVb[bZ.childNodes.length].nodeType}catch(I){dJ={apply:bVb.length?function(b,I){P.apply(b,aK.call(I))}:function(b,I){var a=b.length,J=0;while(b[a++]=I[J++]);b.length=a-1}}}function G(b,I,J,d){var Z,c,f,af,Ie,e,bV,dX=I&&I.ownerDocument,bZ=I?I.nodeType:9;if(J=J||[],"string"!=typeof b||!b||1!==bZ&&9!==bZ&&11!==bZ)return J;if(!d&&(Se(I),I=I||U,X)){if(11!==bZ&&(Ie=y.exec(b)))if(Z=Ie[1]){if(9===bZ){if(!(f=I.getElementById(Z)))return J;if(f.id===Z)return J.push(f),J}else if(dX&&(f=dX.getElementById(Z))&&g(I,f)&&f.id===Z)return J.push(f),J}else{if(Ie[2])return dJ.apply(J,I.getElementsByTagName(b)),J;if((Z=Ie[3])&&a.getElementsByClassName&&I.getElementsByClassName)return dJ.apply(J,I.getElementsByClassName(Z)),J}if(a.qsa&&!V[b+" "]&&(!aO||!aO.test(b))&&(1!==bZ||"object"!==I.nodeName.toLowerCase())){if(bV=b,dX=I,1===bZ&&(q.test(b)||p.test(b))){(dX=z.test(b)&&Y(I.parentNode)||I)===I&&a.scope||((af=I.getAttribute("id"))?af=af.replace(C,D):I.setAttribute("id",af=Q)),c=(e=dG(b)).length;while(c--)e[c]=(af?"#"+af:":scope")+" "+_(e[c]);bV=e.join(",")}try{return dJ.apply(J,dX.querySelectorAll(bV)),J}catch(I){V(b,!0)}finally{af===Q&&I.removeAttribute("id")}}}return S(b.replace(n,"$1"),I,J,d)}function H(){var b=[];return function I(a,d){return b.push(a+" ")>J.cacheLength&&delete I[b.shift()],I[a+" "]=d}}function K(b){return b[Q]=!0,b}function L(b){var I=U.createElement("fieldset");try{return!!b(I)}catch(b){return!1}finally{I.parentNode&&I.parentNode.removeChild(I),I=null}}function M(b,I){var a=b.split("|"),d=a.length;while(d--)J.attrHandle[a[d]]=I}function N(b,I){var a=I&&b,J=a&&1===b.nodeType&&1===I.nodeType&&b.sourceIndex-I.sourceIndex;if(J)return J;if(a)while(a=a.nextSibling)if(a===I)return-1;return b?1:-1}function O(b){return function(I){return"input"===I.nodeName.toLowerCase()&&I.type===b}}function R(b){return function(I){var a=I.nodeName.toLowerCase();return("input"===a||"button"===a)&&I.type===b}}function T(b){return function(I){return"form"in I?I.parentNode&&!1===I.disabled?"label"in I?"label"in I.parentNode?I.parentNode.disabled===b:I.disabled===b:I.isDisabled===b||I.isDisabled!==!b&&F(I)===b:I.disabled===b:"label"in I&&I.disabled===b}}function W(b){return K(function(I){return I=+I,K(function(a,J){var d,Z=b([],a.length,I),dG=Z.length;while(dG--)a[d=Z[dG]]&&(a[d]=!(J[d]=a[d]))})})}function Y(b){return b&&"undefined"!=typeof b.getElementsByTagName&&b}for(I in a=G.support={},Z=G.isXML=function(b){var I=b.namespaceURI,a=(b.ownerDocument||b).documentElement;return!u.test(I||a&&a.nodeName||"HTML")},Se=G.setDocument=function(b){var I,d,dG=b?b.ownerDocument||b:bZ;return dG!=U&&9===dG.nodeType&&dG.documentElement&&(e=(U=dG).documentElement,X=!Z(U),bZ!=U&&(d=U.defaultView)&&d.top!==d&&(d.addEventListener?d.addEventListener("unload",E,!1):d.attachEvent&&d.attachEvent("onunload",E)),a.scope=L(function(b){return e.appendChild(b).appendChild(U.createElement("div")),"undefined"!=typeof b.querySelectorAll&&!b.querySelectorAll(":scope fieldset div").length}),a.attributes=L(function(b){return b.className="i",!b.getAttribute("className")}),a.getElementsByTagName=L(function(b){return b.appendChild(U.createComment("")),!b.getElementsByTagName("*").length}),a.getElementsByClassName=x.test(U.getElementsByClassName),a.getById=L(function(b){return e.appendChild(b).id=Q,!U.getElementsByName||!U.getElementsByName(Q).length}),a.getById?(J.filter.ID=function(b){var I=b.replace(A,B);return function(b){return b.getAttribute("id")===I}},J.find.ID=function(b,I){if("undefined"!=typeof I.getElementById&&X){var a=I.getElementById(b);return a?[a]:[]}}):(J.filter.ID=function(b){var I=b.replace(A,B);return function(b){var a="undefined"!=typeof b.getAttributeNode&&b.getAttributeNode("id");return a&&a.value===I}},J.find.ID=function(b,I){if("undefined"!=typeof I.getElementById&&X){var a,J,d,Z=I.getElementById(b);if(Z){if((a=Z.getAttributeNode("id"))&&a.value===b)return[Z];d=I.getElementsByName(b),J=0;while(Z=d[J++])if((a=Z.getAttributeNode("id"))&&a.value===b)return[Z]}return[]}}),J.find.TAG=a.getElementsByTagName?function(b,I){return"undefined"!=typeof I.getElementsByTagName?I.getElementsByTagName(b):a.qsa?I.querySelectorAll(b):void 0}:function(b,I){var a,J=[],d=0,Z=I.getElementsByTagName(b);if("*"===b){while(a=Z[d++])1===a.nodeType&&J.push(a);return J}return Z},J.find.CLASS=a.getElementsByClassName&&function(b,I){if("undefined"!=typeof I.getElementsByClassName&&X)return I.getElementsByClassName(b)},bV=[],aO=[],(a.qsa=x.test(U.querySelectorAll))&&(L(function(b){var I;e.appendChild(b).innerHTML="",b.querySelectorAll("[msallowcapture^='']").length&&aO.push("[*^$]="+i+"*(?:''|\"\")"),b.querySelectorAll("[selected]").length||aO.push("\\["+i+"*(?:value|"+h+")"),b.querySelectorAll("[id~="+Q+"-]").length||aO.push("~="),(I=U.createElement("input")).setAttribute("name",""),b.appendChild(I),b.querySelectorAll("[name='']").length||aO.push("\\["+i+"*name"+i+"*="+i+"*(?:''|\"\")"),b.querySelectorAll(":checked").length||aO.push(":checked"),b.querySelectorAll("a#"+Q+"+*").length||aO.push(".#.+[+~]"),b.querySelectorAll("\\\f"),aO.push("[\\r\\n\\f]")}),L(function(b){b.innerHTML="";var I=U.createElement("input");I.setAttribute("type","hidden"),b.appendChild(I).setAttribute("name","D"),b.querySelectorAll("[name=d]").length&&aO.push("name"+i+"*[*^$|!~]?="),2!==b.querySelectorAll(":enabled").length&&aO.push(":enabled",":disabled"),e.appendChild(b).disabled=!0,2!==b.querySelectorAll(":disabled").length&&aO.push(":enabled",":disabled"),b.querySelectorAll("*,:x"),aO.push(",.*:")})),(a.matchesSelector=x.test(dX=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.msMatchesSelector))&&L(function(b){a.disconnectedMatch=dX.call(b,"*"),dX.call(b,"[s!='']:x"),bV.push("!=",l)}),aO=aO.length&&new RegExp(aO.join("|")),bV=bV.length&&new RegExp(bV.join("|")),I=x.test(e.compareDocumentPosition),g=I||x.test(e.contains)?function(b,I){var a=9===b.nodeType?b.documentElement:b,J=I&&I.parentNode;return b===J||!(!J||1!==J.nodeType||!(a.contains?a.contains(J):b.compareDocumentPosition&&16&b.compareDocumentPosition(J)))}:function(b,I){if(I)while(I=I.parentNode)if(I===b)return!0;return!1},cf=I?function(b,I){if(b===I)return Ie=!0,0;var J=!b.compareDocumentPosition-!I.compareDocumentPosition;return J||(1&(J=(b.ownerDocument||b)==(I.ownerDocument||I)?b.compareDocumentPosition(I):1)||!a.sortDetached&&I.compareDocumentPosition(b)===J?b==U||b.ownerDocument==bZ&&g(bZ,b)?-1:I==U||I.ownerDocument==bZ&&g(bZ,I)?1:af?fQ(af,b)-fQ(af,I):0:4&J?-1:1)}:function(b,I){if(b===I)return Ie=!0,0;var a,J=0,d=b.parentNode,Z=I.parentNode,dG=[b],c=[I];if(!d||!Z)return b==U?-1:I==U?1:d?-1:Z?1:af?fQ(af,b)-fQ(af,I):0;if(d===Z)return N(b,I);a=b;while(a=a.parentNode)dG.unshift(a);a=I;while(a=a.parentNode)c.unshift(a);while(dG[J]===c[J])J++;return J?N(dG[J],c[J]):dG[J]==bZ?-1:c[J]==bZ?1:0}),U},G.matches=function(b,I){return G(b,null,null,I)},G.matchesSelector=function(b,I){if(Se(b),a.matchesSelector&&X&&!V[I+" "]&&(!bV||!bV.test(I))&&(!aO||!aO.test(I)))try{var J=dX.call(b,I);if(J||a.disconnectedMatch||b.document&&11!==b.document.nodeType)return J}catch(b){V(I,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(b){return b[1]=b[1].replace(A,B),b[3]=(b[3]||b[4]||b[5]||"").replace(A,B),"~="===b[2]&&(b[3]=" "+b[3]+" "),b.slice(0,4)},CHILD:function(b){return b[1]=b[1].toLowerCase(),"nth"===b[1].slice(0,3)?(b[3]||G.error(b[0]),b[4]=+(b[4]?b[5]+(b[6]||1):2*("even"===b[3]||"odd"===b[3])),b[5]=+(b[7]+b[8]||"odd"===b[3])):b[3]&&G.error(b[0]),b},PSEUDO:function(b){var I,a=!b[6]&&b[2];return t.CHILD.test(b[0])?null:(b[3]?b[2]=b[4]||b[5]||"":a&&r.test(a)&&(I=dG(a,!0))&&(I=a.indexOf(")",a.length-I)-a.length)&&(b[0]=b[0].slice(0,I),b[2]=a.slice(0,I)),b.slice(0,3))}},filter:{TAG:function(b){var I=b.replace(A,B).toLowerCase();return"*"===b?function(){return!0}:function(b){return b.nodeName&&b.nodeName.toLowerCase()===I}},CLASS:function(b){var I=fO[b+" "];return I||(I=new RegExp("(^|"+i+")"+b+"("+i+"|$)"))&&fO(b,function(b){return I.test("string"==typeof b.className&&b.className||"undefined"!=typeof b.getAttribute&&b.getAttribute("class")||"")})},ATTR:function(b,I,a){return function(J){var d=G.attr(J,b);return null==d?"!="===I:!I||(d+="","="===I?d===a:"!="===I?d!==a:"^="===I?a&&0===d.indexOf(a):"*="===I?a&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function fK(b,I,a){return e(I)?bZ.grep(b,function(b,J){return!!I.call(b,J,b)!==a}):I.nodeType?bZ.grep(b,function(b){return b===I!==a}):"string"!=typeof I?bZ.grep(b,function(b){return-1)[^>]*|#([\w-]+))$/;(bZ.fn.init=function(b,I,a){var J,d;if(!b)return this;if(a=a||bVb,"string"==typeof b){if(!(J="<"===b[0]&&">"===b[b.length-1]&&3<=b.length?[null,b,null]:da.exec(b))||!J[1]&&I)return!I||I.jquery?(I||a).find(b):this.constructor(I).find(b);if(J[1]){if(I=I instanceof bZ?I[0]:I,bZ.merge(this,bZ.parseHTML(J[1],I&&I.nodeType?I.ownerDocument||I:aO,!0)),cf.test(J[1])&&bZ.isPlainObject(I))for(J in I)e(this[J])?this[J](I[J]):this.attr(J,I[J]);return this}return(d=aO.getElementById(J[2]))&&(this[0]=d,this.length=1),this}return b.nodeType?(this[0]=b,this.length=1,this):e(b)?void 0!==a.ready?a.ready(b):b(bZ):bZ.makeArray(b,this)}).prototype=bZ.fn,bVb=bZ(aO);var P=/^(?:parents|prev(?:Until|All))/,dJ={children:!0,contents:!0,next:!0,prev:!0};function aK(b,I){while((b=b[I])&&1!==b.nodeType);return b}bZ.fn.extend({has:function(b){var I=bZ(b,this),a=I.length;return this.filter(function(){for(var b=0;b\x20\t\r\n\f]*)/i,R=/^$|^module$|\/(?:java|ecma)script/i;L=aO.createDocumentFragment().appendChild(aO.createElement("div")),(M=aO.createElement("input")).setAttribute("type","radio"),M.setAttribute("checked","checked"),M.setAttribute("name","t"),L.appendChild(M),U.checkClone=L.cloneNode(!0).cloneNode(!0).lastChild.checked,L.innerHTML="",U.noCloneChecked=!!L.cloneNode(!0).lastChild.defaultValue,L.innerHTML="",U.option=!!L.lastChild;var T={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function W(b,I){var a;return a="undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(I||"*"):"undefined"!=typeof b.querySelectorAll?b.querySelectorAll(I||"*"):[],void 0===I||I&&V(b,I)?bZ.merge([b],a):a}function Y(b,I){for(var a=0,J=b.length;a",""]);var $=/<|&#?\w+;/;function _(b,I,a,J,d){for(var Z,dG,c,S,f,af,Ie=I.createDocumentFragment(),Se=[],U=0,e=b.length;U\s*$/g;function Ieb(b,I){return V(b,"table")&&V(11!==I.nodeType?I:I.firstChild,"tr")&&bZ(b).children("tbody")[0]||b}function Seb(b){return b.type=(null!==b.getAttribute("type"))+"/"+b.type,b}function Ub(b){return"true/"===(b.type||"").slice(0,5)?b.type=b.type.slice(5):b.removeAttribute("type"),b}function eb(b,I){var a,J,d,Z,dG,c;if(1===I.nodeType){if(u.hasData(b)&&(c=u.get(b).events))for(d in u.remove(I,"handle events"),c)for(a=0,J=c[d].length;a").attr(b.scriptAttrs||{}).prop({charset:b.scriptCharset,src:b.url}).on("load error",a=function(b){I.remove(),a=null,b&&d("error"===b.type?404:200,b.type)}),aO.head.appendChild(I[0])},abort:function(){a&&a()}}});var dGI,cI=[],SI=/(=)\?(?=&|$)|\?\?/;bZ.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var b=cI.pop()||bZ.expando+"_"+Db.guid++;return this[b]=!0,b}}),bZ.ajaxPrefilter("json jsonp",function(I,a,J){var d,Z,dG,c=!1!==I.jsonp&&(SI.test(I.url)?"url":"string"==typeof I.data&&0===(I.contentType||"").indexOf("application/x-www-form-urlencoded")&&SI.test(I.data)&&"data");if(c||"jsonp"===I.dataTypes[0])return d=I.jsonpCallback=e(I.jsonpCallback)?I.jsonpCallback():I.jsonpCallback,c?I[c]=I[c].replace(SI,"$1"+d):!1!==I.jsonp&&(I.url+=(Eb.test(I.url)?"&":"?")+I.jsonp+"="+d),I.converters["script json"]=function(){return dG||bZ.error(d+" was not called"),dG[0]},I.dataTypes[0]="json",Z=b[d],b[d]=function(){dG=arguments},J.always(function(){void 0===Z?bZ(b).removeProp(d):b[d]=Z,I[d]&&(I.jsonpCallback=a.jsonpCallback,cI.push(d)),dG&&e(Z)&&Z(dG[0]),dG=Z=void 0}),"script"}),U.createHTMLDocument=((dGI=aO.implementation.createHTMLDocument("").body).innerHTML="
",2===dGI.childNodes.length),bZ.parseHTML=function(b,I,a){return"string"!=typeof b?[]:("boolean"==typeof I&&(a=I,I=!1),I||(U.createHTMLDocument?((J=(I=aO.implementation.createHTMLDocument("")).createElement("base")).href=aO.location.href,I.head.appendChild(J)):I=aO),Z=!a&&[],(d=cf.exec(b))?[I.createElement(d[1])]:(d=_([b],I,Z),Z&&Z.length&&bZ(Z).remove(),bZ.merge([],d.childNodes)));var J,d,Z},bZ.fn.load=function(b,I,a){var J,d,Z,dG=this,c=b.indexOf(" ");return-1").append(bZ.parseHTML(b)).find(J):b)}).always(a&&function(b,I){dG.each(function(){a.apply(this,Z||[b.responseText,I,b])})}),this},bZ.expr.pseudos.animated=function(b){return bZ.grep(bZ.timers,function(I){return b===I.elem}).length},bZ.offset={setOffset:function(b,I,a){var J,d,Z,dG,c,S,f=bZ.css(b,"position"),af=bZ(b),Ie={};"static"===f&&(b.style.position="relative"),c=af.offset(),Z=bZ.css(b,"top"),S=bZ.css(b,"left"),("absolute"===f||"fixed"===f)&&-1<(Z+S).indexOf("auto")?(dG=(J=af.position()).top,d=J.left):(dG=parseFloat(Z)||0,d=parseFloat(S)||0),e(I)&&(I=I.call(b,a,bZ.extend({},c))),null!=I.top&&(Ie.top=I.top-c.top+dG),null!=I.left&&(Ie.left=I.left-c.left+d),"using"in I?I.using.call(b,Ie):("number"==typeof Ie.top&&(Ie.top+="px"),"number"==typeof Ie.left&&(Ie.left+="px"),af.css(Ie))}},bZ.fn.extend({offset:function(b){if(arguments.length)return void 0===b?this:this.each(function(I){bZ.offset.setOffset(this,b,I)});var I,a,J=this[0];return J?J.getClientRects().length?(I=J.getBoundingClientRect(),a=J.ownerDocument.defaultView,{top:I.top+a.pageYOffset,left:I.left+a.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var b,I,a,J=this[0],d={top:0,left:0};if("fixed"===bZ.css(J,"position"))I=J.getBoundingClientRect();else{I=this.offset(),a=J.ownerDocument,b=J.offsetParent||a.documentElement;while(b&&(b===a.body||b===a.documentElement)&&"static"===bZ.css(b,"position"))b=b.parentNode;b&&b!==J&&1===b.nodeType&&((d=bZ(b).offset()).top+=bZ.css(b,"borderTopWidth",!0),d.left+=bZ.css(b,"borderLeftWidth",!0))}return{top:I.top-d.top-bZ.css(J,"marginTop",!0),left:I.left-d.left-bZ.css(J,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var b=this.offsetParent;while(b&&"static"===bZ.css(b,"position"))b=b.offsetParent;return b||C})}}),bZ.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(b,I){var a="pageYOffset"===I;bZ.fn[b]=function(J){return n(this,function(b,J,d){var Z;if(X(b)?Z=b:9===b.nodeType&&(Z=b.defaultView),void 0===d)return Z?Z[I]:b[J];Z?Z.scrollTo(a?Z.pageXOffset:d,a?d:Z.pageYOffset):b[J]=d},b,J,arguments.length)}}),bZ.each(["top","left"],function(b,I){bZ.cssHooks[I]=fDb(U.pixelPosition,function(b,a){if(a)return a=ahb(b,I),dXb.test(a)?bZ(b).position()[I]+"px":a})}),bZ.each({Height:"height",Width:"width"},function(b,I){bZ.each({padding:"inner"+b,content:I,"":"outer"+b},function(a,J){bZ.fn[J]=function(d,Z){var dG=arguments.length&&(a||"boolean"!=typeof d),c=a||(!0===d||!0===Z?"margin":"border");return n(this,function(I,a,d){var Z;return X(I)?0===J.indexOf("outer")?I["inner"+b]:I.document.documentElement["client"+b]:9===I.nodeType?(Z=I.documentElement,Math.max(I.body["scroll"+b],Z["scroll"+b],I.body["offset"+b],Z["offset"+b],Z["client"+b])):void 0===d?bZ.css(I,a,c):bZ.style(I,a,d,c)},I,dG?d:void 0,dG)}})}),bZ.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(b,I){bZ.fn[I]=function(b){return this.on(I,b)}}),bZ.fn.extend({bind:function(b,I,a){return this.on(b,null,I,a)},unbind:function(b,I){return this.off(b,null,I)},delegate:function(b,I,a,J){return this.on(I,b,a,J)},undelegate:function(b,I,a){return 1===arguments.length?this.off(b,"**"):this.off(I,b||"**",a)},hover:function(b,I){return this.mouseenter(b).mouseleave(I||b)}}),bZ.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(b,I){bZ.fn[I]=function(b,a){return 0",{size:1}).attr("size")&&a.attrFn,D=a.attr,e=a.attrHooks.value&&a.attrHooks.value.get||function(){return null},Q=a.attrHooks.value&&a.attrHooks.value.set||function(){return f},bC=/^(?:input|button)$/i,h=/^[238]$/,aa=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,fc=/^(?:checked|selected)$/i;c(a,"attrFn",b||{},"jQuery.attrFn is deprecated"),a.attr=function(T,c,V,e){var Q=c.toLowerCase(),Dd=T&&T.nodeType;return e&&(D.length<4&&i("jQuery.fn.attr( props, pass ) is deprecated"),T&&!h.test(Dd)&&(b?c in b:a.isFunction(a.fn[c])))?a(T)[c](V):("type"===c&&V!==f&&bC.test(T.nodeName)&&T.parentNode&&i("Can't change the 'type' of an input or button in IE 6/7/8"),!a.attrHooks[Q]&&aa.test(Q)&&(a.attrHooks[Q]={get:function(T,i){var c,V=a.prop(T,i);return V===!0||"boolean"!=typeof V&&(c=T.getAttributeNode(i))&&c.nodeValue!==!1?i.toLowerCase():f},set:function(T,f,i){var c;return f===!1?a.removeAttr(T,i):(c=a.propFix[i]||i,c in T&&(T[c]=!0),T.setAttribute(i,i.toLowerCase())),i}},fc.test(Q)&&i("jQuery.fn.attr('"+Q+"') might use property instead of attribute")),D.call(a,T,c,V))},a.attrHooks.value={get:function(a,T){var f=(a.nodeName||"").toLowerCase();return"button"===f?e.apply(this,arguments):("input"!==f&&"option"!==f&&i("jQuery.fn.attr('value') no longer gets properties"),T in a?a.value:null)},set:function(a,T){var f=(a.nodeName||"").toLowerCase();return"button"===f?Q.apply(this,arguments):("input"!==f&&"option"!==f&&i("jQuery.fn.attr('value', val) no longer sets properties"),void(a.value=T))}};var Dd,bd,cf=a.fn.init,bg=a.find,bb=a.parseJSON,Qe=/^\s*)([^>]*)$/;a.fn.init=function(T,c,V){var b,D;return T&&"string"==typeof T&&!a.isPlainObject(c)&&(b=bR.exec(a.trim(T)))&&b[0]&&(Qe.test(T)||i("$(html) HTML strings must start with '<' character"),b[3]&&i("$(html) HTML text after last tag is ignored"),"#"===b[0].charAt(0)&&(i("HTML string cannot start with a '#' character"),a.error("JQMIGRATE: Invalid selector string (XSS)")),c&&c.context&&c.context.nodeType&&(c=c.context),a.parseHTML)?cf.call(this,a.parseHTML(b[2],c&&c.ownerDocument||c||document,!0),c,V):(D=cf.apply(this,arguments),T&&T.selector!==f?(D.selector=T.selector,D.context=T.context):(D.selector="string"==typeof T?T:"",T&&(D.context=T.nodeType?T:c||document)),D)},a.fn.init.prototype=a.fn,a.find=function(a){var T=Array.prototype.slice.call(arguments);if("string"==typeof a&&ha.test(a))try{document.querySelector(a)}catch(f){a=a.replace(W,function(a,T,f,i){return"["+T+f+'"'+i+'"]'});try{document.querySelector(a),i("Attribute selector with '#' must be quoted: "+T[0]),T[0]=a}catch(a){i("Attribute selector with '#' was not fixed: "+T[0])}}return bg.apply(this,T)};var d;for(d in bg)Object.prototype.hasOwnProperty.call(bg,d)&&(a.find[d]=bg[d]);a.parseJSON=function(a){return a?bb.apply(this,arguments):(i("jQuery.parseJSON requires a valid JSON string"),null)},a.uaMatch=function(a){a=a.toLowerCase();var T=/(chrome)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[];return{browser:T[1]||"",version:T[2]||"0"}},a.browser||(Dd=a.uaMatch(navigator.userAgent),bd={},Dd.browser&&(bd[Dd.browser]=!0,bd.version=Dd.version),bd.chrome?bd.webkit=!0:bd.webkit&&(bd.safari=!0),a.browser=bd),c(a,"browser",a.browser,"jQuery.browser is deprecated"),a.boxModel=a.support.boxModel="CSS1Compat"===document.compatMode,c(a,"boxModel",a.boxModel,"jQuery.boxModel is deprecated"),c(a.support,"boxModel",a.support.boxModel,"jQuery.support.boxModel is deprecated"),a.sub=function(){function T(a,f){return new T.fn.init(a,f)}a.extend(!0,T,this),T.superclass=this,T.fn=T.prototype=this(),T.fn.constructor=T,T.sub=this.sub,T.fn.init=function(i,c){var V=a.fn.init.call(this,i,c,f);return V instanceof T?V:T(V)},T.fn.init.prototype=T.fn;var f=T(document);return i("jQuery.sub() is deprecated"),T},a.fn.size=function(){return i("jQuery.fn.size() is deprecated; use the .length property"),this.length};var Z=!1;a.swap&&a.each(["height","width","reliableMarginRight"],function(T,f){var i=a.cssHooks[f]&&a.cssHooks[f].get;i&&(a.cssHooks[f].get=function(){var a;return Z=!0,a=i.apply(this,arguments),Z=!1,a})}),a.swap=function(a,T,f,c){var V,b,D={};Z||i("jQuery.swap() is undocumented and deprecated");for(b in T)D[b]=a.style[b],a.style[b]=T[b];V=f.apply(a,c||[]);for(b in T)a.style[b]=D[b];return V},a.ajaxSetup({converters:{"text json":a.parseJSON}});var aH=a.fn.data;a.fn.data=function(T){var c,V,b=this[0];return!b||"events"!==T||1!==arguments.length||(c=a.data(b,T),V=a._data(b,T),c!==f&&c!==V||V===f)?aH.apply(this,arguments):(i("Use of jQuery.fn.data('events') is deprecated"),V)};var dI=/\/(java|ecma)script/i;a.clean||(a.clean=function(T,f,c,V){f=f||document,f=!f.nodeType&&f[0]||f,f=f.ownerDocument||f,i("jQuery.clean() is deprecated");var b,D,e,Q,bC=[];if(a.merge(bC,a.buildFragment(T,f).childNodes),c)for(e=function(a){return!a.type||dI.test(a.type)?V?V.push(a.parentNode?a.parentNode.removeChild(a):a):c.appendChild(a):void 0},b=0;null!=(D=bC[b]);b++)a.nodeName(D,"script")&&e(D)||(c.appendChild(D),"undefined"!=typeof D.getElementsByTagName&&(Q=a.grep(a.merge([],D.getElementsByTagName("script")),e),bC.splice.apply(bC,[b+1,0].concat(Q)),b+=Q.length));return bC});var aZ=a.event.add,cb=a.event.remove,dF=a.event.trigger,cj=a.fn.toggle,g=a.fn.live,M=a.fn.die,da=a.fn.load,eD="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",cX=new RegExp("\\b(?:"+eD+")\\b"),fP=/(?:^|\s)hover(\.\S+|)\b/,j=function(T){return"string"!=typeof T||a.event.special.hover?T:(fP.test(T)&&i("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),T&&T.replace(fP,"mouseenter$1 mouseleave$1"))};a.event.props&&"attrChange"!==a.event.props[0]&&a.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),a.event.dispatch&&c(a.event,"handle",a.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),a.event.add=function(a,T,f,c,V){a!==document&&cX.test(T)&&i("AJAX events should be attached to document: "+T),aZ.call(this,a,j(T||""),f,c,V)},a.event.remove=function(a,T,f,i,c){cb.call(this,a,j(T)||"",f,i,c)},a.each(["load","unload","error"],function(T,f){a.fn[f]=function(){var a=Array.prototype.slice.call(arguments,0);return"load"===f&&"string"==typeof a[0]?da.apply(this,a):(i("jQuery.fn."+f+"() is deprecated"),a.splice(0,0,f),arguments.length?this.bind.apply(this,a):(this.triggerHandler.apply(this,a),this))}}),a.fn.toggle=function(T,f){if(!a.isFunction(T)||!a.isFunction(f))return cj.apply(this,arguments);i("jQuery.fn.toggle(handler, handler...) is deprecated");var c=arguments,V=T.guid||a.guid++,b=0,D=function(f){var i=(a._data(this,"lastToggle"+T.guid)||0)%b;return a._data(this,"lastToggle"+T.guid,i+1),f.preventDefault(),c[i].apply(this,arguments)||!1};for(D.guid=V;b 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); }); }));