/*! * Bootstrap Package v7.1.0 (http://www.bk2k.info) * Copyright 2014-2017 Benjamin Kott * Licensed under the MIT license */ $(function(){if($("a.lightbox").length>0){var a=' ';$("body").append(a)}var b=function(a,b){var c=document.querySelectorAll(".pswp")[0],d=[];$("a.lightbox[rel="+b+"]").each(function(){var a="";a=$(this).data("lightbox-caption")?$(this).data("lightbox-caption"):$(this).next("figcaption").text(),d.push({src:$(this).attr("href"),title:$(this).attr("title"),w:$(this).data("lightbox-width"),h:$(this).data("lightbox-height"),caption:a,pid:$(this).index("a.lightbox[rel="+b+"]")})});var e={index:a,addCaptionHTMLFn:function(a,b,c){return a.title?(b.children[0].innerHTML='
'+a.title+"
",a.caption&&(b.children[0].innerHTML+='
'+a.caption+"
"),!0):(b.children[0].innerHTML="",!1)},spacing:.12,loop:!0,bgOpacity:1,closeOnScroll:!0,history:!0,galleryUID:b,galleryPIDs:!0,closeEl:!0,captionEl:!0,fullscreenEl:!0,zoomEl:!0,shareEl:!0,counterEl:!0,arrowEl:!0,preloaderEl:!0};if(d.length>0){var f=new PhotoSwipe(c,PhotoSwipeUI_Default,d,e);f.init()}},c=function(){var a=window.location.hash.substring(1),b={};if(a.length<5)return b;for(var c=a.split("&"),d=0;d