!function(e,t){"object"==typeofmodule&&"object"==typeofmodule.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)thrownewError("jQuery requires a window with a document");returnt(e)}:t(e)}("undefined"!=typeofwindow?window:this,function(e,t){functionn(e){vart=!!e&&"length"ine&&e.length,n=pe.type(e);return"function"===n||pe.isWindow(e)?!1:"array"===n||0===t||"number"==typeoft&&t>0&&t-1ine}functioni(e,t,n){if(pe.isFunction(t))returnpe.grep(e,function(e,i){return!!t.call(e,i,e)!==n});if(t.nodeType)returnpe.grep(e,function(e){returne===t!==n});if("string"==typeoft){if(Te.test(t))returnpe.filter(t,e,n);t=pe.filter(t,e)}returnpe.grep(e,function(e){returnpe.inArray(e,t)>-1!==n})}functiono(e,t){doe=e[t];while(e&&1!==e.nodeType);returne}functionr(e){vart={};returnpe.each(e.match(Ae)||[],function(e,n){t[n]=!0}),t}functiona(){ie.addEventListener?(ie.removeEventListener("DOMContentLoaded",s),e.removeEventListener("load",s)):(ie.detachEvent("onreadystatechange",s),e.detachEvent("onload",s))}functions(){(ie.addEventListener||"load"===e.event.type||"complete"===ie.readyState)&&(a(),pe.ready())}functionl(e,t,n){if(void0===n&&1===e.nodeType){vari="data-"+t.replace(_e,"-$1").toLowerCase();if(n=e.getAttribute(i),"string"==typeofn){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:De.test(n)?pe.parseJSON(n):n}catch(o){}pe.data(e,t,n)}elsen=void0}returnn}functionu(e){vart;for(tine)if(("data"!==t||!pe.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}functionc(e,t,n,i){if(He(e)){varo,r,a=pe.expando,s=e.nodeType,l=s?pe.cache:e,u=s?e[a]:e[a]&&a;if(u&&l[u]&&(i||l[u].data)||void0!==n||"string"!=typeoft)returnu||(u=s?e[a]=ne.pop()||pe.guid++:a),l[u]||(l[u]=s?{}:{toJSON:pe.noop}),("object"==typeoft||"function"==typeoft)&&(i?l[u]=pe.extend(l[u],t):l[u].data=pe.extend(l[u].data,t)),r=l[u],i||(r.data||(r.data={}),r=r.data),void0!==n&&(r[pe.camelCase(t)]=n),"string"==typeoft?(o=r[t],null==o&&(o=r[pe.camelCase(t)])):o=r,o}}functiond(e,t,n){if(He(e)){vari,o,r=e.nodeType,a=r?pe.cache:e,s=r?e[pe.expando]:pe.expando;if(a[s]){if(t&&(i=n?a[s]:a[s].data)){pe.isArray(t)?t=t.concat(pe.map(t,pe.camelCase)):tini?t=[t]:(t=pe.camelCase(t),t=tini?[t]:t.split(" ")),o=t.length;for(;o--;)deletei[t[o]];if(n?!u(i):!pe.isEmptyObject(i))return}(n||(deletea[s].data,u(a[s])))&&(r?pe.cleanData([e],!0):de.deleteExpando||a!=a.window?deletea[s]:a[s]=void0)}}}functionf(e,t,n,i){varo,r=1,a=20,s=i?function(){returni.cur()}:function(){returnpe.css(e,t,"")},l=s(),u=n&&n[3]||(pe.cssNumber[t]?"":"px"),c=(pe.cssNumber[t]||"px"!==u&&+l)&&Me.exec(pe.css(e,t));if(c&&c[3]!==u){u=u||c[3],n=n||[],c=+l||1;dor=r||".5",c/=r,pe.style(e,t,c+u);while(r!==(r=s()/l)&&1!==r&&--a)}returnn&&(c=+c||+l||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=o)),o}functionp(e){vart=$e.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());returnn}functionh(e,t){varn,i,o=0,r="undefined"!=typeofe.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeofe.querySelectorAll?e.querySelectorAll(t||"*"):void0;if(!r)for(r=[],n=e.childNodes||e;null!=(i=n[o]);o++)!t||pe.nodeName(i,t)?r.push(i):pe.merge(r,h(i,t));returnvoid0===t||t&&pe.nodeName(e,t)?pe.merge([e],r):r}functionm(e,t){for(varn,i=0;null!=(n=e[i]);i++)pe._data(n,"globalEval",!t||pe._data(t[i],"globalEval"))}functiong(e){qe.test(e.type)&&(e.defaultChecked=e.checked)}functionv(e,t,n,i,o){for(varr,a,s,l,u,c,d,f=e.length,v=p(t),y=[],b=0;f>b;b++)if(a=e[b],a||0===a)if("object"===pe.type(a))pe.merge(y,a.nodeType?[a]:a);elseif(Ye.test(a)){for(l=l||v.appendChild(t.createElement("div")),u=(We.exec(a)||["",""])[1].toLowerCase(),d=Xe[u]||Xe._default,l.innerHTML=d[1]+pe.htmlPrefilter(a)+d[2],r=d[0];r--;)l=l.lastChild;if(!de.leadingWhitespace&&Re.test(a)&&y.push(t.createTextNode(Re.exec(a)[0])),!de.tbody)for(a="table"!==u||Ue.test(a)?"<table>"!==d[1]||Ue.test(a)?0:l:l.firstChild,r=a&&a.childNodes.length;r--;)pe.nodeName(c=a.childNodes[r],"tbody")&&!c.childNodes.length&&a.removeChild(c);for(pe.mer
left:n.left+t.pageXOffset},win:n}}functionw(){H=setInterval(function(){!c()&&k()},500)}functionC(){clearInterval(H)}functionT(){_&&(document[P]?C():w())}functionE(){_||(r(),p(),t.addEventListener("scroll",a),t.addEventListener("wheel",s),t.addEventListener("resize",k),t.addEventListener("orientationchange",k),e.addEventListener(B,T),w(),_=!0)}functionk(){if(_){h();for(vare=D.length-1;e>=0;e--)D[e]=y(D[e].node);p()}}functionS(){t.removeEventListener("scroll",a),t.removeEventListener("wheel",s),t.removeEventListener("resize",k),t.removeEventListener("orientationchange",k),e.removeEventListener(B,T),C(),_=!1}functionN(){S(),h()}functionL(){for(N();D.length;)D.pop()}functionA(e){for(vart=D.length-1;t>=0;t--)if(D[t].node===e)return;varn=y(e);D.push(n),_?d(n):E()}functionO(e){for(vart=D.length-1;t>=0;t--)D[t].node===e&&(f(D[t]),D.splice(t,1))}varj,H,D=[],_=!1,I=e.documentElement,M=function(){},P="hidden",B="visibilitychange";void0!==e.webkitHidden&&(P="webkitHidden",B="webkitvisibilitychange"),t.getComputedStyle||n();for(varF=["","-webkit-","-moz-","-ms-"],q=document.createElement("div"),W=F.length-1;W>=0;W--){try{q.style.position=F[W]+"sticky"}catch(z){}""!=q.style.position&&n()}r(),t.Stickyfill={stickies:D,add:A,remove:O,init:E,rebuild:k,pause:S,stop:N,kill:L}}(document,window),window.jQuery&&!function(e){e.fn.Stickyfill=function(){returnthis.each(function(){Stickyfill.add(this)}),this}}(window.jQuery),$(document).ready(function(){$("#main").fitVids(),$(".sticky").Stickyfill();vare=function(){vare=$(window).width();e>1024?(Stickyfill.rebuild(),Stickyfill.init()):Stickyfill.stop()};e(),$(window).resize(function(){e()}),$("a").smoothScroll({offset:-20}),$("a[href$='.jpg'],a[href$='.jpeg'],a[href$='.JPG'],a[href$='.png'],a[href$='.gif']").addClass("image-popup"),$(".image-popup").magnificPopup({disableOn:function(){return!($(window).width()<500)},type:"image",tLoading:"Loading image #%curr%...",gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1]},image:{tError:'<a href="%url%">Image #%curr%</a> could not be loaded.'},removalDelay:500,mainClass:"mfp-zoom-in",callbacks:{beforeOpen:function(){this.st.image.markup=this.st.image.markup.replace("mfp-figure","mfp-figure mfp-with-anim")}},closeOnContentClick:!0,midClick:!0})});