@san-siva/blogkit-md-cli 0.1.53 → 0.1.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +3 -3
  3. package/.next/cache/.previewinfo +1 -1
  4. package/.next/cache/.rscinfo +1 -1
  5. package/.next/diagnostics/route-bundle-stats.json +6 -6
  6. package/.next/fallback-build-manifest.json +3 -3
  7. package/.next/prerender-manifest.json +3 -3
  8. package/.next/server/app/[...slug]/page_client-reference-manifest.js +1 -1
  9. package/.next/server/app/_global-error.html +1 -1
  10. package/.next/server/app/_global-error.rsc +1 -1
  11. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  12. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  13. package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  14. package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  15. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  16. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  17. package/.next/server/app/_not-found.html +1 -1
  18. package/.next/server/app/_not-found.rsc +3 -3
  19. package/.next/server/app/_not-found.segments/_full.segment.rsc +3 -3
  20. package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  21. package/.next/server/app/_not-found.segments/_index.segment.rsc +3 -3
  22. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  23. package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  24. package/.next/server/app/_not-found.segments/_tree.segment.rsc +3 -3
  25. package/.next/server/app/page_client-reference-manifest.js +1 -1
  26. package/.next/server/chunks/ssr/0dlc_0lpokoa._.js +1 -1
  27. package/.next/server/chunks/ssr/0dlc_0lpokoa._.js.map +1 -1
  28. package/.next/server/chunks/ssr/0dlc_@san-siva_blogkit_dist_esm_04a~w8l._.js +1 -1
  29. package/.next/server/chunks/ssr/0dlc_@san-siva_blogkit_dist_esm_04a~w8l._.js.map +1 -1
  30. package/.next/server/chunks/ssr/0dlc_@san-siva_blogkit_dist_esm_dynamicComponents_BlogDynamic_04k29no.js.map +1 -1
  31. package/.next/server/middleware-build-manifest.js +3 -3
  32. package/.next/server/pages/404.html +1 -1
  33. package/.next/server/pages/500.html +1 -1
  34. package/.next/server/server-reference-manifest.js +1 -1
  35. package/.next/server/server-reference-manifest.json +1 -1
  36. package/.next/static/chunks/{1611q54w8iczw.js → 0.3hqbt7hzga8.js} +1 -1
  37. package/.next/static/chunks/{12y6dp1l0e2a-.js → 00_r1plt6ufy1.js} +1 -1
  38. package/.next/static/chunks/{0oq_l8ujvc.66.css → 014z51ydhtkay.css} +3 -3
  39. package/.next/static/chunks/{0y.vc7g3anaza.js → 0q5ntfxjjgyfz.js} +1 -1
  40. package/.next/static/chunks/0yb1whmdpnp.k.css +1 -0
  41. package/.next/trace +1 -1
  42. package/.next/trace-build +1 -1
  43. package/package.json +3 -3
  44. package/.next/static/chunks/02trc.wuz4rqp.css +0 -1
  45. /package/.next/static/{43OQHcd1WIO8TJAGTwApq → LVWj-x2cpfBngvi5HxKDM}/_buildManifest.js +0 -0
  46. /package/.next/static/{43OQHcd1WIO8TJAGTwApq → LVWj-x2cpfBngvi5HxKDM}/_clientMiddlewareManifest.js +0 -0
  47. /package/.next/static/{43OQHcd1WIO8TJAGTwApq → LVWj-x2cpfBngvi5HxKDM}/_ssgManifest.js +0 -0
