!function(e){var r,a=e.event,s=a.special.debouncedresize={setup:function(){e(this).on("resize",s.handler)},teardown:function(){e(this).off("resize",s.handler)},handler:function(e,t){function n(){e.type="debouncedresize",a.dispatch.apply(i,o)}var i=this,o=arguments;r&&clearTimeout(r),t?n():r=setTimeout(n,s.threshold)},threshold:150}}(jQuery),function(e,t){"function"==typeof define&&define.amd?define(function(){return t(e)}):"object"==typeof exports?module.exports=t:e.echo=t(e)}(this,function(u){"use strict";function o(){!a&&e||(clearTimeout(e),e=setTimeout(function(){p.render(),e=null},r))}var l,e,r,a,d,p={},f=function(){};return p.init=function(e){function t(e,t){return parseInt(e||t,10)}var n=(e=e||{}).offset||0,i=e.offsetVertical||n,n=e.offsetHorizontal||n;l={t:t(e.offsetTop,i),b:t(e.offsetBottom,i),l:t(e.offsetLeft,n),r:t(e.offsetRight,n)},r=t(e.throttle,250),a=!1!==e.debounce,d=!!e.unload,f=e.callback||f,p.render(),document.addEventListener?(u.addEventListener("scroll",o,!1),u.addEventListener("load",o,!1)):(u.attachEvent("onscroll",o),u.attachEvent("onload",o))},p.render=function(e){for(var t,n,i,o,r=(e||document).querySelectorAll("[data-echo], [data-echo-background]"),a=r.length,s={l:0-l.l,t:0-l.t,b:(u.innerHeight||document.documentElement.clientHeight)+l.b,r:(u.innerWidth||document.documentElement.clientWidth)+l.r},c=0;c=o.l&&i.bottom>=o.t&&i.left<=o.r&&i.top<=o.b?(d&&n.setAttribute("data-echo-placeholder",n.src),null!==n.getAttribute("data-echo-background")?n.style.backgroundImage="url("+n.getAttribute("data-echo-background")+")":n.src!==(t=n.getAttribute("data-echo"))&&(n.src=t),d||(n.removeAttribute("data-echo"),n.removeAttribute("data-echo-background")),f(n,"load")):d&&(t=n.getAttribute("data-echo-placeholder"))&&(null!==n.getAttribute("data-echo-background")?n.style.backgroundImage="url("+t+")":n.src=t,n.removeAttribute("data-echo-placeholder"),f(n,"unload"));a||p.detach()},p.detach=function(){document.removeEventListener?u.removeEventListener("scroll",o):u.detachEvent("onscroll",o),clearTimeout(e)},p}),function(r){"use strict";r.fn.fitVids=function(e){var t,n,o={customSelector:null,ignore:null};return document.getElementById("fit-vids-style")||(t=document.head||document.getElementsByTagName("head")[0],(n=document.createElement("div")).innerHTML='

x

',t.appendChild(n.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"],i=(o.customSelector&&e.push(o.customSelector),".fitvidsignore"),e=(o.ignore&&(i=i+", "+o.ignore),r(this).find(e.join(",")));(e=(e=e.not("object object")).not(i)).each(function(e){var t,n=r(this);0').parent(".fluid-width-video-wrapper").css("padding-top",100*t+"%"),n.removeAttr("height").removeAttr("width"))})})}}(window.jQuery||window.Zepto),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){var n;if(e&&t)return-1==(n=(n=this._events=this._events||{})[e]=n[e]||[]).indexOf(t)&&n.push(t),this},t.once=function(e,t){var n;if(e&&t)return this.on(e,t),((n=this._onceEvents=this._onceEvents||{})[e]=n[e]||{})[t]=!0,this},t.off=function(e,t){e=this._events&&this._events[e];if(e&&e.length)return-1!=(t=e.indexOf(t))&&e.splice(t,1),this},t.emitEvent=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){var i=0,o=n[i];t=t||[];for(var r=this._onceEvents&&this._onceEvents[e];o;){var a=r&&r[o];a&&(this.off(e,o),delete r[o]),o.apply(this,t),o=n[i+=a?0:1]}return this}},e}),function(t,n){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(e){return n(t,e)}):"object"==typeof module&&module.exports?module.exports=n(t,require("ev-emitter")):t.imagesLoaded=n(t,t.EvEmitter)}(window,function(t,e){function i(e,t){for(var n in t)e[n]=t[n];return e}function o(e,t,n){return this instanceof o?("string"==typeof e&&(e=document.querySelectorAll(e)),this.elements=function(e){var t=[];if(Array.isArray(e))t=e;else if("number"==typeof e.length)for(var n=0;n(e||I.height())},_setFocus:function(){(m.st.focus?m.content.find(m.st.focus).eq(0):m.wrap).focus()},_onFocusIn:function(e){return e.target===m.wrap[0]||u.contains(m.wrap[0],e.target)?void 0:(m._setFocus(),!1)},_parseMarkup:function(o,e,t){var r;t.data&&(e=u.extend(t.data,e)),p(v,[o,e,t]),u.each(e,function(e,t){if(void 0===t||!1===t)return!0;var n,i;1<(r=e.split("_")).length?0<(n=o.find(w+"-"+r[0])).length&&("replaceWith"===(i=r[1])?n[0]!==t[0]&&n.replaceWith(t):"img"===i?n.is("img")?n.attr("src",t):n.replaceWith(''):n.attr(r[1],t)):o.find(w+"-"+e).html(t)})},_getScrollbarSize:function(){var e;return void 0===m.scrollbarSize&&((e=document.createElement("div")).style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),m.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)),m.scrollbarSize}},modules:[],open:function(e,t){return r(),(e=e?u.extend(!0,{},e):{}).isObj=!0,e.index=t||0,this.instance.open(e)},close:function(){return u.magnificPopup.instance&&u.magnificPopup.instance.close()},registerModule:function(e,t){t.options&&(u.magnificPopup.defaults[e]=t.options),u.extend(this.proto,t.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},u.fn.magnificPopup=function(e){r();var t,n,i,o=u(this);return"string"==typeof e?"open"===e?(t=s?o.data("magnificPopup"):o[0].magnificPopup,n=parseInt(arguments[1],10)||0,i=t.items?t.items[n]:(i=o,(i=t.delegate?i.find(t.delegate):i).eq(n)),m._openClick({mfpEl:i},o,t)):m.isOpen&&m[e].apply(m,Array.prototype.slice.call(arguments,1)):(e=u.extend(!0,{},e),s?o.data("magnificPopup",e):o[0].magnificPopup=e,m.addGroup(o,e)),o};function H(){k&&(E.after(k.addClass(C)).detach(),k=null)}var C,E,k,n="inline";u.magnificPopup.registerModule(n,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){m.types.push(n),l(c+"."+n,function(){H()})},getInline:function(e,t){var n,i,o;return H(),e.src?(n=m.st.inline,(i=u(e.src)).length?((o=i[0].parentNode)&&o.tagName&&(E||(C=n.hiddenClass,E=d(C),C="mfp-"+C),k=i.after(E).detach().removeClass(C)),m.updateStatus("ready")):(m.updateStatus("error",n.tNotFound),i=u("
")),e.inlineElement=i):(m.updateStatus("ready"),m._parseMarkup(t,{},e),t)}}});function x(){M&&u(document.body).removeClass(M)}function N(){x(),m.req&&m.req.abort()}var M,O="ajax";u.magnificPopup.registerModule(O,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'The content could not be loaded.'},proto:{initAjax:function(){m.types.push(O),M=m.st.ajax.cursor,l(c+"."+O,N),l("BeforeChange."+O,N)},getAjax:function(i){M&&u(document.body).addClass(M),m.updateStatus("loading");var e=u.extend({url:i.src,success:function(e,t,n){e={data:e,xhr:n};p("ParseAjax",e),m.appendContent(u(e.data),O),i.finished=!0,x(),m._setFocus(),setTimeout(function(){m.wrap.addClass(b)},16),m.updateStatus("ready"),p("AjaxContentAdded")},error:function(){x(),i.finished=i.loadError=!0,m.updateStatus("error",m.st.ajax.tError.replace("%url%",i.src))}},m.st.ajax.settings);return m.req=u.ajax(e),""}}});var T;u.magnificPopup.registerModule("image",{options:{markup:'
',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'The image could not be loaded.'},proto:{initImage:function(){var e=m.st.image,t=".image";m.types.push("image"),l(y+t,function(){"image"===m.currItem.type&&e.cursor&&u(document.body).addClass(e.cursor)}),l(c+t,function(){e.cursor&&u(document.body).removeClass(e.cursor),I.off("resize"+w)}),l("Resize"+t,m.resizeImage),m.isLowIE&&l("AfterChange",m.resizeImage)},resizeImage:function(){var e,t=m.currItem;t&&t.img&&m.st.image.verticalFit&&(e=0,m.isLowIE&&(e=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",m.wH-e))},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,T&&clearInterval(T),e.isCheckingImgSize=!1,p("ImageHasSize",e),e.imgHidden)&&(m.content&&m.content.removeClass("mfp-loading"),e.imgHidden=!1)},findImageSize:function(t){function n(e){T&&clearInterval(T),T=setInterval(function(){return 0
',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){m.types.push(j),l("BeforeChange",function(e,t,n){t!==n&&(t===j?_():n===j&&_(!0))}),l(c+"."+j,function(){_()})},getIframe:function(e,t){var n=e.src,i=m.st.iframe,o=(u.each(i.patterns,function(){return-1',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var r=m.st.gallery,e=".mfp-gallery",i=Boolean(u.fn.mfpFastClick);return m.direction=!0,!(!r||!r.enabled)&&(g+=" mfp-gallery",l(y+e,function(){r.navigateByImgClick&&m.wrap.on("click"+e,".mfp-img",function(){return 1=m.index,m.index=e,m.updateItemHTML()},preloadNearbyImages:function(){for(var e=m.st.gallery.preload,t=Math.min(e[0],m.items.length),n=Math.min(e[1],m.items.length),i=1;i<=(m.direction?n:t);i++)m._preloadItem(m.index+i);for(i=1;i<=(m.direction?t:n);i++)m._preloadItem(m.index-i)},_preloadItem:function(e){var t;e=S(e),m.items[e].preloaded||((t=m.items[e]).parsed||(t=m.parseEl(e)),p("LazyLoad",t),"image"===t.type&&(t.img=u('').on("load.mfploader",function(){t.hasSize=!0}).on("error.mfploader",function(){t.hasSize=!0,t.loadError=!0,p("LazyLoadError",t)}).attr("src",t.src)),t.preloaded=!0)}}}),"retina");function q(){I.off("touchmove"+L+" touchend"+L)}u.magnificPopup.registerModule(z,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){var n,i;1