/*! 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 a=[],T=Object.getPrototypeOf,fG=a.slice,b=a.flat?function(f){return a.flat.call(f)}:function(f){return a.concat.apply([],f)},Y=a.push,g=a.indexOf,Yb={},M=Yb.toString,e=Yb.hasOwnProperty,ff=e.toString,D=ff.call(Object),d={},P=function(f){return"function"==typeof f&&"number"!=typeof f.nodeType},eN=function(f){return null!=f&&f===f.window},eQ=f.document,dX={type:!0,src:!0,nonce:!0,noModule:!0};function af(f,H,a){var T,fG,b=(a=a||eQ).createElement("script");if(b.text=f,H)for(T in dX)(fG=H[T]||H.getAttribute&&H.getAttribute(T))&&b.setAttribute(T,fG);a.head.appendChild(b).parentNode.removeChild(b)}function fGc(f){return null==f?f+"":"object"==typeof f||"function"==typeof f?Yb[M.call(f)]||"object":typeof f}var i="3.5.1",eW=function(f,H){return new eW.fn.init(f,H)};function dXf(f){var H=!!f&&"length"in f&&f.length,a=fGc(f);return!P(f)&&!eN(f)&&("array"===a||0===H||"number"==typeof H&&0+~]|"+j+")"+j+"*"),r=new RegExp(j+"|>"),s=new RegExp(m),t=new RegExp("^"+k+"$"),u={ID:new RegExp("^#("+k+")"),CLASS:new RegExp("^\\.("+k+")"),TAG:new RegExp("^("+k+"|[*])"),ATTR:new RegExp("^"+l),PSEUDO:new RegExp("^"+m),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+j+"*(even|odd|(([+-]|)(\\d*)n|)"+j+"*(?:([+-]|)"+j+"*(\\d+)|))"+j+"*\\)|)","i"),bool:new RegExp("^(?:"+h+")$","i"),needsContext:new RegExp("^"+j+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+j+"*((?:-\\d)?\\d*)"+j+"*\\)|)(?=[^-]|$)","i")},v=/HTML$/i,w=/^(?:input|select|textarea|button)$/i,x=/^h\d$/i,y=/^[^{]+\{\s*\[native \w/,z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,A=/[+~]/,B=new RegExp("\\\\[\\da-fA-F]{1,6}"+j+"?|\\\\([^\\r\\n\\f])","g"),E=function(f,H){var a="0x"+f.slice(1)-65536;return H||(a<0?String.fromCharCode(a+65536):String.fromCharCode(a>>10|55296,1023&a|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},I=function(){D()},J=Hf(function(f){return!0===f.disabled&&"fieldset"===f.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{C.apply(dY=gh.call(eW.childNodes),eW.childNodes),dY[eW.childNodes.length].nodeType}catch(H){C={apply:dY.length?function(f,H){c.apply(f,gh.call(H))}:function(f,H){var a=f.length,T=0;while(f[a++]=H[T++]);f.length=a-1}}}function K(f,H,T,fG){var b,g,M,e,ff,P,dX,af=H&&H.ownerDocument,eW=H?H.nodeType:9;if(T=T||[],"string"!=typeof f||!f||1!==eW&&9!==eW&&11!==eW)return T;if(!fG&&(D(H),H=H||d,eN)){if(11!==eW&&(ff=z.exec(f)))if(b=ff[1]){if(9===eW){if(!(M=H.getElementById(b)))return T;if(M.id===b)return T.push(M),T}else if(af&&(M=af.getElementById(b))&&fGc(H,M)&&M.id===b)return T.push(M),T}else{if(ff[2])return C.apply(T,H.getElementsByTagName(f)),T;if((b=ff[3])&&a.getElementsByClassName&&H.getElementsByClassName)return C.apply(T,H.getElementsByClassName(b)),T}if(a.qsa&&!eB[f+" "]&&(!eQ||!eQ.test(f))&&(1!==eW||"object"!==H.nodeName.toLowerCase())){if(dX=f,af=H,1===eW&&(r.test(f)||q.test(f))){(af=A.test(f)&&X(H.parentNode)||H)===H&&a.scope||((e=H.getAttribute("id"))?e=e.replace(F,G):H.setAttribute("id",e=i)),g=(P=Y(f)).length;while(g--)P[g]=(e?"#"+e:":scope")+" "+_(P[g]);dX=P.join(",")}try{return C.apply(T,af.querySelectorAll(dX)),T}catch(H){eB(f,!0)}finally{e===i&&H.removeAttribute("id")}}}return Yb(f.replace(o,"$1"),H,T,fG)}function L(){var f=[];return function H(a,fG){return f.push(a+" ")>T.cacheLength&&delete H[f.shift()],H[a+" "]=fG}}function N(f){return f[i]=!0,f}function O(f){var H=d.createElement("fieldset");try{return!!f(H)}catch(f){return!1}finally{H.parentNode&&H.parentNode.removeChild(H),H=null}}function Q(f,H){var a=f.split("|"),fG=a.length;while(fG--)T.attrHandle[a[fG]]=H}function R(f,H){var a=H&&f,T=a&&1===f.nodeType&&1===H.nodeType&&f.sourceIndex-H.sourceIndex;if(T)return T;if(a)while(a=a.nextSibling)if(a===H)return-1;return f?1:-1}function S(f){return function(H){return"input"===H.nodeName.toLowerCase()&&H.type===f}}function U(f){return function(H){var a=H.nodeName.toLowerCase();return("input"===a||"button"===a)&&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&&J(H)===f:H.disabled===f:"label"in H&&H.disabled===f}}function W(f){return N(function(H){return H=+H,N(function(a,T){var fG,b=f([],a.length,H),Y=b.length;while(Y--)a[fG=b[Y]]&&(a[fG]=!(T[fG]=a[fG]))})})}function X(f){return f&&"undefined"!=typeof f.getElementsByTagName&&f}for(H in a=K.support={},b=K.isXML=function(f){var H=f.namespaceURI,a=(f.ownerDocument||f).documentElement;return!v.test(H||a&&a.nodeName||"HTML")},D=K.setDocument=function(f){var H,fG,Y=f?f.ownerDocument||f:eW;return Y!=d&&9===Y.nodeType&&Y.documentElement&&(P=(d=Y).documentElement,eN=!b(d),eW!=d&&(fG=d.defaultView)&&fG.top!==fG&&(fG.addEventListener?fG.addEventListener("unload",I,!1):fG.attachEvent&&fG.attachEvent("onunload",I)),a.scope=O(function(f){return P.appendChild(f).appendChild(d.createElement("div")),"undefined"!=typeof f.querySelectorAll&&!f.querySelectorAll(":scope fieldset div").length}),a.attributes=O(function(f){return f.className="i",!f.getAttribute("className")}),a.getElementsByTagName=O(function(f){return f.appendChild(d.createComment("")),!f.getElementsByTagName("*").length}),a.getElementsByClassName=y.test(d.getElementsByClassName),a.getById=O(function(f){return P.appendChild(f).id=i,!d.getElementsByName||!d.getElementsByName(i).length}),a.getById?(T.filter.ID=function(f){var H=f.replace(B,E);return function(f){return f.getAttribute("id")===H}},T.find.ID=function(f,H){if("undefined"!=typeof H.getElementById&&eN){var a=H.getElementById(f);return a?[a]:[]}}):(T.filter.ID=function(f){var H=f.replace(B,E);return function(f){var a="undefined"!=typeof f.getAttributeNode&&f.getAttributeNode("id");return a&&a.value===H}},T.find.ID=function(f,H){if("undefined"!=typeof H.getElementById&&eN){var a,T,fG,b=H.getElementById(f);if(b){if((a=b.getAttributeNode("id"))&&a.value===f)return[b];fG=H.getElementsByName(f),T=0;while(b=fG[T++])if((a=b.getAttributeNode("id"))&&a.value===f)return[b]}return[]}}),T.find.TAG=a.getElementsByTagName?function(f,H){return"undefined"!=typeof H.getElementsByTagName?H.getElementsByTagName(f):a.qsa?H.querySelectorAll(f):void 0}:function(f,H){var a,T=[],fG=0,b=H.getElementsByTagName(f);if("*"===f){while(a=b[fG++])1===a.nodeType&&T.push(a);return T}return b},T.find.CLASS=a.getElementsByClassName&&function(f,H){if("undefined"!=typeof H.getElementsByClassName&&eN)return H.getElementsByClassName(f)},dX=[],eQ=[],(a.qsa=y.test(d.querySelectorAll))&&(O(function(f){var H;P.appendChild(f).innerHTML="",f.querySelectorAll("[msallowcapture^='']").length&&eQ.push("[*^$]="+j+"*(?:''|\"\")"),f.querySelectorAll("[selected]").length||eQ.push("\\["+j+"*(?:value|"+h+")"),f.querySelectorAll("[id~="+i+"-]").length||eQ.push("~="),(H=d.createElement("input")).setAttribute("name",""),f.appendChild(H),f.querySelectorAll("[name='']").length||eQ.push("\\["+j+"*name"+j+"*="+j+"*(?:''|\"\")"),f.querySelectorAll(":checked").length||eQ.push(":checked"),f.querySelectorAll("a#"+i+"+*").length||eQ.push(".#.+[+~]"),f.querySelectorAll("\\\f"),eQ.push("[\\r\\n\\f]")}),O(function(f){f.innerHTML="";var H=d.createElement("input");H.setAttribute("type","hidden"),f.appendChild(H).setAttribute("name","D"),f.querySelectorAll("[name=d]").length&&eQ.push("name"+j+"*[*^$|!~]?="),2!==f.querySelectorAll(":enabled").length&&eQ.push(":enabled",":disabled"),P.appendChild(f).disabled=!0,2!==f.querySelectorAll(":disabled").length&&eQ.push(":enabled",":disabled"),f.querySelectorAll("*,:x"),eQ.push(",.*:")})),(a.matchesSelector=y.test(af=P.matches||P.webkitMatchesSelector||P.mozMatchesSelector||P.oMatchesSelector||P.msMatchesSelector))&&O(function(f){a.disconnectedMatch=af.call(f,"*"),af.call(f,"[s!='']:x"),dX.push("!=",m)}),eQ=eQ.length&&new RegExp(eQ.join("|")),dX=dX.length&&new RegExp(dX.join("|")),H=y.test(P.compareDocumentPosition),fGc=H||y.test(P.contains)?function(f,H){var a=9===f.nodeType?f.documentElement:f,T=H&&H.parentNode;return f===T||!(!T||1!==T.nodeType||!(a.contains?a.contains(T):f.compareDocumentPosition&&16&f.compareDocumentPosition(T)))}:function(f,H){if(H)while(H=H.parentNode)if(H===f)return!0;return!1},da=H?function(f,H){if(f===H)return ff=!0,0;var T=!f.compareDocumentPosition-!H.compareDocumentPosition;return T||(1&(T=(f.ownerDocument||f)==(H.ownerDocument||H)?f.compareDocumentPosition(H):1)||!a.sortDetached&&H.compareDocumentPosition(f)===T?f==d||f.ownerDocument==eW&&fGc(eW,f)?-1:H==d||H.ownerDocument==eW&&fGc(eW,H)?1:e?cG(e,f)-cG(e,H):0:4&T?-1:1)}:function(f,H){if(f===H)return ff=!0,0;var a,T=0,fG=f.parentNode,b=H.parentNode,Y=[f],g=[H];if(!fG||!b)return f==d?-1:H==d?1:fG?-1:b?1:e?cG(e,f)-cG(e,H):0;if(fG===b)return R(f,H);a=f;while(a=a.parentNode)Y.unshift(a);a=H;while(a=a.parentNode)g.unshift(a);while(Y[T]===g[T])T++;return T?R(Y[T],g[T]):Y[T]==eW?-1:g[T]==eW?1:0}),d},K.matches=function(f,H){return K(f,null,null,H)},K.matchesSelector=function(f,H){if(D(f),a.matchesSelector&&eN&&!eB[H+" "]&&(!dX||!dX.test(H))&&(!eQ||!eQ.test(H)))try{var T=af.call(f,H);if(T||a.disconnectedMatch||f.document&&11!==f.document.nodeType)return T}catch(f){eB(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(B,E),f[3]=(f[3]||f[4]||f[5]||"").replace(B,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]||K.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]&&K.error(f[0]),f},PSEUDO:function(f){var H,a=!f[6]&&f[2];return u.CHILD.test(f[0])?null:(f[3]?f[2]=f[4]||f[5]||"":a&&s.test(a)&&(H=Y(a,!0))&&(H=a.indexOf(")",a.length-H)-a.length)&&(f[0]=f[0].slice(0,H),f[2]=a.slice(0,H)),f.slice(0,3))}},filter:{TAG:function(f){var H=f.replace(B,E).toLowerCase();return"*"===f?function(){return!0}:function(f){return f.nodeName&&f.nodeName.toLowerCase()===H}},CLASS:function(f){var H=aC[f+" "];return H||(H=new RegExp("(^|"+j+")"+f+"("+j+"|$)"))&&aC(f,function(f){return H.test("string"==typeof f.className&&f.className||"undefined"!=typeof f.getAttribute&&f.getAttribute("class")||"")})},ATTR:function(f,H,a){return function(T){var fG=K.attr(T,f);return null==fG?"!="===H:!H||(fG+="","="===H?fG===a:"!="===H?fG!==a:"^="===H?a&&0===fG.indexOf(a):"*="===H?a&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function bB(f,H,a){return P(H)?eW.grep(f,function(f,T){return!!H.call(f,T,f)!==a}):H.nodeType?eW.grep(f,function(f){return f===H!==a}):"string"!=typeof H?eW.grep(f,function(f){return-1)[^>]*|#([\w-]+))$/;(eW.fn.init=function(f,H,a){var T,fG;if(!f)return this;if(a=a||dY,"string"==typeof f){if(!(T="<"===f[0]&&">"===f[f.length-1]&&3<=f.length?[null,f,null]:eK.exec(f))||!T[1]&&H)return!H||H.jquery?(H||a).find(f):this.constructor(H).find(f);if(T[1]){if(H=H instanceof eW?H[0]:H,eW.merge(this,eW.parseHTML(T[1],H&&H.nodeType?H.ownerDocument||H:eQ,!0)),da.test(T[1])&&eW.isPlainObject(H))for(T in H)P(this[T])?this[T](H[T]):this.attr(T,H[T]);return this}return(fG=eQ.getElementById(T[2]))&&(this[0]=fG,this.length=1),this}return f.nodeType?(this[0]=f,this.length=1,this):P(f)?void 0!==a.ready?a.ready(f):f(eW):eW.makeArray(f,this)}).prototype=eW.fn,dY=eW(eQ);var c=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};function gh(f,H){while((f=f[H])&&1!==f.nodeType);return f}eW.fn.extend({has:function(f){var H=eW(f,this),a=H.length;return this.filter(function(){for(var f=0;f\x20\t\r\n\f]*)/i,U=/^$|^module$|\/(?:java|ecma)script/i;O=eQ.createDocumentFragment().appendChild(eQ.createElement("div")),(Q=eQ.createElement("input")).setAttribute("type","radio"),Q.setAttribute("checked","checked"),Q.setAttribute("name","t"),O.appendChild(Q),d.checkClone=O.cloneNode(!0).cloneNode(!0).lastChild.checked,O.innerHTML="",d.noCloneChecked=!!O.cloneNode(!0).lastChild.defaultValue,O.innerHTML="",d.option=!!O.lastChild;var V={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function W(f,H){var a;return a="undefined"!=typeof f.getElementsByTagName?f.getElementsByTagName(H||"*"):"undefined"!=typeof f.querySelectorAll?f.querySelectorAll(H||"*"):[],void 0===H||H&&eB(f,H)?eW.merge([f],a):a}function X(f,H){for(var a=0,T=f.length;a",""]);var $=/<|&#?\w+;/;function _(f,H,a,T,fG){for(var b,Y,g,Yb,M,e,ff=H.createDocumentFragment(),D=[],d=0,P=f.length;d\s*$/g;function df(f,H){return eB(f,"table")&&eB(11!==H.nodeType?H:H.firstChild,"tr")&&eW(f).children("tbody")[0]||f}function Pf(f){return f.type=(null!==f.getAttribute("type"))+"/"+f.type,f}function eNf(f){return"true/"===(f.type||"").slice(0,5)?f.type=f.type.slice(5):f.removeAttribute("type"),f}function eQf(f,H){var a,T,fG,b,Y,g;if(1===H.nodeType){if(v.hasData(f)&&(g=v.get(f).events))for(fG in v.remove(H,"handle events"),g)for(a=0,T=g[fG].length;a").attr(f.scriptAttrs||{}).prop({charset:f.scriptCharset,src:f.url}).on("load error",a=function(f){H.remove(),a=null,f&&fG("error"===f.type?404:200,f.type)}),eQ.head.appendChild(H[0])},abort:function(){a&&a()}}});var MH,eH=[],ffH=/(=)\?(?=&|$)|\?\?/;eW.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var f=eH.pop()||eW.expando+"_"+Kf.guid++;return this[f]=!0,f}}),eW.ajaxPrefilter("json jsonp",function(H,a,T){var fG,b,Y,g=!1!==H.jsonp&&(ffH.test(H.url)?"url":"string"==typeof H.data&&0===(H.contentType||"").indexOf("application/x-www-form-urlencoded")&&ffH.test(H.data)&&"data");if(g||"jsonp"===H.dataTypes[0])return fG=H.jsonpCallback=P(H.jsonpCallback)?H.jsonpCallback():H.jsonpCallback,g?H[g]=H[g].replace(ffH,"$1"+fG):!1!==H.jsonp&&(H.url+=(Lf.test(H.url)?"&":"?")+H.jsonp+"="+fG),H.converters["script json"]=function(){return Y||eW.error(fG+" was not called"),Y[0]},H.dataTypes[0]="json",b=f[fG],f[fG]=function(){Y=arguments},T.always(function(){void 0===b?eW(f).removeProp(fG):f[fG]=b,H[fG]&&(H.jsonpCallback=a.jsonpCallback,eH.push(fG)),Y&&P(b)&&b(Y[0]),Y=b=void 0}),"script"}),d.createHTMLDocument=((MH=eQ.implementation.createHTMLDocument("").body).innerHTML="
",2===MH.childNodes.length),eW.parseHTML=function(f,H,a){return"string"!=typeof f?[]:("boolean"==typeof H&&(a=H,H=!1),H||(d.createHTMLDocument?((T=(H=eQ.implementation.createHTMLDocument("")).createElement("base")).href=eQ.location.href,H.head.appendChild(T)):H=eQ),b=!a&&[],(fG=da.exec(f))?[H.createElement(fG[1])]:(fG=_([f],H,b),b&&b.length&&eW(b).remove(),eW.merge([],fG.childNodes)));var T,fG,b},eW.fn.load=function(f,H,a){var T,fG,b,Y=this,g=f.indexOf(" ");return-1").append(eW.parseHTML(f)).find(T):f)}).always(a&&function(f,H){Y.each(function(){a.apply(this,b||[f.responseText,H,f])})}),this},eW.expr.pseudos.animated=function(f){return eW.grep(eW.timers,function(H){return f===H.elem}).length},eW.offset={setOffset:function(f,H,a){var T,fG,b,Y,g,Yb,M=eW.css(f,"position"),e=eW(f),ff={};"static"===M&&(f.style.position="relative"),g=e.offset(),b=eW.css(f,"top"),Yb=eW.css(f,"left"),("absolute"===M||"fixed"===M)&&-1<(b+Yb).indexOf("auto")?(Y=(T=e.position()).top,fG=T.left):(Y=parseFloat(b)||0,fG=parseFloat(Yb)||0),P(H)&&(H=H.call(f,a,eW.extend({},g))),null!=H.top&&(ff.top=H.top-g.top+Y),null!=H.left&&(ff.left=H.left-g.left+fG),"using"in H?H.using.call(f,ff):("number"==typeof ff.top&&(ff.top+="px"),"number"==typeof ff.left&&(ff.left+="px"),e.css(ff))}},eW.fn.extend({offset:function(f){if(arguments.length)return void 0===f?this:this.each(function(H){eW.offset.setOffset(this,f,H)});var H,a,T=this[0];return T?T.getClientRects().length?(H=T.getBoundingClientRect(),a=T.ownerDocument.defaultView,{top:H.top+a.pageYOffset,left:H.left+a.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var f,H,a,T=this[0],fG={top:0,left:0};if("fixed"===eW.css(T,"position"))H=T.getBoundingClientRect();else{H=this.offset(),a=T.ownerDocument,f=T.offsetParent||a.documentElement;while(f&&(f===a.body||f===a.documentElement)&&"static"===eW.css(f,"position"))f=f.parentNode;f&&f!==T&&1===f.nodeType&&((fG=eW(f).offset()).top+=eW.css(f,"borderTopWidth",!0),fG.left+=eW.css(f,"borderLeftWidth",!0))}return{top:H.top-fG.top-eW.css(T,"marginTop",!0),left:H.left-fG.left-eW.css(T,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var f=this.offsetParent;while(f&&"static"===eW.css(f,"position"))f=f.offsetParent;return f||F})}}),eW.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(f,H){var a="pageYOffset"===H;eW.fn[f]=function(T){return o(this,function(f,T,fG){var b;if(eN(f)?b=f:9===f.nodeType&&(b=f.defaultView),void 0===fG)return b?b[H]:f[T];b?b.scrollTo(a?b.pageXOffset:fG,a?fG:b.pageYOffset):f[T]=fG},f,T,arguments.length)}}),eW.each(["top","left"],function(f,H){eW.cssHooks[H]=bNf(d.pixelPosition,function(f,a){if(a)return a=bRf(f,H),eWf.test(a)?eW(f).position()[H]+"px":a})}),eW.each({Height:"height",Width:"width"},function(f,H){eW.each({padding:"inner"+f,content:H,"":"outer"+f},function(a,T){eW.fn[T]=function(fG,b){var Y=arguments.length&&(a||"boolean"!=typeof fG),g=a||(!0===fG||!0===b?"margin":"border");return o(this,function(H,a,fG){var b;return eN(H)?0===T.indexOf("outer")?H["inner"+f]:H.document.documentElement["client"+f]:9===H.nodeType?(b=H.documentElement,Math.max(H.body["scroll"+f],b["scroll"+f],H.body["offset"+f],b["offset"+f],b["client"+f])):void 0===fG?eW.css(H,a,g):eW.style(H,a,fG,g)},H,Y?fG:void 0,Y)}})}),eW.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(f,H){eW.fn[H]=function(f){return this.on(H,f)}}),eW.fn.extend({bind:function(f,H,a){return this.on(f,null,H,a)},unbind:function(f,H){return this.off(f,null,H)},delegate:function(f,H,a,T){return this.on(H,f,a,T)},undelegate:function(f,H,a){return 1===arguments.length?this.off(f,"**"):this.off(H,f||"**",a)},hover:function(f,H){return this.mouseenter(f).mouseleave(H||f)}}),eW.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){eW.fn[H]=function(f,a){return 0",{size:1}).attr("size")&&a.attrFn,bS=a.attr,d=a.attrHooks.value&&a.attrHooks.value.get||function(){return null},M=a.attrHooks.value&&a.attrHooks.value.set||function(){return c},e=/^(?:input|button)$/i,h=/^[238]$/,dj=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,f=/^(?:checked|selected)$/i;b(a,"attrFn",cN||{},"jQuery.attrFn is deprecated"),a.attr=function(D,b,A,d){var M=b.toLowerCase(),N=D&&D.nodeType;return d&&(bS.length<4&&O("jQuery.fn.attr( props, pass ) is deprecated"),D&&!h.test(N)&&(cN?b in cN:a.isFunction(a.fn[b])))?a(D)[b](A):("type"===b&&A!==c&&e.test(D.nodeName)&&D.parentNode&&O("Can't change the 'type' of an input or button in IE 6/7/8"),!a.attrHooks[M]&&dj.test(M)&&(a.attrHooks[M]={get:function(D,O){var b,A=a.prop(D,O);return A===!0||"boolean"!=typeof A&&(b=D.getAttributeNode(O))&&b.nodeValue!==!1?O.toLowerCase():c},set:function(D,c,O){var b;return c===!1?a.removeAttr(D,O):(b=a.propFix[O]||O,b in D&&(D[b]=!0),D.setAttribute(O,O.toLowerCase())),O}},f.test(M)&&O("jQuery.fn.attr('"+M+"') might use property instead of attribute")),bS.call(a,D,b,A))},a.attrHooks.value={get:function(a,D){var c=(a.nodeName||"").toLowerCase();return"button"===c?d.apply(this,arguments):("input"!==c&&"option"!==c&&O("jQuery.fn.attr('value') no longer gets properties"),D in a?a.value:null)},set:function(a,D){var c=(a.nodeName||"").toLowerCase();return"button"===c?M.apply(this,arguments):("input"!==c&&"option"!==c&&O("jQuery.fn.attr('value', val) no longer sets properties"),void(a.value=D))}};var N,dQ,bL=a.fn.init,bg=a.find,ef=a.parseJSON,dL=/^\s*)([^>]*)$/;a.fn.init=function(D,b,A){var cN,bS;return D&&"string"==typeof D&&!a.isPlainObject(b)&&(cN=aP.exec(a.trim(D)))&&cN[0]&&(dL.test(D)||O("$(html) HTML strings must start with '<' character"),cN[3]&&O("$(html) HTML text after last tag is ignored"),"#"===cN[0].charAt(0)&&(O("HTML string cannot start with a '#' character"),a.error("JQMIGRATE: Invalid selector string (XSS)")),b&&b.context&&b.context.nodeType&&(b=b.context),a.parseHTML)?bL.call(this,a.parseHTML(cN[2],b&&b.ownerDocument||b||document,!0),b,A):(bS=bL.apply(this,arguments),D&&D.selector!==c?(bS.selector=D.selector,bS.context=D.context):(bS.selector="string"==typeof D?D:"",D&&(bS.context=D.nodeType?D:b||document)),bS)},a.fn.init.prototype=a.fn,a.find=function(a){var D=Array.prototype.slice.call(arguments);if("string"==typeof a&&cP.test(a))try{document.querySelector(a)}catch(c){a=a.replace(cE,function(a,D,c,O){return"["+D+c+'"'+O+'"]'});try{document.querySelector(a),O("Attribute selector with '#' must be quoted: "+D[0]),D[0]=a}catch(a){O("Attribute selector with '#' was not fixed: "+D[0])}}return bg.apply(this,D)};var fb;for(fb in bg)Object.prototype.hasOwnProperty.call(bg,fb)&&(a.find[fb]=bg[fb]);a.parseJSON=function(a){return a?ef.apply(this,arguments):(O("jQuery.parseJSON requires a valid JSON string"),null)},a.uaMatch=function(a){a=a.toLowerCase();var D=/(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:D[1]||"",version:D[2]||"0"}},a.browser||(N=a.uaMatch(navigator.userAgent),dQ={},N.browser&&(dQ[N.browser]=!0,dQ.version=N.version),dQ.chrome?dQ.webkit=!0:dQ.webkit&&(dQ.safari=!0),a.browser=dQ),b(a,"browser",a.browser,"jQuery.browser is deprecated"),a.boxModel=a.support.boxModel="CSS1Compat"===document.compatMode,b(a,"boxModel",a.boxModel,"jQuery.boxModel is deprecated"),b(a.support,"boxModel",a.support.boxModel,"jQuery.support.boxModel is deprecated"),a.sub=function(){function D(a,c){return new D.fn.init(a,c)}a.extend(!0,D,this),D.superclass=this,D.fn=D.prototype=this(),D.fn.constructor=D,D.sub=this.sub,D.fn.init=function(O,b){var A=a.fn.init.call(this,O,b,c);return A instanceof D?A:D(A)},D.fn.init.prototype=D.fn;var c=D(document);return O("jQuery.sub() is deprecated"),D},a.fn.size=function(){return O("jQuery.fn.size() is deprecated; use the .length property"),this.length};var bc=!1;a.swap&&a.each(["height","width","reliableMarginRight"],function(D,c){var O=a.cssHooks[c]&&a.cssHooks[c].get;O&&(a.cssHooks[c].get=function(){var a;return bc=!0,a=O.apply(this,arguments),bc=!1,a})}),a.swap=function(a,D,c,b){var A,cN,bS={};bc||O("jQuery.swap() is undocumented and deprecated");for(cN in D)bS[cN]=a.style[cN],a.style[cN]=D[cN];A=c.apply(a,b||[]);for(cN in D)a.style[cN]=bS[cN];return A},a.ajaxSetup({converters:{"text json":a.parseJSON}});var ec=a.fn.data;a.fn.data=function(D){var b,A,cN=this[0];return!cN||"events"!==D||1!==arguments.length||(b=a.data(cN,D),A=a._data(cN,D),b!==c&&b!==A||A===c)?ec.apply(this,arguments):(O("Use of jQuery.fn.data('events') is deprecated"),A)};var ch=/\/(java|ecma)script/i;a.clean||(a.clean=function(D,c,b,A){c=c||document,c=!c.nodeType&&c[0]||c,c=c.ownerDocument||c,O("jQuery.clean() is deprecated");var cN,bS,d,M,e=[];if(a.merge(e,a.buildFragment(D,c).childNodes),b)for(d=function(a){return!a.type||ch.test(a.type)?A?A.push(a.parentNode?a.parentNode.removeChild(a):a):b.appendChild(a):void 0},cN=0;null!=(bS=e[cN]);cN++)a.nodeName(bS,"script")&&d(bS)||(b.appendChild(bS),"undefined"!=typeof bS.getElementsByTagName&&(M=a.grep(a.merge([],bS.getElementsByTagName("script")),d),e.splice.apply(e,[cN+1,0].concat(M)),cN+=M.length));return e});var g=a.event.add,E=a.event.remove,fO=a.event.trigger,efg=a.fn.toggle,Q=a.fn.live,gK=a.fn.die,fQ=a.fn.load,eX="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",ag=new RegExp("\\b(?:"+eX+")\\b"),i=/(?:^|\s)hover(\.\S+|)\b/,j=function(D){return"string"!=typeof D||a.event.special.hover?D:(i.test(D)&&O("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),D&&D.replace(i,"mouseenter$1 mouseleave$1"))};a.event.props&&"attrChange"!==a.event.props[0]&&a.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),a.event.dispatch&&b(a.event,"handle",a.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),a.event.add=function(a,D,c,b,A){a!==document&&ag.test(D)&&O("AJAX events should be attached to document: "+D),g.call(this,a,j(D||""),c,b,A)},a.event.remove=function(a,D,c,O,b){E.call(this,a,j(D)||"",c,O,b)},a.each(["load","unload","error"],function(D,c){a.fn[c]=function(){var a=Array.prototype.slice.call(arguments,0);return"load"===c&&"string"==typeof a[0]?fQ.apply(this,a):(O("jQuery.fn."+c+"() is deprecated"),a.splice(0,0,c),arguments.length?this.bind.apply(this,a):(this.triggerHandler.apply(this,a),this))}}),a.fn.toggle=function(D,c){if(!a.isFunction(D)||!a.isFunction(c))return efg.apply(this,arguments);O("jQuery.fn.toggle(handler, handler...) is deprecated");var b=arguments,A=D.guid||a.guid++,cN=0,bS=function(c){var O=(a._data(this,"lastToggle"+D.guid)||0)%cN;return a._data(this,"lastToggle"+D.guid,O+1),c.preventDefault(),b[O].apply(this,arguments)||!1};for(bS.guid=A;cN 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); }); }));