1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5904],{51973:(e,t,r)=>{r.d(t,{A:()=>x});var n=r(26514),l=r(81586),s=r(52661),i=r(96456),a=r.n(i),c=r(46225),u=r(75834),o=r(71557);let d="prefetched",h="timeout",m="clicked",p=(e,t)=>{switch(t.type){case d:return{...e,prefetched:t.value};case h:return{...e,timeout:t.value};case m:return{...e,clicked:t.value}}},x=({testId:e,href:t,type:r="customLink",children:i,className:x="",prefetch:f=!0,onMouseEnter:v,onClick:b,target:k="_self",shallow:j=!1,as:g,preventRouterNavigation:w=!1,scroll:N=!0,replace:C=!1,..._})=>{let{ui:E}=(0,l.Pj)(),y=(0,c.useRouter)(),[L,D]=(0,u.useReducer)(p,{prefetched:!1,timeout:null,clicked:!1});switch(r){case"customLink":return(0,n.jsx)("a",{"data-testid":e,onClick:e=>{if(!e.ctrlKey&&!e.metaKey&&(D({type:m,value:!0}),e.preventDefault(),b&&b instanceof Function&&b(e),!w)){if(C)return void y.replace(t,g,{shallow:j,scroll:N});y.push(t,g,{shallow:j,scroll:N})}},onMouseEnter:e=>{v&&v instanceof Function&&(0,s.h5)(()=>{E.isDesktop&&v(e)}),!f||L.prefetched||t.startsWith("http")||D({type:h,value:setTimeout(()=>{!L.clicked&&t&&y.prefetch(t),D({type:d,value:!0})},500)})},onMouseLeave:()=>{f&&L.timeout&&clearTimeout(L.timeout)},href:(0,o.o)(t),className:x,target:k,..._,children:i});case"nextLink":return(0,n.jsx)(a(),{href:(0,o.o)(t),prefetch:f,target:k,className:x,scroll:N,replace:C,..._,children:i});case"nextLinkWithoutA":return(0,n.jsx)(a(),{href:(0,o.o)(t),prefetch:f,scroll:N,replace:C,..._,children:i});case"standardHtml":return(0,n.jsx)("a",{"data-testid":e,target:k,href:(0,o.o)(t),className:x,..._,onClick:b,children:i})}}},52566:(e,t,r)=>{r.d(t,{Dr:()=>d,IU:()=>u,W1:()=>c,c:()=>o});var n=r(26514),l=r(75834),s=r(75406);let i=(0,l.createContext)(void 0),a=()=>{let e=(0,l.useContext)(i);if(!e)throw Error("useMenu must be used within a MenuProvider");return e},c=({className:e,children:t,...r})=>{let[a,c]=(0,l.useState)(!1),u=(0,l.useRef)(null),o=(0,l.useCallback)(()=>c(e=>!e),[]),d=(0,l.useCallback)(()=>c(!1),[]);return(0,l.useEffect)(()=>{if(!a)return;let e=e=>{!u.current||u.current.contains(e.target)||d()};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}},[u,d,a]),(0,n.jsx)(i.Provider,{value:{isOpen:a,toggleMenu:o,closeMenu:d},children:(0,n.jsx)("div",{ref:u,className:(0,s.cn)({menu:!0,[`${e}`]:e}),onClick:e=>e.stopPropagation(),...r,children:t})})},u=({className:e,children:t,...r})=>{let{isOpen:l,toggleMenu:i}=a();return(0,n.jsx)("button",{className:(0,s.cn)({"menu-button":!0,[`${e}`]:e}),onClick:i,"aria-expanded":l,"aria-haspopup":"menu",...r,children:t})},o=({as:e,className:t,children:r,...l})=>{let{isOpen:i}=a();return(0,n.jsx)(e||"div",{className:(0,s.cn)({"menu-items":!0,hidden:!i,block:i,[`${t}`]:t}),role:"menu","aria-orientation":"vertical",...l,children:r})},d=({as:e,className:t,children:r,onClick:l,...i})=>{let{closeMenu:c}=a();return(0,n.jsx)(e||"div",{className:(0,s.cn)({"menu-item":!0,[`${t}`]:t}),role:"menuitem",onClick:e=>{l&&l(e),c()},...i,children:r})}},67301:(e,t,r)=>{r.d(t,{U:()=>s});var n=r(75834);let l=(e,t)=>{let[r,l]=(0,n.useState)(t),s=(0,n.useRef)(void 0);return(0,n.useEffect)(()=>{let t=e=>{l(e.matches)};return s.current=window.matchMedia(e),s.current.addEventListener("change",t),l(s.current.matches),()=>{s.current?.removeEventListener("change",t)}},[]),r},s=()=>{let e=l("(max-width: 600px)",!0);return{isMobile:e,isTablet:l("(max-width: 1023px)",!1),isDesktop:l("(min-width: 1024px)",!1)}}},85904:(e,t,r)=>{r.r(t),r.d(t,{Sidebar:()=>f});var n=r(26514);r(75834);var l=r(55047),s=r(58245),i=r.n(s),a=r(51973),c=r(80254),u=r(75406),o=r(52566),d=r(59429),h=r(67301);let m=({children:e,sidebar:t,isDesktop:r})=>{let{t:s}=(0,l.Bd)("common");return r?(0,n.jsxs)("nav",{children:[(0,n.jsx)("h2",{className:"mb-4 font-bold text-2xl text-black",children:s("help")}),e]}):(0,n.jsx)("nav",{className:"w-full border-b border-gray-400",children:(0,n.jsxs)(o.W1,{className:"relative inline-block w-full",children:[(0,n.jsxs)(o.IU,{className:"inline-flex bg-white w-full justify-center items-center p-5 text-lg font-semibold text-black gap-3 drop-shadow-[0_0_20px_rgba(0,0,0,0.09)]",children:[t.map(e=>{if(e.current)return(0,n.jsx)("div",{children:e.title},e.id)}),(0,n.jsx)(i(),{src:"/images/icons/chevron-right.svg",className:"ml-1 pl-2.5 h-7 w-7 rotate-90",width:20,height:20,alt:s("menu-mobile__toggle-menu__alt")})]}),e]})})},p=({children:e,isDesktop:t})=>t?(0,n.jsx)("ul",{"data-testid":c.Q.StaticPagesSidebarUl,children:e}
1):(0,n.jsx)(o.c,{className:"absolute z-40 right-0 w-[100%] top-[69px] origin-top-right bg-white shadow-lg px-8 py-6",children:e}),x=({children:e,isCurrent:t,link:r,isDesktop:l})=>l?(0,n.jsx)("li",{className:"mb-4 last:mb-0",children:(0,n.jsx)(a.A,{className:(0,u.cn)({"text-lg underline hover:no-underline":!0,"font-bold":t}),href:r,children:e})}):(0,n.jsx)(o.Dr,{className:"mb-4 last:mb-0 ",children:(0,n.jsx)(a.A,{className:(0,u.cn)({"text-lg hover:font-bold block":!0,"font-bold":t}),href:r,prefetch:!1,children:e})}),f=(0,d.PA)(({sidebar:e})=>{let{isDesktop:t}=(0,h.U)();return(0,n.jsx)(m,{sidebar:e,isDesktop:t,children:(0,n.jsx)(p,{isDesktop:t,children:e.map(e=>(0,n.jsx)(x,{isCurrent:e.current,link:e.link,isDesktop:t,children:e.title},e.id))})})})}}]);
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.