@@ -1,3 +1,3 @@
1
- module.exports=[39617,a=>{"use strict";a.s(["default",0,{"margin-bottom--3":"Blog-module_margin-bottom--3__ir35O",category__header:"Blog-module_category__header__F1K0V",blog:"Blog-module_blog__Lpv6Z",blog__sidebar:"Blog-module_blog__sidebar__uSu3l","blog--increased-width":"Blog-module_blog--increased-width__QxyOD",blog__content:"Blog-module_blog__content__RMDiY","blog--no-toc":"Blog-module_blog--no-toc__ggkFH"}])},67519,a=>{"use strict";a.s(["default",0,{"blog-link":"BlogLink-module_blog-link__X09yI","blog-link__title":"BlogLink-module_blog-link__title__mXr5D","blog-link__description":"BlogLink-module_blog-link__description__Ctack","blog-link__read-more":"BlogLink-module_blog-link__read-more__N1OuD"}])},69995,a=>{"use strict";var b=a.i(55017);let c=a=>null==a||"boolean"==typeof a?"":"string"==typeof a||"number"==typeof a?String(a):(0,b.isValidElement)(a)?c(a.props.children):Array.isArray(a)?a.map(c).join(""):"";a.s(["extractTextFromReactNode",0,c,"generateIdForBlogTitle",0,a=>a.toLowerCase().replace(/[^\w\d]/g,"-"),"generateSectionHref",0,a=>`?section=${a}`,"generateUrlForBlogTitle",0,a=>encodeURIComponent(a.replace(/[^\w]+/g,"-").toLowerCase())])},92798,a=>{"use strict";a.s(["default",0,{"blog-section":"BlogSection-module_blog-section__NTDM4","blog-section__title":"BlogSection-module_blog-section__title__5-4Oy","blog-section__title--empty":"BlogSection-module_blog-section__title--empty__-di-F","blog-section__title-link":"BlogSection-module_blog-section__title-link__Q4R5T"}])},95716,a=>{"use strict";a.s(["default",0,{"margin-top--1":"CodeBlock-module_margin-top--1__mApFz","margin-bottom--2":"CodeBlock-module_margin-bottom--2__fz9IX","code-block":"CodeBlock-module_code-block__ah1AG","code-block__wrapper":"CodeBlock-module_code-block__wrapper__-IUGO","code-block__header":"CodeBlock-module_code-block__header__93VEU","code-block__header__title":"CodeBlock-module_code-block__header__title__xxZgC","code-block__header__actions":"CodeBlock-module_code-block__header__actions__vClnL","code-block__header__expand":"CodeBlock-module_code-block__header__expand__PBJlP","code-block__header__expand--collapse":"CodeBlock-module_code-block__header__expand--collapse__93Kth","code-block__header__copy":"CodeBlock-module_code-block__header__copy__NCWSg","code-block__header__copy--active":"CodeBlock-module_code-block__header__copy--active__5ByAp","code-block__modal":"CodeBlock-module_code-block__modal__nNvcI","code-block__modal__content":"CodeBlock-module_code-block__modal__content__qWuic","code-block__modal__wrapper":"CodeBlock-module_code-block__modal__wrapper__me6hC","code-block--static":"CodeBlock-module_code-block--static__1gBzz"}])},30185,a=>{"use strict";var b=a.i(46737),c={"margin-top":"Callout-module_margin-top__dS2UF","padding-top":"Callout-module_padding-top__aJrE4","margin-top--1":"Callout-module_margin-top--1__eBfEL","padding-top--1":"Callout-module_padding-top--1__rrL2e","margin-top--2":"Callout-module_margin-top--2__Ej-fE","padding-top--2":"Callout-module_padding-top--2__NtBHH","margin-top--3":"Callout-module_margin-top--3__AsHPR","padding-top--3":"Callout-module_padding-top--3__CjXpH","margin-top--4":"Callout-module_margin-top--4__3ji03","padding-top--4":"Callout-module_padding-top--4__BdcKb","margin-top--5":"Callout-module_margin-top--5__j3Qds","padding-top--5":"Callout-module_padding-top--5__TWT9C","margin-top--6":"Callout-module_margin-top--6__GQFRt","padding-top--6":"Callout-module_padding-top--6__4bYvI","margin-top--7":"Callout-module_margin-top--7__ArvNz","padding-top--7":"Callout-module_padding-top--7__PnU3M","margin-top--8":"Callout-module_margin-top--8__DvN7J","padding-top--8":"Callout-module_padding-top--8__qunY9","margin-top--9":"Callout-module_margin-top--9__mSjxY","padding-top--9":"Callout-module_padding-top--9__N4Z2b","margin-top--10":"Callout-module_margin-top--10__bJrtu","padding-top--10":"Callout-module_padding-top--10__JBw3e","margin-top--11":"Callout-module_margin-top--11__vnKG4","padding-top--11":"Callout-module_padding-top--11__w1mSs","margin-top--12":"Callout-module_margin-top--12__XM8gt","padding-top--12":"Callout-module_padding-top--12__iuEYZ","margin-bottom":"Callout-module_margin-bottom__UlOKu","padding-bottom":"Callout-module_padding-bottom__-XwJQ","margin-bottom--1":"Callout-module_margin-bottom--1__LxnVH","padding-bottom--1":"Callout-module_padding-bottom--1__MfyXw","margin-bottom--2":"Callout-module_margin-bottom--2__nelQj","padding-bottom--2":"Callout-module_padding-bottom--2__9MX1j","margin-bottom--3":"Callout-module_margin-bottom--3__VfA8y","padding-bottom--3":"Callout-module_padding-bottom--3__FRllS","margin-bottom--4":"Callout-module_margin-bottom--4__-j-tS","padding-bottom--4":"Callout-module_padding-bottom--4__sJzsQ","margin-bottom--5":"Callout-module_margin-bottom--5__0hYDy","padding-bottom--5":"Callout-module_padding-bottom--5__c4BQo","margin-bottom--6":"Callout-module_margin-bottom--6__8Ny2B","padding-bottom--6":"Callout-module_padding-bottom--6__wNeJk","margin-bottom--7":"Callout-module_margin-bottom--7__0dYmE","padding-bottom--7":"Callout-module_padding-bottom--7__FueIs","margin-bottom--8":"Callout-module_margin-bottom--8__r93zU","padding-bottom--8":"Callout-module_padding-bottom--8__APcyf","margin-bottom--9":"Callout-module_margin-bottom--9__f6KUQ","padding-bottom--9":"Callout-module_padding-bottom--9__KVgqO","margin-bottom--10":"Callout-module_margin-bottom--10__DgHw9","padding-bottom--10":"Callout-module_padding-bottom--10__VeWlT","margin-bottom--11":"Callout-module_margin-bottom--11__MR5kg","padding-bottom--11":"Callout-module_padding-bottom--11__w-dVG","margin-bottom--12":"Callout-module_margin-bottom--12__65MMr","padding-bottom--12":"Callout-module_padding-bottom--12__6FT1T","margin-left":"Callout-module_margin-left__mb1jm","padding-left":"Callout-module_padding-left__cgzip","margin-left--1":"Callout-module_margin-left--1__DWFsG","padding-left--1":"Callout-module_padding-left--1__3nWMz","margin-left--2":"Callout-module_margin-left--2__ByTNO","padding-left--2":"Callout-module_padding-left--2__9-PLw","margin-left--3":"Callout-module_margin-left--3__0Iz7m","padding-left--3":"Callout-module_padding-left--3__FQgJY","margin-left--4":"Callout-module_margin-left--4__cmAQ4","padding-left--4":"Callout-module_padding-left--4__pW9OV","margin-left--5":"Callout-module_margin-left--5__qD5bN","padding-left--5":"Callout-module_padding-left--5__FaZO8","margin-left--6":"Callout-module_margin-left--6__h-dBW","padding-left--6":"Callout-module_padding-left--6__RT6JH","margin-left--7":"Callout-module_margin-left--7__9wZFI","padding-left--7":"Callout-module_padding-left--7__-31-c","margin-left--8":"Callout-module_margin-left--8__bbcki","padding-left--8":"Callout-module_padding-left--8__f3ctw","margin-left--9":"Callout-module_margin-left--9__0xlWQ","padding-left--9":"Callout-module_padding-left--9__QsNKP","margin-left--10":"Callout-module_margin-left--10__RfTZc","padding-left--10":"Callout-module_padding-left--10__2CqOz","margin-left--11":"Callout-module_margin-left--11__KWNFX","padding-left--11":"Callout-module_padding-left--11__qf3JJ","margin-left--12":"Callout-module_margin-left--12__-0GWw","padding-left--12":"Callout-module_padding-left--12__vNYbn","margin-right":"Callout-module_margin-right__CN33J","padding-right":"Callout-module_padding-right__Cn14a","margin-right--1":"Callout-module_margin-right--1__GAGZO","padding-right--1":"Callout-module_padding-right--1__qh8gH","margin-right--2":"Callout-module_margin-right--2__MjxOE","padding-right--2":"Callout-module_padding-right--2__CDawi","margin-right--3":"Callout-module_margin-right--3__w3PO-","padding-right--3":"Callout-module_padding-right--3__bOIL3","margin-right--4":"Callout-module_margin-right--4__wjZRG","padding-right--4":"Callout-module_padding-right--4__DNn-A","margin-right--5":"Callout-module_margin-right--5__JUYoz","padding-right--5":"Callout-module_padding-right--5__V1t3c","margin-right--6":"Callout-module_margin-right--6__UXR9-","padding-right--6":"Callout-module_padding-right--6__pVwQj","margin-right--7":"Callout-module_margin-right--7__ZwUec","padding-right--7":"Callout-module_padding-right--7__EHY0p","margin-right--8":"Callout-module_margin-right--8__k9asQ","padding-right--8":"Callout-module_padding-right--8__1Nqrm","margin-right--9":"Callout-module_margin-right--9__J8sMZ","padding-right--9":"Callout-module_padding-right--9__QYnAq","margin-right--10":"Callout-module_margin-right--10__CZ3Im","padding-right--10":"Callout-module_padding-right--10__Ji-ow","margin-right--11":"Callout-module_margin-right--11__xNfCV","padding-right--11":"Callout-module_padding-right--11__epPSq","margin-right--12":"Callout-module_margin-right--12__s30AM","padding-right--12":"Callout-module_padding-right--12__lLgou",error:"Callout-module_error__UeboU","font--primary":"Callout-module_font--primary__Ayv9J","font--secondary":"Callout-module_font--secondary__mBXUH","font--code":"Callout-module_font--code__fG36F","font-weight--400":"Callout-module_font-weight--400__VYsxM","font-weight--500":"Callout-module_font-weight--500__zXuRq","font-weight--600":"Callout-module_font-weight--600__fJDVt","font-weight--700":"Callout-module_font-weight--700__3kQTh","font-weight--800":"Callout-module_font-weight--800__5POjB","font-size--h1":"Callout-module_font-size--h1__9fzEM","font-size--h2":"Callout-module_font-size--h2__EowCg","font-size--h3":"Callout-module_font-size--h3__8EcUJ","font-size--h4":"Callout-module_font-size--h4__ferQ7","font-size--h5":"Callout-module_font-size--h5__43lHF","font-size--h6":"Callout-module_font-size--h6__GpBej","font-size--big":"Callout-module_font-size--big__-BXjA","font-size--button":"Callout-module_font-size--button__9KupW","font-size--p":"Callout-module_font-size--p__RJTna","font-size--small":"Callout-module_font-size--small__YEsJl","font-size--very-small":"Callout-module_font-size--very-small__gac5b","font-size--tiny":"Callout-module_font-size--tiny__-Bd4M","font-size--micro":"Callout-module_font-size--micro__ajNCO","line-height--large":"Callout-module_line-height--large__OStzV","line-height--normal":"Callout-module_line-height--normal__p5UA7","line-height--small":"Callout-module_line-height--small__2kXv9","line-height--very-small":"Callout-module_line-height--very-small__AS59u","text-align--center":"Callout-module_text-align--center__5JXeQ","font-style--italic":"Callout-module_font-style--italic__RMNL7",category__header:"Callout-module_category__header__Edg04","a--highlighted":"Callout-module_a--highlighted__JmfE5","grecaptcha-badge":"Callout-module_grecaptcha-badge__7vWF5",container:"Callout-module_container__FV7VM","container--contents-centered":"Callout-module_container--contents-centered__zx2lp","container--no-padding":"Callout-module_container--no-padding__wI9Pc",page:"Callout-module_page__2bQ0P","page--contents-max-width":"Callout-module_page--contents-max-width__4p2pL","page--no-extra-padding":"Callout-module_page--no-extra-padding__lGzpM","page--no-max-width":"Callout-module_page--no-max-width__cF1qn",hr:"Callout-module_hr__iz4ZP","li--disabled":"Callout-module_li--disabled__09IJ1",block:"Callout-module_block__cdSSP",callout:"Callout-module_callout__kEgS8",callout__icon:"Callout-module_callout__icon__z-ZHp","callout--info":"Callout-module_callout--info__zpyMT","callout--info__icon":"Callout-module_callout--info__icon__hHBbh","callout--warning":"Callout-module_callout--warning__QhFli","callout--error":"Callout-module_callout--error__-HDOj","callout--success":"Callout-module_callout--success__f1lTK",callout__wrapper:"Callout-module_callout__wrapper__jooXm",loading_animation:"Callout-module_loading_animation__9m516",MoveInTop:"Callout-module_MoveInTop__fio2m",fadeInDown:"Callout-module_fadeInDown__webmy",fadeUp:"Callout-module_fadeUp__uXBP6"};a.s(["default",0,({children:a,type:d="info",hasMarginUp:e=!1,hasMarginDown:f=!1})=>{let g=`${c.callout} ${c[`callout--${d}`]} ${e?c["margin-top--1"]:""} ${f?c["margin-bottom--2"]:""}`;return(0,b.jsxs)("div",{className:g,children:[(0,b.jsx)("div",{className:c.callout__icon}),(0,b.jsx)("div",{className:c.callout__wrapper,children:a})]})}],30185)},10950,a=>{"use strict";var b=a.i(46737),c=a.i(55017),d=a.i(39102),e=a.i(75845),f=a.i(39617);let g=(a,b,c,d)=>{c.current&&document.body.removeEventListener("scrollend",c.current),b.current=!0,c.current=()=>{b.current=!1,c.current=null,d(a);let e=new URL(window.location.href);e.searchParams.set("section",a),window.history.replaceState({},"",e.toString())},document.body.addEventListener("scrollend",c.current,{once:!0})},h=a=>{let b=new URL(window.location.href);b.searchParams.set("section",a),window.history.replaceState({},"",b.toString())},i=a=>{if(!a)return;let b=a.getBoundingClientRect().top+document.body.scrollTop-100;document.body.scrollTo({top:b,behavior:"smooth"})},j=(a,b)=>null!==b&&(a.id===b||a.children.some(a=>j(a,b))),k=({node:a,index:c,visibleTitle:d,onClick:e,expandOverrides:f={},onToggle:g,showToggleColumn:h=!1})=>{let i=a.children.length>0,l=i&&void 0!==g,m=!l||(f[a.id]??j(a,d)),n=void 0!==g&&a.children.some(a=>a.children.length>0);return(0,b.jsxs)("div",{children:[(0,b.jsxs)("div",{className:"TocNode-module_toc-node__row__oTm6y",children:[l&&(0,b.jsx)("button",{type:"button",className:`TocNode-module_toc-node__toggle__Ic4im ${m?"TocNode-module_toc-node__toggle--expanded__rp64o":""}`,"aria-expanded":m,"aria-label":`${m?"Collapse":"Expand"} ${a.title}`,onClick:()=>g(a.id,m),children:(0,b.jsx)("svg",{viewBox:"0 0 24 24",width:"14",height:"14","aria-hidden":"true",children:(0,b.jsx)("polyline",{points:"9 6 15 12 9 18",fill:"none",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})})}),h&&!l&&(0,b.jsx)("span",{className:"TocNode-module_toc-node__toggle-spacer__ASE7o","aria-hidden":"true"}),(0,b.jsx)("p",{"data-idx":c,"data-id":a.id,className:["TocNode-module_toc-node__title__Fqq9L",a.id===d?"TocNode-module_toc-node__title--active__8WI6n":""].join(" "),onClick:e,children:a.title})]}),i&&m&&(0,b.jsx)("div",{className:"TocNode-module_toc-node__children__3x8Ot",children:a.children.map((c,h)=>(0,b.jsx)(k,{node:c,index:h,visibleTitle:d,onClick:e,expandOverrides:f,onToggle:g,showToggleColumn:n},`${a.id}-${c.id}`))})]})};a.s(["default",0,({children:a,title:j="In this article",jsonLd:l,increasedWidthMode:m=!1})=>{let[n,o]=(0,c.useState)(null),[p,q]=(0,c.useState)(!1),[r,s]=(0,c.useState)({}),t=(a,b)=>s(c=>({...c,[a]:!b})),{categoryTitles:u,handleSectionReference:v}=function({visibleTitle:a,setVisibleTitle:b,setShowTOC:d}){let e=(0,c.useRef)(new Map),[f,g]=(0,c.useState)(new Map),h=(0,c.useRef)(null),i=(0,c.useCallback)(([,a],[,b])=>{let c=a.el.compareDocumentPosition(b.el);return c&Node.DOCUMENT_POSITION_FOLLOWING?-1:c&Node.DOCUMENT_POSITION_PRECEDING?1:0},[]),j=(0,c.useCallback)(()=>{let c=Date.now(),f=new Map,h=Array.from(e.current.entries());h.sort(i);let j=null,k=new Map;for(let[,{title:a,el:b,depth:d,baseId:e}]of h){let g=(k.get(e)??0)+1;k.set(e,g);let h=1===g?e:`${e}-${g}`;j||(j=h),f.set(h,{el:b,title:a,lastUpdatedAt:c,depth:d})}0===f.size||(g(f),d(!0),a||b(j))},[a,i,d,b]),k=(0,c.useCallback)(()=>{h.current&&clearTimeout(h.current),h.current=setTimeout(()=>{j()},200)},[j]),l=a=>{let{parentRef:b,childRefs:c}=a;if(b&&(a=>{let b=a.dataset.id,c=a.dataset.title;if(!b||!c)return;let d=0,f=a.parentElement;for(;f;)f.hasAttribute("data-id")&&d++,f=f.parentElement;e.current.set(a,{el:a,title:c,depth:d,baseId:b})})(b),Array.isArray(c))for(let a of c)l(a)},m=(0,c.useCallback)(a=>{a&&(l(a),k())},[k]);return(0,c.useEffect)(()=>()=>{h.current&&clearTimeout(h.current)},[]),{categoryTitles:f,handleSectionReference:m}}({visibleTitle:n,setVisibleTitle:o,setShowTOC:q}),{handleClickCategoryTitle:w}=function({categoryTitles:a,setVisibleTitle:b}){let d=(0,c.useRef)(!1),e=(0,c.useRef)(null),f=(0,c.useRef)(new Map);return(0,c.useEffect)(()=>{for(let[c,{el:e}]of a){let a=new IntersectionObserver(([a])=>{!a.isIntersecting||d.current||0!==document.body.scrollTop&&(b(b=>b!==c||a.isIntersecting?a.isIntersecting?c:b:null),h(c))},{threshold:.1});f.current.set(c,a),a.observe(e)}},[a.size,b]),(0,c.useEffect)(()=>{if(0===a.size)return;let c=new URL(window.location.href).searchParams.get("section");if(!c)return;let f=a.get(c);f&&(i(f.el),g(c,d,e,b))},[a.size,b]),(0,c.useEffect)(()=>()=>{for(let a of(e.current&&document.body.removeEventListener("scrollend",e.current),f.current.values()))a.disconnect()},[]),{handleClickCategoryTitle:(0,c.useCallback)(c=>{let f=c.currentTarget.dataset.id,j=c.currentTarget.dataset.idx;if(!f||!j)return;let{el:k}=a.get(f)||{};k&&(h(f),i(k),g(f,d,e,b))},[a,b])}}({categoryTitles:u,setVisibleTitle:o}),x=(0,e.useSpring)({opacity:+!!p,transform:p?"translateX(0)":"translateX(40px)",config:e.config.gentle});return(0,b.jsxs)("div",{className:`${f.default.blog} ${m?f.default["blog--increased-width"]:""}`,children:[l&&(0,b.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(l)}}),(0,b.jsx)("div",{className:f.default.blog__content,children:c.Children.map(a,a=>(0,c.isValidElement)(a)?(0,c.cloneElement)(a,{ref:v}):a)}),(0,b.jsxs)(d.animated.div,{className:f.default.blog__sidebar,style:x,children:[(0,b.jsx)("p",{className:`${f.default["margin-bottom--3"]} ${f.default.category__header}`,children:j}),(a=>{let b=[],c=[];for(let[d,{title:e,depth:f}]of a.filter(([,{depth:a}])=>a<=2)){let a={id:d,title:e,depth:f,children:[]};for(;c.length>0&&c[c.length-1].depth>=f;)c.pop();0===c.length?b.push(a):c[c.length-1].children.push(a),c.push(a)}return b})([...u]).map((a,c)=>(0,b.jsx)(k,{node:a,index:c,visibleTitle:n,onClick:w,expandOverrides:r,onToggle:t,showToggleColumn:!0},a.id))]})]})}],10950)},18867,a=>{a.v(b=>Promise.all(["server/chunks/ssr/0dlc_@san-siva_blogkit_dist_esm_dynamicComponents_BlogSectionDynamic_0zs.w2t.js"].map(b=>a.l(b))).then(()=>b(78037)))},41127,a=>{a.v(b=>Promise.all(["server/chunks/ssr/0dlc_0lpokoa._.js"].map(b=>a.l(b))).then(()=>b(61549)))},35626,a=>{a.v(b=>Promise.all(["server/chunks/ssr/0dlc_02thqsb._.js","server/chunks/ssr/0dlc_0m510po._.js"].map(b=>a.l(b))).then(()=>b(42236)))},18069,a=>{a.v(b=>Promise.all(["server/chunks/ssr/0dlc_@san-siva_blogkit_dist_esm_dynamicComponents_BlogLinkDynamic_0s4dy9k.js"].map(b=>a.l(b))).then(()=>b(69871)))},45578,a=>{a.v(a=>Promise.resolve().then(()=>a(10950)))}];
1
+ module.exports=[39617,a=>{"use strict";a.s(["default",0,{"margin-bottom--3":"Blog-module_margin-bottom--3__ir35O",category__header:"Blog-module_category__header__F1K0V",blog:"Blog-module_blog__Lpv6Z",blog__sidebar:"Blog-module_blog__sidebar__uSu3l","blog--increased-width":"Blog-module_blog--increased-width__QxyOD",blog__content:"Blog-module_blog__content__RMDiY","blog--no-toc":"Blog-module_blog--no-toc__ggkFH"}])},67519,a=>{"use strict";a.s(["default",0,{"blog-link":"BlogLink-module_blog-link__X09yI","blog-link__title":"BlogLink-module_blog-link__title__mXr5D","blog-link__description":"BlogLink-module_blog-link__description__Ctack","blog-link__read-more":"BlogLink-module_blog-link__read-more__N1OuD"}])},69995,a=>{"use strict";var b=a.i(55017);let c=a=>null==a||"boolean"==typeof a?"":"string"==typeof a||"number"==typeof a?String(a):(0,b.isValidElement)(a)?c(a.props.children):Array.isArray(a)?a.map(c).join(""):"";a.s(["extractTextFromReactNode",0,c,"generateIdForBlogTitle",0,a=>a.toLowerCase().replace(/[^\w\d]/g,"-"),"generateSectionHref",0,a=>`?section=${a}`,"generateUrlForBlogTitle",0,a=>encodeURIComponent(a.replace(/[^\w]+/g,"-").toLowerCase())])},92798,a=>{"use strict";a.s(["default",0,{"blog-section":"BlogSection-module_blog-section__NTDM4","blog-section__title":"BlogSection-module_blog-section__title__5-4Oy","blog-section__title--empty":"BlogSection-module_blog-section__title--empty__-di-F","blog-section__title-link":"BlogSection-module_blog-section__title-link__Q4R5T"}])},95716,a=>{"use strict";a.s(["default",0,{"margin-top--1":"CodeBlock-module_margin-top--1__mApFz","margin-bottom--2":"CodeBlock-module_margin-bottom--2__fz9IX","code-block":"CodeBlock-module_code-block__ah1AG","code-block__header__actions":"CodeBlock-module_code-block__header__actions__vClnL","code-block__wrapper":"CodeBlock-module_code-block__wrapper__-IUGO","code-block__header":"CodeBlock-module_code-block__header__93VEU","code-block__header__title":"CodeBlock-module_code-block__header__title__xxZgC","code-block__header__expand":"CodeBlock-module_code-block__header__expand__PBJlP","code-block__header__expand--collapse":"CodeBlock-module_code-block__header__expand--collapse__93Kth","code-block__header__copy":"CodeBlock-module_code-block__header__copy__NCWSg","code-block__header__copy--active":"CodeBlock-module_code-block__header__copy--active__5ByAp","code-block__modal":"CodeBlock-module_code-block__modal__nNvcI","code-block__modal__content":"CodeBlock-module_code-block__modal__content__qWuic","code-block__modal__wrapper":"CodeBlock-module_code-block__modal__wrapper__me6hC","code-block--static":"CodeBlock-module_code-block--static__1gBzz"}])},30185,a=>{"use strict";var b=a.i(46737),c={"margin-top":"Callout-module_margin-top__dS2UF","padding-top":"Callout-module_padding-top__aJrE4","margin-top--1":"Callout-module_margin-top--1__eBfEL","padding-top--1":"Callout-module_padding-top--1__rrL2e","margin-top--2":"Callout-module_margin-top--2__Ej-fE","padding-top--2":"Callout-module_padding-top--2__NtBHH","margin-top--3":"Callout-module_margin-top--3__AsHPR","padding-top--3":"Callout-module_padding-top--3__CjXpH","margin-top--4":"Callout-module_margin-top--4__3ji03","padding-top--4":"Callout-module_padding-top--4__BdcKb","margin-top--5":"Callout-module_margin-top--5__j3Qds","padding-top--5":"Callout-module_padding-top--5__TWT9C","margin-top--6":"Callout-module_margin-top--6__GQFRt","padding-top--6":"Callout-module_padding-top--6__4bYvI","margin-top--7":"Callout-module_margin-top--7__ArvNz","padding-top--7":"Callout-module_padding-top--7__PnU3M","margin-top--8":"Callout-module_margin-top--8__DvN7J","padding-top--8":"Callout-module_padding-top--8__qunY9","margin-top--9":"Callout-module_margin-top--9__mSjxY","padding-top--9":"Callout-module_padding-top--9__N4Z2b","margin-top--10":"Callout-module_margin-top--10__bJrtu","padding-top--10":"Callout-module_padding-top--10__JBw3e","margin-top--11":"Callout-module_margin-top--11__vnKG4","padding-top--11":"Callout-module_padding-top--11__w1mSs","margin-top--12":"Callout-module_margin-top--12__XM8gt","padding-top--12":"Callout-module_padding-top--12__iuEYZ","margin-bottom":"Callout-module_margin-bottom__UlOKu","padding-bottom":"Callout-module_padding-bottom__-XwJQ","margin-bottom--1":"Callout-module_margin-bottom--1__LxnVH","padding-bottom--1":"Callout-module_padding-bottom--1__MfyXw","margin-bottom--2":"Callout-module_margin-bottom--2__nelQj","padding-bottom--2":"Callout-module_padding-bottom--2__9MX1j","margin-bottom--3":"Callout-module_margin-bottom--3__VfA8y","padding-bottom--3":"Callout-module_padding-bottom--3__FRllS","margin-bottom--4":"Callout-module_margin-bottom--4__-j-tS","padding-bottom--4":"Callout-module_padding-bottom--4__sJzsQ","margin-bottom--5":"Callout-module_margin-bottom--5__0hYDy","padding-bottom--5":"Callout-module_padding-bottom--5__c4BQo","margin-bottom--6":"Callout-module_margin-bottom--6__8Ny2B","padding-bottom--6":"Callout-module_padding-bottom--6__wNeJk","margin-bottom--7":"Callout-module_margin-bottom--7__0dYmE","padding-bottom--7":"Callout-module_padding-bottom--7__FueIs","margin-bottom--8":"Callout-module_margin-bottom--8__r93zU","padding-bottom--8":"Callout-module_padding-bottom--8__APcyf","margin-bottom--9":"Callout-module_margin-bottom--9__f6KUQ","padding-bottom--9":"Callout-module_padding-bottom--9__KVgqO","margin-bottom--10":"Callout-module_margin-bottom--10__DgHw9","padding-bottom--10":"Callout-module_padding-bottom--10__VeWlT","margin-bottom--11":"Callout-module_margin-bottom--11__MR5kg","padding-bottom--11":"Callout-module_padding-bottom--11__w-dVG","margin-bottom--12":"Callout-module_margin-bottom--12__65MMr","padding-bottom--12":"Callout-module_padding-bottom--12__6FT1T","margin-left":"Callout-module_margin-left__mb1jm","padding-left":"Callout-module_padding-left__cgzip","margin-left--1":"Callout-module_margin-left--1__DWFsG","padding-left--1":"Callout-module_padding-left--1__3nWMz","margin-left--2":"Callout-module_margin-left--2__ByTNO","padding-left--2":"Callout-module_padding-left--2__9-PLw","margin-left--3":"Callout-module_margin-left--3__0Iz7m","padding-left--3":"Callout-module_padding-left--3__FQgJY","margin-left--4":"Callout-module_margin-left--4__cmAQ4","padding-left--4":"Callout-module_padding-left--4__pW9OV","margin-left--5":"Callout-module_margin-left--5__qD5bN","padding-left--5":"Callout-module_padding-left--5__FaZO8","margin-left--6":"Callout-module_margin-left--6__h-dBW","padding-left--6":"Callout-module_padding-left--6__RT6JH","margin-left--7":"Callout-module_margin-left--7__9wZFI","padding-left--7":"Callout-module_padding-left--7__-31-c","margin-left--8":"Callout-module_margin-left--8__bbcki","padding-left--8":"Callout-module_padding-left--8__f3ctw","margin-left--9":"Callout-module_margin-left--9__0xlWQ","padding-left--9":"Callout-module_padding-left--9__QsNKP","margin-left--10":"Callout-module_margin-left--10__RfTZc","padding-left--10":"Callout-module_padding-left--10__2CqOz","margin-left--11":"Callout-module_margin-left--11__KWNFX","padding-left--11":"Callout-module_padding-left--11__qf3JJ","margin-left--12":"Callout-module_margin-left--12__-0GWw","padding-left--12":"Callout-module_padding-left--12__vNYbn","margin-right":"Callout-module_margin-right__CN33J","padding-right":"Callout-module_padding-right__Cn14a","margin-right--1":"Callout-module_margin-right--1__GAGZO","padding-right--1":"Callout-module_padding-right--1__qh8gH","margin-right--2":"Callout-module_margin-right--2__MjxOE","padding-right--2":"Callout-module_padding-right--2__CDawi","margin-right--3":"Callout-module_margin-right--3__w3PO-","padding-right--3":"Callout-module_padding-right--3__bOIL3","margin-right--4":"Callout-module_margin-right--4__wjZRG","padding-right--4":"Callout-module_padding-right--4__DNn-A","margin-right--5":"Callout-module_margin-right--5__JUYoz","padding-right--5":"Callout-module_padding-right--5__V1t3c","margin-right--6":"Callout-module_margin-right--6__UXR9-","padding-right--6":"Callout-module_padding-right--6__pVwQj","margin-right--7":"Callout-module_margin-right--7__ZwUec","padding-right--7":"Callout-module_padding-right--7__EHY0p","margin-right--8":"Callout-module_margin-right--8__k9asQ","padding-right--8":"Callout-module_padding-right--8__1Nqrm","margin-right--9":"Callout-module_margin-right--9__J8sMZ","padding-right--9":"Callout-module_padding-right--9__QYnAq","margin-right--10":"Callout-module_margin-right--10__CZ3Im","padding-right--10":"Callout-module_padding-right--10__Ji-ow","margin-right--11":"Callout-module_margin-right--11__xNfCV","padding-right--11":"Callout-module_padding-right--11__epPSq","margin-right--12":"Callout-module_margin-right--12__s30AM","padding-right--12":"Callout-module_padding-right--12__lLgou",error:"Callout-module_error__UeboU","font--primary":"Callout-module_font--primary__Ayv9J","font--secondary":"Callout-module_font--secondary__mBXUH","font--code":"Callout-module_font--code__fG36F","font-weight--400":"Callout-module_font-weight--400__VYsxM","font-weight--500":"Callout-module_font-weight--500__zXuRq","font-weight--600":"Callout-module_font-weight--600__fJDVt","font-weight--700":"Callout-module_font-weight--700__3kQTh","font-weight--800":"Callout-module_font-weight--800__5POjB","font-size--h1":"Callout-module_font-size--h1__9fzEM","font-size--h2":"Callout-module_font-size--h2__EowCg","font-size--h3":"Callout-module_font-size--h3__8EcUJ","font-size--h4":"Callout-module_font-size--h4__ferQ7","font-size--h5":"Callout-module_font-size--h5__43lHF","font-size--h6":"Callout-module_font-size--h6__GpBej","font-size--big":"Callout-module_font-size--big__-BXjA","font-size--button":"Callout-module_font-size--button__9KupW","font-size--p":"Callout-module_font-size--p__RJTna","font-size--small":"Callout-module_font-size--small__YEsJl","font-size--very-small":"Callout-module_font-size--very-small__gac5b","font-size--tiny":"Callout-module_font-size--tiny__-Bd4M","font-size--micro":"Callout-module_font-size--micro__ajNCO","line-height--large":"Callout-module_line-height--large__OStzV","line-height--normal":"Callout-module_line-height--normal__p5UA7","line-height--small":"Callout-module_line-height--small__2kXv9","line-height--very-small":"Callout-module_line-height--very-small__AS59u","text-align--center":"Callout-module_text-align--center__5JXeQ","font-style--italic":"Callout-module_font-style--italic__RMNL7",category__header:"Callout-module_category__header__Edg04","a--highlighted":"Callout-module_a--highlighted__JmfE5","grecaptcha-badge":"Callout-module_grecaptcha-badge__7vWF5",container:"Callout-module_container__FV7VM","container--contents-centered":"Callout-module_container--contents-centered__zx2lp","container--no-padding":"Callout-module_container--no-padding__wI9Pc",page:"Callout-module_page__2bQ0P","page--contents-max-width":"Callout-module_page--contents-max-width__4p2pL","page--no-extra-padding":"Callout-module_page--no-extra-padding__lGzpM","page--no-max-width":"Callout-module_page--no-max-width__cF1qn",hr:"Callout-module_hr__iz4ZP","li--disabled":"Callout-module_li--disabled__09IJ1",block:"Callout-module_block__cdSSP",callout:"Callout-module_callout__kEgS8",callout__icon:"Callout-module_callout__icon__z-ZHp","callout--info":"Callout-module_callout--info__zpyMT","callout--info__icon":"Callout-module_callout--info__icon__hHBbh","callout--warning":"Callout-module_callout--warning__QhFli","callout--error":"Callout-module_callout--error__-HDOj","callout--success":"Callout-module_callout--success__f1lTK",callout__wrapper:"Callout-module_callout__wrapper__jooXm",loading_animation:"Callout-module_loading_animation__9m516",MoveInTop:"Callout-module_MoveInTop__fio2m",fadeInDown:"Callout-module_fadeInDown__webmy",fadeUp:"Callout-module_fadeUp__uXBP6"};a.s(["default",0,({children:a,type:d="info",hasMarginUp:e=!1,hasMarginDown:f=!1})=>{let g=`${c.callout} ${c[`callout--${d}`]} ${e?c["margin-top--1"]:""} ${f?c["margin-bottom--2"]:""}`;return(0,b.jsxs)("div",{className:g,children:[(0,b.jsx)("div",{className:c.callout__icon}),(0,b.jsx)("div",{className:c.callout__wrapper,children:a})]})}],30185)},10950,a=>{"use strict";var b=a.i(46737),c=a.i(55017),d=a.i(39102),e=a.i(75845),f=a.i(39617);let g=(a,b,c,d)=>{c.current&&document.body.removeEventListener("scrollend",c.current),b.current=!0,c.current=()=>{b.current=!1,c.current=null,d(a);let e=new URL(window.location.href);e.searchParams.set("section",a),window.history.replaceState({},"",e.toString())},document.body.addEventListener("scrollend",c.current,{once:!0})},h=a=>{let b=new URL(window.location.href);b.searchParams.set("section",a),window.history.replaceState({},"",b.toString())},i=a=>{if(!a)return;let b=a.getBoundingClientRect().top+document.body.scrollTop-100;document.body.scrollTo({top:b,behavior:"smooth"})},j=(a,b)=>null!==b&&(a.id===b||a.children.some(a=>j(a,b))),k=({node:a,index:c,visibleTitle:d,onClick:e,expandOverrides:f={},onToggle:g,showToggleColumn:h=!1})=>{let i=a.children.length>0,l=i&&void 0!==g,m=!l||(f[a.id]??j(a,d)),n=void 0!==g&&a.children.some(a=>a.children.length>0);return(0,b.jsxs)("div",{children:[(0,b.jsxs)("div",{className:"TocNode-module_toc-node__row__oTm6y",children:[l&&(0,b.jsx)("button",{type:"button",className:`TocNode-module_toc-node__toggle__Ic4im ${m?"TocNode-module_toc-node__toggle--expanded__rp64o":""}`,"aria-expanded":m,"aria-label":`${m?"Collapse":"Expand"} ${a.title}`,onClick:()=>g(a.id,m),children:(0,b.jsx)("svg",{viewBox:"0 0 24 24",width:"14",height:"14","aria-hidden":"true",children:(0,b.jsx)("polyline",{points:"9 6 15 12 9 18",fill:"none",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})})}),h&&!l&&(0,b.jsx)("span",{className:"TocNode-module_toc-node__toggle-spacer__ASE7o","aria-hidden":"true"}),(0,b.jsx)("p",{"data-idx":c,"data-id":a.id,className:["TocNode-module_toc-node__title__Fqq9L",a.id===d?"TocNode-module_toc-node__title--active__8WI6n":""].join(" "),onClick:e,children:a.title})]}),i&&m&&(0,b.jsx)("div",{className:"TocNode-module_toc-node__children__3x8Ot",children:a.children.map((c,h)=>(0,b.jsx)(k,{node:c,index:h,visibleTitle:d,onClick:e,expandOverrides:f,onToggle:g,showToggleColumn:n},`${a.id}-${c.id}`))})]})};a.s(["default",0,({children:a,title:j="In this article",jsonLd:l,increasedWidthMode:m=!1})=>{let[n,o]=(0,c.useState)(null),[p,q]=(0,c.useState)(!1),[r,s]=(0,c.useState)({}),t=(a,b)=>s(c=>({...c,[a]:!b})),{categoryTitles:u,handleSectionReference:v}=function({visibleTitle:a,setVisibleTitle:b,setShowTOC:d}){let e=(0,c.useRef)(new Map),[f,g]=(0,c.useState)(new Map),h=(0,c.useRef)(null),i=(0,c.useCallback)(([,a],[,b])=>{let c=a.el.compareDocumentPosition(b.el);return c&Node.DOCUMENT_POSITION_FOLLOWING?-1:c&Node.DOCUMENT_POSITION_PRECEDING?1:0},[]),j=(0,c.useCallback)(()=>{let c=Date.now(),f=new Map,h=Array.from(e.current.entries());h.sort(i);let j=null,k=new Map;for(let[,{title:a,el:b,depth:d,baseId:e}]of h){let g=(k.get(e)??0)+1;k.set(e,g);let h=1===g?e:`${e}-${g}`;j||(j=h),f.set(h,{el:b,title:a,lastUpdatedAt:c,depth:d})}0===f.size||(g(f),d(!0),a||b(j))},[a,i,d,b]),k=(0,c.useCallback)(()=>{h.current&&clearTimeout(h.current),h.current=setTimeout(()=>{j()},200)},[j]),l=a=>{let{parentRef:b,childRefs:c}=a;if(b&&(a=>{let b=a.dataset.id,c=a.dataset.title;if(!b||!c)return;let d=0,f=a.parentElement;for(;f;)f.hasAttribute("data-id")&&d++,f=f.parentElement;e.current.set(a,{el:a,title:c,depth:d,baseId:b})})(b),Array.isArray(c))for(let a of c)l(a)},m=(0,c.useCallback)(a=>{a&&(l(a),k())},[k]);return(0,c.useEffect)(()=>()=>{h.current&&clearTimeout(h.current)},[]),{categoryTitles:f,handleSectionReference:m}}({visibleTitle:n,setVisibleTitle:o,setShowTOC:q}),{handleClickCategoryTitle:w}=function({categoryTitles:a,setVisibleTitle:b}){let d=(0,c.useRef)(!1),e=(0,c.useRef)(null),f=(0,c.useRef)(new Map);return(0,c.useEffect)(()=>{for(let[c,{el:e}]of a){let a=new IntersectionObserver(([a])=>{!a.isIntersecting||d.current||0!==document.body.scrollTop&&(b(b=>b!==c||a.isIntersecting?a.isIntersecting?c:b:null),h(c))},{threshold:.1});f.current.set(c,a),a.observe(e)}},[a.size,b]),(0,c.useEffect)(()=>{if(0===a.size)return;let c=new URL(window.location.href).searchParams.get("section");if(!c)return;let f=a.get(c);f&&(i(f.el),g(c,d,e,b))},[a.size,b]),(0,c.useEffect)(()=>()=>{for(let a of(e.current&&document.body.removeEventListener("scrollend",e.current),f.current.values()))a.disconnect()},[]),{handleClickCategoryTitle:(0,c.useCallback)(c=>{let f=c.currentTarget.dataset.id,j=c.currentTarget.dataset.idx;if(!f||!j)return;let{el:k}=a.get(f)||{};k&&(h(f),i(k),g(f,d,e,b))},[a,b])}}({categoryTitles:u,setVisibleTitle:o}),x=(a=>{let b=[],c=[];for(let[d,{title:e,depth:f}]of a.filter(([,{depth:a}])=>a<=2)){let a={id:d,title:e,depth:f,children:[]};for(;c.length>0&&c[c.length-1].depth>=f;)c.pop();0===c.length?b.push(a):c[c.length-1].children.push(a),c.push(a)}return b})([...u]),y=x.some(a=>a.children.length>0),z=(0,e.useSpring)({opacity:+!!p,transform:p?"translateX(0)":"translateX(40px)",config:e.config.gentle});return(0,b.jsxs)("div",{className:`${f.default.blog} ${m?f.default["blog--increased-width"]:""}`,children:[l&&(0,b.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(l)}}),(0,b.jsx)("div",{className:f.default.blog__content,children:c.Children.map(a,a=>(0,c.isValidElement)(a)?(0,c.cloneElement)(a,{ref:v}):a)}),(0,b.jsxs)(d.animated.div,{className:f.default.blog__sidebar,style:z,children:[(0,b.jsx)("p",{className:`${f.default["margin-bottom--3"]} ${f.default.category__header}`,children:j}),x.map((a,c)=>(0,b.jsx)(k,{node:a,index:c,visibleTitle:n,onClick:w,expandOverrides:r,onToggle:t,showToggleColumn:y},a.id))]})]})}],10950)},18867,a=>{a.v(b=>Promise.all(["server/chunks/ssr/0dlc_@san-siva_blogkit_dist_esm_dynamicComponents_BlogSectionDynamic_0zs.w2t.js"].map(b=>a.l(b))).then(()=>b(78037)))},41127,a=>{a.v(b=>Promise.all(["server/chunks/ssr/0dlc_0lpokoa._.js"].map(b=>a.l(b))).then(()=>b(61549)))},35626,a=>{a.v(b=>Promise.all(["server/chunks/ssr/0dlc_02thqsb._.js","server/chunks/ssr/0dlc_0m510po._.js"].map(b=>a.l(b))).then(()=>b(42236)))},18069,a=>{a.v(b=>Promise.all(["server/chunks/ssr/0dlc_@san-siva_blogkit_dist_esm_dynamicComponents_BlogLinkDynamic_0s4dy9k.js"].map(b=>a.l(b))).then(()=>b(69871)))},45578,a=>{a.v(a=>Promise.resolve().then(()=>a(10950)))}];
2
2
 
