PageSourceSearch

https://fmclokoja.gov.ng/_next/static/chunks/9682-601981d0420a08e7.js

js fmclokoja.gov.ng collected 2026-10-03 18:51:35 UTC 37,325 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9682],{781:function(){},1163:function(e,t,n){e.exports=n(9898)},8645:function(e,t,n){"use strict";n.d(t,{h:function(){return l}});var r=n(7294),o=n(5746),i=n(6869),c=n(7678);const l=r.forwardRef((({label:e,className:t,icon:n,renderIcon:l,onClick:u,style:a,...s},d)=>{const{styles:h}=(0,i.bc)().getLightboxProps();return r.createElement("button",{ref:d,type:"button","aria-label":e,className:(0,o.Wy)((0,o.Nc)(c.bg),t),onClick:u,style:{...a,...h.button},...s},l?l():r.createElement(n,{className:(0,o.Nc)(c.vg),style:h.icon}))}));l.displayName="IconButton"},6668:function(e,t,n){"use strict";n.d(t,{Ho:function(){return u},IU:function(){return o},Ne:function(){return l},Pz:function(){return a},Tw:function(){return i},jJ:function(){return c}});var r=n(7294);const o=(e,t)=>{const n=e=>r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false",...e},r.createElement("g",{fill:"currentColor"},r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t));return n.displayName=e,n},i=o("Close",r.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"})),c=o("Previous",r.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),l=o("Next",r.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),u=o("Loading",r.createElement(r.Fragment,null,Array.from({length:8}).map(((e,t,n)=>r.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)`}))))),a=o("Error",r.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"}))},8733:function(e,t,n){"use strict";n.d(t,{P:function(){return h}});var r=n(7294),o=n(5746),i=n(3744),c=n(1390),l=n(4623),u=n(6668),a=n(7678);const s=(0,o.cO)("slide"),d=(0,o.cO)("slide_image"),h=({slide:e,offset:t,render:n,rect:h,imageFit:f,onClick:m,onLoad:v,style:p})=>{var g,b,E,w,y,M,x;const[N,S]=r.useState(a.Xe),{publish:k}=(0,c.h)(),{setTimeout:C}=(0,l.a)(),I=r.useRef(null);r.useEffect((()=>{0===t&&k((0,a.J1)(N))}),[t,N,k]);const R=(0,i.$)((e=>{N!==a.Zv&&("decode"in e?e.decode():Promise.resolve()).catch((()=>{})).then((()=>{e.parentNode&&(S(a.Zv),C((()=>{null===v||void 0===v||v(e)}),0))}))})),$=r.useCallback((e=>{I.current=e,(null===e||void 0===e?void 0:e.complete)&&R(e)}),[R]),P=r.useCallback((e=>{R(e.currentTarget)}),[R]),L=r.useCallback((()=>{S(a.fS)}),[]),F=e.imageFit===a.rO||e.imageFit!==a.j3&&f===a.rO,Z=(e,t)=>Number.isFinite(e)?e:t,O=Z(Math.max(...(null!==(b=null===(g=e.srcSet)||void 0===g?void 0:g.map((e=>e.width)))&&void 0!==b?b:[]).concat(e.width?[e.width]:[])),(null===(E=I.current)||void 0===E?void 0:E.naturalWidth)||0),T=Z(Math.max(...(null!==(y=null===(w=e.srcSet)||void 0===w?void 0:w.map((e=>e.height)))&&void 0!==y?y:[]).concat(e.height?[e.height]:[])),(null===(M=I.current)||void 0===M?void 0:M.naturalHeight)||0),z=O&&T?{maxWidth:`min(${O}px, 100%)`,maxHeight:`min(${T}px, 100%)`}:{maxWidth:"100%",maxHeight:"100%"},A=null===(x=e.srcSet)||void 0===x?void 0:x.sort(((e,t)=>e.width-t.width)).map((e=>`${e.src}
1 ${e.width}w`)).join(", "),X=A&&h&&(0,o.Ym)()?`${Math.round(Math.min(h&&!F&&e.width&&e.height?h.height/e.height*e.width:Number.MAX_VALUE,h.width))}px`:void 0;return r.createElement(r.Fragment,null,r.createElement("img",{ref:$,onLoad:P,onError:L,onClick:m,className:(0,o.Wy)((0,o.Nc)(d()),F&&(0,o.Nc)(d("cover")),N!==a.Zv&&(0,o.Nc)(d("loading"))),draggable:!1,alt:e.alt,style:{...z,...p},sizes:X,srcSet:A,src:e.src}),N!==a.Zv&&r.createElement("div",{className:(0,o.Nc)(s(a.$L))},N===a.Xe&&((null===n||void 0===n?void 0:n.iconLoading)?n.iconLoading():r.createElement(u.Ho,{className:(0,o.Wy)((0,o.Nc)(a.vg),(0,o.Nc)(s(a.Xe)))})),N===a.fS&&((null===n||void 0===n?void 0:n.iconError)?n.iconError():r.createElement(u.Pz,{className:(0,o.Wy)((0,o.Nc)(a.vg),(0,o.Nc)(s(a.fS)))}))))}},6615:function(e,t,n){"use strict";n.d(t,{AB:function(){return l},dS:function(){return o},l6:function(){return r}});const r=(e,t)=>({name:e,component:t}),o=(e,t)=>({module:e,children:t}),i=(e,t,n)=>e.module.name===t?n(e):e.children?[o(e.module,e.children.flatMap((e=>{var r;return null!==(r=i(e,t,n))&&void 0!==r?r:[]})))]:[e],c=(e,t,n)=>e.flatMap((e=>{var r;return null!==(r=i(e,t,n))&&void 0!==r?r:[]})),l=(e,t=[],n=[])=>{let r=e;const i=e=>{const t=[...r];for(;t.length>0;){const n=t.pop();if((null===n||void 0===n?void 0:n.module.name)===e)return!0;(null===n||void 0===n?void 0:n.children)&&t.push(...n.children)}return!1},l=(e,t)=>
1{r=""!==e?c(r,e,(e=>[o(t,[e])])):[o(t,r)]},u=(e,t)=>{r=c(r,e,(e=>[o(e.module,[o(t,e.children)])]))},a=(e,t,n)=>{r=c(r,e,(e=>{var r;return[o(e.module,[...n?[o(t)]:[],...null!==(r=e.children)&&void 0!==r?r:[],...n?[]:[o(t)]])]}))},s=(e,t,n)=>{r=c(r,e,(e=>[...n?[o(t)]:[],e,...n?[]:[o(t)]]))},d=(e,t)=>{r=c(r,e,(e=>[o(t,e.children)]))},h=e=>{r=c(r,e,(e=>e.children))},f=e=>{n.push(e)};return t.forEach((e=>{e({contains:i,addParent:l,append:u,addChild:a,addSibling:s,replace:d,remove:h,augment:f})})),{config:r,augmentation:e=>n.reduce(((e,t)=>t(e)),e)}}},7678:function(e,t,n){"use strict";n.d(t,{$L:function(){return v},Bm:function(){return F},Eb:function(){return N},HE:function(){return l},J1:function(){return p},JT:function(){return s},KN:function(){return x},M9:function(){return M},N4:function(){return I},NH:function(){return z},NZ:function(){return C},Op:function(){return c},PU:function(){return O},S2:function(){return R},SA:function(){return u},Sl:function(){return T},Tf:function(){return y},Tn:function(){return S},Vt:function(){return P},Xe:function(){return h},Zv:function(){return m},aN:function(){return w},bg:function(){return A},cq:function(){return b},ds:function(){return L},fS:function(){return f},hb:function(){return a},i4:function(){return i},j3:function(){return W},k0:function(){return r},l4:function(){return o},n2:function(){return g},pE:function(){return $},rO:function(){return _},t9:function(){return k},vg:function(){return X},xc:function(){return d},yS:function(){return E},yq:function(){return Z}});const r="carousel",o="controller",i="core",c="navigation",l="no-scroll",u="portal",a="toolbar",s="captions",d="zoom",h="loading",f="error",m="complete",v="placeholder",p=e=>`active-slide-${e}`,g=(p(h),p("playing"),p(f),p(m),"backdrop_click"),b="toolbar-width",E="fullsize",w="flex_center",y="no_scroll",M="no_scroll_padding",x="prev",N="next",S="swipe",k="close",C="onPointerDown",I="onPointerMove",R="onPointerUp",$="onPointerLeave",P="onPointerCancel",L="onKeyDown",F="onKeyUp",Z="onWheel",O="Escape",T="ArrowLeft",z="ArrowRight",A="button",X="icon",W="contain",_="cover"},1390:function(e,t,n){"use strict";n.d(t,{Y:function(){return l},h:function(){return c}});var r=n(7294),o=n(5746);const i=r.createContext(null),c=(0,o.Fy)("useEvents","EventsContext",i),l=({children:e})=>{const[t]=r.useState({});r.useEffect((()=>()=>{Object.keys(t).forEach((e=>delete t[e]))}),[t]);const n=r.useMemo((()=>{const e=(e,n)=>{var r;null===(r=t[e])||void 0===r||r.splice(0,t[e].length,...t[e].filter((e=>e!==n)))};return{publish:(e,n)=>{var r;null===(r=t[e])||void 0===r||r.forEach((e=>e(n)))},subscribe:(n,r)=>(t[n]||(t[n]=[]),t[n].push(r),()=>e(n,r)),unsubscribe:e}}),[t]);return r.createElement(i.Provider,{value:n},e)}},2986:function(e,t,n){"use strict";n.d(t,{o:function(){return c},q:function(){return l}});var r=n(7294),o=n(5746);const i=r.createContext(null),c=(0,o.Fy)("useLightboxState","LightboxStateContext",i),l=({initialIndex:e,slidesCount:t,children:n})=>{const c=r.useMemo((()=>(e=>(t,n)=>{const r=(null===n||void 0===n?void 0:n.increment)||0,i=t.globalIndex+r;return{globalIndex:i,currentIndex:(0,o.Wf)(i,e),animation:n,animationDuration:(null===n||void 0===n?void 0:n.duration)||0}})(t)),[t]),[l,u]=r.useReducer(c,{currentIndex:e,globalIndex:e,animationDuration:0}),a=r.useMemo((()=>({state:l,dispatch:u})),[l,u]);return r.createElement(i.Provider,{value:a},n)}},4623:function(e,t,n){"use strict";n.d(t,{a:function(){return c},q:function(){return l}});var r=n(7294),o=n(5746);const i=r.createContext(null),c=(0,o.Fy)("useTimeouts","TimeoutsContext",i),l=({children:e})=>{const[t]=r.useState([]);r.useEffect((()=>()=>{t.forEach((e=>window.clearTimeout(e))),t.splice(0,t.length)}),[t]);const n=r.useMemo((()=>{const e=e=>{t.splice(0,t.length,...t.filter((t=>t!==e)))};return{setTimeout:(n,r)=>{const o=window.setTimeout((()=>{e(o),n()}),r);return t.push(o),o},clearTimeout:t=>{(0,o.$K)(t)&&(e(t),window.clearTimeout(t))}}}),[t]);return r.createElement(i.Provider,{value:n},e)}},4490:function(e,t,n){"use strict";n.d(t,{u:function(){return o}});var r=n(7294);const o=()=>{const[e,t]=r.useState(),n=r.useRef(null),o=r.useRef(),i=r.useCallback((e=>{n.current=e,o.current&&(o.current.disconnect(),o.current=void 0);const r=()=>{if(e){const n=window.getComputedStyle(e),r=e=>parseFloat(e)||0;t({width:Math.round(e.clientWidth-r(n.paddingLeft)-r(n.paddingRight)),height:Math.round(e.clientHeight-r(n.paddingTop)-r(n.paddingBottom))})}else t(void 0)};
1r(),e&&"undefined"!==typeof ResizeObserver&&(o.current=new ResizeObserver(r),o.current.observe(e))}),[]);return r.useMemo((()=>({setContainerRef:i,containerRef:n,containerRect:e})),[i,n,e])}},2725:function(e,t,n){"use strict";n.d(t,{g:function(){return i}});var r=n(7294),o=n(4623);const i=()=>{const e=r.useRef(),{setTimeout:t,clearTimeout:n}=(0,o.a)();return r.useCallback(((r,o)=>{n(e.current),e.current=t(r,o>0?o:0)}),[t,n])}},3744:function(e,t,n){"use strict";n.d(t,{$:function(){return i}});var r=n(7294),o=n(6269);const i=e=>{const t=r.useRef(e);return(0,o.b)((()=>{t.current=e})),r.useCallback(((...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)}),[])}},6269:function(e,t,n){"use strict";n.d(t,{b:function(){return o}});var r=n(7294);const o=(0,n(5746).Ym)()?r.useLayoutEffect:r.useEffect},6404:function(e,t,n){"use strict";n.d(t,{O:function(){return o}});var r=n(7294);const o=()=>{const[e,t]=r.useState(!1);return r.useEffect((()=>{var e,n;const r=null===(e=window.matchMedia)||void 0===e?void 0:e.call(window,"(prefers-reduced-motion: reduce)");t(null===r||void 0===r?void 0:r.matches);const o=e=>t(e.matches);return null===(n=null===r||void 0===r?void 0:r.addEventListener)||void 0===n||n.call(r,"change",o),()=>{var e;return null===(e=null===r||void 0===r?void 0:r.removeEventListener)||void 0===e?void 0:e.call(r,"change",o)}}),[]),e}},1969:function(e,t,n){"use strict";n.d(t,{S:function(){return i}});var r=n(7294),o=n(6269);const i=()=>{const[e,t]=r.useState(!1);return(0,o.b)((()=>{t("rtl"===window.getComputedStyle(window.document.documentElement).direction)}),[]),e}},6869:function(e,t,n){"use strict";n.d(t,{un:function(){return S},bc:function(){return N}});var r=n(7294),o=n(6615),i=n(5746),c=n(7678);var l=n(2725),u=n(4490);const a=(e,t)=>{"function"===typeof e?e(t):e&&(e.current=t)},s=(e,t)=>r.useMemo((()=>null==e&&null==t?null:n=>{a(e,n),a(t,n)}),[e,t]);var d=n(1969),h=n(6269),f=n(6404);const m=(e,t)=>{const n=r.useRef(),o=r.useRef(),i=(0,f.O)();return(0,h.b)((()=>{var r,c,l;if(e.current&&void 0!==n.current&&!i){const{keyframes:i,duration:u,onfinish:a}=t(n.current,e.current.getBoundingClientRect(),(e=>{let t=0,n=0,r=0;const o=window.getComputedStyle(e).transform.match(/matrix.*\((.+)\)/);if(o){const e=o[1].split(",").map((e=>Number.parseInt(e,10)));6===e.length?(t=e[4],n=e[5]):16===e.length&&(t=e[12],n=e[13],r=e[14])}return{x:t,y:n,z:r}})(e.current))||{};i&&u&&(null===(r=o.current)||void 0===r||r.cancel(),o.current=null===(l=(c=e.current).animate)||void 0===l?void 0:l.call(c,i,u),o.current&&(o.current.onfinish=()=>{o.current=void 0,null===a||void 0===a||a()}))}n.current=void 0})),e=>{n.current=e}};var v,p=n(3744),g=n(2986),b=n(1390);!function(e){e[e.NONE=0]="NONE",e[e.SWIPE=1]="SWIPE",e[e.ANIMATION=2]="ANIMATION"}(v||(v={}));const E="wheel",w=e=>{(Math.abs(e.deltaX)>Math.abs(e.deltaY)||e.ctrlKey)&&e.preventDefault()};var y=n(4623);const M=(0,i.cO)("container"),x=r.createContext(null),N=(0,i.Fy)("useController","ControllerContext",x),S=(0,o.l6)(c.l4,(({children:e,...t})=>{const{carousel:n,slides:o,animation:a,controller:h,on:f,styles:N}=t,{state:S,dispatch:k}=(0,g.o)(),[C,I]=r.useState(v.NONE),R=r.useRef(0),{registerSensors:$,subscribeSensors:P}=(()=>{const[e]=r.useState({});return r.useMemo((()=>{const t=(t,n)=>{var r;null===(r=e[t])||void 0===r||r.forEach((e=>{n.isPropagationStopped()||e(n)}))};return{registerSensors:{onPointerDown:e=>t(c.NZ,e),onPointerMove:e=>t(c.N4,e),onPointerUp:e=>t(c.S2,e),onPointerLeave:e=>t(c.pE,e),onPointerCancel:e=>t(c.Vt,e),onKeyDown:e=>t(c.ds,e),onKeyUp:e=>t(c.Bm,e),onWheel:e=>t(c.yq,e)},subscribeSensors:(t,n)=>(e[t]||(e[t]=[]),e[t].unshift(n),()=>{const r=e[t];r&&r.splice(0,r.length,...r.filter((e=>e!==n)))})}}),[e])})(),{subscribe:L,publish:F}=(0,b.h)(),Z=(0,l.g)(),O=(0,l.g)(),{containerRef:T,setContainerRef:z,containerRect:A}=(0,u.u)(),X=s((()=>{const e=r.useRef(null);return r.useCallback((t=>{var n;t?t.addEventListener(E,w,{passive:!1}):null===(n=e.current)||void 0===n||n.removeEventListener(E,w),e.current=t}),[])})(),z),W=r.useRef(null),_=s(W,void 0),B=(0,d.S)(),D=e=>(B?-1:1)*((0,i.hj)(e)?e:1),Y=e=>!(n.finite&&(D(e)>0&&0===S.currentIndex||D(e)<0&&S.currentIndex===o.length-1)),H=e=>{var t;R.current=e,null===(t=T.current)||void 0===t||t.style.setProperty((0,i.gJ)("swipe_offset"),`${Math.round(e)}px`)},K=m(W,((e,t,r)=>{var o;if(W.current&&A&&(null===(o=S.animation)||void 0===o?void 0:o.duration)){const o=(0,i.Ay)(n.spacing),c=(o.percent?o.percent*A.width/100:o.pixel)||0;return{keyframes:[{transform:`translateX(${D(S.globalIndex-e.index)*(A.width+c)+e.rect.x-t.x+r.x}px)`},{transform:"translateX(0)"}],duration:S.animation.duration}}})),J=(0,p.$)((e=>{var t;const n=a.swipe,r=e.offset||0;let{direction:o}=e;const i=null!==(t=e.count)&&void 0!==t?t:1;let l=v.ANIMATION,u=n*i;if(!o){const t=null===A||void 0===A?void 0:A.width,l=e.duration||0,a=t?n/t*Math.abs(r):n;0!==i?l<a?u=u/a*Math.max(l,a/5):t&&(u=n/t*(t-Math.abs(r))):u=n/2,0!==i&&(o=D(r)>0?c.KN:c.Eb)}let s=0;o===c.KN?Y(D(1))?s=-i:(l=v.NONE,u=n):o===c.Eb&&(Y(D(-1))?s=i:(l=v.NONE,u=n)),u=Math.round(u),O((()=>{H(0),I(v.NONE)}),u),W.current&&K({rect:W.current.getBoundingClientRect(),index:S.globalIndex}),I(l),F(c.Tn,{increment:s,duration:u})}));r.useEffect((()=>{var e,t;(null===(e=S.animation)||void 0===e?void 0:e.increment)&&(null===(t=S.animation)||void 0===t?void 0:t.duration)&&Z((()=>k({increment:0})),S.animation.duration)}),[S.animation,k,Z]);const q=[P,Y,(null===A||void 0===A?void 0:A.width)||0,a.swipe,()=>I(v.SWIPE),e=>H(e),(e,t)=>J({offset:e,duration:t,count:1}),e=>J({offset:e,count:0})];((e,t,n,o,l,u,a,s)=>{const d=r.useRef(0),h=r.useRef([]),f=r.useRef(),m=r.useRef(0),v=r.useCallback((e=>{f.current===e.pointerId&&(f.current=void 0);const t=h.current;t.splice(0,t.length,...t.filter((t=>t.pointerId!==e.pointerId)))}),[]),g=r.useCallback((e=>{v(e),e.persist(),h.current.push(e)}),[v]),b=(0,p.$)((e=>{g(e)})),E=(0,p.$)((e=>{if(h.current.find((t=>t.pointerId===e.pointerId))&&f.current===e.pointerId){const e=Date.now()-m.current,t=d.current;Math.abs(t)>.3*n||Math.abs(t)>5&&e<o?a(t,e):s(t),d.current=0}v(e)})),w=(0,p.$)((e=>{const n=h.current.find((t=>t.pointerId===e.pointerId));if(n){const r=f.current===e.pointerId;if(0===e.buttons)return void(r&&0!==d.current?E(e):v(n));const o=e.clientX-n.clientX,i=e.clientY-n.clientY;void 0===f.current&&t(o)&&Math.abs(o)>Math.abs(i)&&Math.abs(o)>30?(g(e),f.current=e.pointerId,m.current=Date.now(),l()):r&&(d.current=o,u(o))}}));r.useEffect((()=>(0,i.Eq)(e(c.NZ,b),e(c.N4,w),e(c.S2,E),e(c.pE,E),e(c.Vt,E))),[e,b,w,E])})(...q),((e,t,n,o,i,l,u,a,s)=>{const d=r.useRef(0),h=r.useRef(0),f=r.useRef(),m=r.useRef(),g=r.useRef(0),b=r.useRef(0),{setTimeout:E,clearTimeout:w}=(0,y.a)(),M=r.useCallback((()=>{f.current&&(w(f.current),f.current=void 0)}),[w]),x=r.useCallback((()=>{m.current&&(w(m.current),m.current=void 0)}),[w]),N=(0,p.$)((()=>{e!==v.SWIPE&&(d.current=0,b.current=0,M(),x())}));r.useEffect(N,[e,N]);const S=(0,p.$)((e=>{m.current=void 0,d.current===e&&s(d.current)})),k=(0,p.$)((t=>{if(!t.ctrlKey&&!(Math.abs(t.deltaY)>Math.abs(t.deltaX)))if(e)if(e===v.SWIPE){let e=d.current-t.deltaX;if(e=Math.min(Math.abs(e),o)*Math.sign(e),d.current=e,u(e),x(),Math.abs(e)>.2*o)return g.current=t.deltaX,void a(e,Date.now()-b.current);m.current=E((()=>S(e)),2*i)}else g.current=t.deltaX;else{if(Math.abs(t.deltaX)<=1.2*Math.abs(g.current))return void(g.current=t.deltaX);if(!n(-t.deltaX))return;if(h.current+=t.deltaX,M(),Math.abs(h.current)>30)h.current=0,g.current=0,b.current=Date.now(),l();else{const e=h.current;f.current=E((()=>{f.current=void 0,e===h.current&&(h.current=0)}),i)}}}));r.useEffect((()=>t(c.yq,k)),[t,k])})(C,...q);const j=(0,p.$)((()=>{var e;h.focus&&(null===(e=T.current)||void 0===e||e.focus())}));r.useEffect(j,[j]);const U=(0,p.$)((()=>{var e;null===(e=f.view)||void 0===e||e.call(f,S.currentIndex)}));r.useEffect(U,[S.currentIndex,U]),r.useEffect((()=>(0,i.Eq)(L(c.KN,(e=>J({direction:c.KN,count:e}))),L(c.Eb,(e=>J({direction:c.Eb,count:e}))),L(c.Tn,(e=>k(e))))),[L,J,k]),r.useEffect((()=>P(c.Bm,(e=>{e.code===c.PU&&F(c.t9)}))),[P,F]),r.useEffect((()=>h.closeOnBackdropClick?L(c.n2,(()=>F(c.t9))):()=>{}),[h.closeOnBackdropClick,F,L]);const V=(0,p.$)((()=>{var e;return null===(e=T.current)||void 0===e?void 0:e.focus()})),Q=(0,p.$)((()=>t)),G=r.useMemo((()=>({getLightboxProps:Q,subscribeSensors:P,transferFocus:V,containerRect:A||{width:0,height:0},containerRef:T,setCarouselRef:_})),[Q,P,V,A,T,_]);return r.createElement("div",{ref:X,className:(0,i.Wy)((0,i.Nc)(M()),(0,i.Nc)(c.aN)),style:{...C===v.SWIPE?{[(0,i.gJ)("swipe_offset")]:`${Math.round(R.current)}px`}
1:null,..."none"!==h.touchAction?{[(0,i.gJ)("controller_touch_action")]:h.touchAction}:null,...N.container},...h.aria?{role:"presentation","aria-live":"polite"}:null,tabIndex:-1,...$},A&&r.createElement(x.Provider,{value:G},e))}))},5746:function(e,t,n){"use strict";n.d(t,{$K:function(){return f},Ay:function(){return g},Eq:function(){return s},Fy:function(){return d},KL:function(){return b},NM:function(){return v},Nc:function(){return i},PS:function(){return a},QB:function(){return p},Wf:function(){return E},Wy:function(){return o},Xl:function(){return l},Ym:function(){return h},cO:function(){return u},gJ:function(){return c},hj:function(){return m}});var r=n(7294);const o=(...e)=>[...e].filter((e=>Boolean(e))).join(" "),i=e=>`yarl__${e}`,c=e=>`--yarl__${e}`,l=(e,t)=>`${e}${t?`_${t}`:""}`,u=e=>t=>l(e,t),a=(e,t)=>e&&e[t]?e[t]:t,s=(...e)=>()=>{e.forEach((e=>{e()}))},d=(e,t,n)=>()=>{const o=r.useContext(n);if(!o)throw new Error(`${e} must be used within a ${t}.Provider`);return o},h=()=>"undefined"!==typeof window,f=e=>"undefined"!==typeof e,m=e=>"number"===typeof e,v=(e,t=0)=>{const n=10**t;return Math.round((e+Number.EPSILON)*n)/n},p=e=>!f(e.type)||"image"===e.type,g=e=>{if("number"===typeof e)return{pixel:e};if("string"===typeof e){const t=parseInt(e,10);return e.endsWith("%")?{percent:t}:{pixel:t}}return{pixel:0}},b=()=>("undefined"!==typeof window?null===window||void 0===window?void 0:window.devicePixelRatio:void 0)||1,E=(e,t)=>(e%t+t)%t},7391:function(e,t,n){"use strict";n.d(t,{Z:function(){return B}});var r=n(7294),o=n(7678);const i={open:!1,close:()=>{},index:0,slides:[],render:{},plugins:[],toolbar:{buttons:[o.t9]},labels:{},animation:{fade:330,swipe:500},carousel:{finite:!1,preload:2,padding:"16px",spacing:"30%",imageFit:o.j3},controller:{focus:!0,aria:!1,touchAction:"none",closeOnBackdropClick:!1},on:{},styles:{},className:""};var c=n(6615),l=n(3935),u=n(5746),a=n(6404),s=n(3744),d=n(4623),h=n(1390);const f=e=>(0,u.Xl)(o.SA,e),m=(e,t,n)=>{const r=e.getAttribute(t);return e.setAttribute(t,n),()=>{r?e.setAttribute(t,r):e.removeAttribute(t)}},v=(0,c.l6)(o.SA,(({children:e,animation:t,styles:n,className:c,on:v,close:p})=>{const[g,b]=r.useState(!1),[E,w]=r.useState(!1),y=r.useRef([]),{setTimeout:M}=(0,d.a)(),{subscribe:x}=(0,h.h)(),N=(0,a.O)()?0:t.fade;r.useEffect((()=>(b(!0),()=>{b(!1),w(!1)})),[]);const S=(0,s.$)((()=>{var e;w(!1),null===(e=v.exiting)||void 0===e||e.call(v),M((()=>{var e;null===(e=v.exited)||void 0===e||e.call(v),p()}),N)}));r.useEffect((()=>x(o.t9,S)),[x,S]);const k=(0,s.$)((e=>{var t,n,r;e.scrollTop,w(!0),null===(t=v.entering)||void 0===t||t.call(v);const o=null!==(r=null===(n=e.parentNode)||void 0===n?void 0:n.children)&&void 0!==r?r:[];for(let i=0;i<o.length;i+=1){const t=o[i];-1===["TEMPLATE","SCRIPT","STYLE"].indexOf(t.tagName)&&t!==e&&(y.current.push(m(t,"inert","true")),y.current.push(m(t,"aria-hidden","true")))}M((()=>{var e;null===(e=v.entered)||void 0===e||e.call(v)}),N)})),C=(0,s.$)((()=>{y.current.forEach((e=>e())),y.current=[]})),I=r.useCallback((e=>{e?k(e):C()}),[k,C]);return g?l.createPortal(r.createElement("div",{ref:I,className:(0,u.Wy)(c,(0,u.Nc)("root"),(0,u.Nc)(f()),(0,u.Nc)(o.M9),E&&(0,u.Nc)(f("open"))),role:"presentation","aria-live":"polite",style:{...t.fade!==i.animation.fade?{[(0,u.gJ)("fade_animation_duration")]:`${N}ms`}:null,...n.root}},e),document.body):null}));var p=n(1969),g=n(6269);const b=(0,u.Nc)(o.Tf),E=(0,u.Nc)(o.M9),w=e=>"style"in e,y=(e,t,n)=>{const r=window.getComputedStyle(e),o=n?"padding-left":"padding-right",i=n?r.paddingLeft:r.paddingRight,c=e.style.getPropertyValue(o);return e.style.setProperty(o,`${(parseInt(i,10)||0)+t}px`),()=>{c?e.style.setProperty(o,c):e.style.removeProperty(o)}},M=(0,c.l6)(o.HE,(({children:e})=>{const t=(0,p.S)();return(0,g.b)((()=>{const e=[],{body:n,documentElement:r}=document,o=Math.round(window.innerWidth-r.clientWidth);if(o>0){e.push(y(n,o,t));const r=n.getElementsByTagName("*");for(let n=0;n<r.length;n+=1){const i=r[n];w(i)&&"fixed"===window.getComputedStyle(i).getPropertyValue("position")&&!i.classList.contains(E)&&e.push(y(i,o,t))}}return n.classList.add(b),()=>{n.classList.remove(b),e.forEach((e=>e()))}}),[t]),r.createElement(r.Fragment,null,e)}));var x=n(6869),N=n(4490),S=n(8733),k=n(2986);const C=e=>(0,u.Xl)(o.k0,e),I=e=>(0,u.Xl)("slide",e),R=({slide:e,offset:t})=>{const{setContainerRef:n,containerRect:i,containerRef:c}=(0,N.u)(),{publish:l}=(0,h.h)(),{currentIndex:a}=(0,k.o)().state,{render:s,carousel:{imageFit:d},on:{click:f}}=(0,x.bc)().getLightboxProps();return r.createElement("div",{ref:n,className:(0,u.Wy)((0,u.Nc)(I()),0===t&&(0,u.Nc)(I("current")),(0,u.Nc)(o.aN)),onClick:e=>{const t=c.current,n=e.target instanceof HTMLElement?e.target:void 0;n&&t&&(n===t||Array.from(t.children).find((e=>e===n))&&n.classList.contains((0,u.Nc)(o.yS)))&&l(o.n2)}},i&&(n=>{var o,i,c,l;let h=null===(o=s.slide)||void 0===o?void 0:o.call(s,e,t,n);return!h&&(0,u.QB)(e)&&(h=r.createElement(S.P,{slide:e,offset:t,render:s,rect:n,imageFit:d,onClick:0===t?()=>null===f||void 0===f?void 0:f(a):void 0})),h?r.createElement(r.Fragment,null,null===(i=s.slideHeader)||void 0===i?void 0:i.call(s,e),(null!==(c=s.slideContainer)&&void 0!==c?c:(e,t)=>t)(e,h),null===(l=s.slideFooter)||void 0===l?void 0:l.call(s,e)):null})(i))},$=()=>r.createElement("div",{className:(0,u.Nc)("slide")}),P=(0,c.l6)(o.k0,(({slides:e,carousel:{finite:t,preload:n,padding:o,spacing:i}})=>{const{currentIndex:c,globalIndex:l}=(0,k.o)().state,{setCarouselRef:a}=(0,x.bc)(),s=(0,u.Ay)(i),d=(0,u.Ay)(o),h=[];if((null===e||void 0===e?void 0:e.length)>0){for(let o=c-n;o<c;o+=1){const i=l+o-c;h.push(!t||o>=0?r.createElement(R,{key:i,slide:e[(o+n*e.length)%e.length],offset:o-c}):r.createElement($,{key:i}))}h.push(r.createElement(R,{key:l,slide:e[c],offset:0}));for(let o=c+1;o<=c+n;o+=1){const n=l+o-c;h.push(!t||o<=e.length-1?r.createElement(R,{key:n,slide:e[o%e.length],offset:o-c}):r.createElement($,{key:n}))}}return r.createElement("div",{ref:a,className:(0,u.Wy)((0,u.Nc)(C()),h.length>0&&(0,u.Nc)(C("with_slides"))),style:{[`${(0,u.gJ)(C("slides_count"))}`]:h.length,[`${(0,u.gJ)(C("spacing_px"))}`]:s.pixel||0,[`${(0,u.gJ)(C("spacing_percent"))}`]:s.percent||0,[`${(0,u.gJ)(C("padding_px"))}`]:d.pixel||0,[`${(0,u.gJ)(C("padding_percent"))}`]:d.percent||0}},h)}));var L=n(8645),F=n(6668);const Z=(0,c.l6)(o.hb,(({toolbar:{buttons:e},labels:t,render:{buttonClose:n,iconClose:i}})=>{const{publish:c}=(0,h.h)(),{setContainerRef:l,containerRect:a}=(0,N.u)();r.useEffect((()=>{(null===a||void 0===a?void 0:a.width)&&c(o.cq,a.width)}),[c,null===a||void 0===a?void 0:a.width]);return r.createElement("div",{ref:l,className:(0,u.Nc)((0,u.Xl)(o.hb,s))},null===e||void 0===e?void 0:e.map((e=>e===o.t9?n?n():r.createElement(L.h,{key:o.t9,label:(0,u.PS)(t,"Close"),icon:F.Tw,renderIcon:i,onClick:()=>c(o.t9)}):e)));var s})),O=(e=!1)=>{const t=r.useRef(e),{transferFocus:n}=(0,x.bc)();(0,g.b)((()=>{e&&n()}),[e,n]);return{onFocus:r.useCallback((()=>{t.current=!0}),[]),onBlur:r.useCallback((()=>{t.current=!1}),[])}};var T=n(2725);const z=({publish:e,labels:t,label:n,icon:o,renderIcon:i,action:c,disabled:l})=>r.createElement(L.h,{label:(0,u.PS)(t,n),icon:o,renderIcon:i,className:(0,u.Nc)(`navigation_${c}`),disabled:l,onClick:()=>e(c),...O(l)}),A=(0,c.l6)(o.Op,(({slides:e,carousel:{finite:t},animation:{swipe:n},labels:i,render:{buttonPrev:c,buttonNext:l,iconPrev:u,iconNext:a}})=>{const{currentIndex:d}=(0,k.o)().state,{subscribeSensors:f}=(0,x.bc)(),{publish:m}=(0,h.h)(),v=(0,p.S)(),g=0===e.length||t&&0===d,b=0===e.length||t&&d===e.length-1,E=((e,t)=>{const n=r.useRef(0),o=(0,T.g)(),i=(0,s.$)(((...t)=>{n.current=Date.now(),e(t)}));return r.useCallback(((...e)=>{o((()=>{i(e)}),t-(Date.now()-n.current))}),[t,i,o])})((e=>m(e)),n/2),w=(0,s.$)((e=>{e.key!==o.Sl||(v?b:g)||E(v?o.Eb:o.KN),e.key!==o.NH||(v?g:b)||E(v?o.KN:o.Eb)}));return r.useEffect((()=>f(o.ds,w)),[f,w]),r.createElement(r.Fragment,null,c?c():r.createElement(z,{label:"Previous",action:o.KN,icon:F.jJ,renderIcon:u,disabled:g,labels:i,publish:m}),l?l():r.createElement(z,{label:"Next",action:o.Eb,icon:F.Ne,renderIcon:a,disabled:b,labels:i,publish:m}))})),X=(0,c.l6)(o.i4,(({slides:e,index:t,children:n})=>r.createElement(d.q,null,r.createElement(h.Y,null,r.createElement(k.q,{slidesCount:e.length,initialIndex:t},n))))),W=(e,t)=>{var n;return r.createElement(e.module.component,{key:e.module.name,...t},null===(n=e.children)||void 0===n?void 0:n.map((e=>W(e,t))))},_=({index:e,slides:t,...n})=>({index:e>=0&&e<t.length?e:0,slides:t,...n});var B=e=>{const{carousel:t,animation:n,render:o,toolbar:l,controller:u,on:a,plugins:s,...d}=e,{carousel:h,animation:f,render:m,toolbar:p,controller:g,on:b,...E}=i,{config:w,augmentation:y}=(0,c.AB)([(0,c.dS)(v,[(0,c.dS)(M,[(0,c.dS)(x.un,[(0,c.dS)(P),(0,c.dS)(Z),(0,c.dS)(A)])])])],s,[_]),N=y({carousel:{...h,...t},animation:{...f,...n},render:{...m,...o},toolbar:{...p,...l},controller:{...g,...u},on:{...b,...a},...E,...d});return N.open?r.createElement(r.Fragment,null,W((0,c.dS)(X,w),N)):null}},4500:function(e,t,n){"use strict";n.d(t,{s$:function(){return I},QM:function(){return R},ZP:function(){return $}});var r=n(7294),o=n(7678),i=n(5746),c=n(6615),l=n(2986),u=n(3744),a=n(6269);const s=r.createContext(null),d=(0,i.Fy)("useZoom","ZoomContext",s),h=({slides:e,children:t})=>{const[n,o]=r.useState(!1),[c,d]=r.useState(!1),[h,f]=r.useState(!1),{currentIndex:m}=(0,l.o)().state,v=(0,u.$)((()=>f(e.length>m&&(0,i.QB)(e[m]))));(0,a.b)(v,[m,v]);const p=r.useMemo((()=>({isMinZoom:n,isMaxZoom:c,isZoomSupported:h,setIsMinZoom:o,setIsMaxZoom:d})),[n,c,h]);return r.createElement(s.Provider,{value:p},t)};var f=n(6869),m=n(6668),v=n(1390),p=n(8645);const g=(0,m.IU)("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"}))),b=(0,m.IU)("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"})),E=r.forwardRef((({labels:e,render:t,zoomIn:n,onLoseFocus:o},c)=>{const l=r.useRef(!1),u=r.useRef(!1),{isMinZoom:a,isMaxZoom:s,isZoomSupported:h}=d(),{publish:f}=(0,v.h)(),m=!h||(n?s:a),E=()=>f(n?I:R),w=r.useCallback((()=>{u.current=!0}),[]),y=r.useCallback((()=>{u.current=!1}),[]);return r.useEffect((()=>{m&&l.current&&u.current&&o(),m||(l.current=!0)}),[m,o]),n&&t.buttonZoomIn?r.createElement(r.Fragment,null,t.buttonZoomIn({ref:c,labels:e,disabled:m,onClick:E,onFocus:w,onBlur:y})):!n&&t.buttonZoomOut?r.createElement(r.Fragment,null,t.buttonZoomOut({ref:c,labels:e,disabled:m,onClick:E,onFocus:w,onBlur:y})):r.createElement(p.h,{ref:c,label:(0,i.PS)(e,n?"Zoom in":"Zoom out"),icon:n?g:b,renderIcon:n?t.iconZoomIn:t.iconZoomOut,disabled:m,onClick:E,onFocus:w,onBlur:y})}));E.displayName="ZoomButton";const w=({labels:e,render:t})=>{const n=r.useRef(null),o=r.useRef(null),{transferFocus:i}=(0,f.bc)(),c=r.useCallback((e=>{var t,n;(null===(t=e.current)||void 0===t?void 0:t.disabled)?i():null===(n=e.current)||void 0===n||n.focus()}),[i]),l=r.useCallback((()=>c(n)),[c]),u=r.useCallback((()=>c(o)),[c]);return r.createElement(r.Fragment,null,r.createElement(E,{ref:n,key:I,zoomIn:!0,labels:e,render:t,onLoseFocus:u}),r.createElement(E,{ref:o,key:R,labels:e,render:t,onLoseFocus:l}))};var y=n(4490),M=n(6404),x=n(8733);const N=e=>{var t,n;const[c,l]=r.useState({}),{current:s,preload:d}=c,{slide:h,rect:f,imageFit:m,render:v}=e,p=h.srcSet.sort(((e,t)=>e.width-t.width)),g=null!==(t=h.width)&&void 0!==t?t:p[p.length-1].width,b=null!==(n=h.height)&&void 0!==n?n:p[p.length-1].height,E=h.imageFit===o.rO||h.imageFit!==o.j3&&m===o.rO,w=Math.max(...p.map((e=>e.width))),y=Math.min((E?Math.max:Math.min)(f.width,g*(f.height/b)),w),M=(0,i.KL)(),N=(0,u.$)((()=>{var e;const t=null!==(e=p.find((e=>e.width>=y*M)))&&void 0!==e?e:p[p.length-1];s?p.findIndex((e=>e.src===s))<p.findIndex((e=>e===t))&&l((e=>({...e,preload:t.src}))):l((e=>({...e,current:t.src})))}));(0,a.b)(N,[null===f||void 0===f?void 0:f.width,null===f||void 0===f?void 0:f.height,M,h.src,N]);const S=(0,u.$)((e=>{e===d&&l((e=>({...e,current:d,preload:void 0})))})),k={WebkitTransform:"translateZ(0)"};return E||Object.assign(k,f.width/f.height<g/b?{width:"100%",height:"auto"}:{width:"auto",height:"100%"}),r.createElement(r.Fragment,null,d&&d!==s&&r.createElement(x.P,{key:"preload",...e,slide:{...h,src:d,srcSet:void 0},style:{position:"absolute",visibility:"hidden",...k},onLoad:()=>S(d),render:{...v,iconLoading:()=>null,iconError:()=>null}}),s&&r.createElement(x.P,{key:"current",...e,slide:{...h,src:s,srcSet:void 0},style:k}))},S=(e,t)=>((e.clientX-t.clientX)**2+(e.clientY-t.clientY)**2)**.5,k=({slide:e,offset:t,rect:n,render:c,carousel:s,animation:h,zoom:m,on:p})=>{var g;const b={...C,...m},{currentIndex:E}
1=(0,l.o)().state,[w,k]=r.useState(1),[$,P]=r.useState(0),[L,F]=r.useState(0),[Z,O]=r.useState(),T=r.useRef([]),z=r.useRef(0),A=r.useRef(),X=r.useRef(),W=r.useRef(),{isMinZoom:_,isMaxZoom:B,setIsMinZoom:D,setIsMaxZoom:Y}=d(),{setContainerRef:H,containerRef:K,containerRect:J}=(0,y.u)(),{subscribeSensors:q,containerRef:j,containerRect:U}=(0,f.bc)(),{subscribe:V}=(0,v.h)(),Q=(0,M.O)(),{slideRect:G,maxSlideRect:ee}=((e,t,n,r)=>{var o,c;let l={width:0,height:0},u={width:0,height:0};if(r&&(0,i.QB)(e)){const i=Math.max(...((null===(o=e.srcSet)||void 0===o?void 0:o.map((e=>e.width)))||[]).concat(e.width?[e.width]:[])),a=Math.max(...((null===(c=e.srcSet)||void 0===c?void 0:c.map((e=>e.height)))||[]).concat(e.height?[e.height]:[]));i>0&&a>0&&r.width>0&&r.height>0&&(u=t?{width:Math.round(Math.min(i,r.width/r.height*a)),height:Math.round(Math.min(a,r.height/r.width*i))}:{width:i,height:a},u={width:u.width*n,height:u.height*n},l=t?{width:Math.min(r.width,u.width,i),height:Math.min(r.height,u.height,a)}:{width:Math.round(Math.min(r.width,r.height/a*i,i)),height:Math.round(Math.min(r.height,r.width/i*a,a))})}return{slideRect:l,maxSlideRect:u}})({...e,...Z}
1,s.imageFit===o.rO||"imageFit"in e&&e.imageFit===o.rO,b.maxZoomPixelRatio,J),te=G.width?Math.max((0,i.NM)(ee.width/G.width,5),1):1,ne=(0,u.$)(((e,t,n)=>{const r=n||w,o=$-(e||0),i=L-(t||0),c=J?(G.width*r-J.width)/2/r:0,l=J?(G.height*r-J.height)/2/r:0;P(Math.min(Math.abs(o),Math.max(c,0))*Math.sign(o)),F(Math.min(Math.abs(i),Math.max(l,0))*Math.sign(i))})),re=(0,u.$)(((e,t,n,r)=>{if(!K.current||!J)return;const o=(0,i.NM)(Math.min(Math.max(e+.001<te?e:te,1),te),5);o!==w&&(t||(X.current=window.getComputedStyle(K.current).transform),ne(n?n*(1/w-1/o):0,r?r*(1/w-1/o):0,o),k(o))})),oe=(0,u.$)((()=>{w>1&&(w>te&&re(te,!0),ne())}));(0,a.b)(oe,[U.width,U.height,oe]);const ie=(0,u.$)((()=>{var e,t,n,r;null===(e=A.current)||void 0===e||e.cancel(),X.current&&K.current&&(A.current=null===(n=(t=K.current).animate)||void 0===n?void 0:n.call(t,[{transform:X.current},{transform:`scale(${w}) translateX(${$}px) translateY(${L}px)`}],{duration:Q?0:null!==(r=h.zoom)&&void 0!==r?r:500,easing:A?"ease-out":"ease-in-out"}),X.current=void 0,A.current&&(A.current.onfinish=()=>{A.current=void 0}))}));(0,a.b)(ie,[w,$,L,ie]),(0,a.b)((()=>{if(0===t){const e=()=>{k(1),P(0),F(0),D(!0),Y(!1)};return e(),()=>{e()}}return()=>{}}),[t,D,Y]),(0,a.b)((()=>{if(0===t){const e=w<=1;e!==_&&D(e);const t=w>=te;t!==B&&Y(t)}}),[t,w,te,_,B,D,Y]);const ce=(0,u.$)((()=>{var e;0===t&&(null===(e=p.zoom)||void 0===e||e.call(p,w))}));(0,a.b)(ce,[w,ce]);const le=r.useCallback((e=>{if(j.current){const{pageX:t,pageY:n}=e,{scrollX:r,scrollY:o}=window,{left:i,top:c,width:l,height:u}=j.current.getBoundingClientRect();return[t-i-r-l/2,n-c-o-u/2]}return[]}),[j]),ue=(0,u.$)((e=>{const{keyboardMoveDistance:t,zoomInMultiplier:n}=b,r=()=>{e.preventDefault(),e.stopPropagation()};if(w>1){const n=(e,t)=>{r(),ne(e,t)};"ArrowDown"===e.key?n(0,t):"ArrowUp"===e.key?n(0,-t):"ArrowLeft"===e.key?n(-t,0):"ArrowRight"===e.key&&n(t,0)}const o=e=>{r(),re(e)},i=()=>e.getModifierState("Meta");"+"===e.key||"="===e.key&&i()?o(w*n):"-"===e.key||"_"===e.key&&i()?o(w/n):"0"===e.key&&i()&&o(1)})),ae=(0,u.$)((e=>{const{wheelZoomDistanceFactor:t,scrollToZoom:n}=b;if((e.ctrlKey||n)&&Math.abs(e.deltaY)>Math.abs(e.deltaX))return e.stopPropagation(),void re(w*(1-e.deltaY/t),!0,...le(e));w>1&&(e.stopPropagation(),n||ne(e.deltaX,e.deltaY))})),se=r.useCallback((e=>{const t=T.current;t.splice(0,t.length,...t.filter((t=>t.pointerId!==e.pointerId)))}),[]),de=r.useCallback((e=>{se(e),e.persist(),T.current.push(e)}),[se]),he=(0,u.$)((e=>{var t;const{doubleTapDelay:n,doubleClickDelay:r,zoomInMultiplier:o,doubleClickMaxStops:i}=b,c=T.current;if(!(null===(t=K.current)||void 0===t?void 0:t.contains(e.target)))return;w>1&&e.stopPropagation();const{timeStamp:l}=e;0===c.length&&l-z.current<("touch"===e.pointerType?n:r)?(z.current=0,re(w!==te?w*Math.max(te**(1/i),o):1,!1,...le(e))):z.current=l,de(e),2===c.length&&(W.current=S(c[0],c[1]))})),fe=(0,u.$)((e=>{const t=T.current,n=t.find((t=>t.pointerId===e.pointerId));if(2===t.length&&W.current){e.stopPropagation(),de(e);const n=S(t[0],t[1]),r=n-W.current;Math.abs(r)>0&&(re(w*(1+r/b.pinchZoomDistanceFactor),!0,...t.map((e=>le(e))).reduce(((e,t)=>t.map(((t,n)=>e[n]+t/2))))),W.current=n)}else w>1&&(e.stopPropagation(),n&&(1===t.length&&ne((n.clientX-e.clientX)/w,(n.clientY-e.clientY)/w),de(e)))})),me=r.useCallback((e=>{const t=T.current;2===t.length&&t.find((t=>t.pointerId===e.pointerId))&&(W.current=void 0),se(e)}),[se]),ve=(0,u.$)((()=>{re(w*b.zoomInMultiplier)})),pe=(0,u.$)((()=>{re(w/b.zoomInMultiplier)}));r.useEffect((()=>0===t?(0,i.Eq)(V(I,ve),V(R,pe),q(o.ds,ue),q(o.yq,ae),q(o.NZ,he),q(o.N4,fe),q(o.S2,me),q(o.pE,me),q(o.Vt,me)):()=>{}),[t,V,q,ue,he,fe,me,ae,re,ve,pe]);const ge=0===t?{width:n.width*w,height:n.height*w}:n;let be=null===(g=c.slide)||void 0===g?void 0:g.call(c,e,t,ge);if(!be&&(0,i.QB)(e)){const o={slide:e,offset:t,rect:n,render:c,imageFit:s.imageFit,onClick:0===t?()=>{var e;return null===(e=p.click)||void 0===e?void 0:e.call(p,E)}:void 0};be=(e=>{var t;return((null===(t=e.srcSet)||void 0===t?void 0:t.length)||0)>0})(e)?r.createElement(N,{...o,slide:e,rect:ge}):r.createElement(x.P,{onLoad:e=>
1O({width:e.naturalWidth,height:e.naturalHeight}),...o})}return be?r.createElement("div",{ref:H,className:(0,i.Wy)((0,i.Nc)(o.yS),(0,i.Nc)(o.aN)),...0===t?{style:{transform:`scale(${w}) translateX(${$}px) translateY(${L}px)`}}:null},be):null},C={maxZoomPixelRatio:1,zoomInMultiplier:2,doubleTapDelay:300,doubleClickDelay:500,doubleClickMaxStops:2,keyboardMoveDistance:50,wheelZoomDistanceFactor:100,pinchZoomDistanceFactor:100,scrollToZoom:!1},I="zoom-in",R="zoom-out";var $=({augment:e,append:t})=>{e((({toolbar:{buttons:e,...t},render:n,carousel:c,animation:l,zoom:u,on:a,...s})=>({toolbar:{buttons:[r.createElement(w,{key:o.xc,labels:s.labels,render:n}),...e],...t},render:{...n,slide:(e,t,o)=>{var s;return(0,i.QB)(e)?r.createElement(k,{slide:e,offset:t,rect:o,render:n,carousel:c,animation:l,zoom:u,on:a}):null===(s=n.slide)||void 0===s?void 0:s.call(n,e,t,o)}},zoom:{...C,...u},carousel:c,animation:l,on:a,...s}))),t(o.l4,(0,c.l6)(o.xc,h))}}}]);

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.