1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[569],{1804:(e,t,n)=>{"use strict";n.d(t,{A9:()=>X,AH:()=>m,Bv:()=>b,C:()=>T,CC:()=>M,EC:()=>w,Ev:()=>s,HR:()=>k,I1:()=>g,Kv:()=>l,Ky:()=>i,MO:()=>y,Nc:()=>A,OT:()=>u,P9:()=>E,QQ:()=>h,Qe:()=>d,Qo:()=>p,RK:()=>W,Td:()=>V,Ue:()=>S,Uh:()=>x,Uj:()=>Y,V:()=>$,b6:()=>o,e7:()=>J,h0:()=>R,hg:()=>f,iO:()=>C,j7:()=>K,jR:()=>Q,jb:()=>N,jn:()=>q,kJ:()=>a,mY:()=>r,or:()=>B,pE:()=>v,pc:()=>I,pq:()=>c,qq:()=>D,s:()=>U,sI:()=>O,t$:()=>H,tC:()=>P,tD:()=>F,tu:()=>z,uF:()=>j,vg:()=>L,zn:()=>_});let r="carousel",l="controller",i="navigation",o="no-scroll",a="portal",u="root",c="toolbar",s="captions",d="fullscreen",f="slideshow",h="thumbnails",m="zoom",p="loading",v="playing",g="error",E="complete",b="placeholder",w=e=>`active-slide-${e}`,y=w(p),x=w(v),C=w(g),N=w(E),M="fullsize",P="flex_center",k="no_scroll",L="no_scroll_padding",R="slide",I="slide_wrapper",S="slide_wrapper_interactive",_="prev",A="next",O="swipe",T="close",D="onPointerDown",W="onPointerMove",z="onPointerUp",F="onPointerLeave",U="onPointerCancel",j="onKeyDown",H="onKeyUp",K="onWheel",B="Escape",X="ArrowLeft",q="ArrowRight",Y="button",Q="icon",V="contain",J="cover",$="Unknown action type"},6209:(e,t,n)=>{"use strict";n.d(t,{$7:()=>ed,$z:()=>c,Ay:()=>eX,D$:()=>H,DB:()=>C,DK:()=>eh,Fi:()=>_,Hw:()=>P,JZ:()=>eO,K0:()=>G,LI:()=>g,LJ:()=>F,Mz:()=>$,Nf:()=>eu,Q5:()=>en,QJ:()=>b,RT:()=>K,Tz:()=>p,Vg:()=>d,Y5:()=>x,Yc:()=>eE,Z$:()=>ex,as:()=>ek,bo:()=>k,dX:()=>ev,eS:()=>L,f4:()=>f,fh:()=>h,gZ:()=>N,iJ:()=>ec,mp:()=>X,oF:()=>s,qm:()=>I,sM:()=>es,tP:()=>m,tx:()=>E,uG:()=>D,wt:()=>et,x3:()=>eg,yQ:()=>eN});var r,l,i=n(2115),o=n(1804),a=n(7650);let u="yarl__";function c(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return[...t].filter(Boolean).join(" ")}function s(e){return"".concat(u).concat(e)}function d(e){return"--".concat(u).concat(e)}function f(e,t){return"".concat(e).concat(t?"_".concat(t):"")}function h(e){return t=>f(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 p(e,t,n){return()=>{let r=i.useContext(n);if(!r)throw Error("".concat(e," must be used within a ").concat(t,".Provider"));return r}}function v(){return"undefined"!=typeof window}function g(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 E(e){return void 0===e.type||"image"===e.type}function b(e,t){return e.imageFit===o.e7||e.imageFit!==o.Td&&t===o.e7}function w(e){return"string"==typeof e?Number.parseInt(e,10):e}function y(e){if("number"==typeof e)return{pixel:e};if("string"==typeof e){let t=w(e);return e.endsWith("%")?{percent:t}:{pixel:t}}return{pixel:0}}function x(){return(v()?null==window?void 0:window.devicePixelRatio:void 0)||1}function C(e){return e.length>0}function N(e,t){var n;return e[(n=e.length)>0?(t%n+n)%n:0]}function M(e,t){return C(e)?N(e,t):void 0}function P(e){return E(e)?e.src:void 0}function k(e,t,n){if(!n)return e;let{buttons:r,...l}=e,o=r.findIndex(e=>e===t),a=i.isValidElement(n)?i.cloneElement(n,{key:t},null):n;if(o>=0){let e=[...r];return e.splice(o,1,a),{buttons:e,...l}}return{buttons:[a,...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 R=Number(i.version.split(".")[0])>=19;function I(e){e.scrollTop}let S={open:!1,close:()=>{},index:0,slides:[],render:{},plugins:[],toolbar:{buttons:[o.C]},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:o.Td,imageProps:{}},controller:{ref:null,focus:!0,aria:!1,touchAction:"none",closeOnPullUp:!1,closeOnPullDown:!1,closeOnBackdropClick:!1,preventDefaultWheelX:!0,preventDefaultWheelY:!1,disableSwipeNavigation:!1},portal:{},noScroll:{disabled:!1},on:{},styles:{},className:""};function _(e,t){return{name:e,component:t}}function A(e,t){return{module:e,children:t}}function O(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))?l:[]}))]:[t]}(e,t,n))?r:[]})}let T=i.createContext(null),D=p("useDocument","DocumentContext",T);function W(e){let{nodeRef:t,children:n}=e,r=i.useMemo(()=>{let e=e=>{var n;return(null==(n=e||t.current)?void 0:n.ownerDocument)||document};return{getOwnerDocument:e,getOwnerWindow:t=>{var n;return(null==(n=e(t))?void 0:n.defaultView)||window}}},[t]);return i.createElement(T.Provider,{value:r},n)}let z=i.createContext(null),F=p("useEvents","EventsContext",z);function U(e){let{children:t}=e,[n]=i.useState({});i.useEffect(()=>()=>
1{Object.keys(n).forEach(e=>delete n[e])},[n]);let r=i.useMemo(()=>{let e=(e,t)=>{var r;null==(r=n[e])||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])||e.forEach(e=>e(o))},subscribe:(t,r)=>(n[t]||(n[t]=[]),n[t].push(r),()=>e(t,r)),unsubscribe:e}},[n]);return i.createElement(z.Provider,{value:r},t)}let j=i.createContext(null),H=p("useLightboxProps","LightboxPropsContext",j);function K(e){let{children:t,...n}=e;return i.createElement(j.Provider,{value:n},t)}let B=i.createContext(null),X=p("useLightboxState","LightboxStateContext",B),q=i.createContext(null),Y=p("useLightboxDispatch","LightboxDispatchContext",q);function Q(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,a=M(r,o);return{slides:r,currentIndex:o,globalIndex:i,currentSlide:a,animation:l||void 0!==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:M(t.slides,t.index)};return e;default:throw Error(o.V)}}function V(e){let{slides:t,index:n,children:r}=e,[l,o]=i.useReducer(Q,{slides:t,currentIndex:n,globalIndex:n,currentSlide:M(t,n)});i.useEffect(()=>{o({type:"update",slides:t,index:n})},[t,n]);let a=i.useMemo(()=>({...l,state:l,dispatch:o}),[l,o]);return i.createElement(q.Provider,{value:o},i.createElement(B.Provider,{value:a},r))}let J=i.createContext(null),$=p("useTimeouts","TimeoutsContext",J);function Z(e){let{children:t}=e,[n]=i.useState([]);i.useEffect(()=>()=>{n.forEach(e=>window.clearTimeout(e)),n.splice(0,n.length)},[n]);let r=i.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 i.createElement(J.Provider,{value:r},t)}let G=i.forwardRef(function(e,t){var n;let{label:r,className:l,icon:a,renderIcon:u,onClick:d,style:f,...h}=e,{styles:m,labels:p}=H(),v=null!=(n=null==p?void 0:p[r])?n:r;return i.createElement("button",{ref:t,type:"button",title:v,"aria-label":v,className:c(s(o.Uj),l),onClick:d,style:{...f,...m.button},...h},u?u():i.createElement(a,{className:s(o.jR),style:m.icon}))});function ee(e,t){let n=e=>i.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 et(e,t){return ee(e,i.createElement("g",{fill:"currentColor"},i.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t))}function en(e,t){return ee(e,i.createElement(i.Fragment,null,i.createElement("defs",null,i.createElement("mask",{id:"strike"},i.createElement("path",{d:"M0 0h24v24H0z",fill:"white"}),i.createElement("path",{d:"M0 0L24 24",stroke:"black",strokeWidth:4}))),i.createElement("path",{d:"M0.70707 2.121320L21.878680 23.292883",stroke:"currentColor",strokeWidth:2}),i.createElement("g",{fill:"currentColor",mask:"url(#strike)"},i.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t)))}let er=et("Close",i.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"})),el=et("Previous",i.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),ei=et("Next",i.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),eo=et("Loading",i.createElement(i.Fragment,null,Array.from({length:8}).map((e,t,n)=>i.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=et("Error",i.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"})),eu=v()?i.useLayoutEffect:i.useEffect;function ec(){let[e,t]=i.useState(!1);return i.useEffect(()=>{var e,n;let r=null==(e=window.matchMedia)?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)||n.call(r,"change",l),()=>{var e;return null==(e=null==r?void 0:r.removeEventListener)?void 0:e.call(r,"change",l)}},[]),e}function es(e,t){let n=i.useRef(void 0),r=i.useRef(void 0),l=ec();return eu(()=>{var i,o,a;if(e.current&&void 0!==n.current&&!l){let{keyframes:l,duration:u,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(w);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&&u){null==(i=r.current)||i.cancel(),r.current=void 0;try{r.current=null==(a=(o=e.current).animate)?void 0:a.call(o,l,{duration:u,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.playState)==="running"}}}function ed(){let e=i.useRef(null),t=i.useRef(void 0),[n,r]=i.useState();return{setContainerRef:i.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 ef(){let e=i.useRef(void 0),{setTimeout:t,clearTimeout:n}=$();return i.useCallback((r,l)=>{n(e.current),e.current=t(r,l>0?l:0)},[t,n])}function eh(e){let t=i.useRef(e);return eu(()=>{t.current=e}),i.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.call(t,...r)},[])}function em(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function ep(e,t){return i.useMemo(()=>null==e&&null==t?null:n=>{em(e,n),em(t,n)},[e,t])}function ev(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=i.useRef(!1);return eu(()=>{t&&n.current&&(n.current=!1,e())},[t,e]),{onFocus:i.useCallback(()=>{n.current=!0},[]),onBlur:i.useCallback(()=>{n.current=!1},[])}}function eg(){let[e,t]=i.useState(!1);return eu(()=>{t("rtl"===window.getComputedStyle(window.document.documentElement).direction)},[]),e}function eE(){let[e]=i.useState({}),t=i.useCallback((t,n)=>{var r;null==(r=e[t])||r.forEach(e=>{n.isPropagationStopped()||e(n)})},[e]);return{registerSensors:i.useMemo(()=>({onPointerDown:e=>t(o.qq,e),onPointerMove:e=>t(o.RK,e),onPointerUp:e=>t(o.tu,e),onPointerLeave:e=>t(o.tD,e),onPointerCancel:e=>t(o.s,e),onKeyDown:e=>t(o.uF,e),onKeyUp:e=>t(o.t$,e),onWheel:e=>t(o.j7,e)}),[t]),subscribeSensors:i.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 eb(e,t){let n=i.useRef(0),r=ef(),l=eh(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 i.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=h("slide"),ey=h("slide_image");function ex(e){var t,n,r,l,a,u,d;let{slide:f,offset:h,render:m,rect:p,imageFit:g,imageProps:E,onClick:w,onLoad:y,onError:x,style:C}=e,[N,M]=i.useState(o.Qo),{publish:P}=F(),{setTimeout:k}=$(),L=i.useRef(null);i.useEffect(()=>{0===h&&P((0,o.EC)(N))},[h,N,P]);let R=eh(e=>{("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{e.parentNode&&(M(o.P9),k(()=>{null==y||y(e)},0))})}),I=i.useCallback(e=>{L.current=e,(null==e?void 0:e.complete)&&R(e)},[R]),S=i.useCallback(e=>{R(e.currentTarget)},[R]),_=eh(()=>{M(o.I1),null==x||x()}),A=b(f,g),O=(e,t)=>Number.isFinite(e)?e:t,T=O(Math.max(...(null!=(n=null==(t=f.srcSet)?void 0:t.map(e=>e.width))?n:[]).concat(f.width?[f.width]:[]).filter(Boolean)),(null==(r=L.current)?void 0:r.naturalWidth)||0),D=O(Math.max(...(null!=(a=null==(l=f.srcSet)?void 0:l.map(e=>e.height))?a:[]).concat(f.height?[f.height]:[]).filter(Boolean)),(null==(u=L.current)?void 0:u.naturalHeight)||0),W=null==(d=f.srcSet)?void 0:d.sort((e,t)=>e.width-t.width).map(e=>"".concat(e.src," ").concat(e.width,"w")).join(", "),z=W&&p&&v()?"".concat(Math.round(Math.min(p&&!A&&f.width&&f.height?p.height/f.height*f.width:Number.MAX_VALUE,p.width)),"px"):void 0,{style:U,className:j,...H}=E||{};return i.createElement(i.Fragment,null,i.createElement("img",{ref:I,onLoad:S,onError:_,onClick:w,draggable:!1,className:c(s(ey()),A&&s(ey("cover")),N!==o.P9&&s(ey("loading")),j),style:{...T&&D?{maxWidth:"min(".concat(T,"px, 100%)"),maxHeight:"min(".concat(D,"px, 100%)")}:{maxWidth:"100%",maxHeight:"100%"},...C,...U},...H,alt:f.alt,sizes:z,srcSet:W,src:f.src}),N!==o.P9&&i.createElement("div",{className:s(ew(o.Bv))},N===o.Qo&&((null==m?void 0:m.iconLoading)?m.iconLoading():i.createElement(eo,{className:c(s(o.jR),s(ew(o.Qo)))})),N===o.I1&&((null==m?void 0:m.iconError)?m.iconError():i.createElement(ea,{className:c(s(o.jR),s(ew(o.I1)))}))))}let eC=i.forwardRef(function(e,t){let{className:n,children:r,...l}=e,o=i.useRef(null);return i.createElement(W,{nodeRef:o},i.createElement("div",{ref:ep(t,o),className:c(s("root"),n),...l},r))});function eN(e,t,n,r,l){i.useEffect(()=>l?()=>{}:m(e(o.qq,t),e(o.RK,n),e(o.tu,r),e(o.tD,r),e(o.s,r)),[e,t,n,r,l])}!function(e){e[e.NONE=0]="NONE",e[e.SWIPE=1]="SWIPE",e[e.PULL=2]="PULL",e[e.ANIMATION=3]="ANIMATION"}(r||(r={})),function(e){e[e.NONE=0]="NONE",e[e.SWIPE=1]="SWIPE",e[e.PULL=2]="PULL"}(l||(l={}));let eM=h("container"),eP=i.createContext(null),ek=p("useController","ControllerContext",eP),eL=_(o.Kv,function(e){var t;let{children:n,...a}=e,{carousel:u,animation:f,controller:h,on:p,styles:v,render:E}=a,{closeOnPullUp:b,closeOnPullDown:w,preventDefaultWheelX:x,preventDefaultWheelY:C}=h,[N,M]=i.useState(),P=X(),k=Y(),[L,R]=i.useState(r.NONE),I=i.useRef(0),S=i.useRef(0),_=i.useRef(1),{registerSensors:A,subscribeSensors:O}=eE(),{subscribe:T,publish:W}=F(),z=ef(),U=ef(),j=ef(),{containerRef:H,setContainerRef:K,containerRect:B}=ed(),q=ep(function(e){let{preventDefaultWheelX:t,preventDefaultWheelY:n}=e,r=i.useRef(null),l=eh(e=>{let r=Math.abs(e.deltaX)>Math.abs(e.deltaY);(r&&t||!r&&n||e.ctrlKey)&&e.preventDefault()});return i.useCallback(e=>{var t;e?e.addEventListener("wheel",l,{passive:!1}):null==(t=r.current)||t.removeEventListener("wheel",l),r.current=e},[l])}({preventDefaultWheelX:x,preventDefaultWheelY:C}),K),Q=i.useRef(null),V=ep(Q,void 0),{getOwnerDocument:J}=D(),Z=eg(),G=e=>(Z?-1:1)*("number"==typeof e?e:1),ee=eh(()=>{var e;return null==(e=H.current)?void 0:e.focus()}),et=eh(()=>a),en=eh(()=>P),er=i.useCallback(e=>W(o.zn,e),[W]),el=i.useCallback(e=>W(o.Nc,e),[W]),ei=i.useCallback(()=>W(o.C),[W]),eo=e=>!(u.finite&&(G(e)>0&&0===P.currentIndex||0>G(e)&&P.currentIndex===P.slides.length-1)),ea=e=>{var t;I.current=e,null==(t=H.current)||t.style.setProperty(d("swipe_offset"),"".concat(Math.round(e),"px"))},eu=e=>{var t,n;S.current=e,_.current=Math.min(Math.max(g(1-(w&&e>0?e:b&&e<0?-e:0)/60*.5,2),.5),1),null==(t=H.current)||t.style.setProperty(d("pull_offset"),"".concat(Math.round(e),"px")),null==(n=H.current)||n.style.setProperty(d("pull_opacity"),"".concat(_.current))},{prepareAnimation:ec}=es(Q,(e,t,n)=>{if(Q.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:f.easing.fade}}),em=(e,t)=>
1{if(b||w){eu(e);let n=0;Q.current&&(n=f.fade*(t?2:1),ec({rect:Q.current.getBoundingClientRect(),opacity:_.current,duration:n})),j(()=>{eu(0),R(r.NONE)},n),R(r.ANIMATION),t||ei()}},{prepareAnimation:ev,isAnimationPlaying:eb}=es(Q,(e,t,n)=>{var r;if(Q.current&&B&&(null==(r=P.animation)?void 0:r.duration)){let r=y(u.spacing),l=(r.percent?r.percent*B.width/100:r.pixel)||0;return{keyframes:[{transform:"translate(".concat(G(P.globalIndex-e.index)*(B.width+l)+e.rect.x-t.x+n.x,"px, 0)")},{transform:"translate(0, 0)"}],duration:P.animation.duration,easing:P.animation.easing}}}),ew=eh(e=>{var t,n;let l=e.offset||0,i=l?f.swipe:null!=(t=f.navigation)?t:f.swipe,a=l||eb()?f.easing.swipe:f.easing.navigation,{direction:u}=e,c=null!=(n=e.count)?n:1,s=r.ANIMATION,d=i*c;if(!u){let t=null==B?void 0:B.width,n=e.duration||0,r=t?i/t*Math.abs(l):i;0!==c?(n<r?d=d/r*Math.max(n,r/5):t&&(d=i/t*(t-Math.abs(l))),u=G(l)>0?o.zn:o.Nc):d=i/2}let h=0;u===o.zn?eo(G(1))?h=-c:(s=r.NONE,d=i):u===o.Nc&&(eo(G(-1))?h=c:(s=r.NONE,d=i)),U(()=>{ea(0),R(r.NONE)},d=Math.round(d)),Q.current&&ev({rect:Q.current.getBoundingClientRect(),index:P.globalIndex}),R(s),W(o.sI,{type:"swipe",increment:h,duration:d,easing:a})});i.useEffect(()=>{var e,t;(null==(e=P.animation)?void 0:e.increment)&&(null==(t=P.animation)?void 0:t.duration)&&z(()=>k({type:"swipe",increment:0}),P.animation.duration)},[P.animation,k,z]);let ey=[O,eo,(null==B?void 0:B.width)||0,f.swipe,()=>R(r.SWIPE),e=>ea(e),(e,t)=>ew({offset:e,duration:t,count:1}),e=>ew({offset:e,count:0})],ex=[()=>{w&&R(r.PULL)},e=>eu(e),e=>em(e),e=>em(e,!0)];!function(e,t,n,r,a,u,c,d,f,h,m,p,v,g,E,b){let{disableSwipeNavigation:w,closeOnBackdropClick:y}=e,x=i.useRef(0),C=i.useRef([]),N=i.useRef(void 0),M=i.useRef(0),P=i.useRef(l.NONE),k=i.useCallback(e=>{N.current===e.pointerId&&(N.current=void 0,P.current=l.NONE);let t=C.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),L=i.useCallback(e=>{k(e),e.persist(),C.current.push(e)},[k]),R=i.useCallback(e=>C.current.find(t=>{let{pointerId:n}=t;return e.pointerId===n}),[]),I=eh(e=>{L(e)}),S=(e,t)=>m&&e>t||h&&e<-t,_=eh(e=>{let t=R(e);if(t)if(N.current===e.pointerId){let e=Date.now()-M.current,t=x.current;P.current===l.SWIPE?Math.abs(t)>.3*r||Math.abs(t)>5&&e<a?d(t,e):f(t):P.current===l.PULL&&(S(t,60)?g(t,e):E(t)),x.current=0,P.current=l.NONE}else{let{target:n}=e;y&&n instanceof HTMLElement&&n===t.target&&(n.classList.contains(s(o.h0))||n.classList.contains(s(o.pc)))&&b()}k(e)});eN(t,I,eh(e=>{let t=R(e);if(t){let r=N.current===e.pointerId;if(0===e.buttons)return void(r&&0!==x.current?_(e):k(t));let i=e.clientX-t.clientX,o=e.clientY-t.clientY;if(void 0===N.current){let t=t=>{L(e),N.current=e.pointerId,M.current=Date.now(),P.current=t};Math.abs(i)>Math.abs(o)&&Math.abs(i)>30&&n(i)?w||(t(l.SWIPE),u()):Math.abs(o)>Math.abs(i)&&S(o,30)&&(t(l.PULL),p())}else r&&(P.current===l.SWIPE?(x.current=i,c(i)):P.current===l.PULL&&(x.current=o,v(o)))}}),_)}(h,...ey,b,w,...ex,ei),function(e,t,n,l,a,u,c,s,d){let f=i.useRef(0),h=i.useRef(0),m=i.useRef(void 0),p=i.useRef(void 0),v=i.useRef(0),g=i.useRef(void 0),E=i.useRef(0),{setTimeout:b,clearTimeout:w}=$(),y=i.useCallback(()=>{m.current&&(w(m.current),m.current=void 0)},[w]),x=i.useCallback(()=>{p.current&&(w(p.current),p.current=void 0)},[w]),C=eh(()=>{e!==r.SWIPE&&(f.current=0,E.current=0,y(),x())});i.useEffect(C,[e,C]);let N=eh(e=>{p.current=void 0,f.current===e&&d(f.current)}),M=eh(t=>{if(t.ctrlKey||Math.abs(t.deltaY)>Math.abs(t.deltaX))return;let i=e=>{v.current=e,w(g.current),g.current=e>0?b(()=>{v.current=0,g.current=void 0},300):void 0};if(e===r.NONE){if(Math.abs(t.deltaX)<=1.2*Math.abs(v.current))return void i(t.deltaX);if(!n(-t.deltaX))return;if(h.current+=t.deltaX,y(),Math.abs(h.current)>30)h.current=0,i(0),E.current=Date.now(),u();else{let e=h.current;m.current=b(()=>{m.current=void 0,e===h.current&&(h.current=0)},a)}}else if(e===r.SWIPE){let e=f.current-t.deltaX;if(f.current=e=Math.min(Math.abs(e),l)*Math.sign(e),c(e),x(),Math.abs(e)>.2*l){i(t.deltaX),s(e,Date.now()-E.current);return}p.current=b(()=>N(e),2*a)}else i(t.deltaX)});i.useEffect(()=>t(o.j7,M),[t,M])}(L,...ey);let eC=eh(()=>{h.focus&&J().querySelector(".".concat(s(o.kJ)," .").concat(s(eM())))&&ee()});i.useEffect(eC,[eC]);let ek=eh(()=>{var e;null==(e=p.view)||e.call(p,{index:P.currentIndex})});i.useEffect(ek,[P.globalIndex,ek]),i.useEffect(()=>m(T(o.zn,e=>ew({direction:o.zn,...e})),T(o.Nc,e=>ew({direction:o.Nc,...e})),T(o.sI,e=>k(e))),[T,ew,k]);let eL=i.useMemo(()=>({prev:er,next:el,close:ei,focus:ee,slideRect:B?function(e,t){let n=y(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,u.padding):{width:0,height:0},containerRect:B||{width:0,height:0},subscribeSensors:O,containerRef:H,setCarouselRef:V,toolbarWidth:N,setToolbarWidth:M}
1),[er,el,ei,ee,O,B,H,V,N,M,u.padding]);return i.useImperativeHandle(h.ref,()=>({prev:er,next:el,close:ei,focus:ee,getLightboxProps:et,getLightboxState:en}),[er,el,ei,ee,et,en]),i.createElement("div",{ref:q,className:c(s(eM()),s(o.tC)),style:{...L===r.SWIPE?{[d("swipe_offset")]:"".concat(Math.round(I.current),"px")}:null,...L===r.PULL?{[d("pull_offset")]:"".concat(Math.round(S.current),"px"),[d("pull_opacity")]:"".concat(_.current)}:null,..."none"!==h.touchAction?{[d("controller_touch_action")]:h.touchAction}:null,...v.container},...h.aria?{role:"region","aria-live":"polite","aria-roledescription":"carousel"}:null,tabIndex:-1,...A},B&&i.createElement(eP.Provider,{value:eL},n,null==(t=E.controls)?void 0:t.call(E)))});function eR(e){return f(o.mY,e)}function eI(e){var t,n,r,l,a;let u,{slide:d,offset:h}=e,m=i.useRef(null),{currentIndex:p}=X(),{slideRect:v,focus:g}=ek(),{render:b,carousel:{imageFit:w,imageProps:y},on:{click:x},styles:{slide:C}}=H(),{getOwnerDocument:N}=D(),M=0!==h;return i.useEffect(()=>{var e;M&&(null==(e=m.current)?void 0:e.contains(N().activeElement))&&g()},[M,g,N]),i.createElement("div",{ref:m,className:c(s(f(o.h0,void 0)),!M&&s((t="current",f(o.h0,t))),s(o.tC)),...{inert:R?M:M?"":void 0},style:C,role:"region","aria-roledescription":"slide"},(!(u=null==(n=b.slide)?void 0:n.call(b,{slide:d,offset:h,rect:v}))&&E(d)&&(u=i.createElement(ex,{slide:d,offset:h,render:b,rect:v,imageFit:w,imageProps:y,onClick:M?void 0:()=>null==x?void 0:x({index:p})})),u?i.createElement(i.Fragment,null,null==(r=b.slideHeader)?void 0:r.call(b,{slide:d}),(null!=(l=b.slideContainer)?l:e=>{let{children:t}=e;return t})({slide:d,children:u}),null==(a=b.slideFooter)?void 0:a.call(b,{slide:d})):null))}function eS(){let e=H().styles.slide;return i.createElement("div",{className:s(o.h0),style:e})}let e_=_(o.mY,function(e){let{carousel:t}=e,{slides:n,currentIndex:r,globalIndex:l}=X(),{setCarouselRef:o}=ek(),a=y(t.spacing),u=y(t.padding),f=L(t,n,1),h=[];if(C(n))for(let e=r-f;e<=r+f;e+=1){let i=N(n,e),o=l-r+e,a=t.finite&&(e<0||e>n.length-1);h.push(a?{key:o}:{key:["".concat(o),P(i)].filter(Boolean).join("|"),offset:e-r,slide:i})}return i.createElement("div",{ref:o,className:c(s(eR()),h.length>0&&s(eR("with_slides"))),style:{["".concat(d(eR("slides_count")))]:h.length,["".concat(d(eR("spacing_px")))]:a.pixel||0,["".concat(d(eR("spacing_percent")))]:a.percent||0,["".concat(d(eR("padding_px")))]:u.pixel||0,["".concat(d(eR("padding_percent")))]:u.percent||0}},h.map(e=>{let{key:t,slide:n,offset:r}=e;return n?i.createElement(eI,{key:t,slide:n,offset:r}):i.createElement(eS,{key:t})}))});function eA(){let{carousel:e}=H(),{slides:t,currentIndex:n}=X();return{prevDisabled:0===t.length||e.finite&&0===n,nextDisabled:0===t.length||e.finite&&n===t.length-1}}function eO(e){var t;let n=eg(),{publish:r}=F(),{animation:l}=H(),{prevDisabled:a,nextDisabled:u}=eA(),c=(null!=(t=l.navigation)?t:l.swipe)/2,s=eb(()=>r(o.zn),c),d=eb(()=>r(o.Nc),c),f=eh(e=>{switch(e.key){case o.or:r(o.C);break;case o.A9:(n?u:a)||(n?d:s)();break;case o.jn:(n?a:u)||(n?s:d)()}});i.useEffect(()=>e(o.uF,f),[e,f])}function eT(e){let{label:t,icon:n,renderIcon:r,action:l,onClick:o,disabled:a,style:u}=e;return i.createElement(G,{label:t,icon:n,renderIcon:r,className:s("navigation_".concat(l)),disabled:a,onClick:o,style:u,...ev(ek().focus,a)})}let eD=_(o.Ky,function(e){let{render:{buttonPrev:t,buttonNext:n,iconPrev:r,iconNext:l},styles:a}=e,{prev:u,next:c,subscribeSensors:s}=ek(),{prevDisabled:d,nextDisabled:f}=eA();return eO(s),i.createElement(i.Fragment,null,t?t():i.createElement(eT,{label:"Previous",action:o.zn,icon:el,renderIcon:r,style:a.navigationPrev,disabled:d,onClick:u}),n?n():i.createElement(eT,{label:"Next",action:o.Nc,icon:ei,renderIcon:l,style:a.navigationNext,disabled:f,onClick:c}))}),eW=s(o.HR),ez=s(o.vg);function eF(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((w(i)||0)+t,"px")),()=>{o?e.style.setProperty(l,o):e.style.removeProperty(l)}}let eU=_(o.b6,function(e){let{noScroll:{disabled:t},children:n}=e,r=eg(),{getOwnerDocument:l,getOwnerWindow:o}=D();return i.useEffect(()=>{if(t)return()=>{};let e=[],n=o(),{body:i,documentElement:a}=l(),u=Math.round(n.innerWidth-a.clientWidth);if(u>0){e.push(eF(i,u,r));let t=i.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(ez)&&e.push(eF(i,u,r))}}return i.classList.add(eW),()=>
1{i.classList.remove(eW),e.forEach(e=>e())}},[r,t,l,o]),i.createElement(i.Fragment,null,n)});function ej(e,t,n){let r=e.getAttribute(t);return e.setAttribute(t,n),()=>{r?e.setAttribute(t,r):e.removeAttribute(t)}}let eH=_(o.kJ,function(e){var t;let{children:n,animation:r,styles:l,className:u,on:h,portal:m,close:p}=e,[v,g]=i.useState(!1),[E,b]=i.useState(!1),w=i.useRef([]),y=i.useRef(null),{setTimeout:x}=$(),{subscribe:C}=F(),N=ec()?0:r.fade;i.useEffect(()=>(g(!0),()=>{g(!1),b(!1)}),[]);let M=eh(()=>{w.current.forEach(e=>e()),w.current=[]}),P=eh(()=>{var e;b(!1),M(),null==(e=h.exiting)||e.call(h),x(()=>{var e;null==(e=h.exited)||e.call(h),p()},N)});i.useEffect(()=>C(o.C,P),[C,P]);let k=eh(e=>{var t,n,r;I(e),b(!0),null==(t=h.entering)||t.call(h);let l=null!=(r=null==(n=e.parentNode)?void 0:n.children)?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(ej(n,"inert","")),w.current.push(ej(n,"aria-hidden","true")))}w.current.push(()=>{var e,t;null==(t=null==(e=y.current)?void 0:e.focus)||t.call(e)}),x(()=>{var e;null==(e=h.entered)||e.call(h)},N)}),L=i.useCallback(e=>{e?k(e):M()},[k,M]);return v?(0,a.createPortal)(i.createElement(eC,{ref:L,className:c(u,s(f(o.kJ,void 0)),s(o.vg),E&&s((t="open",f(o.kJ,t)))),"aria-modal":!0,role:"dialog","aria-live":"polite","aria-roledescription":"lightbox",style:{...r.fade!==S.animation.fade?{[d("fade_animation_duration")]:"".concat(N,"ms")}:null,...r.easing.fade!==S.animation.easing.fade?{[d("fade_animation_timing_function")]:r.easing.fade}:null,...l.root},onFocus:e=>{y.current||(y.current=e.relatedTarget)}},n),m.root||document.body):null}),eK=_(o.OT,function(e){let{children:t}=e;return i.createElement(i.Fragment,null,t)}),eB=_(o.pq,function(e){let{toolbar:{buttons:t},render:{buttonClose:n,iconClose:r},styles:l}=e,{close:a,setToolbarWidth:u}=ek(),{setContainerRef:c,containerRect:d}=ed();eu(()=>{u(null==d?void 0:d.width)},[u,null==d?void 0:d.width]);let h=()=>n?n():i.createElement(G,{key:o.C,label:"Close",icon:er,renderIcon:r,onClick:a});return i.createElement("div",{ref:c,style:l.toolbar,className:s(f(o.pq,void 0))},null==t?void 0:t.map(e=>e===o.C?h():e))});function eX(e){let{carousel:t,animation:n,render:r,toolbar:l,controller:a,noScroll:u,on:c,plugins:s,slides:d,index:f,...h}=e,{animation:m,carousel:p,render:v,toolbar:g,controller:E,noScroll:b,on:y,slides:x,index:C,plugins:N,...M}=S,{config:P,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=[A(t,r)];return}r=O(r,e,e=>[A(t,[e])])},a=(e,t)=>{r=O(r,e,e=>[A(e.module,[A(t,e.children)])])},u=(e,t,n)=>{r=O(r,e,e=>{var r;return[A(e.module,[...n?[A(t)]:[],...null!=(r=e.children)?r:[],...n?[]:[A(t)]])]})},c=(e,t,n)=>{r=O(r,e,e=>[...n?[A(t)]:[],e,...n?[]:[A(t)]])},s=e=>{a(o.Kv,e)},d=(e,t)=>{r=O(r,e,e=>[A(t,e.children)])},f=e=>{r=O(r,e,e=>e.children)},h=e=>{n.push(e)};return t.forEach(e=>{e({contains:l,addParent:i,append:a,addChild:u,addSibling:c,addModule:s,replace:d,remove:f,augment:h})}),{config:r,augmentation:e=>n.reduce((e,t)=>t(e),e)}}([A(eH,[A(eU,[A(eL,[A(e_),A(eB),A(eD)])])])],s||N),L=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}}(m,n),carousel:{...p,...t},render:{...v,...r},toolbar:{...g,...l},controller:{...E,...a},noScroll:{...b,...u},on:{...y,...c},...M,...h});return L.open?i.createElement(K,{...L},i.createElement(V,{slides:d||x,index:w(f||C)},i.createElement(Z,null,i.createElement(U,null,function e(t,n){var r;return i.createElement(t.module.component,{key:t.module.name,...n},null==(r=t.children)?void 0:r.map(t=>e(t,n)))}(A(eK,P),L))))):null}},8561:()=>{}}]);
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.