PageSourceSearch

https://currents.dev/_next/static/chunks/pages/changelog/[slug]-e958d3f45f03c4ba.js

js currents.dev collected 2026-09-25 20:49:34 UTC 9,079 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4335,7046,8610],{1607:(e,t,i)=>{"use strict";i.r(t),i.d(t,{__N_SSG:()=>j,default:()=>v});var n=i(37876),r=i(55565),s=i(31172),a=i(81936),o=i(37539),c=i(89505),l=i(75516),d=i(33873),m=i(87156),u=i.n(m),g=i(77328),x=i.n(g),p=i(48230),h=i.n(p),f=i(89099);let y=e=>e.startsWith("http")?e:`https://currents.dev${e.replace("//","/")}`;var j=!0;function v({entry:e}){let t,i=(0,f.useRouter)();if(!i.isFallback&&!e?.slug)return(0,n.jsx)(u(),{statusCode:404});if(i.isFallback)return(0,n.jsx)("div",{children:"Loading…"});let m=e.image?.src?y(e.image.src):void 0,g=e.ogImage??e.image,p=g?.src?y(g.src):void 0;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(x(),{children:[(0,n.jsxs)("title",{children:[e.title," | ",(0,l.d8)(e.date)," | Currents.dev Changelog"]}),(0,n.jsx)("meta",{property:"og:title",content:e.title},"og:title"),(0,n.jsx)("meta",{property:"twitter:title",content:e.title},"twitter:title"),e.description&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("meta",{name:"description",content:e.description},"description"),(0,n.jsx)("meta",{property:"og:description",content:e.description},"og:description"),(0,n.jsx)("meta",{property:"twitter:description",content:(0,d.A)(e.description,{length:200})},"twitter:description")]}),(0,n.jsx)("meta",{property:"og:url",content:(t=e.slug,`https://currents.dev/changelog/${t}`)},"og:url"),(0,n.jsx)("meta",{property:"og:type",content:"article"},"og:type"),(0,n.jsx)("meta",{property:"article:published_time",content:e.date}),p&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("meta",{property:"og:image",content:p},"og:image"),(0,n.jsx)("meta",{property:"og:image:type",content:"image/jpeg"}),g?.width&&(0,n.jsx)("meta",{property:"og:image:width",content:String(g.width)}),g?.height&&(0,n.jsx)("meta",{property:"og:image:height",content:String(g.height)}),(0,n.jsx)("meta",{property:"og:image:alt",content:e.title}),(0,n.jsx)("meta",{name:"twitter:image",content:m??p},"twitter:image"),(0,n.jsx)("meta",{name:"twitter:image:alt",content:e.title}),(0,n.jsx)("meta",{name:"twitter:card",content:"summary_large_image"},"twitter:card")]}),(0,n.jsx)("meta",{name:"twitter:site",content:"@currents_dev"}),(0,n.jsx)("meta",{name:"robots",content:"index,follow,max-image-preview:large"})]}),(0,n.jsx)(c.F,{opaque:!0}),(0,n.jsxs)(s.V,{toc:!1,children:[(0,n.jsxs)(h(),{href:"/changelog",className:"inline-flex items-center gap-1.5 text-sm text-dark-500 transition-colors duration-200 hover:text-emerald-400 hover:no-underline",children:[(0,n.jsx)(r.A,{size:16}),"Back to changelog"]}),(0,n.jsx)(a.j,{entry:e})]}),(0,n.jsx)(o.A,{})]})}},26790:(e,t,i)=>{"use strict";i.d(t,{F:()=>r,X:()=>s});let n=e=>`currents.changelog.heroRect:${e}`;function r(e,t){try{window.sessionStorage.setItem(n(e),JSON.stringify(t))}catch{}}function s(e){try{let t=window.sessionStorage.getItem(n(e));if(!t)return null;return window.sessionStorage.removeItem(n(e)),JSON.parse(t)}catch{return null}}},31172:(e,t,i)=>{"use strict";i.d(t,{V:()=>a});var n=i(37876),r=i(14232),s=i(76816);let a=r.forwardRef(({toc:e=!0,children:t},i)=>(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"mx-auto px-4 lg:px-8 max-w-[1400px]",children:(0,n.jsxs)("div",{className:"flex justify-center flex-col md:flex-row-reverse md:gap-12 lg:gap-16",children:[e&&(0,n.jsx)("aside",{className:"hidden md:block md:w-48 lg:w-56 flex-shrink-0 md:pr-4 lg:pr-8",children:(0,n.jsx)("div",{className:"sticky top-[120px]",children:(0,n.jsx)("div",{className:"overflow-y-auto max-h-[calc(100vh-160px)] pr-2",children:(0,n.jsx)("div",{className:"text-sm",children:(0,n.jsx)(s.D,{})})})})}),(0,n.jsx)("div",{ref:i,className:"flex-1 min-w-0",children:(0,n.jsx)("article",{className:"prose prose-invert container pt-24 pb-8",children:t})})]})})}));a.displayName="BlogPostLayout"},31860:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/changelog/[slug]",function(){return i(1607)}])},75516:(e,t,i)=>{"use strict";i.d(t,{FY:()=>o,d8:()=>a,dw:()=>s});var n=i(50426),r=i(73631);let s=e=>(0,n.A)((0,r.A)(e),"MMM dd, yyyy"),a=e=>(0,n.A)((0,r.A)(e),"MMM yyyy"),o=e=>(0,n.A)((0,r.A)(e),"MMM d, yyyy")},81936:(e,t,i)=>{"use strict";i.d(t,{j:()=>y});var n=i(37876),r=i(97850),s=i(4902),a=i(45088),o=i(38861),c=i(92768);function l(){var e=!1,t=[],i=new Set,n={subscribe:function(e){return i.add(e),function(){i.delete(e)}},start:function(n,r){if(!e)return new Promise(function(e){t.push({animation:[n,r],resolve:e})});var s=[];
1return i.forEach(function(e){s.push((0,o._0)(e,n,{transitionOverride:r}))}),Promise.all(s)},set:function(t){return(0,a.V)(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),i.forEach(function(e){(0,c.VI)(e,t)})},stop:function(){i.forEach(function(e){(0,o.TV)(e)})},mount:function(){return e=!0,t.forEach(function(e){var t=e.animation,i=e.resolve;n.start.apply(n,(0,s.fX)([],(0,s.zs)(t),!1)).then(i)}),function(){e=!1,n.stop()}}};return n}var d=i(14232),m=i(91200),u=i(5646),g=i(26790),x=i(75516),p=i(84289),h=i(54587),f=i.n(h);function y({entry:e,animateHero:t=!0}){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"mt-10 mb-6 flex flex-wrap items-center gap-x-3 gap-y-2",children:(0,n.jsx)("time",{className:"font-inter text-sm text-dark-500",dateTime:e.date,children:e.date?(0,x.dw)(e.date):""})}),(0,n.jsx)("h1",{className:"mb-6",children:e.title}),e.description&&(0,n.jsx)("p",{className:"lead",children:e.description}),e.image?.src&&(0,n.jsx)(j,{entry:e,animate:t}),e.content?.compiledSource&&(0,n.jsx)("div",{children:(0,n.jsx)(p.Lo,{...e.content,components:r.U1})})]})}function j({entry:e,animate:t}){var i;let s=(0,d.useRef)(null),a=(i=(0,m.M)(l),(0,d.useEffect)(i.mount,[]),i);(0,d.useEffect)(()=>{if(!t)return;let i=(0,g.X)(e.slug),n=s.current?.getBoundingClientRect();if(i&&n&&n.width>0&&n.height>0){let e=i.left-n.left,t=i.top-n.top,r=i.width/n.width,s=i.height/n.height;a.set({x:e,y:t,scaleX:r,scaleY:s,opacity:1}),a.start({x:0,y:0,scaleX:1,scaleY:1,transition:{type:"spring",stiffness:260,damping:30}})}else a.set({opacity:0,y:16,scale:.98}),a.start({opacity:1,y:0,scale:1,transition:{duration:.4,ease:"easeOut"}})},[]);let o=(0,n.jsx)(r.Px,{src:e.image.src,alt:e.title,children:(0,n.jsx)(f(),{priority:!0,className:"rounded-2xl ring-1 ring-inset ring-white/10",style:{objectFit:"cover",objectPosition:"center"},src:e.image.src,alt:e.title,width:e.image.width??1600,height:e.image.height??900,quality:100})});return t?(0,n.jsx)(u.P.div,{ref:s,initial:{opacity:0}
1,animate:a,style:{transformOrigin:"top left"},className:"relative mx-auto rounded-2xl lg:max-w-none",children:o}):(0,n.jsx)("div",{className:"relative mx-auto rounded-2xl lg:max-w-none",children:o})}},97850:(e,t,i)=>{"use strict";i.d(t,{Bi:()=>u,Px:()=>m,U1:()=>g});var n=i(37876),r=i(89410),s=i(24418),a=i(5646),o=i(54587),c=i.n(o),l=i(14232),d=i(98477);function m({src:e,alt:t,children:i}){let[r,o]=(0,l.useState)(!1),[c,u]=(0,l.useState)(!1);return(0,l.useEffect)(()=>u(!0),[]),(0,l.useEffect)(()=>{if(!r)return;let e=e=>{"Escape"===e.key&&o(!1)};document.addEventListener("keydown",e);let t=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",e),document.body.style.overflow=t}},[r]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{role:"button",tabIndex:0,"aria-label":`Enlarge image: ${t}`,onClick:()=>o(!0),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),o(!0))},className:"block cursor-zoom-in rounded focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-emerald-400/70 focus-visible:ring-offset-2 focus-visible:ring-offset-dark",children:i}),c&&(0,d.createPortal)((0,n.jsx)(s.N,{children:r&&(0,n.jsx)(a.P.div,{role:"dialog","aria-modal":"true","aria-label":t,initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.2,ease:"easeOut"},onClick:()=>o(!1),className:"fixed inset-0 z-[120] flex cursor-zoom-out items-center justify-center bg-black/85 p-4 backdrop-blur-md sm:p-8",children:(0,n.jsx)(a.P.img,{src:e,alt:t,initial:{scale:.92,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.95,opacity:0},transition:{type:"spring",stiffness:240,damping:28},className:"max-h-[92vh] max-w-[92vw] rounded-2xl object-contain shadow-2xl"})},"changelog-image-zoom")}),document.body)]})}let u={...r.mdxComponents,img:({src:e,alt:t="",title:i})=>(0,n.jsxs)("figure",{className:"text-center",children:[(0,n.jsx)(m,{src:e,alt:t,children:(0,n.jsx)("img",{src:e,className:"rounded",alt:t})}),(i||t)&&(0,n.jsx)("figcaption",{className:"z-10 mt-4 text-xs italic text-gray-400",children:i||t})]}),Image:e=>{let t;return(0,n.jsxs)("figure",{className:"text-center",children:[(0,n.jsx)(m,{src:"string"==typeof(t=e.src)?t:"default"in t?t.default.src:t.src,alt:e.alt,children:(0,n.jsx)(c(),{...e,className:"rounded",alt:e.alt})}),(0,n.jsx)("figcaption",{className:"z-10 mt-4 text-xs italic text-gray-400",children:e.alt})]})}},g=u}},e=>{e.O(0,[6593,5587,888,3557,3471,4587,5646,6289,6004,2749,9532,8732,2320,3843,9410,636,8792],()=>e(e.s=31860)),_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.