!function(t,i){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("jquery")):t.jQueryBridget=i(t,t.jQuery)}(window,function(e,t){"use strict";function i(l,c,u){(u=u||t||e.jQuery)&&(c.prototype.option||(c.prototype.option=function(e){u.isPlainObject(e)&&(this.options=u.extend(!0,this.options,e))}),u.fn[l]=function(e){if("string"!=typeof e)return a=e,this.each(function(e,t){var i=u.data(t,l);i?(i.option(a),i._init()):(i=new c(t,a),u.data(t,l,i))}),this;var n,o,r,s,a,t=d.call(arguments,1);return o=t,s="$()."+l+'("'+(n=e)+'")',(e=this).each(function(e,t){var i=u.data(t,l);i?(t=i[n])&&"_"!=n.charAt(0)?(i=t.apply(i,o),r=void 0===r?i:r):p(s+" is not a valid method"):p(l+" not initialized. Cannot call methods, i.e. "+s)}),void 0!==r?r:e},n(u))}function n(e){!e||e.bridget||(e.bridget=i)}var d=Array.prototype.slice,o=e.console,p=void 0===o?function(){}:function(e){o.error(e)};return n(t||e.jQuery),i}),function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var i=this._events=this._events||{},e=i[e]=i[e]||[];return-1==e.indexOf(t)&&e.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var i=this._onceEvents=this._onceEvents||{};return(i[e]=i[e]||{})[t]=!0,this}},t.off=function(e,t){e=this._events&&this._events[e];if(e&&e.length){t=e.indexOf(t);return-1!=t&&e.splice(t,1),this}},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],o=0;o=i)break;e=n,t=o}e!=this.scrollPageIndex&&(this.scrollPageIndex=e,this.setHistory(t.title,t.path))},i.debounceMethod(e,"onScrollHistory",150),n.getScrollViewY=function(){return this.options.elementScroll?this.scroller.scrollTop+this.scroller.clientHeight/2:t.pageYOffset+this.windowHeight/2},n.setHistory=function(e,t){var i=this.options.history;i&&history[i+"State"]&&(history[i+"State"](null,e,t),this.options.historyTitle&&(document.title=e),this.dispatchEvent("history",null,[e,t]))},n.onUnload=function(){var e=this.scrollPageIndex;0!==e&&(e=this.scrollPages[e],e=t.pageYOffset-e.top+this.top,this.destroyHistory(),scrollTo(0,e))},n.onPageLoadHistory=function(e,t){this.setHistory(e.title,t)},e}),function(e,i){"function"==typeof define&&define.amd?define("infinite-scroll/js/button",["./core","fizzy-ui-utils/utils"],function(e,t){return i(0,e,t)}):"object"==typeof module&&module.exports?module.exports=i(0,require("./core"),require("fizzy-ui-utils")):i(0,e.InfiniteScroll,e.fizzyUIUtils)}(window,function(e,t,i){function n(e,t){this.element=e,this.infScroll=t,this.clickHandler=this.onClick.bind(this),this.element.addEventListener("click",this.clickHandler),t.on("request",this.disable.bind(this)),t.on("load",this.enable.bind(this)),t.on("error",this.hide.bind(this)),t.on("last",this.hide.bind(this))}return t.create.button=function(){var e=i.getQueryElement(this.options.button);e&&(this.button=new n(e,this))},t.destroy.button=function(){this.button&&this.button.destroy()},n.prototype.onClick=function(e){e.preventDefault(),this.infScroll.loadNextPage()},n.prototype.enable=function(){this.element.removeAttribute("disabled")},n.prototype.disable=function(){this.element.disabled="disabled"},n.prototype.hide=function(){this.element.style.display="none"},n.prototype.destroy=function(){this.element.removeEventListener("click",this.clickHandler)},t.Button=n,t}),function(e,i){"function"==typeof define&&define.amd?define("infinite-scroll/js/status",["./core","fizzy-ui-utils/utils"],function(e,t){return i(0,e,t)}):"object"==typeof module&&module.exports?module.exports=i(0,require("./core"),require("fizzy-ui-utils")):i(0,e.InfiniteScroll,e.fizzyUIUtils)}(window,function(e,t,i){function n(e){r(e,"none")}function o(e){r(e,"block")}function r(e,t){e&&(e.style.display=t)}var s=t.prototype;return t.create.status=function(){var e=i.getQueryElement(this.options.status);e&&(this.statusElement=e,this.statusEventElements={request:e.querySelector(".infinite-scroll-request"),error:e.querySelector(".infinite-scroll-error"),last:e.querySelector(".infinite-scroll-last")},this.on("request",this.showRequestStatus),this.on("error",this.showErrorStatus),this.on("last",this.showLastStatus),this.bindHideStatus("on"))},s.bindHideStatus=function(e){var t=this.options.append?"append":"load";this[e](t,this.hideAllStatus)},s.showRequestStatus=function(){this.showStatus("request")},s.showErrorStatus=function(){this.showStatus("error")},s.showLastStatus=function(){this.showStatus("last"),this.bindHideStatus("off")},s.showStatus=function(e){o(this.statusElement),this.hideStatusEventElements(),o(this.statusEventElements[e])},s.hideAllStatus=function(){n(this.statusElement),this.hideStatusEventElements()},s.hideStatusEventElements=function(){for(var e in this.statusEventElements)n(this.statusEventElements[e])},t}),function(e){"function"==typeof define&&define.amd?define(["infinite-scroll/js/core","infinite-scroll/js/page-load","infinite-scroll/js/scroll-watch","infinite-scroll/js/history","infinite-scroll/js/button","infinite-scroll/js/status"],e):"object"==typeof module&&module.exports&&(module.exports=e(require("./core"),require("./page-load"),require("./scroll-watch"),require("./history"),require("./button"),require("./status")))}((window,function(e){return e})),function(t,i){"use strict";"function"==typeof define&&define.amd?define("imagesloaded/imagesloaded",["ev-emitter/ev-emitter"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("ev-emitter")):t.imagesLoaded=i(t,t.EvEmitter)}("undefined"!=typeof window?window:this,function(t,e){function r(e,t){for(var i in t)e[i]=t[i];return e}function s(e,t,i){if(!(this instanceof s))return new s(e,t,i);var n,o=e;return(o="string"==typeof e?document.querySelectorAll(e):o)?(this.elements=(n=o,Array.isArray(n)?n:"object"==typeof n&&"number"==typeof n.length?c.call(n):[n]),this.options=r({},this.options),"function"==typeof t?i=t:r(this.options,t),i&&this.on("always",i),this.getImages(),a&&(this.jqDeferred=new a.Deferred),void setTimeout(this.check.bind(this))):void l.error("Bad element for imagesLoaded "+(o||e))}function i(e){this.img=e}function n(e,t){this.url=e,this.element=t,this.img=new Image}var a=t.jQuery,l=t.console,c=Array.prototype.slice;(s.prototype=Object.create(e.prototype)).options={},s.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},s.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&u[t]){for(var i=e.querySelectorAll("img"),n=0;nx

',t.appendChild(i.childNodes[1])),e&&r.extend(o,e),this.each(function(){var e=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];o.customSelector&&e.push(o.customSelector);var n=".fitvidsignore";o.ignore&&(n=n+", "+o.ignore);e=r(this).find(e.join(","));(e=(e=e.not("object object")).not(n)).each(function(){var e,t,i=r(this);0').parent(".fluid-width-video-wrapper").css("padding-top",100*e+"%"),i.removeAttr("height").removeAttr("width"))})})},r.fn.fitVids._count=0}(window.jQuery||window.Zepto),function(e){var t=function(a,R){"use strict";if(R.getElementsByClassName){var H,F,N=R.documentElement,l=a.Date,n=a.HTMLPictureElement,c="addEventListener",B="getAttribute",u=a[c],q=a.setTimeout,d=a.requestAnimationFrame||q,p=a.requestIdleCallback,j=/^picture$/i,o=["load","error","lazyincluded","_lazyloaded"],i={},W=Array.prototype.forEach,U=function(e,t){return i[t]||(i[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),i[t].test(e[B]("class")||"")&&i[t]},Z=function(e,t){U(e,t)||e.setAttribute("class",(e[B]("class")||"").trim()+" "+t)},Y=function(e,t){var i;(i=U(e,t))&&e.setAttribute("class",(e[B]("class")||"").replace(i," "))},$=function(t,i,e){var n=e?c:"removeEventListener";e&&$(t,i),o.forEach(function(e){t[n](e,i)})},G=function(e,t,i,n,o){var r=R.createEvent("Event");return i||(i={}),i.instance=H,r.initEvent(t,!n,!o),r.detail=i,e.dispatchEvent(r),r},K=function(e,t){var i;!n&&(i=a.picturefill||F.pf)?(t&&t.src&&!e[B]("srcset")&&e.setAttribute("srcset",t.src),i({reevaluate:!0,elements:[e]})):t&&t.src&&(e.src=t.src)},Q=function(e,t){return(getComputedStyle(e,null)||{})[t]},s=function(e,t,i){for(i=i||e.offsetWidth;i49?function(){p(t,{timeout:r}),r!==F.ricTimeout&&(r=F.ricTimeout)}:X(function(){q(t)},!0);return function(e){var t;(e=!0===e)&&(r=33),i||(i=!0,t=o-(l.now()-n),t<0&&(t=0),e||t<9?s():q(s,t))}},ee=function(e){var t,i,n=99,o=function(){t=null,e()},r=function(){var e=l.now()-i;e0)&&"visible"!=Q(n,"overflow")&&(i=n.getBoundingClientRect(),o=w>i.left&&bi.top-1&&v500&&N.clientWidth>500?500:370:F.expand,u=c*F.expFactor,d=F.hFac,S=null,C2&&m>2&&!R.hidden?(C=u,k=0):C=m>1&&k>1&&T<6?c:I;t=s&&(v=i.top)<=y&&(w=i.right)>=s*d&&(b=i.left)<=g&&(x||w||b||v)&&(F.loadHidden||z(p[t]))&&(f&&T<3&&!a&&(m<3||k<4)||L(p[t],r))){if(O(p[t]),o=!0,T>9)break}else!o&&f&&!n&&T<4&&k<4&&m>2&&(h[0]||F.preloadAfterLoad)&&(h[0]||!a&&(x||w||b||v||"auto"!=p[t][B](F.sizesAttr)))&&(n=h[0]||p[t]);else O(p[t]);n&&!o&&O(n)}},i=J(e),P=function(e){Z(e.target,F.loadedClass),Y(e.target,F.loadingClass),$(e.target,M),G(e.target,"lazyloaded")},n=X(P),M=function(e){n({target:e.target})},D=function(t,i){try{t.contentWindow.location.replace(i)}catch(e){t.src=i}},_=function(e){var t,i=e[B](F.srcsetAttr);(t=F.customMedia[e[B]("data-media")||e[B]("media")])&&e.setAttribute("media",t),i&&e.setAttribute("srcset",i)},s=X(function(e,t,i,n,o){var r,s,a,l,c,u;(c=G(e,"lazybeforeunveil",t)).defaultPrevented||(n&&(i?Z(e,F.autosizesClass):e.setAttribute("sizes",n)),s=e[B](F.srcsetAttr),r=e[B](F.srcAttr),o&&(a=e.parentNode,l=a&&j.test(a.nodeName||"")),u=t.firesLoad||"src"in e&&(s||r||l),c={target:e},u&&($(e,A,!0),clearTimeout(d),d=q(A,2500),Z(e,F.loadingClass),$(e,M,!0)),l&&W.call(a.getElementsByTagName("source"),_),s?e.setAttribute("srcset",s):r&&!l&&(p.test(e.nodeName)?D(e,r):e.src=r),o&&(s||l)&&K(e,{src:r})),e._lazyRace&&delete e._lazyRace,Y(e,F.lazyClass),V(function(){(!u||e.complete&&e.naturalWidth>1)&&(u?A(c):T--,P(c))},!0)}),O=function(e){var t,i=r.test(e.nodeName),n=i&&(e[B](F.sizesAttr)||e[B]("sizes")),o="auto"==n;(!o&&f||!i||!e[B]("src")&&!e.srcset||e.complete||U(e,F.errorClass)||!U(e,F.lazyClass))&&(t=G(e,"lazyunveilread").detail,o&&te.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,T++,s(e,t,o,n,i))},o=function(){if(!f){if(l.now()-t<999)return void q(o,999);var e=ee(function(){F.loadMode=3,i()});f=!0,F.loadMode=3,i(),u("scroll",function(){3==F.loadMode&&(F.loadMode=2),e()},!0)}};return{_:function(){t=l.now(),H.elements=R.getElementsByClassName(F.lazyClass),h=R.getElementsByClassName(F.lazyClass+" "+F.preloadClass),u("scroll",i,!0),u("resize",i,!0),a.MutationObserver?new MutationObserver(i).observe(N,{childList:!0,subtree:!0,attributes:!0}):(N[c]("DOMNodeInserted",i,!0),N[c]("DOMAttrModified",i,!0),setInterval(i,999)),u("hashchange",i,!0),["focus","mouseover","click","load","transitionend","animationend","webkitAnimationEnd"].forEach(function(e){R[c](e,i,!0)}),/d$|^c/.test(R.readyState)?o():(u("load",o),R[c]("DOMContentLoaded",i),q(o,2e4)),H.elements.length?(e(),V._lsFlush()):i()},checkElems:i,unveil:O}}(),te=function(){var i,r=X(function(e,t,i,n){var o,r,s;if(e._lazysizesWidth=n,n+="px",e.setAttribute("sizes",n),j.test(t.nodeName||""))for(o=t.getElementsByTagName("source"),r=0,s=o.length;r