-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path1502.16006e39.chunk.js
More file actions
1 lines (1 loc) · 22.5 KB
/
1502.16006e39.chunk.js
File metadata and controls
1 lines (1 loc) · 22.5 KB
1
"use strict";(self.webpackChunkfezcodex=self.webpackChunkfezcodex||[]).push([[1502],{2325(e,t,a){a.d(t,{A:()=>o});a(9950);var s=a(18905),l=a(34272),r=a(27387),n=a(3364),i=a(44414);const o=e=>{let{post:t,isActive:a,onHover:o=()=>{}}=e;const{slug:c,title:d,date:m,category:x,series:p,seriesIndex:h,isSeries:g}=t,u=new Date(m).toLocaleDateString("en-GB",{day:"2-digit",month:"2-digit",year:"2-digit"}),A="dev"===x?"var(--color-dev-badge)":"series"===x?"var(--color-series-badge)":"d&d"===x||"dnd"===x?"var(--color-dnd-badge)":"gist"===x?"var(--color-gist-badge)":"feat"===x?"var(--color-feat-badge)":"ai"===x?"var(--color-ai-badge)":"var(--color-rant-badge)",f="dev"===x?"rgba(59, 130, 246, 0.3)":"series"===x?"rgba(237, 197, 49, 0.3)":"d&d"===x||"dnd"===x?"rgba(236, 72, 153, 0.3)":"gist"===x?"rgba(245, 158, 11, 0.3)":"feat"===x?"rgba(168, 85, 247, 0.3)":"ai"===x?"rgba(132, 204, 22, 0.2)":"rgba(16, 185, 129, 0.2)";return(0,i.jsx)(l.P.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},onMouseEnter:()=>o(t),className:"relative mr-4 md:mr-12",children:(0,i.jsxs)(s.N_,{to:g?"/blog/series/".concat(c):"/blog/".concat(c),className:"group relative flex items-center justify-between border-b border-white/10 py-6 pr-20 transition-all duration-300",children:[(0,i.jsx)("div",{className:"absolute left-0 top-0 h-full w-1 transition-all duration-300 ".concat(a?"opacity-100":"opacity-0"),style:{backgroundColor:A||"var(--emerald-400)"}}),(0,i.jsxs)("div",{className:"flex flex-1 items-center gap-6 pl-4 md:pl-8 min-w-0 pr-12",children:[(0,i.jsx)("span",{className:"font-mono text-[10px] tracking-widest flex-shrink-0 transition-colors duration-300 ".concat(a?"text-emerald-400":"text-gray-600"),children:u}),(0,i.jsxs)("div",{className:"flex items-center gap-3 min-w-0 flex-1",children:[g&&(0,i.jsx)(n.sj,{size:24,weight:"fill",className:"shrink-0",style:{color:A}}),(0,i.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,i.jsx)("h3",{className:"text-xl font-medium uppercase tracking-tight transition-all duration-300 md:text-2xl break-words leading-tight ".concat(a?"translate-x-1 text-white":"text-gray-500 group-hover:text-gray-300"),children:d}),p&&(0,i.jsxs)("span",{className:"font-mono text-[9px] uppercase tracking-[0.2em] text-emerald-500/60",children:["object"===typeof p?p.title:p," ","//"," ","Part ",h]})]})]})]}),(0,i.jsxs)("div",{className:"flex items-center gap-4 flex-shrink-0",children:[(0,i.jsx)("span",{className:"px-2 py-0.5 text-[9px] font-mono font-bold uppercase tracking-widest border rounded-sm transition-all duration-300 text-gray-300",style:{borderColor:A,backgroundColor:f},children:x||"Post"}),(0,i.jsx)("div",{className:"w-10 flex justify-end",children:(0,i.jsx)(r.f,{weight:"bold",size:20,className:"transition-all duration-300 ".concat(a?"translate-x-0 opacity-100":"-translate-x-4 opacity-0 text-gray-500"),style:{color:a?A:void 0}})})]})]})})}},3364(e,t,a){a.d(t,{sj:()=>i,vd:()=>o});var s=a(89379),l=a(9950),r=a(35507),n=a(43196);const i=l.forwardRef((e,t)=>l.createElement(r.A,(0,s.A)((0,s.A)({ref:t},e),{},{weights:n.A})));i.displayName="FolderIcon";const o=i},37294(e,t,a){a.d(t,{C:()=>i,V:()=>o});var s=a(89379),l=a(9950),r=a(35507),n=a(81926);const i=l.forwardRef((e,t)=>l.createElement(r.A,(0,s.A)((0,s.A)({ref:t},e),{},{weights:n.A})));i.displayName="CalendarIcon";const o=i},42790(e,t,a){a.d(t,{A:()=>l});var s=a(9950);const l=new Map([["bold",s.createElement(s.Fragment,null,s.createElement("path",{d:"M246.15,133.18,146.83,33.86A19.85,19.85,0,0,0,132.69,28H40A12,12,0,0,0,28,40v92.69a19.85,19.85,0,0,0,5.86,14.14l99.32,99.32a20,20,0,0,0,28.28,0l84.69-84.69A20,20,0,0,0,246.15,133.18Zm-98.83,93.17L52,131V52h79l95.32,95.32ZM104,88A16,16,0,1,1,88,72,16,16,0,0,1,104,88Z"}))],["duotone",s.createElement(s.Fragment,null,s.createElement("path",{d:"M237.66,153,153,237.66a8,8,0,0,1-11.31,0L42.34,138.34A8,8,0,0,1,40,132.69V40h92.69a8,8,0,0,1,5.65,2.34l99.32,99.32A8,8,0,0,1,237.66,153Z",opacity:"0.2"}),s.createElement("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63Zm-96,96L48,132.69V48h84.69L232,147.31ZM96,84A12,12,0,1,1,84,72,12,12,0,0,1,96,84Z"}))],["fill",s.createElement(s.Fragment,null,s.createElement("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63ZM84,96A12,12,0,1,1,96,84,12,12,0,0,1,84,96Z"}))],["light",s.createElement(s.Fragment,null,s.createElement("path",{d:"M241.91,137.42,142.59,38.1a13.94,13.94,0,0,0-9.9-4.1H40a6,6,0,0,0-6,6v92.69a13.94,13.94,0,0,0,4.1,9.9l99.32,99.32a14,14,0,0,0,19.8,0l84.69-84.69A14,14,0,0,0,241.91,137.42Zm-8.49,11.31-84.69,84.69a2,2,0,0,1-2.83,0L46.59,134.1a2,2,0,0,1-.59-1.41V46h86.69a2,2,0,0,1,1.41.59l99.32,99.31A2,2,0,0,1,233.42,148.73ZM94,84A10,10,0,1,1,84,74,10,10,0,0,1,94,84Z"}))],["regular",s.createElement(s.Fragment,null,s.createElement("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63Zm-96,96L48,132.69V48h84.69L232,147.31ZM96,84A12,12,0,1,1,84,72,12,12,0,0,1,96,84Z"}))],["thin",s.createElement(s.Fragment,null,s.createElement("path",{d:"M240.49,138.83,141.17,39.51A11.93,11.93,0,0,0,132.69,36H40a4,4,0,0,0-4,4v92.69a11.93,11.93,0,0,0,3.51,8.48l99.32,99.32a12,12,0,0,0,17,0l84.69-84.69a12,12,0,0,0,0-17Zm-5.66,11.31-84.69,84.69a4,4,0,0,1-5.65,0L45.17,135.51A4,4,0,0,1,44,132.69V44h88.69a4,4,0,0,1,2.82,1.17l99.32,99.32A4,4,0,0,1,234.83,150.14ZM92,84a8,8,0,1,1-8-8A8,8,0,0,1,92,84Z"}))]])},43196(e,t,a){a.d(t,{A:()=>l});var s=a(9950);const l=new Map([["bold",s.createElement(s.Fragment,null,s.createElement("path",{d:"M216,68H133.39l-26-29.29a20,20,0,0,0-15-6.71H40A20,20,0,0,0,20,52V200.62A19.41,19.41,0,0,0,39.38,220H216.89A19.13,19.13,0,0,0,236,200.89V88A20,20,0,0,0,216,68ZM44,56H90.61l10.67,12H44ZM212,196H44V92H212Z"}))],["duotone",s.createElement(s.Fragment,null,s.createElement("path",{d:"M128,80H32V56a8,8,0,0,1,8-8H92.69a8,8,0,0,1,5.65,2.34Z",opacity:"0.2"}),s.createElement("path",{d:"M216,72H131.31L104,44.69A15.86,15.86,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.4,15.4,0,0,0,39.38,216H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM92.69,56l16,16H40V56ZM216,200H40V88H216Z"}))],["fill",s.createElement(s.Fragment,null,s.createElement("path",{d:"M216,72H131.31L104,44.69A15.88,15.88,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.41,15.41,0,0,0,39.39,216h177.5A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM40,56H92.69l16,16H40Z"}))],["light",s.createElement(s.Fragment,null,s.createElement("path",{d:"M216,74H130.49l-27.9-27.9a13.94,13.94,0,0,0-9.9-4.1H40A14,14,0,0,0,26,56V200.62A13.39,13.39,0,0,0,39.38,214H216.89A13.12,13.12,0,0,0,230,200.89V88A14,14,0,0,0,216,74ZM40,54H92.69a2,2,0,0,1,1.41.59L113.51,74H38V56A2,2,0,0,1,40,54ZM218,200.89a1.11,1.11,0,0,1-1.11,1.11H39.38A1.4,1.4,0,0,1,38,200.62V86H216a2,2,0,0,1,2,2Z"}))],["regular",s.createElement(s.Fragment,null,s.createElement("path",{d:"M216,72H131.31L104,44.69A15.86,15.86,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.4,15.4,0,0,0,39.38,216H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM40,56H92.69l16,16H40ZM216,200H40V88H216Z"}))],["thin",s.createElement(s.Fragment,null,s.createElement("path",{d:"M216,76H129.66L101.17,47.52A11.9,11.9,0,0,0,92.69,44H40A12,12,0,0,0,28,56V200.62A11.4,11.4,0,0,0,39.38,212H216.89A11.12,11.12,0,0,0,228,200.89V88A12,12,0,0,0,216,76ZM36,56a4,4,0,0,1,4-4H92.69a4,4,0,0,1,2.82,1.17L118.34,76H36ZM220,200.89a3.12,3.12,0,0,1-3.11,3.11H39.38A3.39,3.39,0,0,1,36,200.62V84H216a4,4,0,0,1,4,4Z"}))]])},51502(e,t,a){a.r(t),a.d(t,{default:()=>H});var s=a(9950),l=a(80331),r=a(89379),n=a(18905),i=a(53291),o=a(34272),c=a(2325),d=a(4422),m=a(37294),x=a(52830),p=a(99903),h=a(89837),g=a(84570),u=a(35951),A=a(44414);const f=e=>{let{icon:t,label:a,value:s,isAccent:l}=e;return(0,A.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,A.jsxs)("span",{className:"flex items-center gap-2 font-mono text-[9px] uppercase tracking-widest text-gray-500",children:[(0,A.jsx)(t,{size:14})," ",a]}),(0,A.jsx)("span",{className:"font-mono text-sm uppercase ".concat(l?"text-emerald-400 font-bold":"text-white"),children:s})]})},v=()=>{const{seriesSlug:e}=(0,n.g)(),[t,a]=(0,s.useState)([]),[l,v]=(0,s.useState)(""),[b,j]=(0,s.useState)(!0),[V,H]=(0,s.useState)(null);(0,s.useEffect)(()=>{(async()=>{try{const{processedPosts:t}=await(0,g.$r)(),s=t.filter(t=>t.series&&t.series.slug===e).sort((e,t)=>(e.seriesIndex||0)-(t.seriesIndex||0));s.length>0?(a(s),v(s[0].series.title),H(s[0])):(a([]),v("Series Not Found"))}catch(t){console.error("Error fetching series posts:",t),a([]),v("Error")}finally{j(!1)}})()},[e]);return b?(0,A.jsx)("div",{className:"flex h-screen items-center justify-center bg-[#050505] text-white",children:(0,A.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,A.jsx)("div",{className:"h-px w-24 bg-white/10 relative overflow-hidden",children:(0,A.jsx)("div",{className:"absolute inset-0 bg-emerald-400 animate-progress origin-left"})}),(0,A.jsx)("span",{className:"font-mono text-[10px] text-gray-500 uppercase tracking-[0.3em]",children:"Accessing_Series_Data"})]})}):(0,A.jsxs)("div",{className:"flex min-h-screen bg-[#050505] text-white overflow-hidden relative selection:bg-emerald-500/30",children:[(0,A.jsx)(h.A,{title:"".concat(l," | Fezcodex Series"),description:'Explore the sequential entries in the "'.concat(l,'" series.'),keywords:["Fezcodex","blog","series",l]}),(0,A.jsx)("div",{className:"absolute inset-0 opacity-20 pointer-events-none z-0",children:V&&(y=V,null===y||void 0===y||!y.image||y.image.includes("placeholder")?(0,A.jsx)(u.A,{seed:V.title,className:"w-full h-full filter blur-3xl"}):(0,A.jsx)("img",{src:V.image,alt:"bg",className:"w-full h-full object-cover filter blur-3xl"}))}),(0,A.jsxs)("div",{className:"w-full 4xl:pr-[50vw] relative z-10 flex flex-col min-h-screen py-24 px-6 md:pl-20 overflow-y-auto overflow-x-hidden no-scrollbar transition-all duration-300",children:[(0,A.jsxs)("header",{className:"mb-16",children:[(0,A.jsxs)(n.N_,{to:"/blog",className:"mb-8 inline-flex items-center gap-2 text-xs font-mono text-gray-500 hover:text-white transition-colors uppercase tracking-widest",children:[(0,A.jsx)(d.A,{weight:"bold"}),(0,A.jsx)("span",{children:"Archive"})]}),(0,A.jsx)("h1",{className:"text-6xl md:text-8xl font-black tracking-tighter text-white mb-4 leading-none uppercase",children:"SERIES"}),(0,A.jsxs)("p",{className:"text-gray-400 font-mono text-[10px] uppercase tracking-[0.2em]",children:["//"," SEQUENTIAL_ENTRIES: ",l.toUpperCase()]})]}),(0,A.jsx)("div",{className:"flex flex-col pb-32",children:t.map(t=>(0,A.jsx)(c.A,{post:(0,r.A)((0,r.A)({},t),{},{slug:"series/".concat(e,"/").concat(t.slug),isSeries:!1}),isActive:(null===V||void 0===V?void 0:V.slug)===t.slug,onHover:H},t.slug))}),(0,A.jsxs)("div",{className:"mt-auto pt-20 border-t border-white/10 text-gray-600 font-mono text-[10px] uppercase tracking-widest",children:["Stored_Episodes: ",t.length]})]}),(0,A.jsx)("div",{className:"hidden 4xl:block fixed right-0 top-0 h-screen w-1/2 bg-neutral-900 overflow-hidden border-l border-white/10 z-20",children:(0,A.jsx)(i.N,{mode:"wait",children:V&&(0,A.jsxs)(o.P.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.4},className:"absolute inset-0",children:[(0,A.jsxs)("div",{className:"absolute inset-0 z-0",children:[(0,A.jsx)(u.A,{seed:V.title,className:"w-full h-full opacity-60"}),(0,A.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black via-transparent to-black/40"})]}),(0,A.jsxs)("div",{className:"absolute bottom-0 left-0 w-full p-16 z-10 flex flex-col gap-12",children:[(0,A.jsxs)("div",{className:"space-y-6 border-l border-white/10 pl-6",children:[(0,A.jsx)(f,{icon:m.C,label:"Date",value:new Date(V.updated||V.date).toLocaleDateString("en-GB")}),(0,A.jsx)(f,{icon:x.g,label:"Category",value:V.category||"Episode",isAccent:!0})]}),(0,A.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,A.jsx)("h2",{className:"text-4xl md:text-5xl font-medium font-playfairDisplay text-white uppercase tracking-tighter leading-none",children:V.title}),(0,A.jsx)("p",{className:"text-lg text-gray-300 font-light leading-relaxed max-w-xl font-arvo",children:V.description||"Part of a sequential data stream. Analysis and implementation logs curated for technical review."})]}),(0,A.jsx)(o.P.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.2},className:"mt-4",children:(0,A.jsxs)(n.N_,{to:"/blog/series/".concat(e,"/").concat(V.slug),className:"inline-flex items-center gap-4 text-white border-b-2 border-emerald-500 pb-2 hover:bg-emerald-500 hover:text-black transition-all px-1",children:[(0,A.jsx)("span",{className:"text-sm font-black uppercase tracking-[0.2em]",children:"Access_Episode"}),(0,A.jsx)(p.R,{weight:"bold",size:20})]})})]})]},V.slug)})})]});var y};var b=a(27387),j=a(8529);const V=()=>{const{seriesSlug:e}=(0,n.g)(),[t,a]=(0,s.useState)([]),[l,r]=(0,s.useState)(""),[i,o]=(0,s.useState)(""),[c,x]=(0,s.useState)(!0);return(0,s.useEffect)(()=>{(async()=>{try{const{processedPosts:t}=await(0,g.$r)(),s=t.filter(t=>t.series&&t.series.slug===e).sort((e,t)=>(e.seriesIndex||0)-(t.seriesIndex||0));s.length>0?(a(s),r(s[0].series.title),o(s[0].series.description||"A sequential collection of posts.")):r("Series Not Found")}catch(t){console.error("Error fetching series posts:",t)}finally{x(!1)}})()},[e]),c?(0,A.jsx)("div",{className:"min-h-screen bg-[#F5F5F0] flex items-center justify-center font-outfit text-[#1A1A1A]/40 text-xs uppercase tracking-widest",children:"Loading Series..."}):(0,A.jsxs)("div",{className:"min-h-screen bg-[#F5F5F0] text-[#1A1A1A] font-sans selection:bg-[#C0B298] selection:text-black pt-24 pb-20",children:[(0,A.jsx)(h.A,{title:"".concat(l," | Fezcodex Series"),description:"Read the ".concat(l," series on Fezcodex."),keywords:["Fezcodex","series","blog",l]}),(0,A.jsxs)("div",{className:"max-w-[1000px] mx-auto px-6 md:px-12",children:[(0,A.jsxs)("header",{className:"mb-20 text-center",children:[(0,A.jsxs)(n.N_,{to:"/blog",className:"inline-flex items-center gap-2 mb-8 font-outfit text-xs uppercase tracking-widest text-[#1A1A1A]/40 hover:text-[#8D4004] transition-colors",children:[(0,A.jsx)(d.A,{})," Back to Journal"]}),(0,A.jsxs)("div",{className:"relative mb-8 aspect-[21/9] w-full bg-[#EBEBEB] overflow-hidden rounded-sm border border-[#1A1A1A]/5 shadow-sm",children:[(0,A.jsx)("div",{className:"absolute inset-0 opacity-40",children:(0,A.jsx)(j.A,{seed:l,className:"w-full h-full mix-blend-multiply"})}),(0,A.jsxs)("div",{className:"absolute inset-0 flex flex-col items-center justify-center p-8 bg-white/60 backdrop-blur-sm",children:[(0,A.jsx)("span",{className:"font-outfit text-xs uppercase tracking-[0.3em] text-[#1A1A1A]/60 mb-4 border border-[#1A1A1A]/10 px-3 py-1 rounded-full",children:"Series Collection"}),(0,A.jsx)("h1",{className:"font-playfairDisplay text-5xl md:text-7xl text-[#1A1A1A] leading-tight mb-6",children:l}),(0,A.jsx)("p",{className:"font-outfit text-sm text-[#1A1A1A]/70 max-w-xl leading-relaxed",children:i})]})]}),(0,A.jsxs)("div",{className:"flex justify-center gap-8 font-outfit text-xs uppercase tracking-widest text-[#1A1A1A]/40 border-b border-[#1A1A1A]/10 pb-12",children:[(0,A.jsxs)("span",{children:[t.length," Episodes"]}),(0,A.jsx)("span",{children:"\u2022"}),(0,A.jsxs)("span",{children:["Updated ",(new Date).getFullYear()]})]})]}),(0,A.jsx)("div",{className:"space-y-0",children:t.map((t,a)=>(0,A.jsx)(n.N_,{to:"/blog/series/".concat(e,"/").concat(t.slug),className:"group block border-b border-[#1A1A1A]/5 py-8 hover:bg-white px-6 -mx-6 transition-colors rounded-sm",children:(0,A.jsxs)("div",{className:"flex flex-col md:flex-row md:items-center justify-between gap-6",children:[(0,A.jsxs)("div",{className:"flex items-start gap-6",children:[(0,A.jsx)("span",{className:"font-playfairDisplay text-4xl text-[#1A1A1A]/10 group-hover:text-[#8D4004]/20 transition-colors",children:String(t.seriesIndex).padStart(2,"0")}),(0,A.jsxs)("div",{children:[(0,A.jsx)("h3",{className:"font-playfairDisplay text-2xl text-[#1A1A1A] group-hover:italic transition-all mb-2",children:t.title}),(0,A.jsxs)("div",{className:"flex items-center gap-4 font-outfit text-[10px] uppercase tracking-widest text-[#1A1A1A]/40",children:[(0,A.jsxs)("span",{className:"flex items-center gap-1",children:[(0,A.jsx)(m.C,{size:12})," ",new Date(t.date).toLocaleDateString()]}),t.tags&&(0,A.jsxs)("span",{children:["#",t.tags[0]]})]})]})]}),(0,A.jsxs)("div",{className:"flex items-center gap-2 font-outfit text-xs uppercase tracking-widest text-[#1A1A1A]/40 group-hover:text-[#8D4004] transition-colors",children:["Read Episode ",(0,A.jsx)(b.f,{})]})]})},t.slug))})]})]})},H=()=>{const{fezcodexTheme:e}=(0,l.X)();return"luxe"===e?(0,A.jsx)(V,{}):(0,A.jsx)(v,{})}},52830(e,t,a){a.d(t,{g:()=>i,v:()=>o});var s=a(89379),l=a(9950),r=a(35507),n=a(42790);const i=l.forwardRef((e,t)=>l.createElement(r.A,(0,s.A)((0,s.A)({ref:t},e),{},{weights:n.A})));i.displayName="TagIcon";const o=i},81926(e,t,a){a.d(t,{A:()=>l});var s=a(9950);const l=new Map([["bold",s.createElement(s.Fragment,null,s.createElement("path",{d:"M208,28H188V24a12,12,0,0,0-24,0v4H92V24a12,12,0,0,0-24,0v4H48A20,20,0,0,0,28,48V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V48A20,20,0,0,0,208,28ZM68,52a12,12,0,0,0,24,0h72a12,12,0,0,0,24,0h16V76H52V52ZM52,204V100H204V204Zm60-80v56a12,12,0,0,1-24,0V143.32a12,12,0,0,1-9.37-22l16-8A12,12,0,0,1,112,124Zm61.49,33.88L163.9,168H168a12,12,0,0,1,0,24H136a12,12,0,0,1-8.71-20.25L155.45,142a4,4,0,0,0,.55-2,4,4,0,0,0-7.47-2,12,12,0,0,1-20.78-12A28,28,0,0,1,180,140a27.77,27.77,0,0,1-5.64,16.86A10.63,10.63,0,0,1,173.49,157.88Z"}))],["duotone",s.createElement(s.Fragment,null,s.createElement("path",{d:"M216,48V88H40V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z",opacity:"0.2"}),s.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Zm-96-88v64a8,8,0,0,1-16,0V132.94l-4.42,2.22a8,8,0,0,1-7.16-14.32l16-8A8,8,0,0,1,112,120Zm59.16,30.45L152,176h16a8,8,0,0,1,0,16H136a8,8,0,0,1-6.4-12.8l28.78-38.37A8,8,0,1,0,145.07,132a8,8,0,1,1-13.85-8A24,24,0,0,1,176,136,23.76,23.76,0,0,1,171.16,150.45Z"}))],["fill",s.createElement(s.Fragment,null,s.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM112,184a8,8,0,0,1-16,0V132.94l-4.42,2.22a8,8,0,0,1-7.16-14.32l16-8A8,8,0,0,1,112,120Zm56-8a8,8,0,0,1,0,16H136a8,8,0,0,1-6.4-12.8l28.78-38.37A8,8,0,1,0,145.07,132a8,8,0,1,1-13.85-8A24,24,0,0,1,176,136a23.76,23.76,0,0,1-4.84,14.45L152,176ZM48,80V48H72v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80Z"}))],["light",s.createElement(s.Fragment,null,s.createElement("path",{d:"M208,34H182V24a6,6,0,0,0-12,0V34H86V24a6,6,0,0,0-12,0V34H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V48A14,14,0,0,0,208,34ZM48,46H74V56a6,6,0,0,0,12,0V46h84V56a6,6,0,0,0,12,0V46h26a2,2,0,0,1,2,2V82H46V48A2,2,0,0,1,48,46ZM208,210H48a2,2,0,0,1-2-2V94H210V208A2,2,0,0,1,208,210Zm-98-90v64a6,6,0,0,1-12,0V129.71l-7.32,3.66a6,6,0,1,1-5.36-10.74l16-8A6,6,0,0,1,110,120Zm59.57,29.25L148,178h20a6,6,0,0,1,0,12H136a6,6,0,0,1-4.8-9.6L160,142a10,10,0,1,0-16.65-11A6,6,0,1,1,133,125a22,22,0,1,1,36.62,24.26Z"}))],["regular",s.createElement(s.Fragment,null,s.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Zm-96-88v64a8,8,0,0,1-16,0V132.94l-4.42,2.22a8,8,0,0,1-7.16-14.32l16-8A8,8,0,0,1,112,120Zm59.16,30.45L152,176h16a8,8,0,0,1,0,16H136a8,8,0,0,1-6.4-12.8l28.78-38.37A8,8,0,1,0,145.07,132a8,8,0,1,1-13.85-8A24,24,0,0,1,176,136,23.76,23.76,0,0,1,171.16,150.45Z"}))],["thin",s.createElement(s.Fragment,null,s.createElement("path",{d:"M208,36H180V24a4,4,0,0,0-8,0V36H84V24a4,4,0,0,0-8,0V36H48A12,12,0,0,0,36,48V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V48A12,12,0,0,0,208,36ZM48,44H76V56a4,4,0,0,0,8,0V44h88V56a4,4,0,0,0,8,0V44h28a4,4,0,0,1,4,4V84H44V48A4,4,0,0,1,48,44ZM208,212H48a4,4,0,0,1-4-4V92H212V208A4,4,0,0,1,208,212ZM108,120v64a4,4,0,0,1-8,0V126.47l-10.21,5.11a4,4,0,0,1-3.58-7.16l16-8A4,4,0,0,1,108,120Zm60,28-24,32h24a4,4,0,0,1,0,8H136a4,4,0,0,1-3.2-6.4l28.78-38.37A11.88,11.88,0,0,0,164,136a12,12,0,0,0-22.4-6,4,4,0,0,1-6.92-4A20,20,0,0,1,172,136,19.79,19.79,0,0,1,168,148Z"}))]])},84570(e,t,a){a.d(t,{$r:()=>l});var s=a(89379);a(17103);const l=async()=>{try{const e=await fetch("/posts/posts.json");if(!e.ok)throw new Error("Failed to fetch posts.json");const t=await e.json(),a=[];return t.forEach(e=>{var t;e.series?e.series.posts.forEach((t,l)=>{a.push((0,s.A)((0,s.A)({},t),{},{seriesIndex:l+1,filename:t.filename.startsWith("/")?t.filename.substring(1):t.filename,series:{slug:e.slug,title:e.title,date:e.date,updated:e.updated,authors:e.authors,image:e.image}}))}):a.push((0,s.A)((0,s.A)({},e),{},{filename:null!==(t=e.filename)&&void 0!==t&&t.startsWith("/")?e.filename.substring(1):e.filename}))}),{allPostsData:t,processedPosts:a}}catch(e){return console.error("Error fetching blog data:",e),{allPostsData:[],processedPosts:[]}}}},89837(e,t,a){a.d(t,{A:()=>n});a(9950);var s=a(18905),l=a(44414);const r="https://fezcode.com",n=e=>{let{title:t,description:a,image:n,keywords:i,ogImage:o,twitterImage:c,type:d}=e;const m=(0,s.zy)();if(!t||"Fezcodex"===t||"fezcodex"===t)return null;const x=r+m.pathname,p=m.pathname.startsWith("/apps"),h=n||o||c||(p?"/images/asset/ogtitle-apps.png":"/images/asset/ogtitle.png"),g=h.startsWith("http")?h:r+(h.startsWith("/")?"":"/")+h,u=Array.isArray(i)?i.join(", "):i,A=d||(m.pathname.startsWith("/blog")?"article":"website");return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("title",{children:t}),(0,l.jsx)("meta",{name:"description",content:a}),u&&(0,l.jsx)("meta",{name:"keywords",content:u}),(0,l.jsx)("meta",{property:"og:title",content:t}),(0,l.jsx)("meta",{property:"og:description",content:a}),(0,l.jsx)("meta",{property:"og:image",content:g}),(0,l.jsx)("meta",{property:"og:url",content:x}),(0,l.jsx)("meta",{property:"og:type",content:A}),(0,l.jsx)("meta",{property:"og:site_name",content:"Fezcodex"}),g.startsWith("https")&&(0,l.jsx)("meta",{property:"og:image:secure_url",content:g}),(0,l.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,l.jsx)("meta",{name:"twitter:title",content:t}),(0,l.jsx)("meta",{name:"twitter:description",content:a}),(0,l.jsx)("meta",{name:"twitter:image",content:g}),(0,l.jsx)("meta",{name:"twitter:url",content:x}),(0,l.jsx)("link",{rel:"canonical",href:x})]})}}}]);