1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[57],{3145:function(e,t,n){"use strict";n.d(t,{default:function(){return l.a}});var r=n(8461),l=n.n(r)},8461:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return a},getImageProps:function(){return u}});let r=n(7043),l=n(5346),i=n(5878),o=r._(n(5084));function u(e){let{props:t}=(0,l.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let a=i.Image},3522:function(){},2442:function(e,t,n){"use strict";n.d(t,{Nc:function(){return m},QB:function(){return M},RD:function(){return W},VI:function(){return P},Wy:function(){return v},ZP:function(){return eA},l6:function(){return d},oc:function(){return U}});var r,l,i,o,u=n(2265),a=n(5374),c=n(4887);let s={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",closeOnPullDown:!1,closeOnBackdropClick:!1},portal:{},noScroll:{disabled:!1},on:{},styles:{},className:""};function d(e,t){return{name:e,component:t}}function f(e,t){return{module:e,children:t}}function h(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?[f(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 v=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return[...t].filter(e=>!!e).join(" ")},p="yarl__",m=e=>"".concat(p).concat(e),g=e=>"--".concat(p).concat(e),E=(e,t)=>"".concat(e).concat(t?"_".concat(t):""),b=e=>t=>E(e,t),y=(e,t)=>e&&e[t]?e[t]:t,w=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return()=>{t.forEach(e=>{e()})}},N=(e,t,n)=>()=>{let r=u.useContext(n);if(!r)throw Error("".concat(e," must be used within a ").concat(t,".Provider"));return r},x=()=>"undefined"!=typeof window,M=e=>void 0===e.type||"image"===e.type,P=(e,t)=>e.imageFit===a.rO||e.imageFit!==a.j3&&t===a.rO;function C(e){if("number"==typeof e)return{pixel:e};if("string"==typeof e){let t=parseInt(e,10);return e.endsWith("%")?{percent:t}:{pixel:t}}return{pixel:0}}let S=(e,t)=>t>0?(e%t+t)%t:0,L=e=>e.length>0,k=(e,t)=>e[S(t,e.length)],I=(e,t)=>L(e)?k(e,t):void 0,_=u.createContext(null),R=N("useEvents","EventsContext",_);function O(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 A=u.createContext(null),W=N("useLightboxProps","LightboxPropsContext",A);function T(e){let{children:t,...n}=e;return u.createElement(A.Provider,{value:n},t)}let D=u.createContext(null),U=N("useLightboxState","LightboxStateContext",D),X=u.createContext(null),F=N("useLightboxDispatch","LightboxDispatchContext",X);function H(e,t){switch(t.type){case"swipe":{let{slides:n}=e,r=(null==t?void 0:t.increment)||0,l=e.globalIndex+r,i=S(l,n.length),o=I(n,i);return{slides:n,currentIndex:i,globalIndex:l,currentSlide:o,animation:r||t.duration?{increment:r,duration:t.duration,easing:t.easing}:void 0}}case"update":return{slides:t.slides,currentIndex:t.index,globalIndex:t.index,currentSlide:I(t.slides,t.index)};default:throw Error(a.c3)}}function K(e){let{slides:t,index:n,children:r}=e,[l,i]=u.useReducer(H,{slides:t,currentIndex:n,globalIndex:n,currentSlide:I(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(X.Provider,{value:i},u.createElement(D.Provider,{value:o},r))}let z=u.createContext(null),B=N("useTimeouts","TimeoutsContext",z);function V(e){let{children:t}=e,[n]=u.useState([]);u.useEffect(()=>()=>
1{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(z.Provider,{value:r},t)}let j=u.forwardRef(function(e,t){let{label:n,className:r,icon:l,renderIcon:i,onClick:o,style:c,...s}=e,{styles:d,labels:f}=W();return u.createElement("button",{ref:t,type:"button","aria-label":y(f,n),className:v(m(a.bg),r),onClick:o,style:{...c,...d.button},...s},i?i():u.createElement(l,{className:m(a.vg),style:d.icon}))});function Z(e,t){return function(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}(e,u.createElement("g",{fill:"currentColor"},u.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t))}let Y=Z("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=Z("Previous",u.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),$=Z("Next",u.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),J=Z("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)")})))),G=Z("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"})),Q=x()?u.useLayoutEffect:u.useEffect;function ee(){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 et(e,t){let n=u.useRef(),r=u.useRef(),l=ee();return Q(()=>{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(e=>Number.parseInt(e,10));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 en(){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 er(){let e=u.useRef(),{setTimeout:t,clearTimeout:n}=B();return u.useCallback((r,l)=>{n(e.current),e.current=t(r,l>0?l:0)},[t,n])}function el(e){let t=u.useRef(e);return Q(()=>{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 ei(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function eo(e,t){return u.useMemo(()=>null==e&&null==t?null:n=>
1{ei(e,n),ei(t,n)},[e,t])}function eu(){let[e,t]=u.useState(!1);return Q(()=>{t("rtl"===window.getComputedStyle(window.document.documentElement).direction)},[]),e}function ea(e,t){let n=u.useRef(0),r=er(),l=el(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 ec=b("slide"),es=b("slide_image");function ed(e){var t,n,r,l,i,o,c;let{slide:s,offset:d,render:f,rect:h,imageFit:p,imageProps:g,onClick:E,onLoad:b,style:y}=e,[w,N]=u.useState(a.Xe),{publish:M}=R(),{setTimeout:C}=B(),S=u.useRef(null);u.useEffect(()=>{0===d&&M((0,a.J1)(w))},[d,w,M]);let L=el(e=>{("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{e.parentNode&&(N(a.Zv),C(()=>{null==b||b(e)},0))})}),k=u.useCallback(e=>{S.current=e,(null==e?void 0:e.complete)&&L(e)},[L]),I=u.useCallback(e=>{L(e.currentTarget)},[L]),_=u.useCallback(()=>{N(a.fS)},[]),O=P(s,p),A=(e,t)=>Number.isFinite(e)?e:t,W=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=S.current)||void 0===r?void 0:r.naturalWidth)||0),T=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=S.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(", "),U=D&&h&&x()?"".concat(Math.round(Math.min(h&&!O&&s.width&&s.height?h.height/s.height*s.width:Number.MAX_VALUE,h.width)),"px"):void 0,{style:X,className:F,...H}=g||{};return u.createElement(u.Fragment,null,u.createElement("img",{ref:k,onLoad:I,onError:_,onClick:E,draggable:!1,className:v(m(es()),O&&m(es("cover")),w!==a.Zv&&m(es("loading")),F),style:{...W&&T?{maxWidth:"min(".concat(W,"px, 100%)"),maxHeight:"min(".concat(T,"px, 100%)")}:{maxWidth:"100%",maxHeight:"100%"},...y,...X},...H,alt:s.alt,sizes:U,srcSet:D,src:s.src}),w!==a.Zv&&u.createElement("div",{className:m(ec(a.$L))},w===a.Xe&&((null==f?void 0:f.iconLoading)?f.iconLoading():u.createElement(J,{className:v(m(a.vg),m(ec(a.Xe)))})),w===a.fS&&((null==f?void 0:f.iconError)?f.iconError():u.createElement(G,{className:v(m(a.vg),m(ec(a.fS)))}))))}(r=i||(i={}))[r.NONE=0]="NONE",r[r.SWIPE=1]="SWIPE",r[r.PULL_DOWN=2]="PULL_DOWN",r[r.ANIMATION=3]="ANIMATION",(l=o||(o={}))[l.NONE=0]="NONE",l[l.SWIPE=1]="SWIPE",l[l.PULL_DOWN=2]="PULL_DOWN";let ef="wheel";function eh(e){(Math.abs(e.deltaX)>Math.abs(e.deltaY)||e.ctrlKey)&&e.preventDefault()}let ev=b("container"),ep=u.createContext(null),em=N("useController","ControllerContext",ep),eg=d(a.l4,function(e){var t;let{children:n,...r}=e,{carousel:l,animation:c,controller:s,on:d,styles:f,render:h}=r,[p,E]=u.useState(),b=U(),y=F(),[N,x]=u.useState(i.NONE),M=u.useRef(0),P=u.useRef(0),S=u.useRef(1),{registerSensors:L,subscribeSensors:k}=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:I,publish:_}=R(),O=er(),A=er(),W=er(),{containerRef:T,setContainerRef:D,containerRect:X}=en(),H=eo(function(){let e=u.useRef(null);return u.useCallback(t=>{var n;t?t.addEventListener(ef,eh,{passive:!1}):null===(n=e.current)||void 0===n||n.removeEventListener(ef,eh),e.current=t},[])}(),D),K=u.useRef(null),z=eo(K,void 0),V=eu(),j=e=>(V?-1:1)*("number"==typeof e?e:1),Z=el(()=>{var e;return null===(e=T.current)||void 0===e?void 0:e.focus()}),Y=el(()=>r),q=el(()=>b),$=u.useCallback(e=>_(a.KN,e),[_]),J=u.useCallback(e=>_(a.Eb,e),[_]),G=u.useCallback(()=>_(a.t9),[_]),Q=e=>!(l.finite&&(j(e)>0&&0===b.currentIndex||0>j(e)&&b.currentIndex===b.slides.length-1)),ee=e=>{var t;M.current=e,null===(t=T.current)||void 0===t||t.style.setProperty(g("swipe_offset"),"".concat(Math.round(e),"px"))},{closeOnPullDown:ei}=s,ea=e=>{var t,n;P.current=e,S.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-e/60*.5,2),.5),1),null===(t=T.current)||void 0===t||t.style.setProperty(g("pull_down_offset"),"".concat(Math.round(e),"px")),null===(n=T.current)||void 0===n||n.style.setProperty(g("pull_down_opacity"),"".concat(S.current))},{prepareAnimation:ec}=et(K,(e,t,n)=>{if(K.current&&X)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}}),es=(e,t)=>{if(ei){ea(e);let n=0;K.current&&(n=c.fade*(t?2:1),ec({rect:K.current.getBoundingClientRect(),opacity:S.current,duration:n})),W(()=>{ea(0),x(i.NONE)},n),x(i.ANIMATION),t||G()}},{prepareAnimation:ed,isAnimationPlaying:em}=et(K,(e,t,n)=>{var r;if(K.current&&X&&(null===(r=b.animation)||void 0===r?void 0:r.duration)){let r=C(l.spacing),i=(r.percent?r.percent*X.width/100:r.pixel)||0;return{keyframes:[{transform:"translate(".concat(j(b.globalIndex-e.index)*(X.width+i)+e.rect.x-t.x+n.x,"px, 0)")},{transform:"translate(0, 0)"}],duration:b.animation.duration,easing:b.animation.easing}}}),eg=el(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||em(
1)?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==X?void 0:X.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=j(r)>0?a.KN:a.Eb):f=l/2}let h=0;u===a.KN?Q(j(1))?h=-s:(d=i.NONE,f=l):u===a.Eb&&(Q(j(-1))?h=s:(d=i.NONE,f=l)),A(()=>{ee(0),x(i.NONE)},f=Math.round(f)),K.current&&ed({rect:K.current.getBoundingClientRect(),index:b.globalIndex}),x(d),_(a.Tn,{type:"swipe",increment:h,duration:f,easing:o})});u.useEffect(()=>{var e,t;(null===(e=b.animation)||void 0===e?void 0:e.increment)&&(null===(t=b.animation)||void 0===t?void 0:t.duration)&&O(()=>y({type:"swipe",increment:0}),b.animation.duration)},[b.animation,y,O]);let eE=[k,Q,(null==X?void 0:X.width)||0,c.swipe,()=>x(i.SWIPE),e=>ee(e),(e,t)=>eg({offset:e,duration:t,count:1}),e=>eg({offset:e,count:0})],eb=[()=>{ei&&x(i.PULL_DOWN)},e=>ea(e),e=>es(e),e=>es(e,!0)];!function(e,t,n,r,l,i,c,s,d,f,h,v,p){var m;let g=u.useRef(0),E=u.useRef([]),b=u.useRef(),y=u.useRef(0),N=u.useRef(o.NONE),x=u.useCallback(e=>{b.current===e.pointerId&&(b.current=void 0,N.current=o.NONE);let t=E.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),M=u.useCallback(e=>{x(e),e.persist(),E.current.push(e)},[x]),P=el(e=>{M(e)}),C=el(e=>{if(E.current.find(t=>t.pointerId===e.pointerId)&&b.current===e.pointerId){let e=Date.now()-y.current,t=g.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_DOWN&&(t>60?v(t,e):p(t)),g.current=0,N.current=o.NONE}x(e)}),S=el(e=>{let n=E.current.find(t=>t.pointerId===e.pointerId);if(n){let r=b.current===e.pointerId;if(0===e.buttons){r&&0!==g.current?C(e):x(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,y.current=Date.now(),N.current=t};Math.abs(u)>Math.abs(a)&&Math.abs(u)>30&&t(u)?(n(o.SWIPE),l()):d&&Math.abs(a)>Math.abs(u)&&a>30&&(n(o.PULL_DOWN),f())}else r&&(N.current===o.SWIPE?(g.current=u,i(u)):N.current===o.PULL_DOWN&&(g.current=a,h(a)))}});u.useEffect(()=>w(e(a.NZ,P),e(a.N4,S),e(a.S2,C),e(a.pE,C),e(a.Vt,C)),[e,P,S,C,m])}(...eE,ei,...eb),function(e,t,n,r,l,o,c,s,d){let f=u.useRef(0),h=u.useRef(0),v=u.useRef(),p=u.useRef(),m=u.useRef(0),g=u.useRef(0),{setTimeout:E,clearTimeout:b}=B(),y=u.useCallback(()=>{v.current&&(b(v.current),v.current=void 0)},[b]),w=u.useCallback(()=>{p.current&&(b(p.current),p.current=void 0)},[b]),N=el(()=>{e!==i.SWIPE&&(f.current=0,g.current=0,y(),w())});u.useEffect(N,[e,N]);let x=el(e=>{p.current=void 0,f.current===e&&d(f.current)}),M=el(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(h.current+=t.deltaX,y(),Math.abs(h.current)>30)h.current=0,m.current=0,g.current=Date.now(),o();else{let e=h.current;v.current=E(()=>{v.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),w(),Math.abs(e)>.2*r){m.current=t.deltaX,s(e,Date.now()-g.current);return}p.current=E(()=>x(e),2*l)}else m.current=t.deltaX}});u.useEffect(()=>t(a.yq,M),[t,M])}(N,...eE);let ey=el(()=>{s.focus&&document.querySelector(".".concat(m(a.SA)," .").concat(m(ev())))&&Z()});u.useEffect(ey,[ey]);let ew=el(()=>{var e;null===(e=d.view)||void 0===e||e.call(d,{index:b.currentIndex})});u.useEffect(ew,[b.globalIndex,ew]),u.useEffect(()=>w(I(a.KN,e=>eg({direction:a.KN,...e})),I(a.Eb,e=>eg({direction:a.Eb,...e})),I(a.Tn,e=>y(e))),[I,eg,y]);let eN=u.useMemo(()=>({prev:$,next:J,close:G,focus:Z,slideRect:X?function(e,t){let n=C(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)}}(X,l.padding):{width:0,height:0},containerRect:X||{width:0,height:0},subscribeSensors:k,containerRef:T,setCarouselRef:z,toolbarWidth:p,setToolbarWidth:E}),[$,J,G,Z,k,X,T,z,p,E,l.padding]);return u.useImperativeHandle(s.ref,()=>({prev:$,next:J,close:G,focus:Z,getLightboxProps:Y,getLightboxState:q}),[$,J,G,Z,Y,q]),u.createElement("div",{ref:H,className:v(m(ev()),m(a.aN)),style:{...N===i.SWIPE?{[g("swipe_offset")]:"".concat(Math.round(M.current),"px")}:null,...N===i.PULL_DOWN?{[g("pull_down_offset")]:"".concat(Math.round(P.current),"px"),[g("pull_down_opacity")]:"".concat(S.current)}:null,..."none"!==s.touchAction?{[g("controller_touch_action")]:s.touchAction}:null,...f.container},...s.aria?{role:"presentation","aria-live":"polite"}:null,tabIndex:-1,...L},X&&u.createElement(ep.Provider,{value:eN},n,null===(t=h.controls)||void 0===t?void 0:t.call(h)))});function eE(e){return E(a.k0,e)}function eb(e){return E("slide",e)}function ey(e){var t,n,r,l;let i,{slide:o,offset:c}=e,s=u.useRef(null),{currentIndex:d}=U(),{slideRect:f,close:h}=em(),{render:p,carousel:{imageFit:g,imageProps:E},on:{click:b},controller:{closeOnBackdropClick:y},styles:{slide:w}}=W();return u.createElement("div",{ref:s,className:v(m(eb()),0===c&&m(eb("current")),m(a.aN)),onClick:e=>{let t=s.current,n=e.target instanceof HTMLElement?e.target:void 0;y&&n&&t&&(n===t||Array.from(t.children).find(e=>e===n)&&n.classList.contains(m(a.af)))&&h()},style:w},(!(i=null===(t=p.slide)||void 0===t?void 0:t.call(p,{slide:o,offset:c,rect:f}))&&M(o)&&(i=u.createElement(ed,{slide:o,offset:c,render:p,rect:f,imageFit:g,imageProps:E,onClick:0===c?()=>null==b?void 0:b({index:d}):void 0})),i?u.createElement(u.Fragment,null,null===(n=p.slideHeader)||void 0===n?void 0:n.call(p,{slide:o}),(null!==(r=p.slideContainer)&&void 0!==r?r:e=>{let{children:t}=e;return t})({slide:o,children:i}),null===(l=p.slideFooter)||void 0===l?void 0:l.call(p,{slide:o})):null))}function ew(){let e=W().styles.slide;return u.createElement("div",{className:m("slide"),style:e})}let eN=d(a.k0,function(e){let{carousel:t}=e,{slides:n,currentIndex:r,globalIndex:l}=U(),{setCarouselRef:i}=em(),o=C(t.spacing),a=C(t.padding),c=[],s=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);if(L(n)){for(let e=r-s;e<r;e+=1){let i=l+e-r;c.push(!t.finite||e>=0?u.createElement(ey,{key:i,slide:n[(e+s*n.length)%n.length],offset:e-r}):u.createElement(ew,{key:i}))}c.push(u.createElement(ey,{key:l,slide:n[r],offset:0}));for(let e=r+1;e<=r+s;e+=1){let i=l+e-r;c.push(!t.finite||e<=n.length-1?u.createElement(ey,{key:i,slide:n[e%n.length],offset:e-r}):u.createElement(ew,{key:i}))}}return u.createElement("div",{ref:i,className:v(m(eE()),c.length>0&&m(eE("with_slides"))),style:{["".concat(g(eE("slides_count")))]:c.length,["".concat(g(eE("spacing_px")))]:o.pixel||0,["".concat(g(eE("spacing_percent")))]:o.percent||0,["".concat(g(eE("padding_px")))]:a.pixel||0,["".concat(g(eE("padding_percent")))]:a.percent||0}}
1,c)});function ex(){let{carousel:e}=W(),{slides:t,currentIndex:n}=U();return{prevDisabled:0===t.length||e.finite&&0===n,nextDisabled:0===t.length||e.finite&&n===t.length-1}}function eM(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:m("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 Q(()=>{t&&n.current&&(n.current=!1,e())},[t,e]),{onFocus:u.useCallback(()=>{n.current=!0},[]),onBlur:u.useCallback(()=>{n.current=!1},[])}}(em().focus,o)})}let eP=d(a.Op,function(e){let{render:{buttonPrev:t,buttonNext:n,iconPrev:r,iconNext:l},styles:i}=e,{prev:o,next:c,subscribeSensors:s}=em(),{prevDisabled:d,nextDisabled:f}=ex();return!function(e){var t;let n=eu(),{publish:r}=R(),{animation:l}=W(),{prevDisabled:i,nextDisabled:o}=ex(),c=(null!==(t=l.navigation)&&void 0!==t?t:l.swipe)/2,s=ea(()=>r(a.KN),c),d=ea(()=>r(a.Eb),c),f=el(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(eM,{label:"Previous",action:a.KN,icon:q,renderIcon:r,style:i.navigationPrev,disabled:d,onClick:o}),n?n():u.createElement(eM,{label:"Next",action:a.Eb,icon:$,renderIcon:l,style:i.navigationNext,disabled:f,onClick:c}))}),eC=m(a.Tf),eS=m(a.M9);
1function eL(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((parseInt(i,10)||0)+t,"px")),()=>{o?e.style.setProperty(l,o):e.style.removeProperty(l)}}let ek=d(a.HE,function(e){let{noScroll:{disabled:t},children:n}=e,r=eu();return Q(()=>{if(t)return()=>{};let e=[],{body:n,documentElement:l}=document,i=Math.round(window.innerWidth-l.clientWidth);if(i>0){e.push(eL(n,i,r));let t=n.getElementsByTagName("*");for(let n=0;n<t.length;n+=1){let l=t[n];"style"in l&&"fixed"===window.getComputedStyle(l).getPropertyValue("position")&&!l.classList.contains(eS)&&e.push(eL(l,i,r))}}return n.classList.add(eC),()=>{n.classList.remove(eC),e.forEach(e=>e())}},[r,t]),u.createElement(u.Fragment,null,n)});function eI(e,t,n){let r=e.getAttribute(t);return e.setAttribute(t,n),()=>{r?e.setAttribute(t,r):e.removeAttribute(t)}}let e_=d(a.SA,function(e){var t;let{children:n,animation:r,styles:l,className:i,on:o,portal:d,close:f}=e,[h,p]=u.useState(!1),[b,y]=u.useState(!1),w=u.useRef([]),N=u.useRef(null),{setTimeout:x}=B(),{subscribe:M}=R(),P=ee()?0:r.fade;u.useEffect(()=>(p(!0),()=>{p(!1),y(!1)}),[]);let C=el(()=>{var e;y(!1),w.current.forEach(e=>e()),w.current=[],null===(e=o.exiting)||void 0===e||e.call(o),x(()=>{var e;null===(e=o.exited)||void 0===e||e.call(o),f()},P)});u.useEffect(()=>M(a.t9,C),[M,C]);let S=el(e=>{var t,n,r;e.scrollTop,y(!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(eI(n,"inert","true")),w.current.push(eI(n,"aria-hidden","true")))}w.current.push(()=>{var e,t;null===(t=null===(e=N.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)},P)}),L=u.useCallback(e=>{e&&S(e)},[S]);return h?(0,c.createPortal)(u.createElement("div",{ref:L,className:v(i,m("root"),m(E(a.SA,void 0)),m(a.M9),b&&m((t="open",E(a.SA,t)))),role:"presentation","aria-live":"polite",style:{...r.fade!==s.animation.fade?{[g("fade_animation_duration")]:"".concat(P,"ms")}:null,...r.easing.fade!==s.animation.easing.fade?{[g("fade_animation_timing_function")]:r.easing.fade}:null,...l.root},onFocus:e=>{N.current||(N.current=e.relatedTarget)}},n),d.root||document.body):null}),eR=d(a.lT,function(e){let{children:t}=e;return u.createElement(u.Fragment,null,t)}),eO=d(a.hb,function(e){let{toolbar:{buttons:t},render:{buttonClose:n,iconClose:r},styles:l}=e,{close:i,setToolbarWidth:o}=em(),{setContainerRef:c,containerRect:s}=en();Q(()=>{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:Y,renderIcon:r,onClick:i});return u.createElement("div",{ref:c,style:l.toolbar,className:m(E(a.hb,void 0))},null==t?void 0:t.map(e=>e===a.t9?d():e))});function eA(e){let{carousel:t,animation:n,render:r,toolbar:l,controller:i,noScroll:o,on:c,plugins:d,slides:v,index:p,...m}=e,{animation:g,carousel:E,render:b,toolbar:y,controller:w,noScroll:N,on:x,slides:M,index:P,plugins:C,...S}=s,{config:L,augmentation:k}=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=[f(t,r)];return}r=h(r,e,e=>[f(t,[e])])},o=(e,t)=>{r=h(r,e,e=>[f(e.module,[f(t,e.children)])])},u=(e,t,n)=>{r=h(r,e,e=>{var r;return[f(e.module,[...n?[f(t)]:[],...null!==(r=e.children)&&void 0!==r?r:[],...n?[]:[f(t)]])]})},c=(e,t,n)=>{r=h(r,e,e=>[...n?[f(t)]:[],e,...n?[]:[f(t)]])},s=e=>{o(a.l4,e)},d=(e,t)=>{r=h(r,e,e=>[f(t,e.children)])},v=e=>{r=h(r,e,e=>e.children)},p=e=>{n.push(e)};return t.forEach(e=>{e({contains:l,addParent:i,append:o,addChild:u,addSibling:c,addModule:s,replace:d,remove:v,augment:p})}),{config:r,augmentation:e=>n.reduce((e,t)=>
1t(e),e)}}([f(e_,[f(ek,[f(eg,[f(eN),f(eO),f(eP)])])])],d||C),I=k({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}}(g,n),carousel:{...E,...t},render:{...b,...r},toolbar:{...y,...l},controller:{...w,...i},noScroll:{...N,...o},on:{...x,...c},...S,...m});return I.open?u.createElement(T,{...I},u.createElement(K,{slides:v||M,index:p||P},u.createElement(V,null,u.createElement(O,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)))}(f(eR,L),I))))):null}},5374:function(e,t,n){"use strict";n.d(t,{$L:function(){return v},Bm:function(){return I},Eb:function(){return w},HE:function(){return o},J1:function(){return p},KN:function(){return y},M9:function(){return E},N4:function(){return P},NH:function(){return A},NZ:function(){return M},Op:function(){return i},PU:function(){return R},S2:function(){return C},SA:function(){return u},Sl:function(){return O},Tf:function(){return g},Tn:function(){return N},Vt:function(){return L},Xe:function(){return d},Zv:function(){return h},aN:function(){return m},af:function(){return b},bg:function(){return W},c3:function(){return X},ds:function(){return k},fS:function(){return f},hb:function(){return c},j3:function(){return D},k0:function(){return r},l4:function(){return l},lT:function(){return a},mH:function(){return s},pE:function(){return S},rO:function(){return U},t9:function(){return x},vg:function(){return T},yq:function(){return _}});let r="carousel",l="controller",i="navigation",o="no-scroll",u="portal",a="root",c="toolbar",s="counter",d="loading",f="error",h="complete",v="placeholder",p=e=>`active-slide-${e}`;p(d),p("playing"),p(f),p(h);let m="flex_center",g="no_scroll",E="no_scroll_padding",b="slide_wrapper",y="prev",w="next",N="swipe",x="close",M="onPointerDown",P="onPointerMove",C="onPointerUp",S="onPointerLeave",L="onPointerCancel",k="onKeyDown",I="onKeyUp",_="onWheel",R="Escape",O="ArrowLeft",A="ArrowRight",W="button",T="icon",D="contain",U="cover",X="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.