PageSourceSearch

https://jaymesdec.com/_next/static/chunks/49-cb8c6c104608d316.js

js jaymesdec.com collected 2026-10-05 19:30:16 UTC 6,579 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[49],{5256:function(e,t,n){n.d(t,{Navigation:function(){return d}});var a=n(7437),i=n(2265),r=n(9376),s=n(7648),l=n(9653),o=n(8614);let c=[{href:"/journey",label:"Journey"},{href:"/projects",label:"Projects"},{href:"/publications",label:"Publications"},{href:"/blog",label:"Blog"},{href:"/philosophy",label:"Philosophy"},{href:"/recognition",label:"Recognition"}];function d(){let e=(0,r.usePathname)(),[t,n]=(0,i.useState)(!1),[d,u]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=()=>{n(window.scrollY>20)};return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,i.useEffect)(()=>{u(!1)},[e]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("header",{className:"fixed top-0 left-0 right-0 z-50 transition-all duration-300 ".concat(t?"bg-blueprint-bg/95 backdrop-blur-md border-b border-blueprint-line/50":"bg-transparent"),children:(0,a.jsxs)("nav",{className:"max-w-7xl mx-auto px-6",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between h-16",children:[(0,a.jsxs)(s.default,{href:"/",className:"relative group flex items-center gap-2",children:[(0,a.jsx)("span",{className:"font-mono text-2xl font-bold text-blueprint-accent group-hover:text-blueprint-highlight transition-colors",children:"JD"}),(0,a.jsx)("span",{className:"hidden sm:inline-block font-mono text-xs text-gray-500 group-hover:text-gray-400 transition-colors",children:"/jaymes.dec"})]}),(0,a.jsx)("ul",{className:"hidden md:flex items-center gap-1",children:c.map(t=>{let n=e===t.href||(null==e?void 0:e.startsWith("".concat(t.href,"/")));return(0,a.jsx)("li",{children:(0,a.jsxs)(s.default,{href:t.href,className:"relative px-4 py-2 font-mono text-sm transition-colors ".concat(n?"text-blueprint-accent":"text-gray-400 hover:text-gray-200"),children:[t.label,n&&(0,a.jsx)(l.E.div,{layoutId:"nav-indicator",className:"absolute -bottom-1 left-2 right-2 h-0.5 bg-maker-orange",initial:!1,transition:{type:"spring",stiffness:500,damping:30}}),!n&&(0,a.jsx)("span",{className:"absolute -bottom-1 left-2 right-2 h-0.5 bg-blueprint-line/50 scale-x-0 group-hover:scale-x-100 transition-transform origin-left"})]})},t.href)})}),(0,a.jsx)("button",{onClick:()=>u(!d),className:"md:hidden relative w-10 h-10 flex items-center justify-center text-gray-400 hover:text-blueprint-accent transition-colors","aria-label":"Toggle menu","aria-expanded":d,children:(0,a.jsxs)("div",{className:"relative w-6 h-5 flex flex-col justify-between",children:[(0,a.jsx)(l.E.span,{className:"block w-full h-0.5 bg-current origin-center",animate:{rotate:d?45:0,y:d?9:0},transition:{duration:.2}}),(0,a.jsx)(l.E.span,{className:"block w-full h-0.5 bg-current",animate:{opacity:d?0:1,x:d?-10:0},transition:{duration:.2}}),(0,a.jsx)(l.E.span,{className:"block w-full h-0.5 bg-current origin-center",animate:{rotate:d?-45:0,y:d?-9:0},transition:{duration:.2}})]})})]}),(0,a.jsxs)("div",{className:"relative h-2 overflow-hidden",children:[(0,a.jsx)("div",{className:"absolute inset-0",style:{backgroundImage:"repeating-linear-gradient(\n                  90deg,\n                  transparent 0px,\n                  transparent 9px,\n                  rgba(30, 58, 95, 0.5) 9px,\n                  rgba(30, 58, 95, 0.5) 10px\n                )",backgroundSize:"10px 100%"}}),(0,a.jsx)("div",{className:"absolute inset-0",style:{backgroundImage:"repeating-linear-gradient(\n                  90deg,\n                  transparent 0px,\n                  transparent 49px,\n                  rgba(74, 158, 255, 0.3) 49px,\n                  rgba(74, 158, 255, 0.3) 50px\n                )",backgroundSize:"50px 100%"}})]})]})}),(0,a.jsx)(o.M,{children:d&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.E.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},className:"fixed inset-0 z-40 bg-blueprint-bg/80 backdrop-blur-sm md:hidden",onClick:()=>u(!1)}),(0,a.jsxs)(l.E.div,{initial:{x:"100%"},animate:{x:0},exit:{x:"100%"},transition:{type:"spring",damping:25,stiffness:200},className:"fixed top-0 right-0 bottom-0 z-50 w-72 bg-blueprint-bg border-l border-blueprint-line/50 md:hidden",children:[(0,a.jsx)("div",{className:"absolute inset-0 blueprint-grid opacity-30 pointer-events-none"}),(0,a.jsxs)("div",{className:"relative h-full flex flex-col pt-20 pb-8 px-6",children:[(0,a.jsx)("nav",{className:"flex-1",children:(0,a.jsx)("ul",{className:"space-y-2",children:c.map((t,n)=>{let i=e===t.href||(null==e?void 0:e.startsWith("".concat(t.href,"/")));return(0,a.jsx)(l.E.li,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{delay:.05*n},children:(0,a.jsxs)(s.default,{href:t.href,className:"flex items-center gap-3 px-4 py-3 font-mono text-lg transition-colors ".concat(i?"text-blueprint-accent bg-blueprint-line/20":"text-gray-300 hover:text-blueprint-accent hover:bg-blueprint-line/10"),children:[(0,a.jsx)("span",{className:"text-xs text-gray-600 font-mono w-6",children:String(n+1).padStart(2,"0")}),t.label,i&&(0,a.jsx)("span",{className:"ml-auto w-2 h-2 bg-maker-orange"})]})},t.href)})})}),(0,a.jsx)("div",{className:"mt-8 pt-6 border-t border-blueprint-line/30",children:(0,a.jsx)("p",{className:"font-mono text-xs text-gray-600",children:"Building makers since 2007"})})]})]})]})})]})}},8699:function(e,t,n){n.d(t,{PageWrapper:function(){return s}});var a=n(7437),i=n(9653);let r={initial:{opacity:0,y:20},animate:{opacity:1,y:0,transition:{duration:.4,ease:[.25,.46,.45,.94]}},exit:{opacity:0,y:-10,transition:{duration:.2}}};function s(e){let{children:t,className:n=""}=e;return(0,a.jsx)(i.E.div,{initial:"initial",animate:"animate",exit:"exit",variants:r,className:n,children:t})}},5432:function(e,t,n){n.d(t,{SmoothScroll:function(){return o}});
1var a=n(7437),i=n(2265),r=n(9096),s=n(6498),l=n(9498);function o(e){let{children:t}=e,n=(0,i.useRef)(null);return(0,i.useEffect)(()=>{if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let e=new r.Z({duration:1.2,easing:e=>Math.min(1,1.001-Math.pow(2,-10*e)),orientation:"vertical",gestureOrientation:"vertical",smoothWheel:!0,touchMultiplier:2});return n.current=e,document.documentElement.classList.add("lenis"),e.on("scroll",l.i.update),s.ZP.ticker.add(t=>{e.raf(1e3*t)}),s.ZP.ticker.lagSmoothing(0),()=>{e.destroy(),document.documentElement.classList.remove("lenis"),s.ZP.ticker.remove(e.raf)}},[]),(0,a.jsx)(a.Fragment,{children:t})}s.ZP.registerPlugin(l.i)},8049:function(e,t,n){n.d(t,{FE:function(){return a.PageWrapper}}),n(5256),n(7437),n(7648),n(5432);var a=n(8699)}}]);

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.