1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5505,189],{5505:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var l=n(57437),r=n(66648),s=n(37776);function i(e){let{carouselItems:t,isReserveTheme:n=!1}=e,i=e=>{var t,n,s,i;return(0,l.jsx)("div",{className:"relative flex justify-center",children:(0,l.jsx)("div",{className:"aspect-[3/2] w-full rounded overflow-hidden",children:(null==e?void 0:e.image)&&(0,l.jsx)(r.default,{className:"w-full h-full object-cover object-center",src:(null===(t=e.image)||void 0===t?void 0:t.url)+"?width=800",alt:null===(n=e.image)||void 0===n?void 0:n.altText,width:null===(s=e.image)||void 0===s?void 0:s.width,height:null===(i=e.image)||void 0===i?void 0:i.height,loading:"lazy"})})})};return(0,l.jsx)("section",{className:"image-carousel relative",children:(0,l.jsx)("div",{className:"w-full lg:w-[75%] mx-auto",children:t.length&&(0,l.jsx)(s.EmblaCarousel,{arrowButtons:!0,children:t.map((e,t)=>(0,l.jsx)(s.EmblaCarouselSlide,{children:i(e)},t))})})})}n(50189)},37776:function(e,t,n){"use strict";n.r(t),n.d(t,{EmblaCarousel:function(){return m},EmblaCarouselSlide:function(){return v}});var l=n(57437),r=n(2265),s=n(74300),i=n(19281),o=n(95243),a=n(30286),u=n(44839);let c=e=>{let[t,n]=(0,r.useState)(!0),[l,s]=(0,r.useState)(!0),i=(0,r.useCallback)(()=>{e&&e.scrollPrev()},[e]),o=(0,r.useCallback)(()=>{e&&e.scrollNext()},[e]),a=(0,r.useCallback)(e=>{n(!e.canScrollPrev()),s(!e.canScrollNext())},[]);return(0,r.useEffect)(()=>{e&&(a(e),e.on("reInit",a).on("select",a))},[e,a]),{prevBtnDisabled:t,nextBtnDisabled:l,onPrevButtonClick:i,onNextButtonClick:o}},d=e=>{let{children:t,...n}=e,[s,i]=(0,r.useState)(!1);return(0,l.jsxs)("button",{className:(0,u.Z)("embla__button embla__button--next flex items-center justify-center w-12 h-12 bg-primary-light/75 rounded-full outline-none cursor-pointer pointer-events-auto transition-colors hover:bg-primary-light active:bg-primary-accent disabled:bg-primary-light/50 disabled:pointer-events-none",s&&"!bg-primary-accent"),type:"button",onMouseDown:()=>i(!0),onMouseUp:()=>setTimeout(()=>i(!1),150),onMouseLeave:()=>i(!1),...n,children:[(0,l.jsx)("div",{className:"mr-1",children:(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"24",viewBox:"0 0 15 24",children:(0,l.jsx)("path",{d:"M-1.84048e-06 8.42105L15 0L15 3.53684C15 6.69474 14.3852 6.57895 12.2459 7.74737L4.92787 11.9789L12.3639 16.2526C14.3852 17.3684 15 17.2632 15 20.5895L15 24L-3.39338e-06 15.5263L-1.84048e-06 8.42105Z",fill:"#002526"})})}),t]})},f=e=>{let{children:t,...n}=e,[s,i]=(0,r.useState)(!1);return(0,l.jsxs)("button",{className:(0,u.Z)("embla__button embla__button--next flex items-center justify-center w-12 h-12 bg-primary-light/75 rounded-full outline-none cursor-pointer pointer-events-auto transition-colors hover:bg-primary-light active:bg-primary-accent disabled:bg-primary-light/50 disabled:pointer-events-none",s&&"!bg-primary-accent"),type:"button",onMouseDown:()=>i(!0),onMouseUp:()=>setTimeout(()=>i(!1),150),onMouseLeave:()=>i(!1),...n,children:[(0,l.jsx)("div",{className:"ml-1",children:(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"24",viewBox:"0 0 15 24",children:(0,l.jsx)("path",{d:"M15 15.5789L0 24L4.22846e-08 20.4632C8.00386e-08 17.3053 0.614754 17.4211 2.7541 16.2526L10.0721 12.0211L2.63606 7.74737C0.614754 6.63158 2.06228e-07 6.73684 2.45996e-07 3.41052L2.8677e-07 0L15 8.47368L15 15.5789Z",fill:"#002526"})})}),t]})};n(31375);let v=(0,r.forwardRef)((e,t)=>(0,l.jsx)("div",{ref:t,className:"embla__slide",...e,children:e.children}));v.displayName="EmblaCarouselSlide";let m=e=>{let{children:t,arrowButtons:n=!1,dotButtons:u=!1,autoScroll:v=null,handleSlideInView:m,onBlur:h,onMouseEnter:b,onArrowButtonClick:g,onPointerDown:p,onPointerUp:x,setApi:w,options:y={}}=e,[j,_]=(0,s.Z)(y,(()=>{let e=[(0,o.Z)()];return v&&e.push((0,i.Z)(v)),e})());(0,r.useEffect)(()=>{_&&w&&w(_)},[_,w]);let{selectedIndex:E,scrollSnaps:N,onDotButtonClick:L}=(0,a.Y)(_),{prevBtnDisabled:C,nextBtnDisabled:S,onPrevButtonClick:k,onNextButtonClick:I}=c(_),M=(0,r.useCallback)(()=>{_&&g&&g(_),k()},[_,g,k]),Z=(0,r.useCallback)(()=>{_&&g&&g(_),I()},[_,g,I]),[T,D]=(0,r.useState)(!1),{isIntersecting:P,ref:R}=function(){var e;let{threshold:t=0,root:n=null,rootMargin:l="0%",freezeOnceVisible:s=!1,initialIsIntersecting:i=!1,onChange:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[a,u]=(0,r.useState)(null),[c,d]=(0,r.useState)(()=>({isIntersecting:i,entry:void 0})),f=(0,r.useRef)();f.current=o;let v=(null===(e=c.entry)||void 0===e?void 0:e.isIntersecting)&&s;(0,r.useEffect)(()=>{let e;if(!a||!("IntersectionObserver"in window)||v)return;let r=new IntersectionObserver(t=>{let n=Array.isArray(r.thresholds)?r.thresholds:[r.thresholds];t.forEach(t=>{let l=t.isIntersecting&&n.some(e=>t.intersectionRatio>=e);d({isIntersecting:l,entry:t}),f.current&&f.current(l,t),l&&s&&e&&(e(),e=void 0)})},{threshold:t,root:n,rootMargin:l});return r.observe(a),()=>{r.disconnect()}},[a,JSON.stringify(t),n,l,v,s]);let m=(0,r.useRef)(null);(0,r.useEffect)(()=>{var e;a||null===(e=c.entry)||void 0===e||!e.target||s||v||m.current===c.entry.target||(m.current=c.entry.target,d({isIntersecting:i,entry:void 0}))},[a,c.entry,s,v,i]);let h=[u,!!c.isIntersecting,c.entry];return h.ref=h[0],h.isIntersecting=h[1],h.entry=h[2],h}();return(0,r.useEffect)(()=>{var e;if(!v)return;let t=null==_?void 0:null===(e=_.plugins())||void 0===e?void 0:e.autoScroll;t&&(P?(D(!0),t.play()):(D(!1),t.stop()))},[v,_,P]),(0,r.useEffect)(()=>{var e;let t=null==_?void 0:null===(e=_.plugins())||void 0===e?void 0:e.autoScroll;t&&(D(t.isPlaying()),_.on("autoScroll:play",()=>D(!0)).on("autoScroll:stop",()=>D(!1)).on("reInit",()=>D(t.isPlaying())))},[_]),(0,r.useEffect)(()=>{m&&_&&_.on("slidesInView",()=>{m(_.slidesInView())})},[m,_]),(0,r.useEffect)(()=>
1{if(!h||!_)return;let e=_.rootNode(),t=()=>h(_),n=t=>{e.contains(t.relatedTarget)||h(_)};return e.addEventListener("mouseleave",t),e.addEventListener("focusout",n),()=>{e.removeEventListener("mouseleave",t),e.removeEventListener("focusout",n)}},[h,_]),(0,r.useEffect)(()=>{if(!b||!_)return;let e=_.rootNode(),t=()=>b(_);return e.addEventListener("mouseenter",t),()=>{e.removeEventListener("mouseenter",t)}},[b,_]),(0,r.useEffect)(()=>{if(!p||!_)return;let e=()=>p(_);return _.on("pointerDown",e),()=>{_.off("pointerDown",e)}},[p,_]),(0,r.useEffect)(()=>{if(!x||!_)return;let e=()=>x(_);return _.on("pointerUp",e),()=>{_.off("pointerUp",e)}},[x,_]),(0,l.jsxs)("div",{className:"embla",ref:R,children:[(0,l.jsx)("div",{className:"embla__viewport",ref:j,children:(0,l.jsx)("div",{className:"embla__container",children:t})}),(u||n)&&(0,l.jsxs)("div",{className:"embla__controls",children:[n&&(0,l.jsxs)("div",{className:"embla__buttons absolute top-1/2 left-0 max-w-container justify-between w-full px-10 pointer-events-none -translate-y-1/2",children:[(0,l.jsx)(d,{onClick:M,disabled:C}),(0,l.jsx)(f,{onClick:Z,disabled:S})]}),u&&(0,l.jsx)("div",{className:"embla__dots",children:N.map((e,t)=>(0,l.jsx)(a.H,{className:"embla__dot".concat(t===E?" embla__dot--selected":""),onClick:()=>L(t)},t))})]})]})}},30286:function(e,t,n){"use strict";n.d(t,{H:function(){return i},Y:function(){return s}});var l=n(57437),r=n(2265);let s=e=>{let[t,n]=(0,r.useState)(0),[l,s]=(0,r.useState)([]),i=(0,r.useCallback)(t=>{e&&e.scrollTo(t)},[e]),o=(0,r.useCallback)(e=>{s(e.scrollSnapList())},[]),a=(0,r.useCallback)(e=>{n(e.selectedScrollSnap())},[]);return(0,r.useEffect)(()=>{e&&(o(e),a(e),e.on("reInit",o).on("reInit",a).on("select",a))},[e,o,a]),{selectedIndex:t,scrollSnaps:l,onDotButtonClick:i}},i=e=>{let{children:t,...n}=e;return(0,l.jsx)("button",{type:"button",...n,children:t})}},50189:function(){},31375:function(){}}]);
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.