1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1754],{3437:(e,t,r)=>{"use strict";r.d(t,{J6:()=>n,LR:()=>l,Ne:()=>i,PN:()=>a,ev:()=>s,wj:()=>o});let a={CATEGORIES:[{value:"Secrets Management",label:"Secrets Management",match:["Secrets Management"]},{value:"Access & Certificates",label:"Access & Certificates",match:["Privileged Access Mgmt","Certificate Management"]},{value:"AI Agent Security",label:"AI Agent Security",match:["AI Agent Security"]},{value:"Company & News",label:"Company & News",match:["Company & News"]}],TYPES:["Guide","Comparison","News"],CATEGORY_MIN_COUNT:3},l=a.CATEGORIES.flatMap(e=>e.match),n=a.TYPES;function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=a.CATEGORIES.find(t=>e.some(e=>t.match.includes(e)));return t?t.value:null}function i(e){let t=a.CATEGORIES.find(t=>t.value===e);return t?t.label:e}let o={BASE_URL:"https://infisical.com",BLOG_PATH:"/blog",IMAGE_DIMENSIONS:{WIDTH:700,HEIGHT:400},SOCIAL_SHARE_URLS:{TWITTER:"https://twitter.com/intent/tweet",LINKEDIN:"https://www.linkedin.com/shareArticle",HACKER_NEWS:"https://news.ycombinator.com/submitlink"},DEFAULT_LAYOUT:"PostLayout",POST_DATE_TEMPLATE:{weekday:"long",year:"numeric",month:"long",day:"numeric"}}},4914:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(37876);function l(e){let{children:t,className:r="",style:l}=e;return(0,a.jsx)("div",{className:"v2-prose ".concat(r),style:l,children:t})}r(14232)},6353:(e,t,r)=>{"use strict";r.d(t,{FT:()=>l,fq:()=>n,gE:()=>a});let a="visual",l={"secret-sprawl":{summary:"One DATABASE_URL value, copied into a local .env file, a Slack thread, a CI settings page, a deployment manifest and a sync backup."},"setup-comparison":{summary:"Three ways to give app.js a DATABASE_URL, run side by side. Setting it on the command line works. A .env file on its own prints undefined, because the app never reads the file. Loading the .env file with dotenv works."},"dotenv-run":{summary:"Stepping through node app.js. process.env starts without DATABASE_URL. The first line is dotenv: it reads the .env file and adds DATABASE_URL to process.env as a key and a value. The second line then reads process.env, never the file, and prints the connection string."},"parent-processes":{summary:"The chain of processes that filled in your app's environment. launchd sets HOME, USER, SHELL and a starting PATH. Ghostty inherits them and adds TERM. zsh inherits those and replaces PATH from .zshrc. node inherits the finished document and adds nothing."},"fork-exec":{summary:"Every process in the chain arrived the same way. launchd forks a copy of itself and that copy execs Ghostty, keeping its pid. Ghostty does the same to start zsh, and zsh does the same to start node. A copy, then a replacement, three times over."},"runtime-injection":{summary:"infisical run reads the committed .infisical.json for the project and environment, authenticates an identity, fetches the encrypted DATABASE_URL over TLS, then forks and execs node with that value already in its environment. It arrives in process.env under the same key, app.js is unchanged, and nothing is written to disk."}};function n(e){var t,r;return null!=(r=null==(t=l[e])?void 0:t.summary)?r:null}RegExp("^ {0,3}((`|~)\\2{2,})"+a+"[ \\t]*\\r?\\n([\\s\\S]*?)\\r?\\n {0,3}\\1\\2*[ \\t]*$","gm")},8046:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var a=r(37876),l=r(14232),n=r(48230),s=r.n(n);function i(e){let{items:t=[]}=e;if(!t.length)return null;let r=1===t.length&&t[0].href;return(0,a.jsx)("nav",{"aria-label":"Breadcrumb",className:"font-v2-sans",style:{display:"flex",alignItems:"center",gap:"8px",fontSize:"14px",color:"var(--v2-color-text-subtle)"},children:t.map((e,n)=>{var i,o;let c=n===t.length-1,d=e.href&&!(c&&!r)?(0,a.jsxs)(s(),{href:e.href,style:{color:"var(--v2-color-text-subtle)",textDecoration:"none",display:"inline-flex",alignItems:"center",gap:"6px",transition:"color var(--v2-dur-fast) var(--v2-ease)"},onMouseEnter:e=>e.currentTarget.style.color="var(--v2-color-text)",onMouseLeave:e=>e.currentTarget.style.color="var(--v2-color-text-subtle)",children:[r&&(0,a.jsx)("span",{"aria-hidden":"true",children:"â©"}),e.label]}):(0,a.jsx)("span",{style:{color:"var(--v2-color-text)"},children:e.label});return(0,a.jsxs)(l.Fragment,{children:[n>0&&(0,a.jsx)("span",{"aria-hidden":"true",children:"/"}),d]},null!=(o=null!=(i=e.href)?i:e.label)?o:n)})})}},8477:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSG:()=>e0,default:()=>e2});var a,l,n,s,i,o,c,d,h=r(37876),u=r(14232);function m(e){let{children:t}=e;return(0,h.jsx)("h1",{className:"text-xl font-medium leading-9 tracking-tight text-black sm:text-3xl sm:leading-10 md:text-4xl md:leading-14",children:t})}var p=r(8169),v=r(62686),x=r(5321),g=r(33581),f=r(98626),y=r(46836),b=r(54587),j=r.n(b);let w=e=>{let{...t}=e;return(0,h.jsx)(j(),{...t})};var N=r(48230),k=r.n(N);let A=e=>{let{href:t,node:r,...a}=e,l=t&&t.startsWith("/"),n=t&&t.startsWith("#");return l?(0,h.jsx)(k(),{href:t,...a}):n?(0,h.jsx)("a",{href:t,...a}):(0,h.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:t,...a})},S=e=>{let{toc:t,indentDepth:r=3,fromHeading:a=1,toHeading:l=6,asDisclosure:n=!1,exclude:s=""}=e,i=Array.isArray(s)?RegExp("^("+s.join("|")+")$","i"):RegExp("^("+s+")$","i"),o=t.filter(e=>e.depth>=a&&e.depth<=l&&!i.test(e.value)).map(e=>({...e,value:e.value.replace(/^(\d+\.\s*)+/,"").trim()})),c=e=>(0,h.jsx)("ol",{className:"toc-inline-list",children:e.map(e=>(0,h.jsxs)("li",{children:[(0,h.jsx)("a",{href:e.url,className:"text-mineshaft-900 underline underline-offset-2 hover:text-primary-600",children:e.value}),e.children.length>0&&c(e.children)]},e.url))}),d=c((e=>{let t=[],r=[{depth:a-1,children:t}];
1return e.forEach(e=>{let t={...e,children:[]},a=e.depth;for(;r.length>1&&a<=r[r.length-1].depth;)r.pop();a>r[r.length-1].depth+1&&(a=r[r.length-1].depth+1),t.depth=a,r[r.length-1].children.push(t),r.push(t)}),t})(o));return(0,h.jsx)(h.Fragment,{children:n?(0,h.jsxs)("details",{open:!0,className:"toc-inline",children:[(0,h.jsx)("summary",{className:"ml-6 pt-2 pb-2 text-xl font-bold",children:"Table of Contents"}),(0,h.jsx)("div",{className:"ml-6",children:d})]}):(0,h.jsx)("div",{className:"toc-inline",children:d})})};var E=r(70008),I=r.n(E);r(73974),r(54279),r(12375),r(29178),r(65791),r(32271),r(6961),r(67111);let T={js:"JavaScript",jsx:"JSX",ts:"TypeScript",tsx:"TSX",bash:"Bash",sh:"Shell",shell:"Shell",yaml:"YAML",yml:"YAML",hcl:"HCL",json:"JSON",py:"Python",python:"Python",go:"Go",rust:"Rust",sql:"SQL",docker:"Dockerfile",dockerfile:"Dockerfile"},L=e=>{let{children:t,lang:r="js"}=e,a=(0,u.useRef)(null),[l,n]=(0,u.useState)(!1);(0,u.useEffect)(()=>{a.current&&I().highlightAllUnder(a.current)},[]);let s=T[r]||(r?String(r).toUpperCase():"CODE");return(0,h.jsxs)("div",{className:"v2-code",children:[(0,h.jsxs)("div",{className:"v2-code-tools",children:[(0,h.jsx)("span",{className:"v2-code-lang",children:s}),(0,h.jsx)("button",{type:"button","aria-label":l?"Copied":"Copy code",className:"v2-code-copy","data-copied":l?"true":void 0,onClick:()=>{var e,t;let r=null!=(t=null==(e=a.current)?void 0:e.textContent)?t:"";navigator.clipboard.writeText(r),n(!0),setTimeout(()=>n(!1),2e3)},children:l?"Copied":"Copy"})]}),(0,h.jsx)("pre",{className:"language-".concat(r),ref:a,children:t})]})};var M=r(33144),R=r.n(M);let C=e=>{let{title:t="Subscribe to the newsletter"}=e,r=(0,u.useRef)(null),[a,l]=(0,u.useState)(!1),[n,s]=(0,u.useState)(""),[i,o]=(0,u.useState)(!1),c=async e=>{e.preventDefault();let t=await fetch("/api/".concat(R().newsletter.provider),{body:JSON.stringify({email:r.current.value}),headers:{"Content-Type":"application/json"},method:"POST"}),{error:a}=await t.json();if(a){l(!0),s("Your e-mail address is invalid or you are already subscribed!");return}r.current.value="",l(!1),o(!0),s("Successfully! \uD83C\uDF89 You are now subscribed.")};return(0,h.jsxs)("div",{children:[(0,h.jsx)("div",{className:"pb-1 text-lg font-semibold text-gray-800 dark:text-gray-100",children:t}),(0,h.jsxs)("form",{className:"flex flex-col sm:flex-row",onSubmit:c,children:[(0,h.jsxs)("div",{children:[(0,h.jsx)("label",{className:"sr-only",htmlFor:"email-input",children:"Email address"}),(0,h.jsx)("input",{autoComplete:"email",className:"w-72 rounded-md px-4 focus:border-transparent focus:outline-none focus:ring-2 focus:ring-primary-600 dark:bg-black",id:"email-input",name:"email",placeholder:i?"You're subscribed ! \uD83C\uDF89":"Enter your email",ref:r,required:!0,type:"email",disabled:i})]}),(0,h.jsx)("div",{className:"mt-2 flex w-full rounded-md shadow-sm sm:mt-0 sm:ml-3",children:(0,h.jsx)("button",{className:"w-full rounded-md bg-primary-500 py-2 px-4 font-medium text-white sm:py-0 ".concat(i?"cursor-default":"hover:bg-primary-700 dark:hover:bg-primary-400"," focus:outline-none focus:ring-2 focus:ring-primary-600 focus:ring-offset-2 dark:ring-offset-black"),type:"submit",disabled:i,children:i?"Thank you!":"Sign up"})})]}),a&&(0,h.jsx)("div",{className:"w-72 pt-2 text-sm text-red-500 dark:text-red-400 sm:w-96",children:n})]})};var O=r(45105),P=r.n(O),_=r(97460),D=r(8614),z=r(17767),B=r(2535),H=r(28363),G=r(33419);function U(){return(U=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}function F(){return(F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}function W(){return(W=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}function Y(){return(Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}function V(){return(V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}function q(){return(q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}function X(){return(X=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}let $={mail:function(e){return u.createElement("svg",U({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),a||(a=u.createElement("path",{d:"M2.003 5.884 10 9.882l7.997-3.998A2 2 0 0 0 16 4H4a2 2 0 0 0-1.997 1.884z"})),l||(l=u.createElement("path",{d:"m18 8.118-8 4-8-4V14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8.118z"})))},github:function(e){return u.createElement("svg",F({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),n||(n=u.createElement("path",{d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})))},facebook:function(e){return u.createElement("svg",W({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),s||(s=u.createElement("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})))},youtube:function(e){return u.createElement("svg",Y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),i||(i=u.createElement("path",{d:"M23.499 6.203a3.008 3.008 0 0 0-2.089-2.089c-1.87-.501-9.4-.501-9.4-.501s-7.509-.01-9.399.501a3.008 3.008 0 0 0-2.088 2.09A31.258 31.26 0 0 0 0 12.01a31.258 31.26 0 0 0 .523 5.785 3.008 3.008 0 0 0 2.088 2.089c1.869.502 9.4.502 9.4.502s7.508 0 9.399-.502a3.008 3.008 0 0 0 2.089-2.09 31.258 31.26 0 0 0 .5-5.784 31.258 31.26 0 0 0-.5-5.808zm-13.891 9.4V8.407l6.266 3.604z"})))},linkedin:function(e){return u.createElement("svg",V({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},e),o||(o=u.createElement("path",{d:"M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"})))},twitter:function(e){return u.createElement("svg",q({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}
1,e),c||(c=u.createElement("path",{d:"M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8l164.9-188.5L26.8 48h145.6l100.5 132.9L389.2 48zm-24.8 373.8h39.1L151.1 88h-42l255.3 333.8z"})))},yc:function(e){return u.createElement("svg",X({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},e),d||(d=u.createElement("path",{d:"M448 32v448H0V32h448zM236 287.5 313.5 142h-32.7L235 233c-4.7 9.3-9 18.3-12.8 26.8L210 233l-45.2-91h-35l76.7 143.8v94.5H236v-92.8z"})))}},K=e=>{let{kind:t,href:r,size:a=6}=e;if(!r||"mail"===t&&!/^mailto:\w+([.-]?\w+)@\w+([.-]?\w+)(.\w{2,3})+$/.test(r))return null;let l=$[t];return(0,h.jsxs)("a",{className:"text-sm text-gray-500 transition hover:text-gray-600",target:"_blank",rel:"noopener noreferrer",href:r,children:[(0,h.jsx)("span",{className:"sr-only",children:t}),(0,h.jsx)(l,{className:"fill-current text-gray-700 hover:text-blue-500 dark:text-bunker-200 dark:hover:text-white h-".concat(a," w-").concat(a)})]})};var J=r(23872),Q=r(3437),Z=r(39611),ee=r(45813),et=r(8046),er=r(4914),ea=r(16275),el=r(57689);let en=e=>new Date(e).toLocaleDateString(R().locale,{year:"numeric",month:"long",day:"numeric"});var es=r(38979),ei=r(37514);function eo(e){let{slug:t,title:r,date:a,author:l,image:n,imageAssetId:s=null,readingTime:i=null,variant:o="tile",inspectorProps:c=null}=e,d="featured"===o,m=(0,el.I)(),p=(0,ei.A)()&&d&&!m,{display:v,start:x}=(0,es.Np)("Read post",p,{idle:p}),g=p?{onMouseEnter:x,onFocus:x}:{},f="string"==typeof i?i:(null==i?void 0:i.text)||null,y=[a?en(a):null,f].filter(Boolean);return(0,h.jsxs)(k(),{href:"".concat(Q.wj.BLOG_PATH,"/").concat(t),className:"group relative flex h-full flex-col overflow-hidden bg-v2-bg no-underline",style:{color:"var(--v2-color-text)",textDecoration:"none"},...g,children:[(0,h.jsx)(ec,{image:n,imageAssetId:s,alt:r||"Blog cover",inspectorProps:c}),(0,h.jsxs)("div",{className:"flex flex-1 flex-col",style:{gap:d?"16px":"12px",padding:d?"var(--v2-gutter) var(--v2-gutter)":"calc(var(--v2-gutter) * 0.85) calc(var(--v2-gutter) * 0.85)"},children:[y.length>0&&(0,h.jsx)("span",{className:"font-v2-mono uppercase",style:{fontSize:"var(--v2-text-b4)",letterSpacing:"0.06em",color:"var(--v2-color-text-subtle)",lineHeight:"var(--v2-lh-heading)"},children:y.map((e,t)=>(0,h.jsxs)(u.Fragment,{children:[t>0&&(0,h.jsx)("span",{"aria-hidden":"true",style:{margin:"0 0.5em"},children:"\xb7"}),e]},e))}),(0,h.jsx)("h3",{className:"font-v2-sans",style:{margin:0,fontSize:d?"var(--v2-text-h2)":"var(--v2-text-b1)",fontWeight:d?"var(--v2-weight-medium)":"var(--v2-weight-semibold)",lineHeight:"var(--v2-lh-heading)",letterSpacing:d?"-0.02em":"-0.01em",textWrap:"pretty"},...c?c({fieldId:"title"}):{},children:r}),(0,h.jsxs)("div",{className:"mt-auto flex items-center justify-between",style:{gap:16,paddingTop:"4px"},children:[l&&(0,h.jsx)("span",{className:"font-v2-sans",style:{fontSize:"var(--v2-text-b3)",color:"var(--v2-color-text-subtle)",lineHeight:"var(--v2-lh-body)",minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:l}),(0,h.jsx)(ed,{isFeatured:d,label:v})]})]})]})}function ec(e){let{image:t,imageAssetId:r,alt:a,inspectorProps:l}=e,n={width:"100%",height:"100%",objectFit:"cover",display:"block",transition:"filter var(--v2-dur-base) var(--v2-ease)"};return(0,h.jsx)("div",{className:"relative w-full overflow-hidden",style:{aspectRatio:"16 / 10",borderBottom:"var(--v2-border-width) solid var(--v2-color-border)"},...l?l({fieldId:"coverImage"}):{},children:r?(0,h.jsx)(G.G,{src:t,assetId:r,fieldId:"coverImage",alt:a,width:Q.wj.IMAGE_DIMENSIONS.WIDTH,height:Q.wj.IMAGE_DIMENSIONS.HEIGHT,className:"v2-blogcard-img",style:n,sizes:"(max-width: 1024px) 100vw, 640px"}):(0,h.jsx)(j(),{src:t,alt:a,width:Q.wj.IMAGE_DIMENSIONS.WIDTH,height:Q.wj.IMAGE_DIMENSIONS.HEIGHT,className:"v2-blogcard-img",style:n,sizes:"(max-width: 1024px) 100vw, 640px"})})}function ed(e){let{isFeatured:t,label:r}=e;return(0,h.jsxs)("span",{className:"inline-flex shrink-0 items-center font-v2-sans group-focus-within:gap-[9px] group-focus-within:text-[var(--v2-color-accent-green)] group-hover:gap-[9px] group-hover:text-[var(--v2-color-accent-green)]",style:{gap:5,fontSize:"var(--v2-text-b4)",lineHeight:1.1,letterSpacing:"0.02em",fontWeight:"var(--v2-weight-semibold)",color:"var(--v2-color-text-subtle)",transition:"gap var(--v2-dur-fast) var(--v2-ease), c
1olor var(--v2-dur-fast) var(--v2-ease)"},children:[t?r:null,(0,h.jsx)(eh,{})]})}function eh(){return(0,h.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none","aria-hidden":"true",className:"group-focus-within:translate-x-[2px] group-hover:translate-x-[2px]",style:{transition:"transform var(--v2-dur-fast) var(--v2-ease)"},children:(0,h.jsx)("path",{d:"M4.5 2.5L8 6l-3.5 3.5",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})})}var eu=r(38556),em=r(58055);let ep=[{name:"twitter",icon:D.Oc$,key:"TWITTER"},{name:"linkedin",icon:D.IAJ,key:"LINKEDIN"},{name:"hackernews",icon:D.fXb,key:"HACKER_NEWS"}];function ev(e){let{frontMatter:t,contentfulAuthors:r=[],pageMetadata:a=null,next:l,prev:n,children:s,toc:i,inspectorProps:o=null,readNext:c=[]}=e,{slug:d,date:u,title:m,image:p,readingTime:v,showTableOfContents:x}=t,g=!1!==x&&Array.isArray(i)&&i.length>0;return(0,h.jsxs)("div",{className:"v2-page relative no-scrollbar",style:{backgroundColor:"var(--v2-color-bg)",color:"var(--v2-color-text)"},children:[(0,h.jsx)(P(),{id:"v2-theme-init",strategy:"beforeInteractive",dangerouslySetInnerHTML:{__html:Z.$}}),(0,h.jsx)(B.tb,{pageMetadata:a,fallbacks:{title:"".concat(m," | Infisical Blog"),description:t.summary||t.metaDescription,ogImage:p},jsonLd:[(0,H.eR)([{name:"Infisical",path:"/"},{name:"Blog",path:"/blog"},{name:m}])],articleData:{authors:r.map(e=>({name:e.name})),publishedDate:u,modifiedDate:t.lastmod,url:"".concat(R().siteUrl,"/blog/").concat(d)}}),(0,h.jsx)(J.A,{}),(0,h.jsx)("div",{className:"v2-grain-overlay","aria-hidden":"true"}),(0,h.jsx)(ee.A,{clip:!0,className:"bg-v2-bg",style:{"--v2-max-width":"1360px"},children:(0,h.jsx)("div",{style:{padding:"calc(var(--v2-navbar-height) + var(--v2-gutter) * 4) var(--v2-gutter) var(--v2-section-py)"},children:(0,h.jsxs)("div",{className:"v2-post-block",children:[(0,h.jsxs)("div",{className:"v2-post-header-wrap",children:[(0,h.jsx)("div",{style:{marginBottom:"calc(var(--v2-gutter) * 2)"},children:(0,h.jsx)(et.A,{items:[{label:"Blog",href:"/blog"}]})}),(0,h.jsx)(ex,{title:m,date:u,readingTime:v,authors:r,inspectorProps:o})]}),(0,h.jsxs)("div",{className:"v2-post-layout",children:[(0,h.jsxs)("div",{className:"v2-post-main",children:[(0,h.jsx)(er.A,{children:s}),(0,h.jsx)(eb,{authors:r})]}),(0,h.jsx)("aside",{className:"v2-post-rail-left",children:(0,h.jsx)("div",{className:"v2-post-rail-sticky",children:g&&(0,h.jsx)("div",{className:"v2-post-toc",children:(0,h.jsx)(ea.A,{toc:i})})})}),(0,h.jsx)("aside",{className:"v2-post-rail-right",children:(0,h.jsxs)("div",{className:"v2-post-rail-sticky",children:[(0,h.jsx)(ey,{}),(0,h.jsx)(ef,{slug:d,title:m})]})})]})]})})}),(0,h.jsx)(ew,{posts:c,prev:n,next:l}),(0,h.jsx)(em.A,{})]})}function ex(e){let{title:t,date:r,readingTime:a,authors:l=[],inspectorProps:n}=e;return(0,h.jsxs)("header",{style:{marginBottom:"calc(var(--v2-gutter) * 3)"},children:[(0,h.jsx)("h1",{className:"font-v2-sans",style:{margin:0,fontSize:"var(--v2-text-h1)",fontWeight:"var(--v2-weight-medium)",lineHeight:"var(--v2-lh-heading)",letterSpacing:"-0.02em"},...n?n({fieldId:"title"}):{},children:t}),(0,h.jsx)(eg,{authors:l,date:r,readingTime:a})]})}function eg(e){var t;let{authors:r=[],date:a,readingTime:l}=e,n=(r||[]).filter(e=>e&&e.name),s=n.filter(e=>e.avatar),i="string"==typeof l?l:(null==l?void 0:l.text)||null,o=[a?new Date(a).toLocaleDateString(R().locale,Q.wj.POST_DATE_TEMPLATE):null,i].filter(Boolean);return(0,h.jsxs)("div",{className:"v2-post-byline",children:[s.length>0&&(0,h.jsx)("div",{className:"v2-post-byline-avatars","aria-hidden":"true",style:{"--stack":s.slice(0,3).length},children:s.slice(0,3).map(e=>(0,h.jsx)("span",{className:"v2-post-byline-avatar",children:(0,h.jsx)(G.G,{src:e.avatar,assetId:e.avatarAssetId,fieldId:"file",width:64,height:64,alt:"".concat(e.name," avatar"),style:{width:"100%",height:"100%",objectFit:"cover",display:"block"}})},e.entryId||e.slug||e.name))}),(0,h.jsxs)("div",{className:"v2-post-byline-text",children:[n.length>0&&(0,h.jsx)("span",{className:"v2-post-byline-names font-v2-sans",children:(t=n.map(e=>e.name)).length<=1?t[0]||"":2===t.length?"".concat(t[0]," and ").concat(t[1]):"".concat(t.slice(0,-1).join(", ")," and ").concat(t[t.length-1])}),o.length>0&&(0,h.jsxs)("span",{className:"v2-post-byline-meta font-v2-sans",children:[a?(0,h.jsx)("time",{dateTime:a,children:o[0]}):o[0],o.slice(1).map(e=>(0,h.jsxs)(u.Fragment,{children:[(0,h.jsx)("span",{className:"v2-post-byline-sep","aria-hidden":"true",children:"\xb7"}),e]},e))]})]})]})}function ef(e){let{slug:t,title:r}=e;return(0,h.jsx)("div",{className:"v2-post-share",style:{marginTop:"10px",marginBottom:"var(--v2-gutter)"},children:(0,h.jsx)("div",{style:{display:"flex",gap:"14px",alignItems:"center",justifyContent:"center"},children:ep.map(e=>{let{name:a,icon:l,key:n}=e;return(0,h.jsx)("a",{href:function(e,t,r){let a="".concat(Q.wj.BASE_URL).concat(Q.wj.BLOG_PATH,"/").concat(t),l=encodeURIComponent(r);return"TWITTER"===e?"".concat(Q.wj.SOCIAL_SHARE_URLS.TWITTER,"?text=").concat(l,"&url=").concat(a):"LINKEDIN"===e?"".concat(Q.wj.SOCIAL_SHARE_URLS.LINKEDIN,"?url=").concat(a,"&title=").concat(l):"".concat(Q.wj.SOCIAL_SHARE_URLS.HACKER_NEWS,"?u=").concat(a,"&t=").concat(l)}(n,t,r),target:"_blank",rel:"noopener noreferrer","aria-label":"Share on ".concat(a),className:"v2-post-share-link",style:{color:"var(--v2-color-text-subtle)"},children:(0,h.jsx)(_.g,{icon:l,style:{width:22,height:22}})},a)})})})}function ey(){return(0,h.jsxs)("div",{className:"v2-post-cta",children:[(0,h.jsx)("h3",{className:"v2-post-cta-title font-v2-sans",children:"Ready to get started?"}),(0,h.jsx)("p",{className:"v2-post-cta-body font-v2-sans",children:"Secure humans, machines, and agents with Infisical today. Start a free trial or talk to an expert."}),(0,h.jsxs)("div",{className:"v2-post-cta-actions",children:[(0,h.jsx)(es.Ay,{href:"https://app.infisical.com/signup",external:!0,variant:"primary",size:"sm",pixelFill:!0,className:"justify-center",children:"Start for free"}),(0,h.jsx)(es.Ay,{href:"/talk-to-us",variant:"ghost",size:"sm",showArrow:!0,className:"justify-center",children:"Book a demo"})]})]})}function eb(e){let{authors:t}=e;return t&&0!==t.length?(0,h.jsx)("div",{style:{marginTop:"calc(var(--v2-gutter) * 2)",paddingTop:"calc(var(--v2-gutter) * 1.5)",borderTop:"var(--v2-border-width) solid var(--v2-color-border)",display:"flex",flexDirection:"column",gap:"calc(var(--v2-gutter) * 1.5)"},children:t.map(e=>(0,h.jsx)(ej,{author:e},e.entryId||e.slug))}):null}function ej(e){let{author:t}=e,r=t.entryId?(0,z.wi)({entryId:t.entryId}
1):null,a=[t.title,t.company].filter(Boolean).join(", ");return(0,h.jsxs)("div",{style:{display:"flex",gap:"20px",alignItems:"flex-start"},children:[t.avatar&&(0,h.jsx)("div",{className:"relative shrink-0 overflow-hidden",style:{width:64,height:64,borderRadius:"50%",border:"var(--v2-border-width) solid var(--v2-color-border)"},children:(0,h.jsx)(G.G,{src:t.avatar,assetId:t.avatarAssetId,fieldId:"file",width:128,height:128,alt:"".concat(t.name||"Author"," avatar"),style:{width:"100%",height:"100%",objectFit:"cover",display:"block"}})}),(0,h.jsxs)("div",{style:{minWidth:0},children:[(0,h.jsx)("h3",{className:"font-v2-sans",style:{margin:0,fontSize:"var(--v2-text-b1)",fontWeight:"var(--v2-weight-semibold)",color:"var(--v2-color-text)"},...r?r({fieldId:"name"}):{},children:t.name}),a&&(0,h.jsx)("p",{className:"font-v2-sans",style:{margin:"2px 0 0",fontSize:"var(--v2-text-b3)",color:"var(--v2-color-text-subtle)"},...r?r({fieldId:"title"}):{},children:a}),t.biography&&(0,h.jsx)("p",{className:"font-v2-sans",style:{margin:"12px 0 0",fontSize:"var(--v2-text-b2)",lineHeight:"var(--v2-lh-body)",color:"var(--v2-color-text)"},...r?r({fieldId:"biography"}):{},children:t.biography}),(0,h.jsxs)("div",{style:{display:"flex",gap:"12px",marginTop:"12px"},children:[t.twitterUrl&&(0,h.jsx)(K,{kind:"twitter",href:t.twitterUrl,size:5}),t.gitHubUrl&&(0,h.jsx)(K,{kind:"github",href:t.gitHubUrl,size:5}),t.linkedInUrl&&(0,h.jsx)(K,{kind:"linkedin",href:t.linkedInUrl,size:5})]})]})]})}function ew(e){let{posts:t=[],prev:r,next:a}=e,l=(t||[]).filter(Boolean).slice(0,3);return 0===l.length?r||a?(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(eu.A,{label:"READ NEXT"}),(0,h.jsx)(ee.A,{borders:!0,className:"bg-v2-bg",children:(0,h.jsxs)("div",{style:{padding:"0 var(--v2-grid-padding) var(--v2-section-py)",display:"flex",flexWrap:"wrap",gap:"var(--v2-gutter)",justifyContent:"space-between"},children:[r&&(0,h.jsx)(eN,{label:"Previous",post:r}),a&&(0,h.jsx)(eN,{label:"Next",post:a})]})})]}):null:(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(eu.A,{label:"READ NEXT"}),(0,h.jsx)(ee.A,{borders:!0,className:"bg-v2-bg",children:(0,h.jsx)("div",{style:{padding:"0 var(--v2-grid-padding) var(--v2-section-py)"},children:(0,h.jsx)("div",{className:"v2-blog-grid",children:l.map(e=>(0,h.jsx)(eo,{...e,variant:"tile"},e.slug))})})})]})}function eN(e){let{label:t,post:r}=e;return(0,h.jsxs)("a",{href:"/blog/".concat(r.slug),className:"font-v2-sans no-underline",style:{color:"var(--v2-color-text)",maxWidth:"48%"},children:[(0,h.jsx)("span",{className:"font-v2-mono uppercase",style:{display:"block",fontSize:"var(--v2-text-b4)",letterSpacing:"0.08em",color:"var(--v2-color-text-subtle)",marginBottom:"6px"},children:t}),(0,h.jsx)("span",{style:{fontSize:"var(--v2-text-b1)",fontWeight:"var(--v2-weight-medium)"},children:r.title})]})}var ek=r(7816),eA=r(96984),eS=r(68194);r(19250);let eE=e=>{let{text:t}=e;return(0,h.jsx)("a",{className:"mr-2 rounded-full bg-primary-500/20 border border-primary/50 px-1.5 text-xs font-semibold text-primary-700",children:t.split(" ").join("-")})};function eI(e){let{totalPages:t,currentPage:r}=e,a=parseInt(r)-1>0,l=parseInt(r)+1<=parseInt(t);return(0,h.jsx)("div",{className:"space-y-2 pt-6 pb-8 md:space-y-5",children:(0,h.jsxs)("nav",{className:"flex justify-between",children:[!a&&(0,h.jsx)("button",{rel:"previous",className:"cursor-auto disabled:opacity-50",disabled:!a,children:"Previous"}),a&&(0,h.jsx)(A,{href:r-1==1?"/blog/":"/blog/page/".concat(r-1),children:(0,h.jsx)("button",{rel:"previous",children:"Previous"})}),(0,h.jsxs)("span",{children:[r," of ",t]}),!l&&(0,h.jsx)("button",{rel:"next",className:"cursor-auto disabled:opacity-50",disabled:!l,children:"Next"}),l&&(0,h.jsx)(A,{href:"/blog/page/".concat(r+1),children:(0,h.jsx)("button",{rel:"next",children:"Next"})})]})})}var eT=r(53759);let eL=/^[A-Za-z0-9_-]{11}$/,eM=/<iframe\b[^>]*\bsrc=["']([^"']+)["'][^>]*>/i,eR=/<iframe\b[^>]*>[\s\S]*?<\/iframe>|<iframe\b[^>]*\/>/gi,eC=/<\/?(?:div|p|figure|span|section)\b[^>]*>|<br\s*\/?>/gi;function eO(e){return eL.test(e||"")?e:null}function eP(e){if(!e)return null;try{let t=new URL(e),r=t.hostname.replace(/^www\./,"");
1if("youtu.be"===r)return eO(t.pathname.split("/").filter(Boolean)[0]);if("youtube.com"===r||"m.youtube.com"===r||"youtube-nocookie.com"===r){if("/watch"===t.pathname)return eO(t.searchParams.get("v"));let e=t.pathname.split("/").filter(Boolean);if("embed"===e[0]||"shorts"===e[0]||"live"===e[0]||"v"===e[0])return eO(e[1])}}catch(e){}return null}function e_(){return e=>{(0,eT.YR)(e,(e,t,r)=>{if("html"!==e.type||null==t||!r)return;let a=function(e){if(!e)return null;let t=function(e){if(!e)return null;let t=e.match(eM);return t?eP(t[1]):null}(e);return!t||1!==(e.match(eR)||[]).length||e.replace(eR,"").replace(eC,"").replace(/ /gi,"").trim()?null:t}(e.value);if(!a)return;let l=function(e){let t="https://www.youtube.com/watch?v=".concat(e);return{type:"link",url:t,children:[{type:"text",value:t}]}}(a);r.children[t]="paragraph"===r.type?l:{type:"paragraph",children:[l]}})}}function eD(e){let{videoId:t}=e;return(0,h.jsx)("div",{className:"v2-prose-embed",children:(0,h.jsx)("iframe",{src:"https://www.youtube-nocookie.com/embed/".concat(t),title:"YouTube video player",loading:"lazy",referrerPolicy:"strict-origin-when-cross-origin",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})})}var ez=r(18847),eB=r.n(ez),eH=r(6353);let eG={"secret-sprawl":eB()(()=>Promise.all([r.e(2823),r.e(3615)]).then(r.bind(r,73615)).then(e=>e.SecretSprawl),{loadableGenerated:{webpack:()=>[73615]}}),"setup-comparison":eB()(()=>Promise.all([r.e(2823),r.e(3615)]).then(r.bind(r,73615)).then(e=>e.SetupComparison),{loadableGenerated:{webpack:()=>[73615]}}),"dotenv-run":eB()(()=>Promise.all([r.e(2823),r.e(3615)]).then(r.bind(r,73615)).then(e=>e.DotenvRun),{loadableGenerated:{webpack:()=>[73615]}}),"parent-processes":eB()(()=>Promise.all([r.e(2823),r.e(3615)]).then(r.bind(r,73615)).then(e=>e.ParentProcesses),{loadableGenerated:{webpack:()=>[73615]}}),"fork-exec":eB()(()=>Promise.all([r.e(2823),r.e(3615)]).then(r.bind(r,73615)).then(e=>e.ForkExec),{loadableGenerated:{webpack:()=>[73615]}}),"runtime-injection":eB()(()=>Promise.all([r.e(2823),r.e(3615)]).then(r.bind(r,73615)).then(e=>e.RuntimeInjection),{loadableGenerated:{webpack:()=>[73615]}})},eU=new Set,eF=0;function eW(){eF=0;let e=[...eU].map(e=>e.getBoundingClientRect());document.querySelectorAll(".v2-post-rail-sticky").forEach(t=>{let r=t.getBoundingClientRect();e.some(e=>r.left<e.right&&e.left<r.right&&r.top-160<e.bottom&&e.top<r.bottom+160)?t.setAttribute("data-covered",""):t.removeAttribute("data-covered")})}function eY(){eF||(eF=window.requestAnimationFrame(eW))}function eV(e){let{name:t}=e,r=(0,u.useRef)(null);(0,u.useEffect)(()=>{let e=r.current;if(e)return eU.add(e),1===eU.size&&(window.addEventListener("scroll",eY,{passive:!0}),window.addEventListener("resize",eY)),eY(),()=>{eU.delete(e),0===eU.size&&(window.removeEventListener("scroll",eY),window.removeEventListener("resize",eY)),eY()}},[r]);let a=eH.FT[t],l=a?eG[t]:null;return l?(0,h.jsx)("div",{ref:r,className:"v2-prose-exempt v2-blog-visual","data-width":a.width||"wide",children:(0,h.jsx)(l,{})}):null}function eq(){return e=>{!function e(t){if(!t.children)return;let r=[];for(let a of t.children)"html"===a.type&&/^<br\s*\/?>$/i.test(a.value.trim())?r.push({type:"break"}):(e(a),r.push(a));t.children=r}(e)}}let eX={PostLayout:ev,PostSimple:function(e){let{frontMatter:t,contentfulAuthors:r=[],pageMetadata:a=null,next:l,prev:n,children:s,toc:i,inspectorProps:o=null}=e,{date:c,title:d,slug:u,image:p}=t,{scrollYProgress:v}=(0,eA.L)(),x=!1!==t.showTableOfContents&&(null==i?void 0:i.length)>0;return(0,h.jsxs)(ek.A,{children:[(0,h.jsx)(B.tb,{pageMetadata:a,fallbacks:{title:"".concat(d," | Infisical Blog"),description:t.summary||t.metaDescription,ogImage:p},jsonLd:[(0,H.eR)([{name:"Infisical",path:"/"},{name:"Blog",path:"/blog"},{name:d}])],articleData:{authors:r.map(e=>({name:e.name})),publishedDate:c,modifiedDate:t.lastmod,url:"".concat(R().siteUrl,"/blog/").concat(u)}}),(0,h.jsx)(eS.P.div,{className:"fixed top-16 left-0 right-0 h-[0.12rem] bg-primary origin-[0%] z-50",style:{scaleX:v}}),(0,h.jsx)(J.A,{}),(0,h.jsx)("article",{children:(0,h.jsxs)("div",{children:[(0,h.jsx)("header",{children:(0,h.jsxs)("div",{className:"space-y-1 border-b border-gray-200 pb-10 text-center dark:border-gray-700",children:[(0,h.jsx)("dl",{children:(0,h.jsxs)("div",{children:[(0,h.jsx)("dt",{className:"sr-only",children:"Published on"}),(0,h.jsx)("dd",{className:"text-base font-medium leading-6 text-gray-500 dark:text-gray-400",children:(0,h.jsx)("time",{dateTime:c,children:en(c)})})]})}),(0,h.jsx)("div",{children:(0,h.jsx)(m,{...o?o({fieldId:"title"}):{},children:d})})]})}),(0,h.jsxs)("div",{className:"divide-y divide-gray-200 pb-8 dark:divide-gray-700 xl:divide-y-0",style:{gridTemplateRows:"auto 1fr"},children:[(0,h.jsxs)("div",{className:"relative flex flex-row gap-8",children:[(0,h.jsx)("div",{className:"divide-y divide-gray-200 dark:divide-gray-700 xl:row-span-2 xl:pb-0 min-w-0 flex-1",children:(0,h.jsx)("div",{className:"dark:prose-dark prose max-w-none pt-10 pb-8",children:s})}),x&&(0,h.jsx)("aside",{className:"hidden xl:block w-64 shrink-0",children:(0,h.jsxs)("div",{className:"sticky top-24 pt-10",children:[(0,h.jsx)("h3",{className:"pb-2 text-sm font-semibold uppercase tracking-wide text-gray-400",children:"Table of Contents"}),(0,h.jsx)(S,{toc:i,fromHeading:2,toHeading:3})]})})]}),(0,h.jsx)("footer",{children:(0,h.jsxs)("div",{className:"flex flex-col text-sm font-medium sm:flex-row sm:justify-between sm:text-base",children:[n&&(0,h.jsx)("div",{className:"pt-4 xl:pt-8",children:(0,h.jsxs)(A,{href:"/blog/".concat(n.slug),className:"text-primary-500 hover:text-primary-600 dark:hover:text-primary-400",children:["â ",n.title]})}),l&&(0,h.jsx)("div",{className:"pt-4 xl:pt-8",children:(0,h.jsxs)(A,{href:"/blog/".concat(l.slug),className:"text-primary-500 hover:text-primary-600 dark:hover:text-primary-400",children:[l.title," â"]})})]})})]})]})})]})},ListLayout:function(e){let{posts:t,title:r,initialDisplayPosts:a=[],pagination:l}=e,[n,s]=(0,u.useState)(""),i=t.filter(e=>(e.title+e.summary+e.tags.join(" ")).toLowerCase().includes(n.toLowerCase())),o=a.length>0&&!n?a:i;return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("div",{className:"divide-y divide-gray-200 dark:divide-gray-700",children:[(0,h.jsxs)("div",{className:"space-y-2 pt-6 pb-8 md:space-y-5",children:[(0,h.jsx)("h1",{className:"text-3xl font-extrabold leading-9 tracking-tight text-gray-900 dark:text-gray-100 sm:text-4xl sm:leading-10 md:text-6xl md:leading-14",children:r}),(0,h.jsxs)("div",{className:"relative max-w-lg",children:[(0,h.jsx)("input",{"aria-label":"Search articles",type:"text",onCh
1ange:e=>s(e.target.value),placeholder:"Search articles",className:"block w-full rounded-md border border-gray-300 bg-gray-800 px-4 py-2 text-gray-900 focus:border-primary-500 focus:ring-primary-500 dark:border-gray-900 dark:text-gray-100"}),(0,h.jsx)("svg",{className:"absolute right-3 top-3 h-5 w-5 text-gray-400 dark:text-gray-300",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,h.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})})]})]}),(0,h.jsxs)("ul",{children:[!i.length&&"No posts found.",o.map(e=>{let{slug:t,date:r,title:a,summary:l,tags:n}=e;return(0,h.jsx)("li",{className:"py-4",children:(0,h.jsxs)("article",{className:"space-y-2 xl:grid xl:grid-cols-4 xl:items-baseline xl:space-y-0",children:[(0,h.jsxs)("dl",{children:[(0,h.jsx)("dt",{className:"sr-only",children:"Published on"}),(0,h.jsx)("dd",{className:"text-base font-medium leading-6 text-gray-500 dark:text-gray-400",children:(0,h.jsx)("time",{dateTime:r,children:en(r)})})]}),(0,h.jsxs)("div",{className:"space-y-3 xl:col-span-3",children:[(0,h.jsxs)("div",{children:[(0,h.jsx)("h3",{className:"text-2xl font-bold leading-8 tracking-tight",children:(0,h.jsx)(A,{href:"/blog/".concat(t),className:"text-gray-900 dark:text-gray-100",children:a})}),(0,h.jsx)("div",{className:"flex flex-wrap",children:n.map(e=>(0,h.jsx)(eE,{text:e},e))})]}),(0,h.jsx)("div",{className:"prose max-w-none text-gray-500 dark:text-gray-400",children:l})]})]})},t)})]})]}),l&&l.totalPages>1&&!n&&(0,h.jsx)(eI,{currentPage:l.currentPage,totalPages:l.totalPages})]})},AuthorLayout:function(e){let{children:t,frontMatter:r}=e,{name:a,avatar:l,occupation:n,company:s,email:i,twitter:o,linkedin:c,github:d}=r;return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(B.tP,{title:"About - ".concat(a),description:"About me - ".concat(a)}),(0,h.jsxs)("div",{className:"divide-y divide-gray-200 dark:divide-gray-700",children:[(0,h.jsx)("div",{className:"space-y-2 pt-6 pb-8 md:space-y-5",children:(0,h.jsx)("h1",{className:"text-3xl font-extrabold leading-9 tracking-tight text-gray-900 dark:text-gray-100 sm:text-4xl sm:leading-10 md:text-6xl md:leading-14",children:"About"})}),(0,h.jsxs)("div",{className:"items-start space-y-2 xl:grid xl:grid-cols-3 xl:gap-x-8 xl:space-y-0",children:[(0,h.jsxs)("div",{className:"flex flex-col items-center pt-8",children:[(0,h.jsx)(w,{src:l,alt:"avatar",width:"192px",height:"192px",className:"h-48 w-48 rounded-full"}),(0,h.jsx)("h3",{className:"pt-4 pb-2 text-2xl font-bold leading-8 tracking-tight",children:a}),(0,h.jsx)("div",{className:"text-gray-500 dark:text-gray-400",children:n}),(0,h.jsx)("div",{className:"text-gray-500 dark:text-gray-400",children:s}),(0,h.jsxs)("div",{className:"flex space-x-3 pt-6",children:[(0,h.jsx)(K,{kind:"mail",href:"mailto:".concat(i)}),(0,h.jsx)(K,{kind:"github",href:d}),(0,h.jsx)(K,{kind:"linkedin",href:c}),(0,h.jsx)(K,{kind:"twitter",href:o})]})]}),(0,h.jsx)("div",{className:"prose max-w-none pt-8 pb-8 dark:prose-dark xl:col-span-2",children:t})]})]})]})}},e$={Image:w,Info:e=>{let{children:t}=e;return(0,h.jsx)("div",{className:"my-4 rounded border border-blue-200 bg-blue-50 p-4 text-blue-800 dark:border-blue-800 dark:bg-blue-900/30 dark:text-blue-200",children:t})},TOCInline:S,YouTubeEmbed:eD,a:A,pre:e=>{let{children:t,className:r}=e,a=(null==r?void 0:r.replace(/language-/,""))||"js";return(0,h.jsx)(L,{lang:a,children:t})},BlogNewsletterForm:e=>{let{title:t}=e;return(0,h.jsx)("div",{className:"flex items-center justify-center",children:(0,h.jsx)("div",{className:"bg-gray-100 p-6 dark:bg-gray-800 sm:px-14 sm:py-8",children:(0,h.jsx)(C,{title:t})})})},wrapper:e=>{let{components:t,layout:r,...a}=e,l=eX[r]||ev;return(0,h.jsx)(l,{...a})}},eK=e=>{let{layout:t,mdxSource:r,...a}=e,l=(0,u.useMemo)(()=>(0,p.getMDXComponent)(r),[r]);return(0,h.jsx)(l,{layout:t,components:e$,...a})},eJ={a:A,p:function(e){var t;let{children:r,node:a,...l}=e,n=function(e){var t;let r=u.Children.toArray(e).filter(e=>"string"!=typeof e||""!==e.trim());if(1!==r.length)return null;let[a]=r;return(0,u.isValidElement)(a)&&(null==(t=a.props)?void 0:t.href)?a:null}(r),s=eP(null==n||null==(t=n.props)?void 0:t.href);return s?(0,h.jsx)(eD,{videoId:s}):(0,h.jsx)("p",{...l,children:r})},img:e=>(0,h.jsx)("img",{...e}),pre:e=>{let{children:t}=e;return(0,h.jsx)(h.Fragment,{children:t})},code:e=>{let{inline:t,className:r,children:a,...l}=e;if(t)return(0,h.jsx)("code",{className:r,...l,children:a});let n=(null==r?void 0:r.replace(/language-/,""))||"js";return n===eH.gE?(0,h.jsx)(eV,{name:String(a).trim()}):(0,h.jsx)(L,{lang:n,children:a})}},eQ=e=>{let{layout:t,markdownSource:r,...a}=e,l=eX[t]||ev;return(0,h.jsx)(l,{...a,children:(0,h.jsx)(v.$,{remarkPlugins:[x.A,[g.A,{inlineNotes:!0}],eq,e_],rehypePlugins:[f.A,y.A],components:eJ,children:r})})};var eZ=r(92951),e0=!0;function e2(e){let{post:t,authorDetails:r,contentfulAuthors:a=[],pageMetadata:l=null,prev:n,next:s,readNext:i=[],isContentful:o,contentfulEntry:c,contentfulData:d}=e,{mdxSource:p,markdownSource:v,toc:x,frontMatter:g,sourceType:f}=t,y=c&&o?(0,z.qM)(c):null,b=c&&o?(0,z.wi)({entryId:c.sys.id}):null,j=(0,u.useMemo)(()=>{var e,t,r,a,l,n,s;if(!y||!o)return g;let i=g.image,c=null;if((null==(t=y.fields.coverImage)||null==(e=t.sys)?void 0:e.id)&&d){let e=null==(l=d.includes)||null==(a=l.Asset)?void 0:a.find(e=>e.sys.id===y.fields.coverImage.sys.id);(null==e||null==(s=e.fields)||null==(n=s.file)?void 0:n.url)&&(i="https:".concat(e.fields.file.url),c=e.sys.id)}let h=Array.isArray(y.fields.author)?y.fields.author[0]:y.fields.author||(null==(r=g.author)?void 0:r[0])||"vlad";return{...g,title:y.fields.title||g.title,metaTitle:y.fields.metaTitle||g.metaTitle,metaDescription:y.fields.metaDescription||g.metaDescription,image:i,imageAssetId:c,author:[h],tags:y.fields.tags||g.tags||[]}},[y,g,o,d]),w=(0,u.useMemo)(()=>y&&o&&d&&y.fields.authors?(0,eZ.Li)(y.fields.authors,d):a,[y,a,o,d]);return j.draft?(0,h.jsx)("div",{className:"mt-24 text-center",children:(0,h.jsxs)(m,{children:["Under Construction"," ",(0,h.jsx)("span",{role:"img","aria-label":"roadwork sign",children:"\uD83D\uDEA7"})]})}):"mdx"!==f?(0,h.jsx)(eQ,{layout:j.layout||Q.wj.DEFAULT_LAYOUT,toc:x,markdownSource:v,frontMatter:j,authorDetails:r,contentfulAuthors:w,pageMetadata:l,prev:n,next:s,readNext:i,inspectorProps:b}):(0,h.jsx)(eK,{layout:j.layout||Q.wj.DEFAULT_LAYOUT,toc:x,mdxSource:p,frontMatter:j,authorDetails:r,contentfulAuthors:w,pageMetadata:l,prev:n,next:s,inspectorProps:b})}},16275:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(37876),l=r(14232);function n(e){var t;let{toc:r=[],fromHeading:n=2,toHeading:s=3,label:i="In this article",navLabel:o="Table of contents"}=e,c=(0,l.useMemo)(()=>{let e=(r||[]).filter(e=>e.depth>=n&&e.depth<=s).map(e=>({value:e.value.replace(/^(\d+\.\s*)+/,"").trim(),depth:e.depth,url:e.url,id:(e.url||"").replace(/^#/,"")})).filter(e=>e.id),t=e.length?Math.min(...e.map(e=>e.depth)):n;return e.map(e=>({...e,level:e.depth-t}))},[r,n,s]),d=(0,l.useMemo)(()=>{let e=[];
1return c.forEach(t=>{0===t.level||0===e.length?e.push({...t,children:[]}):e[e.length-1].children.push(t)}),e},[c]),[h,u]=(0,l.useState)((null==(t=c[0])?void 0:t.id)||null);(0,l.useEffect)(()=>{u(e=>{var t;return c.some(t=>t.id===e)?e:(null==(t=c[0])?void 0:t.id)||null})},[c]),(0,l.useEffect)(()=>{if(!c.length||"undefined"==typeof IntersectionObserver)return;let e=c.map(e=>e.id),t=e.map(e=>document.getElementById(e)).filter(Boolean);if(!t.length)return;let r=new Map,a=new IntersectionObserver(t=>{t.forEach(e=>r.set(e.target.id,e.isIntersecting));let a=e.find(e=>r.get(e));a&&u(a)},{rootMargin:"-96px 0px -65% 0px",threshold:0});return t.forEach(e=>a.observe(e)),()=>a.disconnect()},[c]);let m=(0,l.useMemo)(()=>{var e;let t=d.find(e=>e.id===h||e.children.some(e=>e.id===h));return(null==t?void 0:t.id)||(null==(e=d[0])?void 0:e.id)||null},[d,h]);return d.length?(0,a.jsxs)("nav",{"aria-label":o,className:"v2-blog-toc",children:[i&&(0,a.jsx)("h2",{className:"v2-blog-toc-label font-v2-sans",children:i}),(0,a.jsx)("ul",{className:"v2-blog-toc-list",children:d.map(e=>{let t=e.id===m;return(0,a.jsxs)("li",{children:[(0,a.jsx)("a",{href:e.url,"data-depth":"top","data-active":h===e.id?"true":"false",children:e.value}),e.children.length>0&&(0,a.jsx)("div",{className:"v2-blog-toc-sub","data-expanded":t?"true":"false","aria-hidden":t?"false":"true",children:(0,a.jsx)("div",{className:"v2-blog-toc-sub-inner",children:(0,a.jsx)("ul",{children:e.children.map(e=>(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:e.url,"data-depth":"sub","data-active":h===e.id?"true":"false",tabIndex:t?void 0:-1,children:e.value})},e.id))})})})]},e.id)})})]}):null}},23872:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(37876);r(33144);var l=r(14232);let n=()=>{let[e,t]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let e=()=>{window.scrollY>50?t(!0):t(!1)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),(0,a.jsx)("div",{className:"fixed right-8 bottom-8 hidden flex-col gap-3 ".concat(e?"md:flex":"md:hidden"),children:(0,a.jsx)("button",{"aria-label":"Scroll To Top",type:"button",onClick:()=>{window.scrollTo({top:0})},className:"rounded-full bg-gray-200 p-2 text-gray-500 transition-all hover:bg-gray-300 dark:bg-gray-700 dark:text-gray-400 dark:hover:bg-gray-600",children:(0,a.jsx)("svg",{className:"h-5 w-5",viewBox:"0 0 20 20",fill:"currentColor",children:(0,a.jsx)("path",{fillRule:"evenodd",d:"M3.293 9.707a1 1 0 010-1.414l6-6a1 1 0 011.414 0l6 6a1 1 0 01-1.414 1.414L11 5.414V17a1 1 0 11-2 0V5.414L4.707 9.707a1 1 0 01-1.414 0z",clipRule:"evenodd"})})})})}},24764:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/[...slug]",function(){return r(8477)}])},33419:(e,t,r)=>{"use strict";r.d(t,{G:()=>i});var a=r(37876),l=r(54587),n=r.n(l),s=r(17767);function i(e){let{src:t,alt:r,width:l,height:i,className:o,assetId:c,fieldId:d="file",...h}=e,u=c?(0,s.wi)({assetId:c,fieldId:d}):null;return(0,a.jsx)(n(),{src:t,alt:r,width:l,height:i,className:o,...u||{},...h})}},38556:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var a=r(37876);r(14232);var l=r(45813),n=r(49899);let s=new Set(["problem","cta","faq"]);function i(e){var t,r;let{label:i="",theme:h="light",height:u="var(--v2-sectionbreak-py)",tint:m=!1,accent:p=!1,gridColor:v,topFill:x,topRule:g=!0,bottomRule:f=!1}=e,y=(t=m)?"object"==typeof t?{type:"tint",zone:o,...t}:{type:"tint",zone:null!=(r=({true:o,bottom:"bottom-middle","bottom-full":c,top:"top-middle",full:o})[t])?r:o}:null,b=function(e,t){if(!e)return null;if("object"==typeof e){let{corner:r="top-right",type:a="image",src:l="image"===a?d:void 0,...n}=e;return{type:a,zone:r,seed:t,...l?{src:l}:{},...n}}return{type:"image",zone:"top-left"===e?"top-left":"top-right",seed:t,src:d}}(p,i),j=!s.has(i.trim().toLowerCase()),w=!1===x||null==x?null:{zone:"top-middle",...x};return(0,a.jsx)(l.A,{topRule:g,bottomRule:f,borders:!0,theme:h,innerRules:[{top:"40px"}],fills:[...y?[y]:[],...w?[w]:[],...b?[b]:[]],splitAt:"40px",className:"bg-v2-bg",innerClassName:"h-full",style:{height:"number"==typeof u?"".concat(u,"px"):u},children:j&&(0,a.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 flex items-center",style:{to
1p:"40px",paddingLeft:"var(--v2-grid-padding)"},children:[(0,a.jsx)("div",{className:"mr-5 shrink-0 bg-v2-accent-green",style:{width:"1.7px",height:"13.5px"}}),(0,a.jsx)(n.A,{className:"font-v2-mono uppercase",style:{fontSize:"var(--v2-text-b4)",lineHeight:"var(--v2-lh-heading)",color:"var(--v2-color-text)",opacity:.64,fontWeight:"var(--v2-weight-medium)",letterSpacing:"0.02em"},children:i})]})})}let o={left:0,right:0,top:0,bottom:0},c={left:0,right:0,top:"40px",bottom:0},d="var(--v2-spacer-bg-image)"},49899:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var a=r(37876),l=r(14232),n=r(57689);let s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%&*?/<>+=-";function i(e){let{children:t,as:r="span",className:i,style:o,stagger:c=70,revealPerChar:d=220,glyphInterval:h=80,maxDuration:u=1500,triggerOnce:m=!0,threshold:p=.4,...v}=e,x="string"==typeof t?t:String(null!=t?t:""),g=(0,n.I)(),[f,y]=(0,l.useState)(x),b=(0,l.useRef)(null),j=(0,l.useRef)(null),w=(0,l.useRef)(!1),N=(0,l.useRef)(x);return N.current=x,(0,l.useEffect)(()=>{if(g)return;let e=b.current;if(!e||"undefined"==typeof IntersectionObserver)return;let t=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(m&&w.current||(w.current=!0,(e=>{cancelAnimationFrame(j.current);let t=performance.now(),r=e.length*c+d+200>u&&e.length>0?Math.max(0,(u-d-200)/e.length):c,a=e.length*r+d+200,l=e.split("").map(()=>({lastSwap:0,glyph:s[Math.floor(Math.random()*s.length)]})),n=i=>{let o=i-t,c="";for(let t=0;t<e.length;t++){let a=e[t];if(" "===a){c+=" ";continue}if(o>=t*r+d)c+=a;else{let e=l[t];o-e.lastSwap>=h&&(e.glyph=s[Math.floor(Math.random()*s.length)],e.lastSwap=o),c+=e.glyph}}y(c),o<a?j.current=requestAnimationFrame(n):y(e)};j.current=requestAnimationFrame(n)})(N.current),m&&t.disconnect()))})},{threshold:p});return t.observe(e),()=>t.disconnect()},[m,p,g]),(0,l.useEffect)(()=>()=>cancelAnimationFrame(j.current),[]),(0,a.jsx)(r,{ref:b,className:i,style:o,...v,children:f})}}},e=>{e.O(0,[8805,8194,1697,6984,4755,2535,8707,2951,636,6593,8792],()=>e(e.s=24764)),_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.