1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7576],{3798:(e,l,n)=>{n.d(l,{A:()=>c});var a=n(7876),t=n(8847),i=n.n(t),r=n(4232);let s={NavigationPane:i()(()=>n.e(5170).then(n.bind(n,5170)),{loadableGenerated:{webpack:()=>[5170]}}),helpFinderPane:i()(()=>n.e(5981).then(n.bind(n,5981)),{loadableGenerated:{webpack:()=>[5981]}}),shopFinderPane:i()(()=>n.e(9040).then(n.bind(n,9040)),{loadableGenerated:{webpack:()=>[9040]}})},c=e=>{let{componentData:l,handleCloseCard:n}=e,t=null==l?void 0:l.alias;return void 0!==s[t]?(0,r.createElement)(s[t],{...l,handleCloseCard:n}):(0,a.jsx)("p",{children:"cannot load"})}},7576:(e,l,n)=>{n.r(l),n.d(l,{Trail:()=>x,default:()=>m});var a=n(7876),t=n(2276),i=n(6523),r=n(8230),s=n.n(r),c=n(4232),o=n(4211),d=n(3247),u=n(3798),h=n(5628);let x=e=>{let{open:l,children:n}=e,t=c.Children.toArray(n),i=(0,o.wR)(t.length,{config:{mass:.5,tension:400,friction:20},transform:l?"translateX(0%)":"translateX(100%)"});return(0,a.jsx)(a.Fragment,{children:i.map((e,l)=>{let{...n}=e;return(0,a.jsx)(o.CS.li,{style:n,children:t[l]},l)})})},m=e=>{var l,n,r,x,m,f,v;let{headerData:p,isOpen:j}=e,[b,g]=(0,c.useState)(""),[w,y]=(0,c.useState)(null),[k,N]=(0,c.useState)(null),[C,S]=(0,c.useState)(!1),[L,E]=(0,c.useState)([]),[X,z]=(0,c.useState)("vh");(0,c.useEffect)(()=>{var e;(null==(e=window.CSS)?void 0:e.supports("height","100dvh"))&&z("dvh")},[]);let B=(0,o.zh)({height:j?"calc(100".concat(X," - 132px)"):"calc(0".concat(X," - 0px)"),transform:w||C||k?"translateX(-50%)":"translateX(0%)",immediate:!1});(0,c.useEffect)(()=>(j&&(y(null),N(null)),()=>{y(null),N(null)}),[j]);let A=async e=>{if(g(e.target.value),e.target.value.length>3){let{data:l,errorMessage:n}=await (0,h.i)({keyword:e.target.value});n||(null==l?void 0:l.items)&&E(null==l?void 0:l.items)}else E([])};return(0,a.jsxs)(o.CS.div,{className:"w-[200%] fixed top-[132px] left-0 overflow-auto overscroll-y-contain flex md:hidden z-[1000] bg-white",style:B,children:[(0,a.jsx)(o.CS.div,{className:"w-full overflow-auto bg-white",children:(0,a.jsxs)("div",{className:"container mx-auto px-5 pt-12 pb-32 h-full max-h-[944px]",children:[(null==p?void 0:p.searchUrl)?(0,a.jsxs)("form",{className:"flex w-full overflow-hidden border-2 rounded-lg border-action-primary-blue-40",action:null==p?void 0:p.searchUrl,children:[(0,a.jsx)("input",{onChange:A,value:b,type:"text",className:"bg-surface-10 px-3 py-3 w-full placeholder:text-[#83A0C0]",placeholder:"Search",name:"keyword","aria-label":"Enter in keywords to search for matching content."}),(0,a.jsx)("button",{className:"flex items-center justify-center bg-action-primary-yellow-100 w-11",children:(0,a.jsx)(d.WI,{})})]}):null,L.length>0?(0,a.jsx)("div",{className:"bg-white z-[51000] border-blue-100 border-2 w-full rounded-md",children:L.map(e=>(0,a.jsx)(s(),{legacyBehavior:!0,prefetch:!1,href:"".concat(e.url)||"",children:(0,a.jsx)("a",{className:"py-2 px-3 block hover:bg-surface-10 z-[50000]",children:e.name})},e.id))}):null,(0,a.jsxs)("nav",{className:"flex flex-col h-full w-full",children:[(0,a.jsx)("ul",{children:null==p||null==(l=p.mainNavigation)?void 0:l.map((e,l)=>(0,a.jsx)("li",{children:(0,a.jsxs)("button",{className:" py-4 text-lg font-bold text-action-primary-blue-100 flex items-center justify-between w-full",onClick:()=>{y(e),S(!1)},children:[(0,a.jsx)("span",{children:e.title}),(0,a.jsx)(i.gc,{icon:t.XkK,className:"w-4 h-4"})]})},e.key+l))}),(0,a.jsx)("ul",{className:"py-4",children:null==p||null==(n=p.utilityNavigation)?void 0:n.map((e,l)=>{var n;return e.navigationItems.length?(0,a.jsx)("li",{children:(0,a.jsxs)("button",{className:"py-2 text-text-color-80 w-full flex items-center justify-between",onClick:()=>N(e),children:[(0,a.jsx)("span",{children:e.title}),(0,a.jsx)(i.gc,{icon:t.XkK,className:"w-4 h-4"})]})},e.key+l):(null==e||null==(n=e.mainLink)?void 0:n.url)?(0,a.jsx)("li",{children:(0,a.jsx)(s(),{legacyBehavior:!0,href:"".concat(e.mainLink.url)||"",onClick:()=>N(e),children:(0,a.jsx)("a",{target:e.mainLink.target,className:"py-2 text-text-color-80 flex items-center justify-between",children:e.title})})},e.key+l):void 0})})]})]})}),(0,a.jsx)("div",{className:"w-full bg-white ",children:(0,a.jsxs)("div",{className:"px-5 pb-32 pt-12 bg-white",children:[(0,a.jsxs)("button",{className:"flex items-center mb-5 font-light appearance-none text-text-color-80",onClick:()=>{y(null),S(!1),N(null)},children:[(0,a.jsx)(i.gc,{icon:t.Wzs,className:"mr-2"})," ",(0,a.jsx)("span",{children:"Back to menu"})]}),(0,a.jsx)("div",{className:"".concat(w?"block":"hidden"," bg-white h-full"),children:w&&(0,a.jsx)(u.A,{componentData:w,handleCloseCard:()=>{y(null)}})}),(0,a.jsx)("div",{className:"container mx-auto py-5 h-full mb-32 ".concat(k?"block":"hidden"),children:(0,a.jsx)("nav",{children:(0,a.jsxs)("ul",{children:[(null==k||null==(r=k.mainLink)?void 0:r.url)?(0,a.jsx)("li",{children:(0,a.jsx)(s(),{legacyBehavior:!0,href:"".concat(null==k||null==(x=k.mainLink)?void 0:x.url)||"",target:null==k||null==(m
1=k.mainLink)?void 0:m.target,children:(0,a.jsxs)("a",{className:"mb-6 leading-10 text-action-primary-blue-100 text-lg font-extrabold font-museo md:text-xl md:w-fit",children:[null==k||null==(f=k.mainLink)?void 0:f.name,(0,a.jsx)(i.gc,{icon:t.dmS,className:"ml-2"})]})})}):null,null==k||null==(v=k.navigationItems)?void 0:v.map((e,l)=>{if(e)return(0,a.jsx)("li",{children:(0,a.jsx)(s(),{legacyBehavior:!0,prefetch:!1,href:(null==e?void 0:e.url)?"".concat(null==e?void 0:e.url):"#",children:(0,a.jsx)("a",{target:null==e?void 0:e.target,className:"block py-2 ",children:e.title})})},e.key+l)})]})})})]})})]})}}}]);
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.