1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,85730,35258,e=>{"use strict";var t,n,l,i,o,r,a,s,u,c,d,f,g,m;let p,h=e=>"string"==typeof e,v=e=>e&&null!==e&&e instanceof Element&&"nodeType"in e,y=function(e){if(!(e&&e instanceof Element&&e.offsetParent))return!1;let t=!1,n=!1;if(e.scrollWidth>e.clientWidth){let n=window.getComputedStyle(e).overflowX,l=-1!==n.indexOf("hidden"),i=-1!==n.indexOf("clip"),o=-1!==n.indexOf("visible");t=!l&&!i&&!o}if(e.scrollHeight>e.clientHeight){let t=window.getComputedStyle(e).overflowY,l=-1!==t.indexOf("hidden"),i=-1!==t.indexOf("clip"),o=-1!==t.indexOf("visible");n=!l&&!i&&!o}return t||n},b=function(e,t){return!e||e===document.body||t&&e===t?null:y(e)?e:b(e.parentElement,t)},E=function(e){var t=(new DOMParser).parseFromString(e,"text/html").body;if(t.childElementCount>1){for(var n=document.createElement("div");t.firstChild;)n.appendChild(t.firstChild);return n}let l=t.firstChild;return!l||l instanceof HTMLElement?l:((n=document.createElement("div")).appendChild(l),n)},w=function(e=0,t=0,n=0){return Math.max(Math.min(t,n),e)},x=e=>"object"==typeof e&&null!==e&&e.constructor===Object&&"[object Object]"===Object.prototype.toString.call(e);function M(e){return x(e)||Array.isArray(e)}function L(e,t){let n=Object.keys(e),l=Object.keys(t);return n.length===l.length&&n.every(n=>{let l=e[n],i=t[n];return"function"==typeof l?`${l}`==`${i}`:M(l)&&M(i)?L(l,i):l===i})}let S=function(e){for(let n of O)n.getState()===t.Running&&n.tick(P?e-P:0);P=e,T=window.requestAnimationFrame(S)};(s=t||(t={}))[s.Initializing=0]="Initializing",s[s.Running=1]="Running",s[s.Paused=2]="Paused",s[s.Completed=3]="Completed",s[s.Destroyed=4]="Destroyed",(u=n||(n={}))[u.Spring=0]="Spring",u[u.Ease=1]="Ease",(c=l||(l={}))[c.Loop=0]="Loop",c[c.Reverse=1]="Reverse";let O=new Set,T=null,P=0;function A(){let e=t.Initializing,i=n.Ease,o=0,r=0,a=A.Easings.Linear,s=500,u=0,c=0,d=0,f=0,g=1/0,m=.01,p=.01,h=!1,v={},y=null,b={},E={},x={},M=0,P=0,R=l.Loop,C=A.Easings.Linear,j=new Map;function z(e,...t){for(let n of j.get(e)||[])n(...t)}function k(e){return r=0,e?y=setTimeout(()=>{I()},e):I(),$}function I(){e=t.Running,z("start",b,E)}function F(){if(e=t.Completed,x={},z("end",b),e===t.Completed)if(o<M){if(o++,R===l.Reverse){let e=Object.assign({},v);v=Object.assign({},E),E=e}k(P)}else o=0;return $}let $={getState:function(){return e},easing:function(e){return a=e,i=n.Ease,x={},$},duration:function(e){return s=e,$},spring:function(e={}){i=n.Spring;let{velocity:t,mass:l,tension:o,friction:r,restDelta:a,restSpeed:s,maxSpeed:v,clamp:y}=Object.assign(Object.assign({},{velocity:0,mass:1,tension:170,friction:26,restDelta:.1,restSpeed:.1,maxSpeed:1/0,clamp:!0}),e);return u=t,c=l,d=o,f=r,p=a,m=s,g=v,h=y,x={},$},isRunning:function(){return e===t.Running},isSpring:function(){return i===n.Spring},from:function(e){return b=Object.assign({},e),$},to:function(e){return E=e,$},repeat:function(e,t=0,n=l.Loop,i){return M=e,P=t,R=n,C=i||a,$},on:function(e,t){return j.set(e,[...j.get(e)||[],t]),$},off:function(e,t){return j.has(e)&&j.set(e,j.get(e).filter(e=>e!==t)),$},start:function(n){return L(b,E)||(e=t.Initializing,v=Object.assign({},b),O.add(this),T||(T=window.requestAnimationFrame(S)),k(n)),$},pause:function(){return y&&(clearTimeout(y),y=null),e===t.Running&&(e=t.Paused,z("pause",b)),$},end:F,tick:function(o){o>50&&(o=50),r+=o;let y=0,M=!1;if(e!==t.Running)return $;if(i===n.Ease){M=1===(y=w(0,r/s,1));let e=R===l.Reverse?C:a;for(let t in b)b[t]=v[t]+(E[t]-v[t])*e(y)}if(i===n.Spring){let e=.001*o,t=0;for(let n in b){let l=E[n],i=b[n];if("number"!=typeof l||isNaN(l)||"number"!=typeof i||isNaN(i))continue;if(Math.abs(l-i)<=p){b[n]=l,x[n]=0;continue}x[n]||("object"==typeof u&&"number"==typeof u[n]?x[n]=u[n]:x[n]="number"==typeof u?u:0);let o=x[n],r=(o=w(-1*Math.abs(g),o,Math.abs(g)))*c*f;o+=(Math.abs(l-i)*d*(i>l?-1:1)-r)/c*e,i+=o*e;let a=b[n]>l?i<l:i>l,s=Math.abs(o)<m&&Math.abs(l-i)<=p;h&&a&&(s=!0),s?(i=l,o=0):t++,b[n]=i,x[n]=o}M=!t}let S=Object.assign({},E);return z("step",b,v,E,y),M&&e===t.Running&&L(E,S)&&(e=t.Completed,F()),$}
1,getStartValues:function(){return v},getCurrentValues:function(){return b},getCurrentVelocities:function(){return x},getEndValues:function(){return E},destroy:function(){e=t.Destroyed,y&&(clearTimeout(y),y=null),v=b=E={},O.delete(this)}};return $}function R(e){return"u">typeof TouchEvent&&e instanceof TouchEvent}function C(e,t){let n=[];for(let l of R(e)?e[t]:e instanceof MouseEvent&&("changedTouches"===t||"mouseup"!==e.type)?[e]:[])n.push({x:l.clientX,y:l.clientY,ts:Date.now()});return n}function j(e){return C(e,"touches")}function z(e){return C(e,"targetTouches")}function k(e){return C(e,"changedTouches")}function I(e){let t=e[0],n=e[1]||t;return{x:(t.x+n.x)/2,y:(t.y+n.y)/2,ts:n.ts}}function F(e){let t=e[0],n=e[1]||e[0];return t&&n?-1*Math.sqrt((n.x-t.x)*(n.x-t.x)+(n.y-t.y)*(n.y-t.y)):0}A.destroy=()=>{for(let e of O)e.destroy();T&&(cancelAnimationFrame(T),T=null)},A.Easings={Linear:function(e){return e},EaseIn:function(e){return 0===e?0:Math.pow(2,10*e-10)},EaseOut:function(e){return 1===e?1:1-Math.pow(2,-10*e)},EaseInOut:function(e){return 0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2}};let $=e=>{e.cancelable&&e.preventDefault()},_={passive:!1},H={panThreshold:5,swipeThreshold:3,ignore:["textarea","input","select","[contenteditable]","[data-selectable]","[data-draggable]"]},D=!1,V=!0,q=(e,t)=>{let n,l,i,o=Object.assign(Object.assign({},H),t),r=[],a=[],s=[],u=!1,c=!1,d=!1,f=!1,g=0,m=0,p=0,h=0,v=0,y=0,b=0,E=0,w=0,x=[],M=0,L=0,S=new Map;function O(e){let t=F(a),o=F(s),d=Math.abs(b)>Math.abs(E)?b:E,f={srcEvent:n,isPanRecognized:u,isSwipeRecognized:c,firstTouch:r,previousTouch:s,currentTouch:a,deltaX:p,deltaY:h,offsetX:v,offsetY:y,velocityX:b,velocityY:E,velocity:d,angle:w,axis:i,scale:t&&o?t/o:0,center:l};for(let t of S.get(e)||[])t(f)}function T(e){let t=e.target,n=e.composedPath()[0],l=o.ignore.join(","),i=e=>e&&(e.matches(l)||e.closest(l));if(i(t)||i(n))return!1}function P(e){let t=Date.now();if(x=x.filter(e=>!e.ts||e.ts>t-100),e&&x.push(e),b=0,E=0,x.length>3){let e=x[0],t=x[x.length-1];if(e&&t){let n=t.x-e.x,l=t.y-e.y,i=e.ts&&t.ts?t.ts-e.ts:0;i>0&&(b=Math.abs(n)>3?n/(i/30):0,E=Math.abs(l)>3?l/(i/30):0)}}}function A(e){if(!1===T(e))return;if("u">typeof MouseEvent&&e instanceof MouseEvent){if(D)return}else D=!0;if("u">typeof MouseEvent&&e instanceof MouseEvent){if(!e.buttons||0!==e.button)return;$(e)}e instanceof MouseEvent&&(window.addEventListener("mousemove",R),window.addEventListener("mouseup",C)),window.addEventListener("blur",q),n=e,r=[...a=z(e)],s=[],m=a.length,l=I(a),1===m&&(u=!1,c=!1,d=!1),m&&P(I(a));let t=Date.now(),i=t-(g||t);f=i>0&&i<=250&&1===m,g=t,clearTimeout(M),O("start")}function R(e){var t;if(!r.length||e.defaultPrevented||!1===T(e))return;n=e,s=[...a],a=j(e);let c=I(s),f=I(j(e));if(P(f),m=a.length,l=f,s.length===a.length?(p=f.x-c.x,h=f.y-c.y):(p=0,h=0),r.length){let e=I(r);v=f.x-e.x,y=f.y-e.y}a.length>1&&Math.abs(F(a)-F(s))>=.1&&(d=!0,O("pinch")),u||(u=Math.abs(v)>o.panThreshold||Math.abs(y)>o.panThreshold)&&(V=!1,clearTimeout(L),L=0,i=(w=Math.abs(180*Math.atan2(y,v)/Math.PI))>45&&w<135?"y":"x",r=[...a],s=[...a],v=0,y=0,p=0,h=0,null==(t=window.getSelection())||t.removeAllRanges(),O("panstart")),u&&(p||h)&&O("pan"),O("move")}function C(e){if(n=e,!r.length)return;let t=z(e),i=k(e);if(m=t.length,l=I(i),i.length&&P(I(i)),s=[...a],a=[...t],r=[...t],m>0)O("end"),u=!1,c=!1,x=[];else{let e=o.swipeThreshold;(Math.abs(b)>e||Math.abs(E)>e)&&(c=!0),u&&O("panend"),c&&O("swipe"),u||c||d||(O("tap"),f?O("doubleTap"):M=setTimeout(function(){O("singleTap")},250)),O("end"),N()}}function q(){clearTimeout(M),N(),u&&O("panend"),O("end")}function N(){D=!1,u=!1,c=!1,f=!1,m=0,x=[],a=[],s=[],r=[],p=0,h=0,v=0,y=0,b=0,E=0,w=0,i=void 0,window.removeEventListener("mousemove",R),window.removeEventListener("mouseup",C),window.removeEventListener("blur",q),V||L||(L=setTimeout(()=>{V=!0,L=0},100))}function B(e){let t=e.target;D=!1,t&&!e.defaultPrevented&&(V||($(e),e.stopPropagation()))}let W={init:function(){return e&&(e.addEventListener("click",B,_),e.addEventListener("mousedown",A,_),e.addEventListener("touchstart",A,_),e.addEventListener("touchmove",R,_),e.addEventListener("touchend",C),e.addEventListener("touchcancel",C)),W},on:function(e,t){return S.set(e,[...S.get(e)||[],t]),W},off:function(e,t){return S.has(e)&&S.set(e,S.get(e).filter(e=>e!==t)),W},isPointerDown:()=>m>
10,destroy:function(){clearTimeout(M),clearTimeout(L),L=0,e&&(e.removeEventListener("click",B,_),e.removeEventListener("mousedown",A,_),e.removeEventListener("touchstart",A,_),e.removeEventListener("touchmove",R,_),e.removeEventListener("touchend",C),e.removeEventListener("touchcancel",C)),e=null,N()}};return W};q.isClickAllowed=()=>V;let N={IMAGE_ERROR:"This image couldn't be loaded. <br /> Please try again later.",MOVE_UP:"Move up",MOVE_DOWN:"Move down",MOVE_LEFT:"Move left",MOVE_RIGHT:"Move right",ZOOM_IN:"Zoom in",ZOOM_OUT:"Zoom out",TOGGLE_FULL:"Toggle zoom level",TOGGLE_1TO1:"Toggle zoom level",ITERATE_ZOOM:"Toggle zoom level",ROTATE_CCW:"Rotate counterclockwise",ROTATE_CW:"Rotate clockwise",FLIP_X:"Flip horizontally",FLIP_Y:"Flip vertically",RESET:"Reset",TOGGLE_FS:"Toggle fullscreen"},B=(e,t="")=>{e&&e.classList&&t.split(" ").forEach(t=>{t&&e.classList.add(t)})},W=(e,t="")=>{e&&e.classList&&t.split(" ").forEach(t=>{t&&e.classList.remove(t)})},Z=(e,t="",n)=>{e&&e.classList&&t.split(" ").forEach(t=>{t&&e.classList.toggle(t,n||!1)})},G=e=>{e.cancelable&&e.preventDefault()},Y=(e,t=1e4)=>Math.round(((e=parseFloat(e+"")||0)+Number.EPSILON)*t)/t;(d=i||(i={})).Reset="reset",d.Zoom="zoom",d.ZoomIn="zoomIn",d.ZoomOut="zoomOut",d.ZoomTo="zoomTo",d.ToggleCover="toggleCover",d.ToggleFull="toggleFull",d.ToggleMax="toggleMax",d.IterateZoom="iterateZoom",d.Pan="pan",d.Swipe="swipe",d.Move="move",d.MoveLeft="moveLeft",d.MoveRight="moveRight",d.MoveUp="moveUp",d.MoveDown="moveDown",d.RotateCCW="rotateCCW",d.RotateCW="rotateCW",d.FlipX="flipX",d.FlipY="flipY",d.ToggleFS="toggleFS",(f=o||(o={})).Cover="cover",f.Full="full",f.Max="max";let X={x:0,y:0,scale:1,angle:0,flipX:1,flipY:1},U={bounds:!0,classes:{container:"f-panzoom",wrapper:"f-panzoom__wrapper",content:"f-panzoom__content",viewport:"f-panzoom__viewport"},clickAction:i.ToggleFull,dblClickAction:!1,gestures:{},height:"auto",l10n:N,maxScale:4,minScale:1,mouseMoveFactor:1,panMode:"drag",protected:!1,singleClickAction:!1,spinnerTpl:'<div class="f-spinner"></div>',wheelAction:i.Zoom,width:"auto"},K,J=0,Q=0,ee=0,et=(e,t={},n={})=>{let l,o,r,a,s,u,c,d,f=0,g=Object.assign(Object.assign({},U),t),m={},p=Object.assign({},X),y=Object.assign({},X),x=[];function M(e){let t=g[e];return t&&"function"==typeof t?t(eM):t}function S(){return e&&e.parentElement&&l&&3===f}let O=new Map;function T(e,...t){let n=[...O.get(e)||[]];for(let l of(g.on&&n.push(g.on[e]),n))l&&l instanceof Function&&l(eM,...t);"*"!==e&&T("*",e,...t)}function P(e){if(!S()||b(e.target))return;let t=Date.now(),n=w(-1,[-e.deltaX||0,-e.deltaY||0,-e.detail||0].reduce(function(e,t){return Math.abs(t)>Math.abs(e)?t:e}),1);T("wheel",e,n);let l=M("wheelAction");if(!l||e.defaultPrevented)return;let o=y.scale,r=o*(n>0?1.5:.5);if(l===i.Zoom){let l=100>Math.abs(e.deltaY)&&100>Math.abs(e.deltaX);if(t-Q<(l?200:45))return void G(e);Q=t;let i=et(),a=eo();if(Y(r)<Y(i)&&Y(o)<=Y(i)?(ee+=Math.abs(n),r=i):Y(r)>Y(a)&&Y(o)>=Y(a)?(ee+=Math.abs(n),r=a):(ee=0,r=w(i,r,a)),ee>7)return}switch(G(e),l){case i.Pan:eu(l,{srcEvent:e,deltaX:-(2*e.deltaX),deltaY:-(2*e.deltaY)});break;case i.Zoom:eu(i.ZoomTo,{srcEvent:e,scale:r,center:{x:e.clientX,y:e.clientY}});break;default:eu(l,{srcEvent:e})}}function R(t){var n,o;let r=t.composedPath()[0];if(!q.isClickAllowed()||!v(r)||t.defaultPrevented||!(null==e?void 0:e.contains(r))||r.hasAttribute("disabled")||r.hasAttribute("aria-disabled")||r.hasAttribute("data-carousel-go-prev")||r.hasAttribute("data-carousel-go-next"))return;let a=r.closest("[data-panzoom-action]"),s=null==(n=null==a?void 0:a.dataset)?void 0:n.panzoomAction,u=(null==(o=null==a?void 0:a.dataset)?void 0:o.panzoomValue)||"";if(s){switch(G(t),s){case i.ZoomTo:case i.ZoomIn:case i.ZoomOut:eu(s,{scale:parseFloat(u||"")||void 0});break;case i.MoveLeft:case i.MoveRight:eu(s,{deltaX:parseFloat(u||"")||void 0});break;case i.MoveUp:case i.MoveDown:eu(s,{deltaY:parseFloat(u||"")||void 0});break;case i.ToggleFS:ew();break;default:eu(s)}return}if(!(null==l?void 0:l.contains(r)))return;let c={srcEvent:t};if(eu(M("clickAction"),c),M("dblClickAction")){let e=Date.now(),t=e-(J||e);J=e,t>0&&t<=250?(K&&(clearTimeout(K),K=void 0),eu(M("dblClickAction"),c)):K=setTimeout(()=>{eu(M("singleClickAction"),c)},250)}}function C(e){if(d=e,!S()||!D()||p.scale<=1||y.scale<=1||((null==l?void 0:l.dataset.animationName)||"").indexOf("zoom")>-1)return;let t=V(y.scale);if(!t)return;let{x:n,y:o}=t;eu(i.Pan,{deltaX:n-y.x,deltaY:o-y.y})}function j(){var t;e&&(W(e,"is-loading"),null==(t=e.querySelector(".f-spinner"))||t.remove())}function z(){if(!e||!o)return;if(j(),o instanceof HTMLImageElement&&(!o.complete||!o.naturalWi
1dth))return f=2,null==l||l.classList.add("has-error"),void T("error");T("loaded");let{width:t,height:n}=_();o instanceof HTMLImageElement&&(o.setAttribute("width",t+""),o.setAttribute("height",n+"")),l&&(W(l,"has-error"),o instanceof HTMLImageElement&&(l.setAttribute("width",t+""),l.setAttribute("height",n+""),l.style.aspectRatio=`${t/n||""}`)),u=A().on("start",(e,t)=>{void 0!==t.angle&&(t.angle=90*Math.round(t.angle/90)),void 0!==t.flipX&&(t.flipX=t.flipX>0?1:-1),void 0!==t.flipY&&(t.flipY=t.flipY>0?1:-1),y=Object.assign(Object.assign({},X),t),es(),T("animationStart")}).on("pause",e=>{y=Object.assign(Object.assign({},X),e)}).on("step",e=>{if(!S())return void(null==u||u.end());if(p=Object.assign(Object.assign({},X),e),D()||!M("bounds")||ey()||y.scale>p.scale||y.scale<en())return void ec();let t=er(y.scale),n=!1,l=!1,i=!1,o=!1;p.x<t.x[0]&&(n=!0),p.x>t.x[1]&&(l=!0),p.y<t.y[0]&&(o=!0),p.y>t.y[1]&&(i=!0);let r=!1,a=!1,s=!1,c=!1;y.x<t.x[0]&&(r=!0),y.x>t.x[1]&&(a=!0),y.y<t.y[0]&&(c=!0),y.y>t.y[1]&&(s=!0);let d=!1;(l&&a||n&&r)&&(y.x=w(t.x[0],y.x,t.x[1]),d=!0),(i&&s||o&&c)&&(y.y=w(t.y[0],y.y,t.y[1]),d=!0),d&&u&&u.spring({tension:94,friction:17,maxSpeed:555*y.scale,restDelta:.1,restSpeed:.1,velocity:u.getCurrentVelocities()}).from(p).to(y).start(),ec()}).on("end",()=>{(null==s?void 0:s.isPointerDown())||ea(),(null==u?void 0:u.isRunning())||(es(),T("animationEnd"))}),function(){let e=M("gestures");if(!e||!a||!o)return;let t=!1;s=q(a,e).on("start",e=>{if(!M("gestures")||!u||!S()||D())return;let n=e.srcEvent;(p.scale>1||e.currentTouch.length>1)&&(null==n||n.stopPropagation(),u.pause(),t=!0),1===e.currentTouch.length&&T("touchStart")}).on("move",e=>{var n;t&&(1!==y.scale||e.currentTouch.length>1)&&(G(e.srcEvent),null==(n=e.srcEvent)||n.stopPropagation())}).on("pan",e=>{if(!t)return;let n=e.srcEvent;(1!==y.scale||e.currentTouch.length>1)&&(G(n),eu(i.Pan,e))}).on("swipe",e=>{t&&y.scale>1&&eu(i.Swipe,e)}).on("tap",e=>{T("click",e)}).on("singleTap",e=>{T("singleClick",e)}).on("doubleTap",e=>{T("dblClick",e)}).on("pinch",e=>{t&&(e.scale>en()?eu(i.ZoomIn,e):e.scale<en()?eu(i.ZoomOut,e):eu(i.Pan,e))}).on("end",e=>{t&&(e.currentTouch.length?(e.srcEvent.stopPropagation(),G(e.srcEvent),null==u||u.end()):(t=!1,es(),ea(),T("touchEnd")))}).init()}(),a&&(a.addEventListener("wheel",P,{passive:!1}),x.push(()=>{null==a||a.removeEventListener("wheel",P,{passive:!1})})),null==e||e.addEventListener("click",R),null==document||document.addEventListener("mousemove",C),x.push(()=>{null==e||e.removeEventListener("click",R),null==document||document.removeEventListener("mousemove",C)});let r=F();p=Object.assign({},r),y=Object.assign({},r),f=3,ec(),es(),T("ready"),requestAnimationFrame(()=>{j(),a&&(a.style.visibility="")})}function F(){let e=Object.assign({},M("startPos")||{}),t=e.scale,n=1;n="string"==typeof t?N(t):"number"==typeof t?t:en();let l=Object.assign(Object.assign(Object.assign({},X),e),{scale:n}),i=D()?V(n):void 0;if(i){let{x:e,y:t}=i;l.x=e,l.y=t}return l}function $(){let e={top:0,left:0,width:0,height:0};if(l){let t=l.getBoundingClientRect();y.angle%180==90?(e.top=t.top+.5*t.height-.5*t.width,e.left=t.left+.5*t.width-.5*t.height,e.width=t.height,e.height=t.width):(e.top=t.top,e.left=t.left,e.width=t.width,e.height=t.height)}return e}function _(){let e=M("width"),t=M("height");if(o&&"auto"===e){let t=o.getAttribute("width");e=t?parseFloat(t+""):void 0!==o.dataset.width?parseFloat(o.dataset.width+""):a instanceof HTMLImageElement?a.naturalWidth:o instanceof HTMLImageElement?o.naturalWidth:(null==l?void 0:l.getBoundingClientRect().width)||0}else e=h(e)?parseFloat(e):e;if(o&&"auto"===t){let e=o.getAttribute("height");t=e?parseFloat(e+""):void 0!==o.dataset.height?parseFloat(o.dataset.height+""):a instanceof HTMLImageElement?a.naturalHeight:o instanceof HTMLImageElement?o.naturalHeight:(null==l?void 0:l.getBoundingClientRect().height)||0}else t=h(t)?parseFloat(t):t;return{width:e,height:t}}function H(){let e=$();return{width:e.width,height:e.height}}function D(){return"mousemove"===M("panMode")&&matchMedia("(hover: hover)").matches}function V(e){let t=d||M("event"),n=null==l?void 0:l.getBoundingClientRect();if(!t||!n||e<=1)return{x:0,y:0};let i=(t.clientX||0)-n.left,o=(t.clientY||0)-n.top,{width:r,height:a}=H(),s=er(e);if(e>1){let t=M("mouseMoveFactor");t>1&&(e*=t)}let u=r*e,c=a*e,f=.5*(u-r)-i/r*100/100*(u-r),g=.5*(c-a)-o/a*100/100*(c-a);return{x:f=w(s.x[0],f,s.x[1]),y:g=w(s.y[0],g,s.y[1])}}function N(t="base"){if(!e)return 1;let n=e.getBoundingClientRect(),l=$(),{width:i,height:o}=_(),r=e=>{if("number"==typeof e)return e;switch(e){case"min":case"base":return 1;case"cover":return Math.max(n.height/l.height,n.width/l.width)||1;case"full":case"max":{let e=y.angle%180==90?o:i;return e&&l.width?e/l.width:1}}},a=M("minScale"),s=M("maxScale"),u=Math.min(r("full"),r(a)),c="number"==typeof s?r("full")*s:Math.min(r("full"),r(s));switch(t){case"min":return u;case"base":return w(u,1,c);case"cover":return r("cover");case"full":return Math.min(c,r("full"));case"max":return c}}function et(){return N("min")}function en(){return N("base")}function el(){return N("cover")}function ei(){return N("full")}function eo(){return N("max")}function er(t){let n={x:[0,0],y:[0,0]},l=null==e?void 0:e.getBoundingClientRect();if(!l)return n;let i=$(),o=l.width,r=l.height,a=i.width,s=i.height,u=t=void 0===t?y.scale:t,c=t;if(D()&&t>1){let e=M("mouseMoveFactor");e>1&&(a*t>o+.01&&(u*=e),s*t>r+.01&&(c*=e))}return a*=u,s*=c,t>1&&(a>o&&(n.x[0]=.5*(o-a),n.x[1]=.5*(a-o)),n.x[0]-=.5*(i.left-l.left),n.x[1]-=.5*(i.left-l.left),n.x[0]-=.5*(i.left+i.width-l.right),n.x[1]-=.5*(i.left+i.width-l.right),s>r&&(n.y[0]=.5*(r-s),n.y[1]=.5*(s-r)),n.y[0]-=.5*(i.top-l.top),n.y[1]-=.5*(i.top-l.top),n.y[0]-=.5*(i.top+i.height-l.bottom),n.y[1]-=.5*(i.top+i.height-l.bottom)),n}function ea(){if(!S()||!M("bounds")||!u)return;let e=et(),t=eo(),n=w(e,y.scale,t);if(y.scale<e-.01||y.scale>t+.01)return void eu(i.ZoomTo,{scale:n});if(u.isRunning()||ey())return;let l=er(n);y.x<l.x[0]||y.x>
1l.x[1]||y.y<l.y[0]||y.y>l.y[1]?(y.x=w(l.x[0],y.x,l.x[1]),y.y=w(l.y[0],y.y,l.y[1]),u.spring({tension:170,friction:17,restDelta:.001,restSpeed:.001,maxSpeed:1/0,velocity:u.getCurrentVelocities()}),u.from(p).to(y).start()):ec()}function es(t){var n;if(!S())return;let o=ev(),r=ey(),a=eb(),s=eE(),u=ef(),c=eg();Z(l,"is-fullsize",s),Z(l,"is-expanded",a),Z(l,"is-dragging",r),Z(l,"can-drag",o),Z(l,"will-zoom-in",u),Z(l,"will-zoom-out",c);let d=ep(),f=eh(),g=em(),m=!S();for(let l of(null==(n=t||e)?void 0:n.querySelectorAll("[data-panzoom-action]"))||[]){let e=l.dataset.panzoomAction,t=!1;if(m)t=!0;else switch(e){case i.ZoomIn:d||(t=!0);break;case i.ZoomOut:g||(t=!0);break;case i.ToggleFull:{f||g||(t=!0);let e=l.querySelector("g");e&&(e.style.display=s&&!t?"none":"");break}case i.IterateZoom:{d||g||(t=!0);let e=l.querySelector("g");e&&(e.style.display=d||t?"":"none");break}case i.ToggleCover:case i.ToggleMax:d||g||(t=!0)}t?(l.setAttribute("aria-disabled",""),l.setAttribute("tabindex","-1")):(l.removeAttribute("aria-disabled"),l.removeAttribute("tabindex"))}}function eu(t,n){var l;if(!(t&&e&&o&&u&&S())||t===i.Swipe&&Math.abs(u.getCurrentVelocities().scale)>.01)return;let r=Object.assign({},y),a=Object.assign({},y),s=er(D()?r.scale:p.scale),c=u.getCurrentVelocities(),d=$(),f=((null==(l=(n=n||{}).currentTouch)?void 0:l.length)||0)>1,g=n.velocityX||0,m=n.velocityY||0,h=n.center;n.srcEvent&&(h=I(k(n.srcEvent)));let v=n.deltaX||0,b=n.deltaY||0;switch(t){case i.MoveRight:v=n.deltaX||100;break;case i.MoveLeft:v=n.deltaX||-100;break;case i.MoveUp:b=n.deltaY||-100;break;case i.MoveDown:b=n.deltaY||100}let E=[];switch(t){case i.Reset:(a=Object.assign({},X)).scale=en();break;case i.Pan:case i.Move:case i.MoveLeft:case i.MoveRight:case i.MoveUp:case i.MoveDown:if(ey()){let e=1,t=1;a.x<=s.x[0]&&g<=0&&(e=.2*Math.max(.01,1-Math.abs(1/d.width*Math.abs(a.x-s.x[0])))),a.x>=s.x[1]&&g>=0&&(e=.2*Math.max(.01,1-Math.abs(1/d.width*Math.abs(a.x-s.x[1])))),a.y<=s.y[0]&&m<=0&&(t=.2*Math.max(.01,1-Math.abs(1/d.height*Math.abs(a.y-s.y[0])))),a.y>=s.y[1]&&m>=0&&(t=.2*Math.max(.01,1-Math.abs(1/d.height*Math.abs(a.y-s.y[1])))),a.x+=v*e,a.y+=b*t}else a.x=w(s.x[0],a.x+v,s.x[1]),a.y=w(s.y[0],a.y+b,s.y[1]);break;case i.Swipe:let x=(e=0)=>Math.sign(e)*Math.pow(Math.abs(e),1.5);a.x+=w(-1e3,x(g),1e3),a.y+=w(-1e3,x(m),1e3),m&&!g&&(a.x=w(s.x[0],a.x,s.x[1])),!m&&g&&(a.y=w(s.y[0],a.y,s.y[1])),c.x=g,c.y=m;break;case i.ZoomTo:a.scale=n.scale||1;break;case i.ZoomIn:a.scale=a.scale*(n.scale||2),f||(a.scale=Math.min(a.scale,eo()));break;case i.ZoomOut:a.scale=a.scale*(n.scale||.5),f||(a.scale=Math.max(a.scale,et()));break;case i.ToggleCover:E=[en(),el()];break;case i.ToggleFull:E=[en(),ei()];break;case i.ToggleMax:E=[en(),eo()];break;case i.IterateZoom:E=[en(),ei(),eo()];break;case i.Zoom:let O=ei();a.scale>=O-.05?a.scale=en():a.scale=Math.min(O,a.scale*(n.scale||2));break;case i.RotateCW:a.angle+=90;break;case i.RotateCCW:a.angle-=90;break;case i.FlipX:a.flipX*=-1;break;case i.FlipY:a.flipY*=-1}if(void 0!==p.angle&&Math.abs(p.angle)>=360&&(a.angle-=360*Math.floor(p.angle/360),p.angle-=360*Math.floor(p.angle/360)),E.length){let e=E.findIndex(e=>e>a.scale+1e-4);a.scale=E[e]||E[0]}if(f&&(a.scale=w(et()*(f?.8:1),a.scale,eo()*(f?1.6:1))),D()){let e=V(a.scale);if(e){let{x:t,y:n}=e;a.x=t,a.y=n}}else if(Math.abs(a.scale-r.scale)>1e-4){let t=0,n=0;if(h)t=h.x,n=h.y;else{let l=e.getBoundingClientRect();t=l.x+.5*l.width,n=l.y+.5*l.height}let l=t-d.left,i=n-d.top;l-=.5*d.width,i-=.5*d.height;let o=(l-r.x)/r.scale,u=(i-r.y)/r.scale;a.x=l-o*a.scale,a.y=i-u*a.scale,!f&&M("bounds")&&(s=er(a.scale),a.x=w(s.x[0],a.x,s.x[1]),a.y=w(s.y[0],a.y,s.y[1]))}if(t===i.Swipe){let e=500*a.scale;u.spring({tension:94,friction:17,maxSpeed:e,restDelta:.1,restSpeed:.1,velocity:c})}else t===i.Pan||f?u.spring({tension:900,friction:17,restDelta:.01,restSpeed:.01,maxSpeed:1}):u.spring({tension:170,friction:17,restDelta:.001,restSpeed:.001,maxSpeed:1/0,velocity:c});if(0===n.velocity||L(p,a))p=Object.assign({},a),y=Object.assign({},a),u.end(),ec(),es();else{if(L(y,a))return;u.from(p).to(a).start()}T("action",t)}function ec(){if(!o||!l||!a)return;let{width:t,height:n}=_();Object.assign(l.style,{maxWidth:`min(${t}px, 100%)`,maxHeight:`min(${n}px, 100%)`});let{x:i,y:r,width:s,height:u,scale:c,angle:d,flipX:f,flipY:g}=function(){let{width:t,height:n}=_(),{width:l,height:i}=H();if(!e)return{x:0,y:0,width:0,height:0,scale:0,flipX:0,flipY:0,angle:0,fitWidth:l,fitHeight:i,fullWidth:t,fullHeight:n};let{x:o,y:r,scale:a,angle:s,flipX:u,flipY:c}=p,d=1/ei(),f=t,g=n,m=p.scale*d,h=y.scale*d,v=Math.max(l,i),b=Math.min(l,i);t>n?(f=v,g=b):(f=b,g=v),m=t>n?v*a/t||1:v*a/n||1;let E=f?t*h:0,w=g?n*h:0,x=f&&g?t*m/E:0;return{x:o=o+.5*f-.5*E,y:r=r+.5*g-.5*w,width:E,height:w,scale:x,flipX:u,flipY:c,angle:s,fitWidth:l,fitHeight:i,fullWidth:t,fullHeight:n}}(),m=`translate(${Y(i)}px, ${Y(r)}px)`;m+=1!==f||1!==g?` scaleX(${Y(c*f)}) scaleY(${Y(c*g)})`:` scale(${Y(c)})`,0!==d&&(m+=` rotate(${d}deg)`),a.style.width=`${Y(s)}px`,a.style.height=`${Y(u)}px`,a.style.transform=`${m}`,T("render")}function ed(){let e=y.scale,t=M("clickAction"),n=en();if(t){let l=[];switch(t){case i.ZoomIn:n=2*e;break;case i.ZoomOut:n=.5*e;break;case i.ToggleCover:l=[en(),el()];break;case i.ToggleFull:l=[en(),ei()];break;case i.ToggleMax:l=[en(),eo()];break;case i.IterateZoom:l=[en(),ei(),eo()];break;case i.Zoom:let o=ei();n=e>=o-.05?en():Math.min(o,2*e)}if(l.length){let t=l.findIndex(t=>t>e+1e-4);n=l[t]||en()}}return w(et(),n,eo())}function ef(){return!!(S()&&ed()>y.scale)}function eg(){return!!(S()&&ed()<y.scale)}function em(){return!!(S()&&y.scale>et())}function ep(){return!!(S()&&y.scale<eo())}function eh(){return!!(S()&&y.scale<ei())}function ev(){return!(!(S()&&eb()&&s)||D())}function ey(){return!(!S()||!(null==s?void 0:s.isPointerDown())||D())}function eb(){return!!(S()&&y.scale>en())}function eE(){return!!(S()&&y.scale>=ei())}function ew(){let t="in-fullscreen",n="with-panzoom-in-fullscreen";null==e||e.classList.toggle(t);let l=null==e?void 0:e.classList.contains(t);l?(document.documentElement.classList.add(n),document.addEventListener("keydown",ex,!0)):(document.documentElement.classList.remove(n),document.removeEventListener("keydown",ex,!0)),ec(),T(l?"enterFS":"exitFS")}function ex(e){"Escape"!==e.key||e.defaultPrevented||ew()}let eM={canDrag:ev,canZoomIn:ep,canZoomOut:em,canZoomToFull:eh,destroy:function(){for(let e of(T("destroy"),Object.values(m)))null==e||e.destroy(eM);for(let e of x)e();return l&&(l.style.aspectRatio="",l.style.maxWidth="",l.style.maxHeight=""),a&&(a.style.width="",a.style.height="",a.style.transform=""),l=void 0,o=void 0,a=void 0,p=Object.assign({}
1,X),y=Object.assign({},X),null==u||u.destroy(),u=void 0,null==s||s.destroy(),s=void 0,f=4,eM},emit:T,execute:eu,getBoundaries:er,getContainer:function(){return e},getContent:function(){return o},getFullDim:_,getGestures:function(){return s},getMousemovePos:V,getOptions:function(){return g},getPlugins:function(){return m},getScale:N,getStartPosition:F,getState:function(){return f},getTransform:function(e){return!0===e?y:p},getTween:function(){return u},getViewport:function(){return a},getWrapper:function(){return l},init:function(){return f=0,T("init"),function(){for(let[e,t]of Object.entries(Object.assign(Object.assign({},n),g.plugins||{})))if(e&&!m[e]&&t instanceof Function){let n=t();n.init(eM),m[e]=n}T("initPlugins")}(),function(){let t=Object.assign(Object.assign({},U.classes),M("classes"));if(e&&(B(e,t.container),o=e.querySelector("."+t.content))){if(o.setAttribute("draggable","false"),(l=e.querySelector("."+t.wrapper))||(B(l=document.createElement("div"),t.wrapper),o.insertAdjacentElement("beforebegin",l),l.insertAdjacentElement("afterbegin",o)),(a=e.querySelector("."+t.viewport))||(B(a=document.createElement("div"),t.viewport),a.insertAdjacentElement("afterbegin",o),l.insertAdjacentElement("beforeend",a)),(r=o.cloneNode(!0)).removeAttribute("id"),l.insertAdjacentElement("afterbegin",r),o instanceof HTMLPictureElement&&(o=o.querySelector("img")),r instanceof HTMLPictureElement&&(r=r.querySelector("img")),a instanceof HTMLPictureElement&&(a=a.querySelector("img")),a&&(a.style.visibility="hidden",M("protected"))){a.addEventListener("contextmenu",e=>{G(e)});let e=document.createElement("div");B(e,"f-panzoom__protected"),a.appendChild(e)}T("initLayout")}}(),function(){if(e&&l&&!c){let e=null;(c=new ResizeObserver(()=>{S()&&(e=e||requestAnimationFrame(()=>{S()&&(es(),ea(),T("refresh")),e=null}))})).observe(l),x.push(()=>{null==c||c.disconnect(),c=void 0,e&&(cancelAnimationFrame(e),e=null)})}}(),function(){if(!e||!o)return;if(!(o instanceof HTMLImageElement)||!(r instanceof HTMLImageElement))return z();let t=()=>{o&&o instanceof HTMLImageElement&&o.decode().then(()=>{z()}).catch(()=>{z()})};if(f=1,e.classList.add("is-loading"),T("loading"),r.src&&r.complete)return t();(function(){if(!e||(null==e?void 0:e.querySelector(".f-spinner")))return;let t=E(M("spinnerTpl"));t&&(t.classList.add("f-spinner"),e.classList.add("is-loading"),null==l||l.insertAdjacentElement("afterbegin",t))})(),r.addEventListener("load",t,!1),r.addEventListener("error",t,!1),x.push(()=>{null==r||r.removeEventListener("load",t,!1),null==r||r.removeEventListener("error",t,!1)})}(),eM},isDragging:ey,isExpanded:eb,isFullsize:eE,isMousemoveMode:D,localize:function(e,t=[]){let n=M("l10n")||{};e=String(e).replace(/\{\{(\w+)\}\}/g,(e,t)=>n[t]||e);for(let n=0;n<t.length;n++)e=e.split(t[n][0]).join(t[n][1]);return e.replace(/\{\{(.*?)\}\}/g,(e,t)=>t)},off:function(e,t){for(let n of e instanceof Array?e:[e])O.has(n)&&O.set(n,O.get(n).filter(e=>e!==t));return eM},on:function(e,t){for(let n of e instanceof Array?e:[e])O.set(n,[...O.get(n)||[],t]);return eM},toggleFS:ew,updateControls:es,version:"6.1.7",willZoomIn:ef,willZoomOut:eg};return eM};et.l10n={en_EN:N},et.getDefaults=()=>U;let en=(e,t)=>{let n=[];return e.childNodes.forEach(e=>{e.nodeType!==Node.ELEMENT_NODE||t&&!e.matches(t)||n.push(e)}),n},el=(e,...t)=>{let n=t.length;for(let l=0;l<n;l++)Object.entries(t[l]||{}).forEach(([t,n])=>{let l=Array.isArray(n)?[]:{};e[t]||Object.assign(e,{[t]:l}),x(n)?Object.assign(e[t],el(e[t],n)):Array.isArray(n)?Object.assign(e,{[t]:[...n]}):Object.assign(e,{[t]:n})});return e},ei=function(e=0,t=0,n=0,l=0,i=0,o=!1){let r=(e-t)/(n-t)*(i-l)+l;return o?l<i?w(l,r,i):w(i,r,l):r},eo=Object.assign(Object.assign({},N),{ERROR:"Something went wrong. <br /> Please try again later.",NEXT:"Next page",PREV:"Previous page",GOTO:"Go to page #%d",DOWNLOAD:"Download",TOGGLE_FULLSCREEN:"Toggle full-screen mode",TOGGLE_EXPAND:"Toggle full-size mode",TOGGLE_THUMBS:"Toggle thumbnails",TOGGLE_AUTOPLAY:"Toggle slideshow"}),er=e=>{e.cancelable&&e.preventDefault()},ea={adaptiveHeight:!1,center:!0,classes:{container:"f-carousel",isEnabled:"is-enabled",isLTR:"is-ltr",isRTL:"is-rtl",isHorizontal:"is-horizontal",isVertical:"is-vertical",hasAdaptiveHeight:"has-adaptive-height",viewport:"f-carousel__viewport",slide:"f-carousel__slide",isSelected:"is-selected"},dragFree:!1,enabled:!0,errorTpl:'<div class="f-html">{{ERROR}}</div>',fill:!1,infinite:!0,initialPage:0,l10n:eo,rtl:!1,slides:[],slidesPerPage:"auto",spinnerTpl:'<div class="f-spinner"></div>',transition:"fade",tween:{clamp:!0,mass:1,tension:160,friction:25,restDelta:1,restSpeed:1,velocity:0},vertical:!1},es,eu=0,ec=(e,t={},n={})=>{eu++;let l,i,o,r,a,s=0,u=Object.assign({},ea),c=Object.assign({},ea),d={},f=null,g=null,m=0,p=0,y=0,M=!1,L=!1,S=!1,O="height",T=0,P=!0,C=0,j=0,z=0,k=0,I="*",F=[],$=[],_=new Set,H=[],D=[],V=0,N=0,G=0;function Y(e,...t){let n=c[e];return n&&n instanceof Function?n(eI,...t):n}function X(e,t=[]){let n=Y("l10n")||{};e=String(e).replace(/\{\{(\w+)\}\}/g,(e,t)=>n[t]||e);for(let n=0;n<t.length;n++)e=e.split(t[n][0]).join(t[n][1]);return e.replace(/\{\{(.*?)\}\}/g,(e,t)=>t)}let U=new Map;function K(e,...t){let n=[...U.get(e)||[]];for(let l of(c.on&&n.push(c.on[e]),n))l&&l instanceof Function&&l(eI,...t);"*"!==e&&K("*",e,...t)}function J(){var e,t;let r=el({},ea,u);el(r,ea,u);let m="";for(let[e,t]of Object.entries(u.breakpoints||{}))window.matchMedia(e).matches&&(m+=e,el(r,t));if(void 0===a||m!==a){if(a=m,0!==s){let n=null==(t=null==(e=D[C])?void 0:e.slides[0])?void 0:t.index;for(let e of(void 0===n&&(n=c.initialSlide),r.initialSlide=n,r.slides=[],F))e.isVirtual&&r.slides.push(e)}ej(),c=r,!1!==Y("enabled")&&(s=0,K("init"),function(){for(let[e,t]of Object.entries(Object.assign(Object.assign({},n),c.plugins||{})))if(e&&!d[e]&&t instanceof Function){let n=t();n.init(eI,ec),d[e]=n}K("initPlugins")}(),function(){if(!f)return;let e=Y("classes")||{};B(f,e.container);let t=Y("style");if(t&&x(t))for(let[e,n]of Object.entries(t))f.style.setProperty(e,n);(g=f.querySelector(`.${e.viewport}`))||(B(g=document.createElement("div"),e.viewport),g.append(...en(f,`.${e.slide}`)),f.insertAdjacentElement("afterbegin",g)),f.carousel=eI,K("initLayout")}(),function(){if(!g)return;let e=Y("classes")||{};for(let t of(F=[],[...en(g,`.${e.slide}
1`)].forEach(e=>{if(e.parentElement){let t=ev(Object.assign({el:e,isVirtual:!1},e.dataset||{}));K("createSlide",t),F.push(t)}}),eE(),F))K("addSlide",t);for(let e of(eh(Y("slides")),F)){let t=e.el;(null==t?void 0:t.parentElement)===g&&(B(t,c.classes.slide),B(t,e.class),eP(e),K("attachSlideEl",e))}K("initSlides")}(),ew(),s=1,B(f,(Y("classes")||{}).isEnabled||""),eC(),ed(),i=A().on("start",()=>{l&&l.isPointerDown()||(eo(),eC())}).on("step",e=>{let t=T;(T=e.pos)!==t&&(P=!1,eC())}).on("end",e=>{(null==l?void 0:l.isPointerDown())||(T=e.pos,i&&!M&&(T<z||T>k)?i.spring({clamp:!0,mass:1,tension:200,friction:25,velocity:0,restDelta:1,restSpeed:1}).from({pos:T}).to({pos:w(z,T,k)}).start():P||(P=!0,K("settle")))}),ee(),function(){if(!f||!g)return;f.addEventListener("click",eS),document.addEventListener("mousemove",Q);let e=g.getBoundingClientRect();if(V=e.height,N=e.width,!o){let e=null;(o=new ResizeObserver(()=>{e||(e=requestAnimationFrame(()=>{!function(){if(1!==s||!g)return;let e=D.length,t=g.getBoundingClientRect(),n=t.height,i=t.width;e>1&&(S&&.5>Math.abs(n-V)||!S&&.5>Math.abs(i-N))||(ew(),ee(),V=n,N=i,S&&!V||!S&&!N||f&&g&&(e===D.length&&(null==l?void 0:l.isPointerDown())||(Y("dragFree")&&(M||T>z&&T<k)?(eo(),eC()):eA(C,{transition:!1}))))}(),e=null}))})).observe(g)}}(),K("ready"))}}function Q(e){es=e}function ee(){let e;!1===Y("gestures")?l&&(l.destroy(),l=void 0):l||(e=Y("gestures"),!l&&!1!==e&&g&&(l=q(g,e).on("start",e=>{var t,n;let l;if(!i||!1===Y("gestures",e))return;let{srcEvent:o}=e;S&&R(o)&&!b(o.target)&&er(o),i.pause(),i.getCurrentVelocities().pos=0;let r=null==(t=D[C])?void 0:t.slides[0],a=null==r?void 0:r.el;r&&_.has(r.index)&&a&&(T=(r.offset||0)+(({width:(l=new DOMMatrixReadOnly(window.getComputedStyle(a).transform)).m41||0,height:l.m42||0})[O]||0)*(L&&!S?1:-1)),eM(),M||(T<z||T>k)&&i.spring({clamp:!0,mass:1,tension:500,friction:25,velocity:(null==(n=i.getCurrentVelocities())?void 0:n.pos)||0,restDelta:1,restSpeed:1}).from({pos:T}).to({pos:w(z,T,k)}).start()}).on("move",e=>{var t,n;if(!1===Y("gestures",e))return;let{srcEvent:l,axis:o,deltaX:r,deltaY:a}=e;if(R(l)&&(null==(t=l.touches)?void 0:t.length)>1)return;let s=b(l.target),u=s?s.scrollHeight>s.clientHeight?"y":"x":void 0;if(s&&s!==g&&(!o||o===u))return;if(!o)return er(l),l.stopPropagation(),void l.stopImmediatePropagation();if("y"===o&&!S||"x"===o&&S||(er(l),l.stopPropagation(),!i))return;let c=L&&!S?1:-1,d=S?a:r,f=(null==i?void 0:i.isRunning())?i.getEndValues().pos:T,p=1;M||(f<=z&&d*c<0?p=.2*Math.max(.01,1-(Math.abs(1/m*Math.abs(f-z))||0)):f>=k&&d*c>0&&(p=.2*Math.max(.01,1-(Math.abs(1/m*Math.abs(f-k))||0)))),f+=d*p*c,i.spring({clamp:!0,mass:1,tension:700,friction:25,velocity:(null==(n=i.getCurrentVelocities())?void 0:n.pos)||0,restDelta:1,restSpeed:1}).from({pos:T}).to({pos:f}).start()}).on("panstart",e=>{!1!==Y("gestures",e)&&(null==e?void 0:e.axis)===(S?"y":"x")&&B(g,"is-dragging")}).on("panend",e=>{!1!==Y("gestures",e)&&W(g,"is-dragging")}).on("end",e=>{var t,n;if(!1===Y("gestures",e))return;let{srcEvent:l,axis:o,velocityX:r,velocityY:a,currentTouch:s}=e;if(s.length>0||!i)return;let u=b(l.target),c=u?u.scrollHeight>u.clientHeight?"y":"x":void 0,f=u&&(!o||o===c);S&&R(l)&&!e.axis&&eS(l);let g=D.length,p=Y("dragFree");if(!g)return;let h=f?0:Y("vertical")?a:r,v=(null==i?void 0:i.isRunning())?i.getEndValues().pos:T,y=L&&!S?1:-1;if(f||(v+=h*(p?5:1)*y),!M&&(h*y<=0&&v<z||h*y>=0&&v>k)){let e=0;return Math.abs(h)>0&&(e=Math.min(.3*m,e=2*Math.abs(h))),v=w(z+-1*e,v,k+e),void i.spring({clamp:!0,mass:1,tension:380,friction:25,velocity:-1*h,restDelta:1,restSpeed:1}).from({pos:T}).to({pos:v}).start()}if(p||(null==(t=d.Autoscroll)?void 0:t.isEnabled()))return void(Math.abs(h)>10?i.spring({clamp:!0,mass:1,tension:150,friction:25,velocity:-1*h,restDelta:1,restSpeed:1}).from({pos:T}).to({pos:v}).start():i.isRunning()||P||(P=!0,K("settle")));if(!p&&!(null==(n=d.Autoscroll)?void 0:n.isEnabled())&&(!e.offsetX&&!e.offsetY||"y"===o&&!S||"x"===o&&S))return void eA(C,{transition:"tween"});let E=eg(v);Math.abs(h)>10&&E===C&&(E+=h>0?L&&!S?1:-1:L&&!S?-1:1),eA(E,{transition:"tween",tween:{velocity:-1*h}})}).init())),Z(g,"is-draggable",!!l&&D.length>0)}function et(e="*"){var t;let n=[];for(let l of F)("*"===e||l.class&&l.class.includes(e)||l.el&&(null==(t=l.el)?void 0:t.classList.contains(e)))&&n.push(l);r=void 0,I=e,$=[...n]}function eo(){if(!i)return;let e=eg((null==i?void 0:i.isRunning())?i.getEndValues().pos:T);e!==C&&(r=C,C=e,eP(),ed(),ef(),K("change",C,r))}function ed(){var e,t;if(!f)return;for(let e of f.querySelectorAll("[data-carousel-index]"))e.innerHTML=C+"";for(let e of f.querySelectorAll("[data-carousel-page]"))e.innerHTML=C+1+"";for(let e of f.querySelectorAll("[data-carousel-pages]"))e.innerHTML=D.length+"";for(let t of f.querySelectorAll("[data-carousel-go-to]"))parseInt((null==(e=t.dataset)?void 0:e.carouselGoTo)||"-1",10)===C?t.setAttribute("aria-current","true"):t.removeAttribute("aria-current");for(let e of f.querySelectorAll("[data-carousel-go-prev]"))e.toggleAttribute("aria-disabled",!ez()),ez()?e.removeAttribute("tabindex"):e.setAttribute("tabindex","-1");for(let e of f.querySelectorAll("[data-carousel-go-next]"))e.toggleAttribute("aria-disabled",!ek()),ek()?e.removeAttribute("tabindex"):e.setAttribute("tabindex","-1");let n=!1,l=null==(t=D[C])?void 0:t.slides[0];for(let e of(l&&(l.downloadSrc||"image"===l.type&&l.src)&&(n=!0),f.querySelectorAll("[data-carousel-download]")))e.toggleAttribute("aria-disabled",!n)}function ef(e){var t;e||(e=null==(t=D[C])?void 0:t.slides[0]);let n=null==e?void 0:e.el;
1if(n)for(let t of n.querySelectorAll("[data-slide-index]"))t.innerHTML=e.index+1+""}function eg(e){var t,n,l;if(!D.length)return 0;let i=em(),o=e;M?o-=Math.floor((e-(null==(t=D[0])?void 0:t.pos))/i)*i||0:o=w(null==(n=D[0])?void 0:n.pos,e,null==(l=D[D.length-1])?void 0:l.pos);let r=new Map,a=0;for(let e of D){let t=Math.min(Math.abs(e.pos-o),Math.abs(e.pos-o-i),Math.abs(e.pos-o+i));r.set(a,t),a++}return parseInt((r.size>0?[...r.entries()].reduce((e,t)=>t[1]<e[1]?t:e):[C,0])[0])}function em(e=!0){return $.length?$.reduce((e,t)=>e+t.dim,0)+($.length-(M&&e?0:1))*G:0}function ep(e){let t=em(),n=m;if(!t||!g||!n)return[];let l=[];e=void 0===e?T:e,M&&(e-=Math.floor(e/t)*t||0);let i=0;for(let o of $){let r=(t=0)=>{l.indexOf(o)>-1||(o.pos=i-e+t||0,o.offset+t>e-o.dim-p+.51&&o.offset+t<e+n+y-.51&&l.push(o))};o.offset=i,M&&(r(t),r(-1*t)),r(),i+=o.dim+G}return l}function eh(e,t){let n=[];for(let t of Array.isArray(e)?e:[e]){let e=ev(Object.assign(Object.assign({},t),{isVirtual:!0}));e.el||(e.el=document.createElement("div")),K("createSlide",e),n.push(e)}for(let e of(F.splice(void 0===t?F.length:t,0,...n),eE(),n))K("addSlide",e),function(e){let t=e.el;if(!e||!t)return;let n=e.html?e.html instanceof HTMLElement?e.html:E(e.html):void 0;n&&(B(n,"f-html"),e.htmlEl=n,B(t,"has-html"),t.append(n),K("contentReady",e))}(e);return et(I),n}function ev(e){return(h(e)||e instanceof HTMLElement)&&(e={html:e}),Object.assign({index:-1,el:void 0,class:"",isVirtual:!0,dim:0,pos:0,offset:0,html:"",src:""},e)}function ey(e){if(!g||!e)return;let t=e.el;if(t){if(t.setAttribute("index",e.index+""),t.parentElement!==g){let n;for(let l of(B(t,c.classes.slide),B(t,e.class),eP(e),F))if(l.index>e.index){n=l.el;break}g.insertBefore(t,n&&g.contains(n)?n:null),K("attachSlideEl",e)}return ef(e),t}}function eb(e){let t=null==e?void 0:e.el;t&&(t.remove(),ex(t),K("detachSlideEl",e))}function eE(){for(let e=0;e<F.length;e++){let t=F[e],n=t.el;n&&(t.index!==e&&ex(n),n.setAttribute("index",`${e}`)),t.index=e}}function ew(){var e,t,n,l,i,o;let a;if(!f||!g)return;L=Y("rtl"),O=(S=Y("vertical"))?"height":"width";let u=Y("classes");if(Z(f,u.isLTR,!L),Z(f,u.isRTL,L),Z(f,u.isHorizontal,!S),Z(f,u.isVertical,S),Z(f,u.hasAdaptiveHeight,Y("adaptiveHeight")),m=0,p=0,y=0,G=0,g){g.childElementCount||(g.style.display="grid");let e=g.getBoundingClientRect();m=g.getBoundingClientRect()[O]||0;let t=window.getComputedStyle(g);G=parseFloat(t.getPropertyValue("--f-carousel-gap"))||0,"visible"===t.getPropertyValue("overflow-"+(S?"y":"x"))&&(p=Math.abs(e[S?"top":"left"]),y=Math.abs(window[S?"innerHeight":"innerWidth"]-e[S?"bottom":"right"])),g.style.display=""}if(!m)return;let d=function(){let e=0;if(g){let t=document.createElement("div");t.style.display="block",B(t,c.classes.slide),g.appendChild(t),e=t.getBoundingClientRect()[O],t.remove(),t=void 0}return e}();for(let t of $){let n=t.el,l=0;if(!t.isVirtual&&n&&v(n)){let t=!1;n.parentElement&&n.parentElement===g||(g.appendChild(n),t=!0),l=n.getBoundingClientRect()[O],t&&(null==(e=n.parentElement)||e.removeChild(n))}else l=d;t.dim=l}if(M=!1,Y("infinite")){M=!0;let e=em(),n=m+p+y;for(let l=0;l<$.length;l++){let i=(null==(t=$[l])?void 0:t.dim)+G;if(e-i<n&&e-i-n<i){M=!1;break}}}!function(){var e;let t;if(!f)return;let n=m,l=em(!1),i=Y("slidesPerPage");i="auto"===i?1/0:parseFloat(i+""),D=[];let o=0,r=0;for(let t of $)(!D.length||o+t.dim-n>.05||r>=i)&&(D.push({index:D.length,slides:[],dim:0,offset:0,pos:0}),o=0,r=0),null==(e=D[D.length-1])||e.slides.push(t),o+=t.dim+G,r++;let a=Y("center"),s=Y("fill"),u=0;for(let e of D){for(let t of(e.dim=(e.slides.length-1)*G,e.slides))e.dim+=t.dim;e.offset=u,e.pos=u,!1!==a&&(e.pos-=.5*(n-e.dim)),s&&!M&&l>n&&(e.pos=w(0,e.pos,l-n)),u+=e.dim+G}let c=[];for(let e of D){let n=Object.assign({},e);t&&.1>Math.abs(n.pos-t.pos)?(t.dim+=n.dim,t.slides=[...t.slides,...n.slides]):(t=n,n.index=c.length,c.push(n))}C=w(0,C,(D=c).length-1)}(),z=(null==(n=D[0])?void 0:n.pos)||0,k=(null==(l=D[D.length-1])?void 0:l.pos)||0,0===s?(r=void 0,C=Y("initialPage"),void 0!==(a=Y("initialSlide")||void 0)&&(C=eI.getPageIndex(a)||0),C=w(0,C,D.length-1),j=T=(null==(o=D[C])?void 0:o.pos)||0):j=(null==(i=D[C||0])?void 0:i.pos)||0,K("refresh"),ed()}function ex(e){if(!e||!v(e))return;let t=parseInt(e.getAttribute("index")||"-1"),n="";for(let t of Array.from(e.classList)){let e=t.match(/^f-(\w+)(Out|In)$/);e&&e[1]&&(n=e[1]+"")}if(!e||!n)return;let l=[`f-${n}Out`,`f-${n}In`,"to-prev","to-next","from-prev","from-next"];e.removeEventListener("animationend",eL),W(e,l.join(" ")),_.delete(t)}function eM(){if(!g)return;let e=_.size>0;for(let e of $)ex(e.el);_.clear(),e&&eC()}function eL(e){var t;"f-"===(null==(t=e.animationName)?void 0:t.substring(0,2))&&(ex(e.target),_.size||(W(f,"in-transition"),!P&&.5>Math.abs(eI.getPosition(!0)-j)&&(P=!0,K("settle"))),eC())}function eS(e){var t;if(e.defaultPrevented)return;let n=e.composedPath()[0];if(n.closest("[data-carousel-go-prev]"))return er(e),void eI.prev();if(n.closest("[data-carousel-go-next]"))return er(e),void eI.next();let l=n.closest("[data-carousel-go-to]");if(l)return er(e),void eI.goTo(parseFloat(l.dataset.carouselGoTo||"")||
10);if(n.closest("[data-carousel-download]")){er(e);let n=null==(t=D[C])?void 0:t.slides[0];if(n&&(n.downloadSrc||"image"===n.type&&n.src)){let e=n.downloadFilename,t=document.createElement("a"),l=n.downloadSrc||n.src||"";t.href=l,t.target="_blank",t.download=e||l,t.click()}}else K("click",e)}function eO(e){var t;let n=e.el;n&&(null==(t=n.querySelector(".f-spinner"))||t.remove())}function eT(e){var t;let n=e.el;n&&(null==(t=n.querySelector(".f-html.is-error"))||t.remove(),W(n,"has-error"))}function eP(e){var t;e||(e=null==(t=D[C])?void 0:t.slides[0]);let n=null==e?void 0:e.el;if(!n)return;let l=Y("formatCaption",e);void 0===l&&(l=e.caption),l=l||"";let i=Y("captionEl");if(i&&i instanceof HTMLElement){if(e.index!==C)return;if(h(l)&&(i.innerHTML=X(l+"")),l instanceof HTMLElement){if(l.parentElement===i)return;i.innerHTML="",l.parentElement&&(l=l.cloneNode(!0)),i.append(l)}return}if(!l)return;let o=e.captionEl||n.querySelector(".f-caption");!o&&l instanceof HTMLElement&&l.classList.contains("f-caption")&&(o=l),o||(B(o=document.createElement("div"),"f-caption"),h(l)?o.innerHTML=X(l+""):l instanceof HTMLElement&&(l.parentElement&&(l=l.cloneNode(!0)),o.append(l)));let r=`f-caption-${eu}_${e.index}`;o.setAttribute("id",r),o.dataset.selectable="true",B(n,"has-caption"),n.setAttribute("aria-labelledby",r),e.captionEl=o,n.insertAdjacentElement("beforeend",o)}function eA(e,t={}){var n,l;let{transition:o,tween:a}=Object.assign({transition:c.transition,tween:c.tween},t||{});if(!f||!i)return;let s=D.length;if(!s||function(e,t){var n,l,o;if(!(f&&m&&i&&t&&h(t)&&"tween"!==t))return!1;for(let e of H)if(m-e.dim>.5)return!1;if(p>.5||y>.5)return;let r=D.length,a=e>C?1:-1;e=M?(e%r+r)%r:w(0,e,r-1),L&&(a*=-1);let s=null==(n=D[C])?void 0:n.slides[0],u=null==s?void 0:s.index,d=null==(l=D[e])?void 0:l.slides[0],g=null==d?void 0:d.index,v=null==(o=D[e])?void 0:o.pos;if(void 0===g||void 0===u||u===g||T===v||Math.abs(m-((null==d?void 0:d.dim)||0))>1)return!1;P=!1,i.pause(),eM(),B(f,"in-transition"),T=j=v;let b=ey(s),E=ey(d);return eo(),b&&(_.add(u),b.style.transform="",b.addEventListener("animationend",eL),W(b,c.classes.isSelected),b.inert=!1,B(b,`f-${t}Out to-${a>0?"next":"prev"}`)),E&&(_.add(g),E.style.transform="",E.addEventListener("animationend",eL),B(E,c.classes.isSelected),E.inert=!1,B(E,`f-${t}In from-${a>0?"prev":"next"}`)),eC(),!0}(e,o))return;j=(null==(n=D[(e=M?(e%s+s)%s:w(0,e,s-1))||0])?void 0:n.pos)||0;let u=i.isRunning()?i.getEndValues().pos:T;if(1>Math.abs(j-u))return T=j,C!==e&&(eP(),r=C,C=e,ed(),ef(),K("change",C,r)),eC(),void(P||(P=!0,K("settle")));if(i.pause(),eM(),M){let e=em(),t=Math.floor((u-(null==(l=D[0])?void 0:l.pos))/e)||0,n=j+t*e;j=[n+e,n,n-e].reduce(function(e,t){return Math.abs(t-u)<Math.abs(e-u)?t:e})}!1!==o&&x(a)?i.spring(el({},c.tween,a)).from({pos:T}).to({pos:j}).start():(T=j,eo(),eC(),P||(P=!0,K("settle")))}function eR(e){var t;let n=T;if(M&&!0!==e){let e=em();n-=(Math.floor((T-(null==(t=D[0])?void 0:t.pos)||0)/e)||0)*e}return n}function eC(){var e;let t;if(!f||!g)return;H=ep();let n=new Set,l=[],i=D[C],o=c.setTransform;for(let o of $){let r=_.has(o.index),a=H.indexOf(o)>-1,s=(null==(e=null==i?void 0:i.slides)?void 0:e.indexOf(o))>-1;if(o.isVirtual&&!r&&!a)continue;let u=ey(o);if(u&&(l.push(o),s&&n.add(u),Y("adaptiveHeight")&&s)){let e=(u.firstElementChild||u).getBoundingClientRect().height;t=null==t?e:Math.max(t,e)}}g&&t&&(g.style.height=`${t}px`),[...en(g,`.${c.classes.slide}`)].forEach(e=>{Z(e,c.classes.isSelected,n.has(e));let t=F[parseInt(e.getAttribute("index")||"-1")];if(!t)return e.remove(),void ex(e);let l=_.has(t.index),i=H.indexOf(t)>-1;if(t.isVirtual&&!l&&!i)return void eb(t);if(e.inert=!i,!1===o)return;let r=t.pos?Math.round(1e4*t.pos)/1e4:0,a=0,s=0,u=0,d=0;l||(a=S?0:L?-1*r:r,s=S?r:0,u=ei(a,0,t.dim,0,100),d=ei(s,0,t.dim,0,100)),o instanceof Function&&!l?o(eI,t,{x:a,y:s,xPercent:u,yPercent:d}):e.style.transform=a||s?`translate3d(${u}%, ${d}%,0)`:""}),K("render",l)}function ej(){for(let e of(null==f||f.removeEventListener("click",eS),document.removeEventListener("mousemove",Q),_.clear(),null==o||o.disconnect(),o=void 0,F)){let t=e.el;t&&v(t)&&(e.state=void 0,eO(e),eT(e),e.isVirtual?(eb(e),e.el=void 0):(ex(t),t.style.transform="",g&&!g.contains(t)&&g.appendChild(t)))}for(let e of Object.values(d))null==e||e.destroy();for(let[e,t]of(d={},null==l||l.destroy(),l=void 0,null==i||i.destroy(),i=void 0,Object.entries(c.classes||{})))"container"!==e&&W(f,t);W(g,"is-draggable")}function ez(){return M||C>0}function ek(){return M||C<D.length-1}let eI={add:function(e,t){var n;let l=T,o=C,r=em(),a=(null==i?void 0:i.isRunning())?i.getEndValues().pos:T,s=r&&Math.floor((a-((null==(n=D[0])?void 0:n.pos)||0))/r)||0;
1return eh(e,t),et(I),ew(),i&&r&&(o===C&&(l-=s*r),l===j?T=j:i.spring({clamp:!0,mass:1,tension:300,friction:25,restDelta:1,restSpeed:1}).from({pos:l}).to({pos:j}).start()),eC(),eI},canGoPrev:ez,canGoNext:ek,destroy:function(){return K("destroy"),window.removeEventListener("resize",J),ej(),U.clear(),f=null,D=[],F=[],c=Object.assign({},ea),d={},$=[],a=void 0,I="*",s=2,eI},emit:K,filter:function(e="*"){return et(e),ew(),T=w(z,T,k),eC(),K("filter",e),eI},getContainer:function(){return f},getGapDim:function(){return G},getGestures:function(){return l},getLastMouseMove:function(){return es},getOption:function(e){return Y(e)},getOptions:function(){return c},getPage:function(){return D[C]},getPageIndex:function(e){if(void 0!==e){for(let t of D||[])for(let n of t.slides)if(n.index===e)return t.index;return -1}return C},getPageIndexFromPosition:eg,getPageProgress:function(e,t){var n;void 0===e&&(e=C);let l=D[e];if(!l)return e>C?-1:1;let i=em(),o=G,r=l.pos,a=eR();if(M&&!0!==t){let e=Math.floor((a-(null==(n=D[0])?void 0:n.pos))/i)||0;a-=e*i,r=[r+i,r,r-i].reduce(function(e,t){return Math.abs(t-a)<Math.abs(e-a)?t:e})}return(a-r)/(l.dim+o)||0},getPageVisibility:function(e){var t;void 0===e&&(e=C);let n=D[e];if(!n)return e>C?-1:1;let l=eR(),i=m,o=n.pos;if(M){let e=em(),n=o+(Math.floor((l-(null==(t=D[0])?void 0:t.pos))/e)||0)*e;o=[n+e,n,n-e].reduce(function(e,t){return Math.abs(t-l)<Math.abs(e-l)?t:e})}return o>l&&o+n.dim<l+i?1:o<l?(o+n.dim-l)/n.dim||0:o+n.dim>l+i&&(l+i-o)/n.dim||0},getPages:function(){return D},getPlugins:function(){return d},getPosition:eR,getSlides:function(){return F},getState:function(){return s},getTotalSlideDim:em,getTween:function(){return i},getViewport:function(){return g},getViewportDim:function(){return m},getVisibleSlides:function(e){return void 0===e?H:ep(e)},goTo:eA,hasNavigated:function(){return void 0!==r},hideError:eT,hideLoading:eO,init:function(){if(!e||!v(e))throw Error("No Element found");return 0!==s&&(ej(),s=0),f=e,u=t,window.removeEventListener("resize",J),u.breakpoints&&window.addEventListener("resize",J),J(),eI},isInfinite:function(){return M},isInTransition:function(){return _.size>0},isRTL:function(){return L},isSettled:function(){return P},isVertical:function(){return S},localize:function(e,t=[]){return X(e,t)},next:function(e={}){return eA(C+1,e),eI},off:function(e,t){for(let n of e instanceof Array?e:[e])U.has(n)&&U.set(n,U.get(n).filter(e=>e!==t));return eI},on:function(e,t){for(let n of e instanceof Array?e:[e])U.set(n,[...U.get(n)||[],t]);return eI},prev:function(e={}){return eA(C-1,e),eI},reInit:function(e={},l){return ej(),s=0,a=void 0,I="*",t=e,u=e,x(l)&&(n=l),J(),eI},remove:function(e){void 0===e&&(e=F.length-1);let t=F[e];return t&&(K("removeSlide",t),t.el&&(ex(t.el),t.el.remove(),t.el=void 0),F.splice(e,1),et(I),ew(),T=w(z,T,k),eC()),eI},setPosition:function(e){T=e,eo(),eC()},showError:function(e,t){eO(e),eT(e);let n=e.el;if(n){let l=document.createElement("div");B(l,"f-html"),B(l,"is-error"),l.innerHTML=X(t||"<p>{{ERROR}}</p>"),e.htmlEl=l,B(n,"has-html"),B(n,"has-error"),n.insertAdjacentElement("afterbegin",l),K("contentReady",e)}return eI},showLoading:function(e){let t=e.el,n=null==t?void 0:t.querySelector(".f-spinner");if(!t||n)return eI;let l=E(Y("spinnerTpl"));return l&&(B(l,"f-spinner"),t.insertAdjacentElement("beforeend",l)),eI},version:"6.1.7"};return eI};ec.l10n={en_EN:eo},ec.getDefaults=()=>ea;let ed=(e=!0,t="--f-scrollbar-compensate",n="--f-body-margin",l="hide-scrollbar")=>{let i=document,o=i.body,r=i.documentElement;if(e){if(o.classList.contains(l))return;let e=window.innerWidth-r.getBoundingClientRect().width;e<0&&(e=0),r.style.setProperty(t,`${e}px`);let i=parseFloat(window.getComputedStyle(o).marginRight);i&&o.style.setProperty(n,`${i}px`),o.classList.add(l)}else o.classList.remove(l),o.style.setProperty(n,""),i.documentElement.style.setProperty(t,"")};function ef(){return!("u"<typeof window||!window.document||!window.document.createElement)}let eg=function(e="",t="",n=""){return e.split(t).join(n)},em={tpl:e=>`<img class="f-panzoom__content" 2 ${e.srcset?'data-lazy-srcset="{{srcset}}"':""} 3 ${e.sizes?'data-lazy-sizes="{{sizes}}"':""} 4 data-lazy-src="{{src}}" alt="{{alt}}" />`},ep=()=>{let e;function t(t,n){let l=null==e?void 0:e.getOptions().Zoomable,i=(x(l)?Object.assign(Object.assign({},em),l):em)[t];return i&&"function"==typeof i&&n?i(n):i}function n(){e&&!1!==e.getOptions().Zoomable&&(e.on("addSlide",r),e.on("removeSlide",a),e.on("attachSlideEl",s),e.on("click",o),e.on("change",l),e.on("ready",l))}function l(){u();let t=(null==e?void 0:e.getVisibleSlides())||[];if(t.length>1||"slide"===(null==e?void 0:e.getOption("transition")))for(let n of t){let t=n.panzoomRef;t&&0>((null==e?void 0:e.getPage().slides)||[]).indexOf(n)&&t.execute(i.ZoomTo,Object.assign({},t.getStartPosition()))}}function o(e,t){let n=t.target;
4n&&!t.defaultPrevented&&n.dataset.panzoomAction&&c(n.dataset.panzoomAction)}function r(n,l){let i=l.el;if(!e||!i||l.panzoomRef)return;let o=l.src||l.lazySrc||"",r=l.alt||l.caption||`Image #${l.index}`,a=l.srcset||l.lazySrcset||"",s=l.sizes||l.lazySizes||"";if(o&&h(o)&&!l.html&&(!l.type||"image"===l.type)){l.type="image",l.thumbSrc=l.thumbSrc||o;let e=t("tpl",l);e=eg(e,"{{src}}",o+""),e=eg(e,"{{srcset}}",a+""),e=eg(e,"{{sizes}}",s+""),i.insertAdjacentHTML("afterbegin",e)}let c=i.querySelector(".f-panzoom__content");if(!c)return;c.setAttribute("alt",r+"");let d=et(i,Object.assign({width:l.width&&"auto"!==l.width?parseFloat(l.width+""):"auto",height:l.height&&"auto"!==l.height?parseFloat(l.height+""):"auto",classes:{container:"f-zoomable"},event:()=>null==e?void 0:e.getLastMouseMove(),spinnerTpl:()=>(null==e?void 0:e.getOption("spinnerTpl"))||""},t("Panzoom")));d.on("*",(t,n,...i)=>{e&&("loading"===n&&(l.state=0),"loaded"===n&&(l.state=1),"error"===n&&(l.state=2,null==e||e.showError(l,"{{IMAGE_ERROR}}")),e.emit(`panzoom:${n}`,l,...i),"ready"===n&&e.emit("contentReady",l),l.index===(null==e?void 0:e.getPageIndex())&&u())}),l.panzoomRef=d}function a(e,t){t.panzoomRef&&(t.panzoomRef.destroy(),t.panzoomRef=void 0)}function s(e,t){let n=t.panzoomRef;if(n)switch(n.getState()){case 0:n.init();break;case 3:n.execute(i.ZoomTo,Object.assign(Object.assign({},n.getStartPosition()),{velocity:0}))}}function u(){var t,n;let l=(null==e?void 0:e.getContainer())||void 0,i=null==(n=null==(t=null==e?void 0:e.getPage())?void 0:t.slides[0])?void 0:n.panzoomRef;if(l)if(i)i.updateControls(l);else for(let e of l.querySelectorAll("[data-panzoom-action]")||[])e.setAttribute("aria-disabled",""),e.setAttribute("tabindex","-1")}function c(t,...n){var l;null==(l=null==e?void 0:e.getPage().slides[0].panzoomRef)||l.execute(t,...n)}return{init:function(t){(e=t).on("initPlugins",n)},destroy:function(){if(e)for(let t of(e.off("initPlugins",n),e.off("addSlide",r),e.off("removeSlide",a),e.off("attachSlideEl",s),e.off("click",o),e.off("change",l),e.off("ready",l),e.getSlides()))a(0,t);e=void 0},execute:c}},eh={syncOnChange:!1,syncOnClick:!0,syncOnHover:!1},ev=()=>{let e,t;function n(){let t=null==e?void 0:e.getOptions().Sync;return x(t)?Object.assign(Object.assign({},eh),t):eh}function l(){var l,d,f;let g=n().target;e&&g&&e&&g&&(t=g,e.getOptions().classes=Object.assign(Object.assign({},e.getOptions().classes),{isSelected:""}),e.getOptions().initialSlide=(null==(d=null==(l=t.getPage())?void 0:l.slides[0])?void 0:d.index)||0,n().syncOnChange&&e.on("change",o),n().syncOnClick&&e.on("click",a),n().syncOnHover&&(null==(f=e.getViewport())||f.addEventListener("mouseover",s)),e&&t&&(e.on("ready",i),e.on("refresh",u),t.on("change",r),t.on("filter",c)))}function i(){d()}function o(){var n;if(e&&t){let l=(null==(n=e.getPage())?void 0:n.slides)||[],i=t.getPageIndex(l[0].index||0);i>-1&&t.goTo(i,e.hasNavigated()?void 0:{tween:!1,transition:!1}),d()}}function r(){var n;if(e&&t){let l=e.getPageIndex((null==(n=t.getPage())?void 0:n.slides[0].index)||0);l>-1&&e.goTo(l,t.hasNavigated()?void 0:{tween:!1,transition:!1}),d()}}function a(n,l){var i;if(!e||!t||(null==(i=e.getTween())?void 0:i.isRunning()))return;let o=null==e?void 0:e.getOptions().classes.slide;if(!o)return;let r=o?l.target.closest(`.${o}`):null;
4if(r){let e=parseInt(r.getAttribute("index")||"")||0,n=t.getPageIndex(e);t.goTo(n)}}function s(t){e&&a(0,t)}function u(){var n;if(e&&t){let l=e.getPageIndex((null==(n=t.getPage())?void 0:n.slides[0].index)||0);l>-1&&e.goTo(l,{tween:!1,transition:!1}),d()}}function c(n,l){e&&t&&(e.filter(l),r())}function d(){var n,l,i;if(!t)return;let o=(null==(l=null==(n=t.getPage())?void 0:n.slides[0])?void 0:l.index)||0;for(let t of(null==e?void 0:e.getSlides())||[])null==(i=t.el)||i.classList.toggle("is-selected",t.index===o)}return{init:function(t){(e=t).on("initSlides",l)},destroy:function(){var n;null==e||e.off("ready",i),null==e||e.off("refresh",u),null==e||e.off("change",o),null==e||e.off("click",a),null==(n=null==e?void 0:e.getViewport())||n.removeEventListener("mouseover",s),null==t||t.off("change",r),null==t||t.off("filter",c),t=void 0,null==e||e.off("initSlides",l),e=void 0},getTarget:function(){return t}}},ey={showLoading:!0,preload:1},eb="is-lazyloading",eE="is-lazyloaded",ew="has-lazyerror",ex=()=>{let e;function t(){let t=null==e?void 0:e.getOptions().Lazyload;return x(t)?Object.assign(Object.assign({},ey),t):ey}function n(){if(!e)return;let n=[...e.getVisibleSlides()],l=t().preload;if(l>0){let t=e.getPosition(),i=e.getViewportDim();n.push(...e.getVisibleSlides(t+i*l),...e.getVisibleSlides(t-i*l))}for(let l of n)!function(n){var l;let i=n.el;if(!i)return;let o="[data-lazy-src],[data-lazy-srcset],[data-lazy-bg]",r=Array.from(i.querySelectorAll(o));for(let a of(i.matches(o)&&r.push(i),r)){let i=a.dataset.lazySrc,o=a.dataset.lazySrcset,r=a.dataset.lazySizes,s=a.dataset.lazyBg,u=(a instanceof HTMLImageElement||a instanceof HTMLSourceElement)&&(i||o),c=a instanceof HTMLElement&&s;if(!u&&!c)continue;let d=i||o||s;if(d){if(u&&d){let s=null==(l=a.parentElement)?void 0:l.classList.contains("f-panzoom__wrapper");t().showLoading&&(null==e||e.showLoading(n)),a.addEventListener("load",()=>{null==e||e.hideLoading(n),W(a,ew),a instanceof HTMLImageElement?a.decode().then(()=>{W(a,eb),B(a,eE)}):(W(a,eb),B(a,eE)),s||null==e||e.emit("lazyLoad:loaded",n,a,d)}),a.addEventListener("error",()=>{null==e||e.hideLoading(n),W(a,eb),B(a,ew),s||null==e||e.emit("lazyLoad:error",n,a,d)}),a.classList.add("f-lazyload"),a.classList.add(eb),s||null==e||e.emit("lazyLoad:load",n,a,d),i&&(a.src=i),o&&(a.srcset=o),r&&(a.sizes=r)}else c&&(document.body.contains(a)||(document.createElement("img").src=s),a.style.backgroundImage=`url('${s}')`);delete a.dataset.lazySrc,delete a.dataset.lazySrcset,delete a.dataset.lazySizes,delete a.dataset.lazyBg}}}(l)}return{init:function(t){(e=t).on("render",n)},destroy:function(){null==e||e.off("render",n),e=void 0}}},eM='<svg width="24" height="24" viewBox="0 0 24 24" tabindex="-1">',eL="</svg>",eS={prevTpl:eM+'<path d="M15 3l-9 9 9 9"></path>'+eL,nextTpl:eM+'<path d="M9 3l9 9-9 9"></path>'+eL},eO=()=>{let e,t,n;function l(){let t=null==e?void 0:e.getOptions().Arrows;return x(t)?Object.assign(Object.assign({},eS),t):eS}function i(t){if(!e)return;let n=`<button data-carousel-go-${t} tabindex="0" class="f-button is-arrow is-${t}" title="{{${t.toUpperCase()}}}">`+l()[`${t}Tpl`]+"</button",i=E(e.localize(n))||void 0;return i&&B(i,l()[`${t}Class`]),i}function o(){var l;null==t||t.remove(),t=void 0,null==n||n.remove(),n=void 0,null==(l=null==e?void 0:e.getContainer())||l.classList.remove("has-arrows")}function r(){e&&!1!==e.getOptions().Arrows&&e.getPages().length>1?(!function(){if(!e)return;let l=e.getViewport();l&&(t||(t=i("prev"))&&l.insertAdjacentElement("beforebegin",t),n||(n=i("next"))&&l.insertAdjacentElement("afterend",n),Z(e.getContainer(),"has-arrows",!(!t&&!n)))}(),e&&(null==t||t.toggleAttribute("aria-disabled",!e.canGoPrev()),null==n||n.toggleAttribute("aria-disabled",!e.canGoNext()))):o()}return{init:function(t){e=t.on(["change","refresh"],r)},destroy:function(){o(),null==e||e.off(["change","refresh"],r),e=void 0}}},eT='<circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/>',eP='<g><line x1="11" y1="8" x2="11" y2="14"></line></g>'+eT,eA={};for(let[e,t]of Object.entries({moveLeft:["moveLeft","MOVE_LEFT",'<path d="M5 12h14M5 12l6 6M5 12l6-6"/>'],moveRight:["moveRight","MOVE_RIGHT",'<path d="M5 12h14M13 18l6-6M13 6l6 6"/>'],moveUp:["moveUp","MOVE_UP",'<path d="M12 5v14M18 11l-6-6M6 11l6-6"/>'],moveDown:["moveDown","MOVE_DOWN",'<path d="M12 5v14M18 13l-6 6M6 13l6 6"/>'],zoomOut:["zoomOut","ZOOM_OUT",eT],zoomIn:["zoomIn","ZOOM_IN",eP],toggleFull:["toggleFull","TOGGLE_FULL",eP],iterateZoom:["iterateZoom","ITERATE_ZOOM",eP],toggle1to1:["toggleFull","TOGGLE_FULL",'<path d="M3.51 3.07c5.74.02 11.48-.02 17.22.02 1.37.1 2.34 1.64 2.18 3.13 0 4.08.02 8.16 0 12.23-.1 1.54-1.47 2.64-2.79 2.46-5.61-.01-11.24.02-16.86-.01-1.36-.12-2.33-1.65-2.17-3.14 0-4.07-.02-8.16 0-12.23.1-1.36 1.22-2.48 2.42-2.46Z"/><path d="M5.65 8.54h1.49v6.92m8.94-6.92h1.49v6.92M11.5 9.4v.02m0 5.18v0"/>'],rotateCCW:["rotateCCW","ROTATE_CCW",'<path d="M15 4.55a8 8 0 0 0-6 14.9M9 15v5H4M18.37 7.16v.01M13 19.94v.01M16.84 18.37v.01M19.37 15.1v.01M19.94 11v.01"/>'],rotateCW:["rotateCW","ROTATE_CW",'<path d="M9 4.55a8 8 0 0 1 6 14.9M15 15v5h5M5.63 7.16v.01M4.06 11v.01M4.63 15.1v.01M7.16 18.37v.01M11 19.94v.01"/>'],flipX:["flipX","FLIP_X",'<path d="M12 3v18M16 7v10h5L16 7M8 7v10
4H3L8 7"/>'],flipY:["flipY","FLIP_Y",'<path d="M3 12h18M7 16h10L7 21v-5M7 8h10L7 3v5"/>'],reset:["reset","RESET",'<path d="M20 11A8.1 8.1 0 0 0 4.5 9M4 5v4h4M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"/>'],toggleFS:["toggleFS","TOGGLE_FS",'<g><path d="M14.5 9.5 21 3m0 0h-6m6 0v6M3 21l6.5-6.5M3 21v-6m0 6h6"/></g><g><path d="m14 10 7-7m-7 7h6m-6 0V4M3 21l7-7m0 0v6m0-6H4"/></g>']}))eA[e]={tpl:`<button data-panzoom-action="${t[0]}" class="f-button" title="{{${t[1]}}}"><svg>${t[2]}</svg></button>`};(g=r||(r={})).Left="left",g.middle="middle",g.right="right";let eR=Object.assign({counter:{tpl:'<div class="f-counter"><span data-carousel-page></span>/<span data-carousel-pages></span></div>'},download:{tpl:'<button data-carousel-download class="f-button" title="{{DOWNLOAD}}"><svg><path d="M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2M7 11l5 5 5-5M12 4v12"/></svg></button>'},autoplay:{tpl:'<button data-autoplay-action="toggle" class="f-button" title="{{TOGGLE_AUTOPLAY}}"><svg><g><path d="M5 3.5 19 12 5 20.5Z"/></g><g><path d="M8 4v15M17 4v15"/></g></svg></button>'},thumbs:{tpl:'<button data-thumbs-action="toggle" class="f-button" title="{{TOGGLE_THUMBS}}"><svg><rect width="18" height="14" x="3" y="3" rx="2"/><path d="M4 21h1M9 21h1M14 21h1M19 21h1"/></svg></button>'}},eA),eC={absolute:!1,display:{left:[],middle:["zoomIn","zoomOut","toggle1to1","rotateCCW","rotateCW","flipX","flipY","reset"],right:[]},enabled:"auto",items:{}},ej=()=>{let e,t;function n(t){let n=null==e?void 0:e.getOptions().Toolbar,l=(x(n)?Object.assign(Object.assign({},eC),n):eC)[t];return l&&"function"==typeof l&&e?l(e):l}function l(){var l,i;if(!(null==e?void 0:e.getOptions().Toolbar)||!e||t)return;let o=e.getContainer();if(!o)return;let r=n("enabled");if(!r)return;let a=n("absolute"),s=e.getSlides().length>1,u=!1,c=!1;for(let t of e.getSlides())t.panzoomRef&&(u=!0),(t.downloadSrc||"image"===t.type&&t.src)&&(c=!0);let d=(null==(l=e.getPlugins().Thumbs)?void 0:l.isEnabled())||!1,f=s&&e.getPlugins().Autoplay||!1,g=e.getPlugins().Fullscreen&&(document.fullscreenEnabled||document.webkitFullscreenEnabled);if("auto"===r&&(r=u),!r)return;(t=o.querySelector(".f-carousel__toolbar")||void 0)||(t=document.createElement("div")).classList.add("f-carousel__toolbar");let m=n("display"),p=el({},eR,n("items"));for(let n of["left","middle","right"]){let l=m[n]||[],i=document.createElement("div");for(let t of(i.classList.add("f-carousel__toolbar__column"),i.classList.add(`is-${n}`),l)){let n;if(h(t)){if("counter"===t&&!s||"autoplay"===t&&!f||eA[t]&&!u||"fullscreen"===t&&!g||"thumbs"===t&&!d||"download"===t&&!c)continue;n=p[t]}if(x(t)&&(n=t),n&&n.tpl){let t=e.localize(n.tpl),l=E(t=t.split("<svg>").join('<svg tabindex="-1" width="24" height="24" viewBox="0 0 24 24">'));l&&("function"==typeof n.click&&e&&l.addEventListener("click",t=>{t.preventDefault(),t.stopPropagation(),"function"==typeof n.click&&e&&n.click(e,t)}),i.append(l))}}t.append(i)}if(t.childElementCount){if(a&&t.classList.add("is-absolute"),!t.parentElement){let l=n("parentEl");l?l.insertAdjacentElement("afterbegin",t):null==(i=e.getViewport())||i.insertAdjacentElement("beforebegin",t)}o.contains(t)&&o.classList.add("has-toolbar")}}return{init:function(t){null==(e=t)||e.on("initSlides",l)},destroy:function(){var n;null==e||e.off("initSlides",l),null==(n=null==e?void 0:e.getContainer())||n.classList.remove("has-toolbar"),null==t||t.remove(),t=void 0},add:function(e,t){eR[e]=t},isEnabled:function(){return!!t}}},ez={autoStart:!0,pauseOnHover:!0,showProgressbar:!0,timeout:2e3},ek=()=>{let e,t,n=!1,l=!1,i=!1,o=null;function r(t){let n=null==e?void 0:e.getOptions().Autoplay,l=(x(n)?Object.assign(Object.assign({},ez),n):ez)[t];return l&&"function"==typeof l&&e?l(e):l}function a(){clearTimeout(t),t=void 0}function s(){!e||!n||i||l||t||!e.isSettled()||function(){var t;for(let n of(null==(t=null==e?void 0:e.getPage())?void 0:t.slides)||[])if(0===n.state)return!0;return!1}()||(!function(){var t,n,l,i;if(!e||(d(),!r("showProgressbar")))return;let a=r("progressbarParentEl");if(!a&&(null==(t=e.getPlugins().Toolbar)?void 0:t.isEnabled())&&(a=e.getContainer()),!a&&!0!==(null==(n=e.getPlugins().Toolbar)?void 0:n.isEnabled())){let t=(null==(l=e.getPages()[0])?void 0:l.slides)||[],n=(null==(i=e.getPage())?void 0:i.slides)||[];1===t.length&&1===n.length&&(a=n[0].el)}if(a||(a=e.getViewport()),!a)return;B(o=document.createElement("div"),"f-progressbar"),a.prepend(o);let s=r("timeout")||1e3;o.style.animationDuration=`${s}ms`}(),t=setTimeout(()=>{e&&n&&!l&&(e.isInfinite()||e.getPageIndex()!==e.getPages().length-1?e.next():e.goTo(0))},r("timeout")))}function u(){var t;if(!e||e.getPages().length<2||!1===e.getOptions().Autoplay||n)return;n=!0,e.emit("autoplay:start",r("timeout")),B(e.getContainer(),"has-autoplay"),null==(t=e.getTween())||t.on("start",v);let l=null==e?void 0:e.getContainer();l&&r("pauseOnHover")&&matchMedia("(hover: hover)").matches&&(l.addEventListener("mouseenter",y,!1),l.addEventListener("mouseleave",b,!1)),e.on("change",p),e.on("settle",h),e.on("contentReady",g),e.on("panzoom:touchStart",c),e.on("panzoom:wheel",c),e.isSettled()&&s()}function c(){var t;
4if(a(),d(),e){if(n){e.emit("autoplay:end"),null==(t=e.getTween())||t.off("start",v);let n=e.getContainer();n&&(n.classList.remove("has-autoplay"),n.removeEventListener("mouseenter",y,!1),n.removeEventListener("mouseleave",b,!1))}e.off("change",p),e.off("settle",h),e.off("contentReady",g),e.off("panzoom:touchStart",c),e.off("panzoom:wheel",c)}n=!1,l=!1}function d(){o&&(o.remove(),o=null)}function f(){e&&e.getPages().length>1&&r("autoStart")&&u()}function g(){s()}function m(e,t){let n=t.target;n&&!t.defaultPrevented&&"toggle"===n.dataset.autoplayAction&&E.toggle()}function p(){e&&((null==e?void 0:e.isInfinite())||e.getPageIndex()!==e.getPages().length-1)?(d(),a()):c()}function h(){s()}function v(){a(),d()}function y(){i=!0,n&&(d(),a())}function b(){i=!1,n&&!l&&(null==e?void 0:e.isSettled())&&s()}let E={init:function(t){(e=t).on("ready",f),e.on("click",m)},destroy:function(){c(),null==e||e.off("ready",f),null==e||e.off("click",m),e=void 0},isEnabled:()=>n,pause:function(){l=!0,a()},resume:function(){l=!1,n&&!i&&s()},start(){u()},stop(){c()},toggle(){n?c():u()}};return E},eI={Carousel:{Lazyload:{showLoading:!1}},minCount:2,showOnStart:!0,thumbTpl:'<button aria-label="Slide to #{{page}}"><img draggable="false" alt="{{alt}}" data-lazy-src="{{src}}" /></button>',type:"modern"},eF=()=>{let e,t,n,l,i,o=0,r=0,a=!0;function s(t){let n=null==e?void 0:e.getOptions().Thumbs,l=(x(n)?Object.assign(Object.assign({},eI),n):eI)[t];return l&&"function"==typeof l&&e?l(e):l}function u(){if(!e||!1===(null==e?void 0:e.getOptions().Thumbs))return!1;let t=0;for(let n of e.getSlides())n.thumbSrc&&t++;return t>=s("minCount")}function c(){return"modern"===s("type")}function d(){return"scrollable"===s("type")}function f(){let t=[];for(let n of(null==e?void 0:e.getSlides())||[])t.push({index:n.index,class:n.thumbClass,html:g(n)});return t}function g(e){let t=e.thumb?e.thumb instanceof HTMLImageElement?e.thumb.src:e.thumb:e.thumbSrc||void 0,n=void 0===e.thumbAlt?`Thumbnail #${(e.index||0)+1}`:e.thumbAlt+"",l=s("thumbTpl");return l=eg(l,"{{alt}}",n),l=eg(l,"{{src}}",t+""),l=eg(l,"{{index}}",`${e.index||0}`),l=eg(l,"{{page}}",`${(e.index||0)+1}`)}function m(e){return`<div index="${e.index||0}" class="f-thumbs__slide ${e.class||""}">${e.html||""}</div>`}function h(t=!1){var l;let i=null==e?void 0:e.getContainer();if(!e||!i||n||!u())return;let o=(null==(l=s("Carousel"))?void 0:l.classes)||{};if(o.container=o.container||"f-thumbs",!n){let e=i.nextElementSibling;(null==e?void 0:e.classList.contains(o.container))&&(n=e)}if(!n){n=document.createElement("div");let e=s("parentEl");e?e.insertAdjacentElement("beforeend",n):i.insertAdjacentElement("afterend",n)}B(n,o.container),B(n,"f-thumbs"),B(n,`is-${s("type")}`),t&&B(n,"is-hidden")}function v(){if(!n||!d())return;B(l=document.createElement("div"),"f-thumbs__viewport");let t="";for(let e of f())"string"==typeof(e.html||"")&&(t+=m(e));l.innerHTML=t,n.append(l),n.addEventListener("click",t=>{t.preventDefault();let n=t.target.closest("[index]"),l=parseInt((null==n?void 0:n.getAttribute("index"))||"-1");e&&l>-1&&e.goTo(l)}),i=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&e.target instanceof HTMLImageElement&&(e.target.src=e.target.getAttribute("data-lazy-src")+"",e.target.removeAttribute("data-lazy-src"),null==i||i.unobserve(e.target))})},{root:l,rootMargin:"100px"}),n.querySelectorAll("[data-lazy-src]").forEach(e=>{null==i||i.observe(e)}),null==e||e.emit("thumbs:ready")}function y(){var l;if(!p||!e||!n||d()||t)return;let i=f();if(!i.length)return;let u=el({},{Sync:{target:e},Lazyload:{preload:1},slides:i,classes:{container:"f-thumbs",viewport:"f-thumbs__viewport",slide:"f-thumbs__slide"},center:!0,fill:!c(),infinite:!1,dragFree:!0,rtl:e.getOptions().rtl||!1,slidesPerPage:e=>{let t=0;return c()&&(!function(){if(!c()||!n)return;let e=e=>n&&parseFloat(getComputedStyle(n).getPropertyValue("--f-thumb-"+e))||0;o=e("width"),r=e("clip-width")}(),t=4*(o-r)),e&&e.getTotalSlideDim()<=e.getViewportDim()-t?1/0:1}},eI.Carousel||{},s("Carousel")||{});(t=p(n,u,{Sync:ev,Lazyload:ex})).on("ready",()=>{B(n,"is-syncing"),null==e||e.emit("thumbs:ready"),c()&&(null==e||e.on("render",S))}),t.on("destroy",()=>{null==e||e.emit("thumbs:destroy")}),t.init(),null==(l=t.getGestures())||l.on("start",()=>{a=!1}),t.on("click",(e,t)=>{let n=t.target;if(n){let e=n.matches("button")?n:n.firstElementChild;e&&e.matches("button")&&(t.preventDefault(),e.focus({preventScroll:!0}))}}),B(e.getContainer(),"has-thumbs"),j()}function b(){u()&&s("showOnStart")&&(h(),v())}function M(){var t;u()&&(y(),null==e||e.on("addSlide",T),null==e||e.on("removeSlide",P),null==e||e.on("click",A),null==e||e.on("refresh",R),null==(t=null==e?void 0:e.getGestures())||t.on("start",L),C(!0))}function L(){var e,t;
4a=!0,(null==(e=document.activeElement)?void 0:e.closest(".f-thumbs"))&&(null==(t=document.activeElement)||t.blur())}function S(){var l,i;null==n||n.classList.toggle("is-syncing",!1===(null==e?void 0:e.hasNavigated())||(null==(l=null==e?void 0:e.getTween())?void 0:l.isRunning())),j(),(null==(i=null==e?void 0:e.getGestures())?void 0:i.isPointerDown())&&function(){if(!c()||!e||!t||!a)return;let n=t.getTween(),l=t.getPages(),i=e.getPageIndex()||0,s=e.getPageProgress()||0;if(!(e&&l&&l[i]&&n))return;let u=n.isRunning()?n.getCurrentValues().pos:t.getPosition();if(void 0===u)return;let d=l[i].pos+s*(o-r);d=w(l[0].pos,d,l[l.length-1].pos),n.from({pos:u}).to({pos:d}).start()}()}function O(){a=!0,C()}function T(e,n){let o={html:g(n)};if(t)t.add(o,n.index);else if(l){let e=E(m(o));if(e){l.append(e);let t=e.querySelector("img");t&&(null==i||i.observe(t))}}}function P(e,n){var i;t?t.remove(n.index):l&&(null==(i=l.querySelector(`[index="${n.index}"]`))||i.remove())}function A(e,t){var l;let i=t.target;t.defaultPrevented||"toggle"!==(null==(l=null==i?void 0:i.dataset)?void 0:l.thumbsAction)||(n||(h(!0),v(),y()),n&&n.classList.toggle("is-hidden"))}function R(){C()}function C(t=!1){if(!e||!l||!d())return;let n=e.getPageIndex();l.querySelectorAll(".is-selected").forEach(e=>{e.classList.remove("is-selected")});let i=l.querySelector(`[index="${n}"]`);if(i){i.classList.add("is-selected");let e=l.getBoundingClientRect(),n=i.getBoundingClientRect(),o=i.offsetTop-l.offsetTop-.5*e.height+.5*n.height,r=i.scrollLeft-l.scrollLeft-.5*e.width+.5*n.width;l.scrollTo({top:o,left:r,behavior:t?"instant":"smooth"})}}function j(){if(!c()||!e||!t)return;let n=(null==t?void 0:t.getSlides())||[],l=-.5*o;for(let t of n){let n=t.el;if(!n)continue;let i=e.getPageProgress(t.index)||0;(i=Math.max(-1,Math.min(1,i)))>-1&&i<1&&(l+=.5*o*(1-Math.abs(i))),i=Math.round(1e4*i)/1e4,l=Math.round(1e4*l)/1e4,n.style.setProperty("--progress",`${Math.abs(i)}`),n.style.setProperty("--shift",`${(null==e?void 0:e.isRTL())?-1*l:l}px`),i>-1&&i<1&&(l+=.5*o*(1-Math.abs(i)))}}return{init:function(t,n){p=n,(e=t).on("ready",M),e.on("initSlides",b),e.on("change",O)},destroy:function(){var l,i;d()&&(null==e||e.emit("thumbs:destroy")),null==e||e.off("ready",M),null==e||e.off("initSlides",b),null==e||e.off("change",O),null==e||e.off("render",S),null==e||e.off("addSlide",T),null==e||e.off("click",A),null==e||e.off("refresh",R),null==(l=null==e?void 0:e.getGestures())||l.off("start",L),null==(i=null==e?void 0:e.getContainer())||i.classList.remove("has-thumbs"),e=void 0,null==t||t.destroy(),t=void 0,null==n||n.remove(),n=void 0},getCarousel:function(){return t},getContainer:function(){return n},getType:function(){return s("type")},isEnabled:u}},e$={iframeAttr:{allow:"autoplay; fullscreen",scrolling:"auto"}},e_=()=>{let e;function t(e,t){let n=t.src;if(!h(n))return;let l=t.type;if(!l){if(l||("#"===n.charAt(0)?l="inline":n.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.((a)?png|avif|gif|jp(g|eg)|pjp(eg)?|jfif|svg|webp|bmp|ico|tif(f)?)((\?|#).*)?$)/i)?l="image":n.match(/\.(pdf)((\?|#).*)?$/i)?l="pdf":n.match(/\.(html|php)((\?|#).*)?$/i)&&(l="iframe")),!l){let e=n.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:(?:(?:maps\/(?:place\/(?:.*)\/)?\@(.*),(\d+.?\d+?)z))|(?:\?ll=))(.*)?/i);e&&(n=`https://maps.google.${e[1]}/?ll=${(e[2]?e[2]+"&z="+Math.floor(parseFloat(e[3]))+(e[4]?e[4].replace(/^\//,"&"):""):e[4]+"").replace(/\?/,"&")}&output=${e[4]&&e[4].indexOf("layer=c")>0?"svembed":"embed"}`,l="gmap")}if(!l){let e=n.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:maps\/search\/)(.*)/i);e&&(n=`https://maps.google.${e[1]}/maps?q=${e[2].replace("query=","q=").replace("api=1","")}&output=embed`,l="gmap")}t.src=n,t.type=l}}function n(t,n){"iframe"!==n.type&&"pdf"!==n.type&&"gmap"!==n.type||function(t){let n;if(!e||!t.el||!t.src)return;let l=document.createElement("iframe");for(let[t,i]of(l.classList.add("f-iframe"),Object.entries((x(n=null==e?void 0:e.getOptions().Html)?Object.assign(Object.assign({},e$),n):e$).iframeAttr||{})))l.setAttribute(t,i);l.onerror=()=>{e&&1===e.getState()&&e.showError(t,"{{IFRAME_ERROR}}")},l.src=t.src;let i=document.createElement("div");if(i.classList.add("f-html"),i.append(l),t.width){let e=`${t.width}`;e.match(/^\d+$/)&&(e+="px"),i.style.maxWidth=`${e}`}if(t.height){let e=`${t.height}`;e.match(/^\d+$/)&&(e+="px"),i.style.maxHeight=`${e}`}if(t.aspectRatio){let e=t.el.getBoundingClientRect();i.style.aspectRatio=`${t.aspectRatio}`,i.style[e.width>e.height?"width":"height"]="auto",i.style[e.width>e.height?"maxWidth":"maxHeight"]="none"}t.contentEl=l,t.htmlEl=i,t.el.classList.add("has-html"),t.el.classList.add("has-iframe"),t.el.classList.add(`has-${t.type}`),t.el.prepend(i),e.emit("contentReady",t)}(n)}function l(t,n){var l,i;"iframe"!==n.type&&"pdf"!==n.type&&"gmap"!==n.type||(null==e||e.hideError(n),null==(l=n.contentEl)||l.remove(),n.contentEl=void 0,null==(i=n.htmlEl)||i.remove(),n.htmlEl=void 0)}return{init:function(i){(e=i).on("addSlide",t),e.on("attachSlideEl",n),e.on("detachSlideEl",l)},destroy:function(){null==e||e.off("addSlide",t),null==e||e.off("attachSlideEl",n),null==e||e.off("detachSlideEl",l),e=void 0}}},eH=(e,t={})=>{let n=new URLSearchParams(new URL(e).search),l=new URLSearchParams;for(let[e,i]of[...n,...Object.entries(t)]){let t=i+"";if("t"===e){let e=t.match(/((\d*)m)?(\d*)s?/);e&&l.set("start",60*parseInt(e[2]||"0")+parseInt(e[3]||"0")+"")}else l.set(e,t)}let i=l+"",o=e.match(/#t=((.*)?\d+s)/);return o&&(i+=`#t=${o[1]}`),i},eD={autoplay:!1,html5videoTpl:'<video class="f-html5video" playsinline controls controlsList="nodownload" poster="{{poster}}">\n <source src="{{src}}" type="{{format}}" />Sorry, your browser doesn\'t support embedded videos.</video>',iframeAttr:{allow:"autoplay;
4 fullscreen",scrolling:"no",referrerPolicy:"strict-origin-when-cross-origin",credentialless:""},vimeo:{byline:1,color:"00adef",controls:1,dnt:1,muted:0},youtube:{controls:1,enablejsapi:1,nocookie:1,rel:0,fs:1}},eV=()=>{let e,t=!1;function n(){let t=null==e?void 0:e.getOptions().Video;return x(t)?Object.assign(Object.assign({},eD),t):eD}function l(){var t;return null==(t=null==e?void 0:e.getPage())?void 0:t.slides[0]}let i=t=>{var n;try{let l=JSON.parse(t.data);if("https://player.vimeo.com"===t.origin){if("ready"===l.event)for(let l of Array.from((null==(n=null==e?void 0:e.getContainer())?void 0:n.getElementsByClassName("f-iframe"))||[]))l instanceof HTMLIFrameElement&&l.contentWindow===t.source&&(l.dataset.ready="true")}else if(t.origin.match(/^https:\/\/(www.)?youtube(-nocookie)?.com$/)&&"onReady"===l.event){let e=document.getElementById(l.id);e&&(e.dataset.ready="true")}}catch(e){}};function o(e,t){let l=t.src;if(!h(l))return;let i=t.type;if(!i||"html5video"===i){let e=l.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i);e&&(i="html5video",t.html5videoFormat=t.html5videoFormat||"video/"+("ogv"===e[1]?"ogg":e[1]))}if(!i||"youtube"===i){let e=l.match(/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(?:watch\?(?:.*&)?v=|v\/|u\/|shorts\/|embed\/?)?(videoseries\?list=(?:.*)|[\w-]{11}|\?listType=(?:.*)&list=(?:.*))(?:.*)/i);if(e){let o=Object.assign(Object.assign({},n().youtube),t.youtube||{}),r=`www.youtube${o.nocookie?"-nocookie":""}.com`,a=eH(l,o),s=encodeURIComponent(e[2]);t.videoId=s,t.src=`https://${r}/embed/${s}?${a}`,t.thumb=t.thumb||`https://i.ytimg.com/vi/${s}/mqdefault.jpg`,i="youtube"}}if(!i||"vimeo"===i){let e=l.match(/^.+vimeo.com\/(?:\/)?(video\/)?([\d]+)((\/|\?h=)([a-z0-9]+))?(.*)?/);if(e){let o=eH(l,Object.assign(Object.assign({},n().vimeo),t.vimeo||{})),r=encodeURIComponent(e[2]),a=e[5]||"";t.videoId=r,t.src=`https://player.vimeo.com/video/${r}?${a?`h=${a}${o?"&":""}`:""}${o}`,i="vimeo"}}t.type=i}function r(t,l){"html5video"===l.type&&function(t){if(!e||!t.el||!t.src)return;let{el:l,src:i}=t;if(!l||!i)return;let o=t.html5videoTpl||n().html5videoTpl,r=t.html5videoFormat||n().html5videoFormat;if(!o)return;let a=t.poster||(t.thumb&&h(t.thumb)?t.thumb:""),s=E(o.replace(/\{\{src\}\}/gi,i+"").replace(/\{\{format\}\}/gi,r||"").replace(/\{\{poster\}\}/gi,a+""));if(!s)return;let u=document.createElement("div");u.classList.add("f-html"),u.append(s),t.contentEl=s,t.htmlEl=u,l.classList.add(`has-${t.type}`),l.prepend(u),c(t),e.emit("contentReady",t)}(l),"youtube"!==l.type&&"vimeo"!==l.type||function(t){if(!e||!t.el||!t.src)return;let l=document.createElement("iframe");for(let[e,i]of(l.classList.add("f-iframe"),l.setAttribute("id",`f-iframe_${t.videoId}`),Object.entries(n().iframeAttr||{})))l.setAttribute(e,i);l.onload=()=>{var n;e&&1===e.getState()&&"youtube"===t.type&&(null==(n=l.contentWindow)||n.postMessage(JSON.stringify({event:"listening",id:l.getAttribute("id")}),"*"))},l.onerror=()=>{e&&1===e.getState()&&(null==e||e.showError(t,"{{IFRAME_ERROR}}"))},l.src=t.src;let i=document.createElement("div");i.classList.add("f-html"),i.append(l),t.contentEl=l,t.htmlEl=i,t.el.classList.add("has-html"),t.el.classList.add("has-iframe"),t.el.classList.add(`has-${t.type}`),t.el.prepend(i),c(t),e.emit("contentReady",t)}(l)}function a(e,t){var n,l;"html5video"!==t.type&&"youtube"!==t.type&&"vimeo"!==t.type||(null==(n=t.contentEl)||n.remove(),t.contentEl=void 0,null==(l=t.htmlEl)||l.remove(),t.htmlEl=void 0),t.poller&&clearTimeout(t.poller)}function s(){t=!1}function u(){if(t)return;t=!0;let e=l();(e&&void 0!==e.autoplay?e.autoplay:n().autoplay)&&(function(){var e;let t=l(),n=null==t?void 0:t.el;if(n&&"html5video"===(null==t?void 0:t.type))try{let e=n.querySelector("video");if(e){let t=e.play();void 0!==t&&t.then(()=>{}).catch(t=>{e.muted=!0,e.play()})}}catch(e){}let i=null==t?void 0:t.htmlEl;i instanceof HTMLIFrameElement&&(null==(e=i.contentWindow)||e.postMessage('{"event":"command","func":"stopVideo","args":""}',"*"))}(),function(){let e=l(),t=null==e?void 0:e.type;if(!(null==e?void 0:e.el)||"youtube"!==t&&"vimeo"!==t)return;let n=()=>
4{if(e.contentEl&&e.contentEl instanceof HTMLIFrameElement&&e.contentEl.contentWindow){let t;if("true"===e.contentEl.dataset.ready)return(t="youtube"===e.type?{event:"command",func:"playVideo"}:{method:"play",value:"true"})&&e.contentEl.contentWindow.postMessage(JSON.stringify(t),"*"),void(e.poller=void 0);"youtube"===e.type&&(t={event:"listening",id:e.contentEl.getAttribute("id")},e.contentEl.contentWindow.postMessage(JSON.stringify(t),"*"))}e.poller=setTimeout(n,250)};n()}())}function c(e){let t=null==e?void 0:e.htmlEl;if(e&&t&&("html5video"===e.type||"youtube"===e.type||"vimeo"===e.type)){if(t.style.aspectRatio="",t.style.width="",t.style.height="",t.style.maxWidth="",t.style.maxHeight="",e.width){let n=`${e.width}`;n.match(/^\d+$/)&&(n+="px"),t.style.maxWidth=`${n}`}if(e.height){let n=`${e.height}`;n.match(/^\d+$/)&&(n+="px"),t.style.maxHeight=`${n}`}if(e.aspectRatio){let n=e.aspectRatio.split("/"),l=parseFloat(n[0].trim()),i=n[1]?parseFloat(n[1].trim()):0;t.offsetHeight;let o=t.getBoundingClientRect(),r=(l&&i?l/i:l)<(o.width||1)/(o.height||1);t.style.aspectRatio=`${e.aspectRatio}`,t.style.width=r?"auto":"",t.style.height=r?"":"auto"}}}function d(){c(l())}return{init:function(t){(e=t).on("addSlide",o),e.on("attachSlideEl",r),e.on("detachSlideEl",a),e.on("ready",u),e.on("change",s),e.on("settle",u),e.on("refresh",d),window.addEventListener("message",i)},destroy:function(){null==e||e.off("addSlide",o),null==e||e.off("attachSlideEl",r),null==e||e.off("detachSlideEl",a),null==e||e.off("ready",u),null==e||e.off("change",s),null==e||e.off("settle",u),null==e||e.off("refresh",d),window.removeEventListener("message",i),e=void 0}}},eq={autoStart:!1,btnTpl:'<button data-fullscreen-action="toggle" class="f-button" title="{{TOGGLE_FULLSCREEN}}"><svg><g><path d="M8 3H5a2 2 0 0 0-2 2v3M21 8V5a2 2 0 0 0-2-2h-3M3 16v3a2 2 0 0 0 2 2h3M16 21h3a2 2 0 0 0 2-2v-3"/></g><g><path d="M15 19v-2a2 2 0 0 1 2-2h2M15 5v2a2 2 0 0 0 2 2h2M5 15h2a2 2 0 0 1 2 2v2M5 9h2a2 2 0 0 0 2-2V5"/></g></svg></button>'},eN="in-fullscreen-mode",eB=()=>{let e;function t(t){let n=null==e?void 0:e.getOptions().Fullscreen,l=(x(n)?Object.assign(Object.assign({},eq),n):eq)[t];return l&&"function"==typeof l&&e?l(e):l}function n(){var n;null==(n=null==e?void 0:e.getPlugins().Toolbar)||n.add("fullscreen",{tpl:t("btnTpl")})}function l(){if(t("autoStart")){let e=o();e&&a(e)}}function i(e,t){let n=t.target;n&&!t.defaultPrevented&&"toggle"===n.dataset.fullscreenAction&&u()}function o(){return t("el")||(null==e?void 0:e.getContainer())||void 0}function r(){let e=document;return e.fullscreenEnabled?!!e.fullscreenElement:!!e.webkitFullscreenEnabled&&!!e.webkitFullscreenElement}function a(e){let t,n=document;return e||(e=n.documentElement),n.fullscreenEnabled?t=e.requestFullscreen():n.webkitFullscreenEnabled&&(t=e.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT)),t&&t.then(()=>{e.classList.add(eN)}),t}function s(){let e,t=document;return t.fullscreenEnabled?e=t.fullscreenElement&&t.exitFullscreen():t.webkitFullscreenEnabled&&(e=t.webkitFullscreenElement&&t.webkitExitFullscreen()),e&&e.then(()=>{var e;null==(e=o())||e.classList.remove(eN)}),e}function u(){if(r())s();else{let e=o();e&&a(e)}}return{init:function(t){(e=t).on("initPlugins",n),e.on("ready",l),e.on("click",i)},destroy:function(){null==e||e.off("initPlugins",n),null==e||e.off("ready",l),null==e||e.off("click",i)},exit:s,inFullscreen:r,request:a,toggle:u}},eW,eZ,eG=!1,eY=!1,eX=!1,eU=!1,eK=()=>{let e=new URL(document.URL).hash,t=e.slice(1).split("-"),n=t[t.length-1],l=n&&/^\+?\d+$/.test(n)&&parseInt(t.pop()||"1",10)||1;return{urlHash:e,urlSlug:t.join("-"),urlIndex:l}},eJ=()=>{let e=null==eW?void 0:eW.getInstance();return!(!e||1!=e.getState())},eQ=()=>{if(!eW||eJ())return;let{urlSlug:e,urlIndex:t}=eK();if(!e)return;let n=document.querySelector(`[data-slug="${e}"]`);n&&eW.fromTriggerEl(n),eJ()||(n=document.querySelectorAll(`[data-fancybox="${e}"]`)[t-1])&&eW.fromTriggerEl(n,{startIndex:t-1}),eJ()&&n&&!n.closest("[inert]")&&n.scrollIntoView({behavior:"instant",block:"center",inline:"center"})},e0=()=>{if(!eW||eX)return;let e=null==eW?void 0:eW.getInstance(),t=null==e?void 0:e.getCarousel();if(!1===(null==e?void 0:e.getOptions().Hash))return;let{urlSlug:n,urlIndex:l}=eK();if(e&&t){for(let e of t.getSlides()||[])if(n===e.slug||n===e.fancybox&&e.index===l-1)return eY=!1,void t.goTo(e.index);eU=!0,e.close(),eU=!1}eQ()},e1=()=>{eW&&(eZ=setTimeout(()=>{eG=!0,eQ(),eG=!1},300),window.addEventListener("hashchange",e0,!1))},e2=()=>{let e,t="auto",n="";function l(){var l,o,r;if(!e||!e.isTopMost()||!1===e.getOptions().Hash)return;if(eG){let t=e.getOptions().sync;t&&t.goTo((null==(l=null==e?void 0:e.getCarousel())?void 0:l.getPageIndex())||0,{transition:!1,tween:!1})}let a=e.getCarousel();if(!a)return;let{urlHash:s,urlSlug:u}=eK(),c=e.getSlide();if(!c)return;let d=c.slug||c.fancybox||"",f=parseInt(c.index+"",10)+1;if(!d)return;let g=c.slug?`#${c.slug}`:`#${d}-${f}`;2>((null==(r=null==(o=e.getCarousel())?void 0:o.getPages())?void 0:r.length)||0)&&(g=`#${d}`),s!==g&&(n=s),history.scrollRestoration&&(t=history.scrollRestoration,history.scrollRestoration="manual"),a.on("change",i
4);let m=d!==u;try{window.history[m?"pushState":"replaceState"]({},document.title,window.location.pathname+window.location.search+g),m&&(eY=!0)}catch(e){}}function i(){if(!e||!e.isTopMost()||!1===e.getOptions().Hash)return;let t=e.getSlide();if(!t)return;let n=t.slug||t.fancybox||"",l=t.index+1,i=t.slug?`#${t.slug}`:`#${n}-${l}`;eX=!0;try{window.history.replaceState({},document.title,window.location.pathname+window.location.search+i)}catch(e){}eX=!1}function o(){if(eU||!e||!e.isTopMost()||!1===e.getOptions().Hash)return;let t=e.getSlide();if(t&&t.fancybox){eX=!0;try{eY&&!function(){if(window.parent===window)return!1;try{var e=window.frameElement}catch(t){e=null}return null===e?"data:"===location.protocol:e.hasAttribute("sandbox")}()?window.history.back():window.history.replaceState({},document.title,window.location.pathname+window.location.search+n)}catch(e){}eX=!1}}return{init:function(t){clearTimeout(eZ),(e=t).on("ready",l),e.on("close",o)},destroy:function(){null==e||e.off("ready",l),null==e||e.off("close",o);let n=null==e?void 0:e.getCarousel();n&&n.off("change",i),e=void 0,history.scrollRestoration&&t&&(history.scrollRestoration=t)}}};e2.startFromUrl=eQ,e2.setup=function(e){eW||(eW=e,ef()&&(/complete|interactive|loaded/.test(document.readyState)?e1():document.addEventListener("DOMContentLoaded",e1)))};let e5=Object.assign(Object.assign({},eo),{CLOSE:"Close",NEXT:"Next",PREV:"Previous",MODAL:"You can close this modal content with the ESC key",ELEMENT_NOT_FOUND:"HTML Element Not Found",IFRAME_ERROR:"Error Loading Page"}),e4='<button class="f-button" title="{{CLOSE}}" data-fancybox-close><svg tabindex="-1" width="24" height="24" viewBox="0 0 24 24"><path d="M19.286 4.714 4.714 19.286M4.714 4.714l14.572 14.572" /></svg></button>';ej().add("close",{tpl:e4});let e3=e=>{e.cancelable&&e.preventDefault()},e6=(e=null,t="",n)=>{if(!e||!e.parentElement||!t)return void(n&&n());e7(e);let l=i=>{i.target===e&&e.dataset.animationName&&(e.removeEventListener("animationend",l),delete e.dataset.animationName,n&&n(),e.classList.remove(t))};e.dataset.animationName=t,e.addEventListener("animationend",l),B(e,t)},e7=e=>{e&&e.dispatchEvent(new CustomEvent("animationend",{bubbles:!1,cancelable:!0,currentTarget:e}))};(m=a||(a={}))[m.Init=0]="Init",m[m.Ready=1]="Ready",m[m.Closing=2]="Closing",m[m.Destroyed=3]="Destroyed";let e9={ajax:null,backdropClick:"close",Carousel:{},closeButton:"auto",closeExisting:!1,delegateEl:void 0,dragToClose:!0,fadeEffect:!0,groupAll:!1,groupAttr:"data-fancybox",hideClass:"f-fadeOut",hideScrollbar:!0,id:void 0,idle:!1,keyboard:{Escape:"close",Delete:"close",Backspace:"close",PageUp:"next",PageDown:"prev",ArrowUp:"prev",ArrowDown:"next",ArrowRight:"next",ArrowLeft:"prev"},l10n:e5,mainClass:"",mainStyle:{},mainTpl:'<dialog class="fancybox__dialog">\n <div class="fancybox__container" tabindex="0" aria-label="{{MODAL}}">\n <div class="fancybox__backdrop"></div>\n <div class="fancybox__carousel"></div>\n </div>\n </dialog>',modal:!0,on:{},parentEl:void 0,placeFocusBack:!0,showClass:"f-zoomInUp",startIndex:0,sync:void 0,theme:"dark",triggerEl:void 0,triggerEvent:void 0,zoomEffect:!0},e8=new Map,te=0,tt="with-fancybox";function tn(e,t={}){var n,l,i;if(!(e&&e instanceof Element))return;let o,r,a,s,u={};for(let[t,n]of tl.openers)if(t.contains(e))for(let[l,i]of n){let n;if(l){for(let i of t.querySelectorAll(l))if(i.contains(e)){n=i;break}if(!n)continue}for(let[l,c]of i){let i=null;try{i=e.closest(l)}catch(e){}i&&(r=t,a=n,o=i,s=l,el(u,c||{}))}}if(!r||!s||!o)return;let c=el({},e9,t,u,{triggerEl:o}),d=[].slice.call((a||r).querySelectorAll(s)),f=o.closest(".f-carousel"),g=null==f?void 0:f.carousel;if(g&&(!a||!f.contains(a))){let e=[];for(let t of null==g?void 0:g.getSlides()){let n=t.el;n&&(n.matches(s)?e.push(n):e.push(...[].slice.call(n.querySelectorAll(s))))}e.length&&(d=[...e],null==(n=g.getPlugins().Autoplay)||n.pause(),null==(l=g.getPlugins().Autoscroll)||l.pause(),c.sync=g)}if(!1===c.groupAll){let e=c.groupAttr,t=e&&o?o.getAttribute(`${e}`):"";d=e&&t?d.filter(n=>n.getAttribute(`${e}`)===t):[o]}if(!d.length)return;null==(i=c.triggerEvent)||i.preventDefault();let m=tl.getInstance();if(m){let e=m.getOptions().triggerEl;if(e&&d.indexOf(e)>-1)return}return Object.assign({},c.Carousel||{}).rtl&&(d=d.reverse()),o&&void 0===t.startIndex&&(c.startIndex=d.indexOf(o)),tl.fromNodes(d,c)}let tl={Plugins:{Hash:e2},version:"6.1.7",openers:new Map,bind:function(e,t,n,l){if(!ef())return;let i=document.body,o=null,r="[data-fancybox]",a={};e instanceof Element&&(i=e),h(e)&&h(t)?(o=e,r=t):h(t)&&h(n)?(o=t,r=n):h(t)?r=t:h(e)&&(r=e),"object"==typeof t&&(a=t||{}),"object"==typeof n&&(a=n||{}),"object"==typeof l&&(a=l||{}),function(e,t,n,l={}){if(!(e&&e instanceof Element&&n))return;let i=tl.openers.get(e)||new Map,o=i.get(t)||new Map;if(o.set(n,l),i.set(t,o),tl.openers.set(e,i),1===i.size&&e.addEventListener("click",tl.fromEvent),1===tl.openers.size)for(let e of Object.values(tl.Plugins)){let t=e.setup;"function"==typeof t&&t(tl)}}(i,o,r,a)},close:function(e=!0,...t){if(e)for(let e of e8.values())e.close(...t);else{let e=tl.getInstance();e&&e.close(...t)}},destroy:function(){let e;for(;e=tl.getInstance();)e.destroy();for(let e of tl.openers.keys())e.removeEventListener("click",tl.fromEvent);tl.openers.clear()},fromEvent:function(e){if(e.defaultPrevented||e.button&&0!==e.button||e.ctrlKey||e.metaKey||e.shiftKey)return;let t=e.composedPath()[0],n={triggerEvent:e};if(t.closest(".fancybox__container.is-hiding"))return e3(e),void e.stopPropagation();let l=t.closest("[data-fancybox-delegate]")||void 0;if(l){let e=l.dataset.fancyboxDelegate||"",i=document.querySelectorAll(`[data-fancybox="${e}"]`),o=parseInt(l.dataset.fancyboxIndex||"",10)||0;t=i[o]||i[0],el(n,{delegateEl:l,startIndex:o})}return tn(t,n)},fromNodes:function(e,t){t=el({},e9,t||{});let n=[],l=e=>e instanceof HTMLImageElement?e:e instanceof HTMLElement?e.querySelector("img:not([aria-hidden])"):void 0;for(let i of e){let o=i.dataset||{},r=t.delegateEl&&e.indexOf(i)===t.startIndex?t.delegateEl:void 0,a=l(r)||l(i)||void 0,s=o.src||i.getAttribute("href")||i.getAttribute("currentSrc")||i.getAttribute("src")||void 0,u=o.thumb||o.thumbSrc||(null==a?void 0:a.getAttribute("currentSrc"))||(null==a?void 0:a.getAttribute("src"))||(null==a?void 0:a.dataset.lazySrc)||void 0,c={src:s,alt:o.alt||(null==a?void 0:a.getAttribute("alt"))||void 0,thumbSrc:u,thumbEl:
4a,triggerEl:i,delegateEl:r};for(let e in o){let t=o[e]+"";t="false"!==t&&("true"===t||t),c[e]=t}n.push(c)}return tl.show(n,t)},fromSelector:function(e,t,n,l){if(!ef())return;let i=document.body,o=null,r="[data-fancybox]",a={};for(let[s,u]of(e instanceof Element&&(i=e),h(e)&&h(t)?(o=e,r=t):h(t)&&h(n)?(o=t,r=n):h(t)?r=t:h(e)&&(r=e),"object"==typeof t&&(a=t||{}),"object"==typeof n&&(a=n||{}),"object"==typeof l&&(a=l||{}),tl.openers))for(let[e,t]of u)for(let[n,l]of t)if(s===i&&e===o){let t=i.querySelector((e?`${e} `:"")+r);if(t&&t.matches(n))return tl.fromTriggerEl(t,a)}},fromTriggerEl:tn,getCarousel:function(){var e;return(null==(e=tl.getInstance())?void 0:e.getCarousel())||void 0},getDefaults:function(){return e9},getInstance:function(e){if(e){let t=e8.get(e);return t&&t.getState()!==a.Destroyed?t:void 0}return Array.from(e8.values()).reverse().find(e=>{if(e.getState()!==a.Destroyed)return e})||void 0},getSlide:function(){var e;return(null==(e=tl.getInstance())?void 0:e.getSlide())||void 0},show:function(e=[],t={}){return(()=>{let e,t,n,l,o,r,s,u=a.Init,c=Object.assign({},e9),d=-1,f={},g=[],m=!1,p=!0,y=0;function w(e,...t){let n=c[e];return n&&"function"==typeof n?n(eg,...t):n}function M(e,t=[]){let n=w("l10n")||{};e=String(e).replace(/\{\{(\w+)\}\}/g,(e,t)=>n[t]||e);for(let n=0;n<t.length;n++)e=e.split(t[n][0]).join(t[n][1]);return e.replace(/\{\{(.*?)\}\}/g,(e,t)=>t)}let L=new Map;function S(e,...t){let n=[...L.get(e)||[]];for(let[t,l]of Object.entries(c.on||{}))(t===e||t.split(" ").indexOf(e)>-1)&&n.push(l);for(let e of n)e&&"function"==typeof e&&e(eg,...t);"*"!==e&&S("*",e,...t)}function O(){W(t,"is-revealing");try{document.activeElement===e&&((null==t?void 0:t.querySelector("[autofocus]"))||t).focus()}catch(e){}}function T(e,t){var n;N(t),$(),null==(n=t.el)||n.addEventListener("click",C),"inline"!==t.type&&"clone"!==t.type||function(e){if(!l||!e||!e.el)return;let t=null;if(h(e.src)){let n=e.src.split("#",2).pop();t=n?document.getElementById(n):null}if(t){if(B(t,"f-html"),"clone"===e.type||t.closest(".fancybox__carousel")){let n=(t=t.cloneNode(!0)).dataset.animationName;n&&(t.classList.remove(n),delete t.dataset.animationName);let l=t.getAttribute("id");l=l?`${l}--clone`:`clone-${d}-${e.index}`,t.setAttribute("id",l)}else if(t.parentNode){let n=document.createElement("div");n.inert=!0,t.parentNode.insertBefore(n,t),e.placeholderEl=n}e.htmlEl=t,B(e.el,"has-html"),e.el.prepend(t),t.classList.remove("hidden"),"none"===t.style.display&&(t.style.display=""),"none"===getComputedStyle(t).getPropertyValue("display")&&(t.style.display=t.dataset.display||"flex"),null==l||l.emit("contentReady",e)}else null==l||l.showError(e,"{{ELEMENT_NOT_FOUND}}")}(t),"ajax"===t.type&&function(e){let t=e.el;if(!t||e.htmlEl||e.xhr)return;null==l||l.showLoading(e),e.state=0;let n=new XMLHttpRequest;n.onreadystatechange=function(){if(n.readyState===XMLHttpRequest.DONE&&u===a.Ready)if(null==l||l.hideLoading(e),e.state=1,200===n.status){let i=n.responseText+"",o=null,r=null;if(e.filter){let t=document.createElement("div");t.innerHTML=i,r=t.querySelector(e.filter+"")}r&&r instanceof HTMLElement?o=r:(o=document.createElement("div")).innerHTML=i,o.classList.add("f-html"),e.htmlEl=o,t.classList.add("has-html"),t.classList.add("has-ajax"),t.prepend(o),null==l||l.emit("contentReady",e)}else null==l||l.showError(e)};let i=w("ajax")||null;n.open(i?"POST":"GET",e.src+""),n.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),n.setRequestHeader("X-Requested-With","XMLHttpRequest"),n.send(i),e.xhr=n}(t)}function P(e,t){var n;let l,i;G(t),null==(n=t.el)||n.removeEventListener("click",C),"inline"!==t.type&&"clone"!==t.type||(l=t.htmlEl,i=t.placeholderEl,l&&("none"!==getComputedStyle(l).getPropertyValue("display")&&(l.style.display="none"),l.offsetHeight),i&&(l&&i.parentNode&&i.parentNode.insertBefore(l,i),i.remove()),t.htmlEl=void 0,t.placeholderEl=void 0),t.xhr&&(t.xhr.abort(),t.xhr=void 0)}function C(e){if(!U())return;if(u!==a.Ready)return e3(e),void e.stopPropagation();if(e.defaultPrevented||!q.isClickAllowed())return;let t=e.composedPath()[0];t.closest(".fancybox__carousel")&&t.classList.contains("fancybox__slide")&&_(e)}function j(){p=!1,t&&l&&t.classList.remove("is-revealing"),$();let e=w("sync");if(l&&e){let t=e.getPageIndex(l.getPageIndex())||0;e.goTo(t,{transition:!1,tween:!1})}}function z(){var e;!function(){let e=null==l?void 0:l.getViewport();if(!w("dragToClose")||!l||!e||!(o=q(e).init()))return;let n=!1,s=0,c=0,d={},f=1;function g(){var e,t;null==r||r.spring({clamp:!0,mass:1,tension:0===c?140:960,friction:17,restDelta:.1,restSpeed:.1,maxSpeed:1/0}).from({y:s}).to({y:c}).start();let n=(null==(e=null==l?void 0:l.getViewport())?void 0:e.getBoundingClientRect().height)||0,o=null==(t=K())?void 0:t.panzoomRef;if(n&&o)if(0===c)o.execute(i.Reset);else{let e=ei(Math.abs(s),0,.33*n,f,.77*f,!1);o.execute(i.ZoomTo,{scale:e})}}let m=e=>{var t;let n=e.srcEvent,i=n.target;return l&&!(R(n)&&(null==(t=n.touches)?void 0:t.length)>
41)&&i&&!b(i)};r=A().on("step",n=>{if(t&&e&&u===a.Ready){let l=e.getBoundingClientRect().height,i=ei(Math.abs(s=Math.min(l,Math.max(-1*l,n.y))),0,.5*l,1,0,!0);t.style.setProperty("--f-drag-opacity",i+""),t.style.setProperty("--f-drag-offset",s+"px")}}),o.on("start",function(){n||(null==r||r.pause(),c=s)}).on("panstart",e=>{var t,i;if(!n&&m(e)&&"y"===e.axis){e3(e.srcEvent),n=!0,ea(),null==(t=null==l?void 0:l.getViewport())||t.classList.add("is-dragging");let o=null==(i=K())?void 0:i.panzoomRef;if(o){f=o.getTransform().scale||1;let e=o.getOptions();d=Object.assign({},e),e.bounds=!1,e.gestures=!1}}else n=!1}).on("pan",function(e){n&&m(e)&&(e3(e.srcEvent),e.srcEvent.stopPropagation(),"y"===e.axis&&(c+=e.deltaY,g()))}).on("end",e=>{var t,i,o;if(null==(t=null==l?void 0:l.getViewport())||t.classList.remove("is-dragging"),n){let t=null==(i=K())?void 0:i.panzoomRef;if(t){null==(o=t.getTween())||o.end();let e=t.getOptions();e.bounds=d.bounds||!1,e.gestures=d.gestures||!1}m(e)&&"y"===e.axis&&(Math.abs(e.velocityY)>5||Math.abs(s)>50)&&es(e.srcEvent,"f-throwOut"+(e.velocityY>0?"Down":"Up"))}n=!1,u===a.Ready&&0!==s&&(c=0,g())})}(),document.body.addEventListener("click",V),document.body.addEventListener("keydown",D,{passive:!1,capture:!0}),$(),et();let n=w("sync");l&&n&&(null==(e=n.getTween())||e.start()),Y(K())}function k(){(null==l?void 0:l.canGoNext())?et():er()}function I(e,t){N(t),Y(t)}function F(){var e;let n=null==l?void 0:l.getPlugins().Thumbs;Z(t,"has-thumbs",(null==n?void 0:n.isEnabled())||!1),Z(t,"has-vertical-thumbs",!!n&&("scrollable"===n.getType()||!0===(null==(e=n.getCarousel())?void 0:e.isVertical())))}function $(){if(t){let e=(null==l?void 0:l.getPages())||[],n=(null==l?void 0:l.getPageIndex())||0;for(let e of t.querySelectorAll("[data-fancybox-index]"))e.innerHTML=n+"";for(let e of t.querySelectorAll("[data-fancybox-page]"))e.innerHTML=n+1+"";for(let n of t.querySelectorAll("[data-fancybox-pages]"))n.innerHTML=e.length+""}}function _(e){e.composedPath()[0].closest("[data-fancybox-close]")?es(e):(S("backdropClick",e),!e.defaultPrevented&&w("backdropClick")&&es(e))}function H(){eo()}function D(e){let t;if(!U()||u!==a.Ready)return;let n=e.key,i=w("keyboard");if(!i||e.ctrlKey||e.altKey||e.shiftKey)return;let o=e.composedPath()[0];if(!v(o)||"Escape"!==n&&(t="input,textarea,select,option,video,iframe,[contenteditable],[data-selectable],[data-draggable]",o.matches(t)||o.closest(t))||(S("keydown",e),e.defaultPrevented))return;let r=i[n];if(r)switch(r){case"close":es(e);break;case"next":e3(e),null==l||l.next();break;case"prev":e3(e),null==l||l.prev()}}function V(e){if(!U()||u!==a.Ready||(eo(),e.defaultPrevented))return;let t=e.composedPath()[0],n=!!t.closest("[data-fancybox-close]"),l=t.classList.contains("fancybox__backdrop");(n||l)&&_(e)}function N(e){var t;let{el:n,htmlEl:i,panzoomRef:o,closeButtonEl:r}=e,a=o?o.getWrapper():i;if(!n||!n.parentElement||!a)return;let s=w("closeButton");if("auto"===s&&(s=!0!==(null==(t=null==l?void 0:l.getPlugins().Toolbar)?void 0:t.isEnabled())),s){if(!r){let t=E(M(e4));t&&(B(t,"is-close-button"),e.closeButtonEl=a.insertAdjacentElement("afterbegin",t),B(n,"has-close-btn"))}}else G(e)}function G(e){e.closeButtonEl&&(e.closeButtonEl.remove(),e.closeButtonEl=void 0),W(e.el,"has-close-btn")}function Y(e){if(!(p&&l&&1===l.getState()&&e&&e.index===l.getOptions().initialPage&&e.el&&e.el.parentElement)||void 0!==e.state&&1!==e.state)return;p=!1;let t=e.panzoomRef,n=null==t?void 0:t.getTween(),i=w("zoomEffect")&&n?Q(e):void 0;if(t&&n&&i){let{x:e,y:l,scale:o}=t.getStartPosition();return void n.spring({tension:215,friction:25,restDelta:.001,restSpeed:.001,maxSpeed:1/0}).from(i).to({x:e,y:l,scale:o}).start()}let o=(null==t?void 0:t.getContent())||e.htmlEl;o&&e6(o,w("showClass",e))}function U(){var e;return(null==(e=tl.getInstance())?void 0:e.getId())===d}function K(){var e;return null==(e=null==l?void 0:l.getPage())?void 0:e.slides[0]}function J(){let e=K();return e?e.triggerEl||w("triggerEl"):void 0}function Q(e){var t,n;let l=e.thumbEl;if(!l||!(e=>{let t=e.getBoundingClientRect(),n=e.closest("[style]"),l=null==n?void 0:n.parentElement;if(n&&n.style.transform&&l){let e=l.getBoundingClientRect();if(t.left<e.left||t.left>e.left+e.width-t.width||t.top<e.top||t.top>e.top+e.height-t.height)return!1}let i=Math.max(document.documentElement.clientHeight,window.innerHeight),o=Math.max(document.documentElement.clientWidth,window.innerWidth);return!(t.bottom<0||t.top-i>=0||t.right<0||t.left-o>=0)})(l))return;let i=null==(n=null==(t=e.panzoomRef)?void 0:t.getWrapper())?void 0:n.getBoundingClientRect(),o=null==i?void 0:i.width,r=null==i?void 0:i.height;if(!o||!r)return;let a=l.getBoundingClientRect(),s=a.width,u=a.height,c=a.left,d=a.top;if(a&&s&&u){if(l instanceof HTMLImageElement){let e=window.getComputedStyle(l).getPropertyValue("object-fit");
4if("contain"===e||"scale-down"===e){let{width:t,height:n}=((e,t,n,l,i="contain")=>{if("contain"===i||e>n||t>l){let i=Math.min(n/e,l/t);e*=i,t*=i}return{width:e,height:t}})(l.naturalWidth,l.naturalHeight,s,u,e);c+=.5*(s-t),d+=.5*(u-n),s=t,u=n}}if(!(Math.abs(o/r-s/u)>.1))return{x:c+.5*s-(i.left+.5*o),y:d+.5*u-(i.top+.5*r),scale:s/o}}}function ee(){s&&clearTimeout(s),s=void 0,document.removeEventListener("mousemove",H)}function et(){if(m||s)return;let e=w("idle");e&&(s=setTimeout(en,e))}function en(){t&&(ee(),B(t,"is-idle"),document.addEventListener("mousemove",H),m=!0)}function eo(){m&&(er(),et())}function er(){ee(),null==t||t.classList.remove("is-idle"),m=!1}function ea(){var e;let t=J();!t||(e=t.getBoundingClientRect()).bottom>0&&e.right>0&&e.left<(window.innerWidth||document.documentElement.clientWidth)&&e.top<(window.innerHeight||document.documentElement.clientHeight)||t.closest("[inert]")||t.scrollIntoView({behavior:"instant",block:"center",inline:"center"})}function es(e,t){var n,i,s,c,d;if(u===a.Closing||u===a.Destroyed)return;let f=new Event("shouldClose",{bubbles:!0,cancelable:!0});if(S("shouldClose",f,e),f.defaultPrevented)return;if(ee(),e){if(e.defaultPrevented)return;e3(e),e.stopPropagation(),e.stopImmediatePropagation()}if(u=a.Closing,null==r||r.pause(),null==o||o.destroy(),l)for(let e of(null==(n=l.getGestures())||n.destroy(),null==(i=l.getTween())||i.pause(),l.getSlides())){let t=e.panzoomRef;t&&(el(t.getOptions(),{clickAction:!1,dblClickAction:!1,wheelAction:!1,bounds:!1,minScale:0,maxScale:1/0}),null==(s=t.getGestures())||s.destroy(),null==(c=t.getTween())||c.pause())}let g=null==l?void 0:l.getPlugins();null==(d=null==g?void 0:g.Autoplay)||d.stop();let m=null==g?void 0:g.Fullscreen;m&&m.inFullscreen()?Promise.resolve(m.exit()).then(()=>{setTimeout(()=>{eu(e,t)},150)}):eu(e,t)}function eu(n,i){var o,r;if(u!==a.Closing)return;S("close",n),p=!1,document.body.removeEventListener("click",V),document.body.removeEventListener("keydown",D,{passive:!1,capture:!0}),w("placeFocusBack")&&ea();let s=document.activeElement;s&&(null==e?void 0:e.contains(s))&&s.blur(),w("fadeEffect")&&(null==t||t.classList.remove("is-ready"),null==t||t.classList.add("is-hiding")),null==t||t.classList.add("is-closing");let c=K(),d=null==c?void 0:c.el,f=null==c?void 0:c.panzoomRef,g=null==(o=null==c?void 0:c.panzoomRef)?void 0:o.getTween(),m=i||w("hideClass"),h=!1,v=!1;if(l&&c&&d&&f&&g){let e;if(w("zoomEffect")&&1===c.state&&(e=Q(c)),e){h=!0;let t=()=>{(e=Q(c))?g.to(Object.assign(Object.assign({},X),e)):ef()};f.on("refresh",()=>{t()}),g.easing(A.Easings.EaseOut).duration(350).from(Object.assign({},f.getTransform())).to(Object.assign(Object.assign({},X),e)).start(),(null==d?void 0:d.getAnimations())&&(d.style.animationPlayState="paused",requestAnimationFrame(()=>{t()}))}}let y=(null==c?void 0:c.htmlEl)||(null==(r=null==c?void 0:c.panzoomRef)?void 0:r.getWrapper());y&&e7(y),!h&&m&&y&&(v=!0,e6(y,m,()=>{ef()})),h||v?setTimeout(()=>{ef()},350):ef()}function ef(){var n,i,o,r,s;if(u===a.Destroyed)return;u=a.Destroyed;let c=J();for(let t of(S("destroy"),null==(i=null==(n=w("sync"))?void 0:n.getPlugins().Autoplay)||i.resume(),null==(r=null==(o=w("sync"))?void 0:o.getPlugins().Autoscroll)||r.resume(),e instanceof HTMLDialogElement&&e.close(),null==(s=null==l?void 0:l.getContainer())||s.classList.remove("is-idle"),null==l||l.destroy(),Object.values(f)))null==t||t.destroy();if(f={},null==e||e.remove(),e=void 0,t=void 0,l=void 0,e8.delete(d),!e8.size&&(ed(!1),document.documentElement.classList.remove(tt),w("placeFocusBack")&&c&&!c.closest("[inert]")))try{null==c||c.focus({preventScroll:!0})}catch(e){}}let eg={close:es,destroy:ef,getCarousel:function(){return l},getContainer:function(){return t},getId:function(){return d},getOptions:function(){return c},getPlugins:function(){return f},getSlide:function(){return K()},getState:function(){return u},init:function(i=[],o={}){u!==a.Init&&(eg.destroy(),u=a.Init),c=el({},e9,o),d=w("id")||"fancybox-"+ ++te;let r=e8.get(d);if(r&&r.destroy(),e8.set(d,eg),S("init"),function(){for(let[e,t]of Object.entries(Object.assign(Object.assign({},tl.Plugins),c.plugins||{})))if(e&&!f[e]&&t instanceof Function){let n=t();n.init(eg),f[e]=n}S("initPlugins")}(),function(e=[]){S("initSlides",e),g=[...e]}(i),function(){let n=w("parentEl")||document.body;if(!(n&&n instanceof HTMLElement)||!(e=E(M(w("mainTpl")||""))||void 0)||!((t=e.querySelector(".fancybox__container"))&&t instanceof HTMLElement))return;let i=w("mainClass");i&&B(t,i);let o=w("mainStyle");if(o&&x(o))for(let[e,n]of Object.entries(o))t.style.setProperty(e,n);let r=w("theme"),a="auto"===r?window.matchMedia("(prefers-color-scheme:light)").matches:"light"===r;t.setAttribute("theme",a?"light":"dark"),e.setAttribute("id",`${d}`),e.addEventListener("keydown",e=>{"Escape"===e.key&&e3(e)}
4),e.addEventListener("wheel",e=>{let t=e.target,n=w("wheel",e);t.closest(".f-thumbs")&&(n="slide");let i="slide"===n,o=Math.max(-1,Math.min(1,[-e.deltaX||0,-e.deltaY||0,-e.detail||0].reduce(function(e,t){return Math.abs(t)>Math.abs(e)?t:e}))),r=Date.now();y&&r-y<300?i&&e3(e):(y=r,S("wheel",e,o),e.defaultPrevented||("close"===n?es(e):"slide"===n&&l&&!b(t)&&(e3(e),l[o>0?"prev":"next"]())))},{capture:!0,passive:!1}),e.addEventListener("cancel",e=>{es(e)}),n.append(e),1===e8.size&&(w("hideScrollbar")&&ed(!0),document.documentElement.classList.add(tt)),e instanceof HTMLDialogElement&&(w("modal")?e.showModal():e.show()),S("initLayout")}(),(n=(null==e?void 0:e.querySelector(".fancybox__carousel"))||void 0)&&(n.fancybox=eg,S("initCarousel",l=ec(n,el({},{Autoplay:{autoStart:!1,pauseOnHover:!1,progressbarParentEl:e=>{let t=e.getContainer();return(null==t?void 0:t.querySelector(".f-carousel__toolbar [data-autoplay-action]"))||t}},Fullscreen:{el:t},Toolbar:{absolute:!0,items:{counter:{tpl:'<div class="f-counter"><span data-fancybox-page></span>/<span data-fancybox-pages></span></div>'}},display:{left:["counter"],right:["toggleFull","autoplay","fullscreen","thumbs","close"]}},Video:{autoplay:!0},Thumbs:{minCount:2,Carousel:{classes:{container:"fancybox__thumbs"}}},classes:{container:"fancybox__carousel",viewport:"fancybox__viewport",slide:"fancybox__slide"},spinnerTpl:'<div class="f-spinner" data-fancybox-close></div>',dragFree:!1,slidesPerPage:1,plugins:{Sync:ev,Arrows:eO,Lazyload:ex,Zoomable:ep,Html:e_,Video:eV,Autoplay:ek,Fullscreen:eB,Thumbs:eF,Toolbar:ej}},w("Carousel")||{},{slides:g,enabled:!0,initialPage:w("startIndex")||0,l10n:w("l10n")}))),l.on("*",(e,t,...n)=>{S(`Carousel.${t}`,e,...n)}),l.on("attachSlideEl",T),l.on("detachSlideEl",P),l.on("contentReady",I),l.on("ready",z),l.on("change",j),l.on("settle",k),l.on("thumbs:ready",F),l.on("thumbs:destroy",F),l.init()),e&&t){if(w("closeExisting"))for(let[e,t]of e8.entries())e!==d&&t.close();w("fadeEffect")?(setTimeout(()=>{O()},500),B(t,"is-revealing")):O(),t.classList.add("is-ready"),u=a.Ready,S("ready")}},isCurrentSlide:function(e){let t=K();return!(!e||!t)&&t.index===e.index},isTopMost:function(){return U()},off:function(e,t){return L.has(e)&&L.set(e,L.get(e).filter(e=>e!==t)),eg},on:function(e,t){return L.set(e,[...L.get(e)||[],t]),eg},toggleIdle(e){(m||!0===e)&&en(),m&&!1!==e||er()}};return eg})().init(e,t)},unbind:function(e,t,n){if(!ef())return;let l=document.body,i=null,o="[data-fancybox]";e instanceof Element&&(l=e),h(e)&&h(t)?(i=e,o=t):h(t)&&h(n)?(i=t,o=n):h(t)?o=t:h(e)&&(o=e),function(e,t,n){if(!(e&&e instanceof Element&&n))return;let l=tl.openers.get(e)||new Map,i=l.get(t)||new Map;i&&n&&i.delete(n),i.size&&n||l.delete(t),l.size||(tl.openers.delete(e),e.removeEventListener("click",tl.fromEvent))}(l,i,o)}};e.s(["Fancybox",0,tl],35258),e.s([],85730)},61120,e=>{"use strict";e.s(["getYouTubeThumbnail",0,function(e){try{let t=new URL(e)?.searchParams.get("v")||e?.split("/").pop();return`https://img.youtube.com/vi/${t}/hqdefault.jpg`}catch(e){return"https://api-s3.beeonco.de/test/storage/media/original/2025/05/30/favi-683968a1ed397.webp"}}])}]);
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.