1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[993],{51125:function(e,t,a){"use strict";a.d(t,{Z:function(){return c}});var n=a(85893),s=a(41664),r=a.n(s),i=a(15952);function c(e){let{posts:t,total:a=t.length,headingLevel:s=2}=e,c="h".concat(s),l=[];return t.forEach((e,t)=>{let n=e.date.slice(0,4),s=l[l.length-1];s&&s.year===n||(s={year:n,entries:[]},l.push(s)),s.entries.push({...e,no:a-t})}),l.map(e=>{let{year:t,entries:a}=e;return(0,n.jsxs)("section",{"aria-labelledby":"year-".concat(t),children:[(0,n.jsxs)(c,{className:"fn-year",id:"year-".concat(t),children:[(0,n.jsx)("span",{className:"fn-year__num",children:t}),(0,n.jsx)("span",{className:"fn-year__rule","aria-hidden":"true"}),(0,n.jsxs)("span",{className:"fn-year__count",children:[a.length," ",1===a.length?"entry":"entries"]})]}),(0,n.jsx)("ul",{className:"fn-entries",children:a.map(e=>{let{id:t,date:a,title:s,no:c}=e;return(0,n.jsxs)("li",{className:"fn-entry",children:[(0,n.jsxs)("span",{className:"fn-entry__no",children:["N\xba ",String(c).padStart(2,"0")]}),(0,n.jsx)(r(),{href:"/posts/".concat(t),className:"fn-entry__title",children:s}),(0,n.jsx)("span",{className:"fn-entry__date",children:(0,n.jsx)(i.Z,{dateString:a})})]},t)})})]},t)})}},15952:function(e,t,a){"use strict";a.d(t,{Z:function(){return i}});var n=a(85893),s=a(37922),r=a(1971);function i(e){let{dateString:t}=e,a=(0,s.Z)(t);return(0,n.jsx)("time",{dateTime:t,children:(0,r.Z)(a,"LLLL d, yyyy")})}},64015:function(e,t,a){"use strict";a.d(t,{Z:function(){return f}});var n=a(85893),s=a(71665),r=a.n(s),i=a(41664),c=a.n(i),l=a(11163),o=a(57748),h=a.n(o),m=a(67294),d=a(78739),u=a.n(d);function _(){let[e,t]=(0,m.useState)("light"),[a,s]=(0,m.useState)(!1);if((0,m.useEffect)(()=>{s(!0);let e=localStorage.getItem("theme")||"light";t(e),document.documentElement.dataset.theme=e},[]),!a)return(0,n.jsx)("div",{className:u().placeholder,"aria-hidden":"true"});let r="dark"===e,i=r?"day":"night";return(0,n.jsxs)("button",{type:"button",className:u().toggle,onClick:()=>{let a="dark"===e?"light":"dark";t(a),document.documentElement.dataset.theme=a,localStorage.setItem("theme",a)},"aria-label":"Switch to ".concat(i," mode"),title:"Switch to ".concat(i," mode"),children:[(0,n.jsxs)("span",{className:"".concat(u().option," ").concat(r?"":u().current),"aria-hidden":"true",children:[(0,n.jsxs)("svg",{className:u().icon,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,n.jsx)("circle",{cx:"12",cy:"12",r:"4.5"}),(0,n.jsx)("line",{x1:"12",y1:"1.5",x2:"12",y2:"4"}),(0,n.jsx)("line",{x1:"12",y1:"20",x2:"12",y2:"22.5"}),(0,n.jsx)("line",{x1:"4.6",y1:"4.6",x2:"6.3",y2:"6.3"}),(0,n.jsx)("line",{x1:"17.7",y1:"17.7",x2:"19.4",y2:"19.4"}),(0,n.jsx)("line",{x1:"1.5",y1:"12",x2:"4",y2:"12"}),(0,n.jsx)("line",{x1:"20",y1:"12",x2:"22.5",y2:"12"}),(0,n.jsx)("line",{x1:"4.6",y1:"19.4",x2:"6.3",y2:"17.7"}),(0,n.jsx)("line",{x1:"17.7",y1:"6.3",x2:"19.4",y2:"4.6"})]}),"day"]}),(0,n.jsx)("span",{className:u().slash,"aria-hidden":"true",children:"/"}),(0,n.jsxs)("span",{className:"".concat(u().option," ").concat(r?u().current:""),"aria-hidden":"true",children:[(0,n.jsx)("svg",{className:u().icon,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,n.jsx)("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})}),"night"]})]})}let x=[{href:"/",label:"Home"},{href:"/technical-blog",label:"Tech Blog"},{href:"/talks",label:"Talks"},{href:"/security-research",label:"Research"},{href:"/services",label:"Services"}];var p=()=>{let{pathname:e}=(0,l.useRouter)();return(0,n.jsxs)("header",{className:h().navbar,children:[(0,n.jsxs)(c(),{href:"/",className:h().brand,children:[(0,n.jsx)("span",{className:h().brandName,children:"Anshuman Bhartiya"}),(0,n.jsx)("span",{className:h().brandSub,"aria-hidden":"true",children:"field notes"})]}),(0,n.jsx)("nav",{"aria-label":"Primary",className:h().nav,children:(0,n.jsx)("ul",{className:h().navList,children:x.map(t=>{let{href:a,label:s}=t,r="/"===a?"/"===e:"/technical-blog"===a?e===a||e.startsWith("/posts"):e===a;return(0,n.jsx)("li",{className:h().navItem,children:(0,n.jsx)(c(),{href:a,className:"".concat(h().navLink," ").concat(r?h().active:""),"aria-current":r?"page":void 0,children:s})},a)})})}),(0,n.jsx)(_,{})]})},g=a(9008),j=a.n(g),y=a(30429);function N(e){let{title:t,description:a=y.DEFAULT_DESCRIPTION,path:s="/",image:r=y.DEFAULT_IMAGE,imageWidth:i,imageHeight:c,type:l="website",publishedTime:o,jsonLd:h}=e,m=(0,y.absoluteUrl)(s),d=t?"".concat(t," \xb7 ").concat(y.SITE_NAME):y.SITE_NAME,u=t||y.SITE_NAME;return(0,n.jsxs)(j(),{children:[(0,n.jsx)("title",{children:d}
1,"title"),(0,n.jsx)("meta",{name:"description",content:a},"description"),(0,n.jsx)("link",{rel:"canonical",href:m},"canonical"),(0,n.jsx)("link",{rel:"alternate",type:"application/rss+xml",title:"".concat(y.SITE_NAME," RSS"),href:(0,y.absoluteUrl)("/api/rss")},"rss"),(0,n.jsx)("meta",{property:"og:site_name",content:y.SITE_NAME},"og:site_name"),(0,n.jsx)("meta",{property:"og:type",content:l},"og:type"),(0,n.jsx)("meta",{property:"og:title",content:u},"og:title"),(0,n.jsx)("meta",{property:"og:description",content:a},"og:description"),(0,n.jsx)("meta",{property:"og:url",content:m},"og:url"),(0,n.jsx)("meta",{property:"og:image",content:r},"og:image"),i&&(0,n.jsx)("meta",{property:"og:image:width",content:String(i)},"og:image:width"),c&&(0,n.jsx)("meta",{property:"og:image:height",content:String(c)},"og:image:height"),o&&(0,n.jsx)("meta",{property:"article:published_time",content:o},"article:published_time"),(0,n.jsx)("meta",{name:"twitter:card",content:"summary_large_image"},"twitter:card"),(0,n.jsx)("meta",{name:"twitter:site",content:y.TWITTER_HANDLE},"twitter:site"),(0,n.jsx)("meta",{name:"twitter:creator",content:y.TWITTER_HANDLE},"twitter:creator"),(0,n.jsx)("meta",{name:"twitter:title",content:u},"twitter:title"),(0,n.jsx)("meta",{name:"twitter:description",content:a},"twitter:description"),(0,n.jsx)("meta",{name:"twitter:image",content:r},"twitter:image"),h&&(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(h)}},"jsonld")]})}function f(e){let{children:t,home:a,seo:s}=e;return(0,n.jsxs)("div",{className:"fn-desk",children:[(0,n.jsx)("a",{className:"fn-skip",href:"#main",children:"Skip to content"}),(0,n.jsxs)("div",{className:"fn-sheet",children:[(0,n.jsx)(N,{...s}),(0,n.jsx)(p,{}),(0,n.jsx)("div",{className:"fn-body",children:(0,n.jsxs)("div",{className:"fn-column",children:[(0,n.jsx)("main",{id:"main",className:r().main,children:t}),!a&&(0,n.jsx)("div",{className:r().backToHome,children:(0,n.jsx)(c(),{href:"/",children:"â Back to home"})})]})}),(0,n.jsxs)("footer",{className:r().footer,children:[(0,n.jsx)("p",{className:r().signature,children:(0,n.jsx)("span",{className:"fn-hand",children:"Anshuman Bhartiya"})}),(0,n.jsxs)("p",{className:r().colophon,children:[(0,n.jsxs)("span",{className:r().copyright,children:["AB \xa9 ",new Date().getFullYear()]}),(0,n.jsx)("span",{"aria-hidden":"true",className:r().sep,children:"\xb7"}),(0,n.jsx)("span",{children:"Set in Source Serif 4, notes in a hand from your own system. Built with Next.js."})]})]})]})]})}},30429:function(e){"use strict";let t="https://www.anshuman.ai";e.exports={SITE_URL:t,SITE_NAME:"Anshuman Bhartiya",DEFAULT_DESCRIPTION:"Anshuman Bhartiya - Staff Security Engineer, AppSec Tech Lead, and co-host of The Boring AppSec Podcast.",DEFAULT_IMAGE:"".concat(t,"/images/profile.jpg"),TWITTER_HANDLE:"@anshuman_bh",absoluteUrl:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",a=e.startsWith("/")?e:"/".concat(e);return"".concat(t).concat(a)}}},57748:function(e){e.exports={navbar:"Navbar_navbar__GrSXC",brand:"Navbar_brand__JWn4W",brandName:"Navbar_brandName__iIWVm",brandSub:"Navbar_brandSub__cqBeH",nav:"Navbar_nav__yFFPE",navList:"Navbar_navList__gzP7S",navItem:"Navbar_navItem__Fpmiu",navLink:"Navbar_navLink__16zHl",active:"Navbar_active__qyFWv"}},78739:function(e){e.exports={toggle:"ThemeToggle_toggle__RoeI1",option:"ThemeToggle_option__UyYKx",current:"ThemeToggle_current__eaHDP",slash:"ThemeToggle_slash__NXzOE",icon:"ThemeToggle_icon__MJs1a",placeholder:"ThemeToggle_placeholder__wBqzv"}},71665:function(e){e.exports={main:"layout_main__DFqTq",backToHome:"layout_backToHome__D9QFr",footer:"layout_footer__WlhMu",signature:"layout_signature__rtdru",colophon:"layout_colophon__91LiN",copyright:"layout_copyright__yuDki",sep:"layout_sep__3L8Z9"}}}]);
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.