(function(e){var t={};function r(i){if(t[i])return t[i].exports;var l=t[i]={i:i,l:false,exports:{}};e[i].call(l.exports,l,l.exports,r);l.l=true;return l.exports}r.m=e;r.c=t;r.d=function(e,t,i){r.o(e,t)||Object.defineProperty(e,t,{enumerable:true,get:i})};r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});Object.defineProperty(e,"__esModule",{value:true})};r.t=function(e,t){1&t&&(e=r(e));if(8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);r.r(i);Object.defineProperty(i,"default",{enumerable:true,value:e});if(2&t&&"string"!=typeof e)for(var l in e)r.d(i,l,function(t){return e[t]}.bind(null,l));return i};r.n=function(e){var t=e&&e.__esModule?function t(){return e["default"]}:function t(){return e};r.d(t,"a",t);return t};r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};r.p="https://assets.squarespace.com/universal/scripts-compressed/";return r(r.s="./src/main/webapp/universal/scripts-v6/rollups/blog-collection-list.manifest.js")})({"./src/main/webapp/universal/scripts-v6/blog-collection-list.js":function(e,t){YUI.add("squarespace-blog-collection-list",function(e){var t=e.config.win;var r=t.document;var i=200;var l=e.Squarespace.Template.getTweakValue;var a=function(e){if(!e)return;var r=parseInt(l("tweak-blog-list-columns"),10);var a=parseInt(l("tweak-blog-list-spacing"),10);var n=parseFloat(t.getComputedStyle(e).width);while((n-a*(r-1))/r<i)r--;e.setAttribute("data-columns",r)};var n=function(e){if(!e)return;var r=e.querySelectorAll(".BlogList-item-image img");if("true"===l("tweak-blog-list-item-image-show")){var i="stacked"===l("tweak-blog-list-style").toLowerCase();var a="auto"===l("tweak-blog-list-item-image-aspect-ratio-stacked").toLowerCase();if(i&&a)for(var n=0;n<r.length;n++){var o=r[n];o.style.position=null;o.style.top=null;o.style.right=null;o.style.bottom=null;o.style.left=null;o.style.width=null;o.style.height=null;t.ImageLoader.load(o,{load:true,mode:null})}else for(var s=0;s<r.length;s++)t.ImageLoader.load(r[s],{load:true,mode:"fill"})}};var o=function(e){a(e);n(e)};var s=100;var u=false;var c;var f=function(t){u||(u=true);c&&clearTimeout(c);c=setTimeout(function(){if(!e||!e.config||!e.config.win)return;o(t);u=false},s)};var g=["tweak-blog-list-columns","tweak-blog-list-spacing"];var p=["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"];var v=function(e){var t=e.getName();g.indexOf(t)>=0&&a();p.indexOf(t)>=0&&n()};e.Global.on("tweak:change",v);var m;var d;e.config.win.Squarespace.onInitialize(e,function(){m=r.querySelector(".BlogList");if(m){o(m);d=f.bind(t,m);t.addEventListener("resize",d)}});e.config.win.Squarespace.onDestroy(e,function(){t.removeEventListener("resize",d)})},"1.0",{requires:[]})},"./src/main/webapp/universal/scripts-v6/rollups/blog-collection-list.manifest.js":function(e,t,r){r("./src/main/webapp/universal/scripts-v6/blog-collection-list.js")}});