/*
By André Rinas, www.andrerinas.de
Documentation, www.simplelightbox.de
Available for use under the MIT License
1.17.1
*/
!function(st,lt,rt,t){"use strict";st.fn.simpleLightbox=function(N){N=st.extend({sourceAttr:"href",overlay:!0,spinner:!0,nav:!0,navText:["‹","›"],captions:!0,captionDelay:0,captionSelector:"img",captionType:"attr",captionsData:"title",captionPosition:"bottom",captionClass:"",close:!0,closeText:"×",swipeClose:!0,showCounter:!0,fileExt:"png|jpg|jpeg|gif|webp",animationSlide:!0,animationSpeed:250,preloading:!0,enableKeyboard:!0,loop:!0,rel:!1,docClose:!0,swipeTolerance:50,className:"simple-lightbox",widthRatio:.8,heightRatio:.9,scaleImageToRatio:!1,disableRightClick:!1,disableScroll:!0,alertError:!0,alertErrorMessage:"Image not found, next image will be loaded",additionalHtml:!1,history:!0,throttleInterval:0,doubleTapZoom:2,maxZoom:10,htmlClass:"has-lightbox"},N);var h,t,P="ontouchstart"in lt,Z=(lt.navigator.pointerEnabled||lt.navigator.msPointerEnabled,0),z=0,H=st(),i=function(){var t=rt.body||rt.documentElement;return""===(t=t.style).WebkitTransition?"-webkit-":""===t.MozTransition?"-moz-":""===t.OTransition?"-o-":""===t.transition&&""},L=!1,p=[],j=N.rel&&!1!==N.rel?(t=N.rel,st(this).filter(function(){return st(this).attr("rel")===t})):this,a=j.get()[0].tagName,d=(i=i(),0),K=!1!==i,n="pushState"in history,u=!1,o=lt.location,U=function(){return o.hash.substring(1)},$=U(),f=function(){U();var t="pid="+(J+1),e=o.href.split("#")[0]+"#"+t;n?history[u?"replaceState":"pushState"]("",rt.title,e):u?o.replace(e):o.hash=t,u=!0},B=function(e,a){var n;return function(){var t=arguments;n||(e.apply(this,t),n=!0,setTimeout(function(){return n=!1},a))}},Q="simplelb",e=st("