PageSourceSearch

https://jerrybobs-green-valley.jj11708.chatgpt.site/_next/static/chunks/MobileActions-B_P-Y9R5.js

js jerrybobs-green-valley.jj11708.chatgpt.site collected 2026-10-03 03:59:44 UTC 2,369 bytes, 1 lines download raw bytes

1import{r as e}from"./rolldown-runtime-C60lm6uB.js";import{i as t,r as n}from"./framework-BgSIrAUN.js";import{n as r,t as i}from"./site-K6oQvPEF.js";var a=e(n(),1),o=t();function s(){let[e,t]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{if(!e)return;let n=document.body.style.overflow;document.body.style.overflow=`hidden`;let r=e=>{e.key===`Escape`&&t(!1)};return window.addEventListener(`keydown`,r),()=>{document.body.style.overflow=n,window.removeEventListener(`keydown`,r)}},[e]),(0,o.jsxs)(o.Fragment,{children:[e&&(0,o.jsx)(`div`,{className:`mobile-menu-backdrop`,onClick:()=>t(!1),"aria-hidden":`true`}),e&&(0,o.jsxs)(`aside`,{id:`mobile-site-menu`,className:`mobile-menu-drawer is-open`,"aria-label":`Site menu`,children:[(0,o.jsxs)(`div`,{className:`mobile-menu-heading`,children:[(0,o.jsxs)(`div`,{children:[(0,o.jsx)(`p`,{className:`eyebrow`,children:`JerryBob's`}),(0,o.jsx)(`h2`,{children:`Where would you like to go?`})]}),(0,o.jsx)(`button`,{type:`button`,onClick:()=>t(!1),"aria-label":`Close site menu`,children:`×`})]}),(0,o.jsxs)(`nav`,{"aria-label":`Mobile site navigation`,children:[(0,o.jsxs)(`a`,{href:`/`,onClick:()=>t(!1),children:[(0,o.jsx)(`span`,{children:`Home`}),(0,o.jsx)(`b`,{children:`Today at JerryBob's`})]}),i.map(e=>(0,o.jsxs)(`a`,{href:e.href,onClick:()=>t(!1),children:[(0,o.jsx)(`span`,{children:e.label}),(0,o.jsx)(`b`,{"aria-hidden":`true`,children:`→`})]},e.href)),(0,o.jsxs)(`a`,{href:`/events`,onClick:()=>t(!1),children:[(0,o.jsx)(`span`,{children:`Events`}),(0,o.jsx)(`b`,{"aria-hidden":`true`,children:`→`})]}),(0,o.jsxs)(`a`,{href:`/feedback`,onClick:()=>t(!1),children:[(0,o.jsx)(`span`,{children:`Contact us`}),(0,o.jsx)(`b`,{"aria-hidden":`true`,children:`→`})]})]})]}),(0,o.jsxs)(`nav`,{className:`mobile-actions`,"aria-label":`Quick actions`,children:[(0,o.jsxs)(`button`,{type:`button`,"aria-expanded":e,"aria-controls":`mobile-site-menu`,onClick:()=>t(e=>!e),children:[(0,o.jsx)(`span`,{"aria-hidden":`true`,children:`☰`}),`Menu`]}),(0,o.jsxs)(`a`,{href:r.phoneHref,children:[(0,o.jsx)(`span`,{"aria-hidden":`true`,children:`☎`}),`Call`]}),(0,o.jsxs)(`a`,{href:r.directionsUrl,children:[(0,o.jsx)(`span`,{"aria-hidden":`true`,children:`↗`}),`Directions`]}),(0,o.jsxs)(`a`,{href:r.orderUrl,children:[(0,o.jsx)(`span`,{"aria-hidden":`true`,children:`+`}),`Order`]})]})]})}export{s as MobileActions};

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.