1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="1ca92d8d-4e44-4a6e-9324-38168bc7f069",e._sentryDebugIdIdentifier="sentry-dbid-1ca92d8d-4e44-4a6e-9324-38168bc7f069")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3687],{36421:(e,l,t)=>{t.d(l,{A:()=>n});var s=t(13407);let n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200,[l,t]=(0,s.useState)({width:0,height:0});return(0,s.useEffect)(()=>{let l,s=()=>{clearTimeout(l),l=setTimeout(()=>{t({width:window.innerWidth,height:window.innerHeight})},e)};return s(),window.addEventListener("resize",s),()=>{clearTimeout(l),window.removeEventListener("resize",s)}},[e]),l}},48846:(e,l,t)=>{t.d(l,{A7:()=>m,FN:()=>h,Oj:()=>v,Q8:()=>g,Wk:()=>f,ZZ:()=>p});var s=t(76439),n=t(13407),r=t(96225),a=t(42729),i=t(44053),o=t(67611),d=t(53344),c=t(17703);let u=(0,n.createContext)(null);function x(){let e=(0,n.useContext)(u);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}function h(e){let{orientation:l="horizontal",opts:t,setApi:a,plugins:o,className:d,children:c,...x}=e,[h,f]=(0,r.A)({...t,axis:"horizontal"===l?"x":"y"},o),[m,p]=(0,n.useState)(!1),[g,v]=(0,n.useState)(!1),w=(0,n.useCallback)(e=>{e&&(p(e.canScrollPrev()),v(e.canScrollNext()))},[]),j=(0,n.useCallback)(()=>{var e;let l=null==f||null==(e=f.plugins())?void 0:e.autoplay;null==l||l.reset(),null==f||f.scrollPrev()},[f]),b=(0,n.useCallback)(()=>{var e;let l=null==f||null==(e=f.plugins())?void 0:e.autoplay;null==l||l.reset(),null==f||f.scrollNext()},[f]),N=(0,n.useCallback)(e=>{"ArrowLeft"===e.key?(e.preventDefault(),j()):"ArrowRight"===e.key&&(e.preventDefault(),b())},[j,b]);return(0,n.useEffect)(()=>{f&&a&&a(f)},[f,a]),(0,n.useEffect)(()=>{if(f)return w(f),f.on("reInit",w),f.on("select",w),()=>{null==f||f.off("select",w)}},[f,w]),(0,s.jsx)(u.Provider,{value:{carouselRef:h,api:f,opts:t,orientation:l||((null==t?void 0:t.axis)==="y"?"vertical":"horizontal"),scrollPrev:j,scrollNext:b,canScrollPrev:m,canScrollNext:g},children:(0,s.jsx)("div",{onKeyDownCapture:N,className:(0,i.cn)("relative",d),role:"region","aria-roledescription":"carousel","data-slot":"carousel",...x,children:c})})}function f(e){let{className:l,...t}=e,{carouselRef:n,orientation:r}=x();return(0,s.jsx)("div",{ref:n,className:"overflow-hidden","data-slot":"carousel-content",children:(0,s.jsx)("div",{className:(0,i.cn)("flex","horizontal"===r?"-ml-4":"-mt-4 flex-col",l),...t})})}function m(e){let{className:l,...t}=e,{orientation:n}=x();return(0,s.jsx)("div",{role:"group","aria-roledescription":"slide","data-slot":"carousel-item",className:(0,i.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===n?"pl-4":"pt-4",l),...t})}function p(e){let{itemsLength:l,navigationLength:t,current:n,hideNavigationAtLength:r}=e,{canScrollPrev:a,canScrollNext:o}=x();return(a||o)&&t&&!(l<=r)?(0,s.jsx)("div",{className:"flex w-full flex-row items-center justify-center gap-1.5 py-2.5 sm:py-[25px]",children:Array.from({length:t},(e,l)=>(0,s.jsx)("div",{className:(0,i.cn)("size-3 rounded-full border-2 border-dark bg-white",{"bg-dark":n===l+1})},l))}):null}function g(e){let{className:l,variant:t="dark-outline",...n}=e,{scrollPrev:r,canScrollPrev:u,canScrollNext:h}=x(),f=(0,c.c)("Carousel");return(0,s.jsxs)(d.$,{"data-slot":"carousel-previous",variant:t,className:(0,i.cn)("absolute size-10 rounded-full p-0",{hidden:!u&&!h},l),disabled:!u,onClick:r,...n,children:[(0,s.jsx)(o.A,{icon:a.Hq,size:"md"}),(0,s.jsx)("span",{className:"sr-only",children:f("previousSlide")})]})}function v(e){let{className:l,variant:t="dark-outline",...n}=e,{scrollNext:r,canScrollPrev:u,canScrollNext:h}=x(),f=(0,c.c)("Carousel");return(0,s.jsxs)(d.$,{"data-slot":"carousel-next",variant:t,className:(0,i.cn)("absolute size-10 rounded-full p-0",{hidden:!u&&!h},l),disabled:!h,onClick:r,...n,children:[(0,s.jsx)(o.A,{icon:a.jq,size:"md"}),(0,s.jsx)("span",{className:"sr-only",children:f("nextSlide")})]})}},83687:(e,l,t)=>{t.r(l),t.d(l,{default:()=>f});var s=t(76439),n=t(78009),r=t(94846),a=t(91382),i=t(86290),o=t(4573),d=t(842),c=t(17703),u=t
1(75625);let x=e=>{let{heading:l}=e,t=(0,o.Y)(6),{data:d,error:x,isLoading:h}=(0,n.I)({queryKey:["latest-news"],queryFn:()=>(0,i.YD)()}),f=(0,c.c)("NewsCarouselBlock");return x?(0,s.jsx)("div",{className:"container w-full bg-yellow-10 pt-16 pb-7",children:(0,s.jsx)("div",{className:"relative flex min-h-[480px] flex-col gap-6",children:(0,s.jsxs)("h4",{className:"text-center text-2xl font-bold",children:[f("errorMessage"),f("errorDescription")]})})}):(0,s.jsx)("div",{className:"w-full bg-yellow-10 pt-16 pb-7 print:hidden",children:(0,s.jsxs)("div",{className:"relative flex min-h-[480px] flex-col gap-6",children:[l&&(0,s.jsx)("h3",{className:"w-full px-4 sm:px-6 xl:mx-auto xl:max-w-295 xl:px-0",children:l}),(0,s.jsx)(r.A,{carouselItems:d||t,hideNavigationAtLength:3,children:(e,l)=>{var t;return(0,s.jsx)(a.A,{...e,isLoading:h,"data-index":l,tealium:{linkCategory:u.G5.CONTENT,linkLabel:null!=(t=e.data.title)?t:"News Article"}})}})]})})},h=()=>{let e=(0,o.Y)(6);return(0,s.jsx)("div",{className:"w-full bg-yellow-10 pt-16 pb-7 print:hidden",children:(0,s.jsxs)("div",{className:"relative flex min-h-[480px] flex-col gap-6",children:[(0,s.jsx)("h3",{className:"w-full px-4 text-dark-30 italic sm:px-6 xl:mx-auto xl:max-w-295 xl:px-0",children:"The data for the Latest News is fetched externally, and will render on the live page."}),(0,s.jsx)(r.A,{carouselItems:e,hideNavigationAtLength:3,children:(e,l)=>(0,s.jsx)(a.A,{...e,isLoading:!0,"data-index":l})})]})})},f=e=>{let{heading:l}=e;return d.M$.isEditing?(0,s.jsx)(h,{}):(0,s.jsx)(x,{heading:l})}},94846:(e,l,t)=>{t.d(l,{A:()=>d});var s=t(76439),n=t(13407),r=t(44053),a=t(36421),i=t(48846);let o=e=>{let{itemsLength:l,navigationLength:t,current:n,hideNavigationAtLength:a}=e;return(0,s.jsxs)("div",{className:"relative flex flex-row items-center justify-center pt-5 sm:h-16",children:[(0,s.jsx)(i.ZZ,{itemsLength:l,navigationLength:t,current:n,hideNavigationAtLength:a}),(0,s.jsxs)("div",{className:(0,r.cn)("absolute right-6 hidden h-16 2xl:right-[130px]",{"flex-row items-center justify-center gap-2 sm:flex":l>a}),children:[(0,s.jsx)(i.Q8,{className:"relative"}),(0,s.jsx)(i.Oj,{className:"relative"})]})]})},d=e=>{let{carouselItems:l,hideNavigationAtLength:t,customBasisHandling:d,children:c}=e,[u,x]=(0,n.useState)(),[h,f]=(0,n.useState)(0),[m,p]=(0,n.useState)(void 0),{width:g}=(0,a.A)(),v=Math.min((g-1180)/2,200),w=g>1280;return(0,n.useEffect)(()=>{if(!u)return;let e=()=>{let e=u.scrollSnapList(),l=u.scrollProgress();f(e.reduce((t,s,n)=>Math.abs(s-l)<Math.abs(e[t]-l)?n:t,0)+1)},l=()=>{p(u.scrollSnapList().length)};return e(),u.on("select",e),u.on("scroll",e),u.on("reInit",l),()=>{u.off("select",e),u.off("scroll",e),u.off("reInit",l)}},[u]),(0,s.jsxs)(i.FN,{setApi:x,opts:{align:"start",loop:!1,slidesToScroll:g<768?1:void 0},children:[(0,s.jsx)(i.Wk,{className:"-ml-4 sm:-ml-8",children:null==l?void 0:l.map((e,l,t)=>(0,s.jsx)(i.A7,{className:(0,r.cn)("min-h-full max-w-sm basis-[75%] pl-8 transition-all duration-100 sm:basis-[40%] lg:basis-[36%] xl:basis-[27%]",{"sm:ml-6 xl:ml-[140px]":0===l,"mr-4 sm:mr-6 xl:mr-[140px]":l===t.length-1},d),...w&&{style:{marginLeft:0===l?v:void 0,marginRight:l===t.length-1?v:void 0}},children:c(e,l)},"carousel-item-".concat(l)))}),(0,s.jsx)(o,{navigationLength:m,itemsLength:l.length,current:h,hideNavigationAtLength:t})]})}}}]);
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.