PageSourceSearch

https://008.icu/_next/static/chunks/MobileMenu-D-ZF7dEy.js

js 008.icu collected 2026-10-09 04:32:51 UTC 982 bytes, 1 lines download raw bytes

1import{r as e}from"./rolldown-runtime-C60lm6uB.js";import{i as t,r as n}from"./framework-BaE7mD_r.js";var r=e(n(),1),i=t();function a({items:e}){let[t,n]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(!t)return;let e=e=>{e.key===`Escape`&&n(!1)};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[t]),(0,i.jsxs)(`div`,{className:`mobile-menu`,children:[(0,i.jsxs)(`button`,{className:`mobile-menu-toggle ${t?`is-open`:``}`,type:`button`,"aria-expanded":t,"aria-controls":`mobile-navigation`,"aria-label":t?`Close navigation menu`:`Open navigation menu`,onClick:()=>n(e=>!e),children:[(0,i.jsx)(`span`,{"aria-hidden":`true`}),(0,i.jsx)(`span`,{"aria-hidden":`true`}),(0,i.jsx)(`span`,{"aria-hidden":`true`})]}),t?(0,i.jsx)(`nav`,{id:`mobile-navigation`,className:`mobile-navigation`,"aria-label":`Mobile navigation`,children:e.map(e=>(0,i.jsx)(`a`,{href:e.href,onClick:()=>n(!1),children:e.label},e.label))}):null]})}export{a as default};

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.