!function(e){function t(i){if(o[i])return o[i].exports;var l=o[i]={i:i,l:!1,exports:{}};return e[i].call(l.exports,l,l.exports,t),l.l=!0,l.exports}var o={};t.m=e,t.c=o,t.d=function(e,o,i){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:i})},t.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="https://static.squarespace.com/universal/scripts-compressed/",t(t.s=10659)}({10659:function(e,t,o){o(6786)},6786:function(e,t){YUI.add("squarespace-blog-collection-list",function(e){var t,o=e.config.win,i=o.document,l=e.Squarespace.Template.getTweakValue,a=function(e){if(e){for(var t=parseInt(l("tweak-blog-list-columns"),10),i=parseInt(l("tweak-blog-list-spacing"),10),a=parseFloat(o.getComputedStyle(e).width);(a-i*(t-1))/t<200;)t--;e.setAttribute("data-columns",t)}},n=function(e){if(e){var t=e.querySelectorAll(".BlogList-item-image img");if("true"===l("tweak-blog-list-item-image-show")){var i="stacked"===l("tweak-blog-list-style").toLowerCase(),a="auto"===l("tweak-blog-list-item-image-aspect-ratio-stacked").toLowerCase();if(i&&a)for(var n=0;n<t.length;n++){var s=t[n];s.style.position=null,s.style.top=null,s.style.right=null,s.style.bottom=null,s.style.left=null,s.style.width=null,s.style.height=null,o.ImageLoader.load(s,{load:!0,mode:null})}else for(var r=0;r<t.length;r++)o.ImageLoader.load(t[r],{load:!0,mode:"fill"})}}},s=function(e){a(e),n(e)},r=!1,u=function(e){r||(r=!0),t&&clearTimeout(t),t=setTimeout(function(){s(e),r=!1},100)},c=["tweak-blog-list-columns","tweak-blog-list-spacing"],g=["tweak-blog-list-style","tweak-blog-list-columns","tweak-blog-list-spacing","tweak-blog-list-item-image-aspect-ratio-grid","tweak-blog-list-item-image-aspect-ratio-stacked","tweak-blog-list-item-image-show","tweak-blog-list-item-image-width"];e.Global.on("tweak:change",function(e){var t=e.getName();c.indexOf(t)>=0&&a(),g.indexOf(t)>=0&&n()});var f,m;e.config.win.Squarespace.onInitialize(e,function(){(f=i.querySelector(".BlogList"))&&(s(f),m=u.bind(o,f),o.addEventListener("resize",m))}),e.config.win.Squarespace.onDestroy(e,function(){o.removeEventListener("resize",m)})},"1.0",{requires:[]})}});