3
3
  //# sourceMappingURL=0dlc_%40san-siva_blogkit_dist_esm_04a~w8l._.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../blogkit-md-cli/node_modules/%40san-siva/blogkit/src/utils/index.ts","../../../../../blogkit-md-cli/node_modules/%40san-siva/blogkit/src/staticComponents/CalloutStatic.tsx","../../../../../blogkit-md-cli/node_modules/%40san-siva/blogkit/src/utils/lockScrollUpdates.ts","../../../../../blogkit-md-cli/node_modules/%40san-siva/blogkit/src/hooks/useCategoryTitles.ts","../../../../../blogkit-md-cli/node_modules/%40san-siva/blogkit/src/staticComponents/TocNodeStatic.tsx","../../../../../blogkit-md-cli/node_modules/%40san-siva/blogkit/src/hooks/useSectionObserver.ts","../../../../../blogkit-md-cli/node_modules/%40san-siva/blogkit/src/dynamicComponents/BlogDynamic.tsx"],"sourcesContent":["import { isValidElement } from 'react';\nimport type { ReactNode } from 'react';\n\nexport const extractTextFromReactNode = (node: ReactNode): string => {\n\tif (node === null || node === undefined || typeof node === 'boolean') return '';\n\tif (typeof node === 'string' || typeof node === 'number') return String(node);\n\tif (isValidElement(node)) return extractTextFromReactNode((node.props as { children?: ReactNode }).children);\n\tif (Array.isArray(node)) return node.map(extractTextFromReactNode).join('');\n\treturn '';\n};\n\nexport const generateIdForBlogTitle = (title: string) => title.toLowerCase().replace(/[^\\w\\d]/g, '-');\n\nexport const generateUrlForBlogTitle = (title: string) => encodeURIComponent(title.replace(/[^\\w]+/g, '-').toLowerCase());\n\nexport const generateSectionHref = (id: string) => `?section=${id}`;\n","import type { ReactNode } from 'react';\n\nimport styles from '../styles/Callout.module.scss';\n\ninterface CalloutProperties {\n\tchildren?: ReactNode;\n\ttype: 'info' | 'warning' | 'error' | 'success';\n\thasMarginUp?: boolean;\n\thasMarginDown?: boolean;\n}\n\nconst Callout = ({ children, type = 'info',\n\thasMarginUp = false,\n\thasMarginDown = false\n}: CalloutProperties) => {\n\tconst className = `${styles.callout} ${styles[`callout--${type}`]} ${\n\t\thasMarginUp ? styles['margin-top--1'] : ''\n\t} ${hasMarginDown ? styles['margin-bottom--2'] : ''}`;\n\treturn (\n\t\t<div className={className}>\n\t\t\t<div className={styles.callout__icon}/>\n\t\t\t<div className={styles.callout__wrapper}>{children}</div>\n\t\t</div>\n\t);\n};\n\nexport default Callout;\n","import type { MutableRefObject } from 'react';\n\nconst lockScrollUpdates = (\n\tid: string,\n\tisClickScrolling: MutableRefObject<boolean>,\n\tscrollEndHandlerRef: MutableRefObject<(() => void) | null>,\n\tsetVisibleTitle: (id: string) => void\n) => {\n\tif (scrollEndHandlerRef.current) {\n\t\tdocument.body.removeEventListener('scrollend', scrollEndHandlerRef.current);\n\t}\n\n\tisClickScrolling.current = true;\n\n\tscrollEndHandlerRef.current = () => {\n\t\tisClickScrolling.current = false;\n\t\tscrollEndHandlerRef.current = null;\n\t\tsetVisibleTitle(id);\n\t\tconst url = new URL(window.location.href);\n\t\turl.searchParams.set('section', id);\n\t\twindow.history.replaceState({}, '', url.toString());\n\t};\n\n\tdocument.body.addEventListener('scrollend', scrollEndHandlerRef.current, {\n\t\tonce: true,\n\t});\n};\n\nexport default lockScrollUpdates;\n","'use client';\n\nimport { useCallback, useEffect, useRef, useState } from 'react';\n\nimport type { Dispatch, SetStateAction } from 'react';\n\nimport type { ForwardedReference } from '../dynamicComponents/BlogDynamic';\n\nexport interface SectionReferenceValue {\n\tel: HTMLElement;\n\ttitle: string;\n\tdepth: number;\n}\n\nexport interface CategoryTitleValue extends SectionReferenceValue {\n\tlastUpdatedAt: number;\n}\n\nexport type CategoryTitle = Map<string, CategoryTitleValue>;\n\ninterface SectionReferenceEntry extends SectionReferenceValue {\n\tbaseId: string;\n}\n\ntype SectionReference = Map<HTMLElement, SectionReferenceEntry>;\n\ninterface Options {\n\tvisibleTitle: string | null;\n\tsetVisibleTitle: Dispatch<SetStateAction<string | null>>;\n\tsetShowTOC: Dispatch<SetStateAction<boolean>>;\n}\n\nexport function useCategoryTitles({\n\tvisibleTitle,\n\tsetVisibleTitle,\n\tsetShowTOC,\n}: Options) {\n\tconst sectionReferences = useRef<SectionReference>(new Map());\n\tconst [categoryTitles, setCategoryTitles] = useState<CategoryTitle>(\n\t\tnew Map()\n\t);\n\tconst updateTimerRef = useRef<ReturnType<typeof setTimeout> | null>(null);\n\n\tconst sortByDomPosition = useCallback(\n\t\t(\n\t\t\t[, a]: [HTMLElement, SectionReferenceEntry],\n\t\t\t[, b]: [HTMLElement, SectionReferenceEntry]\n\t\t) => {\n\t\t\tconst position = a.el.compareDocumentPosition(b.el);\n\t\t\tif (position & Node.DOCUMENT_POSITION_FOLLOWING) {\n\t\t\t\treturn -1;\n\t\t\t} else if (position & Node.DOCUMENT_POSITION_PRECEDING) {\n\t\t\t\treturn 1;\n\t\t\t}\n\t\t\treturn 0;\n\t\t},\n\t\t[]\n\t);\n\n\tconst updateCategoryTitles = useCallback(() => {\n\t\tconst now = Date.now();\n\t\tconst newCategoryTitles = new Map<string, CategoryTitleValue>();\n\n\t\tconst sectionsArray = Array.from(sectionReferences.current.entries());\n\t\tsectionsArray.sort(sortByDomPosition);\n\n\t\tlet firstSectionId: string | null = null;\n\t\tconst baseIdCounts = new Map<string, number>();\n\t\tfor (const [, { title, el, depth, baseId }] of sectionsArray) {\n\t\t\tconst occurrence = (baseIdCounts.get(baseId) ?? 0) + 1;\n\t\t\tbaseIdCounts.set(baseId, occurrence);\n\t\t\tconst id = occurrence === 1 ? baseId : `${baseId}-${occurrence}`;\n\n\t\t\tif (!firstSectionId) {\n\t\t\t\tfirstSectionId = id;\n\t\t\t}\n\t\t\tnewCategoryTitles.set(id, {\n\t\t\t\tel,\n\t\t\t\ttitle,\n\t\t\t\tlastUpdatedAt: now,\n\t\t\t\tdepth,\n\t\t\t});\n\t\t}\n\n\t\tif (newCategoryTitles.size === 0) return;\n\n\t\tsetCategoryTitles(newCategoryTitles);\n\t\tsetShowTOC(true);\n\n\t\tif (visibleTitle) return;\n\t\tsetVisibleTitle(firstSectionId);\n\t}, [visibleTitle, sortByDomPosition, setShowTOC, setVisibleTitle]);\n\n\tconst debounceUpdateCategoryTitles = useCallback(() => {\n\t\tif (updateTimerRef.current) {\n\t\t\tclearTimeout(updateTimerRef.current);\n\t\t}\n\t\tupdateTimerRef.current = setTimeout(() => {\n\t\t\tupdateCategoryTitles();\n\t\t}, 200);\n\t}, [updateCategoryTitles]);\n\n\tconst handleCategoryTitle = (ref: HTMLDivElement) => {\n\t\tconst baseId = ref.dataset.id;\n\t\tconst title = ref.dataset.title;\n\t\tif (!baseId || !title) return;\n\n\t\tlet depth = 0;\n\t\tlet parent = ref.parentElement;\n\t\twhile (parent) {\n\t\t\tif (parent.hasAttribute('data-id')) depth++;\n\t\t\tparent = parent.parentElement;\n\t\t}\n\n\t\tsectionReferences.current.set(ref, { el: ref, title, depth, baseId });\n\t};\n\n\tconst processSection = (element: ForwardedReference) => {\n\t\tconst { parentRef, childRefs } = element;\n\t\tif (parentRef) handleCategoryTitle(parentRef);\n\t\tif (Array.isArray(childRefs)) {\n\t\t\tfor (const childRef of childRefs) {\n\t\t\t\tprocessSection(childRef);\n\t\t\t}\n\t\t}\n\t};\n\n\tconst handleSectionReference = useCallback(\n\t\t(element: ForwardedReference) => {\n\t\t\tif (!element) return;\n\t\t\tprocessSection(element);\n\t\t\tdebounceUpdateCategoryTitles();\n\t\t},\n\t\t[debounceUpdateCategoryTitles]\n\t);\n\n\tuseEffect(() => {\n\t\treturn () => {\n\t\t\tif (updateTimerRef.current) {\n\t\t\t\tclearTimeout(updateTimerRef.current);\n\t\t\t}\n\t\t};\n\t}, []);\n\n\treturn { categoryTitles, handleSectionReference };\n}\n","import type { MouseEvent } from 'react';\n\nimport styles from '../styles/TocNode.module.scss';\n\nexport interface TocNode {\n\tid: string;\n\ttitle: string;\n\tdepth: number;\n\tchildren: TocNode[];\n}\n\nexport const containsId = (node: TocNode, id: string | null): boolean =>\n\tid !== null && (node.id === id || node.children.some(child => containsId(child, id)));\n\ninterface TocNodeProperties {\n\tnode: TocNode;\n\tindex: number;\n\tvisibleTitle: string | null;\n\tonClick: (e: MouseEvent<HTMLParagraphElement>) => void;\n\texpandOverrides?: Record<string, boolean>;\n\tonToggle?: (id: string, isExpanded: boolean) => void;\n\tshowToggleColumn?: boolean;\n}\n\nconst TocNode = ({\n\tnode,\n\tindex,\n\tvisibleTitle,\n\tonClick,\n\texpandOverrides = {},\n\tonToggle,\n\tshowToggleColumn = false,\n}: TocNodeProperties) => {\n\tconst hasChildren = node.children.length > 0;\n\tconst isCollapsible = hasChildren && onToggle !== undefined;\n\tconst isExpanded = isCollapsible\n\t\t? (expandOverrides[node.id] ?? containsId(node, visibleTitle))\n\t\t: true;\n\tconst childrenShowToggleColumn =\n\t\tonToggle !== undefined && node.children.some(child => child.children.length > 0);\n\n\treturn (\n\t\t<div>\n\t\t\t<div className={styles['toc-node__row']}>\n\t\t\t\t{isCollapsible && (\n\t\t\t\t\t<button\n\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\tclassName={`${styles['toc-node__toggle']} ${isExpanded ? styles['toc-node__toggle--expanded'] : ''}`}\n\t\t\t\t\t\taria-expanded={isExpanded}\n\t\t\t\t\t\taria-label={`${isExpanded ? 'Collapse' : 'Expand'} ${node.title}`}\n\t\t\t\t\t\tonClick={() => onToggle(node.id, isExpanded)}\n\t\t\t\t\t>\n\t\t\t\t\t\t<svg viewBox=\"0 0 24 24\" width=\"14\" height=\"14\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t<polyline\n\t\t\t\t\t\t\t\tpoints=\"9 6 15 12 9 18\"\n\t\t\t\t\t\t\t\tfill=\"none\"\n\t\t\t\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\t\t\t\tstrokeWidth=\"3\"\n\t\t\t\t\t\t\t\tstrokeLinecap=\"round\"\n\t\t\t\t\t\t\t\tstrokeLinejoin=\"round\"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</button>\n\t\t\t\t)}\n\t\t\t\t{showToggleColumn && !isCollapsible && (\n\t\t\t\t\t<span className={styles['toc-node__toggle-spacer']} aria-hidden=\"true\" />\n\t\t\t\t)}\n\t\t\t\t<p\n\t\t\t\t\tdata-idx={index}\n\t\t\t\t\tdata-id={node.id}\n\t\t\t\t\tclassName={[\n\t\t\t\t\t\tstyles['toc-node__title'],\n\t\t\t\t\t\tnode.id === visibleTitle ? styles['toc-node__title--active'] : '',\n\t\t\t\t\t].join(' ')}\n\t\t\t\t\tonClick={onClick}\n\t\t\t\t>\n\t\t\t\t\t{node.title}\n\t\t\t\t</p>\n\t\t\t</div>\n\t\t\t{hasChildren && isExpanded && (\n\t\t\t\t<div className={styles['toc-node__children']}>\n\t\t\t\t\t{node.children.map((child, i) => (\n\t\t\t\t\t\t<TocNode\n\t\t\t\t\t\t\tkey={`${node.id}-${child.id}`}\n\t\t\t\t\t\t\tnode={child}\n\t\t\t\t\t\t\tindex={i}\n\t\t\t\t\t\t\tvisibleTitle={visibleTitle}\n\t\t\t\t\t\t\tonClick={onClick}\n\t\t\t\t\t\t\texpandOverrides={expandOverrides}\n\t\t\t\t\t\t\tonToggle={onToggle}\n\t\t\t\t\t\t\tshowToggleColumn={childrenShowToggleColumn}\n\t\t\t\t\t\t/>\n\t\t\t\t\t))}\n\t\t\t\t</div>\n\t\t\t)}\n\t\t</div>\n\t);\n};\n\nexport default TocNode;\n","'use client';\n\nimport { useCallback, useEffect, useRef } from 'react';\n\nimport type { Dispatch, MouseEvent, SetStateAction } from 'react';\n\nimport lockScrollUpdates from '../utils/lockScrollUpdates';\nimport type { CategoryTitle } from './useCategoryTitles';\n\nconst getSectionFromUrl = () => {\n\tconst url = new URL(window.location.href);\n\treturn url.searchParams.get('section');\n};\n\nconst updateUrl = (id: string) => {\n\tconst url = new URL(window.location.href);\n\turl.searchParams.set('section', id);\n\twindow.history.replaceState({}, '', url.toString());\n};\n\nconst scrollIntoView = (element: HTMLElement) => {\n\tif (!element) return;\n\tconst top =\n\t\telement.getBoundingClientRect().top + document.body.scrollTop - 100;\n\tdocument.body.scrollTo({ top, behavior: 'smooth' });\n};\n\ninterface Options {\n\tcategoryTitles: CategoryTitle;\n\tsetVisibleTitle: Dispatch<SetStateAction<string | null>>;\n}\n\nexport function useSectionObserver({ categoryTitles, setVisibleTitle }: Options) {\n\tconst isClickScrolling = useRef(false);\n\tconst scrollEndHandlerRef = useRef<(() => void) | null>(null);\n\tconst intersectionObserversRef = useRef<Map<string, IntersectionObserver>>(\n\t\tnew Map()\n\t);\n\n\t// Set up IntersectionObservers whenever the set of sections changes\n\tuseEffect(() => {\n\t\tfor (const [id, { el }] of categoryTitles) {\n\t\t\tconst observer = new IntersectionObserver(\n\t\t\t\t([entry]) => {\n\t\t\t\t\tif (!entry.isIntersecting) return;\n\t\t\t\t\tif (isClickScrolling.current) return;\n\t\t\t\t\tif (document.body.scrollTop === 0) return;\n\t\t\t\t\tsetVisibleTitle(visibleId => {\n\t\t\t\t\t\tif (visibleId === id && !entry.isIntersecting) return null;\n\t\t\t\t\t\tif (entry.isIntersecting) return id;\n\t\t\t\t\t\treturn visibleId;\n\t\t\t\t\t});\n\t\t\t\t\tupdateUrl(id);\n\t\t\t\t},\n\t\t\t\t{ threshold: 0.1 }\n\t\t\t);\n\t\t\tintersectionObserversRef.current.set(id, observer);\n\t\t\tobserver.observe(el as HTMLElement);\n\t\t}\n\t}, [categoryTitles.size, setVisibleTitle]);\n\n\t// On initial load, scroll to section specified in URL\n\tuseEffect(() => {\n\t\tif (categoryTitles.size === 0) return;\n\t\tconst section = getSectionFromUrl();\n\t\tif (!section) return;\n\t\tconst entry = categoryTitles.get(section);\n\t\tif (!entry) return;\n\t\tscrollIntoView(entry.el);\n\t\tlockScrollUpdates(section, isClickScrolling, scrollEndHandlerRef, setVisibleTitle);\n\t}, [categoryTitles.size, setVisibleTitle]);\n\n\t// Cleanup observers on unmount\n\tuseEffect(() => {\n\t\treturn () => {\n\t\t\tif (scrollEndHandlerRef.current) {\n\t\t\t\tdocument.body.removeEventListener('scrollend', scrollEndHandlerRef.current);\n\t\t\t}\n\t\t\tfor (const observer of intersectionObserversRef.current.values()) {\n\t\t\t\tobserver.disconnect();\n\t\t\t}\n\t\t};\n\t}, []);\n\n\tconst handleClickCategoryTitle = useCallback(\n\t\t(event: MouseEvent<HTMLParagraphElement>) => {\n\t\t\tconst id = event.currentTarget.dataset.id;\n\t\t\tconst index = event.currentTarget.dataset.idx;\n\t\t\tif (!id || !index) return;\n\n\t\t\tconst { el } = categoryTitles.get(id) || {};\n\t\t\tif (!el) return;\n\n\t\t\tupdateUrl(id);\n\t\t\tscrollIntoView(el);\n\t\t\tlockScrollUpdates(id, isClickScrolling, scrollEndHandlerRef, setVisibleTitle);\n\t\t},\n\t\t[categoryTitles, setVisibleTitle]\n\t);\n\n\treturn { handleClickCategoryTitle };\n}\n","'use client';\n\nimport {\n\tChildren,\n\tcloneElement,\n\tisValidElement,\n\tuseState,\n} from 'react';\nimport { useSpring, animated, config } from '@react-spring/web';\n\nimport type { ReactNode, RefAttributes } from 'react';\nimport type { Thing, WithContext } from 'schema-dts';\n\nimport styles from '../styles/Blog.module.scss';\nimport { useCategoryTitles } from '../hooks/useCategoryTitles';\nimport { useSectionObserver } from '../hooks/useSectionObserver';\nimport type { CategoryTitleValue } from '../hooks/useCategoryTitles';\nimport TocNodeStatic from '../staticComponents/TocNodeStatic';\nimport type { TocNode } from '../staticComponents/TocNodeStatic';\n\ninterface BlogProperties {\n\tchildren: ReactNode;\n\ttitle?: string;\n\tjsonLd?: WithContext<Thing>;\n\tincreasedWidthMode?: boolean;\n}\n\nexport interface ForwardedReference {\n\tparentRef: HTMLDivElement;\n\tchildRefs: ForwardedReference[];\n}\n\nconst MAX_TOC_DEPTH = 2;\n\nconst buildTocTree = (entries: [string, CategoryTitleValue][]): TocNode[] => {\n\tconst roots: TocNode[] = [];\n\tconst stack: TocNode[] = [];\n\tfor (const [id, { title, depth }] of entries.filter(([, { depth }]) => depth <= MAX_TOC_DEPTH)) {\n\t\tconst node: TocNode = { id, title, depth, children: [] };\n\t\twhile (stack.length > 0 && stack[stack.length - 1].depth >= depth) {\n\t\t\tstack.pop();\n\t\t}\n\t\tif (stack.length === 0) {\n\t\t\troots.push(node);\n\t\t} else {\n\t\t\tstack[stack.length - 1].children.push(node);\n\t\t}\n\t\tstack.push(node);\n\t}\n\treturn roots;\n};\n\nconst Blog = ({\n\tchildren,\n\ttitle = 'In this article',\n\tjsonLd,\n\tincreasedWidthMode = false,\n}: BlogProperties) => {\n\tconst [visibleTitle, setVisibleTitle] = useState<string | null>(null);\n\tconst [showTOC, setShowTOC] = useState(false);\n\tconst [expandOverrides, setExpandOverrides] = useState<Record<string, boolean>>({});\n\n\tconst toggleExpanded = (id: string, isExpanded: boolean) =>\n\t\tsetExpandOverrides(overrides => ({ ...overrides, [id]: !isExpanded }));\n\n\tconst { categoryTitles, handleSectionReference } = useCategoryTitles({\n\t\tvisibleTitle,\n\t\tsetVisibleTitle,\n\t\tsetShowTOC,\n\t});\n\n\tconst { handleClickCategoryTitle } = useSectionObserver({\n\t\tcategoryTitles,\n\t\tsetVisibleTitle,\n\t});\n\n\tconst sidebarStyle = useSpring({\n\t\topacity: showTOC ? 1 : 0,\n\t\ttransform: showTOC ? 'translateX(0)' : 'translateX(40px)',\n\t\tconfig: config.gentle,\n\t});\n\n\treturn (\n\t\t<div className={`${styles.blog} ${increasedWidthMode ? styles['blog--increased-width'] : ''}`}>\n\t\t\t{jsonLd && (\n\t\t\t\t<script\n\t\t\t\t\ttype=\"application/ld+json\"\n\t\t\t\t\tdangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }}\n\t\t\t\t/>\n\t\t\t)}\n\t\t\t<div className={styles['blog__content']}>\n\t\t\t\t{Children.map(children, child => {\n\t\t\t\t\tif (!isValidElement(child)) return child;\n\t\t\t\t\treturn cloneElement(child, {\n\t\t\t\t\t\tref: handleSectionReference,\n\t\t\t\t\t} as RefAttributes<ForwardedReference>);\n\t\t\t\t})}\n\t\t\t</div>\n\t\t\t<animated.div className={styles['blog__sidebar']} style={sidebarStyle}>\n\t\t\t\t<p\n\t\t\t\t\tclassName={`${styles['margin-bottom--3']} ${styles['category__header']}`}\n\t\t\t\t>\n\t\t\t\t\t{title}\n\t\t\t\t</p>\n\t\t\t\t{buildTocTree([...categoryTitles]).map((node, i) => (\n\t\t\t\t\t<TocNodeStatic\n\t\t\t\t\t\tkey={node.id}\n\t\t\t\t\t\tnode={node}\n\t\t\t\t\t\tindex={i}\n\t\t\t\t\t\tvisibleTitle={visibleTitle}\n\t\t\t\t\t\tonClick={handleClickCategoryTitle}\n\t\t\t\t\t\texpandOverrides={expandOverrides}\n\t\t\t\t\t\tonToggle={toggleExpanded}\n\t\t\t\t\t\tshowToggleColumn\n\t\t\t\t\t/>\n\t\t\t\t))}\n\t\t\t</animated.div>\n\t\t</div>\n\t);\n};\n\nexport default Blog;\n"],"names":["_jsxs","_jsx"],"mappings":"ivBAGO,IAAM,EAA4B,AAAD,GACvC,CADuD,KACnD,AAD+D,GACR,CAAnD,KAAK,GAAuD,CAAnD,AADmB,CACO,AAA2B,GAAjD,IAAI,AAAyB,EAA2B,EAAvB,AAAyB,CAAjD,AACV,QAAQ,CADW,CACnC,OAAO,GAAqB,AAAgB,CAAjC,OAAyC,EAAE,OAAnB,EAA0B,EAAtB,IAA4B,CAAC,GACxE,CAD4E,AAC5E,CAD6E,CACzE,EAAA,cAAA,AAAc,EAAC,GAAc,CAAV,CAAoC,AAAnC,EAAwC,AAAtC,EAAqC,GAAmC,CAAC,QAAQ,CAAC,CACxG,IADqD,CAChD,CAAC,OAAO,CAAC,GAAc,CAAV,CAAC,AAAc,EAAZ,AAAW,CAAI,CAAC,GAA0B,IAAI,CAAC,EAAE,CAAC,CACpE,EAAE,UADwD,CAAC,qDAI7B,AAAC,GAAkB,EAAL,AAAW,GAAD,QAAY,EAAE,CAAC,OAAO,CAAC,UAAU,CAAE,GAAG,0BAIjE,AAAC,EAAU,CAAK,CAAA,SAAA,EAAY,EAAE,CAAA,6BAF1B,AAAC,GAAkB,EAAL,gBAAuB,CAAC,EAAM,GAAD,IAAQ,CAAC,SAAS,CAAE,GAAG,CAAC,CAAC,WAAW,EAAE,s2UCFxG,CAAC,CAAE,UAAQ,MAAE,EAAO,EAAH,IAAS,aACzC,GAAc,CAAK,OAAR,QACX,GAAgB,CAAK,CACF,IAC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,ACoBZ,IAAA,EAAA,CACxB,WAAS,EAAE,AACX,MAAM,EADY,AACV,EAAA,CHYO,CGbM,AACA,CDpBJ,AFgCA,AGZH,CDpBI,ACoBH,KHWe,CAAC,EACG,EAAE,CGbA,EDnBG,CCmBA,ADnBC,AAAC,CAAA,iBCmBgB,CAExD,EHaI,KAAA,EAAA,MAAA,CAAA,MAAA,AGXN,GAUI,CHEH,KGFG,CAAA,EAAA,EAAA,IAAA,EAAA,MAAA,cAAoB,EAAK,GAAA,IAAC,CAAA,IAAA,CAAA,CAAA,EAAA,EAAA,EAAA,OAAA,CAAA,wBAAA,CAAA,GAAA,CAAA,kMAAE,CAAA,EAAA,CAAA,CAAA,cAAA,AAAY,EAAA,MAEpC,EAAE,YAAA,EAAA,EAAA,CACiC,IAAA,IAHC,4LAzDjB,QACrB,EAAmB,EAAE,CACtB,EHeF,AGfW,CHeJ,CGfM,EAAE,CDjBI,CAAC,GCiBA,CAChB,CAAA,EAAI,CAAY,MAAA,CAAM,CAAA,MAAA,CAAO,CAAA,CAAA,GAAO,EAAQ,EAAE,CJfX,AEiDb,CElC0B,EAAE,CAAA,CAAA,EAAA,CAAA,MAAA,CAAA,CAAA,CAAA,GAAA,GAJpC,GAIoC,OAC3C,IAAA,QAAM,UAAc,GFmCvB,MEnC6B,EAAM,SACnC,EAAE,ADjBL,CAAC,GAAA,CAAA,GAAA,CAAA,CAAA,EAAA,MAAA,CAAA,EAAA,CAAA,KAAA,EAAA,UCoBI,CAAA,IAAX,EAAM,MAAK,WAGZ,CHqBM,CAAA,EAAA,MAAA,CAAA,EAAA,CAAA,QAAA,CAAA,IAAA,CAAA,YGlBP,CACA,OAAA,CAED,MAAM,IAAI","ignoreList":[1,2,3,4,5,6]}
