1!function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),i=n.n(o),a=n(3),r=n.n(a),l=function(){if(!document.getElementById("photo-viewer-css")){var e=document.createElement("link");e.rel="stylesheet",e.href="/photoswipe/default-skin.css",document.head.appendChild(e);var t=document.createElement("link");t.rel="stylesheet",t.href="/photoswipe/photoswipe.css",document.head.appendChild(t)}},s=function(){var e="photo-viewer-div";if(!document.getElementById(e)){var t=document.getElementsByTagName("body")[0],n=document.createElement("div");n.setAttribute("id",e),n.setAttribute("tabindex","-1"),n.setAttribute("role","dialog"),n.setAttribute("aria-hidden","true"),n.setAttribute("class","pswp"),n.innerHTML='\n <div class="pswp__bg"></div>\n <div class="pswp__scroll-wrap">\n <div class="pswp__container">\n <div class="pswp__item"></div>\n <div class="pswp__item"></div>\n <div class="pswp__item"></div>\n </div>\n <div class="pswp__ui pswp__ui--hidden">\n\n <div class="pswp__top-bar">\n \n <div class="pswp__counter"></div>\n\n <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>\n\n <button class="pswp__button pswp__button--share" title="Share"></button>\n\n <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>\n\n <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>\n\n <div class="pswp__preloader">\n <div class="pswp__preloader__icn">\n <div class="pswp__preloader__cut">\n <div class="pswp__preloader__donut"></div>\n </div>\n </div>\n </div>\n </div>\n\n <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">\n <div class="pswp__share-tooltip"></div>\n </div>\n\n <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">\n </button>\n\n <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">\n </button>\n\n <div class="pswp__caption">\n <div class="pswp__caption__center"></div>\n </div>\n\n </div>\n\n </div>\n ',t.prepend(n)}},u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=document.querySelectorAll(".pswp")[0],o=e.map(function(e){return{src:e,w:1200,h:900}}),a={history:!1,focus:!1,showAnimationDuration:0,hideAnimationDuration:0,index:parseInt(""+t)},l=new i.a(n,r.a,o,a),s=document.getElementsByTagName("body")[0];s.classList.add("body-photo-swiper"),s.classList.add("pointer-events-photo-swiper"),l.listen("close",function(){s.classList.remove("body-photo-swiper"),setTimeout(function(){s.classList.remove("pointer-events-photo-swiper")},200)}
1),l.init()};window.openPhotoSwiper=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;l(),s(),setTimeout(function(){u(e,t)},500)}},function(e,t,n){var o,i;/*! PhotoSwipe - v4.1.3 - 2019-01-08 2* http://photoswipe.com 3* Copyright (c) 2019 Dmitry Semenov; */ 4!function(a,r){o=r,void 0!==(i="function"==typeof o?o.call(t,n,t,e):o)&&(e.exports=i)}(0,function(){"use strict";return function(e,t,n,o){var i={features:null,bind:function(e,t,n,o){var i=(o?"remove":"add")+"EventListener";t=t.split(" ");for(var a=0;a<t.length;a++)t[a]&&e[i](t[a],n,!1)},isArray:function(e){return e instanceof Array},createEl:function(e,t){var n=document.createElement(t||"div");return e&&(n.className=e),n},getScrollY:function(){var e=window.pageYOffset;return void 0!==e?e:document.documentElement.scrollTop},unbind:function(e,t,n){i.bind(e,t,n,!0)},removeClass:function(e,t){var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")},addClass:function(e,t){i.hasClass(e,t)||(e.className+=(e.className?" ":"")+t)},hasClass:function(e,t){return e.className&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(e.className)},getChildByClass:function(e,t){for(var n=e.firstChild;n;){if(i.hasClass(n,t))return n;n=n.nextSibling}},arraySearch:function(e,t,n){for(var o=e.length;o--;)if(e[o][n]===t)return o;return-1},extend:function(e,t,n){for(var o in t)if(t.hasOwnProperty(o)){if(n&&e.hasOwnProperty(o))continue;e[o]=t[o]}},easing:{sine:{out:function(e){return Math.sin(e*(Math.PI/2))},inOut:function(e){return-(Math.cos(Math.PI*e)-1)/2}},cubic:{out:function(e){return--e*e*e+1}}},detectFeatures:function(){if(i.features)return i.features;var e=i.createEl(),t=e.style,n="",o={};if(o.oldIE=document.all&&!document.addEventListener,o.touch="ontouchstart"in window,window.requestAnimationFrame&&(o.raf=window.requestAnimationFrame,o.caf=window.cancelAnimationFrame),o.pointerEvent=!!window.PointerEvent||navigator.msPointerEnabled,!o.pointerEvent){var a=navigator.userAgent;if(/iP(hone|od)/.test(navigator.platform)){var r=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);r&&r.length>0&&(r=parseInt(r[1],10))>=1&&r<8&&(o.isOldIOSPhone=!0)}var l=a.match(/Android\s([0-9\.]*)/),s=l?l[1]:0;s=parseFloat(s),s>=1&&(s<4.4&&(o.isOldAndroid=!0),o.androidVersion=s),o.isMobileOpera=/opera mini|o
4pera mobi/i.test(a)}for(var u,c,d=["transform","perspective","animationName"],p=["","webkit","Moz","ms","O"],m=0;m<4;m++){n=p[m];for(var f=0;f<3;f++)u=d[f],c=n+(n?u.charAt(0).toUpperCase()+u.slice(1):u),!o[u]&&c in t&&(o[u]=c);n&&!o.raf&&(n=n.toLowerCase(),o.raf=window[n+"RequestAnimationFrame"],o.raf&&(o.caf=window[n+"CancelAnimationFrame"]||window[n+"CancelRequestAnimationFrame"]))}if(!o.raf){var h=0;o.raf=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-h)),o=window.setTimeout(function(){e(t+n)},n);return h=t+n,o},o.caf=function(e){clearTimeout(e)}}return o.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,i.features=o,o}};i.detectFeatures(),i.features.oldIE&&(i.bind=function(e,t,n,o){t=t.split(" ");for(var i,a=(o?"detach":"attach")+"Event",r=function(){n.handleEvent.call(n)},l=0;l<t.length;l++)if(i=t[l])if("object"==typeof n&&n.handleEvent){if(o){if(!n["oldIE"+i])return!1}else n["oldIE"+i]=r;e[a]("on"+i,n["oldIE"+i])}else e[a]("on"+i,n)});var a=this,r={allowPanToNext:!0,spacing:.12,bgOpacity:1,mouseUsed:!1,loop:!0,pinchToClose:!0,closeOnScroll:!0,closeOnVerticalDrag:!0,verticalDragRange:.75,hideAnimationDuration:333,showAnimationDuration:333,showHideOpacity:!1,focus:!0,escKey:!0,arrowKeys:!0,mainScrollEndFriction:.35,panEndFriction:.35,isClickableElement:function(e){return"A"===e.tagName},getDoubleTapZoom:function(e,t){return e?1:t.initialZoomLevel<.7?1:1.33},maxSpreadZoom:1.33,modal:!0,scaleMode:"fit"};i.extend(r,o);var l,s,u,c,d,p,m,f,h,v,w,g,y,x,b,_,C,I,T,E,D,S,M,A,O,k,F,R,L,P,Z,z,N,U,K,B,H,W,Y,G,q,V,X,j,$,J,Q,ee,te,ne,oe,ie,ae,re,le,se,ue,ce=function(){return{x:0,y:0}},de=ce(),pe=ce(),me=ce(),fe={},he=0,ve={},we=ce(),ge=0,ye=!0,xe=[],be={},_e=!1,Ce=function(e,t){i.extend(a,t.publicMethods),xe.push(e)},Ie=function(e){var t=jt();return e>t-1?e-t:e<0?t+e:e},Te={},Ee=function(e,t){return Te[e]||(Te[e]=[]),Te[e].push(t)},De=function(e){var t=Te[e];if(t){var n=Array.prototype.slice.call(arguments);n.shift();for(var o=0;o<t.length;o++)t[o].apply(a,n)}},Se=function(){return(new Date).getTime()},Me=function(e){le=e,a.bg.style.opacity=e*r.bgOpacity},Ae=function(e,t,n,o,i){(!_e||i&&i!==a.currItem)&&(o/=i?i.fitRatio:a.currItem.fitRatio),e[S]=g+t+"px, "+n+"px"+y+" scale("+o+")"},Oe=function(e){ne&&(e&&(v>a.currItem.fitRatio?_e||(un(a.currItem,!1,!0),_e=!0):_e&&(un(a.currItem),_e=!1)),Ae(ne,me.x,me.y,v))},ke=function(e){e.container&&Ae(e.container.style,e.initialPosition.x,e.initialPosition.y,e.initialZoomLevel,e)},Fe=function(e,t){t[S]=g+e+"px, 0px"+y},Re=function(e,t){if(!r.loop&&t){var n=c+(we.x*he-e)/we.x,o=Math.round(e-ht.x);(n<0&&o>0||n>=jt()-1&&o<0)&&(e=ht.x+o*r.mainScrollEndFriction)}ht.x=e,Fe(e,d)},Le=function(e,t){var n=vt[e]-ve[e];return pe[e]+de[e]+n-n*(t/w)},Pe=function(e,t){e.x=t.x,e.y=t.y,t.id&&(e.id=t.id)},Ze=function(e){e.x=Math.round(e.x),e.y=Math.round(e.y)},ze=null,Ne=function(){ze&&(i.unbind(document,"mousemove",Ne),i.addClass(e,"pswp--has_mouse"),r.mouseUsed=!0,De("mouseUsed")),ze=setTimeout(function(){ze=null},100)},Ue=function(){i.bind(document,"keydown",a),Z.transform&&i.bind(a.scrollWrap,"click",a),r.mouseUsed||i.bind(document,"mousemove",Ne),i.bind(window,"resize scroll orientationchange",a),De("bindEvents")},Ke=function(){i.unbind(window,"resize scroll orientationchange",a),i.unbind(window,"scroll",h.scroll),i.unbind(document,"keydown",a),i.unbind(document,"mousemove",Ne),Z.transform&&i.unbind(a.scrollWrap,"click",a),Y&&i.unbind(window,m,a),clearTimeout(z),De("unbindEvents")},Be=function(e,t){var n=an(a.currItem,fe,e);return t&&(te=n),n},He=function(e){return e||(e=a.currItem),e.initialZoomLevel},We=function(e){return e||(e=a.currItem),e.w>0?r.maxSpreadZoom:1},Ye=function(e,t,n,o){return o===a.currItem.initialZoomLevel?(n[e]=a.currItem.initialPosition[e],!0):(n[e]=Le(e,o),n[e]>t.min[e]?(n[e]=t.min[e],!0):n[e]<t.max[e]&&(n[e]=t.max[e],!0))},Ge=function(){if(S){var t=Z.perspective&&!A;return g="translate"+(t?"3d(":"("),void(y=Z.perspective?", 0px)":")")}S="left",i.addClass(e,"pswp--ie"),Fe=function(e,t){t.left=e+"px"},ke=function(e){var t=e.fitRatio>1?1:e.fitRatio,n=e.container.style,o=t*e.w,i=t*e.h;n.width=o+"px",n.height=i+"px",n.left=e.initialPosition.x+"px",n.top=e.initialPosition.y+"px"}
4,Oe=function(){if(ne){var e=ne,t=a.currItem,n=t.fitRatio>1?1:t.fitRatio,o=n*t.w,i=n*t.h;e.width=o+"px",e.height=i+"px",e.left=me.x+"px",e.top=me.y+"px"}}},qe=function(e){var t="";r.escKey&&27===e.keyCode?t="close":r.arrowKeys&&(37===e.keyCode?t="prev":39===e.keyCode&&(t="next")),t&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey||(e.preventDefault?e.preventDefault():e.returnValue=!1,a[t]()))},Ve=function(e){e&&(V||q||oe||H)&&(e.preventDefault(),e.stopPropagation())},Xe=function(){a.setScrollOffset(0,i.getScrollY())},je={},$e=0,Je=function(e){je[e]&&(je[e].raf&&k(je[e].raf),$e--,delete je[e])},Qe=function(e){je[e]&&Je(e),je[e]||($e++,je[e]={})},et=function(){for(var e in je)je.hasOwnProperty(e)&&Je(e)},tt=function(e,t,n,o,i,a,r){var l,s=Se();Qe(e);var u=function(){if(je[e]){if((l=Se()-s)>=o)return Je(e),a(n),void(r&&r());a((n-t)*i(l/o)+t),je[e].raf=O(u)}};u()},nt={shout:De,listen:Ee,viewportSize:fe,options:r,isMainScrollAnimating:function(){return oe},getZoomLevel:function(){return v},getCurrentIndex:function(){return c},isDragging:function(){return Y},isZooming:function(){return J},setScrollOffset:function(e,t){ve.x=e,P=ve.y=t,De("updateScrollOffset",ve)},applyZoomPan:function(e,t,n,o){me.x=t,me.y=n,v=e,Oe(o)},init:function(){if(!l&&!s){var n;a.framework=i,a.template=e,a.bg=i.getChildByClass(e,"pswp__bg"),F=e.className,l=!0,Z=i.detectFeatures(),O=Z.raf,k=Z.caf,S=Z.transform,L=Z.oldIE,a.scrollWrap=i.getChildByClass(e,"pswp__scroll-wrap"),a.container=i.getChildByClass(a.scrollWrap,"pswp__container"),d=a.container.style,a.itemHolders=_=[{el:a.container.children[0],wrap:0,index:-1},{el:a.container.children[1],wrap:0,index:-1},{el:a.container.children[2],wrap:0,index:-1}],_[0].el.style.display=_[2].el.style.display="none",Ge(),h={resize:a.updateSize,orientationchange:function(){clearTimeout(z),z=setTimeout(function(){fe.x!==a.scrollWrap.clientWidth&&a.updateSize()},500)},scroll:Xe,keydown:qe,click:Ve};var o=Z.isOldIOSPhone||Z.isOldAndroid||Z.isMobileOpera;for(Z.animationName&&Z.transform&&!o||(r.showAnimationDuration=r.hideAnimationDuration=0),n=0;n<xe.length;n++)a["init"+xe[n]]();if(t){(a.ui=new t(a,i)).init()}De("firstUpdate"),c=c||r.index||0,(isNaN(c)||c<0||c>=jt())&&(c=0),a.currItem=Xt(c),(Z.isOldIOSPhone||Z.isOldAndroid)&&(ye=!1),e.setAttribute("aria-hidden","false"),r.modal&&(ye?e.style.position="fixed":(e.style.position="absolute",e.style.top=i.getScrollY()+"px")),void 0===P&&(De("initialLayout"),P=R=i.getScrollY());var u="pswp--open ";for(r.mainClass&&(u+=r.mainClass+" "),r.showHideOpacity&&(u+="pswp--animate_opacity "),u+=A?"pswp--touch":"pswp--notouch",u+=Z.animationName?" pswp--css_animation":"",u+=Z.svg?" pswp--svg":"",i.addClass(e,u),a.updateSize(),p=-1,ge=null,n=0;n<3;n++)Fe((n+p)*we.x,_[n].el.style);L||i.bind(a.scrollWrap,f,a),Ee("initialZoomInEnd",function(){a.setContent(_[0],c-1),a.setContent(_[2],c+1),_[0].el.style.display=_[2].el.style.display="block",r.focus&&e.focus(),Ue()}),a.setContent(_[1],c),a.updateCurrItem(),De("afterInit"),ye||(x=setInterval(function(){$e||Y||J||v!==a.currItem.initialZoomLevel||a.updateSize()},1e3)),i.addClass(e,"pswp--visible")}},close:function(){l&&(l=!1,s=!0,De("close"),Ke(),Jt(a.currItem,null,!0,a.destroy))},destroy:function(){De("destroy"),Yt&&clearTimeout(Yt),e.setAttribute("aria-hidden","true"),e.className=F,x&&clearInterval(x),i.unbind(a.scrollWrap,f,a),i.unbind(window,"scroll",a),bt(),et(),Te=null},panTo:function(e,t,n){n||(e>te.min.x?e=te.min.x:e<te.max.x&&(e=te.max.x),t>te.min.y?t=te.min.y:t<te.max.y&&(t=te.max.y)),me.x=e,me.y=t,Oe()},handleEvent:function(e){e=e||window.event,h[e.type]&&h[e.type](e)},goTo:function(e){e=Ie(e);var t=e-c;ge=t,c=e,a.currItem=Xt(c),he-=t,Re(we.x*he),et(),oe=!1,a.updateCurrItem()},next:function(){a.goTo(c+1)},prev:function(){a.goTo(c-1)},updateCurrZoomItem:function(e){if(e&&De("beforeChange",0),_[1].el.children.length){var t=_[1].el.children[0];ne=i.hasClass(t,"pswp__zoom-wrap")?t.style:null}else ne=null;te=a.currItem.bounds,w=v=a.currItem.initialZoomLevel,me.x=te.center.x,me.y=te.center.y,e&&De("afterChange")},invalidateCurrItems:function(){b=!0;for(var e=0;e<3;e++)_[e].item&&(_[e].item.needsUpdate=!0)},updateCurrItem:function(e){if(0!==ge){var t,n=Math.abs(ge);if(!(e&&n<2)){a.currItem=Xt(c),_e=!1,De("beforeChange",ge),n>=3&&(p+=ge+(ge>0?-3:3),n=3);for(var o=0;o<n;o++)ge>0?(t=_.shift(),_[2]=t,p++,Fe((p+2)*we.x,t.el.style),a.setContent(t,c-n+o+1+1)):(t=_.pop(),_.unshift(t),p--,Fe(p*we.x,t.el.style),a.setContent(t,c+n-o-1-1));if(ne&&1===Math.abs(ge)){var i=Xt(C);i.initialZoomLevel!==v&&(an(i,fe),un(i),ke(i))}ge=0,a.updateCurrZoomItem(),C=c,De("afterChange")}}},updateSize:function(t){if(!ye&&r.modal){var n=i.getScrollY();if(P!==n&&(e.style.top=n+"px",P=n),!t&&be.x===window.innerWidth&&be.y===window.innerHeight)return;be.x=window.innerWidth,be.y=window.innerHeight,e.style.height=be.y+"px"}if(fe.x=a.scrollWrap.clientWidth,fe.y=a.scrollWrap.clientHeight,Xe(),we.x=fe.x+Math.round(fe.x*r.spacing),we.y=fe.y,Re(we.x*he),De("beforeResize"),void 0!==p){for(var o,l,s,u=0;u<3;u++)o=_[u],Fe((u+p)*we.x,o.el.style),s=c+u-1,r.loop&&jt()>2&&(s=Ie(s)),l=Xt(s),l&&(b||l.needsUpdate||!l.bounds)?(a.cleanSlide(l),a.setContent(o,s),1===u&&(a.currItem=l,a.updateCurrZoomItem(!0)),l.needsUpdate=!1):-1===o.index&&s>=0&&a.setContent(o,s),l&&l.container&&(an(l,fe),un(l),ke(l));b=!1}w=v=a.currItem.initialZoomLevel,te=a.currItem.bounds,te&&(me.x=te.center.x,me.y=te.center.y,Oe(!0)),De("resize")},zoomTo:function(e,t,n,o,a){t&&(w=v,vt.x=Math.abs(t.x)-me.x,vt.y=Math.abs(t.y)-me.y,Pe(pe,me));var r=Be(e,!1),l={};Ye("x",r,l,e),Ye("y",r,l,e);var s=v,u={x:me.x,y:me.y};Ze(l);var c=function(t){1===t?(v=e,me.x=l.x,me.y=l.y):(v=(e-s)*t+s,me.x=(l.x-u.x)*t+u.x,me.y=(l.y-u.y)*t+u.y),a&&a(t),Oe(1===t)};n?tt("customZoomTo",0,1,n,o||i.easing.sine.inOut,c):c(1)}},ot={},it={},at={},rt={},lt={},st=[],ut={}
4,ct=[],dt={},pt=0,mt=ce(),ft=0,ht=ce(),vt=ce(),wt=ce(),gt=function(e,t){return e.x===t.x&&e.y===t.y},yt=function(e,t){return Math.abs(e.x-t.x)<25&&Math.abs(e.y-t.y)<25},xt=function(e,t){return dt.x=Math.abs(e.x-t.x),dt.y=Math.abs(e.y-t.y),Math.sqrt(dt.x*dt.x+dt.y*dt.y)},bt=function(){X&&(k(X),X=null)},_t=function(){Y&&(X=O(_t),zt())},Ct=function(){return!("fit"===r.scaleMode&&v===a.currItem.initialZoomLevel)},It=function(e,t){return!(!e||e===document)&&(!(e.getAttribute("class")&&e.getAttribute("class").indexOf("pswp__scroll-wrap")>-1)&&(t(e)?e:It(e.parentNode,t)))},Tt={},Et=function(e,t){return Tt.prevent=!It(e.target,r.isClickableElement),De("preventDragEvent",e,t,Tt),Tt.prevent},Dt=function(e,t){return t.x=e.pageX,t.y=e.pageY,t.id=e.identifier,t},St=function(e,t,n){n.x=.5*(e.x+t.x),n.y=.5*(e.y+t.y)},Mt=function(e,t,n){if(e-U>50){var o=ct.length>2?ct.shift():{};o.x=t,o.y=n,ct.push(o),U=e}},At=function(){var e=me.y-a.currItem.initialPosition.y;return 1-Math.abs(e/(fe.y/2))},Ot={},kt={},Ft=[],Rt=function(e){for(;Ft.length>0;)Ft.pop();return M?(ue=0,st.forEach(function(e){0===ue?Ft[0]=e:1===ue&&(Ft[1]=e),ue++})):e.type.indexOf("touch")>-1?e.touches&&e.touches.length>0&&(Ft[0]=Dt(e.touches[0],Ot),e.touches.length>1&&(Ft[1]=Dt(e.touches[1],kt))):(Ot.x=e.pageX,Ot.y=e.pageY,Ot.id="",Ft[0]=Ot),Ft},Lt=function(e,t){var n,o,i,l,s=me[e]+t[e],u=t[e]>0,c=ht.x+t.x,d=ht.x-ut.x;if(n=s>te.min[e]||s<te.max[e]?r.panEndFriction:1,s=me[e]+t[e]*n,(r.allowPanToNext||v===a.currItem.initialZoomLevel)&&(ne?"h"!==ie||"x"!==e||q||(u?(s>te.min[e]&&(n=r.panEndFriction,te.min[e]-s,o=te.min[e]-pe[e]),(o<=0||d<0)&&jt()>1?(l=c,d<0&&c>ut.x&&(l=ut.x)):te.min.x!==te.max.x&&(i=s)):(s<te.max[e]&&(n=r.panEndFriction,s-te.max[e],o=pe[e]-te.max[e]),(o<=0||d>0)&&jt()>1?(l=c,d>0&&c<ut.x&&(l=ut.x)):te.min.x!==te.max.x&&(i=s))):l=c,"x"===e))return void 0!==l&&(Re(l,!0),j=l!==ut.x),te.min.x!==te.max.x&&(void 0!==i?me.x=i:j||(me.x+=t.x*n)),void 0!==l;oe||j||v>a.currItem.fitRatio&&(me[e]+=t[e]*n)},Pt=function(e){if(!("mousedown"===e.type&&e.button>0)){if(Vt)return void e.preventDefault();if(!W||"mousedown"!==e.type){if(Et(e,!0)&&e.preventDefault(),De("pointerDown"),M){var t=i.arraySearch(st,e.pointerId,"id");t<0&&(t=st.length),st[t]={x:e.pageX,y:e.pageY,id:e.pointerId}}var n=Rt(e),o=n.length;$=null,et(),Y&&1!==o||(Y=ae=!0,i.bind(window,m,a),B=se=re=H=j=V=G=q=!1,ie=null,De("firstTouchStart",n),Pe(pe,me),de.x=de.y=0,Pe(rt,n[0]),Pe(lt,rt),ut.x=we.x*he,ct=[{x:rt.x,y:rt.y}],U=N=Se(),Be(v,!0),bt(),_t()),!J&&o>1&&!oe&&!j&&(w=v,q=!1,J=G=!0,de.y=de.x=0,Pe(pe,me),Pe(ot,n[0]),Pe(it,n[1]),St(ot,it,wt),vt.x=Math.abs(wt.x)-me.x,vt.y=Math.abs(wt.y)-me.y,Q=ee=xt(ot,it))}}},Zt=function(e){if(e.preventDefault(),M){var t=i.arraySearch(st,e.pointerId,"id");if(t>-1){var n=st[t];n.x=e.pageX,n.y=e.pageY}}if(Y){var o=Rt(e);if(ie||V||J)$=o;else if(ht.x!==we.x*he)ie="h";else{var a=Math.abs(o[0].x-rt.x)-Math.abs(o[0].y-rt.y);Math.abs(a)>=10&&(ie=a>0?"h":"v",$=o)}}},zt=function(){if($){var e=$.length;if(0!==e)if(Pe(ot,$[0]),at.x=ot.x-rt.x,at.y=ot.y-rt.y,J&&e>1){if(rt.x=ot.x,rt.y=ot.y,!at.x&&!at.y&>($[1],it))return;Pe(it,$[1]),q||(q=!0,De("zoomGestureStarted"));var t=xt(ot,it),n=Ht(t);n>a.currItem.initialZoomLevel+a.currItem.initialZoomLevel/15&&(se=!0);var o=1,i=He(),l=We();if(n<i)if(r.pinchToClose&&!se&&w<=a.currItem.initialZoomLevel){var s=i-n,u=1-s/(i/1.2);Me(u),De("onPinchClose",u),re=!0}else o=(i-n)/i,o>1&&(o=1),n=i-o*(i/3);else n>l&&(o=(n-l)/(6*i),o>1&&(o=1),n=l+o*i);o<0&&(o=0),Q=t,St(ot,it,mt),de.x+=mt.x-wt.x,de.y+=mt.y-wt.y,Pe(wt,mt),me.x=Le("x",n),me.y=Le("y",n),B=n>v,v=n,Oe()}else{if(!ie)return;if(ae&&(ae=!1,Math.abs(at.x)>=10&&(at.x-=$[0].x-lt.x),Math.abs(at.y)>=10&&(at.y-=$[0].y-lt.y)),rt.x=ot.x,rt.y=ot.y,0===at.x&&0===at.y)return;if("v"===ie&&r.closeOnVerticalDrag&&!Ct()){de.y+=at.y,me.y+=at.y;var c=At();return H=!0,De("onVerticalDrag",c),Me(c),void Oe()}Mt(Se(),ot.x,ot.y),V=!0,te=a.currItem.bounds;var d=Lt("x",at);d||(Lt("y",at),Ze(me),Oe())}}},Nt=function(e){if(Z.isOldAndroid){if(W&&"mouseup"===e.type)return;e.type.indexOf("touch")>-1&&(clearTimeout(W),W=setTimeout(function(){W=0},600))}De("pointerUp"),Et(e,!1)&&e.preventDefault();var t;if(M){var n=i.arraySearch(st,e.pointerId,"id");if(n>-1)if(t=st.splice(n,1)[0],navigator.msPointerEnabled){var o={4:"mouse",2:"touch",3:"pen"};t.type=o[e.pointerType],t.type||(t.type=e.pointerType||"mouse")}else t.type=e.pointerType||"mouse"}var l,s=Rt(e),u=s.length;if("mouseup"===e.type&&(u=0),2===u)return $=null,!0;1===u&&Pe(lt,s[0]),0!==u||ie||oe||(t||("mouseup"===e.type?t={x:e.pageX,y:e.pageY,type:"mouse"}:e.changedTouches&&e.changedTouches[0]&&(t={x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY,type:"touch"})),De("touchRelease",e,t));var c=-1;if(0===u&&(Y=!1,i.unbind(window,m,a),bt(),J?c=0:-1!==ft&&(c=Se()-ft)),ft=1===u?Se():-1,l=-1!==c&&c<150?"zoom":"swipe",J&&u<2&&(J=!1,
41===u&&(l="zoomPointerUp"),De("zoomGestureEnded")),$=null,V||q||oe||H)if(et(),K||(K=Ut()),K.calculateSwipeSpeed("x"),H){var d=At();if(d<r.verticalDragRange)a.close();else{var p=me.y,f=le;tt("verticalDrag",0,1,300,i.easing.cubic.out,function(e){me.y=(a.currItem.initialPosition.y-p)*e+p,Me((1-f)*e+f),Oe()}),De("onVerticalDrag",1)}}else{if((j||oe)&&0===u){var h=Bt(l,K);if(h)return;l="zoomPointerUp"}if(!oe)return"swipe"!==l?void Wt():void(!j&&v>a.currItem.fitRatio&&Kt(K))}},Ut=function(){var e,t,n={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(o){ct.length>1?(e=Se()-U+50,t=ct[ct.length-2][o]):(e=Se()-N,t=lt[o]),n.lastFlickOffset[o]=rt[o]-t,n.lastFlickDist[o]=Math.abs(n.lastFlickOffset[o]),n.lastFlickDist[o]>20?n.lastFlickSpeed[o]=n.lastFlickOffset[o]/e:n.lastFlickSpeed[o]=0,Math.abs(n.lastFlickSpeed[o])<.1&&(n.lastFlickSpeed[o]=0),n.slowDownRatio[o]=.95,n.slowDownRatioReverse[o]=1-n.slowDownRatio[o],n.speedDecelerationRatio[o]=1},calculateOverBoundsAnimOffset:function(e,t){n.backAnimStarted[e]||(me[e]>te.min[e]?n.backAnimDestination[e]=te.min[e]:me[e]<te.max[e]&&(n.backAnimDestination[e]=te.max[e]),void 0!==n.backAnimDestination[e]&&(n.slowDownRatio[e]=.7,n.slowDownRatioReverse[e]=1-n.slowDownRatio[e],n.speedDecelerationRatioAbs[e]<.05&&(n.lastFlickSpeed[e]=0,n.backAnimStarted[e]=!0,tt("bounceZoomPan"+e,me[e],n.backAnimDestination[e],t||300,i.easing.sine.out,function(t){me[e]=t,Oe()}))))},calculateAnimOffset:function(e){n.backAnimStarted[e]||(n.speedDecelerationRatio[e]=n.speedDecelerationRatio[e]*(n.slowDownRatio[e]+n.slowDownRatioReverse[e]-n.slowDownRatioReverse[e]*n.timeDiff/10),n.speedDecelerationRatioAbs[e]=Math.abs(n.lastFlickSpeed[e]*n.speedDecelerationRatio[e]),n.distanceOffset[e]=n.lastFlickSpeed[e]*n.speedDecelerationRatio[e]*n.timeDiff,me[e]+=n.distanceOffset[e])},panAnimLoop:function(){if(je.zoomPan&&(je.zoomPan.raf=O(n.panAnimLoop),n.now=Se(),n.timeDiff=n.now-n.lastNow,n.lastNow=n.now,n.calculateAnimOffset("x"),n.calculateAnimOffset("y"),Oe(),n.calculateOverBoundsAnimOffset("x"),n.calculateOverBoundsAnimOffset("y"),n.speedDecelerationRatioAbs.x<.05&&n.speedDecelerationRatioAbs.y<.05))return me.x=Math.round(me.x),me.y=Math.round(me.y),Oe(),void Je("zoomPan")}};return n},Kt=function(e){if(e.calculateSwipeSpeed("y"),te=a.currItem.bounds,e.backAnimDestination={},e.backAnimStarted={},Math.abs(e.lastFlickSpeed.x)<=.05&&Math.abs(e.lastFlickSpeed.y)<=.05)return e.speedDecelerationRatioAbs.x=e.speedDecelerationRatioAbs.y=0,e.calculateOverBoundsAnimOffset("x"),e.calculateOverBoundsAnimOffset("y"),!0;Qe("zoomPan"),e.lastNow=Se(),e.panAnimLoop()},Bt=function(e,t){var n;oe||(pt=c);var o;if("swipe"===e){var l=rt.x-lt.x,s=t.lastFlickDist.x<10;l>30&&(s||t.lastFlickOffset.x>20)?o=-1:l<-30&&(s||t.lastFlickOffset.x<-20)&&(o=1)}var u;o&&(c+=o,c<0?(c=r.loop?jt()-1:0,u=!0):c>=jt()&&(c=r.loop?0:jt()-1,u=!0),u&&!r.loop||(ge+=o,he-=o,n=!0));var d,p=we.x*he,m=Math.abs(p-ht.x);return n||p>ht.x==t.lastFlickSpeed.x>0?(d=Math.abs(t.lastFlickSpeed.x)>0?m/Math.abs(t.lastFlickSpeed.x):333,d=Math.min(d,400),d=Math.max(d,250)):d=333,pt===c&&(n=!1),oe=!0,De("mainScrollAnimStart"),tt("mainScroll",ht.x,p,d,i.easing.cubic.out,Re,function(){et(),oe=!1,pt=-1,(n||pt!==c)&&a.updateCurrItem(),De("mainScrollAnimComplete")}),n&&a.updateCurrItem(!0),n},Ht=function(e){return 1/ee*e*w},Wt=function(){var e=v,t=He(),n=We();v<t?e=t:v>n&&(e=n);var o,r=le;return re&&!B&&!se&&v<t?(a.close(),!0):(re&&(o=function(e){Me((1-r)*e+r)}),a.zoomTo(e,0,200,i.easing.cubic.out,o),!0)};Ce("Gestures",{publicMethods:{initGestures:function(){var e=function(e,t,n,o,i){I=e+t,T=e+n,E=e+o,D=i?e+i:""};M=Z.pointerEvent,M&&Z.touch&&(Z.touch=!1),M?navigator.msPointerEnabled?e("MSPointer","Down","Move","Up","Cancel"):e("pointer","down","move","up","cancel"):Z.touch?(e("touch","start","move","end","cancel"),A=!0):e("mouse","down","move","up"),m=T+" "+E+" "+D,f=I,M&&!A&&(A=navigator.maxTouchPoints>1||navigator.msMaxTouchPoints>1),a.likelyTouchDevice=A,h[I]=Pt,h[T]=Zt,h[E]=Nt,D&&(h[D]=h[E]),Z.touch&&(f+=" mousedown",m+=" mousemove mouseup",h.mousedown=h[I],h.mousemove=h[T],h.mouseup=h[E]),A||(r.allowPanToNext=!1)}}});var Yt,Gt,qt,Vt,Xt,jt,$t,Jt=function(t,n,o,l){Yt&&clearTimeout(Yt),Vt=!0,qt=!0;var s;t.initialLayout?(s=t.initialLayout,t.initialLayout=null):s=r.getThumbBoundsFn&&r.getThumbBoundsFn(c);var d=o?r.hideAnimationDuration:r.showAnimationDuration,p=function(){Je("initialZoom"),o?(a.template.removeAttribute("style"),a.bg.removeAttribute("style")):(Me(1),n&&(n.style.display="block"),i.addClass(e,"pswp--animated-in"),De("initialZoom"+(o?"OutEnd":"InEnd"))),l&&l(),Vt=!1};if(!d||!s||void 0===s.x)return De("initialZoom"+(o?"Out":"In")),v=t.initialZoomLevel,Pe(me,t.initialPosition),Oe(),e.style.opacity=o?0:1,Me(1),void(d?setTimeout(function(){p()},d):p());!function(){var n=u,l=!a.currItem.src||a.currItem.loadError||r.showHideOpacity;t.miniImg&&(t.miniImg.style.webkitBackfaceVisibility="hidden"),o||(v=s.w/t.w,me.x=s.x,me.y=s.y-R,a[l?"template":"bg"].style.opacity=.001,Oe()),Qe("initialZoom"),o&&!n&&i.removeClass(e,"pswp--animated-in"),l&&(o?i[(n?"remove":"add")+"Class"](e,"pswp--animate_opacity"):setTimeout(function(){i.addClass(e,"pswp--animate_opacity")},30)),Yt=setTimeout(function(){if(De("initialZoom"+(o?"Out":"In")),o){var a=s.w/t.w,r={x:me.x,y:me.y},u=v,c=le,m=function(t){1===t?(v=a,me.x=s.x,me.y=s.y-P):(v=(a-u)*t+u,me.x=(s.x-r.x)*t+r.x,me.y=(s.y-P-r.y)*t+r.y),Oe(),l?e.style.opacity=1-t:Me(c-t*c)};n?tt("initialZoom",0,1,d,i.easing.cubic.out,m,p):(m(1),Yt=setTimeout(p,d+20))}else v=t.initialZoomLevel,Pe(me,t.initialPosition),Oe(),Me(1),l?e.style.opacity=1:Me(1),Yt=setTimeout(p,d+20)},o?25:90)}()},Qt={},en=[],tn={index:0,errorMsg:'<div class="pswp__error-msg"><a href="%url%" target="_blank">The image</a> could not be loaded.</div>',forceProgressiveLoading:!1,preload:[1,1],getNumItemsFn:function(){return Gt.length}},nn=function(){return{center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}}},on=function(e,t,n){var o=e.bounds;o.center.x=Math.round((Qt.x-t)/2),o.center.y=Math.round((Qt.y-n)/2)+e.vGap.top,o.max.x=t>Qt.x?Math.round(Qt.x-t):o.center.x,o.max.y=n>Qt.y?Math.round(Qt.y-n)+e.vGap.top:o.center.y,o.min.x=t>Qt.x?0:o.center.x,o.min.y=n>Qt.y?e.vGap.top:o.center.y},an=function(e,t,n){if(e.src&&!e.loadError){var o=!n;if(o&&(e.vGap||(e.vGap={top:0,bottom:0}),De("parseVerticalMargin",e)),Qt.x=t.x,Qt.y=t.y-e.vGap.top-e.vGap.bottom,o){var i=Qt.x/e.w,a=Qt.y/e.h;e.fitRatio=i<a?i:a;var l=r.scaleMode;"orig"===l?n=1:"fit"===l&&(n=e.fitRatio),n>1&&(n=1),e.initialZoomLevel=n,e.bounds||(e.bounds=nn())}if(!n)return;return on(e,e.w*n,e.h*n),o&&n===e.initialZoomLevel&&(e.initialPosition=e.bounds.center),e.bounds}return e.w=e.h=0,e.initialZoomLevel=e.fitRatio=1,e.bounds=nn(),e.initialPosition=e.bounds.center,e.boun
4ds},rn=function(e,t,n,o,i,r){t.loadError||o&&(t.imageAppended=!0,un(t,o,t===a.currItem&&_e),n.appendChild(o),r&&setTimeout(function(){t&&t.loaded&&t.placeholder&&(t.placeholder.style.display="none",t.placeholder=null)},500))},ln=function(e){e.loading=!0,e.loaded=!1;var t=e.img=i.createEl("pswp__img","img"),n=function(){e.loading=!1,e.loaded=!0,e.loadComplete?e.loadComplete(e):e.img=null,t.onload=t.onerror=null,t=null};return t.onload=n,t.onerror=function(){e.loadError=!0,n()},t.src=e.src,t},sn=function(e,t){if(e.src&&e.loadError&&e.container)return t&&(e.container.innerHTML=""),e.container.innerHTML=r.errorMsg.replace("%url%",e.src),!0},un=function(e,t,n){if(e.src){t||(t=e.container.lastChild);var o=n?e.w:Math.round(e.w*e.fitRatio),i=n?e.h:Math.round(e.h*e.fitRatio);e.placeholder&&!e.loaded&&(e.placeholder.style.width=o+"px",e.placeholder.style.height=i+"px"),t.style.width=o+"px",t.style.height=i+"px"}},cn=function(){if(en.length){for(var e,t=0;t<en.length;t++)e=en[t],e.holder.index===e.index&&rn(e.index,e.item,e.baseDiv,e.img,0,e.clearPlaceholder);en=[]}};Ce("Controller",{publicMethods:{lazyLoadItem:function(e){e=Ie(e);var t=Xt(e);t&&(!t.loaded&&!t.loading||b)&&(De("gettingData",e,t),t.src&&ln(t))},initController:function(){i.extend(r,tn,!0),a.items=Gt=n,Xt=a.getItemAt,jt=r.getNumItemsFn,$t=r.loop,jt()<3&&(r.loop=!1),Ee("beforeChange",function(e){var t,n=r.preload,o=null===e||e>=0,i=Math.min(n[0],jt()),l=Math.min(n[1],jt());for(t=1;t<=(o?l:i);t++)a.lazyLoadItem(c+t);for(t=1;t<=(o?i:l);t++)a.lazyLoadItem(c-t)}),Ee("initialLayout",function(){a.currItem.initialLayout=r.getThumbBoundsFn&&r.getThumbBoundsFn(c)}),Ee("mainScrollAnimComplete",cn),Ee("initialZoomInEnd",cn),Ee("destroy",function(){for(var e,t=0;t<Gt.length;t++)e=Gt[t],e.container&&(e.container=null),e.placeholder&&(e.placeholder=null),e.img&&(e.img=null),e.preloader&&(e.preloader=null),e.loadError&&(e.loaded=e.loadError=!1);en=null})},getItemAt:function(e){return e>=0&&(void 0!==Gt[e]&&Gt[e])},allowProgressiveImg:function(){return r.forceProgressiveLoading||!A||r.mouseUsed||screen.width>1200},setContent:function(e,t){r.loop&&(t=Ie(t));var n=a.getItemAt(e.index);n&&(n.container=null);var o,s=a.getItemAt(t);if(!s)return void(e.el.innerHTML="");De("gettingData",t,s),e.index=t,e.item=s;var u=s.container=i.createEl("pswp__zoom-wrap");if(!s.src&&s.html&&(s.html.tagName?u.appendChild(s.html):u.innerHTML=s.html),sn(s),an(s,fe),!s.src||s.loadError||s.loaded)s.src&&!s.loadError&&(o=i.createEl("pswp__img","img"),o.style.opacity=1,o.src=s.src,un(s,o),rn(0,s,u,o));else{if(s.loadComplete=function(n){if(l){if(e&&e.index===t){if(sn(n,!0))return n.loadComplete=n.img=null,an(n,fe),ke(n),void(e.index===c&&a.updateCurrZoomItem());n.imageAppended?!Vt&&n.placeholder&&(n.placeholder.style.display="none",n.placeholder=null):Z.transform&&(oe||Vt)?en.push({item:n,baseDiv:u,img:n.img,index:t,holder:e,clearPlaceholder:!0}):rn(0,n,u,n.img,0,!0)}n.loadComplete=null,n.img=null,De("imageLoadComplete",t,n)}},i.features.transform){var d="pswp__img pswp__img--placeholder";d+=s.msrc?"":" pswp__img--placeholder--blank";var p=i.createEl(d,s.msrc?"img":"");s.msrc&&(p.src=s.msrc),un(s,p),u.appendChild(p),s.placeholder=p}s.loading||ln(s),a.allowProgressiveImg()&&(!qt&&Z.transform?en.push({item:s,baseDiv:u,img:s.img,index:t,holder:e}):rn(0,s,u,s.img,0,!0))}qt||t!==c?ke(s):(ne=u.style,Jt(s,o||s.img)),e.el.innerHTML="",e.el.appendChild(u)},cleanSlide:function(e){e.img&&(e.img.onload=e.img.onerror=null),e.loaded=e.loading=e.img=e.imageAppended=!1}}});var dn,pn={},mn=function(e,t,n){var o=document.createEvent("CustomEvent"),i={origEvent:e,target:e.target,releasePoint:t,pointerType:n||"touch"};o.initCustomEvent("pswpTap",!0,!0,i),e.target.dispatchEvent(o)};Ce("Tap",{publicMethods:{initTap:function(){Ee("firstTouchStart",a.onTapStart),Ee("touchRelease",a.onTapRelease),Ee("destroy",function(){pn={},dn=null})},onTapStart:function(e){e.length>1&&(clearTimeout(dn),dn=null)},onTapRelease:function(e,t){if(t&&!V&&!G&&!$e){var n=t;if(dn&&(clearTimeout(dn),dn=null,yt(n,pn)))return void De("doubleTap",n);if("mouse"===t.type)return void mn(e,t,"mouse");if("BUTTON"===e.target.tagName.toUpperCase()||i.hasClass(e.target,"pswp__single-tap"))return void mn(e,t);Pe(pn,n),dn=setTimeout(function(){mn(e,t),dn=null},300)}}}});var fn;Ce("DesktopZoom",{publicMethods:{initDesktopZoom:function(){L||(A?Ee("mouseUsed",function(){a.setupDesktopZoom()}):a.setupDesktopZoom(!0))},setupDesktopZoom:function(t){fn={};var n="wheel mousewheel DOMMouseScroll";Ee("bindEvents",function(){i.bind(e,n,a.handleMouseWheel)}),Ee("unbindEvents",function(){fn&&i.unbind(e,n,a.handleMouseWheel)}),a.mouseZoomedIn=!1;var o,r=function(){a.mouseZoomedIn&&(i.removeClass(e,"pswp--zoomed-in"),a.mouseZoomedIn=!1),v<1?i.addClass(e,"pswp--zoom-allowed"):i.removeClass(e,"pswp--zoom-allowed"),l()},l=function(){o&&(i.removeClass(e,"pswp--dragging"),o=!1)};Ee("resize",r),Ee("afterChange",r),Ee("pointerDown",function(){a.mouseZoomedIn&&(o=!0,i.addClass(e,"pswp--dragging"))}),Ee("pointerUp",l),t||r()},handleMouseWheel:function(e){if(v<=a.currItem.fitRatio)return r.modal&&(!r.closeOnScroll||$e||Y?e.preventDefault():S&&Math.abs(e.deltaY)>2&&(u=!0,a.close())),!0;if(e.stopPropagation(),fn.x=0,"deltaX"in e)1===e.deltaMode?(fn.x=18*e.deltaX,fn.y=18*e.deltaY):(fn.x=e.deltaX,fn.y=e.deltaY);else if("wheelDelta"in e)e.wheelDeltaX&&(fn.x=-.16*e.wheelDeltaX),e.wheelDeltaY?fn.y=-.16*e.wheelDeltaY:fn.y=-.16*e.wheelDelta;else{if(!("detail"in e))return;fn.y=e.detail}Be(v,!0);var t=me.x-fn.x,n=me.y-fn.y;(r.modal||t<=te.min.x&&t>=te.max.x&&n<=te.min.y&&n>=te.max.y)&&e.preventDefault(),a.panTo(t,n)},toggleDesktopZoom:function(t){t=t||{x:fe.x/2+ve.x,y:fe.y/2+ve.y};var n=r.getDoubleTapZoom(!0,a.currItem),o=v===n;a.mouseZoomedIn=!o,a.zoomTo(o?a.currItem.initialZoomLevel:n,t,333),i[(o?"remove":"add")+"Class"](e,"pswp--zoomed-in")}}});var hn,vn,wn,gn,yn,xn,bn,_n,Cn,In,Tn,En,Dn={history:!0,galleryUID:1},Sn=function(){return Tn.hash.substring(1)},Mn=function(){hn&&clearTimeout(hn),wn&&clearTimeout(wn)},An=function(){var e=Sn(),t={};if(e.length<5)return t;var n,o=e.split("&");for(n=0;n<o.length;n++)if(o[n]){var i=o[n].split("=");i.length<2||(t[i[0]]=i[1])}if(r.galleryPIDs){var a=t.pid;for(t.pid=0,n=0;n<Gt.length;n++)if(Gt[n].pid===a){t.pid=n;break}}else t.pid=parseInt(t.pid,10)-1;return t.pid<0&&(t.pid=0),t},On=function(){if(wn&&clearTimeout(wn),$e||Y)return void(wn=setTimeout(On,500));gn?clearTimeout(vn):gn=!0;var e=c+1,t=Xt(c);t.hasOwnProperty("pid")&&(e=t.pid);var n=bn+"&gid="+r.galleryUID+"&pid="+e;_n||-1===Tn.hash.indexOf(n)&&(In=!0);var o=Tn.href.split("#")[0]+"#"+n;En?"#"+n!==window.location.hash&&history[_n?"replaceState":"pushState"]("",document.title,o):_n?Tn.replace(o):Tn.hash=n,_n=!0,vn=setTimeout(function(){gn=!1},60)};Ce("History",{publicMethods:{initHistory:function(){if(i.extend(r,Dn,!0),r.history){Tn=window.location,In=!1,Cn=!1,_n=!1,bn=Sn(),En="pushState"in history,bn.indexOf("gid=")>-1&&(bn=bn.split("&gid=")[0],bn=bn.split("?gid=")[0]),Ee("afterChange",a.updateURL),Ee("unbindEvents",function(){i.unbind(window,"hashchange",a.onHashChange)});var e=function(){xn=!0,Cn||(In?history.back():bn?Tn.hash=bn:En?history.pushState("",document.title,Tn.pathname+Tn.search):Tn.hash=""),Mn()};Ee("unbindEvents",function(){u&&e()}
4),Ee("destroy",function(){xn||e()}),Ee("firstUpdate",function(){c=An().pid});var t=bn.indexOf("pid=");t>-1&&(bn=bn.substring(0,t),"&"===bn.slice(-1)&&(bn=bn.slice(0,-1))),setTimeout(function(){l&&i.bind(window,"hashchange",a.onHashChange)},40)}},onHashChange:function(){if(Sn()===bn)return Cn=!0,void a.close();gn||(yn=!0,a.goTo(An().pid),yn=!1)},updateURL:function(){Mn(),yn||(_n?hn=setTimeout(On,800):On())}}}),i.extend(a,nt)}})},function(e,t,n){var o,i;/*! PhotoSwipe Default UI - 4.1.3 - 2019-01-08 5* http://photoswipe.com 6* Copyright (c) 2019 Dmitry Semenov; */ 7!function(a,r){o=r,void 0!==(i="function"==typeof o?o.call(t,n,t,e):o)&&(e.exports=i)}(0,function(){"use strict";return function(e,t){var n,o,i,a,r,l,s,u,c,d,p,m,f,h,v,w,g,y,x,b=this,_=!1,C=!0,I=!0,T={barsSize:{top:44,bottom:"auto"},closeElClasses:["item","caption","zoom-wrap","ui","top-bar"],timeToIdle:4e3,timeToIdleOutside:1e3,loadingIndicatorDelay:1e3,addCaptionHTMLFn:function(e,t){return e.title?(t.children[0].innerHTML=e.title,!0):(t.children[0].innerHTML="",!1)},closeEl:!0,captionEl:!0,fullscreenEl:!0,zoomEl:!0,shareEl:!0,counterEl:!0,arrowEl:!0,preloaderEl:!0,tapToClose:!1,tapToToggleControls:!0,clickToCloseNonZoomable:!0,shareButtons:[{id:"facebook",label:"Share on Facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:"Tweet",url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:"Pin it",url:"http://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"},{id:"download",label:"Download image",url:"{{raw_image_url}}",download:!0}],getImageURLForShare:function(){return e.currItem.src||""},getPageURLForShare:function(){return window.location.href},getTextForShare:function(){return e.currItem.title||""},indexIndicatorSep:" / ",fitControlsWidth:1200},E=function(e){if(w)return!0;e=e||window.event,v.timeToIdle&&v.mouseUsed&&!c&&P();for(var n,o,i=e.target||e.srcElement,a=i.getAttribute("class")||"",r=0;r<W.length;r++)n=W[r],n.onTap&&a.indexOf("pswp__"+n.name)>-1&&(n.onTap(),o=!0);if(o){e.stopPropagation&&e.stopPropagation(),w=!0;var l=t.features.isOldAndroid?600:30;g=setTimeout(function(){w=!1},l)}},D=function(){return!e.likelyTouchDevice||v.mouseUsed||screen.width>v.fitControlsWidth},S=function(e,n,o){t[(o?"add":"remove")+"Class"](e,"pswp__"+n)},M=function(){var e=1===v.getNumItemsFn();e!==h&&(S(o,"ui--one-slide",e),h=e)},A=function(){S(s,"share-modal--hidden",I)},O=function(){return I=!I,I?(t.removeClass(s,"pswp__share-modal--fade-in"),setTimeout(function(){I&&A()},300)):(A(),setTimeout(function(){I||t.addClass(s,"pswp__share-modal--fade-in")},30)),I||F(),!1},k=function(t){t=t||window.event;var n=t.target||t.srcElement;return e.shout("shareLinkClick",t,n),!!n.href&&(!!n.hasAttribute("download")||(window.open(n.href,"pswp_share","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,top=100,left="+(window.screen?Math.round(screen.width/2-275):100)),I||O(),!1))},F=function(){for(var e,t,n,o,i,a="",r=0;r<v.shareButtons.length;r++)e=v.shareButtons[r],n=v.getImageURLForShare(e),o=v.getPageURLForShare(e),i=v.getTextForShare(e),t=e.url.replace("{{url}}",encodeURIComponent(o)).replace("{{image_url}}",encodeURIComponent(n)).replace("{{raw_image_url}}",n).replace("{{text}}",encodeURIComponent(i)),a+='<a href="'+t+'" target="_blank" class="pswp__share--'+e.id+'"'+(e.download?"download":"")+">"+e.label+"</a>",v.parseShareButtonOut&&(a=v.parseShareButtonOut(e,a));s.children[0].innerHTML=a,s.children[0].onclick=k},R=function(e){for(var n=0;n<v.closeElClasses.length;n++)if(t.hasClass(e,"pswp__"+v.closeElClasses[n]))return!0},L=0,P=function(){clearTimeout(x),L=0,c&&b.setIdle(!1)},Z=function(e){e=e||window.event;var t=e.relatedTarget||e.toElement;t&&"HTML"!==t.nodeName||(clearTimeout(x),x=setTimeout(function(){b.setIdle(!0)},v.timeToIdleOutside))},z=function(){v.fullscreenEl&&!t.features.isOldAndroid&&(n||(n=b.getFullscreenAPI()),n?(t.bind(document,n.eventK,b.updateFullscreen),b.updateFullscreen(),t.addClass(e.template,"pswp--supports-fs")):t.removeClass(e.template,"pswp--supports-fs"))},N=function(){v.preloaderEl&&(U(!0),d("beforeChange",function(){clearTimeout(f),f=setTimeout(function(){e.currItem&&e.currItem.loading?(!e.allowProgressiveImg()||e.currItem.img&&!e.currItem.img.naturalWi
7dth)&&U(!1):U(!0)},v.loadingIndicatorDelay)}),d("imageLoadComplete",function(t,n){e.currItem===n&&U(!0)}))},U=function(e){m!==e&&(S(p,"preloader--active",!e),m=e)},K=function(e){var n=e.vGap;if(D()){var r=v.barsSize;if(v.captionEl&&"auto"===r.bottom)if(a||(a=t.createEl("pswp__caption pswp__caption--fake"),a.appendChild(t.createEl("pswp__caption__center")),o.insertBefore(a,i),t.addClass(o,"pswp__ui--fit")),v.addCaptionHTMLFn(e,a,!0)){var l=a.clientHeight;n.bottom=parseInt(l,10)||44}else n.bottom=r.top;else n.bottom="auto"===r.bottom?0:r.bottom;n.top=r.top}else n.top=n.bottom=0},B=function(){v.timeToIdle&&d("mouseUsed",function(){t.bind(document,"mousemove",P),t.bind(document,"mouseout",Z),y=setInterval(function(){2===++L&&b.setIdle(!0)},v.timeToIdle/2)})},H=function(){d("onVerticalDrag",function(e){C&&e<.95?b.hideControls():!C&&e>=.95&&b.showControls()});var e;d("onPinchClose",function(t){C&&t<.9?(b.hideControls(),e=!0):e&&!C&&t>.9&&b.showControls()}),d("zoomGestureEnded",function(){(e=!1)&&!C&&b.showControls()})},W=[{name:"caption",option:"captionEl",onInit:function(e){i=e}},{name:"share-modal",option:"shareEl",onInit:function(e){s=e},onTap:function(){O()}},{name:"button--share",option:"shareEl",onInit:function(e){l=e},onTap:function(){O()}},{name:"button--zoom",option:"zoomEl",onTap:e.toggleDesktopZoom},{name:"counter",option:"counterEl",onInit:function(e){r=e}},{name:"button--close",option:"closeEl",onTap:e.close},{name:"button--arrow--left",option:"arrowEl",onTap:e.prev},{name:"button--arrow--right",option:"arrowEl",onTap:e.next},{name:"button--fs",option:"fullscreenEl",onTap:function(){n.isFullscreen()?n.exit():n.enter()}},{name:"preloader",option:"preloaderEl",onInit:function(e){p=e}}],Y=function(){var e,n,i,a=function(o){if(o)for(var a=o.length,r=0;r<a;r++){e=o[r],n=e.className;for(var l=0;l<W.length;l++)i=W[l],n.indexOf("pswp__"+i.name)>-1&&(v[i.option]?(t.removeClass(e,"pswp__element--disabled"),i.onInit&&i.onInit(e)):t.addClass(e,"pswp__element--disabled"))}};a(o.children);var r=t.getChildByClass(o,"pswp__top-bar");r&&a(r.children)};b.init=function(){t.extend(e.options,T,!0),v=e.options,o=t.getChildByClass(e.scrollWrap,"pswp__ui"),d=e.listen,H(),d("beforeChange",b.update),d("doubleTap",function(t){var n=e.currItem.initialZoomLevel;e.getZoomLevel()!==n?e.zoomTo(n,t,333):e.zoomTo(v.getDoubleTapZoom(!1,e.currItem),t,333)}),d("preventDragEvent",function(e,t,n){var o=e.target||e.srcElement;o&&o.getAttribute("class")&&e.type.indexOf("mouse")>-1&&(o.getAttribute("class").indexOf("__caption")>0||/(SMALL|STRONG|EM)/i.test(o.tagName))&&(n.prevent=!1)}),d("bindEvents",function(){t.bind(o,"pswpTap click",E),t.bind(e.scrollWrap,"pswpTap",b.onGlobalTap),e.likelyTouchDevice||t.bind(e.scrollWrap,"mouseover",b.onMouseOver)}),d("unbindEvents",function(){I||O(),y&&clearInterval(y),t.unbind(document,"mouseout",Z),t.unbind(document,"mousemove",P),t.unbind(o,"pswpTap click",E),t.unbind(e.scrollWrap,"pswpTap",b.onGlobalTap),t.unbind(e.scrollWrap,"mouseover",b.onMouseOver),n&&(t.unbind(document,n.eventK,b.updateFullscreen),n.isFullscreen()&&(v.hideAnimationDuration=0,n.exit()),n=null)}),d("destroy",function(){v.captionEl&&(a&&o.removeChild(a),t.removeClass(i,"pswp__caption--empty")),s&&(s.children[0].onclick=null),t.removeClass(o,"pswp__ui--over-close"),t.addClass(o,"pswp__ui--hidden"),b.setIdle(!1)}),v.showAnimationDuration||t.removeClass(o,"pswp__ui--hidden"),d("initialZoomIn",function(){v.showAnimationDuration&&t.removeClass(o,"pswp__ui--hidden")}),d("initialZoomOut",function(){t.addClass(o,"pswp__ui--hidden")}),d("parseVerticalMargin",K),Y(),v.shareEl&&l&&s&&(I=!0),M(),B(),z(),N()},b.setIdle=function(e){c=e,S(o,"ui--idle",e)},b.update=function(){C&&e.currItem?(b.updateIndexIndicator(),v.captionEl&&(v.addCaptionHTMLFn(e.currItem,i),S(i,"caption--empty",!e.currItem.title)),_=!0):_=!1,I||O(),M()},b.updateFullscreen=function(o){o&&setTimeout(function(){e.setScrollOffset(0,t.getScrollY())},50),t[(n.isFullscreen()?"add":"remove")+"Class"](e.template,"pswp--fs")},b.updateIndexIndicator=function(){v.counterEl&&(r.innerHTML=e.getCurrentIndex()+1+v.indexIndicatorSep+v.getNumItemsFn())},b.onGlobalTap=function(n){n=n||window.event;var o=n.target||n.srcElement;if(!w)if(n.detail&&"mouse"===n.detail.pointerType){if(R(o))return void e.close();t.hasClass(o,"pswp__img")&&(1===e.getZoomLevel()&&e.getZoomLevel()<=e.currItem.fitRatio?v.clickToCloseNonZoomable&&e.close():e.toggleDesktopZoom(n.detail.releasePoint))}else if(v.tapToToggleControls&&(C?b.hideControls():b.showControls()),v.tapToClose&&(t.hasClass(o,"pswp__img")||R(o)))return void e.close()},b.onMouseOver=function(e){e=e||window.event;var t=e.target||e.srcElement;S(o,"ui--over-close",R(t))},b.hideControls=function(){t.addClass(o,"pswp__ui--hidden"),C=!1}
7,b.showControls=function(){C=!0,_||b.update(),t.removeClass(o,"pswp__ui--hidden")},b.supportsFullscreen=function(){var e=document;return!!(e.exitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen||e.msExitFullscreen)},b.getFullscreenAPI=function(){var t,n=document.documentElement,o="fullscreenchange";return n.requestFullscreen?t={enterK:"requestFullscreen",exitK:"exitFullscreen",elementK:"fullscreenElement",eventK:o}:n.mozRequestFullScreen?t={enterK:"mozRequestFullScreen",exitK:"mozCancelFullScreen",elementK:"mozFullScreenElement",eventK:"moz"+o}:n.webkitRequestFullscreen?t={enterK:"webkitRequestFullscreen",exitK:"webkitExitFullscreen",elementK:"webkitFullscreenElement",eventK:"webkit"+o}:n.msRequestFullscreen&&(t={enterK:"msRequestFullscreen",exitK:"msExitFullscreen",elementK:"msFullscreenElement",eventK:"MSFullscreenChange"}),t&&(t.enter=function(){if(u=v.closeOnScroll,v.closeOnScroll=!1,"webkitRequestFullscreen"!==this.enterK)return e.template[this.enterK]();e.template[this.enterK](Element.ALLOW_KEYBOARD_INPUT)},t.exit=function(){return v.closeOnScroll=u,document[this.exitK]()},t.isFullscreen=function(){return document[this.elementK]}),t}}})}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.