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