var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
let window = _____WB$wombat$assign$function_____("window");
let self = _____WB$wombat$assign$function_____("self");
let document = _____WB$wombat$assign$function_____("document");
let location = _____WB$wombat$assign$function_____("location");
let top = _____WB$wombat$assign$function_____("top");
let parent = _____WB$wombat$assign$function_____("parent");
let frames = _____WB$wombat$assign$function_____("frames");
let opens = _____WB$wombat$assign$function_____("opens");
"use strict";(self.webpackChunkextract_css=self.webpackChunkextract_css||[]).push([["39263"],{530330:function(i){i.exports={}},564611:function(i,_,n){var r=n(530330),D=n.n(r);YUI.add("squarespace-blog-collection-list",function(a){var s=a.config.win,y=s.document,h=200,o=a.Squarespace.Template.getTweakValue,p=function(e){if(e){for(var t=parseInt(o("tweak-blog-list-columns"),10),f=parseInt(o("tweak-blog-list-spacing"),10),d=parseFloat(s.getComputedStyle(e).width);(d-f*(t-1))/t<h;)t--;e.setAttribute("data-columns",t)}},k=function(e){if(e){var t=e.querySelectorAll(".BlogList-item-image img");if(o("tweak-blog-list-item-image-show")==="true"){var f=o("tweak-blog-list-style").toLowerCase()==="stacked",d=o("tweak-blog-list-item-image-aspect-ratio-stacked").toLowerCase()==="auto";if(f&&d)for(var m=0;m<t.length;m++){var l=t[m];l.style.position=null,l.style.top=null,l.style.right=null,l.style.bottom=null,l.style.left=null,l.style.width=null,l.style.height=null,s.ImageLoader.load(l,{load:!0,mode:null})}else for(var v=0;v<t.length;v++)s.ImageLoader.load(t[v],{load:!0,mode:"fill"})}}},b=function(e){p(e),k(e)},T=100,u=!1,g,E=function(e){u||(u=!0),g&&clearTimeout(g),g=setTimeout(function(){!a||!a.config||!a.config.win||(b(e),u=!1)},T)},I=["tweak-blog-list-columns","tweak-blog-list-spacing"],x=["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"],C=function(e){var t=e.getName();I.indexOf(t)>=0&&p(),x.indexOf(t)>=0&&k()};a.Global.on("tweak:change",C);var c,w;a.config.win.Squarespace.onInitialize(a,function(){c=y.querySelector(".BlogList"),c&&(b(c),w=E.bind(s,c),s.addEventListener("resize",w))}),a.config.win.Squarespace.onDestroy(a,function(){s.removeEventListener("resize",w)})},"1.0",{requires:[]})},17348:function(i,_,n){var r=n(564611)}},function(i){var _=function(r){return i(i.s=r)},n=_(17348)}]);

//# sourceMappingURL=https://sourcemaps.squarespace.net/universal/scripts-compressed/sourcemaps/912e2f4a58af9a6f/blog-collection-list-20f48ba8f4d688e5-min.en-US.js.map
}