PageSourceSearch

https://omindianfood.com/_next/static/chunks/app/layout-d7a046126269d7c0.js

js omindianfood.com collected 2026-10-08 05:59:20 UTC 6,541 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{1707:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,2619,23)),Promise.resolve().then(r.t.bind(r,8963,23)),Promise.resolve().then(r.t.bind(r,3673,23)),Promise.resolve().then(r.bind(r,6300)),Promise.resolve().then(r.bind(r,5923))},3673:()=>{},4652:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return l},getImageProps:function(){return i}});let s=r(8140),a=r(5040),n=r(1356),o=s._(r(1124));function i(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let l=n.Image},5167:(e,t,r)=>{"use strict";r.d(t,{_:()=>i,e:()=>o});var s=r(5155),a=r(2115);let n=(0,a.createContext)(void 0);function o(e){let{children:t}=e,[r,o]=(0,a.useState)([]),[i,l]=(0,a.useState)(!1);(0,a.useEffect)(()=>{let e=localStorage.getItem("om-cart");if(e)try{o(JSON.parse(e))}catch(e){console.error("Failed to parse cart",e)}l(!0)},[]),(0,a.useEffect)(()=>{i&&localStorage.setItem("om-cart",JSON.stringify(r))},[r,i]);let c=r.reduce((e,t)=>e+t.price*t.quantity,0);return(0,s.jsx)(n.Provider,{value:{items:r,addItem:e=>{let t={...e,id:Math.random().toString(36).substring(7)};o(e=>[...e,t])},removeItem:e=>{o(t=>t.filter(t=>t.id!==e))},updateItem:(e,t)=>{o(r=>r.map(r=>r.id===e?{...r,...t}:r))},clearCart:()=>o([]),total:c},children:t})}let i=()=>{let e=(0,a.useContext)(n);if(!e)throw Error("useCart must be used within a CartProvider");return e}},5239:(e,t,r)=>{"use strict";r.d(t,{default:()=>a.a});var s=r(4652),a=r.n(s)},5923:(e,t,r)=>{"use strict";r.d(t,{default:()=>c});var s=r(5155),a=r(2619),n=r.n(a),o=r(5239),i=r(2115),l=r(5167);function c(){let[e,t]=(0,i.useState)(!1),{items:r}=(0,l._)(),a=r.reduce((e,t)=>e+t.quantity,0);return(0,s.jsxs)("nav",{className:"bg-[#1A1A1A] shadow-lg sticky top-0 z-50",children:[(0,s.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,s.jsxs)("div",{className:"flex justify-between h-20",children:[(0,s.jsx)("div",{className:"flex-shrink-0 flex items-center",children:(0,s.jsx)(n(),{href:"/",children:(0,s.jsx)("div",{className:"relative h-14 w-40",children:(0,s.jsx)(o.default,{src:"/om-logo.png",alt:"OM Indian Restaurant",fill:!0,sizes:"160px",className:"object-contain",priority:!0})})})}),(0,s.jsxs)("div",{className:"hidden lg:flex lg:items-center lg:space-x-1",children:[(0,s.jsx)(n(),{href:"/menu",className:"text-gray-300 hover:text-white px-4 py-2 text-sm font-medium transition-colors",children:"Menu"}),(0,s.jsx)(n(),{href:"/about",className:"text-gray-300 hover:text-white px-4 py-2 text-sm font-medium transition-colors",children:"About"}),(0,s.jsx)(n(),{href:"/contact",className:"text-gray-300 hover:text-white px-4 py-2 text-sm font-medium transition-colors",children:"Contact"}),(0,s.jsx)("a",{href:"https://www.opentable.com/booking/restref/availability?rid=63796&lang=en-US&restRef=63796&partySize=2&otSource=Restaurant%20website",target:"_blank",rel:"noopener noreferrer",className:"text-gray-300 hover:text-white px-4 py-2 text-sm font-medium transition-colors",children:"Reservations"}),(0,s.jsxs)(n(),{href:"/order",className:"ml-4 bg-[#C41E3A] text-white px-5 py-2.5 rounded text-sm font-semibold hover:bg-[#a01830] transition-colors shadow-md flex items-center gap-2 relative",children:[(0,s.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z"})}),"Order Online",a>0&&(0,s.jsx)("span",{className:"absolute -top-2 -right-2 bg-white text-[#C41E3A] text-xs w-5 h-5 rounded-full flex items-center justify-center font-bold",children:a})]})]}),(0,s.jsxs)("div",{className:"flex items-center lg:hidden",children:[(0,s.jsxs)(n(),{href:"/order",className:"relative mr-4 bg-[#C41E3A] text-white p-2 rounded",children:[(0,s.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 
10 014 0z"})}),a>0&&(0,s.jsx)("span",{className:"absolute -top-2 -right-2 bg-white text-[#C41E3A] text-xs w-5 h-5 rounded-full flex items-center justify-center font-bold",children:a})]}),(0,s.jsx)("button",{onClick:()=>t(!e),className:"text-gray-300 hover:text-white p-2",children:(0,s.jsx)("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e?(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"}):(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})})]})]})}),e&&(0,s.jsx)("div",{className:"lg:hidden bg-[#2A2A2A] border-t border-gray-700",children:(0,s.jsxs)("div",{className:"px-4 py-3 space-y-1",children:[(0,s.jsx)(n(),{href:"/menu",className:"block text-gray-300 hover:text-white py-2 text-base",onClick:()=>t(!1),children:"Menu"}),(0,s.jsx)(n(),{href:"/about",className:"block text-gray-300 hover:text-white py-2 text-base",onClick:()=>t(!1),children:"About"}),(0,s.jsx)(n(),{href:"/contact",className:"block text-gray-300 hover:text-white py-2 text-base",onClick:()=>t(!1),children:"Contact"}),(0,s.jsx)("a",{href:"https://www.opentable.com/booking/restref/availability?rid=63796&lang=en-US&restRef=63796&partySize=2&otSource=Restaurant%20website",target:"_blank",rel:"noopener noreferrer",className:"block text-gray-300 hover:text-white py-2 text-base",onClick:()=>t(!1),children:"Reservations"}),(0,s.jsx)(n(),{href:"/order",className:"block text-gray-300 hover:text-white py-2 text-base",onClick:()=>t(!1),children:"Order Online"})]})})]})}},6300:(e,t,r)=>{"use strict";r.d(t,{Providers:()=>n});var s=r(5155),a=r(5167);function n(e){let{children:t}=e;return(0,s.jsx)(a.e,{children:t})}},8963:e=>{e.exports={style:{fontFamily:"'Inter', 'Inter Fallback'",fontStyle:"normal"},className:"__className_f367f3"}}},e=>{e.O(0,[300,356,619,441,255,358],()=>e(e.s=1707)),_N_E=e.O()}]);

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.