PageSourceSearch

https://www.pw.live/gcms-fe/_next/static/chunks/8303.44f83acad8468604.js

js pw.live collected 2026-09-24 08:46:17 UTC 3,359 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8303],{48303:function(e,l,r){r.r(l),r.d(l,{default:function(){return x}});var t=r(67251),n=r(45113),s=r(19119),a=r(14957),i=r(10186),o=r(55752),u=r(13328);let c=e=>l=>{(0,o.dP)(e)&&l.preventDefault()},d="flex items-center gap-1 transition-colors duration-200 hover:bg-yellow-50 cursor-pointer h-full border-b-[3px] border-transparent hover:border-yellow-300 px-3";function h(e){var l,r,h;let{item:x}=e,[b,m]=(0,n.useState)(!1),[p,g]=(0,n.useState)(null),f=(0,n.useRef)(null),v=null!==(h=x.items)&&void 0!==h?h:[],j=null!==p?v[p]:null;return(0,n.useEffect)(()=>()=>{f.current&&clearTimeout(f.current)},[]),(0,t.jsxs)("div",{className:"relative h-full",onMouseEnter:()=>{f.current&&(clearTimeout(f.current),f.current=null),m(!0)},onMouseLeave:()=>{f.current&&clearTimeout(f.current),f.current=setTimeout(()=>{m(!1),g(null)},250)},children:[(0,t.jsxs)("button",{type:"button","aria-haspopup":"true","aria-expanded":b,onClick:()=>m(e=>!e),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),m(e=>!e))},className:(0,i.Z)(d,{"bg-yellow-50":b}),children:[(0,t.jsx)(u.Z,{variant:"regular",weight:"semi-bold",color:"static-grey-1",children:x.label}),(0,t.jsx)(s.Z,{className:(0,i.Z)("w-4 h-4 transition-transform",{"rotate-180":b})})]}),b&&v.length>0&&(0,t.jsx)("div",{className:"absolute right-0 top-full pt-3 z-50",children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("ul",{className:(0,i.Z)("w-[240px] py-2 bg-white border border-solid border-stroke-extraLight shadow-[0px_8px_24px_rgba(0,0,0,0.12)]",(null==j?void 0:null===(l=j.subMenuItems)||void 0===l?void 0:l.length)?"rounded-l-lg border-r-0":"rounded-lg"),children:v.map((e,l)=>{var r,s;let i=(null!==(s=null===(r=e.subMenuItems)||void 0===r?void 0:r.length)&&void 0!==s?s:0)>0;return(0,t.jsxs)(n.Fragment,{children:[(0,t.jsx)("li",{children:(0,t.jsxs)("button",{type:"button",onMouseEnter:()=>g(i?l:null),onClick:()=>(0,o.dP)(e.href),className:"w-full flex items-center justify-between gap-2 px-4 py-2.5 text-left",children:[(0,t.jsx)(u.Z,{variant:"regular",weight:"medium",color:"static-grey-1",children:e.label}),i&&(0,t.jsx)(a.Z,{className:"w-5 h-5 shrink-0"})]})}),(0,t.jsx)("div",{className:"h-[1px] bg-stroke-extraLight w-11/12 m-auto"})]},e.label)})}),(null==j?void 0:null===(r=j.subMenuItems)||void 0===r?void 0:r.length)?(0,t.jsx)("ul",{className:"absolute left-full top-0 -ml-px w-[220px] py-2 bg-white border border-solid border-stroke-extraLight rounded-r-lg shadow-[0px_8px_24px_rgba(0,0,0,0.12)]",children:j.subMenuItems.map(e=>(0,t.jsxs)(n.Fragment,{children:[(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:e.href,onClick:c(e.href),className:"block px-4 py-2.5",children:(0,t.jsx)(u.Z,{variant:"regular",weight:"medium",color:"static-grey-1",children:e.label})})}),(0,t.jsx)("div",{className:"h-[1px] bg-stroke-extraLight w-11/12 m-auto"})]},e.label))}):null]})})]})}function x(e){let{items:l,onNavigationClick:r}=e;return(0,t.jsx)(t.Fragment,{children:null==l?void 0:l.map(e=>e.items&&e.items.length>0?(0,t.jsx)(h,{item:e},e.label):(0,t.jsx)("a",{href:e.href,onClick:l=>{(0,o.dP)(e.href)&&l.preventDefault(),r(e)},className:d,children:(0,t.jsx)(u.Z,{variant:"regular",weight:"semi-bold",color:"static-black",children:e.label})},e.label))})}}}]);
2//# sourceMappingURL=8303.44f83acad8468604.js.map

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.