1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[85614],{45353:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return l}});let r=n(12115);function l(e,t){let n=(0,r.useRef)(()=>{}),l=(0,r.useRef)(()=>{});return(0,r.useMemo)(()=>e&&t?r=>{null===r?(n.current(),l.current()):(n.current=o(e,r),l.current=o(t,r))}:e||t,[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let n=e(t);return"function"==typeof n?n:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3339:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(4617),l=n.n(r),o=n(12115),i=n(81653),a=n(95155);let u=o.forwardRef((e,t)=>{let{as:n="div",bsPrefix:r,className:o,direction:u,gap:c,...s}=e;r=(0,i.oU)(r,"horizontal"===u?"hstack":"vstack");let d=(0,i.gy)(),f=(0,i.Jm)();return(0,a.jsx)(n,{...s,ref:t,className:l()(o,r,...function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.Jy,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.ff,r=[];return Object.entries(e).forEach(e=>{let[l,o]=e;null!=o&&("object"==typeof o?t.forEach(e=>{let t=o[e];null!=t&&r.push("".concat(l).concat(e!==n?"-".concat(e):"","-").concat(t))}):r.push("".concat(l,"-").concat(o)))}),r}({gap:c},d,f))})});u.displayName="Stack";let c=u},58561:()=>{},46660:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>e0});var r,l,o=n(12115);let i="carousel",a="controller",u="portal",c="toolbar",s="loading",d="error",f="complete",v=e=>`active-slide-${e}`;v(s),v("playing"),v(d),v(f);let h="flex_center",p="no_scroll_padding",m="prev",g="next",E="swipe",b="close",y="onPointerDown",w="onPointerMove",x="onPointerUp",M="onPointerLeave",N="onPointerCancel",P="onKeyDown",C="onWheel",L="icon",k="contain",I="cover";var R=n(47650);let S="yarl__";function _(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return[...t].filter(Boolean).join(" ")}function A(e){return"".concat(S).concat(e)}function O(e){return"--".concat(S).concat(e)}function W(e,t){return"".concat(e).concat(t?"_".concat(t):"")}function D(e){return t=>W(e,t)}function T(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return()=>{t.forEach(e=>{e()})}}function U(e,t,n){return()=>{let r=o.useContext(n);if(!r)throw Error("".concat(e," must be used within a ").concat(t,".Provider"));return r}}function F(){return"undefined"!=typeof window}function X(e){return void 0===e.type||"image"===e.type}function j(e){return"string"==typeof e?Number.parseInt(e,10):e}function B(e){if("number"==typeof e)return{pixel:e};if("string"==typeof e){let t=j(e);return e.endsWith("%")?{percent:t}:{pixel:t}}return{pixel:0}}function z(e,t){var n;return e[(n=e.length)>0?(t%n+n)%n:0]}function H(e,t){return e.length>0?z(e,t):void 0}let K=Number(o.version.split(".")[0])>=19,V={open:!1,close:()=>{},index:0,slides:[],render:{},plugins:[],toolbar:{buttons:[b]},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:k,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 Y(e,t){return{name:e,component:t}}function J(e,t){return{module:e,children:t}}function q(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?[J(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 $=o.createContext(null),G=U("useDocument","DocumentContext",$);function Q(e){let{nodeRef:t,children:n}=e,r=o.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 o.createElement($.Provider,{value:r},n)}let Z=o.createContext(null),ee=U("useEvents","EventsContext",Z);function et(e){let{children:t}=e,[n]=o.useState({});o.useEffect(()=>()=>
1{Object.keys(n).forEach(e=>delete n[e])},[n]);let r=o.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[o,i]=r;null===(e=n[o])||void 0===e||e.forEach(e=>e(i))},subscribe:(t,r)=>(n[t]||(n[t]=[]),n[t].push(r),()=>e(t,r)),unsubscribe:e}},[n]);return o.createElement(Z.Provider,{value:r},t)}let en=o.createContext(null),er=U("useLightboxProps","LightboxPropsContext",en);function el(e){let{children:t,...n}=e;return o.createElement(en.Provider,{value:n},t)}let eo=o.createContext(null),ei=U("useLightboxState","LightboxStateContext",eo),ea=o.createContext(null),eu=U("useLightboxDispatch","LightboxDispatchContext",ea);function ec(e,t){switch(t.type){case"swipe":{var n;let{slides:r}=e,l=(null==t?void 0:t.increment)||0,o=e.globalIndex+l,i=(n=r.length)>0?(o%n+n)%n:0,a=H(r,i);return{slides:r,currentIndex:i,globalIndex:o,currentSlide:a,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:H(t.slides,t.index)};return e;default:throw Error("Unknown action type")}}function es(e){let{slides:t,index:n,children:r}=e,[l,i]=o.useReducer(ec,{slides:t,currentIndex:n,globalIndex:n,currentSlide:H(t,n)});o.useEffect(()=>{i({type:"update",slides:t,index:n})},[t,n]);let a=o.useMemo(()=>({...l,state:l,dispatch:i}),[l,i]);return o.createElement(ea.Provider,{value:i},o.createElement(eo.Provider,{value:a},r))}let ed=o.createContext(null),ef=U("useTimeouts","TimeoutsContext",ed);function ev(e){let{children:t}=e,[n]=o.useState([]);o.useEffect(()=>()=>{n.forEach(e=>window.clearTimeout(e)),n.splice(0,n.length)},[n]);let r=o.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 o.createElement(ed.Provider,{value:r},t)}let eh=o.forwardRef(function(e,t){var n;let{label:r,className:l,icon:i,renderIcon:a,onClick:u,style:c,...s}=e,{styles:d,labels:f}=er(),v=null!==(n=null==f?void 0:f[r])&&void 0!==n?n:r;return o.createElement("button",{ref:t,type:"button",title:v,"aria-label":v,className:_(A("button"),l),onClick:u,style:{...c,...d.button},...s},a?a():o.createElement(i,{className:A(L),style:d.icon}))});function ep(e,t){return function(e,t){let n=e=>o.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,o.createElement("g",{fill:"currentColor"},o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t))}let em=ep("Close",o.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"})),eg=ep("Previous",o.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),eE=ep("Next",o.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),eb=ep("Loading",o.createElement(o.Fragment,null,Array.from({length:8}).map((e,t,n)=>o.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)")})))),ey=ep("Error",o.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"})),ew=F()?o.useLayoutEffect:o.useEffect;function ex(){let[e,t]=o.useState(!1);return o.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 eM(e,t){let n=o.useRef(),r=o.useRef(),l=ex();return ew(()=>{var o,i,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(j);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===(o=r.current)||void 0===o||o.cancel(),r.current=void 0;try{r.current=null===(a=(i=e.current).animate)||void 0===a?void 0:a.call(i,l,{duration:u,easing:c})}catch(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=o.useRef(null),t=o.useRef(),[n,r]=o.useState();return{setContainerRef:o.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 eP(){let e=o.useRef(),{setTimeout:t,clearTimeout:n}=ef();return o.useCallback((r,l)=>{n(e.current),e.current=t(r,l>0?l:0)},[t,n])}function eC(e){let t=o.useRef(e);return ew(()=>{t.current=e}),o.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 eL(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function ek(e,t){return o.useMemo(()=>null==e&&null==t?null:n=>{eL(e,n),eL(t,n)},[e,t])}function eI(){let[e,t]=o.useState(!1);return ew(()=>{t("rtl"===window.getComputedStyle(window.document.documentElement).direction)},[]),e}function eR(e,t){let n=o.useRef(0),r=eP(),l=eC(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 o.useCallback(function(){for(var e=arguments.length,o=Array(e),i=0;i<e;i++)o[i]=arguments[i];r(()=>{l(o)},t-(Date.now()-n.current))},[t,l,r])}let eS=D("slide"),e_=D("slide_image");function eA(e){var t,n,r,l,i,a,u;let{slide:c,offset:h,render:p,rect:m,imageFit:g,imageProps:E,onClick:b,onLoad:y,onError:w,style:x}=e,[M,N]=o.useState(s),{publish:P}=ee(),{setTimeout:C}=ef(),R=o.useRef(null);o.useEffect(()=>{0===h&&P(v(M))},[h,M,P]);let S=eC(e=>{("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{e.parentNode&&(N(f),C(()=>{null==y||y(e)},0))})}),O=o.useCallback(e=>{R.current=e,(null==e?void 0:e.complete)&&S(e)},[S]),W=o.useCallback(e=>{S(e.currentTarget)},[S]),D=eC(()=>{N(d),null==w||w()}),T=c.imageFit===I||c.imageFit!==k&&g===I,U=(e,t)=>Number.isFinite(e)?e:t,X=U(Math.max(...(null!==(n=null===(t=c.srcSet)||void 0===t?void 0:t.map(e=>e.width))&&void 0!==n?n:[]).concat(c.width?[c.width]:[]).filter(Boolean)),(null===(r=R.current)||void 0===r?void 0:r.naturalWidth)||0),j=U(Math.max(...(null!==(i=null===(l=c.srcSet)||void 0===l?void 0:l.map(e=>e.height))&&void 0!==i?i:[]).concat(c.height?[c.height]:[]).filter(Boolean)),(null===(a=R.current)||void 0===a?void 0:a.naturalHeight)||0),B=null===(u=c.srcSet)||void 0===u?void 0:u.sort((e,t)=>e.width-t.width).map(e=>"".concat(e.src," ").concat(e.width,"w")).join(", "),z=B&&m&&F()?"".concat(Math.round(Math.min(m&&!T&&c.width&&c.height?m.height/c.height*c.width:Number.MAX_VALUE,m.width)),"px"):void 0,{style:H,className:K,...V}=E||{};return o.createElement(o.Fragment,null,o.createElement("img",{ref:O,onLoad:W,onError:D,onClick:b,draggable:!1,className:_(A(e_()),T&&A(e_("cover")),M!==f&&A(e_("loading")),K),style:{...X&&j?{maxWidth:"min(".concat(X,"px, 100%)"),maxHeight:"min(".concat(j,"px, 100%)")}:{maxWidth:"100%",maxHeight:"100%"},...x,...H},...V,alt:c.alt,sizes:z,srcSet:B,src:c.src}),M!==f&&o.createElement("div",{className:A(eS("placeholder"))},M===s&&((null==p?void 0:p.iconLoading)?p.iconLoading():o.createElement(eb,{className:_(A(L),A(eS(s)))})),M===d&&((null==p?void 0:p.iconError)?p.iconError():o.createElement(ey,{className:_(A(L),A(eS(d)))}))))}let eO=o.forwardRef(function(e,t){let{className:n,children:r,...l}=e,i=o.useRef(null);return o.createElement(Q,{nodeRef:i},o.createElement("div",{ref:ek(t,i),className:_(A("root"),n),...l},r))});!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 eW=D("container"),eD=o.createContext(null),eT=U("useController","ControllerContext",eD),eU=Y(a,function(e){var t;let{children:n,...i}=e,{carousel:a,animation:c,controller:s,on:d,styles:f,render:v}=i,{closeOnPullUp:p,closeOnPullDown:L,preventDefaultWheelX:k,preventDefaultWheelY:I}=s,[R,S]=o.useState(),W=ei(),D=eu(),[U,F]=o.useState(r.NONE),X=o.useRef(0),j=o.useRef(0),z=o.useRef(1),{registerSensors:H,subscribeSensors:K}=function(){let[e]=o.useState({}),t=o.useCallback((t,n)=>{var r;null===(r=e[t])||void 0===r||r.forEach(e=>{n.isPropagationStopped()||e(n)})},[e]);return{registerSensors:o.useMemo(()=>({onPointerDown:e=>t(y,e),onPointerMove:e=>t(w,e),onPointerUp:e=>t(x,e),onPointerLeave:e=>t(M,e),onPointerCancel:e=>t(N,e),onKeyDown:e=>t(P,e),onKeyUp:e=>t("onKeyUp",e),onWheel:e=>t(C,e)}),[t]),subscribeSensors:o.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:V,publish:Y}=ee(),J=eP(),q=eP(),$=eP(),{containerRef:Q,setContainerRef:Z,containerRect:et}=eN(),en=ek(function(e){let{preventDefaultWheelX:t,preventDefaultWheelY:n}=e,r=o.useRef(null),l=eC(e=>{let r=Math.abs(e.deltaX)>Math.abs(e.deltaY);(r&&t||!r&&n||e.ctrlKey)&&e.preventDefault()});return o.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:k,preventDefaultWheelY:I}),Z),er=o.useRef(null),el=ek(er,void 0),{getOwnerDocument:eo}=G(),ea=eI(),ec=e=>(ea?-1:1)*("number"==typeof e?e:1),es=eC(()=>{var e;return null===(e=Q.current)||void 0===e?void 0:e.focus()}),ed=eC(()=>i),ev=eC(()=>W),eh=o.useCallback(e=>Y(m,e),[Y]),ep=o.useCallback(e=>Y(g,e),[Y]),em=o.useCallback(()=>Y(b),[Y]),eg=e=>!(a.finite&&(ec(e)>0&&0===W.currentIndex||0>ec(e)&&W.currentIndex===W.slides.length-1)),eE=e=>{var t;X.current=e,null===(t=Q.current)||void 0===t||t.style.setProperty(O("swipe_offset"),"".concat(Math.round(e),"px"))},eb=e=>{var t,n;j.current=e,z.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-(L&&e>0?e:p&&e<0?-e:0)/60*.5,2),.5),1),null===(t=Q.current)||void 0===t||t.style.setProperty(O("pull_offset"),"".concat(Math.round(e),"px")),null===(n=Q.current)||void 0===n||n.style.setProperty(O("pull_opacity"),"".concat(z.current))},{prepareAnimation:ey}=eM(er,(e,t,n)=>{if(er.current&&et)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}}),ew=(e,t)=>{if(p||L){eb(e);let n=0;er.current&&(n=c.fade*(t?2:1),ey({rect:er.current.getBoundingClientRect(),opacity:z.current,duration:n})),$(()=>{eb(0),F(r.NONE)},n),F(r.ANIMATION),t||em()}},{prepareAnimation:ex,isAnimationPlaying:eL}=eM(er,(e,t,n)=>{var r;if(er.current&&et&&(null===(r=W.animation)||void 0===r?void 0:r.duration)){let r=B(a.spacing),l=(r.percent?r.percent*et.width/100:r.pixel)||0;return{keyframes:[{transform:"translate(".concat(ec(W.globalIndex-e.index)*(et.width+l)+e.rect.x-t.x+n.x,"px, 0)")},{transform:"translate(0, 0)"}],duration:W.animation.duration,easing:W.animation.easing}}}),eR=eC(e=>{var t,n;let l=e.offset||0,o=l?c.swipe:null!==(t=c.navigation)&&void 0!==t?t:c.swipe,i=l||eL()?c.easing.swipe:c.easing.navigation,{direction:a}=e,u=null!==(n=e.count)&&void 0!==n?n:1,s=r.ANIMATION,d=o*u;if(!a){let t=null==et?void 0:et.width,n=e.duration||0,r=t?o/t*Math.abs(l):o;0!==u?(n<r?d=d/r*Math.max(n,r/5):t&&(d=o/t*(t-Math.abs(l))),a=ec(l)>0?m:g):d=o/2}let f=0;a===m?eg(ec(1))?f=-u:(s=r.NONE,d=o):a===g&&(eg(ec(-1))?f=u:(s=r.NONE,d=o)),q(()=>{eE(0),F(r.NONE)},d=Math.round(d)),er.current&&ex({rect:er.current.getBoundingClientRect(),index:W.globalIndex}),F(s),Y(E,{type:"swipe",increment:f,duration:d,easing:i})});o.useEffect(()=>{var e,t;(null===(e=W.animation)||void 0===e?void 0:e.increment)&&(null===(t=W.animation)||void 0===t?void 0:t.duration)&&J(()=>D({type:"swipe",increment:0}),W.animation.duration)},[W.animation,D,J]);let eS=[K,eg,(null==et?void 0:et.width)||0,c.swipe,()=>F(r.SWIPE),e=>eE(e),(e,t)=>eR({offset:e,duration:t,count:1}),e=>eR({offset:e,count:0})],e_=[()=>{L&&F(r.PULL)},e=>eb(e),e=>ew(e),e=>ew(e,!0)];!function(e,t,n,r,i,a,u,c,s,d,f,v,h,p){var m;let g=o.useRef(0),E=o.useRef([]),b=o.useRef(),P=o.useRef(0),C=o.useRef(l.NONE),L=o.useCallback(e=>{b.current===e.pointerId&&(b.current=void 0,C.current=l.NONE);let t=E.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),k=o.useCallback(e=>{L(e),e.persist(),E.current.push(e)},[L]),I=eC(e=>{k(e)}),R=(e,t)=>d&&e>t||s&&e<-t,S=eC(e=>{if(E.current.find(t=>t.pointerId===e.pointerId)&&b.current===e.pointerId){let e=Date.now()-P.current,t=g.current;C.current===l.SWIPE?Math.abs(t)>.3*n||Math.abs(t)>5&&e<r?u(t,e):c(t):C.current===l.PULL&&(R(t,60)?h(t,e):p(t)),g.current=0,C.current=l.NONE}L(e)}),_=eC(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?S(e):L(n);return}let o=e.clientX-n.clientX,u=e.clientY-n.clientY;if(void 0===b.current){let n=t=>{k(e),b.current=e.pointerId,P.current=Date.now(),C.current=t};Math.abs(o)>Math.abs(u)&&Math.abs(o)>30&&t(o)?(n(l.SWIPE),i()):Math.abs(u)>Math.abs(o)&&R(u,30)&&(n(l.PULL),f())}else r&&(C.current===l.SWIPE?(g.current=o,a(o)):C.current===l.PULL&&(g.current=u,v(u)))}});o.useEffect(()=>T(e(y,I),e(w,_),e(x,S),e(M,S),e(N,S)),[e,I,_,S,m])}(...eS,p,L,...e_),function(e,t,n,l,i,a,u,c,s){let d=o.useRef(0),f=o.useRef(0),v=o.useRef(),h=o.useRef(),p=o.useRef(0),m=o.useRef(),g=o.useRef(0),{setTimeout:E,clearTimeout:b}=ef(),y=o.useCallback(()=>{v.current&&(b(v.current),v.current=void 0)},[b]),w=o.useCallback(()=>{h.current&&(b(h.current),h.current=void 0)},[b]),x=eC(()=>{e!==r.SWIPE&&(d.current=0,g.current=0,y(),w())});o.useEffect(x,[e,x]);let M=eC(e=>{h.current=void 0,d.current===e&&s(d.current)}),N=eC(t=>{if(t.ctrlKey||Math.abs(t.deltaY)>Math.abs(t.deltaX))return;let o=e=>{p.current=e,b(m.current),m.current=e>0?E(()=>{p.current=0,m.current=void 0},300):void 0};if(e===r.NONE){if(Math.abs(t.deltaX)<=1.2*Math.abs(p.current)){o(t.deltaX);return}if(!n(-t.deltaX))return;if(f.current+=t.deltaX,y(),Math.abs(f.current)>30)f.current=0,o(0),g.current=Date.now(),a();else{let e=f.current;v.current=E(()=>{v.current=void 0,e===f.current&&(f.current=0)},i)}}else if(e===r.SWIPE){let e=d.current-t.deltaX;if(e=Math.min(Math.abs(e),l)*Math.sign(e),d.current=e,u(e),w(),Math.abs(e)>.2*l){o(t.deltaX),c(e,Date.now()-g.current);return}h.current=E(()=>M(e),2*i)}else o(t.deltaX)});o.useEffect(()=>t(C,N),[t,N])}(U,...eS);let eA=eC(()=>{s.focus&&eo().querySelector(".".concat(A(u)," .").concat(A(eW())))&&es()});o.useEffect(eA,[eA]);let eO=eC(()=>{var e;null===(e=d.view)||void 0===e||e.call(d,{index:W.currentIndex})});o.useEffect(eO,[W.globalIndex,eO]),o.useEffect(()=>T(V(m,e=>eR({direction:m,...e})),V(g,e=>eR({direction:g,...e})),V(E,e=>
1D(e))),[V,eR,D]);let eT=o.useMemo(()=>({prev:eh,next:ep,close:em,focus:es,slideRect:et?function(e,t){let n=B(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)}}(et,a.padding):{width:0,height:0},containerRect:et||{width:0,height:0},subscribeSensors:K,containerRef:Q,setCarouselRef:el,toolbarWidth:R,setToolbarWidth:S}),[eh,ep,em,es,K,et,Q,el,R,S,a.padding]);return o.useImperativeHandle(s.ref,()=>({prev:eh,next:ep,close:em,focus:es,getLightboxProps:ed,getLightboxState:ev}),[eh,ep,em,es,ed,ev]),o.createElement("div",{ref:en,className:_(A(eW()),A(h)),style:{...U===r.SWIPE?{[O("swipe_offset")]:"".concat(Math.round(X.current),"px")}:null,...U===r.PULL?{[O("pull_offset")]:"".concat(Math.round(j.current),"px"),[O("pull_opacity")]:"".concat(z.current)}:null,..."none"!==s.touchAction?{[O("controller_touch_action")]:s.touchAction}:null,...f.container},...s.aria?{role:"presentation","aria-live":"polite"}:null,tabIndex:-1,...H},et&&o.createElement(eD.Provider,{value:eT},n,null===(t=v.controls)||void 0===t?void 0:t.call(v)))});function eF(e){return W("slide",e)}function eX(e){var t,n,r,l;let i,{slide:a,offset:u}=e,c=o.useRef(null),{currentIndex:s}=ei(),{slideRect:d,close:f,focus:v}=eT(),{render:p,carousel:{imageFit:m,imageProps:g},on:{click:E},controller:{closeOnBackdropClick:b},styles:{slide:y}}=er(),{getOwnerDocument:w}=G(),x=0!==u;return o.useEffect(()=>{var e;x&&(null===(e=c.current)||void 0===e?void 0:e.contains(w().activeElement))&&v()},[x,v,w]),o.createElement("div",{ref:c,className:_(A(eF()),!x&&A(eF("current")),A(h)),inert:K?x:x?"":void 0,onClick:e=>{let t=c.current,n=e.target instanceof HTMLElement?e.target:void 0;b&&n&&t&&(n===t||Array.from(t.children).find(e=>e===n)&&n.classList.contains(A("slide_wrapper")))&&f()},style:y},(!(i=null===(t=p.slide)||void 0===t?void 0:t.call(p,{slide:a,offset:u,rect:d}))&&X(a)&&(i=o.createElement(eA,{slide:a,offset:u,render:p,rect:d,imageFit:m,imageProps:g,onClick:x?void 0:()=>null==E?void 0:E({index:s})})),i?o.createElement(o.Fragment,null,null===(n=p.slideHeader)||void 0===n?void 0:n.call(p,{slide:a}),(null!==(r=p.slideContainer)&&void 0!==r?r:e=>{let{children:t}=e;return t})({slide:a,children:i}),null===(l=p.slideFooter)||void 0===l?void 0:l.call(p,{slide:a})):null))}function ej(){let e=er().styles.slide;return o.createElement("div",{className:A("slide"),style:e})}let eB=Y(i,function(e){let{carousel:t}=e,{slides:n,currentIndex:r,globalIndex:l}=ei(),{setCarouselRef:a}=eT(),u=B(t.spacing),c=B(t.padding),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),d=[];if(n.length>0)for(let e=r-s;e<=r+s;e+=1){let o=z(n,e),i=l-r+e,a=t.finite&&(e<0||e>n.length-1);d.push(a?{key:i}:{key:["".concat(i),X(o)?o.src:void 0].filter(Boolean).join("|"),offset:e-r,slide:o})}return o.createElement("div",{ref:a,className:_(A(W(i,void 0)),d.length>0&&A(W(i,"with_slides"))),style:{["".concat(O(W(i,"slides_count")))]:d.length,["".concat(O(W(i,"spacing_px")))]:u.pixel||0,["".concat(O(W(i,"spacing_percent")))]:u.percent||0,["".concat(O(W(i,"padding_px")))]:c.pixel||0,["".concat(O(W(i,"padding_percent")))]:c.percent||0}},d.map(e=>{let{key:t,slide:n,offset:r}=e;return n?o.createElement(eX,{key:t,slide:n,offset:r}):o.createElement(ej,{key:t})}))});function ez(){let{carousel:e}=er(),{slides:t,currentIndex:n}=ei();return{prevDisabled:0===t.length||e.finite&&0===n,nextDisabled:0===t.length||e.finite&&n===t.length-1}}function eH(e){let{label:t,icon:n,renderIcon:r,action:l,onClick:i,disabled:a,style:u}=e;return o.createElement(eh,{label:t,icon:n,renderIcon:r,className:A("navigation_".concat(l)),disabled:a,onClick:i,style:u,...function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=o.useRef();return ew(()=>{t&&n.current&&(n.current=!1,e())},[t,e]),{onFocus:o.useCallback(()=>{n.current=!0},[]),onBlur:o.useCallback(()=>{n.current=!1},[])}}(eT().focus,a)})}let eK=Y("navigation",function(e){let{render:{buttonPrev:t,buttonNext:n,iconPrev:r,iconNext:l},styles:i}=e,{prev:a,next:u,subscribeSensors:c}
1=eT(),{prevDisabled:s,nextDisabled:d}=ez();return!function(e){var t;let n=eI(),{publish:r}=ee(),{animation:l}=er(),{prevDisabled:i,nextDisabled:a}=ez(),u=(null!==(t=l.navigation)&&void 0!==t?t:l.swipe)/2,c=eR(()=>r(m),u),s=eR(()=>r(g),u),d=eC(e=>{switch(e.key){case"Escape":r(b);break;case"ArrowLeft":(n?a:i)||(n?s:c)();break;case"ArrowRight":(n?i:a)||(n?c:s)()}});o.useEffect(()=>e(P,d),[e,d])}(c),o.createElement(o.Fragment,null,t?t():o.createElement(eH,{label:"Previous",action:m,icon:eg,renderIcon:r,style:i.navigationPrev,disabled:s,onClick:a}),n?n():o.createElement(eH,{label:"Next",action:g,icon:eE,renderIcon:l,style:i.navigationNext,disabled:d,onClick:u}))}),eV=A("no_scroll"),eY=A(p);function eJ(e,t,n){let r=window.getComputedStyle(e),l=n?"padding-left":"padding-right",o=n?r.paddingLeft:r.paddingRight,i=e.style.getPropertyValue(l);return e.style.setProperty(l,"".concat((j(o)||0)+t,"px")),()=>{i?e.style.setProperty(l,i):e.style.removeProperty(l)}}let eq=Y("no-scroll",function(e){let{noScroll:{disabled:t},children:n}=e,r=eI(),{getOwnerDocument:l,getOwnerWindow:i}=G();return o.useEffect(()=>{if(t)return()=>{};let e=[],n=i(),{body:o,documentElement:a}=l(),u=Math.round(n.innerWidth-a.clientWidth);if(u>0){e.push(eJ(o,u,r));let t=o.getElementsByTagName("*");for(let l=0;l<t.length;l+=1){let o=t[l];"style"in o&&"fixed"===n.getComputedStyle(o).getPropertyValue("position")&&!o.classList.contains(eY)&&e.push(eJ(o,u,r))}}return o.classList.add(eV),()=>{o.classList.remove(eV),e.forEach(e=>e())}},[r,t,l,i]),o.createElement(o.Fragment,null,n)});function e$(e,t,n){let r=e.getAttribute(t);return e.setAttribute(t,n),()=>{r?e.setAttribute(t,r):e.removeAttribute(t)}}let eG=Y(u,function(e){let{children:t,animation:n,styles:r,className:l,on:i,portal:a,close:c}
1=e,[s,d]=o.useState(!1),[f,v]=o.useState(!1),h=o.useRef([]),m=o.useRef(null),{setTimeout:g}=ef(),{subscribe:E}=ee(),y=ex()?0:n.fade;o.useEffect(()=>(d(!0),()=>{d(!1),v(!1)}),[]);let w=eC(()=>{h.current.forEach(e=>e()),h.current=[]}),x=eC(()=>{var e;v(!1),w(),null===(e=i.exiting)||void 0===e||e.call(i),g(()=>{var e;null===(e=i.exited)||void 0===e||e.call(i),c()},y)});o.useEffect(()=>E(b,x),[E,x]);let M=eC(e=>{var t,n,r;e.scrollTop,v(!0),null===(t=i.entering)||void 0===t||t.call(i);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&&(h.current.push(e$(n,"inert","")),h.current.push(e$(n,"aria-hidden","true")))}h.current.push(()=>{var e,t;null===(t=null===(e=m.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)}),g(()=>{var e;null===(e=i.entered)||void 0===e||e.call(i)},y)}),N=o.useCallback(e=>{e?M(e):w()},[M,w]);return s?(0,R.createPortal)(o.createElement(eO,{ref:N,className:_(l,A(W(u,void 0)),A(p),f&&A(W(u,"o
1pen"))),role:"presentation","aria-live":"polite",style:{...n.fade!==V.animation.fade?{[O("fade_animation_duration")]:"".concat(y,"ms")}:null,...n.easing.fade!==V.animation.easing.fade?{[O("fade_animation_timing_function")]:n.easing.fade}:null,...r.root},onFocus:e=>{m.current||(m.current=e.relatedTarget)}},t),a.root||document.body):null}),eQ=Y("root",function(e){let{children:t}=e;return o.createElement(o.Fragment,null,t)}),eZ=Y(c,function(e){let{toolbar:{buttons:t},render:{buttonClose:n,iconClose:r},styles:l}=e,{close:i,setToolbarWidth:a}=eT(),{setContainerRef:u,containerRect:s}=eN();ew(()=>{a(null==s?void 0:s.width)},[a,null==s?void 0:s.width]);let d=()=>n?n():o.createElement(eh,{key:b,label:"Close",icon:em,renderIcon:r,onClick:i});return o.createElement("div",{ref:u,style:l.toolbar,className:A(W(c,void 0))},null==t?void 0:t.map(e=>e===b?d():e))});function e0(e){let{carousel:t,animation:n,render:r,toolbar:l,controller:i,noScroll:u,on:c,plugins:s,slides:d,index:f,...v}=e,{animation:h,carousel:p,render:m,toolbar:g,controller:E,noScroll:b,on:y,slides:w,index:x,plugins:M,...N}=V,{config:P,augmentation:C}=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},o=(e,t)=>{if(""===e){r=[J(t,r)];return}r=q(r,e,e=>[J(t,[e])])},i=(e,t)=>{r=q(r,e,e=>[J(e.module,[J(t,e.children)])])},u=(e,t,n)=>{r=q(r,e,e=>{var r;return[J(e.module,[...n?[J(t)]:[],...null!==(r=e.children)&&void 0!==r?r:[],...n?[]:[J(t)]])]})},c=(e,t,n)=>{r=q(r,e,e=>[...n?[J(t)]:[],e,...n?[]:[J(t)]])},s=e=>{i(a,e)},d=(e,t)=>{r=q(r,e,e=>[J(t,e.children)])},f=e=>{r=q(r,e,e=>e.children)},v=e=>{n.push(e)};return t.forEach(e=>{e({contains:l,addParent:o,append:i,addChild:u,addSibling:c,addModule:s,replace:d,remove:f,augment:v})}),{config:r,augmentation:e=>n.reduce((e,t)=>t(e),e)}}([J(eG,[J(eq,[J(eU,[J(eB),J(eZ),J(eK)])])])],s||M),L=C({animation:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{easing:n,...r}=e,{easing:l,...o}=t;return{easing:{...n,...l},...r,...o}}(h,n),carousel:{...p,...t},render:{...m,...r},toolbar:{...g,...l},controller:{...E,...i},noScroll:{...b,...u},on:{...y,...c},...N,...v});return L.open?o.createElement(el,{...L},o.createElement(es,{slides:d||w,index:j(f||x)},o.createElement(ev,null,o.createElement(et,null,function e(t,n){var r;return o.createElement(t.module.component,{key:t.module.name,...n},null===(r=t.children)||void 0===r?void 0:r.map(t=>e(t,n)))}(J(eQ,P),L))))):null}}}]);
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.