PageSourceSearch

https://en.islcollective.com/_next/static/chunks/7328.3dabbbf174ecdc75.js

js islcollective.com collected 2026-09-24 09:06:48 UTC 51,366 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7328],{25030:function(e,t,n){var o,i,a=1/0,r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,l="object"==typeof self&&self&&self.Object===Object&&self,s=r||l||Function("return this")(),u=Object.prototype,c=u.hasOwnProperty,p=u.toString,Symbol=s.Symbol,d=u.propertyIsEnumerable,f=Symbol?Symbol.isConcatSpreadable:void 0,m=Math.max;function h(e){var t,n,o,i,a,r;return w(e)||y(e)&&null!=(t=e)&&"number"==typeof(n=t.length)&&n>-1&&n%1==0&&n<=9007199254740991&&!("[object Function]"==(a=typeof(i=o=t),r=i&&("object"==a||"function"==a)?p.call(o):"")||"[object GeneratorFunction]"==r)&&c.call(e,"callee")&&(!d.call(e,"callee")||"[object Arguments]"==p.call(e))||!!(f&&e&&e[f])}function v(e){if("string"==typeof e||"symbol"==typeof(t=e)||y(t)&&"[object Symbol]"==p.call(t))return e;var t,n=e+"";return"0"==n&&1/e==-a?"-0":n}var w=Array.isArray;function y(e){return!!e&&"object"==typeof e}var g=(o=function(e,t){var n,o;return null==e?{}:(n=e,o=function(e,t){for(var n=-1,o=e?e.length:0,i=Array(o);++n<o;)i[n]=t(e[n],n,e);return i}(function e(t,n,o,i,a){var r=-1,l=t.length;for(o||(o=h),a||(a=[]);++r<l;){var s=t[r];n>0&&o(s)?n>1?e(s,n-1,o,i,a):function(e,t){for(var n=-1,o=t.length,i=e.length;++n<o;)e[i+n]=t[n];return e}(a,s):i||(a[a.length]=s)}return a}(t,1),v),function(e,t,n){for(var o=-1,i=t.length,a={};++o<i;){var r=t[o],l=e[r];n(l,r)&&(a[r]=l)}return a}(n=Object(n),o,function(e,t){return t in n}))},i=m(void 0===i?o.length-1:i,0),function(){for(var e=arguments,t=-1,n=m(e.length-i,0),a=Array(n);++t<n;)a[t]=e[i+t];t=-1;for(var r=Array(i+1);++t<i;)r[t]=e[t];return r[i]=a,function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(o,this,r)});e.exports=g},96369:function(){},38411:function(e,t,n){var o,i;void 0!==(i="function"==typeof(o=function(){return function(e,t){var n,o,i,a,r,l,s,u,c,p,d,f,m,h,v,w,y,g,b=this,x=!1,_=!0,C=!0,E={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},I=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).getAttribute("class")||"",a=0;a<K.length;a++)(n=K[a]).onTap&&i.indexOf("pswp__"+n.name)>-1&&(n.onTap(),o=!0);o&&(e.stopPropagation&&e.stopPropagation(),w=!0,setTimeout(function(){w=!1},t.features.isOldAndroid?600:30))},T=function(e,n,o){t[(o?"add":"remove")+"Class"](e,"pswp__"+n)},O=function(){var e=1===v.getNumItemsFn();e!==h&&(T(o,"ui--one-slide",e),h=e)},S=function(){T(s,"share-modal--hidden",C)},D=function(){return(C=!C)?(t.removeClass(s,"pswp__share-modal--fade-in"),setTimeout(function(){C&&S()},300)):(S(),setTimeout(function(){C||t.addClass(s,"pswp__share-modal--fade-in")},30)),C||k(),!1},M=function(t){var n=(t=t||window.event).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)),C||D(),!1))},k=function(){for(var e,t,n,o,i="",a=0;a<v.shareButtons.length;a++)e=v.shareButtons[a],t=v.getImageURLForShare(e),n=v.getPageURLForShare(e),o=v.getTextForShare(e),i+='<a href="'+e.url.replace("{{url}}",encodeURIComponent(n)).replace("{{image_url}}",encodeURIComponent(t)).replace("{{raw_image_url}}",t).replace("{{text}}",encodeURIComponent(o))+'" target="_blank" class="pswp__share--'+e.id+'"'+(e.download?"download":"")+">"+e.label+"</a>",v.parseShareButtonOut&&(i=v.parseShareButtonOut(e,i));s.children[0].innerHTML=i,s.children[0].onclick=M},F=function(e){for(var n=0;n<v.closeElClasses.length;n++)if(t.hasClass(e,"pswp__"+v.closeElClasses[n]))return!0},A=0,P=function(){clearTimeout(g),A=0,c&&b.setIdle(!1)},R=function(e){var t=(e=e||window.event).relatedTarget||e.toElement;t&&"HTML"!==t.nodeName||(clearTimeout(g),g=setTimeout(function(){b.setIdle(!0)}
1,v.timeToIdleOutside))},N=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"))},L=function(){v.preloaderEl&&(Z(!0),p("beforeChange",function(){clearTimeout(m),m=setTimeout(function(){e.currItem&&e.currItem.loading?e.allowProgressiveImg()&&(!e.currItem.img||e.currItem.img.naturalWidth)||Z(!1):Z(!0)},v.loadingIndicatorDelay)}),p("imageLoadComplete",function(t,n){e.currItem===n&&Z(!0)}))},Z=function(e){f!==e&&(T(d,"preloader--active",!e),f=e)},z=function(n){var r=n.vGap;if(!e.likelyTouchDevice||v.mouseUsed||screen.width>v.fitControlsWidth){var l=v.barsSize;if(v.captionEl&&"auto"===l.bottom){if(a||((a=t.createEl("pswp__caption pswp__caption--fake")).appendChild(t.createEl("pswp__caption__center")),o.insertBefore(a,i),t.addClass(o,"pswp__ui--fit")),v.addCaptionHTMLFn(n,a,!0)){var s=a.clientHeight;r.bottom=parseInt(s,10)||44}else r.bottom=l.top}else r.bottom="auto"===l.bottom?0:l.bottom;r.top=l.top}else r.top=r.bottom=0},U=function(){v.timeToIdle&&p("mouseUsed",function(){t.bind(document,"mousemove",P),t.bind(document,"mouseout",R),y=setInterval(function(){2==++A&&b.setIdle(!0)},v.timeToIdle/2)})},j=function(){var e;p("onVerticalDrag",function(e){_&&e<.95?b.hideControls():!_&&e>=.95&&b.showControls()}),p("onPinchClose",function(t){_&&t<.9?(b.hideControls(),e=!0):e&&!_&&t>.9&&b.showControls()}),p("zoomGestureEnded",function(){e=!1})},K=[{name:"caption",option:"captionEl",onInit:function(e){i=e}},{name:"share-modal",option:"shareEl",onInit:function(e){s=e},onTap:function(){D()}},{name:"button--share",option:"shareEl",onInit:function(e){l=e},onTap:function(){D()}},{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){d=e}}],B=function(){var e,n,i,a=function(o){if(o)for(var a=o.length,r=0;r<a;r++){n=(e=o[r]).className;for(var l=0;l<K.length;l++)i=K[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,E,!0),v=e.options,o=t.getChildByClass(e.scrollWrap,"pswp__ui"),p=e.listen,j(),p("beforeChange",b.update),p("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)}),p("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)}),p("bindEvents",function(){t.bind(o,"pswpTap click",I),t.bind(e.scrollWrap,"pswpTap",b.onGlobalTap),e.likelyTouchDevice||t.bind(e.scrollWrap,"mouseover",b.onMouseOver)}),p("unbindEvents",function(){C||D(),y&&clearInterval(y),t.unbind(document,"mouseout",R),t.unbind(document,"mousemove",P),t.unbind(o,"pswpTap click",I),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)}),p("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"),p("initialZoomIn",function(){v.showAnimationDuration&&t.removeClass(o,"pswp__ui--hidden")}),p("initialZoomOut",function(){t.addClass(o,"pswp__ui--hidden")}),p("parseVerticalMargin",z),B(),v.shareEl&&l&&s&&(C=!0),O(),U(),N(),L()},b.setIdle=function(e){c=e,T(o,"ui--idle",e)},b.update=function(){_&&e.currItem?(b.updateIndexIndicator(),v.captionEl&&(v.addCaptionHTMLFn(e.currItem,i),T(i,"caption--empty",!e.currItem.title)),x=!0):x=!1,C||D(),O()},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){var o=(n=n||window.event).target||n.srcElement;if(!w){if(n.detail&&"mouse"===n.detail.pointerType){if(F(o)){e.close();return}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&&(_?b.hideControls():b.showControls()),v.tapToClose&&(t.hasClass(o,"pswp__img")||F(o))){e.close();return}}},b.onMouseOver=function(e){var t=(e=e||window.event).target||e.srcElement;T(o,"ui--over-close",F(t))},b.hideControls=function(){t.addClass(o,"pswp__ui--hidden"),_=!1}
1,b.showControls=function(){_=!0,x||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}}})?o.call(t,n,t,e):o)&&(e.exports=i)},58832:function(e,t,n){var o,i;void 0!==(i="function"==typeof(o=function(){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=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&&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().style,t="",n={};if(n.oldIE=document.all&&!document.addEventListener,n.touch="ontouchstart"in window,window.requestAnimationFrame&&(n.raf=window.requestAnimationFrame,n.caf=window.cancelAnimationFrame),n.pointerEvent=!!window.PointerEvent||navigator.msPointerEnabled,!n.pointerEvent){var o=navigator.userAgent;if(/iP(hone|od)/.test(navigator.platform)){var a=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);a&&a.length>0&&(a=parseInt(a[1],10))>=1&&a<8&&(n.isOldIOSPhone=!0)}var r=o.match(/Android\s([0-9\.]*)/),l=r?r[1]:0;(l=parseFloat(l))>=1&&(l<4.4&&(n.isOldAndroid=!0),n.androidVersion=l),n.isMobileOpera=/opera mini|o
1pera mobi/i.test(o)}for(var s,u,c=["transform","perspective","animationName"],p=["","webkit","Moz","ms","O"],d=0;d<4;d++){t=p[d];for(var f=0;f<3;f++)s=c[f],u=t+(t?s.charAt(0).toUpperCase()+s.slice(1):s),!n[s]&&u in e&&(n[s]=u);t&&!n.raf&&(t=t.toLowerCase(),n.raf=window[t+"RequestAnimationFrame"],n.raf&&(n.caf=window[t+"CancelAnimationFrame"]||window[t+"CancelRequestAnimationFrame"]))}if(!n.raf){var m=0;n.raf=function(e){var t=new Date().getTime(),n=Math.max(0,16-(t-m)),o=window.setTimeout(function(){e(t+n)},n);return m=t+n,o},n.caf=function(e){clearTimeout(e)}}return n.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,i.features=n,n}};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,p,d,f,m,h,v,w,y,g,b,x,_,C,E,I,T,O,S,D,M,k,F,A,P,R,N,L,Z,z,U,j,K,B,W,H,Y,G,q,V,X,$,J,Q,ee,et,en,eo,ei,ea,er,el,es,eu=function(){return{x:0,y:0}},ec=eu(),ep=eu(),ed=eu(),ef={},em=0,eh={},ev=eu(),ew=0,ey=!0,eg=[],eb={},ex=!1,e_=function(e,t){i.extend(a,t.publicMethods),eg.push(e)},eC=function(e){var t=tR();return e>t-1?e-t:e<0?t+e:e},eE={},eI=function(e,t){return eE[e]||(eE[e]=[]),eE[e].push(t)},eT=function(e){var t=eE[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)}},eO=function(){return new Date().getTime()},eS=function(e){er=e,a.bg.style.opacity=e*r.bgOpacity},eD=function(e,t,n,o,i){(!ex||i&&i!==a.currItem)&&(o/=i?i.fitRatio:a.currItem.fitRatio),e[S]=y+t+"px, "+n+"px"+g+" scale("+o+")"},eM=function(e){et&&(e&&(v>a.currItem.fitRatio?ex||(tY(a.currItem,!1,!0),ex=!0):ex&&(tY(a.currItem),ex=!1)),eD(et,ed.x,ed.y,v))},ek=function(e){e.container&&eD(e.container.style,e.initialPosition.x,e.initialPosition.y,e.initialZoomLevel,e)},eF=function(e,t){t[S]=y+e+"px, 0px"+g},eA=function(e,t){if(!r.loop&&t){var n=c+(ev.x*em-e)/ev.x,o=Math.round(e-to.x);(n<0&&o>0||n>=tR()-1&&o<0)&&(e=to.x+o*r.mainScrollEndFriction)}to.x=e,eF(e,p)},eP=function(e,t){var n=ti[e]-eh[e];return ep[e]+ec[e]+n-n*(t/w)},eR=function(e,t){e.x=t.x,e.y=t.y,t.id&&(e.id=t.id)},eN=function(e){e.x=Math.round(e.x),e.y=Math.round(e.y)},eL=null,eZ=function(){eL&&(i.unbind(document,"mousemove",eZ),i.addClass(e,"pswp--has_mouse"),r.mouseUsed=!0,eT("mouseUsed")),eL=setTimeout(function(){eL=null},100)},ez=function(){i.bind(document,"keydown",a),L.transform&&i.bind(a.scrollWrap,"click",a),r.mouseUsed||i.bind(document,"mousemove",eZ),i.bind(window,"resize scroll orientationchange",a),eT("bindEvents")},eU=function(){i.unbind(window,"resize scroll orientationchange",a),i.unbind(window,"scroll",h.scroll),i.unbind(document,"keydown",a),i.unbind(document,"mousemove",eZ),L.transform&&i.unbind(a.scrollWrap,"click",a),H&&i.unbind(window,f,a),clearTimeout(Z),eT("unbindEvents")},ej=function(e,t){var n=tK(a.currItem,ef,e);return t&&(ee=n),n},eK=function(e){return e||(e=a.currItem),e.initialZoomLevel},eB=function(e){return e||(e=a.currItem),e.w>0?r.maxSpreadZoom:1},eW=function(e,t,n,o){return o===a.currItem.initialZoomLevel?(n[e]=a.currItem.initialPosition[e],!0):(n[e]=eP(e,o),n[e]>t.min[e])?(n[e]=t.min[e],!0):n[e]<t.max[e]&&(n[e]=t.max[e],!0)},eH=function(){if(S){y="translate"+(L.perspective&&!M?"3d(":"("),g=L.perspective?", 0px)":")";return}S="left",i.addClass(e,"pswp--ie"),eF=function(e,t){t.left=e+"px"},ek=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"}
1,eM=function(){if(et){var e=et,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=ed.x+"px",e.top=ed.y+"px"}}},eY=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]())},eG=function(e){e&&(q||G||en||B)&&(e.preventDefault(),e.stopPropagation())},eq=function(){a.setScrollOffset(0,i.getScrollY())},eV={},eX=0,e$=function(e){eV[e]&&(eV[e].raf&&F(eV[e].raf),eX--,delete eV[e])},eJ=function(e){eV[e]&&e$(e),eV[e]||(eX++,eV[e]={})},eQ=function(){for(var e in eV)eV.hasOwnProperty(e)&&e$(e)},e0=function(e,t,n,o,i,a,r){var l,s=eO();eJ(e);var u=function(){if(eV[e]){if((l=eO()-s)>=o){e$(e),a(n),r&&r();return}a((n-t)*i(l/o)+t),eV[e].raf=k(u)}};u()},e1={},e3={},e2={},e5={},e4={},e6=[],e7={},e9=[],e8={},te=0,tt=eu(),tn=0,to=eu(),ti=eu(),ta=eu(),tr=function(e,t){return e8.x=Math.abs(e.x-t.x),e8.y=Math.abs(e.y-t.y),Math.sqrt(e8.x*e8.x+e8.y*e8.y)},tl=function(){V&&(F(V),V=null)},ts=function(){H&&(V=k(ts),tC())},tu=function(e,t){return!(!e||e===document||e.getAttribute("class")&&e.getAttribute("class").indexOf("pswp__scroll-wrap")>-1)&&(t(e)?e:tu(e.parentNode,t))},tc={},tp=function(e,t){return tc.prevent=!tu(e.target,r.isClickableElement),eT("preventDragEvent",e,t,tc),tc.prevent},td=function(e,t){return t.x=e.pageX,t.y=e.pageY,t.id=e.identifier,t},tf=function(e,t,n){n.x=(e.x+t.x)*.5,n.y=(e.y+t.y)*.5},tm=function(e,t,n){if(e-U>50){var o=e9.length>2?e9.shift():{};o.x=t,o.y=n,e9.push(o),U=e}},th=function(){return 1-Math.abs((ed.y-a.currItem.initialPosition.y)/(ef.y/2))},tv={},tw={},ty=[],tg=function(e){for(;ty.length>0;)ty.pop();return D?(es=0,e6.forEach(function(e){0===es?ty[0]=e:1===es&&(ty[1]=e),es++})):e.type.indexOf("touch")>-1?e.touches&&e.touches.length>0&&(ty[0]=td(e.touches[0],tv),e.touches.length>1&&(ty[1]=td(e.touches[1],tw))):(tv.x=e.pageX,tv.y=e.pageY,tv.id="",ty[0]=tv),ty},tb=function(e,t){var n,o,i,l,s=ed[e]+t[e],u=t[e]>0,c=to.x+t.x,p=to.x-e7.x;if(n=s>ee.min[e]||s<ee.max[e]?r.panEndFriction:1,s=ed[e]+t[e]*n,(r.allowPanToNext||v===a.currItem.initialZoomLevel)&&(et?"h"===eo&&"x"===e&&!G&&(u?(s>ee.min[e]&&(n=r.panEndFriction,ee.min[e],o=ee.min[e]-ep[e]),(o<=0||p<0)&&tR()>1?(l=c,p<0&&c>e7.x&&(l=e7.x)):ee.min.x!==ee.max.x&&(i=s)):(s<ee.max[e]&&(n=r.panEndFriction,ee.max[e],o=ep[e]-ee.max[e]),(o<=0||p>0)&&tR()>1?(l=c,p>0&&c<e7.x&&(l=e7.x)):ee.min.x!==ee.max.x&&(i=s))):l=c,"x"===e))return void 0!==l&&(eA(l,!0),X=l!==e7.x),ee.min.x===ee.max.x||(void 0!==i?ed.x=i:X||(ed.x+=t.x*n)),void 0!==l;en||X||!(v>a.currItem.fitRatio)||(ed[e]+=t[e]*n)},tx=function(e){if("mousedown"!==e.type||!(e.button>0)){if(tA){e.preventDefault();return}if(!W||"mousedown"!==e.type){if(tp(e,!0)&&e.preventDefault(),eT("pointerDown"),D){var t=i.arraySearch(e6,e.pointerId,"id");t<0&&(t=e6.length),e6[t]={x:e.pageX,y:e.pageY,id:e.pointerId}}var n=tg(e),o=n.length;$=null,eQ(),H&&1!==o||(H=ei=!0,i.bind(window,f,a),K=el=ea=B=X=q=Y=G=!1,eo=null,eT("firstTouchStart",n),eR(ep,ed),ec.x=ec.y=0,eR(e5,n[0]),eR(e4,e5),e7.x=ev.x*em,e9=[{x:e5.x,y:e5.y}],U=z=eO(),ej(v,!0),tl(),ts()),J||!(o>1)||en||X||(w=v,G=!1,J=Y=!0,ec.y=ec.x=0,eR(ep,ed),eR(e1,n[0]),eR(e3,n[1]),tf(e1,e3,ta),ti.x=Math.abs(ta.x)-ed.x,ti.y=Math.abs(ta.y)-ed.y,Q=tr(e1,e3))}}},t_=function(e){if(e.preventDefault(),D){var t=i.arraySearch(e6,e.pointerId,"id");if(t>-1){var n=e6[t];n.x=e.pageX,n.y=e.pageY}}if(H){var o=tg(e);if(eo||q||J)$=o;else if(to.x!==ev.x*em)eo="h";else{var a=Math.abs(o[0].x-e5.x)-Math.abs(o[0].y-e5.y);Math.abs(a)>=10&&(eo=a>0?"h":"v",$=o)}}},tC=function(){if($){var e=$.length;if(0!==e){if(eR(e1,$[0]),e2.x=e1.x-e5.x,e2.y=e1.y-e5.y,J&&e>1){if(e5.x=e1.x,e5.y=e1.y,!e2.x&&!e2.y&&(t=$[1]).x===e3.x&&t.y===e3.y)return;eR(e3,$[1]),G||(G=!0,eT("zoomGestureStarted"));var t,n=tS(tr(e1,e3));n>a.currItem.initialZoomLevel+a.currItem.initialZoomLevel/15&&(el=!0);var o=1,i=eK(),l=eB();if(n<i){if(r.pinchToClose&&!el&&w<=a.currItem.initialZoomLevel){var s=1-(i-n)/(i/1.2);eS(s),eT("onPinchClose",s),ea=!0}else(o=(i-n)/i)>1&&(o=1),n=i-o*(i/3)}else n>l&&((o=(n-l)/(6*i))>1&&(o=1),n=l+o*i);o<0&&(o=0),tf(e1,e3,tt),ec.x+=tt.x-ta.x,ec.y+=tt.y-ta.y,eR(ta,tt),ed.x=eP("x",n),ed.y=eP("y",n),K=n>v,v=n,eM()}else{if(!eo||(ei&&(ei=!1,Math.abs(e2.x)>=10&&(e2.x-=$[0].x-e4.x),Math.abs(e2.y)>=10&&(e2.y-=$[0].y-e4.y)),e5.x=e1.x,e5.y=e1.y,0===e2.x&&0===e2.y))return;if("v"===eo&&r.closeOnVerticalDrag&&"fit"===r.scaleMode&&v===a.currItem.initialZoomLevel){ec.y+=e2.y,ed.y+=e2.y;var u=th();B=!0,eT("onVerticalDrag",u),eS(u),eM();return}tm(eO(),e1.x,e1.y),q=!0,ee=a.currItem.bounds,tb("x",e2)||(tb("y",e2),eN(ed),eM())}}}},tE=function(e){if(L.isOldAndroid){if(W&&"mouseup"===e.type)return;e.type.indexOf("touch")>-1&&(clearTimeout(W),W=setTimeout(function(){W=0},600))}if(eT("pointerUp"),tp(e,!1)&&e.preventDefault(),D){var t=i.arraySearch(e6,e.pointerId,"id");t>-1&&(n=e6.splice(t,1)[0],navigator.msPointerEnabled?(n.type=({4:"mouse",2:"touch",3:"pen"})[e.pointerType],n.type||(n.type=e.pointerType||"mouse")):n.type=e.pointerType||"mouse")}var n,o,l=tg(e),s=l.length;if("mouseup"===e.type&&(s=0),2===s)return $=null,!0;1===s&&eR(e4,l[0]),0!==s||eo||en||(!n&&("mouseup"===e.type?n={x:e.pageX,y:e.pageY,type:"mouse"}:e.changedTouches&&e.changedTouches[0]&&(n={x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY,type:"touch"})),eT("touchRelease",e,n));var u=-1;if(0===s&&(H=!1,i.unbind(window,f,a),tl(),J?u=0:-1!==tn&&(u=eO()-tn)),tn=1===s?eO():-1,o=-1!==u&&u<150?"zoom":"swipe",J&&s<2&&(J=!1,
11===s&&(o="zoomPointerUp"),eT("zoomGestureEnded")),$=null,q||G||en||B){if(eQ(),j||(j=tI()),j.calculateSwipeSpeed("x"),B){if(th()<r.verticalDragRange)a.close();else{var c=ed.y,p=er;e0("verticalDrag",0,1,300,i.easing.cubic.out,function(e){ed.y=(a.currItem.initialPosition.y-c)*e+c,eS((1-p)*e+p),eM()}),eT("onVerticalDrag",1)}return}if((X||en)&&0===s){if(tO(o,j))return;o="zoomPointerUp"}if(!en){if("swipe"!==o){tD();return}!X&&v>a.currItem.fitRatio&&tT(j)}}},tI=function(){var e,t,n={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(o){e9.length>1?(e=eO()-U+50,t=e9[e9.length-2][o]):(e=eO()-z,t=e4[o]),n.lastFlickOffset[o]=e5[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,.1>Math.abs(n.lastFlickSpeed[o])&&(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]&&(ed[e]>ee.min[e]?n.backAnimDestination[e]=ee.min[e]:ed[e]<ee.max[e]&&(n.backAnimDestination[e]=ee.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,e0("bounceZoomPan"+e,ed[e],n.backAnimDestination[e],t||300,i.easing.sine.out,function(t){ed[e]=t,eM()}))))},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,ed[e]+=n.distanceOffset[e])},panAnimLoop:function(){if(eV.zoomPan&&(eV.zoomPan.raf=k(n.panAnimLoop),n.now=eO(),n.timeDiff=n.now-n.lastNow,n.lastNow=n.now,n.calculateAnimOffset("x"),n.calculateAnimOffset("y"),eM(),n.calculateOverBoundsAnimOffset("x"),n.calculateOverBoundsAnimOffset("y"),n.speedDecelerationRatioAbs.x<.05&&n.speedDecelerationRatioAbs.y<.05)){ed.x=Math.round(ed.x),ed.y=Math.round(ed.y),eM(),e$("zoomPan");return}}};return n},tT=function(e){if(e.calculateSwipeSpeed("y"),ee=a.currItem.bounds,e.backAnimDestination={},e.backAnimStarted={},.05>=Math.abs(e.lastFlickSpeed.x)&&.05>=Math.abs(e.lastFlickSpeed.y))return e.speedDecelerationRatioAbs.x=e.speedDecelerationRatioAbs.y=0,e.calculateOverBoundsAnimOffset("x"),e.calculateOverBoundsAnimOffset("y"),!0;eJ("zoomPan"),e.lastNow=eO(),e.panAnimLoop()},tO=function(e,t){if(en||(te=c),"swipe"===e){var n,o,l,s,u=e5.x-e4.x,p=t.lastFlickDist.x<10;u>30&&(p||t.lastFlickOffset.x>20)?o=-1:u<-30&&(p||t.lastFlickOffset.x<-20)&&(o=1)}o&&((c+=o)<0?(c=r.loop?tR()-1:0,l=!0):c>=tR()&&(c=r.loop?0:tR()-1,l=!0),(!l||r.loop)&&(ew+=o,em-=o,n=!0));var d=ev.x*em,f=Math.abs(d-to.x);return s=n||d>to.x==t.lastFlickSpeed.x>0?Math.max(s=Math.min(s=Math.abs(t.lastFlickSpeed.x)>0?f/Math.abs(t.lastFlickSpeed.x):333,400),250):333,te===c&&(n=!1),en=!0,eT("mainScrollAnimStart"),e0("mainScroll",to.x,d,s,i.easing.cubic.out,eA,function(){eQ(),en=!1,te=-1,(n||te!==c)&&a.updateCurrItem(),eT("mainScrollAnimComplete")}),n&&a.updateCurrItem(!0),n},tS=function(e){return 1/Q*e*w},tD=function(){var e=v,t=eK(),n=eB();v<t?e=t:v>n&&(e=n);var o,r=er;return ea&&!K&&!el&&v<t?a.close():(ea&&(o=function(e){eS((1-r)*e+r)}),a.zoomTo(e,0,200,i.easing.cubic.out,o)),!0};e_("Gestures",{publicMethods:{initGestures:function(){var e=function(e,t,n,o,i){E=e+t,I=e+n,T=e+o,O=i?e+i:""};(D=L.pointerEvent)&&L.touch&&(L.touch=!1),D?navigator.msPointerEnabled?e("MSPointer","Down","Move","Up","Cancel"):e("pointer","down","move","up","cancel"):L.touch?(e("touch","start","move","end","cancel"),M=!0):e("mouse","down","move","up"),f=I+" "+T+" "+O,m=E,D&&!M&&(M=navigator.maxTouchPoints>1||navigator.msMaxTouchPoints>1),a.likelyTouchDevice=M,h[E]=tx,h[I]=t_,h[T]=tE,O&&(h[O]=h[T]),L.touch&&(m+=" mousedown",f+=" mousemove mouseup",h.mousedown=h[E],h.mousemove=h[I],h.mouseup=h[T]),M||(r.allowPanToNext=!1)}}});var tM,tk,tF,tA,tP,tR,tN=function(t,n,o,l){tM&&clearTimeout(tM),tA=!0,tF=!0,t.initialLayout?(d=t.
1initialLayout,t.initialLayout=null):d=r.getThumbBoundsFn&&r.getThumbBoundsFn(c);var s,p,d,f=o?r.hideAnimationDuration:r.showAnimationDuration,m=function(){e$("initialZoom"),o?(a.template.removeAttribute("style"),a.bg.removeAttribute("style")):(eS(1),n&&(n.style.display="block"),i.addClass(e,"pswp--animated-in"),eT("initialZoom"+(o?"OutEnd":"InEnd"))),l&&l(),tA=!1};if(!f||!d||void 0===d.x){eT("initialZoom"+(o?"Out":"In")),v=t.initialZoomLevel,eR(ed,t.initialPosition),eM(),e.style.opacity=o?0:1,eS(1),f?setTimeout(function(){m()},f):m();return}s=u,p=!a.currItem.src||a.currItem.loadError||r.showHideOpacity,t.miniImg&&(t.miniImg.style.webkitBackfaceVisibility="hidden"),o||(v=d.w/t.w,ed.x=d.x,ed.y=d.y-P,a[p?"template":"bg"].style.opacity=.001,eM()),eJ("initialZoom"),o&&!s&&i.removeClass(e,"pswp--animated-in"),p&&(o?i[(s?"remove":"add")+"Class"](e,"pswp--animate_opacity"):setTimeout(function(){i.addClass(e,"pswp--animate_opacity")},30)),tM=setTimeout(function(){if(eT("initialZoom"+(o?"Out":"In")),o){var n=d.w/t.w,a={x:ed.x,y:ed.y},r=v,l=er,u=function(t){1===t?(v=n,ed.x=d.x,ed.y=d.y-N):(v=(n-r)*t+r,ed.x=(d.x-a.x)*t+a.x,ed.y=(d.y-N-a.y)*t+a.y),eM(),p?e.style.opacity=1-t:eS(l-t*l)};s?e0("initialZoom",0,1,f,i.easing.cubic.out,u,m):(u(1),tM=setTimeout(m,f+20))}else v=t.initialZoomLevel,eR(ed,t.initialPosition),eM(),eS(1),p?e.style.opacity=1:eS(1),tM=setTimeout(m,f+20)},o?25:90)},tL={},tZ=[],tz={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 tk.length}},tU=function(){return{center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}}},tj=function(e,t,n){var o=e.bounds;o.center.x=Math.round((tL.x-t)/2),o.center.y=Math.round((tL.y-n)/2)+e.vGap.top,o.max.x=t>tL.x?Math.round(tL.x-t):o.center.x,o.max.y=n>tL.y?Math.round(tL.y-n)+e.vGap.top:o.center.y,o.min.x=t>tL.x?0:o.center.x,o.min.y=n>tL.y?e.vGap.top:o.center.y},tK=function(e,t,n){if(!e.src||e.loadError)return e.w=e.h=0,e.initialZoomLevel=e.fitRatio=1,e.bounds=tU(),e.initialPosition=e.bounds.center,e.bounds;var o=!n;if(o&&(e.vGap||(e.vGap={top:0,bottom:0}),eT("parseVerticalMargin",e)),tL.x=t.x,tL.y=t.y-e.vGap.top-e.vGap.bottom,o){var i=tL.x/e.w,a=tL.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=tU())}if(n)return tj(e,e.w*n,e.h*n),o&&n===e.initialZoomLevel&&(e.initialPosition=e.bounds.center),e.bounds},tB=function(e,t,n,o,i,r){!t.loadError&&o&&(t.imageAppended=!0,tY(t,o,t===a.currItem&&ex),n.appendChild(o),r&&setTimeout(function(){t&&t.loaded&&t.placeholder&&(t.placeholder.style.display="none",t.placeholder=null)},500))},tW=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},tH=function(e,t){if(e.src&&e.loadError&&e.container)return t&&(e.container.innerHTML=""),e.container.innerHTML=r.errorMsg.replace("%url%",e.
1src),!0},tY=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"}},tG=function(){if(tZ.length){for(var e,t=0;t<tZ.length;t++)(e=tZ[t]).holder.index===e.index&&tB(e.index,e.item,e.baseDiv,e.img,!1,e.clearPlaceholder);tZ=[]}};e_("Controller",{publicMethods:{lazyLoadItem:function(e){e=eC(e);var t=tP(e);t&&(!t.loaded&&!t.loading||x)&&(eT("gettingData",e,t),t.src&&tW(t))},initController:function(){i.extend(r,tz,!0),a.items=tk=n,tP=a.getItemAt,tR=r.getNumItemsFn,r.loop,3>tR()&&(r.loop=!1),eI("beforeChange",function(e){var t,n=r.preload,o=null===e||e>=0,i=Math.min(n[0],tR()),l=Math.min(n[1],tR());for(t=1;t<=(o?l:i);t++)a.lazyLoadItem(c+t);for(t=1;t<=(o?i:l);t++)a.lazyLoadItem(c-t)}),eI("initialLayout",function(){a.currItem.initialLayout=r.getThumbBoundsFn&&r.getThumbBoundsFn(c)}),eI("mainScrollAnimComplete",tG),eI("initialZoomInEnd",tG),eI("destroy",function(){for(var e,t=0;t<tk.length;t++)(e=tk[t]).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);tZ=null})},getItemAt:function(e){return e>=0&&void 0!==tk[e]&&tk[e]},allowProgressiveImg:function(){return r.forceProgressiveLoading||!M||r.mouseUsed||screen.width>1200},setContent:function(e,t){r.loop&&(t=eC(t));var n=a.getItemAt(e.index);n&&(n.container=null);var o,s=a.getItemAt(t);if(!s){e.el.innerHTML="";return}eT("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),tH(s),tK(s,ef),!s.src||s.loadError||s.loaded)s.src&&!s.loadError&&((o=i.createEl("pswp__img","img")).style.opacity=1,o.src=s.src,tY(s,o),tB(t,s,u,o,!0));else{if(s.loadComplete=function(n){if(l){if(e&&e.index===t){if(tH(n,!0)){n.loadComplete=n.img=null,tK(n,ef),ek(n),e.index===c&&a.updateCurrZoomItem();return}n.imageAppended?!tA&&n.placeholder&&(n.placeholder.style.display="none",n.placeholder=null):L.transform&&(en||tA)?tZ.push({item:n,baseDiv:u,img:n.img,index:t,holder:e,clearPlaceholder:!0}):tB(t,n,u,n.img,en||tA,!0)}n.loadComplete=null,n.img=null,eT("imageLoadComplete",t,n)}},i.features.transform){var p="pswp__img pswp__img--placeholder";p+=s.msrc?"":" pswp__img--placeholder--blank";var d=i.createEl(p,s.msrc?"img":"");s.msrc&&(d.src=s.msrc),tY(s,d),u.appendChild(d),s.placeholder=d}s.loading||tW(s),a.allowProgressiveImg()&&(!tF&&L.transform?tZ.push({item:s,baseDiv:u,img:s.img,index:t,holder:e}):tB(t,s,u,s.img,!0,!0))}tF||t!==c?ek(s):(et=u.style,tN(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 tq,tV={},tX=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)};e_("Tap",{publicMethods:{initTap:function(){eI("firstTouchStart",a.onTapStart),eI("touchRelease",a.onTapRelease),eI("destroy",function(){tV={},tq=null})},onTapStart:function(e){e.length>1&&(clearTimeout(tq),tq=null)},onTapRelease:function(e,t){if(t&&!q&&!Y&&!eX){if(tq){var n;if(clearTimeout(tq),tq=null,n=tV,25>Math.abs(t.x-n.x)&&25>Math.abs(t.y-n.y)){eT("doubleTap",t);return}}if("mouse"===t.type){tX(e,t,"mouse");return}if("BUTTON"===e.target.tagName.toUpperCase()||i.hasClass(e.target,"pswp__single-tap")){tX(e,t);return}eR(tV,t),tq=setTimeout(function(){tX(e,t),tq=null},300)}}}}),e_("DesktopZoom",{publicMethods:{initDesktopZoom:function(){R||(M?eI("mouseUsed",function(){a.setupDesktopZoom()}):a.setupDesktopZoom(!0))},setupDesktopZoom:function(t){t$={};var n="wheel mousewheel DOMMouseScroll";eI("bindEvents",function(){i.bind(e,n,a.handleMouseWheel)}),eI("unbindEvents",function(){t$&&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)};eI("resize",r),eI("afterChange",r),eI("pointerDown",function(){a.mouseZoomedIn&&(o=!0,i.addClass(e,"pswp--dragging"))}),eI("pointerUp",l),t||r()},handleMouseWheel:function(e){if(v<=a.currItem.fitRatio)return r.modal&&(!r.closeOnScroll||eX||H?e.preventDefault():S&&Math.abs(e.deltaY)>2&&(u=!0,a.close())),!0;if(e.stopPropagation(),t$.x=0,"deltaX"in e)1===e.deltaMode?(t$.x=18*e.deltaX,t$.y=18*e.deltaY):(t$.x=e.deltaX,t$.y=e.deltaY);else if("wheelDelta"in e)e.wheelDeltaX&&(t$.x=-.16*e.wheelDeltaX),e.wheelDeltaY?t$.y=-.16*e.wheelDeltaY:t$.y=-.16*e.wheelDelta;else{if(!("detail"in e))return;t$.y=e.detail}ej(v,!0);var t=ed.x-t$.x,n=ed.y-t$.y;(r.modal||t<=ee.min.x&&t>=ee.max.x&&n<=ee.min.y&&n>=ee.max.y)&&e.preventDefault(),a.panTo(t,n)},toggleDesktopZoom:function(t){t=t||{x:ef.x/2+eh.x,y:ef.y/2+eh.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 t$,tJ,tQ,t0,t1,t3,t2,t5,t4,t6,t7,t9,t8,ne={history:!0,galleryUID:1},nt=function(){return t9.hash.substring(1)},nn=function(){tJ&&clearTimeout(tJ),t0&&clearTimeout(t0)},no=function(){var e=nt(),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(n=0,t.pid=0;n<tk.length;n++)if(tk[n].pid===a){t.pid=n;break}}else t.pid=parseInt(t.pid,10)-1;return t.pid<0&&(t.pid=0),t},ni=function(){if(t0&&clearTimeout(t0),eX||H){t0=setTimeout(ni,500);return}t1?clearTimeout(tQ):t1=!0;var e=c+1,t=tP(c);t.hasOwnProperty("pid")&&(e=t.pid);var n=t5+"&gid="+r.galleryUID+"&pid="+e;t4||-1!==t9.hash.indexOf(n)||(t7=!0);var o=t9.href.split("#")[0]+"#"+n;t8?"#"+n!==window.location.hash&&history[t4?"replaceState":"pushState"]("",document.title,o):t4?t9.replace(o):t9.hash=n,t4=!0,tQ=setTimeout(function(){t1=!1},60)};e_("History",{publicMethods:{initHistory:function(){if(i.extend(r,ne,!0),r.history){t9=window.location,t7=!1,t6=!1,t4=!1,t5=nt(),t8="pushState"in history,t5.indexOf("gid=")>-1&&(t5=(t5=t5.split("&gid=")[0]).split("?gid=")[0]),eI("afterChange",a.updateURL),eI("unbindEvents",function(){i.unbind(window,"hashchange",a.onHashChange)});var e=function(){t2=!0,t6||(t7?history.back():t5?t9.hash=t5:t8?history.pushState("",document.title,t9.pathname+t9.search):t9.hash=""),nn()};eI("unbindEvents",function(){u&&e()}),eI("destroy",function(){t2||e()}),eI("firstUpdate",function(){c=no().pid});var t=t5.indexOf("pid=");t>-1&&"&"===(t5=t5.substring(0,t)).slice(-1)&&(t5=t5.slice(0,-1)),setTimeout(function(){l&&i.bind(window,"hashchange",a.onHashChange)},40)}},onHashChange:function(){if(nt()===t5){t6=!0,a.close();return}t1||(t3=!0,a.goTo(no().pid),t3=!1)},updateURL:function(){nn(),t3||(t4?tJ=setTimeout(ni,800):ni())}}}),i.extend(a,{shout:eT,listen:eI,viewportSize:ef,options:r,isMainScrollAnimating:function(){return en},getZoomLevel:function(){return v},getCurrentIndex:function(){return c},isDragging:function(){return H},isZooming:function(){return J},setScrollOffset:function(e,t){eh.x=e,N=eh.y=t,eT("updateScrollOffset",eh)},applyZoomPan:function(e,t,n,o){ed.x=t,ed.y=n,v=e,eM(o)},init:function(){if(!l&&!s){a.framework=i,a.template=e,a.bg=i.getChildByClass(e,"pswp__bg"),A=e.className,l=!0,k=(L=i.detectFeatures()).raf,F=L.caf,S=L.transform,R=L.oldIE,a.scrollWrap=i.getChildByClass(e,"pswp__scroll-wrap"),a.container=i.getChildByClass(a.scrollWrap,"pswp__container"),p=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",eH(),h={resize:a.updateSize,orientationchange:function(){clearTimeout(Z),Z=setTimeout(function(){ef.x!==a.scrollWrap.clientWidth&&a.updateSize()},500)},scroll:eq,keydown:eY,click:eG};var n,o=L.isOldIOSPhone||L.isOldAndroid||L.isMobileOpera;for(L.animationName&&L.transform&&!o||(r.showAnimationDuration=r.hideAnimationDuration=0),n=0;n<eg.length;n++)a["init"+eg[n]]();t&&(a.ui=new t(a,i)).init(),eT("firstUpdate"),(isNaN(c=c||r.index||0)||c<0||c>=tR())&&(c=0),a.currItem=tP(c),(L.isOldIOSPhone||L.isOldAndroid)&&(ey=!1),e.setAttribute("aria-hidden","false"),r.modal&&(ey?e.style.position="fixed":(e.style.position="absolute",e.style.top=i.getScrollY()+"px")),void 0===N&&(eT("initialLayout"),N=P=i.getScrollY());var u="pswp--open ";for(r.mainClass&&(u+=r.mainClass+" "),r.showHideOpacity&&(u+="pswp--animate_opacity "),u+=(M?"pswp--touch":"pswp--notouch")+(L.animationName?" pswp--css_animation":"")+(L.svg?" pswp--svg":""),i.addClass(e,u),a.updateSize(),d=-1,ew=null,n=0;n<3;n++)eF((n+d)*ev.x,_[n].el.style);R||i.bind(a.scrollWrap,m,a),eI("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(),ez()}),a.setContent(_[1],c),a.updateCurrItem(),eT("afterInit"),ey||(b=setInterval(function(){eX||H||J||v!==a.currItem.initialZoomLevel||a.updateSize()},1e3)),i.addClass(e,"pswp--visible")}}
1,close:function(){l&&(l=!1,s=!0,eT("close"),eU(),tN(a.currItem,null,!0,a.destroy))},destroy:function(){eT("destroy"),tM&&clearTimeout(tM),e.setAttribute("aria-hidden","true"),e.className=A,b&&clearInterval(b),i.unbind(a.scrollWrap,m,a),i.unbind(window,"scroll",a),tl(),eQ(),eE=null},panTo:function(e,t,n){!n&&(e>ee.min.x?e=ee.min.x:e<ee.max.x&&(e=ee.max.x),t>ee.min.y?t=ee.min.y:t<ee.max.y&&(t=ee.max.y)),ed.x=e,ed.y=t,eM()},handleEvent:function(e){h[(e=e||window.event).type]&&h[e.type](e)},goTo:function(e){var t=(e=eC(e))-c;ew=t,c=e,a.currItem=tP(c),em-=t,eA(ev.x*em),eQ(),en=!1,a.updateCurrItem()},next:function(){a.goTo(c+1)},prev:function(){a.goTo(c-1)},updateCurrZoomItem:function(e){if(e&&eT("beforeChange",0),_[1].el.children.length){var t=_[1].el.children[0];et=i.hasClass(t,"pswp__zoom-wrap")?t.style:null}else et=null;ee=a.currItem.bounds,w=v=a.currItem.initialZoomLevel,ed.x=ee.center.x,ed.y=ee.center.y,e&&eT("afterChange")},invalidateCurrItems:function(){x=!0;for(var e=0;e<3;e++)_[e].item&&(_[e].item.needsUpdate=!0)},updateCurrItem:function(e){if(0!==ew){var t,n=Math.abs(ew);if(!e||!(n<2)){a.currItem=tP(c),ex=!1,eT("beforeChange",ew),n>=3&&(d+=ew+(ew>0?-3:3),n=3);for(var o=0;o<n;o++)ew>0?(t=_.shift(),_[2]=t,d++,eF((d+2)*ev.x,t.el.style),a.setContent(t,c-n+o+1+1)):(t=_.pop(),_.unshift(t),d--,eF(d*ev.x,t.el.style),a.setContent(t,c+n-o-1-1));if(et&&1===Math.abs(ew)){var i=tP(C);i.initialZoomLevel!==v&&(tK(i,ef),tY(i),ek(i))}ew=0,a.updateCurrZoomItem(),C=c,eT("afterChange")}}},updateSize:function(t){if(!ey&&r.modal){var n,o,l,s=i.getScrollY();if(N!==s&&(e.style.top=s+"px",N=s),!t&&eb.x===window.innerWidth&&eb.y===window.innerHeight)return;eb.x=window.innerWidth,eb.y=window.innerHeight,e.style.height=eb.y+"px"}if(ef.x=a.scrollWrap.clientWidth,ef.y=a.scrollWrap.clientHeight,eq(),ev.x=ef.x+Math.round(ef.x*r.spacing),ev.y=ef.y,eA(ev.x*em),eT("beforeResize"),void 0!==d){for(var u=0;u<3;u++)n=_[u],eF((u+d)*ev.x,n.el.style),l=c+u-1,r.loop&&tR()>2&&(l=eC(l)),(o=tP(l))&&(x||o.needsUpdate||!o.bounds)?(a.cleanSlide(o),a.setContent(n,l),1===u&&(a.currItem=o,a.updateCurrZoomItem(!0)),o.needsUpdate=!1):-1===n.index&&l>=0&&a.setContent(n,l),o&&o.container&&(tK(o,ef),tY(o),ek(o));x=!1}w=v=a.currItem.initialZoomLevel,(ee=a.currItem.bounds)&&(ed.x=ee.center.x,ed.y=ee.center.y,eM(!0)),eT("resize")},zoomTo:function(e,t,n,o,a){t&&(w=v,ti.x=Math.abs(t.x)-ed.x,ti.y=Math.abs(t.y)-ed.y,eR(ep,ed));var r=ej(e,!1),l={};eW("x",r,l,e),eW("y",r,l,e);var s=v,u={x:ed.x,y:ed.y};eN(l);var c=function(t){1===t?(v=e,ed.x=l.x,ed.y=l.y):(v=(e-s)*t+s,ed.x=(l.x-u.x)*t+u.x,ed.y=(l.y-u.y)*t+u.y),a&&a(t),eM(1===t)};n?e0("customZoomTo",0,1,n,o||i.easing.sine.inOut,c):c(1)}})}})?o.call(t,n,t,e):o)&&(e.exports=i)},11577:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=c(n(67294)),a=c(n(45697)),r=c(n(58832)),l=c(n(38411)),s=c(n(94184)),u=c(n(72536));function c(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}var d=function(e){function t(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t);for(var e,n,o,i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return n=o=p(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),f.call(o),p(o,n)}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"render",value:function(){var e=this,t=this.props.id,n=this.props.className;return n=(0,s.default)(["pswp",n]).trim(),i.default.createElement("div",{id:t,className:n,tabIndex:"-1",role:"dialog","aria-hidden":"true",ref:function(t){e.pswpElement=t}},i.default.createElement("div",{className:"pswp__bg"}),i.default.createElement("div",{className:"pswp__scroll-wrap"},i.default.createElement("div",{className:"pswp__container"},i.default.createElement("div",{className:"pswp__item"}),i.default.createElement("div",{className:"pswp__item"}),i.default.createElement("div",{className:"pswp__item"})),i.default.createElement("div",{className:"pswp__ui pswp__ui--hidden"},i.default.createElement("div",{className:"pswp__top-bar"},i.default.createElement("div",{className:"pswp__counter"}),i.default.createElement("button",{className:"pswp__button pswp__button--close",title:"Close (Esc)"}),i.default.createElement("button",{className:"pswp__button pswp__button--share",title:"Share"}),i.default.createElement("button",{className:"pswp__button pswp__button--fs",title:"Toggle fullscreen"}),i.default.createElement("button",{className:"pswp__button pswp__button--zoom",title:"Zoom in/out"}),i.default.createElement("div",{className:"pswp__preloader"},i.default.createElement("div",{className:"pswp__preloader__icn"},i.default.createElement("div",{className:"pswp__preloader__cut"},i.default.createElement("div",{className:"pswp__preloader__donut"}))))),i.default.createElement("div",{className:"pswp__share-modal pswp__share-modal--hidden pswp__single-tap"},i.default.createElement("div",{className:"pswp__share-tooltip"})),i.default.createElement("button",{className:"pswp__button pswp__button--arrow--left",title:"Previous (arrow left)"}),i.default.createElement("button",{className:"pswp__button pswp__button--arrow--right",title:"Next (arrow right)"}),i.default.createElement("div",{className:"pswp__caption"},i.default.createElement("div",{className:"pswp__caption__center"})))))}}]),t}(i.default.Component);d.propTypes={isOpen:a.default.bool.isRequired,items:a.default.array.isRequired,options:a.default.object,onClose:a.default.func,id:a.default.string,className:a.default.string},d.defaultProps={options:{},onClose:function(){},id:"",className:""};var f=function(){var e=this;this.state={isOpen:this.props.isOpen},this.componentDidMount=function(){e.state.isOpen&&e.openPhotoSwipe(e.props)},this.componentWillReceiveProps=function(t){var n=e.state.isOpen;t.isOpen?n?e.updateItems(t.items):e.openPhotoSwipe(t):n&&e.closePhotoSwipe()},this.componentWillUnmount=function(){e.closePhotoSwipe()},this.openPhotoSwipe=function(t){var n=t.items,o=t.options,i=e.pswpElement;e.photoSwipe=new r.default(i,l.default,n,o),u.default.forEach(function(n){var o=t[n];(o||"destroy"===n)&&e.photoSwipe.listen(n,function(){if(o){for(var t=arguments.length,i=Array(t),a=0;a<t;a++)i[a]=arguments[a];i.unshift(this),o.apply(void 0,i)}"destroy"===n&&e.handleClose()})}),e.setState({isOpen:!0},function(){e.photoSwipe.init()})},this.updateItems=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.photoSwipe.items.length=0,t.forEach(function(t){e.photoSwipe.items.push(t)}),e.photoSwipe.invalidateCurrItems(),e.photoSwipe.updateSize(!0)},this.closePhotoSwipe=function(){e.photoSwipe&&e.photoSwipe.close()},this.handleClose=function(){var t=e.props.onClose;e.setState({isOpen:!1},function(){t&&t()})}};t.default=d,e.exports=t.default},86623:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),a=p(n(67294)),r=p(n(45697)),l=p(n(94184)),s=p(n(25030)),u=p(n(11577)),c=p(n(72536));function p(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}var f=function(e){function t(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t);for(var e,n,o,i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return n=o=d(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),o.state={isOpen:o.props.isOpen,options:o.props.options},o.componentWillReceiveProps=function(e){var t=o.state.isOpen;e.isOpen?t||o.setState({isOpen:!0}):t&&o.setState({isOpen:!1})},o.showPhotoSwipe=function(e){return function(t){t.preventDefault();var n=o.state.options;n.index=e,n.getThumbBoundsFn=n.getThumbBoundsFn||function(e){var t=o.thumbnails[e].getElementsByTagName("img")[0],n=window.pageYOffset||document.documentElement.scrollTop,i=t.getBoundingClientRect();return{x:i.left,y:i.top+n,w:i.width}},o.setState({isOpen:!0,options:n})}},o.handleClose=function(){o.setState({isOpen:!1}),o.props.onClose()},d(o,n)}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.id,i=t.items,r=t.thumbnailContent,p=function(e,t){var n={};for(var o in e)!(t.indexOf(o)>=0)&&Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["id","items","thumbnailContent"]),d=this.props.className;d=(0,l.default)(["pswp-gallery",d]).trim();var f=(0,s.default)(p,c.default),m=this.state,h=m.isOpen,v=m.options;return a.default.createElement("div",{id:n,className:d},a.default.createElement("div",{className:"pswp-thumbnails"},i.map(function(t,n){return a.default.createElement("div",{key:n,ref:function(t){e.thumbnails=e.thumbnails||[],e.thumbnails[n]=t},className:"pswp-thumbnail",onClick:e.showPhotoSwipe(n)},r(t))})),a.default.createElement(u.default,o({},f,{isOpen:h,items:i,options:v,onClose:this.handleClose})))}}]),t}(a.default.Component);f.propTypes={items:r.default.array.isRequired,options:r.default.object,thumbnailContent:r.default.func,id:r.default.string,className:r.default.string,isOpen:r.default.bool,onClose:r.default.func},f.defaultProps={options:{},thumbnailContent:function(e){return a.default.createElement("img",{src:e.src,width:"100",height:"100",alt:""})},id:"",className:"",isOpen:!1,onClose:function(){}},t.default=f,e.exports=t.default},72536:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["beforeChange","afterChange","imageLoadComplete","resize","gettingData","mouseUsed","initialZoomIn","initialZoomInEnd","initialZoomOut","initialZoomOutEnd","parseVerticalMargin","close","unbindEvents","destroy","updateScrollOffset","preventDragEvent","shareLinkClick"],e.exports=t.default},95068:function(e,t,n){"use strict";t.oF=void 0;var o=a(n(11577)),i=a(n(86623));function a(e){return e&&e.__esModule?e:{default:e}}o.default,t.oF=o.default,i.default}}]);

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.