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