PageSourceSearch

https://www.alter-schlachthof.de/build/assets/default-skin-DutVMXfH.js

js alter-schlachthof.de collected 2026-10-07 20:59:45 UTC 41,569 bytes, 1 lines download raw bytes

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

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.