const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../chunks/191119-microphone-technique.Cc5jPGa2.js","../chunks/disclose-version.Bg9kRutz.js","../chunks/runtime.Timy72i3.js","../chunks/template.yWk7hgrK.js","../chunks/200119-tablets.BVWAaG6G.js","../chunks/200410-citation-managers.D8xIUQjz.js","../chunks/210216-clustering-algorithms-gaia.JfxpQcyG.js","../chunks/230324-gaia-cluster-catalogue.CqEkibnl.js","../chunks/230824-bluesky-signup.CVlrJATT.js","../chunks/231127-patzer-award.DhyAD6ez.js","../chunks/240311-gaia-cluster-masses.Bo0jjBBd.js","../chunks/240820-pyenv.C2jg6QIl.js","../chunks/html.D9LrJ4MO.js","../chunks/test-post.AdlF_ID9.js"])))=>i.map(i=>d[i]); import{_ as a}from"../chunks/preload-helper.C1FmrZbK.js";import"../chunks/disclose-version.Bg9kRutz.js";import{e as M,t as h,g as j,s as d,i as n,r as m,f as q,T as D}from"../chunks/runtime.Timy72i3.js";import{s as O}from"../chunks/render.BgGXR1Qj.js";import{i as y}from"../chunks/if.CVlJASM3.js";import{e as U,i as z}from"../chunks/each.C6Vczh1y.js";import{a as _,t as b,d as C}from"../chunks/template.yWk7hgrK.js";import{a as S,s as B}from"../chunks/attributes.DLwrJmCH.js";import{I as H}from"../chunks/Image.BD4c8D3_.js";import{f as R}from"../chunks/dates.DNWkk-Jp.js";const N=(s,t,e)=>{const r=s[t];return r?typeof r=="function"?r():Promise.resolve(r):new Promise((l,i)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(i.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==e?". Note that variables only represent file names one level deep.":""))))})};async function F({params:s}){const t=await N(Object.assign({"../191119-microphone-technique.md":()=>a(()=>import("../chunks/191119-microphone-technique.Cc5jPGa2.js"),__vite__mapDeps([0,1,2,3]),import.meta.url),"../200119-tablets.md":()=>a(()=>import("../chunks/200119-tablets.BVWAaG6G.js"),__vite__mapDeps([4,1,2,3]),import.meta.url),"../200410-citation-managers.md":()=>a(()=>import("../chunks/200410-citation-managers.D8xIUQjz.js"),__vite__mapDeps([5,1,2,3]),import.meta.url),"../210216-clustering-algorithms-gaia.md":()=>a(()=>import("../chunks/210216-clustering-algorithms-gaia.JfxpQcyG.js"),__vite__mapDeps([6,1,2,3]),import.meta.url),"../230324-gaia-cluster-catalogue.md":()=>a(()=>import("../chunks/230324-gaia-cluster-catalogue.CqEkibnl.js"),__vite__mapDeps([7,1,2,3]),import.meta.url),"../230824-bluesky-signup.md":()=>a(()=>import("../chunks/230824-bluesky-signup.CVlrJATT.js"),__vite__mapDeps([8,1,2,3]),import.meta.url),"../231127-patzer-award.md":()=>a(()=>import("../chunks/231127-patzer-award.DhyAD6ez.js"),__vite__mapDeps([9,1,2,3]),import.meta.url),"../240311-gaia-cluster-masses.md":()=>a(()=>import("../chunks/240311-gaia-cluster-masses.Bo0jjBBd.js"),__vite__mapDeps([10,1,2,3]),import.meta.url),"../240820-pyenv.md":()=>a(()=>import("../chunks/240820-pyenv.C2jg6QIl.js"),__vite__mapDeps([11,1,2,3,12]),import.meta.url),"../test-post.md":()=>a(()=>import("../chunks/test-post.AdlF_ID9.js"),__vite__mapDeps([13,1,2,3,12]),import.meta.url)}),`../${s.slug}.md`,2);return{content:t.default,metadata:t.metadata,pageMeta:{title:t.metadata.title+" - Blog",description:t.metadata.description,keywords:t.metadata.categories,image:t.metadata.image}}}const it=Object.freeze(Object.defineProperty({__proto__:null,load:F},Symbol.toStringTag,{value:"Module"}));var G=b('<div class="header-image svelte-84npd5"><!></div>'),J=b("<!> <a> </a>",1),K=b('<article><!> <div class="info svelte-84npd5"><h1 class="heading svelte-84npd5"> </h1> <p class="category svelte-84npd5"></p> <p class="date svelte-84npd5"></p></div> <!></article>');function ot(s,t){M(t,!0);const e=t.data.metadata;let r="Date undefined";e.date&&(r=R(e.date),e.updated&&(r+=` | Updated: ${R(e.updated)}`));let l=["Uncategorised"];t.data.metadata.categories&&(l=t.data.metadata.categories);let i=Math.max(Math.round(e.readingTime.minutes),1);i=i===1?"1 minute":`${i} minutes`;var p=K(),T=n(p);y(T,()=>e.image!==void 0,g=>{var o=G(),f=n(o);H(f,{get src(){return e.image},alt:"Article header image.",style:"margin: auto; width: min(600px, 90vw); height: 250px; object-fit: cover; object-position: 50%"}),m(o),_(g,o)});var u=d(T,2),c=n(u),x=n(c);m(c);var v=d(c,2);U(v,21,()=>l,z,(g,o,f)=>{var I=J(),P=q(I);y(P,()=>f!==0,w=>{var k=C(",");_(w,k)});var E=d(P,2);h(()=>B(E,"href",`/blog/${D(o).toLowerCase()??""}`));var V=n(E);m(E),h(()=>O(V,D(o))),_(g,I)}),m(v);var A=d(v,2);A.textContent=`${r??""} | Reading time: ${i??""}`,m(u);var L=d(u,2);S(L,()=>t.data.content),m(p),h(()=>O(x,e.title)),_(s,p),j()}export{ot as component,it as universal};