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