1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1404],{1545:(e,t,n)=>{"use strict";n.d(t,{A9:()=>_,Bv:()=>v,C:()=>N,EC:()=>g,Ev:()=>s,HR:()=>b,I1:()=>h,Kv:()=>l,Ky:()=>i,Nc:()=>C,OT:()=>u,P9:()=>p,QQ:()=>f,Qe:()=>d,Qo:()=>m,RK:()=>$,Td:()=>V,Uj:()=>D,V:()=>H,b6:()=>a,e7:()=>O,j7:()=>F,jR:()=>A,jn:()=>z,kJ:()=>o,mY:()=>r,or:()=>T,pc:()=>x,pq:()=>c,qq:()=>k,s:()=>R,sI:()=>M,t$:()=>S,tC:()=>E,tD:()=>P,tu:()=>L,uF:()=>I,vg:()=>w,zn:()=>y});let r="carousel",l="controller",i="navigation",a="no-scroll",o="portal",u="root",c="toolbar",s="captions",d="fullscreen",f="thumbnails",m="loading",h="error",p="complete",v="placeholder",g=e=>`active-slide-${e}`;g(m),g("playing"),g(h),g(p);let E="flex_center",b="no_scroll",w="no_scroll_padding",x="slide_wrapper",y="prev",C="next",M="swipe",N="close",k="onPointerDown",$="onPointerMove",L="onPointerUp",P="onPointerLeave",R="onPointerCancel",I="onKeyDown",S="onKeyUp",F="onWheel",T="Escape",_="ArrowLeft",z="ArrowRight",D="button",A="icon",V="contain",O="cover",H="Unknown action type"},1680:()=>{},2882:()=>{},5779:(e,t,n)=>{"use strict";n.d(t,{A:()=>R});var r=n(4232),l=n(6924),i=n(1545);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"})),f=(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"})),m=(0,l.fh)("active"),h=(0,l.fh)("fadein"),p=(0,l.fh)("fadeout"),v=(0,l.fh)("placeholder"),g="delay",E="duration";function b({slide:e,onClick:t,active:n,fadeIn:a,fadeOut:o,placeholder:c,onLoseFocus:w}){let x=r.useRef(null),{render:y,styles:C}=(0,l.D$)(),{getOwnerDocument:M}=(0,l.uG)(),{width:N,height:k,imageFit:$}=u(),L=(0,l.DK)(w);return r.useEffect(()=>{o&&M().activeElement===x.current&&L()},[o,L,M]),r.createElement("button",{ref:x,type:"button",className:(0,l.$z)((0,l.oF)(i.tC),(0,l.oF)(s()),n&&(0,l.oF)(s(m())),a&&(0,l.oF)(s(h())),o&&(0,l.oF)(s(p())),c&&(0,l.oF)(s(v()))),style:{...a?{[(0,l.Vg)(s(h(E)))]:`${a.duration}ms`,[(0,l.Vg)(s(h(g)))]:`${a.delay}ms`}:null,...o?{[(0,l.Vg)(s(p(E)))]:`${o.duration}ms`,[(0,l.Vg)(s(p(g)))]:`${o.delay}ms`}:null,...C.thumbnail},onClick: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 m=(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:m})):r.createElement(f,{className:m})}({slide:e,render:y,rect:{width:N,height:k},imageFit:$}))}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:f}=(0,l.LJ)(),{carousel:m,styles:h}=(0,l.D$)(),{slides:p,globalIndex:v,animation:g}=(0,l.mp)(),{registerSensors:E,subscribeSensors:C}=(0,l.Yc)();(0,l.JZ)(C);let M=u(),{position:N,width:k,height:$,border:L,borderStyle:P,borderColor:R,borderRadius:I,padding:S,gap:F,vignette:T}=M,_=(null==g?void 0:g.duration)||0,z=_>0&&(null==g?void 0:g.increment)||0,{prepareAnimation:D}=(0,l.sM)(n,e=>({keyframes:w(N)?[{transform:`translateX(${(o?-1:1)*x(M,k)*z+e}px)`},{transform:"translateX(0)"}]:[{transform:`translateY(${x(M,$)*z+e}px)`},{transform:"translateY(0)"}],duration:_,easing:null==g?void 0:g.easing})),A=(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}D(e)});r.useEffect(()=>(0,l.tP)(f(i.sI,A)),[f,A]);let V=(0,l.eS)(m,p),O=[];if((0,l.DB)(p))for(let e=v-V-Math.abs(z);e<=v+V+Math.abs(z);e+=1){let t=m.finite&&(e<0||e>p.length-1)||z<0&&e<v-V||z>0&&e>v+V?null:(0,l.gZ)(p,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}
1(t)].filter(Boolean).join("|");O.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,...k!==a.width?{[(0,l.Vg)(s("width"))]:`${k}px`}:null,...$!==a.height?{[(0,l.Vg)(s("height"))]:`${$}px`}:null,...L!==a.border?{[(0,l.Vg)(s("border"))]:`${L}px`}:null,...P?{[(0,l.Vg)(s("border_style"))]:P}:null,...R?{[(0,l.Vg)(s("border_color"))]:R}:null,...I!==a.borderRadius?{[(0,l.Vg)(s("border_radius"))]:`${I}px`}:null,...S!==a.padding?{[(0,l.Vg)(s("padding"))]:`${S}px`}:null,...F!==a.gap?{[(0,l.Vg)(s("gap"))]:`${F}px`}:null,...h.thumbnailsContainer}},r.createElement("nav",{ref:n,style:h.thumbnailsTrack,className:(0,l.$z)((0,l.oF)(c("track")),(0,l.oF)(i.tC)),tabIndex:-1,...E},O.map(({key:e,index:t,slide:l})=>{let a=_/Math.abs(z||1),o=z>0&&t>v+V-z&&t<=v+V||z<0&&t<v-V-z&&t>=v-V?{duration:a,delay:((z>0?t-(v+V-z):v-V-z-t)-1)*a}:void 0,u=z>0&&t<v-V||z<0&&t>v+V?{duration:a,delay:(z>0?z-(v-V-t):-z-(t-(v+V)))*a}:void 0;return r.createElement(b,{key:e,slide:l,active:t===v,fadeIn:o,fadeOut:u,placeholder:!l,onClick:()=>{t>v?d(i.Nc,{count:t-v}):t<v&&d(i.zn,{count:v-t})},onLoseFocus:()=>{var e;return null==(e=n.current)?void 0:e.focus()}})})),T&&r.createElement("div",{className:(0,l.oF)(c("vignette"))}))}let C=r.createContext(null),M=(0,l.Tz)("useThumbnails","ThumbnailsContext",C);function N({children:e,...t}){let{ref:n,position:i,hidden:a}=o(t.thumbnails),[u,s]=r.useState(!a),d=r.useRef(null),f=r.useMemo(()=>({visible:u,show:()=>s(!0),hide:()=>s(!1)}),[u]);return r.useImperativeHandle(n,()=>f,[f]),r.createElement(l.RT,{...t},r.createElement(C.Provider,{value:f},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 k=()=>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"})),$=(0,l.wt)("ThumbnailsVisible",k()),L=(0,l.Q5)("ThumbnailsHidden",k());function P(){let{visible:e,show:t,hide:n}=M(),{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?$:L,renderIcon:e?i.iconThumbnailsVisible:i.iconThumbnailsHidden,onClick:e?n:t})}function R({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(P,null):null),thumbnails:a,...n}});let u=(0,l.Fi)(i.QQ,N);t(i.Qe)?n(i.Qe,u):a(i.Kv,u)}},6445:(e,t,n)=>{"use strict";n.d(t,{A:()=>E});var r=n(4232),l=n(6924),i=n(1545);let a=e=>(0,l.oF)(`slide_${e}`),o={descriptionTextAlign:"start",descriptionMaxLines:3,showToggle:!1,hidden:!1},u=e=>({...o,...e}),c=r.createContext(null),s=(0,l.Tz)("useCaptions","CaptionsContext",c);function d({captions:e,children:t}){let{ref:n,hidden:l}=u(e),[i,a]=r.useState(!l),o=r.useMemo(()=>({visible:i,show:()=>a(!0),hide:()=>a(!1)}),[i]);return r.useImperativeHandle(n,()=>o,[o]),r.createElement(c.Provider,{value:o},t)}function f({title:e}){let{toolbarWidth:t}=(0,l.as)(),{styles:n}=(0,l.D$)(),{visible:i}=s();return i?r.createElement("div",{style:n.captionsTitleContainer,className:(0,l.$z)(a("captions_container"),a("title_container"))},r.createElement("div",{className:a("title"),style:{...t?{[(0,l.Vg)("toolbar_width")]:`${t}px`}:null,...n.captionsTitle}},e)):null}function m({description:e}){let{descriptionTextAlign:t,descriptionMaxLines:n}=function(){let{captions:e}=(0,l.D$)();return u(e)}(),{styles:i}=(0,l.D$)(),{visible:c}=s();return c?r.createElement("div",{style:i.captionsDescriptionContainer,className:(0,l.$z)(a("captions_container"),a("description_container"))},r.createElement("div",{className:a("description"),style:{...t!==o.descriptionTextAlign||n!==o.descriptionMaxLines?{[(0,l.Vg)("slide_description_text_align")]:t,[(0,l.Vg)("slide_description_max_lines")]:n}:null,...i.captionsDescription}},"string"==typeof e?e.split("\n").flatMap((e,t)=>[...t>0?[r.createElement("br",{key:t})]:[],e]):e)):null}let h=()=>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:"M7 15h3c.55 0 1-.45 1-1v-1H9.5v.5h-2v-3h2v.5H11v-1c0-.55-.45-1-1-1H7c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1zm7 0h3c.55 0 1-.45 1-1v-1h-1.5v.5h-2v-3h2v.5H18v-1c0-.55-.45-1-1-1h-3c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1z"})),p=(0,l.wt)("CaptionsVisible",h()),v=(0,l.Q5)("CaptionsVisible",h());function g(){let{visible:e,show:t,hide:n}=s(),{render:i}=(0,l.D$)();return i.buttonCaptions?r.createElement(r.Fragment,null,i.buttonCaptions({visible:e,show:t,hide:n})):r.createElement(l.K0,{label:e?"Hide captions":"Show captions",icon:e?p:v,renderIcon:e?i.iconCaptionsVisible:i.iconCaptionsHidden,onClick:e?n:t})}function E({augment:e,addModule:t}){e(({captions:e,render:{slideFooter:t,...n},toolbar:a,...o})=>{let c=u(e);return{render:{slideFooter:({slide:e})=>r.createElement(r.Fragment,null,null==t?void 0:t({slide:e}),e.title&&r.createElement(f,{title:e.title}),e.description&&r.createElement(m,{description:e.description})),...n},toolbar:(0,l.bo)(a,i.Ev,c.showToggle?r.createElement(g,null):null),captions:c,...o}}),t((0,l.Fi)(i.Ev,d))}},6924:(e,t,n)=>{"use strict";n.d(t,{$z:()=>d,Ay:()=>eW,D$:()=>O,DB:()=>y,DK:()=>ed,Fi:()=>R,Hw:()=>N,JZ:()=>eI,K0:()=>J,LJ:()=>D,Q5:()=>ee,RT:()=>H,Tz:()=>g,Vg:()=>m,Yc:()=>ep,Z$:()=>eb,as:()=>eC,bo:()=>k,eS:()=>$,f4:()=>h,fh:()=>p,gZ:()=>C,mp:()=>K,oF:()=>f,sM:()=>eu,tP:()=>v,tx:()=>b,uG:()=>T,wt:()=>G,x3:()=>eh});var r,l,i,a,o=n(4232),u=n(1545),c=n(8477);let s="yarl__";function d(...e){return[...e].filter(Boolean).join(" ")}function f(e){return`${s}${e}`}function m(e){return`--${s}${e}`}function h(e,t){return`${e}${t?`_${t}`:""}`}function p(e){return t=>h(e,t)}function v(...e){return()=>{e.forEach(e=>{e()})}}function g(e,t,n){return()=>{let r=o.useContext(n);if(!r)throw Error(`${e} must be used within a ${t}.Provider`);return r}}function E(){return"u">typeof window}function b(e){return void 0===e.type||"image"===e.type}function w(e){return"string"==typeof e?Number.parseInt(e,10):e}function x(e){if("number"==typeof e)return{pixel:e};if("string"==typeof e){let t=w(e);return e.endsWith("%")?{percent:t}:{pixel:t}}return{pixel:0}}function y(e){return e.length>0}function C(e,t){var n;return e[(n=e.length)>0?(t%n+n)%n:0]}function M(e,t){return y(e)?C(e,t):void 0}function N(e){return b(e)?e.src:void 0}
1function k(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 $(e,t,n=0){return Math.min(e.preload,Math.max(e.finite?t.length-1:Math.floor(t.length/2),n))}let L=Number(o.version.split(".")[0])>=19,P={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},portal:{},noScroll:{disabled:!1},on:{},styles:{},className:""};function R(e,t){return{name:e,component:t}}function I(e,t){return{module:e,children:t}}function S(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?[I(t.module,t.children.flatMap(t=>{var l;return null!=(l=e(t,n,r))?l:[]}))]:[t]}(e,t,n))?r:[]})}let F=o.createContext(null),T=g("useDocument","DocumentContext",F);function _({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(F.Provider,{value:n},t)}let z=o.createContext(null),D=g("useEvents","EventsContext",z);function A({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;null==(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(z.Provider,{value:n},e)}let V=o.createContext(null),O=g("useLightboxProps","LightboxPropsContext",V);function H({children:e,...t}){return o.createElement(V.Provider,{value:t},e)}let W=o.createContext(null),K=g("useLightboxState","LightboxStateContext",W),j=o.createContext(null),B=g("useLightboxDispatch","LightboxDispatchContext",j);function U(e,t){switch(t.type){case"swipe":{var n;let{slides:r}=e,l=(null==t?void 0:t.increment)||0,i=e.globalIndex+l,a=(n=r.length)>0?(i%n+n)%n:0,o=M(r,a);return{slides:r,currentIndex:a,globalIndex:i,currentSlide:o,animation:l||t.duration?{increment:l,duration:t.duration,easing:t.easing}:void 0}}case"update":if(t.slides!==e.slides||t.index!==e.currentIndex)return{slides:t.slides,currentIndex:t.index,globalIndex:t.index,currentSlide:M(t.slides,t.index)};return e;default:throw Error(u.V)}}function Q({slides:e,index:t,children:n}){let[r,l]=o.useReducer(U,{slides:e,currentIndex:t,globalIndex:t,currentSlide:M(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(j.Provider,{value:l},o.createElement(W.Provider,{value:i},n))}let X=o.createContext(null),Y=g("useTimeouts","TimeoutsContext",X);function q({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(X.Provider,{value:n},e)}let J=o.forwardRef(function({label:e,className:t,icon:n,renderIcon:r,onClick:l,style:i,...a},c){var s;let{styles:m,labels:h}=O(),p=null!=(s=null==h?void 0:h[e])?s:e;return o.createElement("button",{ref:c,type:"button",title:p,"aria-label":p,className:d(f(u.Uj),t),onClick:l,style:{...i,...m.button},...a},r?r():o.createElement(n,{className:f(u.jR),style:m.icon}))});function Z(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 G(e,t){return Z(e,o.createElement("g",{fill:"currentColor"},o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t))}function ee(e,t){return Z(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 et=G("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"})),en=G("Previous",o.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),er=G("Next",o.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),el=G("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)))),ei=G("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"})),ea=E()?o.useLayoutEffect:o.useEffect;function eo(){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 eu(e,t){let n=o.useRef(void 0),r=o.useRef(void 0),l=eo();return ea(()=>{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(w);6===e.length?(t=e[4],n=e[5]):16===e.length&&(t=e[12],n=e[13],r=e[14])}return{x:t,y:n,z:r}}(e.current))||{};if(l&&u){null==(i=r.current)||i.cancel(),r.current=void 0;try{r.current=null==(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 ec(){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 es(){let e=o.useRef(void 0),{setTimeout:t,clearTimeout:n}=Y();return o.useCallback((r,l)=>{n(e.current),e.current=t(r,l>0?l:0)},[t,n])}function ed(e){let t=o.useRef(e);return ea(()=>{t.current=e}),o.useCallback((...e)=>{var n;return null==(n=t.current)?void 0:n.call(t,...e)},[])}function ef(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function em(e,t){return o.useMemo(()=>null==e&&null==t?null:n=>{ef(e,n),ef(t,n)},[e,t])}function eh(){let[e,t]=o.useState(!1);return ea(()=>{t("rtl"===window.getComputedStyle(window.document.documentElement).direction)},[]),e}function ep(){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 ev(e,t){let n=o.useRef(0),r=es(),l=ed((...t)=>{n.current=Date.now(),e(t)});return o.useCallback((...e)=>{r(()=>{l(e)},t-(Date.now()-n.current))},[t,l,r])}let eg=p("slide"),eE=p("slide_image");function eb({slide:e,offset:t,render:n,rect:r,imageFit:l,imageProps:i,onClick:a,onLoad:c,onError:s,style:m}){var h,p,v,g,b,w,x;let[y,C]=o.useState(u.Qo),{publish:M}=D(),{setTimeout:N}=Y(),k=o.useRef(null);o.useEffect(()=>{0===t&&M((0,u.EC)(y))},[t,y,M]);let $=ed(e=>{("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{e.parentNode&&(C(u.P9),N(()=>{null==c||c(e)},0))})}),L=o.useCallback(e=>{k.current=e,(null==e?void 0:e.complete)&&$(e)},[$]),P=o.useCallback(e=>{$(e.currentTarget)},[$]),R=ed(()=>{C(u.I1),null==s||s()}),I=e.imageFit===u.e7||e.imageFit!==u.Td&&l===u.e7,S=(e,t)=>Number.isFinite(e)?e:t,F=S(Math.max(...(null!=(p=null==(h=e.srcSet)?void 0:h.map(e=>
1e.width))?p:[]).concat(e.width?[e.width]:[]).filter(Boolean)),(null==(v=k.current)?void 0:v.naturalWidth)||0),T=S(Math.max(...(null!=(b=null==(g=e.srcSet)?void 0:g.map(e=>e.height))?b:[]).concat(e.height?[e.height]:[]).filter(Boolean)),(null==(w=k.current)?void 0:w.naturalHeight)||0),_=F&&T?{maxWidth:`min(${F}px, 100%)`,maxHeight:`min(${T}px, 100%)`}:{maxWidth:"100%",maxHeight:"100%"},z=null==(x=e.srcSet)?void 0:x.sort((e,t)=>e.width-t.width).map(e=>`${e.src} ${e.width}w`).join(", "),A=z&&r&&E()?`${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:V,className:O,...H}=i||{};return o.createElement(o.Fragment,null,o.createElement("img",{ref:L,onLoad:P,onError:R,onClick:a,draggable:!1,className:d(f(eE()),I&&f(eE("cover")),y!==u.P9&&f(eE("loading")),O),style:{..._,...m,...V},...H,alt:e.alt,sizes:A,srcSet:z,src:e.src}),y!==u.P9&&o.createElement("div",{className:f(eg(u.Bv))},y===u.Qo&&((null==n?void 0:n.iconLoading)?n.iconLoading():o.createElement(el,{className:d(f(u.jR),f(eg(u.Qo)))})),y===u.I1&&((null==n?void 0:n.iconError)?n.iconError():o.createElement(ei,{className:d(f(u.jR),f(eg(u.I1)))}))))}let ew=o.forwardRef(function({className:e,children:t,...n},r){let l=o.useRef(null);return o.createElement(_,{nodeRef:l},o.createElement("div",{ref:em(r,l),className:d(f("root"),e),...n},t))});(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 ex=p("container"),ey=o.createContext(null),eC=g("useController","ControllerContext",ey),eM=R(u.Kv,function({children:e,...t}){var n;let{carousel:r,animation:l,controller:c,on:s,styles:h,render:p}=t,{closeOnPullUp:g,closeOnPullDown:E,preventDefaultWheelX:b,preventDefaultWheelY:w}=c,[y,C]=o.useState(),M=K(),N=B(),[k,$]=o.useState(i.NONE),L=o.useRef(0),P=o.useRef(0),R=o.useRef(1),{registerSensors:I,subscribeSensors:S}=ep(),{subscribe:F,publish:_}=D(),z=es(),A=es(),V=es(),{containerRef:O,setContainerRef:H,containerRect:W}=ec(),j=em(function({preventDefaultWheelX:e,preventDefaultWheelY:t}){let n=o.useRef(null),r=ed(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:b,preventDefaultWheelY:w}),H),U=o.useRef(null),Q=em(U,void 0),{getOwnerDocument:X}=T(),q=eh(),J=e=>(q?-1:1)*("number"==typeof e?e:1),Z=ed(()=>{var e;return null==(e=O.current)?void 0:e.focus()}),G=ed(()=>t),ee=ed(()=>M),et=o.useCallback(e=>_(u.zn,e),[_]),en=o.useCallback(e=>_(u.Nc,e),[_]),er=o.useCallback(()=>_(u.C),[_]),el=e=>!(r.finite&&(J(e)>0&&0===M.currentIndex||0>J(e)&&M.currentIndex===M.slides.length-1)),ei=e=>{var t;L.current=e,null==(t=O.current)||t.style.setProperty(m("swipe_offset"),`${Math.round(e)}px`)},ea=e=>{var t,n;P.current=e,R.current=Math.min(Math.max(function(e,t=0){let n=10**t;return Math.round((e+Number.EPSILON)*n)/n}(1-(E&&e>0?e:g&&e<0?-e:0)/60*.5,2),.5),1),null==(t=O.current)||t.style.setProperty(m("pull_offset"),`${Math.round(e)}px`),null==(n=O.current)||n.style.setProperty(m("pull_opacity"),`${R.current}`)},{prepareAnimation:eo}=eu(U,(e,t,n)=>{if(U.current&&W)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}}),ef=(e,t)=>{if(g||E){ea(e);let n=0;U.current&&(n=l.fade*(t?2:1),eo({rect:U.current.getBoundingClientRect(),opacity:R.current,duration:n})),V(()=>{ea(0),$(i.NONE)},n),$(i.ANIMATION),t||er()}},{prepareAnimation:ev,isAnimationPlaying:eg}=eu(U,(e,t,n)=>{var l;if(U.current&&W&&(null==(l=M.animation)?void 0:l.duration)){let l=x(r.spacing),i=(l.percent?l.percent*W.width/100:l.pixel)||0;return{keyframes:[{transform:`translate(${J(M.globalIndex-e.index)*(W.width+i)+e.rect.x-t.x+n.x}px, 0)`},{transform:"translate(0, 0)"}],duration:M.animation.duration,easing:M.animation.easing}}}),eE=ed(e=>{var t,n;let r=e.offset||0,a=r?l.swipe:null!=(t=l.navigation)?t:l.swipe,o=r||eg()?l.easing.swipe:l.easing.navigation,{direction:c}=e,s=null!=(n=e.count)?n:1,d=i.ANIMATION,f=a*s;if(!c){let t=null==W?void 0:W.width,n=e.duration||0,l=t?a/t*Math.abs(r):a;0!==s?(n<l?f=f/l*Math.max(n,l/5):t&&(f=a/t*(t-Math.abs(r))),c=J(r)>0?u.zn:u.Nc):f=a/2}let m=0;c===u.zn?el(J(1))?m=-s:(d=i.NONE,f=a):c===u.Nc&&(el(J(-1))?m=s:(d=i.NONE,f=a)),A(()=>{ei(0),$(i.NONE)}
1,f=Math.round(f)),U.current&&ev({rect:U.current.getBoundingClientRect(),index:M.globalIndex}),$(d),_(u.sI,{type:"swipe",increment:m,duration:f,easing:o})});o.useEffect(()=>{var e,t;(null==(e=M.animation)?void 0:e.increment)&&(null==(t=M.animation)?void 0:t.duration)&&z(()=>N({type:"swipe",increment:0}),M.animation.duration)},[M.animation,N,z]);let eb=[S,el,(null==W?void 0:W.width)||0,l.swipe,()=>$(i.SWIPE),e=>ei(e),(e,t)=>eE({offset:e,duration:t,count:1}),e=>eE({offset:e,count:0})],ew=[()=>{E&&$(i.PULL)},e=>ea(e),e=>ef(e),e=>ef(e,!0)];!function(e,t,n,r,l,i,c,s,d,f,m,h,p,g){let E=o.useRef(0),b=o.useRef([]),w=o.useRef(void 0),x=o.useRef(0),y=o.useRef(a.NONE),C=o.useCallback(e=>{w.current===e.pointerId&&(w.current=void 0,y.current=a.NONE);let t=b.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),M=o.useCallback(e=>{C(e),e.persist(),b.current.push(e)},[C]),N=ed(e=>{M(e)}),k=(e,t)=>f&&e>t||d&&e<-t,$=ed(e=>{if(b.current.find(t=>t.pointerId===e.pointerId)&&w.current===e.pointerId){let e=Date.now()-x.current,t=E.current;y.current===a.SWIPE?Math.abs(t)>.3*n||Math.abs(t)>5&&e<r?c(t,e):s(t):y.current===a.PULL&&(k(t,60)?p(t,e):g(t)),E.current=0,y.current=a.NONE}C(e)}),L=ed(e=>{let n=b.current.find(t=>t.pointerId===e.pointerId);if(n){let r=w.current===e.pointerId;if(0===e.buttons)return void(r&&0!==E.current?$(e):C(n));let o=e.clientX-n.clientX,u=e.clientY-n.clientY;if(void 0===w.current){let n=t=>{M(e),w.current=e.pointerId,x.current=Date.now(),y.current=t};Math.abs(o)>Math.abs(u)&&Math.abs(o)>30&&t(o)?(n(a.SWIPE),l()):Math.abs(u)>Math.abs(o)&&k(u,30)&&(n(a.PULL),m())}else r&&(y.current===a.SWIPE?(E.current=o,i(o)):y.current===a.PULL&&(E.current=u,h(u)))}});o.useEffect(()=>v(e(u.qq,N),e(u.RK,L),e(u.tu,$),e(u.tD,$),e(u.s,$)),[e,N,L,$,void 0])}(...eb,g,E,...ew),function(e,t,n,r,l,a,c,s,d){let f=o.useRef(0),m=o.useRef(0),h=o.useRef(void 0),p=o.useRef(void 0),v=o.useRef(0),g=o.useRef(void 0),E=o.useRef(0),{setTimeout:b,clearTimeout:w}=Y(),x=o.useCallback(()=>{h.current&&(w(h.current),h.current=void 0)},[w]),y=o.useCallback(()=>{p.current&&(w(p.current),p.current=void 0)},[w]),C=ed(()=>{e!==i.SWIPE&&(f.current=0,E.current=0,x(),y())});o.useEffect(C,[e,C]);let M=ed(e=>{p.current=void 0,f.current===e&&d(f.current)}),N=ed(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?b(()=>{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(m.current+=t.deltaX,x(),Math.abs(m.current)>30)m.current=0,o(0),E.current=Date.now(),a();else{let e=m.current;h.current=b(()=>{h.current=void 0,e===m.current&&(m.current=0)},l)}}else if(e===i.SWIPE){let e=f.current-t.deltaX;if(f.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()-E.current);return}p.current=b(()=>M(e),2*l)}else o(t.deltaX)});o.useEffect(()=>t(u.j7,N),[t,N])}(k,...eb);let eC=ed(()=>{c.focus&&X().querySelector(`.${f(u.kJ)} .${f(ex())}`)&&Z()});o.useEffect(eC,[eC]);let eM=ed(()=>{var e;null==(e=s.view)||e.call(s,{index:M.currentIndex})});o.useEffect(eM,[M.globalIndex,eM]),o.useEffect(()=>v(F(u.zn,e=>eE({direction:u.zn,...e})),F(u.Nc,e=>eE({direction:u.Nc,...e})),F(u.sI,e=>N(e))),[F,eE,N]);let eN=o.useMemo(()=>{let e,t;return{prev:et,next:en,close:er,focus:Z,slideRect:W?(t=void 0!==(e=x(r.padding)).percent?W.width/100*e.percent:e.pixel,{width:Math.max(W.width-2*t,0),height:Math.max(W.height-2*t,0)}):{width:0,height:0},containerRect:W||{width:0,height:0},subscribeSensors:S,containerRef:O,setCarouselRef:Q,toolbarWidth:y,setToolbarWidth:C}},[et,en,er,Z,S,W,O,Q,y,C,r.padding]);return o.useImperativeHandle(c.ref,()=>({prev:et,next:en,close:er,focus:Z,getLightboxProps:G,getLightboxState:ee}),[et,en,er,Z,G,ee]),o.createElement("div",{ref:j,className:d(f(ex()),f(u.tC)),style:{...k===i.SWIPE?{[m("swipe_offset")]:`${Math.round(L.current)}px`}:null,...k===i.PULL?{[m("pull_offset")]:`${Math.round(P.current)}px`,[m("pull_opacity")]:`${R.current}`}:null,..."none"!==c.touchAction?{[m("controller_touch_action")]:c.touchAction}:null,...h.container},...c.aria?{role:"presentation","aria-live":"polite"}:null,tabIndex:-1,...I},W&&o.createElement(ey.Provider,{value:eN},e,null==(n=p.controls)?void 0:n.call(p)))});function eN(e){return h(u.mY,e)}function ek(e){return h("slide",e)}function e$({slide:e,offset:t}){var n,r,l,i;let a,c=o.useRef(null),{currentIndex:s}=K(),{slideRect:m,close:h,focus:p}=eC(),{render:v,carousel:{imageFit:g,imageProps:E},on:{click:w},controller:{closeOnBackdropClick:x},styles:{slide:y}}=O(),{getOwnerDocument:C}=T(),M=0!==t;return o.useEffect(()=>{var e;M&&(null==(e=c.current)?void 0:e.contains(C().activeElement))&&p()},[M,p,C]),o.createElement("div",{ref:c,className:d(f(ek()),!M&&f(ek("current")),f(u.tC)),...{inert:L?M:M?"":void 0},onClick:e=>{let t=c.current,n=e.target instanceof HTMLElement?e.target:void 0;x&&n&&t&&(n===t||Array.from(t.children).find(e=>e===n)&&n.classList.contains(f(u.pc)))&&h()},style:y},(!(a=null==(n=v.slide)?void 0:n.call(v,{slide:e,offset:t,rect:m}))&&b(e)&&(a=o.createElement(eb,{slide:e,offset:t,render:v,rect:m,imageFit:g,imageProps:E,onClick:M?void 0:()=>null==w?void 0:w({index:s})})),a?o.createElement(o.Fragment,null,null==(r=v.slideHeader)?void 0:r.call(v,{slide:e}),(null!=(l=v.slideContainer)?l:({children:e})=>e)({slide:e,children:a}),null==(i=v.slideFooter)?void 0:i.call(v,{slide:e})):null))}function eL(){let e=O().styles.slide;return o.createElement("div",{className:f("slide"),style:e})}let eP=R(u.mY,function({carousel:e}){let{slides:t,currentIndex:n,globalIndex:r}=K(),{setCarouselRef:l}=eC(),i=x(e.spacing),a=x(e.padding),u=$(e,t,1),c=[];if(y(t))for(let l=n-u;l<=n+u;l+=1){let i=C(t,l),a=r-n+l,o=e.finite&&(l<0||l>t.length-1);c.push(o?{key:a}:{key:[`${a}
1`,N(i)].filter(Boolean).join("|"),offset:l-n,slide:i})}return o.createElement("div",{ref:l,className:d(f(eN()),c.length>0&&f(eN("with_slides"))),style:{[`${m(eN("slides_count"))}`]:c.length,[`${m(eN("spacing_px"))}`]:i.pixel||0,[`${m(eN("spacing_percent"))}`]:i.percent||0,[`${m(eN("padding_px"))}`]:a.pixel||0,[`${m(eN("padding_percent"))}`]:a.percent||0}},c.map(({key:e,slide:t,offset:n})=>t?o.createElement(e$,{key:e,slide:t,offset:n}):o.createElement(eL,{key:e})))});function eR(){let{carousel:e}=O(),{slides:t,currentIndex:n}=K();return{prevDisabled:0===t.length||e.finite&&0===n,nextDisabled:0===t.length||e.finite&&n===t.length-1}}function eI(e){var t;let n=eh(),{publish:r}=D(),{animation:l}=O(),{prevDisabled:i,nextDisabled:a}=eR(),c=(null!=(t=l.navigation)?t:l.swipe)/2,s=ev(()=>r(u.zn),c),d=ev(()=>r(u.Nc),c),f=ed(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,f),[e,f])}function eS({label:e,icon:t,renderIcon:n,action:r,onClick:l,disabled:i,style:a}){return o.createElement(J,{label:e,icon:t,renderIcon:n,className:f(`navigation_${r}`),disabled:i,onClick:l,style:a,...function(e,t=!1){let n=o.useRef(!1);return ea(()=>{t&&n.current&&(n.current=!1,e())},[t,e]),{onFocus:o.useCallback(()=>{n.current=!0},[]),onBlur:o.useCallback(()=>{n.current=!1},[])}}(eC().focus,i)})}let eF=R(u.Ky,function({render:{buttonPrev:e,buttonNext:t,iconPrev:n,iconNext:r},styles:l}){let{prev:i,next:a,subscribeSensors:c}=eC(),{prevDisabled:s,nextDisabled:d}=eR();return eI(c),o.createElement(o.Fragment,null,e?e():o.createElement(eS,{label:"Previous",action:u.zn,icon:en,renderIcon:n,style:l.navigationPrev,disabled:s,onClick:i}),t?t():o.createElement(eS,{label:"Next",action:u.Nc,icon:er,renderIcon:r,style:l.navigationNext,disabled:d,onClick:a}))}),eT=f(u.HR),e_=f(u.vg);function ez(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,`${(w(i)||0)+t}px`),()=>{a?e.style.setProperty(l,a):e.style.removeProperty(l)}}let eD=R(u.b6,function({noScroll:{disabled:e},children:t}){let n=eh(),{getOwnerDocument:r,getOwnerWindow:l}=T();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(ez(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(e_)&&t.push(ez(l,u,n))}}return a.classList.add(eT),()=>{a.classList.remove(eT),t.forEach(e=>e())}},[n,e,r,l]),o.createElement(o.Fragment,null,t)});function eA(e,t,n){let r=e.getAttribute(t);return e.setAttribute(t,n),()=>{r?e.setAttribute(t,r):e.removeAttribute(t)}}let eV=R(u.kJ,function({children:e,animation:t,styles:n,className:r,on:l,portal:i,close:a}){let[s,p]=o.useState(!1),[v,g]=o.useState(!1),E=o.useRef([]),b=o.useRef(null),{setTimeout:w}=Y(),{subscribe:x}=D(),y=eo()?0:t.fade;o.useEffect(()=>(p(!0),()=>{p(!1),g(!1)}),[]);let C=ed(()=>{E.current.forEach(e=>e()),E.current=[]}),M=ed(()=>{var e;g(!1),C(),null==(e=l.exiting)||e.call(l),w(()=>{var e;null==(e=l.exited)||e.call(l),a()},y)});o.useEffect(()=>x(u.C,M),[x,M]);let N=ed(e=>{var t,n,r;e.scrollTop,g(!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&&(E.current.push(eA(n,"inert","")),E.current.push(eA(n,"aria-hidden","true")))}E.current.push(()=>{var e,t;null==(t=null==(e=b.current)?void 0:e.focus)||t.call(e)}),w(()=>{var e;null==(e=l.entered)||e.call(l)},y)}),k=o.useCallback(e=>{e?N(e):C()},[N,C]);return s?(0,c.createPortal)(o.createElement(ew,{ref:k,className:d(r,f(h(u.kJ,void 0)),f(u.vg),v&&f(h(u.kJ,"open"))),role:"presentation","aria-live":"polite",style:{...t.fade!==P.animation.fade?{[m("fade_animation_duration")]:`${y}ms`}:null,...t.easing.fade!==P.animation.easing.fade?{[m("fade_animation_timing_function")]:t.easing.fade}:null,...n.root},onFocus:e=>{b.current||(b.current=e.relatedTarget)}},e),i.root||document.body):null}),eO=R(u.OT,function({children:e}){return o.createElement(o.Fragment,null,e)}),eH=R(u.pq,function({toolbar:{buttons:e},render:{buttonClose:t,iconClose:n},styles:r}){let{close:l,setToolbarWidth:i}=eC(),{setContainerRef:a,containerRect:c}=ec();return ea(()=>{i(null==c?void 0:c.width)},[i,null==c?void 0:c.width]),o.createElement("div",{ref:a,style:r.toolbar,className:f(h(u.pq,void 0))},null==e?void 0:e.map(e=>e===u.C?t?t():o.createElement(J,{key:u.C,label:"Close",icon:et,renderIcon:n,onClick:l}):e))});function eW({carousel:e,animation:t,render:n,toolbar:r,controller:l,noScroll:i,on:a,plugins:c,slides:s,index:d,...f}){let{animation:m,carousel:h,render:p,toolbar:v,controller:g,noScroll:E,on:b,slides:x,index:y,plugins:C,...M}=P,{config:N,augmentation:k}=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=[I(t,r)];return}r=S(r,e,e=>[I(t,[e])])},a=(e,t)=>{r=S(r,e,e=>[I(e.module,[I(t,e.children)])])},o=(e,t,n)=>{r=S(r,e,e=>{var r;return[I(e.module,[...n?[I(t)]:[],...null!=(r=e.children)?r:[],...n?[]:[I(t)]])]})},c=(e,t,n)=>{r=S(r,e,e=>[...n?[I(t)]:[],e,...n?[]:[I(t)]])},s=e=>{a(u.Kv,e)},d=(e,t)=>{r=S(r,e,e=>[I(t,e.children)])},f=e=>{r=S(r,e,e=>e.children)},m=e=>{n.push(e)};return t.forEach(e=>{e({contains:l,addParent:i,append:a,addChild:o,addSibling:c,addModule:s,replace:d,remove:f,augment:m})}),{config:r,augmentation:e=>n.reduce((e,t)=>t(e),e)}}([I(eV,[I(eD,[I(eM,[I(eP),I(eH),I(eF)])])])],c||C),$=k({animation:function(e,t={}){let{easing:n,...r}=e,{easing:l,...i}=t;return{easing:{...n,...l},...r,...i}}(m,t),carousel:{...h,...e},render:{...p,...n},toolbar:{...v,...r},controller:{...g,...l},noScroll:{...E,...i},on:{...b,...a},...M,...f});return $.open?o.createElement(H,{...$},o.createElement(Q,{slides:s||x,index:w(d||y)},o.createElement(q,null,o.createElement(A,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)))}(I(eO,N),$))))):null}},9910:()=>{}}]);
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.