(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7938],{39848:function(){},89692:function(){},83522:function(){},43836:function(e,t,n){"use strict";var r=n(2265);let l=r.forwardRef(function(e,t){let{title:n,titleId:l,...i}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},i),n?r.createElement("title",{id:l},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"}))});t.Z=l},82442:function(e,t,n){"use strict";n.d(t,{Fy:function(){return g},Nc:function(){return f},RD:function(){return W},TX:function(){return $},U2:function(){return Y},Wy:function(){return d},ZP:function(){return eW},bc:function(){return eE},gJ:function(){return v},hU:function(){return j},l6:function(){return k},oc:function(){return F},wQ:function(){return C}});var r,l,i,o,u=n(2265),a=n(15575),c=n(54887);let s="yarl__";function d(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return[...t].filter(Boolean).join(" ")}function f(e){return"".concat(s).concat(e)}function v(e){return"--".concat(s).concat(e)}function p(e,t){return"".concat(e).concat(t?"_".concat(t):"")}function h(e){return t=>p(e,t)}function m(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return()=>{t.forEach(e=>{e()})}}function g(e,t,n){return()=>{let r=u.useContext(n);if(!r)throw Error("".concat(e," must be used within a ").concat(t,".Provider"));return r}}function E(){return"undefined"!=typeof window}function b(e){return void 0===e.type||"image"===e.type}function y(e){return"string"==typeof e?Number.parseInt(e,10):e}function w(e){if("number"==typeof e)return{pixel:e};if("string"==typeof e){let t=y(e);return e.endsWith("%")?{percent:t}:{pixel:t}}return{pixel:0}}function x(e,t){var n;return e[(n=e.length)>0?(t%n+n)%n:0]}function N(e,t){return e.length>0?x(e,t):void 0}function C(e,t,n){if(!n)return e;let{buttons:r,...l}=e,i=r.findIndex(e=>e===t),o=u.isValidElement(n)?u.cloneElement(n,{key:t},null):n;if(i>=0){let e=[...r];return e.splice(i,1,o),{buttons:e,...l}}return{buttons:[o,...r],...l}}let M={open:!1,close:()=>{},index:0,slides:[],render:{},plugins:[],toolbar:{buttons:[a.t9]},labels:{},animation:{fade:250,swipe:500,easing:{fade:"ease",swipe:"ease-out",navigation:"ease-in-out"}},carousel:{finite:!1,preload:2,padding:"16px",spacing:"30%",imageFit:a.j3,imageProps:{}},controller:{ref:null,focus:!0,aria:!1,touchAction:"none",closeOnPullUp:!1,closeOnPullDown:!1,closeOnBackdropClick:!1,preventDefaultWheelX:!0,preventDefaultWheelY:!1},portal:{},noScroll:{disabled:!1},on:{},styles:{},className:""};function k(e,t){return{name:e,component:t}}function L(e,t){return{module:e,children:t}}function P(e,t,n){return e.flatMap(e=>{var r;return null!==(r=function e(t,n,r){return t.module.name===n?r(t):t.children?[L(t.module,t.children.flatMap(t=>{var l;return null!==(l=e(t,n,r))&&void 0!==l?l:[]}))]:[t]}(e,t,n))&&void 0!==r?r:[]})}let S=u.createContext(null),I=g("useDocument","DocumentContext",S);function R(e){let{nodeRef:t,children:n}=e,r=u.useMemo(()=>{let e=e=>{var n;return(null===(n=e||t.current)||void 0===n?void 0:n.ownerDocument)||document};return{getOwnerDocument:e,getOwnerWindow:t=>{var n;return(null===(n=e(t))||void 0===n?void 0:n.defaultView)||window}}},[t]);return u.createElement(S.Provider,{value:r},n)}let _=u.createContext(null),T=g("useEvents","EventsContext",_);function A(e){let{children:t}=e,[n]=u.useState({});u.useEffect(()=>()=>{Object.keys(n).forEach(e=>delete n[e])},[n]);let r=u.useMemo(()=>{let e=(e,t)=>{var r;null===(r=n[e])||void 0===r||r.splice(0,n[e].length,...n[e].filter(e=>e!==t))};return{publish:function(){for(var e,t=arguments.length,r=Array(t),l=0;l<t;l++)r[l]=arguments[l];let[i,o]=r;null===(e=n[i])||void 0===e||e.forEach(e=>e(o))},subscribe:(t,r)=>(n[t]||(n[t]=[]),n[t].push(r),()=>e(t,r)),unsubscribe:e}},[n]);return u.createElement(_.Provider,{value:r},t)}let O=u.createContext(null),W=g("useLightboxProps","LightboxPropsContext",O);function D(e){let{children:t,...n}=e;return u.createElement(O.Provider,{value:n},t)}let H=u.createContext(null),F=g("useLightboxState","LightboxStateContext",H),U=u.createContext(null),X=g("useLightboxDispatch","LightboxDispatchContext",U);function z(e,t){switch(t.type){case"swipe":{var n;let{slides:r}=e,l=(null==t?void 0:t.increment)||0,i=e.globalIndex+l,o=(n=r.length)>0?(i%n+n)%n:0,u=N(r,o);return{slides:r,currentIndex:o,globalIndex:i,currentSlide:u,animation:l||t.duration?{increment:l,duration:t.duration,easing:t.easing}:void 0}}case"update":if(t.slides!==e.slides||t.index!==e.currentIndex)return{slides:t.slides,currentIndex:t.index,globalIndex:t.index,currentSlide:N(t.slides,t.index)};return e;default:throw Error(a.c3)}}function B(e){let{slides:t,index:n,children:r}=e,[l,i]=u.useReducer(z,{slides:t,currentIndex:n,globalIndex:n,currentSlide:N(t,n)});u.useEffect(()=>{i({type:"update",slides:t,index:n})},[t,n]);let o=u.useMemo(()=>({...l,state:l,dispatch:i}),[l,i]);return u.createElement(U.Provider,{value:i},u.createElement(H.Provider,{value:o},r))}let K=u.createContext(null),V=g("useTimeouts","TimeoutsContext",K);function Z(e){let{children:t}=e,[n]=u.useState([]);u.useEffect(()=>()=>{n.forEach(e=>window.clearTimeout(e)),n.splice(0,n.length)},[n]);let r=u.useMemo(()=>{let e=e=>{n.splice(0,n.length,...n.filter(t=>t!==e))};return{setTimeout:(t,r)=>{let l=window.setTimeout(()=>{e(l),t()},r);return n.push(l),l},clearTimeout:t=>{void 0!==t&&(e(t),window.clearTimeout(t))}}},[n]);return u.createElement(K.Provider,{value:r},t)}let j=u.forwardRef(function(e,t){var n;let{label:r,className:l,icon:i,renderIcon:o,onClick:c,style:s,...v}=e,{styles:p,labels:h}=W(),m=null!==(n=null==h?void 0:h[r])&&void 0!==n?n:r;return u.createElement("button",{ref:t,type:"button",title:m,"aria-label":m,className:d(f(a.bg),l),onClick:c,style:{...s,...p.button},...v},o?o():u.createElement(i,{className:f(a.vg),style:p.icon}))});function J(e,t){let n=e=>u.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false",...e},t);return n.displayName=e,n}function Y(e,t){return J(e,u.createElement("g",{fill:"currentColor"},u.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t))}function $(e,t){return J(e,u.createElement(u.Fragment,null,u.createElement("defs",null,u.createElement("mask",{id:"strike"},u.createElement("path",{d:"M0 0h24v24H0z",fill:"white"}),u.createElement("path",{d:"M0 0L24 24",stroke:"black",strokeWidth:4}))),u.createElement("path",{d:"M0.70707 2.121320L21.878680 23.292883",stroke:"currentColor",strokeWidth:2}),u.createElement("g",{fill:"currentColor",mask:"url(#strike)"},u.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t)))}let q=Y("Close",u.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),Q=Y("Previous",u.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),G=Y("Next",u.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),ee=Y("Loading",u.createElement(u.Fragment,null,Array.from({length:8}).map((e,t,n)=>u.createElement("line",{key:t,x1:"12",y1:"6.5",x2:"12",y2:"1.8",strokeLinecap:"round",strokeWidth:"2.6",stroke:"currentColor",strokeOpacity:1/n.length*(t+1),transform:"rotate(".concat(360/n.length*t,", 12, 12)")})))),et=Y("Error",u.createElement("path",{d:"M21.9,21.9l-8.49-8.49l0,0L3.59,3.59l0,0L2.1,2.1L0.69,3.51L3,5.83V19c0,1.1,0.9,2,2,2h13.17l2.31,2.31L21.9,21.9z M5,18 l3.5-4.5l2.5,3.01L12.17,15l3,3H5z M21,18.17L5.83,3H19c1.1,0,2,0.9,2,2V18.17z"})),en=E()?u.useLayoutEffect:u.useEffect;function er(){let[e,t]=u.useState(!1);return u.useEffect(()=>{var e,n;let r=null===(e=window.matchMedia)||void 0===e?void 0:e.call(window,"(prefers-reduced-motion: reduce)");t(null==r?void 0:r.matches);let l=e=>t(e.matches);return null===(n=null==r?void 0:r.addEventListener)||void 0===n||n.call(r,"change",l),()=>{var e;return null===(e=null==r?void 0:r.removeEventListener)||void 0===e?void 0:e.call(r,"change",l)}},[]),e}function el(e,t){let n=u.useRef(),r=u.useRef(),l=er();return en(()=>{var i,o,u;if(e.current&&void 0!==n.current&&!l){let{keyframes:l,duration:a,easing:c,onfinish:s}=t(n.current,e.current.getBoundingClientRect(),function(e){let t=0,n=0,r=0,l=window.getComputedStyle(e).transform.match(/matrix.*\((.+)\)/);if(l){let e=l[1].split(",").map(y);6===e.length?(t=e[4],n=e[5]):16===e.length&&(t=e[12],n=e[13],r=e[14])}return{x:t,y:n,z:r}}(e.current))||{};if(l&&a){null===(i=r.current)||void 0===i||i.cancel(),r.current=void 0;try{r.current=null===(u=(o=e.current).animate)||void 0===u?void 0:u.call(o,l,{duration:a,easing:c})}catch(e){console.error(e)}r.current&&(r.current.onfinish=()=>{r.current=void 0,null==s||s()})}}n.current=void 0}),{prepareAnimation:e=>{n.current=e},isAnimationPlaying:()=>{var e;return(null===(e=r.current)||void 0===e?void 0:e.playState)==="running"}}}function ei(){let e=u.useRef(null),t=u.useRef(),[n,r]=u.useState();return{setContainerRef:u.useCallback(n=>{e.current=n,t.current&&(t.current.disconnect(),t.current=void 0);let l=()=>{if(n){let e=window.getComputedStyle(n),t=e=>parseFloat(e)||0;r({width:Math.round(n.clientWidth-t(e.paddingLeft)-t(e.paddingRight)),height:Math.round(n.clientHeight-t(e.paddingTop)-t(e.paddingBottom))})}else r(void 0)};l(),n&&"undefined"!=typeof ResizeObserver&&(t.current=new ResizeObserver(l),t.current.observe(n))},[]),containerRef:e,containerRect:n}}function eo(){let e=u.useRef(),{setTimeout:t,clearTimeout:n}=V();return u.useCallback((r,l)=>{n(e.current),e.current=t(r,l>0?l:0)},[t,n])}function eu(e){let t=u.useRef(e);return en(()=>{t.current=e}),u.useCallback(function(){for(var e,n=arguments.length,r=Array(n),l=0;l<n;l++)r[l]=arguments[l];return null===(e=t.current)||void 0===e?void 0:e.call(t,...r)},[])}function ea(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function ec(e,t){return u.useMemo(()=>null==e&&null==t?null:n=>{ea(e,n),ea(t,n)},[e,t])}function es(){let[e,t]=u.useState(!1);return en(()=>{t("rtl"===window.getComputedStyle(window.document.documentElement).direction)},[]),e}function ed(e,t){let n=u.useRef(0),r=eo(),l=eu(function(){for(var t=arguments.length,r=Array(t),l=0;l<t;l++)r[l]=arguments[l];n.current=Date.now(),e(r)});return u.useCallback(function(){for(var e=arguments.length,i=Array(e),o=0;o<e;o++)i[o]=arguments[o];r(()=>{l(i)},t-(Date.now()-n.current))},[t,l,r])}let ef=h("slide"),ev=h("slide_image");function ep(e){var t,n,r,l,i,o,c;let{slide:s,offset:v,render:p,rect:h,imageFit:m,imageProps:g,onClick:b,onLoad:y,onError:w,style:x}=e,[N,C]=u.useState(a.Xe),{publish:M}=T(),{setTimeout:k}=V(),L=u.useRef(null);u.useEffect(()=>{0===v&&M((0,a.J1)(N))},[v,N,M]);let P=eu(e=>{("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{e.parentNode&&(C(a.Zv),k(()=>{null==y||y(e)},0))})}),S=u.useCallback(e=>{L.current=e,(null==e?void 0:e.complete)&&P(e)},[P]),I=u.useCallback(e=>{P(e.currentTarget)},[P]),R=eu(()=>{C(a.fS),null==w||w()}),_=s.imageFit===a.rO||s.imageFit!==a.j3&&m===a.rO,A=(e,t)=>Number.isFinite(e)?e:t,O=A(Math.max(...(null!==(n=null===(t=s.srcSet)||void 0===t?void 0:t.map(e=>e.width))&&void 0!==n?n:[]).concat(s.width?[s.width]:[]).filter(Boolean)),(null===(r=L.current)||void 0===r?void 0:r.naturalWidth)||0),W=A(Math.max(...(null!==(i=null===(l=s.srcSet)||void 0===l?void 0:l.map(e=>e.height))&&void 0!==i?i:[]).concat(s.height?[s.height]:[]).filter(Boolean)),(null===(o=L.current)||void 0===o?void 0:o.naturalHeight)||0),D=null===(c=s.srcSet)||void 0===c?void 0:c.sort((e,t)=>e.width-t.width).map(e=>"".concat(e.src," ").concat(e.width,"w")).join(", "),H=D&&h&&E()?"".concat(Math.round(Math.min(h&&!_&&s.width&&s.height?h.height/s.height*s.width:Number.MAX_VALUE,h.width)),"px"):void 0,{style:F,className:U,...X}=g||{};return u.createElement(u.Fragment,null,u.createElement("img",{ref:S,onLoad:I,onError:R,onClick:b,draggable:!1,className:d(f(ev()),_&&f(ev("cover")),N!==a.Zv&&f(ev("loading")),U),style:{...O&&W?{maxWidth:"min(".concat(O,"px, 100%)"),maxHeight:"min(".concat(W,"px, 100%)")}:{maxWidth:"100%",maxHeight:"100%"},...x,...F},...X,alt:s.alt,sizes:H,srcSet:D,src:s.src}),N!==a.Zv&&u.createElement("div",{className:f(ef(a.$L))},N===a.Xe&&((null==p?void 0:p.iconLoading)?p.iconLoading():u.createElement(ee,{className:d(f(a.vg),f(ef(a.Xe)))})),N===a.fS&&((null==p?void 0:p.iconError)?p.iconError():u.createElement(et,{className:d(f(a.vg),f(ef(a.fS)))}))))}let eh=u.forwardRef(function(e,t){let{className:n,children:r,...l}=e,i=u.useRef(null);return u.createElement(R,{nodeRef:i},u.createElement("div",{ref:ec(t,i),className:d(f("root"),n),...l},r))});(r=i||(i={}))[r.NONE=0]="NONE",r[r.SWIPE=1]="SWIPE",r[r.PULL=2]="PULL",r[r.ANIMATION=3]="ANIMATION",(l=o||(o={}))[l.NONE=0]="NONE",l[l.SWIPE=1]="SWIPE",l[l.PULL=2]="PULL";let em=h("container"),eg=u.createContext(null),eE=g("useController","ControllerContext",eg),eb=k(a.l4,function(e){var t;let{children:n,...r}=e,{carousel:l,animation:c,controller:s,on:p,styles:h,render:g}=r,{closeOnPullUp:E,closeOnPullDown:b,preventDefaultWheelX:y,preventDefaultWheelY:x}=s,[N,C]=u.useState(),M=F(),k=X(),[L,P]=u.useState(i.NONE),S=u.useRef(0),R=u.useRef(0),_=u.useRef(1),{registerSensors:A,subscribeSensors:O}=function(){let[e]=u.useState({}),t=u.useCallback((t,n)=>{var r;null===(r=e[t])||void 0===r||r.forEach(e=>{n.isPropagationStopped()||e(n)})},[e]);return{registerSensors:u.useMemo(()=>({onPointerDown:e=>t(a.NZ,e),onPointerMove:e=>t(a.N4,e),onPointerUp:e=>t(a.S2,e),onPointerLeave:e=>t(a.pE,e),onPointerCancel:e=>t(a.Vt,e),onKeyDown:e=>t(a.ds,e),onKeyUp:e=>t(a.Bm,e),onWheel:e=>t(a.yq,e)}),[t]),subscribeSensors:u.useCallback((t,n)=>(e[t]||(e[t]=[]),e[t].unshift(n),()=>{let r=e[t];r&&r.splice(0,r.length,...r.filter(e=>e!==n))}),[e])}}(),{subscribe:W,publish:D}=T(),H=eo(),U=eo(),z=eo(),{containerRef:B,setContainerRef:K,containerRect:Z}=ei(),j=ec(function(e){let{preventDefaultWheelX:t,preventDefaultWheelY:n}=e,r=u.useRef(null),l=eu(e=>{let r=Math.abs(e.deltaX)>Math.abs(e.deltaY);(r&&t||!r&&n||e.ctrlKey)&&e.preventDefault()});return u.useCallback(e=>{var t;e?e.addEventListener("wheel",l,{passive:!1}):null===(t=r.current)||void 0===t||t.removeEventListener("wheel",l),r.current=e},[l])}({preventDefaultWheelX:y,preventDefaultWheelY:x}),K),J=u.useRef(null),Y=ec(J,void 0),{getOwnerDocument:$}=I(),q=es(),Q=e=>(q?-1:1)*("number"==typeof e?e:1),G=eu(()=>{var e;return null===(e=B.current)||void 0===e?void 0:e.focus()}),ee=eu(()=>r),et=eu(()=>M),en=u.useCallback(e=>D(a.KN,e),[D]),er=u.useCallback(e=>D(a.Eb,e),[D]),ea=u.useCallback(()=>D(a.t9),[D]),ed=e=>!(l.finite&&(Q(e)>0&&0===M.currentIndex||0>Q(e)&&M.currentIndex===M.slides.length-1)),ef=e=>{var t;S.current=e,null===(t=B.current)||void 0===t||t.style.setProperty(v("swipe_offset"),"".concat(Math.round(e),"px"))},ev=e=>{var t,n;R.current=e,_.current=Math.min(Math.max(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=10**t;return Math.round((e+Number.EPSILON)*n)/n}(1-(b&&e>0?e:E&&e<0?-e:0)/60*.5,2),.5),1),null===(t=B.current)||void 0===t||t.style.setProperty(v("pull_offset"),"".concat(Math.round(e),"px")),null===(n=B.current)||void 0===n||n.style.setProperty(v("pull_opacity"),"".concat(_.current))},{prepareAnimation:ep}=el(J,(e,t,n)=>{if(J.current&&Z)return{keyframes:[{transform:"translate(0, ".concat(e.rect.y-t.y+n.y,"px)"),opacity:e.opacity},{transform:"translate(0, 0)",opacity:1}],duration:e.duration,easing:c.easing.fade}}),eh=(e,t)=>{if(E||b){ev(e);let n=0;J.current&&(n=c.fade*(t?2:1),ep({rect:J.current.getBoundingClientRect(),opacity:_.current,duration:n})),z(()=>{ev(0),P(i.NONE)},n),P(i.ANIMATION),t||ea()}},{prepareAnimation:eE,isAnimationPlaying:eb}=el(J,(e,t,n)=>{var r;if(J.current&&Z&&(null===(r=M.animation)||void 0===r?void 0:r.duration)){let r=w(l.spacing),i=(r.percent?r.percent*Z.width/100:r.pixel)||0;return{keyframes:[{transform:"translate(".concat(Q(M.globalIndex-e.index)*(Z.width+i)+e.rect.x-t.x+n.x,"px, 0)")},{transform:"translate(0, 0)"}],duration:M.animation.duration,easing:M.animation.easing}}}),ey=eu(e=>{var t,n;let r=e.offset||0,l=r?c.swipe:null!==(t=c.navigation)&&void 0!==t?t:c.swipe,o=r||eb()?c.easing.swipe:c.easing.navigation,{direction:u}=e,s=null!==(n=e.count)&&void 0!==n?n:1,d=i.ANIMATION,f=l*s;if(!u){let t=null==Z?void 0:Z.width,n=e.duration||0,i=t?l/t*Math.abs(r):l;0!==s?(n<i?f=f/i*Math.max(n,i/5):t&&(f=l/t*(t-Math.abs(r))),u=Q(r)>0?a.KN:a.Eb):f=l/2}let v=0;u===a.KN?ed(Q(1))?v=-s:(d=i.NONE,f=l):u===a.Eb&&(ed(Q(-1))?v=s:(d=i.NONE,f=l)),U(()=>{ef(0),P(i.NONE)},f=Math.round(f)),J.current&&eE({rect:J.current.getBoundingClientRect(),index:M.globalIndex}),P(d),D(a.Tn,{type:"swipe",increment:v,duration:f,easing:o})});u.useEffect(()=>{var e,t;(null===(e=M.animation)||void 0===e?void 0:e.increment)&&(null===(t=M.animation)||void 0===t?void 0:t.duration)&&H(()=>k({type:"swipe",increment:0}),M.animation.duration)},[M.animation,k,H]);let ew=[O,ed,(null==Z?void 0:Z.width)||0,c.swipe,()=>P(i.SWIPE),e=>ef(e),(e,t)=>ey({offset:e,duration:t,count:1}),e=>ey({offset:e,count:0})],ex=[()=>{b&&P(i.PULL)},e=>ev(e),e=>eh(e),e=>eh(e,!0)];!function(e,t,n,r,l,i,c,s,d,f,v,p,h,g){var E;let b=u.useRef(0),y=u.useRef([]),w=u.useRef(),x=u.useRef(0),N=u.useRef(o.NONE),C=u.useCallback(e=>{w.current===e.pointerId&&(w.current=void 0,N.current=o.NONE);let t=y.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),M=u.useCallback(e=>{C(e),e.persist(),y.current.push(e)},[C]),k=eu(e=>{M(e)}),L=(e,t)=>f&&e>t||d&&e<-t,P=eu(e=>{if(y.current.find(t=>t.pointerId===e.pointerId)&&w.current===e.pointerId){let e=Date.now()-x.current,t=b.current;N.current===o.SWIPE?Math.abs(t)>.3*n||Math.abs(t)>5&&e<r?c(t,e):s(t):N.current===o.PULL&&(L(t,60)?h(t,e):g(t)),b.current=0,N.current=o.NONE}C(e)}),S=eu(e=>{let n=y.current.find(t=>t.pointerId===e.pointerId);if(n){let r=w.current===e.pointerId;if(0===e.buttons){r&&0!==b.current?P(e):C(n);return}let u=e.clientX-n.clientX,a=e.clientY-n.clientY;if(void 0===w.current){let n=t=>{M(e),w.current=e.pointerId,x.current=Date.now(),N.current=t};Math.abs(u)>Math.abs(a)&&Math.abs(u)>30&&t(u)?(n(o.SWIPE),l()):Math.abs(a)>Math.abs(u)&&L(a,30)&&(n(o.PULL),v())}else r&&(N.current===o.SWIPE?(b.current=u,i(u)):N.current===o.PULL&&(b.current=a,p(a)))}});u.useEffect(()=>m(e(a.NZ,k),e(a.N4,S),e(a.S2,P),e(a.pE,P),e(a.Vt,P)),[e,k,S,P,E])}(...ew,E,b,...ex),function(e,t,n,r,l,o,c,s,d){let f=u.useRef(0),v=u.useRef(0),p=u.useRef(),h=u.useRef(),m=u.useRef(0),g=u.useRef(0),{setTimeout:E,clearTimeout:b}=V(),y=u.useCallback(()=>{p.current&&(b(p.current),p.current=void 0)},[b]),w=u.useCallback(()=>{h.current&&(b(h.current),h.current=void 0)},[b]),x=eu(()=>{e!==i.SWIPE&&(f.current=0,g.current=0,y(),w())});u.useEffect(x,[e,x]);let N=eu(e=>{h.current=void 0,f.current===e&&d(f.current)}),C=eu(t=>{if(!(t.ctrlKey||Math.abs(t.deltaY)>Math.abs(t.deltaX))){if(e===i.NONE){if(Math.abs(t.deltaX)<=1.2*Math.abs(m.current)){m.current=t.deltaX;return}if(n(-t.deltaX)){if(v.current+=t.deltaX,y(),Math.abs(v.current)>30)v.current=0,m.current=0,g.current=Date.now(),o();else{let e=v.current;p.current=E(()=>{p.current=void 0,e===v.current&&(v.current=0)},l)}}}else if(e===i.SWIPE){let e=f.current-t.deltaX;if(e=Math.min(Math.abs(e),r)*Math.sign(e),f.current=e,c(e),w(),Math.abs(e)>.2*r){m.current=t.deltaX,s(e,Date.now()-g.current);return}h.current=E(()=>N(e),2*l)}else m.current=t.deltaX}});u.useEffect(()=>t(a.yq,C),[t,C])}(L,...ew);let eN=eu(()=>{s.focus&&$().querySelector(".".concat(f(a.SA)," .").concat(f(em())))&&G()});u.useEffect(eN,[eN]);let eC=eu(()=>{var e;null===(e=p.view)||void 0===e||e.call(p,{index:M.currentIndex})});u.useEffect(eC,[M.globalIndex,eC]),u.useEffect(()=>m(W(a.KN,e=>ey({direction:a.KN,...e})),W(a.Eb,e=>ey({direction:a.Eb,...e})),W(a.Tn,e=>k(e))),[W,ey,k]);let eM=u.useMemo(()=>({prev:en,next:er,close:ea,focus:G,slideRect:Z?function(e,t){let n=w(t),r=void 0!==n.percent?e.width/100*n.percent:n.pixel;return{width:Math.max(e.width-2*r,0),height:Math.max(e.height-2*r,0)}}(Z,l.padding):{width:0,height:0},containerRect:Z||{width:0,height:0},subscribeSensors:O,containerRef:B,setCarouselRef:Y,toolbarWidth:N,setToolbarWidth:C}),[en,er,ea,G,O,Z,B,Y,N,C,l.padding]);return u.useImperativeHandle(s.ref,()=>({prev:en,next:er,close:ea,focus:G,getLightboxProps:ee,getLightboxState:et}),[en,er,ea,G,ee,et]),u.createElement("div",{ref:j,className:d(f(em()),f(a.aN)),style:{...L===i.SWIPE?{[v("swipe_offset")]:"".concat(Math.round(S.current),"px")}:null,...L===i.PULL?{[v("pull_offset")]:"".concat(Math.round(R.current),"px"),[v("pull_opacity")]:"".concat(_.current)}:null,..."none"!==s.touchAction?{[v("controller_touch_action")]:s.touchAction}:null,...h.container},...s.aria?{role:"presentation","aria-live":"polite"}:null,tabIndex:-1,...A},Z&&u.createElement(eg.Provider,{value:eM},n,null===(t=g.controls)||void 0===t?void 0:t.call(g)))});function ey(e){return p(a.k0,e)}function ew(e){return p("slide",e)}function ex(e){var t,n,r,l;let i,{slide:o,offset:c}=e,s=u.useRef(null),{currentIndex:v}=F(),{slideRect:p,close:h}=eE(),{render:m,carousel:{imageFit:g,imageProps:E},on:{click:y},controller:{closeOnBackdropClick:w},styles:{slide:x}}=W();return u.createElement("div",{ref:s,className:d(f(ew()),0===c&&f(ew("current")),f(a.aN)),"aria-hidden":0!==c,onClick:e=>{let t=s.current,n=e.target instanceof HTMLElement?e.target:void 0;w&&n&&t&&(n===t||Array.from(t.children).find(e=>e===n)&&n.classList.contains(f(a.af)))&&h()},style:x},(!(i=null===(t=m.slide)||void 0===t?void 0:t.call(m,{slide:o,offset:c,rect:p}))&&b(o)&&(i=u.createElement(ep,{slide:o,offset:c,render:m,rect:p,imageFit:g,imageProps:E,onClick:0===c?()=>null==y?void 0:y({index:v}):void 0})),i?u.createElement(u.Fragment,null,null===(n=m.slideHeader)||void 0===n?void 0:n.call(m,{slide:o}),(null!==(r=m.slideContainer)&&void 0!==r?r:e=>{let{children:t}=e;return t})({slide:o,children:i}),null===(l=m.slideFooter)||void 0===l?void 0:l.call(m,{slide:o})):null))}function eN(){let e=W().styles.slide;return u.createElement("div",{className:f("slide"),style:e})}let eC=k(a.k0,function(e){let{carousel:t}=e,{slides:n,currentIndex:r,globalIndex:l}=F(),{setCarouselRef:i}=eE(),o=w(t.spacing),a=w(t.padding),c=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Math.min(e.preload,Math.max(e.finite?t.length-1:Math.floor(t.length/2),n))}(t,n,1),s=[];if(n.length>0)for(let e=r-c;e<=r+c;e+=1){let i=x(n,e),o=l-r+e,u=t.finite&&(e<0||e>n.length-1);s.push(u?{key:o}:{key:["".concat(o),b(i)?i.src:void 0].filter(Boolean).join("|"),offset:e-r,slide:i})}return u.createElement("div",{ref:i,className:d(f(ey()),s.length>0&&f(ey("with_slides"))),style:{["".concat(v(ey("slides_count")))]:s.length,["".concat(v(ey("spacing_px")))]:o.pixel||0,["".concat(v(ey("spacing_percent")))]:o.percent||0,["".concat(v(ey("padding_px")))]:a.pixel||0,["".concat(v(ey("padding_percent")))]:a.percent||0}},s.map(e=>{let{key:t,slide:n,offset:r}=e;return n?u.createElement(ex,{key:t,slide:n,offset:r}):u.createElement(eN,{key:t})}))});function eM(){let{carousel:e}=W(),{slides:t,currentIndex:n}=F();return{prevDisabled:0===t.length||e.finite&&0===n,nextDisabled:0===t.length||e.finite&&n===t.length-1}}function ek(e){let{label:t,icon:n,renderIcon:r,action:l,onClick:i,disabled:o,style:a}=e;return u.createElement(j,{label:t,icon:n,renderIcon:r,className:f("navigation_".concat(l)),disabled:o,onClick:i,style:a,...function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=u.useRef();return en(()=>{t&&n.current&&(n.current=!1,e())},[t,e]),{onFocus:u.useCallback(()=>{n.current=!0},[]),onBlur:u.useCallback(()=>{n.current=!1},[])}}(eE().focus,o)})}let eL=k(a.Op,function(e){let{render:{buttonPrev:t,buttonNext:n,iconPrev:r,iconNext:l},styles:i}=e,{prev:o,next:c,subscribeSensors:s}=eE(),{prevDisabled:d,nextDisabled:f}=eM();return!function(e){var t;let n=es(),{publish:r}=T(),{animation:l}=W(),{prevDisabled:i,nextDisabled:o}=eM(),c=(null!==(t=l.navigation)&&void 0!==t?t:l.swipe)/2,s=ed(()=>r(a.KN),c),d=ed(()=>r(a.Eb),c),f=eu(e=>{switch(e.key){case a.PU:r(a.t9);break;case a.Sl:(n?o:i)||(n?d:s)();break;case a.NH:(n?i:o)||(n?s:d)()}});u.useEffect(()=>e(a.ds,f),[e,f])}(s),u.createElement(u.Fragment,null,t?t():u.createElement(ek,{label:"Previous",action:a.KN,icon:Q,renderIcon:r,style:i.navigationPrev,disabled:d,onClick:o}),n?n():u.createElement(ek,{label:"Next",action:a.Eb,icon:G,renderIcon:l,style:i.navigationNext,disabled:f,onClick:c}))}),eP=f(a.Tf),eS=f(a.M9);function eI(e,t,n){let r=window.getComputedStyle(e),l=n?"padding-left":"padding-right",i=n?r.paddingLeft:r.paddingRight,o=e.style.getPropertyValue(l);return e.style.setProperty(l,"".concat((y(i)||0)+t,"px")),()=>{o?e.style.setProperty(l,o):e.style.removeProperty(l)}}let eR=k(a.HE,function(e){let{noScroll:{disabled:t},children:n}=e,r=es(),{getOwnerDocument:l,getOwnerWindow:i}=I();return u.useEffect(()=>{if(t)return()=>{};let e=[],n=i(),{body:o,documentElement:u}=l(),a=Math.round(n.innerWidth-u.clientWidth);if(a>0){e.push(eI(o,a,r));let t=o.getElementsByTagName("*");for(let l=0;l<t.length;l+=1){let i=t[l];"style"in i&&"fixed"===n.getComputedStyle(i).getPropertyValue("position")&&!i.classList.contains(eS)&&e.push(eI(i,a,r))}}return o.classList.add(eP),()=>{o.classList.remove(eP),e.forEach(e=>e())}},[r,t,l,i]),u.createElement(u.Fragment,null,n)});function e_(e,t,n){let r=e.getAttribute(t);return e.setAttribute(t,n),()=>{r?e.setAttribute(t,r):e.removeAttribute(t)}}let eT=k(a.SA,function(e){var t;let{children:n,animation:r,styles:l,className:i,on:o,portal:s,close:h}=e,[m,g]=u.useState(!1),[E,b]=u.useState(!1),y=u.useRef([]),w=u.useRef(null),{setTimeout:x}=V(),{subscribe:N}=T(),C=er()?0:r.fade;u.useEffect(()=>(g(!0),()=>{g(!1),b(!1)}),[]);let k=eu(()=>{y.current.forEach(e=>e()),y.current=[]}),L=eu(()=>{var e;b(!1),k(),null===(e=o.exiting)||void 0===e||e.call(o),x(()=>{var e;null===(e=o.exited)||void 0===e||e.call(o),h()},C)});u.useEffect(()=>N(a.t9,L),[N,L]);let P=eu(e=>{var t,n,r;e.scrollTop,b(!0),null===(t=o.entering)||void 0===t||t.call(o);let l=null!==(r=null===(n=e.parentNode)||void 0===n?void 0:n.children)&&void 0!==r?r:[];for(let t=0;t<l.length;t+=1){let n=l[t];-1===["TEMPLATE","SCRIPT","STYLE"].indexOf(n.tagName)&&n!==e&&(y.current.push(e_(n,"inert","true")),y.current.push(e_(n,"aria-hidden","true")))}y.current.push(()=>{var e,t;null===(t=null===(e=w.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)}),x(()=>{var e;null===(e=o.entered)||void 0===e||e.call(o)},C)}),S=u.useCallback(e=>{e?P(e):k()},[P,k]);return m?(0,c.createPortal)(u.createElement(eh,{ref:S,className:d(i,f(p(a.SA,void 0)),f(a.M9),E&&f((t="open",p(a.SA,t)))),role:"presentation","aria-live":"polite",style:{...r.fade!==M.animation.fade?{[v("fade_animation_duration")]:"".concat(C,"ms")}:null,...r.easing.fade!==M.animation.easing.fade?{[v("fade_animation_timing_function")]:r.easing.fade}:null,...l.root},onFocus:e=>{w.current||(w.current=e.relatedTarget)}},n),s.root||document.body):null}),eA=k(a.lT,function(e){let{children:t}=e;return u.createElement(u.Fragment,null,t)}),eO=k(a.hb,function(e){let{toolbar:{buttons:t},render:{buttonClose:n,iconClose:r},styles:l}=e,{close:i,setToolbarWidth:o}=eE(),{setContainerRef:c,containerRect:s}=ei();en(()=>{o(null==s?void 0:s.width)},[o,null==s?void 0:s.width]);let d=()=>n?n():u.createElement(j,{key:a.t9,label:"Close",icon:q,renderIcon:r,onClick:i});return u.createElement("div",{ref:c,style:l.toolbar,className:f(p(a.hb,void 0))},null==t?void 0:t.map(e=>e===a.t9?d():e))});function eW(e){let{carousel:t,animation:n,render:r,toolbar:l,controller:i,noScroll:o,on:c,plugins:s,slides:d,index:f,...v}=e,{animation:p,carousel:h,render:m,toolbar:g,controller:E,noScroll:b,on:w,slides:x,index:N,plugins:C,...k}=M,{config:S,augmentation:I}=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=e,l=e=>{let t=[...r];for(;t.length>0;){let n=t.pop();if((null==n?void 0:n.module.name)===e)return!0;(null==n?void 0:n.children)&&t.push(...n.children)}return!1},i=(e,t)=>{if(""===e){r=[L(t,r)];return}r=P(r,e,e=>[L(t,[e])])},o=(e,t)=>{r=P(r,e,e=>[L(e.module,[L(t,e.children)])])},u=(e,t,n)=>{r=P(r,e,e=>{var r;return[L(e.module,[...n?[L(t)]:[],...null!==(r=e.children)&&void 0!==r?r:[],...n?[]:[L(t)]])]})},c=(e,t,n)=>{r=P(r,e,e=>[...n?[L(t)]:[],e,...n?[]:[L(t)]])},s=e=>{o(a.l4,e)},d=(e,t)=>{r=P(r,e,e=>[L(t,e.children)])},f=e=>{r=P(r,e,e=>e.children)},v=e=>{n.push(e)};return t.forEach(e=>{e({contains:l,addParent:i,append:o,addChild:u,addSibling:c,addModule:s,replace:d,remove:f,augment:v})}),{config:r,augmentation:e=>n.reduce((e,t)=>t(e),e)}}([L(eT,[L(eR,[L(eb,[L(eC),L(eO),L(eL)])])])],s||C),R=I({animation:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{easing:n,...r}=e,{easing:l,...i}=t;return{easing:{...n,...l},...r,...i}}(p,n),carousel:{...h,...t},render:{...m,...r},toolbar:{...g,...l},controller:{...E,...i},noScroll:{...b,...o},on:{...w,...c},...k,...v});return R.open?u.createElement(D,{...R},u.createElement(B,{slides:d||x,index:y(f||N)},u.createElement(Z,null,u.createElement(A,null,function e(t,n){var r;return u.createElement(t.module.component,{key:t.module.name,...n},null===(r=t.children)||void 0===r?void 0:r.map(t=>e(t,n)))}(L(eA,S),R))))):null}},20878:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var r=n(2265),l=n(82442),i=n(15575);let o=e=>(0,l.Nc)(`slide_${e}`),u={descriptionTextAlign:"start",descriptionMaxLines:3,showToggle:!1,hidden:!1},a=e=>({...u,...e}),c=r.createContext(null),s=(0,l.Fy)("useCaptions","CaptionsContext",c);function d({captions:e,children:t}){let{ref:n,hidden:l}=a(e),[i,o]=r.useState(!l),u=r.useMemo(()=>({visible:i,show:()=>o(!0),hide:()=>o(!1)}),[i]);return r.useImperativeHandle(n,()=>u,[u]),r.createElement(c.Provider,{value:u},t)}function f({title:e}){let{toolbarWidth:t}=(0,l.bc)(),{styles:n}=(0,l.RD)(),{visible:i}=s();return i?r.createElement("div",{style:n.captionsTitleContainer,className:(0,l.Wy)(o("captions_container"),o("title_container"))},r.createElement("div",{className:o("title"),style:{...t?{[(0,l.gJ)("toolbar_width")]:`${t}px`}:null,...n.captionsTitle}},e)):null}function v({description:e}){let{descriptionTextAlign:t,descriptionMaxLines:n}=function(){let{captions:e}=(0,l.RD)();return a(e)}(),{styles:i}=(0,l.RD)(),{visible:c}=s();return c?r.createElement("div",{style:i.captionsDescriptionContainer,className:(0,l.Wy)(o("captions_container"),o("description_container"))},r.createElement("div",{className:o("description"),style:{...t!==u.descriptionTextAlign||n!==u.descriptionMaxLines?{[(0,l.gJ)("slide_description_text_align")]:t,[(0,l.gJ)("slide_description_max_lines")]:n}:null,...i.captionsDescription}},"string"==typeof e?e.split("\n").flatMap((e,t)=>[...t>0?[r.createElement("br",{key:t})]:[],e]):e)):null}let p=()=>r.createElement(r.Fragment,null,r.createElement("path",{strokeWidth:2,stroke:"currentColor",strokeLinejoin:"round",fill:"none",d:"M3 5l18 0l0 14l-18 0l0-14z"}),r.createElement("path",{d:"M7 15h3c.55 0 1-.45 1-1v-1H9.5v.5h-2v-3h2v.5H11v-1c0-.55-.45-1-1-1H7c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1zm7 0h3c.55 0 1-.45 1-1v-1h-1.5v.5h-2v-3h2v.5H18v-1c0-.55-.45-1-1-1h-3c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1z"})),h=(0,l.U2)("CaptionsVisible",p()),m=(0,l.TX)("CaptionsVisible",p());function g(){let{visible:e,show:t,hide:n}=s(),{render:i}=(0,l.RD)();return i.buttonCaptions?r.createElement(r.Fragment,null,i.buttonCaptions({visible:e,show:t,hide:n})):r.createElement(l.hU,{label:e?"Hide captions":"Show captions",icon:e?h:m,renderIcon:e?i.iconCaptionsVisible:i.iconCaptionsHidden,onClick:e?n:t})}function E({augment:e,addModule:t}){e(({captions:e,render:{slideFooter:t,...n},toolbar:o,...u})=>{let c=a(e);return{render:{slideFooter:({slide:e})=>r.createElement(r.Fragment,null,null==t?void 0:t({slide:e}),e.title&&r.createElement(f,{title:e.title}),e.description&&r.createElement(v,{description:e.description})),...n},toolbar:(0,l.wQ)(o,i.JT,c.showToggle?r.createElement(g,null):null),captions:c,...u}}),t((0,l.l6)(i.JT,d))}},44850:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(2265),l=n(82442),i=n(15575);let o={separator:"/",container:{}},u=e=>({...o,...e});function a({counter:e}){let{slides:t,currentIndex:n}=(0,l.oc)(),{separator:i,container:{className:o,...a},className:c,...s}=u(e);return 0===t.length?null:r.createElement("div",{className:(0,l.Wy)((0,l.Nc)("counter"),o||c),...s,...a},n+1," ",i," ",t.length)}function c({augment:e,addChild:t}){e(({counter:e,...t})=>({counter:u(e),...t})),t(i.l4,(0,l.l6)(i.mH,a))}},15575:function(e,t,n){"use strict";n.d(t,{$L:function(){return h},Bm:function(){return R},Eb:function(){return x},HE:function(){return o},J1:function(){return m},JT:function(){return s},KN:function(){return w},M9:function(){return b},N4:function(){return k},NH:function(){return O},NZ:function(){return M},Op:function(){return i},PU:function(){return T},S2:function(){return L},SA:function(){return u},Sl:function(){return A},Tf:function(){return E},Tn:function(){return N},Vt:function(){return S},Xe:function(){return f},Zv:function(){return p},aN:function(){return g},af:function(){return y},bg:function(){return W},c3:function(){return U},ds:function(){return I},fS:function(){return v},hb:function(){return c},j3:function(){return H},k0:function(){return r},l4:function(){return l},lT:function(){return a},mH:function(){return d},pE:function(){return P},rO:function(){return F},t9:function(){return C},vg:function(){return D},yq:function(){return _}});let r="carousel",l="controller",i="navigation",o="no-scroll",u="portal",a="root",c="toolbar",s="captions",d="counter",f="loading",v="error",p="complete",h="placeholder",m=e=>`active-slide-${e}`;m(f),m("playing"),m(v),m(p);let g="flex_center",E="no_scroll",b="no_scroll_padding",y="slide_wrapper",w="prev",x="next",N="swipe",C="close",M="onPointerDown",k="onPointerMove",L="onPointerUp",P="onPointerLeave",S="onPointerCancel",I="onKeyDown",R="onKeyUp",_="onWheel",T="Escape",A="ArrowLeft",O="ArrowRight",W="button",D="icon",H="contain",F="cover",U="Unknown action type"}}]);