(function(e){var t={};function l(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:false,exports:{}};e[r].call(a.exports,a,a.exports,l);a.l=true;return a.exports}l.m=e;l.c=t;l.d=function(e,t,r){l.o(e,t)||Object.defineProperty(e,t,{enumerable:true,get:r})};l.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});Object.defineProperty(e,"__esModule",{value:true})};l.t=function(e,t){1&t&&(e=l(e));if(8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);l.r(r);Object.defineProperty(r,"default",{enumerable:true,value:e});if(2&t&&"string"!=typeof e)for(var a in e)l.d(r,a,function(t){return e[t]}.bind(null,a));return r};l.n=function(e){var t=e&&e.__esModule?function t(){return e["default"]}:function t(){return e};l.d(t,"a",t);return t};l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};l.p="https://static.squarespace.com/universal/scripts-compressed/";return l(l.s="./src/main/webapp/universal/scripts-v6/rollups/gallery-collection-list.manifest.js")})({"./src/main/webapp/universal/scripts-v6/gallery-collection-list.js":function(e,t){YUI.add("squarespace-gallery-collection-list",function(e){var t=e.config.win;var l=e.config.win.document;var r=function(){var t={body:e.one("body"),gallery:e.one(".sqs-system-gallery"),slideWrapper:e.one(".sqs-system-gallery").one(".gallery-wrapper"),slidesAndControls:e.one(".sqs-system-gallery").one(".slides-controls"),circles:e.one(".sqs-system-gallery").one(".circles")},l={show:"show",ready:"sqs-system-gallery-ready",interaction:"sqs-system-gallery-interaction",mouseenterleft:"sqs-system-gallery-hover-slides-left",mouseenterright:"sqs-system-gallery-hover-slides-right",init:"sqs-system-gallery-init",circlesNav:"gallery-navigation-circles",crop:"gallery-auto-crop",iframe:"sqs-system-gallery-video-iframe"},r=null,a=null,n=window.innerWidth;var s=[];var i=[];function o(t,l){var r=e.Squarespace.Template.getTweakValue(t);l?r=parseFloat(r):"string"===typeof r&&(r=r.toLowerCase());"true"===r?r=true:"false"===r&&(r=false);return r}function u(){var e=t.gallery.one(".slide.sqs-active-slide");return e&&"video"===e.getAttribute("data-type")&&e.one("iframe")}function d(){return"grid"!==o("gallery-design")}function c(e){var t=0;var l=e&&e.match(/(\d+):(\d+)/);l&&3===l.length&&(t=l[1]/l[2]);return t}function y(){var e=t.gallery.one(".slide.sqs-active-slide"),r=e&&e.getAttribute("data-slide-id")||null,a=t.gallery.one('.slide-meta[data-slide-id="'+r+'"]');if(a)if(t.body.hasClass(l.crop))a.setStyles({top:null,bottom:null,left:null,width:null});else{if(t.body.hasClass(l.circlesNav)){a.setStyle("top",(parseFloat(e._node.clientHeight)-parseFloat(e.one("img")._node.clientHeight))/2);a.setStyle("bottom",null)}else{a.setStyle("top",null);a.setStyle("bottom",(parseFloat(e._node.clientHeight)-parseFloat(e.one("img")._node.clientHeight))/2)}a.setStyles({left:e.one("img").getComputedStyle("left"),width:e.one("img")._node.clientWidth})}}function g(e,t,r){var a,n,s;if(t){a=t.one(".title");n=t.one(".description");if(a&&a._node.innerHTML||n&&n._node.innerHTML)if(r)s=true;else{t.addClass(l.show);y()}}return s}function f(e){var r=t.gallery.one(".slide.sqs-active-slide"),a=r&&r.one("img"),n=r&&r.getAttribute("data-slide-id")||null,i;t.gallery.all(".slide-meta").removeClass(l.show);e&&Modernizr&&!Modernizr.touch&&t.gallery.addClass(l.interaction);if(u()){t.gallery.addClass(l.iframe);t.gallery.removeClass(l.mouseenterleft);t.gallery.removeClass(l.mouseenterright)}else{t.gallery.removeClass(l.iframe);e&&"Gallery:currentIndexChange"===e.type&&(-1===e.direction?t.gallery.addClass(l.mouseenterleft):t.gallery.addClass(l.mouseenterright))}if(n){g(r,t.gallery.one('.slide-meta[data-slide-id="'+n+'"]'));if(a&&t.body.hasClass(l.circlesNav)){var o=function(){i=Math.max(0,(parseFloat(r._node.clientHeight)-parseFloat(a._node.clientHeight))/2);t.circles.setStyle("bottom",i)};a.get("complete")?o():s.push(a.on("load",o))}}}function p(){var n=o("gallery-loop"),i=o("gallery-auto-crop"),u=o("gallery-autoplay"),g=o("gallery-transitions"),p=1e3*o("galleryAutoplaySpeed",true),m=o("gallery-navigation"),v=o("gallery-aspect-ratio"),h=v.split(" ")[0],b=!d(),w=0;h=parseInt(v.split(":")[1],10)/parseInt(v.split(":")[0],10);v=t.gallery._node.clientWidth*h;t.gallery.removeClass(l.init);t.gallery.removeClass(l.ready);t.gallery.removeClass(l.interaction);t.gallery.removeClass(l.mouseenterleft);t.gallery.removeClass(l.mouseenterright);t.gallery.all(".slide-meta").removeClass(l.show);if(r){w=r.get("currentIndex");t.gallery.all(".sqs-disabled").removeClass("sqs-disabled");t.gallery.all(".sqs-active-slide").removeClass("sqs-active-slide");t.gallery.all(".slide, img").setStyles({visibility:null,left:null,top:null,overflow:null,width:null,height:null});r.destroy()}if(a){t.gallery.all(".thumbnail img[data-src]").each(function(e){e.setStyles({height:null,width:null,top:null,left:null})});a.destroy()}t.gallery.one(".slides-controls").setStyle("height",b?null:v);t.slideWrapper.setStyle("minHeight",b?null:v);r=new e.SQS.Gallery.Gallery2({container:".slides",slides:".slide",currentIndex:w,elements:{next:".next-slide, .simple .next",previous:".previous-slide, .simple .previous",controls:".dots, .numbers, .circles",currentIndex:".current-index",totalSlides:".total-slides"},loop:n,autoplay:!b&&u,autoplayOptions:{randomize:false,timeout:p,pauseOnMouseover:[".thumbnail-wrapper"]},lazyLoad:true,loaderOptions:{mode:b?"auto"===o("aspect-ratio")?"none":"fill":i?"fill":"fit"},design:b?"autocolumns":"stacked",designOptions:{transition:g,lightbox:b,clickBehavior:"auto",gutter:o("gridSpacing",true),columnWidth:o("gridSize",true),aspectRatio:c(o("aspect-ratio"))},historyHash:true});t.gallery.all(".arrow").each(function(e){e.setStyle("top",t.slideWrapper._node.clientHeight/2)});if(!b&&"thumbnails"===m){a=new e.SQS.Gallery.Gallery2({container:".thumbnail-wrapper",currentIndex:w,loaderOptions:{mode:"fill",load:true},lazyLoad:true,design:"strip"});r.addChild(a)}var C=r.after("currentIndexChange",f);f();var S=r.after("image-loaded",y);y();t.gallery.addClass(l.ready);s.push(C,S)}function m(e){if("function"===typeof e){window.throttleTimeout&&clearTimeout(window.throttleTimeout);window.throttleTimeout=setTimeout(e,750)}}function v(e,r){var a=e._event.offsetX||e._event.layerX;t.gallery.addClass(l.interaction);if(e._event.target&&("img"===e._event.target.localName||"sqs-video-opaque"===e._event.target.className||e.target.hasClass("slide")))if(r){t.gallery.removeClass(l.mouseenterleft);t.gallery.removeClass(l.mouseenterright)}else if(a<=e._currentTarget.clientWidth/2){t.gallery.removeClass(l.mouseenterright);t.gallery.addClass(l.mouseenterleft)}else{t.gallery.removeClass(l.mouseenterleft);t.gallery.addClass(l.mouseenterright)}}function h(e){var r=e.keyCode;(37===r||39===r&&d())&&t.gallery.addClass(l.interaction)}function b(){var r=new e.Squarespace.ResizeEmitter({timeout:100});r.on("resize:end",function(){if(window.innerWidth!==n){n=window.innerWidth;m(p)}});i.push(r);Modernizr&&!Modernizr.touch&&s.push(e.on("mousemove",function(e){d()&&v(e,false)},t.gallery.one(".slides-controls")),e.on("mouseleave",function(e){if(d()){v(e,true);t.gallery.removeClass(l.iframe)}},t.gallery.one(".slides-controls")),e.on("mouseenter",function(e){d()&&u()&&t.gallery.addClass(l.iframe)},t.gallery.one(".slides-controls")));s.push(e.on("keydown",h))}function w(t,l){s.push(e.Global.on("tweak:change",function(e){if(e.getName()===t&&"function"===typeof l){var r=e.getValue();"true"===r?r=true:"false"===r&&(r=false);l(r)}}))}function C(){w("gallery-loop",p);w("gallery-transitions",p);w("gallery-auto-crop",p);w("gallery-navigation",function(e){"Thumbnails"!==e||t.gallery.one(".thumbnail-wrapper img[src]")||p();y()});w("gallery-autoplay",function(e){r.set("autoplay",e)});w("gallery-aspect-ratio",function(){p()});w("galleryAutoplaySpeed",function(){m(p)});w("galleryInfoBackground",function(){f()});w("gallery-design",p);w("aspect-ratio",p);w("gridSpacing",p);w("gridSize",p);e.Global&&s.push(e.Global.on(["tweak:reset","tweak:close"],function(t){e.later(500,this,p)},this))}function S(){p();b();e.Lang.isValue(Static.SQUARESPACE_CONTEXT.authenticatedAccount)&&C()}function q(){s=s.filter(function(e){e.detach();return false});i=i.filter(function(e){"function"===typeof e.destroy&&e.destroy();return false});if(r){r.get("container")&&r.get("container").hide();"function"===typeof r.destroy&&r.destroy()}if(a){a.get("container")&&a.get("container").hide();"function"===typeof a.destroy&&a.destroy()}}return{init:S,destroy:q}};var a;t.Squarespace.onInitialize(e,function(){var e=l.querySelector(".sqs-gallery-list");if(e){a=new r;a.init()}});t.Squarespace.onDestroy(e,function(){if(a){a.destroy&&"function"===typeof a.destroy&&a.destroy();a=null}})},"1.0",{requires:["base","node","squarespace-dom-emitters-resize","squarespace-gallery-ng","squarespace-image-loader","squarespace-public-api"]})},"./src/main/webapp/universal/scripts-v6/rollups/gallery-collection-list.manifest.js":function(e,t,l){l("./src/main/webapp/universal/scripts-v6/gallery-collection-list.js")}});