PageSourceSearch

https://lidomatrip.com/_next/static/chunks/5080-7f69cc2f8fa99ade.js

js lidomatrip.com collected 2026-10-02 20:27:49 UTC 50,239 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5080],{46871:function(){},34346:function(){},66249:function(e,t,n){"use strict";n.d(t,{$0:function(){return ec},CT:function(){return I},Eq:function(){return y},Fy:function(){return x},Ju:function(){return L},KL:function(){return P},NM:function(){return N},Nc:function(){return p},OL:function(){return ei},OV:function(){return W},P0:function(){return eg},QB:function(){return k},RD:function(){return T},Su:function(){return eh},TX:function(){return j},U2:function(){return Q},VI:function(){return C},Wy:function(){return m},Xl:function(){return E},ZP:function(){return eA},_7:function(){return eu},aU:function(){return Y},bQ:function(){return eE},bc:function(){return eM},bt:function(){return el},cO:function(){return b},d8:function(){return ef},gJ:function(){return g},hI:function(){return O},hU:function(){return q},l6:function(){return d},oc:function(){return H},wQ:function(){return $}});var r,l,i,u,o=n(67294),a=n(56567),c=n(73935);let s={open:!1,close:()=>{},index:0,slides:[],render:{},plugins:[],toolbar:{buttons:[a.t9]},labels:{},animation:{fade:250,swipe:500,easing:{fade:"ease",swipe:"ease-out",navigation:"ease-in-out"}},carousel:{finite:!1,preload:2,padding:"16px",spacing:"30%",imageFit:a.j3,imageProps:{}},controller:{ref:null,focus:!0,aria:!1,touchAction:"none",closeOnPullDown:!1,closeOnBackdropClick:!1},portal:{},on:{},styles:{},className:""};function d(e,t){return{name:e,component:t}}function f(e,t){return{module:e,children:t}}function h(e,t,n){return e.flatMap(e=>{var r;return null!==(r=function e(t,n,r){return t.module.name===n?r(t):t.children?[f(t.module,t.children.flatMap(t=>{var l;return null!==(l=e(t,n,r))&&void 0!==l?l:[]}))]:[t]}(e,t,n))&&void 0!==r?r:[]})}let m=(...e)=>[...e].filter(e=>Boolean(e)).join(" "),v="yarl__",p=e=>`${v}${e}`,g=e=>`--${v}${e}`,E=(e,t)=>`${e}${t?`_${t}`:""}`,b=e=>t=>E(e,t),w=(e,t)=>e&&e[t]?e[t]:t,y=(...e)=>()=>{e.forEach(e=>{e()})},x=(e,t,n)=>()=>{let r=o.useContext(n);if(!r)throw Error(`${e} must be used within a ${t}.Provider`);return r},M=()=>"undefined"!=typeof window;function N(e,t=0){let n=10**t;return Math.round((e+Number.EPSILON)*n)/n}let k=e=>void 0===e.type||"image"===e.type,C=(e,t)=>e.imageFit===a.rO||e.imageFit!==a.j3&&t===a.rO;function S(e){if("number"==typeof e)return{pixel:e};if("string"==typeof e){let t=parseInt(e,10);return e.endsWith("%")?{percent:t}:{pixel:t}}return{pixel:0}}let P=()=>(M()?null==window?void 0:window.devicePixelRatio:void 0)||1,R=(e,t)=>t>0?(e%t+t)%t:0,L=e=>e.length>0,I=(e,t)=>e[R(t,e.length)],F=(e,t)=>L(e)?I(e,t):void 0;function $(e,t,n){if(!n)return e;let{buttons:r,...l}=e,i=r.findIndex(e=>e===t),u=o.isValidElement(n)?o.cloneElement(n,{key:t},null):n;if(i>=0){let e=[...r];return e.splice(i,1,u),{buttons:e,...l}}return{buttons:[u,...r],...l}}let z=o.createContext(null),O=x("useEvents","EventsContext",z);function _({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])||void 0===r||r.splice(0,t[e].length,...t[e].filter(e=>e!==n))},n=(n,r)=>(t[n]||(t[n]=[]),t[n].push(r),()=>e(n,r)),r=(...[e,n])=>{var r;null===(r=t[e])||void 0===r||r.forEach(e=>e(n))};return{publish:r,subscribe:n,unsubscribe:e}},[t]);return o.createElement(z.Provider,{value:n},e)}let D=o.createContext(null),T=x("useLightboxProps","LightboxPropsContext",D);function W({children:e,...t}){return o.createElement(D.Provider,{value:t},e)}let A=o.createContext(null),H=x("useLightboxState","LightboxStateContext",A),U=o.createContext(null),X=x("useLightboxDispatch","LightboxDispatchContext",U);function V(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),u=F(n,i),o=r||t.duration?{increment:r,duration:t.duration,easing:t.easing}:void 0;return{slides:n,currentIndex:i,globalIndex:l,currentSlide:u,animation:o}}case"update":return{slides:t.slides,currentIndex:t.index,globalIndex:t.index,currentSlide:F(t.slides,t.index)};default:throw Error(a.c3)}}function Z({slides:e,index:t,children:n}){let[r,l]=o.useReducer(V,{slides:e,currentIndex:t,globalIndex:t,currentSlide:F(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(U.Provider,{value:l},o.createElement(A.Provider,{value:i},n))}let B=o.createContext(null),Y=x("useTimeouts","TimeoutsContext",B);function K({children:e}){let[t]=o.useState([]);o.useEffect(()=>()=>
1{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))},n=(n,r)=>{let l=window.setTimeout(()=>{e(l),n()},r);return t.push(l),l},r=t=>{void 0!==t&&(e(t),window.clearTimeout(t))};return{setTimeout:n,clearTimeout:r}},[t]);return o.createElement(B.Provider,{value:n},e)}let q=o.forwardRef(function({label:e,className:t,icon:n,renderIcon:r,onClick:l,style:i,...u},c){let{styles:s,labels:d}=T();return o.createElement("button",{ref:c,type:"button","aria-label":w(d,e),className:m(p(a.bg),t),onClick:l,style:{...i,...s.button},...u},r?r():o.createElement(n,{className:p(a.vg),style:s.icon}))});function J(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 Q(e,t){return J(e,o.createElement("g",{fill:"currentColor"},o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t))}function j(e,t){return J(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 G=Q("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"})),ee=Q("Previous",o.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),et=Q("Next",o.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),en=Q("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)`})))),er=Q("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"})),el=M()?o.useLayoutEffect:o.useEffect;function ei(){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 eu(e,t){let n=o.useRef(),r=o.useRef(),l=ei();return el(()=>{var i,u,o;if(e.current&&void 0!==n.current&&!l){let{keyframes:l,duration:a,easing:c,onfinish:s}=t(n.current,e.current.getBoundingClientRect(),function(e){let t=0,n=0,r=0,l=window.getComputedStyle(e).transform,i=l.match(/matrix.*\((.+)\)/);if(i){let e=i[1].split(",").map(e=>Number.parseInt(e,10));6===e.length?(t=e[4],n=e[5]):16===e.length&&(t=e[12],n=e[13],r=e[14])}return{x:t,y:n,z:r}}(e.current))||{};if(l&&a){null===(i=r.current)||void 0===i||i.cancel(),r.current=void 0;try{r.current=null===(o=(u=e.current).animate)||void 0===o?void 0:o.call(u,l,{duration:a,easing:c})}catch(e){console.error(e)}r.current&&(r.current.onfinish=()=>{r.current=void 0,null==s||s()})}}n.current=void 0}),{prepareAnimation:e=>{n.current=e},isAnimationPlaying:()=>{var e;return(null===(e=r.current)||void 0===e?void 0:e.playState)==="running"}}}function eo(){let[e,t]=o.useState(),n=o.useRef(null),r=o.useRef(),l=o.useCallback(e=>{n.current=e,r.current&&(r.current.disconnect(),r.current=void 0);let l=()=>{if(e){let 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)};
1l(),e&&"undefined"!=typeof ResizeObserver&&(r.current=new ResizeObserver(l),r.current.observe(e))},[]);return o.useMemo(()=>({setContainerRef:l,containerRef:n,containerRect:e}),[l,n,e])}function ea(){let e=o.useRef(),{setTimeout:t,clearTimeout:n}=Y();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 el(()=>{t.current=e}),o.useCallback((...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function es(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function ed(e,t){return o.useMemo(()=>null==e&&null==t?null:n=>{es(e,n),es(t,n)},[e,t])}function ef(e,t=!1){let n=o.useRef();el(()=>{t&&n.current&&(n.current=!1,e())},[t,e]);let r=o.useCallback(()=>{n.current=!0},[]),l=o.useCallback(()=>{n.current=!1},[]);return{onFocus:r,onBlur:l}}function eh(){let[e,t]=o.useState(!1);return el(()=>{t("rtl"===window.getComputedStyle(window.document.documentElement).direction)},[]),e}function em(e,t){let n=o.useRef(0),r=ea(),l=ec((...t)=>{n.current=Date.now(),e(t)});return o.useCallback((...e)=>{r(()=>{l(e)},t-(Date.now()-n.current))},[t,l,r])}let ev=b("slide"),ep=b("slide_image");function eg({slide:e,offset:t,render:n,rect:r,imageFit:l,imageProps:i,onClick:u,onLoad:c,style:s}){var d,f,h,v,g,E,b;let[w,y]=o.useState(a.Xe),{publish:x}=O(),{setTimeout:N}=Y(),k=o.useRef(null);o.useEffect(()=>{0===t&&x((0,a.J1)(w))},[t,w,x]);let S=ec(e=>{("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{e.parentNode&&(y(a.Zv),N(()=>{null==c||c(e)},0))})}),P=o.useCallback(e=>{k.current=e,(null==e?void 0:e.complete)&&S(e)},[S]),R=o.useCallback(e=>{S(e.currentTarget)},[S]),L=o.useCallback(()=>{y(a.fS)},[]),I=C(e,l),F=(e,t)=>Number.isFinite(e)?e:t,$=F(Math.max(...(null!==(f=null===(d=e.srcSet)||void 0===d?void 0:d.map(e=>e.width))&&void 0!==f?f:[]).concat(e.width?[e.width]:[]).filter(Boolean)),(null===(h=k.current)||void 0===h?void 0:h.naturalWidth)||0),z=F(Math.max(...(null!==(g=null===(v=e.srcSet)||void 0===v?void 0:v.map(e=>e.height))&&void 0!==g?g:[]).concat(e.height?[e.height]:[]).filter(Boolean)),(null===(E=k.current)||void 0===E?void 0:E.naturalHeight)||0),_=$&&z?{maxWidth:`min(${$}px, 100%)`,maxHeight:`min(${z}px, 100%)`}:{maxWidth:"100%",maxHeight:"100%"},D=null===(b=e.srcSet)||void 0===b?void 0:b.sort((e,t)=>e.width-t.width).map(e=>`${e.src}
1 ${e.width}w`).join(", "),T=D&&r&&M()?`${Math.round(Math.min(r&&!I&&e.width&&e.height?r.height/e.height*e.width:Number.MAX_VALUE,r.width))}px`:void 0,{style:W,className:A,...H}=i||{};return o.createElement(o.Fragment,null,o.createElement("img",{ref:P,onLoad:R,onError:L,onClick:u,draggable:!1,className:m(p(ep()),I&&p(ep("cover")),w!==a.Zv&&p(ep("loading")),A),style:{..._,...s,...W},...H,alt:e.alt,sizes:T,srcSet:D,src:e.src}),w!==a.Zv&&o.createElement("div",{className:p(ev(a.$L))},w===a.Xe&&((null==n?void 0:n.iconLoading)?n.iconLoading():o.createElement(en,{className:m(p(a.vg),p(ev(a.Xe)))})),w===a.fS&&((null==n?void 0:n.iconError)?n.iconError():o.createElement(er,{className:m(p(a.vg),p(ev(a.fS)))}))))}function eE(e,t,n,r,l){o.useEffect(()=>l?()=>{}:y(e(a.NZ,t),e(a.N4,n),e(a.S2,r),e(a.pE,r),e(a.Vt,r)),[e,t,n,r,l])}(r=i||(i={}))[r.NONE=0]="NONE",r[r.SWIPE=1]="SWIPE",r[r.PULL_DOWN=2]="PULL_DOWN",r[r.ANIMATION=3]="ANIMATION",(l=u||(u={}))[l.NONE=0]="NONE",l[l.SWIPE=1]="SWIPE",l[l.PULL_DOWN=2]="PULL_DOWN";let eb="wheel";function ew(e){(Math.abs(e.deltaX)>Math.abs(e.deltaY)||e.ctrlKey)&&e.preventDefault()}let ey=b("container"),ex=o.createContext(null),eM=x("useController","ControllerContext",ex),eN=d(a.l4,function({children:e,...t}){var n;let{carousel:r,animation:l,controller:c,on:s,styles:d,render:f}=t,[h,v]=o.useState(),E=H(),b=X(),[w,x]=o.useState(i.NONE),M=o.useRef(0),k=o.useRef(0),C=o.useRef(1),{registerSensors:P,subscribeSensors:R}=function(){let[e]=o.useState({});return o.useMemo(()=>{let t=(t,n)=>{var r;null===(r=e[t])||void 0===r||r.forEach(e=>{n.isPropagationStopped()||e(n)})};return{registerSensors:{onPointerDown:e=>t(a.NZ,e),onPointerMove:e=>t(a.N4,e),onPointerUp:e=>t(a.S2,e),onPointerLeave:e=>t(a.pE,e),onPointerCancel:e=>t(a.Vt,e),onKeyDown:e=>t(a.ds,e),onKeyUp:e=>t(a.Bm,e),onWheel:e=>t(a.yq,e)},subscribeSensors:(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:L,publish:I}=O(),F=ea(),$=ea(),z=ea(),{containerRef:_,setContainerRef:D,containerRect:T}=eo(),W=ed(function(){let e=o.useRef(null);return o.useCallback(t=>{var n;t?t.addEventListener(eb,ew,{passive:!1}):null===(n=e.current)||void 0===n||n.removeEventListener(eb,ew),e.current=t},[])}(),D),A=o.useRef(null),U=ed(A,void 0),V=eh(),Z=e=>(V?-1:1)*("number"==typeof e?e:1),B=ec(()=>{var e;return null===(e=_.current)||void 0===e?void 0:e.focus()}),K=ec(()=>t),q=ec(()=>E),J=o.useCallback(e=>I(a.KN,e),[I]),Q=o.useCallback(e=>I(a.Eb,e),[I]),j=o.useCallback(()=>I(a.t9),[I]),G=e=>!(r.finite&&(Z(e)>0&&0===E.currentIndex||0>Z(e)&&E.currentIndex===E.slides.length-1)),ee=e=>{var t;M.current=e,null===(t=_.current)||void 0===t||t.style.setProperty(g("swipe_offset"),`${Math.round(e)}px`)},et=c.closeOnPullDown,en=e=>{var t,n;k.current=e,C.current=Math.min(Math.max(N(1-e/60*.5,2),.5),1),null===(t=_.current)||void 0===t||t.style.setProperty(g("pull_down_offset"),`${Math.round(e)}px`),null===(n=_.current)||void 0===n||n.style.setProperty(g("pull_down_opacity"),`${C.current}`)},{prepareAnimation:er}=eu(A,(e,t,n)=>{if(A.current&&T)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}}),el=(e,t)=>{if(et){en(e);let n=0;A.current&&(n=l.fade*(t?2:1),er({rect:A.current.getBoundingClientRect(),opacity:C.current,duration:n})),z(()=>{en(0),x(i.NONE)},n),x(i.ANIMATION),t||j()}},{prepareAnimation:ei,isAnimationPlaying:es}=eu(A,(e,t,n)=>{var l;if(A.current&&T&&(null===(l=E.animation)||void 0===l?void 0:l.duration)){let l=S(r.spacing),i=(l.percent?l.percent*T.width/100:l.pixel)||0;return{keyframes:[{transform:`translate(${Z(E.globalIndex-e.index)*(T.width+i)+e.rect.x-t.x+n.x}px, 0)`},{transform:"translate(0, 0)"}],duration:E.animation.duration,easing:E.animation.easing}}}),ef=ec(e=>{var t,n;let r=e.offset||0,u=r?l.swipe:null!==(t=l.navigation)&&void 0!==t?t:l.swipe,o=r||es()?l.easing.swipe:l.easing.navigation,{direction:c}=e,s=null!==(n=e.count)&&void 0!==n?n:1,d=i.ANIMATION,f=u*s;if(!c){let t=null==T?void 0:T.width,n=e.duration||0,l=t?u/t*Math.abs(r):u;0!==s?(n<l?f=f/l*Math.max(n,l/5):t&&(f=u/t*(t-Math.abs(r))),c=Z(r)>0?a.KN:a.Eb):f=u/2}let h=0;c===a.KN?G(Z(1))?h=-s:(d=i.NONE,f=u):c===a.Eb&&(G(Z(-1))?h=s:(d=i.NONE,f=u)),$(()=>{ee(0),x(i.NONE)},f=Math.round(f)),A.current&&ei({rect:A.current.getBoundingClientRect(),index:E.globalIndex}),x(d),I(a.Tn,{type:"swipe",increment:h,duration:f,easing:o})});o.useEffect(()=>{var e,t;(null===(e=E.animation)||void 0===e?void 0:e.increment)&&(null===(t=E.animation)||void 0===t?void 0:t.duration)&&F(()=>b({type:"swipe",increment:0}),E.animation.duration)},[E.animation,b,F]);let em=[R,G,(null==T?void 0:T.width)||0,l.swipe,()=>x(i.SWIPE),e=>ee(e),(e,t)=>ef({offset:e,duration:t,count:1}),e=>ef({offset:e,count:0})],ev=[()=>{et&&x(i.PULL_DOWN)},e=>en(e),e=>el(e),e=>el(e,!0)];!function(e,t,n,r,l,i,a,c,s,d,f,h,m){let v=o.useRef(0),p=o.useRef([]),g=o.useRef(),E=o.useRef(0),b=o.useRef(u.NONE),w=o.useCallback(e=>{g.current===e.pointerId&&(g.current=void 0,b.current=u.NONE);let t=p.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),y=o.useCallback(e=>{w(e),e.persist(),p.current.push(e)},[w]),x=ec(e=>{y(e)}),M=ec(e=>{if(p.current.find(t=>t.pointerId===e.pointerId)&&g.current===e.pointerId){let e=Date.now()-E.current,t=v.current;b.current===u.SWIPE?Math.abs(t)>.3*n||Math.abs(t)>5&&e<r?a(t,e):c(t):b.current===u.PULL_DOWN&&(t>60?h(t,e):m(t)),v.current=0,b.current=u.NONE}w(e)}),N=ec(e=>{let n=p.current.find(t=>t.pointerId===e.pointerId);if(n){let r=g.current===e.pointerId;if(0===e.buttons){r&&0!==v.current?M(e):w(n);return}let o=e.clientX-n.clientX,a=e.clientY-n.clientY;if(void 0===g.current){let n=t=>{y(e),g.current=e.pointerId,E.current=Date.now(),b.current=t};Math.abs(o)>Math.abs(a)&&Math.abs(o)>30&&t(o)?(n(u.SWIPE),l()):s&&Math.abs(a)>Math.abs(o)&&a>30&&(n(u.PULL_DOWN),d())}else r&&(b.current===u.SWIPE?(v.current=o,i(o)):b.current===u.PULL_DOWN&&(v.current=a,f(a)))}});eE(e,x,N,M)}(...em,et,...ev),function(e,t,n,r,l,u,c,s,d){let f=o.useRef(0),h=o.useRef(0),m=o.useRef(),v=o.useRef(),p=o.useRef(0),g=
1o.useRef(0),{setTimeout:E,clearTimeout:b}=Y(),w=o.useCallback(()=>{m.current&&(b(m.current),m.current=void 0)},[b]),y=o.useCallback(()=>{v.current&&(b(v.current),v.current=void 0)},[b]),x=ec(()=>{e!==i.SWIPE&&(f.current=0,g.current=0,w(),y())});o.useEffect(x,[e,x]);let M=ec(e=>{v.current=void 0,f.current===e&&d(f.current)}),N=ec(t=>{if(!(t.ctrlKey||Math.abs(t.deltaY)>Math.abs(t.deltaX))){if(e===i.NONE){if(Math.abs(t.deltaX)<=1.2*Math.abs(p.current)){p.current=t.deltaX;return}if(n(-t.deltaX)){if(h.current+=t.deltaX,w(),Math.abs(h.current)>30)h.current=0,p.current=0,g.current=Date.now(),u();else{let e=h.current;m.current=E(()=>{m.current=void 0,e===h.current&&(h.current=0)},l)}}}else if(e===i.SWIPE){let e=f.current-t.deltaX;if(e=Math.min(Math.abs(e),r)*Math.sign(e),f.current=e,c(e),y(),Math.abs(e)>.2*r){p.current=t.deltaX,s(e,Date.now()-g.current);return}v.current=E(()=>M(e),2*l)}else p.current=t.deltaX}});o.useEffect(()=>t(a.yq,N),[t,N])}(w,...em);let ep=ec(()=>{var e;c.focus&&(null===(e=_.current)||void 0===e||e.focus())});o.useEffect(ep,[ep]);let eg=ec(()=>{var e;null===(e=s.view)||void 0===e||e.call(s,{index:E.currentIndex})});o.useEffect(eg,[E.globalIndex,eg]),o.useEffect(()=>y(L(a.KN,e=>ef({direction:a.KN,...e})),L(a.Eb,e=>ef({direction:a.Eb,...e})),L(a.Tn,e=>b(e))),[L,ef,b]),o.useEffect(()=>R(a.Bm,e=>{e.key===a.PU&&j()}),[R,j]);let eM=o.useMemo(()=>({prev:J,next:Q,close:j,focus:B,slideRect:T?function(e,t){let n=S(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)}}(T,r.padding):{width:0,height:0},containerRect:T||{width:0,height:0},subscribeSensors:R,containerRef:_,setCarouselRef:U,toolbarWidth:h,setToolbarWidth:v}),[J,Q,j,B,R,T,_,U,h,v,r.padding]);return o.useImperativeHandle(c.ref,()=>({prev:J,next:Q,close:j,focus:B,getLightboxProps:K,getLightboxState:q}),[J,Q,j,B,K,q]),o.createElement("div",{ref:W,className:m(p(ey()),p(a.aN)),style:{...w===i.SWIPE?{[g("swipe_offset")]:`${Math.round(M.current)}px`}:null,...w===i.PULL_DOWN?{[g("pull_down_offset")]:`${Math.round(k.current)}px`,[g("pull_down_opacity")]:`${C.current}`}:null,..."none"!==c.touchAction?{[g("controller_touch_action")]:c.touchAction}:null,...d.container},...c.aria?{role:"presentation","aria-live":"polite"}:null,tabIndex:-1,...P},T&&o.createElement(ex.Provider,{value:eM},e,null===(n=f.controls)||void 0===n?void 0:n.call(f)))});function ek(e){return E(a.k0,e)}function eC(e){return E("slide",e)}function eS({slide:e,offset:t}){var n,r,l,i;let u;let c=o.useRef(null),{currentIndex:s}=H(),{slideRect:d,close:f}=eM(),{render:h,carousel:{imageFit:v,imageProps:g},on:{click:E},controller:{closeOnBackdropClick:b},styles:{slide:w}}=T(),y=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(p(a.yS)))&&f()};return o.createElement("div",{ref:c,className:m(p(eC()),0===t&&p(eC("current")),p(a.aN)),onClick:y,style:w},(!(u=null===(n=h.slide)||void 0===n?void 0:n.call(h,{slide:e,offset:t,rect:d}))&&k(e)&&(u=o.createElement(eg,{slide:e,offset:t,render:h,rect:d,imageFit:v,imageProps:g,onClick:0===t?()=>null==E?void 0:E({index:s}):void 0})),u?o.createElement(o.Fragment,null,null===(r=h.slideHeader)||void 0===r?void 0:r.call(h,{slide:e}),(null!==(l=h.slideContainer)&&void 0!==l?l:({children:e})=>e)({slide:e,children:u}),null===(i=h.slideFooter)||void 0===i?void 0:i.call(h,{slide:e})):null))}function eP(){let e=T().styles.slide;return o.createElement("div",{className:p("slide"),style:e})}let eR=d(a.k0,function({carousel:e}){let{slides:t,currentIndex:n,globalIndex:r}=H(),{setCarouselRef:l}=eM(),i=S(e.spacing),u=S(e.padding),a=[],c=Math.min(e.preload,Math.max(Math.floor(t.length/2),1));if(L(t)){for(let l=n-c;l<n;l+=1){let i=r+l-n;a.push(!e.finite||l>=0?o.createElement(eS,{key:i,slide:t[(l+c*t.length)%t.length],offset:l-n}):o.createElement(eP,{key:i}))}a.push(o.createElement(eS,{key:r,slide:t[n],offset:0}));for(let l=n+1;l<=n+c;l+=1){let i=r+l-n;a.push(!e.finite||l<=t.length-1?o.createElement(eS,{key:i,slide:t[l%t.length],offset:l-n}):o.createElement(eP,{key:i}))}}return o.createElement("div",{ref:l,className:m(p(ek()),a.length>0&&p(ek("with_slides"))),style:{[`${g(ek("slides_count"))}`]:a.length,[`${g(ek("spacing_px"))}`]:i.pixel||0,[`${g(ek("spacing_percent"))}`]:i.percent||0,[`${g(ek("padding_px"))}`]:u.pixel||0,[`${g(ek("padding_percent"))}`]:u.percent||0}},a)});function eL({label:e,icon:t,renderIcon:n,action:r,onClick:l,disabled:i,style:u}){return o.createElement(q,{label:e,icon:t,renderIcon:n,className:p(`navigation_${r}`),disabled:i,onClick:l,style:u,...ef(eM().focus,i)})}let eI=d(a.Op,function({carousel:{finite:e},animation:t,render:{buttonPrev:n,buttonNext:r,iconPrev:l,iconNext:i},styles:u}){var c;let{slides:s,currentIndex:d}=H(),{prev:f,next:h,subscribeSensors:m}=eM(),v=eh(),p=0===s.length||e&&0===d,g=0===s.length||e&&d===s.length-1,E=(null!==(c=t.navigation)&&void 0!==c?c:t.swipe)/2,b=em(f,E),w=em(h,E),y=ec(e=>{e.key!==a.Sl||(v?g:p)||(v?w:b)(),e.key!==a.NH||(v?p:g)||(v?b:w)()});return o.useEffect(()=>m(a.ds,y),[m,y]),o.createElement(o.Fragment,null,n?n():o.createElement(eL,{label:"Previous",action:a.KN,icon:ee,renderIcon:l,style:u.navigationPrev,disabled:p,onClick:f}),r?r():o.createElement(eL,{label:"Next",action:a.Eb,icon:et,renderIcon:i,style:u.navigationNext,disabled:g,onClick:h}))}),eF=p(a.Tf),e$=p(a.M9);function ez(e,t,n){let r=window.getComputedStyle(e),l=n?"padding-left":"padding-right",i=n?r.paddingLeft:r.paddingRight,u=e.style.getPropertyValue(l);return e.style.setProperty(l,`${(parseInt(i,10)||0)+t}px`),()=>{u?e.style.setProperty(l,u):e.style.removeProperty(l)}}let eO=d(a.HE,function({children:e}){let t=eh();return el(()=>{let e=[],{body:n,documentElement:r}=document,l=Math.round(window.innerWidth-r.clientWidth);if(l>0){e.push(ez(n,l,t));let r=n.getElementsByTagName("*");for(let n=0;n<r.length;n+=1){let i=r[n];"style"in i&&"fixed"===window.getComputedStyle(i).getPropertyValue("position")&&!i.classList.contains(e$)&&e.push(ez(i,l,t))}}return n.classList.add(eF),()=>
1{n.classList.remove(eF),e.forEach(e=>e())}},[t]),o.createElement(o.Fragment,null,e)});function e_(e,t,n){let r=e.getAttribute(t);return e.setAttribute(t,n),()=>{r?e.setAttribute(t,r):e.removeAttribute(t)}}let eD=d(a.SA,function({children:e,animation:t,styles:n,className:r,on:l,portal:i,close:u}){let[d,f]=o.useState(!1),[h,v]=o.useState(!1),b=o.useRef([]),{setTimeout:w}=Y(),{subscribe:y}=O(),x=ei(),M=x?0:t.fade;o.useEffect(()=>(f(!0),()=>{f(!1),v(!1)}),[]);let N=ec(()=>{var e;v(!1),null===(e=l.exiting)||void 0===e||e.call(l),w(()=>{var e;null===(e=l.exited)||void 0===e||e.call(l),u()},M)});o.useEffect(()=>y(a.t9,N),[y,N]);let k=ec(e=>{var t,n,r;e.scrollTop,v(!0),null===(t=l.entering)||void 0===t||t.call(l);let i=null!==(r=null===(n=e.parentNode)||void 0===n?void 0:n.children)&&void 0!==r?r:[];for(let t=0;t<i.length;t+=1){let n=i[t];-1===["TEMPLATE","SCRIPT","STYLE"].indexOf(n.tagName)&&n!==e&&(b.current.push(e_(n,"inert","true")),b.current.push(e_(n,"aria-hidden","true")))}w(()=>{var e;null===(e=l.entered)||void 0===e||e.call(l)},M)}),C=ec(()=>{b.current.forEach(e=>e()),b.current=[]}),S=o.useCallback(e=>{e?k(e):C()},[k,C]);return d?(0,c.createPortal)(o.createElement("div",{ref:S,className:m(r,p("root"),p(E(a.SA,void 0)),p(a.M9),h&&p(E(a.SA,"open"))),role:"presentation","aria-live":"polite",style:{...t.fade!==s.animation.fade?{[g("fade_animation_duration")]:`${M}ms`}:null,...t.easing.fade!==s.animation.easing.fade?{[g("fade_animation_timing_function")]:t.easing.fade}:null,...n.root}},e),i.root||document.body):null}),eT=d(a.lT,function({children:e}){return o.createElement(o.Fragment,null,e)}),eW=d(a.hb,function({toolbar:{buttons:e},render:{buttonClose:t,iconClose:n},styles:r}){let{close:l,setToolbarWidth:i}=eM(),{setContainerRef:u,containerRect:c}=eo();el(()=>{i(null==c?void 0:c.width)},[i,null==c?void 0:c.width]);let s=()=>t?t():o.createElement(q,{key:a.t9,label:"Close",icon:G,renderIcon:n,onClick:l});return o.createElement("div",{ref:u,style:r.toolbar,className:p(E(a.hb,void 0)),...function(){let e=e=>{e.stopPropagation()};return{onPointerDown:e,onKeyDown:e,onWheel:e}}()},null==e?void 0:e.map(e=>e===a.t9?s():e))});function eA({carousel:e,animation:t,render:n,toolbar:r,controller:l,on:i,plugins:u,slides:c,index:d,...m}){let{animation:v,carousel:p,render:g,toolbar:E,controller:b,on:w,slides:y,index:x,plugins:M,...N}=s,{config:k,augmentation:C}=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;(null==n?void 0:n.children)&&t.push(...n.children)}return!1},i=(e,t)=>{if(""===e){r=[f(t,r)];return}r=h(r,e,e=>[f(t,[e])])},u=(e,t)=>{r=h(r,e,e=>[f(e.module,[f(t,e.children)])])},o=(e,t,n)=>{r=h(r,e,e=>{var r;return[f(e.module,[...n?[f(t)]:[],...null!==(r=e.children)&&void 0!==r?r:[],...n?[]:[f(t)]])]})},c=(e,t,n)=>{r=h(r,e,e=>[...n?[f(t)]:[],e,...n?[]:[f(t)]])},s=e=>{u(a.l4,e)},d=(e,t)=>{r=h(r,e,e=>[f(t,e.children)])},m=e=>{r=h(r,e,e=>e.children)},v=e=>{n.push(e)};return t.forEach(e=>{e({contains:l,addParent:i,append:u,addChild:o,addSibling:c,addModule:s,replace:d,remove:m,augment:v})}),{config:r,augmentation:e=>n.reduce((e,t)=>t(e),e)}}([f(eD,[f(eO,[f(eN,[f(eR),f(eW),f(eI)])])])],u||M),S=C({animation:function(e,t={}){let{easing:n,...r}=e,{easing:l,...i}=t;return{easing:{...n,...l},...r,...i}}(v,t),carousel:{...p,...e},render:{...g,...n},toolbar:{...E,...r},controller:{...b,...l},on:{...w,...i},...N,...m});return S.open?o.createElement(W,{...S},o.createElement(Z,{slides:c||y,index:d||x},o.createElement(K,null,o.createElement(_,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)))}(f(eT,k),S))))):null}},85261:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(66249),l=n(67294),i=n(56567);let u={auto:!1,ref:null},o=e=>({...u,...e}),a=l.createContext(null),c=(0,r.Fy)("useFullscreen","FullscreenContext",a);function s({fullscreen:e,children:t}){let{auto:n,ref:u}=o(e),c=l.useRef(null),[s,d]=l.useState(!1),[f,h]=l.useState();(0,r.bt)(()=>{var e,t,n,r;h(!(null!==(r=null!==(n=null!==(t=null!==(e=document.fullscreenEnabled)&&void 0!==e?e:document.webkitFullscreenEnabled)&&void 0!==t?t:document.mozFullScreenEnabled)&&void 0!==n?n:document.msFullscreenEnabled)&&void 0!==r&&r))},[]);let m=l.useCallback(()=>{var e,t,n;return null!==(n=null!==(t=null!==(e=document.fullscreenElement)&&void 0!==e?e:document.webkitFullscreenElement)&&void 0!==t?t:document.mozFullScreenElement)&&void 0!==n?n:document.msFullscreenElement},[]),v=l.useCallback(()=>
1{let e=c.current;if(e)try{e.requestFullscreen?e.requestFullscreen().catch(()=>{}):e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.msRequestFullscreen&&e.msRequestFullscreen()}catch(e){}},[]),p=l.useCallback(()=>{if(m())try{document.exitFullscreen?document.exitFullscreen().catch(()=>{}):document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen()}catch(e){}},[m]),g=l.useCallback(()=>{m()===c.current?d(!0):d(!1)},[m]);l.useEffect(()=>{let e=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"];return e.forEach(e=>{document.addEventListener(e,g)}),()=>{e.forEach(e=>{document.removeEventListener(e,g)})}},[g]);let E=(0,r.$0)(()=>{var e;return null===(e=n?v:null)||void 0===e?void 0:e()});l.useEffect(()=>(E(),()=>p()),[E,p]);let b=l.useMemo(()=>({fullscreen:s,disabled:f,enter:v,exit:p}),[s,f,v,p]);return l.useImperativeHandle(u,()=>b,[b]),l.createElement("div",{ref:c,className:(0,r.Wy)((0,r.Nc)(i.zr),(0,r.Nc)(i.yS))},l.createElement(a.Provider,{value:b},t))}let d=(0,r.U2)("EnterFullscreen",l.createElement("path",{d:"M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"})),f=(0,r.U2)("ExitFullscreen",l.createElement("path",{d:"M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z"}));function h(){var e;let{fullscreen:t,disabled:n,enter:i,exit:u}=c(),{render:o}=(0,r.RD)();return n?null:o.buttonFullscreen?l.createElement(l.Fragment,null,null===(e=o.buttonFullscreen)||void 0===e?void 0:e.call(o,{fullscreen:t,disabled:n,enter:i,exit:u})):l.createElement(r.hU,{disabled:n,label:t?"Exit Fullscreen":"Enter Fullscreen",icon:t?f:d,renderIcon:t?o.iconExitFullscreen:o.iconEnterFullscreen,onClick:t?u:i})}function m({augment:e,contains:t,addParent:n}){e(({fullscreen:e,toolbar:t,...n})=>({toolbar:(0,r.wQ)(t,i.zr,l.createElement(h,null)),fullscreen:o(e),...n})),n(t(i.dA)?i.dA:i.l4,(0,r.l6)(i.zr,s))}},83916:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(66249),l=n(67294),i=n(56567);let u={autoplay:!1,delay:3e3,ref:null},o=e=>({...u,...e}),a=l.createContext(null),c=(0,r.Fy)("useSlideshow","SlideshowContext",a);function s({slideshow:e,carousel:{finite:t},on:n,children:u}){let{autoplay:c,delay:s,ref:d}=o(e),f=l.useRef(c),[h,m]=l.useState(c),v=l.useRef(),p=l.useRef(),{slides:g,currentIndex:E}=(0,r.oc)(),{setTimeout:b,clearTimeout:w}=(0,r.aU)(),{subscribe:y}=(0,r.hI)(),{next:x}=(0,r.bc)(),M=0===g.length||t&&E===g.length-1,N=l.useCallback(()=>{h||M||m(!0)},[h,M]),k=l.useCallback(()=>{h&&m(!1)},[h]),C=l.useCallback(()=>{w(v.current),v.current=void 0},[w]),S=(0,r.$0)(()=>{C(),h&&!M&&p.current!==i.Xe&&p.current!==i.hP&&(v.current=b(()=>{h&&(p.current=void 0,x())},s))});l.useEffect(S,[E,h,S]),l.useEffect(()=>{h&&M&&m(!1)},[E,h,M]);let P=(0,r.$0)(()=>{var e;return null===(e=n.slideshowStart)||void 0===e?void 0:e.call(n)}),R=(0,r.$0)(()=>{var e;return null===(e=n.slideshowStop)||void 0===e?void 0:e.call(n)});l.useEffect(()=>{h?P():f.current&&R(),f.current=h},[h,P,R]),l.useEffect(()=>(0,r.Eq)(C,y(i.p7,()=>{p.current=i.Xe,C()}),y(i.fV,()=>{p.current=i.hP,C()}),y(i.vP,()=>{p.current=i.fS,S()}),y(i.LN,()=>{p.current=i.Zv,S()})),[y,C,S]);let L=l.useMemo(()=>({playing:h,disabled:M,play:N,pause:k}),[h,M,N,k]);return l.useImperativeHandle(d,()=>L,[L]),l.createElement(a.Provider,{value:L},u)}let d=(0,r.U2)("Play",l.createElement("path",{d:"M8 5v14l11-7z"})),f=(0,r.U2)("Pause",l.createElement("path",{d:"M6 19h4V5H6v14zm8-14v14h4V5h-4z"}));function h(){let{playing:e,disabled:t,play:n,pause:i}=c(),{render:u}=(0,r.RD)(),o=(0,r.d8)((0,r.bc)().focus,t);return u.buttonSlideshow?l.createElement(l.Fragment,null,u.buttonSlideshow({playing:e,disabled:t,play:n,pause:i})):l.createElement(r.hU,{label:e?"Pause":"Play",icon:e?f:d,renderIcon:e?u.iconSlideshowPause:u.iconSlideshowPlay,onClick:e?i:n,disabled:t,...o})}function m({augment:e,addModule:t}){e(({slideshow:e,toolbar:t,...n})=>({toolbar:(0,r.wQ)(t,i.HY,l.createElement(h,null)),slideshow:o(e),...n})),t((0,r.l6)(i.HY,s))}},23685:function(e,t,n){"use strict";n.d(t,{Z:function(){return L}});var r=n(66249),l=n(67294),i=n(56567);let u={ref:null,position:"bottom",width:120,height:80,border:1,borderRadius:4,padding:4,gap:16,imageFit:"contain",vignette:!0},o=e=>({...u,...e});function a(){let{thumbnails:e}=(0,r.RD)();return o(e)}let c=e=>(0,r.Xl)(i.dA,e),s=e=>c((0,r.Xl)("thumbnail",e)),d=(0,r.U2)("VideoThumbnail",l.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"})),f=(0,r.U2)("UnknownThumbnail",l.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"})),h=(0,r.cO)("active"),m=(0,r.cO)("fadein"),v=(0,r.cO)("fadeout"),p=(0,r.cO)("placeholder"),g="delay",E="duration";function b({slide:e,onClick:t,active:n,fadeIn:u,fadeOut:o,placeholder:b}){let{render:w,styles:y}=(0,r.RD)(),{width:x,height:M,imageFit:N}=a();return l.createElement("button",{type:"button",className:(0,r.Wy)((0,r.Nc)(i.aN),(0,r.Nc)(s()),n&&(0,r.Nc)(s(h())),u&&(0,r.Nc)(s(m())),o&&(0,r.Nc)(s(v())),b&&(0,r.Nc)(s(p()))),style:{...u?{[(0,r.gJ)(s(m(E)))]:`${u.duration}ms`,[(0,r.gJ)(s(m(g)))]:`${u.delay}ms`}:null,...o?{[(0,r.gJ)(s(v(E)))]:`${o.duration}ms`,[(0,r.gJ)(s(v(g)))]:`${o.delay}ms`}:null,...y.thumbnail},onClick:t},e&&function({slide:e,render:t,rect:n,imageFit:u}){var o;let a=null===(o=t.thumbnail)||void 0===o?void 0:o.call(t,{slide:e,render:t,rect:n,imageFit:u});if(a)return a;let h=(0,r.Nc)(s(i.vg));return(0,r.QB)(e)?l.createElement(r.P0,{slide:e,render:t,rect:n,imageFit:u}):"video"===e.type?l.createElement(l.Fragment,null,"poster"in e&&l.createElement("img",{alt:"",src:e.poster,className:(0,r.Wy)((0,r.Nc)(i.yS),(0,r.Nc)(c("contain_image")))}),l.createElement(d,{className:h})):l.createElement(f,{className:h})}({slide:e,render:w,rect:{width:x,height:M},imageFit:N}))}function w(e){return["top","bottom"].includes(e)}function y(e,t,n){return t+2*(e.border+e.padding)+(n?e.gap:0)}function x({visible:e,containerRef:t}){let n=l.useRef(null),{carousel:o,styles:d}=(0,r.RD)(),{slides:f,globalIndex:h,animation:m}=(0,r.oc)(),{publish:v,subscribe:p}=(0,r.hI)(),g=(0,r.Su)(),E=a(),{position:x,width:M,height:N,border:k,borderRadius:C,padding:S,gap:P,vignette:R}=E,L=(null==m?void 0:m.duration)||0,I=L>0&&(null==m?void 0:m.increment)||0,{prepareAnimation:F}=(0,r._7)(n,e=>({keyframes:w(x)?[{transform:`translateX(${(g?-1:1)*y(E,M,!0)*I+e}px)`},{transform:"translateX(0)"}]:[{transform:`translateY(${y(E,N,!0)*I+e}px)`},{transform:"translateY(0)"}],duration:L,easing:null==m?void 0:m.easing})),$=(0,r.$0)(()=>{let e=0;if(t.current&&n.current){let r=t.current.getBoundingClientRect(),l=n.current.getBoundingClientRect();e=w(x)?l.left-r.left-(r.width-l.width)/2:l.top-r.top-(r.height-l.height)/2}F(e)});l.useEffect(()=>(0,r.Eq)(p(i.Tn,$)),[p,$]);let{finite:z}=o,O=Math.min(o.preload,Math.floor(f.length/2)),_=[];
1if((0,r.Ju)(f)){if(I<0)for(let e=h-O+I;e<h-O;e+=1)_.push({slide:null,index:e,placeholder:!0});for(let e=h-O-Math.max(I,0);e<h;e+=1)z&&e<0?_.push({slide:null,index:e,placeholder:!0}):_.push({slide:(0,r.CT)(f,e),index:e});_.push({slide:(0,r.CT)(f,h),index:h});for(let e=h+1;e<=h+O-Math.min(I,0);e+=1)!z||e<=f.length-1?_.push({slide:(0,r.CT)(f,e),index:e}):_.push({slide:null,index:e,placeholder:!0});if(I>0)for(let e=h+O+1;e<=h+O+I;e+=1)_.push({slide:null,index:e,placeholder:!0})}let D=e=>()=>{e>h?v(i.Eb,{count:e-h}):e<h&&v(i.KN,{count:h-e})};return l.createElement("div",{className:(0,r.Wy)((0,r.Nc)(c("container")),(0,r.Nc)(i.aN)),style:{...e?null:{display:"none"},...M!==u.width?{[(0,r.gJ)(s("width"))]:`${y(E,M)}px`}:null,...N!==u.height?{[(0,r.gJ)(s("height"))]:`${y(E,N)}px`}:null,...k!==u.border?{[(0,r.gJ)(s("border"))]:`${k}px`}:null,...C!==u.borderRadius?{[(0,r.gJ)(s("border_radius"))]:`${C}px`}:null,...S!==u.padding?{[(0,r.gJ)(s("padding"))]:`${S}px`}:null,...P!==u.gap?{[(0,r.gJ)(s("gap"))]:`${P}px`}:null,...d.thumbnailsContainer}},l.createElement("nav",{ref:n,style:d.thumbnailsTrack,className:(0,r.Wy)((0,r.Nc)(c("track")),(0,r.Nc)(i.aN))},_.map(({slide:e,index:t,placeholder:n})=>{let r=L/Math.abs(I||1);return l.createElement(b,{key:t,slide:e,active:t===h,fadeIn:I>0&&t>h+O-I&&t<=h+O||I<0&&t<h-O-I&&t>=h-O?{duration:r,delay:((I>0?t-(h+O-I):h-O-I-t)-1)*r}:void 0,fadeOut:I>0&&t<h-O||I<0&&t>h+O?{duration:r,delay:(I>0?I-(h-O-t):-I-(t-(h+O)))*r}:void 0,placeholder:Boolean(n),onClick:D(t)})})),R&&l.createElement("div",{className:(0,r.Nc)(c("vignette"))}))}let M=l.createContext(null),N=(0,r.Fy)("useThumbnails","ThumbnailsContext",M);function k({children:e,...t}){let[n,i]=l.useState(!0),u=l.useRef(null),{ref:a,position:s}=o(t.thumbnails),d=l.useMemo(()=>({visible:n,show:()=>i(!0),hide:()=>i(!1)}),[n]);return l.useImperativeHandle(a,()=>d,[d]),l.createElement(r.OV,{...t},l.createElement(M.Provider,{value:d},l.createElement("div",{ref:u,className:(0,r.Wy)((0,r.Nc)(c()),(0,r.Nc)(c(`${s}`)))},["start","top"].includes(s)&&l.createElement(x,{containerRef:u,visible:n}),l.createElement("div",{className:(0,r.Nc)(c("wrapper"))},e),["end","bottom"].includes(s)&&l.createElement(x,{containerRef:u,visible:n}))))}let C=()=>l.createElement(l.Fragment,null,l.createElement("path",{strokeWidth:2,stroke:"currentColor",strokeLinejoin:"round",fill:"none",d:"M3 5l18 0l0 14l-18 0l0-14z"}),l.createElement("path",{d:"M5 14h4v3h-4zM10 14h4v3h-4zM15 14h4v3h-4z"})),S=(0,r.U2)("ThumbnailsVisible",C()),P=(0,r.TX)("ThumbnailsHidden",C());function R(){let{visible:e,show:t,hide:n}=N(),{render:i}=(0,r.RD)();return i.buttonThumbnails?l.createElement(l.Fragment,null,i.buttonThumbnails({visible:e,show:t,hide:n})):l.createElement(r.hU,{label:e?"Hide thumbnails":"Show thumbnails",
1icon:e?S:P,renderIcon:e?i.iconThumbnailsVisible:i.iconThumbnailsHidden,onClick:e?n:t})}function L({augment:e,contains:t,append:n,addParent:u}){e(({thumbnails:e,toolbar:t,...n})=>{let u=o(e);return{toolbar:(0,r.wQ)(t,i.dA,u.showToggle?l.createElement(R,null):null),thumbnails:u,...n}});let a=(0,r.l6)(i.dA,k);t(i.zr)?n(i.zr,a):u(i.l4,a)}},35644:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(66249),l=n(67294),i=n(56567);let u={maxZoomPixelRatio:1,zoomInMultiplier:2,doubleTapDelay:300,doubleClickDelay:500,doubleClickMaxStops:2,keyboardMoveDistance:50,wheelZoomDistanceFactor:100,pinchZoomDistanceFactor:100,scrollToZoom:!1},o=e=>({...u,...e});function a(){let{zoom:e}=(0,r.RD)();return o(e)}function c(e,t){return((e.clientX-t.clientX)**2+(e.clientY-t.clientY)**2)**.5}let s=l.createContext(null),d=(0,r.Fy)("useZoom","ZoomControllerContext",s);function f({children:e}){let[t,n]=l.useState(),{slideRect:u}=(0,r.bc)(),{imageRect:o,maxZoom:d}=function(e,t){var n,l;let i={width:0,height:0},u={width:0,height:0},{slides:o,currentIndex:c}=(0,r.oc)(),{imageFit:s}=(0,r.RD)().carousel,{maxZoomPixelRatio:d}=a();if(e&&c<o.length){let a={...o[c],...t};if((0,r.QB)(a)){let t=(0,r.VI)(a,s),o=Math.max(...((null===(n=a.srcSet)||void 0===n?void 0:n.map(e=>e.width))||[]).concat(a.width?[a.width]:[])),c=Math.max(...((null===(l=a.srcSet)||void 0===l?void 0:l.map(e=>e.height))||[]).concat(a.height?[a.height]:[]));o>0&&c>0&&e.width>0&&e.height>0&&(u={width:(u=t?{width:Math.round(Math.min(o,e.width/e.height*c)),height:Math.round(Math.min(c,e.height/e.width*o))}:{width:o,height:c}).width*d,height:u.height*d},i=t?{width:Math.min(e.width,u.width,o),height:Math.min(e.height,u.height,c)}:{width:Math.round(Math.min(e.width,e.height/c*o,o)),height:Math.round(Math.min(e.height,e.width/o*c,c))})}}let f=i.width?Math.max((0,r.NM)(u.width/i.width,5),1):1;return{imageRect:i,maxZoom:f}}(u,null==t?void 0:t.imageDimensions),{zoom:f,offsetX:h,offsetY:m,disabled:v,changeZoom:p,changeOffsets:g,zoomIn:E,zoomOut:b}=function(e,t,n){let[i,u]=l.useState(1),[o,c]=l.useState(0),[s,d]=l.useState(0),f=function(e,t,n,i){let u=l.useRef(),o=l.useRef(),{zoom:a}=(0,r.RD)().animation,c=(0,r.OL)(),s=(0,r.$0)(()=>{var r,l,s;if(null===(r=u.current)||void 0===r||r.cancel(),u.current=void 0,o.current&&(null==i?void 0:i.current)){try{u.current=null===(s=(l=i.current).animate)||void 0===s?void 0:s.call(l,[{transform:o.current},{transform:`scale(${e}) translateX(${t}px) translateY(${n}px)`}],{duration:c?0:null!=a?a:500,easing:u.current?"ease-out":"ease-in-out"})}catch(e){console.error(e)}o.current=void 0,u.current&&(u.current.onfinish=()=>{u.current=void 0})}});return(0,r.bt)(s,[e,t,n,s]),l.useCallback(()=>{o.current=(null==i?void 0:i.current)?window.getComputedStyle(i.current).transform:void 0},[i])}(i,o,s,n),{slides:h,currentIndex:m,globalIndex:v}=(0,r.oc)(),{containerRect:p,slideRect:g}=(0,r.bc)(),{zoomInMultiplier:E}=a(),b=function(e,t){if(t<e.length){let n=e[t];if((0,r.QB)(n))return n.src}}(h,m),w=!b||!(null==n?void 0:n.current);(0,r.bt)(()=>{u(1),c(0),d(0)},[v,b]);let y=l.useCallback((t,n,r)=>{let l=r||i,u=o-(t||0),a=s-(n||0),f=(e.width*l-g.width)/2/l,h=(e.height*l-g.height)/2/l;c(Math.min(Math.abs(u),Math.max(f,0))*Math.sign(u)),d(Math.min(Math.abs(a),Math.max(h,0))*Math.sign(a))},[i,o,s,g,e.width,e.height]),x=l.useCallback((e,n,l,o)=>{let a=(0,r.NM)(Math.min(Math.max(e+.001<t?e:t,1),t),5);a!==i&&(n||f(),y(l?l*(1/i-1/a):0,o?o*(1/i-1/a):0,a),u(a))},[i,t,y,f]),M=(0,r.$0)(()=>{i>1&&(i>t&&x(t,!0),y())});(0,r.bt)(M,[p.width,p.height,M]);let N=l.useCallback(()=>x(i*E),[i,E,x]),k=l.useCallback(()=>x(i/E),[i,E,x]);return{zoom:i,offsetX:o,offsetY:s,disabled:w,changeOffsets:y,changeZoom:x,zoomIn:N,zoomOut:k}}(o,d,null==t?void 0:t.zoomWrapperRef);!function(e,t){let{on:n}=(0,r.RD)(),i=(0,r.$0)(()=>{var r;t||null===(r=n.zoom)||void 0===r||r.call(n,{zoom:e})});l.useEffect(i,[e,i])}(f,v),function(e,t,n,u,o,s){let d=l.useRef([]),f=l.useRef(0),h=l.useRef(),{globalIndex:m}=(0,r.oc)(),{containerRef:v,subscribeSensors:p}=(0,r.bc)(),{keyboardMoveDistance:g,zoomInMultiplier:E,wheelZoomDistanceFactor:b,scrollToZoom:w,doubleTapDelay:y,doubleClickDelay:x,doubleClickMaxStops:M,pinchZoomDistanceFactor:N}=a(),k=l.useCallback(e=>{if(v.current){let{pageX:t,pageY:n}=e,{scrollX:r,scrollY:l}=window,{left:i,top:u,width:o,height:a}=v.current.getBoundingClientRect();return[t-i-r-o/2,n-u-l-a/2]}return[]},[v]),C=(0,r.$0)(t=>{let n=()=>{t.preventDefault(),t.stopPropagation()};if(e>1){let e=(e,t)=>
1{n(),o(e,t)};"ArrowDown"===t.key?e(0,g):"ArrowUp"===t.key?e(0,-g):"ArrowLeft"===t.key?e(-g,0):"ArrowRight"===t.key&&e(g,0)}let r=e=>{n(),u(e)},l=()=>t.getModifierState("Meta");"+"===t.key||"="===t.key&&l()?r(e*E):"-"===t.key||"_"===t.key&&l()?r(e/E):"0"===t.key&&l()&&r(1)}),S=(0,r.$0)(t=>{if((t.ctrlKey||w)&&Math.abs(t.deltaY)>Math.abs(t.deltaX)){t.stopPropagation(),u(e*(1-t.deltaY/b),!0,...k(t));return}e>1&&(t.stopPropagation(),w||o(t.deltaX,t.deltaY))}),P=l.useCallback(e=>{let t=d.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),R=l.useCallback(e=>{P(e),e.persist(),d.current.push(e)},[P]),L=(0,r.$0)(n=>{var r;let l=d.current;if(!(null===(r=null==s?void 0:s.current)||void 0===r?void 0:r.contains(n.target)))return;e>1&&n.stopPropagation();let{timeStamp:i}=n;0===l.length&&i-f.current<("touch"===n.pointerType?y:x)?(f.current=0,u(e!==t?e*Math.max(t**(1/M),E):1,!1,...k(n))):f.current=i,R(n),2===l.length&&(h.current=c(l[0],l[1]))}),I=(0,r.$0)(t=>{let n=d.current,r=n.find(e=>e.pointerId===t.pointerId);if(2===n.length&&h.current){t.stopPropagation(),R(t);let r=c(n[0],n[1]),l=r-h.current;Math.abs(l)>0&&(u(e*(1+l/N),!0,...n.map(e=>k(e)).reduce((e,t)=>t.map((t,n)=>e[n]+t/2))),h.current=r);return}e>1&&(t.stopPropagation(),r&&(1===n.length&&o((r.clientX-t.clientX)/e,(r.clientY-t.clientY)/e),R(t)))}),F=l.useCallback(e=>{let t=d.current;2===t.length&&t.find(t=>t.pointerId===e.pointerId)&&(h.current=void 0),P(e)},[P]),$=l.useCallback(()=>{let e=d.current;e.splice(0,e.length),f.current=0,h.current=void 0},[]);(0,r.bQ)(p,L,I,F,n),l.useEffect($,[m,$]),l.useEffect(()=>n?()=>{}:(0,r.Eq)($,p(i.ds,C),p(i.yq,S)),[n,p,$,C,S])}(f,d,v,p,g,null==t?void 0:t.zoomWrapperRef);let w=l.useMemo(()=>({zoom:f,maxZoom:d,offsetX:h,offsetY:m,disabled:v,zoomIn:E,zoomOut:b}),[f,d,h,m,v,E,b]);l.useImperativeHandle(a().ref,()=>w,[w]);let y=l.useMemo(()=>({...w,setZoomWrapper:n}),[w,n]);return l.createElement(s.Provider,{value:y},e)}let h=(0,r.U2)("ZoomIn",l.createElement(l.Fragment,null,l.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"}),l.createElement("path",{d:"M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"}))),m=(0,r.U2)("ZoomOut",l.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=l.forwardRef(function({zoomIn:e,onLoseFocus:t},n){let i=l.useRef(!1),u=l.useRef(!1),{zoom:o,maxZoom:a,zoomIn:c,zoomOut:s,disabled:f}=d(),{render:v}=(0,r.RD)(),p=f||(e?o>=a:o<=1);return l.useEffect(()=>{p&&i.current&&u.current&&t(),p||(i.current=!0)},[p,t]),l.createElement(r.hU,{ref:n,disabled:p,label:e?"Zoom in":"Zoom out",icon:e?h:m,renderIcon:e?v.iconZoomIn:v.iconZoomOut,onClick:e?c:s,onFocus:()=>{u.current=!0},onBlur:()=>{u.current=!1}})});function p(){let e=l.useRef(null),t=l.useRef(null),{focus:n}=(0,r.bc)(),i=l.useCallback(e=>{var t,r;(null===(t=e.current)||void 0===t?void 0:t.disabled)?n():null===(r=e.current)||void 0===r||r.focus()},[n]),u=l.useCallback(()=>i(e),[i]),o=l.useCallback(()=>i(t),[i]);return l.createElement(l.Fragment,null,l.createElement(v,{zoomIn:!0,ref:e,onLoseFocus:o}),l.createElement(v,{ref:t,onLoseFocus:u}))}function g(){let{render:e}=(0,r.RD)(),t=d();
1return e.buttonZoom?l.createElement(l.Fragment,null,e.buttonZoom(t)):l.createElement(p,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.c3)}}function b(e){var t,n;let[{current:i,preload:u},o]=l.useReducer(E,{}),{slide:a,rect:c,imageFit:s,render:d}=e,f=a.srcSet.sort((e,t)=>e.width-t.width),h=null!==(t=a.width)&&void 0!==t?t:f[f.length-1].width,m=null!==(n=a.height)&&void 0!==n?n:f[f.length-1].height,v=(0,r.VI)(a,s),p=Math.max(...f.map(e=>e.width)),g=Math.min((v?Math.max:Math.min)(c.width,h*(c.height/m)),p),b=(0,r.KL)(),w=(0,r.$0)(()=>{var e;let t=null!==(e=f.find(e=>e.width>=g*b))&&void 0!==e?e:f[f.length-1];(!i||f.findIndex(e=>e.src===i)<f.findIndex(e=>e===t))&&o({type:"fetch",source:t.src})});(0,r.bt)(w,[c.width,c.height,b,w]);let y=(0,r.$0)(e=>o({type:"done",source:e})),x={WebkitTransform:"translateZ(0)"};return v||Object.assign(x,c.width/c.height<h/m?{width:"100%",height:"auto"}:{width:"auto",height:"100%"}),l.createElement(l.Fragment,null,u&&u!==i&&l.createElement(r.P0,{key:"preload",...e,slide:{...a,src:u,srcSet:void 0},style:{position:"absolute",visibility:"hidden",...x},onLoad:()=>y(u),render:{...d,iconLoading:()=>null,iconError:()=>null}}),i&&l.createElement(r.P0,{key:"current",...e,slide:{...a,src:i,srcSet:void 0},style:x}))}function w({render:e,slide:t,offset:n,rect:u}){var o,a;let[c,s]=l.useState(),f=l.useRef(null),{zoom:h,maxZoom:m,offsetX:v,offsetY:p,setZoomWrapper:g}=d(),{carousel:E,on:w}=(0,r.RD)(),{currentIndex:y}=(0,r.oc)();(0,r.bt)(()=>0===n?(g({zoomWrapperRef:f,imageDimensions:c}),()=>g(void 0)):()=>{},[n,c,g]);let x=null===(o=e.slide)||void 0===o?void 0:o.call(e,{slide:t,offset:n,rect:u,zoom:h,maxZoom:m});if(!x&&(0,r.QB)(t)){let i={slide:t,offset:n,rect:u,render:e,imageFit:E.imageFit,imageProps:E.imageProps,onClick:0===n?()=>{var e;return null===(e=w.click)||void 0===e?void 0:e.call(w,{index:y})}:void 0};x=((null===(a=t.srcSet)||void 0===a?void 0:a.length)||0)>0?l.createElement(b,{key:t.src,...i,slide:t,rect:0===n?{width:u.width*h,height:u.height*h}:u}):l.createElement(r.P0,{key:t.src,onLoad:e=>s({width:e.naturalWidth,height:e.naturalHeight}),...i})}return x?l.createElement("div",{ref:f,className:(0,r.Wy)((0,r.Nc)(i.yS),(0,r.Nc)(i.aN)),style:0===n?{transform:`scale(${h}) translateX(${v}px) translateY(${p}px)`}:void 0},x):null}let y=({augment:e,addModule:t})=>{e(({toolbar:e,render:t,zoom:n,...u})=>({zoom:o(n),toolbar:(0,r.wQ)(e,i.xc,l.createElement(g,null)),render:{...t,slide:e=>{var n;return(0,r.QB)(e.slide)?l.createElement(w,{render:t,...e}):null===(n=t.slide)||void 0===n?void 0:n.call(t,e)}},...u})),t((0,r.l6)(i.xc,f))}},56567:function(e,t,n){"use strict";n.d(t,{$L:function(){return E},Bm:function(){return T},Eb:function(){return R},HE:function(){return u},HY:function(){return d},J1:function(){return b},KN:function(){return P},LN:function(){return M},M9:function(){return S},N4:function(){return $},NH:function(){return U},NZ:function(){return F},Op:function(){return i},PU:function(){return A},S2:function(){return z},SA:function(){return o},Sl:function(){return H},Tf:function(){return C},Tn:function(){return L},Vt:function(){return _},Xe:function(){return m},Zv:function(){return g},aN:function(){return k},bg:function(){return X},c3:function(){return Y},dA:function(){return f},ds:function(){return D},fS:function(){return p},fV:function(){return y},hP:function(){return v},hb:function(){return c},j3:function(){return Z},k0:function(){return r},l4:function(){return l},lT:function(){return a},p7:function(){return w},pE:function(){return O},rO:function(){return B},t9:function(){return I},vP:function(){return x},vg:function(){return V},xc:function(){return h},yS:function(){return N},yq:function(){return W},zr:function(){return s}});let r="carousel",l="controller",i="navigation",u="no-scroll",o="portal",a="root",c="toolbar",s="fullscreen",d="slideshow",f="thumbnails",h="zoom",m="loading",v="playing",p="error",g="complete",E="placeholder",b=e=>`active-slide-${e}`,w=b(m),y=b(v),x=b(p),M=b(g),N="fullsize",k="flex_center",C="no_scroll",S="no_scroll_padding",P="prev",R="next",L="swipe",I="close",F="onPointerDown",$="onPointerMove",z="onPointerUp",O="onPointerLeave",_="onPointerCancel",D="onKeyDown",T="onKeyUp",W="onWheel",A="Escape",H="ArrowLeft",U="ArrowRight",X="button",V="icon",Z="contain",B="cover",Y="Unknown action type"}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.