1
+ {"version":3,"sources":["../../../../../blogkit-md-cli/node_modules/%40san-siva/blogkit/src/utils/index.ts","../../../../../blogkit-md-cli/node_modules/%40san-siva/blogkit/src/staticComponents/CalloutStatic.tsx","../../../../../blogkit-md-cli/node_modules/%40san-siva/blogkit/src/utils/lockScrollUpdates.ts","../../../../../blogkit-md-cli/node_modules/%40san-siva/blogkit/src/hooks/useCategoryTitles.ts","../../../../../blogkit-md-cli/node_modules/%40san-siva/blogkit/src/staticComponents/TocNodeStatic.tsx","../../../../../blogkit-md-cli/node_modules/%40san-siva/blogkit/src/hooks/useSectionObserver.ts","../../../../../blogkit-md-cli/node_modules/%40san-siva/blogkit/src/dynamicComponents/BlogDynamic.tsx"],"sourcesContent":["import { isValidElement } from 'react';\nimport type { ReactNode } from 'react';\n\nexport const extractTextFromReactNode = (node: ReactNode): string => {\n\tif (node === null || node === undefined || typeof node === 'boolean') return '';\n\tif (typeof node === 'string' || typeof node === 'number') return String(node);\n\tif (isValidElement(node)) return extractTextFromReactNode((node.props as { children?: ReactNode }).children);\n\tif (Array.isArray(node)) return node.map(extractTextFromReactNode).join('');\n\treturn '';\n};\n\nexport const generateIdForBlogTitle = (title: string) => title.toLowerCase().replace(/[^\\w\\d]/g, '-');\n\nexport const generateUrlForBlogTitle = (title: string) => encodeURIComponent(title.replace(/[^\\w]+/g, '-').toLowerCase());\n\nexport const generateSectionHref = (id: string) => `?section=${id}`;\n","import type { ReactNode } from 'react';\n\nimport styles from '../styles/Callout.module.scss';\n\ninterface CalloutProperties {\n\tchildren?: ReactNode;\n\ttype: 'info' | 'warning' | 'error' | 'success';\n\thasMarginUp?: boolean;\n\thasMarginDown?: boolean;\n}\n\nconst Callout = ({ children, type = 'info',\n\thasMarginUp = false,\n\thasMarginDown = false\n}: CalloutProperties) => {\n\tconst className = `${styles.callout} ${styles[`callout--${type}`]} ${\n\t\thasMarginUp ? styles['margin-top--1'] : ''\n\t} ${hasMarginDown ? styles['margin-bottom--2'] : ''}`;\n\treturn (\n\t\t<div className={className}>\n\t\t\t<div className={styles.callout__icon}/>\n\t\t\t<div className={styles.callout__wrapper}>{children}</div>\n\t\t</div>\n\t);\n};\n\nexport default Callout;\n","import type { MutableRefObject } from 'react';\n\nconst lockScrollUpdates = (\n\tid: string,\n\tisClickScrolling: MutableRefObject<boolean>,\n\tscrollEndHandlerRef: MutableRefObject<(() => void) | null>,\n\tsetVisibleTitle: (id: string) => void\n) => {\n\tif (scrollEndHandlerRef.current) {\n\t\tdocument.body.removeEventListener('scrollend', scrollEndHandlerRef.current);\n\t}\n\n\tisClickScrolling.current = true;\n\n\tscrollEndHandlerRef.current = () => {\n\t\tisClickScrolling.current = false;\n\t\tscrollEndHandlerRef.current = null;\n\t\tsetVisibleTitle(id);\n\t\tconst url = new URL(window.location.href);\n\t\turl.searchParams.set('section', id);\n\t\twindow.history.replaceState({}, '', url.toString());\n\t};\n\n\tdocument.body.addEventListener('scrollend', scrollEndHandlerRef.current, {\n\t\tonce: true,\n\t});\n};\n\nexport default lockScrollUpdates;\n","'use client';\n\nimport { useCallback, useEffect, useRef, useState } from 'react';\n\nimport type { Dispatch, SetStateAction } from 'react';\n\nimport type { ForwardedReference } from '../dynamicComponents/BlogDynamic';\n\nexport interface SectionReferenceValue {\n\tel: HTMLElement;\n\ttitle: string;\n\tdepth: number;\n}\n\nexport interface CategoryTitleValue extends SectionReferenceValue {\n\tlastUpdatedAt: number;\n}\n\nexport type CategoryTitle = Map<string, CategoryTitleValue>;\n\ninterface SectionReferenceEntry extends SectionReferenceValue {\n\tbaseId: string;\n}\n\ntype SectionReference = Map<HTMLElement, SectionReferenceEntry>;\n\ninterface Options {\n\tvisibleTitle: string | null;\n\tsetVisibleTitle: Dispatch<SetStateAction<string | null>>;\n\tsetShowTOC: Dispatch<SetStateAction<boolean>>;\n}\n\nexport function useCategoryTitles({\n\tvisibleTitle,\n\tsetVisibleTitle,\n\tsetShowTOC,\n}: Options) {\n\tconst sectionReferences = useRef<SectionReference>(new Map());\n\tconst [categoryTitles, setCategoryTitles] = useState<CategoryTitle>(\n\t\tnew Map()\n\t);\n\tconst updateTimerRef = useRef<ReturnType<typeof setTimeout> | null>(null);\n\n\tconst sortByDomPosition = useCallback(\n\t\t(\n\t\t\t[, a]: [HTMLElement, SectionReferenceEntry],\n\t\t\t[, b]: [HTMLElement, SectionReferenceEntry]\n\t\t) => {\n\t\t\tconst position = a.el.compareDocumentPosition(b.el);\n\t\t\tif (position & Node.DOCUMENT_POSITION_FOLLOWING) {\n\t\t\t\treturn -1;\n\t\t\t} else if (position & Node.DOCUMENT_POSITION_PRECEDING) {\n\t\t\t\treturn 1;\n\t\t\t}\n\t\t\treturn 0;\n\t\t},\n\t\t[]\n\t);\n\n\tconst updateCategoryTitles = useCallback(() => {\n\t\tconst now = Date.now();\n\t\tconst newCategoryTitles = new Map<string, CategoryTitleValue>();\n\n\t\tconst sectionsArray = Array.from(sectionReferences.current.entries());\n\t\tsectionsArray.sort(sortByDomPosition);\n\n\t\tlet firstSectionId: string | null = null;\n\t\tconst baseIdCounts = new Map<string, number>();\n\t\tfor (const [, { title, el, depth, baseId }] of sectionsArray) {\n\t\t\tconst occurrence = (baseIdCounts.get(baseId) ?? 0) + 1;\n\t\t\tbaseIdCounts.set(baseId, occurrence);\n\t\t\tconst id = occurrence === 1 ? baseId : `${baseId}-${occurrence}`;\n\n\t\t\tif (!firstSectionId) {\n\t\t\t\tfirstSectionId = id;\n\t\t\t}\n\t\t\tnewCategoryTitles.set(id, {\n\t\t\t\tel,\n\t\t\t\ttitle,\n\t\t\t\tlastUpdatedAt: now,\n\t\t\t\tdepth,\n\t\t\t});\n\t\t}\n\n\t\tif (newCategoryTitles.size === 0) return;\n\n\t\tsetCategoryTitles(newCategoryTitles);\n\t\tsetShowTOC(true);\n\n\t\tif (visibleTitle) return;\n\t\tsetVisibleTitle(firstSectionId);\n\t}, [visibleTitle, sortByDomPosition, setShowTOC, setVisibleTitle]);\n\n\tconst debounceUpdateCategoryTitles = useCallback(() => {\n\t\tif (updateTimerRef.current) {\n\t\t\tclearTimeout(updateTimerRef.current);\n\t\t}\n\t\tupdateTimerRef.current = setTimeout(() => {\n\t\t\tupdateCategoryTitles();\n\t\t}, 200);\n\t}, [updateCategoryTitles]);\n\n\tconst handleCategoryTitle = (ref: HTMLDivElement) => {\n\t\tconst baseId = ref.dataset.id;\n\t\tconst title = ref.dataset.title;\n\t\tif (!baseId || !title) return;\n\n\t\tlet depth = 0;\n\t\tlet parent = ref.parentElement;\n\t\twhile (parent) {\n\t\t\tif (parent.hasAttribute('data-id')) depth++;\n\t\t\tparent = parent.parentElement;\n\t\t}\n\n\t\tsectionReferences.current.set(ref, { el: ref, title, depth, baseId });\n\t};\n\n\tconst processSection = (element: ForwardedReference) => {\n\t\tconst { parentRef, childRefs } = element;\n\t\tif (parentRef) handleCategoryTitle(parentRef);\n\t\tif (Array.isArray(childRefs)) {\n\t\t\tfor (const childRef of childRefs) {\n\t\t\t\tprocessSection(childRef);\n\t\t\t}\n\t\t}\n\t};\n\n\tconst handleSectionReference = useCallback(\n\t\t(element: ForwardedReference) => {\n\t\t\tif (!element) return;\n\t\t\tprocessSection(element);\n\t\t\tdebounceUpdateCategoryTitles();\n\t\t},\n\t\t[debounceUpdateCategoryTitles]\n\t);\n\n\tuseEffect(() => {\n\t\treturn () => {\n\t\t\tif (updateTimerRef.current) {\n\t\t\t\tclearTimeout(updateTimerRef.current);\n\t\t\t}\n\t\t};\n\t}, []);\n\n\treturn { categoryTitles, handleSectionReference };\n}\n","import type { MouseEvent } from 'react';\n\nimport styles from '../styles/TocNode.module.scss';\n\nexport interface TocNode {\n\tid: string;\n\ttitle: string;\n\tdepth: number;\n\tchildren: TocNode[];\n}\n\nexport const containsId = (node: TocNode, id: string | null): boolean =>\n\tid !== null && (node.id === id || node.children.some(child => containsId(child, id)));\n\ninterface TocNodeProperties {\n\tnode: TocNode;\n\tindex: number;\n\tvisibleTitle: string | null;\n\tonClick: (e: MouseEvent<HTMLParagraphElement>) => void;\n\texpandOverrides?: Record<string, boolean>;\n\tonToggle?: (id: string, isExpanded: boolean) => void;\n\tshowToggleColumn?: boolean;\n}\n\nconst TocNode = ({\n\tnode,\n\tindex,\n\tvisibleTitle,\n\tonClick,\n\texpandOverrides = {},\n\tonToggle,\n\tshowToggleColumn = false,\n}: TocNodeProperties) => {\n\tconst hasChildren = node.children.length > 0;\n\tconst isCollapsible = hasChildren && onToggle !== undefined;\n\tconst isExpanded = isCollapsible\n\t\t? (expandOverrides[node.id] ?? containsId(node, visibleTitle))\n\t\t: true;\n\tconst childrenShowToggleColumn =\n\t\tonToggle !== undefined && node.children.some(child => child.children.length > 0);\n\n\treturn (\n\t\t<div>\n\t\t\t<div className={styles['toc-node__row']}>\n\t\t\t\t{isCollapsible && (\n\t\t\t\t\t<button\n\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\tclassName={`${styles['toc-node__toggle']} ${isExpanded ? styles['toc-node__toggle--expanded'] : ''}`}\n\t\t\t\t\t\taria-expanded={isExpanded}\n\t\t\t\t\t\taria-label={`${isExpanded ? 'Collapse' : 'Expand'} ${node.title}`}\n\t\t\t\t\t\tonClick={() => onToggle(node.id, isExpanded)}\n\t\t\t\t\t>\n\t\t\t\t\t\t<svg viewBox=\"0 0 24 24\" width=\"14\" height=\"14\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t<polyline\n\t\t\t\t\t\t\t\tpoints=\"9 6 15 12 9 18\"\n\t\t\t\t\t\t\t\tfill=\"none\"\n\t\t\t\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\t\t\t\tstrokeWidth=\"3\"\n\t\t\t\t\t\t\t\tstrokeLinecap=\"round\"\n\t\t\t\t\t\t\t\tstrokeLinejoin=\"round\"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</button>\n\t\t\t\t)}\n\t\t\t\t{showToggleColumn && !isCollapsible && (\n\t\t\t\t\t<span className={styles['toc-node__toggle-spacer']} aria-hidden=\"true\" />\n\t\t\t\t)}\n\t\t\t\t<p\n\t\t\t\t\tdata-idx={index}\n\t\t\t\t\tdata-id={node.id}\n\t\t\t\t\tclassName={[\n\t\t\t\t\t\tstyles['toc-node__title'],\n\t\t\t\t\t\tnode.id === visibleTitle ? styles['toc-node__title--active'] : '',\n\t\t\t\t\t].join(' ')}\n\t\t\t\t\tonClick={onClick}\n\t\t\t\t>\n\t\t\t\t\t{node.title}\n\t\t\t\t</p>\n\t\t\t</div>\n\t\t\t{hasChildren && isExpanded && (\n\t\t\t\t<div className={styles['toc-node__children']}>\n\t\t\t\t\t{node.children.map((child, i) => (\n\t\t\t\t\t\t<TocNode\n\t\t\t\t\t\t\tkey={`${node.id}-${child.id}`}\n\t\t\t\t\t\t\tnode={child}\n\t\t\t\t\t\t\tindex={i}\n\t\t\t\t\t\t\tvisibleTitle={visibleTitle}\n\t\t\t\t\t\t\tonClick={onClick}\n\t\t\t\t\t\t\texpandOverrides={expandOverrides}\n\t\t\t\t\t\t\tonToggle={onToggle}\n\t\t\t\t\t\t\tshowToggleColumn={childrenShowToggleColumn}\n\t\t\t\t\t\t/>\n\t\t\t\t\t))}\n\t\t\t\t</div>\n\t\t\t)}\n\t\t</div>\n\t);\n};\n\nexport default TocNode;\n","'use client';\n\nimport { useCallback, useEffect, useRef } from 'react';\n\nimport type { Dispatch, MouseEvent, SetStateAction } from 'react';\n\nimport lockScrollUpdates from '../utils/lockScrollUpdates';\nimport type { CategoryTitle } from './useCategoryTitles';\n\nconst getSectionFromUrl = () => {\n\tconst url = new URL(window.location.href);\n\treturn url.searchParams.get('section');\n};\n\nconst updateUrl = (id: string) => {\n\tconst url = new URL(window.location.href);\n\turl.searchParams.set('section', id);\n\twindow.history.replaceState({}, '', url.toString());\n};\n\nconst scrollIntoView = (element: HTMLElement) => {\n\tif (!element) return;\n\tconst top =\n\t\telement.getBoundingClientRect().top + document.body.scrollTop - 100;\n\tdocument.body.scrollTo({ top, behavior: 'smooth' });\n};\n\ninterface Options {\n\tcategoryTitles: CategoryTitle;\n\tsetVisibleTitle: Dispatch<SetStateAction<string | null>>;\n}\n\nexport function useSectionObserver({ categoryTitles, setVisibleTitle }: Options) {\n\tconst isClickScrolling = useRef(false);\n\tconst scrollEndHandlerRef = useRef<(() => void) | null>(null);\n\tconst intersectionObserversRef = useRef<Map<string, IntersectionObserver>>(\n\t\tnew Map()\n\t);\n\n\t// Set up IntersectionObservers whenever the set of sections changes\n\tuseEffect(() => {\n\t\tfor (const [id, { el }] of categoryTitles) {\n\t\t\tconst observer = new IntersectionObserver(\n\t\t\t\t([entry]) => {\n\t\t\t\t\tif (!entry.isIntersecting) return;\n\t\t\t\t\tif (isClickScrolling.current) return;\n\t\t\t\t\tif (document.body.scrollTop === 0) return;\n\t\t\t\t\tsetVisibleTitle(visibleId => {\n\t\t\t\t\t\tif (visibleId === id && !entry.isIntersecting) return null;\n\t\t\t\t\t\tif (entry.isIntersecting) return id;\n\t\t\t\t\t\treturn visibleId;\n\t\t\t\t\t});\n\t\t\t\t\tupdateUrl(id);\n\t\t\t\t},\n\t\t\t\t{ threshold: 0.1 }\n\t\t\t);\n\t\t\tintersectionObserversRef.current.set(id, observer);\n\t\t\tobserver.observe(el as HTMLElement);\n\t\t}\n\t}, [categoryTitles.size, setVisibleTitle]);\n\n\t// On initial load, scroll to section specified in URL\n\tuseEffect(() => {\n\t\tif (categoryTitles.size === 0) return;\n\t\tconst section = getSectionFromUrl();\n\t\tif (!section) return;\n\t\tconst entry = categoryTitles.get(section);\n\t\tif (!entry) return;\n\t\tscrollIntoView(entry.el);\n\t\tlockScrollUpdates(section, isClickScrolling, scrollEndHandlerRef, setVisibleTitle);\n\t}, [categoryTitles.size, setVisibleTitle]);\n\n\t// Cleanup observers on unmount\n\tuseEffect(() => {\n\t\treturn () => {\n\t\t\tif (scrollEndHandlerRef.current) {\n\t\t\t\tdocument.body.removeEventListener('scrollend', scrollEndHandlerRef.current);\n\t\t\t}\n\t\t\tfor (const observer of intersectionObserversRef.current.values()) {\n\t\t\t\tobserver.disconnect();\n\t\t\t}\n\t\t};\n\t}, []);\n\n\tconst handleClickCategoryTitle = useCallback(\n\t\t(event: MouseEvent<HTMLParagraphElement>) => {\n\t\t\tconst id = event.currentTarget.dataset.id;\n\t\t\tconst index = event.currentTarget.dataset.idx;\n\t\t\tif (!id || !index) return;\n\n\t\t\tconst { el } = categoryTitles.get(id) || {};\n\t\t\tif (!el) return;\n\n\t\t\tupdateUrl(id);\n\t\t\tscrollIntoView(el);\n\t\t\tlockScrollUpdates(id, isClickScrolling, scrollEndHandlerRef, setVisibleTitle);\n\t\t},\n\t\t[categoryTitles, setVisibleTitle]\n\t);\n\n\treturn { handleClickCategoryTitle };\n}\n","'use client';\n\nimport {\n\tChildren,\n\tcloneElement,\n\tisValidElement,\n\tuseState,\n} from 'react';\nimport { useSpring, animated, config } from '@react-spring/web';\n\nimport type { ReactNode, RefAttributes } from 'react';\nimport type { Thing, WithContext } from 'schema-dts';\n\nimport styles from '../styles/Blog.module.scss';\nimport { useCategoryTitles } from '../hooks/useCategoryTitles';\nimport { useSectionObserver } from '../hooks/useSectionObserver';\nimport type { CategoryTitleValue } from '../hooks/useCategoryTitles';\nimport TocNodeStatic from '../staticComponents/TocNodeStatic';\nimport type { TocNode } from '../staticComponents/TocNodeStatic';\n\ninterface BlogProperties {\n\tchildren: ReactNode;\n\ttitle?: string;\n\tjsonLd?: WithContext<Thing>;\n\tincreasedWidthMode?: boolean;\n}\n\nexport interface ForwardedReference {\n\tparentRef: HTMLDivElement;\n\tchildRefs: ForwardedReference[];\n}\n\nconst MAX_TOC_DEPTH = 2;\n\nconst buildTocTree = (entries: [string, CategoryTitleValue][]): TocNode[] => {\n\tconst roots: TocNode[] = [];\n\tconst stack: TocNode[] = [];\n\tfor (const [id, { title, depth }] of entries.filter(([, { depth }]) => depth <= MAX_TOC_DEPTH)) {\n\t\tconst node: TocNode = { id, title, depth, children: [] };\n\t\twhile (stack.length > 0 && stack[stack.length - 1].depth >= depth) {\n\t\t\tstack.pop();\n\t\t}\n\t\tif (stack.length === 0) {\n\t\t\troots.push(node);\n\t\t} else {\n\t\t\tstack[stack.length - 1].children.push(node);\n\t\t}\n\t\tstack.push(node);\n\t}\n\treturn roots;\n};\n\nconst Blog = ({\n\tchildren,\n\ttitle = 'In this article',\n\tjsonLd,\n\tincreasedWidthMode = false,\n}: BlogProperties) => {\n\tconst [visibleTitle, setVisibleTitle] = useState<string | null>(null);\n\tconst [showTOC, setShowTOC] = useState(false);\n\tconst [expandOverrides, setExpandOverrides] = useState<Record<string, boolean>>({});\n\n\tconst toggleExpanded = (id: string, isExpanded: boolean) =>\n\t\tsetExpandOverrides(overrides => ({ ...overrides, [id]: !isExpanded }));\n\n\tconst { categoryTitles, handleSectionReference } = useCategoryTitles({\n\t\tvisibleTitle,\n\t\tsetVisibleTitle,\n\t\tsetShowTOC,\n\t});\n\n\tconst { handleClickCategoryTitle } = useSectionObserver({\n\t\tcategoryTitles,\n\t\tsetVisibleTitle,\n\t});\n\n\tconst tocTree = buildTocTree([...categoryTitles]);\n\tconst hasCollapsibleRoot = tocTree.some(node => node.children.length > 0);\n\n\tconst sidebarStyle = useSpring({\n\t\topacity: showTOC ? 1 : 0,\n\t\ttransform: showTOC ? 'translateX(0)' : 'translateX(40px)',\n\t\tconfig: config.gentle,\n\t});\n\n\treturn (\n\t\t<div className={`${styles.blog} ${increasedWidthMode ? styles['blog--increased-width'] : ''}`}>\n\t\t\t{jsonLd && (\n\t\t\t\t<script\n\t\t\t\t\ttype=\"application/ld+json\"\n\t\t\t\t\tdangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }}\n\t\t\t\t/>\n\t\t\t)}\n\t\t\t<div className={styles['blog__content']}>\n\t\t\t\t{Children.map(children, child => {\n\t\t\t\t\tif (!isValidElement(child)) return child;\n\t\t\t\t\treturn cloneElement(child, {\n\t\t\t\t\t\tref: handleSectionReference,\n\t\t\t\t\t} as RefAttributes<ForwardedReference>);\n\t\t\t\t})}\n\t\t\t</div>\n\t\t\t<animated.div className={styles['blog__sidebar']} style={sidebarStyle}>\n\t\t\t\t<p\n\t\t\t\t\tclassName={`${styles['margin-bottom--3']} ${styles['category__header']}`}\n\t\t\t\t>\n\t\t\t\t\t{title}\n\t\t\t\t</p>\n\t\t\t\t{tocTree.map((node, i) => (\n\t\t\t\t\t<TocNodeStatic\n\t\t\t\t\t\tkey={node.id}\n\t\t\t\t\t\tnode={node}\n\t\t\t\t\t\tindex={i}\n\t\t\t\t\t\tvisibleTitle={visibleTitle}\n\t\t\t\t\t\tonClick={handleClickCategoryTitle}\n\t\t\t\t\t\texpandOverrides={expandOverrides}\n\t\t\t\t\t\tonToggle={toggleExpanded}\n\t\t\t\t\t\tshowToggleColumn={hasCollapsibleRoot}\n\t\t\t\t\t/>\n\t\t\t\t))}\n\t\t\t</animated.div>\n\t\t</div>\n\t);\n};\n\nexport default Blog;\n"],"names":["_jsxs","_jsx"],"mappings":"ivBAGO,IAAM,EAA4B,AAAD,GACvC,CADuD,KAAY,AAC/D,GAAuD,CAAnD,KAAK,GAAuD,CAAnD,AADmB,CACO,AAA2B,GAAjD,IAAI,AAAyB,EAA2B,EAAvB,AAAyB,CAAjD,AACV,QAAQ,CADW,CACnC,OAAO,GAAqC,CAAjC,OAAyC,EAAxB,AAA0B,OAAnB,EAA0B,EAAtB,IAA4B,CAAC,GACxE,CAD4E,AAC5E,CAD6E,CACzE,EAAA,cAAA,AAAc,EAAC,GAAc,CAAV,CAAoC,AAAnC,EAAwC,AAAtC,EAAqC,GAAmC,CAAC,QAAQ,CAAC,CACxG,IADqD,CAChD,CAAC,OAAO,CAAC,GAAc,CAAV,CAAC,AAAc,EAAD,AAAX,CAAe,CAAC,GAA0B,IAAI,CAAC,EAAE,CAAC,CACpE,EAAE,UADwD,CAAC,qDAI7B,AAAC,GAAkB,EAAM,AAAX,GAAU,QAAY,EAAE,CAAC,OAAO,CAAC,UAAU,CAAE,GAAG,0BAIjE,AAAC,EAAU,CAAK,CAAA,SAAA,EAAY,EAAE,CAAA,6BAF1B,AAAC,GAAkB,EAAL,gBAAuB,CAAC,EAAM,GAAD,IAAQ,CAAC,SAAS,CAAE,GAAG,CAAC,CAAC,WAAW,EAAE,s2UCFxG,CAAC,UAAE,CAAQ,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,KAAK,EAAE","ignoreList":[1,2,3,4,5,6]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../blogkit-md-cli/node_modules/%40san-siva/blogkit/dist/esm/dynamicComponents/BlogDynamic.js/__nextjs-internal-proxy.mjs","../../../../../blogkit-md-cli/node_modules/%40san-siva/blogkit/src/dynamicComponents/BlogDynamic.tsx"],"sourcesContent":["// This file is generated by next-core EcmascriptClientReferenceModule.\nimport { registerClientReference } from \"react-server-dom-turbopack/server\";\nexport default registerClientReference(\n function() { throw new Error(\"Attempted to call the default export of [project]/blogkit-md-cli/node_modules/@san-siva/blogkit/dist/esm/dynamicComponents/BlogDynamic.js from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/blogkit-md-cli/node_modules/@san-siva/blogkit/dist/esm/dynamicComponents/BlogDynamic.js\",\n \"default\",\n);\n","'use client';\n\nimport {\n\tChildren,\n\tcloneElement,\n\tisValidElement,\n\tuseState,\n} from 'react';\nimport { useSpring, animated, config } from '@react-spring/web';\n\nimport type { ReactNode, RefAttributes } from 'react';\nimport type { Thing, WithContext } from 'schema-dts';\n\nimport styles from '../styles/Blog.module.scss';\nimport { useCategoryTitles } from '../hooks/useCategoryTitles';\nimport { useSectionObserver } from '../hooks/useSectionObserver';\nimport type { CategoryTitleValue } from '../hooks/useCategoryTitles';\nimport TocNodeStatic from '../staticComponents/TocNodeStatic';\nimport type { TocNode } from '../staticComponents/TocNodeStatic';\n\ninterface BlogProperties {\n\tchildren: ReactNode;\n\ttitle?: string;\n\tjsonLd?: WithContext<Thing>;\n\tincreasedWidthMode?: boolean;\n}\n\nexport interface ForwardedReference {\n\tparentRef: HTMLDivElement;\n\tchildRefs: ForwardedReference[];\n}\n\nconst MAX_TOC_DEPTH = 2;\n\nconst buildTocTree = (entries: [string, CategoryTitleValue][]): TocNode[] => {\n\tconst roots: TocNode[] = [];\n\tconst stack: TocNode[] = [];\n\tfor (const [id, { title, depth }] of entries.filter(([, { depth }]) => depth <= MAX_TOC_DEPTH)) {\n\t\tconst node: TocNode = { id, title, depth, children: [] };\n\t\twhile (stack.length > 0 && stack[stack.length - 1].depth >= depth) {\n\t\t\tstack.pop();\n\t\t}\n\t\tif (stack.length === 0) {\n\t\t\troots.push(node);\n\t\t} else {\n\t\t\tstack[stack.length - 1].children.push(node);\n\t\t}\n\t\tstack.push(node);\n\t}\n\treturn roots;\n};\n\nconst Blog = ({\n\tchildren,\n\ttitle = 'In this article',\n\tjsonLd,\n\tincreasedWidthMode = false,\n}: BlogProperties) => {\n\tconst [visibleTitle, setVisibleTitle] = useState<string | null>(null);\n\tconst [showTOC, setShowTOC] = useState(false);\n\tconst [expandOverrides, setExpandOverrides] = useState<Record<string, boolean>>({});\n\n\tconst toggleExpanded = (id: string, isExpanded: boolean) =>\n\t\tsetExpandOverrides(overrides => ({ ...overrides, [id]: !isExpanded }));\n\n\tconst { categoryTitles, handleSectionReference } = useCategoryTitles({\n\t\tvisibleTitle,\n\t\tsetVisibleTitle,\n\t\tsetShowTOC,\n\t});\n\n\tconst { handleClickCategoryTitle } = useSectionObserver({\n\t\tcategoryTitles,\n\t\tsetVisibleTitle,\n\t});\n\n\tconst sidebarStyle = useSpring({\n\t\topacity: showTOC ? 1 : 0,\n\t\ttransform: showTOC ? 'translateX(0)' : 'translateX(40px)',\n\t\tconfig: config.gentle,\n\t});\n\n\treturn (\n\t\t<div className={`${styles.blog} ${increasedWidthMode ? styles['blog--increased-width'] : ''}`}>\n\t\t\t{jsonLd && (\n\t\t\t\t<script\n\t\t\t\t\ttype=\"application/ld+json\"\n\t\t\t\t\tdangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }}\n\t\t\t\t/>\n\t\t\t)}\n\t\t\t<div className={styles['blog__content']}>\n\t\t\t\t{Children.map(children, child => {\n\t\t\t\t\tif (!isValidElement(child)) return child;\n\t\t\t\t\treturn cloneElement(child, {\n\t\t\t\t\t\tref: handleSectionReference,\n\t\t\t\t\t} as RefAttributes<ForwardedReference>);\n\t\t\t\t})}\n\t\t\t</div>\n\t\t\t<animated.div className={styles['blog__sidebar']} style={sidebarStyle}>\n\t\t\t\t<p\n\t\t\t\t\tclassName={`${styles['margin-bottom--3']} ${styles['category__header']}`}\n\t\t\t\t>\n\t\t\t\t\t{title}\n\t\t\t\t</p>\n\t\t\t\t{buildTocTree([...categoryTitles]).map((node, i) => (\n\t\t\t\t\t<TocNodeStatic\n\t\t\t\t\t\tkey={node.id}\n\t\t\t\t\t\tnode={node}\n\t\t\t\t\t\tindex={i}\n\t\t\t\t\t\tvisibleTitle={visibleTitle}\n\t\t\t\t\t\tonClick={handleClickCategoryTitle}\n\t\t\t\t\t\texpandOverrides={expandOverrides}\n\t\t\t\t\t\tonToggle={toggleExpanded}\n\t\t\t\t\t\tshowToggleColumn\n\t\t\t\t\t/>\n\t\t\t\t))}\n\t\t\t</animated.div>\n\t\t</div>\n\t);\n};\n\nexport default Blog;\n"],"names":["Error","_jsxs","_jsx","TocNodeStatic"],"mappings":"oEAEe,CAAA,EAAA,AADf,EAAA,CAAA,CAAA,OACe,uBAAA,AAAuB,EAClC,WAAa,MAAM,AAAIA,MAAM,yVAA2V,EACxX,wHACA,gEAHW,CAAA,EADf,AACe,EADf,CAAA,CAAA,OACe,uBAAA,AAAuB,EAClC,WAAa,MAAM,AAAIA,MAAM,qUAAuU,EACpW,oGACA","ignoreList":[0]}
1
+ {"version":3,"sources":["../../../../../blogkit-md-cli/node_modules/%40san-siva/blogkit/dist/esm/dynamicComponents/BlogDynamic.js/__nextjs-internal-proxy.mjs","../../../../../blogkit-md-cli/node_modules/%40san-siva/blogkit/src/dynamicComponents/BlogDynamic.tsx"],"sourcesContent":["// This file is generated by next-core EcmascriptClientReferenceModule.\nimport { registerClientReference } from \"react-server-dom-turbopack/server\";\nexport default registerClientReference(\n function() { throw new Error(\"Attempted to call the default export of [project]/blogkit-md-cli/node_modules/@san-siva/blogkit/dist/esm/dynamicComponents/BlogDynamic.js from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/blogkit-md-cli/node_modules/@san-siva/blogkit/dist/esm/dynamicComponents/BlogDynamic.js\",\n \"default\",\n);\n","'use client';\n\nimport {\n\tChildren,\n\tcloneElement,\n\tisValidElement,\n\tuseState,\n} from 'react';\nimport { useSpring, animated, config } from '@react-spring/web';\n\nimport type { ReactNode, RefAttributes } from 'react';\nimport type { Thing, WithContext } from 'schema-dts';\n\nimport styles from '../styles/Blog.module.scss';\nimport { useCategoryTitles } from '../hooks/useCategoryTitles';\nimport { useSectionObserver } from '../hooks/useSectionObserver';\nimport type { CategoryTitleValue } from '../hooks/useCategoryTitles';\nimport TocNodeStatic from '../staticComponents/TocNodeStatic';\nimport type { TocNode } from '../staticComponents/TocNodeStatic';\n\ninterface BlogProperties {\n\tchildren: ReactNode;\n\ttitle?: string;\n\tjsonLd?: WithContext<Thing>;\n\tincreasedWidthMode?: boolean;\n}\n\nexport interface ForwardedReference {\n\tparentRef: HTMLDivElement;\n\tchildRefs: ForwardedReference[];\n}\n\nconst MAX_TOC_DEPTH = 2;\n\nconst buildTocTree = (entries: [string, CategoryTitleValue][]): TocNode[] => {\n\tconst roots: TocNode[] = [];\n\tconst stack: TocNode[] = [];\n\tfor (const [id, { title, depth }] of entries.filter(([, { depth }]) => depth <= MAX_TOC_DEPTH)) {\n\t\tconst node: TocNode = { id, title, depth, children: [] };\n\t\twhile (stack.length > 0 && stack[stack.length - 1].depth >= depth) {\n\t\t\tstack.pop();\n\t\t}\n\t\tif (stack.length === 0) {\n\t\t\troots.push(node);\n\t\t} else {\n\t\t\tstack[stack.length - 1].children.push(node);\n\t\t}\n\t\tstack.push(node);\n\t}\n\treturn roots;\n};\n\nconst Blog = ({\n\tchildren,\n\ttitle = 'In this article',\n\tjsonLd,\n\tincreasedWidthMode = false,\n}: BlogProperties) => {\n\tconst [visibleTitle, setVisibleTitle] = useState<string | null>(null);\n\tconst [showTOC, setShowTOC] = useState(false);\n\tconst [expandOverrides, setExpandOverrides] = useState<Record<string, boolean>>({});\n\n\tconst toggleExpanded = (id: string, isExpanded: boolean) =>\n\t\tsetExpandOverrides(overrides => ({ ...overrides, [id]: !isExpanded }));\n\n\tconst { categoryTitles, handleSectionReference } = useCategoryTitles({\n\t\tvisibleTitle,\n\t\tsetVisibleTitle,\n\t\tsetShowTOC,\n\t});\n\n\tconst { handleClickCategoryTitle } = useSectionObserver({\n\t\tcategoryTitles,\n\t\tsetVisibleTitle,\n\t});\n\n\tconst tocTree = buildTocTree([...categoryTitles]);\n\tconst hasCollapsibleRoot = tocTree.some(node => node.children.length > 0);\n\n\tconst sidebarStyle = useSpring({\n\t\topacity: showTOC ? 1 : 0,\n\t\ttransform: showTOC ? 'translateX(0)' : 'translateX(40px)',\n\t\tconfig: config.gentle,\n\t});\n\n\treturn (\n\t\t<div className={`${styles.blog} ${increasedWidthMode ? styles['blog--increased-width'] : ''}`}>\n\t\t\t{jsonLd && (\n\t\t\t\t<script\n\t\t\t\t\ttype=\"application/ld+json\"\n\t\t\t\t\tdangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }}\n\t\t\t\t/>\n\t\t\t)}\n\t\t\t<div className={styles['blog__content']}>\n\t\t\t\t{Children.map(children, child => {\n\t\t\t\t\tif (!isValidElement(child)) return child;\n\t\t\t\t\treturn cloneElement(child, {\n\t\t\t\t\t\tref: handleSectionReference,\n\t\t\t\t\t} as RefAttributes<ForwardedReference>);\n\t\t\t\t})}\n\t\t\t</div>\n\t\t\t<animated.div className={styles['blog__sidebar']} style={sidebarStyle}>\n\t\t\t\t<p\n\t\t\t\t\tclassName={`${styles['margin-bottom--3']} ${styles['category__header']}`}\n\t\t\t\t>\n\t\t\t\t\t{title}\n\t\t\t\t</p>\n\t\t\t\t{tocTree.map((node, i) => (\n\t\t\t\t\t<TocNodeStatic\n\t\t\t\t\t\tkey={node.id}\n\t\t\t\t\t\tnode={node}\n\t\t\t\t\t\tindex={i}\n\t\t\t\t\t\tvisibleTitle={visibleTitle}\n\t\t\t\t\t\tonClick={handleClickCategoryTitle}\n\t\t\t\t\t\texpandOverrides={expandOverrides}\n\t\t\t\t\t\tonToggle={toggleExpanded}\n\t\t\t\t\t\tshowToggleColumn={hasCollapsibleRoot}\n\t\t\t\t\t/>\n\t\t\t\t))}\n\t\t\t</animated.div>\n\t\t</div>\n\t);\n};\n\nexport default Blog;\n"],"names":["Error","_jsxs","_jsx","TocNodeStatic"],"mappings":"oEAEe,CAAA,EAAA,AADf,EAAA,CAAA,CAAA,OACe,uBAAA,AAAuB,EAClC,WAAa,MAAM,AAAIA,MAAM,yVAA2V,EACxX,wHACA,gEAHW,CAAA,EADf,AACe,EADf,CAAA,CAAA,OACe,uBAAA,AAAuB,EAClC,WAAa,MAAM,AAAIA,MAAM,qUAAuU,EACpW,oGACA","ignoreList":[0]}
@@ -7,9 +7,9 @@ globalThis.__BUILD_MANIFEST = {
7
7
  "static/chunks/03~yq9q893hmn.js"
8
8
  ],
9
9
  "lowPriorityFiles": [
10
- "static/43OQHcd1WIO8TJAGTwApq/_buildManifest.js",
11
- "static/43OQHcd1WIO8TJAGTwApq/_ssgManifest.js",
12
- "static/43OQHcd1WIO8TJAGTwApq/_clientMiddlewareManifest.js"
10
+ "static/LVWj-x2cpfBngvi5HxKDM/_buildManifest.js",
11
+ "static/LVWj-x2cpfBngvi5HxKDM/_ssgManifest.js",
12
+ "static/LVWj-x2cpfBngvi5HxKDM/_clientMiddlewareManifest.js"
13
13
  ],
14
14
  "rootMainFiles": [
15
15
  "static/chunks/0a3~v8.fr5s~h.js",
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/0oq_l8ujvc.66.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/chunks/02trc.wuz4rqp.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/chunks/08e1-jdibnfcw.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/0a3~v8.fr5s~h.js"/><script src="/_next/static/chunks/0wsr1ho8680~b.js" async=""></script><script src="/_next/static/chunks/0-s.dov3f~~64.js" async=""></script><script src="/_next/static/chunks/turbopack-0j3n9m5su.2sh.js" async=""></script><script src="/_next/static/chunks/0w36t7s5nithc.js" async=""></script><script src="/_next/static/chunks/0jj4o6ea52kso.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><title>Blogkit MD</title><meta name="description" content="Markdown to JSX blog post renderer"/><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body class="montserrat_c49d9150-module__aVn7oG__variable rubik_787fec0e-module__sKqW3G__variable jetbrains_mono_c517f354-module__6_1Cwa__variable"><div hidden=""><!--$--><!--/$--></div><div class="index-module-scss-module__gyIoma__page index-module-scss-module__gyIoma__page--no-max-width"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--></div><script src="/_next/static/chunks/0a3~v8.fr5s~h.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[48292,[\"/_next/static/chunks/0w36t7s5nithc.js\",\"/_next/static/chunks/0jj4o6ea52kso.js\"],\"default\"]\n3:I[38289,[\"/_next/static/chunks/0w36t7s5nithc.js\",\"/_next/static/chunks/0jj4o6ea52kso.js\"],\"default\"]\n4:I[30580,[\"/_next/static/chunks/0w36t7s5nithc.js\",\"/_next/static/chunks/0jj4o6ea52kso.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[30580,[\"/_next/static/chunks/0w36t7s5nithc.js\",\"/_next/static/chunks/0jj4o6ea52kso.js\"],\"ViewportBoundary\"]\na:I[30580,[\"/_next/static/chunks/0w36t7s5nithc.js\",\"/_next/static/chunks/0jj4o6ea52kso.js\"],\"MetadataBoundary\"]\nc:I[46339,[\"/_next/static/chunks/0w36t7s5nithc.js\",\"/_next/static/chunks/0jj4o6ea52kso.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/0oq_l8ujvc.66.css\",\"style\"]\n:HL[\"/_next/static/chunks/02trc.wuz4rqp.css\",\"style\"]\n:HL[\"/_next/static/chunks/08e1-jdibnfcw.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0oq_l8ujvc.66.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/02trc.wuz4rqp.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/08e1-jdibnfcw.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0w36t7s5nithc.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/0jj4o6ea52kso.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"montserrat_c49d9150-module__aVn7oG__variable rubik_787fec0e-module__sKqW3G__variable jetbrains_mono_c517f354-module__6_1Cwa__variable\",\"children\":[\"$\",\"div\",null,{\"className\":\"index-module-scss-module__gyIoma__page index-module-scss-module__gyIoma__page--no-max-width\",\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0oq_l8ujvc.66.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/02trc.wuz4rqp.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/08e1-jdibnfcw.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"43OQHcd1WIO8TJAGTwApq\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\nb:[[\"$\",\"title\",\"0\",{\"children\":\"Blogkit MD\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Markdown to JSX blog post renderer\"}]]\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/014z51ydhtkay.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/chunks/0yb1whmdpnp.k.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/chunks/08e1-jdibnfcw.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/0a3~v8.fr5s~h.js"/><script src="/_next/static/chunks/0wsr1ho8680~b.js" async=""></script><script src="/_next/static/chunks/0-s.dov3f~~64.js" async=""></script><script src="/_next/static/chunks/turbopack-0j3n9m5su.2sh.js" async=""></script><script src="/_next/static/chunks/0w36t7s5nithc.js" async=""></script><script src="/_next/static/chunks/0jj4o6ea52kso.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><title>Blogkit MD</title><meta name="description" content="Markdown to JSX blog post renderer"/><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body class="montserrat_c49d9150-module__aVn7oG__variable rubik_787fec0e-module__sKqW3G__variable jetbrains_mono_c517f354-module__6_1Cwa__variable"><div hidden=""><!--$--><!--/$--></div><div class="index-module-scss-module__gyIoma__page index-module-scss-module__gyIoma__page--no-max-width"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--></div><script src="/_next/static/chunks/0a3~v8.fr5s~h.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[48292,[\"/_next/static/chunks/0w36t7s5nithc.js\",\"/_next/static/chunks/0jj4o6ea52kso.js\"],\"default\"]\n3:I[38289,[\"/_next/static/chunks/0w36t7s5nithc.js\",\"/_next/static/chunks/0jj4o6ea52kso.js\"],\"default\"]\n4:I[30580,[\"/_next/static/chunks/0w36t7s5nithc.js\",\"/_next/static/chunks/0jj4o6ea52kso.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[30580,[\"/_next/static/chunks/0w36t7s5nithc.js\",\"/_next/static/chunks/0jj4o6ea52kso.js\"],\"ViewportBoundary\"]\na:I[30580,[\"/_next/static/chunks/0w36t7s5nithc.js\",\"/_next/static/chunks/0jj4o6ea52kso.js\"],\"MetadataBoundary\"]\nc:I[46339,[\"/_next/static/chunks/0w36t7s5nithc.js\",\"/_next/static/chunks/0jj4o6ea52kso.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/014z51ydhtkay.css\",\"style\"]\n:HL[\"/_next/static/chunks/0yb1whmdpnp.k.css\",\"style\"]\n:HL[\"/_next/static/chunks/08e1-jdibnfcw.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/014z51ydhtkay.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0yb1whmdpnp.k.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/08e1-jdibnfcw.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0w36t7s5nithc.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/0jj4o6ea52kso.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"montserrat_c49d9150-module__aVn7oG__variable rubik_787fec0e-module__sKqW3G__variable jetbrains_mono_c517f354-module__6_1Cwa__variable\",\"children\":[\"$\",\"div\",null,{\"className\":\"index-module-scss-module__gyIoma__page index-module-scss-module__gyIoma__page--no-max-width\",\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/014z51ydhtkay.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0yb1whmdpnp.k.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/08e1-jdibnfcw.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"LVWj-x2cpfBngvi5HxKDM\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\nb:[[\"$\",\"title\",\"0\",{\"children\":\"Blogkit MD\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Markdown to JSX blog post renderer\"}]]\n"])</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/0a3~v8.fr5s~h.js"/><script src="/_next/static/chunks/0wsr1ho8680~b.js" async=""></script><script src="/_next/static/chunks/0-s.dov3f~~64.js" async=""></script><script src="/_next/static/chunks/turbopack-0j3n9m5su.2sh.js" async=""></script><script src="/_next/static/chunks/0w36t7s5nithc.js" async=""></script><script src="/_next/static/chunks/0jj4o6ea52kso.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/0a3~v8.fr5s~h.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[48292,[\"/_next/static/chunks/0w36t7s5nithc.js\",\"/_next/static/chunks/0jj4o6ea52kso.js\"],\"default\"]\n3:I[38289,[\"/_next/static/chunks/0w36t7s5nithc.js\",\"/_next/static/chunks/0jj4o6ea52kso.js\"],\"default\"]\n4:I[30580,[\"/_next/static/chunks/0w36t7s5nithc.js\",\"/_next/static/chunks/0jj4o6ea52kso.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[30580,[\"/_next/static/chunks/0w36t7s5nithc.js\",\"/_next/static/chunks/0jj4o6ea52kso.js\"],\"ViewportBoundary\"]\na:I[30580,[\"/_next/static/chunks/0w36t7s5nithc.js\",\"/_next/static/chunks/0jj4o6ea52kso.js\"],\"MetadataBoundary\"]\nc:I[46339,[\"/_next/static/chunks/0w36t7s5nithc.js\",\"/_next/static/chunks/0jj4o6ea52kso.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"43OQHcd1WIO8TJAGTwApq\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\nb:[]\n"])</script></body></html>
1
+ <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/0a3~v8.fr5s~h.js"/><script src="/_next/static/chunks/0wsr1ho8680~b.js" async=""></script><script src="/_next/static/chunks/0-s.dov3f~~64.js" async=""></script><script src="/_next/static/chunks/turbopack-0j3n9m5su.2sh.js" async=""></script><script src="/_next/static/chunks/0w36t7s5nithc.js" async=""></script><script src="/_next/static/chunks/0jj4o6ea52kso.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/0a3~v8.fr5s~h.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[48292,[\"/_next/static/chunks/0w36t7s5nithc.js\",\"/_next/static/chunks/0jj4o6ea52kso.js\"],\"default\"]\n3:I[38289,[\"/_next/static/chunks/0w36t7s5nithc.js\",\"/_next/static/chunks/0jj4o6ea52kso.js\"],\"default\"]\n4:I[30580,[\"/_next/static/chunks/0w36t7s5nithc.js\",\"/_next/static/chunks/0jj4o6ea52kso.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[30580,[\"/_next/static/chunks/0w36t7s5nithc.js\",\"/_next/static/chunks/0jj4o6ea52kso.js\"],\"ViewportBoundary\"]\na:I[30580,[\"/_next/static/chunks/0w36t7s5nithc.js\",\"/_next/static/chunks/0jj4o6ea52kso.js\"],\"MetadataBoundary\"]\nc:I[46339,[\"/_next/static/chunks/0w36t7s5nithc.js\",\"/_next/static/chunks/0jj4o6ea52kso.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"LVWj-x2cpfBngvi5HxKDM\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\nb:[]\n"])</script></body></html>
@@ -1 +1 @@
1
- self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"jfWqSMVxeSXSj1acQ1g9EKt6vCfQBqTHhjw0xcj+hsw=\"\n}"
1
+ self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"RqOG+HC+O3tzkX5posyQvQHyghC99MpedfNvKTGGFR0=\"\n}"
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "node": {},
3
3
  "edge": {},
4
- "encryptionKey": "jfWqSMVxeSXSj1acQ1g9EKt6vCfQBqTHhjw0xcj+hsw="
4
+ "encryptionKey": "RqOG+HC+O3tzkX5posyQvQHyghC99MpedfNvKTGGFR0="
5
5
  }