1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4408],{1635:(e,t,n)=>{"use strict";n.d(t,{$z:()=>d,Ay:()=>eJ,D$:()=>U,DB:()=>P,DK:()=>ew,Fi:()=>T,Hw:()=>I,JZ:()=>eW,K0:()=>ea,LI:()=>x,LJ:()=>X,Nf:()=>ep,Q5:()=>ec,QJ:()=>M,RT:()=>j,Tz:()=>E,Vg:()=>f,Y5:()=>N,Yc:()=>eC,Yf:()=>eJ,Z$:()=>eP,as:()=>eF,bo:()=>S,eS:()=>F,f4:()=>m,fh:()=>p,gZ:()=>$,iF:()=>g,iJ:()=>ev,l6:()=>v,mp:()=>q,oF:()=>h,sM:()=>eg,tP:()=>b,tx:()=>y,uG:()=>H,wt:()=>eu,x3:()=>eM,yQ:()=>eL});var r,l,i,a,o=n(47451),u=n(19938),c=n(85686);let s="yarl__";function d(...e){return e.filter(Boolean).join(" ")}function h(e){return`${s}${e}`}function f(e){return`--${s}${e}`}function m(e,t){return`${e}${t?`_${t}`:""}`}function p(e){return t=>m(e,t)}function v(e,t){var n;return null!=(n=null==e?void 0:e[t])?n:t}function g(e,t,n){return v(e,"{index} of {total}").replace(/\{index}/g,`${R(n,t.length)+1}`).replace(/\{total}/g,`${t.length}`)}function b(...e){return()=>{e.forEach(e=>{e()})}}function E(e,t,n){return()=>{let r=o.useContext(n);if(!r)throw Error(`${e} must be used within a ${t}.Provider`);return r}}function w(){return"u">typeof window}function x(e,t=0){let n=10**t;return Math.round((e+Number.EPSILON)*n)/n}function y(e){return void 0===e.type||"image"===e.type}function M(e,t){return e.imageFit===u.e7||e.imageFit!==u.Td&&t===u.e7}function C(e){return"string"==typeof e?Number.parseInt(e,10):e}function k(e){if("number"==typeof e)return{pixel:e};if("string"==typeof e){let t=C(e);return e.endsWith("%")?{percent:t}:{pixel:t}}return{pixel:0}}function N(){return(w()?null==window?void 0:window.devicePixelRatio:void 0)||1}function R(e,t){return t>0?(e%t+t)%t:0}function P(e){return e.length>0}function $(e,t){return e[R(t,e.length)]}function L(e,t){return P(e)?$(e,t):void 0}function I(e){return y(e)?e.src:void 0}function S(e,t,n){if(!n)return e;let{buttons:r,...l}=e,i=r.findIndex(e=>e===t),a=o.isValidElement(n)?o.cloneElement(n,{key:t},null):n;if(i>=0){let e=[...r];return e.splice(i,1,a),{buttons:e,...l}}return{buttons:[a,...r],...l}}function F(e,t,n=0){return Math.min(e.preload,Math.max(e.finite?t.length-1:Math.floor(t.length/2),n))}let D=Number(o.version.split(".")[0])>=19,z={open:!1,close:()=>{},index:0,slides:[],render:{},plugins:[],toolbar:{buttons:[u.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:u.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 T(e,t){return{name:e,component:t}}function _(e,t){return{module:e,children:t}}function A(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?[_(t.module,t.children.flatMap(t=>{var l;return null!=(l=e(t,n,r))?l:[]}))]:[t]}(e,t,n))?r:[]})}let O=o.createContext(null),W=E("useA11yContext","A11yContext",O);function Z({children:e}){let[t,n]=o.useState(!1),[r,l]=o.useState(!1),i=o.useMemo(()=>({focusWithin:t,trackFocusWithin:(e,t)=>{let r=r=>l=>{var i;l.currentTarget.contains(l.relatedTarget)||n(r),null==(i=r?e:t)||i(l)};return{onFocus:r(!0),onBlur:r(!1)}},autoPlaying:r,setAutoPlaying:l}),[t,r]);return o.createElement(O.Provider,{value:i},e)}let K=o.createContext(null),H=E("useDocument","DocumentContext",K);function V({nodeRef:e,children:t}){let n=o.useMemo(()=>{let t=t=>{var n;return(null==(n=t||e.current)?void 0:n.ownerDocument)||document};return{getOwnerDocument:t,getOwnerWindow:e=>{var n;return(null==(n=t(e))?void 0:n.defaultView)||window}}},[e]);return o.createElement(K.Provider,{value:n},t)}let Y=o.createContext(null),X=E("useEvents","EventsContext",Y);function B({children:e}){let[t]=o.useState({});o.useEffect(()=>()=>{Object.keys(t).forEach(e=>delete t[e])},[t]);let n=o.useMemo(()=>{let e=(e,n)=>{var r;null==(r=t[e])||r.splice(0,t[e].length,...t[e].filter(e=>e!==n))};return{publish:(...[e,n])=>{var r;
1null==(r=t[e])||r.forEach(e=>e(n))},subscribe:(n,r)=>(t[n]||(t[n]=[]),t[n].push(r),()=>e(n,r)),unsubscribe:e}},[t]);return o.createElement(Y.Provider,{value:n},e)}let Q=o.createContext(null),U=E("useLightboxProps","LightboxPropsContext",Q);function j({children:e,...t}){return o.createElement(Q.Provider,{value:t},e)}let J=o.createContext(null),q=E("useLightboxState","LightboxStateContext",J),G=o.createContext(null),ee=E("useLightboxDispatch","LightboxDispatchContext",G);function et(e,t){switch(t.type){case"swipe":{let{slides:n}=e,r=(null==t?void 0:t.increment)||0,l=e.globalIndex+r,i=R(l,n.length),a=L(n,i);return{slides:n,currentIndex:i,globalIndex:l,currentSlide:a,animation:r||void 0!==t.duration?{increment:r,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:L(t.slides,t.index)};return e;default:throw Error(u.V)}}function en({slides:e,index:t,children:n}){let[r,l]=o.useReducer(et,{slides:e,currentIndex:t,globalIndex:t,currentSlide:L(e,t)});o.useEffect(()=>{l({type:"update",slides:e,index:t})},[e,t]);let i=o.useMemo(()=>({...r,state:r,dispatch:l}),[r,l]);return o.createElement(G.Provider,{value:l},o.createElement(J.Provider,{value:i},n))}let er=o.createContext(null),el=E("useTimeouts","TimeoutsContext",er);function ei({children:e}){let[t]=o.useState([]);o.useEffect(()=>()=>{t.forEach(e=>window.clearTimeout(e)),t.splice(0,t.length)},[t]);let n=o.useMemo(()=>{let e=e=>{t.splice(0,t.length,...t.filter(t=>t!==e))};return{setTimeout:(n,r)=>{let l=window.setTimeout(()=>{e(l),n()},r);return t.push(l),l},clearTimeout:t=>{void 0!==t&&(e(t),window.clearTimeout(t))}}},[t]);return o.createElement(er.Provider,{value:n},e)}let ea=o.forwardRef(function({label:e,className:t,icon:n,renderIcon:r,onClick:l,style:i,...a},c){let{styles:s,labels:f}=U(),m=v(f,e);return o.createElement("button",{ref:c,type:"button",title:m,"aria-label":m,className:d(h(u.Uj),t),onClick:l,style:{...i,...s.button},...a},r?r():o.createElement(n,{className:h(u.jR),style:s.icon}))});function eo(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}function eu(e,t){return eo(e,o.createElement("g",{fill:"currentColor"},o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t))}function ec(e,t){return eo(e,o.createElement(o.Fragment,null,o.createElement("defs",null,o.createElement("mask",{id:"strike"},o.createElement("path",{d:"M0 0h24v24H0z",fill:"white"}),o.createElement("path",{d:"M0 0L24 24",stroke:"black",strokeWidth:4}))),o.createElement("path",{d:"M0.70707 2.121320L21.878680 23.292883",stroke:"currentColor",strokeWidth:2}),o.createElement("g",{fill:"currentColor",mask:"url(#strike)"},o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t)))}let es=eu("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"})),ed=eu("Previous",o.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),eh=eu("Next",o.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),ef=eu("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(${360/n.length*t}, 12, 12)`}
1)))),em=eu("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"})),ep=w()?o.useLayoutEffect:o.useEffect;function ev(){let[e,t]=o.useState(!1);return o.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 eg(e,t){let n=o.useRef(void 0),r=o.useRef(void 0),l=ev();return ep(()=>{var i,a,o;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(C);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==(o=(a=e.current).animate)?void 0:o.call(a,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 eb(){let e=o.useRef(null),t=o.useRef(void 0),[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);r({width:Math.round(n.clientWidth-(parseFloat(e.paddingLeft)||0)-(parseFloat(e.paddingRight)||0)),height:Math.round(n.clientHeight-(parseFloat(e.paddingTop)||0)-(parseFloat(e.paddingBottom)||0))})}else r(void 0)};l(),n&&"u">typeof ResizeObserver&&(t.current=new ResizeObserver(l),t.current.observe(n))},[]),containerRef:e,containerRect:n}}function eE(){let e=o.useRef(void 0),{setTimeout:t,clearTimeout:n}=el();return o.useCallback((r,l)=>{n(e.current),e.current=t(r,l>0?l:0)},[t,n])}function ew(e){let t=o.useRef(e);return ep(()=>{t.current=e}),o.useCallback((...e)=>{var n;return null==(n=t.current)?void 0:n.call(t,...e)},[])}function ex(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function ey(e,t){return o.useMemo(()=>null==e&&null==t?null:n=>{ex(e,n),ex(t,n)},[e,t])}function eM(){let[e,t]=o.useState(!1);return ep(()=>{t("rtl"===window.getComputedStyle(window.document.documentElement).direction)},[]),e}function eC(){let[e]=o.useState({}),t=o.useCallback((t,n)=>{var r;null==(r=e[t])||r.forEach(e=>{n.isPropagationStopped()||e(n)})},[e]);return{registerSensors:o.useMemo(()=>({onPointerDown:e=>t(u.qq,e),onPointerMove:e=>t(u.RK,e),onPointerUp:e=>t(u.tu,e),onPointerLeave:e=>t(u.tD,e),onPointerCancel:e=>t(u.s,e),onKeyDown:e=>t(u.uF,e),onKeyUp:e=>t(u.t$,e),onWheel:e=>t(u.j7,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])}}function ek(e,t){let n=o.useRef(0),r=eE(),l=ew((...t)=>{n.current=Date.now(),e(t)});return o.useCallback((...e)=>{r(()=>{l(e)},t-(Date.now()-n.current))},[t,l,r])}let eN=p("slide"),eR=p("slide_image");function eP({slide:e,offset:t,render:n,rect:r,imageFit:l,imageProps:i,onClick:a,onLoad:c,onError:s,style:f}){var m,p,v,g,b,E,x,y;let[C,k]=o.useState(u.Qo),{publish:N}=X(),{setTimeout:R}=el(),P=o.useRef(null);o.useEffect(()=>{0===t&&N((0,u.EC)(C))},[t,C,N]);let $=ew(e=>{("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{e.parentNode&&(k(u.P9),R(()=>{null==c||c(e)},0))})}),L=o.useCallback(e=>{P.current=e,(null==e?void 0:e.complete)&&$(e)},[$]),I=o.useCallback(e=>{$(e.currentTarget)},[$]),S=ew(()=>{k(u.I1),null==s||s()}),F=M(e,l),D=(e,t)=>Number.isFinite(e)?e:t,z=D(Math.max(...(null!=(p=null==(m=e.srcSet)?void 0:m.map(e=>e.width))?p:[]).concat(e.width?[e.width]:[]).filter(Boolean)),(null==(v=P.current)?void 0:v.naturalWi
1dth)||0),T=D(Math.max(...(null!=(b=null==(g=e.srcSet)?void 0:g.map(e=>e.height))?b:[]).concat(e.height?[e.height]:[]).filter(Boolean)),(null==(E=P.current)?void 0:E.naturalHeight)||0),_=z&&T?{maxWidth:`min(${z}px, 100%)`,maxHeight:`min(${T}px, 100%)`}:{maxWidth:"100%",maxHeight:"100%"},A=null==(x=e.srcSet)?void 0:x.slice().sort((e,t)=>e.width-t.width).map(e=>`${e.src} ${e.width}w`).join(", "),O=A&&r&&w()?`${Math.round(Math.min(r&&!F&&e.width&&e.height?r.height/e.height*e.width:Number.MAX_VALUE,r.width))}px`:void 0,{style:W,className:Z,...K}=("function"==typeof i?i(e):i)||{};return o.createElement(o.Fragment,null,o.createElement("img",{ref:L,onLoad:I,onError:S,onClick:a,draggable:!1,className:d(h(eR()),F&&h(eR("cover")),C!==u.P9&&h(eR("loading")),Z),style:{..._,...f,...W},...K,alt:null!=(y=e.alt)?y:"",sizes:O,srcSet:A,src:e.src}),C!==u.P9&&o.createElement("div",{className:h(eN(u.Bv))},C===u.Qo&&((null==n?void 0:n.iconLoading)?n.iconLoading():o.createElement(ef,{className:d(h(u.jR),h(eN(u.Qo)))})),C===u.I1&&((null==n?void 0:n.iconError)?n.iconError():o.createElement(em,{className:d(h(u.jR),h(eN(u.I1)))}))))}let e$=o.forwardRef(function({className:e,children:t,onFocus:n,onBlur:r,...l},i){let a=o.useRef(null),{trackFocusWithin:u}=W();return o.createElement(V,{nodeRef:a},o.createElement("div",{ref:ey(i,a),className:d(h("root"),e),...u(n,r),...l},t))});function eL(e,t,n,r,l){o.useEffect(()=>l?()=>{}:b(e(u.qq,t),e(u.RK,n),e(u.tu,r),e(u.tD,r),e(u.s,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=a||(a={}))[l.NONE=0]="NONE",l[l.SWIPE=1]="SWIPE",l[l.PULL=2]="PULL";let eI=p("container"),eS=o.createContext(null),eF=E("useController","ControllerContext",eS),eD=T(u.Kv,function({children:e,...t}){var n;let{carousel:r,animation:l,controller:c,on:s,styles:m,render:p}=t,{closeOnPullUp:v,closeOnPullDown:g,preventDefaultWheelX:E,preventDefaultWheelY:w}=c,[y,M]=o.useState(),C=q(),N=ee(),[R,P]=o.useState(i.NONE),$=o.useRef(0),L=o.useRef(0),I=o.useRef(1),{registerSensors:S,subscribeSensors:F}=eC(),{subscribe:D,publish:z}=X(),T=eE(),_=eE(),A=eE(),{containerRef:O,setContainerRef:W,containerRect:Z}=eb(),K=ey(function({preventDefaultWheelX:e,preventDefaultWheelY:t}){let n=o.useRef(null),r=ew(n=>{let r=Math.abs(n.deltaX)>Math.abs(n.deltaY);(r&&e||!r&&t||n.ctrlKey)&&n.preventDefault()});return o.useCallback(e=>{var t;e?e.addEventListener("wheel",r,{passive:!1}):null==(t=n.current)||t.removeEventListener("wheel",r),n.current=e},[r])}({preventDefaultWheelX:E,preventDefaultWheelY:w}),W),V=o.useRef(null),Y=ey(V,void 0),{getOwnerDocument:B}=H(),Q=eM(),U=e=>(Q?-1:1)*("number"==typeof e?e:1),j=ew(()=>{var e;return null==(e=O.current)?void 0:e.focus()}),J=ew(()=>t),G=ew(()=>C),et=o.useCallback(e=>z(u.zn,e),[z]),en=o.useCallback(e=>z(u.Nc,e),[z]),er=o.useCallback(()=>z(u.C),[z]),ei=e=>!(r.finite&&(U(e)>0&&0===C.currentIndex||0>U(e)&&C.currentIndex===C.slides.length-1)),ea=e=>{var t;$.current=e,null==(t=O.current)||t.style.setProperty(f("swipe_offset"),`${Math.round(e)}px`)},eo=e=>{var t,n;L.current=e,I.current=Math.min(Math.max(x(1-(g&&e>0?e:v&&e<0?-e:0)/60*.5,2),.5),1),null==(t=O.current)||t.style.setProperty(f("pull_offset"),`${Math.round(e)}px`),null==(n=O.current)||n.style.setProperty(f("pull_opacity"),`${I.current}`)},{prepareAnimation:eu}=eg(V,(e,t,n)=>{if(V.current&&Z)return{keyframes:[{transform:`translate(0, ${e.rect.y-t.y+n.y}px)`,opacity:e.opacity},{transform:"translate(0, 0)",opacity:1}],duration:e.duration,easing:l.easing.fade}}),ec=(e,t)=>{if(v||g){eo(e);let n=0;V.current&&(n=l.fade*(t?2:1),eu({rect:V.current.getBoundingClientRect(),opacity:I.current,duration:n})),A(()=>{eo(0),P(i.NONE)},n),P(i.ANIMATION),t||er()}},{prepareAnimation:es,isAnimationPlaying:ed}=eg(V,(e,t,n)=>{var l;if(V.current&&Z&&(null==(l=C.animation)?void 0:l.duration)){let l=k(r.spacing),i=(l.percent?l.percent*Z.width/100:l.pixel)||0;return{keyframes:[{transform:`translate(${U(C.globalIndex-e.index)*(Z.width+i)+e.rect.x-t.x+n.x}px, 0)`},{transform:"translate(0, 0)"}],duration:C.animation.duration,easing:C.animation.easing}}}),eh=ew(e=>{var t,n;let r=e.offset||0,a=r?l.swipe:null!=(t=l.navigation)?t:l.swipe,o=r||ed()?l.easing.swipe:l.easing.navigation,{direction:c}=e,s=null!=(n=e.count)?n:1,d=i.ANIMATION,h=a*s;if(!c){let t=null==Z?void 0:Z.width,n=e.duration||0,l=t?a/t*Math.abs(r):a;0!==s?(n<l?h=h/l*Math.max(n,l/5):t&&(h=a/t*(t-Math.abs(r))),c=U(r)>0?u.zn:u.Nc):h=a/2}let f=0;c===u.zn?ei(U(1))?f=-s:(d=i.NONE,h=a):c===u.Nc&&(ei(U(-1))?f=s:(d=i.NONE,h=a)),_(()=>{ea(0),P(i.NONE)},h=Math.round(h)),V.current&&es({rect:V.current.getBoundingClientRect(),index:C.globalIndex}),P(d),z(u.sI,{type:"swipe",increment:f,duration:h,easing:o})});o.useEffect(()=>{var e,t;(null==(e=C.animation)?void 0:e.increment)&&(null==(t=C.animation)?void 0:t.duration)&&T(()=>N({type:"swipe",increment:0}),C.animation.duration)},[C.animation,N,T]);let ef=[F,ei,(null==Z?void 0:Z.width)||0,l.swipe,()=>P(i.SWIPE),e=>ea(e),(e,t)=>eh({offset:e,duration:t,count:1}),e=>eh({offset:e,count:0})],em=[()=>{g&&P(i.PULL)},e=>eo(e),e=>ec(e),e=>ec(e,!0)];!function({disableSwipeNavigation:e,closeOnBackdropClick:t},n,r,l,i,c,s,d,f,m,p,v,g,b,E,w){let x=o.useRef(0),y=o.useRef([]),M=o.useRef(void 0),C=o.useRef(0),k=o.useRef(a.NONE),N=o.useCallback(e=>{M.current===e.pointerId&&(M.current=void 0,k.current=a.NONE);let t=y.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),R=o.useCallback(e=>{N(e),e.persist(),y.current.push(e)},[N]),P=o.useCallback(e=>y.current.find(({pointerId:t})=>e.pointerId===t),[]),$=ew(e=>{R(e)}),L=(e,t)=>p&&e>t||m&&e<-t,I=ew(e=>{let n=P(e);if(n)if(M.current===e.pointerId){let e=Date.now()-C.current,t=x.current;k.current===a.SWIPE?Math.abs(t)>.3*l||Math.abs(t)>5&&e<i?d(t,e):f(t):k.current===a.PULL&&(L(t,60)?b(t,e):E(t)),x.current=0,k.current=a.NONE}else{let{target:r}=e;t&&r instanceof HTMLElement&&r===n.target&&(r.classList.contains(h(u.h0))||r.classList.contains(h(u.pc)))&&w()}N(e)});eL(n,$,ew(t=>{let n=P(t);if(n){let l=M.current===t.pointerId;if(0===t.buttons)return void(l&&0!==x.current?I(t):N(n));let i=t.clientX-n.clientX,o=t.clientY-n.clientY;if(void 0===M.current){let n=e=>{R(t),M.current=t.pointerId,C.current=Date.now(),k.current=e};Math.abs(i)>Math.abs(o)&&Math.abs(i)>30&&r(i)?e||(n(a.SWIPE),c()):Math.abs(o)>Math.abs(i)&&L(o,30)&&(n(a.PULL),v())}else l&&(k.current===a.SWIPE?(x.current=i,s(i)):k.current===a.PULL&&(x.current=o,g(o)))}}),I)}(c,...ef,v,g,...em,er),function(e,t,n,r,l,a,c,s,d){let h=o.useRef(0),f=o.useRef(0),m=o.useRef(void 0),p=o.useRef(void 0),v=o.useRef(0),g=
1o.useRef(void 0),b=o.useRef(0),{setTimeout:E,clearTimeout:w}=el(),x=o.useCallback(()=>{m.current&&(w(m.current),m.current=void 0)},[w]),y=o.useCallback(()=>{p.current&&(w(p.current),p.current=void 0)},[w]),M=ew(()=>{e!==i.SWIPE&&(h.current=0,b.current=0,x(),y())});o.useEffect(M,[e,M]);let C=ew(e=>{p.current=void 0,h.current===e&&d(h.current)}),k=ew(t=>{if(t.ctrlKey||Math.abs(t.deltaY)>Math.abs(t.deltaX))return;let o=e=>{v.current=e,w(g.current),g.current=e>0?E(()=>{v.current=0,g.current=void 0},300):void 0};if(e===i.NONE){if(Math.abs(t.deltaX)<=1.2*Math.abs(v.current))return void o(t.deltaX);if(!n(-t.deltaX))return;if(f.current+=t.deltaX,x(),Math.abs(f.current)>30)f.current=0,o(0),b.current=Date.now(),a();else{let e=f.current;m.current=E(()=>{m.current=void 0,e===f.current&&(f.current=0)},l)}}else if(e===i.SWIPE){let e=h.current-t.deltaX;if(h.current=e=Math.min(Math.abs(e),r)*Math.sign(e),c(e),y(),Math.abs(e)>.2*r){o(t.deltaX),s(e,Date.now()-b.current);return}p.current=E(()=>C(e),2*l)}else o(t.deltaX)});o.useEffect(()=>t(u.j7,k),[t,k])}(R,...ef);let ep=ew(()=>{c.focus&&B().querySelector(`.${h(u.kJ)} .${h(eI())}`)&&j()});o.useEffect(ep,[ep]);let ev=ew(()=>{var e;null==(e=s.view)||e.call(s,{index:C.currentIndex})});o.useEffect(ev,[C.globalIndex,ev]),o.useEffect(()=>b(D(u.zn,e=>eh({direction:u.zn,...e})),D(u.Nc,e=>eh({direction:u.Nc,...e})),D(u.sI,e=>N(e))),[D,eh,N]);let ex=o.useMemo(()=>{let e,t;return{prev:et,next:en,close:er,focus:j,slideRect:Z?(t=void 0!==(e=k(r.padding)).percent?Z.width/100*e.percent:e.pixel,{width:Math.max(Z.width-2*t,0),height:Math.max(Z.height-2*t,0)}):{width:0,height:0},containerRect:Z||{width:0,height:0},subscribeSensors:F,containerRef:O,setCarouselRef:Y,toolbarWidth:y,setToolbarWidth:M}},[et,en,er,j,F,Z,O,Y,y,M,r.padding]);return o.useImperativeHandle(c.ref,()=>({prev:et,next:en,close:er,focus:j,getLightboxProps:J,getLightboxState:G}),[et,en,er,j,J,G]),o.createElement("div",{ref:K,className:d(h(eI()),h(u.tC)),style:{...R===i.SWIPE?{[f("swipe_offset")]:`${Math.round($.current)}px`}:null,...R===i.PULL?{[f("pull_offset")]:`${Math.round(L.current)}px`,[f("pull_opacity")]:`${I.current}`}:null,..."none"!==c.touchAction?{[f("controller_touch_action")]:c.touchAction}:null,...m.container},tabIndex:-1,...S},Z&&o.createElement(eS.Provider,{value:ex},e,null==(n=p.controls)?void 0:n.call(p)))});function ez(e){return m(u.mY,e)}function eT({slide:e,offset:t}){var n,r,l,i;let a,c=o.useRef(null),{currentIndex:s,slides:f}=q(),{slideRect:p,focus:b}=eF(),{render:E,carousel:{imageFit:w,imageProps:x},on:{click:M},styles:{slide:C},labels:k}=U(),{getOwnerDocument:N}=H(),R=0!==t;return o.useEffect(()=>{var e;R&&(null==(e=c.current)?void 0:e.contains(N().activeElement))&&b()},[R,b,N]),o.createElement("div",{ref:c,className:d(h(m(u.h0,void 0)),!R&&h(m(u.h0,"current")),h(u.tC)),...{inert:D?R:R?"":void 0},style:C,role:"group","aria-roledescription":v(k,"Slide"),"aria-label":g(k,f,s+t)},(!(a=null==(n=E.slide)?void 0:n.call(E,{slide:e,offset:t,rect:p}))&&y(e)&&(a=o.createElement(eP,{slide:e,offset:t,render:E,rect:p,imageFit:w,imageProps:x,onClick:R?void 0:()=>null==M?void 0:M({index:s})})),a?o.createElement(o.Fragment,null,null==(r=E.slideHeader)?void 0:r.call(E,{slide:e}),(null!=(l=E.slideContainer)?l:({children:e})=>e)({slide:e,children:a}),null==(i=E.slideFooter)?void 0:i.call(E,{slide:e})):null))}function e_(){let e=U().styles.slide;return o.createElement("div",{className:h(u.h0),style:e})}let eA=T(u.mY,function({carousel:e,labels:t}){let{slides:n,currentIndex:r,globalIndex:l}=q(),{setCarouselRef:i}=eF(),{autoPlaying:a,focusWithin:u}=W(),c=k(e.spacing),s=k(e.padding),m=F(e,n,1),p=[];if(P(n))for(let t=r-m;t<=r+m;t+=1){let i=$(n,t),a=l-r+t,o=e.finite&&(t<0||t>n.length-1);p.push(o?{key:a}:{key:[`${a}`,I(i)].filter(Boolean).join("|"),offset:t-r,slide:i})}return o.createElement("div",{ref:i,className:d(h(ez()),p.length>0&&h(ez("with_slides"))),style:{[`${f(ez("slides_count"))}`]:p.length,[`${f(ez("spacing_px"))}`]:c.pixel||0,[`${f(ez("spacing_percent"))}`]:c.percent||0,[`${f(ez("padding_px"))}`]:s.pixel||0,[`${f(ez("padding_percent"))}`]:s.percent||0},role:"region","aria-live":a&&!u?"off":"polite","aria-roledescription":v(t,"Carousel"),"aria-label":v(t,"Photo gallery")},p.map(({key:e,slide:t,offset:n})=>t?o.createElement(eT,{key:e,slide:t,offset:n}):o.createElement(e_,{key:e})))});function eO(){let{carousel:e}=U(),{slides:t,currentIndex:n}=q();return{prevDisabled:0===t.length||e.finite&&0===n,nextDisabled:0===t.length||e.finite&&n===t.length-1}}function eW(e){var t;let n=eM(),{publish:r}=X(),{animation:l}=U(),{prevDisabled:i,nextDisabled:a}=eO(),c=(null!=(t=l.navigation)?t:l.swipe)/2,s=ek(()=>r(u.zn),c),d=ek(()=>
1r(u.Nc),c),h=ew(e=>{switch(e.key){case u.or:r(u.C);break;case u.A9:(n?a:i)||(n?d:s)();break;case u.jn:(n?i:a)||(n?s:d)()}});o.useEffect(()=>e(u.uF,h),[e,h])}function eZ({label:e,icon:t,renderIcon:n,action:r,onClick:l,disabled:i,style:a}){return o.createElement(ea,{label:e,icon:t,renderIcon:n,className:h(`navigation_${r}`),disabled:i,onClick:l,style:a,...function(e,t=!1){let n=o.useRef(!1);return ep(()=>{t&&n.current&&(n.current=!1,e())},[t,e]),{onFocus:o.useCallback(()=>{n.current=!0},[]),onBlur:o.useCallback(()=>{n.current=!1},[])}}(eF().focus,i)})}let eK=T(u.Ky,function({render:{buttonPrev:e,buttonNext:t,iconPrev:n,iconNext:r},styles:l}){let{prev:i,next:a,subscribeSensors:c}=eF(),{prevDisabled:s,nextDisabled:d}=eO();return eW(c),o.createElement(o.Fragment,null,e?e():o.createElement(eZ,{label:"Previous",action:u.zn,icon:ed,renderIcon:n,style:l.navigationPrev,disabled:s,onClick:i}),t?t():o.createElement(eZ,{label:"Next",action:u.Nc,icon:eh,renderIcon:r,style:l.navigationNext,disabled:d,onClick:a}))}),eH=h(u.HR),eV=h(u.vg);function eY(e,t,n){let r=window.getComputedStyle(e),l=n?"padding-left":"padding-right",i=n?r.paddingLeft:r.paddingRight,a=e.style.getPropertyValue(l);return e.style.setProperty(l,`${(C(i)||0)+t}px`),()=>{a?e.style.setProperty(l,a):e.style.removeProperty(l)}}let eX=T(u.b6,function({noScroll:{disabled:e},children:t}){let n=eM(),{getOwnerDocument:r,getOwnerWindow:l}=H();return o.useEffect(()=>{if(e)return()=>{};let t=[],i=l(),{body:a,documentElement:o}=r(),u=Math.round(i.innerWidth-o.clientWidth);if(u>0){t.push(eY(a,u,n));let e=a.getElementsByTagName("*");for(let r=0;r<e.length;r+=1){let l=e[r];"style"in l&&"fixed"===i.getComputedStyle(l).getPropertyValue("position")&&!l.classList.contains(eV)&&t.push(eY(l,u,n))}}return a.classList.add(eH),()=>{a.classList.remove(eH),t.forEach(e=>e())}},[n,e,r,l]),o.createElement(o.Fragment,null,t)});function eB(e,t,n){let r=e.getAttribute(t);return e.setAttribute(t,n),()=>{r?e.setAttribute(t,r):e.removeAttribute(t)}}let eQ=T(u.kJ,function({children:e,animation:t,styles:n,className:r,on:l,portal:i,close:a,labels:s}){let[p,g]=o.useState(!1),[b,E]=o.useState(!1),w=o.useRef([]),x=o.useRef(null),{setTimeout:y}=el(),{subscribe:M}=X(),C=ev()?0:t.fade;o.useEffect(()=>(g(!0),()=>{g(!1),E(!1)}),[]);let k=ew(()=>{w.current.forEach(e=>e()),w.current=[]}),N=ew(()=>{var e;E(!1),k(),null==(e=l.exiting)||e.call(l),y(()=>{var e;null==(e=l.exited)||e.call(l),a()},C)});o.useEffect(()=>M(u.C,N),[M,N]);let R=ew(e=>{var t,n,r;e.scrollTop,E(!0),null==(t=l.entering)||t.call(l);let i=null!=(r=null==(n=e.parentNode)?void 0:n.children)?r:[];for(let t=0;t<i.length;t+=1){let n=i[t];-1===["TEMPLATE","SCRIPT","STYLE"].indexOf(n.tagName)&&n!==e&&(w.current.push(eB(n,"inert","")),w.current.push(eB(n,"aria-hidden","true")))}w.current.push(()=>{var e,t;null==(t=null==(e=x.current)?void 0:e.focus)||t.call(e)}),y(()=>{var e;null==(e=l.entered)||e.call(l)},C)}),P=o.useCallback(e=>{e?R(e):k()},[R,k]);return p?(0,c.createPortal)(o.createElement(e$,{ref:P,className:d(r,h(m(u.kJ,void 0)),h(u.vg),b&&h(m(u.kJ,"open"))),"aria-modal":!0,role:"dialog","aria-label":v(s,"Lightbox"),style:{...t.fade!==z.animation.fade?{[f("fade_animation_duration")]:`${C}ms`}:null,...t.easing.fade!==z.animation.easing.fade?{[f("fade_animation_timing_function")]:t.easing.fade}:null,...n.root},onFocus:e=>{x.current||(x.current=e.relatedTarget)}},e),i.root||document.body):null}),eU=T(u.OT,function({children:e}){return o.createElement(o.Fragment,null,e)}),ej=T(u.pq,function({toolbar:{buttons:e},render:{buttonClose:t,iconClose:n},styles:r}){let{close:l,setToolbarWidth:i}=eF(),{setContainerRef:a,containerRect:c}=eb();return ep(()=>{i(null==c?void 0:c.width)},[i,null==c?void 0:c.width]),o.createElement("div",{ref:a,style:r.toolbar,className:h(m(u.pq,void 0))},null==e?void 0:e.map(e=>e===u.C?t?t():o.createElement(ea,{key:u.C,label:"Close",icon:es,renderIcon:n,onClick:l}):e))});function eJ({carousel:e,animation:t,render:n,toolbar:r,controller:l,noScroll:i,on:a,plugins:c,slides:s,index:d,...h}){let{animation:f,carousel:m,render:p,toolbar:v,controller:g,noScroll:b,on:E,slides:w,index:x,plugins:y,...M}=z,{config:k,augmentation:N}=function(e,t=[],n=[]){let 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;
1(null==n?void 0:n.children)&&t.push(...n.children)}return!1},i=(e,t)=>{if(""===e){r=[_(t,r)];return}r=A(r,e,e=>[_(t,[e])])},a=(e,t)=>{r=A(r,e,e=>[_(e.module,[_(t,e.children)])])},o=(e,t,n)=>{r=A(r,e,e=>{var r;return[_(e.module,[...n?[_(t)]:[],...null!=(r=e.children)?r:[],...n?[]:[_(t)]])]})},c=(e,t,n)=>{r=A(r,e,e=>[...n?[_(t)]:[],e,...n?[]:[_(t)]])},s=e=>{a(u.Kv,e)},d=(e,t)=>{r=A(r,e,e=>[_(t,e.children)])},h=e=>{r=A(r,e,e=>e.children)},f=e=>{n.push(e)};return t.forEach(e=>{e({contains:l,addParent:i,append:a,addChild:o,addSibling:c,addModule:s,replace:d,remove:h,augment:f})}),{config:r,augmentation:e=>n.reduce((e,t)=>t(e),e)}}([_(eQ,[_(eX,[_(eD,[_(eA),_(ej),_(eK)])])])],c||y),R=N({animation:function(e,t={}){let{easing:n,...r}=e,{easing:l,...i}=t;return{easing:{...n,...l},...r,...i}}(f,t),carousel:{...m,...e},render:{...p,...n},toolbar:{...v,...r},controller:{...g,...l},noScroll:{...b,...i},on:{...E,...a},...M,...h});return R.open?o.createElement(j,{...R},o.createElement(en,{slides:s||w,index:C(d||x)},o.createElement(ei,null,o.createElement(B,null,o.createElement(Z,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.map(t=>e(t,n)))}(_(eU,k),R)))))):null}},19938:(e,t,n)=>{"use strict";n.d(t,{A9:()=>A,AH:()=>h,Bv:()=>v,C:()=>P,CC:()=>b,EC:()=>g,HR:()=>w,I1:()=>m,Kv:()=>l,Ky:()=>i,Nc:()=>N,OT:()=>u,P9:()=>p,QQ:()=>d,Qe:()=>s,Qo:()=>f,RK:()=>L,Td:()=>K,Ue:()=>C,Uj:()=>W,V:()=>V,b6:()=>a,e7:()=>H,h0:()=>y,j7:()=>T,jR:()=>Z,jn:()=>O,kJ:()=>o,mY:()=>r,or:()=>_,pc:()=>M,pq:()=>c,qq:()=>$,s:()=>F,sI:()=>R,t$:()=>z,tC:()=>E,tD:()=>S,tu:()=>I,uF:()=>D,vg:()=>x,zn:()=>k});let r="carousel",l="controller",i="navigation",a="no-scroll",o="portal",u="root",c="toolbar",s="fullscreen",d="thumbnails",h="zoom",f="loading",m="error",p="complete",v="placeholder",g=e=>`active-slide-${e}`;g(f),g("playing"),g(m),g(p);let b="fullsize",E="flex_center",w="no_scroll",x="no_scroll_padding",y="slide",M="slide_wrapper",C="slide_wrapper_interactive",k="prev",N="next",R="swipe",P="close",$="onPointerDown",L="onPointerMove",I="onPointerUp",S="onPointerLeave",F="onPointerCancel",D="onKeyDown",z="onKeyUp",T="onWheel",_="Escape",A="ArrowLeft",O="ArrowRight",W="button",Z="icon",K="contain",H="cover",V="Unknown action type"},28728:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(47451),l=n(1635),i=n(19938);let a={minZoom:1,maxZoomPixelRatio:1,zoomInMultiplier:2,doubleTapDelay:300,doubleClickDelay:500,doubleClickMaxStops:2,keyboardMoveDistance:50,wheelZoomDistanceFactor:100,pinchZoomDistanceFactor:100,pinchZoomV4:!1,scrollToZoom:!1};function o(e){let{minZoom:t,...n}={...a,...e};return{minZoom:Math.min(Math.max(t,Number.EPSILON),1),...n}}function u(){let{zoom:e}=(0,l.D$)();return o(e)}function c(e,t){return Math.hypot(e.clientX-t.clientX,e.clientY-t.clientY)}function s(e,t,n=100,r=2){return e*Math.min(1+Math.abs(t/n),r)**Math.sign(t)}let d=r.createContext(null),h=(0,l.Tz)("useZoom","ZoomControllerContext",d);function f({children:e}){let[t,n]=r.useState(),{slideRect:a}=(0,l.as)(),{ref:o,minZoom:h}=u(),{imageRect:m,maxZoom:p}=function(e,t){var n,r;let i={width:0,height:0},a={width:0,height:0},{currentSlide:o}=(0,l.mp)(),{imageFit:c}=(0,l.D$)().carousel,{maxZoomPixelRatio:s}=u();if(e&&o){let u={...o,...t};if((0,l.tx)(u)){let t=(0,l.QJ)(u,c),o=Math.max(...((null==(n=u.srcSet)?void 0:n.map(e=>e.width))||[]).concat(u.width?[u.width]:[])),d=Math.max(...((null==(r=u.srcSet)?void 0:r.map(e=>e.height))||[]).concat(u.height?[u.height]:[]));o>0&&d>0&&e.width>0&&e.height>0&&(a={width:(a=t?{width:Math.round(Math.min(o,e.width/e.height*d)),height:Math.round(Math.min(d,e.height/e.width*o))}:{width:o,height:d}).width*s,height:a.height*s},i=t?{width:Math.min(e.width,a.width,o),height:Math.min(e.height,a.height,d)}:{width:Math.round(Math.min(e.width,e.height/d*o,o)),height:Math.round(Math.min(e.height,e.width/o*d,d))})}}let d=i.width?Math.max((0,l.LI)(a.width/i.width,5),1):1;return{imageRect:i,maxZoom:d}}(a,null==t?void 0:t.imageDimensions),{zoom:v,offsetX:g,offsetY:b,disabled:E,changeZoom:w,changeOffsets:x,zoomIn:y,zoomOut:M}=function(e,t,n){let[i,a]=r.useState(1),[o,c]=r.useState(0),[s,d]=r.useState(0),h=function(e,t,n,i){let a=r.useRef(void 0),o=r.useRef(void 0),{zoom:u}=(0,l.D$)().animation,c=(0,l.iJ)(),s=(0,l.DK)(()=>{var r,l,s;if(null==(r=a.current)||r.cancel(),a.current=void 0,o.current&&(null==i?void 0:i.current)){try{a.current=null==(s=(l=i.current).animate)?void 0:s.call(l,[{transform:o.current},{transform:`scale(${e}) translateX(${t}px) translateY(${n}px)`}],{duration:c?0:null!=u?u:500,easing:a.current?"ease-out":"ease-in-out"})}catch(e){console.error(e)}o.current=void 0,a.current&&(a.current.onfinish=()=>{a.current=void 0})}});return(0,l.Nf)(s,[e,t,n,s]),r.useCallback(()=>{o.current=(null==i?void 0:i.current)?window.getComputedStyle(i.current).transform:void 0},[i])}(i,o,s,n),{currentSlide:f,globalIndex:m}=(0,l.mp)(),{containerRect:p,slideRect:v}=(0,l.as)(),{minZoom:g,zoomInMultiplier:b}=u(),E=f&&(0,l.tx)(f)?f.src:void 0,w=!E||!(null==n?void 0:n.current);(0,l.Nf)(()=>{a(1),c(0),d(0)},[m,E]);let x=r.useCallback((t,n,r)=>{let l=r||i,a=o-(t||0),u=s-(n||0),h=(e.width*l-v.width)/2/l,f=(e.height*l-v.height)/2/l;c(Math.min(Math.abs(a),Math.max(h,0))*Math.sign(a)),d(Math.min(Math.abs(u),Math.max(f,0))*Math.sign(u))},[i,o,s,v,e.width,e.height]),y=r.useCallback((e,n,r,o)=>{let u=(0,l.LI)(e+.01<t?e-.01>g?e:g:t,5);n||h(),x(r?r*(1/i-1/u):0,o?o*(1/i-1/u):0,u),a(u)},[i,g,t,x,h]),M=(0,l.DK)(()=>{i>1&&(i>t&&y(t,!0),x())});(0,l.Nf)(M,[p.width,p.height,M]);let C=r.useCallback(()=>{let e=i*b;y(i<1&&e>1?1:e)},[i,b,y]),k=r.useCallback(()=>{let e=i/b;y(i>1&&e<1?1:e)},[i,b,y]);return{zoom:i,offsetX:o,offsetY:s,disabled:w,changeOffsets:x,changeZoom:y,zoomIn:C,zoomOut:k}}(m,p,null==t?void 0:t.zoomWrapperRef);!function(e,t){let{on:n}=(0,l.D$)(),i=(0,l.DK)(()=>{var r;t||null==(r=n.zoom)||r.call(n,{zoom:e})});r.useEffect(i,[e,i])}(v,E),function(e,t,n,a,o,d,h,f,m){let p=r.useRef([]),v=r.useRef(0),g=r.useRef(void 0),{globalIndex:b}=(0,l.mp)(),{getOwnerWindow:E}=(0,l.uG)(),{containerRef:w,subscribeSensors:x}=(0,l.as)(),{keyboardMoveDistance:y,zoomInMultiplier:M,wheelZoomDistanceFactor:C,scrollToZoom:k,doubleTapDelay:N,doubleClickDelay:R,doubleClickMaxStops:P,pinchZoomDistanceFactor:$,pinchZoomV4:L}=u(),I=r.useCallback(e=>{if(w.current){let{pageX:t,pageY:n}=e,{scrollX:r,scrollY:l}=E(),{left:i,top:a,width:o,height:u}=w.current.getBoundingClientRect();return[t-i-r-o/2,n-a-l-u/2]}return[]},[w,E]),S=(0,l.DK)(t=>{let{key:n,metaKey:r,ctrlKey:l}=t,i=r||l,a=()=>{t.preventDefault(),t.stopPropagation()};if(e>1){let e=(e,t)=>
1{a(),f(e,t)};"ArrowDown"===n?e(0,y):"ArrowUp"===n?e(0,-y):"ArrowLeft"===n?e(-y,0):"ArrowRight"===n&&e(y,0)}"+"===n||i&&"="===n?(a(),o()):"-"===n||i&&"_"===n?(a(),d()):i&&"0"===n&&(a(),h(1))}),F=(0,l.DK)(t=>{if((t.ctrlKey||k)&&Math.abs(t.deltaY)>Math.abs(t.deltaX)){t.stopPropagation(),h(s(e,-t.deltaY,C),!0,...I(t));return}e>1&&(t.stopPropagation(),k||f(t.deltaX,t.deltaY))}),D=r.useCallback(e=>{let t=p.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),z=r.useCallback(e=>{D(e),e.persist(),p.current.push(e)},[D]),T=(0,l.DK)(r=>{var l;let i=p.current;if("mouse"===r.pointerType&&r.buttons>1||!(null==(l=null==m?void 0:m.current)?void 0:l.contains(r.target)))return;e>1&&r.stopPropagation();let{timeStamp:a}=r;if(0===i.length&&a-v.current<("touch"===r.pointerType?N:R)?(v.current=0,h(e>=1?e!==n?e*Math.max(n**(1/P),M):1:e!==t?e/Math.max(t**(-1/P),M):1,!1,...I(r))):v.current=a,z(r),2===i.length){let t=c(i[0],i[1]);g.current={previousDistance:t,initialDistance:Math.max(t,1),initialZoom:e}}}),_=(0,l.DK)(t=>{let n=p.current,r=n.find(e=>e.pointerId===t.pointerId);if(2===n.length&&g.current){t.stopPropagation(),z(t);let r=c(n[0],n[1]);h(L?g.current.initialZoom/g.current.initialDistance*r:s(e,r-g.current.previousDistance,$),!0,...n.map(e=>I(e)).reduce((e,t)=>t.map((t,n)=>e[n]+t/2))),g.current.previousDistance=r;return}e>1&&(t.stopPropagation(),r&&(1===n.length&&f((r.clientX-t.clientX)/e,(r.clientY-t.clientY)/e),z(t)))}),A=r.useCallback(e=>{let t=p.current;2===t.length&&t.find(t=>t.pointerId===e.pointerId)&&(g.current=void 0),D(e)},[D]),O=r.useCallback(()=>{let e=p.current;e.splice(0,e.length),v.current=0,g.current=void 0},[]);(0,l.yQ)(x,T,_,A,a),r.useEffect(O,[b,O]),r.useEffect(()=>a?()=>{}:(0,l.tP)(O,x(i.uF,S),x(i.j7,F)),[a,x,O,S,F])}(v,h,p,E,y,M,w,x,null==t?void 0:t.zoomWrapperRef);let C=r.useMemo(()=>({zoom:v,minZoom:h,maxZoom:p,offsetX:g,offsetY:b,disabled:E,zoomIn:y,zoomOut:M,changeZoom:w}),[v,h,p,g,b,E,y,M,w]);r.useImperativeHandle(o,()=>C,[C]);let k=r.useMemo(()=>({...C,setZoomWrapper:n}),[C,n]);return r.createElement(d.Provider,{value:k},e)}let m=(0,l.wt)("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"}))),p=(0,l.wt)("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"})),v=r.forwardRef(function({zoomIn:e,onLoseFocus:t},n){let i=r.useRef(!1),a=r.useRef(!1),{zoom:o,minZoom:u,maxZoom:c,zoomIn:s,zoomOut:d,disabled:f}=h(),{render:v}=(0,l.D$)(),g=f||(e?o>=c:o<=u);return r.useEffect(()=>{g&&i.current&&a.current&&t(),g||(i.current=!0)},[g,t]),r.createElement(l.K0,{ref:n,disabled:g,label:e?"Zoom in":"Zoom out",icon:e?m:p,renderIcon:e?v.iconZoomIn:v.iconZoomOut,onClick:e?s:d,onFocus:()=>{a.current=!0},onBlur:()=>{a.current=!1}})});function g(){let e=r.useRef(null),t=r.useRef(null),{focus:n}=(0,l.as)(),i=r.useCallback(e=>{var t,r;(null==(t=e.current)?void 0:t.disabled)?n():null==(r=e.current)||r.focus()},[n]),a=r.useCallback(()=>i(e),[i]),o=r.useCallback(()=>i(t),[i]);return r.createElement(r.Fragment,null,r.createElement(v,{zoomIn:!0,ref:e,onLoseFocus:o}),r.createElement(v,{ref:t,onLoseFocus:a}))}function b(){let{render:e}=(0,l.D$)(),t=h();
1return e.buttonZoom?r.createElement(r.Fragment,null,e.buttonZoom(t)):r.createElement(g,null)}function E({current:e,preload:t},{type:n,source:r}){switch(n){case"fetch":if(!e)return{current:r};return{current:e,preload:r};case"done":if(r===t)return{current:r};return{current:e,preload:t};default:throw Error(i.V)}}function w(e){var t,n;let[{current:i,preload:a},o]=r.useReducer(E,{}),{slide:u,rect:c,imageFit:s,render:d,interactive:h}=e,f=u.srcSet.sort((e,t)=>e.width-t.width),m=null!=(t=u.width)?t:f[f.length-1].width,p=null!=(n=u.height)?n:f[f.length-1].height,v=(0,l.QJ)(u,s),g=Math.max(...f.map(e=>e.width)),b=Math.min((v?Math.max:Math.min)(c.width,m*(c.height/p)),g),w=(0,l.Y5)(),x=(0,l.DK)(()=>{var e;let t=null!=(e=f.find(e=>e.width>=b*w))?e:f[f.length-1];(!i||f.findIndex(e=>e.src===i)<f.findIndex(e=>e===t))&&o({type:"fetch",source:t.src})});(0,l.Nf)(x,[c.width,c.height,w,x]);let y=(0,l.DK)(e=>o({type:"done",source:e})),M={WebkitTransform:h?"initial":"translateZ(0)"};return v||Object.assign(M,c.width/c.height<m/p?{width:"100%",height:"auto"}:{width:"auto",height:"100%"}),r.createElement(r.Fragment,null,a&&a!==i&&r.createElement(l.Z$,{key:"preload",...e,offset:void 0,slide:{...u,src:a,srcSet:void 0},style:{position:"absolute",visibility:"hidden",...M},onLoad:()=>y(a),render:{...d,iconLoading:()=>null,iconError:()=>null}}),i&&r.createElement(l.Z$,{key:"current",...e,slide:{...u,src:i,srcSet:void 0},style:M}))}function x({render:e,slide:t,offset:n,rect:a}){var o,u;let[c,s]=r.useState(),d=r.useRef(null),{zoom:f,maxZoom:m,offsetX:p,offsetY:v,setZoomWrapper:g}=h(),b=f>1,{carousel:E,on:y}=(0,l.D$)(),{currentIndex:M}=(0,l.mp)();(0,l.Nf)(()=>0===n?(g({zoomWrapperRef:d,imageDimensions:c}),()=>g(void 0)):()=>{},[n,c,g]);let C=null==(o=e.slide)?void 0:o.call(e,{slide:t,offset:n,rect:a,zoom:f,maxZoom:m});if(!C&&(0,l.tx)(t)){let i={slide:t,offset:n,rect:a,render:e,imageFit:E.imageFit,imageProps:E.imageProps,onClick:0===n?()=>{var e;return null==(e=y.click)?void 0:e.call(y,{index:M})}:void 0};C=((null==(u=t.srcSet)?void 0:u.length)||0)>0?r.createElement(w,{...i,slide:t,interactive:b,rect:0===n?{width:a.width*f,height:a.height*f}:a}):r.createElement(l.Z$,{onLoad:e=>s({width:e.naturalWidth,height:e.naturalHeight}),...i})}return C?r.createElement("div",{ref:d,className:(0,l.$z)((0,l.oF)(i.CC),(0,l.oF)(i.tC),(0,l.oF)(i.pc),b&&(0,l.oF)(i.Ue)),style:0===n?{transform:`scale(${f}) translateX(${p}px) translateY(${v}px)`}:void 0},C):null}let y=({augment:e,addModule:t})=>{e(({zoom:e,toolbar:t,render:n,controller:a,...u})=>{let c=o(e);return{zoom:c,toolbar:(0,l.bo)(t,i.AH,r.createElement(b,null)),render:{...n,slide:e=>{var t;return(0,l.tx)(e.slide)?r.createElement(x,{render:n,...e}):null==(t=n.slide)?void 0:t.call(n,e)}},controller:{...a,preventDefaultWheelY:c.scrollToZoom},...u}}),t((0,l.Fi)(i.AH,f))}},36978:(e,t,n)=>{"use strict";n.d(t,{A:()=>L});var r=n(47451),l=n(1635),i=n(19938);let a={ref:null,position:"bottom",width:120,height:80,border:1,borderRadius:4,padding:4,gap:16,imageFit:"contain",vignette:!0,hidden:!1,showToggle:!1},o=e=>({...a,...e});function u(){let{thumbnails:e}=(0,l.D$)();return o(e)}let c=e=>(0,l.f4)(i.QQ,e),s=e=>c((0,l.f4)("thumbnail",e)),d=(0,l.wt)("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"})),h=(0,l.wt)("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"})),f=(0,l.fh)("active"),m=(0,l.fh)("fadein"),p=(0,l.fh)("fadeout"),v=(0,l.fh)("placeholder"),g="delay",b="duration";function E({slide:e,index:t,onClick:n,fadeIn:a,fadeOut:o,placeholder:c,onLoseFocus:w}){let x=r.useRef(null),{render:y,styles:M,labels:C}=(0,l.D$)(),{slides:k,globalIndex:N}=(0,l.mp)(),{getOwnerDocument:R}=(0,l.uG)(),{width:P,height:$,imageFit:L}=u(),I=t===N,S=(0,l.DK)(w);return r.useEffect(()=>{o&&R().activeElement===x.current&&S()},[o,S,R]),r.createElement("button",{ref:x,type:"button",className:(0,l.$z)((0,l.oF)(i.tC),(0,l.oF)(s()),I&&(0,l.oF)(s(f())),a&&(0,l.oF)(s(m())),o&&(0,l.oF)(s(p())),c&&(0,l.oF)(s(v()))),style:{...a?{[(0,l.Vg)(s(m(b)))]:`${a.duration}ms`,[(0,l.Vg)(s(m(g)))]:`${a.delay}ms`}:null,...o?{[(0,l.Vg)(s(p(b)))]:`${o.duration}ms`,[(0,l.Vg)(s(p(g)))]:`${o.delay}ms`}:null,...M.thumbnail},onClick:n,"aria-current":!!I||void 0,"aria-label":(0,l.iF)(C,k,t)},e&&function({slide:e,render:t,rect:n,imageFit:a}){var o;let u=null==(o=t.thumbnail)?void 0:o.call(t,{slide:e,render:t,rect:n,imageFit:a});if(u)return u;let c={render:t,rect:n,imageFit:a};if(e.thumbnail)return r.createElement(l.Z$,{slide:{src:e.thumbnail},...c});if((0,l.tx)(e))return r.createElement(l.Z$,{slide:e,...c});let f=(0,l.oF)(s(i.jR));return"video"===e.type?r.createElement(r.Fragment,null,e.poster&&r.createElement(l.Z$,{slide:{src:e.poster},...c}),r.createElement(d,{className:f})):r.createElement(h,{className:f})}({slide:e,render:y,rect:{width:P,height:$},imageFit:L}))}function w(e){return["top","bottom"].includes(e)}function x(e,t){return t+2*(e.border+e.padding)+e.gap}function y({visible:e,containerRef:t}){let n=r.useRef(null),o=(0,l.x3)(),{publish:d,subscribe:h}=(0,l.LJ)(),{carousel:f,styles:m,labels:p}=(0,l.D$)(),{slides:v,globalIndex:g,animation:b}=(0,l.mp)(),{registerSensors:M,subscribeSensors:C}=(0,l.Yc)();(0,l.JZ)(C);let k=u(),{position:N,width:R,height:P,border:$,borderStyle:L,borderColor:I,borderRadius:S,padding:F,gap:D,vignette:z}=k,T=(null==b?void 0:b.duration)!==void 0&&(null==b?void 0:b.increment)||0,_=(null==b?void 0:b.duration)||0,{prepareAnimation:A}=(0,l.sM)(n,e=>({keyframes:w(N)?[{transform:`translateX(${(o?-1:1)*x(k,R)*T+e}px)`},{transform:"translateX(0)"}]:[{transform:`translateY(${x(k,P)*T+e}px)`},{transform:"translateY(0)"}],duration:_,easing:null==b?void 0:b.easing})),O=(0,l.DK)(()=>{let e=0;if(t.current&&n.current){let r=t.current.getBoundingClientRect(),l=n.current.getBoundingClientRect();e=w(N)?l.left-r.left-(r.width-l.width)/2:l.top-r.top-(r.height-l.height)/2}A(e)});r.useEffect(()=>(0,l.tP)(h(i.sI,O)),[h,O]);let W=(0,l.eS)(f,v),Z=[];
1if((0,l.DB)(v))for(let e=g-W-Math.abs(T);e<=g+W+Math.abs(T);e+=1){let t=f.finite&&(e<0||e>v.length-1)||T<0&&e<g-W||T>0&&e>g+W?null:(0,l.gZ)(v,e),n=[`${e}`,function(e){let{thumbnail:t,poster:n}=e||{thumbnail:"placeholder"};return"string"==typeof t&&t||"string"==typeof n&&n||e&&(0,l.Hw)(e)||void 0}(t)].filter(Boolean).join("|");Z.push({key:n,index:e,slide:t})}return r.createElement("div",{className:(0,l.$z)((0,l.oF)(c("container")),(0,l.oF)(i.tC)),style:{...!e?{display:"none"}:null,...R!==a.width?{[(0,l.Vg)(s("width"))]:`${R}px`}:null,...P!==a.height?{[(0,l.Vg)(s("height"))]:`${P}px`}:null,...$!==a.border?{[(0,l.Vg)(s("border"))]:`${$}px`}:null,...L?{[(0,l.Vg)(s("border_style"))]:L}:null,...I?{[(0,l.Vg)(s("border_color"))]:I}:null,...S!==a.borderRadius?{[(0,l.Vg)(s("border_radius"))]:`${S}px`}:null,...F!==a.padding?{[(0,l.Vg)(s("padding"))]:`${F}px`}:null,...D!==a.gap?{[(0,l.Vg)(s("gap"))]:`${D}px`}:null,...m.thumbnailsContainer}},r.createElement("nav",{ref:n,style:m.thumbnailsTrack,className:(0,l.$z)((0,l.oF)(c("track")),(0,l.oF)(i.tC)),"aria-label":(0,l.l6)(p,"Thumbnails"),tabIndex:-1,...M},Z.map(({key:e,index:t,slide:l})=>{let a=_/Math.abs(T||1),o=T>0&&t>g+W-T&&t<=g+W||T<0&&t<g-W-T&&t>=g-W?{duration:a,delay:((T>0?t-(g+W-T):g-W-T-t)-1)*a}:void 0,u=T>0&&t<g-W||T<0&&t>g+W?{duration:a,delay:(T>0?T-(g-W-t):-T-(t-(g+W)))*a}:void 0;return r.createElement(E,{key:e,index:t,slide:l,fadeIn:o,fadeOut:u,placeholder:!l,onClick:()=>{t>g?d(i.Nc,{count:t-g}):t<g&&d(i.zn,{count:g-t})},onLoseFocus:()=>{var e;return null==(e=n.current)?void 0:e.focus()}})})),z&&r.createElement("div",{className:(0,l.oF)(c("vignette"))}))}let M=r.createContext(null),C=(0,l.Tz)("useThumbnails","ThumbnailsContext",M);function k({children:e,...t}){let{ref:n,position:i,hidden:a}=o(t.thumbnails),[u,s]=r.useState(!a),d=r.useRef(null),h=r.useMemo(()=>({visible:u,show:()=>s(!0),hide:()=>s(!1)}),[u]);return r.useImperativeHandle(n,()=>h,[h]),r.createElement(l.RT,{...t},r.createElement(M.Provider,{value:h},r.createElement("div",{ref:d,className:(0,l.$z)((0,l.oF)(c()),(0,l.oF)(c(`${i}`)))},["start","top"].includes(i)&&r.createElement(y,{containerRef:d,visible:u}),r.createElement("div",{className:(0,l.oF)(c("wrapper"))},e),["end","bottom"].includes(i)&&r.createElement(y,{containerRef:d,visible:u}))))}let N=()=>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"})),R=(0,l.wt)("ThumbnailsVisible",N()),P=(0,l.Q5)("ThumbnailsHidden",N());function $(){let{visible:e,show:t,hide:n}=C(),{render:i}=(0,l.D$)();return i.buttonThumbnails?r.createElement(r.Fragment,null,i.buttonThumbnails({visible:e,show:t,hide:n})):r.createElement(l.K0,{label:e?"Hide thumbnails":"Show thumbnails",
1icon:e?R:P,renderIcon:e?i.iconThumbnailsVisible:i.iconThumbnailsHidden,onClick:e?n:t})}function L({augment:e,contains:t,append:n,addParent:a}){e(({thumbnails:e,toolbar:t,...n})=>{let a=o(e);return{toolbar:(0,l.bo)(t,i.QQ,a.showToggle?r.createElement($,null):null),thumbnails:a,...n}});let u=(0,l.Fi)(i.QQ,k);t(i.Qe)?n(i.Qe,u):a(i.Kv,u)}},59844:()=>{},59910:()=>{},71680:()=>{}}]);
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.