text: /*
   *	                  ....
   *	                .:   '':.
   *	                ::::     ':..
   *	                ::.         ''..
   *	     .:'.. ..':.:::'    . :.   '':.
   *	    :.   ''     ''     '. ::::.. ..:
   *	    ::::.        ..':.. .''':::::  .
   *	    :::::::..    '..::::  :. ::::  :
   *	    ::'':::::::.    ':::.'':.::::  :
   *	    :..   ''::::::....':     ''::  :
   *	    :::::.    ':::::   :     .. '' .
   *	 .''::::::::... ':::.''   ..''  :.''''.
   *	 :..:::'':::::  :::::...:''        :..:
   *	 ::::::. '::::  ::::::::  ..::        .
   *	 ::::::::.::::  ::::::::  :'':.::   .''
   *	 ::: '::::::::.' '':::::  :.' '':  :
   *	 :::   :::::::::..' ::::  ::...'   .
   *	 :::  .::::::::::   ::::  ::::  .:'
   *	  '::'  '':::::::   ::::  : ::  :
   *	            '::::   ::::  :''  .:
   *	             ::::   ::::    ..''
   *	             :::: ..:::: .:''
   *	               ''''  '''''
   *	
   *
   *	AUTOMAD
   *	
   *	version 1.6.12
   *
   *	Copyright (c) 2014-2020 by Marc Anton Dahmen
   *	http://marcdahmen.de
   *
   *	Licensed under the MIT license.
   *	http://automad.org/license
   */!function(e){e.Gallery={Lightbox:{create:function(e){var t=document.createElement("div"),a="";e.length>1&&(a=['<a class="am-gallery-lightbox-prev"></a>','<a class="am-gallery-lightbox-next"></a>'].join("")),t.classList.add("am-gallery-lightbox"),t.innerHTML=['<img src="" class="am-fade">','<div class="am-gallery-lightbox-caption"></div>','<a class="am-gallery-lightbox-close" href="#"></a>',a].join(""),document.body.appendChild(t)
  ;var n=t.querySelector("img"),l=t.querySelector(".am-gallery-lightbox-caption"),i=t.querySelector(".am-gallery-lightbox-prev"),o=t.querySelector(".am-gallery-lightbox-next"),r=t.querySelector(".am-gallery-lightbox-close"),d=0,c=function(){!function(e,t){e.complete?t():e.addEventListener("load",t)}(n,(function(){n.classList.remove("am-fade")}))},s=function(){n.classList.add("am-fade"),setTimeout((function(){n.src="",n.src=e[d].href,l.textContent=e[d].dataset.caption,c()}),200)}
  ;e.forEach((function(e,a){e.addEventListener("click",(function(e){e.preventDefault(),n.src="",n.src=this.href,l.textContent=this.dataset.caption,t.classList.add("am-active"),d=a,c()}))})),r.addEventListener("click",(function(e){e.preventDefault(),t.classList.remove("am-active"),n.classList.add("am-fade")})),i&&i.addEventListener("click",(function(t){t.preventDefault(),--d<0&&(d=e.length-1),s()})),o&&o.addEventListener("click",(function(t){t.preventDefault(),++d>=e.length&&(d=0),s()}))},
  init:function(){var t=document.body.querySelectorAll("[data-am-block-lightbox]");t.length&&(t.forEach((function(e){e.removeAttribute("data-am-block-lightbox")})),e.Gallery.Lightbox.create(t))}},Masonry:{getItemRowSpan:function(e){return parseInt(window.getComputedStyle(e).getPropertyValue("--am-gallery-masonry-rows"))},cleanBottomEdge:function(t,a,n,l){for(var i={},o=Math.ceil((t.getBoundingClientRect().height+l)/(n+l)),r=0,d=0;d<a.length;++d){var c=a[d];c.style.gridColumnStart="",
  c.style.gridRowStart="",i[s=Math.ceil(c.getBoundingClientRect().x)+1e3]=i[s]||[],i[s].push(c)}for(var s in i){var m=i[s],u=0,g=1,v=o;r++,m.forEach((function(t){t.style.gridColumnStart=r,u+=e.Gallery.Masonry.getItemRowSpan(t)}));var f=o-u,y=0;0!=f&&(y=Math.floor(f/m.length)),m.forEach((function(t,a){if(a==m.length-1)t.style.gridRowStart=g,t.style.gridRowEnd="span "+v;else{var n=y+e.Gallery.Masonry.getItemRowSpan(t);t.style.gridRowStart=g,t.style.gridRowEnd="span "+n,v-=n,g+=n}}))}},
  init:function(){var t=function(){for(var t=document.querySelectorAll(".am-gallery-masonry-clean-bottom"),a=0;a<t.length;++a){for(var n=t[a],l=n.querySelectorAll(".am-gallery-masonry-item"),i=0;i<l.length;++i)l[i].style.gridRowStart="",l[i].style.gridRowEnd="",l[i].style.gridColumnStart="";e.Gallery.Masonry.cleanBottomEdge(n,l,50,0)}};t(),window.addEventListener("load",t),window.addEventListener("resize",t)}}},document.addEventListener("DOMContentLoaded",e.Gallery.Lightbox.init),
  document.addEventListener("DOMContentLoaded",e.Gallery.Masonry.init)}(window.AutomadBlocks=window.AutomadBlocks||{}),function(e){e.Slider={slider:function(e,t){var a=e.querySelectorAll(".am-slider-item");if(a.length>1){var n,l=document.createElement("a"),i=document.createElement("a"),o=document.createElement("div"),r=[],d=0,c=function(){t.autoplay&&(n&&clearInterval(n),n=setInterval((function(){s(d+1,null)}),4e3))},s=function(e,t){t&&t.preventDefault(),(d=e)<0&&(d=a.length-1),d>=a.length&&(d=0),
  c(),m()},m=function(){(e.querySelector(".am-slider-item.am-active").classList.remove("am-active"),a[d].classList.add("am-active"),t.dots)&&(e.querySelector(".am-slider-dots .am-active").classList.remove("am-active"),r[d].classList.add("am-active"))};if(l.classList.add("am-slider-prev"),i.classList.add("am-slider-next"),e.appendChild(l),e.appendChild(i),t.dots){o.classList.add("am-slider-dots"),e.appendChild(o);for(var u=0;u<a.length;u++)!function(e){var t=document.createElement("a")
  ;t.addEventListener("click",(function(t){s(e,t)})),0===e&&t.classList.add("am-active"),r.push(t),o.appendChild(t)}(u)}l.addEventListener("click",(function(e){s(d-1,e)})),i.addEventListener("click",(function(e){s(d+1,e)})),c()}},init:function(){var t=document.body.querySelectorAll("[data-am-block-slider]");t.length&&t.forEach((function(t){var a=JSON.parse(t.dataset.amBlockSlider);t.removeAttribute("data-am-block-slider"),e.Slider.slider(t,a)}))}},
  document.addEventListener("DOMContentLoaded",e.Slider.init)}(window.AutomadBlocks=window.AutomadBlocks||{});