PageSourceSearch

https://dominiksumer.com/_next/static/chunks/app/layout-234f0c49823cb744.js

js dominiksumer.com collected 2026-10-09 21:46:28 UTC 4,175 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{6189:function(e,t,r){Promise.resolve().then(r.t.bind(r,8326,23)),Promise.resolve().then(r.t.bind(r,3994,23)),Promise.resolve().then(r.bind(r,4727)),Promise.resolve().then(r.bind(r,8101)),Promise.resolve().then(r.t.bind(r,6069,23)),Promise.resolve().then(r.bind(r,154)),Promise.resolve().then(r.bind(r,6225)),Promise.resolve().then(r.bind(r,1417))},154:function(e,t,r){"use strict";r.r(t),r.d(t,{Navigation:function(){return Navigation}});var n=r(7437),o=r(6978),i=r.n(o),s=r(1396),l=r.n(s),a=r(4033),c=r(2265),d=r(6666),f=r(8915);let Divider=e=>{let{orientation:t="horizontal",thickness:r="1px",...o}=e,i="horizontal"===t;return(0,n.jsx)(f.zo.div,{css:{"--thickness":r},width:i?"100%":"var(--thickness)",height:i?"var(--thickness)":"100%",background:i?{base:"linear-gradient(to right, #f1f1f100, #f1f1f1 30%, #f1f1f1 70%, #f1f1f100)",_dark:"linear-gradient(to right, #2c353f00, #2c353f 30%, #2c353f 70%, #2c353f00)"}:{base:"linear-gradient(to bottom, #f1f1f100, #f1f1f1 30%, #f1f1f1 70%, #f1f1f100)",_dark:"linear-gradient(to bottom, #2c353f00, #2c353f 30%, #2c353f 70%, #2c353f00)"},...o})},LayoutWrapper=e=>(0,n.jsx)(f.zo.section,{display:"flex",flexDir:"column",w:"90%",maxW:"1000px",mx:"auto",...e}),u=(0,c.forwardRef)(function(e,t){let{name:r,href:o}=e;return(0,n.jsxs)(l(),{href:o,ref:t,"aria-label":r,className:(0,d.cx)("group",(0,d.iv)({pos:"relative",fontWeight:"semibold",_hover:{textDecoration:"none"},_focus:{boxShadow:"none"}})),children:[r,(0,n.jsx)(f.xu,{"aria-hidden":"true",mt:"-3px",mx:"auto",transform:"translateY(3px)",w:"0%",h:"3px",bg:"gray.500",transition:"width .2s",_groupHover:{w:"100%"},pointerEvents:"none"})]})});var scroll_progress_bar=()=>{let[e,t]=(0,c.useState)(0);return(0,c.useEffect)(()=>{function onScroll(){let e=document.body.clientHeight-window.innerHeight;t(window.scrollY/e*100)}return window.addEventListener("scroll",onScroll),onScroll(),()=>window.removeEventListener("scroll",onScroll)},[]),(0,n.jsx)(f.xu,{pos:"absolute",bottom:"0px",left:"0",overflow:"hidden",width:"100%",height:"3px",zIndex:"10",opacity:".8",children:(0,n.jsx)(f.xu,{style:{"--progress":e+"%"},pos:"absolute",left:"0",top:"0",height:"100%",bg:{base:"blue.500",_dark:"purple.800"},width:"var(--progress)"})})},h=r(6435),x=r(431);let ThemeButton=()=>{let{setTheme:e,resolvedTheme:t}=(0,h.F)(),r="dark"===t,[o,i]=(0,c.useState)(!1);return((0,c.useEffect)(()=>{i(!0)},[]),o)?(0,n.jsx)(f.zo.button,{cursor:"pointer","aria-label":"Switch to ".concat(r?"light":"dark"," mode"),onClick:()=>{e(r?"light":"dark")},color:"inherit",children:r?(0,n.jsx)(x.wOW,{}):(0,n.jsx)(x.kXG,{})}):(0,n.jsx)(x.kXG,{})},Navigation=()=>{let e="/"===(0,a.usePathname)(),t=(0,a.usePathname)().startsWith("/blog/"),[r,o]=(0,c.useState)(!1),[s,h]=(0,c.useState)(!1),x=!e||s;return(0,c.useEffect)(()=>{let t=i()(()=>{if(window.scrollY>10?o(!0):o(!1),!e)return;let t=window.innerWidth<768;window.scrollY>(t?65:95)?h(!0):h(!1)},200);return t(),window.addEventListener("scroll",t),()=>{window.removeEventListener("scroll",t)}},[e]),(0,n.jsxs)(f.zo.nav,{w:"100%",zIndex:"999",boxShadow:r?"0px 0px 10px rgba(0,0,0,0.15)":"none",bgColor:"navBg",backdropFilter:"blur(10px)",transition:"box-shadow .6s",position:"sticky",top:"0px",children:[(0,n.jsxs)(LayoutWrapper,{flexDirection:"row",alignItems:"center",justifyContent:"space-between",fontSize:["16px","18px","20px"],fontWeight:"semibold",py:4,children:[(0,n.jsx)(l(),{href:"/",className:(0,d.iv)({transition:"opacity .3s"}),style:{opacity:x?1:0},children:"Dominik Sumer \uD83D\uDC4B"}),(0,n.jsxs)(f.kC,{align:"center",gap:4,children:[(0,n.jsx)(u,{name:"Articles",href:"/blog"}),(0,n.jsx)(f.M5,{h:"25px",children:(0,n.jsx)(Divider,{orientation:"vertical"})}),(0,n.jsx)(ThemeButton,{})]})]}),t&&(0,n.jsx)(scroll_progress_bar,{})]})}},6225:function(e,t,r){"use strict";r.r(t),r.d(t,{Providers:function(){return Providers}});var n=r(7437),o=r(6435);function Providers(e){let{children:t}=e;return(0,n.jsx)(o.f,{attribute:"class",defaultTheme:"light",children:t})}},6069:function(){}},function(e){e.O(0,[443,316,994,779,417,915,478,472,744],function(){return e(e.s=6189)}),_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.