1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[48809],{82442:function(e,t,n){n.d(t,{$0:function(){return em},CT:function(){return C},Dy:function(){return eb},Eq:function(){return p},Fy:function(){return g},Ju:function(){return k},KL:function(){return N},NM:function(){return E},Nc:function(){return f},OL:function(){return ed},OV:function(){return B},P0:function(){return eM},QB:function(){return w},RD:function(){return H},Su:function(){return eg},TX:function(){return er},U2:function(){return en},VI:function(){return y},Wy:function(){return s},Xl:function(){return m},ZP:function(){return eK},_7:function(){return es},bQ:function(){return eN},bc:function(){return eS},bt:function(){return ec},cO:function(){return v},gJ:function(){return h},hI:function(){return X},hU:function(){return ee},iv:function(){return R},l6:function(){return O},mw:function(){return L},oc:function(){return K},t$:function(){return eD},tS:function(){return z},wQ:function(){return P}});var r,l,i,o,u=n(2265),a=n(15575),c=n(54887);let d="yarl__";function s(){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(d).concat(e)}function h(e){return"--".concat(d).concat(e)}function m(e,t){return"".concat(e).concat(t?"_".concat(t):"")}function v(e){return t=>m(e,t)}function p(){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 b(){return"undefined"!=typeof window}function E(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=10**t;return Math.round((e+Number.EPSILON)*n)/n}function w(e){return void 0===e.type||"image"===e.type}function y(e,t){return e.imageFit===a.rO||e.imageFit!==a.j3&&t===a.rO}function M(e){return"string"==typeof e?Number.parseInt(e,10):e}function x(e){if("number"==typeof e)return{pixel:e};if("string"==typeof e){let t=M(e);return e.endsWith("%")?{percent:t}:{pixel:t}}return{pixel:0}}function N(){return(b()?null==window?void 0:window.devicePixelRatio:void 0)||1}function k(e){return e.length>0}function C(e,t){var n;return e[(n=e.length)>0?(t%n+n)%n:0]}function S(e,t){return k(e)?C(e,t):void 0}function R(e){return w(e)?e.src:void 0}function P(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}}function L(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))}let I=Number(u.version.split(".")[0])>=19,T={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 O(e,t){return{name:e,component:t}}function A(e,t){return{module:e,children:t}}function D(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?[A(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 _=u.createContext(null),z=g("useDocument","DocumentContext",_);function W(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(_.Provider,{value:r},n)}let F=u.createContext(null),X=g("useEvents","EventsContext",F);function Z(e){let{children:t}=e,[n]=u.useState({});u.useEffect(()=>()=>
1{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(F.Provider,{value:r},t)}let U=u.createContext(null),H=g("useLightboxProps","LightboxPropsContext",U);function B(e){let{children:t,...n}=e;return u.createElement(U.Provider,{value:n},t)}let V=u.createContext(null),K=g("useLightboxState","LightboxStateContext",V),Y=u.createContext(null),J=g("useLightboxDispatch","LightboxDispatchContext",Y);function $(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=S(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:S(t.slides,t.index)};return e;default:throw Error(a.c3)}}function Q(e){let{slides:t,index:n,children:r}=e,[l,i]=u.useReducer($,{slides:t,currentIndex:n,globalIndex:n,currentSlide:S(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(Y.Provider,{value:i},u.createElement(V.Provider,{value:o},r))}let j=u.createContext(null),q=g("useTimeouts","TimeoutsContext",j);function G(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(j.Provider,{value:r},t)}let ee=u.forwardRef(function(e,t){var n;let{label:r,className:l,icon:i,renderIcon:o,onClick:c,style:d,...h}=e,{styles:m,labels:v}=H(),p=null!==(n=null==v?void 0:v[r])&&void 0!==n?n:r;return u.createElement("button",{ref:t,type:"button",title:p,"aria-label":p,className:s(f(a.bg),l),onClick:c,style:{...d,...m.button},...h},o?o():u.createElement(i,{className:f(a.vg),style:m.icon}))});function et(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 en(e,t){return et(e,u.createElement("g",{fill:"currentColor"},u.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t))}function er(e,t){return et(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 el=en("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"})),ei=en("Previous",u.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),eo=en("Next",u.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),eu=en("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)")})))),ea=en("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"})),ec=b()?u.useLayoutEffect:u.useEffect;function ed(){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 es(e,t){let n=u.useRef(),r=u.useRef(),l=ed();return ec(()=>{var i,o,u;if(e.current&&void 0!==n.current&&!l){let{keyframes:l,duration:a,easing:c,onfinish:d}=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(M);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==d||d()})}}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 ef(){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)};
1l(),n&&"undefined"!=typeof ResizeObserver&&(t.current=new ResizeObserver(l),t.current.observe(n))},[]),containerRef:e,containerRect:n}}function eh(){let e=u.useRef(),{setTimeout:t,clearTimeout:n}=q();return u.useCallback((r,l)=>{n(e.current),e.current=t(r,l>0?l:0)},[t,n])}function em(e){let t=u.useRef(e);return ec(()=>{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 ev(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function ep(e,t){return u.useMemo(()=>null==e&&null==t?null:n=>{ev(e,n),ev(t,n)},[e,t])}function eg(){let[e,t]=u.useState(!1);return ec(()=>{t("rtl"===window.getComputedStyle(window.document.documentElement).direction)},[]),e}function eb(){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])}}function eE(e,t){let n=u.useRef(0),r=eh(),l=em(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 ew=v("slide"),ey=v("slide_image");function eM(e){var t,n,r,l,i,o,c;let{slide:d,offset:h,render:m,rect:v,imageFit:p,imageProps:g,onClick:E,onLoad:w,onError:M,style:x}=e,[N,k]=u.useState(a.Xe),{publish:C}=X(),{setTimeout:S}=q(),R=u.useRef(null);u.useEffect(()=>{0===h&&C((0,a.J1)(N))},[h,N,C]);let P=em(e=>{("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{e.parentNode&&(k(a.Zv),S(()=>{null==w||w(e)},0))})}),L=u.useCallback(e=>{R.current=e,(null==e?void 0:e.complete)&&P(e)},[P]),I=u.useCallback(e=>{P(e.currentTarget)},[P]),T=em(()=>{k(a.fS),null==M||M()}),O=y(d,p),A=(e,t)=>Number.isFinite(e)?e:t,D=A(Math.max(...(null!==(n=null===(t=d.srcSet)||void 0===t?void 0:t.map(e=>e.width))&&void 0!==n?n:[]).concat(d.width?[d.width]:[]).filter(Boolean)),(null===(r=R.current)||void 0===r?void 0:r.naturalWidth)||0),_=A(Math.max(...(null!==(i=null===(l=d.srcSet)||void 0===l?void 0:l.map(e=>e.height))&&void 0!==i?i:[]).concat(d.height?[d.height]:[]).filter(Boolean)),(null===(o=R.current)||void 0===o?void 0:o.naturalHeight)||0),z=null===(c=d.srcSet)||void 0===c?void 0:c.sort((e,t)=>e.width-t.width).map(e=>"".concat(e.src," ").concat(e.width,"w")).join(", "),W=z&&v&&b()?"".concat(Math.round(Math.min(v&&!O&&d.width&&d.height?v.height/d.height*d.width:Number.MAX_VALUE,v.width)),"px"):void 0,{style:F,className:Z,...U}=g||{};return u.createElement(u.Fragment,null,u.createElement("img",{ref:L,onLoad:I,onError:T,onClick:E,draggable:!1,className:s(f(ey()),O&&f(ey("cover")),N!==a.Zv&&f(ey("loading")),Z),style:{...D&&_?{maxWidth:"min(".concat(D,"px, 100%)"),maxHeight:"min(".concat(_,"px, 100%)")}:{maxWidth:"100%",maxHeight:"100%"},...x,...F},...U,alt:d.alt,sizes:W,srcSet:z,src:d.src}),N!==a.Zv&&u.createElement("div",{className:f(ew(a.$L))},N===a.Xe&&((null==m?void 0:m.iconLoading)?m.iconLoading():u.createElement(eu,{className:s(f(a.vg),f(ew(a.Xe)))})),N===a.fS&&((null==m?void 0:m.iconError)?m.iconError():u.createElement(ea,{className:s(f(a.vg),f(ew(a.fS)))}))))}let ex=u.forwardRef(function(e,t){let{className:n,children:r,...l}=e,i=u.useRef(null);return u.createElement(W,{nodeRef:i},u.createElement("div",{ref:ep(t,i),className:s(f("root"),n),...l},r))});function eN(e,t,n,r,l){u.useEffect(()=>l?()=>{}:p(e(a.NZ,t),e(a.N4,n),e(a.S2,r),e(a.pE,r),e(a.Vt,r)),[e,t,n,r,l])}(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 ek=v("container"),eC=u.createContext(null),eS=g("useController","ControllerContext",eC),eR=O(a.l4,function(e){var t;let{children:n,...r}=e,{carousel:l,animation:c,controller:d,on:m,styles:v,render:g}=r,{closeOnPullUp:b,closeOnPullDown:w,preventDefaultWheelX:y,preventDefaultWheelY:M}=d,[N,k]=u.useState(),C=K(),S=J(),[R,P]=u.useState(i.NONE),L=u.useRef(0),I=u.useRef(0),T=u.useRef(1),{registerSensors:O,subscribeSensors:A}=eb(),{subscribe:D,publish:_}=X(),W=eh(),F=eh(),Z=eh(),{containerRef:U,setContainerRef:H,containerRect:B}=ef(),V=ep(function(e){let{preventDefaultWheelX:t,preventDefaultWheelY:n}=e,r=u.useRef(null),l=em(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:M}),H),Y=u.useRef(null),$=ep(Y,void 0),{getOwnerDocument:Q}=z(),j=eg(),G=e=>(j?-1:1)*("number"==typeof e?e:1),ee=em(()=>{var e;return null===(e=U.current)||void 0===e?void 0:e.focus()}),et=em(()=>r),en=em(()=>C),er=u.useCallback(e=>_(a.KN,e),[_]),el=u.useCallback(e=>_(a.Eb,e),[_]),ei=u.useCallback(()=>_(a.t9),[_]),eo=e=>!(l.finite&&(G(e)>0&&0===C.currentIndex||0>G(e)&&C.currentIndex===C.slides.length-1)),eu=e=>{var t;L.current=e,null===(t=U.current)||void 0===t||t.style.setProperty(h("swipe_offset"),"".concat(Math.round(e),"px"))},ea=e=>{var t,n;I.current=e,T.current=Math.min(Math.max(E(1-(w&&e>0?e:b&&e<0?-e:0)/60*.5,2),.5),1),null===(t=U.current)||void 0===t||t.style.setProperty(h("pull_offset"),"".concat(Math.round(e),"px")),null===(n=U.current)||void 0===n||n.style.setProperty(h("pull_opacity"),"".concat(T.current))},{prepareAnimation:ec}=es(Y,(e,t,n)=>{if(Y.current&&B)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}}),ed=(e,t)=>{if(b||w){ea(e);let n=0;Y.current&&(n=c.fade*(t?2:1),ec({rect:Y.current.getBoundingClientRect(),opacity:T.current,duration:n})),Z(()=>{ea(0),P(i.NONE)},n),P(i.ANIMATION),t||ei()}},{prepareAnimation:ev,isAnimationPlaying:eE}=es(Y,(e,t,n)=>{var r;if(Y.current&&B&&(null===(r=C.animation)||void 0===r?void 0:r.duration)){let r=x(l.spacing),i=(r.percent?r.percent*B.width/100:r.pixel)||0;return{keyframes:[{transform:"translate(".concat(G(C.globalIndex-e.index)*(B.width+i)+e.rect.x-t.x+n.x,"px, 0)")},{transform:"translate(0, 0)"}],duration:C.animation.duration,easing:C.animation.easing}}}),ew=em(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||eE()?c.easing.swipe:c.easing.navigation,{direction:u}=e,d=null!==(n=e.count)&&void 0!==n?n:1,s=i.ANIMATION,f=l*d;if(!u){let t=null==B?void 0:B.width,n=e.duration||0,i=t?l/t*Math.abs(r):l;0!==d?(n<i?f=f/i*Math.max(n,i/5):t&&(f=l/t*(t-Math.abs(r))),u=G(r)>0?a.KN:a.Eb):f=l/2}let h=0;u===a.KN?eo(G(1))?h=-d:(s=i.NONE,f=l):u===a.Eb&&(eo(G(-1))?h=d:(s=i.NONE,f=l)),F(()=>{eu(0),P(i.NONE)}
1,f=Math.round(f)),Y.current&&ev({rect:Y.current.getBoundingClientRect(),index:C.globalIndex}),P(s),_(a.Tn,{type:"swipe",increment:h,duration:f,easing:o})});u.useEffect(()=>{var e,t;(null===(e=C.animation)||void 0===e?void 0:e.increment)&&(null===(t=C.animation)||void 0===t?void 0:t.duration)&&W(()=>S({type:"swipe",increment:0}),C.animation.duration)},[C.animation,S,W]);let ey=[A,eo,(null==B?void 0:B.width)||0,c.swipe,()=>P(i.SWIPE),e=>eu(e),(e,t)=>ew({offset:e,duration:t,count:1}),e=>ew({offset:e,count:0})],eM=[()=>{w&&P(i.PULL)},e=>ea(e),e=>ed(e),e=>ed(e,!0)];!function(e,t,n,r,l,i,a,c,d,s,f,h,m,v){let p=u.useRef(0),g=u.useRef([]),b=u.useRef(),E=u.useRef(0),w=u.useRef(o.NONE),y=u.useCallback(e=>{b.current===e.pointerId&&(b.current=void 0,w.current=o.NONE);let t=g.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),M=u.useCallback(e=>{y(e),e.persist(),g.current.push(e)},[y]),x=em(e=>{M(e)}),N=(e,t)=>s&&e>t||d&&e<-t,k=em(e=>{if(g.current.find(t=>t.pointerId===e.pointerId)&&b.current===e.pointerId){let e=Date.now()-E.current,t=p.current;w.current===o.SWIPE?Math.abs(t)>.3*n||Math.abs(t)>5&&e<r?a(t,e):c(t):w.current===o.PULL&&(N(t,60)?m(t,e):v(t)),p.current=0,w.current=o.NONE}y(e)});eN(e,x,em(e=>{let n=g.current.find(t=>t.pointerId===e.pointerId);if(n){let r=b.current===e.pointerId;
1if(0===e.buttons){r&&0!==p.current?k(e):y(n);return}let u=e.clientX-n.clientX,a=e.clientY-n.clientY;if(void 0===b.current){let n=t=>{M(e),b.current=e.pointerId,E.current=Date.now(),w.current=t};Math.abs(u)>Math.abs(a)&&Math.abs(u)>30&&t(u)?(n(o.SWIPE),l()):Math.abs(a)>Math.abs(u)&&N(a,30)&&(n(o.PULL),f())}else r&&(w.current===o.SWIPE?(p.current=u,i(u)):w.current===o.PULL&&(p.current=a,h(a)))}}),k)}(...ey,b,w,...eM),function(e,t,n,r,l,o,c,d,s){let f=u.useRef(0),h=u.useRef(0),m=u.useRef(),v=u.useRef(),p=u.useRef(0),g=u.useRef(),b=u.useRef(0),{setTimeout:E,clearTimeout:w}=q(),y=u.useCallback(()=>{m.current&&(w(m.current),m.current=void 0)},[w]),M=u.useCallback(()=>{v.current&&(w(v.current),v.current=void 0)},[w]),x=em(()=>{e!==i.SWIPE&&(f.current=0,b.current=0,y(),M())});u.useEffect(x,[e,x]);let N=em(e=>{v.current=void 0,f.current===e&&s(f.current)}),k=em(t=>{if(t.ctrlKey||Math.abs(t.deltaY)>Math.abs(t.deltaX))return;let u=e=>{p.current=e,w(g.current),g.current=e>0?E(()=>{p.current=0,g.current=void 0},300):void 0};if(e===i.NONE){if(Math.abs(t.deltaX)<=1.2*Math.abs(p.current)){u(t.deltaX);return}if(!n(-t.deltaX))return;if(h.current+=t.deltaX,y(),Math.abs(h.current)>30)h.current=0,u(0),b.current=Date.now(),o();else{let e=h.current;m.current=E(()=>{m.current=void 0,e===h.current&&(h.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),M(),Math.abs(e)>.2*r){u(t.deltaX),d(e,Date.now()-b.current);return}v.current=E(()=>N(e),2*l)}else u(t.deltaX)});u.useEffect(()=>t(a.yq,k),[t,k])}(R,...ey);let ex=em(()=>{d.focus&&Q().querySelector(".".concat(f(a.SA)," .").concat(f(ek())))&&ee()});u.useEffect(ex,[ex]);let eS=em(()=>{var e;null===(e=m.view)||void 0===e||e.call(m,{index:C.currentIndex})});u.useEffect(eS,[C.globalIndex,eS]),u.useEffect(()=>p(D(a.KN,e=>ew({direction:a.KN,...e})),D(a.Eb,e=>ew({direction:a.Eb,...e})),D(a.Tn,e=>S(e))),[D,ew,S]);let eR=u.useMemo(()=>({prev:er,next:el,close:ei,focus:ee,slideRect:B?function(e,t){let n=x(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)}}(B,l.padding):{width:0,height:0},containerRect:B||{width:0,height:0},subscribeSensors:A,containerRef:U,setCarouselRef:$,toolbarWidth:N,setToolbarWidth:k}),[er,el,ei,ee,A,B,U,$,N,k,l.padding]);return u.useImperativeHandle(d.ref,()=>({prev:er,next:el,close:ei,focus:ee,getLightboxProps:et,getLightboxState:en}),[er,el,ei,ee,et,en]),u.createElement("div",{ref:V,className:s(f(ek()),f(a.aN)),style:{...R===i.SWIPE?{[h("swipe_offset")]:"".concat(Math.round(L.current),"px")}:null,...R===i.PULL?{[h("pull_offset")]:"".concat(Math.round(I.current),"px"),[h("pull_opacity")]:"".concat(T.current)}:null,..."none"!==d.touchAction?{[h("controller_touch_action")]:d.touchAction}:null,...v.container},...d.aria?{role:"presentation","aria-live":"polite"}:null,tabIndex:-1,...O},B&&u.createElement(eC.Provider,{value:eR},n,null===(t=g.controls)||void 0===t?void 0:t.call(g)))});function eP(e){return m(a.k0,e)}function eL(e){return m("slide",e)}function eI(e){var t,n,r,l;let i,{slide:o,offset:c}=e,d=u.useRef(null),{currentIndex:h}=K(),{slideRect:m,close:v,focus:p}=eS(),{render:g,carousel:{imageFit:b,imageProps:E},on:{click:y}
1,controller:{closeOnBackdropClick:M},styles:{slide:x}}=H(),{getOwnerDocument:N}=z(),k=0!==c;return u.useEffect(()=>{var e;k&&(null===(e=d.current)||void 0===e?void 0:e.contains(N().activeElement))&&p()},[k,p,N]),u.createElement("div",{ref:d,className:s(f(eL()),!k&&f(eL("current")),f(a.aN)),inert:I?k:k?"":void 0,onClick:e=>{let t=d.current,n=e.target instanceof HTMLElement?e.target:void 0;M&&n&&t&&(n===t||Array.from(t.children).find(e=>e===n)&&n.classList.contains(f(a.af)))&&v()},style:x},(!(i=null===(t=g.slide)||void 0===t?void 0:t.call(g,{slide:o,offset:c,rect:m}))&&w(o)&&(i=u.createElement(eM,{slide:o,offset:c,render:g,rect:m,imageFit:b,imageProps:E,onClick:k?void 0:()=>null==y?void 0:y({index:h})})),i?u.createElement(u.Fragment,null,null===(n=g.slideHeader)||void 0===n?void 0:n.call(g,{slide:o}),(null!==(r=g.slideContainer)&&void 0!==r?r:e=>{let{children:t}=e;return t})({slide:o,children:i}),null===(l=g.slideFooter)||void 0===l?void 0:l.call(g,{slide:o})):null))}function eT(){let e=H().styles.slide;return u.createElement("div",{className:f("slide"),style:e})}let eO=O(a.k0,function(e){let{carousel:t}=e,{slides:n,currentIndex:r,globalIndex:l}=K(),{setCarouselRef:i}=eS(),o=x(t.spacing),a=x(t.padding),c=L(t,n,1),d=[];if(k(n))for(let e=r-c;e<=r+c;e+=1){let i=C(n,e),o=l-r+e,u=t.finite&&(e<0||e>n.length-1);d.push(u?{key:o}:{key:["".concat(o),R(i)].filter(Boolean).join("|"),offset:e-r,slide:i})}return u.createElement("div",{ref:i,className:s(f(eP()),d.length>0&&f(eP("with_slides"))),style:{["".concat(h(eP("slides_count")))]:d.length,["".concat(h(eP("spacing_px")))]:o.pixel||0,["".concat(h(eP("spacing_percent")))]:o.percent||0,["".concat(h(eP("padding_px")))]:a.pixel||0,["".concat(h(eP("padding_percent")))]:a.percent||0}},d.map(e=>{let{key:t,slide:n,offset:r}=e;return n?u.createElement(eI,{key:t,slide:n,offset:r}):u.createElement(eT,{key:t})}))});function eA(){let{carousel:e}=H(),{slides:t,currentIndex:n}=K();return{prevDisabled:0===t.length||e.finite&&0===n,nextDisabled:0===t.length||e.finite&&n===t.length-1}}function eD(e){var t;let n=eg(),{publish:r}=X(),{animation:l}=H(),{prevDisabled:i,nextDisabled:o}=eA(),c=(null!==(t=l.navigation)&&void 0!==t?t:l.swipe)/2,d=eE(()=>r(a.KN),c),s=eE(()=>r(a.Eb),c),f=em(e=>{switch(e.key){case a.PU:r(a.t9);break;case a.Sl:(n?o:i)||(n?s:d)();break;case a.NH:(n?i:o)||(n?d:s)()}});u.useEffect(()=>e(a.ds,f),[e,f])}function e_(e){let{label:t,icon:n,renderIcon:r,action:l,onClick:i,disabled:o,style:a}=e;return u.createElement(ee,{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 ec(()=>{t&&n.current&&(n.current=!1,e())},[t,e]),{onFocus:u.useCallback(()=>{n.current=!0},[]),onBlur:u.useCallback(()=>{n.current=!1},[])}}(eS().focus,o)})}let ez=O(a.Op,function(e){let{render:{buttonPrev:t,buttonNext:n,iconPrev:r,iconNext:l},styles:i}=e,{prev:o,next:c,subscribeSensors:d}=eS(),{prevDisabled:s,nextDisabled:f}=eA();return eD(d),u.createElement(u.Fragment,null,t?t():u.createElement(e_,{label:"Previous",action:a.KN,icon:ei,renderIcon:r,style:i.navigationPrev,disabled:s,onClick:o}),n?n():u.createElement(e_,{label:"Next",action:a.Eb,icon:eo,renderIcon:l,style:i.navigationNext,disabled:f,onClick:c}))}),eW=f(a.Tf),eF=f(a.M9);function eX(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((M(i)||0)+t,"px")),()=>{o?e.style.setProperty(l,o):e.style.removeProperty(l)}}let eZ=O(a.HE,function(e){let{noScroll:{disabled:t},children:n}=e,r=eg(),{getOwnerDocument:l,getOwnerWindow:i}=z();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(eX(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(eF)&&e.push(eX(i,a,r))}}return o.classList.add(eW),()=>
1{o.classList.remove(eW),e.forEach(e=>e())}},[r,t,l,i]),u.createElement(u.Fragment,null,n)});function eU(e,t,n){let r=e.getAttribute(t);return e.setAttribute(t,n),()=>{r?e.setAttribute(t,r):e.removeAttribute(t)}}let eH=O(a.SA,function(e){var t;let{children:n,animation:r,styles:l,className:i,on:o,portal:d,close:v}=e,[p,g]=u.useState(!1),[b,E]=u.useState(!1),w=u.useRef([]),y=u.useRef(null),{setTimeout:M}=q(),{subscribe:x}=X(),N=ed()?0:r.fade;u.useEffect(()=>(g(!0),()=>{g(!1),E(!1)}),[]);let k=em(()=>{w.current.forEach(e=>e()),w.current=[]}),C=em(()=>{var e;E(!1),k(),null===(e=o.exiting)||void 0===e||e.call(o),M(()=>{var e;null===(e=o.exited)||void 0===e||e.call(o),v()},N)});u.useEffect(()=>x(a.t9,C),[x,C]);let S=em(e=>{var t,n,r;e.scrollTop,E(!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&&(w.current.push(eU(n,"inert","")),w.current.push(eU(n,"aria-hidden","true")))}w.current.push(()=>{var e,t;null===(t=null===(e=y.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)}),M(()=>{var e;null===(e=o.entered)||void 0===e||e.call(o)},N)}),R=u.useCallback(e=>{e?S(e):k()},[S,k]);return p?(0,c.createPortal)(u.createElement(ex,{ref:R,className:s(i,f(m(a.SA,void 0)),f(a.M9),b&&f((t="open",m(a.SA,t)))),role:"presentation","aria-live":"polite",style:{...r.fade!==T.animation.fade?{[h("fade_animation_duration")]:"".concat(N,"ms")}:null,...r.easing.fade!==T.animation.easing.fade?{[h("fade_animation_timing_function")]:r.easing.fade}:null,...l.root},onFocus:e=>{y.current||(y.current=e.relatedTarget)}},n),d.root||document.body):null}),eB=O(a.lT,function(e){let{children:t}=e;return u.createElement(u.Fragment,null,t)}),eV=O(a.hb,function(e){let{toolbar:{buttons:t},render:{buttonClose:n,iconClose:r},styles:l}=e,{close:i,setToolbarWidth:o}=eS(),{setContainerRef:c,containerRect:d}=ef();ec(()=>{o(null==d?void 0:d.width)},[o,null==d?void 0:d.width]);let s=()=>n?n():u.createElement(ee,{key:a.t9,label:"Close",icon:el,renderIcon:r,onClick:i});return u.createElement("div",{ref:c,style:l.toolbar,className:f(m(a.hb,void 0))},null==t?void 0:t.map(e=>e===a.t9?s():e))});function eK(e){let{carousel:t,animation:n,render:r,toolbar:l,controller:i,noScroll:o,on:c,plugins:d,slides:s,index:f,...h}=e,{animation:m,carousel:v,render:p,toolbar:g,controller:b,noScroll:E,on:w,slides:y,index:x,plugins:N,...k}=T,{config:C,augmentation:S}=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=[A(t,r)];return}r=D(r,e,e=>[A(t,[e])])},o=(e,t)=>{r=D(r,e,e=>[A(e.module,[A(t,e.children)])])},u=(e,t,n)=>{r=D(r,e,e=>{var r;return[A(e.module,[...n?[A(t)]:[],...null!==(r=e.children)&&void 0!==r?r:[],...n?[]:[A(t)]])]})},c=(e,t,n)=>{r=D(r,e,e=>[...n?[A(t)]:[],e,...n?[]:[A(t)]])},d=e=>{o(a.l4,e)},s=(e,t)=>{r=D(r,e,e=>[A(t,e.children)])},f=e=>{r=D(r,e,e=>e.children)},h=e=>{n.push(e)};return t.forEach(e=>{e({contains:l,addParent:i,append:o,addChild:u,addSibling:c,addModule:d,replace:s,remove:f,augment:h})}),{config:r,augmentation:e=>n.reduce((e,t)=>t(e),e)}}([A(eH,[A(eZ,[A(eR,[A(eO),A(eV),A(ez)])])])],d||N),R=S({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}}(m,n),carousel:{...v,...t},render:{...p,...r},toolbar:{...g,...l},controller:{...b,...i},noScroll:{...E,...o},on:{...w,...c},...k,...h});return R.open?u.createElement(B,{...R},u.createElement(Q,{slides:s||y,index:M(f||x)},u.createElement(G,null,u.createElement(Z,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)))}(A(eB,C),R))))):null}},50784:function(e,t,n){n.d(t,{Z:function(){return L}});var r=n(2265),l=n(82442),i=n(15575);let o={ref:null,position:"bottom",width:120,height:80,border:1,borderRadius:4,padding:4,gap:16,imageFit:"contain",vignette:!0,hidden:!1,showToggle:!1},u=e=>({...o,...e});function a(){let{thumbnails:e}=(0,l.RD)();return u(e)}let c=e=>(0,l.Xl)(i.dA,e),d=e=>c((0,l.Xl)("thumbnail",e)),s=(0,l.U2)("VideoThumbnail",r.createElement("path",{d:"M10 16.5l6-4.5-6-4.5v9zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"})),f=(0,l.U2)("UnknownThumbnail",r.createElement("path",{d:"M23 18V6c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2zM8.5 12.5l2.5 3.01L14.5 11l4.5 6H5l3.5-4.5z"})),h=(0,l.cO)("active"),m=(0,l.cO)("fadein"),v=(0,l.cO)("fadeout"),p=(0,l.cO)("placeholder"),g="delay",b="duration";function E(e){let{slide:t,onClick:n,active:o,fadeIn:u,fadeOut:c,placeholder:E,onLoseFocus:w}=e,y=r.useRef(null),{render:M,styles:x}=(0,l.RD)(),{getOwnerDocument:N}=(0,l.tS)(),{width:k,height:C,imageFit:S}=a(),R=(0,l.$0)(w);return r.useEffect(()=>{c&&N().activeElement===y.current&&R()},[c,R,N]),r.createElement("button",{ref:y,type:"button",className:(0,l.Wy)((0,l.Nc)(i.aN),(0,l.Nc)(d()),o&&(0,l.Nc)(d(h())),u&&(0,l.Nc)(d(m())),c&&(0,l.Nc)(d(v())),E&&(0,l.Nc)(d(p()))),style:{...u?{[(0,l.gJ)(d(m(b)))]:"".concat(u.duration,"ms"),[(0,l.gJ)(d(m(g)))]:"".concat(u.delay,"ms")}:null,...c?{[(0,l.gJ)(d(v(b)))]:"".concat(c.duration,"ms"),[(0,l.gJ)(d(v(g)))]:"".concat(c.delay,"ms")}:null,...x.thumbnail},onClick:n},t&&function(e){var t;let{slide:n,render:o,rect:u,imageFit:a}=e,c=null===(t=o.thumbnail)||void 0===t?void 0:t.call(o,{slide:n,render:o,rect:u,imageFit:a});if(c)return c;
1let h={render:o,rect:u,imageFit:a};if(n.thumbnail)return r.createElement(l.P0,{slide:{src:n.thumbnail},...h});if((0,l.QB)(n))return r.createElement(l.P0,{slide:n,...h});let m=(0,l.Nc)(d(i.vg));return"video"===n.type?r.createElement(r.Fragment,null,n.poster&&r.createElement(l.P0,{slide:{src:n.poster},...h}),r.createElement(s,{className:m})):r.createElement(f,{className:m})}({slide:t,render:M,rect:{width:k,height:C},imageFit:S}))}function w(e){return["top","bottom"].includes(e)}function y(e,t){return t+2*(e.border+e.padding)+e.gap}function M(e){let{visible:t,containerRef:n}=e,u=r.useRef(null),s=(0,l.Su)(),{publish:f,subscribe:h}=(0,l.hI)(),{carousel:m,styles:v}=(0,l.RD)(),{slides:p,globalIndex:g,animation:b}=(0,l.oc)(),{registerSensors:M,subscribeSensors:x}=(0,l.Dy)();(0,l.t$)(x);let N=a(),{position:k,width:C,height:S,border:R,borderStyle:P,borderColor:L,borderRadius:I,padding:T,gap:O,vignette:A}=N,D=(null==b?void 0:b.duration)||0,_=D>0&&(null==b?void 0:b.increment)||0,{prepareAnimation:z}=(0,l._7)(u,e=>({keyframes:w(k)?[{transform:"translateX(".concat((s?-1:1)*y(N,C)*_+e,"px)")},{transform:"translateX(0)"}]:[{transform:"translateY(".concat(y(N,S)*_+e,"px)")},{transform:"translateY(0)"}],duration:D,easing:null==b?void 0:b.easing})),W=(0,l.$0)(()=>{let e=0;if(n.current&&u.current){let t=n.current.getBoundingClientRect(),r=u.current.getBoundingClientRect();e=w(k)?r.left-t.left-(t.width-r.width)/2:r.top-t.top-(t.height-r.height)/2}z(e)});r.useEffect(()=>(0,l.Eq)(h(i.Tn,W)),[h,W]);let F=(0,l.mw)(m,p),X=[];if((0,l.Ju)(p))for(let e=g-F-Math.abs(_);e<=g+F+Math.abs(_);e+=1){let t=m.finite&&(e<0||e>p.length-1)||_<0&&e<g-F||_>0&&e>g+F?null:(0,l.CT)(p,e),n=["".concat(e),function(e){let{thumbnail:t,poster:n}=e||{thumbnail:"placeholder"};return"string"==typeof t&&t||"string"==typeof n&&n||e&&(0,l.iv)(e)||void 0}(t)].filter(Boolean).join("|");X.push({key:n,index:e,slide:t})}let Z=e=>()=>{e>g?f(i.Eb,{count:e-g}):e<g&&f(i.KN,{count:g-e})};return r.createElement("div",{className:(0,l.Wy)((0,l.Nc)(c("container")),(0,l.Nc)(i.aN)),style:{...t?null:{display:"none"},...C!==o.width?{[(0,l.gJ)(d("width"))]:"".concat(C,"px")}:null,...S!==o.height?{[(0,l.gJ)(d("height"))]:"".concat(S,"px")}:null,...R!==o.border?{[(0,l.gJ)(d("border"))]:"".concat(R,"px")}:null,...P?{[(0,l.gJ)(d("border_style"))]:P}:null,...L?{[(0,l.gJ)(d("border_color"))]:L}:null,...I!==o.borderRadius?{[(0,l.gJ)(d("border_radius"))]:"".concat(I,"px")}:null,...T!==o.padding?{[(0,l.gJ)(d("padding"))]:"".concat(T,"px")}:null,...O!==o.gap?{[(0,l.gJ)(d("gap"))]:"".concat(O,"px")}:null,...v.thumbnailsContainer}},r.createElement("nav",{ref:u,style:v.thumbnailsTrack,className:(0,l.Wy)((0,l.Nc)(c("track")),(0,l.Nc)(i.aN)),tabIndex:-1,...M},X.map(e=>{let{key:t,index:n,slide:l}=e,i=D/Math.abs(_||1),o=_>0&&n>g+F-_&&n<=g+F||_<0&&n<g-F-_&&n>=g-F?{duration:i,delay:((_>0?n-(g+F-_):g-F-_-n)-1)*i}:void 0,a=_>0&&n<g-F||_<0&&n>g+F?{duration:i,delay:(_>0?_-(g-F-n):-_-(n-(g+F)))*i}:void 0;return r.createElement(E,{key:t,slide:l,active:n===g,fadeIn:o,fadeOut:a,placeholder:!l,onClick:Z(n),onLoseFocus:()=>{var e;return null===(e=u.current)||void 0===e?void 0:e.focus()}})})),A&&r.createElement("div",{className:(0,l.Nc)(c("vignette"))}))}let x=r.createContext(null),N=(0,l.Fy)("useThumbnails","ThumbnailsContext",x);function k(e){let{children:t,...n}=e,{ref:i,position:o,hidden:a}=u(n.thumbnails),[d,s]=r.useState(!a),f=r.useRef(null),h=r.useMemo(()=>({visible:d,show:()=>s(!0),hide:()=>s(!1)}),[d]);return r.useImperativeHandle(i,()=>h,[h]),r.createElement(l.OV,{...n},r.createElement(x.Provider,{value:h},r.createElement("div",{ref:f,className:(0,l.Wy)((0,l.Nc)(c()),(0,l.Nc)(c("".concat(o))))},["start","top"].includes(o)&&r.createElement(M,{containerRef:f,visible:d}),r.createElement("div",{className:(0,l.Nc)(c("wrapper"))},t),["end","bottom"].includes(o)&&r.createElement(M,{containerRef:f,visible:d}))))}let C=()=>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:"M5 14h4v3h-4zM10 14h4v3h-4zM15 14h4v3h-4z"})),S=(0,l.U2)("ThumbnailsVisible",C()),R=(0,l.TX)("ThumbnailsHidden",C());function P(){let{visible:e,show:t,hide:n}=N(),{render:i}=(0,l.RD)();return i.buttonThumbnails?r.createElement(r.Fragment,null,i.buttonThumbnails({visible:e,show:t,hide:n})):r.createElement(l.hU,{label:e?"Hide thumbnails":"Show thumbnails",
1icon:e?S:R,renderIcon:e?i.iconThumbnailsVisible:i.iconThumbnailsHidden,onClick:e?n:t})}function L(e){let{augment:t,contains:n,append:o,addParent:a}=e;t(e=>{let{thumbnails:t,toolbar:n,...o}=e,a=u(t);return{toolbar:(0,l.wQ)(n,i.dA,a.showToggle?r.createElement(P,null):null),thumbnails:a,...o}});let c=(0,l.l6)(i.dA,k);n(i.zr)?o(i.zr,c):a(i.l4,c)}},68032:function(e,t,n){n.d(t,{Z:function(){return M}});var r=n(2265),l=n(82442),i=n(15575);let o={maxZoomPixelRatio:1,zoomInMultiplier:2,doubleTapDelay:300,doubleClickDelay:500,doubleClickMaxStops:2,keyboardMoveDistance:50,wheelZoomDistanceFactor:100,pinchZoomDistanceFactor:100,scrollToZoom:!1},u=e=>({...o,...e});function a(){let{zoom:e}=(0,l.RD)();return u(e)}function c(e,t){return((e.clientX-t.clientX)**2+(e.clientY-t.clientY)**2)**.5}function d(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:2;return e*Math.min(1+Math.abs(t/n),r)**Math.sign(t)}let s=r.createContext(null),f=(0,l.Fy)("useZoom","ZoomControllerContext",s);function h(e){let{children:t}=e,[n,o]=r.useState(),{slideRect:u}=(0,l.bc)(),{imageRect:f,maxZoom:h}=function(e,t){var n,r;let i={width:0,height:0},o={width:0,height:0},{currentSlide:u}=(0,l.oc)(),{imageFit:c}=(0,l.RD)().carousel,{maxZoomPixelRatio:d}=a();if(e&&u){let a={...u,...t};if((0,l.QB)(a)){let t=(0,l.VI)(a,c),u=Math.max(...((null===(n=a.srcSet)||void 0===n?void 0:n.map(e=>e.width))||[]).concat(a.width?[a.width]:[])),s=Math.max(...((null===(r=a.srcSet)||void 0===r?void 0:r.map(e=>e.height))||[]).concat(a.height?[a.height]:[]));u>0&&s>0&&e.width>0&&e.height>0&&(o={width:(o=t?{width:Math.round(Math.min(u,e.width/e.height*s)),height:Math.round(Math.min(s,e.height/e.width*u))}:{width:u,height:s}).width*d,height:o.height*d},i=t?{width:Math.min(e.width,o.width,u),height:Math.min(e.height,o.height,s)}:{width:Math.round(Math.min(e.width,e.height/s*u,u)),height:Math.round(Math.min(e.height,e.width/u*s,s))})}}let s=i.width?Math.max((0,l.NM)(o.width/i.width,5),1):1;return{imageRect:i,maxZoom:s}}(u,null==n?void 0:n.imageDimensions),{zoom:m,offsetX:v,offsetY:p,disabled:g,changeZoom:b,changeOffsets:E,zoomIn:w,zoomOut:y}=function(e,t,n){let[i,o]=r.useState(1),[u,c]=r.useState(0),[d,s]=r.useState(0),f=function(e,t,n,i){let o=r.useRef(),u=r.useRef(),{zoom:a}=(0,l.RD)().animation,c=(0,l.OL)(),d=(0,l.$0)(()=>{var r,l,d;if(null===(r=o.current)||void 0===r||r.cancel(),o.current=void 0,u.current&&(null==i?void 0:i.current)){try{o.current=null===(d=(l=i.current).animate)||void 0===d?void 0:d.call(l,[{transform:u.current},{transform:"scale(".concat(e,") translateX(").concat(t,"px) translateY(").concat(n,"px)")}],{duration:c?0:null!=a?a:500,easing:o.current?"ease-out":"ease-in-out"})}catch(e){console.error(e)}u.current=void 0,o.current&&(o.current.onfinish=()=>{o.current=void 0})}});return(0,l.bt)(d,[e,t,n,d]),r.useCallback(()=>{u.current=(null==i?void 0:i.current)?window.getComputedStyle(i.current).transform:void 0},[i])}(i,u,d,n),{currentSlide:h,globalIndex:m}=(0,l.oc)(),{containerRect:v,slideRect:p}=(0,l.bc)(),{zoomInMultiplier:g}=a(),b=h&&(0,l.QB)(h)?h.src:void 0,E=!b||!(null==n?void 0:n.current);(0,l.bt)(()=>{o(1),c(0),s(0)},[m,b]);let w=r.useCallback((t,n,r)=>{let l=r||i,o=u-(t||0),a=d-(n||0),f=(e.width*l-p.width)/2/l,h=(e.height*l-p.height)/2/l;c(Math.min(Math.abs(o),Math.max(f,0))*Math.sign(o)),s(Math.min(Math.abs(a),Math.max(h,0))*Math.sign(a))},[i,u,d,p,e.width,e.height]),y=r.useCallback((e,n,r,u)=>{let a=(0,l.NM)(Math.min(Math.max(e+.001<t?e:t,1),t),5);a!==i&&(n||f(),w(r?r*(1/i-1/a):0,u?u*(1/i-1/a):0,a),o(a))},[i,t,w,f]),M=(0,l.$0)(()=>{i>1&&(i>t&&y(t,!0),w())});(0,l.bt)(M,[v.width,v.height,M]);let x=r.useCallback(()=>y(i*g),[i,g,y]),N=r.useCallback(()=>y(i/g),[i,g,y]);return{zoom:i,offsetX:u,offsetY:d,disabled:E,changeOffsets:w,changeZoom:y,zoomIn:x,zoomOut:N}}(f,h,null==n?void 0:n.zoomWrapperRef);!function(e,t){let{on:n}=(0,l.RD)(),i=(0,l.$0)(()=>{var r;t||null===(r=n.zoom)||void 0===r||r.call(n,{zoom:e})});r.useEffect(i,[e,i])}(m,g),function(e,t,n,o,u,s){let f=r.useRef([]),h=r.useRef(0),m=r.useRef(),{globalIndex:v}=(0,l.oc)(),{getOwnerWindow:p}=(0,l.tS)(),{containerRef:g,subscribeSensors:b}=(0,l.bc)(),{keyboardMoveDistance:E,zoomInMultiplier:w,wheelZoomDistanceFactor:y,scrollToZoom:M,doubleTapDelay:x,doubleClickDelay:N,doubleClickMaxStops:k,pinchZoomDistanceFactor:C}=a(),S=r.useCallback(e=>{if(g.current){let{pageX:t,pageY:n}=e,{scrollX:r,scrollY:l}=p(),{left:i,top:o,width:u,height:a}=g.current.getBoundingClientRect();return[t-i-r-u/2,n-o-l-a/2]}return[]},[g,p]),R=(0,l.$0)(t=>{let n=()=>{t.preventDefault(),t.stopPropagation()};if(e>1){let e=(e,t)=>
1{n(),u(e,t)};"ArrowDown"===t.key?e(0,E):"ArrowUp"===t.key?e(0,-E):"ArrowLeft"===t.key?e(-E,0):"ArrowRight"===t.key&&e(E,0)}let r=e=>{n(),o(e)},l=()=>t.getModifierState("Meta");"+"===t.key||"="===t.key&&l()?r(e*w):"-"===t.key||"_"===t.key&&l()?r(e/w):"0"===t.key&&l()&&r(1)}),P=(0,l.$0)(t=>{if((t.ctrlKey||M)&&Math.abs(t.deltaY)>Math.abs(t.deltaX)){t.stopPropagation(),o(d(e,-t.deltaY,y),!0,...S(t));return}e>1&&(t.stopPropagation(),M||u(t.deltaX,t.deltaY))}),L=r.useCallback(e=>{let t=f.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),I=r.useCallback(e=>{L(e),e.persist(),f.current.push(e)},[L]),T=(0,l.$0)(n=>{var r;let l=f.current;if("mouse"===n.pointerType&&n.buttons>1||!(null===(r=null==s?void 0:s.current)||void 0===r?void 0:r.contains(n.target)))return;e>1&&n.stopPropagation();let{timeStamp:i}=n;0===l.length&&i-h.current<("touch"===n.pointerType?x:N)?(h.current=0,o(e!==t?e*Math.max(t**(1/k),w):1,!1,...S(n))):h.current=i,I(n),2===l.length&&(m.current=c(l[0],l[1]))}),O=(0,l.$0)(t=>{let n=f.current,r=n.find(e=>e.pointerId===t.pointerId);if(2===n.length&&m.current){t.stopPropagation(),I(t);let r=c(n[0],n[1]),l=r-m.current;Math.abs(l)>0&&(o(d(e,l,C),!0,...n.map(e=>S(e)).reduce((e,t)=>t.map((t,n)=>e[n]+t/2))),m.current=r);return}e>1&&(t.stopPropagation(),r&&(1===n.length&&u((r.clientX-t.clientX)/e,(r.clientY-t.clientY)/e),I(t)))}),A=r.useCallback(e=>{let t=f.current;2===t.length&&t.find(t=>t.pointerId===e.pointerId)&&(m.current=void 0),L(e)},[L]),D=r.useCallback(()=>{let e=f.current;e.splice(0,e.length),h.current=0,m.current=void 0},[]);(0,l.bQ)(b,T,O,A,n),r.useEffect(D,[v,D]),r.useEffect(()=>n?()=>{}:(0,l.Eq)(D,b(i.ds,R),b(i.yq,P)),[n,b,D,R,P])}(m,h,g,b,E,null==n?void 0:n.zoomWrapperRef);let M=r.useMemo(()=>({zoom:m,maxZoom:h,offsetX:v,offsetY:p,disabled:g,zoomIn:w,zoomOut:y,changeZoom:b}),[m,h,v,p,g,w,y,b]);r.useImperativeHandle(a().ref,()=>M,[M]);let x=r.useMemo(()=>({...M,setZoomWrapper:o}),[M,o]);return r.createElement(s.Provider,{value:x},t)}let m=(0,l.U2)("ZoomIn",r.createElement(r.Fragment,null,r.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),r.createElement("path",{d:"M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"}))),v=(0,l.U2)("ZoomOut",r.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zM7 9h5v1H7z"})),p=r.forwardRef(function(e,t){let{zoomIn:n,onLoseFocus:i}=e,o=r.useRef(!1),u=r.useRef(!1),{zoom:a,maxZoom:c,zoomIn:d,zoomOut:s,disabled:h}=f(),{render:p}=(0,l.RD)(),g=h||(n?a>=c:a<=1);return r.useEffect(()=>{g&&o.current&&u.current&&i(),g||(o.current=!0)},[g,i]),r.createElement(l.hU,{ref:t,disabled:g,label:n?"Zoom in":"Zoom out",icon:n?m:v,renderIcon:n?p.iconZoomIn:p.iconZoomOut,onClick:n?d:s,onFocus:()=>{u.current=!0},onBlur:()=>{u.current=!1}})});function g(){let e=r.useRef(null),t=r.useRef(null),{focus:n}=(0,l.bc)(),i=r.useCallback(e=>{var t,r;(null===(t=e.current)||void 0===t?void 0:t.disabled)?n():null===(r=e.current)||void 0===r||r.focus()},[n]),o=r.useCallback(()=>i(e),[i]),u=r.useCallback(()=>i(t),[i]);return r.createElement(r.Fragment,null,r.createElement(p,{zoomIn:!0,ref:e,onLoseFocus:u}),r.createElement(p,{ref:t,onLoseFocus:o}))}function b(){let{render:e}=(0,l.RD)(),t=f();
1return e.buttonZoom?r.createElement(r.Fragment,null,e.buttonZoom(t)):r.createElement(g,null)}function E(e,t){let{current:n,preload:r}=e,{type:l,source:o}=t;switch(l){case"fetch":if(!n)return{current:o};return{current:n,preload:o};case"done":if(o===r)return{current:o};return{current:n,preload:r};default:throw Error(i.c3)}}function w(e){var t,n;let[{current:i,preload:o},u]=r.useReducer(E,{}),{slide:a,rect:c,imageFit:d,render:s,interactive:f}=e,h=a.srcSet.sort((e,t)=>e.width-t.width),m=null!==(t=a.width)&&void 0!==t?t:h[h.length-1].width,v=null!==(n=a.height)&&void 0!==n?n:h[h.length-1].height,p=(0,l.VI)(a,d),g=Math.max(...h.map(e=>e.width)),b=Math.min((p?Math.max:Math.min)(c.width,c.height/v*m),g),w=(0,l.KL)(),y=(0,l.$0)(()=>{var e;let t=null!==(e=h.find(e=>e.width>=b*w))&&void 0!==e?e:h[h.length-1];(!i||h.findIndex(e=>e.src===i)<h.findIndex(e=>e===t))&&u({type:"fetch",source:t.src})});(0,l.bt)(y,[c.width,c.height,w,y]);let M=(0,l.$0)(e=>u({type:"done",source:e})),x={WebkitTransform:f?"initial":"translateZ(0)"};return p||Object.assign(x,c.width/c.height<m/v?{width:"100%",height:"auto"}:{width:"auto",height:"100%"}),r.createElement(r.Fragment,null,o&&o!==i&&r.createElement(l.P0,{key:"preload",...e,slide:{...a,src:o,srcSet:void 0},style:{position:"absolute",visibility:"hidden",...x},onLoad:()=>M(o),render:{...s,iconLoading:()=>null,iconError:()=>null}}),i&&r.createElement(l.P0,{key:"current",...e,slide:{...a,src:i,srcSet:void 0},style:x}))}function y(e){var t,n;let{render:o,slide:u,offset:a,rect:c}=e,[d,s]=r.useState(),h=r.useRef(null),{zoom:m,maxZoom:v,offsetX:p,offsetY:g,setZoomWrapper:b}=f(),E=m>1,{carousel:y,on:M}=(0,l.RD)(),{currentIndex:x}=(0,l.oc)();(0,l.bt)(()=>0===a?(b({zoomWrapperRef:h,imageDimensions:d}),()=>b(void 0)):()=>{},[a,d,b]);let N=null===(t=o.slide)||void 0===t?void 0:t.call(o,{slide:u,offset:a,rect:c,zoom:m,maxZoom:v});if(!N&&(0,l.QB)(u)){let e={slide:u,offset:a,rect:c,render:o,imageFit:y.imageFit,imageProps:y.imageProps,onClick:0===a?()=>{var e;return null===(e=M.click)||void 0===e?void 0:e.call(M,{index:x})}:void 0};N=((null===(n=u.srcSet)||void 0===n?void 0:n.length)||0)>0?r.createElement(w,{...e,slide:u,interactive:E,rect:0===a?{width:c.width*m,height:c.height*m}:c}):r.createElement(l.P0,{onLoad:e=>s({width:e.naturalWidth,height:e.naturalHeight}),...e})}return N?r.createElement("div",{ref:h,className:(0,l.Wy)((0,l.Nc)(i.yS),(0,l.Nc)(i.aN),(0,l.Nc)(i.af),E&&(0,l.Nc)(i.ZZ)),style:0===a?{transform:"scale(".concat(m,") translateX(").concat(p,"px) translateY(").concat(g,"px)")}:void 0},N):null}let M=e=>{let{augment:t,addModule:n}=e;t(e=>{let{zoom:t,toolbar:n,render:o,controller:a,...c}=e,d=u(t);return{zoom:d,toolbar:(0,l.wQ)(n,i.xc,r.createElement(b,null)),render:{...o,slide:e=>{var t;return(0,l.QB)(e.slide)?r.createElement(y,{render:o,...e}):null===(t=o.slide)||void 0===t?void 0:t.call(o,e)}},controller:{...a,preventDefaultWheelY:d.scrollToZoom},...c}}),n((0,l.l6)(i.xc,h))}},15575:function(e,t,n){n.d(t,{$L:function(){return p},Bm:function(){return A},Eb:function(){return k},HE:function(){return o},J1:function(){return g},KN:function(){return N},M9:function(){return y},N4:function(){return P},NH:function(){return W},NZ:function(){return R},Op:function(){return i},PU:function(){return _},S2:function(){return L},SA:function(){return u},Sl:function(){return z},Tf:function(){return w},Tn:function(){return C},Vt:function(){return T},Xe:function(){return h},ZZ:function(){return x},Zv:function(){return v},aN:function(){return E},af:function(){return M},bg:function(){return F},c3:function(){return H},dA:function(){return s},ds:function(){return O},fS:function(){return m},hb:function(){return c},j3:function(){return Z},k0:function(){return r},l4:function(){return l},lT:function(){return a},pE:function(){return I},rO:function(){return U},t9:function(){return S},vg:function(){return X},xc:function(){return f},yS:function(){return b},yq:function(){return D},zr:function(){return d}});let r="carousel",l="controller",i="navigation",o="no-scroll",u="portal",a="root",c="toolbar",d="fullscreen",s="thumbnails",f="zoom",h="loading",m="error",v="complete",p="placeholder",g=e=>"active-slide-".concat(e);g(h),g("playing"),g(m),g(v);let b="fullsize",E="flex_center",w="no_scroll",y="no_scroll_padding",M="slide_wrapper",x="slide_wrapper_interactive",N="prev",k="next",C="swipe",S="close",R="onPointerDown",P="onPointerMove",L="onPointerUp",I="onPointerLeave",T="onPointerCancel",O="onKeyDown",A="onKeyUp",D="onWheel",_="Escape",z="ArrowLeft",W="ArrowRight",F="button",X="icon",Z="contain",U="cover",H="Unknown action type"}}]);
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.